@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=DM+Sans:wght@400;500;600;700;800&display=swap');
:root{color-scheme:dark;--bg:#101010;--panel:#1a1a1a;--panel2:#222;--line:#333;--ink:#f8f8f5;--muted:#aaa99f;--yellow:#ffc400;--yellow2:#e8ad00;--green:#73cf8d;--red:#ff7267;--radius:16px}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 50% -25%,#37300d 0,transparent 48%),var(--bg);color:var(--ink);font:14px 'DM Sans',system-ui,sans-serif;min-height:100vh}button,input,textarea,select{font:inherit}button{cursor:pointer}.site-header{height:84px;max-width:1440px;margin:auto;padding:0 34px;border-bottom:1px solid #292929;display:flex;align-items:center;justify-content:space-between}.brand-lockup{display:flex;align-items:center;gap:13px}.crest{width:48px;height:62px;object-fit:contain;border-radius:5px}.brand-lockup h1{font:800 25px/.9 'Barlow Condensed',sans-serif;letter-spacing:1.1px;margin:4px 0}.brand-lockup h1 span{color:var(--yellow)}.eyebrow{font:800 10px 'DM Sans',sans-serif;color:var(--yellow);letter-spacing:1.7px;margin:0 0 6px}.brand-lockup .eyebrow{font-size:8px;margin:0;color:#bbb}.live-pill{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:11px}.live-pill i{width:8px;height:8px;border-radius:50%;background:#888}.live-pill.connected i{background:var(--green);box-shadow:0 0 10px #73cf8d70}.page-shell{max-width:1280px;margin:0 auto;padding:25px 30px 34px}.panel{background:linear-gradient(145deg,#1c1c1c,#171717);border:1px solid #303030;border-radius:var(--radius);box-shadow:0 12px 30px #0003}.hero{display:flex;justify-content:space-between;align-items:center;padding:28px 32px;margin-bottom:18px;border-top:2px solid var(--yellow);background:linear-gradient(110deg,#202018 0,#191919 57%,#29230c 100%)}.hero h2{font:900 clamp(36px,6vw,52px)/.88 'Barlow Condensed',sans-serif;margin:0;letter-spacing:.5px}.hero h2 span{color:var(--yellow)}.hero-copy{color:var(--muted);font-size:13px;margin:12px 0 0}.session-chip{display:flex;align-items:center;gap:12px;padding:10px 16px;border:1px solid #514611;background:#17160f;border-radius:12px}.session-chip strong{font:900 42px/.9 'Barlow Condensed';color:var(--yellow)}.session-chip span{font-size:10px;line-height:1.5;letter-spacing:1px;font-weight:800}.notice{padding:12px 15px;margin-bottom:16px;border:1px solid #7a5f07;background:#28220c;color:#f5d97c;border-radius:9px;line-height:1.5;font-size:12px}.hidden{display:none!important}.toast{position:fixed;z-index:5;right:20px;bottom:20px;max-width:min(360px,calc(100vw - 40px));padding:12px 16px;background:#f7f4e8;color:#151515;border-radius:10px;font-weight:700;box-shadow:0 8px 30px #0008;opacity:0;transform:translateY(8px);pointer-events:none;transition:.2s}.toast.show{opacity:1;transform:translateY(0)}.setup-grid{display:grid;grid-template-columns:1.3fr .9fr;gap:16px}.setup-card,.match-card,.teams-section,.fixtures-section,.goals-card,.votes-card{padding:21px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.section-heading h2{font:700 23px/1 'Barlow Condensed',sans-serif;margin:0}.step{display:grid;place-items:center;width:31px;height:31px;border:1px solid #514611;border-radius:50%;color:var(--yellow);font:700 13px 'Barlow Condensed'}.fields{display:grid;gap:11px}.fields.three{grid-template-columns:1.2fr 1fr .8fr}.fields.two{grid-template-columns:1fr 1fr}.fields label,.roster-label{display:grid;gap:6px;color:#d7d7d0;font-size:11px;font-weight:700}.fields input,.fields select,.roster-label textarea{width:100%;min-width:0;padding:10px 11px;border:1px solid #3b3b3b;border-radius:8px;background:#111;color:var(--ink);outline:none}.fields input:focus,.fields select:focus,.roster-label textarea:focus{border-color:var(--yellow);box-shadow:0 0 0 2px #ffc40025}.fields input::placeholder,.roster-label textarea::placeholder{color:#6f6f69}.roster-title{margin:21px 0 10px}.count-badge{padding:6px 9px;border-radius:20px;background:#29230c;color:var(--yellow);font-weight:800;font-size:11px}.roster-label textarea{min-height:155px;resize:vertical;line-height:1.45}.button-row{display:flex;gap:9px;margin-top:12px}.button{border:1px solid transparent;border-radius:8px;padding:10px 13px;font-weight:800;font-size:11px;transition:transform .12s,filter .12s}.button:hover:not(:disabled),.vote-button:hover:not(:disabled){filter:brightness(1.09);transform:translateY(-1px)}.button:disabled,.vote-button:disabled{cursor:not-allowed;opacity:.42}.button-primary{background:var(--yellow);color:#15130a}.button-dark{background:#2c2c2c;color:var(--ink);border-color:#444}.button-outline{background:transparent;color:var(--ink);border-color:#545454}.button-full{width:100%}.button-small{font-size:10px;padding:8px 11px}.help-text{font-size:10px;color:var(--muted);line-height:1.55;margin:10px 0 0}.match-card{display:flex;flex-direction:column;align-items:stretch}.timer-display{font:900 clamp(70px,10vw,100px)/.95 'Barlow Condensed',sans-serif;letter-spacing:2px;text-align:center;color:var(--yellow);font-variant-numeric:tabular-nums;margin:4px 0 7px;text-shadow:0 5px 28px #ffc40020}.timer-status{text-align:center;color:var(--muted);font-size:11px;min-height:18px}.timer-controls{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:14px 0 12px}.timer-rule{display:flex;gap:9px;align-items:center;padding:10px;margin-bottom:14px;border-radius:8px;background:#222;color:#c7c7bf;font-size:10px;line-height:1.5}.timer-rule span:first-child{font-size:18px}.teams-section,.fixtures-section{margin-top:16px}.teams-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.team-card{border:1px solid #393939;border-radius:11px;overflow:hidden;background:#151515}.team-head{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;background:var(--team-color,#ffc400);color:var(--team-ink,#111);font:800 15px 'Barlow Condensed';text-transform:uppercase}.team-head small{font:700 9px 'DM Sans'}.team-card ol{list-style:none;margin:0;padding:5px 12px 9px;counter-reset:player}.team-card li{counter-increment:player;display:flex;gap:8px;align-items:center;padding:7px 0;border-bottom:1px solid #292929;font-size:11px}.team-card li:last-child{border-bottom:0}.team-card li::before{content:counter(player,decimal-leading-zero);color:var(--team-color,#ffc400);font:700 10px 'DM Sans'}.empty-state{color:#77776f;text-align:center;font-size:11px;padding:24px 10px}.fixtures-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.fixture{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:11px 12px;border:1px solid #343434;border-radius:9px;background:#151515;color:#eee;text-align:left}.fixture.active{border-color:var(--yellow);background:#29230d;box-shadow:inset 3px 0 var(--yellow)}.fixture:disabled{cursor:default}.fixture .game-no{color:var(--yellow);font:800 13px 'Barlow Condensed'}.fixture .versus{font-size:10px;font-weight:700}.fixture .fixture-state{color:var(--muted);font-size:9px}.score-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:16px;margin-top:16px}.ranking-wrap{margin-top:18px}.ranking-wrap h3{font:700 16px 'Barlow Condensed';margin:0 0 8px}.ranking-row{display:grid;grid-template-columns:25px 1fr 38px;align-items:center;gap:8px;padding:8px 0;border-bottom:1px solid #2b2b2b;font-size:11px}.ranking-row .rank{color:var(--yellow);font:700 12px 'Barlow Condensed'}.ranking-row strong{text-align:right;color:var(--yellow)}.goal-event{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:7px 0;border-bottom:1px solid #292929;color:#bebeb6;font-size:10px}.text-button{border:0;background:none;color:#8f8f87;text-decoration:underline;font-size:10px}.vote-buttons{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:13px}.vote-button{display:flex;flex-direction:column;align-items:center;gap:6px;padding:12px 8px;border:1px solid #444;border-radius:10px;background:#151515;color:var(--ink);text-align:center}.vote-button span{font-size:21px}.vote-button b{font-size:10px;line-height:1.2}.vote-button small{font-size:9px;color:var(--yellow)}.vote-leaders{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:13px}.leader-card{padding:10px;border-radius:8px;background:#222;font-size:9px;color:var(--muted)}.leader-card strong{display:block;margin-top:5px;color:var(--ink);font-size:11px}.site-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:21px 4px 0;color:#77776f;font-size:9px;letter-spacing:1px}.site-footer>span:first-child{color:var(--yellow);font-weight:900}.site-footer .text-button{letter-spacing:0}
@media(max-width:900px){.setup-grid,.score-grid{grid-template-columns:1fr}.teams-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.page-shell{padding:20px 18px 28px}}
@media(max-width:580px){.site-header{height:72px;padding:0 16px}.crest{width:40px;height:52px}.brand-lockup h1{font-size:22px}.brand-lockup .eyebrow{font-size:7px;letter-spacing:1px}.live-pill{font-size:9px}.page-shell{padding:14px 12px 22px}.hero{padding:22px 18px;align-items:flex-start}.hero h2{font-size:39px}.hero-copy{font-size:11px;max-width:220px;line-height:1.5}.session-chip{padding:8px 9px;gap:7px}.session-chip strong{font-size:33px}.session-chip span{font-size:8px}.setup-card,.match-card,.teams-section,.fixtures-section,.goals-card,.votes-card{padding:16px}.fields.three{grid-template-columns:1fr 1fr}.fields.three label:first-child{grid-column:1/-1}.fields.two{grid-template-columns:1fr}.teams-grid{gap:7px}.team-head{padding:9px}.team-card ol{padding:5px 9px}.team-card li{font-size:10px}.fixtures-list{grid-template-columns:1fr 1fr}.vote-buttons{gap:5px}.vote-button{padding:10px 4px}.vote-button b{font-size:9px}.vote-leaders{grid-template-columns:1fr}.site-footer{flex-wrap:wrap;font-size:8px}}
@media(max-width:370px){.hero h2{font-size:33px}.session-chip span{font-size:7px}.session-chip{gap:5px;padding:7px}.fixtures-list{grid-template-columns:1fr}.team-head{font-size:13px}}
+
/* Regras e ocorrências da partida */
.rules-section { margin-top: 22px; }
.rules-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.rule-card { padding:20px; border:1px solid var(--line,#deded8); border-radius:16px; background:var(--surface,#fff); }
.rule-card h3 { margin:0 0 12px; color:var(--ink,#151515); font-size:1rem; }
.rule-card ul { margin:0; padding-left:20px; color:var(--muted,#626262); line-height:1.65; }
.rule-card li+li { margin-top:8px; }
.rule-note { grid-column:1/-1; background:#fff8df; border-color:#f0d46c; }
.rule-note p { margin:0; line-height:1.65; color:var(--muted,#626262); }
.incident-heading { margin-top:26px; }
.incident-heading h3 { margin:0; }
.incident-list { display:grid; gap:9px; margin-top:16px; }
.incident-row { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 14px; border-radius:12px; background:var(--surface,#fff); border:1px solid var(--line,#deded8); }
.incident-row strong { display:block; }
.incident-row small { display:block; color:var(--muted,#777); margin-top:3px; }
.incident-status { flex:none; color:#8a6500; font-weight:800; text-align:right; }
.incident-status.done { color:#28754a; }
@media(max-width:720px) { .rules-grid { grid-template-columns:1fr; } .rule-note { grid-column:auto; } .incident-row { align-items:flex-start; flex-direction:column; } .incident-status { text-align:left; } }


/* Elenco individual, partida ao vivo e identidade dos quatro times */
.view-tabs { display:flex; gap:8px; margin:14px 0; position:sticky; top:0; z-index:5; padding:8px; background:#121212ee; backdrop-filter:blur(10px); border:1px solid #333; border-radius:13px; }
.view-tabs a { flex:1; text-align:center; padding:11px 9px; border-radius:9px; color:var(--ink); text-decoration:none; font-weight:800; font-size:12px; }
.view-tabs a:hover,.view-tabs a:focus-visible { background:var(--yellow); color:#111; }
.add-player-row { display:flex; align-items:end; gap:10px; margin-top:12px; }
.add-player-row label { flex:1; }
.roster-list { list-style:none; margin:12px 0 18px; padding:0; display:grid; gap:7px; max-height:300px; overflow:auto; }
.roster-list li { display:flex; align-items:center; gap:11px; padding:9px 12px; border:1px solid #333; border-radius:10px; background:#141414; }
.roster-number { min-width:34px; color:var(--yellow); font:800 17px 'Barlow Condensed',sans-serif; }
.keeper-mark { color:var(--yellow); font-size:10px; letter-spacing:.5px; }
.roster-list .text-button { margin-left:auto; }
.roster-list button:disabled { opacity:.45; cursor:not-allowed; }
.match-card { scroll-margin-top:76px; }
.scoreboard { display:flex; justify-content:center; align-items:center; gap:clamp(18px,5vw,54px); padding:17px; margin:12px 0 4px; border:1px solid #514611; border-radius:14px; background:linear-gradient(110deg,#171717,#25200e,#171717); }
.scoreboard>div { display:grid; gap:2px; text-align:center; min-width:80px; }
.scoreboard small { font-weight:800; color:var(--muted); font-size:11px; }
.scoreboard strong { color:var(--yellow); font:900 clamp(46px,8vw,76px)/1 'Barlow Condensed',sans-serif; }
.scoreboard>span { font:900 25px 'Barlow Condensed'; color:#777; }
.score-controls { display:grid; gap:10px; margin:14px 0; }
.score-controls .button-row { justify-content:center; }
.winner-controls { display:grid; gap:9px; padding-top:14px; border-top:1px solid #333; text-align:center; font-weight:800; }
.winner-controls>div { display:flex; gap:8px; justify-content:center; }
.winner-controls .button { flex:1; max-width:260px; }
.fixture { grid-template-columns:44px 1fr auto; }
.fixture-state { font-size:9px; }
@media(max-width:580px) { .view-tabs { gap:4px; padding:5px; } .view-tabs a { font-size:10px; padding:10px 4px; } .add-player-row { align-items:stretch; } .add-player-row .button { align-self:end; } .scoreboard { gap:16px; padding:14px 8px; } .scoreboard>div { min-width:68px; } .winner-controls>div { flex-direction:column; } .winner-controls .button { max-width:none; } }

/* Navegação por áreas */
.view-hidden { display:none !important; }
.view-tabs { display:flex; gap:8px; margin:14px 0 20px; position:sticky; top:0; z-index:6; padding:8px; background:#121212ee; backdrop-filter:blur(10px); border:1px solid #333; border-radius:13px; }
.view-tabs button { flex:1; padding:11px 8px; border:0; border-radius:9px; color:var(--ink); background:transparent; font-weight:800; font-size:12px; }
.view-tabs button.active,.view-tabs button:hover { background:var(--yellow); color:#111; }
.setup-grid[data-view="elenco"] { grid-template-columns:minmax(0,1fr); }
.live-section { margin:0 0 18px; }
.score-grid[data-view="home"] { grid-template-columns:repeat(3,minmax(0,1fr)); }
.live-team-picker { display:grid; grid-template-columns:1fr 1fr auto; align-items:end; gap:10px; margin:8px 0 15px; }
.live-team-picker .button { min-height:44px; }
.rating-controls { display:grid; grid-template-columns:1fr minmax(80px,.5fr) auto; gap:10px; align-items:end; margin:16px 0; padding:14px; border:1px solid #343434; border-radius:12px; background:#171717; }
.rating-controls input { width:100%; }
.history-section { padding:22px; }
.game-history { display:grid; gap:12px; }
.history-game { padding:16px; border:1px solid #383838; border-radius:14px; background:linear-gradient(145deg,#1d1d1d,#151515); }
.history-game header { display:flex; justify-content:space-between; color:var(--muted); font-size:11px; }
.history-game header strong { color:var(--yellow); letter-spacing:1px; }
.history-score { display:grid; grid-template-columns:1fr auto 1fr; gap:12px; align-items:center; margin:14px 0 4px; text-align:center; font-weight:800; }
.history-score b { font:900 25px 'Barlow Condensed'; color:var(--yellow); }
.history-winner { margin:4px 0 10px; text-align:center; color:var(--muted); font-size:11px; }
.history-game ul { list-style:none; margin:0; padding:0; }
.history-game li { display:flex; justify-content:space-between; padding:7px 2px; border-top:1px solid #303030; font-size:11px; }
.history-game li b { color:var(--yellow); }
@media(max-width:900px) { .score-grid[data-view="home"] { grid-template-columns:1fr 1fr; } }
@media(max-width:620px) { .view-tabs { gap:3px; padding:5px; } .view-tabs button { padding:9px 4px; font-size:9px; } .live-team-picker,.rating-controls { grid-template-columns:1fr 1fr; } .live-team-picker button,.rating-controls button { grid-column:1/-1; } .score-grid[data-view="home"] { grid-template-columns:1fr; } .history-score { font-size:11px; gap:5px; } }

/* Tema claro opcional, com contraste suave */
body.light-theme { color-scheme:light; --bg:#f4f4f1; --panel:#ffffff; --panel2:#f8f8f6; --line:#d9d9d3; --ink:#1b1b1b; --muted:#666761; --radius:16px; background:#f4f4f1 !important; color:#1b1b1b; }
body.light-theme .site-header { border-color:#ddddda; }
body.light-theme .brand-lockup .eyebrow { color:#65655f; }
body.light-theme .panel,body.light-theme .rule-card,body.light-theme .history-game { background:#fff; border-color:#deded8; box-shadow:0 8px 24px #2017000c; }
body.light-theme .hero { background:linear-gradient(110deg,#fff 0,#fff 68%,#fff8df 100%); }
body.light-theme .session-chip,body.light-theme .notice { background:#fffaf0; border-color:#e6ce72; color:#252319; }
body.light-theme .view-tabs { background:#f7f7f4ed; border-color:#deded8; box-shadow:0 4px 14px #0000000c; }
body.light-theme .view-tabs button { color:#202020; }
body.light-theme .view-tabs button.active,body.light-theme .view-tabs button:hover { color:#151515; }
body.light-theme input,body.light-theme textarea,body.light-theme select { background:#fff; color:#1b1b1b; border-color:#cfcfc8; }
body.light-theme .roster-list li,body.light-theme .fixture,body.light-theme .incident-row,body.light-theme .rating-controls,body.light-theme .vote-button,body.light-theme .leader-card { background:#fafaf8; color:#202020; border-color:#deded8; }
body.light-theme .leader-card strong,body.light-theme .goal-event,body.light-theme .history-game li,body.light-theme .history-winner { color:#50504b; }
body.light-theme .scoreboard { background:linear-gradient(110deg,#fff,#fff8df,#fff); border-color:#e7d57d; }
body.light-theme .scoreboard small { color:#5c5c56; }
body.light-theme .timer-display { color:#202020; }
body.light-theme .team-card ol { background:#fff; color:#202020; }
body.light-theme .team-head { color:var(--team-ink); }
body.light-theme .rule-note { background:#fff9e7; border-color:#ead987; }
body.light-theme .button-outline { color:#202020; border-color:#bdbdb5; background:#fff; }
body.light-theme .button-dark { background:#222; color:#fff; }
body.light-theme .site-footer { color:#70706a; }
body.light-theme .live-pill { color:#666; }
body.light-theme .empty-state { color:#73736d; }
body.light-theme .timer-rule { color:#686860; background:#fafaf7; border-color:#deded8; }
body.light-theme .ranking-row,body.light-theme .goal-event { border-color:#e5e5df; }
body.light-theme .vote-button small,body.light-theme .ranking-row strong { color:#8a6900; }
.live-team-picker { display:flex; justify-content:space-between; align-items:center; }
.live-team-picker p { margin:0; color:var(--yellow); font-weight:900; }
.theme-toggle { border:1px solid #4b4b43 !important; color:var(--yellow) !important; white-space:nowrap; }
body.light-theme .theme-toggle { color:#333 !important; border-color:#c7c7bf !important; }
@media(max-width:620px) { .live-team-picker { flex-direction:column; align-items:stretch; gap:10px; } .view-tabs { flex-wrap:wrap; } .theme-toggle { flex-basis:100%; } }

/* Goleiros, gols contra, modos do cronômetro e rankings de score */
.live-team-picker { align-items:end; } .live-team-picker label,.keeper-picks label { display:grid; gap:6px; color:#d7d7d0; font-size:11px; font-weight:700; } .live-team-picker select,.keeper-picks select { width:100%; padding:10px 11px; border:1px solid #3b3b3b; border-radius:8px; background:#111; color:var(--ink); } .keeper-picks { margin:10px 0 14px; } .own-goal-toggle { display:flex; align-items:center; gap:8px; padding:10px 0; color:var(--muted); font-size:11px; } .own-goal-toggle input { accent-color:var(--yellow); width:17px; height:17px; } .history-winner { display:inline-block; padding:6px 10px; border-radius:20px; background:#ffc40020; color:var(--yellow); font-weight:800; } .history-score .winner-team { color:var(--yellow); font-weight:900; } .score-grid[data-view="home"] { grid-template-columns:repeat(3,minmax(0,1fr)); } @media(max-width:900px) { .score-grid[data-view="home"] { grid-template-columns:1fr 1fr; } } @media(max-width:620px) { .score-grid[data-view="home"] { grid-template-columns:1fr; } .live-team-picker { grid-template-columns:1fr; } } body.light-theme .live-team-picker label,body.light-theme .keeper-picks label { color:#30302b; } body.light-theme .live-team-picker select,body.light-theme .keeper-picks select { background:#fff; color:#1b1b1b; border-color:#cfcfc8; }
.history-performance { margin-top:12px; border-top:1px solid var(--line); padding-top:10px; } .history-performance summary { color:var(--yellow); cursor:pointer; font-weight:800; font-size:11px; } .history-performance ul { margin-top:8px!important; max-height:340px; overflow:auto; } .history-score .winner-team { text-shadow:0 0 12px #ffc40055; }
.score-rules { margin-top:12px; padding-top:10px; border-top:1px solid var(--line); } .score-rules summary { cursor:pointer; color:var(--yellow); font-size:10px; font-weight:800; } .score-rules p { margin:8px 0 0; color:var(--muted); font-size:10px; line-height:1.6; }
.score-grid[data-view="home"] { grid-template-columns:repeat(2,minmax(0,1fr)); } .ranking-row.top-rank { position:relative; padding:12px 10px; margin:6px 0; border:1px solid transparent; border-radius:11px; } .ranking-row.top-rank .rank { display:grid; place-items:center; width:25px; height:25px; border-radius:50%; font-weight:900; } .ranking-row.top-rank-1 { background:linear-gradient(100deg,#ffc40028,#ffc40008); border-color:#ffc40075; } .ranking-row.top-rank-1 .rank { background:#ffc400; color:#19150a; } .ranking-row.top-rank-2 { background:linear-gradient(100deg,#d8e0e522,#d8e0e508); border-color:#c6d0d855; } .ranking-row.top-rank-2 .rank { background:#c9d0d4; color:#1b1d1e; } .ranking-row.top-rank-3 { background:linear-gradient(100deg,#b9784926,#b9784908); border-color:#b9784966; } .ranking-row.top-rank-3 .rank { background:#b97849; color:#fff; } body.light-theme .ranking-row.top-rank-1 { background:#fff8dc; border-color:#e3c357; } body.light-theme .ranking-row.top-rank-2 { background:#f4f5f4; border-color:#cbd0d0; } body.light-theme .ranking-row.top-rank-3 { background:#faf0e8; border-color:#d8b49b; } @media(max-width:620px) { .score-grid[data-view=\"home\"] { grid-template-columns:1fr; } }

/* Dashboard da temporada, rankings compactos e votação por período */
.home-shortcuts{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}.home-shortcuts a{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 13px;border:1px solid var(--line);border-radius:10px;background:var(--panel);color:var(--ink);text-decoration:none;font-size:11px;font-weight:800;transition:border-color .15s,transform .15s}.home-shortcuts a:hover{border-color:var(--yellow);transform:translateY(-1px)}.home-shortcuts a span{color:var(--yellow);font-size:15px}
.season-highlights,.night-highlights,.weekly-publications,.individual-stats,.history-section,.rules-section{margin-top:16px;padding:20px}.season-badge{padding:7px 10px;border:1px solid #574811;border-radius:99px;background:#ffc40012;color:var(--yellow);font-size:9px;font-weight:900;letter-spacing:.5px;text-align:center}.season-highlight-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.season-highlight-card{display:flex;min-height:130px;flex-direction:column;justify-content:center;gap:9px;padding:17px;border:1px solid var(--line);border-radius:12px;background:linear-gradient(145deg,#24231c,#171717);overflow-wrap:anywhere}.season-highlight-card strong{font:800 clamp(18px,2vw,25px)/1.1 'Barlow Condensed',sans-serif}.season-highlight-card small{color:var(--muted);font-size:10px}.season-kicker{color:var(--yellow);font-size:9px;font-weight:900;letter-spacing:.7px}.season-scorer{border-top:2px solid var(--yellow)}.season-line{border-top:2px solid #bec5ca}.season-keeper{border-top:2px solid #e1a252}.season-empty{grid-column:1/-1}
.score-grid[data-view="home"]{align-items:start;gap:14px}.score-grid>.panel{min-width:0;padding:18px}.score-grid .section-heading{align-items:flex-start;min-height:44px}.score-grid .section-heading>div{min-width:0}.score-grid .section-heading h2{line-height:1.1}.score-grid .section-heading .help-text{margin-top:6px}.ranking-row{grid-template-columns:28px minmax(0,1fr) minmax(38px,auto);gap:9px;min-height:39px}.ranking-row>span:nth-child(2){min-width:0;overflow-wrap:anywhere}.ranking-row small{display:block;margin-top:3px;color:var(--muted);font-size:9px}.ranking-row:not(.top-rank){padding:7px 4px}.ranking-row.top-rank{min-height:48px}.ranking-row strong{font-variant-numeric:tabular-nums;white-space:nowrap}.rank{font-variant-numeric:tabular-nums}
.weekly-publication-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.weekly-publication{min-width:0;padding:13px;border:1px solid var(--line);border-radius:10px;background:var(--panel2)}.weekly-publication header,.weekly-publication>div>p{display:flex;align-items:center;justify-content:space-between;gap:10px}.weekly-publication header{padding-bottom:8px;border-bottom:1px solid var(--line);font-size:10px}.weekly-publication header strong{color:var(--yellow)}.weekly-publication header span,.weekly-publication small{color:var(--muted);font-size:9px}.weekly-publication>div>p{margin:8px 0 0;font-size:10px}.weekly-publication>div>p span{min-width:0;overflow-wrap:anywhere}.weekly-publication>div>p b{padding:0 4px;color:var(--yellow);white-space:nowrap}.individual-stats-list table{width:100%;border-collapse:collapse;font-size:10px}.individual-stats-list th,.individual-stats-list td{padding:10px 9px;border-bottom:1px solid var(--line);text-align:left;white-space:nowrap}.individual-stats-list th{color:var(--yellow);font-size:9px;text-transform:uppercase}.individual-stats-list td:nth-child(n+3){font-variant-numeric:tabular-nums}.table-scroll{overflow-x:auto}
body.light-theme .season-highlight-card,body.light-theme .weekly-publication,body.light-theme .night-vote-card,body.light-theme @media(min-width:1100px){.score-grid[data-view="home"]{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.season-highlight-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.season-highlight-card{padding:13px}.score-grid[data-view="home"]{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.season-highlights,.night-highlights,.weekly-publications,.individual-stats,.history-section,.rules-section{padding:15px}.season-highlight-grid,.night-highlights-grid,.weekly-publication-list{grid-template-columns:1fr}.season-highlight-card{min-height:105px}.home-shortcuts{display:grid;grid-template-columns:1fr}.home-shortcuts a{min-height:40px}.season-badge{max-width:100px;line-height:1.4}.score-grid[data-view="home"]{grid-template-columns:minmax(0,1fr)}.individual-stats-list table{font-size:9px}.individual-stats-list th,.individual-stats-list td{padding:8px 7px}.night-highlights .section-heading{align-items:flex-start}}
.night-highlights-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.night-highlight-card{display:grid;align-content:center;gap:9px;min-height:130px;padding:18px;border:1px solid var(--line);border-top:2px solid var(--yellow);border-radius:12px;background:linear-gradient(145deg,#24231c,#171717);min-width:0}.night-highlight-card strong{font:800 clamp(18px,2.4vw,26px)/1.1 'Barlow Condensed',sans-serif;overflow-wrap:anywhere}.night-highlight-card small{color:var(--muted);font-size:10px}.night-keeper-highlight{border-top-color:#7bb6e5}body.light-theme .night-highlight-card{background:#fff;color:#202020;border-color:#deded8}@media(max-width:620px){.night-highlights-grid{grid-template-columns:1fr}}

.lineup-adjustments{margin:12px 0 16px;padding:13px;border:1px solid var(--line);border-radius:11px;background:#151515}.lineup-adjustments>summary{cursor:pointer;color:var(--yellow);font-weight:900;font-size:12px}.lineup-adjustments>.help-text{margin-bottom:12px}.lineup-adjust-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.lineup-team-card{min-width:0;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--panel2)}.lineup-team-card>header{display:flex;justify-content:space-between;align-items:center;padding-bottom:8px;border-bottom:1px solid var(--line)}.lineup-team-card>header strong{color:var(--yellow);font-size:12px}.lineup-team-card>header span{font-variant-numeric:tabular-nums;color:var(--muted);font-size:10px}.lineup-team-card ul{list-style:none;padding:0;margin:6px 0 10px}.lineup-team-card li{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 0;border-bottom:1px solid #333;font-size:10px}.lineup-remove-player{border:0;background:transparent;color:#ff9087;font-size:9px;font-weight:800}.lineup-remove-player:disabled{opacity:.4}.lineup-transfer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;align-items:center}.lineup-transfer select{width:100%;min-width:0;padding:9px;border:1px solid #414141;border-radius:8px;background:#111;color:var(--ink);font-size:10px}.lineup-transfer .button{padding:9px 10px}.absent-players-list>p{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin:10px 0 0;color:var(--muted);font-size:10px}.absent-chip{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:20px;background:#45231f;color:#ffd1cc}.absent-chip button{border:0;background:transparent;color:var(--yellow);font-weight:800;font-size:9px}body.light-theme .lineup-adjustments,body.light-theme .lineup-team-card{background:#fff;color:#222;border-color:#deded8}body.light-theme .lineup-team-card>header{border-color:#e5e5df}body.light-theme .lineup-team-card li{border-color:#ecece6}body.light-theme .lineup-transfer select{background:#fff;color:#222;border-color:#ccc}body.light-theme .absent-chip{background:#fff0ee;color:#822f26}
@media(max-width:620px){.lineup-adjust-grid{grid-template-columns:1fr}.lineup-transfer{grid-template-columns:1fr}.lineup-transfer .button{width:100%}}
.absent-chip{flex-wrap:wrap}.absent-chip select{max-width:170px;min-width:130px;padding:6px 8px;border:1px solid #6a403b;border-radius:7px;background:#211512;color:inherit;font-size:9px}.absent-chip button:disabled{opacity:.45}body.light-theme .absent-chip select{background:#fff;color:#333;border-color:#d8b1ab}

.reserve-controls{margin-top:12px;padding:13px;border:1px solid var(--yellow);border-radius:10px;background:rgba(255,196,0,.06)}.reserve-controls .button{margin-top:9px}.reserve-label{color:var(--yellow);font-size:9px;font-weight:900;letter-spacing:.05em}.reserve-controls select{width:100%;min-width:0;padding:10px;border:1px solid var(--line);border-radius:8px;background:#111;color:var(--ink)}body.light-theme .reserve-controls{background:#fffbea}body.light-theme .reserve-controls select{background:#fff;color:#222}@media(max-width:620px){.reserve-controls .fields{grid-template-columns:1fr}.reserve-controls .button{width:100%}}

.header-actions{display:flex;align-items:center;gap:14px}.access-tools{display:flex;align-items:center;gap:8px}.access-tools span{color:var(--muted);font-size:10px;font-weight:800}.access-tools .button{padding:8px 11px;font-size:10px}body.public-read-only .button:disabled,body.public-read-only input:disabled,body.public-read-only select:disabled,body.public-read-only textarea:disabled{cursor:not-allowed;opacity:.56}@media(max-width:620px){.site-header{height:auto;min-height:76px;padding:10px 15px;gap:10px}.header-actions{align-items:flex-end;flex-direction:column;gap:5px}.access-tools{align-items:flex-end;flex-direction:column;gap:3px}.access-tools span{font-size:9px}.access-tools .button{padding:6px 8px;font-size:9px}}
.access-tools [hidden]{display:none!important}
.login-dialog{border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);color:var(--ink);padding:20px;width:min(360px,calc(100vw - 32px))}
.login-dialog::backdrop{background:rgba(0,0,0,.45)}
.team-label-input{display:block;width:calc(100% - 24px);margin:9px 12px 0;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:transparent;color:inherit;font-size:12px;outline:none}
.team-label-input:focus{border-color:var(--yellow);box-shadow:0 0 0 2px #ffc40025}
.team-label-input:disabled{display:none}
.art-controls{grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr));margin-bottom:14px}
.art-controls label[hidden]{display:none}
.art-canvas{display:block;width:100%;max-width:360px;height:auto;margin:0 auto 14px;border-radius:12px;border:1px solid var(--line)}
.art-canvas[hidden]{display:none}
.team-logo{width:22px;height:22px;object-fit:contain;vertical-align:middle;margin-right:7px}
.art-logos-box{margin-bottom:14px}
.art-logos{display:grid;gap:8px;margin-top:6px}
.art-logo-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.art-logo-row img,.art-logo-empty{width:36px;height:36px;object-fit:contain;border-radius:8px;border:1px solid var(--line)}
.art-logo-row strong{flex:1;min-width:0;overflow-wrap:anywhere}
.art-logo-row label{cursor:pointer}
@media(max-width:620px){.view-tabs{flex-wrap:wrap}.view-tabs button{flex:1 1 30%}}

/* Liga Skalama: controles, classificação e visão pública responsivos */
.standings-panel,.public-teams-section{margin-top:16px;padding:20px}.standings-table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}.standings-table th,.standings-table td{padding:9px 10px;border-bottom:1px solid var(--line);text-align:right;white-space:nowrap}.standings-table th:nth-child(2),.standings-table td:nth-child(2){text-align:left}.standings-table thead{color:var(--muted);font-size:10px}.standings-table tbody tr.standings-top-1{background:#ffc40018;color:var(--yellow)}.standings-table tbody tr.standings-top-2{background:#c9d3dd12}.standings-table tbody tr.standings-top-3{background:#b47b4512}.public-teams-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}.public-team-card{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--panel2)}.public-team-card header{display:flex;justify-content:space-between;gap:8px;padding:12px;background:var(--yellow);color:#15130a}.public-team-card header span{font-size:10px}.public-team-card ol{margin:0;padding:8px 14px 10px 34px}.public-team-card li{padding:6px 0;border-bottom:1px solid var(--line)}.live-team-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:end;margin:4px 0 14px}.live-team-picker label{display:grid;gap:6px;color:#d7d7d0;font-size:11px;font-weight:700}.live-team-picker select,.live-team-picker input{width:100%;min-width:0;padding:10px 11px;border:1px solid #3b3b3b;border-radius:8px;background:#111;color:var(--ink)}.match-lineup-preview{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:10px}.match-lineup-preview>div{padding:10px;border:1px solid var(--line);border-radius:10px;background:var(--panel2)}.match-lineup-preview ul{margin:7px 0 0;padding-left:18px;color:var(--muted);font-size:10px}.match-lineup-preview li{padding:2px 0}.action-dialog{width:min(440px,calc(100vw - 24px));max-height:90vh;overflow:auto;border:1px solid var(--line);border-radius:16px;padding:18px;background:var(--panel);color:var(--ink)}.action-dialog::backdrop{background:#0009}.action-dialog strong{font:800 22px 'Barlow Condensed',sans-serif}.action-dialog .fields{margin-top:12px}.action-dialog label{display:grid;gap:6px;color:#d7d7d0;font-size:11px;font-weight:700}.action-dialog select{width:100%;padding:10px;border:1px solid #444;border-radius:8px;background:#111;color:var(--ink)}.score-controls{display:flex;gap:9px;flex-wrap:wrap;margin:12px 0}.organizer-live-controls{display:flex;flex-direction:column}.assist-rule-input{display:grid;gap:6px;margin-top:10px;color:var(--muted);font-size:11px}.assist-rule-input input{max-width:130px;padding:8px;border:1px solid var(--line);border-radius:8px;background:var(--panel2);color:var(--ink)}.historical-standings-heading{margin:24px 0 10px}.past-round{margin:8px 0;padding:10px 12px;border:1px solid var(--line);border-radius:10px}.past-round summary{cursor:pointer;font-weight:800}.past-round .standings-table{margin-top:8px}.incident-row{display:flex;justify-content:space-between;gap:12px}
body.light-theme .live-team-picker label,body.light-theme .action-dialog label{color:#30302b}body.light-theme .live-team-picker select,body.light-theme .live-team-picker input,body.light-theme .action-dialog,body.light-theme .action-dialog select,body.light-theme .assist-rule-input input{background:#fff;color:#1b1b1b;border-color:#cfcfc8}
@media(max-width:620px){.standings-panel,.public-teams-section{padding:15px}.standings-table th,.standings-table td{padding:8px 5px;font-size:9px}.live-team-picker{grid-template-columns:1fr}.match-lineup-preview{grid-template-columns:1fr}.organizer-live-controls .score-controls .button{flex:1}.timer-controls{grid-template-columns:1fr}}

/* Preparação alinhada e advertências em vermelho acessível */
.live-team-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start;margin:10px 0 16px}.live-team-picker>p,.live-team-picker .match-lineup-preview,.live-team-picker>#beginGame{grid-column:1/-1}.live-team-picker>label{display:grid;grid-template-rows:auto 42px;align-content:start;gap:7px;min-width:0}.live-team-picker select,.live-team-picker input{height:42px;min-width:0;width:100%;padding:9px 12px;border:1px solid var(--line);border-radius:9px;background:var(--panel2);color:var(--ink)}.live-team-picker>#beginGame{justify-self:start;min-height:42px}.button-danger{background:#b42318;border:1px solid #b42318;color:#fff}.button-danger:hover:not(:disabled){background:#912018;border-color:#912018}.button-danger:focus-visible{outline:3px solid #ff8a80;outline-offset:2px}body.light-theme .button-danger{background:#b42318;border-color:#b42318;color:#fff}body.light-theme .button-danger:hover:not(:disabled){background:#912018;border-color:#912018}@media(max-width:620px){.live-team-picker{grid-template-columns:minmax(0,1fr);gap:10px}.live-team-picker>p,.live-team-picker .match-lineup-preview,.live-team-picker>#beginGame{grid-column:1}.live-team-picker>label{grid-template-rows:auto 42px}.match-lineup-preview{grid-template-columns:minmax(0,1fr)}}

/* Respeita o estado oculto em componentes que definem display próprio. */
[hidden]{display:none!important}

/* Ajustes da partida: empréstimos temporários e ações rápidas */
.loan-player-controls{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--panel2)}.loan-player-controls .help-text{grid-column:1/-1;margin:0}.loan-player-controls label{display:grid;gap:6px;color:var(--muted);font-size:11px;font-weight:700}.loan-player-controls select{height:42px;width:100%;min-width:0;padding:9px 12px;border:1px solid var(--line);border-radius:9px;background:var(--panel);color:var(--ink)}.live-team-picker>#beginGame{justify-self:center;min-height:50px;padding:12px 30px;font-size:15px;font-weight:900;box-shadow:0 8px 22px #0003}.button-success{background:#16803c;border:1px solid #16803c;color:#fff}.button-success:hover:not(:disabled){background:#116531;border-color:#116531}.button-success:focus-visible{outline:3px solid #73d991;outline-offset:2px}.button-danger{background:#b42318;border:1px solid #b42318;color:#fff}.button-danger:hover:not(:disabled){background:#912018;border-color:#912018}.button-danger:focus-visible{outline:3px solid #ff8a80;outline-offset:2px}body.light-theme .loan-player-controls label{color:#30302b}body.light-theme .loan-player-controls select{background:#fff;color:#1b1b1b;border-color:#cfcfc8}@media(max-width:620px){.loan-player-controls{grid-template-columns:1fr}.loan-player-controls .help-text{grid-column:1}.live-team-picker>#beginGame{justify-self:stretch;width:100%}}

.suspension-badge{display:inline-block;margin-left:7px;padding:3px 6px;border-radius:999px;background:#b42318;color:#fff;font-size:9px;font-weight:900;letter-spacing:.03em}

.score-goal-list{display:grid;justify-content:center;gap:4px;min-height:0;margin:4px auto 0;text-align:left}.score-goal-item{display:flex;align-items:center;justify-content:center;gap:6px;color:var(--ink);font-size:11px;line-height:1.2;font-weight:750;white-space:nowrap}.score-goal-item time{color:var(--muted);font-variant-numeric:tabular-nums}.score-goal-player{max-width:150px;overflow:hidden;text-overflow:ellipsis}.own-goal-mark{display:inline-grid;place-items:center;width:16px;height:16px;border-radius:50%;background:#c62828;color:#fff;font-size:10px;font-weight:950;font-style:normal;line-height:1}

/* Keep scorers and goal times beside the score in the live scoreboard. */
.scoreboard>div{grid-template-columns:auto minmax(0,1fr);grid-template-areas:"team team" "score scorers";align-items:center;column-gap:12px;min-width:0}
.scoreboard>div>small{grid-area:team}
.scoreboard>div>strong{grid-area:score}
.score-goal-list{grid-area:scorers;justify-content:start;align-content:center;max-width:min(190px,30vw);margin:0}
.score-goal-item{justify-content:flex-start}
@media(max-width:580px){.scoreboard{gap:8px}.scoreboard>div{column-gap:6px;min-width:0}.score-goal-list{max-width:28vw}.score-goal-item{gap:3px;font-size:9px}.score-goal-player{max-width:70px}.own-goal-mark{width:14px;height:14px;font-size:9px}}

/* Show each team's scorer list on the outside of its score. */
.scoreboard>div:first-of-type{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"team team" "scorers score";text-align:right}
.scoreboard>div:nth-of-type(2){grid-template-columns:auto minmax(0,1fr);grid-template-areas:"team team" "score scorers";text-align:left}
.scoreboard>div:first-of-type .score-goal-list{justify-content:end;text-align:right}
.scoreboard>div:first-of-type .score-goal-item{justify-content:flex-end}
.scoreboard>div:nth-of-type(2) .score-goal-list{justify-content:start;text-align:left}
.scoreboard>div:nth-of-type(2) .score-goal-item{justify-content:flex-start}



/* Apply each team's identity color to the full lineup preview card. */
.match-lineup-preview>.match-preview-team{background:var(--team-color);border-color:var(--team-color);color:var(--team-ink)}
.match-lineup-preview>.match-preview-team strong{color:var(--team-ink)}
.match-lineup-preview>.match-preview-team ul{color:var(--team-ink);opacity:.94}
.match-lineup-preview>.match-preview-team li{border-color:color-mix(in srgb,var(--team-ink) 22%,transparent)}

/* ===== LIGA SKALAMA · redesign visual da tela "Jogos ao vivo" (somente layout) ===== */
body .live-section [hidden]{display:none!important}
body .live-section :focus-visible{outline:3px solid #6f8fe8;outline-offset:2px}
body .live-card{max-width:1080px;margin:0 auto;padding:18px;display:grid;gap:16px;grid-template-columns:minmax(0,1fr);align-items:start}
body .live-card>.section-heading{margin:0;order:-5}
body .live-card>.section-heading h2{font:800 clamp(28px,6vw,40px)/1 'Barlow Condensed',sans-serif}
@media(min-width:620px){body .live-card{padding:26px}}
@media(min-width:900px){
  body .live-card{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);column-gap:22px}
  body .live-card>.section-heading,body .live-setup,body .live-card>.timer-rule{grid-column:1/-1}
  body .live-main{grid-column:1;grid-row:span 2}
  body .live-subs,body .live-incidents{grid-column:2}
}
/* Preparar partida */
body .live-setup{border:1px solid var(--line);border-radius:16px;background:var(--panel);padding:0 16px}
body .live-setup>summary{min-height:56px;display:flex;align-items:center;font-size:16px;font-weight:800;cursor:pointer;list-style:none}
body .live-setup>summary::-webkit-details-marker{display:none}
body .live-setup>summary::after{content:"▾";margin-left:auto;font-size:18px}
body .live-setup[open]>summary::after{transform:rotate(180deg)}
body .live-setup[open]>summary{border-bottom:1px solid var(--line);margin-bottom:16px}
body .live-setup>:not(summary){margin-bottom:16px}
body .live-section .live-team-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0 0 16px;align-items:start}
body .live-section .live-team-picker>label{grid-template-rows:auto auto}
body .live-section .live-team-picker>#nextMatchPreview{margin:0;padding:11px 14px;border-left:5px solid var(--yellow);border-radius:10px;background:var(--panel2);color:var(--ink);font-size:15px;font-weight:700}
@media(max-width:619px){body .live-section .live-team-picker,body .live-section .loan-player-controls,body .live-section .keeper-picks{grid-template-columns:minmax(0,1fr)}}
/* Campos e botões grandes (16px evita zoom no iPhone) */
body .live-section label,body .action-dialog label{font-size:13px;font-weight:700;color:var(--ink)}
body .live-section .live-team-picker select,body .live-section .live-team-picker input,body .live-section .keeper-picks select,
body .live-section .live-incidents select,body .live-section .live-subs select,body .live-section .live-incidents input,body .live-section .live-finish select,body .action-dialog select{height:50px;font-size:16px;padding:0 14px;border-radius:12px;border:1px solid var(--line);background:var(--panel2);color:var(--ink)}
body .live-section .button,body .action-dialog .button{min-height:50px;font-size:14px;border-radius:12px;padding:0 20px}
body .live-section .match-lineup-preview strong{font-size:15px}
body .live-section .match-lineup-preview ul,body .live-section .lineup-team-card li{font-size:13px}
body .live-section .lineup-adjustments>summary{font-size:14px;min-height:44px;display:flex;align-items:center}
body .live-section .lineup-remove-player{font-size:12px;min-height:36px}
body .live-section .help-text{font-size:12px}
/* Placar e cronômetro */
body .live-section .scoreboard{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:6px;align-items:center;margin:0;padding:18px 8px;border:1px solid var(--yellow);border-radius:18px;background:linear-gradient(180deg,rgba(255,196,0,.14),transparent)}
body .live-section .scoreboard>div,body .live-section .scoreboard>div:first-of-type,body .live-section .scoreboard>div:nth-of-type(2){display:grid;align-items:center;gap:8px;min-width:0}
body .live-section .scoreboard>div:first-of-type{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"team team" "scorers score";text-align:right}
body .live-section .scoreboard>div:nth-of-type(2){grid-template-columns:auto minmax(0,1fr);grid-template-areas:"team team" "score scorers";text-align:left}
body .live-section .scoreboard>div>small{grid-area:team;text-align:center;font:800 15px/1.2 'DM Sans',sans-serif;color:var(--ink);overflow-wrap:anywhere}
body .live-section .scoreboard>div>strong{grid-area:score;font:900 clamp(56px,16vw,104px)/1 'Barlow Condensed',sans-serif;color:var(--ink);min-width:1.5ch;padding:0 .14em;border-radius:16px;background:var(--panel2);border-bottom:6px solid var(--yellow);text-align:center}
body .live-section .scoreboard>div .score-goal-list{grid-area:scorers;max-width:none;margin:0;gap:3px;align-content:center}
body .live-section .scoreboard>div:first-of-type .score-goal-list{justify-self:end;justify-content:end;text-align:right}
body .live-section .scoreboard>div:first-of-type .score-goal-item{justify-content:flex-end}
body .live-section .scoreboard>div:nth-of-type(2) .score-goal-list{justify-self:start;justify-content:start;text-align:left}
body .live-section .scoreboard>div:nth-of-type(2) .score-goal-item{justify-content:flex-start}
body .live-section .scoreboard .score-goal-item{font-size:12px;gap:4px}
body .live-section .scoreboard>span{align-self:center;font:900 clamp(44px,11vw,72px)/1 'Barlow Condensed',sans-serif;color:var(--ink)}
body .live-section .timer-display{font-size:clamp(76px,26vw,140px);line-height:1;margin:0;color:var(--ink);text-shadow:none}
body .live-section .timer-status{font-size:14px;font-weight:700;color:var(--muted);min-height:20px}
body .live-section .timer-controls{display:grid;grid-template-columns:minmax(0,1fr);width:100%;max-width:460px;margin:0 auto}
body .live-section #pauseTimer{min-height:58px;font-size:17px}
body .live-section #pauseTimer:not(:disabled){background:var(--yellow);border-color:var(--yellow);color:#15130a}
/* Botão Começar jogo, controles e encerrar (ordem definida pelo organizador) */
body .live-main{display:grid;gap:16px;align-content:start}
body .live-section #beginGame{width:100%;min-height:58px;font-size:17px}
body .live-section #preparedBtn{grid-column:1/-1;justify-self:center;width:100%;max-width:460px;min-height:58px;font-size:17px}
body .live-section #preparedBtn.is-on::before{content:"✓ "}
body .live-section #preparedBtn.is-on{box-shadow:0 0 0 3px rgba(22,128,60,.35)}
body .live-clock{display:grid;gap:6px;text-align:center}
body .live-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;align-items:start}
body .live-row>.live-goal[hidden]+.live-pause{grid-column:1/-1}
body .live-goal{display:grid}
body .live-section #openGoalDialog{width:100%;min-height:58px;font-size:17px}
body .live-pause{display:grid;gap:6px}
body .live-section .live-pause .timer-controls{max-width:none;margin:0}
body .live-section #pauseTimer{width:100%;white-space:normal;line-height:1.2}
body .live-pause>.help-text{text-align:center;margin:0}
body .live-finish .fields.three{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
body .live-finish #finishGame{width:100%;min-height:58px}
body .live-finish #tieBreakerLabel{display:grid;gap:6px}
body .live-finish #tieBreakerLabel.hidden{display:none!important}
/* Ocorrências */
body .live-incidents{align-self:start}
body .live-incidents .incident-heading{margin:0 0 14px}
body .live-incidents h3{font:800 24px/1.1 'Barlow Condensed',sans-serif}
body .live-incidents .fields.three{grid-template-columns:minmax(0,1fr);margin-bottom:12px}
@media(min-width:520px){body .live-incidents .fields.three{grid-template-columns:1fr 1fr}body .live-incidents .fields.three label:last-child{grid-column:1/-1}}
body .live-incidents #addIncident{width:100%}
body .live-section .incident-row{font-size:14px}
body .live-section .timer-rule{font-size:13px;padding:12px}
/* Substituições e titulares */
body .live-subs{align-self:start}
body .live-subs .incident-heading{margin:0 0 14px}
body .live-subs h3{font:800 24px/1.1 'Barlow Condensed',sans-serif}
body .live-subs .fields.three{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin-bottom:12px}
@media(min-width:520px){body .live-subs .fields.three{grid-template-columns:repeat(3,minmax(0,1fr))}}
body .live-subs .help-text{margin:0 0 12px}
body .live-subs #addSub{width:100%}
body .live-section #onCourtLabel input{height:50px;font-size:16px;padding:0 14px;border-radius:12px;border:1px solid var(--line);background:var(--panel2);color:var(--ink)}
body .live-section .starter-picks{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
@media(max-width:619px){body .live-section .starter-picks{grid-template-columns:minmax(0,1fr)}}
body .live-section .starter-team{margin:0;padding:12px;border:1px solid var(--line);border-radius:14px;display:grid;gap:6px;min-width:0}
body .live-section .starter-team legend{padding:0 6px;font-weight:800;font-size:14px}
body .live-section .starter-option{display:flex;align-items:center;gap:10px;min-height:44px;font-size:15px;font-weight:600}
body .live-section .starter-option input{width:22px;height:22px;flex:none}
body .live-section .starter-team small{color:var(--muted);font-size:12px}
/* Pênaltis e histórico */
body .live-finish .fields.three>button{width:100%;min-height:58px}
.shootout-dialog{width:min(94vw,520px);max-height:92vh;overflow:auto;padding:18px}
.shootout-dialog .so-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}
.shootout-dialog .so-head strong{font:800 24px/1.1 'Barlow Condensed',sans-serif}
.shootout-dialog .so-score{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;text-align:center;gap:8px;margin-bottom:12px;padding:12px;border:1px solid var(--yellow);border-radius:16px}
.shootout-dialog .so-score small{display:block;font-weight:800;font-size:14px}
.shootout-dialog .so-score b{font:900 clamp(56px,18vw,88px)/1 'Barlow Condensed',sans-serif}
.shootout-dialog .so-score span{font:900 44px 'Barlow Condensed',sans-serif}
.shootout-dialog label{display:grid;gap:6px;font-size:13px;font-weight:700;margin-bottom:10px}
.shootout-dialog input,.shootout-dialog select{height:50px;font-size:16px;padding:0 14px;border-radius:12px;border:1px solid var(--line);background:var(--panel2);color:var(--ink)}
.shootout-dialog .so-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.shootout-dialog .so-actions .button{min-height:60px;font-size:18px}
.shootout-dialog .so-log{list-style:none;margin:14px 0;padding:0;display:grid;gap:6px;max-height:210px;overflow:auto}
.shootout-dialog .so-log li{display:flex;justify-content:space-between;gap:10px;padding:8px 12px;border:1px solid var(--line);border-radius:10px;font-size:14px}
.shootout-dialog .so-foot{display:grid;gap:10px}
@media(min-width:480px){.shootout-dialog .so-foot{grid-template-columns:1fr 1.4fr}}
.history-subhead{margin:14px 0 6px;font-weight:800;color:var(--gold,var(--yellow))}
.history-shootout{margin:4px 0;font-weight:700}
/* Destaques da temporada: nomes em amarelo e estatísticas em branco */
body .season-highlight-card{background:linear-gradient(145deg,#24231c,#171717);border-color:#514611}
body .season-highlight-card .season-kicker{color:#ffc400}
body .season-highlight-card strong{color:#ffc400}
body .season-highlight-card small{color:#fff}
