:root{font-family:Inter,ui-sans-serif,system-ui,sans-serif;color:#e9f2fa;background:#0c1830;line-height:1.5;color-scheme:dark}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 50% -10%,#234268 0%,#0c1830 65%);min-height:100dvh}button,select,input{font:inherit}button{cursor:pointer;background:#192d49;border:1px solid #3b5473;border-radius:12px;color:#e7f2ff;padding:11px 16px;font-weight:750;min-height:44px;box-shadow:0 3px 0 #071325;transition:transform .12s,background .12s}button:hover:not(:disabled){background:#274667;transform:translateY(-1px)}button:active:not(:disabled){transform:translateY(2px);box-shadow:none}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,.pass-target:focus-visible{outline:3px solid #ffc84c;outline-offset:3px}button.primary{background:#ffd057;color:#263242;border-color:#ffd057;box-shadow:0 4px 0 #ba8325}button.primary:hover:not(:disabled){background:#ffdf87}a{color:#8cded2;text-underline-offset:3px}header{display:flex;gap:24px;align-items:center;max-width:1320px;margin:auto;padding:17px 28px;border-bottom:1px solid #314462}.brand{flex:1;text-decoration:none;letter-spacing:2px;font-size:24px;font-style:italic;font-weight:900;color:#f6fbff}.brand b{color:#ffd057}.brand small{display:block;font-size:9px;letter-spacing:1.5px;font-weight:650;font-style:normal;color:#99b7d6}header>a:last-of-type{font-size:13px}main{max-width:1320px;padding:18px 28px;margin:auto}.scoreboard{display:flex;gap:24px;align-items:center;background:#060f23;border:1px solid #3e5675;border-radius:14px;padding:12px 18px;box-shadow:0 4px 16px #0003}.scoreboard>div:first-child{min-width:125px}.scoreboard .eyebrow{font-size:9px;color:#90adc9;margin:0}.scoreboard #progress{font-weight:800;font-size:16px;letter-spacing:.6px}.scoreboard-state{margin-left:auto;text-align:right;font-size:11px;color:#a0bfdc}.scoreboard-state strong{display:block;color:#8ee1d3;font-size:12px;text-transform:uppercase;letter-spacing:1px}.pucks{display:flex;gap:12px;justify-content:center;align-items:center}.puck{display:inline-flex;width:30px;height:24px;border-radius:50%;background:#182c47;border:2px solid #57728f;box-shadow:0 5px 0 #020817;position:relative}.puck.collected{background:#ffd057;border-color:#ffe8a0;box-shadow:0 5px 0 #a66d14,0 0 16px #ffd05733}.puck.current{border-color:#8ddfd4;box-shadow:0 5px 0 #020817,0 0 12px #8ddfd433}.puck.just-earned{animation:puck-pop .45s ease-out}.heading{display:flex;align-items:center;gap:24px;margin:16px 0}.heading>div{flex:1}h1{font-size:clamp(27px,3.3vw,40px);font-weight:900;line-height:1.13;letter-spacing:-.7px;margin:0}h2{font-size:30px;font-weight:900;line-height:1.12;margin:10px 0}h3{font-size:14px}p{margin:10px 0}.heading p{font-size:14px;color:#a4bfd7;margin-bottom:0}.heading button{font-size:16px;padding:13px 24px}.layout{display:grid;grid-template-columns:minmax(0,2.4fr) minmax(250px,1fr);gap:20px;align-items:start}.board{background:#122641;border:2px solid #57728f;border-radius:18px;overflow:hidden;box-shadow:0 10px 32px #0005}.rink-top{display:flex;align-items:center;justify-content:space-between;padding:7px 14px;background:#203b5e;color:#bdd4e8;font-size:9px;font-weight:750;letter-spacing:.7px}.rink-top span:nth-child(2){color:#ffd057;font-size:11px}#scene{background:#daeaf0;position:relative;touch-action:manipulation;height:calc(100dvh - 390px);min-height:285px}#rink{display:block;width:100%;height:100%;user-select:none}.pass-target{cursor:pointer}.pass-target:hover circle:nth-of-type(2){stroke:#184c58;stroke-width:4}.legend{padding:8px 14px;display:flex;gap:14px;align-items:center;flex-wrap:wrap;font-size:10px;color:#a8c3dc;border-bottom:1px solid #314764}.legend span{display:flex;align-items:center;gap:5px}.legend i{width:9px;height:9px;border-radius:50%}.you{background:#edc650}.team{background:#267dab}.opponent{background:#cd6170}.decision{display:flex;gap:10px;align-items:center;padding:14px}.decision p{flex:1;font-size:14px;font-weight:650;margin:0}.decision button{font-size:13px;padding:10px 13px}.board-tools{display:flex;align-items:center;gap:14px;padding:0 14px 12px;font-size:10px;color:#98b5cf}.board-tools button{font-size:11px;padding:6px 12px;min-height:34px}aside>section{background:#142943;border:1px solid #3a5675;border-radius:16px;padding:22px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:1.6px;color:#88ded0;margin:0}.muted{font-size:11px;color:#a0bbd1}#briefing{font-size:18px;font-weight:750;line-height:1.45;margin:15px 0}#context{font-size:13px;color:#c4d6e5}#assignment{font-size:11px;margin-bottom:0}.reward{display:flex;gap:10px;align-items:center;color:#ffd057;font-size:11px;letter-spacing:1px;font-weight:900}.reward p{margin:0}.reward>span{font-size:28px;line-height:1}#feedback h2{color:#ffd057}#choice-title{font-weight:750;font-size:14px}#quick-take{font-size:14px;color:#c5d9ea}.reward.pop{animation:puck-pop .45s ease-out}#metrics{display:flex;gap:20px;padding:14px 0;margin-top:16px;border-top:1px solid #3c5370}#metrics strong{font-size:20px;display:block}#metrics span{font-size:10px;color:#a0bbd1}.tradeoff{font-size:13px;margin:15px 0}.tradeoff strong{display:block;color:#89dfd0;font-size:10px;letter-spacing:1px;text-transform:uppercase}details{border-top:1px solid #3a5170;padding-top:12px;margin:16px 0;font-size:12px}summary{cursor:pointer;font-weight:700;color:#aed2ed}#next{margin-top:16px;width:100%;font-size:16px}.alternative{margin-top:14px;font-size:12px}.alternative strong{display:block}.alternative p{margin:5px 0}#settings{display:flex;align-items:center;gap:20px;flex-wrap:wrap;padding:18px;background:#172e49;border:1px solid #3b5675;margin-bottom:18px;border-radius:14px}#settings label{font-size:12px;font-weight:650}select{display:block;padding:8px 10px;margin-top:5px;border-radius:8px;border:1px solid #4b6785;background:#0f2037;color:#ebf3fc}#settings p{font-size:11px;max-width:290px;color:#aac3da}.sound-setting{display:flex;align-items:center;gap:8px}#keyboard{padding:0 14px 12px;margin:0;font-size:10px}#keyboard>div{display:flex;gap:10px;margin-top:12px;align-items:end;flex-wrap:wrap}#keyboard label{font-size:11px}#keyboard input{display:block;width:110px;padding:7px;background:#0f2037;color:white;border:1px solid #4b6785;border-radius:6px;margin-top:4px}#keyboard button{font-size:12px}#summary{padding:38px;background:radial-gradient(ellipse at top,#254466,#10243e);border:1px solid #557491;border-radius:20px;margin:24px auto;max-width:760px;text-align:center;box-shadow:0 12px 35px #0005}#summary h2{font-size:42px}.big-pucks{margin:26px 0;gap:24px}.big-pucks .puck{width:58px;height:42px}.result-row{padding:14px 0;border-bottom:1px solid #3d5571;font-size:13px;text-align:left}.result-row strong{display:block}.footer-note{font-size:10px;color:#8faac4;margin-top:18px;text-align:center}.footer-note a{display:inline-block;margin-top:5px}[hidden]{display:none!important}body[data-phase=choosing] #rink-callout{animation:your-move 1.2s ease-in-out infinite}body[data-phase=feedback] #rink-callout{color:#8ee1d3}@keyframes puck-pop{0%{transform:scale(.6) rotate(-15deg)}60%{transform:scale(1.2) rotate(8deg)}100%{transform:scale(1) rotate(0)}}@keyframes your-move{50%{opacity:.55}}@media(max-width:1050px){main,header{padding-left:18px;padding-right:18px}.layout{gap:16px;grid-template-columns:minmax(0,2fr) minmax(235px,1fr)}.decision{flex-wrap:wrap}.heading h1{font-size:30px}aside>section{padding:18px}#briefing{font-size:16px}#scene{height:calc(100dvh - 490px);min-height:220px}}@media(max-width:900px){header{gap:12px;padding:14px}.brand{font-size:20px}header>a:last-of-type{font-size:11px;max-width:80px}header button{font-size:11px;padding:8px 10px}main{padding:16px 14px}.scoreboard{gap:12px;padding:10px 13px}.scoreboard #progress{font-size:14px}.scoreboard>div:first-child{min-width:95px}.scoreboard-state{font-size:10px}.pucks{gap:9px}.puck{width:23px;height:18px}.heading{gap:12px}.heading h1{font-size:28px}.heading button{font-size:13px;padding:12px}.layout{grid-template-columns:1fr}.layout aside{display:contents}#context-panel{grid-row:1;padding:14px 18px}#briefing{font-size:15px;margin:7px 0}#context-panel .eyebrow{display:none}#context-panel details{margin:10px 0 0;padding-top:8px}#assignment{display:none}.layout .board{grid-row:2}#feedback{grid-row:3}#scene{height:auto;aspect-ratio:10/7;min-height:0}.decision p{flex-basis:auto}.legend{gap:10px}#feedback{padding:22px}.footer-note{font-size:9px}#summary h2{font-size:34px}}@media(max-width:430px){.scoreboard-state span{display:none}.scoreboard-state strong{font-size:10px}.heading h1{font-size:24px}.decision p{flex-basis:100%}.rink-top span:first-child,.rink-top span:last-child{font-size:8px}.big-pucks .puck{width:48px;height:35px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

#quick-risk{font-size:12px;color:#e6cba0}

#briefing.rink-briefing{font-size:13px;line-height:1.4;font-weight:650;margin:0;padding:10px 14px;color:#d4e6f3;border-bottom:1px solid #415b76} @media(min-width:901px){#scene{height:calc(100dvh - 500px);min-height:220px}} @media(min-width:901px) and (max-width:1050px){#scene{height:calc(100dvh - 540px);min-height:200px}}

/* The rink owns play space; coaching follows below rather than squeezing the ice. */
.layout{grid-template-columns:1fr;gap:16px}.layout aside{display:block}.layout .board{grid-row:auto}#context-panel,#feedback{grid-row:auto}#scene{height:clamp(400px,65dvh,760px);min-height:0;aspect-ratio:auto}#context-panel{padding:12px 18px}#context-panel .eyebrow{display:none}#context-panel details{margin:8px 0}#feedback{max-width:900px;margin:auto}.stars{display:flex;gap:8px;font-size:42px;color:#516782;line-height:1.2;margin:12px 0}.stars .lit,.score-stars{color:#ffd057}.score-stars{font-size:22px;white-space:nowrap}#summary-stars{font-size:36px}.ungraded{font-size:16px;color:#a5c3da}.board-tools button{min-height:44px}.decision button{min-height:48px;font-size:15px}.decision p{font-size:15px}.scoreboard{gap:16px}
body:is([data-phase=watching],[data-phase=choosing]) header,body:is([data-phase=watching],[data-phase=choosing]) .scoreboard,body:is([data-phase=watching],[data-phase=choosing]) .heading,body:is([data-phase=watching],[data-phase=choosing]) #context-panel,body:is([data-phase=watching],[data-phase=choosing]) .footer-note{display:none}
body:is([data-phase=watching],[data-phase=choosing]) main{padding:8px;max-width:1400px}
body:is([data-phase=watching],[data-phase=choosing]) #scene{height:calc(100dvh - 204px);min-height:300px}
@media(max-width:900px){#scene{height:clamp(360px,60dvh,720px)}.layout aside{display:block}.scoreboard{flex-wrap:wrap;gap:10px}.score-stars{font-size:18px}#assignment{display:block}#context-panel{padding:10px 14px}.decision{padding:10px;gap:8px}.legend{padding:7px 10px}.board-tools{padding-bottom:8px}#feedback{padding:18px}}
@media(max-width:500px){body:is([data-phase=watching],[data-phase=choosing]) #scene{height:calc(100dvh - 270px);min-height:300px}.scoreboard-state{display:none}.scoreboard .pucks{margin-left:auto}.decision p{flex-basis:100%}#briefing.rink-briefing{font-size:12px}.stars{font-size:36px}}

@media(min-width:501px){body:is([data-phase=watching],[data-phase=choosing]) #scene{height:min(calc(100dvh - 204px),calc((100vw - 20px)*.7112))}}

#area-key{color:#c8dfc8;font-weight:700}

.view-tools{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:6px 12px;background:#193450}.view-tools label{display:flex;align-items:center;gap:8px;font-size:12px}.view-tools select{margin:0;padding:6px}.view-tools button,#scan-targets button{font-size:11px;padding:6px 9px;min-height:40px}#look-controls{display:flex;gap:6px}#scan-targets{padding:6px 12px;display:flex;gap:6px;flex-wrap:wrap}#eye-setup{padding:8px 12px;margin:0}#library-progress{display:block;font-size:10px;color:#a9c5dc}#map-review{margin-top:12px}body:is([data-phase=watching],[data-phase=choosing]) #scene{height:calc(100dvh - 260px);min-height:300px}body:is([data-phase=watching],[data-phase=choosing])[data-view=player] #scene{height:calc(100dvh - 360px);min-height:300px}

body[data-phase=ready] .layout,body[data-phase=ready] #role-label{display:none}body[data-phase=ready] .heading{min-height:55dvh;flex-direction:column;justify-content:center;text-align:center;gap:28px}body[data-phase=ready] .heading>div{flex:none}body[data-phase=ready] .heading h1{font-size:clamp(44px,7vw,80px)}body[data-phase=ready] .heading button{font-size:22px;padding:20px 42px}body[data-phase=ready] .heading p{font-size:17px}

#possession-notice{padding:8px 14px;background:#ffd057;color:#263242;font-size:14px;font-weight:800;text-align:center;border-top:1px solid #ba8325}#possession-notice[hidden]{display:none}

/* Diagram follows screen orientation instead of letterboxing a portrait rink on iPad landscape. */
body:is([data-phase=watching],[data-phase=choosing])[data-view=overhead] #scene{height:calc(100dvh - 190px);min-height:400px}
@media(orientation:portrait){body[data-view=overhead] #scene,body:is([data-phase=watching],[data-phase=choosing])[data-view=overhead] #scene{height:auto;aspect-ratio:var(--diagram-aspect,900/1120);min-height:0}}
.pucks{flex-wrap:wrap;gap:8px}.big-pucks{gap:12px}.big-pucks .puck{width:42px;height:31px}
@media(max-width:600px){.scoreboard .pucks{order:3;flex-basis:100%}.big-pucks .puck{width:28px;height:21px}}

body[data-view=player] #scene{touch-action:none;cursor:grab}body[data-view=player] #scene:active{cursor:grabbing}#zone-cue{display:flex;gap:14px;align-items:center;flex-wrap:wrap;padding:6px 12px;background:#254568;font-size:12px}#zone-label{color:#ffdc7b}#net-bearings{color:#d0e2f1}#eye-review{margin-top:12px}

/* Keep confirmation reachable even when the full rink scrolls. */
body[data-phase=choosing] .decision{position:fixed;bottom:0;left:0;right:0;z-index:20;background:#122641f5;border-top:2px solid #ffd057;padding:10px max(12px,env(safe-area-inset-left));padding-bottom:calc(10px + env(safe-area-inset-bottom));box-shadow:0 -6px 24px #0005;flex-wrap:wrap}
body[data-phase=choosing] main{padding-bottom:180px}
body[data-phase=choosing] #scene{margin-bottom:0}
#play-actions{display:flex;gap:8px;flex-wrap:wrap;flex-basis:100%}#play-actions button{background:#24577a}
body:is([data-phase=watching],[data-phase=choosing]) #player-profile,body:is([data-phase=watching],[data-phase=choosing]) #leaderboard{display:none}
#player-profile,#leaderboard{padding:18px;border:1px solid #405d7d;background:#142943;border-radius:16px;margin:18px 0}#player-profile{display:flex;align-items:center;gap:16px;flex-wrap:wrap}#player-profile input{background:#0f2037;border:1px solid #6785a3;border-radius:8px;padding:10px;color:white;width:220px;max-width:100%}#player-profile p{font-size:12px;flex:1;color:#b6cde0}#leaderboard h2{font-size:26px}#leaderboard p{font-size:13px}#leaderboard table{width:100%;border-collapse:collapse;margin:16px 0}#leaderboard th,#leaderboard td{text-align:left;padding:10px;border-bottom:1px solid #3a5170}#save-score{margin:12px}

/* A play is three cards, not a column of sections. */
body:is([data-phase=setup],[data-phase=feedback]) header,body:is([data-phase=setup],[data-phase=feedback]) .scoreboard,body:is([data-phase=setup],[data-phase=feedback]) .heading,body:is([data-phase=setup],[data-phase=feedback]) #player-profile,body:is([data-phase=setup],[data-phase=feedback]) #leaderboard,body:is([data-phase=setup],[data-phase=feedback]) .footer-note,body:is([data-phase=setup],[data-phase=feedback]) #context-panel{display:none}
body[data-phase=setup] .layout,body[data-phase=feedback]:not([data-review-view]) .board,body[data-phase=feedback][data-review-view] #feedback{display:none}
#setup-card{max-width:760px;min-height:calc(100dvh - 36px);margin:auto;display:flex;flex-direction:column;justify-content:center;gap:16px;padding:clamp(22px,5vw,60px);background:#142943;border:1px solid #557491;border-radius:20px}#setup-card h2{font-size:38px}#setup-role{color:#ffd057;font-weight:800}#setup-context{font-size:18px}#start-play{margin-top:20px;font-size:20px}
body:is([data-phase=watching],[data-phase=choosing],[data-phase=feedback][data-review-view]) main{padding:6px;max-width:none}
body:is([data-phase=watching],[data-phase=choosing],[data-phase=feedback][data-review-view]) .board{height:calc(100dvh - 12px);display:flex;flex-direction:column}
body:is([data-phase=watching],[data-phase=choosing],[data-phase=feedback][data-review-view]) #scene{height:auto!important;aspect-ratio:auto!important;min-height:0!important;flex:1;overflow:hidden}
body:is([data-phase=watching],[data-phase=choosing]) .decision{position:static;flex-shrink:0;padding:10px;padding-bottom:calc(10px + env(safe-area-inset-bottom));z-index:2}
body:is([data-phase=watching],[data-phase=choosing]) main{padding-bottom:6px}
body:is([data-phase=watching],[data-phase=choosing]) .legend,body:is([data-phase=watching],[data-phase=choosing]) .board-tools{display:none}
body:is([data-phase=watching],[data-phase=choosing]) #briefing{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;flex-shrink:0}
body:is([data-phase=watching],[data-phase=choosing]) #eye-setup{display:none}
#scene #rink{margin:auto}
body[data-phase=feedback] main{padding:12px}
body[data-phase=feedback] #feedback{width:100%;min-height:calc(100dvh - 24px);padding:clamp(18px,3vw,32px)}
body[data-phase=feedback][data-review-view] .decision,body[data-phase=feedback][data-review-view] .board-tools,body[data-phase=feedback][data-review-view] #eye-setup{display:none}
body[data-phase=feedback] #coach-take[open]{position:fixed;inset:20px;z-index:30;overflow:auto;background:#142943;padding:24px;border:2px solid #57728f;border-radius:16px}
#ai-coaching{border:1px solid #79b7d7;border-radius:12px;padding:12px;margin-bottom:14px}#ai-coaching p{font-size:13px;margin:6px 0}
@media(max-height:700px){#feedback h2{font-size:24px;margin:5px 0}#feedback .stars{font-size:30px;margin:4px 0}#feedback p{margin:6px 0}#feedback #next{margin-top:8px}}

body[data-phase=profile] header,body[data-phase=profile] .scoreboard,body[data-phase=profile] .heading,body[data-phase=profile] .layout,body[data-phase=profile] #summary,body[data-phase=profile] #leaderboard,body[data-phase=profile] .footer-note{display:none}
#player-profile{max-width:760px;min-height:calc(100dvh - 36px);margin:auto;justify-content:center}#name-form{display:flex;flex-direction:column;gap:18px;max-width:440px;width:100%;padding:24px}#name-form h2{font-size:36px}#name-form input{display:block;width:100%;font-size:20px;margin-top:12px}#name-form button{font-size:20px}#look-controls{flex-wrap:wrap}

.rink-top{gap:12px}.rink-top #zone-cue{display:inline-flex;padding:0;background:none;gap:8px;flex-wrap:nowrap;font-size:11px;letter-spacing:0}.rink-top #zone-cue strong{white-space:nowrap}.rink-top #net-bearings{font-weight:600}.rink-top>span:last-child{white-space:nowrap}@media(max-width:600px){.rink-top{flex-wrap:wrap}.rink-top #zone-cue{order:3;width:100%;justify-content:center;font-size:10px}}

#mode-picker{display:flex;gap:20px;align-items:center;margin:18px 0}#mode-picker p{color:#b4cce3}#lesson-list,#lesson-card{max-width:900px;margin:20px auto;padding:clamp(22px,4vw,44px);background:#142943;border:1px solid #57728f;border-radius:20px}#lesson-card{min-height:calc(100dvh - 40px);display:flex;flex-direction:column;justify-content:center;gap:12px}#lesson-card h2{font-size:36px}#lesson-aim{font-size:20px}#lesson-tips{color:#bcd6e7}#lesson-resource{display:block;background:#24577a;padding:18px;border-radius:12px;text-decoration:none;font-size:18px;font-weight:800}#lesson-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:22px 0}#lesson-grid button{text-align:left;padding:18px}#lesson-grid strong,#lesson-grid small{display:block}#lesson-grid small{color:#b4cde2;margin-top:8px;font-weight:500}#setup-focus,#lesson-feedback{padding:14px;border:1px solid #7cb5cd;border-radius:12px;color:#d4edfc}#lesson-feedback p{font-weight:750}.back-lessons{font-size:13px}body:not([data-phase=ready]) #mode-picker{display:none}body:is([data-phase=lessons],[data-phase=lesson]) .scoreboard,body:is([data-phase=lessons],[data-phase=lesson]) .heading,body:is([data-phase=lessons],[data-phase=lesson]) .layout,body:is([data-phase=lessons],[data-phase=lesson]) #leaderboard,body:is([data-phase=lessons],[data-phase=lesson]) .footer-note,body[data-phase=lesson] #settings{display:none}body[data-phase=lesson] header{display:none}body[data-mode=guided] #leaderboard{display:none}@media(max-width:600px){#lesson-grid{grid-template-columns:1fr}#mode-picker{flex-direction:column;align-items:stretch;gap:6px}}
#setup-facts{display:grid;gap:8px;padding:16px;border:1px solid #7294b1;border-radius:14px;background:#0e2038}#setup-facts p{margin:0;font-size:20px}#setup-facts strong{font-weight:900;color:#ffe087}#setup-zone{font-size:25px!important;font-weight:900}#setup-zone[data-zone=defense]{color:#b6e0ff}#setup-zone[data-zone=offense]{color:#ffc880}#setup-zone[data-zone=neutral]{color:#fff}#setup-role{font-size:14px;color:#c8ddec}#setup-card{gap:12px}.details-close{display:block;position:sticky;top:0;z-index:40;background:#244866;border:2px solid #9cc8e2;margin:8px 0 16px auto;min-height:44px}#settings-close{margin-left:auto}.ai-loading{display:flex;align-items:center;gap:12px;padding:12px;background:#244866;border-radius:10px}.spinner{display:inline-block;width:24px;height:24px;border:3px solid #91bdd2;border-top-color:#ffda75;border-radius:50%;animation:coach-spin .8s linear infinite}@keyframes coach-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.spinner{animation:none;border-top-color:#ffda75}}
html,body{touch-action:pan-x pan-y}body[data-view=player] #scene{touch-action:none}#scene [data-player],#scene [data-shoot]{cursor:pointer}#scene [data-player]:focus-visible,#scene [data-shoot]:focus-visible{outline:3px solid #ffe46a}.fullscreen-toggle{font-size:11px;min-height:36px;padding:7px 10px;white-space:nowrap}.rink-top{flex-wrap:wrap}body:is([data-phase=setup],[data-phase=watching],[data-phase=choosing],[data-phase=feedback]) #display-status:empty{display:none}
#display-notice{position:fixed;bottom:16px;left:16px;right:16px;z-index:100;background:#142943;border:2px solid #91bdd2;border-radius:12px;padding:14px;display:flex;align-items:center;gap:14px;justify-content:space-between}#display-notice p{margin:0}

#shift-options{max-width:760px;min-height:calc(100dvh - 36px);margin:auto;padding:clamp(22px,5vw,60px);display:flex;flex-direction:column;justify-content:center;gap:18px;background:#142943;border:1px solid #557491;border-radius:20px}#shift-options h2{font-size:36px}#shift-options label{font-size:20px;font-weight:800}#shift-options select{width:100%;min-height:52px;font-size:20px}body[data-phase=options] header,body[data-phase=options] .scoreboard,body[data-phase=options] .heading,body[data-phase=options] .layout,body[data-phase=options] #leaderboard,body[data-phase=options] .footer-note{display:none}
#back-quick{position:sticky;top:8px;z-index:40;background:#244866;border:2px solid #9cc8e2}

#offline-panel{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 16px;border:1px solid #466783;border-radius:12px;background:#142943;font-size:12px}#offline-panel>p{margin:0;flex:1;min-width:160px}#offline-panel button{font-size:12px;padding:8px 12px}#offline-panel details{flex-basis:100%;margin:0}body:not([data-phase=ready]) #offline-panel{display:none}.offline-badge{color:#ffd057!important;font-size:10px;font-weight:900}

.sequence-link{display:inline-block;padding:.8rem 1rem;margin:.6rem;border:1px solid #75b5cf;border-radius:14px;color:#ade7ff;font-weight:750;text-decoration:none}
