/* ============================================================
   PALE//TWIN — The Listening Room (immersive demo)
   Visual identity pulled from the real paletwin.com repo
   (zmaya13/twin-command-center):
   - monochrome moonlit palette: bg #080808, fg #f5f5f5
   - accent red #cc0000
   - Archivo Black (display), Space Grotesk (body),
     Permanent Marker (handwritten accents)
   - film-grain SVG noise overlay, sharp corners
   ============================================================ */

@font-face {
  font-family: 'Archivo Black';
  src: url('assets/fonts/archivo-black-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('assets/fonts/space-grotesk-var.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: 'Permanent Marker';
  src: url('assets/fonts/permanent-marker-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #080808;
  --bg-soft: #0a0a0a;
  --fg: #f5f5f5;
  --fg-dim: #8a8a8a;
  --fg-faint: #555555;
  --accent: #cc0000;
  --accent-glow: rgba(204, 0, 0, 0.55);
  --cassette: #1c1c1e;
  --cassette-label: #0f0f10;
  --btn: #2a2a2c;
  --border: #232323;
  --amber: #ffb347;
  --amber-dim: #8a5a20;
  --wood-1: #2b1d11;
  --wood-2: #1c120a;
  --display: 'Archivo Black', 'Arial Black', sans-serif;
  --body: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --marker: 'Permanent Marker', cursive;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: #030303;
  color: var(--fg);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* film grain over everything */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 4000;
  pointer-events: none;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

::selection { background: rgba(245, 245, 245, 0.85); color: #080808; }
h1, h2, h3 { font-family: var(--display); text-transform: uppercase; letter-spacing: -0.02em; }
button { font-family: inherit; }

/* ================= ENTRY ================= */
#entry {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1.4s ease;
}
body.entered #entry { opacity: 0; pointer-events: none; }
.entry-inner { text-align: center; padding: 24px; }
.entry-logo {
  font-family: var(--display);
  font-size: clamp(40px, 9vw, 96px);
  letter-spacing: -0.02em;
  animation: flicker 4s ease-in-out infinite;
}
.entry-logo .slash { color: var(--accent); text-shadow: 0 0 18px var(--accent-glow), 0 0 60px rgba(204, 0, 0, 0.35); }
.entry-tag {
  margin-top: 14px;
  font-size: 14px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
#enter-btn {
  margin-top: 46px;
  position: relative;
  width: 148px; height: 148px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #1e1e22, #0a0a0c 70%);
  border: 2px solid #2c2c30;
  color: var(--fg);
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 0.15s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 0 0 rgba(204, 0, 0, 0), inset 0 2px 6px rgba(255,255,255,0.06), inset 0 -6px 14px rgba(0,0,0,0.8);
}
#enter-btn:hover {
  border-color: var(--accent);
  box-shadow: 0 0 34px rgba(204, 0, 0, 0.45), inset 0 2px 6px rgba(255,255,255,0.06), inset 0 -6px 14px rgba(0,0,0,0.8);
}
#enter-btn:active { transform: scale(0.94); }
.enter-ring {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  box-shadow: 0 0 14px var(--accent-glow);
  animation: pulseRing 2s ease-in-out infinite;
}
@keyframes pulseRing { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.45; transform: scale(0.88); } }
.enter-label {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.entry-note {
  margin-top: 30px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fg-faint);
}

@keyframes flicker {
  0%, 100% { opacity: 1; }
  92% { opacity: 1; }
  93% { opacity: 0.72; }
  94% { opacity: 1; }
  96% { opacity: 0.85; }
  97% { opacity: 1; }
}

/* ================= ROOM ATMOSPHERE ================= */
#room { opacity: 0; transition: opacity 1.8s ease 0.25s; }
body.entered #room { opacity: 1; }
body.locked { overflow: hidden; }

#dust {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.7;
}

.lamp-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 46% 34% at 79% 6%, rgba(255, 170, 80, 0.13), transparent 70%),
    radial-gradient(ellipse 60% 45% at 12% 20%, rgba(120, 140, 200, 0.045), transparent 65%),
    radial-gradient(ellipse 90% 70% at 50% 115%, rgba(204, 0, 0, 0.05), transparent 70%);
  animation: lampFlicker 9s ease-in-out infinite;
}
@keyframes lampFlicker {
  0%, 100% { opacity: 1; }
  41% { opacity: 1; }
  42% { opacity: 0.93; }
  43% { opacity: 1; }
  77% { opacity: 1; }
  78% { opacity: 0.96; }
  79% { opacity: 1; }
}

/* hanging lamp shade silhouette, top right */
.lamp-shade {
  position: fixed;
  top: -30px;
  right: 12%;
  width: 190px;
  height: 120px;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, #0a0a0a, #141414 60%, #1e1a14);
  clip-path: polygon(38% 0, 62% 0, 100% 100%, 0% 100%);
  opacity: 0.9;
}
.lamp-shade::before {
  content: '';
  position: absolute;
  top: 0; left: 49.4%;
  width: 3px; height: 34px;
  background: #000;
}
.lamp-shade::after {
  content: '';
  position: absolute;
  bottom: -8px; left: 12%; right: 12%;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 190, 110, 0.55), transparent 70%);
  filter: blur(6px);
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 3000;
  pointer-events: none;
  background: radial-gradient(ellipse 105% 90% at 50% 45%, transparent 52%, rgba(0, 0, 0, 0.62) 100%);
}

/* ================= WALL: poster + header ================= */
.poster {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding: 54px 20px 0;
}
.poster-inner {
  border: 10px solid #101012;
  background:
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(204, 0, 0, 0.16), transparent 70%),
    linear-gradient(160deg, #0d0d0f, #060607);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), inset 0 0 40px rgba(0, 0, 0, 0.6);
  padding: 40px 54px;
  text-align: center;
  transform: rotate(-1.2deg);
  max-width: 560px;
}
.poster-band {
  font-family: var(--display);
  font-size: clamp(34px, 6vw, 58px);
  animation: flicker 5s ease-in-out infinite;
}
.poster-band .slash { color: var(--accent); text-shadow: 0 0 16px var(--accent-glow); }
.poster-tag { margin-top: 12px; font-size: 13px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--fg); }
.poster-sub { margin-top: 8px; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--fg-dim); }

.room-head {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 44px 20px 8px;
}
.room-head h1 {
  font-size: clamp(30px, 5vw, 52px);
  text-shadow: 0 0 24px rgba(255, 255, 255, 0.22);
}
.room-head h1 .slash { color: var(--accent); text-shadow: 0 0 18px var(--accent-glow); }
.room-head .tagline {
  margin-top: 10px;
  font-family: var(--marker);
  font-size: clamp(16px, 2.4vw, 21px);
  color: var(--fg);
}
.room-head .genre {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

/* ================= view switcher ================= */
.view-switch {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  margin: 34px 0 0;
}
.view-switch button {
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(10, 10, 10, 0.72);
  color: var(--fg-dim);
  border: 1px solid var(--border);
  padding: 13px 32px;
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(4px);
}
.view-switch button + button { border-left: none; }
.view-switch button:hover { color: var(--fg); }
.view-switch button.active {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 24px var(--accent-glow);
}

.view { display: none; }
.view.active { display: block; animation: fadeUp 0.6s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ================= DESK SURFACE ================= */
.desk-surface {
  position: relative;
  z-index: 2;
  margin: 40px auto 0;
  max-width: 1180px;
  padding: 56px 28px 70px;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0) 22%),
    repeating-linear-gradient(0deg, transparent 0 118px, rgba(0, 0, 0, 0.5) 118px 121px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.014) 0 2px, transparent 2px 90px),
    linear-gradient(165deg, var(--wood-1), var(--wood-2) 70%);
  border-top: 1px solid #000;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    inset 0 30px 60px rgba(0, 0, 0, 0.55),
    0 -20px 60px rgba(0, 0, 0, 0.6);
}
.desk-hint {
  text-align: center;
  margin-bottom: 34px;
  min-height: 24px;
}
.desk-hint .marker-note {
  font-family: var(--marker);
  font-size: 17px;
  color: var(--fg);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

/* ================= TAPE CASES (jewel cases on the desk) ================= */
.cases-row {
  display: flex;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
  perspective: 1200px;
}
.case {
  width: 300px;
  position: relative;
  cursor: pointer;
  transform: rotate(-3.5deg);
  transition: transform 0.35s ease;
  filter: drop-shadow(0 22px 28px rgba(0, 0, 0, 0.75));
}
.case:nth-child(2) { transform: rotate(2.8deg); }
.case:hover { transform: rotate(0deg) translateY(-6px); }
.case:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }

.case-tray {
  position: relative;
  height: 190px;
  background: linear-gradient(160deg, #1a1a1d, #0c0c0e);
  border: 1px solid #000;
  border-radius: 4px;
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.85);
  overflow: hidden;
}
/* clear plastic sheen over the tray */
.case-tray::after {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,0.09), transparent 38%);
}
.case-lid {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 190px;
  z-index: 3;
  transform-origin: top center;
  transition: transform 0.55s cubic-bezier(0.3, 0.9, 0.3, 1);
  background: linear-gradient(160deg, rgba(38,38,42,0.92), rgba(18,18,20,0.94));
  border: 1px solid #000;
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(1px);
}
.case-lid::after {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  border-radius: 4px;
  background: linear-gradient(115deg, rgba(255,255,255,0.14), transparent 42%);
}
.case.open .case-lid { transform: rotateX(-104deg); }

.jcard {
  position: absolute;
  inset: 10px;
  background:
    linear-gradient(175deg, #efe9dc, #ddd3bf 70%, #cfc2a8);
  padding: 14px 16px;
  color: #191512;
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}
.jcard::before { /* red spine stripe like a real J-card */
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 9px;
  background: linear-gradient(180deg, var(--accent), #6d0000);
}
.jcard-band {
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: 0.08em;
  padding-left: 8px;
}
.jcard-title {
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #5a4f40;
  margin: 3px 0 8px;
  padding-left: 8px;
}
.jcard-title span { color: var(--accent); font-weight: 700; }
.jcard ol {
  list-style: none;
  padding-left: 8px;
  font-family: var(--marker);
  font-size: 14.5px;
  line-height: 1.5;
  color: #221c15;
}
.jcard ol li i { font-style: normal; font-family: var(--body); font-size: 10px; color: #8a7a63; margin-right: 4px; }
.jcard-foot {
  position: absolute;
  bottom: 8px; left: 0; right: 0;
  text-align: center;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #8a7a63;
}

/* the tape sitting in the tray */
.case-tape {
  position: absolute;
  left: 50%; top: 50%;
  width: 218px; height: 128px;
  transform: translate(-50%, -50%);
  background: linear-gradient(165deg, #2b2b2f, #17171a 60%, #0e0e10);
  border: 1px solid #000;
  border-radius: 3px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255,255,255,0.08);
  cursor: pointer;
  transition: transform 0.25s ease, opacity 0.3s ease;
  z-index: 2;
}
.case-tape:hover { transform: translate(-50%, -50%) scale(1.04); }
.case-tape.in-deck { opacity: 0; pointer-events: none; transform: translate(-50%, -50%) scale(0.9); }
.ct-window {
  position: absolute;
  left: 34px; right: 34px; top: 26px;
  height: 46px;
  background: linear-gradient(180deg, rgba(0,0,0,0.75), rgba(0,0,0,0.4));
  border: 1px solid #000;
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.ct-reel {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 2px solid #3d3d41;
  background: radial-gradient(circle, #050505 32%, #26262a 36%, #101013 72%);
  position: relative;
}
.ct-reel::before {
  content: '';
  position: absolute; inset: 5px;
  border-radius: 50%;
  background:
    linear-gradient(0deg, transparent 44%, #55555c 44%, #55555c 56%, transparent 56%),
    linear-gradient(90deg, transparent 44%, #55555c 44%, #55555c 56%, transparent 56%),
    linear-gradient(45deg, transparent 44%, #55555c 44%, #55555c 56%, transparent 56%);
}
.ct-label {
  position: absolute;
  bottom: 8px; left: 0; right: 0;
  text-align: center;
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--accent);
  text-shadow: 0 0 8px var(--accent-glow);
}
.case-spine {
  margin-top: 12px;
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--fg-dim);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

/* flying tape clone during insert/eject */
.fly-tape {
  position: fixed;
  z-index: 4500;
  width: 218px; height: 128px;
  background: linear-gradient(165deg, #2b2b2f, #17171a 60%, #0e0e10);
  border: 1px solid #000;
  border-radius: 3px;
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.8);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fly-tape .ct-window {
  position: static;
  width: 150px;
  margin: 0;
}

/* ================= THE DECK ================= */
.deck {
  max-width: 780px;
  margin: 0 auto 40px;
  position: relative;
  background: linear-gradient(145deg, #26262a, var(--cassette) 55%, #070708);
  border: 1px solid #000;
  border-radius: 6px;
  box-shadow:
    0 34px 80px rgba(0, 0, 0, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -4px 10px rgba(0, 0, 0, 0.65);
  padding: 30px 40px 30px;
}
.deck::before { /* brushed metal */
  content: '';
  position: absolute; inset: 0;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0.32;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,0.045) 0 1px, transparent 1px 3px);
}
.deck.slim { max-width: 780px; }
.screw {
  position: absolute;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #63636a, #141416 62%, #000);
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.9), 0 1px 2px rgba(255,255,255,0.08);
  z-index: 6;
}
.screw::after {
  content: '';
  position: absolute;
  left: 1px; right: 1px; top: 50%;
  height: 2px; margin-top: -1px;
  background: rgba(0, 0, 0, 0.75);
  transform: rotate(38deg);
}
.screw.tl { top: 12px; left: 12px; } .screw.tr { top: 12px; right: 12px; }
.screw.bl { bottom: 12px; left: 12px; } .screw.br { bottom: 12px; right: 12px; }
.screw.tr::after { transform: rotate(-24deg); }
.screw.bl::after { transform: rotate(71deg); }
.screw.br::after { transform: rotate(-58deg); }

.deck-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.deck-brand {
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: 0.2em;
  color: #d8d8d8;
  text-shadow: 0 1px 2px rgba(0,0,0,0.9);
}
.deck-brand em { font-style: normal; color: var(--fg-faint); font-size: 12px; letter-spacing: 0.3em; margin-left: 8px; }
.deck-lcd {
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  background: linear-gradient(180deg, #120b04, #1d1106);
  border: 1px solid #000;
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.9), 0 0 10px rgba(255, 179, 71, 0.12);
  padding: 9px 16px;
  text-shadow: 0 0 8px rgba(255, 179, 71, 0.65);
  min-height: 34px;
  display: flex;
  align-items: center;
}
.deck-lcd .ok { color: #7dff9a; text-shadow: 0 0 8px rgba(125, 255, 154, 0.6); }

/* ---- reel window: glass, two winding packs, head block ---- */
.reel-window {
  position: relative;
  background: linear-gradient(180deg, rgba(0,0,0,0.72), rgba(0,0,0,0.34));
  border: 1px solid #000;
  border-radius: 4px;
  box-shadow: inset 0 0 44px rgba(0, 0, 0, 0.92), inset 0 2px 8px rgba(0,0,0,0.9);
  min-height: 178px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 26px 40px;
  overflow: hidden;
}
.glass-sheen {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 5;
  background: linear-gradient(118deg, rgba(255,255,255,0.10), transparent 34%, transparent 70%, rgba(255,255,255,0.04));
}
.reel {
  width: 118px; height: 118px;
  position: relative;
  flex: none;
}
.rotor {
  position: absolute; inset: 0;
  will-change: transform;
}
.pack {
  position: absolute;
  left: 50%; top: 50%;
  width: var(--pack, 88%);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, #241407 58%, #170c04 72%, #0b0603 100%);
  box-shadow: inset 0 0 14px rgba(0, 0, 0, 0.85), 0 0 2px rgba(0,0,0,0.9);
  transition: width 0.4s linear;
}
.spokes {
  position: absolute; inset: 6px;
  border-radius: 50%;
  border: 3px solid #45454c;
  background:
    linear-gradient(0deg, transparent 43%, rgba(90,90,100,0.85) 43%, rgba(90,90,100,0.85) 57%, transparent 57%),
    linear-gradient(60deg, transparent 43%, rgba(90,90,100,0.85) 43%, rgba(90,90,100,0.85) 57%, transparent 57%),
    linear-gradient(120deg, transparent 43%, rgba(90,90,100,0.85) 43%, rgba(90,90,100,0.85) 57%, transparent 57%);
  box-shadow: inset 0 0 10px rgba(0,0,0,0.7);
}
.hub {
  position: absolute;
  left: 50%; top: 50%;
  width: 26px; height: 26px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #6a6a72, #1c1c20 70%);
  border: 2px solid #000;
  box-shadow: 0 0 6px rgba(0,0,0,0.9);
  z-index: 2;
}
.head-block {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  padding-bottom: 6px;
  z-index: 1;
}
.head-block i {
  width: 12px; height: 34px;
  background: linear-gradient(180deg, #3c3c42, #17171a);
  border: 1px solid #000;
  border-radius: 2px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}
.tape-thread {
  position: absolute;
  left: 8%; right: 8%;
  top: 50%;
  height: 2px;
  margin-top: 34px;
  background: linear-gradient(90deg, transparent, rgba(60, 36, 18, 0.9) 12%, rgba(60, 36, 18, 0.9) 88%, transparent);
  z-index: 1;
}

/* ---- counter + VU meters ---- */
.meter-row {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 18px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.counter {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(180deg, #0a0a0b, #141416);
  border: 1px solid #000;
  box-shadow: inset 0 0 16px rgba(0, 0, 0, 0.9);
  padding: 10px 16px;
  border-radius: 3px;
}
.digits { display: flex; gap: 5px; }
.digit {
  width: 24px; height: 34px;
  overflow: hidden;
  background: #050505;
  border: 1px solid #1e1e22;
  border-radius: 2px;
}
.strip {
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.3, 0.8, 0.3, 1);
}
.strip span {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--body);
  font-size: 22px;
  font-weight: 600;
  color: #e8e8e8;
  text-shadow: 0 0 6px rgba(255,255,255,0.25);
}
.counter-label {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--fg-faint);
}

.vu-meters { display: flex; gap: 14px; }
.vu-meter { text-align: center; }
.vu-meter span {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--fg-faint);
}
.vu-face {
  width: 104px; height: 62px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #151310, #0d0c0a);
  border: 1px solid #000;
  border-radius: 3px;
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.9);
  transition: background 0.5s ease, box-shadow 0.5s ease;
}
.vu-meters.lit .vu-face {
  background: linear-gradient(180deg, #3d2a10, #241806 70%, #170f04);
  box-shadow: inset 0 0 22px rgba(255, 170, 60, 0.35), 0 0 14px rgba(255, 170, 60, 0.18);
}
.vu-ticks {
  position: absolute; inset: 6px 8px auto;
  height: 20px;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.28) 0 1px, transparent 1px 9px);
  -webkit-mask-image: radial-gradient(ellipse 90% 130% at 50% 130%, #000 55%, transparent 72%);
  mask-image: radial-gradient(ellipse 90% 130% at 50% 130%, #000 55%, transparent 72%);
  opacity: 0.5;
}
.vu-needle {
  position: absolute;
  left: 50%; bottom: 4px;
  width: 2px; height: 46px;
  margin-left: -1px;
  background: linear-gradient(180deg, #ff5a4a, #a02318);
  box-shadow: 0 0 5px rgba(255, 90, 74, 0.7);
  transform-origin: 50% 100%;
  transform: rotate(-42deg);
  will-change: transform;
}
.vu-needle::after {
  content: '';
  position: absolute;
  left: 50%; bottom: -4px;
  width: 10px; height: 10px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #55555c, #101012);
}

/* ---- tape well ---- */
.tape-well {
  margin-top: 20px;
  min-height: 118px;
  background: linear-gradient(180deg, rgba(0,0,0,0.66), rgba(0,0,0,0.4));
  border: 1px solid #000;
  border-radius: 4px;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.well-tape {
  width: 250px; height: 92px;
  background: linear-gradient(165deg, #2e2e33, #17171a 60%, #0e0e10);
  border: 1px solid #000;
  border-radius: 3px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255,255,255,0.08);
  position: relative;
  opacity: 0;
  transform: translateY(-16px) scale(0.96);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.tape-well.loaded .well-tape { opacity: 1; transform: none; }
.wt-window {
  position: absolute;
  left: 44px; right: 44px; top: 18px;
  height: 40px;
  background: linear-gradient(180deg, rgba(0,0,0,0.75), rgba(0,0,0,0.4));
  border: 1px solid #000;
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.wt-reel {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 2px solid #3d3d41;
  background: radial-gradient(circle, #050505 32%, #26262a 36%, #101013 72%);
  position: relative;
}
.wt-reel::before {
  content: '';
  position: absolute; inset: 4px;
  border-radius: 50%;
  background:
    linear-gradient(0deg, transparent 44%, #55555c 44%, #55555c 56%, transparent 56%),
    linear-gradient(120deg, transparent 44%, #55555c 44%, #55555c 56%, transparent 56%);
}
.tape-well.loaded.playing .wt-reel { animation: spin 1.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.wt-label {
  position: absolute;
  bottom: 7px; left: 0; right: 0;
  text-align: center;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.42em;
  color: var(--accent);
  text-shadow: 0 0 8px var(--accent-glow);
}

/* ---- now playing / scrubber / transport ---- */
.now-playing {
  margin-top: 18px;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fg);
  min-height: 18px;
}
.now-playing .live-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  margin-right: 10px;
  animation: blink 1.1s steps(2) infinite;
  vertical-align: 1px;
}
@keyframes blink { 50% { opacity: 0.25; } }

.scrubber {
  margin-top: 16px;
  background: linear-gradient(180deg, #050505, #101113);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 14px rgba(0, 0, 0, 0.85);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.time {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--amber);
  text-shadow: 0 0 6px rgba(255, 179, 71, 0.5);
  min-width: 44px;
}
.time.total { text-align: right; color: var(--fg-dim); text-shadow: none; }
.progress {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.07);
  cursor: pointer;
  position: relative;
}
.progress .fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent), 0 0 18px rgba(204, 0, 0, 0.5);
}
.progress .knob {
  position: absolute;
  top: 50%;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 2px solid var(--accent);
  box-shadow: 0 0 10px var(--accent);
  transform: translate(-50%, -50%);
  left: 0%;
}

.controls {
  margin-top: 22px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.tbtn {
  min-width: 76px;
  padding: 10px 12px 8px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: linear-gradient(180deg, #3a3a3f, var(--btn) 55%, #0b0b0c);
  border: 1px solid #000;
  border-radius: 4px;
  color: #cfcfcf;
  cursor: pointer;
  box-shadow:
    inset 0 -3px 0 rgba(0,0,0,0.65),
    inset 0 1px 0 rgba(255,255,255,0.1),
    0 4px 0 #050505,
    0 6px 14px rgba(0,0,0,0.6);
  transition: transform 0.06s ease, box-shadow 0.06s ease;
}
.tbtn-glyph { font-size: 17px; line-height: 1; color: var(--accent); filter: drop-shadow(0 0 5px var(--accent-glow)); }
.tbtn-cap {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--fg-dim);
  padding-left: 0.3em;
}
.tbtn:hover:not(:disabled) { filter: brightness(1.14); }
.tbtn:active:not(:disabled), .tbtn.pressed {
  transform: translateY(4px);
  box-shadow:
    inset 0 -1px 0 rgba(0,0,0,0.65),
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 0 0 #050505,
    0 2px 6px rgba(0,0,0,0.6);
}
.tbtn:disabled { opacity: 0.32; cursor: not-allowed; }
.tbtn.primary { border-color: #3d0808; }
.tbtn.primary .tbtn-glyph { color: #ff2b2b; }
.tbtn.primary.latched {
  transform: translateY(4px);
  background: linear-gradient(180deg, #7d0f0f, #4a0808 60%, #2a0404);
  box-shadow:
    inset 0 2px 8px rgba(0,0,0,0.7),
    0 0 18px rgba(204, 0, 0, 0.5);
}
.tbtn.primary.latched .tbtn-glyph { color: #fff; }
.tbtn.eject .tbtn-glyph { color: var(--amber); filter: drop-shadow(0 0 5px rgba(255,179,71,0.5)); }

.volume-row {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--fg-dim);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
input[type="range"].vol {
  -webkit-appearance: none;
  appearance: none;
  width: 170px;
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
  cursor: pointer;
}
input[type="range"].vol::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 2px solid var(--accent);
  box-shadow: 0 0 10px var(--accent);
}
input[type="range"].vol::-moz-range-thumb {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 2px solid var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

/* ---- side flip + tracklist ---- */
.side-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.side-indicator {
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: 0.24em;
  color: var(--fg);
  text-shadow: 0 2px 8px rgba(0,0,0,0.9);
}
.side-indicator em { font-style: normal; color: var(--accent); text-shadow: 0 0 10px var(--accent-glow); }
.flip-btn {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(10,10,10,0.7);
  color: var(--fg);
  border: 1px solid var(--border);
  padding: 12px 24px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.flip-btn:hover:not(:disabled) { border-color: var(--accent); color: #fff; box-shadow: 0 0 16px rgba(204, 0, 0, 0.4); }
.flip-btn:disabled { opacity: 0.35; cursor: not-allowed; }

.tracklist {
  max-width: 780px;
  margin: 0 auto 26px;
  border: 1px solid var(--border);
  background: rgba(8, 8, 8, 0.72);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.6);
}
.track {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 15px 20px;
  cursor: pointer;
  border-bottom: 1px solid #161616;
  transition: background 0.2s ease;
}
.track:last-child { border-bottom: none; }
.track:hover { background: rgba(255, 255, 255, 0.045); }
.track:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.track .num { font-size: 12px; color: var(--fg-faint); width: 26px; flex: none; font-variant-numeric: tabular-nums; }
.track .title { font-family: var(--display); font-size: 15px; letter-spacing: 0.06em; flex: 1; }
.track .desc { font-size: 12px; color: var(--fg-dim); letter-spacing: 0.08em; }
.track .yt-tag {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-faint);
  border: 1px solid var(--border);
  padding: 5px 10px;
  flex: none;
}
.track.active { background: rgba(204, 0, 0, 0.1); box-shadow: inset 3px 0 0 var(--accent); }
.track.active .title { color: #fff; }
.track.active .yt-tag { color: var(--accent); border-color: var(--accent); }
.track .eq { display: none; width: 18px; flex: none; }
.track.active.playing .eq { display: inline-block; }
.track.active.playing .eq i {
  display: inline-block; width: 3px; margin-right: 2px;
  background: var(--accent);
  animation: eqBounce 0.6s ease-in-out infinite alternate;
  vertical-align: bottom;
}
.track.active.playing .eq i:nth-child(1) { height: 8px; }
.track.active.playing .eq i:nth-child(2) { height: 14px; animation-delay: 0.15s; }
.track.active.playing .eq i:nth-child(3) { height: 10px; animation-delay: 0.3s; }
@keyframes eqBounce { from { transform: scaleY(0.4); } to { transform: scaleY(1.4); } }
.tracklist-empty {
  padding: 34px 20px;
  text-align: center;
  color: var(--fg-dim);
  font-size: 14px;
  letter-spacing: 0.1em;
}
.tracklist-empty .marker-note { font-family: var(--marker); color: var(--fg); font-size: 17px; display: block; margin-top: 8px; }

/* ================= VINYL: sleeves on the desk ================= */
.sleeves-row {
  display: flex;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.sleeve {
  width: 250px; height: 250px;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 22px 28px rgba(0, 0, 0, 0.75));
}
.sleeve:nth-child(1) { transform: rotate(-4deg); }
.sleeve:nth-child(2) { transform: rotate(3.2deg); }
.sleeve:hover { transform: rotate(0deg) translateY(-8px); }
.sleeve:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.sleeve.selected { outline: 2px solid var(--accent); outline-offset: 8px; }
.sleeve-art {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 115%, rgba(204, 0, 0, 0.22), transparent 70%),
    linear-gradient(160deg, #111113, #070708);
  border: 1px solid #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
}
.sleeve-art::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(255,255,255,0.08), transparent 40%);
  pointer-events: none;
}
.sleeve-art span {
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: 0.06em;
  animation: flicker 6s ease-in-out infinite;
}
.sleeve-art em {
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--accent);
  text-shadow: 0 0 8px var(--accent-glow);
}
.sleeve-spine {
  position: absolute;
  bottom: -30px; left: 0; right: 0;
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--fg-dim);
  text-shadow: 0 2px 6px rgba(0,0,0,0.9);
}

/* ================= TURNTABLE ================= */
.turntable {
  max-width: 780px;
  margin: 0 auto 40px;
  position: relative;
  background: linear-gradient(145deg, #241a10, #171008 55%, #0b0704);
  border: 1px solid #000;
  border-radius: 6px;
  box-shadow:
    0 34px 80px rgba(0, 0, 0, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -4px 10px rgba(0, 0, 0, 0.6);
  padding: 44px 40px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.turntable::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0.25;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 60px);
}
.tt-led {
  position: absolute;
  top: 16px; left: 50%;
  transform: translateX(-50%);
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent), 0 0 24px rgba(204, 0, 0, 0.5);
  animation: blink 2.4s steps(2) infinite;
}
.platter-wrap {
  position: relative;
  width: min(430px, 80vw);
  aspect-ratio: 1;
}
.platter {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, #1b1b1e 62%, #0c0c0e 78%, #050506 100%);
  box-shadow: 0 0 0 8px #0a0a0b, 0 14px 40px rgba(0, 0, 0, 0.85), inset 0 0 40px rgba(0,0,0,0.7);
}
.platter.spinning { animation: spin 1.8s linear infinite; }
.strobe-ring {
  position: absolute; inset: 3.5%;
  border-radius: 50%;
  background: repeating-conic-gradient(rgba(255, 235, 200, 0.5) 0 1.6deg, transparent 1.6deg 4deg);
  -webkit-mask-image: radial-gradient(circle, transparent 88%, #000 88%, #000 94%, transparent 94%);
  mask-image: radial-gradient(circle, transparent 88%, #000 88%, #000 94%, transparent 94%);
  opacity: 0.55;
}
.record {
  position: absolute;
  inset: 5.5%;
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--accent) 0 14.5%, #6d0000 14.5% 15.8%, #0b0b0c 15.8%),
    repeating-radial-gradient(circle, #0d0d0f 0 2px, #17171a 2px 4px);
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.75), 0 4px 18px rgba(0,0,0,0.7);
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.record.on-platter { opacity: 1; transform: scale(1); }
.record.spinning { animation: spin 1.8s linear infinite; } /* true 33⅓ RPM */
.rec-label {
  position: absolute;
  inset: 34%;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  pointer-events: none;
}
.rec-label span {
  font-family: var(--display);
  font-size: clamp(8px, 1.5vw, 11px);
  letter-spacing: 0.18em;
  color: #ffe2e2;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
  white-space: nowrap;
}
.rec-label em {
  font-style: normal;
  font-family: var(--display);
  font-size: clamp(9px, 1.7vw, 12px);
  letter-spacing: 0.3em;
  color: #ffe2e2;
}
.spindle {
  position: absolute;
  top: 50%; left: 50%;
  width: 13px; height: 13px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #8a8a8e, #2a2a2d 70%);
  box-shadow: 0 0 6px rgba(0,0,0,0.9);
  z-index: 4;
}

/* tonearm: pivot top-right, rest -> lift -> swing -> drop */
.tonearm {
  position: absolute;
  top: 2%; right: 5%;
  width: 60px; height: 60px;
  z-index: 5;
  pointer-events: none;
}
.arm-pivot {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #3d3d43, #101012 70%);
  border: 1px solid #000;
  box-shadow: 0 4px 14px rgba(0,0,0,0.8);
}
.arm-tube {
  position: absolute;
  left: 50%; top: 50%;
  width: 5px; height: 150px;
  margin-left: -2.5px;
  transform-origin: 50% 0%;
  background: linear-gradient(180deg, #54545c, #232327);
  box-shadow: 0 0 10px rgba(0,0,0,0.8);
  transform: rotate(58deg);
  transition: transform 1.15s cubic-bezier(0.35, 0.75, 0.3, 1), margin-top 0.28s ease;
}
.headshell {
  position: absolute;
  bottom: -6px; left: 50%;
  width: 30px; height: 13px;
  transform: translateX(-50%) rotate(24deg);
  background: linear-gradient(180deg, #1d1d20, #0c0c0e);
  border: 1px solid #000;
  border-radius: 2px;
}
.headshell::after { /* stylus */
  content: '';
  position: absolute;
  bottom: -9px; left: 50%;
  width: 2px; height: 9px;
  margin-left: -1px;
  background: #c9c9cf;
}
/* rest position: parked to the right on the arm rest */
.tonearm .arm-tube { transform: rotate(58deg); }
/* cueing: lift, swing over the record, drop */
.tonearm.cueing .arm-tube { margin-top: -12px; transform: rotate(58deg); }
.tonearm.on-record .arm-tube { transform: rotate(10deg); margin-top: 0; }
.arm-rest {
  position: absolute;
  top: 24%;
  right: -14%;
  width: 10px; height: 44px;
  background: linear-gradient(180deg, #3a3a40, #141416);
  border: 1px solid #000;
  border-radius: 3px;
  z-index: 4;
}

.tt-controls {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 26px;
  width: 100%;
  justify-content: space-between;
  padding: 0 6px;
}
.tt-speed {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--amber);
  text-shadow: 0 0 8px rgba(255, 179, 71, 0.5);
  border: 1px solid #3a2c16;
  background: #120c05;
  padding: 8px 16px;
  border-radius: 3px;
}
.tt-power {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.tt-power .led {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #2a2a2d;
}
.tt-power .led.on {
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

/* ================= featured / footer ================= */
.featured {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 70px 20px 30px;
  border-top: 1px solid var(--border);
  margin: 10px auto 0;
  max-width: 1180px;
}
.featured h2 { font-size: clamp(22px, 3.4vw, 32px); margin-bottom: 12px; }
.featured p { color: var(--fg-dim); font-size: 14px; letter-spacing: 0.12em; margin-bottom: 26px; }
.yt-link {
  display: inline-block;
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  background: var(--accent);
  padding: 16px 34px;
  box-shadow: 0 0 26px rgba(204, 0, 0, 0.5);
  transition: transform 0.15s ease, box-shadow 0.25s ease;
}
.yt-link:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(204, 0, 0, 0.75); }

footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  margin: 60px auto 0;
  max-width: 1180px;
  padding: 38px 20px 70px;
  text-align: center;
}
footer .f-band { font-family: var(--display); font-size: 18px; letter-spacing: 0.2em; margin-bottom: 10px; }
footer .f-band .slash { color: var(--accent); }
footer p { color: var(--fg-dim); font-size: 13px; letter-spacing: 0.14em; margin-bottom: 8px; }
footer a { color: var(--fg); }
footer .f-note { color: var(--fg-faint); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; margin-top: 18px; }
.kbd-hints { margin-top: 22px !important; font-size: 11px !important; letter-spacing: 0.24em !important; text-transform: uppercase; color: var(--fg-faint) !important; }
.kbd-hints span {
  display: inline-block;
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 3px 9px;
  margin: 0 2px;
  color: var(--fg-dim);
  background: rgba(255,255,255,0.03);
}

/* ================= fullscreen button ================= */
#fs-btn {
  position: fixed;
  right: 18px; bottom: 18px;
  z-index: 4500;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(12, 12, 14, 0.85);
  border: 1px solid var(--border);
  color: var(--fg-dim);
  font-size: 19px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  backdrop-filter: blur(4px);
}
#fs-btn:hover { color: #fff; border-color: var(--accent); box-shadow: 0 0 16px rgba(204, 0, 0, 0.4); }

/* hidden youtube player */
#yt-hidden {
  position: absolute;
  width: 4px; height: 4px;
  opacity: 0.01;
  pointer-events: none;
  overflow: hidden;
}

/* ================= responsive ================= */
@media (max-width: 700px) {
  .deck { padding: 24px 18px 24px; }
  .reel { width: 84px; height: 84px; }
  .reel-window { padding: 20px 18px; min-height: 140px; }
  .meter-row { justify-content: center; }
  .vu-face { width: 86px; height: 54px; }
  .tbtn { min-width: 62px; }
  .track .desc { display: none; }
  .poster-inner { padding: 30px 26px; }
  .lamp-shade { right: 4%; width: 140px; }
  .cases-row, .sleeves-row { gap: 34px; }
  .case { width: 270px; }
  .deck-top-row { justify-content: center; text-align: center; }
}
