/* The outer controls change shows; the middle strip selects recordings. */
.show .scene-dates{left:50%;right:auto;transform:translateX(-50%);width:calc(100% - 340px);max-width:900px;bottom:18px;margin:0;padding:0 8px;display:flex;justify-content:flex-start;gap:20px;overflow-x:auto;z-index:50;scrollbar-width:thin;scrollbar-color:#666 transparent;background:#000c}
.show .scene-dates button{flex-shrink:0;min-height:44px;white-space:nowrap;font-size:11px}
.scene-step{position:absolute;bottom:18px;min-height:48px;max-width:150px;z-index:51;display:flex;align-items:center;gap:10px;padding:5px 8px;background:#000d;color:#fff;text-decoration:none}
.scene-previous{left:16px}.scene-next{right:16px;flex-direction:row-reverse;text-align:right}.scene-arrow{font:25px Arial}.scene-step-label{font:12px Arial;letter-spacing:1px}.scene-step small{display:block;max-width:115px;margin-top:5px;font:10px/1.3 Arial;letter-spacing:0}.scene-step:hover{color:var(--accent,#fff)}.scene-step:focus-visible{outline:2px solid #fff;outline-offset:2px}
.hall-static .scene-step,.court-static .scene-step,.machine-static .scene-step,.brew-static .scene-step{display:none}
@media(max-width:600px){.show .scene-dates{width:calc(100% - 138px);gap:16px;padding:0 3px;bottom:max(16px,env(safe-area-inset-bottom))}.scene-step{bottom:max(16px,env(safe-area-inset-bottom));max-width:64px;padding:4px;gap:5px}.scene-previous{left:5px}.scene-next{right:5px}.scene-arrow{font-size:21px}.scene-step-label{font-size:10px}.scene-step small{display:none}}

/* Shared scroll cue stays readable over each scene without continuous animation. */
.show :is(.hall-hint,.court-hint,.machine-hint,.brew-hint){font:800 15px/1.4 Arial,Helvetica,sans-serif;letter-spacing:2px;color:#fff;text-shadow:0 2px 4px #000,0 0 10px #000;z-index:45}
.scroll-chevron{display:inline-block;width:11px;height:11px;border-right:3px solid currentColor;border-bottom:3px solid currentColor;transform:translateY(-3px) rotate(45deg);margin:0 13px}
@media(max-width:600px){.show :is(.hall-hint,.court-hint,.machine-hint,.brew-hint){font-size:13px;letter-spacing:1.5px}.scroll-chevron{width:9px;height:9px;margin:0 10px}}

/* Keep the controls above every transformed panel and foreground canvas. */
.show .scene-controls{position:absolute;left:50%;right:auto;bottom:max(12px,env(safe-area-inset-bottom));transform:translateX(-50%);width:min(560px,calc(100% - 24px));max-width:none;display:grid;grid-template-columns:1fr 1.3fr 1fr;gap:0;padding:0;overflow:visible;background:#000;border:1px solid #666;z-index:1000;pointer-events:auto;isolation:isolate}
.show .scene-controls button{min-width:0;min-height:56px;margin:0;padding:8px 12px;border:0;border-radius:0;background:#000;color:#fff;font:600 14px Arial;cursor:pointer;touch-action:manipulation}
.show .scene-controls .recording-select{border-left:1px solid #555;border-right:1px solid #555}
.recording-select small{display:block;font:11px Arial;margin-top:4px;color:#fff}
.show .scene-controls button:disabled{color:#777;cursor:default}
.show .scene-controls button:focus-visible{outline:2px solid #fff;outline-offset:-4px}
.show .scene-step{bottom:82px;min-height:44px;max-width:45%;padding:4px 12px;background:#000;z-index:1000;pointer-events:auto;touch-action:manipulation}
.show .scene-previous{left:12px}.show .scene-next{right:12px}
.show :is(.hall-hint,.court-hint,.machine-hint,.brew-hint){bottom:140px}
.recording-picker{position:fixed;inset:0;box-sizing:border-box;width:min(520px,calc(100vw - 24px));max-height:75svh;margin:auto;padding:20px;background:#000;color:#fff;border:1px solid #777;overflow:auto;overscroll-behavior:contain}
.recording-picker::backdrop{background:#000b}
.recording-picker h2{font:600 20px Arial;margin:0 90px 20px 0}
.recording-picker button{color:#fff;background:#000;font:15px Arial;cursor:pointer;touch-action:manipulation}
.recording-picker .picker-close{position:absolute;right:12px;top:8px;min-height:48px;padding:8px 12px;border:0}
.picker-list{display:grid;gap:0}
.picker-list button{text-align:left;min-height:56px;padding:12px;border:0;border-top:1px solid #444}
.picker-list button small{display:block;font:12px/1.4 Arial;margin-top:6px;color:#fff}
.picker-list button[aria-current=true]{box-shadow:inset 3px 0 #fff;background:#181818}
.recording-picker button:focus-visible{outline:2px solid #fff;outline-offset:-3px}
:is(.hall-static,.court-static,.machine-static,.brew-static) .scene-controls{display:none}
@media(max-width:600px){.show .scene-controls button{padding:8px 5px;font-size:13px}.show .scene-step-label{font-size:12px}.show .scene-step small{display:none}}
