:root{color-scheme:var(--theme-color-scheme)}*{box-sizing:border-box}body{margin:0;background:var(--theme-page-background);color:var(--ink);font:16px/1.5 var(--theme-font-family)}button,a,input,select{-webkit-tap-highlight-color:transparent}a{color:inherit}button,select{font:inherit}button,a,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}:focus-visible{outline:3px solid var(--theme-border-962319);outline-offset:4px}header{max-width:1200px;margin:auto;display:flex;justify-content:space-between;align-items:center;padding:24px 28px}.brand{text-decoration:none;font-weight:900;letter-spacing:1px;line-height:1.2;position:relative;padding-left:42px}.ball{position:absolute;left:0;font-size:35px;top:-1px;color:var(--accent)}.top-actions{display:flex;gap:18px;align-items:center}.connection{font-size:12px}.small{border:1px solid var(--line);background:transparent;border-radius:var(--theme-radius-30px);padding:9px 16px;font-size:12px}main{max-width:1144px;margin:12px auto 120px;padding:0 20px}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:11px;font-weight:800}.hero{display:grid;grid-template-columns:1.1fr 1fr;min-height:410px;background:var(--theme-strong-surface);border-radius:var(--theme-radius-26px);overflow:hidden;color:var(--theme-on-strong)}.hero-copy{padding:42px}h1{font-size:clamp(42px,6vw,76px);line-height:.99;letter-spacing:-3px;margin:24px 0}h1 em{font-style:normal;color:var(--accent)}.hero-copy p{max-width:320px;color:var(--theme-text-d0d1d3)}.tag{font-size:11px;background:var(--theme-surface-ffffff17);border:1px solid var(--theme-border-ffffff40);padding:6px 10px;border-radius:var(--theme-radius-20px);display:inline-block}.primary{display:inline-flex;align-items:center;gap:22px;border:0;border-radius:var(--theme-radius-10px);background:var(--accent);color:var(--theme-on-accent);text-decoration:none;padding:13px 20px;font-weight:750}.hero-art{position:relative;overflow:hidden;background:var(--theme-surface-dedede);min-height:320px}.basketball{position:absolute;width:205px;height:205px;border-radius:var(--theme-radius-50);background:var(--accent);border:3px solid var(--theme-border-753f2c);left:22%;top:26%;box-shadow:var(--theme-shadow-0);overflow:hidden;transform:rotate(-25deg)}.basketball:before,.basketball:after{content:'';position:absolute;border:3px solid var(--theme-border-753f2c);border-radius:var(--theme-radius-50);width:250px;height:200px;left:70px;top:-4px}.basketball:after{left:-125px}.ball-line{position:absolute;width:100%;height:100%;border-top:3px solid var(--theme-border-753f2c);top:50%}.facts{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid var(--line);padding:26px 0;gap:20px}.fact{border-right:1px solid var(--line);padding:0 20px}.fact:last-child{border:0}.fact small{display:block;color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:1px}.fact strong{font-size:18px}.section-head{display:flex;align-items:center;justify-content:space-between;margin:32px 0 18px;gap:15px}h2{font-size:26px;letter-spacing:-.8px;margin:0}h3{margin:0;font-size:18px}.sub{color:var(--muted);font-size:14px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.card{background:var(--theme-surface-fffef8);border:1px solid var(--line);border-radius:var(--theme-radius-16px);padding:22px;text-decoration:none}.linkcard{display:flex;align-items:center;justify-content:space-between;gap:12px}.icon-box{display:grid;place-items:center;width:44px;height:44px;border-radius:var(--theme-radius-12px);background:var(--theme-surface-e8e8e8);font-size:24px;margin-bottom:16px}.muted{color:var(--muted)}nav{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:var(--theme-strong-surface);color:var(--theme-text-f7f4e8);display:flex;gap:5px;padding:8px;border-radius:var(--theme-radius-20px);box-shadow:var(--theme-shadow-1);z-index:5}nav a{min-width:85px;text-decoration:none;text-align:center;border-radius:var(--theme-radius-13px);font-size:11px;padding:8px 15px}nav a span{display:block;font-size:22px;line-height:1.2;margin-bottom:4px}nav a[aria-current]{background:var(--theme-surface-dedede);color:var(--ink);font-weight:800}.page-title{font-size:44px;line-height:1.1;letter-spacing:-1.8px;margin:25px 0 10px}.filters{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.filters select{border:1px solid var(--theme-border-b1b1b1);border-radius:var(--theme-radius-8px);background:var(--theme-surface-fffef8);color:var(--ink);padding:11px;max-width:100%}.filters label{font-size:12px;display:flex;flex-direction:column;gap:5px}.match{display:grid;grid-template-columns:76px 1fr auto;align-items:center;gap:20px;margin-bottom:12px}.time{font-size:23px;font-weight:800}.time small{display:block;font-size:10px;font-weight:500}.versus{font-size:12px;color:var(--muted);margin:0 10px}.pill{font-size:11px;background:var(--theme-surface-eaeaea);border-radius:var(--theme-radius-20px);padding:6px 10px;white-space:nowrap}.team{display:flex;align-items:center;gap:15px}.crest{width:56px;height:64px;clip-path:polygon(0 0,100% 0,100% 75%,50% 100%,0 75%);background:var(--c);color:var(--theme-text-white);display:grid;place-items:center;font-weight:900;font-size:21px}.team small{display:block;color:var(--muted)}.map-wrap{border:1px solid var(--line);background:var(--theme-surface-e5e5e5);border-radius:var(--theme-radius-20px);padding:20px;overflow:hidden}.map-wrap>svg{width:100%;max-height:530px}.map-detail{min-height:64px}.supporter{text-align:center;min-height:130px;display:grid;place-content:center}.supporter strong{font-size:25px;letter-spacing:-1px}.supporter small{font-size:10px;letter-spacing:2px;color:var(--muted)}.footer-note{margin-top:30px;font-size:12px;color:var(--muted)}dialog{max-width:440px;border:1px solid var(--line);border-radius:var(--theme-radius-20px);padding:28px;background:var(--cream);color:var(--ink)}dialog::backdrop{background:var(--theme-surface-30323680)}.skip{position:fixed;top:-100px}.skip:focus{top:8px;background:var(--theme-surface-white);padding:10px;z-index:10}[hidden]{display:none!important}@media(max-width:650px){header{padding:18px 20px}.top-actions{gap:7px}.connection{font-size:10px}.small{padding:8px 10px}.brand{font-size:14px;padding-left:32px}.ball{font-size:28px}.hero{grid-template-columns:1fr}.hero-copy{padding:28px}.hero h1{font-size:55px;margin:22px 0}.hero-art{min-height:210px}.basketball{width:150px;height:150px;top:12%;left:30%}.hero-copy p{font-size:14px}.facts{gap:0;padding:20px 0}.fact{padding:0 10px}.fact:first-child{padding-left:0}.fact strong{font-size:13px}.fact small{font-size:9px}.grid{grid-template-columns:1fr}.section-head h2{font-size:23px}nav{bottom:0;border-radius:var(--theme-radius-18px-18px-0-0);width:100%;justify-content:space-around;padding:7px 5px calc(7px + env(safe-area-inset-bottom))}nav a{min-width:0;flex:1;padding:8px 4px}.match{grid-template-columns:58px 1fr;gap:12px}.match .pill{grid-column:2;justify-self:start}.card{padding:18px}.page-title{font-size:38px}.teams-grid{grid-template-columns:1fr 1fr;gap:10px}.teams-grid .team{flex-direction:column;align-items:start}.map-wrap{padding:4px}.top-actions #install{font-size:10px}.section-head{align-items:start}main{margin-top:4px}.brand-grid{grid-template-columns:1fr 1fr}}@media(prefers-reduced-motion:no-preference){.card,button{transition:transform .15s}.linkcard:hover{transform:translateY(-3px)}}

.court-target rect{fill:transparent;stroke:transparent;stroke-width:7;cursor:pointer;vector-effect:non-scaling-stroke}.court-target:hover rect{fill:#C12E2122;stroke:#962319}.court-target.selected rect{fill:#C12E2133;stroke:#962319;stroke-dasharray:10 5}.court-target:focus rect{stroke:#962319;stroke-width:9}.court-target:focus{outline:none}.court-link{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-underline-offset:3px}.court-link:hover{background:var(--theme-surface-d9d9d9)}.selected-detail{border-left:5px solid var(--theme-border-962319)}

.fixture-top{display:flex;align-items:center;justify-content:space-between;gap:16px}.favorite-bar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0 0 22px}.favorite-bar button{min-height:44px}.favorite-bar .sub{font-size:12px}.fixture-top .small{min-height:44px}

.club-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}.club summary{list-style:none;display:flex;align-items:center;gap:16px;cursor:pointer;min-height:64px}.club summary::-webkit-details-marker{display:none}.club summary small{display:block;color:var(--muted);font-size:12px}.expand-icon{margin-left:auto;font-size:24px}.club[open] .expand-icon{transform:rotate(45deg)}.club-teams{margin-top:18px;border-top:1px solid var(--line)}.club-team{display:flex;justify-content:space-between;align-items:center;padding:9px 0;border-bottom:1px solid var(--line)}.club-team:last-child{border-bottom:0}.favorite-star{border:0;background:transparent;color:var(--ink);font-size:30px;min-width:48px;min-height:48px;border-radius:var(--theme-radius-10px)}.favorite-star[aria-pressed=true]{color:var(--theme-text-962319);background:var(--theme-surface-f9e4e7)}.favorite-star:hover{background:var(--theme-surface-e8e8e8)}@media(max-width:650px){.club-list{grid-template-columns:1fr}.top-actions{gap:4px}.connection{font-size:9px}.top-actions .small{min-height:44px}}
/* Floating navigation with a raised central fixture action. */
nav{background:transparent;box-shadow:var(--theme-shadow-2);align-items:flex-end;gap:12px;padding:0;bottom:20px;color:var(--ink);isolation:isolate}
nav::before{content:'';position:absolute;inset:32px -14px -8px;background:var(--theme-surface-f5f5f4f5);border-top:1px solid var(--line);border-radius:var(--theme-radius-50-50-0-0-12px-12px-0-0);z-index:-1;box-shadow:var(--theme-shadow-3)}
nav a{min-width:76px;min-height:60px;padding:9px 10px 6px;border-radius:var(--theme-radius-0);font-size:11px;background:transparent;position:relative}
nav a span{font-size:22px;margin-bottom:5px}
nav a[aria-current]{background:transparent;color:var(--ink);font-weight:800}
nav a:not([data-page="fixture"])[aria-current]::after{content:'';position:absolute;width:18px;height:3px;border-radius:var(--theme-radius-3px);background:var(--accent);bottom:0;left:calc(50% - 9px)}
nav a[data-page="fixture"]{min-width:84px;padding:0 7px 6px;font-weight:800;font-size:12px}
nav a[data-page="fixture"] span{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 6px;border-radius:var(--theme-radius-50);background:var(--accent);color:var(--theme-on-accent);font-size:29px;border:5px solid var(--cream);box-shadow:var(--theme-shadow-4)}
nav a[data-page="fixture"][aria-current] span{background:var(--accent);box-shadow:var(--theme-shadow-5)}
@media(max-width:650px){nav{width:100%;gap:0;justify-content:space-around;bottom:0;border-radius:var(--theme-radius-0);padding:0 5px calc(7px + env(safe-area-inset-bottom))}nav::before{inset:32px 0 0;border-radius:var(--theme-radius-0)}nav a{min-width:0;flex:1;padding:9px 3px 6px}nav a[data-page="fixture"]{min-width:0;flex:1;padding:0 3px 6px}}

.favorite-filter{display:flex;gap:12px;align-items:center;justify-content:space-between;margin:0 0 18px;font-size:13px}.favorite-filter button{min-height:44px}

.filters{align-items:flex-end}.category-filter{border:0;padding:0;margin:0;min-width:0}.category-filter legend,.favorites-control>span{font-size:12px;padding:0;margin-bottom:5px;display:block}.category-toggles{display:flex;gap:5px;flex-wrap:wrap}.category-toggles button,.favorites-control button{min-height:46px;min-width:44px;border:1px solid var(--theme-border-b1b1b1);border-radius:var(--theme-radius-8px);background:var(--theme-surface-fffef8);color:var(--ink);padding:10px 12px;font-size:14px}.category-toggles button[aria-pressed=true],.favorites-control button[aria-pressed=true]{background:var(--theme-strong-surface);color:var(--theme-on-strong);border-color:var(--ink);font-weight:750}.favorites-control button:disabled{cursor:default;opacity:.55}@media(max-width:650px){.category-filter{order:3;width:100%}.favorites-control{margin-left:auto}.category-toggles button{flex:1;padding:10px 8px}}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.brand{line-height:35px}.page-title{font-size:34px;margin:20px 0 24px;letter-spacing:-1px}.hero{min-height:330px}.hero-copy{display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.hero h1{margin:0 0 28px}.fact{display:flex;align-items:center;gap:12px}.fact-symbol{font-size:26px}.fact strong{font-size:16px}.linkcard{min-height:150px}.linkcard h3{font-size:18px}.favorite-hint{display:flex;align-items:center;gap:8px;font-size:13px;margin:-10px 0 24px;color:var(--muted)}.favorite-hint span{font-size:24px}.match-sides{display:flex;align-items:center;gap:18px}.match-side{display:flex;align-items:center;gap:12px;flex:1}.match-side strong{font-size:16px}.match-crest{flex-shrink:0;display:grid;place-items:center;width:38px;height:44px;background:var(--c,var(--theme-surface-303236));color:var(--theme-text-fff);font-size:10px;font-weight:900;clip-path:polygon(0 0,100% 0,100% 75%,50% 100%,0 75%)}.match-sides .versus{margin:0;font-size:11px}.connection{font-size:16px}.top-actions>#help,.top-actions>#install{font-size:23px;width:44px;height:44px;padding:0}.match{grid-template-columns:76px 1fr auto}@media(max-width:650px){.hero{min-height:0}.hero-art{min-height:180px}.hero h1{font-size:48px;margin-bottom:24px}.hero-copy{padding:26px}.fact{flex-direction:column;align-items:flex-start;gap:6px}.fact strong{font-size:12px}.fact-symbol{font-size:22px}.linkcard{min-height:96px}.linkcard>div{display:flex;align-items:center;gap:16px}.linkcard .icon-box{margin:0;flex-shrink:0}.linkcard h3{font-size:16px}.match{grid-template-columns:54px 1fr;gap:12px}.match-sides{flex-direction:column;align-items:stretch;gap:8px}.match-sides .versus{display:none}.match-side{gap:9px}.match-side strong{font-size:14px}.match-crest{width:27px;height:31px;font-size:8px}.match .pill{grid-column:2;justify-self:start}.page-title{font-size:30px;margin:18px 0 22px}}

.top-actions>#help,.top-actions>#install{font-size:12px;width:auto;min-width:44px;padding:0 14px}

.club-logo,.match-crest{position:relative}.club-logo:has(img),.match-crest:has(img){clip-path:none;background:transparent}.club-logo img,.match-crest img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:var(--cream)}

nav a .nav-icon{display:flex;justify-content:center;align-items:center;height:26.4px}nav .nav-icon svg{display:block;width:22px;height:22px}

.brand-card{position:relative;text-decoration:none;min-height:130px}.external-arrow{position:absolute;right:16px;top:12px;font-size:20px}.brand-card:hover{border-color:var(--ink);box-shadow:var(--theme-shadow-6)}#brand-list>.featured-brand{margin-bottom:18px}

#agenda{margin-top:26px}.agenda-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.agenda-day h3{padding-bottom:16px;border-bottom:1px solid var(--line)}.agenda-day ol{list-style:none;padding:0;margin:0}.agenda-day li{display:flex;gap:13px;padding-top:20px}.agenda-symbol{font-size:25px;line-height:1.4;color:var(--theme-text-962319)}.agenda-day time{display:block;font-size:13px;color:var(--muted);margin-bottom:4px}.agenda-day strong,.agenda-day a{font-size:15px;line-height:1.4;display:block}.agenda-day a{text-underline-offset:4px}.fixture-day{font-size:20px;margin:28px 0 14px}.special-event{display:grid;grid-template-columns:44px 115px 1fr;align-items:center;gap:14px;margin-bottom:12px;background:var(--theme-surface-eee6d3);border-color:var(--theme-border-d7c9ac)}.event-symbol{font-size:29px;color:var(--theme-text-962319)}.special-event time{font-size:15px;font-weight:750}.special-event strong{font-size:16px}@media(max-width:650px){.agenda-grid{grid-template-columns:1fr}.agenda-day{padding:18px}.agenda-day li{padding-top:14px}.special-event{grid-template-columns:32px 1fr;gap:4px 12px}.event-symbol{grid-row:span 2}.special-event strong{grid-column:2;font-size:15px}.special-event time{font-size:13px}}

.fixture-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.fixture-heading button{min-height:44px}.current-event{position:relative;border-left:4px solid var(--theme-border-962319);scroll-margin-top:24px}.event-marker{position:absolute;top:-11px;right:18px;background:var(--theme-strong-surface);color:var(--theme-on-strong);padding:2px 9px;border-radius:var(--theme-radius-20px);font-size:10px;font-weight:750}.fixture-heading{position:sticky;top:0;background:var(--cream);z-index:3}.current-event{scroll-margin-top:110px}

.premium-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.premium-brand{min-height:220px;background:var(--theme-logo-surface-e7e7e7);border:1px solid var(--theme-border-c4c4c4);border-radius:var(--theme-radius-22px);padding:35px;place-items:center}.premium-brand strong{font-size:38px}.brand-image{display:block;max-width:100%;object-fit:contain;height:auto}.premium-brand .brand-image{width:100%;max-height:130px}.collaborator-brand{min-height:125px;padding:26px}.collaborator-brand .brand-image{width:100%;max-height:65px}.brand-group .section-head{margin:26px 0 15px}.brand-group h2{font-size:21px}.brand-group+.brand-group{margin-top:34px}.brand-card{place-content:normal;align-items:center;justify-items:center}@media(max-width:650px){.premium-grid{grid-template-columns:1fr;gap:14px}.premium-brand{min-height:180px;padding:28px}.collaborator-brand{min-height:105px;padding:18px}.collaborator-brand .brand-image{max-height:48px}.premium-brand .brand-image{max-height:110px}}

.club-logo{flex-shrink:0;font-size:13px}.club summary>span:nth-child(2){min-width:0}.club summary strong{overflow-wrap:anywhere}

.club-logo img,.match-crest img{background:transparent}.club-logo:has(img),.match-crest:has(img){font-size:0}

.venue-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.venue-toolbar select{font:inherit;min-height:44px;max-width:60%;padding:8px 12px;border:1px solid var(--theme-border-b1b1b1);border-radius:var(--theme-radius-9px);background:var(--theme-surface-fffef8);color:var(--ink)}.venue-zoom{display:flex;gap:5px}.venue-zoom button{width:44px;height:44px;border:1px solid var(--line);background:var(--theme-surface-fffef8);color:var(--ink);border-radius:var(--theme-radius-9px);font-size:22px}.venue-wrap{padding:5px}.venue-wrap>svg{display:block;width:100%;max-height:680px;aspect-ratio:1060/1040;touch-action:none;cursor:grab}.venue-wrap>svg:active{cursor:grabbing}.venue-court polygon{fill:#dedede;stroke:#303236;stroke-width:3;vector-effect:non-scaling-stroke}.venue-court.venue-special polygon{fill:#e8afb6}.venue-court[data-court=oreo] polygon{fill:#9bd4e8}.venue-court .court-marking{fill:none;stroke:#fffef8;stroke-width:2;pointer-events:none}.court-number-bg{fill:#303236;stroke:none;pointer-events:none}.venue-court .court-number{fill:#fffef8;font:800 23px system-ui;pointer-events:none}.venue-court.selected polygon,.venue-court:focus polygon{stroke:#962319;stroke-width:6;fill:#f2cbd0}.venue-court.selected .court-number-bg{fill:#962319}.venue-court:hover polygon{stroke:#962319}.venue-context{font:600 14px system-ui;fill:#64666a}.venue-poi{font:700 19px system-ui;fill:#303236}.venue-road{font:700 23px system-ui;fill:#595c60}.venue-wrap+.map-detail{margin-top:14px;min-height:0;padding:14px 18px;border-left:4px solid var(--theme-border-962319)}@media(max-width:650px){.venue-wrap>svg{max-height:none;height:65vh;min-height:430px}.venue-toolbar{gap:6px}.venue-toolbar select{max-width:calc(100% - 150px);font-size:14px}}

.brand{display:flex;align-items:center;gap:12px;padding-left:0;letter-spacing:0;line-height:1.2;min-width:0}.brand-logo{display:block;width:56px;height:56px;object-fit:contain;border-radius:var(--theme-radius-50);background:var(--theme-logo-surface-fff);flex-shrink:0}.brand-name{font-size:18px;font-weight:800;max-width:310px}.event-hero-art{display:flex;align-items:center;justify-content:center;background:var(--theme-logo-surface-fff);padding:24px}.event-hero-art img{display:block;max-width:100%;width:340px;height:auto;object-fit:contain}@media(max-width:650px){header{gap:12px;flex-wrap:wrap}.brand{gap:9px;flex:1;min-width:180px}.brand-logo{width:45px;height:45px}.brand-name{font-size:14px;max-width:200px}.event-hero-art{min-height:240px;padding:22px}.event-hero-art img{width:240px}.top-actions{margin-left:auto}.hero h1{font-size:44px}}

.hero h1.event-title{font-size:clamp(34px,4.3vw,56px);line-height:1.08;letter-spacing:-1.8px}@media(max-width:650px){.hero h1.event-title{font-size:36px;letter-spacing:-1px}}

body[data-page="info"] .brand-name{display:none}body[data-page="info"] .brand{flex:0;min-width:0}.fact-svg{display:flex;align-items:center;justify-content:center;flex-shrink:0}.fact-svg svg{width:27px;height:27px}.venue-location{display:flex;align-items:center;gap:10px;text-decoration:none;min-height:44px}.venue-location img{width:36px;height:42px;object-fit:contain;flex-shrink:0}.venue-location:hover strong{text-decoration:underline;text-underline-offset:4px}.location-arrow{font-size:14px;flex-shrink:0}.fixture-nav-icon svg{width:27px;height:27px;display:block}.icon-box svg{width:24px;height:24px}.facts{grid-template-columns:1fr 1.2fr 1fr}.venue-location strong{overflow-wrap:anywhere}@media(max-width:650px){.facts{grid-template-columns:1fr 1.15fr .85fr}.venue-location{flex-direction:column;align-items:flex-start;gap:6px}.venue-location img{width:24px;height:28px}.venue-location .location-arrow{display:none}.fact-svg svg{width:24px;height:24px}.fact strong{font-size:12px}}
/* Keep the selected location readable above the bottom navigation. */
body[data-page="mapa"] .map-detail{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(112px + env(safe-area-inset-bottom));width:min(700px,calc(100% - 40px));margin:0;min-height:0;padding:15px 18px;background:var(--theme-surface-fffef8);border:1px solid var(--theme-border-cccccc);border-left:4px solid var(--theme-border-962319);border-radius:var(--theme-radius-12px);box-shadow:var(--theme-shadow-7);font-size:14px;font-weight:650;z-index:4;overflow-wrap:anywhere;max-height:25vh;overflow-y:auto}
@media(max-width:650px){body[data-page="mapa"] .map-detail{bottom:calc(108px + env(safe-area-inset-bottom));width:calc(100% - 24px);padding:12px 14px;font-size:13px}}


@media(display-mode:standalone){#install,#help{display:none!important}}
.event-animation{position:fixed;right:16px;bottom:calc(112px + env(safe-area-inset-bottom));width:150px;height:125px;z-index:2;pointer-events:none;user-select:none;overflow:hidden;animation:micro-appearance 2.6s both}.event-animation *{pointer-events:none}.event-animation svg{display:block;width:100%;height:100%;overflow:visible}.bouncing-ball{animation:ball-bounce 2.4s both;transform-origin:0 0}.spinning-ball{animation:ball-spin 2.4s linear}.bounce-shadow{transform-origin:90px 134px;animation:shadow-bounce .6s ease-in-out 4}.shot-ball{animation:basket-shot 2.3s both}.hoop-net{transform-origin:125px 67px;animation:net-swish .55s ease-in-out 2;animation-delay:1.05s}.basket-spark{animation:shot-spark 2.4s both}
@keyframes micro-appearance{0%,100%{opacity:0}7%,89%{opacity:1}}
@keyframes ball-bounce{0%{transform:translate(90px,25px) scale(1)}22%{transform:translate(90px,111px) scale(1.15,.85)}42%{transform:translate(90px,42px) scale(.95,1.05)}61%{transform:translate(90px,111px) scale(1.12,.88)}77%{transform:translate(90px,65px)}90%{transform:translate(90px,111px) scale(1.08,.92)}100%{transform:translate(90px,88px)}}
@keyframes ball-spin{to{transform:rotate(240deg)}}
@keyframes shadow-bounce{50%{transform:scaleX(.55);opacity:.4}}
@keyframes basket-shot{0%{transform:translate(20px,120px) scale(.65)}25%{transform:translate(60px,27px) scale(.65) rotate(65deg)}45%{transform:translate(110px,28px) scale(.65) rotate(150deg)}57%{transform:translate(125px,65px) scale(.65) rotate(200deg)}78%,100%{transform:translate(125px,139px) scale(.65) rotate(270deg)}}
@keyframes net-swish{50%{transform:scaleY(1.25) skewX(8deg)}}
@keyframes shot-spark{0%,48%,85%,100%{opacity:0}55%,70%{opacity:1}}
@media(max-width:650px){.event-animation{width:120px;height:100px;right:8px}}
@media(prefers-reduced-motion:reduce){.event-animation{display:none!important}.event-animation *{animation:none!important}}

.brand-card{display:flex;flex-direction:column;justify-content:center;gap:16px}.brand-card .brand-label{font-size:14px;line-height:1.35;text-align:center}.premium-brand .brand-label{font-size:17px}.brand-image{object-fit:contain;flex:0 1 auto}.premium-brand .brand-image{height:125px}.collaborator-brand .brand-image{height:65px}@media(max-width:650px){.premium-brand .brand-image{height:105px}.collaborator-brand .brand-image{height:52px}.brand-card .brand-label{font-size:12px}.premium-brand .brand-label{font-size:15px}}

.brand-card{gap:16px}.brand-visual{display:flex;align-items:center;justify-content:center;width:100%;height:82px}.premium-brand .brand-visual{height:140px}.brand-visual .brand-image{display:block;width:100%;height:100%;max-width:100%;max-height:100%;margin:0;object-fit:contain;object-position:center;flex:0 1 auto}.brand-card .brand-label{min-height:2.7em;display:flex;align-items:center;justify-content:center}.collaborator-brand{min-height:175px}.premium-brand{min-height:250px}@media(max-width:650px){.brand-visual{height:70px}.premium-brand .brand-visual{height:120px}.collaborator-brand{min-height:155px}.premium-brand{min-height:220px}}

.mascot-figure{display:block;width:100%;height:100%;object-fit:contain;padding:10px 14px;transform-origin:50% 85%;user-select:none}.mascot-dribble{animation:mascot-dribble 2.5s ease-in-out both}.mascot-spin{animation:mascot-balance 2.5s ease-in-out both}.mascot-cheer{animation:mascot-celebrate 2.5s ease-in-out both}
@keyframes mascot-dribble{0%{transform:translateX(-14px) rotate(-7deg);opacity:0}18%,55%,85%{transform:translateY(0) rotate(-3deg);opacity:1}35%,70%{transform:translateY(-9px) rotate(3deg)}100%{transform:translateX(12px);opacity:0}}
@keyframes mascot-balance{0%,100%{transform:translateY(12px) scale(.85);opacity:0}20%,80%{transform:translateY(0) rotate(-4deg);opacity:1}45%,65%{transform:translateY(-5px) rotate(4deg);opacity:1}}
@keyframes mascot-celebrate{0%,100%{transform:translateY(14px) scale(.85);opacity:0}20%,50%,80%{transform:translateY(0) scale(1);opacity:1}35%,65%{transform:translateY(-12px) rotate(-3deg);opacity:1}}

[data-mascot-trigger]{cursor:pointer}[data-mascot-trigger]:focus-visible{outline:3px solid var(--accent);outline-offset:5px}
.mascot-shoot{animation:mascot-shot 2.5s ease-in-out both}.mascot-crossover{animation:mascot-cross 2.5s ease-in-out both}.mascot-dunk{animation:mascot-dunk 2.5s ease-in-out both}.mascot-point{animation:mascot-point 2.5s ease-in-out both}.mascot-back{animation:mascot-turn 2.5s ease-in-out both}.mascot-sit{animation:mascot-rest 2.5s ease-in-out both}.mascot-defend{animation:mascot-defense 2.5s ease-in-out both}
@keyframes mascot-shot{0%,100%{transform:translateY(12px) scale(.9);opacity:0}20%,75%{transform:translateY(0);opacity:1}45%,60%{transform:translateY(-11px) rotate(-3deg);opacity:1}}
@keyframes mascot-cross{0%,100%{transform:scale(.9);opacity:0}20%,80%{transform:translateX(-9px) rotate(-4deg);opacity:1}40%,65%{transform:translateX(9px) rotate(4deg);opacity:1}}
@keyframes mascot-dunk{0%{transform:translate(-12px,15px) scale(.85);opacity:0}30%,60%{transform:translate(0,-10px) rotate(-5deg);opacity:1}80%{transform:translate(8px,0) rotate(4deg);opacity:1}100%{transform:translateY(14px);opacity:0}}
@keyframes mascot-point{0%,100%{transform:scale(.8);opacity:0}25%,75%{transform:scale(1);opacity:1}45%,60%{transform:scale(1.06) rotate(-3deg);opacity:1}}
@keyframes mascot-turn{0%{transform:translateX(12px) rotate(8deg);opacity:0}25%,75%{transform:rotate(-4deg);opacity:1}50%{transform:rotate(4deg);opacity:1}100%{transform:translateX(-12px);opacity:0}}
@keyframes mascot-rest{0%,100%{transform:translateY(14px);opacity:0}25%,75%{transform:translateY(0) rotate(-3deg);opacity:1}50%{transform:translateY(-3px) rotate(3deg);opacity:1}}
@keyframes mascot-defense{0%,100%{transform:scale(.9);opacity:0}20%,80%{transform:translateX(8px);opacity:1}40%,65%{transform:translateX(-8px) rotate(-3deg);opacity:1}}

.activity-icon{display:inline-block;width:22px;height:22px;vertical-align:middle;flex-shrink:0}.agenda-symbol .activity-icon,.event-symbol .activity-icon{display:block;width:24px;height:24px}

/* Route-aware header, with a random decorative mascot. */
body[data-page="info"] header{display:none}body[data-page="info"] main{margin-top:24px}
header{flex-wrap:nowrap;gap:16px}.brand{flex:1;min-width:0}.brand-name{display:block;max-width:none;white-space:nowrap;font-size:clamp(12px,3.2vw,22px)}.top-actions{flex-shrink:0;gap:10px}.header-mascots{display:block;width:56px;height:72px;flex-shrink:0}.header-mascot{display:none;width:56px;height:72px;overflow:visible}body:not([data-header-mascot="spin"]) .header-dribble,body[data-header-mascot="spin"] .header-spin{display:block}.brand-mascot-ball{transform-origin:44px 289px;animation:header-ball-dribble .7s ease-in infinite alternate}.header-spinning-ball{transform-origin:184px 46px;animation:header-ball-spin 1.8s linear infinite}@keyframes header-ball-dribble{0%{transform:translateY(0)}90%{transform:translateY(80px) scaleY(1)}100%{transform:translateY(85px) scaleY(.9)}}@keyframes header-ball-spin{to{transform:rotate(360deg)}}@media(max-width:650px){header{padding:16px 20px;flex-wrap:nowrap;gap:8px}.brand{min-width:0}.brand-name{max-width:none}.header-mascots,.header-mascot{width:45px;height:58px}.top-actions{gap:4px}}@media(prefers-reduced-motion:reduce){.brand-mascot-ball,.header-spinning-ball{animation:none}}

/* Preserve the event logo alongside the single-line name on narrow screens. */
@media(max-width:650px){header .brand{gap:7px}header .brand-logo{width:34px;height:34px}header .brand-name{font-size:clamp(10px,2.8vw,18px)}header .header-mascots,header .header-mascot{width:36px;height:50px}}

.venue-tabs{display:flex;gap:8px;border-bottom:1px solid var(--line);margin:20px 0}.venue-tabs [role="tab"]{padding:12px 16px;text-decoration:none;border-bottom:3px solid transparent;font-weight:700}.venue-tabs [aria-selected="true"]{color:var(--accent);border-color:var(--accent)}.venue-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:20px 0}.venue-heading .sub{margin:6px 0}.venue-directions{white-space:nowrap;text-decoration:none}.venue-list-title{margin:22px 0 12px}.venue-court-list{display:flex;flex-wrap:wrap;gap:10px;padding-bottom:20px}.venue-court-list a{text-decoration:none;border:1px solid var(--line)}.venue-court-list [aria-current="location"]{background:var(--accent);color:#fff;border-color:var(--accent)}@media(max-width:650px){.venue-tabs [role="tab"]{flex:1;padding:12px 8px;font-size:13px;text-align:center}.venue-heading{align-items:flex-start;flex-direction:column}.venue-heading h2{font-size:22px}.venue-toolbar{flex-wrap:wrap}}

/* Two filter rows on mobile: club + favorites, then all four categories. */
@media(max-width:650px){body[data-page="fixture"] .filters{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 10px;align-items:end}body[data-page="fixture"] .filters>label{grid-column:1;grid-row:1;min-width:0}body[data-page="fixture"] .filters select{width:100%;min-width:0;height:44px;padding:8px;font-size:13px;text-overflow:ellipsis}body[data-page="fixture"] .favorites-control{grid-column:2;grid-row:1;margin:0}body[data-page="fixture"] .favorites-control button{min-height:44px;padding:8px 10px;font-size:13px;white-space:nowrap}body[data-page="fixture"] .category-filter{grid-column:1 / -1;grid-row:2;width:100%;min-width:0}body[data-page="fixture"] .category-toggles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}body[data-page="fixture"] .category-toggles button{min-width:0;min-height:44px;padding:8px;font-size:13px}}

/* Keep venue directions beside the title at every viewport width. */
.venue-heading{flex-direction:row;flex-wrap:nowrap;align-items:center}.venue-heading>div{flex:1;min-width:0}.venue-heading h2{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.venue-directions{flex:none;align-self:flex-start;white-space:nowrap}@media(max-width:650px){.venue-heading{flex-direction:row;align-items:flex-start;gap:8px}.venue-heading h2{font-size:clamp(14px,3.8vw,22px);line-height:1.4}.venue-directions{display:inline-flex;align-items:center;min-height:32px;padding:5px 8px;font-size:11px;line-height:1.4}.venue-heading .sub{font-size:12px;margin-bottom:0}}

.home-channels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0 26px}.home-channel{display:flex;align-items:center;gap:14px;min-height:86px;height:100%;padding:16px 20px;border:1px solid var(--line);border-radius:var(--theme-radius-14px);background:var(--theme-surface-fffef8);text-decoration:none}.home-channel>svg{width:28px;height:28px;color:var(--accent);flex:none}.home-channel>span:nth-child(2){min-width:0;flex:1}.home-channel strong,.home-channel small{display:block}.home-channel small{font-size:12px;color:var(--muted);overflow-wrap:anywhere}.home-channel-inactive{background:var(--theme-surface-f5f5f4c9)}.home-channel:focus-visible{outline-offset:3px}@media(max-width:650px){.home-channels{gap:8px;margin:14px 0 20px}.home-channel{padding:12px 10px;gap:8px;min-height:78px}.home-channel strong{font-size:13px}.home-channel small{font-size:10px}.home-channel>svg{width:21px;height:21px}}

.instagram-handle{font-size:14px;overflow-wrap:anywhere}@media(max-width:650px){.instagram-handle{font-size:11px}}

.external-link-help:not([hidden]){display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:12px 0;padding:12px;border:1px solid var(--line);border-radius:var(--theme-radius-12px);background:var(--theme-surface-fffef8);font-size:12px}.external-link-help>a{text-decoration:none}.external-link-help input{width:100%;min-width:0}
.notification-preferences{margin:24px 0;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.notification-preferences h2{font-size:18px;margin:0 0 6px}.notification-preferences p{font-size:14px;color:var(--theme-text-686b6e);margin:0;max-width:600px}.push-options{display:flex;gap:18px;flex-wrap:wrap;width:100%}.push-options label{display:flex;gap:7px;align-items:center;font-size:14px}.notification-preferences #push-status:empty{display:none}.notification-target{outline:2px solid var(--theme-border-de7048);outline-offset:4px;scroll-margin-top:100px}

.venue-wrap{background:transparent}.venue-street-labels .venue-road{font-size:28px}

.team-fixture-activity{border-left:4px solid var(--theme-border-c12e21)}.team-activity-content{display:grid;gap:7px;min-width:0}.team-activity-content>.match-side{justify-content:flex-start}.team-activity-content small{overflow-wrap:anywhere}.team-fixture-activity .time{white-space:normal}

.venue-wrap+.map-detail{background:var(--theme-surface-303236);color:var(--theme-text-fff)}.venue-wrap+.map-detail a{color:var(--theme-text-fff);text-decoration:underline}.venue-service.selected>circle{stroke:#fff;stroke-width:6}

body[data-page="mapa"] .map-detail{position:static;transform:none;width:auto;margin:14px 0 0;background:var(--theme-surface-303236);color:var(--theme-text-fff)}body[data-page="mapa"] .map-detail a{color:var(--theme-text-fff)}


body[data-page="info"] :is(.fact-svg,.icon-box,.home-channel)>svg{color:var(--accent)}


.venue-court-list a{min-height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;font-size:13px}.venue-tabs [role="tab"]{min-height:44px}.venue-service:focus-visible>circle{stroke:#303236;stroke-width:7}

.team-search-controls{display:flex;gap:10px;margin:20px 0 12px}.team-search-controls input{flex:1;min-width:0;min-height:44px;font:inherit;font-size:16px;padding:10px 12px;border:1px solid var(--theme-border-b1b1b1);border-radius:var(--theme-radius-9px);background:var(--theme-surface-fffef8);color:var(--ink)}.team-search-controls button{min-height:44px;white-space:nowrap}.team-search-controls button[aria-pressed=true]{background:var(--theme-strong-surface);color:var(--theme-text-fff)}.fixture-day{text-transform:none;font-size:21px;line-height:1.4}.day-filter select{min-width:120px}@media(max-width:650px){body[data-page="fixture"] .filters{grid-template-columns:minmax(0,1fr) minmax(80px,.65fr) auto;gap:8px}body[data-page="fixture"] .filters>.day-filter{grid-column:2;grid-row:1}body[data-page="fixture"] .favorites-control{grid-column:3}body[data-page="fixture"] .filters select{font-size:16px}.day-filter select{min-width:0}.fixture-day{font-size:19px}.match .time small{font-size:12px}.home-channel small{font-size:12px}.club-team span{font-size:14px}.team-search-controls{gap:8px}.team-search-controls .small{font-size:13px}}

.fixture-day::first-letter{text-transform:uppercase}

/* Keep the supplied EDAL plan visible beneath configurable court markers. */
.venue-edal-map .venue-court polygon{fill-opacity:.18}.venue-edal-map .venue-court.selected polygon,.venue-edal-map .venue-court:focus polygon{fill-opacity:.4}


/* Visible invitation above the navigation, without a modal or dimmed backdrop. */

.home-sponsors-link{display:flex;align-items:center;gap:16px;min-height:88px;margin-top:28px;padding:20px 24px;border-radius:var(--theme-radius-14px);background:var(--theme-strong-surface);color:var(--theme-text-fff);text-decoration:none;font-size:18px;font-weight:750;line-height:1.35}.home-sponsors-icon{display:grid;place-items:center;flex:none;width:46px;height:46px;border-radius:var(--theme-radius-50);background:var(--accent);color:var(--theme-on-accent)}.home-sponsors-icon svg{width:28px;height:28px}.home-sponsors-arrow{margin-left:auto;font-size:26px}.home-sponsors-link:hover{background:var(--theme-surface-242629)}.home-sponsors-link:focus-visible{outline-offset:4px}@media(max-width:650px){.home-sponsors-link{padding:18px 16px;font-size:16px;gap:12px}.home-sponsors-icon{width:42px;height:42px}}

.notification-invitation{position:fixed;z-index:19;right:16px;bottom:calc(112px + env(safe-area-inset-bottom));width:min(460px,calc(100% - 32px));display:flex;align-items:center;gap:12px;padding:14px 12px 14px 18px;border-radius:var(--theme-radius-16px);border:1px solid var(--line);border-left:4px solid var(--accent);background:var(--theme-surface-fffef8);box-shadow:var(--theme-shadow-8)}.notification-invitation>div{flex:1;min-width:0}.notification-invitation strong{font-size:14px}.notification-invitation p{font-size:12px;margin:4px 0 0;color:var(--muted)}.notification-invitation .primary{min-height:44px;padding:10px 12px;font-size:13px;white-space:nowrap}.notification-invitation-close{width:44px;height:44px;flex:none;background:transparent;border:0;font-size:24px;color:var(--ink)}#notification-dialog{width:min(520px,calc(100% - 24px));max-height:calc(100dvh - 32px);overflow:auto}#notification-dialog .notification-preferences{margin:0;padding:0;border:0;box-shadow:var(--theme-shadow-9);background:transparent}#notification-dialog form{margin-top:18px}@media(max-width:650px){.notification-invitation{bottom:calc(84px + env(safe-area-inset-bottom));right:12px;width:calc(100% - 24px);gap:8px;padding:12px}.notification-invitation p{display:none}}

.notification-invitation{left:50%;right:auto;transform:translateX(-50%);width:min(520px,calc(100% - 24px));border-left:0;border-top:4px solid var(--accent);box-shadow:var(--theme-shadow-10)}.notification-invitation strong{font-size:16px}.notification-invitation .primary{min-height:48px}#notification-dialog::backdrop{background:var(--theme-surface-10111280)}

.push-switch{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:64px;margin-top:18px;padding:10px 0;font-weight:700;cursor:pointer}.push-switch input{appearance:none;-webkit-appearance:none;position:relative;flex:none;width:54px;height:32px;margin:0;border:2px solid var(--theme-border-737675);border-radius:var(--theme-radius-18px);background:var(--theme-surface-737675);cursor:pointer}.push-switch input::before{content:"";position:absolute;width:24px;height:24px;left:2px;top:2px;border-radius:var(--theme-radius-50);background:var(--theme-surface-fff);box-shadow:var(--theme-shadow-11)}.push-switch input:checked{background:var(--accent);border-color:var(--accent)}.push-switch input:checked::before{transform:translateX(22px)}.push-switch input:disabled{opacity:.6;cursor:wait}.push-switch input:focus-visible{outline:3px solid var(--accent);outline-offset:4px}@media(forced-colors:active){.push-switch input{appearance:auto;-webkit-appearance:auto}.push-switch input::before{display:none}}

.event-hero-art.has-additional-logo{gap:20px;flex-wrap:nowrap}.event-hero-art.has-additional-logo img{width:calc((100% - 20px)/2);max-width:220px;min-width:0;max-height:300px;object-fit:contain;flex:0 1 auto}@media(max-width:650px){.event-hero-art.has-additional-logo{gap:16px}.event-hero-art.has-additional-logo img{width:calc((100% - 16px)/2)}}
@media(max-width:650px){.event-hero-art{min-height:210px;padding:16px 22px}}


.home-contacts{margin:28px 0}.home-contacts h2{font-size:24px;margin:0 0 14px}.home-contacts ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:12px}.home-contact{display:flex;align-items:center;gap:14px;padding:18px 20px;min-height:64px;border:1px solid var(--line);border-radius:var(--theme-radius-16px);background:var(--theme-surface-fff);color:var(--ink);text-decoration:none;overflow-wrap:anywhere}.home-contact svg{width:24px;height:24px;flex-shrink:0;color:var(--accent)}.home-contact>span{margin-left:auto}.home-contact strong{min-width:0}a.home-contact:hover{border-color:var(--accent)}
.home-contact svg.contact-whatsapp-icon{width:20px;height:20px;color:var(--accent)}

/* Venue drawings and configured brand assets are independent of the active theme. */
#venue-svg{--ink:#303236;--cream:#f5f5f4;--accent:#C12E21;--line:#dcdcdc;--muted:#686b70}

:root:not([data-theme="default"]) .venue-wrap{background:#f5f5f4}
