/* Club Rhapsody. Brand Kit: gold on moonlit navy; Cinzel, Cormorant Garamond, Montserrat. Never Inter. */
@font-face { font-family: "Cinzel"; src: url(../fonts/cinzel-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Cinzel"; src: url(../fonts/cinzel-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url(../fonts/cormorant-garamond-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url(../fonts/cormorant-garamond-latin-500-italic.woff2) format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url(../fonts/cormorant-garamond-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url(../fonts/Montserrat-500.ttf) format("truetype"); font-weight: 400 600; font-display: swap; }

:root {
  --gold: #EFC66A; --champagne: #FFF4D4; --cream: #F5E0B8; --ember: #FFA03C; --bronze: #BD692D;
  --navy: #0C2348; --night: #020915; --lounge: #110706;
  --glass: rgba(2, 9, 21, .72); --line: rgba(239, 198, 106, .45);
  --serif: "Cormorant Garamond", Georgia, serif; --caps: "Cinzel", Georgia, serif; --sans: "Montserrat", "Segoe UI", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--night); color: var(--champagne); }
body { font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--gold); }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--gold); color: var(--night); padding: 8px 14px; }
.skip-link:focus { left: 8px; }

/* ---------- top bar ---------- */
.topbar { position: fixed; inset: 0 0 auto 0; z-index: 30; display: flex; justify-content: space-between; align-items: center;
  padding: max(12px, env(safe-area-inset-top)) 18px 12px; background: linear-gradient(rgba(2,9,21,.85), rgba(2,9,21,0)); transition: opacity .6s; }
.at-arrival .topbar { opacity: 0; pointer-events: none; }
.brand img { height: 34px; width: auto; display: block; }
.top-actions { display: flex; gap: 10px; }
/* the way back: always there, clearly labelled, except on the Main Floor itself */
.back-floor { text-decoration: none; color: var(--gold); border-color: var(--gold); white-space: nowrap; }
body[data-room="main-floor"] .back-floor, body:not([data-room]) .back-floor { display: none; }
@media (max-width: 480px) {
  .top-actions { gap: 6px; } .top-actions .icon-btn { padding: 7px 10px; letter-spacing: .06em; white-space: nowrap; }
  .brand img { height: 24px !important; }
  /* the sound button becomes a music note on a phone: bright when on, dimmed and struck when off */
  #sound span { display: none; }
  #sound::before { content: "\266A"; font-size: 15px; line-height: 1; font-family: var(--sans); }
  #sound[aria-pressed="false"]::before { opacity: .45; text-decoration: line-through; }
}
.icon-btn { background: rgba(2,9,21,.55); border: 1px solid var(--line); color: var(--cream); border-radius: 999px; padding: 7px 16px;
  font-family: var(--caps); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.icon-btn:hover { border-color: var(--gold); color: var(--gold); }
#sound .sound-off { display: none; }
#sound[aria-pressed="false"] .sound-on { display: none; }
#sound[aria-pressed="false"] .sound-off { display: inline; }
.rooms-menu { position: absolute; right: 18px; top: 100%; background: var(--glass); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 14px; padding: 10px 6px; min-width: 230px; }
.rooms-menu ul { list-style: none; margin: 0; padding: 0; }
.rooms-menu a { display: block; padding: 9px 16px; font-family: var(--caps); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--cream); text-decoration: none; border-radius: 8px; }
.rooms-menu a:hover, .rooms-menu a[aria-current="page"] { color: var(--gold); background: rgba(239,198,106,.08); }

/* ---------- rooms ---------- */
.room { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; isolation: isolate; }
.room-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--night); }
.room-bg::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(2,9,21,.55) 0%, rgba(2,9,21,0) 22%, rgba(2,9,21,0) 45%, rgba(2,9,21,.82) 82%, rgba(2,9,21,.95) 100%); }
.room-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: drift 38s var(--ease) infinite alternate; }
@keyframes drift { from { transform: scale(1.03) translate3d(0,0,0); } to { transform: scale(1.09) translate3d(-1.2%, -.8%, 0); } }
.room-inner { flex: 1; min-height: 100vh; min-height: 100svh; width: min(1180px, 100%); margin: 0 auto; padding: 96px 20px 28px; display: flex; flex-direction: column; justify-content: flex-end; gap: 22px; }
.room.is-in .room-inner > * { animation: rise .9s var(--ease) both; }
.room.is-in .room-inner > *:nth-child(2) { animation-delay: .12s; }
.room.is-in .room-inner > *:nth-child(3) { animation-delay: .24s; }
.room.is-in .room-inner > *:nth-child(4) { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.gold { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--gold); font-size: clamp(26px, 3.4vw, 42px); line-height: 1.1; margin: 0;
  text-shadow: 0 2px 24px rgba(0,0,0,.7), 0 0 2px rgba(0,0,0,.6); }
.label { font-family: var(--caps); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0 0 4px; }
.small { font-size: 13px; color: var(--cream); opacity: .85; margin: 0; }
.row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--gold); background: rgba(2,9,21,.5);
  color: var(--gold); font-family: var(--caps); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background .3s, color .3s, transform .2s; }
.btn:hover { background: rgba(239,198,106,.14); transform: translateY(-1px); }
.btn-gold { background: linear-gradient(180deg, #F6D88C, var(--gold) 55%, #D9A94A); color: var(--night); border-color: #F6D88C; box-shadow: 0 6px 24px rgba(239,198,106,.25); }
.btn-gold:hover { background: linear-gradient(180deg, #FFE7A8, #F3CF7C 55%, #E0B25A); }
.btn-small { padding: 9px 16px; font-size: 11.5px; }
.ext { font-family: var(--sans); font-size: .95em; }
.linkish { background: none; border: 0; padding: 0; color: var(--gold); text-decoration: underline; cursor: pointer; font-size: inherit; }
.quiet { color: var(--cream); }

/* ---------- cards ---------- */
.card { background: var(--glass); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.card h3 { font-family: var(--caps); font-weight: 600; font-size: 17px; letter-spacing: .08em; margin: 0; color: var(--champagne); }
.card p { margin: 0 0 8px; }
.card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.cards { display: grid; gap: 14px; }
.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.species { font-size: 13px; color: var(--cream); opacity: .85; margin: 2px 0 0 !important; }
.contestant { padding: 0 0 14px; overflow: hidden; }
.contestant .card-face { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: 50% 35%; display: block; margin-bottom: 10px; }
.cards.four { max-width: 1060px; }
.contestant h3, .contestant .species, .contestant .card-actions { padding: 0 14px; }
.contestant .card-actions { flex-direction: column; align-items: stretch; }
.contestant .card-actions .btn { justify-content: center; }
/* the Main Floor: let the room breathe; a slim now-playing bar at the bottom */
#room-main-floor .room-inner { justify-content: space-between; padding-top: 84px; }
#room-main-floor .gold { font-size: clamp(22px, 2.6vw, 34px); text-align: center; }
#room-main-floor .bottom { display: grid; gap: 10px; }
.now { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; width: fit-content; max-width: 100%; padding: 10px 16px; }
.now .label { margin: 0; }
.now h3 { font-size: 15px; }
.now .card-actions { margin: 0; }
.floor-menu { font-family: var(--caps); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.floor-menu a { color: var(--cream); text-decoration: none; border-bottom: 1px solid transparent; }
.floor-menu a:hover { color: var(--gold); border-color: var(--gold); }
.cards.episodes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.episode { padding: 0; overflow: hidden; text-align: left; cursor: pointer; display: flex; flex-direction: column; color: inherit; }
.episode img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; filter: saturate(.9); transition: filter .3s; }
.episode:hover img { filter: saturate(1.1) brightness(1.08); }
.episode .label { padding: 12px 16px 0; }
.ep-title { font-family: var(--serif); font-size: 22px; padding: 0 16px 14px; color: var(--champagne); }
.episode.soon { justify-content: flex-end; min-height: 150px; padding-top: 16px; cursor: default; opacity: .8; }
.soon-tag { display: inline-block; margin: 0 16px 14px; font-family: var(--caps); font-size: 11px; letter-spacing: .18em; color: var(--ember); text-transform: uppercase; }
.vote { max-width: 640px; }
.cards.judges { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.judge { text-align: left; cursor: pointer; color: inherit; }
.judge:hover { border-color: var(--gold); }
.judge.soon { cursor: default; opacity: .8; }
.judge .soon-tag { margin: 8px 0 0; }

/* ---------- arrival ---------- */
.arrival { justify-content: center; align-items: center; text-align: center; }
.arrival .room-bg::after { background: radial-gradient(ellipse at 50% 55%, rgba(2,9,21,.15), rgba(2,9,21,.75) 75%); }
.arrival .room-bg::after { transition: opacity 2s; }
.arrival.walking .room-bg::after { opacity: .35; }
.arrival .guests { opacity: 0; transition: opacity 2.4s; animation: none; }
.arrival.walking .guests { opacity: 1; animation: walk 9s linear forwards; }
.arrival.walking video.guests { animation: none; }   /* the walk-up video moves on its own; no drift on top */
/* the walk up is the arrival itself: guests keep arriving while you stand outside (Edith, 2 Dec 2026) */
.arrival video.guests { opacity: 1; animation: none; }
/* trouble outside fades in over the walking, then fades back out */
.arrival video.trouble { opacity: 0; transition: opacity .9s; }
.arrival video.trouble.show { opacity: 1; }
@keyframes walk { from { transform: scale(1.02); } to { transform: scale(1.32) translateY(2%); } }
.arrival-inner { width: 100%; min-height: 100vh; min-height: 100svh; padding: max(7vh, 40px) 24px max(9vh, 40px); display: flex; flex-direction: column; align-items: center; justify-content: space-between; text-align: center; transition: opacity 1.2s; }
.arrival-bottom { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.arrival.walking .arrival-inner { opacity: 0; pointer-events: none; }
.wordmark { width: min(560px, 80vw); height: auto; filter: drop-shadow(0 4px 30px rgba(0,0,0,.6)); }
.tagline { font-family: var(--caps); letter-spacing: .32em; font-size: clamp(11px, 1.5vw, 15px); color: var(--cream); margin: 0 0 14px; text-shadow: 0 2px 12px #000; }
.adam-line { position: fixed; left: 50%; bottom: 16vh; transform: translateX(-50%); width: min(900px, 92vw); text-align: center; margin: 0;
  font-family: var(--serif); font-style: italic; font-size: clamp(22px, 3vw, 34px); color: var(--champagne); opacity: 0; transition: opacity 1s; text-shadow: 0 2px 18px #000; z-index: 2; }
.adam-line.on { opacity: 1; }
.doors { position: fixed; inset: 0; pointer-events: none; z-index: 3; opacity: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(255,226,160,.95), rgba(239,198,106,.6) 30%, rgba(2,9,21,0) 70%); transition: opacity 1.4s; }
.doors.open { opacity: 1; }

.door-step { opacity: 0; transition: opacity 1.6s; animation: none; }
.door-step.on { opacity: 1; animation: doorwalk 7s linear forwards; }
@keyframes doorwalk { from { transform: scale(1.02); } to { transform: scale(1.16) translateY(1%); } }

/* ---------- the red carpet ---------- */
.press-wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; max-width: 980px; }
.press { position: relative; padding: 0; border: 0; background: #000; cursor: pointer; border-radius: 4px; overflow: hidden; aspect-ratio: 3/4;
  box-shadow: 0 0 0 1px rgba(239,198,106,.55), 0 14px 40px rgba(0,0,0,.6); transition: transform .35s var(--ease), box-shadow .35s; }
.press img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; filter: saturate(.95); }
.press:hover, .press:focus-visible { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--gold), 0 0 26px rgba(255,236,190,.35), 0 18px 46px rgba(0,0,0,.7); }
.press::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.8)); }
.press-name { position: absolute; left: 0; right: 0; bottom: 10px; z-index: 1; text-align: center; font-family: var(--caps); font-size: 13px; letter-spacing: .12em; color: var(--champagne); }
.press-view { padding: 0; background: #000; }
.press-photo { position: absolute; inset: 0; }
.press-img { width: 100%; height: 100%; object-fit: cover; animation: drift 30s var(--ease) infinite alternate; }
.press-card { position: absolute; left: 50%; bottom: max(22px, env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(620px, calc(100% - 32px)); }
.press-view.flash .press-photo::after { content: ""; position: absolute; inset: 0; background: #fff; animation: flash .7s ease-out forwards; }
@keyframes flash { from { opacity: .85; } to { opacity: 0; } }

/* ---------- the green room ---------- */
.nameplates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; max-width: 980px; }
.nameplate { display: grid; gap: 4px; justify-items: center; padding: 16px 12px; cursor: pointer; border-radius: 6px; border: 1px solid #E3B46A; color: #241306;
  background: linear-gradient(145deg, #E0AE68, #A86B2E 55%, #7E4D1E); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 8px 24px rgba(0,0,0,.55); transition: transform .25s; }
.nameplate:hover { transform: translateY(-2px); }
.np-name { font-family: var(--caps); font-weight: 600; font-size: 15px; letter-spacing: .06em; }
.np-knock { font-family: var(--serif); font-style: italic; font-size: 16px; opacity: .85; }

/* ---------- foyer ---------- */
.plaque-btn { background: linear-gradient(135deg, #C98B3E, #8A5424); border: 1px solid #E3B46A; border-radius: 6px; padding: 10px 18px; cursor: pointer;
  font-family: var(--caps); letter-spacing: .16em; font-size: 12px; color: #FFF4D4; text-transform: uppercase; box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 4px 14px rgba(0,0,0,.5); }

/* ---------- behind the glass ---------- */
.glass .inside { opacity: 0; transition: opacity 1.6s; }
.glass.looking .inside { opacity: 1; }
.pane { position: absolute; left: 41.5%; top: 7%; width: 6%; height: 82%; background: transparent; border: 0; cursor: pointer; z-index: 1; }
.pane span { position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%); white-space: nowrap; font-family: var(--caps); font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--night); background: var(--gold); padding: 7px 12px; border-radius: 999px; box-shadow: 0 0 0 0 rgba(239,198,106,.6); animation: pulse 2.4s infinite; }
.glass.looking .pane, .glass.looking .look-btn { display: none; }@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(239,198,106,.55); } 70% { box-shadow: 0 0 0 16px rgba(239,198,106,0); } 100% { box-shadow: 0 0 0 0 rgba(239,198,106,0); } }

/* ---------- VIP ---------- */
.vip { max-width: 620px; }
.perks { margin: 0 0 16px; padding: 0; list-style: none; }
.perks li { padding: 6px 0 6px 22px; position: relative; font-family: var(--serif); font-size: 20px; line-height: 1.3; }
.perks li::before { content: "◆"; position: absolute; left: 0; top: 9px; font-size: 10px; color: var(--gold); }
.vip-form { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; align-items: end; }
.vip-form label { display: grid; gap: 4px; font-family: var(--caps); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.vip-form input { background: rgba(255,244,212,.06); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; color: var(--champagne); font: 16px var(--sans); }
.vip-form input:focus { border-color: var(--gold); outline: none; }
.vip-form .btn, .vip-form .small { grid-column: 1 / -1; justify-self: start; }
.vip-after { font-family: var(--serif); font-size: 26px; color: var(--gold); font-style: italic; margin: 0; }

/* ---------- window wall ---------- */
.lights { position: absolute; inset: 0; }
.light { position: absolute; transform: translate(-50%, -50%); text-decoration: none; color: var(--champagne); z-index: 1; }
.dot { display: block; width: 14px; height: 14px; border-radius: 50%; background: #FFE3A3; box-shadow: 0 0 10px 4px rgba(255,200,110,.9), 0 0 34px 12px rgba(255,170,70,.45); animation: glow 3.2s ease-in-out infinite; }
.light:nth-child(2) .dot { animation-delay: .6s; } .light:nth-child(3) .dot { animation-delay: 1.2s; } .light:nth-child(4) .dot { animation-delay: 1.8s; } .light:nth-child(5) .dot { animation-delay: 2.4s; }
@keyframes glow { 50% { transform: scale(1.35); box-shadow: 0 0 14px 6px rgba(255,214,140,1), 0 0 48px 18px rgba(255,170,70,.55); } }
.hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(6px); width: 240px; background: var(--glass); backdrop-filter: blur(8px); border: 1px solid var(--line);
  border-radius: 12px; padding: 10px 14px; font-size: 14px; line-height: 1.4; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; }
.hint strong { font-family: var(--caps); color: var(--gold); font-weight: 600; letter-spacing: .06em; }
.hint em { display: block; font-style: normal; font-size: 12px; color: var(--cream); opacity: .8; margin-top: 6px; }
.light:hover .hint, .light:focus .hint, .light.show .hint { opacity: 1; transform: translateX(-50%); }

.light-list { display: none; list-style: none; margin: 0; padding: 0; gap: 8px; }
.light-list a { display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--champagne); background: var(--glass); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font-size: 14px; }
.light-list .dot { flex: none; width: 10px; height: 10px; }
.light-list strong { font-family: var(--caps); color: var(--gold); font-weight: 600; }
.light-list em { display: block; font-style: normal; font-size: 12px; opacity: .8; }
@media (max-aspect-ratio: 1/1) { .lights { display: none; } .light-list { display: grid; } }

/* ---------- the Golden R Lounge: the games ---------- */
.game-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); gap: 14px; }
.game-card { display: grid; gap: 6px; justify-items: start; text-align: left; color: var(--champagne); cursor: pointer; font: inherit; transition: transform .2s, border-color .2s; }
.game-card:hover { transform: translateY(-2px); border-color: var(--gold); }
.game-card .label { margin: 0; }
.game-title { font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1.1; color: var(--gold); }
.game-card .btn { margin-top: 8px; pointer-events: none; }
.overlay.game { background: rgba(2,9,21,.94); backdrop-filter: blur(6px); place-items: start center; overflow-y: auto; padding: 72px 16px 32px; }
.game-box { width: min(760px, 100%); display: grid; gap: 14px; }
.game-box .label { margin: 0; }
.g-q, .g-score { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--champagne); font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; margin: 0; }
.g-q:focus, .g-score:focus { outline: none; }
.g-score { color: var(--gold); }
.spot-frame { aspect-ratio: 16/9; overflow: hidden; border-radius: 14px; border: 1px solid var(--line); background: #000; }
.spot-frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.4s var(--ease, ease); }
.g-clue { font-family: var(--serif); font-style: italic; font-size: 20px; margin: 0; color: var(--cream); }
.g-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.g-opts-wide { grid-template-columns: 1fr; }
.g-opt { background: rgba(2,9,21,.6); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; color: var(--champagne); font: 17px var(--serif); text-align: left; cursor: pointer; transition: background .2s, border-color .2s; }
.g-opt:hover:not(:disabled) { border-color: var(--gold); background: rgba(239,198,106,.1); }
.g-opt:disabled { cursor: default; opacity: .55; }
.g-opt.right { opacity: 1; border-color: var(--gold); background: rgba(239,198,106,.22); color: var(--gold); }
.g-opt.wrong { opacity: 1; border-color: #b0573a; background: rgba(176,87,58,.18); }
.g-reveal { display: grid; gap: 6px; justify-items: start; }
.g-reveal:empty { display: none; }
.g-verdict { font-family: var(--caps); letter-spacing: .18em; text-transform: uppercase; font-size: 13px; color: var(--gold); margin: 0; }
.g-who { font-family: var(--serif); font-size: 24px; color: var(--champagne); margin: 0; }
.g-result { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 18px; align-items: center; }
.g-result img { width: 100%; border-radius: 14px; border: 1px solid var(--line); display: block; }
.g-result .g-text { font-family: var(--serif); font-size: 21px; line-height: 1.4; margin: 8px 0; }
@media (max-width: 640px) {
  .game-cards, .g-result { grid-template-columns: 1fr; }
  .g-opts { grid-template-columns: 1fr; }
}

/* ---------- the monitor lounge party ---------- */
/* the words sit low on the left, clear of the RHAPSODY sign over the bar (Edith, 2 Dec 2026) */
#room-monitor-lounge .room-inner { justify-content: flex-end; text-align: left; align-items: flex-start; gap: 6px; }
#room-monitor-lounge .room-inner .gold, #room-monitor-lounge .room-inner .small { text-shadow: 0 2px 14px rgba(0,0,0,.85); }
#room-monitor-lounge .gold { font-size: clamp(22px, 2.6vw, 34px); }
.spots { position: absolute; inset: 0; }
/* rooms with clickable spots in the picture (the Monitor Lounge, the Window Wall): the text layer lets clicks through
   to the spots, and only its own words, buttons and links catch them (Edith, 2 Dec 2026: "nothing happens") */
.room.party, .room.window, .room.glass, .room.party .room-inner, .room.window .room-inner, .room.glass .room-inner { pointer-events: none; }
.room.party .room-inner > *, .room.window .room-inner > *, .room.glass .room-inner > *, .room.party .foot, .room.window .foot, .room.glass .foot,
.moment-spot, .light, .pane { pointer-events: auto; }
.moment-spot { position: absolute; transform: translate(-50%, -50%); background: none; border: 0; padding: 0; cursor: pointer; z-index: 1; display: grid; justify-items: center; gap: 8px; color: var(--champagne); }
.moment-spot .dot { width: 16px; height: 16px; }
.spot-label { font-family: var(--caps); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; background: rgba(2,9,21,.62); padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap; }
.moment-view .session-close { z-index: 2; }

/* ---------- footer ---------- */
.foot { width: min(1180px, 100%); margin: 0 auto; padding: 18px 20px max(22px, env(safe-area-inset-bottom)); font-size: 12px; color: var(--cream); opacity: .8; text-align: center; border-top: 1px solid rgba(239,198,106,.18); }
.foot p, .foot nav { margin: 4px 0; }
.foot a { color: var(--cream); }
.arrival .foot { display: none; }

/* ---------- overlays ---------- */
.lights-down { position: fixed; inset: 0; background: #000; opacity: 0; pointer-events: none; z-index: 40; transition: opacity .9s; }
body.dim .lights-down { opacity: .86; }
body.blackout .lights-down { opacity: 1; transition-duration: .45s; }
.overlay { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; }
.overlay:focus { outline: none; }
.overlay.player { z-index: 60; }   /* the screen opens over a photo or a session, and closing it returns there */
.player .screen { width: min(1100px, 100%); aspect-ratio: 16/9; background: #000; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: 0 30px 90px rgba(0,0,0,.8);
  animation: screenUp .9s var(--ease) both; }
@keyframes screenUp { from { transform: translateY(40px) scaleY(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.player .frame, .player iframe { width: 100%; height: 100%; border: 0; display: block; }
.player { align-content: center; gap: 14px; }
.player-bar { width: min(1100px, 100%); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.player-title { font-family: var(--serif); font-size: 24px; color: var(--gold); margin: 0; }
.plaque { background: linear-gradient(145deg, #D9A15A, #9A6129 55%, #7A4A1C); color: #241306; border-radius: 10px; padding: 30px 34px; width: min(520px, 100%); text-align: center;
  border: 2px solid #F0C67E; box-shadow: inset 0 2px 0 rgba(255,255,255,.35), inset 0 -3px 8px rgba(0,0,0,.3), 0 30px 80px rgba(0,0,0,.75); }
.plaque h2 { font-family: var(--caps); letter-spacing: .2em; font-size: 20px; margin: 0 0 14px; text-shadow: 0 1px 0 rgba(255,230,180,.6); }
.plaque ul { list-style: none; padding: 0; margin: 0 0 16px; font-family: var(--serif); font-size: 20px; font-weight: 600; line-height: 1.35; }
.plaque li + li { margin-top: 8px; }
.plaque .signed { font-family: var(--serif); font-style: italic; font-size: 18px; margin: 0 0 18px; }
.plaque .btn { color: #241306; border-color: #3a2410; background: rgba(255,240,210,.25); }

/* ---------- sessions (Green Room, Behind the Glass) ---------- */
.session { padding: 0; background: #000; }
.session-stage { position: absolute; inset: 0; overflow: hidden; }
.session-close { position: absolute; top: max(14px, env(safe-area-inset-top)); left: 14px; z-index: 6; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--gold); background: rgba(2,9,21,.78);
  color: var(--gold); font-family: var(--caps); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; backdrop-filter: blur(6px); }
.session-close:hover { background: rgba(239,198,106,.16); }
.s-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s; }
.s-slide.on { opacity: 1; }
.s-slide img { width: 100%; height: 100%; object-fit: cover; animation: drift 30s var(--ease) infinite alternate; }
.s-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,0) 30%, rgba(0,0,0,0) 50%, rgba(0,0,0,.85)); }
.s-title { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; background: radial-gradient(ellipse at center, #0C2348, #020915 70%); z-index: 2; }
.s-title .wordmark { width: min(360px, 60vw); }
.s-title .lower { font-family: var(--caps); letter-spacing: .24em; color: var(--gold); font-size: clamp(14px, 2vw, 20px); margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.s-intro { position: absolute; inset: auto 0 0 0; z-index: 3; padding: 80px 22px max(28px, env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(2,9,21,0), rgba(2,9,21,.88) 38%, rgba(2,9,21,.96)); }
.s-intro .inner { width: min(860px, 100%); margin: 0 auto; }
.s-intro h2 { font-family: var(--caps); font-size: clamp(22px, 3vw, 32px); letter-spacing: .08em; margin: 0; color: var(--champagne); }
.s-intro .species { margin-bottom: 10px !important; }
.s-intro .bio { font-family: var(--serif); font-size: clamp(18px, 2vw, 21px); line-height: 1.45; margin: 0 0 16px; color: var(--champagne); max-height: 34vh; overflow: auto; }
.s-q { position: absolute; left: 0; right: 0; top: 16%; z-index: 3; text-align: center; padding: 0 20px; }
.s-q span { display: inline-block; font-family: var(--serif); font-style: italic; color: var(--gold); font-size: clamp(26px, 3.6vw, 44px); text-shadow: 0 2px 18px #000;
  background: rgba(2,9,21,.62); padding: 4px 22px 8px; border-radius: 12px; backdrop-filter: blur(4px);
  opacity: 0; transform: translateY(10px); transition: opacity .8s, transform .8s; }
.s-q.on span { opacity: 1; transform: none; }
.s-q .asker { display: block; font-family: var(--caps); font-style: normal; font-size: 11px; letter-spacing: .2em; color: var(--cream); margin-bottom: 6px; text-shadow: 0 1px 8px #000; }
.s-cap { position: absolute; left: 50%; bottom: max(64px, calc(env(safe-area-inset-bottom) + 56px)); transform: translateX(-50%); width: min(900px, 92vw); z-index: 3; text-align: center;
  font-size: clamp(17px, 2.1vw, 22px); line-height: 1.45; color: #fff; text-shadow: 0 2px 6px #000, 0 0 2px #000; min-height: 3em; }
.s-cap span { background: rgba(0,0,0,.55); padding: 3px 10px; border-radius: 4px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.s-controls { position: absolute; left: 0; right: 0; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 4; display: flex; justify-content: center; gap: 10px; }
.s-end { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; text-align: center; padding: 20px; background: rgba(2,9,21,.72); }
.s-end .card { max-width: 520px; }
.s-end .gold { font-size: clamp(28px, 4vw, 44px); margin-bottom: 8px; }

/* ---------- plain pages ---------- */
body.plain { background: radial-gradient(ellipse at top, #0C2348, #020915 70%) fixed; }
.plain-page { width: min(720px, 100%); margin: 0 auto; padding: 48px 20px; }
.plain-page .small-mark { width: 240px; margin-bottom: 24px; }
.plain-page p { font-size: 17px; }

/* ---------- small screens ---------- */
@media (max-width: 980px) {
  .cards.four, .cards.judges, .press-wall, .nameplates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards.episodes { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .room-inner { padding: 84px 16px 22px; gap: 16px; }
  .cards.four { grid-template-columns: 1fr 1fr; gap: 10px; }
  .contestant .card-face { aspect-ratio: 1; }
  .contestant .card-actions .btn { font-size: 10.5px; padding: 8px 10px; letter-spacing: .08em; }
  .cards.episodes, .cards.judges { grid-template-columns: 1fr; }
  .vip-form { grid-template-columns: 1fr; }
  .brand img { height: 28px; }
  .icon-btn { padding: 6px 12px; font-size: 11px; }
  .hint { width: 200px; }
  .pane span { display: none; }
  .card h3 { font-size: 14px; }
  .contestant .card-actions .btn { line-height: 1.25; }
  .s-q { top: 12%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .2s !important; }
}
