/* SMP Darts – SMP Solutions színvilág (brand #21409a, accent #66e236, ink #06080e, Manrope) */
:root {
  --brand: #21409a; --brand-2: #3e67d8; --brand-light: #88a6fa; --brand-soft: rgba(33,64,154,.1);
  --accent: #66e236; --accent-ink: #1f5e0a;
  --ink: #06080e; --ink-1: #0a0d16; --ink-2: #0e1220; --ink-text: #eff2fb; --ink-text-2: #c6cee6; --ink-text-3: #96a3c6;
  --text: #0e1012; --muted: rgba(14,16,18,.6); --line: rgba(14,16,18,.09);
  --bg: #eff2fb; --card: #fff; --radius: 4px; --shadow: 0 1px 2px rgba(6,8,14,.06), 0 6px 24px rgba(33,64,154,.07);
  --red: #d93a3a; --amber: #e6a417;
  --ease: cubic-bezier(.22,.61,.36,1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; color: var(--text); background: var(--bg); line-height: 1.5; font-size: 16px; }
body.has-nav { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: .2em 0 .5em; }
h1 { font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 800; }
h2 { font-size: 1.35rem; font-weight: 800; }
h3 { font-size: 1.08rem; font-weight: 700; }
code { background: var(--brand-soft); padding: 1px 5px; border-radius: 3px; font-size: .9em; }
.shell { max-width: 72rem; margin: 0 auto; padding: 0 16px; }
.main { padding-top: 18px; padding-bottom: 24px; min-height: 60vh; }
.muted { color: var(--muted); } .small { font-size: .86rem; } .center { text-align: center; } .grow { flex: 1; min-width: 0; }
.nowrap { white-space: nowrap; } .mt { margin-top: 12px; } .inline { display: inline; }
.ic { width: 1.2em; height: 1.2em; vertical-align: -.22em; flex: none; }
.accent { color: var(--accent); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 700; color: var(--brand); margin: 0 0 4px; }

/* fejléc */
.top { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(139,164,232,.14);
  background-image: radial-gradient(120% 140% at 85% -40%, rgba(62,103,216,.45), transparent 60%); }
.top-in { display: flex; align-items: center; gap: 18px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 36px; height: 36px; filter: drop-shadow(0 0 10px rgba(102,226,54,.25)); }
.brand-words { display: flex; flex-direction: column; line-height: 1; }
.brand-text { font-weight: 800; font-size: .72rem; letter-spacing: .28em; color: var(--ink-text-3); }
.brand-logo { height: 14px; }
.brand-app { font-weight: 800; font-size: 1.32rem; letter-spacing: -.02em; }
.brand-app .dot { color: var(--accent); }
.top-nav { display: none; gap: 4px; margin-left: 12px; }
.top-nav a { color: var(--ink-text-2); padding: 8px 12px; border-radius: var(--radius); font-weight: 600; font-size: .95rem; }
.top-nav a:hover, .top-nav a.on { color: #fff; background: rgba(255,255,255,.08); text-decoration: none; }
.top-nav a.on { box-shadow: inset 0 -2px 0 var(--accent); }
.top-me { margin-left: auto; display: flex; align-items: center; gap: 8px; color: #fff; }
.top-me:hover { text-decoration: none; }
.xp-chip { background: rgba(102,226,54,.14); color: var(--accent); border: 1px solid rgba(102,226,54,.35); border-radius: 99px; padding: 2px 9px; font-size: .78rem; font-weight: 700; }
@media (min-width: 820px) { .top-nav { display: flex; } }

/* alsó navigáció (mobil) */
.bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; background: rgba(6,8,14,.97); backdrop-filter: blur(8px);
  display: grid; grid-template-columns: repeat(5, 1fr); padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid rgba(139,164,232,.18); }
.bottom-nav a { color: var(--ink-text-3); display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 0 8px; font-size: .68rem; font-weight: 700; }
.bottom-nav a .ic { width: 23px; height: 23px; }
.bottom-nav a.on { color: var(--accent); }
.bottom-nav a:hover { text-decoration: none; color: #fff; }
@media (min-width: 820px) { .bottom-nav { display: none; } body.has-nav { padding-bottom: 0; } }

.foot { color: var(--ink-text-3); font-size: .78rem; padding: 18px 16px 26px; text-align: center; }

/* kártyák */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; margin: 0 0 14px; border: 1px solid var(--line); }
.card > h2:first-child, .card > h3:first-child { margin-top: 0; }
.narrow { max-width: 30rem; margin-left: auto; margin-right: auto; }
.sec { margin-top: 26px; display: flex; justify-content: space-between; align-items: baseline; }
.list { display: grid; gap: 8px; }
.row-card { display: flex; align-items: center; gap: 12px; color: inherit; margin: 0; padding: 12px 14px; }
.row-card:hover { text-decoration: none; border-color: var(--brand-light); }
.row-icon { width: 40px; height: 40px; border-radius: var(--radius); display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-weight: 800; flex: none; }
.row-icon.won { background: rgba(102,226,54,.18); color: var(--accent-ink); } .row-icon.lost { background: rgba(217,58,58,.1); color: var(--red); }
.row-flex { display: flex; gap: 14px; align-items: center; margin-bottom: 10px; }
.score-chip { font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.warn-card { border-left: 4px solid var(--amber); }
.crumbs { margin: 0 0 10px; font-size: .9rem; }

/* gombok, űrlapok */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--brand); color: #fff; border: 1px solid var(--brand);
  border-radius: var(--radius); padding: 11px 18px; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; transition: background .2s var(--ease), transform .1s; min-height: 44px; }
.btn:hover { background: var(--brand-2); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-block { width: 100%; }
.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn-accent:hover { background: #7cf04d; }
.btn-ghost { background: transparent; color: var(--brand); border-color: rgba(33,64,154,.35); }
.btn-ghost:hover { background: var(--brand-soft); }
.btn-danger { background: var(--red); border-color: var(--red); }
.btn-sm { padding: 6px 12px; min-height: 34px; font-size: .88rem; }
.btn-xs { padding: 3px 8px; min-height: 30px; font-size: .85rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.linkbtn { background: none; border: 0; color: var(--brand); cursor: pointer; font: inherit; padding: 6px 0; text-decoration: underline; }
.form { display: grid; gap: 12px; }
.form label { display: grid; gap: 5px; font-weight: 600; font-size: .92rem; }
.form label.check, label.check { display: flex; gap: 8px; align-items: flex-start; font-weight: 500; }
input, select, textarea { font: inherit; padding: 11px 12px; border: 1px solid rgba(14,16,18,.18); border-radius: var(--radius); background: #fff; color: var(--text); width: 100%; min-height: 44px; }
input[type=checkbox], input[type=radio] { width: auto; min-height: 0; margin-top: 4px; accent-color: var(--brand); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand-light); outline-offset: 1px; border-color: var(--brand); }
.inline-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.inline-form input, .inline-form select { width: auto; flex: 1; min-width: 160px; }
.grid2 { display: grid; gap: 12px; }
@media (min-width: 700px) { .grid2 { grid-template-columns: 1fr 1fr; } }
details > summary { cursor: pointer; color: var(--brand); font-weight: 600; padding: 6px 0; }

/* PIN */
.pin-input { font-size: 1.8rem; letter-spacing: .5em; text-align: center; font-weight: 800; }
.pinpad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pk { font: inherit; font-size: 1.4rem; font-weight: 700; padding: 14px 0; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg); cursor: pointer; color: var(--text); }
.pk:active { background: var(--brand); color: #fff; }
@media (hover: hover) and (pointer: fine) { .pinpad { display: none; } }

/* flash, pill */
.flash { padding: 11px 14px; border-radius: var(--radius); margin: 0 0 12px; font-weight: 600; border: 1px solid; }
.flash-ok { background: rgba(102,226,54,.13); border-color: rgba(102,226,54,.5); color: #24560f; }
.flash-err { background: rgba(217,58,58,.08); border-color: rgba(217,58,58,.35); color: #8f1f1f; }
.flash-warn { background: rgba(230,164,23,.12); border-color: rgba(230,164,23,.45); color: #6e4c04; }
.flash-info { background: var(--brand-soft); border-color: rgba(33,64,154,.25); color: var(--brand); }
.pill { display: inline-block; padding: 2px 9px; border-radius: 99px; font-size: .74rem; font-weight: 700; white-space: nowrap; border: 1px solid transparent; }
.pill-green { background: rgba(102,226,54,.18); color: #2b6b12; border-color: rgba(102,226,54,.4); }
.pill-blue { background: var(--brand-soft); color: var(--brand); }
.pill-amber { background: rgba(230,164,23,.15); color: #7a5304; }
.pill-red { background: rgba(217,58,58,.12); color: #a12626; }
.pill-muted { background: rgba(14,16,18,.06); color: var(--muted); }
.pill-live { background: var(--ink); color: var(--accent); }
.pill-live::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 6px; animation: pulse 1.6s infinite; vertical-align: 1px; }
@keyframes pulse { 50% { opacity: .25; } }

/* avatar */
.av { --h: 220; width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; font-weight: 800; color: #fff; flex: none; object-fit: cover;
  background: linear-gradient(135deg, hsl(var(--h) 65% 38%), hsl(calc(var(--h) + 25) 70% 55%)); font-size: .95rem; border: 2px solid rgba(255,255,255,.85); }
.av-xs { width: 26px; height: 26px; font-size: .62rem; border-width: 1px; vertical-align: middle; }
.av-sm { width: 34px; height: 34px; font-size: .78rem; }
.av-lg { width: 72px; height: 72px; font-size: 1.5rem; }
.av-empty { background: #d7dcec; }

/* hero */
.hero { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 26px 22px; margin-bottom: 16px; display: flex; align-items: center; gap: 16px; overflow: hidden;
  background-image: radial-gradient(90% 120% at 100% 0%, rgba(62,103,216,.55), transparent 60%), radial-gradient(60% 80% at 0% 100%, rgba(102,226,54,.12), transparent 60%); }
.hero h1 { color: #fff; }
.hero .lead { color: var(--ink-text-2); max-width: 30rem; }
.hero .eyebrow { color: var(--brand-light); }
.hero-board { width: 140px; height: 140px; flex: none; animation: spin-in .9s var(--ease) both; }
.hero-board.sm { width: 84px; height: 84px; margin: 0 auto 6px; display: block; }
.hero-board.miss { width: 90px; height: 90px; margin: 0 auto; display: block; opacity: .85; transform: rotate(18deg); }
@keyframes spin-in { from { transform: rotate(-120deg) scale(.6); opacity: 0; } }
@media (max-width: 560px) { .hero { flex-direction: column-reverse; text-align: center; } .hero .lead { margin: 0 auto; } }

/* kezdőlap */
.me-card { display: flex; gap: 16px; align-items: center; background: var(--ink); color: #fff; padding: 18px; border-radius: var(--radius);
  background-image: radial-gradient(100% 140% at 100% 0%, rgba(62,103,216,.5), transparent 60%); }
.me-card h1 { color: #fff; margin: 0 0 6px; }
.me-card .eyebrow { color: var(--accent); }
.me-card .muted { color: var(--ink-text-3); }
.me-info { flex: 1; min-width: 0; }
.xpbar { height: 8px; background: rgba(255,255,255,.12); border-radius: 99px; overflow: hidden; }
.xpbar span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand-2), var(--accent)); border-radius: 99px; transition: width 1s var(--ease); }
.next-card { display: flex; align-items: stretch; gap: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 10px; color: inherit; overflow: hidden; border: 1px solid var(--line); }
.next-card:hover { text-decoration: none; border-color: var(--brand-light); }
.next-card.called { border: 2px solid var(--accent); }
.next-board { width: 76px; background: var(--brand); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none; }
.next-card.called .next-board { background: var(--ink); color: var(--accent); }
.next-board b { font-size: 2rem; line-height: 1; }
.next-board small { font-size: .66rem; text-transform: uppercase; letter-spacing: .1em; }
.next-body { padding: 10px 14px; flex: 1; }
.next-vs { font-size: 1.15rem; }
.chev { align-self: center; padding: 0 14px; font-size: 1.6rem; color: var(--ink-text-3); }
.tour-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.tour-name { font-weight: 800; font-size: 1.08rem; color: var(--text); }
.tour-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }

/* jelvények */
.badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; margin-bottom: 14px; }
.badge { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 8px; text-align: center; box-shadow: var(--shadow); }
.badge-hex { width: 56px; height: 62px; margin: 0 auto 8px; display: grid; place-items: center; color: #fff; position: relative;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--accent); }
.badge-hex::before { content: ""; position: absolute; inset: 3px; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: linear-gradient(150deg, var(--brand-2), var(--brand) 55%, var(--ink-2)); }
.badge-hex .ic { width: 26px; height: 26px; position: relative; z-index: 1; }
.badge-name { font-weight: 800; font-size: .84rem; line-height: 1.2; }
.badge-sub { font-size: .7rem; color: var(--muted); margin-top: 3px; line-height: 1.25; }
.badge.locked { opacity: .55; } .badge.locked .badge-hex { background: #c6cee6; } .badge.locked .badge-hex::before { background: #96a3c6; }
.xp-list { margin: 0; padding-left: 18px; } .xp-list li { margin: 3px 0; }

/* torna */
.t-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.t-head-side { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.seg { display: flex; gap: 6px; overflow-x: auto; margin: 6px 0 14px; position: sticky; top: 60px; background: var(--bg); padding: 8px 0; z-index: 10; }
.seg a { padding: 7px 14px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: .88rem; white-space: nowrap; color: var(--text); }
.seg a:hover { text-decoration: none; border-color: var(--brand); }
.big-ok { font-size: 1.1rem; font-weight: 700; color: #2b6b12; margin: 0; }
.code-input { text-transform: uppercase; letter-spacing: .3em; font-weight: 800; text-align: center; max-width: 180px; }
.champ { display: flex; gap: 14px; align-items: center; background: var(--ink); color: #fff; padding: 16px 20px; border-radius: var(--radius); margin-bottom: 14px; border-left: 5px solid var(--accent); }
.champ .ic { width: 40px; height: 40px; color: var(--accent); }
.champ small { display: block; color: var(--ink-text-3); text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; }
.champ b { font-size: 1.4rem; }
.champ.xl b { font-size: 3.4rem; } .champ.xl .ic { width: 80px; height: 80px; }

.table-wrap { overflow-x: auto; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); margin-bottom: 14px; }
.tbl { width: 100%; border-collapse: collapse; font-size: .93rem; }
.tbl th, .tbl td { padding: 9px 10px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl th { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: #f7f8fc; }
.tbl tr.mine td { background: rgba(102,226,54,.1); font-weight: 700; }
.tbl tr.dim td { opacity: .5; }
.tbl tr.grp th { background: var(--ink); color: #fff; }
.tbl .who { color: var(--text); font-weight: 600; }

.bracket { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 14px; margin-bottom: 8px; scroll-snap-type: x proximity; }
.br-col { min-width: 210px; display: flex; flex-direction: column; scroll-snap-align: start; }
.br-h { font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); margin-bottom: 8px; }
.br-list { display: flex; flex-direction: column; justify-content: space-around; flex: 1; gap: 10px; }
.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; margin-bottom: 12px; }
.round-h { font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); margin: 12px 0 6px; }
.bm { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); overflow: hidden; box-shadow: 0 1px 2px rgba(6,8,14,.04); }
.bm:hover { text-decoration: none; border-color: var(--brand); }
.bm.ghost { visibility: hidden; height: 60px; }
.bm-id { display: block; font-size: .66rem; color: var(--muted); padding: 3px 8px 0; font-weight: 700; }
.bm-p { display: flex; justify-content: space-between; gap: 8px; padding: 4px 8px; font-size: .9rem; }
.bm-p span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bm-p b { font-variant-numeric: tabular-nums; min-width: 1em; text-align: right; }
.bm-p.win { font-weight: 800; } .bm-p.win b { color: var(--accent-ink); }
.bm.st-ready { border-left: 3px solid var(--accent); }
.bm.st-reported { border-left: 3px solid var(--amber); }
.bm.st-disputed { border-left: 3px solid var(--red); }
.bm.mine { box-shadow: 0 0 0 2px var(--brand-light); }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px; }
.person { display: flex; gap: 10px; align-items: center; background: #fff; padding: 7px 10px; border-radius: var(--radius); border: 1px solid var(--line); color: var(--text); }
.person:hover { text-decoration: none; border-color: var(--brand-light); }
.person.mine { border-color: var(--accent); }

/* meccs */
.versus { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin-top: 12px; }
.vs-p { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.vs-p b { font-size: 1.05rem; }
.vs-p.win .av { box-shadow: 0 0 0 3px var(--accent); }
.vs-mid { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.vs-score { font-size: 2.6rem; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1; }
.vs-score span { color: var(--muted); margin: 0 4px; }
.vs-score.vs { color: var(--brand-light); font-size: 1.6rem; }
.board-chip { background: var(--ink); color: var(--accent); padding: 4px 10px; border-radius: 99px; font-weight: 800; font-size: .85rem; }
.score-row { display: flex; align-items: flex-end; justify-content: center; gap: 12px; }
.score-row label { text-align: center; }
.score-row label span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 130px; }
.score-sel { font-size: 1.8rem; font-weight: 800; text-align: center; width: 92px; padding: 6px; }
.colon { font-size: 2rem; font-weight: 800; padding-bottom: 6px; }
.photo-pick { position: relative; display: block; border: 2px dashed rgba(33,64,154,.35); border-radius: var(--radius); padding: 14px; text-align: center; cursor: pointer; background: var(--brand-soft); color: var(--brand); font-weight: 700; }
.photo-pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.photo-pick small { font-weight: 600; color: var(--accent-ink); }
.preview { max-width: 100%; max-height: 240px; margin-top: 10px; border-radius: var(--radius); display: block; margin-left: auto; margin-right: auto; }
.match-photo { width: 100%; border-radius: var(--radius); }

/* ranglista */
.podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; align-items: end; margin: 10px 0 16px; }
.pod { display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--text); text-align: center; }
.pod:hover { text-decoration: none; }
.pod b { font-size: .92rem; } .pod span { font-size: .8rem; color: var(--muted); }
.pod-block { width: 100%; background: var(--ink); color: var(--accent); font-weight: 800; font-size: 1.6rem; display: grid; place-items: center; border-radius: var(--radius) var(--radius) 0 0; margin-top: 4px; }
.pod-1 .pod-block { height: 92px; background: linear-gradient(180deg, var(--brand-2), var(--ink)); }
.pod-2 .pod-block { height: 66px; } .pod-3 .pod-block { height: 48px; }

/* admin */
.steps { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; list-style: none; counter-reset: s; margin: 0 0 12px; }
.steps li { counter-increment: s; padding: 5px 10px 5px 8px; border-radius: 99px; background: var(--bg); font-size: .82rem; font-weight: 600; color: var(--muted); }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #d7dcec; color: #fff; font-size: .7rem; margin-right: 6px; }
.steps li.on { background: var(--brand); color: #fff; } .steps li.on::before { background: var(--accent); color: var(--ink); }
.code-card { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; justify-content: space-between; }
.code-card > div:first-child { flex: 1; min-width: 220px; }
.code-big { font-size: 2.6rem; font-weight: 800; letter-spacing: .25em; background: var(--ink); color: var(--accent); padding: 6px 18px; border-radius: var(--radius); font-variant-numeric: tabular-nums; }
.code-big.xl { font-size: 7rem; }
.fmt-list { display: grid; gap: 8px; }
.fmt { display: flex !important; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; cursor: pointer; font-weight: 500 !important; }
.fmt.rec { border-color: var(--accent); background: rgba(102,226,54,.06); }
.fmt:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-soft); }
.fmt-body { display: grid; gap: 4px; }
.fmt-stats { display: flex; flex-wrap: wrap; gap: 6px; }
.fmt-stats span { background: var(--bg); padding: 1px 8px; border-radius: 99px; font-size: .8rem; font-weight: 700; }
.dev-row { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.dev-row:last-child { border-bottom: 0; }

/* kivetítő */
body.screen-mode { background: var(--ink); color: #fff; }
body.screen-mode .main { max-width: none; }
body.screen-mode .muted { color: var(--ink-text-3); }
body.screen-mode h3 { color: var(--brand-light); text-transform: uppercase; letter-spacing: .1em; font-size: .9rem; }
.scr-head { display: flex; justify-content: space-between; align-items: center; }
.scr-head h1 { font-size: 3rem; color: #fff; }
.scr-clock { font-size: 3rem; font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; }
.scr-checkin { display: flex; gap: 30px; align-items: center; justify-content: space-between; background: var(--ink-2); padding: 30px; border-radius: var(--radius); border: 1px solid rgba(139,164,232,.2); }
.scr-checkin h2 { font-size: 2.4rem; color: #fff; }
.scr-checkin p { font-size: 1.3rem; color: var(--ink-text-2); }
.scr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; margin-bottom: 26px; }
.scr-board { background: var(--ink-2); border: 1px solid rgba(139,164,232,.2); border-left: 6px solid var(--accent); border-radius: var(--radius); padding: 18px 20px; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: center; }
.scr-bno { grid-row: span 2; font-size: 4rem; font-weight: 800; color: var(--accent); line-height: 1; }
.scr-players { font-size: 1.6rem; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; }
.scr-players span { color: var(--ink-text-3); font-size: 1rem; }
.scr-row { padding: 9px 0; border-bottom: 1px solid rgba(139,164,232,.15); font-size: 1.25rem; }
.fmt-body > .pill { justify-self: start; }
