/* =========================================================================
   SSC Result 2026 — v4 "Clean Professional"
   One typeface (Inter) · slate & white surfaces · deep pine-green brand
   Compact single-line hero · restrained motion · app-grade neutrality.
   ========================================================================= */

:root {
  --ink: #0f172a;
  --ink-2: #111c33;
  --muted: #64748b;
  --paper: #f8fafc;
  --card: #ffffff;
  --line: #e2e8f0;
  --line-2: #cbd5e1;
  --ok: #0d7a5f;
  --ok-bg: #e6f5ef;
  --ok-line: #bfe5d6;
  --bad: #dc2626;
  --font-b: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-m: "JetBrains Mono", ui-monospace, "SF Mono", Consolas, monospace;
  --r: 14px;
  --r-s: 10px;
  --sh: 0 1px 2px rgba(15, 23, 42, 0.05), 0 6px 18px -10px rgba(15, 23, 42, 0.12);
  --sh-lg: 0 2px 4px rgba(15, 23, 42, 0.06), 0 18px 44px -20px rgba(15, 23, 42, 0.22);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; }
a { color: var(--p); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-b); line-height: 1.2; margin: 0 0 0.45em; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(1.55rem, 3.4vw, 2.2rem); font-weight: 800; }
h2 { font-size: clamp(1.3rem, 2.6vw, 1.65rem); }
h3 { font-size: 1.02rem; }
p { margin: 0 0 1em; }
code { font-family: var(--font-m); font-size: 0.85em; background: rgba(var(--p-rgb), 0.08); border: 1px solid rgba(var(--p-rgb), 0.22); border-radius: 6px; padding: 0.1em 0.4em; color: var(--ink); }
.wrap { width: min(1080px, 100% - 2.4rem); margin-inline: auto; }
.sr, .skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; inset: 10px auto auto 10px; width: auto; height: auto; clip: auto; background: var(--ink); color: #fff; padding: 0.6rem 1rem; border-radius: 8px; z-index: 300; }
::selection { background: rgba(var(--p-rgb), 0.22); }
svg.ic { width: 1em; height: 1em; flex: 0 0 auto; display: inline-block; vertical-align: -0.14em; }

/* ---------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font: 600 0.93rem var(--font-b); padding: 0.7rem 1.3rem;
  border-radius: 10px; border: 1px solid transparent; cursor: pointer;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s, color 0.15s, transform 0.15s;
  text-decoration: none !important; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-p, .btn-cta { background: var(--p); color: #fff; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.1), inset 0 -1px 0 rgba(0, 0, 0, 0.12); }
.btn-p:hover, .btn-cta:hover { background: var(--ink); }
.btn-ghost { background: var(--card); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--p); color: var(--p); }
.btn-block { width: 100%; margin-top: 0.6rem; }
.btn-sm { padding: 0.48rem 0.95rem; font-size: 0.85rem; }
.btn-ic { display: inline-flex; align-items: center; justify-content: center; width: 46px; min-height: 46px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--card); color: var(--muted); cursor: pointer; flex: none; }
.btn-ic:hover { color: var(--p); border-color: var(--p); }

.chip { display: inline-flex; align-items: center; gap: 0.45rem; font: 500 0.8rem var(--font-b); color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 0.3rem 0.8rem; }
.chip .ic { color: var(--p); }
.chip-big { font-size: 0.9rem; padding: 0.48rem 1rem; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); }

.kick { display: inline-block; font: 700 0.7rem var(--font-b); letter-spacing: 0.14em; text-transform: uppercase; color: var(--p); }

/* ----------------------------------------------------------------- Header */
.hdr { background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); z-index: 100; }
.has-sticky .hdr { position: sticky; top: 0; }
.hdr.scrolled { box-shadow: 0 4px 16px -8px rgba(15, 23, 42, 0.15); }
.hdr-in { display: flex; align-items: center; gap: 1.2rem; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; color: var(--ink); text-decoration: none !important; min-width: 0; }
.brand-logo { width: 40px; height: 40px; border-radius: 10px; object-fit: contain; background: #fff; border: 1px solid var(--line); padding: 3px; }
.brand-mono { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--p); color: #fff; font: 700 0.82rem var(--font-m); }
.brand-mono-b { background: var(--ba, var(--p)); font-size: 0.7rem; }
.brand-t { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-t strong { font-size: 1rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-t small { color: var(--muted); font-size: 0.7rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 44vw; }
.hdr-nav { display: flex; gap: 1.25rem; margin-left: auto; }
.hdr-nav a { color: var(--muted); font: 600 0.87rem var(--font-b); text-decoration: none; padding: 0.3rem 0; }
.hdr-nav a:hover { color: var(--p); }
.hdr-right { display: flex; align-items: center; gap: 0.7rem; }
.brand + .hdr-right { margin-left: auto; }
.switcher select { font: 600 0.85rem var(--font-b); color: var(--ink); background: var(--card); border: 1px solid var(--line-2); border-radius: 9px; padding: 0.5rem 0.7rem; max-width: 210px; }

/* Ticker — light strip, fixed label, high-contrast text */
.tick { display: flex; align-items: stretch; background: var(--card); border-bottom: 1px solid var(--line); }
.tick-tag { flex: none; display: inline-flex; align-items: center; gap: 0.4rem; background: var(--p); color: #fff; font: 700 0.7rem var(--font-b); letter-spacing: 0.1em; text-transform: uppercase; padding: 0 1rem; }
.tick-tag::after { content: ""; width: 0; height: 0; border-block: 14px solid transparent; border-left: 9px solid var(--p); position: relative; right: -1rem; }
.tick-vp { flex: 1; overflow: hidden; margin-left: 12px; }
.tick-track { display: flex; width: max-content; will-change: transform; }
.tick-g { display: flex; flex: none; }
.tick-i { flex: none; white-space: nowrap; padding: 0.5rem 0; padding-right: 3.2rem; font: 500 0.83rem var(--font-b); color: #334155; position: relative; }
.tick-i::after { content: ""; position: absolute; right: 1.5rem; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--p); }

/* ---------------------------------------------------- Compact masthead */
.sec-checker { padding: 1.6rem 0 0.6rem; }
.mast { max-width: 980px; margin-inline: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 1.6rem; padding: 0.4rem 0.2rem 1.1rem; }
.mast-copy { min-width: 0; }
.mast h1 { margin: 0.35rem 0 0.3rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.squig { font-style: normal; font-weight: 800; color: var(--p); }
.mast-sub { color: var(--muted); font-size: 0.95rem; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mast-cd { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 0.35rem; }
.mast-cd-l { font: 700 0.64rem var(--font-b); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.mast-when { font: 500 0.75rem var(--font-b); color: var(--muted); }
.mast-chips { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.9rem; }

/* Countdown — quiet boxed digits */
.flip { display: inline-flex; align-items: center; }
.flip-live { display: inline-flex; align-items: center; gap: 0.5rem; font: 700 0.84rem var(--font-b); color: var(--ok); background: var(--ok-bg); border: 1px solid var(--ok-line); border-radius: 999px; padding: 0.42rem 1rem; white-space: nowrap; }
.flip-live .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: livepulse 1.8s infinite; }
@keyframes livepulse { 50% { opacity: 0.35; } }
.flip-lg .flip-live { font-size: 1rem; padding: 0.7rem 1.35rem; }

.cd { display: inline-flex; align-items: flex-start; }
.cd-c { display: inline-flex; flex-direction: column; align-items: center; gap: 0.22rem; }
.cd-c b { font: 700 0.98rem var(--font-m); font-variant-numeric: tabular-nums; color: var(--ink); background: var(--card); border: 1px solid var(--line-2); border-radius: 8px; min-width: 42px; text-align: center; padding: 0.28rem 0.3rem; }
.cd-c i { font: 600 0.56rem var(--font-b); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-style: normal; }
.cd-sep { font: 700 0.98rem var(--font-m); color: var(--line-2); margin: 0 0.22rem; padding-top: 0.3rem; }
.cd-lg .cd-c b { font-size: 1.45rem; min-width: 58px; padding: 0.34rem 0.4rem; }
.cd-lg .cd-sep { font-size: 1.3rem; color: var(--p); }

.stx .stx-wait { display: inline-flex; align-items: center; gap: 0.45rem; font: 600 0.82rem var(--font-b); color: var(--p); background: rgba(var(--p-rgb), 0.08); border: 1px solid rgba(var(--p-rgb), 0.28); border-radius: 999px; padding: 0.36rem 0.9rem; white-space: nowrap; }

/* --------------------------------------------------------- Checker card */
.ck { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-lg); overflow: hidden; max-width: 980px; margin-inline: auto; }
.ck-head { padding: 1.4rem 1.6rem 0; }
.ck-head h2 { margin-bottom: 0.25rem; }
.ck-sub { color: var(--muted); max-width: 64ch; margin-bottom: 0.35rem; font-size: 0.93rem; }
.ck-bar { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; padding: 0.85rem 1.6rem; background: #f9fafb; border-bottom: 1px solid var(--line); }
.desk-tab { font: 700 0.66rem var(--font-b); letter-spacing: 0.12em; text-transform: uppercase; color: var(--p); background: rgba(var(--p-rgb), 0.1); border: 1px solid rgba(var(--p-rgb), 0.3); padding: 0.3rem 0.65rem; border-radius: 7px; }
.ck-official { display: inline-flex; align-items: center; gap: 0.5rem; font: 500 0.84rem var(--font-b); color: var(--muted); margin-right: auto; }
.ck-official .ic { color: var(--ok); }
.ck-official b { color: var(--ink); font-weight: 600; }

.ck-form { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.95rem 1.05rem; padding: 1.25rem 1.6rem 0.35rem; }
.f { display: flex; flex-direction: column; gap: 0.32rem; }
.f label { font: 600 0.7rem var(--font-b); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.f label small { text-transform: none; letter-spacing: 0; font-weight: 500; }
.f input, .f select {
  font: 500 0.98rem var(--font-b); color: var(--ink); background: var(--card);
  border: 1px solid var(--line-2); border-radius: var(--r-s);
  padding: 0.66rem 0.8rem; width: 100%; min-height: 46px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.f input { font-family: var(--font-m); letter-spacing: 0.03em; }
.f select:disabled { color: var(--ink); opacity: 1; background: rgba(var(--p-rgb), 0.06); border-color: rgba(var(--p-rgb), 0.3); }
.f input:focus, .f select:focus { outline: none; border-color: var(--p); box-shadow: 0 0 0 3px rgba(var(--p-rgb), 0.16); }
.f input[aria-invalid="true"] { border-color: var(--bad); box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12); }

.f-cap { grid-column: span 2; }
.cap-row { display: flex; gap: 0.55rem; align-items: stretch; }
.cap-box { flex: none; width: 124px; min-height: 46px; border: 1px dashed var(--line-2); border-radius: var(--r-s); background: var(--card); display: grid; place-items: center; overflow: hidden; }
.cap-box svg { display: block; width: 100%; height: 44px; }
.cap-row input { flex: 1; min-width: 90px; }
.ck-actions { grid-column: 1 / -1; display: flex; gap: 0.7rem; padding: 0.2rem 0; flex-wrap: wrap; }
.ck-actions .btn-cta { min-width: 200px; }
.ck-note { display: flex; gap: 0.5rem; align-items: flex-start; margin: 0.45rem 1.6rem 1.35rem; font-size: 0.85rem; color: var(--muted); }
.ck-note .ic { color: var(--ok); margin-top: 0.22em; }

/* Modal */
.modal { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.55); backdrop-filter: blur(3px); display: grid; place-items: center; padding: 1.2rem; z-index: 400; }
.modal-card { position: relative; width: min(470px, 100%); background: var(--card); border-radius: 16px; box-shadow: var(--sh-lg); padding: 2rem 1.7rem 1.5rem; text-align: center; animation: pop 0.22s cubic-bezier(0.34, 1.4, 0.64, 1); }
@keyframes pop { from { transform: scale(0.94); opacity: 0; } }
.modal-x { position: absolute; top: 0.75rem; right: 0.75rem; width: 34px; height: 34px; border: 0; background: var(--paper); border-radius: 50%; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.modal-ic { width: 58px; height: 58px; margin: 0 auto 0.85rem; display: grid; place-items: center; border-radius: 50%; background: rgba(var(--p-rgb), 0.1); color: var(--p); }
.modal-ic .ic { width: 1.6em; height: 1.6em; }
.modal.is-live .modal-ic { background: var(--ok-bg); color: var(--ok); }
.modal-card h3 { font-size: 1.2rem; }
.modal-card p { color: var(--muted); font-size: 0.93rem; }
.modal-card .cd { justify-content: center; display: inline-flex; margin-bottom: 0.95rem; }
.modal-actions { display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; margin-top: 0.35rem; }

/* --------------------------------------------------------------- Sections */
.sec { padding: 2.5rem 0 0.9rem; }
.sec-head { margin-bottom: 1.2rem; max-width: 66ch; }
.sec-head h2 { margin-top: 0.4rem; }
.prose { max-width: 72ch; }
.prose p { color: #33415c; }
.prose strong { color: var(--ink); }
.src { font-size: 0.79rem; color: var(--muted); margin-top: 1rem; }
.tip { display: flex; gap: 0.55rem; align-items: flex-start; font-size: 0.89rem; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--p); border-radius: var(--r-s); padding: 0.78rem 1rem; max-width: 72ch; margin-top: 1.05rem; }
.tip .ic { color: var(--p); margin-top: 0.2em; }

/* Facts */
.sec-facts { padding-top: 1.9rem; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.85rem; }
.fact { display: flex; gap: 0.8rem; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 0.95rem 1.05rem; box-shadow: var(--sh); }
.fact-ic { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: rgba(var(--p-rgb), 0.09); color: var(--p); }
.fact-ic .ic { width: 1.25em; height: 1.25em; }
.fact-t { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.fact-t small { font: 600 0.62rem var(--font-b); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.fact-t b { font: 700 1.14rem var(--font-b); letter-spacing: -0.01em; }
.fact-t em { font-style: normal; font-size: 0.74rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Charts */
.charts { display: grid; grid-template-columns: 1fr 320px; gap: 1rem; margin-top: 1.2rem; }
.ch-card { padding: 1.05rem 1.15rem; margin: 0; }
.ch-card figcaption { font: 600 0.79rem var(--font-b); color: var(--muted); margin-top: 0.5rem; }
.ch-card-wide { grid-column: 1 / -1; }
.ch { width: 100%; height: auto; display: block; }
.ch .grid { stroke: #eef2f7; stroke-width: 1; }
.ch .ax { fill: #94a3b8; font: 500 11px var(--font-m); }
.ch .val { fill: var(--ink); font: 600 11px var(--font-m); }
.ch-bars .bar { fill: #cbd5e1; }
.ch-bars .bar.hot { fill: var(--p); }
.ch-line .area { fill: rgba(var(--p-rgb), 0.1); }
.ch-line .line { fill: none; stroke: var(--p); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.ch-line .dot { fill: #fff; stroke: var(--p); stroke-width: 2.5; }
.ch-line .dot.hot { stroke: var(--ink); }
.ch-donut { max-width: 200px; margin-inline: auto; }
.ch-donut .track { fill: none; stroke: #eef2f7; stroke-width: 14; }
.ch-donut .ring { fill: none; stroke: var(--p); stroke-width: 14; stroke-linecap: round; }
.ch-donut .big { fill: var(--ink); font: 800 26px var(--font-b); }
.ch-donut .sm { fill: var(--muted); font: 600 10.5px var(--font-b); }
.ch-donut .sm2 { fill: #94a3b8; font: 500 9.5px var(--font-b); }
.ch-card-donut { display: flex; flex-direction: column; justify-content: center; }

/* Horizontal bars */
.hb-card { padding: 1.15rem 1.25rem; margin-top: 1rem; }
.hb-head { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; margin-bottom: 0.85rem; flex-wrap: wrap; }
.hb-head h3 { margin: 0; }
.hbars { display: flex; flex-direction: column; gap: 0.42rem; }
.hrow { display: grid; grid-template-columns: 150px 1fr 110px; align-items: center; gap: 0.8rem; }
.hname { font: 600 0.84rem var(--font-b); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hname a { color: inherit; }
.hname a:hover { color: var(--p); }
.htrack { background: #eef2f7; border-radius: 999px; height: 20px; overflow: hidden; }
.hfill { display: flex; align-items: center; justify-content: flex-end; height: 100%; width: var(--w); min-width: 52px; border-radius: 999px; background: var(--p); transition: width 0.9s cubic-bezier(0.25, 1, 0.4, 1); }
.rv:not(.in) .hfill { width: 0 !important; min-width: 0; }
.hfill b { font: 600 0.7rem var(--font-m); color: #fff; padding-right: 0.55rem; }
.hgpa { font: 500 0.77rem var(--font-m); color: var(--muted); text-align: right; white-space: nowrap; }
.hrow.hot .hfill { background: var(--ink); }
.hrow.hot .hname { color: var(--ink); font-weight: 700; }

/* Tiles + vs national */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; margin-bottom: 1rem; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-s); padding: 0.9rem 1rem; box-shadow: var(--sh); display: flex; flex-direction: column; gap: 0.08rem; }
.tile-ic { color: var(--p); margin-bottom: 0.3rem; }
.tile b { font: 800 1.25rem var(--font-b); letter-spacing: -0.01em; }
.tile small { font: 600 0.62rem var(--font-b); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.vsn { display: grid; grid-template-columns: 200px 1fr; gap: 1.2rem; align-items: center; padding: 1.15rem 1.25rem; }
.vsn .src { margin: 0.55rem 0 0; }

/* Methods */
.grid { display: grid; gap: 1rem; }
.g-methods { grid-template-columns: repeat(4, 1fr); }
.m-card { padding: 1.25rem 1.2rem 1.1rem; display: flex; flex-direction: column; transition: box-shadow 0.18s, transform 0.18s, border-color 0.18s; }
.m-card:hover { transform: translateY(-2px); box-shadow: var(--sh-lg); border-color: rgba(var(--p-rgb), 0.35); }
.m-ic { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: rgba(var(--p-rgb), 0.09); color: var(--p); margin-bottom: 0.8rem; }
.m-ic .ic { width: 1.25em; height: 1.25em; }
.m-card p { font-size: 0.87rem; color: var(--muted); flex: 1; }
.m-link { display: inline-flex; align-items: center; gap: 0.35rem; font: 600 0.85rem var(--font-b); }
.m-link .ic { transition: transform 0.15s; }
.m-link:hover .ic { transform: translateX(2px); }

/* Timeline */
.tl { list-style: none; margin: 0.35rem 0 0; padding: 0; max-width: 72ch; }
.tl-i { position: relative; padding: 0 0 1.1rem 3.1rem; }
.tl-i::before { content: ""; position: absolute; left: 16px; top: 36px; bottom: 2px; width: 2px; background: var(--line); }
.tl-i:last-child::before { display: none; }
.tl-n { position: absolute; left: 0; top: 0; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: rgba(var(--p-rgb), 0.09); border: 1px solid rgba(var(--p-rgb), 0.3); color: var(--p); font: 700 0.86rem var(--font-m); }
.tl-i p { margin: 0.26rem 0 0; color: #33415c; }

/* SMS — equal-height columns */
.sms-grid { display: grid; grid-template-columns: 390px 1fr; gap: 1.35rem; align-items: stretch; margin-top: 0.55rem; }
.phone { background: var(--ink); border-radius: 28px; padding: 0.55rem; box-shadow: var(--sh-lg); width: 100%; max-width: 410px; display: flex; flex-direction: column; min-height: 540px; }
.phone-top { position: relative; display: flex; align-items: center; justify-content: center; padding: 0.72rem 1rem 0.5rem; }
.phone-cam { position: absolute; top: 0.55rem; left: 50%; transform: translateX(-50%); width: 80px; height: 18px; background: #000; border-radius: 999px; }
.phone-to { margin-top: 22px; color: #cbd5e1; font: 600 0.78rem var(--font-m); }
.phone-to b { color: #fff; }
.phone-scr { flex: 1; background: #eef2f7; border-radius: 16px 16px 0 0; padding: 1.05rem 0.9rem 0.85rem; display: flex; flex-direction: column; justify-content: flex-end; gap: 0.65rem; min-height: 0; }
.bub { max-width: 86%; padding: 0.6rem 0.85rem; border-radius: 14px; font-size: 0.88rem; line-height: 1.45; }
.bub i { display: block; font: 500 0.61rem var(--font-b); font-style: normal; opacity: 0.65; margin-top: 0.22rem; }
.bub-out { align-self: flex-end; background: var(--p); color: #fff; border-bottom-right-radius: 4px; font-family: var(--font-m); letter-spacing: 0.02em; }
.bub-in { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; color: #33415c; }
.bub-in i { color: var(--muted); }
.phone-form { background: #fff; border-radius: 0 0 21px 21px; padding: 0.95rem 0.95rem 1rem; display: flex; flex-direction: column; gap: 0.65rem; }
.pf { display: flex; flex-direction: column; gap: 0.24rem; }
.pf span { font: 600 0.6rem var(--font-b); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.pf select, .pf input { font: 500 0.94rem var(--font-m); border: 1px solid var(--line-2); border-radius: 9px; padding: 0.55rem 0.7rem; min-height: 43px; background: #fbfcfe; }
.pf select:focus, .pf input:focus { outline: none; border-color: var(--p); box-shadow: 0 0 0 3px rgba(var(--p-rgb), 0.15); }
.pf select:disabled { color: var(--ink); opacity: 1; background: rgba(var(--p-rgb), 0.06); }
.phone-actions { display: flex; gap: 0.55rem; }
.phone-actions .btn { flex: 1; padding-inline: 0.6rem; font-size: 0.87rem; }
.phone-note { margin: 0; text-align: center; font-size: 0.71rem; color: var(--muted); }
.sms-side { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.fmt-card { padding: 1.15rem 1.25rem; }
.codes-card { padding: 1.15rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.codes-card table { flex: 1; }
.fmt { font: 600 1.08rem var(--font-m); background: var(--ink); color: #fff; border-radius: var(--r-s); padding: 0.8rem 1rem; letter-spacing: 0.02em; overflow-x: auto; }
.fmt b { color: #34d399; }
.fmt-eg { font-size: 0.87rem; color: var(--muted); margin: 0.55rem 0 0; }
.codes { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.codes th { text-align: left; font: 600 0.64rem var(--font-b); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding: 0.34rem 0.4rem; border-bottom: 2px solid var(--line-2); }
.codes td { padding: 0.46rem 0.4rem; border-bottom: 1px solid var(--line); }
.codes tr:last-child td { border-bottom: 0; }

/* Boards grid */
.g-boards { grid-template-columns: repeat(3, 1fr); }
.b-card { position: relative; display: flex; align-items: center; gap: 0.85rem; padding: 1.15rem 1.05rem 1rem; color: var(--ink); text-decoration: none !important; border-top: 3px solid var(--ba, var(--p)); transition: box-shadow 0.18s, transform 0.18s; }
.b-card:hover { transform: translateY(-2px); box-shadow: var(--sh-lg); }
.b-tab { position: absolute; top: 0.65rem; right: 0.9rem; font: 700 0.64rem var(--font-m); letter-spacing: 0.08em; color: var(--ba, var(--p)); background: rgba(var(--ba-rgb, var(--p-rgb)), 0.1); padding: 0.16rem 0.5rem; border-radius: 6px; }
.b-mono { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; font: 800 1.05rem var(--font-b); color: var(--ba, var(--p)); background: rgba(var(--ba-rgb, var(--p-rgb)), 0.11); }
.b-logo { flex: none; width: 46px; height: 46px; border-radius: 12px; object-fit: contain; background: #fff; border: 1px solid var(--line); padding: 3px; }
.b-t { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; flex: 1; }
.b-t b { font-size: 0.96rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b-t small { color: var(--muted); font-size: 0.73rem; }
.b-pass { text-align: right; line-height: 1.15; padding-top: 0.5rem; }
.b-pass b { font: 700 0.98rem var(--font-m); color: var(--ba, var(--p)); }
.b-pass small { display: block; font-size: 0.58rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.b-go { color: var(--line-2); }
.b-card:hover .b-go { color: var(--ba, var(--p)); }

.rs-meta { display: flex; gap: 0.65rem; flex-wrap: wrap; margin: 0.15rem 0 1.25rem; }

/* FAQ */
.faq { max-width: 78ch; display: flex; flex-direction: column; gap: 0.6rem; }
.faq-i { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-s); overflow: hidden; }
.faq-i summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.95rem 1.15rem; cursor: pointer; font: 600 0.95rem var(--font-b); list-style: none; }
.faq-i summary::-webkit-details-marker { display: none; }
.faq-i summary .ic { flex: none; color: var(--muted); transition: transform 0.2s; }
.faq-i[open] { border-color: rgba(var(--p-rgb), 0.4); }
.faq-i[open] summary { color: var(--p); }
.faq-i[open] summary .ic { transform: rotate(180deg); color: var(--p); }
.faq-a { padding: 0 1.15rem 1.05rem; color: #33415c; font-size: 0.92rem; }
.faq-a p { margin: 0; }

.adx { margin: 1.35rem 0 0.2rem; display: flex; justify-content: center; overflow: hidden; }
.adx:empty { display: none; }

/* Footer */
.ftr { margin-top: 3.4rem; background: var(--ink-2); color: #94a3b8; position: relative; }
.ftr::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--p); }
.ftr a { color: #cbd5e1; }
.ftr a:hover { color: #fff; }
.ftr-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 1.1fr 1fr; gap: 2rem; padding: 2.7rem 0 1.9rem; }
.ftr .brand-t strong { color: #fff; }
.ftr-about p { font-size: 0.85rem; margin-top: 0.85rem; }
.ftr-col h3 { color: #fff; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; margin-bottom: 0.8rem; }
.ftr-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.42rem; font-size: 0.87rem; }
.ftr-col .ic { color: #34d399; margin-right: 0.3rem; }
.ftr-base { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 1.05rem 0 1.25rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.77rem; }
.ftr-base p { margin: 0; }
.has-dock .ftr { padding-bottom: 66px; }

/* Dock */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; display: none; grid-auto-flow: column; grid-auto-columns: 1fr; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: 0.32rem 0.3rem calc(0.32rem + env(safe-area-inset-bottom)); }
.dock a { display: flex; flex-direction: column; align-items: center; gap: 0.14rem; padding: 0.3rem 0.2rem; color: var(--muted); font: 600 0.61rem var(--font-b); text-decoration: none !important; border-radius: 9px; }
.dock a .ic { width: 1.28em; height: 1.28em; }
.dock a:active, .dock a:hover { color: var(--p); background: rgba(var(--p-rgb), 0.08); }

/* Scroll to top */
.totop { position: fixed; right: 1.1rem; bottom: 1.2rem; z-index: 210; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card); color: var(--ink); box-shadow: var(--sh-lg); cursor: pointer; display: grid; place-items: center; opacity: 0.95; transition: background 0.15s, color 0.15s, transform 0.15s; }
.totop .ic { transform: rotate(180deg); }
.totop:hover { background: var(--p); color: #fff; border-color: var(--p); }
.has-dock .totop { bottom: calc(66px + env(safe-area-inset-bottom) + 0.7rem); }
@media (min-width: 761px) { .has-dock .totop { bottom: 1.2rem; } }

/* Board masthead */
.mast-board { position: relative; overflow: hidden; display: block; max-width: none; padding: 1.7rem 0 1.9rem; margin: 0; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(var(--p-rgb), 0.06), rgba(var(--p-rgb), 0)); }
.mast-board .mast-in { position: relative; }
.mast-board h1 { margin: 0.4rem 0 0.35rem; white-space: normal; max-width: 30ch; }
.mast-board .mast-sub { white-space: normal; max-width: 62ch; }
.mast-board .mast-cd { align-items: flex-start; margin-top: 1.15rem; }
.mast-code { position: absolute; right: -0.5rem; bottom: -2.4rem; font: 800 clamp(6rem, 16vw, 11rem) var(--font-b); letter-spacing: -0.04em; line-height: 1; color: rgba(var(--p-rgb), 0.08); pointer-events: none; user-select: none; }
.crumbs { display: flex; align-items: center; gap: 0.4rem; font: 600 0.77rem var(--font-b); margin-bottom: 0.7rem; color: var(--muted); }
.crumbs .ic { width: 0.85em; height: 0.85em; opacity: 0.7; }
.is-board .sec-checker { padding-top: 1.6rem; }

/* Board two-column body */
.bd-cols { display: grid; grid-template-columns: 1fr 315px; gap: 2.1rem; align-items: start; }
.bd-main .sec { padding: 2.1rem 0 0.6rem; }
.bd-main .wrap { width: 100%; }
.bd-aside { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 1rem; padding-top: 2.1rem; }
.as-card { padding: 1.15rem 1.2rem; }
.as-card h3 { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.75rem; }
.as-list { list-style: none; margin: 0 0 0.5rem; padding: 0; display: flex; flex-direction: column; }
.as-list li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.48rem 0; border-bottom: 1px dashed var(--line); font-size: 0.87rem; }
.as-list li:last-child { border-bottom: 0; }
.as-list li span { color: var(--muted); }
.as-boards { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.as-boards a { display: flex; align-items: center; gap: 0.6rem; padding: 0.46rem 0.3rem; color: var(--ink); font: 600 0.87rem var(--font-b); text-decoration: none !important; border-radius: 8px; }
.as-boards a:hover { color: var(--ba, var(--p)); background: var(--paper); }
.as-boards i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--ba, var(--p)); }
.as-boards .ic { margin-left: auto; color: var(--line-2); }

.frame-card { padding: 0.7rem; }
.frame { width: 100%; border: 0; border-radius: var(--r-s); background: #fff; display: block; }
.frame-note { display: flex; gap: 0.45rem; align-items: flex-start; margin: 0.6rem 0.4rem 0.2rem; font-size: 0.81rem; color: var(--muted); }
.frame-note .ic { color: var(--p); margin-top: 0.2em; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 84px; transform: translate(-50%, 16px); background: var(--ink); color: #fff; font: 600 0.85rem var(--font-b); padding: 0.62rem 1.15rem; border-radius: 999px; box-shadow: var(--sh-lg); opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.25s; z-index: 500; max-width: 90vw; text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Reveal — subtle */
.rv { opacity: 0; transform: translateY(10px); transition: opacity 0.45s ease, transform 0.45s ease; }
.rv.in { opacity: 1; transform: none; }
.no-io .rv { opacity: 1; transform: none; }

/* ------------------------------------------------------------ Responsive */
@media (max-width: 1020px) {
  .hdr-nav { display: none; }
  .hdr-right { margin-left: auto; }
  .charts { grid-template-columns: 1fr; }
  .ch-card-donut { max-width: 420px; }
  .g-methods { grid-template-columns: repeat(2, 1fr); }
  .g-boards { grid-template-columns: repeat(2, 1fr); }
  .bd-cols { grid-template-columns: 1fr; }
  .bd-aside { position: static; padding-top: 1.35rem; }
  .ck-form { grid-template-columns: repeat(2, 1fr); }
  .f-cap { grid-column: span 2; }
  .sms-grid { grid-template-columns: 1fr; }
  .phone { margin-inline: auto; min-height: 500px; }
  .mast { flex-direction: column; align-items: stretch; gap: 0.9rem; }
  .mast h1, .mast-sub { white-space: normal; }
  .mast-cd { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem 1rem; }
  .mast-cd-l { order: -1; width: 100%; }
}
@media (max-width: 760px) {
  .sec { padding: 2rem 0 0.75rem; }
  .tick-tag { padding: 0 0.7rem; font-size: 0.62rem; }
  .ck-form, .ck-bar { padding-inline: 1.1rem; }
  .ck-head { padding-inline: 1.1rem; }
  .ck-note { margin-inline: 1.1rem; }
  .ck-official { display: none; }
  .stx { margin-left: auto; }
  .facts { grid-template-columns: 1fr 1fr; }
  .vsn { grid-template-columns: 1fr; justify-items: center; }
  .vsn-bars { width: 100%; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .hrow { grid-template-columns: 92px 1fr; }
  .hgpa { display: none; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .dock { display: grid; }
  .toast { bottom: 92px; }
  .mast-code { display: none; }
  .phone { min-height: 470px; }
}
@media (max-width: 560px) {
  .wrap { width: min(1080px, 100% - 1.6rem); }
  .ck-form { grid-template-columns: 1fr; }
  .f-cap { grid-column: auto; }
  .ck-actions .btn-cta { width: 100%; }
  .facts, .g-methods, .g-boards { grid-template-columns: 1fr; }
  .brand-t small { display: none; }
  .hdr-right .btn-sm span { display: none; }
  .hdr-right .btn-sm { width: 40px; padding: 0; height: 40px; }
  .cd-lg .cd-c b { min-width: 50px; font-size: 1.25rem; }
  .ftr-grid { grid-template-columns: 1fr; gap: 1.35rem; }
  .cap-box { width: 106px; }
  .totop { right: 0.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .flip-live .dot { animation: none; }
  .m-card, .b-card, .hfill { transition: none; }
}
