@import url('/assets/css/music-library.css?v=9');
:root{--primary:#8849FE;--primary-dark:#7233E8;--primary-light:rgba(136,73,254,.11);--bg:#e5e7eb;--surface:#fff;--soft:#f3f4f6;--soft2:#f9fafb;--line:#e5e7eb;--text:#111827;--muted:#6b7280;--dim:#9ca3af;--green:#10b981;--red:#ef4444;--shadow:0 8px 30px rgba(17,24,39,.08);--radius:16px}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:ReeUI,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;color:var(--text);background:var(--bg)}body{font-size:14px}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer}img{display:block}.hidden{display:none!important}.muted{color:var(--muted)}.dim{color:var(--dim)}
.topbar{position:sticky;top:0;z-index:70;height:64px;background:rgba(255,255,255,.94);border-bottom:1px solid var(--line);backdrop-filter:saturate(180%) blur(18px)}.topbar-in{max-width:1180px;height:100%;margin:auto;padding:0 18px;display:flex;align-items:center;gap:24px}.brand{display:flex;align-items:center;gap:10px;font-size:20px;font-weight:800;letter-spacing:-.4px}.brand-mark{width:34px;height:34px;border-radius:11px;background:linear-gradient(145deg,#9d72ff,#7132e5);display:grid;place-items:center;box-shadow:0 6px 18px rgba(136,73,254,.3);color:#fff}.brand-mark svg{width:21px;height:21px}.global-search{position:relative;width:320px}.global-search input{width:100%;height:40px;border:0;outline:0;border-radius:12px;background:#eef0f3;padding:0 42px;color:var(--text)}.global-search svg{position:absolute;left:14px;top:12px;width:17px;height:17px;color:var(--muted)}.top-actions{margin-left:auto;display:flex;align-items:center;gap:8px}.icon-btn{position:relative;width:40px;height:40px;border:0;border-radius:12px;background:transparent;color:#677183;display:grid;place-items:center}.icon-btn:hover,.icon-btn.active{background:var(--primary-light);color:var(--primary)}.icon-btn svg{width:21px;height:21px}.badge{position:absolute;right:3px;top:2px;min-width:17px;height:17px;padding:0 4px;border:2px solid #fff;border-radius:9px;background:var(--red);color:#fff;font-size:9px;font-weight:800;display:grid;place-items:center}.head-avatar{width:34px;height:34px;border-radius:50%;object-fit:cover;background:#ddd}
.app-layout{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:210px minmax(0,620px) 300px;gap:18px;padding:18px}.left-nav{position:sticky;top:82px;height:calc(100vh - 100px);align-self:start}.nav-user{display:flex;align-items:center;gap:11px;padding:8px 10px 16px}.nav-user img{width:42px;height:42px;border-radius:50%;object-fit:cover}.nav-user b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:135px}.nav-user span{font-size:11px;color:var(--muted)}.nav-list{display:grid;gap:3px}.nav-link{display:flex;align-items:center;gap:12px;height:43px;padding:0 13px;border-radius:12px;color:#394154;font-weight:600}.nav-link svg{width:20px;height:20px;color:#657185;stroke-width:1.8}.nav-link:hover,.nav-link.active{background:var(--surface);color:var(--primary)}.nav-link.active svg{color:var(--primary)}.nav-sep{height:1px;background:rgba(107,114,128,.18);margin:9px 12px}.sidebar-foot{padding:18px 13px;color:#8a93a3;font-size:11px;line-height:1.8}
.main-column{min-width:0}.right-column{min-width:0}.card{height:auto!important;min-height:0;background:var(--surface);border:1px solid rgba(210,214,221,.85);border-radius:var(--radius);box-shadow:0 1px 2px rgba(17,24,39,.03);overflow:hidden}.card+.card{margin-top:14px}.card-head{min-height:54px;padding:14px 17px;display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line)}.card-head h1,.card-head h2,.card-head h3{margin:0;font-size:16px;line-height:1.25}.card-head .grow{flex:1}.card-body{padding:17px}.section-title{margin:0 0 13px;font-size:14px}.empty{min-height:260px;display:grid;place-items:center;text-align:center;padding:35px;color:var(--muted)}.empty svg{width:56px;height:56px;color:#c2c8d1;margin:0 auto 13px}.empty b{display:block;color:#555e6c;margin-bottom:5px}.pill{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:0 12px;border-radius:10px;background:var(--soft);font-size:12px;font-weight:650}.btn{border:0;min-height:38px;border-radius:11px;padding:0 16px;background:var(--soft);color:#374151;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:8px}.btn svg{width:17px;height:17px}.btn-primary{background:var(--primary);color:#fff;box-shadow:0 5px 15px rgba(136,73,254,.22)}.btn-primary:hover{background:var(--primary-dark)}.btn-danger{color:var(--red);background:rgba(239,68,68,.08)}.btn-ghost{background:transparent}.btn-sm{min-height:32px;padding:0 12px;font-size:12px}.field{display:grid;gap:7px;margin-bottom:14px}.field label{font-size:12px;font-weight:700;color:#4b5563}.field input,.field textarea,.field select{width:100%;border:1px solid #dce0e6;border-radius:11px;background:#fff;outline:0;padding:11px 13px;color:var(--text)}.field textarea{min-height:90px;resize:vertical}.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-light)}
.stories{display:flex;gap:10px;overflow:auto;padding:0 0 14px;scrollbar-width:none}.story{position:relative;flex:0 0 104px;height:154px;border-radius:16px;overflow:hidden;background:#252530;color:#fff}.story>img{width:100%;height:100%;object-fit:cover}.story:after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.78))}.story-meta{position:absolute;z-index:2;left:9px;right:9px;bottom:9px;font-size:11px;font-weight:750}.story-avatar{position:absolute;z-index:2;left:9px;top:9px;width:35px;height:35px;border:2px solid var(--primary);border-radius:50%;object-fit:cover}.story-add{display:grid;place-items:center;background:linear-gradient(145deg,#9c6dff,#6d31dc)}.story-add svg{position:relative;z-index:2;width:30px}.composer{padding:15px}.composer-top{display:flex;gap:11px}.composer img{width:42px;height:42px;border-radius:50%;object-fit:cover}.composer textarea{flex:1;border:0;background:var(--soft);border-radius:14px;min-height:44px;resize:none;outline:0;padding:12px 14px}.composer-actions{display:flex;align-items:center;justify-content:space-between;margin-top:11px}.upload-label{display:inline-flex;align-items:center;gap:7px;color:var(--muted);font-weight:650;cursor:pointer}.upload-label svg{width:18px}.upload-label input{display:none}.post{padding:0}.post-head{display:flex;align-items:center;gap:11px;padding:14px 16px}.post-head img{width:43px;height:43px;border-radius:50%;object-fit:cover}.post-author{min-width:0;flex:1}.post-author b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.post-author span{color:var(--muted);font-size:11px}.post-body{padding:0 16px 14px;font-size:14px;line-height:1.55;white-space:pre-wrap}.post-media{width:100%;max-height:650px;object-fit:cover;background:#eef0f3}.post-actions{display:flex;align-items:center;gap:7px;padding:10px 12px;border-top:1px solid var(--line)}.react{border:0;background:transparent;border-radius:10px;min-height:34px;padding:0 9px;color:#697386;display:flex;align-items:center;gap:6px;font-weight:650}.react:hover{background:var(--soft)}.react.active{color:#ef3f72}.react svg{width:20px;height:20px}.comments{border-top:1px solid var(--line);padding:11px 16px}.comment{display:flex;gap:9px;margin:10px 0}.comment img{width:30px;height:30px;border-radius:50%;object-fit:cover}.comment-bubble{background:var(--soft);border-radius:12px;padding:8px 11px;line-height:1.4}.comment-bubble b{font-size:12px}.comment-form{display:flex;gap:8px}.comment-form input{flex:1;border:0;background:var(--soft);border-radius:11px;padding:9px 12px;outline:0}
.profile-cover{height:190px;background:linear-gradient(135deg,#8f62ee,#53308d);background-size:cover;background-position:center}.profile-main{position:relative;padding:0 19px 18px}.profile-avatar{width:118px;height:118px;border:4px solid #fff;border-radius:50%;object-fit:cover;background:#ddd;margin-top:-58px}.profile-actions{position:absolute;right:18px;top:14px;display:flex;gap:8px}.profile-name{font-size:23px;margin:11px 0 3px}.profile-id{font-size:12px;color:var(--muted)}.profile-bio{margin:12px 0 0;line-height:1.5}.profile-stats{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);margin-top:17px;padding-top:14px}.stat{text-align:center}.stat b{display:block;font-size:17px}.stat span{font-size:11px;color:var(--muted)}.tabs{display:flex;gap:4px;overflow:auto;padding:10px;border-bottom:1px solid var(--line)}.tab{border:0;background:transparent;border-radius:10px;padding:9px 13px;color:var(--muted);font-weight:700;white-space:nowrap}.tab.active{background:var(--primary-light);color:var(--primary)}.photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:3px}.photo-grid img{width:100%;aspect-ratio:1;object-fit:cover}
.people-search{display:flex;align-items:center;gap:9px;margin:14px 16px 4px;padding:6px 7px 6px 12px;border:1px solid var(--line);border-radius:13px;background:var(--soft)}.people-search svg{width:18px;color:var(--muted)}.people-search input{flex:1;min-width:0;border:0;outline:0;background:transparent}.people-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.person{display:flex;align-items:center;gap:11px;padding:13px;border:1px solid var(--line);border-radius:14px}.person img{width:52px;height:52px;border-radius:50%;object-fit:cover}.person-main{min-width:0;flex:1}.person b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.person span{font-size:11px;color:var(--muted)}.person .btn{margin-top:7px}.avatar-stack{display:flex}.avatar-stack img{width:30px;height:30px;border-radius:50%;border:2px solid #fff;object-fit:cover;margin-left:-8px}.avatar-stack img:first-child{margin-left:0}
.messages-shell{height:calc(100vh - 102px);display:grid;grid-template-columns:280px minmax(0,1fr)}.dialogs{border-right:1px solid var(--line);overflow:hidden;display:flex;flex-direction:column}.dialog-search{padding:12px;border-bottom:1px solid var(--line)}.dialog-list{overflow:auto}.dialog-row{display:flex;gap:10px;padding:11px 12px;border:0;background:transparent;width:100%;text-align:left}.dialog-row:hover,.dialog-row.active{background:var(--primary-light)}.dialog-row img{width:48px;height:48px;border-radius:50%;object-fit:cover}.dialog-main{min-width:0;flex:1}.dialog-main b,.dialog-main span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dialog-main span{font-size:11px;color:var(--muted);margin-top:4px}.thread{display:flex;flex-direction:column;min-width:0}.thread-head{height:62px;padding:10px 14px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:10px}.thread-head img{width:40px;height:40px;border-radius:50%;object-fit:cover}.thread-messages{flex:1;overflow:auto;padding:18px;display:flex;flex-direction:column;gap:7px;background:#f7f7fa}.bubble{align-self:flex-start;max-width:75%;padding:10px 13px;border-radius:16px 16px 16px 5px;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.05);line-height:1.45}.bubble.mine{align-self:flex-end;background:var(--primary);color:#fff;border-radius:16px 16px 5px 16px}.bubble time{display:block;text-align:right;font-size:9px;opacity:.65;margin-top:4px}.thread-compose{display:flex;gap:8px;padding:11px;border-top:1px solid var(--line)}.thread-compose input{flex:1;border:0;background:var(--soft);border-radius:13px;padding:11px 13px;outline:0}.thread-empty{height:100%;display:grid;place-items:center;text-align:center;color:var(--muted)}
.notif-row{display:flex;gap:12px;padding:14px 16px;border-bottom:1px solid var(--line)}.notif-row.unread{background:var(--primary-light)}.notif-row img{width:44px;height:44px;border-radius:50%;object-fit:cover}.notif-icon{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:var(--primary-light);color:var(--primary)}.notif-main{min-width:0;flex:1;line-height:1.45}.notif-main time{display:block;color:var(--muted);font-size:11px;margin-top:4px}.filters{display:flex;gap:7px;overflow:auto;padding:12px 16px;border-bottom:1px solid var(--line)}.filter{border:1px solid var(--line);background:#fff;border-radius:999px;padding:7px 12px;white-space:nowrap;color:var(--muted)}.filter.active{color:#fff;background:var(--primary);border-color:var(--primary)}
.room-grid,.group-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.room,.group{border:1px solid var(--line);border-radius:14px;overflow:hidden}.room-cover,.group-cover{height:105px;background:linear-gradient(135deg,#9568ee,#392a61);background-size:cover;background-position:center}.room-info,.group-info{padding:13px}.live-dot{display:inline-flex;align-items:center;gap:5px;color:var(--red);font-size:10px;font-weight:800}.live-dot:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--red);box-shadow:0 0 0 4px rgba(239,68,68,.12);animation:pulse 1.5s infinite}@keyframes pulse{50%{box-shadow:0 0 0 8px rgba(239,68,68,0)}}
.track{display:flex;align-items:center;gap:11px;padding:9px 4px;border-bottom:1px solid #f0f1f3}.track-cover{width:43px;height:43px;border-radius:9px;object-fit:cover;background:linear-gradient(135deg,#9f73ff,#6b32d7)}.track-main{min-width:0;flex:1}.track-main b,.track-main span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.track-main span{font-size:11px;color:var(--muted)}.play{width:34px;height:34px;border:0;border-radius:50%;background:var(--primary-light);color:var(--primary);display:grid;place-items:center}.play svg{width:17px;height:17px}.settings-grid{display:grid;grid-template-columns:1fr 230px;gap:14px}.setting-row{display:flex;align-items:center;gap:14px;padding:15px 0;border-bottom:1px solid var(--line)}.setting-row>div{flex:1}.switch{width:44px;height:25px;border:0;border-radius:15px;background:#ccd1d9;padding:3px}.switch:after{content:"";display:block;width:19px;height:19px;border-radius:50%;background:#fff;transition:.2s}.switch.on{background:var(--primary)}.switch.on:after{transform:translateX(19px)}.premium-hero{padding:32px;text-align:center;background:radial-gradient(circle at top,#a67dff,#7540e4 55%,#5324af);color:#fff}.premium-hero svg{width:60px;height:60px}.plans{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:16px}.plan{position:relative;border:1px solid var(--line);border-radius:14px;padding:17px;text-align:center}.plan.best{border-color:var(--primary);box-shadow:0 0 0 2px var(--primary-light)}.plan-tag{position:absolute;top:-10px;left:50%;transform:translateX(-50%);background:var(--primary);color:#fff;border-radius:12px;padding:4px 9px;font-size:10px}.plan-price{font-size:24px;font-weight:850;margin:14px 0 4px}.game-card{padding:25px;background:linear-gradient(135deg,#311463,#7f3cec);color:#fff;text-align:center}.game-bottle{width:120px;height:120px;margin:auto;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.13);animation:float 3s ease-in-out infinite}.game-bottle svg{width:70px;height:70px}@keyframes float{50%{transform:translateY(-7px) rotate(4deg)}}
.right-card{padding:15px}.right-title{font-size:13px;font-weight:800;margin-bottom:13px}.suggestion{display:flex;align-items:center;gap:9px;margin:11px 0}.suggestion img{width:38px;height:38px;border-radius:50%;object-fit:cover}.suggestion div{min-width:0;flex:1}.suggestion b{font-size:12px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.suggestion span{font-size:10px;color:var(--muted)}
.mobile-head,.bottom-nav{display:none}.drawer{display:none}.modal{position:fixed;inset:0;z-index:100;background:rgba(17,24,39,.55);display:none;align-items:center;justify-content:center;padding:20px}.modal.open{display:flex}.modal-card{width:min(520px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:18px;box-shadow:var(--shadow)}.modal-head{display:flex;align-items:center;padding:15px 17px;border-bottom:1px solid var(--line)}.modal-head h3{margin:0;flex:1}.toast{position:fixed;z-index:200;left:50%;bottom:24px;transform:translate(-50%,15px);opacity:0;pointer-events:none;background:#202633;color:#fff;padding:11px 15px;border-radius:12px;transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}.skeleton{background:linear-gradient(90deg,#eee,#f7f7f7,#eee);background-size:200% 100%;animation:shimmer 1.2s infinite}@keyframes shimmer{to{background-position:-200% 0}}
.auth-page{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(380px,.75fr);background:#0f1020}.auth-visual{position:relative;overflow:hidden;display:flex;align-items:flex-end;padding:55px;background:linear-gradient(150deg,rgba(57,27,112,.45),rgba(8,8,20,.84)),url('/assets/images/hero/hero_27.webp') center/cover}.auth-visual:before{content:"";position:absolute;width:420px;height:420px;border-radius:50%;top:-130px;right:-120px;background:rgba(136,73,254,.28);filter:blur(10px)}.auth-copy{position:relative;color:#fff;max-width:650px}.auth-copy h1{font-size:44px;line-height:1.08;margin:0 0 16px}.auth-copy p{font-size:17px;line-height:1.6;color:rgba(255,255,255,.72)}.auth-panel{display:grid;place-items:center;padding:35px;background:#fff}.auth-box{width:min(390px,100%)}.auth-box .brand{margin-bottom:34px}.auth-box h2{font-size:28px;margin:0 0 8px}.auth-box>p{color:var(--muted);margin:0 0 25px}.auth-error{padding:11px 13px;border-radius:11px;background:rgba(239,68,68,.09);color:#c72d2d;margin-bottom:14px}.auth-divider{display:flex;align-items:center;gap:12px;margin:18px 0;color:#8a92a0;font-size:12px}.auth-divider:before,.auth-divider:after{content:"";height:1px;flex:1;background:#e6e9ee}.telegram-login{min-height:44px;display:flex;flex-direction:column;align-items:stretch;gap:8px}.telegram-login-button{height:44px;border:0;border-radius:10px;background:#229ed9;color:#fff;font:700 14px/1 inherit;display:flex;align-items:center;justify-content:center;gap:9px;cursor:pointer;transition:background .16s,transform .16s}.telegram-login-button:hover{background:#188fc9}.telegram-login-button:active{transform:translateY(1px)}.telegram-login-button:disabled{opacity:.65;cursor:wait}.telegram-login-button svg{width:20px;height:20px;fill:currentColor}.telegram-login small{text-align:center;color:#667085;font-size:12px;line-height:1.35}.telegram-login small.error{color:#c72d2d}.auth-alt{text-align:center;color:var(--muted);font-size:13px;margin-top:20px}.auth-alt a{color:var(--primary);font-weight:700}
@media(max-width:1050px){.app-layout{grid-template-columns:190px minmax(0,1fr);max-width:900px}.right-column{display:none}}
@media(max-width:760px){body{background:#fff;padding-bottom:64px}.topbar,.left-nav,.right-column{display:none}.mobile-head{position:sticky;top:0;z-index:65;height:58px;padding:0 13px;display:flex;align-items:center;gap:10px;background:rgba(255,255,255,.97);border-bottom:1px solid var(--line);backdrop-filter:none}.mobile-head .brand{font-size:18px}.mobile-head .top-actions{gap:2px}.app-layout{display:block!important;padding:0!important;max-width:none!important}.main-column{width:100%!important}.main-column .card{height:auto!important;min-height:0!important;padding:0!important;margin-left:0!important;margin-right:0!important;border-radius:0!important;border-left:0!important;border-right:0!important;box-shadow:none!important}.main-column .card+.card{margin-top:8px!important}.stories{padding:12px}.story{flex-basis:92px;height:140px}.bottom-nav{position:fixed!important;z-index:80!important;left:0!important;right:0!important;bottom:0!important;width:100%!important;height:64px!important;padding-bottom:env(safe-area-inset-bottom)!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;background:#fff!important;border-top:1px solid var(--line)!important;transform:none!important}.bottom-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#788292;font-size:9px;font-weight:650}.bottom-nav a svg{width:21px;height:21px}.bottom-nav a.active{color:var(--primary)}.people-grid,.room-grid,.group-grid{grid-template-columns:1fr}.messages-shell{height:calc(100vh - 122px)!important;grid-template-columns:1fr}.dialogs{border:0}.thread{position:fixed;z-index:75;inset:58px 0 64px;background:#fff;transform:translateX(100%);transition:transform .22s}.thread.open{transform:none}.thread-mobile-back{display:grid!important}.settings-grid{grid-template-columns:1fr}.plans{grid-template-columns:1fr}.profile-cover{height:150px!important;min-height:150px!important;padding:0!important}.profile-main{height:auto!important;min-height:200px!important;padding:0 18px 18px!important}.profile-avatar{width:96px;height:96px;margin-top:-48px}.profile-actions{top:10px}.profile-name{font-size:20px}.tabs{height:auto!important;padding:10px!important}.modal{padding:0;align-items:stretch}.modal-card{width:100%;max-height:none;border-radius:0}.auth-page{display:block;background:#fff}.auth-visual{display:none}.auth-panel{min-height:100vh;padding:24px}.photo-grid{grid-template-columns:repeat(3,1fr)}}

/* Main feed mirrors the licensed ReeUp layout. */
body[data-route="feed"]{background:#f4f5f7;color:#20232b}body[data-route="feed"] .topbar{height:58px;border:0;background:#fff;box-shadow:0 2px 14px rgba(20,26,38,.04)}body[data-route="feed"] .topbar-in{max-width:1270px;padding:0 14px}body[data-route="feed"] .global-search{display:none}body[data-route="feed"] .brand{font-size:23px;font-weight:850;color:#654bc3}body[data-route="feed"] .brand-mark{width:30px;height:30px;border-radius:9px;background:linear-gradient(140deg,#38c9f0,#8852f5 63%,#ff54af);box-shadow:none}body[data-route="feed"] .top-actions{gap:2px}body[data-route="feed"] .icon-btn{width:36px;height:36px;border-radius:50%;color:#707784}body[data-route="feed"] .head-avatar{width:34px;height:34px}body[data-route="feed"] .app-layout{max-width:1270px;grid-template-columns:280px minmax(0,660px) 280px;gap:14px;padding:14px}body[data-route="feed"] .left-nav{top:72px;height:auto;background:#fff;border-radius:16px;padding:16px;box-shadow:0 5px 18px rgba(31,41,55,.09)}body[data-route="feed"] .nav-user{background:#f4f5f7;border-radius:13px;padding:12px;margin-bottom:10px}body[data-route="feed"] .nav-user img{width:48px;height:48px}body[data-route="feed"] .nav-link{height:45px;border-radius:10px;padding:0 12px;font-size:14px;color:#222733}body[data-route="feed"] .nav-link svg{color:#252b37}body[data-route="feed"] .nav-link.active{background:#f0e5ff;color:#9851eb}body[data-route="feed"] .nav-link.active svg{color:#9851eb}.vip-card{position:relative;display:block;min-height:81px;margin-top:16px;padding:15px 72px 13px 14px;border-radius:13px;overflow:hidden;background:linear-gradient(120deg,#8f38f5,#d448e8 56%,#ff77bb);color:#fff;box-shadow:0 7px 18px rgba(148,61,236,.25)}.vip-card:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 75% 25%,rgba(255,255,255,.5),transparent 28%)}.vip-card b,.vip-card span{position:relative;display:block}.vip-card b{font-size:15px}.vip-card span{font-size:9px;line-height:1.25;margin-top:3px}.vip-card i{position:absolute;right:17px;top:21px;width:45px;height:45px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 35% 30%,#fff48c,#ffb000 55%,#dd6b00);border:4px solid rgba(255,255,255,.55);font-weight:900;font-size:11px}.home-page{display:block}.home-stories{display:flex;gap:17px;padding:14px 18px!important;min-height:112px;overflow-x:auto;scrollbar-width:none}.home-story{flex:0 0 64px;text-align:center;color:#292d35}.home-story-ring{position:relative;width:58px;height:58px;margin:auto;display:block;padding:3px;border-radius:50%;background:linear-gradient(145deg,#ffb000,#ff54b5,#6d31e8)}.home-story-ring>img{width:100%;height:100%;border-radius:50%;object-fit:cover;border:2px solid #fff}.home-story b{display:block;margin-top:5px;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.home-story-add .home-story-ring{background:#eceef2;padding:0}.home-story-add i{position:absolute;right:-1px;bottom:-1px;width:21px;height:21px;border:2px solid #fff;border-radius:50%;display:grid;place-items:center;background:#a33ce8;color:#fff}.home-story-add i svg{width:13px}.home-people{margin-top:8px}.home-people header{height:34px;display:flex;align-items:center;justify-content:space-between;color:#7a818f;font-size:12px}.home-people header>span{display:flex;align-items:center;gap:6px}.home-people header svg{width:16px}.home-people header>div{display:flex;align-items:center;gap:4px}.home-arrow,.home-people header a{height:28px;border:0;border-radius:9px;background:#eceef1;color:#777f8e;display:flex;align-items:center;gap:1px;padding:0 9px;font-size:11px}.home-arrow{width:28px;padding:0;justify-content:center}.home-people-row{display:flex;gap:8px;overflow:hidden}.home-person{flex:0 0 132px;min-width:0;padding:11px 9px 10px;border:1px solid #e7e8ec;border-radius:13px;background:#fff;box-shadow:0 2px 7px rgba(31,41,55,.05);text-align:center}.home-person>a{display:block}.home-person img{width:64px;height:64px;border-radius:19px;object-fit:cover}.home-person b{display:block;margin-top:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}.home-person span{display:block;height:17px;color:#969ca7;font-size:10px}.home-person button,.home-follow{border:0;border-radius:9px;background:linear-gradient(135deg,#a34df4,#7b2fe8);color:#fff;font-weight:800}.home-person button{width:100%;height:28px;font-size:10px}.home-seen{position:relative;margin:18px 0 15px;padding:12px 10px 5px;text-align:center}.home-seen:before,.home-seen:after{content:"";position:absolute;top:35px;width:39%;height:1px;background:#dfe1e5}.home-seen:before{left:0}.home-seen:after{right:0}.home-seen>div{width:54px;height:54px;margin:auto;border:3px solid transparent;border-radius:50%;background:linear-gradient(#f4f5f7,#f4f5f7) padding-box,linear-gradient(145deg,#a448f2,#ef4eb2) border-box;display:grid;place-items:center;color:#c744e6}.home-seen>div svg{width:30px}.home-seen h2{margin:12px 0 3px;font-size:16px}.home-seen p{margin:0;color:#8c929d;font-size:12px}.home-seen b{display:block;margin-top:10px;color:#9a4ee9;font-size:12px}.home-feed{display:grid;gap:13px}.home-post{overflow:hidden;border-radius:17px;background:#fff;box-shadow:0 3px 12px rgba(26,33,46,.08)}.home-post-media{position:relative;aspect-ratio:1.2/1;min-height:430px;background:#242833;overflow:hidden}.home-post-media>img{width:100%;height:100%;object-fit:cover}.home-post-media:after{content:"";position:absolute;inset:0;background:linear-gradient(to bottom,rgba(0,0,0,.32),transparent 24%,transparent 72%,rgba(0,0,0,.18));pointer-events:none}.home-post-media header{position:absolute;z-index:2;left:14px;right:12px;top:12px;display:flex;align-items:center;gap:8px;color:#fff}.home-post-media header>a{display:flex;align-items:center;gap:8px;min-width:0;margin-right:auto;color:#fff}.home-post-media header>a>img{width:36px;height:36px;border-radius:50%;object-fit:cover}.home-post-media header b,.home-post-media header small{display:block;text-shadow:0 1px 3px rgba(0,0,0,.65)}.home-post-media header b{font-size:12px}.home-post-media header small{font-size:9px}.home-follow{height:31px;padding:0 14px}.home-more{width:36px;height:36px;border:0;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.78);color:#333}.home-more svg{width:19px}.home-media-actions{position:absolute;z-index:3;left:12px;right:12px;bottom:8px;display:flex;align-items:center;gap:4px}.home-media-actions .react{color:#202630;background:rgba(255,255,255,.93);padding:0 7px}.home-media-actions .react.active{color:#ef3f72}.home-duration{position:absolute;left:50%;transform:translateX(-50%);padding:5px 10px;border-radius:14px;background:rgba(40,48,68,.72);color:#fff;font-size:10px}.home-first{margin-left:auto;height:31px;padding:0 12px;border:0;border-radius:16px;background:rgba(255,255,255,.85);color:#474b54;display:flex;align-items:center;gap:5px;font-size:10px}.home-first svg{width:17px;color:#f35b9d}.home-post-text{padding:12px 14px 4px;font-size:13px;line-height:1.45}.home-post-meta{display:flex;align-items:center;padding:9px 14px 13px;color:#a0a5ae;font-size:10px}.home-post-meta button{margin-left:auto;border:0;background:transparent;color:#969ca6;display:flex;align-items:center;gap:4px}.home-post-meta svg{width:14px}.home-post .comments{padding:10px 14px}.home-compose-fab{position:fixed;z-index:55;right:max(25px,calc(50vw - 605px));bottom:28px;width:48px;height:48px;border:0;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#a646f2,#f22f74);color:#fff;box-shadow:0 8px 22px rgba(204,51,181,.35)}.home-compose-fab svg{width:25px}.home-side-card{margin-bottom:12px;padding:15px;border-radius:14px;background:#fff;box-shadow:0 4px 14px rgba(26,33,46,.08)}.home-side-card>b,.home-side-card header b{color:#838996;font-size:10px}.home-side-card header{display:flex;align-items:center;justify-content:space-between}.home-side-card header a,.home-side-card>a{color:#9851e9;font-size:10px;display:inline-flex;align-items:center}.home-side-card a svg{width:13px}.rating-line{display:flex;align-items:end;gap:7px;margin:10px 0}.rating-line strong{font-size:25px}.rating-line span{color:#868c96;font-size:11px}.rating-progress{height:5px;background:#eceef2;border-radius:4px}.rating-progress i{display:block;width:7px;height:5px;border-radius:4px;background:#8f3fec}.home-side-card p{color:#8e949e;font-size:11px;line-height:1.45}.all-read{display:flex;align-items:center;gap:6px}.all-read svg{width:16px;color:#28c69a}.side-room{display:flex!important;align-items:center;gap:9px;margin-top:10px;color:#222!important}.side-room>span{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:#f0f1f4;font-size:22px}.side-room .brand-room{background:linear-gradient(145deg,#7132e5,#ee3e93);color:#fff}.side-room div{flex:1}.side-room strong,.side-room small{display:block}.side-room strong{font-size:11px}.side-room small{color:#10b981;font-size:9px}
@media(max-width:760px){body[data-route="feed"]{background:#f4f5f7!important}.mobile-head{height:56px!important}.mobile-head .brand-mark{width:27px;height:27px;border-radius:8px}.mobile-head .brand span:last-child{font-size:20px;color:#654bc3}.mobile-head .head-avatar{width:32px;height:32px}.home-page{padding:14px 10px 0}.home-stories{margin:0!important;padding:13px 12px!important;border:0!important;border-radius:17px!important;box-shadow:0 4px 15px rgba(25,33,45,.08)!important}.home-story{flex-basis:64px}.home-people{margin-top:9px}.home-people-row{overflow-x:auto;scrollbar-width:none}.home-person{flex-basis:130px}.home-seen{margin:10px 0 12px}.home-post{border-radius:18px}.home-post-media{min-height:0;aspect-ratio:.83/1}.home-post-text{font-size:12px}.home-compose-fab{display:none}.home-bottom .home-heart{width:54px;height:54px;margin:-14px auto 0;border-radius:17px;background:linear-gradient(145deg,#f3226a,#d92273);color:#fff;box-shadow:0 6px 18px rgba(225,35,105,.35)}.home-bottom .home-heart svg{width:27px;height:27px}.home-bottom .home-heart:after{display:none}.home-side-card{display:none}}
body.dark-feed[data-route="feed"]{background:#11131a;color:#f4f5f7}body.dark-feed[data-route="feed"] .topbar,body.dark-feed[data-route="feed"] .mobile-head,body.dark-feed[data-route="feed"] .left-nav,body.dark-feed[data-route="feed"] .home-stories,body.dark-feed[data-route="feed"] .home-person,body.dark-feed[data-route="feed"] .home-post,body.dark-feed[data-route="feed"] .home-side-card,body.dark-feed[data-route="feed"] .bottom-nav{background:#1b1e27!important;border-color:#303440!important}body.dark-feed[data-route="feed"] .nav-user,body.dark-feed[data-route="feed"] .home-arrow,body.dark-feed[data-route="feed"] .home-people header a{background:#262a35}body.dark-feed[data-route="feed"] .nav-link,body.dark-feed[data-route="feed"] .home-story,body.dark-feed[data-route="feed"] .side-room{color:#f4f5f7!important}body.dark-feed[data-route="feed"] .home-seen>div{background:linear-gradient(#11131a,#11131a) padding-box,linear-gradient(145deg,#a448f2,#ef4eb2) border-box}.home-stories{display:flex!important;flex-direction:row!important;align-items:flex-start!important;flex-wrap:nowrap!important}.home-stories>.home-story{display:block!important;flex:0 0 64px!important;width:64px!important;max-width:64px!important}

/* Feed pixel pass: measured from the licensed ReeUp main page. */
body[data-route="feed"]{background:#e5e7eb;color:#111827;line-height:1.4}
body[data-route="feed"] .topbar{display:block;height:56px;max-width:1274px;margin:0 auto;border:0;border-radius:0 0 16px 16px;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.05);backdrop-filter:none}
body[data-route="feed"] .topbar-in{width:100%;max-width:none;padding:0 14px;gap:12px}
body[data-route="feed"] .brand{gap:8px;font-size:20px;font-weight:800;letter-spacing:-.25px}
body[data-route="feed"] .brand-mark{width:28px;height:28px;border-radius:7px}
body[data-route="feed"] .brand-mark svg{width:18px;height:18px}
body[data-route="feed"] .top-actions{align-self:stretch;gap:2px;margin-right:-14px}
body[data-route="feed"] .icon-btn{align-self:stretch;width:34px;height:auto;min-width:34px;padding:0 7px;border-radius:0;background:none;color:#6b7280}
body[data-route="feed"] .icon-btn:hover{background:none;color:#111827}
body[data-route="feed"] .icon-btn svg{width:20px;height:20px}
body[data-route="feed"] .top-actions>a:last-child{display:flex;align-items:center;padding:0 14px 0 7px}
body[data-route="feed"] .head-avatar{width:30px;height:30px;border-radius:28%;-webkit-mask-image:var(--avatar-squircle);mask-image:var(--avatar-squircle);-webkit-mask-size:100% 100%;mask-size:100% 100%}
body[data-route="feed"] .badge{top:auto;right:50%;bottom:1px;transform:translateX(50%);height:14px;min-width:15px;padding:0 4px;border:0;border-radius:4px;font-size:9px}
body[data-route="feed"] .app-layout{display:grid;grid-template-columns:280px minmax(0,680px) 280px;gap:3px;width:100%;max-width:1274px;margin:0 auto;padding:16px 14px 0}
body[data-route="feed"] .left-nav{top:72px;display:block;width:280px;height:auto;max-height:calc(100vh - 88px);padding:16px;border-radius:16px;background:#fff;box-shadow:0 4px 14px rgba(16,24,40,.10);overflow:auto;scrollbar-width:none}
body[data-route="feed"] .main-column{width:680px;max-width:680px;min-width:0;padding:0 10px 16px}
body[data-route="feed"] .right-column{position:sticky;top:72px;display:block;width:280px;height:fit-content;max-height:calc(100vh - 88px);overflow:auto;scrollbar-width:none}
body[data-route="feed"] .nav-user{gap:12px;margin-bottom:8px;padding:12px;border-radius:12px;background:#f3f4f6}
body[data-route="feed"] .nav-user img{width:48px;height:48px;border-radius:28%;-webkit-mask-image:var(--avatar-squircle);mask-image:var(--avatar-squircle);-webkit-mask-size:100% 100%;mask-size:100% 100%}
body[data-route="feed"] .nav-list{gap:2px}
body[data-route="feed"] .nav-link{height:auto;min-height:44px;gap:12px;padding:12px;border-radius:10px;color:#111827;font-size:14px;font-weight:500}
body[data-route="feed"] .nav-link.active{background:rgba(136,73,254,.10);color:#8849fe}

body[data-route="feed"] .home-stories{position:relative;display:block!important;min-height:0;margin:0 0 12px;padding:12px 0 10px!important;border:0!important;border-radius:22px!important;background:#fff;box-shadow:0 4px 14px rgba(16,24,40,.10)!important;overflow:visible}
body[data-route="feed"] .home-stories-row{display:flex;align-items:flex-start;gap:6px;height:92px;padding:2px 12px;overflow:auto hidden;scrollbar-width:none}
body[data-route="feed"] .home-stories-row::-webkit-scrollbar{display:none}
body[data-route="feed"] .home-story{display:flex;flex:0 0 76px;width:76px;height:88px;flex-direction:column;align-items:center;gap:6px;padding:0;border:0;color:#111827;text-align:center}
body[data-route="feed"] .home-story-ring{position:relative;display:block;width:68px;height:68px;margin:0;padding:0;border-radius:0;background:none}
body[data-route="feed"] .st-paint,body[data-route="feed"] .st-gap,body[data-route="feed"] .st-face{position:absolute;display:block;border-radius:28%;-webkit-mask-image:var(--avatar-squircle);mask-image:var(--avatar-squircle);-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}
body[data-route="feed"] .st-paint{inset:0;overflow:hidden;opacity:0}
body[data-route="feed"] .st-paint:before{content:"";position:absolute;inset:-25%;background:conic-gradient(from 200deg,#ffd36b,#ff8a3d,#f43f75,#c13bd8,#8849fe,#5b6cff,#ffd36b)}
body[data-route="feed"] .st-gap{inset:2.5px;background:#fff}
body[data-route="feed"] .st-face{inset:5px;background:#f3f4f6;overflow:hidden}
body[data-route="feed"] .st-face img{width:100%;height:100%;border:0;border-radius:0;object-fit:cover}
body[data-route="feed"] .home-story.has-story .st-paint{opacity:1}
body[data-route="feed"] .st-plus{position:absolute;right:-3px;bottom:-3px;width:24px;height:24px;display:grid;place-items:center;border:2.5px solid #fff;border-radius:50%;background:linear-gradient(135deg,#8849fe,#c13bd8);color:#fff}
body[data-route="feed"] .st-plus svg{width:13px;height:13px;stroke-width:3}
body[data-route="feed"] .home-story .st-name{display:block;max-width:78px;height:14px;margin:0;color:#111827;font-size:11.5px;font-weight:500;line-height:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body[data-route="feed"] .home-story:active .home-story-ring{transform:scale(.94)}

body[data-route="feed"] .home-people{margin:0 0 12px}
body[data-route="feed"] .people-strip-head{height:28px;margin:0 0 10px;padding:0 2px;gap:12px;color:#111827}
body[data-route="feed"] .people-strip-title{display:flex;align-items:center;gap:7px;color:#6b7280;font-size:13.5px;font-weight:500;line-height:1}
body[data-route="feed"] .people-strip-title svg{width:16px;height:16px;color:#9ca3af}
body[data-route="feed"] .people-strip-tools{gap:6px}
body[data-route="feed"] .home-arrow,body[data-route="feed"] .people-strip-all{display:inline-flex;align-items:center;justify-content:center;height:28px;border:0;border-radius:8px;background:#e5e7eb;color:#6b7280;font-size:12.5px;font-weight:500;line-height:1}
body[data-route="feed"] .home-arrow{width:28px;padding:0}
body[data-route="feed"] .people-strip-all{gap:3px;padding:6px 9px}
body[data-route="feed"] .home-people-row{display:flex;gap:8px;padding:0 0 2px;overflow-x:auto;scrollbar-width:none}
body[data-route="feed"] .home-person{display:flex;flex:0 0 132px;width:132px;min-width:0;flex-direction:column;align-items:center;gap:6px;padding:14px 10px 12px;border:0;border-radius:16px;background:#fff;box-shadow:0 1px 2px rgba(16,24,40,.06),0 1px 3px rgba(16,24,40,.04);text-align:center}
body[data-route="feed"] .people-card-face{position:relative;display:block;flex:0 0 auto;width:64px;height:64px;margin:0 0 5px}
body[data-route="feed"] .home-person img{width:64px;height:64px;border-radius:28%;object-fit:cover;-webkit-mask-image:var(--avatar-squircle);mask-image:var(--avatar-squircle);-webkit-mask-size:100% 100%;mask-size:100% 100%}
body[data-route="feed"] .people-card-name{display:flex;align-items:center;justify-content:center;gap:4px;max-width:100%}
body[data-route="feed"] .home-person .people-card-nick{display:block;max-width:100%;margin:0;color:#111827;font-size:13.5px;font-weight:600;line-height:18.9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body[data-route="feed"] .people-card-why{width:100%;min-height:15px;color:#9ca3af;font-size:11.5px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body[data-route="feed"] .home-person .home-person-add{width:100%;height:auto;min-height:0;margin-top:2px;padding:7px 8px;border:0;border-radius:9px;background:#8849fe;color:#fff;font-size:12.5px;font-weight:600;line-height:12.5px}

body[data-route="feed"] .home-seen{display:flex;flex-direction:column;align-items:center;height:auto;margin:0 0 12px;padding:6px 4px;text-align:center}
body[data-route="feed"] .home-seen:before,body[data-route="feed"] .home-seen:after{display:none}
body[data-route="feed"] .fc-top{display:flex;align-items:center;gap:14px;width:100%;height:56px;margin:0 0 12px}
body[data-route="feed"] .home-seen>.fc-top{border:0;border-radius:0;background:none}
body[data-route="feed"] .fc-line{flex:1;height:1px;background:#e5e7eb}
body[data-route="feed"] .fc-ico{flex:0 0 56px;width:56px;height:56px}
body[data-route="feed"] .fc-ico svg{display:block;width:100%;height:100%}
body[data-route="feed"] .fc-title{height:auto;margin:0;color:#111827;font-size:17px;font-weight:700;line-height:1.3}
body[data-route="feed"] .fc-text{height:auto;max-width:300px;margin:4px 0 0;color:#6b7280;font-size:13.5px;line-height:1.4}
body[data-route="feed"] .fc-next{display:block;margin:12px 0 0;color:#8849fe;font-size:13px;font-weight:600;line-height:18.2px}

body[data-route="feed"] .home-feed{display:block}
body[data-route="feed"] .home-post{--pc2-r:24px;--pc2-card-r:30px;--pc2-tab-h:42px;--pc2-tab-w:120px;--pc2-tab-r:21px;--pc2-bg:#fff;position:relative;margin:0 0 10px;padding:0 0 14px;border:0!important;border-radius:30px;background:linear-gradient(to bottom,transparent 48px,#fff 48px);box-shadow:0 4px 14px rgba(16,24,40,.10);overflow:visible}
body[data-route="feed"] .pc2-stage{position:relative}
body[data-route="feed"] .home-post-media{position:relative;width:100%;min-height:0;max-height:640px;aspect-ratio:4/5;border-radius:30px 30px 24px 24px;background:#f3f4f6;overflow:hidden;isolation:isolate}
body[data-route="feed"] .home-post-media:after{display:none}
body[data-route="feed"] .pc2-fill{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
body[data-route="feed"] .pc2-scrim{position:absolute;inset:0 0 auto;height:170px;background:radial-gradient(320px 160px at 0 0,rgba(0,0,0,.5),rgba(0,0,0,.26) 45%,transparent),linear-gradient(rgba(0,0,0,.14),transparent 90px);pointer-events:none;z-index:1}
body[data-route="feed"] .home-post-media .pc2-head{position:absolute;inset:0 0 auto;z-index:2;display:flex;align-items:center;gap:10px;height:50px;padding:14px 14px 0;color:#fff}
body[data-route="feed"] .pc2-ava{flex:0 0 34px;display:block;width:34px;height:34px;filter:drop-shadow(0 2px 6px rgba(0,0,0,.26))}
body[data-route="feed"] .pc2-ava .post-avatar{width:34px;height:34px;border-radius:28%;object-fit:cover;-webkit-mask-image:var(--avatar-squircle);mask-image:var(--avatar-squircle);-webkit-mask-size:100% 100%;mask-size:100% 100%}
body[data-route="feed"] .pc2-who{position:static;flex:1 1 auto;display:flex;min-width:0;flex-direction:column;gap:2px;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.3),0 0 14px rgba(0,0,0,.22)}
body[data-route="feed"] .pc2-name{display:flex;align-items:center;gap:4px;min-width:0;color:#fff;font-size:14px;font-weight:700;line-height:1.15;letter-spacing:-.01em}
body[data-route="feed"] .pc2-name span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body[data-route="feed"] .pc2-sub{display:flex;align-items:center;gap:4px;color:rgba(255,255,255,.86);font-size:11.5px;font-weight:500;line-height:14px}
body[data-route="feed"] .home-follow.pc2-join{flex:0 0 auto;display:flex;align-items:center;justify-content:center;height:32px;padding:0 14px;border:0;border-radius:16px;background:#8849fe;box-shadow:inset 0 0 0 1px rgba(255,255,255,.22),inset 0 1px 1px rgba(255,255,255,.4),0 2px 8px rgba(0,0,0,.14);color:#fff;font-size:13px;font-weight:700;line-height:13px;transition:background .2s,color .2s,opacity .2s}
body[data-route="feed"] .home-follow.pc2-join:hover{background:#8849fe;box-shadow:inset 0 0 0 1px rgba(255,255,255,.22),inset 0 1px 1px rgba(255,255,255,.4),0 2px 8px rgba(0,0,0,.14)}
body[data-route="feed"] .home-follow.pc2-join:active{transform:scale(.97)}
body[data-route="feed"] .home-follow.pc2-join.active,body[data-route="feed"] .home-follow.pc2-join.is-following{background:#8849fe;color:#fff}
body.dark-feed[data-route="feed"] .home-follow.pc2-join,body.dark-feed[data-route="feed"] .home-follow.pc2-join:hover{border:0;background:#8849fe;color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.22),inset 0 1px 1px rgba(255,255,255,.4),0 2px 8px rgba(0,0,0,.14)}
body.dark-feed[data-route="feed"] .home-follow.pc2-join.active,body.dark-feed[data-route="feed"] .home-follow.pc2-join.is-following{background:#8849fe;color:#fff;border:0}
body[data-route="feed"] .home-more.pc2-more{flex:0 0 36px;width:36px;height:36px;padding:0;border:0;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.6);box-shadow:inset 0 0 0 1px rgba(255,255,255,.45),inset 0 1px 1px rgba(255,255,255,.75),0 2px 8px rgba(0,0,0,.14);backdrop-filter:blur(14px) saturate(180%);color:#111827}
body[data-route="feed"] .home-more.pc2-more svg{width:20px;height:20px}
body[data-route="feed"] .home-duration.pc2-badge{position:absolute;left:max(50%,193px);bottom:5px;z-index:3;display:inline-flex;align-items:center;gap:4px;height:32px;min-width:32px;padding:0 12px;transform:translateX(-50%);border-radius:16px;background:rgba(20,20,24,.42);box-shadow:inset 0 0 0 1px rgba(255,255,255,.18),inset 0 1px 1px rgba(255,255,255,.28),0 2px 8px rgba(0,0,0,.14);backdrop-filter:blur(14px) saturate(180%);color:#fff;font-size:13px;font-weight:600}
body[data-route="feed"] .home-duration.pc2-badge svg{width:12px;height:12px;fill:currentColor}
body[data-route="feed"] .pc2-dock{position:absolute;left:145px;right:10px;bottom:5px;z-index:3;display:flex;align-items:center;gap:6px}
body[data-route="feed"] .home-first.pc2-likes{position:relative;display:flex;align-items:center;gap:6px;height:32px;margin-left:auto;padding:0 12px;border:0;border-radius:16px;background:rgba(255,255,255,.6);box-shadow:inset 0 0 0 1px rgba(255,255,255,.45),inset 0 1px 1px rgba(255,255,255,.75),0 2px 8px rgba(0,0,0,.12);backdrop-filter:blur(14px) saturate(180%);color:#111827;font-size:13px;white-space:nowrap}
body[data-route="feed"] .home-first.pc2-likes svg{width:16px;height:16px;color:#ff3b5c}
body[data-route="feed"] .pc2-likes{overflow:hidden;padding-left:4px!important;cursor:pointer}
body[data-route="feed"] .pc2-faces{display:flex;height:24px;flex:0 0 auto}
body[data-route="feed"] .pc2-face{position:relative;display:block;width:24px;height:24px;margin:0;border:1.6px solid #fff;border-radius:50%;background:#e5e7eb;object-fit:cover;transition:opacity .3s}
body[data-route="feed"] .pc2-face+ .pc2-face{margin-left:-9px}
body[data-route="feed"] .pc2-likes-n{overflow:hidden;color:#374151;white-space:nowrap}
body[data-route="feed"] .pc2-likes-n .rc{display:inline-block;color:#111827;font-weight:700}
body[data-route="feed"] .pc2-likes-0{display:none;align-items:center;gap:6px;padding-left:6px;font-weight:600}
body[data-route="feed"] .pc2-likes.is-empty{padding-left:6px!important}
body[data-route="feed"] .pc2-likes.is-empty .pc2-faces,body[data-route="feed"] .pc2-likes.is-empty .pc2-likes-n{display:none}
body[data-route="feed"] .pc2-likes.is-empty .pc2-likes-0{display:flex}
body[data-route="feed"] .home-media-actions.pc2-tab{position:absolute;left:0;right:auto;bottom:-2px;z-index:3;display:flex;align-items:center;gap:0;width:120px;height:44px;padding:2px 4px 2px 8px;background:#fff;border-radius:0 21px 0 0}
body[data-route="feed"] .home-media-actions.pc2-tab:after{content:"";position:absolute;left:119px;bottom:0;width:22px;height:23px;background:radial-gradient(circle at 100% 0,transparent 20.5px,#fff 21px);pointer-events:none}
body[data-route="feed"] .home-media-actions .pc2-act{display:inline-flex;align-items:center;gap:4px;height:36px;min-width:36px;padding:0 6px;border:0;border-radius:14px;background:none;color:#111827;font-size:14px;font-weight:600;transition:transform .15s}
body[data-route="feed"] .home-media-actions .pc2-act svg{width:22px;height:22px;stroke-width:1.9}
body[data-route="feed"] .home-media-actions .pc2-like.liked svg{color:#ff3b5c;fill:#ff3b5c}
body[data-route="feed"] .pc2-star-ico{display:block;width:22px;height:22px}
body[data-route="feed"] .home-post-meta.pc2-meta{display:block;padding:6px 16px 0;color:#111827;font-size:14px;line-height:19.6px}
body[data-route="feed"] .pc2-by{display:flex;align-items:center;gap:4px;width:100%;height:20px;margin-top:6px;color:#6b7280;font-size:13px;line-height:18.2px;cursor:pointer}
body[data-route="feed"] .pc2-by-faces{display:flex;height:20px;flex:0 0 auto}
body[data-route="feed"] .pc2-by-face{position:relative;display:block;width:20px;height:20px;margin:0;border:1.6px solid #fff;border-radius:50%;background:#e5e7eb;object-fit:cover;transition:opacity .3s}
body[data-route="feed"] .pc2-by-face+ .pc2-by-face{margin-left:-7px}
body[data-route="feed"] .pc2-by-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
body[data-route="feed"] .pc2-by-text b{color:#111827;font-weight:600}
body[data-route="feed"] .home-post-text{margin:6px 0 0;padding:0;color:#111827;font-size:14.5px;line-height:21px}

body[data-route="feed"] .pc2-time{display:flex;align-items:center;gap:6px;margin:6px 0 0;overflow:hidden;white-space:nowrap;color:#9ca3af;font-size:12.5px;line-height:17.5px}
body[data-route="feed"] .pc2-views{display:flex;align-items:center;gap:4px;margin:0;padding:0;border:0;background:none;color:#9ca3af;font-size:12.5px}
body[data-route="feed"] .pc2-views:last-child{margin-left:auto}
body[data-route="feed"] .pc2-views svg{width:15px;height:15px}

body[data-route="feed"] .home-side-card{margin:0 0 12px;padding:14px;border-radius:16px;background:#fff;box-shadow:0 4px 14px rgba(16,24,40,.10)}
body[data-route="feed"] .home-side-card>b,body[data-route="feed"] .home-side-card header b{color:#6b7280;font-size:12px;font-weight:700;letter-spacing:.5px}
body[data-route="feed"] .vip-card{position:relative;display:flex;align-items:center;gap:8px;min-height:0;margin-top:8px;padding:12px 14px;border-radius:14px;overflow:hidden;background:linear-gradient(120deg,#8849fe 0%,#a855f7 46%,#ec4899 100%);color:#fff;box-shadow:0 6px 18px rgba(136,73,254,.32)}
body[data-route="feed"] .vip-card:before{display:none}
body[data-route="feed"] .vip-card-txt{position:relative;z-index:3;flex:1;min-width:0}
body[data-route="feed"] .vip-card-title{display:block;font-size:13px;font-weight:700;line-height:1.25}
body[data-route="feed"] .vip-card-sub{display:-webkit-box;margin-top:3px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:11px;line-height:1.35;opacity:.85}
body[data-route="feed"] .vip-card-art{position:relative;display:flex;align-items:center;justify-content:center;flex:0 0 58px;width:58px;height:58px}
body[data-route="feed"] .vip-card-rays,body[data-route="feed"] .vip-card-glow{position:absolute;display:block;width:148px;height:148px;pointer-events:none}
body[data-route="feed"] .vip-card-rays{z-index:1;background:repeating-conic-gradient(from 0deg,rgba(255,255,255,.55) 0 22deg,transparent 22deg 45deg);-webkit-mask:radial-gradient(closest-side,transparent 20%,#000 36%,transparent 78%);mask:radial-gradient(closest-side,transparent 20%,#000 36%,transparent 78%);opacity:.52;animation:vipRays 26s linear infinite}
body[data-route="feed"] .vip-card-glow{z-index:0;border-radius:50%;background:radial-gradient(closest-side,rgba(255,255,255,.62),rgba(255,255,255,.2) 44%,transparent 72%)}
body[data-route="feed"] .vip-card-art img{position:relative;z-index:2;width:52px;height:52px;object-fit:contain;filter:drop-shadow(0 5px 9px rgba(0,0,0,.32));animation:vipFloat 1.9s ease-in-out infinite}
body[data-route="feed"] .vip-card .vip-spark{position:absolute;display:block;z-index:3;width:8px;height:8px;background:#ffe9a8;clip-path:polygon(50% 0,60% 40%,100% 50%,60% 60%,50% 100%,40% 60%,0 50%,40% 40%);opacity:0;animation:vipSpark 2.4s ease-in-out infinite}

@media(max-width:1023px){
 body[data-route="feed"]{padding-bottom:58px;background:#e5e7eb!important}
 body[data-route="feed"] .topbar,body[data-route="feed"] .left-nav,body[data-route="feed"] .right-column{display:none!important}
 body[data-route="feed"] .mobile-head{position:sticky;top:0;z-index:100;display:flex;height:56px;padding:0 16px;border:0;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.05)}
 body[data-route="feed"] .mobile-head .brand{font-size:20px}
 body[data-route="feed"] .mobile-head .top-actions{margin-left:auto;margin-right:-16px}
 body[data-route="feed"] .mobile-head .top-actions>a:last-child{padding-right:16px}
 body[data-route="feed"] .app-layout{display:block!important;width:100%;max-width:none;margin:0;padding:0!important}
 body[data-route="feed"] .main-column{width:100%!important;max-width:none!important;padding:0}
 body[data-route="feed"] .home-page{padding:16px 10px 0}
 body[data-route="feed"] .home-stories{height:114px;margin:0 0 12px!important;padding:12px 0 10px!important;border-radius:22px!important;box-shadow:0 4px 14px rgba(16,24,40,.10)!important}
 body[data-route="feed"] .home-people{margin:0 0 12px}
 body[data-route="feed"] .people-strip-arrow{display:none}
 body[data-route="feed"] .home-person{flex-basis:132px}
 body[data-route="feed"] .home-post{border-radius:30px}
 body[data-route="feed"] .home-post-media{aspect-ratio:4/5}
 body[data-route="feed"] .home-compose-fab{display:none}
 body[data-route="feed"] .bottom-nav{--nav-h:54px;--nav-inset:5px;position:fixed!important;left:50%!important;right:auto!important;bottom:0!important;transform:translateX(-50%)!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;align-items:center!important;justify-items:center!important;width:100%!important;max-width:650px!important;height:calc(54px + env(safe-area-inset-bottom,0px))!important;padding:0 4px env(safe-area-inset-bottom,0px)!important;border:0!important;background:#fff!important;box-shadow:0 -2px 8px rgba(0,0,0,.05)!important}
 body[data-route="feed"] .bottom-nav .nav-item{display:flex;width:100%;min-width:0;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:0 2px;color:inherit;font-size:10px;font-weight:500}
 body[data-route="feed"] .bottom-nav .nav-item svg{width:21px;height:21px;color:#9ca3af}
 body[data-route="feed"] .bottom-nav .nav-item.active,body[data-route="feed"] .bottom-nav .nav-item.active svg{color:#8849fe}
 body[data-route="feed"] .bottom-nav .home-heart{align-self:stretch;justify-self:center;width:44px;height:auto;margin:5px 0;padding:0;border-radius:14px;background:linear-gradient(135deg,#ff2d6e,#e11d48 55%,#be123c);box-shadow:0 3px 10px rgba(225,29,72,.32);color:#fff}
 body[data-route="feed"] .bottom-nav .home-heart svg{width:21px;height:21px;color:#fff}
}


/* Final feed theme layer. Keep this after desktop and mobile geometry rules. */
body.dark-feed[data-route="feed"]{background:#11131a!important;color:#f4f5f7}
body.dark-feed[data-route="feed"] .topbar,
body.dark-feed[data-route="feed"] .mobile-head,
body.dark-feed[data-route="feed"] .left-nav,
body.dark-feed[data-route="feed"] .home-stories,
body.dark-feed[data-route="feed"] .home-person,
body.dark-feed[data-route="feed"] .home-post,
body.dark-feed[data-route="feed"] .home-side-card,
body.dark-feed[data-route="feed"] .bottom-nav{background:#1b1e27!important;border-color:#303440!important}
body.dark-feed[data-route="feed"] .icon-btn,
body.dark-feed[data-route="feed"] .nav-link,
body.dark-feed[data-route="feed"] .home-story,
body.dark-feed[data-route="feed"] .st-name,
body.dark-feed[data-route="feed"] .people-strip-head,
body.dark-feed[data-route="feed"] .people-card-nick,
body.dark-feed[data-route="feed"] .fc-title,
body.dark-feed[data-route="feed"] .home-post-text,
body.dark-feed[data-route="feed"] .home-post-text b,
body.dark-feed[data-route="feed"] .home-media-actions .pc2-act,
body.dark-feed[data-route="feed"] .side-room{color:#f4f5f7!important}
body.dark-feed[data-route="feed"] .home-person .people-card-meta,
body.dark-feed[data-route="feed"] .fc-copy,
body.dark-feed[data-route="feed"] .pc2-time,
body.dark-feed[data-route="feed"] .pc2-views,
body.dark-feed[data-route="feed"] .home-post-meta,
body.dark-feed[data-route="feed"] .home-side-card p{color:#aeb4c0!important}
body.dark-feed[data-route="feed"] .nav-user,
body.dark-feed[data-route="feed"] .home-arrow,
body.dark-feed[data-route="feed"] .home-people header a{background:#262a35!important}
body.dark-feed[data-route="feed"] .home-seen>div{background:linear-gradient(#11131a,#11131a) padding-box,linear-gradient(145deg,#a448f2,#ef4eb2) border-box}
body.dark-feed[data-route="feed"] .home-person,
body.dark-feed[data-route="feed"] .home-post{box-shadow:0 4px 14px rgba(0,0,0,.28)}
body.dark-feed[data-route="feed"] .home-media-actions{border-color:#303440}
body.dark-feed[data-route="feed"] .bottom-nav .nav-item:not(.active),
body.dark-feed[data-route="feed"] .bottom-nav .nav-item:not(.active) svg{color:#aeb4c0}
body.dark-feed[data-route="feed"] .left-nav .nav-link:not(.active) svg{color:#aeb4c0!important}
body.dark-feed[data-route="feed"] .left-nav .nav-link:not(.active):hover{background:#fff!important;color:#111827!important}
body.dark-feed[data-route="feed"] .left-nav .nav-link:not(.active):hover svg{color:#252b37!important}
body:not(.dark-feed)[data-route="feed"] .left-nav .nav-link:not(.active):hover{background:#f3f4f6!important;color:#111827!important}
body:not(.dark-feed)[data-route="feed"] .left-nav .nav-link:not(.active):hover svg{color:#252b37!important}
body:not(.dark-feed)[data-route="feed"] .people-strip-arrow{background:#e5e7eb!important;border:1px solid #d1d5db!important;color:#4b5563!important;box-shadow:0 1px 2px rgba(17,24,39,.06)}
body:not(.dark-feed)[data-route="feed"] .people-strip-arrow:hover{background:#d1d5db!important;color:#111827!important}
body:not(.dark-feed)[data-route="feed"] .people-strip-arrow svg{color:inherit!important}

/* Shared route completeness and theme safeguards */
.sidebar-foot{display:flex;flex-wrap:wrap;gap:3px 10px;padding:16px 13px;color:#8a93a3;font-size:11px;line-height:1.55}.sidebar-foot a{color:inherit}.sidebar-foot a:hover{color:var(--primary)}.sidebar-foot span{flex-basis:100%;margin-top:3px}.notification-filter-empty[hidden],.notif-row[hidden]{display:none!important}.info-page .card-body{font-size:14px;line-height:1.75}.info-links{display:flex;flex-wrap:wrap;gap:9px;margin-top:24px}.info-links a{padding:9px 12px;border-radius:10px;background:var(--soft);color:var(--primary);font-weight:700}body.modal-open{overflow:hidden}
body.dark-feed:not([data-route="feed"]){--bg:#10131a;--surface:#1b1f29;--soft:#252a36;--soft2:#202530;--line:#303744;--text:#f3f4f6;--muted:#aab2c0;--dim:#8993a3;--shadow:0 8px 30px rgba(0,0,0,.3);background:var(--bg);color:var(--text)}body.dark-feed:not([data-route="feed"]) .topbar,body.dark-feed:not([data-route="feed"]) .mobile-head,body.dark-feed:not([data-route="feed"]) .card,body.dark-feed:not([data-route="feed"]) .modal-card,body.dark-feed:not([data-route="feed"]) .bottom-nav{background:var(--surface)!important;border-color:var(--line)!important;color:var(--text)}body.dark-feed:not([data-route="feed"]) .global-search input,body.dark-feed:not([data-route="feed"]) input,body.dark-feed:not([data-route="feed"]) textarea,body.dark-feed:not([data-route="feed"]) select,body.dark-feed:not([data-route="feed"]) .thread-compose input{background:var(--soft)!important;color:var(--text)!important;border-color:var(--line)!important}body.dark-feed:not([data-route="feed"]) .thread-messages{background:#141821}body.dark-feed:not([data-route="feed"]) .bubble:not(.mine){background:#272d39;color:#f3f4f6}body.dark-feed:not([data-route="feed"]) .nav-link,body.dark-feed:not([data-route="feed"]) .setting-row,body.dark-feed:not([data-route="feed"]) .dialog-row,body.dark-feed:not([data-route="feed"]) .person-main a{color:var(--text)}body.dark-feed:not([data-route="feed"]) .nav-link:not(.active):hover,body.dark-feed:not([data-route="feed"]) .dialog-row:hover{background:#2a303c;color:#fff}body.dark-feed:not([data-route="feed"]) .icon-btn:hover{background:#2a303c}body.dark-feed:not([data-route="feed"]) .notif-row.unread{background:rgba(136,73,254,.13)}
html:has(body.dark-feed){background:#10131a}html:has(body.dark-feed) body{min-height:100dvh}
@media(max-width:760px){.modal{backdrop-filter:none!important}.modal-card{min-height:100dvh;max-height:100dvh!important}.info-links{display:grid}.sidebar-foot{display:none}.filters{overflow-x:auto;scrollbar-width:none}.filters::-webkit-scrollbar{display:none}}

.dating-page{max-width:520px;margin:0 auto}.dating-warning{display:flex;align-items:center;gap:9px;margin-bottom:10px;padding:12px 14px;border-radius:14px;background:#fff3df;color:#9a6429;font-size:12px}.dating-warning svg{width:18px}.dating-warning span{flex:1}.dating-warning a{font-weight:800}.dating-tabs{display:grid;grid-template-columns:1fr 1fr 48px;gap:8px;margin-bottom:12px;padding:5px;border-radius:15px;background:#dfe2e8}.dating-tabs>a,.dating-tabs>button{height:40px;border:0;border-radius:11px;background:transparent;color:#6b7280;display:flex;align-items:center;justify-content:center;gap:6px;font-weight:750}.dating-tabs .active{background:#fff;color:#252a34;box-shadow:0 2px 6px rgba(17,24,39,.08)}.dating-tabs svg{width:17px}.dating-tabs .dating-filter{background:#fff;color:var(--primary);box-shadow:0 2px 7px rgba(17,24,39,.08)}.dating-card{position:relative;height:min(650px,calc(100vh - 250px));min-height:430px;overflow:hidden;border-radius:24px;background:#111;box-shadow:0 12px 34px rgba(17,24,39,.2)}.dating-card>img{width:100%;height:100%;object-fit:cover}.dating-shade{position:absolute;inset:0;background:linear-gradient(to bottom,transparent 52%,rgba(0,0,0,.8))}.dating-info{position:absolute;z-index:2;left:20px;right:70px;bottom:20px;color:#fff}.dating-info strong{display:inline;font-size:26px}.dating-info b{display:inline-block;margin-left:10px;padding:3px 8px;border-radius:12px;background:rgba(25,25,30,.55);font-size:13px}.dating-info small{display:block;margin-top:7px;color:rgba(255,255,255,.78)}.dating-details{position:absolute;z-index:2;right:16px;top:16px;width:42px;height:42px;border-radius:50%;background:rgba(30,30,35,.45);color:#fff;display:grid;place-items:center}.dating-details svg{width:22px}.dating-actions{position:relative;z-index:3;display:flex;align-items:center;justify-content:center;gap:16px;margin-top:-28px}.dating-action{width:58px;height:58px;border:5px solid rgba(255,255,255,.7);border-radius:50%;display:grid;place-items:center;background:#fff;box-shadow:0 7px 20px rgba(17,24,39,.2)}.dating-action svg{width:25px;height:25px}.dating-action.skip{color:#ef5c6a}.dating-action.like{width:66px;height:66px;border:0;background:linear-gradient(145deg,#ff4f96,#f32370);color:#fff}.dating-action.like svg{width:31px;height:31px;fill:currentColor}.dating-action.message{color:var(--primary)}.dating-empty{min-height:430px}
body.dark-feed .dating-warning{background:#352a1f;color:#f4bd73}body.dark-feed .dating-tabs{background:#252a36}body.dark-feed .dating-tabs .active,body.dark-feed .dating-tabs .dating-filter{background:#343a47;color:#fff}body.dark-feed .dating-action.skip,body.dark-feed .dating-action.message{border-color:rgba(255,255,255,.14);background:#252a36;box-shadow:0 7px 20px rgba(0,0,0,.38)}body.dark-feed .dating-action.skip{color:#ff7b87}body.dark-feed .dating-action.message{color:#c6a8ff}
.dating-tabs .dating-filter{position:relative;border:0;cursor:pointer}.dating-tabs .dating-filter i{position:absolute;right:4px;top:3px;min-width:17px;height:17px;padding:0 4px;border-radius:9px;background:#914cff;color:#fff;display:grid;place-items:center;font-size:10px;font-style:normal;font-weight:800}.dating-search-form{min-height:430px}.dating-search-form>label{height:46px;padding:0 14px;border-radius:13px;background:var(--surface);display:flex;align-items:center;gap:10px;box-shadow:0 3px 13px rgba(20,26,38,.06)}.dating-search-form>label svg{width:19px;color:var(--muted)}.dating-search-form>label input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:var(--text);font:inherit}.dating-search-empty{min-height:330px;color:var(--muted);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center}.dating-search-empty svg{width:48px;height:48px;opacity:.45}.dating-search-results{margin-top:10px;border-radius:15px;overflow:hidden;background:var(--surface);box-shadow:0 4px 15px rgba(20,26,38,.08)}.dating-search-results>a{min-height:74px;padding:10px 13px;border-bottom:1px solid var(--line);color:var(--text);display:flex;align-items:center;gap:12px}.dating-search-results>a:last-child{border-bottom:0}.dating-search-results>a:hover{background:var(--soft)}.dating-search-results img{width:52px;height:52px;border-radius:28%;object-fit:cover}.dating-search-results span{min-width:0;flex:1;display:grid;gap:2px}.dating-search-results b,.dating-search-results small,.dating-search-results em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dating-search-results b{font-size:14px}.dating-search-results small,.dating-search-results em{color:var(--muted);font-size:11px;font-style:normal}.dating-search-results>a>svg{width:18px;color:var(--muted)}.dating-filter-panel{position:absolute;z-index:60;top:110px;right:0;width:min(430px,calc(100% - 20px));max-height:min(720px,calc(100dvh - 135px));padding:14px;border:1px solid var(--line);border-radius:17px;background:var(--surface);color:var(--text);overflow:auto;box-shadow:0 18px 55px rgba(18,24,35,.24);animation:datingFilterIn .18s ease}.dating-filter-panel[hidden]{display:none}.dating-filter-panel header{height:38px;display:flex;align-items:center;justify-content:space-between}.dating-filter-panel header b{font-size:16px}.dating-filter-panel header button{width:32px;height:32px;border:0;border-radius:50%;background:var(--soft);color:var(--muted);display:grid;place-items:center;cursor:pointer}.dating-filter-panel header svg{width:17px}.dating-filter-panel fieldset{margin:10px 0 0;padding:0;border:0}.dating-filter-panel legend,.dating-filter-panel>label{display:grid;gap:7px;color:var(--muted);font-size:12px;font-weight:700}.dating-filter-panel fieldset>div{display:flex;flex-wrap:wrap;gap:7px;margin-top:7px}.dating-filter-panel fieldset button{min-height:35px;padding:0 12px;border:0;border-radius:10px;background:var(--soft);color:var(--text);font:inherit;font-size:12px;font-weight:650;cursor:pointer}.dating-filter-panel fieldset button.active{background:#914cff;color:#fff}.dating-filter-panel>label{margin-top:12px}.dating-filter-panel>label input,.dating-range input{height:40px;padding:0 12px;border:1px solid var(--line);border-radius:10px;outline:0;background:var(--soft);color:var(--text);font:inherit}.dating-filter-panel>label input:focus,.dating-range input:focus{border-color:#914cff;box-shadow:0 0 0 2px rgba(145,76,255,.13)}.dating-range{display:flex!important;align-items:center;gap:8px!important;margin-top:7px!important}.dating-range input{min-width:0;flex:1}.dating-filter-panel footer{position:sticky;bottom:-14px;margin:16px -14px -14px;padding:11px 14px;border-top:1px solid var(--line);background:var(--surface);display:flex;align-items:center;justify-content:space-between}.dating-filter-panel footer>a{color:var(--muted);font-size:13px;font-weight:700}.dating-filter-panel footer .btn{min-width:112px}@keyframes datingFilterIn{from{opacity:0;transform:translateY(-7px) scale(.98)}to{opacity:1;transform:none}}
@media(max-width:760px){.dating-page{padding:12px 10px 30px}.dating-card{height:calc(100dvh - 270px);min-height:420px}.dating-warning{margin-top:0}.dating-actions{margin-top:-31px}}
@media(max-width:760px){.dating-filter-panel{position:fixed;z-index:260;inset:auto 0 0;width:100%;max-height:82dvh;border-width:1px 0 0;border-radius:19px 19px 0 0;padding-bottom:max(14px,env(safe-area-inset-bottom));box-shadow:0 -18px 60px rgba(12,16,25,.28)}.dating-search-form{min-height:calc(100dvh - 230px)}}

/* Profile: compact ReeUp-style information architecture. */
body[data-route="profile"] .main-column{display:grid;gap:14px}.profile-page{display:grid;gap:14px}.profile-summary{overflow:hidden}.profile-cover{height:168px;background:linear-gradient(135deg,#7864e8 0%,#9d55e9 48%,#ef6ea9 100%);background-size:cover;background-position:center}.profile-main{position:relative;padding:0 20px 20px}.profile-identity{display:flex;align-items:flex-end;gap:16px;min-width:0}.profile-avatar{flex:0 0 auto;width:112px;height:112px;margin-top:-49px;border:4px solid var(--surface);border-radius:50%;object-fit:cover;background:var(--soft);box-shadow:0 4px 14px rgba(17,24,39,.12)}.profile-who{min-width:0;padding:13px 0 2px}.profile-name{margin:0;font-size:23px;line-height:1.25;overflow-wrap:anywhere}.profile-name .verified{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:50%;background:var(--primary);color:#fff;font-size:11px;vertical-align:2px}.profile-id{margin-top:4px;color:var(--muted);font-size:12px}.profile-bio{margin:8px 0 0;line-height:1.45;color:var(--text)}.profile-actions{position:absolute;right:20px;top:16px;display:flex;gap:8px}.profile-actions .btn{white-space:nowrap}.profile-stats{display:grid;grid-template-columns:repeat(3,1fr);margin-top:19px;padding:15px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.profile-stats .stat{display:block;text-align:center;border-right:1px solid var(--line)}.profile-stats .stat:last-child{border-right:0}.profile-stats .stat b{display:block;font-size:18px;line-height:1.2}.profile-stats .stat span{display:block;margin-top:4px;color:var(--muted);font-size:11px}.profile-rows{padding-top:8px}.profile-row{display:grid;grid-template-columns:20px minmax(120px,1fr) minmax(0,1.2fr);align-items:center;gap:9px;min-height:43px;border-bottom:1px solid var(--line);font-size:12px}.profile-row:last-child{border-bottom:0}.profile-row svg{width:17px;height:17px;color:var(--muted)}.profile-row span{color:var(--muted)}.profile-row b{text-align:right;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-content .tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;padding:10px;border-bottom:1px solid var(--line)}.profile-content .tab{display:flex;align-items:center;justify-content:center;gap:7px;min-width:0;padding:10px 7px}.profile-content .tab svg{width:16px;height:16px}.profile-content .empty{min-height:220px}.profile-content .empty span,.profile-feed .empty span{display:block;margin-top:5px;font-size:12px}.profile-feed{display:grid;gap:14px}.profile-feed>.card{margin-top:0!important}body.dark-feed[data-route="profile"] .profile-avatar{border-color:var(--surface)}
@media(max-width:760px){body[data-route="profile"]{background:#f3f4f6!important}body[data-route="profile"] .main-column{padding:10px!important;gap:10px}body[data-route="profile"] .profile-page{gap:10px}body[data-route="profile"] .main-column .profile-summary,body[data-route="profile"] .main-column .profile-content,body[data-route="profile"] .profile-feed>.card{border:1px solid var(--line)!important;border-radius:18px!important;box-shadow:0 4px 15px rgba(17,24,39,.07)!important;overflow:hidden!important}body[data-route="profile"] .profile-cover{display:none!important}.profile-main{min-height:0!important;padding:18px 16px 16px!important}.profile-identity{align-items:center;gap:13px}.profile-avatar{width:76px;height:76px;margin:0;border-width:3px}.profile-who{padding:0}.profile-name{font-size:20px}.profile-id{font-size:11px}.profile-bio{font-size:12px}.profile-actions{position:static;display:grid;margin-top:14px}.profile-actions .btn{width:100%;min-height:40px}.profile-actions .btn+.btn{margin-top:0}.profile-stats{margin-top:15px;padding:13px 0}.profile-stats .stat b{font-size:17px}.profile-row{grid-template-columns:19px minmax(90px,1fr) minmax(0,1fr);min-height:41px}.profile-content .tabs{display:flex;overflow-x:auto;scrollbar-width:none}.profile-content .tab{flex:1 0 auto;padding:9px 11px}.profile-content .tab svg{display:none}.profile-content .empty{min-height:210px}.profile-feed .empty{min-height:210px!important}.photo-grid{padding:3px}.modal-card{background:var(--surface)!important}body.dark-feed[data-route="profile"]{background:var(--bg)!important}}

/* Licensed ReeUp profile layout. */
body[data-route="profile"]{background:#f4f5f7}.ree-profile{display:grid;gap:12px}.ree-profile-card{padding:15px}.ree-profile-user{display:flex;align-items:flex-start;gap:13px}.ree-profile-user>img{width:68px;height:68px;border-radius:50%;object-fit:cover;background:var(--soft)}.ree-profile-user>div{min-width:0;flex:1}.ree-profile-user h1{margin:1px 0 3px;font-size:15px;line-height:1.3}.ree-profile-user h1 small{display:inline-block;margin-left:4px;padding:2px 6px;border-radius:7px;background:var(--soft);color:var(--muted);font-size:9px;vertical-align:2px}.ree-profile-user .verified{display:inline-grid;place-items:center;width:15px;height:15px;border-radius:50%;background:var(--primary);color:#fff;font-size:9px}.ree-status{display:flex;align-items:center;gap:5px;max-width:100%;padding:0;border:0;background:transparent;color:var(--primary);font-weight:700}.ree-status svg{width:14px;height:14px}.ree-online{display:block;margin-top:4px;color:#23ad80;font-size:11px}.ree-profile-actions{display:grid;grid-template-columns:1fr;gap:7px;margin-top:12px}.ree-profile-actions:has(.btn+.btn){grid-template-columns:1fr 1fr}.ree-profile-actions .btn{width:100%;min-height:39px}.ree-facts{display:grid;gap:1px;margin-top:12px;padding-top:8px;border-top:1px solid var(--line)}.ree-facts>a,.ree-facts>div,.ree-info-toggle{display:flex;align-items:center;gap:10px;min-height:32px;padding:0;border:0;background:transparent;color:var(--text);font-size:12px;text-align:left}.ree-facts svg{flex:0 0 auto;width:17px;height:17px;color:#a2a8b1}.ree-facts b{color:var(--primary)}.ree-facts .icon-btn{width:30px;height:30px;margin-left:auto}.ree-info-toggle{cursor:pointer}.ree-info-toggle svg{color:var(--primary)}.ree-extra-info{margin:2px 0 6px 27px;padding:10px 12px;border-radius:11px;background:var(--soft)}.ree-extra-info[hidden]{display:none!important}.ree-extra-info>div{display:grid;grid-template-columns:85px 1fr;gap:10px;padding:5px 0;font-size:11px}.ree-extra-info b{color:var(--muted);font-weight:600}.ree-section{overflow:hidden}.ree-section header{min-height:43px;padding:9px 13px;display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--line)}.ree-section header>svg{width:17px;height:17px;color:#a4aab3}.ree-section header>b{font-size:12px}.ree-section header>span{min-width:20px;height:20px;padding:0 5px;border-radius:8px;background:var(--soft);color:var(--muted);display:grid;place-items:center;font-size:10px}.ree-section header>a,.ree-section header>button{margin-left:auto}.ree-section header>a{display:flex;align-items:center;gap:3px;padding:6px 9px;border-radius:9px;background:var(--soft);color:var(--muted);font-size:10px}.ree-section header>a svg{width:13px}.ree-questionnaire>div{padding:11px 13px;color:var(--muted);font-size:11px}.ree-empty-small{min-height:142px;display:grid;place-content:center;justify-items:center;gap:8px;color:var(--muted)}.ree-empty-small svg{width:43px;height:43px;color:#abb1ba}.ree-empty-small b{color:var(--text);font-size:13px}.ree-group-list{display:flex;gap:14px;padding:16px;overflow-x:auto}.ree-group-list>a{flex:0 0 72px;text-align:center}.ree-group-list a>span{width:58px;height:58px;margin:auto;border-radius:17px;background:linear-gradient(145deg,#813ff0,#d43bca);background-size:cover;background-position:center;color:#fff;display:grid;place-items:center}.ree-group-list a>span svg{width:25px}.ree-group-list a>b{display:block;margin-top:6px;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}body.dark-feed[data-route="profile"]{background:var(--bg)}
@media(max-width:760px){body[data-route="profile"] .main-column{display:block!important;padding:10px!important}body[data-route="profile"] .ree-profile{gap:10px}body[data-route="profile"] .main-column .ree-profile>.card{margin:0 0 10px!important;border:1px solid var(--line)!important;border-radius:17px!important;box-shadow:0 4px 14px rgba(17,24,39,.07)!important}.ree-profile-card{padding:15px!important}.ree-profile-user>img{width:64px;height:64px}.ree-section header{padding:9px 13px!important}.ree-questionnaire>div{padding:11px 13px!important}.ree-empty-small{min-height:130px}.ree-group-list{padding:14px!important}}

/* Profile page pixel geometry matched against the licensed reference. */
.profile-top-title{display:flex;align-items:center;gap:10px;font-size:16px}.profile-top-title svg{width:21px;height:21px}.profile-top-title b{font-weight:750}body[data-route="profile"] .topbar{height:57px;border:0;border-radius:0 0 16px 16px;background:var(--surface);box-shadow:0 2px 8px rgba(17,24,39,.05);backdrop-filter:none}body[data-route="profile"] .topbar-in{max-width:none;padding:0 15px;gap:12px}body[data-route="profile"] .top-actions{gap:1px}body[data-route="profile"] .icon-btn{width:36px;height:36px;border-radius:50%}body[data-route="profile"] .app-layout{width:100%;max-width:1236px;grid-template-columns:280px minmax(0,620px) 280px;gap:12px;padding:14px 14px 0}body[data-route="profile"] .left-nav{top:71px;height:auto;padding:16px;border-radius:16px;background:var(--surface);box-shadow:0 5px 18px rgba(31,41,55,.08)}body[data-route="profile"] .nav-user{gap:12px;margin-bottom:8px;padding:12px;border-radius:12px;background:var(--soft)}body[data-route="profile"] .nav-user img{width:48px;height:48px;border-radius:28%;object-fit:cover}body[data-route="profile"] .nav-link{height:45px;padding:0 12px;border-radius:10px;font-size:14px;color:var(--text)}body[data-route="profile"] .nav-link svg{color:var(--text)}body[data-route="profile"] .nav-link:hover{background:var(--soft);color:var(--text)}body[data-route="profile"] .nav-link:hover svg{color:var(--text)}body[data-route="profile"] .sidebar-foot{padding:14px 13px 0}body[data-route="profile"] .ree-profile{gap:12px}body[data-route="profile"] .ree-profile-card{padding:15px 14px 13px}body[data-route="profile"] .ree-profile-actions{margin-top:10px}body[data-route="profile"] .ree-facts{margin-top:11px;padding-top:7px}body[data-route="profile"] .ree-facts>a,body[data-route="profile"] .ree-facts>div,body[data-route="profile"] .ree-info-toggle{min-height:28px}body[data-route="profile"] .ree-section header{min-height:42px}body[data-route="profile"] .ree-questionnaire>div{height:42px;padding:12px 13px}body[data-route="profile"] .ree-empty-small{min-height:106px}body[data-route="profile"] .home-side-card{margin-bottom:12px;padding:15px;border-radius:14px}
@media(max-width:1050px) and (min-width:761px){body[data-route="profile"] .app-layout{max-width:912px;grid-template-columns:280px minmax(0,620px)}body[data-route="profile"] .right-column{display:none}}
@media(max-width:760px){body[data-route="profile"] .mobile-head{height:56px;padding:0 12px;background:var(--surface);border:0;border-radius:0 0 14px 14px;box-shadow:0 2px 8px rgba(17,24,39,.05)}body[data-route="profile"] .mobile-head .profile-top-title{font-size:15px}body[data-route="profile"] .mobile-head .top-actions{margin-left:auto;gap:0}body[data-route="profile"] .main-column{padding:10px!important}body[data-route="profile"] .ree-profile-card{padding:14px!important}body[data-route="profile"] .ree-facts>a,body[data-route="profile"] .ree-facts>div,body[data-route="profile"] .ree-info-toggle{min-height:31px}body[data-route="profile"] .ree-empty-small{min-height:108px}}
body.dark-feed[data-route="profile"] .left-nav,body.dark-feed[data-route="profile"] .home-side-card{background:var(--surface);color:var(--text)}body.dark-feed[data-route="profile"] .nav-user,body.dark-feed[data-route="profile"] .home-side-card .side-room>span{background:var(--soft)}body.dark-feed[data-route="profile"] .nav-link,body.dark-feed[data-route="profile"] .nav-link svg,body.dark-feed[data-route="profile"] .side-room,body.dark-feed[data-route="profile"] .side-room strong{color:var(--text)!important}body.dark-feed[data-route="profile"] .nav-link:hover{background:var(--soft)!important;color:var(--text)!important}body.dark-feed[data-route="profile"] .home-side-card{box-shadow:0 4px 14px rgba(0,0,0,.25)}
body[data-route="profile"] .ree-profile>.card+.card{margin-top:0!important}body[data-route="profile"] .ree-facts{gap:0}body[data-route="profile"] .ree-facts>a,body[data-route="profile"] .ree-facts>div,body[data-route="profile"] .ree-info-toggle{height:28px;min-height:28px}
@media(min-width:761px){body[data-route="profile"] .ree-profile-card{height:359px}body[data-route="profile"] .ree-questionnaire{height:94px}body[data-route="profile"] .ree-questionnaire>header{height:51px}body[data-route="profile"] .ree-gifts{height:150px}body[data-route="profile"] .ree-gifts>header{height:51px}body[data-route="profile"] .ree-gifts .ree-empty-small{min-height:98px}body[data-route="profile"] .ree-groups>header{height:51px}}

/* Groups page matched to the licensed reference. */
body[data-route="groups"]{background:#f4f5f7}body[data-route="groups"] .topbar{height:57px;border:0;border-radius:0 0 16px 16px;background:var(--surface);box-shadow:0 2px 8px rgba(17,24,39,.05);backdrop-filter:none}body[data-route="groups"] .topbar-in{max-width:none;padding:0 15px}body[data-route="groups"] .global-search{display:none}body[data-route="groups"] .brand{font-size:24px;color:#7148d7}body[data-route="groups"] .brand-mark{width:30px;height:30px;border-radius:9px;box-shadow:none}body[data-route="groups"] .top-actions{gap:1px}body[data-route="groups"] .top-actions .icon-btn{width:36px;height:36px;border-radius:50%}body[data-route="groups"] .app-layout{width:100%;max-width:1236px;grid-template-columns:280px minmax(0,620px) 280px;gap:12px;padding:14px 14px 0}body[data-route="groups"] .left-nav{top:71px;height:auto;padding:16px;border-radius:16px;background:var(--surface);box-shadow:0 5px 18px rgba(31,41,55,.08)}body[data-route="groups"] .nav-user{gap:12px;margin-bottom:8px;padding:12px;border-radius:12px;background:var(--soft)}body[data-route="groups"] .nav-user img{width:48px;height:48px;border-radius:28%;object-fit:cover}body[data-route="groups"] .nav-link{height:45px;padding:0 12px;border-radius:10px;font-size:14px;color:var(--text)}body[data-route="groups"] .nav-link svg{color:var(--text)}body[data-route="groups"] .nav-link:hover{background:var(--soft);color:var(--text)}body[data-route="groups"] .nav-link.active{background:#f0e5ff;color:#9851eb}body[data-route="groups"] .nav-link.active svg{color:#9851eb}.ree-groups-page{display:grid;gap:10px}.ree-groups-search{height:44px;padding:0 14px;border-radius:14px;background:var(--surface);display:flex;align-items:center;gap:10px;box-shadow:0 3px 12px rgba(31,41,55,.07)}.ree-groups-search svg{width:18px;color:#a1a7b0}.ree-groups-search input{flex:1;border:0;outline:0;background:transparent;color:var(--text)}.ree-groups-tabs{height:44px;padding:4px;border-radius:14px;background:#e3e5ea;display:grid;grid-template-columns:repeat(3,1fr)}.ree-groups-tabs a{display:flex;align-items:center;justify-content:center;gap:6px;border-radius:11px;color:#747b87;font-size:12px;font-weight:700}.ree-groups-tabs a.active{background:var(--surface);color:var(--text);box-shadow:0 2px 7px rgba(31,41,55,.09)}.ree-groups-tabs span{min-width:19px;height:19px;padding:0 5px;border-radius:8px;background:#d7d9df;color:#777e89;display:grid;place-items:center;font-size:9px}.ree-groups-tabs a.active span{background:var(--primary);color:#fff}.ree-create-group{height:48px;padding:0 16px;border:0;border-radius:13px;background:linear-gradient(100deg,#9d49f4,#7a2ce5);color:#fff;display:flex;align-items:center;gap:10px;box-shadow:0 5px 15px rgba(136,73,254,.2)}.ree-create-group svg{width:21px}.ree-create-group b{font-size:13px}.ree-create-group span{margin-left:auto;font-weight:800}.ree-groups-list{display:grid;gap:10px}.ree-group-row{min-height:82px;padding:13px;display:flex;align-items:center;gap:13px}.ree-group-avatar{flex:0 0 58px;width:58px;height:58px;border-radius:17px;background:linear-gradient(145deg,#7836df,#cf3bc4);background-size:cover;background-position:center;color:#fff;display:grid;place-items:center}.ree-group-avatar svg{width:27px}.ree-group-row>div{min-width:0;flex:1}.ree-group-row>div b,.ree-group-row>div span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ree-group-row>div b{font-size:13px}.ree-group-row>div span{margin-top:5px;color:var(--muted);font-size:10px}.ree-group-row>.icon-btn{width:34px;height:34px}.ree-groups-empty{min-height:230px;display:grid;place-content:center;justify-items:center;gap:8px;color:var(--muted)}.ree-groups-empty svg{width:50px;height:50px;color:#b3b8c1}.ree-groups-empty b{color:var(--text)}.ree-groups-empty span{font-size:11px}body[data-route="groups"] .home-side-card{margin-bottom:12px;padding:15px;border-radius:14px}
body.dark-feed[data-route="groups"] .left-nav,body.dark-feed[data-route="groups"] .home-side-card,body.dark-feed[data-route="groups"] .ree-groups-search{background:var(--surface);color:var(--text)}body.dark-feed[data-route="groups"] .ree-groups-tabs{background:var(--soft)}body.dark-feed[data-route="groups"] .ree-groups-tabs a.active{background:#343a47;color:#fff}body.dark-feed[data-route="groups"] .nav-link,body.dark-feed[data-route="groups"] .nav-link svg,body.dark-feed[data-route="groups"] .side-room{color:var(--text)!important}
@media(max-width:1050px) and (min-width:761px){body[data-route="groups"] .app-layout{max-width:912px;grid-template-columns:280px minmax(0,620px)}body[data-route="groups"] .right-column{display:none}}
@media(max-width:760px){body[data-route="groups"]{background:#f4f5f7!important}body[data-route="groups"] .main-column{padding:10px!important}.ree-groups-page{gap:9px}.ree-groups-search,.ree-groups-tabs,.ree-create-group{border-radius:13px}.ree-group-row{margin:0!important;border:1px solid var(--line)!important;border-radius:16px!important;box-shadow:0 3px 12px rgba(31,41,55,.06)!important}.ree-groups-empty{margin:0!important;border:1px solid var(--line)!important;border-radius:16px!important;box-shadow:0 3px 12px rgba(31,41,55,.06)!important}}

/* Rooms page matched to the licensed reference. */
body[data-route="rooms"]{background:#f4f5f7}body[data-route="rooms"] .topbar{height:57px;border:0;border-radius:0 0 16px 16px;background:var(--surface);box-shadow:0 2px 8px rgba(17,24,39,.05);backdrop-filter:none}body[data-route="rooms"] .topbar-in{max-width:none;padding:0 15px}body[data-route="rooms"] .global-search{display:none}body[data-route="rooms"] .brand{font-size:24px;color:#7148d7}body[data-route="rooms"] .brand-mark{width:30px;height:30px;border-radius:9px;box-shadow:none}body[data-route="rooms"] .top-actions{gap:1px}body[data-route="rooms"] .top-actions .icon-btn{width:36px;height:36px;border-radius:50%}body[data-route="rooms"] .app-layout{width:100%;max-width:1236px;grid-template-columns:280px minmax(0,620px) 280px;gap:12px;padding:14px 14px 0}body[data-route="rooms"] .left-nav{top:71px;height:auto;padding:16px;border-radius:16px;background:var(--surface);box-shadow:0 5px 18px rgba(31,41,55,.08)}body[data-route="rooms"] .nav-user{gap:12px;margin-bottom:8px;padding:12px;border-radius:12px;background:var(--soft)}body[data-route="rooms"] .nav-user img{width:48px;height:48px;border-radius:28%;object-fit:cover}body[data-route="rooms"] .nav-link{height:45px;padding:0 12px;border-radius:10px;font-size:14px;color:var(--text)}body[data-route="rooms"] .nav-link svg{color:var(--text)}body[data-route="rooms"] .nav-link:hover{background:var(--soft);color:var(--text)}body[data-route="rooms"] .nav-link.active{background:#f0e5ff;color:#9851eb}body[data-route="rooms"] .nav-link.active svg{color:#9851eb}body[data-route="rooms"] .home-side-card{margin-bottom:12px;padding:15px;border-radius:14px}.ree-rooms-page{display:grid;gap:10px}.ree-rooms-top{display:grid;grid-template-columns:1fr 168px;gap:10px}.ree-rooms-search{height:45px;padding:0 14px;border-radius:14px;background:var(--surface);display:flex;align-items:center;gap:10px;box-shadow:0 3px 12px rgba(31,41,55,.07)}.ree-rooms-search svg{width:18px;color:#a1a7b0}.ree-rooms-search input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:var(--text)}.ree-create-room{height:45px;padding:0 13px;border:0;border-radius:13px;background:linear-gradient(100deg,#a23df0,#8035e9);color:#fff;display:flex;align-items:center;justify-content:center;gap:8px;box-shadow:0 5px 15px rgba(136,73,254,.2)}.ree-create-room svg{width:18px}.ree-create-room b{font-size:12px;white-space:nowrap}.ree-room-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.ree-room-stats span{height:38px;border-radius:12px;display:flex;align-items:center;justify-content:center;gap:6px;font-size:10px;font-weight:700;color:#8351d7}.ree-room-stats span:nth-child(1){background:#eadffd}.ree-room-stats span:nth-child(2){background:#f8ead7;color:#b77c31}.ree-room-stats span:nth-child(3){background:#d9f3ec;color:#338e76}.ree-room-stats span:nth-child(4){background:#f9dfeb;color:#c35285}.ree-room-stats svg{width:15px}.ree-room-filter{height:43px;padding:4px;border-radius:13px;background:#e3e5ea;display:grid;grid-template-columns:repeat(6,1fr)}.ree-room-filter a{min-width:0;border-radius:10px;color:#777e8a;display:grid;place-items:center;font-size:10px;font-weight:700;white-space:nowrap}.ree-room-filter a.active{background:var(--surface);color:var(--text);box-shadow:0 2px 7px rgba(31,41,55,.09)}.ree-room-now{overflow:hidden}.ree-room-now>header{min-height:66px;padding:12px 14px;display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--line)}.ree-room-now>header>svg{width:27px;height:27px;color:#9a57ee}.ree-room-now>header>div:not(.ree-room-faces){min-width:0;flex:1}.ree-room-now>header b,.ree-room-now>header span{display:block}.ree-room-now>header b{font-size:13px}.ree-room-now>header b i{margin-left:6px;padding:3px 7px;border-radius:8px;background:#dff7ed;color:#26a87a;font-size:8px;font-style:normal}.ree-room-now>header span{margin-top:3px;color:var(--muted);font-size:10px}.ree-room-faces{display:flex;flex-direction:row-reverse}.ree-room-faces img{width:29px;height:29px;margin-left:-7px;border:2px solid var(--surface);border-radius:50%;object-fit:cover}.ree-room-activity{position:relative;width:100%;min-height:69px;padding:9px 14px;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--text);display:flex;align-items:flex-start;gap:10px;text-align:left}.ree-room-activity:last-child{border-bottom:0}.ree-room-activity:hover{background:var(--soft)}.ree-room-activity>img{width:38px;height:38px;border-radius:50%;object-fit:cover}.ree-room-activity>div{min-width:0;flex:1}.ree-room-activity b{display:block;font-size:11px}.ree-room-activity b small{margin-left:5px;color:var(--dim);font-weight:500}.ree-room-activity p{margin:4px 0 0;font-size:11px;line-height:1.35}.ree-room-activity>span{max-width:125px;margin-left:auto;padding:4px 8px;border-radius:9px;background:#f0e5ff;color:#9653df;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ree-room-empty{min-height:175px;display:grid;place-content:center;justify-items:center;gap:7px;color:var(--muted)}.ree-room-empty svg{width:44px;height:44px;color:#b6bbc3}.ree-room-empty b{color:var(--text)}.ree-room-empty span{font-size:11px}.ree-popular-title{display:flex;align-items:center;padding:1px 2px;color:var(--muted);font-size:10px}.ree-popular-title a{margin-left:auto;display:flex;align-items:center;gap:5px;color:var(--primary)}.ree-popular-title svg{width:16px}.ree-popular-rooms{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.ree-room-card{position:relative;min-width:0;min-height:174px;padding:13px}.ree-room-card-head{display:flex;align-items:flex-start}.ree-room-card-head img{width:43px;height:43px;border-radius:13px;object-fit:cover}.ree-room-card-head i{margin-left:auto;padding:4px 8px;border-radius:9px;background:#ff465f;color:#fff;font-size:8px;font-style:normal}.ree-room-card>b{display:block;margin-top:10px;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ree-room-card>p{height:31px;margin:5px 0 9px;color:var(--muted);font-size:9px;line-height:1.35;overflow:hidden}.ree-room-card>footer{display:flex;align-items:center;gap:5px}.ree-room-card>footer span{display:flex;align-items:center;gap:3px;padding:3px 5px;border-radius:8px;background:#f0e5ff;color:#8e50d3;font-size:8px}.ree-room-card>footer span:last-child{background:#def6ed;color:#24a678}.ree-room-card>footer svg{width:12px}.ree-room-card>button{position:absolute;inset:0;border:0;background:transparent}.ree-popular-empty{grid-column:1/-1;padding:18px;text-align:center;color:var(--muted);font-size:11px}
body.dark-feed[data-route="rooms"] .left-nav,body.dark-feed[data-route="rooms"] .home-side-card,body.dark-feed[data-route="rooms"] .ree-rooms-search{background:var(--surface);color:var(--text)}body.dark-feed[data-route="rooms"] .ree-room-filter{background:var(--soft)}body.dark-feed[data-route="rooms"] .ree-room-filter a.active{background:#343a47;color:#fff}body.dark-feed[data-route="rooms"] .nav-link,body.dark-feed[data-route="rooms"] .nav-link svg,body.dark-feed[data-route="rooms"] .side-room{color:var(--text)!important}body.dark-feed[data-route="rooms"] .ree-room-activity>span{background:#3a2c55;color:#d6b6ff}
@media(max-width:1050px) and (min-width:761px){body[data-route="rooms"] .app-layout{max-width:912px;grid-template-columns:280px minmax(0,620px)}body[data-route="rooms"] .right-column{display:none}}
@media(max-width:760px){body[data-route="rooms"]{background:#f4f5f7!important}body.dark-feed[data-route="rooms"]{background:var(--bg)!important}body[data-route="rooms"] .main-column{padding:10px!important}.ree-rooms-page{gap:9px}.ree-rooms-top{grid-template-columns:1fr 48px}.ree-create-room{width:48px;padding:0}.ree-create-room b{display:none}.ree-room-stats{grid-template-columns:repeat(2,1fr)}.ree-room-filter{display:flex;overflow-x:auto;scrollbar-width:none}.ree-room-filter a{flex:0 0 86px}.ree-room-now,.ree-room-card,.ree-popular-empty{margin:0!important;border:1px solid var(--line)!important;border-radius:16px!important;box-shadow:0 3px 12px rgba(31,41,55,.06)!important}.ree-room-activity>span{max-width:90px}.ree-popular-rooms{grid-template-columns:repeat(2,minmax(0,1fr))}.ree-room-card:nth-child(n+5){display:none}.ree-room-card{min-height:165px;padding:12px}.ree-room-card>footer{align-items:flex-start;flex-direction:column}.ree-room-card>p{height:29px}body.dark-feed[data-route="rooms"] .ree-popular-title,body.dark-feed[data-route="rooms"] .ree-popular-empty{color:var(--muted)}body.dark-feed[data-route="rooms"] .ree-popular-empty{background:var(--surface)}}

/* Followers page matched to the licensed reference. */
body[data-route="subscriptions"]{background:#f4f5f7}body[data-route="subscriptions"] .topbar{height:57px;border:0;border-radius:0 0 16px 16px;background:var(--surface);box-shadow:0 2px 8px rgba(17,24,39,.05);backdrop-filter:none}body[data-route="subscriptions"] .topbar-in{max-width:none;padding:0 15px}body[data-route="subscriptions"] .global-search{display:none}body[data-route="subscriptions"] .brand{font-size:24px;color:#7148d7}body[data-route="subscriptions"] .brand-mark{width:30px;height:30px;border-radius:9px;box-shadow:none}body[data-route="subscriptions"] .top-actions{gap:1px}body[data-route="subscriptions"] .top-actions .icon-btn{width:36px;height:36px;border-radius:50%}body[data-route="subscriptions"] .app-layout{width:100%;max-width:1236px;grid-template-columns:280px minmax(0,620px) 280px;gap:12px;padding:14px 14px 0}body[data-route="subscriptions"] .left-nav{top:71px;height:auto;padding:16px;border-radius:16px;background:var(--surface);box-shadow:0 5px 18px rgba(31,41,55,.08)}body[data-route="subscriptions"] .nav-user{gap:12px;margin-bottom:8px;padding:12px;border-radius:12px;background:var(--soft)}body[data-route="subscriptions"] .nav-user img{width:48px;height:48px;border-radius:28%;object-fit:cover}body[data-route="subscriptions"] .nav-link{height:45px;padding:0 12px;border-radius:10px;font-size:14px;color:var(--text)}body[data-route="subscriptions"] .nav-link svg{color:var(--text)}body[data-route="subscriptions"] .nav-link:hover{background:var(--soft);color:var(--text)}body[data-route="subscriptions"] .nav-link.active{background:#f0e5ff;color:#9851eb}body[data-route="subscriptions"] .nav-link.active svg{color:#9851eb}.ree-subs-page{display:grid;gap:10px}.ree-subs-tabs{height:45px;padding:4px;border-radius:14px;background:#e3e5ea;display:grid;grid-template-columns:repeat(2,1fr)}.ree-subs-tabs a{display:flex;align-items:center;justify-content:center;gap:6px;border-radius:11px;color:#747b87;font-size:12px;font-weight:700}.ree-subs-tabs a.active{background:var(--surface);color:var(--text);box-shadow:0 2px 7px rgba(31,41,55,.09)}.ree-subs-tabs span{min-width:19px;height:19px;padding:0 5px;border-radius:8px;background:#d7d9df;color:#777e89;display:grid;place-items:center;font-size:9px}.ree-subs-tabs a.active span{background:var(--primary);color:#fff}.ree-subs-list{min-height:220px}.ree-subs-empty{min-height:220px;display:grid;place-content:center;justify-items:center;gap:13px;color:var(--muted)}.ree-subs-empty svg{width:58px;height:58px;color:#a9aeb7}.ree-subs-empty b{color:var(--text);font-size:14px}.ree-sub-row{min-height:76px;padding:11px 14px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:11px}.ree-sub-row:last-child{border-bottom:0}.ree-sub-row>a:first-child img{width:50px;height:50px;border-radius:50%;object-fit:cover}.ree-sub-row>div{min-width:0;flex:1}.ree-sub-row>div b,.ree-sub-row>div span{display:block}.ree-sub-row>div b{font-size:12px}.ree-sub-row>div span{margin-top:4px;color:var(--muted);font-size:10px}.ree-sub-row>.btn{min-height:31px;padding:0 11px;font-size:10px}.ree-sub-row>.btn svg{width:14px}body.dark-feed[data-route="subscriptions"] .left-nav{background:var(--surface);color:var(--text)}body.dark-feed[data-route="subscriptions"] .ree-subs-tabs{background:var(--soft)}body.dark-feed[data-route="subscriptions"] .ree-subs-tabs a.active{background:#343a47;color:#fff}body.dark-feed[data-route="subscriptions"] .nav-link,body.dark-feed[data-route="subscriptions"] .nav-link svg{color:var(--text)!important}
@media(max-width:1050px) and (min-width:761px){body[data-route="subscriptions"] .app-layout{max-width:912px;grid-template-columns:280px minmax(0,620px)}body[data-route="subscriptions"] .right-column{display:none}}
@media(max-width:760px){body[data-route="subscriptions"]{background:#f4f5f7!important}body.dark-feed[data-route="subscriptions"]{background:var(--bg)!important}body[data-route="subscriptions"] .main-column{padding:10px!important}.ree-subs-tabs{border-radius:13px}.ree-subs-list{margin:0!important;border:1px solid var(--line)!important;border-radius:16px!important;box-shadow:0 3px 12px rgba(31,41,55,.06)!important}.ree-sub-row{padding:10px 12px}.ree-sub-row>.btn svg{display:none}}
body.dark-feed[data-route="subscriptions"] .home-side-card{background:var(--surface)!important;color:var(--text)!important;box-shadow:0 4px 14px rgba(0,0,0,.25)}body.dark-feed[data-route="subscriptions"] .side-room,body.dark-feed[data-route="subscriptions"] .side-room strong{color:var(--text)!important}body.dark-feed[data-route="subscriptions"] .nav-link.active,body.dark-feed[data-route="subscriptions"] .nav-link.active svg{color:#9851eb!important}

/* Users page matched to the licensed reference. */
body[data-route="people"]{background:#f4f5f7}body[data-route="people"] .topbar{height:57px;border:0;border-radius:0 0 16px 16px;background:var(--surface);box-shadow:0 2px 8px rgba(17,24,39,.05);backdrop-filter:none}body[data-route="people"] .topbar-in{max-width:none;padding:0 15px}body[data-route="people"] .global-search{display:none}body[data-route="people"] .brand{font-size:24px;color:#7148d7}body[data-route="people"] .brand-mark{width:30px;height:30px;border-radius:9px;box-shadow:none}body[data-route="people"] .top-actions{gap:1px}body[data-route="people"] .top-actions .icon-btn{width:36px;height:36px;border-radius:50%}body[data-route="people"] .app-layout{width:100%;max-width:1236px;grid-template-columns:280px minmax(0,620px) 280px;gap:12px;padding:14px 14px 0}body[data-route="people"] .left-nav{top:71px;height:auto;padding:16px;border-radius:16px;background:var(--surface);box-shadow:0 5px 18px rgba(31,41,55,.08)}body[data-route="people"] .nav-user{gap:12px;margin-bottom:8px;padding:12px;border-radius:12px;background:var(--soft)}body[data-route="people"] .nav-user img{width:48px;height:48px;border-radius:28%;object-fit:cover}body[data-route="people"] .nav-link{height:45px;padding:0 12px;border-radius:10px;font-size:14px;color:var(--text)}body[data-route="people"] .nav-link svg{color:var(--text)}body[data-route="people"] .nav-link:hover{background:var(--soft);color:var(--text)}body[data-route="people"] .nav-link.active{background:#f0e5ff;color:#9851eb}body[data-route="people"] .nav-link.active svg{color:#9851eb}body[data-route="people"] .home-side-card{margin-bottom:12px;padding:15px;border-radius:14px}.ree-users-page{display:grid;gap:10px}.ree-users-tabs{height:45px;padding:4px;border-radius:14px;background:#e3e5ea;display:grid;grid-template-columns:repeat(3,1fr)}.ree-users-tabs a{display:flex;align-items:center;justify-content:center;gap:6px;border-radius:11px;color:#747b87;font-size:12px;font-weight:700}.ree-users-tabs a.active{background:var(--surface);color:var(--text);box-shadow:0 2px 7px rgba(31,41,55,.09)}.ree-users-tabs span{min-width:19px;height:19px;padding:0 5px;border-radius:8px;background:#d7d9df;color:#777e89;display:grid;place-items:center;font-size:9px}.ree-users-tabs a.active span{background:var(--primary);color:#fff}.ree-users-list{overflow:hidden}.ree-users-search{margin:12px;padding:6px 7px 6px 12px;border:1px solid var(--line);border-radius:12px;background:var(--soft);display:flex;align-items:center;gap:8px}.ree-users-search svg{width:17px;color:var(--muted)}.ree-users-search input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:var(--text)}.ree-user-row{min-height:84px;padding:12px 14px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:12px}.ree-user-row:last-child{border-bottom:0}.ree-user-row:hover{background:var(--soft)}.ree-user-avatar{position:relative;flex:0 0 50px}.ree-user-avatar img{width:50px;height:50px;border-radius:50%;object-fit:cover}.ree-user-avatar i{position:absolute;right:0;bottom:1px;width:12px;height:12px;border:2px solid var(--surface);border-radius:50%;background:#10b981}.ree-user-main{min-width:0;flex:1}.ree-user-main>b,.ree-user-main>span,.ree-user-main>em{display:block}.ree-user-main>b{font-size:12px}.ree-user-main>b small{display:inline-block;margin-left:4px;padding:2px 5px;border-radius:5px;background:var(--soft);color:var(--muted);font-size:8px}.ree-user-main .verified-dot{display:inline-grid;place-items:center;width:14px;height:14px;border-radius:50%;background:#4f8fe9;color:#fff;font-size:8px;font-style:normal}.ree-user-main>span{margin-top:3px;color:var(--muted);font-size:10px}.ree-user-main>em{margin-top:3px;color:#12ae81;font-size:10px;font-style:normal}.ree-users-empty{min-height:250px;display:grid;place-content:center;justify-items:center;gap:8px;color:var(--muted)}.ree-users-empty svg{width:54px;height:54px}.ree-users-empty b{color:var(--text)}.ree-users-empty span{font-size:11px}body.dark-feed[data-route="people"] .left-nav,body.dark-feed[data-route="people"] .home-side-card{background:var(--surface)!important;color:var(--text)!important}body.dark-feed[data-route="people"] .ree-users-tabs{background:var(--soft)}body.dark-feed[data-route="people"] .ree-users-tabs a.active{background:#343a47;color:#fff}body.dark-feed[data-route="people"] .nav-link:not(.active),body.dark-feed[data-route="people"] .nav-link:not(.active) svg,body.dark-feed[data-route="people"] .side-room,body.dark-feed[data-route="people"] .side-room strong{color:var(--text)!important}body.dark-feed[data-route="people"] .nav-link.active,body.dark-feed[data-route="people"] .nav-link.active svg{color:#9851eb!important}
@media(max-width:1050px) and (min-width:761px){body[data-route="people"] .app-layout{max-width:912px;grid-template-columns:280px minmax(0,620px)}body[data-route="people"] .right-column{display:none}}
@media(max-width:760px){body[data-route="people"]{background:#f4f5f7!important}body.dark-feed[data-route="people"]{background:var(--bg)!important}body[data-route="people"] .main-column{padding:10px!important}.ree-users-tabs{border-radius:13px}.ree-users-list{margin:0!important;border:1px solid var(--line)!important;border-radius:16px!important;box-shadow:0 3px 12px rgba(31,41,55,.06)!important}.ree-user-row{min-height:78px;padding:10px 12px}}
body[data-route="people"] .brand{gap:10px;color:var(--text);font-size:16px;font-weight:750}body[data-route="people"] .brand .brand-mark,body[data-route="people"] .brand>span:last-child{display:none}body[data-route="people"] .brand:before{content:"←";width:34px;height:34px;border-radius:10px;background:var(--soft);display:grid;place-items:center;color:var(--muted);font-size:20px}body[data-route="people"] .brand:after{content:attr(data-page-title)}

/* Notifications page matched to the licensed reference. */
body[data-route="notifications"]{background:#f4f5f7}body[data-route="notifications"] .topbar{height:57px;border:0;border-radius:0 0 16px 16px;background:var(--surface);box-shadow:0 2px 8px rgba(17,24,39,.05);backdrop-filter:none}body[data-route="notifications"] .topbar-in{max-width:none;padding:0 15px}body[data-route="notifications"] .global-search{display:none}body[data-route="notifications"] .top-actions{gap:1px}body[data-route="notifications"] .top-actions .icon-btn{width:36px;height:36px;border-radius:50%}body[data-route="notifications"] .app-layout{width:100%;max-width:1236px;grid-template-columns:280px minmax(0,650px) 280px;gap:12px;padding:14px 14px 0}body[data-route="notifications"] .left-nav{top:71px;height:auto;padding:16px;border-radius:16px;background:var(--surface);box-shadow:0 5px 18px rgba(31,41,55,.08)}body[data-route="notifications"] .nav-user{gap:12px;margin-bottom:8px;padding:12px;border-radius:12px;background:var(--soft)}body[data-route="notifications"] .nav-user img{width:48px;height:48px;border-radius:28%;object-fit:cover}body[data-route="notifications"] .nav-link{height:45px;padding:0 12px;border-radius:10px;font-size:14px;color:var(--text)}body[data-route="notifications"] .nav-link svg{color:var(--text)}body[data-route="notifications"] .nav-link:hover{background:var(--soft);color:var(--text)}body[data-route="notifications"] .nav-link.active{background:#f0e5ff;color:#9851eb}body[data-route="notifications"] .nav-link.active svg{color:#9851eb}body[data-route="notifications"] .home-side-card{margin-bottom:12px;padding:15px;border-radius:14px}body[data-route="notifications"] .brand{gap:10px;color:var(--text);font-size:16px;font-weight:750}body[data-route="notifications"] .brand .brand-mark,body[data-route="notifications"] .brand>span:last-child{display:none}body[data-route="notifications"] .brand:before{content:"←";width:34px;height:34px;border-radius:10px;background:var(--soft);display:grid;place-items:center;color:var(--muted);font-size:20px}body[data-route="notifications"] .brand:after{content:attr(data-page-title)}.ree-notifications-page{display:grid;gap:10px}.ree-notification-actions{height:44px;display:flex;align-items:center;justify-content:flex-end;gap:8px}.ree-notification-actions .btn{background:var(--surface);box-shadow:0 2px 8px rgba(31,41,55,.06);color:var(--muted)}.ree-notification-day{padding:0 5px;color:var(--muted);font-size:11px;font-weight:700}.ree-notification-list{display:grid;gap:8px}.ree-notification-row{position:relative;min-height:62px;padding:9px 12px;border-radius:15px;background:var(--surface);box-shadow:0 3px 13px rgba(31,41,55,.06);display:flex;align-items:center;gap:10px}.ree-notification-row.unread{border-left:3px solid #23c58f}.ree-notification-avatar{position:relative;flex:0 0 42px}.ree-notification-avatar img{width:42px;height:42px;border-radius:50%;object-fit:cover}.ree-notification-avatar>svg{position:absolute;right:-2px;bottom:-2px;width:17px;height:17px;padding:3px;border-radius:50%;background:#29bf8e;color:#fff}.ree-notification-icon{flex:0 0 42px;width:42px;height:42px;border-radius:50%;background:var(--primary-light);color:var(--primary);display:grid;place-items:center}.ree-notification-icon svg{width:21px}.ree-notification-main{min-width:0;flex:1}.ree-notification-main>b{display:block;font-size:12px}.ree-notification-main>b strong{font-weight:500}.ree-notification-main small{display:flex;align-items:center;gap:7px;margin-top:4px;color:var(--muted);font-size:9px}.ree-notification-main small i{padding:2px 6px;border-radius:7px;background:#18b77f;color:#fff;font-style:normal}.ree-notification-more{width:28px;height:28px;border-radius:8px;background:var(--soft);display:grid;place-items:center;color:var(--muted)}.ree-notification-more svg{width:15px}.ree-notifications-empty{min-height:230px;display:grid;place-content:center;justify-items:center;gap:8px;color:var(--muted)}.ree-notifications-empty svg{width:52px;height:52px}.ree-notifications-empty b{color:var(--text)}.ree-notifications-empty span{font-size:11px}body.dark-feed[data-route="notifications"] .left-nav,body.dark-feed[data-route="notifications"] .home-side-card{background:var(--surface)!important;color:var(--text)!important}body.dark-feed[data-route="notifications"] .nav-link:not(.active),body.dark-feed[data-route="notifications"] .nav-link:not(.active) svg,body.dark-feed[data-route="notifications"] .side-room,body.dark-feed[data-route="notifications"] .side-room strong{color:var(--text)!important}body.dark-feed[data-route="notifications"] .nav-link.active,body.dark-feed[data-route="notifications"] .nav-link.active svg{color:#9851eb!important}
@media(max-width:1050px) and (min-width:761px){body[data-route="notifications"] .app-layout{max-width:942px;grid-template-columns:280px minmax(0,650px)}body[data-route="notifications"] .right-column{display:none}}
@media(max-width:760px){body[data-route="notifications"]{background:#f4f5f7!important}body.dark-feed[data-route="notifications"]{background:var(--bg)!important}body[data-route="notifications"] .main-column{padding:10px!important}.ree-notification-actions{height:38px}.ree-notification-row,.ree-notifications-empty{margin:0!important;border-radius:15px!important}.ree-notification-main>b{line-height:1.35}.ree-notification-actions .btn{padding:0 10px;font-size:10px}}

/* Chats page matched to the licensed reference. */
body[data-route="messages"]{background:#f4f5f7}body[data-route="messages"] .topbar{height:57px;border:0;border-radius:0 0 16px 16px;background:var(--surface);box-shadow:0 2px 8px rgba(17,24,39,.05);backdrop-filter:none}body[data-route="messages"] .topbar-in{max-width:none;padding:0 15px}body[data-route="messages"] .global-search{display:none}body[data-route="messages"] .top-actions{gap:1px}body[data-route="messages"] .top-actions .icon-btn{width:36px;height:36px;border-radius:50%}body[data-route="messages"] .app-layout{width:100%;max-width:1236px;grid-template-columns:280px minmax(0,650px) 280px;gap:12px;padding:14px 14px 0}body[data-route="messages"] .left-nav{top:71px;height:auto;padding:16px;border-radius:16px;background:var(--surface);box-shadow:0 5px 18px rgba(31,41,55,.08)}body[data-route="messages"] .nav-user{gap:12px;margin-bottom:8px;padding:12px;border-radius:12px;background:var(--soft)}body[data-route="messages"] .nav-user img{width:48px;height:48px;border-radius:28%;object-fit:cover}body[data-route="messages"] .nav-link{height:45px;padding:0 12px;border-radius:10px;font-size:14px;color:var(--text)}body[data-route="messages"] .nav-link svg{color:var(--text)}body[data-route="messages"] .nav-link:hover{background:var(--soft);color:var(--text)}body[data-route="messages"] .nav-link.active{background:#f0e5ff;color:#9851eb}body[data-route="messages"] .nav-link.active svg{color:#9851eb}body[data-route="messages"] .home-side-card{margin-bottom:12px;padding:15px;border-radius:14px}body[data-route="messages"] .brand{gap:10px;color:var(--text);font-size:16px;font-weight:750}body[data-route="messages"] .brand .brand-mark,body[data-route="messages"] .brand>span:last-child{display:none}body[data-route="messages"] .brand:before{content:"←";width:34px;height:34px;border-radius:10px;background:var(--soft);display:grid;place-items:center;color:var(--muted);font-size:20px}body[data-route="messages"] .brand:after{content:attr(data-page-title)}.ree-chats-page{display:grid;gap:10px}.ree-chats-top{display:grid;grid-template-columns:1fr 46px 46px;gap:9px}.ree-chats-top form{height:45px;padding:0 14px;border-radius:14px;background:var(--surface);display:flex;align-items:center;gap:10px;box-shadow:0 3px 12px rgba(31,41,55,.07)}.ree-chats-top form svg{width:18px;color:var(--muted)}.ree-chats-top input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:var(--text)}.ree-chats-top>.icon-btn{width:46px;height:45px;border-radius:13px;background:var(--surface);box-shadow:0 3px 12px rgba(31,41,55,.07)}.ree-chats-tabs{height:45px;padding:4px;border-radius:14px;background:#e3e5ea;display:grid;grid-template-columns:repeat(3,1fr)}.ree-chats-tabs button{border:0;border-radius:11px;background:transparent;color:#747b87;font-size:12px;font-weight:700}.ree-chats-tabs button.active{background:var(--surface);color:var(--text);box-shadow:0 2px 7px rgba(31,41,55,.09)}.ree-chats-tabs span{display:inline-grid;place-items:center;min-width:18px;height:18px;margin-left:3px;padding:0 5px;border-radius:8px;background:#d7d9df;font-size:9px}.ree-chats-tabs .active span{background:var(--primary);color:#fff}.ree-chat-list{min-height:310px}.ree-chats-empty{min-height:310px;display:grid;place-content:center;justify-items:center;gap:9px;text-align:center;color:var(--muted)}.ree-chats-empty>svg{width:62px;height:62px;color:#a9afb8}.ree-chats-empty>b{color:var(--text);font-size:14px}.ree-chats-empty>span{font-size:11px}.ree-chats-empty>div{display:flex;gap:9px;margin-top:11px}.ree-chats-empty .btn{font-size:11px}.ree-chat-row{min-height:74px;padding:10px 13px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:11px}.ree-chat-row:last-child{border-bottom:0}.ree-chat-row:hover{background:var(--soft)}.ree-chat-row>img{width:50px;height:50px;border-radius:50%;object-fit:cover}.ree-chat-row>span{min-width:0;flex:1}.ree-chat-row b,.ree-chat-row small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ree-chat-row b{font-size:12px}.ree-chat-row small,.ree-chat-row time{color:var(--muted);font-size:10px}.ree-chat-row small{margin-top:5px}.ree-chat-row>i{min-width:19px;height:19px;border-radius:9px;background:var(--primary);color:#fff;display:grid;place-items:center;font-size:9px;font-style:normal}.ree-open-chat{height:calc(100vh - 90px)!important}body.dark-feed[data-route="messages"] .left-nav,body.dark-feed[data-route="messages"] .home-side-card,body.dark-feed[data-route="messages"] .ree-chats-top form,body.dark-feed[data-route="messages"] .ree-chats-top>.icon-btn{background:var(--surface)!important;color:var(--text)!important}body.dark-feed[data-route="messages"] .ree-chats-tabs{background:var(--soft)}body.dark-feed[data-route="messages"] .ree-chats-tabs button.active{background:#343a47;color:#fff}body.dark-feed[data-route="messages"] .nav-link:not(.active),body.dark-feed[data-route="messages"] .nav-link:not(.active) svg,body.dark-feed[data-route="messages"] .side-room,body.dark-feed[data-route="messages"] .side-room strong{color:var(--text)!important}body.dark-feed[data-route="messages"] .nav-link.active,body.dark-feed[data-route="messages"] .nav-link.active svg{color:#9851eb!important}
@media(max-width:1050px) and (min-width:761px){body[data-route="messages"] .app-layout{max-width:942px;grid-template-columns:280px minmax(0,650px)}body[data-route="messages"] .right-column{display:none}}
@media(max-width:760px){body[data-route="messages"]{background:#f4f5f7!important}body.dark-feed[data-route="messages"]{background:var(--bg)!important}body[data-route="messages"] .main-column{padding:10px!important}.ree-chats-top{grid-template-columns:1fr 42px 42px}.ree-chats-top>.icon-btn{width:42px}.ree-chats-tabs{border-radius:13px}.ree-chat-list{margin:0!important;border:1px solid var(--line)!important;border-radius:16px!important;box-shadow:0 3px 12px rgba(31,41,55,.06)!important}.ree-chats-empty>div{flex-direction:column;width:100%}.ree-open-chat{height:calc(100dvh - 140px)!important;margin:0!important;border-radius:16px!important}.ree-open-chat .dialogs{display:none}.ree-open-chat .thread{position:static;inset:auto;height:100%;transform:none;background:var(--surface)}}

/* Dating page shell and card geometry matched to the licensed reference. */
body[data-route="dating"] .topbar{height:57px;border:0;border-radius:0 0 16px 16px;background:var(--surface);box-shadow:0 2px 8px rgba(17,24,39,.05);backdrop-filter:none}body[data-route="dating"] .topbar-in{max-width:none;padding:0 15px}body[data-route="dating"] .global-search{display:none}body[data-route="dating"] .brand{gap:10px;color:var(--text);font-size:16px;font-weight:750}body[data-route="dating"] .brand .brand-mark,body[data-route="dating"] .brand>span:last-child{display:none}body[data-route="dating"] .brand:before{content:"←";width:34px;height:34px;border-radius:10px;background:var(--soft);display:grid;place-items:center;color:var(--muted);font-size:20px}body[data-route="dating"] .brand:after{content:attr(data-page-title)}body[data-route="dating"] .app-layout{width:100%;max-width:1236px;grid-template-columns:280px minmax(0,650px) 280px;gap:12px;padding:14px 14px 0}body[data-route="dating"] .left-nav{top:71px;height:auto;padding:16px;border-radius:16px;background:var(--surface);box-shadow:0 5px 18px rgba(31,41,55,.08)}body[data-route="dating"] .nav-user{gap:12px;margin-bottom:8px;padding:12px;border-radius:12px;background:var(--soft)}body[data-route="dating"] .nav-user img{width:48px;height:48px;border-radius:28%;object-fit:cover}body[data-route="dating"] .nav-link{height:45px;padding:0 12px;border-radius:10px;font-size:14px;color:var(--text)}body[data-route="dating"] .nav-link svg{color:var(--text)}body[data-route="dating"] .nav-link:hover{background:var(--soft);color:var(--text)}body[data-route="dating"] .nav-link.active{background:#f0e5ff;color:#9851eb}body[data-route="dating"] .nav-link.active svg{color:#9851eb}body[data-route="dating"] .dating-page{padding:0}body[data-route="dating"] .dating-warning{margin:0 0 10px}body[data-route="dating"] .dating-tabs{margin-bottom:12px}body[data-route="dating"] .dating-card{width:438px;height:605px;min-height:0;margin:0 auto}body[data-route="dating"] .dating-actions{width:438px;margin:-27px auto 0}body[data-route="dating"] .home-side-card{margin-bottom:12px;padding:15px;border-radius:14px}body.dark-feed[data-route="dating"] .left-nav,body.dark-feed[data-route="dating"] .home-side-card{background:var(--surface)!important;color:var(--text)!important}body.dark-feed[data-route="dating"] .nav-link:not(.active),body.dark-feed[data-route="dating"] .nav-link:not(.active) svg,body.dark-feed[data-route="dating"] .side-room,body.dark-feed[data-route="dating"] .side-room strong{color:var(--text)!important}body.dark-feed[data-route="dating"] .nav-link.active,body.dark-feed[data-route="dating"] .nav-link.active svg{color:#9851eb!important}
@media(max-width:1050px) and (min-width:761px){body[data-route="dating"] .app-layout{max-width:942px;grid-template-columns:280px minmax(0,650px)}body[data-route="dating"] .right-column{display:none}}
@media(max-width:760px){body[data-route="dating"] .dating-page{padding:10px}body[data-route="dating"] .dating-card{width:100%;height:calc(100dvh - 270px);min-height:420px}body[data-route="dating"] .dating-actions{width:100%}}

/* Settings: licensed ReeUp layout */
body[data-route="settings"]{background:#f1f2f4;color:#20242d}
body[data-route="settings"] .topbar{height:56px;border:0;border-radius:0 0 16px 16px;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.05)}
body[data-route="settings"] .topbar-in{max-width:1274px;padding:0 14px}
body[data-route="settings"] .topbar .brand{position:relative;width:190px;height:40px;font-size:0}
body[data-route="settings"] .topbar .brand .brand-mark{display:none}
body[data-route="settings"] .topbar .brand:before{content:'←';font-size:25px;font-weight:400;color:#606978}
body[data-route="settings"] .topbar .brand:after{content:attr(data-page-title);margin-left:15px;font-size:17px;font-weight:800;color:#20242d}
body[data-route="settings"] .global-search{display:none}
body[data-route="settings"] .app-layout{grid-template-columns:280px minmax(0,658px) 280px;gap:14px;max-width:1274px;padding:16px 14px}
body[data-route="settings"] .left-nav{top:72px}
body[data-route="settings"] .main-column{width:658px}
body[data-route="settings"] .ree-settings{width:100%}
body[data-route="settings"] .ree-settings-main{display:block}
.settings-profile{display:flex;align-items:center;gap:12px;min-height:88px;margin-bottom:16px;padding:16px;border-radius:16px;background:#fff;box-shadow:0 4px 14px rgba(16,24,40,.10);color:#20242d}
.settings-avatar{position:relative;flex:0 0 54px;width:54px;height:54px}.settings-avatar img{width:100%;height:100%;border-radius:28%;object-fit:cover;-webkit-mask-image:var(--avatar-squircle);mask-image:var(--avatar-squircle);-webkit-mask-size:100% 100%;mask-size:100% 100%}.settings-avatar i{position:absolute;right:-4px;bottom:-3px;width:22px;height:22px;border:2px solid #fff;border-radius:7px;background:#a855f7;color:#fff;display:grid;place-items:center}.settings-avatar i svg{width:13px;height:13px}
.settings-profile>span:nth-child(2){flex:1;min-width:0}.settings-profile b,.settings-profile em{display:block;font-style:normal}.settings-profile b{font-size:15px}.settings-profile b small{padding:3px 5px;border-radius:6px;background:#eef0f3;color:#6b7280;font-size:10px}.settings-profile em{margin-top:4px;color:#8a919d;font-size:12px}.settings-edit{width:40px;height:40px;border-radius:12px;background:#f3eaff;color:#a855f7;display:grid;place-items:center}.settings-edit svg{width:19px}
.settings-form>h2{margin:18px 0 10px;padding:0 2px;color:#7b828e;font-size:11px;font-weight:800;letter-spacing:.45px}
.settings-line{position:relative;display:flex;align-items:center;gap:12px;min-height:68px;padding:11px 16px;border:0;border-bottom:1px solid #eceef1;background:#fff;color:#20242d;text-align:left;width:100%}.settings-line:first-of-type,.settings-form>h2+.settings-line{border-radius:16px 16px 0 0}.settings-line:not(:has(+.settings-line)){border-bottom:0;border-radius:0 0 16px 16px}.settings-line:hover{background:#f7f7f9}.settings-line>span{flex:1;min-width:0}.settings-line b,.settings-line em{display:block;font-style:normal}.settings-line b{font-size:14px;font-weight:750}.settings-line em{margin-top:3px;color:#8a919d;font-size:11px;line-height:1.35}.settings-line>svg{flex:0 0 18px;width:18px;height:18px;color:#a6adb7}.settings-line select{position:absolute;right:34px;inset-block:0;width:145px;opacity:0;cursor:pointer}
.settings-icon{flex:0 0 40px;width:40px;height:40px;border-radius:12px;display:grid;place-items:center;color:#fff}.settings-icon svg{width:21px;height:21px}.settings-icon.blue{background:linear-gradient(145deg,#59b5ff,#3587f4)}.settings-icon.red{background:linear-gradient(145deg,#ff7779,#f1454e)}.settings-icon.purple{background:linear-gradient(145deg,#b166fa,#813bf1)}.settings-icon.gold{background:linear-gradient(145deg,#ffc95e,#ee971d)}.settings-icon.gray{background:linear-gradient(145deg,#aab2bd,#7c8796)}
.settings-vip,.premium-line>strong{padding:3px 7px;border-radius:7px;background:linear-gradient(135deg,#ffb629,#f19016);color:#fff;font-size:9px;font-weight:900}.premium-line>strong{background:linear-gradient(135deg,#a957f3,#ef4eb2)}.danger-line b{color:#e54852}
.settings-wall{padding:16px;border-radius:16px;background:#fff;box-shadow:0 2px 8px rgba(16,24,40,.03)}.settings-wall>b{font-size:14px}.settings-wall>p{margin:5px 0 14px;color:#8a919d;font-size:11px;line-height:1.45}.wall-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.wall-choice{padding:0;border:2px solid transparent;background:none;color:#687080}.wall-choice.active{border-color:#9250ed;border-radius:11px}.wall-choice i{display:grid;place-items:center;height:72px;border-radius:9px;background:var(--wall);background-size:22px 22px;color:#6b7280;font-style:normal}.wall-choice i span{padding:4px 7px;border-radius:8px;background:rgba(255,255,255,.75);font-size:9px}.wall-choice>b{display:block;margin-top:4px;font-size:9px}.settings-save{display:block;margin:18px auto 0}
body[data-route="settings"] .right-column{display:block}
body.dark-feed[data-route="settings"]{background:#10131a;color:#f4f5f7}body.dark-feed[data-route="settings"] .topbar,body.dark-feed[data-route="settings"] .settings-profile,body.dark-feed[data-route="settings"] .settings-line,body.dark-feed[data-route="settings"] .settings-wall{background:#1b1f29!important;border-color:#303744!important;color:#f3f4f6}body.dark-feed[data-route="settings"] .topbar .brand:after{color:#f3f4f6}body.dark-feed[data-route="settings"] .settings-line:hover{background:#252a36!important}body.dark-feed[data-route="settings"] .settings-profile b small{background:#2b313d;color:#b9c0cb}body.dark-feed[data-route="settings"] .wall-choice{color:#c4cad4}
@media(max-width:1050px) and (min-width:761px){body[data-route="settings"] .app-layout{grid-template-columns:280px minmax(0,658px);max-width:966px}body[data-route="settings"] .right-column{display:none}}
@media(max-width:760px){body[data-route="settings"]{padding-bottom:64px;background:#f1f2f4!important}body[data-route="settings"] .mobile-head{display:flex;height:56px;padding:0 13px;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.05)}body[data-route="settings"] .mobile-head .brand{position:relative;width:auto;font-size:0}body[data-route="settings"] .mobile-head .brand-mark{display:none}body[data-route="settings"] .mobile-head .brand:before{content:'←';font-size:24px;color:#69717f}body[data-route="settings"] .mobile-head .brand:after{content:attr(data-page-title);margin-left:13px;font-size:16px;font-weight:800;color:#20242d}body[data-route="settings"] .mobile-head .top-actions{margin-left:auto}body[data-route="settings"] .app-layout{padding:0!important}body[data-route="settings"] .main-column{width:100%!important}body[data-route="settings"] .ree-settings{padding:12px 10px 16px}body[data-route="settings"] .settings-profile{margin-bottom:12px;border-radius:16px}body[data-route="settings"] .settings-line{min-height:64px;padding:10px 13px}.settings-icon{flex-basis:38px;width:38px;height:38px}.wall-grid{grid-template-columns:repeat(3,1fr)}body[data-route="settings"] .settings-wall{border-radius:16px}body.dark-feed[data-route="settings"]{background:#10131a!important}body.dark-feed[data-route="settings"] .mobile-head{background:#1b1f29!important}body.dark-feed[data-route="settings"] .mobile-head .brand:after{color:#f3f4f6}}
body.dark-feed[data-route="settings"] .settings-theme-switch{background:var(--primary)}body.dark-feed[data-route="settings"] .settings-theme-switch:after{transform:translateX(19px)}
@media(max-width:760px){html:has(body[data-route="settings"]),body[data-route="settings"]{max-width:100%;overflow-x:hidden}body[data-route="settings"] .mobile-head .top-actions{margin-right:0!important}body[data-route="settings"] .mobile-head .top-actions>a:last-child{padding-right:0!important}}

/* VIP page */
body[data-route="premium"]{background:#f1f2f4;color:#20242d}body[data-route="premium"] .app-layout{grid-template-columns:280px minmax(0,658px) 280px;gap:14px;max-width:1274px;padding:16px 14px}body[data-route="premium"] .main-column{width:658px}body[data-route="premium"] .topbar{height:56px;border:0;border-radius:0 0 16px 16px;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.05)}body[data-route="premium"] .global-search{display:none}body[data-route="premium"] .topbar .brand{position:relative;width:170px;height:40px;font-size:0}body[data-route="premium"] .topbar .brand>*{display:none}body[data-route="premium"] .topbar .brand:before{content:'←';font-size:25px;color:#606978}body[data-route="premium"] .topbar .brand:after{content:'VIP';margin-left:15px;font-size:17px;font-weight:800;color:#20242d}
.vip-page{padding-bottom:72px}.vip-intro{text-align:center;padding:6px 20px 15px}.vip-intro img{width:118px;height:118px;object-fit:contain;filter:drop-shadow(0 8px 15px rgba(245,158,11,.28));animation:vipFloat 2s ease-in-out infinite}.vip-intro h1{margin:4px 0 8px;font-size:26px}.vip-intro h1 span{color:#d946ef}.vip-intro p{max-width:420px;margin:auto;color:#838b97;font-size:13px;line-height:1.45}.vip-intro p b{color:#303541}.vip-preview{display:flex;align-items:center;gap:12px;padding:12px 16px;border-radius:17px;background:#fff;box-shadow:0 4px 14px rgba(16,24,40,.09)}.vip-preview img{width:47px;height:47px;border-radius:28%;object-fit:cover}.vip-preview b,.vip-preview small{display:block}.vip-preview b{color:#d44ee4;font-size:14px}.vip-preview b em{padding:3px 7px;border-radius:7px;background:#ffb21c;color:#fff;font-size:9px;font-style:normal}.vip-preview small{margin-top:4px;color:#8c939e;font-size:11px}.vip-page>h2{margin:18px 5px 10px;color:#747c88;font-size:11px;letter-spacing:.45px}.vip-tariffs,.vip-benefits{border-radius:17px;background:#fff;box-shadow:0 4px 14px rgba(16,24,40,.09);overflow:hidden}.vip-tariffs header{display:flex;align-items:center;justify-content:space-between;height:48px;padding:0 16px;border-bottom:1px solid #eceef1;font-size:12px}.vip-tariffs header span{display:flex;align-items:center;color:#707784}.vip-tariffs header span img{width:17px;height:17px;margin-right:4px;object-fit:contain}.vip-tariffs label{display:flex;align-items:center;gap:12px;min-height:63px;padding:10px 16px;border-bottom:1px solid #eceef1;cursor:pointer}.vip-tariffs label:last-child{border:0}.vip-tariffs input{position:absolute;opacity:0}.vip-tariffs label>i{width:24px;height:24px;border:2px solid #cfd4dc;border-radius:50%}.vip-tariffs input:checked+i{border:7px solid #a147ef}.vip-tariffs label>span{flex:1}.vip-tariffs label b,.vip-tariffs label small{display:block}.vip-tariffs label b{font-size:14px}.vip-tariffs label b em{padding:3px 8px;border-radius:7px;background:linear-gradient(135deg,#a855f7,#d946ef);color:#fff;font-size:10px;font-style:normal}.vip-tariffs label small{margin-top:4px;color:#89919d;font-size:11px}.vip-tariffs label>strong{color:#e9a300;font-size:14px}.vip-benefits button{display:flex;align-items:center;gap:12px;width:100%;min-height:62px;padding:10px 16px;border:0;border-bottom:1px solid #eceef1;background:#fff;color:#20242d;text-align:left}.vip-benefits button:last-child{border:0}.vip-benefits button:hover{background:#f7f7f9}.vip-benefits button>i{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;color:#fff}.vip-benefits button>i svg{width:18px}.vip-benefits .orange{background:#ffad25}.vip-benefits .coral{background:#fb795c}.vip-benefits .purple{background:#a653f1}.vip-benefits .blue{background:#4598ef}.vip-benefits .pink{background:#ef55a8}.vip-benefits .green{background:#36c991}.vip-benefits button>span{flex:1}.vip-benefits b,.vip-benefits small{display:block}.vip-benefits b{font-size:14px}.vip-benefits b em{margin-left:5px;padding:2px 6px;border-radius:6px;background:#f2e6ff;color:#9a48ea;font-size:8px;font-style:normal}.vip-benefits small{margin-top:3px;color:#89919d;font-size:11px}.vip-benefits button>svg{width:18px;color:#abb1ba}.vip-note{margin:14px 4px 0;color:#8b929e;font-size:11px;text-align:center}.vip-buy{position:sticky;z-index:25;bottom:14px;display:flex;align-items:center;justify-content:center;gap:6px;width:100%;height:52px;margin-top:14px;border:0;border-radius:26px;background:linear-gradient(100deg,#6f55ff,#923ff0 48%,#ed3fa8);box-shadow:0 8px 24px rgba(164,63,232,.3);color:#fff;font-size:15px;font-weight:800}.vip-buy:disabled{opacity:.6}.vip-buy span{font-weight:900}
body.dark-feed[data-route="premium"]{background:#10131a;color:#f3f4f6}body.dark-feed[data-route="premium"] .topbar,body.dark-feed[data-route="premium"] .vip-preview,body.dark-feed[data-route="premium"] .vip-tariffs,body.dark-feed[data-route="premium"] .vip-benefits,body.dark-feed[data-route="premium"] .vip-benefits button{background:#1b1f29!important;border-color:#303744!important;color:#f3f4f6}body.dark-feed[data-route="premium"] .topbar .brand:after,body.dark-feed[data-route="premium"] .vip-intro p b{color:#f3f4f6}body.dark-feed[data-route="premium"] .vip-benefits button:hover{background:#252a36!important}
@media(max-width:1050px) and (min-width:761px){body[data-route="premium"] .app-layout{grid-template-columns:280px minmax(0,658px);max-width:966px}body[data-route="premium"] .right-column{display:none}}
@media(max-width:760px){body[data-route="premium"]{padding-bottom:64px;background:#f1f2f4!important;overflow-x:hidden}body[data-route="premium"] .mobile-head{display:flex;height:56px;padding:0 13px;background:#fff}body[data-route="premium"] .mobile-head .brand{position:relative;width:auto;font-size:0}body[data-route="premium"] .mobile-head .brand>*{display:none}body[data-route="premium"] .mobile-head .brand:before{content:'←';font-size:24px;color:#69717f}body[data-route="premium"] .mobile-head .brand:after{content:'VIP';margin-left:13px;font-size:16px;font-weight:800;color:#20242d}body[data-route="premium"] .mobile-head .top-actions{margin-left:auto;margin-right:0!important}body[data-route="premium"] .mobile-head .top-actions>a:last-child{padding-right:0!important}body[data-route="premium"] .app-layout{padding:0!important}body[data-route="premium"] .main-column{width:100%!important}body[data-route="premium"] .vip-page{padding:10px 10px 75px}.vip-intro img{width:105px;height:105px}.vip-intro h1{font-size:23px}.vip-buy{position:fixed;left:10px;right:10px;bottom:70px;width:auto;margin:0}body.dark-feed[data-route="premium"]{background:#10131a!important}body.dark-feed[data-route="premium"] .mobile-head{background:#1b1f29!important}body.dark-feed[data-route="premium"] .mobile-head .brand:after{color:#f3f4f6}}
.vip-tariffs header span:before{content:'❤';margin-right:5px;color:#ff4c37}.vip-tariffs header span img{display:none!important}

/* Information hub */
body[data-route="info"]{background:#f1f2f4;color:#20242d}body[data-route="info"] .app-layout{grid-template-columns:280px minmax(0,658px) 280px;gap:14px;max-width:1274px;padding:16px 14px}body[data-route="info"] .main-column{width:658px}body[data-route="info"] .topbar{height:56px;border:0;border-radius:0 0 16px 16px;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.05)}body[data-route="info"] .global-search{display:none}body[data-route="info"] .topbar .brand{position:relative;width:210px;height:40px;font-size:0}body[data-route="info"] .topbar .brand>*{display:none}body[data-route="info"] .topbar .brand:before{content:'←';font-size:25px;color:#606978}body[data-route="info"] .topbar .brand:after{content:attr(data-page-title);margin-left:15px;font-size:17px;font-weight:800;color:#20242d}.ree-info>h2{margin:4px 5px 10px;color:#7b828e;font-size:11px;letter-spacing:.45px}.ree-info>h2:not(:first-child){margin-top:18px}.ree-info>section{border-radius:17px;background:#fff;box-shadow:0 4px 14px rgba(16,24,40,.09);overflow:hidden}.ree-info>section>a{display:flex;align-items:center;gap:13px;min-height:64px;padding:10px 16px;border-bottom:1px solid #eceef1;color:#20242d}.ree-info>section>a:last-child{border:0}.ree-info>section>a:hover{background:#f7f7f9}.ree-info>section>a>i{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:linear-gradient(145deg,#5fa8ff,#4d79ee);color:#fff}.ree-info>section>a:nth-child(2n)>i{background:linear-gradient(145deg,#d957ef,#a53ce1)}.ree-info>section>a:nth-child(3n)>i{background:linear-gradient(145deg,#ff6a76,#f04455)}.ree-info>section>a>i svg{width:18px}.ree-info>section>a>span{flex:1}.ree-info b,.ree-info small{display:block}.ree-info b{font-size:14px}.ree-info small{margin-top:3px;color:#89919d;font-size:11px}.ree-info>section>a>svg{width:18px;color:#abb1ba}.info-page{border-radius:17px!important}.info-page .card-head{display:flex;gap:10px}.info-page .card-head>a{display:grid;place-items:center;color:var(--muted)}.info-page .card-head>a svg{width:19px}
body.dark-feed[data-route="info"]{background:#10131a;color:#f3f4f6}body.dark-feed[data-route="info"] .topbar,body.dark-feed[data-route="info"] .ree-info>section,body.dark-feed[data-route="info"] .ree-info>section>a{background:#1b1f29!important;border-color:#303744!important;color:#f3f4f6}body.dark-feed[data-route="info"] .topbar .brand:after{color:#f3f4f6}body.dark-feed[data-route="info"] .ree-info>section>a:hover{background:#252a36!important}
@media(max-width:1050px) and (min-width:761px){body[data-route="info"] .app-layout{grid-template-columns:280px minmax(0,658px);max-width:966px}body[data-route="info"] .right-column{display:none}}
@media(max-width:760px){body[data-route="info"]{padding-bottom:64px;background:#f1f2f4!important;overflow-x:hidden}body[data-route="info"] .mobile-head{display:flex;height:56px;padding:0 13px;background:#fff}body[data-route="info"] .mobile-head .brand{position:relative;width:auto;font-size:0}body[data-route="info"] .mobile-head .brand>*{display:none}body[data-route="info"] .mobile-head .brand:before{content:'←';font-size:24px;color:#69717f}body[data-route="info"] .mobile-head .brand:after{content:attr(data-page-title);margin-left:13px;font-size:16px;font-weight:800;color:#20242d}body[data-route="info"] .mobile-head .top-actions{margin-left:auto;margin-right:0!important}body[data-route="info"] .mobile-head .top-actions>a:last-child{padding-right:0!important}body[data-route="info"] .app-layout{padding:0!important}body[data-route="info"] .main-column{width:100%!important}body[data-route="info"] .ree-info,body[data-route="info"] .info-page{margin:12px 10px}body.dark-feed[data-route="info"]{background:#10131a!important}body.dark-feed[data-route="info"] .mobile-head{background:#1b1f29!important}body.dark-feed[data-route="info"] .mobile-head .brand:after{color:#f3f4f6}}
body.dark-feed[data-route="info"] .home-side-card{background:#1b1f29!important;border-color:#303744!important;color:#f3f4f6}body.dark-feed[data-route="info"] .home-side-card .side-room{color:#f3f4f6!important}
@media(max-width:760px){body[data-route="settings"] .mobile-head .top-actions{gap:0!important}body[data-route="settings"] .mobile-head .top-actions .icon-btn{width:32px!important;min-width:32px!important;padding:0 5px!important}body[data-route="settings"] .mobile-head .top-actions>a:last-child,body[data-route="settings"] .mobile-head .head-avatar{width:30px!important;min-width:30px!important}}
@media(max-width:760px){body[data-route="settings"] .mobile-head .brand>*{display:none!important}}
/* Shared inner screens: the accepted home shell stays unchanged; only this center content changes. */
.entity-page,.profile-editor{display:grid;gap:16px}.entity-hero{overflow:hidden;padding:0}.entity-cover{height:150px;background:linear-gradient(135deg,#7437e8,#ff57aa);background-size:cover;background-position:center}.entity-main{display:flex;gap:18px;align-items:flex-end;padding:0 22px;transform:translateY(-24px)}.entity-avatar{width:92px;height:92px;border:4px solid var(--card,#fff);border-radius:28px;background:#f0eafd center/cover;display:grid;place-items:center;flex:none}.entity-avatar svg{width:38px;height:38px}.entity-main h1{margin:0 0 5px;font-size:25px}.entity-main p{margin:0 0 6px}.entity-main span{color:var(--muted)}.entity-actions{display:flex;gap:10px;padding:0 22px 22px}.entity-actions .btn{display:inline-flex;align-items:center;gap:7px}.entity-feed{display:grid;gap:14px}.story-editor{max-width:620px;margin:auto;padding:0;overflow:hidden}.story-editor>header{display:flex;gap:12px;align-items:center;padding:18px 20px;border-bottom:1px solid var(--line)}.story-editor>header div{display:grid;gap:3px}.story-editor>header span{color:var(--muted);font-size:13px}.story-form{padding:22px;display:grid;gap:18px}.story-drop{min-height:300px;border:2px dashed #9f7aea;border-radius:24px;background:linear-gradient(145deg,#f7f1ff,#fff4fa);display:grid;place-content:center;text-align:center;gap:10px;cursor:pointer}.story-drop svg{width:52px;height:52px;margin:auto;color:#8b4fee}.story-drop span{color:#756c80}.story-drop input{display:none}.story-viewer{position:relative;max-width:520px;height:min(760px,calc(100vh - 130px));margin:auto;border-radius:24px;overflow:hidden;background:#09070d;color:#fff;box-shadow:0 26px 70px #130b2638}.story-viewer header{position:absolute;z-index:3;left:0;right:0;top:9px;padding:13px 16px;display:flex;align-items:center;justify-content:space-between;background:linear-gradient(#0008,transparent)}.story-viewer header>a:first-child{display:flex;align-items:center;gap:9px;color:#fff}.story-viewer header img{width:38px;height:38px;border-radius:50%;object-fit:cover}.story-viewer header span{opacity:.75;font-size:12px}.story-viewer .icon-btn{color:#fff}.story-media,.story-media img,.story-media video{width:100%;height:100%;object-fit:contain}.story-viewer>p{position:absolute;z-index:2;left:20px;right:20px;bottom:28px;padding:13px 16px;border-radius:16px;background:#0008;text-align:center}.story-progress{position:absolute;z-index:4;left:12px;right:12px;top:8px;height:3px;border-radius:9px;background:#ffffff55}.story-progress i{display:block;width:100%;height:100%;background:#fff;animation:storyProgress 7s linear}.story-next{position:absolute;right:12px;top:50%;z-index:4;width:44px;height:44px;border-radius:50%;background:#0007;color:#fff;display:grid;place-items:center}@keyframes storyProgress{from{width:0}to{width:100%}}.room-shell{padding:0;overflow:hidden;height:calc(100vh - 110px);display:grid;grid-template-rows:auto 1fr auto}.room-head{display:flex;align-items:center;gap:12px;padding:16px 18px;border-bottom:1px solid var(--line)}.room-head img{width:50px;height:50px;border-radius:16px;object-fit:cover}.room-head h1{font-size:19px;margin:0 0 4px}.room-head span{color:var(--muted);font-size:13px}.room-body{display:grid;grid-template-columns:1fr 210px;min-height:0}.room-chat{padding:18px;overflow:auto;display:flex;flex-direction:column;gap:16px}.room-message{display:flex;align-items:flex-start;gap:10px}.room-message>img{width:38px;height:38px;border-radius:50%;object-fit:cover}.room-message b{font-size:13px}.room-message p{margin:4px 0;font-size:14px;line-height:1.45}.room-message time{font-size:11px;color:var(--muted)}.room-members{border-left:1px solid var(--line);padding:16px;overflow:auto}.room-members>b{display:block;margin-bottom:12px}.room-members a{display:flex;align-items:center;gap:9px;padding:7px;border-radius:10px}.room-members a:hover{background:var(--hover)}.room-members img{width:32px;height:32px;border-radius:50%;object-fit:cover}.room-compose{display:flex;gap:10px;padding:14px 16px;border-top:1px solid var(--line)}.room-compose input{flex:1}.reels-page{height:calc(100vh - 92px);overflow-y:auto;scroll-snap-type:y mandatory;display:grid;gap:16px}.reel-card{position:relative;min-height:calc(100vh - 120px);border-radius:24px;overflow:hidden;background:#08060b;scroll-snap-align:start}.reel-card>img{width:100%;height:100%;position:absolute;object-fit:contain}.reel-overlay{position:absolute;left:18px;right:85px;bottom:24px;color:#fff;text-shadow:0 1px 8px #000}.reel-overlay>a{display:flex;align-items:center;gap:9px;color:#fff}.reel-overlay img{width:40px;height:40px;border-radius:50%;object-fit:cover}.reel-actions{position:absolute;right:16px;bottom:25px;display:grid;gap:18px}.reel-actions button,.reel-actions a{width:48px;min-height:48px;border:0;border-radius:50%;background:#0008;color:#fff;display:grid;place-items:center}.reel-actions span{font-size:11px}.reel-actions .active{color:#ff4b79}.profile-editor{max-width:680px;margin:auto}.profile-editor-head{display:flex;align-items:center;gap:15px;padding:18px}.profile-editor-head img{width:72px;height:72px;border-radius:22px;object-fit:cover}.profile-editor-head h1{margin:0 0 5px}.profile-editor-head span{color:var(--muted)}.profile-editor-form{padding:24px;display:grid;gap:18px}.profile-editor-form h2{margin:0}.edit-media-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
body.dark-feed .story-drop{background:linear-gradient(145deg,#211931,#17131f)}body.dark-feed .entity-avatar{border-color:var(--card);background:#241c31}
body.dark-feed:is([data-route="group"],[data-route="room"],[data-route="story-create"],[data-route="edit-profile"],[data-route="reels"]){--surface:#1b1f29;--soft:#252a36;--soft2:#20242e;--line:#303744;--text:#f3f4f6;--muted:#aab1bd;background:#10131a!important;color:#f3f4f6}body.dark-feed:is([data-route="group"],[data-route="room"],[data-route="story-create"],[data-route="edit-profile"],[data-route="reels"]) :is(.topbar,.mobile-head,.left-nav,.right-column .home-side-card,.card){background:#1b1f29!important;border-color:#303744!important;color:#f3f4f6}body.dark-feed:is([data-route="group"],[data-route="room"],[data-route="story-create"],[data-route="edit-profile"],[data-route="reels"]) :is(.nav-link,.nav-link svg,.side-room,.side-room strong,.field label,.entity-main h1,.profile-editor h1,.profile-editor h2){color:#f3f4f6!important}body.dark-feed:is([data-route="group"],[data-route="room"],[data-route="story-create"],[data-route="edit-profile"],[data-route="reels"]) .nav-link:hover{background:#2a303c!important;color:#fff!important}
@media(max-width:760px){.entity-cover{height:105px}.entity-main{padding:0 14px;gap:12px}.entity-avatar{width:76px;height:76px;border-radius:22px}.entity-main h1{font-size:20px}.entity-actions{padding:0 14px 16px;overflow:auto}.story-editor{border-radius:0;min-height:calc(100vh - 118px)}.story-form{padding:14px}.story-drop{min-height:42vh}.story-viewer{height:calc(100vh - 118px);border-radius:0}.room-shell{height:calc(100vh - 120px);border-radius:0}.room-body{grid-template-columns:1fr}.room-members{display:none}.room-chat{padding:14px}.reels-page{height:calc(100vh - 120px);gap:0}.reel-card{min-height:calc(100vh - 120px);border-radius:0}.profile-editor{gap:10px}.profile-editor-form{padding:16px}.edit-media-grid{grid-template-columns:1fr}}

/* Global application shell. Every route reuses the accepted home header, sidebars and mobile navigation. */
@media(min-width:761px){
 body .topbar{height:58px!important;border:0!important;border-radius:0!important;background:#fff!important;box-shadow:0 2px 14px rgba(20,26,38,.04)!important;backdrop-filter:none!important}
 body .topbar-in{width:100%!important;max-width:1270px!important;height:100%!important;margin:auto!important;padding:0 14px!important;display:flex!important;align-items:center!important;gap:24px!important}
 body .topbar .brand{position:static!important;width:auto!important;height:auto!important;display:flex!important;align-items:center!important;gap:10px!important;color:#654bc3!important;font-size:23px!important;font-weight:850!important;letter-spacing:-.4px!important}
 body .topbar .brand:before,body .topbar .brand:after{content:none!important;display:none!important}
 body .topbar .brand>*{display:inline!important}
 body .topbar .brand .brand-mark{display:grid!important;width:30px!important;height:30px!important;border-radius:9px!important;background:linear-gradient(140deg,#38c9f0,#8852f5 63%,#ff54af)!important;box-shadow:none!important;color:#fff!important}
 body .topbar .brand .brand-mark svg{width:21px!important;height:21px!important}
 body .topbar .global-search{display:none!important}
 body .topbar .top-actions{margin-left:auto!important;display:flex!important;align-items:center!important;gap:2px!important}
 body .topbar .icon-btn{width:36px!important;height:36px!important;border-radius:50%!important}
 body .app-layout{width:100%!important;max-width:1270px!important;margin:0 auto!important;display:grid!important;grid-template-columns:280px minmax(0,660px) 280px!important;gap:14px!important;padding:14px!important}
 body .left-nav{position:sticky!important;top:72px!important;height:auto!important;align-self:start!important;padding:16px!important;border-radius:16px!important;background:#fff!important;box-shadow:0 5px 18px rgba(31,41,55,.09)!important}
 body .left-nav .nav-user{gap:11px!important;margin-bottom:10px!important;padding:12px!important;border-radius:13px!important;background:#f4f5f7!important}
 body .left-nav .nav-user img{width:48px!important;height:48px!important;border-radius:50%!important}
 body .left-nav .nav-link{height:45px!important;padding:0 12px!important;border-radius:10px!important;color:#222733!important;font-size:14px!important}
 body .left-nav .nav-link svg{color:#252b37!important}
 body .left-nav .nav-link.active,body .left-nav .nav-link.active svg{background:#f0e5ff!important;color:#9851eb!important}
 body .main-column{min-width:0!important;width:auto!important;max-width:none!important}
 body .right-column{display:block!important;min-width:0!important}
 body.dark-feed .topbar,body.dark-feed .left-nav,body.dark-feed .home-side-card{background:#1b1e27!important;border-color:#303440!important;color:#f4f5f7!important}
 body.dark-feed .left-nav .nav-user{background:#262a35!important}
 body.dark-feed .left-nav .nav-link:not(.active),body.dark-feed .left-nav .nav-link:not(.active) svg,body.dark-feed .side-room,body.dark-feed .side-room strong{color:#f4f5f7!important}
 body.dark-feed .left-nav .nav-link:not(.active):hover{background:#fff!important;color:#111827!important}
 body.dark-feed .left-nav .nav-link:not(.active):hover svg{color:#252b37!important}
 body:not(.dark-feed) .left-nav .nav-link:not(.active):hover{background:#f3f4f6!important;color:#111827!important}
 body:not(.dark-feed) .left-nav .nav-link:not(.active):hover svg{color:#252b37!important}
}
@media(max-width:1050px) and (min-width:761px){
 body .app-layout{max-width:954px!important;grid-template-columns:280px minmax(0,660px)!important}
 body .right-column{display:none!important}
}
@media(max-width:760px){
 body .topbar,body .left-nav,body .right-column{display:none!important}
 body .mobile-head{position:sticky!important;top:0!important;z-index:100!important;display:flex!important;align-items:center!important;gap:10px!important;width:100%!important;height:56px!important;padding:0 16px!important;border:0!important;background:#fff!important;box-shadow:0 2px 8px rgba(0,0,0,.05)!important;backdrop-filter:none!important}
 body .mobile-head .brand{position:static!important;width:auto!important;height:auto!important;display:flex!important;align-items:center!important;gap:9px!important;color:#654bc3!important;font-size:20px!important;font-weight:850!important;letter-spacing:-.4px!important}
 body .mobile-head .brand:before,body .mobile-head .brand:after{content:none!important;display:none!important}
 body .mobile-head .brand>*{display:inline!important}
 body .mobile-head .brand .brand-mark{display:grid!important;width:27px!important;height:27px!important;border-radius:8px!important;background:linear-gradient(140deg,#38c9f0,#8852f5 63%,#ff54af)!important;box-shadow:none!important;color:#fff!important}
 body .mobile-head .brand>span:last-child{display:inline!important;color:#654bc3!important;font-size:20px!important}
 body .mobile-head .top-actions{margin-left:auto!important;margin-right:-16px!important;display:flex!important;align-items:center!important;gap:2px!important}
 body .mobile-head .top-actions .icon-btn{width:36px!important;min-width:36px!important;height:36px!important;padding:0!important;border-radius:50%!important}
 body .mobile-head .top-actions>a:last-child{width:auto!important;min-width:0!important;padding-right:16px!important}
 body .mobile-head .head-avatar{width:32px!important;height:32px!important}
 body .app-layout{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
 body .main-column{width:100%!important;max-width:none!important;padding:0!important}
 body .bottom-nav{--nav-h:54px;position:fixed!important;z-index:100!important;left:50%!important;right:auto!important;bottom:0!important;transform:translateX(-50%)!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;align-items:center!important;justify-items:center!important;width:100%!important;max-width:650px!important;height:calc(54px + env(safe-area-inset-bottom,0px))!important;padding:0 4px env(safe-area-inset-bottom,0px)!important;border:0!important;background:#fff!important;box-shadow:0 -2px 8px rgba(0,0,0,.05)!important}
 body .bottom-nav .nav-item{display:flex!important;width:100%!important;min-width:0!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;padding:0 2px!important;color:#788292!important;font-size:10px!important;font-weight:500!important}
 body .bottom-nav .nav-item svg{width:21px!important;height:21px!important;color:#9ca3af!important}
 body .bottom-nav .nav-item.active,body .bottom-nav .nav-item.active svg{color:#8849fe!important}
 body .bottom-nav .home-heart{align-self:stretch!important;justify-self:center!important;width:44px!important;height:auto!important;margin:5px 0!important;padding:0!important;border-radius:14px!important;background:linear-gradient(135deg,#ff2d6e,#e11d48 55%,#be123c)!important;box-shadow:0 3px 10px rgba(225,29,72,.32)!important;color:#fff!important}
 body .bottom-nav .home-heart svg{width:21px!important;height:21px!important;color:#fff!important}
 body.dark-feed .mobile-head,body.dark-feed .bottom-nav{background:#1b1e27!important;border-color:#303440!important;color:#f4f5f7!important}
 body.dark-feed .bottom-nav .nav-item:not(.active),body.dark-feed .bottom-nav .nav-item:not(.active) svg{color:#aeb4c0!important}
}


/* Social backend-connected views */
.locked-profile{padding:42px 24px;text-align:center}.locked-profile>div{display:grid;justify-items:center;gap:10px}.locked-profile svg{width:38px;height:38px;color:var(--muted)}
.message-attach{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;cursor:pointer;color:var(--muted)}.message-attach:hover{background:var(--hover);color:var(--text)}.message-attach input{display:none}.message-photo{display:block;max-width:min(360px,70vw);max-height:420px;border-radius:14px;margin:5px 0;object-fit:cover}.bubble{display:flex!important;flex-direction:column;align-items:flex-start}.bubble.mine{align-items:flex-end}.forwarded-post{display:flex;padding:10px 12px;border:1px solid var(--line);border-radius:10px;margin-top:6px;font-weight:700}.story-tools{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}.story-tools select{width:100%;padding:11px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--text)}
.rating-list{overflow:hidden}.rating-row{display:grid;grid-template-columns:38px 48px 1fr;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid var(--line);color:var(--text)}.rating-row:last-child{border-bottom:0}.rating-row>strong{text-align:center;color:var(--muted)}.rating-row>img,.rating-entity{width:46px;height:46px;border-radius:50%;object-fit:cover;display:grid;place-items:center;background:var(--hover)}.rating-row span:last-child{display:flex;flex-direction:column;gap:3px}.rating-row small{color:var(--muted)}
.support-ticket{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--line);color:var(--text)}.support-ticket>span{display:flex;flex:1;flex-direction:column}.support-ticket small,.support-ticket em{color:var(--muted);font-style:normal}.support-message{display:flex;gap:10px;margin:12px 0}.support-message img{width:38px;height:38px;border-radius:50%;object-fit:cover}.support-message p{margin:4px 0}.support-message time{font-size:11px;color:var(--muted)}.room-head-actions{margin-left:auto}.room-reactions{display:flex;justify-content:center;gap:8px;padding:8px;border-bottom:1px solid var(--line)}
.post-actions{flex-wrap:wrap}.social-profile .profile-posts{display:grid;gap:12px}.settings-line select{background:var(--surface);color:var(--text)}
@media(max-width:700px){.story-tools{grid-template-columns:1fr}.message-photo{max-width:72vw}.rating-row{grid-template-columns:28px 42px 1fr;padding:10px}.room-head{align-items:flex-start}.room-head-actions{margin-left:0}.room-head-actions .btn{font-size:12px;padding:8px}.post-actions .react{font-size:0}.post-actions .react svg{margin:0}.social-profile .ree-profile-actions{flex-wrap:wrap}}

/* Interaction and media parity pass */
.story-rail-arrow{position:absolute;z-index:4;top:50%;translate:0 -50%;width:34px;height:34px;border:1px solid rgba(135,143,160,.22);border-radius:50%;background:var(--surface);color:var(--text);box-shadow:0 5px 18px rgba(31,35,48,.12);display:grid;place-items:center;opacity:0;transition:opacity .18s ease,transform .18s ease}.story-rail-arrow svg{width:18px}.story-rail-arrow.prev{left:6px}.story-rail-arrow.next{right:6px}.home-stories:hover .story-rail-arrow{opacity:1}.story-rail-arrow:hover{transform:scale(1.08)}.home-stories{position:relative}.home-story{border:0;background:transparent;color:inherit;font:inherit;cursor:pointer}.story-count{position:absolute;top:3px;right:5px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#8c45ff;color:#fff;font:700 10px/18px system-ui;text-align:center;box-shadow:0 0 0 2px var(--surface)}
.pc2-like.like-pop svg{animation:likeBeat .58s cubic-bezier(.2,1.7,.35,1)}.follow-pop{animation:followConfirm .55s cubic-bezier(.2,1.35,.4,1)}.reaction-particle{position:absolute;z-index:90;pointer-events:none;font-style:normal;font-size:19px;animation:reactionFly .9s ease-out forwards;transform-origin:center}.is-working{opacity:.68;pointer-events:none}@keyframes likeBeat{0%{transform:scale(.72)}45%{transform:scale(1.55) rotate(-8deg);fill:#ff3d72;color:#ff3d72}100%{transform:scale(1)}}@keyframes followConfirm{0%{transform:scale(.88)}48%{transform:scale(1.08);box-shadow:0 0 0 7px rgba(141,69,255,.13)}100%{transform:scale(1);box-shadow:none}}@keyframes reactionFly{0%{opacity:0;transform:translate(0,0) scale(.4)}20%{opacity:1}100%{opacity:0;transform:translate(var(--x),-105px) scale(1.3) rotate(var(--r))}}
.notification-popover{position:fixed;z-index:160;top:64px;left:50%;margin-left:130px;width:360px;max-height:min(580px,calc(100vh - 84px));overflow:hidden;border:1px solid var(--line);border-radius:18px;background:var(--surface);box-shadow:0 18px 50px rgba(30,25,50,.2);opacity:0;visibility:hidden;transform:translateY(-8px) scale(.98);transform-origin:top right;transition:.18s ease}.notification-popover.open{opacity:1;visibility:visible;transform:none}.notification-popover>header{height:54px;padding:0 16px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.notification-popover>header b{font-size:15px}.notification-popover>header a{font-size:12px;color:var(--primary)}.notification-popover>div{max-height:500px;overflow:auto;padding:7px}.notification-mini{display:flex;gap:11px;padding:10px;border-radius:13px;color:var(--text);transition:background .15s ease}.notification-mini:hover,.notification-mini.unread{background:var(--soft)}.notification-mini.unread:after{content:"";width:7px;height:7px;border-radius:50%;background:var(--primary);align-self:center}.notification-mini img{width:43px;height:43px;border-radius:50%;object-fit:cover}.notification-mini span{flex:1;min-width:0}.notification-mini b,.notification-mini small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.notification-mini b{font-size:13px}.notification-mini small{font-size:11px;color:var(--muted);margin-top:4px}.notification-popover-empty{min-height:150px;display:grid;place-items:center;gap:8px;color:var(--muted);font-size:13px}.notification-popover-empty svg{width:34px;height:34px}
.mobile-menu-backdrop,.mobile-menu-sheet{display:none}.media-lightbox{position:fixed;inset:0;z-index:260;background:rgba(5,6,10,.94);display:grid;place-items:center;opacity:0;visibility:hidden;transition:opacity .2s ease}.media-lightbox.open{opacity:1;visibility:visible}.media-lightbox>div{width:min(980px,calc(100vw - 96px));height:min(820px,calc(100vh - 72px));display:grid;place-items:center}.media-lightbox img,.media-lightbox video{max-width:100%;max-height:100%;border-radius:16px;box-shadow:0 22px 80px rgba(0,0,0,.5)}.media-lightbox video{background:#000}.media-lightbox-close{position:absolute;top:22px;right:24px;width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.13);color:#fff;display:grid;place-items:center;cursor:pointer}.media-lightbox-close:hover{background:rgba(255,255,255,.23)}.media-open{cursor:pointer}
.media-lightbox-top{position:absolute;z-index:3;top:16px;left:24px;right:24px;height:48px;display:flex;align-items:center;justify-content:space-between;color:#fff;font-weight:700}.media-lightbox-top .media-lightbox-close{position:static;flex:none}.media-lightbox-arrow{position:absolute;z-index:2;top:50%;transform:translateY(-50%);width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;display:grid;place-items:center;cursor:pointer}.media-lightbox-prev{left:18px}.media-lightbox-next{right:18px}.media-lightbox-arrow[hidden],.media-lightbox-tools[hidden],.media-lightbox-tools button[hidden]{display:none!important}.media-lightbox-tools{position:absolute;z-index:3;left:50%;bottom:18px;transform:translateX(-50%);width:min(760px,calc(100vw - 36px));padding:10px 14px;border:1px solid rgba(255,255,255,.14);border-radius:16px;background:rgba(22,24,34,.82);backdrop-filter:blur(18px);color:#fff}.media-lightbox-tools p{margin:0 0 7px;max-height:42px;overflow:hidden;font-size:13px}.media-lightbox-tools p:empty{display:none}.media-lightbox-tools nav{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:7px}.media-lightbox-tools button{min-height:38px;padding:7px 11px;border:0;border-radius:9px;background:rgba(255,255,255,.12);color:#fff;display:flex;align-items:center;gap:6px;cursor:pointer;font-family:inherit;font-size:12px;font-weight:600}.media-lightbox-tools button:hover{background:rgba(255,255,255,.22)}.media-lightbox-tools button:disabled{opacity:.55;cursor:default}.media-lightbox-tools button.is-danger{color:#ffadad}.media-lightbox-tools svg{width:17px;height:17px}.media-lightbox.is-zoomed [data-media-host]{overflow:auto;display:block;text-align:center}.media-lightbox.is-zoomed [data-media-host] img{max-width:none;max-height:none;cursor:zoom-out}.media-lightbox [data-media-host] img{cursor:zoom-in}@media(max-width:760px){.media-lightbox>div[data-media-host]{height:calc(100dvh - 150px)}.media-lightbox-top{top:calc(8px + env(safe-area-inset-top));left:12px;right:12px}.media-lightbox-prev{left:8px}.media-lightbox-next{right:8px}.media-lightbox-arrow{width:36px;height:36px}.media-lightbox-tools{bottom:calc(8px + env(safe-area-inset-bottom));width:calc(100vw - 16px);padding:8px}.media-lightbox-tools nav{flex-wrap:nowrap;justify-content:space-around;gap:2px}.media-lightbox-tools button{min-width:0;min-height:42px;padding:5px;flex-direction:column;gap:2px;font-size:10px;text-align:center}.media-lightbox-tools svg{width:19px;height:19px}}
.story-capture{position:fixed;inset:0;z-index:300;background:#0b0b0e;color:#fff;display:grid;place-items:center;opacity:0;visibility:hidden;transition:opacity .22s ease}.story-capture.open{opacity:1;visibility:visible}.story-capture-frame{position:relative;width:min(450px,100vw);height:min(796px,calc(100vh - 64px));border-radius:24px;overflow:hidden;background:#000;box-shadow:0 24px 90px rgba(0,0,0,.55)}.story-capture-close{position:absolute;z-index:8;top:14px;left:14px;width:42px;height:42px;border:0;border-radius:50%;background:rgba(86,86,92,.72);color:#fff;display:grid;place-items:center;cursor:pointer}.story-capture-top{position:absolute;z-index:8;top:14px;right:14px;display:flex;gap:8px}.story-capture-top button{height:42px;padding:0 18px;border:0;border-radius:22px;background:rgba(86,86,92,.72);color:#fff;font-weight:700}.story-capture-top .story-aa{width:42px;padding:0;border-radius:50%;font:700 15px Georgia,serif}.story-camera-preview,.story-file-preview{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.story-camera-preview[hidden],.story-file-preview[hidden]{display:none}.story-capture-placeholder{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:10px}.story-capture-placeholder[hidden]{display:none}.story-gallery-pill,.story-camera-pill{height:42px;padding:0 18px;border:0;border-radius:11px;font-weight:700;cursor:pointer}.story-gallery-pill{background:#fff;color:#1b1b21}.story-camera-pill{background:#4b4b52;color:#fff}.story-capture-form input[type=file]{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.story-overlay-editor{position:absolute;z-index:9;top:78px;left:50%;transform:translateX(-50%);width:min(86%,360px);padding:9px;border-radius:14px;background:rgba(18,18,22,.76);backdrop-filter:blur(16px);display:flex;gap:6px}.story-overlay-editor[hidden]{display:none}.story-overlay-editor input,.story-overlay-editor select{min-width:0;height:38px;border:0;border-radius:9px;background:rgba(255,255,255,.12);color:#fff;padding:0 10px}.story-overlay-editor input{flex:1}.story-capture-controls{position:absolute;z-index:8;left:0;right:0;bottom:28px;height:78px;display:flex;align-items:center;justify-content:center;gap:58px}.story-gallery-square{width:52px;height:52px;border:0;border-radius:14px;background:rgba(80,80,88,.76);color:#fff;display:grid;place-items:center}.story-shutter{width:78px;height:78px;border:4px solid #fff;border-radius:50%;background:transparent;padding:5px}.story-shutter i{display:block;width:100%;height:100%;border-radius:50%;background:#fff;transition:.18s ease}.story-shutter.recording i{border-radius:18px;transform:scale(.62);background:#ff315e}.story-publish{height:44px;padding:0 17px;border:0;border-radius:22px;background:#8e49ff;color:#fff;font-weight:750}.story-capture>p{position:absolute;bottom:8px;margin:0;font-size:12px;color:#a9a9b2}.story-capture.has-media .story-capture-placeholder{display:none}
.story-sequence{position:fixed;z-index:250;inset:0;margin:0!important;width:auto!important;height:auto!important;border-radius:0!important;background:#0b0b0e;display:grid;place-items:center;overflow:hidden}.story-sequence .story-progress{position:absolute;z-index:8;top:14px;left:50%;transform:translateX(-50%);width:min(430px,calc(100vw - 32px));height:3px;display:flex;gap:4px}.story-sequence .story-progress i{position:relative;flex:1;height:3px;border-radius:2px;background:rgba(255,255,255,.3);overflow:hidden}.story-sequence .story-progress i span{position:absolute;inset:0;transform:scaleX(0);transform-origin:left;background:#fff}.story-sequence .story-progress i.done span{transform:scaleX(1)}.story-sequence .story-progress i.active.running span{animation:storyProgress var(--story-duration,6000ms) linear forwards}.story-sequence>header{position:absolute;z-index:8;top:26px;left:50%;transform:translateX(-50%);width:min(430px,calc(100vw - 32px));display:flex;align-items:center;justify-content:space-between;color:#fff}.story-sequence>header>a:first-child{display:flex;align-items:center;gap:9px;color:#fff}.story-sequence>header img{width:34px;height:34px;border-radius:50%;object-fit:cover}.story-sequence>header b{font-size:13px}.story-sequence>header span{font-size:11px;color:rgba(255,255,255,.68)}.story-sequence .story-media{position:relative;width:min(450px,100vw);height:min(800px,100vh);border-radius:24px;overflow:hidden;background:#000}.story-slide{position:absolute;inset:0;display:none}.story-slide.active{display:block;animation:storySlideIn .2s ease}.story-slide img,.story-slide video{width:100%;height:100%;object-fit:contain;background:#000}.story-slide>p{position:absolute;left:18px;right:18px;bottom:24px;margin:0;padding:12px 14px;border-radius:13px;background:rgba(0,0,0,.45);backdrop-filter:blur(12px);color:#fff;text-align:center}.story-overlay{position:absolute;z-index:3;top:46%;left:50%;transform:translate(-50%,-50%);max-width:86%;padding:10px 16px;border-radius:12px;color:#fff;font-size:22px;text-align:center;background:rgba(0,0,0,.38);backdrop-filter:blur(12px)}.story-overlay.light{background:#fff;color:#18181d}.story-overlay.dark{background:#15151a}.story-overlay.accent{background:linear-gradient(135deg,#7b42ff,#e44dc1)}.story-tap{position:absolute;z-index:5;top:74px;bottom:0;width:42%;border:0;background:transparent}.story-tap.prev{left:0}.story-tap.next{right:0}.story-nav{position:absolute;top:50%;width:46px;height:46px;border:0;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;display:grid;place-items:center}.story-nav.prev{left:calc(50% - 284px)}.story-nav.next{right:calc(50% - 284px)}@keyframes storyProgress{to{transform:scaleX(1)}}@keyframes storySlideIn{from{opacity:.5;transform:scale(.985)}to{opacity:1;transform:none}}
body[data-chat-wall="plain"] .thread-messages{background:#f4f5f8}body[data-chat-wall="clean"] .thread-messages{background:#fff}body[data-chat-wall="pattern"] .thread-messages{background-color:#f4f1fb;background-image:radial-gradient(circle at 8px 8px,rgba(133,80,220,.08) 2px,transparent 2px);background-size:24px 24px}body[data-chat-wall="sky"] .thread-messages{background:linear-gradient(145deg,#e8f7ff,#b8dcfb)}body[data-chat-wall="ocean"] .thread-messages{background:linear-gradient(145deg,#e5fbff,#8bd6db)}body[data-chat-wall="mint"] .thread-messages{background:linear-gradient(145deg,#edfff5,#b6efd0)}body[data-chat-wall="olive"] .thread-messages{background:linear-gradient(145deg,#fafbe8,#d9dfa6)}body[data-chat-wall="lavender"] .thread-messages{background:linear-gradient(145deg,#f7f0ff,#d8c6f7)}body[data-chat-wall="powder"] .thread-messages{background:linear-gradient(145deg,#fff1f7,#f5cbdc)}body[data-chat-wall="peach"] .thread-messages{background:linear-gradient(145deg,#fff5e9,#f6c99e)}body[data-chat-wall="sand"] .thread-messages{background:linear-gradient(145deg,#fffbea,#e8d8a8)}body[data-chat-wall="cloud"] .thread-messages{background:linear-gradient(145deg,#f7f9fc,#dbe2eb)}.bubble{animation:bubbleIn .23s cubic-bezier(.2,.8,.35,1);backdrop-filter:blur(12px)}@keyframes bubbleIn{from{opacity:0;transform:translateY(8px) scale(.97)}to{opacity:1;transform:none}}.room-message{animation:bubbleIn .23s ease}.room-reactions{position:relative}
@media(max-width:760px){.story-rail-arrow{display:none}.notification-popover{top:57px;left:8px;right:8px;margin:0;width:auto;max-height:calc(100dvh - 130px);border-radius:16px}.mobile-menu-backdrop{display:block;position:fixed;z-index:205;inset:0;background:rgba(15,17,24,.5);opacity:0;visibility:hidden;transition:.22s ease}.mobile-menu-backdrop.open{opacity:1;visibility:visible}.mobile-menu-sheet{display:flex;position:fixed;z-index:210;left:0;right:0;bottom:0;max-height:min(82dvh,690px);padding:14px 14px calc(18px + env(safe-area-inset-bottom));border-radius:24px 24px 0 0;background:var(--surface);box-shadow:0 -18px 55px rgba(20,20,30,.2);flex-direction:column;transform:translateY(105%);transition:transform .28s cubic-bezier(.2,.8,.3,1)}.mobile-menu-sheet.open{transform:none}.mobile-menu-sheet header{display:flex;align-items:center;justify-content:space-between;padding:4px 4px 14px;border-bottom:1px solid var(--line)}.mobile-menu-user{display:flex;align-items:center;gap:11px}.mobile-menu-user img{width:48px;height:48px;border-radius:50%;object-fit:cover}.mobile-menu-user b,.mobile-menu-user small{display:block}.mobile-menu-user small{color:var(--muted);margin-top:3px}.mobile-menu-sheet nav{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding-top:13px;overflow:auto}.mobile-menu-sheet nav a{min-height:50px;padding:0 13px;border-radius:14px;background:var(--soft);color:var(--text);display:flex;align-items:center;gap:11px;font-weight:650}.mobile-menu-sheet nav a:active{transform:scale(.975);background:var(--primary-light)}.mobile-menu-sheet nav svg{width:20px;color:var(--primary)}.mobile-menu-sheet nav i{margin-left:auto;min-width:20px;height:20px;border-radius:10px;background:var(--primary);color:#fff;font:700 10px/20px;text-align:center}.bottom-nav .nav-item{border:0;background:transparent;color:inherit}.story-capture{place-items:stretch}.story-capture-frame{width:100%;height:100dvh;border-radius:0}.story-capture>p{bottom:calc(8px + env(safe-area-inset-bottom));left:0;right:0;text-align:center}.story-capture-controls{bottom:calc(34px + env(safe-area-inset-bottom))}.story-sequence .story-media{width:100%;height:100dvh;border-radius:0}.story-nav{display:none}.story-sequence>header{top:calc(26px + env(safe-area-inset-top))}.story-sequence .story-progress{top:calc(12px + env(safe-area-inset-top))}.media-lightbox>div{width:100vw;height:100dvh}.media-lightbox img,.media-lightbox video{max-width:100%;max-height:100%;border-radius:0}.media-lightbox-close{top:calc(12px + env(safe-area-inset-top));right:12px}.messages-shell{height:calc(100dvh - 118px)}.thread-messages{padding:14px 10px calc(16px + env(safe-area-inset-bottom))}.bubble{max-width:84%}}
.chat-wall-picker{position:relative;margin-left:auto}.chat-wall-pop{position:absolute;z-index:12;top:46px;right:0;width:260px;padding:10px;border:1px solid var(--line);border-radius:15px;background:var(--surface);box-shadow:var(--shadow);display:grid;grid-template-columns:repeat(3,1fr);gap:7px;opacity:0;visibility:hidden;transform:translateY(-5px);transition:.16s ease}.chat-wall-picker.open .chat-wall-pop{opacity:1;visibility:visible;transform:none}.chat-wall-pop button{border:0;background:transparent;color:var(--text);display:grid;gap:4px;font-size:10px;cursor:pointer}.chat-wall-pop button.active{color:var(--primary);font-weight:800}.chat-wall-pop i{height:38px;border:2px solid transparent;border-radius:9px;background:#f4f5f8}.chat-wall-pop button.active i{border-color:var(--primary)}.chat-wall-pop .wall-clean{background:#fff}.chat-wall-pop .wall-pattern{background-color:#f4f1fb;background-image:radial-gradient(circle at 5px 5px,rgba(133,80,220,.15) 2px,transparent 2px);background-size:14px 14px}.chat-wall-pop .wall-sky{background:linear-gradient(145deg,#e8f7ff,#b8dcfb)}.chat-wall-pop .wall-ocean{background:linear-gradient(145deg,#e5fbff,#8bd6db)}.chat-wall-pop .wall-mint{background:linear-gradient(145deg,#edfff5,#b6efd0)}.chat-wall-pop .wall-olive{background:linear-gradient(145deg,#fafbe8,#d9dfa6)}.chat-wall-pop .wall-lavender{background:linear-gradient(145deg,#f7f0ff,#d8c6f7)}.chat-wall-pop .wall-powder{background:linear-gradient(145deg,#fff1f7,#f5cbdc)}
body.dark-feed .notification-popover{background:#191d27;border-color:#313746;color:#f5f6f8}body.dark-feed .notification-mini{color:#f5f6f8}body.dark-feed .notification-mini:hover,body.dark-feed .notification-mini.unread{background:#242936}body.dark-feed .notification-popover>header{border-color:#313746}body.dark-feed .notification-popover-empty,body.dark-feed .notification-mini small{color:#aab2c0}body.dark-feed .home-empty{background:#171b24!important;color:#f4f5f8!important}body.dark-feed .home-empty p{color:#aab2c0!important}
body.dark-feed .mobile-menu-sheet{background:#191d27;color:#f4f5f8}body.dark-feed .mobile-menu-sheet header{border-color:#313746}body.dark-feed .mobile-menu-sheet nav a{background:#242936;color:#f4f5f8}body.dark-feed .mobile-menu-sheet nav a:active{background:#302842}body.dark-feed .mobile-menu-user small{color:#aab2c0}@media(max-width:900px){.room-shell{width:100%;height:calc(100dvh - 118px);border-radius:0;grid-template-columns:minmax(0,1fr)!important;justify-content:stretch!important}.room-body{grid-template-columns:minmax(0,1fr)!important}.room-members{display:none}.room-head,.room-reactions,.room-chat,.room-compose{width:100%;box-sizing:border-box}.room-chat{padding:14px}.room-compose input{min-width:0}}

/* ReeUp room page: measured at 1280px, including its three-column chat shell. */
body[data-route="room"]{height:100vh;overflow:hidden;background:#e5e7eb}
body[data-route="room"] .topbar{height:56px;max-width:1274px;margin:0 auto;border:0;border-radius:0 0 16px 16px;background:var(--surface);box-shadow:0 2px 8px rgba(15,23,42,.05);backdrop-filter:none}
body[data-route="room"] .topbar-in{max-width:none;height:56px;padding:0 14px}
body[data-route="room"] .global-search{display:none}
body[data-route="room"] .brand{font-size:20px;color:#654bc3}
body[data-route="room"] .brand-mark{width:28px;height:28px;border-radius:7px;box-shadow:none}
body[data-route="room"] .top-actions{gap:2px}
body[data-route="room"] .top-actions .icon-btn{width:34px;height:40px;border-radius:50%}
body[data-route="room"] .left-nav,body[data-route="room"]>.bottom-nav,body[data-route="room"] .right-column{display:none!important}
body[data-route="room"] .app-layout{display:block;width:100%;max-width:1274px;margin:0 auto;padding:16px 14px}
body[data-route="room"] .main-column{width:100%;max-width:none}
.room-page-v4{display:grid;grid-template-columns:280px minmax(0,648px) 280px;gap:19px;height:calc(100vh - 72px)}
.room-dialogs-v4,.room-screen-v4,.room-info-v4>section,.room-info-v4>button{background:var(--surface);box-shadow:0 4px 14px rgba(16,24,40,.1)}
.room-dialogs-v4{position:relative;height:max-content;max-height:100%;padding:16px;border-radius:16px;overflow:hidden}
.room-dialogs-v4>header{height:24px;display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;color:var(--muted);font-size:11px}
.room-dialogs-v4>header>b{letter-spacing:.25px}.room-dialogs-v4>header>a{display:flex;align-items:center;gap:2px;color:var(--primary)}.room-dialogs-v4>header svg{width:14px}
.room-dialog-search-v4{height:38px;padding:0 12px;border-radius:10px;background:var(--soft);display:flex;align-items:center;gap:8px}.room-dialog-search-v4 svg{width:17px;color:#9ca3af}.room-dialog-search-v4 input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:var(--text);font-size:12px}
.room-dialog-list-v4{max-height:calc(100vh - 158px);margin-top:10px;overflow:auto;scrollbar-width:none}.room-dialog-v4{display:grid;grid-template-columns:46px minmax(0,1fr);grid-template-rows:auto auto;gap:0 10px;min-height:68px;padding:9px 8px;border-radius:11px;color:var(--text);transition:background .16s}.room-dialog-v4:hover,.room-dialog-v4.active{background:rgba(136,73,254,.10)}.room-dialog-v4>img{grid-row:1/3;width:46px;height:46px;border-radius:28%;object-fit:cover}.room-dialog-v4>span{min-width:0}.room-dialog-v4 b,.room-dialog-v4 small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.room-dialog-v4 b{padding-right:48px;font-size:12px}.room-dialog-v4 small{margin-top:4px;color:#8b5add;font-size:10px}.room-dialog-v4 time{position:absolute;right:24px;margin-top:1px;color:#9ca3af;font-size:9px}
.room-screen-v4{position:relative;min-width:0;height:100%;border-radius:16px;overflow:hidden;background-color:#dceafb;background-image:url('/assets/images/chat-themes/chat.svg'),radial-gradient(60% 45% at 18% 22%,#eaf4ff,#dceafb);background-size:390px auto,auto;display:grid;grid-template-rows:56px minmax(0,1fr) 62px}
.room-screen-head-v4{z-index:3;height:56px;padding:0 16px;background:var(--surface);display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line)}.room-screen-head-v4>img{width:32px;height:32px;border-radius:50%;object-fit:cover}.room-screen-head-v4>span{min-width:0;flex:1}.room-screen-head-v4 b,.room-screen-head-v4 small{display:block}.room-screen-head-v4 b{font-size:13px}.room-screen-head-v4 small{display:flex;align-items:center;gap:4px;margin-top:2px;color:#10b981;font-size:9px}.room-screen-head-v4 small>i{width:5px;height:5px;border-radius:50%;background:#10b981}.room-screen-head-v4 small em{color:#9ca3af;font-style:normal}.room-screen-head-v4>button,.room-mobile-back-v4{width:36px;height:36px;border:0;border-radius:50%;background:transparent;color:#7b8491;display:grid;place-items:center}.room-screen-head-v4>button:hover,.room-mobile-back-v4:hover{background:var(--soft)}.room-screen-head-v4 svg{width:19px}.room-mobile-back-v4{display:none}
.room-inline-search-v4{position:absolute;z-index:5;left:0;right:0;top:0;height:56px;padding:8px 10px 8px 16px;background:var(--surface);display:flex;align-items:center;gap:8px}.room-inline-search-v4[hidden]{display:none}.room-inline-search-v4>svg{width:18px;color:#9ca3af}.room-inline-search-v4 input{min-width:0;flex:1;height:38px;padding:0 14px;border:0;border-radius:19px;outline:0;background:var(--soft);color:var(--text)}.room-inline-search-v4 button{width:38px;height:38px;border:0;border-radius:50%;background:var(--soft);color:var(--muted);display:grid;place-items:center}
.room-chat-v4{min-height:0;padding:16px;overflow-y:auto;scrollbar-width:thin;display:flex;flex-direction:column;gap:4px}.room-empty-v4{margin:auto;display:grid;justify-items:center;gap:7px;color:#637083}.room-empty-v4 img{width:72px;height:72px;border-radius:28%;object-fit:cover}.room-empty-v4 b{color:#1f2937}
.room-message-v4{align-self:flex-start;max-width:82%;display:flex;align-items:flex-start;gap:7px;animation:bubbleIn .2s ease}.room-message-avatar-v4{flex:0 0 auto;align-self:flex-end}.room-message-avatar-v4 img{width:30px;height:30px;border-radius:50%;object-fit:cover}.room-message-bubble-v4{position:relative;min-width:90px;padding:8px 11px 18px;border-radius:10px 10px 10px 3px;background:#fff;color:#273142;box-shadow:0 1px 2px rgba(15,23,42,.06);line-height:1.35}.room-message-bubble-v4 header{display:flex;align-items:center;gap:5px;margin-bottom:3px}.room-message-bubble-v4 header>a{color:#8b4ee9;font-size:10px;font-weight:700}.room-message-bubble-v4 header>span{padding:1px 4px;border-radius:4px;background:#eef0f2;color:#687384;font-size:8px}.room-message-bubble-v4 p{margin:0;font-size:12px;white-space:pre-wrap}.room-message-bubble-v4 time{position:absolute;right:7px;bottom:5px;color:#9ba3ae;font-size:8px}.room-media-image-v4,.room-media-video-v4{display:block;width:min(300px,100%);max-height:330px;margin-top:6px;border-radius:8px;object-fit:cover}.room-media-audio-v4{width:min(290px,100%);margin-top:6px}.room-media-file-v4{display:flex;align-items:center;gap:7px;min-width:210px;margin-top:6px;padding:9px;border-radius:8px;background:#f3f4f6;color:#303846}.room-media-file-v4 span{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.room-media-file-v4 svg{width:17px}.room-joined-v4{align-self:center;margin:6px auto;padding:4px 11px;border-radius:12px;background:rgba(55,65,81,.45);color:#fff;font-size:9px;font-weight:650}
.room-compose-v4{position:relative;z-index:3;margin:0 12px 10px;padding:6px 8px;border:1px solid rgba(203,209,218,.8);border-radius:22px;background:var(--surface);display:flex;align-items:center;gap:4px;box-shadow:0 2px 8px rgba(15,23,42,.08)}.room-compose-v4>input[name="message"]{min-width:0;flex:1;height:34px;padding:0 4px;border:0;outline:0;background:transparent;color:var(--text)}.room-attach-v4,.room-emoji-v4,.room-send-v4{flex:0 0 auto;width:34px;height:34px;border:0;border-radius:50%;background:transparent;color:#9199a5;display:grid;place-items:center}.room-attach-v4:hover,.room-emoji-v4:hover{background:var(--soft)}.room-send-v4{background:var(--primary);color:#fff}.room-compose-v4 svg{width:19px}.room-attach-v4 input{display:none}.room-compose-v4 .upload-progress{position:absolute;left:12px;right:12px;bottom:48px;grid-template-columns:minmax(0,1fr) auto;padding:8px 10px;border-radius:10px;background:var(--surface);box-shadow:0 4px 15px rgba(15,23,42,.15)}.room-compose-v4 .upload-progress>i{grid-column:1/-1;display:block;height:3px;border-radius:3px;background:var(--soft);overflow:hidden}.room-compose-v4 .upload-progress>i>b{display:block;height:100%;width:0;background:var(--primary)}.room-emoji-picker-v4{position:absolute;right:40px;bottom:52px;width:232px;padding:10px;border-radius:14px;background:var(--surface);box-shadow:0 8px 30px rgba(15,23,42,.18);grid-template-columns:repeat(8,1fr);gap:3px}.room-emoji-picker-v4:not([hidden]){display:grid}.room-emoji-picker-v4 button{width:25px;height:25px;padding:0;border:0;border-radius:6px;background:transparent;font-size:18px}.room-emoji-picker-v4 button:hover{background:var(--soft)}
.room-info-v4{height:100%;overflow-y:auto;scrollbar-width:none}.room-info-v4>section,.room-info-v4>button{width:100%;margin-bottom:10px;border:0;border-radius:16px;color:var(--text)}.room-info-hero-v4{padding:18px 14px;text-align:center}.room-info-hero-v4>img{width:90px;height:90px;margin:0 auto 8px;border-radius:28%;object-fit:cover}.room-info-hero-v4>b{display:block;font-size:13px}.room-info-hero-v4>button{max-width:100%;margin:9px auto 8px;padding:5px 10px;border:0;border-radius:11px;background:rgba(136,73,254,.10);color:#8b4ee9;display:flex;align-items:center;gap:5px}.room-info-hero-v4>button svg{width:14px}.room-info-hero-v4>button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.room-info-hero-v4>p{margin:0;color:#7b8492;font-size:10px;line-height:1.4}
.room-info-line-v4{min-height:54px;padding:0 14px;display:flex;align-items:center;gap:11px;text-align:left}.room-info-line-v4>svg{width:19px;color:#7b8492}.room-info-line-v4>b{font-size:11px}.room-info-line-v4>span,.room-info-line-v4>.switch{margin-left:auto}.room-info-line-v4>span{color:#7b8492;font-size:10px}.room-notify-v4{cursor:pointer}.room-notify-v4 .switch{pointer-events:none}
.room-members-v4{overflow:hidden}.room-members-v4>header{height:44px;padding:0 12px;display:flex;align-items:center;border-bottom:1px solid var(--line)}.room-members-v4>header b{font-size:11px}.room-members-v4>header b span{margin-left:4px;padding:2px 6px;border-radius:8px;background:var(--soft);color:#9097a2}.room-members-v4>header em{margin-left:auto;color:#10a879;font-size:10px;font-style:normal}.room-members-v4>a{min-height:64px;padding:8px 12px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:10px}.room-members-v4>a:hover{background:var(--soft)}.room-member-avatar-v4{position:relative;flex:0 0 auto}.room-member-avatar-v4 img{width:42px;height:42px;border-radius:28%;object-fit:cover}.room-member-avatar-v4>i{position:absolute;right:-2px;bottom:-1px;width:10px;height:10px;border:2px solid var(--surface);border-radius:50%;background:#10b981}.room-members-v4>a>span:last-child{min-width:0}.room-members-v4>a b,.room-members-v4>a small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.room-members-v4>a b{font-size:11px}.room-members-v4>a small{margin-top:3px;color:#7b8492;font-size:9px}.room-info-actions-v4{overflow:hidden}.room-info-actions-v4 button{width:100%;min-height:44px;padding:0 14px;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--text);display:flex;align-items:center;gap:10px;font-size:11px}.room-info-actions-v4 button:hover{background:var(--soft)}.room-info-actions-v4 button:last-child{border-bottom:0}.room-info-actions-v4 svg{width:17px}.room-info-actions-v4 .danger{color:#e5484d}
body.dark-feed[data-route="room"]{background:#10131a}.dark-feed .room-screen-v4{background-color:#202a38;background-image:url('/assets/images/chat-themes/chat.svg'),radial-gradient(60% 45% at 18% 22%,#283548,#1d2634);background-blend-mode:soft-light}.dark-feed .room-message-bubble-v4{background:#2a303c;color:#f3f4f6}.dark-feed .room-message-bubble-v4 header>span{background:#3a414f;color:#cbd1db}.dark-feed .room-media-file-v4{background:#333a47;color:#f3f4f6}.dark-feed .room-empty-v4 b{color:#f3f4f6}
@media(max-width:1050px){.room-page-v4{grid-template-columns:260px minmax(0,1fr)}.room-info-v4{display:none}}
@media(max-width:760px){body[data-route="room"]{padding:0;height:100dvh}.room-page-v4{display:block;height:calc(100dvh - 58px)}body[data-route="room"] .app-layout{padding:0}.room-dialogs-v4,.room-info-v4{display:none}.room-screen-v4{height:100%;border-radius:0;box-shadow:none;grid-template-rows:56px minmax(0,1fr) calc(62px + env(safe-area-inset-bottom))}.room-mobile-back-v4{display:grid}.room-screen-head-v4{padding:0 10px}.room-chat-v4{padding:12px 10px}.room-message-v4{max-width:92%}.room-compose-v4{margin:0 8px calc(8px + env(safe-area-inset-bottom));padding:5px}.room-compose-v4 .upload-progress{bottom:50px}.room-emoji-picker-v4{position:fixed;left:10px;right:10px;bottom:calc(66px + env(safe-area-inset-bottom));width:auto;grid-template-columns:repeat(8,1fr)}.room-emoji-picker-v4 button{width:100%;height:34px}.room-media-image-v4,.room-media-video-v4{max-width:72vw}body[data-route="room"] .mobile-head{display:flex!important}body[data-route="room"] .mobile-head .brand{display:none}body[data-route="room"] .mobile-head>.profile-page-context{display:flex}body[data-route="room"] .mobile-head>.profile-page-context b{font-size:15px}body[data-route="room"]>.bottom-nav{display:none!important}}

body.dark-feed[data-route="feed"] .home-media-actions.pc2-tab{background:#1b1e27!important}
body.dark-feed[data-route="feed"] .home-media-actions.pc2-tab:after{background:radial-gradient(circle at 100% 0,transparent 20.5px,#1b1e27 21px)!important}

/* Complete social UI parity and theme isolation */
.ree-chats-tabs a{min-width:0;border:0;border-radius:11px;background:transparent;color:#747b87;display:flex;align-items:center;justify-content:center;gap:4px;font-size:12px;font-weight:700;transition:background .16s ease,color .16s ease,box-shadow .16s ease}.ree-chats-tabs a:hover{background:rgba(255,255,255,.48);color:var(--text)}.ree-chats-tabs a.active{background:var(--surface);color:var(--text);box-shadow:0 2px 7px rgba(31,41,55,.09)}.ree-chats-tabs a span{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:8px;background:#d7d9df;font-size:9px}.ree-chats-tabs a.active span{background:var(--primary);color:#fff}.ree-chats-top>[data-dialog-unread].active{background:var(--primary)!important;color:#fff!important}.ree-room-row .ree-room-avatar{flex:0 0 auto;width:50px;height:50px;border-radius:50%;background:linear-gradient(145deg,#8d49ff,#da4cc2);color:#fff;display:grid;place-items:center}.ree-room-row .ree-room-avatar svg{width:22px;height:22px}.ree-room-row time{color:#22a77a;font-weight:700}.social-profile>.ree-gifts,.social-profile>.ree-groups{animation:sectionRise .24s ease both}.social-profile>.ree-groups{animation-delay:.04s}@keyframes sectionRise{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}

body:not(.dark-feed){--bg:#f4f5f7;--surface:#fff;--soft:#f1f2f5;--soft2:#f7f7f9;--line:#e4e6eb;--text:#20242d;--muted:#737b88;--dim:#949ba6;color:var(--text);background:var(--bg)}body:not(.dark-feed) :is(.card,.topbar,.mobile-head,.left-nav,.home-side-card,.modal-card,.notification-popover,.mobile-menu-sheet,.settings-profile,.settings-line,.settings-wall,.vip-preview,.vip-tariffs,.vip-benefits,.ree-info>section){background:var(--surface);color:var(--text);border-color:var(--line)}body:not(.dark-feed) :is(input,textarea,select,.thread-compose input){color:var(--text);border-color:var(--line)}body:not(.dark-feed) :is(.nav-link,.settings-line,.notification-mini,.support-ticket,.rating-row,.ree-user-row,.ree-chat-row){color:var(--text)}body:not(.dark-feed) :is(.nav-link,.settings-line,.notification-mini,.support-ticket,.rating-row,.ree-user-row,.ree-chat-row):hover{background:var(--soft);color:var(--text)}

body.dark-feed{--bg:#10131a;--surface:#1b1f29;--soft:#252a36;--soft2:#202530;--line:#303744;--text:#f3f4f6;--muted:#aab2c0;--dim:#8993a3;color:var(--text);background:var(--bg)}body.dark-feed :is(.card,.topbar,.mobile-head,.left-nav,.home-side-card,.modal-card,.notification-popover,.mobile-menu-sheet,.settings-profile,.settings-line,.settings-wall,.vip-preview,.vip-tariffs,.vip-benefits,.ree-info>section,.ree-chats-top form,.ree-chats-top>.icon-btn){background:var(--surface)!important;color:var(--text)!important;border-color:var(--line)!important}body.dark-feed :is(.card,.modal-card,.notification-popover,.mobile-menu-sheet,.settings-profile,.settings-line,.settings-wall,.vip-preview,.vip-tariffs,.vip-benefits,.ree-info>section) :is(h1,h2,h3,h4,b,strong,label){color:var(--text)}body.dark-feed :is(.nav-link,.settings-line,.notification-mini,.support-ticket,.rating-row,.ree-user-row,.ree-chat-row,.side-room){color:var(--text)!important}body.dark-feed :is(.nav-link,.settings-line,.notification-mini,.support-ticket,.rating-row,.ree-user-row,.ree-chat-row):hover{background:var(--soft)!important;color:#fff!important}body.dark-feed :is(input,textarea,select,.thread-compose input){background:var(--soft)!important;color:var(--text)!important;border-color:var(--line)!important}body.dark-feed :is(input,textarea)::placeholder{color:#8993a3!important}body.dark-feed .ree-chats-tabs{background:var(--soft)!important}body.dark-feed .ree-chats-tabs a{color:#aeb5c0}body.dark-feed .ree-chats-tabs a:hover{background:#303643;color:#fff}body.dark-feed .ree-chats-tabs a.active{background:#373e4c;color:#fff;box-shadow:none}body.dark-feed .ree-chats-tabs a span{background:#303643;color:#c6ccd5}body.dark-feed .ree-chats-tabs a.active span{background:var(--primary);color:#fff}body.dark-feed .ree-room-row .ree-room-avatar{box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}body.dark-feed .home-post-media{background:#171b24!important}body.dark-feed .st-gap{background:rgba(255,255,255,.82)!important}

:is(a,button,input,textarea,select,[role="button"]):focus-visible{outline:3px solid color-mix(in srgb,var(--primary) 54%,transparent);outline-offset:2px}.icon-btn,.btn,.nav-link,.ree-chat-row,.ree-user-row,.rating-row,.settings-line{transition:background .16s ease,color .16s ease,transform .12s ease,border-color .16s ease}.icon-btn:active,.btn:active,.nav-link:active{transform:scale(.97)}
@media(max-width:760px){.ree-chats-tabs{position:sticky;top:0;z-index:3}.ree-chat-list{overflow:hidden}.social-profile .ree-gifts,.social-profile .ree-groups{display:block}.social-profile .profile-posts{margin-bottom:4px}.ree-section header>a{min-height:30px}.ree-profile-card,.ree-section,.ree-chat-list{background:var(--surface)!important;color:var(--text)!important}.mobile-menu-sheet{max-height:min(84dvh,700px)}.mobile-menu-sheet nav a{min-height:52px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* ReeUp exposes unread chats as a fourth first-class filter. */
.settings-reeup .settings-group{margin-bottom:16px;overflow:hidden;border-radius:16px;background:var(--surface);box-shadow:0 4px 14px rgba(16,24,40,.1)}.settings-reeup .settings-group .settings-line{border-radius:0!important}.settings-reeup .settings-group .settings-line:last-child{border-bottom:0}.settings-reeup .settings-edit-icon{flex:0 0 40px;width:40px;height:40px;border-radius:12px;background:#f3eaff;color:#a855f7;display:grid;place-items:center}.settings-reeup .settings-edit-icon svg{width:19px;height:19px}.settings-subhead{height:58px;margin-bottom:14px;padding:0 14px;border-radius:16px;background:var(--surface);display:flex;align-items:center;gap:10px;box-shadow:0 4px 14px rgba(16,24,40,.1)}.settings-subhead>a{width:36px;height:36px;border-radius:10px;color:var(--muted);display:grid;place-items:center}.settings-subhead svg{width:19px}.settings-empty{min-height:220px;padding:30px;display:grid;place-content:center;justify-items:center;gap:8px;color:var(--muted);text-align:center}.settings-empty>svg{width:50px;height:50px}.settings-empty b{color:var(--text)}.settings-empty span{font-size:11px}.settings-blocked-row{min-height:72px;padding:10px 14px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:12px}.settings-blocked-row:last-child{border-bottom:0}.settings-blocked-row>a{min-width:0;flex:1;color:var(--text);display:flex;align-items:center;gap:11px}.settings-blocked-row img{width:48px;height:48px;border-radius:28%;object-fit:cover}.settings-blocked-row span{min-width:0}.settings-blocked-row b,.settings-blocked-row em{display:block}.settings-blocked-row em{margin-top:3px;color:var(--muted);font-size:11px;font-style:normal}.dark-feed .settings-reeup .settings-group,.dark-feed .settings-subhead{background:var(--surface);box-shadow:0 4px 14px rgba(0,0,0,.32)}body.dark-feed .settings-theme-switch{background:var(--primary)}body.dark-feed .settings-theme-switch:after{transform:translateX(19px)}
@media(max-width:760px){.settings-reeup .settings-group{border-radius:16px}.settings-subhead{margin:0 0 12px}.settings-blocked-row{padding:10px 12px}}
.wallet-reeup .wallet-overview,.wallet-reeup .wallet-flow>section{display:flex!important;flex-direction:row!important;align-items:center}.wallet-reeup .wallet-overview{justify-content:space-between!important}
.ree-chats-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}
.ree-chats-tabs a{padding:0 3px;white-space:nowrap}
@media(max-width:420px){.ree-chats-tabs a{font-size:10px;gap:2px}.ree-chats-tabs a span{min-width:16px;height:16px;padding:0 4px;font-size:8px}}
@media(max-width:420px){.ree-chats-tabs{display:flex;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none}.ree-chats-tabs::-webkit-scrollbar{display:none}.ree-chats-tabs a{flex:0 0 auto;min-width:max-content;padding:0 11px}}

/* Profile and profile editor — ReeUp licensed parity */
.profile-page-context{display:none;align-items:center;gap:8px;min-width:0}.profile-page-context b{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-page-context .icon-btn{background:var(--soft);color:var(--text)}body:is([data-route="profile"],[data-route="edit-profile"]) :is(.topbar,.mobile-head) .brand{display:none!important}body:is([data-route="profile"],[data-route="edit-profile"]) :is(.topbar,.mobile-head) .profile-page-context{display:flex!important}body:is([data-route="profile"],[data-route="edit-profile"]) .global-search{display:none}body:is([data-route="profile"],[data-route="edit-profile"]) .topbar-in{justify-content:space-between}
body[data-route="profile"] .ree-profile-card{height:auto!important}.ree-profile-user h1{color:var(--text)}.ree-profile-user .ree-status-text{margin:1px 0;color:var(--primary);font-size:12px}.profile-fact-avatar{width:22px;height:22px;margin-left:auto;border-radius:50%;overflow:hidden;background:var(--soft)}.profile-fact-avatar img{width:100%;height:100%;object-fit:cover}.profile-nick-copy{width:100%;min-height:28px;padding:0;border:0;background:transparent;color:var(--text);display:flex;align-items:center;gap:10px;text-align:left;cursor:pointer}.profile-nick-copy>svg{width:17px;height:17px;color:#a2a8b1}.profile-nick-copy>svg:last-child{margin-left:auto}.ree-extra-info{display:grid;gap:3px;margin:3px 0 6px;padding:0;background:transparent}.ree-extra-info>div{grid-template-columns:18px auto 1fr;margin:0;padding:3px 0}.ree-extra-info>div>svg{width:15px;height:15px;color:#a2a8b1}.ree-questionnaire-hint{display:block!important;height:auto!important;min-height:42px;padding:12px 13px!important;background:transparent!important;color:var(--muted)!important;border-radius:0!important}.ree-section-title{margin:0!important;padding:0!important;background:transparent!important;color:var(--text)!important;display:flex!important;align-items:center;gap:8px!important}.ree-section-title>svg{width:17px;height:17px;color:#a4aab3}.ree-section-title>span{min-width:18px;height:18px;padding:0 5px;border-radius:7px;background:var(--soft);color:var(--muted);display:grid;place-items:center;font-size:9px}.ree-section-scroll{margin-left:auto;display:flex;align-items:center;gap:6px}.ree-section-scroll .home-arrow{position:static;width:28px;height:28px;opacity:1;transform:none;translate:none;box-shadow:none}.ree-section-scroll .home-arrow:disabled{opacity:.35;cursor:not-allowed}.ree-section-scroll>a{display:flex;align-items:center;gap:2px;padding:7px 9px;border-radius:9px;background:var(--soft);color:var(--muted);font-size:10px}.ree-section-scroll>a svg{width:13px}.ree-group-list a>small{display:block;margin-top:3px;color:var(--muted);font-size:9px}
body[data-route="edit-profile"]{background:#f4f5f7}.ep-page{max-width:none;margin:0;gap:0}.ep-profile-head{display:flex;align-items:center;gap:13px;padding:15px;margin-bottom:16px}.ep-photo-form{margin:0}.ep-avatar-button{position:relative;display:block;width:58px;height:58px;cursor:pointer}.ep-avatar-button>img{width:58px;height:58px;border-radius:50%;object-fit:cover;background:var(--soft)}.ep-avatar-button>span{position:absolute;right:-1px;bottom:-1px;width:23px;height:23px;border:2px solid var(--surface);border-radius:7px;background:var(--primary);color:#fff;display:grid;place-items:center}.ep-avatar-button>span svg{width:13px}.ep-avatar-button input{display:none}.ep-profile-head>div{display:grid;gap:3px}.ep-profile-head>div>b{font-size:14px}.ep-profile-head>div>b small{display:inline-block;margin-left:4px;padding:2px 5px;border-radius:6px;background:var(--soft);color:var(--muted);font-size:9px}.ep-profile-head>div>span{color:var(--muted);font-size:11px}.ep-profile-head>div>button{width:max-content;padding:0;border:0;background:transparent;color:var(--primary);font-size:11px;font-weight:700;cursor:pointer}.ep-section-label{margin:0 0 9px;color:#6f7783;font-size:11px;font-weight:800;letter-spacing:.06em}.ep-row-group{overflow:hidden;margin:0 0 16px}.ep-row{width:100%;min-height:68px;padding:11px 14px;border:0;border-bottom:1px solid var(--line);background:var(--surface);color:var(--text);display:flex;align-items:center;gap:12px;text-align:left;transition:background .15s ease,transform .12s ease}.ep-row:last-child{border-bottom:0}.ep-row:hover{background:var(--soft)}.ep-row:active{transform:scale(.995)}.ep-row-icon{flex:0 0 40px;width:40px;height:40px;border-radius:12px;color:#fff;display:grid;place-items:center;box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)}.ep-row-icon svg{width:20px;height:20px}.ep-row-icon.violet{background:linear-gradient(145deg,#7e46ee,#a54af1)}.ep-row-icon.green{background:linear-gradient(145deg,#19a777,#22c899)}.ep-row-icon.orange{background:linear-gradient(145deg,#ff9a17,#ffb227)}.ep-row-icon.blue{background:linear-gradient(145deg,#2f83ef,#4da4ff)}.ep-row-icon.red{background:linear-gradient(145deg,#ff4b57,#ff626c)}.ep-row-copy{min-width:0;flex:1;display:grid;gap:3px}.ep-row-copy b{font-size:13px}.ep-row-copy small{color:var(--muted);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ep-row>svg{width:17px;color:#a4aab3}.ep-switch{flex:0 0 48px;width:48px;height:28px;padding:3px;border:0;border-radius:15px;background:#d9dde4;cursor:pointer;transition:background .18s ease}.ep-switch i{display:block;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.18);transition:transform .2s cubic-bezier(.2,.9,.3,1.1)}.ep-switch.on{background:#21bd8a}.ep-switch.on i{transform:translateX(20px)}
.profile-edit-overlay{position:fixed;z-index:280;inset:0;display:grid;place-items:center;opacity:0;transition:opacity .18s ease}.profile-edit-overlay.visible{opacity:1}.profile-edit-backdrop{position:absolute;inset:0;border:0;background:rgba(16,18,24,.58);backdrop-filter:blur(4px);cursor:default}.profile-edit-sheet{position:relative;width:min(500px,calc(100vw - 32px));max-height:min(760px,calc(100dvh - 56px));overflow:hidden;border-radius:18px;background:#f1f2f5;color:#20242d;box-shadow:0 24px 70px rgba(0,0,0,.28);transform:translateY(10px) scale(.985);transition:transform .2s cubic-bezier(.2,.8,.3,1)}.profile-edit-overlay.visible .profile-edit-sheet{transform:none}.profile-sheet-handle{display:none}.ep-sheet-form{display:flex;max-height:inherit;flex-direction:column;padding:10px}.ep-sheet-form>header{min-height:45px;padding:0 8px;display:flex;align-items:center;gap:8px}.ep-sheet-form>header>b{font-size:14px}.ep-sheet-form>header>span{margin-left:auto;color:var(--muted);font-size:11px;font-weight:800}.ep-sheet-close{margin-left:auto;width:34px;height:34px;border:0;border-radius:50%;background:#fff;color:#7c8490;display:grid;place-items:center;cursor:pointer}.ep-sheet-close:hover{background:#e7e9ee;color:#20242d}.ep-sheet-close svg{width:18px}.ep-sheet-form>label,.ep-sheet-form>fieldset{margin:0 0 10px}.ep-sheet-form label{display:grid;gap:7px;color:#737b88;font-size:11px;font-weight:650}.ep-sheet-form input,.ep-sheet-form textarea,.ep-sheet-form select{width:100%;box-sizing:border-box;border:1px solid transparent;border-radius:12px;background:#fff;color:#20242d;font:inherit;font-size:13px;outline:0;transition:border-color .15s ease,box-shadow .15s ease}.ep-sheet-form input,.ep-sheet-form select{height:43px;padding:0 13px}.ep-sheet-form textarea{min-height:124px;padding:12px 13px;resize:vertical}.ep-sheet-form input:focus,.ep-sheet-form textarea:focus,.ep-sheet-form select:focus{border-color:#914cff;box-shadow:0 0 0 2px rgba(145,76,255,.12)}.ep-prefixed,.ep-suffixed{position:relative;display:block}.ep-prefixed>i,.ep-suffixed>i{position:absolute;z-index:2;top:50%;translate:0 -50%;color:#6f7784;font-style:normal}.ep-prefixed>i{left:13px}.ep-prefixed>input{padding-left:28px}.ep-suffixed>i{right:14px}.ep-suffixed>input{padding-right:40px}.ep-field-meta{display:flex;justify-content:space-between;padding:0 2px;margin:-2px 0 10px;color:#7b8390}.ep-field-meta small{font-size:10px}.ep-field-meta i{font-style:normal}.ep-count-field{position:relative}.ep-count-field>span{position:absolute;right:12px;top:30px;color:#727b88}.ep-count-field>span svg{width:20px}.ep-count-field textarea{min-height:48px;padding-right:42px}.ep-bio-field>small{position:absolute;right:10px;bottom:8px;color:#777f8b;font-size:10px}.ep-bio-field textarea{min-height:128px;padding-bottom:27px}.ep-save{flex:0 0 44px;width:100%;height:44px;border:0;border-radius:12px;background:#8d47ff;color:#fff;font-size:13px;font-weight:800;cursor:pointer;transition:filter .15s ease,transform .12s ease}.ep-save:hover:not(:disabled){filter:brightness(1.06)}.ep-save:active:not(:disabled){transform:scale(.99)}.ep-save:disabled{background:#b997f5;color:#f4ecff;cursor:not-allowed}.ep-sheet-form fieldset{padding:0;border:0}.ep-sheet-form legend{display:flex;align-items:center;gap:6px;margin:0 0 8px;color:#737b88;font-size:11px;font-weight:700}.ep-sheet-form legend svg,.ep-dating-form>label>svg{width:14px;height:14px}.ep-choice-grid{display:flex;flex-wrap:wrap;gap:7px}.ep-choice-three{display:grid;grid-template-columns:repeat(3,1fr)}.ep-choice{display:block!important}.ep-choice input{position:absolute;opacity:0;pointer-events:none}.ep-choice span{min-height:38px;padding:0 13px;border-radius:11px;background:#fff;color:#20242d;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;cursor:pointer;transition:background .15s ease,color .15s ease,transform .12s ease}.ep-choice input:checked+span{background:#8c45ff;color:#fff}.ep-choice input:focus-visible+span{outline:3px solid rgba(140,69,255,.3)}.ep-date-grid{display:grid;grid-template-columns:.75fr 1.45fr .9fr;gap:8px}.ep-date-grid select{padding:0 10px}.ep-interests-form{padding-bottom:10px}.ep-interests-scroll,.ep-dating-scroll{min-height:0;overflow:auto;padding-right:2px}.ep-interests-scroll fieldset{padding:12px;border-radius:13px;background:#fff}.ep-interest-tags{display:flex;flex-wrap:wrap;gap:7px}.ep-interest-tags label{display:block}.ep-interest-tags input{position:absolute;opacity:0;pointer-events:none}.ep-interest-tags span{min-height:34px;padding:0 12px;border-radius:11px;background:#f0f1f4;color:#20242d;display:flex;align-items:center;gap:6px;font-size:11px;font-weight:700;cursor:pointer}.ep-interest-tags span svg{width:14px;height:14px}.ep-interest-tags input:checked+span{background:#8d47ff;color:#fff}.ep-interest-tags input:disabled+span{opacity:.48;cursor:not-allowed}.ep-dating-scroll{padding:4px 2px 4px}.ep-dating-scroll fieldset,.ep-dating-scroll>label{margin-bottom:12px}.ep-dating-scroll>label{position:relative}.ep-dating-scroll>label>svg{position:absolute;top:0;left:0}.ep-dating-scroll>label{padding-top:21px}.ep-dating-scroll>label>svg+*{margin-top:0}.ep-dating-form textarea{min-height:88px}
.ree-profile-user>img{border-radius:28%!important}.profile-fact-avatar{display:grid;place-items:center;color:#a2a8b1}.profile-fact-avatar>svg{width:15px!important;height:15px!important;color:inherit!important}body.dark-feed[data-route="edit-profile"] .nav-link.active{background:#3b2a55!important;color:#d9b8ff!important}body.dark-feed[data-route="edit-profile"] .nav-link.active svg{color:#d9b8ff!important}@media(max-width:760px){.ep-sheet-close{display:grid!important;width:32px;height:32px;background:#fff;border:1px solid #e1e4e9}.dark-feed .ep-sheet-close{background:#2d3139;border-color:#3a3f48}}
body.dark-feed[data-route="edit-profile"]{background:#0f1116!important}.dark-feed .ep-section-label{color:#969eaa}.dark-feed .ep-profile-head,.dark-feed .ep-row-group{background:#17191d!important;border-color:#262a31!important}.dark-feed .ep-row{background:#17191d;color:#f1f3f6;border-color:#282c33}.dark-feed .ep-row:hover{background:#202329}.dark-feed .ep-row-copy b{color:#f1f3f6}.dark-feed .ep-row-copy small{color:#969eaa}.dark-feed .profile-edit-sheet{background:#202329;color:#f3f4f6}.dark-feed .ep-sheet-close{background:#2d3139;color:#b7bdc8}.dark-feed .ep-sheet-close:hover{background:#383d46;color:#fff}.dark-feed .ep-sheet-form input,.dark-feed .ep-sheet-form textarea,.dark-feed .ep-sheet-form select,.dark-feed .ep-choice span,.dark-feed .ep-interests-scroll fieldset{background:#2a2e36!important;color:#f3f4f6!important;border-color:#373c46!important}.dark-feed .ep-interest-tags span{background:#2a2e36;color:#f3f4f6}.dark-feed .ep-choice input:checked+span,.dark-feed .ep-interest-tags input:checked+span{background:#8d47ff!important;color:#fff!important}.dark-feed .ep-sheet-form label,.dark-feed .ep-sheet-form legend,.dark-feed .ep-field-meta{color:#aab2c0}.dark-feed .ep-save:disabled{background:#5c467e;color:#b8a5d6}.dark-feed .profile-edit-backdrop{background:rgba(0,0,0,.67)}
@media(min-width:761px){body[data-route="edit-profile"] .app-layout{grid-template-columns:280px minmax(0,620px) 280px;gap:12px;max-width:1236px;padding:14px}body[data-route="edit-profile"] .left-nav{top:71px;height:auto;padding:16px;border-radius:16px;background:var(--surface);box-shadow:0 5px 18px rgba(31,41,55,.08)}body[data-route="edit-profile"] .nav-user{gap:12px;margin-bottom:8px;padding:12px;border-radius:12px;background:var(--soft)}body[data-route="edit-profile"] .nav-user img{width:48px;height:48px;border-radius:28%}body[data-route="edit-profile"] .nav-link{height:45px;padding:0 12px;border-radius:10px;font-size:14px}body[data-route="edit-profile"] .nav-link:hover{background:var(--soft);color:var(--text)}body[data-route="edit-profile"] .home-side-card{margin-bottom:12px;padding:15px;border-radius:14px}}
@media(max-width:760px){body:is([data-route="profile"],[data-route="edit-profile"]) .mobile-head{position:sticky;top:0;z-index:90;height:56px;padding:0 10px;border-radius:0 0 14px 14px}body:is([data-route="profile"],[data-route="edit-profile"]) .profile-page-context{max-width:54%;gap:5px}body:is([data-route="profile"],[data-route="edit-profile"]) .profile-page-context .icon-btn{width:35px;height:35px;flex:0 0 35px}body:is([data-route="profile"],[data-route="edit-profile"]) .profile-page-context b{font-size:14px}body:is([data-route="profile"],[data-route="edit-profile"]) .mobile-head .top-actions{gap:0}body:is([data-route="profile"],[data-route="edit-profile"]) .mobile-head .top-actions .icon-btn{width:34px;height:34px}body[data-route="edit-profile"] .main-column{padding:10px!important}body[data-route="edit-profile"] .main-column .ep-profile-head{display:flex!important;flex-direction:row!important;justify-content:flex-start!important;align-items:center!important;gap:13px!important;margin-bottom:15px!important;border-radius:17px!important;padding:14px!important}body[data-route="edit-profile"] .main-column .ep-row-group{border-radius:17px!important;margin-bottom:15px!important}.ep-section-label{margin:0 0 9px}.ep-row{min-height:68px;padding:10px 14px}.profile-edit-overlay{align-items:end}.profile-edit-backdrop{backdrop-filter:blur(5px)}.profile-edit-sheet{width:100%;max-height:min(82dvh,720px);border-radius:18px 18px 0 0;transform:translateY(100%);padding-bottom:env(safe-area-inset-bottom)}.profile-edit-overlay.visible .profile-edit-sheet{transform:none}.profile-sheet-handle{display:block;width:42px;height:4px;margin:5px auto 0;border-radius:3px;background:#b8bec8}.ep-sheet-close{display:none}.ep-sheet-form{padding:7px 10px 10px}.ep-sheet-form>header{padding:0 6px;min-height:45px}.ep-sheet-form>header>b{font-size:14px}.ep-save{height:44px;border-radius:12px}.ep-interests-scroll,.ep-dating-scroll{overscroll-behavior:contain}.ep-choice span{min-height:38px}.ree-section-scroll .home-arrow{display:none}.ree-section-scroll>a{min-height:30px}.ree-extra-info{margin-left:0}.ree-questionnaire-hint{min-height:42px}.social-profile{padding-bottom:4px}}

/* Wallet and cross-route theme parity. */
.wallet-page{display:grid;gap:12px}.wallet-balance{display:flex;align-items:center;gap:14px;padding:18px}.wallet-icon{flex:0 0 52px;width:52px;height:52px;border-radius:16px;background:linear-gradient(145deg,#8044f4,#a75cff);color:#fff;display:grid;place-items:center;box-shadow:0 9px 22px rgba(128,68,244,.24)}.wallet-icon svg{width:25px;height:25px}.wallet-balance>div{min-width:0;display:grid;gap:3px}.wallet-balance small{color:var(--muted);font-size:11px}.wallet-balance strong{font-size:25px;line-height:1.1}.wallet-balance strong span{color:#ff536f}.wallet-balance>.btn{margin-left:auto}.wallet-packages{overflow:hidden}.wallet-package-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;padding:14px}.wallet-package{min-height:100px;border:1px solid var(--line);border-radius:14px;background:var(--soft2);color:var(--text);display:grid;place-content:center;justify-items:center;gap:3px;cursor:pointer;transition:transform .15s ease,border-color .15s ease,background .15s ease,box-shadow .15s ease}.wallet-package:hover{transform:translateY(-2px);border-color:var(--primary);background:var(--surface);box-shadow:0 8px 20px rgba(78,49,144,.11)}.wallet-package:active{transform:scale(.98)}.wallet-package-heart{color:#ff526e;font-size:23px;line-height:1}.wallet-package b{font-size:16px}.wallet-package small{color:var(--muted)}.wallet-note{display:flex;align-items:flex-start;gap:8px;margin:0;padding:0 15px 15px;color:var(--muted);font-size:11px;line-height:1.5}.wallet-note svg{flex:0 0 16px;width:16px;height:16px;color:#22aa79}.wallet-history{overflow:hidden}.wallet-history-list{display:grid}.wallet-operation{min-height:64px;padding:10px 14px;border-top:1px solid var(--line);display:flex;align-items:center;gap:11px}.wallet-operation-icon{width:38px;height:38px;border-radius:12px;background:var(--soft);color:var(--primary);display:grid;place-items:center}.wallet-operation-icon svg{width:18px}.wallet-operation>span:nth-child(2){min-width:0;display:grid;gap:3px}.wallet-operation small{color:var(--muted);font-size:10px}.wallet-operation em{margin-left:auto;padding:5px 8px;border-radius:9px;background:var(--soft);color:var(--muted);font-size:10px;font-style:normal}.wallet-operation em.paid{background:rgba(34,170,121,.12);color:#22aa79}.wallet-operation em.canceled{background:rgba(237,72,90,.12);color:#ed485a}
body.dark-feed .wallet-package{background:var(--soft2);color:var(--text);border-color:var(--line)}body.dark-feed .wallet-package:hover{background:var(--soft);border-color:#9b6cff}body.dark-feed .wallet-operation{border-color:var(--line)}body.dark-feed .wallet-operation-icon,body.dark-feed .wallet-operation em{background:var(--soft)}
.wallet-reeup{gap:10px}.wallet-overview{min-height:72px;padding:14px 16px;display:flex;align-items:center}.wallet-overview>span{min-width:0;display:grid;gap:7px}.wallet-overview small{color:var(--muted);font-size:11px}.wallet-overview strong{display:flex;align-items:center;gap:6px;font-size:21px}.wallet-overview strong img,.wallet-flow strong img,.wallet-package>img{width:20px;height:20px;object-fit:contain}.wallet-overview strong em{color:var(--muted);font-size:13px;font-style:normal;font-weight:500}.wallet-overview>.btn{margin-left:auto;display:flex;align-items:center;gap:6px}.wallet-overview>.btn svg{width:17px;height:17px}.wallet-period{margin:10px 4px 2px;color:var(--muted);font-size:12px;letter-spacing:.04em}.wallet-flow{display:grid;grid-template-columns:1fr 1fr;gap:8px}.wallet-flow>section{position:relative;min-height:70px;padding:14px;overflow:hidden;display:flex;align-items:center}.wallet-flow>section>span{display:grid;gap:6px}.wallet-flow small{color:var(--muted);font-size:11px}.wallet-flow strong{display:flex;align-items:center;gap:5px;font-size:18px}.wallet-flow i{position:absolute;right:12px;width:42px;height:42px;border-radius:50%;color:#fff;display:grid;place-items:center;box-shadow:0 0 0 12px color-mix(in srgb,currentColor 13%,transparent)}.wallet-flow i svg{width:20px;height:20px}.wallet-flow i.in{background:#2bc7a0}.wallet-flow i.out{background:#ff6472}.wallet-reeup .wallet-history{min-height:150px}.wallet-empty{min-height:150px;padding:26px;display:grid;place-content:center;justify-items:center;gap:12px;text-align:center;color:var(--muted)}.wallet-empty>svg{width:38px;height:38px;color:#a7adb7}.wallet-empty p{max-width:430px;margin:0;font-size:13px;line-height:1.5}.wallet-topup-modal{max-width:540px}.wallet-topup-modal .wallet-package>img{width:24px;height:24px}.wallet-topup-modal .wallet-package-grid{padding:16px}.dark-feed .wallet-flow>section,.dark-feed .wallet-overview,.dark-feed .wallet-reeup .wallet-history{background:var(--surface)!important;color:var(--text)!important}.dark-feed .wallet-period{color:var(--muted)}
@media(max-width:760px){.wallet-overview{border-radius:16px!important}.wallet-overview strong{font-size:19px}.wallet-overview strong em{display:none}.wallet-flow{gap:7px}.wallet-flow>section{border-radius:15px!important}.wallet-flow i{right:10px;width:36px;height:36px}.wallet-topup-modal{border-radius:18px 18px 0 0!important}}
body:not(.dark-feed) :is(.home-arrow,.people-strip-arrow,.story-arrow){background:#fff!important;color:#3f4652!important;border:1px solid #dfe2e8!important;box-shadow:0 4px 14px rgba(17,24,39,.12)!important}body:not(.dark-feed) :is(.home-arrow,.people-strip-arrow,.story-arrow):hover{background:#eceef2!important;color:#20242d!important;border-color:#cfd3da!important}body.dark-feed :is(.home-arrow,.people-strip-arrow,.story-arrow){background:#2b303b!important;color:#f2f4f7!important;border:1px solid #3c4350!important;box-shadow:0 4px 14px rgba(0,0,0,.28)!important}body.dark-feed :is(.home-arrow,.people-strip-arrow,.story-arrow):hover{background:#373e4b!important;color:#fff!important}

/* Measured against ReeUp at a 1440x1080 CSS viewport. */
body[data-route="feed"] .story-rail-arrow{top:36px;translate:0;width:30px;height:30px;border:0;background:#fff;color:#111827;box-shadow:0 2px 10px rgba(0,0,0,.14)}
body[data-route="feed"] .story-rail-arrow svg{width:16px;height:16px}
body[data-route="feed"] .st-paint,body[data-route="feed"] .st-gap,body[data-route="feed"] .st-face{border-radius:0}
body:not(.dark-feed)[data-route="feed"] .people-strip-arrow{border:0!important;background:#e5e7eb!important;color:#6b7280!important;box-shadow:none!important}
body[data-route="feed"] .people-strip-arrow:disabled{color:#9ca3af!important}
body[data-route="feed"] .people-strip-arrow svg{width:16px;height:16px}
body[data-route="feed"] .people-strip-all{height:26px}
body[data-route="feed"] .people-strip-all svg{width:14px;height:14px}
body[data-route="feed"] .people-card-add .follow-label{display:inline;height:auto;color:inherit;font:inherit;line-height:inherit}

/* Profile parity: the source uses a compact identity card, a separate six-cell stats strip, then questionnaire/gifts/groups cards. */
.pf-profile{display:flex!important;flex-direction:column;gap:12px!important;color:#111827}.pf-card{box-sizing:border-box;width:100%;padding:14px;border:0;border-radius:16px;background:#fff;box-shadow:0 4px 14px rgba(16,24,40,.1)}.pf-id{display:flex;gap:14px;height:64px}.pf-avatar,.pf-avatar img{display:block;flex:0 0 64px;width:64px;height:64px}.pf-avatar img{border-radius:28%;object-fit:cover;background:#f3f4f6}.pf-id-text{min-width:0;flex:1}.pf-name-row{display:flex;align-items:center;gap:6px;height:17.5px}.pf-name-row>span:first-child{font-size:13px}.pf-name{font-size:14px;font-weight:600;line-height:17.5px}.pf-name-row .verified{display:grid;place-items:center;width:15px;height:15px;border-radius:50%;background:#8849fe;color:#fff;font-size:9px}.pf-rate{height:17px;padding:0 6px;border-radius:6px;background:#e8eaee;color:#6b7280;display:flex;align-items:center;font-size:10.5px;font-weight:700;line-height:10.5px}.pf-mood{display:inline-flex;align-items:center;gap:5px;height:14px;margin-top:4px;color:#8849fe;font-size:14px;font-weight:500;line-height:14px}.pf-mood svg{width:14px;height:14px}.pf-presence{display:flex;align-items:center;gap:6px;margin-top:9px;color:#059669;font-size:13px;line-height:18.2px}.pf-actions{display:flex;gap:8px;height:38px;margin-top:14px}.pf-btn{height:38px;min-width:0;flex:1;padding:0 12px;border:0;border-radius:10px;background:#e8eaee;color:#374151;display:flex;align-items:center;justify-content:center;gap:6px;font-size:14px;font-weight:600;line-height:14px;cursor:pointer}.pf-btn svg{width:17px;height:17px}.pf-btn-primary{background:#8849fe;color:#fff}.pf-rows{display:flex;flex-direction:column;height:121px;margin-top:12px;padding-top:8px;border-top:1px solid #eceef1}.pf-row{box-sizing:border-box;width:100%;height:28px;min-height:28px;padding:2px 0;border:0;background:transparent;color:#111827;display:flex;align-items:center;gap:10px;text-align:left}.pf-row-icon{flex:0 0 16px;width:16px;height:16px;color:#9ca3af}.pf-row-body{min-width:0;flex:1;display:flex;align-items:center;gap:6px;font-size:13.5px;line-height:18.225px}.pf-k{color:#6b7280}.pf-v{color:#111827}.pf-nick{color:#8849fe;font-weight:600}.pf-row-copy-icon{width:14px;height:14px;color:#9ca3af}.pf-row-more{cursor:pointer}.pf-more{display:grid;gap:2px;padding:7px 0 0 26px;font-size:12px}.pf-more[hidden]{display:none!important}.pf-more>div{display:grid;grid-template-columns:16px 55px 1fr;align-items:center;gap:6px}.pf-card.pf-nums{height:71.5px;padding:0;overflow:hidden}.pf-nums-in{display:flex;height:71.5px}.pf-num{box-sizing:border-box;min-width:0;flex:1;height:71.5px;padding:14px 10px 13px;border-right:1px solid #eceef1;color:#111827;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-align:center}.pf-num:last-child{border-right:0}.pf-num b{font-size:20px;line-height:22px}.pf-num span{color:#8b929e;font-size:12px;line-height:16px}.pf-num:nth-child(1) b{color:#8b49fe}.pf-num:nth-child(2) b{color:#3b82f6}.pf-num:nth-child(3) b{color:#ec4899}.pf-num:nth-child(4) b{color:#f59e0b}.pf-num:nth-child(5) b{color:#14b8a6}.pf-num:nth-child(6) b{color:#f59e0b}.pf-sec{display:flex;width:100%}.pf-card-tight{padding:0;overflow:hidden}.pf-sec-head{box-sizing:border-box;min-height:51px;padding:12px;display:flex;align-items:center;gap:12px;border-bottom:1px solid #eceef1}.pf-sec-link{display:flex;align-items:center;gap:8px;color:#6b7280}.pf-sec-title{display:flex;align-items:center;gap:8px;font-size:13.5px;font-weight:500}.pf-sec-icon{width:16px;height:16px;color:#a1a7b0}.pf-sec-count{min-width:18px;height:15px;padding:0 5px;border-radius:7px;background:#e8eaee;color:#6b7280;display:grid;place-items:center;font-size:9px}.pf-sec-tools{margin-left:auto;display:flex;align-items:center;gap:6px}.pf-sec-all,.pf-sec-arrow{height:26px;padding:6px 9px;border:0;border-radius:8px;background:#e8eaee;color:#6b7280;display:flex;align-items:center;justify-content:center;gap:3px;font-size:12.5px;font-weight:500;line-height:12.5px}.pf-sec-all svg{width:13px;height:13px}.pf-sec-arrow{width:28px;height:28px;padding:0}.pf-sec-arrow svg{width:14px;height:14px}.pf-sec-arrow:disabled{opacity:.35}.pf-none{box-sizing:border-box;display:block;height:42.890625px;padding:12px;color:#9ca3af;font-size:13.5px;line-height:18.9px}.pf-gifts .pf-card-tight{height:150px}.pf-gifts .pf-sec-head,.pf-groups .pf-sec-head{height:53px}.pf-empty{height:97px;padding:12px;display:grid;grid-template-rows:40px 21px;align-content:center;justify-items:center;gap:12px;color:#9ca3af}.pf-empty>svg{width:40px;height:40px}.pf-empty b{color:#374151;font-size:14px}.pf-groups .pf-card-tight{min-height:150px}.pf-strip{display:flex;gap:8px;padding:12px;overflow-x:auto}.pf-strip-groups{height:142.25px}.pf-gcard{position:relative;flex:0 0 96px;height:118.25px;text-align:center}.pf-gcard-link{height:100%;display:flex;flex-direction:column;align-items:center;color:#111827}.pf-gcard-avatar{width:62px;height:62px;border-radius:28%;background:#eee center/cover no-repeat;display:grid;place-items:center;color:#8849fe}.pf-gcard-avatar svg{width:26px;height:26px}.pf-gcard-name{max-width:90px;margin-top:8px;font-size:12px;font-weight:700;line-height:15.6px;overflow:hidden}.pf-gcard-meta{margin-top:3px;color:#8b929e;font-size:10px}.pf-gcard-pin{position:absolute;top:0;right:4px;width:26px;height:26px;padding:0;border:0;border-radius:50%;background:#fff;color:#8b929e;display:grid;place-items:center;box-shadow:0 2px 8px rgba(17,24,39,.12)}.pf-gcard-pin svg{width:13px;height:13px}
body.dark-feed[data-route="profile"] .pf-profile{color:#e5e7eb}body.dark-feed[data-route="profile"] .pf-card{background:#1a1a1a;box-shadow:0 4px 14px rgba(0,0,0,.38)}body.dark-feed[data-route="profile"] :is(.pf-name,.pf-v,.pf-row,.pf-num,.pf-gcard-link,.pf-empty b){color:#e5e7eb}body.dark-feed[data-route="profile"] :is(.pf-rate,.pf-sec-all,.pf-sec-arrow,.pf-sec-count){background:#29292f;color:#a0a5ae}body.dark-feed[data-route="profile"] :is(.pf-rows,.pf-num,.pf-sec-head){border-color:#303038}body.dark-feed[data-route="profile"] .pf-avatar img{background:#29292f}
@media(min-width:1051px){body[data-route="profile"] .topbar{height:56px!important;max-width:1274px!important;margin:0 auto!important;border-radius:0 0 16px 16px!important}body[data-route="profile"] .app-layout{width:100%!important;max-width:1274px!important;grid-template-columns:280px minmax(0,680px) 280px!important;gap:3px!important;padding:16px 14px 0!important}body[data-route="profile"] .main-column{width:680px!important;max-width:680px!important;padding:0 10px 16px!important}body[data-route="profile"] .left-nav,body[data-route="profile"] .right-column{top:72px!important}body[data-route="profile"] .left-nav{height:632px!important}}
@media(min-width:1051px) and (max-width:1199px){body[data-route="profile"] .app-layout{max-width:1124px!important;grid-template-columns:280px minmax(0,504px) 280px!important;gap:12px!important}body[data-route="profile"] .main-column{width:504px!important;max-width:504px!important;padding:0 0 16px!important}}
@media(max-width:760px){body[data-route="profile"]{background:#e5e7eb!important}body[data-route="profile"] .main-column{padding:16px 10px 10px!important}body.dark-feed[data-route="profile"]{background:#0f0f0f!important}}
.pf-btn-icon{flex:0 0 38px;width:38px;padding:0}
@media(max-width:760px){.wallet-page{gap:10px}.wallet-balance{padding:14px;border-radius:17px}.wallet-icon{width:46px;height:46px;flex-basis:46px;border-radius:14px}.wallet-balance strong{font-size:21px}.wallet-package-grid{grid-template-columns:repeat(2,1fr);padding:11px}.wallet-package{min-height:91px}.wallet-note{padding:0 12px 13px}.wallet-operation{padding:9px 12px}.wallet-page .card{border-radius:17px!important}.mobile-menu-backdrop:not(.open){display:none!important;pointer-events:none!important;opacity:0!important;backdrop-filter:none!important}.mobile-menu-sheet:not(.open){pointer-events:none!important}.media-lightbox:not(.open),.modal:not(.open),.story-capture:not(.open){backdrop-filter:none!important;pointer-events:none!important}}

/* ReeUp action sheet: values measured from the live original at 360px. */
body.as-open{overflow:hidden}
.post-action-popover.as-veil{position:fixed;z-index:1500;inset:0;width:100%;height:100%;display:flex;align-items:flex-end;padding:0;margin:0;border:0;border-radius:0;background:rgba(10,10,15,0);color:#111827;opacity:1;transition:background-color .22s}
.post-action-popover.as-veil.is-shown{background:rgba(10,10,15,.45)}
.post-action-popover .as-wrap{width:100%;padding:6px 10px 10px;border:0;border-radius:18px 18px 0 0;background:#f1f2f4;box-shadow:none;transform:translateY(100%);transition:transform .18s cubic-bezier(.4,0,1,1)}
.post-action-popover.is-shown .as-wrap{transform:none;transition:transform .24s cubic-bezier(.2,.9,.3,1)}
.post-action-popover .as-grip{width:36px;height:4px;margin:6px auto 12px;border-radius:2px;background:#c6c8ce}
.post-action-popover .as-group{width:100%;margin:0 0 10px;padding:0;border:0;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 4px 14px rgba(16,24,40,.1)}
.post-action-popover .as-group:last-child{margin-bottom:0}
.post-action-popover .as-item{width:100%;height:auto;min-height:44px;padding:12px 14px;margin:0;border:0;border-radius:0;background:transparent;color:#111827;display:flex;align-items:flex-start;gap:12px;font:600 15px/18.75px ReeUI,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;text-align:left;text-decoration:none;cursor:pointer;transition:background-color .15s}
.post-action-popover .as-item:not(:last-child){min-height:44.8px}
.post-action-popover .as-item:hover,.post-action-popover .as-item:focus-visible{background:#f1f2f4;outline:0}
.post-action-popover .as-item:active{background:#e7e8ec}
.post-action-popover .as-item>svg{flex:0 0 auto;width:20px;height:20px;margin:0;color:inherit;fill:none;stroke:currentColor}
.post-action-popover .as-label{display:block;flex:1;margin:0;padding:0;color:inherit;font:inherit;transform:translateY(.625px)}
.post-action-popover .as-item.is-danger{color:#ef4444}
body.dark-feed .post-action-popover.as-veil{color:#e5e7eb}
body.dark-feed .post-action-popover .as-wrap{background:#0e0e12}
body.dark-feed .post-action-popover .as-grip{background:#45454f}
body.dark-feed .post-action-popover .as-group{background:#1c1c21;box-shadow:0 4px 14px rgba(0,0,0,.38)}
body.dark-feed .post-action-popover .as-item{color:#e9eaee}
body.dark-feed .post-action-popover .as-item:hover,body.dark-feed .post-action-popover .as-item:focus-visible{background:#29292f}
body.dark-feed .post-action-popover .as-item:active{background:#34343c}
body.dark-feed .post-action-popover .as-item.is-danger{color:#ef4444}
.home-post-media header,.home-post-media header>div,.post-head,.post-head>div{position:relative}

/* ReeUp daily-task note and mobile measurements. Keep this after shared theme rules. */
.dq-tip{position:relative;display:block;overflow:hidden;gap:normal;background:rgba(255,196,40,.15)}
.dq-tip>.tip-ico{position:absolute;right:-6px;bottom:-9px;width:52px;height:52px;opacity:.2;transform:rotate(-12deg)}
.dq-tip>.tip-ico svg{display:block;width:100%;height:100%}
.dq-tip>.tip-text{position:relative;z-index:1;display:block}
.dark-feed .dq-tip{background:rgba(255,196,40,.15);color:#ffe38f}
@media(max-width:760px){body[data-route="tasks"] .main-column{padding:16px 10px 10px!important}body[data-route="tasks"] .dq-tip{height:80.53125px;min-height:80.53125px;border-radius:16px;font-size:13px;line-height:1.45}}
@keyframes postMenuIn{from{opacity:0;transform:translateY(-5px) scale(.97)}to{opacity:1;transform:none}}

/* ReeUp desktop feed geometry verified at 1366px. */
@media(min-width:1051px){
 body:not(.dark-feed)[data-route="feed"]{background:#e5e7eb!important;color:#111827!important}
 body[data-route="feed"] .topbar{height:56px!important;max-width:1274px!important;border-radius:0 0 16px 16px!important}
 body[data-route="feed"] .app-layout{width:100%!important;max-width:1274px!important;grid-template-columns:280px minmax(0,680px) 280px!important;gap:3px!important;padding:16px 14px 0!important}
 body[data-route="feed"] .main-column{width:680px!important;max-width:680px!important;padding:0 10px 16px!important}
 body[data-route="feed"] .left-nav{top:72px!important}
 body[data-route="feed"] .right-column{top:72px!important;width:280px!important}
}
body.dark-feed[data-route="feed"]{background:#0f0f0f!important;color:#e5e7eb!important}
body.dark-feed[data-route="feed"] :is(.topbar,.mobile-head,.left-nav,.st-tray,.home-person,.home-post,.home-side-card,.bottom-nav){background:#1a1a1a!important;color:#e5e7eb!important}
body.dark-feed[data-route="feed"] .home-post.pc2{background:linear-gradient(transparent 48px,#1a1a1a 48px)!important;color:#e5e7eb!important}
body.dark-feed[data-route="feed"] .home-post-meta.pc2-meta{color:#e5e7eb!important}
body.dark-feed[data-route="feed"] :is(.topbar,.mobile-head){box-shadow:0 2px 8px rgba(0,0,0,.3)!important}
body.dark-feed[data-route="feed"] :is(.left-nav,.st-tray,.home-post,.home-side-card){box-shadow:0 4px 14px rgba(0,0,0,.38)!important}
body.dark-feed[data-route="feed"] .home-person{box-shadow:0 1px 2px rgba(0,0,0,.4)!important}
body.dark-feed[data-route="feed"] .st-face{background:#1a1a1a!important}

/* Daily tasks: shared header/sidebar entry and the same compact card system as ReeUp. */
.task-head img{display:block;width:24px;height:24px;object-fit:contain}.task-head .task-dot{position:absolute;top:2px;right:2px;width:9px;height:9px;border:2px solid var(--surface);border-radius:50%;background:#f43f5e}.dq-page{--dq-card:#fff;--dq-text:#1f2430;--dq-sub:#7d8592;--dq-line:#eceef1;--dq-tint:#f1f2f5;--dq-accent:#8849fe;color:var(--dq-text)}.dq-page-bal,.dq-card{border-radius:14px;background:var(--dq-card);box-shadow:0 4px 14px rgba(16,24,40,.09)}.dq-page-bal{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;padding:12px 14px;font-size:14px;font-weight:600}.dq-bal{display:inline-flex;align-items:center;gap:4px}.dq-gem{display:inline-block;width:14px;height:14px;object-fit:contain;vertical-align:-2px}.dq-body{display:flex;flex-direction:column;gap:10px}.dq-card{padding:14px}.dq-hero{display:flex;align-items:center;gap:14px}.dq-ring{--dq-p:0%;position:relative;flex:0 0 64px;width:64px;height:64px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--dq-accent) var(--dq-p),color-mix(in srgb,var(--dq-accent) 18%,var(--dq-tint)) 0);isolation:isolate}.dq-ring:after{content:"";position:absolute;inset:5px;border-radius:inherit;background:var(--dq-card);z-index:-1}.dq-ring b{font-size:15px}.dq-hero-c{min-width:0;flex:1;display:flex;flex-direction:column;align-items:flex-start;gap:5px}.dq-hero-t{font-size:15px;font-weight:700}.dq-hero-s{color:var(--dq-sub);font-size:13px}.dq-hero-s b{color:var(--dq-text)}.dq-timer{display:inline-flex;align-items:center;gap:5px;height:26px;margin-top:3px;padding:0 9px;border-radius:8px;background:rgba(136,73,254,.1);color:var(--dq-accent);font-size:12px;font-weight:650;white-space:nowrap}.dq-timer svg{width:14px;height:14px}.dq-streak{display:grid;gap:14px}.dq-streak-top{display:flex;align-items:center;gap:14px}.dq-streak .settings-icon-wrap{flex:0 0 40px}.dq-days{display:flex;justify-content:space-between;gap:4px}.dq-day{min-width:0;flex:1;display:flex;flex-direction:column;align-items:center;gap:5px;color:var(--dq-sub);font-size:11px;font-weight:650}.dq-dot{width:30px;height:30px;border-radius:50%;background:var(--dq-tint);display:grid;place-items:center;font-size:12px;font-weight:700}.dq-dot svg{width:15px;height:15px}.dq-day.is-done .dq-dot,.dq-day.is-today .dq-dot{background:#ff9500;color:#fff}.dq-day.is-today .dq-dot{box-shadow:0 0 0 2px var(--dq-card),0 0 0 4px #ff9500}.dq-day.is-gift .dq-dot{background:rgba(136,73,254,.14);color:var(--dq-accent)}.dq-rows{padding:0;overflow:hidden}.dq-rows .settings-item{width:100%;min-height:68px;margin:0;padding:11px 14px;border:0;border-bottom:1px solid var(--dq-line);background:transparent;color:inherit;display:flex;align-items:center;gap:12px}.dq-rows .settings-item:last-child{border-bottom:0}.dq-rows .settings-item:hover{background:var(--dq-tint)}.dq-rows .settings-content{min-width:0;flex:1}.dq-rows .settings-label,.dq-rows .settings-desc{display:block}.dq-rows .settings-label{font-size:13px;font-weight:700}.dq-rows .settings-desc{margin-top:3px;color:var(--dq-sub);font-size:11px}.dq-take,.dq-got{height:34px;border:0;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;font:inherit;font-size:12px;font-weight:700;white-space:nowrap}.dq-take{padding:0 12px;background:var(--dq-accent);color:#fff;cursor:pointer}.dq-take:active{transform:scale(.97)}.dq-got{width:34px;border-radius:50%;background:rgba(136,73,254,.12);color:var(--dq-accent)}.dq-got svg{width:15px;height:15px}.dq-inline{margin:0}.dq-progress{display:flex;align-items:center;gap:3px;color:var(--dq-sub);font-size:11px}.dq-progress svg{width:16px;height:16px}.dq-all{display:flex;align-items:center;justify-content:space-between;gap:12px}.dq-all span:first-child{display:grid;gap:4px}.dq-all small{color:var(--dq-sub)}.dq-tip{margin:0;padding:2px 12px 10px;color:var(--dq-sub);font-size:11px;line-height:1.45}.dq-side{display:block;color:inherit}.dq-side header span{margin-left:auto;color:var(--muted);font-size:11px;font-weight:700}.dq-side-line{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px;color:var(--muted);font-size:11px}.dq-side-line strong{padding:6px 9px;border-radius:9px;background:var(--primary);color:#fff;font-size:10px}
body:is([data-route="tasks"]) :is(.topbar,.mobile-head) .brand{display:none!important}body[data-route="tasks"] :is(.topbar,.mobile-head) .profile-page-context{display:flex!important}body[data-route="tasks"] .profile-page-context b{font-size:0}body[data-route="tasks"] .profile-page-context b:after{content:attr(data-page-title);font-size:15px}body[data-route="tasks"] .global-search{display:none}
body.dark-feed[data-route="tasks"]{background:#0f0f0f;color:#e5e7eb}.dark-feed .dq-page{--dq-card:#1c1c21;--dq-text:#e5e7eb;--dq-sub:#a0a5ae;--dq-line:#303038;--dq-tint:#29292f}.dark-feed .dq-page-bal,.dark-feed .dq-card{box-shadow:0 4px 14px rgba(0,0,0,.38)}.dark-feed .dq-timer{background:rgba(168,85,247,.18)}.dark-feed .dq-rows .settings-item{color:var(--dq-text)}
@media(min-width:1051px){body[data-route="tasks"] .topbar{height:56px!important;max-width:1274px!important;border-radius:0 0 16px 16px!important}body[data-route="tasks"] .app-layout{width:100%!important;max-width:1274px!important;grid-template-columns:280px minmax(0,680px) 280px!important;gap:3px!important;padding:16px 14px 0!important}body[data-route="tasks"] .main-column{width:680px!important;max-width:680px!important;padding:0 10px 16px!important}body[data-route="tasks"] .left-nav,body[data-route="tasks"] .right-column{top:72px!important}}
@media(min-width:1051px) and (max-width:1199px){body[data-route="tasks"] .app-layout{max-width:1124px!important;grid-template-columns:280px minmax(0,504px) 280px!important;gap:12px!important}body[data-route="tasks"] .main-column{width:504px!important;max-width:504px!important;padding:0 0 16px!important}}
@media(max-width:760px){body[data-route="tasks"]{overflow-x:hidden;padding-bottom:64px}body[data-route="tasks"] .main-column{padding:16px 10px 10px!important}.dq-page-bal{min-height:47.5px;margin-bottom:10px}.dq-card{border-radius:14px}.dq-hero{align-items:center}.dq-ring{flex-basis:64px;width:64px;height:64px}.dq-days{gap:4px}.dq-dot{width:30px;height:30px}.dq-rows .settings-item{min-height:69px;padding:14px 16px;gap:14px}.dq-take{padding:0 9px;font-size:11px}.dq-rows .settings-desc{white-space:normal}.dq-tip{min-height:80.5px;border-radius:16px;font-size:13px;line-height:1.45}}

.dq-page-bal{line-height:1.4}.dq-tip{min-height:62px;margin-top:10px;padding:12px 14px;border-radius:14px;background:rgba(255,204,0,.12);color:#746321;display:flex;align-items:flex-start;gap:10px;font-size:11px;line-height:1.45}.dq-tip>svg{flex:0 0 18px;width:18px;height:18px;color:#e3a900}.dq-claim-all{margin-top:12px}.dq-claim-all .dq-take{width:100%;height:46px;font-size:15px}.dq-claim-all .dq-gem{width:16px;height:16px}
body.dark-feed[data-route="tasks"] :is(.topbar,.mobile-head,.left-nav,.home-side-card){background:#1a1a1a!important;color:#e5e7eb!important;box-shadow:0 4px 14px rgba(0,0,0,.38)!important}.dark-feed .dq-tip{background:rgba(255,204,0,.1);color:#d8c27b}
body[data-route="tasks"] .dq-tip{position:relative;display:block;overflow:hidden;gap:normal;background:rgba(255,196,40,.15)}body[data-route="tasks"] .dq-tip>.tip-ico{position:absolute;right:-6px;bottom:-9px;width:52px;height:52px;opacity:.2;transform:rotate(-12deg)}body[data-route="tasks"] .dq-tip>.tip-ico svg{display:block;width:100%;height:100%}body[data-route="tasks"] .dq-tip>.tip-text{position:relative;z-index:1;display:block}body.dark-feed[data-route="tasks"] .dq-tip{background:rgba(255,196,40,.15);color:#ffe38f}
body:not(.dark-feed)[data-route="tasks"]{background:#e5e7eb!important}body:not(.dark-feed)[data-route="tasks"] .dq-tip{background:#fff4c7;color:#5c4300}
body:not(.dark-feed)[data-route="tasks"] .dq-page{--dq-text:#111827}
body[data-route="tasks"] .dq-timer{font-size:12.5px}body.dark-feed[data-route="tasks"] .dq-timer{color:#a855f7}
@media(max-width:760px){body[data-route="tasks"] .main-column{padding:16px 10px 10px!important}body[data-route="tasks"] .dq-tip{height:80.53125px;min-height:80.53125px;border-radius:16px;font-size:13px;line-height:1.45}body[data-route="tasks"] .dq-day{font-size:11.5px}body[data-route="tasks"] .dq-rows .settings-item:last-child{min-height:68px;height:68px}}
@media(min-width:1051px){body[data-route="tasks"] .topbar{margin:0 auto!important}}

@media(min-width:1051px){
 body .left-nav{display:flex!important;flex-direction:column!important;gap:8px!important}
 body .left-nav .nav-user{margin-bottom:8px!important}
 body .left-nav .nav-list{display:grid!important;gap:2px!important}
 body .left-nav .nav-link{height:44px!important}
 body .left-nav .nav-sep{display:none!important}
 body .left-nav .nav-link[href="/wallet"]{position:relative;margin-top:19px!important}
 body .left-nav .nav-link[href="/wallet"]:before{content:"";position:absolute;left:0;right:0;top:-11px;height:1px;background:rgba(107,114,128,.18)}
 body .left-nav .vip-card{box-sizing:border-box!important;flex:0 0 82px!important;min-height:82px!important;height:82px!important;margin-top:8px!important;padding:12px 72px 12px 14px!important}
 body .left-nav .sidebar-foot{display:none!important}
 body .right-column{align-self:start!important;height:auto!important}
 body[data-route="tasks"] .dq-page-bal{min-height:47.5px!important;box-sizing:border-box!important}
 body[data-route="tasks"] .dq-streak{min-height:133.09375px!important;box-sizing:border-box!important}
 body[data-route="tasks"] .dq-rows .settings-item{min-height:68.8px!important;box-sizing:border-box!important}
 body[data-route="tasks"] .dq-tip{height:61.6875px!important;min-height:61.6875px!important;box-sizing:border-box!important}
}

/* ReeUp gifts page */
body[data-route="gifts"]{background:#e5e7eb;color:#111827}
body[data-route="gifts"] :is(.topbar,.mobile-head) .brand{display:none!important}
body[data-route="gifts"] :is(.topbar,.mobile-head) .profile-page-context{display:flex!important}
body[data-route="gifts"] .profile-page-context b{font-size:0}
body[data-route="gifts"] .profile-page-context b:after{content:attr(data-page-title);font-size:15px}
body[data-route="gifts"] .global-search{display:none}
body[data-route="gifts"] .topbar-in{justify-content:space-between}
.ug{box-sizing:border-box;display:flex;flex-direction:column;gap:12px;width:100%;color:#111827}
.ug-who{box-sizing:border-box;height:72px;overflow:hidden;border-radius:16px;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.08)}
.ug-who-top{box-sizing:border-box;display:flex;align-items:center;gap:12px;width:100%;height:72px;padding:12px;color:#111827}
.ug-who-face{display:block;flex:0 0 48px;width:48px;height:48px;overflow:hidden;border-radius:28%;background:#f3f4f6}
.ug-who-face img{display:block;width:100%;height:100%;object-fit:cover}
.ug-who-body{min-width:0;flex:1;display:flex;flex-direction:column;justify-content:center;gap:3px;height:39.390625px}
.ug-who-label{color:#9ca3af;font-size:12px;line-height:16.8px}
.ug-who-name{display:flex;align-items:center;gap:5px;color:#111827;font-size:14px;font-weight:600;line-height:19.6px}
.ug-who-name .user-icon{flex:0 0 auto;width:12px;height:14px}
.ug-who-go{flex:0 0 18px;width:18px;height:18px;color:#6b7280}
.ug .es{box-sizing:border-box;width:100%;height:222.390625px;margin:0;padding:60px 20px;border:0;border-radius:12px;background:#fff;color:#111827;text-align:center}
.ug .es-icon{width:64px;height:64px;margin:0 auto 16px;color:#6b7280}
.ug .es-icon svg{display:block;width:64px;height:64px}
.ug .es-title{font-size:16px;font-weight:600;line-height:22.4px}
body.dark-feed[data-route="gifts"]{background:#0f0f0f;color:#e5e7eb}
body.dark-feed[data-route="gifts"] :is(.ug-who,.ug .es){background:#1a1a1a;color:#e5e7eb}
body.dark-feed[data-route="gifts"] .ug-who{box-shadow:0 1px 2px rgba(0,0,0,.35)}
body.dark-feed[data-route="gifts"] :is(.ug,.ug-who-top,.ug-who-name,.ug .es-title){color:#e5e7eb}
body.dark-feed[data-route="gifts"] .ug-who-face{background:#1a1a1a}
@media(min-width:1051px){body[data-route="gifts"] .topbar{height:56px!important;max-width:1274px!important;margin:0 auto!important;border-radius:0 0 16px 16px!important}body[data-route="gifts"] .app-layout{width:100%!important;max-width:1274px!important;grid-template-columns:280px minmax(0,680px) 280px!important;gap:3px!important;padding:16px 14px 0!important}body[data-route="gifts"] .main-column{width:680px!important;max-width:680px!important;padding:0 10px 16px!important}body[data-route="gifts"] .left-nav,body[data-route="gifts"] .right-column{top:72px!important}}
@media(min-width:1051px) and (max-width:1199px){body[data-route="gifts"] .app-layout{max-width:1124px!important;grid-template-columns:280px minmax(0,504px) 280px!important;gap:12px!important}body[data-route="gifts"] .main-column{width:504px!important;max-width:504px!important;padding:0 0 16px!important}}
@media(max-width:760px){body[data-route="gifts"]{overflow-x:hidden;padding-bottom:64px}body[data-route="gifts"] .mobile-head{position:sticky;top:0;z-index:90;height:56px;padding:0 10px;border-radius:0 0 14px 14px}body[data-route="gifts"] .profile-page-context{max-width:54%;gap:5px}body[data-route="gifts"] .profile-page-context .icon-btn{width:35px;height:35px;flex:0 0 35px}body[data-route="gifts"] .main-column{padding:16px 10px 10px!important}}

/* ReeUp subscriptions/followers page */
.subs-page{box-sizing:border-box;width:100%;padding:0 0 12px;color:#141b29}.subs-page .filters{box-sizing:border-box;display:block;width:100%;height:44.890625px;margin:0 0 8px;padding:0;background:#e4e7ec}.subs-page .filters-scroll{box-sizing:border-box;width:100%;height:44.890625px}.subs-page .friend-name{color:#141b29}.subs-page .friend-avatar{border-radius:28%}.subs-page .user-icon{flex:0 0 auto;width:12px;height:14px}.subs-page .subs-actions{gap:2px}.subs-page .follow-btn{box-sizing:border-box;height:32px;padding:0 12px;border:0;border-radius:10px;background:#8849fe;color:#fff;display:flex;align-items:center;justify-content:center;gap:6px;font-size:13px;font-weight:600;line-height:13px;cursor:pointer}.subs-page .follow-btn.is-following{background:#e8eaee;color:#6b7280}.subs-page .subs-more{box-sizing:border-box;flex:0 0 30px;width:30px;height:32px;border-radius:10px;color:#6b7280;display:flex;align-items:center;justify-content:center}.subs-page .subs-more:hover{background:rgba(107,114,128,.1)}.subs-page .subs-more svg{width:18px;height:18px}.subs-page .es{height:222.390625px;margin:0;padding:60px 20px}.subs-page .es-icon{width:64px;height:64px;margin:0 auto 16px}.subs-page .es-icon svg{width:64px;height:64px}.subs-page .es-title{font-size:16px;line-height:22.4px}body[data-route="subscriptions"]{background:#e2e4e8!important}.dark-feed .subs-page .follow-btn.is-following{background:#29292f;color:#a0a5ae}body.dark-feed[data-route="subscriptions"]{background:#0f0f0f!important}.dark-feed .subs-page{color:#e5e7eb}.dark-feed .subs-page .filters{background:#141414}.dark-feed .subs-page .friend-name{color:#e5e7eb}
@media(min-width:1051px){body[data-route="subscriptions"] .topbar{height:56px!important;max-width:1274px!important;margin:0 auto!important;border-radius:0 0 16px 16px!important}body[data-route="subscriptions"] .app-layout{width:100%!important;max-width:1274px!important;grid-template-columns:280px minmax(0,680px) 280px!important;gap:3px!important;padding:16px 14px 0!important}body[data-route="subscriptions"] .main-column{width:680px!important;max-width:680px!important;padding:0 10px 16px!important}body[data-route="subscriptions"] .left-nav,body[data-route="subscriptions"] .right-column{top:72px!important}}
@media(min-width:1051px) and (max-width:1199px){body[data-route="subscriptions"] .app-layout{max-width:1124px!important;grid-template-columns:280px minmax(0,504px) 280px!important;gap:12px!important}body[data-route="subscriptions"] .main-column{width:504px!important;max-width:504px!important;padding:0 0 16px!important}}
@media(max-width:760px){body[data-route="subscriptions"] .main-column{padding:16px 10px 10px!important}.subs-page .friends-list{margin:0!important;border:0!important;border-radius:14px!important}.subs-page .friend-card{padding:14px 16px}.subs-page .follow-btn{font-size:13px}.subs-page .follow-btn-label{white-space:nowrap}}

/* ReeUp groups list */
.groups-page-v2{display:flex;flex-direction:column;gap:0;color:#141b29}.groups-page-v2 .search-box{box-sizing:border-box;width:100%;height:44px;margin:0 0 12px;padding:12px 14px;border:0;border-radius:12px;background:#fff;display:flex;align-items:center;gap:10px}.groups-page-v2 .search-box>svg{width:18px;height:18px;color:#9ca3af}.groups-page-v2 .search-box input{min-width:0;flex:1;height:20px;padding:0;border:0;outline:0;background:transparent;color:#141b29;font:15px ReeUI,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif}.groups-page-v2 .filters{box-sizing:border-box;display:block;width:100%;height:44.890625px;margin:0 0 8px;padding:0;background:#e4e7ec}.groups-page-v2 .filters-scroll{box-sizing:border-box;width:100%;height:44.890625px}.groups-page-v2 .tab-glider{display:none!important}.groups-page-v2 .filter-pill.active{background:#fff;box-shadow:0 1px 3px rgba(17,24,39,.1),0 1px 1px rgba(17,24,39,.04)}.groups-page-v2 .tab-content{width:100%}.groups-page-v2 .create-full-btn{box-sizing:border-box;width:100%;height:48px;margin:0 0 16px;padding:14px 16px;border:0;border-radius:12px;background:transparent;color:#8849fe;display:flex;align-items:center;gap:10px;font:600 15px ReeUI,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;cursor:pointer}.groups-page-v2 .create-full-btn:hover{background:rgba(136,73,254,.08)}.groups-page-v2 .create-full-btn>svg{width:20px;height:20px}.groups-page-v2 .create-limit{margin-left:auto;color:#6b7280;font-size:13px}.groups-page-v2 .communities-list{overflow:hidden;border-radius:12px;background:#fff;box-shadow:0 4px 14px rgba(16,24,40,.1);display:flex;flex-direction:column}.groups-page-v2 .community-card{box-sizing:border-box;width:100%;height:82px;padding:14px;border-bottom:1px solid #eceef1;color:#141b29;display:flex;align-items:center;gap:14px}.groups-page-v2 .community-card:last-child{border-bottom:0}.groups-page-v2 .community-card:hover{background:#f5f6f8}.groups-page-v2 .community-avatar-wrap{flex:0 0 54px;width:54px;height:54px}.groups-page-v2 .community-avatar{width:54px;height:54px;border-radius:28%;overflow:hidden;background:#f3f4f6 center/cover no-repeat;color:#8849fe;display:grid;place-items:center}.groups-page-v2 .community-avatar svg{width:24px;height:24px}.groups-page-v2 .community-body{min-width:0;flex:1;display:block}.groups-page-v2 .community-header{height:19.6px;display:flex;align-items:center;gap:8px}.groups-page-v2 .community-name{max-width:45%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:600;line-height:19.6px}.groups-page-v2 .g-ver{width:15px;height:15px;color:#8849fe}.groups-page-v2 .g-rate-chip{height:17px;display:flex;align-items:center;gap:4px}.groups-page-v2 .trophy-ico{width:15px;height:15px;color:#f59e0b}.groups-page-v2 .badge-rating{height:17px;padding:0 6px;border-radius:5px;background:#e8eaee;color:#6b7280;display:flex;align-items:center;font-size:11px;font-weight:700}.groups-page-v2 .community-meta{min-width:0;height:18.2px;margin-top:3px;color:#6b7280;display:flex;align-items:center;gap:4px;font-size:13px;line-height:18.2px}.groups-page-v2 .gc-topic{max-width:55%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.groups-page-v2 .arrow-icon{flex:0 0 18px;width:18px;height:18px;color:#6b7280}.groups-page-v2 .es{height:222.390625px;margin:0;padding:60px 20px}.dark-feed .groups-page-v2{color:#e5e7eb}.dark-feed .groups-page-v2 .search-box,.dark-feed .groups-page-v2 .communities-list,.dark-feed .groups-page-v2 .community-card{background:#1a1a1a;color:#e5e7eb}.dark-feed .groups-page-v2 .search-box input{color:#e5e7eb}.dark-feed .groups-page-v2 .filters{background:#141414}.dark-feed .groups-page-v2 .filter-pill.active{background:#2e2e2e;box-shadow:0 1px 3px rgba(0,0,0,.45)}.dark-feed .groups-page-v2 .community-card{border-color:#303038}.dark-feed .groups-page-v2 .community-card:hover{background:#232329}.dark-feed .groups-page-v2 .community-avatar,.dark-feed .groups-page-v2 .badge-rating{background:#29292f}
@media(min-width:1051px){body[data-route="groups"] .topbar{height:56px!important;max-width:1274px!important;margin:0 auto!important;border-radius:0 0 16px 16px!important}body[data-route="groups"] .app-layout{width:100%!important;max-width:1274px!important;grid-template-columns:280px minmax(0,680px) 280px!important;gap:3px!important;padding:16px 14px 0!important}body[data-route="groups"] .main-column{width:680px!important;max-width:680px!important;padding:0 10px 16px!important}body[data-route="groups"] .left-nav,body[data-route="groups"] .right-column{top:72px!important}}
@media(max-width:760px){body[data-route="groups"]{background:#e2e4e8!important}body.dark-feed[data-route="groups"]{background:#0f0f0f!important}body[data-route="groups"] .main-column{padding:16px 10px 10px!important}}
.groups-page-v2 .search-box input{background:transparent!important}
.groups-page-v2 .community-card{background:#fff}
body.dark-feed .groups-page-v2 .community-card{background:#1a1a1a}

/* Profile facts must grow with their expanded content. */
body[data-route="profile"] .ree-facts>.ree-extra-info{height:auto!important;min-height:0!important;overflow:visible;align-items:stretch;flex-direction:column}
body[data-route="profile"] .pf-rows:has(.pf-more:not([hidden])){height:auto;min-height:121px;padding-bottom:8px}
body[data-route="feed"] .people-card-add.active,body[data-route="feed"] .people-card-add.is-following{background:#eee8ff!important;color:#7647c6!important}
body[data-route="feed"] .home-media-actions.pc2-tab{width:120px!important}body[data-route="feed"] .home-media-actions.pc2-tab:after{left:119px!important}
body[data-route="feed"] .pc2-gems{min-height:28px;display:flex;align-items:center}
body[data-route="feed"] .pc2-gems.is-shut{height:0;min-height:0;overflow:hidden;display:grid}
body[data-route="feed"] .pc2-gems-row{height:28px;margin-left:0!important;padding:0;border:0;background:transparent;color:#111827;display:inline-flex;align-items:center;gap:8px;font:inherit;font-size:12.5px;cursor:pointer}
body[data-route="feed"] .pc2-gems-ico{width:22px;height:22px;display:grid;place-items:center}
body[data-route="feed"] .pc2-gems-ico img{width:18px;height:18px;object-fit:contain}
body[data-route="feed"] .pc2-gems-t b{font-weight:700}body[data-route="feed"] .pc2-gems-t span{color:#9ca3af}
body[data-route="feed"] .pc2-cap{margin:6px 0 0;padding:0;color:#111827;font-size:14.5px;line-height:21px}
body[data-route="feed"] .pc2-cap-name{color:#111827;font-weight:700}.pc2-cap-text{overflow-wrap:anywhere}
body[data-route="feed"] .pc2-time i{font-style:normal}
body.dark-feed[data-route="feed"] .pc2-gems-row,body.dark-feed[data-route="feed"] .pc2-cap,body.dark-feed[data-route="feed"] .pc2-cap-name{color:#f3f4f6}
body.dark-feed[data-route="feed"] .pc2-likes-n{color:#d1d5db}
body.dark-feed[data-route="feed"] .pc2-likes-n .rc{color:#f9fafb}
body.dark-feed[data-route="feed"] .pc2-by{color:#aeb4c0}
body.dark-feed[data-route="feed"] .pc2-by-text b{color:#f3f4f6}
body.dark-feed[data-route="feed"] .pc2-face,body.dark-feed[data-route="feed"] .pc2-by-face{background:#303542}
@media(max-width:1023px){
 body[data-route="feed"] .pc2-who{height:26.15px}
 body[data-route="feed"] .pc2-sub{height:8.05px;min-height:0;overflow:visible}
}

@media(max-width:1023px){
 body .bottom-nav.home-bottom{box-sizing:border-box;position:fixed!important;z-index:100!important;left:0!important;right:0!important;bottom:0!important;width:100%!important;max-width:none!important;height:100px!important;padding:28px 14px 10px!important;border:0!important;background:linear-gradient(rgba(243,244,246,0),rgba(243,244,246,.5) 55%,rgba(243,244,246,.78))!important;box-shadow:none!important;transform:none!important;color:#111827!important;display:block!important;pointer-events:none}
 body .bottom-nav.home-bottom .gn-bar{box-sizing:border-box;position:relative;width:100%;height:62px;border:0;border-radius:31px;background:rgba(255,255,255,.3);box-shadow:rgba(16,24,40,.13) 0 8px 28px,rgba(16,24,40,.09) 0 0 0 .5px,rgba(255,255,255,.9) 0 1.5px 1px inset,rgba(255,255,255,.45) 0 -1px 1px inset;backdrop-filter:blur(14px) saturate(190%);overflow:hidden;pointer-events:auto}
 body .bottom-nav.home-bottom .gn-glow{position:absolute;inset:0;border-radius:inherit;background:radial-gradient(120px circle at var(--gn-x,50%) var(--gn-y,50%),rgba(255,255,255,.55),transparent 70%);opacity:0;pointer-events:none;transition:opacity .45s}
 body .bottom-nav.home-bottom .gn-pill{position:absolute;z-index:0;top:0;left:0;width:calc(20% - 7.4px);height:54px;border-radius:999px;background:rgba(0,0,0,.075);box-shadow:none;transform:translate3d(7px,4px,0);transition:background-color .25s,box-shadow .25s,opacity .2s}
 body .bottom-nav.home-bottom .gn-items{position:absolute;z-index:1;inset:0;width:100%;height:62px;padding:0 4px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}
 body .bottom-nav.home-bottom .nav-item{width:100%!important;height:62px!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;display:flex!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;gap:2px!important;color:#111827!important;font:14px/19.6px ReeUI,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif!important;transition:none!important}
 body .bottom-nav.home-bottom .nav-text{color:rgba(0,0,0,.88)!important;font:600 10px/14px ReeUI,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif!important;transition:color .25s!important}
 body .bottom-nav.home-bottom .nav-item svg{width:23px!important;height:23px!important;color:rgba(0,0,0,.88)!important;stroke-width:2!important;transition:color .25s!important}
 body .bottom-nav.home-bottom .nav-item.active{color:#111827!important}body .bottom-nav.home-bottom .nav-item.active svg{color:rgba(0,0,0,.88)!important}
 body .bottom-nav.home-bottom .gn-heart-dot{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#ff2d6e 0%,#e11d48 55%,#be123c 100%);box-shadow:rgba(225,29,72,.35) 0 4px 12px,rgba(255,255,255,.55) 0 1px 1px inset,rgba(0,0,0,.12) 0 -1px 2px inset;color:#111827;font:14px/19.6px ReeUI,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif}
 body .bottom-nav.home-bottom .gn-heart-dot svg{width:23px!important;height:23px!important;color:#fff!important;stroke-width:2!important}
 body.dark-feed .bottom-nav.home-bottom{background:linear-gradient(rgba(15,15,15,0),rgba(15,15,15,.5) 55%,rgba(15,15,15,.78))!important}
 body.dark-feed .bottom-nav.home-bottom .gn-bar{border:0;background:rgba(30,30,34,.42);box-shadow:rgba(0,0,0,.45) 0 10px 30px,rgba(0,0,0,.35) 0 1px 3px,rgba(255,255,255,.18) 0 1px 1px inset,rgba(255,255,255,.06) 0 -1px 1px inset}
 body.dark-feed .bottom-nav.home-bottom .gn-pill{background:rgba(255,255,255,.15)}
 body.dark-feed .bottom-nav.home-bottom .nav-item{color:#e5e7eb!important}
 body.dark-feed .bottom-nav.home-bottom .nav-text{color:rgba(255,255,255,.92)!important}
 body.dark-feed .bottom-nav.home-bottom .nav-item svg{color:rgba(255,255,255,.92)!important}
 body.dark-feed .bottom-nav.home-bottom .nav-item.active{color:#e5e7eb!important}
 body.dark-feed .bottom-nav.home-bottom .nav-item.active svg{color:rgba(255,255,255,.92)!important}
}
.chat-compose-v2.has-file .chat-attach,.thread-compose.has-file .message-attach{background:color-mix(in srgb,var(--primary) 14%,var(--surface));color:var(--primary)}

/* ReeUp-accurate group catalogue. */
body[data-route="groups"] .groups-page-v2 .filters{height:44.9px;margin-bottom:12px;padding:4px;border-radius:14px;background:#e4e7ec;overflow:hidden}
body[data-route="groups"] .groups-page-v2 .filters-scroll{box-sizing:border-box;width:100%;height:36.9px;padding:0!important;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;overflow:hidden;overscroll-behavior:none;scrollbar-width:none}
body[data-route="groups"] .groups-page-v2 .filters-scroll::-webkit-scrollbar{display:none}
body[data-route="groups"] .groups-page-v2 .filter-pill{box-sizing:border-box;min-width:0;width:100%;height:36.9px;padding:0 8px;border-radius:12px;color:#6b7280;display:flex;align-items:center;justify-content:center;gap:6px;font-size:13.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body[data-route="groups"] .groups-page-v2 .filter-pill.active{background:#fff;color:#161b25;box-shadow:0 1px 4px rgba(17,24,39,.13)}
body[data-route="groups"] .groups-page-v2 .filter-count{min-width:18px;height:18px;padding:0 5px;border-radius:8px;background:#d8dbe1;color:#777e89;display:grid;place-items:center;font-size:10px;font-weight:700}
body[data-route="groups"] .groups-page-v2 .filter-pill.active .filter-count{background:#9851eb;color:#fff}
body[data-route="groups"] .groups-page-v2 .create-full-btn{height:48px;margin-bottom:16px;padding:0 16px;border-radius:12px;background:linear-gradient(102deg,#9b4df7,#702df1);color:#fff;box-shadow:0 4px 13px rgba(126,51,241,.24)}
body[data-route="groups"] .groups-page-v2 .create-full-btn:hover{background:linear-gradient(102deg,#a65afd,#7937f5);transform:translateY(-1px)}
body[data-route="groups"] .groups-page-v2 .create-limit{color:rgba(255,255,255,.85)}
.group-topics{margin:0 -2px 4px;padding:0;background:transparent;box-shadow:none;border-radius:0}
.group-topics>div{gap:9px;padding:0 1px 6px}
.group-topics a{width:62px;height:auto;padding:0;background:transparent;color:#252a35;display:grid;justify-items:center;gap:5px;line-height:normal;font-weight:600}
.group-topics a.active{background:transparent;color:#7439e9}
.group-topic-icon{box-sizing:border-box;width:58px;height:58px;border:2px solid transparent;border-radius:14px;background:linear-gradient(145deg,#ffb532,#ff7b3d);box-shadow:0 2px 6px rgba(30,35,50,.18);display:grid;place-items:center;font-size:31px;line-height:1}
.group-topics a:nth-child(3n+1) .group-topic-icon{background:linear-gradient(145deg,#8b55ff,#6f35e8)}
.group-topics a:nth-child(3n+2) .group-topic-icon{background:linear-gradient(145deg,#ffd339,#ff9334)}
.group-topics a:nth-child(3n) .group-topic-icon{background:linear-gradient(145deg,#31dcb0,#0bad73)}
.group-topics a.active .group-topic-icon{border-color:#9a4cff;box-shadow:0 0 0 2px #fff,0 0 0 4px #9a4cff}
.group-topic-icon svg{width:27px;height:27px;color:#fff}
.group-topics a small{max-width:70px;color:inherit;font-size:10px;line-height:13px;text-align:center;white-space:nowrap}
.group-catalog-head{height:38px;padding:0 4px}.group-catalog-head>a{display:flex;align-items:center;gap:5px}.group-catalog-head>a svg{width:14px;height:14px}
.groups-reeup .communities-list{border-radius:13px}.groups-reeup .community-card{height:90px}.groups-reeup .community-avatar,.group-top-list .community-avatar{border-radius:28%}.groups-reeup .group-join-mini{height:35px;border-radius:15px;background:#9145f6}.groups-reeup .group-join-mini.active{background:#f1eaff;color:#8550d2}
.group-podium{height:226px;margin:0 0 12px;padding:26px 25px 10px;border-radius:14px;background:linear-gradient(180deg,#fbf7ff 0,#fff 72%);box-shadow:0 4px 14px rgba(16,24,40,.08);display:flex;align-items:center;justify-content:center;gap:34px;overflow:hidden}
.podium-place{position:relative;width:110px;color:var(--text);display:grid;justify-items:center;align-content:center;text-align:center}.podium-place b{max-width:110px;margin-top:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.podium-place small{margin-top:6px;color:#6b7280;display:flex;align-items:center;gap:4px;font-size:11px}.podium-place small svg{width:13px;height:13px;color:#168be4}.podium-place .community-avatar{position:relative;width:64px;height:64px;border:3px solid #d7dbe2;background-size:cover;background-position:center}.podium-place .community-avatar em{position:absolute;left:50%;bottom:-9px;translate:-50% 0;width:21px;height:21px;border-radius:50%;background:#b8bec8;color:#fff;display:grid;place-items:center;font-size:11px;font-style:normal;font-weight:800}.podium-1{order:2;transform:translateY(-18px)}.podium-1 .community-avatar{width:76px;height:76px;border-color:#f4bf32;box-shadow:0 0 0 2px #fff}.podium-1 .community-avatar em{background:#f4b92e}.podium-2{order:1}.podium-3{order:3}.podium-3 .community-avatar{border-color:#d98c4a}.podium-3 .community-avatar em{background:#c97739}.podium-crown{position:absolute;top:-31px;font-size:28px;font-style:normal}
.group-top-list>a em{display:flex;align-items:center;gap:3px}.group-top-list>a em svg{width:14px;height:14px;color:#168be4}
.dark-feed .group-topics a{color:#d9dce2}.dark-feed .group-podium{background:linear-gradient(180deg,#271d34,#1a1a1a 72%)}
body.dark-feed[data-route="groups"] .groups-page-v2 .filters{background:#141414}body.dark-feed[data-route="groups"] .groups-page-v2 .filter-pill.active{background:#2e2e2e;color:#fff}body.dark-feed[data-route="groups"] .groups-page-v2 .filter-count{background:#29292f;color:#aeb3bd}body.dark-feed[data-route="groups"] .groups-page-v2 .filter-pill.active .filter-count{background:#9851eb;color:#fff}
@media(max-width:760px){.group-topics{margin-left:0;margin-right:-10px;padding:0;border-radius:0}.group-topics>div{padding-right:10px}.groups-reeup .communities-list{margin-left:0;margin-right:0;border-radius:13px}.group-podium{height:205px;padding:24px 8px 8px;gap:13px}.podium-place{width:92px}.podium-place b{max-width:92px}.podium-place .community-avatar{width:58px;height:58px}.podium-1 .community-avatar{width:70px;height:70px}}

/* ReeUp group page */
.group-page-v2{display:grid;gap:14px;color:var(--text)}.group-identity{padding:0;overflow:hidden}.group-cover{height:180px;background:center/cover no-repeat}.group-id-main{padding:22px 22px 14px;display:flex;align-items:center;gap:16px}.group-cover+.group-id-main{margin-top:-42px}.group-avatar{flex:0 0 88px;width:88px;height:88px;border:4px solid var(--surface);border-radius:28%;background:var(--soft) center/cover no-repeat;color:var(--primary);display:grid;place-items:center}.group-avatar svg{width:35px;height:35px}.group-id-main h1{margin:0 0 7px;color:var(--text);font-size:24px;line-height:1.15}.group-id-main h1 span{color:var(--primary)}.group-id-main p{margin:0;color:var(--muted);font-size:13px;line-height:1.45}.group-facts{padding:0 22px 12px;display:flex;gap:9px;flex-wrap:wrap}.group-facts>a,.group-facts>span{min-height:32px;padding:0 11px;border-radius:10px;background:var(--soft);color:var(--text);display:flex;align-items:center;gap:6px;font-size:11px}.group-facts svg{width:16px;color:var(--primary)}.group-facts b{color:var(--muted)}.group-stats{padding:0 22px 15px;display:flex;gap:24px}.group-stats span{color:var(--muted);font-size:11px}.group-stats b{display:block;margin-bottom:2px;color:var(--text);font-size:16px}.group-actions{padding:0 22px 20px;display:flex;gap:8px}.group-actions .btn{display:inline-flex;align-items:center;gap:7px}.group-actions .icon-btn{margin-left:auto}.group-publisher{padding:14px}.group-publisher textarea{box-sizing:border-box;width:100%;min-height:84px;resize:vertical;border:0;background:transparent;color:var(--text);font:inherit;outline:0}.group-publisher form>div{padding-top:10px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.group-publisher label{color:var(--primary);display:flex;align-items:center;gap:7px;font-size:12px;font-weight:700;cursor:pointer}.group-publisher label input{display:none}.group-wall{display:grid;gap:14px}.group-support-form p{margin:0 0 14px;color:var(--muted);font-size:13px}.support-amounts{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:16px}.support-amounts input{position:absolute;opacity:0;pointer-events:none}.support-amounts span{height:44px;border:1px solid var(--line);border-radius:12px;color:var(--text);display:grid;place-items:center;font-weight:800;cursor:pointer}.support-amounts input:checked+span{border-color:var(--primary);background:color-mix(in srgb,var(--primary) 12%,var(--surface));color:var(--primary)}.dark-feed .group-identity,.dark-feed .group-publisher{background:var(--surface)}
@media(max-width:760px){.group-page-v2{gap:10px}.group-id-main{padding:17px 14px 12px;align-items:flex-end}.group-cover{height:134px}.group-cover+.group-id-main{margin-top:-36px}.group-avatar{flex-basis:76px;width:76px;height:76px;border-radius:28%}.group-id-main h1{font-size:19px}.group-facts,.group-stats,.group-actions{padding-left:14px;padding-right:14px}.group-actions{overflow:auto;padding-bottom:16px}.group-actions .btn{flex:none}.group-publisher{border-radius:14px}.support-amounts{grid-template-columns:repeat(2,1fr)}}

/* Global navigation contrast: identical readable states in both themes */
body:not(.dark-feed) .left-nav .nav-link.active{background:#f0e5ff!important;color:#9851eb!important}body:not(.dark-feed) .left-nav .nav-link.active svg{background:transparent!important;color:#9851eb!important}body:not(.dark-feed) .left-nav .nav-link:not(.active):hover{background:#f3f4f6!important;color:#111827!important}body:not(.dark-feed) .left-nav .nav-link:not(.active):hover svg{background:transparent!important;color:#252b37!important}body.dark-feed .left-nav .nav-link.active{background:#3b2a55!important;color:#d9b8ff!important}body.dark-feed .left-nav .nav-link.active svg{background:transparent!important;color:#d9b8ff!important}body.dark-feed .left-nav .nav-link:not(.active):hover{background:#2a303c!important;color:#fff!important}body.dark-feed .left-nav .nav-link:not(.active):hover svg{background:transparent!important;color:#fff!important}
body.dark-feed .group-actions .btn:not(.btn-primary){background:var(--soft)!important;color:var(--text)!important;border-color:var(--line)!important}body.dark-feed .group-actions .btn:not(.btn-primary) svg{color:var(--text)!important}
.group-wall>.empty{display:flex;align-items:center;justify-content:center}.group-wall>.empty>div{box-sizing:border-box;min-width:0;flex:1;display:grid;justify-items:center;text-align:center}.group-wall>.empty span{display:block;width:100%;margin-top:5px;text-align:center;font-size:12px}

/* ReeUp chat screen: full conversation, information drawer and per-chat walls */
.chat-screen-v2{position:relative;height:calc(100dvh - 92px);min-height:620px;overflow:hidden;border-radius:18px;background:var(--surface);box-shadow:0 5px 20px rgba(22,26,38,.08);display:grid;grid-template-rows:64px minmax(0,1fr) 64px}.chat-screen-head{display:flex;align-items:center;gap:8px;padding:0 14px;border-bottom:1px solid var(--line);background:var(--surface);z-index:4}.chat-back,.chat-screen-head>.icon-btn,.chat-info-panel header button,.chat-wall-panel header button,.chat-inline-search button{width:40px;height:40px;border:0;border-radius:50%;background:transparent;color:var(--text);display:grid;place-items:center;cursor:pointer}.chat-back:hover,.chat-screen-head>.icon-btn:hover,.chat-info-panel header button:hover,.chat-wall-panel header button:hover{background:var(--soft)}.chat-peer-head{min-width:0;flex:1;border:0;background:transparent;color:var(--text);display:flex;align-items:center;gap:10px;text-align:left;cursor:pointer}.chat-peer-head img{width:42px;height:42px;border-radius:28%;object-fit:cover}.chat-peer-head span{min-width:0}.chat-peer-head b,.chat-peer-head small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-peer-head b{font-size:14px}.chat-peer-head small{margin-top:2px;color:var(--muted);font-size:11px}.chat-thread-wall{min-height:0;overflow:auto;padding:18px;display:flex;flex-direction:column;gap:8px;background:#f4f5f8}.chat-thread-wall.wall-clean{background:#fff}.chat-thread-wall.wall-pattern{background-color:#f4f1fb;background-image:radial-gradient(circle at 8px 8px,rgba(133,80,220,.1) 2px,transparent 2px);background-size:24px 24px}.chat-thread-wall.wall-sky{background:linear-gradient(145deg,#e8f7ff,#b8dcfb)}.chat-thread-wall.wall-ocean{background:linear-gradient(145deg,#e5fbff,#8bd6db)}.chat-thread-wall.wall-mint{background:linear-gradient(145deg,#edfff5,#b6efd0)}.chat-thread-wall.wall-olive{background:linear-gradient(145deg,#fafbe8,#d9dfa6)}.chat-thread-wall.wall-lavender{background:linear-gradient(145deg,#f7f0ff,#d8c6f7)}.chat-thread-wall.wall-powder{background:linear-gradient(145deg,#fff1f7,#f5cbdc)}.chat-thread-wall.wall-peach{background:linear-gradient(145deg,#fff5e9,#f6c99e)}.chat-thread-wall.wall-sand{background:linear-gradient(145deg,#fffbea,#e8d8a8)}.chat-thread-wall.wall-cloud{background:linear-gradient(145deg,#f7f9fc,#dbe2eb)}.chat-empty{margin:auto;display:grid;justify-items:center;gap:7px;color:#6f7784}.chat-empty img{width:72px;height:72px;border-radius:28%;object-fit:cover}.chat-empty b{color:#20242d;font-size:16px}.chat-compose-v2{position:relative;display:flex;align-items:center;gap:7px;padding:9px 12px;border-top:1px solid var(--line);background:var(--surface)}.chat-compose-v2>input[name="message"]{min-width:0;flex:1;height:44px;border:0;border-radius:22px;background:var(--soft);padding:0 16px;color:var(--text);outline:0}.chat-attach,.chat-emoji,.chat-send{width:42px;height:42px;border:0;border-radius:50%;background:transparent;color:var(--muted);display:grid;place-items:center;cursor:pointer}.chat-attach input{display:none}.chat-send{background:linear-gradient(135deg,#8a49ff,#e34dc3);color:#fff}.chat-emoji-pop{position:absolute;right:54px;bottom:58px;width:228px;padding:10px;border:1px solid var(--line);border-radius:15px;background:var(--surface);box-shadow:var(--shadow);grid-template-columns:repeat(6,1fr);gap:4px;z-index:7}.chat-emoji-pop:not([hidden]){display:grid}.chat-emoji-pop button{height:32px;border:0;border-radius:8px;background:transparent;font-size:20px;cursor:pointer}.chat-emoji-pop button:hover{background:var(--soft)}.chat-inline-search{position:absolute;z-index:8;top:8px;left:58px;right:12px;height:48px;border-radius:14px;background:var(--surface);box-shadow:0 8px 26px rgba(20,24,35,.15);display:flex;align-items:center;gap:8px;padding:0 8px 0 13px}.chat-inline-search[hidden]{display:none}.chat-inline-search input{min-width:0;flex:1;border:0;background:transparent;color:var(--text);outline:0}.chat-info-panel,.chat-wall-panel{position:absolute;z-index:9;inset:0 0 0 auto;width:min(390px,100%);background:var(--surface);color:var(--text);box-shadow:-14px 0 40px rgba(20,24,35,.18);transform:translateX(105%);transition:transform .24s cubic-bezier(.2,.8,.3,1);overflow:auto}.chat-info-panel.open,.chat-wall-panel.open{transform:none}.chat-info-panel>header,.chat-wall-panel>header{height:64px;padding:0 12px;display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--line);position:sticky;top:0;background:var(--surface);z-index:2}.chat-info-user{padding:24px 20px 8px;display:grid;justify-items:center;text-align:center;color:var(--text)}.chat-info-user img{width:84px;height:84px;border-radius:28%;object-fit:cover;margin-bottom:10px}.chat-info-user strong{font-size:17px}.chat-info-user em{font-style:normal;color:var(--muted);font-size:12px}.chat-info-user span{margin-top:4px;color:#20a679;font-size:12px}.chat-info-profile{display:block;margin:0 18px 14px;height:40px;border-radius:12px;background:var(--soft);color:var(--primary);font-weight:700;text-align:center;line-height:40px}.chat-info-row{width:100%;min-height:54px;padding:0 18px;border:0;border-top:1px solid var(--line);background:transparent;color:var(--text);display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;cursor:pointer}.chat-info-row:hover{background:var(--soft)}.chat-info-row>span,.chat-info-row.danger{display:flex;align-items:center;gap:11px}.chat-info-row svg{width:19px;height:19px;color:var(--muted)}.chat-info-row small{display:flex;align-items:center;gap:3px;color:var(--muted)}.chat-info-row small svg{width:16px}.chat-info-row.danger{justify-content:flex-start;color:#ef445d}.chat-info-row.danger svg{color:inherit}.chat-info-row .switch{pointer-events:none}.chat-wall-note{height:46px;padding:0 18px;color:var(--muted);display:flex;align-items:center;font-size:12px}.wall-grid-v2{padding:0 14px;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.wall-choice-v2{border:0;background:transparent;color:var(--text);display:grid;gap:6px;text-align:center;cursor:pointer}.wall-choice-v2>i{position:relative;height:76px;border:2px solid transparent;border-radius:13px;background:#f4f5f8;overflow:hidden}.wall-choice-v2.active>i{border-color:var(--primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--primary) 15%,transparent)}.wall-choice-v2>i span{position:absolute;left:7px;bottom:7px;padding:3px 6px;border-radius:7px;background:#fff;color:#5f6672;font-size:8px;font-style:normal}.wall-choice-v2>b{font-size:11px}.wall-choice-v2 .wall-clean{background:#fff}.wall-choice-v2 .wall-pattern{background-color:#f4f1fb;background-image:radial-gradient(circle at 8px 8px,rgba(133,80,220,.15) 2px,transparent 2px);background-size:20px 20px}.wall-choice-v2 .wall-sky{background:linear-gradient(145deg,#e8f7ff,#b8dcfb)}.wall-choice-v2 .wall-ocean{background:linear-gradient(145deg,#e5fbff,#8bd6db)}.wall-choice-v2 .wall-mint{background:linear-gradient(145deg,#edfff5,#b6efd0)}.wall-choice-v2 .wall-olive{background:linear-gradient(145deg,#fafbe8,#d9dfa6)}.wall-choice-v2 .wall-lavender{background:linear-gradient(145deg,#f7f0ff,#d8c6f7)}.wall-choice-v2 .wall-powder{background:linear-gradient(145deg,#fff1f7,#f5cbdc)}.wall-choice-v2 .wall-peach{background:linear-gradient(145deg,#fff5e9,#f6c99e)}.wall-choice-v2 .wall-sand{background:linear-gradient(145deg,#fffbea,#e8d8a8)}.wall-choice-v2 .wall-cloud{background:linear-gradient(145deg,#f7f9fc,#dbe2eb)}.chat-wall-panel>p{margin:16px 18px;color:var(--muted);font-size:12px}.wall-done{display:block;width:calc(100% - 28px);height:44px;margin:12px 14px 18px;border:0;border-radius:12px;background:var(--primary);color:#fff;font-weight:800;cursor:pointer}.chat-bulk-bar{display:none}.chat-index-v2.editing .chat-bulk-bar{display:flex}.dark-feed .chat-thread-wall.wall-plain{background:#151923}.dark-feed .chat-thread-wall.wall-clean{background:#11151d}.dark-feed .chat-empty b{color:#fff}
@media(max-width:760px){.chat-screen-v2{position:fixed;z-index:150;inset:0;height:100dvh;min-height:0;border-radius:0;grid-template-rows:calc(58px + env(safe-area-inset-top)) minmax(0,1fr) calc(62px + env(safe-area-inset-bottom));box-shadow:none}.chat-screen-head{padding-top:env(safe-area-inset-top)}.chat-compose-v2{padding-bottom:calc(9px + env(safe-area-inset-bottom))}.chat-thread-wall{padding:12px 10px}.chat-info-panel,.chat-wall-panel{width:100%}.wall-grid-v2{grid-template-columns:repeat(3,1fr)}.chat-inline-search{top:calc(6px + env(safe-area-inset-top))}.chat-empty img{width:66px;height:66px}}

/* ReeUp group catalogue tabs, topics and rating */
.groups-reeup .community-card{padding:0 12px 0 14px}.groups-reeup .community-link{min-width:0;flex:1;height:100%;display:flex;align-items:center;gap:14px;color:inherit}.groups-reeup .group-join-mini{flex:0 0 auto;height:34px;padding:0 13px;border:0;border-radius:10px;background:#8849fe;color:#fff;font:700 11px ReeUI,system-ui;cursor:pointer}.groups-reeup .group-join-mini.active{background:#ece8f8;color:#7650ba}.group-topics{margin:0 0 12px;padding:14px;border-radius:12px;background:var(--surface);box-shadow:0 4px 14px rgba(16,24,40,.08)}.group-topics>b{display:block;margin-bottom:10px;font-size:13px}.group-topics>div{display:flex;gap:7px;overflow:auto;scrollbar-width:none}.group-topics>div::-webkit-scrollbar{display:none}.group-topics a{flex:none;height:31px;padding:0 12px;border-radius:10px;background:var(--soft);color:var(--muted);font-size:11px;font-weight:700;line-height:31px}.group-topics a.active{background:var(--primary);color:#fff}.group-catalog-head{height:42px;padding:0 8px;display:flex;align-items:center;gap:7px}.group-catalog-head>b{font-size:14px}.group-catalog-head>span{color:var(--muted);font-size:12px}.group-catalog-head>a{margin-left:auto;color:var(--primary);font-size:12px}.group-top-list{overflow:hidden;border-radius:12px;background:var(--surface);box-shadow:0 4px 14px rgba(16,24,40,.08)}.group-top-list>a{height:76px;padding:10px 14px;border-bottom:1px solid var(--line);color:var(--text);display:flex;align-items:center;gap:12px}.group-top-list>a:last-child{border:0}.group-top-list>a:hover{background:var(--soft)}.group-top-list>a>strong{width:24px;color:var(--primary);font-size:18px;text-align:center}.group-top-list .community-avatar{flex:0 0 52px;width:52px;height:52px}.group-top-list>a>span:nth-child(3){min-width:0;flex:1}.group-top-list>a b,.group-top-list>a small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.group-top-list>a b{font-size:13px}.group-top-list>a small{margin-top:5px;color:var(--muted);font-size:11px}.group-top-list>a em{font-style:normal;color:var(--muted);font-size:12px;font-weight:700}.group-media-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.group-media-fields input{height:auto;padding:9px}.check-line{min-height:42px;display:flex;align-items:center;gap:9px;color:var(--text);font-size:13px}.check-line input{width:18px;height:18px}.dark-feed .group-topics,.dark-feed .group-top-list{background:#1a1a1a}.dark-feed .groups-reeup .group-join-mini.active{background:#30303a;color:#d8c7ff}@media(max-width:760px){.groups-reeup .community-name{max-width:60%}.groups-reeup .group-join-mini{height:32px;padding:0 10px}.group-topics{border-radius:0;margin-left:-10px;margin-right:-10px}.group-top-list{border-radius:0;margin-left:-10px;margin-right:-10px}}

/* Final catalogue specificity: keep the audited tile strip after legacy rules. */
body[data-route="groups"] .groups-reeup .group-topics{margin:0 -2px 4px!important;padding:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
body[data-route="groups"] .groups-reeup .group-topics>div{gap:9px!important;padding:0 1px 7px!important}
body[data-route="groups"] .groups-reeup .group-topics a{width:62px!important;height:auto!important;padding:0!important;border-radius:0!important;background:transparent!important;color:#252a35!important;display:grid!important;justify-items:center!important;gap:5px!important;line-height:normal!important}
body[data-route="groups"] .groups-reeup .group-topics a.active{color:#7439e9!important}
body[data-route="groups"] .groups-reeup .group-topic-icon{display:grid!important;width:58px!important;height:58px!important;border-radius:14px!important}
body[data-route="groups"] .groups-reeup .group-topics a small{font-size:10px!important;line-height:13px!important;color:inherit!important}
body[data-route="groups"] .groups-reeup .group-join-mini{height:35px;border-radius:15px;background:#9145f6}
body[data-route="groups"] .groups-reeup .group-join-mini.active{background:#f1eaff;color:#8550d2}
body.dark-feed[data-route="groups"] .groups-reeup .group-topics a{color:#d9dce2!important}
@media(max-width:760px){body[data-route="groups"] .groups-reeup .group-topics{margin-left:0!important;margin-right:-10px!important}.groups-reeup .group-topics>div{padding-right:10px!important}.groups-reeup .communities-list,.groups-reeup .group-top-list{margin-left:0;margin-right:0;border-radius:13px}}

/* Audited ReeUp conversation layout (desktop + mobile action sheets). */
body[data-route="messages"] .app-layout:has(.chat-page-v3){box-sizing:border-box;max-width:1280px!important;grid-template-columns:minmax(0,1fr)!important;padding:16px!important;gap:0!important}
body[data-route="messages"] .app-layout:has(.chat-page-v3)>.left-nav,body[data-route="messages"] .app-layout:has(.chat-page-v3)>.right-column{display:none!important}
body[data-route="messages"] .app-layout:has(.chat-page-v3)>.main-column{width:100%!important;min-width:0}
body[data-route="messages"] .topbar-in{max-width:1246px}
.chat-page-v3{position:relative;width:100%;height:calc(100dvh - 104px);min-height:590px;display:grid;grid-template-columns:280px minmax(0,648px) 280px;justify-content:center;align-items:stretch;gap:19px;color:var(--text)}
.chat-dialogs-v3{align-self:start;max-height:100%;overflow:hidden;border-radius:16px;background:var(--surface);box-shadow:0 4px 14px rgba(16,24,40,.1)}
.chat-dialogs-v3>header{height:54px;padding:0 18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}
.chat-dialogs-v3>header b{font-size:12px;letter-spacing:.02em}.chat-dialogs-v3>header a{color:var(--primary);display:flex;align-items:center;gap:2px;font-size:12px}.chat-dialogs-v3>header svg{width:14px;height:14px}
.chat-dialogs-list-v3{max-height:calc(100dvh - 158px);overflow:auto}.chat-dialogs-list-v3>p{margin:0;padding:22px 16px;color:var(--muted);text-align:center;font-size:12px}
.chat-dialog-v3{position:relative;min-height:64px;padding:8px 12px;color:var(--text);display:flex;align-items:center;gap:10px;border-top:1px solid var(--line)}.chat-dialog-v3:first-child{border-top:0}.chat-dialog-v3:hover,.chat-dialog-v3.active{background:var(--soft)}.chat-dialog-v3 img{flex:0 0 44px;width:44px;height:44px;border-radius:28%;object-fit:cover}.chat-dialog-v3>span{min-width:0;flex:1}.chat-dialog-v3 b,.chat-dialog-v3 small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-dialog-v3 b{font-size:13px}.chat-dialog-v3 small{margin-top:4px;color:var(--muted);font-size:10px}.chat-dialog-v3>i{min-width:19px;height:19px;padding:0 5px;border-radius:10px;background:var(--primary);color:#fff;font:700 10px/19px;text-align:center}
.chat-page-v3>.chat-screen-v2{height:100%;min-height:0;border-radius:0;background:var(--surface);box-shadow:0 4px 14px rgba(16,24,40,.1);grid-template-rows:56px minmax(0,1fr) 62px}
.chat-page-v3 .chat-screen-head{height:56px;padding:0 16px;border-bottom:0}.chat-page-v3 .chat-back,.chat-page-v3 .chat-screen-head>.theme-toggle{display:none}.chat-page-v3 .chat-peer-head{gap:10px}.chat-page-v3 .chat-peer-head img{width:36px;height:36px;border-radius:28%}.chat-page-v3 .chat-peer-head b{font-size:14px;font-weight:650}.chat-page-v3 .chat-peer-head small{color:#18a473;font-size:11px}.chat-page-v3 .chat-screen-head>[data-chat-search-open]{width:36px;height:36px;margin-left:auto;color:#8b94a3}
.chat-page-v3 .chat-thread-wall{padding:16px;gap:6px;background-color:#f2f4f7;background-image:url('/assets/images/chat-themes/fun.svg');background-position:center;background-repeat:repeat;background-size:420px auto}.chat-page-v3 .chat-thread-wall.wall-clean{background-image:none}.chat-page-v3 .chat-thread-wall.wall-pattern{background-image:url('/assets/images/chat-themes/fun.svg')}
.chat-page-v3 .bubble{max-width:74%;padding:8px 11px;border-radius:14px 14px 14px 5px;box-shadow:0 1px 2px rgba(16,24,40,.1);font-size:13px;line-height:1.38;backdrop-filter:none}.chat-page-v3 .bubble.mine{border-radius:14px 14px 5px 14px;background:#8849fe}.chat-page-v3 .bubble time{font-size:9px}
.chat-page-v3 .chat-empty img{width:84px;height:84px;border-radius:28%}.chat-page-v3 .chat-empty b{margin-top:4px;font-size:15px}.chat-page-v3 .chat-empty span{font-size:12px}
.chat-page-v3 .chat-compose-v2{margin:8px 12px;padding:0 10px;height:46px;border:0;border-radius:23px;background:var(--surface);box-shadow:0 1px 4px rgba(16,24,40,.16);gap:5px}.chat-page-v3 .chat-compose-v2>input[name="message"]{height:42px;padding:0 6px;background:transparent;border-radius:0}.chat-page-v3 .chat-attach,.chat-page-v3 .chat-emoji,.chat-page-v3 .chat-send{width:34px;height:34px}.chat-page-v3 .chat-attach{border-radius:50%;background:#eceff3;color:#77808e}.chat-page-v3 .chat-attach svg{width:19px}.chat-page-v3 .chat-send{background:transparent;color:#788191;box-shadow:none}.chat-page-v3 .chat-send svg{width:19px}
.chat-page-v3>.chat-info-panel{position:relative;z-index:2;inset:auto;width:280px;height:100%;overflow:visible;background:transparent;box-shadow:none;transform:none;display:flex;flex-direction:column;gap:12px}.chat-page-v3>.chat-info-panel>header{display:none}.chat-page-v3 .chat-info-user{box-sizing:border-box;min-height:175px;padding:18px 14px 16px;border-radius:16px;background:var(--surface);box-shadow:0 4px 14px rgba(16,24,40,.1)}.chat-page-v3 .chat-info-user img{width:88px;height:88px;margin-bottom:9px;border-radius:28%}.chat-page-v3 .chat-info-user strong{font-size:14px}.chat-page-v3 .chat-info-user em{padding:1px 4px;border-radius:5px;background:var(--soft);font-size:9px}.chat-page-v3 .chat-info-user span{margin-top:7px;font-size:11px}
.chat-page-v3 .chat-info-profile,.chat-page-v3 .chat-info-row{box-sizing:border-box;width:100%;height:46px;min-height:46px;margin:0;padding:0 12px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:var(--surface);color:var(--text);box-shadow:none;display:flex;align-items:center;gap:12px;text-align:left;line-height:normal;font-size:14px;font-weight:500}.chat-page-v3 .chat-info-profile{margin-top:0;border-radius:16px 16px 0 0}.chat-page-v3 .chat-info-profile svg:first-child{color:#737d8d}.chat-page-v3 .chat-info-profile svg:last-child{width:16px;margin-left:auto;color:#939baa}.chat-page-v3 .chat-info-row>span{flex:1}.chat-page-v3 .chat-info-row small{margin-left:auto}.chat-page-v3 .chat-info-row:nth-of-type(3){border-radius:0 0 16px 16px;border-bottom:0;margin-bottom:0}.chat-page-v3 .chat-info-row.danger{border-radius:0}.chat-page-v3 .chat-info-row.danger:nth-last-child(2){margin-top:0;border-radius:16px 16px 0 0}.chat-page-v3 .chat-info-row.danger:last-child{border:0;border-radius:0 0 16px 16px}.chat-page-v3 .chat-info-row:hover,.chat-page-v3 .chat-info-profile:hover{background:var(--soft)}
.chat-page-v3 .switch{flex:0 0 42px;width:42px;height:25px;border-radius:999px;background:#cbd1da}.chat-page-v3 .switch:after{width:21px;height:21px;top:2px;left:2px}.chat-page-v3 .switch.on{background:#8849fe}.chat-page-v3 .switch.on:after{transform:translateX(17px)}
.chat-page-v3 .chat-wall-panel{position:fixed;z-index:420;top:0;right:0;bottom:0;width:min(420px,100vw);height:100dvh;box-shadow:-12px 0 36px rgba(20,24,35,.22),0 0 0 100vmax rgba(15,18,25,.45);transform:translateX(105%);border-radius:0}.chat-page-v3 .chat-wall-panel.open{transform:none}.chat-page-v3 .chat-wall-panel>header{height:62px;padding:0 14px}.chat-page-v3 .chat-wall-panel>header button{background:var(--soft)}.chat-page-v3 .chat-wall-note{height:42px}.chat-page-v3 .wall-grid-v2{gap:12px;padding:0 16px}.chat-page-v3 .wall-choice-v2>i{height:91px}.chat-page-v3 .wall-choice-v2.active>i:after{content:'✓';position:absolute;right:7px;top:7px;width:19px;height:19px;border-radius:50%;background:var(--primary);color:#fff;font:800 12px/19px;text-align:center}.chat-page-v3 .wall-done{position:sticky;bottom:12px}
.chat-report-modal{position:fixed;z-index:500;inset:0;padding:18px;background:rgba(20,24,31,.48);display:grid;place-items:center;opacity:0;visibility:hidden;transition:opacity .18s ease}.chat-report-modal.open{opacity:1;visibility:visible}.chat-report-modal>section{width:min(340px,calc(100vw - 28px));padding:10px;border-radius:17px;background:#edf0f4;box-shadow:0 18px 50px rgba(12,17,26,.25);transform:translateY(8px) scale(.98);transition:transform .2s ease}.chat-report-modal.open>section{transform:none}.chat-report-modal header{padding:8px 10px 12px;display:grid;justify-items:center;gap:5px}.chat-report-modal header b{font-size:16px}.chat-report-modal header span{color:var(--muted);font-size:13px}.chat-report-reasons{overflow:hidden;border-radius:13px;background:var(--surface)}.chat-report-reasons button,.chat-report-cancel{box-sizing:border-box;width:100%;min-height:45px;padding:0 13px;border:0;border-bottom:1px solid var(--line);background:var(--surface);color:var(--text);display:flex;align-items:center;gap:12px;text-align:left;font-size:14px;cursor:pointer}.chat-report-reasons button:last-child{border:0}.chat-report-reasons button:hover,.chat-report-cancel:hover{background:var(--soft)}.chat-report-reasons svg,.chat-report-cancel svg{width:20px;height:20px}.chat-report-cancel{margin-top:9px;border:0;border-radius:13px}
body.dark-feed .chat-page-v3 .chat-thread-wall{background-color:#20242d;filter:none}body.dark-feed .chat-page-v3 .chat-thread-wall:not(.wall-clean){background-blend-mode:soft-light}body.dark-feed .chat-report-modal>section{background:#252a34}
@media(max-width:1120px){.chat-page-v3{grid-template-columns:230px minmax(0,1fr) 260px}.chat-page-v3>.chat-info-panel{width:260px}}
@media(max-width:900px){.chat-page-v3{grid-template-columns:minmax(0,1fr) 270px}.chat-dialogs-v3{display:none}.chat-page-v3>.chat-info-panel{width:270px}}
@media(max-width:760px){body[data-route="messages"] .app-layout:has(.chat-page-v3){padding:0}.chat-page-v3{position:fixed;z-index:150;inset:0;width:100%;height:100dvh;min-height:0;display:block}.chat-page-v3>.chat-screen-v2{position:absolute;inset:0;height:100dvh;grid-template-rows:calc(58px + env(safe-area-inset-top)) minmax(0,1fr) calc(62px + env(safe-area-inset-bottom))}.chat-page-v3 .chat-screen-head{height:auto;padding:env(safe-area-inset-top) 10px 0}.chat-page-v3 .chat-back{display:grid}.chat-page-v3 .chat-screen-head>.theme-toggle{display:none}.chat-page-v3 .chat-thread-wall{padding:12px 10px;background-size:360px auto}.chat-page-v3 .chat-compose-v2{margin:8px 9px calc(8px + env(safe-area-inset-bottom));height:44px}.chat-page-v3>.chat-info-panel{position:fixed;z-index:430;inset:0;width:100%;height:100dvh;padding-top:calc(58px + env(safe-area-inset-top));overflow:auto;background:var(--page);box-shadow:none;transform:translateX(105%);transition:transform .24s cubic-bezier(.2,.8,.3,1);display:block}.chat-page-v3>.chat-info-panel.open{transform:none}.chat-page-v3>.chat-info-panel>header{position:fixed;z-index:2;left:0;right:0;top:0;height:calc(58px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 12px 0;display:flex;background:var(--surface)}.chat-page-v3 .chat-info-user{margin:10px;border-radius:16px}.chat-page-v3 .chat-info-profile,.chat-page-v3 .chat-info-row{width:calc(100% - 20px);margin-left:10px;margin-right:10px}.chat-page-v3 .chat-info-row:nth-of-type(3){margin-bottom:12px}.chat-page-v3 .chat-info-row.danger:nth-last-child(2){margin-top:10px}.chat-page-v3 .chat-wall-panel{width:100%}.chat-report-modal{padding:10px;align-items:end}.chat-report-modal>section{width:100%;max-height:calc(100dvh - 20px);overflow:auto;border-radius:20px}.chat-report-reasons button,.chat-report-cancel{min-height:48px}}
@media(max-width:760px){.chat-page-v3>.chat-info-panel{background:var(--bg)}}
/* Chat final cascade fixes: closed drawers never dim the page; cards mirror ReeUp groups. */
.chat-page-v3 .chat-wall-panel{box-shadow:none}
.chat-page-v3 .chat-wall-panel.open{box-shadow:-12px 0 36px rgba(20,24,35,.22),0 0 0 100vmax rgba(15,18,25,.45)}
.chat-page-v3 .chat-info-profile{margin-bottom:-12px;border-radius:16px 16px 0 0}
.chat-page-v3 [data-chat-wall-open]{border-radius:0 0 16px 16px;border-bottom:0}
.chat-page-v3 [data-chat-mute]{border:0;border-radius:16px}
.chat-page-v3 [data-action="block_toggle"]{margin-bottom:-12px;border-radius:16px 16px 0 0}
.chat-page-v3 [data-chat-report]{border:0;border-radius:0 0 16px 16px}

/* File uploads: actual XHR byte progress shared by chats and group posts. */
.upload-progress{box-sizing:border-box;min-width:0;display:grid;grid-template-columns:minmax(90px,1fr) auto;align-items:center;gap:4px 9px;color:var(--muted);font-size:10px;line-height:1.2}.upload-progress[hidden]{display:none!important}.upload-progress-track{height:5px;overflow:hidden;border-radius:999px;background:var(--line)}.upload-progress-track i{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--primary),#bd4fff);transition:width .12s linear}.upload-progress strong{min-width:30px;color:var(--primary);font-size:10px;text-align:right}.upload-progress-name{grid-column:1/-1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.upload-progress.is-complete .upload-progress-track i{background:#25b96b}.upload-progress.is-complete strong{color:#25a963}.upload-progress.is-error .upload-progress-track i{background:#e44b5f}.upload-progress.is-error strong{color:#d93c51}
.chat-compose-v2,.thread-compose{position:relative}.chat-compose-v2>.upload-progress,.thread-compose>.upload-progress{position:absolute;z-index:3;left:12px;right:12px;bottom:calc(100% + 6px);padding:8px 10px;border:1px solid var(--line);border-radius:11px;background:var(--surface);box-shadow:0 5px 18px rgba(15,23,42,.14)}
.group-publisher>.ajax-form>.upload-progress{margin-top:10px;padding:9px 10px;border:1px solid var(--line);border-radius:10px;background:var(--soft)}
body.dark-feed .upload-progress-track{background:#3b414d}body.dark-feed .chat-compose-v2>.upload-progress,body.dark-feed .thread-compose>.upload-progress{box-shadow:0 7px 22px rgba(0,0,0,.34)}

/* ReeUp chat parity: exact desktop shell, composer tools and full emoji sheet. */
.chat-page-v3>.chat-screen-v2{border-radius:16px}
.chat-page-v3 .chat-peer-head img{border-radius:50%}
.chat-page-v3 .chat-attach{background:transparent;color:#8b94a3}
.chat-page-v3 .chat-attach:hover,.chat-page-v3 .chat-emoji:hover,.chat-page-v3 .chat-send:hover{background:var(--soft);color:var(--text)}
.chat-file-input{display:none!important}
.chat-attach-pop{position:absolute;z-index:12;left:0;bottom:calc(100% + 7px);width:188px;padding:7px;border:1px solid var(--line);border-radius:14px;background:var(--surface);box-shadow:0 10px 30px rgba(16,24,40,.18)}
.chat-attach-pop:not([hidden]){display:grid}
.chat-attach-pop button{height:42px;padding:0 10px;border:0;border-radius:9px;background:transparent;color:var(--text);display:flex;align-items:center;gap:11px;font:500 14px/1.2 inherit;cursor:pointer;text-align:left}
.chat-attach-pop button:hover,.chat-attach-pop button:focus-visible{background:var(--soft);outline:0}
.chat-attach-pop svg{width:19px;height:19px;color:#8b94a3}
.chat-page-v3 .chat-emoji-pop{box-sizing:border-box;position:absolute;z-index:11;left:0;right:0;bottom:calc(100% + 6px);width:100%;height:250px;padding:0;border:0;border-radius:18px;background:var(--surface);box-shadow:0 8px 28px rgba(16,24,40,.18);overflow:hidden}
.chat-page-v3 .chat-emoji-pop:not([hidden]){display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:43px minmax(0,1fr)}
.chat-emoji-tabs{height:43px;padding:6px 8px;display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:2px;border-bottom:1px solid var(--line);overflow-x:auto;scrollbar-width:none}
.chat-emoji-tabs::-webkit-scrollbar{display:none}
.chat-emoji-tabs button{min-width:34px;height:31px;padding:0;border:0;border-radius:9px;background:transparent;font-size:19px;line-height:31px;cursor:pointer}
.chat-emoji-tabs button:hover,.chat-emoji-tabs button.active{background:var(--soft)}
.chat-emoji-scroll{min-height:0;padding:0 8px 10px;overflow-y:auto;scroll-behavior:smooth}
.chat-emoji-group{scroll-margin-top:5px}
.chat-emoji-group h3{position:sticky;top:0;z-index:1;margin:0 -1px 4px;padding:8px 3px 5px;background:var(--surface);color:var(--muted);font-size:11px;font-weight:650}
.chat-emoji-group>div{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:1px}
.chat-emoji-group button{height:36px;padding:0;border:0;border-radius:8px;background:transparent;font-size:22px;line-height:36px;cursor:pointer}
.chat-emoji-group button:hover,.chat-emoji-group button:focus-visible{background:var(--soft);outline:0}
.message-audio{display:block;width:min(270px,62vw);height:38px;margin:2px 0}
.message-file{min-width:210px;max-width:100%;padding:8px;border-radius:10px;background:color-mix(in srgb,var(--primary) 8%,var(--surface));color:inherit;display:flex;align-items:center;gap:8px;text-decoration:none}
.message-file span{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.message-file svg{width:18px;height:18px;flex:0 0 auto}
body.dark-feed .chat-attach-pop,body.dark-feed .chat-page-v3 .chat-emoji-pop,body.dark-feed .chat-emoji-group h3{background:#252a34;color:#f2f4f8}
body.dark-feed .chat-emoji-tabs{border-color:#3b414d}
@media(max-width:760px){.chat-page-v3>.chat-screen-v2{border-radius:0}.chat-page-v3 .chat-emoji-pop{height:min(300px,43vh)}.chat-emoji-group>div{grid-template-columns:repeat(8,minmax(0,1fr))}.chat-attach-pop{left:0;bottom:calc(100% + 8px)}}

/* Chat parity: ReeUp uses the same 420px SVG texture in private and room chats. */
.chat-page-v3 .chat-thread-wall,.room-page-v4 .room-chat-v4{background-color:#dceafb;background-image:url('/assets/img/chat-themes/chat.svg'),radial-gradient(60% 45% at 18% 22%,#eaf3ff 0%,transparent 70%),radial-gradient(55% 50% at 85% 70%,#c9def8 0%,transparent 70%),radial-gradient(70% 60% at 50% 110%,#dde9ff 0%,transparent 70%);background-position:0 0,center,center,center;background-repeat:repeat,no-repeat,no-repeat,no-repeat;background-size:420px 420px,100% 100%,100% 100%,100% 100%}
body.dark-feed .chat-page-v3 .chat-thread-wall,body.dark-feed .room-page-v4 .room-chat-v4{background-color:#121825;background-image:url('/assets/img/chat-themes/chat-dk.svg'),radial-gradient(60% 45% at 18% 22%,transparent 0%,transparent 70%),radial-gradient(55% 50% at 85% 70%,transparent 0%,transparent 70%),radial-gradient(70% 60% at 50% 110%,transparent 0%,transparent 70%);background-blend-mode:normal}
.chat-page-v3 .chat-thread-wall.wall-clean{background:#fff}.dark-feed .chat-page-v3 .chat-thread-wall.wall-clean{background:#11151d}
.chat-pinned-message{position:relative;z-index:5;width:100%;min-height:49px;padding:7px 12px;border:0;border-bottom:1px solid var(--line);background:var(--surface);color:var(--text);display:flex;align-items:center;gap:9px;text-align:left;cursor:pointer}.chat-pinned-message>span:first-child{width:31px;height:31px;border-radius:10px;background:var(--primary-light);color:var(--primary);display:grid;place-items:center}.chat-pinned-message>span:first-child svg{width:16px}.chat-pinned-message>span:nth-child(2){min-width:0;flex:1}.chat-pinned-message b,.chat-pinned-message small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-pinned-message b{font-size:11px}.chat-pinned-message small{margin-top:2px;color:var(--muted);font-size:10px}.chat-pinned-message>.api-click{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;color:var(--muted)}.chat-pinned-message>.api-click:hover{background:var(--soft)}.chat-pinned-message>.api-click svg{width:15px}
.chat-page-v3>.chat-screen-v2:has(.chat-pinned-message){grid-template-rows:56px 49px minmax(0,1fr) 62px}.message-pin{position:absolute;top:50%;width:28px;height:28px;padding:0;border:0;border-radius:50%;background:var(--surface);color:var(--muted);box-shadow:0 2px 9px rgba(16,24,40,.13);opacity:0;pointer-events:none;display:grid;place-items:center;transform:translateY(-50%);transition:opacity .15s ease}.bubble:not(.mine) .message-pin{right:-34px}.bubble.mine .message-pin{left:-34px}.bubble:hover .message-pin,.bubble:focus-within .message-pin{opacity:1;pointer-events:auto}.message-pin svg{width:14px}.chat-page-v3 .bubble{position:relative}.message-read-state{display:inline-grid;margin-left:3px;vertical-align:-2px;color:currentColor}.message-read-state svg{width:13px;height:13px;stroke-width:2.2}.message-highlight{animation:messageHighlight 1.25s ease}@keyframes messageHighlight{0%,100%{box-shadow:0 1px 2px rgba(16,24,40,.1)}35%{box-shadow:0 0 0 4px rgba(136,73,254,.28),0 4px 18px rgba(136,73,254,.2)}}
.room-compose-v4.is-recording .room-send-v4,.chat-compose-v2.is-recording .chat-send{animation:voicePulse 1s ease-in-out infinite;background:#ef3f62}.room-compose-v4.is-recording:before,.chat-compose-v2.is-recording:before{content:'';position:absolute;left:52px;right:52px;top:-32px;height:28px;border-radius:12px;background:#ef3f62;color:#fff;display:grid;place-items:center;font-size:10px;font-weight:700;box-shadow:0 5px 15px rgba(239,63,98,.28)}@keyframes voicePulse{50%{transform:scale(.9);box-shadow:0 0 0 8px rgba(239,63,98,.14)}}

/* ReeUp avatar geometry is a 28% rounded square, including both site chrome avatars. */
.head-avatar,.nav-user img,.mobile-menu-user img{border-radius:28%!important}
.chat-pinned-message>.api-click{padding:0;border:0;background:transparent}
.head-avatar{width:30px!important;height:30px!important;border-radius:28%!important;object-fit:cover!important}
@media(min-width:761px){body .topbar{height:56px!important;border-radius:0 0 16px 16px!important}body .topbar-in{padding-left:14px!important;padding-right:14px!important}}
@media(min-width:1051px){
 body .left-nav{box-sizing:border-box!important;height:calc(100dvh - 105px)!important;min-height:0!important}
 body .left-nav .nav-user img{width:48px!important;height:48px!important;border-radius:28%!important;object-fit:cover!important}
 body .left-nav .nav-list{min-height:0!important;overflow-y:auto!important;padding-bottom:90px!important;scrollbar-width:none!important}
 body .left-nav .nav-list::-webkit-scrollbar{display:none!important}
 body .left-nav .vip-card{position:absolute!important;left:16px!important;right:16px!important;bottom:16px!important;display:flex!important;align-items:center!important;gap:8px!important;width:auto!important;height:82px!important;min-height:82px!important;margin:0!important;padding:12px 14px!important;border-radius:14px!important;background:linear-gradient(120deg,rgb(136,73,254) 0%,rgb(168,85,247) 46%,rgb(236,72,153) 100%)!important;box-shadow:rgba(136,73,254,.32) 0 6px 18px 0!important}
 body .left-nav .vip-card-txt{position:relative!important;z-index:3!important;display:block!important;flex:1!important;min-width:0!important;margin:0!important}
 body .left-nav .vip-card-title{display:block!important;margin:0!important;font-size:13px!important;font-weight:700!important;line-height:1.25!important}
 body .left-nav .vip-card-sub{display:-webkit-box!important;margin:3px 0 0!important;overflow:hidden!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;font-size:11px!important;line-height:1.35!important;opacity:.85!important}
 body .left-nav .vip-card-art{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 58px!important;width:58px!important;height:58px!important;margin:0!important}
}

/* The mobile menu is a real full-screen page; desktop keeps the original sidebar/sheet rules. */
@media(max-width:760px){.mobile-menu-backdrop{display:none!important}.mobile-menu-sheet{inset:0;left:0;right:0;top:0;bottom:0;width:100%;height:100dvh;max-height:none;padding:calc(10px + env(safe-area-inset-top)) 14px calc(82px + env(safe-area-inset-bottom));border-radius:0;box-shadow:none;transform:translateX(105%);transition:transform .26s cubic-bezier(.2,.8,.3,1)}.mobile-menu-sheet.open{transform:none}.mobile-menu-sheet header{min-height:58px;padding:0 2px 12px}.mobile-menu-sheet nav{grid-template-columns:1fr 1fr;align-content:start;padding-top:14px}.mobile-menu-user img{width:48px;height:48px}.chat-page-v3>.chat-screen-v2:has(.chat-pinned-message){grid-template-rows:calc(58px + env(safe-area-inset-top)) 49px minmax(0,1fr) calc(62px + env(safe-area-inset-bottom))}.bubble .message-pin{opacity:1;pointer-events:auto}.bubble:not(.mine) .message-pin{right:-31px}.bubble.mine .message-pin{left:-31px}}

/* Profile media card */
.pf-media>.pf-card{padding:12px 18px 18px}.pf-media-tabs{display:flex;align-items:center;gap:7px;overflow-x:auto;scrollbar-width:none;padding-bottom:12px}.pf-media-tabs::-webkit-scrollbar{display:none}.pf-media-tabs button{height:34px;padding:0 8px;border:0;border-radius:10px;background:transparent;color:var(--muted);display:flex;align-items:center;gap:6px;white-space:nowrap;font:600 14px/1 inherit;cursor:pointer}.pf-media-tabs button:hover{color:var(--text);background:var(--soft2)}.pf-media-tabs button.active{color:var(--text);background:var(--soft)}.pf-media-tabs svg{width:19px;height:19px;stroke-width:1.9}.pf-media-panel[hidden]{display:none!important}.pf-media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px;overflow:hidden;border-radius:8px}.pf-media-tile{position:relative;display:block;aspect-ratio:1/1;border:0;padding:0;background:var(--soft);overflow:hidden;cursor:pointer}.pf-media-tile img,.pf-media-tile video{width:100%;height:100%;display:block;object-fit:cover}.pf-media-tile.is-video>svg{position:absolute;z-index:2;left:50%;top:50%;width:38px;height:38px;padding:9px;border-radius:50%;transform:translate(-50%,-50%);background:rgba(0,0,0,.58);color:#fff}.pf-media-more{width:100%;height:33px;margin-top:15px;border:0;border-radius:8px;background:var(--soft);color:#3972bd;font:600 14px/1 inherit;cursor:pointer}.pf-media-more:hover{background:var(--line)}.pf-media-empty{min-height:132px;border-radius:9px;background:var(--soft2);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:var(--muted);font-size:13px}.pf-media-empty>svg{width:30px;height:30px;opacity:.65}.pf-media-empty a{color:var(--primary);font-weight:650}.pf-media-audio{display:grid;gap:4px}.pf-media-audio button{width:100%;min-height:50px;padding:7px 10px;border:0;border-radius:10px;background:transparent;color:var(--text);display:flex;align-items:center;gap:10px;text-align:left;cursor:pointer}.pf-media-audio button:hover{background:var(--soft)}.pf-media-audio button>svg{width:34px;height:34px;padding:8px;border-radius:50%;background:var(--primary-light);color:var(--primary)}.pf-media-audio button span{display:grid;gap:3px}.pf-media-audio button small{color:var(--muted)}

/* Mobile menu matching the social web layout */
.mobile-menu-title,.mobile-menu-tools,.mobile-games-rail{display:none}
@media(max-width:760px){.mobile-menu-sheet{padding:calc(8px + env(safe-area-inset-top)) 10px calc(72px + env(safe-area-inset-bottom));overflow:hidden}.mobile-menu-sheet header{flex:none;min-height:56px;padding:0 0 10px;border-bottom:0}.mobile-menu-sheet .mobile-menu-user{gap:9px}.mobile-menu-sheet .mobile-menu-user img{width:26px;height:26px;border-radius:9px}.mobile-menu-sheet .mobile-menu-user>span{display:none}.mobile-menu-title{display:block;font-size:21px;font-weight:750;letter-spacing:-.2px}.mobile-menu-tools{display:flex;align-items:center;gap:8px;margin-left:auto}.mobile-menu-tools a,.mobile-menu-tools button{width:34px;height:34px;border:0;border-radius:10px;background:transparent;color:#1681f4;display:grid;place-items:center}.mobile-menu-tools a:active,.mobile-menu-tools button:active{background:var(--soft)}.mobile-menu-tools svg{width:20px;height:20px}.mobile-menu-sheet>nav{flex:0 1 auto;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px;padding:2px 0 10px;overflow:auto}.mobile-menu-sheet>nav a{min-height:45px;padding:0;border-radius:9px;background:transparent;font-weight:500;gap:13px}.mobile-menu-sheet>nav a:active{background:var(--soft);transform:none}.mobile-menu-sheet>nav svg{width:22px;height:22px;color:#1681f4;stroke-width:2}.mobile-menu-sheet>nav i{margin-left:auto}.mobile-games-rail{display:block;flex:none;border-top:1px solid var(--line);padding-top:17px;overflow:hidden}.mobile-games-scroll{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;padding:0 2px 7px}.mobile-games-scroll::-webkit-scrollbar{display:none}.mobile-game-tile{flex:0 0 50px;min-width:50px;color:var(--text);text-align:center;font-size:10px}.mobile-game-tile img,.mobile-game-icon{width:50px;height:50px;border-radius:16px;display:grid;place-items:center;object-fit:cover;background:linear-gradient(145deg,#7845ff,#ef56c9);color:#fff}.mobile-game-icon svg{width:25px;height:25px}.mobile-game-tile span{display:block;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pf-media>.pf-card{padding:9px 10px 12px!important}.pf-media-tabs{gap:2px;padding-bottom:10px}.pf-media-tabs button{height:33px;padding:0 7px;font-size:13px}.pf-media-tabs svg{width:18px;height:18px}.pf-media-grid{border-radius:8px}.pf-media-more{margin-top:12px}.pf-media-empty{min-height:116px}}
body.dark-feed .pf-media-tabs button.active,body.dark-feed .pf-media-more{background:#303643;color:#eef1f6}body.dark-feed .pf-media-empty{background:#202530}body.dark-feed .mobile-menu-tools a,body.dark-feed .mobile-menu-tools button{color:#66a9ff}
.pf-media-add{width:100%;min-height:36px;margin-top:12px;border:0;border-radius:9px;background:var(--soft);color:var(--primary);display:flex;align-items:center;justify-content:center;gap:7px;font:650 13px/1 inherit;cursor:pointer;transition:background-color .18s ease,transform .18s ease}.pf-media-add:hover{background:var(--line)}.pf-media-add:active{transform:scale(.985)}.pf-media-add svg{width:17px;height:17px}.pf-media-empty button{border:0;padding:4px 8px;border-radius:8px;background:transparent;color:var(--primary);font:650 13px/1 inherit;cursor:pointer}.pf-media-empty button:hover{background:var(--primary-light)}.profile-media-modal .modal-card{width:min(480px,100%);overflow:hidden}.profile-media-form{display:grid;gap:14px}.profile-media-form .field{margin:0}.profile-media-picker{position:relative;display:block;cursor:pointer}.profile-media-picker>input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.profile-media-picker>span{min-height:232px;padding:20px;border:2px dashed var(--line);border-radius:16px;background:var(--soft2);color:var(--muted);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;overflow:hidden;transition:border-color .18s ease,background-color .18s ease}.profile-media-picker:hover>span,.profile-media-picker:focus-within>span{border-color:var(--primary);background:var(--primary-light)}.profile-media-picker>span>svg{width:42px;height:42px;color:var(--primary)}.profile-media-picker>span>b{color:var(--text);font-size:14px}.profile-media-picker>span>small{font-size:11px}.profile-media-picker>span>img,.profile-media-picker>span>video{width:100%;max-height:300px;border-radius:12px;object-fit:contain;background:#111}.profile-media-picker>span>img+b,.profile-media-picker>span>video+b{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-media-publish{min-height:42px;padding:0 12px;border-radius:11px;background:var(--soft2);display:flex;align-items:center;gap:10px;color:var(--text);font-size:13px;cursor:pointer}.profile-media-publish input{width:17px;height:17px;accent-color:var(--primary)}.profile-media-submit{width:100%}body.dark-feed .pf-media-add{background:#303643;color:#d8c6ff}body.dark-feed .pf-media-add:hover{background:#3a4150}body.dark-feed .pf-media-empty button:hover{background:#33284a}body.dark-feed .profile-media-picker>span,body.dark-feed .profile-media-publish{background:var(--soft2);border-color:var(--line)}body.dark-feed .profile-media-picker:hover>span,body.dark-feed .profile-media-picker:focus-within>span{background:#2e2740;border-color:#9b6cff}
@media(max-width:760px){.profile-media-modal .modal-card{display:flex;flex-direction:column;min-height:100dvh}.profile-media-modal .profile-media-form{flex:1;align-content:start;padding:16px}.profile-media-picker>span{min-height:220px}.profile-media-submit{margin-top:auto;min-height:44px}}
/* Mobile menu keeps LoveSpin's visual language; only its two-column/full-page layout follows the reference structure. */
@media(max-width:760px){
.mobile-menu-sheet{padding:calc(12px + env(safe-area-inset-top)) 14px calc(76px + env(safe-area-inset-bottom));background:var(--surface);color:var(--text)}
.mobile-menu-sheet header{min-height:64px;padding:4px 2px 14px;border-bottom:1px solid var(--line);gap:10px}
.mobile-menu-sheet .mobile-menu-user{flex:0 0 auto;gap:0}
.mobile-menu-sheet .mobile-menu-user img{width:42px;height:42px;border-radius:50%;border:2px solid var(--surface);background:var(--soft);box-shadow:0 0 0 2px var(--primary-light),0 5px 14px rgba(17,24,39,.13)}
.mobile-menu-title{margin-right:auto;color:var(--text);font-size:20px;font-weight:800;letter-spacing:-.25px}
.mobile-menu-tools{gap:5px}
.mobile-menu-tools a,.mobile-menu-tools button{width:34px;height:34px;border:1px solid var(--line);border-radius:11px;background:var(--soft);color:var(--primary);transition:background-color .18s ease,color .18s ease,transform .18s ease}
.mobile-menu-tools a:hover,.mobile-menu-tools button:hover{background:var(--primary-light);color:var(--primary-dark)}
.mobile-menu-tools a:active,.mobile-menu-tools button:active{background:var(--primary-light);transform:scale(.94)}
.mobile-menu-sheet>nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:14px 0;overflow:auto}
.mobile-menu-sheet>nav a{min-height:50px;padding:0 12px;border:1px solid transparent;border-radius:14px;background:var(--soft);color:var(--text);font-weight:650;gap:10px;box-shadow:0 2px 7px rgba(17,24,39,.035);transition:background-color .18s ease,border-color .18s ease,transform .18s ease}
.mobile-menu-sheet>nav a:hover{border-color:color-mix(in srgb,var(--primary) 22%,var(--line));background:var(--primary-light);color:var(--text)}
.mobile-menu-sheet>nav a:active{background:var(--primary-light);transform:scale(.975)}
.mobile-menu-sheet>nav svg{width:20px;height:20px;color:var(--primary);stroke-width:2}
.mobile-menu-sheet>nav i{background:var(--primary);color:#fff}
.mobile-games-rail{padding-top:14px;border-top:1px solid var(--line)}
.mobile-games-scroll{gap:13px;padding:0 2px 8px}
.mobile-game-tile{flex-basis:54px;min-width:54px;color:var(--text);font-weight:600}
.mobile-game-tile img,.mobile-game-icon{width:54px;height:54px;border-radius:17px;border:1px solid rgba(255,255,255,.28);background:linear-gradient(145deg,var(--primary),#ef56c9);box-shadow:0 6px 15px rgba(136,73,254,.2)}
.mobile-game-tile:active .mobile-game-icon{transform:scale(.94)}
body.dark-feed .mobile-menu-sheet{background:var(--surface);color:var(--text)}
body.dark-feed .mobile-menu-tools a,body.dark-feed .mobile-menu-tools button,body.dark-feed .mobile-menu-sheet>nav a{background:var(--soft);border-color:var(--line);color:var(--text)}
body.dark-feed .mobile-menu-tools a,body.dark-feed .mobile-menu-tools button,body.dark-feed .mobile-menu-sheet>nav svg{color:#c6a8ff}
body.dark-feed .mobile-menu-tools a:hover,body.dark-feed .mobile-menu-tools button:hover,body.dark-feed .mobile-menu-sheet>nav a:hover{background:#33284a;border-color:#5f477f;color:#fff}
}

/* ReeUp Groups / All: exact topic artwork, catalogue header and group rows. */
body[data-route="groups"] .groups-reeup .group-topics{margin:0!important;padding:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
body[data-route="groups"] .groups-reeup .gt-strip{display:flex;align-items:flex-start;gap:8px;margin:-2px -10px 12px!important;padding:6px 10px 0!important;overflow-x:auto;scroll-padding:0 10px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
body[data-route="groups"] .groups-reeup .gt-strip::-webkit-scrollbar{display:none}
body[data-route="groups"] .groups-reeup .gt-tile{box-sizing:border-box;flex:0 0 auto;min-width:64px;width:auto!important;height:78px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:var(--text)!important;display:flex!important;flex-direction:column;align-items:center;justify-items:normal!important;gap:6px!important;font:inherit;line-height:normal!important;cursor:pointer;-webkit-tap-highlight-color:transparent}
body[data-route="groups"] .groups-reeup .gt-tile-face{position:relative;box-sizing:border-box;width:58px!important;height:58px!important;overflow:hidden;border-radius:23%!important;background:linear-gradient(160deg,var(--gt-a),var(--gt-b));color:#fff;display:flex!important;align-items:center;justify-content:center;transition:transform .15s ease,box-shadow .15s ease}
body[data-route="groups"] .groups-reeup .gt-tile-face img{display:block;width:100%;height:100%;object-fit:cover;pointer-events:none;-webkit-user-drag:none}
body[data-route="groups"] .groups-reeup .gt-tile-face.is-plain:after{content:"";position:absolute;top:-18px;right:-18px;width:46px;height:46px;border-radius:50%;background:rgba(255,255,255,.16);pointer-events:none}
body[data-route="groups"] .groups-reeup .gt-tile-face svg{position:relative;z-index:1;width:26px;height:26px;stroke-width:2.1}
body[data-route="groups"] .groups-reeup .gt-tile:active .gt-tile-face{transform:scale(.94)}
body[data-route="groups"] .groups-reeup .gt-tile.is-on .gt-tile-face{box-shadow:0 0 0 2px var(--surface),0 0 0 4px var(--primary)}
body[data-route="groups"] .groups-reeup .gt-tile-name{max-width:110px;overflow:hidden;color:inherit!important;font-size:11.5px!important;font-weight:600;line-height:14px!important;text-align:center;white-space:nowrap;text-overflow:ellipsis}
body[data-route="groups"] .groups-reeup .gt-tile.is-on .gt-tile-name{color:var(--primary)!important}
body[data-route="groups"] .groups-reeup .gc-head{display:flex;align-items:center;gap:8px;min-height:20px;height:auto;margin:0 2px 12px;padding:0}
body[data-route="groups"] .groups-reeup .gc-title{overflow:hidden;color:var(--text);font-size:15px;font-weight:700;white-space:nowrap;text-overflow:ellipsis}
body[data-route="groups"] .groups-reeup .gc-count{box-sizing:border-box;flex:0 0 auto;min-width:22px;height:20px;padding:0 7px;border-radius:10px;background:var(--surface);color:var(--muted);font-size:12px;font-weight:600;line-height:20px;text-align:center}
body[data-route="groups"] .groups-reeup .gc-mine{margin-left:auto;color:var(--primary);display:inline-flex;align-items:center;gap:5px;font-size:13px;font-weight:600;white-space:nowrap}
body[data-route="groups"] .groups-reeup .gc-mine svg{width:15px;height:15px}
body[data-route="groups"] .groups-reeup .communities-list{overflow:hidden;border-radius:12px;background:var(--surface);box-shadow:0 4px 14px rgba(16,24,40,.1);display:flex;flex-direction:column}
body[data-route="groups"] .groups-reeup .community-card{box-sizing:border-box;width:100%;height:82px!important;min-height:82px;padding:14px!important;border:0!important;border-radius:0!important;background:transparent!important;color:var(--text);display:flex;align-items:center;gap:14px;box-shadow:none!important;transition:background .15s}
body[data-route="groups"] .groups-reeup .community-card:not([hidden])~.community-card:not([hidden]){border-top:1px solid var(--line)!important}
body[data-route="groups"] .groups-reeup .community-card:hover,body[data-route="groups"] .groups-reeup .community-card:active{background:var(--soft)!important}
body[data-route="groups"] .groups-reeup .community-link{min-width:0;flex:1;height:54px;display:flex;align-items:center;gap:14px;color:inherit}
body[data-route="groups"] .groups-reeup .community-avatar-wrap{position:relative;flex:0 0 54px;width:54px;height:54px}
body[data-route="groups"] .groups-reeup .community-avatar{width:54px;height:54px;border-radius:28%;overflow:hidden;background:var(--soft);display:block}
body[data-route="groups"] .groups-reeup .community-avatar img{display:block;width:100%;height:100%;object-fit:cover}
body[data-route="groups"] .groups-reeup .community-body{min-width:0;flex:1}
body[data-route="groups"] .groups-reeup .community-header{height:19.6px;margin:0 0 4px;display:flex;align-items:center;gap:8px}
body[data-route="groups"] .groups-reeup .community-name{max-width:none;overflow:hidden;color:var(--text);font-size:14px;font-weight:600;line-height:19.6px;white-space:nowrap;text-overflow:ellipsis}
body[data-route="groups"] .groups-reeup .g-rate-chip{height:17px;display:inline-flex;flex:0 0 auto;align-items:center;gap:4px;white-space:nowrap}
body[data-route="groups"] .groups-reeup .trophy-ico{display:block;width:15px;height:15px}
body[data-route="groups"] .groups-reeup .badge-rating{box-sizing:border-box;height:17px;padding:0 6px;border-radius:5px;background:#e8eaee;color:#4b5563;font-size:10.5px;font-weight:700;line-height:1}
body[data-route="groups"] .groups-reeup .community-meta{min-width:0;height:18.2px;margin:0;overflow:hidden;color:#9ca3af;display:flex;align-items:center;gap:4px;font-size:13px;line-height:18.2px;white-space:nowrap}
body[data-route="groups"] .groups-reeup .gt-tx{color:color-mix(in srgb,var(--gt-b,#7c3aed) 78%,#000);font-weight:600}
body[data-route="groups"] .groups-reeup .join-btn{box-sizing:border-box;flex:0 0 auto;height:34px!important;padding:0 14px!important;border:0;border-radius:17px!important;background:var(--primary)!important;color:#fff!important;display:inline-flex;align-items:center;justify-content:center;gap:5px;font:600 13px/13px ReeUI,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif!important;white-space:nowrap;cursor:pointer;transition:background .15s,color .15s,transform .1s}
body[data-route="groups"] .groups-reeup .join-btn:active{transform:scale(.97)}
body[data-route="groups"] .groups-reeup .join-btn.active,body[data-route="groups"] .groups-reeup .join-btn.joined{background:rgba(136,73,254,.12)!important;color:var(--primary)!important}
body.dark-feed[data-route="groups"] .groups-reeup .gt-tile.is-on .gt-tile-face{box-shadow:0 0 0 2px #0f0f0f,0 0 0 4px var(--primary)}body.dark-feed[data-route="groups"] .groups-reeup .gt-tile.is-on .gt-tile-name{color:#c4a6ff!important}body.dark-feed[data-route="groups"] .groups-reeup .badge-rating{background:#2c2f36;color:#9ca3af}body.dark-feed[data-route="groups"] .groups-reeup .gt-tx{color:var(--gt-a,#a78bfa)}body.dark-feed[data-route="groups"] .groups-reeup .join-btn.active,body.dark-feed[data-route="groups"] .groups-reeup .join-btn.joined{background:rgba(136,73,254,.22)!important;color:#c4a6ff!important}
@media(max-width:760px){body[data-route="groups"] .groups-reeup .gt-strip{margin-left:0!important;margin-right:-10px!important;padding-left:0!important;padding-right:10px!important}body[data-route="groups"] .groups-reeup .community-card{height:82px!important;min-height:82px!important}body[data-route="groups"] .groups-reeup .join-btn{height:34px!important;padding:0 12px!important;font-size:12px!important}}
body[data-route="groups"] .groups-reeup .group-topics>.gt-strip{gap:8px!important;margin:-6px -10px 12px!important;padding:6px 10px 0!important}
body[data-route="groups"] .groups-reeup .group-topics>.gt-strip>.gt-tile{height:78px!important;gap:6px!important}
body[data-route="groups"] .groups-reeup .gc-head{height:20px;min-height:20px;line-height:20px}
body[data-route="groups"] .groups-reeup .join-btn svg{width:15px;height:15px;flex:0 0 auto}
@media(max-width:760px){body[data-route="groups"] .groups-reeup .group-topics>.gt-strip{margin-top:-6px!important;margin-left:0!important;margin-right:-10px!important;padding:6px 10px 0 0!important}}

/* Group catalogue/detail geometry parity. */
@media(min-width:761px){body[data-route="groups"] .main-column{box-sizing:border-box;width:100%!important;max-width:680px!important}}
body[data-route="group"] :is(.topbar,.mobile-head) .brand{display:none!important}
body[data-route="group"] :is(.topbar,.mobile-head) .profile-page-context{display:flex!important}
body[data-route="group"] .profile-page-context b{font-size:15px}
body[data-route="group"] .global-search{display:none!important}
body[data-route="group"] .topbar-in{justify-content:space-between}
body[data-route="group"] .group-page-v2{gap:14px}
body[data-route="group"] .group-identity{border:0;border-radius:16px;background:var(--surface);box-shadow:0 4px 14px rgba(16,24,40,.09)}
body[data-route="group"] .group-cover{height:118px}
body[data-route="group"] .group-id-main{padding:22px 18px 12px;flex-direction:column;align-items:center;gap:10px;text-align:center}
body[data-route="group"] .group-cover+.group-id-main{margin-top:-40px}
body[data-route="group"] .group-avatar{flex:0 0 72px;width:72px;height:72px;border-width:4px;border-radius:24%}
body[data-route="group"] .group-avatar svg{width:29px;height:29px}
body[data-route="group"] .group-id-main h1{margin:0 0 6px;font-size:20px;line-height:1.2}
body[data-route="group"] .group-id-main p{font-size:12px;line-height:1.4}
body[data-route="group"] .group-facts{padding:0 14px 14px;justify-content:center;gap:7px}
body[data-route="group"] .group-facts>a,body[data-route="group"] .group-facts>span{min-height:27px;padding:0 9px;border-radius:9px;font-size:10.5px;font-weight:650}
body[data-route="group"] .group-facts svg{width:14px;height:14px}
body[data-route="group"] .group-stats{padding:0 14px 17px;display:grid;grid-template-columns:repeat(3,1fr);gap:0;text-align:center}
body[data-route="group"] .group-stats span{padding:3px 7px;border-right:1px solid var(--line);font-size:10.5px}
body[data-route="group"] .group-stats span:last-child{border-right:0}
body[data-route="group"] .group-stats b{font-size:17px}
body[data-route="group"] .group-actions{padding:0 16px 17px;display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px}
body[data-route="group"] .group-actions .btn{min-height:40px;border-radius:10px}
body[data-route="group"] .group-actions .btn-primary{width:100%}
body[data-route="group"] .group-actions .icon-btn{width:40px;height:40px;margin:0;background:var(--soft)}
body[data-route="group"] .group-publisher{border:0;border-radius:16px;box-shadow:0 4px 14px rgba(16,24,40,.08)}
body.dark-feed[data-route="group"] .group-identity,body.dark-feed[data-route="group"] .group-publisher{background:#1a1a1a}
@media(max-width:760px){html body.dark-feed[data-route="group"]{background:#101114!important}}

/* Group publications use the same measured ReeUp post system as the feed. */
body[data-route="group"] .group-wall{display:block}
body[data-route="group"] .home-post{--pc2-r:24px;--pc2-card-r:30px;--pc2-tab-h:42px;--pc2-tab-w:120px;--pc2-tab-r:21px;--pc2-bg:#fff;position:relative;margin:0 0 10px;padding:0 0 14px;border:0!important;border-radius:30px;background:linear-gradient(to bottom,transparent 48px,#fff 48px);box-shadow:0 4px 14px rgba(16,24,40,.10);overflow:visible}
body[data-route="group"] .pc2-stage{position:relative}
body[data-route="group"] .home-post-media{position:relative;width:100%;min-height:0;max-height:640px;aspect-ratio:4/5;border-radius:30px 30px 24px 24px;background:#f3f4f6;overflow:hidden;isolation:isolate}
body[data-route="group"] .home-post-media:after{display:none}
body[data-route="group"] .pc2-fill{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
body[data-route="group"] .pc2-scrim{position:absolute;inset:0 0 auto;height:170px;background:radial-gradient(320px 160px at 0 0,rgba(0,0,0,.5),rgba(0,0,0,.26) 45%,transparent),linear-gradient(rgba(0,0,0,.14),transparent 90px);pointer-events:none;z-index:1}
body[data-route="group"] .home-post-media .pc2-head{position:absolute;inset:0 0 auto;z-index:2;display:flex;align-items:center;gap:10px;height:50px;padding:14px 14px 0;color:#fff}
body[data-route="group"] .pc2-ava{flex:0 0 34px;display:block;width:34px;height:34px;filter:drop-shadow(0 2px 6px rgba(0,0,0,.26))}
body[data-route="group"] .pc2-ava .post-avatar{width:34px;height:34px;border-radius:28%;object-fit:cover;-webkit-mask-image:var(--avatar-squircle);mask-image:var(--avatar-squircle);-webkit-mask-size:100% 100%;mask-size:100% 100%}
body[data-route="group"] .pc2-who{position:static;flex:1 1 auto;display:flex;min-width:0;flex-direction:column;gap:2px;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.3),0 0 14px rgba(0,0,0,.22)}
body[data-route="group"] .pc2-name{display:flex;align-items:center;gap:4px;min-width:0;color:#fff;font-size:14px;font-weight:700;line-height:1.15;letter-spacing:-.01em}
body[data-route="group"] .pc2-name span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body[data-route="group"] .pc2-sub{display:flex;align-items:center;gap:4px;color:rgba(255,255,255,.86);font-size:11.5px;font-weight:500;line-height:14px}
body[data-route="group"] .home-more.pc2-more{flex:0 0 36px;width:36px;height:36px;padding:0;border:0;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.6);box-shadow:inset 0 0 0 1px rgba(255,255,255,.45),inset 0 1px 1px rgba(255,255,255,.75),0 2px 8px rgba(0,0,0,.14);backdrop-filter:blur(14px) saturate(180%);color:#111827}
body[data-route="group"] .home-more.pc2-more svg{width:20px;height:20px}
body[data-route="group"] .home-duration.pc2-badge{position:absolute;left:max(50%,193px);bottom:5px;z-index:3;display:inline-flex;align-items:center;gap:4px;height:32px;min-width:32px;padding:0 12px;transform:translateX(-50%);border-radius:16px;background:rgba(20,20,24,.42);box-shadow:inset 0 0 0 1px rgba(255,255,255,.18),inset 0 1px 1px rgba(255,255,255,.28),0 2px 8px rgba(0,0,0,.14);backdrop-filter:blur(14px) saturate(180%);color:#fff;font-size:13px;font-weight:600}
body[data-route="group"] .home-duration.pc2-badge svg{width:12px;height:12px;fill:currentColor}
body[data-route="group"] .pc2-dock{position:absolute;left:145px;right:10px;bottom:5px;z-index:3;display:flex;align-items:center;gap:6px}
body[data-route="group"] .home-first.pc2-likes{position:relative;display:flex;align-items:center;gap:6px;height:32px;margin-left:auto;padding:0 12px;border:0;border-radius:16px;background:rgba(255,255,255,.6);box-shadow:inset 0 0 0 1px rgba(255,255,255,.45),inset 0 1px 1px rgba(255,255,255,.75),0 2px 8px rgba(0,0,0,.12);backdrop-filter:blur(14px) saturate(180%);color:#111827;font-size:13px;white-space:nowrap}
body[data-route="group"] .home-first.pc2-likes svg{width:16px;height:16px;color:#ff3b5c}
body[data-route="group"] .pc2-likes{overflow:hidden;padding-left:4px!important;cursor:pointer}
body[data-route="group"] .pc2-faces{display:flex;height:24px;flex:0 0 auto}
body[data-route="group"] .pc2-face{position:relative;display:block;width:24px;height:24px;margin:0;border:1.6px solid #fff;border-radius:50%;background:#e5e7eb;object-fit:cover;transition:opacity .3s}
body[data-route="group"] .pc2-face+.pc2-face{margin-left:-9px}
body[data-route="group"] .pc2-likes-n{overflow:hidden;color:#374151;white-space:nowrap}
body[data-route="group"] .pc2-likes-n .rc{display:inline-block;color:#111827;font-weight:700}
body[data-route="group"] .pc2-likes-0{display:none;align-items:center;gap:6px;padding-left:6px;font-weight:600}
body[data-route="group"] .pc2-likes.is-empty{padding-left:6px!important}
body[data-route="group"] .pc2-likes.is-empty .pc2-faces,body[data-route="group"] .pc2-likes.is-empty .pc2-likes-n{display:none}
body[data-route="group"] .pc2-likes.is-empty .pc2-likes-0{display:flex}
body[data-route="group"] .home-media-actions.pc2-tab{position:absolute;left:0;right:auto;bottom:-2px;z-index:3;display:flex;align-items:center;gap:0;width:120px;height:44px;padding:2px 4px 2px 8px;background:#fff;border-radius:0 21px 0 0}
body[data-route="group"] .home-media-actions.pc2-tab:after{content:"";position:absolute;left:119px;bottom:0;width:22px;height:23px;background:radial-gradient(circle at 100% 0,transparent 20.5px,#fff 21px);pointer-events:none}
body[data-route="group"] .home-media-actions .pc2-act{display:inline-flex;align-items:center;gap:4px;height:36px;min-width:36px;padding:0 6px;border:0;border-radius:14px;background:none;color:#111827;font-size:14px;font-weight:600;transition:transform .15s}
body[data-route="group"] .home-media-actions .pc2-act svg{width:22px;height:22px;stroke-width:1.9}
body[data-route="group"] .home-media-actions .pc2-like.liked svg{color:#ff3b5c;fill:#ff3b5c}
body[data-route="group"] .pc2-star-ico{display:block;width:22px;height:22px}
body[data-route="group"] .home-post-meta.pc2-meta{display:block;padding:6px 16px 0;color:#111827;font-size:14px;line-height:19.6px}
body[data-route="group"] .pc2-by{display:flex;align-items:center;gap:4px;width:100%;height:20px;margin-top:6px;color:#6b7280;font-size:13px;line-height:18.2px;cursor:pointer}
body[data-route="group"] .pc2-by-faces{display:flex;height:20px;flex:0 0 auto}
body[data-route="group"] .pc2-by-face{position:relative;display:block;width:20px;height:20px;margin:0;border:1.6px solid #fff;border-radius:50%;background:#e5e7eb;object-fit:cover;transition:opacity .3s}
body[data-route="group"] .pc2-by-face+.pc2-by-face{margin-left:-7px}
body[data-route="group"] .pc2-by-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
body[data-route="group"] .pc2-by-text b{color:#111827;font-weight:600}
body[data-route="group"] .home-post-text{margin:6px 0 0;padding:0;color:#111827;font-size:14.5px;line-height:21px}
body[data-route="group"] .pc2-time{display:flex;align-items:center;gap:6px;margin:6px 0 0;overflow:hidden;white-space:nowrap;color:#9ca3af;font-size:12.5px;line-height:17.5px}
body[data-route="group"] .pc2-views{display:flex;align-items:center;gap:4px;margin:0;padding:0;border:0;background:none;color:#9ca3af;font-size:12.5px}
body[data-route="group"] .pc2-views:last-child{margin-left:auto}
body[data-route="group"] .pc2-views svg{width:15px;height:15px}
body.dark-feed[data-route="group"] .home-post.pc2{background:linear-gradient(transparent 48px,#1a1a1a 48px)!important;color:#e5e7eb!important;box-shadow:0 4px 14px rgba(0,0,0,.38)!important}
body.dark-feed[data-route="group"] .home-post-meta.pc2-meta{color:#e5e7eb!important}
body.dark-feed[data-route="group"] .home-media-actions.pc2-tab{background:#1a1a1a}
body.dark-feed[data-route="group"] .home-media-actions.pc2-tab:after{background:radial-gradient(circle at 100% 0,transparent 20.5px,#1a1a1a 21px)}
body.dark-feed[data-route="group"] .home-media-actions .pc2-act,body.dark-feed[data-route="group"] .home-post-text,body.dark-feed[data-route="group"] .pc2-by-text b{color:#e5e7eb}
body[data-route="group"] .home-post-media{aspect-ratio:1/1}
@media(min-width:1051px){
 body[data-route="group"] .topbar{height:56px!important;max-width:1274px!important;border-radius:0 0 16px 16px!important}
 body[data-route="group"] .app-layout{width:100%!important;max-width:1274px!important;grid-template-columns:280px minmax(0,680px) 280px!important;gap:3px!important;padding:16px 14px 0!important}
 body[data-route="group"] .main-column{box-sizing:border-box;width:680px!important;max-width:680px!important;padding:0 10px 16px!important}
 body[data-route="group"] .left-nav,body[data-route="group"] .right-column{top:72px!important}
}
@media(min-width:901px) and (max-width:1050px){
 body[data-route="group"] .app-layout{width:100%!important;max-width:none!important;grid-template-columns:280px minmax(0,1fr) 280px!important;gap:3px!important;padding:16px 14px 0!important}
 body[data-route="group"] .main-column{box-sizing:border-box;width:auto!important;max-width:none!important;padding:0 10px 16px!important}
 body[data-route="group"] .right-column{display:block!important}
 body[data-route="group"] .left-nav,body[data-route="group"] .right-column{top:72px!important}
}
@media(max-width:900px){
 body[data-route="group"]{padding-bottom:64px}
 body[data-route="group"] .topbar,body[data-route="group"] .left-nav,body[data-route="group"] .right-column{display:none!important}
 body[data-route="group"] .mobile-head{position:sticky;top:0;z-index:90;display:flex;height:56px;padding:0 10px;border:0;border-radius:0 0 14px 14px;background:var(--surface);box-shadow:0 2px 8px rgba(17,24,39,.05)}
 body[data-route="group"] .app-layout{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
 body[data-route="group"] .main-column{box-sizing:border-box;width:100%!important;max-width:none!important;padding:10px!important}
 body[data-route="group"] .home-post-media{aspect-ratio:1/1}
 body[data-route="group"] .bottom-nav.home-bottom{display:block!important}
}
@media(min-width:1051px){body[data-route="groups"]:has(.group-podium) .right-column{display:none!important}body[data-route="groups"]:has(.group-podium) .app-layout{grid-template-columns:280px 680px!important}body[data-route="groups"]:has(.group-podium) .main-column{width:680px!important;max-width:680px!important}}
@media(min-width:1024px) and (max-width:1199px){body[data-route="feed"] .right-column{display:block!important}body[data-route="feed"] .app-layout{max-width:1124px!important;grid-template-columns:280px minmax(0,504px) 280px!important;gap:12px!important}body[data-route="feed"] .main-column{width:504px!important;max-width:504px!important;padding:0 0 16px!important}}
@media(max-width:760px){body[data-route="group"]{background:#f1f2f4!important}body.dark-feed[data-route="group"]{background:#101114!important}body[data-route="group"] .mobile-head{height:56px;padding:0 10px;border-radius:0 0 14px 14px}body[data-route="group"] .profile-page-context{max-width:55%;gap:5px}body[data-route="group"] .profile-page-context .icon-btn{width:35px;height:35px;flex:0 0 35px}body[data-route="group"] .main-column{padding:10px!important}body[data-route="group"] .main-column .card{border:1px solid var(--line)!important;border-radius:16px!important;box-shadow:0 4px 14px rgba(16,24,40,.08)!important}body[data-route="group"] .group-cover{height:112px!important;border-radius:16px 16px 0 0}body[data-route="group"] .group-id-main{padding:18px 12px 11px!important}body[data-route="group"] .group-cover+.group-id-main{margin-top:-38px}body[data-route="group"] .group-avatar{flex-basis:70px;width:70px;height:70px}body[data-route="group"] .group-actions{overflow:visible;padding:0 12px 14px;grid-template-columns:minmax(0,1fr) 42px 42px}body[data-route="group"] .group-actions .btn{min-width:0;padding:0 10px;overflow:hidden;white-space:nowrap}body[data-route="group"] .group-actions .btn:not(.btn-primary){font-size:0;width:42px;padding:0}body[data-route="group"] .group-actions .btn:not(.btn-primary) svg{width:18px;height:18px}body[data-route="group"] .group-publisher{padding:13px!important}}
/* Keep the editor identity card horizontal; generic card rules must not stack it. */
body[data-route="edit-profile"] .main-column .ep-profile-head{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:13px!important;min-height:86px!important;padding:15px!important}
@media(min-width:761px){body[data-route="edit-profile"] .profile-edit-sheet{width:min(460px,calc(100vw - 32px))}body[data-route="edit-profile"] .ep-sheet-form input[readonly]{background:#e7e9ee!important;color:#5f6672!important}}
@media(min-width:761px) and (max-width:1199px){body[data-route="premium"] .right-column{display:none!important}body[data-route="premium"] .app-layout{max-width:1124px!important;grid-template-columns:280px minmax(0,658px)!important;gap:14px!important}body[data-route="premium"] .main-column{width:658px!important;max-width:658px!important;padding:0 0 16px!important}}
.support-reeup{display:grid;gap:14px}.support-compose{padding:20px}.support-compose>h2,.support-history>h2{margin:0 0 18px;color:var(--muted);font-size:11px;letter-spacing:.06em}.support-compose form>b,.support-field>b{display:block;margin:0 0 9px;font-size:13px}.support-categories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:18px}.support-categories label{position:relative;min-height:58px;padding:0 13px;border:2px solid transparent;border-radius:14px;background:var(--soft);display:flex;align-items:center;gap:10px;cursor:pointer}.support-categories input{position:absolute;opacity:0;pointer-events:none}.support-categories label:has(input:checked){border-color:var(--primary);background:color-mix(in srgb,var(--primary) 7%,var(--surface))}.support-categories .settings-icon{flex-basis:34px;width:34px;height:34px;border-radius:10px}.support-categories span{font-size:12px;font-weight:750}.support-field{display:block;margin-top:14px}.support-field b em{color:#ef445d;font-style:normal}.support-field input,.support-field textarea{box-sizing:border-box;width:100%;border:0;border-radius:13px;background:var(--soft);color:var(--text);font:inherit;outline:0}.support-field input{height:48px;padding:0 14px}.support-field textarea{height:118px;padding:14px;resize:vertical}.support-field input:focus,.support-field textarea:focus{box-shadow:0 0 0 2px color-mix(in srgb,var(--primary) 36%,transparent)}.support-send{width:100%;height:50px;margin-top:16px;display:flex;align-items:center;justify-content:center;gap:8px}.support-history{padding:20px}.dark-feed .support-compose,.dark-feed .support-history{background:var(--surface)}@media(max-width:760px){.support-compose,.support-history{padding:14px;border-radius:16px}.support-categories{grid-template-columns:1fr;gap:8px}.support-categories label{min-height:54px}}
.support-categories .settings-icon.orange{background:linear-gradient(145deg,#ff8d16,#ff7310);color:#fff}

/* Crystal reaction sheet — measured against ReeUp. */
.gst-veil{box-sizing:border-box;position:fixed;z-index:1450;inset:0;display:flex;align-items:flex-end;justify-content:center;background:rgba(0,0,0,0);pointer-events:none;transition:background-color .28s}.gst-veil.is-open{pointer-events:auto}.gst-veil.is-shown{background:rgba(0,0,0,.45)}
.gst-wrap{box-sizing:border-box;position:relative;width:min(430px,100%);padding:0 16px 14px;border-radius:28px 28px 0 0;background:#fff;color:#111827;display:flex;flex-direction:column;transform:translateY(105%);transition:transform .36s cubic-bezier(.2,.9,.3,1)}.gst-veil.is-shown .gst-wrap{transform:none}
.gst-wrap .as-grip{width:36px;height:4px;margin:8px auto 0;border-radius:2px;background:#c6c8ce}
.gst-head{position:relative;height:48px;margin-top:2px;display:grid;grid-template-columns:64px 1fr 64px;align-items:center;gap:8px}.gst-x{width:36px;height:36px;padding:0;border:0;border-radius:50%;background:#f1f2f5;color:#111827;display:flex;align-items:center;justify-content:center}.gst-x svg{width:18px;height:18px}.gst-title{text-align:center;font-size:17px;font-weight:700;line-height:21.25px;white-space:nowrap}.gst-bal{height:30px;padding:0 11px 0 8px;border-radius:15px;background:#f1f2f5;display:flex;align-items:center;justify-self:end;gap:4px}.gst-bal img{width:16px;height:16px}.gst-bal b{color:#d38d00;font-size:16px;line-height:18.9px}
.gst-pick{position:relative;width:100%;height:112px;margin-top:6px}.gst-bubble{position:absolute;top:8px;left:50%;height:48px;padding:0 17px 0 13px;border-radius:24px;background:#f5a400 linear-gradient(rgba(255,255,255,.22),rgba(255,255,255,0) 60%);box-shadow:color(srgb .960784 .643137 0/.35) 0 8px 20px;color:#fff;display:flex;align-items:center;gap:6px;font-size:24px;font-weight:800;line-height:24px;transform:translateX(-50%)}.gst-bubble img{width:24px;height:24px}.gst-track{position:absolute;left:0;right:0;bottom:6px;height:34px;overflow:hidden;border-radius:17px;background:#f1f2f5}.gst-fill{position:absolute;inset:0 auto 0 0;width:50%;border-radius:17px;background:linear-gradient(90deg,color(srgb .971765 .743059 .28),#f5a400)}.gst-range{position:absolute;left:0;right:0;bottom:6px;width:100%;height:34px;margin:0;opacity:0;cursor:pointer}.gst-knob{position:absolute;bottom:8px;left:50%;width:30px;height:30px;margin-left:-15px;border-radius:50%;background:#fff;box-shadow:rgba(0,0,0,.25) 0 2px 6px;pointer-events:none;transition:transform .15s}
.gst-sub{margin:16px 4px 0;font-size:15px;line-height:21.75px;text-align:center}.gst-sub b{font-weight:700}.gst-hr{height:1px;margin-top:18px;background:#eef0f3}.gst-me{height:42px;padding:16px 0 2px;display:flex;align-items:center;justify-content:center;gap:12px;font-size:16px;line-height:22.4px}.gst-me input{appearance:none;width:24px;height:24px;margin:0;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 2px #d9dce3}.gst-me input:checked{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/14px no-repeat,linear-gradient(135deg,#8849fe,#b44cf0);box-shadow:none}.gst-send{position:relative;width:100%;height:52px;margin-top:18px;padding:0;border:0;border-radius:999px;background:linear-gradient(90deg,#6c5cff 0%,#8849fe 36%,#c04cdb 70%,#ec4899 100%);color:#fff;display:flex;align-items:center;justify-content:center;gap:7px;font-size:16px;font-weight:700}.gst-send:disabled{opacity:.45;cursor:wait}.gst-send img{width:18px;height:18px}.gst-foot{height:18.75px;margin-top:10px;color:#9ca3af;display:flex;align-items:center;justify-content:center;gap:4px;font-size:12.5px;line-height:18.75px}.gst-foot b{color:#d38d00}.gst-veil.is-busy .gst-range,.gst-veil.is-busy .gst-x{pointer-events:none}
body.dark-feed .gst-wrap{background:#202126;color:#f3f4f6}body.dark-feed .gst-x,body.dark-feed .gst-bal,body.dark-feed .gst-track{background:#303239;color:#f3f4f6}body.dark-feed .gst-hr{background:#353841}body.dark-feed .gst-me input{background:#303239;box-shadow:inset 0 0 0 2px #555a66}body.dark-feed .gst-me input:checked{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/14px no-repeat,linear-gradient(135deg,#8849fe,#b44cf0);box-shadow:none}
.gst-send{line-height:normal;transition:transform .15s,opacity .2s}.gst-foot{color:#6b7280}.gst-knob{transition:transform .15s}
body.dark-feed .gst-wrap{background:#1a1a1a;color:#e5e7eb}body.dark-feed .gst-x,body.dark-feed .gst-bal,body.dark-feed .gst-track{background:#2c2c31;color:#e5e7eb}body.dark-feed .gst-foot{color:#6b7280}
.gst-foot{align-self:center}.gst-x{font:13.3333px ReeUI,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif}
@media(min-width:761px){.gst-veil{align-items:center;padding:20px}.gst-wrap{border-radius:28px;box-shadow:0 20px 60px rgba(0,0,0,.3);transform:translateY(24px) scale(.97);opacity:0}.gst-veil.is-shown .gst-wrap{transform:none;opacity:1}}

/* Premium header and hero parity: original uses a real back control and a portrait medal. */
body[data-route="premium"] :is(.topbar,.mobile-head) .brand{display:none!important}
body[data-route="premium"] :is(.topbar,.mobile-head) .profile-page-context{display:flex!important}
body[data-route="premium"] .profile-page-context b{font-size:17px;font-weight:800}
body[data-route="premium"] .global-search{display:none!important}
body[data-route="premium"] .topbar-in{justify-content:space-between}
body[data-route="premium"] .vip-intro{padding:5px 0 0}
body[data-route="premium"] .vip-intro img{display:block;width:116px;height:142px;margin:0 auto;object-fit:contain}
body[data-route="premium"] .vip-intro h1{margin:12px 0 0;font-size:23px;line-height:27.6px}
body[data-route="premium"] .vip-intro p{box-sizing:border-box;width:360px;max-width:calc(100% - 24px);margin:8px auto 0;padding:0 8px;font-size:14px;line-height:21px}
body[data-route="premium"] .vip-preview{box-sizing:border-box;width:calc(100% + 6px);height:64px;margin:16px 0 0 -3px;padding:10px 12px;border-radius:22px}
body[data-route="premium"] .vip-preview img{width:44px;height:44px}
@media(max-width:760px){body[data-route="premium"] .mobile-head .profile-page-context{display:flex!important;max-width:48%}body[data-route="premium"] .vip-intro img{width:108px;height:134px}body[data-route="premium"] .vip-intro h1{font-size:23px}}

/* ReeUp uses the compact back/title header on wallet and dating as well. */
body:is([data-route="wallet"],[data-route="dating"]) :is(.topbar,.mobile-head) .brand{display:none!important}
body:is([data-route="wallet"],[data-route="dating"]) :is(.topbar,.mobile-head) .profile-page-context{display:flex!important}
body:is([data-route="wallet"],[data-route="dating"]) .global-search{display:none!important}
body:is([data-route="wallet"],[data-route="dating"]) .topbar-in{justify-content:space-between}
body:is([data-route="wallet"],[data-route="dating"]) .profile-page-context b{font-size:16px;font-weight:750}
@media(max-width:760px){body:is([data-route="wallet"],[data-route="dating"]) .mobile-head .profile-page-context{display:flex!important;max-width:52%}}

/* Wallet balance card measured against the current ReeUp desktop card. */
body[data-route="wallet"] .wallet-reeup{box-sizing:border-box;width:634px;max-width:none;margin-top:2px;margin-left:-1px;gap:0;padding-bottom:24px;color:rgb(17,24,39)}
body[data-route="wallet"] .wallet-overview{box-sizing:border-box;width:634px;height:72.796875px;min-height:72.796875px;margin:0 0 18px;padding:14px 14px 14px 16px;border:0;gap:12px;box-shadow:rgba(16,24,40,.1) 0 4px 14px}
body[data-route="wallet"] .wallet-overview>span{flex:1;gap:4px}
body[data-route="wallet"] .wallet-overview small{color:rgb(107,114,128);font-size:12px;line-height:16.8px}
body[data-route="wallet"] .wallet-overview strong{font-size:20px;line-height:24px}
body[data-route="wallet"] .wallet-overview strong em{font-size:14px;line-height:19.6px}
body[data-route="wallet"] .wallet-overview,body[data-route="wallet"] .wallet-flow>section,body[data-route="wallet"] .wallet-history{color:rgb(17,24,39)}
body:not(.dark-feed)[data-route="wallet"] .wallet-overview,body:not(.dark-feed)[data-route="wallet"] .wallet-flow>section,body:not(.dark-feed)[data-route="wallet"] .wallet-history{color:rgb(17,24,39)!important}
body[data-route="wallet"] .wallet-overview>.btn{box-sizing:border-box;width:122.34375px;height:38px;padding:0 14px 0 12px;border-radius:12px;font-weight:600;box-shadow:none}
body[data-route="wallet"] .wallet-period{box-sizing:border-box;width:634px;height:18.1875px;margin:0 0 10px;padding:0 4px;color:rgb(107,114,128);font-size:13px;font-weight:600;line-height:18.2px;letter-spacing:.5px}
body[data-route="wallet"] .wallet-flow{box-sizing:border-box;width:634px;height:68.59375px;margin-bottom:18px;grid-template-columns:repeat(2,312px);grid-template-rows:68.59375px;gap:10px}
body[data-route="wallet"] .wallet-flow>section{box-sizing:border-box;width:312px;height:68.59375px!important;min-height:0!important;max-height:68.59375px;padding:12px 14px;border:0;border-radius:16px;box-shadow:rgba(16,24,40,.1) 0 4px 14px}
body[data-route="wallet"] .wallet-flow>section>span{width:100%;gap:4px}
body[data-route="wallet"] .wallet-flow small{width:100%;color:rgb(107,114,128);font-size:12px;line-height:16.8px}
body[data-route="wallet"] .wallet-flow strong{box-sizing:border-box;width:100%;min-height:23.796875px;font-size:14px;line-height:19.6px}
body[data-route="wallet"] .wallet-flow strong img{width:15px;height:15px}
body[data-route="wallet"] .wallet-flow i{right:14px;width:32px;height:32px;box-shadow:0 0 0 10px color-mix(in srgb,currentColor 13%,transparent)}
body[data-route="wallet"] .wallet-flow i svg{width:17px;height:17px}
body[data-route="wallet"] .wallet-history{box-sizing:border-box;width:634px;height:130.296875px!important;min-height:0!important;padding:0;border:0;box-shadow:rgba(16,24,40,.1) 0 4px 14px}
body[data-route="wallet"] .wallet-empty{box-sizing:border-box;width:634px;height:130.296875px;min-height:0;padding:26px 24px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:rgb(107,114,128);line-height:20.3px}
body[data-route="wallet"] .wallet-empty>svg{width:48px;height:48px;color:rgb(156,163,175)}
body[data-route="wallet"] .wallet-empty p{max-width:none;font-size:14px;line-height:20.3px}
body.dark-feed[data-route="wallet"] .wallet-overview,body.dark-feed[data-route="wallet"] .wallet-flow>section,body.dark-feed[data-route="wallet"] .wallet-history{color:var(--text)!important}
body.dark-feed[data-route="wallet"] .wallet-overview small,body.dark-feed[data-route="wallet"] .wallet-period,body.dark-feed[data-route="wallet"] .wallet-flow small,body.dark-feed[data-route="wallet"] .wallet-empty{color:var(--muted)!important}
@media(max-width:900px){
 body[data-route="wallet"] .topbar,body[data-route="wallet"] .left-nav,body[data-route="wallet"] .right-column{display:none!important}
 body[data-route="wallet"] .mobile-head{position:sticky!important;top:0!important;z-index:100!important;box-sizing:border-box!important;display:flex!important;align-items:center!important;gap:10px!important;width:100%!important;height:56px!important;padding:0 16px!important;border:0!important;background:var(--surface)!important;box-shadow:0 2px 8px rgba(0,0,0,.05)!important}
 body[data-route="wallet"] .app-layout{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
 body[data-route="wallet"] .main-column{width:100%!important;max-width:none!important;padding:0!important}
 body[data-route="wallet"] .wallet-reeup{width:calc(100vw - 26px)!important;max-width:none!important;margin:16px 0 0 10px!important}
 body[data-route="wallet"] .wallet-overview,body[data-route="wallet"] .wallet-flow,body[data-route="wallet"] .wallet-history{width:100%!important;max-width:100%!important;margin-left:0!important}
 body[data-route="wallet"] .wallet-overview{height:72.796875px!important;min-height:72.796875px!important;padding:14px 14px 14px 16px!important;border-radius:16px!important;box-shadow:rgba(16,24,40,.1) 0 4px 14px!important}
 body[data-route="wallet"] .wallet-period{width:100%}
 body[data-route="wallet"] .wallet-flow{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 body[data-route="wallet"] .wallet-flow>section{width:auto;padding:12px 14px!important;border-radius:16px!important;box-shadow:rgba(16,24,40,.1) 0 4px 14px!important}
 body[data-route="wallet"] .wallet-history{height:auto!important;min-height:130.296875px!important;padding:0!important;border-radius:16px!important;box-shadow:rgba(16,24,40,.1) 0 4px 14px!important}
 body[data-route="wallet"] .wallet-empty{width:100%;height:auto;min-height:130.296875px}
}
@media(min-width:901px) and (max-width:1199px){
 body[data-route="wallet"] .app-layout{box-sizing:border-box;width:1018px!important;max-width:1018px!important;margin:0!important;padding:14px 14px 0!important;grid-template-columns:280px 424px 280px!important;gap:3px!important}
 body[data-route="wallet"] .main-column{box-sizing:border-box;width:424px!important;max-width:424px!important;padding:0 10px 16px!important}
 body[data-route="wallet"] .right-column{display:block!important}
 body[data-route="wallet"] .wallet-reeup,body[data-route="wallet"] .wallet-overview,body[data-route="wallet"] .wallet-flow,body[data-route="wallet"] .wallet-history{width:404px}
 body[data-route="wallet"] .wallet-reeup{margin-left:0}
 body[data-route="wallet"] .wallet-period{width:404px}
 body[data-route="wallet"] .wallet-flow{grid-template-columns:repeat(2,197px)}
 body[data-route="wallet"] .wallet-flow>section{width:197px}
 body[data-route="wallet"] .wallet-history{height:auto!important;min-height:130.296875px!important}
 body[data-route="wallet"] .wallet-empty{width:404px;height:auto;min-height:130.296875px}
}
@media(min-width:1200px){
 body[data-route="wallet"] .wallet-reeup,body[data-route="wallet"] .wallet-overview,body[data-route="wallet"] .wallet-flow,body[data-route="wallet"] .wallet-history{width:min(660px,calc(100vw - 620px))}
 body[data-route="wallet"] .wallet-period{width:min(660px,calc(100vw - 620px))}
 body[data-route="wallet"] .wallet-flow{grid-template-columns:repeat(2,minmax(0,1fr))}
 body[data-route="wallet"] .wallet-flow>section{width:auto}
 body[data-route="wallet"] .wallet-empty{width:100%}
}
@media(min-width:1280px){body[data-route="wallet"] .wallet-reeup{margin-left:-3px}}

/* Group identity card follows the measured ReeUp cover/profile geometry. */
body[data-route="group"] .group-identity{box-sizing:border-box;display:block;width:100%;margin:0 0 12px;padding-bottom:16px;overflow:hidden}
body[data-route="group"] .group-cover{position:relative;height:120px}
body[data-route="group"] .group-cover.no-cover{background:transparent}
body[data-route="group"] .group-cover-share{position:absolute;top:10px;right:10px;width:32px;height:32px;border-radius:50%;background:rgba(0,0,0,.4);color:#fff}
body[data-route="group"] .group-cover-share:hover{background:rgba(0,0,0,.56);color:#fff}
body[data-route="group"] .group-cover-share svg{width:16px;height:16px}
body[data-route="group"] .group-id-main{display:block;margin-top:-40px!important;padding:0 16px!important;text-align:center}
body[data-route="group"] .group-avatar{display:block;box-sizing:border-box;flex-basis:80px;width:80px;height:80px;margin:0 auto;border:4px solid var(--surface);border-radius:28%;overflow:hidden}
body[data-route="group"] .group-avatar img{display:block;width:72px;height:72px;border-radius:28%;object-fit:cover}
body[data-route="group"] .group-id-main>div{width:100%;text-align:center}
body[data-route="group"] .group-id-main h1{display:flex;align-items:center;justify-content:center;gap:5px;margin:14px 0 4px;font-size:18px;line-height:25.2px}
body[data-route="group"] .group-name-verified{display:grid;place-items:center;color:#a855f7}
body[data-route="group"] .group-name-verified svg{width:19px;height:19px}
body[data-route="group"] .group-id-main p{padding:0 8px;font-size:13px;line-height:18.2px}
body[data-route="group"] .group-facts{box-sizing:border-box;height:28px;margin:10px 16px 2px;padding:0;justify-content:center;gap:6px}
body[data-route="group"] .group-stats{box-sizing:border-box;height:89px;margin:0 16px;padding:8px 0 16px}
body[data-route="group"] .group-actions{box-sizing:border-box;height:40px;padding:0 16px}
body[data-route="group"] .group-actions .btn,body[data-route="group"] .group-actions .icon-btn{height:40px;min-height:40px}
@media(min-width:761px) and (max-width:900px){body[data-route="group"] .group-identity{margin-top:6px}}
@media(max-width:760px){body[data-route="group"] .main-column .group-identity{margin-top:6px!important;padding-bottom:16px!important;border:0!important;box-shadow:0 4px 14px rgba(16,24,40,.10)!important}body[data-route="group"] .group-cover{height:120px!important;border-radius:0}body[data-route="group"] .group-id-main{padding:0 16px!important}body[data-route="group"] .group-cover+.group-id-main{margin-top:-40px!important}body[data-route="group"] .group-avatar{flex-basis:80px;width:80px;height:80px}body[data-route="group"] .group-actions{padding:0 16px}}

/* Dating deck: two visible cards and the same 440x420 stack geometry as ReeUp. */
body[data-route="dating"] .dating-page{box-sizing:border-box;width:calc(100% + 6px);max-width:none;margin-left:-3px;padding:0 0 8px}
body[data-route="dating"] .dating-warning{box-sizing:border-box;min-height:38px;margin:0 0 12px;padding:10px 14px}
body[data-route="dating"] .dating-warning svg{height:18px}
body[data-route="dating"] .dating-tabs{box-sizing:border-box;height:45px;margin:0 0 12px;padding:4px}
body[data-route="dating"] .dating-tabs>a,body[data-route="dating"] .dating-tabs>button{height:37px}
body[data-route="dating"] .dating-deck{position:relative;width:440px;height:420px;margin:0 auto}
body[data-route="dating"] .dating-deck .dating-card{position:absolute;inset:0;width:440px;height:420px;min-height:0;margin:0;transition:opacity .22s ease,transform .28s cubic-bezier(.2,.8,.25,1)}
body[data-route="dating"] .dating-deck .dating-card.is-top{z-index:40;opacity:1;transform:none}
body[data-route="dating"] .dating-deck .dating-card.is-next{z-index:39;top:11px;bottom:auto;opacity:1;transform:translateY(14px) scale(.95)}
body[data-route="dating"] .dating-deck .dating-card.is-rest{z-index:38;top:21px;bottom:auto;opacity:0;pointer-events:none;transform:translateY(28px) scale(.9)}
body[data-route="dating"] .dating-actions{box-sizing:border-box;width:100%;height:70px;margin:18px auto 0}
@media(max-width:760px){body[data-route="dating"] .dating-page{width:100%;margin-left:0;padding:10px}body[data-route="dating"] .dating-deck{width:100%;height:calc(100dvh - 285px);min-height:420px}body[data-route="dating"] .dating-deck .dating-card{width:100%;height:100%}body[data-route="dating"] .dating-actions{height:66px;margin-top:14px}}

/* Measured ReeUp groups geometry and theme tokens. */
body[data-route="groups"] .groups-page-v2 .search-box{box-shadow:0 4px 14px rgba(0,0,0,.38)}
body[data-route="groups"] .groups-page-v2 .filters{height:44.9px;margin-bottom:8px;padding:0;border-radius:16px;overflow:visible}
body[data-route="groups"] .groups-page-v2 .filters-scroll{position:relative;isolation:isolate;box-sizing:border-box;width:100%;height:44.9px;padding:4px!important;display:flex;grid-template-columns:none;gap:4px;overflow-x:auto;overflow-y:auto;overscroll-behavior:auto}
body[data-route="groups"] .groups-page-v2 .filters-scroll.has-glider>.tab-glider{display:block!important;position:absolute;top:4px;left:4px;z-index:-1;height:36.9px;border-radius:12px;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.12);pointer-events:none;transition:transform .25s cubic-bezier(.4,0,.2,1),width .25s cubic-bezier(.4,0,.2,1)}
body[data-route="groups"] .groups-page-v2 .filter-pill{box-sizing:border-box;flex:1 1 0%;min-width:max-content;width:auto;height:auto;padding:9px 16px;border-radius:12px;color:#6b7280;gap:6px;font-size:13.5px;line-height:18.9px;font-weight:500;overflow:visible;text-overflow:clip}
body[data-route="groups"] .groups-page-v2 .filters-scroll.has-glider>.filter-pill.active{background:transparent;color:#111827;box-shadow:none}
body[data-route="groups"] .groups-page-v2 .filter-count{min-width:0;width:auto;height:auto;padding:1px 6px;border-radius:8px;background:rgba(17,24,39,.07);color:#6b7280;display:block;font-size:11px;line-height:15.4px;font-weight:600}
body[data-route="groups"] .groups-page-v2 .filter-pill.active .filter-count{background:#8849fe;color:#fff}
body[data-route="groups"] .groups-page-v2 .create-full-btn{height:48px;margin-bottom:16px;padding:14px 16px;border-radius:12px;background:linear-gradient(135deg,rgb(136,73,254),rgb(114,51,232));color:#fff;box-shadow:none;font-size:15px;line-height:normal;font-weight:600}
body[data-route="groups"] .groups-page-v2 .create-full-btn:hover{background:linear-gradient(135deg,rgb(136,73,254),rgb(114,51,232));transform:none}
body[data-route="groups"] .groups-page-v2 .create-limit{height:16.8px;color:#fff;font-size:13px;line-height:normal;font-weight:600}
body[data-route="groups"] .groups-reeup .communities-list{border-radius:12px;box-shadow:0 4px 14px rgba(0,0,0,.38)}
body[data-route="groups"] .groups-reeup .community-card{height:82px;padding:14px;gap:14px;color:#111827;background:transparent}
body[data-route="groups"] .groups-reeup .community-meta{color:#6b7280}
body.dark-feed[data-route="groups"] .groups-page-v2 .filters-scroll.has-glider>.tab-glider{background:#2e2e2e;box-shadow:0 1px 3px rgba(0,0,0,.45)}
body.dark-feed[data-route="groups"] .groups-page-v2 .filter-pill{color:#9ca3af}
body.dark-feed[data-route="groups"] .groups-page-v2 .filters-scroll.has-glider>.filter-pill.active{color:#e5e7eb}
body.dark-feed[data-route="groups"] .groups-page-v2 .filter-count{background:rgba(255,255,255,.1);color:#9ca3af}
body.dark-feed[data-route="groups"] .groups-page-v2 .filter-pill.active .filter-count{background:#8849fe;color:#fff}
body.dark-feed[data-route="groups"] .groups-reeup .communities-list{background:#1a1a1a}
body.dark-feed[data-route="groups"] .groups-reeup .community-card{color:#e5e7eb}
body.dark-feed[data-route="groups"] .groups-reeup .community-meta{color:#6b7280}

@media(max-width:1023px) and (min-width:761px){
 body[data-route="groups"]{padding-bottom:64px}
 body[data-route="groups"] .topbar,body[data-route="groups"] .left-nav,body[data-route="groups"] .right-column{display:none!important}
 body[data-route="groups"] .mobile-head{position:sticky;top:0;z-index:65;height:56px;padding:0 13px;display:flex;align-items:center;gap:10px;background:var(--surface);border-bottom:1px solid var(--line);backdrop-filter:none}
 body[data-route="groups"] .app-layout{display:block!important;width:100%;max-width:none!important;margin:0;padding:0!important}
 body[data-route="groups"] .main-column{box-sizing:border-box;width:100%!important;max-width:none!important;padding:16px 10px 10px!important}
 body[data-route="groups"] .bottom-nav{position:fixed!important;z-index:80!important;left:0!important;right:0!important;bottom:0!important;width:100%!important;height:64px!important;padding-bottom:env(safe-area-inset-bottom)!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;background:var(--surface)!important;border-top:1px solid var(--line)!important;transform:none!important}
}
@media(min-width:1024px) and (max-width:1050px){
 body[data-route="groups"] .topbar{height:56px!important;max-width:1274px!important;margin:0 auto!important;border-radius:0 0 16px 16px!important}
 body[data-route="groups"] .mobile-head{display:none!important}
 body[data-route="groups"] .app-layout{box-sizing:border-box;width:100%!important;max-width:1274px!important;margin:0 auto!important;grid-template-columns:280px minmax(0,680px) 280px!important;gap:3px!important;padding:16px 14px 0!important}
 body[data-route="groups"] .left-nav,body[data-route="groups"] .right-column{display:flex!important;top:72px!important}
 body[data-route="groups"] .main-column{box-sizing:border-box;width:auto!important;max-width:680px!important;padding:0 10px 16px!important}
}
@media(max-width:760px){
 body[data-route="groups"] .groups-reeup .group-topics{margin:0!important;padding:0!important}
 body[data-route="groups"] .groups-reeup .group-topics>.gt-strip{margin:-2px -10px 12px!important;padding:6px 10px 0!important;gap:8px!important}
 body[data-route="groups"] .groups-reeup .gt-tile{display:flex!important;flex-direction:column!important;align-items:center!important;gap:6px!important;color:#111827;font:13.3333px ReeUI,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif!important}
 body[data-route="groups"] .groups-reeup .gt-tile:not(.is-all) .gt-tile-face{background:transparent!important}
 body[data-route="groups"] .groups-reeup .gc-head{height:21px!important;margin:0 2px 12px!important}
 body[data-route="groups"] .groups-reeup .gc-title{font:700 15px/21px ReeUI,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif!important}
 body[data-route="groups"] .groups-reeup .gc-mine{font:600 13px/18.2px ReeUI,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif!important}
 body[data-route="groups"] .groups-reeup .community-card.discover-card{height:82px!important;min-height:82px!important;margin:0 0 8px!important;padding:14px!important}
 body[data-route="groups"] .groups-reeup .join-btn{height:34px!important;padding:0 14px!important;border-radius:17px!important;font:600 13px/13px ReeUI,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif!important}
 body.dark-feed[data-route="groups"] .groups-reeup .gt-tile{color:#e5e7eb!important}
 body.dark-feed[data-route="groups"] .groups-reeup .gt-tile.is-on .gt-tile-face{box-shadow:0 0 0 2px #0f0f0f,0 0 0 4px #8849fe!important}
 body.dark-feed[data-route="groups"] .groups-reeup .community-name{color:#e5e7eb!important}
}

/* ReeUp TOP groups: measured podium and rating rows. */
body[data-route="groups"] .groups-reeup .gtop-podium{box-sizing:border-box;position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.18fr) minmax(0,1fr);align-items:end;gap:6px;height:227.984375px;margin:0 0 12px;padding:26px 10px 0;border-radius:16px;background:#fff;box-shadow:0 4px 14px rgba(16,24,40,.08);overflow:hidden}
body[data-route="groups"] .groups-reeup .gtop-p{position:relative;min-width:0;display:flex;flex-direction:column;align-items:center;color:#111827}
body[data-route="groups"] .groups-reeup .gtop-p.is-1{order:2}
body[data-route="groups"] .groups-reeup .gtop-p.is-2{order:1}
body[data-route="groups"] .groups-reeup .gtop-p.is-3{order:3}
body[data-route="groups"] .groups-reeup .gtop-crown{display:block;width:30px;height:30px;margin:0 0 1px}
body[data-route="groups"] .groups-reeup .gtop-p-ava{box-sizing:border-box;position:relative;display:block;width:60px;height:60px;padding:3px;border-radius:19px}
body[data-route="groups"] .groups-reeup .gtop-p-ava>img{box-sizing:border-box;display:block;width:54px;height:54px;border:2px solid #fff;border-radius:16px;background:#fff;object-fit:cover}
body[data-route="groups"] .groups-reeup .gtop-p.is-1 .gtop-p-ava{width:76px;height:76px;border-radius:23px;background:linear-gradient(160deg,#fde68a,#f59e0b)}
body[data-route="groups"] .groups-reeup .gtop-p.is-1 .gtop-p-ava>img{width:70px;height:70px;border-radius:20px}
body[data-route="groups"] .groups-reeup .gtop-p.is-2 .gtop-p-ava{background:linear-gradient(160deg,#e2e8f0,#94a3b8)}
body[data-route="groups"] .groups-reeup .gtop-p.is-3 .gtop-p-ava{background:linear-gradient(160deg,#fdba74,#c2410c)}
body[data-route="groups"] .groups-reeup .gtop-medal{box-sizing:border-box;position:absolute;left:50%;bottom:-9px;transform:translateX(-50%);height:22px;min-width:22px;padding:0 5px;border:2px solid #fff;border-radius:11px;color:#fff;display:flex;align-items:center;justify-content:center;font:800 12px/16.8px ReeUI,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif}
body[data-route="groups"] .groups-reeup .is-1 .gtop-medal{background:linear-gradient(160deg,#fde68a,#f59e0b)}
body[data-route="groups"] .groups-reeup .is-2 .gtop-medal{background:linear-gradient(160deg,#e2e8f0,#94a3b8)}
body[data-route="groups"] .groups-reeup .is-3 .gtop-medal{background:linear-gradient(160deg,#fdba74,#c2410c)}
body[data-route="groups"] .groups-reeup .gtop-p-name{max-width:100%;margin-top:14px;display:flex;align-items:center;gap:4px;color:#111827;font:600 13px/18.2px ReeUI,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif}
body[data-route="groups"] .groups-reeup .gtop-p-name>span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body[data-route="groups"] .groups-reeup .gtop-p-score{margin-top:2px;display:flex;align-items:center;gap:4px;color:#6b7280;font:600 12px/16.8px ReeUI,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif}
body[data-route="groups"] .groups-reeup .gtop-p-score>img{width:14px;height:14px}
body[data-route="groups"] .groups-reeup .gtop-step{align-self:stretch;height:18px;margin-top:10px;border-radius:12px 12px 0 0}
body[data-route="groups"] .groups-reeup .is-1 .gtop-step{height:34px;background:linear-gradient(rgba(245,158,11,.16),transparent)}
body[data-route="groups"] .groups-reeup .is-2 .gtop-step{height:24px;background:linear-gradient(rgba(148,163,184,.2),transparent)}
body[data-route="groups"] .groups-reeup .is-3 .gtop-step{background:linear-gradient(rgba(194,65,12,.13),transparent)}
body[data-route="groups"] .groups-reeup .communities-list.gtop-list{border-radius:12px;background:#fff;box-shadow:0 4px 14px rgba(16,24,40,.08);display:flex;flex-direction:column;overflow:hidden}
body[data-route="groups"] .groups-reeup .community-card.gtop-row{box-sizing:border-box;height:71px!important;min-height:71px!important;margin:0!important;padding:12px 14px 12px 8px!important;border-bottom:1px solid #eef0f3;border-radius:0;display:flex;align-items:center;gap:12px;color:#111827}
body[data-route="groups"] .groups-reeup .community-card.gtop-row:first-child{height:70px!important;min-height:70px!important}
body[data-route="groups"] .groups-reeup .community-card.gtop-row:last-child{border-bottom:0}
body[data-route="groups"] .groups-reeup .gtop-pos{flex:0 0 30px;display:flex;align-items:center;justify-content:center;gap:1px}
body[data-route="groups"] .groups-reeup .gtop-pos>b{font:700 15px/21px ReeUI,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif}
body[data-route="groups"] .groups-reeup .gtop-row .community-avatar-wrap,body[data-route="groups"] .groups-reeup .gtop-row .community-avatar{flex:0 0 46px;width:46px;height:46px}
body[data-route="groups"] .groups-reeup .gtop-row .community-avatar{border-radius:28%}
body[data-route="groups"] .groups-reeup .gtop-row .community-body{min-width:0;flex:1}
body[data-route="groups"] .groups-reeup .gtop-row .community-name{color:#111827;font:600 14px/19.6px ReeUI,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif}
body[data-route="groups"] .groups-reeup .gtop-row .community-meta{color:#6b7280;font:400 13px/18.2px ReeUI,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif}
body[data-route="groups"] .groups-reeup .gtop-score{flex:0 0 auto;display:flex;align-items:center;gap:4px;color:#6b7280;font:700 13px/18.2px ReeUI,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif}
body[data-route="groups"] .groups-reeup .gtop-score>img{width:15px;height:15px}
body.dark-feed[data-route="groups"] .groups-reeup .gtop-podium,body.dark-feed[data-route="groups"] .groups-reeup .communities-list.gtop-list{background:#1a1a1a;box-shadow:0 4px 14px rgba(0,0,0,.38)}
body.dark-feed[data-route="groups"] .groups-reeup .gtop-p,body.dark-feed[data-route="groups"] .groups-reeup .gtop-p-name,body.dark-feed[data-route="groups"] .groups-reeup .gtop-pos,body.dark-feed[data-route="groups"] .groups-reeup .gtop-row .community-name{color:#e5e7eb!important}
body.dark-feed[data-route="groups"] .groups-reeup .gtop-p-score,body.dark-feed[data-route="groups"] .groups-reeup .gtop-score{color:#9ca3af}
body.dark-feed[data-route="groups"] .groups-reeup .gtop-p-ava>img{border-color:#1a1a1a;background:#1a1a1a}
body.dark-feed[data-route="groups"] .groups-reeup .gtop-medal{border-color:#1a1a1a}
body.dark-feed[data-route="groups"] .groups-reeup .community-card.gtop-row{border-color:#2c2c2c;color:#e5e7eb}

@media(max-width:760px){
 body[data-route="groups"] .groups-reeup .group-topics>.gt-strip>a.gt-tile{display:flex!important;flex-direction:column!important;color:#111827!important}
 body.dark-feed[data-route="groups"] .groups-reeup .group-topics>.gt-strip>a.gt-tile{color:#e5e7eb!important}
 body.dark-feed[data-route="groups"] .groups-reeup .gc-title{color:#e5e7eb!important}
 body[data-route="groups"] .groups-reeup .community-card.discover-card:not(:first-child){height:83px!important;min-height:83px!important}
}

/* Settings geometry measured from ReeUp. */
body[data-route="settings"] .settings-reeup .ree-settings-main{padding-top:4px}
body[data-route="settings"] .settings-reeup .settings-profile{box-sizing:border-box;height:88px;margin:0 0 16px;padding:16px;gap:14px;border-radius:16px;background:#fff;box-shadow:0 4px 14px rgba(16,24,40,.08)}
body[data-route="settings"] .settings-reeup .settings-avatar{flex:0 0 56px;width:56px;height:56px;border-radius:28%;overflow:hidden}
body[data-route="settings"] .settings-reeup .settings-avatar img{width:56px;height:56px;object-fit:cover}
body[data-route="settings"] .settings-reeup .settings-profile>span:nth-child(2){min-width:0;flex:1}
body[data-route="settings"] .settings-reeup .settings-profile>span:nth-child(2)>b{margin-bottom:4px;display:flex;align-items:center;gap:6px;color:#111827;font:600 14px/20px ReeUI,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif}
body[data-route="settings"] .settings-reeup .settings-profile>span:nth-child(2)>em{color:#6b7280;font:400 13px/18.2px ReeUI,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif}
body[data-route="settings"] .settings-reeup .settings-edit-icon{flex:0 0 40px;width:40px;height:40px;border-radius:12px;background:rgba(136,73,254,.1)}
body[data-route="settings"] .settings-reeup h2{box-sizing:border-box;width:max-content;height:18.1875px;margin:0 0 14px;color:#6b7280;font:600 13px/18.2px ReeUI,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;text-transform:none}
body[data-route="settings"] .settings-reeup .settings-group{margin:0 0 14px;border-radius:16px;background:#fff;box-shadow:0 4px 14px rgba(16,24,40,.08);overflow:hidden}
body[data-route="settings"] .settings-reeup .settings-line{box-sizing:border-box;min-height:69px;padding:14px 16px;gap:14px;background:transparent;color:#111827}
body[data-route="settings"] .settings-reeup .settings-group>.settings-line:first-child:last-child{height:68px;min-height:68px}
body[data-route="settings"] .settings-reeup .settings-icon{flex:0 0 40px;width:40px;height:40px;border-radius:12px;display:flex;align-items:center;justify-content:center;background-color:#3b82f6;background-image:linear-gradient(160deg,rgba(255,255,255,.3),rgba(255,255,255,0) 62%);box-shadow:inset 0 1px 0 rgba(255,255,255,.35)}
body[data-route="settings"] .settings-reeup .settings-icon.red{background-color:#f5433f}
body[data-route="settings"] .settings-reeup .settings-icon.purple{background-color:#8849fe}
body[data-route="settings"] .settings-reeup .settings-icon.green{background-color:#10b981}
body[data-route="settings"] .settings-reeup .settings-icon.gold{background-color:#f59e0b}
body[data-route="settings"] .settings-reeup .settings-line>span{min-width:0;flex:1}
body[data-route="settings"] .settings-reeup .settings-line>span>b{margin-bottom:2px;color:#111827;font:600 14px/19.6px ReeUI,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif}
body[data-route="settings"] .settings-reeup .settings-line>span>em{color:#6b7280;font:400 12px/16.8px ReeUI,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif}
body[data-route="settings"] .settings-reeup .switch{box-sizing:border-box;flex:0 0 48px;width:48px;height:28px;padding:0;border-radius:14px;background:#d1d5db}
body[data-route="settings"] .settings-reeup .switch.on{background:#10b981}
body[data-route="settings"] .settings-reeup .switch:before{width:22px;height:22px;left:3px;top:3px}
body[data-route="settings"] .settings-reeup .switch.on:before{transform:translateX(20px)}
body[data-route="settings"] .settings-reeup .settings-wall{box-sizing:border-box;margin:0 0 14px;padding:16px;border-radius:16px;background:#fff;box-shadow:0 4px 14px rgba(16,24,40,.08)}
body[data-route="settings"] .settings-reeup .settings-wall .wall-grid{grid-template-columns:repeat(3,96px);column-gap:10px;row-gap:12px}
body[data-route="settings"] .settings-reeup .wall-choice{box-sizing:border-box;width:96px;height:142.625px;padding:0;border:0;display:flex;flex-direction:column;gap:7px;color:#111827}
body[data-route="settings"] .settings-reeup .wall-choice>i{box-sizing:border-box;width:96px;height:118px}
body[data-route="settings"] .settings-reeup .wall-choice>b{font:600 12px/16.8px ReeUI,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif}
body.dark-feed[data-route="settings"] .settings-reeup .settings-profile,body.dark-feed[data-route="settings"] .settings-reeup .settings-group,body.dark-feed[data-route="settings"] .settings-reeup .settings-wall{background:#1a1a1a!important;box-shadow:0 4px 14px rgba(0,0,0,.38)!important}
body.dark-feed[data-route="settings"] .settings-reeup .settings-line{background:transparent!important;border-color:#2c2c2c!important;color:#e5e7eb!important}
body.dark-feed[data-route="settings"] .settings-reeup .settings-profile>span:nth-child(2)>b,body.dark-feed[data-route="settings"] .settings-reeup .settings-line>span>b,body.dark-feed[data-route="settings"] .settings-reeup .wall-choice{color:#e5e7eb!important}
body.dark-feed[data-route="settings"] .settings-reeup h2,body.dark-feed[data-route="settings"] .settings-reeup .settings-profile>span:nth-child(2)>em,body.dark-feed[data-route="settings"] .settings-reeup .settings-line>span>em{color:#9ca3af!important}
body[data-route="settings"] .settings-reeup .settings-save{display:none}
body[data-route="settings"] .settings-reeup .settings-form.is-saving{cursor:progress}
body[data-route="settings"] .settings-reeup .settings-form.is-saving .switch,body[data-route="settings"] .settings-reeup .settings-form.is-saving select{pointer-events:none;opacity:.7}

/* Information index geometry measured from ReeUp. */
body[data-route="info"] .ree-info{box-sizing:border-box;display:flex;flex-direction:column;padding:4px 0 24px}
body[data-route="info"] .ree-info>h2{box-sizing:border-box;width:100%;height:18.1875px;margin:0 0 14px;padding:0 4px;color:#6b7280;font:600 13px/18.2px ReeUI,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;letter-spacing:normal;text-transform:lowercase}
body[data-route="info"] .ree-info>h2::first-letter{text-transform:uppercase}
body[data-route="info"] .ree-info>h2:not(:first-child){margin-top:14px}
body[data-route="info"] .ree-info>section{box-sizing:border-box;width:100%;margin:0;padding:0;border-radius:26px;background:#fff;box-shadow:0 4px 14px rgba(16,24,40,.08);overflow:hidden}
body[data-route="info"] .ree-info>section>a{box-sizing:border-box;display:flex;align-items:center;min-height:64px;padding:11px 14px 11px 16px;gap:14px;border-bottom:1px solid #eceef1;background:transparent;color:#111827;font:400 14px/19.6px ReeUI,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif}
body[data-route="info"] .ree-info>section>a:last-child{border-bottom:0}
body[data-route="info"] .ree-info>section>a>i{box-sizing:border-box;display:flex;align-items:center;justify-content:center;flex:0 0 32px;width:32px;height:32px;border-radius:10px;background:#4f7bf7;color:#fff}
body[data-route="info"] .ree-info>section>a:nth-child(2)>i{background:#c04cdb}
body[data-route="info"] .ree-info>section>a:nth-child(3)>i{background:#f5433f}
body[data-route="info"] .ree-info>section>a:nth-child(4)>i{background:#ec4899}
body[data-route="info"] .ree-info>section>a:nth-child(5)>i{background:#ef4444}
body[data-route="info"] .ree-info>section>a:nth-child(6)>i{background:#f59e0b}
body[data-route="info"] .ree-info>section>a:nth-child(7)>i{background:#10b981}
body[data-route="info"] .ree-info>section>a:nth-child(8)>i{background:#6366f1}
body[data-route="info"] .ree-info>section>a>i svg{width:18px;height:18px}
body[data-route="info"] .ree-info>section>a>span{display:block;min-width:0;flex:1}
body[data-route="info"] .ree-info>section>a>span>b{display:block;margin:0;color:#111827;font:600 15px/19.5px ReeUI,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif}
body[data-route="info"] .ree-info>section>a>span>small{display:block;margin:2px 0 0;color:#6b7280;font:400 12.5px/17.5px ReeUI,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif}
body[data-route="info"] .ree-info>section>a>svg{flex:0 0 18px;width:18px;height:18px;color:#6b7280}
body.dark-feed[data-route="info"] .ree-info>section{background:#1a1a1a!important;box-shadow:0 4px 14px rgba(0,0,0,.38)!important}
body.dark-feed[data-route="info"] .ree-info>section>a{background:transparent!important;border-color:#2c2c2c!important;color:#e5e7eb!important}
body.dark-feed[data-route="info"] .ree-info>section>a>span>b{color:#e5e7eb!important}
body.dark-feed[data-route="info"] .ree-info>section>a>span>small,body.dark-feed[data-route="info"] .ree-info>h2{color:#9ca3af!important}

/* VIP geometry measured from ReeUp. */
@media(max-width:760px){
 body[data-route="premium"] .vip-page{box-sizing:border-box;width:auto;margin:16px 10px 0;padding:0 0 84px}
 body[data-route="premium"] .vip-intro{padding:2px 0 0}
 body[data-route="premium"] .vip-intro img{width:119px;height:145px;margin:0 auto}
 body[data-route="premium"] .vip-intro h1{margin:12px 0 0;font-size:23px;line-height:27.6px}
 body[data-route="premium"] .vip-intro p{box-sizing:border-box;width:100%;max-width:none;margin:8px 0 0;padding:0 8px;color:#9ca3af;font-size:14px;line-height:21px}
 body[data-route="premium"] .vip-preview{box-sizing:border-box;width:100%;height:64px;margin:16px 0 0;padding:10px 12px;gap:12px;border-radius:22px}
 body[data-route="premium"] .vip-page>h2{box-sizing:border-box;width:100%;height:18.1875px;margin:18px 0 10px;padding:0 4px;color:#9ca3af;font:600 13px/18.2px ReeUI,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;letter-spacing:normal;text-transform:lowercase}
 body[data-route="premium"] .vip-page>h2::first-letter{text-transform:uppercase}
 body[data-route="premium"] .vip-tariffs,body[data-route="premium"] .vip-benefits{border-radius:26px}
 body[data-route="premium"] .vip-tariffs header{box-sizing:border-box;height:52px;padding:10px 16px}
 body[data-route="premium"] .vip-tariffs label{box-sizing:border-box;height:62.5px;min-height:62.5px;padding:11px 16px;gap:14px}
 body[data-route="premium"] .vip-tariffs label:last-child{height:62px;min-height:62px}
 body[data-route="premium"] .vip-benefits button{box-sizing:border-box;min-height:64px;padding:11px 14px 11px 16px;gap:14px}
 body[data-route="premium"] .vip-benefits button:nth-child(5){height:78.5px;min-height:78.5px}
 body[data-route="premium"] .vip-note{box-sizing:border-box;margin:18px 0 0;padding:0 16px;color:#6b7280;font:400 12px/18px ReeUI,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif}
 body[data-route="premium"] .vip-buy{left:12px;right:12px;bottom:10px;width:auto;height:52px;margin:0;border-radius:999px;font-size:16px;line-height:normal;font-weight:700}
}
body.dark-feed[data-route="premium"] .vip-preview{background:rgba(30,30,34,.52)!important;border-color:transparent!important}
body.dark-feed[data-route="premium"] .vip-tariffs,body.dark-feed[data-route="premium"] .vip-benefits{background:#1a1a1a!important;border-color:#2c2c2c!important;box-shadow:0 4px 14px rgba(0,0,0,.38)!important}

/* Responsive shell safeguards verified by the i18n viewport crawl. */
@media(min-width:761px) and (max-width:1023px){
 body[data-route="premium"] .left-nav,body[data-route="premium"] .right-column{display:none!important}
 body[data-route="premium"] .app-layout{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:16px 10px 80px!important}
 body[data-route="premium"] .main-column{box-sizing:border-box;width:100%!important;max-width:none!important;padding:0!important}
 body[data-route="premium"] .vip-page{box-sizing:border-box;width:100%;max-width:680px;margin:0 auto}
}
@media(min-width:1024px) and (max-width:1050px){
 body[data-route="groups"] .app-layout{grid-template-columns:280px minmax(0,680px)!important;justify-content:center!important}
 body[data-route="groups"] .right-column{display:none!important}
 body[data-route="groups"] .main-column{box-sizing:border-box;width:auto!important;max-width:680px!important;padding:0 10px 16px!important}
}
body.dark-feed[data-route="premium"] .vip-benefits button{background:transparent!important;border-color:#2c2c2c!important;color:#e5e7eb!important}

/* Rooms: measured against the current ReeUp /rooms page. */
body[data-route="rooms"] .ree-rooms-page{display:block;width:100%;padding:0;margin:0;color:var(--text)}
body[data-route="rooms"] .ree-rooms-top{display:flex;grid-template-columns:none;gap:10px;height:56px;padding:0 0 12px}
body[data-route="rooms"] .ree-rooms-search{flex:1 1 auto;width:auto;height:44px;padding:12px 14px;gap:10px;border:0;border-radius:12px;background:var(--surface);box-shadow:0 2px 8px rgba(0,0,0,.08)}
body[data-route="rooms"] .ree-rooms-search input{font:400 14px/19.6px ReeUI,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif}
body[data-route="rooms"] .ree-create-room{flex:0 0 auto;width:auto;height:44px;padding:0 14px;gap:6px;border-radius:12px;background:#8849fe;box-shadow:none;font:600 14px/19.6px ReeUI,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif}
body[data-route="rooms"] .rooms-create-short{display:none}
body[data-route="rooms"] .ree-create-room svg{width:17px;height:17px}
body[data-route="rooms"] .ree-room-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 16px}
body[data-route="rooms"] .ree-room-stats .stat-item{box-sizing:border-box;height:auto;min-height:36.796875px;padding:10px 8px;gap:6px;border:0;border-radius:12px;justify-content:center;overflow:hidden;background:rgba(136,73,254,.12);color:#8849fe;font:600 12px/16.8px ReeUI,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif}
body[data-route="rooms"] .ree-room-stats .stat-item:nth-child(2){background:rgba(245,158,11,.12);color:#d97706}
body[data-route="rooms"] .ree-room-stats .stat-item:nth-child(3){background:rgba(16,185,129,.12);color:#059669}
body[data-route="rooms"] .ree-room-stats .stat-item:nth-child(4){background:rgba(236,72,153,.12);color:#db2777}
body[data-route="rooms"] .ree-room-stats .stat-item svg{width:16px;height:16px;flex:0 0 16px}
body[data-route="rooms"] .ree-room-stats .stat-item>span{width:auto;height:auto;padding:0;border-radius:0;display:inline;font:inherit;color:inherit;background:transparent}
body[data-route="rooms"] .ree-room-now{margin:0 0 12px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible}
body[data-route="rooms"] .ree-room-now .lc-card{overflow:hidden;border-radius:16px;background:var(--surface);box-shadow:0 4px 14px rgba(17,24,39,.08)}
body[data-route="rooms"] .ree-room-now .lc-head{box-sizing:border-box;height:37.25px;min-height:37.25px;margin:14px 16px 10px;padding:0;display:flex;align-items:center;gap:10px;border:0}
body[data-route="rooms"] .ree-room-now .lc-head>svg{width:37px;height:37px;color:#8849fe}
body[data-route="rooms"] .ree-room-now .lc-head>div:not(.ree-room-faces){min-width:0;flex:1}
body[data-route="rooms"] .ree-room-now .lc-head b,body[data-route="rooms"] .ree-room-now .lc-head span{display:block}
body[data-route="rooms"] .ree-room-now .lc-head b{font:600 15px/21px ReeUI,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif}
body[data-route="rooms"] .ree-room-now .lc-head b i{display:inline-block;margin-left:6px;padding:2px 7px;border-radius:999px;background:rgba(16,185,129,.12);color:#10b981;font:700 10px/14px ReeUI,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;font-style:normal}
body[data-route="rooms"] .ree-room-now .lc-head span{margin-top:2px;color:var(--muted);font:400 12px/16.8px ReeUI,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif}
body[data-route="rooms"] .ree-room-activity{box-sizing:border-box;min-height:80.78125px;padding:10px 16px;gap:11px;border:0;border-top:1px solid var(--line);font:400 14px/19.6px ReeUI,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif}
body[data-route="rooms"] .ree-room-activity>img{width:42px;height:42px;flex:0 0 42px;border-radius:50%}
body[data-route="rooms"] .ree-room-activity b{font-size:13px;line-height:18.2px}
body[data-route="rooms"] .ree-room-activity p{margin:2px 0 0;font-size:12px;line-height:16.8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body[data-route="rooms"] .ree-room-activity>span{align-self:center;max-width:110px;padding:5px 8px;border-radius:10px;background:rgba(136,73,254,.1);color:#8849fe;font-size:11px}
body[data-route="rooms"] .ree-popular-title{height:24px;margin:0 0 14px;padding:0;display:flex;align-items:center;color:var(--text);font:600 16px/22.4px ReeUI,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;text-transform:none}
body[data-route="rooms"] .ree-popular-title a{margin-left:auto;color:#8849fe;font:500 13px/18.2px ReeUI,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif}
body[data-route="rooms"] .ree-popular-rooms{box-sizing:border-box;display:flex;grid-template-columns:none;gap:12px;width:calc(100% + 20px);height:255.59375px;margin:-10px -10px -12px;padding:10px 10px 20px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}
body[data-route="rooms"] .ree-popular-rooms::-webkit-scrollbar{display:none}
body[data-route="rooms"] .ree-room-card{box-sizing:border-box;position:relative;flex:0 0 200px;width:200px;height:225.59375px;min-height:0;margin:0!important;padding:16px!important;border:0!important;border-radius:16px!important;background:var(--surface)!important;box-shadow:0 4px 14px rgba(17,24,39,.1)!important;color:var(--text);overflow:hidden}
body[data-route="rooms"] .ree-room-card .popular-icon-wrap{width:48px;height:48px;margin:0 0 12px;border-radius:28%}
body[data-route="rooms"] .ree-room-card .popular-icon-wrap img{width:100%;height:100%;border-radius:14px;object-fit:cover}
body[data-route="rooms"] .ree-room-card .popular-badge{position:absolute;top:12px;right:12px;margin:0;padding:3px 8px;border-radius:10px;background:#ef4444;color:#fff;font:700 10px/14px ReeUI,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif}
body[data-route="rooms"] .ree-room-card .popular-name{display:block;margin:0 0 4px;color:var(--text);font:600 15px/21px ReeUI,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body[data-route="rooms"] .ree-room-card .popular-desc{height:33.59375px;margin:0 0 12px;color:var(--muted);font:400 12px/16.8px ReeUI,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;overflow:hidden}
body[data-route="rooms"] .ree-room-card .popular-stats{height:22px;margin:0 0 14px;display:flex;gap:5px}
body[data-route="rooms"] .ree-room-card .popular-stats span{padding:3px 8px;border-radius:999px;background:rgba(16,185,129,.12);color:#10b981;font:600 11px/16px ReeUI,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif}
body[data-route="rooms"] .ree-room-card>.room-last{box-sizing:border-box;height:43px;margin:0 -16px -16px;padding:10px 16px;display:flex;gap:5px;align-items:center;border-radius:0 0 16px 16px;background:rgba(136,73,254,.1);font:400 13px/22px ReeUI,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;white-space:nowrap;overflow:hidden}
body[data-route="rooms"] .ree-room-card>.room-last span{min-width:0;overflow:hidden;text-overflow:ellipsis}
body[data-route="rooms"] .ree-room-card>.room-last time{display:none}
body[data-route="rooms"] .ree-room-topics{height:44.890625px;margin:0 0 16px;padding:0;gap:normal!important;border-radius:16px;background:var(--surface)}
body[data-route="rooms"] .ree-room-topics .filters-scroll{position:relative;box-sizing:border-box;height:44.890625px;padding:4px;display:flex;gap:4px;overflow-x:auto;scrollbar-width:none}
body[data-route="rooms"] .ree-room-topics .filter-pill{box-sizing:border-box;flex:0 0 auto;min-width:0;height:36.890625px;padding:9px 16px;border-radius:12px;display:flex;align-items:center;justify-content:center;color:var(--text);font:500 13.5px/18.9px ReeUI,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;background:transparent;box-shadow:none}
body[data-route="rooms"] .ree-room-topics .filter-pill.active{background:transparent!important;color:var(--text)!important;box-shadow:none!important}
body[data-route="rooms"] .ree-rooms-grid{display:flex;flex-direction:column;gap:10px}
body[data-route="rooms"] .ree-room-list-card{box-sizing:border-box;position:relative;display:flex;flex-wrap:wrap;column-gap:12px;row-gap:0;width:100%;min-height:120.78125px;padding:14px;border:0;border-radius:14px;background:var(--surface);box-shadow:0 4px 14px rgba(17,24,39,.1);color:var(--text)}
body[data-route="rooms"] .room-icon-wrap{position:relative;display:flex;flex:0 0 44px;width:44px;height:44px;margin-top:2.890625px}
body[data-route="rooms"] .room-icon-wrap img{width:44px;height:44px;border-radius:14px;object-fit:cover}
body[data-route="rooms"] .room-ava-on{position:absolute;right:-6px;bottom:-5px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#10b981;color:#fff;display:flex;align-items:center;justify-content:center;font:400 10.5px/10.5px ReeUI,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif}
body[data-route="rooms"] .room-info{min-width:0;flex:1;height:49.78125px;display:flex;flex-direction:column;gap:2px}
body[data-route="rooms"] .room-header{height:21.59375px;margin:0 0 4px;display:flex;align-items:center;gap:8px}
body[data-route="rooms"] .room-name{min-width:0;margin:0 0 2px;color:var(--text);font:600 14px/19.6px ReeUI,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body[data-route="rooms"] .room-pills{margin-left:auto;display:flex;align-items:center;gap:4px;color:var(--muted);font-size:11px}
body[data-route="rooms"] .room-pills svg{width:15px;height:15px}
body[data-route="rooms"] .room-desc{height:16.1875px;margin:0 0 6px;color:var(--muted);font:400 12px/16.2px ReeUI,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body[data-route="rooms"] .ree-room-list-card>.room-last{box-sizing:border-box;flex:0 0 calc(100% + 28px);width:calc(100% + 28px);height:43px;margin:14px -14px -14px;padding:10px 14px;display:flex;gap:5px;align-items:center;border-radius:0 0 14px 14px;background:rgba(136,73,254,.1);font:400 13px/22px ReeUI,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;white-space:nowrap;overflow:hidden}
body[data-route="rooms"] .ree-room-list-card>.room-last time{margin-left:auto;color:var(--muted);font-size:12px}
body.dark-feed[data-route="rooms"] .ree-rooms-search,body.dark-feed[data-route="rooms"] .ree-room-now .lc-card,body.dark-feed[data-route="rooms"] .ree-room-card{background:#1a1a1a!important;box-shadow:0 4px 14px rgba(0,0,0,.38)!important}
body.dark-feed[data-route="rooms"] .ree-room-topics{background:#141414!important}
body.dark-feed[data-route="rooms"] .ree-room-list-card{background:#262626!important;box-shadow:0 4px 14px rgba(0,0,0,.38)!important}
body.dark-feed[data-route="rooms"] .ree-room-stats .stat-item{background:rgba(136,73,254,.2);color:#cbb4ff}
@media(max-width:760px){
 body[data-route="rooms"] .main-column{padding:16px 10px 84px!important}
 body[data-route="rooms"] .ree-room-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 body[data-route="rooms"] .ree-create-room{flex-basis:104.375px;width:104.375px;padding:0 14px}
 body[data-route="rooms"] .ree-create-room .rooms-create-long{display:none}
 body[data-route="rooms"] .ree-create-room .rooms-create-short{display:inline}
 body[data-route="rooms"] .ree-room-activity>span{max-width:86px}
}
@media(min-width:761px){
 body[data-route="rooms"] #app-content>[data-route="rooms"]{box-sizing:border-box;width:100%!important;max-width:100%!important;min-width:0}
 body[data-route="rooms"] .main-column{padding-left:10px!important;padding-right:10px!important}
 body[data-route="rooms"] .ree-create-room{flex-basis:166.96875px;width:166.96875px;padding-left:16px;padding-right:16px}
 body[data-route="rooms"] .ree-room-activity{height:61.890625px;min-height:61.890625px}
}
@media(min-width:761px) and (max-width:768px){
 body[data-route="rooms"]{padding-bottom:64px}
 body[data-route="rooms"] .topbar,body[data-route="rooms"] .left-nav,body[data-route="rooms"] .right-column{display:none}
 body[data-route="rooms"] .mobile-head{position:sticky;top:0;z-index:90;height:56px;padding:0 10px;display:flex;align-items:center;border-radius:0 0 14px 14px;background:var(--surface)}
 body[data-route="rooms"] .app-layout{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
 body[data-route="rooms"] .main-column{width:100%!important;max-width:none!important;padding:16px 10px 84px!important}
 body[data-route="rooms"] .bottom-nav{position:fixed!important;z-index:80!important;left:0!important;right:0!important;bottom:0!important;width:100%!important;height:64px!important;display:block!important}
}
@media(min-width:769px) and (max-width:1050px){
 body[data-route="rooms"] .app-layout{box-sizing:border-box;width:1018px!important;max-width:1018px!important;margin:0!important;padding:14px 14px 0!important;grid-template-columns:280px 424px 280px!important;gap:3px!important}
 body[data-route="rooms"] .left-nav{display:block!important;width:280px!important}
 body[data-route="rooms"] .main-column{width:424px!important;max-width:424px!important;padding:0 10px 16px!important}
 body[data-route="rooms"] .right-column{display:block!important;width:280px!important}
}
@media(min-width:1051px){
 body[data-route="rooms"] .app-layout{grid-template-columns:280px 680px 280px!important;gap:3px!important}
 body[data-route="rooms"] .main-column{width:680px!important;max-width:680px!important;padding:0 10px 16px!important}
}

body[data-route="profile"] .pf-name-row>.user-icon{display:block;flex:0 0 11.859375px;width:11.859375px;height:14px;object-fit:contain}
body[data-route="profile"] #app-content>[data-route="profile"]{box-sizing:border-box;width:100%!important;max-width:100%!important;min-width:0}
body[data-route="profile"] .pf{box-sizing:border-box;width:100%!important;max-width:100%!important;min-width:0}
body[data-route="profile"] .pf-presence{margin-top:4px}
body[data-route="profile"] .pf-more{box-sizing:border-box;display:block;height:0;margin:0;padding:0;overflow:hidden;border-radius:0;font:400 14px/19.6px ReeUI,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;transition:height .2s ease}
body[data-route="profile"] .pf-more.is-open{height:28px}
body[data-route="profile"] .pf-more>.pf-row{display:flex;grid-template-columns:none;height:28px;padding:2px 0;gap:10px}
body[data-route="profile"] .pf-profile{padding-bottom:20px}
body[data-route="profile"] .pf-own .pf-rows,body[data-route="profile"] .pf-own .pf-rows:has(.pf-more:not([hidden])){height:121px!important;min-height:121px;padding-bottom:0}
body[data-route="profile"] .pf-own .pf-rows:has(.pf-more.is-open){height:149px!important;min-height:149px}
body[data-route="profile"] .pf-other .pf-rows,body[data-route="profile"] .pf-other .pf-rows:has(.pf-more:not([hidden])){height:calc(9px + var(--pf-row-count)*28px)!important;min-height:calc(9px + var(--pf-row-count)*28px);padding-bottom:0}
body[data-route="profile"] .pf-other .pf-rows:has(.pf-more.is-open){height:calc(37px + var(--pf-row-count)*28px)!important}
body[data-route="profile"] .pf-other .pf-follow-btn{flex:1 1 auto}
body[data-route="profile"] .pf-other .pf-msg-btn,body[data-route="profile"] .pf-other .pf-btn-icon{flex:0 0 38px;width:38px;padding:0}
body[data-route="profile"] .pf-other .pf-msg-btn span{display:none}
body[data-route="profile"] .pf-other .pf-btn-soft{background:#e8eaee;color:#374151}
@media(min-width:391px){
 body[data-route="profile"] .pf-other .pf-follow-btn{flex:0 0 131.640625px;width:131.640625px}
 body[data-route="profile"] .pf-other .pf-msg-btn{flex:1 1 auto;width:auto;padding:0 12px}
 body[data-route="profile"] .pf-other .pf-msg-btn span{display:inline}
}
body.dark-feed[data-route="profile"] .pf-other .pf-btn-soft{background:#262626;color:#e5e7eb}
body[data-route="profile"] .pf-nums-in{overflow-x:auto;scrollbar-width:none}
body[data-route="profile"] .pf-num{flex:1 0 100px;width:auto}
body[data-route="profile"] .pf-gifts .pf-card-tight{height:148px}
body[data-route="profile"] .pf-gifts .pf-sec-head,body[data-route="profile"] .pf-groups .pf-sec-head{height:51px}
body[data-route="profile"] .pf-groups .pf-card-tight{height:193.25px;min-height:193.25px}
body.dark-feed[data-route="profile"] .pf-k,body.dark-feed[data-route="profile"] .pf-sec-title{color:#9ca3af}
@media(min-width:769px){
 body[data-route="profile"] .pf-gifts .pf-card-tight{height:150px}
 body[data-route="profile"] .pf-gifts .pf-sec-head,body[data-route="profile"] .pf-groups .pf-sec-head{height:53px}
 body[data-route="profile"] .pf-groups .pf-card-tight{height:195.25px;min-height:195.25px}
}
@media(min-width:761px) and (max-width:768px){
 body[data-route="profile"]{padding-bottom:64px}
 body[data-route="profile"] .topbar,body[data-route="profile"] .left-nav,body[data-route="profile"] .right-column{display:none}
 body[data-route="profile"] .mobile-head{position:sticky;top:0;z-index:90;height:56px;padding:0 10px;display:flex;align-items:center;border-radius:0 0 14px 14px;background:var(--surface)}
 body[data-route="profile"] .app-layout{display:block!important;padding:0!important;max-width:none!important}
 body[data-route="profile"] .main-column{width:100%!important;max-width:none!important;padding:16px 10px 10px!important}
 body[data-route="profile"] .bottom-nav{position:fixed!important;z-index:80!important;left:0!important;right:0!important;bottom:0!important;width:100%!important;height:64px!important;display:block!important}
}
@media(min-width:769px) and (max-width:1050px){
 body[data-route="profile"] .app-layout{box-sizing:border-box;width:1018px!important;max-width:1018px!important;margin:0!important;padding:14px 14px 0!important;grid-template-columns:280px 424px 280px!important;gap:3px!important}
 body[data-route="profile"] .left-nav{display:block!important;width:280px!important}
 body[data-route="profile"] .main-column{width:424px!important;max-width:424px!important;padding:0 10px 16px!important}
 body[data-route="profile"] .right-column{display:block!important;width:280px!important}
}
.vip-user-badge{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;height:17px;min-width:27px;padding:0 6px;border:1px solid rgba(255,255,255,.46);border-radius:6px;background:linear-gradient(135deg,rgb(255,197,61) 0%,rgb(255,127,41) 100%);box-shadow:0 2px 7px rgba(255,137,37,.3);color:#fff!important;font-size:9px;font-weight:900;line-height:15px;letter-spacing:.35px;vertical-align:middle}
.pf-avatar{position:relative}.pf-avatar-vip{position:absolute;right:-4px;bottom:5px;display:inline-flex;align-items:center;justify-content:center;height:18px;min-width:30px;padding:0 6px;border:2px solid var(--card,#fff);border-radius:7px;background:linear-gradient(135deg,rgb(255,197,61),rgb(255,127,41));box-shadow:0 3px 8px rgba(255,137,37,.34);color:#fff;font-size:9px;font-weight:900;line-height:14px;letter-spacing:.35px}
.pf-name-row .vip-user-badge{margin-left:5px}.pc2-name .vip-user-badge{margin-left:5px}.nav-user b .vip-user-badge{margin-left:5px;transform:translateY(-1px)}
[data-theme="dark"] .pf-avatar-vip{border-color:var(--card,#151a25)}
.vip-card.is-on{border-color:rgba(255,180,53,.42);background:linear-gradient(135deg,rgba(255,196,61,.17),rgba(255,112,37,.12))}.vip-card.is-on .vip-card-title{color:#f59b23}
.chat-peer-head b,.ree-chat-row>span>b,.chat-info-user strong{display:flex;align-items:center;gap:5px}.chat-peer-head .vip-user-badge,.ree-chat-row .vip-user-badge,.chat-info-user .vip-user-badge{height:15px;min-width:24px;padding:0 5px;border-radius:5px;font-size:8px;line-height:13px}

/* Message actions, voice playback and upload feedback */
.people-card-face .people-card-vip{position:absolute;z-index:2;right:-5px;bottom:1px;height:18px;min-width:28px;padding:0 6px;border:2px solid var(--surface);border-radius:7px;display:grid;place-items:center;background:linear-gradient(135deg,#ffb42d,#ff7a1a);color:#fff;font-size:8px;font-weight:900;line-height:14px;box-shadow:0 2px 7px rgba(211,112,18,.28)}
.chat-page-v3 .bubble{overflow:visible}.message-more{position:absolute;z-index:4;top:50%;width:28px;height:28px;padding:0;border:0;border-radius:50%;background:var(--surface);color:var(--muted);box-shadow:0 2px 9px rgba(16,24,40,.14);display:grid;place-items:center;opacity:0;pointer-events:none;transform:translateY(-50%) scale(.92);transition:opacity .15s ease,transform .15s ease}.message-more svg{width:16px;height:16px}.bubble.mine .message-more{left:-34px}.bubble:not(.mine) .message-more{right:-34px}.bubble:hover>.message-more,.bubble:focus-within>.message-more{opacity:1;pointer-events:auto;transform:translateY(-50%) scale(1)}
.message-actions{position:absolute;z-index:40;bottom:calc(100% + 8px);width:205px;padding:6px;border:1px solid var(--line);border-radius:15px;background:var(--surface);color:var(--text);box-shadow:0 13px 38px rgba(19,26,40,.22);animation:messageMenuIn .16s cubic-bezier(.2,.8,.3,1)}.message-actions[hidden]{display:none!important}.bubble.mine .message-actions{right:0}.bubble:not(.mine) .message-actions{left:0}.message-actions>button{box-sizing:border-box;width:100%;height:36px;padding:0 9px;border:0;border-radius:9px;background:transparent;color:inherit;display:flex;align-items:center;gap:9px;font:550 12px/1.2 inherit;text-align:left;cursor:pointer}.message-actions>button:hover,.message-actions>button:focus-visible{background:var(--soft);outline:0}.message-actions>button.danger{color:#dd3f55}.message-actions svg{width:17px;height:17px}.message-quick-reactions{height:39px;padding:0 3px 5px;border-bottom:1px solid var(--line);margin-bottom:4px;display:flex;align-items:center;justify-content:space-between}.message-quick-reactions button{width:29px;height:29px;padding:0;border:0;border-radius:50%;background:transparent;font-size:17px;cursor:pointer;transition:transform .14s ease,background .14s ease}.message-quick-reactions button:hover{background:var(--soft);transform:scale(1.17)}@keyframes messageMenuIn{from{opacity:0;transform:translateY(6px) scale(.97)}to{opacity:1;transform:none}}
.message-reply-preview{width:100%;min-width:0;margin:0 0 5px;padding:5px 7px;border:0;border-left:3px solid currentColor;border-radius:5px;background:rgba(255,255,255,.14);color:inherit;text-align:left;cursor:pointer}.message-reply-preview b,.message-reply-preview span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.message-reply-preview b{font-size:10px}.message-reply-preview span{opacity:.78;font-size:10px}.message-deleted{display:flex!important;align-items:center;gap:6px;color:var(--muted);font-style:italic}.message-deleted svg{width:15px;height:15px}.bubble.is-deleted{background:color-mix(in srgb,var(--surface) 84%,transparent)!important;color:var(--muted)!important;border:1px dashed var(--line);box-shadow:none}
.message-reactions{position:absolute;left:8px;bottom:-14px;display:flex;gap:3px}.bubble.mine .message-reactions{right:8px;left:auto}.message-reactions:empty{display:none}.message-reactions button{height:24px;padding:0 7px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text);box-shadow:0 2px 6px rgba(16,24,40,.1);display:flex;align-items:center;gap:3px;font-size:12px;cursor:pointer}.message-reactions button.mine{border-color:#9e65ff;background:#f1e9ff}.message-reactions b{font-size:9px}.bubble:has(.message-reactions:not(:empty)){margin-bottom:13px}.bubble time em{margin-right:4px;font-size:8px;font-style:normal;opacity:.72}
.voice-message{position:relative;width:min(265px,62vw);height:42px;display:grid;grid-template-columns:34px minmax(80px,1fr) 34px;align-items:center;gap:7px}.voice-message>[data-voice-toggle]{width:34px;height:34px;padding:0;border:0;border-radius:50%;background:#fff;color:#8849fe;display:grid;place-items:center;box-shadow:0 2px 8px rgba(20,25,38,.15);cursor:pointer}.voice-message>[data-voice-toggle] svg{width:16px;height:16px;fill:currentColor}.voice-wave{height:28px;display:flex;align-items:center;gap:2px;overflow:hidden}.voice-wave i{flex:1;min-width:2px;height:var(--h);border-radius:2px;background:currentColor;opacity:.55;transform-origin:center;transition:opacity .15s ease}.voice-message.is-playing .voice-wave i{animation:voiceBar 1s ease-in-out infinite}.voice-message.is-playing .voice-wave i:nth-child(3n){animation-delay:-.32s}.voice-message.is-playing .voice-wave i:nth-child(4n){animation-delay:-.58s}@keyframes voiceBar{0%,100%{transform:scaleY(.52);opacity:.42}50%{transform:scaleY(1);opacity:.9}}.voice-message>[data-voice-range]{position:absolute;left:42px;right:42px;width:calc(100% - 84px);height:34px;margin:0;opacity:0;cursor:pointer}.voice-message>[data-voice-time]{font-size:9px;font-variant-numeric:tabular-nums;opacity:.78}.voice-message>audio{display:none}
.composer-context,.chat-file-preview,.voice-record-status{position:absolute;z-index:8;left:6px;right:6px;bottom:calc(100% + 7px);box-sizing:border-box;min-height:50px;padding:7px 9px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--text);box-shadow:0 8px 25px rgba(16,24,40,.16);display:flex;align-items:center;gap:9px;animation:composerPanelIn .18s cubic-bezier(.2,.8,.3,1)}.composer-context[hidden],.chat-file-preview[hidden]{display:none!important}.composer-context>span:first-child,.chat-file-preview>span:first-child{width:36px;height:36px;flex:0 0 36px;border-radius:10px;background:var(--primary-light);color:var(--primary);display:grid;place-items:center;overflow:hidden}.composer-context>span:first-child svg,.chat-file-preview>span:first-child svg{width:18px}.composer-context>span:nth-child(2),.chat-file-preview>span:nth-child(2){min-width:0;flex:1}.composer-context b,.composer-context small,.chat-file-preview b,.chat-file-preview small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.composer-context b,.chat-file-preview b{font-size:11px}.composer-context small,.chat-file-preview small{margin-top:2px;color:var(--muted);font-size:9px}.composer-context>button,.chat-file-preview>button{width:30px;height:30px;padding:0;border:0;border-radius:50%;background:var(--soft);color:var(--muted);display:grid;place-items:center}.composer-context>button svg,.chat-file-preview>button svg{width:15px}.chat-file-preview>span:first-child img{width:100%;height:100%;object-fit:cover}.chat-file-preview.is-new{animation:filePreviewPop .28s cubic-bezier(.2,1.4,.4,1)}@keyframes filePreviewPop{from{opacity:0;transform:translateY(8px) scale(.96)}to{opacity:1;transform:none}}@keyframes composerPanelIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.voice-record-status{z-index:10;height:48px;min-height:48px;padding:7px 12px;background:#fff;color:#242833}.voice-record-status>i{width:10px;height:10px;border-radius:50%;background:#ef3f62;box-shadow:0 0 0 5px rgba(239,63,98,.12);animation:recordDot 1s ease-in-out infinite}.voice-record-status>span{font-size:11px;font-weight:700}.voice-record-status>b{margin-left:auto;font-size:12px;font-variant-numeric:tabular-nums}.voice-record-status>em{width:50px;height:22px;background:repeating-linear-gradient(90deg,#ef3f62 0 2px,transparent 2px 5px);mask:linear-gradient(90deg,transparent,#000);animation:recordWave .7s linear infinite}@keyframes recordDot{50%{opacity:.35;transform:scale(.72)}}@keyframes recordWave{to{transform:translateX(5px)}}
.message-forward-sheet{position:fixed;z-index:620;inset:0;padding:18px;background:rgba(15,18,27,.48);display:grid;place-items:center;opacity:0;transition:opacity .18s ease}.message-forward-sheet[hidden]{display:none!important}.message-forward-sheet.open{opacity:1}.message-forward-sheet>section{width:min(390px,calc(100vw - 28px));max-height:min(620px,calc(100dvh - 36px));overflow:hidden;border-radius:20px;background:var(--surface);box-shadow:0 22px 70px rgba(9,14,24,.28);transform:translateY(10px) scale(.98);transition:transform .2s ease}.message-forward-sheet.open>section{transform:none}.message-forward-sheet header{height:54px;padding:0 12px 0 17px;border-bottom:1px solid var(--line);display:flex;align-items:center}.message-forward-sheet header b{flex:1}.message-forward-sheet header button{width:34px;height:34px;border:0;border-radius:50%;background:var(--soft);color:var(--text);display:grid;place-items:center}.message-forward-sheet section>div{max-height:520px;padding:7px;overflow:auto}.message-forward-sheet section>div>button{width:100%;height:54px;padding:0 10px;border:0;border-radius:12px;background:transparent;color:var(--text);display:flex;align-items:center;gap:10px;text-align:left;cursor:pointer}.message-forward-sheet section>div>button:hover{background:var(--soft)}.message-forward-sheet img{width:38px;height:38px;border-radius:50%;object-fit:cover}.message-forward-sheet span{flex:1;font-weight:650}
body.dark-feed .message-actions,body.dark-feed .composer-context,body.dark-feed .chat-file-preview,body.dark-feed .message-forward-sheet>section{background:#252a34}body.dark-feed .voice-record-status{background:#252a34;color:#f2f4f8}body.dark-feed .voice-message>[data-voice-toggle]{background:#20242d;color:#c49cff}body.dark-feed .message-reactions button{background:#252a34;border-color:#3b414d}body.dark-feed .message-reactions button.mine{background:#452c6c;border-color:#9e65ff}
@media(max-width:1023px){body[data-route="feed"] .home-compose-fab{display:grid;z-index:145;right:16px;bottom:calc(70px + env(safe-area-inset-bottom));width:50px;height:50px;border:2px solid rgba(255,255,255,.9);box-shadow:0 8px 24px rgba(153,56,226,.4)}body[data-route="feed"] .home-compose-fab:after{content:attr(aria-label);position:absolute;right:57px;padding:5px 8px;border-radius:9px;background:rgba(32,35,43,.82);color:#fff;font-size:10px;font-weight:750;opacity:0;transform:translateX(5px);transition:.18s ease}body[data-route="feed"] .home-compose-fab:hover:after,body[data-route="feed"] .home-compose-fab:focus-visible:after{opacity:1;transform:none}}
@media(max-width:760px){.message-more{opacity:1;pointer-events:auto;transform:translateY(-50%)}.bubble.mine .message-more{left:-31px}.bubble:not(.mine) .message-more{right:-31px}.message-actions{position:fixed;z-index:650;left:10px!important;right:10px!important;bottom:calc(10px + env(safe-area-inset-bottom));width:auto;padding:8px;border-radius:20px}.message-actions>button{height:45px;font-size:14px}.message-quick-reactions{height:48px}.message-quick-reactions button{width:38px;height:38px;font-size:21px}.message-forward-sheet{padding:10px;align-items:end}.message-forward-sheet>section{width:100%;max-height:72dvh;border-radius:22px}.voice-message{width:min(250px,70vw)}.composer-context,.chat-file-preview,.voice-record-status{left:0;right:0}}

/* Universal LoveSpin share sheet for posts, profiles and groups. */
.share-veil{position:fixed;z-index:760;inset:0;padding:22px;background:rgba(13,17,25,.54);display:grid;place-items:center;opacity:0;visibility:hidden;transition:opacity .2s ease,visibility 0s linear .2s}.share-veil.is-open{opacity:1;visibility:visible;transition-delay:0s}.share-sheet{box-sizing:border-box;width:min(540px,calc(100vw - 28px));max-height:min(720px,calc(100dvh - 36px));overflow:hidden;border:1px solid color-mix(in srgb,var(--line) 82%,transparent);border-radius:24px;background:var(--surface);color:var(--text);box-shadow:0 26px 82px rgba(8,12,22,.34);transform:translateY(18px) scale(.975);transition:transform .24s cubic-bezier(.2,.85,.28,1)}.share-veil.is-open .share-sheet{transform:none}.share-grip{display:none}.share-sheet>header{height:66px;padding:0 14px 0 22px;display:grid;grid-template-columns:40px 1fr 40px;align-items:center}.share-sheet>header:before{content:''}.share-sheet h2{margin:0;text-align:center;font-size:23px;line-height:1;font-weight:820;letter-spacing:-.35px}.share-sheet>header button{width:36px;height:36px;padding:0;border:0;border-radius:50%;background:var(--soft);color:var(--muted);display:grid;place-items:center;cursor:pointer}.share-sheet>header button:hover{background:var(--line);color:var(--text)}.share-sheet>header svg{width:19px;height:19px}.share-search{height:48px;margin:0 18px 14px;padding:0 15px;border:1px solid transparent;border-radius:14px;background:var(--soft);display:flex;align-items:center;gap:10px;color:var(--muted);transition:border-color .16s ease,box-shadow .16s ease}.share-search:focus-within{border-color:color-mix(in srgb,var(--primary) 55%,transparent);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 12%,transparent)}.share-search svg{width:20px;height:20px}.share-search input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:var(--text);font:500 15px/1 inherit}.share-targets{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:15px 8px;max-height:324px;padding:4px 18px 18px;overflow:auto;overscroll-behavior:contain}.share-target{min-width:0;padding:0;border:0;background:transparent;color:var(--text);display:flex;flex-direction:column;align-items:center;gap:7px;cursor:pointer}.share-target>span{position:relative;width:64px;height:64px;border-radius:50%;background:var(--soft);display:grid;place-items:center;overflow:hidden;box-shadow:inset 0 0 0 1px var(--line);transition:transform .16s ease,box-shadow .16s ease}.share-target:hover>span,.share-target:focus-visible>span{transform:translateY(-2px);box-shadow:0 7px 18px rgba(25,31,46,.15),inset 0 0 0 2px color-mix(in srgb,var(--primary) 60%,transparent)}.share-target img{width:100%;height:100%;object-fit:cover}.share-target svg{width:28px;height:28px}.share-target b{width:100%;min-height:28px;overflow:hidden;color:inherit;font-size:11px;line-height:14px;font-weight:620;text-align:center;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.share-saved>span{background:linear-gradient(145deg,#68bdfd,#358fe9);color:#fff;box-shadow:none}.share-target.is-sent>span:after{content:'✓';position:absolute;inset:0;background:rgba(77,190,116,.9);color:#fff;display:grid;place-items:center;font-size:25px;font-weight:900}.share-actions{padding:15px 13px calc(15px + env(safe-area-inset-bottom));border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(4,1fr);gap:8px;background:color-mix(in srgb,var(--surface) 95%,var(--soft))}.share-actions button{min-width:0;padding:0;border:0;background:transparent;color:var(--text);display:flex;flex-direction:column;align-items:center;gap:8px;cursor:pointer}.share-actions button>span{width:50px;height:50px;border-radius:50%;background:var(--soft);color:var(--primary);display:grid;place-items:center;transition:transform .16s ease,background .16s ease}.share-actions button:hover>span,.share-actions button:focus-visible>span{background:color-mix(in srgb,var(--primary) 14%,var(--surface));transform:translateY(-2px)}.share-actions svg{width:22px;height:22px}.share-actions b{font-size:10px;line-height:13px;font-weight:620}.share-actions button:disabled{opacity:.42;cursor:not-allowed}.share-actions button.is-busy>span{animation:sharePulse .8s ease-in-out infinite}@keyframes sharePulse{50%{transform:scale(.88);opacity:.65}}body.share-open{overflow:hidden}.dark-feed .share-sheet{background:#20232b;border-color:#343945}.dark-feed .share-search,.dark-feed .share-target>span,.dark-feed .share-actions button>span{background:#2c303a}.dark-feed .share-actions{background:#1b1e25}
.sidebar-nav-coins{display:flex;align-items:center;gap:4px;margin-left:auto;color:var(--muted);font-size:13px;font-weight:700;line-height:18px;white-space:nowrap}
.sidebar-nav-coins img{display:block;width:14px;height:14px;object-fit:contain}
.nav-link.active .sidebar-nav-coins{color:var(--muted)}
@media(max-width:760px){.share-veil{padding:0;place-items:end center}.share-sheet{width:100%;max-height:86dvh;border-width:1px 0 0;border-radius:24px 24px 0 0;transform:translateY(100%);padding-bottom:max(0px,env(safe-area-inset-bottom))}.share-grip{display:block;width:42px;height:4px;margin:8px auto 0;border-radius:4px;background:var(--line)}.share-sheet>header{height:56px}.share-sheet h2{font-size:21px}.share-search{height:45px;margin:0 14px 12px}.share-targets{grid-template-columns:repeat(4,minmax(0,1fr));gap:13px 7px;max-height:44dvh;padding:2px 12px 15px}.share-target>span{width:58px;height:58px}.share-actions{overflow-x:auto;grid-template-columns:repeat(4,minmax(76px,1fr));padding:13px 8px calc(12px + env(safe-area-inset-bottom))}.share-actions button>span{width:46px;height:46px}.share-actions b{font-size:9px}}
/* Shared language switcher: server-rendered to avoid a flash in the previous language. */
.web-language{position:relative;flex:0 0 auto}.web-language>summary{list-style:none;width:36px;height:36px;display:grid;place-items:center;border:1px solid var(--line,#e4e7ee);border-radius:11px;background:var(--card,#fff);color:var(--text,#242936);font-size:10px;font-weight:900;letter-spacing:.04em;cursor:pointer}.web-language>summary::-webkit-details-marker{display:none}.web-language>div{position:absolute;z-index:510;top:43px;right:0;width:190px;padding:7px;border:1px solid var(--line,#e4e7ee);border-radius:14px;background:var(--card,#fff);box-shadow:0 16px 42px rgba(24,30,44,.18)}.web-language a{min-height:38px;padding:0 10px;border-radius:9px;display:flex;align-items:center;gap:10px;color:var(--text,#242936);font-size:11px;font-weight:850}.web-language a:hover,.web-language a.active{background:var(--primary-light,#f1e8ff);color:var(--primary,#8f43ec)}.web-language a>span{font-size:12px;font-weight:650}.dark-feed .web-language>summary,.dark-feed .web-language>div{border-color:#353b47;background:#252a34;color:#f4f6fb}
@media(max-width:760px){.mobile-head .web-language>summary{width:32px;height:32px;border-radius:10px}.mobile-head .web-language>div{position:fixed;top:54px;right:8px;width:min(220px,calc(100vw - 16px))}.mobile-head .top-actions{gap:1px}.mobile-head .top-actions>.task-head{display:none}}
/* Full-screen video viewer for feed and group posts. */
.reel-viewer{position:fixed;z-index:780;inset:0;display:flex;align-items:center;justify-content:center;background:#08090d;color:#fff;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s ease,visibility .2s ease}.reel-viewer.open{opacity:1;visibility:visible;pointer-events:auto}.reel-viewer>video{display:block;width:min(520px,100vw);height:100dvh;max-height:100%;object-fit:contain;background:#000}.reel-viewer-top{position:absolute;z-index:2;top:calc(12px + env(safe-area-inset-top));left:50%;width:min(520px,100vw);padding:0 14px;transform:translateX(-50%);display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;text-shadow:0 1px 5px #000}.reel-viewer-top button,.reel-viewer-step,.reel-viewer-controls button{border:0;background:rgba(30,31,38,.68);color:#fff;cursor:pointer;display:grid;place-items:center}.reel-viewer-top button{width:38px;height:38px;border-radius:50%}.reel-viewer-top svg,.reel-viewer-step svg{width:20px;height:20px}.reel-viewer-step{position:absolute;right:max(20px,calc(50vw - 310px));width:42px;height:42px;border-radius:50%}.reel-viewer-prev{top:calc(50% - 52px)}.reel-viewer-next{top:calc(50% + 10px)}.reel-viewer-step[hidden]{display:none}.reel-viewer-footer{position:absolute;bottom:calc(18px + env(safe-area-inset-bottom));left:50%;width:min(520px,100vw);padding:12px 16px;transform:translateX(-50%);box-sizing:border-box;background:linear-gradient(transparent,rgba(0,0,0,.65) 28%,rgba(0,0,0,.82));text-shadow:0 1px 5px #000}.reel-viewer-author{display:flex;align-items:center;gap:10px;min-width:0}.reel-viewer-author img{width:38px;height:38px;border-radius:50%;object-fit:cover}.reel-viewer-author span{min-width:0}.reel-viewer-author b,.reel-viewer-author small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reel-viewer-author b{font-size:14px}.reel-viewer-author small{font-size:12px}.reel-viewer-controls{display:flex;align-items:center;gap:10px;margin-top:12px}.reel-viewer-controls button{width:32px;height:32px;flex:0 0 32px;border-radius:50%;font-size:17px}.reel-viewer-controls input{flex:1;min-width:0;height:4px;margin:0;appearance:none;border-radius:4px;background:linear-gradient(to right,#fff var(--reel-progress,0%),rgba(255,255,255,.4) var(--reel-progress,0%));cursor:pointer}.reel-viewer-controls input::-webkit-slider-thumb{appearance:none;width:11px;height:11px;border-radius:50%;background:#fff}.reel-viewer-controls span{font-size:11px;font-variant-numeric:tabular-nums}body.reel-open{overflow:hidden}
@media(max-width:1023px){body .bottom-nav.home-bottom .gn-game .gn-heart-dot{overflow:hidden;background:#bd742d;box-shadow:0 3px 11px rgba(52,32,15,.3),inset 0 0 0 2px rgba(255,255,255,.7)}body .bottom-nav.home-bottom .gn-game .gn-heart-dot img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}.global-player-mobile{left:14px;right:14px;bottom:calc(72px + env(safe-area-inset-bottom));height:37px;min-width:0;padding:2px 4px;box-sizing:border-box}.global-player-mobile .global-player-toggle,.global-player-mobile>[data-player-next]{width:29px;height:29px;flex-basis:29px}.global-player-mobile .global-player-info{height:29px;min-width:0;gap:5px}.global-player-mobile .global-player-info>img{width:27px;height:27px;flex-basis:27px}.global-player-mobile .global-player-info>span{min-width:0;overflow:hidden}.global-player-mobile .global-player-info b,.global-player-mobile .global-player-info small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.global-player-mobile .global-player-info b{font-size:10px;line-height:13px}.global-player-mobile .global-player-info small{font-size:8px;line-height:11px}body[data-route="feed"] .global-player-mobile{right:64px}body[data-route="feed"] .home-compose-fab{right:14px;bottom:calc(72px + env(safe-area-inset-bottom));width:42px;height:42px}body[data-route="feed"] .home-compose-fab svg{width:21px;height:21px}}
@media(max-width:760px){.reel-viewer-step{right:10px;width:34px;height:34px}.reel-viewer-prev{top:40%}.reel-viewer-next{top:48%}.reel-viewer-footer{bottom:env(safe-area-inset-bottom);padding-bottom:16px}.reel-viewer>video{width:100vw}}
/* Post media keeps its native ratio in the feed and in groups. */
body[data-route="feed"] .home-post-media:has(>img.pc2-fill),body[data-route="feed"] .home-post-media:has(>video.pc2-fill),body[data-route="group"] .home-post-media:has(>img.pc2-fill),body[data-route="group"] .home-post-media:has(>video.pc2-fill){height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important}
body[data-route="feed"] .home-post-media>img.pc2-fill,body[data-route="feed"] .home-post-media>video.pc2-fill,body[data-route="group"] .home-post-media>img.pc2-fill,body[data-route="group"] .home-post-media>video.pc2-fill{position:relative!important;inset:auto!important;display:block;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important}
.reels-page{width:min(100%,520px);margin:0 auto}.reel-card>video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#000}.reel-card{cursor:pointer}
.reel-viewer-controls button svg{width:17px;height:17px}

/* Full-screen reels: only this inner scroller moves between videos. */
.reel-viewer{z-index:950;display:block;background:#000;overflow:hidden}
.reel-viewer.has-comments{right:420px}
.reel-viewer-scroll{width:100%;height:100%;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scroll-snap-type:y mandatory;scrollbar-width:none}
.reel-viewer-scroll::-webkit-scrollbar{display:none}
.reel-slide{position:relative;width:100%;height:100%;min-height:100%;scroll-snap-align:start;scroll-snap-stop:always;display:flex;align-items:center;justify-content:center;gap:10px;box-sizing:border-box}
.reel-frame{position:relative;height:calc(100% - 40px);width:min(calc(100vh - 40px),calc(100vw - 90px));border-radius:34px;overflow:hidden;background:#121212}
.reel-frame>video{display:block;width:100%;height:100%;object-fit:contain;background:#000;cursor:pointer}
.reel-frame:before{content:"";position:absolute;inset:auto 0 0;height:160px;pointer-events:none;background:linear-gradient(transparent,#0009);z-index:1}
.reel-progress{position:absolute;z-index:3;left:14px;right:14px;bottom:10px;width:calc(100% - 28px);height:3px;margin:0;accent-color:#fff;cursor:pointer}
.reel-info{position:absolute;z-index:2;left:20px;right:20px;bottom:30px;color:#fff;text-shadow:0 1px 4px #000}
.reel-info>a{display:flex;align-items:center;gap:10px;width:max-content;max-width:100%;color:#fff;text-decoration:none}
.reel-info img{width:38px;height:38px;border-radius:50%;object-fit:cover}
.reel-info b{font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.reel-info p{max-height:5em;overflow:hidden;line-height:1.45;font-size:14px;margin:10px 0 0;white-space:pre-wrap}
.reel-side{width:56px;align-self:flex-end;margin-bottom:35px;display:grid;gap:16px}
.reel-side-action{border:0;background:transparent;color:#fff;min-height:58px;display:grid;justify-items:center;align-content:center;gap:4px;cursor:pointer;text-shadow:0 1px 4px #000}
.reel-side-action svg{width:27px;height:27px;stroke-width:2}
.reel-side-action span{font-size:12px;font-weight:700}
.reel-side-action.active{color:#ff315e}
.reel-viewer-top{position:absolute;left:0;right:0;top:0;transform:none;width:100%;height:76px;padding:18px 18px 0;align-items:flex-start;pointer-events:none}
.reel-viewer-top button{pointer-events:auto;background:#0007;width:40px;height:40px}
.reel-viewer-nav{position:absolute;right:18px;top:50%;transform:translateY(-50%);display:grid;gap:12px}
.reel-viewer-nav button{width:42px;height:42px;border:0;border-radius:50%;background:#ffffff25;color:#fff;display:grid;place-items:center;cursor:pointer}
.reel-viewer-nav button[hidden]{visibility:hidden}
.reel-viewer-nav svg{width:20px;height:20px}
.reel-comments-sheet{position:fixed;z-index:1000;right:0;top:0;bottom:0;width:min(420px,100vw);background:var(--card,#fff);color:var(--text,#17191d);box-shadow:-10px 0 40px #0003;display:flex;flex-direction:column;visibility:hidden;pointer-events:none;transform:translateX(100%);transition:transform .22s ease,visibility .22s ease}
.reel-comments-sheet.open{visibility:visible;pointer-events:auto;transform:none}
.reel-comments-sheet>header{height:50px;flex:none;display:flex;align-items:center;gap:14px;padding:0 14px;border-bottom:1px solid var(--line,#e6e8ec);font-size:17px}
.reel-comments-sheet>header button,.reel-reply-bar button{border:0;background:transparent;color:inherit;display:grid;place-items:center;width:34px;height:34px;cursor:pointer}
.reel-comments-sheet>header svg{width:21px;height:21px}
.reel-comments-body{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain;padding:14px}
.reel-comments-author{display:flex;align-items:center;gap:10px;margin:0 0 16px}
.reel-comments-author img{width:36px;height:36px;border-radius:50%;object-fit:cover}
.reel-comments-author b{font-size:14px}
.reel-comments-empty{text-align:center;display:grid;gap:6px;place-content:center;min-height:160px;color:var(--muted,#78818f)}
.reel-comments-empty b{color:var(--text,#17191d)}
.reel-comment-row{display:grid;grid-template-columns:34px minmax(0,1fr) 34px;gap:9px;margin:0 0 19px}
.reel-comment-row.is-reply{margin-left:36px}
.reel-comment-row>img{width:34px;height:34px;border-radius:50%;object-fit:cover}
.reel-comment-head{display:flex;align-items:center;gap:7px;min-width:0;font-size:13px}
.reel-comment-head b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.reel-comment-head time{color:var(--muted,#8b93a0);font-size:11px;white-space:nowrap}
.reel-comment-row p{margin:5px 0 4px;font-size:13px;line-height:1.4;overflow-wrap:anywhere}
.reel-comment-actions{display:flex;gap:10px}
.reel-comment-actions button,.reel-comment-like{border:0;background:transparent;color:var(--muted,#828b99);cursor:pointer}
.reel-comment-actions button{display:flex;align-items:center;gap:4px;padding:0;font-size:12px}
.reel-comment-actions svg{width:12px;height:12px}
.reel-comment-like{align-self:start;display:grid;justify-items:center;gap:2px}
.reel-comment-like svg{width:17px;height:17px}
.reel-comment-like.active{color:#ec365c}
[data-reel-comments-more]{border:0;background:var(--soft,#f1f3f6);color:var(--text,#17191d);padding:10px;width:100%;border-radius:9px;cursor:pointer}
.reel-reply-bar{padding:6px 14px;background:var(--soft,#f3f4f6);font-size:12px;display:flex;justify-content:space-between;align-items:center}
.reel-reply-bar[hidden]{display:none}
[data-reel-comment-form]{display:flex;align-items:center;gap:9px;padding:10px 14px max(10px,env(safe-area-inset-bottom));border-top:1px solid var(--line,#e6e8ec)}
[data-reel-comment-form] img{width:32px;height:32px;border-radius:50%;object-fit:cover}
[data-reel-comment-form] input[name=body]{flex:1;min-width:0;border:0;outline:none;background:var(--soft,#f4f5f6);padding:10px 12px;border-radius:18px;color:inherit;font-size:13px}
[data-reel-comment-form] button{border:0;background:none;color:var(--primary,#2779db);cursor:pointer}
[data-reel-comment-form] button svg{width:20px;height:20px}
body.reel-open{overflow:hidden!important}
@media(max-width:760px){
 .reel-viewer.has-comments{right:0}
 .reel-viewer-scroll{height:calc(100dvh - 64px)}
 .reel-slide{height:calc(100dvh - 64px)}
 .reel-frame{height:calc(100% - 40px);width:100%;border-radius:0}
 .reel-side{position:absolute;right:3px;bottom:0;margin-bottom:14px;z-index:4}
 .reel-info{right:65px;bottom:36px;left:14px}
 .reel-viewer-top{height:76px;padding:18px 10px 0}
 .reel-viewer-nav{display:none}
 .reel-comments-sheet{top:auto;left:0;right:0;bottom:0;width:100%;height:min(55dvh,550px);border-radius:17px 17px 0 0;transform:translateY(100%)}
 .reel-comments-sheet.open{transform:none}
}

/* Feed video playback controls and completed state. */
.home-post-media[data-media-type="video"]{cursor:pointer}
.home-post-media[data-media-type="video"]>.post-video{background:#111}
.home-post-media .post-video-sound{z-index:4!important;cursor:pointer;white-space:nowrap}
.home-post-media .post-video-sound svg{width:16px!important;height:16px!important;fill:none!important;stroke:currentColor}
.home-post-media .post-video-sound[aria-pressed="false"]{background:rgba(20,20,24,.58)}
.post-video-end{position:absolute;z-index:5;inset:0;background:rgba(0,0,0,.45);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px}
.post-video-end[hidden]{display:none!important}
.post-video-end button{cursor:pointer;font:600 15px/1.2 ReeUI,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif}
.post-video-end [data-video-more]{display:flex;align-items:center;gap:9px;min-height:46px;padding:12px 22px 12px 18px;border:0;border-radius:14px;background:#fff;color:#111827}
.post-video-end [data-video-more] svg{width:22px;height:22px}
.post-video-end [data-video-again]{padding:6px 12px;border:0;background:transparent;color:#fff}
.home-post .pc2-cap,.home-post .pc2-cap-text,.group-id-main .group-desc{white-space:pre-wrap!important;overflow-wrap:anywhere!important;word-break:break-word}
.home-post .pc2-cap{min-width:0;max-width:100%}
.group-id-main>div{min-width:0;max-width:100%}
.group-id-main .group-desc{display:block;max-width:100%;height:auto!important;max-height:none!important;overflow:visible!important;text-overflow:clip!important}

/* Reels viewer measured against the original desktop and mobile layouts. */
.reel-slide{gap:16px}
.reel-frame{border-radius:14px;background:#000}
.reel-back{position:absolute;inset:-40px;width:calc(100% + 80px);height:calc(100% + 80px);object-fit:cover;filter:blur(28px) brightness(.5) saturate(1.2);pointer-events:none}
.reel-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none}
.reel-frame>video{position:relative;background:transparent}
.reel-shade{position:absolute;inset:auto 0 0;height:160px;background:linear-gradient(transparent,rgba(0,0,0,.62));pointer-events:none}
.reel-frame:before{display:none}
.reel-info{left:14px;right:14px;bottom:18px}
.reel-who{display:flex;align-items:center;gap:10px;min-height:34px}
.reel-who>a{display:flex;align-items:center;gap:9px;min-width:0;color:#fff;text-decoration:none}
.reel-who img{width:34px;height:34px}
.reel-who b{font-size:14px}
.reel-join{flex:none;min-height:32px;padding:0 12px;border:1px solid rgba(255,255,255,.7);border-radius:10px;background:rgba(0,0,0,.08);color:#fff;font:600 13px/1 ReeUI,system-ui,sans-serif;cursor:pointer}
.reel-join.joined{background:rgba(255,255,255,.16)}
.reel-info p{margin-top:8px;overflow-wrap:anywhere}
.reel-bar{position:absolute;z-index:5;left:0;right:0;bottom:0;height:14px;cursor:pointer}
.reel-bar:before,.reel-bar i{content:"";position:absolute;left:0;bottom:0;height:2px;background:rgba(255,255,255,.4)}
.reel-bar:before{right:0}
.reel-bar i{width:0;background:#fff}
.reel-progress{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.reel-paused{position:absolute;z-index:3;top:50%;left:50%;width:64px;height:64px;border-radius:50%;display:grid;place-items:center;transform:translate(-50%,-50%);background:rgba(0,0,0,.38);opacity:0;pointer-events:none}
.reel-paused svg{width:28px;height:28px;fill:currentColor}
.reel-slide.is-paused .reel-paused{opacity:1}
.reel-side{z-index:2;display:flex;flex-direction:column;gap:18px;align-self:flex-end;margin-bottom:0;padding-bottom:8px}
.reel-side-action{min-height:30px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:0}
.reel-side-action svg{width:24px;height:24px}
.reel-side-action span:empty{display:none}
.reel-viewer-top{z-index:5;padding:6px 8px 26px}
.reel-viewer-top button{width:44px;height:44px;background:transparent}
.reel-viewer-nav{z-index:5;right:24px}
.reel-viewer-bottom{display:none}
body.reel-open .share-veil{z-index:1100}
body.reel-open .reel-actions-veil{z-index:1090}
.reel-comments-author{margin-bottom:7px}
.reel-comments-author a{display:flex;align-items:center;gap:10px;color:inherit;text-decoration:none}
.reel-comments-meta{font-size:12px;color:var(--muted,#858c98);margin-bottom:10px}
.reel-comments-chip{display:inline-flex;align-items:center;min-height:29px;padding:0 11px;border-radius:15px;background:var(--soft,#f1f3f6);color:var(--text,#17191d);font-size:12px;text-decoration:none}
[data-reel-comment-form]{position:relative}
[data-reel-comment-form] [data-reel-emoji]{color:var(--muted,#7f8794)}
.reel-emoji-panel{position:absolute;right:36px;bottom:100%;width:min(260px,calc(100vw - 30px));padding:9px;border:1px solid var(--line,#e6e8ec);border-radius:13px;background:var(--card,#fff);box-shadow:0 12px 35px #0002;display:grid;grid-template-columns:repeat(6,1fr);gap:2px}
.reel-emoji-panel[hidden]{display:none}
.reel-emoji-panel button{width:38px;height:38px;border:0;background:transparent;font-size:22px;cursor:pointer}
@media(max-width:760px){
 .reel-slide{gap:0}
 .reel-frame{height:100%;width:100%;border-radius:0}
 .reel-side{right:6px;bottom:22px;margin:0;padding:0}
 .reel-info{left:14px;right:72px;bottom:18px}
 .reel-viewer-top{padding:6px 8px 26px}
 .reel-viewer-bottom{position:absolute;z-index:5;left:0;right:0;bottom:0;height:64px;padding:9px 12px 0;background:#000;display:block;box-sizing:border-box}
 .reel-viewer-bottom button{display:block;width:100%;height:46px;border:0;border-radius:23px;background:rgba(255,255,255,.07);color:rgba(255,255,255,.62);font:400 15px ReeUI,system-ui,sans-serif;text-align:left;padding:0 15px;cursor:pointer}
 .reel-comments-sheet{height:500px;max-height:calc(100dvh - 110px);border-radius:16px 16px 0 0}
 .reel-comments-sheet:before{content:"";position:absolute;top:8px;left:50%;width:34px;height:4px;border-radius:4px;background:#d1d5db;transform:translateX(-50%)}
 .reel-comments-sheet>header{height:66px;padding:18px 16px 0;justify-content:center;border-bottom:0}
 .reel-comments-sheet>header button{position:absolute;left:10px;top:20px}
}


/* Long user descriptions expand in place across posts, groups, rooms and reels. */
.expandable-description,.group-id-main .group-desc.expandable-description{max-height:none!important;overflow:visible!important}
.description-more{display:inline;margin:0 0 0 4px;padding:0;border:0;background:transparent;color:var(--primary,#8849fe);font:600 12px/1.4 ReeUI,system-ui,sans-serif;vertical-align:baseline;cursor:pointer}
.description-more[hidden]{display:none!important}
.reel-info .description-more{color:#fff;text-shadow:0 1px 4px #000}
.reel-info .expandable-description.is-expanded{max-height:55dvh!important;overflow-y:auto!important;overscroll-behavior:contain}
body.post-comments-open{overflow:hidden}
/* Story viewer actions and viewed state */
body[data-route="feed"] .home-story.has-story.is-seen .st-paint:before{background:rgb(211,215,222)}
.story-sequence .story-header-actions{display:flex;align-items:center;gap:8px}
.story-sequence .story-header-actions .icon-btn{width:34px;height:34px;display:grid;place-items:center;border:0;border-radius:50%;background:rgba(0,0,0,.26);color:#fff}
.story-sequence .story-reply-bar{position:absolute;z-index:12;left:50%;bottom:max(14px,env(safe-area-inset-bottom));transform:translateX(-50%);width:min(430px,calc(100vw - 24px));height:60px;padding:8px 12px;display:flex;gap:10px;align-items:center;border-radius:0 0 12px 12px;background:linear-gradient(transparent,rgba(0,0,0,.4));box-sizing:border-box}
.story-sequence .story-reply-bar[hidden]{display:none}
.story-sequence .story-reply-bar input{width:100%;min-width:0;height:44px;padding:0 16px;border:0;border-radius:22px;background:rgba(255,255,255,.82);color:#16161b;font-size:15px;outline:0}
.story-sequence .story-reply-bar input::placeholder{color:#555}
.story-sequence .story-reply-bar button{flex:0 0 44px;width:44px;height:44px;display:grid;place-items:center;border:0;border-radius:50%;background:transparent;color:#fff}
.story-sequence .story-reply-bar button svg{width:24px;height:24px;stroke-width:2}
.story-sequence .story-reply-bar .story-send{display:none}
.story-sequence .story-reply-bar.is-typing .story-send{display:grid}
.story-sequence .story-reply-bar.is-typing .story-heart{display:none}
.story-sequence .story-heart.is-on svg{fill:#ff477c;stroke:#ff477c}
.story-sequence .story-heart.is-pop svg{animation:storyHeartPop .25s ease}
.story-sequence .story-progress i.paused span{animation-play-state:paused!important}
.story-sequence .story-menu{position:absolute;z-index:20;left:50%;bottom:70px;transform:translateX(-50%);width:min(410px,calc(100vw - 32px));padding:8px;border-radius:16px;background:#fff;box-shadow:0 20px 60px rgba(0,0,0,.35)}
.story-sequence .story-menu[hidden]{display:none}
.story-sequence .story-menu button{width:100%;min-height:45px;padding:0 12px;display:flex;align-items:center;gap:12px;border:0;border-radius:10px;background:transparent;color:#1d2330;text-align:left;font:500 14px/1.3 inherit}
.story-sequence .story-menu button:hover{background:#f2f3f7}
.story-sequence .story-menu svg{width:18px;height:18px;color:#747b8c}
.story-sequence .story-slide>p{bottom:82px;max-height:24vh;overflow:auto}
.story-sequence .story-tap{bottom:70px}
@keyframes storyHeartPop{50%{transform:scale(1.25)}}
@media(max-width:760px){.story-sequence .story-reply-bar{bottom:env(safe-area-inset-bottom);width:100%;border-radius:0}.story-sequence .story-menu{bottom:calc(68px + env(safe-area-inset-bottom))}}.story-sequence .story-progress i[hidden]{display:none}
@media(min-width:761px){.story-sequence .story-reply-bar{bottom:calc((100dvh - min(800px,100dvh))/2 + 8px)}.story-sequence .story-menu{bottom:calc((100dvh - min(800px,100dvh))/2 + 70px)}.story-sequence>header{top:calc((100dvh - min(800px,100dvh))/2 + 26px)}.story-sequence .story-progress{top:calc((100dvh - min(800px,100dvh))/2 + 14px)}}/* Own-story views and actions */
.story-sequence .story-menu button[hidden],.story-sequence .story-owner-bar[hidden],.story-sequence .story-viewers-backdrop[hidden]{display:none}
.story-sequence .story-owner-bar{position:absolute;z-index:12;left:50%;bottom:max(14px,env(safe-area-inset-bottom));transform:translateX(-50%);width:min(430px,calc(100vw - 24px));min-height:60px;padding:8px 12px;box-sizing:border-box;display:flex;align-items:center;border-radius:0 0 12px 12px;background:linear-gradient(transparent,rgba(0,0,0,.4))}
.story-sequence .story-owner-bar button{min-height:44px;padding:0 16px;display:flex;align-items:center;gap:8px;border:0;border-radius:22px;background:rgba(255,255,255,.82);color:#202431;font-weight:650;cursor:pointer}
.story-sequence .story-owner-bar svg{width:20px;height:20px}
.story-sequence .story-menu [data-story-delete]{color:#df344c}
.story-sequence .story-menu [data-story-delete] svg{color:#df344c}
.story-sequence .story-viewers-backdrop{position:fixed;z-index:28;inset:0;background:rgba(10,12,20,.52)}
.story-sequence .story-viewers-sheet{position:fixed;z-index:29;right:0;top:0;bottom:0;width:min(420px,100vw);display:flex;flex-direction:column;background:var(--surface,#fff);color:var(--text,#17191d);box-shadow:-10px 0 40px #0003;visibility:hidden;pointer-events:none;transform:translateX(100%);transition:transform .22s ease,visibility .22s ease}
.story-sequence .story-viewers-sheet.open{visibility:visible;pointer-events:auto;transform:none}
.story-sequence .story-viewers-sheet>header{height:58px;flex:none;padding:0 16px;display:flex;align-items:center;gap:14px;border-bottom:1px solid var(--line,#e6e8ec)}
.story-sequence .story-viewers-sheet>header button{width:34px;height:34px;padding:0;display:grid;place-items:center;border:0;border-radius:50%;background:transparent;color:inherit;cursor:pointer}
.story-sequence .story-viewers-sheet>header b{flex:1;font-size:17px}
.story-sequence .story-viewers-sheet>header span{min-width:28px;color:var(--muted,#7a8290);text-align:right}
.story-sequence .story-viewers-list{flex:1;overflow:auto;padding:8px 12px 20px}
.story-sequence .story-viewer-person{min-height:62px;padding:8px 10px;display:flex;align-items:center;gap:12px;border-radius:12px;color:inherit;text-decoration:none}
.story-sequence .story-viewer-person:hover{background:var(--soft,#f4f5f8)}
.story-sequence .story-viewer-person img{width:42px;height:42px;border-radius:50%;object-fit:cover}
.story-sequence .story-viewer-person span{min-width:0;display:flex;flex-direction:column;gap:3px}
.story-sequence .story-viewer-person b{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.story-sequence .story-viewer-person small{color:var(--muted,#7a8290);font-size:12px}
.story-sequence .story-viewers-empty{padding:48px 18px;color:var(--muted,#7a8290);text-align:center}
@media(min-width:761px){.story-sequence .story-owner-bar{bottom:calc((100dvh - min(800px,100dvh))/2 + 8px)}}
@media(max-width:760px){.story-sequence .story-owner-bar{bottom:env(safe-area-inset-bottom);width:100%;border-radius:0}.story-sequence .story-viewers-sheet{top:auto;left:0;right:0;bottom:0;width:100%;height:min(55dvh,550px);border-radius:17px 17px 0 0;transform:translateY(100%)}.story-sequence .story-viewers-sheet.open{transform:none}.story-sequence .story-viewers-sheet:before{content:"";position:absolute;top:8px;left:50%;width:34px;height:4px;border-radius:4px;background:#d1d5db;transform:translateX(-50%)}.story-sequence .story-viewers-sheet>header{height:66px;padding-top:12px}}
.story-sequence .story-tap,.story-sequence .story-slide{touch-action:none}
/* Keep the complete post media and its surrounding controls within a mobile viewport. */
@media(max-width:1023px){
 .home-post.post-card .home-post-media:has(>img.pc2-fill,>video.pc2-fill){height:auto!important;min-height:0!important;max-height:var(--mobile-post-media-max,calc(100svh - 180px))!important;aspect-ratio:auto!important;overflow:hidden}
 .home-post.post-card .home-post-media>img.pc2-fill,.home-post.post-card .home-post-media>video.pc2-fill{position:relative!important;inset:auto!important;display:block;width:100%!important;height:auto!important;max-height:var(--mobile-post-media-max,calc(100svh - 180px))!important;object-fit:contain!important}
 .home-post.post-card .home-post-media>video.pc2-fill{background:#111}
}/* Reaction avatars also need explicit sizes on a standalone post page. */
.home-post.post-card .pc2-faces{display:flex;height:24px;align-items:center}
.home-post.post-card img.pc2-face{flex:0 0 24px;width:24px!important;height:24px!important;border:1.6px solid #fff;border-radius:50%;object-fit:cover}
.home-post.post-card .pc2-by-faces{display:flex;height:20px;align-items:center}
.home-post.post-card img.pc2-by-face{flex:0 0 20px;width:20px!important;height:20px!important;border:1.6px solid #fff;border-radius:50%;object-fit:cover}/* Cropped preview in the post; the reels viewer keeps the complete video. */
@media(max-width:1023px){.home-post.post-card .home-post-media>video.pc2-fill{object-fit:cover!important;object-position:center center!important}}

/* The compact music strip shares the mobile navigation's glass surface. */
@media(max-width:1023px){
  .global-player-mobile{
    bottom:calc(74px + env(safe-area-inset-bottom));
    height:34px;
    padding:2px 5px;
    border:0;
    border-radius:999px;
    background:rgba(255,255,255,.3);
    box-shadow:rgba(16,24,40,.13) 0 8px 28px,rgba(16,24,40,.09) 0 0 0 .5px,rgba(255,255,255,.9) 0 1.5px 1px inset,rgba(255,255,255,.45) 0 -1px 1px inset;
    backdrop-filter:blur(14px) saturate(190%);
    -webkit-backdrop-filter:blur(14px) saturate(190%);
  }
  .global-player-mobile .global-player-toggle,
  .global-player-mobile>[data-player-next]{width:28px;height:28px;flex-basis:28px}
  .global-player-mobile .global-player-info{height:28px;gap:5px;padding:0 2px}
  .global-player-mobile .global-player-info>img{width:25px;height:25px;flex-basis:25px;border-radius:7px}
  .global-player-mobile .global-player-info b{font-size:10px;line-height:12px}
  .global-player-mobile .global-player-info small{font-size:8px;line-height:10px}
  body.dark-feed .global-player-mobile{
    border:0;
    background:rgba(30,30,34,.42);
    box-shadow:rgba(0,0,0,.45) 0 10px 30px,rgba(0,0,0,.35) 0 1px 3px,rgba(255,255,255,.18) 0 1px 1px inset,rgba(255,255,255,.06) 0 -1px 1px inset;
  }
}
/* The source avatar uses an SVG superellipse mask on every page. */
:is(.head-avatar,.nav-user img,.topbar img[class*="avatar"],.mobile-menu-user img,.ree-chat-row>img,.chat-dialog-v3>img,.chat-peer-head>img,.chat-info-user>img,.chat-empty>img,.message-forward-sheet img,.profile-unavailable>img,.pf-avatar img,.pf-avatar-img,.pf-media-head img,.pc2-ava img,.post-head img,.comment>img,.home-person img,.story-sequence>header img,.story-viewer-person img,.reel-who img,.reel-overlay a>img,.rating-row img,.people-card-face img,.settings-avatar img,img.post-avatar,img.profile-avatar-img){border-radius:28%!important;-webkit-mask-image:var(--avatar-squircle);mask-image:var(--avatar-squircle);-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;object-fit:cover}
.profile-unavailable{min-height:360px;padding:35px 24px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px}.profile-unavailable>img{width:88px;height:88px}.profile-unavailable h1,.profile-unavailable h2,.profile-unavailable p{margin:0}.profile-unavailable h1{font-size:19px}.profile-unavailable h2{font-size:16px}.profile-unavailable p{max-width:380px;color:var(--muted)}.profile-unavailable .btn{margin-top:10px;gap:7px}.pf-msg-btn.is-disabled{opacity:.6;cursor:not-allowed;pointer-events:none}.chat-compose-locked{min-height:61px;display:flex;align-items:center;justify-content:center;gap:9px;padding:10px 14px;border-top:1px solid var(--line);background:var(--surface);color:var(--muted);font-size:13px;text-align:center}.chat-compose-locked svg{width:18px;height:18px;flex:none}.chat-compose-locked button{padding:7px 11px;border:0;border-radius:9px;background:var(--primary-light);color:var(--primary);font-weight:700;cursor:pointer}
.story-sequence{transition:opacity .3s ease}.story-sequence.is-closing{opacity:0;pointer-events:none}.story-sequence .story-media{perspective:1400px;transition:transform .3s cubic-bezier(.2,.8,.2,1),opacity .3s ease}.story-sequence.is-closing .story-media{transform:translateY(24px) scale(.9);opacity:0}.story-sequence .story-cube{position:absolute;inset:0;transform-style:preserve-3d;transform:translateZ(calc(-1 * var(--story-half,225px)))}.story-sequence .story-cube.is-turning{transition:transform .3s cubic-bezier(.2,.8,.2,1)}.story-sequence .story-cube.turn-next{transform:translateZ(calc(-1 * var(--story-half,225px))) rotateY(-90deg)}.story-sequence .story-cube.turn-prev{transform:translateZ(calc(-1 * var(--story-half,225px))) rotateY(90deg)}.story-sequence .story-slide{display:block;visibility:hidden;backface-visibility:hidden;transform:translateZ(var(--story-half,225px));animation:none!important}.story-sequence .story-slide.active,.story-sequence .story-slide.leaving,.story-sequence .story-slide.entering{visibility:visible}.story-sequence .story-slide.entering.next{transform:rotateY(90deg) translateZ(var(--story-half,225px))}.story-sequence .story-slide.entering.prev{transform:rotateY(-90deg) translateZ(var(--story-half,225px))}.story-reply-bar.is-locked input{opacity:.72;cursor:not-allowed}.story-reply-bar.is-locked .story-send{display:none!important}@media(prefers-reduced-motion:reduce){.story-sequence,.story-sequence .story-media,.story-sequence .story-cube.is-turning{transition-duration:.01s}}

.track.music-track,.pf-media-audio.profile-music-list .track.music-track{min-height:42px;padding:4px 6px;gap:8px}
:is(.room-message-avatar-v4 img,.side-room img,.room-dialog-v4 img,.people-card img,.pf-follow-row img,.follow-list img,.story-tray img,.story-rail img,.chat-info-user img,.chat-peer-head img,.share-target img,.reel-person img){border-radius:28%!important;-webkit-mask-image:var(--avatar-squircle);mask-image:var(--avatar-squircle);-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;object-fit:cover}
/* Original story cube: 420 ms cubic ease-out between authors; same-author frames switch directly. */
.story-sequence .story-cube.is-turning{transition-duration:420ms;transition-timing-function:cubic-bezier(.333333,1,.666667,1)}
.story-sequence .story-slide.leaving::after,.story-sequence .story-slide.entering::after{content:"";position:absolute;inset:0;z-index:6;background:rgba(0,0,0,.55);pointer-events:none}
.story-sequence .story-slide.leaving::after{animation:storyShadeIn 420ms cubic-bezier(.333333,1,.666667,1) both}
.story-sequence .story-slide.entering::after{animation:storyShadeOut 420ms cubic-bezier(.333333,1,.666667,1) both}
@keyframes storyShadeIn{from{opacity:0}to{opacity:1}}@keyframes storyShadeOut{from{opacity:1}to{opacity:0}}
.story-sequence.is-closing .story-media{transform:scale(.9)}
.ree-user-avatar img{border-radius:28%!important;-webkit-mask-image:var(--avatar-squircle);mask-image:var(--avatar-squircle);-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;object-fit:cover}

/* LoveSpin mobile menu: one featured game and useful shortcuts below the familiar grid. */
@media(max-width:760px){
 body.mobile-menu-open .bottom-nav.home-bottom{z-index:220!important}
 body.mobile-menu-open .bottom-nav.home-bottom .gn-pill{opacity:0!important}
 body.mobile-menu-open .bottom-nav.home-bottom .nav-menu-item,body.mobile-menu-open .bottom-nav.home-bottom .nav-menu-item svg,body.mobile-menu-open .bottom-nav.home-bottom .nav-menu-item .nav-text{color:var(--primary)!important}
 .mobile-menu-sheet{overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:none;padding-top:0;padding-bottom:calc(116px + env(safe-area-inset-bottom))}
 .mobile-menu-sheet::-webkit-scrollbar{display:none}
 .mobile-menu-sheet>header{position:sticky;top:0;z-index:2;min-height:calc(76px + env(safe-area-inset-top));padding-top:calc(12px + env(safe-area-inset-top));box-sizing:border-box;background:var(--surface)}
 .mobile-menu-sheet>nav{flex:none;overflow:visible}
 .mobile-menu-sheet .mobile-games-rail{flex:none;border-top:1px solid var(--line);padding:16px 0 0;overflow:visible}
 .mobile-menu-section-title{display:flex;align-items:center;gap:8px;margin:0 2px 11px;color:var(--text);font-size:15px}
 .mobile-menu-section-title b{font-weight:800}
 .mobile-menu-section-title span{min-width:22px;height:22px;padding:0 6px;border-radius:11px;background:var(--primary-light);color:var(--primary);font-size:11px;font-weight:800;line-height:22px;text-align:center}
 .mobile-game-feature{min-height:108px;padding:14px;display:flex;align-items:center;gap:12px;border:1px solid color-mix(in srgb,var(--primary) 22%,var(--line));border-radius:20px;background:radial-gradient(circle at 12% 0%,color-mix(in srgb,var(--primary) 17%,transparent),transparent 55%),var(--soft);color:var(--text);box-shadow:0 8px 22px rgba(36,25,68,.06)}
 .mobile-game-feature>img{flex:none;width:72px;height:72px;border-radius:19px;object-fit:cover;box-shadow:0 5px 14px rgba(47,26,74,.18)}
 .mobile-game-feature-copy{display:grid;gap:5px;min-width:0;flex:1}
 .mobile-game-feature-copy b{font-size:16px;line-height:1.2;font-weight:800}
 .mobile-game-feature-copy small{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;color:var(--muted);font-size:11px;line-height:1.35}
 .mobile-game-feature-play{flex:none;display:flex;align-items:center;gap:4px;padding:9px 10px;border-radius:11px;background:var(--primary);color:#fff;font-size:11px;font-weight:800}
 .mobile-game-feature-play svg{width:14px;height:14px}
 .mobile-menu-promos{flex:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}
 .mobile-menu-promo{min-width:0;min-height:170px;padding:15px;border:1px solid var(--line);border-radius:20px;display:flex;flex-direction:column;align-items:flex-start;gap:5px;color:var(--text);font:inherit;text-align:left;text-decoration:none;cursor:pointer;box-shadow:0 6px 18px rgba(36,25,68,.045)}
 .mobile-menu-promo-story{background:linear-gradient(145deg,color-mix(in srgb,var(--primary) 16%,var(--surface)),var(--surface) 72%)}
 .mobile-menu-promo-vip{background:linear-gradient(145deg,color-mix(in srgb,#ffbd67 25%,var(--surface)),var(--surface) 72%)}
 .mobile-menu-promo-icon{width:42px;height:42px;margin-bottom:3px;border-radius:14px;display:grid;place-items:center;background:var(--surface);color:var(--primary);box-shadow:0 3px 11px rgba(36,25,68,.09)}
 .mobile-menu-promo-icon svg{width:23px;height:23px}
 .mobile-menu-promo-icon img{width:38px;height:38px;object-fit:contain}
 .mobile-menu-promo>b{font-size:14px;line-height:1.2;font-weight:800}
 .mobile-menu-promo>small{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;color:var(--muted);font-size:11px;line-height:1.3}
 .mobile-menu-promo-action{display:flex;align-items:center;gap:5px;margin-top:auto;color:var(--primary);font-size:11px;font-weight:800}
 .mobile-menu-promo-action svg{width:14px;height:14px}
 .mobile-game-feature:active,.mobile-menu-promo:active{transform:scale(.98)}
}
@media(max-width:380px){.mobile-game-feature{gap:9px;padding:11px}.mobile-game-feature>img{width:61px;height:61px;border-radius:16px}.mobile-game-feature-play{padding:8px}.mobile-menu-promo{padding:12px}}
body.dark-feed .mobile-game-feature{background:radial-gradient(circle at 12% 0%,rgba(151,88,255,.19),transparent 55%),var(--soft)}
body.dark-feed .mobile-menu-promo-story{background:linear-gradient(145deg,#322343,var(--surface) 76%)}
body.dark-feed .mobile-menu-promo-vip{background:linear-gradient(145deg,#3a2d26,var(--surface) 76%)}

/* Unified compositor-only motion for the web application. */
@keyframes lsModalVeilIn{from{opacity:0}to{opacity:1}}
@keyframes lsModalCardIn{from{opacity:0;transform:translateY(14px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
.modal.open{animation:lsModalVeilIn .16s linear both}
.modal.open>.modal-card{
  animation:lsModalCardIn .24s cubic-bezier(.22,1,.36,1) both;
  transform-origin:center;
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
}
#app-content{
  opacity:1;
  transform:translateY(0);
  transition:opacity .16s ease,transform .16s ease;
}
@media(max-width:760px){
  body[data-route="messages"] #app-content:has(.chat-page-v3){transform:none!important}
}
.pf-game-invite{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:38px;margin:8px 0 0;padding:7px 12px;border:1px solid var(--primary);border-radius:10px;background:var(--soft);color:var(--primary);font-family:inherit;font-size:13px;font-weight:600;line-height:18px;cursor:pointer}
.pf-game-invite svg{width:17px;height:17px;flex:none}
.pf-game-invite:hover{background:var(--primary);color:#fff}
.pf-game-invite:disabled{opacity:.6;cursor:wait}
@media(max-width:360px){
  body .mobile-head .brand{font-size:0!important;gap:0!important;flex:none}
  body .mobile-head .brand>span:last-child{display:none!important}
  body .mobile-head .brand-mark{margin:0!important}
}
@media(max-width:760px){
  body[data-route="messages"] .ree-chats-page{grid-template-columns:minmax(0,1fr)!important;min-width:0}
  body[data-route="messages"] .ree-chats-top{grid-template-columns:minmax(0,1fr) 42px 42px!important;min-width:0}
  body[data-route="messages"] .ree-chats-top form,body[data-route="messages"] .ree-chats-tabs{min-width:0}
}
#app-content[aria-busy="true"]{
  opacity:.88;
  transform:translateY(2px);
  pointer-events:none;
}
.notification-popover.open{animation:lsModalCardIn .2s cubic-bezier(.22,1,.36,1) both}
@media(prefers-reduced-motion:reduce){
  .modal.open,.modal.open>.modal-card,.notification-popover.open{animation:none!important}
  #app-content{transition:none!important}
}

/* Desktop feed previews stay within one reading viewport; the reel shows full video. */
@media(min-width:1024px){
 body[data-route="feed"] .home-post.post-card .home-post-media:has(>img.pc2-fill,>video.pc2-fill),
 body[data-route="group"] .home-post.post-card .home-post-media:has(>img.pc2-fill,>video.pc2-fill){max-height:640px!important;overflow:hidden}
 body[data-route="feed"] .home-post.post-card .home-post-media>img.pc2-fill,
 body[data-route="feed"] .home-post.post-card .home-post-media>video.pc2-fill,
 body[data-route="group"] .home-post.post-card .home-post-media>img.pc2-fill,
 body[data-route="group"] .home-post.post-card .home-post-media>video.pc2-fill{max-height:640px!important;object-fit:contain!important}
}

.home-page .feed-tabs{display:flex;gap:5px;margin:12px 0;padding:5px;border:1px solid var(--line,#e8e9ef);border-radius:16px;background:var(--surface,#fff)}
.home-page .feed-tab{flex:1;min-height:40px;border:0;border-radius:12px;background:transparent;color:var(--muted,#747d90);font:700 14px ReeUI,system-ui,sans-serif;cursor:pointer}
.home-page .feed-tab.is-active{background:#8849fe;color:#fff}
.home-page .feed-tab:focus-visible{outline:2px solid #8849fe;outline-offset:2px}
.home-page .recommendations-feed[hidden],.home-page .home-post[hidden],.home-page .feed-subscriptions-empty[hidden],.home-page [data-feed-mark][hidden]{display:none!important}
.home-page .feed-subscriptions-empty{margin:12px 0;padding:22px;text-align:center}
.home-page .feed-subscriptions-empty a{display:block;margin-top:8px;color:#8849fe;font-weight:700}
.chat-file-preview.has-voice{flex-wrap:wrap}
.chat-file-preview .chat-voice-draft-audio{order:4;display:block;width:100%;height:34px;margin:1px 0 2px}
