:root {
  --bg: #0b0d17;
  --bg2: #121527;
  --card: #171b31;
  --card2: #1e2340;
  --line: #2a3057;
  --text: #eef0fa;
  --muted: #9aa1c4;
  --accent: #f97316;
  --accent2: #fbbf24;
  --good: #4ade80;
  --bad: #f87171;
  --warn: #facc15;
  --blue: #60a5fa;
  --radius: 14px;
  --team1: #f97316;
  --team2: #fff;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: Barlow, system-ui, -apple-system, sans-serif; font-size: 15px; }
body { min-height: 100vh; overflow-x: hidden; }
button { font: inherit; cursor: pointer; }
input, select { font: inherit; color: var(--text); background: var(--bg2); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
h1, h2, h3, .cond { font-family: 'Barlow Condensed', Barlow, sans-serif; letter-spacing: .02em; }
h2 { font-size: 22px; margin: 0 0 12px; text-transform: uppercase; }
h3 { font-size: 16px; margin: 0 0 10px; text-transform: uppercase; color: var(--muted); font-weight: 700; }
a { color: var(--accent2); }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.good { color: var(--good); } .bad { color: var(--bad); } .warn { color: var(--warn); }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.spread { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.grid { display: grid; gap: 14px; }
.g2 { grid-template-columns: 1fr 1fr; } .g3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .g2, .g3 { grid-template-columns: 1fr; } }

.btn { border: 0; border-radius: 12px; padding: 10px 16px; font-weight: 700; background: var(--card2); color: var(--text); border: 1px solid var(--line); transition: transform .08s, background .15s; }
.btn:hover { background: #283060; }
.btn:active { transform: scale(.97); }
.btn.primary { background: linear-gradient(180deg, #fb8a2e, #ea580c); border-color: #ff9a4d; color: #fff; text-shadow: 0 1px 0 rgba(0,0,0,.25); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.big { padding: 14px 22px; font-size: 17px; font-family: 'Barlow Condensed'; text-transform: uppercase; letter-spacing: .04em; }
.btn.ghost { background: transparent; }
.btn.sm { padding: 6px 10px; font-size: 13px; border-radius: 9px; }
.btn.danger { background: #3a1620; border-color: #7f1d1d; }
.btn.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 99px; background: var(--card2); border: 1px solid var(--line); font-size: 12px; font-weight: 700; }
.pos { display: inline-block; min-width: 34px; text-align: center; padding: 2px 6px; border-radius: 6px; font-family: 'Barlow Condensed'; font-weight: 800; font-size: 12px; color: #0b0d17; }
.pos.PG { background: #60a5fa; } .pos.SG { background: #38bdf8; } .pos.SF { background: #4ade80; } .pos.PF { background: #facc15; } .pos.C { background: #fb7185; }
.ovr { font-family: 'Barlow Condensed'; font-weight: 800; font-size: 22px; }
.bar { height: 6px; background: #262b4d; border-radius: 9px; overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 9px; background: var(--good); }
.bar.mid > i { background: var(--warn); } .bar.low > i { background: var(--bad); }
.crest { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-family: 'Barlow Condensed'; font-weight: 900; font-size: 13px; border: 3px solid; flex: none; }
.crest.lg { width: 64px; height: 64px; font-size: 20px; border-width: 4px; }

/* layout */
.shell { max-width: 1200px; margin: 0 auto; padding: 0 16px 90px; }
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(11,13,23,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar .in { max-width: 1200px; margin: 0 auto; padding: 10px 16px; display: flex; gap: 14px; align-items: center; }
.brand { font-family: 'Barlow Condensed'; font-weight: 900; font-size: 22px; letter-spacing: .03em; color: var(--accent); text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.brand b { color: var(--text); }
.topinfo { margin-left: auto; display: flex; gap: 16px; align-items: center; font-size: 13px; }
.topinfo .k { color: var(--muted); font-size: 11px; text-transform: uppercase; display: block; }
.nav { display: flex; gap: 4px; max-width: 1200px; margin: 0 auto; padding: 0 12px; overflow-x: auto; }
.nav button { background: none; border: 0; color: var(--muted); padding: 10px 14px; font-weight: 700; border-bottom: 3px solid transparent; white-space: nowrap; position: relative; }
.nav button.on { color: var(--text); border-bottom-color: var(--accent); }
.nav .badge { position: absolute; top: 4px; right: 2px; background: var(--accent); color: #fff; border-radius: 99px; font-size: 10px; padding: 1px 5px; }
@media (max-width: 720px) {
  .topinfo .hide-m { display: none; }
  .topbar { backdrop-filter: none; background: var(--bg); }
  .brand b, .brand { font-size: 18px; }
  .topbar .in { gap: 10px; }
  .nav { position: fixed; bottom: 0; left: 0; right: 0; background: #0d1020; border-top: 1px solid var(--line); z-index: 30; justify-content: space-around; padding: 0 0 env(safe-area-inset-bottom); }
  .nav button { padding: 12px 8px; font-size: 12px; border-bottom: 0; border-top: 3px solid transparent; }
  .nav button.on { border-top-color: var(--accent); }
}
.page { padding-top: 18px; }

/* tela inicial */
.hero { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: radial-gradient(1200px 600px at 50% -10%, #3b1d0a 0%, transparent 60%), radial-gradient(800px 500px at 100% 100%, #14204a 0%, transparent 60%); }
.hero .box { max-width: 760px; text-align: center; }
.logo { font-family: 'Barlow Condensed'; font-weight: 900; font-size: clamp(48px, 11vw, 96px); line-height: .9; text-transform: uppercase; letter-spacing: .01em; }
.logo span { color: var(--accent); }
.tag { color: var(--muted); font-size: 18px; margin: 14px auto 28px; max-width: 560px; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin-top: 34px; text-align: left; }
.features .card { padding: 12px; font-size: 13px; }
.features b { display: block; font-family: 'Barlow Condensed'; font-size: 16px; text-transform: uppercase; color: var(--accent2); }

.teamgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.teamcard { text-align: left; background: var(--card); border: 2px solid var(--line); border-radius: 14px; padding: 12px; display: flex; gap: 10px; align-items: center; color: var(--text); }
.teamcard.sel { border-color: var(--accent); background: #2a1c12; }
.stars { color: var(--accent2); letter-spacing: 1px; font-size: 12px; }

/* central */
.next { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--card2), var(--card)); }
.next .vs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; text-align: center; margin: 12px 0 16px; }
.next .vs .t { display: flex; flex-direction: column; align-items: center; gap: 6px; font-weight: 700; }
.next .vs .x { font-family: 'Barlow Condensed'; font-size: 28px; color: var(--muted); }
.conf .item { margin-bottom: 10px; } .conf .spread { font-size: 13px; margin-bottom: 4px; }
.inbox .item { border-left: 4px solid var(--accent); background: var(--bg2); border-radius: 10px; padding: 12px; margin-bottom: 10px; }
.news { max-height: 380px; overflow: auto; }
.news div { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.news .d { color: var(--muted); font-size: 12px; margin-right: 6px; }
.form span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; font-weight: 800; font-size: 12px; margin-right: 3px; }
.form .V { background: #14532d; color: var(--good); } .form .D { background: #4c1d1d; color: var(--bad); }

.map svg { width: 100%; height: auto; display: block; border-radius: 12px; }
.map .bld { cursor: pointer; transition: transform .12s; transform-box: fill-box; transform-origin: center; }
.map .bld:hover { transform: translateY(-3px); filter: brightness(1.15); }

/* tabelas */
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; padding: 8px 6px; border-bottom: 1px solid var(--line); }
td { padding: 8px 6px; border-bottom: 1px solid #20254a; }
tr.me td { background: rgba(249,115,22,.12); }
tr.click { cursor: pointer; } tr.click:hover td { background: #1c2142; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.zone-po td:first-child { box-shadow: inset 3px 0 0 var(--good); }
.zone-rel td:first-child { box-shadow: inset 3px 0 0 var(--bad); }
.zone-up td:first-child { box-shadow: inset 3px 0 0 var(--blue); }
.scroll { overflow-x: auto; }

/* elenco */
.halfcourt { position: relative; aspect-ratio: 1.15; background: linear-gradient(#d9a066, #c98a4b); border-radius: 14px; overflow: hidden; border: 3px solid #fff3; }
.halfcourt .lines { position: absolute; inset: 0; }
.halfcourt .slot { position: absolute; transform: translate(-50%, -50%); width: 128px; }
.pcard { background: rgba(14,16,32,.93); border: 1px solid #ffffff22; border-radius: 12px; padding: 8px; text-align: center; cursor: pointer; }
.pcard.sel { outline: 3px solid var(--accent2); }
.pcard .nm { font-weight: 700; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bench .b { display: grid; grid-template-columns: 40px 1fr 44px 80px auto; gap: 8px; align-items: center; padding: 8px; border-bottom: 1px solid var(--line); cursor: pointer; }
.bench .b:hover { background: var(--bg2); }
.bench .b.sel { background: #2a1c12; }
.seg { display: inline-flex; background: var(--bg2); border: 1px solid var(--line); border-radius: 10px; padding: 3px; gap: 3px; flex-wrap: wrap; }
.seg button { border: 0; background: none; color: var(--muted); padding: 6px 10px; border-radius: 8px; font-weight: 700; font-size: 13px; }
.seg button.on { background: var(--accent); color: #fff; }
.tactic .opt { margin-bottom: 14px; }
.tactic .opt .muted { font-size: 12px; margin-top: 4px; }

/* partida */
.live { display: grid; grid-template-columns: 1fr 340px; gap: 14px; }
@media (max-width: 980px) { .live { grid-template-columns: 1fr; } }
.scoreboard { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; background: #05060c; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; gap: 10px; }
.scoreboard .tm { display: flex; align-items: center; gap: 10px; }
.scoreboard .tm.r { justify-content: flex-end; text-align: right; }
.scoreboard .sc { font-family: 'Barlow Condensed'; font-size: 44px; font-weight: 900; line-height: 1; min-width: 70px; text-align: center; }
.scoreboard .mid { text-align: center; font-family: 'Barlow Condensed'; }
.scoreboard .clk { font-size: 26px; font-weight: 800; color: var(--accent2); font-variant-numeric: tabular-nums; }
.scoreboard .meta { font-size: 11px; color: var(--muted); }
.canvas-wrap { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #0d1020; margin-top: 10px; }
canvas#court { display: block; width: 100%; }
.pbp { height: 220px; overflow: auto; font-size: 14px; background: var(--bg2); border-radius: 12px; padding: 6px 10px; margin-top: 10px; }
.pbp div { padding: 5px 0; border-bottom: 1px solid #20254a; }
.pbp .t { color: var(--muted); font-variant-numeric: tabular-nums; margin-right: 8px; font-size: 12px; }
.pbp .score { color: #fff; font-weight: 700; }
.pbp .big { color: var(--accent2); font-weight: 800; }
.oncourt .r { display: grid; grid-template-columns: 34px 1fr 54px 28px auto; gap: 6px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.controls { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; align-items: center; }
.qtable td, .qtable th { padding: 4px 6px; text-align: center; font-size: 13px; }

/* modal */
.modal { position: fixed; inset: 0; background: rgba(5,6,12,.72); z-index: 50; display: grid; place-items: center; padding: 16px; }
.modal .box { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px; width: min(640px, 100%); max-height: 90vh; overflow: auto; }
.modal .close { float: right; }
.attr { display: grid; grid-template-columns: 120px 1fr 32px; gap: 8px; align-items: center; font-size: 13px; margin: 6px 0; }
.toast { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%); background: #111; border: 1px solid var(--accent); padding: 10px 16px; border-radius: 12px; z-index: 60; max-width: 90vw; }
.field { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
.kpi { font-family: 'Barlow Condensed'; font-size: 26px; font-weight: 800; color: var(--text); }
.bracket { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bracket .s { background: var(--bg2); border-radius: 10px; padding: 8px; margin-bottom: 8px; font-size: 13px; }
.bracket .w { font-weight: 800; color: var(--accent2); }
@media (max-width: 720px) { .bracket { grid-template-columns: 1fr; } }

/* ===================== v2: layout do jogo ===================== */
.avatar { display: block; flex: none; border-radius: 22%; }
.av-wrap { position: relative; display: inline-block; }
.flag { font-size: 12px; }
.cols3 { display: grid; grid-template-columns: 260px 1fr 320px; gap: 14px; align-items: start; }
@media (max-width: 1100px) { .cols3 { grid-template-columns: 1fr 1fr; } .cols3 > .colL { grid-column: 1 / -1; } }
@media (max-width: 760px) { .cols3 { grid-template-columns: 1fr; } }
.colL .clubcard { text-align: center; background: linear-gradient(180deg, color-mix(in srgb, var(--team1) 45%, var(--card)), var(--card)); }
.clubcard .crest { margin: 4px auto 8px; }
.coachcard { display: flex; gap: 12px; align-items: center; }
.mini5 { display: flex; gap: 6px; justify-content: space-between; }
.mini5 > div { text-align: center; font-size: 11px; width: 20%; }
.mini5 .avatar { margin: 0 auto 2px; }
.kv { display: flex; justify-content: space-between; font-size: 13px; padding: 5px 0; border-bottom: 1px solid var(--line); }
.kv:last-child { border: 0; }
.chip { font-size: 11px; font-weight: 800; padding: 1px 6px; border-radius: 6px; margin-left: 6px; animation: pop .6s ease; }
.chip.up { background: #14532d; color: var(--good); } .chip.down { background: #4c1d1d; color: var(--bad); }
@keyframes pop { 0% { transform: scale(.2); opacity: 0 } 60% { transform: scale(1.25) } 100% { transform: scale(1); opacity: 1 } }
.bar > i { transition: width .9s cubic-bezier(.2,.9,.3,1); }

.next .crest.xl { width: 92px; height: 92px; font-size: 26px; border-width: 5px; }
.postura { display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; margin: 4px 0 12px; }
.postura button { flex: 1; min-width: 92px; padding: 8px 6px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg2); color: var(--muted); font-weight: 800; font-size: 12px; text-transform: uppercase; font-family: 'Barlow Condensed'; letter-spacing: .04em; }
.postura button.on { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 0 0 3px #f9731633; }
.cal .g { display: grid; grid-template-columns: 54px 28px 1fr auto; gap: 8px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.cal .ha { font-weight: 800; font-size: 11px; color: var(--muted); }
.res { font-weight: 800; }

/* nova carreira */
.newgrid { display: grid; grid-template-columns: 1fr 320px; gap: 16px; align-items: start; }
@media (max-width: 860px) { .newgrid { grid-template-columns: 1fr; } }
.crestgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.crestbtn { background: var(--card); border: 2px solid var(--line); border-radius: 14px; padding: 12px 6px; color: var(--text); text-align: center; transition: transform .12s, border-color .12s; }
.crestbtn:hover { transform: translateY(-3px); }
.crestbtn.sel { border-color: var(--accent); background: #2a1c12; }
.crestbtn .crest { margin: 0 auto 6px; width: 52px; height: 52px; font-size: 15px; }
.crestbtn .n { font-weight: 800; font-size: 13px; line-height: 1.1; }
.sidepanel { position: sticky; top: 76px; }
.steps { display: flex; gap: 8px; margin: 8px 0 16px; }
.steps span { padding: 4px 12px; border-radius: 99px; background: var(--card2); color: var(--muted); font-size: 12px; font-weight: 800; }
.steps span.on { background: var(--accent); color: #fff; }
.picker { display: flex; gap: 6px; flex-wrap: wrap; }
.picker button { width: 34px; height: 34px; border-radius: 9px; border: 2px solid var(--line); background: var(--bg2); color: var(--text); font-weight: 800; }
.picker button.on { border-color: var(--accent); }

/* mapa noturno */
.mapwrap { display: grid; grid-template-columns: 1fr 300px; gap: 14px; }
@media (max-width: 900px) { .mapwrap { grid-template-columns: 1fr; } }
.mapsvg { width: 100%; height: auto; display: block; border-radius: 16px; border: 1px solid var(--line); background: #0b1120; }
.mapsvg .bld { cursor: pointer; }
.mapsvg .bld:hover rect.roof, .mapsvg .bld.sel rect.roof { stroke: #fde047; stroke-width: 3; }
.bldtabs { display: flex; gap: 6px; overflow-x: auto; padding: 8px 0; }
.bldtabs button { white-space: nowrap; }
.bldpanel .ill { font-size: 54px; text-align: center; padding: 18px; border-radius: 14px; background: radial-gradient(circle at 50% 40%, #2a3263, #12152a); margin-bottom: 12px; }
@keyframes glow { 0%,100% { opacity: .55 } 50% { opacity: .9 } }
.lamp { animation: glow 3s ease-in-out infinite; }

/* transmissão */
.live2 { display: grid; grid-template-columns: 1fr 360px; gap: 14px; }
@media (max-width: 1000px) { .live2 { grid-template-columns: 1fr; } }
.stage { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #05060d; }
.sbpill { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; align-items: center; gap: 10px; background: rgba(5,6,12,.86); border: 1px solid #ffffff22; border-radius: 14px; padding: 6px 12px; backdrop-filter: blur(6px); white-space: nowrap; }
.sbpill .crest { width: 30px; height: 30px; font-size: 10px; border-width: 2px; }
.sbpill .sc { font-family: 'Barlow Condensed'; font-weight: 900; font-size: 30px; min-width: 40px; text-align: center; line-height: 1; }
.sbpill .sc.bump { animation: bump .5s ease; color: var(--accent2); }
@keyframes bump { 0% { transform: scale(1) } 40% { transform: scale(1.45) } 100% { transform: scale(1) } }
.sbpill .mid { text-align: center; font-family: 'Barlow Condensed'; line-height: 1.05; }
.sbpill .clk { color: var(--accent2); font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; }
.sbpill .q { font-size: 11px; color: var(--muted); }
.sbpill .tm { font-size: 11px; color: var(--muted); }
.overlay { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; background: rgba(5,6,12,.55); }
.overlay .msg { font-family: 'Barlow Condensed'; font-weight: 900; font-size: 22px; letter-spacing: .08em; background: rgba(5,6,12,.85); padding: 10px 18px; border-radius: 12px; border: 1px solid #ffffff22; cursor: pointer; }
.prep { position: absolute; inset: 0; z-index: 5; background: radial-gradient(circle at 50% 45%, #1b2150, #05060d 70%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.prep .vsrow { display: flex; align-items: center; gap: 22px; }
.prep .crest { width: 84px; height: 84px; font-size: 22px; border-width: 5px; }
.prep .l { animation: inL .7s cubic-bezier(.2,.9,.3,1.3) both; } .prep .r { animation: inR .7s cubic-bezier(.2,.9,.3,1.3) both; }
@keyframes inL { from { transform: translateX(-140px) scale(.5); opacity: 0 } }
@keyframes inR { from { transform: translateX(140px) scale(.5); opacity: 0 } }
.prep .t { font-family: 'Barlow Condensed'; font-weight: 900; font-size: 20px; letter-spacing: .12em; }
.prep .pbar { width: min(320px, 70%); height: 6px; background: #ffffff1a; border-radius: 9px; overflow: hidden; }
.prep .pbar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent2)); transition: width .3s; }
.lineups { position: absolute; inset: 0; z-index: 5; background: rgba(5,6,12,.88); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 14px; gap: 10px; }
.lineups .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: min(640px, 100%); }
.lineups .tcol { background: var(--card); border-radius: 12px; padding: 10px; border-top: 4px solid; }
.lrow { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 13px; }
.lrow .nm { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ctrlbar { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-top: 10px; }
.side .tabs { display: flex; gap: 4px; margin-bottom: 10px; }
.side .tabs button { flex: 1; }
.sidebody { max-height: 560px; overflow: auto; }
.ins { display: grid; grid-template-columns: 30px 1fr; gap: 8px; padding: 10px; border-radius: 12px; background: var(--bg2); margin-bottom: 8px; border-left: 4px solid var(--line); animation: slide .35s ease; }
.ins.l3 { border-left-color: var(--bad); } .ins.l2 { border-left-color: var(--warn); } .ins.l1 { border-left-color: var(--blue); } .ins.l0 { border-left-color: var(--good); }
.ins .ic { font-size: 20px; }
.ins b { display: block; font-size: 14px; }
.ins p { margin: 2px 0 6px; font-size: 13px; color: var(--muted); }
@keyframes slide { from { transform: translateY(6px); opacity: 0 } }
.cmp { margin-bottom: 10px; font-size: 13px; }
.cmp .lbl { display: flex; justify-content: space-between; margin-bottom: 3px; }
.cmp .lbl span:nth-child(2) { color: var(--muted); font-size: 12px; }
.cmp .duo { display: flex; height: 8px; border-radius: 9px; overflow: hidden; background: #262b4d; }
.cmp .duo i { display: block; height: 100%; transition: width .6s; }
.shotcharts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.shotcharts svg { width: 100%; background: #c98a4b; border-radius: 10px; }

/* fim de jogo */
.final { text-align: center; }
.final .row { justify-content: center; }
.final .scorebig { font-family: 'Barlow Condensed'; font-weight: 900; font-size: 56px; line-height: 1; }
.final .mvp { display: flex; gap: 12px; align-items: center; justify-content: center; background: var(--bg2); border-radius: 14px; padding: 10px; margin: 14px 0; text-align: left; }
.hero .ballbounce { font-size: 54px; display: inline-block; animation: bounce 1.1s cubic-bezier(.3,0,.5,1) infinite alternate; }
@keyframes bounce { from { transform: translateY(-18px) } to { transform: translateY(10px) scale(1.06, .94) } }
.fadein { animation: fade .35s ease both; }
@keyframes fade { from { opacity: 0; transform: translateY(6px) } }
.grouph { margin: 14px 0 6px; font-size: 12px; color: var(--muted); font-weight: 800; text-transform: uppercase; }
.prow { display: grid; grid-template-columns: 42px 1fr 52px 50px 110px; gap: 10px; align-items: center; padding: 6px 4px; border-bottom: 1px solid var(--line); cursor: pointer; }
.prow:hover { background: var(--bg2); }
.prow.sel { background: #2a1c12; }
@media (max-width: 600px) { .prow { grid-template-columns: 42px 1fr 44px 70px; } .prow .hide-s { display: none; } }
@media (max-width: 1100px) { .cols3 > .colL { order: 3; } }
.lineups { justify-content: flex-start; overflow: auto; }
.lineups .tcol { padding: 8px; }
.lineups .lrow { padding: 2px 0; font-size: 12px; }
@media (max-width: 760px) { .lineups .bench { display: none; } .lineups .lrow .avatar { width: 22px; height: 22px; } .lineups { padding: 8px; gap: 6px; } }
.lineups .go { position: sticky; bottom: 0; }
.mapwrap { grid-template-columns: minmax(0, 1fr) 300px; }
.mapwrap > div { min-width: 0; }
@media (max-width: 900px) { .mapwrap { grid-template-columns: minmax(0, 1fr); } }
.live2 { grid-template-columns: minmax(0, 1fr) 360px; }
@media (max-width: 1000px) { .live2 { grid-template-columns: minmax(0, 1fr); } }
.live2 > div { min-width: 0; }

/* ===================== v3: mobile-first, análise ===================== */
.hbtn { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line); background: var(--card2); color: var(--muted); font-size: 11px; font-weight: 800; line-height: 1; padding: 0; vertical-align: middle; margin-left: 4px; }
.hbtn.big { width: 30px; height: 30px; font-size: 15px; color: var(--text); }
.helppop { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); width: min(420px, calc(100vw - 32px)); background: #0f1224; border: 1px solid var(--accent); border-radius: 14px; padding: 14px; z-index: 70; box-shadow: 0 10px 40px #000a; animation: fade .2s; }
.helppop p { color: var(--muted); font-size: 14px; margin: 6px 0 10px; }
.nav .ni { display: none; }
@media (max-width: 720px) {
  .nav button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px 10px; font-size: 10px; flex: 1; min-width: 0; }
  .nav .ni { display: block; font-size: 18px; line-height: 1; }
  .nav .nl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .btn { min-height: 42px; }
  .btn.sm { min-height: 36px; padding: 8px 12px; }
  .seg button { padding: 9px 12px; }
  .shell { padding: 0 12px 96px; }
  .card { padding: 14px; }
  h2 { font-size: 20px; }
}
/* transmissão */
.ticker { margin-top: 8px; background: var(--bg2); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ticker.flash { animation: tick .5s ease; }
@keyframes tick { from { background: #3a2412 } }
.ctrlbar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 10px; }
.cb { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 54px; border-radius: 12px; border: 1px solid var(--line); background: var(--card2); color: var(--text); font-weight: 800; font-size: 17px; }
.cb small { font-size: 10px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.cb.main { background: linear-gradient(180deg, #fb8a2e, #ea580c); border-color: #ff9a4d; }
.cb.main small { color: #fff; }
.cb:active { transform: scale(.96); }
.live-info { margin-top: 6px; }
.ltabs { display: flex; gap: 4px; overflow-x: auto; margin-bottom: 10px; scrollbar-width: none; }
.ltabs button { flex: 1; min-width: 64px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg2); color: var(--muted); font-size: 11px; font-weight: 800; position: relative; }
.ltabs button span { font-size: 17px; }
.ltabs button.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.ltabs .dot { position: absolute; top: 5px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: #ef4444; }
.move { padding: 8px 10px; background: var(--bg2); border-radius: 10px; margin-bottom: 6px; border-left: 3px solid var(--blue); }
.luck { display: flex; align-items: center; gap: 8px; margin: 6px 0; }
.luck .lk { flex: 1; height: 10px; background: #262b4d; border-radius: 9px; position: relative; overflow: hidden; }
.luck .lk i { position: absolute; top: 0; bottom: 0; border-radius: 9px; }
.luck .lk b { position: absolute; left: 50%; top: -2px; bottom: -2px; width: 2px; background: #fff8; }
.verdict { background: var(--bg2); border-radius: 12px; padding: 10px 12px; font-size: 13px; margin: 8px 0; border-left: 3px solid var(--accent2); }
.lineup { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.lineup .faces { display: flex; gap: 2px; flex: 1; }
.boxwrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 10px; }
.livebox { font-size: 12px; white-space: nowrap; }
.livebox th, .livebox td { padding: 6px 6px; text-align: center; }
.livebox .stick { position: sticky; left: 0; background: var(--card); text-align: left; z-index: 1; }
.livebox .pn { display: flex; align-items: center; gap: 6px; }
.livebox tr.oncourt td { background: rgba(249,115,22,.06); }
.livebox tr.oncourt .stick { background: #21202f; }
.livebox tr.selrow td, .livebox tr.selrow .stick { background: #3a2412; }
.livebox tr.out { opacity: .4; }
.livebox tr[data-a] { cursor: pointer; }
.scopts { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.scopts select { padding: 8px; }
.hc { width: 100%; border-radius: 12px; display: block; margin: 6px 0; }
.ztable { font-size: 12px; } .ztable td, .ztable th { padding: 5px 6px; }
.modal-actions { text-align: right; margin-top: 12px; }
.guide { text-align: center; }
.guide .gic { font-size: 56px; margin: 6px 0; }
.guide p { color: var(--muted); font-size: 15px; line-height: 1.45; }
.guide .dots { display: flex; justify-content: center; gap: 6px; margin: 14px 0; }
.guide .dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.guide .dots i.on { background: var(--accent); width: 22px; border-radius: 9px; }
@media (max-width: 1000px) {
  body.in-live .shell { padding-bottom: 110px; }
  body.in-live .ctrlbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; margin: 0; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(11,13,23,.96); border-top: 1px solid var(--line); }
  body.in-live .helppop { bottom: 110px; }
  body.in-live .toast { bottom: 120px; }
  .sbpill { top: 6px; padding: 4px 8px; gap: 6px; }
  .sbpill .sc { font-size: 24px; min-width: 30px; }
  .sbpill .tm { display: none; }
  .sbpill .crest { width: 24px; height: 24px; font-size: 8px; }
  .side .sidebody { max-height: none; }
  .ltabs { position: sticky; top: 64px; z-index: 5; background: var(--card); padding: 4px 0; }
  .modal { align-items: end; padding: 0; }
  .modal .box { border-radius: 18px 18px 0 0; max-height: 92vh; width: 100% !important; }
  .modal-actions { position: sticky; bottom: -20px; background: var(--card); padding: 10px 0; margin-bottom: -20px; }
  .modal-actions .btn { width: 100%; }
}
@media (max-width: 720px) {
  .brand > span { display: none; }
  .topinfo { gap: 8px; }
  .topinfo > div { white-space: nowrap; }
  .topbar .in { padding: 8px 12px; }
  .topbar .in .crest { width: 32px; height: 32px; font-size: 11px; }
}
.modechip { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.modechip .btn { min-height: 30px; padding: 4px 10px; }
/* ordens, marcação, duelos */
.tag { display: inline-block; font-size: 11px; background: var(--card2); border: 1px solid var(--line); border-radius: 6px; padding: 0 4px; margin-left: 2px; }
.tag.mk { color: var(--blue); }
.sheet { position: fixed; inset: 0; z-index: 80; background: rgba(5,6,12,.55); display: flex; align-items: flex-end; justify-content: center; }
.sheet .sbox { background: var(--card); border: 1px solid var(--line); border-radius: 18px 18px 0 0; padding: 14px 16px calc(16px + env(safe-area-inset-bottom)); width: min(620px, 100%); max-height: 86vh; overflow: auto; }
@media (min-width: 1001px) { .sheet { align-items: center; } .sheet .sbox { border-radius: 18px; } }
.seg.wrap { flex-wrap: wrap; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip2 { display: flex; align-items: center; gap: 6px; padding: 6px 10px 6px 6px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg2); color: var(--text); font-weight: 700; font-size: 13px; min-height: 40px; text-align: left; }
.chip2 small { color: var(--muted); font-weight: 600; }
.chip2.on { border-color: var(--accent); background: #3a2412; }
.duel { background: var(--bg2); border-radius: 12px; padding: 10px; margin-bottom: 10px; }
.duel .dh { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 6px; margin-bottom: 6px; }
.duel .dp { display: flex; gap: 6px; align-items: center; cursor: pointer; min-width: 0; font-size: 13px; }
.duel .dp.r { justify-content: flex-end; text-align: right; }
.duel .vs2 { font-weight: 900; color: var(--muted); }
.heat2 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.heat2 .hc { margin: 4px 0 0; }
.nps { display: grid; grid-template-columns: repeat(11, 1fr); gap: 4px; }
.nps button { min-height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg2); color: var(--text); font-weight: 800; padding: 0; }
.nps button.on { background: var(--accent); border-color: var(--accent); }
textarea { width: 100%; font: inherit; color: var(--text); background: var(--bg2); border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.report { white-space: pre-wrap; background: var(--bg2); border: 1px solid var(--line); border-radius: 10px; padding: 12px; font-size: 12px; max-height: 50vh; overflow: auto; }
