html { -webkit-text-size-adjust: 100%; } body { margin: 0; } [hidden] { display: none !important; }
/* Layout: hero = pitch on the left, match-creation receipt on the right; below it a tabbed lobby of one-map matches.
   Violet = brand accent, amber = terrorists, blue = counter-terrorists. Money is always set in mono, like a receipt. */
:root {
  --bg: #EEEDF4;
  --surf: #F8F7FC;
  --ink: #15131F;
  --muted: #5F5C75;
  --line: #D2D0E0;
  --acc: #5E34C9;
  --acc-fill: #8B4FF0;
  --on-acc: #FFFFFF;
  --t: #94570A;
  --t-fill: #E8A33D;
  --on-t: #1A1209;
  --ct: #28589A;
  --ok: #2B7A4B;
  --bad: #B3362B;
  --display: "Tektur", "Arial Narrow", Impact, sans-serif;
  --body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E0D15; --surf: #17161F; --ink: #EEEDF5; --muted: #9A98AD; --line: #2B2A3A;
    --acc: #C3A3FF; --acc-fill: #8B4FF0; --on-acc: #FFFFFF;
    --t: #E8A33D; --ct: #7DAEEE; --ok: #5CC08A; --bad: #F0786C; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0E0D15; --surf: #17161F; --ink: #EEEDF5; --muted: #9A98AD; --line: #2B2A3A;
  --acc: #C3A3FF; --acc-fill: #8B4FF0; --on-acc: #FFFFFF;
  --t: #E8A33D; --ct: #7DAEEE; --ok: #5CC08A; --bad: #F0786C; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
body { background: var(--bg); color: var(--ink); font: 15px/1.55 var(--body); padding-block: 0 56px; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); }
h1, h2, h3, p, dl, dd, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, select { font: inherit; color: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.label { font: 500 11.5px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.money { font-family: var(--mono); font-variant-numeric: tabular-nums; }

.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--bg); border-bottom: 1px solid var(--line); }
.top .wrap { max-width: none; margin: 0; display: flex; align-items: center; gap: 16px; padding-block: 8px; }
.brand { font: 800 16px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.brand b { color: var(--acc); font-weight: 800; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 26px; width: auto; display: block; }
nav { display: flex; gap: 2px; margin-left: 8px; overflow-x: auto; min-width: 0; scrollbar-width: none; }
nav::-webkit-scrollbar { display: none; }
nav button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 12px; cursor: pointer; color: var(--muted); font-weight: 500; white-space: nowrap; }
nav button:hover { color: var(--ink); }
nav button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--acc-fill); }
nav button .n { font: 500 11px/1 var(--mono); margin-left: 6px; color: var(--acc); }
:focus-visible { outline: 2px solid var(--ct); outline-offset: 2px; }

.pname { font: 700 20px/1.2 var(--display); text-transform: uppercase; overflow-wrap: anywhere; }
.online { flex: none; display: flex; align-items: center; padding: 10px 12px; border-bottom: 2px solid transparent; font: 500 15px/1.55 var(--body); color: var(--muted); white-space: nowrap; }
.online .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); margin-right: 8px; }
.online .v { font: 500 11px/1 var(--mono); margin-left: 6px; color: var(--acc); font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .online { padding-inline: 6px; } .online .t { display: none; } .online .v { margin-left: 0; font-size: 12px; } }
.top-bal { margin-left: auto; flex: none; display: flex; align-items: baseline; gap: 8px; min-height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 6px; background: transparent; cursor: pointer; align-items: center; }
.top-bal:hover { border-color: var(--ink); }
.top-bal .v { font: 600 15px/1 var(--mono); font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .top-bal .label { display: none; } }
.menu-btn { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 6px; background: transparent; cursor: pointer; }
.menu-btn:hover { border-color: var(--ink); }
.menu-btn svg { width: 20px; height: 20px; }
.backdrop { position: fixed; inset: 0; z-index: 29; background: rgba(6, 10, 14, .55); opacity: 0; pointer-events: none; }
.backdrop.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; bottom: 0; left: 0; z-index: 30; width: min(300px, 86vw); background: var(--surf); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; padding: calc(12px + env(safe-area-inset-top, 0px)) 12px calc(16px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); transform: translateX(-100%); visibility: hidden; overflow-y: auto; }
.drawer.open { transform: none; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.drawer-me { padding: 4px 4px 14px; display: grid; gap: 2px; }
.drawer-me .v { font: 600 18px/1.2 var(--mono); font-variant-numeric: tabular-nums; }
.drawer .item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; width: 100%; min-height: 48px; padding: 0 12px; border: 0; border-left: 3px solid transparent; border-radius: 0 6px 6px 0; background: transparent; cursor: pointer; text-align: left; font-weight: 500; font-size: 16px; }
.drawer .item:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.drawer .item[aria-current="page"] { border-left-color: var(--acc-fill); background: color-mix(in srgb, var(--acc-fill) 16%, transparent); }
.drawer .item small { font: 500 12px/1 var(--mono); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 9ch; }
.prof { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-bottom: 20px; }
.prof div { padding: 14px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.prof .v { font: 600 24px/1 var(--mono); font-variant-numeric: tabular-nums; }
.prof .v.gain { color: var(--ok); }
.form-narrow { display: grid; gap: 22px; max-width: 460px; }
.seg.four { grid-template-columns: repeat(4, 1fr); }
.seg.three { max-width: 360px; }
section[data-panel] { scroll-margin-top: 64px; }
h3.sub { margin: 30px 0 10px; font: 700 15px/1.3 var(--display); text-transform: uppercase; }
.recent { border-top: 1px solid var(--line); max-width: 640px; }
.recent .r { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.recent .r .mode { font-size: 12px; }
.recent .r .d { font: 600 14px/1 var(--mono); font-variant-numeric: tabular-nums; text-align: right; }
.recent .r .d.gain { color: var(--ok); }
.recent .r .d.loss { color: var(--bad); }
.recent .r small { display: block; color: var(--muted); font-size: 12.5px; }
.recent .none { padding: 16px 0; color: var(--muted); }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; padding-block: 36px 32px; align-items: start; }
.eyebrow { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 14px; }
h1 { font: 800 clamp(2.4rem, 9vw, 4.6rem)/.95 var(--display); text-transform: uppercase; letter-spacing: -.01em; text-wrap: balance; }
h1 span { color: var(--acc); }
.lede { max-width: 50ch; margin-top: 16px; color: var(--muted); font-size: 16px; }
.steps { margin-top: 22px; border-top: 1px solid var(--line); counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.2rem minmax(0, 1fr); padding: 10px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s); font: 600 13px/1.7 var(--mono); color: var(--acc); }
.me { margin-top: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, auto)); gap: 14px 28px; align-items: end; justify-content: start; }
.me .v { font: 600 22px/1.2 var(--mono); font-variant-numeric: tabular-nums; }
.me .field { min-width: 0; }

.card { background: var(--surf); border: 1px solid var(--line); border-radius: 8px; padding: 20px; display: grid; gap: 16px; min-width: 0; }
.card h2 { font: 700 18px/1.2 var(--display); text-transform: uppercase; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.seg button { min-height: 44px; border: 0; background: transparent; cursor: pointer; font: 600 15px/1 var(--mono); border-right: 1px solid var(--line); }
.seg button:last-child { border-right: 0; }
.seg button[aria-pressed="true"] { background: var(--acc-fill); color: var(--on-acc); }
.field { display: grid; gap: 5px; min-width: 0; }
.field label { font-size: 13px; font-weight: 500; }
.field small { color: var(--muted); font-size: 12.5px; }
input[type="text"], input[type="url"], input[type="number"], select { width: 100%; min-height: 42px; padding: 0 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 6px; color: var(--ink); }
select { appearance: auto; }
input:disabled, select:disabled { opacity: .5; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { min-height: 34px; padding: 0 12px; border: 1px solid var(--line); border-radius: 6px; background: transparent; cursor: pointer; font: 500 13px/1 var(--mono); }
.chips button[aria-pressed="true"] { border-color: var(--acc-fill); background: color-mix(in srgb, var(--acc-fill) 22%, transparent); }
.receipt { display: grid; border-top: 1px dashed var(--line); font-family: var(--mono); font-size: 14px; }
.receipt div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.receipt dt { color: var(--muted); }
.receipt dd { font-variant-numeric: tabular-nums; text-align: right; }
.receipt .fee dd { color: var(--bad); }
.receipt .win { border-bottom: 0; padding-top: 10px; font-weight: 600; font-size: 16px; }
.receipt .win dd { color: var(--acc); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 6px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-weight: 600; }
.btn:hover:not(:disabled) { border-color: var(--ink); }
.btn.primary { background: var(--acc-fill); border-color: var(--acc-fill); color: var(--on-acc); }
.btn.primary:hover:not(:disabled) { filter: brightness(1.1); border-color: var(--acc-fill); }
.btn.a { border-color: var(--t-fill); }
.btn.b { border-color: var(--ct); color: var(--ct); }
.btn.danger { color: var(--bad); }
.btn.small { min-height: 34px; padding: 0 12px; font-size: 13px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

.notice { border-left: 3px solid var(--ct); background: var(--surf); padding: 10px 14px; border-radius: 0 6px 6px 0; font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.notice strong { color: var(--ink); }

/* lobby */
section[data-panel] { padding-block: 8px 24px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 16px; }
h2.t { font: 700 clamp(1.5rem, 4.5vw, 2rem)/1.1 var(--display); text-transform: uppercase; }
.note { color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.filters button { min-height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 6px; background: transparent; cursor: pointer; font: 500 13px/1 var(--mono); }
.filters button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.matches { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 14px; }
.match { background: var(--surf); border: 1px solid var(--line); border-radius: 8px; display: flex; flex-direction: column; min-width: 0; }
.art { position: relative; height: 92px; border-radius: 8px 8px 0 0; overflow: hidden; border-bottom: 1px solid var(--line); }
.art svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.mhead { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.mode { font: 700 14px/1 var(--mono); padding: 5px 7px; border: 1px solid var(--ink); border-radius: 3px; }
.mhead .map { font-weight: 600; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill { font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 5px 7px; border-radius: 3px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.pill.live { color: var(--ok); border-color: var(--ok); }
.pill.dispute { color: var(--bad); border-color: var(--bad); }
.pill.done { color: var(--acc); border-color: var(--acc-fill); }
.sides { display: grid; grid-template-columns: 1fr 1fr; flex: 1 1 auto; }
.side { padding: 10px 14px 12px; border-top: 3px solid var(--t-fill); display: grid; gap: 5px; align-content: start; min-width: 0; }
.side + .side { border-left: 1px solid var(--line); border-top-color: var(--ct); }
.side .label { margin-bottom: 2px; }
.slot { display: flex; align-items: center; gap: 6px; min-height: 28px; font-size: 14px; min-width: 0; }
.slot span.n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slot.free { color: var(--muted); border: 1px dashed var(--line); border-radius: 4px; padding: 0 8px; font-size: 13px; }
.slot .k { font: 600 10px/1 var(--mono); padding: 3px 4px; border-radius: 2px; background: var(--line); color: var(--ink); flex: none; }
.slot .you { font: 500 11px/1 var(--mono); color: var(--ct); flex: none; }
.slot.win span.n { font-weight: 700; }
.mmoney { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 14px; padding: 10px 14px; border-top: 1px solid var(--line); font: 13px/1.4 var(--mono); color: var(--muted); }
.mmoney b { color: var(--ink); font-weight: 600; }
.mmoney .prize b { color: var(--acc); }
.actions { padding: 12px 14px; border-top: 1px solid var(--line); display: grid; gap: 10px; min-height: 59px; align-content: center; }
.actions .row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.actions .row > * { min-width: 0; }
.lobbybox { display: grid; gap: 6px; }
.lobbybox .row { display: flex; gap: 8px; }
.lobbybox input { flex: 1; min-width: 0; }
.say { font-size: 13.5px; color: var(--muted); }
.say.bad { color: var(--bad); }
.result { padding: 12px 14px; border-top: 1px solid var(--line); font-size: 14px; display: grid; gap: 4px; }
.result strong { font-weight: 600; }
.empty { border: 1px dashed var(--line); border-radius: 8px; padding: 28px 20px; display: grid; gap: 12px; justify-items: start; color: var(--muted); grid-column: 1 / -1; }
.empty strong { color: var(--ink); font-size: 16px; }

/* rules */
.rules { border-top: 1px solid var(--line); }
.rule { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 8px 28px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.rule h3 { font: 700 15px/1.3 var(--display); text-transform: uppercase; }
.rule p { max-width: 64ch; }
.rule p + p { margin-top: 6px; }
.maps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.maps li { border: 1px solid var(--line); border-radius: 4px; padding: 6px 10px; font: 500 13px/1 var(--mono); background: var(--surf); }
footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 22px; margin-top: 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

.toast { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; justify-content: center; padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); pointer-events: none; }
.toast div { background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 6px; font-size: 14px; max-width: 520px; pointer-events: auto; }
.toast div.bad { background: var(--bad); color: #fff; }

@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .rule { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .me { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .me .field { grid-column: 1 / -1; }
  .brand img { height: 22px; }
}
@media (prefers-reduced-motion: no-preference) {
  .btn, .seg button, .chips button { transition: background-color .15s, border-color .15s, filter .15s; }
}

/* ---- вход, Steam, кошелёк ---- */
body[data-auth="out"] .authed { display: none !important; }
body[data-auth="in"] .guest { display: none !important; }
.gate { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; padding-block: 48px; align-items: start; }
@media (max-width: 860px) { .gate { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 28px; } }
.gate .card form { display: grid; gap: 14px; }
.dev { border: 1px dashed var(--acc-fill); border-radius: 6px; padding: 10px 12px; font-size: 13.5px; word-break: break-all; }
.steam-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; border-left: 3px solid var(--acc-fill); background: var(--surf); padding: 12px 14px; border-radius: 0 6px 6px 0; margin: 16px 0 0; }
.steam-banner strong { font-weight: 600; }
a.btn { text-decoration: none; color: inherit; }
a.btn.primary { color: var(--on-acc); }
.avatar { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; background: var(--line); flex: none; }
.steam-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.wallet { border: 1px solid var(--line); border-radius: 8px; background: var(--surf); padding: 16px; display: grid; gap: 12px; max-width: 460px; }
.actions .row .btn { flex: 1 1 0; }
.actions .row.single .btn { flex: 0 1 auto; }
.lobbyline { font: 13px/1.4 var(--mono); overflow-wrap: anywhere; }
.admin-row { border-top: 1px dashed var(--line); padding-top: 10px; display: grid; gap: 6px; }
.recent .r .d.zero { color: var(--muted); }
.actions .btn.small { padding: 0 8px; white-space: nowrap; }

/* ---- плашки «−₴25» и «+₴100» возле баланса ---- */
.top-bal { position: relative; }
.top-bal .v { display: inline-block; }
.delta-stack { position: absolute; right: 0; top: 100%; z-index: 6; display: flex; flex-direction: column; align-items: flex-end; pointer-events: none; }
.delta { --c: var(--bad); margin-top: 8px; overflow: hidden; max-height: 40px; padding: 5px 9px; border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); border-radius: 5px; font: 700 15px/1 var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--c); background: color-mix(in srgb, var(--c) 14%, var(--bg)); animation: fw-delta 2.4s cubic-bezier(.2, .7, .2, 1) forwards; }
.delta.gain { --c: var(--ok); }
@keyframes fw-delta {
  0% { opacity: 0; transform: translateY(-14px) scale(.6); max-height: 0; margin-top: 0; padding-block: 0; border-width: 0; }
  12% { opacity: 1; transform: translateY(0) scale(1.22); max-height: 40px; margin-top: 8px; padding-block: 5px; border-width: 1px; }
  22% { transform: translateY(0) scale(1); }
  78% { opacity: 1; max-height: 40px; margin-top: 8px; padding-block: 5px; border-width: 1px; }
  100% { opacity: 0; max-height: 0; margin-top: 0; padding-block: 0; border-width: 0; }
}
.top-bal.loss .v { animation: fw-shake .9s ease; }
.top-bal.gain .v { animation: fw-pop .9s ease; }
@keyframes fw-shake {
  0% { color: var(--bad); transform: translateX(0); }
  15% { transform: translateX(-3px); }
  30% { transform: translateX(3px); }
  45% { transform: translateX(-2px); }
  60% { transform: translateX(1px); }
  75% { color: var(--bad); }
  100% { color: inherit; transform: none; }
}
@keyframes fw-pop {
  0% { color: var(--ok); transform: scale(1); }
  25% { color: var(--ok); transform: scale(1.18); }
  60% { color: var(--ok); transform: scale(1); }
  100% { color: inherit; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .delta { animation: fw-fade 2.4s forwards; }
  .top-bal.loss .v, .top-bal.gain .v { animation: none; }
  @keyframes fw-fade { 0% { opacity: 0; } 10% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; } }
}

#loginCode { font: 600 22px/1 var(--mono); letter-spacing: .3em; text-align: center; min-height: 52px; }
.row-links { display: flex; flex-wrap: wrap; gap: 8px; }
.dev b { white-space: nowrap; word-break: normal; font: 700 17px/1 var(--mono); letter-spacing: .12em; }

.slot a.n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: inherit; text-decoration: none; border-bottom: 1px dotted var(--muted); }
.slot a.n:hover { color: var(--acc); border-bottom-color: var(--acc); }
.pl-stats { max-width: 760px; margin-top: 20px; }

.namebox { display: grid; justify-items: start; gap: 4px; }
.badge-admin { display: inline-block; margin-left: 10px; padding: 4px 7px; border: 1px solid var(--t-fill); border-radius: 3px; color: var(--t); font: 600 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; vertical-align: middle; }

.match.busy { opacity: .78; }
.say b.cd, .say .cd { font-family: var(--mono); }
.admin-row .row .btn { flex: 1 1 auto; white-space: nowrap; }

.req { padding: 0 14px 12px; font: 500 12px/1.3 var(--mono); color: var(--muted); }
.req b { color: var(--ink); }
.faceit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.prof [hidden], .field[hidden] { display: none !important; }

.drawer .item-last { margin-top: auto; min-height: 56px; font-size: 14px; line-height: 1.25; text-align: left; }

.tg-link { display: inline-flex; align-items: center; gap: 8px; color: var(--acc); font-weight: 600; text-decoration: none; }
.tg-link:hover { color: var(--ink); }
.tg-link:focus-visible { outline: 2px solid var(--acc-fill); outline-offset: 3px; border-radius: 4px; }

.attn { margin: 0 14px 10px; padding: 8px 10px; border: 1px solid var(--bad); border-radius: 8px; background: color-mix(in srgb, var(--bad) 8%, transparent); color: var(--bad); font-size: 13px; display: grid; gap: 4px; }
.prof + .attn, #playerBox > .attn { margin: 12px 0; }
nav button .n.alert { color: var(--bad); font-weight: 700; }
.evidence { padding: 10px 14px 12px; border-top: 1px dashed var(--line); display: grid; gap: 6px; font-size: 13.5px; }
.evidence .ev { overflow-wrap: anywhere; }
.evidence a { color: var(--acc); }
.evidence summary { cursor: pointer; color: var(--acc); font-weight: 600; }
.ev-form { display: grid; gap: 6px; margin: 8px 0; }

.liveinfo { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 10px 14px; border-top: 1px solid var(--line); background: color-mix(in srgb, var(--acc) 6%, transparent); font-size: 14px; }
.liveinfo > span { display: grid; gap: 2px; }
.liveinfo b { font: 600 17px/1.2 var(--mono); }
.score-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; }
.score-form .sc { display: grid; gap: 2px; width: 74px; }
.score-form input { min-height: 36px; padding: 0 8px; background: var(--bg); border: 1px solid var(--line); border-radius: 6px; color: var(--ink); width: 100%; }

.arrive-list { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.arrive-list .label { width: 100%; }

.logout-row { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line, rgba(255,255,255,.1)); }
