/* ===== THE REVERIE — DINER ===== */

:root {
  --diner-void: #0a0510;
  --diner-wall: #3d2844;
  --diner-wall-light: #4e3558;
  --diner-wall-accent: #2d1e35;
  --formica-pink: #f2c6d0;
  --formica-check: #eab3bf;
  --formica-dark: #d4929f;
  --vinyl-red: #c43a5a;
  --vinyl-dark: #8b2040;
  --vinyl-highlight: #e05578;
  --cream: #fdf4e8;
  --warm-white: #f5ead6;
  --neon-pink: #ff6b9d;
  --neon-cyan: #6be8e8;
  --neon-purple: #c88bff;
  --neon-warm: #ffb86c;
  --chrome: #d4d0cc;
  --chrome-dark: #9a9590;
  --coffee: #3a1f0d;
  --wood: #6b4226;
  --wood-light: #8b5e3c;
  --wood-dark: #4a2e1a;
  --wallpaper-image: none;       /* replace with: url('images/backgrounds/wallpaper.png') */
  --tablecloth-image: none;      /* replace with: url('images/backgrounds/tablecloth.png') */
}

html, body {
  margin: 0; padding: 0;
  width: 100%; height: 100%;
  overflow: hidden;
  background: var(--diner-void);
  font-family: var(--font-body), serif;
  color: var(--warm-white);
}

/* ========== DINER LAYOUT ========== */
.diner {
  position: fixed; inset: 0;
  display: flex; flex-direction: column;
}

/* ========== WALL ========== */
.wall {
  position: relative;
  flex: 1 1 52%;
  min-height: 0;
  background: var(--diner-wall);
  background-image:
    linear-gradient(45deg, rgba(255,255,255,0.025) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255,255,255,0.025) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.025) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.025) 75%);
  background-size: 28px 28px;
  background-position: 0 0, 0 14px, 14px -14px, -14px 0;
  overflow: hidden;
  /* Tiled wallpaper override — set --wallpaper-image in :root */
  background: var(--wallpaper-image) repeat, var(--diner-wall);
  z-index: 1;
}

.wall-wainscoting {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 38%;
  background: var(--diner-wall-accent);
  background-image: repeating-linear-gradient(
    90deg, transparent, transparent 48px,
    rgba(255,255,255,0.035) 48px, rgba(255,255,255,0.035) 50px
  );
  border-top: 3px solid var(--chrome);
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.3);
}

.wall-light {
  position: absolute; bottom: 0; left: 20%; right: 15%; height: 90%;
  background: radial-gradient(ellipse at 50% 100%, rgba(255,184,108,0.1), transparent 65%);
  pointer-events: none;
}

/* ========== NEON SIGN ========== */
.neon-sign {
  position: absolute;
  top: 6%;
  left: 56%;
  z-index: 5;
}

.neon-text {
  font-family: 'Moonstar', serif;
  font-size: clamp(3.5rem, 2.5vw, 1.6rem);
  letter-spacing: 0.25em;
  color: var(--neon-pink);
  text-shadow:
    0 0 7px var(--neon-pink),
    0 0 20px var(--neon-pink),
    0 0 40px rgba(255,107,157,0.5),
    0 0 80px rgba(255,107,157,0.25);
  animation: neonFlicker 8s ease-in-out infinite;
}

@keyframes neonFlicker {
  0%,100%{opacity:1} 4%{opacity:.85} 6%{opacity:1}
  50%{opacity:1} 52%{opacity:.7} 53%{opacity:1} 54%{opacity:.8} 56%{opacity:1}
}

/* ========== WINDOW ========== */
.window {
  position: absolute;
  top: 8%; left: 5%;
  width: 42%; height: 80%;
  border-radius: 3px;
  overflow: hidden; z-index: 2;
  box-shadow: 0 0 30px rgba(107,232,232,0.04), inset 0 0 20px rgba(0,0,0,0.3);
}

.window-outside {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, #080412, #0c0818, #100a1e);
}

.neon-glow {
  position: absolute; border-radius: 50%;
  filter: blur(40px);
  animation: glowPulse 6s ease-in-out infinite alternate;
}
.neon-glow.pink {
  width:70%; height:60%; top:15%; left:5%;
  background: rgba(255,107,157,0.2);
}
.neon-glow.blue {
  width:55%; height:45%; top:30%; right:0;
  background: rgba(107,232,232,0.15);
  animation-delay: -3s;
}
@keyframes glowPulse {
  0%{opacity:.5;transform:scale(1)} 100%{opacity:1;transform:scale(1.15)}
}

.rain-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%; z-index: 1;
}

.window-condensation {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 70%, rgba(200,220,240,0.06), transparent 50%),
    radial-gradient(ellipse at 70% 40%, rgba(200,220,240,0.04), transparent 40%);
  z-index: 2; pointer-events: none;
}

.window-frame {
  position: absolute; inset: 0;
  border: 8px solid var(--wood);
  border-radius: 3px;
  box-shadow: inset 0 0 12px rgba(0,0,0,0.6), 0 0 10px rgba(0,0,0,0.4);
  z-index: 3; pointer-events: none;
}

.window-pane-v {
  position: absolute; top: 0; bottom: 0; width: 7px;
  background: var(--wood);
  box-shadow: inset -1px 0 2px rgba(255,255,255,0.06), inset 1px 0 2px rgba(0,0,0,0.3);
}
.pane-v1 { left: 33.33%; margin-left: -3.5px; }
.pane-v2 { left: 66.66%; margin-left: -3.5px; }

.window-pane-h {
  position: absolute; left: 0; right: 0; height: 7px;
  background: var(--wood);
  box-shadow: inset 0 -1px 2px rgba(255,255,255,0.06), inset 0 1px 2px rgba(0,0,0,0.3);
}
.pane-h1 { top: 33.33%; margin-top: -3.5px; }
.pane-h2 { top: 66.66%; margin-top: -3.5px; }

/* Window curtains — add src in HTML when ready */
.curtain {
  position: absolute;
  top: 0;
  height: 100%;
  width: auto;
  max-width: 35%;
  z-index: 4;
  pointer-events: none;
  display: none; /* hidden until src is set */
}
.curtain[src]:not([src=""]) {
  display: block;
}
.curtain-left { left: 0; }
.curtain-right { right: 0; }

/* ========== CLOCK ========== */
.clock {
  position: absolute;
  top: 5%; right: 5%;
  width: 130px; height: 130px;
  z-index: 5;
}

.clock-face {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 45% 40%, #fff8f0, var(--cream) 60%, #e8dcc8);
  border: 5px solid var(--neon-pink);
  box-shadow:
    0 4px 18px rgba(0,0,0,0.5),
    0 0 35px rgba(255,107,157,0.15),
    inset 0 1px 4px rgba(0,0,0,0.1);
}

.clock-marker {
  position: absolute;
  font-family: 'Cannabis', serif;
  font-size: 0.7rem;
  color: var(--diner-wall);
  font-weight: bold;
}
.m12 { top: 7px; left: 50%; transform: translateX(-50%); }
.m3  { right: 8px; top: 50%; transform: translateY(-50%); }
.m6  { bottom: 7px; left: 50%; transform: translateX(-50%); }
.m9  { left: 8px; top: 50%; transform: translateY(-50%); }

.clock-dot {
  position: absolute;
  width: 4px; height: 4px;
  background: var(--formica-dark);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%) rotate(var(--angle)) translateY(-42px);
}

.clock-center {
  position: absolute;
  top: 50%; left: 50%;
  width: 10px; height: 10px;
  background: var(--neon-pink);
  border: 2px solid var(--diner-wall-accent);
  border-radius: 50%;
  transform: translate(-50%,-50%);
  z-index: 11;
  box-shadow: 0 0 8px rgba(255,107,157,0.5);
}

.clock-hand {
  position: absolute;
  bottom: 50%; left: 50%;
  transform-origin: bottom center;
  border-radius: 2px;
}
.clock-hand.hour {
  width: 3.5px; height: 26px;
  background: var(--diner-wall-accent);
  margin-left: -1.75px; z-index: 8;
}
.clock-hand.minute {
  width: 2.5px; height: 34px;
  background: var(--diner-wall-accent);
  margin-left: -1.25px; z-index: 9;
}
.clock-hand.second {
  width: 1px; height: 38px;
  background: var(--neon-pink);
  margin-left: -0.5px; z-index: 10;
  box-shadow: 0 0 4px rgba(255,107,157,0.5);
}

/* ========== TABLE ========== */
.table {
  position: relative;
  flex: 0 0 38%;
  z-index: 2;
}

.table-surface {
  position: relative;
  width: 100%; height: 100%;
  background: var(--tablecloth-image) repeat,
    repeating-conic-gradient(var(--formica-pink) 0% 25%, var(--formica-check) 0% 50%)
    0 0 / 30px 30px;
  transform: perspective(800px) rotateX(6deg);
  transform-origin: top center;
  box-shadow: 0 -6px 30px rgba(0,0,0,0.5);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4%;
  padding: 24px 6% 0;
}

.table-edge {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(180deg, var(--chrome), #aaa, var(--chrome-dark));
}

/* ========== COFFEE ========== */
.coffee-area {
  position: relative;
  flex-shrink: 0;
  width: 100px; height: 120px;
  margin-top: 20px;
}

.coffee-saucer {
  position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 88px; height: 20px;
  background: radial-gradient(ellipse, #fff, #f0ebe0 50%, #d8d0c4);
  border-radius: 50%;
  box-shadow: 0 3px 8px rgba(0,0,0,0.25);
  z-index: 1;
}
.saucer-ring {
  position: absolute;
  top: 4px; left: 50%; transform: translateX(-50%);
  width: 60px; height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.06);
}

.coffee-cup {
  position: absolute;
  bottom: 14px; left: 50%; transform: translateX(-50%);
  width: 60px; height: 48px;
  z-index: 2;
}
.coffee-rim {
  position: absolute;
  top: 0; left: -2px; right: -2px;
  height: 8px;
  background: linear-gradient(180deg, #fff, #f0ebe0);
  border-radius: 50%;
  z-index: 3;
}
.coffee-body {
  position: absolute;
  top: 5px; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, #fff, #f0ebe0, #e8e0d4);
  border-radius: 0 0 10px 10px;
  overflow: hidden;
  box-shadow: 3px 3px 8px rgba(0,0,0,0.2), -1px 0 4px rgba(0,0,0,0.08);
}
.coffee-liquid {
  position: absolute;
  top: 4px; left: 3px; right: 3px; bottom: 4px;
  background: linear-gradient(180deg, #5a3018, var(--coffee), #2a1008);
  border-radius: 0 0 8px 8px;
}
.coffee-shine {
  position: absolute;
  top: 4px; left: 6px;
  width: 14px; height: 10px;
  background: radial-gradient(ellipse, rgba(255,255,255,0.3), transparent);
  border-radius: 50%;
}
.coffee-handle {
  position: absolute;
  right: -15px; top: 12px;
  width: 14px; height: 24px;
  border: 5px solid #f0ebe0;
  border-left: none;
  border-radius: 0 12px 12px 0;
  box-shadow: 2px 1px 4px rgba(0,0,0,0.15);
}
.coffee-shadow {
  position: absolute;
  bottom: -4px; left: 50%; transform: translateX(-50%);
  width: 64px; height: 8px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.12), transparent);
  border-radius: 50%;
}

/* Steam */
.steam-container {
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 55px; height: 65px;
  pointer-events: none; z-index: 10;
}
.steam {
  position: absolute; bottom: 0;
  background: rgba(255,255,255,0.45);
  border-radius: 50%;
  filter: blur(3px);
}
.s1 { left: 8px;  width: 6px; height: 16px; animation: rise 2.6s ease-out infinite; }
.s2 { left: 18px; width: 7px; height: 20px; animation: rise 3.0s ease-out infinite -0.7s; }
.s3 { left: 28px; width: 5px; height: 14px; animation: rise 2.3s ease-out infinite -1.4s; }
.s4 { left: 14px; width: 8px; height: 18px; animation: rise 3.3s ease-out infinite -2.0s; }
.s5 { left: 34px; width: 5px; height: 12px; animation: rise 2.1s ease-out infinite -0.3s; }

@keyframes rise {
  0%   { opacity: 0;    transform: translateY(0)     translateX(0)    scaleX(1); }
  10%  { opacity: 0.5; }
  40%  { opacity: 0.35; transform: translateY(-20px)  translateX(4px)  scaleX(1.8); }
  70%  { opacity: 0.15; transform: translateY(-36px)  translateX(-3px) scaleX(2.5); }
  100% { opacity: 0;    transform: translateY(-55px)  translateX(2px)  scaleX(3); }
}

/* ========== MENU (closed on table) ========== */
.menu-closed {
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.3s ease;
  margin-top: 8px;
}
.menu-closed:hover {
  transform: translateY(-5px) rotate(-1deg);
}
.menu-cover {
  width: 220px; height: 160px;
  background: var(--cream);
  background-image: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 40%, rgba(255,255,255,0.1) 100%);
  border-radius: 3px;
  padding: 16px;
  box-shadow: 0 5px 16px rgba(0,0,0,0.35);
  text-align: center;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.menu-cover-border {
  position: absolute; inset: 8px;
  border: 2px solid var(--neon-pink);
  border-radius: 2px; opacity: 0.35;
}
.menu-cover-title {
  font-family: 'Tory-Gothic-Caps', serif;
  font-size: 3rem;
  color: var(--vinyl-red);
  letter-spacing: 0.15em;
}
.menu-cover-sub {
  font-family: var(--font-body), serif;
  font-size: 0.5rem;
  color: #999; letter-spacing: 0.25em;
  margin-top: 2px;
}
.menu-cover-star {
  font-size: 0.5rem;
  color: var(--neon-warm);
  margin-top: 10px; letter-spacing: 0.1em;
  text-shadow: 0 0 6px rgba(255,184,108,0.3);
}

/* ========== CONDIMENTS ========== */
.condiments {
  display: flex; gap: 10px; flex-shrink: 0;
  margin-top: 40px;
}
.shaker { width: 18px; }
.shaker-cap {
  width: 16px; height: 8px;
  background: radial-gradient(circle at 40% 30%, #e0dcd8, var(--chrome), #999);
  margin: 0 auto; border-radius: 3px 3px 0 0;
}
.shaker-body {
  width: 18px; height: 32px;
  border-radius: 0 0 4px 4px;
  margin: 0 auto;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
}
.salt-body {
  background: linear-gradient(135deg, rgba(255,255,255,0.85), rgba(240,240,235,0.9));
  border: 1px solid rgba(200,200,200,0.4);
}
.pepper-body {
  background: linear-gradient(135deg, rgba(50,35,25,0.9), rgba(30,20,15,0.95));
  border: 1px solid rgba(80,60,50,0.4);
}

/* ========== NAPKIN DISPENSER ========== */
.napkin-dispenser {
  flex-shrink: 0;
  width: 48px; height: 44px;
  position: relative;
  margin-top: 36px;
}
.napkin-chrome {
  width: 48px; height: 44px;
  background: linear-gradient(180deg, #ddd, var(--chrome), #bbb, var(--chrome));
  border-radius: 3px;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.25), inset 0 1px 1px rgba(255,255,255,0.3);
}
.napkin-paper {
  position: absolute; top: 4px; left: 50%; transform: translateX(-50%);
  width: 30px; height: 10px;
  background: white; border-radius: 1px;
}

/* ========== VINTAGE RADIO ========== */
.radio {
  position: fixed;
  right: 12%;
  top: 38%;
  width: 200px;
  z-index: 30;
}

.radio-antenna {
  position: absolute;
  top: -55px;
  left: 35%;
  width: 2px;
  height: 55px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.antenna-rod {
  width: 2px;
  height: 55px;
  background: linear-gradient(180deg, var(--chrome), #aaa);
  border-radius: 1px;
  transform: rotate(-8deg);
  transform-origin: bottom center;
}

.antenna-tip {
  width: 5px;
  height: 5px;
  background: var(--chrome);
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateX(-7.5px) translateY(-2px);
}

.radio-body {
  background: var(--wood);
  background-image: repeating-linear-gradient(
    0deg, transparent, transparent 3px,
    rgba(0,0,0,0.04) 3px, rgba(0,0,0,0.04) 4px
  );
  border-radius: 12px;
  padding: 12px;
  border: 2px solid var(--wood-dark);
  box-shadow: 0 6px 22px rgba(0,0,0,0.6), inset 0 1px 1px rgba(255,255,255,0.1);
}

.radio-speaker {
  background: var(--wood-dark);
  border-radius: 8px 8px 4px 4px;
  padding: 8px; margin-bottom: 8px;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.4);
}

.radio-grille {
  height: 48px;
  background: repeating-linear-gradient(
    90deg,
    rgba(200,180,140,0.5), rgba(200,180,140,0.5) 1.5px,
    rgba(80,50,30,0.6) 1.5px, rgba(80,50,30,0.6) 3px
  );
  border-radius: 4px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.3);
}

.radio-dial-area { padding: 4px; }

.radio-dial-window {
  background: linear-gradient(180deg, #1a1520, #0f0a18);
  border: 1px solid var(--chrome-dark);
  border-radius: 4px;
  padding: 8px 10px; margin-bottom: 10px;
  text-align: center; overflow: hidden;
  box-shadow: inset 0 1px 4px rgba(0,0,0,0.5);
}

.radio-dial-label {
  font-family: 'Pixel-LCD-7';
  font-size: 0.5rem; letter-spacing: 0.3em;
  color: var(--neon-warm);
  text-shadow: 0 0 6px var(--neon-warm);
  margin-bottom: 3px;
}

.radio-dial-track {
  font-family: 'Pixel-LCD-7';
  font-size: 0.6rem;
  color: var(--neon-cyan);
  text-shadow: 0 0 8px rgba(107,232,232,0.5);
  white-space: nowrap;
  overflow: hidden;
  position: relative;
  height: 1.2em;
}

.radio-dial-track .track-text {
  display: inline-block;
  position: absolute;
  left: 0;
  animation: scrollTrack 8s linear infinite;
  animation-play-state: paused;
}

.radio.playing .track-text {
  animation-play-state: running;
}

@keyframes scrollTrack {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

.radio-dial-track.paused {
  animation-play-state: paused;
  padding-left: 0;
}

.radio-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 6px 4px;
}

.radio-knob-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.radio-knob-label {
  font-family: 'PaisleyCaps', monospace;
  font-size: 0.5rem;
  letter-spacing: 0.15em;
  color: var(--chrome);
  text-transform: uppercase;
  opacity: 0.6;
}

.radio-knob {
  cursor: pointer;
  transition: transform 0.15s ease;
}

.radio-knob:hover {
  transform: scale(1.06);
}

.radio-knob:active .knob-inner {
  box-shadow:
    0 1px 3px rgba(0,0,0,0.5),
    inset 0 1px 3px rgba(255,255,255,0.2);
}

.knob-outer {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #555, #333);
  padding: 4px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.5);
}

.knob-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 35%, #f0e8e0, var(--chrome) 45%, #aaa 80%, #888);
  box-shadow:
    0 2px 6px rgba(0,0,0,0.4),
    inset 0 1px 3px rgba(255,255,255,0.4),
    inset 0 -1px 2px rgba(0,0,0,0.15);
  position: relative;
}

.knob-line {
  position: absolute;
  top: 4px;
  left: 50%;
  width: 2px;
  height: 10px;
  background: #444;
  margin-left: -1px;
  border-radius: 1px;
}

.radio-play-area {
  display: flex;
  align-items: center;
}

.radio-play-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--chrome-dark);
  background: radial-gradient(circle at 40% 38%, var(--wood-light), var(--wood-dark));
  color: var(--cream);
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 3px 8px rgba(0,0,0,0.4),
    inset 0 1px 2px rgba(255,255,255,0.1);
  transition: all 0.15s ease;
}

.radio-play-btn:hover {
  background: radial-gradient(circle at 40% 38%, var(--vinyl-highlight), var(--vinyl-red));
  border-color: var(--vinyl-highlight);
}

.radio-play-btn:active {
  transform: scale(0.95);
}

.play-icon {
  display: block;
  line-height: 1;
}
.radio-indicator {
  display: flex; justify-content: flex-end;
  padding: 6px 8px 2px;
}

.radio-led {
  width: 6px; height: 6px; border-radius: 50%;
  background: #333; border: 1px solid #555;
  transition: all 0.3s ease;
}

.radio.playing .radio-led {
  background: #5f5;
  box-shadow: 0 0 6px #5f5, 0 0 12px rgba(85,255,85,0.4);
}

.radio-feet {
  display: flex;
  justify-content: space-between;
  padding: 0 24px;
}

.radio-foot {
  width: 14px;
  height: 5px;
  background: var(--wood-dark);
  border-radius: 0 0 4px 4px;
  box-shadow: 0 2px 3px rgba(0,0,0,0.3);
}

/* ---- Track Spinner LCD ---- */
.track-spinner {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: ns-resize;
  user-select: none;
  -webkit-user-select: none;
}

/* ---- Track Spinner LCD ---- */
.track-spinner {
  display: flex;
  align-items: center;
  gap: 2px;
  user-select: none;
  -webkit-user-select: none;
}

.spinner-lcd {
  font-family: 'Courier New', monospace;
  font-size: 0.65rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  color: #b8ffa0;
  text-shadow: 0 0 4px rgba(184, 255, 160, 0.5);
  background: #0a0f0a;
  border: 1px solid #2a3a2a;
  border-radius: 2px;
  padding: 2px 5px;
  min-width: 1.6em;
  text-align: center;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.6);
  cursor: ns-resize;
}

.spinner-arrows {
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.spinner-arrow {
  font-size: 0.35rem;
  color: #8a8a7a;
  cursor: pointer;
  line-height: 1;
  padding: 0px 2px;
  border-radius: 1px;
  transition: color 0.15s;
}

.spinner-arrow:hover {
  color: #b8ffa0;
}

.spinner-arrow:active {
  color: #e0ffe0;
}

/* ========== BOOTH SEAT ========== */
.booth-seat {
  flex: 0 0 8%;
  background: var(--vinyl-red);
  background-image:
    repeating-linear-gradient(90deg,
      transparent, transparent 24px,
      rgba(0,0,0,0.12) 24px, rgba(0,0,0,0.12) 25px,
      transparent 25px, transparent 26px
    ),
    repeating-linear-gradient(90deg,
      transparent, transparent 24px,
      rgba(255,255,255,0.04) 23px, rgba(255,255,255,0.04) 24px
    );
  border-top: 3px solid var(--vinyl-highlight);
  box-shadow: inset 0 4px 16px rgba(100,20,40,0.4);
  z-index: 3;
}

/* ========== OVERLAYS ========== */
.menu-overlay, .recipe-overlay, .photo-overlay {
  position: fixed; inset: 0;
  display: none; align-items: center; justify-content: center;
}
.menu-overlay { z-index: 500; }
.recipe-overlay, .photo-overlay { z-index: 600; }
.menu-overlay.open, .recipe-overlay.open, .photo-overlay.open { display: flex; }

.menu-backdrop, .recipe-backdrop, .photo-backdrop {
  position: absolute; inset: 0;
  background: rgba(10,5,16,0.8);
  cursor: pointer;
}

.menu-open {
  position: relative;
  width: 90%; max-width: 700px; max-height: 85vh;
  background: var(--cream);
  background-image: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%, rgba(255,255,255,0.08) 100%);
  border-radius: 4px;
  box-shadow: 0 12px 50px rgba(0,0,0,0.7);
  display: flex; flex-direction: column;
  overflow: hidden; z-index: 1;
  border: 2px solid var(--formica-dark);
}

.menu-close {
  position: absolute; top: 10px; right: 14px;
  background: none; border: none;
  font-family: 'Euphorigenic', serif;
  font-size: 0.75rem; color: #bbb;
  cursor: pointer; z-index: 10;
  transition: color 0.2s ease;
}
.menu-close:hover { color: var(--vinyl-red); }

.menu-tabs {
  display: flex;
  border-bottom: 2px solid var(--formica-dark);
  padding: 0 12px;
  background: rgba(196,58,90,0.06);
}
.menu-tab {
  background: none; border: none;
  font-family: 'Cannabis', serif;
  font-size: 0.86rem; color: #aaa;
  padding: 12px 18px; cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s ease;
}
.menu-tab:hover { color: var(--vinyl-red); }
.menu-tab.active { color: var(--vinyl-red); border-bottom-color: var(--neon-pink); }

.menu-page-area {
  flex: 1; overflow-y: auto; padding: 20px 24px;
}
.menu-page.hidden { display: none; }

.specials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px; padding: 10px;
}
.polaroid {
  background: white;
  padding: 8px 8px 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform: rotate(var(--rot, 0deg));
}
.polaroid:hover {
  transform: rotate(0deg) scale(1.05);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  z-index: 2;
}
.polaroid-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  display: block;
}

.polaroid-placeholder {
  width: 100%; aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
}
.polaroid-caption {
  font-family: 'imweird', serif;
  font-size: 1.3rem; color: #555;
  text-align: center; margin-top: 8px; font-style: italic;
}

.recipe-list { display: flex; flex-direction: column; gap: 10px; }
.recipe-ticket {
  background: #f8f0f2;
  border-left: 4px solid var(--neon-pink);
  padding: 12px 16px; cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 0 3px 3px 0;
}
.recipe-ticket:hover {
  background: #f0e0e4;
  border-left-color: var(--vinyl-red);
  transform: translateX(4px);
}
.recipe-ticket-title {
  font-family: 'imweird', serif;
  font-size: 1.2rem; color: #444;
}
.recipe-ticket-sub {
  font-family: 'Euphorigenic', serif;
  font-size: 0.75rem; color: #999; font-style: italic;
}

.extras-placeholder {
  text-align: center; padding: 60px 20px;
  color: #bbb; font-family: 'Euphorigenic', serif;
}
.extras-placeholder p:first-child { font-size: 1.1rem; font-style: italic; margin-bottom: 6px; }
.extras-sub { font-size: 0.8rem; opacity: 0.6; }

/* Recipe card */
.recipe-card {
  position: relative;
  width: 90%; max-width: 550px; max-height: 80vh;
  overflow-y: auto;
  background: var(--cream);
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  padding: 28px 24px; z-index: 1;
  border: 2px solid var(--formica-dark);
}
.recipe-close, .photo-close {
  position: absolute; top: 10px; right: 14px;
  background: none; border: none;
  font-size: 1.1rem; color: #bbb; cursor: pointer;
  transition: color 0.2s ease;
}
.recipe-close:hover, .photo-close:hover { color: var(--vinyl-red); }

.recipe-title {
  font-family: 'imweird', serif;
  font-size: 1.4rem; color: var(--vinyl-red); margin-bottom: 4px;
}
.recipe-subtitle {
  font-family: 'kuchibue', serif;
  font-size: 1rem; color: #999; font-style: italic; margin-bottom: 16px;
}
.recipe-section-label {
  font-family: 'imweird', serif;
  font-size: .8rem; color: #777;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(0,0,0,0.1); padding-bottom: 4px;
}
.recipe-ingredients { list-style: none; padding: 0; margin: 0 0 20px; }
.recipe-ingredients li {
  font-family: 'Euphorigenic', monospace;
  font-size: 0.85rem; color: #555;
  padding: 3px 0; border-bottom: 1px dotted rgba(0,0,0,0.08);
}
.recipe-ingredients li::before { content: '• '; color: var(--neon-pink); }

.recipe-steps { list-style: none; padding: 0; margin: 0 0 20px; counter-reset: step; }
.recipe-steps li {
  font-family: 'Euphorigenic', serif;
  font-size: 0.85rem; color: #444;
  padding: 6px 0 6px 28px; position: relative;
  counter-increment: step;
}
.recipe-steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 6px;
  width: 20px; height: 20px;
  background: var(--formica-pink); color: var(--vinyl-red);
  border-radius: 50%; font-size: 0.65rem;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Moonstar', monospace;
}
.recipe-notes {
  font-family: 'imweird', serif;
  font-size: 1rem; color: #999; font-style: italic;
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: 12px; margin-top: 12px;
}

/* Photo detail */
.photo-detail {
  position: relative; background: white;
  padding: 16px 16px 32px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  z-index: 1; max-width: 400px; max-height: 80vh;
  text-align: center;
}
.photo-detail-inner img,
.photo-detail-inner .polaroid-placeholder { max-width: 100%; max-height: 50vh; }
.photo-detail-caption {
  font-family: 'imweird', serif;
  font-size: 1rem; color: #555;
  margin-top: 12px; font-style: italic;
}
.photo-detail-desc {
  font-family: 'Euphorigenic', serif;
  font-size: 0.75rem; color: #888; margin-top: 6px;
}

/* ========== BACK LINK ========== */
.back-link {
  position: fixed; bottom: 1rem; left: 1.5rem;
  z-index: 110;
  font-family: 'Cannabis', serif;
  font-size: 1rem;
  color: rgba(255,255,255,0.25);
  text-decoration: none;
  transition: color 0.3s ease;
}
.back-link:hover { color: var(--neon-pink); }

/* ========== RESPONSIVE ========== */
@media (max-width: 600px) {
  .wall { flex: 1 1 48%; }
  .table { flex: 0 0 42%; }
  .booth-seat { flex: 0 0 10%; }
  .window { width: 52%; height: 60%; top: 16%; left: 3%; }
  .clock { width: 60px; height: 60px; }
  .neon-sign { left: 50%; transform: translateX(-50%); top: 4%; }
  .menu-cover { width: 150px; height: 110px; }
  .condiments, .napkin-dispenser { display: none; }
  .radio { width: 140px; }
  .table-surface { padding: 16px 4% 0; gap: 3%; }
}