/* Yeshiva Stolin Karlin — Chinese Auction 2027 · Ballroom Venue Projector */
/* Midnight Navy Tartan, Stitched Cognac Leather, Copper-Gold & Champagne Cream */

:root {
  --navy-deep: #070f1c;
  --navy-base: #0c1729;
  --navy-panel: rgba(13, 25, 46, 0.90);
  --navy-tile: rgba(8, 17, 33, 0.92);
  --leather-dark: #5c240c;
  --leather-mid: #8e3f19;
  --leather-light: #b65a28;
  --copper: #d96b38;
  --copper-bright: #f08d57;
  --gold: #d9a756;
  --champagne: #f4d89e;
  --champagne-bright: #fff4d6;
  --cream: #f8f2e7;
  --muted: #b2bccd;
  --border-gold: rgba(244, 216, 158, 0.30);
  --border-gold-strong: rgba(244, 216, 158, 0.78);
  --ok-dot: #57e39c;
  --warn-dot: #f5b942;
  --font-serif: 'Playfair Display', 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background-color: var(--navy-deep);
  color: var(--cream);
  font-family: var(--font-sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body {
  display: flex;
  flex-direction: column;
  position: relative;
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(24, 52, 88, 0.36) 0px,
      rgba(24, 52, 88, 0.36) 56px,
      rgba(7, 15, 28, 0) 56px,
      rgba(7, 15, 28, 0) 144px,
      rgba(130, 50, 34, 0.14) 144px,
      rgba(130, 50, 34, 0.14) 149px,
      rgba(244, 216, 158, 0.08) 149px,
      rgba(244, 216, 158, 0.08) 152px,
      rgba(7, 15, 28, 0) 152px,
      rgba(7, 15, 28, 0) 220px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(24, 52, 88, 0.28) 0px,
      rgba(24, 52, 88, 0.28) 56px,
      rgba(7, 15, 28, 0) 56px,
      rgba(7, 15, 28, 0) 144px,
      rgba(130, 50, 34, 0.12) 144px,
      rgba(130, 50, 34, 0.12) 149px,
      rgba(244, 216, 158, 0.06) 149px,
      rgba(244, 216, 158, 0.06) 152px,
      rgba(7, 15, 28, 0) 152px,
      rgba(7, 15, 28, 0) 220px
    ),
    radial-gradient(ellipse at 50% 12%, #173056 0%, #091324 58%, #060d18 100%);
}

.hidden,
[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Top & Bottom Tartan Ribbons */
.tartan-trim {
  height: 10px;
  width: 100%;
  background-image: url('/assets/tartan-strip.webp');
  background-repeat: repeat-x;
  background-size: auto 56px;
  background-position: center;
  border-bottom: 1px solid var(--border-gold);
  flex-shrink: 0;
  position: relative;
  z-index: 30;
}

.tartan-trim-bottom {
  border-bottom: none;
  border-top: 1px solid var(--border-gold);
  margin-top: auto;
}

/* Confetti Canvas */
.confetti-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 45;
}

/* ============================================================================
   GATE SCREEN (Auth Required or Passcode Locked)
   ============================================================================ */
.gate-screen {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  position: relative;
  z-index: 25;
}

.gate-card {
  width: min(560px, 100%);
  padding: 40px 36px;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(16, 33, 60, 0.96), rgba(8, 17, 32, 0.98));
  border: 1.5px solid var(--border-gold-strong);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.65),
    inset 0 0 0 1px rgba(255, 240, 204, 0.08);
  text-align: center;
}

.gate-crest-wrap {
  width: 112px;
  height: 112px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 216, 158, 0.24) 0%, rgba(217, 107, 56, 0.08) 58%, transparent 74%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gate-crest {
  width: 96px;
  height: auto;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.55));
}

.gate-kicker {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--leather-light), var(--leather-dark));
  border: 1px dashed rgba(244, 216, 158, 0.72);
  color: var(--champagne-bright);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.gate-title {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  color: var(--champagne-bright);
  line-height: 1.15;
}

.gate-copy {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.gate-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.gate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 340px;
  padding: 13px 22px;
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, filter 0.15s ease, border-color 0.15s ease;
}

.gate-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.gate-btn-primary {
  background: linear-gradient(180deg, var(--copper-bright), var(--copper) 65%, var(--leather-mid));
  color: #fffaf0;
  border-color: rgba(255, 240, 204, 0.55);
  box-shadow: 0 10px 24px rgba(217, 107, 56, 0.32);
}

.gate-btn-secondary {
  background: rgba(244, 216, 158, 0.14);
  color: var(--champagne-bright);
  border-color: var(--border-gold-strong);
}

.gate-btn-ghost {
  background: rgba(12, 23, 41, 0.72);
  color: var(--muted);
  border-color: var(--border-gold);
}

/* ============================================================================
   MAIN BALLROOM VIEWPORT
   ============================================================================ */
.ballroom-viewport {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: calc(100vh - 20px);
  min-height: 0;
  padding: 14px 22px 74px;
}

/* ============================================================================
   STAGE 1: STANDBY — 70% BIG CLASS PHOTOS (LEFT) + 30% BIG LOGO & COUNTDOWN (RIGHT)
   ============================================================================ */
.stage-standby {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
  gap: 20px;
  align-items: stretch;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  min-height: 0;
}

/* Left ~70%: Class Photo Stage */
.standby-photos {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}

.photo-frame {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: var(--navy-tile);
  border: 2px solid var(--border-gold-strong);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(255, 240, 204, 0.08),
    0 0 44px rgba(217, 107, 56, 0.14);
  min-height: 0;
}

.photo-viewport {
  position: relative;
  flex: 1;
  width: 100%;
  min-height: 360px;
  background: #060d18;
  overflow: hidden;
}

.slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transform: scale(1.0);
  transition: opacity 1.15s ease-in-out, transform 8.5s ease-out;
  will-change: opacity, transform;
  user-select: none;
}

.slide-img.is-visible {
  opacity: 1;
  transform: scale(1.018);
  z-index: 2;
}

.slide-img.is-paused {
  transition: opacity 0.55s ease-in-out;
}

.slide-img.is-instant {
  transition: none !important;
  transform: scale(1.0);
}

.photo-vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  box-shadow: inset 0 0 70px rgba(6, 12, 24, 0.45);
  background: linear-gradient(180deg, rgba(6, 12, 24, 0.12) 0%, transparent 18%, transparent 82%, rgba(6, 12, 24, 0.35) 100%);
}

.slide-paused-pill {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(7, 15, 28, 0.82);
  border: 1px solid var(--border-gold-strong);
  color: var(--champagne-bright);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.slide-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  background: rgba(7, 15, 28, 0.62);
  color: var(--champagne-bright);
  font-size: 1.9rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.18s ease, transform 0.15s ease;
}

.photo-viewport:hover .slide-nav-btn,
.slide-nav-btn:focus-visible {
  opacity: 1;
}

.slide-nav-btn:hover {
  background: rgba(142, 63, 25, 0.9);
  border-color: var(--border-gold-strong);
}

.slide-nav-prev { left: 16px; }
.slide-nav-next { right: 16px; }

/* Stitched-Leather English Class Caption Bar */
.leather-caption-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 28px;
  background:
    linear-gradient(180deg, var(--leather-light) 0%, var(--leather-mid) 48%, var(--leather-dark) 100%);
  border-top: 2px solid rgba(244, 216, 158, 0.65);
  box-shadow: inset 0 1px 0 rgba(255, 244, 214, 0.25);
  flex-shrink: 0;
}

.leather-caption-bar::before,
.leather-caption-bar::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  height: 0;
  border-top: 1.5px dashed rgba(244, 216, 158, 0.56);
  pointer-events: none;
}

.leather-caption-bar::before { top: 6px; }
.leather-caption-bar::after { bottom: 6px; }

.caption-left {
  min-width: 0;
}

.caption-eyebrow {
  display: block;
  font-size: clamp(0.72rem, 0.9vw, 0.9rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 240, 204, 0.82);
  margin-bottom: 3px;
}

.caption-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 2.5vw, 2.45rem);
  font-weight: 800;
  color: var(--champagne-bright);
  letter-spacing: 0.01em;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.42);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.caption-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
  flex-shrink: 0;
}

.caption-counter {
  font-size: clamp(0.9rem, 1.1vw, 1.15rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--champagne-bright);
  font-variant-numeric: tabular-nums;
}

.caption-progress-track {
  width: 112px;
  height: 5px;
  border-radius: 999px;
  background: rgba(7, 15, 28, 0.45);
  overflow: hidden;
  border: 1px solid rgba(244, 216, 158, 0.3);
}

.caption-progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--champagne), var(--copper-bright));
  transition: width 0.25s linear;
}

/* Right ~30%: Big YSK Logo + High-Contrast Live Countdown (ZERO QR) */
.standby-sidebar {
  display: flex;
  min-width: 0;
  min-height: 0;
}

.sidebar-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  padding: clamp(22px, 2.8vh, 36px) clamp(18px, 1.8vw, 30px);
  border-radius: 20px;
  background:
    radial-gradient(ellipse at 50% 22%, rgba(217, 107, 56, 0.14) 0%, transparent 56%),
    linear-gradient(168deg, rgba(16, 33, 60, 0.94) 0%, rgba(9, 19, 36, 0.97) 100%);
  border: 2px solid var(--border-gold-strong);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.60),
    inset 0 0 0 1px rgba(255, 240, 204, 0.08);
}

.sidebar-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.crest-halo {
  width: clamp(150px, 16vw, 260px);
  aspect-ratio: 4 / 3.15;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  margin-bottom: 12px;
  border-radius: 28px;
  background: radial-gradient(ellipse at center, rgba(255, 244, 214, 0.22) 0%, rgba(217, 107, 56, 0.08) 54%, transparent 76%);
}

.sidebar-crest {
  width: 100%;
  height: auto;
  max-height: clamp(136px, 20vh, 224px);
  object-fit: contain;
  filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.58));
}

.sidebar-eyebrow {
  font-size: clamp(0.76rem, 0.95vw, 0.96rem);
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper-bright);
  margin-bottom: 6px;
}

.sidebar-org {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 2.25vw, 2.35rem);
  font-weight: 800;
  color: var(--champagne-bright);
  line-height: 1.12;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.48);
}

.sidebar-date {
  margin-top: 8px;
  font-size: clamp(0.88rem, 1.05vw, 1.08rem);
  font-weight: 600;
  color: var(--champagne);
  letter-spacing: 0.04em;
}

/* Divider */
.sidebar-divider {
  width: 82%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 10px 0;
}

.sidebar-divider::before,
.sidebar-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-gold-strong), transparent);
}

.divider-diamond {
  width: 10px;
  height: 10px;
  background: var(--copper-bright);
  border: 1.5px solid var(--champagne-bright);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* Large High-Contrast Countdown Timer */
.sidebar-countdown {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown-eyebrow {
  font-size: clamp(0.8rem, 1vw, 1.02rem);
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 14px;
}

.countdown-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.2vw, 16px);
}

.cd-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 1.8vh, 22px) 10px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(10, 21, 40, 0.96), rgba(6, 13, 26, 0.98));
  border: 1.5px solid rgba(244, 216, 158, 0.44);
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 214, 0.14),
    0 10px 24px rgba(0, 0, 0, 0.36);
}

.cd-num {
  font-family: var(--font-serif);
  font-size: clamp(2.45rem, 3.9vw, 4.3rem);
  font-weight: 800;
  line-height: 1;
  color: var(--champagne-bright);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 4px 18px rgba(217, 107, 56, 0.35);
}

.cd-unit-lbl {
  margin-top: 6px;
  font-size: clamp(0.74rem, 0.9vw, 0.94rem);
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper-bright);
}

.cd-live-msg {
  width: 100%;
  padding: 20px 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--leather-light), var(--leather-dark));
  border: 1.5px dashed rgba(244, 216, 158, 0.78);
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.2vw, 2.1rem);
  font-weight: 800;
  color: var(--champagne-bright);
  box-shadow: 0 12px 30px rgba(217, 107, 56, 0.3);
}

.sidebar-winners-chip {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(217, 107, 56, 0.16);
  border: 1px solid var(--border-gold);
  color: var(--champagne-bright);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.winners-chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--copper-bright);
  box-shadow: 0 0 10px var(--copper-bright);
}

/* ============================================================================
   SHARED FULL-STAGE OVERLAYS (Prize Presenting / Reveal / Board)
   ============================================================================ */
.stage-overlay {
  position: fixed;
  inset: 10px 0 10px 0;
  z-index: 35;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 28px 92px;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(24, 52, 92, 0.95) 0%, rgba(7, 15, 28, 0.97) 72%);
  backdrop-filter: blur(8px);
}

.leather-badge {
  display: inline-block;
  padding: 10px 28px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--leather-light), var(--leather-mid) 55%, var(--leather-dark));
  border: 1.5px dashed rgba(244, 216, 158, 0.8);
  color: var(--champagne-bright);
  font-size: clamp(0.9rem, 1.25vw, 1.18rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
}

.leather-badge-sm {
  padding: 6px 16px;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
}

/* ============================================================================
   STAGE 2: PRIZE PRESENTING
   ============================================================================ */
.presenting-card {
  width: min(1040px, 94vw);
  padding: clamp(34px, 5vh, 62px) clamp(26px, 4vw, 60px);
  border-radius: 26px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(217, 107, 56, 0.22) 0%, transparent 55%),
    linear-gradient(160deg, rgba(16, 33, 60, 0.97), rgba(8, 17, 32, 0.99));
  border: 2.5px solid var(--border-gold-strong);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.72),
    0 0 80px rgba(217, 107, 56, 0.24);
  text-align: center;
  animation: card-rise 0.45s cubic-bezier(0.2, 0.9, 0.25, 1);
}

.presenting-top-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--champagne);
  font-size: clamp(0.85rem, 1.1vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.presenting-crest {
  width: 44px;
  height: auto;
}

.presenting-title {
  margin: 22px 0 14px;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.2vw, 4.6rem);
  font-weight: 800;
  color: var(--champagne-bright);
  line-height: 1.08;
  text-shadow: 0 6px 26px rgba(0, 0, 0, 0.55);
}

.presenting-value {
  display: inline-block;
  margin: 4px 0 14px;
  padding: 8px 24px;
  border-radius: 999px;
  background: rgba(217, 107, 56, 0.22);
  border: 1.5px solid var(--copper-bright);
  color: var(--champagne-bright);
  font-size: clamp(1.25rem, 2.2vw, 1.9rem);
  font-weight: 800;
}

.presenting-sponsor {
  margin: 6px 0 28px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.35rem);
  font-style: italic;
}

.presenting-status-bar {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 26px;
  border-radius: 999px;
  background: rgba(7, 15, 28, 0.82);
  border: 1px solid var(--border-gold);
  color: var(--champagne);
  font-size: clamp(0.92rem, 1.15vw, 1.12rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-pulse-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--copper-bright);
  box-shadow: 0 0 14px var(--copper-bright);
  animation: pulse-dot 1.2s ease-in-out infinite;
}

/* ============================================================================
   STAGE 3: GALA REVEAL (3 DISTINCT STYLES + WINNER CLIMAX)
   ============================================================================ */
.stage-reveal {
  justify-content: flex-start;
  padding-top: 26px;
  gap: 20px;
}

.reveal-header-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 24px;
  border-radius: 999px;
  background: rgba(11, 22, 41, 0.88);
  border: 1.5px solid var(--border-gold);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  max-width: 94vw;
  z-index: 5;
}

.reveal-mini-crest {
  width: 40px;
  height: auto;
  flex-shrink: 0;
}

.reveal-prize-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.reveal-prize-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2vw, 1.75rem);
  font-weight: 800;
  color: var(--champagne-bright);
}

.reveal-prize-value {
  font-size: clamp(0.9rem, 1.2vw, 1.15rem);
  font-weight: 800;
  color: var(--copper-bright);
}

.reveal-style-stage {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  position: relative;
  min-height: 360px;
}

.reveal-sub-cue {
  font-size: clamp(0.95rem, 1.3vw, 1.25rem);
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--champagne);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

/* ---------- STYLE A: COPPER SLOT REEL ---------- */
.slot-machine-frame {
  position: relative;
  width: min(920px, 92vw);
  height: clamp(270px, 38vh, 360px);
  padding: 16px 26px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, #b85c29 0%, #7d3414 14%, #4c1d09 50%, #7d3414 86%, #b85c29 100%);
  border: 3px solid var(--champagne);
  box-shadow:
    0 32px 84px rgba(0, 0, 0, 0.72),
    0 0 65px rgba(217, 107, 56, 0.32),
    inset 0 0 0 2px rgba(255, 244, 214, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slot-window {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, #050a14 0%, #0d1d38 22%, #13294d 50%, #0d1d38 78%, #050a14 100%);
  border: 2px solid rgba(244, 216, 158, 0.55);
  box-shadow: inset 0 24px 36px rgba(0, 0, 0, 0.8), inset 0 -24px 36px rgba(0, 0, 0, 0.8);
}

.slot-center-band {
  position: absolute;
  left: 22px;
  right: 22px;
  top: 50%;
  height: 92px;
  transform: translateY(-50%);
  border-top: 2.5px solid var(--champagne-bright);
  border-bottom: 2.5px solid var(--champagne-bright);
  background: linear-gradient(90deg, rgba(217, 107, 56, 0.12), rgba(244, 216, 158, 0.18), rgba(217, 107, 56, 0.12));
  box-shadow: 0 0 36px rgba(244, 216, 158, 0.22);
  pointer-events: none;
  z-index: 4;
}

.slot-pointer {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.4rem;
  color: var(--champagne-bright);
  text-shadow: 0 0 18px var(--copper-bright);
  z-index: 6;
  pointer-events: none;
}

.slot-pointer-left { left: 4px; }
.slot-pointer-right { right: 4px; }

.slot-glass-sheen {
  position: absolute;
  inset: 16px 26px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, transparent 28%, transparent 72%, rgba(0, 0, 0, 0.28) 100%);
  pointer-events: none;
  z-index: 5;
}

.slot-reel-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  will-change: transform;
}

.slot-item {
  height: 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border-bottom: 1px dashed rgba(244, 216, 158, 0.2);
  text-align: center;
}

.slot-item-name {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.1vw, 2.75rem);
  font-weight: 800;
  color: var(--champagne-bright);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.slot-item-meta {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper-bright);
  margin-top: 2px;
}

.slot-item.is-winner .slot-item-name {
  color: #ffffff;
  text-shadow: 0 0 24px rgba(244, 216, 158, 0.85), 0 0 42px rgba(217, 107, 56, 0.65);
}

/* ---------- STYLE B: GOLDEN ENVELOPE UNSEAL ---------- */
.reveal-envelope {
  perspective: 1400px;
}

.envelope-assembly {
  position: relative;
  width: min(620px, 88vw);
  height: clamp(300px, 42vh, 380px);
  margin-top: 34px;
  transform-style: preserve-3d;
}

.env-back {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: linear-gradient(160deg, #4b1d09, #2f1104);
  border: 2.5px solid var(--champagne);
  box-shadow: 0 32px 76px rgba(0, 0, 0, 0.72), 0 0 70px rgba(217, 107, 56, 0.26);
}

.env-letter {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 12%;
  bottom: 10%;
  border-radius: 14px;
  padding: 28px 24px;
  background: linear-gradient(175deg, #fffaf0 0%, #f5e6c8 100%);
  border: 2px solid var(--copper);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
  transform: translateY(18px) scale(0.95);
  transition: transform 1.05s cubic-bezier(0.18, 0.92, 0.28, 1.08), box-shadow 0.8s ease;
}

.env-letter-kicker {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--leather-mid);
  margin-bottom: 10px;
}

.env-letter-name {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
  font-weight: 800;
  color: #0e1d36;
  line-height: 1.12;
}

.env-letter-order {
  margin-top: 12px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(142, 63, 25, 0.14);
  color: var(--leather-dark);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.env-front-pocket {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: linear-gradient(165deg, var(--leather-light) 0%, var(--leather-mid) 52%, var(--leather-dark) 100%);
  clip-path: polygon(0 30%, 50% 62%, 100% 30%, 100% 100%, 0 100%);
  border-bottom: 3px solid var(--champagne);
  z-index: 4;
  box-shadow: inset 0 -10px 30px rgba(0, 0, 0, 0.35);
}

.env-stitch-frame {
  position: absolute;
  inset: 14px;
  border-radius: 12px;
  border: 2px dashed rgba(244, 216, 158, 0.56);
}

.env-flap {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 58%;
  transform-origin: top center;
  transform: rotateX(0deg);
  transition: transform 0.9s cubic-bezier(0.22, 0.85, 0.3, 1);
  z-index: 6;
}

.env-flap-inner {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #b85d2b 0%, #863916 70%, #5b220b 100%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  border-top: 3px solid var(--champagne-bright);
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.45));
}

.env-wax-seal {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%) scale(1);
  width: 106px;
  height: 106px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe6a8 0%, #d98c3e 45%, #8a3d17 90%);
  border: 3px solid var(--champagne-bright);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55), 0 0 32px rgba(244, 216, 158, 0.48);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 8;
  transition: transform 0.55s cubic-bezier(0.3, 1.3, 0.4, 1), opacity 0.45s ease;
}

.env-seal-crest {
  width: 68px;
  height: auto;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}

/* Envelope Animation States */
.envelope-assembly.is-breaking .env-wax-seal {
  transform: translate(-50%, -50%) scale(1.22) rotate(12deg);
  opacity: 0;
}

.envelope-assembly.is-open .env-wax-seal {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.4);
}

.envelope-assembly.is-open .env-flap {
  transform: rotateX(-165deg);
  z-index: 1;
}

.envelope-assembly.is-risen .env-letter {
  z-index: 7;
  transform: translateY(-92px) scale(1.06);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.62), 0 0 60px rgba(244, 216, 158, 0.52);
}

/* ---------- STYLE C: SPOTLIGHT COUNTDOWN ---------- */
.reveal-spotlight {
  overflow: hidden;
}

.spotlight-beams {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.spot-beam {
  position: absolute;
  top: -18%;
  width: 34vw;
  height: 150vh;
  background: linear-gradient(180deg, rgba(255, 240, 204, 0.34) 0%, rgba(217, 107, 56, 0.14) 55%, transparent 100%);
  clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%);
  transform-origin: top center;
  filter: blur(6px);
}

.spot-beam-left {
  left: 8%;
  animation: sweep-left 2.4s ease-in-out infinite alternate;
}

.spot-beam-right {
  right: 8%;
  animation: sweep-right 2.4s ease-in-out infinite alternate;
}

.reveal-spotlight.is-converged .spot-beam-left {
  animation: none;
  transform: rotate(-18deg);
  transition: transform 0.5s ease-out;
}

.reveal-spotlight.is-converged .spot-beam-right {
  animation: none;
  transform: rotate(18deg);
  transition: transform 0.5s ease-out;
}

.spotlight-countdown-stage {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.spotlight-ring {
  width: clamp(200px, 28vh, 290px);
  height: clamp(200px, 28vh, 290px);
  border-radius: 50%;
  border: 4px solid var(--champagne-bright);
  background: radial-gradient(circle, rgba(244, 216, 158, 0.24) 0%, rgba(217, 107, 56, 0.18) 52%, rgba(9, 19, 36, 0.92) 84%);
  box-shadow:
    0 0 70px rgba(244, 216, 158, 0.42),
    0 0 120px rgba(217, 107, 56, 0.34),
    inset 0 0 36px rgba(255, 244, 214, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
}

.spotlight-count-num {
  font-family: var(--font-serif);
  font-size: clamp(6rem, 13vh, 10rem);
  font-weight: 800;
  color: var(--champagne-bright);
  line-height: 1;
  text-shadow: 0 8px 34px rgba(217, 107, 56, 0.72);
}

.spotlight-count-num.is-pop {
  animation: count-pop 0.75s cubic-bezier(0.2, 1.25, 0.3, 1);
}

/* ---------- WINNER CLIMAX CARD ---------- */
.winner-climax-card {
  position: relative;
  z-index: 10;
  width: min(1020px, 94vw);
  padding: clamp(32px, 4.8vh, 58px) clamp(24px, 4vw, 56px);
  border-radius: 28px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(244, 216, 158, 0.22) 0%, transparent 55%),
    linear-gradient(155deg, #16305a 0%, #0b182e 65%, #071020 100%);
  border: 3px solid var(--champagne-bright);
  box-shadow:
    0 36px 96px rgba(0, 0, 0, 0.78),
    0 0 110px rgba(217, 107, 56, 0.45),
    inset 0 0 0 1.5px rgba(255, 244, 214, 0.22);
  text-align: center;
  animation: climax-pop 0.55s cubic-bezier(0.16, 1.15, 0.3, 1);
}

.climax-kicker {
  display: inline-block;
  padding: 9px 26px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--leather-light), var(--leather-mid) 55%, var(--leather-dark));
  border: 1.5px dashed rgba(244, 216, 158, 0.85);
  color: var(--champagne-bright);
  font-size: clamp(0.88rem, 1.2vw, 1.12rem);
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.climax-prize-line {
  font-size: clamp(1.15rem, 1.9vw, 1.7rem);
  font-weight: 700;
  color: var(--champagne);
  margin-bottom: 14px;
}

.climax-winner-name {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6.4vw, 5.6rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.06;
  text-shadow:
    0 6px 28px rgba(0, 0, 0, 0.65),
    0 0 44px rgba(244, 216, 158, 0.45);
  margin: 6px 0 18px;
  word-break: break-word;
}

.climax-order-pill {
  display: inline-block;
  padding: 8px 22px;
  border-radius: 999px;
  background: rgba(244, 216, 158, 0.14);
  border: 1px solid var(--border-gold-strong);
  color: var(--champagne-bright);
  font-size: clamp(0.95rem, 1.3vw, 1.25rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}

.climax-practice-note {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper-bright);
  margin-bottom: 16px;
}

.climax-dismiss-btn {
  margin-top: 6px;
  padding: 12px 28px;
  border-radius: 12px;
  border: 1.5px solid var(--border-gold-strong);
  background: rgba(9, 19, 36, 0.78);
  color: var(--champagne-bright);
  font-family: var(--font-sans);
  font-size: 0.96rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.climax-dismiss-btn:hover {
  background: rgba(142, 63, 25, 0.85);
  transform: translateY(-1px);
}

/* ============================================================================
   STAGE 4: WINNERS BOARD OVERLAY
   ============================================================================ */
.stage-board {
  justify-content: flex-start;
  overflow-y: auto;
}

.board-shell {
  width: min(1680px, 96vw);
  margin: 0 auto;
}

.board-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.board-eyebrow {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper-bright);
}

.board-title {
  margin: 4px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.8vw, 2.5rem);
  color: var(--champagne-bright);
}

.board-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.winners-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.prize-slot {
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(12, 24, 44, 0.92);
  border: 1px solid rgba(244, 216, 158, 0.22);
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 110px;
}

.prize-slot.is-revealed {
  background: linear-gradient(155deg, rgba(142, 63, 25, 0.36), rgba(14, 28, 52, 0.96));
  border-color: var(--border-gold-strong);
  box-shadow: 0 8px 22px rgba(217, 107, 56, 0.2);
}

.slot-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--copper-bright);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.slot-title {
  font-family: var(--font-serif);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--cream);
  line-height: 1.25;
}

.slot-winner {
  margin-top: auto;
  padding-top: 6px;
  border-top: 1px dashed rgba(244, 216, 158, 0.2);
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--muted);
}

.prize-slot.is-revealed .slot-winner {
  color: var(--champagne-bright);
}

.slot-order {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--copper-bright);
  letter-spacing: 0.06em;
}

/* ============================================================================
   OPERATOR CONTROL DOCK (Floating bottom glass bar)
   ============================================================================ */
.operator-dock {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 40;
  width: max-content;
  max-width: calc(100vw - 28px);
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 14px;
  background: rgba(8, 16, 30, 0.92);
  border: 1px solid var(--border-gold);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(12px);
  overflow-x: auto;
}

.dock-group {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.dock-group + .dock-group {
  padding-left: 8px;
  border-left: 1px solid rgba(244, 216, 158, 0.18);
}

.dock-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 2px;
}

.dock-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(15, 30, 54, 0.9);
  border: 1px solid rgba(244, 216, 158, 0.24);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--champagne);
  white-space: nowrap;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok-dot);
  box-shadow: 0 0 8px var(--ok-dot);
}

.live-dot.is-warn {
  background: var(--warn-dot);
  box-shadow: 0 0 8px var(--warn-dot);
}

.live-dot.is-practice {
  background: var(--copper-bright);
  box-shadow: 0 0 8px var(--copper-bright);
}

.practice-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(217, 107, 56, 0.34), rgba(142, 63, 25, 0.56));
  border: 1px solid var(--copper-bright);
  color: var(--champagne-bright);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.practice-pill-close {
  border: none;
  background: rgba(7, 15, 28, 0.45);
  color: var(--champagne-bright);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  line-height: 1;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.practice-pill-close:hover {
  background: rgba(7, 15, 28, 0.85);
}

.dock-btn,
.dock-seg {
  appearance: none;
  border: 1px solid rgba(244, 216, 158, 0.28);
  background: rgba(15, 29, 52, 0.88);
  color: var(--cream);
  padding: 5px 9px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}

.dock-btn:hover,
.dock-seg:hover {
  background: rgba(30, 54, 92, 0.94);
  border-color: var(--border-gold-strong);
}

.dock-seg.is-active {
  background: linear-gradient(180deg, var(--leather-light), var(--leather-dark));
  border-color: var(--champagne);
  color: var(--champagne-bright);
}

.dock-btn-copper {
  background: linear-gradient(180deg, #c76230, #8a3a16);
  border-color: var(--champagne);
  color: #fffaf0;
}

.dock-btn-copper:hover {
  background: linear-gradient(180deg, #d96f39, #9a431b);
  border-color: var(--champagne-bright);
  color: #fffaf0;
}

.dock-btn-gold {
  background: linear-gradient(180deg, #e8aa54, #b66c22);
  border-color: var(--champagne-bright);
  color: #0b1526;
}

.dock-btn-gold:hover {
  background: linear-gradient(180deg, #f3ba64, #c57828);
  border-color: #ffffff;
  color: #07101f;
}

.dock-btn.is-muted {
  background: rgba(130, 38, 30, 0.65);
  border-color: rgba(255, 165, 145, 0.65);
  color: #ffe3dc;
}

.dock-icon-btn {
  padding: 6px 9px;
}

.dock-vol-wrap {
  display: inline-flex;
  align-items: center;
}

.dock-vol-slider {
  width: 56px;
  accent-color: var(--copper-bright);
  cursor: pointer;
}

.dock-audio-phase {
  font-size: 0.71rem;
  font-weight: 700;
  color: var(--champagne);
  max-width: 96px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ============================================================================
   KEYFRAMES
   ============================================================================ */
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.55; }
}

@keyframes card-rise {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes climax-pop {
  from { opacity: 0; transform: scale(0.86) translateY(24px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes count-pop {
  0% { transform: scale(0.55); opacity: 0.25; }
  55% { transform: scale(1.16); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes sweep-left {
  0% { transform: rotate(-34deg); }
  100% { transform: rotate(10deg); }
}

@keyframes sweep-right {
  0% { transform: rotate(34deg); }
  100% { transform: rotate(-10deg); }
}

/* ============================================================================
   RESPONSIVE BREAKPOINTS (Tablet & Mobile 390x844 Preview Support)
   ============================================================================ */
@media (max-width: 1180px) {
  .winners-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .ballroom-viewport {
    height: auto;
    min-height: calc(100vh - 20px);
    padding: 12px 12px 20px;
    gap: 14px;
  }

  .stage-standby {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .photo-viewport {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .leather-caption-bar {
    padding: 12px 16px;
  }

  .caption-title {
    font-size: 1.3rem;
  }

  .caption-progress-track {
    width: 72px;
  }

  .sidebar-card {
    padding: 20px 16px;
    gap: 12px;
  }

  .crest-halo {
    width: 136px;
    margin-bottom: 8px;
  }

  .sidebar-crest {
    max-height: 112px;
  }

  .sidebar-org {
    font-size: 1.55rem;
  }

  .countdown-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .cd-tile {
    padding: 10px 4px;
    border-radius: 12px;
  }

  .cd-num {
    font-size: 1.75rem;
  }

  .cd-unit-lbl {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
  }

  .operator-dock {
    position: static;
    transform: none;
    width: 100%;
    max-width: none;
    flex-wrap: wrap;
    padding: 8px 10px;
    gap: 6px;
  }

  body[data-stage="presenting"] .operator-dock,
  body[data-stage="revealing"] .operator-dock,
  body[data-stage="winner"] .operator-dock,
  body[data-stage="board"] .operator-dock {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 12px;
    width: auto;
  }

  .dock-group + .dock-group {
    padding-left: 0;
    border-left: none;
  }

  .dock-label,
  .dock-audio-phase {
    display: none;
  }

  .dock-vol-slider {
    width: 56px;
  }

  .stage-overlay {
    padding: 16px 14px 138px;
  }

  .winners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .slot-machine-frame {
    height: 230px;
    padding: 12px 16px;
  }

  .envelope-assembly {
    height: 250px;
  }

  .envelope-assembly.is-risen .env-letter {
    transform: translateY(-56px) scale(1.03);
  }
}

@media (max-width: 440px) {
  .winners-grid {
    grid-template-columns: 1fr;
  }

  .dock-btn,
  .dock-seg {
    padding: 5px 8px;
    font-size: 0.73rem;
  }
}

@media (max-width: 1560px) and (min-width: 961px) {
  .dock-label,
  .dock-audio-phase {
    display: none;
  }
  .operator-dock {
    gap: 6px;
    padding: 6px 10px;
  }
  .dock-group + .dock-group {
    padding-left: 6px;
  }
}
