/* The boom box room. Same single theme as the rest of the foundry. */
.table-top { width: min(100%, 560px); margin-top: 64px;   /* her ask 2026-10-08: same as the TV, clear of the prototype tag on a phone */ display: grid; gap: 22px; justify-items: center; }

.boombox { width: 100%; }
.handle { width: 62%; height: 30px; margin: 0 auto -6px; border: 7px solid #8d8797; border-bottom: 0; box-shadow: inset 0 2px 0 #ffffff44; border-radius: 22px 22px 0 0; }
.body { display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 3%; padding: 4%; border-radius: 16px; border: 4px solid #0b070d;
  background: linear-gradient(180deg, #b9b4c4, #8d8797 40%, #5d5867); box-shadow: 0 22px 50px #000b, inset 0 2px 0 #ffffff55; }
/* the speakers are big (her ask, 2026-10-10) */
.speaker { width: 100%; aspect-ratio: 1; align-self: center; border-radius: 50%; border: 5px solid #0b070d; display: grid; place-items: center;
  background: repeating-radial-gradient(circle, #15101a 0 3px, #2e2836 3px 6px); box-shadow: inset 0 0 0 6px #3a3442, inset 0 6px 14px #000a; }
.speaker i { width: 36%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #46304c, #0b070d); border: 3px solid #0b070d; box-shadow: 0 0 0 5px #1d1622; }
.speaker.thump i { animation: thump .12s ease-out; }
@keyframes thump { 50% { transform: scale(1.12); } }

.middle { display: grid; gap: 8px; align-content: center; }
.tuner { padding: 6px; border-radius: 6px; border: 3px solid #0b070d; background: #120a15; display: grid; gap: 7px; }
.scale { position: relative; height: 30px; border-radius: 3px; background: linear-gradient(180deg, #f6e7a6, #c9a24b); overflow: hidden; cursor: ew-resize; touch-action: none; }
.scale b { position: absolute; bottom: 0; width: 1px; height: 8px; background: #120a15; }
.scale b.big { height: 14px; }
.scale em { position: absolute; top: 1px; font: bold 8px/1 'Crimson Pro',Georgia,serif; font-style: normal; color: #120a15; transform: translateX(-50%); }
.scale u { position: absolute; bottom: 0; width: 2px; height: 30px; margin-left: -1px; background: #ffffff44; }   /* where a station is, a pale line */
.scale u.hers { background: #ff7a3c88; }
.needle { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: #b3123f; box-shadow: 0 0 4px #b3123f; z-index: 1; }

/* SLIDE SWITCHES (her note, 2026-10-10: the band button did not look like a switch, and no modern power word): two words printed
   on the face, a nub that slides to the chosen one and covers the other. The power switch has a small lamp. */
.switches { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.slide { position: relative; display: inline-flex; align-items: center; gap: 0; padding: 0; height: 22px; border-radius: 3px; border: 2px solid #0b070d; background: #2a2330; cursor: pointer; box-shadow: inset 0 2px 4px #000a; }
.slide .w { width: 26px; font: bold 9px/18px 'Crimson Pro',Georgia,serif; letter-spacing: .08em; text-align: center; color: #d9d6e0; }
/* the nub sits over the word NOT chosen, so the word you can read is the one that is on */
.slide .nub { position: absolute; top: 1px; bottom: 1px; width: 24px; left: 27px; border-radius: 2px; background: linear-gradient(180deg, #d9d6e0, #8d8797); border: 1px solid #0b070d; transition: left .14s ease; }
.slide[data-at="1"] .nub { left: 1px; }
.slide .lamp { width: 8px; height: 8px; margin: 0 5px 0 3px; border-radius: 50%; background: #3a1414; border: 1px solid #0b070d; }
.on .slide .lamp { background: #ff7a3c; box-shadow: 0 0 8px #ff7a3c; }
.slide:hover, .slide:focus-visible { outline: 2px solid var(--gold, #c9a24b); outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) { .boombox:not(.on) #power { animation: breathe 2.4s ease-in-out infinite; } @keyframes breathe { 50% { box-shadow: 0 0 0 4px #c9a24b55, 0 0 12px #c9a24b88; } } }
.readout { font: bold 14px/1 "Courier New", monospace; color: #ff7a3c; text-shadow: 0 0 6px #ff7a3c88; opacity: .25; min-width: 44px; text-align: center; }
.on .readout { opacity: 1; }

/* THE PANEL under the dial (her ask, 2026-10-10): tuning knob, seek each way, volume knob */
.panel { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; padding: 2px 4px; }
.bigknob { width: 44px; height: 44px; border-radius: 50%; border: 3px solid #0b070d; padding: 0; cursor: grab; touch-action: none; position: relative;
  background: radial-gradient(circle at 35% 30%, #ffe9a8, var(--gold) 60%, #6d5119); box-shadow: 0 3px 0 #0b070d, 0 5px 8px #0008; }
.bigknob span { position: absolute; left: 50%; top: 8%; width: 3px; height: 34%; margin-left: -1.5px; border-radius: 2px; background: #120a15; }
.seek { display: flex; justify-content: center; gap: 4px; }
.seek button { width: 30px; height: 24px; font: bold 10px/1 'Crimson Pro',Georgia,serif; border-radius: 2px; border: 2px solid #0b070d; border-bottom-width: 4px; background: linear-gradient(180deg, #d9d6e0, #a9a3b4); color: #120a15; cursor: pointer; padding: 0; }
.seek button:active { border-bottom-width: 2px; transform: translateY(2px); }
/* FOUR BLANK BUTTONS: hold one and it remembers where the dial is; press it to go back there. A dot shows it holds something. */
.favs { display: flex; gap: 4px; justify-content: center; }
.favs button { width: 30px; height: 16px; border-radius: 2px; border: 2px solid #0b070d; border-bottom-width: 4px; background: linear-gradient(180deg, #d9d6e0, #a9a3b4); cursor: pointer; padding: 0; position: relative; }
.favs button:active, .favs button.in { border-bottom-width: 2px; transform: translateY(2px); background: #8d8797; }
.favs button.set::after { content: ""; position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: #ff7a3c; box-shadow: 0 0 4px #ff7a3c; }
.favs button:focus-visible, .seek button:focus-visible { outline: 2px solid var(--teal); outline-offset: 1px; }

.deck { display: grid; gap: 6px; }
.cassette-window { position: relative; aspect-ratio: 16 / 9; border-radius: 5px; border: 3px solid #0b070d; background: #0b070d; overflow: hidden; }
.cassette-window iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cassette { position: absolute; inset: 8%; border-radius: 4px; background: #f3e6d3; border: 2px solid #2a1c2e; display: none; }
.loaded .cassette { display: block; }
.reel { position: absolute; top: 38%; width: 22%; aspect-ratio: 1; border-radius: 50%; border: 3px solid #2a1c2e;
  background: repeating-conic-gradient(#2a1c2e 0 30deg, #f3e6d3 30deg 60deg); }
.reel.l { left: 14%; } .reel.r { right: 14%; }
.turning .reel { animation: reel 1.6s linear infinite; }
.turning.back .reel { animation-direction: reverse; }
.turning.half .reel { animation-duration: 3.2s; }
@keyframes reel { to { transform: rotate(360deg); } }
.label { position: absolute; left: 8%; right: 8%; top: 6%; height: 24%; font: 11px/1.2 "Segoe Script", "Bradley Hand", cursive; color: #3b4a8f; text-align: center; overflow: hidden; }
.transport { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.transport button { font: bold 11px/1 'Crimson Pro',Georgia,serif; padding: 6px 0; border-radius: 2px; border: 2px solid #0b070d; background: linear-gradient(180deg, #46304c, #15101a); color: var(--blush); cursor: pointer; }
.transport button:active, .transport button.down { transform: translateY(2px); background: #0b070d; }

/* now playing (2026-10-23): a paper strip under the radio, with the grab button on its end */
.playing { justify-self: center; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; max-width: 100%; padding: 8px 14px; border-radius: 4px; border: 2px solid #0b070d; background: #f3e6d3; color: #120a15; box-shadow: 0 6px 0 #0006; font: 17px/1.3 'Crimson Pro',Georgia,serif; text-align: center; }
.playing[hidden] { display: none; }
.playing > span { font: bold 12px/1 "Courier New", monospace; text-transform: uppercase; letter-spacing: .08em; color: #5a1f4f; }

.beside { display: flex; align-items: flex-end; justify-content: center; gap: 26px; width: 100%; flex-wrap: wrap; }
.recorder { display: grid; grid-template-columns: auto auto; gap: 8px 12px; align-items: center; padding: 12px 14px; border-radius: 8px; border: 3px solid #0b070d;
  background: linear-gradient(180deg, #2f6f6a, #163f3b); box-shadow: 0 12px 26px #000a; }
.mic { grid-column: 1 / 3; height: 26px; border-radius: 4px; border: 2px solid #0b070d; background: repeating-linear-gradient(90deg, #0b070d 0 3px, #4fb3a9 3px 5px); }
.rec { width: 34px; height: 34px; border-radius: 50%; border: 3px solid #0b070d; background: radial-gradient(circle at 35% 30%, #ff8aa0, #b3123f 60%, #5e0c2c); cursor: pointer; padding: 0; }
.rec[aria-pressed="true"] { box-shadow: 0 0 16px #ff3c5c; animation: recording 1.2s ease-in-out infinite; }
@keyframes recording { 50% { box-shadow: 0 0 4px #ff3c5c; } }
.counter { font: bold 15px/1 "Courier New", monospace; padding: 4px 6px; border-radius: 3px; background: #f3e6d3; color: #120a15; border: 2px solid #0b070d; }

.stack-tapes { display: flex; flex-direction: column-reverse; gap: 0; min-width: 150px; }
.tape { position: relative; width: 150px; height: 26px; margin-top: -3px; border-radius: 3px; border: 2px solid #0b070d; cursor: pointer; padding: 0 8px; text-align: left;
  font: 12px/22px "Segoe Script", "Bradley Hand", cursive; color: #3b4a8f; background: #f3e6d3; box-shadow: 0 3px 0 #0006; transform: rotate(var(--lean, 0deg)); }
.tape:nth-child(2n) { --lean: -1.5deg; } .tape:nth-child(3n) { --lean: 2deg; background: #f7cfd8; } .tape:nth-child(4n) { background: #cfe8d5; }
.tape.in-deck { visibility: hidden; }

.door.small { width: 46px; height: 72px; border-radius: 23px 23px 3px 3px; border-width: 3px; }
.door.small .knob { width: 7px; height: 7px; right: 7px; }
button:focus-visible, .scale:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

@media (max-width: 460px) { .body { grid-template-columns: .75fr 1.7fr .75fr; padding: 4% 3%; gap: 2%; } .bigknob { width: 38px; height: 38px; } .slide .w { width: 22px; } .slide .nub { width: 20px; left: 23px; } .slide[data-at="1"] .nub { left: 1px; } }
@media (prefers-reduced-motion: reduce) { .turning .reel, .rec[aria-pressed="true"], .speaker.thump i { animation: none; } }

/* THE MAIL SLOT (2026-10-21): a padded mailer on the floor beside the tapes, addressed to the station; the way to drop.html */
.mailer-link { position: relative; display: block; width: 92px; height: 64px; border-radius: 5px; border: 3px solid #0b070d; background: linear-gradient(180deg, #b8905a, #8a6640); box-shadow: 0 6px 0 #0006; transform: rotate(3deg); transition: transform .2s ease; }
.mailer-link .flap { position: absolute; left: -3px; right: -3px; top: -3px; height: 14px; border: 3px solid #0b070d; border-radius: 5px 5px 0 0; background: #c9a06a; }
.mailer-link .label { position: absolute; left: 8px; right: 24px; top: 20px; height: 32px; display: flex; align-items: center; justify-content: center; padding: 0 2px; background: #f3e6d3; border: 2px solid #0b070d; font: bold 9px/1.1 "Courier New", monospace; font-style: normal; text-transform: uppercase; color: #2a1c2e; text-align: center; }
.mailer-link::after { content: ""; position: absolute; right: 6px; top: 22px; width: 12px; height: 14px; background: var(--gold); border: 2px dotted #0b070d; }
.mailer-link:hover, .mailer-link:focus-visible { transform: rotate(0deg) translateY(-4px); outline: 3px solid var(--gold); outline-offset: 4px; }
/* THE DIAL CARD, PLACED (2026-10-23): her banner leads to the station's shows; the station's other pages hang under it as tags */
.dialcard { justify-self: center; display: block; position: relative; width: min(440px, 100%); margin-top: 12px; box-shadow: 0 6px 0 #0006; border: 2px solid #0b070d; text-decoration: none; }
.dialcard img { display: block; width: 100%; height: auto; }
.dialcard span { position: absolute; right: 8px; bottom: 6px; font: bold 12px/1 "Courier New", monospace; text-transform: uppercase; letter-spacing: .08em; background: #f3e6d3; color: #5a1f4f; padding: 5px 7px; border: 2px solid #0b070d; }
.stationdoors { justify-self: center; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 100%; margin-top: 10px; }
.stationdoors a { font: bold 12px/1 "Courier New", monospace; text-transform: uppercase; letter-spacing: .06em; background: #f3e6d3; color: #120a15; padding: 7px 9px; border: 2px solid #0b070d; box-shadow: 0 3px 0 #0006; text-decoration: none; }
.stationdoors a:nth-child(2n) { transform: rotate(-1.5deg); } .stationdoors a:nth-child(3n) { transform: rotate(1.2deg); }

/* the way back to the bedroom, only when the stereo in the room opened this page (boombox.js, 31 October): the room's own
   turn arrow, as on the portrait page */
.away { position: fixed; left: 10px; bottom: calc(var(--skirt, 74px) + 12px); z-index: 31; display: flex; align-items: center; gap: 6px; text-decoration: none; color: #c9a24b; }
.away span { width: 46px; height: 46px; display: grid; place-items: center; border: 2px solid #c9a24b; border-radius: 50%; background: #2a0a14cc;
  font: bold 30px / 1 "Crimson Pro", Georgia, serif; padding-bottom: 4px; box-sizing: border-box; }
.away b { font: italic 600 14px / 1 Lora, Georgia, serif; background: #2a0a14cc; color: #f3d98c; padding: 5px 9px; border-radius: 3px; }
.away:focus-visible span, .away:hover span { background: #4e1230; box-shadow: 0 0 0 3px #4fb3a9; }
.away:focus-visible { outline: none; }
