/* Regional polish (nov/2026): team logos everywhere, heading spacing, "updated" stamp.
   Loaded last on index.html and campeonato.html. Logo sizes enlarged on 04/11/2026. */

/* Team logos are transparent artwork: keep them uncropped and consistently sized */
.team-logo{object-fit:contain;flex:0 0 auto;display:inline-block;vertical-align:middle}

/* Team cards: big logo on the left, name + meta on the right */
.team-card{min-height:104px;column-gap:16px!important;grid-template-columns:76px minmax(0,1fr)!important;align-items:center}
.team-card img{width:76px!important;height:76px!important;object-fit:contain;flex:0 0 76px}
.team-card .shield{width:76px;height:76px;flex:0 0 76px}

/* Standings */
.ranking-team{gap:14px}
.ranking-team img{width:46px!important;height:46px!important;object-fit:contain;flex:0 0 46px}
.ranking-scroll td{height:68px}

/* Team popup */
.team-modal-header img{width:128px!important;height:128px!important;object-fit:contain}

/* Match rows: logo · name × name · logo */
.regional-fixture h3{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.regional-fixture h3 .team-logo{width:44px;height:44px}
.calendar-event h3{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.calendar-event h3 .team-logo{width:32px;height:32px}
.regional-match-team span{display:inline-flex;align-items:center;gap:10px}
.regional-match-team .team-logo{width:32px;height:32px}

/* Finished series: winner stands out, loser fades (bracket + fixtures) */
.regional-match-team.won{background:linear-gradient(90deg,#46d68c2e,#46d68c08 70%,transparent);box-shadow:inset 3px 0 0 #46d68c;color:#fff}
.regional-match-team.won span{font-weight:800;color:#fff}
.regional-match-team.won b{color:#46d68c;font-size:15px;font-weight:900}
.regional-match-team.lost{opacity:.5}
.regional-match-team.lost .team-logo{filter:grayscale(.8)}
.regional-match-team.lost b{color:#8a9a92}
.fixture-side{display:inline-flex;align-items:center;gap:10px}
.regional-fixture h3>.fixture-side{color:inherit;margin-inline:0}
.regional-fixture h3>.fixture-side.fixture-win{color:#fff}
.fixture-win{color:#fff;font-weight:800}
.fixture-loss{opacity:.5}
.fixture-loss .team-logo{filter:grayscale(.8)}
.regional-fixture h3 .fixture-score{color:#46d68c;font-weight:900}

/* Standings caption: live "updated" stamp like a scoreboard */
.ranking-caption{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px}
.ranking-caption>span:last-child{margin-left:auto}
.ranking-updated{display:inline-flex;align-items:center;gap:7px;font-size:10px;letter-spacing:1.6px;color:#8dabb7;font-weight:700}
.ranking-updated i{width:7px;height:7px;border-radius:50%;background:#46d68c;box-shadow:0 0 8px #46d68caa}

/* Section headings: the emblem never overlaps the title */
.section-mark{min-width:42px}
@media(max-width:800px){
  .section-mark{min-width:34px}
  .section-mark img{width:34px!important;height:34px!important}
  .team-card{min-height:88px;column-gap:12px!important;grid-template-columns:60px minmax(0,1fr)!important}
  .team-card img{width:60px!important;height:60px!important;flex-basis:60px}
  .ranking-team img{width:40px!important;height:40px!important;flex-basis:40px}
  .ranking-scroll td{height:60px}
  .team-modal-header img{width:104px!important;height:104px!important}
  .regional-fixture h3 .team-logo{width:36px;height:36px}
  .calendar-event h3 .team-logo,.regional-match-team .team-logo{width:28px;height:28px}
}

@media(max-width:800px){.bottom-nav{gap:0;padding:0 4px}.bottom-nav a{flex:1 1 0;min-width:0;letter-spacing:.3px;text-align:center;white-space:nowrap}}
/* Palpites: destaque com brilho */
@keyframes palpites-glow{0%,100%{text-shadow:0 0 4px #ffd25a66;filter:drop-shadow(0 0 0 #ffd25a00)}50%{text-shadow:0 0 10px #ffd25a,0 0 18px #ffb02e99;filter:drop-shadow(0 0 6px #ffc94d88)}}
@keyframes palpites-shine{0%{background-position:-120% 0}55%,100%{background-position:220% 0}}
header nav a[href="/palpites"]{position:relative;color:#ffd25a;font-weight:800;padding:6px 12px;border:1px solid #ffd25a80;border-radius:3px;background:linear-gradient(110deg,#ffd25a14 30%,#fff3c455 50%,#ffd25a14 70%) 0 0/250% 100%;box-shadow:0 0 12px #ffc94d40,inset 0 0 8px #ffc94d22;animation:palpites-glow 2.2s ease-in-out infinite,palpites-shine 3.5s ease-in-out infinite}
header nav a[href="/palpites"]:before{color:#ffd25a!important}
header nav a[href="/palpites"]:after{content:'';position:absolute;top:-4px;right:-4px;width:8px;height:8px;border-radius:50%;background:#ff5a5a;box-shadow:0 0 0 0 #ff5a5aaa;animation:palpites-dot 1.6s ease-out infinite}
@keyframes palpites-dot{0%{box-shadow:0 0 0 0 #ff5a5aaa}80%,100%{box-shadow:0 0 0 8px #ff5a5a00}}
header nav a[href="/palpites"]:hover{color:#fff;border-color:#ffd25a;background-color:#ffd25a2e}
.bottom-nav a[href="/palpites"],.bottom-nav a[href="/palpites"] span{color:#ffd25a!important}
.bottom-nav a[href="/palpites"]{position:relative;font-weight:800;animation:palpites-glow 2.2s ease-in-out infinite}
.bottom-nav a[href="/palpites"] span{animation:palpites-glow 2.2s ease-in-out infinite}
.bottom-nav a[href="/palpites"]:after{content:'';position:absolute;top:-3px;left:calc(50% + 9px);width:7px;height:7px;border-radius:50%;background:#ff5a5a;animation:palpites-dot 1.6s ease-out infinite}
@media(prefers-reduced-motion:reduce){header nav a[href="/palpites"],.bottom-nav a[href="/palpites"],.bottom-nav a[href="/palpites"] span,header nav a[href="/palpites"]:after,.bottom-nav a[href="/palpites"]:after{animation:none}}
/* Novidades em Tabela/Equipes (resultados novos desde a última visita) */
header nav a.has-news,.bottom-nav a.has-news{position:relative}
header nav a.has-news:after{content:'';position:absolute;top:-5px;right:-9px;width:7px;height:7px;border-radius:50%;background:#ff5a5a;animation:palpites-dot 1.6s ease-out infinite}
.bottom-nav a.has-news:after{content:'';position:absolute;top:-3px;left:calc(50% + 9px);width:7px;height:7px;border-radius:50%;background:#ff5a5a;animation:palpites-dot 1.6s ease-out infinite}
@media(prefers-reduced-motion:reduce){header nav a.has-news:after,.bottom-nav a.has-news:after{animation:none}}
/* Confrontos: abas por rodada */
.confrontos-intro{margin:-6px 0 18px}
.round-tabs{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 10px;margin-bottom:14px;scrollbar-width:thin;scroll-behavior:smooth}
.round-tabs button{flex:0 0 auto;display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:112px;padding:12px 14px;background:#0e1e1a;border:1px solid #2c4638;color:#cfe3d8;text-align:left;cursor:pointer;transition:border-color .2s,background .2s}
.round-tabs button b{font-family:var(--display);font-weight:400;font-size:15px;letter-spacing:.5px}
.round-tabs button small{font-size:10px;color:#8fb3a1;letter-spacing:1px}
.round-tabs button:hover{border-color:#46d68c}
.round-tabs button.active{background:linear-gradient(135deg,#1c4a33,#0f2a20);border-color:#46d68c;color:#fff;box-shadow:inset 0 -3px 0 #46d68c}
.round-tabs button.active small{color:#bff0d4}
.round-tabs button.done:not(.active){opacity:.72}
.round-info{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center;margin-bottom:14px;font-size:11px;letter-spacing:1px;color:#9bb4a7;text-transform:uppercase}
.round-info .round-bye{display:inline-flex;align-items:center;gap:8px;color:#e3c657}
.round-info .round-bye .team-logo{width:22px;height:22px}
.round-info .round-moved{color:#ffb86b;text-transform:none;letter-spacing:.3px}
.agenda-to-confrontos{display:inline-block;margin-top:6px;font-size:11px;letter-spacing:1.2px;color:#46d68c;border:1px solid #46d68c66;padding:11px 16px}
.agenda-to-confrontos:hover{background:#46d68c1a}
@media(max-width:800px){.round-tabs button{min-width:96px;padding:10px 11px}.round-tabs button b{font-size:13px}}
.round-tabs{scrollbar-color:#2f6b4c transparent}.round-tabs::-webkit-scrollbar{height:6px}.round-tabs::-webkit-scrollbar-track{background:transparent}.round-tabs::-webkit-scrollbar-thumb{background:#2f6b4c;border-radius:3px}
/* Tabela: coluna Equipe mais justa, Próximo confronto maior */
.ranking-scroll table{min-width:860px}
.ranking-scroll th:nth-child(2){width:24%}
.ranking-scroll th:nth-child(6){width:118px}
.ranking-scroll th:nth-child(7){width:auto;text-align:left;padding-left:22px}
.ranking-scroll td.ranking-next{text-align:left;padding-left:22px}
.ranking-next .next-wrap{display:flex;align-items:center;gap:14px;min-width:0}
.ranking-next .next-wrap .team-logo{width:40px;height:40px;flex:0 0 40px;object-fit:contain}
.ranking-next .next-tx{min-width:0}
.ranking-next strong{font-size:14px!important;color:#eef6f1!important;letter-spacing:.02em}
.ranking-next small{font-size:12px!important;color:#9fb8ab!important;margin-top:4px!important;letter-spacing:.6px!important}
.ranking-next small b{color:#e3c657;font-weight:700}
.ranking-next>span{font-size:12px!important}
@media(max-width:800px){.ranking-scroll table{min-width:760px}.ranking-next .next-wrap .team-logo{width:32px;height:32px;flex-basis:32px}.ranking-next strong{font-size:12px!important}.ranking-next small{font-size:11px!important}}
/* Tabela equilibrada: colunas proporcionais e próximo confronto centralizado */
.ranking-scroll th:nth-child(1){width:5%}
.ranking-scroll th:nth-child(2){width:27%}
.ranking-scroll th:nth-child(3),.ranking-scroll th:nth-child(4){width:7%}
.ranking-scroll th:nth-child(5){width:8%}
.ranking-scroll th:nth-child(6){width:16%}
.ranking-scroll th:nth-child(7){width:30%;text-align:center;padding-left:8px}
.ranking-scroll td.ranking-next{text-align:center;padding-left:8px}
.ranking-next .next-wrap{display:inline-flex;text-align:left;max-width:100%}
.ranking-scroll td:nth-child(3),.ranking-scroll td:nth-child(4){font-size:14px}
.ranking-scroll .ranking-points strong{font-size:17px}
.ranking-team strong{font-size:13px}
.ranking-form i{width:18px;height:5px}
.round-tabs button[data-round=next]{border-color:#e3c65788;background:linear-gradient(135deg,#2b2a12,#0f2a20)}.round-tabs button[data-round=next] b{color:#e3c657}.round-tabs button[data-round=next].active{border-color:#e3c657;box-shadow:inset 0 -3px 0 #e3c657}
/* Agenda da home: logos dos confrontos em cada dia */
#days button{height:auto!important;min-height:78px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:6px;padding:8px 4px}
#days .day-icons{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:4px 8px;max-width:100%}
#days .day-pair{display:inline-flex;align-items:center;gap:3px;padding:2px 5px;border:1px solid #46d68c33;background:#0b1d16cc}
#days .day-pair img{width:22px;height:22px;object-fit:contain}
#days .day-pair i{font-style:normal;font-size:9px;color:#46d68c}
#days .day-extra{display:inline-flex}
#days .day-more{display:none;font-size:10px;font-weight:700;color:#e3c657}
@media(max-width:800px){#days button{min-height:58px;padding:5px 1px;gap:3px}#days .day-pair{padding:1px 2px;gap:1px;border:0;background:none}#days .day-pair img{width:13px;height:13px}#days .day-pair i{font-size:7px}#days .day-extra{display:none}#days .day-more{display:inline}}
/* Equipes: 3 fileiras de 3 */
@media(min-width:801px){#equipes .teams-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px}}
/* Classificação 07/11: forma em quadradinhos V/D e textos maiores/mais grossos */
.ranking-form{gap:5px}
.ranking-form i,.ranking-legend i:not(.legend-top){display:inline-grid;place-items:center;width:24px;height:24px;border-radius:4px;font:800 12px/1 var(--ui);letter-spacing:0;color:#08111a;background:transparent;border:1px dashed #3a4654;box-shadow:none;opacity:1}
.ranking-form .form-win,.ranking-legend i.form-win:not(.legend-top){background:linear-gradient(180deg,#9fe3c4,#5fc39a);border:0;color:#062016;box-shadow:0 0 10px #5fc39a40}
.ranking-form .form-loss,.ranking-legend i.form-loss:not(.legend-top){background:linear-gradient(180deg,#e7838a,#c2525b);border:0;color:#2a0709;box-shadow:0 0 10px #c2525b33}
.ranking-form .form-unplayed{background:#ffffff05}
.ranking-form .form-last{outline:0}
.ranking-legend i:not(.legend-top){width:20px;height:20px;font-size:11px}
.ranking-caption strong{font-size:13px;font-weight:800;letter-spacing:2.5px}
.ranking-caption>span{font-size:13px;font-weight:700;color:#a3b0bc}
.ranking-scroll th{font-size:11px;font-weight:800;letter-spacing:1.8px;height:44px}
.ranking-scroll td{font-weight:800}
.ranking-scroll td:first-child{font-size:15px;font-weight:800;color:#a3b0bc}
.ranking-scroll td:nth-child(3),.ranking-scroll td:nth-child(4){font-size:17px}
.ranking-scroll .ranking-points strong{font-size:20px;font-weight:800}
.ranking-team strong{font-size:15px;font-weight:800}
.ranking-next strong{font-size:14px;font-weight:800;color:#e1e6ea}
.ranking-next small{font-size:12px;font-weight:600;color:#9aa8b5}
.ranking-next>span{font-size:12px;font-weight:600}
.ranking-legend{font-size:13px;font-weight:700;color:#a3b0bc}
.ranking-footnote{font-size:12px!important;font-weight:600;color:#93a1ae!important}
.ranking-scroll th:nth-child(6){width:170px}
@media(max-width:800px){.ranking-caption strong,.ranking-caption>span{font-size:11px}.ranking-scroll th{font-size:10px}.ranking-team strong{font-size:13px}.ranking-legend{font-size:11px}.ranking-footnote{font-size:11px!important}.ranking-form i{width:21px;height:21px;font-size:11px}}
/* Zona de playoffs na coluna de posição: 1-2 semifinal superior, 3-6 quartas, 7+ fora */
.ranking-scroll tbody tr,.ranking-scroll tbody tr.ranking-top,.ranking-scroll tbody tr.ranking-out{border-left-color:transparent}
.ranking-scroll th:nth-child(1){width:76px}
.ranking-scroll td.ranking-pos{--pz:transparent;box-shadow:inset 4px 0 0 var(--pz);background:linear-gradient(90deg,color-mix(in srgb,var(--pz) 16%,transparent),transparent 85%);padding:6px 4px 6px 10px}
.ranking-pos b{display:block;font:800 17px/1 var(--ui);color:#e1e6ea}
.ranking-pos small{display:inline-block;margin-top:6px;font:800 9px/1 var(--ui);letter-spacing:1px;padding:3px 5px;border-radius:3px;color:#08111a;background:var(--pz)}
tr.pz-semi td.ranking-pos{--pz:#e3c657}
tr.pz-qf td.ranking-pos{--pz:#5fc39a}
tr.pz-out td.ranking-pos{--pz:#c2525b}
tr.pz-out td.ranking-pos small{color:#fff}
tr.pz-semi .ranking-pos b{color:#f0d978}tr.pz-qf .ranking-pos b{color:#8fe0bd}tr.pz-out .ranking-pos b{color:#e48d93}
.ranking-legend .legend-zone{display:inline-block!important;width:14px!important;height:14px!important;border:0!important;border-radius:3px!important}
.ranking-legend .legend-zone.pz-semi{background:#e3c657!important}.ranking-legend .legend-zone.pz-qf{background:#5fc39a!important}.ranking-legend .legend-zone.pz-out{background:#c2525b!important}
@media(max-width:800px){.ranking-scroll th:nth-child(1){width:64px}.ranking-pos small{font-size:8px;padding:2px 4px}}
.round-tabs button[data-round=done]{border-color:#46d68c88}.round-tabs button[data-round=done] b{color:#7ef0b4}
.ranking-next .ranking-done{color:#e3c657;font-weight:700;letter-spacing:.04em}
/* chaveamento estilo compacto */
.gg-wrap{overflow-x:auto;border:1px solid #2a3a33;background:linear-gradient(180deg,#0b1714,#08110e);padding:22px 22px 18px;position:relative}
.gg-wrap:before,.gg-wrap:after{content:'';position:absolute;width:18px;height:18px;border:2px solid #c9a94f;pointer-events:none}
.gg-wrap:before{left:6px;top:6px;border-right:0;border-bottom:0}.gg-wrap:after{right:6px;bottom:6px;border-left:0;border-top:0}
.gg-board{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:34px;min-width:1020px;align-items:center}
.gg-sec+.gg-sec{margin-top:26px}
.gg-sec h3{display:flex;align-items:center;gap:12px;font:700 13px/1 'Space Grotesk',sans-serif;letter-spacing:.2em;color:#c9a94f;margin:0 0 12px}
.gg-sec h3:before{content:'◇'}.gg-sec h3:after{content:'';flex:1;height:1px;background:linear-gradient(90deg,#c9a94f88,transparent)}
.gg-grid{display:grid;grid-template-columns:repeat(3,206px);column-gap:34px}.gg-grid.low{grid-template-columns:repeat(4,186px)}
.gg-col h4{font:700 11px/1 'Space Grotesk',sans-serif;letter-spacing:.18em;color:#8fa79b;text-align:center;padding-bottom:9px;margin:0 0 12px;border-bottom:1px solid #22332c}
.gg-stack{display:flex;flex-direction:column;justify-content:space-around;gap:16px;height:calc(100% - 34px)}
.gg-col.one .gg-stack{justify-content:center}
.gg-m{position:relative;background:#0e1b17;border:1px solid #2b3d35;padding:8px 10px 7px}
.gg-m:before{content:'';position:absolute;left:0;top:0;border-style:solid;border-width:9px 9px 0 0;border-color:#c9a94f transparent transparent}
.gg-t{display:grid;grid-template-columns:22px 1fr auto;align-items:center;gap:8px;padding:5px 2px;font:700 12.5px/1.1 'Space Grotesk',sans-serif;color:#eef6f1;text-transform:uppercase}
.gg-t+.gg-t{border-top:1px solid #1f2f29}
.gg-t img{width:22px;height:22px;object-fit:contain}.gg-t i{width:18px;height:18px;border:1px dashed #3b5148;border-radius:3px}
.gg-t span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gg-t.ph span{color:#7d968a;font-weight:500;text-transform:none;font-size:12px}
.gg-t b{font:400 17px/1 Bimazone,sans-serif;color:#6fd6ff;min-width:12px;text-align:right}
.gg-t.lost{opacity:.45}.gg-t.lost b{color:#8fa79b}
.gg-m small{display:block;margin-top:6px;padding-top:6px;border-top:1px solid #1f2f29;font:500 10.5px/1.2 'Space Grotesk',sans-serif;color:#8fa79b;text-align:center}
/* linhas */
.gg-col.pair .gg-m:after,.gg-col.line .gg-m:after{content:'';position:absolute;right:-18px;top:50%;width:17px;height:1px;background:#3b5148}
.gg-col.line .gg-m:after{right:-35px;width:34px}
.gg-col.pair:not(.join) .gg-m:after{width:17px}
.gg-col.join .gg-stack{position:relative}
.gg-col.join .gg-stack:after{content:'';position:absolute;right:-18px;top:25%;bottom:25%;border-right:1px solid #3b5148}
.gg-col.join .gg-stack:before{content:'';position:absolute;right:-35px;top:50%;width:17px;height:1px;background:#3b5148}
.gg-col.one:not(.line) .gg-m{margin-left:0}
.gg-final{text-align:center;display:flex;flex-direction:column;align-items:center}
.gg-final img{width:120px;height:120px;object-fit:contain;filter:drop-shadow(0 0 22px #46d68c55);margin-bottom:6px}
.gg-final h3{font:400 30px/1 Bimazone,sans-serif;color:#fff;margin:4px 0 4px;letter-spacing:.02em}
.gg-final>span{font:700 11px/1 'Space Grotesk',sans-serif;letter-spacing:.18em;color:#c9a94f;margin-bottom:14px}
.gg-final .gg-m{width:100%;border-color:#c9a94f;box-shadow:0 0 0 1px #c9a94f33,0 10px 30px #0008;text-align:left}
.gg-final p{font:500 12px 'Space Grotesk',sans-serif;color:#8fa79b;margin-top:10px}
.gg-t.ph span{white-space:normal;line-height:1.15}
.gg-grid{grid-template-columns:repeat(3,220px)}
.gg-col.line .gg-m{overflow:visible}

/* vistoria 24/11: textos pequenos demais no celular (6–8px) */
@media (max-width:700px){
 .regional-home-facts span{font-size:10px!important;line-height:1.3!important;letter-spacing:.08em!important}
 .regional-home-date,.regional-home-date *{font-size:10.5px!important}
 .regional-motion-toggle{font-size:10px!important}
 .ticker span{font-size:11px!important}
 .regional-hero-facts span{font-size:10px!important;line-height:1.3!important;letter-spacing:.08em!important}
 .regional-hero-copy .crumb,.regional-status{font-size:10px!important}
 .regional-hero-art span{font-size:9px!important}
 .team-card small{font-size:10px!important}
 .regional-fixture-status{font-size:10px!important}
}
