/* ==========================================================================
   ABIBALL CUP FFM 26: LIVE COMPANION (STYLE 2, reworked)
   Minimalist mobile-first. Ink surface, near-white score, one lime signal.
   Dials: variance 5 / motion 3 / density 6
   ========================================================================== */

:root {
  --ink: #0E1012;
  --ink-2: #15181B;
  --ink-3: #1D2125;
  --line: rgba(240, 242, 239, 0.10);
  --line-strong: rgba(240, 242, 239, 0.18);
  --paper: #F0F2EF;
  --muted: #9BA3A6;
  --muted-2: #6C7478;
  --lime: #C8F04A;
  --lime-ink: #1A2400;
  --lime-dim: rgba(200, 240, 74, 0.16);
  --live: #FF6B5E;
  --yellow: #E8B735;
  --red: #E5484D;
  --r: 10px;
  --r-pill: 999px;
  --font: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --tabbar-h: 64px;
  --pad: 16px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  background: var(--ink);
  color: var(--paper);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  min-height: 100dvh;
  background: var(--ink);
  padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px));
}

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 8px; top: -40px;
  background: var(--lime); color: var(--lime-ink);
  padding: 8px 12px; border-radius: 6px; font-weight: 600; z-index: 50;
}
.skip-link:focus { top: 8px; }

.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* Signal strip: narrow, lime, full width. Its fill shows match progress. */
.stage-stats { display: none; }
.signal-strip {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  background: var(--ink-3);
  z-index: 40;
}
.signal-strip-fill {
  display: block; height: 100%; width: 0;
  background: var(--lime);
  transition: width 1s linear;
}

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 20;
  height: 52px;
  padding: 3px var(--pad) 0;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  background: rgba(14, 16, 18, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.back {
  justify-self: start;
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 14px; font-weight: 500; color: var(--muted);
  text-decoration: none; min-height: 44px; padding: 0 8px 0 2px;
}
.back:hover { color: var(--paper); }
.back .ic { width: 18px; height: 18px; }
.brand { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.brand-ffm { color: var(--muted); font-weight: 500; margin-left: 6px; font-family: var(--mono); font-size: 13px; }
.demo-tag {
  justify-self: end;
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--lime);
  border: 1px solid rgba(200, 240, 74, 0.35);
  border-radius: var(--r-pill);
  padding: 4px 9px;
}

/* Shell */
.shell { width: 100%; max-width: 1180px; margin: 0 auto; }

/* ==========================================================================
   SCORE STAGE
   ========================================================================== */
.stage {
  padding: 22px var(--pad) 14px;
  border-bottom: 1px solid var(--line);
}
.stage-meta {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 13px; font-weight: 600;
  color: var(--muted);
  margin-bottom: 14px;
}
.status {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--paper);
}
.status-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--live);
  box-shadow: 0 0 0 3px rgba(255, 107, 94, 0.18);
}
.status.is-ft .status-dot { background: var(--muted-2); box-shadow: none; }
.status.is-upcoming .status-dot { background: var(--lime); box-shadow: 0 0 0 3px var(--lime-dim); }
.status.is-ft, .status.is-upcoming { color: var(--muted); }
.clock { color: var(--paper); font-size: 15px; }
.phase { color: var(--muted-2); font-weight: 500; margin-left: auto; text-align: right; }

/* Bold near-white score */
.score {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
}
.team { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.team-away { text-align: right; align-items: flex-end; }
.team-code { font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; color: var(--muted); }
.team-name { font-size: 17px; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }

.score-mid {
  display: flex; align-items: baseline; gap: 4px;
  font-weight: 700;
  font-size: clamp(64px, 20vw, 104px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}
.score-num { display: inline-block; min-width: 0.6em; text-align: center; }
.score-sep { color: var(--muted-2); font-size: 0.5em; font-weight: 500; transform: translateY(-0.1em); }
.score.is-vs .score-mid { font-size: clamp(40px, 12vw, 64px); letter-spacing: 0; color: var(--muted); }

.venue { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* Match selection: horizontal snap row, thumb reachable */
.matcher {
  display: flex; gap: 8px;
  margin: 18px calc(-1 * var(--pad)) 0;
  padding: 2px var(--pad) 6px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.matcher::-webkit-scrollbar { display: none; }
.match-card {
  scroll-snap-align: start;
  flex: 0 0 auto;
  min-width: 168px;
  text-align: left;
  padding: 10px 12px;
  border-radius: var(--r);
  background: var(--ink-2);
  border: 1px solid var(--line);
  color: var(--paper);
  transition: border-color .2s ease, background-color .2s ease;
}
.match-card:active { transform: scale(0.985); }
.match-card.is-active { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.match-top {
  display: flex; justify-content: space-between; gap: 8px;
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  margin-bottom: 8px;
}
.match-card.is-active .match-top { color: var(--ink-3); }
.match-live { display: inline-flex; align-items: center; gap: 5px; }
.match-live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--live); }
.match-card.is-active .match-live::before { background: #C43A2E; }
.match-teams { font-weight: 600; font-size: 15px; letter-spacing: -0.01em; display: flex; justify-content: space-between; gap: 10px; }
.match-score { font-family: var(--mono); font-weight: 600; }

/* ==========================================================================
   FEED PANES
   ========================================================================== */
.feed { padding: 18px var(--pad) 32px; }
.pane[hidden] { display: none; }
.pane { display: flex; flex-direction: column; gap: 18px; }

.block { background: var(--ink-2); border-radius: var(--r); border: 1px solid var(--line); padding: 14px 16px; }
.block-title { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 10px; letter-spacing: 0.01em; }

/* Scorelines (goals and cards by team) */
.scorelines { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.scorers { background: var(--ink-2); border-radius: var(--r); border: 1px solid var(--line); padding: 12px 14px; }
.scorers h3 { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 8px; font-family: var(--mono); letter-spacing: 0.06em; }
.scorers ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.scorers li { display: grid; grid-template-columns: 14px 1fr auto; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.scorers li .min { font-family: var(--mono); font-size: 12px; color: var(--muted); min-width: 30px; }
.scorers .empty { font-size: 13px; color: var(--muted-2); font-weight: 400; }

.card-ic { display: inline-block; width: 9px; height: 13px; border-radius: 1.5px; flex-shrink: 0; }
.card-ic.y { background: var(--yellow); }
.card-ic.r { background: var(--red); }
.ball { display: inline-block; width: 14px; height: 14px; border: 1.5px solid var(--paper); border-radius: 50%; position: relative; flex-shrink: 0; }
.ball::after { content: ''; position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px 0 0 -2px; background: var(--paper); border-radius: 50%; }

/* Stats: label + two values + single hairline bar (no filled track) */
.stats { display: flex; flex-direction: column; }
.stat { display: grid; grid-template-columns: 56px 1fr 56px; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.stat:first-child { border-top: 0; }
.stat .v { font-family: var(--mono); font-size: 14px; font-weight: 600; }
.stat .v.away { text-align: right; }
.stat .l { text-align: center; font-size: 13px; color: var(--muted); }
.stat .bar { grid-column: 1 / -1; height: 2px; background: var(--ink-3); position: relative; border-radius: 1px; margin-top: 4px; }
.stat .bar::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: var(--home-pct); background: var(--lime); border-radius: 1px; }
.stat .bar::after { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: var(--away-pct); background: var(--paper); opacity: 0.55; border-radius: 1px; }

/* Photos */
.teaser { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; }
.teaser img { width: 100%; height: 100%; object-fit: cover; }
.teaser-tall { aspect-ratio: 4 / 3; }

/* Anzeige */
.ad { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.ad-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.ad-tag { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); border: 1px solid var(--line-strong); border-radius: var(--r-pill); padding: 2px 8px; }
.ad-brand { font-weight: 600; font-size: 15px; }
.ad-copy { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.ad-done { margin-top: 10px; font-size: 14px; color: var(--lime); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px;
  border-radius: var(--r);
  font-weight: 600; font-size: 15px;
  white-space: nowrap;
  transition: transform .12s ease, background-color .15s ease;
}
.btn:active { transform: translateY(1px) scale(0.985); }
.btn-primary { background: var(--lime); color: var(--lime-ink); }
.btn-primary:hover { background: #D6F96A; }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--paper); }
.btn-ghost:hover { border-color: var(--paper); }

/* Timeline: highly legible single column, minute left, content right */
.timeline { list-style: none; }
.event {
  display: grid; grid-template-columns: 38px 24px 1fr; gap: 12px; align-items: start;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.event:first-child { border-top: 0; }
.event .min { font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--muted); padding-top: 3px; }
.event .glyph { display: flex; justify-content: center; padding-top: 3px; }
.event .who { font-weight: 600; font-size: 15px; line-height: 1.3; }
.event .what { font-size: 14px; color: var(--muted); }
.event.is-goal .who { color: var(--lime); }
.event.is-goal .min { color: var(--lime); }
.event.is-home .who::after, .event.is-away .who::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin: 0 6px 2px; background: var(--muted-2); vertical-align: middle; }
.event.is-home .who::after { background: var(--lime); }
.event.is-away .who::before { background: var(--paper); opacity: 0.8; }
.event-divider {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0;
  font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--muted-2);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.event-divider::before, .event-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.event.is-info .who { font-weight: 500; }

/* Lineup: segmented control, pitch, inspector, rosters */
.seg { display: inline-flex; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); padding: 3px; }
.seg-btn { min-height: 36px; padding: 0 14px; border-radius: 7px; font-size: 14px; font-weight: 600; color: var(--muted); }
.seg-btn.is-active { background: var(--paper); color: var(--ink); }
.seg-btn#seg-home.is-active { background: var(--lime); color: var(--lime-ink); }
.seg-btn#seg-away.is-active { background: var(--paper); color: var(--ink); }

.pitch-wrap { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); padding: 6px; }
.pitch { display: block; width: 100%; height: auto; }
.pitch .mark { stroke: rgba(240, 242, 239, 0.28); stroke-width: 1; fill: none; }
.pitch .node { cursor: pointer; }
.pitch .node circle.dot { transition: stroke-width .12s ease; }
.pitch .node:focus-visible { outline: none; }
.pitch .node:focus-visible circle.dot { stroke: var(--paper); stroke-width: 2.5; }
.pitch .node.is-selected circle.dot { stroke-width: 3; }
.pitch .node text { font-family: var(--mono); font-size: 9px; font-weight: 600; }
.pitch .node .name { font-family: var(--font); font-size: 8px; font-weight: 500; fill: var(--muted); }
.pitch .node.is-selected .name { fill: var(--paper); }
.pitch .badge { stroke: var(--ink-2); stroke-width: 1; }

.inspector {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r);
  padding: 12px 14px; font-size: 14px; color: var(--muted);
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
}
.inspector .n { font-family: var(--mono); font-weight: 600; color: var(--ink); background: var(--lime); border-radius: 4px; padding: 1px 6px; }
.inspector .nm { font-weight: 600; color: var(--paper); }
.inspector .tg { font-family: var(--mono); font-size: 12px; color: var(--muted); border: 1px solid var(--line-strong); border-radius: 4px; padding: 1px 6px; }
.inspector .tg.g { color: var(--lime); border-color: rgba(200, 240, 74, 0.4); }
.inspector .tg.y { color: var(--yellow); border-color: rgba(232, 183, 53, 0.45); }
.inspector .tg.r { color: var(--red); border-color: rgba(229, 72, 77, 0.5); }

.rosters { display: grid; grid-template-columns: 1fr; gap: 10px; }
.roster { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.roster-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--muted); }
.roster-head .f { font-family: var(--mono); }
.roster ul { list-style: none; }
.roster li + li { border-top: 1px solid var(--line); }
.player {
  display: grid; grid-template-columns: 28px 30px 1fr auto; align-items: center; gap: 8px;
  width: 100%; text-align: left; min-height: 44px; padding: 6px 14px;
  font-size: 15px; font-weight: 500;
}
.player:hover { background: var(--ink-3); }
.player .num { font-family: var(--mono); font-size: 13px; color: var(--muted); text-align: right; }
.player .pos { font-family: var(--mono); font-size: 12px; color: var(--muted-2); }
.player .tags { display: flex; gap: 4px; }
.player.is-selected { background: var(--ink-3); box-shadow: inset 3px 0 0 var(--lime); }
.player .card-ic { width: 7px; height: 10px; }

/* Standings */
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { text-align: left; font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--muted); padding: 6px 8px; border-bottom: 1px solid var(--line-strong); }
.table th.num, .table td.num { text-align: right; }
.table td { padding: 11px 8px; border-bottom: 1px solid var(--line); }
.table tr:last-child td { border-bottom: 0; }
.table td.rank { font-family: var(--mono); color: var(--muted); width: 28px; }
.table td.pts { font-family: var(--mono); font-weight: 600; color: var(--paper); }
.table tr.is-match td { background: rgba(200, 240, 74, 0.06); }
.table tr.is-match td.rank { color: var(--lime); }
.table .team-cell { display: flex; align-items: center; gap: 10px; min-width: 0; }
.table .team-cell .nm { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.form { display: inline-flex; gap: 3px; margin-left: 6px; }
.form i { width: 3px; height: 12px; border-radius: 1px; background: var(--muted-2); }
.form i.w { background: var(--lime); }
.form i.d { background: var(--muted); }
.form i.l { background: var(--red); opacity: 0.8; }
.table .gd { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.note { font-size: 13px; color: var(--muted-2); }

/* Fund */
.fund { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 16px 16px; }
.fund-figures { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 12px; margin-bottom: 14px; }
.fund-amount { font-size: clamp(36px, 11vw, 48px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; color: var(--paper); font-variant-numeric: tabular-nums; }
.fund-pct { font-family: var(--mono); font-size: 15px; font-weight: 600; color: var(--lime); justify-self: end; align-self: center; }
.fund-goal { grid-column: 1 / -1; font-size: 14px; color: var(--muted); }
.fund-bar { position: relative; height: 6px; background: var(--ink-3); border-radius: 3px; overflow: hidden; margin-bottom: 10px; }
.fund-bar span { display: block; height: 100%; background: var(--lime); border-radius: 3px; transition: width .4s cubic-bezier(.16, 1, .3, 1); }
.fund-meta { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.fund-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.fund-feedback { margin-top: 10px; font-size: 14px; color: var(--lime); min-height: 1.5em; }

/* ==========================================================================
   TAB BAR (one thumb, fixed bottom)
   ========================================================================== */
.tabbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 25;
  height: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: rgba(14, 16, 18, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.tab {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  font-size: 11px; font-weight: 500; color: var(--muted);
  position: relative;
  transition: color .15s ease;
}
.tab .ic { width: 22px; height: 22px; }
.tab.is-active { color: var(--paper); }
.tab.is-active::after { content: ''; position: absolute; top: -1px; left: 50%; width: 28px; height: 3px; margin-left: -14px; background: var(--lime); border-radius: 0 0 3px 3px; }

.foot {
  display: flex; flex-direction: column; gap: 6px;
  padding: 18px var(--pad) 24px;
  border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted-2);
}
.foot a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   DESKTOP: asymmetric split, sticky score rail left, feed right
   ========================================================================== */
@media (min-width: 900px) {
  :root { --pad: 28px; --tabbar-h: 0px; }
  body { padding-bottom: 0; }

  .topbar { height: 60px; padding-top: 3px; }
  .brand { font-size: 16px; }

  .shell {
    display: grid;
    grid-template-columns: minmax(360px, 5fr) 7fr;
    gap: 0;
    min-height: calc(100dvh - 60px - 3px);
    align-items: start;
  }

  .stage {
    position: sticky; top: 63px;
    height: calc(100dvh - 60px - 3px);
    padding: 48px var(--pad) 28px;
    border-bottom: 0;
    border-right: 1px solid var(--line);
    display: flex; flex-direction: column;
    background:
      radial-gradient(120% 80% at 0% 100%, rgba(200, 240, 74, 0.07), transparent 60%),
      var(--ink);
  }
  .stage-meta { margin-bottom: 28px; font-size: 14px; }
  .phase { margin-left: 0; }
  .clock { margin-left: auto; }

  .score { grid-template-columns: 1fr; gap: 18px; }
  .score-mid { font-size: clamp(120px, 15vw, 220px); justify-content: flex-start; gap: 8px; }
  .score.is-vs .score-mid { font-size: 120px; }
  .team { flex-direction: row; align-items: baseline; gap: 12px; }
  .team-away { text-align: left; align-items: baseline; flex-direction: row-reverse; justify-content: flex-end; }
  .team-name { font-size: 22px; }
  .score.is-vs .score-mid { justify-content: flex-start; }

  .venue { margin-top: 22px; font-size: 15px; }

  .matcher {
    margin: auto calc(-1 * var(--pad)) 0;
    padding: 24px var(--pad) 28px;
    display: grid; grid-template-columns: repeat(2, 1fr);
    overflow: visible;
  }
  .match-card { min-width: 0; }

  .feed { padding: 36px var(--pad) 56px; }
  .pane { gap: 22px; }
  .scorelines { gap: 14px; }
  .rosters { grid-template-columns: 1fr 1fr; }
  .table { font-size: 16px; }
  .fund { padding: 24px; }
  .fund-amount { font-size: 64px; }

  .tabbar {
    position: sticky; top: 63px; z-index: 20;
    height: auto; padding: 0 var(--pad);
    grid-template-columns: repeat(5, minmax(0, max-content)); gap: 28px;
    background: rgba(14, 16, 18, 0.96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 0; border-bottom: 1px solid var(--line);
  }
  .tab { flex-direction: row; gap: 8px; padding: 14px 0 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.01em; }
  .tab .ic { width: 16px; height: 16px; }
  .tab.is-active::after { top: auto; bottom: -1px; width: 100%; margin-left: 0; border-radius: 3px 3px 0 0; }
  .feed { padding-top: 4px; }

  .stage-stats {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
    margin: 28px 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  }
  .stage-stat { padding: 14px 0; display: flex; flex-direction: column; gap: 3px; }
  .stage-stat + .stage-stat { border-left: 1px solid var(--line); padding-left: 16px; }
  .stage-stats .v { font-family: var(--mono); font-size: 20px; font-weight: 600; color: var(--paper); white-space: nowrap; }
  .stage-stats .l { font-size: 12px; color: var(--muted); margin-top: 2px; }
  .foot { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; padding: 20px var(--pad); border-top: 1px solid var(--line); }
}

@media (max-width: 899px) {
  .foot { padding-bottom: 16px; }
}

/* ==========================================================================
   MOTION: minimal and motivated (live clock, feedback, state change)
   ========================================================================== */
.pane.is-active { animation: pane-in .22s cubic-bezier(.16, 1, .3, 1); }
@keyframes pane-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

@media (min-width: 900px) {
  .stage.is-switching .score-mid { animation: score-in .32s cubic-bezier(.16, 1, .3, 1); }
  @keyframes score-in { from { opacity: 0.2; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Spieltagsredaktion */
.brand{letter-spacing:-.04em}.brand-ffm{letter-spacing:0}
