:root{--bg:#130f18;--surface:#1d1725;--surface-2:#2a2135;--line:#3a2f47;--text:#f3edf7;--muted:#b3a6bf;--accent:#ff5c8d;--accent-deep:#c2286b;--gold:#f4c26b;--danger:#ff6b5e;--ok:#5fd6a2;--radius:18px;--tabs-h:64px;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html,body{margin:0}body{background:radial-gradient(1200px 600px at 80% -10%, #3a1638 0%, transparent 60%), var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;background-attachment:fixed;min-height:100dvh;font:16px/1.45 system-ui,-apple-system,Segoe UI,Roboto,sans-serif}h1,h2,h3{text-wrap:balance;margin:0;line-height:1.2}h1{font-size:1.35rem}h2{font-size:1.1rem}h3{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;font-size:.95rem;font-weight:600}p{margin:0}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit;color:inherit}:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.shell{flex-direction:column;max-width:720px;min-height:100dvh;margin:0 auto;display:flex}.topbar{z-index:5;padding:calc(12px + env(safe-area-inset-top)) 16px 12px;background:color-mix(in srgb, var(--bg) 78%, transparent);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);align-items:center;gap:10px;display:flex;position:sticky;top:0}.topbar h1{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.topbar-action{align-items:center;gap:8px;display:flex}.content{padding:4px 16px calc(var(--tabs-h) + 28px + env(safe-area-inset-bottom));flex-direction:column;flex:1;gap:16px;display:flex}.tabs{left:50%;bottom:calc(10px + env(safe-area-inset-bottom));z-index:10;background:color-mix(in srgb, var(--surface-2) 92%, transparent);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border:1px solid var(--line);border-radius:22px;gap:4px;width:min(100% - 20px,700px);padding:6px;display:flex;position:fixed;transform:translate(-50%);box-shadow:0 12px 30px #0009}.tab{color:var(--muted);border-radius:16px;flex-direction:column;flex:1;align-items:center;gap:2px;padding:7px 4px;font-size:.72rem;transition:background .2s,color .2s,transform .15s;display:flex}.tab:active{transform:scale(.95)}.tab-icon{font-size:1.15rem;line-height:1}.tab-active{color:#fff;background:linear-gradient(135deg, var(--accent), var(--accent-deep))}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);flex-direction:column;gap:12px;padding:16px;animation:.3s both rise;display:flex}@keyframes rise{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}.row{align-items:center;gap:12px;display:flex}.row>.grow{flex:1;min-width:0}.stack{flex-direction:column;gap:12px;display:flex}.muted{color:var(--muted)}.small{font-size:.86rem}.pre{white-space:pre-wrap;overflow-wrap:anywhere}.tags{flex-wrap:wrap;gap:6px;display:flex}.btn{cursor:pointer;border:0;border-radius:14px;justify-content:center;align-items:center;gap:8px;min-height:48px;padding:0 20px;font-weight:650;transition:transform .12s,filter .2s,box-shadow .2s;display:inline-flex}.btn:active:not(:disabled){transform:scale(.97)}.btn:disabled{opacity:.55;cursor:default}.btn-primary{color:#fff;background:linear-gradient(135deg, var(--accent), var(--accent-deep));width:100%;box-shadow:0 8px 22px #c2286b55}.btn-primary:hover:not(:disabled){filter:brightness(1.08)}.btn-secondary{background:var(--surface-2);border:1px solid var(--line);color:var(--text)}.btn-danger{color:var(--danger);background:#3a1a1c;border:1px solid #6b2a2a}.btn-inline{width:auto;min-height:40px;padding:0 16px}.icon-btn{cursor:pointer;background:var(--surface-2);border:1px solid var(--line);width:40px;height:40px;color:var(--text);border-radius:12px;place-items:center;font-size:1.2rem;line-height:1;display:grid}.spinner{border:2px solid #fff6;border-top-color:#fff;border-radius:50%;width:18px;height:18px;animation:.7s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.field{flex-direction:column;gap:6px;display:flex}.field-label{color:var(--muted);font-size:.86rem;font-weight:600}.field-hint{color:var(--muted);font-size:.8rem}input[type=text],input[type=email],input[type=password],input[type=date],input[type=number],textarea,select{background:var(--surface-2);border:1px solid var(--line);border-radius:14px;width:100%;min-height:48px;padding:12px 14px}textarea{resize:vertical;min-height:96px}.check{align-items:flex-start;gap:10px;font-size:.9rem;display:flex}.check input{width:20px;height:20px;accent-color:var(--accent);flex:none;margin-top:2px}.note{border-radius:14px;padding:12px 14px;font-size:.9rem}.note-error{color:#ffb4ab;background:#3a1a1c;border:1px solid #6b2a2a}.note-info{border:1px solid var(--line);color:var(--muted);background:#2b2338}.note-ok{color:var(--ok);background:#17302a;border:1px solid #2c5a4b}.badge{white-space:nowrap;border-radius:999px;align-items:center;gap:4px;padding:3px 9px;font-size:.75rem;font-weight:650;display:inline-flex}.badge-accent{color:#ff9fbd;background:#ff5c8d26}.badge-gold{color:var(--gold);background:#f4c26b26}.badge-muted{background:var(--surface-2);color:var(--muted)}.menu{position:relative}.menu-list{z-index:20;background:var(--surface-2);border:1px solid var(--line);border-radius:14px;flex-direction:column;min-width:230px;padding:6px;animation:.15s both rise;display:flex;position:absolute;top:46px;right:0;box-shadow:0 14px 34px #000a}.menu-item{text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;padding:11px 12px}.menu-item:hover{background:var(--surface)}.menu-item.danger{color:var(--danger)}.sheet-backdrop{z-index:30;background:#000a;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet{width:min(100%,720px);max-height:90dvh;padding:18px 16px calc(22px + env(safe-area-inset-bottom));background:var(--surface);border:1px solid var(--line);border-radius:24px 24px 0 0;flex-direction:column;gap:14px;animation:.25s both up;display:flex;overflow:auto}@keyframes up{0%{opacity:0;transform:translateY(40px)}to{opacity:1;transform:none}}.sheet-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.empty{text-align:center;color:var(--muted);flex-direction:column;align-items:center;gap:10px;margin:auto 0;padding:40px 20px;animation:.3s both rise;display:flex}.empty h2{color:var(--text)}.empty p{max-width:34ch}.empty .btn{margin-top:6px}.empty-icon{color:#ff9fbd;border:1px solid var(--line);background:radial-gradient(circle at 30% 30%,#ff5c8d40,#2a2135);border-radius:50%;place-items:center;width:64px;height:64px;font-size:1.6rem;display:grid}.skeleton{border-radius:var(--radius);background:linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%);background-size:200% 100%;animation:1.3s linear infinite shimmer}@keyframes shimmer{to{background-position:-200% 0}}.skeleton-card{height:132px}.skeleton-row{border-radius:14px;height:56px}.skeleton-tile{aspect-ratio:3/4}.steps{counter-reset:step;flex-direction:column;gap:10px;display:flex}.step{counter-increment:step;align-items:flex-start;gap:12px;display:flex}.step:before{content:counter(step);background:var(--surface-2);border:1px solid var(--line);width:28px;height:28px;color:var(--muted);border-radius:50%;flex:none;place-items:center;font-size:.85rem;font-weight:700;display:grid}.step-done:before{content:"✓";color:var(--gold);background:#f4c26b26;border-color:#f4c26b66}.step-current:before{background:linear-gradient(135deg, var(--accent), var(--accent-deep));color:#fff;border-color:#0000}.step-pending{color:var(--muted)}.hero{align-items:center;gap:16px;display:flex}.footer-links{color:var(--muted);flex-wrap:wrap;justify-content:center;gap:6px 14px;padding:8px 0;font-size:.8rem;display:flex}.footer-links a:hover{color:var(--text)}.media{aspect-ratio:3/4;background:var(--surface-2);border-radius:14px;width:100%;position:relative;overflow:hidden}.media img,.media video{object-fit:cover;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;width:100%;height:100%;display:block}.media-full{aspect-ratio:auto;max-height:78dvh}.media-full img,.media-full video{object-fit:contain;max-height:78dvh}.media-loading{animation:1.2s ease-in-out infinite pulse}@keyframes pulse{50%{opacity:.55}}.media-missing{color:var(--muted);place-items:center;font-size:.85rem;display:grid}.media-play{color:#fffc;text-shadow:0 2px 12px #000;pointer-events:none;place-items:center;font-size:2rem;display:grid;position:absolute;inset:0}.lock{text-align:center;background:#130f1866;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:10px;font-size:.85rem;font-weight:600;display:flex;position:absolute;inset:0}.lock .btn{width:auto;min-height:38px;padding:0 14px;font-size:.85rem}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}@media (min-width:560px){.grid{grid-template-columns:repeat(3,minmax(0,1fr))}}.avatar{background:linear-gradient(135deg,#5a2a6b,#2a2135);border-radius:50%;flex:none;place-items:center;font-weight:700;display:grid;overflow:hidden}.avatar .media{aspect-ratio:1;border-radius:0}.profile-card{border-radius:var(--radius);background:var(--surface);border:1px solid var(--line);transition:transform .18s,box-shadow .18s;animation:.3s both rise;display:block;position:relative;overflow:hidden}.profile-card:hover{transform:translateY(-3px);box-shadow:0 14px 30px #0008}.profile-card .media{border-radius:0}.profile-card .placeholder{aspect-ratio:3/4;color:#fff3;background:linear-gradient(160deg,#4a2358,#1d1725);place-items:start center;padding-top:22%;font-size:3rem;font-weight:800;display:grid}.profile-card .caption{background:linear-gradient(#0000,#130f18ee);flex-direction:column;gap:3px;padding:28px 12px 10px;display:flex;position:absolute;bottom:0;left:0;right:0}.profile-card .name{text-overflow:ellipsis;white-space:nowrap;font-weight:700;overflow:hidden}.thread{flex-direction:column-reverse;gap:8px;display:flex}.bubble{background:var(--surface-2);border-radius:18px;flex-direction:column;align-self:flex-start;gap:6px;max-width:82%;padding:10px 14px;animation:.2s both rise;display:flex}.bubble.mine{background:linear-gradient(135deg,#b3206a,#7a1d5c);align-self:flex-end}.bubble .media{width:220px;max-width:60vw}.bubble time{color:#fff9;align-self:flex-end;font-size:.7rem}.composer{left:50%;bottom:calc(var(--tabs-h) + 22px + env(safe-area-inset-bottom));z-index:9;background:var(--surface);border:1px solid var(--line);border-radius:20px;align-items:flex-end;gap:8px;width:min(100% - 20px,700px);padding:8px;display:flex;position:fixed;transform:translate(-50%);box-shadow:0 10px 26px #0009}.composer textarea{resize:none;background:0 0;border:0;min-height:44px;max-height:120px;padding:10px 8px}.composer .btn{width:auto;min-height:44px}.with-composer{flex:1;justify-content:flex-end;padding-bottom:86px}.auth{flex-direction:column;justify-content:center;gap:20px;max-width:460px;min-height:100dvh;margin:0 auto;padding:32px 20px;display:flex}.brand{letter-spacing:-.03em;background:linear-gradient(135deg, #fff, var(--accent));color:#0000;-webkit-background-clip:text;background-clip:text;font-size:2.4rem;font-weight:800}.lead{color:var(--muted);font-size:1.1rem}.choice{grid-template-columns:1fr 1fr;gap:10px;display:grid}.choice button{background:var(--surface-2);border:2px solid var(--line);cursor:pointer;text-align:left;border-radius:16px;flex-direction:column;gap:4px;padding:16px 12px;transition:border-color .2s,transform .12s;display:flex}.choice button[aria-pressed=true]{border-color:var(--accent);background:#ff5c8d1a}.choice button:active{transform:scale(.97)}.choice strong{font-size:1rem}.link{color:var(--accent);font-weight:600}.stat{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.stat>div{background:var(--surface-2);border-radius:14px;flex-direction:column;gap:2px;padding:12px;display:flex}.stat strong{font-variant-numeric:tabular-nums;font-size:1.15rem}.stat span{color:var(--muted);font-size:.75rem}.list{flex-direction:column;display:flex}.list>*{border-bottom:1px solid var(--line);padding:12px 0}.list>:last-child{border-bottom:0}.segmented{gap:6px;padding-bottom:2px;display:flex;overflow-x:auto}.segmented button{border:1px solid var(--line);background:var(--surface-2);cursor:pointer;border-radius:999px;flex:none;padding:8px 14px;font-size:.88rem}.segmented button[aria-pressed=true]{background:var(--accent-deep);border-color:var(--accent);color:#fff}.doc{flex-direction:column;gap:18px;max-width:760px;margin:0 auto;padding:28px 20px 56px;display:flex}.doc h1{font-size:1.7rem}.doc h2{margin-top:10px;font-size:1.15rem}.doc p,.doc li{color:#d9cfe2;line-height:1.6}.doc ul{flex-direction:column;gap:6px;margin:0;padding-left:20px;display:flex}.doc-draft{color:var(--gold);background:#3a2c12;border:1px solid #7a5a1c;border-radius:14px;padding:12px 14px;font-size:.9rem;font-weight:600}.doc-nav{flex-wrap:wrap;gap:6px;display:flex}.doc-nav a{border:1px solid var(--line);background:var(--surface-2);border-radius:999px;padding:7px 12px;font-size:.85rem}.doc-nav a[aria-current=page]{background:var(--accent-deep);border-color:var(--accent);color:#fff}@media (min-width:960px){.shell{grid-template-columns:220px minmax(0,1fr);align-content:start;column-gap:32px;max-width:1200px;padding:0 28px;display:grid}.shell>.topbar{-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;grid-column:2;padding:22px 0 14px;position:static}.topbar h1{font-size:1.6rem}.shell>.content{grid-column:2;min-height:calc(100dvh - 92px);padding:4px 0 48px}.tabs{width:auto;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:var(--surface);flex-direction:column;grid-area:1/1/span 2;align-self:start;gap:4px;margin-top:22px;padding:14px 10px;position:sticky;top:22px;bottom:auto;left:auto;transform:none}.tabs:before{content:"Cokinous";letter-spacing:-.03em;color:var(--accent);padding:4px 12px 12px;font-size:1.35rem;font-weight:800}.tab{flex-direction:row;flex:none;justify-content:flex-start;gap:12px;padding:12px 14px;font-size:.95rem}.grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.grid.grid-3{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}.cols{columns:2;column-gap:16px;display:block}.cols>*{break-inside:avoid;margin-bottom:16px}.composer{width:100%;position:sticky;bottom:18px;left:auto;transform:none}.with-composer{padding-bottom:12px}.bubble{max-width:60%}.sheet-backdrop{align-items:center;padding:24px}.sheet{border-radius:24px;width:min(100%,560px);padding-bottom:22px}.auth{max-width:480px}.card>.btn-primary,.card>a.btn-primary{align-self:flex-start;width:auto;min-width:280px}.cols .card>.btn-primary{width:100%}}
