/* WODEX arena: scoped, CSS-only surfaces; no polling or input timing changes. */
:where(#wh26-app,#wh26-attendance,.review-modal,.reheat-overlay,.athlete-report-modal,.live-heat-modal,.live-heats-page-modal,.rox-photo-stage){--arena-bg:#090d18;--arena-panel:#131a2b;--arena-raised:#1b2338;--arena-line:#9485ca30;--arena-purple:#5b43d6;--arena-lilac:#c5b5ff;--arena-mint:#91f0d0;--arena-muted:#acb8cf;--arena-shadow:0 18px 42px #02040c40,inset 0 1px #ffffff0a;color-scheme:dark;font-variant-numeric:tabular-nums}
#wh26-app.wh26:not(.wh26-display-mode){background:radial-gradient(ellipse at 0 0,#5b43d626,transparent 45%),radial-gradient(ellipse at 100% 30%,#352d6119,transparent 50%),#090d18!important;border:1px solid #9485ca35!important;border-radius:26px;box-shadow:0 28px 90px #02040b50!important}
#wh26-app button{background:#232d44!important;color:#f4f1ff!important;border-color:#a28cc044!important}#wh26-app button.danger{background:#7b1f3c!important}#wh26-app :is(.hub-hero,.ops-heading) h1{font-size:clamp(26px,3.2vw,44px)!important;line-height:1.4}
#wh26-app :is(h1,h2,h3),:is(.review-modal,.reheat-overlay,.athlete-report-modal) :is(h1,h2,h3){font-family:Tahoma,Arial,sans-serif;letter-spacing:0;line-height:1.5;text-wrap:balance}
#wh26-app :is(.hub-hero,.station-hero,.ops-heading,.kit-panel>header,.rox-operator-panel>header),#wh26-attendance .attendance-page>header{position:relative!important;background:radial-gradient(ellipse at 95% 0,#7560e044,transparent 65%),linear-gradient(115deg,#12192b,#1e1b35)!important;border:1px solid #9c8cce40!important;border-radius:22px!important;box-shadow:var(--arena-shadow);overflow:hidden}
#wh26-app :is(.hub-hero,.station-hero,.ops-heading):after,#wh26-attendance .attendance-page>header:after{content:"";position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(125deg,transparent 0 80px,#c7b7ff08 81px 82px);z-index:0}
#wh26-app :is(.hub-hero,.station-hero,.ops-heading)>*,#wh26-attendance .attendance-page>header>*{position:relative;z-index:1}
/* Sponsor marks keep their own white clear space and uncut proportions. */
#wh26-app .hub-hero>.hub-sponsors{position:absolute}
#wh26-app :is(.hub-hero,.ops-heading,.station-hero) :is(span,small):first-child{color:#c5b5ff}
#wh26-app :is(.hub-topnav,.hub-nav,.ops-nav,.panel-tabs,.judge-navigation){border-color:#9485ca30!important;background:#101626!important}
#wh26-app :is(.hub-topnav,.hub-nav,.ops-nav,.panel-tabs) a{border-radius:10px;transition:background .16s ease,color .16s ease}
#wh26-app :is(.hub-filters,.station-tools,.heat-fastbar,.head-fastbar,.photo-fastbar,.kit-tools,.station-admin-filters,.hub-event-links){background:#11192a!important;border:1px solid #9485ca30!important;border-radius:18px!important;box-shadow:inset 0 1px #ffffff06}
#wh26-app :is(input:not([type=checkbox]):not([type=radio]),select,textarea),:is(.review-modal,.reheat-overlay,.athlete-report-modal) :is(input:not([type=checkbox]):not([type=radio]),select,textarea){background:#0e1626!important;border:1px solid #8f82bd47!important;color:#f5f4ff!important;border-radius:12px!important;box-shadow:inset 0 2px 4px #0002}
#wh26-app input::placeholder,:is(.review-modal,.reheat-overlay) input::placeholder{color:#a6afc4;opacity:1}
#wh26-app :is(input,select,textarea):focus-visible,:is(.review-modal,.reheat-overlay) :is(input,select,textarea):focus-visible{outline:3px solid #b9a4ff!important;outline-offset:2px;box-shadow:none!important}
#wh26-app button:not(:disabled),:is(.review-modal,.reheat-overlay,.athlete-report-modal) button:not(:disabled){transition:background .16s ease,border-color .16s ease,box-shadow .16s ease}
#wh26-app :is(button.primary,.primary,.finish,.reheat-open,.kit-submit,.login button[type=submit]),.review-modal button.primary{background:linear-gradient(130deg,#7156ed,#5036b8)!important;color:#fff!important;border:1px solid #b5a0ff55!important;box-shadow:0 6px 16px #4b32b52a}
#wh26-app :is(button,a):focus-visible,:is(.review-modal,.reheat-overlay,.athlete-report-modal) :is(button,a,summary):focus-visible{outline:3px solid #d3c6ff!important;outline-offset:3px}
#wh26-app :is(.card,.ops-photo-card,.ops-head-table>article,.station-admin-card,.kit-athlete,.heat-summary>div,.kit-stats>div){background:linear-gradient(135deg,#1a2235,#121a2a)!important;border:1px solid #9485ca35!important;box-shadow:var(--arena-shadow)!important;border-radius:18px!important}
#wh26-app :is(.ops-heat-card,.heat-card){background:radial-gradient(ellipse at 0 0,#6553b822,transparent 70%),#151d2e!important;border:1px solid #9485ca38!important;box-shadow:var(--arena-shadow)}
#wh26-app :is(.ops-heat-card.running,.heat-card.running){border-color:#82e3c366!important;background:linear-gradient(145deg,#152a2c,#182038)!important}
#wh26-app :is(.ops-clock,.bigclock,.live-time,.heat-timer){color:#91f0d0!important;text-shadow:0 3px 22px #67caa323;font-variant-numeric:tabular-nums}
#wh26-app :is(.hub-section,.hub-table){border-color:#9485ca2e!important}
#wh26-app .hub-table{background:#0f1725!important;border-radius:18px!important;box-shadow:var(--arena-shadow)}
#wh26-app .hub-table thead{background:#1c2339!important}
#wh26-app #lbRows tr{background:#101929!important;border-color:#9485ca25!important}
#wh26-app #lbRows tr:nth-child(even){background:#141e30!important}
#wh26-app #lbRows tr.finished{background:#192331!important}
#wh26-app #lbRows tr.dq{background:#281925!important}
#wh26-app .athlete-report-link{background:linear-gradient(120deg,#25334a,#1a273b)!important;border-color:#a394d14d!important;box-shadow:inset 0 1px #ffffff09}
#wh26-app :is(.athlete-report-link .report-entry-hint,.athlete-report-link .analysis-link){color:#c5b5ff!important}
#wh26-app :is(.rank,.live-heat-rank){background:linear-gradient(145deg,#393056,#211d39)!important;color:#e6deff!important;border:1px solid #9a82d54a}
#wh26-app .hub-event-links a{background:#342748!important;border-color:#9577d057!important;color:#e3d7ff!important}
#wh26-app .hub-event-links a:last-child{background:#173b35!important;border-color:#75c2aa55!important;color:#b3f4dc!important}
/* Operational cards stay still: no tilt, entrance animations or moving targets. */
#wh26-app .station-card.judge-athlete{background:linear-gradient(145deg,#1a2438,#131b2c)!important;border:1px solid #8b7ab94d!important;box-shadow:0 10px 24px #0002,inset 0 1px #ffffff09!important}
#wh26-app .judge-bib>strong{color:#fff;text-shadow:0 3px 15px #b6a4ff22}
#wh26-app .judge-dots i.done{background:#a48aff!important;box-shadow:0 0 0 2px #a48aff20}
#wh26-app .judge-primary.station-check{background:linear-gradient(130deg,#7153eb,#5039b5)!important;border:1px solid #ba9dff66!important;color:#fff!important;box-shadow:0 6px 18px #6e49d52b;transform:none!important}
#wh26-app .judge-primary.station-check.done{background:#17443d!important;color:#b3f4dc!important}
#wh26-app .judge-secondary button{background:#232d43!important;border:1px solid #9b8bb430!important;transform:none!important}
#wh26-app :is(.judge-view-tabs,.judge-heat-tabs) button.active{background:#473075!important;border-color:#b299ff!important;color:#eee5ff!important}
#wh26-app .judge-secondary details{background:#101929;border-radius:12px}
#wh26-app .pair-deadline{background:#141e30;border-color:#9383bd44}
#wh26-app .pair-deadline.pair-warning{background:#382919;border-color:#f2b85c;color:#ffdb9b}
#wh26-app .station-dq{border-color:#ff5c85!important;background:linear-gradient(130deg,#34172c,#211625)!important}
#wh26-app .station-dq-row button{background:#a52349!important;transform:none!important}
#wh26-app :is(.station-sync.confirmed,.kit-sync.confirmed){background:#133a31!important;border-color:#70bda655!important;color:#c8f8e8!important}
#wh26-app :is(.station-sync.pending,.kit-sync.pending){background:#392e1c!important;border-color:#d0a05c66!important;color:#ffe2af!important}
#wh26-app .kit-athlete.received{border-color:#77ccaa88!important;background:linear-gradient(120deg,#173c34,#182a37)!important}
#wh26-app .login{border-color:#a58cdd55!important;background:radial-gradient(ellipse at 100% 0,#6243af38,transparent 70%),#11192a!important;box-shadow:0 30px 60px #02040c66,inset 0 1px #cfb9ff22!important}
#wh26-app .login:before{background:var(--wodex-brand-url) center/contain no-repeat!important;box-shadow:none!important;border-radius:0!important}
/* Spectator display keeps the nine-heat viewport geometry unchanged. */
#wh26-app.wh26-display-mode{background:radial-gradient(ellipse at 50% 0,#513aa12e,transparent 65%),#090d18!important}
#wh26-app.wh26-display-mode .display-shell>header{background:linear-gradient(110deg,#1a1831,#172238)!important;border-color:#9c8cce44!important;box-shadow:inset 0 1px #ffffff10!important}
#wh26-app.wh26-display-mode .display-heat-card{background:radial-gradient(ellipse at 0 0,#7360cc38,transparent 65%),linear-gradient(135deg,#211c39,#142436)!important;border-color:#9883c85c!important;box-shadow:inset 0 1px #e0d1ff12,0 10px 18px #02040c44!important}
#wh26-app.wh26-display-mode .display-heat-card>.display-clock{color:#b0f4dd!important;text-shadow:0 6px 28px #73c7b52b!important}
#wh26-app.wh26-display-mode .display-heat-card.countdown>.display-clock{color:#ffdb9f!important}
#wh26-app.wh26-display-mode .display-card-head strong{color:#f5f0ff!important}
#wh26-app.wh26-display-mode .heat-card-progress>i{background:linear-gradient(90deg,#5b43d6,#a78bfa,#91f0d0)!important}
/**** Modals live outside the WordPress shortcode root. ****/
:is(.review-modal,.reheat-overlay,.athlete-report-modal,.live-heat-modal,.live-heats-page-modal){background:#040714df!important;backdrop-filter:blur(8px)}
:is(.review-card,.reheat-dialog,.athlete-report-card,.live-heat-page,.live-heats-page){background:radial-gradient(ellipse at 100% 0,#45337033,transparent 50%),#11192a!important;border:1px solid #9485ca47!important;box-shadow:0 26px 90px #0006!important}
.review-panel{border-color:#9988bd35!important;background:linear-gradient(145deg,#1b2336,#141c2c)!important;border-radius:16px}
.review-resume-dq{background:linear-gradient(140deg,#36203e,#172f39)!important;border-color:#d287b475!important}
.review-resume-dq button{background:linear-gradient(130deg,#7153e6,#5039b5)!important;border-color:#ae95ee!important;color:#fff!important}
.reheat-stats,.reheat-plan{border-color:#9485ca47!important;background:#192238!important}
.rox-photo-card{background:radial-gradient(ellipse at 100% 0,#7352d94a,transparent 56%),radial-gradient(ellipse at 0 100%,#26554c3d,transparent 56%),linear-gradient(125deg,#10182a,#231d3a 55%,#122231)!important;border-color:#ad91d660!important;box-shadow:0 30px 80px #0006,inset 0 1px #eee1ff24!important}
.rox-photo-avatar{box-shadow:10px 10px 0 #8b5cf62b,20px 20px 0 #8b5cf60d,0 16px 35px #0005!important;border:1px solid #a68bb978!important}
.rox-photo-record{background:linear-gradient(130deg,#b599ff12,#ffffff03)!important;border:1px solid #bb9fea38!important;box-shadow:inset 0 1px #e5d3ff14,0 12px 26px #0002!important}
.rox-photo-record>strong{color:#f8f6ff!important;text-shadow:0 8px 32px #ad8dff42!important}
.rox-photo-ranks>div{background:linear-gradient(125deg,#34274d,#1b3541)!important;border-color:#b19ac244!important}
.rox-photo-ranks strong{color:#b6f0d8!important}
.arena-orbit{filter:drop-shadow(0 15px 20px #0004)}
.arena-stat,.arena-split,.arena-insight{border-color:#9a86be3b!important;background:linear-gradient(140deg,#20283d,#141e30)!important}
/**** Public attendance and schedule editing. ****/
#wh26-attendance{background:radial-gradient(ellipse at 0 0,#5b43d631,transparent 55%),#090d18!important;color:#f4f1ff}
#wh26-attendance .attendance-search input{background:#141c2e;border-color:#9683c65c;box-shadow:0 10px 24px #0002,inset 0 1px #ffffff09}
#wh26-attendance .attendance-search input:focus{outline:3px solid #bca2ff;outline-offset:2px;border-color:#bca2ff}
#wh26-attendance .attendance-athlete{background:linear-gradient(135deg,#1b2339,#141e30);border-color:#9c87c54a;box-shadow:var(--arena-shadow)}
#wh26-attendance .attendance-heat strong{background:#4b33765e;border-color:#9f80ce66;color:#e6d6ff}
#wh26-attendance .attendance-times section{background:#1a2439;border-color:#8c7eb443}
#wh26-attendance .attendance-times .arrival{background:linear-gradient(135deg,#21443c,#192e37);border-color:#85d0b56b}
#wh26-attendance .attendance-times strong{color:#a0f0d3}
#wh26-app .wh26-attendance-admin{background:#151e30;border-color:#9d8cc34d}
#wh26-app :is(.wh26-schedule-row,.schedule-heat-row){border-color:#a18dc44a;background:linear-gradient(135deg,#1a2437,#121b2b)}
@media(hover:hover) and (pointer:fine){#wh26-app .athlete-report-link:hover{border-color:#c3a7ff!important;box-shadow:0 8px 20px #4f37832b}#wh26-app :is(.login button,.hub-event-links a):hover{box-shadow:0 8px 22px #7c58e73b}}
@keyframes wodex-enter{from{opacity:.3;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:no-preference){#wh26-app .login,.rox-photo-card,.review-modal>.review-card{animation:wodex-enter .35s ease-out both}}
@media(max-width:760px){#wh26-app.wh26:not(.wh26-display-mode){border-radius:18px}#wh26-app .hub-event-links{gap:8px;padding:14px!important}#wh26-app .hub-event-links a{font-size:12px;padding:10px 12px}#wh26-app :is(.hub-hero,.station-hero,.ops-heading){border-radius:16px!important}.rox-photo-avatar{box-shadow:6px 6px 0 #8b5cf62b,12px 12px 0 #8b5cf60d!important}}
@media(prefers-reduced-motion:reduce){:is(#wh26-app,#wh26-attendance,.review-modal,.reheat-overlay,.athlete-report-modal,.rox-photo-stage) *{animation:none!important;transition:none!important;scroll-behavior:auto!important}.arena-orbit{animation:none!important}}

#wh26-app .progress-track>i{background:linear-gradient(90deg,#5b43d6,#a48aff,#91f0d0)!important}#wh26-app .report-entry-hint{background:#6f54b338!important;border-color:#a78be15c!important;color:#ddcfff!important}#wh26-app .athlete-report-link:hover{transform:none!important}
#wh26-app .rox-schedule-editor{--rox-line:#9583ba44;--rox-panel:#151f31;--rox-text:#f2f0fc}
#wh26-app .rox-schedule-list article{background:linear-gradient(135deg,#1b263c,#131c2c);box-shadow:0 8px 20px #0002}
#wh26-app .rox-schedule-list article.is-anchor{border-inline-start-color:#ab8cff}
#wh26-app .rox-schedule-list header b{color:#c7b3ff}
#wh26-app .rox-schedule-editor button[data-fill-next],#wh26-app .rox-schedule-editor button[type=submit]{background:linear-gradient(125deg,#7054e8,#5038b2)!important}
.rox-jalali-calendar{color-scheme:dark;background:#171e31;color:#f3efff;border:1px solid #b09aca55;border-radius:20px;box-shadow:0 24px 70px #0008}
.rox-jalali-calendar button{color:#ede5ff;background:#252c44;border-color:#9e8bb446;border-radius:9px}
.rox-jalali-calendar :is(select,input){background:#141b2d;color:#fff;border:1px solid #8875b64d}
.rox-jalali-calendar [aria-selected=true]{background:#6847cc!important;color:#fff!important}
.rox-jalali-calendar::backdrop{background:#050916bb;backdrop-filter:blur(4px)}

#wh26-app .admin-access{background:#11192a;border:1px solid #9485ca30;border-radius:14px;padding:10px}#wh26-app .admin-access button.active{background:#513a8f!important;border-color:#b497ed!important;color:#fff!important}.reheat-overlay button.primary{background:linear-gradient(125deg,#7054e8,#5038b2);color:#fff;border-color:#b499ed}.reheat-stats>div{background:#242840;border-color:#9080b74a}
#wh26-app .wh26-account-actions{display:flex;gap:8px;flex-shrink:0}
.wh26-password-dialog{box-sizing:border-box;width:min(460px,calc(100vw - 28px));max-height:calc(100dvh - 28px);overflow:auto;padding:24px;border:1px solid #a18acb66;border-radius:22px;color:#f5f1ff;background:radial-gradient(ellipse at 100% 0,#543e8433,transparent 70%),#141c2e;box-shadow:0 26px 80px #0008;font:14px Tahoma,Arial,sans-serif;line-height:1.9;color-scheme:dark}
.wh26-password-dialog::backdrop{background:#030714cf;backdrop-filter:blur(5px)}
.wh26-password-dialog *{box-sizing:border-box}
.wh26-password-dialog header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.wh26-password-dialog h2{font:800 24px Tahoma,Arial,sans-serif;margin:4px 0}
.wh26-password-dialog small,.wh26-password-dialog p{color:#b7c0d4}
.wh26-password-dialog form>label:not(.wh26-password-show){display:grid;gap:6px;margin:14px 0}
.wh26-password-dialog input[name]{width:100%;min-height:48px;padding:10px 14px;border:1px solid #8b7bac66;border-radius:10px;background:#0d1524;color:#fff;font:16px Tahoma,Arial,sans-serif;direction:ltr}
.wh26-password-dialog input:focus-visible,.wh26-password-dialog button:focus-visible{outline:3px solid #c3a9ff;outline-offset:2px}
.wh26-password-dialog button{min-height:44px;border:1px solid #9984c455;border-radius:10px;padding:9px 16px;background:#29334c;color:#fff;font:700 14px Tahoma,Arial,sans-serif;cursor:pointer}
.wh26-password-dialog button[type=submit]{width:100%;background:linear-gradient(130deg,#7657ef,#5038b5);margin:8px 0 14px}
.wh26-password-dialog button:disabled{opacity:.6;cursor:default}
.wh26-password-dialog .wh26-password-show{display:flex;gap:9px;align-items:center}
.wh26-password-dialog [data-password-message]{min-height:20px;overflow-wrap:anywhere;color:#ffd59c}
.wh26-password-dialog [data-password-message].password-success{color:#9ff1cf}
.wh26-password-dialog .password-warning{color:#ffd59c}
@media(max-width:600px){#wh26-app.wh26-panel>header{flex-wrap:wrap!important;gap:10px!important;padding:14px!important}#wh26-app.wh26-panel>header>span{order:3;flex:1 1 100%;text-align:right;min-width:0}#wh26-app.wh26-panel>header:before{width:46px!important;flex-basis:46px!important;height:38px!important}#wh26-app .wh26-account-actions{margin-inline-start:auto}#wh26-app .wh26-account-actions button{font-size:12px;min-height:40px!important;padding:0 10px!important}.wh26-password-dialog{padding:18px}}
@media(prefers-reduced-motion:reduce){.wh26-password-dialog *{animation:none!important;transition:none!important}}
