/* ══════════════════════════════════════════
   JUKEBOX eCARD — 70er RETRO STYLESHEET
   Layout: gestaffelt (Viewer oben, Tasten unten)
   Responsive: Desktop + Handy 1:1
══════════════════════════════════════════ */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 20px 0;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family, 'Nunito', Arial, sans-serif);
  overflow-x: hidden;
  box-sizing: border-box;
}

/* Hintergrundbild (wie beim Fahrstuhl) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(212,169,74,0.15), transparent 55%),
    radial-gradient(ellipse at 70% 80%, rgba(198,106,58,0.18), transparent 55%);
  z-index: -1;
  pointer-events: none;
}

/* ── APP WRAPPER ── */
#app {
  width: 90%;
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 10px 0 20px;
}

/* ══════════════════════════════════════════
   JUKEBOX-GEHÄUSE
══════════════════════════════════════════ */
#jukebox {
  width: 100%;
  position: relative;
  padding: 0;
  filter: drop-shadow(0 12px 30px rgba(0,0,0,0.7));
}

/* ══════════════════════════════════════════
   WURLITZER-BOGEN (halbrund oben)
══════════════════════════════════════════ */
#arch {
  position: relative;
  height: 80px;
  background:
    linear-gradient(180deg, #6a3a24 0%, #4a2a18 80%, #3a2014 100%);
  border: 3px solid var(--color-gold, #d4a94a);
  border-bottom: none;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  overflow: hidden;
  box-shadow:
    inset 0 8px 20px rgba(0,0,0,0.4),
    inset 0 2px 0 rgba(245,217,131,0.2);
}

/* Drei konzentrische Leuchtröhren im Bogen */
.arch-tube {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  pointer-events: none;
}

.arch-tube-outer {
  width: 92%;
  height: 68px;
  border: 4px solid #ff4a3a;
  border-bottom: none;
  box-shadow:
    0 0 12px rgba(255,74,58,0.8),
    inset 0 0 10px rgba(255,74,58,0.5);
  animation: arch-glow-red 2.4s ease-in-out infinite;
}

.arch-tube-middle {
  width: 74%;
  height: 54px;
  border: 4px solid #ffd24a;
  border-bottom: none;
  box-shadow:
    0 0 12px rgba(255,210,74,0.8),
    inset 0 0 10px rgba(255,210,74,0.5);
  animation: arch-glow-yellow 2.4s ease-in-out infinite;
  animation-delay: 0.4s;
}

.arch-tube-inner {
  width: 56%;
  height: 40px;
  border: 4px solid #4ad66a;
  border-bottom: none;
  box-shadow:
    0 0 12px rgba(74,214,106,0.8),
    inset 0 0 10px rgba(74,214,106,0.5);
  animation: arch-glow-green 2.4s ease-in-out infinite;
  animation-delay: 0.8s;
}

@keyframes arch-glow-red {
  0%, 100% { box-shadow: 0 0 12px rgba(255,74,58,0.8), inset 0 0 10px rgba(255,74,58,0.5); }
  50%      { box-shadow: 0 0 22px rgba(255,120,80,1), inset 0 0 16px rgba(255,120,80,0.8); }
}
@keyframes arch-glow-yellow {
  0%, 100% { box-shadow: 0 0 12px rgba(255,210,74,0.8), inset 0 0 10px rgba(255,210,74,0.5); }
  50%      { box-shadow: 0 0 22px rgba(255,230,130,1), inset 0 0 16px rgba(255,230,130,0.8); }
}
@keyframes arch-glow-green {
  0%, 100% { box-shadow: 0 0 12px rgba(74,214,106,0.8), inset 0 0 10px rgba(74,214,106,0.5); }
  50%      { box-shadow: 0 0 22px rgba(120,240,150,1), inset 0 0 16px rgba(120,240,150,0.8); }
}

.arch-brand {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Abril Fatface', serif;
  font-size: 13px;
  color: var(--color-gold-light, #f5d983);
  letter-spacing: 1.5px;
  white-space: nowrap;
  text-shadow:
    0 0 10px rgba(245,217,131,0.9),
    0 0 20px rgba(245,217,131,0.5),
    0 2px 2px rgba(0,0,0,0.8);
  z-index: 2;
}

/* ══════════════════════════════════════════
   KORPUS mit Säulen links+rechts
══════════════════════════════════════════ */
#body {
  display: flex;
  background:
    linear-gradient(180deg, #4a2a18 0%, #3a2014 50%, #2a1810 100%);
  border: 3px solid var(--color-gold, #d4a94a);
  border-top: none;
  border-bottom: none;
  position: relative;
  padding: 10px 0 10px;
  box-shadow: inset 0 0 30px rgba(0,0,0,0.5);
}

/* Holzmaserung */
#body::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0px,
      transparent 22px,
      rgba(0,0,0,0.08) 22px,
      rgba(0,0,0,0.08) 23px
    );
  pointer-events: none;
  z-index: 0;
}

/* ── LEUCHTSÄULEN LINKS + RECHTS ── */
.pillar {
  width: 18px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 3px;
  background: linear-gradient(180deg, #2a1810 0%, #1a0a05 50%, #2a1810 100%);
  border-left: 1px solid rgba(212,169,74,0.3);
  border-right: 1px solid rgba(212,169,74,0.3);
  position: relative;
  z-index: 1;
}

.pillar-light {
  flex: 1;
  border-radius: 2px;
  box-shadow: 0 0 6px currentColor, inset 0 0 4px rgba(255,255,255,0.3);
  animation: pillar-blink 1.8s ease-in-out infinite;
}

.pl-1 { background: #ff4a3a; color: rgba(255,74,58,0.9);    animation-delay: 0s;    }
.pl-2 { background: #ffd24a; color: rgba(255,210,74,0.9);   animation-delay: 0.6s;  }
.pl-3 { background: #4ad66a; color: rgba(74,214,106,0.9);   animation-delay: 1.2s;  }

.pillar-right .pl-1 { animation-delay: 0.9s; }
.pillar-right .pl-2 { animation-delay: 1.5s; }
.pillar-right .pl-3 { animation-delay: 0.3s; }

@keyframes pillar-blink {
  0%, 100% { opacity: 1;    filter: brightness(1); }
  50%      { opacity: 0.55; filter: brightness(0.7); }
}

/* ── MITTELTEIL ── */
#body-inner {
  flex: 1;
  padding: 0 12px;
  position: relative;
  z-index: 1;
  min-width: 0;
}

/* ══════════════════════════════════════════
   SOCKEL mit Lautsprechergitter
══════════════════════════════════════════ */
#base {
  position: relative;
  height: 62px;
  background:
    linear-gradient(180deg, #3a2014 0%, #2a1810 50%, #1a0a08 100%);
  border: 3px solid var(--color-gold, #d4a94a);
  border-top: none;
  border-radius: 0 0 14px 14px;
  overflow: hidden;
  box-shadow:
    inset 0 -4px 12px rgba(0,0,0,0.6),
    inset 0 2px 0 rgba(245,217,131,0.1);
}

/* Lautsprechergitter (perforierte Löcher) */
.speaker-grille {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 36px;
  background:
    radial-gradient(circle at 3px 3px, rgba(0,0,0,0.6) 1.5px, transparent 1.8px),
    linear-gradient(180deg, #2a1810 0%, #1a0a05 50%, #2a1810 100%);
  background-size: 6px 6px, 100% 100%;
  border-radius: 6px;
  border: 1.5px solid rgba(212,169,74,0.5);
  box-shadow:
    inset 0 0 12px rgba(0,0,0,0.7),
    0 0 6px rgba(212,169,74,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-mark {
  font-family: 'Abril Fatface', serif;
  font-size: 12px;
  font-style: italic;
  color: var(--color-gold-light, #f5d983);
  letter-spacing: 1.5px;
  text-shadow:
    0 0 6px rgba(245,217,131,0.7),
    0 1px 1px rgba(0,0,0,0.8);
  padding: 2px 10px;
  background: linear-gradient(90deg,
    rgba(26,10,5,0) 0%,
    rgba(26,10,5,0.85) 20%,
    rgba(26,10,5,0.85) 80%,
    rgba(26,10,5,0) 100%);
  border-radius: 3px;
  white-space: nowrap;
}

/* Chromleiste unten */
.base-chrome {
  position: absolute;
  bottom: 6px;
  left: 12px;
  right: 12px;
  height: 3px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(245,217,131,0.5) 20%,
    rgba(245,217,131,0.9) 50%,
    rgba(245,217,131,0.5) 80%,
    transparent 100%);
  border-radius: 2px;
  box-shadow: 0 0 6px rgba(245,217,131,0.4);
}

/* ══════════════════════════════════════════
   ANZEIGE-FENSTER
══════════════════════════════════════════ */
#viewer {
  position: relative;
  width: 100%;
  height: 420px;
  background: radial-gradient(ellipse at center,
    #6a4028 0%,
    #4a2a18 60%,
    #2a1810 100%);
  border: 2px solid rgba(212,169,74,0.6);
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    inset 0 0 40px rgba(0,0,0,0.5),
    inset 0 0 6px rgba(212,169,74,0.3),
    0 4px 12px rgba(0,0,0,0.5);
  z-index: 1;
}

#viewer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(255,255,255,0.08) 0%,
    transparent 40%,
    transparent 60%,
    rgba(255,255,255,0.04) 100%);
  pointer-events: none;
  z-index: 30;
}

/* ── PLATTE ── */
.record {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 240px;
  height: 240px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%,
    #5a3824 0%,
    #5a3824 18%,
    #3a2416 19%,
    #3a2416 100%);
  box-shadow:
    0 4px 20px rgba(0,0,0,0.6),
    inset 0 0 30px rgba(212,169,74,0.15),
    inset 0 0 10px rgba(0,0,0,0.3);
  transition: opacity 0.4s ease;
  z-index: 5;
}

.record-grooves {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    repeating-radial-gradient(
      circle at center,
      rgba(245,217,131,0.10) 0px,
      rgba(245,217,131,0.10) 1px,
      transparent 1px,
      transparent 4px
    );
  pointer-events: none;
}

.record.spinning { animation: spin 2.5s linear infinite; }
@keyframes spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

.record.exit {
  transform: translate(150%, -50%);
  transition: transform 0.55s cubic-bezier(0.5, 0, 0.75, 0);
  animation: none;
}
.record.enter-start {
  transform: translate(-250%, -50%);
  transition: none;
  animation: none;
}
.record.enter {
  transform: translate(-50%, -50%);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.record-label {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 128px;
  height: 128px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%,
    var(--color-gold-light, #f5d983) 0%,
    var(--color-gold, #d4a94a) 50%,
    #a0782a 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8% 6%;
  text-align: center;
  box-shadow:
    inset 0 0 20px rgba(0,0,0,0.3),
    0 0 4px rgba(0,0,0,0.4);
  overflow: hidden;
}

.label-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  transform: translate(-50%, -50%);
  background: #0a0502;
  border-radius: 50%;
  box-shadow: 0 0 2px rgba(0,0,0,0.8);
}

.label-emoji {
  font-size: 32px;
  line-height: 1;
  margin-bottom: 4px;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.4));
}

.label-title {
  font-family: 'Abril Fatface', serif;
  font-size: 13px;
  color: #2a1810;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.3px;
  padding: 0 2px;
}

.label-subtitle {
  font-size: 9px;
  color: #5a3220;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 3px;
}

/* ── TONARM ── */
#tonearm {
  position: absolute;
  top: 8%;
  right: 6%;
  z-index: 10;
  transform-origin: top right;
  transform: rotate(35deg);
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
#tonearm.playing { transform: rotate(5deg); }

.tonearm-base {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #e8d5b0, #a0782a 70%, #5a3220 100%);
  box-shadow: 0 2px 4px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.3);
  z-index: 2;
}

.tonearm-rod {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 3px;
  height: 110px;
  background: linear-gradient(180deg, #e8d5b0, #a0782a);
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.5);
  transform-origin: top right;
  transform: rotate(-180deg) translateX(-1px);
}

.tonearm-head {
  position: absolute;
  top: 108px;
  right: -3px;
  width: 11px;
  height: 16px;
  background: linear-gradient(180deg, #3a2014, #1a0a05);
  border-radius: 3px;
  border: 1px solid #a0782a;
  transform: rotate(-180deg);
}
.tonearm-head::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 2px;
  height: 4px;
  background: #f5d983;
  transform: translateX(-50%);
  border-radius: 1px;
  box-shadow: 0 0 3px rgba(245,217,131,0.6);
}

/* ── INHALTS-OVERLAY ── */
#content-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 14px;
  text-align: center;
  background: rgba(50, 32, 20, 0.94);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
  z-index: 15;
  overflow-y: auto;
}
#content-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.content-emoji {
  font-size: 32px;
  margin-bottom: 6px;
  filter: drop-shadow(0 0 8px rgba(212,169,74,0.5));
}
.content-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  margin-bottom: 12px;
  border: 3px solid var(--color-gold, #d4a94a);
  box-shadow:
    0 0 14px rgba(212,169,74,0.6),
    0 0 28px rgba(212,169,74,0.25),
    inset 0 0 6px rgba(0,0,0,0.3);
}
.content-title {
  font-family: 'Abril Fatface', serif;
  font-size: 19px;
  color: var(--color-gold-light, #f5d983);
  font-weight: 400;
  margin-bottom: 8px;
  letter-spacing: 0.4px;
  text-shadow: 0 0 10px rgba(212,169,74,0.4);
}
.content-highlight {
  color: #fff0c8;
  font-size: 16px;
  margin: 8px 0;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-shadow: 0 0 8px rgba(245,217,131,0.3);
}
.content-text {
  font-size: 16px;
  color: #f5e5c5;
  line-height: 1.5;
  width: 100%;
  padding: 0 4px;
}
.content-text .big {
  display: inline-block;
  max-width: 100%;
  font-family: 'Abril Fatface', serif;
  font-size: clamp(15px, 4.8vw, 25px);
  font-style: italic;
  font-weight: 400;
  color: #fff0c8;
  letter-spacing: 0.5px;
  line-height: 1.3;
  text-shadow: 0 0 10px rgba(245,217,131,0.5);
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: normal;
}

/* Konfetti-Canvas */
#konfetti-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 25;
  display: none;
}

/* ══════════════════════════════════════════
   NOW PLAYING
══════════════════════════════════════════ */
#now-playing {
  margin: 8px 2px 6px;
  padding: 4px 10px;
  background: linear-gradient(180deg, #1a0a05, #0a0502);
  border: 1.5px solid rgba(212,169,74,0.5);
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Courier New', monospace;
  box-shadow:
    inset 0 0 10px rgba(0,0,0,0.8),
    0 0 6px rgba(212,169,74,0.15);
  position: relative;
  z-index: 1;
}

.np-label {
  font-size: 10px;
  color: var(--color-accent, #c66a3a);
  letter-spacing: 1.5px;
  font-weight: 700;
  flex-shrink: 0;
}

#np-title {
  font-size: 14px;
  color: var(--color-gold-light, #f5d983);
  letter-spacing: 0.5px;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(245,217,131,0.6);
  flex: 1;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: opacity 0.3s;
}

/* ══════════════════════════════════════════
   TASTENFELD (2-Spalten-Grid)
══════════════════════════════════════════ */
#keypad {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  padding: 2px 0 0;
  position: relative;
  z-index: 1;
}

.song-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 8px;
  background: linear-gradient(180deg, #4a2a18 0%, #3a2010 100%);
  border: 2px solid var(--color-gold, #d4a94a);
  border-radius: 8px;
  color: var(--color-gold-light, #f5d983);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: all 0.15s;
  box-shadow:
    0 2px 5px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(245,217,131,0.2);
  position: relative;
  overflow: hidden;
  min-height: 42px;
}

.song-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(245,217,131,0.12), transparent 60%);
  pointer-events: none;
}

.song-btn:hover {
  background: linear-gradient(180deg, #5a3220 0%, #4a2a18 100%);
  box-shadow:
    0 0 14px rgba(212,169,74,0.5),
    inset 0 1px 0 rgba(245,217,131,0.25);
  transform: translateY(-1px);
}

.song-btn:active {
  transform: translateY(1px);
  box-shadow:
    0 1px 3px rgba(0,0,0,0.5),
    inset 0 2px 4px rgba(0,0,0,0.4);
}

.song-btn.active {
  background: linear-gradient(180deg, #d4a94a 0%, #a0782a 100%);
  color: #2a1810;
  box-shadow:
    0 0 18px rgba(245,217,131,0.7),
    inset 0 1px 0 rgba(255,255,255,0.4);
  border-color: var(--color-gold-light, #f5d983);
}
.song-btn.active .btn-title,
.song-btn.active .btn-code {
  color: #2a1810;
  text-shadow: none;
}

.btn-code {
  font-family: 'Courier New', monospace;
  font-size: 13px;
  font-weight: bold;
  color: var(--color-gold, #d4a94a);
  background: rgba(10, 5, 2, 0.6);
  padding: 3px 6px;
  border-radius: 3px;
  min-width: 26px;
  text-align: center;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  box-shadow: inset 0 0 4px rgba(0,0,0,0.5);
}

.btn-title {
  font-family: 'Abril Fatface', serif;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0.2px;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hidden-btn { border-color: var(--color-accent, #c66a3a); }
.hidden-btn .btn-code {
  color: var(--color-accent, #c66a3a);
  background: rgba(42, 16, 8, 0.7);
}
.hidden-btn:hover {
  box-shadow:
    0 0 14px rgba(198,106,58,0.55),
    inset 0 1px 0 rgba(245,183,138,0.3);
}

@keyframes btn-blink {
  0%, 100% {
    box-shadow: 0 0 18px rgba(245,217,131,0.8), inset 0 1px 0 rgba(245,217,131,0.3);
    border-color: var(--color-gold-light, #f5d983);
  }
  50% {
    box-shadow: 0 2px 6px rgba(0,0,0,0.5);
    border-color: var(--color-gold, #d4a94a);
  }
}
.btn-blink {
  animation: btn-blink 1.5s ease-in-out infinite;
}

/* ══════════════════════════════════════════
   RSVP-FORMULAR
══════════════════════════════════════════ */
.rsvp-form {
  width: 100%;
  max-width: 260px;
  margin-top: 2px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.rsvp-form input[type="text"],
.rsvp-form textarea {
  width: 100%;
  padding: 6px 10px;
  background: rgba(20, 10, 6, 0.7);
  border: 1px solid rgba(212,169,74,0.5);
  border-radius: 6px;
  color: var(--color-gold-light, #f5d983);
  font-family: inherit;
  font-size: 15px;
  outline: none;
}
.rsvp-form input:focus,
.rsvp-form textarea:focus {
  border-color: var(--color-gold-light, #f5d983);
  box-shadow: 0 0 8px rgba(245,217,131,0.3);
}
.rsvp-form textarea { resize: none; min-height: 34px; }

.rsvp-form > label {
  font-size: 11px;
  color: rgba(245,217,131,0.8);
  text-align: left;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: -3px;
  font-weight: 700;
}
.rsvp-radio-group { display: flex; gap: 5px; justify-content: center; }
.rsvp-radio-group label {
  flex: 1;
  text-align: center;
  padding: 5px 4px;
  background: rgba(20, 10, 6, 0.5);
  border: 1px solid rgba(212,169,74,0.35);
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  color: var(--color-text, #e8d5b0);
  margin: 0;
  transition: all 0.15s;
  font-weight: 700;
}
.rsvp-radio-group input[type="radio"] { display: none; }
.rsvp-radio-group label:has(input:checked) {
  background: linear-gradient(180deg, #f5d983, #d4a94a);
  border-color: #f5d983;
  color: #2a1810;
  box-shadow: 0 0 10px rgba(245,217,131,0.4);
}
.rsvp-submit {
  margin-top: 2px;
  padding: 7px 14px;
  background: linear-gradient(180deg, #d4a94a, #a0782a);
  border: 2px solid var(--color-gold-light, #f5d983);
  border-radius: 8px;
  color: #2a1810;
  font-family: 'Abril Fatface', serif;
  font-size: 16px;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow:
    0 3px 10px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.3);
  transition: all 0.15s;
}
.rsvp-submit:hover {
  background: linear-gradient(180deg, #f5d983, #d4a94a);
  box-shadow:
    0 0 16px rgba(245,217,131,0.6),
    inset 0 1px 0 rgba(255,255,255,0.4);
}
.rsvp-submit:active { transform: translateY(1px); }

/* ══════════════════════════════════════════
   MUSIK-NOTE (klein, rund, mit Gold-Hintergrund)
══════════════════════════════════════════ */
#music-toggle {
  margin: 8px auto 0;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%,
    var(--color-gold-light, #f5d983) 0%,
    var(--color-gold, #d4a94a) 60%,
    #a0782a 100%);
  border: 1px solid var(--color-gold-light, #f5d983);
  overflow: hidden;
  box-shadow:
    0 2px 6px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.4);
  transition: all 0.2s;
}
#music-toggle img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  display: block;
  pointer-events: none;
  mix-blend-mode: multiply;
}
#music-toggle:hover {
  transform: scale(1.1);
  box-shadow:
    0 0 12px rgba(245,217,131,0.8),
    inset 0 1px 0 rgba(255,255,255,0.5);
}
#music-toggle:active {
  transform: scale(0.95);
}
#music-toggle.muted {
  opacity: 0.55;
}

/* ══════════════════════════════════════════
   HINT + SHAKE
══════════════════════════════════════════ */
#hint {
  margin-top: 12px;
  font-size: 10px;
  color: rgba(245,217,131,0.5);
  letter-spacing: 2px;
  font-weight: 700;
}

@keyframes shake-mild {
  0%, 100% { transform: translateX(0); }
  25%      { transform: translateX(-2px); }
  75%      { transform: translateX(2px); }
}
.shaking { animation: shake-mild 0.12s ease-in-out 3; }

/* ══════════════════════════════════════════
   RESPONSIVE — sehr kleine Handys
══════════════════════════════════════════ */
@media (max-width: 400px) {
  #app            { width: 86%; padding: 6px 0 12px; }
  #arch           { height: 48px; }
  .arch-tube-outer  { height: 40px; width: 92%; border-width: 3px; }
  .arch-tube-middle { height: 32px; width: 74%; border-width: 3px; }
  .arch-tube-inner  { height: 24px; width: 56%; border-width: 3px; }
  .arch-brand     { font-size: 10px; letter-spacing: 0.8px; bottom: 4px; }
  #body           { padding: 6px 0; border-width: 2px; }
  .pillar         { width: 10px; padding: 5px 2px; gap: 3px; }
  #body-inner     { padding: 0 8px; }
  #base           { height: 40px; border-radius: 0 0 10px 10px; border-width: 2px; }
  .speaker-grille { height: 22px; width: 82%; }
  .brand-mark     { font-size: 10px; letter-spacing: 1px; padding: 2px 8px; }
  .base-chrome    { bottom: 4px; }
  #viewer         { height: 320px; border-radius: 10px; }
  .record         { width: 165px; height: 165px; }
  .record-label   { width: 90px; height: 90px; }
  .label-emoji    { font-size: 22px; margin-bottom: 3px; }
  .label-title    { font-size: 10px; }
  .label-subtitle { font-size: 7px; }
  .tonearm-rod    { height: 75px; }
  .tonearm-head   { top: 73px; }
  .content-emoji  { font-size: 28px; margin-bottom: 4px; }
  .content-photo  { width: 110px; height: 110px; margin-bottom: 10px; border-width: 2px; }
  .content-title  { font-size: 17px; margin-bottom: 6px; }
  .content-text   { font-size: 14px; line-height: 1.3; }
  .content-text .big { font-size: 20px; letter-spacing: 0.3px; }
  .content-highlight{ font-size: 15px; margin: 5px 0; }
  #now-playing    { margin: 5px 2px 3px; padding: 3px 7px; }
  .np-label       { font-size: 9px; }
  #np-title       { font-size: 13px; }
  #keypad         { gap: 5px; }
  .song-btn       { padding: 6px 7px; gap: 5px; min-height: 36px; }
  .btn-code       { font-size: 12px; padding: 3px 5px; min-width: 22px; }
  .btn-title      { font-size: 13px; }
  #music-toggle   { width: 44px; height: 44px; margin: 6px auto 0; }
  .rsvp-form      { gap: 2px; margin-top: 0; max-width: 220px; }
  .rsvp-form input, .rsvp-form textarea { font-size: 13px; padding: 4px 8px; }
  .rsvp-form textarea { min-height: 22px; }
  .rsvp-form > label { font-size: 9px; margin-bottom: -4px; }
  .rsvp-radio-group label { font-size: 12px; padding: 3px 3px; }
  .rsvp-submit    { font-size: 14px; padding: 5px 12px; margin-top: 0; }
  #hint           { font-size: 9px; margin-top: 6px; }
}

@media (max-width: 360px) {
  #app            { width: 84%; }
  .arch-brand     { font-size: 9px; }
  #arch           { height: 42px; }
  .arch-tube-outer  { height: 34px; }
  .arch-tube-middle { height: 26px; }
  .arch-tube-inner  { height: 20px; }
  .pillar         { width: 8px; padding: 4px 2px; }
  #body-inner     { padding: 0 6px; }
  #base           { height: 34px; }
  .speaker-grille { height: 18px; }
  .brand-mark     { font-size: 9px; letter-spacing: 0.8px; padding: 1px 6px; }
  #viewer         { height: 300px; }
  .record         { width: 150px; height: 150px; }
  .record-label   { width: 82px; height: 82px; }
  .label-emoji    { font-size: 20px; }
  .tonearm-rod    { height: 66px; }
  .tonearm-head   { top: 64px; }
  .content-title  { font-size: 16px; }
  .content-text   { font-size: 14px; }
  .content-text .big { font-size: 19px; }
  .content-highlight { font-size: 14px; }
  .btn-title      { font-size: 12px; }
  .song-btn       { padding: 6px 6px; min-height: 34px; }
}
