:root {
  --bg: #070b1a;
  --bg2: #0c1430;
  --panel: #0f1838;
  --line: #22305e;
  --ink: #050814;
  --text: #e9eefc;
  --dim: #9aa6c8;
  --blue: #3d7bff;
  --red: #ff3d57;
  --green: #3dffa0;
  --amber: #ffc23d;
  --grey: #8b93ab;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.45 var(--sans); overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background: radial-gradient(60% 40% at 15% 0%, rgba(61, 123, 255, .16), transparent 70%), radial-gradient(50% 35% at 95% 10%, rgba(255, 61, 87, .10), transparent 70%); }
button, input { font: inherit; color: inherit; }
a { color: inherit; }
b { font-weight: 800; }

/* header */
.top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 10px; padding: 8px 16px; padding-top: max(8px, env(safe-area-inset-top));
  background: rgba(7, 11, 26, .88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 900; letter-spacing: .06em; font-size: 18px; }
.brand-mark { width: 30px; height: 30px; }
.stream-tag { display: none; }
.top-stats { margin-left: auto; display: flex; gap: 10px; font: 700 12px/1 var(--mono); color: var(--dim); white-space: nowrap; }
.top-stats b { color: var(--text); }
.top-stats .s-stolen b { color: var(--red); }
.sound { min-height: 44px; min-width: 44px; padding: 0 8px; white-space: nowrap; font-size: 18px !important; border-radius: 10px; border: 1px solid var(--line); background: var(--bg2); font-size: 12px; font-weight: 700; cursor: pointer; }
.sound[aria-pressed="true"] { border-color: var(--blue); color: #fff; }
.conn { width: 10px; height: 10px; border-radius: 50%; background: var(--grey); flex: none; }
.conn.on { background: var(--green); box-shadow: 0 0 10px var(--green); }
.conn.off { background: var(--red); }

.announce { margin: 8px 16px 0; padding: 10px 12px; border-radius: 12px; background: rgba(255, 194, 61, .12); border: 1px solid rgba(255, 194, 61, .4); font-weight: 700; }
.cabar { display: flex; align-items: center; gap: 8px; margin: 10px 16px 0; padding: 6px 6px 6px 12px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.cabar-label { font-weight: 900; font-size: 13px; }
.cabar-ca { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 12px var(--mono); color: var(--dim); }
.previewtag { margin: 10px 16px 0; text-align: center; font: 700 12px var(--mono); color: var(--amber); letter-spacing: .05em; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 14px; border-radius: 11px; border: 1px solid var(--line); background: var(--bg2); font-weight: 800; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn-hot { background: var(--blue); border-color: var(--blue); color: #fff; }

/* layout */
.layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 12px 16px 40px; max-width: 1180px; margin: 0 auto; }
@media (min-width: 900px) { .layout { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: start; } .stage-col { position: sticky; top: 64px; } }

/* stage */
.stage { scroll-margin-top: 72px; position: relative; border-radius: 20px; background: linear-gradient(180deg, #0d1638, #080d22); border: 1px solid var(--line); padding: 10px; overflow: hidden; isolation: isolate; }
.stage.shake { animation: shake .42s cubic-bezier(.36, .07, .19, .97); }
@keyframes shake { 10%, 90% { transform: translate(-2px, 1px); } 20%, 80% { transform: translate(4px, -2px); } 30%, 50%, 70% { transform: translate(-7px, 2px); } 40%, 60% { transform: translate(7px, -1px); } }

.case-card { display: flex; gap: 10px; align-items: center; min-height: 56px; padding: 6px 4px 10px; }
.case-card.enter { animation: cardIn .5s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes cardIn { from { transform: translateX(-30px) scale(.96); opacity: 0; } }
.cc-img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; background: var(--bg2); border: 2px solid var(--line); flex: none; }
.cc-body { min-width: 0; flex: 1; }
.cc-kicker { font: 800 11px/1.2 var(--mono); letter-spacing: .08em; color: var(--blue); }
.cc-tag { color: var(--amber); }
.cc-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 17px; }
.cc-name span { color: var(--dim); font-size: 14px; }

.phone { position: relative; border-radius: 16px; overflow: hidden; background: #fff; border: 3px solid #1c2752; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.urlbar { position: relative; display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; background: #e9ecf3; color: #20263a; font: 600 12px/1 var(--sans); overflow: hidden; z-index: 2; }
.lock { width: 9px; height: 10px; border-radius: 2px; background: #5a6582; position: relative; top: 2px; flex: none; }
.lock::before { content: ""; position: absolute; left: 1.5px; top: -5px; width: 6px; height: 6px; border: 1.5px solid #5a6582; border-bottom: 0; border-radius: 4px 4px 0 0; box-sizing: border-box; }
.url-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.url-text::after { content: "▍"; color: var(--blue); animation: blink 1s steps(1) infinite; margin-left: 1px; }
.url-text.done::after { content: none; }
@keyframes blink { 50% { opacity: 0; } }
#url-load { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--blue); }
.viewport { position: relative; height: clamp(300px, 48svh, 520px); background: #0b1022; overflow: hidden; touch-action: pan-y; }
.viewport canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.stream .viewport { height: calc(100svh - 260px); }

.siren { position: absolute; inset: 0; pointer-events: none; opacity: 0; z-index: 4; mix-blend-mode: screen;
  background: linear-gradient(90deg, rgba(255, 61, 87, .55), transparent 40%, transparent 60%, rgba(61, 123, 255, .55)); background-size: 200% 100%; }
.siren.on { animation: siren .5s linear infinite alternate, sirenFade 4.8s ease-out forwards; }
@keyframes siren { from { background-position: 0 0; } to { background-position: 100% 0; } }
@keyframes sirenFade { 0% { opacity: 0; } 8% { opacity: 1; } 75% { opacity: .65; } 100% { opacity: 0; } }

.stamp { position: absolute; left: 50%; top: 46%; z-index: 6; pointer-events: none; display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 10px 18px 8px; border: 5px solid currentColor; border-radius: 12px; color: var(--green); background: rgba(5, 8, 20, .82);
  font: 900 clamp(28px, 9vw, 46px)/1 var(--sans); letter-spacing: .04em; text-align: center; white-space: nowrap;
  transform: translate(-50%, -50%) rotate(-8deg) scale(0); opacity: 0; box-shadow: 0 0 0 3px rgba(5, 8, 20, .7), 0 0 40px currentColor; }
.stamp small { font: 800 12px/1.2 var(--mono); letter-spacing: .06em; max-width: 280px; white-space: pre-line; }
.stamp.show { animation: stamp .55s cubic-bezier(.2, 1.6, .35, 1) forwards; }
.stamp.hide { transition: opacity .35s, transform .35s; opacity: 0 !important; transform: translate(-50%, -50%) rotate(-8deg) scale(.8) !important; }
@keyframes stamp { 0% { transform: translate(-50%, -50%) rotate(-14deg) scale(3); opacity: 0; } 60% { opacity: 1; } 100% { transform: translate(-50%, -50%) rotate(-8deg) scale(1); opacity: 1; } }
.stamp.v-stolen { color: var(--red); }
.stamp.v-noca { color: var(--amber); }
.stamp.v-down, .stamp.v-nosite { color: var(--grey); }

.owner-card { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 7; padding: 10px 12px; border-radius: 14px; background: rgba(9, 14, 34, .95); border: 2px solid var(--red); box-shadow: 0 10px 30px rgba(0, 0, 0, .6); }
.owner-card.enter { animation: ownerIn .55s cubic-bezier(.2, 1.3, .4, 1); }
@keyframes ownerIn { from { transform: translateY(40px); opacity: 0; } }
.oc-kicker { font: 800 11px var(--mono); color: var(--red); letter-spacing: .08em; text-transform: uppercase; }
.oc-row { display: flex; gap: 10px; align-items: center; margin-top: 4px; }
.oc-row img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; background: var(--bg2); flex: none; }
.oc-row b { font-size: 17px; }
.oc-row span { color: var(--dim); }
.oc-facts { font-size: 12.5px; color: var(--dim); }
.oc-facts em { color: var(--text); font-style: normal; font-weight: 700; }

.sweep-card { position: absolute; inset: 10px; z-index: 8; border-radius: 16px; padding: 18px 16px; background: radial-gradient(120% 80% at 50% 0%, rgba(61, 123, 255, .35), rgba(7, 11, 26, 0) 60%), #070b1a; border: 2px solid var(--blue); display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.sweep-card.enter { animation: cardIn .5s cubic-bezier(.2, 1.4, .4, 1); }
.sw-kicker { font: 900 12px var(--mono); letter-spacing: .14em; color: var(--blue); }
.sw-title { font: 900 clamp(30px, 10vw, 44px)/1 var(--sans); letter-spacing: .02em; }
.sw-runner { display: flex; gap: 10px; align-items: center; }
.sw-runner img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.sw-runner b { font-size: 20px; }
.sw-sub { color: var(--dim); }
.sw-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sw-list li { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 10px; background: rgba(255, 255, 255, .05); animation: rowIn .4s backwards; }
.sw-list li .chip { margin-left: auto; }
.sw-big { font: 900 22px/1.2 var(--sans); }
.sw-big .r { color: var(--red); }
@keyframes rowIn { from { transform: translateX(24px); opacity: 0; } }

.force { position: absolute; left: 10px; right: 10px; bottom: 6px; height: 0; z-index: 5; pointer-events: none; }

/* compare strip */
.compare { margin-top: 10px; padding: 10px 10px 8px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.cmp-row { display: grid; gap: 3px; margin-bottom: 6px; }
.cmp-label { font: 800 10px var(--mono); letter-spacing: .1em; color: var(--dim); }
.cmp-chars { display: grid; grid-template-columns: repeat(44, minmax(0, 1fr)); gap: 1px; font: 800 clamp(9px, 2.9vw, 14px)/1 var(--mono); }
.cmp-chars span { display: grid; place-items: center; height: clamp(17px, 5vw, 24px); border-radius: 3px; background: rgba(255, 255, 255, .05); color: transparent; transition: background .15s; }
.cmp-chars span.on { color: var(--text); }
.cmp-chars span.ok { background: rgba(61, 255, 160, .2); color: var(--green); }
.cmp-chars span.bad { background: rgba(255, 61, 87, .28); color: #ffd2d8; animation: pop .25s; }
.cmp-chars span.cur { outline: 2px solid var(--blue); outline-offset: -1px; }
@keyframes pop { 50% { transform: scale(1.35); } }
.cmp-meter { font: 800 12px var(--mono); color: var(--dim); min-height: 16px; }
.cmp-meter .ok { color: var(--green); }
.cmp-meter .bad { color: var(--red); }

.reason { margin: 10px 2px 0; min-height: 44px; font-size: 15px; }
.reason b { font-weight: 900; }

/* side panels */
.side { display: grid; gap: 16px; min-width: 0; }
.check { padding: 14px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.check label { display: block; font-weight: 900; margin-bottom: 8px; }
.check-row { display: flex; gap: 8px; }
.check-row input { flex: 1; min-width: 0; min-height: 44px; padding: 0 12px; border-radius: 11px; border: 1px solid var(--line); background: var(--bg); font-family: var(--mono); font-size: 14px; }
.check-row input:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.check-out { margin: 8px 0 0; min-height: 20px; color: var(--dim); font-size: 14px; }

.panel { padding: 14px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); min-width: 0; }
.panel h2 { margin: 0 0 4px; font-size: 18px; }
.panel-sub { margin: 0 0 10px; color: var(--dim); font-size: 13px; }
.filters { display: flex; gap: 6px; margin: 8px 0 10px; flex-wrap: wrap; }
.filters button { min-height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: transparent; font-size: 13px; font-weight: 700; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--text); color: var(--ink); border-color: var(--text); }

.feed, .wanted, .officers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.row { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 8px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid transparent; }
.row.fresh { animation: rowIn .45s; border-color: var(--line); }
.row img { width: 36px; height: 36px; border-radius: 9px; object-fit: cover; background: var(--bg2); flex: none; }
.row .mid { min-width: 0; flex: 1; }
.row .t1 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .t2 { font-size: 12.5px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .t2 em { font-style: normal; color: var(--text); }
.chip { flex: none; padding: 4px 8px; border-radius: 8px; font: 900 11px/1 var(--mono); letter-spacing: .04em; white-space: nowrap; }
.chip.REAL { background: rgba(61, 255, 160, .14); color: var(--green); }
.chip.STOLEN { background: rgba(255, 61, 87, .18); color: var(--red); }
.chip.NOCA { background: rgba(255, 194, 61, .14); color: var(--amber); }
.chip.DOWN, .chip.NOSITE { background: rgba(139, 147, 171, .15); color: var(--grey); }
.row-btn { all: unset; display: flex; align-items: center; gap: 10px; width: 100%; cursor: pointer; }
.row-btn:focus-visible { outline: 2px solid var(--blue); border-radius: 10px; }
.empty { color: var(--dim); font-size: 14px; padding: 8px; }
.wanted .row { border-color: rgba(255, 61, 87, .25); }
.wanted .n { font: 900 12px var(--mono); color: var(--red); }
.officer-dot { width: 28px; height: 28px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 15px; }
.v-real { color: var(--green); } .v-stolen { color: var(--red); } .v-noca { color: var(--amber); }
.how ol { margin: 6px 0 8px; padding-left: 20px; display: grid; gap: 6px; }
.fine { margin: 0; color: var(--dim); font-size: 13px; }

.toasts { position: fixed; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 50; display: grid; gap: 6px; width: min(92vw, 380px); pointer-events: none; }
.toast { padding: 10px 14px; border-radius: 12px; background: rgba(15, 24, 56, .96); border: 1px solid var(--blue); font-weight: 700; font-size: 14px; animation: toastIn .4s cubic-bezier(.2, 1.4, .4, 1); box-shadow: 0 8px 24px rgba(0, 0, 0, .5); }
.toast.out { transition: opacity .4s, transform .4s; opacity: 0; transform: translateY(10px); }
@keyframes toastIn { from { transform: translateY(20px); opacity: 0; } }

/* calmer stamps: a brand-new coin with no CA yet, and a match that is only in the code or shortened */
.stamp.v-young { color: #ffd27a; border-style: dashed; border-width: 4px; box-shadow: 0 0 0 3px rgba(5, 8, 20, .7), 0 0 18px rgba(255, 210, 122, .35); }
.stamp.v-real-quiet { color: var(--green); border-width: 4px; box-shadow: 0 0 0 3px rgba(5, 8, 20, .7), 0 0 16px rgba(61, 255, 160, .3); }
.stamp.show.v-young, .stamp.show.v-real-quiet { animation: stampSoft .45s cubic-bezier(.2, 1.1, .35, 1) forwards; }
@keyframes stampSoft { 0% { transform: translate(-50%, -50%) rotate(-4deg) scale(1.25); opacity: 0; } 100% { transform: translate(-50%, -50%) rotate(-4deg) scale(1); opacity: 1; } }
.chip.NOCA.young { background: transparent; color: #ffd27a; box-shadow: inset 0 0 0 1px rgba(255, 210, 122, .55); }

/* livestream (?stream=1): the stage, then a panel with the verdict, tally, Most Wanted and the CA bar */
.stream .side, .stream .top-stats .s-extra { display: none; }
.stream .layout { max-width: 640px; }
.stream .stage-col { position: static; }
.sv { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; min-width: 0; }
.sv .announce { margin: 0; }
.sv-now { display: none; }
.sv-kicker { font: 800 13px/1.2 var(--mono); letter-spacing: .1em; color: var(--blue); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sv-coin { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 28px; line-height: 1.15; }
.sv-coin span { font: 700 .6em var(--mono); color: var(--dim); }
.sv-verdict { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 16px; margin-top: 4px; }
.sv-verdict span { font: 900 48px/1.05 var(--sans); letter-spacing: .02em; }
.sv-verdict small { font: 800 16px/1.3 var(--mono); color: var(--dim); }
.sv-verdict.is-pending span { color: var(--dim); }
.sv-verdict.is-stolen span { color: var(--red); text-shadow: 0 0 28px rgba(255, 61, 87, .45); }
.sv-verdict.is-real span, .sv-verdict.is-real-quiet span { color: var(--green); }
.sv-verdict.is-real span { text-shadow: 0 0 28px rgba(61, 255, 160, .35); }
.sv-verdict.is-noca span { color: var(--amber); }
.sv-verdict.is-young span { color: #ffd27a; }
.sv-verdict.is-down span, .sv-verdict.is-nosite span { color: var(--grey); }
.sv-verdict.is-sweep span { color: var(--blue); }
.sv .compare, .sv .reason { margin: 0; }
.sv-tally { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.sv-t { padding: 8px 10px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); min-width: 0; }
.sv-t b { display: block; font: 900 24px/1.1 var(--mono); }
.sv-t span { font: 800 11px/1.2 var(--mono); letter-spacing: .06em; color: var(--dim); text-transform: uppercase; }
.sv-t.t-stolen b { color: var(--red); } .sv-t.t-real b { color: var(--green); } .sv-t.t-noca b { color: var(--amber); }
.sv-queue { margin: -4px 2px 0; font: 700 13px var(--mono); color: var(--dim); }
.sv-queue:empty { display: none; }
.sv-h { font: 900 13px/1.2 var(--mono); letter-spacing: .1em; color: var(--red); margin-bottom: 6px; }
.sv-h span { color: var(--dim); font-weight: 700; letter-spacing: .02em; }
.sv-wanted { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sv-w { display: flex; gap: 10px; align-items: center; min-width: 0; padding: 8px 10px; border-radius: 12px; background: rgba(255, 61, 87, .07); border: 1px solid rgba(255, 61, 87, .3); }
.sv-w img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; background: var(--bg2); flex: none; }
.sv-w-mid { min-width: 0; flex: 1; }
.sv-w-mid > div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sv-w-t1 { font-weight: 900; font-size: 16px; }
.sv-w-t1 .n { font: 900 13px var(--mono); color: var(--red); }
.sv-w-host { font: 700 12px var(--mono); color: var(--dim); }
.sv-w-own { font-size: 12.5px; color: var(--dim); }
.sv-w-own em { font-style: normal; font-weight: 800; color: var(--text); }
.sv-ca .cabar, .sv-ca .previewtag { margin: 0; }

@media (min-width: 900px) {
  .stream .top { padding-left: 20px; padding-right: 20px; }
  .stream .top-stats { display: none; }
  .stream .stream-tag { display: block; margin: 0 0 0 auto; font: 800 clamp(14px, 1.9vh, 20px)/1.2 var(--sans); color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .stream .brand { font-size: 22px; }
  .stream .brand-mark { width: 36px; height: 36px; }
  .stream .layout { max-width: none; padding: 12px 20px; grid-template-columns: minmax(0, 1fr); }
  .stream .stage-col { display: grid; grid-template-columns: clamp(380px, 36vw, 720px) minmax(0, 1fr); gap: 24px; align-items: start; }
  /* header 61 + layout 24 + stage chrome (padding, case card, url bar) ~120 */
  .stream .viewport { height: calc(100svh - 205px); min-height: 360px; }
  .stream .cc-name { font-size: 22px; }
  .stream .stamp { font-size: clamp(40px, 6.4vh, 70px); }
  .stream .stamp small { font-size: 15px; max-width: 380px; }
  .stream .oc-kicker { font-size: 14px; }
  .stream .oc-row b { font-size: 22px; }
  .stream .oc-row img { width: 52px; height: 52px; }
  .stream .oc-facts { font-size: 15px; }
  .stream .sv { margin: 0; height: calc(100svh - 85px); min-height: 560px; gap: clamp(8px, 1.5vh, 18px); }
  .stream .sv-now { display: block; }
  /* on a short frame Most Wanted gives up space first, so the CA bar always stays on screen */
  .stream .sv > * { flex-shrink: 0; }
  .stream .sv-wanted-wrap { flex-shrink: 1; min-height: 0; overflow: hidden; }
  .stream .sv-kicker { font-size: clamp(13px, 1.7vh, 18px); }
  .stream .sv-coin { font-size: clamp(30px, 4.6vh, 50px); }
  .stream .sv-verdict span { font-size: clamp(48px, 9vh, 104px); }
  .stream .sv-verdict small { font-size: clamp(15px, 2vh, 22px); }
  .stream .compare { padding: 12px 14px 10px; }
  .stream .cmp-label { font-size: clamp(11px, 1.4vh, 15px); }
  .stream .cmp-chars { gap: 2px; font-size: clamp(13px, 1.3vw, 30px); }
  .stream .cmp-chars span { height: clamp(26px, 4.2vh, 48px); border-radius: 4px; }
  .stream .cmp-meter { font-size: clamp(13px, 1.8vh, 20px); min-height: 1.3em; }
  .stream .reason { font-size: clamp(17px, 2.5vh, 28px); line-height: 1.3; min-height: 2.6em; }
  .stream .sv-tally { gap: 10px; }
  .stream .sv-t { padding: 10px 14px; }
  .stream .sv-t b { font-size: clamp(28px, 5vh, 56px); }
  .stream .sv-t span { font-size: clamp(11px, 1.5vh, 16px); }
  .stream .sv-queue { font-size: clamp(13px, 1.7vh, 18px); }
  .stream .sv-h { font-size: clamp(13px, 1.7vh, 18px); }
  .stream .sv-wanted { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
  .stream .sv-w { flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px; }
  .stream .sv-w-mid { width: 100%; }
  .stream .sv-w-t1 { font-size: clamp(15px, 2vh, 22px); }
  .stream .sv-w-host, .stream .sv-w-own { font-size: clamp(11px, 1.45vh, 15px); }
  .stream .sv-ca { margin-top: auto; }
  .stream .cabar { padding: 8px 8px 8px 16px; gap: 12px; border: 2px solid var(--blue); }
  .stream .cabar-label { font-size: clamp(16px, 2.2vh, 24px); }
  .stream .cabar-ca { font-size: clamp(14px, 1.25vw, 24px); color: var(--text); }
  .stream .cabar .btn { min-height: 52px; font-size: 18px; padding: 0 20px; }
  .stream .previewtag { font-size: clamp(14px, 1.9vh, 20px); padding: 12px; border: 1px dashed rgba(255, 194, 61, .5); border-radius: 14px; }
}

@media (max-width: 420px) {
  .top { gap: 8px; }
  .top-stats { font-size: 11px; gap: 7px; }
  .top-stats .s-extra { display: none; }
  .brand span { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* site checks: a visitor pasted a website. SITE OF $X (green-cyan), SHOWS N COINS (blue), the wearers card (red) */
.stage .stamp.v-siteof { color: #4dffd2; font-size: clamp(26px, 8vw, 42px); }
.stage .stamp.v-many { color: var(--blue); font-size: clamp(26px, 8vw, 42px); }
.stage .stamp.long { font-size: clamp(20px, 6vw, 32px); }
.stage .stamp.show.v-many { animation: stampSoft .45s cubic-bezier(.2, 1.1, .35, 1) forwards; }
.sv-verdict.is-siteof span { color: #4dffd2; text-shadow: 0 0 28px rgba(77, 255, 210, .35); }
.sv-verdict.is-many span { color: var(--blue); }
.owner-card.friendly { border-color: #4dffd2; }
.owner-card.friendly .oc-kicker { color: #4dffd2; }
.sweep-card.wear { border-color: var(--red); background: radial-gradient(120% 80% at 50% 0%, rgba(255, 61, 87, .32), rgba(7, 11, 26, 0) 60%), #070b1a; }
.sweep-card.wear .sw-kicker { color: var(--red); }
.sweep-card.wear.loud { animation: cardIn .5s cubic-bezier(.2, 1.4, .4, 1), wearPulse .9s ease-in-out .5s 4; }
@keyframes wearPulse { 50% { box-shadow: 0 0 0 4px rgba(255, 61, 87, .45), 0 0 40px rgba(255, 61, 87, .5); } }
.sweep-card.wear.calm { border-color: var(--amber); background: radial-gradient(120% 80% at 50% 0%, rgba(255, 194, 61, .22), rgba(7, 11, 26, 0) 60%), #070b1a; }
.sweep-card.wear.calm .sw-kicker { color: var(--amber); }
.sw-big .a { color: var(--amber); }
.sw-big .b { color: var(--blue); }
.wear-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 6px; align-content: start; overflow: hidden; min-height: 0; }
.wear-list li { display: flex; align-items: center; gap: 6px; min-width: 0; padding: 5px 6px 5px 9px; border-radius: 10px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); animation: rowIn .35s backwards; }
.wear-list li.STOLEN { background: rgba(255, 61, 87, .1); border-color: rgba(255, 61, 87, .4); }
.wear-list .w-mid { min-width: 0; flex: 1; display: grid; line-height: 1.15; }
.wear-list .w-mid b, .wear-list .w-mid small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wear-list .w-mid small { font: 700 10.5px var(--mono); color: var(--dim); }
.wear-list li .chip { padding: 4px 6px; font-size: 10px; }
.wear-list li.more { color: var(--dim); font: 800 12px var(--mono); justify-content: center; }
.wear-own { margin-top: auto; display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 12px; border: 2px solid #4dffd2; background: rgba(77, 255, 210, .07); }
.wear-own img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; flex: none; background: var(--bg2); }
.wear-own > div { min-width: 0; color: var(--dim); font-size: 13px; }
.wear-own b { color: var(--text); font-size: 17px; }
.wear-own .wo-k { font: 800 10.5px var(--mono); letter-spacing: .1em; color: #4dffd2; }
/* an absolute stamp at left: 50% only gets half the stage to lay out in: size it to its content so the sub fits */
.stage .stamp.v-siteof, .stage .stamp.v-many { width: max-content; max-width: calc(100% - 16px); }
.stage .stamp.v-siteof small, .stage .stamp.v-many small { max-width: none; }
.chip.MANY { background: rgba(61, 123, 255, .18); color: #8fb3ff; }
.chip.SITEOF { background: rgba(77, 255, 210, .14); color: #4dffd2; max-width: 45%; overflow: hidden; text-overflow: ellipsis; }
.row .t1 .site-tag { font: 800 10.5px var(--mono); color: var(--blue); letter-spacing: .06em; }
@media (min-width: 900px) {
  .stream .stage .stamp.v-siteof, .stream .stage .stamp.v-many { font-size: clamp(34px, 5.4vh, 60px); }
  .stream .stage .stamp.long { font-size: clamp(26px, 4.2vh, 46px); }
  /* the site-check cards fill the tall stream stage: bigger type */
  .stream .sweep-card.wear, .stream .sweep-card.many { padding: 22px 20px; gap: 14px; }
  .stream .sweep-card.wear .sw-kicker, .stream .sweep-card.many .sw-kicker { font-size: clamp(13px, 1.8vh, 20px); }
  .stream .sweep-card.wear .sw-big, .stream .sweep-card.many .sw-big { font-size: clamp(28px, 4.6vh, 50px); }
  .stream .sweep-card.wear > .sw-sub, .stream .sweep-card.many > .sw-sub { font-size: clamp(15px, 2.1vh, 23px); }
  .stream .sweep-card.many .sw-list li { font-size: clamp(15px, 2vh, 21px); padding: 10px 12px; }
  .stream .wear-list { grid-template-columns: repeat(auto-fill, minmax(clamp(150px, 15vw, 210px), 1fr)); gap: 8px; }
  .stream .wear-list li { padding: 8px 8px 8px 12px; }
  .stream .wear-list .w-mid b { font-size: clamp(15px, 2vh, 21px); }
  .stream .wear-list .w-mid small { font-size: clamp(11px, 1.4vh, 15px); }
  .stream .wear-list li .chip { font-size: clamp(10px, 1.3vh, 14px); }
  .stream .wear-list li.more { font-size: clamp(13px, 1.7vh, 18px); }
  .stream .wear-own { padding: 12px 14px; }
  .stream .wear-own img { width: 56px; height: 56px; }
  .stream .wear-own > div { font-size: clamp(14px, 1.9vh, 20px); }
  .stream .wear-own b { font-size: clamp(18px, 2.6vh, 28px); }
  .stream .wear-own .wo-k { font-size: clamp(11px, 1.5vh, 16px); }
}
