/* The archived recorder becomes a real listening device for approved memories. */
.story-deck { min-width: 0; color: white; margin: 10px 0 26px; }
.deck-handle { width: 66%; height: 30px; border: 9px solid black; border-bottom: 0; border-radius: 10px 10px 0 0; margin: auto; }
.deck-body { padding: 18px; background: black; border: 2px solid var(--orange); border-radius: 16px; box-shadow: 5px 7px 0 var(--orange); }
.deck-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 18px; }
.deck-grille { width: 48%; height: 35px; background: repeating-linear-gradient(0deg, transparent 0 3px, #555 3px 5px); border-radius: 18px; }
.deck-counter { font: 700 16px/1 var(--label); border: 1px solid #777; padding: 8px; color: var(--orange); font-variant-numeric: tabular-nums; }
.deck-cassette { padding: 16px 12px 12px; border: 1px solid #777; border-radius: 7px; }
.deck-label { margin: 0; padding: 10px; color: black; background: var(--orange); font: 28px/1.05 var(--display); text-transform: uppercase; overflow-wrap: anywhere; }
.deck-credit { margin: 0; padding: 0 10px 12px; background: var(--orange); color: black; font: 13px/1.35 var(--body); overflow-wrap: anywhere; }
.deck-window { position: relative; height: 72px; margin: 20px 0 14px; display: flex; align-items: center; justify-content: space-around; isolation: isolate; }
.deck-tape { position: absolute; z-index: -1; width: 65%; height: 34px; border-block: 4px solid var(--orange); }
.deck-reel { width: 62px; height: 62px; border-radius: 50%; background: var(--orange) url('/assets/tape-reel.svg') center / contain no-repeat; border: 4px solid var(--orange); animation: memory-reel 3s linear infinite; animation-play-state: paused; }
.story-deck[data-state="playing"] .deck-reel { animation-play-state: running; }
@keyframes memory-reel { to { transform: rotate(360deg); } }
.deck-brands { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.deck-brands img:first-child { width: 52%; height: auto; }
.deck-brands img:last-child { width: 27%; height: auto; }
.deck-seek { display: flex; align-items: center; gap: 12px; margin: 18px 0; }
.deck-seek input { width: 100%; min-width: 0; height: 44px; margin: 0; accent-color: var(--orange); cursor: pointer; }
.deck-duration { font: 13px/1 var(--body); white-space: nowrap; font-variant-numeric: tabular-nums; }
.deck-controls { display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; }
.deck-controls button { min-height: 58px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 8px; border: 1px solid white; border-radius: 3px; background: white; color: black; box-shadow: 0 4px 0 #888; font: 700 14px/1.2 var(--label); cursor: pointer; }
.deck-controls .deck-play { background: var(--orange); border-color: var(--orange); box-shadow: 0 4px 0 #b7621c; }
.deck-controls button:hover { background: white; }
.deck-controls button:active { transform: translateY(3px); box-shadow: 0 1px 0 #888; }
.deck-controls button:focus-visible, .deck-seek input:focus-visible { outline: 3px solid white; outline-offset: 5px; }
.deck-status { font: 13px/1.4 var(--body); margin: 0; }
.deck-status:not(:empty) { margin-top: 18px; }
@media (max-width: 400px) { .deck-body { padding: 12px; } .deck-cassette { padding: 12px 8px; } .deck-label { font-size: 25px; } .deck-controls button { font-size: 13px; gap: 6px; } .deck-reel { width: 52px; height: 52px; } }
@media (prefers-reduced-motion: reduce) { .deck-reel { animation: none; } .deck-controls button:active { transform: none; } }
