@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=DM+Sans:wght@400;500;600;700&display=swap');
:root {
  color-scheme: dark;
  --bg: #1b0c1b;
  --bg-2: #311327;
  --shell: #230d1f;
  --surface: #351529;
  --surface-2: #451b33;
  --surface-3: #5a2440;
  --surface-glass: rgba(61, 25, 46, .82);
  --line: rgba(236, 175, 122, .24);
  --line-strong: rgba(236, 175, 122, .53);
  --cream: #fff1df;
  --text: #f6e7df;
  --muted: #c7aab5;
  --faint: #ad8799;
  --gold: #f8c680;
  --gold-dark: #b66a40;
  --gold-gradient: linear-gradient(130deg, #ffe1a1, #d89656 70%, #c77c48);
  --active: #682743;
  --focus: #ffe6a3;
  --shadow: 0 18px 46px rgba(9, 3, 13, .35);
  --radius: 24px;
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { min-height:100%; background: var(--bg); }
body { min-height:100vh; margin:0; overflow-x:hidden; color:var(--text); background:radial-gradient(circle at 15% 4%, #5d1c3e, transparent 36%),radial-gradient(circle at 90% 100%, #502445, transparent 43%),var(--bg); font-size:16px; }
button, input { font:inherit; }
button { cursor:pointer; -webkit-tap-highlight-color:transparent; }
button:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline:3px solid var(--focus); outline-offset:3px; }
button:disabled { cursor:not-allowed; opacity:.52; }
[hidden] { display:none !important; }
.svg-defs { width:0; height:0; position:absolute; overflow:hidden; }
svg:not(.brand-flourish):not(.svg-defs) { height:22px; width:22px; stroke:currentColor; fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; flex:none; }
.ambient { position:fixed; filter:blur(90px); pointer-events:none; opacity:.35; z-index:0; border-radius:50%; }
.ambient-one { width:360px; height:360px; left:-150px; top:3%; background:#87284b; }
.ambient-two { width:480px; height:480px; right:-180px; bottom:-130px; background:#a64f53; }
.site-layout { position:relative; min-height:100vh; max-width:1200px; margin:auto; display:flex; align-items:center; justify-content:center; padding:24px; gap:74px; z-index:1; }
.desktop-intro { width:min(420px,42vw); padding:24px 0 90px; }
.desktop-intro .eyebrow { letter-spacing:.32em; color:var(--gold); font-size:.72rem; font-weight:700; }
.desktop-intro h1 { font:500 clamp(3.2rem,5.1vw,5.9rem)/.97 "Cormorant Garamond",Georgia,serif; letter-spacing:-.045em; margin:20px 0 26px; }
.desktop-intro h1 em { color:var(--gold); font-weight:400; }
.desktop-intro p { font-size:1.05rem; line-height:1.75; max-width:360px; color:var(--muted); }
.intro-orbit { width:170px; height:150px; position:relative; margin-bottom:42px; border:1px solid var(--line); border-radius:70% 35% 67% 33%; transform:rotate(-15deg); }
.intro-orbit:before,.intro-orbit:after { content:""; position:absolute; width:165px; height:65px; border:1px solid var(--gold); border-radius:50%; top:40px; left:0; transform:rotate(32deg); }
.intro-orbit:after { transform:rotate(-32deg); }
.intro-orbit span { position:absolute; color:var(--gold); font-size:20px; }
.intro-orbit span:nth-child(1) { left:21px; top:17px; }
.intro-orbit span:nth-child(2) { right:19px; bottom:8px; }
.intro-orbit span:nth-child(3) { right:30px; top:33px; }
.intro-footer { margin-top:65px; color:var(--faint); letter-spacing:.19em; font-size:.7rem; line-height:1.8; }
.thin-line { display:block; height:1px; width:74px; background:var(--gold); margin-bottom:19px; }
.game-app { position:relative; isolation:isolate; display:flex; flex-direction:column; width:100%; max-width:460px; height:min(880px,calc(100dvh - 48px)); min-height:620px; border:1px solid rgba(255,205,157,.36); border-radius:38px; overflow:hidden; background:radial-gradient(circle at 62% 3%, rgba(118,40,72,.20), transparent 38%),var(--shell); box-shadow:0 35px 90px rgba(0,0,0,.46),0 0 0 7px rgba(229,171,129,.045); }
.game-app:after { content:""; position:absolute; z-index:0; pointer-events:none; height:150px; left:0; right:0; bottom:0; background:linear-gradient(0deg,rgba(15,4,15,.34),transparent); }
.topbar { display:flex; align-items:center; justify-content:space-between; min-height:92px; padding:20px 23px 12px; flex:none; z-index:3; border-bottom:1px solid rgba(246,192,147,.08); }
.brand { display:flex; flex-direction:column; align-items:center; width:max-content; }
.brand-name { font-family:"Cormorant Garamond",Georgia,serif; color:var(--cream); font-size:1.62rem; letter-spacing:.135em; white-space:nowrap; line-height:1.15; font-weight:400; }
.brand-name strong { font-weight:600; }
.brand-flourish { width:118px; height:13px; stroke:var(--gold); fill:none; stroke-width:1.25; }
.topbar-actions { display:flex; align-items:center; gap:9px; }
.demo-pill { border:1px solid var(--line-strong); border-radius:100px; padding:6px 8px; font-size:.6rem; letter-spacing:.1em; font-weight:700; color:var(--gold); white-space:nowrap; }
.icon-button { width:39px; height:39px; display:grid; place-items:center; background:rgba(242,192,157,.065); border:1px solid var(--line); color:var(--gold); border-radius:50%; }
.icon-button svg { width:19px !important; height:19px !important; }
main { flex:1; position:relative; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:rgba(255,207,155,.24) transparent; z-index:2; }
.screen { min-height:100%; padding:14px 23px 27px; display:flex; flex-direction:column; animation:appear .28s ease-out; }
.center-screen { justify-content:center; }
.eyebrow { font-size:.73rem; font-weight:700; color:var(--gold); letter-spacing:.18em; text-transform:uppercase; }
.serif { font-family:"Cormorant Garamond",Georgia,serif; font-weight:500; }
.text-muted { color:var(--muted); }
.text-faint { color:var(--faint); }
.small { font-size:.85rem; line-height:1.6; }
.tiny { font-size:.75rem; line-height:1.5; }
.center { text-align:center; }
.title-xl { font-size:clamp(2.7rem,7.5vw,3.8rem); line-height:1.06; letter-spacing:-.035em; margin:12px 0 8px; }
.title-lg { font-size:2.45rem; line-height:1.05; letter-spacing:-.035em; margin:6px 0 12px; }
.gold { color:var(--gold); }
.lead { color:var(--muted); line-height:1.65; font-size:1rem; }
.pill { display:inline-flex; align-items:center; justify-content:center; align-self:center; border:1px solid var(--line-strong); border-radius:100px; font-size:.76rem; font-weight:700; letter-spacing:.08em; color:var(--gold); padding:9px 13px; text-transform:uppercase; }
.button { min-height:52px; display:flex; justify-content:center; align-items:center; gap:9px; width:100%; background:var(--surface-2); border:1px solid var(--line); color:var(--cream); border-radius:100px; padding:13px 18px; font-weight:700; font-size:.95rem; line-height:1.3; transition:filter .2s, transform .2s, background .2s; }
.button:hover { filter:brightness(1.1); transform:translateY(-1px); }
.button:active { transform:translateY(1px); }
.button-primary { background:var(--gold-gradient); color:#351527; border:1px solid rgba(255,228,172,.75); box-shadow:0 8px 30px rgba(193,108,59,.16); }
.button-secondary { background:transparent; border-color:var(--line-strong); }
.button-quiet { background:rgba(240,177,144,.07); border-color:rgba(240,177,144,.12); }
.button-danger { color:#ffd0ca; border-color:rgba(255,137,145,.3); background:rgba(170,40,68,.13); }
.button-sm { width:auto; min-height:39px; padding:9px 15px; font-size:.82rem; }
.button svg { width:19px !important; height:19px !important; }
.stack { display:flex; flex-direction:column; gap:12px; }
.row { display:flex; align-items:center; gap:10px; }
.row-between { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.spacer { flex:1; min-height:16px; }
.accent-line { width:118px; height:1px; background:linear-gradient(90deg,transparent,var(--gold),transparent); margin:18px auto; }
.welcome-screen { padding-top:34px; justify-content:center; }
.welcome-art { height:136px; position:relative; margin:10px 0 12px; }
.welcome-art:before,.welcome-art:after { content:""; border:1.6px solid var(--gold); border-radius:50%; position:absolute; width:200px; height:74px; left:50%; top:45%; transform:translate(-50%,-50%) rotate(30deg); box-shadow:0 0 32px rgba(254,171,116,.14); }
.welcome-art:after { transform:translate(-50%,-50%) rotate(-30deg); }
.welcome-art-inner { position:absolute; left:50%; top:45%; transform:translate(-50%,-50%); color:var(--gold); font:500 4rem "Cormorant Garamond",Georgia,serif; }
.welcome-screen .subtitle { margin:0 auto 24px; max-width:290px; color:var(--muted); line-height:1.7; }
.privacy-line { display:flex; gap:8px; align-items:center; justify-content:center; color:var(--faint); margin-top:18px; font-size:.75rem; line-height:1.5; }
.privacy-line svg { width:16px !important; height:16px !important; }
.step-marker { display:flex; gap:7px; justify-content:center; margin:13px 0; }
.step-marker span { width:25px; height:3px; border-radius:20px; background:var(--surface-3); }
.step-marker .active { background:var(--gold); width:42px; }
.players-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:16px 0; }
.player-choice { background:rgba(142,66,87,.12); color:var(--text); border:1px solid var(--line); border-radius:19px; min-height:112px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:7px; padding:10px 6px; position:relative; }
.player-choice.is-selected { background:rgba(246,187,125,.13); border-color:var(--gold); box-shadow:0 0 0 1px var(--line-strong); }
.player-choice.is-selected:after { content:"✓"; position:absolute; top:7px; right:9px; font-size:.8rem; color:var(--gold); }
.player-choice span:last-child { font-weight:600; font-size:.85rem; }
.avatar { width:42px; height:42px; display:inline-flex; align-items:center; justify-content:center; flex:none; border-radius:50%; color:var(--cream); font-weight:700; font-size:.86rem; letter-spacing:.02em; border:1.5px solid rgba(255,227,176,.42); box-shadow:inset 0 0 12px rgba(0,0,0,.12); }
.avatar-lg { width:53px; height:53px; font-size:1.05rem; }
.avatar-sm { width:34px; height:34px; font-size:.73rem; }
.avatar.a0 { background:linear-gradient(145deg,#ac715e,#773f69); }
.avatar.a1 { background:linear-gradient(145deg,#7384a5,#344c73); }
.avatar.a2 { background:linear-gradient(145deg,#d18c5d,#874d5a); }
.avatar.a3 { background:linear-gradient(145deg,#917e89,#4d485d); }
.avatar.a4 { background:linear-gradient(145deg,#b5789a,#70445c); }
.avatar.a5 { background:linear-gradient(145deg,#7a9977,#425c6a); }
.consent-box { display:flex; gap:11px; align-items:flex-start; padding:12px; border:1px solid var(--line); border-radius:16px; background:rgba(245,174,143,.055); }
.consent-box input { accent-color:var(--gold); width:21px; height:21px; flex:none; margin:2px 0 0; }
.consent-box label { font-size:.82rem; color:var(--muted); line-height:1.5; cursor:pointer; }
.section-header { margin:5px 0 13px; }
.section-header h2 { font:500 2.65rem/.97 "Cormorant Garamond",Georgia,serif; letter-spacing:-.03em; margin:7px 0; }
.section-header p { margin:0; color:var(--muted); line-height:1.6; font-size:.89rem; }
.room-status { display:flex; align-items:center; gap:8px; color:var(--muted); font-size:.77rem; }
.status-dot { width:7px; height:7px; background:#8ec5a2; border-radius:50%; box-shadow:0 0 0 4px rgba(142,197,162,.1); }
.stage-list { display:flex; gap:4px; margin:15px 0 20px; }
.stage-list span { height:3px; flex:1; border-radius:5px; background:rgba(255,214,174,.13); }
.stage-list .done { background:var(--gold); }
.stage-list .current { background:linear-gradient(90deg,var(--gold),#fff3ca); box-shadow:0 0 12px rgba(255,202,131,.3); }
.question-frame { flex:1; min-height:260px; width:100%; border:1px solid var(--line-strong); border-radius:26px; background:radial-gradient(ellipse at 72% 96%,rgba(198,93,110,.17),transparent 43%),linear-gradient(145deg,rgba(117,41,70,.6),rgba(51,18,42,.9)); position:relative; display:flex; flex-direction:column; justify-content:center; align-items:center; padding:34px 23px; text-align:center; overflow:hidden; box-shadow:var(--shadow); }
.question-frame:before { content:""; position:absolute; bottom:-60px; width:120%; height:130px; border:1px solid rgba(251,174,130,.33); border-radius:50%; transform:rotate(-8deg); }
.question-frame:after { content:""; position:absolute; bottom:-44px; width:120%; height:130px; border:1px solid rgba(251,174,130,.2); border-radius:50%; transform:rotate(8deg); }
.quote-icon { color:var(--gold); font:700 4.4rem/.8 "Cormorant Garamond",Georgia,serif; margin-bottom:4px; }
.question-frame h3 { font:500 clamp(2.15rem,7vw,3rem)/1.07 "Cormorant Garamond",Georgia,serif; letter-spacing:-.012em; margin:9px 0; position:relative; z-index:1; }
.question-frame .tiny { margin:15px 0 0; position:relative; z-index:1; color:var(--muted); }
.reaction-row { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-top:14px; }
.reaction { min-height:42px; border:1px solid var(--line); background:rgba(249,186,140,.055); color:var(--muted); border-radius:100px; font-size:.74rem; font-weight:700; padding:7px 4px; }
.reaction.selected { color:var(--gold); background:rgba(245,181,137,.17); border-color:var(--gold); }
.live-people { display:flex; align-items:center; justify-content:space-between; padding:16px 4px 10px; gap:5px; }
.live-person { display:flex; flex-direction:column; align-items:center; gap:5px; flex:1; min-width:0; }
.live-person .avatar { width:37px; height:37px; font-size:.76rem; }
.live-person small { color:var(--muted); font-size:.68rem; max-width:100%; overflow:hidden; text-overflow:ellipsis; }
.live-person.me small { color:var(--gold); }
.game-actions { display:flex; flex-direction:column; gap:10px; margin-top:auto; padding-top:10px; }
.whisper-teaser { border:1px solid var(--line); background:linear-gradient(120deg,rgba(144,56,94,.18),rgba(255,189,153,.04)); padding:12px 13px; border-radius:16px; display:flex; align-items:center; justify-content:space-between; gap:10px; }
.whisper-teaser span { font-size:.8rem; color:var(--muted); line-height:1.4; }
.whisper-teaser .button { flex:none; }
.whisper-teaser strong { color:var(--cream); display:block; font-size:.85rem; margin-bottom:2px; }
.bottom-nav { flex:none; z-index:3; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); padding:9px 12px calc(10px + env(safe-area-inset-bottom)); border-top:1px solid var(--line); background:linear-gradient(180deg,rgba(61,22,42,.92),rgba(33,12,31,.98)); gap:3px; }
.nav-button { min-height:54px; position:relative; border:1px solid transparent; border-radius:15px; background:transparent; color:var(--muted); display:flex; flex-direction:column; justify-content:center; align-items:center; gap:5px; font-size:.68rem; font-weight:700; }
.nav-button svg { width:19px !important; height:19px !important; }
.nav-button.active { background:rgba(185,85,110,.22); border-color:rgba(238,171,136,.2); color:var(--gold); }
.nav-dot { width:7px; height:7px; position:absolute; top:6px; right:25%; border-radius:50%; background:#ffd098; box-shadow:0 0 12px rgba(255,198,125,.8); }
.selector-label { color:var(--gold); font-size:.73rem; font-weight:700; letter-spacing:.15em; margin:10px 0 9px; text-transform:uppercase; }
.recipient-list { display:grid; grid-template-columns:repeat(3,1fr); gap:9px; }
.recipient { border:1px solid var(--line); border-radius:16px; min-height:93px; color:var(--text); background:rgba(248,183,152,.06); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px; font-size:.8rem; font-weight:600; }
.recipient.selected { border-color:var(--gold); background:rgba(246,188,122,.14); }
.chip-row { display:flex; gap:7px; }
.chip { padding:9px 7px; flex:1; border-radius:100px; color:var(--muted); border:1px solid var(--line); background:transparent; font-weight:600; font-size:.76rem; }
.chip.selected { background:var(--gold-gradient); color:#381828; border-color:transparent; }
.message-options { display:flex; flex-direction:column; gap:8px; margin-bottom:10px; }
.message-option { color:var(--text); text-align:left; border-radius:15px; padding:14px 15px; background:rgba(255,193,154,.045); border:1px solid var(--line); font:500 1.4rem/1.14 "Cormorant Garamond",Georgia,serif; }
.message-option.selected { background:rgba(211,108,105,.14); border-color:var(--gold); }
.message-option.selected:after { content:"✓"; float:right; font:700 .85rem "DM Sans",sans-serif; color:var(--gold); }
.security-note { display:flex; gap:9px; color:var(--muted); font-size:.78rem; line-height:1.5; padding:11px 0; }
.security-note svg { width:17px !important; height:17px !important; color:var(--gold); margin-top:1px; }
.stat-card { background:rgba(242,171,144,.06); border:1px solid var(--line); border-radius:20px; padding:17px; }
.stat-card h3 { margin:0 0 7px; font-size:1rem; color:var(--cream); }
.stat-card p { margin:0; color:var(--muted); font-size:.85rem; line-height:1.65; }
.room-code { text-align:center; padding:17px; font:500 2.8rem "Cormorant Garamond",Georgia,serif; color:var(--gold); letter-spacing:.19em; border:1px dashed var(--line-strong); background:rgba(245,181,126,.065); border-radius:16px; }
.room-people { display:flex; flex-wrap:wrap; gap:8px; margin:10px 0; }
.room-people .room-person { display:flex; gap:7px; align-items:center; border-radius:100px; border:1px solid var(--line); padding:6px 11px 6px 6px; color:var(--muted); font-size:.79rem; }
.room-person.is-here { border-color:rgba(141,198,160,.42); }
.room-person .avatar { width:27px; height:27px; font-size:.62rem; }
.room-person .online-dot { width:6px; height:6px; border-radius:50%; background:#91c69f; }
.settings-item { padding:16px 0; display:flex; align-items:flex-start; justify-content:space-between; border-bottom:1px solid var(--line); gap:18px; }
.settings-item strong { display:block; font-size:.9rem; color:var(--cream); }
.settings-item p { margin:5px 0 0; color:var(--muted); font-size:.79rem; line-height:1.5; }
.switch { position:relative; width:48px; height:27px; flex:none; border-radius:30px; border:1px solid var(--line-strong); background:var(--surface-3); }
.switch:after { content:""; position:absolute; width:19px; height:19px; top:3px; left:4px; border-radius:50%; background:var(--muted); transition:transform .2s,background .2s; }
.switch[aria-checked=true] { background:linear-gradient(90deg,#b3664e,#cf9161); }
.switch[aria-checked=true]:after { background:#fff1dc; transform:translateX(19px); }
.setting-actions { display:flex; gap:9px; margin-top:16px; }
.setting-actions .button { flex:1; }
.message-layer,.guide-layer { position:absolute; z-index:10; inset:0; padding:22px; background:rgba(11,5,13,.8); backdrop-filter:blur(12px); display:flex; align-items:center; justify-content:center; animation:appear .2s ease-out; }
.message-modal,.guide-modal { width:100%; max-height:90%; overflow-y:auto; border:1px solid var(--line-strong); border-radius:28px; padding:22px 20px 24px; background:radial-gradient(circle at 50% 0,rgba(113,41,77,.55),transparent 55%),#2a1026; box-shadow:0 24px 80px rgba(0,0,0,.55); }
.private-tag { display:flex; align-items:center; justify-content:center; gap:8px; letter-spacing:.22em; color:var(--gold); font-size:.74rem; font-weight:700; }
.private-tag svg { width:17px !important; height:17px !important; }
.envelope-art { width:112px; height:86px; display:flex; justify-content:center; align-items:center; margin:22px auto 9px; border-radius:30%; background:radial-gradient(circle,rgba(251,180,106,.2),transparent 68%); color:var(--gold); }
.envelope-art svg { width:69px !important; height:69px !important; stroke-width:1.15 !important; filter:drop-shadow(0 0 18px rgba(246,167,101,.5)); }
.received-quote { padding:28px 18px; margin:17px 0; font:500 clamp(1.85rem,7.8vw,2.25rem)/1.17 "Cormorant Garamond",Georgia,serif; border:1px solid var(--gold); border-radius:18px; background:rgba(255,194,142,.06); text-align:center; color:var(--cream); }
.countdown { display:flex; justify-content:center; align-items:center; margin:10px auto 20px; width:78px; height:78px; border-radius:50%; background:conic-gradient(var(--gold) var(--angle,100%),rgba(245,166,122,.15) 0); padding:5px; }
.countdown .countdown-inner { background:#2a1026; width:100%; height:100%; border-radius:50%; display:flex; justify-content:center; align-items:center; color:var(--gold); font:500 1.8rem "Cormorant Garamond",Georgia,serif; }
.modal-actions { display:flex; gap:10px; }
.modal-actions .button { flex:1; padding:10px; }
.toast { opacity:0; position:absolute; bottom:90px; left:18px; right:18px; z-index:15; background:rgba(255,223,176,.96); color:#371c2c; border-radius:15px; box-shadow:var(--shadow); padding:13px 16px; text-align:center; pointer-events:none; transform:translateY(8px); transition:opacity .2s,transform .2s; font-size:.83rem; line-height:1.45; font-weight:700; }
.toast.show { opacity:1; transform:translateY(0); }
.guide-modal h2 { font:500 2.7rem/1 "Cormorant Garamond",Georgia,serif; margin:3px 0 18px; }
.guide-modal p,.guide-modal li { color:var(--muted); line-height:1.6; font-size:.85rem; }
.guide-modal ol { padding-left:22px; }
.guide-modal li { margin-bottom:9px; }
.empty-note { padding:18px; text-align:center; font-size:.83rem; color:var(--muted); border:1px dashed var(--line); border-radius:16px; }
@keyframes appear { from{opacity:0; transform:translateY(6px)}to{opacity:1; transform:translateY(0)} }
@media(max-width:900px) {
  .desktop-intro { display:none; }
  .site-layout { padding:0; }
  .game-app { border:none; border-radius:0; max-width:none; width:100%; height:100dvh; min-height:520px; box-shadow:none; }
  .screen { max-width:540px; width:100%; margin:0 auto; }
  .topbar { padding-inline:max(23px,calc((100vw - 500px)/2)); }
  .bottom-nav { padding-left:max(12px,calc((100vw - 520px)/2)); padding-right:max(12px,calc((100vw - 520px)/2)); }
}
@media(max-height:730px) {
  .topbar { min-height:76px; padding-top:12px; padding-bottom:6px; }
  .screen { padding-top:8px; }
  .question-frame { min-height:220px; }
  .welcome-art { height:97px; margin:0; }
  .stage-list { margin:8px 0 13px; }
  .live-people { padding:10px 3px 7px; }
  .button { min-height:46px; }
}
@media(max-width:360px) {
  .screen { padding-inline:15px; }
  .topbar { padding-inline:15px; }
  .brand-name { font-size:1.36rem; }
  .demo-pill { font-size:.52rem; }
  .question-frame h3 { font-size:2rem; }
  .live-person .avatar { width:31px; height:31px; }
}
@media(prefers-reduced-motion:reduce) { *,*:before,*:after { animation:none!important; transition:none!important; scroll-behavior:auto!important; } }
[data-theme=light] {
  color-scheme:light;
  --bg:#e9d5d5;--bg-2:#f5e5e4;--shell:#fff8f3;--surface:#fff0e9;--surface-2:#f6dfdb;--surface-3:#eac9c5;--surface-glass:rgba(255,244,236,.9);
  --line:rgba(128,57,74,.22);--line-strong:rgba(146,68,75,.48);--cream:#4b1d31;--text:#482338;--muted:#875f6d;--faint:#987d86;--gold:#935039;--gold-dark:#bc754d;
  --gold-gradient:linear-gradient(130deg,#ecc38c,#d79567 75%,#ca8566);--active:#f4dcdb;--focus:#a35543;--shadow:0 18px 43px rgba(81,45,67,.12);
}
[data-theme=light] body { background:#f3e4df; }
[data-theme=light] .game-app { background:radial-gradient(circle at 62% 0,rgba(221,159,164,.23),transparent 42%),var(--shell); }
[data-theme=light] .topbar,[data-theme=light] .bottom-nav { background:#fff8f3; }
[data-theme=light] .question-frame { background:radial-gradient(ellipse at 65% 95%,rgba(212,143,157,.2),transparent 44%),linear-gradient(140deg,#fbe8e3,#fff9f1); }
[data-theme=light] .button-primary { color:#492332; }
[data-theme=light] .nav-button.active { background:rgba(221,151,132,.15); }
[data-theme=light] .message-modal,[data-theme=light] .guide-modal { background:#fff7f1; }
[data-theme=light] .countdown .countdown-inner { background:#fff7f1; }
[data-theme=light] .message-layer,[data-theme=light] .guide-layer { background:rgba(56,28,42,.55); }
[data-theme=light] .message-option { background:rgba(241,206,188,.27); }
[data-theme=light] .ambient { opacity:.14; }

/* Versión 0.2: salas reales y acceso por nombre */
.game-app .join-input {
  display:block; width:100%; min-height:53px; border:1px solid var(--line-strong);
  border-radius:15px; background:rgba(255,206,176,.07); color:var(--text);
  font-size:1rem; font-weight:600; padding:12px 15px; outline-offset:3px;
}
.join-input::placeholder { color:var(--faint); opacity:.9; }
.join-input:focus { border-color:var(--gold); box-shadow:0 0 0 2px rgba(248,198,128,.13); }
.join-form { display:flex; flex-direction:column; gap:14px; margin-top:17px; }
.input-caption { display:block; color:var(--gold); text-transform:uppercase; letter-spacing:.14em; font-size:.75rem; font-weight:700; margin:0 0 7px; }
.connection-chip { display:inline-flex; align-items:center; gap:7px; color:var(--muted); font-size:.75rem; }
.connection-chip:before { content:""; display:inline-block; width:7px; height:7px; border-radius:50%; background:#d49a74; }
.connection-chip.connected:before { background:#83c59b; }
.room-person .host-crown { color:var(--gold); font-size:.74rem; line-height:1; }
.room-person:not(.is-here) { opacity:.55; }
.recipient:disabled { opacity:.35; }
.invite-panel { background:radial-gradient(circle at 80% 0,rgba(199,126,89,.13),transparent 60%),var(--surface-glass); border:1px solid var(--line-strong); padding:18px; border-radius:20px; }
.invite-panel .room-code { margin-top:7px; font-size:2.45rem; }
.small-outline { border:1px solid var(--line); border-radius:12px; padding:9px 12px; background:transparent; color:var(--cream); font-weight:700; font-size:.8rem; }
.small-outline:hover { border-color:var(--gold); }
.alert-note { background:rgba(213,126,94,.07); border:1px solid rgba(233,168,118,.25); border-radius:16px; color:var(--muted); font-size:.8rem; padding:12px 14px; line-height:1.55; }
.joined-name { display:flex; flex-direction:column; gap:3px; }
.joined-name span { color:var(--faint); font-size:.76rem; }
.whisper-limit { border:1px solid var(--line); border-radius:999px; padding:7px 11px; font-size:.75rem; color:var(--gold); }
.dialog-report { width:100%; margin-top:8px; padding:9px; border:0; background:none; color:var(--muted); text-decoration:underline; font-size:.78rem; }
@media(max-height:690px) {
  .game-screen .question-frame { min-height:190px; }
  .game-screen .reaction-row { margin-top:7px; }
}
