:root{--brand:#F82860;--brand2:#ff4778;--brand-soft:#fff0f4;--ink:#20212a;--muted:#858793;--line:#e9eaf0;--bg:#f6f7fa;--card:#fff;--shadow:0 8px 30px #20243a08;--radius:18px;color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink)}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}.hidden{display:none!important}.muted{color:var(--muted)}.small{font-size:12px}.app{min-height:100vh}.sidebar{position:fixed;z-index:30;inset:0 auto 0 0;width:248px;background:var(--card);border-right:1px solid var(--line);padding:24px 16px 16px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:10px;color:var(--brand);font-size:25px;font-weight:850;letter-spacing:-1.2px;padding:0 12px}.brand img{width:34px;height:34px;object-fit:contain}.profile-mini{display:flex;align-items:center;gap:10px;padding:13px 10px;margin:29px 0 18px;background:#fff6f8;border:1px solid #ffedf2;border-radius:14px}.profile-mini b,.profile-mini small{display:block}.profile-mini b{font-size:11px}.profile-mini small{font-size:9px;color:var(--muted);margin-top:4px;line-height:1.4}.avatar{width:42px;height:42px;flex:none;display:grid;place-items:center;border-radius:50%;background:linear-gradient(135deg,#ffa8bd,#f82860);color:white;font-weight:800;overflow:hidden;border:2px solid #fff;box-shadow:0 0 0 1px #f8286020}.avatar img{width:100%;height:100%;object-fit:cover}.nav-list{display:grid;gap:5px}.nav-link{display:flex;align-items:center;gap:13px;border:0;background:transparent;text-align:left;padding:12px 13px;border-radius:12px;color:#656775;font-size:12px;font-weight:700;transition:.16s}.nav-link:hover{background:#fff5f8;color:var(--brand)}.nav-link.active{background:var(--brand-soft);color:var(--brand)}.ico{width:22px;text-align:center;font-size:20px;line-height:1}.nav-count{margin-left:auto;color:var(--brand);background:#ffe0e9;border-radius:8px;padding:3px 6px;font-size:9px}.sidebar-bottom{margin-top:auto}.side-promo{padding:15px;border-radius:15px;background:linear-gradient(140deg,#fff7f9,#ffeaf0);border:1px solid #ffe0e8}.promo-star{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:white;color:var(--brand);margin-bottom:9px}.side-promo b{font-size:11px}.side-promo p{font-size:10px;line-height:1.6;color:var(--muted);margin:6px 0 12px}.side-legal{padding:14px 7px 0;font-size:9px;color:#a0a1aa;line-height:1.7}.side-legal a{margin-left:5px}.main{margin-left:248px;min-height:100vh;display:flex;flex-direction:column}.topbar{height:76px;position:sticky;top:0;z-index:20;background:#ffffffed;backdrop-filter:blur(16px);border-bottom:1px solid var(--line);display:flex;align-items:center;gap:20px;padding:0 clamp(18px,3vw,42px)}.search{display:flex;align-items:center;gap:10px;width:min(460px,45vw);height:42px;background:#f4f5f8;border:1px solid transparent;border-radius:12px;padding:0 13px;color:#a0a1aa}.search:focus-within{border-color:#ffc3d2;background:white}.search>span{font-size:25px}.search input{min-width:0;width:100%;border:0;outline:0;background:transparent;font-size:12px;color:var(--ink)}kbd{font-size:9px;background:#fff;border:1px solid #e5e5eb;border-radius:5px;padding:3px 5px;color:#999}.top-right{display:flex;align-items:center;gap:8px;margin-left:auto}.icon-btn{position:relative;display:grid;place-items:center;width:39px;height:39px;border:1px solid var(--line);background:white;border-radius:11px;color:#686a76;font-size:18px}.icon-btn:hover{color:var(--brand);border-color:#ffc3d2}.ping{position:absolute;right:8px;top:7px;width:6px;height:6px;background:var(--brand);border-radius:50%;border:1px solid white}.btn{border:0;border-radius:11px;padding:11px 15px;font-size:11px;font-weight:800;transition:transform .15s,box-shadow .15s}.btn:hover{transform:translateY(-1px)}.btn-primary{color:white;background:linear-gradient(110deg,#ff4778,#F82860 75%);box-shadow:0 6px 15px #f8286025}.btn-primary:hover{box-shadow:0 9px 20px #f8286038}.btn-primary span{margin-left:7px}.btn-quiet{background:transparent;color:#5f606c}.btn-outline{background:white;border:1px solid #ffc0d0;color:var(--brand)}.btn-block{width:100%}.user-menu{position:relative}.user-menu-button{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:white;border-radius:12px;padding:5px 9px;font-size:10px;font-weight:750}.small-avatar{width:27px;height:27px;font-size:10px}.user-menu-pop{position:absolute;right:0;top:45px;min-width:150px;background:white;border:1px solid var(--line);border-radius:12px;padding:6px;box-shadow:var(--shadow)}.user-menu-pop button{display:block;width:100%;text-align:left;border:0;background:transparent;padding:10px;border-radius:8px;font-size:11px}.user-menu-pop button:hover{background:var(--brand-soft);color:var(--brand)}.page-content{width:100%;max-width:1460px;margin:0 auto;padding:27px clamp(18px,3vw,42px) 36px;flex:1}.site-footer{display:flex;justify-content:space-between;gap:14px;padding:0 clamp(18px,3vw,42px) 20px;color:#9a9ba5;font-size:10px}.site-footer div{display:flex;gap:14px}.mobile-brand,.mobile-menu,.mobile-nav{display:none}
.grid-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:22px;align-items:start}.column{min-width:0}.hero{position:relative;overflow:hidden;display:flex;min-height:252px;border:1px solid #ffe0e8;border-radius:22px;background:linear-gradient(110deg,#fff0f4,#ffe1e9 55%,#f8d1dd);box-shadow:var(--shadow)}.hero-copy{position:relative;z-index:2;padding:28px 30px;max-width:430px;width:60%}.eyebrow{display:inline-flex;align-items:center;gap:7px;font-size:9px;letter-spacing:1px;text-transform:uppercase;font-weight:850;color:#a25c72}.dot{width:7px;height:7px;border-radius:50%;background:#40bd88;box-shadow:0 0 0 4px #40bd8818}.hero h1{font-size:clamp(28px,3.2vw,39px);line-height:1.08;letter-spacing:-1.6px;margin:15px 0 10px}.pink{color:var(--brand)}.hero p{max-width:300px;color:#8d6674;font-size:11px;line-height:1.7;margin:0 0 17px}.hero-art{position:absolute;inset:0 0 0 46%;overflow:hidden}.hero-sun{position:absolute;right:16%;top:28px;width:125px;height:125px;border-radius:50%;background:linear-gradient(145deg,#ffd9ad,#ff9ebc);box-shadow:0 0 0 17px #fff4}.hero-orbit{position:absolute;right:-5%;top:38px;width:290px;height:155px;border:1px solid #ffffffb5;border-radius:50%;transform:rotate(-24deg)}.hero-hill{position:absolute;bottom:-55px;right:-30px;width:340px;height:150px;border-radius:50% 50% 0 0;background:linear-gradient(130deg,#f5a6c0,#e8799c);transform:rotate(-8deg)}.hero-hill.two{right:90px;bottom:-73px;width:280px;height:120px;background:linear-gradient(130deg,#f8c1d0,#ec85a5)}.hero-bubble{position:absolute;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:white;color:var(--brand);box-shadow:0 7px 20px #b65d7b22}.hero-bubble.one{right:13%;top:21px;font-size:22px}.hero-bubble.two{right:5%;top:117px;width:27px;height:27px}.hero-note{position:absolute;right:7%;top:80px;z-index:3;display:flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid white;border-radius:12px;background:#ffffffec;box-shadow:0 8px 20px #a4517020}.hero-note b,.hero-note small{display:block;white-space:nowrap}.hero-note b{font-size:9px}.hero-note small{font-size:8px;color:var(--muted);margin-top:3px}.hero-note .avatar{width:27px;height:27px;font-size:10px}.section-head{display:flex;align-items:center;justify-content:space-between;margin:23px 2px 12px}.section-head h2{font-size:16px;margin:0;letter-spacing:-.3px}.section-head p{font-size:10px;color:var(--muted);margin:4px 0 0}.link-btn{border:0;background:transparent;color:var(--brand);font-size:11px;font-weight:800;padding:7px}.stories{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.story{position:relative;height:138px;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding:10px 3px;border:1px solid var(--line);border-radius:14px;background:white}.story:before{content:"";position:absolute;inset:0 0 40px;background:linear-gradient(155deg,#ffe4ed,#ffabc3)}.story:nth-child(3):before{background:linear-gradient(155deg,#d7f1e7,#79b8a4)}.story:nth-child(4):before{background:linear-gradient(155deg,#ffedc6,#e8ac75)}.story:nth-child(5):before{background:linear-gradient(155deg,#ffe5bd,#ef9868)}.story b,.story small,.story-ring,.story-plus{position:relative;z-index:1}.story b{font-size:10px;margin-top:6px}.story small{font-size:8px;color:var(--muted);margin-top:3px}.story-ring{width:47px;height:47px;padding:3px;border-radius:50%;border:2px solid var(--brand);background:white}.story-person{width:100%;height:100%;display:grid;place-items:center;border-radius:50%;color:white;font-weight:850;background:linear-gradient(135deg,#f4a6c0,#a85a87)}.story:nth-child(3) .story-person{background:linear-gradient(135deg,#c2dfd3,#4b8577)}.story:nth-child(4) .story-person{background:linear-gradient(135deg,#f8d69b,#b56b49)}.story:nth-child(5) .story-person{background:linear-gradient(135deg,#f6bd75,#de744e)}.story.add-story{background:linear-gradient(155deg,#fff8fa,#ffe4ed)}.story.add-story:before{display:none}.story-plus{display:grid;place-items:center;width:37px;height:37px;border-radius:50%;background:var(--brand);color:white;font-size:25px;box-shadow:0 5px 13px #f828602c}.card{background:var(--card);border:1px solid var(--line);border-radius:16px;box-shadow:0 4px 15px #20243a04}.composer{display:grid;grid-template-columns:42px minmax(0,1fr);gap:10px;padding:14px 15px 9px;margin-top:18px}.composer-input{align-self:center;text-align:left;border:0;border-radius:11px;background:#f5f6f9;color:#9697a1;padding:13px 14px;font-size:11px}.composer-tools{grid-column:1/-1;display:flex;gap:6px;border-top:1px solid #f0f0f4;margin-top:4px;padding-top:8px}.composer-tools button{flex:1;border:0;background:transparent;border-radius:8px;padding:8px 3px;font-size:10px;font-weight:700;color:#737582}.composer-tools button:hover{background:#fff2f6}.green{color:#31ae80}.orange{color:#e6a533}.feed-tabs{display:flex;align-items:center;gap:15px;border-bottom:1px solid var(--line);margin:21px 0 12px}.feed-tab{border:0;border-bottom:2px solid transparent;background:transparent;padding:0 7px 11px;color:#858692;font-size:11px;font-weight:800}.feed-tab.active{color:var(--brand);border-bottom-color:var(--brand)}.feed-list{display:grid;gap:14px}.post-card{padding:16px 17px 8px}.post-head{display:flex;align-items:center;gap:10px}.post-author{min-width:0;flex:1}.post-author b{display:block;font-size:11px}.post-author small{display:block;color:#9697a2;font-size:9px;margin-top:4px}.post-more{border:0;background:transparent;color:#888;letter-spacing:2px}.post-text{font-size:11px;line-height:1.75;color:#4e505b;margin:14px 0;white-space:pre-wrap;overflow-wrap:anywhere}.post-media{width:100%;max-height:480px;object-fit:cover;border-radius:12px;background:#f4e8ed}.post-metrics{display:flex;justify-content:space-between;gap:10px;padding:11px 2px;border-bottom:1px solid #f0f0f4;color:#9697a2;font-size:9px}.post-actions{display:flex;gap:5px}.post-action{flex:1;border:0;background:transparent;border-radius:8px;padding:10px 4px;color:#858692;font-size:10px;font-weight:700}.post-action:hover,.post-action.liked{background:#fff1f5;color:var(--brand)}.right-col{display:grid;gap:14px}.welcome{padding:18px;background:linear-gradient(145deg,#fff,#fff6f9)}.welcome-top{display:flex;justify-content:space-between;gap:8px}.welcome h3{font-size:17px;line-height:1.25;letter-spacing:-.4px;margin:10px 0 0}.welcome p{font-size:10px;line-height:1.7;color:var(--muted);margin:12px 0 15px}.welcome-icon{display:grid;place-items:center;width:37px;height:37px;border-radius:12px;background:#ffe5ed;color:var(--brand);font-size:22px}.side-card{padding:15px}.side-card-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.side-card-head h3{font-size:12px;margin:0}.person-row{display:flex;align-items:flex-start;gap:9px;margin-bottom:14px}.person-row .avatar{width:36px;height:36px;font-size:11px}.person-info{min-width:0;flex:1}.person-info b{display:block;font-size:10px}.person-info small{display:block;color:#999aa4;font-size:9px;margin-top:4px}.mini-btn{display:inline-flex;align-items:center;gap:4px;border:0;border-radius:7px;background:#fff0f4;color:var(--brand);padding:6px 8px;font-size:9px;font-weight:800;margin-top:7px}.trend{width:100%;display:block;text-align:left;border:0;border-bottom:1px solid #f1f1f5;background:transparent;padding:9px 0}.trend:last-child{border:0}.trend small,.trend b,.trend span{display:block}.trend small{font-size:8px;letter-spacing:.5px;color:#a0a1ab}.trend b{font-size:11px;margin:5px 0}.trend span{font-size:9px;color:#9a9ba5}.empty-state,.error-state,.loading-state{padding:42px 20px;text-align:center;border:1px dashed var(--line);border-radius:16px;background:var(--card);color:var(--muted);font-size:12px;line-height:1.7}.empty-icon{font-size:34px;color:#ff9bb5;margin-bottom:9px}.error-state{border-color:#ffd1d8;background:#fff8fa;color:#a34a60}.error-state button{margin-top:12px}.loading-state:before{content:"";display:block;width:24px;height:24px;border:3px solid #ffe0e8;border-top-color:var(--brand);border-radius:50%;animation:spin .7s linear infinite;margin:0 auto 12px}@keyframes spin{to{transform:rotate(360deg)}}.page-title{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin:0 0 20px}.page-title h1{font-size:25px;letter-spacing:-.8px;margin:0}.page-title p{font-size:11px;color:var(--muted);margin:7px 0 0}.page-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 16px}.pill-tab{border:1px solid var(--line);border-radius:10px;padding:9px 12px;background:white;color:#777985;font-size:10px;font-weight:750}.pill-tab.active{background:var(--brand-soft);border-color:#ffc6d5;color:var(--brand)}.list-stack{display:grid;gap:10px}.list-item{display:flex;align-items:center;gap:12px;padding:13px;background:var(--card);border:1px solid var(--line);border-radius:14px}.list-item .avatar{width:45px;height:45px}.list-info{flex:1;min-width:0}.list-info b{display:block;font-size:12px}.list-info small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.item-actions{display:flex;gap:6px;flex-wrap:wrap}.btn-sm{padding:8px 10px;font-size:10px}.chat-layout{display:grid;grid-template-columns:310px minmax(0,1fr);min-height:540px;border:1px solid var(--line);border-radius:17px;overflow:hidden;background:white}.chat-list{border-right:1px solid var(--line);min-width:0}.chat-list-head{padding:17px;border-bottom:1px solid var(--line)}.chat-list-head h2{font-size:18px;margin:0 0 12px}.chat-search{width:100%;border:1px solid var(--line);background:#f7f7fa;border-radius:9px;padding:10px;font-size:10px;outline:0}.chat-row{width:100%;display:flex;align-items:center;gap:10px;padding:13px;border:0;border-bottom:1px solid #f5f5f8;background:white;text-align:left}.chat-row.active,.chat-row:hover{background:#fff3f6}.chat-row .avatar{width:39px;height:39px}.chat-row-info{min-width:0;flex:1}.chat-row-info b,.chat-row-info small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-row-info b{font-size:11px}.chat-row-info small{font-size:9px;color:var(--muted);margin-top:5px}.chat-main{display:flex;flex-direction:column;min-width:0}.chat-main-head{display:flex;align-items:center;gap:10px;padding:13px 16px;border-bottom:1px solid var(--line)}.chat-main-head b{font-size:12px}.chat-main-head small{display:block;color:var(--muted);font-size:9px;margin-top:3px}.chat-messages{flex:1;min-height:340px;max-height:470px;overflow:auto;padding:18px;display:flex;flex-direction:column;gap:9px;background:#fbfbfd}.bubble{max-width:76%;align-self:flex-start;border-radius:14px 14px 14px 4px;padding:10px 12px;background:white;border:1px solid var(--line);font-size:11px;line-height:1.55;overflow-wrap:anywhere}.bubble.mine{align-self:flex-end;background:var(--brand);color:white;border-color:var(--brand);border-radius:14px 14px 4px 14px}.chat-compose{display:flex;gap:8px;padding:12px;border-top:1px solid var(--line)}.chat-compose input{flex:1;min-width:0;border:1px solid var(--line);border-radius:10px;padding:11px;font-size:11px;outline:0}.chat-compose button{border:0;background:var(--brand);color:white;border-radius:10px;padding:0 15px}.chat-placeholder{display:grid;place-items:center;flex:1;min-height:400px;text-align:center;color:var(--muted);padding:25px}.chat-placeholder span{font-size:38px;color:#ff9bb5}.profile-cover{height:205px;border-radius:17px;background:linear-gradient(120deg,#ffb7ca,#ff5f88 60%,#c74c78);position:relative;overflow:hidden}.profile-cover:after{content:"";position:absolute;width:340px;height:340px;border:1px solid #ffffff66;border-radius:50%;right:8%;top:-180px;box-shadow:0 0 0 30px #ffffff15,0 0 0 60px #ffffff10}.profile-info-card{position:relative;margin-top:-48px;padding:0 22px 20px;display:flex;align-items:flex-end;gap:16px}.profile-info-card .avatar{width:100px;height:100px;font-size:30px;border:5px solid white}.profile-details{padding-bottom:8px;flex:1}.profile-details h2{font-size:22px;margin:0}.profile-details p{font-size:11px;color:var(--muted);margin:6px 0}.profile-stats{display:flex;gap:18px;font-size:10px;color:var(--muted)}.profile-stats b{color:var(--ink)}.profile-actions{display:flex;gap:8px;padding-bottom:8px}.profile-bio{padding:0 22px 20px;font-size:11px;line-height:1.7;color:#646571}.settings-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:16px}.settings-nav{padding:8px}.settings-nav button{display:block;width:100%;text-align:left;padding:12px;border:0;background:transparent;border-radius:9px;font-size:11px;color:#70717d}.settings-nav button.active{background:var(--brand-soft);color:var(--brand);font-weight:800}.settings-content{padding:20px}.settings-content h2{font-size:17px;margin:0 0 6px}.settings-content>p{font-size:11px;color:var(--muted);margin:0 0 18px}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.field{display:grid;gap:7px;font-size:10px;font-weight:750;color:#5f606c}.field input,.field textarea,.field select,.form input,.form textarea,.form select{width:100%;border:1px solid #e5e6ed;border-radius:10px;padding:11px 12px;background:#fbfbfd;color:var(--ink);outline:0;font-size:11px}.field input:focus,.field textarea:focus,.form input:focus,.form textarea:focus{border-color:#ff9bb5;background:white}.form{display:grid;gap:13px}.form label{display:grid;gap:7px;font-size:10px;font-weight:750;color:#5f606c}.reel-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.reel-card{min-height:235px;display:flex;flex-direction:column;justify-content:flex-end;padding:13px;color:white;border-radius:15px;overflow:hidden;background:linear-gradient(160deg,#f6b9c9,#c25a82 55%,#382f53);position:relative}.reel-card:nth-child(3n){background:linear-gradient(160deg,#c1dfd4,#579386 55%,#243f50)}.reel-card:nth-child(3n+2){background:linear-gradient(160deg,#ffe0a9,#d88d62 55%,#653e54)}.reel-card b{font-size:11px;position:relative}.reel-card small{font-size:9px;opacity:.8;margin-top:6px;position:relative}.reel-card:before{content:"▷";position:absolute;top:40%;left:50%;transform:translate(-50%,-50%);font-size:38px;opacity:.85}.metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.metric{padding:18px;border:1px solid var(--line);border-radius:14px;background:white}.metric span{font-size:10px;color:var(--muted)}.metric b{display:block;font-size:23px;margin-top:8px}.notice{padding:12px 14px;background:#fff5f8;border:1px solid #ffe0e8;color:#96536a;border-radius:11px;font-size:10px;line-height:1.6;margin-bottom:14px}.search-results{display:grid;gap:10px}.notification-item{display:flex;gap:10px;padding:14px;border:1px solid var(--line);background:white;border-radius:12px}.notification-item .avatar{width:35px;height:35px}.notification-item b{font-size:11px}.notification-item p{font-size:10px;color:var(--muted);margin:4px 0}.notification-item small{font-size:9px;color:#aaa}.toast{position:fixed;z-index:100;left:50%;bottom:25px;transform:translate(-50%,15px);opacity:0;pointer-events:none;background:#24242d;color:white;border-radius:11px;padding:12px 16px;font-size:11px;box-shadow:0 12px 30px #0002;transition:.2s;max-width:90vw}.toast.show{opacity:1;transform:translate(-50%,0)}.dialog{width:min(440px,calc(100% - 28px));border:1px solid var(--line);border-radius:22px;padding:27px;box-shadow:0 25px 80px #17172835;color:var(--ink)}.dialog::backdrop{background:#20202c77;backdrop-filter:blur(4px)}.dialog-x{display:block;margin:-13px -12px 10px auto;border:0;background:#f4f4f7;border-radius:50%;width:30px;height:30px;font-size:22px;color:#777}.dialog-brand{display:flex;align-items:center;gap:8px;font-size:19px;font-weight:850;color:var(--brand)}.dialog-brand img{width:30px;height:30px;object-fit:contain}.dialog h2{font-size:24px;letter-spacing:-.7px;margin:17px 0 6px}.dialog>p{font-size:11px;color:var(--muted);margin:0 0 18px}.auth-switch{text-align:center!important;margin:17px 0 0!important}.auth-switch button{border:0;background:transparent;color:var(--brand);font-size:11px;font-weight:800}.fine-print{text-align:center;font-size:9px!important;color:#a0a1aa!important;line-height:1.5;margin:15px 0 0!important}.upload-control{padding:12px;border:1px dashed #ffc0d0;border-radius:10px;background:#fff8fa}.mobile-nav{position:fixed;z-index:40;inset:auto 0 0;background:#fff;border-top:1px solid var(--line);padding:7px 6px max(7px,env(safe-area-inset-bottom));justify-content:space-around}.mobile-nav button{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:49px;border:0;background:transparent;color:#898a95;font-size:9px}.mobile-nav button span{font-size:20px;line-height:1.1}.mobile-nav button.active{color:var(--brand)}.mobile-add{display:grid;place-items:center;width:26px;height:26px;border-radius:8px;background:var(--brand);color:white;font-size:22px!important}
body.dark{--ink:#f1f1f5;--muted:#a8a8b6;--line:#383846;--bg:#171720;--card:#242430;color-scheme:dark}body.dark .topbar{background:#22222df0}body.dark .profile-mini,body.dark .side-promo,body.dark .welcome,body.dark .notice{background:#32252d;border-color:#49313b}body.dark .nav-link{color:#c7c7d0}body.dark .nav-link.active{background:#492632;color:#ff7297}body.dark .search,body.dark .composer-input,body.dark .chat-search,body.dark .chat-compose input,body.dark .field input,body.dark .field textarea,body.dark .field select,body.dark .form input,body.dark .form textarea,body.dark .form select{background:#2c2c39;color:var(--ink);border-color:#414151}body.dark .card,body.dark .list-item,body.dark .chat-layout,body.dark .chat-row,body.dark .metric,body.dark .notification-item{background:var(--card);color:var(--ink)}body.dark .chat-messages{background:#1d1d27}body.dark .bubble{background:#30303e;border-color:#454554;color:var(--ink)}body.dark .bubble.mine{background:var(--brand);color:white}body.dark .dialog{background:#242430;color:var(--ink)}body.dark .mobile-nav{background:#242430}body.dark .post-text{color:#d4d4dc}
@media(max-width:1180px){.sidebar{width:218px}.main{margin-left:218px}.grid-layout{grid-template-columns:minmax(0,1fr) 250px;gap:16px}.hero-copy{padding:25px}.hero h1{font-size:32px}.reel-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:940px){.sidebar{width:72px;padding:22px 9px}.sidebar .brand{justify-content:center;padding:0}.sidebar .brand span,.profile-mini,.side-promo,.side-legal,.nav-link:not(.active) .nav-count{display:none}.nav-list{margin-top:28px}.nav-link{font-size:0;justify-content:center;padding:14px 4px}.ico{font-size:22px}.nav-count{font-size:9px!important}.main{margin-left:72px}.grid-layout{grid-template-columns:minmax(0,1fr)}.right-col{grid-template-columns:repeat(2,minmax(0,1fr))}.welcome{grid-column:1/-1}.hero{min-height:240px}}
@media(max-width:640px){body{padding-bottom:67px}.sidebar{display:none}.main{margin-left:0}.topbar{height:62px;padding:0 12px;gap:8px}.mobile-menu{display:grid;width:32px;height:32px;border:0;background:#fff0f4;color:var(--brand);border-radius:9px}.mobile-brand{display:flex;font-size:19px;padding:0;gap:6px}.mobile-brand img{width:27px;height:27px}.search{flex:1;width:auto;height:36px;padding:0 8px;gap:5px}.search>span{font-size:21px}.search input{font-size:10px}.search kbd{display:none}.top-right{gap:2px}.top-right>.icon-btn{width:30px;height:30px;border:0;background:transparent}.top-right>.btn-quiet{display:none}.top-right>.btn-primary{display:none}.user-menu-button{padding:3px;border:0}.user-menu-button #topUserName,.user-menu-button>span:last-child{display:none}.page-content{padding:14px 11px 24px}.hero{min-height:220px;border-radius:17px}.hero-copy{width:70%;padding:20px 16px}.hero h1{font-size:27px;letter-spacing:-1px}.hero p{font-size:10px;max-width:220px}.hero-art{left:51%;opacity:.9}.hero-sun{width:88px;height:88px;right:0;top:26px}.hero-orbit{width:210px;height:110px;right:-45px;top:32px}.hero-note{right:0;top:85px;padding:6px;gap:5px}.hero-note b{font-size:7px}.hero-note small{font-size:6px}.hero-note .avatar{width:20px;height:20px}.hero-bubble.one{width:29px;height:29px;right:7%;top:17px}.hero-bubble.two{width:23px;height:23px;right:0;top:142px}.hero-hill{width:230px;height:120px;right:-60px}.hero-hill.two{width:200px;height:95px;right:40px}.section-head{margin:18px 1px 10px}.section-head h2{font-size:15px}.stories{grid-template-columns:repeat(5,minmax(64px,1fr));gap:6px;overflow-x:auto;scrollbar-width:none}.stories::-webkit-scrollbar{display:none}.story{height:117px;border-radius:12px;padding-bottom:8px}.story b{font-size:9px}.story small{font-size:8px}.story-ring{width:40px;height:40px}.story-plus{width:33px;height:33px}.composer{margin-top:14px;padding:11px;gap:8px}.composer .avatar{width:36px;height:36px}.composer-input{padding:11px;font-size:10px}.composer-tools{gap:2px}.composer-tools button{font-size:9px;padding:7px 2px}.feed-tabs{gap:9px;margin-top:17px}.feed-tab{font-size:10px;padding-inline:5px}.post-card{padding:12px 11px 6px}.post-head .avatar{width:36px;height:36px}.post-author b{font-size:10px}.post-author small{font-size:8px}.post-text{font-size:10px}.post-media{max-height:340px}.post-metrics{font-size:8px}.post-action{font-size:9px;padding:9px 2px}.right-col{grid-template-columns:1fr}.welcome{display:none}.page-title h1{font-size:22px}.page-title p{font-size:10px}.list-item{padding:10px;gap:8px;align-items:flex-start}.list-item .avatar{width:37px;height:37px}.list-info b{font-size:10px}.list-info small{font-size:9px}.item-actions{justify-content:flex-end}.btn-sm{padding:7px;font-size:9px}.chat-layout{grid-template-columns:1fr;min-height:520px}.chat-list{border-right:0;border-bottom:1px solid var(--line)}.chat-list:not(.show-list){display:none}.chat-main{min-height:450px}.chat-messages{min-height:300px;max-height:400px}.chat-placeholder{min-height:270px}.settings-layout{grid-template-columns:1fr}.settings-nav{display:flex;overflow:auto;gap:5px}.settings-nav button{white-space:nowrap;width:auto}.settings-content{padding:14px}.field-grid{grid-template-columns:1fr}.profile-cover{height:150px}.profile-info-card{padding:0 12px 15px;gap:10px;flex-wrap:wrap}.profile-info-card .avatar{width:76px;height:76px}.profile-details h2{font-size:18px}.profile-actions{width:100%;padding:0}.profile-bio{padding:0 13px 16px}.reel-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.reel-card{min-height:200px}.metric-grid{grid-template-columns:1fr}.site-footer{display:block;padding:0 12px 15px;font-size:9px}.site-footer div{margin-top:8px;flex-wrap:wrap}.mobile-nav{display:flex}.dialog{padding:22px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* Account security controls added in website build v3 */
.settings-content .setting-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid var(--border,#eee)}
.settings-content .setting-row:last-child{border-bottom:0}
.settings-content .setting-row .setting-copy{min-width:0;flex:1}
.settings-content .setting-row .setting-copy b{display:block;font-size:13px}
.settings-content .setting-row .setting-copy small{display:block;margin-top:4px;color:var(--muted,#777);line-height:1.5}
.settings-content select,.settings-content input{max-width:100%}
.settings-content .danger-zone{border:1px solid #f2b5bf;border-radius:14px;padding:16px;margin-top:18px}
.settings-content .danger-zone h3{color:#c51d42;margin:0 0 8px}
.settings-content .code-panel{overflow-wrap:anywhere;background:var(--surface-soft,#f8f8fa);padding:12px;border-radius:10px;margin:10px 0}

.bubble-wrap{max-width:88%;align-self:flex-start;display:flex;flex-direction:column;gap:3px}.bubble-wrap.mine{align-self:flex-end}.message-actions{display:flex;gap:8px;justify-content:flex-end;padding:0 4px}.message-actions .link-btn{font-size:11px;padding:2px 4px}.chat-messages{display:flex;flex-direction:column}

/* Realtime calls: the app's existing visual language is preserved. */
.call-dialog{width:min(620px,calc(100% - 24px));max-width:620px}.call-heading{display:grid;gap:6px;margin-bottom:14px}.call-heading span{font-size:10px;text-transform:uppercase;letter-spacing:1.3px;color:var(--brand);font-weight:800}.call-heading b{font-size:20px}.call-video-stage{height:min(54vh,360px);min-height:220px;position:relative;overflow:hidden;background:#171720;border-radius:16px;display:grid;place-items:center}.call-video-stage #remoteVideo{width:100%;height:100%;object-fit:contain}.call-video-stage #localVideo{position:absolute;right:12px;bottom:12px;width:25%;max-width:130px;aspect-ratio:3/4;object-fit:cover;border:2px solid #fff;border-radius:12px;background:#333}.call-audio-avatar{position:absolute;width:90px;height:90px;display:grid;place-items:center;border-radius:50%;background:#f82860;color:white;font-size:34px;box-shadow:0 0 0 12px #f8286030}.call-controls{display:flex;justify-content:center;flex-wrap:wrap;gap:9px;margin-top:15px}.call-controls .btn{min-width:100px}.call-dialog #callEndBtn{background:#d92d50;border-color:#d92d50}.call-dialog #callStatusText{text-align:center;margin:12px 0 0}.chat-main-head .link-btn{white-space:nowrap}.hidden{display:none!important}

/* V8: story/reel media viewer */
.media-dialog{width:min(760px,calc(100% - 24px));max-width:760px;max-height:90vh;overflow:auto;padding:22px}.media-viewer-head{display:flex;align-items:center;gap:10px;margin:0 0 14px}.media-viewer-head .avatar{width:38px;height:38px;flex:none}.media-viewer-head>div:nth-child(2){display:grid;gap:4px;flex:1;min-width:0}.media-viewer-head b{font-size:12px}.media-viewer-head small{font-size:10px;color:var(--muted)}.story-media-stage{display:grid;place-items:center;min-height:180px;max-height:68vh;background:#171720;border-radius:14px;overflow:hidden}.story-media-stage img,.story-media-stage video{display:block;max-width:100%;max-height:68vh}.media-caption{font-size:12px;line-height:1.6;margin:12px 2px 0;white-space:pre-wrap;overflow-wrap:anywhere}.reel-comments-list{max-height:55vh;overflow:auto}.media-dialog .page-title{margin:0 0 12px}.media-dialog .page-title h1{font-size:20px}.media-dialog .list-item{margin:8px 0}.media-dialog .list-info small{white-space:normal;line-height:1.5}
@media(max-width:640px){.media-dialog{padding:17px}.media-viewer-head{gap:7px}.story-media-stage{min-height:140px}.media-viewer-head .btn{padding:8px;font-size:10px}}

/* V10: interactive public-profile links */
.profile-name-link{display:inline;border:0;background:transparent;padding:0;color:inherit;font:inherit;font-weight:750;text-align:left;cursor:pointer}
.profile-name-link:hover{color:var(--pink,#F82860);text-decoration:underline}
.post-author-link{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;border:0;background:transparent;padding:0;cursor:pointer;border-radius:50%}
.post-author-link:focus-visible,.profile-name-link:focus-visible{outline:2px solid var(--pink,#F82860);outline-offset:3px;border-radius:5px}
.public-profile-actions{display:flex;gap:8px;flex-wrap:wrap}
