/* Authentic Krapp cassette presentation, adapted from web/cassette.css. No audio engine. */
.tape-case{grid-column:1/-1;position:relative;min-height:0;overflow:hidden;border-radius:16px;border:1px solid #080d0b;background:linear-gradient(112deg,#363937,#252a26 48%,#171d19);box-shadow:inset 0 0 0 2px #b0bbb02b,inset 0 0 0 5px #0b140d80,0 2px 1px #ffffff30;color:#e6ebe1;isolation:isolate}
.tape-case:before{content:'';position:absolute;inset:6px;border:1px solid #bac7b51c;border-radius:11px;pointer-events:none;background:repeating-linear-gradient(0deg,#ffffff02 0 1px,transparent 1px 3px);z-index:2}
.tape-screw{position:absolute;width:9px;height:9px;border-radius:50%;background:linear-gradient(130deg,#d8ddd3,#556257 50%,#26392c);box-shadow:0 0 0 1px #020704,0 1px 1px #000;z-index:3}
.tape-screw:after{content:'';height:1px;width:7px;background:#0b130c;position:absolute;top:4px;left:1px;transform:rotate(-35deg)}
.tape-screw.tl{top:12px;left:12px}.tape-screw.tr{top:12px;right:12px}.tape-screw.bl{bottom:12px;left:12px}.tape-screw.br{bottom:12px;right:12px}
.tape-label{position:absolute;top:26px;left:25px;right:25px;height:78px;padding:11px 14px;background:#d9ddd2;color:#18231c;border-radius:2px;box-shadow:0 1px 3px #0008,inset 0 1px #fff8;border-top:4px solid #c75237;z-index:3}
.tape-label span{font:11px/1 ui-monospace,monospace;display:block;margin-bottom:8px}
.tape-label strong{font-size:clamp(22px,7vw,30px);letter-spacing:-1.2px;line-height:1.08;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tape-window{position:absolute;inset:114px 15px 24px 18px;min-height:0}
.tape-mechanism{display:block;width:100%;height:100%;overflow:hidden}
.tape-hub{transform-box:fill-box;transform-origin:center;animation:tape-turn 8s linear infinite;animation-play-state:paused}.tape-hub.second{animation-duration:6.4s}
.cassette-display[data-playback=playing] .tape-hub{animation-play-state:running}
.tape-bottom{position:absolute;left:25px;right:25px;bottom:13px;display:flex;justify-content:center;align-items:center;gap:36px}
.tape-bottom i{width:7px;height:7px;border-radius:50%;background:#020805;box-shadow:0 0 0 1px #6c7d6c}
.tape-bottom span{width:56px;height:4px;background:#0a130c;box-shadow:0 0 0 1px #546550;border-radius:2px}

@keyframes tape-turn{to{transform:rotate(360deg)}}
.krapp-play-story{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:60px;padding-top:120px;padding-bottom:120px}.krapp-play-copy h2{font-size:clamp(80px,11vw,160px);line-height:.88;letter-spacing:-.07em;margin:0 0 32px}.krapp-play-copy p{font-size:20px;line-height:1.4;margin:0 0 32px}.krapp-deck{padding:38px;background:#ff6538;display:flex;justify-content:center}.krapp-deck .cassette-display{width:min(340px,100%);aspect-ratio:340/570;display:grid}.krapp-deck .tape-case{box-sizing:border-box}.krapp-deck .tape-label{box-sizing:border-box}.krapp-motion-toggle{display:inline-flex;align-items:center;gap:14px;background:#111;color:white;border:0;border-radius:999px;padding:18px 24px;font:inherit;cursor:pointer;min-height:56px}.krapp-motion-toggle svg{width:24px;height:24px}.krapp-motion-toggle:focus-visible{outline:3px solid #ff6538;outline-offset:5px}.krapp-motion-toggle:disabled{cursor:default;opacity:.65}@media(max-width:700px){.krapp-play-story{grid-template-columns:1fr;gap:36px;padding-top:64px;padding-bottom:64px}.krapp-play-copy h2{font-size:100px}.krapp-deck{padding:24px}.krapp-play-copy p{font-size:18px}}@media(prefers-reduced-motion:reduce){.krapp-deck .tape-hub{animation:none!important}}
