:root{color-scheme:dark;font-family:Inter,system-ui,sans-serif;background:#080811;color:#faf8ff;--muted:#b7b3cc;--line:#29243e;--panel:#111125;--accent:#c49aff}
*{box-sizing:border-box}
body{margin:0}
a{color:inherit;text-decoration:none}
button,textarea,select{font:inherit}
button{cursor:pointer}
:focus-visible{outline:3px solid #00cfff;outline-offset:4px}
.layout{max-width:1400px;margin:auto;display:grid;grid-template-columns:205px minmax(0,1fr) 250px;gap:32px;padding:40px 32px}
.rail{border-right:1px solid var(--line);padding-right:24px}
.brand{display:flex;align-items:center;gap:10px;font-size:20px;font-weight:850;letter-spacing:.15em}
.brand img{width:42px;height:42px;border-radius:11px}
nav{display:grid;gap:8px;margin:48px 0 24px}
nav a,.topics a{display:flex;align-items:center;gap:12px;padding:12px;border-radius:12px;color:var(--muted)}
nav a:hover,.topics a:hover,nav a[aria-current]{background:#201539;color:white}
nav a span,.topics b{color:var(--accent);font-size:20px}
.mode,.aside-note{font-size:13px;color:var(--muted);line-height:1.55}
.mode span{display:inline-block;width:7px;height:7px;border-radius:50%;background:#00cfff;margin-right:5px}
.hero{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:clamp(22px,4vw,46px);min-height:282px;border:1px solid #4d3271;border-radius:25px;background:radial-gradient(ellipse at 95% 0%,#38226e,transparent 70%),linear-gradient(135deg,#21113a,#111125)}
.hero h1{font-size:clamp(36px,5vw,65px);letter-spacing:-.065em;line-height:1;margin:0}
.hero p{color:#ddd4f0;line-height:1.55;max-width:32ch;margin:16px 0 25px}
.hero img{width:33%;height:auto;max-width:210px;border-radius:23%;box-shadow:0 0 40px #8b2cff55}
.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 15px;border-radius:10px;font-weight:680;min-height:44px}
.primary{background:#bc8aff;color:#16082a;border:1px solid transparent}
.primary:hover{background:#d7b6ff}
.secondary{background:#17152a;color:#f4edff;border:1px solid #3c3255}
.secondary:hover{background:#26203e}
[hidden]{display:none!important}
.section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:27px 0 14px}
h2{font-size:20px;margin:0}
aside h2{margin-bottom:14px}
.topics{border:1px solid var(--line);border-radius:15px;padding:6px;background:var(--panel)}
.card,.empty{background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:20px;margin-bottom:12px}
.author{display:flex;align-items:center;gap:12px}
.avatar{display:grid;place-items:center;border-radius:13px;width:42px;height:42px;background:#33235a;color:#e7d6ff;font-weight:750}
.meta,.empty{color:var(--muted);font-size:14px}
.card p{line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}
.actions{display:flex;flex-wrap:wrap;gap:8px}
.actions button[aria-pressed="true"]{color:#e3bbff;border-color:#9967d5;background:#2e1c4e}
dialog{background:var(--panel);color:inherit;border:1px solid #51416f;border-radius:20px;width:min(460px,calc(100% - 32px));padding:24px}
dialog::backdrop{background:#06050bcc}
form{display:grid;gap:12px}
textarea,select{width:100%;padding:10px;background:#080811;color:inherit;border:1px solid #51416f;border-radius:8px}
.sr-only{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
@media(max-width:1050px){.layout{grid-template-columns:165px minmax(0,1fr);gap:24px}aside{grid-column:2}.topics{display:flex;flex-wrap:wrap}}
@media(max-width:640px){.layout{display:block;padding:14px}.rail{border:0;padding:0}.brand{font-size:17px}nav{display:flex;justify-content:space-between;margin:14px 0;gap:4px}nav a{padding:8px;font-size:14px}.mode{margin:8px 0 12px}.hero{min-height:215px}.hero img{width:28%}aside{margin-top:25px}}

.hero{
  isolation:isolate;
  background:
    linear-gradient(90deg,#120a23 0%,#170c2ce8 27%,#160c2a38 64%,#10091f26 100%),
    linear-gradient(0deg,#0c0819a6,transparent 54%),
    url("./hero-party.png") center 26% / cover no-repeat,
    radial-gradient(ellipse at 78% 12%,#542078,#170d31 68%);
}
.hero img{border:1px solid #ac73ff80;box-shadow:0 0 36px #8b2cff99,0 10px 24px #080811aa}
@media(max-width:640px){
  .hero{background-position:center,center,58% 18%,center}
  .hero h1,.hero p{text-shadow:0 2px 10px #080811}
}

#people-filters{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin-bottom:16px}
#people-filters label{display:grid;gap:6px;color:var(--muted);font-size:14px}
#people-filters input[type="search"]{min-height:44px;max-width:100%;padding:8px 12px;border:1px solid #51416f;border-radius:8px;background:#080811;color:inherit;font:inherit}
#people-filters .people-filter-toggle{display:flex;align-items:center;min-height:44px}
.people-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:12px}
.people-grid .card{margin:0}
.people-grid h3{margin:0;font-size:18px}
.profile-detail{margin-top:14px}
@media(max-width:400px){nav a{padding:7px;gap:5px}nav a span{display:none}}
@media(max-width:640px){nav{flex-wrap:wrap;justify-content:flex-start}} .profile-detail > .actions{margin-top:12px}
.card input[type="text"]{width:100%;padding:10px;background:#080811;color:inherit;border:1px solid #51416f;border-radius:8px;font:inherit}
