@font-face{font-family:Baulista;src:local('Inter'),local('Segoe UI')}*{box-sizing:border-box} :root{--blue:#0867f8;--blue-dark:#0053d1;--ink:#18243b;--muted:#69788e;--line:#e8edf5;--pale:#f2f7ff;--bg:#f7f9fd;--radius:22px}body{margin:0;background:var(--bg);font-family:Baulista,Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink);font-size:16px;line-height:1.5}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button{color:inherit}button:disabled{opacity:.55;cursor:wait}a{color:inherit;text-decoration:none}svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}img{max-width:100%;object-fit:cover}button{border:0;background:none}button:focus-visible,a:focus-visible{outline:3px solid #7cb2ff;outline-offset:4px}input,textarea,select{width:100%;min-width:0;border:1px solid #dce3ee;border-radius:12px;padding:13px 15px;color:var(--ink);background:white;outline:none}input:focus,textarea:focus,select:focus{border-color:var(--blue);box-shadow:0 0 0 3px #0867f815}textarea{resize:vertical;min-height:105px}label{font-weight:600;font-size:14px;display:grid;gap:7px}h1,h2,h3,p{margin:0}h1{font-size:30px;letter-spacing:-1px;line-height:1.2}h2{font-size:22px;letter-spacing:-.6px}h3{font-size:17px}small,.meta{font-size:13px;color:var(--muted)}.muted{color:var(--muted)}.eyebrow{font-size:12px;font-weight:750;letter-spacing:2px;color:var(--blue)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:12px;padding:11px 18px;font-weight:650;font-size:14px;min-height:44px;transition:background .18s,transform .18s;white-space:nowrap}.btn:hover{background:#eaf0f9}.btn:active{transform:scale(.98)}.primary{background:var(--blue);color:white;box-shadow:0 5px 12px #0867f820}.primary:hover{background:var(--blue-dark)}.secondary{background:var(--pale);color:var(--blue)}.outline{border:1px solid var(--line);background:white}.danger{color:#c0324b;background:#fff0f2}.wide{width:100%}.icon-btn{width:42px;height:42px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.icon-btn:hover{background:var(--pale)}.row{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.stack{display:grid;gap:18px}.brand{font-size:27px;letter-spacing:-1.3px;font-weight:800;display:flex;align-items:center;gap:10px}.brand img{width:39px;height:39px;border-radius:11px}.brand span{color:var(--blue);margin-left:-6px}.avatar{width:44px;height:44px;border-radius:50%;background:#e6f0ff;color:var(--blue);font-weight:750;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden;font-size:17px}.avatar img{width:100%;height:100%}.avatar.large{width:100px;height:100px;font-size:35px;border:5px solid white}.avatar.small{width:34px;height:34px;font-size:13px}.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius)}.boot{min-height:100svh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;color:var(--muted)}.boot img{width:64px;border-radius:17px}.form-error{color:#bf2441;font-size:14px;background:#fff1f3;border-radius:10px;padding:12px}.form-error:empty{display:none}.text-btn{color:var(--blue);font-weight:650;font-size:14px}.divider{height:1px;background:var(--line);margin:8px 0}.empty{text-align:center;padding:56px 24px;display:flex;flex-direction:column;align-items:center;gap:13px}.empty>svg{height:42px;width:42px;color:var(--blue);margin-bottom:8px}.empty p{color:var(--muted);max-width:340px}.empty .btn{margin-top:7px}.loading{padding:60px;text-align:center;color:var(--muted)}
/* Access */
.auth{min-height:100svh;display:grid;grid-template-columns:1.05fr 1fr;background:white}.auth-art{background:#075fea;color:white;padding:50px 64px;position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;min-height:760px}.auth-art .brand span{color:#a3d5ff}.auth-art .brand img{width:42px;height:42px}.auth-art:after{content:'';position:absolute;width:600px;height:600px;border:1px solid #ffffff24;border-radius:50%;bottom:-390px;left:-100px;box-shadow:0 0 0 85px #ffffff08,0 0 0 170px #ffffff06;pointer-events:none}.auth-title{position:relative;z-index:1;max-width:490px;margin:55px 0}.auth-title h1{font-size:clamp(46px,5.4vw,80px);font-weight:750;letter-spacing:-3.5px;line-height:1.08}.auth-title h1 span{color:#a3d6ff}.auth-title p{font-size:18px;color:#d4e6ff;max-width:340px;margin-top:26px;line-height:1.7}.auth-mark{width:145px;height:145px;border-radius:35px;margin-bottom:40px;box-shadow:0 24px 60px #002d7733}.auth-foot{font-size:13px;color:#c4dbff;position:relative;z-index:1}.auth-side{display:flex;align-items:center;justify-content:center;padding:50px 32px}.auth-box{width:100%;max-width:380px}.auth-box h2{font-size:30px}.auth-box>p{margin:10px 0 28px}.auth-box .brand{display:none}.auth-tabs{display:flex;padding:5px;background:var(--bg);border-radius:12px;margin:24px 0}.auth-tabs button{flex:1;padding:10px;border-radius:9px;font-size:14px;font-weight:650}.auth-tabs .active{background:white;box-shadow:0 2px 8px #152b4810;color:var(--blue)}.auth-legal{font-size:12px;color:var(--muted);line-height:1.6;margin-top:24px}.password-line{display:flex;align-items:center;gap:5px}.password-line input{flex:1}.password-line .icon-btn{border:1px solid var(--line);border-radius:10px}.setup-body{display:grid;place-items:center;min-height:100svh;padding:30px}.setup-card{max-width:510px;width:100%;background:white;border:1px solid var(--line);border-radius:25px;padding:36px;display:grid;gap:22px}.setup-card>p{color:var(--muted)}
/* App shell */
.shell{width:100%;max-width:none;margin:0;display:grid;grid-template-columns:248px minmax(0,1fr);min-height:100svh}.sidebar{position:sticky;top:0;height:100svh;padding:33px 22px 24px 27px;background:white;border-right:1px solid var(--line);display:flex;flex-direction:column;gap:28px}.sidebar .brand{padding-left:9px}.nav{display:grid;gap:7px}.nav a{display:flex;gap:15px;align-items:center;padding:13px 16px;border-radius:13px;font-size:15px;font-weight:550;position:relative}.nav a:hover{background:#f6f8fc}.nav a.active{color:var(--blue);background:#edf4ff;font-weight:750}.nav a.active svg{stroke-width:2.3}.nav .badge{margin-left:auto}.sidebar .publish{margin:4px 4px 0}.sidebar-bottom{margin-top:auto;display:grid;gap:15px}.self-link{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding:20px 3px 0;min-width:0}.self-link>div{flex:1;min-width:0}.self-link strong{font-size:14px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.self-link small{font-size:12px}.sidebar-bottom>small{padding-left:6px;font-size:12px}.workspace{min-width:0}.topbar{height:90px;padding:0 38px;display:flex;align-items:center;justify-content:space-between;gap:20px;background:#ffffffed;border-bottom:1px solid var(--line)}.topbar h1{font-size:25px;letter-spacing:-.7px}.topbar p{font-size:13px;color:var(--muted);margin-top:3px}.top-actions{display:flex;align-items:center;gap:14px}.search-box{display:flex;align-items:center;gap:9px;background:var(--bg);border:1px solid var(--line);padding:9px 14px;border-radius:12px;width:240px;color:var(--muted);font-size:14px;text-align:left}.search-box svg{width:18px}.mobile-brand{display:none}.content{padding:30px 38px 50px;max-width:1210px;margin:auto}.columns{display:grid;grid-template-columns:minmax(0,640px) 280px;gap:28px;align-items:start;justify-content:center}.main-column{min-width:0}.side-column{position:sticky;top:25px;display:grid;gap:22px}.side-card{padding:23px}.side-card h3{margin-bottom:21px;font-size:15px}.person{display:flex;align-items:center;gap:11px;min-width:0}.person+.person{margin-top:19px}.person .person-text{min-width:0;flex:1}.person strong{font-size:14px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.person small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.person .text-btn{padding:7px 0 7px 8px;font-size:13px}.welcome-card{background:var(--blue);color:white;border:0;padding:25px;overflow:hidden}.welcome-card .eyebrow{color:#b7d7ff;font-size:11px}.welcome-card h2{font-size:27px;line-height:1.2;margin:16px 0 12px;letter-spacing:-.8px}.welcome-card p{font-size:14px;color:#d1e4ff;line-height:1.6}.welcome-card button{color:var(--blue);background:white;margin-top:24px}.side-footer{padding:0 6px;color:#8792a4;font-size:12px;line-height:2}.side-footer button{font-size:12px;color:var(--muted);padding:0}.badge{background:var(--blue);color:#fff;font-size:11px;border-radius:20px;min-width:19px;padding:1px 5px;text-align:center}.badge:empty{display:none}.mobile-nav{display:none}
/* Feed */
.stories{display:flex;gap:18px;padding:21px;overflow-x:auto;scrollbar-width:thin;margin-bottom:20px;align-items:flex-start}.story-item{display:grid;justify-items:center;gap:8px;min-width:64px;max-width:72px;padding:0;flex-shrink:0}.story-circle{width:64px;height:64px;border-radius:50%;padding:3px;border:2px solid var(--blue);display:grid;place-items:center}.story-circle .avatar{width:52px;height:52px}.story-item span:last-child{font-size:12px;white-space:nowrap;max-width:72px;overflow:hidden;text-overflow:ellipsis}.story-add{border:1.5px dashed #a8c9fa;background:var(--pale);color:var(--blue)}.stories-note{align-self:center;color:var(--muted);font-size:13px;max-width:240px;padding-left:7px}.composer{padding:20px;margin-bottom:25px}.composer-top{display:flex;align-items:center;gap:12px}.composer-top>button{border-radius:30px;background:var(--bg);color:var(--muted);padding:13px 18px;text-align:left;flex:1;font-size:14px}.composer-actions{display:flex;align-items:center;justify-content:space-between;margin-top:17px;padding-top:14px;border-top:1px solid var(--line)}.composer-actions button{font-size:13px;display:flex;align-items:center;gap:8px;font-weight:550;padding:4px 7px}.composer-actions svg{width:20px;color:var(--blue)}.feed-tabs{display:flex;align-items:center;gap:23px;margin-bottom:20px;border-bottom:1px solid var(--line)}.feed-tabs button{padding:0 0 14px;font-weight:600;font-size:14px;color:var(--muted);border-bottom:2px solid transparent}.feed-tabs button.active{border-color:var(--blue);color:var(--ink)}.feed-tabs>span{margin-left:auto;color:var(--muted);font-size:12px;padding-bottom:14px}.post{margin-bottom:22px;overflow:hidden}.post-head{display:flex;align-items:center;gap:11px;padding:19px 21px}.post-head>div{flex:1;min-width:0}.post-head strong{display:block;font-size:14px}.post-head small{font-size:12px}.post-media{display:block;width:100%;max-height:650px;object-fit:contain;background:#f0f3f8}.post video{max-height:650px;background:#101723}.post-body{padding:0 22px 18px;overflow-wrap:anywhere;white-space:pre-wrap;font-size:15px}.post-body.text-post{font-size:23px;line-height:1.5;letter-spacing:-.4px;padding:8px 24px 22px}.post-footer{padding:14px 20px 19px}.post-controls{display:flex;align-items:center;gap:16px;margin-bottom:11px}.post-controls button{padding:3px 0;display:flex;align-items:center;gap:6px;font-size:13px;min-height:33px}.post-controls .save-btn{margin-left:auto}.post-controls .on{color:var(--blue)}.post-controls .on svg{fill:#e1edff}.post-footer>p{font-size:13px;color:var(--muted)}.load-more{display:flex;margin:20px auto}.section-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px;gap:16px}.section-top p{color:var(--muted);font-size:14px;margin-top:6px}
/* Profile, messages, reels */
.profile-card{padding:30px;margin-bottom:24px}.profile-cover{height:105px;background:#edf4ff;border-radius:16px;margin:-12px -12px 0;position:relative;border:1px solid #e0ebfc}.profile-cover .eyebrow{position:absolute;right:24px;top:22px;font-size:11px}.profile-main{display:flex;align-items:flex-end;justify-content:space-between;margin-top:-47px;position:relative;margin-bottom:19px;gap:14px}.profile-main .row{flex-wrap:wrap;gap:7px}.profile-card h1{font-size:27px}.profile-card .bio{white-space:pre-wrap;overflow-wrap:anywhere;margin:14px 0;max-width:600px;font-size:15px}.profile-card .website{color:var(--blue);font-size:14px;overflow-wrap:anywhere}.stats{display:flex;gap:26px;margin-top:23px;border-top:1px solid var(--line);padding-top:21px;font-size:14px}.stats button,.stats>span{padding:0;color:var(--muted)}.stats b{color:var(--ink);margin-right:4px}.people-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.people-grid .card{padding:20px}.people-grid .person{flex-wrap:wrap}.people-grid .person-text{min-width:100px}.search-form{display:flex;gap:10px;margin-bottom:24px}.settings{max-width:670px;margin:auto}.settings .card{padding:27px;margin-bottom:22px}.settings h2{font-size:20px;margin-bottom:21px}.settings .muted{font-size:14px}.notification{display:flex;gap:13px;align-items:center;padding:19px 22px;border-bottom:1px solid var(--line)}.notification:last-child{border-bottom:0}.notification.unread{background:#f0f6ff}.notification>div{flex:1}.notification p{font-size:14px}.notification small{font-size:12px}.chat-layout{height:calc(100svh - 155px);min-height:520px;display:grid;grid-template-columns:310px minmax(0,1fr);overflow:hidden}.inbox{border-right:1px solid var(--line);overflow-y:auto}.inbox-head{padding:20px;border-bottom:1px solid var(--line)}.inbox-head h2{font-size:18px}.conversation{display:flex;align-items:center;gap:11px;padding:18px;width:100%;text-align:left;border-bottom:1px solid var(--line)}.conversation.active{background:var(--pale)}.conversation>div{flex:1;min-width:0}.conversation strong{display:block;font-size:14px}.conversation p{font-size:13px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:190px}.chat-thread{min-width:0;display:flex;flex-direction:column;min-height:0;background:white}.chat-header{padding:16px 20px;border-bottom:1px solid var(--line);min-height:80px;display:flex;align-items:center;gap:11px}.chat-header strong{font-size:15px}.chat-header small{display:block}.chat-header .back{display:none}.message-list{padding:23px;overflow-y:auto;flex:1;display:flex;flex-direction:column;gap:13px;background:#fbfcff;min-height:0}.bubble{max-width:78%;align-self:flex-start;background:#edf1f7;border-radius:17px 17px 17px 4px;padding:11px 15px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px}.bubble.mine{align-self:flex-end;background:var(--blue);color:white;border-radius:17px 17px 4px 17px}.bubble small{display:block;font-size:11px;margin-top:5px;color:#77879d}.bubble.mine small{color:#cce1ff}.message-form{padding:16px;display:flex;gap:10px;border-top:1px solid var(--line)}.message-form input{background:var(--bg)}.message-form button{flex-shrink:0}.reel-stream{height:calc(100svh - 175px);min-height:430px;overflow-y:auto;scroll-snap-type:y mandatory;max-width:500px;margin:auto;border-radius:24px;background:#101723}.reel{height:100%;position:relative;scroll-snap-align:start;overflow:hidden}.reel video{width:100%;height:100%;object-fit:contain;background:#101723}.reel-overlay{position:absolute;bottom:78px;left:22px;right:75px;color:white;text-shadow:0 1px 7px #000;pointer-events:none}.reel-overlay a{pointer-events:auto}.reel-overlay p{margin-top:12px;font-size:14px;max-height:90px;overflow:auto;white-space:pre-wrap;pointer-events:auto}.reel-actions{position:absolute;right:15px;bottom:95px;display:grid;gap:17px;color:white}.reel-actions button{display:grid;justify-items:center;gap:4px;font-size:12px;text-shadow:0 1px 4px black}.reel-actions .on{color:#6dbbff}.reel-actions svg{width:27px;height:27px}.reel-more{color:white;margin:20px auto;display:block}.admin-report{padding:20px;border-bottom:1px solid var(--line)}.admin-report p{margin:12px 0;overflow-wrap:anywhere}
/* Dialogs */
dialog{border:0;padding:0;border-radius:24px;max-width:530px;width:calc(100% - 32px);max-height:90svh;background:white;color:var(--ink);box-shadow:0 30px 100px #0b1b4d40}dialog::backdrop{background:#0e1c3a75;backdrop-filter:blur(5px)}.modal-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:18px 24px;position:sticky;top:0;background:white;z-index:2}.modal-head h2{font-size:19px}.modal-body{padding:24px}.upload-zone{display:grid;place-items:center;text-align:center;gap:8px;border:1.5px dashed #a8c8f7;border-radius:15px;background:var(--pale);padding:25px;cursor:pointer;color:var(--blue)}.upload-zone small{color:var(--muted);font-size:12px}.upload-zone input{padding:10px;font-size:12px;background:white;max-width:100%}.upload-preview img,.upload-preview video{width:100%;max-height:240px;object-fit:contain;border-radius:12px;background:var(--bg)}.comment-item{display:flex;align-items:flex-start;gap:11px;padding:15px 0;border-bottom:1px solid var(--line)}.comment-item>div{flex:1;min-width:0}.comment-item p{font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:4px}.comment-item strong{font-size:13px}.comment-item small{font-size:11px}.comment-form{margin-top:20px;display:flex;gap:10px}.story-dialog{background:#101723;max-width:460px;color:white}.story-view{height:min(760px,87svh);position:relative;display:flex;align-items:center;justify-content:center}.story-view>img,.story-view>video{width:100%;height:100%;object-fit:contain}.story-top{position:absolute;top:0;left:0;right:0;padding:20px;display:flex;align-items:center;gap:10px;background:linear-gradient(#0008,transparent);z-index:1}.story-top>div{flex:1}.story-top small{color:#d4deec}.story-caption{position:absolute;bottom:70px;left:20px;right:20px;font-size:15px;text-shadow:0 1px 6px #000;white-space:pre-wrap;max-height:140px;overflow:auto}.story-bottom{position:absolute;bottom:15px;left:15px;right:15px;display:flex;justify-content:space-between;align-items:center}.story-bottom button{background:#ffffff22;color:white}.story-count{font-size:13px}.options{display:grid;gap:7px}.options button{padding:13px 15px;text-align:left;display:flex;gap:12px;align-items:center;border-radius:10px}.options button:hover{background:var(--bg)}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%) translateY(15px);background:#152440;color:white;padding:12px 20px;border-radius:13px;box-shadow:0 8px 30px #0002;max-width:calc(100% - 30px);z-index:100;font-size:14px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}#toast.show{opacity:1;transform:translateX(-50%) translateY(0)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}

@media(max-width:1230px){.shell{grid-template-columns:215px minmax(0,1fr)}.sidebar{padding:28px 15px}.columns{grid-template-columns:minmax(0,1fr) 245px;gap:20px}.content{padding:25px}.topbar{padding:0 25px}.side-card{padding:18px}.chat-layout{grid-template-columns:260px minmax(0,1fr)}}
@media(max-width:1050px){.shell{grid-template-columns:88px minmax(0,1fr)}.sidebar{align-items:center;padding:28px 10px}.sidebar .brand{font-size:0;padding:0;gap:0}.sidebar .brand span{display:none}.sidebar .brand img{width:43px;height:43px}.nav a{padding:15px;font-size:0;gap:0}.nav .badge{position:absolute;top:5px;right:2px}.sidebar .publish{font-size:0;padding:13px;gap:0}.self-link{padding:18px 0 0}.self-link>div,.self-link>svg,.sidebar-bottom>small{display:none}.sidebar-bottom .nav a{justify-content:center}.auth-art{padding:42px}.chat-layout{grid-template-columns:245px minmax(0,1fr)}}
@media(max-width:850px){.side-column{display:none}.columns{display:block;max-width:630px;margin:auto}.content{padding:24px}.auth-art{padding:34px}.auth-title h1{font-size:54px}.auth-mark{width:110px;height:110px}.search-box{width:200px}.chat-layout{grid-template-columns:225px minmax(0,1fr)}}
@media(max-width:650px){body{background:#f7f9fd}.auth{display:block}.auth-art{display:none}.auth-side{padding:35px 25px;min-height:100svh;align-items:flex-start}.auth-box{max-width:420px}.auth-box .brand{display:flex;margin-bottom:45px}.auth-box h2{font-size:29px}.shell{display:block}.sidebar{display:none}.topbar{height:73px;padding:0 18px;position:sticky;top:0;z-index:5;background:#fffffff2;backdrop-filter:blur(15px)}.topbar .desktop-title{display:none}.mobile-brand{display:flex;font-size:25px}.mobile-brand img{width:35px;height:35px}.top-actions{gap:4px}.top-actions>.avatar{display:none}.search-box{width:40px;height:40px;border:0;background:none;padding:9px}.search-box span{display:none}.search-box svg{width:23px}.content{padding:18px 12px 96px}.mobile-nav{position:fixed;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:space-around;height:calc(65px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:#fffffff7;border-top:1px solid var(--line);z-index:8;backdrop-filter:blur(12px)}.mobile-nav>a,.mobile-nav>button{position:relative;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:10px;color:var(--muted);padding:8px 13px}.mobile-nav .active{color:var(--blue)}.mobile-nav .new{background:var(--blue);color:white;border-radius:15px;width:47px;height:43px;justify-content:center;padding:0}.mobile-nav .badge{position:absolute;top:1px;right:4px}.mobile-nav .avatar{width:24px;height:24px;font-size:10px}.stories{padding:16px;gap:14px;margin-bottom:14px;border-radius:17px}.stories-note{font-size:12px}.composer{padding:15px;margin-bottom:22px;border-radius:17px}.composer-top>button{font-size:13px;padding:12px}.composer-actions{margin-top:12px;padding-top:12px}.composer-actions button{font-size:12px;gap:5px;padding:3px}.composer-actions svg{width:18px}.post{border-radius:17px;margin-bottom:17px}.post-head{padding:15px}.post-body{padding:0 16px 15px;font-size:14px}.post-body.text-post{font-size:21px;padding:7px 17px 22px}.post-footer{padding:12px 16px 16px}.feed-tabs{gap:23px;padding:0 4px}.feed-tabs>span{font-size:11px}.profile-card{padding:20px}.profile-main{align-items:flex-end}.profile-main .row{max-width:210px;justify-content:flex-end}.profile-main .btn{padding:8px 11px;font-size:12px}.avatar.large{width:88px;height:88px}.stats{gap:16px;font-size:12px}.profile-card h1{font-size:25px}.profile-card .bio{font-size:14px}.people-grid{grid-template-columns:1fr}.section-top h1{font-size:25px}.settings .card{padding:21px}.chat-layout{height:calc(100svh - 157px);min-height:350px;display:block;border-radius:16px}.inbox{height:100%;border-right:0}.chat-thread{height:100%}.chat-layout:not(.has-thread) .chat-thread{display:none}.chat-layout.has-thread .inbox{display:none}.chat-header .back{display:flex}.chat-header{padding:12px;gap:8px;min-height:74px}.message-list{padding:17px}.message-form{padding:12px;gap:7px}.message-form input{font-size:14px}.message-form button{padding:10px 12px}.reel-stream{height:calc(100svh - 218px);border-radius:17px;min-height:380px}.reel-overlay{left:17px}.empty{padding:45px 20px}.empty h2{font-size:20px}.empty p{font-size:14px}.modal-head{padding:15px 18px}.modal-body{padding:20px}dialog{width:calc(100% - 20px);border-radius:20px;max-height:92svh}#toast{bottom:85px;font-size:13px}.setup-body{padding:20px}.setup-card{padding:25px}.auth-title h1{letter-spacing:-2px}.notification{padding:17px}.section-top .btn{font-size:12px;padding:9px 12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.composer-top>button{min-width:0;overflow-wrap:anywhere}.post-head strong,.post-head small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}.profile-card h1,.profile-card>.muted,.chat-header strong,.notification p{overflow-wrap:anywhere}.stats{flex-wrap:wrap}.chat-header>a:last-child{min-width:0}.comment-item strong{overflow-wrap:anywhere}.settings label{min-width:0}.settings .row>label{flex:1}.side-card>.text-btn{display:flex;align-items:center;gap:8px;margin-top:22px}.side-card>.text-btn svg{width:16px;height:16px}
/* Baulista Studio · v2 */
[hidden]{display:none!important}.destination-field{border:0;padding:0;margin:0;min-width:0}.destination-field legend{font-size:14px;font-weight:650;margin-bottom:10px}.destination-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.destination-options button{display:flex;flex-direction:column;align-items:flex-start;gap:3px;padding:14px;border:1px solid var(--line);border-radius:15px;background:white;min-width:0;transition:background .15s,border-color .15s}.destination-options button>svg{margin-bottom:7px;color:var(--muted);width:22px;height:22px}.destination-options button strong{font-size:14px}.destination-options button small{font-size:12px}.destination-options button[aria-checked=true]{background:#edf4ff;border-color:#77adff;box-shadow:0 0 0 1px #0867f80d}.destination-options button[aria-checked=true]>svg,.destination-options button[aria-checked=true]>strong{color:var(--blue)}.destination-options button:hover{border-color:#8eb9fa}.media-upload-area{border:1.5px dashed #b2cffa;border-radius:18px;background:#f4f8ff;transition:background .2s,border-color .2s}.media-upload-area.drag-over{background:#e0edff;border-color:var(--blue)}.media-upload-button{padding:27px 20px;display:flex;flex-direction:column;align-items:center;gap:8px;width:100%;border-radius:18px;text-align:center}.media-upload-button:hover{background:#ebf3ff}.upload-icon{width:52px;height:52px;display:grid;place-items:center;border-radius:15px;background:white;box-shadow:0 4px 15px #0c54c00b;color:var(--blue);margin-bottom:6px}.upload-icon svg{width:26px;height:26px}.media-upload-button strong{font-size:16px;color:var(--ink)}.media-upload-button>span:not(.upload-icon){font-size:14px;color:var(--muted)}.media-upload-button small{font-size:12px;color:#77859a}.selected-media{border:1px solid var(--line);border-radius:17px;overflow:hidden}.selected-media-frame{background:#edf1f7;display:grid;place-items:center}.selected-media-frame img,.selected-media-frame video{display:block;max-height:310px;width:100%;object-fit:contain}.selected-media-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px}.selected-media-footer>div:first-child{min-width:0}.selected-media-footer strong{font-size:14px;display:block}.selected-media-footer small{font-size:12px}.selected-media-footer .row{gap:5px}.selected-media-footer .btn{font-size:13px;padding:9px 12px}.profile-photo-picker{display:flex;align-items:center;gap:23px;padding:18px;border:1px solid var(--line);border-radius:17px;background:#f9fbff}.profile-photo-preview{position:relative;flex-shrink:0}.profile-photo-preview .avatar.large{border:4px solid white;box-shadow:0 4px 16px #0e387318;width:100px;height:100px}.profile-photo-actions{min-width:0;display:grid;gap:10px}.profile-photo-actions>strong{font-size:15px}.profile-photo-actions .row{gap:10px;flex-wrap:wrap}.profile-photo-actions .media-status{color:#247647;font-size:12px}.media-status:empty{display:none}.photo-ready{position:absolute;bottom:0;left:50%;transform:translateX(-50%);padding:2px 9px;border-radius:20px;background:#e5f7ed;color:#177044;font-size:11px;font-weight:650;border:2px solid white}
.photo-editor{max-width:1080px;width:calc(100% - 48px);max-height:94svh;padding:0;border-radius:23px;overflow:hidden}.photo-editor[open]{display:flex;flex-direction:column}.photo-editor::backdrop{background:#071327ad;backdrop-filter:blur(9px)}.editor-head{display:flex;align-items:center;justify-content:space-between;padding:21px 27px;border-bottom:1px solid var(--line);flex-shrink:0}.editor-head .eyebrow{font-size:10px;letter-spacing:1.8px}.editor-head h2{font-size:22px;margin-top:3px}.editor-workspace{display:grid;grid-template-columns:minmax(0,1fr) 320px;min-height:0;overflow:hidden}.editor-preview{display:flex;flex-direction:column;min-width:0;background:#f2f5fa;padding:19px 22px;gap:17px}.editor-preview-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.editor-preview-top>span{font-size:11px;letter-spacing:1.2px;font-weight:700;color:#708096}.compare-button{background:white;border:1px solid #e1e7ef;border-radius:9px;padding:7px 12px;font-size:12px;font-weight:650;min-height:34px}.compare-button[aria-pressed=true]{background:#152542;color:white;border-color:#152542}.editor-stage{height:min(49svh,450px);min-height:240px;display:flex;align-items:center;justify-content:center;overflow:hidden;flex:1}.crop-stage{position:relative;max-width:100%;max-height:100%;flex-shrink:0;overflow:hidden;box-shadow:0 15px 35px #18335820;background:white;line-height:0}.crop-stage canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab}.crop-stage.dragging canvas{cursor:grabbing}.crop-grid{pointer-events:none;position:absolute;inset:0;border:1px solid #ffffffa0;background-image:linear-gradient(to right,transparent calc(33.333% - .5px),#ffffff4a 33.333%,transparent calc(33.333% + .5px),transparent calc(66.666% - .5px),#ffffff4a 66.666%,transparent calc(66.666% + .5px)),linear-gradient(to bottom,transparent calc(33.333% - .5px),#ffffff4a 33.333%,transparent calc(33.333% + .5px),transparent calc(66.666% - .5px),#ffffff4a 66.666%,transparent calc(66.666% + .5px));opacity:.5}.dragging .crop-grid{opacity:1}.round-crop .crop-grid{border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 500px #0c1529a8;opacity:1;background:none}.editor-preview-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#65758b;font-size:12px}.editor-controls{padding:24px 21px 18px;overflow-y:auto;max-height:66svh;scrollbar-width:thin}.editor-control-section{padding-bottom:23px;margin-bottom:22px;border-bottom:1px solid var(--line)}.editor-control-section h3{font-size:14px;font-weight:750;margin:0 0 15px}.editor-section-title{display:flex;align-items:flex-start;justify-content:space-between}.editor-section-title svg{width:17px;height:17px;color:var(--muted)}.ratio-options{display:flex;gap:5px;flex-wrap:wrap}.ratio-options button{font-size:12px;border:1px solid var(--line);border-radius:8px;padding:7px 9px;min-height:35px}.ratio-options button[aria-pressed=true]{border-color:#82b2ff;background:#edf4ff;color:var(--blue);font-weight:650}.editor-zoom{display:flex;align-items:center;gap:4px;margin:18px -6px 14px}.editor-zoom label{flex:1;min-width:0;gap:8px}.editor-zoom label>span{display:flex;justify-content:space-between;font-size:12px;font-weight:550}.editor-zoom .icon-btn{width:34px;height:34px}.editor-zoom svg{width:17px;height:17px}.photo-editor input[type=range]{appearance:none;-webkit-appearance:none;height:5px;border:0;padding:0;box-shadow:none;border-radius:6px;background:#dce6f4;width:100%;cursor:pointer;outline-offset:6px;accent-color:var(--blue)}.photo-editor input[type=range]::-webkit-slider-thumb{appearance:none;width:17px;height:17px;border-radius:50%;background:var(--blue);border:3px solid white;box-shadow:0 1px 6px #075fe855}.photo-editor input[type=range]::-moz-range-thumb{width:12px;height:12px;border-radius:50%;background:var(--blue);border:3px solid white;box-shadow:0 1px 6px #075fe855}.photo-editor input[type=range]:focus-visible{outline:2px solid #88b8ff}.transform-buttons{display:flex;gap:9px}.transform-buttons button{display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);border-radius:9px;padding:9px;font-size:12px;flex:1;min-height:38px}.transform-buttons svg{width:17px;height:17px}.transform-buttons button[aria-pressed=true]{color:var(--blue);background:var(--pale)}.filter-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 7px}.filter-options button{padding:0;min-width:0;display:grid;justify-items:center;gap:5px;border-radius:10px;font-size:11px}.filter-options canvas{width:100%;height:auto;aspect-ratio:1;border-radius:9px;border:2px solid transparent;padding:2px}.filter-options button[aria-pressed=true]{color:var(--blue);font-weight:750}.filter-options button[aria-pressed=true] canvas{border-color:var(--blue)}.adjustment{display:grid;gap:13px;margin-top:19px}.adjustment>span{display:flex;justify-content:space-between;gap:10px;font-size:12px;font-weight:550}.adjustment output{color:#73839a;font-size:11px;font-variant-numeric:tabular-nums}.editor-reset{display:flex;align-items:center;justify-content:center;gap:8px;font-size:12px;color:var(--muted);width:100%;padding:5px}.editor-reset svg{width:15px;height:15px}.editor-footer{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 25px;border-top:1px solid var(--line);background:white;flex-shrink:0}.editor-footer>p{font-size:12px;color:var(--muted);max-width:340px}.editor-footer .row{gap:9px;flex-shrink:0}.editor-error:empty{display:none}.editor-error{font-size:13px;color:#ba2640;padding:12px 23px;background:#fff2f4}.editor-confirm{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:13px 23px;background:#fff3e3;font-size:13px}.editor-confirm button{font-weight:650;font-size:12px;padding:7px;border-radius:8px}.editor-confirm button[data-editor=discard]{color:#b72840}.editor-confirm button[data-editor=continue]{background:white}
@media(max-width:800px){.photo-editor{width:calc(100% - 22px)}.editor-workspace{grid-template-columns:minmax(0,1fr) 275px}.editor-controls{padding:20px 16px}.editor-preview{padding:16px;gap:12px}.editor-head{padding:17px 21px}.editor-head h2{font-size:20px}.editor-footer{padding:15px 20px;gap:15px}.editor-footer>p{max-width:230px}}
@media(max-width:650px){.photo-editor{width:100%;max-width:none;max-height:100dvh;height:100dvh;border-radius:0;margin:0}.editor-head{padding:14px 18px}.editor-head h2{font-size:18px}.editor-head .eyebrow{font-size:9px}.editor-workspace{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}.editor-preview{flex:0 0 auto;height:40svh;min-height:205px;max-height:360px;padding:11px 16px;gap:7px}.editor-preview-top>span{font-size:10px}.compare-button{font-size:11px;padding:5px 10px;min-height:30px}.editor-stage{min-height:0;height:auto;flex:1}.editor-preview-bottom{font-size:10px}.editor-controls{flex:1;max-height:none;min-height:0;padding:19px 20px;overscroll-behavior:contain}.editor-control-section{padding-bottom:17px;margin-bottom:17px}.editor-control-section h3{font-size:14px;margin-bottom:12px}.ratio-options{flex-wrap:nowrap;gap:7px}.ratio-options button{flex:1;min-width:0;font-size:12px;padding:8px 5px}.editor-zoom{margin-top:15px;margin-bottom:12px}.filter-options{display:flex;overflow-x:auto;padding:3px 1px 7px;gap:12px}.filter-options button{flex:0 0 62px}.filter-options canvas{width:62px;height:62px}.editor-footer{padding:12px 16px calc(12px + env(safe-area-inset-bottom));gap:10px}.editor-footer>p{display:none}.editor-footer>.row{width:100%;justify-content:space-between}.editor-footer .primary{flex:1}.editor-footer .outline{min-width:90px}.editor-confirm{padding:11px 16px}.profile-photo-picker{padding:15px;gap:14px;align-items:flex-start}.profile-photo-preview .avatar.large{width:76px;height:76px}.profile-photo-actions .row{gap:8px}.profile-photo-actions .btn{font-size:12px;padding:9px 12px}.profile-photo-actions .text-btn{font-size:12px}.profile-photo-actions .meta{font-size:12px}.profile-photo-actions{gap:8px}.destination-options{gap:7px}.destination-options button{padding:12px 10px}.destination-options button small{font-size:11px}.destination-options button strong{font-size:13px}.media-upload-button{padding:22px 14px}.media-upload-button>span:not(.upload-icon){font-size:12px}.media-upload-button small{font-size:11px}.media-upload-button strong{font-size:15px}.selected-media-footer{padding:12px}.selected-media-footer strong{font-size:12px}.selected-media-footer .btn{font-size:12px;padding:8px 10px}.selected-media-frame img,.selected-media-frame video{max-height:260px}}
@media(max-height:620px) and (min-width:651px){.editor-head{padding:12px 20px}.editor-controls{max-height:60svh}.editor-stage{min-height:170px}.editor-footer{padding:11px 20px}}

/* Desktop layout correction · v3: navigation starts at the viewport edge. */
@media(min-width:651px){.sidebar{align-self:start;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.sidebar>*{flex-shrink:0}}


@media(min-width:651px) and (max-height:800px){.sidebar{gap:18px;padding-top:22px;padding-bottom:18px}.sidebar .nav a{padding-top:10px;padding-bottom:10px}.sidebar-bottom{gap:10px}.self-link{padding-top:14px}}

/* V4 · shared alignment for the central feed, search and right rail. */
.workspace{--rail-width:280px;--layout-gap:28px;--page-gutter:24px;--feed-width:640px}
.topbar{height:90px;padding:0;position:sticky;top:0;z-index:5;background:rgba(255,255,255,.97)}
.topbar-inner{display:grid;grid-template-columns:minmax(0,1fr) var(--rail-width);gap:var(--layout-gap);align-items:center;width:100%;height:100%;padding:0 var(--page-gutter)}
.header-main{display:flex;align-items:center;justify-content:center;min-width:0;position:relative;height:100%}
.desktop-title{position:absolute;left:0;max-width:195px;min-width:0}.topbar .desktop-title h1{font-size:22px}.topbar .desktop-title p{font-size:12px}
.global-search{display:flex;align-items:center;gap:11px;width:100%;max-width:400px;background:#f4f7fc;border:1px solid #e3eaf4;border-radius:14px;padding:0 12px 0 16px;min-width:0;height:46px;transition:border-color .15s,box-shadow .15s}
.global-search:focus-within{background:white;border-color:#86b5ff;box-shadow:0 0 0 3px #0867f80c}.global-search>svg{color:#7a8ba3;width:19px;height:19px}
.global-search input{padding:0;border:0;outline:0;box-shadow:none!important;background:transparent;font-size:14px;min-width:0;flex:1;height:44px}.global-search input::placeholder{color:#7b899d}
.search-submit{display:grid;place-items:center;border-radius:9px;height:32px;width:32px;color:var(--blue);flex-shrink:0}.search-submit:hover{background:#e6effe}.search-submit svg{width:18px;height:18px}
.top-actions{justify-content:flex-end;gap:15px;min-width:0}.mobile-search{display:none}.notification-trigger{position:relative}.notification-trigger .badge{position:absolute;right:-2px;top:0}
.content{width:100%;max-width:none;margin:0;padding:30px var(--page-gutter) 50px}
.columns{display:block;width:100%;max-width:720px;margin:0 auto}
.columns>.main-column{width:100%;min-width:0}
.feed-layout{display:grid;grid-template-columns:minmax(0,1fr) var(--rail-width);gap:var(--layout-gap);align-items:start;max-width:none;margin:0}
.feed-layout>.main-column{max-width:var(--feed-width);justify-self:center}
.feed-layout>.side-column{display:grid;position:sticky;top:114px;min-width:0;gap:17px}
.side-card{padding:23px}.side-card h3{font-size:15px;margin-bottom:18px}.side-footer{line-height:1.9}
.feed-layout #post-list>.card>.empty{padding:44px 28px}.feed-layout #post-list>.card>.empty h2{font-size:22px}.feed-layout #post-list>.card>.empty p{font-size:14px;line-height:1.7;max-width:325px}
.content[data-view=messages]{max-width:1440px;margin-inline:auto}.content[data-view=explore],.content[data-view=admin]{max-width:1120px;margin-inline:auto}
@media(min-width:1600px){.workspace{--rail-width:300px;--layout-gap:36px;--page-gutter:32px}}
@media(max-width:1599px){.topbar .desktop-title{display:none}}
@media(max-width:1100px){.workspace{--rail-width:250px;--layout-gap:24px}.global-search{max-width:360px}.side-card{padding:19px}.top-actions{gap:11px}}
@media(max-width:850px){.workspace{--page-gutter:22px}.topbar-inner{grid-template-columns:106px minmax(0,1fr) 106px;gap:20px}.header-main{grid-column:2}.top-actions{grid-column:3}.feed-layout{display:block;max-width:640px;margin:0 auto}.feed-layout>.side-column{display:none}.feed-layout>.main-column{max-width:none}.global-search{max-width:420px}}
@media(max-width:650px){.workspace{--page-gutter:12px}.topbar{height:73px}.topbar-inner{display:flex;justify-content:space-between;padding:0 18px;gap:12px}.header-main{justify-content:flex-start;flex:1}.global-search{display:none}.mobile-search{display:inline-flex}.top-actions{gap:4px}.topbar .mobile-brand{display:flex}.content{padding:18px 12px 96px}.feed-layout{max-width:640px}.feed-layout #post-list>.card>.empty{padding:36px 23px}.feed-layout #post-list>.card>.empty h2{font-size:20px}.feed-layout #post-list>.card>.empty p{font-size:14px}.top-actions>.avatar{display:none}}
/* Profile media and bounded mobile conversations */
html{touch-action:pan-x pan-y}input,select,textarea{font-size:16px!important}.profile-cover{height:auto!important;aspect-ratio:3/1;min-height:0!important;overflow:hidden;position:relative}.profile-cover img{display:block;width:100%;height:100%;object-fit:cover}.profile-cover.custom-cover{background:#e8edf5}.cover-preview{margin:0!important;width:100%;border-radius:16px}.profile-music{display:grid;gap:10px;margin:18px 0;padding:16px;border:1px solid var(--line);border-radius:16px;background:var(--bg)}.profile-music small,.music-result small{display:block;color:var(--muted)}.profile-music a{font-size:12px;color:var(--blue)}audio{max-width:100%;width:100%;min-width:0}.music-result{text-align:left;padding:14px;border:1px solid var(--line);border-radius:12px;display:grid;gap:4px}.music-result span{display:flex;justify-content:space-between;color:var(--blue);font-size:12px}.music-result svg{width:16px;height:16px}.chat-photo{display:block;max-height:300px;max-width:100%;border-radius:10px}.bubble:has(audio){width:300px;max-width:92%;padding:8px}.chat-attachment{flex-shrink:0;display:flex;align-items:center;gap:10px;padding:10px 14px;background:var(--pale);font-size:12px}.chat-attachment[hidden]{display:none}.chat-attachment img{width:52px;height:52px;object-fit:cover;border-radius:8px}.chat-attachment audio{max-width:280px;height:40px}.message-form{flex-shrink:0;align-items:center}.message-form input:not([type=file]){min-width:0;flex:1}.message-form .icon-btn{padding:6px;min-width:32px;width:32px}.recording{color:#ce2545!important;min-width:45px!important}.message-list,.inbox{overscroll-behavior:contain}.chat-header{flex-shrink:0}
@media(max-width:650px){body.chat-page{position:fixed;inset:0;overflow:hidden;overscroll-behavior:none}.chat-page .shell{position:fixed;top:var(--chat-top,0px);left:0;width:100%;height:var(--chat-height,100dvh);display:flex;flex-direction:column;overflow:hidden}.chat-page .workspace{display:flex;flex-direction:column;flex:1;min-height:0}.chat-page .topbar{display:none}.chat-page .content{flex:1;min-height:0;padding:0;overflow:hidden;display:flex}.chat-page .chat-layout{height:100%;min-height:0;width:100%;border:0;border-radius:0;margin:0;overflow:hidden}.chat-page .mobile-nav{position:static;flex-shrink:0}.chat-page .chat-layout.has-thread .chat-thread{display:flex;height:100%;min-height:0}.chat-page:has(.has-thread) .mobile-nav{display:none}.chat-page .message-form{padding:10px 8px calc(10px + env(safe-area-inset-bottom));gap:4px}.chat-page .chat-header{padding-top:calc(12px + env(safe-area-inset-top))}.chat-page .message-list{padding:12px;overscroll-behavior:contain}.chat-page .inbox{overflow:auto}.chat-page #toast{bottom:80px}.profile-music{padding:12px}.profile-card .profile-cover{margin-bottom:0}.chat-attachment audio{width:calc(100% - 95px)}.chat-attachment span{max-width:90px}}
/* Images must not change the 3:1 cover box based on intrinsic dimensions. */
.profile-cover>.cover-image,.cover-preview>img{position:absolute;inset:0;width:100%;height:100%}.settings .profile-cover{margin:0;border-radius:14px}.photo-editor .transform-buttons{flex-wrap:wrap}
