@font-face{font-family:Geist;src:url('/assets/fonts/Geist-Regular.woff2') format('woff2');font-display:swap}
@font-face{font-family:GeistMono;src:url('/assets/fonts/GeistMono-Regular.woff2') format('woff2');font-display:swap}
:root{--bg:#050505;--surface:#0c0c0c;--surface-2:#121212;--surface-3:#181818;--text:#f7f7f5;--muted:#999;--line:#242424;--soft:#181818;--accent:#f7f7f5;--accent-text:#050505;--danger:#ff6767;--shadow:0 18px 70px rgba(0,0,0,.22);--rail:250px;--radius:18px}
html[data-theme="light"]{--bg:#f7f7f4;--surface:#fff;--surface-2:#f0f0ed;--surface-3:#e8e8e4;--text:#111;--muted:#6e6e69;--line:#deded9;--soft:#ecece8;--accent:#111;--accent-text:#fff;--danger:#ba2b2b;--shadow:0 18px 60px rgba(0,0,0,.08)}
*{box-sizing:border-box}html{background:var(--bg);color:var(--text);font-family:Geist,Arial,sans-serif;-webkit-text-size-adjust:100%}body{margin:0;background:var(--bg);color:var(--text);min-height:100vh;font-size:17px;line-height:1.45}button,input,textarea,select{font:inherit;color:inherit}button{border:0;background:none;cursor:pointer}svg{width:24px;height:24px;display:block}.logo-light{display:none}html[data-theme="light"] .logo-light{display:block}html[data-theme="light"] .logo-dark{display:none}[hidden]{display:none!important}.toast{position:fixed;left:50%;bottom:92px;transform:translate(-50%,20px);z-index:300;background:var(--text);color:var(--bg);padding:11px 16px;border-radius:999px;font-weight:700;font-size:14px;opacity:0;pointer-events:none;transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}.eyebrow{margin:0 0 7px;font-size:12px;font-weight:800;letter-spacing:.15em;color:var(--muted)}h1,h2,h3,p{overflow-wrap:anywhere}h1{font-size:34px;line-height:1.02;letter-spacing:-.045em;margin:0;font-weight:780}h2{font-size:25px;line-height:1.08;letter-spacing:-.035em;margin:0}h3{font-size:18px;margin:0}.lead{font-size:18px;color:var(--muted);margin:12px 0 0}.fine{font-size:13px;color:var(--muted);margin:12px 0 0}.button{min-height:50px;border-radius:14px;padding:0 18px;font-weight:760;display:flex;align-items:center;justify-content:center;gap:8px}.button.primary{background:var(--accent);color:var(--accent-text)}.button.quiet{background:var(--surface-2);border:1px solid var(--line)}.link-button{color:var(--muted);padding:12px 0;font-weight:700}.back{width:44px;height:44px;border-radius:50%;font-size:25px;display:grid;place-items:center;color:var(--text)}.back:hover{background:var(--surface-2)}label{display:grid;gap:8px;font-weight:700;font-size:14px}input,textarea,select{width:100%;background:var(--surface-2);border:1px solid var(--line);border-radius:13px;outline:0;padding:13px 14px;min-height:48px;font-size:16px}textarea{resize:vertical}input:focus,textarea:focus,select:focus{border-color:var(--muted)}.form-grid{display:grid;gap:14px}.form-grid.two{grid-template-columns:1fr 1fr}.form-grid .wide{grid-column:1/-1}
.auth-shell{min-height:100svh;display:grid;place-items:center;padding:28px 18px}.auth-card{width:min(100%,520px);background:var(--surface);border:1px solid var(--line);border-radius:28px;padding:34px;box-shadow:var(--shadow)}.auth-logo{height:24px;width:auto;margin:0 0 52px}.auth-view h1{font-size:54px}.auth-view h2{font-size:38px}.auth-actions{display:grid;gap:10px;margin-top:34px}.auth-view form{}.auth-view>label,.auth-view>.form-grid{margin-top:18px}.auth-view>.button{margin-top:18px;width:100%}
.app-shell{min-height:100vh}.rail{position:fixed;inset:0 auto 0 0;width:var(--rail);border-right:1px solid var(--line);padding:24px 18px;display:flex;flex-direction:column;background:var(--bg);z-index:40}.brand-button{width:46px;height:46px;display:grid;place-items:center;margin:0 0 28px 6px}.brand-button img{width:31px;height:31px}.rail-nav{display:grid;gap:4px}.rail-nav button{height:52px;border-radius:13px;padding:0 14px;display:flex;align-items:center;gap:14px;font-weight:700;color:var(--muted);text-align:left}.rail-nav button svg{width:25px;height:25px}.rail-nav button:hover,.rail-nav button.active{background:var(--surface-2);color:var(--text)}.rail-nav button[data-page="compose"]{color:var(--text)}.mini-profile{margin-top:auto;border-top:1px solid var(--line);padding:20px 8px 0;display:flex;align-items:center;gap:10px;font-weight:700;text-align:left}.avatar{width:38px;height:38px;border-radius:50%;background:var(--surface-3);display:grid;place-items:center;font-weight:800;flex:0 0 auto;border:1px solid var(--line)}.stage{margin-left:var(--rail);min-height:100vh}.topbar{height:72px;position:sticky;top:0;z-index:35;background:color-mix(in srgb,var(--bg) 88%,transparent);backdrop-filter:blur(18px);border-bottom:1px solid transparent;display:flex;justify-content:flex-end;align-items:center;padding:0 28px}.mobile-brand{display:none}.top-actions{display:flex;gap:5px}.icon-button{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;position:relative}.icon-button:hover{background:var(--surface-2)}.dot{position:absolute;right:8px;top:8px;width:7px;height:7px;border-radius:50%;background:var(--text);box-shadow:0 0 0 2px var(--bg)}.page{display:none;width:min(100%,760px);margin:0 auto;padding:22px 28px 100px}.page.active{display:block}.page-narrow{width:min(100%,650px)}.page-wide{width:min(100%,1080px)}.page-title{padding:14px 0 24px}.page-title.row,.page-head,.master-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.page-head{padding:8px 0 26px}.page-head>div{flex:1}.page-head .eyebrow{margin-bottom:4px}.word-action,.small-action{font-weight:800;padding:10px 13px;border-radius:12px;background:var(--surface-2)}.small-action{font-size:14px}.loading{padding:34px 10px;color:var(--muted);text-align:center}.empty{text-align:center;padding:70px 20px;color:var(--muted)}.empty.compact{padding:45px 18px}.empty h2{color:var(--text);margin-bottom:8px}.empty svg{margin:0 auto 16px;width:34px;height:34px}.bottom-nav{display:none}
.feed-mode{height:48px;display:flex;align-items:center;gap:24px;border-bottom:1px solid var(--line);margin-bottom:14px}.feed-mode button{height:48px;color:var(--muted);font-weight:750;position:relative}.feed-mode button.active{color:var(--text)}.feed-mode button.active:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--text);border-radius:2px}.quick-compose{width:100%;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;text-align:left;padding:12px 4px 17px;border-bottom:1px solid var(--line);color:var(--muted)}.quick-compose b{font-size:14px;color:var(--text);background:var(--surface-2);padding:9px 12px;border-radius:999px}.feed-list{display:grid}.post{padding:20px 0 18px;border-bottom:1px solid var(--line)}.post-head{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center}.post-head .avatar{width:44px;height:44px}.post-author{min-width:0}.post-author b{display:block;font-size:16px}.post-author small{display:block;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.post-more{width:40px;height:40px;border-radius:50%;display:grid;place-items:center}.post-copy{font-size:18px;line-height:1.45;margin:14px 0 0;white-space:pre-wrap}.post-text-card{margin-top:14px;min-height:230px;border-radius:18px;padding:28px;display:grid;place-items:center;text-align:center;font-size:30px;font-weight:760;line-height:1.12;letter-spacing:-.035em}.style-ink{background:#111;color:#fff}.style-paper{background:#f1efe7;color:#181818}.style-pulse{background:linear-gradient(135deg,#2b124f,#761c55,#c94236);color:#fff}.style-heat{background:linear-gradient(135deg,#ff642f,#feaf37);color:#111}.style-forest{background:linear-gradient(135deg,#0d3f36,#1b7759);color:#fff}.style-dusk{background:linear-gradient(135deg,#17192d,#3d306b);color:#fff}.post-media{margin-top:14px;display:grid;grid-auto-flow:column;grid-auto-columns:100%;overflow-x:auto;scroll-snap-type:x mandatory;border-radius:18px;gap:4px;scrollbar-width:none}.post-media::-webkit-scrollbar{display:none}.post-media img,.post-media video{width:100%;max-height:720px;object-fit:cover;background:#111;scroll-snap-align:center;border-radius:16px}.post-media audio{width:100%;margin:20px}.post-actions{display:flex;align-items:center;gap:4px;padding-top:12px}.post-actions button{height:42px;min-width:50px;padding:0 10px;border-radius:999px;display:flex;align-items:center;gap:6px;color:var(--muted)}.post-actions button:hover{background:var(--surface-2);color:var(--text)}.post-actions svg{width:23px;height:23px}.post-actions .spacer{margin-left:auto}.censored-card{margin-top:14px;border:1px solid var(--line);background:var(--surface-2);border-radius:16px;padding:22px}.censored-card b{display:block}.censored-card p{margin:6px 0 13px;color:var(--muted)}.censored-card a{color:inherit;font-weight:750;text-decoration:none}
.search-box{width:100%;height:56px;border:1px solid var(--line);background:var(--surface);border-radius:17px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;padding:0 8px 0 15px;gap:10px}.search-box input{background:none;border:0;padding:0;min-height:0;font-size:17px}.search-go{background:var(--text);color:var(--bg);font-weight:800;border-radius:11px;padding:8px 12px}.chips{display:flex;gap:8px;overflow:auto;padding:14px 0 20px;scrollbar-width:none}.chips::-webkit-scrollbar{display:none}.chips button{white-space:nowrap;background:var(--surface-2);border:1px solid var(--line);border-radius:999px;padding:9px 13px;font-weight:700;font-size:14px}.discover-results{display:grid;gap:26px}.result-section h2{font-size:18px;margin-bottom:10px}.people-list,.simple-list{display:grid}.person-row,.simple-row{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.person-row .avatar{width:44px;height:44px}.person-row small,.simple-row small{color:var(--muted);display:block}.person-row button{font-weight:800;background:var(--surface-2);padding:8px 11px;border-radius:10px}.result-post{padding:14px 0;border-bottom:1px solid var(--line)}.result-post p{margin:4px 0 0}.result-post small{color:var(--muted)}
.composer textarea{border:0;background:none;font-size:27px;line-height:1.2;letter-spacing:-.025em;min-height:260px;padding:8px 0 20px}.composer textarea:focus{border:0}.composer-tools{border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;align-items:center;gap:2px;padding:8px 0}.tool-button{height:46px;border-radius:12px;padding:0 12px;display:flex;align-items:center;gap:8px;font-size:14px;font-weight:750;color:var(--muted);cursor:pointer}.tool-button:hover{background:var(--surface-2);color:var(--text)}.tool-letter{font-size:20px;font-weight:900}.tool-button.visibility{margin-left:auto;display:flex}.tool-button select{border:0;background:none;min-height:auto;padding:0;width:auto;font-size:14px}.style-panel{display:flex;gap:8px;overflow:auto;padding:12px 0}.style-panel button{padding:9px 12px;border-radius:999px;background:var(--surface-2);border:1px solid var(--line);font-weight:700}.style-panel button.active{background:var(--text);color:var(--bg)}.media-preview{display:grid;grid-template-columns:repeat(2,1fr);gap:5px;margin:8px 0}.media-preview img,.media-preview video{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:14px}.publish-mobile{display:none;margin-top:18px;width:100%}
.messages-layout{display:grid;grid-template-columns:340px 1fr;border:1px solid var(--line);border-radius:20px;overflow:hidden;height:min(72vh,760px);background:var(--surface)}.conversation-list{border-right:1px solid var(--line);overflow:auto}.conversation-item{width:100%;display:grid;grid-template-columns:auto 1fr;gap:11px;padding:14px;text-align:left;border-bottom:1px solid var(--line)}.conversation-item.active,.conversation-item:hover{background:var(--surface-2)}.conversation-item b{display:block}.conversation-item small{color:var(--muted);display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-pane{display:flex;flex-direction:column;min-width:0}.chat-head{padding:14px 16px;border-bottom:1px solid var(--line);font-weight:800}.message-stream{flex:1;overflow:auto;padding:18px;display:flex;flex-direction:column;gap:8px}.bubble{max-width:76%;padding:10px 13px;border-radius:16px;background:var(--surface-2);align-self:flex-start}.bubble.mine{background:var(--text);color:var(--bg);align-self:flex-end}.bubble small{display:block;font-size:10px;opacity:.6;margin-top:4px}.chat-form{display:grid;grid-template-columns:1fr auto;gap:8px;padding:12px;border-top:1px solid var(--line)}.chat-form input{border-radius:999px}.chat-form button{width:48px;height:48px;border-radius:50%;background:var(--text);color:var(--bg);display:grid;place-items:center}
.profile-hero{padding:20px 0;border-bottom:1px solid var(--line)}.profile-top{display:flex;align-items:center;gap:16px}.profile-avatar{width:92px;height:92px;border-radius:50%;display:grid;place-items:center;background:var(--surface-2);font-size:32px;font-weight:850;border:1px solid var(--line);flex:0 0 auto}.profile-name{flex:1}.profile-name h1{font-size:31px}.profile-name p{margin:4px 0 0;color:var(--muted)}.profile-action{background:var(--surface-2);padding:10px 13px;border-radius:12px;font-weight:800}.profile-bio{margin:18px 0 0;font-size:17px;white-space:pre-wrap}.profile-meta{color:var(--muted);font-size:14px;margin:7px 0 0}.profile-counts{display:flex;gap:24px;margin-top:18px}.profile-counts button{text-align:left}.profile-counts b{font-size:18px}.profile-counts span{color:var(--muted);margin-left:5px}.profile-tools{display:flex;gap:8px;padding:14px 0;overflow:auto}.profile-tools button{white-space:nowrap;background:var(--surface-2);padding:9px 12px;border-radius:12px;font-weight:750}.profile-posts{display:grid}.profile-posts .post{padding-top:16px}
.cards-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.plaza-card{border:1px solid var(--line);background:var(--surface);border-radius:18px;padding:20px}.plaza-card p{color:var(--muted);margin:9px 0 18px}.plaza-card small{color:var(--muted)}.page-video{width:min(100%,620px);padding-top:0}.page-head.floating{position:sticky;top:72px;z-index:20;background:color-mix(in srgb,var(--bg) 80%,transparent);backdrop-filter:blur(14px)}.video-feed{display:grid;gap:14px}.video-card{position:relative;background:#000;border-radius:20px;overflow:hidden;min-height:70vh}.video-card video{width:100%;height:70vh;object-fit:cover;display:block}.video-caption{position:absolute;left:18px;right:80px;bottom:20px;color:#fff;text-shadow:0 1px 12px #000}.video-caption b{display:block}.video-caption p{margin:5px 0 0}.panel-form{display:grid;gap:16px}.estimate{border:1px solid var(--line);background:var(--surface-2);padding:15px;border-radius:14px;font-weight:750}.simple-list{margin-top:22px}.simple-row b{display:block}.simple-row em{font-style:normal;font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}
.notification-list{display:grid}.notification-item{display:grid;grid-template-columns:auto 1fr;gap:12px;padding:15px 0;border-bottom:1px solid var(--line)}.notification-item.unread:before{content:"";width:8px;height:8px;background:var(--text);border-radius:50%;margin-top:8px}.notification-item:not(.unread):before{content:"";width:8px}.notification-item b{display:block}.notification-item p{margin:2px 0 0;color:var(--muted)}.notification-item small{color:var(--muted)}.menu-list,.settings-block{display:grid;border-top:1px solid var(--line)}.menu-list>button,.menu-row{display:grid;grid-template-columns:auto 1fr auto;gap:13px;align-items:center;padding:17px 4px;border-bottom:1px solid var(--line);text-align:left}.menu-list>button svg{width:25px;height:25px}.menu-list>button div b{display:block;font-size:17px}.menu-list>button div small{color:var(--muted)}.menu-list>button>span{font-size:26px;color:var(--muted)}.settings-block{margin-top:30px}.menu-row{grid-template-columns:1fr auto;width:100%;font-weight:700}.menu-row.danger{color:var(--danger)}
.master-page{width:min(100%,1180px)}.master-head{padding:10px 0 20px}.metrics-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.metric{border:1px solid var(--line);background:var(--surface);border-radius:16px;padding:16px}.metric b{font-size:28px;letter-spacing:-.04em}.metric small{display:block;color:var(--muted);margin-top:4px}.master-tabs{display:flex;gap:4px;margin:18px 0;border-bottom:1px solid var(--line);overflow:auto}.master-tabs button{padding:12px 14px;color:var(--muted);font-weight:800;border-bottom:2px solid transparent}.master-tabs button.active{color:var(--text);border-color:var(--text)}.master-panel{display:none}.master-panel.active{display:block}.admin-list{display:grid;margin-top:14px}.admin-row{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) auto;gap:14px;align-items:center;padding:14px 4px;border-bottom:1px solid var(--line)}.admin-row b{display:block}.admin-row small{color:var(--muted);display:block}.admin-actions{display:flex;gap:6px;justify-content:flex-end;flex-wrap:wrap}.admin-actions button{padding:8px 10px;border-radius:9px;background:var(--surface-2);font-size:13px;font-weight:750}.admin-actions button.danger{color:var(--danger)}.system-actions{display:flex;gap:10px;flex-wrap:wrap}.code-output{margin-top:16px;background:var(--surface-2);border:1px solid var(--line);border-radius:14px;padding:16px;font-family:GeistMono,monospace;font-size:13px;white-space:pre-wrap}.status-pill{display:inline-flex;padding:4px 7px;border-radius:999px;background:var(--surface-2);font-size:11px;text-transform:uppercase;letter-spacing:.07em;margin-top:5px}

.people-suggestions{padding:18px 0 6px;border-bottom:1px solid var(--line)}.suggest-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:12px}.suggest-head b{font-size:18px;display:block}.suggest-head small{display:block;color:var(--muted);margin-top:2px}.suggest-head>button{font-size:13px;font-weight:800;color:var(--muted)}.people-strip{display:flex;gap:10px;overflow-x:auto;padding:0 1px 10px;scrollbar-width:none}.people-strip::-webkit-scrollbar{display:none}.person-card{flex:0 0 154px;border:1px solid var(--line);background:var(--surface);border-radius:18px;padding:14px 12px;display:grid;gap:11px}.person-open{text-align:left;display:grid;justify-items:start;min-width:0}.suggest-avatar{width:50px;height:50px;border-radius:50%;display:grid;place-items:center;background:var(--surface-2);border:1px solid var(--line);font-size:20px;font-weight:850;margin-bottom:10px}.person-open b,.person-open small,.person-open em{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.person-open b{font-size:15px}.person-open small{color:var(--muted);font-size:12px;margin-top:2px}.person-open em{font-style:normal;color:var(--muted);font-size:11px;margin-top:5px}.suggest-follow{width:100%;background:var(--text);color:var(--bg);border-radius:10px;padding:8px 9px;font-weight:800;font-size:13px}.install-confirm{grid-template-columns:auto 1fr!important;align-items:flex-start!important;gap:10px!important}.install-confirm input{width:18px;height:18px;min-height:18px;margin-top:2px}.install-confirm span{font-size:13px;line-height:1.4;color:var(--muted)}
@media(max-width:900px){:root{--rail:86px}.rail{width:86px;padding:20px 12px}.rail-nav button{justify-content:center;padding:0}.rail-nav button span,.mini-profile span:last-child{display:none}.mini-profile{justify-content:center}.brand-button{margin-left:auto;margin-right:auto}.stage{margin-left:86px}.messages-layout{grid-template-columns:280px 1fr}}
@media(max-width:700px){body{font-size:16px}.rail{display:none}.stage{margin-left:0;padding-bottom:78px}.topbar{height:58px;padding:0 12px;justify-content:space-between;border-bottom:1px solid var(--line)}.mobile-brand{display:block;padding:8px}.mobile-brand img{height:21px;width:auto}.top-actions .icon-button[data-page="search-overlay"]{display:none}.page{padding:14px 16px 88px;width:100%}.bottom-nav{display:grid;position:fixed;z-index:60;left:0;right:0;bottom:0;height:calc(70px + env(safe-area-inset-bottom));padding:6px 8px env(safe-area-inset-bottom);grid-template-columns:repeat(5,1fr);background:color-mix(in srgb,var(--bg) 94%,transparent);backdrop-filter:blur(20px);border-top:1px solid var(--line)}.bottom-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:var(--muted);font-size:10px;font-weight:750}.bottom-nav button svg{width:24px;height:24px}.bottom-nav button.active{color:var(--text)}.bottom-nav .bottom-create svg{width:28px;height:28px}.auth-card{padding:26px 20px;border-radius:22px}.auth-logo{margin-bottom:42px}.auth-view h1{font-size:45px}.form-grid.two{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}.feed-mode{margin-top:-2px}.quick-compose{padding-top:9px}.post{padding:17px 0}.post-text-card{min-height:210px;font-size:27px;padding:22px}.post-copy{font-size:17px}.post-media{margin-left:-16px;margin-right:-16px;border-radius:0}.post-media img,.post-media video{border-radius:0;max-height:78vh}.composer textarea{font-size:25px;min-height:220px}.page-head{padding-top:0}.word-action{display:none}.publish-mobile{display:flex}.messages-layout{display:block;height:auto;border:0;background:none}.conversation-list{border-right:0}.chat-pane{position:fixed;inset:58px 0 calc(70px + env(safe-area-inset-bottom)) 0;background:var(--bg);z-index:50;display:none}.chat-pane.open{display:flex}.chat-head{height:54px;display:flex;align-items:center}.chat-head:before{content:"←";font-size:24px;margin-right:12px;cursor:pointer}.message-stream{padding:14px}.cards-grid{grid-template-columns:1fr}.profile-avatar{width:78px;height:78px}.profile-name h1{font-size:27px}.profile-counts{gap:14px;justify-content:space-between}.profile-counts button{font-size:13px}.profile-counts span{display:block;margin-left:0}.page-head.floating{top:58px}.video-card,.video-card video{min-height:calc(100svh - 150px);height:calc(100svh - 150px)}.metrics-grid{grid-template-columns:1fr 1fr}.admin-row{grid-template-columns:1fr}.admin-actions{justify-content:flex-start}.master-page{padding-bottom:100px}}
@media(max-width:380px){.page{padding-left:13px;padding-right:13px}.top-actions{gap:0}.profile-top{align-items:flex-start}.profile-avatar{width:68px;height:68px}.profile-counts{gap:8px}.post-media{margin-left:-13px;margin-right:-13px}}
.install-shell,.notice-shell{min-height:100svh;display:grid;place-items:center;padding:28px 18px}.install-card,.notice-card{width:min(100%,560px);background:var(--surface);border:1px solid var(--line);border-radius:28px;padding:34px;box-shadow:var(--shadow)}.install-logo,.notice-logo{height:25px;width:auto;margin-bottom:48px}.install-card h1,.notice-card h1{font-size:48px;margin-bottom:14px}.install-card form{margin-top:30px}.install-result{margin-top:28px;padding:20px;border:1px solid var(--line);background:var(--surface-2);border-radius:16px}.install-result strong{font-size:22px}.install-result .button{margin-top:15px;text-decoration:none}.notice-card .button{margin-top:28px;text-decoration:none}.notice-meta{font-family:GeistMono,monospace;color:var(--muted);font-size:12px;margin:18px 0}.notice-link{display:block;text-align:center;color:var(--muted);font-weight:700;text-decoration:none;margin-top:18px}.chat-back{margin-right:8px;font-size:24px}.post-author{background:none;border:0;padding:0;text-align:left;color:inherit}.result-post{width:100%;text-align:left;background:none;color:inherit}.notification-item{width:100%;text-align:left;background:none;color:inherit}
@media(max-width:700px){.install-card,.notice-card{padding:27px 20px;border-radius:22px}.install-card h1,.notice-card h1{font-size:40px}}

/* REDE 1.3 · identidade oficial + app clean */
:root{--brand:#5868ff;--brand-2:#315fff;--brand-soft:rgba(88,104,255,.12);--success:#49c98a;--radius:16px;--rail:224px}
html[data-theme="light"]{--bg:#f7f8fa;--surface:#fff;--surface-2:#f0f2f5;--surface-3:#e8ebef;--text:#17191d;--muted:#686d75;--line:#e0e3e8;--soft:#eef0f3;--accent:#17191d;--accent-text:#fff}
html[data-theme="dark"]{--bg:#050505;--surface:#0a0a0a;--surface-2:#111214;--surface-3:#18191c;--text:#f7f8fa;--muted:#9a9da4;--line:#232428;--soft:#121315;--accent:#f7f8fa;--accent-text:#070707}
body{font-size:17px;letter-spacing:-.006em}h1{font-size:36px}h2{font-size:27px}.button{border-radius:13px}.button.primary,.suggest-follow,.search-go{background:var(--brand);color:#fff}.rail{padding:22px 14px;background:var(--bg)}.rail-nav button{height:50px;border-radius:12px;font-size:16px}.rail-nav button.active{background:var(--brand-soft);color:var(--text)}.rail-nav button.active svg{color:var(--brand)}.brand-button img{width:34px;height:34px}.topbar{height:64px}.page{width:min(100%,700px);padding-top:14px}.page-wide{width:min(100%,1080px)}.quick-compose b{background:var(--brand);color:#fff;border-radius:11px;padding:8px 12px}.post{padding:18px 0 16px}.post-head .avatar{width:44px;height:44px}.post-author b{font-size:17px}.post-copy{font-size:18px;line-height:1.5}.post-text-card{border-radius:16px}.post-actions button{min-width:46px;min-height:44px}.notification-button .dot{background:var(--brand)}
.people-suggestions{padding-top:16px}.person-card{border-radius:15px;flex-basis:164px}.suggest-avatar{border-radius:15px;width:54px;height:54px}.suggest-follow{border-radius:10px}.suggest-head b{font-size:19px}.profile-action{background:var(--brand-soft);color:var(--text)}
.stories-strip{display:flex;gap:12px;overflow-x:auto;padding:10px 0 14px;border-bottom:1px solid var(--line);scrollbar-width:none}.stories-strip::-webkit-scrollbar{display:none}.loading.slim{padding:18px 0}.story-chip{flex:0 0 66px;display:grid;justify-items:center;gap:6px;color:var(--text)}.story-chip small{width:66px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:var(--muted);font-weight:700}.story-ring{width:58px;height:58px;border-radius:18px;padding:2px;background:linear-gradient(135deg,var(--brand),#8c5dff,#ff617d)}.story-avatar{width:100%;height:100%;display:grid;place-items:center;border-radius:16px;background:var(--surface-2);border:3px solid var(--bg);font-size:19px;font-weight:850;position:relative}.story-avatar.own{width:58px;height:58px;border:1px solid var(--line);background:var(--surface);border-radius:18px}.story-avatar.own i{position:absolute;right:-3px;bottom:-3px;width:22px;height:22px;border-radius:8px;background:var(--brand);color:#fff;border:3px solid var(--bg);display:grid;place-items:center;font-style:normal;font-size:15px}
.story-viewer{position:fixed;inset:0;z-index:500;background:#050505;display:grid;place-items:center}.story-viewer[hidden]{display:none}.story-stage{width:min(100%,520px);height:100svh;position:relative;background:#090909;overflow:hidden}.story-stage>img,.story-stage>video{width:100%;height:100%;object-fit:contain;background:#050505}.story-copy{position:absolute;left:0;right:0;bottom:0;padding:80px 22px 28px;background:linear-gradient(transparent,rgba(0,0,0,.82));color:#fff}.story-user{display:flex;align-items:center;gap:10px}.story-user b,.story-user small{display:block}.story-user small{color:rgba(255,255,255,.72)}.story-close{position:fixed;z-index:510;top:max(14px,env(safe-area-inset-top));right:16px;width:46px;height:46px;border-radius:50%;background:rgba(0,0,0,.48);color:#fff;font-size:30px}
.sheet-open,.story-open{overflow:hidden}.sheet-backdrop{position:fixed;inset:0;z-index:450;background:rgba(0,0,0,.52);display:flex;align-items:flex-end;justify-content:center;padding:16px;backdrop-filter:blur(5px)}.sheet-backdrop[hidden]{display:none}.sheet{width:min(100%,620px);max-height:min(82svh,760px);display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:22px;box-shadow:0 30px 100px rgba(0,0,0,.35);overflow:hidden}.sheet-head{display:flex;align-items:center;justify-content:space-between;padding:20px;border-bottom:1px solid var(--line)}.sheet-body{overflow:auto;padding:18px 20px 20px}.sheet-form{display:grid;gap:15px}.sheet-form textarea{min-height:110px}.sheet-compose{position:sticky;bottom:-20px;display:grid;grid-template-columns:1fr auto;gap:8px;padding:12px 0 0;background:var(--surface)}.send-button{width:48px;height:48px;border-radius:13px;background:var(--brand);color:#fff;display:grid;place-items:center}.comments-list{display:grid}.comment-row{display:grid;grid-template-columns:auto 1fr;gap:10px;padding:13px 0;border-bottom:1px solid var(--line)}.comment-row small{color:var(--muted);font-size:12px}.comment-row p{margin:5px 0 0}.danger-fill{background:var(--danger)!important;color:#fff!important}
.system-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.system-card{border:1px solid var(--line);background:var(--surface);border-radius:18px;padding:20px}.system-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.system-lines{display:grid}.system-lines span{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid var(--line)}.system-lines em{font-style:normal;color:var(--muted);font-size:14px}.system-actions.stacked{display:grid}.system-actions.stacked .button{width:100%}.update-card{margin-top:12px}.safe-pill{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:var(--success);background:color-mix(in srgb,var(--success) 12%,transparent);padding:6px 8px;border-radius:999px}.muted-copy{color:var(--muted);font-size:14px}.update-form{display:grid;grid-template-columns:1fr auto;gap:10px;margin-top:16px}.update-drop{min-height:58px;border:1px dashed var(--line);border-radius:13px;padding:10px 13px;display:flex;align-items:center;cursor:pointer}.update-drop input{position:absolute;opacity:0;pointer-events:none}.update-drop span{display:grid}.update-drop small{font-size:12px;color:var(--muted)}.update-history{margin-top:18px}.history-row{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid var(--line)}.history-row span{color:var(--muted);font-size:13px}
/* Instalador */
.installer-page{min-height:100svh;background:radial-gradient(circle at 10% 0%,rgba(88,104,255,.12),transparent 34%),var(--bg)}.installer-shell{width:min(1120px,100%);min-height:100svh;margin:0 auto;padding:38px 24px;display:grid;grid-template-columns:minmax(280px,.72fr) minmax(0,1.28fr);gap:28px;align-items:start}.installer-intro{position:sticky;top:38px;padding:10px 6px}.installer-logo{width:54px;height:54px;border-radius:15px;display:block;margin-bottom:60px}.installer-intro h1{font-size:clamp(46px,6vw,76px)}.installer-intro .lead{max-width:460px;font-size:19px;line-height:1.5}.installer-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:26px}.installer-meta span{border:1px solid var(--line);background:var(--surface);padding:8px 10px;border-radius:999px;color:var(--muted);font-weight:750;font-size:12px}.installer-card{background:var(--surface);border:1px solid var(--line);border-radius:24px;padding:28px;box-shadow:var(--shadow)}.installer-card-head{display:flex;justify-content:space-between;align-items:center;gap:18px;padding-bottom:22px;border-bottom:1px solid var(--line)}.installer-card-head img{height:26px;max-width:140px}.installer-card-head .version{font:700 12px/1 GeistMono,monospace;color:var(--muted);background:var(--surface-2);padding:8px 10px;border-radius:9px}.installer-form{display:grid;gap:16px;margin-top:20px}.installer-form fieldset{margin:0;border:1px solid var(--line);border-radius:18px;padding:20px;background:var(--surface)}.installer-form legend{display:flex;align-items:center;gap:12px;padding:0 8px 10px 0}.installer-form legend>span{width:34px;height:34px;border-radius:11px;background:var(--brand);color:#fff;display:grid;place-items:center;font-weight:850}.installer-form legend b,.installer-form legend small{display:block}.installer-form legend small{font-size:12px;color:var(--muted);font-weight:550}.test-db{margin-top:15px}.install-status{min-height:48px;margin-top:18px;border:1px solid var(--line);background:var(--surface-2);border-radius:13px;padding:12px 14px;color:var(--muted);display:flex;align-items:center;font-weight:650;font-size:14px}.install-status.ok{border-color:var(--success);color:var(--text)}.install-status.error{border-color:var(--danger);color:var(--text)}.install-confirm{display:grid!important;grid-template-columns:auto 1fr;align-items:start;gap:11px!important}.install-confirm input{width:20px;height:20px;min-height:0;margin-top:2px;accent-color:var(--brand)}.install-main{width:100%;margin-top:18px;min-height:56px}.install-success{margin-top:18px;border:1px solid var(--success);border-radius:18px;padding:22px}.install-success code{display:block;margin:14px 0;background:var(--bg);border:1px solid var(--line);padding:13px;border-radius:11px}.installer-foot{display:flex;justify-content:space-between;padding:20px 4px 0;color:var(--muted);font-size:12px}
@media(max-width:900px){:root{--rail:82px}.rail{width:82px}.stage{margin-left:82px}}
@media(max-width:860px){.installer-shell{grid-template-columns:1fr;gap:8px;padding:24px 16px}.installer-intro{position:static;padding-bottom:24px}.installer-logo{width:46px;height:46px;margin-bottom:32px}.installer-intro h1{font-size:48px}.installer-card{padding:20px}.form-grid.two{grid-template-columns:1fr}.form-grid.two .wide{grid-column:auto}}
@media(max-width:700px){body{font-size:16.5px}.page{padding:8px 14px 88px}.post-copy{font-size:17px}.post-media{margin-left:-14px;margin-right:-14px}.system-grid{grid-template-columns:1fr}.update-form{grid-template-columns:1fr}.sheet-backdrop{padding:0}.sheet{border-radius:22px 22px 0 0;max-height:88svh}.story-stage{width:100%}}
