/* PLAY under each project's title, and the slideshow control in the top right corner. */
.scene .film-play{pointer-events:auto;z-index:200!important;top:0;left:0;translate:-50% 0;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;width:auto;min-width:82px;height:30px;margin:0;padding:5px 18px 0;background:none;border:0;border-radius:0;color:#f1ede6;font:500 15px/1 Tallica,sans-serif;letter-spacing:.07em;white-space:nowrap;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:color .15s}
.scene .film-play::before{content:'';position:absolute;inset:0;z-index:-1;transform:skewX(-14deg);background:#2a0f14;border:1px solid #ff2f3bb3;box-shadow:0 3px 12px #0008;transition:background-color .15s,border-color .15s}
.scene .film-play::after{content:'';position:absolute;inset:-7px -3px}
.scene .film-play:focus-visible{outline:none}
.scene .film-play:focus-visible::before{outline:2px solid #ff7b85;outline-offset:2px}
.scene .film-play:active::before{background:#c21d29;border-color:#ff2f3b}
@media(hover:hover) and (pointer:fine){.scene .film-play:hover{color:#fff}.scene .film-play:hover::before{background:#d9202c;border-color:#ff2f3b}}
/* No film listed yet: no button. */
.scene .film-play:not(.has-film){visibility:hidden!important;pointer-events:none}
/* Play steps aside while this project's own game or panel is open. */
body:is(.wilson-game-open,.beat-lab-open,.ward-arcade-open) .scene .film-play,body:has(#ward-archive:not([hidden])) .ward-story .film-play,body:has(#meal-film-panel:not([hidden])) .meal-story .film-play,body:has(.goodrx-archive[data-open="true"]) .goodrx-story .film-play{visibility:hidden!important;pointer-events:none}

#slideshow{position:relative;display:inline-flex;align-items:stretch;height:32px;pointer-events:auto;isolation:isolate}
#slideshow::before{content:'';position:absolute;inset:0;z-index:-1;transform:skewX(-14deg);background:#101013;border:1px solid #ffffff40;box-shadow:0 3px 12px #0008}
#slideshow>button{display:inline-flex;align-items:center;justify-content:center;height:100%;padding:0;background:none;border:0;color:#f1ede6;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:color .15s}
#slideshow-play{width:40px}
#slideshow-play .control-symbol{width:14px;height:14px}
#slideshow-play[aria-pressed=true]{color:#ff2f3b}
#slideshow-play[aria-busy=true]{opacity:.65}
#slideshow-speed{position:relative;width:26px}
#slideshow-speed::before{content:'';position:absolute;left:0;top:7px;bottom:7px;width:1px;transform:skewX(-14deg);background:#ffffff40}
#slideshow-speed svg{width:10px;height:6px;transition:transform .15s}
#slideshow-speed[aria-expanded=true] svg{transform:rotate(180deg)}
#slideshow>button:focus-visible{outline:2px solid #ff7b85;outline-offset:1px}
@media(hover:hover) and (pointer:fine){#slideshow>button:hover{color:#ff2f3b}}
#slideshow-menu{position:absolute;right:0;top:calc(100% + 7px);display:grid;min-width:112px;padding:4px;background:#101013;border:1px solid #ffffff40;box-shadow:0 8px 24px #000b}
#slideshow-menu[hidden]{display:none}
#slideshow-menu button{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:34px;padding:5px 9px 0;background:none;border:0;color:#f1ede6;font:500 15px/1 Tallica,sans-serif;letter-spacing:.07em;text-align:left;cursor:pointer}
#slideshow-menu button[aria-checked=true]{color:#ff2f3b}
#slideshow-menu button[aria-checked=true]::after{content:'';width:6px;height:6px;margin-top:-5px;background:#ff2f3b}
#slideshow-menu button:focus-visible{outline:1px solid #ff7b85;outline-offset:-1px}
@media(hover:hover) and (pointer:fine){#slideshow-menu button:hover{background:#26262b}}
body:is(.is-loading,.archive-open,.about-open,.project-film-open,.beat-lab-open,.wilson-game-open,.ward-arcade-open) #slideshow{visibility:hidden;pointer-events:none}

@media(max-width:650px){
 .scene .film-play{min-width:66px;height:26px;padding:5px 14px 0;font-size:13px}
 #slideshow{height:30px}
 #slideshow-play{width:36px}
 #slideshow-speed{width:26px}
}
@media(pointer:coarse) and (max-height:500px) and (min-aspect-ratio:1.35/1){
 .scene .film-play{min-width:56px;height:22px;padding:4px 11px 0;font-size:11.5px}
 .scene .film-play::after{inset:-9px -4px}
 #slideshow{height:26px}
 #slideshow-play{width:32px}
 #slideshow-play .control-symbol{width:12px;height:12px}
 #slideshow-speed{width:24px}
 #slideshow-menu{top:calc(100% + 4px)}
 #slideshow-menu button{min-height:28px;font-size:13px}
}
@media(prefers-reduced-motion:reduce){.scene .film-play,.scene .film-play::before,#slideshow>button,#slideshow-speed svg{transition:none}}
