/* =========================================================
   ZTOOLFORTOOL — style.css
   Palette (ONLY):
   Blue   #01A1F1
   Green  #7CBB00
   Orange #F65314
   Purple #8F03B7
   Yellow #FFBB00
   Rules: high contrast, clean modern, no extra colors
   ========================================================= */

/* RESET */
*{ box-sizing:border-box; }
html,body{ height:100%; }

:root{
  --b:#01A1F1;
  --g:#7CBB00;
  --o:#F65314;
  --p:#8F03B7;
  --y:#FFBB00;

  --bg:#000;
  --text:#fff;
  --muted: rgba(255,255,255,.78);
  --muted2: rgba(255,255,255,.60);
  --border: rgba(255,255,255,.14);

  --shadow: 0 22px 70px rgba(0,0,0,.55);
  --shadow2: 0 14px 38px rgba(0,0,0,.45);

  --r: 18px;
  --r2: 22px;
}

body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  line-height:1.45;
}

.wrap{
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 18px 56px;
}

/* Header */
.top{
  display:flex;
  gap:14px;
  align-items:flex-start;
  justify-content:space-between;
  flex-wrap:wrap;
  margin-bottom: 14px;
}

.brand{
  display:flex;
  flex-direction:column;
  gap:10px;
  min-width: 280px;
}

.kicker{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow2);
  font-weight:800;
  letter-spacing:.2px;
  user-select:none;
  white-space:nowrap;
}

.brandLogo{
  width:26px;
  height:26px;
  border-radius:999px;
  object-fit:cover;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
}

.dots{ display:inline-flex; gap:6px; }
.dot{ width:10px;height:10px;border-radius:999px; display:inline-block; }
.dot.b{ background: var(--b); }
.dot.g{ background: var(--g); }
.dot.o{ background: var(--o); }
.dot.p{ background: var(--p); }
.dot.y{ background: var(--y); }

h1{
  margin:0;
  font-size: clamp(22px, 2.6vw, 34px);
  letter-spacing: -0.6px;
  line-height:1.12;
}

.sub{
  margin:0;
  color: var(--muted);
  max-width: 68ch;
}

/* Right meta */
.rightMeta{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}

.ubtLink{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow2);
  text-decoration:none;
}

.ubtLogo{
  height:22px;
  width:auto;
  display:block;
}

.ubtPic{
  height:28px;
  width:28px;
  border-radius:999px;
  object-fit:cover;
  display:block;
  border: 1px solid rgba(255,255,255,.18);
}

.linkBtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--text);
  text-decoration:none;
  font-weight:900;
  box-shadow: var(--shadow2);
}

.linkBtn:hover{ border-color: rgba(255,255,255,.28); }
.linkBtn:focus{ outline: 2px solid var(--y); outline-offset: 3px; }

.redditIcon{
  display:inline-flex;
  color: #fff; /* monochrome, no extra colors */
}

/* Layout */
.stack{
  display:flex;
  flex-direction:column;
  gap:14px;
  margin-top: 14px;
}

/* Cards */
.card{
  border-radius: var(--r2);
  box-shadow: var(--shadow);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
}

/* Solid palette cards */
.card.blue{ background: var(--b); }

.cardHead{
  padding: 16px 16px 14px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}

.cardHead h2{
  margin:0;
  font-size: 18px;
  letter-spacing:-.2px;
}

.badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight:950;
  font-size: 12px;
  letter-spacing:.3px;
  border: 1px solid rgba(0,0,0,.20);
  background: rgba(0,0,0,.14);
  user-select:none;
  white-space:nowrap;
}

.body{
  padding: 16px;
  background: rgba(0,0,0,.06);
}

label{
  display:block;
  font-weight:950;
  font-size: 13px;
  letter-spacing:.2px;
  margin: 0 0 6px;
  color: rgba(255,255,255,.92);
}

.input, .textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(0,0,0,.18);
  color: #fff;
  outline:none;
  font-size: 14px;
  font-weight: 800;
}

.textarea{
  min-height: 150px;
  resize: vertical;
  line-height:1.4;
}

.input::placeholder, .textarea::placeholder{
  color: rgba(255,255,255,.72);
  font-weight: 700;
}

.input:focus, .textarea:focus{
  border-color: rgba(255,255,255,.42);
  box-shadow: 0 0 0 3px rgba(0,0,0,.22);
}

.hint{
  margin-top: 8px;
  color: rgba(255,255,255,.78);
  font-weight: 750;
  font-size: 12.5px;
}

.gap{ height:12px; }
.miniGap{ height:10px; }

.row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 560px){
  .row{ grid-template-columns: 1fr; }
}

/* Toggle */
.switchLine{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(0,0,0,.16);
}
.switchText{
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width: 0;
}
.switchText strong{
  font-size: 13px;
  letter-spacing:.2px;
}
.switchText span{
  font-size: 12px;
  color: rgba(255,255,255,.78);
  font-weight: 750;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.toggle{
  appearance:none;
  width: 52px;
  height: 30px;
  border-radius: 999px;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.25);
  position:relative;
  cursor:pointer;
  flex: 0 0 auto;
  outline:none;
}
.toggle::after{
  content:"";
  position:absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background:#fff;
  transition: transform .18s ease;
}
.toggle:checked{
  background: rgba(0,0,0,.32);
  border-color: rgba(0,0,0,.22);
}
.toggle:checked::after{
  transform: translateX(22px);
  background:#000;
}

/* Actions */
.actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top: 14px;
}

.btn{
  appearance:none;
  border:0;
  cursor:pointer;
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 950;
  letter-spacing:.2px;
  box-shadow: var(--shadow2);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  user-select:none;
  text-decoration:none;
}

.btn.black{
  background:#000;
  color:#fff;
  border: 1px solid rgba(255,255,255,.16);
}
.btn.black:hover{ border-color: rgba(255,255,255,.28); }

.btn.white{
  background:#fff;
  color:#000;
  border: 1px solid rgba(0,0,0,.18);
}
.btn.white:hover{ border-color: rgba(0,0,0,.30); }

.mini{
  font-size:12px;
  font-weight:950;
  padding:8px 10px;
  border-radius: 12px;
}

.note{
  margin: 12px 0 0;
  color: rgba(255,255,255,.82);
  font-weight: 750;
  font-size: 12.5px;
}

.status{
  margin-top: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px dashed rgba(255,255,255,.35);
  background: rgba(0,0,0,.12);
  font-weight: 850;
  letter-spacing:.1px;
  display:none;
}

/* A11Y */
.sr-only{
  position:absolute !important;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}
