/* KLUBBOSS — udseende. Fodboldbane om aftenen i Beyond Vision-grøn. Følger enhedens lyse/mørke tilstand.
   Display: Archivo (bred, fed). Brødtekst: Instrument Sans. Tal: JetBrains Mono. Samme familie som MOGUL. */
@import url(fonts.css);
:root {
  --bg: #08110b; --bg2: #0c1810; --panel: #102016; --panel2: #15291c; --panel3: #1b3423; --line: #1f3a27; --line2: #2a4c33;
  --ink: #eef3ea; --muted: #9db4a3; --dim: #6a7f6f;
  --acc: #8cc63f; --acc2: #b4e06a; --acc-ink: #0b1704; --acc-soft: rgba(140, 198, 63, .14);
  --pitch: #1c4a2a; --pitch2: #215532; --chalk: rgba(255, 255, 255, .55);
  --gold: #e8c35a; --up: #57d897; --down: #ff7d69; --warn: #f2b84b; --info: #85c7ff;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --display: "Archivo", "Arial Black", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --r: 10px; --side: 240px; --top: 56px; --tab: 64px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f2f5ee; --bg2: #e8eee2; --panel: #ffffff; --panel2: #f5f8f1; --panel3: #ebf1e4; --line: #dbe4d2; --line2: #c6d3ba;
    --ink: #132015; --muted: #4c6150; --dim: #7c8e7f;
    --acc: #4e8a12; --acc2: #3b6c0a; --acc-ink: #ffffff; --acc-soft: rgba(78, 138, 18, .1);
    --pitch: #3b8a4a; --pitch2: #429553; --chalk: rgba(255, 255, 255, .75);
    --gold: #b8891c; --up: #13945a; --down: #d2412b; --warn: #b77800; --info: #1f6fb8;
    --shadow: 0 10px 30px rgba(20, 40, 20, .12);
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #f2f5ee; --bg2: #e8eee2; --panel: #ffffff; --panel2: #f5f8f1; --panel3: #ebf1e4; --line: #dbe4d2; --line2: #c6d3ba;
  --ink: #132015; --muted: #4c6150; --dim: #7c8e7f;
  --acc: #4e8a12; --acc2: #3b6c0a; --acc-ink: #ffffff; --acc-soft: rgba(78, 138, 18, .1);
  --pitch: #3b8a4a; --pitch2: #429553; --chalk: rgba(255, 255, 255, .75);
  --gold: #b8891c; --up: #13945a; --down: #d2412b; --warn: #b77800; --info: #1f6fb8;
  --shadow: 0 10px 30px rgba(20, 40, 20, .12);
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--acc2); text-decoration: none; } a:hover { text-decoration: underline; }
:root:not([data-theme="dark"]) a { color: var(--acc); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) a { color: var(--acc2); } }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: clamp(24px, 4vw, 34px); font-weight: 900; font-stretch: 112%; }
h2 { font-size: 20px; font-weight: 800; }
h3 { font-size: 16px; font-weight: 700; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
img { max-width: 100%; }
.num, .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.up { color: var(--up); } .down { color: var(--down); } .muted { color: var(--muted); } .dim { color: var(--dim); } .warn { color: var(--warn); } .acc { color: var(--acc); } .gold { color: var(--gold); }
.small { font-size: 13px; } .tiny { font-size: 12px; } .big { font-size: 18px; }
.row { display: flex; align-items: center; gap: 10px; } .row.wrap { flex-wrap: wrap; } .row.between { justify-content: space-between; } .row.top { align-items: flex-start; } .row.end { justify-content: flex-end; }
.stack { display: grid; gap: 14px; align-content: start; } .stack.tight { gap: 8px; } .stack.loose { gap: 22px; }
.grow { flex: 1; min-width: 0; } .right { text-align: right; } .center { text-align: center; } .nowrap { white-space: nowrap; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Skal ---------- */
.shell { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); min-height: 100vh; }
.side { background: var(--bg2); border-right: 1px solid var(--line); position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; overflow-y: auto; scrollbar-width: thin; }
.brand { padding: 18px 18px 10px; display: flex; align-items: center; gap: 10px; color: var(--ink) !important; }
.brand:hover { text-decoration: none; }
.brand img { width: 44px; height: 44px; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .35)); }
.wordmark { font-family: var(--display); font-stretch: 112%; font-weight: 900; font-size: 22px; line-height: .95; letter-spacing: -.01em; white-space: nowrap; }
.wordmark span { color: var(--acc); }
.brand small { display: block; color: var(--dim); font: 500 10px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; margin-top: 4px; }
.nav { padding: 6px 10px 12px; display: grid; gap: 1px; }
.nav h6 { margin: 14px 12px 4px; font: 600 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.nav a { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 8px; color: var(--muted) !important; font-weight: 500; }
.nav a:hover { background: var(--panel); color: var(--ink) !important; text-decoration: none; }
.nav a.on { background: var(--panel2); color: var(--ink) !important; box-shadow: inset 3px 0 0 var(--acc); }
.nav .ic { width: 20px; display: grid; place-items: center; }
.nav .badge { margin-left: auto; }
.side-foot { margin-top: auto; padding: 14px 16px 18px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.bv { display: flex; align-items: center; gap: 10px; color: var(--dim) !important; font-size: 12px; }
.bv img { width: 30px; height: 30px; }

.main { min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 30; height: var(--top); display: flex; align-items: center; gap: 14px; padding: 0 22px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar .mobile-brand { display: none; }
.chip-stat { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); font-size: 13px; white-space: nowrap; }
.chip-stat b { font-family: var(--mono); font-weight: 700; }
.ticker { background: var(--pitch); color: #fff; overflow: hidden; white-space: nowrap; font: 500 12.5px var(--mono); height: 30px; border-bottom: 1px solid var(--line2); }
.ticker .track { display: inline-flex; gap: 34px; padding: 6px 0; animation: run 80s linear infinite; }
.ticker .track > span { display: inline-flex; gap: 8px; align-items: center; }
.ticker b { color: #fff; } .ticker .live { color: #ffe27a; }
@keyframes run { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker .track { animation: none; } }
.content { padding: 24px 22px 60px; width: 100%; max-width: 1280px; margin: 0 auto; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.page-head .sub { color: var(--muted); margin-top: 4px; }
.page-head.banner { min-height: 190px; padding: 26px 24px; border-radius: 14px; background-size: cover; background-position: center right; color: #fff; border: 1px solid var(--line2); align-items: flex-end; }
.page-head.banner .sub { color: rgba(255, 255, 255, .78); }
.page-head.banner .eyebrow { color: #b8e57a; }
@media (max-width: 700px) { .page-head.banner { min-height: 150px; padding: 18px 16px; } }
.eyebrow { font: 600 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--acc); }

/* Mobil */
.tabbar { display: none; }
@media (max-width: 899px) {
  .shell { grid-template-columns: 1fr; }
  .side { display: none; }
  .topbar { padding: 0 12px; gap: 8px; }
  .topbar .mobile-brand { display: flex; align-items: center; gap: 8px; font: 900 18px/1 var(--display); font-stretch: 125%; color: var(--ink); }
  .topbar .mobile-brand img { width: 30px; height: 30px; }
  .topbar .hide-m { display: none !important; }
  .content { padding: 16px 12px calc(var(--tab) + 40px); }
  .tabbar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; height: calc(var(--tab) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: var(--bg2); border-top: 1px solid var(--line); }
  .tabbar a, .tabbar button { display: grid; place-items: center; align-content: center; gap: 3px; font-size: 11px; color: var(--muted) !important; background: none; border: 0; padding: 0; }
  .tabbar a.on { color: var(--acc) !important; }
  .tabbar a:hover { text-decoration: none; }
}
@media (max-width: 899px) { .stat .v { font-size: 17px; } .chip-stat { padding: 5px 9px; } }
@media (max-width: 440px) { .topbar .mobile-brand { font-size: 0; gap: 0; } .topbar .mobile-brand img { width: 34px; height: 34px; } }
@media (max-width: 899px) and (orientation: landscape) { :root { --tab: 50px; } .tabbar a span, .tabbar button span { display: none; } }

/* ---------- Komponenter ---------- */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; min-width: 0; }
.card.flat { background: var(--panel2); }
.card.tight { padding: 12px 14px; }
.card.hero { background: linear-gradient(135deg, #22603a, #0b1a10 75%); border-color: var(--line2); color: #fff; position: relative; overflow: hidden; }
.card.hero .muted { color: rgba(255, 255, 255, .72); }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.card-h h2, .card-h h3 { display: flex; align-items: center; gap: 8px; }
.grid { display: grid; gap: 14px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-auto { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.g-main { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
@media (max-width: 1100px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g-main { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .g2, .g3 { grid-template-columns: 1fr; } .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat { background: var(--panel2); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; min-width: 0; }
.stat .l { font: 600 11px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.stat .v { font: 700 20px/1.3 var(--mono); margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stat .s { font-size: 12px; color: var(--muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 15px; border-radius: 8px; border: 1px solid var(--line2); background: var(--panel2); color: var(--ink) !important; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background .12s, border-color .12s, transform .06s; text-decoration: none !important; }
.btn:hover { background: var(--panel3); border-color: var(--dim); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--acc); border-color: var(--acc); color: var(--acc-ink) !important; }
.btn.primary:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--muted) !important; }
.btn.ghost:hover { background: var(--panel2); color: var(--ink) !important; }
.btn.danger { color: var(--down) !important; border-color: color-mix(in srgb, var(--down) 40%, var(--line)); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: #1b1406 !important; }
.btn.sm { padding: 5px 10px; font-size: 13px; border-radius: 7px; }
.btn.lg { padding: 13px 22px; font-size: 16px; }
.btn.block { width: 100%; }
.btn[disabled], .btn.busy { opacity: .55; pointer-events: none; }
.iconbtn { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel); color: var(--muted); cursor: pointer; }
.iconbtn:hover { color: var(--ink); background: var(--panel2); }

.badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font: 700 11px/1.6 var(--mono); background: var(--panel3); color: var(--muted); border: 1px solid var(--line); white-space: nowrap; }
.badge.acc { background: var(--acc-soft); color: var(--acc); border-color: color-mix(in srgb, var(--acc) 35%, transparent); }
.badge.red { background: color-mix(in srgb, var(--down) 15%, transparent); color: var(--down); border-color: color-mix(in srgb, var(--down) 35%, transparent); }
.badge.gold { background: color-mix(in srgb, var(--gold) 18%, transparent); color: var(--gold); border-color: color-mix(in srgb, var(--gold) 40%, transparent); }
.badge.live { background: #d92d2d; color: #fff; border-color: #d92d2d; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .6; } }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: var(--dim); }
.dot.on { background: var(--up); }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 16px; overflow-x: auto; scrollbar-width: none; }
.tabs a, .tabs button { padding: 10px 14px; color: var(--muted) !important; font-weight: 600; border: 0; background: none; border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; white-space: nowrap; }
.tabs a.on, .tabs button.on { color: var(--ink) !important; border-bottom-color: var(--acc); }
.tabs a:hover { text-decoration: none; color: var(--ink) !important; }
.seg { display: inline-flex; background: var(--panel2); border: 1px solid var(--line); border-radius: 9px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.seg button { border: 0; background: none; padding: 6px 12px; border-radius: 7px; color: var(--muted); font-weight: 600; cursor: pointer; font-size: 13px; }
.seg button.on { background: var(--acc); color: var(--acc-ink); }

/* Tabeller */
.tbl-wrap { overflow-x: auto; margin: 0 -4px; padding: 0 4px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font: 600 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--dim); padding: 8px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 8px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tr.click { cursor: pointer; } .tbl tr.click:hover td { background: var(--panel2); }
.tbl tr.me td { background: var(--acc-soft); }
.tbl td.n, .tbl th.n { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl .zone-up td:first-child { box-shadow: inset 3px 0 0 var(--up); }
.tbl .zone-down td:first-child { box-shadow: inset 3px 0 0 var(--down); }
.tbl .zone-cl td:first-child { box-shadow: inset 3px 0 0 var(--info); }

/* Formularer */
label.f { display: grid; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 600; }
.input, input:not([type]), input[type=text], input[type=email], input[type=password], input[type=number], input[type=search], select, textarea {
  width: 100%; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line2); background: var(--bg2); color: var(--ink); font-size: 15px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--acc); outline-offset: 0; border-color: transparent; }
input[type=range] { width: 100%; accent-color: var(--acc); }
input[type=checkbox] { accent-color: var(--acc); width: 18px; height: 18px; }
input[type=color] { width: 44px; height: 36px; border: 1px solid var(--line2); border-radius: 8px; background: none; padding: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.err { color: var(--down); font-size: 13px; }

/* Spillere */
.ovr { display: inline-grid; place-items: center; min-width: 34px; height: 26px; padding: 0 6px; border-radius: 6px; font: 700 13px/1 var(--mono); color: #0b1704; }
.ovr.t1 { background: #f0d36b; } .ovr.t2 { background: #9ee06a; } .ovr.t3 { background: #6fcf8f; } .ovr.t4 { background: #8fb7c9; } .ovr.t5 { background: #b4b9b5; }
.pos { display: inline-block; min-width: 38px; text-align: center; padding: 2px 5px; border-radius: 5px; font: 700 11px/1.5 var(--mono); color: #fff; }
.pos.mm { background: #c98b1f; } .pos.fs { background: #2f6fbe; } .pos.mb { background: #2b9a5a; } .pos.an { background: #c2413a; }
.flag { display: inline-block; font: 700 10px/1.6 var(--mono); padding: 0 4px; border-radius: 3px; background: var(--panel3); color: var(--muted); border: 1px solid var(--line); }
.bar { height: 6px; background: var(--panel3); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--acc); border-radius: 99px; }
.bar.warn i { background: var(--warn); } .bar.down i { background: var(--down); }
.attr { display: grid; grid-template-columns: 90px 1fr 30px; gap: 8px; align-items: center; font-size: 13px; }

/* Klubskjold og navne */
.club { display: inline-flex; align-items: center; gap: 8px; min-width: 0; color: inherit !important; }
.club:hover { text-decoration: none; }
.club:hover .cn { text-decoration: underline; }
.club .cn { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crest { flex: none; display: block; }

/* Kampe */
.match-row { display: grid; grid-template-columns: 54px minmax(0, 1fr) 64px minmax(0, 1fr); gap: 8px; align-items: center; padding: 8px 4px; border-bottom: 1px solid var(--line); }
.match-row:last-child { border-bottom: 0; }
.match-row .h { justify-content: flex-end; text-align: right; }
.match-row .score { text-align: center; font: 700 15px/1 var(--mono); padding: 6px 0; border-radius: 6px; background: var(--panel2); color: var(--ink) !important; }
.match-row .score.live { background: #d92d2d; color: #fff !important; }
.match-row .when { font: 500 12px/1.2 var(--mono); color: var(--dim); }
@media (max-width: 560px) { .match-row { grid-template-columns: 42px minmax(0, 1fr) 54px minmax(0, 1fr); font-size: 13px; } }

/* Dialog (forhandlinger, bestyrelse, presse) */
.chat { display: grid; gap: 10px; }
.bubble { max-width: 80%; padding: 10px 14px; border-radius: 14px; background: var(--panel2); border: 1px solid var(--line); }
.bubble.me { justify-self: end; background: var(--acc-soft); border-color: color-mix(in srgb, var(--acc) 30%, transparent); border-bottom-right-radius: 4px; }
.bubble.them { border-bottom-left-radius: 4px; }
.bubble .who { font: 600 11px/1 var(--mono); color: var(--dim); margin-bottom: 4px; text-transform: uppercase; letter-spacing: .06em; }

/* Modal og toast */
.modal-back { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .55); display: grid; place-items: center; padding: 16px; animation: fade .15s; }
.modal { background: var(--panel); border: 1px solid var(--line2); border-radius: 14px; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; box-shadow: var(--shadow); animation: pop .18s ease-out; }
.modal.wide { width: min(880px, 100%); }
.modal-h { padding: 16px 18px 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.modal-b { padding: 14px 18px; }
.modal-f { padding: 0 18px 16px; display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.toasts { position: fixed; right: 16px; bottom: 16px; z-index: 200; display: grid; gap: 8px; max-width: min(380px, calc(100vw - 32px)); }
@media (max-width: 899px) { .toasts { bottom: calc(var(--tab) + 12px); left: 12px; right: 12px; max-width: none; } }
.toast { background: var(--panel3); border: 1px solid var(--line2); border-left: 4px solid var(--acc); padding: 12px 14px; border-radius: 10px; box-shadow: var(--shadow); animation: pop .2s; font-size: 14px; }
.toast.err { border-left-color: var(--down); } .toast.gold { border-left-color: var(--gold); }
.sheet-back { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .45); }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 91; background: var(--panel); border-radius: 16px 16px 0 0; max-height: 80vh; overflow: auto; padding: 10px 12px calc(20px + env(safe-area-inset-bottom)); animation: up .2s ease-out; }
.sheet a { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 8px; color: var(--ink) !important; }
.sheet a:hover { background: var(--panel2); text-decoration: none; }
@keyframes up { from { transform: translateY(30px); opacity: 0; } }

.empty { text-align: center; padding: 30px 16px; color: var(--muted); }
.empty h3 { color: var(--ink); margin-bottom: 6px; }
.loading { padding: 40px; text-align: center; color: var(--dim); }
.spinner { width: 26px; height: 26px; border: 3px solid var(--line2); border-top-color: var(--acc); border-radius: 50%; animation: spin .8s linear infinite; margin: 0 auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 14px; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; text-align: right; font-family: var(--mono); }
hr.sep { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }
.list { display: grid; }
.list > * { padding: 10px 2px; border-bottom: 1px solid var(--line); }
.list > *:last-child { border-bottom: 0; }

/* Landingsside / login */
.landing { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); }
.landing .art { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 20% 10%, #2a6b40, #07100a 72%); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 40px; color: #fff; }
.landing .art::after { content: ""; position: absolute; inset: 0; background: var(--hero-img, none) center/cover no-repeat; opacity: .55; mix-blend-mode: luminosity; pointer-events: none; }
.landing .art > * { position: relative; z-index: 1; }
.landing .logo-big { width: 120px; height: 120px; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .5)); }
.landing .title { font: 900 clamp(40px, 6vw, 96px)/.9 var(--display); font-stretch: 125%; letter-spacing: -.02em; }
.landing .title span { color: #a6dc5a; }
.card.hero { color: #fff; }
.card.hero a:not(.btn) { color: #e4f7c9; }
.landing .form-side { display: grid; place-items: center; padding: 32px 22px; background: var(--bg); }
.landing .form-box { width: min(420px, 100%); display: grid; gap: 16px; }
@media (max-width: 899px) { .landing { grid-template-columns: 1fr; } .landing .art { min-height: 44vh; padding: 24px; } .landing .logo-big { width: 76px; height: 76px; } }

/* Banen (taktik) */
.pitch { position: relative; aspect-ratio: 68 / 100; width: 100%; max-width: 460px; margin: 0 auto; border-radius: 12px; overflow: hidden;
  background: repeating-linear-gradient(0deg, var(--pitch) 0 10%, var(--pitch2) 10% 20%); border: 2px solid var(--chalk); }
.pitch .lines { position: absolute; inset: 0; pointer-events: none; }
.pitch .spot { position: absolute; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 3px; width: 84px; cursor: pointer; }
.pitch .shirt { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font: 800 13px/1 var(--mono); border: 2px solid rgba(255, 255, 255, .85); box-shadow: 0 3px 8px rgba(0, 0, 0, .35); }
.pitch .lbl { font-size: 11px; font-weight: 700; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .8); text-align: center; line-height: 1.15; max-width: 84px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pitch .spot.sel .shirt { outline: 3px solid var(--gold); outline-offset: 2px; }
.pitch .spot.empty .shirt { background: rgba(0, 0, 0, .35) !important; border-style: dashed; }

/* Diverse */
.pill-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.pill-nav a { padding: 6px 12px; border-radius: 99px; background: var(--panel2); border: 1px solid var(--line); color: var(--muted) !important; font-size: 13px; font-weight: 600; }
.pill-nav a.on { background: var(--acc); color: var(--acc-ink) !important; border-color: var(--acc); }
.pill-nav a:hover { text-decoration: none; }
.countdown { font-family: var(--mono); font-weight: 700; }
.note { padding: 10px 14px; border-radius: 8px; background: var(--acc-soft); border: 1px solid color-mix(in srgb, var(--acc) 25%, transparent); font-size: 14px; }
.note.warn { background: color-mix(in srgb, var(--warn) 12%, transparent); border-color: color-mix(in srgb, var(--warn) 30%, transparent); }
.note.err { background: color-mix(in srgb, var(--down) 12%, transparent); border-color: color-mix(in srgb, var(--down) 30%, transparent); }
.ai-img { width: 100%; border-radius: var(--r); object-fit: cover; display: block; }
.avatar { flex: none; display: block; border-radius: 50%; overflow: hidden; background: var(--panel3); }
.kbd { font: 600 11px/1 var(--mono); padding: 3px 6px; border: 1px solid var(--line2); border-bottom-width: 2px; border-radius: 5px; color: var(--muted); }
