:root {
  --ink: #14202a;
  --muted: #66737d;
  --paper: #f4f1ea;
  --card: rgba(255,255,255,.88);
  --line: rgba(20,32,42,.12);
  --navy: #101a23;
  --navy-2: #1b2b38;
  --gold: #d7a74b;
  --gold-soft: #f4e4bd;
  --green: #2f765a;
  --green-soft: #dcece4;
  --red: #a44845;
  --red-soft: #f3dedd;
  --blue: #3b6d89;
  --shadow: 0 20px 55px rgba(28,35,40,.11);
}

* { box-sizing: border-box; }
html { width: 100%; min-height: 100%; overflow-x: clip; background: var(--paper); touch-action: pan-y; }
body { width: 100%; min-height: 100vh; margin: 0; overflow-x: clip; overscroll-behavior-x: none; touch-action: pan-y; color: var(--ink); background: radial-gradient(circle at 78% -5%, #f7e9c8 0, transparent 28rem), linear-gradient(180deg, #f7f5ef 0%, #efebe2 100%); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.portrait-lock-screen { display: none; }
html.splash-pending, html.onboarding-pending { overflow: hidden; }
.experience-pending .app-shell, .install-required .app-shell { visibility: hidden; opacity: 0; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
.field[hidden] { display: none !important; }
.button.destructive { color: #913e3a; border-color: rgba(164,72,69,.42); }
.button.destructive:hover { color: white; background: var(--red); border-color: var(--red); }
.record-actions { display: flex; flex-wrap: wrap; gap: 7px; }

.install-gate { position: fixed; z-index: 2200; inset: 0; min-height: 100dvh; display: none; place-items: center; overflow: hidden; padding: max(22px, env(safe-area-inset-top)) 20px max(22px, env(safe-area-inset-bottom)); color: #f6f0df; background: #0b141b; }
.install-required .install-gate { display: grid; }
.install-aurora { position: absolute; inset: -20%; background: radial-gradient(circle at 50% 45%, rgba(215,167,75,.2), transparent 28%), radial-gradient(circle at 10% 90%, rgba(58,106,133,.2), transparent 34%); }
.install-card { position: relative; z-index: 1; width: min(430px, 100%); display: grid; justify-items: center; text-align: center; }
.install-icon { width: 104px; height: 104px; border-radius: 24px; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.install-eyebrow { margin: 26px 0 10px; color: #d7a74b; font-size: 14px; font-weight: 850; letter-spacing: .17em; }
.install-card h1 { margin: 0; font: 700 clamp(36px, 9vw, 54px)/1 Georgia, serif; }
.install-copy { margin: 20px 0 26px; color: #cbd3d8; font-size: 15px; line-height: 1.65; }
.install-primary { width: min(310px, 100%); min-height: 60px; color: #101a23; background: #d7a74b; border: 1px solid #f0cf82; border-radius: 999px; font-size: 18px; font-weight: 900; letter-spacing: .08em; }
.install-status { min-height: 18px; margin: 17px 0 0; color: #93a1aa; font-size: 14px; }
.install-preview-close { margin-top: 18px; color: #93a1aa; font-size: 14px; }
.install-help-modal { position: absolute; z-index: 4; inset: 0; padding: 0; overflow: hidden; color: #f5f0e5; background: rgba(4,8,11,.985); opacity: 0; visibility: hidden; pointer-events: none; transition: .3s ease; }
.install-help-modal.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.install-help-modal article { width: 100%; height: 100%; margin: 0; }
.install-help-shell { display: flex; flex-direction: column; padding: max(76px, calc(env(safe-area-inset-top) + 58px)) 0 max(15px, env(safe-area-inset-bottom)); }
.install-help-modal h2 { flex: 0 0 auto; margin: 0; padding: 0 68px 14px 20px; color: #d7a74b; font: 700 clamp(25px, 7vw, 34px)/1.08 Georgia, serif; }
.install-help-modal h3 { margin-top: 32px; font: 700 22px/1.2 Georgia, serif; }
.install-help-modal li { margin: 0 0 14px; color: #d5dce0; line-height: 1.55; }
.install-help-close { position: fixed; z-index: 2; top: max(18px, env(safe-area-inset-top)); right: max(18px, env(safe-area-inset-right)); width: 44px; height: 44px; color: white; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 50%; font-size: 28px; }
[data-install-help][hidden] { display: none !important; }
[data-install-help="ipad"], [data-install-help="android"], [data-install-help="desktop"] { min-height: 0; padding: 0 24px; overflow-y: auto; }
.install-help-ios { min-height: 0; flex: 1; display: grid; grid-template-rows: minmax(0,1fr) auto auto; }
.install-help-gallery { min-width: 0; min-height: 0; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; touch-action: pan-x; }
.install-help-gallery::-webkit-scrollbar { display: none; }
.install-help-slide { flex: 0 0 100%; width: 100%; min-width: 100%; height: 100%; margin: 0; padding: 0 14px; display: grid; grid-template-rows: minmax(0,1fr) auto; justify-items: center; gap: 10px; scroll-snap-align: center; scroll-snap-stop: always; }
.install-help-slide img { width: auto; max-width: 100%; height: 100%; min-height: 0; display: block; object-fit: contain; border-radius: 17px; box-shadow: 0 18px 50px rgba(0,0,0,.42); }
.install-help-slide figcaption { min-height: 24px; color: #e6e0d4; font-size: 14px; line-height: 1.35; text-align: center; }
.install-help-slide figcaption strong { color: #efc873; }
.install-help-dots { display: flex; justify-content: center; gap: 12px; padding: 10px 16px 0; }
.install-help-dots button { min-width: 24px; min-height: 28px; padding: 0; color: #58636a; background: transparent; border: 0; font-size: 15px; line-height: 1; transition: color .2s ease, transform .2s ease; }
.install-help-dots button.is-active { color: #d7a74b; transform: scale(1.25); }
.install-help-swipe { margin: 1px 0 0; color: #8f9aa1; font-size: 14px; line-height: 1; text-align: center; }
.install-help-modal.is-iphone-gallery .install-help-close,
.install-help-modal.is-iphone-gallery h2 { display: none; }
.install-help-modal.is-iphone-gallery .install-help-shell { padding: max(4px, env(safe-area-inset-top)) 0 max(4px, env(safe-area-inset-bottom)); }
.install-help-modal.is-iphone-gallery .install-help-ios { position: relative; display: block; height: 100%; }
.install-help-modal.is-iphone-gallery .install-help-gallery { height: 100%; }
.install-help-modal.is-iphone-gallery .install-help-slide { padding: 0 4px; display: flex; align-items: center; justify-content: center; }
.install-help-modal.is-iphone-gallery .install-help-slide img { width: 100%; height: 100%; border-radius: 0; box-shadow: none; }
.install-help-modal.is-iphone-gallery .install-help-slide figcaption,
.install-help-modal.is-iphone-gallery .install-help-swipe { display: none; }
.install-help-modal.is-iphone-gallery .install-help-dots { position: absolute; z-index: 2; right: 0; bottom: max(10px, calc(env(safe-area-inset-bottom) + 4px)); left: 0; padding: 0; pointer-events: none; }
.install-help-modal.is-iphone-gallery .install-help-dots button { color: rgba(255,255,255,.48); text-shadow: 0 1px 7px #000; pointer-events: auto; }
.install-help-modal.is-iphone-gallery .install-help-dots button.is-active { color: #f1c86e; }
.install-complete { position: absolute; z-index: 6; inset: 0; padding: 26px; display: none; place-content: center; justify-items: center; color: #f6f0df; background: #0b141b; text-align: center; }
.install-gate.is-complete .install-complete { display: grid; }
.install-complete h2 { margin: 25px 0 12px; font: 700 34px/1.1 Georgia, serif; }
.install-complete p { max-width: 480px; margin: 0; color: #cbd3d8; line-height: 1.6; }

.app-shell { min-height: 100vh; }
.front-intro { position: fixed; z-index: 1100; inset: 0; min-height: 100dvh; overflow: hidden; color: white; background: #05080a; opacity: 0; visibility: hidden; pointer-events: none; }
.onboarding-pending .front-intro { opacity: 1; visibility: visible; pointer-events: auto; }
.front-intro.is-leaving { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .8s ease, visibility .8s ease; }
.intro-media, .intro-gate { position: absolute; inset: 0; display: grid; place-items: center; }
.intro-media { z-index: 1; background: #030506; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 1.1s ease, visibility 1.1s ease; }
.intro-media.is-active { z-index: 3; opacity: 1; visibility: visible; pointer-events: auto; }
.intro-media.is-leaving { opacity: 0; visibility: hidden; pointer-events: none; }
.voice-greeting { position: absolute; z-index: 5; inset: 0; background: #000; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .7s ease, visibility .7s ease; }
.voice-greeting.is-active { opacity: 1; visibility: visible; }
.voice-greeting.is-leaving { opacity: 0; visibility: hidden; }
.intro-media video { width: 100%; height: 100%; display: block; object-fit: cover; background: #000; }
.intro-tap { position: absolute; z-index: 7; left: 50%; top: 50%; margin: 0; min-height: 54px; padding: 0 28px; color: #101a23; background: #d7a74b; border: 1px solid #f5e6b8; border-radius: 999px; box-shadow: 0 16px 60px rgba(0,0,0,.55); font: inherit; font-size: 16px; font-weight: 800; letter-spacing: .03em; opacity: 0; transform: translate(-50%, calc(-50% + 8px)); pointer-events: none; transition: .35s ease; white-space: nowrap; }
.intro-media.autoplay-blocked { cursor: pointer; }
.intro-media.autoplay-blocked .intro-tap { opacity: 1; transform: translate(-50%, -50%); pointer-events: auto; }
.intro-video-error { position: absolute; z-index: 6; width: min(360px, calc(100% - 42px)); padding: 24px; color: white; background: rgba(8,13,17,.94); border: 1px solid rgba(215,167,75,.45); border-radius: 18px; text-align: center; }
.intro-video-error[hidden] { display: none; }
.intro-video-error button { min-height: 44px; padding: 0 20px; color: #101a23; background: #d7a74b; border: 0; border-radius: 999px; font-weight: 800; }
.welcome-crawl { position: absolute; top: 84%; width: min(880px, calc(100% - 42px)); padding: 0 clamp(20px, 7vw, 74px) 32vh; color: #f5f0e5; animation: welcome-cinema-scroll var(--welcome-duration, 30s) linear forwards; animation-play-state: paused; }
.intro-media.is-active .welcome-crawl { animation-play-state: running; }
.welcome-crawl-content { font: 500 clamp(18px, 3vw, 30px)/1.65 Georgia, serif; text-align: center; text-wrap: balance; }
.welcome-crawl-content h1, .welcome-crawl-content h2, .welcome-crawl-content h3 { color: #d7a74b; font-family: Georgia, serif; }
.welcome-crawl-content p { margin: 0 0 1.25em; }
.welcome-crawl-content ul, .welcome-crawl-content ol { width: fit-content; margin: 1em auto; text-align: left; }
.intro-media::before, .intro-media::after { content: ""; position: absolute; z-index: 4; left: 0; right: 0; height: 18vh; pointer-events: none; }
.intro-media::before { top: 0; background: linear-gradient(#030506 18%, transparent); }
.intro-media::after { bottom: 0; background: linear-gradient(transparent, #030506 82%); }
.intro-gate { z-index: 1; overflow: hidden; background: radial-gradient(circle at 50% 43%, rgba(177,154,84,.16), transparent 31rem), var(--intro-color, #0b141b); opacity: 0; visibility: hidden; pointer-events: none; transform: scale(1.025); transition: opacity 1.15s ease, visibility 1.15s ease, transform 1.15s ease; }
.intro-gate.is-active { z-index: 3; opacity: 1; transform: scale(1); }
.intro-gate.is-active { visibility: visible; pointer-events: auto; }
.intro-gate.is-leaving { opacity: 0; visibility: hidden; pointer-events: none; transform: scale(.99); }
.front-intro.is-dormant { display: none; }
.intro-gate-content { position: relative; z-index: 2; width: 100%; height: 100%; }
.intro-static-logo { position: absolute; top: calc(50% - 26px); left: 50%; width: min(78vw, 560px); max-height: 62vh; display: block; border: 0; transform: translate(-50%,-50%); }
.intro-static-logo svg { width: 100%; height: auto; max-height: 62vh; display: block; overflow: visible; }
.intro-actions { position: absolute; z-index: 3; right: 18px; bottom: max(18px, env(safe-area-inset-bottom)); left: 18px; display: grid; justify-items: center; }
.intro-start { min-width: min(270px, 76vw); min-height: 56px; margin-top: 14px; padding: 0 28px; color: var(--intro-button-color, #101a23); background: var(--intro-button-bg, #d7a74b); border: 2px solid var(--intro-button-border, #f5e6b8); border-radius: 999px; box-shadow: 0 14px 38px rgba(0,0,0,.25); font-size: 16px; font-weight: 850; letter-spacing: .04em; }
.intro-start:focus-visible { outline: 2px solid rgba(255,255,255,.65); outline-offset: 4px; }
.intro-start:disabled { opacity: .45; cursor: default; }
.legal-check { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.88); font-size: 14px; }
.legal-check input { width: 20px; height: 20px; margin: 0; accent-color: #d7a74b; }
.legal-check button { padding: 0; color: #f0cf82; background: transparent; border: 0; font-size: 14px; text-decoration: underline; }
.legal-modal { position: absolute; z-index: 10; inset: 0; padding: max(70px, env(safe-area-inset-top)) 22px max(34px, env(safe-area-inset-bottom)); overflow: auto; color: #f5f0e5; background: rgba(4,8,11,.98); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s ease, visibility .3s ease; }
.legal-modal.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.legal-modal article { width: min(760px, 100%); margin: 0 auto; font: 16px/1.7 Inter, sans-serif; }
.legal-modal h1, .legal-modal h2, .legal-modal h3 { color: #d7a74b; font-family: Georgia, serif; }
.legal-close { position: fixed; top: max(18px, env(safe-area-inset-top)); right: max(18px, env(safe-area-inset-right)); width: 42px; height: 42px; color: white; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 50%; font-size: 28px; }
.intro-brand { margin: 12px 0 0; color: rgba(246,240,223,.58); font:  14px/1.4 Georgia, serif; letter-spacing: .1em; }
@keyframes welcome-cinema-scroll { from { transform: translateY(0); } to { transform: translateY(calc(-100% - 100vh)); } }
.app-splash { position: fixed; z-index: 1200; inset: 0; min-height: 100dvh; display: grid; place-items: center; overflow: hidden; color: #f6f0df; background: radial-gradient(circle at 50% 43%, rgba(177,154,84,.16), transparent 31rem), var(--splash-color, #0b141b); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .7s ease, visibility .7s ease; }
.splash-pending .app-splash { opacity: 1; visibility: visible; pointer-events: auto; }
.splash-background { position: absolute; inset: 0; background-position: center; background-size: cover; opacity: .38; mix-blend-mode: luminosity; }
.app-splash::before, .app-splash::after { content: ""; position: absolute; width: min(78vw, 760px); aspect-ratio: 1; border: 1px solid rgba(177,154,84,.14); border-radius: 50%; }
.app-splash::before { right: -30vw; bottom: -48vw; box-shadow: 0 0 0 70px rgba(177,154,84,.025), 0 0 0 150px rgba(177,154,84,.018); }
.app-splash::after { left: -46vw; top: -62vw; opacity: .5; }
.splash-pending .app-splash.is-leaving { opacity: 0; visibility: hidden; pointer-events: none; }
.splash-glow { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.025) 50%, transparent 65%); transform: translateX(-100%); animation: splash-shimmer 3.8s ease-in-out .4s both; }
.splash-stage { position: relative; z-index: 1; width: min(78vw, 560px); display: grid; justify-items: center; }
.splash-logo { width: 100%; max-height: 62vh; display: block; border: 0; }
.splash-logo svg { width: 100%; height: auto; max-height: 62vh; display: block; overflow: visible; }
.splash-kicker { margin: clamp(14px, 3vh, 28px) 0 0; color: rgba(246,240,223,.68); font-family: Georgia, serif; font-size: clamp(14px, 1.7vw, 15px); letter-spacing: .12em; text-align: center; opacity: 0; animation: splash-kicker-in .8s ease 3.3s forwards; }
.splash-progress { width: min(230px, 60vw); height: 1px; margin-top: 22px; overflow: hidden; background: rgba(177,154,84,.18); }
.splash-progress i { display: block; width: 100%; height: 100%; background: #b19a54; transform: translateX(-100%); animation: splash-progress 4.25s cubic-bezier(.22,.61,.36,1) forwards; }
.splash-skip { position: absolute; z-index: 2; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); padding: 9px 12px; color: rgba(255,255,255,.55); background: transparent; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; font-size: 14px; letter-spacing: .05em; transition: color .2s ease, border-color .2s ease; }
.splash-skip:hover, .splash-skip:focus-visible { color: white; border-color: rgba(177,154,84,.65); outline: none; }
@keyframes splash-shimmer { 0% { transform: translateX(-100%); } 70%, 100% { transform: translateX(100%); } }
@keyframes splash-kicker-in { to { opacity: 1; transform: translateY(0); } from { opacity: 0; transform: translateY(8px); } }
@keyframes splash-progress { to { transform: translateX(0); } }
.loading-screen { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 18px; color: var(--muted); }
.brand-mark { width: 62px; height: 62px; display: grid; place-items: center; color: var(--paper); background: var(--navy); border-radius: 20px; font: 800 19px/1 Georgia, serif; letter-spacing: .08em; box-shadow: var(--shadow); }

.topbar { position: sticky; top: 0; z-index: 20; height: 72px; padding: 0 clamp(18px, 4vw, 54px); display: flex; align-items: center; justify-content: space-between; gap: 18px; color: #f8f5ee; background: rgba(16,26,35,.96); border-bottom: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(16px); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand .brand-mark { width: 40px; height: 40px; border-radius: 13px; background: #f5f0e5; color: var(--navy); box-shadow: none; font-size: 14px; }
.brand-copy strong { display: block; font-family: Georgia, serif; font-size: 17px; letter-spacing: .04em; }
.brand-copy span { display: block; margin-top: 2px; color: #aab4bb; font-size: 14px; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.mode-chip { padding: 7px 10px; color: #d6dde1; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); border-radius: 999px; font-size: 14px; }

.page { width: min(1220px, calc(100% - 32px)); margin: 0 auto; padding: 34px 0 74px; }
.hero { position: relative; min-height: 274px; padding: clamp(28px, 5vw, 58px); overflow: hidden; color: white; background: linear-gradient(120deg, rgba(15,26,35,.97), rgba(29,49,62,.92)), radial-gradient(circle at 80% 50%, #776033, transparent 40%); border-radius: 28px; box-shadow: var(--shadow); }
.hero::after { content: ""; position: absolute; right: -70px; bottom: -145px; width: 420px; height: 420px; border: 1px solid rgba(215,167,75,.3); border-radius: 50%; box-shadow: 0 0 0 42px rgba(215,167,75,.05), 0 0 0 94px rgba(215,167,75,.035); }
.hero > * { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 12px; color: var(--gold); font-size: 14px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { max-width: 740px; margin: 0; font: 700 clamp(34px, 6vw, 68px)/.98 Georgia, serif; letter-spacing: -.035em; }
.hero-copy { max-width: 680px; margin: 22px 0 0; color: #d7dde1; font-size: 16px; line-height: 1.6; }
.intro-video { width: min(680px, 100%); margin-top: 22px; overflow: hidden; background: #080d11; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; aspect-ratio: 16 / 9; }
.intro-video iframe, .intro-video video { width: 100%; height: 100%; display: block; border: 0; object-fit: contain; }
.intro-video-link { margin-top: 20px; }
.asset-preview-slot { min-height: 0; margin-top: 12px; }
.asset-thumb { position: relative; width: min(190px, 100%); aspect-ratio: 16 / 10; display: block; overflow: hidden; padding: 0; color: white; background: #091016; border: 1px solid rgba(20,32,42,.18); border-radius: 14px; box-shadow: 0 10px 28px rgba(20,32,42,.12); text-align: left; }
.asset-thumb img, .asset-thumb video { width: 100%; height: 100%; display: block; object-fit: cover; pointer-events: none; }
.asset-thumb > span:last-child { position: absolute; right: 0; bottom: 0; left: 0; padding: 22px 9px 8px; overflow: hidden; background: linear-gradient(transparent, rgba(0,0,0,.84)); font-size: 14px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.asset-play { position: absolute; top: 50%; left: 50%; width: 38px; height: 38px; display: grid; place-items: center; padding-left: 2px; background: rgba(215,167,75,.92); border-radius: 50%; transform: translate(-50%,-50%); }
.avatar-button { padding: 0; border: 0; }
.asset-modal { position: fixed; z-index: 3000; inset: 0; display: grid; place-items: center; padding: max(58px, env(safe-area-inset-top)) 0 max(10px, env(safe-area-inset-bottom)); color: white; background: rgba(3,7,10,.97); backdrop-filter: blur(14px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s ease, visibility .25s ease; }
.asset-modal.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.asset-modal-card { width: 100%; height: calc(100dvh - max(68px, env(safe-area-inset-top)) - max(10px, env(safe-area-inset-bottom))); display: grid; grid-template-rows: auto minmax(0,1fr); gap: 10px; }
.asset-modal-card h2 { max-width: calc(100% - 120px); margin: 0 auto; overflow: hidden; color: #f5e6b8; font: 700 clamp(18px,4vw,28px)/1.1 Georgia,serif; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.asset-modal-media { min-height: 0; display: grid; place-items: center; overflow: hidden; }
.asset-modal-media video { max-width: calc(100% - 24px); max-height: 100%; display: block; object-fit: contain; border-radius: 14px; box-shadow: 0 24px 80px rgba(0,0,0,.5); }
.asset-zoom-viewport { position: relative; width: 100%; height: 100%; overflow: hidden; display: grid; place-items: center; touch-action: none; user-select: none; cursor: grab; }
.asset-zoom-viewport:active { cursor: grabbing; }
.asset-zoom-image { width: auto; max-width: none; height: 100%; max-height: none; margin: auto; display: block; object-fit: contain; object-position: center center; transform-origin: center center; will-change: transform; box-shadow: 0 24px 80px rgba(0,0,0,.5); }
.asset-modal.fit-width .asset-zoom-image { width: 100%; height: auto; max-height: 100%; object-fit: contain; }
.asset-zoom-help { position: absolute; z-index: 2; bottom: max(12px, env(safe-area-inset-bottom)); left: 50%; padding: 8px 12px; color: #f3ead6; background: rgba(3,7,10,.72); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; font-size: 14px; white-space: nowrap; transform: translateX(-50%); pointer-events: none; }
.asset-modal-close { position: fixed; z-index: 2; top: max(18px, env(safe-area-inset-top)); right: max(18px, env(safe-area-inset-right)); width: 46px; height: 46px; display: grid; place-items: center; padding: 0; color: white; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.2); border-radius: 50%; font-size: 30px; }
.event-facts { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.fact { padding: 10px 13px; display: flex; align-items: center; gap: 8px; color: #e9ecee; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; font-size: 14px; }

.nav-tabs { position: sticky; top: 72px; z-index: 15; margin: 22px 0; padding: 7px; display: flex; gap: 5px; overflow-x: auto; background: rgba(244,241,234,.9); border: 1px solid var(--line); border-radius: 16px; backdrop-filter: blur(14px); }
.tab { min-height: 42px; padding: 0 16px; white-space: nowrap; color: var(--muted); background: transparent; border: 0; border-radius: 11px; font-size: 15px; font-weight: 700; }
.tab.active { color: white; background: var(--navy); }
.nav-config-select { position: relative; min-width: 112px; min-height: 42px; padding: 0 13px 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--muted); background: rgba(255,255,255,.48); border: 1px solid rgba(27,37,43,.09); border-radius: 11px; font-size: 15px; font-weight: 800; white-space: nowrap; cursor: pointer; }
.nav-config-select span { display: flex; align-items: center; gap: 7px; pointer-events: none; }
.nav-config-select span small { max-width: 92px; overflow: hidden; color: #81909a; font-size: 14px; font-weight: 750; text-overflow: ellipsis; }
.nav-config-select i { font-style: normal; font-size: 15px; pointer-events: none; }
.nav-config-select select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.nav-config-select.active { color: white; background: var(--navy); border-color: var(--navy); }
.nav-config-select.active span small { color: #d7b96f; }
.tab-panel[hidden] { display: none; }

.section-head { margin: 34px 0 17px; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.section-head h2 { margin: 0; font: 700 28px/1.1 Georgia, serif; }
.section-head p { margin: 7px 0 0; color: var(--muted); font-size: 14px; }
.grid { display: grid; gap: 16px; }
.grid > * { min-width: 0; }
.metrics { grid-template-columns: repeat(4, 1fr); }
.two-col { grid-template-columns: minmax(0, 1.35fr) minmax(290px, .65fr); }
.three-col { grid-template-columns: repeat(3, 1fr); }
.card { padding: 22px; background: var(--card); border: 1px solid rgba(255,255,255,.75); border-radius: 20px; box-shadow: 0 9px 28px rgba(27,37,43,.06); }
.metric { min-height: 122px; }
.metric-label { color: var(--muted); font-size: 14px; font-weight: 700; }
.metric strong { display: block; margin-top: 16px; font: 700 34px/1 Georgia, serif; }
.metric small { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; }
.progress { height: 7px; margin-top: 17px; overflow: hidden; background: #e6e2d9; border-radius: 99px; }
.progress i { display: block; width: var(--progress, 0%); height: 100%; background: var(--gold); border-radius: inherit; }

.database-updates { margin-top: 34px; }
.database-updates .section-head { margin-bottom: 14px; }
.environment-badge { flex: 0 0 auto; padding: 8px 12px; color: #255f49; background: var(--green-soft); border: 1px solid rgba(47,118,90,.22); border-radius: 999px; font-size: 14px; font-weight: 900; letter-spacing: .08em; }
.database-updates.is-production .environment-badge { color: #8b292d; background: var(--red-soft); border-color: rgba(164,72,69,.26); }
.database-status-card { padding: 0; overflow: hidden; }
.database-status-head { padding: 18px 22px; display: grid; grid-template-columns: 1fr auto; gap: 20px; color: white; background: var(--navy); }
.database-status-head > div { min-width: 0; display: grid; gap: 5px; }
.database-status-head span { color: #aeb8bf; font-size: 14px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.database-status-head strong { overflow-wrap: anywhere; font-size: 15px; }
.database-status-head > div:last-child { text-align: right; }
.database-production-warning { margin: 0; padding: 13px 22px; color: #7e2c30; background: #fff2f1; border-bottom: 1px solid #f0d2cf; font-size: 14px; line-height: 1.5; }
.database-migration-list { display: grid; }
.database-migration-item { padding: 19px 22px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); }
.database-migration-item h3 { margin: 9px 0 6px; }
.database-migration-item p { max-width: 850px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.database-migration-item small { display: block; margin-top: 9px; color: #89939a; font:  14px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.database-migration-item .button { white-space: nowrap; }
.database-check { width: 38px; height: 38px; display: grid; place-items: center; color: var(--green); background: var(--green-soft); border-radius: 50%; font-size: 20px; font-weight: 900; }
.database-backups > summary { padding: 15px 22px; display: flex; align-items: center; justify-content: space-between; gap: 15px; color: var(--blue); font-size: 14px; font-weight: 850; cursor: pointer; list-style: none; }
.database-backups > summary::-webkit-details-marker { display: none; }
.database-backups > summary span { min-width: 25px; padding: 4px 7px; color: var(--muted); background: #eef0ef; border-radius: 999px; text-align: center; }
.database-backups > div { padding: 0 22px 14px; }
.database-backups p { margin: 0; padding: 9px 0; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); font-size: 14px; }
.database-backups p strong { overflow-wrap: anywhere; }
.database-backups p span { flex: 0 0 auto; color: var(--muted); }

.status { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 999px; font-size: 14px; font-weight: 800; letter-spacing: .03em; }
.status::before { content: ""; width: 6px; height: 6px; background: currentColor; border-radius: 50%; }
.status.confirmed, .status.complete, .status.paid, .status.ready { color: var(--green); background: var(--green-soft); }
.status.pending, .status.maybe, .status.started, .status.queued { color: #896a27; background: var(--gold-soft); }
.status.declined, .status.failed { color: var(--red); background: var(--red-soft); }
.status.waiting_role, .status.waiting_photo { color: var(--blue); background: #dceaf0; }

.list { display: grid; gap: 10px; }
.guest-row { padding: 14px; display: grid; grid-template-columns: minmax(180px, 1.1fr) repeat(3, minmax(100px, .5fr)) auto; align-items: center; gap: 12px; background: white; border: 1px solid var(--line); border-radius: 15px; }
.identity { display: flex; align-items: center; gap: 11px; min-width: 0; }
.avatar { width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; color: white; background: linear-gradient(135deg, var(--navy-2), #526977); border-radius: 13px; font-weight: 800; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.identity strong, .identity small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.identity small { margin-top: 4px; color: var(--muted); font-size: 14px; }
.row-label { display: block; margin-bottom: 5px; color: var(--muted); font-size: 14px; text-transform: uppercase; letter-spacing: .08em; }
.row-actions { display: flex; justify-content: flex-end; gap: 7px; }
.guest-deadline-form, .guest-add-form { margin-top: 20px; }
.guest-deadline-form .form-grid { max-width: 640px; }
.guest-deadline-form .field-note { margin: -4px 0 18px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.guest-setup-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 14px; }
.location-manager { margin:14px 0 24px; overflow:hidden; }
.location-manager > summary { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:20px 22px; cursor:pointer; list-style:none; }
.location-manager > summary::-webkit-details-marker,.location-card > summary::-webkit-details-marker,.location-new > summary::-webkit-details-marker { display:none; }
.location-manager > summary span { display:grid; gap:4px; }
.location-manager > summary strong { font-family:Georgia,serif; font-size:1.45rem; }
.location-manager > summary small { color:var(--muted); font-size:.94rem; }
.location-manager-body { border-top:1px solid var(--line); padding:18px; background:#f7f4ed; }
.location-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.location-card,.location-new { background:#fff; border:1px solid #ded9cf; border-radius:18px; overflow:hidden; }
.location-card > summary { min-width:0; display:grid; grid-template-columns:52px minmax(0,1fr) auto auto; align-items:center; gap:12px; padding:12px; cursor:pointer; list-style:none; }
.location-card > summary img,.location-placeholder { width:52px; height:52px; border-radius:12px; object-fit:cover; background:#172630; color:#e6bc65; display:grid; place-items:center; font-size:1.6rem; }
.location-card-title { min-width:0; display:grid; gap:3px; }
.location-card-title strong,.location-card-title small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.location-card-title strong { font-size:1.05rem; }
.location-card-title small { color:var(--muted); font-size:.88rem; }
.location-capacity { padding:7px 10px; border-radius:999px; color:#26745d; background:#dcefe7; font-weight:800; white-space:nowrap; }
.location-capacity.is-full { color:#98384b; background:#f7dfe3; }
.location-card-body { border-top:1px solid #e4dfd5; padding:16px; }
.location-occupancy { margin-bottom:16px; }
.location-occupancy > div { height:7px; overflow:hidden; border-radius:999px; background:#e8e4db; }
.location-occupancy > div span { display:block; height:100%; border-radius:inherit; background:#d7a74b; }
.location-occupancy p { margin:8px 0 0; color:#5e6b75; font-size:.92rem; line-height:1.45; overflow-wrap:anywhere; }
.location-photo-field { display:flex; flex-wrap:wrap; align-items:center; gap:12px; }
.location-photo-preview { display:flex; align-items:center; gap:10px; border:1px solid #d9d5cc; border-radius:12px; padding:7px; background:#fff; color:#172630; font-weight:700; }
.location-photo-preview img { width:54px; height:46px; object-fit:cover; border-radius:8px; }
.location-new { margin-top:14px; }
.location-new > summary { cursor:pointer; list-style:none; padding:15px 18px; color:#172630; font-size:1rem; font-weight:900; }
.location-new form { padding:0 18px 18px; }
.guest-setup-panel { min-width: 0; padding: 0; overflow: hidden; }
.guest-setup-panel > summary { min-height: 78px; padding: 16px 19px; display: flex; align-items: center; justify-content: space-between; gap: 14px; list-style: none; cursor: pointer; }
.guest-setup-panel > summary::-webkit-details-marker { display: none; }
.guest-setup-panel > summary::marker { display: none; content: ''; }
.guest-setup-panel > summary span { min-width: 0; display: grid; gap: 5px; }
.guest-setup-panel > summary strong { color: var(--navy); font: 700 18px/1.15 Georgia,serif; }
.guest-setup-panel > summary small { overflow: hidden; color: var(--muted); font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.guest-setup-panel > summary i { color: var(--blue); font-size: 22px; font-style: normal; transition: transform .18s ease; }
.guest-setup-panel[open] > summary { background: #f8f6f0; border-bottom: 1px solid var(--line); }
.guest-setup-panel[open] > summary i { transform: rotate(180deg); }
.guest-setup-body { padding: 18px; }
.guest-setup-body .form-actions { margin-top: 14px; }
.guest-add-form .form-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.guest-add-form .field.full { grid-column: auto; }
.guest-add-form .guest-form-subhead.field.full { grid-column: 1 / -1; }
.guest-form-subhead { margin-top: 4px; padding-top: 14px; color: var(--navy); border-top: 1px solid var(--line); font-size: 14px; font-weight: 800; }
.guest-form-subhead small { font-weight: 400; }
.guest-list-head { margin: 32px 0 16px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.guest-list-head h3 { margin: 0; color: var(--navy); font: 700 22px/1.2 Georgia, serif; }
.guest-list-head span { color: var(--muted); font-size: 14px; }
.guest-admin-list { gap: 18px; }
.guest-admin-list > .card { min-width: 0; padding: 20px; }
.guest-admin-list .guest-row { min-width: 0; padding: 0; grid-template-columns: minmax(210px, 1.4fr) repeat(3, minmax(100px, .45fr)); gap: 18px; border: 0; border-radius: 0; background: transparent; }
.guest-admin-list .row-actions { grid-column: 1 / -1; padding-top: 16px; justify-content: flex-start; flex-wrap: wrap; border-top: 1px solid var(--line); }
.guest-admin-list .row-actions [data-action="reset-onboarding"] { margin-left: auto; }
.guest-admin-list .identity small.guest-location-summary { color: #926b2b; font-weight: 800; }
.guest-editor { margin-top: 17px; border-top: 1px solid var(--line); }
.guest-editor summary { padding: 15px 0 0; color: var(--blue); font-size: 14px; font-weight: 800; cursor: pointer; }
.guest-editor[open] summary { margin-bottom: 18px; }
.guest-editor .form-grid { padding-top: 1px; }
.guest-greeting-control { padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(248,248,246,.72); }
.guest-greeting-control audio { width: 100%; max-width: 520px; }
.guest-greeting-control > label { display: grid; gap: 7px; color: var(--muted); font-size: 14px; font-weight: 700; }
.guest-greeting-control .greeting-remove { min-height: 32px; display: flex; align-items: center; gap: 9px; color: var(--ink); font-size: 14px; }
.guest-greeting-control .greeting-remove input { width: 18px; min-height: 18px; margin: 0; }
.greeting-empty { color: var(--muted); font-size: 14px; }
.guest-directory-tools { position: sticky; z-index: 12; top: 140px; margin-bottom: 10px; padding: 12px; display: grid; grid-template-columns: minmax(260px,1fr) minmax(150px,.42fr) minmax(180px,.5fr) auto; align-items: end; gap: 9px; box-shadow: 0 9px 28px rgba(23,34,41,.09); }
.guest-directory-tools label { min-width: 0; display: grid; gap: 5px; color: var(--muted); font-size: 14px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.guest-directory-tools input,.guest-directory-tools select { width: 100%; min-width: 0; min-height: 42px; padding: 8px 11px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; }
.guest-directory-tools > button { min-height: 42px; }
.guest-admin-list { gap: 5px; }
.guest-compact-card { min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 3px 11px rgba(23,34,41,.035); }
.guest-compact-card[hidden] { display: none; }
.guest-compact-card .guest-editor { margin: 0; border: 0; }
.guest-compact-card .guest-editor > summary.guest-compact-summary { min-height: 62px; padding: 8px 12px; display: grid; grid-template-columns: minmax(180px,1fr) auto auto 72px; align-items: center; gap: 11px; color: inherit; list-style: none; cursor: pointer; }
.guest-compact-summary::-webkit-details-marker { display: none; }
.guest-compact-summary::marker { display: none; content: ''; }
.guest-compact-card details[open] > .guest-compact-summary { margin: 0; background: #f8f6f0; border-bottom: 1px solid var(--line); }
.guest-compact-summary .identity { min-width: 0; }
.guest-compact-summary .avatar { width: 38px; height: 38px; border-radius: 10px; }
.guest-compact-summary .identity strong { font-size: 14px; }
.guest-compact-summary .identity small { margin-top: 2px; font-size: 14px; }
.guest-compact-actions { display: flex; align-items: center; gap: 5px; }
.guest-compact-actions button { min-height: 30px; padding: 0 8px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; font-weight: 800; cursor: pointer; }
.guest-compact-actions button:nth-child(3) { color: #fff; background: var(--navy); border-color: var(--navy); }
.guest-compact-actions button:hover { border-color: var(--gold); }
.guest-compact-actions button:disabled { opacity: .38; cursor: not-allowed; }
.guest-compact-actions button.is-delete { color: #9f2929; background: #fff4f2; border-color: #e7b9b3; }
.guest-compact-actions button.is-delete:hover { color: #fff; background: #a93232; border-color: #a93232; }
.guest-compact-statuses { display: flex; align-items: center; justify-content: flex-end; gap: 5px; }
.guest-compact-statuses .status { padding: 5px 7px; font-size: 14px; white-space: nowrap; }
.guest-compact-statuses .status::before { width: 5px; height: 5px; }
.guest-compact-open { display: flex; align-items: center; justify-content: flex-end; gap: 7px; color: var(--blue); font-size: 14px; font-weight: 900; letter-spacing: .06em; }
.guest-compact-open i { font-size: 18px; font-style: normal; transition: transform .18s ease; }
.guest-compact-card details[open] .guest-compact-open i { transform: rotate(180deg); }
.guest-editor-body { padding: 15px; }
.guest-quick-actions { margin-bottom: 16px; padding-bottom: 13px; display: flex; flex-wrap: wrap; gap: 7px; border-bottom: 1px solid var(--line); }
.guest-danger-zone { margin-top: 18px; padding: 13px; display: grid; grid-template-columns: minmax(190px,1fr) minmax(230px,1fr) auto; align-items: end; gap: 12px; background: #fff7f6; border: 1px solid #efd1cd; border-radius: 12px; }
.guest-danger-zone > div,.guest-danger-zone > label { min-width: 0; display: grid; gap: 4px; }
.guest-danger-zone strong { color: #842237; font-size: 14px; }
.guest-danger-zone small { color: #886d70; font-size: 14px; line-height: 1.4; }
.guest-danger-zone label { color: #6f5458; font-size: 14px; font-weight: 800; }
.guest-danger-zone select { width: 100%; min-width: 0; min-height: 40px; padding: 7px 9px; color: var(--ink); background: #fff; border: 1px solid #d8b6b3; border-radius: 9px; }
.button.danger { color: #fff; background: #842237; border-color: #a93148; }
.button.danger:hover { background: #6f172b; }
.guest-filter-empty { margin-top: 8px; }

.button { min-height: 42px; padding: 0 15px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: white; background: var(--navy); border: 1px solid var(--navy); border-radius: 12px; font-size: 14px; font-weight: 800; text-decoration: none; }
.button:hover { transform: translateY(-1px); }
.button.gold { color: var(--navy); background: var(--gold); border-color: var(--gold); }
.button.ghost { color: var(--ink); background: white; border-color: var(--line); }
.button.light { color: white; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); }
.button.small { min-height: 36px; padding: 0 11px; border-radius: 9px; font-size: 14px; }
.button:disabled { opacity: .45; cursor: not-allowed; transform: none; }

.form-card h3, .card h3 { margin: 0 0 16px; font: 700 19px/1.2 Georgia, serif; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; min-width: 0; }
.field { display: grid; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--muted); font-size: 14px; font-weight: 700; }
.field small { color: var(--muted); font-size: 14px; line-height: 1.4; }
.field input, .field textarea, .field select { width: 100%; min-width: 0; min-height: 44px; padding: 10px 12px; color: var(--ink); background: rgba(248,248,246,.94); border: 1px solid var(--line); border-radius: 11px; outline: none; }
.field textarea { min-height: 92px; resize: vertical; }
.field textarea.code-area { min-height: 190px; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 14px; line-height: 1.5; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(215,167,75,.18); }
.option-field label { min-height: 44px; display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 14px; }
.option-field input, .splash-screens input { width: 18px; min-height: 18px; margin: 0; padding: 0; }
.splash-screens { margin: 0; padding: 15px; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 12px; }
.splash-screens legend { padding: 0 6px; color: var(--muted); font-size: 14px; font-weight: 700; }
.splash-screens label { display: flex; align-items: center; gap: 9px; color: var(--ink); font-size: 14px; }
.form-actions { margin-top: 15px; display: flex; flex-wrap: wrap; gap: 9px; }

.timeline { display: grid; gap: 12px; }
.agenda-card { padding: 18px; display: grid; grid-template-columns: 82px minmax(0, 1fr) auto; gap: 16px; align-items: start; background: white; border: 1px solid var(--line); border-radius: 17px; }
.agenda-time { color: var(--navy); font: 700 16px/1.2 Georgia, serif; }
.agenda-time-end { display: block; }
.agenda-time small { display: block; margin-top: 5px; color: var(--muted); font: 500  14px/1.2 Inter, sans-serif; }
.agenda-admin-actions { display: grid; justify-items: end; }
.agenda-admin-actions .button { margin-top: 10px; }
.agenda-edit-form { grid-column: 1 / -1; margin-top: 5px; padding-top: 16px; border-top: 1px solid var(--line); }
.agenda-edit-form h4 { margin: 0; color: var(--navy); font: 700 17px/1.2 Georgia, serif; }
.agenda-edit-form .form-actions { margin-top: 0; }
.agenda-chain-warning { margin-bottom: 16px; padding: 14px 16px; color: #6b251f; background: #f7e3d7; border: 1px solid #dfb99b; border-radius: 12px; font-size: 14px; line-height: 1.5; }
.agenda-card h3 { margin: 0 0 5px; font-size: 15px; }
.agenda-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.vote-group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.vote { min-width: 0; min-height: 80px; padding: 8px 5px; display: grid; place-content: center; justify-items: center; gap: 5px; border: 1px solid currentColor; border-radius: 11px; }
.vote svg { width: 38px; height: 38px; display: block; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.vote svg .face-eye { fill: currentColor; stroke: none; }
.vote strong { font-size: clamp(14px, 3.1vw, 13px); letter-spacing: .025em; }
.vote.positive { color: #2c805d; background: #e4f2e8; }
.vote.negative { color: #b23d47; background: #f8e5e5; }
.vote.positive.active { color: #fff; background: #2c805d; border-color: #2c805d; box-shadow: 0 0 0 2px rgba(44,128,93,.22); }
.vote.negative.active { color: #fff; background: #b23d47; border-color: #b23d47; box-shadow: 0 0 0 2px rgba(178,61,71,.22); }

.expense-row { padding: 13px 0; display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.expense-row:last-child { border-bottom: 0; }
.expense-row strong { font-size: 14px; }
.expense-row small { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; }
.expense-order-help { margin: -7px 0 18px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.expense-admin-list { display: grid; gap: 10px; }
.expense-admin-item { min-width: 0; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.expense-admin-item.is-hidden { background: #f7f7f5; border-style: dashed; }
.expense-admin-item.is-hidden .expense-row { opacity: .65; }
.expense-admin-item .expense-row { padding: 0 0 12px; align-items: flex-start; }
.expense-admin-item .expense-row > span:first-child { min-width: 0; }
.expense-admin-item .expense-row strong { overflow-wrap: anywhere; }
.expense-admin-item .expense-row .money { flex: 0 0 auto; }
.expense-admin-actions { padding-top: 12px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.expense-admin-actions > div { display: flex; flex-wrap: wrap; gap: 6px; }
.expense-visibility-toggle { min-height: 34px; padding: 7px 11px; color: #7d4c45; background: #fff4f0; border: 1px solid #e0b8ad; border-radius: 9px; font-size: 14px; font-weight: 800; cursor: pointer; }
.expense-visibility-toggle.is-visible { color: #245a42; background: #eef8f1; border-color: #b7d8c4; }
.expense-visibility-toggle:disabled { opacity: .5; cursor: wait; }
.expense-total-control { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.expense-total-control > div { display: grid; gap: 4px; }
.expense-total-control strong { color: var(--navy); }
.expense-total-control small { color: var(--muted); line-height: 1.4; }
.expense-edit-form { margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--line); }
.expense-edit-form h4 { margin: 0; color: var(--navy); font: 700 17px/1.2 Georgia, serif; }
.expense-edit-form .form-actions { margin-top: 0; }
.money { font: 700 16px/1 Georgia, serif; }
.form-intro { margin: -3px 0 20px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.api-key-field { padding: 15px; background: #f8f6f1; border: 1px solid var(--line); border-radius: 13px; }
.api-key-status { margin: 7px 0 11px; display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.api-key-status small { color: var(--muted); }
.api-remove-key { margin-top: 9px; display: inline-flex; align-items: center; gap: 7px; color: #7d4c45; font-size: 14px; font-weight: 750; }

.guest-page { width: min(760px, calc(100% - 28px)); margin: 0 auto; padding: 22px 0 70px; }
.invitation-screen { width: min(100%, 540px); min-height: 100dvh; margin: 0 auto; display: grid; grid-template-rows: minmax(285px, 38dvh) minmax(0, 1fr); overflow: hidden; color: #f3eee2; background: #081016; box-shadow: 0 0 70px rgba(0,0,0,.45); }
.invitation-hero { min-height: 0; overflow: hidden; background: linear-gradient(180deg, transparent 62%, rgba(9,17,23,.18) 85%, #0d171d 100%), url('/assets/event-facade.webp') center/cover no-repeat; }
.guest-flow-kicker { margin: 0 0 9px; color: #e2b75f; font-size: 14px; font-weight: 800; letter-spacing: .16em; }
.invitation-actions { position: relative; z-index: 2; min-height: 0; margin-top: -1px; padding: 28px 18px max(18px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; background: linear-gradient(180deg, #0d171d 0%, #081016 100%); border-radius: 20px 20px 0 0; }
.invitation-copy { text-align: center; }
.invitation-copy h2 { margin: 0; color: #f4eee1; font: 700 clamp(35px, 9vw, 46px)/1.05 Georgia, serif; text-wrap: balance; }
.invitation-event-title { margin: 11px 0 0; color: #e9c77e; font: 700 20px/1.2 Georgia, serif; }
.invitation-event-dates { max-width: 430px; margin: 14px auto 0; color: #f0d08c; font: 800 clamp(20px, 5.5vw, 27px)/1.2 Georgia, serif; }
.invitation-confirm-by { margin: 9px 0 0; color: #e9c77e; font-size: 14px; font-weight: 750; }
.rsvp-choice-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.rsvp-choice { aspect-ratio: 1 / 1; min-width: 0; padding: 10px 4px; display: grid; align-content: center; justify-items: center; gap: 12px; color: #ece8de; background: #111b21; border: 1px solid #2a373e; border-radius: 12px; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.rsvp-choice span { width: 48px; height: 48px; display: grid; place-items: center; color: #e8d6ae; border: 1.5px solid #e8d6ae; border-radius: 50%; font: 400 31px/1 Georgia, serif; }
.rsvp-choice strong { font-size: clamp(14px, 3.4vw, 14px); letter-spacing: .025em; }
.rsvp-choice.is-selected { color: white; background: linear-gradient(145deg, #632029, #35151b); border-color: #d7a74b; box-shadow: 0 0 0 1px rgba(215,167,75,.18); transform: translateY(-2px); }
.rsvp-choice.is-selected span { color: #f4dfad; border-color: #f4dfad; }
.invitation-detail-buttons { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.invitation-detail-buttons button { min-width: 0; min-height: 68px; padding: 9px 7px; display: flex; align-items: center; justify-content: center; gap: 9px; color: #f1e9d9; background: #111b21; border: 1px solid #344149; border-radius: 11px; }
.invitation-detail-buttons button span { color: #e6bd6d; font: 700 25px/1 Georgia, serif; }
.invitation-detail-buttons button strong { font-size: clamp(14px, 3.3vw, 15px); line-height: 1.15; letter-spacing: .035em; }
.invitation-detail-buttons button:active { background: #1b2930; }
.invitation-detail-buttons.has-room { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.invitation-detail-buttons.has-room button { min-height: 92px; padding: 9px 4px; flex-direction: column; gap: 5px; }
.invitation-detail-buttons button svg { width: 32px; height: 32px; overflow: visible; fill: none; stroke: #e6bd6d; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.invitation-primary-links { order: initial; margin-top: 24px; }
.invitation-detail-buttons.has-room button strong { font-size: clamp(14px, 3.2vw, 14px); }
.invitation-detail-buttons.has-room button small { max-width: 100%; overflow: hidden; color: #e9c77e; font-size: 14px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.invitation-continue { width: 100%; min-height: 62px; margin-top: 28px; display: flex; align-items: center; justify-content: center; gap: 18px; color: #fff8ec; background: linear-gradient(90deg, #651b26, #7f2430); border: 1px solid #ad5360; border-radius: 11px; font-size: 16px; font-weight: 850; letter-spacing: .08em; }
.invitation-continue span { font-size: 27px; font-weight: 300; line-height: 1; }
.invitation-continue:disabled { opacity: .35; cursor: not-allowed; }
.invitation-brand { margin: auto 0 0; padding-top: 22px; color: #65747c; text-align: center; font-size: 14px; letter-spacing: .14em; }
.maybe-decision-screen { width: min(100%, 540px); min-height: 100dvh; margin: 0 auto; display: grid; grid-template-rows: minmax(250px, 35dvh) minmax(0, 1fr); overflow: hidden; color: #f3eee2; background: #081016; box-shadow: 0 0 70px rgba(0,0,0,.45); }
.maybe-decision-hero { position: relative; min-height: 0; padding: max(25px, env(safe-area-inset-top)) 22px 25px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; overflow: hidden; background: linear-gradient(180deg, rgba(5,10,14,.55), #0d171d), url('/assets/diamante-proximas-indicaciones.webp') center/cover; }
.maybe-decision-hero .splash-glow { opacity: .4; }
.maybe-decision-symbol { position: relative; z-index: 1; width: 120px; height: 120px; margin: auto; display: grid; place-items: center; color: #f0cb81; border: 2px solid #e1b767; border-radius: 50%; background: rgba(6,14,19,.56); box-shadow: 0 0 35px rgba(218,168,73,.22); font: 700 76px/1 Georgia, serif; }
.maybe-decision-hero .guest-flow-kicker { position: relative; z-index: 1; }
.maybe-decision-content { min-height: 0; padding: 31px 22px max(22px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: stretch; overflow-y: auto; background: linear-gradient(180deg, #0d171d, #081016); border-radius: 20px 20px 0 0; text-align: center; }
.maybe-decision-content h1 { margin: 0; font: 700 clamp(34px, 8vw, 46px)/1.05 Georgia, serif; }
.maybe-decision-content > p:not(.guest-flow-kicker):not(.invitation-brand) { color: #acb8bd; font-size: 16px; line-height: 1.5; }
.maybe-decision-deadline { margin: 24px 0 6px; padding: 23px 16px; display: grid; gap: 12px; border: 1px solid #ad8746; border-radius: 14px; background: #151e22; }
.maybe-decision-deadline span { color: #dcb76d; font-size: 14px; font-weight: 800; letter-spacing: .13em; }
.maybe-decision-deadline strong { color: #f7eee0; font: 700 clamp(23px, 6vw, 31px)/1.2 Georgia, serif; }
.maybe-decision-content .invitation-continue { margin-top: 27px; }

.invitation-detail-screen { width: min(100%, 540px); min-height: 100dvh; margin: 0 auto; color: #f3eee2; background: #081016; box-shadow: 0 0 70px rgba(0,0,0,.45); }
.invitation-detail-hero { min-height: 31dvh; padding: max(20px, env(safe-area-inset-top)) 22px 28px; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(180deg, rgba(5,10,14,.66), rgba(5,10,14,.35) 50%, #0d171d), url('/assets/event-facade.webp') center/cover; }
.invitation-expenses-screen .invitation-detail-hero { background: linear-gradient(180deg, rgba(5,10,14,.52), rgba(5,10,14,.45) 50%, #0d171d), url('/assets/diamante-proximas-indicaciones.webp') center 48%/cover; }
.invitation-detail-back { align-self: flex-end; min-height: 46px; padding: 8px 15px; display: inline-flex; align-items: center; gap: 8px; color: #0b1419; background: #e2b75f; border: 1px solid #f3d58d; border-radius: 999px; box-shadow: 0 5px 18px rgba(0,0,0,.32); font-size: 23px; line-height: 1; }
.invitation-detail-back span { font-size: 17px; font-weight: 850; }
.invitation-detail-bottom-back { min-height: 52px; margin: 28px 0 0 auto; padding: 10px 20px; display: block; color: #0b1419; background: #e2b75f; border: 1px solid #f3d58d; border-radius: 999px; font-size: 17px; font-weight: 850; }
.invitation-detail-hero h1 { margin: 4px 0 0; font: 700 clamp(34px, 8vw, 46px)/1 Georgia, serif; }
.invitation-detail-hero p:last-child { margin: 12px 0 0; color: #d2d5d3; font-size: 16px; }
.invitation-detail-hero .agenda-hero-date { margin: 14px 0 0; color: #f0d08c; font: 800 clamp(22px, 6vw, 29px)/1.15 Georgia, serif; }
.invitation-detail-hero .agenda-hero-place { margin: 8px 0 0; color: #f0f1ed; font-size: 17px; font-weight: 700; line-height: 1.35; }
.invitation-detail-content { min-height: 69dvh; padding: 25px 18px max(36px, env(safe-area-inset-bottom)); background: linear-gradient(180deg, #0d171d, #081016); border-radius: 20px 20px 0 0; }
.invitation-detail-intro { margin: 0 0 20px; color: #b9c1c5; font-size: 15px; line-height: 1.5; }
.invitation-detail-empty { padding: 25px 18px; color: #bdc6ca; background: #111b21; border: 1px solid #344149; border-radius: 12px; line-height: 1.5; }
.invitation-detail-content .agenda-card { grid-template-columns: 82px minmax(0, 1fr); gap: 13px; color: #f3eee2; background: #111b21; border-color: #344149; }
.invitation-detail-content .agenda-time { color: #e9c77e; }
.invitation-detail-content .agenda-time small, .invitation-detail-content .agenda-card p { color: #acb8bd; }
.invitation-detail-content .agenda-card h3 { font: 700 19px/1.15 Georgia, serif; }
.invitation-detail-content .vote-group { grid-column: 1 / -1; }
.invitation-detail-content .vote.positive { color: #79d5a0; background: #173326; border-color: #3d8e60; }
.invitation-detail-content .vote.negative { color: #f08c91; background: #3b1d22; border-color: #a3444e; }
.invitation-detail-content .vote.positive.active { color: #fff; background: #247b50; border-color: #91dfb2; }
.invitation-detail-content .vote.negative.active { color: #fff; background: #a53742; border-color: #f29aa0; }
.room-detail-hero { background-size: cover; background-position: center; }
.room-assignment-card { padding: 20px; display: grid; gap: 8px; color: #f3eee2; background: #111b21; border: 1px solid #a58042; border-radius: 15px; text-align: center; }
.room-assignment-card span { color: #dcb76d; font-size: 14px; font-weight: 850; letter-spacing: .1em; }
.room-assignment-card h2 { margin: 0; font: 700 clamp(31px, 8vw, 42px)/1.1 Georgia, serif; }
.room-assignment-card strong { color: #e9c77e; font-size: 17px; }
.roommates-card { margin-top: 14px; padding: 18px; color: #f3eee2; background: #111b21; border: 1px solid #344149; border-radius: 14px; }
.roommates-card > span { display: block; color: #dcb76d; font-size: 14px; font-weight: 850; letter-spacing: .1em; text-align: center; }
.roommates-card ul { margin: 14px 0 0; padding: 0; display: grid; gap: 8px; list-style: none; }
.roommates-card li { padding: 11px 13px; color: #f3eee2; background: #0b151b; border-radius: 9px; font-size: 17px; font-weight: 750; }
.roommates-card p { margin: 14px 0 0; color: #bac5c9; text-align: center; }
.room-photo-preview { width: 100%; margin-top: 18px; padding: 0; display: grid; gap: 0; color: #e9c77e; background: #111b21; border: 1px solid #344149; border-radius: 14px; overflow: hidden; font-size: 15px; font-weight: 750; }
.room-photo-preview img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.room-photo-preview span { padding: 14px; }
.room-photo-pending { margin: 18px 0 0; color: #bac5c9; font-size: 15px; line-height: 1.5; text-align: center; }
.guest-agenda-list { display: grid; gap: 12px; }
.guest-agenda-day { margin: 27px -18px 5px; padding: 14px 18px 12px; color: #081016; background: linear-gradient(90deg,#d7a74b,#efd08e); border: 0; font: 900 22px/1.2 Georgia, serif; text-transform: capitalize; letter-spacing: .01em; }
.guest-agenda-day:first-child { margin-top: 0; }
.guest-agenda-card { min-width: 0; padding: 16px; display: grid; gap: 12px; color: #f3eee2; background: #111b21; border: 1px solid #344149; border-radius: 15px; }
.guest-agenda-image { position: relative; width: 100%; aspect-ratio: 16 / 8; padding: 0; overflow: hidden; color: white; background: #081016; border: 0; border-radius: 11px; }
.guest-agenda-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.guest-agenda-image span { position: absolute; right: 0; bottom: 0; left: 0; padding: 22px 11px 9px; background: linear-gradient(transparent,rgba(0,0,0,.82)); font-size: 14px; font-weight: 750; text-align: right; }
.guest-agenda-hours { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 12px; color: #f0cf88; font: 900 21px/1.2 Georgia, serif; white-space: nowrap; }
.guest-agenda-hours small { color: #bdc7c8; font: 600  14px/1.3 Inter, sans-serif; white-space: normal; }
.guest-agenda-description h3 { margin: 0 0 7px; color: #f3eee2; font: 700 21px/1.16 Georgia, serif; }
.guest-agenda-description p { margin: 0; color: #c5cdd0; font-size: 15px; line-height: 1.5; }
.guest-agenda-description .guest-agenda-place { margin-top: 9px; color: #e9c77e; font-size: 14px; font-weight: 700; }
.guest-agenda-votes { padding-top: 11px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; border-top: 1px solid #344149; }
.guest-agenda-votes .vote { min-width: 0; min-height: 46px; padding: 7px 8px; display: flex; align-items: center; justify-content: center; gap: 7px; border-radius: 10px; }
.guest-agenda-votes .vote svg { width: 24px; height: 24px; flex: 0 0 24px; }
.guest-agenda-votes .vote strong { font-size: 14px; line-height: 1.15; white-space: nowrap; }
.invitation-expense-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.invitation-expense-summary.total-is-hidden { grid-template-columns: minmax(0, 1fr); }
.invitation-expense-summary > div { min-width: 0; min-height: 120px; padding: 15px 12px; display: grid; align-content: space-between; background: #111b21; border: 1px solid #344149; border-radius: 12px; }
.invitation-expense-summary > div.is-highlight { background: linear-gradient(145deg, #513418, #1c2323); border-color: #d7a74b; }
.invitation-expense-summary span { color: #aeb9bd; font-size: 14px; font-weight: 800; letter-spacing: .075em; }
.invitation-expense-summary strong { color: #f4eee1; font: 700 clamp(24px, 7vw, 32px)/1 Georgia, serif; }
.invitation-expense-summary .is-highlight strong { color: #efd08e; }
.invitation-expense-notice { margin: 16px 0 28px; color: #afbdc3; font-size: 14px; line-height: 1.5; }
.invitation-expenses-screen h2 { margin: 0 0 14px; font: 700 25px/1.1 Georgia, serif; }
.invitation-expense-list { display: grid; gap: 9px; }
.invitation-expense-list article { padding: 15px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #111b21; border: 1px solid #344149; border-radius: 11px; }
.invitation-expense-list article div { min-width: 0; }
.invitation-expense-list strong { display: block; font-size: 15px; }
.invitation-expense-list small { display: block; margin-top: 5px; color: #aeb9bd; font-size: 14px; }
.invitation-expense-list article > span { flex: 0 0 auto; color: #efd08e; font-weight: 800; }

html.farewell-active { overflow: hidden; background: #000; }
.decline-farewell { position: fixed; z-index: 3000; inset: 0; display: grid; place-items: center; overflow: hidden; color: #f3eee2; background: #000; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .45s ease, visibility .45s ease; }
.decline-farewell.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.decline-farewell video { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; background: #000; opacity: 1; transition: opacity 1.1s ease; }
.decline-tap { position: relative; z-index: 4; min-height: 54px; padding: 0 25px; color: #11191e; background: #d7a74b; border: 1px solid #f1d48f; border-radius: 999px; font-weight: 850; opacity: 0; visibility: hidden; pointer-events: none; }
.decline-farewell.needs-tap .decline-tap { opacity: 1; visibility: visible; pointer-events: auto; }
.decline-splash { position: absolute; z-index: 2; inset: 0; display: grid; place-content: center; justify-items: center; overflow: hidden; background: radial-gradient(circle at 50% 46%, rgba(177,154,84,.16), transparent 29rem), #0b141b; opacity: 0; transition: opacity 1.15s ease; }
.decline-splash object { position: relative; z-index: 1; width: min(54vw, 310px); max-height: 45vh; filter: drop-shadow(0 0 30px rgba(215,167,75,.18)); }
.decline-splash p { position: relative; z-index: 1; margin-top: 22px; color: #c7b47e; font-size: 14px; letter-spacing: .16em; }
.decline-glow { position: absolute; width: min(85vw, 680px); aspect-ratio: 1; background: radial-gradient(circle, rgba(215,167,75,.1), transparent 64%); animation: farewell-glow 2.2s ease-in-out infinite alternate; }
.decline-farewell.show-splash video { opacity: 0; }
.decline-farewell.show-splash .decline-splash { opacity: 1; }
.decline-farewell.is-black .decline-splash { opacity: 0; transition-duration: 1.3s; }
@keyframes farewell-glow { from { transform: scale(.92); opacity: .55; } to { transform: scale(1.08); opacity: 1; } }

.profile-photo-screen { width: min(100%, 540px); min-height: 100dvh; margin: 0 auto; display: grid; grid-template-rows: minmax(300px, 42dvh) minmax(0, 1fr); overflow: hidden; color: #f3eee2; background: #081016; box-shadow: 0 0 70px rgba(0,0,0,.45); }
.profile-camera-stage { position: relative; min-height: 0; overflow: hidden; background: radial-gradient(circle at 50% 48%, #23313a 0, #101a20 48%, #081016 100%); }
.profile-camera-stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.profile-camera-stage video { z-index: 1; opacity: 0; transform: scaleX(-1); transition: opacity .3s ease; }
.profile-photo-screen.camera-active .profile-camera-stage video { opacity: 1; }
.profile-camera-shade { position: absolute; z-index: 3; inset: 0; background: linear-gradient(180deg, rgba(2,6,9,.52), transparent 25%, transparent 68%, #0b141a 100%); pointer-events: none; }
.profile-step { position: absolute; z-index: 5; top: max(18px, env(safe-area-inset-top)); left: 20px; display: flex; align-items: center; gap: 10px; color: #e2b75f; letter-spacing: .15em; }
.profile-step span { position: relative; width: 30px; height: 30px; display: grid; place-items: center; font: 700  14px/1 Georgia, serif; }
.profile-step span::before { content: ""; position: absolute; inset: 3px; border: 1px solid #d7a74b; transform: rotate(45deg); }
.profile-step strong { font: 700  14px/1 Georgia, serif; }
.profile-crop-viewport { position: absolute; z-index: 4; left: 50%; top: 54%; width: min(76vw, 320px, calc(42dvh - 32px)); aspect-ratio: 1; overflow: hidden; touch-action: none; transform: translate(-50%, -50%); background: rgba(7,14,18,.18); border-radius: 8px; }
.profile-crop-viewport.is-camera-trigger { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.profile-crop-viewport.is-camera-trigger:active { background: rgba(215,167,75,.1); }
.profile-crop-viewport > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; user-select: none; pointer-events: none; will-change: transform; }
.profile-photo-screen.camera-active .profile-crop-viewport { background: transparent; }
.profile-photo-screen.camera-active .profile-crop-viewport > img { opacity: 0; }
.profile-face-guide { position: absolute; z-index: 2; top: 7%; left: 19%; width: 62%; height: 86%; overflow: visible; opacity: 0; filter: drop-shadow(0 2px 4px rgba(0,0,0,.62)); pointer-events: none; transition: opacity .2s ease; }
.profile-face-guide path { fill: none; stroke: #e6bd67; stroke-width: 3.7px; stroke-dasharray: 7.35 7.35; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.profile-photo-screen:not(.has-photo) .profile-face-guide, .profile-photo-screen.camera-active .profile-face-guide { opacity: 1; }
.profile-camera-empty-copy { position: absolute; z-index: 3; top: 50%; left: 50%; display: none; color: #f1dcaa; text-align: center; font-size: 16px; font-weight: 750; line-height: 1.35; letter-spacing: .04em; text-shadow: 0 2px 9px #000; transform: translate(-50%, -50%); pointer-events: none; }
.profile-photo-screen:not(.has-photo):not(.camera-active) .profile-camera-empty-copy { display: block; }
.profile-camera-hint { position: absolute; z-index: 5; left: 18px; right: 18px; bottom: 17px; margin: 0; color: #d7d5cf; text-align: center; font-size: 14px; text-shadow: 0 2px 10px #000; opacity: .88; }
.profile-photo-actions { min-height: 0; padding: 25px 18px max(18px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; background: linear-gradient(180deg, #0d171d, #081016); border-radius: 20px 20px 0 0; }
.profile-photo-copy { text-align: center; }
.profile-photo-copy h1 { margin: 0; color: #f4eee1; font: 700 clamp(29px, 7vw, 38px)/1.05 Georgia, serif; }
.profile-photo-copy p { max-width: 440px; margin: 13px auto 0; color: #aeb8bd; font-size: 14px; line-height: 1.5; }
.profile-action-grid { margin-top: 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.profile-action-grid button { aspect-ratio: 1.08 / 1; min-width: 0; padding: 10px 4px; display: grid; place-content: center; justify-items: center; gap: 11px; color: #ece8de; background: #111b21; border: 1px solid #2a373e; border-radius: 12px; }
.profile-action-grid button:active { border-color: #d7a74b; background: #18242a; }
.profile-action-grid .profile-camera-button.is-capture { color: #fff; background: #24734f; border-color: #55bd88; box-shadow: 0 0 20px rgba(60,170,112,.28); }
.profile-action-grid .profile-camera-button.is-repeat { color: #fff8ec; background: #a45220; border-color: #dc8547; }
.profile-action-grid .profile-camera-button.is-capture .profile-action-icon, .profile-action-grid .profile-camera-button.is-repeat .profile-action-icon { color: currentColor; }
.profile-action-grid strong { font-size: clamp(14px, 3.5vw, 16px); letter-spacing: .03em; }
.profile-action-icon { width: 44px; height: 44px; display: grid; place-items: center; color: #efcf8c; font: 700 27px/1 Georgia, serif; }
.profile-crop-tools { min-height: 48px; margin-top: 13px; padding: 5px 10px; display: none; grid-template-columns: 42px 1fr 42px; align-items: center; gap: 10px; color: #e9d39f; background: #0b1419; border: 1px solid #2a373e; border-radius: 11px; }
.profile-photo-screen.crop-editing .profile-crop-tools { display: grid; }
.profile-photo-screen.camera-active .profile-crop-tools { display: none; }
.profile-crop-tools button { width: 38px; height: 38px; padding: 0; color: #f2d593; background: #152027; border: 1px solid #35434b; border-radius: 9px; font-size: 24px; line-height: 1; }
.profile-crop-tools span { display: flex; align-items: center; justify-content: center; gap: 9px; text-align: center; }
.profile-crop-tools small { color: #aeb8bd; font-size: 14px; letter-spacing: .07em; }
.profile-crop-tools strong { min-width: 38px; font-size: 14px; }
.profile-photo-continue { width: 100%; min-height: 60px; margin-top: 22px; display: flex; align-items: center; justify-content: center; gap: 18px; color: #fff8ec; background: linear-gradient(90deg, #651b26, #7f2430); border: 1px solid #ad5360; border-radius: 11px; font-size: 16px; font-weight: 850; letter-spacing: .08em; }
.profile-photo-continue span { font-size: 27px; font-weight: 300; }
.profile-photo-continue:disabled { opacity: .35; cursor: not-allowed; }
.profile-photo-back { min-height: 46px; margin: auto auto 0; padding: 10px 18px; color: #f4d691; background: #111b21; border: 1px solid #745f37; border-radius: 999px; font-size: 17px; font-weight: 800; }
.profile-help-modal { position: fixed; z-index: 3100; inset: 0; padding: max(70px, env(safe-area-inset-top)) 22px max(30px, env(safe-area-inset-bottom)); display: grid; place-items: center; color: #eee9df; background: rgba(3,7,10,.96); opacity: 0; visibility: hidden; pointer-events: none; transition: .25s ease; }
.profile-help-modal.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.profile-help-modal article { position: relative; width: min(440px, 100%); padding: 28px; background: #111b21; border: 1px solid #344149; border-radius: 18px; }
.profile-help-modal article > button { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; color: #eee9df; background: transparent; border: 0; font-size: 28px; }
.profile-help-modal h2 { margin: 0 0 18px; font: 700 29px/1.05 Georgia, serif; }
.profile-help-modal article > p:not(.guest-flow-kicker) { color: #aeb8bd; line-height: 1.55; }

.personality-screen, .profile-complete-screen { width: min(100%, 540px); min-height: 100dvh; margin: 0 auto; overflow: hidden; color: #f3eee2; background: #081016; box-shadow: 0 0 70px rgba(0,0,0,.45); }
.personality-screen { display: grid; grid-template-rows: minmax(270px, 36dvh) minmax(0, 1fr); }
.personality-hero { position: relative; min-height: 0; overflow: hidden; background: linear-gradient(180deg, rgba(3,8,12,.42), rgba(3,8,12,.58) 58%, #091218 100%), url('/assets/casa-valdemar-cinematic-horizontal-v2.webp') center 52%/cover; }
.personality-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 38%, transparent, rgba(4,10,14,.52) 72%); pointer-events: none; }
.personality-step { position: absolute; z-index: 3; top: max(18px, env(safe-area-inset-top)); left: 20px; display: flex; align-items: center; gap: 10px; color: #e2b75f; letter-spacing: .13em; }
.personality-step > span { position: relative; width: 30px; height: 30px; display: grid; place-items: center; font: 700  14px/1 Georgia, serif; }
.personality-step > span::before { content: ""; position: absolute; inset: 3px; border: 1px solid #d7a74b; transform: rotate(45deg); }
.personality-step strong { font: 700  14px/1 Georgia, serif; }
.personality-compass { position: absolute; z-index: 2; top: 49%; left: 50%; width: min(38vw, 174px); aspect-ratio: 1; display: grid; place-items: center; color: #efc875; border: 1px solid rgba(239,200,117,.62); border-radius: 50%; box-shadow: 0 0 0 25px rgba(239,200,117,.08), 0 0 0 50px rgba(239,200,117,.035); transform: translate(-50%, -50%); }
.personality-compass::before, .personality-compass::after { content: ""; position: absolute; background: rgba(239,200,117,.3); }
.personality-compass::before { width: 1px; height: 132%; }
.personality-compass::after { width: 132%; height: 1px; }
.personality-compass span { font: 400 clamp(55px, 17vw, 82px)/1 Georgia, serif; text-shadow: 0 0 24px rgba(239,200,117,.32); }
.personality-progress { position: absolute; z-index: 4; right: 20px; bottom: 11px; left: 20px; display: grid; justify-items: center; }
.personality-progress > div { display: flex; align-items: center; gap: 22px; }
.personality-progress i { position: relative; width: 11px; height: 11px; display: block; background: #0d171d; border: 1px solid #7c8a91; border-radius: 50%; }
.personality-progress i:not(:last-child)::after { content: ""; position: absolute; top: 4px; left: 10px; width: 23px; height: 1px; background: #536169; }
.personality-progress i.is-current { background: #efc875; border-color: #ffe0a0; box-shadow: 0 0 12px rgba(239,200,117,.55); }
.personality-progress i.is-complete { background: #8f7040; border-color: #d7a74b; }
.personality-progress p { margin: 7px 0 0; color: #c4cbd0; font-size: 14px; }
.personality-actions { min-height: 0; padding: 24px 18px max(18px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; text-align: center; background: linear-gradient(180deg, #0d171d, #081016); border-radius: 20px 20px 0 0; }
.personality-actions h1 { max-width: 470px; margin: 2px auto 0; color: #f4eee1; font: 700 clamp(25px, 6.4vw, 34px)/1.12 Georgia, serif; text-wrap: balance; }
.personality-options { margin-top: 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.personality-option { min-width: 0; min-height: 102px; padding: 9px 5px; display: grid; place-content: center; justify-items: center; gap: 9px; color: #ece8de; background: #111b21; border: 1px solid #2a373e; border-radius: 12px; }
.personality-option > span { color: #efcf8c; font: 700 30px/1 Georgia, serif; }
.personality-option strong { max-width: 100%; font-size: clamp(14px, 3.3vw, 15px); line-height: 1.15; overflow-wrap: anywhere; }
.personality-option.is-selected { color: white; background: linear-gradient(145deg, #762531, #3b171d); border-color: #e3a45e; box-shadow: 0 0 20px rgba(145,51,63,.28); }
.personality-navigation { margin-top: auto; padding-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.personality-navigation button { min-height: 58px; display: flex; align-items: center; justify-content: center; gap: 11px; color: #d9e0e3; background: #101a20; border: 1px solid #344149; border-radius: 11px; font-size: 15px; font-weight: 800; letter-spacing: .04em; }
.personality-navigation button.is-primary { color: #fff8ec; background: linear-gradient(90deg, #651b26, #7f2430); border-color: #ad5360; }
.personality-navigation button:disabled { opacity: .35; }
.personality-empty { min-height: 100dvh; padding: 34px; display: grid; place-content: center; justify-items: center; text-align: center; }
.personality-empty h1 { margin: 0; font: 700 36px/1.05 Georgia, serif; }
.personality-empty > p:not(.guest-flow-kicker) { color: #aeb8bd; }

.profile-complete-screen { display: grid; grid-template-rows: minmax(300px, 40dvh) minmax(0, 1fr); }
.profile-complete-hero { position: relative; display: grid; place-items: center; background: radial-gradient(circle at 50% 56%, rgba(215,167,75,.2), transparent 42%), linear-gradient(180deg, #111d24, #091218); }
.profile-complete-photo { position: relative; width: min(45vw, 210px); aspect-ratio: 1; margin-top: 32px; padding: 0; overflow: visible; background: transparent; border: 0; border-radius: 50%; cursor: zoom-in; }
.profile-complete-photo img { width: 100%; height: 100%; object-fit: cover; border: 3px solid #e7bd69; border-radius: 50%; box-shadow: 0 0 34px rgba(215,167,75,.22); }
.profile-complete-photo.is-generating img { opacity: .52; filter: saturate(.55); }
.avatar-ai-spinner { position: absolute; inset: 50% auto auto 50%; width: 54px; height: 54px; border: 3px solid rgba(231,189,105,.24); border-top-color: #e7bd69; border-radius: 50%; transform: translate(-50%,-50%); animation: avatar-ai-spin .85s linear infinite; }
.profile-complete-photo > span { position: absolute; right: -2px; bottom: 10px; width: 44px; height: 44px; display: grid; place-items: center; color: #0d171d; background: #e7bd69; border: 4px solid #111d24; border-radius: 50%; font-size: 22px; font-weight: 900; }
.profile-complete-actions { padding: 28px 18px max(22px, env(safe-area-inset-bottom)); text-align: center; background: linear-gradient(180deg, #0d171d, #081016); border-radius: 20px 20px 0 0; }
.profile-complete-actions h1 { margin: 3px 0 0; font: 700 clamp(30px, 7vw, 40px)/1.05 Georgia, serif; }
.profile-complete-actions > p:not(.guest-flow-kicker) { max-width: 430px; margin: 13px auto 0; color: #aeb8bd; line-height: 1.5; }
.profile-answer-summary { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.profile-answer-summary span { padding: 8px 11px; color: #f0d395; background: #111b21; border: 1px solid #344149; border-radius: 999px; font-size: 14px; }
.profile-complete-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.profile-complete-grid button { min-height: 112px; padding: 9px 4px; display: grid; place-content: center; justify-items: center; gap: 12px; color: #eee9df; background: #111b21; border: 1px solid #344149; border-radius: 12px; }
.profile-complete-grid button > span { color: #efcf8c; font-size: 30px; }
.profile-complete-grid button strong { font-size: clamp(14px, 3vw, 14px); }
.profile-complete-grid button:disabled { opacity: .35; cursor: wait; }
.avatar-ai-retry { min-height: 50px; margin: 18px auto 0; padding: 10px 18px; color: #fff4df; background: #7b2b24; border: 1px solid #d07763; border-radius: 999px; font-size: 14px; font-weight: 850; letter-spacing: .05em; }
@keyframes avatar-ai-spin { to { transform: translate(-50%,-50%) rotate(360deg); } }
.role-video-preloads { position: fixed; width: 1px; height: 1px; overflow: hidden; opacity: .001; pointer-events: none; }
.role-video-preloads video { width: 1px; height: 1px; }

.role-reveal-screen { position: fixed; z-index: 2800; inset: 0; display: grid; place-items: center; overflow: hidden; background: #000; }
.role-reveal-screen::after { content: ""; position: absolute; z-index: 2; inset: 0; background: #000; opacity: 0; pointer-events: none; transition: opacity .45s ease; }
.role-reveal-screen.is-finishing::after { opacity: 1; }
.role-reveal-screen video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.role-reveal-start { position: absolute; inset: 0; width: 100%; height: 100%; display: none; place-items: center; padding: 24px; color: #f7e7bf; background: radial-gradient(circle, rgba(87,24,34,.72), rgba(0,0,0,.94)); border: 0; font: 800 clamp(22px, 6vw, 34px)/1.2 Georgia, serif; letter-spacing: .08em; text-transform: uppercase; }
.role-reveal-screen.needs-tap .role-reveal-start { display: grid; }

.role-waiting-screen { --role-color: #d7a74b; position: relative; width: min(100%, 540px); height: 100dvh; min-height: 0; margin: 0 auto; display: grid; grid-template-rows: minmax(240px, 42dvh) minmax(0, 1fr); overflow: hidden; color: #f3eee2; text-align: center; background: #050a0d; }
.role-waiting-hero { position: relative; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 55%, rgba(215,167,75,.18), transparent 34%), linear-gradient(180deg, #14232c, #081016 88%); }
.role-waiting-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 52%, color-mix(in srgb, var(--role-color) 9%, transparent), transparent 45%); pointer-events: none; }
.role-waiting-hero .guest-flow-kicker { position: absolute; z-index: 3; top: max(24px, env(safe-area-inset-top)); right: 20px; left: 20px; margin: 0; display: grid; gap: 5px; text-shadow: 0 2px 12px #000; }
.role-waiting-hero .guest-flow-kicker strong { color: #f2d28b; font-size: 15px; letter-spacing: .22em; }
.role-waiting-hero .guest-flow-kicker small { color: #e7e4dc; font-size: 14px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.role-waiting-aura { --waiting-ring-size: min(68vw, 300px); position: absolute; z-index: 1; top: 64%; left: 50%; width: var(--waiting-ring-size); height: var(--waiting-ring-size); border: 1px solid color-mix(in srgb, var(--role-color) 32%, transparent); border-radius: 50%; box-shadow: 0 0 52px color-mix(in srgb, var(--role-color) 17%, transparent); transform: translate(-50%, -50%); }
.role-waiting-avatar { --waiting-avatar-size: min(48vw, 215px); position: absolute; z-index: 2; top: 64%; left: 50%; width: var(--waiting-avatar-size); min-width: var(--waiting-avatar-size); max-width: var(--waiting-avatar-size); height: var(--waiting-avatar-size); min-height: var(--waiting-avatar-size); max-height: var(--waiting-avatar-size); margin: 0; padding: 0; display: block; overflow: hidden; color: #f2cf82; background: #17252e; border: 3px solid #d9ad55; border-radius: 50%; box-shadow: 0 18px 58px rgba(0,0,0,.48), 0 0 36px rgba(215,167,75,.18); font: 850 44px/1 Georgia,serif; cursor: zoom-in; transform: translate(-50%, -50%); appearance: none; }
.role-waiting-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; display: block; object-fit: cover; border-radius: 50%; }
.role-waiting-content { position: relative; z-index: 2; width: 100%; min-height: 0; padding: 10px 18px max(58px, calc(env(safe-area-inset-bottom) + 48px)); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; background: linear-gradient(180deg, #081016, #050a0d 72%); }
.role-waiting-content h2 { max-width: 440px; margin: 13px auto 0; font: 700 clamp(19px, 5.1vw, 28px)/1.08 Georgia, serif; }
.secret-identity-button { width: 100%; min-height: 65px; margin: 0 auto; padding: 10px 15px; display: grid; grid-template-columns: 42px minmax(0,1fr); grid-template-rows: auto auto; align-items: center; column-gap: 10px; color: #f7e6bd; text-align: left; background: linear-gradient(135deg,#172630,#101a20); border: 1px solid #8d713c; border-radius: 14px; box-shadow: 0 12px 30px rgba(0,0,0,.22); }
.secret-identity-button > span { grid-row: 1 / 3; width: 42px; height: 42px; display: grid; place-items: center; color: #f0c86d; background: #2b2b28; border-radius: 50%; font-size: 23px; }
.secret-identity-button strong { font-size: 15px; letter-spacing: .075em; }
.secret-identity-button small { color: #b3bcc0; font-size: 14px; line-height: 1.35; }
.role-waiting-content > p:not(.guest-flow-kicker) { max-width: 390px; margin: 16px auto 0; color: #abb6bb; font-size: clamp(16px, 4.3vw, 19px); line-height: 1.55; }
.role-waiting-pulse { margin-top: 38px; display: inline-flex; align-items: center; gap: 9px; color: var(--role-color); font-size: 14px; font-weight: 850; letter-spacing: .19em; }
.role-waiting-links { margin-top: 10px; text-align: center; }
.role-waiting-links button { min-height: 64px; border-color: color-mix(in srgb, var(--role-color) 38%, #344149); }
.role-waiting-pulse::before { content: ""; width: 8px; height: 8px; background: currentColor; border-radius: 50%; animation: waiting-pulse 1.5s ease-in-out infinite; }
.push-enable-button { min-height: 48px; margin: 24px auto 0; padding: 10px 19px; color: #f4d691; background: #111b21; border: 1px solid #745f37; border-radius: 999px; font-size: 14px; font-weight: 850; letter-spacing: .06em; }
.push-enable-button.is-enabled { color: #b7e9ca; border-color: #3d8e60; }
.role-waiting-tools { margin: 12px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.secret-identity-screen { --identity-color:#d7a74b; position: fixed; z-index: 2600; inset: 0; min-height: 100dvh; padding: max(70px,calc(env(safe-area-inset-top) + 54px)) 22px max(24px,env(safe-area-inset-bottom)); display: grid; place-items: center; overflow: hidden; color: #f8efe0; background:#05090c url('/assets/diamante-proximas-indicaciones.webp?v=3') center top/cover no-repeat; text-align: center; }
.secret-identity-screen.role-traitor { --identity-color:#e24659; background-image:url('/assets/diamante-robado.webp?v=3'); }
.secret-identity-screen::before { content:""; position:absolute; z-index:0; inset:0; background:linear-gradient(180deg,rgba(4,8,11,.04) 0%,rgba(4,8,11,.08) 36%,rgba(4,8,11,.48) 60%,#05090c 82%,#05090c 100%); pointer-events:none; }
.secret-identity-screen.role-traitor::before { background:linear-gradient(180deg,rgba(7,5,7,.03) 0%,rgba(7,5,7,.1) 34%,rgba(7,5,7,.54) 59%,#070608 82%,#070608 100%); }
.secret-identity-card { position:relative; z-index:1; width:min(100%,480px); height:100%; display:flex; flex-direction:column; align-items:center; justify-content:flex-end; }
.secret-identity-card .guest-flow-kicker { position:absolute; top:0; right:0; left:0; margin:0; color:var(--identity-color); font-size: 14px; letter-spacing:.2em; text-shadow:0 2px 16px #000; }
.secret-identity-card .secret-identity-avatar, .secret-identity-card .secret-identity-art { display:none !important; }
.secret-identity-card h1 { margin:0 -12px 8px; color:var(--identity-color); font:950 clamp(44px,13vw,72px)/.86 Georgia,serif; letter-spacing:.015em; text-shadow:0 3px 22px #000,0 0 34px color-mix(in srgb,var(--identity-color) 48%,transparent); animation:role-breathe 2.8s ease-in-out infinite; }
.secret-identity-card > p:not(.guest-flow-kicker) { max-width:360px; margin:14px auto 0; color:#b6bec1; font-size:15px; line-height:1.5; }
.secret-identity-close { position:fixed; z-index:3; top:max(15px,env(safe-area-inset-top)); right:max(15px,env(safe-area-inset-right)); min-height:42px; padding:9px 15px; color:#121a1e; background:#e2ae47; border:0; border-radius:999px; font-size: 14px; font-weight:900; letter-spacing:.07em; }
.secret-identity-hide { width:min(100%,360px); min-height:56px; margin-top:24px; color:#0d1519; background:var(--identity-color); border:0; border-radius:13px; font-size:15px; font-weight:950; letter-spacing:.075em; }
.waiting-tool { position: relative; min-width: 0; min-height: 58px; padding: 8px 9px; display: grid; grid-template-columns: 34px minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; column-gap: 8px; color: #f4ecdc; text-align: left; background: #101a20; border: 1px solid #344149; border-radius: 12px; }
.waiting-tool > span { position: relative; grid-row: 1 / 3; width: 34px; height: 34px; display: grid; place-items: center; color: #f0c872; background: #20252a; border-radius: 50%; font-size: 19px; }
.waiting-tool > span b { position: absolute; top: -6px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center; color: #fff; background: #bd3044; border: 2px solid #101a20; border-radius: 999px; font: 850  14px/1 Inter, sans-serif; }
.waiting-tool small { overflow: hidden; color: #aeb7bb; font-size: 14px; font-weight: 850; letter-spacing: .07em; text-overflow: ellipsis; white-space: nowrap; }
.waiting-tool strong { overflow: hidden; font-size: 14px; letter-spacing: .035em; text-overflow: ellipsis; white-space: nowrap; }
.waiting-tool.is-enabled { border-color: #3d8e60; }
.waiting-tool.is-enabled > span { color: #b7e9ca; background: #173025; }
.waiting-tool.is-blocked { border-color: #91404b; }
.waiting-tool.is-blocked > span { color: #f3a6ae; background: #361a20; }
.waiting-tool:disabled { opacity: .65; }
.notification-inbox { position: fixed; z-index: 5000; inset: 0; display: grid; align-items: end; color: #f4efe5; text-align: left; }
.notification-inbox-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; background: rgba(0,0,0,.72); border: 0; backdrop-filter: blur(7px); }
.notification-inbox > article { position: relative; z-index: 1; width: min(100%, 540px); max-height: min(86dvh, 760px); margin: 0 auto; padding: 0 16px max(18px, env(safe-area-inset-bottom)); display: grid; grid-template-rows: auto minmax(0, 1fr); overflow: hidden; background: #0a1217; border: 1px solid #303b41; border-bottom: 0; border-radius: 24px 24px 0 0; box-shadow: 0 -20px 70px rgba(0,0,0,.55); }
.notification-inbox header { min-height: 82px; padding: 16px 2px 12px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid #273138; }
.notification-inbox header .guest-flow-kicker { margin: 0 0 3px; color: #d5ad59; font-size: 14px; }
.notification-inbox header h2 { margin: 0; font: 800 28px/1 Georgia, serif; }
.notification-inbox header > button { flex: 0 0 auto; width: 44px; height: 44px; display: grid; place-items: center; color: #f7e9c8; background: #182329; border: 1px solid #3b484f; border-radius: 50%; font-size: 29px; line-height: 1; }
.notification-inbox-list { min-height: 0; padding: 10px 0; overflow-y: auto; overscroll-behavior: contain; }
.notification-inbox-item { width: 100%; padding: 13px 5px; display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 11px; color: inherit; text-align: left; background: transparent; border: 0; border-bottom: 1px solid #253037; }
.notification-inbox-item:last-child { border-bottom: 0; }
.notification-inbox-symbol { position: relative; width: 42px; height: 42px; display: grid; place-items: center; color: #efd083; background: #20272b; border: 1px solid #4b4331; border-radius: 12px; font-size: 20px; }
.notification-inbox-symbol b { font-weight: 700; line-height: 1; }
.notification-inbox-symbol i { position: absolute; right: -5px; bottom: -5px; width: 18px; height: 18px; display: grid; place-items: center; color: #102019; background: #73d29a; border: 2px solid #0a1217; border-radius: 50%; font: 900  14px/1 Inter, sans-serif; }
.notification-inbox-item.is-unread .notification-inbox-symbol { color: #ffe19a; background: #372f20; border-color: #d1a64f; box-shadow: 0 0 0 3px rgba(215,167,75,.1); }
.notification-inbox-item.is-unread .notification-inbox-symbol i { color: #2a1c05; background: #f0c96f; font-size: 14px; }
.notification-inbox-item.is-opened .notification-inbox-symbol, .notification-inbox-item.is-completed .notification-inbox-symbol { color: #9aa5a9; background: #172126; border-color: #344249; }
.notification-inbox-copy { min-width: 0; display: grid; gap: 4px; }
.notification-inbox-meta { display: flex; align-items: center; gap: 6px; overflow: hidden; color: #929da2; font-size: 14px; font-weight: 800; letter-spacing: .045em; white-space: nowrap; }
.notification-inbox-meta b { color: #cbd2d4; }
.notification-inbox-item.is-private .notification-inbox-meta b { color: #f17684; }
.notification-inbox-meta time { margin-left: auto; }
.notification-inbox-copy > strong { overflow: hidden; font: 750 16px/1.2 Georgia, serif; text-overflow: ellipsis; white-space: nowrap; }
.notification-inbox-copy > small { overflow: hidden; color: #aab3b7; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.notification-inbox-state { display: grid; justify-items: end; gap: 4px; color: #899499; font-size: 14px; font-weight: 850; letter-spacing: .06em; }
.notification-inbox-state i { color: #d8b86d; font: normal 24px/1 Georgia, serif; }
.notification-inbox-item.is-unread { background: linear-gradient(90deg, rgba(215,167,75,.1), transparent 74%); }
.notification-inbox-item.is-unread .notification-inbox-state { color: #f0cd7c; }
.notification-inbox-empty { min-height: 260px; display: grid; place-content: center; justify-items: center; padding: 32px; color: #9da8ad; text-align: center; }
.notification-inbox-empty > span { color: #d6b467; font-size: 42px; }
.notification-inbox-empty strong { margin-top: 10px; color: #eee8da; font: 750 20px/1.2 Georgia, serif; }
.notification-inbox-empty p { max-width: 270px; margin: 8px 0 0; font-size: 14px; line-height: 1.5; }
.notification-status-strip { margin: 14px 0 20px; padding: 10px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; background: rgba(255,255,255,.55); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 8px 24px rgba(27,37,43,.04); }
.notification-status-strip article { min-width: 0; min-height: 68px; padding: 10px 14px; display: flex; align-items: center; gap: 12px; border-right: 1px solid var(--line); }
.notification-status-strip article:last-child { border-right: 0; }
.notification-status-icon { flex: 0 0 auto; width: 38px; height: 38px; display: grid; place-items: center; color: #6e5727; background: var(--gold-soft); border-radius: 12px; font-size: 18px; }
.notification-status-strip article:nth-child(2) .notification-status-icon { color: var(--green); background: var(--green-soft); }
.notification-status-strip small { display: block; margin-bottom: 5px; overflow: hidden; color: var(--muted); font-size: 14px; font-weight: 850; letter-spacing: .055em; text-overflow: ellipsis; white-space: nowrap; }
.notification-status-strip strong { display: block; font: 800 23px/1 Georgia, serif; white-space: nowrap; }
.notification-status-strip strong em { color: var(--muted); font: 600  14px/1.2 Inter, sans-serif; }
.notification-send-summary { margin-top: 18px; padding: 10px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; background: #f7f3e9; border: 1px solid rgba(142,108,43,.2); border-radius: 15px; }
.notification-send-summary > div { min-width: 0; min-height: 62px; padding: 10px 12px; display: grid; align-content: center; gap: 5px; border-right: 1px solid rgba(20,32,42,.1); }
.notification-send-summary > div:last-child { border-right: 0; }
.notification-send-summary small { color: #8b7447; font-size: 14px; font-weight: 900; letter-spacing: .09em; }
.notification-send-summary strong { overflow-wrap: anywhere; color: var(--navy); font-size: 14px; line-height: 1.25; }
.tab-panel[data-panel="notifications"] > .section-head { margin-top: 18px; }
.notification-layout { align-items: start; margin-top: 18px; }
.notification-layout > .form-card { position: sticky; top: 142px; }
.rich-html-editor { overflow: hidden; background: #fff; border: 1px solid #d8dce0; border-radius: 12px; transition: border-color .2s, box-shadow .2s; }
.rich-html-editor:focus-within { border-color: #b59045; box-shadow: 0 0 0 3px rgba(215,167,75,.16); }
.rich-html-toolbar { padding: 7px; display: flex; flex-wrap: wrap; gap: 5px; background: #f4f1ea; border-bottom: 1px solid #ddd8cd; }
.rich-html-toolbar button { min-width: 36px; min-height: 34px; padding: 5px 9px; color: #27343d; background: #fff; border: 1px solid #d9d5cc; border-radius: 7px; font: 700  14px/1 Inter, sans-serif; }
.rich-html-toolbar button:hover, .rich-html-toolbar button:focus-visible, .rich-html-toolbar button.is-active { color: #fff; background: var(--navy); border-color: var(--navy); outline: none; }
.rich-html-toolbar .rich-html-source-toggle { margin-left: auto; color: #705921; }
.rich-html-surface, .rich-html-source { width: 100%; min-height: 230px; max-height: 520px; padding: 18px; overflow: auto; color: #18242c; background: #fff; border: 0; border-radius: 0; font: 16px/1.55 Inter, sans-serif; outline: none; resize: vertical; }
.rich-html-surface:empty::before { content: attr(data-placeholder); color: #8c959b; pointer-events: none; }
.rich-html-surface h1, .rich-html-surface h2, .rich-html-surface h3 { font-family: Georgia, serif; }
.rich-html-surface blockquote { margin: 1em 0; padding: 10px 16px; color: #66552f; background: #faf5e9; border-left: 4px solid var(--gold); }
.rich-html-source[hidden], .rich-html-surface[hidden] { display: none; }
.push-guest-list, .push-history-list { display: grid; gap: 0; }
.push-guest-list > div, .push-history-list > div { min-width: 0; padding: 13px 0; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); }
.push-guest-list > div:last-child, .push-history-list > div:last-child { border-bottom: 0; }
.push-guest-list span:first-child, .push-history-list span:first-child { min-width: 0; display: grid; gap: 4px; }
.push-guest-list small, .push-history-list small { color: var(--muted); font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.push-history { margin-top: 18px; }
.push-history-list .push-error-detail { margin-top: 5px; padding: 8px 10px; color: #8c3734; background: var(--red-soft); border-radius: 8px; font-weight: 700; }
.push-delivery-result { flex: 0 0 auto; display: grid; justify-items: end; gap: 4px; font-size: 14px; }
.push-delivery-result b { color: var(--green); }
.push-delivery-result em { color: var(--red); font-style: normal; }
.role-waiting-brand { position: absolute; z-index: 3; right: 0; bottom: max(18px, env(safe-area-inset-bottom)); left: 0; margin: 0; color: #74684e; font-size: 14px; letter-spacing: .18em; }
.role-admin-list { margin-top: 18px; }
.role-admin-privacy { margin: 10px 0 0; padding: 10px 12px; color: #66737d; background: #f7f4ec; border: 1px solid #e9e1d1; border-radius: 10px; font-size: 14px; line-height: 1.45; }
.role-admin-counts { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.role-admin-row { border-bottom: 1px solid var(--line); }
.role-admin-row:last-child { border-bottom: 0; }
.role-admin-summary { min-height: 68px; padding: 13px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.role-admin-summary strong { font-size: 14px; }
.role-admin-summary small { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; }
.role-admin-status { flex: 0 0 auto; cursor: pointer; border: 0; }
.role-admin-status[aria-expanded="true"] { box-shadow: 0 0 0 3px rgba(216,168,69,.18); }
.role-admin-editor { margin: 0 0 14px; padding: 14px; color: #dfe6e9; background: #111d24; border: 1px solid #263641; border-radius: 13px; }
.role-admin-editor[hidden] { display: none; }
.role-admin-editor > p { margin: 10px 0 14px; color: #aab5bc; font-size: 14px; line-height: 1.5; }
.role-admin-reveal { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.role-admin-reveal span { color: #87949d; font-size: 14px; font-weight: 900; letter-spacing: .12em; }
.role-admin-reveal strong { font-size: 15px; letter-spacing: .08em; }
.role-admin-reveal .is-traitor { color: #ff7586; }
.role-admin-reveal .is-guardian { color: #e9bf68; }
.role-admin-reveal .is-unassigned { color: #bec7cc; }
.role-admin-choices { display: grid; gap: 10px; }
.role-admin-choice { display: grid; grid-template-columns: minmax(130px, .7fr) minmax(0, 1.3fr); align-items: end; gap: 10px; }
.role-admin-choice > button { min-height: 42px; }
.role-admin-choice > button.danger { color: #fff; background: #842237; border-color: #b53e55; }
.role-admin-choice > label { display: grid; gap: 5px; color: #c3ccd1; font-size: 14px; line-height: 1.35; }
.role-admin-choice select { width: 100%; min-width: 0; min-height: 42px; padding: 8px 10px; color: #eef2f3; background: #0b1419; border: 1px solid #354650; border-radius: 9px; }
.role-admin-choice.is-current { opacity: .55; }
.game-admin-section { margin-top: 18px; overflow: hidden; background: rgba(255,255,255,.52); border: 1px solid rgba(20,32,42,.1); border-radius: 20px; box-shadow: 0 9px 28px rgba(27,37,43,.05); }
.game-admin-section > summary { min-height: 82px; padding: 17px 21px; display: flex; align-items: center; justify-content: space-between; gap: 18px; cursor: pointer; list-style: none; user-select: none; }
.game-admin-section > summary::-webkit-details-marker { display: none; }
.game-admin-section > summary span { min-width: 0; display: grid; gap: 5px; }
.game-admin-section > summary strong { color: var(--navy); font: 750 23px/1.1 Georgia, serif; }
.game-admin-section > summary small { color: var(--muted); font-size: 14px; line-height: 1.4; }
.game-admin-section > summary i { flex: 0 0 auto; width: 34px; height: 34px; display: grid; place-items: center; color: #7d622c; background: var(--gold-soft); border-radius: 50%; font: normal 22px/1 Inter, sans-serif; transition: transform .2s ease; }
.game-admin-section[open] > summary i { transform: rotate(180deg); }
.game-admin-section[open] > summary { border-bottom: 1px solid rgba(20,32,42,.08); }
.game-admin-section-body { padding: 18px; }
.game-role-config-row { align-items: stretch; }
.game-role-config-row > .card { height: 650px; min-height: 0; }
.game-config-card { overflow-y: auto; }
.role-admin-card { display: flex; flex-direction: column; overflow: hidden; }
.role-admin-card .role-admin-list { min-height: 0; flex: 1; padding-right: 7px; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.game-challenges-placeholder { min-height: 150px; display: grid; place-content: center; gap: 8px; }
.game-challenges-placeholder strong { color: var(--navy); font-size: 17px; }
.game-challenges-placeholder span { max-width: 660px; color: var(--muted); line-height: 1.55; }
.challenge-manager { display: grid; gap: 16px; }
.challenge-flow { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.challenge-flow article { min-width: 0; padding: 15px; display: grid; grid-template-columns: 34px minmax(0,1fr); align-items: start; gap: 10px; color: #e8edf0; background: var(--navy); border-radius: 13px; }
.challenge-flow article > i { width: 34px; height: 34px; display: grid; place-items: center; color: #17232b; background: #e0ad47; border-radius: 50%; font-style: normal; font-weight: 950; }
.challenge-flow article > div { min-width: 0; display: grid; gap: 5px; }
.challenge-flow article strong { color: #f1cf88; font-size: 14px; letter-spacing: .07em; }
.challenge-flow article span { color: #adb9bf; font-size: 14px; line-height: 1.45; }
.challenge-manager-head { padding: 13px 16px; display: flex; align-items: center; justify-content: space-between; gap: 14px; color: #e8edf0; background: var(--navy); border-radius: 13px; }
.challenge-manager-head > div { display: grid; gap: 4px; }
.challenge-manager-head strong { font-size: 14px; }
.challenge-manager-head span { color: #aab5bc; font-size: 14px; line-height: 1.45; }
.challenge-manager-head > button { flex: 0 0 auto; }
.challenge-operational-list { display: grid; gap: 20px; }
.challenge-stage-group { min-width: 0; }
.challenge-stage-heading { margin-bottom: 9px; padding: 0 3px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.challenge-stage-heading > div { min-width: 0; display: grid; gap: 3px; }
.challenge-stage-heading span { color: #805f24; font-size: 14px; font-weight: 950; letter-spacing: .11em; }
.challenge-stage-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.challenge-stage-heading > b { min-width: 31px; height: 31px; display: grid; place-items: center; color: #f4d58f; background: var(--navy); border-radius: 50%; font-size: 14px; }
.challenge-stage-empty { padding: 22px; color: var(--muted); background: rgba(255,255,255,.42); border: 1px dashed #c7c1b6; border-radius: 13px; text-align: center; }
.challenge-list { min-width: 0; display: grid; gap: 11px; }
.challenge-card { padding: 17px; }
.challenge-card-head { display: grid; grid-template-columns: 42px minmax(0,1fr) minmax(130px,.55fr); align-items: center; gap: 12px; }
.challenge-card-head > div { min-width: 0; }
.challenge-card-head h3 { margin: 7px 0 0; }
.challenge-card-head > strong { color: #8b651e; font-size: 14px; line-height: 1.35; text-align: right; }
.challenge-type-icon { width: 42px; height: 42px; display: grid; place-items: center; color: var(--gold); background: var(--navy); border-radius: 12px; font-size: 20px; }
.challenge-card > p { margin: 13px 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.challenge-card-meta { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
.challenge-card-meta span { min-width: 0; padding: 9px 10px; display: grid; gap: 3px; color: #4d5b64; background: #f5f2eb; border-radius: 9px; font-size: 14px; line-height: 1.35; }
.challenge-card-meta b { color: #8e6c2c; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.challenge-card.is-active { border-color: rgba(47,118,90,.32); box-shadow: 0 0 0 2px rgba(47,118,90,.08); }
.challenge-card-warning { margin-top: 11px; padding: 10px 12px; color: #8b3d27; background: #fff0e5; border: 1px solid #e8b190; border-radius: 9px; font-size: 14px; font-weight: 750; }
.challenge-live-count { min-height: 36px; display: inline-flex; align-items: center; color: var(--green); font-size: 14px; font-weight: 850; }
.challenge-editor { padding: 0; overflow: hidden; }
.challenge-editor-heading { padding: 20px 22px; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; color: white; background: var(--navy); }
.challenge-editor-heading > div { min-width: 0; }
.challenge-editor-heading span { color: #e2b75f; font-size: 14px; font-weight: 950; letter-spacing: .11em; }
.challenge-editor-heading h3 { margin: 5px 0 6px; color: white; font-size: 24px; }
.challenge-editor-heading p { max-width: 680px; margin: 0; color: #aeb9c0; font-size: 14px; line-height: 1.5; }
.challenge-editor-heading button { color: #f1d18c; border-color: #6f6248; }
.challenge-form-step { margin: 0 22px 14px; padding-top: 21px; display: flex; align-items: center; flex-wrap: wrap; gap: 7px 12px; border-top: 1px solid var(--line); }
.challenge-editor > .challenge-form-step:first-of-type { border-top: 0; }
.challenge-form-step strong { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.challenge-form-step strong i { width: 27px; height: 27px; display: grid; place-items: center; color: #18232a; background: #e0ad47; border-radius: 50%; font-size: 14px; font-style: normal; }
.challenge-form-step small { color: var(--muted); font-size: 14px; }
.challenge-editor > .form-grid { margin: 0 22px; }
.challenge-editor > .form-actions { margin: 22px; }
.challenge-editor .code-area { min-height: 120px; }
.challenge-reward-box { padding: 13px; background: #f5f2eb; border: 1px solid var(--line); border-radius: 12px; }
.challenge-reward-box > div { display: flex; flex-wrap: wrap; gap: 12px; }
.challenge-reward-box > div label { display: flex; align-items: center; gap: 7px; color: var(--ink); font-size: 14px; }
.challenge-reward-box input { width: 17px; min-height: 17px; }
.challenge-rule-list { margin-top: 8px; display: grid; gap: 10px; }
.challenge-rule-card { padding: 16px; }
.challenge-rule-card > div:first-of-type { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.challenge-rule-card .guest-flow-kicker { margin: 0; color: #9c752b; font-size: 14px; }
.challenge-rule-card h3 { margin: 0; text-align: right; }
.challenge-rule-grid { margin: 13px 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.challenge-rule-grid label { min-width: 0; display: grid; gap: 5px; color: var(--muted); font-size: 14px; font-weight: 800; }
.challenge-rule-grid input,.challenge-rule-grid select { width: 100%; min-width: 0; min-height: 39px; padding: 7px 8px; color: var(--ink); background: #faf9f6; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; }
.game-config-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.game-config-grid .asset-control { min-width: 0; }
.game-config-grid .asset-preview-slot, .game-config-grid .asset-thumb { width: 100%; }
.game-config-save { margin: 8px 0 0; }
.game-config-save .button { width: 100%; min-height: 52px; font-size: 14px; }
.game-resolution-head { margin-top: 38px; }
.game-round-layout { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(320px,.85fr); gap: 18px; align-items: start; }
.game-round-list { display: grid; gap: 12px; }
.game-round-card { display: grid; grid-template-columns: 46px minmax(0,1fr); gap: 14px; padding: 17px; }
.game-round-card.is-open { border-color: #b27b23; box-shadow: 0 0 0 2px rgba(215,167,75,.16); }
.game-round-number { width: 42px; height: 42px; display: grid; place-items: center; color: #fff; background: var(--navy); border-radius: 12px; font: 800 18px/1 Georgia,serif; }
.game-round-main { min-width: 0; }
.game-round-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.game-round-head h3 { margin: 7px 0 0; }
.game-round-head > strong { color: #8b641f; text-align: right; }
.game-round-main > p { margin: 8px 0; color: var(--muted); font-size: 14px; }
.game-round-result { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.game-round-result span { padding: 8px 10px; display: grid; gap: 2px; background: #f5f1e8; border-radius: 10px; }
.game-round-result small { color: var(--muted); }
.game-round-form { position: sticky; top: 12px; }
.game-entry-button { width: min(100%,430px); margin: 18px auto 0; padding: 14px 18px; display: flex; align-items: center; justify-content: center; gap: 10px; color: #f4d58d; background: #111c22; border: 1px solid #7f6838; border-radius: 13px; font-weight: 900; letter-spacing: .08em; }
.game-entry-button.is-live { color: #09130d; background: #67c887; border-color: #9be6b2; box-shadow: 0 0 22px rgba(75,196,116,.28); animation: waiting-pulse 1.5s ease-in-out infinite; }
.challenge-entry-button { width: 100%; min-height: 62px; margin: 12px 0 0; padding: 10px 15px; display: grid; grid-template-columns: 40px minmax(0,1fr) 20px; align-items: center; gap: 10px; color: #121b20; background: linear-gradient(135deg,#f1ce7d,#d7a74b); border: 1px solid #ffe0a1; border-radius: 13px; box-shadow: 0 10px 28px rgba(215,167,75,.18); }
.challenge-entry-button > span { width: 40px; height: 40px; display: grid; place-items: center; color: #f6d98e; background: #172229; border-radius: 50%; font-size: 20px; }
.challenge-entry-button strong { overflow: hidden; font-size: 14px; letter-spacing: .08em; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.challenge-entry-button i { font-size: 28px; font-style: normal; }
.guest-challenge-screen { position: relative; width: min(100%,540px); min-height: 100dvh; margin: 0 auto; padding: max(82px,calc(env(safe-area-inset-top) + 60px)) 16px max(30px,env(safe-area-inset-bottom)); color: #f4eee0; background: radial-gradient(circle at 50% 0,rgba(215,167,75,.2),transparent 29rem),#071016; }
.guest-challenge-screen .guest-back-button { position: fixed; z-index: 5; top: max(14px,env(safe-area-inset-top)); right: max(14px,env(safe-area-inset-right)); padding: 11px 17px; color: #111b20; background: #e2ae47; border: 0; border-radius: 999px; font-size: 17px; font-weight: 900; }
.guest-challenge-hero { text-align: center; }
.guest-challenge-hero .guest-flow-kicker { color: #e3b960; }
.guest-challenge-hero h1 { margin: 10px auto; font: 850 clamp(37px,10vw,56px)/.98 Georgia,serif; text-wrap: balance; }
.guest-challenge-hero > p:last-child { margin: 0 auto; color: #aeb9bd; font-size: 15px; line-height: 1.5; }
.guest-challenge-symbol { width: 74px; height: 74px; margin: 0 auto 20px; display: grid; place-items: center; color: #f1c96f; background: #1b272d; border: 1px solid #826a39; border-radius: 22px; font-size: 34px; box-shadow: 0 0 42px rgba(215,167,75,.18); }
.guest-challenge-list { margin-top: 26px; display: grid; gap: 10px; }
.guest-challenge-item { width: 100%; min-height: 94px; padding: 12px; display: grid; grid-template-columns: 48px minmax(0,1fr) auto; align-items: center; gap: 11px; color: #f1eadc; text-align: left; background: #111c22; border: 1px solid #34434b; border-radius: 14px; }
.guest-challenge-item > span:first-child { width: 48px; height: 48px; display: grid; place-items: center; color: #efc875; background: #252b2b; border-radius: 13px; font-size: 22px; }
.guest-challenge-item > span:nth-child(2) { min-width: 0; display: grid; gap: 4px; }
.guest-challenge-item small { color: #d2aa55; font-size: 14px; font-weight: 900; letter-spacing: .1em; }
.guest-challenge-item strong { overflow: hidden; font: 750 19px/1.1 Georgia,serif; text-overflow: ellipsis; white-space: nowrap; }
.guest-challenge-item i { color: #96a2a8; font-size: 14px; font-style: normal; }
.guest-challenge-item > b { color: #e4bd67; font-size: 14px; white-space: nowrap; }
.guest-challenge-detail-card { margin-top: 25px; padding: 16px; background: #101a20; border: 1px solid #35434b; border-radius: 17px; }
.guest-challenge-deadline { margin: -16px -16px 17px; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 14px; color: #0c1912; background: #6dcc8e; border-radius: 16px 16px 0 0; }
.guest-challenge-deadline.is-expired { color: #fff1f1; background: #8f3140; }
.guest-challenge-deadline span { font-size: 14px; font-weight: 950; letter-spacing: .09em; }
.guest-challenge-deadline strong { font-size: 14px; text-align: right; }
.guest-challenge-detail-card .notification-rich-copy { color: #e9e3d7; }
.guest-challenge-key,.guest-challenge-reward { margin-top: 12px; padding: 13px; display: grid; gap: 5px; background: #17242b; border: 1px solid #34434b; border-radius: 11px; }
.guest-challenge-key small,.guest-challenge-reward small { color: #d9ad55; font-size: 14px; font-weight: 950; letter-spacing: .11em; }
.guest-challenge-key strong,.guest-challenge-reward strong { font-size: 14px; line-height: 1.35; }
.guest-challenge-empty-copy { color: #aeb7bb; line-height: 1.5; }
.guest-challenge-pending { margin-top: 17px; padding: 20px 14px; display: grid; justify-items: center; gap: 7px; color: #aeb7bb; text-align: center; background: #0b1419; border: 1px dashed #48545a; border-radius: 13px; }
.guest-challenge-pending > span { color: #e4bc65; font-size: 28px; }
.guest-challenge-pending strong { color: #eee8dc; font-size: 14px; letter-spacing: .08em; }
.guest-challenge-pending p { max-width: 380px; margin: 0; font-size: 14px; line-height: 1.5; }
.game-admin-entry { width: 100%; min-height: 60px; margin: 10px 0 0; padding: 9px 13px; display: grid; grid-template-columns: 38px minmax(0,1fr) 20px; align-items: center; gap: 10px; color: #f4d58d; text-align: left; background: linear-gradient(135deg,#151f25,#0e171c); border: 1px solid #75613a; border-radius: 12px; }
.game-admin-entry > span:first-child { width: 38px; height: 38px; display: grid; place-items: center; color: #f0c86d; background: #272a29; border-radius: 50%; }
.game-admin-entry > span:nth-child(2) { min-width: 0; display: grid; gap: 3px; }
.game-admin-entry small { color: #9da8ad; font-size: 14px; font-weight: 900; letter-spacing: .13em; }
.game-admin-entry strong { overflow: hidden; font-size: 14px; letter-spacing: .055em; text-overflow: ellipsis; white-space: nowrap; }
.game-admin-entry i { color: #dcb45f; font-size: 28px; font-style: normal; line-height: 1; }
.game-admin-screen { position: relative; width: min(100%,540px); min-height: 100dvh; margin: 0 auto; padding: max(78px,calc(env(safe-area-inset-top) + 58px)) 16px max(30px,env(safe-area-inset-bottom)); color: #f4eee0; background: radial-gradient(circle at 50% 0,rgba(178,123,35,.17),transparent 28rem),#071016; }
.game-admin-screen .guest-back-button { position: fixed; z-index: 5; top: max(14px,env(safe-area-inset-top)); right: max(14px,env(safe-area-inset-right)); padding: 11px 17px; color: #111b20; background: #e2ae47; border: 0; border-radius: 999px; font-size: 17px; font-weight: 900; }
.game-admin-hero { text-align: center; }
.game-admin-hero .guest-flow-kicker { margin: 0; color: #d9ad55; }
.game-admin-hero h1 { margin: 11px auto 9px; font: 850 clamp(35px,9vw,50px)/.96 Georgia,serif; text-wrap: balance; }
.game-admin-hero > p:last-child { max-width: 420px; margin: 0 auto; color: #aeb9bd; font-size: 15px; line-height: 1.45; }
.game-admin-kpis { margin: 24px 0 18px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.game-admin-kpis article { min-width: 0; min-height: 116px; padding: 13px; display: grid; grid-template-columns: 34px 1fr; grid-template-rows: 1fr auto; align-items: center; column-gap: 10px; text-align: left; background: #111c22; border: 1px solid #344149; border-radius: 14px; }
.game-admin-kpis span { grid-row: 1 / 3; width: 34px; height: 34px; display: grid; place-items: center; color: #efc875; background: #242927; border-radius: 50%; }
.game-admin-kpis strong { align-self: end; color: #f7f0e3; font: 850 31px/1 Georgia,serif; }
.game-admin-kpis small { align-self: start; margin-top: 5px; color: #9fabad; font-size: 14px; font-weight: 900; line-height: 1.25; letter-spacing: .055em; }
.game-admin-menu { display: grid; gap: 10px; }
.game-admin-menu > button { width: 100%; min-height: 86px; padding: 13px; display: grid; grid-template-columns: 48px minmax(0,1fr) 20px; align-items: center; gap: 12px; color: #f5eee1; text-align: left; background: linear-gradient(135deg,#142129,#0e171c); border: 1px solid #3a4850; border-radius: 14px; }
.game-admin-menu > button:last-child { border-color: #826936; }
.game-admin-menu-icon { width: 48px; height: 48px; display: grid; place-items: center; color: #efc875; background: #252b2b; border-radius: 13px; font-size: 22px; }
.game-admin-menu > button > span:nth-child(2) { min-width: 0; display: grid; gap: 5px; }
.game-admin-menu strong { font: 800 23px/1 Georgia,serif; }
.game-admin-menu small { overflow: hidden; color: #aeb7bb; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.game-admin-menu i { color: #e0b65e; font-size: 30px; font-style: normal; }
.game-admin-subpage .game-admin-hero h1 { margin-top: 11px; }
.game-admin-player-list { margin-top: 22px; display: grid; gap: 9px; }
.game-admin-player { min-width: 0; padding: 11px; display: grid; grid-template-columns: 58px minmax(0,1fr); gap: 11px; align-items: center; background: #111c22; border: 1px solid #334149; border-radius: 14px; }
.game-admin-player > img,.game-admin-player-fallback { width: 58px; height: 58px; grid-row: 1 / 3; display: grid; place-items: center; object-fit: cover; color: #efc875; background: #26343c; border: 2px solid #826a39; border-radius: 50%; font: 850 19px/1 Georgia,serif; }
.game-admin-player > div { min-width: 0; display: grid; gap: 4px; text-align: left; }
.game-admin-player > div strong { overflow: hidden; font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
.game-admin-player > div small { color: #909ca2; font-size: 14px; font-weight: 900; letter-spacing: .08em; }
.game-admin-player ul { grid-column: 2; margin: 1px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 5px; list-style: none; }
.game-admin-player li { padding: 5px 7px; color: #d8c798; background: #29261c; border: 1px solid #584b2b; border-radius: 999px; font-size: 14px; font-weight: 900; letter-spacing: .04em; }
.game-admin-player li.is-ready { color: #b9e8ca; background: #162b21; border-color: #315c42; }
.game-admin-player li.is-alert { color: #f0a3ad; background: #321920; border-color: #71303a; }
.game-admin-player.is-eliminated { opacity: .64; filter: saturate(.55); }
.game-admin-empty { min-height: 190px; padding: 28px; display: grid; place-content: center; justify-items: center; gap: 11px; color: #aeb7bb; text-align: center; background: #101a20; border: 1px dashed #3b484e; border-radius: 16px; }
.game-admin-empty > span { color: #efc875; font-size: 38px; }
.game-admin-empty > strong { color: #eee7da; font: 800 24px/1.1 Georgia,serif; }
.game-admin-empty > p { max-width: 360px; margin: 0; line-height: 1.5; }
.game-admin-challenges-empty { margin-top: 26px; min-height: 280px; }
.game-production-challenges { margin-top: 24px; display: grid; gap: 9px; }
.game-production-challenge { min-width: 0; padding: 11px; display: grid; grid-template-columns: 44px minmax(0,1fr) auto; align-items: center; gap: 11px; background: #111c22; border: 1px solid #344149; border-radius: 13px; }
.game-production-challenge > span { width: 44px; height: 44px; display: grid; place-items: center; color: #efc875; background: #252b2b; border-radius: 12px; font-size: 21px; }
.game-production-challenge > div { min-width: 0; display: grid; gap: 4px; }
.game-production-challenge small { color: #d6ad55; font-size: 14px; font-weight: 900; letter-spacing: .08em; }
.game-production-challenge strong { overflow: hidden; color: #f4eee1; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.game-production-challenge p { margin: 0; overflow: hidden; color: #96a2a8; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.game-production-challenge button { min-height: 38px; padding: 0 10px; color: #111b20; background: #e2ae47; border: 0; border-radius: 9px; font-size: 14px; font-weight: 950; }
.game-production-challenge > b { min-width: 38px; padding: 8px; color: #8fe0a9; background: #183025; border-radius: 9px; font-size: 14px; text-align: center; }
.game-vote-screen { position: relative; width: min(100%,540px); min-height: 100dvh; margin: 0 auto; padding: max(82px,calc(env(safe-area-inset-top) + 60px)) 18px max(30px,env(safe-area-inset-bottom)); color: #f4eee0; background: radial-gradient(circle at 50% 0,rgba(178,123,35,.16),transparent 30rem),#071016; }
.game-vote-screen .guest-back-button { position: fixed; z-index: 5; top: max(14px,env(safe-area-inset-top)); right: max(14px,env(safe-area-inset-right)); color: #111b20; background: #e2ae47; border: 0; border-radius: 999px; padding: 11px 17px; font-size: 17px; font-weight: 900; }
.game-vote-hero { text-align: center; }
.game-vote-hero h1 { margin: 12px auto; font: 800 clamp(32px,9vw,52px)/1.02 Georgia,serif; }
.game-vote-hero > p:last-child { color: #aeb9bd; font-size: 17px; line-height: 1.5; }
.production-controls { margin: 0 0 18px; padding: 13px; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #e8d4a1; background: #17242b; border: 1px solid #75613a; border-radius: 13px; }
.production-controls span { font-size: 14px; font-weight: 900; letter-spacing: .13em; }
.production-controls > div { display: flex; gap: 6px; }
.production-controls button { padding: 10px 12px; color: #102027; background: #e2ae47; border: 0; border-radius: 9px; font-weight: 900; }
.game-candidate-grid { margin: 24px 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.game-candidate { position: relative; min-width: 0; padding: 8px 7px 11px; display: grid; justify-items: center; gap: 7px; color: #eef0e9; background: #111c22; border: 1px solid #314049; border-radius: 13px; }
.game-candidate img,.game-candidate > span { width: 100%; aspect-ratio: 1; object-fit: cover; display: grid; place-items: center; color: #d8b76f; background: #24323a; border-radius: 9px; font: 800 24px/1 Georgia,serif; }
.game-candidate strong { width: 100%; overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.game-candidate i { position: absolute; top: 4px; right: 4px; width: 25px; height: 25px; display: none; place-items: center; color: #09140d; background: #68ca88; border-radius: 50%; font-style: normal; font-weight: 900; }
.game-candidate.is-selected { border-color: #70d08e; box-shadow: 0 0 0 2px rgba(112,208,142,.22); }
.game-candidate.is-selected i { display: grid; }
.game-primary-button { width: 100%; margin-top: 18px; padding: 18px; color: #11191d; background: #e0ad47; border: 0; border-radius: 13px; font-size: 18px; font-weight: 950; letter-spacing: .06em; }
.game-primary-button:disabled { opacity: .4; }
.game-result-panel { margin-top: 24px; padding: 14px; display: grid; gap: 10px; background: #101b21; border: 1px solid #34434b; border-radius: 16px; }
.game-result-panel h2 { margin: 4px; font-family: Georgia,serif; }
.game-result-panel > div { padding: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; background: #17242b; border-radius: 11px; }
.game-result-panel > div > span:not(.game-result-rank) { margin-left: auto; color: #aeb7bb; }
.game-result-person small { color: #aeb7bb; }
.game-result-person b { margin-left: auto; color: #e0bc6a; letter-spacing: .08em; }
.game-result-person b.is-traitor { color: #ef5967; }
.game-result-rank { color: #dbae4f; font: 800 18px/1 Georgia,serif; }
.game-eliminated-notice { margin-top: 18px; padding: 14px; color: #dfcdb0; text-align: center; background: #301920; border: 1px solid #77303b; border-radius: 12px; }
.game-winner-screen.is-guardians { background: radial-gradient(circle at 50% 20%,rgba(215,167,75,.3),transparent 28rem),#071016; }
.game-winner-screen.is-traitors { background: radial-gradient(circle at 50% 20%,rgba(190,34,54,.32),transparent 28rem),#09070a; }
@media (max-width: 900px) { .game-config-grid { grid-template-columns: 1fr; } }
@media (max-width: 820px) { .game-round-layout,.challenge-manager-layout { grid-template-columns: 1fr; } .game-round-form,.challenge-editor { position: static; max-height: none; } }
@keyframes role-breathe { 0%, 100% { transform: scale(.91); opacity: .76; } 50% { transform: scale(1.06); opacity: 1; } }
@keyframes waiting-pulse { 0%, 100% { opacity: .3; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.25); } }
@media (prefers-reduced-motion: reduce) { .secret-identity-card h1, .role-waiting-pulse::before { animation: none; } }

.profile-question-layout { align-items: start; }
.profile-question-layout > .form-card { position: sticky; top: 142px; }
.profile-question-card.is-inactive { background: #f8f8f6; border-style: dashed; }
.question-card-heading { margin-bottom: 12px; display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.question-card-heading small { margin-left: auto; color: var(--muted); font-size: 14px; }
.question-position { width: 27px; height: 27px; display: grid; place-items: center; color: var(--navy); background: var(--gold-soft); border: 1px solid #e4c885; border-radius: 50%; font-size: 14px; font-weight: 800; }
.profile-question-card h3 { margin-bottom: 8px; overflow-wrap: anywhere; }
.question-clue-preview { margin: 0 0 10px; padding: 10px 12px; color: #66532d; background: var(--gold-soft); border-radius: 10px; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.question-options-preview { margin: 0 0 15px; color: var(--muted); font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.question-card-actions { padding-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--line); }
.question-edit-form { margin-top: 16px; padding-top: 17px; border-top: 1px solid var(--line); }
.question-edit-form .form-actions { margin-top: 0; }

.guest-config-page { min-height: 100dvh; color: #f2ede3; background: #081016; }
.guest-config-hero { min-height: 32dvh; padding: max(80px, env(safe-area-inset-top)) 22px 28px; display: flex; align-items: flex-end; background: linear-gradient(180deg, rgba(4,9,13,.18), #081016), url('/assets/event-facade.webp') center/cover; }
.guest-config-hero h1 { margin: 0; font: 700 clamp(31px, 8vw, 46px)/1 Georgia, serif; }
.guest-config-hero p:last-child { margin: 11px 0 0; color: #c1c8cb; }
.guest-config-content { width: min(620px, calc(100% - 28px)); margin: 0 auto; padding: 20px 0 55px; }
.guest-back { min-height: 46px; margin-bottom: 14px; padding: 9px 16px; color: #f4d691; background: #111b21; border: 1px solid #745f37; border-radius: 999px; font-size: 17px; font-weight: 800; }
.guest-config-content .card { color: #f2ede3; background: #101a20; border-color: #29363d; box-shadow: none; }
.guest-config-content .field label, .guest-config-content .card p { color: #aeb8bd; }
.guest-config-content .field input, .guest-config-content .field textarea { color: #f2ede3; background: #0b1419; border-color: #2a373e; }
.guest-config-content .profile-photo { color: #9ba7ad; background: #0b1419; border-color: #7f6a3e; }
.guest-hero { margin-top: 14px; padding: 28px; color: white; background: var(--navy); border-radius: 24px; box-shadow: var(--shadow); }
.guest-hero h1 { margin: 7px 0 12px; font: 700 clamp(33px, 8vw, 54px)/1 Georgia, serif; }
.guest-hero p { margin: 0; color: #cbd3d8; line-height: 1.55; }
.guest-hero .event-facts { margin-top: 24px; }
.guest-stack { margin-top: 16px; display: grid; gap: 14px; }
.welcome { padding: 24px; background: var(--card); border: 1px solid white; border-radius: 20px; }
.welcome h2 { margin: 0; font: 700 26px/1.15 Georgia, serif; }
.welcome p { color: var(--muted); line-height: 1.55; }
.rsvp-buttons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rsvp-buttons .button.selected { box-shadow: 0 0 0 3px rgba(215,167,75,.38); }
.profile-photo { width: 94px; height: 94px; overflow: hidden; display: grid; place-items: center; color: var(--muted); background: #eae6dd; border: 1px dashed #a8a397; border-radius: 26px; }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.role-card { position: relative; overflow: hidden; color: white; background: linear-gradient(135deg, #192834, #263d4d); }
.role-card::after { content: ""; position: absolute; right: -55px; bottom: -80px; width: 220px; height: 220px; border: 1px solid rgba(215,167,75,.35); border-radius: 50%; }
.role-card > * { position: relative; z-index: 1; }
.role-card p { color: #ccd5da; line-height: 1.55; }

.login-page { min-height: 100vh; padding: 26px; display: grid; place-items: center; }
.login-card { width: min(440px, 100%); padding: 34px; text-align: center; background: rgba(255,255,255,.9); border: 1px solid white; border-radius: 26px; box-shadow: var(--shadow); }
.login-card .brand-mark { margin: 0 auto 23px; }
.login-card h1 { margin: 0; font: 700 34px/1 Georgia, serif; }
.login-card p { color: var(--muted); line-height: 1.5; }
.login-card .field { margin-top: 22px; text-align: left; }
.login-card .button { width: 100%; margin-top: 10px; }
.demo-note { padding: 10px; color: #765b21; background: var(--gold-soft); border-radius: 10px; font-size: 14px; }

.empty { padding: 34px; color: var(--muted); background: rgba(255,255,255,.55); border: 1px dashed #bbb5a9; border-radius: 16px; text-align: center; }
.toast { position: fixed; z-index: 60; right: 18px; bottom: 18px; max-width: min(390px, calc(100% - 36px)); padding: 13px 16px; color: white; background: var(--navy); border-radius: 12px; box-shadow: var(--shadow); opacity: 0; transform: translateY(12px); pointer-events: none; transition: .2s ease; font-size: 14px; }
.toast.show { opacity: 1; transform: translateY(0); }
.toast.error { background: var(--red); }

.notification-privacy-gate { position: relative; min-height: 100dvh; padding: max(36px, env(safe-area-inset-top)) 22px max(30px, env(safe-area-inset-bottom)); display: grid; place-items: center; overflow: hidden; color: #fff5eb; background: radial-gradient(circle at 50% 24%, rgba(167,24,48,.44), transparent 37%), linear-gradient(155deg, #10070b, #030608 74%); text-align: center; }
.notification-privacy-gate::before, .notification-privacy-gate::after { content: ""; position: absolute; width: min(84vw, 460px); aspect-ratio: 1; border: 1px solid rgba(210,55,81,.22); transform: rotate(45deg); }
.notification-privacy-gate::before { top: -46%; left: -30%; }
.notification-privacy-gate::after { right: -34%; bottom: -46%; }
.notification-privacy-gate > section { position: relative; z-index: 1; width: 100%; min-width: 0; max-width: 520px; }
.notification-secret-symbol { width: 84px; height: 84px; margin: 0 auto 24px; display: grid; place-items: center; color: #ff657d; background: rgba(126,14,34,.24); border: 1px solid rgba(255,89,115,.58); transform: rotate(45deg); box-shadow: 0 0 48px rgba(174,20,46,.3); font-size: 37px; }
.notification-secret-symbol span { display: block; transform: rotate(-45deg); }
.notification-privacy-gate h1 { max-width: 100%; margin: 12px 0 26px; color: #fff7ef; font: 900 clamp(34px, 9.4vw, 58px)/.92 Georgia, serif; letter-spacing: .015em; overflow-wrap: normal; text-shadow: 0 8px 34px rgba(0,0,0,.65); }
.notification-secret-warning { width: 100%; min-width: 0; padding: 19px 20px; display: grid; gap: 9px; color: #ff8295; background: rgba(111,10,29,.32); border: 1px solid rgba(255,87,113,.48); border-radius: 17px; }
.notification-secret-warning strong { max-width: 100%; font-size: clamp(16px, 4.2vw, 22px); font-weight: 950; line-height: 1.22; letter-spacing: .045em; overflow-wrap: anywhere; }
.notification-secret-warning span { color: #f0cbd0; font-size: 16px; line-height: 1.42; }
.notification-secret-open { width: 100%; min-height: 68px; margin-top: 24px; color: #fff7f1; background: linear-gradient(135deg, #a91e38, #681124); border: 1px solid #e3536b; border-radius: 15px; box-shadow: 0 15px 42px rgba(120,13,33,.34); font-size: 18px; font-weight: 950; letter-spacing: .075em; }
.notification-privacy-gate .notification-secondary-action { color: #d8b7bc; }
.notification-privacy-banner { margin: -10px 0 25px; padding: 11px 14px; display: grid; gap: 3px; color: #80d8aa; background: rgba(35,135,88,.13); border: 1px solid rgba(65,174,119,.42); border-radius: 12px; text-align: center; }
.notification-privacy-banner strong { font-size: 14px; font-weight: 950; letter-spacing: .08em; }
.notification-privacy-banner span { color: #b8d8c8; font-size: 14px; }
.notification-destination { min-height: 100dvh; padding: max(28px, env(safe-area-inset-top)) 22px max(28px, env(safe-area-inset-bottom)); display: grid; place-items: center; overflow: hidden; color: #f7f0df; background: radial-gradient(circle at 50% 12%, rgba(211,165,78,.17), transparent 36%), #071117; }
.notification-destination::before { content: ""; position: fixed; inset: 0; pointer-events: none; background: linear-gradient(135deg, transparent 0 47%, rgba(220,178,94,.07) 48% 49%, transparent 50% 100%); background-size: 48px 48px; mask-image: linear-gradient(to bottom, rgba(0,0,0,.45), transparent 75%); }
.notification-destination.is-private { background: radial-gradient(circle at 50% 5%, rgba(126,19,35,.42), transparent 40%), #06090d; }
.notification-destination > section { position: relative; z-index: 1; width: min(100%, 560px); }
.notification-message-card { padding: clamp(34px, 8vw, 62px) clamp(26px, 7vw, 54px); border: 1px solid rgba(224,184,106,.46); border-radius: 4px 32px 4px 32px; background: linear-gradient(145deg, rgba(24,35,41,.96), rgba(8,16,21,.98)); box-shadow: 0 28px 80px rgba(0,0,0,.58), inset 0 0 70px rgba(213,169,85,.05); }
.is-private .notification-message-card { border-color: rgba(157,45,62,.72); box-shadow: 0 28px 90px rgba(0,0,0,.7), inset 0 0 80px rgba(132,23,40,.12); }
.notification-message-card h1, .notification-qr-hero h1 { margin: 14px 0 24px; color: #fff8e9; font: 700 clamp(38px, 10vw, 64px)/.98 Georgia, serif; text-wrap: balance; }
.notification-rich-copy { color: #e5ded0; font-size: clamp(18px, 4.8vw, 22px); line-height: 1.58; }
.notification-rich-copy h1, .notification-rich-copy h2, .notification-rich-copy h3 { color: #edca83; font-family: Georgia, serif; line-height: 1.12; }
.notification-rich-copy p:first-child { margin-top: 0; }
.notification-rich-copy p:last-child { margin-bottom: 0; }
.notification-rich-copy li + li { margin-top: 9px; }
.notification-rich-copy .challenge-shared-media { width: calc(100% + 20px); margin: 24px -10px; overflow: hidden; background: #03070a; border: 1px solid rgba(224,184,106,.38); border-radius: 16px; box-shadow: 0 18px 46px rgba(0,0,0,.44); }
.notification-rich-copy .challenge-shared-media img { width: 100%; max-height: 58dvh; display: block; object-fit: contain; background: #03070a; }
.notification-rich-copy .challenge-shared-media.is-photo button { width: 100%; padding: 0; display: block; background: transparent; border: 0; cursor: zoom-in; }
.notification-rich-copy .challenge-shared-media.is-audio { padding: 24px 18px; }
.notification-rich-copy .challenge-shared-media audio { width: 100%; display: block; }
.notification-message-card > button, .notification-destination.is-error button, .notification-primary-action { width: 100%; min-height: 66px; margin-top: 34px; border: 1px solid #f1ca7b; border-radius: 14px; color: #11191e; background: linear-gradient(135deg, #f0cb7f, #c99639); font-size: 18px; font-weight: 900; letter-spacing: .08em; }
.is-private .notification-message-card > button { border-color: #c85568; color: #fff7ed; background: linear-gradient(135deg, #8e1d31, #58101e); }
.notification-destination.is-error section { padding: 36px; text-align: center; border: 1px solid rgba(224,184,106,.35); border-radius: 24px; background: #101a20; }
.notification-destination.is-error h1 { font: 700 42px/1 Georgia, serif; }
.notification-qr-hero { text-align: center; }
.notification-qr-hero h1 { margin-bottom: 16px; }
.notification-qr-feedback { max-width: 470px; min-height: 86px; margin: 0 auto 24px; padding: 15px 18px; display: grid; place-content: center; gap: 6px; color: #e8c879; background: rgba(218,177,91,.08); border: 1px solid rgba(218,177,91,.32); border-radius: 16px; text-align: center; transition: color .25s, background .25s, border-color .25s, transform .25s; }
.notification-qr-feedback strong { font-size: clamp(20px, 5vw, 28px); font-weight: 950; letter-spacing: .07em; line-height: 1; }
.notification-qr-feedback span { color: #d4ccbd; font-size: clamp(18px, 4.6vw, 21px); line-height: 1.4; }
.notification-qr-feedback[data-status="scanning"] { color: #ffd98b; background: rgba(218,177,91,.13); border-color: rgba(239,199,121,.62); }
.notification-qr-feedback[data-status="error"] { color: #ff7182; background: rgba(150,22,43,.25); border-color: rgba(255,83,108,.7); transform: scale(1.025); }
.notification-qr-feedback[data-status="error"] span { color: #ffd8dd; }
.notification-qr-feedback[data-status="success"] { color: #8df0b4; background: rgba(24,133,75,.23); border-color: rgba(92,224,144,.72); transform: scale(1.035); }
.notification-qr-feedback[data-status="success"] span { color: #d7f8e4; }
.notification-qr-reader { position: relative; display: grid; justify-items: center; }
.notification-qr-reader video { display: none; width: min(100%, 470px); aspect-ratio: 1; object-fit: cover; border-radius: 22px; background: #000; box-shadow: 0 22px 70px rgba(0,0,0,.5); }
.notification-qr-reader.is-active video { display: block; }
.notification-qr-frame { display: none; position: absolute; top: 0; width: min(100%, 470px); aspect-ratio: 1; pointer-events: none; background: linear-gradient(rgba(0,0,0,.28), rgba(0,0,0,.28)); border-radius: 22px; }
.notification-qr-reader.is-active .notification-qr-frame { display: block; }
.notification-qr-frame::after { content: ""; position: absolute; inset: 17%; border: 2px solid rgba(239,199,121,.95); box-shadow: 0 0 0 999px rgba(0,0,0,.2); border-radius: 14px; }
.notification-qr-frame i { position: absolute; z-index: 1; width: 42px; height: 42px; border-color: #ffe0a0; }
.notification-qr-frame i:nth-child(1) { top: 17%; left: 17%; border-top: 5px solid; border-left: 5px solid; border-radius: 12px 0 0; }
.notification-qr-frame i:nth-child(2) { top: 17%; right: 17%; border-top: 5px solid; border-right: 5px solid; border-radius: 0 12px 0 0; }
.notification-qr-frame i:nth-child(3) { bottom: 17%; left: 17%; border-bottom: 5px solid; border-left: 5px solid; border-radius: 0 0 0 12px; }
.notification-qr-frame i:nth-child(4) { right: 17%; bottom: 17%; border-right: 5px solid; border-bottom: 5px solid; border-radius: 0 0 12px; }
.notification-qr-reader > p { margin: 18px 0 0; color: #c8c0b3; font-size: 16px; text-align: center; }
.notification-qr-reader:not(.is-active) > p { display: none; }
.notification-primary-action { max-width: 470px; }
.notification-secondary-action { min-height: 52px; margin-top: 14px; border: 0; color: #e8c476; background: transparent; font-size: 17px; font-weight: 800; }
.notification-qr-reader.is-active .notification-primary-action { display: none; }
.notification-exit-confirm { position: fixed !important; z-index: 30 !important; inset: 0; width: 100% !important; max-width: none !important; padding: 24px; display: grid; place-items: center; }
.notification-exit-backdrop { position: absolute; inset: 0; border: 0; background: rgba(1,5,8,.86); backdrop-filter: blur(9px); }
.notification-exit-confirm article { position: relative; width: min(100%, 440px); padding: 30px 24px 24px; display: grid; justify-items: center; color: #f8efe1; background: linear-gradient(155deg, #17242b, #091116); border: 1px solid rgba(230,183,91,.55); border-radius: 22px; box-shadow: 0 28px 90px rgba(0,0,0,.75); text-align: center; }
.notification-exit-confirm article > span { width: 58px; height: 58px; margin-bottom: 16px; display: grid; place-items: center; color: #10171b; background: #e7b95d; border-radius: 50%; font-size: 34px; font-weight: 950; }
.notification-exit-confirm h2 { margin: 9px 0 15px; color: #fff7e9; font: 700 clamp(29px, 7.8vw, 40px)/1.04 Georgia, serif; text-wrap: balance; }
.notification-exit-confirm p:not(.guest-flow-kicker) { margin: 0 0 24px; color: #ddd4c5; font-size: 18px; line-height: 1.5; }
.notification-exit-confirm p strong { color: #ffcf72; }
.notification-exit-confirm article button { width: 100%; min-height: 58px; border-radius: 13px; font-size: 17px; font-weight: 900; letter-spacing: .045em; }
.notification-exit-continue { color: #10181c; background: linear-gradient(135deg, #f0cb7f, #ca9639); border: 1px solid #f4d695; }
.notification-exit-leave { margin-top: 10px; color: #ff9bab; background: rgba(125,20,39,.22); border: 1px solid rgba(226,75,99,.55); }
.notification-layout [data-notification-qr-fields][hidden] { display: none; }

.guest-challenge-result { margin-top: 20px; padding: 22px; display: grid; justify-items: center; gap: 7px; color: #d9d3c7; background: #111c22; border: 1px solid #35434a; border-radius: 16px; text-align: center; }
.guest-challenge-result > span { width: 48px; height: 48px; display: grid; place-items: center; color: #0c1712; background: #72d094; border-radius: 50%; font-size: 26px; font-weight: 900; }
.guest-challenge-result strong { color: #efcf88; font-size: 19px; letter-spacing: .07em; }
.guest-challenge-result p { margin: 0; line-height: 1.45; }
.guest-challenge-result.is-submitted > span { color: #1a160d; background: #e0ae4e; }
.guest-challenge-result.is-expired > span { color: #fff; background: #a92e42; }
.guest-challenge-result.is-failed { border-color: #8e2940; background: #241016; }
.guest-challenge-result.is-failed > span { color: #fff; background: #b32643; }
.guest-challenge-result button { margin-top: 7px; padding: 11px 16px; color: #f1cf83; background: transparent; border: 1px solid #8b713d; border-radius: 10px; font-weight: 850; }
.guest-challenge-result .acknowledge-result { margin-top: 15px; padding: 14px 16px; color: #10191e; background: linear-gradient(135deg,#f0cf82,#d4a143); border: 1px solid #f8dc99; font-size: 16px; }
.guest-challenge-item.has-unread-result { border-color: #e2b95f; box-shadow: 0 0 0 2px rgba(226,185,95,.16), 0 12px 28px rgba(0,0,0,.2); }
.guest-challenge-result audio { width: 100%; margin-top: 8px; }
.guest-challenge-exclusive-clue { width: 100%; margin-top: 12px; padding: 17px; display: grid; gap: 7px; color: #efe8dc; background: linear-gradient(145deg, #29121a, #121d23); border: 1px solid #bd4b63; border-radius: 14px; text-align: left; }
.guest-challenge-exclusive-clue small { color: #ef7189; font-size: 14px; font-weight: 950; letter-spacing: .16em; }
.guest-challenge-exclusive-clue p { font-size: 14px; }
.guest-challenge-exclusive-clue strong { color: #fff6e5; font-family: Georgia, serif; font-size: 18px; line-height: 1.3; letter-spacing: 0; }
.guest-challenge-exclusive-clue b { color: #efcf88; font-size: 20px; line-height: 1.25; }
.guest-challenge-exclusive-clue i { color: #aeb8bd; font-size: 14px; font-style: normal; }
.guest-challenge-exclusive-clue.is-unavailable { border-color: #6b5b39; }
.guest-challenge-exclusive-clue.is-cipher b { padding: 12px; color: #f3d48d; background: rgba(4,10,14,.45); border: 1px solid rgba(239,207,136,.32); border-radius: 10px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: clamp(18px,5vw,25px); line-height: 1.55; letter-spacing: .08em; text-align: center; }
.challenge-exclusive-clue small { display: block; margin: 8px 0 0 29px; color: #6b7780; line-height: 1.45; }
.challenge-exclusive-clue select { width: calc(100% - 29px); margin: 10px 0 0 29px; }
.guest-hieroglyph { margin-top: 18px; display: grid; gap: 16px; }
.guest-hieroglyph-image { position: relative; width: 100%; min-height: 220px; padding: 0; display: grid; place-items: center; overflow: hidden; color: #101820; background: #f8f5ed; border: 2px solid #d6b462; border-radius: 16px; box-shadow: 0 16px 38px rgba(0,0,0,.32); cursor: zoom-in; }
.guest-hieroglyph-image img { display: block; width: 100%; max-height: 68dvh; object-fit: contain; background: #f8f5ed; }
.guest-hieroglyph-expand { position: absolute; right: 10px; bottom: 10px; padding: 8px 10px; color: #fff3d2; background: rgba(5,12,16,.82); border: 1px solid rgba(239,207,136,.45); border-radius: 999px; font-size: 12px; font-weight: 900; letter-spacing: .06em; }
.guest-hieroglyph-missing { max-width: 280px; padding: 30px 20px; color: #8f263b; font-size: 20px; font-weight: 850; line-height: 1.35; text-align: center; }
.guest-hieroglyph-hint { width: 100%; margin-top: 0; padding: clamp(20px,6vw,30px); gap: 10px; border-color: #d7a74b; border-radius: 16px; text-align: center; box-shadow: 0 14px 34px rgba(0,0,0,.22); }
.guest-hieroglyph-hint small { font-size: clamp(15px,4.5vw,19px); }
.guest-hieroglyph-hint strong { color: #fff3d6; font: 700 clamp(25px,7.5vw,38px)/1.18 Georgia,serif; text-wrap: balance; }
.guest-challenge-form { margin-top: 20px; display: grid; gap: 13px; }
.guest-challenge-repeat { margin: 14px 0; padding: 13px 15px; display: grid; gap: 4px; color: #ffd9c3; background: rgba(164,78,35,.23); border: 1px solid #a9602d; border-radius: 12px; }
.guest-challenge-repeat strong { color: #f2a45f; font-size: 14px; letter-spacing: .09em; }
.guest-challenge-form > label { color: #e8c979; font-size: 14px; font-weight: 900; letter-spacing: .1em; }
.guest-challenge-form > input { min-height: 62px; padding: 0 18px; color: #f8f0df; background: #081116; border: 1px solid #75613b; border-radius: 13px; font-size: 24px; text-align: center; letter-spacing: .1em; }
.guest-challenge-form > button,.guest-challenge-primary { width: 100%; min-height: 62px; color: #111a1f; background: linear-gradient(135deg,#efca7c,#c99437); border: 0; border-radius: 13px; font-size: 17px; font-weight: 950; letter-spacing: .06em; }
.guest-challenge-answers fieldset { padding: 16px; border: 1px solid #344249; border-radius: 14px; }
.guest-challenge-answers legend { width: 100%; padding: 0; color: #f5eddd; font: 700 19px/1.3 Georgia,serif; }
.guest-challenge-answers legend small { display: block; margin-bottom: 5px; color: #ddb65e; font: 900  14px/1.2 system-ui,sans-serif; letter-spacing: .1em; }
.guest-challenge-answers fieldset > div { margin-top: 13px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.guest-challenge-answers label { min-width: 0; }
.guest-challenge-answers label input { position: absolute; opacity: 0; pointer-events: none; }
.guest-challenge-answers label span { min-height: 52px; padding: 9px; display: grid; place-items: center; color: #dfe2dc; background: #121e24; border: 1px solid #34444d; border-radius: 10px; text-align: center; font-weight: 800; }
.guest-challenge-answers label input:checked + span { color: #121a1f; background: #e2b254; border-color: #f2d491; }
.guest-challenge-screen.has-capture-countdown { padding-top: calc(max(72px, calc(env(safe-area-inset-top) + 58px)) + 82px); }
.guest-challenge-countdown { position: fixed; top: max(72px, calc(env(safe-area-inset-top) + 58px)); left: 50%; z-index: 40; width: min(calc(100% - 28px), 520px); margin: 0; padding: 10px 16px; display: grid; justify-items: center; gap: 2px; color: #ffe4aa; background: rgba(31,19,11,.97); border: 1px solid #d6a343; border-radius: 14px; box-shadow: 0 12px 34px rgba(0,0,0,.55); backdrop-filter: blur(12px); transform: translateX(-50%); }
.guest-challenge-countdown small { font-size: 14px; font-weight: 950; letter-spacing: .15em; }
.guest-challenge-countdown strong { color: #ffd174; font: 900 clamp(32px,10vw,48px)/1 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing: .045em; font-variant-numeric: tabular-nums; }
.guest-challenge-countdown span { color: #cfc5b5; font-size: 14px; text-align: center; }
.guest-challenge-countdown.is-urgent { color: #ffb0ba; background: rgba(77,10,24,.98); border-color: #f14f68; animation: challenge-countdown-pulse .72s ease-in-out infinite alternate; }
.guest-challenge-countdown.is-urgent strong { color: #ff7185; }
@keyframes challenge-countdown-pulse { to { box-shadow: 0 0 34px rgba(232,50,80,.55); border-color: #ff8798; } }
.game-production-submission.is-failed { display: grid; gap: 4px; padding: 14px; color: #ffe8eb; background: rgba(104,17,31,.26); border: 1px solid rgba(241,79,104,.5); border-radius: 13px; }
.game-production-submission.is-failed span { color: #ff7185; font-weight: 950; letter-spacing: .08em; }
.game-production-submission.is-failed small { color: #d7c4c7; }
.guest-challenge-camera,.guest-challenge-qr-reader { position: relative; margin-top: 20px; overflow: hidden; aspect-ratio: 1; display: grid; place-items: center; color: #9da7aa; background: #05090b; border: 1px solid #39464c; border-radius: 18px; text-align: center; }
.guest-challenge-camera video,.guest-challenge-camera img,.guest-challenge-qr-reader video { width: 100%; height: 100%; object-fit: cover; }
.guest-challenge-camera video:not([srcObject]) { position: absolute; inset: 0; }
.guest-challenge-camera > span { padding: 20px; }
.guest-challenge-qr-reader .notification-qr-frame { display: block; inset: 0; width: 100%; }
.guest-challenge-capture-actions { margin-top: 12px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.guest-challenge-capture-actions button { min-height: 58px; padding: 10px; color: #f7efe0; background: #152128; border: 1px solid #46535a; border-radius: 12px; font-weight: 900; letter-spacing: .04em; }
.guest-challenge-capture-actions button:disabled { opacity: .45; filter: grayscale(.7); }
.guest-challenge-capture-actions button:only-child { grid-column: 1 / -1; }
.guest-challenge-capture-actions .is-camera,.guest-challenge-capture-actions .is-submit { color: #111a1e; background: #dfae4e; border-color: #edcc86; }
.guest-challenge-capture-actions .is-repeat { color: #fff0dc; background: #a45e24; border-color: #d98a44; }
.guest-challenge-capture-actions .is-stop { color: #fff; background: #a4263c; border-color: #e2546a; }
.guest-challenge-audio { margin-top: 20px; padding: 18px; background: #0b1419; border: 1px solid #35434a; border-radius: 16px; }
.guest-challenge-audio-state { display: flex; align-items: center; gap: 10px; color: #e9c87a; }
.guest-challenge-audio-state span { font-size: 25px; }
.guest-challenge-audio audio { width: 100%; margin-top: 15px; }
.challenge-submissions { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.challenge-submissions h4 { margin: 0 0 10px; }
.challenge-submission { padding: 10px; display: grid; grid-template-columns: minmax(120px,1fr) minmax(100px,180px) auto; align-items: center; gap: 10px; background: #f7f5f0; border-radius: 11px; }
.challenge-submission.is-failed { background: #fff0f2; border: 1px solid #e8a7b2; }
.challenge-submission.is-failed small,.challenge-submission.is-failed .challenge-validated { color: #a9233c; }
.challenge-submission + .challenge-submission { margin-top: 8px; }
.challenge-submission > div:first-child { display: grid; gap: 3px; }
.challenge-submission small { color: var(--muted); font-size: 14px; }
.challenge-submission audio { width: 100%; min-width: 0; }
.challenge-evidence-preview { padding: 0; overflow: hidden; border: 0; border-radius: 8px; }
.challenge-evidence-preview img { width: 100%; height: 72px; display: block; object-fit: cover; }
.challenge-submission-actions { display: flex; gap: 5px; }
.challenge-validated { justify-self: end; color: #318461; font-size: 22px; }
.game-production-challenge { display: block; }
.game-production-challenge-head { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 11px; }
.game-production-submission { margin-top: 12px; padding: 12px; display: grid; gap: 9px; background: #0b1419; border: 1px solid #39464c; border-radius: 12px; }
.game-production-submission audio { width: 100%; }
.game-production-submission > button { padding: 0; overflow: hidden; border: 0; border-radius: 10px; }
.game-production-submission img { width: 100%; max-height: 220px; display: block; object-fit: cover; }
.game-production-submission > div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.game-production-submission > div button { min-height: 48px; color: #111a1e; background: #dfae4e; border: 0; border-radius: 9px; font-weight: 900; }
.game-production-submission > div button.is-reject { color: #f7ece8; background: #8f2d3c; }

@media (max-width: 900px) {
  .metrics, .three-col { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
  .guest-row { grid-template-columns: 1fr 1fr; }
  .guest-row .identity { grid-column: 1 / -1; }
  .row-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .guest-admin-list .guest-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .guest-admin-list .guest-row .identity { grid-column: 1 / -1; }
  .guest-admin-list .row-actions { grid-column: 1 / -1; }
  .guest-add-form .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guest-setup-grid { grid-template-columns: 1fr 1fr; }
  .guest-directory-tools { grid-template-columns: minmax(220px,1fr) repeat(2,minmax(145px,.45fr)); }
  .guest-directory-tools > button { grid-column: 3; }
  .guest-compact-card .guest-editor > summary.guest-compact-summary { grid-template-columns: minmax(170px,1fr) auto 64px; }
  .guest-compact-actions { grid-column: 1 / -1; grid-row: 2; padding-left: 49px; }
  .guest-compact-statuses { grid-column: 2; grid-row: 1; }
  .guest-compact-statuses .status:nth-child(3) { display: none; }
  .guest-danger-zone { grid-template-columns: 1fr 1fr; }
  .guest-danger-zone > button { grid-column: 2; }
}

@media (orientation: landscape) {
  html.pwa-standalone body { overflow: hidden; background: #05090c; }
  html.pwa-standalone body > :not(.portrait-lock-screen):not(script) { visibility: hidden !important; pointer-events: none !important; }
  html.pwa-standalone .portrait-lock-screen { position: fixed; z-index: 10000; inset: 0; min-width: 100vw; min-height: 100dvh; padding: max(24px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left)); display: grid; place-content: center; justify-items: center; gap: 10px; color: #f6ead1; background: radial-gradient(circle at 50% 50%, rgba(215,167,75,.17), transparent 34%), #05090c; text-align: center; }
  html.pwa-standalone .portrait-lock-screen span { color: #e2b75f; font-size: 54px; line-height: 1; transform: rotate(45deg); }
  html.pwa-standalone .portrait-lock-screen strong { color: #efcf8d; font-size: clamp(18px, 4vw, 28px); letter-spacing: .14em; }
  html.pwa-standalone .portrait-lock-screen p { margin: 0; color: #c9c3b8; font-size: clamp(16px, 3vw, 20px); }
}

@media (max-width: 600px) {
  .location-list { grid-template-columns:1fr; }
  .location-manager-body { padding:10px; }
  .location-card > summary { grid-template-columns:46px minmax(0,1fr) auto; }
  .location-card > summary img,.location-placeholder { width:46px; height:46px; }
  .location-card > summary > i { display:none; }
  .challenge-flow { grid-template-columns: 1fr; }
  .challenge-manager-head { align-items: stretch; flex-direction: column; }
  .challenge-manager-head > button { width: 100%; }
  .challenge-editor-heading { padding: 17px; }
  .challenge-editor-heading h3 { font-size: 21px; }
  .challenge-form-step { margin-right: 17px; margin-left: 17px; }
  .challenge-editor > .form-grid { margin-right: 17px; margin-left: 17px; }
  .challenge-editor > .form-actions { margin: 17px; }
  .database-updates .section-head { align-items: flex-start; }
  .database-status-head { grid-template-columns: 1fr; }
  .database-status-head > div:last-child { text-align: left; }
  .database-migration-item { grid-template-columns: 1fr; }
  .database-migration-item .button { width: 100%; }
  .database-check { justify-self: end; }
  .database-backups p { display: grid; gap: 4px; }
  .database-backups p span { flex: initial; }
  .challenge-card-head { grid-template-columns: 42px minmax(0,1fr); }
  .challenge-card-head > strong { grid-column: 2; text-align: left; }
  .challenge-card-meta,.challenge-rule-grid { grid-template-columns: 1fr; }
  .challenge-rule-card > div:first-of-type { display: grid; }
  .challenge-rule-card h3 { text-align: left; }
  .field input, .field textarea, .field select { font-size: 16px; }
  .topbar { height: 64px; padding: 0 14px; }
  .brand-copy span, .mode-chip { display: none; }
  .page { width: min(100% - 20px, 1220px); padding-top: 12px; }
  .hero { min-height: 238px; padding: 26px 21px; border-radius: 20px; }
  .nav-tabs { top: 64px; margin: 12px 0; border-radius: 13px; }
  .metrics, .three-col, .form-grid { grid-template-columns: 1fr; }
  .metric { min-height: auto; }
  .guest-row { grid-template-columns: 1fr; }
  .guest-row .identity, .row-actions { grid-column: auto; }
  .guest-admin-list .guest-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guest-admin-list .guest-row .identity, .guest-admin-list .row-actions { grid-column: 1 / -1; }
  .guest-admin-list .row-actions [data-action="reset-onboarding"] { margin-left: 0; }
  .guest-add-form .form-grid { grid-template-columns: minmax(0, 1fr); }
  .guest-setup-grid { grid-template-columns: 1fr; gap: 9px; }
  .guest-setup-panel > summary { min-height: 70px; padding: 14px 16px; }
  .guest-list-head { margin-top: 26px; }
  .guest-directory-tools { position: static; grid-template-columns: 1fr 1fr; }
  .guest-search-field { grid-column: 1 / -1; }
  .guest-directory-tools > button { grid-column: 1 / -1; }
  .guest-compact-card .guest-editor > summary.guest-compact-summary { min-height: 58px; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
  .guest-compact-summary .avatar { width: 34px; height: 34px; }
  .guest-compact-actions { grid-column: 1 / -1; grid-row: 2; padding-left: 42px; flex-wrap: wrap; }
  .guest-compact-actions button { min-height: 32px; padding: 0 9px; font-size: 14px; }
  .guest-compact-statuses { grid-column: 1 / -1; grid-row: 3; padding-left: 42px; justify-content: flex-start; }
  .guest-compact-statuses .status { display: inline-flex !important; }
  .guest-compact-open { grid-column: 2; grid-row: 1; }
  .guest-editor-body { padding: 12px; }
  .guest-danger-zone { grid-template-columns: 1fr; }
  .guest-danger-zone > button { grid-column: 1; }
  .agenda-card { grid-template-columns: 65px 1fr; }
  .agenda-card .vote-group, .agenda-card .agenda-admin-actions { grid-column: 1 / -1; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .card { padding: 18px; border-radius: 17px; }
  .guest-page { padding-top: 8px; }
  .guest-hero { padding: 24px 20px; border-radius: 20px; }
  .rsvp-buttons { grid-template-columns: 1fr; }
  .invitation-screen { grid-template-rows: minmax(270px, 38dvh) minmax(0, 1fr); }
  .invitation-actions { padding-top: 24px; }
  .rsvp-choice-grid { margin-top: 20px; gap: 8px; }
  .invitation-continue { margin-top: 18px; }
  .profile-photo-screen { grid-template-rows: minmax(285px, 42dvh) minmax(0, 1fr); }
  .personality-screen { grid-template-rows: minmax(265px, 34dvh) minmax(0, 1fr); }
  .personality-options { gap: 8px; }
  .personality-option { min-height: 96px; }
  .profile-question-layout > .form-card { position: static; }
  .notification-layout > .form-card { position: static; }
  .notification-status-strip { grid-template-columns: repeat(3, minmax(102px, 1fr)); overflow-x: auto; }
  .notification-status-strip article { min-height: 62px; padding: 8px 10px; }
  .notification-status-icon { display: none; }
  .notification-status-strip small { font-size: 14px; white-space: normal; }
  .notification-status-strip strong { font-size: 21px; }
  .rich-html-toolbar .rich-html-source-toggle { margin-left: 0; }
  .rich-html-surface, .rich-html-source { min-height: 210px; font-size: 16px; }
  .game-role-config-row > .card { height: auto; }
  .role-admin-card .role-admin-list { max-height: 520px; }
  .game-admin-section > summary { min-height: 72px; padding: 15px 17px; }
  .game-admin-section > summary strong { font-size: 20px; }
  .game-admin-section-body { padding: 12px; }
  .splash-screens { grid-template-columns: 1fr; }
  .role-admin-choice { grid-template-columns: 1fr; }
  .challenge-submission { grid-template-columns: 1fr; }
  .challenge-submission-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .challenge-validated { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  .splash-glow, .splash-kicker, .splash-progress i, .welcome-crawl { animation-duration: .01ms; animation-delay: 0s; }
  .app-splash, .front-intro, .intro-media, .intro-gate { transition-duration: .2s; }
}

/* Readability and overflow baseline: designed for comfortable use on phones. */
:root { --readable-body: 17px; --readable-meta: 14px; --readable-control: 16px; }
body { font-size: var(--readable-body); }
body * { min-width: 0; }
img, video, canvas, svg, iframe { max-width: 100%; }
input, textarea, select { min-width: 0; max-width: 100%; font-size: var(--readable-control); }
textarea { overflow-wrap: anywhere; }
h1, h2, h3, h4, p, li, label, legend, strong, small, button, a, span, time { overflow-wrap: anywhere; }
button { max-width: 100%; white-space: normal; }
small { font-size: var(--readable-meta) !important; line-height: 1.4; }
.field label, .legal-check, .guest-flow-kicker, .eyebrow, .form-intro, .toast { font-size: var(--readable-meta); line-height: 1.45; }
.install-status, .install-preview-close, .install-help-swipe, .splash-kicker, .splash-skip { font-size: var(--readable-meta); }
.intro-brand, .invitation-brand, .role-waiting-brand { display: none; }

/* Guest flow */
.legal-check { align-items: flex-start; }
.legal-check input { flex: 0 0 22px; width: 22px; height: 22px; }
.rsvp-choice strong, .invitation-detail-buttons button strong, .personality-option strong, .profile-action-grid strong, .profile-complete-grid button strong { font-size: var(--readable-control); line-height: 1.25; }
.invitation-detail-buttons.has-room button { min-height: 104px; }
.maybe-decision-deadline span, .room-assignment-card span, .roommates-card > span { font-size: var(--readable-meta); }
.guest-agenda-image span, .guest-agenda-hours small, .guest-agenda-votes .vote strong, .guest-agenda-description .guest-agenda-place { font-size: var(--readable-meta); }
.guest-agenda-description p, .invitation-detail-intro, .room-photo-pending, .invitation-expense-notice, .invitation-expense-list strong { font-size: var(--readable-control); }
.invitation-expense-summary span, .invitation-expense-list small { font-size: var(--readable-meta); }
.profile-step span, .profile-step strong, .personality-step > span, .personality-step strong, .profile-crop-tools small, .profile-crop-tools strong { font-size: var(--readable-meta); }
.profile-answer-summary span { font-size: var(--readable-meta); }
.secret-identity-button { min-height: 78px; }
.secret-identity-button small, .waiting-tool small { font-size: var(--readable-meta); white-space: normal; text-overflow: initial; }
.waiting-tool { min-height: 76px; }
.waiting-tool strong { font-size: 15px; line-height: 1.25; white-space: normal; text-overflow: initial; }
.waiting-tool > span b { top: -9px; right: -9px; min-width: 26px; height: 26px; }
.role-waiting-tools { align-items: stretch; }
.invitation-detail-buttons.has-room button small, .challenge-entry-button strong, .game-admin-entry strong { white-space: normal; text-overflow: initial; }

/* Notifications */
.notification-inbox-meta, .notification-inbox-state { font-size: var(--readable-meta); white-space: normal; }
.notification-inbox-copy > small { font-size: var(--readable-meta); line-height: 1.35; white-space: normal; text-overflow: initial; }
.notification-inbox-copy > strong { white-space: normal; text-overflow: initial; }
.notification-inbox-item { align-items: start; }
.notification-inbox-symbol i { right: -7px; bottom: -7px; width: 24px; height: 24px; }
.notification-privacy-banner span, .notification-status-strip small, .notification-status-strip strong em, .notification-send-summary small, .push-guest-list small, .push-history-list small { font-size: var(--readable-meta); }
.notification-send-summary strong, .push-delivery-result { font-size: var(--readable-control); }

/* Challenges and game screens */
.guest-challenge-screen, .guest-challenge-detail-card, .guest-challenge-form, .guest-challenge-capture, .guest-challenge-audio { max-width: 100%; overflow-x: clip; }
.guest-challenge-form > input, .guest-challenge-form > button { width: 100%; min-width: 0; max-width: 100%; }
.guest-challenge-item { grid-template-columns: 46px minmax(0,1fr); align-items: start; }
.guest-challenge-item > b { grid-column: 2; justify-self: start; font-size: var(--readable-meta); white-space: normal; }
.guest-challenge-item small, .guest-challenge-item i { font-size: var(--readable-meta); line-height: 1.35; }
.guest-challenge-item strong { white-space: normal; text-overflow: initial; }
.guest-challenge-deadline { align-items: center; gap: 10px; }
.guest-challenge-deadline span { font-size: var(--readable-meta); }
.guest-challenge-deadline strong { font-size: var(--readable-control); }
.guest-challenge-key small, .guest-challenge-reward small, .guest-challenge-exclusive-clue small, .guest-challenge-exclusive-clue i, .guest-challenge-repeat strong, .guest-challenge-form > label, .guest-challenge-answers legend small, .guest-challenge-countdown small, .guest-challenge-countdown span { font-size: var(--readable-meta); }
.guest-challenge-exclusive-clue p, .guest-challenge-pending p { font-size: var(--readable-control); }
.guest-challenge-countdown { padding: 12px 16px; }
.game-admin-kpis article { min-height: 140px; grid-template-columns: 40px minmax(0,1fr); }
.game-admin-kpis small, .game-admin-player > div small, .game-admin-player li, .game-production-challenge small, .game-production-challenge p, .game-production-challenge button, .game-production-challenge > b, .production-controls span, .game-candidate strong { font-size: var(--readable-meta); line-height: 1.3; }
.game-admin-player > div strong, .game-production-challenge strong, .game-admin-menu small { white-space: normal; text-overflow: initial; }
.game-admin-player li { padding: 7px 9px; }
.game-production-challenge-head { align-items: start; }
.game-production-challenge-head > b, .game-production-challenge-head > button { align-self: start; }
.challenge-submission small { font-size: var(--readable-meta); }

/* CMS: the same minimum reading size without forcing horizontal scrolling. */
.brand-copy span, .mode-chip, .status, .record-actions button, .expense-visibility-toggle, .api-remove-key, .database-migration-item small,
.notification-send-summary small, .challenge-flow article strong, .challenge-flow article span, .challenge-manager-head span,
.challenge-stage-heading span, .challenge-stage-heading p, .challenge-card-head > strong, .challenge-card > p,
.challenge-card-meta span, .challenge-card-meta b, .challenge-card-warning, .challenge-live-count,
.challenge-editor-heading span, .challenge-editor-heading p, .challenge-form-step small,
.challenge-reward-box > div label, .challenge-rule-card .guest-flow-kicker, .challenge-rule-grid label,
.challenge-rule-grid input, .challenge-rule-grid select, .question-card-heading small, .question-position,
.question-clue-preview, .question-options-preview, .demo-note { font-size: var(--readable-meta); line-height: 1.4; }
.guest-compact-actions button, .rich-html-toolbar button { min-height: 40px; font-size: var(--readable-meta); }
.challenge-card-meta { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.challenge-rule-grid { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }

@media (max-width: 420px) {
  .guest-challenge-screen, .game-vote-screen, .game-admin-screen { padding-right: 14px; padding-left: 14px; }
  .guest-challenge-detail-card { padding-right: 15px; padding-left: 15px; }
  .guest-challenge-deadline { grid-template-columns: 1fr; text-align: left; }
  .guest-challenge-deadline strong { text-align: left; }
  .guest-challenge-capture-actions, .guest-challenge-answers fieldset > div { grid-template-columns: 1fr; }
  .notification-inbox-item { grid-template-columns: 44px minmax(0,1fr); }
  .notification-inbox-state { grid-column: 2; justify-items: start; }
  .game-admin-kpis { grid-template-columns: 1fr 1fr; }
  .game-production-challenge-head { grid-template-columns: 40px minmax(0,1fr); }
  .game-production-challenge-head > b, .game-production-challenge-head > button { grid-column: 2; justify-self: start; }
}

/* Compact waiting room */
.role-waiting-screen { grid-template-rows: minmax(275px, 39dvh) minmax(0, 1fr); }
.role-waiting-aura { --waiting-ring-size: min(55vw, 245px); top: 67%; }
.role-waiting-avatar { --waiting-avatar-size: min(44vw, 195px); top: 67%; cursor: pointer; }
.role-waiting-identity-link { position: absolute; z-index: 4; bottom: 8px; left: 50%; min-height: 40px; padding: 8px 20px; color: #0d1519; background: #e4b553; border: 1px solid #f2cf83; border-radius: 999px; box-shadow: 0 8px 24px rgba(0,0,0,.38); font-size: 14px; font-weight: 950; letter-spacing: .08em; transform: translateX(-50%); white-space: nowrap; }
.role-waiting-content { padding: 7px 18px max(10px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; }
.role-waiting-content-inner { width: 100%; margin-top: auto; }
.role-waiting-content h2.role-waiting-status-message { flex: 0 0 auto; margin: 17px auto 9px; padding: 0 8px; color: #f3eee2; }
.role-waiting-content h2.role-waiting-status-message.has-actions { color: #f3ce7d; text-shadow: 0 0 20px rgba(224,181,91,.2); }
.notification-destination.is-preview .notification-message-card { text-align: center; }
.notification-destination.is-preview .notification-message-card h1 { margin-bottom: 0; }
.role-waiting-decisions { margin-top: 10px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.waiting-decision { min-width: 0; min-height: 62px; padding: 8px 9px; display: grid; grid-template-columns: 32px minmax(0,1fr); align-items: center; gap: 7px; color: #e7e9e8; text-align: left; background: #131d23; border: 1px solid #3b484f; border-radius: 12px; }
.waiting-decision > span { width: 32px; height: 32px; display: grid; place-items: center; color: #d4b269; background: #252b2e; border-radius: 50%; font: 900 18px/1 Georgia,serif; }
.waiting-decision strong { font-size: 14px; line-height: 1.14; letter-spacing: .035em; }
.waiting-decision.has-pending { color: #fff0f2; background: rgba(126,28,44,.54); border-color: #d65a6b; box-shadow: 0 0 22px rgba(200,48,70,.22); }
.waiting-decision.has-pending > span { color: #ffdce1; background: #621a27; }
.waiting-decision.has-results { color: #fff3d3; background: rgba(105,76,26,.42); border-color: #b58b3f; box-shadow: 0 0 22px rgba(202,157,70,.14); }
.waiting-decision.has-results > span { color: #171d20; background: #e1b75f; }
.role-waiting-tools { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.waiting-tool.waiting-counter-tool { min-height: 78px; padding: 8px 4px; display: flex; flex-direction: column; justify-content: center; gap: 2px; text-align: center; }
.waiting-counter-tool > span { width: 31px; height: 31px; flex: 0 0 31px; font-size: 19px; }
.waiting-counter-tool > span svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.waiting-counter-tool small { color: #d4dadd; font-size: 14px !important; line-height: 1.05; }
.waiting-counter-tool strong { color: #f5d381; font-size: 21px; line-height: 1; }
.waiting-counter-tool.is-enabled { background: rgba(31,91,61,.32); border-color: #4ca370; }
.waiting-counter-tool.is-blocked { background: rgba(111,35,46,.32); border-color: #a44956; }
.waiting-counter-tool.has-pending { color: #fff0f2; background: rgba(126,28,44,.54); border-color: #d65a6b; box-shadow: 0 0 20px rgba(200,48,70,.18); }
.waiting-counter-tool.has-pending > span { color: #ffdce1; background: #621a27; }
.waiting-counter-tool.has-pending strong { color: #fff2f3; }
.waiting-counter-tool.has-reward { color: #e9fff1; background: rgba(28,101,63,.48); border-color: #61c287; box-shadow: 0 0 20px rgba(75,196,116,.18); }
.waiting-counter-tool.has-reward > span { color: #d4f7df; background: #1c5135; }
.waiting-counter-tool.has-reward strong { color: #eafff0; }
.role-waiting-links { margin-top: 8px; }
.role-waiting-links.invitation-detail-buttons.has-room button { min-height: 78px; }
.role-waiting-links button svg { width: 29px; height: 29px; }
.notification-inbox > article { grid-template-rows: auto auto minmax(0, 1fr); }
.notification-push-toggle { width: 100%; min-height: 46px; margin: 10px 0 2px; padding: 8px 12px; display: flex; align-items: center; justify-content: center; gap: 9px; color: #efcfd3; background: #2c171d; border: 1px solid #91404b; border-radius: 11px; font-size: 14px; letter-spacing: .06em; }
.notification-push-toggle span { font-size: 22px; }
.notification-push-toggle.is-enabled { color: #bfe9cf; background: #142a20; border-color: #3d8e60; }
.notification-push-toggle:disabled { opacity: .72; }

/* Identity overview before revealing the secret role */
.guest-identity-card-screen { min-height: 100dvh; padding: max(82px, calc(env(safe-area-inset-top) + 64px)) 20px max(28px, env(safe-area-inset-bottom)); color: #f4ecdc; background: radial-gradient(circle at 50% 30%, rgba(213,168,77,.16), transparent 34%), linear-gradient(180deg,#14232c,#050a0d 72%); text-align: center; }
.guest-identity-card { width: min(100%, 460px); margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.guest-identity-card .guest-flow-kicker { margin: 0 0 20px; color: #e4ba63; }
.guest-identity-portrait { width: min(70vw, 290px); aspect-ratio: 1; padding: 0; overflow: hidden; color: #f3d287; background: #17252e; border: 4px solid #d9ad55; border-radius: 50%; box-shadow: 0 22px 65px rgba(0,0,0,.48), 0 0 44px rgba(215,167,75,.18); font: 850 52px/1 Georgia,serif; }
.guest-identity-portrait img { width: 100%; height: 100%; display: block; object-fit: cover; }
.guest-identity-card h1 { margin: 22px 0 10px; font: 800 clamp(30px, 8vw, 44px)/1 Georgia,serif; }
.guest-identity-location { width: min(100%, 380px); min-height: 58px; padding: 10px 14px; display: grid; grid-template-columns: 34px minmax(0,1fr) 18px; align-items: center; gap: 10px; color: #d8dfe1; background: #111b21; border: 1px solid #344149; border-radius: 13px; text-align: left; }
.guest-identity-location span { width: 34px; height: 34px; display: grid; place-items: center; color: #e3bb6b; }
.guest-identity-location svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.guest-identity-location strong { font-size: 16px; line-height: 1.25; }
.guest-identity-location i { color: #e3bb6b; font-size: 28px; font-style: normal; line-height: 1; }
.guest-identity-role { width: min(100%, 380px); min-height: 70px; margin-top: 18px; padding: 10px 15px; display: grid; grid-template-columns: 42px minmax(0,1fr); grid-template-rows: auto auto; align-items: center; column-gap: 11px; color: #f7e6bd; text-align: left; background: linear-gradient(135deg,#6d1627,#3e101b); border: 1px solid #c44759; border-radius: 14px; box-shadow: 0 14px 34px rgba(0,0,0,.28); }
.guest-identity-role > span { grid-row: 1 / 3; width: 42px; height: 42px; display: grid; place-items: center; background: rgba(0,0,0,.25); border-radius: 50%; font-size: 23px; }
.guest-identity-role strong { font-size: 17px; letter-spacing: .08em; }
.guest-identity-role small { color: #efcbd0; font-size: 14px !important; }

/* Rewards */
.guest-rewards-screen { min-height: 100dvh; padding: max(86px, calc(env(safe-area-inset-top) + 66px)) 18px max(30px, env(safe-area-inset-bottom)); color: #f4ecdc; background: linear-gradient(180deg,#14232c,#071016 45%,#050a0d); }
.guest-rewards-screen > header, .guest-rewards-screen > section { width: min(100%, 500px); margin: 0 auto; }
.guest-rewards-screen > header { margin-bottom: 20px; text-align: center; }
.guest-rewards-screen > header .guest-flow-kicker { color: #e3b75e; }
.guest-rewards-screen > header h1 { margin: 7px 0 0; font: 800 clamp(34px,9vw,48px)/1 Georgia,serif; }
.guest-rewards-screen > section { display: grid; gap: 11px; }
.guest-reward-item { min-width: 0; padding: 14px; display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 11px; background: #111b21; border: 1px solid #806836; border-radius: 14px; }
.guest-reward-item > span { width: 42px; height: 42px; display: grid; place-items: center; color: #f0c972; background: #292820; border-radius: 50%; font-size: 21px; }
.guest-reward-item div { min-width: 0; }
.guest-reward-item small { color: #e7c371; font-size: 14px !important; font-weight: 900; letter-spacing: .07em; }
.guest-reward-item strong { margin-top: 3px; display: block; font-size: 17px; overflow-wrap: anywhere; }
.guest-reward-item p { margin: 5px 0 0; color: #b5c0c4; font-size: 14px; line-height: 1.3; }
.guest-reward-item > b { color: #aee0c0; font-size: 14px; }
.guest-reward-item.is-consumed { opacity: .64; border-color: #39444a; }

/* Accusation and conclave waiting states */
.guest-decision-info-screen { min-height: 100dvh; padding: max(90px, calc(env(safe-area-inset-top) + 70px)) 20px max(30px, env(safe-area-inset-bottom)); display: grid; place-items: center; color: #f3ecdf; background: radial-gradient(circle at 50% 30%, rgba(211,172,92,.14), transparent 34%), linear-gradient(180deg,#14232c,#071016 54%,#050a0d); text-align: center; }
.guest-decision-info-card { width: min(100%, 450px); display: flex; flex-direction: column; align-items: center; }
.guest-decision-info-symbol { width: 86px; height: 86px; margin-bottom: 22px; display: grid; place-items: center; color: #e9c471; background: #1e292f; border: 1px solid #846e3d; border-radius: 50%; box-shadow: 0 0 45px rgba(207,163,72,.16); font: 900 37px/1 Georgia,serif; }
.guest-decision-info-card .guest-flow-kicker { margin: 0; color: #e2b75d; }
.guest-decision-info-card h1 { margin: 12px 0 17px; font: 800 clamp(32px,8.8vw,48px)/1.02 Georgia,serif; }
.guest-decision-info-card > p:not(.guest-flow-kicker) { margin: 0; color: #c4cccf; font-size: 17px; line-height: 1.52; }
.guest-decision-info-notice { width: 100%; margin-top: 24px; padding: 14px 16px; display: flex; align-items: center; justify-content: center; gap: 10px; color: #efd89d; background: #151f25; border: 1px solid #6d5b35; border-radius: 13px; }
.guest-decision-info-notice span { font-size: 25px; }
.guest-decision-info-notice strong { font-size: 16px; line-height: 1.3; }
.guest-decision-info-card > button { width: 100%; min-height: 58px; margin-top: 18px; color: #10181c; background: #dfae4d; border: 0; border-radius: 13px; font-size: 16px; font-weight: 950; letter-spacing: .055em; }
.guest-accusation-results-screen{align-items:start;padding-bottom:max(38px,env(safe-area-inset-bottom));background:radial-gradient(circle at 50% 16%,rgba(158,37,58,.2),transparent 28rem),linear-gradient(180deg,#15242d,#071016 58%,#050a0d)}.guest-accusation-results-card{width:min(100%,480px);margin:0 auto;display:flex;flex-direction:column;align-items:center;text-align:center}.guest-accusation-results-card>.guest-decision-info-symbol{width:70px;height:70px;margin-bottom:15px;color:#ff93a5;border-color:#8d3444;background:#37131d}.guest-accusation-results-card>.guest-flow-kicker{margin:0;color:#e2b75d;font-size:13px;letter-spacing:.16em}.guest-accusation-results-card>h1{max-width:100%;margin:10px 0 9px;color:#fff2d9;font:800 clamp(32px,9vw,48px)/1.02 Georgia,serif;overflow-wrap:anywhere}.guest-accusation-results-card>p:not(.guest-flow-kicker):not(.guest-accusation-result-note){margin:0;color:#b9c3c8;font-size:17px;line-height:1.45}.guest-accusation-podium{width:100%;margin:28px 0 20px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:9px}.guest-accusation-podium article{position:relative;min-width:0;display:grid;justify-items:center;gap:7px}.guest-accusation-podium article>b{position:absolute;z-index:3;top:-7px;left:calc(50% - 48px);width:30px;height:30px;display:grid;place-items:center;border:2px solid #071016;border-radius:50%;color:#172027;background:#dcb35c;font-size:15px}.guest-accusation-podium article>button,.guest-accusation-result-fallback{position:relative;width:min(27vw,116px);height:min(27vw,116px);padding:0;display:grid;place-items:center;overflow:hidden;border:3px solid #756340;border-radius:50%;color:#e9c36d;background:#16252e;font:900 25px/1 Georgia,serif}.guest-accusation-podium .is-rank-1>button,.guest-accusation-podium .is-rank-1>.guest-accusation-result-fallback{border-color:#ecbd58;box-shadow:0 0 0 5px rgba(225,177,79,.11),0 13px 30px rgba(0,0,0,.34)}.guest-accusation-podium article>button img{width:100%;height:100%;display:block;object-fit:cover;object-position:center 22%}.guest-accusation-podium article>button i{position:absolute;right:5px;bottom:5px;width:25px;height:25px;display:grid;place-items:center;border-radius:50%;color:#111b21;background:#edc66f;font:900 13px/1 sans-serif}.guest-accusation-podium article>strong{width:100%;overflow:hidden;color:#fff0d7;font-size:15px;text-overflow:ellipsis;white-space:nowrap}.guest-accusation-podium article>small{color:#ff91a4;font-size:14px;font-weight:900}.guest-accusation-result-meta{min-width:190px;padding:11px 18px;display:flex;align-items:center;justify-content:center;gap:9px;border:1px solid #44525a;border-radius:999px;background:#111d24}.guest-accusation-result-meta span{color:#edc66f;font-size:24px;font-weight:950}.guest-accusation-result-meta strong{color:#c5cdd0;font-size:14px}.guest-accusation-result-note{margin:17px 0 0;color:#9eaaaf;font-size:15px;line-height:1.42}.guest-accusation-no-results{width:100%;margin:26px 0 20px;padding:22px;border:1px solid #44525a;border-radius:18px;background:#101b22}.guest-accusation-no-results strong{color:#edc66f;letter-spacing:.1em}.guest-accusation-no-results p{margin:8px 0 0;color:#aeb9be;line-height:1.45}

/* Full-screen identity portrait with bottom-anchored content */
.guest-identity-card-screen { position: relative; width: min(100%, 540px); height: 100dvh; min-height: 0; margin: 0 auto; padding: 0; display: block; overflow: hidden; background: #071016; isolation: isolate; }
.guest-identity-card-screen::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, rgba(4,8,11,.08) 0%, rgba(4,8,11,.04) 30%, rgba(4,8,11,.3) 54%, rgba(4,8,11,.9) 78%, #05090c 100%); pointer-events: none; }
.guest-identity-background { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 24%; }
.guest-identity-background.is-fallback { background: radial-gradient(circle at 50% 30%, #34444d, #111b21 42%, #05090c 78%); }
.guest-identity-card-screen > .guest-back-button { z-index: 4; }
.guest-identity-card { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; width: 100%; min-height: 48%; margin: 0; padding: 90px 20px max(24px, calc(env(safe-area-inset-bottom) + 18px)); justify-content: flex-end; background: linear-gradient(180deg, transparent, rgba(5,9,12,.38) 18%, rgba(5,9,12,.92) 72%, #05090c 100%); }
.guest-identity-card .guest-flow-kicker { margin: 0 0 5px; color: #efc76f; text-shadow: 0 2px 14px #000; }
.guest-identity-card h1 { margin: 5px 0 12px; color: #fff8ea; font-size: clamp(34px, 9vw, 50px); text-shadow: 0 3px 22px #000; }
.guest-identity-location { color: #f0eee8; background: rgba(12,21,26,.72); border-color: rgba(218,177,88,.58); backdrop-filter: blur(10px); }
.guest-identity-role { margin-top: 12px; background: linear-gradient(135deg,rgba(109,22,39,.94),rgba(49,10,20,.96)); backdrop-filter: blur(10px); }

/* One navigation pattern across every guest screen */
.guest-back-button,
.invitation-detail-back,
.profile-photo-back,
.secret-identity-close {
  position: fixed;
  z-index: 2700;
  top: max(14px, calc(env(safe-area-inset-top) + 8px));
  right: max(14px, env(safe-area-inset-right), calc((100vw - 540px) / 2 + 14px));
  left: auto;
  width: auto;
  min-width: 0;
  min-height: 46px;
  margin: 0;
  padding: 10px 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #111a1f;
  background: #e2ae47;
  border: 1px solid #f3d58d;
  border-radius: 999px;
  box-shadow: 0 7px 22px rgba(0,0,0,.34);
  font: 900 16px/1 Inter, sans-serif;
  letter-spacing: .025em;
  white-space: nowrap;
}
.invitation-detail-hero { padding-top: max(82px, calc(env(safe-area-inset-top) + 70px)); justify-content: flex-end; }
.guest-challenge-screen,
.game-admin-screen,
.game-vote-screen,
.guest-rewards-screen,
.guest-decision-info-screen { padding-top: max(88px, calc(env(safe-area-inset-top) + 70px)); }
.notification-destination.is-qr,
.notification-destination.is-error { padding-top: max(88px, calc(env(safe-area-inset-top) + 70px)); }
.notification-destination.is-error > .guest-back-button {
  width: auto;
  min-height: 46px;
  margin: 0;
  padding: 10px 17px;
  color: #111a1f;
  background: #e2ae47;
  border: 1px solid #f3d58d;
  border-radius: 999px;
  font-size: 16px;
  letter-spacing: .025em;
}
/* Equipos generales del evento */
.team-manager-layout{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(0,1.6fr);gap:22px;align-items:start}.team-generator{margin:0}.team-generator>p{color:var(--muted);font-size:15px;line-height:1.5}.team-generator .form-actions{justify-content:space-between}.team-generator .form-actions span{color:var(--muted);font-weight:800}.team-regenerate-warning,.team-challenge-note{padding:13px 15px;border:1px solid rgba(215,167,75,.42);border-radius:14px;background:rgba(215,167,75,.09);color:#755817;font-weight:750;line-height:1.45}.event-team-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.event-team-card{padding:16px;border:1px solid color-mix(in srgb,var(--team-color) 42%,#d7d7d7);border-radius:20px;background:#fff}.event-team-card form{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center}.event-team-card form input{min-width:0;font-size:18px;font-weight:850}.event-team-dot{width:14px;height:14px;border-radius:999px;background:var(--team-color);box-shadow:0 0 0 5px color-mix(in srgb,var(--team-color) 16%,transparent)}.event-team-members{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px}.event-team-members>span{display:flex;align-items:center;gap:8px;min-width:0;padding:8px;border-radius:12px;background:#f6f3ec}.event-team-members img,.event-team-members i{width:34px;height:34px;flex:0 0 34px;border-radius:50%;object-fit:cover;display:grid;place-items:center;background:#13232e;color:#f3cf7b;font-style:normal;font-size:12px;font-weight:900}.event-team-members strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}
.role-waiting-team-link{width:100%;display:flex;align-items:center;gap:14px;margin-top:12px;padding:14px 18px;border:1px solid rgba(215,167,75,.6);border-radius:18px;background:rgba(18,32,41,.94);color:#f7ecd2;text-align:left}.role-waiting-team-link>span:first-child{width:40px;height:40px;display:grid;place-items:center;border-radius:50%;background:rgba(215,167,75,.13);color:#efc76d;font-size:22px}.role-waiting-team-link>span:nth-child(2){display:grid;gap:2px;min-width:0}.role-waiting-team-link small{color:#aeb9c0;font-size:12px;font-weight:850;letter-spacing:.14em}.role-waiting-team-link strong{overflow:hidden;text-overflow:ellipsis;color:#f3cf7b;font-size:18px;letter-spacing:.06em}.role-waiting-team-link i{margin-left:auto;color:#f3cf7b;font-size:28px;font-style:normal}
.guest-team-screen{min-height:100svh;padding:max(92px,calc(env(safe-area-inset-top) + 66px)) 22px calc(40px + env(safe-area-inset-bottom));background:radial-gradient(circle at 50% 12%,color-mix(in srgb,var(--team-color) 22%,transparent),transparent 34%),#091219;color:#f7f0df}.guest-team-screen>header{text-align:center;margin:8px auto 24px}.guest-team-screen>header h1{margin:6px 0;font-family:Georgia,serif;font-size:clamp(38px,11vw,58px);line-height:1;color:#fff1d3}.guest-team-screen>header>p:last-child{margin:0;color:#b7c0c6;font-size:17px}.guest-team-name-form{max-width:620px;margin:0 auto 22px;padding:16px;border:1px solid color-mix(in srgb,var(--team-color) 70%,#4e5a62);border-radius:18px;background:rgba(17,29,37,.92)}.guest-team-name-form>label{display:block;margin-bottom:8px;color:#efc76d;font-size:13px;font-weight:900;letter-spacing:.12em}.guest-team-name-form>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.guest-team-name-form input{min-width:0;padding:13px;border:1px solid #44515a;border-radius:12px;background:#0b151c;color:#fff;font-size:18px;font-weight:750}.guest-team-name-form button{padding:0 16px;border:0;border-radius:12px;background:#d7a74b;color:#111d25;font-weight:900}.guest-team-name-form small{display:block;margin-top:8px;color:#aeb8be;font-size:14px;line-height:1.4}.guest-team-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;max-width:720px;margin:0 auto}.guest-team-grid button{display:flex;min-width:0;min-height:220px;flex-direction:column;align-items:center;justify-content:flex-end;gap:7px;padding:14px;border:1px solid color-mix(in srgb,var(--team-color) 54%,#3f4c55);border-radius:22px;background:linear-gradient(180deg,rgba(25,39,48,.95),rgba(10,18,24,.98));color:#fff;overflow:hidden}.guest-team-grid img,.guest-team-grid button>span{width:128px;height:128px;border-radius:50%;object-fit:cover;border:3px solid var(--team-color);display:grid;place-items:center;background:#172731;color:#efc76d;font-size:32px;font-weight:900}.guest-team-grid strong{max-width:100%;overflow:hidden;text-overflow:ellipsis;font-size:18px;white-space:nowrap}.guest-team-grid small{max-width:100%;overflow:hidden;text-overflow:ellipsis;color:#aeb9c0;font-size:14px;white-space:nowrap}.guest-identity-location.is-static{cursor:default}.team-member-profile-screen .guest-identity-card{padding-bottom:calc(28px + env(safe-area-inset-bottom))}
@media(max-width:900px){.team-manager-layout{grid-template-columns:1fr}.event-team-list{grid-template-columns:1fr}}
@media(max-width:520px){.guest-team-screen{padding-left:16px;padding-right:16px}.guest-team-grid{gap:10px}.guest-team-grid button{min-height:185px;padding:10px}.guest-team-grid img,.guest-team-grid button>span{width:105px;height:105px}.guest-team-name-form>div{grid-template-columns:1fr}.guest-team-name-form button{min-height:46px}.event-team-card form{grid-template-columns:auto minmax(0,1fr)}.event-team-card form button{grid-column:1/-1}.event-team-members{grid-template-columns:1fr}}
/* Gameplay completion: accusations, duels and narrative calls */
.accusation-admin-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);gap:20px;align-items:start}
.accusation-admin-list{display:grid;gap:14px}.accusation-admin-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,.45fr);gap:16px;align-items:start}.accusation-admin-card .form-actions{grid-column:1/-1}.accusation-results{margin:0;padding:0;list-style:none;display:grid;gap:7px}.accusation-results li{display:flex;justify-content:space-between;gap:12px;padding:8px 10px;border-radius:10px;background:#f5f1e8}.accusation-results strong{color:#8c6420}
.notification-followup-box{padding:16px;border:1px solid rgba(215,167,75,.5);border-radius:14px;background:rgba(215,167,75,.07)}
.call-clue-tokens{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-top:9px}.call-clue-tokens>span{margin-right:3px;color:#7b6843;font-size:12px;font-weight:900;letter-spacing:.1em}.call-clue-tokens button{min-height:34px;padding:7px 10px;border:1px solid rgba(161,38,60,.35);border-radius:999px;color:#84243a;background:#fff7f1;font-size:12px;font-weight:900;letter-spacing:.035em}.call-clue-tokens button:hover{color:#fff;background:#9f263e}
html:has(.notification-call-screen),body:has(.notification-call-screen){height:100%;overflow:hidden;background:#020303}
.notification-call-screen{--call-image:url('/assets/llamada-traidor.webp');--call-position:center 34%;position:fixed;z-index:2500;inset:0;width:100%;height:100dvh;min-height:100svh;margin:0;padding:0;color:#fff;background:#020303;overflow:hidden;isolation:isolate;text-align:center}.notification-call-screen.is-caller-reception{--call-image:url('/assets/llamada-recepcion.webp');--call-position:center 24%}.notification-call-background{position:absolute;z-index:-2;inset:-3%;background:var(--call-image) var(--call-position)/cover no-repeat;filter:saturate(.82) brightness(.74);transform:scale(1.035);animation:call-background-breathe 7s ease-in-out infinite alternate}.notification-call-screen::after{position:absolute;z-index:-1;inset:0;content:"";pointer-events:none;background:linear-gradient(180deg,rgba(0,0,0,.22) 0%,rgba(0,0,0,.06) 31%,rgba(0,0,0,.2) 57%,rgba(0,0,0,.82) 100%),radial-gradient(circle at 50% 30%,transparent 0 25%,rgba(0,0,0,.3) 68%,rgba(0,0,0,.64) 100%)}
.notification-call-screen section{position:relative;width:min(100%,520px);height:100%;min-height:0;margin:0 auto;padding:max(48px,calc(env(safe-area-inset-top) + 24px)) 26px max(28px,calc(env(safe-area-inset-bottom) + 18px));display:grid}.notification-call-incoming{grid-template-rows:auto 1fr auto;align-items:start}.notification-call-incoming header{display:grid;justify-items:center;gap:7px;text-shadow:0 3px 22px rgba(0,0,0,.8);animation:call-copy-enter .55s ease both}.notification-call-incoming header p{margin:0;color:rgba(255,255,255,.78);font-size:16px;font-weight:600}.notification-call-incoming h1,.notification-call-connected h1{max-width:100%;margin:0;color:#fff;font:500 clamp(41px,11.5vw,62px)/1.05 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.035em;overflow-wrap:anywhere}.notification-call-incoming header>span{color:rgba(255,255,255,.82);font-size:19px;line-height:1.35}.notification-call-utilities{align-self:end;margin-bottom:clamp(28px,7vh,66px);display:grid;grid-template-columns:1fr 1fr;gap:52px}.notification-call-utilities>span{display:grid;justify-items:center;gap:9px;color:#fff;font-size:16px}.notification-call-utilities i{width:58px;height:58px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.58);border-radius:50%;background:rgba(40,43,48,.46);box-shadow:inset 0 0 25px rgba(255,255,255,.09),0 9px 30px rgba(0,0,0,.32);backdrop-filter:blur(13px);font-size:24px;font-style:normal}.notification-call-utilities small{font-size:15px;text-shadow:0 2px 12px #000}.notification-call-actions{display:grid;grid-template-columns:1fr 1fr;gap:58px;width:100%;align-self:end}.notification-call-actions button,.notification-call-end{min-width:0;padding:0;display:grid;justify-items:center;gap:10px;border:0;color:#fff;background:transparent;font-size:16px;font-weight:600;text-shadow:0 2px 10px rgba(0,0,0,.8)}.notification-call-actions button i,.notification-call-end i{width:76px;height:76px;display:grid;place-items:center;border-radius:50%;color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.15),0 12px 34px rgba(0,0,0,.38);font:400 35px/1 -apple-system,BlinkMacSystemFont,"Segoe UI Symbol",sans-serif;font-style:normal}.notification-call-actions .is-decline i,.notification-call-end i{background:#e22b25;transform:rotate(135deg)}.notification-call-actions .is-answer i{background:#24a447;animation:call-answer-pulse 1.55s ease-out infinite}.notification-call-actions button:active i,.notification-call-end:active i{transform:scale(.91)}.notification-call-actions .is-decline:active i,.notification-call-end:active i{transform:rotate(135deg) scale(.91)}
.notification-call-connected{grid-template-rows:auto minmax(0,1fr) auto;justify-items:center;gap:20px}.notification-call-connected header{display:grid;justify-items:center;gap:6px}.notification-call-avatar{width:92px;height:92px;margin-bottom:5px;border:2px solid rgba(255,255,255,.72);border-radius:50%;background:var(--call-image) var(--call-position)/cover no-repeat;box-shadow:0 10px 34px rgba(0,0,0,.5)}.notification-call-connected header p{margin:0;color:#8ee3a7;font-size:13px;font-weight:900;letter-spacing:.16em}.notification-call-connected h1{font-size:clamp(31px,8.5vw,48px)}.notification-call-wave{height:24px;display:flex;align-items:center;gap:4px}.notification-call-wave i{width:3px;height:8px;border-radius:99px;background:#83dfa0;animation:call-wave .8s ease-in-out infinite alternate}.notification-call-wave i:nth-child(2){animation-delay:.12s}.notification-call-wave i:nth-child(3){animation-delay:.24s}.notification-call-wave i:nth-child(4){animation-delay:.36s}.notification-call-wave i:nth-child(5){animation-delay:.48s}.notification-call-screen .notification-rich-copy{align-self:center;width:100%;max-height:34dvh;padding:18px 19px;overflow:auto;color:#f7f5ef;background:rgba(5,8,10,.52);border:1px solid rgba(255,255,255,.18);border-radius:22px;box-shadow:0 16px 48px rgba(0,0,0,.34);backdrop-filter:blur(18px);font-size:17px;line-height:1.48;text-align:left}.notification-call-screen .notification-rich-copy>:first-child{margin-top:0}.notification-call-screen .notification-rich-copy>:last-child{margin-bottom:0}.notification-call-end{align-self:end}.notification-call-end i{width:70px;height:70px}.notification-call-end span{font-size:15px}
.notification-call-actions button i svg,.notification-call-end i svg{width:38px;height:38px;display:block;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
@keyframes call-background-breathe{to{transform:scale(1.085);filter:saturate(.9) brightness(.66)}}@keyframes call-copy-enter{from{opacity:0;transform:translateY(-14px)}to{opacity:1;transform:none}}@keyframes call-answer-pulse{0%{box-shadow:0 0 0 0 rgba(36,164,71,.52),0 12px 34px rgba(0,0,0,.38)}70%{box-shadow:0 0 0 18px rgba(36,164,71,0),0 12px 34px rgba(0,0,0,.38)}100%{box-shadow:0 0 0 0 rgba(36,164,71,0),0 12px 34px rgba(0,0,0,.38)}}@keyframes call-wave{from{height:6px;opacity:.55}to{height:23px;opacity:1}}
.guest-duel-start,.guest-duel-result,.guest-duel-wait{display:grid;gap:16px;text-align:center}.guest-duel-result>span,.guest-duel-wait>span{margin:auto;width:78px;height:78px;border-radius:50%;display:grid;place-items:center;font-size:38px;background:rgba(215,167,75,.15);color:#efd184}.guest-duel-result button{min-height:58px;border:1px solid #d7a74b;border-radius:14px;background:#d7a74b;color:#101a23;font-weight:900}.guest-duel-result button.is-secondary{background:transparent;color:#f6e8c1}.guest-duel-stopwatch{font-variant-numeric:tabular-nums;text-align:center;font-size:clamp(40px,12vw,68px);font-weight:900;color:#efd184;letter-spacing:.03em}.guest-duel-form .guest-challenge-key strong{font-size:22px;line-height:1.35}.guest-accusation-screen .guest-game-submit{position:sticky;bottom:0;padding-bottom:max(18px,env(safe-area-inset-bottom));background:linear-gradient(transparent,#071017 22%)}
.guest-accusation-screen{width:min(100%,540px);min-height:100dvh;margin:0 auto;padding:max(86px,calc(env(safe-area-inset-top) + 66px)) 16px calc(154px + env(safe-area-inset-bottom));color:#f7efe0;background:radial-gradient(circle at 50% 0,rgba(161,38,60,.22),transparent 25rem),#071016;overflow-x:hidden}.guest-accusation-hero{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px}.guest-accusation-symbol{width:56px;height:56px;display:grid;place-items:center;border:1px solid rgba(231,91,113,.72);border-radius:17px;color:#ff8ba0;background:rgba(113,17,35,.46);font:900 30px/1 Georgia,serif}.guest-accusation-hero .guest-flow-kicker{margin:0 0 5px;color:#e8bd60;font-size:13px;letter-spacing:.17em}.guest-accusation-hero h1{max-width:100%;margin:0;color:#fff4de;font:800 clamp(32px,8.2vw,46px)/1.03 Georgia,serif;overflow-wrap:anywhere}.guest-accusation-hero>p{grid-column:1/-1;margin:5px 0 0;color:#b9c2c7;font-size:17px;line-height:1.45}.guest-accusation-selection{margin:20px 0 16px;padding:14px;border:1px solid #35444d;border-radius:18px;background:rgba(15,27,35,.95);box-shadow:0 16px 42px rgba(0,0,0,.18)}.guest-accusation-selection.has-selection{border-color:rgba(229,76,101,.72);background:linear-gradient(135deg,rgba(98,17,33,.46),rgba(15,27,35,.98))}.guest-accusation-selection>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:10px}.guest-accusation-selection>div:first-child span{color:#aeb9c0;font-size:13px;font-weight:900;letter-spacing:.14em}.guest-accusation-selection>div:first-child strong{color:#f2c86e;font-size:15px;letter-spacing:.08em}.guest-accusation-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:11px}.guest-accusation-chips>p{margin:0;color:#aeb9c0;font-size:16px;line-height:1.35}.guest-accusation-chips button{min-width:0;min-height:42px;padding:8px 9px 8px 13px;display:flex;align-items:center;gap:8px;border:1px solid #df5069;border-radius:999px;color:#fff4ef;background:#711528;font-size:15px;font-weight:850}.guest-accusation-chips button span{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.guest-accusation-chips button i{width:24px;height:24px;display:grid;place-items:center;border-radius:50%;color:#77172a;background:#ffb1be;font:900 18px/1 sans-serif}.guest-accusation-candidates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.guest-accusation-candidate{position:relative;min-width:0;padding:8px 8px 12px;display:grid;justify-items:start;gap:6px;border:1px solid #33424a;border-radius:20px;color:#f8f0df;background:linear-gradient(180deg,#14222b,#0c151b);box-shadow:0 12px 28px rgba(0,0,0,.2);text-align:left;overflow:hidden;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}.guest-accusation-candidate:active{transform:scale(.975)}.guest-accusation-portrait{position:relative;width:100%;aspect-ratio:1;display:grid;place-items:center;overflow:hidden;border-radius:14px;background:#1c2b34}.guest-accusation-portrait img{width:100%;height:100%;display:block;object-fit:cover;object-position:center 22%}.guest-accusation-portrait>i{color:#e6bf68;font:900 32px/1 Georgia,serif;font-style:normal}.guest-accusation-portrait>b{position:absolute;top:8px;right:8px;width:32px;height:32px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.2);border-radius:50%;color:#142029;background:rgba(239,199,109,.94);font-size:20px;line-height:1}.guest-accusation-candidate>strong{width:100%;padding:3px 3px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:18px}.guest-accusation-candidate>small{padding:0 3px;color:#aeb8bd;font-size:12px;font-weight:900;letter-spacing:.12em}.guest-accusation-candidate.is-selected{border-color:#f0647c;background:linear-gradient(180deg,#35151f,#14151a);box-shadow:0 0 0 2px rgba(229,76,101,.2),0 15px 32px rgba(56,0,12,.42)}.guest-accusation-candidate.is-selected .guest-accusation-portrait{box-shadow:inset 0 0 0 3px #e9506a}.guest-accusation-candidate.is-selected .guest-accusation-portrait>b{color:#fff;background:#c82443}.guest-accusation-candidate.is-selected>small{color:#ff8da1}.guest-accusation-submit{position:fixed;z-index:30;right:0;bottom:0;left:0;width:min(100%,540px);margin:0 auto;padding:14px 16px max(14px,env(safe-area-inset-bottom));display:grid;grid-template-columns:minmax(0,1fr) minmax(170px,.9fr);align-items:center;gap:12px;border-top:1px solid rgba(215,167,75,.36);background:rgba(5,13,18,.96);box-shadow:0 -18px 38px rgba(0,0,0,.52);backdrop-filter:blur(15px)}.guest-accusation-submit>div{min-width:0;display:grid;gap:3px}.guest-accusation-submit>div strong{overflow:hidden;color:#f4e7ca;font-size:15px;text-overflow:ellipsis;white-space:nowrap}.guest-accusation-submit>div small{color:#9fabb1;font-size:13px;line-height:1.3}.guest-accusation-submit>button{min-height:58px;padding:10px 14px;border:1px solid #f07388;border-radius:15px;color:#fff;background:linear-gradient(135deg,#bd1f3d,#82172c);box-shadow:0 10px 24px rgba(110,10,30,.34);font-size:14px;font-weight:950;letter-spacing:.055em}.guest-accusation-submit>button:disabled{border-color:#39474e;color:#8d989d;background:#18242b;box-shadow:none}
.guest-accusation-choice{width:100%;min-width:0;padding:0;display:grid;justify-items:start;gap:6px;border:0;color:inherit;background:transparent;text-align:left}.guest-accusation-choice:active{transform:scale(.975)}.guest-accusation-choice>strong{width:100%;padding:3px 3px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:18px}.guest-accusation-choice>small{padding:0 3px;color:#aeb8bd;font-size:12px;font-weight:900;letter-spacing:.12em}.guest-accusation-candidate.is-selected .guest-accusation-choice>small{color:#ff8da1}.guest-accusation-expand{position:absolute;z-index:4;top:16px;left:16px;width:38px;height:38px;padding:9px;display:grid;place-items:center;border:1px solid rgba(242,207,132,.72);border-radius:50%;color:#f8deb0;background:rgba(5,13,18,.82);box-shadow:0 5px 16px rgba(0,0,0,.5);backdrop-filter:blur(8px)}.guest-accusation-expand svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.guest-accusation-expand:active{transform:scale(.91)}
.challenge-duel-admin-summary{margin-top:14px;padding:13px 15px;border-radius:12px;background:#101c25;color:#f8edd1;display:grid;gap:4px}.challenge-duel-admin-summary strong{color:#e9c36c;font-size:12px;letter-spacing:.12em}.challenge-duel-admin-summary small{color:#aeb9c1}
@media(max-width:760px){.accusation-admin-layout,.accusation-admin-card{grid-template-columns:1fr}.notification-followup-box .form-grid{grid-template-columns:1fr}}
@media(max-width:380px){.notification-call-screen section{padding-right:20px;padding-left:20px}.notification-call-utilities{gap:30px;margin-bottom:24px}.notification-call-actions{gap:42px}.notification-call-actions button i{width:68px;height:68px}.notification-call-screen .notification-rich-copy{max-height:31dvh;padding:15px;font-size:16px}}
@media(max-width:390px){.guest-accusation-screen{padding-right:12px;padding-left:12px}.guest-accusation-symbol{width:48px;height:48px}.guest-accusation-hero h1{font-size:30px}.guest-accusation-candidates{gap:8px}.guest-accusation-candidate{padding:6px 6px 10px;border-radius:16px}.guest-accusation-choice>strong{font-size:16px}.guest-accusation-expand{top:13px;left:13px;width:36px;height:36px}.guest-accusation-submit{grid-template-columns:1fr;padding-right:12px;padding-left:12px}.guest-accusation-submit>div{display:none}.guest-accusation-submit>button{min-height:56px}.guest-accusation-screen{padding-bottom:calc(94px + env(safe-area-inset-bottom))}}
