.a5-coppe { --cup-ink:#18232b; --cup-lime:#c2ff1f; --cup-red:#c51e38; color:var(--cup-ink); background:#f4f6f8; font-size:16px; line-height:1.5; padding-bottom:48px; }
.a5-coppe * { box-sizing:border-box; }
.a5-coppe [hidden] { display:none!important; }
.a5-coppe button,.a5-coppe select { font:inherit; cursor:pointer; min-height:44px; }
.a5-coppe button:focus-visible,.a5-coppe a:focus-visible,.a5-coppe select:focus-visible { outline:3px solid #2983bc; outline-offset:3px; }
.cup-hero { background:#18232b; color:white; padding:20px 0; border-bottom:3px solid var(--cup-lime); }
.cup-hero-inner { display:flex; justify-content:space-between; align-items:center; gap:18px; }
.cup-eyebrow { font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; margin:0 0 5px; }
.cup-hero h1 { color:white; font-size:26px; letter-spacing:-.025em; line-height:1.2; text-transform:none; margin:0; }
.cup-hero h1 span { color:var(--cup-lime); }
.cup-body { padding-top:22px; }
.cup-specialita { display:flex; gap:8px; margin-bottom:14px; }
.cup-specialita button { background:white; color:#40505d; border:1px solid #d8dfe4; border-radius:7px; min-width:72px; padding:8px 18px; font-weight:700; }
.cup-specialita button[aria-pressed=true] { background:var(--cup-ink); color:var(--cup-lime); border-color:var(--cup-ink); }
.cup-navigation { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); background:white; border:1px solid #dce2e7; border-radius:10px; margin-bottom:16px; overflow:hidden; }
.cup-nav-group { padding:12px; border-right:1px solid #e7ebee; }
.cup-nav-group:last-child { border:0; }
.cup-nav-group h3 { font-size:13px; color:#6c7984; margin:0 0 7px; }
.cup-nav-group button { display:block; width:100%; text-align:left; background:transparent; border:0; border-radius:5px; color:#324450; font-size:14px; line-height:1.35; padding:8px; margin:3px 0; overflow-wrap:anywhere; }
.cup-nav-group button[aria-current=true] { background:#eff5df; color:#233411; box-shadow:inset 3px 0 var(--cup-lime); font-weight:700; }
.cup-live { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:7px; max-width:60%; }
.cup-live:empty { display:none; }
.cup-live button,.cup-nav-group button.is-live { background:#fff0f2; color:#ac1029; }
.cup-live button { border:1px solid #fd9cac; padding:7px 11px; border-radius:6px; font-size:13px; font-weight:700; }
.cup-live-badge { display:inline-block; background:var(--cup-red); color:white; font-size:12px; font-weight:700; padding:4px 7px; border-radius:4px; margin-right:6px; vertical-align:middle; letter-spacing:.04em; }
.cup-mobile-select { display:none; }
.cup-status { color:#62717d; font-size:13px; margin:0 0 14px; }
.cup-title { display:flex; align-items:center; justify-content:space-between; gap:24px; margin:0 0 24px; padding:22px 24px; background:white; border:1px solid #dce2e7; border-left:4px solid var(--cup-lime); border-radius:10px; }
.cup-title-main { min-width:0; }
.cup-title .cup-eyebrow { color:#657580; margin-bottom:6px; }
.cup-title h2 { font-size:clamp(26px,3vw,40px); text-transform:uppercase; letter-spacing:-.03em; line-height:1.15; margin:0; overflow-wrap:anywhere; }
.cup-title-status { flex:0 0 auto; min-width:200px; text-align:right; }
.cup-phase { color:#536574; font-size:13px; }
#cup-progress { display:block; font-size:16px; color:#243743; margin-top:8px; }
.cup-progress-track { height:5px; border-radius:4px; background:#e6ebef; margin-top:8px; overflow:hidden; }
.cup-progress-track span { display:block; height:100%; background:#6ca514; transition:width .3s ease; }
.cup-section { margin-bottom:26px; }
.cup-section-heading { display:flex; justify-content:space-between; align-items:center; gap:14px; margin-bottom:12px; }
.cup-section-heading h3 { text-transform:none; font-size:21px; margin:0; }
.cup-section-heading>span { font-size:12px; color:#61717e; }
.cup-pots { display:grid; grid-template-columns:repeat(auto-fit,minmax(215px,1fr)); gap:12px; }
.cup-pot { background:white; border:1px solid #dce2e7; border-radius:9px; padding:12px; min-width:0; }
.cup-pot>header { display:flex; align-items:center; justify-content:space-between; margin-bottom:5px; padding-bottom:8px; border-bottom:2px solid var(--cup-lime); }
.cup-pot h4 { font-size:14px; margin:0; }
.cup-pot-count { color:#687b85; font-size:12px; }
.cup-pot ul { list-style:none; padding:0; margin:0; }
.cup-pot li { border-radius:5px; }
.cup-team { display:flex; align-items:center; gap:9px; min-width:0; }
.cup-team img { width:40px; height:40px; flex:0 0 40px; object-fit:contain; }
.cup-team-name { overflow-wrap:anywhere; font-weight:600; line-height:1.3; min-width:0; }
.cup-pot .cup-team { min-height:54px; padding:7px 2px; gap:7px; }
.cup-pot .cup-team-name { flex:1; font-size:14px; }
.cup-pot-state { flex:0 0 51px; color:#74828b; font-size:11px; line-height:1.2; text-align:right; }
.cup-pot-state.is-drawn { flex-basis:32px; color:#27641a; background:#edf6e8; border:1px solid #d5e8cb; text-align:center; padding:5px 3px; font-weight:700; font-size:13px; border-radius:4px; }
.cup-pot .is-drawn { color:#243c29; }
.cup-reserved { border-top:1px dashed #dce2e7; }
.cup-reserved .cup-team { min-height:37px; }
.cup-reserved .cup-team-name { color:#71826a; font-size:12px; }
.cup-empty-slots { display:flex; gap:8px; padding:12px 0; }
.cup-empty-slots span { background:#eef2f5; padding:5px; border-radius:4px; font-size:13px; color:#70818f; }
.cup-note { font-size:13px; color:#657580; margin:0 0 12px; }
.cup-days-nav { display:flex; gap:8px; margin:0 0 14px; flex-wrap:wrap; }
.cup-days-nav button { padding:8px 16px; background:white; border:1px solid #d8e0e5; border-radius:6px; color:#334652; font-size:14px; font-weight:700; }
.cup-days-nav button[aria-pressed=true] { color:white; background:#263944; border-color:#263944; }
.cup-days { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.cup-day { background:white; border:1px solid #dce2e7; border-radius:10px; overflow:hidden; scroll-margin-top:16px; }
.cup-day>header { display:flex; align-items:center; justify-content:space-between; padding:14px 18px; background:#e9eef2; gap:8px; }
.cup-day h4 { margin:0; font-size:16px; text-transform:none; }
.cup-day>header>span { color:#687b88; font-size:12px; }
.cup-match { display:grid; grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr); align-items:center; gap:10px; padding:12px 16px; min-height:73px; border-top:1px solid #e7ebee; }
.cup-match .cup-team-name { font-size:15px; }
.cup-match .cup-team img { height:34px; width:34px; flex-basis:34px; }
.cup-match .cup-versus { font-size:11px; font-weight:700; text-align:center; color:#8d9ba5; letter-spacing:.06em; }
.cup-match .is-symbolic { color:#71838f; font-size:15px; }
.cup-match.is-bye { background:#f7faf4; }
.cup-match.is-bye .cup-versus { color:#64834d; font-size:10px; letter-spacing:0; }
.cup-match.is-bye .cup-team:last-child { color:#64834d; }
#cup-video-anchor { margin-bottom:24px; }
.cup-video { position:relative; width:100%; background:#14202a; border-radius:9px; overflow:hidden; }
.cup-video-slot { aspect-ratio:16/9; }
.cup-video iframe { display:block; width:100%; height:100%; border:0; }
.cup-video.is-pip { position:fixed; bottom:16px; right:16px; width:min(360px,40vw); z-index:41; box-shadow:0 8px 25px #0005; }
.cup-video-actions { display:flex; justify-content:flex-end; align-items:center; gap:6px; padding:4px 6px; }
.cup-pip { background:#18232b; color:white; border:1px solid #71828f; border-radius:5px; padding:6px 10px; font-size:13px!important; }
.cup-video-close { min-width:44px; background:#18232b; color:white; border:1px solid #71828f; border-radius:5px; }
@keyframes cup-reveal { 0% { background:#d9f39c; box-shadow:inset 3px 0 #7baf12; } 100% { background:transparent; box-shadow:inset 0 0 transparent; } }
@media(prefers-reduced-motion:no-preference) { .cup-revealed,.cup-updated { animation:cup-reveal 1.6s ease-out; } }
@media(prefers-reduced-motion:reduce) { .cup-progress-track span { transition:none; } }
@media(min-width:1200px) { .a5-coppe .container { max-width:1240px; } }
@media(max-width:767px) {
 .cup-hero { padding:15px 0; } .cup-hero h1 { font-size:22px; }
 .cup-hero-inner { display:block; } .cup-hero .cup-eyebrow { font-size:11px; }
 .cup-live { max-width:none; justify-content:flex-start; gap:6px; margin-top:12px; }
 .cup-live button { font-size:12px; padding:6px 8px; }
 .cup-body { padding-top:16px; } .cup-specialita { gap:6px; margin-bottom:12px; }
 .cup-specialita button { padding:7px 10px; min-width:0; flex:1; }
 .cup-navigation { display:none; } .cup-mobile-select { display:block; font-size:13px; color:#536674; margin-bottom:10px; }
 .cup-mobile-select select { width:100%; margin-top:5px; background:white; border:1px solid #ced7de; border-radius:7px; padding:9px 10px; color:#18232b; }
 .cup-status { font-size:12px; margin-bottom:12px; }
 .cup-title { display:block; padding:17px 16px; margin-bottom:20px; }
 .cup-title h2 { font-size:28px; }
 .cup-title-status { min-width:0; text-align:left; display:flex; flex-wrap:wrap; align-items:center; gap:6px; margin-top:13px; }
 .cup-title-status .cup-live-badge { margin:0; }
 #cup-progress { margin:0 0 0 auto; font-size:14px; }
 .cup-progress-track { width:100%; margin:4px 0 0; }
 .cup-pots { grid-template-columns:1fr; gap:8px; }
 .cup-pot { padding:10px 12px; } .cup-pot>header { margin-bottom:3px; padding-bottom:6px; }
 .cup-pot .cup-team { min-height:48px; padding:5px 0; gap:10px; }
 .cup-pot .cup-team img { height:38px; width:38px; flex-basis:38px; }
 .cup-pot .cup-team-name { font-size:15px; }
 .cup-pot-state { font-size:12px; flex-basis:65px; }
 .cup-pot-state.is-drawn { flex-basis:35px; }
 .cup-section-heading>span { max-width:150px; text-align:right; font-size:11px; }
 .cup-days { grid-template-columns:1fr; }
 .cup-day:not(.is-active) { display:none; }
 .cup-days-nav { position:sticky; top:var(--cup-video-top,0px); z-index:8; background:#f4f6f8; padding:7px 0; flex-wrap:nowrap; gap:6px; }
 .cup-days-nav button { flex:1; padding:7px 8px; min-width:0; }
 .cup-day>header { padding:12px; }
 .cup-match { gap:6px; grid-template-columns:minmax(0,1fr) 32px minmax(0,1fr); padding:11px 10px; min-height:73px; }
 .cup-match .cup-team { gap:6px; }
 .cup-match .cup-team img { width:30px; height:30px; flex-basis:30px; }
 .cup-match .cup-team-name { font-size:14px; }
 .cup-match .cup-versus { font-size:10px; }
 .cup-match.is-bye .cup-versus { font-size:9px; }
 .cup-video.is-docked { position:fixed; top:0; z-index:40; border-radius:0; }
 .cup-video.is-pip { width:min(208px,52vw); }
}

@media (min-width:768px) {
    .cup-hero .cup-live { display:none; }
}
.cup-last-draw { display:flex; flex-wrap:wrap; align-items:center; gap:6px 14px; margin:0 0 18px; padding:12px 16px; background:#fff; border:1px solid #dce2e7; border-left:4px solid var(--cup-lime); border-radius:8px; }
.cup-last-draw > span { color:#536574; font-size:13px; }
.cup-last-draw strong { overflow-wrap:anywhere; }
.cup-last-draw .cup-draw-position { margin-left:auto; }
.cup-video-only > :not(#cup-video-anchor) { display:none; }

@media (min-width:992px) {
 body:has(#a5-coppe) .main-nav__list > li > a { padding-inline:clamp(15px,1.8vw,24px); }
}
