/* =====================================================================
   Titan — dashboard
   A sidebar of sections on the left, one panel at a time on the right.
   Loads after style.css and shares every token in it, so the dashboard
   cannot drift away from the public page.
   ===================================================================== */

.dash{display:grid;grid-template-columns:260px 1fr;gap:30px;
  max-width:var(--maxw);margin:0 auto;padding:102px 20px 70px;align-items:start}

/* ---------- Sidebar ---------- */
.side{position:sticky;top:96px;display:flex;flex-direction:column;gap:2px;
  padding:14px 10px;background:var(--surface);border:1px solid var(--border);
  border-radius:var(--radius)}
.side-group{font-size:10px;letter-spacing:.18em;text-transform:uppercase;
  color:var(--muted-2);margin:12px 0 4px;padding-left:12px;font-weight:500}
.side-group:first-child{margin-top:4px}
.side a{display:flex;align-items:center;gap:11px;padding:10px 12px;border-radius:8px;
  font-size:13px;color:var(--muted);border:1px solid transparent;
  transition:background .18s,color .18s,border-color .18s}
.side a:hover{background:rgba(255,255,255,.03);color:#fff}
.side a.on{background:color-mix(in srgb,var(--accent) 14%,transparent);
  border-color:color-mix(in srgb,var(--accent) 32%,transparent);
  color:#fff;font-weight:500}
.side a svg{width:15px;height:15px;flex-shrink:0;opacity:.9}
.side a.on svg{color:var(--accent-lt);opacity:1}

/* Devices and account, pinned under the list */
.side-foot{margin-top:20px;display:flex;flex-direction:column;gap:10px}
.devices{display:flex;align-items:center;gap:10px;padding:0 12px;
  font-size:11px;color:var(--muted-2)}
.devices b{display:block;color:var(--muted);font-weight:400}
.devices svg{width:14px;height:14px;flex-shrink:0}
.devices .add{margin-left:auto;text-align:right;line-height:1.3;transition:color .2s}
.devices .add:hover{color:#fff}
.account{display:flex;align-items:center;gap:11px;padding:11px 13px;border-radius:12px;
  background:var(--surface);border:1px solid var(--border)}
.account .avatar{width:30px;height:30px;border-radius:50%;flex-shrink:0;
  display:grid;place-items:center;background:#c850a0;color:#fff;font-size:11px}
.account .who{flex:1;min-width:0}
.account b{display:block;font-size:13px;font-weight:400;color:#fff;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account .who span{font-size:11px;color:var(--muted-2)}
.account .out{color:var(--muted-2);transition:color .2s}
.account .out:hover{color:#fff}
.account .out svg{width:15px;height:15px}

/* ---------- Panels ---------- */
/* The accent variable itself is set instantly — a transition on a custom
   property hands back the OLD value until it finishes, so anything reading
   it mid-flight gets the wrong colour. What eases instead are the painted
   properties below, which looks the same and cannot go stale. */
.ic-box,.state,.vote,.tag{transition:background-color .4s ease,border-color .4s ease,color .4s ease}

.panels{min-width:0;display:flex;flex-direction:column;gap:18px}
.panel{display:none}
.panel.on{display:flex;flex-direction:column;gap:18px}

/* Each box arrives a beat after the one above it, instead of the whole
   panel appearing as a single slab. */
@keyframes boxIn{
  from{opacity:0;transform:translateY(16px) scale(.985)}
  to{opacity:1;transform:none}
}
.panel.on > .box{animation:boxIn .5s cubic-bezier(.22,1,.36,1) both}
.panel.on > .box:nth-child(1){animation-delay:0ms}
.panel.on > .box:nth-child(2){animation-delay:60ms}
.panel.on > .box:nth-child(3){animation-delay:120ms}
.panel.on > .box:nth-child(4){animation-delay:180ms}
.panel.on > .box:nth-child(5){animation-delay:240ms}
.panel.on > .box:nth-child(n+6){animation-delay:300ms}

.box{background:var(--surface);border:1px solid var(--border);
  border-radius:var(--radius);padding:26px 28px;
  transition:border-color .35s ease}

@media (prefers-reduced-motion:reduce){
  .panel.on > .box{animation:none}
  .dash{transition:none}
}
.box-head{display:flex;align-items:center;gap:14px;margin-bottom:22px}
.box-head .ic-box{width:38px;height:38px;border-radius:10px;flex-shrink:0;
  display:grid;place-items:center;
  background:color-mix(in srgb,var(--accent) 12%,transparent);
  border:1px solid color-mix(in srgb,var(--accent) 26%,transparent);color:var(--accent-lt)}
.box-head .ic-box svg{width:18px;height:18px}
.box-head h2{font-size:16px;color:#fff;margin:0}
.box-head p{font-size:12px;color:var(--muted-2);margin-top:3px}
.box-head .right{margin-left:auto}
.box > h2{font-size:16px;color:#fff;margin-bottom:16px}

/* Latest build */
.build{display:flex;align-items:center;gap:15px;flex-wrap:wrap}
.build .ic-box{width:44px;height:44px;border-radius:12px;flex-shrink:0;display:grid;place-items:center;
  background:color-mix(in srgb,var(--accent) 12%,transparent);
  border:1px solid color-mix(in srgb,var(--accent) 26%,transparent);color:var(--accent-lt)}
.build .ic-box svg{width:19px;height:19px}
.build .what{flex:1;min-width:180px}
.build b{display:block;font-size:16px;font-weight:400;color:#fff;margin-bottom:5px}
.build .ver{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted)}
.tag{padding:3px 8px;border-radius:5px;font-size:10px;
  background:var(--surface-2);color:var(--muted)}
.build .when{font-size:11px;color:var(--muted-2);margin-top:4px}

/* Three-up tiles: quick start, launchers, quick links */
.tiles{display:grid;gap:14px;grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}
.tile{padding:18px;border-radius:12px;background:var(--well);border:1px solid var(--border);
  transition:border-color .2s,transform .2s}
a.tile:hover{border-color:color-mix(in srgb,var(--accent) 40%,transparent);transform:translateY(-2px)}
.tile .ic-box{width:32px;height:32px;border-radius:8px;margin-bottom:12px;display:grid;place-items:center;
  background:color-mix(in srgb,var(--accent) 12%,transparent);
  border:1px solid color-mix(in srgb,var(--accent) 26%,transparent);color:var(--accent-lt)}
.tile .ic-box svg{width:15px;height:15px}
.tile b{display:block;font-size:13px;font-weight:400;color:#fff;margin-bottom:5px}
/* block, so the download line below starts on its own row instead of
   running on after the note */
.tile span{display:block;font-size:12px;color:var(--muted-2);line-height:1.6}
.tile img{width:30px;height:30px;object-fit:contain;margin-bottom:10px}
.tile--mid{text-align:center}
.tile--mid img,.tile--mid .ic-box{margin-left:auto;margin-right:auto}
/* Shown only on a launcher tile that actually links somewhere */
.tile .get{display:inline-flex;align-items:center;gap:5px;margin-top:10px;
  font-size:11px;color:var(--accent-lt);opacity:.75;transition:opacity .2s}
.tile .get svg{width:11px;height:11px}
a.tile:hover .get{opacity:1}

/* Sub-line under a box heading */
/* The negative top margin only makes sense straight under a heading,
   where it closes the gap the h2 leaves. Anywhere else it pulled the line
   up INTO whatever sat above it — in the Discord box it lay across the
   status row by the full width of the panel. */
.box > .sub{font-size:12px;color:var(--muted-2);line-height:1.6;margin:0 0 16px}
.box > h2 + .sub{margin-top:-10px}

/* System requirements */
.specs{display:grid;gap:18px;grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}
.specs dt{font-size:10px;letter-spacing:.1em;text-transform:uppercase;
  color:var(--muted-2);margin-bottom:6px}
.specs dd{font-size:13px;color:#fff;line-height:1.5}

/* Changelog */
.release{display:flex;align-items:baseline;justify-content:space-between;gap:12px;
  margin-bottom:16px}
.release b{font-size:16px;font-weight:400;color:#fff}
.release span{font-size:12px;color:var(--muted-2);white-space:nowrap}
.chglist{margin-bottom:14px}
.chglist:last-child{margin-bottom:0}
.chglist h4{font-size:10px;letter-spacing:.1em;text-transform:uppercase;
  color:var(--muted-2);margin-bottom:8px}
.chglist ul{list-style:none;display:flex;flex-direction:column;gap:6px}
.chglist li{display:flex;align-items:center;gap:9px;font-size:12px;color:var(--text)}
.chglist li::before{content:"";width:5px;height:5px;border-radius:50%;flex-shrink:0;
  background:var(--dot,var(--muted-2))}
.chg--added{--dot:#4ade80}
.chg--improved{--dot:#60a5fa}
.chg--changed{--dot:#f0b03c}
.chg--fixed{--dot:#60a5fa}
.chg--removed{--dot:#f87171}

/* The rules banner above anything a human will read */
.notice{display:flex;gap:11px;padding:14px 16px;border-radius:12px;margin-bottom:16px;
  background:color-mix(in srgb,#f87171 7%,transparent);
  border:1px solid color-mix(in srgb,#f87171 26%,transparent)}
.notice svg{width:16px;height:16px;color:#f87171;flex-shrink:0;margin-top:1px}
.notice p{font-size:12px;line-height:1.7;color:var(--muted)}
.notice b{color:#f0a0a0;font-weight:400}

/* Forms */
.field{display:block;margin-bottom:14px}
.field > span{display:block;font-size:12px;color:var(--muted-2);margin-bottom:7px}
.field > span i{color:#f87171;font-style:normal}
.field input,.field textarea{width:100%;padding:12px 14px;border-radius:10px;
  background:var(--well);border:1px solid var(--border);color:var(--text);
  font-family:inherit;font-size:13px;line-height:1.6;resize:vertical}
.field input::placeholder,.field textarea::placeholder{color:var(--muted-2)}
.field input:focus,.field textarea:focus{outline:none;
  border-color:color-mix(in srgb,var(--accent) 50%,transparent)}
.count{display:block;text-align:right;font-size:11px;color:var(--muted-2);margin-top:5px}
.drop{display:grid;place-items:center;gap:7px;padding:30px 16px;border-radius:12px;
  background:var(--well);border:1px dashed var(--border-2);cursor:pointer;text-align:center;
  transition:border-color .2s,background .2s}
.drop:hover,.drop.over{border-color:var(--accent);background:var(--surface-2)}
.drop svg{width:22px;height:22px;color:var(--muted-2)}
.drop b{font-size:13px;font-weight:500;color:var(--muted)}
.drop span{font-size:11px;color:var(--muted-2)}
.drop img{max-height:150px;width:auto;border-radius:8px}
.form-foot{display:flex;align-items:center;gap:9px;flex-wrap:wrap;
  padding-top:16px;margin-top:4px;border-top:1px solid var(--border)}
.form-foot .right{margin-left:auto}
.as{display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border-radius:999px;
  font-size:12px;color:var(--muted);background:var(--surface-2);
  border:1px solid transparent;transition:.2s}
.as.on{color:var(--accent-ink);background:var(--accent-lt);border-color:var(--accent-lt)}
.as svg{width:12px;height:12px}
.btn-send{display:inline-flex;align-items:center;gap:6px;
  padding:9px 15px;border-radius:8px;font-size:13px;
  background:var(--accent-lt);color:var(--accent-ink);font-weight:600;transition:.2s}
.btn-send svg{width:12px;height:12px}
.btn-send:hover:not(:disabled){background:#fff}
.btn-send:disabled{opacity:.45;cursor:default}
.form-msg{display:none;font-size:12px;line-height:1.7;margin-top:12px;color:var(--muted)}
.form-msg.show{display:block}

/* Suggestions */
.tabs{display:flex;gap:6px;margin-left:auto;flex-wrap:wrap}
.tab{padding:7px 13px;border-radius:999px;font-size:12px;color:var(--muted);
  background:var(--surface-2);transition:.2s}
.tab:hover{color:#fff}
.tab.on{background:var(--accent-lt);color:var(--accent-ink);font-weight:600}
.sug{display:flex;gap:14px;padding:15px 16px;border-radius:12px;margin-bottom:9px;
  background:var(--well);border:1px solid var(--border)}
.vote{display:flex;flex-direction:column;align-items:center;gap:3px;width:46px;flex-shrink:0;
  padding:7px 0;border-radius:9px;background:var(--surface-2);align-self:flex-start;
  border:1px solid transparent;transition:.2s}
.vote:hover{border-color:color-mix(in srgb,var(--accent) 40%,transparent)}
.vote.on{background:color-mix(in srgb,var(--accent) 16%,transparent);
  border-color:color-mix(in srgb,var(--accent) 40%,transparent)}
.vote svg{width:13px;height:13px;color:var(--muted)}
.vote.on svg{color:var(--accent-lt)}
.vote b{font-size:13px;font-weight:600;color:#fff}
.sug-main{flex:1;min-width:0}
.sug-meta{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:8px}
.state{padding:3px 8px;border-radius:5px;font-size:10px;letter-spacing:.08em}
.state--open{background:color-mix(in srgb,var(--accent) 16%,transparent);color:var(--accent-lt)}
.state--resolved{background:rgba(74,222,128,.14);color:#4ade80}
.state--rejected{background:rgba(248,113,113,.14);color:#f87171}
.sug-meta .who{font-size:12px;color:var(--muted-2)}
.sug-main p{font-size:12px;line-height:1.7;color:var(--text)}
.empty{text-align:center;font-size:13px;color:var(--muted-2);padding:26px 0}
.pager{display:flex;justify-content:center;gap:5px;margin-top:16px}
.pager button{width:32px;height:32px;border-radius:8px;font-size:12px;color:var(--muted);
  background:var(--surface-2);transition:.2s}
.pager button:hover:not(:disabled){color:#fff}
.pager button.on{background:var(--accent-lt);color:var(--accent-ink);font-weight:600}
.pager button:disabled{opacity:.35;cursor:default}

/* Tools */
.row{display:flex;align-items:center;gap:15px;flex-wrap:wrap}
.row .what{flex:1;min-width:170px}
.row b{display:block;font-size:15px;font-weight:400;color:#fff;margin-bottom:4px}
.row .what span{font-size:12px;color:var(--muted-2)}
.row .ic-box{width:38px;height:38px;border-radius:10px;flex-shrink:0;display:grid;place-items:center;
  background:color-mix(in srgb,var(--accent) 12%,transparent);
  border:1px solid color-mix(in srgb,var(--accent) 26%,transparent);color:var(--accent-lt)}
.row .ic-box svg{width:17px;height:17px}
.row .ic-box--warn{background:rgba(248,113,113,.12);border-color:rgba(248,113,113,.3);color:#f87171}
.note{font-size:12px;line-height:1.7;color:var(--muted-2);margin-top:13px;font-style:italic}

/* The dashboard FAQ reuses .q from the public page, just wider */
.panel .faq{max-width:none}

/* ---------- Modules ----------
   Each category carries its own colour through --cat, set per element in
   dashboard.js. The dot and the category word take it; the card itself
   only picks it up on hover, so a full grid stays calm to read. */
.panel .mod{--cat:var(--accent)}
.panel .mod .cat{color:color-mix(in srgb,var(--cat) 72%,var(--muted-2))}
.panel .mod .cat i{background:var(--cat);box-shadow:0 0 7px color-mix(in srgb,var(--cat) 60%,transparent)}
.panel .mod:hover{border-color:color-mix(in srgb,var(--cat) 48%,transparent)}
.panel .mod{transition:border-color .22s ease,transform .22s ease}

/* Category chips in their own colour, filled once chosen */
.panel .chip{--cat:var(--accent);transition:background-color .2s,border-color .2s,color .2s}
.panel .chip:hover{color:color-mix(in srgb,var(--cat) 80%,#fff);
  border-color:color-mix(in srgb,var(--cat) 38%,transparent)}
.panel .chip.on{background:color-mix(in srgb,var(--cat) 17%,transparent);
  border-color:color-mix(in srgb,var(--cat) 42%,transparent);
  color:color-mix(in srgb,var(--cat) 62%,#fff)}

@media (max-width:860px){
  .dash{grid-template-columns:1fr;padding-top:84px;gap:16px}
  .side{position:static;flex-direction:row;flex-wrap:wrap;gap:6px}
  .side-group,.side-foot{display:none}
  .side a{padding:9px 12px}
}

/* ---------- Settings ---------- */
.kv{display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:13px 0;font-size:13px;color:var(--muted);border-bottom:1px solid var(--border)}
.kv:last-child{border-bottom:none;padding-bottom:0}
.kv b{font-weight:400;color:#fff}
.kv b.good{color:#4ade80}

/* Show/hide sitting inside a password field */
.peek{display:block;position:relative}
.peek input{padding-right:40px}
.peek button{position:absolute;top:50%;right:10px;transform:translateY(-50%);
  width:26px;height:26px;border-radius:6px;display:grid;place-items:center;
  color:var(--muted-2);transition:color .2s,background .2s}
.peek button:hover{color:#fff;background:var(--surface-2)}
.peek button.on{color:var(--accent-lt)}
.peek button svg{width:15px;height:15px}

.btn-discord{background:#5865F2;color:#fff}
.btn-discord:hover:not(:disabled){background:#6b77f4}
.btn-discord svg{width:14px;height:14px}
.btn-quiet{background:var(--surface-2);color:var(--text)}
.btn-quiet:hover:not(:disabled){background:var(--surface-2);color:#fff}

/* ---------- Signed out ----------
   The whole grid steps aside for one centred card. */
.dash--guest{display:block;padding:120px 20px 80px;min-height:calc(100vh - 72px)}
.gate{max-width:440px;margin:0 auto;text-align:center;
  animation:fadeUp .45s cubic-bezier(.22,1,.36,1) both}
.gate-brand{display:inline-flex;align-items:center;gap:12px;margin-bottom:28px}
.gate-brand img{width:40px;height:40px;filter:drop-shadow(0 4px 14px rgba(77,124,255,.45))}
.gate-brand span{font-family:'Minecraft',var(--font);font-size:22px;letter-spacing:.06em;color:#fff}
.gate h1{font-family:'Minecraft',var(--font);
  font-size:30px;font-weight:700;letter-spacing:.03em;color:#fff;margin-bottom:12px;
  text-shadow:0 2px 14px rgba(77,124,255,.25)}
.gate-sub{font-size:14px;font-weight:400;color:var(--muted);margin-bottom:28px;line-height:1.5}
.gate-card{background:var(--surface);border:1px solid var(--border);
  border-radius:var(--radius);padding:28px;text-align:left;
  box-shadow:0 24px 60px -24px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.03)}
.gate-row{display:flex;align-items:center;justify-content:space-between;gap:12px;
  margin:-4px 0 16px;font-size:12px}
.check{display:inline-flex;align-items:center;gap:7px;color:var(--muted);cursor:pointer}
.check input{width:13px;height:13px;accent-color:var(--accent)}
.gate-row a{color:var(--accent-lt);transition:color .2s}
.gate-row a:hover{color:#fff}
.gate-go{width:100%;justify-content:center;padding:13px;font-size:13px;margin-top:4px}
.gate-foot{text-align:center;font-size:12px;color:var(--muted-2);margin-top:16px}
.gate-foot a{color:var(--accent-lt)}
.gate-foot a:hover{color:#fff}

/* Two buttons side by side, e.g. Link Discord + Unlink */
.btn-pair{display:flex;flex-wrap:wrap;gap:9px;align-items:center}
.btn-pair .btn-send{text-decoration:none}

/* ---------- Without a license ---------- */
.box.locked{text-align:center;padding:34px 24px}
.lock-ring{width:48px;height:48px;border-radius:50%;margin:0 auto 16px;
  display:grid;place-items:center;
  background:color-mix(in srgb,var(--accent) 12%,transparent);
  border:1px solid color-mix(in srgb,var(--accent) 28%,transparent);
  color:var(--accent-lt)}
.lock-ring svg{width:21px;height:21px}
.box.locked h3{font-size:16px;color:#fff;margin-bottom:8px}
.box.locked p{font-size:13px;line-height:1.7;color:var(--muted);
  max-width:46ch;margin:0 auto 18px}
.locked-go{display:flex;flex-wrap:wrap;gap:9px;justify-content:center}
.locked-go .btn-send{text-decoration:none}

/* A row that is there to be read, not used, until a key arrives */
.box.dim .ic-box,.box.dim .what{opacity:.55}
.need{display:inline-flex;align-items:center;gap:6px;flex-shrink:0;
  padding:9px 14px;border-radius:8px;font-size:12px;
  color:var(--muted-2);background:var(--surface-2);border:1px solid var(--border)}
.need svg{width:12px;height:12px}

/* ---------- Profile picture ---------- */
.avatar{overflow:hidden}
.avatar img{width:100%;height:100%;object-fit:cover;display:block}
.profile{display:flex;align-items:center;gap:14px;margin-bottom:20px}
.avatar--big{width:56px;height:56px;border-radius:50%;flex-shrink:0;
  display:grid;place-items:center;background:#c850a0;color:#fff;font-size:18px}
.profile b{display:block;font-size:15px;font-weight:400;color:#fff;margin-bottom:4px}
.profile span{font-size:12px;line-height:1.6;color:var(--muted-2)}


/* =====================================================================
   THE PIXEL FACE, ON THE BOLD THINGS ONLY — same split as the public page.
   Panel titles, row titles, version numbers and module names: the words
   you scan for. Descriptions, form labels, inputs, buttons and tab labels
   stay on Montserrat.

   These all sit at font-weight 400, which maps to Minecraft.otf rather
   than the bold cut — the pixel face reads as a heading on colour and
   size alone, so it does not need the heavier file as well.
   ===================================================================== */
.box-head h2,
.build b,
.tile b,
.release b,
.chglist h4,
.row b,
.vote b,
.profile b,
.account b,
.kv b{
  font-family:'Minecraft',var(--font);
  letter-spacing:.03em;
}
/* Module names are deliberately NOT in the list: 115 pixel-face labels in a
   dense grid is noise, not hierarchy. */


/* ---------- The Discord feed ----------
   What the bot forwarded out of the feedback and base-finds channels.
   Deliberately the same shape as .sug: these are the same kind of thing —
   somebody said something, here it is — and two layouts for that would
   only make the dashboard feel like two dashboards. */
.feed-item{display:flex;gap:14px;padding:16px;border-radius:12px;margin-bottom:10px;
  background:var(--well);border:1px solid var(--border)}
.feed-item:last-child{margin-bottom:0}

.feed-pic{width:36px;height:36px;border-radius:50%;flex-shrink:0;
  display:grid;place-items:center;font-size:12px;
  background:var(--surface-2);color:var(--muted)}

.feed-main{flex:1;min-width:0}
.feed-meta{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin-bottom:7px}
.feed-meta b{font-size:13px;font-weight:600;color:#fff}
.feed-meta span{font-size:11px;color:var(--muted-2)}
.feed-main p{font-size:13px;font-weight:300;line-height:1.7;color:var(--text);
  white-space:pre-wrap;overflow-wrap:anywhere}

/* Screenshots run along one row and crop to a square, so one tall image
   cannot push the rest of the feed off the screen. */
.feed-shots{display:flex;flex-wrap:wrap;gap:8px;margin-top:11px}
.feed-shots img{width:104px;height:104px;object-fit:cover;border-radius:9px;
  border:1px solid var(--border);transition:border-color .2s,transform .2s}
.feed-shots a:hover img{border-color:color-mix(in srgb,var(--accent) 45%,transparent);
  transform:translateY(-2px)}

@media (prefers-reduced-motion:reduce){ .feed-shots a:hover img{transform:none} }


/* ---------- Stars ----------
   One set of rules for both jobs: the big pickable row in the review form
   and the small read-only row on each review in the feed. */
.stars{display:inline-flex;align-items:center;gap:3px;line-height:1}
.stars .star{color:var(--muted-2);transition:color .15s ease,transform .15s ease}
.stars .star.on{color:#f0b03c}

/* The picker */
.stars--pick{gap:5px;padding:2px 0}
.stars--pick .star{font-size:26px;background:none;border:none;padding:0;cursor:pointer}
.stars--pick .star:hover{transform:scale(1.14)}
.stars-say{margin-left:10px;font-size:12px;font-weight:300;color:var(--muted-2)}

/* On a review */
.stars--small .star{font-size:13px}

/* In the heading, where it sits next to running text */
.box > .sub .stars{vertical-align:-1px;margin-right:6px}
.box > .sub b{color:#fff;font-weight:600}

@media (prefers-reduced-motion:reduce){ .stars--pick .star:hover{transform:none} }


/* ---------- The human check ----------
   A wide, obviously-pressable row rather than a tick box: it has work to
   do and takes a moment, so it must look like a button, not a setting. */
.human{display:flex;align-items:center;gap:12px;width:100%;
  padding:13px 15px;margin:4px 0 14px;border-radius:10px;
  background:var(--well);border:1px solid var(--border);
  cursor:pointer;text-align:left;
  transition:border-color .2s ease,background .2s ease}
.human:hover:not(:disabled){border-color:var(--border-2)}
.human:disabled{cursor:default}

.human-box{width:22px;height:22px;border-radius:6px;flex-shrink:0;
  display:grid;place-items:center;
  background:var(--surface-2);border:1px solid var(--border-2);
  color:transparent;transition:background .2s ease,border-color .2s ease,color .2s ease}
.human-box svg{width:14px;height:14px}
.human-say{font-size:13px;font-weight:300;color:var(--muted)}

.human.on{border-color:color-mix(in srgb,#4ade80 40%,transparent);
  background:color-mix(in srgb,#4ade80 7%,transparent)}
.human.on .human-box{background:#4ade80;border-color:#4ade80;color:#06210f}
.human.on .human-say{color:#4ade80}

/* While it is hashing. The box spins so a slow phone does not look stuck. */
.human.busy .human-box{border-color:var(--accent-lt);
  border-top-color:transparent;border-radius:50%;
  animation:humanSpin .7s linear infinite}
@keyframes humanSpin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){ .human.busy .human-box{animation:none} }


/* Approve / Reject under a queued post */
.queue-go{display:flex;flex-wrap:wrap;gap:9px;margin-top:14px}
.queue-go .btn-send{font-size:12px;padding:8px 14px}

/* Port and security sit side by side — both are short, and a full-width
   box for a four-digit number looks like a mistake. */
.mail-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media (max-width:560px){ .mail-two{grid-template-columns:1fr} }
