:root { color-scheme: dark; --orange: #e5a00d; --pink: #ed0043; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: max(28px, env(safe-area-inset-top)) 18px max(22px, env(safe-area-inset-bottom)); background: radial-gradient(circle at 50% -10%, #241907 0, #090909 33%, #050505 72%); color: #f4f4f4; font-family: "DM Sans", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
.entrance { width: min(520px, 100%); text-align: center; }
.entrance-logo { display: block; width: min(225px, 48vw); height: auto; margin: 0 auto 22px; }
.private-label { display: flex; justify-content: center; align-items: center; gap: 8px; margin: 0; color: #8e8e8e; font-size: .64rem; font-weight: 700; letter-spacing: .2em; }
.private-label span { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 9px rgba(229,160,13,.7); }
.entry-actions { margin-top: 32px; }
.login-card { width: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 20px; border: 1px solid rgba(229,160,13,.42); border-radius: 15px; background: linear-gradient(145deg, #18150e, #111); color: inherit; text-align: left; cursor: pointer; transition: .18s ease; }
.login-card:hover { transform: translateY(-2px); border-color: var(--orange); background: #1b180f; }
.card-icon { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 12px; background: rgba(229,160,13,.12); color: var(--orange); }
.card-icon svg { width: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.login-card strong, .login-card small { display: block; }
.login-card strong { font-size: 1.02rem; }
.login-card small { margin-top: 4px; color: #8f8f8f; font-size: .78rem; }
.login-card b { color: var(--orange); font-size: 1.25rem; }
.divider { display: flex; align-items: center; gap: 12px; margin: 22px 0; color: #555; font-size: .6rem; font-weight: 700; letter-spacing: .16em; }
.divider::before, .divider::after { content: ""; height: 1px; flex: 1; background: #262626; }
.invite-card { padding: 22px; border: 1px solid #292929; border-radius: 15px; background: #101010; text-align: left; }
.invite-card label { display: block; font-size: 1rem; font-weight: 700; }
.invite-card p { margin: 5px 0 17px; color: #858585; font-size: .8rem; }
.code-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.code-row input { min-width: 0; border: 1px solid #333; border-radius: 10px; padding: 12px 13px; background: #080808; color: #f4f4f4; outline: none; }
.code-row input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(229,160,13,.1); }
.code-row button { border: 0; border-radius: 10px; padding: 0 18px; background: var(--orange); color: #090909; font-weight: 800; cursor: pointer; }
.code-row button:hover { filter: brightness(1.08); }
.form-error { display: block; min-height: 1em; margin-top: 8px; color: #ff8585; font-size: .72rem; }
.copyright { display: block; margin-top: 25px; color: #4f4f4f; font-size: .68rem; }
dialog { width: min(440px, calc(100% - 30px)); padding: 30px; border: 1px solid #323232; border-radius: 18px; background: #111; color: #f4f4f4; box-shadow: 0 24px 100px rgba(0,0,0,.85); text-align: left; }
dialog::backdrop { background: rgba(0,0,0,.82); backdrop-filter: blur(8px); }
.dialog-close { position: absolute; top: 15px; right: 17px; border: 0; background: none; color: #888; font-size: 1.7rem; cursor: pointer; }
dialog .private-label { justify-content: flex-start; color: var(--orange); }
dialog h1 { margin: 13px 0 10px; font-size: 1.65rem; letter-spacing: -.03em; }
dialog > p:not(.private-label) { margin: 0; color: #999; font-size: .9rem; line-height: 1.6; }
dialog a { display: flex; justify-content: space-between; margin-top: 23px; padding: 13px 15px; border-radius: 10px; background: var(--orange); color: #080808; font-weight: 800; text-decoration: none; }
@media (max-width: 420px) { .entrance-logo { width: 168px; margin-bottom: 17px; } .entry-actions { margin-top: 24px; } .login-card, .invite-card { padding: 17px; } }
