:root{font-family:Inter,Arial,sans-serif;color:#f3f5f7;background:#0c121c;font-synthesis:none}*{box-sizing:border-box}body{margin:0;padding-bottom:115px}header{background:#151d2a;border-bottom:3px solid #f59e0b;display:flex;align-items:center;gap:30px;padding:18px 28px;flex-wrap:wrap}.brand{font-weight:900;font-size:25px;letter-spacing:-1px}.brand span{color:#f59e0b}.brand small{display:block;font-size:9px;color:#9ba8b9;letter-spacing:2px}nav{display:flex;gap:7px;flex-wrap:wrap}button{cursor:pointer;background:#283344;border:1px solid #46546a;border-radius:6px;color:#f3f5f7;padding:9px 13px}button:hover,.active{background:#f59e0b;color:#121820;border-color:#f59e0b}#sync{margin-left:auto;font-size:12px;color:#b9c3d0}main{max-width:1250px;margin:30px auto;padding:0 20px}.heading{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:22px}.heading h2{margin:0 12px;font-size:23px}.heading button:last-child{margin-left:0}h2{font-size:23px}h3{margin:0 0 12px;color:#ffb233}.muted{color:#9ba8b9}.group{margin-bottom:22px;background:#151e2c;border:1px solid #2c394b;border-radius:10px;padding:16px}.match{display:grid;grid-template-columns:1fr 120px 1fr;gap:12px;padding:15px;border-top:1px solid #2c394b;align-items:center}.match .right{text-align:right}.score{font-size:25px;font-weight:800;text-align:center;color:#ffb233}.status{text-align:center;color:#9ba8b9;font-size:12px}.goals{grid-column:1/-1;color:#b8c5d3;font-size:12px}.empty{padding:35px;text-align:center;border:1px dashed #455166;border-radius:9px;color:#a9b5c5}#matchTabs{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}#editor,#radioEditor{background:#151e2c;padding:20px;border-radius:10px;max-width:850px}.formgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}label{display:block;font-size:12px;color:#b7c3d1;margin-bottom:5px}input,select,textarea{background:#0c121c;border:1px solid #455267;border-radius:5px;color:#fff;padding:10px;width:100%;font:inherit}textarea{min-height:75px}form{display:grid;gap:15px}.actions{display:flex;flex-wrap:wrap;gap:9px;margin:15px 0}.goalrow{display:flex;justify-content:space-between;padding:8px;border-bottom:1px solid #2e3a49}#livebar{position:fixed;bottom:0;left:0;width:100%;min-height:94px;display:grid;grid-template-columns:minmax(190px,23%) 1fr minmax(150px,23%);background:#1d2838;border-top:3px solid #f59e0b;box-shadow:0 -6px 25px #0008;z-index:10}.player,.feature,.side{padding:12px 18px;min-width:0}.player{background:#192230}.player strong{color:#ffb233;font-size:13px}.controls{display:flex;gap:8px;align-items:center;margin-top:7px}.controls button{padding:6px}.controls span{font-size:11px;color:#9ba8b9}.feature{display:flex;align-items:center;justify-content:center;gap:20px;background:linear-gradient(105deg,#3a2524,#6b2a22);text-align:center}.feature strong{font-size:20px}.feature span{font-size:13px}.side{display:flex;align-items:center;justify-content:center;text-align:center;font-size:13px;color:#d7dfe9;background:#243041}#toast{position:fixed;top:15px;right:15px;z-index:20;background:#633326;color:white;padding:12px;border-radius:7px;display:none}@media(max-width:700px){header{gap:12px;padding:12px}main{margin:15px auto}.match{grid-template-columns:1fr 70px 1fr}.score{font-size:20px}#livebar{grid-template-columns:30% 1fr 25%;min-height:100px}.player,.feature,.side{padding:7px}.feature{display:block}.feature strong{font-size:14px}.feature span{display:block;font-size:10px}.side{font-size:10px}.controls span{display:none}.player strong{font-size:10px}}

.navlink{display:inline-block;text-decoration:none;cursor:pointer;background:#283344;border:1px solid #46546a;border-radius:6px;color:#f3f5f7;padding:9px 13px;font-size:13px}.navlink:hover,.navlink.active{background:#f59e0b;color:#121820;border-color:#f59e0b}#matchTabs{max-height:220px;overflow:auto;align-content:start}#matchTabs button{font-size:12px}#editor{min-height:90px}

/* Cards compactos com identidade RodriGol e suporte a escudos cadastrados */
.match{grid-template-columns:minmax(0,1fr) 110px minmax(0,1fr);padding:12px 8px;gap:8px;min-height:72px}
.team{display:flex;align-items:center;gap:10px;min-width:0;font-size:15px;font-weight:600}
.team span{overflow-wrap:anywhere}.away-team{justify-content:flex-end;text-align:right}
.crest{width:37px;height:37px;object-fit:contain;flex-shrink:0}
.count{font-size:11px;font-weight:400;color:#a6b4c4;margin-left:10px}
.scorecell{display:flex;flex-direction:column;align-items:center}.goals{border-top:1px solid #2c394b;padding-top:7px;line-height:1.5}
#matchSearch{max-width:520px}#matchTabs{max-height:210px}
@media(max-width:700px){.team{font-size:12px;gap:4px}.crest{width:25px;height:25px}.match{grid-template-columns:minmax(0,1fr) 70px minmax(0,1fr)}.score{font-size:19px}}

/* Beta 07 — portal e acesso às cabines */
.highlights{display:flex;gap:12px;overflow-x:auto;padding:4px 0 18px}.highlight-card{min-width:260px;flex:1;max-width:370px;background:#192435;border:1px solid #364760;border-radius:9px;padding:13px;text-decoration:none;color:inherit}.highlight-card small{color:#aab9ca}.highlight-teams{display:flex;align-items:center;gap:8px;margin:12px 0;font-size:12px}.highlight-teams span{flex:1}.highlight-teams b{font-size:20px;color:#ffb233;white-space:nowrap}.highlight-teams .crest{width:29px;height:29px}.portal-layout{display:grid;grid-template-columns:minmax(0,1fr) 275px;gap:18px}.portal-sidebar{background:#151e2c;border:1px solid #2c394b;border-radius:10px;padding:14px;align-self:start;position:sticky;top:10px}.sidebar-game{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px;padding:12px 0;border-bottom:1px solid #334155;text-decoration:none;color:inherit;font-size:12px}.sidebar-game small{width:100%;color:#aab9ca}.sidebar-game strong{color:#ffb233}.match-link{text-decoration:none;color:inherit}.match-link:hover,.highlight-card:hover,.sidebar-game:hover{background:#253247}.goals-home,.goals-away{font-size:12px;color:#cbd5e1;align-self:start;line-height:1.6}.goals-away{text-align:right}.match-link .scorecell{align-self:start}@media(max-width:900px){.portal-layout{grid-template-columns:1fr}.portal-sidebar{position:static}.highlights .highlight-card{flex:none}}

/* Beta 08: elementos visuais adaptados da identidade do portal 2.1.7; sem importar JS antigo. */
:root{--rg-orange:#ff5b00;--rg-line:#274654;--rg-bg:#061017;--rg-panel:#0b1c26}
body{background:var(--rg-bg);color:#f7fbfd}
header{background:#061017;border-bottom:2px solid var(--rg-orange);min-height:64px}
.brand{color:var(--rg-orange);font-family:Impact,'Arial Black',Arial,sans-serif;font-style:italic;font-size:29px;letter-spacing:-.7px}
.brand em{font-size:11px;background:var(--rg-orange);color:#071018;padding:4px 6px;border-radius:3px;vertical-align:middle;font-style:normal}
.brand small{font-family:Arial,sans-serif;font-style:normal;letter-spacing:2px;font-size:8px;color:#a9c1cb}
nav .navlink.active{background:transparent;color:#fff;border:0;border-bottom:2px solid var(--rg-orange);border-radius:0;text-transform:uppercase;font-weight:800}
.group,.portal-sidebar{background:var(--rg-panel);border-color:var(--rg-line)}
.group h3,.portal-sidebar h3{color:var(--rg-orange)}
.group{border-left:3px solid var(--rg-orange)}
.match{border-color:var(--rg-line)}
.score,.highlight-teams b,.sidebar-game strong{color:#ff7a22}
.live-strip{overflow:hidden;position:relative;margin-bottom:15px}
.highlights{display:flex;overflow:visible;gap:12px;width:max-content;max-width:none;padding:4px 0 12px}
.highlight-card{width:270px;min-width:270px;max-width:270px;flex:0 0 270px;background:#0d2430;border:1px solid var(--rg-line);border-radius:5px}
.highlights.moving{animation:rg-marquee 38s linear infinite}
.live-strip:hover .highlights.moving,.live-strip:focus-within .highlights.moving{animation-play-state:paused}
@keyframes rg-marquee{from{transform:translateX(0)}to{transform:translateX(calc(-50% - 6px))}}
@media(prefers-reduced-motion:reduce){.highlights.moving{animation:none}.live-strip{overflow-x:auto}}
@media(max-width:650px){.live-strip{overflow-x:auto}.highlights.moving{animation:none}.brand{font-size:23px}}

/* Beta 09: portal editorial e pagina individual, sem modificar o fluxo dos relogios. */
.site-header{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:18px;min-height:95px;padding:15px 28px}
.header-clock{display:flex;flex-direction:column;gap:3px;align-items:flex-start}.header-clock strong{color:#ff650c;font-size:29px;font-weight:900;font-variant-numeric:tabular-nums}.header-clock small{color:#b4c8d1;font-size:11px;text-transform:uppercase}
.site-header .brand{justify-self:center;text-align:center;font-size:31px;white-space:nowrap}.site-header .brand span{color:#ff650c}.site-header nav{justify-self:end}.site-header #sync{grid-column:3;justify-self:end;margin:0;font-size:10px}
.live-strip{display:flex;background:#0c2632;border:1px solid #31505d;border-left:0;border-right:0;align-items:stretch;min-height:92px}.ticker-label{flex:0 0 94px;display:flex;align-items:center;justify-content:center;background:#ff650c;color:#061017;font-weight:900;letter-spacing:.7px;z-index:1}.highlights{display:block;flex:1;min-width:0;overflow:hidden;padding:0}.ticker-track{display:flex;width:max-content;height:100%;gap:0}.ticker-set{display:flex;flex:0 0 auto}.ticker-game{display:grid;grid-template-columns:1fr auto 1fr;grid-template-rows:auto auto;align-items:center;gap:6px 9px;width:310px;padding:11px 13px;border-right:1px solid #34505e;color:#eaf3f7;text-decoration:none;background:#0c2632}.ticker-game:hover{background:#173b4b}.ticker-game b{color:#ff751c;font-size:21px}.ticker-club{display:flex;gap:5px;align-items:center;font-size:12px;min-width:0}.ticker-club .crest{width:23px;height:23px}.ticker-club:nth-of-type(3){justify-content:flex-end;text-align:right}.ticker-state{grid-column:1;color:#6dd9ad;font-size:10px;font-weight:800}.ticker-game small{grid-column:2/4;text-align:right;color:#b6cbd5}.ticker-track.moving{animation:rg-ticker 45s linear infinite}.live-strip:hover .ticker-track.moving,.live-strip:focus-within .ticker-track.moving{animation-play-state:paused}.ticker-empty{padding:32px;color:#aebfca;font-size:12px}
@keyframes rg-ticker{to{transform:translateX(-50%)}}.competition-heading{text-align:center;font-size:18px;letter-spacing:.3px;margin:0 0 14px}.count{display:none}
.detail-heading{display:flex;justify-content:space-between;gap:12px;color:#ff751c;font-weight:700}.detail-meta{text-align:center;color:#b9cbd5;font-size:12px;margin:12px}.detail-score{display:grid;grid-template-columns:minmax(0,1fr) 180px minmax(0,1fr);gap:10px;align-items:center;padding:16px 0 22px;border-bottom:1px solid #2b4855}.detail-club{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;min-width:0}.detail-club strong{font-size:clamp(17px,2.4vw,27px)}.detail-crest{width:66px;height:66px;object-fit:contain}.detail-center{text-align:center}.detail-result{font-size:clamp(32px,5vw,55px);font-weight:900;color:#ff751c;white-space:nowrap}.detail-status{font-size:13px;color:#b8d0db}.detail-goals{font-size:12px;color:#c9d8df;min-height:20px}.detail-sections{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:20px}.detail-sections section{background:#0b1d28;border:1px solid #284653;border-radius:8px;padding:16px}.lineup-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.lineup-grid h4{margin:0 0 10px}.lineup-player,.detail-event{padding:8px 0;border-bottom:1px solid #243b46;font-size:13px}.lineup-player span{color:#ff751c}.detail-event{display:flex;gap:12px}.detail-event b{color:#ff751c}.detail-event small{color:#91a9b6}
@media(max-width:700px){.site-header{grid-template-columns:1fr auto;gap:9px}.site-header .brand{grid-column:1/3;grid-row:1;justify-self:center;font-size:23px}.header-clock{grid-column:1;grid-row:2}.header-clock strong{font-size:21px}.site-header nav{grid-column:2;grid-row:2}.site-header #sync{grid-column:1/3;justify-self:center}.ticker-label{flex-basis:62px;font-size:11px}.ticker-game{width:270px}.detail-score{grid-template-columns:minmax(0,1fr) 95px minmax(0,1fr)}.detail-crest{width:43px;height:43px}.detail-sections{grid-template-columns:1fr}.detail-heading{font-size:12px}}
@media(prefers-reduced-motion:reduce){.ticker-track.moving{animation:none}.highlights{overflow-x:auto}}

/* Revisão de apresentação 10 */
.site-header{min-height:65px;padding:8px 24px;position:sticky;top:0;z-index:40;background:#061017;border-bottom:2px solid #ff650c}
.site-header .brand{font-size:26px}.site-header .header-clock strong{font-size:25px}
.live-strip[hidden]{display:none!important}
.ticker-game{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);grid-template-rows:16px 28px 16px;min-height:85px;width:340px;gap:2px 7px}
.ticker-state{grid-column:1/4;grid-row:1;text-align:center}.ticker-club{grid-row:2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.ticker-club.home{grid-column:1;text-align:right}.ticker-club.away{grid-column:3;text-align:left}.ticker-game b{grid-column:2;grid-row:2}.ticker-game small{grid-column:1/4;grid-row:3;text-align:center}
.central-date-filter{display:flex;align-items:center;gap:12px;margin:12px 0 16px}.central-date-filter input{max-width:220px}

.brand-home{display:block;text-decoration:none;color:inherit;cursor:pointer}.brand-home:focus-visible{outline:2px solid #ff650c;outline-offset:5px}.news-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px}.news-card{color:inherit;text-decoration:none;background:#0d222d;border:1px solid #284656;border-radius:10px;padding:16px}.news-card h2{color:#ff7417}.news-image{display:block;width:100%;max-height:400px;object-fit:cover;border-radius:6px}.news-article{max-width:900px;margin:auto;background:#0d222d;padding:25px;border-radius:12px}.news-body{font-size:18px;line-height:1.7;white-space:normal}.news-article iframe{width:100%;aspect-ratio:16/9;border:0}.admin-nav{display:flex;flex-wrap:wrap;gap:12px;margin:15px 0 30px}.admin-nav a{padding:10px 14px;border:1px solid #365062;border-radius:6px;color:#fff;text-decoration:none}.admin-nav a:hover{border-color:#ff7417}

.slide-link{display:flex;align-items:center;justify-content:center;gap:14px;width:100%;height:100%;color:inherit;text-decoration:none}.slide-link:hover{text-decoration:underline}.slide-art{max-height:75px;max-width:40%;object-fit:contain}.slide-caption{display:flex;flex-direction:column;gap:5px;align-items:center}.slide-caption strong{font-size:17px}.slide-caption span{font-size:12px}

/* Revisão 12: nomes e escudos próximos ao placar, sem quebra de linha */
.ticker-game{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);column-gap:9px}
.ticker-club{display:flex!important;align-items:center;gap:5px;overflow:hidden;white-space:nowrap;min-width:0;font-size:11px}
.ticker-club.home{justify-content:flex-end;text-align:right}
.ticker-club.away{justify-content:flex-start;text-align:left}
.ticker-club .crest{display:block;flex:0 0 23px;width:23px;height:23px;object-fit:contain}
.ticker-game b{white-space:nowrap;text-align:center}
#lineupForm{border-top:1px solid #31505d;margin-top:18px;padding-top:15px}
#lineupForm textarea{min-height:210px}

/* Revisão 13: placar legível na coluna direita */
.sidebar-game{display:block;padding:12px 0}
.sidebar-scoreline{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:7px;width:100%}
.sidebar-scoreline strong{white-space:nowrap;color:#ff7a22;font-size:15px;font-variant-numeric:tabular-nums}
.sidebar-side{display:flex;align-items:center;gap:4px;min-width:0;font-size:11px}
.sidebar-side.home{justify-content:flex-end;text-align:right}
.sidebar-side.away{justify-content:flex-start;text-align:left}
.sidebar-side .sidebar-name{min-width:0;overflow-wrap:anywhere}
.sidebar-side .crest{width:20px;height:20px;flex:0 0 20px;object-fit:contain}
.sidebar-game small{display:block;width:100%;text-align:center;margin-top:5px;color:#b6cbd5}
/* A rolagem só começa se a largura dos cartões exceder a largura disponível */
.ticker-track:not(.moving){width:100%;justify-content:flex-start}
.ticker-track.moving{width:max-content}
@media(prefers-reduced-motion:reduce){.ticker-track.moving{animation:none}.highlights{overflow-x:auto}}

/* Super pacote: primeira etapa, cards mais enxutos e linha fina */
.match{padding:9px 11px;gap:6px}.match .score{font-size:21px}.match-headline{grid-column:1/-1;text-align:center;color:#d8e2eb;font-size:12px}.match-headline:empty{display:none}.detail-headline{text-align:center;padding:10px 14px;color:#e2edf5;background:#142b38;border-radius:7px}.lineup-player{color:#f2f4f7}
@media(max-width:700px){body{padding-bottom:145px}#livebar{min-height:105px}.match{padding:8px 7px}.match .score{font-size:18px}}

/* Super Pacote: componentes públicos compartilhados */
.rg-shared-strip{display:flex;align-items:stretch;background:#0c2632;border-top:2px solid #f97316;border-bottom:1px solid #31505d;min-height:50px;overflow:hidden}.rg-shared-strip[hidden],.rg-shared-live[hidden]{display:none!important}.rg-shared-strip>strong{display:flex;align-items:center;padding:10px 14px;background:#f97316;color:#061017;font-size:12px;flex-shrink:0}.rg-shared-track{display:flex;gap:0;overflow-x:auto;scrollbar-width:thin}.rg-shared-track a{padding:9px 15px;white-space:nowrap;border-right:1px solid #31505d;color:#f0f5f7;text-decoration:none;font-size:12px}.rg-shared-track small{display:block;color:#b7c7d2}.rg-shared-live{float:right;width:220px;max-width:32%;background:#0c2632;border:1px solid #31505d;border-radius:10px;margin:12px 0 12px 16px;padding:12px}.rg-shared-live h3{color:#ff751c;margin:0 0 10px;font-size:15px}.rg-shared-live a{display:block;color:#f0f5f7;text-decoration:none;padding:8px 0;border-bottom:1px solid #31505d;font-size:12px}.rg-shared-live small{display:block;color:#b7c7d2}.event-crest{width:18px;height:18px;object-fit:contain;vertical-align:middle;margin-right:6px}.match .goals-home,.match .goals-away{font-size:11px;line-height:1.25}.detail-event span{min-width:0}@media(max-width:700px){.rg-shared-live{float:none;width:auto;max-width:none;margin:10px 0}.rg-shared-strip>strong{padding:8px}.rg-shared-track a{padding:7px 10px}.event-crest{width:16px;height:16px}}

/* Super Pacote integrado */
.calendar-pick{display:flex;align-items:center;gap:8px;margin:0}.calendar-pick input{width:155px}.calendar-days{display:grid;grid-template-columns:repeat(11,minmax(0,1fr));gap:5px;margin:-8px 0 18px}.calendar-day{display:flex;flex-direction:column;gap:4px;align-items:center;padding:8px 2px}.calendar-day small{font-size:10px;text-transform:uppercase}.calendar-day strong{font-size:17px}.match-headline{display:none!important}.goals-home,.goals-away{border-top:1px solid #304b58;padding-top:5px;font-size:11px;line-height:1.25}.match{row-gap:4px!important}.rg-global-strip[hidden],.rg-global-sidebar[hidden]{display:none!important}.rg-global-sidebar{position:fixed;right:12px;top:180px;width:245px;max-height:calc(100vh - 310px);overflow:auto;background:#0b1e29;border:1px solid #31505d;border-radius:10px;padding:12px;z-index:12;box-shadow:0 4px 20px #0007}.rg-global-strip .ticker-track.moving{animation:rg-ticker 45s linear infinite}.media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px}.media-item{display:flex;flex-direction:column;gap:8px;background:#102734;border-radius:8px;padding:12px}.media-item img{width:100%;height:120px;object-fit:contain}.standings-wrap{overflow-x:auto}.standings{border-collapse:collapse;width:100%;font-size:13px}.standings th,.standings td{border-bottom:1px solid #304b58;padding:11px 7px;text-align:center}.standings td:nth-child(2){text-align:left;white-space:nowrap}.standings td img{width:22px;height:22px;object-fit:contain;vertical-align:middle;margin-right:7px}.rg-blog{grid-column:1/-1}@media(max-width:1400px){.rg-global-sidebar{position:static;width:auto;max-height:none;margin:20px 0}}@media(max-width:750px){.calendar-days{overflow-x:auto;display:flex}.calendar-day{flex:0 0 46px}.calendar-pick{width:100%}.rg-global-strip .ticker-game{width:285px}}

.side-slide-art{max-height:64px;max-width:38%;object-fit:contain}.side small{display:block}.side strong{display:block}

/* Consolidação de metadados e cobertura */
.detail-meta-extra{border-bottom:1px solid #284653;padding-bottom:12px;margin-top:0}
.rg-blog{grid-column:1/-1}
@media(max-width:700px){.rg-blog{grid-column:auto}}

.event-comment{font-weight:400;line-height:1.5;margin:5px 0 4px;color:#c9d8e2;white-space:pre-wrap}

/* Consolidação: calendário compacto e faixa AO VIVO de leitura confortável */
.calendar-days[hidden],.calendar-pick[hidden]{display:none!important}
.calendar-toggle{background:transparent;border:0;padding:0 8px;color:inherit;font:inherit;font-weight:700;cursor:pointer;text-align:left}
.calendar-toggle:hover{color:#ff8b35}
.live-strip{min-height:58px;height:58px}
.ticker-label{flex-basis:76px;font-size:13px}
.ticker-game{width:236px;padding:5px 9px;gap:2px 5px}
.ticker-game b{font-size:16px}
.ticker-club{font-size:11px;gap:3px}
.ticker-club .crest{width:17px;height:17px}
.ticker-game small,.ticker-state{font-size:9px}
.ticker-track.moving{animation-duration:80s}
.slide-art,.side-slide-art{max-height:72px;object-fit:contain}
#livebar .feature,#livebar .side{overflow:hidden}

/* Navegação administrativa unificada */
.admin-nav{display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin:12px 0 24px}
.admin-nav a{display:inline-flex;align-items:center;padding:10px 13px;border:1px solid #415267;border-radius:7px;background:#1b293a;color:#edf3fa;text-decoration:none;font-size:13px;line-height:1.35}
.admin-nav a:hover,.admin-nav a[aria-current="page"]{border-color:#ff861e;color:#ffad65;background:#202b3a}

/* Banners da rádio: ocupam integralmente os painéis central e direito. */
#livebar .feature:has(.slide-art-full),#livebar .side:has(.slide-art-full){padding:0!important;gap:0!important;overflow:hidden;display:block;position:relative}
#livebar .feature .slide-art-full,#livebar .side .slide-art-full{display:block;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover;object-position:center;border:0;margin:0;pointer-events:none}
#livebar .feature .slide-fallback,#livebar .side .slide-fallback{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;width:100%;height:100%}

/* Correção do banner na página principal e nas páginas compartilhadas */
#livebar{height:94px;min-height:94px}
#livebar .feature.has-banner,#livebar .side.has-banner,
#livebar .feature:has(> .slide-art-full),#livebar .side:has(> .slide-art-full){
  display:block!important;padding:0!important;overflow:hidden!important;position:relative;
}
#livebar .feature .slide-art-full,#livebar .side .slide-art-full{
  display:block!important;width:100%!important;height:100%!important;
  max-width:none!important;max-height:none!important;object-fit:cover!important;
  object-position:center!important;margin:0!important;border:0!important;
}
@media(max-width:700px){#livebar{height:100px;min-height:100px}}

/* Player RodriGol 3.0 — identidade preta e laranja, sem alterar os banners. */
#livebar .rg-radio-player{position:relative;display:flex;align-items:center;gap:9px;height:100%;min-width:0;overflow:hidden;padding:8px 12px;background:linear-gradient(115deg,#050505 0%,#17100b 60%,#5c2709 130%);color:#ff8a19;border-right:1px solid #74350d;isolation:isolate}
#livebar .rg-radio-player:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(105deg,transparent 25%,#ff791019 50%,transparent 75%);animation:rg-player-sheen 8s linear infinite}
#livebar .rg-player-info{flex:0 0 auto;display:flex;flex-direction:column;gap:5px;min-width:76px}
#livebar .rg-player-time{font-size:clamp(19px,2.05vw,29px);font-weight:900;line-height:1;color:#ff8a19;font-variant-numeric:tabular-nums;letter-spacing:.2px}
#livebar .rg-player-date{font-size:10px;font-weight:800;letter-spacing:.5px;white-space:nowrap;color:#ff8a19}
#livebar .rg-player-wave{flex:1;min-width:15px;height:43px;display:flex;align-items:center;justify-content:center;gap:2px;overflow:hidden}
#livebar .rg-player-wave i{display:block;width:3px;min-width:2px;border-radius:3px;background:linear-gradient(#ffad4b,#f46800);height:5px;opacity:.55;transition:opacity .2s}
#livebar .rg-is-playing .rg-player-wave i{animation:rg-player-wave var(--wave-speed,.8s) ease-in-out infinite alternate;animation-delay:var(--wave-delay,-.2s);opacity:1}
#livebar .rg-player-wave i:nth-child(5n+1){--wave-height:12px;--wave-speed:.65s;--wave-delay:-.15s}
#livebar .rg-player-wave i:nth-child(5n+2){--wave-height:30px;--wave-speed:.9s;--wave-delay:-.5s}
#livebar .rg-player-wave i:nth-child(5n+3){--wave-height:20px;--wave-speed:.7s;--wave-delay:-.3s}
#livebar .rg-player-wave i:nth-child(5n+4){--wave-height:38px;--wave-speed:1.1s;--wave-delay:-.7s}
#livebar .rg-player-wave i:nth-child(5n){--wave-height:25px;--wave-speed:.8s;--wave-delay:-.2s}
#livebar .rg-player-controls{margin:0;flex:0 0 auto;display:flex;align-items:center;gap:5px}
#livebar .rg-player-controls button{padding:0;display:grid;place-items:center;width:28px;height:28px;min-width:28px;border:1px solid #ff8a19;border-radius:50%;background:#080808;color:#ff8a19;font-size:13px}
#livebar .rg-player-controls button:hover,#livebar .rg-player-controls button:focus-visible{background:#ff8a19;color:#080808;outline-offset:2px}
#livebar .rg-player-controls .rg-player-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@keyframes rg-player-wave{from{height:5px}to{height:var(--wave-height,25px)}}
@keyframes rg-player-sheen{from{transform:translateX(-100%)}to{transform:translateX(100%)}}
@media(max-width:900px){#livebar .rg-radio-player{gap:5px;padding:6px}#livebar .rg-player-wave{gap:1px}#livebar .rg-player-wave i:nth-child(n+11){display:none}#livebar .rg-player-controls button{width:25px;height:25px;min-width:25px}}
@media(max-width:700px){#livebar .rg-radio-player{flex-wrap:wrap;justify-content:space-between;align-content:center}#livebar .rg-player-info{min-width:0}#livebar .rg-player-time{font-size:19px}#livebar .rg-player-date{font-size:9px}#livebar .rg-player-wave{height:20px;order:3;flex-basis:100%}#livebar .rg-player-controls{gap:3px}#livebar .rg-player-controls button{width:23px;height:23px;min-width:23px;font-size:11px}}
@media(prefers-reduced-motion:reduce){#livebar .rg-radio-player:before,#livebar .rg-is-playing .rg-player-wave i{animation:none!important}}

/* Slider central: mostrar toda a arte; slider direito permanece inalterado. */
#livebar .feature .slide-art-full{object-fit:contain!important;background:#091521}

/* Cards editoriais no slider central: não alteram o slider direito. */
#livebar .feature:has(.rg-match-slide){padding:0!important;overflow:hidden;background:#06111a!important}
.rg-match-slide{box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;width:100%;height:100%;min-height:0;padding:7px 15px;color:#ff8317;text-decoration:none;background:linear-gradient(115deg,#03070b,#0c1b26 55%,#291407);font-family:inherit}
.rg-match-slide-top,.rg-match-slide-bottom{font-size:10px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rg-match-slide-top{display:flex;justify-content:space-between;gap:10px;font-weight:700}.rg-match-slide-top b{color:#ff8518}
.rg-match-slide-score{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:10px;align-items:center;min-height:0;flex:1}
.rg-match-slide-score>span{display:flex;align-items:center;gap:7px;min-width:0;font-size:12px;color:#ff861a}.rg-match-slide-score>span:last-child{justify-content:flex-end;text-align:right}
.rg-match-slide-score strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rg-match-slide-score img{width:24px;height:24px;object-fit:contain;flex-shrink:0}
.rg-match-slide-score em{font-style:normal;font-size:24px;font-weight:900;white-space:nowrap;color:#ff8518}
.rg-match-slide-bottom{text-align:center;border-top:1px solid #ff791b44;padding-top:3px}
.rg-slider-selection{margin:10px 0;padding:9px 12px;border:1px solid #ff851855;border-radius:6px;color:#ff8518}.rg-slider-selection input{accent-color:#ff8518}

/* Estabilização: sidebar da página da partida na coluna direita, sem flutuação. */
@media(min-width:901px){body:has(#matchDetail) main{display:grid;grid-template-columns:minmax(0,1fr) 255px;gap:18px;align-items:start;max-width:1440px}body:has(#matchDetail) main>#matchDetail{min-width:0;margin:0}body:has(#matchDetail) main>.rg-global-sidebar{position:sticky;top:100px;width:auto;max-height:calc(100vh - 220px);margin:0;grid-column:2;grid-row:1}}
/* Cabeçalho mais compacto, mantendo relógio e logotipo legíveis. */
.site-header{min-height:60px;padding-top:5px;padding-bottom:5px}

/* Estabilização 2: o ticker compacto deve manter as três linhas visíveis. */
.live-strip .ticker-game{box-sizing:border-box;height:58px;min-height:58px;grid-template-rows:12px 19px 13px;row-gap:1px;padding:4px 9px;align-content:center}
.live-strip .ticker-game .ticker-state{line-height:12px}
.live-strip .ticker-game .ticker-club{line-height:19px}
.live-strip .ticker-game small{display:block!important;line-height:13px;min-height:13px;overflow:visible;color:#d1e3eb}
.live-strip .ticker-game .crest{height:16px;width:16px;vertical-align:middle}
/* Indicador técnico de conexão fica restrito à administração/cabine. */
body:has(#portal) .site-header #sync,body:has(#matchDetail) .site-header #sync{display:none!important}
/* Menos espaço vazio no cabeçalho público. */
body:has(#portal) .site-header,body:has(#matchDetail) .site-header{min-height:49px;padding-top:3px;padding-bottom:3px}
body:has(#portal) .site-header .brand,body:has(#matchDetail) .site-header .brand{font-size:24px}
@media(max-width:700px){body:has(#portal) .site-header,body:has(#matchDetail) .site-header{min-height:65px}}

/* Ação de gol contra visível junto ao formulário de gols */
.rg-own-goal{display:flex;align-items:center;gap:10px;padding:10px 12px;margin:8px 0 12px;border:1px solid #d97706;border-radius:8px;background:#33240f;color:#ffcd81;font-size:13px}.rg-own-goal input{width:19px;height:19px;flex:none;accent-color:#ff9b22}.rg-own-goal strong{white-space:nowrap}

/* Ajustes de consistência editorial */
.rg-own-ball{display:inline-block;color:#f04747;filter:sepia(1) saturate(7) hue-rotate(310deg);font-size:1em;vertical-align:baseline}
.detail-score{grid-template-columns:minmax(0,1fr) minmax(205px, 29%) minmax(0,1fr)}
.detail-result{font-size:clamp(25px,3.2vw,42px);white-space:nowrap;font-variant-numeric:tabular-nums;letter-spacing:-.04em}
.match-score,.score,.match-result{white-space:nowrap;font-variant-numeric:tabular-nums}

.scorecell{min-width:0;width:100%;padding-inline:3px}.match .score{font-size:clamp(15px,2vw,24px);white-space:nowrap;letter-spacing:-.035em}.match:has(.score) .scorecell{overflow:visible}

/* Estabilização: nomes completos na faixa AO VIVO, sem alterar o relógio. */
.live-strip .ticker-game,
.rg-global-strip .ticker-game{width:310px;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);column-gap:6px}
.live-strip .ticker-game .ticker-club,
.rg-global-strip .ticker-game .ticker-club{font-size:10px;letter-spacing:-.15px;overflow:visible;text-overflow:clip;white-space:nowrap}
.live-strip .ticker-game .ticker-club .crest,
.rg-global-strip .ticker-game .ticker-club .crest{flex-shrink:0}
@media(max-width:750px){.rg-global-strip .ticker-game,.live-strip .ticker-game{width:310px}}

/* Retoque final: escudo visitante após o nome em ambos os sliders. */
.rg-match-slide-score>span:last-child{justify-content:flex-end;text-align:right}
.rg-match-slide-score>span:last-child strong{min-width:0}
.rg-match-slide-score>span:last-child img{order:2}

/* Edição de lances na própria cabine */
.rg-inline-edit{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:10px 0;padding:12px;border:1px solid #35516b;border-radius:8px;background:#101f2c;width:100%}
.rg-inline-edit strong{width:100%;color:#ff7900}
.rg-inline-edit input{min-width:110px;flex:1}
.rg-inline-edit textarea{min-width:230px;flex:3;min-height:58px}
.rg-inline-edit button{white-space:nowrap}

/* Edição editorial em linha própria: os botões da lista não crescem com o formulário. */
.goalrow{align-items:center;gap:10px}
.goalrow>span{min-width:0;flex:1}
.goalrow>button{flex:0 0 auto;align-self:center;height:auto;min-height:35px}
.rg-inline-edit{display:grid;grid-template-columns:minmax(90px,110px) minmax(120px,1fr) minmax(200px,2fr);align-items:start;gap:10px;margin:8px 0 16px;width:100%;clear:both}
.rg-inline-edit strong{grid-column:1/-1}
.rg-inline-edit input,.rg-inline-edit textarea{min-width:0;width:100%;flex:none}
.rg-inline-actions{grid-column:1/-1;display:flex;gap:8px;justify-content:flex-start}
.rg-inline-actions button{flex:0 0 auto}
@media(max-width:650px){.rg-inline-edit{grid-template-columns:1fr}.rg-inline-edit strong,.rg-inline-actions{grid-column:1}}

/* Identidade aprovada: logotipo animado no cabeçalho público. */
.site-header .brand-home{display:flex;align-items:center;justify-content:center;min-width:0;line-height:1}
.site-header .rg-header-logo{display:block;width:auto;height:42px;max-width:min(42vw,300px);object-fit:contain}
@media(max-width:700px){.site-header .rg-header-logo{height:33px;max-width:min(70vw,270px)}}
@media(prefers-reduced-motion:reduce){.site-header .rg-header-logo{animation:none}}

/* Central de Competições dentro da Administração */
#radioAdmin[hidden],#competitionRulesAdmin[hidden],#databaseAdmin[hidden]{display:none!important}
#competitionRulesAdmin{max-width:1100px!important;margin:16px auto 32px!important}
#competitionRulesAdmin h3{margin-top:22px}
.rg-competition-links{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}
.rg-competition-links a{display:inline-block;padding:9px 12px;border:1px solid #43556a;border-radius:7px;color:#ffae68;text-decoration:none}
.rg-competition-audit{margin-top:24px;padding-top:14px;border-top:1px solid #425269}
#rulesDuplicateReport{margin-top:12px;line-height:1.6}
body:has(#competitionRulesAdmin){padding-bottom:165px}
@media(max-width:700px){body:has(#competitionRulesAdmin){padding-bottom:190px}}

.rg-rules-advanced{margin-top:22px;padding:18px;border:1px solid #425269;border-radius:10px}.rg-rules-advanced label{display:block;margin:14px 0}.rg-rules-advanced input,.rg-rules-advanced textarea{margin-top:6px;padding:9px;background:#122b3b;color:#fff;border:1px solid #586d7c;border-radius:5px}


/* RodriGol — apresentação separada de placar e pênaltis */
.rg-score-main{display:block;white-space:nowrap}
.rg-score-pen{display:block;font-size:.48em;line-height:1.5;font-weight:600;white-space:nowrap;letter-spacing:0}
.detail-result .rg-score-pen{font-size:.38em}
.score .rg-score-pen{font-size:.67em}
.ticker-game .rg-score-pen,.rg-match-slide-score .rg-score-pen{font-size:.7em}
.rg-historical-summary{line-height:1.6;margin:.6rem 0;color:inherit}
.rg-penalty-winner{font-weight:700;margin:.4rem 0}

/* RodriGol 3.0: cabeçalho preto uniforme em todas as páginas */
header, .site-header, body:has(#portal) .site-header, body:has(#matchDetail) .site-header { background-color:#000!important; background-image:none!important; }

/* RodriGol 3.1 — páginas públicas de campeonatos */
.rg-champ{max-width:1180px}.rg-champ-hero{background:#0b1c26;border-left:4px solid #ff650c;border-radius:8px;padding:22px;margin:0 0 24px}.rg-champ-hero h1{margin:6px 0;color:#fff}.rg-eyebrow{font-size:11px;font-weight:800;letter-spacing:1.4px;color:#ff751c;text-transform:uppercase}.rg-champ-controls{display:flex;flex-wrap:wrap;gap:16px;align-items:end;margin:18px 0}.rg-champ-controls label{flex:1 1 230px}.rg-champ-controls label:has(input[type=checkbox]){flex:0 1 220px;display:flex;align-items:center;gap:8px}.rg-champ-controls input[type=checkbox]{width:auto}.rg-champ-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(265px,1fr));gap:14px;margin:18px 0}.rg-champ-card{display:block;background:#0b1c26;border:1px solid #284653;border-radius:9px;padding:19px;color:#fff;text-decoration:none}.rg-champ-card:hover,.rg-champ-game:hover{border-color:#ff650c;background:#132e3a}.rg-champ-card h2{font-size:20px;margin:12px 0}.rg-champ-card p{font-size:12px;color:#a9c0cc}.rg-champ-link{color:#ff751c;font-size:12px;font-weight:800}.rg-champ-back{display:inline-block;margin:0 0 15px;color:#ff751c}.rg-champ-tabs{display:flex;gap:10px;margin:20px 0}.rg-champ-games{display:grid;gap:7px}.rg-champ-game{display:grid;grid-template-columns:145px minmax(0,1fr) 150px;gap:12px;align-items:center;padding:14px;background:#0b1c26;border:1px solid #284653;border-radius:7px;color:#fff;text-decoration:none}.rg-game-date{color:#ff751c;font-weight:800;font-size:12px}.rg-game-date small{display:block;color:#9fb4c0;font-weight:400;margin-top:5px}.rg-game-teams{text-align:center}.rg-game-teams b{padding:0 10px;color:#ff751c}.rg-game-round{color:#9fb4c0;text-align:right;font-size:12px}#standingsPanel[hidden],#gamesPanel[hidden]{display:none!important}@media(max-width:700px){.rg-champ-game{grid-template-columns:1fr;gap:6px}.rg-game-teams{text-align:left}.rg-game-round{text-align:left}.rg-champ-hero{padding:16px}}
/* RodriGol 3.1 — interface pública editorial */
.rg-champ-list{display:grid;gap:22px}.rg-country-continent{background:#091b25;border:1px solid #284653;border-radius:10px;padding:18px}.rg-country-continent>h2{margin:0 0 12px;font-size:17px;color:#ff751c}.rg-country{border-top:1px solid #29424e;padding:9px 0}.rg-country summary{cursor:pointer;font-size:15px;font-weight:700;padding:7px}.rg-country>div{display:grid;padding-left:22px}.rg-country a{display:flex;justify-content:space-between;gap:12px;padding:11px 8px;color:#e5eff5;text-decoration:none;border-bottom:1px solid #1e3642}.rg-country a:hover{color:#ff751c;background:#102b38}.rg-round-navigation{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0}.rg-round-navigation button{cursor:pointer}.rg-round-strip,.rg-round-picker,.rg-phase-navigation{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}.rg-round-strip button,.rg-round-picker button,.rg-phase-navigation button{border:1px solid #304c5b;background:#0b1c26;color:#e5eef5;padding:9px 12px;border-radius:6px;cursor:pointer}.rg-round-strip button.active,.rg-round-picker button.active,.rg-phase-navigation button.active{background:#ff650c;color:#101010;border-color:#ff650c}.rg-round-picker{background:#071722;padding:12px;border:1px solid #304c5b;border-radius:8px}.rg-match-unified{display:grid;grid-template-columns:140px minmax(0,1fr) 95px;gap:12px;align-items:center;text-decoration:none;color:#fff;background:#0b1c26;border:1px solid #284653;border-radius:8px;padding:13px;margin:6px 0}.rg-match-unified:hover{border-color:#ff650c}.rg-unified-teams{display:grid;grid-template-columns:minmax(0,1fr) 70px minmax(0,1fr);align-items:center;gap:8px}.rg-unified-teams>span{display:flex;align-items:center;gap:9px;min-width:0}.rg-unified-teams>span:last-child{justify-content:flex-end}.rg-unified-teams strong{text-align:center;color:#ff751c;white-space:nowrap}.rg-competition-crest{height:30px;width:30px;object-fit:contain;flex-shrink:0}.rg-no-crest{display:inline-block}.rg-unified-status{font-size:11px;text-align:right;color:#a9c0cc}.rg-standing-team{white-space:nowrap;text-align:left!important}.rg-standing-team img{width:23px;height:23px;object-fit:contain;vertical-align:middle;margin-right:8px}.rg-ties{display:grid;gap:12px}.rg-tie{background:#0b1c26;border:1px solid #284653;padding:16px;border-radius:8px}.rg-tie-title{display:flex;justify-content:space-between;gap:12px}.rg-tie-leg{font-size:13px;padding:7px;color:#a9c0cc}.rg-data-warning{padding:18px;border-left:3px solid #ff650c;background:#192632;color:#f1d4b5}#gamesPanel>h2{margin-top:30px}#livebar{z-index:50}@media(max-width:750px){.rg-match-unified{grid-template-columns:1fr}.rg-unified-status{text-align:left}.rg-unified-teams{grid-template-columns:minmax(0,1fr) 54px minmax(0,1fr)}.rg-competition-crest{width:22px;height:22px}.rg-champ{padding-bottom:180px}}

/* Seletor de rodada compacto, inspirado no comportamento de calendário vertical. */
.rg-round-navigation{position:relative;justify-content:center;gap:0;margin:18px auto 12px;max-width:360px}
.rg-round-navigation #chooseRounds{min-width:190px;border:1px solid #304c5b;background:#0b1c26;color:#fff;border-radius:5px;padding:10px 16px;font-weight:700}
.rg-round-navigation #prevRounds,.rg-round-navigation #nextRounds{width:42px;height:40px;border:1px solid #304c5b;background:#0b1c26;color:#fff;border-radius:5px}
.rg-round-navigation #prevRounds{margin-right:auto}.rg-round-navigation #nextRounds{margin-left:auto}
.rg-round-picker:not([hidden]){display:flex;position:relative;z-index:10;flex-direction:column;flex-wrap:nowrap;width:min(260px,90vw);max-height:290px;overflow-y:auto;overscroll-behavior:contain;margin:-8px auto 15px;padding:6px;box-shadow:0 12px 30px #0009}
.rg-round-picker button{width:100%;border:0;border-radius:4px;background:transparent;text-align:center;padding:10px 12px}
.rg-round-picker button:hover,.rg-round-picker button:focus-visible{background:#234052}
.rg-round-picker button.active{background:#ff650c;color:#101010}
.rg-game-group{font-size:15px;color:#ff751c;margin:22px 0 8px}

.rg-match-goals{grid-column:1/-1;border-top:1px solid #304c5b;padding-top:10px;font-size:12px;color:#dce7ed;text-align:center}
.rg-unified-teams>span:first-child{justify-content:flex-end}
.rg-unified-teams>span:first-child b{text-align:right}
.rg-unified-teams>span:last-child b{text-align:left}
.rg-match-unified .rg-unified-teams strong{font-size:18px}

/* 3.1: seletor flutuante fechado por padrão, sem deslocar os jogos. */
.rg-round-picker[hidden]{display:none!important}
#gamesPanel{position:relative}
.rg-round-navigation{position:relative;z-index:32}
.rg-round-picker:not([hidden]){position:absolute;top:110px;left:50%;transform:translateX(-50%);margin:0!important;z-index:40;width:min(280px,90vw);max-height:280px;overflow-y:auto;background:#071722;box-shadow:0 12px 35px #000c}
.rg-game-group{color:#ff751c;margin:16px 0 8px;font-size:15px}
/* RodriGol 3.1: unified results/competition card and phase-aware brackets */
.rg-champ-games{display:grid;gap:14px}.rg-champ-games>.rg-card-date{margin-bottom:-12px}
.rg-card-date{color:#ff751c;font-size:12px;font-weight:700;padding:6px 12px 0;background:#0b1c26;border:1px solid #284653;border-bottom:0;border-radius:8px 8px 0 0}
.rg-champ-games .match{margin:0;background:#0b1c26;border:1px solid #284653;border-radius:8px;padding:14px 16px;display:grid;grid-template-columns:minmax(0,1fr) minmax(110px,160px) minmax(0,1fr);align-items:center;gap:12px;text-decoration:none;color:#fff}
.rg-champ-games .rg-card-date+.match{border-radius:0 0 8px 8px;border-top:0}
.rg-champ-games .match:hover{border-color:#ff751c}
.rg-shared-goals{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:16px;border-top:1px solid #284653;padding-top:8px;color:#c9dce5;font-size:12px}
.rg-shared-goals span:last-child{text-align:right}
.rg-competition-link{color:inherit;text-decoration:none}.rg-competition-link:hover,.rg-competition-link:focus-visible{color:#ff751c;text-decoration:underline}
.rg-group-standing{margin:20px 0 30px}.rg-group-standing>h3{color:#ff751c;border-bottom:1px solid #284653;padding:12px 0}
.rg-bracket{display:flex;gap:30px;overflow-x:auto;align-items:flex-start;padding:14px 5px 22px;scrollbar-color:#ff751c #102631}
.rg-bracket-stage{flex:0 0 240px;display:flex;flex-direction:column;gap:14px;min-width:0}.rg-bracket-stage>h3{font-size:15px;color:#ff751c;position:sticky;top:0;background:#071722;padding:10px 0;margin:0}
.rg-bracket-tie{position:relative;border:1px solid #35515d;border-radius:8px;background:#0c222e;padding:9px;min-height:116px}
.rg-bracket-tie:after{content:'';position:absolute;left:100%;top:50%;width:30px;border-top:1px solid #45626d}
.rg-bracket-stage:last-child .rg-bracket-tie:after{display:none}
.rg-bracket-team{display:flex;justify-content:space-between;gap:7px;font-size:12px;padding:5px 3px;border-bottom:1px solid #233e4b}
.rg-bracket-team strong{color:#fff}.rg-bracket-team.rg-advanced{color:#ff751c;font-weight:700}
.rg-bracket-leg{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:#a9c0cc;padding-top:6px}.rg-bracket-leg a{color:#fff}
.rg-bracket-result{font-size:10px;color:#ff751c;padding-top:8px}.rg-bracket-note{font-size:12px;color:#a9c0cc}
@media(max-width:650px){.rg-champ-games .match{grid-template-columns:minmax(0,1fr) 80px minmax(0,1fr);gap:5px;padding:10px 7px}.rg-champ-games .team{font-size:11px}.rg-champ-games .crest{width:22px;height:22px}.rg-bracket-stage{flex-basis:210px}}
.rg-bracket{position:relative}.rg-bracket-links{position:absolute;top:0;left:0;pointer-events:none;overflow:visible;z-index:1}.rg-bracket-links path{stroke:#ff751c;stroke-width:1.5;fill:none;opacity:.75}.rg-bracket-stage{z-index:2}.rg-bracket-tie:after{display:none}

/* Copa do Brasil: confrontos separados por fase, sem conexões presumidas */
.rg-phase-bracket>h3{color:#ff751c;font-size:16px;margin:10px 0 16px}
.rg-phase-ties{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px;align-items:start}
.rg-phase-ties .rg-bracket-tie{min-height:0}

/* RodriGol 3.1 — detalhe da partida: escalações laterais e centro amplo */
.detail-sections{grid-template-columns:minmax(0,1fr) minmax(0,3fr) minmax(0,1fr);gap:12px;align-items:start}
.detail-sections .rg-match-center{min-width:0;display:flex;flex-direction:column;gap:12px}
.detail-sections .rg-match-center section{min-width:0}
.detail-sections .rg-lineup-side{min-width:0;padding:12px}
.rg-lineup-side h3{font-size:16px;overflow-wrap:anywhere}
.rg-lineup-side h4{font-size:13px;color:#ff751c;margin:16px 0 6px}
.rg-lineup-side .lineup-player{overflow-wrap:anywhere}
.rg-officiating{line-height:1.7;margin-top:0}.rg-whistle{display:inline-block;width:17px;height:17px;vertical-align:-3px;color:#ff751c;margin-right:4px}
@media(max-width:850px){.detail-sections{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.detail-sections .rg-match-center{grid-column:1/-1;grid-row:2}}
@media(max-width:520px){.detail-sections{gap:8px}.detail-sections .rg-lineup-side{padding:8px}.detail-sections .rg-lineup-side h3{font-size:14px}}

/* Visualizações alternativas de escalação (leitura dos jogadores existentes) */
.rg-lineup-view-label{display:block;color:#9db4c1;font-size:11px;margin:7px 0 4px}.rg-lineup-view{width:100%;max-width:180px;background:#102c3a;color:#fff;border:1px solid #375665;border-radius:5px;padding:6px;font-size:12px;margin-bottom:12px}
.rg-shirt-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 5px}.rg-player-visual{display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center;min-width:0}.rg-player-name{font-size:10px;line-height:1.25;overflow-wrap:anywhere}.rg-shirt{background:var(--uniform);color:#fff;clip-path:polygon(24% 0,37% 0,43% 12%,57% 12%,63% 0,76% 0,100% 18%,85% 39%,77% 32%,77% 100%,23% 100%,23% 32%,15% 39%,0 18%);width:48px;height:45px;display:grid;place-items:center;text-shadow:0 1px 3px #000;font-size:14px;font-weight:800;padding-top:5px}.rg-player-circle{background:var(--uniform);color:#fff;border:2px solid #fff;box-shadow:0 1px 3px #000;display:grid;place-items:center;border-radius:50%;width:30px;height:30px;font-size:12px;font-weight:800;text-shadow:0 1px 2px #000}.rg-lineup-pitch{background:repeating-linear-gradient(0deg,#164b35 0,#164b35 42px,#1c5b3d 42px,#1c5b3d 84px);border:1px solid #8bb49a;border-radius:5px;display:flex;flex-direction:column;justify-content:space-around;gap:10px;min-height:420px;padding:14px 3px}.rg-pitch-row{display:flex;justify-content:space-around;gap:2px}.rg-pitch-row .rg-player-visual{flex:1}.rg-pitch-row .rg-player-name{font-size:9px;color:#fff;text-shadow:0 1px 2px #000}.rg-lineup-pitch .rg-player-circle{width:26px;height:26px;font-size:11px}

/* 3.1: sem Central AO VIVO na página individual; espaço total para o jogo */
body:has(#matchDetail) .rg-global-sidebar{display:none!important}
@media(min-width:901px){body:has(#matchDetail) main{display:block!important;max-width:1500px}body:has(#matchDetail) main>#matchDetail{width:100%;max-width:none}}
/* Camisetas: um jogador por linha */
.rg-shirt-list{display:flex;flex-direction:column;gap:6px}
.rg-shirt-list .rg-player-visual{flex-direction:row;align-items:center;text-align:left;gap:9px;border-bottom:1px solid #294350;padding:4px 0}
.rg-shirt-list .rg-shirt{flex:0 0 42px;width:42px;height:40px;font-size:13px}
.rg-shirt-list .rg-player-name{font-size:12px}
.rg-shirt,.rg-player-circle{color:var(--uniform-text,#fff)}
/* Campo tático: até cinco jogadores por linha em colunas estreitas */
.rg-lineup-pitch{padding:10px 2px;gap:6px;min-height:380px}
.rg-pitch-row{gap:0}
.rg-pitch-row .rg-player-visual{min-width:0;gap:2px}
.rg-lineup-pitch .rg-player-circle{width:clamp(16px,2vw,25px);height:clamp(16px,2vw,25px);font-size:clamp(8px,.8vw,11px);border-width:1px}
.rg-pitch-row .rg-player-name{font-size:clamp(7px,.7vw,10px);overflow-wrap:anywhere}

/* RodriGol 3.1: escudos e placares de ida/volta nos confrontos */
.rg-bracket-team-name,.rg-bracket-leg-teams{display:inline-flex;align-items:center;gap:5px;min-width:0;flex-wrap:wrap}
.rg-bracket-crest{width:21px;height:21px;object-fit:contain;flex-shrink:0}
.rg-bracket-leg{align-items:center;flex-wrap:wrap}
.rg-bracket-leg a{text-decoration:none}
.rg-bracket-leg-teams strong{color:#fff}
@media(max-width:700px){.rg-phase-ties{grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr))}.rg-bracket-crest{width:19px;height:19px}}

/* 3.2: proteção responsiva para tabelas e formulários administrativos */
@media (max-width: 760px) {
  html,body{max-width:100%;overflow-x:clip}
  main{min-width:0}
  .standings-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
  .standings{min-width:580px}
  .group input,.group select,.group textarea{max-width:100%;box-sizing:border-box}
  .rg-bracket-team-name,.rg-bracket-leg-teams{overflow-wrap:anywhere}
}

/* AFC: confrontos compactos e barra ao vivo em campeonatos */
.rg-bracket-leg-teams{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;flex-wrap:nowrap}.rg-bracket-leg-teams .rg-bracket-crest{width:19px;height:19px;object-fit:contain}.rg-bracket-leg-teams strong{min-width:55px;text-align:center;font-variant-numeric:tabular-nums}.rg-champ~.rg-global-sidebar{display:none!important}

/* Navegação universal por etapas */
.rg-week-date{color:#ff751c;margin:22px 0 8px;font-size:14px;border-bottom:1px solid #29424e;padding-bottom:7px}

/* RodriGol 3.4 — placar ao vivo nas classificações */
.rg-standing-team-name{display:inline-flex;align-items:center;gap:7px;min-width:0}
.rg-standing-live{display:inline-block;vertical-align:middle;margin-left:8px;padding:3px 7px;border-radius:5px;font-size:11px;font-weight:800;line-height:1.3;white-space:nowrap;text-decoration:none;border:1px solid transparent;font-variant-numeric:tabular-nums}
.rg-standing-live--winning{color:#b8ffda;background:#145338;border-color:#2e9862}
.rg-standing-live--drawing{color:#fff1a6;background:#665019;border-color:#b18b28}
.rg-standing-live--losing{color:#ffd1d1;background:#68262b;border-color:#b64a53}
.rg-standing-live:hover,.rg-standing-live:focus-visible{outline:2px solid #ff751c;outline-offset:2px;text-decoration:underline}

/* RodriGol 3.4 — placares alinhados junto à coluna de pontos */
.standings td:nth-child(2) .rg-standing-team-layout{display:grid;grid-template-columns:minmax(0,1fr) 56px;align-items:center;column-gap:10px;width:100%}
.standings td:nth-child(2) .rg-standing-team-name{display:inline-flex;align-items:center;gap:7px;min-width:0;white-space:nowrap}
.standings td:nth-child(2) .rg-standing-team-name img{flex-shrink:0;margin-right:0}
.standings td:nth-child(2) .rg-standing-score-slot{display:flex;align-items:center;justify-content:center;min-width:56px}
.standings td:nth-child(2) .rg-standing-score-slot .rg-standing-live{margin-left:0;text-align:center;box-sizing:border-box;min-width:46px}

/* 3.4: central lateral dentro do fluxo nas paginas de campeonatos.
   Nunca sobrepor titulo, partidas ou classificacao. */
body:has(main.rg-champ) .rg-global-sidebar{position:static!important;inset:auto!important;z-index:auto!important;width:auto!important;max-height:none!important;overflow:visible!important;box-shadow:none!important;margin:18px auto 24px!important;max-width:1180px!important;box-sizing:border-box!important}
body:has(main.rg-champ) main.rg-champ{width:min(1180px,calc(100% - 32px));box-sizing:border-box}

/* RodriGol 3.4.1 — responsividade publica (desktop preservado).
   Correcoes para retrato e paisagem; nao modifica eventos nem dados. */
@media (max-width: 900px) {
  html,body{max-width:100%;overflow-x:clip}
  main,.rg-champ{min-width:0}
  .portal-layout{grid-template-columns:minmax(0,1fr)}
  .site-header{min-width:0}
  .site-header nav{min-width:0}
  .site-header .navlink{white-space:nowrap}
  .heading{min-width:0}
  .heading .calendar-toggle{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:center}
  .live-strip,.rg-global-strip{min-width:0;max-width:100%;overflow:hidden}
  .live-strip .highlights,.rg-global-strip .ticker-track{min-width:0}
  .rg-match-unified,.rg-unified-teams,.detail-score{min-width:0}
  .standings-wrap{overflow-x:auto;max-width:100%;-webkit-overflow-scrolling:touch}
  #livebar{height:64px!important;min-height:64px!important;max-height:64px!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;overflow:hidden!important;z-index:50}
  #livebar .player{width:100%;min-width:0;height:61px!important;min-height:0;padding:5px 12px!important;display:flex!important;flex-wrap:nowrap!important;justify-content:space-between!important;gap:10px!important}
  #livebar .rg-player-info{min-width:0;flex:0 0 auto}
  #livebar .rg-player-time{font-size:21px}
  #livebar .rg-player-date{font-size:9px}
  #livebar .rg-player-wave{height:28px;flex:1 1 auto;flex-basis:auto!important;order:0!important;min-width:10px}
  #livebar .rg-player-controls{flex:0 0 auto;gap:9px}
  #livebar .rg-player-controls button{width:35px;height:35px;min-width:35px;font-size:14px}
  #livebar .feature,#livebar .side{display:none!important}
  body{padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))!important}
  .rg-champ{padding-bottom:80px!important}
}
@media (max-width: 700px) and (orientation:portrait) {
  .site-header,body:has(#portal) .site-header,body:has(#matchDetail) .site-header{grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:10px 12px!important;min-height:0!important}
  .site-header .brand{grid-column:1/-1;grid-row:1;justify-self:center;min-width:0}
  .site-header .rg-header-logo{width:auto;height:auto;max-height:48px;max-width:min(82vw,340px)}
  .site-header .header-clock{grid-column:1;grid-row:2;min-width:0}
  .site-header .header-clock strong{font-size:22px;line-height:1.1}
  .site-header .header-clock small{font-size:9px;line-height:1.25;max-width:170px}
  .site-header nav{grid-column:2;grid-row:2;display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:5px}
  .site-header nav .navlink{font-size:12px;padding:8px 9px}
  main{padding:0 12px;margin:14px auto}
  .heading{display:grid;grid-template-columns:40px minmax(0,1fr) 40px auto;gap:6px;align-items:center}
  .heading #prev,.heading #next{min-width:0;padding:8px 4px}
  .heading #prev{grid-column:1;grid-row:1}
  .heading #calendarToggle{grid-column:2;grid-row:1;width:100%;font-size:clamp(12px,3.3vw,16px);padding:8px 3px}
  .heading #next{grid-column:3;grid-row:1}
  .heading #today{grid-column:4;grid-row:1;margin:0;padding:8px 6px;font-size:12px}
  .heading .calendar-pick{grid-column:1/-1}
  .live-strip .ticker-label{flex:0 0 58px;font-size:10px;letter-spacing:0;padding:4px;text-align:center}
  .live-strip .ticker-game,.rg-global-strip .ticker-game{width:min(285px,calc(100vw - 75px));min-width:0;max-width:calc(100vw - 75px)}
  .live-strip .ticker-game .ticker-club,.rg-global-strip .ticker-game .ticker-club{font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .match{grid-template-columns:minmax(0,1fr) 76px minmax(0,1fr);column-gap:5px}
  .match .team{min-width:0;overflow-wrap:anywhere}
  .match .crest{flex-shrink:0}
  .rg-champ-grid{grid-template-columns:minmax(0,1fr)}
  .rg-round-navigation{flex-wrap:wrap}
  .rg-unified-teams{gap:4px;grid-template-columns:minmax(0,1fr) 54px minmax(0,1fr)}
  .rg-unified-teams>span{min-width:0;overflow-wrap:anywhere}
  .rg-match-unified{padding:10px}
  .detail-score{grid-template-columns:minmax(0,1fr) 78px minmax(0,1fr);gap:4px}
  .detail-club strong{font-size:clamp(12px,3.4vw,17px);overflow-wrap:anywhere}
  .rg-bracket-leg-teams{white-space:normal;flex-wrap:wrap}
}
@media (max-width: 900px) and (orientation:landscape) {
  .site-header,body:has(#portal) .site-header,body:has(#matchDetail) .site-header{grid-template-columns:minmax(110px,1fr) auto minmax(110px,1fr);gap:8px;padding:4px 12px!important;min-height:0!important}
  .site-header .brand{grid-column:2;grid-row:1;justify-self:center}
  .site-header .rg-header-logo{max-height:35px;max-width:32vw}
  .site-header .header-clock{grid-column:1;grid-row:1}
  .site-header .header-clock strong{font-size:19px}
  .site-header .header-clock small{font-size:9px}
  .site-header nav{grid-column:3;grid-row:1;justify-self:end;display:flex;gap:5px}
  .site-header nav .navlink{font-size:11px;padding:6px 8px}
  main{margin:8px auto;padding:0 12px}
  #livebar{height:48px!important;min-height:48px!important;max-height:48px!important}
  #livebar .player{height:45px!important;justify-content:flex-start!important;gap:14px!important;padding:3px 12px!important}
  #livebar .rg-player-info{flex-direction:row;align-items:center;gap:8px}
  #livebar .rg-player-time{font-size:18px}
  #livebar .rg-player-wave{height:20px;max-width:110px}
  #livebar .rg-player-controls button{width:30px;height:30px;min-width:30px}
  body{padding-bottom:calc(56px + env(safe-area-inset-bottom,0px))!important}
  .rg-champ{padding-bottom:60px!important}
  .live-strip .ticker-game,.rg-global-strip .ticker-game{width:280px}
}

/* RodriGol 3.4.1 — acabamento de navegacao mobile em paginas internas.
   Mantem o cabecalho sticky, sem sobrepor alvos de navegacao. */
@media (max-width: 900px) {
  html { scroll-padding-top: 110px; }
  body:has(main.rg-champ) main.rg-champ {
    margin-top: 18px;
    padding-top: 8px;
  }
  body:has(main.rg-champ) .rg-champ-hero {
    scroll-margin-top: 110px;
  }
  body:has(main.rg-champ) #gamesPanel,
  body:has(main.rg-champ) #standingsPanel,
  body:has(main.rg-champ) .rg-champ-tabs,
  body:has(main.rg-champ) .rg-phase-navigation {
    scroll-margin-top: 110px;
  }
  body:has(main.rg-champ) .rg-bracket-stage > h3 { top: 100px; }
}
@media (max-width: 900px) and (orientation:landscape) {
  html { scroll-padding-top: 70px; }
  body:has(main.rg-champ) .rg-champ-hero,
  body:has(main.rg-champ) #gamesPanel,
  body:has(main.rg-champ) #standingsPanel,
  body:has(main.rg-champ) .rg-champ-tabs,
  body:has(main.rg-champ) .rg-phase-navigation { scroll-margin-top: 70px; }
  body:has(main.rg-champ) .rg-bracket-stage > h3 { top: 65px; }
}

/* RodriGol 3.4.2 — filtros da lista de resultados */
.rg-results-filters{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:10px 0 18px}
.rg-results-filters button{background:#273447;color:#eaf3f7;border:1px solid #435369;border-radius:8px;padding:11px 18px;font-weight:700}
.rg-results-filters button.active,.rg-results-filters button[aria-pressed="true"]{background:#ff7900;border-color:#ff7900;color:#101820}
#portal .portal-layout{display:block;min-width:0}
#portal #results{width:100%;min-width:0}
@media(max-width:650px){.rg-results-filters{margin:8px 0 14px}.rg-results-filters button{flex:1;padding:10px 8px}}

/* Seleção editorial dos jogos da barra superior */
.rg-featured-editor{margin:20px 0;padding:16px;border:1px solid #555;border-radius:10px}.rg-featured-editor>p{margin:8px 0 16px}.rg-featured-editor input[type=search]{display:block;width:100%;max-width:580px;margin:8px 0;padding:10px}.rg-featured-list{max-height:410px;overflow:auto;border:1px solid #555;border-radius:8px;padding:8px}.rg-featured-row{display:flex;align-items:center;gap:12px;padding:9px;border-bottom:1px solid #444;cursor:pointer}.rg-featured-row:last-child{border-bottom:0}.rg-featured-row input{flex:none;width:18px;height:18px;accent-color:#f59e0b}.rg-featured-row span{display:flex;flex-direction:column;gap:4px;min-width:0}.rg-featured-row small{opacity:.75;font-size:.8em}

/* RodriGol 3.4.2: navegação diária dos destaques editoriais */
.rg-featured-date-controls{display:flex;align-items:end;flex-wrap:wrap;gap:10px;margin:12px 0 16px}.rg-featured-date-controls label{display:flex;flex-direction:column;gap:6px;margin:0}.rg-featured-date-controls input[type=date]{padding:9px;border:1px solid #55606b;border-radius:6px;background:#0d1520;color:#fff;color-scheme:dark}.rg-featured-date-controls button{padding:9px 12px;white-space:nowrap}@media(max-width:600px){.rg-featured-date-controls{gap:7px}.rg-featured-date-controls label{width:100%}.rg-featured-date-controls input[type=date]{width:100%}}

/* 3.5.3: placares alinhados à borda direita dos cartões de mata-mata */
.rg-phase-ties .rg-bracket-team{display:flex;align-items:center;width:100%;gap:8px}
.rg-phase-ties .rg-bracket-team-name{flex:1 1 auto;min-width:0}
.rg-phase-ties .rg-bracket-team>strong{margin-left:auto;flex:0 0 auto;text-align:right;min-width:2ch;font-variant-numeric:tabular-nums}
.rg-phase-ties .rg-bracket-leg>strong{margin-left:auto;text-align:right;font-variant-numeric:tabular-nums}

/* 3.5.3 — linha inferior do confronto alinhada à direita, inclusive com escudos */
.rg-phase-ties .rg-bracket-leg > a{display:inline-flex;align-items:center;justify-content:flex-end;margin-left:auto;max-width:100%;min-width:0;text-align:right}
.rg-phase-ties .rg-bracket-leg > a .rg-bracket-leg-teams{justify-content:flex-end}
.rg-phase-ties .rg-bracket-leg > strong{margin-left:auto;text-align:right}
