:root {
  --bg-night: #0B0D17;
  --bg-panel: #141829;
  --bg-elevated: #1E243D;
  --line-glow: #2D3559;
  --gold-electric: #F5B82E;
  --gold-shadow: #C78A0E;
  --party-pink: #FF3B6B;
  --party-pink-dk: #BD1A45;
  --party-violet: #7C5CFF;
  --party-violet-dk: #5335CC;
  --party-mint: #22D39A;
  --ink-bright: #FFFDF8;
  --ink-soft: #B4BCD8;
  --ink-dark: #111422;
  --cream-card: #FFF4D6;
  --ink-muted-light: #525870;

  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-editorial: 'Instrument Serif', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --kb-offset: 0px;
  --vvh: 100dvh;
  --radius: 16px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 10px rgba(11, 13, 23, 0.36);
  --shadow-md: 0 14px 36px rgba(11, 13, 23, 0.56);
  --glow-gold: 0 0 28px rgba(245, 184, 46, 0.24);
  --glow-pink: 0 0 28px rgba(255, 59, 107, 0.26);
  --glow-violet: 0 0 28px rgba(124, 92, 255, 0.28);
}

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

[hidden],
details:not([open]) > :not(summary) {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  background: var(--bg-night);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-bright);
  background: var(--bg-night);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold-electric);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--cream-card);
}

:focus-visible {
  outline: 2px solid var(--gold-electric);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold-electric);
  color: var(--ink-dark);
  padding: 12px 16px;
  font-weight: 800;
  z-index: 100;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  border-radius: var(--radius);
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 13, 23, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(45, 53, 89, 0.85);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 62px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--ink-bright);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  min-width: 0;
}

.brand:hover {
  color: var(--gold-electric);
}

.brand-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand .gf-site-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(245, 184, 46, 0.45);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 4px;
  transition: color 0.15s ease;
}

.site-nav a:hover {
  color: var(--gold-electric);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-toggle {
  display: none;
  min-height: 42px;
  min-width: 44px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1.5px solid var(--line-glow);
  background: var(--bg-elevated);
  color: var(--ink-bright);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 20px 20px;
  background: var(--bg-panel);
  border-bottom: 1px solid var(--line-glow);
}

.mobile-nav a {
  color: var(--ink-bright);
  text-decoration: none;
  font-weight: 600;
  padding: 10px 8px;
  min-height: 44px;
  display: flex;
  align-items: center;
}

/* Typography & Icons */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0 0 12px;
  color: var(--ink-bright);
}

.hero-title {
  font-size: clamp(26px, 3.6vw, 42px);
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(23px, 2.8vw, 30px);
  font-weight: 800;
}

h3 {
  font-size: 20px;
  font-weight: 700;
}

.sa-ico {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-electric);
  margin: 0 0 8px;
}

.hero-lead {
  font-size: 16px;
  color: var(--ink-soft);
  margin: 0 0 16px;
  max-width: 60ch;
  line-height: 1.48;
}

/* 3D Tactile Arcade Push-Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 20px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  user-select: none;
  transition: transform 0.08s ease, box-shadow 0.08s ease, filter 0.14s ease, background-color 0.14s ease;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--party-pink);
  color: var(--ink-dark);
  border-color: var(--party-pink);
  box-shadow: 0 5px 0 var(--party-pink-dk), 0 10px 24px rgba(255, 59, 107, 0.28);
}

.btn-primary:hover {
  filter: brightness(1.06);
  color: var(--ink-dark);
}

.btn-primary:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 var(--party-pink-dk), 0 4px 12px rgba(255, 59, 107, 0.22);
}

.btn-gold {
  background: var(--gold-electric);
  color: var(--ink-dark);
  border-color: var(--gold-electric);
  box-shadow: 0 5px 0 var(--gold-shadow), 0 10px 24px rgba(245, 184, 46, 0.24);
}

.btn-gold:hover {
  filter: brightness(1.06);
  color: var(--ink-dark);
}

.btn-gold:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 var(--gold-shadow);
}

.btn-violet {
  background: var(--party-violet-dk);
  color: var(--ink-bright);
  border-color: var(--party-violet);
  box-shadow: 0 5px 0 var(--bg-night), 0 10px 24px rgba(124, 92, 255, 0.34);
}

.btn-violet:hover {
  filter: brightness(1.1);
  color: var(--ink-bright);
}

.btn-violet:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 var(--bg-night);
}

.btn-mint {
  background: var(--party-mint);
  color: var(--ink-dark);
  border-color: var(--party-mint);
  box-shadow: 0 5px 0 var(--bg-night), 0 8px 22px rgba(34, 211, 154, 0.24);
}

.btn-mint:hover {
  filter: brightness(1.06);
  color: var(--ink-dark);
}

.btn-mint:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 var(--bg-night);
}

.btn-secondary {
  background: var(--bg-elevated);
  color: var(--ink-bright);
  border-color: var(--line-glow);
  box-shadow: 0 4px 0 var(--bg-night);
}

.btn-secondary:hover {
  border-color: var(--gold-electric);
  color: var(--cream-card);
}

.btn-secondary:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--bg-night);
}

.btn-stage-outline {
  background: rgba(30, 36, 61, 0.72);
  color: var(--ink-bright);
  border-color: rgba(245, 184, 46, 0.52);
  box-shadow: 0 3px 0 var(--bg-night);
}

.btn-stage-outline:hover {
  background: var(--bg-elevated);
  border-color: var(--gold-electric);
  color: var(--cream-card);
}

.btn-stage-outline:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--bg-night);
}

.btn-danger {
  background: rgba(255, 59, 107, 0.14);
  color: var(--party-pink);
  border-color: var(--party-pink);
  box-shadow: 0 3px 0 var(--party-pink-dk);
}

.btn-danger:hover {
  background: var(--party-pink);
  color: var(--ink-dark);
}

.btn-sm {
  min-height: 40px;
  padding: 7px 14px;
  font-size: 13px;
  border-radius: 12px;
}

.btn-lg {
  min-height: 52px;
  padding: 12px 24px;
  font-size: 16px;
}

.btn-full {
  width: 100%;
}

.link-btn {
  background: none;
  border: none;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  min-height: 44px;
  padding: 8px;
}

.link-btn:hover {
  color: var(--gold-electric);
}

/* Stage Ambient Spotlights & Screen Shake */
.hero-band,
.room-shell {
  position: relative;
  overflow-x: clip;
}

.hero-band::before,
.hero-band::after,
.room-shell::before,
.room-shell::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
}

.hero-band::before,
.room-shell::before {
  width: 560px;
  height: 560px;
  top: -190px;
  left: -140px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.24) 0%, rgba(11, 13, 23, 0) 70%);
  animation: spotSweepA 11s ease-in-out infinite alternate;
}

.hero-band::after,
.room-shell::after {
  width: 540px;
  height: 540px;
  top: -150px;
  right: -130px;
  background: radial-gradient(circle, rgba(255, 59, 107, 0.2) 0%, rgba(11, 13, 23, 0) 70%);
  animation: spotSweepB 13s ease-in-out infinite alternate;
}

.hero-band > .container,
.room-shell > .container {
  position: relative;
  z-index: 2;
}

/* 4 Live Room Skins (midnight | y2k | disco | yearbook) */
.room-shell[data-room-skin="y2k"]::before {
  background: radial-gradient(circle, rgba(255, 59, 107, 0.34) 0%, rgba(11, 13, 23, 0) 70%);
}
.room-shell[data-room-skin="y2k"]::after {
  background: radial-gradient(circle, rgba(34, 211, 154, 0.28) 0%, rgba(11, 13, 23, 0) 70%);
}
.room-shell[data-room-skin="y2k"] .room-top-banner,
.room-shell[data-room-skin="y2k"] .reveal-stage {
  border-color: var(--party-pink);
  box-shadow: var(--glow-pink);
}

.room-shell[data-room-skin="disco"]::before {
  background: radial-gradient(circle, rgba(245, 184, 46, 0.34) 0%, rgba(11, 13, 23, 0) 70%);
}
.room-shell[data-room-skin="disco"]::after {
  background: radial-gradient(circle, rgba(124, 92, 255, 0.32) 0%, rgba(11, 13, 23, 0) 70%);
}
.room-shell[data-room-skin="disco"] .room-top-banner,
.room-shell[data-room-skin="disco"] .reveal-stage {
  border-color: var(--gold-electric);
  box-shadow: var(--glow-gold);
}

.room-shell[data-room-skin="yearbook"]::before {
  background: radial-gradient(circle, rgba(34, 211, 154, 0.24) 0%, rgba(11, 13, 23, 0) 70%);
}
.room-shell[data-room-skin="yearbook"]::after {
  background: radial-gradient(circle, rgba(245, 184, 46, 0.24) 0%, rgba(11, 13, 23, 0) 70%);
}
.room-shell[data-room-skin="yearbook"] .room-top-banner,
.room-shell[data-room-skin="yearbook"] .reveal-stage {
  border-color: var(--party-mint);
}

@keyframes spotSweepA {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(48px, 24px) scale(1.08); }
}

@keyframes spotSweepB {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-44px, 28px) scale(1.06); }
}

.sa-shake {
  animation: saShake 0.42s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes saShake {
  10%, 90% { transform: translate3d(-2px, 0, 0); }
  20%, 80% { transform: translate3d(4px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-5px, 0, 0); }
  40%, 60% { transform: translate3d(5px, 0, 0); }
}

/* Home Hero Layout: Midnight Party Show */
.hero-band {
  padding: 20px 0 44px;
}

.hero-top-intro {
  margin-bottom: 18px;
}

.hero-top-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-quick-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.06fr);
  gap: 24px;
  align-items: start;
}

.hero-preview-col {
  position: sticky;
  top: 76px;
}

.hero-builder-col {
  min-width: 0;
}

/* Playable Blind-Box & Multi-Mode Interactive Stage */
.gala-stage-card {
  background: linear-gradient(160deg, var(--bg-panel) 0%, var(--bg-night) 100%);
  color: var(--ink-bright);
  border: 1.5px solid rgba(245, 184, 46, 0.55);
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--shadow-md), var(--glow-gold);
  position: relative;
  overflow: hidden;
}

.stage-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.stage-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold-electric);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--party-mint);
  display: inline-block;
  box-shadow: 0 0 10px var(--party-mint);
  animation: pulseGlow 1.6s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.84); }
}

.preview-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  padding: 3px;
  border-radius: var(--radius-pill);
  background: var(--bg-night);
  border: 1px solid var(--line-glow);
  gap: 4px;
}

.preview-tab {
  min-height: 34px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.14s ease, color 0.14s ease;
}

.preview-tab.is-active {
  background: var(--gold-electric);
  color: var(--ink-dark);
}

/* Interactive Swipe-to-Tear Blind Box (Hero Focal Point) */
.blindbox-stage {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.blindbox-card {
  position: relative;
  border-radius: 18px;
  border: 2px solid var(--gold-electric);
  background: linear-gradient(145deg, var(--bg-elevated) 0%, var(--bg-panel) 100%);
  padding: 18px 16px 16px;
  transform: rotate(-0.8deg);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 12px 30px rgba(11, 13, 23, 0.55), 0 0 24px rgba(245, 184, 46, 0.22);
  overflow: hidden;
}

.blindbox-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(120deg, rgba(245, 184, 46, 0) 35%, rgba(255, 244, 214, 0.12) 50%, rgba(245, 184, 46, 0) 65%);
  transform: translateX(-60%);
  animation: foilShimmer 4.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes foilShimmer {
  0%, 100% { transform: translateX(-65%); }
  50% { transform: translateX(65%); }
}

.blindbox-card.is-opened {
  transform: rotate(0deg);
  border-color: var(--party-pink);
  box-shadow: 0 14px 34px rgba(11, 13, 23, 0.6), var(--glow-pink);
}

.blindbox-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.blindbox-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink-dark);
  background: var(--gold-electric);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.blindbox-counter {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
}

.blindbox-sealed-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.blindbox-award-preview {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 25px;
  line-height: 1.15;
  color: var(--cream-card);
  margin: 0;
}

.blindbox-teaser {
  margin: 0;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(11, 13, 23, 0.66);
  border-left: 3px solid var(--party-pink);
  font-size: 13px;
  color: var(--ink-soft);
  width: 100%;
  text-align: left;
}

.blindbox-teaser strong {
  color: var(--party-pink);
  font-family: var(--font-mono);
  font-size: 12px;
  display: block;
  margin-bottom: 2px;
}

.blindbox-revealed-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  animation: cardPop 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.blindbox-winner-card {
  width: 100%;
  padding: 14px 14px;
  border-radius: 14px;
  background: var(--cream-card);
  color: var(--ink-dark);
  border: 2px solid var(--gold-electric);
}

.blindbox-winner-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--party-pink-dk);
  display: block;
}

.blindbox-winner-name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink-dark);
  line-height: 1.1;
  margin: 4px 0;
}

.blindbox-winner-pct {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--ink-dark);
  color: var(--party-mint);
}

.blindbox-receipt {
  margin: 8px 0 0;
  padding: 9px 11px;
  border-radius: 10px;
  background: var(--ink-bright);
  border-left: 3px solid var(--party-pink);
  color: var(--ink-dark);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
}

.blindbox-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.blindbox-cta-row .btn {
  flex: 1 1 auto;
}

.blindbox-cta-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-top: 2px;
}

.blindbox-cta-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}

.blindbox-cta-pair .btn {
  width: 100%;
  padding: 7px 10px;
  white-space: nowrap;
}

/* Builder Card & Neon Avatar Chips Lobby */
.builder-card {
  background: var(--bg-panel);
  border: 1.5px solid var(--line-glow);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow-md);
}

.lobby-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.lobby-title {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  color: var(--ink-bright);
}

.preset-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 16px;
}

.preset-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--line-glow);
  background: var(--bg-elevated);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.14s ease;
}

.preset-pill:hover {
  border-color: var(--gold-electric);
  color: var(--ink-bright);
}

.preset-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  color: var(--gold-electric);
}

.preset-pill.is-active {
  background: var(--party-violet-dk);
  color: var(--ink-bright);
  border-color: var(--party-violet);
  box-shadow: 0 3px 0 var(--bg-night), 0 0 18px rgba(124, 92, 255, 0.35);
}

.preset-pill.is-active .preset-num {
  color: var(--cream-card);
}

.preset-pill[data-preset="spindare"].is-active {
  background: var(--party-pink);
  color: var(--ink-dark);
  border-color: var(--party-pink);
  box-shadow: 0 3px 0 var(--party-pink-dk), 0 0 18px rgba(255, 59, 107, 0.35);
}

.preset-pill[data-preset="spindare"].is-active .preset-num {
  color: var(--ink-dark);
}

.builder-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
}

.field-meta {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  font-weight: 700;
  color: var(--party-mint);
  background: rgba(34, 211, 154, 0.14);
  border: 1px solid rgba(34, 211, 154, 0.35);
  padding: 2px 9px;
  border-radius: var(--radius-pill);
}

.field-meta.is-over {
  color: var(--gold-electric);
  background: rgba(245, 184, 46, 0.16);
  border-color: var(--gold-electric);
}

input[type="text"],
input[type="email"],
input[type="search"],
textarea,
select {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--line-glow);
  background: var(--bg-night);
  color: var(--ink-bright);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.45;
  transition: border-color 0.14s ease, box-shadow 0.14s ease;
}

input::placeholder,
textarea::placeholder {
  color: var(--ink-muted-light);
}

textarea {
  resize: vertical;
  min-height: 96px;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--gold-electric);
  background: var(--bg-panel);
  box-shadow: 0 0 0 3px rgba(245, 184, 46, 0.16);
  outline: none;
}

/* Neon Avatar Chips Wall */
.roster-chips-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  border-radius: 14px;
  background: var(--bg-night);
  border: 1.5px solid var(--line-glow);
  min-height: 54px;
}

.player-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 8px 5px 6px;
  border-radius: var(--radius-pill);
  background: var(--bg-elevated);
  border: 1.5px solid var(--line-glow);
  color: var(--ink-bright);
  font-size: 14px;
  font-weight: 700;
  animation: chipPop 0.24s cubic-bezier(0.22, 1.35, 0.36, 1);
}

@keyframes chipPop {
  0% { opacity: 0; transform: scale(0.75); }
  100% { opacity: 1; transform: scale(1); }
}

.player-chip-av {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

.av-tone-0 { background: var(--party-pink); color: var(--ink-dark); }
.av-tone-1 { background: var(--party-violet-dk); color: var(--ink-bright); }
.av-tone-2 { background: var(--gold-electric); color: var(--ink-dark); }
.av-tone-3 { background: var(--party-mint); color: var(--ink-dark); }

.player-chip-del {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: rgba(11, 13, 23, 0.55);
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.player-chip-del:hover {
  background: var(--party-pink);
  color: var(--ink-dark);
}

.roster-add-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.roster-add-row input {
  flex: 1;
  min-width: 0;
}

.bulk-toggle-btn {
  background: transparent;
  border: 1px dashed var(--line-glow);
  color: var(--ink-soft);
  border-radius: var(--radius-pill);
  padding: 4px 11px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  min-height: 32px;
}

.bulk-toggle-btn:hover {
  border-color: var(--gold-electric);
  color: var(--gold-electric);
}

/* Spice Level & 4 Theme Skins Selectors */
.party-controls-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pill-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.spice-btn,
.skin-btn {
  min-height: 36px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--line-glow);
  background: var(--bg-night);
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.14s ease;
}

.spice-btn.is-active[data-spice="mild"] {
  background: var(--party-mint);
  border-color: var(--party-mint);
  color: var(--ink-dark);
}

.spice-btn.is-active[data-spice="spicy"] {
  background: var(--gold-electric);
  border-color: var(--gold-electric);
  color: var(--ink-dark);
}

.spice-btn.is-active[data-spice="unhinged"] {
  background: var(--party-pink);

  border-color: var(--party-pink);
  color: var(--ink-dark);
}

.skin-btn.is-active {
  background: var(--party-violet-dk);
  border-color: var(--party-violet);
  color: var(--ink-bright);
}

.shuffle-btn {
  min-height: 34px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--gold-electric);
  background: rgba(245, 184, 46, 0.14);
  color: var(--gold-electric);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.shuffle-btn:hover {
  background: var(--gold-electric);
  color: var(--ink-dark);
}

.award-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.award-chips.is-shuffling .award-chip {
  animation: chipPop 0.28s ease;
}

.award-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--line-glow);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-bright);
}

.award-chip-num {
  color: var(--gold-electric);
  font-family: var(--font-mono);
  font-weight: 800;
  margin-right: 4px;
}

.award-chip-text {
  flex: 1;
  min-width: 0;
  word-break: break-word;
}

.chip-remove {
  min-width: 32px;
  min-height: 32px;
  border-radius: 8px;
  border: 1px solid var(--line-glow);
  background: var(--bg-night);
  color: var(--ink-soft);
  font-weight: 800;
  cursor: pointer;
}

.chip-remove:hover {
  color: var(--ink-dark);
  background: var(--party-pink);
  border-color: var(--party-pink);
}

.add-row {
  display: flex;
  gap: 8px;
}

.add-row input {
  flex: 1;
}

.inline-upgrade {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(245, 184, 46, 0.14);
  border: 1px solid var(--gold-electric);
  font-size: 13px;
  color: var(--cream-card);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.inline-link {
  font-weight: 800;
  color: var(--gold-electric);
  white-space: nowrap;
}

.builder-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.builder-hint {
  margin: 0;
  font-size: 13px;
  color: var(--ink-soft);
}

.form-status {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  border: 1.5px solid var(--gold-electric);
  background: rgba(245, 184, 46, 0.14);
  color: var(--cream-card);
}

.form-status.is-error {
  border-color: var(--party-pink);
  background: rgba(255, 59, 107, 0.16);
  color: var(--ink-bright);
}

.form-status.is-ok {
  border-color: var(--party-mint);
  background: rgba(34, 211, 154, 0.16);
  color: var(--party-mint);
}

/* Squad Poster Mini Preview (Tab 3 on Home Stage) */
.story-preview-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 6px 0 4px;
}

.story-mini-card {
  width: 100%;
  max-width: 268px;
  aspect-ratio: 9 / 16;
  background: linear-gradient(168deg, var(--bg-elevated) 0%, var(--bg-night) 100%);
  border: 2px solid var(--gold-electric);
  border-radius: 18px;
  padding: 16px 14px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-md), var(--glow-gold);
}

.story-mini-top {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.story-mini-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--gold-electric);
  text-transform: uppercase;
}

.story-mini-room {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink-bright);
  line-height: 1.18;
}

.story-mini-body {
  background: var(--bg-panel);
  border: 1px solid rgba(255, 59, 107, 0.55);
  border-radius: 12px;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.story-mini-seal {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--party-pink);
  border: 2px solid var(--cream-card);
  color: var(--ink-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.story-mini-award {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 17px;
  line-height: 1.15;
  color: var(--ink-soft);
}

.story-mini-winner {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--gold-electric);
}

.story-mini-lineup {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--party-mint);
  line-height: 1.35;
}

.story-mini-quote {
  font-size: 12px;
  line-height: 1.32;
  color: var(--ink-dark);
  background: var(--cream-card);
  border-radius: 8px;
  padding: 7px 9px;
  margin: 2px 0 0;
  font-weight: 600;
}

.story-mini-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(245, 184, 46, 0.3);
  text-align: left;
}

.story-mini-qr {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: var(--ink-bright);
  border: 2px solid var(--ink-bright);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  padding: 4px;
  flex-shrink: 0;
}

.story-mini-qr span {
  background: var(--ink-dark);
  border-radius: 1px;
}

.story-mini-colophon {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  line-height: 1.35;
}

.story-mini-hint {
  margin: 0;
  font-size: 12px;
  color: var(--ink-soft);
  text-align: center;
}

.quick-proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.proof-item {
  background: var(--bg-panel);
  border: 1px solid var(--line-glow);
  border-radius: 14px;
  padding: 12px 10px;
  text-align: center;
}

.proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--gold-electric);
}

.proof-item span {
  font-size: 12px;
  color: var(--ink-soft);
}

.stage-link {
  color: var(--cream-card);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.stage-link:hover {
  color: var(--gold-electric);
  text-decoration: underline;
}

/* Sections */
.section {
  padding: 56px 0;
}

.section.compact-top {
  padding-top: 24px;
}

.section-head {
  margin-bottom: 26px;
  max-width: 72ch;
}

.section-head.compact {
  margin-bottom: 18px;
}

.section-sub {
  margin: 0;
  color: var(--ink-soft);
}

/* 40 Prompts Wall */
.prompts-section {
  background: var(--bg-panel);
  border-top: 1px solid var(--line-glow);
  border-bottom: 1px solid var(--line-glow);
}

.pick-tray {
  position: sticky;
  top: 70px;
  z-index: 20;
  background: var(--bg-elevated);
  color: var(--ink-bright);
  border: 1.5px solid var(--gold-electric);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  box-shadow: var(--shadow-md);
}

.pick-tray-actions {
  display: flex;
  gap: 8px;
}

.prompt-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.prompt-group-card {
  background: var(--bg-night);
  border: 1px solid var(--line-glow);
  border-radius: var(--radius);
  padding: 20px;
}

.prompt-group-note {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--ink-soft);
}

.prompt-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prompt-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 12px;
  background: var(--bg-panel);
  border: 1px solid var(--line-glow);
}

.prompt-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-bright);
}

.pick-btn {
  min-height: 36px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--line-glow);
  background: var(--bg-elevated);
  color: var(--ink-bright);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.pick-btn:hover {
  border-color: var(--gold-electric);
  color: var(--gold-electric);
}

.pick-btn[aria-pressed="true"] {
  background: var(--party-mint);
  border-color: var(--party-mint);
  color: var(--ink-dark);
}

/* Workflow Steps */
.steps-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.step-card {
  background: var(--bg-panel);
  border: 1px solid var(--line-glow);
  border-radius: var(--radius);
  padding: 20px;
}

.step-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  color: var(--ink-dark);
  background: var(--gold-electric);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.step-card p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}

/* Compare Table */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line-glow);
  border-radius: var(--radius);
  background: var(--bg-panel);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  font-size: 14px;
}

.compare-table th,
.compare-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-glow);
  color: var(--ink-bright);
}

.compare-table thead th {
  background: var(--bg-elevated);
  color: var(--gold-electric);
  font-weight: 800;
}

.compare-table tbody tr:nth-child(even) {
  background: rgba(11, 13, 23, 0.45);
}

.compare-table tbody tr.row-highlight {
  background: rgba(245, 184, 46, 0.14);
}

.compare-table tbody tr.row-highlight td {
  color: var(--cream-card);
}

.table-caption {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--ink-soft);
}

/* Editorial Prose */
.prose {
  max-width: 74ch;
}

.prose h2 {
  margin-top: 32px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin-top: 24px;
  color: var(--cream-card);
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.prose strong {
  color: var(--ink-bright);
}

.prose ul,
.prose ol {
  padding-left: 22px;
}

.prose blockquote {
  margin: 20px 0;
  padding: 14px 18px;
  border-left: 3px solid var(--gold-electric);
  background: var(--bg-panel);
  border-radius: 0 12px 12px 0;
  color: var(--cream-card);
}

.prose table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}

.prose th,
.prose td {
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--line-glow);
  white-space: nowrap;
  color: var(--ink-bright);
}

.prose thead th {
  background: var(--bg-elevated);
  color: var(--gold-electric);
}

/* FAQ */
.faq-section {
  background: var(--bg-panel);
  border-top: 1px solid var(--line-glow);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 780px;
}

.faq-item {
  background: var(--bg-night);
  border: 1px solid var(--line-glow);
  border-radius: var(--radius);
  padding: 16px 20px;
}

.faq-item summary {
  font-weight: 700;
  font-size: 16px;
  color: var(--ink-bright);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--gold-electric);
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item p {
  margin: 12px 0 0;
  color: var(--ink-soft);
}

/* Pricing & SEO Landing Heroes */
.page-hero,
.landing-hero {
  padding: 40px 0 30px;
  border-bottom: 1px solid var(--line-glow);
  background: linear-gradient(180deg, var(--bg-panel) 0%, var(--bg-night) 100%);
}

.landing-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 28px;
  align-items: center;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.landing-figure {
  margin: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--line-glow);
  border-radius: var(--radius);
  padding: 10px;
  box-shadow: var(--shadow-md);
}

.landing-figure figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink-soft);
}

.prose-narrow {
  max-width: 720px;
}

.page-updated {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.highlight-card {
  background: var(--bg-panel);
  border: 1px solid var(--line-glow);
  border-radius: var(--radius);
  padding: 20px;
}

.highlight-card h2 {
  font-size: 20px;
  margin-bottom: 8px;
}

.highlight-card p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.tier-card {
  background: var(--bg-panel);
  border: 1.5px solid var(--line-glow);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.tier-featured {
  border-color: var(--gold-electric);
  background: linear-gradient(165deg, var(--bg-elevated) 0%, var(--bg-panel) 100%);
  box-shadow: var(--shadow-md), var(--glow-gold);
}

.tier-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}

.badge-free {
  background: rgba(34, 211, 154, 0.16);
  color: var(--party-mint);
}

.badge-gold {
  background: var(--gold-electric);
  color: var(--ink-dark);
}

.badge-stage {
  background: var(--party-violet-dk);
  color: var(--ink-bright);
}

.tier-card h2 {
  font-size: 20px;
}

.tier-price {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  margin: 8px 0;
  color: var(--ink-bright);
}

.tier-price span {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}

.tier-sub {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}

.tier-list {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  color: var(--ink-soft);
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.tier-list strong {
  color: var(--ink-bright);
}

.pay-banner {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-weight: 700;
  margin-bottom: 16px;
}

.pay-ok {
  background: rgba(34, 211, 154, 0.16);
  color: var(--party-mint);
  border: 1.5px solid var(--party-mint);
}

.pay-pending {
  background: rgba(245, 184, 46, 0.16);
  color: var(--cream-card);
  border: 1.5px solid var(--gold-electric);
}

/* Interactive Room App (/room) */
.room-shell {
  padding: 22px 0 64px;
}

.room-top-banner {
  background: linear-gradient(145deg, var(--bg-elevated) 0%, var(--bg-panel) 100%);
  color: var(--ink-bright);
  border: 1.5px solid rgba(245, 184, 46, 0.6);
  border-radius: 20px;
  padding: 20px 22px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-md);
}

.room-title {
  color: var(--ink-bright);
  font-size: clamp(24px, 3.6vw, 34px);
  margin-bottom: 6px;
}

.room-meta {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.sponsor-vip-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(245, 184, 46, 0.22) 0%, rgba(124, 92, 255, 0.22) 100%);
  border: 1.5px solid var(--gold-electric);
  color: var(--cream-card);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.lobby-live-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--bg-night);
  border: 1px solid var(--line-glow);
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--party-mint);
}

.owner-bar {
  background: var(--bg-panel);
  border: 1.5px solid rgba(245, 184, 46, 0.55);
  border-radius: 20px;
  padding: 16px 18px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.owner-bar.is-revealed-fold {
  padding: 0;
  border-radius: 14px;
  margin-bottom: 12px;
}

.owner-fold {
  width: 100%;
}

.owner-fold-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 16px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--cream-card);
}

.owner-fold-summary::-webkit-details-marker {
  display: none;
}

.owner-fold-left {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.owner-fold-right {
  color: var(--gold-electric);
  white-space: nowrap;
  flex-shrink: 0;
}

.owner-fold-body {
  padding: 12px 16px 16px;
  border-top: 1px solid var(--line-glow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.owner-bar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.owner-bar-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--ink-bright);
}

.owner-panels {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 12px;
}

.owner-panel {
  background: var(--bg-night);
  border: 1px solid var(--line-glow);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.owner-panel-private {
  background: rgba(124, 92, 255, 0.1);
  border-color: rgba(124, 92, 255, 0.5);
}

.owner-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.owner-panel-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-card);
}

.room-code-badge {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: var(--gold-electric);
  color: var(--ink-dark);
}

.ready-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

.ready-pill.is-waiting {
  background: rgba(245, 184, 46, 0.14);
  color: var(--cream-card);
  border: 1px solid var(--gold-electric);
}

.ready-pill.is-ready {
  background: var(--party-mint);
  color: var(--ink-dark);
  border: 1px solid var(--party-mint);
}

.owner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.owner-warning {
  margin: 0;
  font-size: 12px;
  color: var(--ink-soft);
}

.room-stage {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.loading-card,
.vote-card,
.sealed-card {
  background: var(--bg-panel);
  border: 1.5px solid var(--line-glow);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow-md);
  position: relative;
}

/* Thumb-Zone Arcade Voting HUD */
.arcade-hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--bg-night);
  border: 1px solid var(--line-glow);
  margin-bottom: 14px;
}

.arcade-hud-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hud-pill {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--bg-elevated);
  color: var(--ink-bright);
  border: 1px solid var(--line-glow);
}

.streak-badge {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(34, 211, 154, 0.14);
  color: var(--party-mint);
  border: 1px solid rgba(34, 211, 154, 0.45);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.streak-badge.is-hot {
  background: var(--party-mint);
  color: var(--ink-dark);
  box-shadow: 0 0 18px rgba(34, 211, 154, 0.48);
  transform: scale(1.06);
}

.super-vote-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--party-violet);
  background: rgba(124, 92, 255, 0.18);
  color: var(--ink-bright);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.16s ease;
}

.super-vote-btn.is-armed {
  background: var(--party-violet-dk);
  border-color: var(--gold-electric);
  color: var(--cream-card);
  box-shadow: 0 0 22px rgba(124, 92, 255, 0.55);
}

.super-vote-btn.is-spent {
  opacity: 0.55;
  border-color: var(--line-glow);
  background: var(--bg-elevated);
  color: var(--ink-soft);
}

/* Voter Alias & 6 Neon Vector Avatar Badges */
.voter-alias-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.voter-alias-row input {
  flex: 1;
}

.avatar-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.avatar-badge-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1.5px solid var(--line-glow);
  background: var(--bg-night);
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.14s ease;
}

.avatar-badge-btn.is-selected {
  border-color: var(--gold-electric);
  background: var(--party-violet-dk);
  color: var(--cream-card);
  box-shadow: 0 3px 0 var(--bg-night);
}

.vote-progress-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
}

.progress-track {
  width: 100%;
  height: 8px;
  background: var(--bg-night);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: 16px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--party-violet) 0%, var(--party-pink) 60%, var(--gold-electric) 100%);
  border-radius: var(--radius-pill);
  transition: width 0.25s ease;
}

.vote-award-title {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: clamp(26px, 4.5vw, 34px);
  line-height: 1.15;
  color: var(--cream-card);
  margin: 0 0 16px;
}

.candidate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.cand-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1.5px solid var(--line-glow);
  background: var(--bg-elevated);
  color: var(--ink-bright);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 4px 0 var(--bg-night);
  transition: transform 0.08s ease, box-shadow 0.08s ease, border-color 0.14s ease, background-color 0.14s ease;
}

.cand-btn:hover {
  border-color: var(--gold-electric);
}

.cand-btn:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--bg-night);
}

.cand-btn.is-selected {
  border-color: var(--party-pink);
  background: var(--party-pink);
  color: var(--ink-dark);
  box-shadow: 0 4px 0 var(--party-pink-dk), 0 0 22px rgba(255, 59, 107, 0.36);
}

.cand-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;

  font-weight: 800;
  flex-shrink: 0;
}

.cand-btn.is-selected .cand-avatar {
  background: var(--ink-dark);
  color: var(--gold-electric);
}

.pop-float {
  position: absolute;
  top: -12px;
  right: 10px;
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  background: var(--party-mint);
  color: var(--ink-dark);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  pointer-events: none;
  z-index: 6;
  animation: popUpFade 0.72s ease-out forwards;
}

@keyframes popUpFade {
  0% { opacity: 0; transform: translateY(8px) scale(0.85); }
  25% { opacity: 1; transform: translateY(-6px) scale(1.06); }
  100% { opacity: 0; transform: translateY(-24px) scale(0.96); }
}

/* 1-Tap Quick-Roast Chips */
.quick-roast-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 6px;
}

.quick-roast-chip {
  min-height: 34px;
  padding: 6px 11px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(245, 184, 46, 0.45);
  background: rgba(245, 184, 46, 0.1);
  color: var(--cream-card);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: all 0.14s ease;
}

.quick-roast-chip:hover {
  background: var(--gold-electric);
  color: var(--ink-dark);
}

/* Sticky >12 Nominee Search */
.cand-search-wrap {
  position: sticky;
  top: 0;
  z-index: 6;
  background: var(--bg-panel);
  padding: 6px 0 12px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line-glow);
}

.cand-search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.cand-search-box .sa-ico {
  position: absolute;
  left: 12px;
  color: var(--ink-soft);
  pointer-events: none;
}

.cand-search-box input[type="search"] {
  padding-left: 38px;
  padding-right: 78px;
  font-size: 16px;
}

.cand-search-meta {
  position: absolute;
  right: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
  pointer-events: none;
}

.cand-empty {
  padding: 16px;
  text-align: center;
  border-radius: 12px;
  background: var(--bg-night);
  color: var(--ink-soft);
  font-size: 14px;
  margin-bottom: 14px;
}

.vote-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-bottom: max(2px, env(safe-area-inset-bottom, 0px));
  transform: translateY(calc(-1 * var(--kb-offset)));
  transition: transform 0.16s ease-out;
}

/* Sealed Waiting Lounge Card */
.sealed-card {
  border: 2px solid var(--party-mint);
  background: linear-gradient(155deg, var(--bg-elevated) 0%, var(--bg-panel) 100%);
}

.sealed-card h2 {
  color: var(--party-mint);
  margin-bottom: 8px;
}

.waiting-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--bg-night);
  border: 1px solid rgba(34, 211, 154, 0.45);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--party-mint);
  margin-bottom: 10px;
}

.waiting-copy {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--ink-soft);
}

.waiting-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

.sa-fold-create {
  margin-top: 14px;
  border-radius: 14px;
  background: var(--bg-night);
  border: 1px solid var(--line-glow);
  padding: 12px 14px;
}

.sa-fold-summary {
  list-style: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  color: var(--cream-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.sa-fold-summary::-webkit-details-marker {
  display: none;
}

.sa-fold-summary:hover {
  color: var(--gold-electric);
}

.sa-nowrap-btn {
  white-space: nowrap;
}

.viral-mini-form {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-glow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Reveal Show Stage */
.reveal-stage {
  background: linear-gradient(165deg, var(--bg-panel) 0%, var(--bg-night) 100%);
  color: var(--ink-bright);
  border: 1.5px solid var(--gold-electric);
  border-radius: 22px;
  padding: 20px;
  box-shadow: var(--shadow-md);
}

.reveal-stage h2,
.reveal-stage h3 {
  color: var(--ink-bright);
}

.reveal-stage-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.reveal-head-copy h2 {
  margin-bottom: 0;
}

.reveal-controls-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 460px;
}

.reveal-primary-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.reveal-primary-row .btn {
  width: 100%;
  padding: 8px 10px;
  font-size: 13px;
  white-space: nowrap;
}

.reveal-utility-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.btn-util {
  min-height: 36px;
  padding: 5px 6px;
  font-size: 12px;
  gap: 4px;
  white-space: nowrap;
  width: 100%;
}

.reveal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.reveal-award-card {
  background: var(--bg-elevated);
  border: 1.5px solid rgba(245, 184, 46, 0.45);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  min-width: 0;
  max-width: 100%;
}

.reveal-cat-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--gold-electric);
}

.reveal-cat-title {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 25px;
  line-height: 1.18;
  color: var(--cream-card);
  margin: 0;
}

/* Mystery Receipt Teaser on Sealed Envelope */
.mystery-teaser {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(11, 13, 23, 0.72);
  border-left: 3px solid var(--party-pink);
  text-align: left;
}

.mystery-teaser-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--party-pink);
  margin-bottom: 3px;
}

.mystery-teaser p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-bright);
  font-style: italic;
}

/* Special Award Show Badges */
.award-badge-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 6px;
}

.award-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.award-badge-super {
  background: var(--party-violet-dk);
  color: var(--ink-bright);
  box-shadow: 0 0 14px rgba(124, 92, 255, 0.45);
}

.award-badge-landslide {
  background: var(--gold-electric);
  color: var(--ink-dark);
}

.award-badge-photo {
  background: var(--party-pink);
  color: var(--ink-dark);
}

/* Tactile Tear-Strip Envelope */
.tear-envelope {
  position: relative;
  width: 100%;
  min-height: 178px;
  border-radius: 16px;
  border: 2px solid var(--gold-electric);
  background: linear-gradient(155deg, var(--bg-panel) 0%, var(--bg-night) 100%);
  color: var(--ink-bright);
  padding: 16px 14px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
}

.tear-envelope.is-tearing {
  border-color: var(--party-pink);
  transform: scale(0.985);
  transition: transform 0.18s ease;
}

.tear-top-trigger {
  width: 100%;
  border: none;
  background: transparent;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 4px;
}

.env-seal {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--party-pink);
  color: var(--ink-dark);
  border: 3px solid var(--gold-electric);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 18px rgba(255, 59, 107, 0.4);
}

.env-prompt {
  font-size: 14px;
  font-weight: 800;
  color: var(--cream-card);
}

.tear-strip {
  position: relative;
  width: 100%;
  height: 46px;
  border-radius: var(--radius-pill);
  background: var(--bg-elevated);
  border: 1.5px dashed var(--gold-electric);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  touch-action: none;
}

.tear-strip:active {
  cursor: grabbing;
}

.tear-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0%;
  background: linear-gradient(90deg, rgba(245, 184, 46, 0.35), rgba(255, 59, 107, 0.45));
  pointer-events: none;
}

.tear-thumb {
  position: absolute;
  left: 4px;
  top: 4px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold-electric);
  color: var(--ink-dark);
  border: 2px solid var(--cream-card);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.tear-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-card);
  pointer-events: none;
  padding-left: 28px;
}

/* Holographic 3D Flip Card */
.holo-scene {
  perspective: 1100px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  scroll-margin-top: 84px;
}

.holo-card {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 350px;
  transform-style: preserve-3d;
  transition: transform 0.58s cubic-bezier(0.22, 1, 0.36, 1);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}

.holo-card.is-tilting {
  transition: transform 0.08s ease-out;
}

.holo-card.is-flipped {
  transform: rotateY(180deg);
}

.holo-card:not(.is-flipped) .holo-back {
  pointer-events: none;
}

.holo-card.is-flipped .holo-front {
  pointer-events: none;
}

.holo-card.is-flipped .holo-back {
  pointer-events: auto;
  z-index: 4;
}

.holo-face {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 350px;
  border-radius: 16px;
  border: 1.5px solid var(--gold-electric);
  padding: 16px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  overflow: hidden;
}

.holo-front {
  background: var(--bg-night);
  color: var(--ink-bright);
}

.holo-back {
  position: absolute;
  inset: 0;
  background: var(--bg-panel);
  color: var(--ink-bright);
  transform: rotateY(180deg);
  overflow-y: auto;
  justify-content: flex-start;
  gap: 12px;
}

.holo-foil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.32;
  background: radial-gradient(circle at var(--hx, 50%) var(--hy, 50%), rgba(255, 244, 214, 0.52), rgba(245, 184, 46, 0.22) 42%, transparent 72%);
  mix-blend-mode: screen;
}

.holo-front > *,
.holo-back > * {
  position: relative;
  z-index: 2;
}

.holo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.holo-head .reveal-cat-num {
  min-width: 0;
  flex: 1;
}

.holo-head .btn,
.holo-flip-btn {
  white-space: nowrap;
  flex-shrink: 0;
}

.holo-winner-block,
.reveal-winner-box {
  text-align: center;
  padding: 14px 12px;
  border-radius: 14px;
  background: var(--cream-card);
  color: var(--ink-dark);
  border: 2px solid var(--gold-electric);
  animation: cardPop 0.42s ease;
}

@keyframes cardPop {
  0% { opacity: 0; transform: translateY(14px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.winner-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--party-pink-dk);
}

.winner-name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  margin: 4px 0;
  color: var(--ink-dark);
}

.winner-votes {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  font-weight: 800;
  display: inline-block;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  background: var(--ink-dark);
  color: var(--party-mint);
}

.winner-quote {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--ink-bright);
  border-left: 3px solid var(--party-pink);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  color: var(--ink-dark);
}

.mc-strip {
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--bg-panel);
  border-left: 3px solid var(--gold-electric);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mc-strip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.mc-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--gold-electric);
  text-transform: uppercase;
}

.mc-tones {
  display: inline-flex;
  gap: 4px;
  flex-wrap: wrap;
}

.mc-tone-btn {
  min-height: 28px;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-glow);
  background: var(--bg-night);
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.mc-tone-btn.is-active {
  background: var(--gold-electric);
  color: var(--ink-dark);
  border-color: var(--gold-electric);
}

.mc-line {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-bright);
}

.swatch-row {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  gap: 6px;
  padding-bottom: 2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.swatch-row::-webkit-scrollbar {
  display: none;
}

.swatch-btn {
  min-height: 30px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-glow);
  background: var(--bg-elevated);
  color: var(--ink-bright);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  white-space: nowrap;
}

.swatch-btn.is-active {
  background: var(--gold-electric);
  color: var(--ink-dark);
  border-color: var(--gold-electric);
}

.swatch-note {
  font-size: 12px;
  color: var(--cream-card);
  margin: 0;
}

.breakdown-box {
  background: rgba(11, 13, 23, 0.65);
  border: 1px solid var(--line-glow);
  border-radius: 12px;
  padding: 12px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.bar-name {
  width: 92px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink-bright);
  font-weight: 600;
}

.bar-track {
  display: block;
  flex: 1;
  height: 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--line-glow);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.bar-fill {
  display: block;
  height: 100%;
  border-radius: var(--radius-pill);
  background: var(--party-violet);
}

.bar-fill-1 {
  background: var(--gold-electric);
}

.bar-fill-2 {
  background: var(--party-pink);
}

.bar-fill-3 {
  background: var(--party-violet);
}

.bar-pct {
  width: 44px;
  text-align: right;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  color: var(--gold-electric);
}

/* Restrained 1-line mystery lock link + ONE centerpiece 'THE PARTY VAULT' card */
.vault-teaser-link {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px dashed rgba(245, 184, 46, 0.55);
  background: rgba(245, 184, 46, 0.08);
  color: var(--cream-card);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.14s ease, background-color 0.14s ease;
}

.vault-teaser-link:hover {
  border-color: var(--gold-electric);
  background: rgba(245, 184, 46, 0.16);
}

.vault-teaser-link .sa-ico {
  color: var(--gold-electric);
}

.party-vault-card {
  grid-column: 1 / -1;
  position: relative;
  min-width: 0;
  max-width: 100%;
  border-radius: 20px;
  padding: 20px;
  background: linear-gradient(150deg, var(--bg-elevated) 0%, var(--bg-panel) 55%, var(--bg-night) 100%);
  border: 2px solid var(--gold-electric);
  box-shadow: var(--shadow-md), var(--glow-gold);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.party-vault-card.is-pulsed {
  animation: saShake 0.45s ease;
}

.party-vault-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.party-vault-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--gold-electric);
  color: var(--ink-dark);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.party-vault-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.vault-meta-pill {
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--bg-night);
  border: 1px solid var(--party-pink);
  color: var(--cream-card);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.vault-meta-pill.is-super {
  background: var(--party-violet-dk);
  border-color: var(--party-violet);
  color: var(--ink-bright);
}

.party-vault-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--cream-card);
}

.party-vault-sub {
  margin: -4px 0 0;
  font-size: 14px;
  color: var(--ink-soft);
}

.party-vault-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.party-vault-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 11px;
  border-radius: 10px;
  background: rgba(11, 13, 23, 0.58);
  border: 1px solid var(--line-glow);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-bright);
  line-height: 1.4;
}

.party-vault-list .sa-ico {
  color: var(--gold-electric);
  margin-top: 2px;
}

.party-vault-foot {
  margin: -4px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-soft);
  text-align: center;
}

.anthem-finale-bar {
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--bg-night);
  border: 1px solid var(--line-glow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.anthem-finale-bar p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-soft);
  flex: 1 1 260px;
}

.frosted-lock,
.vip-vault-card {
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(124, 92, 255, 0.16) 0%, rgba(255, 59, 107, 0.12) 100%);
  border: 1.5px solid var(--gold-electric);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.frosted-lock p,
.vip-vault-card p {
  margin: 0;
  font-size: 13px;
  color: var(--cream-card);
  max-width: 64ch;
}

.vip-vault-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--gold-electric);
}

.reveal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Reaction Sticker Cannon Dock & Flying Stickers */
.sticker-cannon-dock {
  margin-top: 20px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--bg-night);
  border: 1.5px solid var(--line-glow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.sticker-cannon-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--gold-electric);
}

.sticker-cannon-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sticker-cannon-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 7px 14px;
  border-radius: 14px;
  border: 1.5px solid var(--line-glow);
  background: var(--bg-elevated);
  color: var(--ink-bright);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 0 var(--bg-night);
  transition: transform 0.08s ease, box-shadow 0.08s ease, border-color 0.14s ease;
}

.sticker-cannon-btn:hover {
  border-color: var(--gold-electric);
}

.sticker-cannon-btn:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--bg-night);
}

.sticker-cannon-count {
  padding: 1px 7px;
  border-radius: var(--radius-pill);
  background: var(--party-pink);
  color: var(--ink-dark);
  font-size: 12px;
}

.flying-sticker {
  position: fixed;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 24, 41, 0.85);
  border: 2px solid currentColor;
  box-shadow: 0 0 18px rgba(245, 184, 46, 0.32), 0 0 12px rgba(124, 92, 255, 0.35);
  pointer-events: none;
  z-index: 10060;
  will-change: transform, opacity;
  animation: stickerLaunch 1.35s cubic-bezier(0.16, 0.85, 0.35, 1) forwards;
}

@keyframes stickerLaunch {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.55) rotate(0deg);
  }
  18% {
    opacity: 0.85;
    transform: translate3d(var(--sx1, 10px), var(--sy1, -180px), 0) scale(1.12) rotate(var(--srot1, -12deg));
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--sx2, 16px), var(--sy2, -460px), 0) scale(0.88) rotate(var(--srot2, 22deg));
  }
}

/* Bonus Squad Superlatives */
.bonus-awards-wrap {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line-glow);
}

.bonus-awards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.bonus-card {
  background: var(--bg-elevated);
  border: 1.5px solid rgba(124, 92, 255, 0.55);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.bonus-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--party-mint);
}

.bonus-winner {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--cream-card);
}

.bonus-detail {
  margin: 0;
  font-size: 13px;
  color: var(--ink-soft);
}

/* Truth or Dare Physical Spin Wheel Arena */
.spin-arena {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: linear-gradient(160deg, var(--bg-panel) 0%, var(--bg-night) 100%);
  border: 1.5px solid var(--party-violet);
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--shadow-md), var(--glow-violet);
}

.spin-arena.is-compact {
  border: none;
  padding: 4px 0 0;
  background: transparent;
  box-shadow: none;
}

.spin-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.spin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.spin-arena.is-compact .spin-layout {
  grid-template-columns: 1fr;
  gap: 14px;
}

.spin-wheel-wrap {
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: none;
}

.spin-arena.is-compact .spin-wheel-wrap {
  max-width: 280px;
}

.spin-canvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
  border-radius: 50%;
}

.spin-canvas:active {
  cursor: grabbing;
}

.spin-center-btn {
  position: absolute;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 3px solid var(--cream-card);
  background: var(--party-pink);
  color: var(--ink-dark);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 5px 0 var(--party-pink-dk), 0 0 24px rgba(255, 59, 107, 0.55);

  transition: transform 0.08s ease, box-shadow 0.08s ease;
  z-index: 4;
}

.spin-center-btn:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 var(--party-pink-dk);
}

.spin-center-btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.spin-deck-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spin-result-banner {
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--bg-elevated);
  border: 1.5px solid var(--gold-electric);
  text-align: center;
}

.spin-chosen-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--gold-electric);
  display: block;
}

.spin-chosen-name {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  color: var(--cream-card);
  margin: 4px 0 0;
}

.fate-btn-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.fate-card {
  padding: 16px;
  border-radius: 16px;
  background: var(--cream-card);
  color: var(--ink-dark);
  border: 2px solid var(--gold-electric);
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: cardPop 0.34s ease;
}

.fate-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.fate-type-badge {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--ink-dark);
  color: var(--gold-electric);
}

.fate-prompt-text {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--ink-dark);
}

.timer-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--ink-dark);
  color: var(--ink-bright);
}

.timer-display {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 28px;
  font-weight: 800;
  color: var(--party-mint);
}

.timer-display.is-panic {
  color: var(--party-pink);
  animation: panicPulse 0.45s ease-in-out infinite;
}

@keyframes panicPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.14); }
}

.fate-outcome-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fate-outcome-row .btn {
  flex: 1 1 130px;
}

.party-scoreboard {
  background: var(--bg-night);
  border: 1px solid var(--line-glow);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.party-scoreboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.party-score-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(156px, 1fr));
  gap: 8px;
}

.party-score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--bg-panel);
  border: 1px solid var(--line-glow);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-bright);
}

.party-score-row.is-mvp {
  border-color: var(--gold-electric);
  background: rgba(245, 184, 46, 0.14);
}

.party-score-row.is-chicken {
  border-color: var(--party-pink);
}

.party-score-pts {
  font-family: var(--font-mono);
  color: var(--party-mint);
}

.party-score-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold-electric);
}

.spin-modal-dialog {
  width: 100%;
  max-width: 860px;
  margin: auto;
  background: var(--bg-panel);
  border: 1.5px solid var(--party-violet);
  border-radius: 22px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-md), var(--glow-violet);
}

/* Confetti dots fallback */
.confetti-burst {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.confetti-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  top: 40%;
  left: 50%;
  animation: confettiFly 0.85s ease-out forwards;
}

@keyframes confettiFly {
  0% { opacity: 1; transform: translate(0, 0) rotate(0deg); }
  100% { opacity: 0; transform: translate(var(--tx, 40px), var(--ty, -60px)) rotate(220deg); }
}

/* Guess Who UI */
.gw-quote-card {
  background: var(--bg-night);
  border: 1.5px solid var(--line-glow);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 14px;
}

.gw-quote-text {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 24px;
  color: var(--cream-card);
  margin: 0 0 12px;
}

.gw-leaderboard {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gw-lb-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--bg-elevated);
  border: 1px solid rgba(245, 184, 46, 0.45);
  color: var(--ink-bright);
  font-weight: 700;
}

.gw-lb-score {
  color: var(--gold-electric);
  font-family: var(--font-mono);
}

.room-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* Fullscreen Ceremony Stage Mode */
html[data-stage-mode="present"] .site-header,
html[data-stage-mode="present"] .site-footer,
html[data-stage-mode="present"] #sa-owner-bar,
html[data-stage-mode="present"] #sa-room-banner,
html[data-stage-mode="present"] #sa-room-footer,
html[data-stage-mode="present"] #sa-room-notice,
html[data-stage-mode="present"] .frosted-lock,
html[data-stage-mode="present"] .vip-vault-card,
html[data-stage-mode="present"] .party-vault-card,
html[data-stage-mode="present"] .vault-teaser-link,
html[data-stage-mode="present"] .anthem-finale-bar,
html[data-stage-mode="present"] [data-sa-buy],
html[data-stage-mode="present"] .btn-danger,
html[data-stage-mode="present"] .owner-only {
  display: none !important;
}

html[data-stage-mode="present"] body {
  overflow: hidden;
  background: var(--bg-night);
}

.ceremony-stage-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: radial-gradient(circle at 20% 10%, rgba(124, 92, 255, 0.24), rgba(11, 13, 23, 0) 45%), radial-gradient(circle at 80% 15%, rgba(255, 59, 107, 0.22), rgba(11, 13, 23, 0) 45%), var(--bg-night);
  color: var(--ink-bright);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: max(18px, env(safe-area-inset-top, 0px)) 24px max(18px, env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
}

.stage-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-glow);
}

.stage-room-title {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--gold-electric);
  text-transform: uppercase;
}

.stage-center {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px 12px;
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.stage-award-h2 {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.08;
  color: var(--cream-card);
  margin: 0 0 22px;
}

.stage-big-envelope {
  width: 100%;
  max-width: 480px;
  min-height: 210px;
  border-radius: 20px;
  border: 2.5px solid var(--gold-electric);
  background: var(--bg-elevated);
  color: var(--ink-bright);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 26px;
  cursor: pointer;
  box-shadow: var(--glow-gold);
}

.stage-countdown {
  font-family: var(--font-mono);
  font-size: clamp(68px, 12vw, 120px);
  font-weight: 800;
  color: var(--gold-electric);
  line-height: 1;
  animation: cardPop 0.35s ease;
}

.stage-winner-card {
  width: 100%;
  max-width: 660px;
  border-radius: 20px;
  border: 2px solid var(--gold-electric);
  background: var(--bg-panel);
  padding: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: cardPop 0.45s ease;
}

.stage-winner-name {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.4vw, 66px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--cream-card);
  line-height: 1.05;
}

.stage-winner-pct {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 800;
  color: var(--ink-dark);
  background: var(--party-mint);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
}

.stage-quote-box {
  width: 100%;
  margin-top: 8px;
  padding: 16px 20px;
  border-radius: 14px;
  background: var(--cream-card);
  color: var(--ink-dark);
  font-size: clamp(16px, 2.2vw, 22px);
  font-weight: 700;
  line-height: 1.4;
}

.stage-quote-meta {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--party-pink-dk);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.stage-qr-dock {
  position: fixed;
  right: 24px;
  bottom: 92px;
  background: var(--ink-bright);
  color: var(--ink-dark);
  border: 2px solid var(--gold-electric);
  border-radius: 14px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-md);
  z-index: 10001;
}

.stage-qr-dock canvas {
  display: block;
  width: 108px;
  height: 108px;
}

.stage-qr-caption {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  color: var(--ink-dark);
  text-align: center;
  max-width: 112px;
  line-height: 1.25;
}

.stage-dock {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line-glow);
}

.stage-airplay-pop {
  margin: 8px auto 0;
  max-width: 560px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--gold-electric);
  font-size: 13px;
  color: var(--cream-card);
  text-align: center;
}

/* Modals (WebView Save Sheet, 3D Trophy, Spin Wheel Modal) */
.sa-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10050;
  background: rgba(11, 13, 23, 0.92);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}

.sa-save-dialog,
.sa-trophy-dialog {
  width: 100%;
  max-width: 520px;
  margin: auto;
  background: var(--bg-panel);
  color: var(--ink-bright);
  border: 1.5px solid var(--gold-electric);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-md);
}

.sa-trophy-dialog {
  max-width: 680px;
}

.sa-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.sa-modal-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--ink-bright);
}

.sa-save-guide {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-electric);
  text-align: center;
}

.sa-save-img-wrap {
  display: flex;
  justify-content: center;
  background: var(--bg-night);
  border-radius: 12px;
  padding: 10px;
}

.sa-save-img {
  max-height: 58vh;
  width: auto;
  border-radius: 10px;
  -webkit-touch-callout: default;
  -webkit-user-select: none;
  user-select: none;
}

.sa-save-tip {
  margin: 0;
  font-size: 12px;
  color: var(--ink-soft);
  text-align: center;
}

.sa-trophy-viewport {
  position: relative;
  width: 100%;
  height: 390px;
  border-radius: 14px;
  background: var(--bg-night);
  border: 1px solid rgba(245, 184, 46, 0.45);
  overflow: hidden;
  cursor: grab;
  touch-action: none;
}

.sa-trophy-viewport:active {
  cursor: grabbing;
}

.sa-trophy-viewport canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.sa-trophy-webgl {
  position: relative;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.sa-trophy-webgl.is-ready {
  opacity: 1;
}

.sa-trophy-instant {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 16px 16px;
  perspective: 900px;
  background: radial-gradient(circle at 50% 40%, var(--trophy-glow, rgba(245, 184, 46, 0.3)), rgba(11, 13, 23, 0) 68%), var(--bg-night);
  transition: opacity 0.35s ease;
}

.sa-trophy-instant-card {
  position: relative;
  width: 100%;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1.5px solid rgba(245, 184, 46, 0.55);
  background: rgba(20, 24, 41, 0.88);
  transition: transform 0.12s ease-out;
  overflow: hidden;
}

.sa-trophy-svg {
  width: 156px;
  height: 156px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 18px rgba(245, 184, 46, 0.36));
}

.sa-trophy-plaque {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 9px 12px;
  border-radius: 10px;
  background: var(--bg-night);
  border: 1.5px solid var(--gold-electric);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sa-trophy-plaque-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--gold-electric);
}

.sa-trophy-plaque-winner {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--cream-card);
  line-height: 1.15;
}

.sa-trophy-plaque-award {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.2;
}

.sa-trophy-hud {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 8px;
  pointer-events: none;
}

.sa-trophy-status {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  background: rgba(11, 13, 23, 0.88);
  color: var(--cream-card);
  border: 1px solid rgba(245, 184, 46, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sa-trophy-drag-pill {
  flex-shrink: 0;
}

.sa-trophy-dialog.is-reels-clean .sa-modal-head,
.sa-trophy-dialog.is-reels-clean .sa-trophy-controls,
.sa-trophy-dialog.is-reels-clean .swatch-row,
.sa-trophy-dialog.is-reels-clean .swatch-note {
  display: none;
}

.sa-trophy-dialog.is-reels-clean .sa-trophy-viewport {
  height: 76vh;
}

.sa-trophy-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  align-items: center;
}

/* Showcase Figures, Comparison Chart & 4-Mode Hub Cards */
.showcase-figure,
.chart-figure,
.prose figure {
  margin: 28px 0 0;
  background: var(--bg-panel);
  border: 1px solid var(--line-glow);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow-sm);
}

.chart-figure {
  margin: 0 0 24px;
}

.prose figure {
  margin: 24px 0;
}

.showcase-figure img,
.chart-figure img,
.prose figure img,
.landing-figure img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.showcase-figure figcaption,
.chart-figure figcaption,
.prose figure figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.hub-section {
  background: var(--bg-panel);
  border-top: 1px solid var(--line-glow);
  border-bottom: 1px solid var(--line-glow);
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.hub-card {
  background: var(--bg-night);
  border: 1px solid var(--line-glow);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.hub-card h3 {
  margin: 0 0 6px;
  font-size: 20px;
}

.hub-card p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}

.hub-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-electric);
  margin: 0 0 6px;
}

.hub-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--party-pink);
  text-decoration: none;
  margin-top: 4px;
}

.hub-link:hover {
  color: var(--gold-electric);
  text-decoration: underline;
}

/* Footer */
.site-footer {
  background: var(--bg-panel);
  color: var(--ink-bright);
  border-top: 1px solid var(--line-glow);
  padding: 44px 0 28px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line-glow);
}

.footer-copy {
  margin: 12px 0;
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 42ch;
}

.footer-contact a {
  color: var(--gold-electric);
  font-size: 14px;
  font-weight: 700;
}

.footer-heading {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-electric);
  margin-bottom: 12px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
}

.footer-col a:hover {
  color: var(--ink-bright);
}

.footer-bottom {
  padding-top: 20px;
  font-size: 13px;
  color: var(--ink-soft);
}

.footer-bottom p {
  margin: 0;
}

/* Print Certificates */
.print-certs-root {
  display: none;
}

@media print {
  @page {
    size: landscape;
    margin: 12mm;
  }

  body {
    background: var(--ink-bright);
    color: var(--ink-dark);
  }

  .site-header,
  .site-footer,
  .room-shell,
  .skip-link {
    display: none !important;
  }

  .print-certs-root {
    display: block !important;
  }

  .cert-page {
    page-break-after: always;
    break-after: page;
    border: 6px double var(--gold-shadow);
    padding: 36px 44px;
    min-height: 170mm;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    background: var(--cream-card);
    color: var(--ink-dark);
  }

  .cert-page:last-child {
    page-break-after: auto;
    break-after: auto;
  }

  .cert-kicker {
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 0.16em;
    color: var(--gold-shadow);
    text-transform: uppercase;
  }

  .cert-award {
    font-family: var(--font-editorial);
    font-style: italic;
    font-size: 40px;
    color: var(--ink-dark);
    margin: 12px 0;
  }

  .cert-winner {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    color: var(--party-pink-dk);
    margin: 8px 0;
  }

  .cert-quote {
    font-size: 18px;
    max-width: 56ch;
    color: var(--ink-muted-light);
    margin: 12px 0;
  }

  .cert-footer {
    width: 100%;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--gold-shadow);
    padding-top: 14px;
    font-size: 13px;
    color: var(--ink-muted-light);
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Touch-Friendly Hit Targets */
@media (pointer: coarse) {
  .btn,
  .preset-pill,
  .pick-btn,
  .cand-btn,
  .chip-remove,
  .swatch-btn,
  .sticker-cannon-btn {
    min-height: 46px;
  }

  .chip-remove {
    min-width: 44px;
  }
}

/* Responsive Breakpoints */
@media (max-width: 1023px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  /* MOBILE-FIRST: Playable Blind-Box & Spin Wheel Stage FIRST (above the fold!) */
  .hero-preview-col {
    order: 1;
    position: static;
  }

  .hero-builder-col {
    order: 2;
  }

  .owner-panels,
  .spin-layout {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 740px) and (max-width: 1023px) {
  .candidate-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .landing-hero-grid,
  .prompt-groups,
  .reveal-grid,
  .bonus-awards-grid {
    grid-template-columns: 1fr;
  }

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

  .highlights-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-nav,
  .header-actions .btn {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .stage-qr-dock {
    position: static;
    margin: 14px auto 0;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 14px;
  }

  .header-inner {
    min-height: 56px;
    gap: 10px;
  }

  .brand {
    font-size: 15px;
  }

  .hero-band {
    padding: 8px 0 30px;
  }

  .hero-top-intro {
    margin-bottom: 10px;
  }

  .hero-top-row {
    gap: 10px;
  }

  .hero-title {
    font-size: 22px;
    margin-bottom: 4px;
  }

  .hero-lead {
    font-size: 13px;
    margin-bottom: 6px;
    line-height: 1.38;
  }

  .hero-quick-bar .btn {
    min-height: 38px;
    padding: 6px 12px;
    font-size: 13px;
  }

  .stage-top {
    margin-bottom: 10px;
  }

  .blindbox-card {
    padding: 13px 13px 12px;
  }

  .blindbox-head {
    margin-bottom: 8px;
  }

  .blindbox-winner-card {
    padding: 11px 11px;
  }

  .blindbox-winner-name {
    font-size: 24px;
    margin: 2px 0;
  }

  .blindbox-receipt {
    margin-top: 6px;
    padding: 7px 10px;
    font-size: 13px;
  }

  .room-shell {
    padding: 12px 0 48px;
  }

  .room-top-banner {
    padding: 14px 16px;
    margin-bottom: 10px;
  }

  .room-title {
    font-size: 22px;
    margin-bottom: 4px;
  }

  .reveal-stage {
    padding: 14px;
  }

  .reveal-stage-head {
    margin-bottom: 12px;
    gap: 10px;
  }

  .reveal-head-copy h2 {
    font-size: 20px;
  }

  .reveal-award-card {
    padding: 14px;
    gap: 10px;
  }

  .party-vault-card {
    padding: 16px;
  }

  h2 {
    font-size: 22px;
  }

  .form-row-2,
  .party-controls-grid,
  .steps-grid,
  .pricing-grid,
  .hub-grid {
    grid-template-columns: 1fr;
  }

  .builder-card,
  .gala-stage-card,
  .vote-card,
  .reveal-stage {
    padding: 15px;
  }

  .add-row,
  .roster-add-row {
    flex-direction: column;
    align-items: stretch;
  }

  .voter-alias-row {
    flex-direction: row;
    align-items: center;
  }

  .voter-alias-row .btn {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .btn-lg {
    width: 100%;
  }

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

  .fate-btn-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .fate-btn-row .btn {
    padding: 6px 4px;
    font-size: 12px;
    min-height: 38px;
  }

  .spin-modal-dialog {
    padding: 12px;
    gap: 10px;
  }

  .spin-arena {
    padding: 12px;
    gap: 10px;
  }

  .spin-wheel-wrap {
    max-width: 266px;
  }

  .spin-result-banner {
    padding: 9px 12px;
  }

  .spin-chosen-name {
    font-size: 24px;
  }

  .blindbox-cta-row {
    flex-direction: column;
  }
}
