:root { color-scheme:dark; font-family:system-ui,sans-serif; background:#100e17; color:#f8eae3; --muted:#dbc0c3; --line:#ad777550; --gold:#efc4a1; }
* { box-sizing:border-box; }
[hidden] { display:none !important; }
body { min-height:100svh; margin:0; overflow-x:hidden; background:radial-gradient(ellipse at 83% 29%,#58172d,transparent 48%),radial-gradient(ellipse at 32% 82%,#211c35,transparent 62%),#100e17; }
body::before,body::after { content:""; position:fixed; z-index:0; pointer-events:none; border-radius:50%; width:90vw; height:35vw; top:43%; left:25%; rotate:-27deg; border:1px solid #e0936550; box-shadow:0 0 40px #b53a5b30,inset 0 0 20px #b53a5b2a; }
body::after { top:54%; left:-21%; rotate:18deg; border-color:#d1466961; }
.top,main { position:relative; z-index:1; width:min(68rem,calc(100% - 2rem)); margin:auto; }
.top { display:flex; justify-content:space-between; align-items:center; gap:1rem; min-height:5rem; }
a { color:var(--gold); text-underline-offset:.24em; }
.wordmark { color:#f8d4bc; font-weight:850; letter-spacing:.16em; text-decoration:none; white-space:nowrap; }
.wordmark span { color:#fa9ba4; }
h1,h2,h3,p { margin:0; }
h1 { font-size:clamp(2.1rem,6.5vw,4.2rem); letter-spacing:-.055em; line-height:1.03; }
h2 { font-size:1.34rem; }
h3 { font-size:1.1rem; }
p,li { line-height:1.53; }
.eyebrow { color:var(--gold); font-size:.76rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; margin-bottom:.85rem; }
.surface { padding:clamp(1rem,3vw,1.7rem); background:linear-gradient(145deg,#321d2bea,#171623fa); border:1px solid var(--line); border-radius:1rem; box-shadow:0 20px 60px #07081060; }
.surface > :is(p,form,div,ol,button) { margin-top:.82rem; }
.gate { width:min(100%,35rem); margin:clamp(2.5rem,16vh,9rem) auto 4rem; padding:clamp(1.4rem,5vw,3rem); }
.gate > #gate-description,.surface > p { color:var(--muted); }
.gate input { width:100%; }
.gate button { margin-top:.3rem; }
form,label { display:grid; gap:.45rem; }
form { gap:.85rem; }
label { color:#f2d7cb; font-size:.92rem; }
small { color:var(--muted); font-size:.78rem; }
input,select,button,.button { font:inherit; min-height:2.65rem; padding:.54rem .78rem; border:1px solid #bf8e826d; border-radius:.55rem; }
input,select { background:#150f1b; color:#fff0e8; min-width:0; }
button,.button { display:inline-flex; align-items:center; justify-content:center; background:#eac1a0; color:#260f1b; font-weight:700; cursor:pointer; text-decoration:none; }
button.secondary,.button { background:#40232f; color:#ffe3cf; }
button.danger { background:#4e1d2d; color:#ffdce0; }
button:hover,.button:hover { filter:brightness(1.15); }
button:disabled { cursor:wait; opacity:.62; }
:focus-visible { outline:2px solid #ffc38e; outline-offset:3px; }
.notice:empty { display:none; }
.notice { white-space:pre-wrap; color:#ffcbae !important; overflow-wrap:anywhere; }
#dashboard { display:grid; gap:1rem; padding-bottom:4rem; }
#register-passkey .actions, #pair-phone > .actions, #phone-approval, #phone-signin { margin-top:.7rem; }
#phone-signin { display:inline-block; }
.heading,.actions,.line { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.7rem; }
.actions { justify-content:flex-start; }
.overview { display:grid; gap:1rem; grid-template-columns:minmax(12rem,.7fr) minmax(16rem,1.3fr); }
#people,#sessions,#history,.entries { display:grid; gap:.68rem; }
article,.entry { padding:.88rem; border:1px solid #9d696055; border-radius:.68rem; background:#1c1425; overflow-wrap:anywhere; }
.entries,article > .actions { margin-top:.72rem; }
.entry p,article > p { color:var(--muted); }
.entry button,article .actions button { font-size:.85rem; min-height:2.22rem; }
#invite-link { flex:1 1 14rem; }
#history { margin-bottom:0; padding-left:1.35rem; color:var(--muted); }
.code { font:700 1.08rem ui-monospace,monospace; color:var(--gold); }
@media (max-width:630px) { .overview { grid-template-columns:1fr; } .top { min-height:4rem; } }
