:root{--bg:#0e0f13;--surface:#17191f;--surface-2:#1f222a;--border:#2c303a;--text:#f2f3f5;--muted:#9aa0ac;--accent:#a855f7;--danger:#ef4444;--ok:#22c55e;--radius:14px;color-scheme:dark}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{min-height:100dvh;background:var(--bg);color:var(--text);font:16px/1.5 system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}body,h1,h2,h3,p{margin:0}h1{font-size:1.6rem;line-height:1.2}h2{font-size:1.15rem}h3{font-size:1rem}a{color:var(--accent)}img{display:block;max-width:100%}.muted{color:var(--muted)}.small{font-size:.875rem}.grow{flex:1 1;min-width:0}.center{text-align:center}.center,.row{align-items:center}.row{display:flex;flex-wrap:wrap;gap:8px}.row.end{justify-content:flex-end}.stack{display:flex;flex-direction:column;gap:14px}.grid2{display:grid;grid-template-columns:1fr;grid-gap:14px;gap:14px}@media (min-width:640px){.grid2{grid-template-columns:1fr 1fr}}label{display:flex;flex-direction:column;gap:6px;font-size:.9rem;font-weight:600}label small{font-weight:400;color:var(--muted)}input,select,textarea{width:100%;padding:10px 12px;border:1px solid var(--border);border-radius:10px;background:var(--surface-2);color:var(--text);font:inherit;font-weight:400}input[type=color]{height:44px;padding:4px;cursor:pointer}input[type=file]{padding:8px}textarea{resize:vertical}.btn:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:42px;padding:0 16px;border:1px solid var(--border);border-radius:10px;background:var(--surface-2);color:var(--text);font:inherit;font-weight:600;text-decoration:none;cursor:pointer;transition:background .15s,border-color .15s}.btn:hover:not(:disabled){border-color:var(--accent)}.btn:disabled{opacity:.45;cursor:not-allowed}.btn.primary{background:var(--accent);border-color:var(--accent);color:#fff}.btn.primary:hover:not(:disabled){filter:brightness(1.1)}.btn.ghost{background:transparent}.btn.small{min-height:40px;padding:0 12px;font-size:.85rem}.btn.danger{color:#fca5a5}.btn.danger.solid,.btn.danger:hover:not(:disabled){border-color:var(--danger)}.btn.danger.solid{background:var(--danger);color:#fff}.msg{padding:10px 12px;border-radius:10px;font-size:.9rem;font-weight:600}.msg.err{background:rgba(239,68,68,.12);color:#fca5a5;border:1px solid rgba(239,68,68,.4)}.msg.ok{background:rgba(34,197,94,.12);color:#86efac;border:1px solid rgba(34,197,94,.4)}.dialog{width:min(92vw,420px);padding:22px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);color:var(--text)}.dialog::-webkit-backdrop{background:rgba(0,0,0,.65)}.dialog::backdrop{background:rgba(0,0,0,.65)}.dialog p{margin:8px 0 20px;color:var(--muted)}.auth{min-height:100dvh;display:grid;place-items:center;padding:24px 16px}.box{width:100%;max-width:400px;display:flex;flex-direction:column;gap:14px;padding:28px 24px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius)}.auth.split{display:block;padding:0}.auth-side{display:none}.auth-main{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:32px 16px}.auth-main .box{gap:16px;padding:32px 28px;box-shadow:0 24px 60px -30px rgba(0,0,0,.8)}.auth-main .box h1{margin-bottom:4px}.auth-main .btn.primary{min-height:46px;margin-top:4px}.auth-alt a{font-weight:600}.brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:1.05rem;letter-spacing:-.01em}.brand-mark{width:34px;height:34px;flex-shrink:0;display:flex;flex-direction:column;justify-content:center;gap:4px;padding:0 7px;border-radius:9px;background:#000;border:1px solid var(--border)}.brand-mark i{height:5px;border-radius:99px;background:var(--text)}.brand-mark i:nth-child(2){background:var(--accent)}.field{display:flex;align-items:stretch;border:1px solid var(--border);border-radius:10px;background:var(--surface-2);font-weight:400}.field:focus-within{outline:2px solid var(--accent);outline-offset:2px}.field input{flex:1 1;min-width:0;border:0;background:transparent}.field input:focus-visible{outline:0}.field-pre{display:flex;align-items:center;padding-left:12px;color:var(--muted);white-space:nowrap}.field-pre+input{padding-left:2px}.field-btn{padding:0 12px;border:0;border-radius:10px;background:transparent;color:var(--muted);font:inherit;font-size:.85rem;font-weight:600;cursor:pointer}.field-btn:hover{color:var(--text)}.field-btn:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}@media (min-width:900px){.auth.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);place-items:stretch}.auth-top{display:none}.auth-side{display:flex;flex-direction:column;justify-content:space-between;gap:32px;padding:40px 48px;border-right:1px solid var(--border);background:radial-gradient(120% 80% at 0 0,color-mix(in srgb,var(--accent) 22%,transparent),transparent 60%),var(--surface)}.auth-pitch{max-width:440px}.auth-pitch h2{font-size:2.1rem;line-height:1.15;letter-spacing:-.02em}.auth-pitch ul{margin:22px 0 0;padding:0;list-style:none;display:flex;flex-direction:column;gap:12px;color:var(--muted)}.auth-pitch li{position:relative;padding-left:22px}.auth-pitch li:before{content:"";position:absolute;left:0;top:.55em;width:10px;height:5px;border-radius:99px;background:var(--accent)}.auth-demo{width:220px;display:flex;flex-direction:column;align-items:center;gap:9px;padding:20px 18px;border:1px solid var(--border);border-radius:22px;background:var(--bg)}.auth-demo-avatar{width:46px;height:46px;border-radius:50%;background:var(--surface-2);border:1px solid var(--border)}.auth-demo-line{width:90px;height:8px;margin-bottom:6px;border-radius:99px;background:var(--surface-2)}.auth-demo i{width:100%;height:26px;border-radius:9px;background:var(--surface-2);border:1px solid var(--border)}.auth-demo i.on{background:var(--accent);border-color:var(--accent)}}.panel{max-width:1120px;margin:0 auto;padding:24px 16px 160px;display:flex;flex-direction:column;gap:18px}.panel-grid{display:grid;grid-template-columns:minmax(0,1fr);grid-gap:24px;gap:24px;align-items:start}.panel-grid.single{max-width:720px}.panel-main,.tab-panel{display:flex;flex-direction:column;gap:18px;min-width:0}.tab-panel[hidden]{display:none}.savebar{position:fixed;inset:auto 0 0 0;z-index:25;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:color-mix(in srgb,var(--bg) 88%,transparent);border-top:1px solid var(--border);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.savebar-in{max-width:1088px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px}.savebar-text{min-width:0;color:var(--muted);font-size:.9rem;font-weight:600}.savebar-text.err{color:#fca5a5}.savebar .btn{flex-shrink:0}.tabs{position:-webkit-sticky;position:sticky;top:0;z-index:5;display:flex;gap:6px;padding:8px 0;background:var(--bg);border-bottom:1px solid var(--border);overflow-x:auto}.tab{flex:1 1;min-height:44px;display:grid;place-items:center;padding:0 14px;border-radius:10px;color:var(--muted);font-weight:700;text-decoration:none;white-space:nowrap}.tab:hover{color:var(--text);background:var(--surface)}.tab.active{background:var(--accent);color:#fff}.live,.live-close{display:none}.live-fab{position:fixed;right:16px;bottom:calc(78px + env(safe-area-inset-bottom));z-index:20;border-radius:999px;box-shadow:0 6px 24px rgba(0,0,0,.5)}.live.open{display:flex;flex-direction:column;align-items:center;gap:10px;position:fixed;inset:0;z-index:30;padding:12px 12px calc(12px + env(safe-area-inset-bottom));background:var(--bg)}.live.open .phone{flex:1 1;width:100%;max-width:420px;height:auto;max-height:none;min-height:0}.live.open .live-close{display:inline-flex;width:100%;max-width:420px}@media (min-width:1000px){.panel-grid:not(.single){grid-template-columns:minmax(0,1fr) 340px}.tab{flex:0 0 auto;min-width:140px}.live,.live.open{display:flex;flex-direction:column;align-items:center;gap:8px;position:-webkit-sticky;position:sticky;inset:auto;top:76px;z-index:1;padding:0;background:none}.live.open .phone{flex:none;width:320px;height:640px;max-height:calc(100dvh - 130px)}.live-fab,.live.open .live-close{display:none}}.phone{width:320px;height:640px;max-height:calc(100dvh - 130px);overflow:hidden;border:8px solid #000;border-radius:36px;background:#000;box-shadow:0 10px 40px rgba(0,0,0,.5)}.phone-screen{height:100%;overflow-y:auto;overscroll-behavior:contain;border-radius:28px;scrollbar-width:none}.phone-screen::-webkit-scrollbar{display:none}.adder{border:1px dashed var(--border);border-radius:12px}.adder[open]{border-style:solid;border-color:var(--accent)}.adder>summary{display:flex;align-items:center;gap:10px;min-height:52px;padding:0 14px;cursor:pointer;list-style:none;font-weight:700;border-radius:12px}.adder>summary::-webkit-details-marker{display:none}.adder>summary:hover{background:var(--surface-2)}.adder .plus{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:28px;height:28px;border-radius:50%;background:var(--accent);color:#fff}.adder .plus svg{display:block}.adder-text{display:flex;flex-direction:column;min-width:0;padding:8px 0;line-height:1.25}.adder-hint{color:var(--muted);font-size:.8rem;font-weight:400}.adder-body{padding:4px 14px 16px}.adder-body>form{padding:0}.adder textarea{background:var(--surface-2)}.tip{padding:10px 12px;border-radius:10px;background:color-mix(in srgb,var(--accent) 14%,transparent);font-size:.85rem}.adder>form{padding:4px 14px 16px}.adder input,.adder select{background:var(--surface-2)}.empty-box{padding:20px;text-align:center;color:var(--muted);border:1px dashed var(--border);border-radius:12px}.panel-head{flex-wrap:wrap;justify-content:space-between;align-items:center}.panel-head,.section{display:flex;gap:14px}.section{flex-direction:column;padding:20px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius)}.image-field{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-start;padding-top:14px;border-top:1px solid var(--border)}.image-field:first-of-type{border-top:0;padding-top:0}.image-field .grow{display:flex;flex-direction:column;gap:8px;min-width:220px}.preview{display:grid;place-items:center;overflow:hidden;flex-shrink:0;background:var(--surface-2);border:1px dashed var(--border);color:var(--muted);font-size:.8rem}.preview img{width:100%;height:100%;object-fit:cover}.preview.avatar{width:96px;height:96px;border-radius:50%}.preview.banner{width:240px;max-width:100%;aspect-ratio:3/1;border-radius:10px}.link-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.link-list>li{display:flex;align-items:flex-start;gap:4px;padding:10px 12px 10px 4px;background:var(--surface-2);border:1px solid var(--border);border-radius:12px}.link-list>li.dragging{position:relative;z-index:3;border-color:var(--accent);box-shadow:0 10px 30px rgba(0,0,0,.5);opacity:.95}.grip{display:grid;place-items:center;flex-shrink:0;width:36px;height:40px;padding:0;border:0;border-radius:8px;background:transparent;color:var(--muted);cursor:-webkit-grab;cursor:grab;touch-action:none}.grip:hover{color:var(--text);background:var(--border)}.grip:active{cursor:-webkit-grabbing;cursor:grabbing}.grip:focus-visible{outline:2px solid var(--accent)}.link-list>li.hidden-link summary{opacity:.55}.link-list summary{display:flex;align-items:center;gap:12px;min-height:40px;cursor:pointer;list-style:none;border-radius:8px}.link-list summary::-webkit-details-marker{display:none}.link-list .url,.link-list summary strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.link-list .url{color:var(--muted);font-size:.8rem}.edit-hint{color:var(--accent);font-size:.85rem;font-weight:600}details[open] .edit-hint{display:none}.link-list .thumb{width:36px;height:36px;flex-shrink:0;border-radius:8px;object-fit:cover}.heading-mark{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;border-radius:10px;background:var(--border);font-weight:900}.music-preview{width:100%}label.check{flex-direction:row;align-items:center;gap:8px;font-weight:400}label.check input{width:18px;height:18px}.tag{white-space:nowrap;padding:2px 8px;border-radius:999px;background:var(--border);font-size:.75rem}.edit{margin-top:14px;padding-top:14px;border-top:1px solid var(--border)}.edit input,.edit select,.edit textarea{background:var(--surface)}.tools{margin-top:12px;padding-top:12px;border-top:1px solid var(--border)}.picon.round{border-radius:50%}.picon{display:inline-grid;place-items:center;flex-shrink:0;border-radius:10px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}.profile{--p-bg:#0e0f13;--p-btn:#1c1f26;--p-border:#2c303a;--p-text:#f5f6f8;--p-muted:#a2a8b3;position:relative;isolation:isolate;overflow-x:clip;min-height:100dvh;color:var(--p-text);background:var(--p-bg)}.profile.theme-light{--p-bg:#ffffff;--p-btn:#f3f4f7;--p-border:#e1e4ea;--p-text:#111317;--p-muted:#5d6470}.profile .backdrop{display:none}.profile .sheet{display:flex;flex-direction:column;min-height:100dvh;padding-bottom:calc(28px + env(safe-area-inset-bottom));background:var(--p-bg)}.profile.preview,.profile.preview .sheet{min-height:100%}@media (min-width:640px){.profile:not(.preview){padding:34px 16px;background:color-mix(in srgb,var(--p-bg) 80%,#808080)}.profile .backdrop{display:block;position:fixed;inset:-60px;z-index:-1;width:calc(100% + 120px);height:calc(100% + 120px);max-width:none;object-fit:cover;filter:blur(50px)}.profile:not(.preview) .sheet{max-width:566px;min-height:0;margin:0 auto;border-radius:30px;overflow:hidden;box-shadow:0 1px 10px 2px rgba(0,0,0,.5)}}.profile .hero{position:relative;width:100%;aspect-ratio:1/1;overflow:hidden}.profile .hero.empty{aspect-ratio:5/3;background:linear-gradient(160deg,var(--accent),color-mix(in srgb,var(--accent) 30%,var(--p-bg)))}.profile .hero-img{width:100%;height:100%;object-fit:cover}.profile .hero-fade{position:absolute;inset:auto 0 -1px 0;height:52%;background:linear-gradient(180deg,transparent 0,color-mix(in srgb,var(--p-bg) 70%,transparent) 55%,var(--p-bg) 100%)}.profile .ident{position:absolute;inset:auto 0 0 0;padding:0 20px 6px;text-align:center}.profile .ident h1{font-size:2rem;font-weight:800;line-height:1.2;letter-spacing:.25px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile .handle{color:var(--p-muted);font-size:.9rem;font-weight:500}.profile .music{position:absolute;top:calc(12px + env(safe-area-inset-top));right:12px;z-index:2;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;cursor:pointer;background:rgba(0,0,0,.55);color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transition:background .15s,transform .15s}.profile .music:hover{transform:scale(1.06)}.profile .music.on{background:var(--accent)}.profile .music:focus-visible{outline:2px solid #fff;outline-offset:2px}.profile .socials{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;padding:10px 14px 4px}.profile .socials a{display:block;border-radius:50%;transition:transform .15s}.profile .socials a:hover{transform:scale(1.08)}.profile .bio{margin:10px auto 4px;padding:0 20px;max-width:46ch;text-align:center;font-size:.9rem;line-height:1.35;white-space:pre-line;overflow-wrap:anywhere}.profile .blocks{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px 12px;gap:10px 12px;padding:14px 14px 0}.profile .blocks>*{grid-column:1/-1;min-width:0}.profile .blocks>.b-card.small{grid-column:auto}.profile .empty{color:var(--p-muted);text-align:center}.profile .b-heading{margin:8px 0 2px;text-align:center;font-size:1.06rem;font-weight:900;overflow-wrap:anywhere}.profile .b-card{position:relative;display:block;overflow:hidden;border-radius:14px;background:#000;color:#fff;text-decoration:none;transition:transform .15s}.profile .b-card.big{aspect-ratio:15/8}.profile .b-card.small{aspect-ratio:13/8}.profile .b-card:hover,.profile .b-row:hover{transform:translateY(-2px)}.profile .b-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.profile .b-glyph{position:absolute;inset:0;margin:auto;width:34%;height:46%;opacity:.95}.profile .b-shade{position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(0,0,0,.78))}.profile .b-badge{position:absolute;top:8px;right:8px;border-radius:50%;box-shadow:0 0 0 3px rgba(255,255,255,.22)}.profile .b-card.small .b-badge{top:7px;right:7px;box-shadow:0 0 0 2px rgba(255,255,255,.22)}.profile .b-title{position:absolute;inset:auto 0 6px 0;padding:0 10px;text-align:center;font-size:1.12rem;font-weight:600;line-height:1.3;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}.profile .b-card.small .b-title{font-size:.95rem}.profile .b-row{position:relative;display:flex;align-items:center;gap:12px;padding:10px;overflow:hidden;border-radius:16px;background:var(--p-btn);border:1px solid var(--p-border);color:var(--p-text);text-decoration:none;transition:transform .15s}.profile .b-row.has-img{border:0;background:#222;color:#fff}.profile .b-row-bg{position:absolute;inset:-40px;width:calc(100% + 80px);height:calc(100% + 80px);max-width:none;object-fit:cover;filter:blur(20px) brightness(.7)}.profile .b-thumb{position:relative;flex-shrink:0;width:56px;height:56px;overflow:hidden;border-radius:8px;background:rgba(255,255,255,.2)}.profile .b-thumb img{width:100%;height:100%;object-fit:cover}.profile .b-row-title{position:relative;flex:1 1;min-width:0;font-weight:600;line-height:1.3;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.profile .b-embed{overflow:hidden;border-radius:14px;background:#000}.profile .b-embed.narrow{width:100%;max-width:325px;justify-self:center}.profile .b-embed iframe{display:block;width:100%;height:100%;border:0}.profile .b-text{padding:14px 16px;border-radius:16px;background:var(--p-btn);border:1px solid var(--p-border)}.profile .b-text h3{margin-bottom:6px;font-size:1rem;font-weight:800}.profile .b-text p{font-size:.93rem;line-height:1.45;white-space:pre-line;overflow-wrap:anywhere}.profile .b-text dl{margin:0;display:flex;flex-direction:column}.profile .fact{display:flex;justify-content:space-between;gap:16px;padding:8px 0;border-top:1px solid var(--p-border);font-size:.93rem}.profile .fact:first-child{border-top:0;padding-top:2px}.profile .fact:last-child{padding-bottom:2px}.profile .fact dt{color:var(--p-muted);flex-shrink:0;max-width:45%;overflow-wrap:anywhere}.profile .fact dd{margin:0;font-weight:600;text-align:right;overflow-wrap:anywhere}.profile .fact.solo dd{text-align:left;font-weight:400}.profile .b-photo{margin:0;overflow:hidden;border-radius:14px;background:var(--p-btn)}.profile .b-photo img{width:100%;height:auto}.profile .b-photo figcaption{padding:8px 12px 10px;text-align:center;font-size:.88rem;color:var(--p-muted)}.profile .link{display:flex;align-items:center;gap:14px;min-height:60px;padding:10px 14px;background:var(--p-btn);border:1px solid var(--p-border);border-radius:16px;color:var(--p-text);font-weight:700;text-decoration:none;text-align:left;transition:transform .15s,border-color .15s}.profile .link:hover{transform:translateY(-2px);border-color:var(--accent)}.profile .link .label{flex:1 1;min-width:0;overflow-wrap:anywhere}.profile .link .arrow{color:var(--p-muted);flex-shrink:0}@media (prefers-reduced-motion:reduce){*{transition:none!important}}