* { box-sizing: border-box; }
html { background: #f6f8fa; color-scheme: light; }
html[data-theme="dark"] { background: #111111; color-scheme: dark; }
body { margin: 0; font: 13px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; letter-spacing: 0; }
button, a { font: inherit; letter-spacing: 0; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
[hidden] { display: none !important; }
#auth-gate { --surface: #ffffff; --subtle: #f6f8fa; --text: #0f1a2e; --muted: #59676f; --border: #d4dce1; --accent: #806318; position: relative; min-height: 100svh; display: grid; align-content: center; justify-items: center; gap: 38px; padding: 38px 24px; background: var(--subtle); color: var(--text); text-align: center; }
html[data-theme="dark"] #auth-gate { --surface: #191919; --subtle: #111111; --text: #f0f1f2; --muted: #b3b8bc; --border: #414141; --accent: #e2c46b; }
.global-branding { display: grid; justify-items: center; gap: 20px; }
.global-symbol { width: 148px; max-width: 35vw; height: auto; }
.global-logotype { width: 310px; max-width: 72vw; height: auto; }
.global-access { display: grid; justify-items: center; gap: 13px; max-width: 100%; }
.global-access > p { margin: 0; color: var(--accent); font-size: 11px; font-weight: 700; }
.landing-sign-in { min-height: 36px; width: 190px; border: 1px solid #b79639; border-radius: 6px; padding: 8px 14px; background: linear-gradient(180deg, #d0b152, #c6a240); color: #111111; font-size: 13px; font-weight: 650; box-shadow: inset 0 1px 0 rgb(255 255 255 / 36%), 0 3px 10px rgb(17 17 17 / 4%); }
.landing-sign-in:hover { background: #b89435; }
.landing-sign-in span { margin-left: 14px; }
.global-status { color: var(--muted); font-size: 11px; max-width: 320px; overflow-wrap: anywhere; }
.different-account { border: 0; border-bottom: 1px solid var(--border); padding: 2px 0; background: transparent; color: var(--muted); font-size: 12px; }
.mobile-app-access { display: grid; width: min(460px, calc(100vw - 48px)); gap: 7px; margin-top: 13px; padding-top: 13px; border-top: 1px solid var(--border); }
.mobile-app-access-label { color: var(--muted); font-size: 9px; font-weight: 700; }
.mobile-app-qr { display: grid; width: min(330px, 100%); grid-template-columns: 132px minmax(0, 1fr); align-items: center; justify-self: center; gap: 14px; padding: 10px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); color: var(--text); text-decoration: none; box-shadow: 0 3px 12px rgb(17 17 17 / 4%); }
.mobile-app-qr-code { width: 132px; height: 132px; padding: 4px; background: #ffffff; }
.mobile-app-qr-code img { display: block; width: 124px; height: 124px; }
.mobile-app-qr-copy { display: grid; gap: 5px; min-width: 0; text-align: left; }
.mobile-app-qr-copy strong { font-size: 15px; }
.mobile-app-qr-copy small { color: var(--muted); font-size: 10px; }
.mobile-app-links { display: none; }
.mobile-app-link { display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 10px 18px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); color: var(--text); text-decoration: none; }
.mobile-app-link img { width: 22px; height: 26px; }
html[data-theme="dark"] .mobile-app-link img { filter: brightness(0) invert(1); }
.mobile-app-link > span { display: grid; gap: 2px; text-align: left; }
.mobile-app-link small { color: var(--muted); font-size: 8px; }
.mobile-app-link strong { font-size: 16px; }
.mobile-app-link em { color: var(--muted); font-size: 8px; font-style: normal; }
.appearance-toggle { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--border); border-radius: 6px; color: var(--text); background: var(--surface); }
.appearance-toggle svg { width: 16px; height: 16px; }
:is(button, a):focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.mobile-app-qr:hover, .mobile-app-link:hover { border-color: #b6a165; }
.mobile-app-only .global-access > :not(.mobile-app-access) { display: none !important; }
.mobile-app-only .mobile-app-access { margin-top: 0; padding-top: 0; border-top: 0; }
.mobile-app-only .mobile-app-qr { display: none; }
.mobile-app-only .mobile-app-links { display: grid; gap: 10px; width: min(286px, 100%); margin-inline: auto; }
@media (max-width: 680px) { #auth-gate { gap: 30px; } .global-symbol { width: 112px; } .global-logotype { width: 238px; } .mobile-app-access { width: min(286px, calc(100vw - 48px)); } }
@media (max-height: 760px) and (min-width: 681px) { #auth-gate { align-content: start; gap: 18px; padding-block: 18px; } .global-branding { gap: 10px; } .global-symbol { width: 100px; } .global-logotype { width: 230px; } }
