.theme-toggle{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;gap:8px;border:1px solid #c9d9e7;background:#f2f7fb;border-radius:30px;padding:11px 15px;font-size:12px;font-weight:750;color:#163f5e;cursor:pointer}.theme-toggle:focus-visible{outline:3px solid #26bdd7;outline-offset:3px}.top{gap:22px}.payment-box{padding:28px;margin:28px 0;border-radius:16px;background:#eaf6fb;border:1px solid #acd7e8;color:#123b59}.payment-box h3{margin:0 0 16px;font-size:23px}.payment-box p{color:#365c74;line-height:1.7}.payment-box dl{margin:20px 0}.payment-box dt{font-size:11px;text-transform:uppercase;letter-spacing:1px;color:#436c84;margin-top:18px}.payment-box dd{margin:5px 0 0;font-size:15px;font-weight:750;overflow-wrap:anywhere}.payment-box .iban-text{font-family:ui-monospace,monospace;font-size:clamp(15px,2vw,22px);letter-spacing:.6px;word-break:break-all}.copy-iban{border:1px solid #79bed6;background:#fff;color:#135a7a;padding:10px 14px;border-radius:8px;font-weight:700;margin-top:14px;cursor:pointer}.payment-reference{padding:15px 18px;border:1px dashed #79b5cf;border-radius:10px;overflow-wrap:anywhere;font-size:14px;background:#ffffff80;color:#123e5d}.payment-box small{display:block;line-height:1.7;color:#537188;margin-top:18px}.form-fee-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0}.form-fee-grid article{padding:18px;border:1px solid #b8d8e7;border-radius:12px;background:#fff}.form-fee-grid strong{display:block;font-size:25px;color:#0a618b}.form-fee-grid small{font-size:11px;line-height:1.6}.edition-atmosphere{position:absolute;inset:0;z-index:1;pointer-events:none;background:radial-gradient(ellipse at 78% 30%,#68e2ff12,transparent 50%);overflow:hidden}.edition-atmosphere:before,.edition-atmosphere:after{content:'';position:absolute;right:-12%;bottom:-28%;width:80%;height:64%;border:2px solid #9aefff30;border-radius:50%;transform:rotate(-18deg);animation:festival-wave 9s ease-in-out infinite alternate}.edition-atmosphere:after{bottom:-19%;right:-5%;animation-delay:-4s}.edition-floating{position:absolute;right:35px;bottom:35px;z-index:2;display:grid;gap:12px;text-align:right}.edition-floating span{backdrop-filter:blur(10px);background:#042742a8;color:#fff;border:1px solid #a7edff50;border-radius:100px;padding:12px 20px;font-size:13px;font-weight:700}.edition-hero-content{z-index:2}.edition-hero-content h1{animation:festival-enter .8s ease both}.edition-hero-content .season-pill{animation:festival-enter .6s ease both}.edition-section,.edition-info-cards article,.fee{transition:opacity .65s ease,transform .65s ease}.reveal-pending{opacity:0;transform:translateY(20px)}.fee{position:relative;overflow:hidden}.fee:after{content:'';position:absolute;width:90px;height:90px;border:1px solid #4bb4d51a;border-radius:50%;right:-25px;top:-25px;pointer-events:none}.fee:hover{transform:translateY(-5px)}.edition-jumps a:hover{color:#05a7c2}.admin-entries{padding-top:45px;padding-bottom:60px}.admin-entries h1{font-size:42px;margin:25px 0 15px}.admin-entries>.theme-toggle{float:right}.admin-note{padding:18px 22px;background:#e8f6fc;border:1px solid #b6dfef;border-radius:12px;line-height:1.8}.admin-filters,.admin-toolbar{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin:25px 0}.admin-filters select{display:block;padding:13px;border:1px solid #c4d6e3;border-radius:8px;font:inherit;max-width:400px;margin-top:8px}.admin-toolbar .btn{font-size:12px;gap:8px;padding:13px 16px}.admin-toolbar button:disabled{opacity:.45;cursor:not-allowed}.admin-table-scroll{overflow:auto;border:1px solid #cfdeea;border-radius:12px;background:#fff}.admin-table-scroll table{width:100%;border-collapse:collapse;font-size:12px;min-width:1200px}.admin-table-scroll th,.admin-table-scroll td{padding:15px 12px;text-align:left;vertical-align:top;border-bottom:1px solid #dce7ef;line-height:1.8}.admin-table-scroll th{background:#eaf3fa}.admin-table-scroll input[type=checkbox]{width:18px;height:18px;accent-color:#0874b9}.admin-entries #copy-fallback{width:100%;min-height:180px;padding:16px;font:13px monospace}.registration-submit-status{padding:18px;border:1px solid #b7d5e4;border-radius:10px;margin-top:18px}
@keyframes festival-wave{from{transform:translateX(0) rotate(-18deg)}to{transform:translateX(-5%) translateY(-6%) rotate(-12deg)}}@keyframes festival-enter{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}
html[data-theme=dark]{color-scheme:dark;--navy:#e5f2ff;--muted:#abc1d4;--surface:#10253b;--line:#29465f;--text:#e5f2ff;--accent:#69d9f3}
html[data-theme=dark] body{background:#081625;color:#e5f2ff}
html[data-theme=dark] :is(header,footer,nav,.dropdown-links,.categories,.quick-card,.card,.empty,.search-item,.story-card,.directory-card,.sponsor-feature,.sponsor-card,.volunteer-form,.volunteer-role-grid article,.staff-card,.season-card,.edition-info-cards article,.fee,.edition-side,.registration-shell form,details,.document,.form-fee-grid article,.admin-table-scroll){background:#10253b;color:#e5f2ff;border-color:#29465f}
html[data-theme=dark] :is(h1,h2,h3,h4,.brand,.section-head,.season-card-body h3,.season-card-bottom strong,.edition-section h2,.side-price,.registration-fields label,.relay-field,.document-button,.registration-summary dt){color:#e5f2ff}
html[data-theme=dark] :is(p,small,.season-card-body p,.season-caption,.edition-section p,.edition-side p,.edition-info-cards small,.registration-intro>p:not(.eyebrow),.registration-demo,.registration-shell fieldset>p,.registration-finish p,.document-button small,.consent-instruction,.fee small,.payment-box p,.payment-box small,.payment-box dt){color:#adc3d7}
html[data-theme=dark] :is(.eyebrow,.season-card-bottom a,.edition-organizer span,.edition-jumps a,.edition-notify,.document-status,.form-fee-grid strong){color:#75d8ef}
html[data-theme=dark] :is(.searchbox,input,select,textarea,.rank-filters input,.rank-filters select,.rank-filters button,.volunteer-form input:not([type=checkbox]),.volunteer-form select,.volunteer-form textarea,.registration-shell input:not([type=checkbox]),.registration-shell select){background:#091c2e;color:#e5f2ff;border-color:#365771}
html[data-theme=dark] :is(.page-intro,.project-band,.story-closing,.sponsor-demo-note,.sponsor-invitation,.sponsor-dialog-note,.volunteer-hero,.rank-notice,.edition-note,.payment-box,.admin-note,.edition-organizer,.consent-scroll){background:#102e46;color:#d1e9fa!important;border-color:#3a6680}
html[data-theme=dark] :is(dialog,.consent-dialog,#notify-dialog,#sponsor-dialog){background:#10253b;color:#e5f2ff;border-color:#365771}
html[data-theme=dark] :is(.document-button,.theme-toggle,.copy-iban){background:#17364e;color:#d5f4ff;border-color:#35617a}
html[data-theme=dark] :is(.rank-table th,.admin-table-scroll th){background:#19374f;color:#d5edff}
html[data-theme=dark] :is(.rank-table tbody tr:hover,.admin-table-scroll tr:hover){background:#16334c}
html[data-theme=dark] :is(.edition-doc,.edition-jumps,.edition-section,.registration-summary dt,.registration-summary dd,.registration-shell #competition-registration>fieldset,.form-check,.admin-table-scroll td,.admin-table-scroll th,.season-card-bottom,.registration-shell .athlete-status){border-color:#29465f}
html[data-theme=dark] .navband :is(nav,.nav-dropdown,.dropdown-links){background:#10253b;color:#e5f2ff}
html[data-theme=dark] .navband .dropdown-links a{color:#d9edff}
html[data-theme=dark] .navband .dropdown-links a:hover{background:#1c415e}
html[data-theme=dark] .participation-alert{background:#3b2c11;color:#ffe6a8;border-color:#8e6924}
html[data-theme=dark] .document-button.confirmed{background:#123c35;border-color:#397e69}
html[data-theme=dark] .confirmed .document-status{color:#9ce7c6}
html[data-theme=dark] .payment-reference{background:#091e30;color:#e1f4ff;border-color:#4e819c}
html[data-theme=dark] .fee:first-child{background:#07556f}
html[data-theme=dark] .festival-brand{background:#f3faff;border-radius:14px;padding:0 6px}
html[data-theme=dark] :is(.tag,.tag.gray,.quick-icon,.tabs button,.blog-number,.journal-image,.sponsor-feature-brand,.sponsor-support b){background:#1b3c55;color:#d5eeff}
html[data-theme=dark] .tabs button.selected{background:#1574a9;color:#fff}
html[data-theme=dark] .btn{background:#1479ba;color:#fff}
html[data-theme=dark] .edition-hero .btn{background:#e9f8ff;color:#0a4665}
html[data-theme=dark] .registration-shell .medical-deadline{background:#10354a;color:#b9eaff}
html[data-theme=dark] :is(#events-error,#documents-error,#registration-error){color:#ffacac}
@media(max-width:900px){.top{gap:13px}.theme-toggle{font-size:11px;padding:10px}.edition-floating{right:22px;bottom:22px}.edition-floating span{font-size:11px}.form-fee-grid{grid-template-columns:1fr}.admin-filters{align-items:stretch}.admin-filters select{max-width:100%}}
@media(max-width:600px){.top .theme-toggle{order:2}.top .menu{order:3}.edition-floating{position:relative;right:auto;bottom:auto;z-index:2;padding:0 25px 25px;text-align:left;display:flex;flex-wrap:wrap;gap:7px}.edition-hero-content{padding-bottom:25px}.payment-box{padding:22px 18px}.admin-entries h1{font-size:31px}.admin-entries>.theme-toggle{float:none;margin-top:15px}}
@media(prefers-reduced-motion:reduce){.edition-atmosphere:before,.edition-atmosphere:after,.edition-hero-content h1,.edition-hero-content .season-pill{animation:none!important}.edition-section,.edition-info-cards article,.fee{transition:none!important}.reveal-pending{opacity:1;transform:none}.fee:hover{transform:none}}
html[data-theme=dark] .card.dark{background:#173b56;color:#e5f2ff}html[data-theme=dark] .registration-shell button:disabled{background:#263b4e;color:#9db3c5}html[data-theme=dark] .consent-head>button{background:#21435c;color:#e5f2ff}html[data-theme=dark] .rank-table{color:#dfedfa}
.edition-section{scroll-margin-top:calc(var(--site-header-height,240px) + 20px)}html[data-theme=dark] .header-shortcut,html[data-theme=dark] .utility a{color:#c9e4f5}.retry-mail{padding:6px 9px;margin-top:8px;border:1px solid #aac5d7;background:#e9f4fa;color:#174b6b;border-radius:6px;font:inherit;cursor:pointer}.retry-mail:disabled{opacity:.5;cursor:not-allowed}html[data-theme=dark] .retry-mail{background:#1b3b53;color:#d9f2ff;border-color:#3c6581}
html[data-theme=dark] .categories :is(a,summary,span,small){color:#c4ddef}html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#92aec3;opacity:1}html[data-theme=dark] .utility span{color:#abc3d6}
/* Priority navigation: visible text and arrows in dark mode, including mobile. */
html[data-theme=dark] .navband .nav-dropdown>summary{color:#f4fbff;font-weight:800}
html[data-theme=dark] .navband .nav-dropdown>summary:after{color:#79e6ff;font-weight:800}
html[data-theme=dark] .navband .nav-dropdown[open]>summary,html[data-theme=dark] .navband .nav-dropdown>summary:hover,html[data-theme=dark] .navband .nav-dropdown>summary.active{color:#fff;background:#214e69}
html[data-theme=dark] .navband .dropdown-links a{color:#b5eeff;font-weight:750}
html[data-theme=dark] .navband nav>a.active,html[data-theme=dark] .navband nav>a:hover{background:#21435c;color:#fff}
html[data-theme=dark] .header-shortcut,html[data-theme=dark] .header-shortcut span{color:#8ce7ff;font-weight:800}
.rank-section{padding-top:42px}
@media(max-width:850px){
 .navband .nav-dropdown>summary{color:#075780;background:#edf7ff;border-left:3px solid #1689c5;border-radius:8px;margin:5px 0;padding:15px 16px;font-size:15px;font-weight:800}
 .navband .nav-dropdown>summary:after{color:#087fb6;font-weight:800;font-size:18px}
 .navband .dropdown-links a{font-weight:750;color:#075780}
 html[data-theme=dark] .navband .nav-dropdown>summary{background:#173d56;color:#f4fbff;border-left-color:#67ddfa}
 html[data-theme=dark] .navband .nav-dropdown[open]>summary,html[data-theme=dark] .navband .nav-dropdown>summary:hover,html[data-theme=dark] .navband .nav-dropdown>summary.active{color:#fff;background:#235873;border-left-color:#99edff}
 html[data-theme=dark] .navband .dropdown-links{background:#0e2a40}
 html[data-theme=dark] .navband .dropdown-links a{color:#b5eeff;font-size:14px;font-weight:750;padding:13px 26px}
 .rank-section{padding-top:32px}
}

/* Regulation annex: readable within the consent scroll region. */
.regulation-table-wrap{max-width:100%;overflow-x:auto;margin:20px 0}.consent-scroll .regulation-table{width:100%;border-collapse:collapse;font-size:12px;line-height:1.6}.regulation-table th,.regulation-table td{border:1px solid #6c91a380;padding:9px;text-align:left;vertical-align:top}.regulation-table th{font-weight:800}.regulation-table td:first-child{white-space:nowrap}

/* Keep the full mobile navigation reachable even with browser toolbars open. */
@media(max-width:850px){
 body>header{position:relative!important;top:auto!important;overflow:visible!important}
 .navband nav.open{position:relative;top:auto;display:flex;flex-direction:column;flex-wrap:nowrap;max-height:55vh;max-height:55dvh;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;padding-bottom:calc(24px + env(safe-area-inset-bottom,0px))}
 .navband nav.open>a,.navband nav.open>.nav-dropdown{flex:0 0 auto;width:100%}
 .navband nav.open .dropdown-links{position:static;min-width:0;box-shadow:none}
}

/* Volunteer form: readable labels and controls on dark backgrounds. */
html[data-theme=dark] #volunteer-form,
html[data-theme=dark] #volunteer-form :is(label,legend,strong){color:#e5f2ff}
html[data-theme=dark] #volunteer-form :is(p,small,.volunteer-privacy p){color:#b7cddd}
html[data-theme=dark] :is(#volunteer-form a,.volunteer-apply a){color:#8de3f5}
html[data-theme=dark] #volunteer-form :is(input:not([type=checkbox]),textarea,select,option){color:#e5f2ff;background:#091c2e;border-color:#50748f;-webkit-text-fill-color:#e5f2ff;opacity:1}
html[data-theme=dark] #volunteer-form :is(input,textarea)::placeholder{color:#a8bfd2;opacity:1;-webkit-text-fill-color:#a8bfd2}
html[data-theme=dark] #volunteer-form input:-webkit-autofill{-webkit-text-fill-color:#e5f2ff;-webkit-box-shadow:0 0 0 1000px #091c2e inset;caret-color:#e5f2ff}
html[data-theme=dark] #volunteer-form :is(input,select,textarea,button,a):focus-visible{outline:2px solid #75d8ef;outline-offset:3px}
html[data-theme=dark] #volunteer-form #volunteer-status{color:#a5efd2}
html[data-theme=dark] #volunteer-form #volunteer-status[data-error=true]{color:#ffb4bc}

/* Edition content stays visible when following program anchors. */
.edition-main .edition-section{opacity:1!important;transform:none!important}
