@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-latin.260c81a4759b.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-cyrillic.de93fdc85e3d.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Orbitron";
  src: url("../fonts/Orbitron.a4ff8249fc28.ttf") format("truetype");
  font-display: swap;
}

:root {
  /* MOON identity (cs2-moon.ru): neutral near-black surfaces, indigo accent, Inter */
  --bg: #101010;
  --bg-deep: #0b0b0b;
  --panel: #161616;
  --panel2: #1c1c1c;
  --panel3: #232323;
  --line: #2a2a2a;
  --accent: #6f78ef;
  --accent2: #9aa0ff;
  --text: #ececec;
  --muted: #a3a3a3;
  --clean: #37d67a;
  --suspicious: #f6b949;
  --cheat: #ff7a7a;
  --high: #ff9a6a;
  --info: #b6b6b6;
  --radius: 12px;
  --mono: ui-monospace, "Cascadia Mono", "JetBrains Mono", Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: linear-gradient(180deg, rgba(111, 120, 239, .06), transparent 260px) no-repeat, var(--bg);
  color: var(--text);
  font: 15px/1.55 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
}
a { color: var(--accent2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0 0 12px; line-height: 1.25; }
h1 { font-size: 28px; font-weight: 800; }
h2 { font-size: 18px; }
h3 { font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
p { margin: 0 0 10px; }
code, .mono { font-family: var(--mono); font-size: 12.5px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.nowrap { white-space: nowrap; }
.break { word-break: break-all; }
.right { text-align: right; }
.hidden { display: none !important; }

/* ---- top bar ---- */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 22px;
  padding: 10px 22px;
  background: rgba(16, 16, 16, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 8px; color: var(--text); font-family: "Orbitron", sans-serif; font-size: 18px; font-weight: 700; letter-spacing: .04em; }
.brand:hover { text-decoration: none; }
.brand .moon { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fffbea, #e9e6da 45%, #b9b4a4); box-shadow: 0 0 14px #6f78ef88; }
.brand b { color: var(--accent); font-weight: 400; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { color: var(--muted); padding: 6px 12px; border-radius: 8px; }
.nav a:hover { color: var(--text); background: var(--panel2); text-decoration: none; }
.nav a.active { color: var(--text); background: var(--panel2); }
.who { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.who form { margin: 0; }

main { max-width: 1240px; margin: 0 auto; padding: 26px 22px; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.page-head h1 { margin: 0; }

/* ---- surfaces ---- */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 16px; }
.card > h2:first-child, .card > h3:first-child { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }
.card > :last-child > :last-child { margin-bottom: 0; }
.grid { display: grid; gap: 16px; }
/* min(…, 100%) and minmax(0, …): a column never grows past the screen to fit a wide table */
.grid.two { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.grid > * { min-width: 0; }
.layout-side { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.layout-side > * { min-width: 0; }
@media (max-width: 980px) { .layout-side { grid-template-columns: minmax(0, 1fr); } }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); gap: 12px; margin-bottom: 16px; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
/* Inter, not Orbitron: Orbitron's slashed zero reads as a "forbidden" icon */
.stat .n { font-size: 28px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.1; }
.stat .l { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.stat.live .n { color: var(--accent2); }
.stat.bad .n { color: var(--cheat); }
.stat.warn .n { color: var(--suspicious); }

/* ---- tables ---- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 9px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { background: var(--panel2); color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
tbody tr:nth-child(even) td { background: #181818; }
tbody tr:hover td { background: var(--panel3); }
tbody tr:last-child td { border-bottom: 0; }
tr.clickable { cursor: pointer; }
td.evidence { font-family: var(--mono); font-size: 12px; word-break: break-all; max-width: 520px; }
.empty { padding: 28px; text-align: center; color: var(--muted); }

/* ---- badges ---- */
.badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .03em; border: 1px solid var(--line); background: var(--panel2); white-space: nowrap; }
.v-CLEAN, .sev-ok { color: var(--clean); border-color: #37d67a55; }
.v-SUSPICIOUS, .sev-MEDIUM { color: var(--suspicious); border-color: #f6b94955; }
.v-CHEAT, .sev-CRITICAL { color: var(--cheat); border-color: #ff5a5a66; }
.sev-HIGH { color: var(--high); border-color: #ff8a5a55; }
.sev-LOW { color: var(--accent2); }
.v-INCONCLUSIVE, .sev-INFO { color: var(--info); }
.st-WAITING { color: var(--muted); }
.st-CONNECTED, .st-SCANNING { color: var(--accent2); border-color: #6f78ef88; }
.st-SCANNING::before, .st-CONNECTED::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent2); margin-right: 6px; animation: pulse 1.2s infinite; vertical-align: 1px; }
.st-COMPLETED { color: var(--clean); }
.st-ABANDONED { color: var(--cheat); }
.st-EXPIRED, .st-CANCELLED { color: var(--muted); text-decoration: line-through; }
.d-BANNED { color: var(--cheat); } .d-CLEARED { color: var(--clean); } .d-REVIEW, .d-RECHECK { color: var(--suspicious); }
.t-ok { color: var(--clean); } .t-warn { color: var(--suspicious); } .t-bad { color: var(--cheat); } .t-info { color: var(--info); }
@keyframes pulse { 50% { opacity: .25; } }
.role-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: 0; }

/* ---- forms ---- */
form.inline { display: inline; }
label { display: block; font-weight: 600; margin-bottom: 5px; }
.field { margin-bottom: 14px; }
.field .help { color: var(--muted); font-size: 12px; margin-top: 4px; }
.field .err, .errorlist { color: var(--cheat); font-size: 12.5px; margin: 4px 0 0; padding: 0; list-style: none; }
input[type=text], input[type=password], input[type=number], input[type=url], input[type=search], select, textarea {
  width: 100%; padding: 9px 11px; background: var(--panel2); color: var(--text);
  border: 1px solid var(--line); border-radius: 9px; font: inherit;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--accent); vertical-align: -3px; margin-right: 6px; }
input[type=color] { width: 60px; height: 34px; padding: 2px; background: var(--panel2); border: 1px solid var(--line); border-radius: 8px; }
.checkbox-row label { display: inline; font-weight: 500; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.filters input, .filters select { width: auto; min-width: 140px; }
.filters input[type=search] { min-width: 240px; }

.btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 9px; border: 1px solid var(--line); background: var(--panel2); color: var(--text); font: inherit; font-weight: 600; cursor: pointer; white-space: nowrap; }
.btn:hover { border-color: var(--accent); text-decoration: none; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: #7f87ff; }
.btn.danger { color: var(--cheat); border-color: #ff5a5a66; }
.btn.danger:hover { background: #ff5a5a22; }
.btn.small { padding: 4px 10px; font-size: 12.5px; }
.btn.big { padding: 12px 22px; font-size: 15px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* ---- messages ---- */
.messages { list-style: none; padding: 0; margin: 0 0 16px; }
.messages li { padding: 10px 14px; border-radius: 10px; margin-bottom: 8px; border: 1px solid var(--line); background: var(--panel); }
.messages .success { border-color: #37d67a66; }
.messages .error { border-color: #ff5a5a88; }
.messages .warning { border-color: #f6b94988; }

/* ---- auth pages ---- */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 22px; }
.auth .card { width: 100%; max-width: 420px; padding: 28px; box-shadow: 0 20px 60px #0008; }
.auth .brand { justify-content: center; margin-bottom: 18px; font-size: 22px; }
.auth .btn.primary { width: 100%; justify-content: center; padding: 11px; }

/* ---- check page ---- */
.code-box { text-align: center; padding: 26px 18px; }
.code-box .code { font-family: "Orbitron", var(--mono); font-size: 44px; font-weight: 700; letter-spacing: .12em; color: var(--text); margin: 6px 0 10px; user-select: all; }
.verdict-banner { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; border-left: 5px solid var(--info); }
.verdict-banner.v-CLEAN { border-left-color: var(--clean); }
.verdict-banner.v-SUSPICIOUS { border-left-color: var(--suspicious); }
.verdict-banner.v-CHEAT { border-left-color: var(--cheat); }
.verdict-banner .verdict { font-size: 28px; font-weight: 800; letter-spacing: .02em; }
.verdict-banner .score { font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; margin-left: auto; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.progress { height: 12px; background: var(--panel2); border-radius: 999px; overflow: hidden; border: 1px solid var(--line); }
.progress > div { height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent2)); transition: width .5s ease; }
.flags { list-style: none; margin: 0; padding: 0; }
.flags li { display: flex; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.flags li:last-child { border-bottom: 0; }
.flags .icon { width: 18px; flex: none; text-align: center; font-weight: 800; }
dl.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 0; }
dl.kv dt { color: var(--muted); }
dl.kv dd { margin: 0; word-break: break-word; }
.verif { font-family: "Orbitron", var(--mono); font-size: 18px; letter-spacing: .08em; }
details.finding-detail summary { cursor: pointer; }
.recovery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; font-family: var(--mono); font-size: 16px; }
.recovery div { background: var(--panel2); border: 1px solid var(--line); border-radius: 8px; padding: 8px; text-align: center; }
.qr { background: #fff; border-radius: 10px; padding: 8px; display: inline-block; }
.qr svg { display: block; }
.link-box { display: flex; gap: 8px; }
.link-box input { font-family: var(--mono); font-size: 12.5px; }
.perm-group { margin-bottom: 12px; }
.perm-group ul { list-style: none; margin: 6px 0 0; padding: 0; }
.perm-group li { margin-bottom: 4px; }
.perm-group li label { display: inline; font-weight: 500; }
.pager { display: flex; gap: 8px; justify-content: center; align-items: center; margin-top: 14px; }
footer.foot { text-align: center; color: var(--muted); font-size: 12px; padding: 20px; }
@media (max-width: 720px) {
  /* not sticky on phones: the wrapped bar would cover a third of the screen */
  .topbar { position: static; flex-wrap: wrap; gap: 10px; padding: 10px 14px; }
  .nav { flex-wrap: nowrap; overflow-x: auto; width: 100%; order: 3; scrollbar-width: none; }
  .nav a { flex: none; }
  .who { margin-left: auto; }
  main { padding: 14px; }
  .code-box .code { font-size: 32px; }
  /* list tables become one card per row */
  table.cards-sm thead { display: none; }
  table.cards-sm, table.cards-sm tbody { display: block; }
  table.cards-sm tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
  table.cards-sm tr.hidden { display: none; }
  table.cards-sm td { display: block; padding: 0; border: 0; background: none !important; }
  table.cards-sm td.c-player, table.cards-sm td.c-wide, table.cards-sm td[colspan] { grid-column: 1 / -1; }
  table.cards-sm.tight tr { grid-template-columns: repeat(3, auto) minmax(0, 1fr); justify-content: start; align-items: center; }
  table.cards-sm td.evidence { max-width: none; }
  table.cards-sm td:empty { display: none; }
  table.cards-sm td[data-label]::before { content: attr(data-label); display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }
  table.cards-sm tbody tr:nth-child(even) { background: #181818; }
}

/* ---- outcome / evidence-kind tones (v2) ---- */
.tone-bad { color: var(--cheat); border-color: #ff5a5a66; }
.tone-review { color: var(--suspicious); border-color: #f6b94966; }
.tone-incomplete { color: var(--accent2); border-color: #6f78ef88; }
.tone-muted { color: var(--info); }
.tone-ok { color: var(--clean); border-color: #37d67a55; }
.tone-none { color: #b4c3d6; border-color: #b4c3d655; }
.verdict-banner.tone-bad { border-left-color: var(--cheat); }
.verdict-banner.tone-review { border-left-color: var(--suspicious); }
.verdict-banner.tone-incomplete { border-left-color: var(--accent2); }
.verdict-banner.tone-ok { border-left-color: var(--clean); }
.verdict-banner .verdict { font-size: 26px; }
h3.plain { text-transform: none; letter-spacing: 0; color: var(--text); font-size: 15px; margin: 0; }
tr:target td { background: #3a3f5c !important; }


/* ---- accessibility ---- */
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--accent2); outline-offset: 2px; border-radius: 6px; }
a:focus-visible, button:focus-visible, .btn:focus-visible { outline: 2px solid var(--accent2); outline-offset: 2px; }
tr.clickable:focus-within td { background: var(--panel3); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---- demo / test data is never mistaken for real findings ---- */
.badge.test { background: repeating-linear-gradient(135deg, #3a2f10, #3a2f10 6px, #2a2410 6px, #2a2410 12px); color: var(--suspicious); border-color: #f6b94988; }
.test-banner { border: 1px dashed #f6b94999; background: #221d0f; color: var(--suspicious); border-radius: var(--radius); padding: 10px 14px; margin-bottom: 14px; }

/* ---- timeline ---- */
.timeline { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 12px 14px; }
.timeline li::before { content: ""; position: absolute; left: -21px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--panel3); border: 2px solid var(--accent); }
.timeline time { color: var(--muted); font-size: 12px; display: block; }

/* ---- player pages ---- */
.public { max-width: 760px; margin: 0 auto; padding: 28px 18px; }
.public .brand { justify-content: center; margin-bottom: 18px; font-size: 22px; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; padding: 4px 0 14px 44px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--panel3); border: 1px solid var(--line); font-weight: 700; color: var(--accent2); }
.status-line { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.card.inner { background: var(--panel2); margin-top: 10px; }
.notice { padding: 10px 14px; border-radius: 10px; border: 1px solid #37d67a66; background: var(--panel); margin: 0 0 14px; }
.evidence-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; }
.evidence-list li { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; overflow-wrap: anywhere; }

/* ---- small screens ---- */
@media (max-width: 720px) {
  th, td { padding: 8px; }
  td.evidence { max-width: 220px; }
  .verdict-banner .score { margin-left: 0; }
  .filters input, .filters select { min-width: 0; width: 100%; }
}

/* ---- admin redesign: one action per screen, plain words ("Moon Panel — упрощённый интерфейс") ---- */
.lead { color: var(--muted); font-size: 16px; margin: 6px 0 0; max-width: 760px; }
.back { display: inline-block; margin-bottom: 10px; font-size: 15px; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.stack > * { margin-bottom: 0; }
.stack-lg { display: flex; flex-direction: column; gap: 18px; }
.stack-lg > .card, .stack-lg > details.card { margin-bottom: 0; }
.center { justify-content: center; }
.btn.big { min-height: 48px; padding: 0 22px; font-size: 16px; }
.btn { min-height: 40px; }
.btn.small { min-height: 32px; }
.nav .count { display: inline-block; margin-left: 4px; min-width: 20px; padding: 0 6px; border-radius: 999px; background: var(--suspicious); color: #1a1406; font-size: 12px; font-weight: 800; text-align: center; }
.lang-switch { margin: 0; }
.auth-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.auth .auth-head .brand { margin-bottom: 0; }

/* work queues on the check list */
.queue { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 18px; overflow: hidden; }
.queue-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; }
.queue-head h2 { margin: 0; }
.queue-head .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); flex: none; }
.queue-decide { border-color: #4a3d20; }
.queue-decide .dot { background: var(--suspicious); }
.queue-running .dot { background: var(--accent2); }
.queue-row { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.queue-main { flex: 1 1 220px; min-width: 0; }
.queue-main .player { font-size: 16px; font-weight: 700; color: var(--text); }
.queue-progress { flex: 2 1 260px; display: flex; flex-direction: column; gap: 6px; }
.code-inline { font-family: "Orbitron", var(--mono); font-size: 20px; letter-spacing: .1em; flex: 1 1 160px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 26px 0 12px; }
.section-head h2 { margin: 0; }
.section-head .filters { margin: 0; }
.more-filters { position: relative; }
.more-filters > summary { list-style: none; }
.more-filters > summary::-webkit-details-marker { display: none; }
.more-filters[open] > .filters { position: absolute; right: 0; top: calc(100% + 6px); z-index: 5; width: min(340px, 92vw); flex-direction: column; align-items: stretch; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px; box-shadow: 0 16px 40px #0009; }
.more-filters[open] > .filters select { width: 100%; }
.empty-state { text-align: center; padding: 40px 20px; }

/* new check */
.step-title { display: flex; align-items: center; gap: 10px; }
.step-title h2 { margin: 0; }
.num { flex: none; width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--panel3); border: 1px solid var(--line); font-weight: 700; color: var(--accent2); font-size: 14px; }
details.extra { border-top: 1px solid var(--line); padding-top: 12px; }
details.extra > summary, details.other > summary, details.advanced > summary, details.collector > summary, details.card > summary { cursor: pointer; color: var(--muted); font-weight: 600; }
details.extra[open] > summary { margin-bottom: 12px; }
.message-box { background: var(--panel2); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; white-space: pre-line; font-size: 15px; line-height: 1.6; }

/* result of a check */
.verdict-card { color: var(--text); }
.verdict-card .verdict-label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.verdict-card .verdict { font-size: 30px; font-weight: 800; margin: 4px 0 8px; }
.verdict-card p { margin: 0; font-size: 16px; color: #d6d6d6; max-width: 720px; }
.verdict-card.tone-review { border-color: #5a4722; background: #1a1710; }
.verdict-card.tone-review .verdict-label, .verdict-card.tone-review .verdict { color: var(--suspicious); }
.verdict-card.tone-bad { border-color: #5a2a2a; background: #1d1212; }
.verdict-card.tone-bad .verdict-label, .verdict-card.tone-bad .verdict { color: var(--cheat); }
.verdict-card.tone-ok { border-color: #1f4a30; background: #101a14; }
.verdict-card.tone-ok .verdict-label, .verdict-card.tone-ok .verdict { color: var(--clean); }
.verdict-card.tone-none { border-color: #2f3a48; background: #141920; }
.verdict-card.tone-none .verdict-label, .verdict-card.tone-none .verdict { color: #c9d6e6; }
.verdict-card.tone-incomplete { border-color: #33376a; background: #14152a; }
.verdict-card.tone-incomplete .verdict-label, .verdict-card.tone-incomplete .verdict { color: var(--accent2); }
.verdict-card.tone-muted .verdict-label { color: var(--muted); }
.verify-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.verify-row > span:nth-child(2) { flex: 1 1 260px; }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel2); }
.alert-icon { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.alert-bad { background: #221111; border-color: #5a2a2a; }
.alert-bad .alert-icon { background: var(--cheat); color: #1a0a0a; }
.alert-warn { background: #1d1a10; border-color: #5a4722; }
.alert-warn .alert-icon { background: var(--suspicious); color: #1a1406; }
.alert-ok .alert-icon { background: var(--clean); color: #06140b; }
.alert-info .alert-icon { background: #8fa3bb; color: #0b1016; }
/* "About this report": five questions, each with its own level; the collector question is never green */
.assurance { display: grid; gap: 10px; margin: 0; }
.assurance-row { border: 1px solid var(--line); border-left-width: 4px; border-radius: 10px; padding: 10px 14px; background: var(--panel2); }
.assurance-row dt { font-weight: 600; display: flex; gap: 8px; align-items: center; }
.assurance-row dd { margin: 6px 0 0 30px; }
.assurance-row ul { margin: 0; padding-left: 18px; }
.assurance-row li { margin: 2px 0; color: var(--text2, #d6d6d6); }
.assurance-mark { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 13px; background: #2a2f3a; color: #cfd8e3; flex: none; }
.assurance-row.lvl-ok { border-left-color: var(--clean); }
.assurance-row.lvl-ok .assurance-mark { background: var(--clean); color: #06140b; }
.assurance-row.lvl-warn { border-left-color: var(--suspicious); }
.assurance-row.lvl-warn .assurance-mark { background: var(--suspicious); color: #1a1405; }
.assurance-row.lvl-bad { border-left-color: var(--cheat); }
.assurance-row.lvl-bad .assurance-mark { background: var(--cheat); color: #1d0a0a; }
.assurance-row.lvl-info { border-left-color: #8fa3bb; }
.assurance-row.lvl-info .assurance-mark { background: #2a2f3a; color: #cfd8e3; }
.assurance-row.lvl-none { border-left-color: #8fa3bb; }
.assurance-row.lvl-none .assurance-mark { background: #8fa3bb; color: #0b1016; }
@media (max-width: 640px) { .assurance-row dd { margin-left: 0; } }
.finding { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.finding:first-of-type { border-top: 0; }
.finding-body { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.finding-title { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 16px; }
.tag { flex: none; align-self: flex-start; font-family: var(--mono); font-size: 12.5px; color: var(--muted); background: var(--panel2); border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; }
.path { font-family: var(--mono); font-size: 13px; color: #c4c4c4; overflow-wrap: anywhere; }
.why { font-size: 14px; color: var(--muted); }
details.other { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; }
details.other ul { margin: 12px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
details.advanced[open] > summary { margin-bottom: 16px; }
details.advanced h3 { margin-top: 0; }
.decision-card .btn.decide { justify-content: flex-start; min-height: 52px; font-size: 16px; }
.decide-clean { color: var(--clean); border-color: #1f4a30; }
.decide-clean:hover { background: #37d67a14; }
.decide-ban { color: #fff; background: #b93c3c; border-color: #b93c3c; }
.decide-ban:hover { background: #c94848; }
.decide-recheck { color: var(--accent2); border-color: #33376a; }
.decide-recheck:hover { background: #6f78ef14; }
details.menu { position: relative; }
details.menu > summary { list-style: none; }
details.menu > summary::-webkit-details-marker { display: none; }
details.menu .menu-body { position: absolute; right: 0; top: calc(100% + 6px); z-index: 5; min-width: 230px; display: flex; flex-direction: column; gap: 8px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 10px; box-shadow: 0 16px 40px #0009; }
details.menu .menu-body form, details.menu .menu-body .btn { width: 100%; margin: 0; }
.decide-bar { display: none; }
.statement { margin: 0; padding: 12px 14px; border-left: 3px solid var(--line); background: var(--panel2); border-radius: 0 10px 10px 0; }

/* how it checks */
details.collector { margin-bottom: 0; }
details.collector > summary { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: var(--text); }
.collector-name { font-size: 16px; font-weight: 700; }
.collector-summary { flex-basis: 100%; font-weight: 400; font-size: 14px; }
details.collector[open] > summary { margin-bottom: 12px; }

@media (max-width: 720px) {
  h1 { font-size: 24px; }
  .queue-row .btn, .queue-row .actions { width: 100%; }
  .queue-row .actions .btn { flex: 1; }
  .decide-bar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; position: sticky; bottom: 0; z-index: 4; margin: 16px -14px -14px; padding: 12px 14px 14px; background: #121212; border-top: 1px solid var(--line); }
  .decide-bar .btn { min-height: 48px; justify-content: center; font-weight: 700; padding-left: 6px; padding-right: 6px; font-size: 14px; white-space: normal; text-align: center; line-height: 1.15; overflow-wrap: anywhere; }
  .verdict-card .verdict { font-size: 24px; }
  .section-head .filters { width: 100%; }
  .section-head .filters input[type=search] { flex: 1 1 100%; }
  details.menu .menu-body { left: 0; right: auto; }
  .more-filters[open] > .filters { left: 0; right: auto; }
}

/* ---- statistics, player history, parts strip ---- */
.segmented { display: inline-flex; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 3px; gap: 2px; }
.segmented a { padding: 7px 12px; border-radius: 8px; color: var(--muted); font-weight: 600; }
.segmented a.active { background: var(--panel3); color: var(--text); text-decoration: none; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 12px; margin-bottom: 18px; }
.kpi { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.kpi-n { font-size: 28px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.1; }
.kpi-l { color: var(--muted); font-size: 13px; margin-top: 4px; }
.kpi-bad .kpi-n { color: var(--cheat); }
.kpi-ok .kpi-n { color: var(--clean); }
.kpi-warn .kpi-n { color: var(--suspicious); }
.chart-wrap { overflow-x: auto; }
.chart { width: 100%; min-width: 600px; height: auto; display: block; }
.chart .axis { stroke: var(--line); stroke-width: 1; }
.chart .tick { fill: var(--muted); font-size: 11px; }
.bar-bad { fill: var(--cheat); background: var(--cheat); }
.bar-review { fill: var(--suspicious); background: var(--suspicious); }
.bar-incomplete { fill: var(--accent); background: var(--accent); }
.bar-muted { fill: #6b6b6b; background: #6b6b6b; }
.bar-ok { fill: var(--clean); background: var(--clean); }
.bar-none { fill: #8fa3bb; background: #8fa3bb; }
.bar-decision-BANNED { background: var(--cheat); }
.bar-decision-CLEARED { background: var(--clean); }
.bar-decision-RECHECK, .bar-decision-REVIEW { background: var(--suspicious); }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.legend .swatch { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: 0; }
.hbar { margin-bottom: 12px; }
.hbar-label { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 5px; font-size: 14px; }
.hbar-track { height: 8px; border-radius: 999px; background: var(--panel3); overflow: hidden; }
.hbar-fill { height: 100%; width: 0; border-radius: 999px; }
.rank { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.parts { margin-top: 16px; border-top: 1px solid #ffffff14; padding-top: 12px; }
.parts-head { font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.parts ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.part { font-size: 12.5px; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); background: #00000033; }
.part-ok { color: var(--clean); border-color: #1f4a30; }
.part-bad { color: var(--cheat); border-color: #5a2a2a; }

.toast { position: fixed; right: 18px; bottom: 18px; z-index: 50; max-width: min(420px, calc(100vw - 36px)); padding: 14px 18px; border-radius: 12px; background: var(--panel2); border: 1px solid #5a4722; color: var(--text); box-shadow: 0 18px 40px #000c; font-weight: 600; }
.toast + .toast { bottom: 84px; }
.toast:hover { text-decoration: none; border-color: var(--suspicious); }
