@layer pages{.tournament-page .top-logo{position:absolute}.tournament-page .tournament-hero{min-height:0;padding:clamp(24px,3vw,36px)}.tournament-page .tournament-hero::after{content:"AMF";right:clamp(22px,5vw,62px);font-size:clamp(150px,22vw,240px);opacity:.72}.tournament-page[data-tournament-type="cup"] .tournament-hero{--league-cyan:#f59e0b;--league-violet:#ef4444;background:radial-gradient(860px 400px at -5% -25%,#f59e0b42,#0000 58%),radial-gradient(720px 440px at 105% 8%,#ef44443b,#0000 62%),linear-gradient(145deg,#23183dfa,#080d23fa 54%,#281019fa)}.tournament-page .tournament-hero .hero-title{max-width:min(780px,82%);margin:18px 0 10px;font-size:clamp(50px,7vw,78px);line-height:.88}.tournament-page .tournament-hero .hero-title::after{width:92px;margin-top:13px}.tournament-page .tournament-hero .hero-sub{max-width:760px;margin-bottom:14px;font-size:15px}.tournament-page .tournament-hero .hero-actions{display:inline-flex;margin:0}.tournament-page .tournament-hero .hero-actions .btn{min-height:38px;padding:8px 14px}.tournament-page .tournament-hero .season-context{display:flex;flex-wrap:wrap;margin-top:14px}.tournament-summary.amf-league-summary{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:24px}.tournament-stat.amf-league-stat.card{min-height:94px;padding:15px 16px}.tournament-stat.amf-league-stat b{font-size:40px}.tournament-stat small{color:var(--muted);font-size:11px;font-weight:700}.tournament-chip.is-active{border-color:#34d3994f;background:#064e3b52;color:#a7f3d0}.tournament-panel{margin-top:0}.tournament-panel[hidden]{display:none!important}.tournament-panel.is-active{display:block;animation:league-panel-in .24s ease both}.tournament-panel>.section-head{margin-bottom:16px;padding-inline:2px}.tournament-page .amf-league-layout{grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr))}.tournament-panel-head{align-items:center;margin:0!important;padding-bottom:13px;border-bottom:1px solid var(--border-soft)}.tournament-panel-head .section-title{margin:0}.tournament-division-panel{gap:18px;padding:20px}.tournament-capacity{display:grid;gap:9px}.tournament-capacity-copy{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--muted);font-size:12px;font-weight:700}.tournament-capacity-copy b{color:var(--text);font-variant-numeric:tabular-nums}.tournament-capacity-track{height:8px;overflow:hidden;border:1px solid var(--border-soft);border-radius:999px;background:#02061780}.tournament-capacity-fill{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--league-cyan),var(--league-violet));box-shadow:0 0 20px #38bdf85c}.tournament-division-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.tournament-division-metrics .tournament-stat.card{min-height:80px;padding:12px 14px}.tournament-division-metrics .tournament-stat b{font-size:32px}.tournament-team-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.tournament-team-grid.is-full{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.tournament-team-tile.list-item{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;min-height:66px;padding:10px 12px;color:var(--text);text-decoration:none}.tournament-team-copy{display:grid;min-width:0;gap:3px}.tournament-team-copy b,.tournament-team-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tournament-team-copy small{color:var(--muted);font-size:11px}.tournament-team-arrow{color:var(--accent);font-size:18px}.tournament-team-logo{display:grid;place-items:center;flex:0 0 auto;width:42px;height:42px;object-fit:contain;border:1px solid var(--border);border-radius:13px;background:#ffffff0a}.tournament-team-logo.is-sm{width:30px;height:30px;border-radius:9px}.tournament-team-fallback{color:#dbeafe;font-size:11px;font-weight:900;letter-spacing:.04em;background:linear-gradient(145deg,#0ea5e92e,#8b5cf62e)}.tournament-more,.tournament-table-note{margin:0;text-align:center;font-size:12px}.tournament-standings-panel,.tournament-teams-panel{padding:20px}.tournament-table{border-radius:16px;box-shadow:none}.tournament-table .points-cell{color:var(--text);font-weight:900}.tournament-match-feed{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:12px}.tournament-match-card{display:grid;gap:15px;padding:16px}.tournament-match-meta{display:flex;align-items:center;flex-wrap:wrap;gap:9px;font-size:12px}.tournament-chip.is-upcoming{border-color:#38bdf84d;background:#0c4a6e52;color:#bae6fd}.tournament-chip.is-finished{border-color:#a78bfa4d;background:#4c1d9552;color:#ddd6fe}.tournament-versus{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px}.tournament-side{display:flex;align-items:center;gap:9px;min-width:0}.tournament-side b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tournament-side.is-away{justify-content:flex-end;text-align:right}.tournament-score{min-width:54px;padding:9px 10px;border:1px solid var(--border);border-radius:12px;background:#0206177a;text-align:center;font-size:17px;font-variant-numeric:tabular-nums}.tournament-bracket{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(300px,1fr);align-items:start;gap:14px;padding-bottom:8px;overflow-x:auto;scrollbar-width:thin}.tournament-bracket-stage{gap:12px;padding:16px}.tournament-empty{grid-column:1/-1;min-height:112px}:root[data-theme="light"] .tournament-capacity-track,:root[data-theme="light"] .tournament-score{background:#ffffff9c}@media(max-width:760px){.tournament-page .tournament-hero{padding:24px 20px 20px}.tournament-page .tournament-hero::after{top:78px;font-size:150px}.tournament-page .tournament-hero .hero-title{max-width:100%;font-size:clamp(46px,15vw,68px)}.tournament-summary.amf-league-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.tournament-team-grid,.tournament-team-grid.is-full{grid-template-columns:1fr}}@media(max-width:460px){.tournament-division-panel,.tournament-standings-panel,.tournament-teams-panel{padding:14px}.tournament-division-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.tournament-division-metrics .tournament-stat.card{min-height:72px;padding:10px}.tournament-division-metrics .tournament-stat b{font-size:28px}.tournament-versus{gap:7px}.tournament-side{display:grid;justify-items:start}.tournament-side.is-away{justify-items:end}}@media(prefers-reduced-motion:reduce){.tournament-panel.is-active{animation:none}}}@layer pages{.tournament-page .tournament-hero{box-shadow:var(--shadow-sm)}.tournament-page .tournament-hero .hero-title{max-width:100%;line-height:var(--line-heading)}.tournament-stat.amf-league-stat.card{box-shadow:none}#tournament-overview-panel .tournament-summary{margin:0 0 16px}@media(max-width:640px){.tournament-page .tournament-hero{padding:16px}.tournament-page .tournament-hero .hero-title{font-size:clamp(1.55rem,7.2vw,2.15rem);margin:12px 0 8px}.tournament-page .tournament-hero .hero-sub{font-size:13px}.tournament-page .tournament-hero .hero-actions{display:flex;flex-wrap:wrap;gap:8px}.tournament-page .tournament-hero .hero-actions .btn{flex:1 1 140px;width:auto;min-height:44px;white-space:normal;font-size:12px;padding:8px}.tournament-summary.amf-league-summary{margin-top:12px;gap:6px}.tournament-stat.amf-league-stat.card{min-height:66px;padding:9px}.tournament-stat.amf-league-stat b{font-size:28px}.tournament-standings-panel,.tournament-teams-panel{padding:10px}.tournament-panel-head{gap:8px}.tournament-panel-head .section-title{font-size:17px;line-height:1.35}}}
