/* Direção de dashboard aprovada pelo PO: menu lateral, campo central, apoio à direita. */
html[data-dashboard] body{grid-template-rows:auto minmax(0,1fr)}
html[data-dashboard] .topbar{padding:10px 26px;background:var(--panel);border-bottom:1px solid var(--line);min-height:78px}
html[data-dashboard] .game-crest{width:56px;height:56px}
html[data-dashboard] #principal{max-width:1900px;height:100%;margin:0 auto;padding:18px 22px 12px;gap:12px 18px;grid-template-columns:176px minmax(0,1fr) 254px;grid-template-rows:minmax(0,1fr) auto;grid-template-areas:'menu palco apoio' 'menu aviso apoio'}
html[data-dashboard] .game-nav{grid-area:menu;display:flex;flex-direction:column;gap:8px;margin:42px 0 0;padding:12px 0;border-right:1px solid var(--line);padding-right:14px;min-height:0;overflow:auto}
html[data-dashboard] .game-nav button{display:flex;align-items:center;gap:12px;padding:13px 12px;text-align:left;min-height:48px;border-color:transparent;background:transparent;color:var(--muted);flex-shrink:0}
html[data-dashboard] .game-nav button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
html[data-dashboard] .game-nav button:hover{background:var(--panel2);color:var(--ink)}
html[data-dashboard] .game-nav button[aria-selected=true]{color:var(--ink);background:var(--accent);border-color:var(--line);box-shadow:inset 3px 0 var(--gold)}
.dashboard-menu-title{grid-area:menu;align-self:start;margin:8px 0;color:var(--muted);letter-spacing:1.3px;font-size:.75rem;font-weight:750;pointer-events:none}
html[data-dashboard] .arena-stage{grid-area:palco;padding:0;min-width:0}
html[data-dashboard] .arena-status{grid-area:aviso;padding:10px 14px;border:1px solid var(--line);border-radius:10px;min-height:42px;background:var(--panel);color:var(--muted);max-height:76px}
.dashboard-support{grid-area:apoio;min-height:0;min-width:0;overflow:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:12px;padding:0 3px 0 0}
.dashboard-club-card,.dashboard-progress-card,.dashboard-round-card,.dashboard-summary{border:1px solid var(--line);background:var(--panel);border-radius:14px;padding:16px;margin:0}
.dashboard-club-card{text-align:center;background:linear-gradient(145deg,var(--panel2),var(--panel));border-top:2px solid var(--gold)}
.dashboard-club-card img{display:block;width:76px;height:76px;object-fit:contain;margin:0 auto 8px}
.dashboard-club-card h2{font-size:1.2rem;margin:0 0 5px;overflow-wrap:anywhere}
.dashboard-club-card p{margin:0}
.dashboard-progress-card{display:grid;grid-template-columns:68px minmax(0,1fr);align-items:center;gap:6px 12px;text-align:left}
.dashboard-progress-card h3{grid-column:2;grid-row:1;margin:0}
.dashboard-progress-card .dashboard-ring{grid-column:1;grid-row:1/span 2;width:68px;height:68px;margin:0}
.dashboard-progress-card .dashboard-ring strong{font-size:1rem}
.dashboard-progress-card p{grid-column:2;grid-row:2;margin:0!important;font-size:.875rem}
.dashboard-support h3{font-size:1rem;line-height:1.3;margin:0 0 12px}
.dashboard-ring{position:relative;display:grid;place-items:center;width:100px;height:100px;margin:12px auto;background:conic-gradient(var(--gold) var(--progresso,0%),var(--line) 0);border-radius:50%}
.dashboard-ring::before{content:'';position:absolute;inset:8px;border-radius:50%;background:var(--panel)}
.dashboard-ring strong{position:relative;font-size:1.3rem}
.dashboard-progress-card p{margin:10px 0 0}
.dashboard-summary>div{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid var(--line);font-size:.875rem}
.dashboard-summary>div:last-child{border:0;padding-bottom:0}
.dashboard-summary>div:first-child{padding-top:0}
.dashboard-summary dt{color:var(--muted)}
.dashboard-summary dd{margin:0;text-align:right;font-weight:650;max-width:58%;overflow-wrap:anywhere}
.dashboard-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;flex-shrink:0}
.dashboard-actions button{width:100%;padding:8px 4px;font-size:.875rem}
.dashboard-round-card p{margin-bottom:0}
html[data-dashboard] .arena-campo .team-panel{border-radius:16px;padding:16px;background:var(--panel)}
html[data-dashboard] .arena-campo .stats{background:var(--panel);border-radius:12px}
html[data-dashboard] .arena-campo .stats>div{padding:10px 12px}
html[data-dashboard] .arena-campo .pitch{border:1px solid var(--line);border-radius:12px;padding:14px 10px;background:repeating-linear-gradient(0deg,#12452b 0,#12452b 60px,#164d30 60px,#164d30 120px)}
html[data-dashboard][data-torcida=ursao] .arena-campo .pitch{background:repeating-linear-gradient(0deg,#402026 0,#402026 60px,#4d2630 60px,#4d2630 120px)}
html[data-dashboard] .arena-campo .slot{background:#0b291ddf;border-radius:9px;border-color:#9ed7af;max-width:112px;padding:5px 2px}
html[data-dashboard][data-torcida=ursao] .arena-campo .slot{background:#381923eb;border-color:#e8a4aa}
html[data-dashboard] .arena-campo .slot[aria-pressed=true]{border-color:#f4b740}
html[data-dashboard] .arena-campo .slot.filled{min-height:54px}
html[data-dashboard] .arena-campo .company-logo-field{width:30px;height:30px}
html[data-dashboard] .arena-campo #campo{min-height:320px}
html[data-dashboard] .arena-inicio{display:flex;flex-direction:column;gap:12px;justify-content:center;align-items:stretch}
html[data-dashboard] .arena-inicio .intro{padding:8px 12px;display:grid;grid-template-columns:1.1fr 1fr;gap:16px;align-items:center}
html[data-dashboard] .arena-inicio h1{font-size:clamp(1.8rem,2.5vw,3rem);margin-bottom:12px}
html[data-dashboard] .arena-inicio .round{margin:0;padding:14px}
html[data-dashboard] .arena-inicio .round .eyebrow{display:none}
html[data-dashboard] .arena-inicio .rivalry{flex:0 1 auto;max-height:46%;min-height:140px;margin:0 12px}
html[data-dashboard] .arena-inicio .rivalry>img{height:100%;width:100%;object-fit:contain;object-position:center top}
html[data-dashboard] .arena-inicio .rivalry>div{display:none}
html[data-dashboard] .locker-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
html[data-dashboard] .score-panel{grid-template-columns:1fr;gap:16px;padding:20px}
html[data-dashboard] .league-grid,html[data-dashboard] .rules{grid-template-columns:1fr}
@media(min-width:1500px){html[data-dashboard] #principal{grid-template-columns:198px minmax(0,1fr) 280px;gap:16px 24px}html[data-dashboard] .score-panel{grid-template-columns:1fr 1fr}.dashboard-club-card img{width:110px;height:110px}}
@media(max-width:1000px){
 html[data-dashboard] #principal{padding:8px 12px 0;gap:7px;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto auto;grid-template-areas:'palco' 'aviso' 'menu'}
 .dashboard-support,.dashboard-menu-title{display:none}
 html[data-dashboard] .game-nav{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:2px;margin:0 -12px;padding:6px 8px max(8px,env(safe-area-inset-bottom));border-right:0;border-top:1px solid var(--line);background:var(--panel);overflow:hidden}
 html[data-dashboard] .game-nav button{display:flex;flex-direction:column;justify-content:center;gap:3px;min-height:54px;padding:5px 1px;text-align:center;font-size:.875rem;border-radius:8px}
 html[data-dashboard] .game-nav button svg{width:19px;height:19px}
 html[data-dashboard] .game-nav button[aria-selected=true]{box-shadow:inset 0 2px var(--gold)}
 html[data-dashboard] .arena-campo .team-panel{padding:10px}
 html[data-dashboard] .arena-campo .stats>div{padding:6px}
 html[data-dashboard] .arena-campo .pitch{padding:8px}
 html[data-dashboard] .arena-inicio .intro{grid-template-columns:1fr 1fr}
 html[data-dashboard] .arena-status{font-size:.8rem;min-height:36px;padding:7px 10px;max-height:60px}
}
@media(max-width:600px){
 html[data-dashboard] .topbar{padding:6px 10px;min-height:64px}
 html[data-dashboard] .game-crest{width:42px;height:42px}
 html[data-dashboard] .arena-inicio{justify-content:flex-start}
 html[data-dashboard] .arena-inicio .intro{display:block}
 html[data-dashboard] .arena-inicio .round{margin-top:14px}
 html[data-dashboard] .arena-campo .slot.filled{min-height:48px}
 html[data-dashboard] .arena-campo .company-logo-field{width:25px;height:25px}
 html[data-dashboard] .arena-campo #campo{min-height:300px}
 html[data-dashboard] .locker-grid{grid-template-columns:1fr}
}
@media(max-width:360px){html[data-dashboard] .game-nav button{font-size:.75rem}.arena-club{max-width:52%}}
.uniforme-editor{margin-top:24px;padding:20px;border:1px solid var(--line);border-radius:14px;background:var(--panel2)}
.uniforme-editor h3{font-size:1.25rem;margin:0 0 6px;letter-spacing:-.025em}
.uniforme-editor .section-title{align-items:center}
.uniforme-editor .section-title button{flex-shrink:0}
.uniforme-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}
.uniforme-preview figure{margin:0;text-align:center;background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:12px 8px}
.uniforme-preview svg{display:block;width:100%;height:auto;max-height:180px;margin:auto;overflow:visible}
.uniforme-preview figcaption{font-size:.875rem;font-weight:700;margin-top:6px}
.uniforme-camiseta{fill:var(--uniforme-camiseta);stroke:#83988b;stroke-width:1.5}
.uniforme-calcao{fill:var(--uniforme-calcao);stroke:#83988b;stroke-width:1.5}
.uniforme-meiao{fill:var(--uniforme-meiao);stroke:#83988b;stroke-width:1.5}
.uniforme-acabamento{fill:none;stroke:var(--uniforme-detalhes);stroke-width:6;stroke-linecap:round;stroke-linejoin:round}
.uniforme-estampa{display:none}
[data-modelo=listras] .uniforme-estampa{display:block;fill:url(#uniforme-listras)}
[data-modelo=faixa] .uniforme-estampa{display:block;fill:url(#uniforme-faixa)}
.uniforme-controles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 16px}
.uniforme-controles>div{min-width:0}
.uniforme-controles>div:last-child{grid-column:1/-1}
.uniforme-cor{display:flex;align-items:center;gap:10px;min-height:44px;background:var(--bg);border:1px solid var(--line);border-radius:8px;padding:4px 8px}
.uniforme-cor input[type=color]{width:44px;height:34px;padding:2px;border:0;background:transparent;cursor:pointer;flex-shrink:0}
.uniforme-cor output{font-size:.875rem;color:var(--muted);font-variant-numeric:tabular-nums}
@media(max-width:600px){.uniforme-editor{padding:12px}.uniforme-preview{gap:6px}.uniforme-preview figure{padding:8px 3px}.uniforme-controles{gap:6px 10px}.uniforme-editor .section-title{align-items:flex-start}.uniforme-editor h3{font-size:1.1rem}.uniforme-cor{gap:4px;padding:4px}.uniforme-cor input[type=color]{width:32px}.uniforme-cor output{font-size:.8rem}}
