body { font-size: 17px; background: radial-gradient(900px 520px at 50% -10%, #1a2350 0%, var(--bg) 70%) fixed; min-height: 100vh; }
.home { max-width: 560px; margin: 0 auto; padding: max(24px, env(safe-area-inset-top)) 20px 60px; display: flex; flex-direction: column; gap: 26px; }
.hero { text-align: center; padding-top: 18px; }
.hero-icon { font-size: 4.4em; line-height: 1; filter: drop-shadow(0 12px 34px rgba(0, 0, 0, .55)); }
.hero h1 { font-size: 2.7em; font-weight: 900; letter-spacing: .07em; margin-top: 6px; }
.tag { color: var(--muted); margin-top: 10px; font-size: 1.05em; line-height: 1.45; }
.tag.sub { font-size: .9em; margin-top: 6px; opacity: .8; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.btn { display: flex; align-items: center; justify-content: center; gap: .5em; padding: 15px 18px; border-radius: 14px; font-weight: 800; background: var(--panel2); border: 1px solid var(--line); width: 100%; transition: transform .08s; }
.btn:active { transform: scale(.97); }
.btn.primary { background: linear-gradient(135deg, var(--purple), var(--blue)); border: 0; box-shadow: 0 10px 30px rgba(58, 134, 255, .3); }
.btn.big { padding: 18px; font-size: 1.15em; }
.btn:disabled { opacity: .5; pointer-events: none; }
.hint { color: var(--muted); font-size: .85em; text-align: center; }
.hint.err { color: #ff9aab; min-height: 1.2em; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .8em; text-transform: uppercase; letter-spacing: .18em; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.join-row { display: flex; gap: 10px; }
.join-row .btn { width: auto; padding-inline: 26px; }
.code-input { flex: 1; min-width: 0; padding: 15px; border-radius: 14px; border: 1px solid var(--line); background: rgba(0, 0, 0, .28); font-size: 1.5em; font-weight: 900; letter-spacing: .35em; text-align: center; text-transform: uppercase; outline: none; }
.code-input:focus { border-color: var(--blue); }
.code-input::placeholder { letter-spacing: .35em; color: #4a5480; }
.how { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.how h2 { font-size: .8em; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 12px; }
.how ol { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 9px; line-height: 1.5; font-size: .95em; }
.how li::marker { color: var(--gold); font-weight: 800; }
.fine { color: var(--muted); font-size: .82em; margin-top: 14px; line-height: 1.5; }
