:root{color-scheme:dark;--bg:#120d1a;--panel:#1c1426;--stroke:#372942;--text:#faf1fa;--muted:#c3adc8;--hot:#eb9af2;--lilac:#c9a0ff}
*{box-sizing:border-box}
body{margin:0;background:radial-gradient(ellipse at 75% 0%,#281735,transparent 50%),var(--bg);color:var(--text);font:15px/1.5 system-ui,sans-serif}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:2px solid var(--hot);outline-offset:4px}
a{color:var(--hot)}
h1,h2,h3,p{margin:0}
.shell{min-height:100dvh;display:grid;grid-template-columns:212px minmax(0,1fr)}
.side{position:sticky;top:0;height:100dvh;padding:32px 17px 20px;display:flex;flex-direction:column;border-right:1px solid var(--stroke);background:#140e1c}
.brand,.side nav button,.identity{background:none;border:0}
.brand{display:flex;align-items:center;gap:10px;text-align:left;padding:0 10px;font-size:20px;letter-spacing:.13em;line-height:1}
.brand span{font-size:36px;color:var(--hot)}
.brand small{display:block;font-size:9px;letter-spacing:.25em;color:var(--muted);margin-top:5px}
.side nav{display:grid;gap:5px;margin-top:42px}
.side nav button{display:flex;gap:9px;align-items:center;text-align:left;color:var(--muted);border-radius:10px;min-height:46px;padding:8px 12px}
.side nav button span{width:22px;text-align:center;font-size:21px}
.side nav button[aria-current=true]{background:#30203e;color:#ffe9fc;font-weight:750}
.side-note{margin:auto 10px 0;color:var(--muted);font-size:12px}
main{width:min(100%,1260px);margin-inline:auto;padding:24px clamp(18px,4vw,57px) 40px}
.top{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:38px;margin-bottom:23px;font-size:10px;letter-spacing:.13em;color:var(--muted)}
.top b{color:var(--text)}
.top>span span{margin:0 5px;color:var(--hot)}
.identity{padding:6px 12px;border:1px solid var(--stroke);border-radius:99px;letter-spacing:0;font-size:13px;max-width:48%;overflow-wrap:anywhere}
.identity span{color:var(--hot);margin-right:4px;font-size:10px}
.hero{min-height:365px;position:relative;display:flex;align-items:end;overflow:hidden;border:1px solid #5b3d63;border-radius:24px;background:#281439 url('roof.webp') center 52%/cover}
.hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#100a18ed 12%,#140b2177 65%,#140b2122),linear-gradient(0deg,#0d081787,transparent 60%)}
.hero-content{position:relative;padding:clamp(23px,5vw,54px);max-width:650px}
.eyebrow{font-size:11px;letter-spacing:.17em;text-transform:uppercase;color:#ffb9ef;font-weight:800;margin-bottom:10px}
h1{font-size:clamp(38px,7vw,78px);line-height:.98;letter-spacing:-.07em;font-weight:840}
h2{font-size:clamp(24px,4vw,34px);line-height:1.12;letter-spacing:-.04em;margin-bottom:10px}
h3{font-size:19px}
.hero p:not(.eyebrow),.intro p,.sub,.tile p{color:var(--muted)}
.hero p:not(.eyebrow){margin:13px 0 20px;max-width:340px}
.button{border:1px solid #65496f;border-radius:9px;background:#33203e;padding:9px 14px;min-height:43px;font-weight:750}
.button.primary{background:#f1a5ee;color:#230f2b;border-color:#f1a5ee}
.button:hover{filter:brightness(1.13)}
.intro{margin-bottom:22px}
.intro h1{font-size:clamp(34px,6vw,57px);margin-bottom:11px}
.section{margin-top:29px}
.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.tile,.panel{min-width:0;border:1px solid var(--stroke);border-radius:15px;background:#21172c;overflow:hidden}
.tile{display:flex;flex-direction:column}
.tile .inner,.panel{padding:18px}
.tile p,.panel .sub{margin:6px 0 13px}
.tile .button{margin-top:5px}
.tile .event-icon{color:var(--hot);font-size:24px}
.portrait{height:clamp(160px,23vw,290px);width:100%;object-fit:cover;display:block;background:#453054}
.actions{display:flex;flex-wrap:wrap;gap:8px}
.chips{display:flex;gap:6px;flex-wrap:wrap;margin:7px 0 12px}
.chip{background:#382640;color:#eed0f0;border-radius:99px;padding:4px 9px;font-size:12px}
.fields{display:grid;gap:11px;max-width:620px}
.fields label{display:grid;gap:4px;font-weight:700}
.fields input:not([type=checkbox]),.fields select,.composer input{background:#120d1a;border:1px solid #543d5d;border-radius:9px;padding:8px 10px;min-width:0;width:100%;min-height:42px}
.fields .check{display:flex;align-items:flex-start}
.account{margin-bottom:12px;overflow-wrap:anywhere}
.account .button{justify-self:start;text-decoration:none}
.apartment{min-height:200px;margin-bottom:15px;border-radius:11px;display:grid;place-items:center;text-align:center;background:linear-gradient(150deg,#3f2458,#1a1125 70%);border:1px solid #6d4786}
.apartment[data-light=Rosa]{background:linear-gradient(150deg,#792a5f,#1a1125 75%)}
.apartment[data-light=Ámbar]{background:linear-gradient(150deg,#785027,#1c1420 75%)}
.apartment span{display:block;font-size:45px}
dialog{color:var(--text);background:#21162b;border:1px solid #684771;border-radius:18px;width:min(520px,calc(100% - 24px));max-height:90dvh;padding:24px}
dialog::backdrop{background:#100814cc}
.close{position:absolute;right:11px;top:10px;border:0;border-radius:9px;background:#372441;width:36px;height:36px;font-size:23px}
dialog h2{padding-right:38px}
dialog p{margin:10px 0}
.log{display:grid;gap:8px;max-height:220px;overflow:auto;margin:15px 0}
.bubble{background:#332340;padding:7px 10px;border-radius:10px;width:fit-content;max-width:90%;overflow-wrap:anywhere}
.bubble.mine{justify-self:end;background:#572d5d}
.composer{display:flex;gap:7px}
#notice{position:fixed;right:20px;bottom:20px;max-width:calc(100% - 40px);padding:9px 14px;border-radius:9px;background:#59335f;z-index:3}
#notice:empty{display:none}
@media(max-width:760px){
  .shell{display:block}.side{height:auto;position:fixed;inset:auto 0 0;z-index:2;padding:4px 4px max(4px,env(safe-area-inset-bottom));border:0;border-top:1px solid var(--stroke)}
  .side nav{grid-template-columns:repeat(5,minmax(0,1fr));margin:0;gap:1px}.side nav button{flex-direction:column;gap:1px;justify-content:center;text-align:center;padding:3px 1px;font-size:11px}.side nav button span{line-height:1.05}
  .side .brand,.side-note{display:none}main{padding:12px 12px 75px}.top{margin-bottom:12px}.hero{min-height:315px}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  #notice{bottom:68px}
}
@media(max-width:390px){.grid{grid-template-columns:1fr}.top{letter-spacing:.07em}}
@media(prefers-reduced-motion:no-preference){.hero-content,.intro{animation:appear .28s ease-out}@keyframes appear{from{opacity:.55;transform:translateY(5px)}to{opacity:1;transform:none}}}
