:root{--bg:#f5f5f3;--surface:#fff;--ink:#101010;--muted:#747474;--line:#e5e5e2;--soft:#eeeeeb;--accent:#161616;--radius:18px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',sans-serif}button,input,textarea,select{font:inherit}button{color:inherit}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:244px;background:#0d0d0d;color:#fff;padding:30px 18px 20px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;gap:10px;color:inherit;text-decoration:none;font:800 23px 'Manrope',sans-serif;letter-spacing:-1px;padding:0 10px}.brand-mark{width:31px;height:31px;fill:none;stroke:currentColor;stroke-width:3.2;stroke-linecap:round}.main-nav{margin-top:45px;display:flex;flex-direction:column;gap:7px}.nav-item{width:100%;border:0;background:transparent;color:#aaa;display:flex;align-items:center;gap:16px;padding:13px 14px;border-radius:12px;cursor:pointer;text-align:left;transition:.2s}.nav-item:hover,.nav-item.active{background:#252525;color:#fff}.nav-item span:first-child{font-size:23px;width:24px;text-align:center}.nav-item b{font-size:14px}.nav-item i{margin-left:auto;background:#fff;color:#111;border-radius:20px;min-width:20px;padding:3px 6px;text-align:center;font-size:10px;font-style:normal}.mini-avatar{display:grid!important;place-items:center;background:#bbb;color:#111;border-radius:50%;width:25px!important;height:25px;font-size:12px!important}.sidebar-footer{margin-top:auto}.user-chip{border-top:1px solid #292929;margin-top:10px;padding:20px 5px 0;display:grid;grid-template-columns:38px 1fr auto;gap:10px;align-items:center}.avatar{width:42px;height:42px;border-radius:50%;background:linear-gradient(145deg,#ededed,#777);color:#111;display:grid;place-items:center;font-weight:800;flex:0 0 auto}.user-chip strong,.user-chip small{display:block;font-size:12px}.user-chip small{color:#888;margin-top:2px}.user-chip button{background:none;border:0;color:#777}.mobile-header,.mobile-nav{display:none}main{margin-left:244px}.page{display:none}.page.active{display:flex}.feed-column{width:min(650px,calc(100% - 350px));margin-left:max(30px,calc((100vw - 244px - 1010px)/2));padding:0 0 70px}.feed-tabs{height:70px;display:flex;justify-content:center;gap:40px;border-bottom:1px solid var(--line);position:sticky;top:0;background:rgba(245,245,243,.92);backdrop-filter:blur(12px);z-index:5}.feed-tabs button,.profile-tabs button{border:0;background:none;font-weight:600;color:#999;position:relative;cursor:pointer}.feed-tabs button.active,.profile-tabs button.active{color:#111}.feed-tabs button.active:after,.profile-tabs button.active:after{content:"";position:absolute;bottom:0;left:10%;right:10%;height:2px;background:#111}.stories{display:flex;gap:15px;padding:22px 5px;overflow:auto;scrollbar-width:none}.story{border:0;background:none;width:68px;flex:0 0 68px;padding:0;cursor:pointer}.story-ring{width:62px;height:62px;border-radius:50%;padding:3px;background:linear-gradient(145deg,#111,#aaa);margin:auto}.story-ring>div{height:100%;border:3px solid var(--bg);border-radius:50%;display:grid;place-items:center;background:#ddd;font-weight:800}.story small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:6px}.composer,.post-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);margin-bottom:16px}.composer{padding:14px 16px;display:flex;align-items:center;gap:10px}.composer>button:nth-child(2){flex:1;background:var(--bg);border:0;border-radius:30px;padding:12px 16px;text-align:left;color:#999;cursor:pointer}.composer-action{border:0;background:none;font-size:20px;color:#777;cursor:pointer}.post-card{overflow:hidden}.post-head{padding:15px 17px;display:flex;gap:10px;align-items:center}.post-user{flex:1}.post-user strong,.post-user small{display:block}.post-user strong{font-size:14px}.post-user small{color:#999;font-size:11px}.more{border:0;background:none;font-weight:bold;cursor:pointer}.post-copy{padding:0 18px 15px;line-height:1.55;font-size:14px}.post-copy p{margin:0}.post-copy .tag{font-weight:700}.post-media{min-height:390px;background:#222;position:relative;display:grid;place-items:center;overflow:hidden}.visual{position:absolute;inset:0}.visual.city{background:linear-gradient(165deg,transparent 50%,#111 51%),linear-gradient(20deg,#c6c6c2,#555)}.visual.studio{background:radial-gradient(circle at 50% 42%,#ddd 0 10%,transparent 11%),linear-gradient(135deg,#111 0 45%,#aaa 46% 58%,#333 59%)}.visual.travel{background:linear-gradient(170deg,#d8d8d2 0 45%,#666 46% 58%,#202020 59%)}.visual.design{background:repeating-linear-gradient(135deg,#111 0 35px,#ddd 36px 70px)}.visual-text{position:relative;color:white;font:800 clamp(30px,5vw,56px) 'Manrope';text-transform:uppercase;letter-spacing:-2px;text-align:center;padding:30px;max-width:520px;text-shadow:0 2px 20px #000}.post-actions{display:flex;padding:10px 13px;border-bottom:1px solid #eee}.action{border:0;background:none;padding:7px 8px;display:flex;gap:6px;align-items:center;cursor:pointer}.action span{font-size:21px}.action.save{margin-left:auto}.action.liked span{color:#111;font-weight:bold}.post-meta{padding:0 18px 15px;font-size:12px}.post-meta b{display:block;margin:8px 0}.post-meta button{border:0;background:none;padding:0;color:#999;cursor:pointer}.comment-box{display:none;border-top:1px solid #eee;padding:12px 16px;gap:8px}.comment-box.open{display:flex}.comment-box input{flex:1;border:0;background:#f4f4f2;padding:10px;border-radius:20px;outline:none}.comment-box button{border:0;background:#111;color:white;border-radius:20px;padding:0 15px}.right-rail{width:310px;margin-left:30px;padding:18px 0;position:sticky;top:0;height:100vh}.search{background:#eaeae7;height:43px;border-radius:23px;display:flex;align-items:center;gap:8px;padding:0 15px}.search input{border:0;outline:0;background:none;width:100%;font-size:13px}.rail-card{background:#fff;border:1px solid var(--line);border-radius:16px;margin-top:16px;padding:16px}.section-title{display:flex;justify-content:space-between;align-items:center}.section-title h3{margin:0;font-size:15px}.section-title button,.text-button{border:0;background:none;font-size:11px;color:#777;cursor:pointer}.trend{padding:13px 0;border-bottom:1px solid #eee}.trend:last-child{border:0}.trend small,.trend strong{display:block}.trend small{color:#999;font-size:10px}.trend strong{font-size:13px;margin:3px 0}.suggestion{display:flex;align-items:center;gap:9px;margin-top:14px}.suggestion>div:nth-child(2){flex:1}.suggestion strong,.suggestion small{display:block;font-size:11px}.suggestion small{color:#999}.follow{border:0;background:#111;color:#fff;border-radius:20px;padding:6px 10px;font-size:10px;cursor:pointer}.follow.following{background:#eee;color:#111}.right-rail footer{color:#aaa;font-size:10px;line-height:2;margin:15px}.standard-page{padding:45px clamp(25px,5vw,70px) 80px;display:none;flex-direction:column;max-width:1300px}.standard-page.active{display:flex}.page-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:30px}.page-head p{font-size:10px;letter-spacing:2px;color:#999;margin:0 0 5px}.page-head h1{font:800 34px 'Manrope';letter-spacing:-1.5px;margin:0}.wide{width:min(420px,50%)}.category-row{display:flex;gap:7px;margin-bottom:20px}.category-row button{border:1px solid var(--line);border-radius:20px;background:#fff;padding:8px 17px;cursor:pointer}.category-row button.active{background:#111;color:white}.explore-grid,.profile-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.explore-item,.profile-item{aspect-ratio:1;position:relative;overflow:hidden;background:#222;cursor:pointer}.explore-item:first-child,.explore-item:nth-child(7n){grid-row:span 2;aspect-ratio:auto}.explore-item:hover .visual,.profile-item:hover .visual{transform:scale(1.04)}.explore-item .visual,.profile-item .visual{transition:.3s}.tile-label{position:absolute;inset:auto 15px 14px;color:#fff;font-weight:700;text-shadow:0 2px 10px #000}.reels-page.active{display:grid;place-items:center;background:#050505;min-height:100vh}.reel-stage{height:calc(100vh - 30px);aspect-ratio:9/16;max-width:calc(100vw - 280px);background:#222;position:relative;overflow:hidden;border-radius:14px}.reel-stage .visual{transition:.4s}.reel-info{position:absolute;inset:auto 70px 25px 18px;color:white;z-index:2}.reel-info p{font-size:13px;line-height:1.5}.reel-actions{position:absolute;right:12px;bottom:25px;display:flex;flex-direction:column;gap:16px;color:#fff}.reel-actions button{border:0;background:#ffffff24;color:white;width:45px;height:45px;border-radius:50%;font-size:19px;cursor:pointer}.reel-nav{position:absolute;right:12px;top:15px;display:flex;gap:6px}.reel-nav button{border:0;background:#ffffff25;color:#fff;border-radius:50%;width:35px;height:35px;cursor:pointer}.primary,.outline{border:0;border-radius:10px;padding:11px 18px;font-weight:700;cursor:pointer}.primary{background:#111;color:#fff}.primary.small{font-size:12px}.outline{background:white;border:1px solid #ddd}.messages-layout{display:grid;grid-template-columns:310px 1fr;background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;height:650px}.conversation-list{border-right:1px solid var(--line);overflow:auto}.conversation{display:flex;gap:11px;padding:16px;border-bottom:1px solid #eee;cursor:pointer}.conversation.active{background:#f0f0ed}.conversation>div:nth-child(2){flex:1;min-width:0}.conversation strong,.conversation small{display:block}.conversation small{color:#888;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:4px}.chat{display:flex;flex-direction:column}.chat-head{height:72px;border-bottom:1px solid #eee;display:flex;align-items:center;gap:10px;padding:0 20px}.chat-head strong,.chat-head small{display:block}.chat-head small{font-size:11px;color:#777}.chat-body{flex:1;padding:25px;overflow:auto}.message{max-width:65%;padding:11px 14px;border-radius:16px;margin:8px 0;font-size:13px}.message.them{background:#eee}.message.me{margin-left:auto;background:#111;color:#fff}.chat-form{display:flex;padding:14px;border-top:1px solid #eee;gap:8px}.chat-form input{flex:1;border:0;background:#f1f1ef;border-radius:24px;padding:11px 16px;outline:0}.chat-form button{border:0;background:#111;color:#fff;border-radius:22px;padding:0 18px}.notification-list{background:white;border:1px solid var(--line);border-radius:16px;overflow:hidden}.notification{display:flex;align-items:center;gap:12px;padding:16px;border-bottom:1px solid #eee}.notification.unread{background:#f1f1ee}.notification p{flex:1;margin:0;font-size:13px}.notification time{font-size:11px;color:#999}.profile-cover{height:220px;background:linear-gradient(120deg,#111,#777 50%,#ddd)}.profile-info{background:white;padding:0 clamp(20px,5vw,60px) 30px;position:relative}.profile-avatar{width:130px;height:130px;border:6px solid white;font-size:35px;transform:translateY(-50%);position:absolute}.profile-actions{display:flex;justify-content:flex-end;gap:8px;padding:18px 0}.profile-name{margin-top:25px}.profile-name h1{font:800 28px 'Manrope';margin:0}.profile-name h1 span{font-size:14px}.profile-name p,.bio{color:#777}.bio{max-width:600px}.profile-stats{display:flex;gap:25px}.profile-stats button{border:0;background:none;padding:0;color:#777}.profile-stats b{color:#111}.profile-tabs{height:60px;background:white;border-top:1px solid #eee;display:flex;justify-content:center;gap:60px}.profile-grid{padding-top:8px}.gradient-a{background:linear-gradient(145deg,#fff,#444)}dialog{border:0;padding:0;background:transparent}dialog::backdrop{background:#000a;backdrop-filter:blur(5px)}.modal-card{width:min(570px,calc(100vw - 30px));background:#fff;border-radius:20px;overflow:hidden}.modal-head{height:60px;border-bottom:1px solid #eee;display:flex;align-items:center;justify-content:space-between;padding:0 15px}.modal-head h2{font-size:16px}.icon-button{border:0;background:#eee;border-radius:50%;font-size:25px;width:34px;height:34px;cursor:pointer}.publish-button{border:0;background:none;font-weight:700;cursor:pointer}.modal-user{display:flex;gap:10px;padding:16px}.modal-user strong{display:block}.modal-user select{border:0;background:#eee;border-radius:5px;font-size:10px;padding:3px}.modal-card textarea{width:100%;height:120px;border:0;resize:none;outline:0;padding:0 18px;font-size:20px}.media-preview{margin:0 16px 15px;height:220px;border:1px dashed #ccc;border-radius:13px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fafafa;transition:.2s}.media-preview.dark{background:#111;color:#fff}.media-preview.silver{background:linear-gradient(135deg,#eee,#777);color:#111}.media-preview.warm{background:linear-gradient(135deg,#222,#aaa,#eee)}.media-preview small{color:#999}.backgrounds{display:flex;gap:7px;margin-top:18px}.backgrounds button{width:27px;height:27px;border:2px solid white;box-shadow:0 0 0 1px #ccc;border-radius:7px}.backgrounds button:nth-child(1){background:#111}.backgrounds button:nth-child(2){background:linear-gradient(135deg,#eee,#777)}.backgrounds button:nth-child(3){background:linear-gradient(135deg,#222,#eee)}.modal-tools{margin:0 16px 16px;border:1px solid #ddd;border-radius:12px;padding:12px;display:flex;align-items:center;justify-content:space-between;font-size:12px}.modal-tools button{border:0;background:none;font-size:18px}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,30px);background:#111;color:#fff;border-radius:30px;padding:12px 20px;opacity:0;pointer-events:none;transition:.25s;z-index:30;font-size:13px}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:1050px){.right-rail{display:none}.feed-column{width:min(650px,calc(100% - 40px));margin:auto}.wide{width:50%}}
@media(max-width:720px){.sidebar{display:none}main{margin:0}.mobile-header{height:58px;display:flex;align-items:center;justify-content:space-between;padding:0 15px;background:#0d0d0d;color:white;position:sticky;top:0;z-index:10}.mobile-header .brand{padding:0}.mobile-header button{border:0;background:none;color:#fff;font-size:20px}.mobile-nav{position:fixed;display:flex;bottom:0;left:0;right:0;height:60px;background:#0d0d0d;z-index:20;justify-content:space-around}.mobile-nav button{border:0;background:none;color:#aaa;font-size:23px;width:20%}.mobile-nav button.active{color:#fff}.mobile-nav #mobileCreate{background:#fff;color:#111;border-radius:10px;height:38px;align-self:center;max-width:50px}.feed-column{width:100%}.feed-tabs{height:52px}.stories{padding-left:12px}.composer,.post-card{border-radius:0;border-left:0;border-right:0}.composer{margin-bottom:8px}.post-media{min-height:110vw}.standard-page{padding:25px 14px 80px}.page-head{align-items:start}.page-head .wide{width:100%;margin-top:15px}.page-head:has(.wide){display:block}.explore-grid,.profile-grid{gap:3px}.messages-layout{grid-template-columns:1fr;height:calc(100vh - 180px)}.conversation-list{display:none}.reel-stage{height:calc(100vh - 118px);max-width:100%;border-radius:0}.profile-cover{height:150px}.profile-avatar{width:95px;height:95px}.profile-name{margin-top:20px}.profile-stats{gap:10px;font-size:12px}.profile-tabs{gap:25px}.profile-actions .outline{display:none}}

/* Aplicação PHP real */
.auth-body{background:#0b0b0b}.auth-shell{margin:0;min-height:100vh;display:grid;grid-template-columns:1.15fr .85fr;color:#fff}.auth-hero{padding:8vw;display:flex;flex-direction:column;justify-content:center;background:radial-gradient(circle at 20% 80%,#3b3b3b,transparent 40%),#0b0b0b}.brand.huge{padding:0;font-size:30px}.brand.huge .brand-mark{width:45px;height:45px}.auth-hero h1{font:800 clamp(48px,6vw,88px)/.98 'Manrope',sans-serif;letter-spacing:-5px;margin:60px 0 25px}.auth-hero p{color:#aaa;max-width:500px;font-size:17px}.auth-panel{background:#f3f3f1;color:#111;display:grid;place-items:center;padding:30px}.auth-card{background:#fff;width:min(440px,100%);border:1px solid #ddd;border-radius:22px;padding:30px;box-shadow:0 20px 60px #0001}.auth-tabs{display:flex;border-bottom:1px solid #ddd;margin-bottom:25px}.auth-tabs button{flex:1;border:0;background:none;padding:15px;color:#999;font-weight:700;position:relative;cursor:pointer}.auth-tabs button.active{color:#111}.auth-tabs button.active:after{content:"";position:absolute;bottom:-1px;left:20%;right:20%;height:2px;background:#111}.auth-card form label,.profile-form label{display:block;font-size:12px;font-weight:700;margin:14px 0}.auth-card input,.profile-form input,.profile-form textarea{display:block;width:100%;margin-top:7px;border:1px solid #ddd;border-radius:10px;padding:12px;background:#fafafa;outline:none}.auth-card input:focus,.profile-form input:focus,.profile-form textarea:focus{border-color:#555}.auth-submit{width:100%;margin-top:12px}.form-error{background:#fff0f0;color:#9b2020;padding:11px;border-radius:8px;font-size:12px;margin-bottom:15px}.legal{color:#888;text-align:center;margin-top:16px}.avatar img{width:100%;height:100%;object-fit:cover;border-radius:inherit}.logout{border:0;background:none;color:#888;font-size:11px;padding:12px 5px;cursor:pointer}.loading,.empty-state{text-align:center;padding:70px 25px;color:#888;background:#fff;border:1px solid var(--line);border-radius:18px}.empty-state h2{color:#111;margin:10px 0 5px}.empty-state p{margin:0 0 18px}.empty-icon{width:55px;height:55px;border:1px solid #ddd;border-radius:50%;display:grid;place-items:center;margin:auto;font-size:27px}.empty-small{color:#999;font-size:12px;padding:18px 0}.real-media{display:block;width:100%;max-height:700px;object-fit:contain;background:#0b0b0b}.post-meta{display:flex;gap:18px;align-items:center}.post-meta b{display:inline-block}.upload-zone{margin:0 16px 16px;min-height:130px;border:1px dashed #bbb;border-radius:13px;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer}.upload-zone input{display:none}.upload-zone span{font-weight:700}.upload-zone small{color:#999;margin-top:5px}#uploadPreview{margin:0 16px 16px}#uploadPreview img,#uploadPreview video{width:100%;max-height:300px;object-fit:contain;background:#111;border-radius:10px}.form-scroll{padding:5px 22px 25px;max-height:70vh;overflow:auto}.profile-form textarea{height:90px;resize:vertical}.people-list{background:transparent;border:0;padding:0}.person-row{background:#fff;border:1px solid var(--line);padding:15px;border-radius:14px;display:flex;gap:12px;margin-bottom:8px;align-items:start}.person-link{border:0;background:none;text-align:left;flex:1;cursor:pointer}.person-link strong,.person-link small{display:block}.person-link small{color:#888;margin-top:2px}.person-link p{color:#666;margin:8px 0 0}.profile-cover{background-size:cover;background-position:center}.profile-stats span{color:#777}.profile-stats b{color:#111}.profile-posts{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;padding-top:5px}.profile-post{aspect-ratio:1;background:#fff;display:grid;place-items:center;overflow:hidden}.profile-post img,.profile-post video{width:100%;height:100%;object-fit:cover}.profile-post p{padding:20px;overflow:hidden}.profile-posts>.empty-state{grid-column:1/-1}.profile-info a{color:#111;font-weight:700;font-size:13px}.delete-post{font-size:20px;color:#999}
@media(max-width:720px){.auth-shell{grid-template-columns:1fr}.auth-hero{padding:45px 25px 25px}.auth-hero h1{font-size:45px;letter-spacing:-3px;margin:35px 0 15px}.auth-panel{padding:20px 15px 50px}.auth-card{padding:22px}.right-rail{display:none}.profile-posts{gap:2px}.mobile-header #mobileCreate{display:block;background:#fff;color:#111;border-radius:8px;width:36px;height:36px}.mobile-nav #mobileCreate2{background:#fff;color:#111;border-radius:9px;height:38px;align-self:center;max-width:50px}}
.ui-icon{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;display:block}.nav-item>.ui-icon{flex:0 0 24px}.post-actions .action{width:42px;height:38px;justify-content:center}.post-actions .action .ui-icon{width:24px;height:24px}.action.liked .ui-icon{fill:#111;stroke:#111}.action.saved .ui-icon{fill:#111}.delete-post .ui-icon{width:19px;height:19px}.conector-avatar{position:relative;overflow:hidden;color:#fff;background:#111}.conector-avatar>i{position:absolute;width:75%;height:38%;border:2px solid #888;border-radius:20px;transform:rotate(-35deg)}.conector-avatar>i:after{content:"";position:absolute;width:100%;height:100%;border:2px solid #ddd;border-radius:20px;left:35%;top:55%}.conector-avatar>span{position:relative;z-index:1;text-shadow:0 1px 5px #000}.profile-tabs button{display:flex;align-items:center;gap:8px;justify-content:center}.profile-tabs .ui-icon{width:18px;height:18px}.profile-post{position:relative}.reel-badge{position:absolute;right:10px;top:10px;color:white;filter:drop-shadow(0 1px 4px #000)}.reel-badge .ui-icon{fill:#fff;stroke:#fff;width:22px}.profile-post video{background:#111}
