/* Layout: placar eletrônico no topo; tabela à esquerda e simulador à direita; chances em largura total; no celular, abas. */
:root {
  --bg: #EDF0F5;
  --surface: #FFFFFF;
  --surface-2: #F4F6FA;
  --ink: #0D1424;
  --muted: #5A6478;
  --line: #DCE1EA;
  --line-strong: #C3CAD7;
  --accent: #FFC21A;
  --accent-ink: #1B1400;
  --action: #2448D8;
  --action-soft: #E3E9FF;
  --board: #0A1020;
  --board-2: #121A30;
  --board-ink: #F3F0E4;
  --board-dim: #8592AE;
  --led: #FFC21A;
  --z-title: #E3A600;
  --z-lib: #2448D8;
  --z-pre: #1E9BD6;
  --z-sula: #179A55;
  --z-mid: #CBD2DE;
  --z-rel: #DD3239;
  --win: #179A55;
  --draw: #98A2B6;
  --loss: #DD3239;
  --shadow: 0 1px 2px rgba(13, 20, 36, .06), 0 8px 24px -12px rgba(13, 20, 36, .18);
  --font-display: "Big Shoulders Display", "Big Shoulders", "Oswald", "Arial Narrow", "Roboto Condensed", sans-serif;
  --font-body: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 14px;
  --crest-filter: drop-shadow(0 1px 1px rgba(13, 20, 36, .16));
  --ease: cubic-bezier(.2, .8, .2, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #080D19; --surface: #0F1628; --surface-2: #141D33; --ink: #E8ECF5; --muted: #8E99B0;
    --line: #212B44; --line-strong: #2E3A58; --accent: #FFC93A; --accent-ink: #1B1400;
    --action: #7D96FF; --action-soft: #1B2650; --board: #050913; --board-2: #0D1426;
    --board-ink: #F3F0E4; --board-dim: #7D89A4; --led: #FFC93A;
    --z-title: #FFC93A; --z-lib: #6E8BFF; --z-pre: #3DB6EE; --z-sula: #2DBE74; --z-mid: #2C3654; --z-rel: #FF5A60;
    --win: #2DBE74; --draw: #66718A; --loss: #FF5A60;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px -14px rgba(0, 0, 0, .6);
    --crest-filter: drop-shadow(0 0 1px rgba(255, 255, 255, .55)) drop-shadow(0 1px 1px rgba(0, 0, 0, .4));
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #080D19; --surface: #0F1628; --surface-2: #141D33; --ink: #E8ECF5; --muted: #8E99B0;
  --line: #212B44; --line-strong: #2E3A58; --accent: #FFC93A; --accent-ink: #1B1400;
  --action: #7D96FF; --action-soft: #1B2650; --board: #050913; --board-2: #0D1426;
  --board-ink: #F3F0E4; --board-dim: #7D89A4; --led: #FFC93A;
  --z-title: #FFC93A; --z-lib: #6E8BFF; --z-pre: #3DB6EE; --z-sula: #2DBE74; --z-mid: #2C3654; --z-rel: #FF5A60;
  --win: #2DBE74; --draw: #66718A; --loss: #FF5A60;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px -14px rgba(0, 0, 0, .6);
  --crest-filter: drop-shadow(0 0 1px rgba(255, 255, 255, .55)) drop-shadow(0 1px 1px rgba(0, 0, 0, .4));
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.45;
  padding-inline: clamp(16px, 3vw, 32px);
  padding-block: 0 48px;
  overflow-x: hidden;
}
button { font: inherit; color: inherit; cursor: pointer; }
button:focus-visible, input:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--action); outline-offset: 2px; border-radius: 6px;
}
.wrap { max-width: 1440px; margin: 0 auto; }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.crest { width: 24px; height: 24px; flex: none; display: block; object-fit: contain; filter: var(--crest-filter); }
.board .crest, .d-hero .crest, .toast .crest { filter: drop-shadow(0 0 1px rgba(255, 255, 255, .55)) drop-shadow(0 2px 3px rgba(0, 0, 0, .35)); }

/* ---------- Topo ---------- */
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 18px 14px;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark {
  height: 96px; display: grid; place-items: center; flex: none; margin-block: -10px -8px;
}
.brand-mark { color: var(--ink); }
.brand-mark svg { width: auto; height: 96px; display: block; }
.brand-name .fc { display: inline-block; background: var(--led); color: var(--accent-ink); border-radius: 6px; padding: 0 5px; margin-left: 2px; font-size: .82em; line-height: 1.15; vertical-align: .08em; }
.brand-text { display: grid; line-height: 1.1; gap: 2px; min-width: 0; }
.brand-eyebrow { font-size: 12px; color: var(--muted); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-name { display: grid; font-family: "Outfit", "Lexend", system-ui, sans-serif; font-weight: 800; font-size: 24px; line-height: .92; letter-spacing: .015em; color: var(--ink); white-space: nowrap; }
.top-meta { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; }
.foot-logo { margin-bottom: 8px; }
/* As três abas sempre com a mesma largura */
.views .seg { display: inline-grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.views .seg button { font-size: 13px; padding: 7px 14px; min-width: 128px; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; }
.views .seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.icon-btn {
  width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface);
  display: grid; place-items: center; flex: none;
}
.icon-btn svg { width: 18px; height: 18px; }

/* ---------- Placar ---------- */
.board {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(60% 120% at 8% -30%, rgba(255, 214, 120, .20), transparent 60%),
    radial-gradient(60% 120% at 92% -30%, rgba(160, 190, 255, .16), transparent 60%),
    linear-gradient(180deg, var(--board-2), var(--board));
  color: var(--board-ink);
  border-radius: 20px;
  padding: clamp(18px, 3vw, 30px);
  display: grid; gap: 22px;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center;
  box-shadow: var(--shadow);
}
.board::after { /* grade de LEDs */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.2px);
  background-size: 6px 6px;
  mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.eyebrow { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--board-dim); }
.round-big { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; }
.round-big b {
  font-family: var(--font-display); font-weight: 900; font-size: clamp(56px, 7vw, 88px); line-height: .85;
  color: var(--led); text-shadow: 0 0 18px rgba(255, 194, 26, .35);
}
.round-big span { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--board-dim); text-transform: uppercase; }
.season-bar { display: grid; grid-template-columns: repeat(38, 1fr); gap: 3px; margin-top: 14px; max-width: 420px; }
.season-bar i { height: 14px; border-radius: 2px; background: rgba(255,255,255,.09); position: relative; overflow: hidden; }
.season-bar i.done { background: rgba(255, 194, 26, .75); }
.season-bar i.part::after { content: ""; position: absolute; inset: 0; width: var(--fill); background: var(--led); }
.season-bar i.turn { margin-left: 4px; }
.season-caption { margin-top: 8px; font-size: 12px; color: var(--board-dim); }

.duel { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; text-align: center; min-width: 0; }
.duel-team { display: grid; justify-items: center; gap: 6px; background: none; border: 0; padding: 4px; border-radius: 12px; min-width: 0; max-width: 100%; }
.duel-team:hover .duel-name { color: var(--led); }
.duel-team .crest { width: 60px; height: 60px; transition: transform .4s var(--ease); }
.duel-team:hover .crest { transform: translateY(-3px) rotate(-3deg); }
.duel-name { font-family: var(--font-display); font-weight: 800; font-size: 20px; text-transform: uppercase; letter-spacing: .02em; }
.duel-pts { font-family: var(--font-display); font-weight: 900; font-size: clamp(48px, 6vw, 72px); line-height: .9; color: var(--led); text-shadow: 0 0 16px rgba(255, 194, 26, .3); }
.duel-x { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--board-dim); }
.duel-odds { grid-column: 1 / -1; display: grid; gap: 6px; }
.duel-odds-bar { display: flex; height: 8px; border-radius: 99px; overflow: hidden; background: rgba(255,255,255,.08); }
.duel-odds-bar i { display: block; height: 100%; transition: width .7s var(--ease); }
.duel-odds-text { display: flex; justify-content: space-between; font-size: 12px; color: var(--board-dim); }
.duel-odds-text b { color: var(--board-ink); font-variant-numeric: tabular-nums; }

.next { display: grid; gap: 10px; justify-items: start; }
.next-match { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; flex-wrap: wrap; }
.next-match .crest { width: 26px; height: 26px; }
.countdown { display: flex; gap: 6px; }
.countdown div { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); border-radius: 8px; padding: 6px 8px; text-align: center; min-width: 52px; }
.countdown b { display: block; font-family: var(--font-display); font-size: 26px; font-weight: 800; color: var(--led); line-height: 1; font-variant-numeric: tabular-nums; }
.countdown small { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--board-dim); }
.next-left { font-size: 12px; color: var(--board-dim); }
.next-left b { color: var(--board-ink); }

/* ---------- Histórias (título, Libertadores, Z4) ---------- */
.stories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.story { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 16px 12px; display: grid; gap: 10px; align-content: start; }
.story-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.story h3 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 21px; text-transform: uppercase; letter-spacing: .02em; display: flex; align-items: center; gap: 8px; }
.story h3 i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.story-sub { font-size: 12px; color: var(--muted); }
.odds-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.odds-row { display: grid; grid-template-columns: 22px minmax(0, 1fr) 46px; align-items: center; gap: 8px; background: none; border: 0; padding: 2px 0; text-align: left; width: 100%; }
.odds-row:hover .odds-name { color: var(--action); }
.odds-name { font-weight: 600; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.odds-track { grid-column: 2; height: 6px; border-radius: 99px; background: var(--surface-2); overflow: hidden; margin-top: 3px; }
.odds-track i { display: block; height: 100%; border-radius: 99px; transition: width .7s var(--ease); }
.odds-meta { display: grid; min-width: 0; }
.odds-pct { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; font-size: 13px; }

/* ---------- Abas (celular) ---------- */
.tabs { display: none; }

/* ---------- Painéis ---------- */
.grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); gap: 14px; margin-top: 14px; align-items: start; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px 12px; flex-wrap: wrap; }
.panel-title { margin: 0; font-family: var(--font-display); font-weight: 900; font-size: 26px; text-transform: uppercase; letter-spacing: .01em; line-height: 1; }
.panel-sub { color: var(--muted); font-size: 12px; margin-top: 4px; }
.seg { display: inline-flex; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 3px; gap: 2px; }
.seg button { border: 0; background: none; padding: 6px 10px; border-radius: 7px; font-size: 12px; font-weight: 600; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }

/* ---------- Tabela ---------- */
.tbl-scroll { overflow-x: auto; padding: 0 8px 10px; }
.tbl { min-width: 560px; position: relative; }
.tr {
  display: grid; align-items: center;
  grid-template-columns: 46px minmax(132px, 1fr) 40px repeat(4, 30px) 36px 34px 34px 40px 84px 92px;
  column-gap: 4px; padding: 0 10px; height: 42px; border-radius: 10px; position: relative;
}
.tr.th { height: 30px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tr.th span { text-align: center; }
.tr.th span.l { text-align: left; }
.tr.row { background: var(--surface); will-change: transform; }
.tr.row:nth-child(odd of .row) { background: var(--surface-2); }
.tr.row:hover { background: var(--action-soft); }
.tr.row > span { text-align: center; font-variant-numeric: tabular-nums; min-width: 0; }
.tr.row > .c-club { overflow: hidden; }
.tr.row.sep-top { box-shadow: inset 0 1px 0 var(--line-strong); }
.pos { display: flex; align-items: center; gap: 4px; justify-content: flex-start !important; font-weight: 800; }
.pos-n { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; font-size: 13px; color: #fff; background: var(--z-mid); font-variant-numeric: tabular-nums; }
.z-lib .pos-n { background: var(--z-lib); }
.z-pre .pos-n { background: var(--z-pre); }
.z-sula .pos-n { background: var(--z-sula); }
.z-rel .pos-n { background: var(--z-rel); }
.z-mid .pos-n { color: var(--ink); }
.delta { font-size: 10px; font-weight: 700; width: 16px; }
.delta.up { color: var(--win); }
.delta.down { color: var(--loss); }
.club-btn { display: flex; align-items: center; gap: 9px; background: none; border: 0; padding: 0; min-width: 0; max-width: 100%; text-align: left; }
.club-btn .nm { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.club-btn:hover .nm { color: var(--action); text-decoration: underline; text-underline-offset: 3px; }
.pts { font-weight: 800; font-size: 15px; }
.tr.row .pts.bump { animation: bump .9s var(--ease); }
@keyframes bump { 0% { background: var(--accent); color: var(--accent-ink); border-radius: 6px; transform: scale(1.18); } 100% { background: transparent; transform: none; } }
.muted { color: var(--muted); }
.form { display: flex; gap: 3px; justify-content: center; }
.form i { width: 12px; height: 12px; border-radius: 50%; display: block; background: var(--z-mid); }
.form i.V { background: var(--win); }
.form i.E { background: var(--draw); }
.form i.D { background: var(--loss); }
.form i.sim { box-shadow: 0 0 0 2px var(--surface), 0 0 0 3px var(--accent); }
.zbar { display: flex; height: 10px; border-radius: 99px; overflow: hidden; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.zbar i { display: block; height: 100%; transition: width .6s var(--ease); }
.zb-title { background: var(--z-title); }
.zb-lib { background: var(--z-lib); }
.zb-pre { background: var(--z-pre); }
.zb-sula { background: var(--z-sula); }
.zb-mid { background: var(--z-mid); }
.zb-rel { background: var(--z-rel); }
.legend { display: grid; gap: 8px; padding: 12px 18px 16px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); }
.legend-items { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.legend p { margin: 0; max-width: 90ch; }
.seg .count { margin-left: 6px; background: var(--accent); color: var(--accent-ink); border-radius: 99px; padding: 0 6px; font-size: 11px; font-weight: 700; display: inline-block; line-height: 17px; }
.seg .count.pop { animation: pop .6s var(--ease); }
@keyframes pop { 0% { transform: scale(1.5); } 100% { transform: none; } }

/* ---------- Simulador ---------- */
.sim-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--surface);
  border-radius: 9px; padding: 7px 11px; font-size: 12.5px; font-weight: 600; white-space: nowrap;
  transition: background .2s, border-color .2s, transform .15s;
}
.btn:hover { border-color: var(--line-strong); background: var(--surface-2); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn.primary:hover { background: var(--action); border-color: var(--action); color: #fff; }
.btn.warn { color: var(--loss); }
.btn.confirm { background: var(--loss); color: #fff; border-color: var(--loss); }
.btn svg { width: 14px; height: 14px; }

.rounds { display: flex; gap: 6px; overflow-x: auto; padding: 2px 18px 12px; scrollbar-width: thin; }
.rchip {
  flex: none; display: grid; justify-items: center; gap: 4px; min-width: 50px; padding: 7px 8px 6px;
  border-radius: 10px; border: 1px solid var(--line); background: var(--surface);
}
.rchip b { font-family: var(--font-display); font-weight: 800; font-size: 20px; line-height: 1; }
.rchip small { font-size: 10px; color: var(--muted); letter-spacing: .04em; }
.rchip .fill { width: 30px; height: 3px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.rchip .fill i { display: block; height: 100%; background: var(--accent); transition: width .4s var(--ease); }
.rchip.full .fill i { background: var(--win); }
.rchip[aria-current="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.rchip[aria-current="true"] small { color: inherit; opacity: .7; }

.round-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 18px 8px; }
.round-head h3 { margin: 0; font-family: var(--font-display); font-size: 22px; font-weight: 800; text-transform: uppercase; }
.round-head p { margin: 0; color: var(--muted); font-size: 12px; }
.round-nav { display: flex; gap: 6px; }

.day { padding: 2px 12px 8px; }
.day-label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 8px 6px 6px; }
.match {
  border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px 10px; margin-bottom: 8px; background: var(--surface);
  display: grid; gap: 8px; transition: border-color .25s, box-shadow .25s;
}
.match.picked { border-color: color-mix(in srgb, var(--accent) 70%, var(--line)); box-shadow: inset 3px 0 0 var(--accent); }
.match.final { background: var(--surface-2); }
.match.flash { animation: flash 1.4s var(--ease); }
@keyframes flash { 0%, 30% { box-shadow: 0 0 0 3px var(--accent); } 100% { box-shadow: 0 0 0 0 transparent; } }
.m-meta { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; color: var(--muted); }
.m-tag { font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 10.5px; }
.m-tag.final { color: var(--muted); }
.m-tag.pick { color: color-mix(in srgb, var(--accent) 55%, var(--ink)); }
.m-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 14px auto minmax(0, 1fr); align-items: center; gap: 8px; }
.m-team { display: flex; align-items: center; gap: 8px; min-width: 0; background: none; border: 0; padding: 0; }
.m-team.away { flex-direction: row-reverse; text-align: right; }
.m-team .nm { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-team .crest { width: 28px; height: 28px; }
.m-team:hover .nm { color: var(--action); }
.m-x { text-align: center; color: var(--muted); font-weight: 700; }
.score { display: flex; align-items: center; gap: 3px; }
.score input {
  width: 40px; height: 42px; border-radius: 9px; border: 1px solid var(--line-strong); background: var(--board); color: var(--led);
  text-align: center; font-family: var(--font-display); font-weight: 900; font-size: 26px; line-height: 1; padding: 0;
  font-variant-numeric: tabular-nums; caret-color: var(--led);
}
.score input::placeholder { color: var(--board-dim); opacity: .6; }
.score input.tick { animation: tick .35s var(--ease); }
@keyframes tick { 0% { transform: rotateX(80deg); } 100% { transform: none; } }
.score .final-digit {
  width: 40px; height: 42px; border-radius: 9px; background: var(--board); color: var(--board-ink); display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 900; font-size: 26px; opacity: .92;
}
.step { width: 22px; height: 22px; border-radius: 6px; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; font-size: 15px; line-height: 1; padding: 0; color: var(--muted); }
.step:hover { color: var(--ink); border-color: var(--line-strong); }
.odds { display: flex; height: 26px; border-radius: 8px; overflow: hidden; gap: 2px; }
.odds button {
  border: 0; padding: 0 8px; font-size: 11.5px; font-weight: 700; display: flex; align-items: center; justify-content: center;
  min-width: 34px; white-space: nowrap; transition: filter .2s, transform .2s, flex-basis .5s var(--ease);
  color: var(--ink); background: color-mix(in srgb, var(--surface-2) 100%, transparent); font-variant-numeric: tabular-nums;
}
.odds button:hover { filter: brightness(.95); }
.odds .o-h { background: color-mix(in srgb, var(--win) 22%, var(--surface)); }
.odds .o-d { background: color-mix(in srgb, var(--draw) 22%, var(--surface)); }
.odds .o-a { background: color-mix(in srgb, var(--z-lib) 20%, var(--surface)); }
.odds button.on { color: #fff; }
.odds .o-h.on { background: var(--win); }
.odds .o-d.on { background: var(--draw); }
.odds .o-a.on { background: var(--z-lib); }
.odds-cap { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--muted); margin-top: -4px; }
.clear-x { border: 0; background: none; color: var(--muted); font-size: 11px; font-weight: 600; padding: 0; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Aba Tabela: classificação + coluna lateral ---------- */
.tabela-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 14px; margin-top: 14px; align-items: start; }
.side-col { display: grid; gap: 14px; min-width: 0; }
.side-col .stories { grid-template-columns: minmax(0, 1fr); margin-top: 0; }
.next-games .panel-head { padding-bottom: 8px; }
.ng-list { padding: 0 12px 12px; }
.ng-day { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 10px 6px 6px; }
.ng-row {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) 24px minmax(0, 1fr) 96px; gap: 8px; align-items: center;
  width: 100%; padding: 7px 8px; border-radius: 10px; border: 0; background: none; text-align: left; color: var(--ink); font-size: 13px;
}
.ng-row:nth-child(even of .ng-row) { background: var(--surface-2); }
.ng-row:hover { background: var(--action-soft); }
.ng-row .t { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.ng-row .tm { display: flex; align-items: center; gap: 7px; min-width: 0; font-weight: 600; }
.ng-row .tm span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ng-row .tm.away { flex-direction: row-reverse; text-align: right; }
.ng-row .x { color: var(--muted); text-align: center; font-weight: 700; }
.ng-row .crest { width: 22px; height: 22px; }
.ng-odds { display: flex; height: 18px; border-radius: 5px; overflow: hidden; font-size: 10px; font-weight: 700; }
.ng-odds i { display: grid; place-items: center; font-style: normal; min-width: 0; color: var(--ink); }
.ng-odds .h { background: color-mix(in srgb, var(--win) 30%, var(--surface)); }
.ng-odds .d { background: color-mix(in srgb, var(--draw) 30%, var(--surface)); }
.ng-odds .a { background: color-mix(in srgb, var(--z-lib) 26%, var(--surface)); }
.moments.single { grid-template-columns: minmax(0, 1fr); }
.fdc-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr); }

@media (min-width: 1181px) {
  .tabela-grid { align-items: stretch; }
  .side-col { contain: size; display: flex; flex-direction: column; }
  .side-col > .stories { flex: none; }
  .next-games { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
  .next-games .ng-list { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
}
@media (max-width: 1180px) {
  .tabela-grid { grid-template-columns: minmax(0, 1fr); }
  .side-col .stories { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .side-col .stories { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .ng-row { grid-template-columns: 38px minmax(0, 1fr) 14px minmax(0, 1fr); row-gap: 6px; }
  .ng-row .ng-odds { grid-column: 1 / -1; }
}

/* No desktop o simulador acompanha a altura da tabela e a lista de jogos rola por dentro */
@media (min-width: 1181px) {
  .grid { align-items: stretch; }
  .sim-panel { contain: size; display: flex; flex-direction: column; }
  .sim-panel > * { flex: none; }
  .sim-panel #round-body {
    flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin;
    padding-bottom: 14px; border-top: 1px solid var(--line);
  }
}

/* ---------- Chances ---------- */
.chances { margin-top: 14px; }
.cuts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 0 18px 14px; }
.cut { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: grid; gap: 2px; background: var(--surface-2); }
.cut small { font-size: 11px; color: var(--muted); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; display: flex; align-items: center; gap: 6px; }
.cut small i { width: 8px; height: 8px; border-radius: 2px; }
.cut b { font-family: var(--font-display); font-size: 34px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.cut span { font-size: 12px; color: var(--muted); }
.mc-progress { height: 3px; background: var(--surface-2); border-radius: 3px; overflow: hidden; width: 140px; }
.mc-progress i { display: block; height: 100%; background: var(--accent); width: 0; transition: width .2s linear; }
.mc-status { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }

.heat-scroll { overflow-x: auto; padding: 0 18px 16px; }
.heat { min-width: 940px; display: grid; gap: 2px; font-size: 11px; }
.heat-row { display: grid; grid-template-columns: 150px repeat(20, minmax(26px, 1fr)) repeat(5, 56px) 50px; gap: 2px; align-items: center; }
.heat .hh { font-weight: 700; color: var(--muted); text-align: center; padding: 4px 0; font-size: 10.5px; letter-spacing: .04em; }
.heat .hh.zl { border-bottom: 3px solid var(--z-lib); }
.heat .hh.zp { border-bottom: 3px solid var(--z-pre); }
.heat .hh.zs { border-bottom: 3px solid var(--z-sula); }
.heat .hh.zr { border-bottom: 3px solid var(--z-rel); }
.heat .hh.zm { border-bottom: 3px solid var(--z-mid); }
.heat .ht { display: flex; align-items: center; gap: 7px; background: none; border: 0; padding: 0 4px 0 0; text-align: left; min-width: 0; font-weight: 600; font-size: 12.5px; }
.heat .ht .crest { width: 20px; height: 20px; }
.heat .ht span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.heat .ht:hover span { color: var(--action); }
.heat .hc {
  height: 26px; border-radius: 4px; display: grid; place-items: center; font-variant-numeric: tabular-nums; font-size: 10.5px; font-weight: 600;
  background: color-mix(in srgb, var(--zc) var(--pc, 0%), var(--surface-2));
  color: var(--ink); transition: background .5s var(--ease);
}
.heat .hc.hi { color: #fff; }
.heat .hc.zl { --zc: var(--z-lib); }
.heat .hc.zp { --zc: var(--z-pre); }
.heat .hc.zs { --zc: var(--z-sula); }
.heat .hc.zm { --zc: var(--muted); }
.heat .hc.zr { --zc: var(--z-rel); }
.heat .hv { display: grid; place-items: center; font-weight: 700; font-variant-numeric: tabular-nums; font-size: 12px; }
.heat .hv.strong { color: var(--ink); }
.heat .hv.faint { color: var(--muted); font-weight: 500; }

.moments { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; padding: 0 18px 18px; }
.moments h4 { margin: 0 0 8px; font-family: var(--font-display); font-size: 19px; font-weight: 800; text-transform: uppercase; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.timeline li { display: grid; grid-template-columns: 44px 24px minmax(0, 1fr); gap: 8px; align-items: center; padding: 6px 8px; border-radius: 10px; background: var(--surface-2); }
.timeline .r { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--muted); }
.timeline .ev-champ { background: color-mix(in srgb, var(--z-title) 22%, var(--surface)); }
.timeline .ev-rel { background: color-mix(in srgb, var(--z-rel) 12%, var(--surface)); }
.timeline .ev-g4 { background: color-mix(in srgb, var(--z-lib) 12%, var(--surface)); }
.timeline .ev-safe { background: color-mix(in srgb, var(--z-sula) 12%, var(--surface)); }
.empty { color: var(--muted); font-size: 13px; padding: 12px; border: 1px dashed var(--line-strong); border-radius: 12px; }
.how { font-size: 13px; color: var(--muted); max-width: 70ch; }
.how p { margin: 0 0 8px; }
.how b { color: var(--ink); }

/* ---------- Ficha do clube ---------- */
.scrim { position: fixed; inset: 0; background: rgba(5, 9, 19, .5); backdrop-filter: blur(3px); z-index: 40; opacity: 0; transition: opacity .3s; }
.scrim.on { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(560px, 100%); z-index: 41; background: var(--surface);
  box-shadow: -20px 0 60px -20px rgba(0,0,0,.45); transform: translateX(105%); transition: transform .45s var(--ease);
  display: flex; flex-direction: column; padding-top: env(safe-area-inset-top, 0px);
}
.drawer.on { transform: none; }
.drawer-body { overflow-y: auto; flex: 1; overscroll-behavior: contain; }
.d-hero { position: relative; overflow: hidden; background: var(--board); color: var(--board-ink); padding: 22px 22px 20px; isolation: isolate; }
.d-stripe { position: absolute; left: 0; right: 0; top: 0; height: 6px; display: flex; }
.d-stripe i { flex: 1; }
.d-water { position: absolute; right: -40px; top: -20px; width: 240px; height: 240px; object-fit: contain; opacity: .14; z-index: -1; transform: rotate(-12deg); filter: grayscale(.3); }
.d-close { position: absolute; top: 14px; right: 14px; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.14); color: var(--board-ink); }
.d-id { display: flex; gap: 16px; align-items: center; margin-top: 8px; }
.d-id .crest { width: 80px; height: 80px; }
.d-name { font-family: var(--font-display); font-weight: 900; font-size: 40px; line-height: .9; text-transform: uppercase; margin: 0; }
.d-full { color: var(--board-dim); font-size: 13px; margin-top: 6px; }
.d-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.d-facts div { border-top: 1px solid rgba(255,255,255,.12); padding-top: 8px; min-width: 0; }
.d-facts small { display: block; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--board-dim); }
.d-facts b { font-weight: 600; font-size: 14px; }
.bday { display: inline-flex; margin-top: 12px; background: var(--led); color: var(--accent-ink); font-weight: 700; font-size: 12px; padding: 4px 10px; border-radius: 99px; }
.d-sec { padding: 18px 22px; border-bottom: 1px solid var(--line); }
.d-sec h4 { margin: 0 0 12px; font-family: var(--font-display); font-weight: 800; font-size: 20px; text-transform: uppercase; letter-spacing: .02em; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.d-sec h4 small { font-family: var(--font-body); font-size: 12px; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--muted); }
.d-summary { font-size: 14px; margin: 0 0 14px; }
.d-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.d-stats div { background: var(--surface-2); border-radius: 10px; padding: 8px 10px; }
.d-stats small { display: block; font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.d-stats b { font-family: var(--font-display); font-size: 26px; font-weight: 900; line-height: 1.05; font-variant-numeric: tabular-nums; }
.d-probs { display: grid; gap: 8px; }
.d-prob { display: grid; grid-template-columns: 112px minmax(0, 1fr) 50px; gap: 10px; align-items: center; font-size: 13px; }
.d-prob .odds-track { margin: 0; height: 8px; }
.d-prob b { text-align: right; font-variant-numeric: tabular-nums; }
.dist { display: grid; grid-template-columns: repeat(20, minmax(0, 1fr)); gap: 2px; align-items: end; height: 70px; margin-top: 14px; }
.dist i { display: block; border-radius: 3px 3px 0 0; min-height: 2px; transition: height .6s var(--ease); }
.dist-axis { display: grid; grid-template-columns: repeat(20, minmax(0, 1fr)); gap: 2px; font-size: 9.5px; color: var(--muted); text-align: center; margin-top: 3px; }
.goal { margin-top: 12px; font-size: 13px; background: var(--surface-2); border-radius: 10px; padding: 10px 12px; }
.goal b { font-variant-numeric: tabular-nums; }
.posline { width: 100%; height: auto; display: block; }
.posline text { fill: var(--muted); font-size: 10px; font-family: var(--font-body); }
.trophies { display: grid; gap: 8px; }
.trophy { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; background: var(--surface-2); }
.trophy svg { width: 26px; height: 26px; }
.trophy .t-name { font-weight: 700; }
.trophy .t-years { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.trophy .t-count { font-family: var(--font-display); font-weight: 900; font-size: 30px; line-height: 1; }
.trophy.int .t-count { color: var(--z-lib); }
.trophy.nac .t-count { color: color-mix(in srgb, var(--z-title) 80%, var(--ink)); }
.t-group { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 10px 0 2px; }
.d-note { font-size: 12.5px; color: var(--muted); margin: 12px 0 0; }
.d-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.d-list li { display: flex; gap: 8px; align-items: center; font-size: 13px; }
.d-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
.fx { display: grid; gap: 6px; }
.fx-row { display: grid; grid-template-columns: 42px 22px minmax(0, 1fr) 128px; gap: 8px; align-items: center; padding: 6px 8px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); text-align: left; width: 100%; }
.fx-row:hover { border-color: var(--line-strong); background: var(--surface-2); }
.fx-row .r { font-family: var(--font-display); font-weight: 800; color: var(--muted); }
.fx-row .who { min-width: 0; display: grid; }
.fx-row .who b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13px; }
.fx-row .who small { color: var(--muted); font-size: 11px; }
.fx-odds { display: flex; height: 18px; border-radius: 5px; overflow: hidden; font-size: 10px; font-weight: 700; }
.fx-odds i { display: grid; place-items: center; font-style: normal; color: #fff; min-width: 0; }
.fx-pick { font-family: var(--font-display); font-weight: 900; font-size: 18px; text-align: center; border-radius: 6px; line-height: 1.3; }

/* ---------- Toast e confete ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 140%);
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 12px; font-weight: 600; font-size: 13px;
  z-index: 60; transition: transform .4s var(--ease), opacity .3s, visibility .4s; max-width: calc(100% - 32px); box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 10px; opacity: 0; visibility: hidden;
}
.toast.on { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.toast .crest { width: 22px; height: 22px; }
#confetti { position: fixed; inset: 0; pointer-events: none; z-index: 70; width: 100%; height: 100%; }

.foot { margin-top: 28px; color: var(--muted); font-size: 12px; display: grid; gap: 6px; max-width: 90ch; }
.foot p { margin: 0; }

/* ---------- Entrada ---------- */
@media (prefers-reduced-motion: no-preference) {
  .board, .story, .panel { animation: rise .7s var(--ease) both; }
  .story:nth-child(2) { animation-delay: .06s; }
  .story:nth-child(3) { animation-delay: .12s; }
  .grid .panel:nth-child(2) { animation-delay: .1s; }
  @keyframes rise { from { transform: translateY(8px); opacity: .35; } to { transform: none; opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1180px) {
  .board { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
  .next { grid-column: 1 / -1; grid-template-columns: auto auto 1fr; align-items: center; gap: 16px; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .cuts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .stories { grid-template-columns: minmax(0, 1fr); }
  .moments { grid-template-columns: minmax(0, 1fr); }
  .tabs {
    display: flex; position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; margin: 14px 0 0;
    background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); padding: 8px 0;
  }
  .tabs .seg { width: 100%; }
  .tabs .seg button { flex: 1; font-size: 13px; padding: 9px 8px; }
  body[data-pane="tabela"] [data-pane]:not([data-pane="tabela"]),
  body[data-pane="jogos"] [data-pane]:not([data-pane="jogos"]),
  body[data-pane="chances"] [data-pane]:not([data-pane="chances"]) { display: none; }
}
@media (max-width: 720px) {
  .board { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .next { grid-template-columns: minmax(0, 1fr); }
  .brand-eyebrow .tagline { display: none; }
  .brand-name { font-size: 20px; }
  .brand-mark { height: 72px; margin-block: -6px -4px; }
  .brand-mark svg { height: 72px; }
  .tbl { min-width: 0; }
  .tbl-scroll { padding: 0 4px 8px; }
  .tr { grid-template-columns: 30px minmax(0, 1fr) 30px 24px 24px 32px 50px; padding: 0 4px; column-gap: 3px; height: 40px; }
  .tr .c-gp, .tr .c-gc, .tr .c-pct, .tr .c-d, .tr .c-e, .tr .delta { display: none; }
  .club-btn { gap: 7px; }
  .club-btn .nm { font-size: 13px; }
  .duel { gap: 6px; }
  .duel-team .crest { width: 46px; height: 46px; }
  .duel-name { font-size: 14px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .duel-pts { font-size: 46px; }
  .duel .eyebrow { font-size: 9.5px; letter-spacing: .08em; }
  .duel > div { min-width: 0; }
  .form i { width: 9px; height: 9px; }
  .form { gap: 2px; }
  .tr .c-form { display: none; }
  .m-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "ht hs" "at as"; row-gap: 6px; }
  .m-row > :nth-child(1) { grid-area: ht; }
  .m-row > :nth-child(2) { grid-area: hs; }
  .m-row > :nth-child(3) { display: none; }
  .m-row > :nth-child(4) { grid-area: as; }
  .m-row > :nth-child(5) { grid-area: at; flex-direction: row; text-align: left; }
  .d-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .d-stats { gap: 5px; }
  .d-stats div { padding: 7px 6px; }
  .d-stats b { font-size: 20px; }
  .d-stats small { font-size: 9.5px; letter-spacing: .04em; }
  .fx-row { grid-template-columns: 34px 22px minmax(0, 1fr) 96px; }
  .cuts { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 12px 12px; }
  .panel-head { padding: 14px 14px 10px; }
  .rounds { padding: 2px 14px 12px; }
  .round-head { padding: 4px 14px 8px; }
  .day { padding: 2px 8px 6px; }
}
.m-team .nm .short { display: none; }
@media (max-width: 400px) {
  .score input, .score .final-digit { width: 34px; height: 38px; font-size: 22px; }
  .step { width: 20px; height: 20px; }
  .m-team .crest { width: 24px; height: 24px; }
}

/* ---------- Artilheiros ---------- */
.gols-board { grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr) minmax(0, 1fr); }
.g-name { font-family: var(--font-display); font-weight: 900; font-size: clamp(40px, 5.5vw, 64px); line-height: .9; text-transform: uppercase; margin-top: 8px; text-wrap: balance; }
.g-club { display: flex; align-items: center; gap: 10px; margin-top: 12px; background: none; border: 0; padding: 0; color: var(--board-ink); font-weight: 600; font-size: 15px; }
.g-club .crest { width: 30px; height: 30px; }
.g-club:hover { color: var(--led); }
.g-goals { text-align: center; }
.g-goals b { display: block; font-family: var(--font-display); font-weight: 900; font-size: clamp(80px, 9vw, 120px); line-height: .85; color: var(--led); text-shadow: 0 0 22px rgba(255, 194, 26, .35); font-variant-numeric: tabular-nums; }
.g-goals span { display: block; font-family: var(--font-display); font-weight: 800; font-size: 22px; text-transform: uppercase; color: var(--board-dim); margin-top: 4px; }
.g-goals small { display: block; margin-top: 8px; font-size: 12px; color: var(--board-dim); }
.g-chase { display: grid; gap: 10px; }
.g-chase-row { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: center; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 10px; padding: 8px 10px; color: var(--board-ink); text-align: left; width: 100%; }
.g-chase-row:hover { border-color: rgba(255, 194, 26, .5); }
.g-chase-row .crest { width: 26px; height: 26px; }
.g-chase-row b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-chase-row small { color: var(--board-dim); font-size: 12px; }
.g-chase-row strong { font-family: var(--font-display); font-weight: 900; font-size: 28px; color: var(--led); line-height: 1; }
.g-proj { font-size: 12px; color: var(--board-dim); }
.g-proj b { color: var(--board-ink); }

.gols-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 14px; margin-top: 14px; align-items: start; }
.scorers { padding: 0 10px 4px; }
.scr {
  display: grid; grid-template-columns: 34px 30px minmax(0, 1.2fr) minmax(70px, 1fr) 40px 34px 44px 34px;
  column-gap: 8px; align-items: center; min-height: 44px; padding: 0 8px; border-radius: 10px;
}
.scr.sh { min-height: 30px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.scr.sh span { text-align: center; }
.scr.sh span.l { text-align: left; }
.scr.row { background: none; border: 0; width: 100%; text-align: left; color: var(--ink); font-variant-numeric: tabular-nums; }
.scr.row:nth-child(even) { background: var(--surface-2); }
.scr.row:hover { background: var(--action-soft); }
.scr.row > span { text-align: center; min-width: 0; }
.scr .rk { font-family: var(--font-display); font-weight: 800; font-size: 18px; color: var(--muted); }
.scr.top1 .rk, .scr.top2 .rk, .scr.top3 .rk { color: var(--ink); }
.scr .crest { width: 26px; height: 26px; }
.scr .who { text-align: left !important; display: grid; line-height: 1.2; }
.scr .who b { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scr .who small { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sbar { display: block; height: 10px; border-radius: 99px; background: var(--surface-2); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.sbar i { display: block; height: 100%; border-radius: 99px; background: var(--accent); transition: width .8s var(--ease); }
.scr.top1 .sbar i { background: var(--z-title); }
.scr .gl { font-family: var(--font-display); font-weight: 900; font-size: 24px; line-height: 1; }
.scr .muted { color: var(--muted); font-size: 13px; }
.scorers-foot { padding: 8px 18px 16px; }
.gstats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0 18px 14px; }
.gstats .cut b { font-size: 30px; }
.gstats .cut span { font-size: 12px; }
.gsec { padding: 4px 18px 18px; }
.gsec h4 { margin: 6px 0 10px; font-family: var(--font-display); font-size: 19px; font-weight: 800; text-transform: uppercase; }
.rchart { width: 100%; height: auto; display: block; }
.rchart text { fill: var(--muted); font-size: 10px; font-family: var(--font-body); }
.atk { display: grid; gap: 4px; }
.atk-row { display: grid; grid-template-columns: 22px minmax(0, 110px) minmax(0, 1fr) 30px; gap: 8px; align-items: center; background: none; border: 0; padding: 3px 0; text-align: left; color: var(--ink); width: 100%; font-size: 13px; }
.atk-row .crest { width: 20px; height: 20px; }
.atk-row span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.atk-row b { text-align: right; font-variant-numeric: tabular-nums; }
.atk-row:hover span { color: var(--action); }
.atk-row .sbar { height: 8px; }
.atk-row .sbar i { background: var(--z-sula); }
.d-scorers { display: grid; gap: 6px; }
.d-scorers div { display: flex; justify-content: space-between; gap: 10px; background: var(--surface-2); border-radius: 10px; padding: 8px 12px; font-size: 13px; }
.d-scorers b { font-family: var(--font-display); font-size: 20px; font-weight: 900; line-height: 1; }

@media (max-width: 1180px) {
  .gols-board { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .gols-board .g-chase { grid-column: 1 / -1; }
  .gols-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1100px) {
  .top { flex-wrap: wrap; row-gap: 12px; }
  .views { order: 3; flex-basis: 100%; }
  .views .seg { display: grid; width: 100%; }
  .views .seg button { min-width: 0; }
}
@media (max-width: 720px) {
  .views .seg button { padding: 8px 6px; font-size: 12.5px; }
  .views .seg .count { margin-left: 4px; padding: 0 5px; }
  .gols-board { grid-template-columns: minmax(0, 1fr); }
  .g-goals { text-align: left; }
  .scr { grid-template-columns: 28px 26px minmax(0, 1fr) 56px 34px; column-gap: 6px; padding: 0 4px; }
  .scr .c-j, .scr .c-m, .scr .c-a { display: none; }
  .scorers { padding: 0 4px 4px; }
  .gstats { padding: 0 12px 12px; }
  .gsec { padding: 4px 12px 16px; }
}

/* ---------- Meu time ---------- */
.time-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px 0 8px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--surface); font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap;
}
.time-btn:hover { border-color: var(--line-strong); }
.time-btn-crest { width: 22px; height: 22px; display: grid; place-items: center; color: var(--z-rel); flex: none; }
.time-btn-crest svg { width: 18px; height: 18px; }
.time-btn-crest .crest { width: 22px; height: 22px; }

/* Escudo do time, grande e translúcido, por cima de todo o site (não bloqueia cliques) */
.time-marca { position: fixed; inset: 0; display: grid; place-items: center; pointer-events: none; z-index: 35; }
.time-marca img { width: min(84vw, 84vh); height: min(84vw, 84vh); object-fit: contain; opacity: var(--marca-op, .07); }

/* Cores do time: valem nos dois temas (as variáveis --team-* vêm do script) */
:root[data-time]:not(#t) {
  --accent: var(--team-ui); --accent-ink: #FFFFFF; --action: var(--team-ui);
  --action-soft: color-mix(in srgb, var(--team-ui) 12%, #FFFFFF);
  --bg: color-mix(in srgb, var(--team-base) 7%, #EDF0F5);
  --board: color-mix(in srgb, var(--team-base) 20%, #070B16);
  --board-2: color-mix(in srgb, var(--team-base) 32%, #0E1528);
  --marca-op: .07;
}
@media (prefers-color-scheme: dark) {
  :root[data-time]:not([data-theme="light"]):not(#t) {
    --accent: var(--team-led); --accent-ink: #111111; --action: var(--team-led);
    --action-soft: color-mix(in srgb, var(--team-led) 16%, #0F1628);
    --bg: color-mix(in srgb, var(--team-base) 14%, #080D19);
    --marca-op: .09;
  }
}
:root[data-time][data-theme="dark"]:not(#t) {
  --accent: var(--team-led); --accent-ink: #111111; --action: var(--team-led);
  --action-soft: color-mix(in srgb, var(--team-led) 16%, #0F1628);
  --bg: color-mix(in srgb, var(--team-base) 14%, #080D19);
  --marca-op: .09;
}

/* O time escolhido em destaque pelo site */
:root[data-time]:not(#t) .views .seg button[aria-pressed="true"] { background: var(--action); color: var(--accent-ink); }
.mt-label { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--muted); margin: 0 0 6px; }
.mt-label + .mt-titles, .mt-scorers + .mt-label { margin-top: 0; }
.mt-scorers + .mt-label { padding-top: 4px; }
.tr.row.meu { background: color-mix(in srgb, var(--action) 13%, var(--surface)) !important; box-shadow: inset 4px 0 0 var(--action); }
.tr.row.meu .nm { font-weight: 800; }
.match.meu { border-color: color-mix(in srgb, var(--action) 60%, var(--line)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--action) 35%, transparent); }
.match.meu.picked { box-shadow: inset 3px 0 0 var(--accent), inset 0 0 0 1px color-mix(in srgb, var(--action) 35%, transparent); }
.ng-row.meu, .scr.row.meu { background: color-mix(in srgb, var(--action) 13%, var(--surface)) !important; }
.heat-row.meu .ht span { color: var(--action); font-weight: 800; }

/* Escolha do time */
.picker { position: fixed; inset: 0; z-index: 45; display: grid; place-items: center; padding: 16px; pointer-events: none; }
.picker-box {
  pointer-events: auto; width: min(760px, 100%); max-height: calc(100% - 32px); overflow-y: auto; background: var(--surface);
  border-radius: 18px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.55); padding: 20px; transform: translateY(12px) scale(.98); opacity: 0;
  transition: transform .35s var(--ease), opacity .25s;
}
.picker.on .picker-box { transform: none; opacity: 1; }
.picker-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.picker-head h2 { margin: 0; font-family: var(--font-display); font-weight: 900; font-size: 28px; text-transform: uppercase; line-height: 1; }
.picker-head p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.picker-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 8px; }
.pick-team {
  display: grid; justify-items: center; gap: 8px; padding: 14px 8px 12px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface-2); font-weight: 600; font-size: 13px; color: var(--ink); transition: transform .15s, border-color .2s, background .2s;
}
.pick-team:hover { transform: translateY(-2px); border-color: var(--line-strong); background: var(--surface); }
.pick-team .crest { width: 48px; height: 48px; }
.pick-team[aria-pressed="true"] { border-color: var(--action); box-shadow: inset 0 0 0 1px var(--action); }
.picker-foot { display: flex; justify-content: flex-end; margin-top: 14px; }

/* Painel "Seu time" (aba Tabela) */
.meu-time { margin-top: 14px; }
/* Com time do coração escolhido, o placar da rodada sai e o painel do time abre a aba Tabela */
:root[data-time] #placar { display: none; }
:root[data-time] .meu-time { margin-top: 0; }
.mt-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 14px 18px; border-radius: var(--radius);
  border: 1px dashed var(--line-strong); background: var(--surface); color: var(--muted); font-size: 14px;
}
.mt-cta b { color: var(--ink); }
.mt-cta .crests { display: flex; }
.mt-cta .crests > span { display: block; margin-left: -6px; }
.mt-cta .crests > span:first-child { margin-left: 0; }
.mt-cta .crests .crest { width: 26px; height: 26px; }
.mt-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.mt-hero {
  position: relative; display: flex; align-items: center; gap: 18px; padding: 22px 22px 20px; color: #F3F0E4; isolation: isolate; overflow: hidden;
  background: linear-gradient(115deg, color-mix(in srgb, var(--team-ui, #16224A) 82%, #000) 0%, color-mix(in srgb, var(--team-ui, #16224A) 35%, #070B16) 55%, #070B16 100%);
}
.mt-stripe { position: absolute; inset: 0 0 auto 0; height: 6px; display: flex; }
.mt-stripe i { flex: 1; }
.mt-hero .mt-crest { width: 92px; height: 92px; flex: none; filter: drop-shadow(0 4px 12px rgba(0,0,0,.4)); }
.mt-hero .mt-water { position: absolute; right: -30px; top: 50%; width: 240px; height: 240px; transform: translateY(-50%) rotate(-10deg); opacity: .12; z-index: -1; }
.mt-id { min-width: 0; flex: 1; }
.mt-id .eyebrow { color: rgba(243, 240, 228, .7); }
.mt-id h2 { margin: 4px 0 0; font-family: var(--font-display); font-weight: 900; font-size: clamp(34px, 4vw, 48px); line-height: .92; text-transform: uppercase; }
.mt-id p { margin: 6px 0 0; font-size: 13px; color: rgba(243, 240, 228, .78); }
.mt-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.mt-actions .btn { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #F3F0E4; }
.mt-actions .btn:hover { background: rgba(255,255,255,.18); }
.mt-body { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.mt-col { padding: 16px 18px 18px; border-right: 1px solid var(--line); min-width: 0; }
.mt-col:last-child { border-right: 0; }
.mt-col h3 { margin: 0 0 10px; font-family: var(--font-display); font-weight: 800; font-size: 18px; text-transform: uppercase; }
.mt-pos { display: flex; align-items: baseline; gap: 10px; }
.mt-pos b { font-family: var(--font-display); font-weight: 900; font-size: 64px; line-height: .85; color: var(--action); }
.mt-pos span { font-size: 13px; color: var(--muted); }
.mt-line { font-size: 13px; color: var(--muted); margin-top: 8px; }
.mt-line b { color: var(--ink); }
.mt-mini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 12px; }
.mt-mini div { background: var(--surface-2); border-radius: 9px; padding: 6px 8px; }
.mt-mini small { display: block; font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.mt-mini b { font-family: var(--font-display); font-size: 22px; font-weight: 900; font-variant-numeric: tabular-nums; }
.mt-games { display: grid; gap: 6px; }
.mt-game { display: grid; grid-template-columns: 26px minmax(0, 1fr) 84px; gap: 8px; align-items: center; padding: 6px 8px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); text-align: left; width: 100%; color: var(--ink); }
.mt-game:hover { border-color: var(--line-strong); }
.mt-game .crest { width: 24px; height: 24px; }
.mt-game b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mt-game small { color: var(--muted); font-size: 11px; }
.mt-titles { display: flex; flex-wrap: wrap; gap: 6px; }
.mt-titles span { background: var(--surface-2); border-radius: 99px; padding: 4px 10px; font-size: 12px; }
.mt-titles b { font-family: var(--font-display); font-size: 16px; margin-right: 3px; }
.mt-scorers { display: grid; gap: 4px; margin-bottom: 12px; }
.mt-scorers div { display: flex; justify-content: space-between; font-size: 13px; }
.mt-scorers b { font-family: var(--font-display); font-size: 18px; }
.mt-mini .mt-sub { display: block; font-size: 11px; color: var(--muted); white-space: nowrap; }
.mt-form { display: flex; align-items: center; gap: 10px; }
.mt-form .form { justify-content: flex-start; }
.mt-season { margin-top: 12px; }
@media (max-width: 1180px) { .mt-body { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mt-col:nth-child(2) { border-right: 0; } .mt-col:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 720px) {
  .mt-body { grid-template-columns: minmax(0, 1fr); }
  .mt-col { border-right: 0; border-bottom: 1px solid var(--line); }
  .mt-hero { flex-wrap: wrap; padding: 18px 16px; }
  .mt-hero .mt-crest { width: 64px; height: 64px; }
  .time-btn-label { display: none; }
  .time-btn { padding: 0 7px; }
  .picker-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pick-team .crest { width: 40px; height: 40px; }
}

/* ---------- Ao vivo ---------- */
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #FF3B3B; margin-right: 6px; flex: none; animation: livepulse 1.4s ease-in-out infinite; }
@keyframes livepulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 59, 59, .55); } 60% { box-shadow: 0 0 0 6px rgba(255, 59, 59, 0); } }
.lv-pulse { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #FF3B3B; flex: none; animation: livepulse 1.4s ease-in-out infinite; }
.lv-board { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.lv-big { display: flex; align-items: center; gap: 14px; margin-top: 4px; font-family: var(--font-display); font-weight: 900; font-size: clamp(52px, 7vw, 84px); line-height: .9; text-transform: uppercase; color: var(--board-ink); }
.lv-big .lv-pulse { width: 18px; height: 18px; }
.lv-big.off { font-size: clamp(36px, 4.6vw, 54px); color: var(--led); text-shadow: 0 0 18px rgba(255, 194, 26, .3); }
.lv-lead { margin: 8px 0 0; color: var(--board-dim); font-size: 14px; }
.lv-board .next-match { margin-top: 12px; }
.lv-mini { display: grid; gap: 8px; }
.lv-mini > div { display: grid; grid-template-columns: 26px auto 1fr auto 26px; align-items: center; gap: 8px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 8px 12px; font-family: var(--font-display); font-weight: 800; font-size: 20px; }
.lv-mini > div .crest { width: 26px; height: 26px; }
.lv-mini > div small { grid-column: 1 / -1; font-family: var(--font-body); font-weight: 600; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--board-dim); text-align: center; margin-top: -2px; }
.lv-mini .lv-score { justify-self: center; color: var(--led); font-size: 30px; }
.lv-next-side { display: grid; gap: 14px; justify-items: start; }
.lv-tvline { display: grid; gap: 6px; }
.lv-score { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 900; font-size: 34px; line-height: 1; font-variant-numeric: tabular-nums; }
.lv-score i { font-style: normal; font-size: .55em; color: var(--muted); font-weight: 700; }
.lv-score.empty span { color: var(--muted); }
.lv-now { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 12px; margin-top: 14px; }
.lv-now:empty { display: none; }
.lv-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px 16px; display: grid; gap: 12px; box-shadow: inset 0 3px 0 #FF3B3B; }
.lv-card.meu { border-color: color-mix(in srgb, var(--action) 60%, var(--line)); }
.lv-top { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--muted); }
.lv-tag { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: #E0262B; text-transform: uppercase; letter-spacing: .06em; font-size: 12px; }
.lv-tag .lv-pulse { width: 8px; height: 8px; }
.lv-tag.sm { font-size: 11px; letter-spacing: .04em; }
.lv-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; }
.lv-team { display: flex; align-items: center; gap: 10px; background: none; border: 0; padding: 0; font-weight: 700; font-size: 16px; min-width: 0; text-align: left; }
.lv-team:last-child { flex-direction: row-reverse; text-align: right; }
.lv-team .crest { width: 40px; height: 40px; }
.lv-team span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lv-team:hover span { color: var(--action); }
.lv-row .lv-score { font-size: 44px; }
.lv-tv { display: grid; gap: 6px; padding-top: 10px; border-top: 1px dashed var(--line); }
.lv-tv-label { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.tv-row { display: flex; flex-wrap: wrap; gap: 6px; }
.tv { display: inline-flex; align-items: baseline; gap: 6px; padding: 4px 9px; border-radius: 8px; font-size: 12.5px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink); white-space: nowrap; }
.tv b { font-weight: 700; }
.tv small { font-size: 11px; color: var(--muted); }
.tv::before { content: ""; width: 7px; height: 7px; border-radius: 50%; align-self: center; background: var(--tvc, var(--muted)); }
.tv-aberta { --tvc: #179A55; }
.tv-gratis { --tvc: #E0262B; }
.tv-cabo { --tvc: #1E9BD6; }
.tv-ppv { --tvc: #8B5CF6; }
.tv-stream { --tvc: #F59E0B; }
.lv-board .tv { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.12); color: var(--board-ink); }
.tv-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--muted); }
.tv-legend span { display: inline-flex; align-items: center; gap: 6px; }
.tv-legend span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--tvc); }
.tv-none { font-size: 12px; color: var(--muted); font-style: italic; }
.lv-board .tv-none { color: var(--board-dim); }
.lv-ge { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 600; color: var(--action); text-decoration: none; white-space: nowrap; }
.lv-ge svg { width: 14px; height: 14px; }
.lv-ge:hover { text-decoration: underline; text-underline-offset: 3px; }
.lv-card .lv-ge { justify-self: start; }
.lv-round { margin-top: 14px; }
#lv-list { padding: 0 10px 6px; }
#lv-list .ng-day { padding-inline: 8px; }
.lv-line { display: grid; grid-template-columns: 86px minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: 14px; padding: 10px 8px; border-radius: 10px; border-bottom: 1px solid var(--line); }
.lv-line:last-child { border-bottom: 0; }
.lv-line.live { background: color-mix(in srgb, #FF3B3B 7%, var(--surface)); }
.lv-line.meu { box-shadow: inset 4px 0 0 var(--action); background: color-mix(in srgb, var(--action) 10%, var(--surface)); }
.lv-when { font-size: 13px; font-weight: 600; color: var(--muted); }
.lv-line.next .lv-when { color: var(--ink); font-family: var(--font-display); font-size: 20px; font-weight: 800; }
.lv-match { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; }
.lv-match .lv-score { font-size: 24px; }
.lv-t { display: flex; align-items: center; gap: 8px; background: none; border: 0; padding: 0; font-weight: 600; min-width: 0; }
.lv-t.away { justify-content: flex-end; text-align: right; }
.lv-t span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lv-t:hover span { color: var(--action); }
.lv-where { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; min-width: 0; }
.lv-note { margin: 0; padding: 12px 18px 16px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); }
@media (max-width: 900px) {
  .lv-board { grid-template-columns: minmax(0, 1fr); }
  .lv-line { grid-template-columns: 70px minmax(0, 1fr); }
  .lv-where { grid-column: 2; }
}
@media (max-width: 560px) {
  .lv-line { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .lv-where { grid-column: auto; }
  .lv-team { font-size: 14px; flex-direction: column; text-align: center; gap: 6px; }
  .lv-team:last-child { flex-direction: column; text-align: center; }
  .lv-team span { white-space: normal; }
  .lv-row .lv-score { font-size: 36px; }
  .tv small { display: none; }
}
@media (prefers-reduced-motion: reduce) { .live-dot, .lv-pulse { animation: none; } }

/* Detalhes do jogo (Ao vivo) */
.ev { display: inline-block; flex: none; vertical-align: -2px; }
svg.ev { width: 14px; height: 14px; color: #111; }
svg.ev.miss { opacity: .45; }
.ev.card { width: 9px; height: 12px; border-radius: 2px; }
.ev.card.yc { background: #F5C518; }
.ev.card.rc { background: #E0262B; }
.lv-scorers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; font-size: 12.5px; color: var(--muted); margin-top: -4px; }
.lv-scorers div { display: grid; gap: 3px; align-content: start; }
.lv-scorers .away { text-align: right; justify-items: end; }
.lv-scorers span { display: inline-flex; align-items: center; gap: 6px; }
.lv-det { border-top: 1px dashed var(--line); padding-top: 8px; }
.lv-det > summary { cursor: pointer; font-size: 12.5px; font-weight: 600; color: var(--action); list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.lv-det > summary::-webkit-details-marker { display: none; }
.lv-det > summary::before { content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform .2s; margin-right: 2px; }
.lv-det[open] > summary::before { transform: rotate(45deg); }
.lv-line .lv-det { grid-column: 1 / -1; border-top: 0; padding-top: 0; }
.det-box { margin-top: 10px; }
.det-wait { font-size: 12.5px; color: var(--muted); padding: 6px 0; }
.det { display: grid; gap: 16px; }
.det-sec h5 { margin: 0 0 8px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.det-tl { display: grid; gap: 2px; }
.det-ev { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); align-items: center; gap: 8px; padding: 5px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.det-ev:last-child { border-bottom: 0; }
.det-ev.k-sub { opacity: .75; }
.det-ev.k-goal, .det-ev.k-pen, .det-ev.k-og { font-size: 14px; }
.det-min { text-align: center; font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; }
.det-side { display: flex; align-items: center; gap: 8px; min-width: 0; }
.det-ev .det-side:first-child { justify-content: flex-end; text-align: right; }
.det-side b { font-weight: 700; }
.det-side small { display: block; color: var(--muted); font-size: 11.5px; font-weight: 400; }
.det-side b + small { margin-top: -1px; }
.det-ev.h .det-side:first-child { flex-wrap: nowrap; }
.det-side > b, .det-side > small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.det-ev .det-side:first-child > b, .det-ev .det-side:last-child > b { display: block; }
.det-side { flex-direction: row; }
.det-ev .det-side:first-child { flex-direction: row; }
.det-teams { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.det-th { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 13px; }
.det-th .crest { width: 22px; height: 22px; }
.det-th span { margin-left: auto; font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--muted); }
.det-line { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 8px 0 2px; }
.det-pl { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 6px; align-items: center; font-size: 13px; padding: 2px 0; }
.det-pl .num { font-family: var(--font-display); font-weight: 800; color: var(--muted); text-align: right; }
.det-pl .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.det-pl .mk { display: inline-flex; gap: 3px; align-items: center; }
.det-pl.in .nm { color: var(--muted); }
.det-out { font-style: normal; color: #E0262B; font-weight: 800; font-size: 12px; }
.det-stats { display: grid; gap: 10px; }
.det-st { display: grid; grid-template-columns: 52px 1fr 52px; align-items: center; gap: 4px 8px; font-size: 12.5px; }
.det-st span { text-align: center; color: var(--muted); }
.det-st b { font-family: var(--font-display); font-weight: 800; font-size: 17px; font-variant-numeric: tabular-nums; }
.det-st b:last-of-type { text-align: right; }
.det-bar { grid-column: 1 / -1; display: flex; gap: 3px; height: 6px; }
.det-bar i { display: block; border-radius: 3px; background: var(--action); }
.det-bar i + i { background: color-mix(in srgb, var(--ink) 35%, transparent); }
@media (max-width: 560px) {
  .det-teams { grid-template-columns: 1fr; }
  .det-ev { grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr); font-size: 12px; }
  .lv-scorers { font-size: 11.5px; }
}
.lv-off { grid-column: 1 / -1; padding: 12px 16px; border-radius: var(--radius); border: 1px solid color-mix(in srgb, #F59E0B 45%, var(--line)); background: color-mix(in srgb, #F59E0B 10%, var(--surface)); font-size: 13px; }

/* Lista da rodada: faixas da mesma altura, dias em faixa própria */
#lv-list .ng-day { margin: 14px 0 2px; padding: 7px 8px; border-radius: 8px; background: var(--surface-2); }
#lv-list .ng-day:first-child { margin-top: 0; }
.lv-line { min-height: 62px; }
.lv-line:has(+ .ng-day) { border-bottom: 0; }
.lv-acts { display: inline-flex; align-items: center; gap: 14px; margin-left: auto; }
.lv-detbtn { display: inline-flex; align-items: center; gap: 5px; background: none; border: 0; padding: 0; font-size: 12.5px; font-weight: 600; color: var(--action); white-space: nowrap; }
.lv-detbtn::after { content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.lv-detbtn[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }
.lv-detbtn:hover { text-decoration: underline; text-underline-offset: 3px; }
.lv-detpanel { grid-column: 1 / -1; padding: 12px 0 4px; border-top: 1px dashed var(--line); }
@media (max-width: 560px) {
  .lv-where { display: grid; gap: 8px; }
  .lv-acts { margin-left: 0; justify-content: flex-end; }
}
