#app[hidden], #auth-gate[hidden], .auth-gate [hidden], #admin-status[hidden], #auth-google[hidden] { display: none !important; }
.admin-status { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 12px; border: 1px solid #8f7948; background: #403a2a; color: #ffe4a1; font-size: .8rem; }.admin-status strong { letter-spacing: .1em; }
.auth-gate { width: 100%; height: 100dvh; overflow-y: auto; padding: 36px 20px; display: grid; place-items: center; }
.auth-card { width: min(100%, 430px); background: #182536; padding: 32px; border: 1px solid #3b4c60; border-radius: 24px; box-shadow: 0 24px 80px #0004; }
.auth-join-card { position: relative; margin: 22px 0; padding: 22px 18px 18px; border: 2px solid #5f8f6a; border-radius: 20px; background: radial-gradient(ellipse at 50% 0%, #3a6150, #1f3432 75%); box-shadow: 0 10px 26px #0004; text-align: center; }
.auth-join-badge { display: block; font-size: 2.4rem; line-height: 1; margin-bottom: 6px; }
.auth-join-card .auth-note { color: #cfe3d3; font-size: .85rem; }
.auth-join-card.code-saved { border-color: var(--good, #36d399); }
#auth-join-status.saved { padding: 10px 12px; border-radius: 12px; background: #1f4a3a; color: #c9f7df; font-weight: 700; }
.auth-join-card h2 { font: 1.6rem var(--font-display); color: #e8fbcf; }
#auth-join-form label { display: block; margin: 14px 0 8px; font-weight: 800; color: #f1f8e6; }
#auth-room-code, #auth-guest-name { width: 100%; padding: 14px 10px; border: 3px solid #71936b; border-radius: 16px; background: #122027; color: #caee93; text-align: center; box-shadow: inset 0 3px 0 #0004; }
#auth-room-code { font: 2.4rem var(--font-display); letter-spacing: .45em; text-indent: .45em; }
#auth-guest-name { font: 700 1.2rem var(--font-body); }
#auth-room-code::placeholder, #auth-guest-name::placeholder { color: #4d6a60; }
#auth-room-code:focus, #auth-guest-name:focus { outline: none; border-color: #caee93; box-shadow: 0 0 0 4px #caee9340; }
#auth-join-form label:first-of-type { margin-top: 18px; }
#auth-join-form button { width: 100%; min-width: 0; margin-top: 14px; min-height: 56px; font-size: 1.15rem; }
.auth-google { width: 100%; border: 1px solid #c4c7c5; background: white; color: #1f1f1f; border-radius: 10px; padding: 13px; font: 700 .95rem var(--font-body); cursor: pointer; }.auth-google b { margin-right: 14px; color: #4285f4; font-size: 18px; }.auth-google:disabled { opacity: .55; cursor: not-allowed; }
.auth-note { color: #b6c4d1; font-size: .75rem; line-height: 1.6; margin: 10px 0; }.auth-divider { text-align: center; font-size: .75rem; color: #b6c4d1; margin-top: 24px; }.auth-card .room-tabs { margin: 16px 0; }
#auth-form label { display: block; margin: 16px 0 8px; font-weight: 800; font-size: .85rem; }#auth-form input { width: 100%; border: 1px solid #536178; background: #202e40; padding: 13px; border-radius: 10px; color: white; font: inherit; }#auth-submit { margin-top: 22px; width: 100%; }
#auth-message:not(:empty) { background: #344253; padding: 12px; border-radius: 10px; margin: 16px 0; font-size: .85rem; }
.account-bar { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 10px; color: #becddc; font-size: .8rem; }.account-bar button { background: transparent; color: #caee93; border: 1px solid #52634d; padding: 6px 12px; border-radius: 8px; cursor: pointer; font: inherit; }
@media(max-width:420px) { .auth-gate { padding: 18px 12px; }.auth-card { padding: 24px; }.auth-card h1 { font-size: 1.9rem; } }
.auth-join-card #auth-join-cancel { margin: 6px auto 0; }

/* Homepage hero: the same watching eyeball as the in-game title, bigger and a little bouncy. */
.auth-hero { position: relative; text-align: center; padding: 6px 0 4px; }
.auth-hero::before { content: ''; position: absolute; left: 50%; top: 42%; width: 240px; height: 120px; transform: translate(-50%, -50%); background: radial-gradient(ellipse, #cc000033, transparent 70%); pointer-events: none; }
.auth-card .auth-title { position: relative; font-size: clamp(3.4rem, 15vw, 4.6rem); line-height: 1; margin: 4px 0 10px; animation: auth-title-bob 4.5s ease-in-out infinite; }
.auth-tagline { position: relative; font: 1.15rem/1.4 var(--font-display); color: #e8f1dc; margin: 0; }
@keyframes auth-title-bob { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-6px) rotate(1deg); } }
@media (prefers-reduced-motion: reduce) { .auth-card .auth-title { animation: none; } }
.auth-account { margin-top: 26px; padding-top: 22px; border-top: 1px solid #33455a; }
.auth-account h2 { font: 1.25rem var(--font-display); color: #f2f5e9; margin: 0 0 4px; }
.auth-account > .auth-note:first-of-type { margin-top: 0; margin-bottom: 16px; font-size: .85rem; }
/* Guests only see the room they joined: no hosting, solo or collection. */
body.guest-mode .room-intent-tabs, body.guest-mode #room-go-hatch { display: none !important; }
.auth-legal { text-align: center; margin-top: 22px; }.auth-legal a { color: #b6c4d1; }

/* Homepage: a question set code shows the set with Study solo / Host buttons. */
.auth-set-card { margin-top: 14px; padding: 16px; border-radius: 16px; background: #0006; border: 2px solid var(--good, #36d399); text-align: center; }
.auth-set-eyebrow { display: block; font-size: .7rem; letter-spacing: .12em; font-weight: 800; color: #caee93; }
.auth-set-card strong { display: block; margin: 6px 0 4px; font: 1.1rem/1.3 var(--font-display); color: #f2f5e9; }
.auth-set-card small { display: block; color: #c8d7cf; }
.auth-set-actions { display: grid; gap: 10px; margin-top: 14px; }
.auth-set-actions .btn { width: 100%; min-height: 52px; font-size: 1.05rem; }
/* Guests hosting a question set only see that set on the topic step. */
body.guest-set [data-step="2"] > :not(legend):not(.set-code):not(.wizard-nav) { display: none !important; }
body.guest-set #room-set-code, body.guest-set #room-set-code-go { pointer-events: none; opacity: .7; }
#auth-room-code.is-word { font: 700 1.5rem var(--font-body); letter-spacing: .02em; text-indent: 0; }
