body.auth { display: flex; flex-direction: column; min-height: 100dvh; background: radial-gradient(120% 55% at 50% -10%, var(--brand-bg), transparent 60%), var(--bg); }
.au { flex: 1 1 auto; display: flex; flex-direction: column; width: 100%; max-width: 460px; margin-inline: auto; padding: calc(var(--sp-6) + var(--safe-t)) var(--sp-4) calc(var(--sp-8) + var(--safe-b)); }
.au-top { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); min-height: var(--tap); margin-bottom: var(--sp-6); }
.au-top .brand { text-decoration: none; }
.au-main { flex: 1 1 auto; display: flex; flex-direction: column; gap: var(--sp-5); }
.au-head { display: flex; flex-direction: column; align-items: center; gap: var(--sp-3); text-align: center; }
.au-ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: var(--r-xl); background: var(--brand-bg); color: var(--brand); box-shadow: inset 0 0 0 1px var(--line); }
.au-ico .ico { width: 30px; height: 30px; }
.au-title { font-size: var(--fs-2xl); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.au-title em { font-style: normal; color: var(--primary); }
.au-sub { color: var(--muted); font-size: var(--fs-sm); max-width: 34ch; }
.au-sub strong { color: var(--text); overflow-wrap: anywhere; }
.au-form { display: flex; flex-direction: column; gap: var(--sp-4); }
.au-switch { text-align: center; color: var(--muted); font-size: var(--fs-sm); }
.au-switch a, .au-link { color: var(--primary); font-weight: 700; text-decoration: none; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.au-foot { margin-top: var(--sp-8); text-align: center; color: var(--faint); font-size: var(--fs-xs); }
.au-foot a { color: var(--muted); }
.au-perks { display: flex; flex-direction: column; gap: var(--sp-2); padding: 0; margin: 0; list-style: none; }
.au-perks li { display: flex; align-items: center; gap: var(--sp-2); color: var(--text-2); font-size: var(--fs-sm); }
.au-perks .ico { color: var(--primary); flex: none; }

.au-tiles { display: grid; gap: var(--sp-2); grid-template-columns: repeat(auto-fill, minmax(min(100%, 96px), 1fr)); }
.au-tiles-2 { grid-template-columns: 1fr 1fr; }
.au-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 76px; padding: var(--sp-2); border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line-2); color: var(--text-2); font: inherit; font-size: var(--fs-sm); font-weight: 650; cursor: pointer; transition: border-color .15s, background .15s, transform .1s; }
.au-tile:hover { border-color: var(--line-3); }
.au-tile:active { transform: scale(.97); }
.au-tile:focus-visible { box-shadow: var(--ring); }
.au-tile .ico { width: 24px; height: 24px; color: var(--muted); }
.au-tile[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-bg); color: var(--text); }
.au-tile[aria-pressed="true"] .ico { color: var(--brand); }
.au-tile-row { flex-direction: row; min-height: var(--tap-lg); }
.au-flag { width: 28px; height: 21px; border-radius: 4px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }

.au-resend { display: flex; justify-content: center; }
.au-dev { text-align: center; font-size: var(--fs-xs); color: var(--warn); }

.eq-est { display: flex; flex-direction: column; align-items: center; gap: var(--sp-3); text-align: center; }
.eq-logo { width: 80px; height: 80px; border-radius: var(--r-xl); object-fit: cover; background: var(--surface-2); border: 1px solid var(--line-2); box-shadow: var(--sh-2); }
.eq-logo-ph { display: grid; place-items: center; color: var(--brand); background: var(--brand-bg); }
.eq-logo-ph .ico { width: 34px; height: 34px; }
.eq-name { font-size: var(--fs-xl); font-weight: 800; letter-spacing: -.01em; }
.eq-staff { display: grid; gap: var(--sp-2); grid-template-columns: repeat(auto-fill, minmax(min(100%, 128px), 1fr)); }
.eq-person { display: flex; flex-direction: column; align-items: center; gap: var(--sp-2); padding: var(--sp-4) var(--sp-2); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line-2); color: var(--text); font: inherit; cursor: pointer; text-align: center; transition: border-color .15s, background .15s, transform .1s; }
.eq-person:hover { border-color: var(--line-3); background: var(--surface-2); }
.eq-person:active { transform: scale(.97); }
.eq-person:focus-visible { box-shadow: var(--ring); }
.eq-person.is-last { border-color: var(--brand); }
.eq-person .avatar { width: 52px; height: 52px; font-size: var(--fs-lg); }
.eq-person-name { font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
.eq-person-role { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-xs); color: var(--muted); }
.eq-person-role .ico { width: 13px; height: 13px; }

.pin-who { display: flex; align-items: center; justify-content: center; gap: var(--sp-3); }
.pin-dots { display: flex; justify-content: center; gap: 14px; min-height: 20px; }
.pin-dot { width: 14px; height: 14px; border-radius: var(--r-full); border: 2px solid var(--line-3); transition: background .12s, border-color .12s, transform .12s; }
.pin-dot.is-on { background: var(--brand); border-color: var(--brand); transform: scale(1.08); }
.pin-dot.is-opt { border-style: dashed; opacity: .5; }
.pin-dots.is-bad { animation: shake .36s var(--ease); }
.pin-dots.is-bad .pin-dot { border-color: var(--danger); }
.pin-pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); width: 100%; max-width: 320px; margin-inline: auto; }
.pin-key { display: grid; place-items: center; height: 64px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line-2); color: var(--text); font: inherit; font-size: 1.6rem; font-weight: 700; font-variant-numeric: tabular-nums; cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; transition: background .12s, transform .08s; }
.pin-key:active { background: var(--surface-3); transform: scale(.95); }
.pin-key:focus-visible { box-shadow: var(--ring); }
.pin-key-fn { background: transparent; border-color: transparent; color: var(--muted); }
.pin-key-fn .ico { width: 26px; height: 26px; }
.pin-key-ok { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: var(--on-brand); border-color: transparent; }
.pin-key:disabled { opacity: .35; pointer-events: none; }

@keyframes shake { 0%, 100% { transform: translateX(0); } 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
@media (prefers-reduced-motion: reduce) { .pin-dots.is-bad { animation: none; } }
@media (min-width: 720px) { .au { padding-top: calc(var(--sp-12) + var(--safe-t)); } }
.eq-ask { text-align: center; font-size: var(--fs-sm); font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: var(--sp-2); }
