:root{--navy:#07152f;--navy2:#10244a;--blue:#2864ff;--cyan:#21c8d8;--gold:#ffb703;--bg:#f3f6fb;--card:#fff;--ink:#16213a;--muted:#71809b;--line:#e5eaf2;--green:#13a66a;--red:#e64b5d;--shadow:0 12px 35px rgba(29,48,85,.08)}
.production-label{display:inline-flex;align-items:center;gap:5px;margin-left:9px;padding:4px 8px;border:1px solid #a9f4cf;border-radius:999px;color:#087443;background:#edfff4;font-size:9px;font-weight:900;letter-spacing:.08em}.production-label i{font-size:6px;color:#14af69}.feature-offline-card{width:min(620px,calc(100% - 24px));margin:70px auto;padding:34px;text-align:center}.feature-offline-card h1{margin:9px 0;font:800 28px Manrope}.feature-offline-card p{max-width:460px;margin:0 auto 20px;color:var(--muted);line-height:1.65}
@media(max-width:800px){.production-label{display:none}}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,sans-serif}a{text-decoration:none;color:inherit}button,input,textarea,select{font:inherit}button{cursor:pointer}.card{background:var(--card);border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow)}.eyebrow{color:var(--blue);font-size:11px;font-weight:800;letter-spacing:.15em;text-transform:uppercase}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:0 20px;border:0;border-radius:13px;color:#fff;background:linear-gradient(120deg,var(--blue),#1744c7);font-weight:800;box-shadow:0 9px 22px rgba(40,100,255,.22)}.button.small{min-height:40px;padding:0 14px;font-size:13px}.button.tiny{min-height:34px;padding:0 11px;font-size:12px}.button.ghost{color:#fff;background:transparent;border:1px solid rgba(255,255,255,.4);box-shadow:none}.button:disabled{opacity:.5;cursor:not-allowed}.brand{display:flex;align-items:center;gap:10px;color:var(--navy);font:800 22px Manrope,sans-serif}.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;color:#fff;background:linear-gradient(145deg,var(--blue),var(--cyan));box-shadow:0 8px 20px rgba(40,100,255,.25)}.brand small{display:block;color:var(--muted);font:700 8px Inter,sans-serif;letter-spacing:.1em;text-transform:uppercase}.topbar{position:relative;z-index:100;top:auto;height:72px;padding:0 4%;display:flex;align-items:center;gap:45px;background:rgba(255,255,255,.95);border-bottom:1px solid var(--line);backdrop-filter:blur(14px)}.global-search{position:relative;flex:1;max-width:600px}.global-search i{position:absolute;left:16px;top:50%;transform:translateY(-50%);color:var(--muted)}.global-search input{width:100%;height:44px;padding:0 16px 0 44px;border:1px solid var(--line);border-radius:24px;background:#f5f7fb;outline:none}.top-actions,.guest-actions{margin-left:auto;display:flex;align-items:center;gap:12px}.top-actions>a:not(.mini-avatar){min-width:40px;height:40px;padding:0 11px;display:flex;align-items:center;justify-content:center;gap:7px;border-radius:12px;background:#f2f5fa;color:var(--navy);font-size:14px}.mini-avatar,.avatar{display:grid;place-items:center;flex:0 0 auto;width:42px;height:42px;border-radius:50%;color:#fff;background:linear-gradient(145deg,var(--blue),var(--cyan));font-weight:800}.avatar.tiny{width:31px;height:31px;font-size:11px}.webview-banner{display:none;position:relative;padding:10px 16px;align-items:center;justify-content:center;gap:10px;color:#fff;background:var(--navy);font-size:12px}.webview-banner.show{display:flex}.webview-banner button{position:absolute;right:12px;border:0;color:#fff;background:none}.flash{position:fixed;z-index:500;right:20px;top:84px;max-width:400px;padding:14px 18px;border-radius:12px;color:#fff;box-shadow:var(--shadow);animation:fadeFlash .4s}.flash.success{background:var(--green)}.flash.error{background:var(--red)}.flash.warning{background:#fff8df;color:#875d00;border:1px solid #f2d777}@keyframes fadeFlash{from{opacity:0;transform:translateY(-10px)}}.landing{background:var(--navy)}.landing-hero{min-height:650px;padding:70px max(6%,calc((100% - 1200px)/2));display:grid;grid-template-columns:1.2fr .8fr;align-items:center;gap:70px;color:#fff;background:radial-gradient(circle at 85% 30%,rgba(33,200,216,.24),transparent 25rem),linear-gradient(145deg,#07152f,#10244a)}.landing-hero h1{max-width:750px;margin:14px 0 20px;font:800 clamp(45px,6vw,78px)/1 Manrope,sans-serif}.landing-hero p{max-width:680px;color:#b9c5d9;font-size:18px;line-height:1.7}.hero-buttons,.trust-row{display:flex;gap:14px;flex-wrap:wrap}.trust-row{margin-top:32px;color:#cbd5e5;font-size:12px}.trust-row span{display:flex;gap:7px;align-items:center}.phone-mockup{width:310px;min-height:550px;margin:auto;padding:18px;border:7px solid #26385b;border-radius:42px;background:#f8faff;box-shadow:0 35px 90px rgba(0,0,0,.35);color:var(--ink);transform:rotate(3deg)}.phone-top{display:flex;justify-content:space-between;font-size:11px}.mock-story-row{display:flex;gap:10px;margin:18px 0}.mock-story-row i{display:grid;place-items:center;width:45px;height:45px;border:3px solid var(--cyan);border-radius:50%;background:#fff;color:var(--blue);font-style:normal;font-weight:800}.mock-post{padding:13px;border-radius:17px;background:#fff;box-shadow:var(--shadow)}.mock-user{display:flex;gap:8px;align-items:center}.mock-user b{display:grid;place-items:center;width:35px;height:35px;border-radius:50%;color:#fff;background:var(--blue)}.mock-user span,.mock-user small{display:block;font-size:11px}.mock-user small{color:var(--muted)}.mock-image{height:250px;margin:13px -4px;display:grid;place-items:center;border-radius:15px;color:#fff;background:linear-gradient(145deg,var(--blue),var(--cyan));font-size:42px}.mock-post p{font-size:11px}.feature-grid{padding:50px max(6%,calc((100% - 1200px)/2)) 80px;display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.feature-grid article{padding:27px;border:1px solid rgba(255,255,255,.12);border-radius:20px;color:#fff;background:rgba(255,255,255,.06)}.feature-grid i{font-size:25px;color:var(--cyan)}.feature-grid p{color:#aebbd0;font-size:13px;line-height:1.6}.auth-shell{min-height:calc(100vh - 72px);display:grid;grid-template-columns:1fr 1fr}.auth-art{padding:70px;display:flex;align-items:flex-end;color:#fff;background:linear-gradient(145deg,rgba(7,21,47,.85),rgba(40,100,255,.65)),url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1200&q=80') center/cover}.auth-art h1{max-width:600px;font:800 55px/1.08 Manrope,sans-serif}.auth-art p{max-width:540px;color:#d5deec;line-height:1.7}.auth-card{padding:55px clamp(28px,8vw,120px);display:flex;flex-direction:column;justify-content:center;background:#fff}.auth-brand{display:flex;align-items:center;gap:10px;margin-bottom:50px;font:800 24px Manrope}.auth-card h2{margin:8px 0 27px;font:800 34px Manrope}.auth-card form{display:grid;gap:16px}.auth-card label,.control-form label,.withdrawal-card label,.profile-form label,.upload-panel label{display:grid;gap:7px;color:#3e4b63;font-size:12px;font-weight:700}.auth-card input,.auth-card select,.control-form input,.control-form select,.control-form textarea,.withdrawal-card input,.withdrawal-card textarea,.profile-form input,.profile-form textarea,.upload-panel input,.upload-panel select,.upload-panel textarea{width:100%;min-height:48px;padding:11px 13px;border:1px solid var(--line);border-radius:11px;outline:none;background:#fafbfd}.two-column-form{grid-template-columns:1fr 1fr}.two-column-form .full{grid-column:1/-1}.auth-card>p{font-size:13px}.auth-card>p a{color:var(--blue);font-weight:800}.app-layout{width:min(100% - 32px,1460px);margin:22px auto 100px;display:grid;grid-template-columns:230px minmax(0,720px) 300px;gap:22px}.left-sidebar,.right-sidebar{position:sticky;top:94px;align-self:start}.left-sidebar nav{display:grid;gap:5px}.left-sidebar nav a{padding:12px 14px;display:flex;align-items:center;gap:13px;border-radius:12px;color:#53617a;font-weight:700}.left-sidebar nav a i{width:21px;font-size:18px}.left-sidebar nav a:hover,.left-sidebar nav a.active{color:var(--blue);background:#eaf0ff}.create-button{margin-top:17px;padding:13px;display:flex;justify-content:center;gap:9px;border-radius:13px;color:#fff;background:var(--blue);font-weight:800}.logout-link{margin-top:25px;padding:12px 14px;display:flex;gap:12px;color:var(--muted);font-size:13px}.content{min-width:0;display:grid;gap:17px}.right-sidebar{display:grid;gap:16px}.right-sidebar .card{padding:20px}.wallet-mini span,.wallet-mini strong,.wallet-mini a{display:block}.wallet-mini span{color:var(--muted);font-size:12px}.wallet-mini strong{margin:6px 0;font:800 27px Manrope}.wallet-mini a{color:var(--blue);font-size:12px;font-weight:800}.rule-list{padding:0;list-style:none;display:grid;gap:12px;color:var(--muted);font-size:12px}.rule-list i{margin-right:7px;color:var(--green)}.ad-slot>span{font-size:10px;color:var(--muted)}.ad-slot>div{padding:22px 0;text-align:center}.ad-slot i{font-size:28px;color:var(--gold)}.ad-slot p{color:var(--muted);font-size:12px}.approval-notice{padding:15px 18px;display:flex;gap:12px;align-items:center;border:1px solid #ffe4a6;border-radius:15px;color:#805c00;background:#fff8df}.approval-notice span{display:block;margin-top:3px;font-size:11px}.stories{padding:15px;display:flex;gap:13px;overflow-x:auto}.story{min-width:65px;display:grid;justify-items:center;gap:6px;color:var(--muted);font-size:10px}.story-ring{display:grid;place-items:center;width:57px;height:57px;border:3px solid var(--cyan);border-radius:50%;color:#fff;background:var(--blue);font-weight:800}.story-ring img{width:100%;height:100%;border-radius:50%;object-fit:cover;border:2px solid #fff}.add-story i{display:grid;place-items:center;width:57px;height:57px;border-radius:50%;color:var(--blue);background:#eaf0ff;font-size:18px}.composer{padding:16px}.composer-head{display:flex;gap:12px}.composer-head button{flex:1;padding:0 17px;border:0;border-radius:24px;color:var(--muted);background:#f3f5f8;text-align:left}.composer-actions{margin-top:14px;padding-top:12px;display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line)}.composer-actions button,.composer-actions a{padding:8px;border:0;background:none;color:var(--muted);text-align:center;font-weight:700}.composer-actions i{margin-right:6px}.green{color:var(--green)}.red{color:var(--red)}.blue{color:var(--blue)}.composer-form{display:none;margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}.composer-form.open{display:block}.composer-form textarea{width:100%;min-height:90px;padding:12px;border:1px solid var(--line);border-radius:12px}.form-row{margin-top:10px;display:flex;gap:10px;align-items:center}.form-row input{min-width:0;flex:1}.form-row select{height:40px;border:1px solid var(--line);border-radius:9px}.feed{display:grid;gap:17px}.post header{padding:17px;display:flex;align-items:center;gap:11px}.post header>div{flex:1}.post header strong,.post header span{display:block}.post header span{margin-top:3px;color:var(--muted);font-size:10px}.post header button{border:0;background:none}.post>p{padding:0 17px;line-height:1.55;font-size:14px}.post-media{display:block;width:100%;max-height:650px;object-fit:cover}.post-stats,.post-actions{margin:0 17px;padding:11px 0;display:flex;justify-content:space-between;color:var(--muted);font-size:11px}.post-stats{border-bottom:1px solid var(--line)}.post-actions form,.post-actions button{flex:1}.post-actions button{width:100%;padding:7px;border:0;background:none;color:var(--muted);font-weight:700}.comment-form{margin:0 17px 17px;display:flex;gap:8px}.comment-form input{flex:1;padding:0 13px;border:0;border-radius:20px;background:#f2f4f8}.comment-form button{border:0;color:var(--blue);background:none}.page-heading{padding:12px 2px;display:flex;justify-content:space-between;align-items:center}.page-heading h1{margin:5px 0;font:800 32px Manrope}.page-heading p{margin:0;color:var(--muted);font-size:13px}.upload-panel{display:none;padding:20px}.upload-panel:target,.upload-panel.open{display:grid;gap:13px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-grid .wide{grid-column:1/-1}.reels-grid,.product-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}.reel-card{position:relative;overflow:hidden;min-height:500px;border-radius:22px;background:#000}.reel-card video{width:100%;height:100%;min-height:500px;object-fit:cover}.reel-card>div{position:absolute;left:0;right:0;bottom:0;padding:55px 18px 18px;color:#fff;background:linear-gradient(transparent,rgba(0,0,0,.85))}.reel-card p{font-size:12px}.empty-state{grid-column:1/-1;padding:70px 20px;text-align:center}.empty-state i{color:var(--blue);font-size:42px}.empty-state p{color:var(--muted)}.product-card{overflow:hidden}.product-image{position:relative;height:220px;background:#eef2f7}.product-image img{width:100%;height:100%;object-fit:cover}.product-image span{position:absolute;left:12px;top:12px;padding:5px 8px;border-radius:8px;background:rgba(255,255,255,.9);font-size:9px;font-weight:800}.product-info{padding:16px}.product-info small{color:var(--muted)}.product-info h3{margin:6px 0}.product-info p{height:38px;color:var(--muted);font-size:11px;line-height:1.5}.product-buy{display:flex;justify-content:space-between;align-items:center}.product-buy strong{font:800 20px Manrope}.wallet-hero{padding:27px 32px;display:flex;justify-content:space-between;align-items:center;border-radius:23px;color:#fff;background:linear-gradient(125deg,var(--navy),var(--blue));box-shadow:0 20px 40px rgba(7,21,47,.2)}.wallet-hero span,.wallet-hero strong,.wallet-hero small{display:block}.wallet-hero strong{margin:7px 0;font:800 38px Manrope}.wallet-hero small{color:#bcd0f3}.wallet-hero i{font-size:60px;opacity:.18}.wallet-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:17px}.wallet-grid>.card{padding:20px}.wallet-grid h2,.card>h2{margin-top:0;font:800 20px Manrope}.transaction-list>div{padding:12px 0;display:flex;align-items:center;gap:11px;border-bottom:1px solid var(--line)}.transaction-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:11px}.transaction-icon.credit{color:var(--green);background:#e6f8f0}.transaction-icon.debit{color:var(--red);background:#fdecef}.transaction-list p{flex:1;margin:0}.transaction-list strong,.transaction-list small{display:block}.transaction-list small{margin-top:4px;color:var(--muted);font-size:9px}.transaction-list b{font-size:12px}.transaction-list b.credit{color:var(--green)}.transaction-list b.debit{color:var(--red)}.withdrawal-card{display:grid;gap:13px}.referral-card{padding:25px;display:flex;justify-content:space-between;align-items:center;border-radius:20px;color:#fff;background:linear-gradient(125deg,var(--navy),#173c83)}.referral-card span,.referral-card strong,.referral-card small{display:block}.referral-card strong{margin:6px 0;font:800 28px Manrope;letter-spacing:.06em}.referral-card small{color:#bac7dc}.network-tree{padding:24px}.tree-root{display:grid;justify-items:center}.tree-person{display:grid;justify-items:center;gap:7px}.tree-person span{display:grid;place-items:center;width:60px;height:60px;border-radius:18px;color:#fff;background:var(--blue);font-weight:800}.tree-person strong{font-size:11px}.tree-branches{position:relative;width:75%;margin-top:50px;display:flex;justify-content:space-between}.tree-branches:before{content:"";position:absolute;left:10%;right:10%;top:-25px;border-top:2px solid #d9e1ed}.tree-branches .tree-person:before{content:"";height:25px;position:absolute;top:-25px;border-left:2px solid #d9e1ed}.tree-branches .tree-person span{background:var(--navy2)}.member-list>div{padding:12px 0;display:flex;align-items:center;gap:11px;border-bottom:1px solid var(--line)}.member-list p{flex:1}.member-list strong,.member-list small{display:block}.member-list small{color:var(--muted);font-size:10px}.status{display:inline-block;padding:5px 8px;border-radius:20px;background:#edf1f6;color:#5d6980;font-size:9px;font-weight:800;text-transform:uppercase}.status.active,.status.approved,.status.paid,.status.verified{color:#08774a;background:#e3f7ed}.status.pending{color:#9a6b00;background:#fff3cd}.status.blocked,.status.rejected,.status.removed{color:#a82535;background:#fde9ec}.chat-shell{height:calc(100vh - 120px);display:grid;grid-template-columns:240px 1fr;overflow:hidden}.chat-list{padding:18px;border-right:1px solid var(--line);overflow-y:auto}.chat-list input{width:100%;height:38px;margin-bottom:12px;padding:0 12px;border:1px solid var(--line);border-radius:10px}.chat-list>a{padding:9px;display:flex;gap:9px;border-radius:11px}.chat-list>a.active,.chat-list>a:hover{background:#eef3ff}.chat-list p{margin:4px 0}.chat-list strong,.chat-list small{display:block;font-size:11px}.chat-list small{color:var(--muted)}.conversation{display:flex;flex-direction:column;min-width:0}.message-stream{flex:1;padding:20px;overflow-y:auto;background:#f8fafd}.message{max-width:75%;margin-bottom:10px}.message p{display:inline-block;margin:0;padding:10px 13px;border-radius:6px 15px 15px 15px;background:#fff;box-shadow:var(--shadow);font-size:12px}.message small{display:block;margin:3px;color:var(--muted);font-size:8px}.message.mine{margin-left:auto;text-align:right}.message.mine p{color:#fff;background:var(--blue);border-radius:15px 6px 15px 15px}.message-form{padding:12px;display:flex;gap:8px;border-top:1px solid var(--line)}.message-form input{flex:1;height:43px;padding:0 14px;border:1px solid var(--line);border-radius:22px}.message-form button{width:43px;border:0;border-radius:50%;color:#fff;background:var(--blue)}.conversation>.empty-state{margin:auto}.profile-header{overflow:hidden}.cover{height:220px;background:linear-gradient(135deg,var(--blue),var(--cyan));background-size:cover;background-position:center}.profile-main{padding:0 25px 25px;display:flex;align-items:flex-end;gap:18px}.profile-avatar{width:120px;height:120px;margin-top:-55px;display:grid;place-items:center;border:5px solid #fff;border-radius:50%;color:#fff;background:var(--navy);font:800 40px Manrope}.profile-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover}.profile-main>div{flex:1}.profile-main h1{margin:10px 0 3px}.profile-main p{margin:4px 0;color:var(--muted);font-size:12px}.verified{color:var(--blue);font-size:17px}.profile-form,.profile-posts{padding:22px}.profile-posts article{padding:15px 0;border-bottom:1px solid var(--line)}.profile-posts article img{max-width:100%;border-radius:14px}.profile-posts small{display:block;color:var(--muted)}.bottom-nav{display:none}
/* Admin */
.admin-body{padding-left:250px}.admin-sidebar{position:fixed;z-index:100;inset:0 auto 0 0;width:250px;padding:22px 16px;display:flex;flex-direction:column;color:#d5def0;background:var(--navy)}.admin-brand{padding:0 10px 24px;color:#fff}.admin-sidebar nav{display:grid;gap:5px}.admin-sidebar nav a{padding:12px 13px;display:flex;align-items:center;gap:12px;border-radius:11px;color:#9eacc3;font-size:13px;font-weight:700}.admin-sidebar nav a.active,.admin-sidebar nav a:hover{color:#fff;background:rgba(40,100,255,.35)}.admin-sidebar nav a i{width:20px}.admin-sidebar nav a b{margin-left:auto;padding:2px 6px;border-radius:10px;background:var(--red);font-size:9px}.admin-exit{margin-top:auto;padding:13px;color:#9eacc3;font-size:12px}.admin-main{min-height:100vh;padding:30px}.admin-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.admin-top h1{margin:6px 0 0;font:800 31px Manrope}.admin-user{display:flex;align-items:center;gap:10px}.admin-user>span{display:grid;place-items:center;width:43px;height:43px;border-radius:13px;color:#fff;background:var(--blue);font-weight:800}.admin-user p{margin:0}.admin-user strong,.admin-user small{display:block}.admin-user small{color:var(--muted);font-size:9px}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.stat-grid article{padding:21px;display:flex;align-items:center;gap:14px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:var(--shadow)}.stat-grid article>i{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;color:var(--blue);background:#eaf0ff;font-size:19px}.stat-grid span,.stat-grid strong{display:block}.stat-grid span{color:var(--muted);font-size:10px}.stat-grid strong{margin-top:4px;font:800 23px Manrope}.admin-panels{margin-top:18px;display:grid;grid-template-columns:1fr 1fr;gap:18px}.admin-panels>.card{padding:22px}.quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.quick-actions a{padding:14px;border-radius:12px;background:#f2f5fa;font-size:11px;font-weight:700}.quick-actions i{margin-right:7px;color:var(--blue)}.health-list{padding:0;list-style:none}.health-list li{padding:11px 0;display:flex;justify-content:space-between;border-bottom:1px solid var(--line);font-size:11px}.health-list .ok{color:var(--green)}.admin-table{overflow:hidden}.table-head{padding:20px;display:flex;justify-content:space-between;align-items:center}.table-head h2{margin:0}.table-head span{color:var(--muted);font-size:11px}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;background:#fff}th,td{padding:13px 15px;border-top:1px solid var(--line);text-align:left;font-size:11px;vertical-align:middle}th{color:var(--muted);background:#f8fafd;text-transform:uppercase;letter-spacing:.05em}td strong,td small{display:block}td small{margin-top:4px;color:var(--muted);font-size:9px}.inline-form{display:flex;gap:6px;align-items:center}.inline-form select,.inline-form input{height:34px;max-width:130px;padding:0 8px;border:1px solid var(--line);border-radius:8px;background:#fff;font-size:10px}.moderation-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.moderation-card{overflow:hidden}.moderation-card>img,.moderation-card>video{width:100%;height:210px;object-fit:cover;background:#000}.moderation-card>div{padding:15px}.moderation-card h3{margin:8px 0}.moderation-card p{color:var(--muted);font-size:10px;line-height:1.5}.control-form{max-width:700px;padding:25px}.control-form form{display:grid;grid-template-columns:1fr 1fr;gap:15px}.control-form label:has(textarea),.control-form button{grid-column:1/-1}.control-form textarea{min-height:90px}.admin-bottom-nav{display:none}
@media(max-width:1180px){.app-layout{grid-template-columns:200px minmax(0,1fr)}.right-sidebar{display:none}.feature-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:800px){.topbar{height:62px;padding:0 13px}.topbar .brand small,.global-search,.top-actions>a span{display:none}.top-actions{gap:5px}.app-layout{width:100%;margin:10px 0 90px;display:block}.left-sidebar,.right-sidebar{display:none}.content{padding:0 10px}.bottom-nav{position:fixed;z-index:200;left:7px;right:7px;bottom:7px;padding:8px 4px calc(8px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(5,1fr);border:1px solid rgba(255,255,255,.7);border-radius:20px;background:rgba(255,255,255,.96);box-shadow:0 15px 40px rgba(7,21,47,.2);backdrop-filter:blur(15px)}.bottom-nav a{position:relative;min-height:43px;display:grid;place-items:center;gap:2px;color:#8390a6;font-size:9px;font-weight:700}.bottom-nav i{font-size:18px}.bottom-nav a.active{color:var(--blue)}.bottom-nav .nav-create{color:#fff}.bottom-nav .nav-create:before{content:"";position:absolute;z-index:-1;inset:-18px 7px 0;border-radius:16px;background:var(--blue);box-shadow:0 7px 18px rgba(40,100,255,.3)}.landing-hero{padding:50px 22px;grid-template-columns:1fr}.phone-mockup{display:none}.landing-hero h1{font-size:46px}.feature-grid{padding:30px 18px 70px;grid-template-columns:1fr}.auth-shell{display:block}.auth-art{display:none}.auth-card{min-height:calc(100vh - 62px);padding:35px 22px}.two-column-form{grid-template-columns:1fr}.reels-grid,.product-grid,.wallet-grid{grid-template-columns:1fr}.reel-card,.reel-card video{min-height:620px}.page-heading{padding:10px 4px}.page-heading h1{font-size:26px}.page-heading p{max-width:250px}.page-heading .button{font-size:0}.page-heading .button i{font-size:14px}.chat-shell{height:calc(100vh - 145px);grid-template-columns:90px 1fr}.chat-list{padding:10px}.chat-list h2,.chat-list input,.chat-list p{display:none}.chat-list>a{justify-content:center}.profile-main{align-items:center;flex-wrap:wrap}.profile-avatar{width:95px;height:95px}.cover{height:160px}.form-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}.admin-body{padding:0 0 80px}.admin-sidebar{display:none}.admin-main{padding:18px 12px}.admin-top h1{font-size:25px}.admin-user p{display:none}.stat-grid{grid-template-columns:1fr 1fr}.admin-panels,.moderation-grid{grid-template-columns:1fr}.admin-table{border-radius:14px}.control-form form{grid-template-columns:1fr}.control-form label:has(textarea),.control-form button{grid-column:auto}.admin-bottom-nav{position:fixed;z-index:200;left:7px;right:7px;bottom:7px;padding:9px 5px calc(9px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(5,1fr);border-radius:19px;background:#fff;box-shadow:0 12px 35px rgba(7,21,47,.2)}.admin-bottom-nav a{display:grid;place-items:center;gap:3px;color:var(--muted);font-size:9px}.admin-bottom-nav i{font-size:17px}}
@media(max-width:420px){.landing-hero h1{font-size:39px}.stories{border-radius:0}.content{padding:0 7px}.composer,.post{border-radius:15px}.composer-actions{font-size:11px}.form-row{align-items:stretch;flex-direction:column}.wallet-hero strong{font-size:30px}.referral-card{align-items:flex-start;gap:15px;flex-direction:column}.stat-grid{grid-template-columns:1fr}.profile-main{padding:0 17px 20px}}
.ad-slot img{display:block;max-width:100%;margin:0 auto;border-radius:12px}
.forgot-link{margin-top:-8px;color:var(--blue);font-size:12px;font-weight:700;text-align:right}.reset-preview{margin-top:16px;padding:14px;display:grid;gap:6px;border-radius:12px;background:#eef3ff;font-size:11px}.reset-preview a{color:var(--blue);font-weight:800;word-break:break-all}.public-page{width:min(1100px,calc(100% - 30px));min-height:70vh;margin:35px auto}.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.blog-card{overflow:hidden;background:#fff}.blog-card>img{width:100%;height:210px;object-fit:cover}.blog-card>div,.landing-blog .blog-card{padding:22px}.blog-card small{color:var(--muted)}.blog-card p,.rich-content{color:#4f5d73;line-height:1.8}.blog-card a{color:var(--blue);font-weight:800}.blog-detail,.legal-page{padding:35px}.blog-detail>img{width:100%;max-height:460px;margin-bottom:25px;border-radius:16px;object-fit:cover}.blog-detail h1,.legal-page h1{font:800 clamp(32px,5vw,55px) Manrope}.landing-blog{padding:50px max(6%,calc((100% - 1200px)/2)) 90px;background:#fff}.landing-blog .section-title h2{font:800 34px Manrope}.landing-blog .blog-card{border:1px solid var(--line);border-radius:18px}.site-footer{padding:25px;display:flex;justify-content:center;gap:20px;flex-wrap:wrap;color:var(--muted);background:#fff;font-size:11px}.story{border:0;background:none}.story-viewer{position:fixed;z-index:1000;inset:0;display:grid;place-items:center;background:rgba(0,0,0,.92)}.story-viewer[hidden]{display:none}.story-viewer img{max-width:min(92vw,500px);max-height:84vh;border-radius:18px}.story-viewer p{position:absolute;bottom:25px;color:#fff}.story-viewer button{position:absolute;right:20px;top:20px;border:0;color:#fff;background:none;font-size:35px}.comment-list{margin:0 17px 10px;display:grid;gap:8px}.comment-list>div{display:flex;gap:8px}.comment-list p{margin:0;padding:8px 11px;border-radius:14px;background:#f2f4f8;font-size:11px}.comment-list strong,.comment-list small{display:block}.comment-list small{margin-top:4px;color:var(--muted);font-size:8px}.post-actions .liked,.reel-actions .liked{color:var(--blue)}.reels-feed{height:calc(100vh - 115px);overflow-y:auto;scroll-snap-type:y mandatory;display:grid;gap:15px}.reels-feed .reel-card{width:min(100%,470px);height:calc(100vh - 130px);min-height:600px;margin:auto;scroll-snap-align:start}.reels-feed .reel-card video{height:100%;min-height:100%;cursor:pointer}.reel-info{position:absolute;left:0;right:65px;bottom:55px;padding:50px 18px 18px;color:#fff;background:linear-gradient(transparent,rgba(0,0,0,.75))}.reel-actions{position:absolute;right:12px;bottom:85px;display:grid;gap:15px}.reel-actions form,.reel-actions button{display:grid;justify-items:center;gap:3px;border:0;color:#fff;background:none}.reel-actions i{font-size:25px}.reel-actions b{font-size:10px}.reel-comment-form{position:absolute;left:12px;right:12px;bottom:12px;display:flex}.reel-comment-form input{flex:1;padding:11px;border:0;border-radius:20px;background:rgba(255,255,255,.9)}.reel-comment-form button{border:0;color:#fff;background:none}.seller-center{padding:22px}.seller-item{padding:12px 0;display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:8px;border-bottom:1px solid var(--line)}.seller-item input,.seller-item select,.seller-item textarea,.post-edit-form textarea,.post-edit-form select{padding:9px;border:1px solid var(--line);border-radius:9px}.seller-item textarea{grid-column:1/-1}.danger-button{padding:8px 12px;border:0;border-radius:9px;color:#fff;background:var(--red);font-weight:700}.transfer-card{padding:22px}.referral-actions{display:flex;gap:8px}.mini-stat-grid,.analytics-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.mini-stat-grid article,.analytics-grid article{padding:18px}.mini-stat-grid span,.analytics-grid span{display:block;color:var(--muted);font-size:10px}.mini-stat-grid strong,.analytics-grid strong{display:block;margin-top:6px;font:800 24px Manrope}.typing-indicator{padding:4px 20px;color:var(--muted);font-size:10px}.activity-card{padding:22px}.activity-card>div{padding:11px 0;display:flex;gap:12px;border-bottom:1px solid var(--line)}.activity-card p{margin:0}.activity-card strong,.activity-card small{display:block}.activity-card small{color:var(--muted);font-size:9px}.profile-tools{display:grid;grid-template-columns:1fr 1fr;gap:17px}.profile-form{display:grid;gap:12px}.post-edit-form{display:grid;grid-template-columns:1fr auto auto auto;gap:8px}.post-edit-form textarea{grid-column:1/-1;min-height:90px}.ad-slide{display:none}.ad-slide.active{display:block;animation:fadeFlash .5s}.cookie-banner{position:fixed;z-index:900;left:20px;right:20px;bottom:20px;margin:auto;max-width:760px;padding:15px 18px;display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid var(--line);border-radius:15px;background:#fff;box-shadow:0 20px 50px rgba(7,21,47,.25)}.cookie-banner[hidden]{display:none}.cookie-banner p{margin:0;font-size:11px}
@media(max-width:800px){html,body{max-width:100%;overflow-x:hidden}.blog-grid,.profile-tools,.mini-stat-grid,.analytics-grid{grid-template-columns:1fr 1fr}.seller-item{grid-template-columns:1fr 1fr}.reels-feed{height:calc(100dvh - 125px)}.reels-feed .reel-card{height:calc(100dvh - 140px);min-height:560px;border-radius:0}.public-page{margin:18px auto}.blog-detail,.legal-page{padding:22px}.cookie-banner{bottom:85px}.site-footer{padding-bottom:100px}}
@media(max-width:480px){.blog-grid,.profile-tools,.mini-stat-grid,.analytics-grid{grid-template-columns:1fr}.seller-item{grid-template-columns:1fr}.referral-actions{width:100%}.post-edit-form{grid-template-columns:1fr}.post-edit-form textarea{grid-column:auto}}
.cms-list{padding:22px}.cms-list>div,.cms-list>form{padding:12px 0;display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--line)}.cms-list p{flex:1;margin:0}.cms-list small{display:block;color:var(--muted)}.cms-list input,.cms-list select{min-width:0;padding:8px;border:1px solid var(--line);border-radius:8px}.legal-admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.legal-admin-grid .control-form{max-width:none}.legal-admin-grid textarea[name=content]{min-height:250px}
.site-logo{width:44px;height:44px;object-fit:contain}.reel-comments{position:absolute;z-index:3;left:10px;right:70px;bottom:58px;max-height:120px;overflow:auto;color:var(--ink)}.reel-comments:empty{display:none}
@media(max-width:1000px){.legal-admin-grid{grid-template-columns:1fr}.cms-list>form{align-items:stretch;flex-direction:column}.cms-list>form>*{width:100%}}

/* 2026-06-13 responsive and analytics hotfix */
html,body{width:100%;max-width:100%;overflow-x:hidden}
body *{min-width:0}
img,video,iframe{max-width:100%}
input,select,textarea,button{max-width:100%}
.content,.card,.post,.product-card,.seller-center,.profile-form,.activity-card{max-width:100%;overflow-wrap:anywhere}
.referral-card small,.rich-content,.blog-card p,.product-info p{overflow-wrap:anywhere;word-break:break-word}
.product-buy-bar{padding:0 16px 16px;gap:10px}
.details-link{display:inline-flex;align-items:center;gap:7px;color:var(--blue);font-size:11px;font-weight:800}
.product-detail{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);overflow:hidden}
.product-detail-image{min-height:480px;background:#eef2f7}
.product-detail-image img{width:100%;height:100%;object-fit:cover}
.product-detail-info{padding:32px}
.product-detail-info h1{margin:8px 0;font:800 clamp(28px,4vw,48px) Manrope}
.seller-line{color:var(--muted);font-size:12px}.seller-line a{color:var(--blue);font-weight:700}
.product-price{display:block;margin:18px 0;font:800 30px Manrope}
.detail-buy-form{display:flex;align-items:end;gap:12px;margin-top:22px}
.detail-buy-form label{display:grid;gap:6px;font-size:11px;font-weight:700}
.detail-buy-form input{width:100px;padding:12px;border:1px solid var(--line);border-radius:10px}
.admin-sidebar nav{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-right:4px}
.admin-sidebar nav::-webkit-scrollbar{width:5px}.admin-sidebar nav::-webkit-scrollbar-thumb{border-radius:10px;background:#34517f}
.admin-brand{flex:0 0 auto}.admin-exit{flex:0 0 auto}
.admin-main,.admin-panels,.admin-table,.table-scroll{max-width:100%}
.admin-analytics{margin-bottom:18px}
.admin-mobile-menu{display:none}

@media(max-width:800px){
  .topbar{max-width:100vw;gap:8px}.topbar .brand{font-size:17px}.top-actions{max-width:55vw}
  .content{width:100%;max-width:100vw;padding:0 8px}
  .card,.composer,.post{width:100%;max-width:100%}
  .stories{max-width:100%;overscroll-behavior-x:contain}
  .post-actions{margin-left:8px;margin-right:8px}.post-actions button{font-size:11px}
  .comment-form,.comment-list{margin-left:10px;margin-right:10px}
  .product-detail{grid-template-columns:1fr}.product-detail-image{min-height:280px;max-height:420px}.product-detail-info{padding:20px}
  .seller-center{overflow:hidden}.seller-item>*{width:100%}
  .table-scroll{width:100%;max-width:100%;overflow-x:auto}
  .referral-card{width:100%;overflow:hidden}.referral-card>div{width:100%}
  .wallet-hero{padding:22px 18px}
  .admin-main{width:100%;max-width:100vw;overflow-x:hidden}
  .admin-mobile-menu{position:sticky;z-index:180;top:0;display:block;padding:10px 12px;background:var(--navy);color:#fff}
  .admin-mobile-menu summary{cursor:pointer;font-weight:800;list-style:none}.admin-mobile-menu summary::-webkit-details-marker{display:none}
  .admin-mobile-menu nav{max-height:55vh;margin-top:10px;display:grid;grid-template-columns:1fr 1fr;gap:6px;overflow-y:auto}
  .admin-mobile-menu nav a{padding:10px;border-radius:8px;background:rgba(255,255,255,.1);font-size:11px}
}

/* v10 interaction reliability and polished page flow */
@media(min-width:801px){
  .app-layout{height:auto;min-height:calc(100vh - 116px);align-items:start}
  .left-sidebar,.right-sidebar{position:sticky;top:94px;max-height:calc(100vh - 112px);overflow-y:auto}
  .content{max-height:none;padding-right:0;overflow:visible}
}
.upload-progress{margin-top:12px;padding:14px;border:1px solid #cbd9ff;border-radius:14px;background:#f6f9ff}
.upload-progress>div{height:10px;overflow:hidden;border-radius:20px;background:#dfe7f5}
.upload-progress>div span{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--blue),var(--cyan));transition:width .18s}
.upload-progress strong,.upload-progress small{display:block}.upload-progress strong{margin-top:9px;font-size:12px}.upload-progress small{margin-top:4px;color:var(--muted);font-size:9px}
.upload-progress.failed{border-color:#ffc3ca;background:#fff4f5}.upload-progress.failed>div span{background:var(--red)}
.word-rain-game{overflow:hidden}.word-rain-stage{position:relative;height:430px;margin:18px 0;overflow:hidden;border:1px solid #263e69;border-radius:22px;background:radial-gradient(circle at 50% -10%,#23519c 0,transparent 42%),linear-gradient(180deg,#081a3d,#07152f);box-shadow:inset 0 -55px 80px rgba(0,0,0,.2)}
.word-rain-stage:before{content:"";position:absolute;inset:0;opacity:.16;background-image:linear-gradient(rgba(255,255,255,.3) 1px,transparent 1px);background-size:100% 38px}
.falling-word{position:absolute;z-index:2;top:-48px;padding:10px 17px;border:1px solid rgba(255,255,255,.65);border-radius:20px;color:#07152f;background:#fff;font:800 18px Manrope;box-shadow:0 9px 24px rgba(0,0,0,.25);animation:wordFall 5.8s linear forwards}
@keyframes wordFall{to{transform:translateY(485px)}}
.game-intro,.game-over{position:absolute;z-index:3;inset:0;display:grid;place-content:center;justify-items:center;color:#fff;text-align:center}.game-intro i,.game-over i{margin-bottom:12px;color:var(--cyan);font-size:46px}.game-intro h2,.game-over h2{margin:0;font:800 32px Manrope}.game-intro p,.game-over p,.game-over small{color:#bac8df}
.word-game-controls{display:grid;grid-template-columns:1fr auto;gap:10px}.word-game-controls input{height:54px;padding:0 18px;border:2px solid #cfd9ea;border-radius:15px;font-size:17px;font-weight:700;outline:none}.word-game-controls input:focus{border-color:var(--blue);box-shadow:0 0 0 4px rgba(40,100,255,.1)}
.game-finish{width:100%;margin-top:10px}
.profile-media-preview{display:grid;grid-template-columns:130px 1fr;gap:15px}.profile-media-preview>div{display:grid;gap:7px}.profile-media-preview small{color:var(--muted);font-size:9px}.profile-preview-avatar{width:110px;height:110px;overflow:hidden;display:grid;place-items:center;border-radius:50%;color:#fff;background:linear-gradient(145deg,var(--blue),var(--cyan));font:800 32px Manrope}.profile-preview-avatar img{width:100%;height:100%;object-fit:cover}.profile-preview-cover{min-height:110px;padding:10px;border-radius:15px;background:linear-gradient(135deg,var(--blue),var(--cyan)) center/cover}
@media(max-width:800px){.word-rain-stage{height:350px}.falling-word{animation-duration:6.4s}@keyframes wordFall{to{transform:translateY(405px)}}.word-game-controls{grid-template-columns:1fr}.word-game-controls .button{width:100%}}
@media(max-width:480px){.profile-media-preview{grid-template-columns:1fr}.profile-preview-cover{min-height:150px}}

/* News, internal account and live presence */
.timeline-news{display:grid;gap:12px}.timeline-news .section-title-row h2{margin:4px 0 0}.timeline-news .section-title-row>a{color:var(--blue);font-size:11px;font-weight:800}
.news-strip{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(280px,44%);gap:14px;overflow-x:auto;padding:2px 2px 12px;scroll-snap-type:x proximity;scrollbar-width:none}.news-strip::-webkit-scrollbar{display:none}.news-card{overflow:hidden;scroll-snap-align:start}.news-card>a>img,.news-card>img{width:100%;height:160px;object-fit:cover}.news-card>div{padding:17px}.news-card small{color:var(--muted);font-size:9px}.news-card h3{margin:7px 0;font:800 18px/1.3 Manrope}.news-card p{height:50px;overflow:hidden;color:var(--muted);font-size:11px;line-height:1.5}
.news-editor{max-width:none}.news-editor textarea[name=content]{min-height:260px}.news-dashboard{padding:22px}.news-edit summary{cursor:pointer;color:var(--blue);font-weight:800}.news-edit form{width:min(440px,75vw);padding:12px;display:grid;gap:8px}.news-edit input,.news-edit textarea{padding:9px;border:1px solid var(--line);border-radius:8px}.news-edit textarea{min-height:80px}
.news-detail{overflow:hidden}.news-hero{display:block;width:100%;max-height:520px;object-fit:cover}.news-detail-body{padding:clamp(22px,5vw,52px)}.news-detail-body h1{margin:10px 0 22px;font:800 clamp(32px,5vw,58px)/1.08 Manrope}.news-byline{margin-bottom:28px;display:flex;align-items:center;gap:12px}.news-byline p{margin:0}.news-byline strong,.news-byline small{display:block}.news-byline small{margin-top:4px;color:var(--muted);font-size:10px}.news-detail .rich-content{font-size:16px;line-height:1.9}
.bank-account-card{position:relative;overflow:hidden;padding:28px 32px;display:flex;align-items:center;justify-content:space-between;border-radius:23px;color:#fff;background:linear-gradient(125deg,#151c3d,#5d36d8);box-shadow:0 20px 45px rgba(39,31,105,.25)}.bank-account-card:after{content:"";position:absolute;width:220px;height:220px;right:-70px;top:-110px;border:1px solid rgba(255,255,255,.15);border-radius:50%}.bank-account-card span,.bank-account-card strong,.bank-account-card small{display:block}.bank-account-card span{color:#c9c9ef;font-size:11px;text-transform:uppercase;letter-spacing:.08em}.bank-account-card strong{margin:9px 0;font:800 clamp(25px,5vw,38px) Manrope;letter-spacing:.12em}.bank-account-card small{color:#dddafa}.bank-account-card>i{font-size:55px;opacity:.2}
.presence-avatar{position:relative}.presence-dot{position:absolute;right:-1px;bottom:1px;width:11px;height:11px;border:2px solid #fff;border-radius:50%}.presence-dot.online,.presence-label.online i{background:#18b86b}.presence-dot.offline,.presence-label.offline i{background:#9ba6b8}.presence-label{display:inline-flex;align-items:center;gap:7px;font-weight:700}.presence-label i{width:9px;height:9px;border-radius:50%}
.presence-wrap{position:relative;display:inline-flex;flex:0 0 auto}
.online-panel{display:grid;gap:9px}.online-panel .section-title-row span{padding:4px 8px;border-radius:12px;color:#08774a;background:#e3f7ed;font-size:10px;font-weight:800}.online-panel>a{display:flex;align-items:center;gap:9px;padding:6px;border-radius:10px}.online-panel>a:hover{background:#f2f5fa}.online-panel p{margin:0}.online-panel strong,.online-panel small{display:block}.online-panel small,.online-panel .muted{color:var(--muted);font-size:9px}
.reading-reward{margin:0 0 28px;padding:15px 17px;display:flex;align-items:center;gap:12px;border:1px solid #f5d986;border-radius:15px;background:linear-gradient(120deg,#fff9df,#fff);color:#725000}.reading-reward>i{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#ffefb7;font-size:20px}.reading-reward>div{flex:1}.reading-reward strong,.reading-reward span{display:block}.reading-reward span{margin-top:4px;font-size:10px}.reading-reward>b{white-space:nowrap}
.points-wallet{padding:23px;display:grid;grid-template-columns:1fr 1fr;align-items:end;gap:22px;border-color:#f0d783;background:linear-gradient(120deg,#fffdf3,#fff)}.points-summary span,.points-summary strong,.points-summary small{display:block}.points-summary span{color:#8a6a08;font-size:11px;font-weight:800;text-transform:uppercase}.points-summary strong{margin:7px 0;color:#6c4c00;font:800 31px Manrope}.points-summary small{color:var(--muted);font-size:10px}.points-wallet form{display:flex;align-items:end;gap:10px}.points-wallet label{flex:1;display:grid;gap:6px;color:var(--muted);font-size:10px;font-weight:700}.points-wallet input{height:48px;padding:0 12px;border:1px solid var(--line);border-radius:11px}.points-history{padding:22px}.points-history .muted{color:var(--muted);font-size:11px}.reward-flash{top:140px;background:linear-gradient(120deg,#c78b00,#f0b51c)!important}
.cache-control-panel{grid-column:1/-1;margin-top:22px;padding:20px;display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid #bad0ff;border-radius:16px;background:#eef4ff}.cache-control-panel h3{margin:0 0 6px}.cache-control-panel p{max-width:650px;margin:0 0 7px;color:var(--muted);font-size:11px;line-height:1.6}.cache-control-panel small{color:var(--blue);font-weight:700}.cache-control-panel form{display:block}.cache-control-panel button{white-space:nowrap}
.avatar.has-image,.mini-avatar.has-image{overflow:hidden;padding:0}.avatar img,.mini-avatar img{width:100%;height:100%;object-fit:cover}.story-ring{overflow:hidden}.story-ring img{min-width:100%;min-height:100%;aspect-ratio:1;object-fit:cover}
.product-edit-modal{width:min(620px,calc(100% - 24px));max-height:90vh;padding:0;border:0;border-radius:22px;box-shadow:0 30px 90px rgba(7,21,47,.35)}.product-edit-modal::backdrop{background:rgba(7,21,47,.7);backdrop-filter:blur(5px)}.product-edit-modal form{position:relative;padding:25px;display:grid;gap:13px}.product-edit-modal label{display:grid;gap:6px;color:var(--muted);font-size:11px;font-weight:700}.product-edit-modal input,.product-edit-modal select,.product-edit-modal textarea{width:100%;padding:11px;border:1px solid var(--line);border-radius:10px}.product-edit-modal textarea{min-height:100px}.modal-close{position:absolute;z-index:2;right:14px;top:14px;width:38px;height:38px;border:0;border-radius:50%;background:#fff;font-size:24px}.modal-product-image{width:100%;height:240px;border-radius:15px;object-fit:cover}.modal-actions{display:flex;gap:10px}.my-products-panel{padding:22px}.my-product-grid{margin-top:16px;display:grid;gap:10px}.my-product-grid>article{padding:10px;display:grid;grid-template-columns:65px 1fr auto;align-items:center;gap:12px;border:1px solid var(--line);border-radius:13px}.my-product-grid>article>img{width:65px;height:65px;border-radius:11px;object-fit:cover}.my-product-grid strong,.my-product-grid small{display:block}.my-product-grid small{margin:4px 0;color:var(--muted)}.seller-center{display:none}
.order-list{display:grid;gap:12px}.order-list>article{padding:17px;display:grid;grid-template-columns:1.1fr 2fr auto auto;align-items:center;gap:15px}.order-buyer{display:flex;align-items:center;gap:9px}.order-buyer p{margin:0}.order-buyer strong,.order-buyer small{display:block}.order-buyer small,.order-list small{color:var(--muted);font-size:9px}.order-list p{margin:5px 0;color:var(--muted);font-size:11px}.order-detail{padding:25px}.order-detail form{display:flex;align-items:end;gap:12px}.order-detail label{display:grid;gap:6px}.order-detail select{padding:12px;border:1px solid var(--line);border-radius:10px}
.wallet-actions-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.wallet-actions-grid>a{padding:22px;display:flex;align-items:center;gap:15px}.wallet-actions-grid>a>i:first-child{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;color:#fff;background:var(--blue)}.wallet-actions-grid>a>div{flex:1}.wallet-actions-grid strong,.wallet-actions-grid span{display:block}.wallet-actions-grid span{margin-top:5px;color:var(--muted);font-size:10px}.transaction-page{padding:22px}.transaction-page article{padding:14px 0;display:flex;align-items:center;gap:13px;border-bottom:1px solid var(--line)}.transaction-page article>div{flex:1}.transaction-page p{margin:4px 0;color:var(--muted);font-size:11px}.transaction-page small{color:var(--muted);font-size:9px}
.typing-game{padding:28px}.typing-stats{display:flex;gap:10px;flex-wrap:wrap}.typing-stats span{padding:8px 12px;border-radius:10px;background:#eef3ff;color:var(--blue);font-size:11px}.typing-phrase{padding:22px;border-radius:15px;background:#07152f;color:#fff;font:700 20px/1.8 Manrope}.typing-game form{display:grid;gap:12px}.typing-game textarea{min-height:150px;padding:16px;border:2px solid var(--line);border-radius:14px;font-size:16px;line-height:1.7}.search-user-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.search-user-grid>article{padding:18px;display:grid;grid-template-columns:auto 1fr;gap:10px}.search-user-grid>article>div{grid-column:2}.search-avatar{width:60px;height:60px}.ghost-dark{color:var(--blue);background:#eaf0ff;box-shadow:none}
.search-results{position:absolute;z-index:300;left:0;right:0;top:50px;max-height:410px;padding:8px;overflow-y:auto;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 20px 55px rgba(7,21,47,.2)}.search-results>a{padding:9px;display:flex;align-items:center;gap:9px;border-radius:10px}.search-results>a:hover{background:#f2f5fa}.search-results p{margin:0}.search-results strong,.search-results small{display:block}.search-results small{color:var(--muted);font-size:9px}.search-empty{padding:16px;color:var(--muted);text-align:center}.feed-loader{padding:22px;color:var(--muted);text-align:center}
@media(min-width:801px){.app-layout{height:calc(100vh - 94px);margin-bottom:22px}.left-sidebar,.right-sidebar{position:static;max-height:100%;overflow-y:auto}.content{max-height:100%;padding-right:5px;overflow-y:auto;scrollbar-width:thin;overscroll-behavior:contain}}

@media(max-width:800px){
  .news-strip{grid-auto-columns:82%}.news-detail-body{padding:22px}.news-detail-body h1{font-size:34px}.news-detail .rich-content{font-size:14px}
  .bank-account-card{padding:23px 19px}.bank-account-card strong{font-size:25px}.bank-account-card>i{font-size:40px}
  .points-wallet{grid-template-columns:1fr}.points-wallet form{align-items:stretch;flex-direction:column}.points-wallet form button{width:100%}
  .cache-control-panel{align-items:stretch;flex-direction:column}.cache-control-panel button{width:100%}
  .order-list>article{grid-template-columns:1fr}.wallet-actions-grid,.search-user-grid{grid-template-columns:1fr}.modal-actions,.order-detail form{align-items:stretch;flex-direction:column}.global-search{display:block!important;max-width:none}.topbar .brand>span:last-child{display:none}.top-actions{max-width:35vw}
}
@media(max-width:480px){
  .product-grid{grid-template-columns:1fr}
  .product-buy-bar{align-items:stretch;flex-direction:column}.product-buy-bar form,.product-buy-bar button{width:100%}
  .detail-buy-form{align-items:stretch;flex-direction:column}.detail-buy-form label,.detail-buy-form input,.detail-buy-form button{width:100%}
}
.blog-card>a>img{display:block;width:100%;height:210px;object-fit:cover}

/* User panel refresh: multilingual, touch-friendly and mobile-first */
.language-switcher select{height:40px;max-width:125px;padding:0 28px 0 11px;border:1px solid var(--line);border-radius:12px;background:#f2f5fa;color:var(--ink);font-size:11px;font-weight:700}
.emoji-bar{margin:8px 0;display:flex;gap:6px;flex-wrap:wrap}.emoji-bar button{width:35px;height:35px;padding:0;border:1px solid #e5eaf2;border-radius:10px;background:#f7f9fd;font-size:18px;transition:.18s}.emoji-bar button:hover{transform:translateY(-2px);background:#eaf0ff}
.profile-stories{padding:20px}.profile-stories .stories{padding:10px 0;border:0;box-shadow:none}.section-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.section-title-row h2{margin:0;font:800 20px Manrope}.own-story .story-ring{border-color:var(--gold)}
.app-icon-preview{display:flex;align-items:center;gap:12px}.app-icon-preview img{width:72px;height:72px;padding:5px;border:1px solid var(--line);border-radius:18px;object-fit:contain}.app-icon-preview span{color:var(--muted);font-size:11px}
body[data-page]{background:linear-gradient(180deg,#edf3ff 0,#f7f9fc 310px)}
.app-layout{grid-template-columns:245px minmax(0,740px) 285px;gap:24px}
.left-sidebar{padding:14px;border:1px solid rgba(220,228,241,.9);border-radius:22px;background:rgba(255,255,255,.78);box-shadow:0 18px 50px rgba(25,50,96,.08);backdrop-filter:blur(18px)}
.left-sidebar nav a{min-height:47px}.left-sidebar nav a.active{color:#fff;background:linear-gradient(120deg,var(--blue),#6649e8);box-shadow:0 10px 24px rgba(40,100,255,.24)}
.create-button{background:linear-gradient(120deg,#2864ff,#7257ed)}
.content>.card,.feed>.card{border-color:rgba(220,228,241,.85);box-shadow:0 14px 42px rgba(25,50,96,.075)}
.stories{scrollbar-width:none}.stories::-webkit-scrollbar{display:none}
.post{overflow:hidden}.post-actions button{border-radius:10px}.post-actions button:hover{background:#f0f4fb}.post-actions .liked{background:#eaf0ff}
[dir=rtl] .left-sidebar nav a,[dir=rtl] .logout-link{flex-direction:row-reverse}[dir=rtl] .global-search i{left:auto;right:16px}[dir=rtl] .global-search input{padding:0 44px 0 16px}

@media(max-width:800px){
  body[data-page]{background:#f3f6fb}
  .topbar{background:rgba(255,255,255,.96);box-shadow:0 5px 20px rgba(25,50,96,.06)}
  .language-switcher select{width:48px;max-width:48px;padding:0 5px;font-size:0}.language-switcher select option{font-size:12px}
  .content{padding:0 9px}.stories.card{margin-left:-9px;margin-right:-9px;width:calc(100% + 18px);padding-left:13px;border-left:0;border-right:0;border-radius:0}
  .composer,.post,.profile-header,.profile-stories{border-radius:18px}
  .post-media{max-height:75vh}
  .profile-stories{padding:15px}
}

/* v11 final scrolling and fullscreen overrides */
@media(min-width:801px){
  html,body{height:auto;overflow-y:auto}
  .app-layout{height:auto;min-height:calc(100vh - 116px);margin-bottom:70px;align-items:start}
  .content{max-height:none!important;overflow:visible!important;padding-right:0!important}
  .left-sidebar,.right-sidebar{position:sticky!important;top:94px!important;max-height:calc(100vh - 112px)!important;overflow-y:auto!important;scrollbar-width:none}
  .left-sidebar::-webkit-scrollbar,.right-sidebar::-webkit-scrollbar{display:none;width:0}
}
.game-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}
.word-rain-game:fullscreen{width:100vw;height:100vh;padding:24px;border:0;border-radius:0;background:#07152f;color:#fff}
.word-rain-game:fullscreen .game-toolbar{position:relative;z-index:5}
.word-rain-game:fullscreen .typing-stats span{color:#fff;background:rgba(255,255,255,.13)}
.word-rain-game:fullscreen .word-rain-stage{height:calc(100vh - 190px);margin:12px 0}
.word-rain-game:fullscreen .word-game-controls{max-width:850px;margin:auto}
@media(max-width:800px){.game-toolbar{align-items:stretch;flex-direction:column}.game-toolbar>[data-game-fullscreen]{width:100%}.word-rain-game:fullscreen{padding:12px}.word-rain-game:fullscreen .word-rain-stage{height:calc(100vh - 235px)}}

/* Social, stories, notifications and chat update */
.notification-link{position:relative}.notification-link>b,.bottom-nav>a>b{position:absolute;right:1px;top:-4px;min-width:17px;height:17px;padding:0 4px;display:grid;place-items:center;border-radius:10px;color:#fff;background:var(--red);font-size:8px}
.post header{position:relative}.post-menu{position:relative}.post-menu summary{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;list-style:none;cursor:pointer}.post-menu summary::-webkit-details-marker{display:none}.post-menu[open] summary{background:#f0f2f5}.post-menu>div{position:absolute;z-index:30;right:0;top:38px;width:180px;padding:7px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 15px 40px rgba(7,21,47,.18)}.post-menu a,.post-menu button{width:100%;min-height:38px;padding:8px 10px;display:flex;align-items:center;gap:9px;border:0;border-radius:8px;color:var(--ink);background:none;font-size:12px;text-align:left}.post-menu a:hover,.post-menu button:hover{background:#f1f4f8}.post-menu form{margin:0}.post-action-link{flex:1;padding:7px;display:flex;align-items:center;justify-content:center;gap:7px;border-radius:10px;color:var(--muted);font-weight:700}.full-comments{padding-top:8px}.full-comments>div{align-items:flex-start}.full-comments>div>p{flex:1}.full-comments form button{width:30px;height:30px;border:0;border-radius:50%;color:var(--red);background:#fdecef}.post-detail{min-height:300px}
.notification-list{overflow:hidden}.notification-list>a{padding:15px 18px;display:flex;gap:13px;border-bottom:1px solid var(--line)}.notification-list>a>i{width:40px;height:40px;display:grid;place-items:center;border-radius:50%;color:var(--blue);background:#eaf0ff}.notification-list>a>div{flex:1}.notification-list strong,.notification-list small{display:block}.notification-list p{margin:5px 0;color:var(--muted);font-size:12px}.notification-list small{color:var(--muted);font-size:9px}.notification-list .unread{background:#f0f5ff}.notification-list .unread strong{color:var(--blue)}
.story{position:relative}.story>b{position:absolute;right:2px;top:42px;min-width:18px;height:18px;display:grid;place-items:center;border:2px solid #fff;border-radius:10px;color:#fff;background:var(--blue);font-size:8px}.story-viewer{display:flex;align-items:center;justify-content:center;padding:35px 60px}.story-viewer>img{width:min(92vw,520px);height:min(82vh,850px);object-fit:contain;border-radius:18px;background:#090909}.story-close{z-index:4}.story-prev,.story-next{position:absolute;z-index:3;top:50%;width:44px;height:44px;border:0;border-radius:50%;color:#fff;background:rgba(255,255,255,.16)}.story-prev{left:18px}.story-next{right:18px}.story-progress{position:absolute;z-index:3;left:50%;top:16px;width:min(500px,75vw);display:flex;gap:5px;transform:translateX(-50%)}.story-progress i{height:3px;flex:1;border-radius:3px;background:rgba(255,255,255,.3)}.story-progress i.active{background:#fff}.story-meta{position:absolute;z-index:3;left:50%;bottom:18px;width:min(500px,80vw);padding:14px;display:flex;align-items:center;gap:10px;border-radius:14px;color:#fff;background:rgba(0,0,0,.55);transform:translateX(-50%);backdrop-filter:blur(10px)}.story-meta strong{white-space:nowrap}.story-meta p{position:static;flex:1;margin:0}.story-meta form{margin:0}.story-meta button{position:static;display:flex;align-items:center;gap:5px;color:#fff;font-size:13px}.story-meta .liked{color:#ff5770}
.profile-cover-button{width:100%;border:0;cursor:pointer}.profile-avatar{padding:0;overflow:hidden;cursor:pointer}.kyc-verified-label{display:inline-flex;align-items:center;gap:5px;color:var(--green);font-size:10px;font-weight:800}
.conversation-header{padding:10px 14px;display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--line);background:#fff}.conversation-header p{margin:0}.conversation-header strong,.conversation-header small{display:block}.conversation-header small{margin-top:3px;color:var(--muted);font-size:9px}.message-image{display:block;max-width:min(320px,72vw);max-height:350px;margin-bottom:4px;border-radius:14px;object-fit:cover}.message.mine .message-image{margin-left:auto}.message-image-button{width:40px;height:40px;display:grid;place-items:center;border-radius:50%;color:var(--blue);background:#eef3ff}.message-image-button input{display:none}.chat-emoji-bar{padding:5px 12px;border-top:1px solid var(--line)}.chat-emoji-bar button{min-width:31px;height:31px;font-size:15px}
.bottom-nav button{position:relative;min-height:43px;display:grid;place-items:center;gap:2px;border:0;color:#8390a6;background:none;font-size:9px;font-weight:700}.bottom-nav button i{font-size:18px}.mobile-menu-sheet{position:fixed;z-index:1000;inset:0;display:flex;align-items:flex-end;background:rgba(7,21,47,.55)}.mobile-menu-sheet[hidden]{display:none}.mobile-menu-sheet>div{width:100%;max-height:82vh;padding:18px 16px calc(25px + env(safe-area-inset-bottom));overflow:auto;border-radius:24px 24px 0 0;background:#fff}.mobile-menu-sheet>div>button{float:right;width:38px;height:38px;border:0;border-radius:50%;background:#f0f2f5}.mobile-menu-sheet nav{display:grid;grid-template-columns:1fr 1fr;gap:10px}.mobile-menu-sheet nav a{padding:14px;display:flex;align-items:center;gap:10px;border-radius:12px;background:#f5f7fb;font-size:12px;font-weight:700}.mobile-menu-sheet nav i{width:20px;color:var(--blue)}
.image-editor{width:min(94vw,620px);padding:20px;border:0;border-radius:20px}.image-editor::backdrop{background:rgba(7,21,47,.75)}.image-editor form{display:grid;gap:14px}.image-editor canvas{width:100%;max-height:60vh;border-radius:14px;background:#111;object-fit:contain}.image-editor label{display:grid;gap:6px;font-size:11px;font-weight:700}.image-editor form>div{display:flex;justify-content:flex-end;gap:10px}.ghost-dark{color:var(--ink);background:#eef1f5;box-shadow:none}
@media(max-width:800px){body{font-size:13px}.profile-main h1{font-size:21px}.profile-main p{font-size:10px}.profile-main small{font-size:9px}.profile-avatar{width:82px;height:82px;margin-top:-42px;font-size:28px}.profile-main{padding:0 14px 16px;gap:11px}.profile-cover-button{height:140px}.profile-form{padding:16px}.profile-form h2,.profile-posts h2{font-size:17px}.bottom-nav{grid-template-columns:repeat(5,1fr)}.story-viewer{padding:30px 8px}.story-prev,.story-next{top:auto;bottom:95px;width:38px;height:38px}.chat-shell{grid-template-columns:72px 1fr}.chat-list>a{padding:7px}.conversation-header{padding:8px 10px}.conversation-header .avatar{width:36px;height:36px}.message-stream{padding:12px}.message p{font-size:12px}.message-form{padding:8px}.chat-emoji-bar{overflow-x:auto}.notification-list>a{padding:12px}.post-menu>div{position:fixed;left:14px;right:14px;top:auto;bottom:82px;width:auto}.post>p{font-size:13px}}

.conversation{min-height:0;overflow:hidden}.message-stream{min-height:0;overscroll-behavior:contain;scrollbar-gutter:stable}.conversation-header{flex:0 0 auto;justify-content:space-between}.conversation-header>a{min-width:0;display:flex;align-items:center;gap:10px}.call-buttons{display:flex;gap:6px}.call-buttons button{width:38px;height:38px;border:0;border-radius:50%;color:var(--blue);background:#eaf0ff}.chat-compose{flex:0 0 auto;background:#fff}.profile-follow-counts{margin-top:8px;display:flex;gap:16px;font-size:11px}.profile-follow-counts strong{color:var(--ink)}.profile-public-details{padding:20px}.profile-public-details>div{display:grid;grid-template-columns:1fr 1fr;gap:10px}.profile-public-details p{margin:0;padding:11px;display:flex;align-items:flex-start;gap:10px;border-radius:11px;background:#f7f9fc;font-size:12px}.profile-public-details i{width:18px;color:var(--blue)}.profile-visibility{padding:14px;border:1px solid var(--line);border-radius:13px;display:flex;flex-wrap:wrap;gap:12px}.profile-visibility legend{padding:0 6px;font-size:11px;font-weight:800}.profile-visibility label{display:flex;align-items:center;gap:6px}.profile-visibility input{width:auto;min-height:0}.translation-toolbar{padding:10px 14px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--line);background:#f6f9ff;color:var(--blue);font-size:11px;font-weight:700}
.call-overlay{position:fixed;z-index:2000;inset:0;display:grid;place-items:center;padding:15px;background:rgba(3,8,23,.92)}.call-overlay[hidden]{display:none}.call-panel{width:min(94vw,760px);padding:24px;border-radius:24px;color:#fff;background:#101a2d;box-shadow:0 30px 90px rgba(0,0,0,.45)}.call-person{text-align:center}.call-person .avatar{margin:auto}.call-person h2{margin:10px 0 4px}.call-person p{margin:0;color:#aebbd0}.call-videos{position:relative;min-height:220px;margin:18px 0;border-radius:18px;overflow:hidden;background:#050914}.call-videos [data-remote-video]{width:100%;height:min(55vh,480px);display:block;object-fit:cover}.call-videos [data-local-video]{position:absolute;right:12px;bottom:12px;width:145px;height:190px;border:2px solid #fff;border-radius:14px;object-fit:cover;background:#111}.incoming-call-actions,.active-call-actions{display:flex;justify-content:center;gap:14px}.incoming-call-actions button,.active-call-actions button{min-width:54px;height:54px;padding:0 16px;border:0;border-radius:28px;color:#fff;background:#34415a}.call-accept{background:var(--green)!important}.call-reject,.call-end{background:var(--red)!important}.active-call-actions .off{background:#7b2634}
.incoming-call-actions[hidden],.active-call-actions[hidden]{display:none!important}
.finance-action-page{padding:26px;display:grid;grid-template-columns:minmax(220px,.7fr) minmax(0,1.3fr);gap:28px}.finance-balance{padding:25px;border-radius:18px;color:#fff;background:linear-gradient(135deg,var(--navy),var(--blue))}.finance-balance span,.finance-balance strong,.finance-balance small{display:block}.finance-balance strong{margin:8px 0;font:800 34px Manrope}.finance-form{display:grid;gap:15px}.finance-form label{display:grid;gap:7px;color:var(--muted);font-size:11px;font-weight:800}.finance-form input,.finance-form textarea{width:100%;padding:13px;border:1px solid var(--line);border-radius:12px;background:#fafbfd}.security-note{margin:0;color:var(--muted);font-size:10px}.verified-recipient{padding:13px;display:flex;align-items:center;gap:11px;border:1px solid #b9ebd5;border-radius:13px;color:#08774a;background:#edfbf5}.verified-recipient.invalid{border-color:#f4bdc5;color:var(--red);background:#fff2f4}.verified-recipient strong,.verified-recipient small{display:block}.verified-recipient small{margin-top:3px;font-size:9px}.wallet-actions-grid{grid-template-columns:repeat(3,1fr)}
.reels-heading>div:last-child{display:flex;gap:8px}.reel-creator{display:flex;align-items:center;gap:10px}.reel-creator .avatar{width:42px;height:42px;border:2px solid #fff}.reel-creator strong,.reel-creator small{display:block}.reel-creator small{margin-top:2px;color:#ddd}.reel-creator i{color:#55a7ff}.reel-analytics-list{display:grid;gap:14px}.reel-analytics-list article{padding:14px;display:grid;grid-template-columns:120px 1fr;gap:18px}.reel-analytics-list video{width:120px;height:170px;border-radius:12px;object-fit:cover;background:#000}.reel-metrics{margin-top:15px;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.reel-metrics span{padding:10px;border-radius:10px;background:#f4f6fa;color:var(--muted);font-size:9px}.reel-metrics b{display:block;color:var(--ink);font-size:15px}
.level-banner{padding:24px;display:flex;align-items:center;justify-content:space-between;color:#fff;background:linear-gradient(120deg,#6b3ee8,#2864ff)}.level-banner span,.level-banner strong,.level-banner small{display:block}.level-banner strong{margin:6px 0;font:800 25px Manrope}.level-banner i{font-size:48px;opacity:.35}.level-roadmap{margin-top:55px;display:grid;grid-template-columns:repeat(5,1fr);gap:9px}.level-roadmap span{padding:10px 6px;border-radius:11px;color:var(--muted);background:#f2f4f8;text-align:center;font-size:9px}.level-roadmap b{display:block;margin:auto auto 5px;width:25px;height:25px;line-height:25px;border-radius:50%;background:#d8deea}.level-roadmap .reached{color:#fff;background:var(--blue)}.level-roadmap .reached b{background:rgba(255,255,255,.22)}
.connection-tabs{padding:7px;display:grid;grid-template-columns:1fr 1fr}.connection-tabs a{padding:12px;text-align:center;border-radius:11px;font-weight:800}.connection-tabs a.active{color:#fff;background:var(--blue)}.connection-list,.task-grid{display:grid;gap:12px}.connection-list>a{padding:14px;display:flex;align-items:center;gap:12px}.connection-list>a span{flex:1}.connection-list strong,.connection-list small{display:block}.connection-list small{margin-top:4px;color:var(--muted)}.task-card{padding:20px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:16px}.task-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:15px;color:#fff;background:var(--blue)}.task-card h2{margin:4px 0;font-size:18px}.task-card p,.task-card small{color:var(--muted);font-size:10px}.task-progress{height:7px;margin:10px 0 5px;overflow:hidden;border-radius:8px;background:#e6eaf1}.task-progress i{display:block;height:100%;background:linear-gradient(90deg,var(--blue),var(--cyan))}.standalone-form{width:min(100%,650px);margin:auto}.profile-follow-counts span{font-size:11px}.call-history{padding:8px 15px;border-bottom:1px solid var(--line);background:#fbfcff}.call-history summary{cursor:pointer;color:var(--blue);font-size:11px;font-weight:800}.call-history>div{padding:8px 0;display:flex;align-items:center;gap:10px}.call-history>div span{flex:1}.call-history strong,.call-history small{display:block}.call-history small{color:var(--muted);font-size:8px}
@media(max-width:800px){body[data-page="chat"]{overflow:hidden}body[data-page="chat"] .app-layout{margin:0}body[data-page="chat"] .content{padding:0}body[data-page="chat"] .bottom-nav,body[data-page="chat"] .site-footer{display:none}.chat-shell{position:fixed;z-index:120;inset:62px 0 0;height:auto;border:0;border-radius:0;grid-template-columns:64px minmax(0,1fr)}.chat-list{padding:7px 5px}.chat-list .avatar{width:42px;height:42px}.message-stream{overflow-y:auto;-webkit-overflow-scrolling:touch}.chat-emoji-bar{margin:0;flex-wrap:nowrap}.message-form input{min-width:0}.profile-public-details>div{grid-template-columns:1fr}.call-overlay{padding:0}.call-panel{width:100%;height:100dvh;padding:18px;border-radius:0;display:flex;flex-direction:column}.call-videos{flex:1}.call-videos [data-remote-video]{height:100%}.call-videos [data-local-video]{width:105px;height:140px}}
@media(max-width:800px){body[data-page="reels"]{overflow:hidden;background:#000}body[data-page="reels"] .topbar,body[data-page="reels"] .left-sidebar,body[data-page="reels"] .right-sidebar,body[data-page="reels"] .site-footer{display:none}body[data-page="reels"] .app-layout{width:100%;margin:0}body[data-page="reels"] .content{padding:0}.reels-heading{position:absolute;z-index:6;top:8px;left:12px;right:12px;color:#fff}.reels-heading .eyebrow,.reels-heading p{display:none}.reels-heading h1{font-size:20px}.reels-heading .button{min-height:34px;padding:0 10px;background:rgba(0,0,0,.35);box-shadow:none}.reels-feed{height:100dvh;gap:0;background:#000}.reels-feed .reel-card{width:100%;height:100dvh;min-height:100dvh;border-radius:0}.reel-info{bottom:68px;padding-left:15px}.reel-actions{right:10px;bottom:112px}.reel-comment-form{bottom:70px}.reel-comments{bottom:115px}.bottom-nav{background:rgba(10,10,10,.88);border-color:rgba(255,255,255,.12)}.bottom-nav a,.bottom-nav button{color:#ddd}.finance-action-page{grid-template-columns:1fr;padding:16px}.wallet-actions-grid{grid-template-columns:1fr}.reel-analytics-list article{grid-template-columns:90px 1fr}.reel-analytics-list video{width:90px;height:140px}.reel-metrics{grid-template-columns:repeat(2,1fr)}.level-roadmap{grid-template-columns:repeat(2,1fr);margin-top:35px}.task-card{grid-template-columns:auto 1fr}.task-card>form,.task-card>.status{grid-column:1/-1}.profile-main h1{font-size:20px}.profile-main p,.profile-follow-counts{font-size:10px}}
.profile-dropdown{position:relative}.profile-dropdown summary{list-style:none;cursor:pointer}.profile-dropdown summary::-webkit-details-marker{display:none}.profile-dropdown>div{position:absolute;z-index:300;right:0;top:52px;width:240px;padding:10px;display:grid;gap:6px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 18px 50px rgba(7,21,47,.18)}.profile-dropdown a,.profile-dropdown label{padding:10px;display:flex;align-items:center;gap:9px;border-radius:10px;color:var(--ink);font-size:12px;font-weight:700}.profile-dropdown label{display:grid;gap:5px}.profile-dropdown select{height:36px;border:1px solid var(--line);border-radius:9px}.dropdown-logout{color:var(--red)!important}.advanced-post-options{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0}.advanced-post-options input,.advanced-post-options select,.poll-builder input{min-height:40px;padding:9px;border:1px solid var(--line);border-radius:10px}.poll-builder{display:grid;gap:8px;margin:10px 0;padding:12px;border-radius:13px;background:#f5f7fb}body[data-page="profile"] .profile-header+.profile-public-details+*+form.profile-form,body[data-page="profile"] .profile-tools form:first-child{display:none!important}.earning-hero{padding:26px;display:flex;align-items:center;justify-content:space-between;color:#fff;background:linear-gradient(125deg,#101a2d,#2864ff)}.earning-hero span,.earning-hero strong,.earning-hero small{display:block}.earning-hero strong{font:800 34px Manrope}.earning-hero i{font-size:58px;opacity:.3}.earning-grid,.community-card-grid,.group-strip,.jobs-list{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.earning-grid article,.community-card,.group-strip article,.jobs-list article{padding:20px}.earning-grid i{font-size:24px;color:var(--blue)}.reward-actions{display:grid;grid-template-columns:1fr 1fr;gap:15px}.reward-actions .card{padding:22px}.spin-card{text-align:center}.spin-card>i{font-size:46px;color:var(--gold)}.leaderboard{padding:10px}.leaderboard a{padding:12px;display:grid;grid-template-columns:42px auto 1fr auto;align-items:center;gap:12px;border-bottom:1px solid var(--line)}.leaderboard em{font-style:normal;font-weight:800;color:var(--blue)}.community-cover{height:90px;margin:-20px -20px 0;border-radius:20px 20px 0 0;background:linear-gradient(135deg,var(--blue),var(--cyan))}.community-card .avatar{margin-top:-22px;border:3px solid #fff}.qa-form,.qa-list .card,.help-center{padding:22px}.qa-form{display:grid;gap:10px}.qa-form input,.qa-form textarea,.qa-list input,.help-center input{min-height:44px;padding:10px;border:1px solid var(--line);border-radius:11px}.help-chat{min-height:220px;max-height:360px;margin:18px 0;padding:14px;overflow:auto;border-radius:15px;background:#f5f7fb}.assistant-message,.user-message{max-width:85%;margin:8px 0;padding:10px 12px;border-radius:14px;background:#fff;font-size:12px}.user-message{margin-left:auto;color:#fff;background:var(--blue)}.help-center form{display:flex;gap:10px}.help-center input{flex:1}.location-consent{width:100%;padding:16px;display:flex;align-items:center;gap:12px;border:0;text-align:left}.jobs-list article{display:grid;gap:8px}.job-type{width:max-content;padding:5px 8px;border-radius:20px;color:var(--blue);background:#eaf0ff;font-size:9px;font-weight:800;text-transform:uppercase}.reel-follow{margin:8px 0}.reel-follow button{padding:6px 13px;border:1px solid rgba(255,255,255,.7);border-radius:20px;color:#fff;background:rgba(255,255,255,.14);font-weight:800}.page-loader{position:fixed;z-index:3000;inset:0;display:grid;place-items:center;background:#fff}.page-loader:after{content:"";width:44px;height:44px;border:4px solid #dce4f2;border-top-color:var(--blue);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}body.loaded .page-loader{display:none}
@media(max-width:800px){.profile-dropdown>div{right:-5px;top:45px}.advanced-post-options,.earning-grid,.community-card-grid,.group-strip,.jobs-list,.reward-actions{grid-template-columns:1fr}.help-center form{flex-direction:column}body[data-page="profile"] .profile-main{display:grid;grid-template-columns:82px 1fr;align-items:start}.profile-edit-button{grid-column:1/-1;width:100%;margin-top:8px}.profile-follow-counts{display:flex;flex-wrap:wrap;gap:8px}.reel-info{bottom:108px}.reel-actions{bottom:150px}.reel-comment-form{bottom:86px}.reel-comments{bottom:132px}}
.admin-command-bar{margin-bottom:18px;padding:16px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.admin-command-bar form{margin:0}.admin-command-bar .danger-button{min-height:48px}.dashboard-activity{margin-top:18px}.dashboard-activity .table-head a{color:var(--blue);font-size:11px;font-weight:800}

/* v20 professional app polish */
html,body{max-width:100%;overflow-x:hidden}
img,video{max-width:100%}
.app-layout{align-items:start}
.content>.card,.content>section,.content>form{scroll-margin-top:88px}
.smart-sidebar-nav,.admin-smart-nav{display:grid;gap:9px}
.sidebar-group,.admin-nav-group{border:1px solid rgba(220,228,241,.75);border-radius:16px;background:rgba(255,255,255,.64);overflow:hidden}
.sidebar-group summary,.admin-nav-group summary{min-height:42px;padding:0 13px;display:flex;align-items:center;justify-content:space-between;cursor:pointer;color:#52627d;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;list-style:none}
.sidebar-group summary::-webkit-details-marker,.admin-nav-group summary::-webkit-details-marker{display:none}
.sidebar-group summary i,.admin-nav-group summary i{font-size:10px;transition:.18s}
.sidebar-group[open] summary i,.admin-nav-group[open] summary i{transform:rotate(180deg)}
.sidebar-group>a,.admin-nav-group>a{margin:0 8px 7px!important;min-height:41px!important;padding:9px 11px!important;border-radius:12px!important}
.admin-sidebar{width:270px}.admin-body{padding-left:270px}.admin-sidebar nav a{font-size:12px}
.admin-nav-group{border-color:rgba(255,255,255,.1);background:rgba(255,255,255,.04)}
.admin-nav-group summary{color:#b8c7dd}
.admin-nav-group>a{color:#aebbd0!important}
.admin-nav-group>a.active,.admin-nav-group>a:hover{color:#fff!important;background:rgba(40,100,255,.35)!important}
.page-heading,.admin-top{padding:6px 2px 12px;border-bottom:1px solid rgba(220,228,241,.75)}
.page-heading h1,.admin-top h1{letter-spacing:-.03em}
.control-form.card,.profile-form.card,.finance-action-page,.admin-table.card,.transaction-page,.wallet-actions-grid>a,.task-card{border-color:rgba(220,228,241,.9);box-shadow:0 14px 42px rgba(20,38,72,.08)}
.control-form.card>form,.profile-form{align-content:start}
.control-form.card h2,.profile-form h2,.admin-table h2{letter-spacing:-.02em}
.control-form.card form,.profile-form,.finance-form{gap:14px}
.control-form input,.control-form select,.control-form textarea,.profile-form input,.profile-form textarea,.profile-form select,.finance-form input,.finance-form textarea{transition:border-color .18s,box-shadow .18s,background .18s}
.control-form input:focus,.control-form select:focus,.control-form textarea:focus,.profile-form input:focus,.profile-form textarea:focus,.profile-form select:focus,.finance-form input:focus,.finance-form textarea:focus{border-color:#9ab5ff;background:#fff;box-shadow:0 0 0 4px rgba(40,100,255,.12)}
.admin-panels{align-items:start}
.admin-panels>.control-form.card,.admin-panels>form.control-form.card{min-height:0}
.table-head{gap:12px;flex-wrap:wrap}
.table-search{width:min(100%,260px);height:38px;padding:0 12px;border:1px solid var(--line);border-radius:11px;background:#f7f9fd;font-size:12px}
.table-scroll{max-width:100%;overflow:auto}
.table-scroll table{min-width:760px}
.wallet-actions-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))!important}
.finance-action-page{grid-template-columns:minmax(210px,.75fr) minmax(0,1.25fr)}
.message-stream{overflow-x:hidden}
.message{max-width:min(82%,430px);word-break:break-word}
.message p{white-space:pre-wrap;word-break:break-word}
.message-image{width:auto;max-width:100%!important;height:auto;max-height:285px;object-fit:contain!important;background:#eef2f7}
.reels-feed .reel-card{box-shadow:0 28px 70px rgba(3,8,23,.26)}
.reel-card>div.reel-info{left:0;right:0;background:linear-gradient(180deg,transparent,rgba(0,0,0,.82));text-shadow:0 2px 12px rgba(0,0,0,.45)}
.reel-actions{left:12px!important;right:auto!important;bottom:98px!important;padding:10px 8px;border-radius:28px;background:rgba(0,0,0,.28);backdrop-filter:blur(12px)}
.reel-actions button,.reel-actions form button{width:46px;height:auto;padding:4px 0;border-radius:22px;text-shadow:0 2px 10px rgba(0,0,0,.5)}
.reel-actions i{filter:drop-shadow(0 4px 10px rgba(0,0,0,.35))}
.reel-info{padding-left:76px!important}
.reel-comment-form{left:76px!important}
.reel-comments{left:76px!important}
.post,.product-card,.community-card,.jobs-list article{overflow:hidden}
.post-media{background:#eef2f7}
.admin-mobile-menu nav{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}
@media(max-width:1100px){.admin-body{padding-left:0}.admin-sidebar{display:none}.admin-mobile-menu{display:block}.admin-main{padding:18px 12px 88px}}
@media(max-width:800px){
  .page-heading{align-items:flex-start;gap:10px;flex-direction:column}
  .page-heading .button{font-size:12px}
  .control-form.card,.profile-form.card,.finance-action-page,.admin-table.card{border-radius:16px}
  .finance-action-page{grid-template-columns:1fr!important}
  .table-scroll table{min-width:680px}
  .sidebar-group,.admin-nav-group{display:none}
  body[data-page="reels"] .bottom-nav{display:none}
  body[data-page="reels"] .reels-feed{height:100dvh;padding:0;background:#000;scroll-snap-type:y mandatory}
  body[data-page="reels"] .reels-feed .reel-card{width:100vw;height:100dvh;min-height:100dvh;border-radius:0;box-shadow:none}
  body[data-page="reels"] .reel-info{left:0!important;right:0!important;bottom:72px!important;padding:90px 14px 18px 74px!important}
  body[data-page="reels"] .reel-actions{left:10px!important;right:auto!important;bottom:132px!important;gap:15px;background:rgba(0,0,0,.18)}
  body[data-page="reels"] .reel-comment-form{left:74px!important;right:12px!important;bottom:24px!important}
  body[data-page="reels"] .reel-comments{left:74px!important;right:12px!important;bottom:82px!important}
  .message{max-width:min(86%,340px)}
  .message-image{max-height:240px}
}

/* v21 final social-app polish */
:root{--fb-blue:#1877f2;--fb-bg:#f0f2f5;--fb-card:#fff}
body{background:var(--fb-bg);font-family:Inter,"Segoe UI",Arial,sans-serif}
.topbar{height:64px;border-bottom:1px solid #dfe3eb;box-shadow:0 2px 10px rgba(20,38,72,.05)}
.brand-mark,.button,.create-button{background:var(--fb-blue)!important}
.global-search input{height:40px;background:#eef1f5;border-color:transparent}
.top-actions>a:not(.mini-avatar){border-radius:50%;background:#e4e6eb;color:#050505}
.left-sidebar nav a,.sidebar-group>a{font-weight:700;color:#31353b}.left-sidebar nav a i,.sidebar-group>a i{color:var(--fb-blue)}
.card,.post,.composer,.profile-header,.admin-table,.control-form{border-color:#dde2ea;border-radius:14px;box-shadow:0 1px 2px rgba(0,0,0,.06)}
.dashboard-widgets{display:grid;grid-template-columns:1.4fr .8fr;gap:14px}
.greeting-card{position:relative;overflow:hidden;padding:24px;background:linear-gradient(135deg,#1877f2,#42a5ff);color:#fff;border:0}
.greeting-card:after{content:"";position:absolute;right:-40px;top:-45px;width:160px;height:160px;border-radius:50%;background:rgba(255,255,255,.18)}
.greeting-card span,.greeting-card p{color:rgba(255,255,255,.86)}.greeting-card h2{margin:5px 0;font:800 31px Manrope,Inter,sans-serif}
.birthday-card,.birthday-sidebar{padding:20px;background:linear-gradient(145deg,#fff,#f7fbff)}
.birthday-card i,.birthday-sidebar i{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;color:#fff;background:#ff4d6d}
.birthday-sidebar{display:grid;gap:9px}.birthday-sidebar strong{font-size:18px}.birthday-sidebar span,.birthday-sidebar small{color:var(--muted);font-size:11px}
.qb-popup.open,.qb-popup.active{display:block!important}.composer-open{overflow:hidden}
.qb-popup{background:rgba(240,242,245,.72)!important;backdrop-filter:blur(8px)}
.qb-popup-form{max-width:680px;margin:32px auto;height:min(92vh,760px);border-radius:18px;overflow:hidden;box-shadow:0 24px 80px rgba(0,0,0,.22)}
.message{position:relative;padding-right:28px}.message.mine{padding-left:28px;padding-right:12px}
.message-delete-mini{position:absolute;right:5px;top:5px;width:18px;height:18px;padding:0;display:grid;place-items:center;border:0;border-radius:50%;background:rgba(0,0,0,.08);color:#667085;font-size:9px;opacity:.45}
.message.mine .message-delete-mini{left:5px;right:auto}.message:hover .message-delete-mini{opacity:1}
.connection-list .avatar,.connection-list .avatar img{width:48px;height:48px;object-fit:cover}
.gateway-topup{padding:22px;display:grid;grid-template-columns:1fr minmax(240px,360px);gap:20px;align-items:center}
.gateway-topup h2{margin:5px 0}.gateway-topup p,.gateway-topup small{color:var(--muted)}
.gateway-topup form{display:grid;gap:12px}.gateway-buttons{display:flex;gap:10px;flex-wrap:wrap}.paypal-inline-holder{grid-column:1/-1;margin-top:12px}
.admin-popup-message{position:fixed;z-index:3500;right:18px;bottom:18px;width:min(92vw,380px);padding:16px 18px;display:grid;grid-template-columns:42px 1fr;gap:12px;border-radius:18px;color:#172033;background:#fff;box-shadow:0 24px 70px rgba(15,23,42,.24);animation:popupIn .22s ease-out}
.admin-popup-message>button{position:absolute;right:8px;top:8px;width:26px;height:26px;border:0;border-radius:50%;background:#eef1f5}.admin-popup-message>i{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;color:#fff;background:var(--fb-blue)}
.admin-popup-message strong,.admin-popup-message p{display:block;margin:0}.admin-popup-message p{margin-top:5px;color:#475467;font-size:13px}.admin-popup-message a{display:inline-flex;margin-top:9px;color:var(--fb-blue);font-weight:800}
@keyframes popupIn{from{opacity:0;transform:translateY(14px)}}
.reels-feed{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,420px));justify-content:center;gap:18px}
.reel-card{height:min(78vh,720px);min-height:560px;border-radius:22px;background:#050505}
.reel-card video{height:100%;min-height:100%;object-fit:cover}
.reel-info{left:0!important;right:0!important;bottom:0!important;padding:90px 82px 22px 18px!important;background:linear-gradient(180deg,transparent,rgba(0,0,0,.88))!important}
.reel-actions{left:auto!important;right:14px!important;bottom:96px!important;display:grid;gap:14px;background:transparent!important;backdrop-filter:none}
.reel-actions button,.reel-actions form button{width:54px;min-height:54px;display:grid;place-items:center;border-radius:50%;color:#fff;background:rgba(255,255,255,.16);box-shadow:0 10px 28px rgba(0,0,0,.25)}
.reel-actions b{display:block;font-size:10px}.reel-comment-form{left:18px!important;right:82px!important;bottom:18px!important}.reel-comments{left:18px!important;right:82px!important;bottom:72px!important}
.landing-hero{background:radial-gradient(circle at 82% 20%,rgba(24,119,242,.35),transparent 24rem),linear-gradient(135deg,#081226,#172033)}
.feature-grid article{background:rgba(255,255,255,.08);backdrop-filter:blur(10px)}
.page-loader{background:rgba(240,242,245,.96)}.page-loader:after{border-top-color:var(--fb-blue)}
@media(max-width:800px){
  .dashboard-widgets,.gateway-topup{grid-template-columns:1fr}
  .qb-popup-form{height:100dvh;margin:0;border-radius:0}
  body[data-page="reels"] .reels-feed{display:block}
  body[data-page="reels"] .reel-card{height:100dvh;min-height:100dvh}
  body[data-page="reels"] .reel-info{padding:100px 82px 28px 16px!important;bottom:0!important}
  body[data-page="reels"] .reel-actions{right:12px!important;left:auto!important;bottom:128px!important}
  body[data-page="reels"] .reel-comment-form{left:14px!important;right:82px!important;bottom:24px!important}
  body[data-page="reels"] .reel-comments{left:14px!important;right:82px!important;bottom:78px!important}
  .admin-popup-message{left:12px;right:12px;bottom:78px;width:auto}
}

/* v22 Facebook-style final theme */
:root{--blue:#1877f2;--cyan:#42b72a;--navy:#050505;--ink:#050505;--muted:#65676b;--bg:#f0f2f5;--card:#fff;--line:#dadde1;--shadow:0 1px 2px rgba(0,0,0,.12)}
body{background:#f0f2f5;color:#050505;font-family:Inter,"Segoe UI",Helvetica,Arial,sans-serif}
.topbar{height:60px;padding:0 16px;background:#fff;border-bottom:1px solid #dddfe2;box-shadow:0 1px 2px rgba(0,0,0,.08)}
.brand{color:#1877f2;font-size:24px}.brand small{color:#65676b;letter-spacing:0;text-transform:none}
.brand-mark{width:40px;height:40px;border-radius:50%;background:#1877f2!important;font-family:Arial,sans-serif}
.global-search input{height:40px;border:0;border-radius:999px;background:#f0f2f5;color:#050505}
.top-actions>a:not(.mini-avatar),.notification-link{width:40px;height:40px;min-width:40px;border-radius:50%;background:#e4e6eb!important;color:#050505}
.notification-link>b,.bottom-nav>a>b{background:#e41e3f;border:2px solid #fff}
.mini-avatar,.avatar{background:#1877f2}.avatar.has-image,.mini-avatar.has-image{background:transparent}.avatar img,.mini-avatar img{width:100%;height:100%;border-radius:inherit;object-fit:cover}
.app-layout{grid-template-columns:260px minmax(0,680px) 320px;gap:16px}
.left-sidebar nav a,.sidebar-group>a{min-height:44px;border-radius:10px;color:#050505;font-weight:700}
.left-sidebar nav a i,.sidebar-group>a i,.mobile-menu-sheet nav i{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;color:#1877f2;background:#e7f3ff}
.left-sidebar nav a:hover,.left-sidebar nav a.active,.sidebar-group>a.active{background:#e7f3ff;color:#1877f2}
.sidebar-group,.admin-nav-group{border:0;background:transparent}.sidebar-group summary{color:#65676b}
.card,.composer,.post,.right-sidebar .card,.profile-header{border:0;border-radius:8px;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.12)}
.button,.create-button{min-height:40px;border-radius:6px;background:#1877f2!important;box-shadow:none;font-weight:800}.button.ghost-dark{color:#050505;background:#e4e6eb!important}
.stories{border-radius:8px}.story-ring,.add-story i{border-color:#1877f2;background:#e7f3ff;color:#1877f2}
.qb-composer{border-radius:8px}.qb-open-composer{background:#f0f2f5;color:#65676b}.qb-compose-actions button,.qb-compose-actions a{border-radius:8px;padding:10px}.qb-compose-actions button:hover,.qb-compose-actions a:hover{background:#f0f2f5}
.post header{padding:12px 16px}.post>p{font-size:15px;color:#050505}.post-actions{margin:0;padding:4px 12px 8px;border-top:1px solid #e4e6eb}.post-actions button,.post-action-link{min-height:38px;border-radius:6px}.post-actions button:hover,.post-action-link:hover{background:#f0f2f5}
.post-stats{border-bottom:1px solid #e4e6eb;color:#65676b}
.comment-form input,.message-form input{background:#f0f2f5;border-radius:999px}
.profile-dropdown>div{border:0;border-radius:8px;box-shadow:0 12px 28px rgba(0,0,0,.18)}.profile-dropdown a:hover,.profile-dropdown label:hover{background:#f0f2f5}
.bottom-nav{background:#fff;border-top:1px solid #dadde1}.bottom-nav a.active{color:#1877f2}.bottom-nav a i,.bottom-nav button i{font-size:20px}
.mobile-menu-sheet{background:rgba(0,0,0,.45)}.mobile-menu-sheet>div{border-radius:16px 16px 0 0;background:#fff}.mobile-menu-sheet nav a{background:#f0f2f5;border-radius:8px;color:#050505}
.privacy-settings-page{padding:22px;display:grid;gap:16px}.privacy-hero{padding:18px;display:flex;gap:14px;align-items:center;border-radius:12px;background:#e7f3ff;color:#1877f2}.privacy-hero i{width:52px;height:52px;display:grid;place-items:center;border-radius:50%;color:#fff;background:#1877f2;font-size:22px}.privacy-hero h2{margin:0;color:#050505}.privacy-hero p{margin:5px 0 0;color:#65676b}
.privacy-toggles{padding:14px;border:1px solid #dadde1;border-radius:12px;display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.privacy-toggles legend{padding:0 8px;color:#65676b;font-weight:800}.privacy-toggles label{display:block}.privacy-toggles input{display:none}.privacy-toggles span{min-height:44px;padding:0 12px;display:flex;align-items:center;gap:9px;border-radius:8px;background:#f0f2f5;color:#65676b;font-weight:800}.privacy-toggles input:checked+span{background:#e7f3ff;color:#1877f2}.privacy-toggles input:checked+span i{color:#1877f2}
.reels-feed .reel-card{border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.2)}.reel-actions button,.reel-actions form button{background:rgba(255,255,255,.2)}.reel-actions .liked i{color:#f3425f}
.admin-sidebar{background:#fff;color:#050505;border-right:1px solid #dadde1}.admin-sidebar nav a,.admin-nav-group>a{color:#050505!important}.admin-nav-group>a.active,.admin-nav-group>a:hover{background:#e7f3ff!important;color:#1877f2!important}.admin-top,.page-heading{border-bottom:1px solid #dadde1}
@media(max-width:800px){.app-layout{width:100%;display:block;margin:0 0 72px}.content{padding:8px}.topbar{padding:0 10px}.brand small{display:none}.global-search{max-width:none}.privacy-toggles{grid-template-columns:1fr}.post,.composer,.stories.card,.profile-header{border-radius:0}.right-sidebar,.left-sidebar{display:none}}

/* v23 final requested polish */
.topbar{position:relative!important;top:auto!important;z-index:900!important}
@media(min-width:801px){.left-sidebar,.right-sidebar{position:sticky!important;top:76px!important;max-height:calc(100vh - 86px)!important;overflow:auto}.left-sidebar{background:transparent!important;box-shadow:none!important}.sidebar-group{background:transparent!important;border:0!important}.sidebar-group summary{padding-left:6px}.sidebar-group>a{background:transparent!important}.sidebar-group>a:hover,.sidebar-group>a.active{background:#e7f3ff!important}.sidebar-group>a:nth-of-type(5n+1) i{background:#e7f3ff;color:#1877f2}.sidebar-group>a:nth-of-type(5n+2) i{background:#e9f7ef;color:#31a24c}.sidebar-group>a:nth-of-type(5n+3) i{background:#fff3cd;color:#f7b928}.sidebar-group>a:nth-of-type(5n+4) i{background:#fdecef;color:#f3425f}.sidebar-group>a:nth-of-type(5n+5) i{background:#f0e7ff;color:#8a3ffc}}
.top-clock{min-width:96px;color:#65676b;font-size:11px;font-weight:800;line-height:1.1}.theme-toggle{width:40px;height:40px;border:0;border-radius:50%;display:grid;place-items:center;background:#e4e6eb;color:#050505}
.greeting-card{background:#fff!important;color:#050505!important;border:0!important}.greeting-card span{color:#1877f2!important}.greeting-card p{color:#65676b!important}.greeting-card h2{color:#050505!important}
.dashboard-widgets{grid-template-columns:1fr!important}.birthday-card{display:none!important}
.smart-birthday{position:relative;overflow:hidden}.smart-birthday:after{content:"";position:absolute;right:-30px;top:-30px;width:100px;height:100px;border-radius:50%;background:#e7f3ff}.smart-birthday>*{position:relative;z-index:1}.smart-birthday strong{color:#050505}.smart-birthday small{font-weight:800;color:#1877f2}
.username-check{min-height:16px;color:#65676b;font-size:11px}.username-check.ok{color:#31a24c}.username-check.bad{color:#e41e3f}
.page-public-link{margin:10px 0;padding:9px;display:flex;align-items:center;gap:8px;border-radius:8px;background:#f0f2f5}.page-public-link small{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#1877f2}.page-public-link button{width:32px;height:32px;border:0;border-radius:50%;background:#e4e6eb;color:#1877f2}
.qb-popup-form{border-radius:12px!important}.qb-popup-header{background:#fff!important}.qb-popup-body textarea{min-height:170px!important;border:0!important;font-size:20px!important}.qb-upload-box{border:1px solid #dadde1!important;border-radius:10px!important;background:#fff!important}.advanced-post-options{background:#f0f2f5;border-radius:10px;padding:10px}
.reel-actions{left:4px!important;right:auto!important;bottom:116px!important}.reel-actions button,.reel-actions form button{width:48px!important;height:48px!important}.reel-comment-form,.reel-comments,[data-focus-reel-comment]{display:none!important}.reel-info{padding-left:64px!important}
.reel-card:before{content:"";position:absolute;left:10px;top:12px;z-index:2;padding:5px 8px;border-radius:999px;background:rgba(0,0,0,.45);color:#fff;font-size:10px;font-weight:800}.reel-card video{background:#000}
.group-strip article{position:relative;overflow:hidden;border-radius:12px}.group-strip article>i{width:54px;height:54px;display:grid;place-items:center;border-radius:14px;color:#fff;background:linear-gradient(135deg,#1877f2,#42b72a)}.qa-list .card{border-radius:12px}
html[data-theme="dark"]{color-scheme:dark}html[data-theme="dark"] body{background:#18191a;color:#e4e6eb}html[data-theme="dark"] .topbar,html[data-theme="dark"] .card,html[data-theme="dark"] .post,html[data-theme="dark"] .composer,html[data-theme="dark"] .profile-dropdown>div,html[data-theme="dark"] .mobile-menu-sheet>div,html[data-theme="dark"] .admin-sidebar,html[data-theme="dark"] .admin-top{background:#242526!important;color:#e4e6eb!important;border-color:#3a3b3c!important}html[data-theme="dark"] .greeting-card{background:#242526!important;color:#e4e6eb!important}html[data-theme="dark"] .greeting-card h2,html[data-theme="dark"] .smart-birthday strong{color:#e4e6eb!important}html[data-theme="dark"] .global-search input,html[data-theme="dark"] input,html[data-theme="dark"] textarea,html[data-theme="dark"] select,html[data-theme="dark"] .message-stream,html[data-theme="dark"] .mobile-menu-sheet nav a,html[data-theme="dark"] .page-public-link{background:#3a3b3c!important;color:#e4e6eb!important;border-color:#3a3b3c!important}html[data-theme="dark"] .top-actions>a:not(.mini-avatar),html[data-theme="dark"] .theme-toggle{background:#3a3b3c!important;color:#e4e6eb!important}html[data-theme="dark"] .left-sidebar nav a,html[data-theme="dark"] .sidebar-group>a,html[data-theme="dark"] .admin-sidebar nav a{color:#e4e6eb!important}
@media(max-width:800px){.top-clock{display:none}.reel-actions{left:8px!important;bottom:142px!important}.reel-info{padding-left:68px!important}.qb-popup-form{border-radius:0!important}}

/* v24 final chat emoji/GIF polish */
.emoji-bar{position:relative}
.emoji-more-button{min-width:34px;border-radius:999px;background:#eef4ff;color:#0866ff;font-weight:800}
.emoji-picker-panel{position:absolute;left:0;bottom:calc(100% + 8px);z-index:50;width:min(330px,90vw);max-height:310px;overflow:auto;background:#fff;border:1px solid #dbe4f4;border-radius:18px;box-shadow:0 22px 60px rgba(15,23,42,.18);padding:12px}
.emoji-picker-panel section+section{margin-top:10px}
.emoji-picker-panel strong{display:block;font-size:12px;color:#667085;margin:0 0 6px}
.emoji-picker-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:6px}
.emoji-picker-grid button{border:0;background:#f6f8fc;border-radius:10px;min-height:34px;font-size:20px;cursor:pointer}
.emoji-picker-grid button:hover{background:#e8f0ff}
.message-gif-button{border:0;background:#eef4ff;color:#0866ff;border-radius:999px;padding:0 12px;font-weight:700;display:inline-flex;align-items:center;gap:6px}
.chat-gif-panel{position:absolute;left:12px;right:12px;bottom:74px;z-index:45;background:#fff;border:1px solid #dbe4f4;border-radius:18px;box-shadow:0 22px 60px rgba(15,23,42,.18);padding:12px}
.chat-gif-panel strong{display:block;margin-bottom:8px;color:#334155}
.chat-gif-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.chat-gif-grid button{border:0;background:#f6f8fc;border-radius:14px;padding:6px;cursor:pointer}
.chat-gif-grid img,.chat-media-preview img{width:100%;height:96px;object-fit:cover;border-radius:12px;display:block}
.chat-media-preview{position:absolute;left:14px;bottom:72px;width:150px;background:#fff;border:1px solid #dbe4f4;border-radius:16px;padding:8px;box-shadow:0 18px 45px rgba(15,23,42,.16)}
.chat-media-preview button{position:absolute;right:2px;top:2px;width:24px;height:24px;border:0;border-radius:50%;background:#111827;color:#fff}
.message-image{max-width:min(260px,72vw);max-height:260px;width:auto;height:auto;object-fit:contain;border-radius:14px;display:block}
.message-gif{background:#f8fafc}
html[data-theme="dark"] .emoji-picker-panel,html[data-theme="dark"] .chat-gif-panel,html[data-theme="dark"] .chat-media-preview{background:#242526;border-color:#3a3b3c}
@media(max-width:720px){.emoji-picker-panel{left:auto;right:0}.chat-gif-panel{bottom:78px}.chat-gif-grid img,.chat-media-preview img{height:82px}}

/* Pages + Groups complete module */
.community-profile{overflow:hidden;padding:0}.community-hero{height:180px;background:linear-gradient(135deg,#0f67ff,#00c2ff);background-size:cover;background-position:center}.community-profile-body{display:flex;gap:18px;align-items:flex-end;padding:0 22px 18px}.community-avatar{width:96px;height:96px;margin-top:-48px;border:5px solid #fff;box-shadow:0 12px 35px rgba(15,23,42,.18)}.community-actions{display:flex;gap:10px;flex-wrap:wrap;padding:0 22px 22px}.community-card .community-cover,.group-strip .community-cover{height:88px;border-radius:18px;background:linear-gradient(135deg,#eef6ff,#dbeafe);background-size:cover;background-position:center;margin-bottom:-28px}.community-card .avatar{border:4px solid #fff}.community-editor{border:1px solid rgba(37,99,235,.15)}.community-feed{display:grid;gap:16px;margin-top:16px}.community-feed .post-card video,.community-feed .post-media{width:100%;max-height:520px;object-fit:cover;border-radius:18px;margin-top:12px}.comment-inline{display:flex;gap:8px;margin-top:12px}.comment-inline input{flex:1}.tiny-avatar{width:34px;height:34px;font-size:.8rem}.group-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}.community-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}.community-card,.group-strip .card{overflow:hidden}.post-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:12px}.status.active{background:#dcfce7;color:#166534;padding:6px 10px;border-radius:999px;font-weight:700}
@media(max-width:700px){.community-hero{height:130px}.community-profile-body{align-items:flex-start;flex-direction:column}.community-avatar{width:82px;height:82px;margin-top:-44px}.community-actions{padding:0 16px 18px}.comment-inline{flex-direction:column}}

/* 2026-06-19 Facebook-style Pages + Groups completion patch */
.fb-actions{border-top:1px solid var(--line);padding-top:16px}.fb-actions .ghost-dark{background:#e4e6eb!important;color:#050505!important;box-shadow:none!important}.fb-tabs{display:flex;gap:4px;padding:4px 12px;margin:0 0 14px;overflow-x:auto;border-radius:14px}.fb-tabs a{padding:12px 16px;border-bottom:3px solid transparent;color:#65676b;font-weight:800;white-space:nowrap}.fb-tabs a.active,.fb-tabs a:hover{color:#1877f2;border-bottom-color:#1877f2;background:#f0f2f5;border-radius:10px 10px 0 0}.fb-about,.fb-followers,.fb-manage,.fb-composer,.fb-qa-create{padding:16px}.fb-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px}.fb-metrics span{padding:12px;border-radius:12px;background:#f0f2f5}.fb-metrics b,.fb-metrics small{display:block}.fb-metrics b{font-size:18px;color:#050505}.fb-metrics small{color:#65676b;font-size:11px;font-weight:800}.fb-composer{display:block!important}.fb-composer-head{display:flex;gap:12px;align-items:flex-start}.fb-composer textarea{flex:1;min-height:88px;border:0;background:#f0f2f5;border-radius:18px;padding:14px;resize:vertical;outline:none}.fb-composer-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}.fb-composer-tools label{display:inline-flex!important;align-items:center;gap:8px;min-height:38px;padding:0 12px;border-radius:999px;background:#f0f2f5;color:#42b72a;font-weight:900;cursor:pointer}.fb-composer.locked{background:#fff8e1;border-color:#ffe5a3}.fb-manage summary{cursor:pointer;font-weight:900;color:#1877f2}.fb-manage form{margin-top:14px}.fb-qa-create{display:grid;gap:10px}.fb-qa-create input,.fb-qa-create textarea{width:100%;border:1px solid var(--line);border-radius:12px;padding:12px;background:#fafbfd}.community-feed{scroll-margin-top:90px}.community-feed .post-card{padding:16px}.community-feed .post-author{display:flex;gap:10px;align-items:center}.community-feed .post-author small{display:block;color:#65676b}.community-feed .post-actions button,.community-feed .comment-inline button{box-shadow:none}.admin-table{scroll-margin-top:90px}.qa-list{display:grid;gap:14px;scroll-margin-top:90px}.qa-list .card{padding:16px}.status.active{display:inline-flex;align-items:center;gap:6px}.community-profile-body h1{margin:4px 0}.community-profile-body p{margin:4px 0 8px;color:#333}.community-actions form{display:inline-flex;margin:0}@media(max-width:800px){.community-profile-body{display:block;padding:0 14px 14px}.community-avatar{width:84px;height:84px;margin-top:-42px}.community-actions{padding:0 14px 14px}.fb-actions .button,.fb-actions form{flex:1 1 calc(50% - 8px)}.fb-tabs{border-radius:0;margin-left:-8px;margin-right:-8px}.fb-metrics{grid-template-columns:repeat(2,1fr)}.fb-composer-head{gap:8px}.fb-composer textarea{min-height:74px}.fb-composer-tools{align-items:stretch}.fb-composer-tools .button{min-height:40px}.community-hero{height:150px}}

/* Pages + Groups create hub and Facebook-style post upgrade */
.create-button{border:0;width:calc(100% - 28px);margin:14px;background:#1877f2;color:#fff;border-radius:8px;padding:14px 18px;font-weight:800;display:flex;align-items:center;justify-content:center;gap:10px;cursor:pointer;box-shadow:0 10px 22px rgba(24,119,242,.18)}
.create-hub{position:fixed;inset:0;background:rgba(7,18,38,.72);backdrop-filter:blur(8px);z-index:9999;display:none;align-items:center;justify-content:center;padding:18px}.create-hub.open{display:flex}.create-hub-panel{position:relative;width:min(860px,100%);max-height:94vh;overflow:auto;background:#fff;border-radius:26px;padding:24px;box-shadow:0 30px 80px rgba(0,0,0,.28)}.create-hub-close{position:absolute;right:18px;top:18px;width:42px;height:42px;border:0;border-radius:50%;background:#eef2f7;cursor:pointer;font-size:18px}.create-hub-title h2{margin:4px 0 6px;font-size:30px}.create-hub-title p{color:#64748b;margin:0 0 18px}.create-hub-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.create-hub-card{border:1px solid #e5e7eb;background:linear-gradient(180deg,#fff,#f8fbff);border-radius:18px;padding:18px;text-align:left;cursor:pointer;display:flex;flex-direction:column;gap:8px;min-height:150px}.create-hub-card:hover,.create-hub-card.active{border-color:#1877f2;box-shadow:0 16px 36px rgba(24,119,242,.16);transform:translateY(-1px)}.create-hub-card i{width:46px;height:46px;border-radius:16px;background:#e8f1ff;color:#1877f2;display:grid;place-items:center;font-size:20px}.create-hub-card strong{font-size:16px}.create-hub-card small{color:#64748b;line-height:1.45}.create-hub-form{display:none;margin-top:16px;border:1px solid #e5e7eb;border-radius:20px;background:#f8fafc;padding:16px}.create-hub-form.open{display:block}.create-hub-form label{font-weight:800;color:#0f172a}.create-hub-form select,.create-hub-form textarea{width:100%;margin-top:8px;border:1px solid #dbe3ef;border-radius:14px;padding:13px;background:#fff}.create-hub-form textarea{min-height:140px;resize:vertical;margin-top:14px}.create-hub-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px}.create-hub-tools label{display:inline-flex;align-items:center;gap:9px;background:#fff;border:1px dashed #cbd5e1;border-radius:14px;padding:12px 14px;cursor:pointer}.hint{background:#fff7ed;color:#9a3412;border:1px solid #fed7aa;padding:10px 12px;border-radius:12px;margin:12px 0 0}.privacy-help{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}.privacy-help span{border:1px solid #e5e7eb;background:#fff;border-radius:14px;padding:12px;display:grid;gap:3px}.privacy-help i{color:#1877f2}.privacy-help small{color:#64748b}.community-post-card{border-radius:18px;overflow:hidden;padding:0!important;background:#fff}.community-post-card .post-author{padding:16px 16px 10px}.community-post-card p{padding:0 16px;margin:8px 0 12px;font-size:15px;line-height:1.55;color:#111827}.community-post-card .post-media,.community-post-card video{width:100%;max-height:560px;object-fit:cover;border-radius:0;margin:0;background:#000}.community-reactions{display:flex;justify-content:space-between;gap:12px;padding:10px 16px;color:#64748b;font-size:13px;border-bottom:1px solid #eef2f7}.community-action-row{display:grid!important;grid-template-columns:repeat(3,1fr);gap:8px;padding:10px 12px!important}.community-action-row form,.community-action-row button{width:100%}.community-action-row .button{justify-content:center;background:#f8fafc;color:#334155;border:0}.comment-inline{padding:0 12px 14px;display:flex;gap:8px}.comment-inline input{border:1px solid #e2e8f0;background:#f8fafc;border-radius:999px;padding:11px 14px;flex:1}.comment-inline .button{border-radius:999px}.fb-composer{border-radius:18px}.fb-composer-tools label{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:12px;padding:10px 12px;cursor:pointer}.fb-tabs a{font-weight:800}@media(max-width:760px){.create-hub{padding:0;align-items:stretch}.create-hub-panel{border-radius:22px 22px 0 0;margin-top:auto;max-height:92vh}.create-hub-options{grid-template-columns:1fr}.create-hub-card{min-height:auto}.privacy-help{grid-template-columns:1fr}.community-action-row{grid-template-columns:1fr 1fr 1fr}.create-hub-title h2{font-size:24px}}

/* Privacy center + admin active systems patch */
.privacy-title p{margin:.35rem 0 0;color:#64748b}.privacy-center-form{display:grid;gap:18px}.privacy-main-card{display:flex;gap:16px;align-items:center;background:linear-gradient(135deg,#eef6ff,#fff)}.privacy-main-card>i{width:56px;height:56px;border-radius:18px;background:#1877f2;color:#fff;display:grid;place-items:center;font-size:24px}.privacy-grid-pro{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.privacy-panel h3{display:flex;align-items:center;gap:10px;margin:0 0 10px}.privacy-panel p,.privacy-panel .muted{color:#64748b;margin:.25rem 0 12px}.clean-privacy-toggles{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;border:0;padding:0;margin:8px 0 0}.clean-privacy-toggles label{margin:0}.privacy-item-list{display:grid;gap:10px}.privacy-item-list label{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #e5e7eb;border-radius:16px;padding:10px;background:#f8fafc}.privacy-item-list label>span{display:flex;align-items:center;gap:10px;min-width:0}.privacy-item-list b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.privacy-item-list select{max-width:170px}.privacy-sticky-save{position:sticky;bottom:14px;z-index:4;display:flex;justify-content:flex-end;padding:10px;border-radius:18px;background:rgba(255,255,255,.86);backdrop-filter:blur(12px);box-shadow:0 12px 30px rgba(15,23,42,.12)}.privacy-note-inline{margin:12px 0;padding:12px 14px;border-radius:14px;background:#eff6ff;color:#1d4ed8;font-weight:700;display:flex;gap:10px;align-items:center}.heading-actions{display:flex;gap:10px;flex-wrap:wrap}.button.secondary{background:#e5e7eb;color:#111827}.admin-active-systems{margin:16px 14px 10px;padding:14px;border-radius:18px;background:rgba(255,255,255,.72);border:1px solid rgba(148,163,184,.25);box-shadow:0 10px 28px rgba(15,23,42,.08)}.admin-active-systems h3{font-size:13px;margin:0 0 10px;display:flex;gap:8px;align-items:center;color:#334155}.admin-active-systems span{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:800;margin:7px 0;color:#64748b}.admin-active-systems span b{width:9px;height:9px;border-radius:50%;background:#94a3b8;box-shadow:0 0 0 4px rgba(148,163,184,.15)}.admin-active-systems span.on{color:#065f46}.admin-active-systems span.on b{background:#10b981;box-shadow:0 0 0 4px rgba(16,185,129,.14)}.admin-active-systems span.off{color:#991b1b}.admin-active-systems span.off b{background:#ef4444;box-shadow:0 0 0 4px rgba(239,68,68,.14)}@media(max-width:780px){.privacy-grid-pro{grid-template-columns:1fr}.privacy-item-list label{align-items:flex-start;flex-direction:column}.privacy-item-list select{max-width:100%;width:100%}.privacy-sticky-save{justify-content:stretch}.privacy-sticky-save .button{width:100%}.admin-active-systems{display:none}}

/* 2026-06-19 profile/composer cleanup patch */
.profile-action-btn{display:inline-flex!important;align-items:center;justify-content:center;gap:6px;min-width:92px;height:34px;padding:0 11px!important;font-size:12px!important;line-height:1;border-radius:999px;white-space:nowrap}
.profile-main{gap:14px}.profile-main>form{display:inline-flex;margin:0}.profile-main .button.tiny{margin-top:4px}
.leaderboard a span small:empty{display:none}
.qb-popup-form{max-width:680px;margin:auto;background:#fff;border-radius:22px;overflow:hidden;box-shadow:0 30px 80px rgba(15,23,42,.28)}
.qb-popup-body{padding:18px}.qb-popup-header{position:sticky;top:0;z-index:5;background:#fff;border-bottom:1px solid #eef2f7}
.pn-composer-extra{background:#f8fafc;border:1px solid #e5e7eb;border-radius:18px;padding:12px;margin:12px 0;display:grid;gap:10px}.pn-tool-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.pn-tool-row label{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:10px;display:grid;gap:5px;font-size:12px;font-weight:700;color:#334155}.pn-tool-row label i{color:#1877f2}.pn-tool-row select,.pn-tool-row input{border:0;outline:0;background:#f1f5f9;border-radius:10px;padding:9px;font-weight:600}.pn-location-field{grid-template-columns:20px 1fr auto;align-items:center}.pn-location-field span{grid-column:2/4}.pn-location-field input{grid-column:1/3}.pn-location-field button{grid-column:3/4}.pn-bg-preview{min-height:52px;border-radius:16px;display:flex;align-items:center;justify-content:center;font-weight:800;color:#0f172a;background:#e2e8f0}.pn-bg-preview.bg-blue{background:linear-gradient(135deg,#0ea5e9,#1d4ed8);color:#fff}.pn-bg-preview.bg-sunset{background:linear-gradient(135deg,#f97316,#ec4899);color:#fff}.pn-bg-preview.bg-dark{background:linear-gradient(135deg,#020617,#334155);color:#fff}.pn-bg-preview.bg-green{background:linear-gradient(135deg,#22c55e,#16a34a);color:#fff}.pn-bg-preview.bg-purple{background:linear-gradient(135deg,#7c3aed,#c026d3);color:#fff}.pn-bg-preview.bg-gold{background:linear-gradient(135deg,#f59e0b,#fde047);color:#111827}.pn-bg-preview.bg-love{background:linear-gradient(135deg,#fb7185,#db2777);color:#fff}.pn-bg-preview.bg-sky{background:linear-gradient(135deg,#38bdf8,#bae6fd);color:#0f172a}.chat-compose .emoji-bar,.chat-compose .message-gif-button,.chat-gif-panel{display:none!important}
@media(max-width:640px){.profile-action-btn{min-width:78px;height:31px;font-size:11px!important;padding:0 8px!important}.profile-action-btn i{font-size:12px}.pn-tool-row{grid-template-columns:1fr}.pn-location-field{grid-template-columns:20px 1fr}.pn-location-field button{grid-column:1/3;width:100%}.qb-popup-form{border-radius:0;min-height:100dvh}.qb-popup-body{padding:14px}}


/* Final mobile QA polish - 2026-06-19 */
.post-meta-line{display:flex;flex-wrap:wrap;gap:8px;padding:0 16px 6px;color:#64748b;font-size:12px;font-weight:700}.post-meta-line span{display:inline-flex;align-items:center;gap:5px;background:#f8fafc;border:1px solid #eef2f7;border-radius:999px;padding:6px 9px}.post-body-bg{border-radius:16px;margin:10px 16px 12px!important;padding:14px 16px!important;line-height:1.55}.post-body-bg.bg-blue,.pn-bg-preview.bg-blue{background:linear-gradient(135deg,#0ea5e9,#1d4ed8);color:#fff}.post-body-bg.bg-sunset,.pn-bg-preview.bg-sunset{background:linear-gradient(135deg,#f97316,#ec4899);color:#fff}.post-body-bg.bg-dark,.pn-bg-preview.bg-dark{background:linear-gradient(135deg,#020617,#334155);color:#fff}.post-body-bg.bg-green,.pn-bg-preview.bg-green{background:linear-gradient(135deg,#22c55e,#16a34a);color:#fff}.post-body-bg.bg-purple,.pn-bg-preview.bg-purple{background:linear-gradient(135deg,#7c3aed,#c026d3);color:#fff}.post-body-bg.bg-gold,.pn-bg-preview.bg-gold{background:linear-gradient(135deg,#f59e0b,#fde047);color:#111827}.post-body-bg.bg-love,.pn-bg-preview.bg-love{background:linear-gradient(135deg,#fb7185,#db2777);color:#fff}.post-body-bg.bg-sky,.pn-bg-preview.bg-sky{background:linear-gradient(135deg,#38bdf8,#bae6fd);color:#0f172a}.post-body-bg.bg-peach,.pn-bg-preview.bg-peach{background:linear-gradient(135deg,#fed7aa,#fb7185);color:#111827}.post-body-bg.bg-mint,.pn-bg-preview.bg-mint{background:linear-gradient(135deg,#a7f3d0,#22c55e);color:#064e3b}.create-hub-composer-head{display:flex;align-items:center;gap:10px;margin-bottom:12px}.create-hub-composer-head small{display:block;color:#64748b;font-weight:600}.create-hub-mini-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0}.create-hub-mini-tools label{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:10px;display:grid;gap:6px;font-size:12px}.create-hub-mini-tools input,.create-hub-mini-tools select{width:100%;border:1px solid #e5e7eb;border-radius:10px;padding:9px;background:#f8fafc}.create-hub-timeline-form textarea{min-height:130px}.profile-action-row .button,.profile-actions .button,.profile-actions form button{white-space:nowrap;min-height:36px;padding:8px 11px;font-size:12px;gap:6px}.profile-action-row,.profile-actions{flex-wrap:wrap}.leaderboard a small{display:none!important}@media(max-width:760px){.content{padding-bottom:84px}.create-hub-mini-tools,.pn-tool-row{grid-template-columns:1fr}.create-hub-panel{padding:16px}.create-hub-form textarea{min-height:110px}.post-actions,.community-action-row{gap:6px}.post-actions button,.post-action-link,.community-action-row .button{font-size:12px;padding:9px 8px}.post-body-bg{margin-left:10px!important;margin-right:10px!important}.profile-header,.profile-public-details{overflow:hidden}.profile-actions,.profile-action-row{gap:6px}.profile-actions .button,.profile-actions form button{flex:1 1 auto;justify-content:center}}


/* 2026-06-19 Admin unlock, setting status, Facebook timeline and privacy polish */
.admin-sidebar{overflow-y:auto;box-shadow:18px 0 45px rgba(7,21,47,.18)}
.admin-sidebar .admin-smart-nav{overflow:visible!important;padding-bottom:16px}.admin-nav-group{display:block!important}.admin-nav-group[open]>a{display:flex}.admin-nav-group summary{pointer-events:auto!important}.admin-nav-group summary .fa-chevron-down{display:none}.admin-nav-group>a{pointer-events:auto!important}.admin-mobile-menu{margin:10px 12px;padding:10px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:var(--shadow)}.admin-mobile-menu summary{font-weight:900;color:var(--navy);cursor:pointer}.admin-mobile-menu a{padding:10px 12px;border-radius:10px;background:#f7f9fd;font-size:12px;font-weight:800}.admin-mobile-menu a:hover{color:var(--blue);background:#eaf0ff}.admin-settings-hero{margin-bottom:18px;padding:22px;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:18px;align-items:center;background:linear-gradient(135deg,#fff,#f6f9ff)}.admin-settings-hero h2{margin:4px 0 6px;font:800 27px Manrope;color:var(--navy)}.admin-settings-hero p{margin:0;color:var(--muted);line-height:1.6}.admin-setting-status-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.admin-setting-status-grid span,.setting-live-badge{display:flex;align-items:center;gap:8px;border-radius:14px;border:1px solid var(--line);background:#fff}.admin-setting-status-grid span{padding:11px}.admin-setting-status-grid i,.setting-live-badge:before{content:"";width:9px;height:9px;border-radius:50%;background:#94a3b8}.admin-setting-status-grid .is-on i,.setting-live-badge.is-on:before{background:var(--green);box-shadow:0 0 0 4px rgba(25,135,84,.11)}.admin-setting-status-grid .is-off i,.setting-live-badge.is-off:before{background:var(--red);box-shadow:0 0 0 4px rgba(220,53,69,.11)}.admin-setting-status-grid b{font-size:12px}.admin-setting-status-grid small{margin-left:auto;color:var(--muted);font-size:10px}.control-form label{position:relative}.control-form label.has-live-status{padding-top:3px}.setting-live-badge{margin-top:7px;width:max-content;max-width:100%;padding:6px 9px;color:#52627d;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.02em}.setting-live-badge.is-on{color:#0f7b4b;background:#effaf4}.setting-live-badge.is-off{color:#b42318;background:#fff1f0}.admin-body .card,.admin-body .stat-grid article{border-radius:20px}.admin-body input,.admin-body select,.admin-body textarea{font-size:13px}.admin-body .button{white-space:nowrap}.admin-body .table-scroll{border-radius:0 0 18px 18px}.admin-top{position:sticky;top:0;z-index:60;margin:-30px -30px 24px;padding:18px 30px;background:rgba(248,250,253,.94);backdrop-filter:blur(14px)}
body[data-page="home"] .content{gap:14px}.composer{border-radius:22px;background:#fff}.composer-head .avatar{width:44px;height:44px}.composer-head button{min-height:44px;border:1px solid #e8edf6;background:#f5f7fb;font-weight:700}.composer-actions{gap:4px}.composer-actions button,.composer-actions a{border-radius:12px;font-size:12px}.composer-actions button:hover,.composer-actions a:hover{background:#f4f7fb}.post{border-radius:20px;background:#fff;box-shadow:0 12px 36px rgba(20,38,72,.08)}.post header{padding:14px 16px 10px}.post header strong{font-size:14px}.post header small{color:#6b7280}.post>p{padding:0 16px 12px;margin:0;color:#1f2937;line-height:1.55;font-size:14px}.post-media{border-radius:0;background:#f2f4f7}.post-media img,.post-media video{display:block;width:100%;max-height:560px;object-fit:cover}.post-actions{margin:0 14px;padding:8px 0;border-top:1px solid #edf1f7;display:flex;gap:6px}.post-actions button,.post-actions a{flex:1;min-height:38px;border:0;border-radius:10px;background:transparent;color:#586174;font-size:12px;font-weight:800}.post-actions button:hover,.post-actions a:hover{background:#f3f6fb}.post-comments{margin:0 14px 14px;padding:12px;border-radius:14px;background:#f7f9fc}.post-comments form{display:flex;gap:8px}.post-comments input,.post-comments textarea{flex:1;min-height:38px;border:1px solid var(--line);border-radius:20px;padding:8px 12px;background:#fff}.post-comments .button{min-height:38px;border-radius:20px}.post.bg-sunrise,.post.bg-night,.post.bg-mint,.post.bg-royal,.post.bg-love,.post.bg-gold,.post.bg-sky,.post.bg-festival{padding-top:0;overflow:hidden}.post.bg-sunrise>p,.post.bg-night>p,.post.bg-mint>p,.post.bg-royal>p,.post.bg-love>p,.post.bg-gold>p,.post.bg-sky>p,.post.bg-festival>p{margin:0 14px 14px;padding:24px 16px;border-radius:18px;color:#fff;text-align:center;font-weight:900;font-size:19px}.post.bg-sunrise>p{background:linear-gradient(135deg,#ff7a18,#ffd166)}.post.bg-night>p{background:linear-gradient(135deg,#0f172a,#2563eb)}.post.bg-mint>p{background:linear-gradient(135deg,#059669,#34d399)}.post.bg-royal>p{background:linear-gradient(135deg,#4f46e5,#06b6d4)}.post.bg-love>p{background:linear-gradient(135deg,#e11d48,#fb7185)}.post.bg-gold>p{background:linear-gradient(135deg,#b7791f,#f6d365)}.post.bg-sky>p{background:linear-gradient(135deg,#0284c7,#7dd3fc)}.post.bg-festival>p{background:linear-gradient(135deg,#7c3aed,#f97316)}
.privacy-title{border:0}.privacy-center-form{display:grid;gap:16px}.privacy-hero{background:linear-gradient(135deg,#07152f,#2864ff);color:#fff;border:0}.privacy-hero p{color:#dbe6ff}.privacy-assurance-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.privacy-assurance-grid article{padding:15px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 10px 28px rgba(20,38,72,.06)}.privacy-assurance-grid i{color:var(--blue);font-size:18px}.privacy-assurance-grid b,.privacy-assurance-grid span{display:block}.privacy-assurance-grid b{margin:8px 0 4px;color:var(--navy);font-size:13px}.privacy-assurance-grid span{color:var(--muted);font-size:11px;line-height:1.45}.privacy-panel{padding:20px}.privacy-panel h3{margin:0 0 7px;color:var(--navy);font:800 18px Manrope}.privacy-panel p{margin:0 0 14px;color:var(--muted);font-size:12px;line-height:1.6}.privacy-panel label{display:grid;gap:7px;font-size:12px;font-weight:800;color:#46536a}.privacy-panel input,.privacy-panel select{min-height:45px;border:1px solid var(--line);border-radius:12px;padding:0 12px;background:#fff}.privacy-toggles label span{border-radius:14px}.privacy-item-list label{padding:10px;border:1px solid #edf1f7;border-radius:14px;background:#fbfcff}.privacy-sticky-save{position:sticky;bottom:76px;z-index:20;display:flex;justify-content:flex-end;padding:10px;border-radius:18px;background:rgba(255,255,255,.8);backdrop-filter:blur(12px)}
@media(max-width:1100px){.admin-settings-hero{grid-template-columns:1fr}.admin-setting-status-grid{grid-template-columns:repeat(2,1fr)}.admin-top{margin:-18px -12px 18px;padding:14px 12px}.admin-mobile-menu nav{grid-template-columns:repeat(2,1fr)}}
@media(max-width:800px){.admin-mobile-menu nav{grid-template-columns:1fr 1fr}.admin-setting-status-grid,.privacy-assurance-grid{grid-template-columns:1fr 1fr}.admin-settings-hero{padding:16px}.control-form{max-width:100%;padding:16px}.post-media img,.post-media video{max-height:470px}.post-actions{gap:2px}.post-actions button,.post-actions a{font-size:11px}.privacy-panel{padding:16px}.privacy-sticky-save{bottom:82px}.privacy-sticky-save .button{width:100%}}
@media(max-width:520px){.admin-mobile-menu nav,.admin-setting-status-grid,.privacy-assurance-grid{grid-template-columns:1fr}.admin-top{align-items:flex-start;gap:8px}.stat-grid{grid-template-columns:1fr}.post>p{font-size:13px}.post.bg-sunrise>p,.post.bg-night>p,.post.bg-mint>p,.post.bg-royal>p,.post.bg-love>p,.post.bg-gold>p,.post.bg-sky>p,.post.bg-festival>p{font-size:17px}.privacy-title .button{width:100%}}

/* 2026-06-19 timeline speed + Facebook style refinement */
.top-clock{display:none!important}
.smart-greeting-card{display:flex;align-items:center;gap:14px;background:linear-gradient(135deg,#e0f2fe,#fef3c7 45%,#fae8ff)!important;color:#0f172a!important;border:1px solid rgba(255,255,255,.85)!important;box-shadow:0 14px 38px rgba(30,64,175,.10)!important;min-height:112px}
.smart-greeting-card:before{content:"";position:absolute;inset:-40% auto auto -10%;width:190px;height:190px;border-radius:50%;background:rgba(255,255,255,.55);animation:pnFloatLight 6s ease-in-out infinite}
.smart-greeting-card .greeting-emoji{position:relative;z-index:1;display:grid;place-items:center;width:56px;height:56px;border-radius:18px;background:rgba(255,255,255,.72);font-size:30px;box-shadow:0 10px 24px rgba(15,23,42,.08);animation:pnEmojiWave 2.4s ease-in-out infinite}
.smart-greeting-card div{position:relative;z-index:1}.smart-greeting-card h2{margin:2px 0 4px;font-size:28px}.smart-greeting-card p{color:#475569!important;margin:0;font-weight:700}@keyframes pnEmojiWave{0%,100%{transform:rotate(0) scale(1)}50%{transform:rotate(8deg) scale(1.07)}}@keyframes pnFloatLight{0%,100%{transform:translate(0,0)}50%{transform:translate(28px,18px)}}
.post-stats{margin:0 16px;padding:10px 0;display:flex;align-items:center;justify-content:space-between;gap:10px;color:#65676b;font-size:13px;border-bottom:1px solid #edf1f7}.post-stats span,.post-stats a{display:inline-flex;align-items:center;gap:6px;color:#65676b}.post-stats b{font-weight:900;color:#334155}.post-stats i{color:#1877f2}.post-body-bg[class*="bg-"]{width:min(500px,calc(100% - 32px));min-height:min(500px,calc(100vw - 32px));aspect-ratio:1/1;margin:12px auto!important;padding:28px!important;display:flex;align-items:center;justify-content:center;text-align:center;font-size:clamp(20px,4vw,32px);font-weight:900;line-height:1.25;letter-spacing:-.02em;box-shadow:0 16px 40px rgba(15,23,42,.12);word-break:break-word;white-space:pre-wrap}.post-body-bg:not([class*="bg-"]){font-size:15px}.post header span{color:#65676b}.post-actions{border-top:0!important}.birthday-insight{overflow:hidden;background:linear-gradient(135deg,#fff7ed,#eff6ff)!important;border:1px solid #fed7aa!important}.birthday-insight-top{display:flex;align-items:center;gap:12px;margin-bottom:10px}.birthday-insight-top i{display:grid;place-items:center;width:42px;height:42px;border-radius:15px;background:#fb923c;color:#fff;font-size:20px}.birthday-insight-top span{display:block;color:#64748b;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.09em}.birthday-insight-top strong{display:block;color:#0f172a;font-size:18px}.birthday-insight p{margin:8px 0 12px;color:#475569;line-height:1.5;font-size:13px}.birthday-insight-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.birthday-insight-grid span{padding:10px;border-radius:14px;background:rgba(255,255,255,.72);text-align:center}.birthday-insight-grid b{display:block;color:#1877f2;font-size:20px}.birthday-insight-grid small{display:block;color:#64748b;font-size:10px;font-weight:900;text-transform:uppercase}.post,.composer,.right-sidebar .card{will-change:auto}.post-media{content-visibility:auto;contain-intrinsic-size:520px}
@media(max-width:800px){.smart-greeting-card{min-height:96px;padding:18px!important}.smart-greeting-card .greeting-emoji{width:48px;height:48px;font-size:26px}.smart-greeting-card h2{font-size:24px}.post-body-bg[class*="bg-"]{width:calc(100% - 20px);min-height:calc(100vw - 36px);padding:22px!important;font-size:clamp(19px,6vw,28px)}.post-stats{margin:0 12px;font-size:12px}.post header{align-items:flex-start}.post header>div{min-width:0}.post header strong,.post header span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}.right-sidebar{display:none}}


/* 2026-06-19 Deep UI polish: fast, mobile-safe, no functional rewrites */
.post-body-bg[class*="bg-"]{width:min(100%,500px)!important;min-height:500px!important;margin:12px auto!important;padding:34px!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;border-radius:20px!important;font-size:clamp(20px,4vw,34px)!important;font-weight:900!important;line-height:1.25!important;box-shadow:0 14px 40px rgba(15,23,42,.16)!important;overflow:hidden;word-break:break-word;background-size:cover!important;background-position:center!important}.post-body-bg:not([class*="bg-"]){font-size:15px;line-height:1.65}.bg-sunrise{color:#fff!important;background:linear-gradient(135deg,#ff7a18,#af002d 55%,#319197)!important}.bg-night{color:#fff!important;background:linear-gradient(135deg,#0f172a,#312e81,#7c3aed)!important}.bg-leaf{color:#fff!important;background:linear-gradient(135deg,#00b09b,#96c93d)!important}.bg-royal{color:#fff!important;background:linear-gradient(135deg,#1d4ed8,#9333ea,#f43f5e)!important}.bg-gold{color:#301707!important;background:linear-gradient(135deg,#facc15,#fb923c,#fde68a)!important}.bg-soft{color:#0f172a!important;background:linear-gradient(135deg,#f8fafc,#e0f2fe,#fce7f3)!important}.bg-default{color:#0f172a!important;background:linear-gradient(135deg,#eef2ff,#f8fafc)!important}
.mobile-bottom-nav a i,.bottom-nav a i{filter:drop-shadow(0 5px 8px rgba(15,23,42,.16));}.mobile-bottom-nav a:nth-child(1) i,.bottom-nav a:nth-child(1) i{color:#2563eb}.mobile-bottom-nav a:nth-child(2) i,.bottom-nav a:nth-child(2) i{color:#f97316}.mobile-bottom-nav a:nth-child(3) i,.bottom-nav a:nth-child(3) i{color:#22c55e}.mobile-bottom-nav a:nth-child(4) i,.bottom-nav a:nth-child(4) i{color:#ec4899}.mobile-bottom-nav a:nth-child(5) i,.bottom-nav a:nth-child(5) i{color:#8b5cf6}.mobile-bottom-nav a:nth-child(6) i,.bottom-nav a:nth-child(6) i{color:#06b6d4}.mobile-bottom-nav a.active i,.bottom-nav a.active i{transform:translateY(-2px) scale(1.08)}
.earn-heading h1,.jobs-smart-heading h1,.edit-profile-heading h1{letter-spacing:-.04em}.pro-earning-grid{grid-template-columns:repeat(auto-fit,minmax(185px,1fr))!important}.earning-task-card{display:grid!important;grid-template-columns:42px 1fr;gap:12px;align-items:start;background:linear-gradient(180deg,#fff,#f8fbff)!important;border:1px solid #e6ecf5!important}.earning-task-card i{width:42px;height:42px;display:grid;place-items:center;border-radius:15px;background:#eef4ff;color:#2563eb!important}.earning-task-card h3{margin:0 0 4px;color:#0f172a!important}.earning-task-card p{margin:0;color:#64748b;font-size:12px}.earning-task-card strong{grid-column:1/-1;display:inline-flex;width:max-content;padding:7px 11px;border-radius:999px;background:#ecfdf5;color:#047857!important}.reward-actions-pro{align-items:stretch}.daily-reward-card,.smart-spin-card{position:relative;overflow:hidden;background:linear-gradient(145deg,#ffffff,#f8fbff)!important;color:#0f172a!important;border:1px solid #e4eaf3!important}.reward-badge{display:inline-flex;align-items:center;gap:7px;margin-bottom:10px;padding:7px 10px;border-radius:999px;background:#eef2ff;color:#3730a3;font-weight:900;font-size:11px}.spin-mini-wheel{width:96px;height:96px;margin:0 auto 8px;position:relative;display:grid;place-items:center;border-radius:50%;background:conic-gradient(#2563eb 0 20%,#f97316 0 40%,#22c55e 0 60%,#ec4899 0 80%,#facc15 0);box-shadow:0 18px 40px rgba(37,99,235,.22)}.spin-mini-wheel:after{content:"";position:absolute;inset:13px;border-radius:50%;background:#fff}.spin-mini-wheel b{position:relative;z-index:1;color:#0f172a}.smart-spin-card.is-spinning .spin-mini-wheel{animation:spin 1s linear infinite}.spin-overlay{position:fixed;z-index:5000;inset:0;display:grid;place-items:center;background:rgba(15,23,42,.55);backdrop-filter:blur(8px)}.spin-modal{width:min(92vw,360px);padding:24px;text-align:center;border-radius:28px;background:#fff;box-shadow:0 30px 90px rgba(0,0,0,.30)}.spin-modal .spin-mini-wheel{width:160px;height:160px}.spin-modal h2{margin:12px 0 4px}.spin-modal p{margin:0;color:#64748b}
.community-profile,.community-post,.qa-list .card,.qa-form{border:1px solid #e4eaf3!important;box-shadow:0 10px 28px rgba(15,23,42,.06)!important}.community-tabs,.community-action-row{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.community-tabs a,.community-tabs button{min-height:38px;padding:9px 12px;border-radius:999px;background:#f1f5f9;color:#0f172a;font-weight:800}.qa-form{background:linear-gradient(180deg,#fff,#f8fbff)!important}.qa-list .card{display:grid;gap:10px}.group-strip,.community-card-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important}.community-hero{min-height:160px;background-size:cover;background-position:center}.community-profile-body{display:flex;gap:14px;align-items:flex-end;flex-wrap:wrap}.community-profile-body .button{white-space:nowrap}.smart-location-card{background:linear-gradient(135deg,#eef6ff,#fff)!important;border:1px solid #dbeafe!important}.smart-job-form{padding:22px!important;background:linear-gradient(180deg,#fff,#f8fbff)!important}.smart-job-form textarea{min-height:120px}.smart-jobs-list{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))!important}.smart-jobs-list article{position:relative;overflow:hidden;border:1px solid #e5edf7!important;background:#fff!important}.smart-jobs-list article:before{content:"";position:absolute;top:0;left:0;right:0;height:5px;background:linear-gradient(90deg,#2563eb,#06b6d4,#22c55e)}.job-type{letter-spacing:.04em}.profile-form.standalone-form{max-width:860px;margin:auto}.pro-profile-preview{display:flex;gap:14px;align-items:center;padding:16px;margin-bottom:14px;border-radius:18px;background:linear-gradient(135deg,#eef4ff,#fff)}.pro-profile-preview strong,.pro-profile-preview small{display:block}.profile-form label{font-weight:800;color:#0f172a}.profile-form input,.profile-form textarea,.profile-form select,.job-form input,.job-form textarea,.job-form select{border-radius:14px!important;border:1px solid #dbe3ee!important;background:#fff!important}.admin-dashboard-graph{margin:18px 0;padding:20px!important}.admin-graph-bars{display:grid;gap:14px}.admin-graph-row{display:grid;grid-template-columns:92px 1fr 60px;align-items:center;gap:10px}.admin-graph-row span{font-weight:800;color:#334155}.admin-graph-row b{height:18px;min-width:6%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#06b6d4);box-shadow:0 8px 18px rgba(37,99,235,.18)}.admin-graph-row em{font-style:normal;font-weight:900;text-align:right}.admin-sidebar,.admin-main{scrollbar-width:thin}.admin-nav-group[open] summary{background:#eef4ff}.admin-smart-nav a{border-radius:14px}.admin-smart-nav a.active{background:linear-gradient(135deg,#2563eb,#06b6d4)!important;color:#fff!important}.admin-smart-nav a.active i{color:#fff!important}.admin-active-systems span{white-space:nowrap}.control-form.card,.admin-table.card,.moderation-card.card{border:1px solid #e4eaf3!important;box-shadow:0 10px 26px rgba(15,23,42,.06)!important}
@media(max-width:760px){.post-body-bg[class*="bg-"]{width:100%!important;min-height:min(500px,calc(100vw - 32px))!important;padding:24px!important;border-radius:18px!important}.reward-actions{grid-template-columns:1fr!important}.admin-graph-row{grid-template-columns:72px 1fr 48px}.community-profile-body{align-items:center}.community-hero{min-height:118px}.smart-jobs-list{grid-template-columns:1fr!important}.profile-form.standalone-form{padding:16px!important}.pro-profile-preview{align-items:center}.earning-task-card{grid-template-columns:38px 1fr}.mobile-bottom-nav,.bottom-nav{box-shadow:0 -10px 30px rgba(15,23,42,.12)}}


/* 2026-06-19 Admin Fresh Pro + Sticky User Header Patch */
.admin-active-systems{display:none!important}
.admin-body{background:#eef3fb!important;color:#0f172a!important}
.admin-sidebar{background:linear-gradient(180deg,#08142d 0%,#0c1f45 52%,#07111f 100%)!important;border-right:0!important;box-shadow:16px 0 48px rgba(2,6,23,.22)!important;padding:18px 12px!important;z-index:90!important}
.admin-brand{background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.12)!important;color:#fff!important;border-radius:22px!important;padding:14px!important;margin:0 6px 18px!important;box-shadow:0 18px 45px rgba(0,0,0,.18)!important}
.admin-brand small{display:block;color:#93c5fd!important;font-size:10px;letter-spacing:.08em;text-transform:uppercase;margin-top:2px}.admin-brand .brand-mark{background:linear-gradient(135deg,#2563eb,#06b6d4)!important;color:#fff!important}
.admin-smart-nav{display:grid!important;gap:10px!important;padding:0 4px 22px!important;overflow-y:auto!important;max-height:calc(100vh - 118px)!important}.admin-nav-group{border:1px solid rgba(255,255,255,.08)!important;border-radius:18px!important;background:rgba(255,255,255,.04)!important;overflow:hidden!important}.admin-nav-group summary{display:flex!important;align-items:center!important;justify-content:space-between!important;padding:12px 13px!important;color:#cbd5e1!important;font-weight:900!important;font-size:11px!important;text-transform:uppercase!important;letter-spacing:.07em!important;cursor:pointer!important;background:rgba(255,255,255,.03)!important}.admin-nav-group summary::-webkit-details-marker{display:none!important}.admin-nav-group[open] summary{background:rgba(37,99,235,.22)!important;color:#fff!important}.admin-nav-group a{display:flex!important;align-items:center!important;gap:10px!important;margin:5px 7px!important;padding:10px 11px!important;color:#dbeafe!important;text-decoration:none!important;border-radius:14px!important;font-size:13px!important;font-weight:800!important;line-height:1.15!important;transition:transform .15s ease,background .15s ease!important}.admin-nav-group a i{width:18px;text-align:center;color:#7dd3fc!important}.admin-nav-group a:hover{background:rgba(255,255,255,.1)!important;transform:translateX(2px)!important}.admin-nav-group a.active{background:linear-gradient(135deg,#2563eb,#06b6d4)!important;color:#fff!important;box-shadow:0 12px 26px rgba(37,99,235,.35)!important}.admin-nav-group a.active i{color:#fff!important}.admin-nav-group a b{margin-left:auto;background:#ef4444;color:#fff;border-radius:999px;min-width:21px;height:21px;display:grid;place-items:center;font-size:11px}.admin-exit{margin:8px 8px 4px!important;padding:12px 14px!important;border-radius:16px!important;background:rgba(255,255,255,.08)!important;color:#fff!important;font-weight:900!important;display:flex!important;align-items:center!important;gap:10px!important;text-decoration:none!important}
.admin-main{background:transparent!important;min-height:100vh!important}.admin-top{position:sticky!important;top:0!important;z-index:75!important;margin:-30px -30px 26px!important;padding:18px 30px!important;background:rgba(238,243,251,.88)!important;backdrop-filter:blur(18px)!important;border-bottom:1px solid rgba(148,163,184,.25)!important;box-shadow:0 16px 34px rgba(15,23,42,.06)!important}.admin-top h1{font:900 30px/1.1 Manrope,Inter,sans-serif!important;color:#06142f!important;margin:2px 0 0!important}.admin-top .eyebrow{color:#2563eb!important;font-weight:900!important;letter-spacing:.08em!important;text-transform:uppercase!important}.admin-user{background:#fff!important;border:1px solid #e2e8f0!important;border-radius:18px!important;padding:9px 12px!important;box-shadow:0 12px 30px rgba(15,23,42,.08)!important}.admin-user>span{background:linear-gradient(135deg,#2563eb,#0ea5e9)!important;color:#fff!important}.admin-body .card,.admin-body .stat-grid article,.admin-body .admin-table,.admin-body .control-form{border:1px solid #dbe5f2!important;background:rgba(255,255,255,.96)!important;border-radius:24px!important;box-shadow:0 14px 36px rgba(15,23,42,.07)!important}.stat-grid{gap:16px!important}.stat-grid article{position:relative!important;overflow:hidden!important}.stat-grid article:before{content:"";position:absolute;inset:0 0 auto 0;height:4px;background:linear-gradient(90deg,#2563eb,#06b6d4,#22c55e)}.stat-grid article i{background:linear-gradient(135deg,#eff6ff,#dbeafe)!important;color:#2563eb!important;border-radius:16px!important;width:46px!important;height:46px!important;display:grid!important;place-items:center!important}.admin-command-bar{display:flex!important;flex-wrap:wrap!important;gap:10px!important;align-items:center!important}.admin-command-bar form{margin:0!important}.admin-body .button,.admin-body button.button{border-radius:14px!important;background:linear-gradient(135deg,#2563eb,#0ea5e9)!important;box-shadow:0 10px 22px rgba(37,99,235,.2)!important}.admin-body .danger-button{border-radius:14px!important}.admin-dashboard-graph{padding:22px!important}.admin-graph-row b{background:linear-gradient(90deg,#2563eb,#06b6d4,#22c55e)!important}.admin-mobile-menu{position:sticky!important;top:0!important;z-index:95!important;margin:0!important;border-radius:0!important;border:0!important;border-bottom:1px solid #dbe5f2!important;background:rgba(255,255,255,.96)!important;box-shadow:0 12px 28px rgba(15,23,42,.1)!important}.admin-mobile-menu summary{padding:13px 16px!important;list-style:none!important}.admin-mobile-menu summary::-webkit-details-marker{display:none!important}.admin-mobile-menu nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;padding:0 12px 12px!important}.admin-mobile-menu a{display:flex!important;align-items:center!important;justify-content:center!important;min-height:38px!important;background:#f1f5f9!important;color:#0f172a!important;border-radius:12px!important;text-decoration:none!important;font-weight:900!important}
.topbar{position:relative!important;top:auto!important;z-index:1000!important;background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px)!important;-webkit-backdrop-filter:blur(16px)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 10px 28px rgba(15,23,42,.08)!important}.topbar .search input{background:#f8fafc!important}.topbar a,.topbar button{touch-action:manipulation}
@media(max-width:1100px){.admin-sidebar{display:none!important}.admin-main{padding-top:0!important}.admin-top{margin:0 -12px 18px!important;padding:14px 12px!important}.admin-mobile-menu{display:block!important}.admin-top h1{font-size:24px!important}}
@media(min-width:1101px){.admin-mobile-menu{display:none!important}.admin-sidebar{display:flex!important}.admin-main{margin-left:280px!important}}
@media(max-width:620px){.admin-mobile-menu nav{grid-template-columns:1fr!important}.admin-top{align-items:flex-start!important;gap:10px!important}.admin-user{width:100%!important}.stat-grid{grid-template-columns:1fr!important}.admin-command-bar .button,.admin-command-bar .danger-button,.admin-command-bar form{width:100%!important}.admin-command-bar button,.admin-command-bar a{width:100%!important;justify-content:center!important}.topbar{min-height:58px!important}.topbar .brand strong{font-size:15px!important}}

/* 2026-06-19 Admin Easy Category Settings Redesign */
.admin-body{background:#f4f7fb!important;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important}.admin-sidebar{background:#ffffff!important;color:#0f172a!important;border-right:1px solid #e5edf6!important;box-shadow:10px 0 34px rgba(15,23,42,.06)!important;width:282px!important}.admin-brand{background:linear-gradient(135deg,#eef6ff,#ffffff)!important;color:#0f172a!important;border:1px solid #e5edf6!important}.admin-brand small{color:#64748b!important}.admin-smart-nav{max-height:calc(100vh - 120px)!important;padding-bottom:16px!important}.admin-nav-group{background:#f8fbff!important;border:1px solid #e5edf6!important;border-radius:18px!important;margin-bottom:8px!important}.admin-nav-group summary{background:#fff!important;color:#475569!important;border-bottom:1px solid transparent!important}.admin-nav-group[open] summary{background:#eef6ff!important;color:#0f172a!important;border-bottom-color:#e5edf6!important}.admin-nav-group a{color:#334155!important;background:transparent!important}.admin-nav-group a i{color:#2563eb!important}.admin-nav-group a:hover{background:#eef6ff!important;transform:none!important}.admin-nav-group a.active{background:linear-gradient(135deg,#1d4ed8,#0ea5e9)!important;color:#fff!important}.admin-exit{background:#f1f5f9!important;color:#0f172a!important;border:1px solid #e2e8f0!important}.admin-main{background:#f4f7fb!important}.admin-top{background:rgba(244,247,251,.92)!important;border-bottom:1px solid #e5edf6!important}.admin-top h1{font-size:28px!important}.admin-body .card,.admin-body .stat-grid article,.admin-body .control-form,.admin-body .admin-table{border-radius:20px!important;border:1px solid #e2eaf4!important;box-shadow:0 8px 24px rgba(15,23,42,.055)!important}.admin-body input,.admin-body select,.admin-body textarea{border-radius:13px!important;border:1px solid #d8e2ef!important;background:#fff!important;color:#0f172a!important}.admin-body input:focus,.admin-body select:focus,.admin-body textarea:focus{outline:none!important;border-color:#2563eb!important;box-shadow:0 0 0 4px rgba(37,99,235,.10)!important}.admin-settings-shell{display:grid;gap:18px}.admin-settings-hero{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;padding:22px!important;background:linear-gradient(135deg,#ffffff,#eef6ff)!important}.admin-settings-hero h2{margin:4px 0 8px!important;font-size:25px!important}.admin-settings-hero p{margin:0!important;color:#64748b!important;max-width:680px!important}.settings-live-mini{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.settings-live-mini span{display:flex;align-items:center;gap:6px;padding:8px 10px;background:#fff;border:1px solid #dbeafe;border-radius:999px;font-size:12px;font-weight:900;color:#334155}.settings-category-nav{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}.settings-category-nav a{display:grid;grid-template-columns:42px 1fr;gap:10px;align-items:center;padding:14px;background:#fff;border:1px solid #e2eaf4;border-radius:18px;text-decoration:none;color:#0f172a;box-shadow:0 8px 22px rgba(15,23,42,.045);transition:transform .15s ease,border-color .15s ease}.settings-category-nav a:hover{transform:translateY(-1px);border-color:#93c5fd}.settings-category-nav a.active{background:linear-gradient(135deg,#1d4ed8,#0ea5e9);color:#fff;border-color:transparent;box-shadow:0 14px 30px rgba(37,99,235,.24)}.settings-category-nav i{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;background:#eff6ff;color:#2563eb;font-size:18px}.settings-category-nav a.active i{background:rgba(255,255,255,.18);color:#fff}.settings-category-nav strong{display:block;font-size:14px}.settings-category-nav small{display:block;grid-column:2;color:#64748b;font-size:11px;line-height:1.35;margin-top:-6px}.settings-category-nav a.active small{color:#dbeafe}.setting-panel-pro{padding:0!important;overflow:hidden}.setting-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:20px 22px;background:linear-gradient(135deg,#fff,#f8fbff);border-bottom:1px solid #e2eaf4}.setting-panel-head h2{margin:0 0 6px!important;font-size:22px!important}.setting-panel-head p{margin:0!important;color:#64748b!important}.setting-grid-form{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;padding:20px 22px!important}.setting-row-pro{display:grid!important;gap:8px!important;margin:0!important;padding:14px!important;background:#f8fbff!important;border:1px solid #e2eaf4!important;border-radius:17px!important}.setting-row-pro.wide{grid-column:1/-1!important}.setting-row-pro span{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important}.setting-row-pro b{font-size:13px!important;color:#0f172a!important}.setting-row-pro small{display:block!important;color:#64748b!important;font-size:11px!important;font-weight:700!important;line-height:1.35!important}.setting-status{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:64px!important;padding:5px 8px!important;border-radius:999px!important;font-size:10px!important;font-weight:1000!important;text-transform:uppercase!important;letter-spacing:.04em!important}.setting-status.on{background:#dcfce7!important;color:#166534!important}.setting-status.off{background:#fee2e2!important;color:#991b1b!important}.setting-save{grid-column:1/-1!important;justify-self:start!important;padding:12px 18px!important}.admin-maintenance-actions{display:flex;flex-wrap:wrap;gap:10px;padding:0 22px 22px}.admin-maintenance-actions form{margin:0!important}.admin-mobile-menu{background:#fff!important}.admin-mobile-menu nav{max-height:70vh!important;overflow:auto!important}.admin-bottom-nav{box-shadow:0 -10px 28px rgba(15,23,42,.08)!important}
@media(min-width:1101px){.admin-main{margin-left:282px!important;padding:30px!important}.admin-sidebar{display:flex!important;flex-direction:column!important;position:fixed!important;inset:0 auto 0 0!important;overflow:hidden!important}.admin-smart-nav{overflow:auto!important}.admin-top{margin:-30px -30px 26px!important}}
@media(max-width:980px){.settings-category-nav{grid-template-columns:repeat(2,minmax(0,1fr))!important}.setting-grid-form{grid-template-columns:1fr!important}.settings-live-mini{justify-content:flex-start}.admin-settings-hero{align-items:flex-start!important;flex-direction:column!important}}
@media(max-width:620px){.settings-category-nav{grid-template-columns:1fr!important}.settings-category-nav a{grid-template-columns:38px 1fr!important;padding:12px!important}.settings-category-nav i{width:38px;height:38px}.setting-panel-head,.setting-grid-form{padding:16px!important}.admin-maintenance-actions{padding:0 16px 16px;display:grid}.admin-maintenance-actions button,.admin-maintenance-actions form{width:100%!important}.admin-top h1{font-size:22px!important}.admin-user{display:flex!important}.admin-body .table-scroll{overflow-x:auto!important}}

/* 2026-06-19 Facebook Admin final redesign */
body.admin-body{--admin-blue:#1877f2;--admin-bg:#f0f2f5;--admin-card:#fff;--admin-text:#050505;--admin-muted:#65676b;--admin-line:#dadde1;--admin-soft:#e7f3ff;--admin-hover:#f2f3f5;background:var(--admin-bg)!important;color:var(--admin-text)!important;font-family:Inter,"Segoe UI",Arial,sans-serif!important;min-height:100vh!important;padding-left:0!important}
body.admin-body .admin-sidebar{width:280px!important;background:#fff!important;border-right:1px solid var(--admin-line)!important;box-shadow:none!important;padding:12px!important;display:flex!important;gap:12px!important;overflow:hidden!important;z-index:1200!important}
body.admin-body .admin-brand{height:56px!important;padding:8px 10px!important;border:0!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important;color:var(--admin-text)!important;display:flex!important;align-items:center!important;gap:10px!important}
body.admin-body .admin-brand .brand-mark{width:40px!important;height:40px!important;border-radius:50%!important;background:var(--admin-blue)!important;color:#fff!important;font-weight:900!important}
body.admin-body .admin-brand span:last-child{display:flex!important;flex-direction:column!important;font-size:19px!important;font-weight:900!important;line-height:1.05!important}
body.admin-body .admin-brand small{margin-top:3px!important;color:var(--admin-muted)!important;font-size:10px!important;letter-spacing:.08em!important;text-transform:uppercase!important}
body.admin-body .admin-smart-nav{display:flex!important;flex-direction:column!important;gap:4px!important;overflow:auto!important;max-height:calc(100vh - 132px)!important;padding:4px 0 10px!important;scrollbar-width:thin!important}
body.admin-body .admin-nav-group{margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
body.admin-body .admin-nav-group summary{height:auto!important;min-height:30px!important;padding:8px 10px 4px!important;background:transparent!important;border:0!important;color:var(--admin-muted)!important;font-size:12px!important;font-weight:900!important;letter-spacing:.03em!important;text-transform:uppercase!important;display:flex!important;align-items:center!important;justify-content:space-between!important;cursor:pointer!important;list-style:none!important}
body.admin-body .admin-nav-group summary::-webkit-details-marker{display:none!important}
body.admin-body .admin-nav-group summary i{font-size:10px!important;color:#8a8d91!important;transition:transform .15s ease!important}
body.admin-body .admin-nav-group[open] summary i{transform:rotate(180deg)!important}
body.admin-body .admin-nav-group a{min-height:42px!important;margin:1px 0!important;padding:8px 10px!important;border-radius:10px!important;background:transparent!important;color:var(--admin-text)!important;display:flex!important;align-items:center!important;gap:10px!important;text-decoration:none!important;font-size:14px!important;font-weight:700!important;letter-spacing:0!important;box-shadow:none!important;transform:none!important}
body.admin-body .admin-nav-group a i{width:28px!important;height:28px!important;border-radius:50%!important;display:grid!important;place-items:center!important;background:#e4e6eb!important;color:#050505!important;font-size:14px!important;flex:0 0 28px!important}
body.admin-body .admin-nav-group a:hover{background:var(--admin-hover)!important;color:var(--admin-text)!important}
body.admin-body .admin-nav-group a.active{background:var(--admin-soft)!important;color:var(--admin-blue)!important;font-weight:900!important}
body.admin-body .admin-nav-group a.active i{background:var(--admin-blue)!important;color:#fff!important}
body.admin-body .admin-nav-group a b{margin-left:auto!important;background:#e41e3f!important;color:#fff!important;min-width:20px!important;height:20px!important;border-radius:999px!important;display:grid!important;place-items:center!important;font-size:11px!important;padding:0 5px!important}
body.admin-body .admin-exit{margin-top:auto!important;min-height:42px!important;border:0!important;border-radius:10px!important;background:#f2f3f5!important;color:#050505!important;font-weight:800!important;display:flex!important;align-items:center!important;gap:10px!important;justify-content:flex-start!important;padding:10px!important;box-shadow:none!important;text-decoration:none!important}
body.admin-body .admin-main{margin-left:280px!important;padding:0!important;background:var(--admin-bg)!important;min-height:100vh!important;width:calc(100% - 280px)!important}
body.admin-body .admin-top{position:sticky!important;top:0!important;z-index:900!important;margin:0!important;min-height:72px!important;padding:10px 24px!important;background:rgba(255,255,255,.96)!important;backdrop-filter:blur(14px)!important;-webkit-backdrop-filter:blur(14px)!important;border-bottom:1px solid var(--admin-line)!important;box-shadow:0 1px 2px rgba(0,0,0,.08)!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;align-items:center!important;gap:12px!important;border-radius:0!important}
body.admin-body .admin-top .eyebrow{color:var(--admin-blue)!important;font-size:11px!important;font-weight:900!important;letter-spacing:.05em!important;text-transform:uppercase!important}
body.admin-body .admin-top h1{margin:2px 0 0!important;font-size:26px!important;line-height:1.1!important;color:#050505!important;letter-spacing:-.02em!important}
body.admin-body .theme-toggle{width:42px!important;height:42px!important;border-radius:50%!important;border:0!important;background:#e4e6eb!important;color:#050505!important;box-shadow:none!important;display:grid!important;place-items:center!important}
body.admin-body .admin-user{height:48px!important;padding:4px 10px 4px 4px!important;background:#fff!important;border:1px solid var(--admin-line)!important;border-radius:999px!important;display:flex!important;align-items:center!important;gap:9px!important;box-shadow:none!important;min-width:0!important}
body.admin-body .admin-user>span{width:40px!important;height:40px!important;border-radius:50%!important;background:var(--admin-blue)!important;color:#fff!important;display:grid!important;place-items:center!important;font-weight:900!important}
body.admin-body .admin-user p{margin:0!important;line-height:1.1!important}.admin-user strong{font-size:13px!important}.admin-user small{font-size:11px!important;color:var(--admin-muted)!important}
body.admin-body .flash{margin:14px 24px!important;border-radius:10px!important;border:0!important;box-shadow:0 1px 2px rgba(0,0,0,.10)!important}
body.admin-body .stat-grid{padding:22px 24px 8px!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important}
body.admin-body .stat-grid article{min-height:112px!important;padding:18px!important;border:0!important;border-radius:14px!important;background:#fff!important;box-shadow:0 1px 2px rgba(0,0,0,.12)!important;display:flex!important;align-items:center!important;gap:14px!important;position:relative!important;overflow:hidden!important}
body.admin-body .stat-grid article:before{content:"";position:absolute;inset:0 0 auto 0;height:4px;background:var(--admin-blue)!important}
body.admin-body .stat-grid article i{width:46px!important;height:46px!important;border-radius:50%!important;background:var(--admin-soft)!important;color:var(--admin-blue)!important;display:grid!important;place-items:center!important;font-size:18px!important;flex:0 0 46px!important}
body.admin-body .stat-grid article span{display:block!important;color:var(--admin-muted)!important;font-size:12px!important;font-weight:700!important}.stat-grid article strong{display:block!important;margin-top:3px!important;color:#050505!important;font-size:26px!important;font-weight:900!important;letter-spacing:-.03em!important}
body.admin-body .card,body.admin-body .admin-table,body.admin-body .control-form{border:0!important;border-radius:14px!important;background:#fff!important;box-shadow:0 1px 2px rgba(0,0,0,.12)!important;color:#050505!important}
body.admin-body .admin-dashboard-graph,body.admin-body .admin-command-bar,body.admin-body .admin-panels,body.admin-body .dashboard-activity,body.admin-body .admin-settings-shell,body.admin-body>main>section:not(.stat-grid){margin:16px 24px!important}
body.admin-body .admin-dashboard-graph{padding:18px!important}.admin-dashboard-graph .table-head h2{font-size:20px!important;margin:0!important}.admin-dashboard-graph .table-head span{color:var(--admin-muted)!important;font-weight:700!important}
body.admin-body .admin-graph-bars{display:grid!important;gap:12px!important;margin-top:12px!important}.admin-graph-row{display:grid!important;grid-template-columns:110px minmax(0,1fr) 52px!important;align-items:center!important;gap:12px!important}.admin-graph-row span{font-weight:800!important;color:#1c1e21!important}.admin-graph-row b{height:12px!important;border-radius:999px!important;background:linear-gradient(90deg,#1877f2,#42b72a)!important;box-shadow:none!important}.admin-graph-row em{text-align:right!important;font-style:normal!important;font-weight:900!important}
body.admin-body .admin-command-bar{display:flex!important;gap:10px!important;flex-wrap:wrap!important;align-items:center!important;padding:14px!important}.admin-command-bar form{margin:0!important}
body.admin-body .button,body.admin-body button.button{min-height:40px!important;border-radius:8px!important;background:var(--admin-blue)!important;color:#fff!important;box-shadow:none!important;font-weight:900!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;border:0!important;padding:10px 14px!important}.admin-body .button:hover{filter:brightness(.96)!important}.admin-body .danger-button{min-height:40px!important;border:0!important;border-radius:8px!important;background:#e41e3f!important;color:#fff!important;box-shadow:none!important;font-weight:900!important;padding:10px 14px!important}
body.admin-body .admin-panels{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}.admin-panels>.card{padding:16px!important}.admin-panels h2,.admin-table h2,.control-form h2{margin:0 0 12px!important;font-size:20px!important;color:#050505!important}
body.admin-body .quick-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.quick-actions a{min-height:48px!important;padding:12px!important;border-radius:10px!important;background:#f2f3f5!important;color:#050505!important;text-decoration:none!important;font-weight:900!important;display:flex!important;align-items:center!important;gap:10px!important}.quick-actions a i{width:30px!important;height:30px!important;border-radius:50%!important;background:#e7f3ff!important;color:#1877f2!important;display:grid!important;place-items:center!important}
body.admin-body .health-list{display:grid!important;gap:10px!important;margin:0!important;padding:0!important;list-style:none!important}.health-list li{display:flex!important;align-items:center!important;justify-content:space-between!important;padding:11px 12px!important;background:#f2f3f5!important;border-radius:10px!important}.health-list b{border-radius:999px!important;padding:5px 9px!important;background:#e4e6eb!important;color:#050505!important;font-size:11px!important}.health-list b.ok{background:#e6f4ea!important;color:#137333!important}
body.admin-body .table-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:16px 16px 0!important}.admin-table .table-scroll{padding:8px 16px 16px!important;overflow:auto!important}.admin-table table{width:100%!important;border-collapse:separate!important;border-spacing:0 8px!important}.admin-table th{color:#65676b!important;font-size:12px!important;text-align:left!important;padding:8px!important}.admin-table td{background:#f8f9fb!important;padding:12px 8px!important;border:0!important}.admin-table tr td:first-child{border-radius:10px 0 0 10px!important}.admin-table tr td:last-child{border-radius:0 10px 10px 0!important}
body.admin-body input,body.admin-body select,body.admin-body textarea{width:100%!important;min-height:42px!important;border:1px solid #ccd0d5!important;border-radius:8px!important;background:#fff!important;color:#050505!important;padding:10px 12px!important;font:inherit!important;box-shadow:none!important}body.admin-body textarea{min-height:108px!important}body.admin-body input:focus,body.admin-body select:focus,body.admin-body textarea:focus{outline:none!important;border-color:#1877f2!important;box-shadow:0 0 0 2px #e7f3ff!important}
body.admin-body label{font-weight:800!important;color:#1c1e21!important;font-size:13px!important}.control-form label{display:grid!important;gap:7px!important;margin-bottom:12px!important}
body.admin-body .admin-settings-shell{display:grid!important;gap:14px!important}.admin-settings-hero{margin:0!important;padding:18px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;background:#fff!important}.admin-settings-hero h2{font-size:24px!important;margin:2px 0 6px!important}.admin-settings-hero p{margin:0!important;color:#65676b!important;max-width:720px!important}.settings-live-mini{display:flex!important;flex-wrap:wrap!important;gap:8px!important}.settings-live-mini span{border:0!important;border-radius:999px!important;background:#f2f3f5!important;color:#050505!important;padding:7px 10px!important;font-size:12px!important;font-weight:900!important}
body.admin-body .settings-category-nav{display:flex!important;gap:8px!important;overflow-x:auto!important;padding:2px 0 4px!important;scrollbar-width:none!important}.settings-category-nav::-webkit-scrollbar{display:none!important}.settings-category-nav a{min-width:170px!important;display:flex!important;align-items:center!important;gap:10px!important;padding:10px!important;border:0!important;border-radius:12px!important;background:#fff!important;color:#050505!important;text-decoration:none!important;box-shadow:0 1px 2px rgba(0,0,0,.12)!important;transform:none!important}.settings-category-nav a.active{background:#e7f3ff!important;color:#1877f2!important;box-shadow:inset 0 0 0 2px #1877f2!important}.settings-category-nav i{width:36px!important;height:36px!important;border-radius:50%!important;background:#e4e6eb!important;color:#050505!important;display:grid!important;place-items:center!important;flex:0 0 36px!important}.settings-category-nav a.active i{background:#1877f2!important;color:#fff!important}.settings-category-nav strong{font-size:13px!important}.settings-category-nav small{display:none!important}
body.admin-body .setting-panel-pro{padding:0!important;overflow:hidden!important}.setting-panel-head{padding:16px!important;background:#fff!important;border-bottom:1px solid #dadde1!important}.setting-panel-head h2{font-size:20px!important;margin:0 0 4px!important}.setting-panel-head p{margin:0!important;color:#65676b!important}.setting-grid-form{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;padding:16px!important}.setting-row-pro{display:grid!important;gap:8px!important;margin:0!important;padding:12px!important;border:1px solid #dadde1!important;border-radius:12px!important;background:#fff!important}.setting-row-pro.wide{grid-column:1/-1!important}.setting-row-pro span{display:grid!important;grid-template-columns:1fr auto!important;gap:8px!important;align-items:start!important}.setting-row-pro b{font-size:13px!important;color:#050505!important}.setting-row-pro small{display:block!important;color:#65676b!important;font-size:11px!important;line-height:1.35!important}.setting-status{display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:999px!important;padding:4px 8px!important;font-size:10px!important;font-weight:900!important;text-transform:uppercase!important;white-space:nowrap!important}.setting-status.on{background:#e6f4ea!important;color:#137333!important}.setting-status.off{background:#fce8e6!important;color:#a50e0e!important}.setting-save{grid-column:1/-1!important;justify-self:start!important}.admin-maintenance-actions{display:flex!important;gap:10px!important;flex-wrap:wrap!important;padding:0 16px 16px!important}.admin-maintenance-actions form{margin:0!important}
body.admin-body .admin-mobile-menu{display:none!important;position:sticky!important;top:0!important;z-index:1300!important;background:#fff!important;border-bottom:1px solid #dadde1!important;border-radius:0!important;box-shadow:0 1px 2px rgba(0,0,0,.08)!important;margin:0!important}.admin-mobile-menu summary{list-style:none!important;padding:12px 14px!important;font-weight:900!important;display:flex!important;align-items:center!important;gap:10px!important}.admin-mobile-menu summary::-webkit-details-marker{display:none!important}.admin-mobile-menu nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;padding:0 12px 12px!important;max-height:72vh!important;overflow:auto!important}.admin-mobile-menu a{min-height:40px!important;border-radius:10px!important;background:#f2f3f5!important;color:#050505!important;text-decoration:none!important;display:flex!important;align-items:center!important;justify-content:center!important;font-weight:900!important}
body.admin-body .admin-bottom-nav{display:none!important}
@media(max-width:1180px){body.admin-body .admin-sidebar{display:none!important}body.admin-body .admin-main{margin-left:0!important}body.admin-body .admin-mobile-menu{display:block!important}body.admin-body .admin-top{top:45px!important}}
@media(max-width:900px){body.admin-body .stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.admin-body .admin-panels{grid-template-columns:1fr!important}body.admin-body .setting-grid-form{grid-template-columns:1fr!important}body.admin-body .admin-user p{display:none!important}body.admin-body .admin-user{width:48px!important;padding:4px!important}}
@media(max-width:620px){body.admin-body .admin-top{padding:10px 12px!important;grid-template-columns:1fr auto!important}body.admin-body .theme-toggle{display:none!important}body.admin-body .admin-top h1{font-size:22px!important}body.admin-body .stat-grid{grid-template-columns:1fr!important;padding:12px!important;gap:10px!important}body.admin-body .stat-grid article{min-height:92px!important}body.admin-body .admin-dashboard-graph,body.admin-body .admin-command-bar,body.admin-body .admin-panels,body.admin-body .dashboard-activity,body.admin-body .admin-settings-shell,body.admin-body>main>section:not(.stat-grid){margin:12px!important}.admin-graph-row{grid-template-columns:82px minmax(0,1fr) 42px!important}.quick-actions{grid-template-columns:1fr!important}.admin-mobile-menu nav{grid-template-columns:1fr!important}.settings-category-nav a{min-width:145px!important}.admin-settings-hero{display:block!important}.settings-live-mini{margin-top:12px!important}.admin-command-bar .button,.admin-command-bar .danger-button,.admin-command-bar form{width:100%!important}.admin-command-bar button,.admin-command-bar a{width:100%!important}}

/* v21 social-app polish: mobile-first Facebook shell, Instagram-style reels/stories, and safer responsive admin controls. */
body[data-page]{background:#f0f2f5;color:#1c1e21}
.topbar{height:64px;border-bottom:1px solid #dddfe2;box-shadow:0 1px 2px rgba(0,0,0,.06)}
.app-layout{grid-template-columns:minmax(210px,240px) minmax(0,680px) minmax(260px,320px);align-items:start}
.left-sidebar nav a,.top-actions>a:not(.mini-avatar){border-radius:999px}
.composer,.post,.news-card,.product-card,.fb-composer,.community-post-card{border-radius:12px!important;box-shadow:0 1px 2px rgba(0,0,0,.10)!important;border:0!important}
.post header,.post-author{align-items:center}
.post-media,.community-post-card video{width:100%;max-height:70vh;object-fit:cover;background:#111}
.feed{content-visibility:auto;contain-intrinsic-size:1000px}
.timeline-news,.suggestion-strip,.people-suggestions,.page-suggestions,.group-suggestions{display:grid;gap:12px}
.suggestion-card{padding:14px;display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center}
.mixed-feed,.feed-suggestions{padding:16px}
.mixed-feed-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.mixed-card{overflow:hidden;display:grid;gap:10px;border:1px solid #e4e6eb;border-radius:12px;background:#fff}
.mixed-card>img,.mixed-card>video{width:100%;aspect-ratio:16/10;object-fit:cover;background:#050505}
.mixed-card>div,.mixed-card>p,.mixed-card>a{margin:0 12px}.mixed-card>div{padding:12px}.mixed-card h3{margin:4px 0;font-size:16px;line-height:1.25}.mixed-card p{color:#65676b;font-size:12px;line-height:1.45}.mixed-card small{color:#65676b;font-size:11px}.mixed-card strong{display:block;margin:8px 0}.mixed-community{padding:12px}.mixed-community>img,.mixed-community>video{border-radius:10px}.mixed-community .post-author{margin:0}.mixed-community>a{justify-self:start;margin-bottom:12px}
.timeline-product-card header .avatar{background:linear-gradient(145deg,#16a34a,#22c55e)}.timeline-news-card header .avatar{background:linear-gradient(145deg,#f97316,#ef4444)}.timeline-product-card .post-stats a,.timeline-news-card .post-stats a{color:#1877f2;font-weight:900}.timeline-suggestion-rail{padding:14px;overflow:hidden}.timeline-suggestion-rail .section-title-row{margin-bottom:10px}.timeline-suggestion-rail h2{font-size:17px;margin:2px 0}.suggestion-scroll-row{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x proximity;padding:2px 0 8px;scrollbar-width:thin}.suggestion-mini-card{scroll-snap-align:start;min-width:150px;max-width:160px;display:grid;justify-items:center;gap:7px;padding:14px 10px;border:1px solid #e4e6eb;border-radius:14px;background:#fff;text-align:center}.suggestion-mini-card .avatar{width:56px;height:56px}.suggestion-mini-card strong{max-width:100%;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.suggestion-mini-card small{max-width:100%;color:#65676b;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.suggestion-mini-card form,.suggestion-mini-card button{width:100%}
.profile-feed{display:grid;gap:14px}.profile-feed>h2{margin:4px 2px;font-size:20px}.profile-feed .post{overflow:hidden}.profile-feed .post+.post{margin-top:0}.profile-feed .post-edit-form.upload-panel{display:none!important;margin:0 14px 14px;padding:12px;border-radius:12px;background:#f8fafc}.profile-feed .post-edit-form.upload-panel:target,.profile-feed .post-edit-form.upload-panel.open{display:grid!important}.profile-feed .post-body-bg{max-width:calc(100% - 24px);clear:both}.profile-feed .post-media-open{display:block;width:100%;clear:both}
body[data-page="reels"] .bottom-nav{display:none!important}
.stories{scroll-snap-type:x proximity}
.story{scroll-snap-align:start}
.story-editor,.reel-upload-editor{gap:14px}
.editor-preview{min-height:220px;display:grid;place-items:center;border:1px dashed #ccd0d5;border-radius:14px;background:#f7f8fa;overflow:hidden;color:#65676b}
.editor-preview img,.editor-preview video{width:100%;max-height:380px;object-fit:contain;background:#050505}
.audio-preview{display:grid;gap:12px;justify-items:center;padding:20px}
.editor-note{margin:0;color:#65676b;font-size:12px}.editor-toggle{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center;gap:10px}.editor-toggle input{width:auto!important;min-height:auto!important}
.story-viewer{position:fixed;z-index:3000;inset:0;display:grid;place-items:center;background:#050505;color:#fff}
.story-viewer[hidden]{display:none}
.story-media-stage{width:min(100vw,460px);height:100vh;display:grid;place-items:center;background:#050505}
.story-media-stage img,.story-media-stage video{width:100%;height:100%;object-fit:contain}.story-media-stage audio{width:86%}
.story-progress{position:fixed;z-index:2;top:calc(12px + env(safe-area-inset-top));left:12px;right:12px;display:flex;gap:5px}
.story-progress i{height:3px;flex:1;border-radius:99px;background:rgba(255,255,255,.35)}.story-progress i.active{background:#fff}
.story-close,.story-prev,.story-next{position:fixed;z-index:3;border:0;color:#fff;background:rgba(0,0,0,.35);backdrop-filter:blur(10px)}
.story-close{top:calc(24px + env(safe-area-inset-top));right:18px;width:42px;height:42px;border-radius:50%;font-size:26px}.story-prev,.story-next{top:50%;width:44px;height:72px;border-radius:12px}.story-prev{left:12px}.story-next{right:12px}
.story-meta{position:fixed;z-index:3;left:50%;bottom:calc(18px + env(safe-area-inset-bottom));width:min(92vw,430px);transform:translateX(-50%);display:grid;gap:10px;padding:12px;border-radius:16px;background:linear-gradient(transparent,rgba(0,0,0,.72));text-shadow:0 1px 2px rgba(0,0,0,.6)}
.story-meta form{display:inline-flex}.story-meta button{min-height:36px;border:0;border-radius:999px;padding:0 12px;color:#fff;background:rgba(255,255,255,.18)}
.story-views-pill{justify-self:start}.story-seen-list{max-height:210px;overflow:auto;border-radius:12px;background:rgba(0,0,0,.62);padding:8px}.story-seen-list div{display:flex;gap:8px;align-items:center;padding:7px}.story-seen-list p{margin:0}.story-seen-list small{display:block;color:#cbd5e1}
body[data-page="reels"] .app-layout{width:100%;max-width:none;margin:0;grid-template-columns:1fr}
body[data-page="reels"] .left-sidebar,body[data-page="reels"] .right-sidebar{display:none}
body[data-page="reels"] .content{width:min(100%,520px);margin:0 auto}
.reels-heading{padding:12px 16px}.reels-feed{height:calc(100vh - 64px);overflow-y:auto;scroll-snap-type:y mandatory;background:#050505}
.reel-card{height:calc(100vh - 64px);min-height:620px;border-radius:0!important;scroll-snap-align:start;box-shadow:none!important}
.reel-card video{height:100%;min-height:100%;background:#050505}
.reel-info{right:74px!important;padding-bottom:28px!important}.reel-creator{display:flex;gap:10px;align-items:center;color:#fff}.reel-music{display:inline-flex;gap:7px;align-items:center;color:#e8eef7}
.reel-actions{position:absolute;right:10px;bottom:96px;z-index:4;display:grid;gap:14px;color:#fff}
.reel-actions button,.reel-actions span{width:54px;min-height:54px;border:0;border-radius:50%;display:grid;place-items:center;color:#fff;background:rgba(0,0,0,.32);backdrop-filter:blur(12px);font-size:19px}
.reel-actions b{font-size:11px}.reel-actions .liked i{color:#ff2f6d}
.reel-comment-panel{position:absolute;z-index:6;left:0;right:0;bottom:0;padding:18px;border-radius:18px 18px 0 0;background:#fff;color:#1c1e21;box-shadow:0 -10px 30px rgba(0,0,0,.22)}
.reel-comment-panel[hidden]{display:none}.reel-comment-panel>button{float:right;border:0;background:#f0f2f5;border-radius:50%;width:34px;height:34px}.reel-comment-panel form{display:flex;gap:8px}.reel-comment-panel input{flex:1;min-height:42px;border:1px solid #ccd0d5;border-radius:999px;padding:0 12px}
@media(max-width:900px){
  .topbar{padding:0 12px;gap:10px}.brand small,.global-search{display:none}.app-layout{width:100%;margin:0 0 calc(84px + env(safe-area-inset-bottom));display:block}.left-sidebar,.right-sidebar{display:none}.content{display:grid;gap:10px;padding:10px}
  .bottom-nav{position:fixed!important;z-index:1200;left:10px;right:10px;bottom:calc(8px + env(safe-area-inset-bottom));height:64px;display:grid!important;grid-template-columns:repeat(5,1fr);align-items:center;padding:6px;border:1px solid rgba(255,255,255,.75);border-radius:24px;background:rgba(255,255,255,.82);backdrop-filter:blur(18px);box-shadow:0 12px 34px rgba(28,30,33,.18)}
  .bottom-nav a,.bottom-nav button{min-width:0;height:52px;display:grid;place-items:center;border:0;border-radius:18px;color:#65676b;background:transparent;transition:transform .15s ease,background .15s ease}.bottom-nav a:active,.bottom-nav button:active{transform:scale(.92)}.bottom-nav a.active{color:#1877f2;background:#e7f3ff}
  .bottom-nav a:nth-child(3){margin-top:0;width:auto;height:52px;justify-self:stretch;border-radius:18px;color:#65676b;background:transparent;box-shadow:none}
  body[data-page="reels"] .content{padding:0}.reels-feed,.reel-card{height:calc(100vh - 64px - env(safe-area-inset-bottom));min-height:calc(100vh - 64px - env(safe-area-inset-bottom))}.reels-heading{position:absolute;z-index:5;left:0;right:0;color:#fff}.reels-heading .button{min-height:38px}
  .story-media-stage{width:100vw}.story-prev,.story-next{display:none}
}
@media(max-width:620px){
  .form-grid,.two-column-form,.wallet-grid,.reels-grid,.product-grid,.mixed-feed-grid{grid-template-columns:1fr!important}.page-heading{display:grid;gap:10px}.page-heading h1{font-size:24px}.post-actions{gap:3px}.post-actions button,.post-action-link{font-size:12px}.editor-preview{min-height:180px}
}

.pwa-footer-banner{
    position:fixed;
    left:12px;
    right:12px;
    bottom:14px;
    top:auto!important;
    z-index:999999;
    display:flex;
    align-items:center;
    gap:10px;
    padding:12px;
    border-radius:18px;
    background:#07152f;
    color:#fff;
    box-shadow:0 15px 40px rgba(0,0,0,.28);
}

.pwa-footer-banner[hidden]{
    display:none!important;
}

.pwa-footer-icon{
    width:42px;
    height:42px;
    border-radius:14px;
    background:#1877f2;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
}

.pwa-footer-text{
    flex:1;
}

.pwa-footer-text strong{
    display:block;
    font-size:14px;
}

.pwa-footer-text span{
    display:block;
    font-size:12px;
    opacity:.85;
}

.pwa-install-btn{
    border:0;
    background:#22c55e;
    color:#fff;
    padding:9px 14px;
    border-radius:999px;
    font-weight:800;
}

.pwa-close-btn{
    border:0;
    background:rgba(255,255,255,.12);
    color:#fff;
    width:32px;
    height:32px;
    border-radius:50%;
}

/* v25 header: normal-flow app bar on desktop and mobile. */
.user-header{position:relative!important;top:auto!important;z-index:2500!important}
@media(max-width:768px){
  .topbar.user-header{height:62px!important;min-height:62px!important;padding:0 12px!important;gap:8px!important;background:rgba(255,255,255,.98)!important;backdrop-filter:blur(18px)}
  .topbar.user-header .brand{gap:0!important;min-width:42px!important}
  .topbar.user-header .brand .brand-copy,.topbar.user-header .brand .production-label{display:none!important}
  .topbar.user-header .brand .site-logo{width:42px!important;height:42px!important;object-fit:contain!important}
  .topbar.user-header .top-actions{display:grid!important;grid-template-columns:repeat(3,38px)!important;gap:7px!important;margin-left:auto!important}
  .topbar.user-header .top-actions>*{display:none!important}
  .topbar.user-header .top-actions>.mobile-header-shortcut{display:grid!important;place-items:center!important;width:38px!important;height:38px!important;min-width:38px!important;padding:0!important;border-radius:12px!important;color:#1557b0!important;background:linear-gradient(145deg,#eaf3ff,#f0fdfa)!important;font-size:16px!important}
  .topbar.user-header .top-actions>.mobile-header-shortcut:nth-of-type(3){display:grid!important}
  .topbar.user-header .profile-dropdown,.topbar.user-header .mini-avatar{display:none!important}
  .mobile-menu-sheet .mobile-profile-card{display:none!important}
}
@media(max-width:390px){.topbar.user-header .top-actions>.mobile-header-shortcut:nth-of-type(3){display:grid!important}}

/* v24 mobile controls, profile menu and reliable responsive layouts */
.mobile-header-shortcut{display:none}.mobile-profile-card{display:flex;align-items:center;gap:12px;margin:4px 0 18px;padding:14px;border-radius:18px;color:#fff!important;background:linear-gradient(135deg,#1d4ed8,#0ea5e9 52%,#14b8a6);box-shadow:0 14px 28px rgba(29,78,216,.22)}.mobile-profile-card .mobile-profile-avatar{width:54px;height:54px;border:2px solid rgba(255,255,255,.7);background:#fff;color:#1d4ed8}.mobile-profile-card span{min-width:0;display:grid;gap:3px;flex:1}.mobile-profile-card b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}.mobile-profile-card small,.mobile-profile-card em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#e0f2fe;font-size:11px;font-style:normal}.mobile-profile-card>i{width:auto!important;height:auto!important;color:#fff!important;background:transparent!important}
.topbar{position:relative!important;top:auto!important}.landing-theme-temple-dawn .landing-hero{background:radial-gradient(circle at 78% 20%,rgba(255,198,84,.38),transparent 24rem),linear-gradient(135deg,#57220e,#b84d18 48%,#f59e0b)}.landing-theme-rangoli .landing-hero{background:radial-gradient(circle at 78% 23%,rgba(250,204,21,.34),transparent 21rem),linear-gradient(135deg,#8b1459,#e11d48 48%,#f97316)}.landing-theme-monsoon .landing-hero{background:radial-gradient(circle at 78% 23%,rgba(110,231,183,.33),transparent 22rem),linear-gradient(135deg,#064e3b,#0f766e 48%,#0284c7)}.landing-theme-royal-indigo .landing-hero{background:radial-gradient(circle at 78% 23%,rgba(216,180,254,.33),transparent 22rem),linear-gradient(135deg,#1e1b4b,#4338ca 48%,#7e22ce)}.landing-theme-desert-gold .landing-hero{background:radial-gradient(circle at 78% 23%,rgba(255,241,118,.35),transparent 22rem),linear-gradient(135deg,#713f12,#b45309 48%,#f59e0b)}.landing-theme-india-saffron .landing-hero{background:radial-gradient(circle at 78% 23%,rgba(34,197,94,.23),transparent 22rem),linear-gradient(135deg,#8a2509,#ea580c 48%,#0f766e)}
.task-grid,.pro-earning-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))!important}.earning-task-card{min-width:0!important}.earning-task-card h3,.earning-task-card p,.earning-task-card strong{overflow-wrap:anywhere}.smart-spin-card .button{white-space:normal!important;text-align:center}.chat-unread-count{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;margin-left:4px;border-radius:999px;color:#fff!important;background:#ef4444;font-size:10px!important;font-weight:900;line-height:1}
.call-panel{max-width:860px}.call-quality-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0;padding:8px 11px;border:1px solid rgba(255,255,255,.12);border-radius:12px;color:#cbd5e1;font-size:11px}.call-quality-bar span{display:inline-flex;align-items:center;gap:6px}.call-quality-bar .signal-good{color:#5eead4}.call-videos{min-height:280px}.call-videos:before{content:"Secure call";position:absolute;z-index:2;left:12px;top:12px;padding:5px 8px;border-radius:999px;color:#d1fae5;background:rgba(6,78,59,.72);font-size:10px;font-weight:800}.call-videos.has-effect [data-remote-video],.call-videos.has-effect [data-local-video]{filter:saturate(1.18) contrast(1.07)}.call-videos.effect-warm [data-remote-video],.call-videos.effect-warm [data-local-video]{filter:sepia(.16) saturate(1.25) brightness(1.05)}.call-videos.effect-mono [data-remote-video],.call-videos.effect-mono [data-local-video]{filter:grayscale(1) contrast(1.12)}.call-meta{display:flex;justify-content:center;gap:11px;color:#cbd5e1;font-size:11px}.call-meta span{display:inline-flex;align-items:center;gap:5px}.active-call-actions{flex-wrap:wrap}.active-call-actions button{position:relative;min-width:56px}.active-call-actions button[data-toggle-recording].is-recording{background:#dc2626;animation:recordPulse 1s infinite}@keyframes recordPulse{50%{box-shadow:0 0 0 8px rgba(220,38,38,.25)}}
@media(max-width:800px){.topbar .mobile-header-shortcut{min-width:34px!important;width:34px;height:34px;padding:0!important}.topbar .top-actions{gap:4px}.topbar .top-actions>a:not(.mini-avatar){min-width:34px;height:34px;padding:0}.topbar .top-actions>a:not(.mobile-header-shortcut):not(.profile-dropdown){display:none}.topbar .profile-dropdown{display:block!important}.topbar .profile-dropdown summary{display:flex}.mobile-profile-card{margin-top:12px}.chat-shell,body[data-page="chat"] .chat-shell{grid-template-columns:104px minmax(0,1fr)}.chat-list{padding:8px 5px}.chat-list>a{position:relative;display:grid;justify-items:center;gap:3px;padding:7px 3px}.chat-list p{display:block!important;max-width:96px;margin:0;text-align:center}.chat-list p small{display:none}.chat-list p strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px}.chat-list .chat-unread-count{position:absolute;top:3px;right:4px;margin:0}.call-quality-bar{margin:8px 0;font-size:10px}.call-quality-bar span:last-child{display:none}.call-meta{margin:4px 0}.call-videos{min-height:0}.active-call-actions{gap:8px}.active-call-actions button{min-width:48px;width:48px;height:48px;padding:0}.active-call-actions button i{font-size:15px}.landing-hero{background-attachment:scroll!important}}
@media(max-width:390px){.topbar .mobile-header-shortcut:nth-of-type(3){display:none!important}.chat-shell,body[data-page="chat"] .chat-shell{grid-template-columns:88px minmax(0,1fr)}.chat-list p{max-width:80px}.chat-list p strong{font-size:8px}}
.profile-completion-nudge{display:flex;align-items:center;gap:12px;padding:14px 16px;border:1px solid #bfdbfe;border-radius:18px;color:#0f2856;background:linear-gradient(135deg,#eff6ff,#f0fdfa);box-shadow:0 10px 25px rgba(37,99,235,.08)}.profile-nudge-icon{display:grid;place-items:center;flex:0 0 auto;width:42px;height:42px;border-radius:14px;color:#fff;background:linear-gradient(135deg,#2563eb,#06b6d4)}.profile-completion-nudge>div:nth-child(2){min-width:0;flex:1}.profile-completion-nudge strong{font-size:13px}.profile-completion-nudge p{margin:3px 0 0;color:#475569;font-size:11px;line-height:1.5}.profile-nudge-actions{display:flex;align-items:center;gap:10px;flex:0 0 auto}.profile-nudge-actions a:not(.button){color:#2563eb;font-size:11px;font-weight:800}@media(max-width:620px){.profile-completion-nudge{align-items:flex-start;flex-wrap:wrap}.profile-nudge-actions{width:100%;padding-left:54px;justify-content:space-between}.profile-nudge-actions .button{min-height:36px}}
.story-style-controls{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.story-style-controls label{font-size:10px}.story-style-controls select,.story-style-controls input{min-width:0!important}.story-text-overlay{position:absolute;z-index:2;left:18px;right:18px;color:var(--story-text-color,#fff);text-align:center;text-shadow:0 2px 9px rgba(0,0,0,.65);pointer-events:none;overflow-wrap:anywhere}.story-text-center{top:50%;transform:translateY(-50%)}.story-text-top{top:18%}.story-text-bottom{bottom:24%}.story-text-bold{font:900 clamp(24px,7vw,40px)/1.12 Manrope,Inter,sans-serif}.story-text-classic{font:800 clamp(21px,6vw,34px)/1.2 Georgia,serif}.story-text-neon{font:900 clamp(23px,7vw,40px)/1.1 Inter,sans-serif;text-shadow:0 0 8px currentColor,0 0 22px currentColor}.story-text-handwritten{font:800 clamp(23px,7vw,38px)/1.2 cursive}.story-animate-fade{animation:storyFade .7s ease}.story-animate-pop{animation:storyPop .5s cubic-bezier(.2,.9,.25,1.25)}.story-animate-slide{animation:storySlide .65s ease}.story-animate-pulse{animation:storyPulse 1.5s ease-in-out infinite}@keyframes storyFade{from{opacity:0}to{opacity:1}}@keyframes storyPop{from{opacity:0;transform:translateY(-50%) scale(.55)}to{opacity:1;transform:translateY(-50%) scale(1)}}@keyframes storySlide{from{opacity:0;translate:0 28px}to{opacity:1;translate:0 0}}@keyframes storyPulse{50%{scale:1.06}}.story-audio-name{display:inline-flex;align-items:center;gap:6px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fef3c7;font-size:11px}@media(max-width:620px){.story-style-controls{grid-template-columns:1fr 1fr}.story-text-overlay{left:14px;right:14px}.story-text-bottom{bottom:30%}}
.call-recording-download{display:flex;justify-content:center;align-items:center;gap:7px;margin:-9px auto 12px;width:max-content;color:#a7f3d0;font-size:11px;font-weight:800}.call-recording-download[hidden]{display:none}.call-recording-download:hover{color:#fff;text-decoration:underline}.call-quality-bar b{font-variant-numeric:tabular-nums}
.story-animate-pop{animation:storyPopSafe .5s cubic-bezier(.2,.9,.25,1.25)}@keyframes storyPopSafe{from{opacity:0;scale:.55}to{opacity:1;scale:1}}

/* v25 story studio: text, photo and video stories share one mobile-first editor. */
.pn-story-studio{display:grid;gap:13px}.pn-story-studio-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.pn-story-studio-head h2{margin:3px 0;font:900 22px/1.15 Manrope,Inter,sans-serif}.pn-story-studio-head p{margin:0;color:var(--muted);font-size:12px}.pn-story-live{flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;padding:8px 10px;border-radius:999px;color:#0b6b43;background:#e9fbf0;font-size:11px;font-weight:850}.pn-story-kind-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.pn-story-kind-tabs label{display:flex;align-items:center;justify-content:center;gap:7px;min-height:48px;border:1px solid var(--line);border-radius:14px;background:#f8fafc;color:#526277;font-size:13px;font-weight:850;cursor:pointer}.pn-story-kind-tabs label.active{border-color:#87baff;color:#075cc8;background:#eaf3ff;box-shadow:0 6px 16px rgba(24,119,242,.12)}.pn-story-kind-tabs input{position:absolute;opacity:0;pointer-events:none}.pn-story-studio textarea,.pn-story-studio input,.pn-story-studio select{width:100%;margin-top:6px;border:1px solid var(--line);border-radius:13px;padding:11px 12px;background:#fff;font:inherit}.pn-story-studio textarea{resize:vertical;min-height:96px}.pn-story-studio label{font-weight:800;color:#32455d;font-size:12px}.pn-story-studio label small{font-weight:650;color:var(--muted)}.pn-story-studio [data-story-media-panel]{padding:12px;border:1px dashed #94bde9;border-radius:14px;background:#f7fbff}.pn-story-studio [data-story-media-panel] small{display:block;margin-top:7px;color:var(--muted);font-size:11px}.pn-story-studio .editor-preview{min-height:160px;display:grid;place-items:center;padding:20px;border-radius:18px;color:#fff;text-align:center;background:radial-gradient(circle at 18% 15%,rgba(255,255,255,.22),transparent 25%),linear-gradient(135deg,#0f4c81,#00a6d6)}.pn-story-studio .editor-preview strong{max-width:92%;font:900 clamp(22px,6vw,36px)/1.18 Manrope,Inter,sans-serif;overflow-wrap:anywhere}.pn-story-studio .editor-preview span{font-weight:800;opacity:.92}.pn-story-studio .button{justify-self:start}@media(max-width:620px){.pn-story-studio{margin-left:-5px;margin-right:-5px;border-radius:16px}.pn-story-studio-head{display:grid;grid-template-columns:1fr}.pn-story-live{justify-self:start}.pn-story-kind-tabs label span{font-size:12px}.pn-story-studio .button{width:100%;justify-content:center}}
.sponsored-post{overflow:hidden;border-color:#dbeafe!important}.sponsored-post header{background:linear-gradient(90deg,#f8fbff,#fff)}.sponsored-avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;color:#fff;background:linear-gradient(135deg,#2563eb,#8b5cf6)}.sponsored-media{display:block;background:#f8fafc}.sponsored-media img{display:block;width:100%;max-height:430px;object-fit:cover}.sponsored-copy{display:grid;gap:5px;padding:14px 17px}.sponsored-copy>span,.adsense-timeline-slot>span{width:max-content;padding:4px 7px;border-radius:999px;color:#1d4ed8;background:#dbeafe;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}.sponsored-copy strong{font-size:15px}.sponsored-copy small{color:#64748b}.sponsored-copy a{display:inline-flex;align-items:center;gap:7px;margin-top:4px;color:#2563eb;font-size:12px;font-weight:900}.adsense-timeline-slot{display:grid;gap:9px;padding:14px;overflow:hidden}.adsense-timeline-slot ins{display:block;min-height:90px}
.sponsored-sidebar-card{overflow:hidden}.sponsored-sidebar-card>span{display:block;margin-bottom:8px;color:#64748b;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.sponsored-sidebar-card .ad-slide small{display:block;margin-top:4px;color:#64748b;font-size:10px}.adsense-sidebar-slot{display:grid;gap:8px;overflow:hidden}.adsense-sidebar-slot>span{font-size:10px;font-weight:900;color:#64748b;text-transform:uppercase}.adsense-sidebar-slot ins{display:block;min-height:90px}
.admin-post-link{color:#2563eb;font-weight:800}.admin-post-link:hover{text-decoration:underline}

/* v26: Story upload opens as a focused, mobile-friendly popup. */
.pn-story-studio{display:none}.pn-story-studio.open{position:fixed;z-index:2147481000;inset:18px;display:grid;align-content:start;max-width:760px;max-height:calc(100dvh - 36px);margin:auto!important;padding:22px;overflow-y:auto;background:#fff;border:1px solid #dce7f5;border-radius:24px;box-shadow:0 30px 90px rgba(15,23,42,.35)}.pn-story-studio.open:before{content:"";position:fixed;inset:0;z-index:-1;background:rgba(15,23,42,.58);backdrop-filter:blur(3px)}.pn-story-close{width:36px;height:36px;flex:0 0 auto;border:0;border-radius:50%;background:#eef2f7;color:#172033;font-size:25px;line-height:1;cursor:pointer}.post-inline-link{color:#075fc6!important;font-weight:800;text-decoration:underline;overflow-wrap:anywhere}@media(max-width:620px){.pn-story-studio.open{inset:0;max-height:100dvh;border-radius:0;padding:18px 14px}.pn-story-studio.open .pn-story-studio-head{grid-template-columns:1fr auto}.pn-story-studio.open .pn-story-live{justify-self:start}}

/* v27 full-screen call surface above the fixed user header. */
.call-overlay{z-index:2147483600!important;padding:0!important;align-items:stretch!important;justify-content:stretch!important}.call-panel{width:100vw!important;width:100dvw!important;max-width:none!important;max-height:none!important;height:100vh!important;height:100dvh!important;min-height:100vh!important;min-height:100dvh!important;border-radius:0!important;display:flex!important;flex-direction:column!important;padding:calc(14px + env(safe-area-inset-top)) calc(14px + env(safe-area-inset-right)) calc(14px + env(safe-area-inset-bottom)) calc(14px + env(safe-area-inset-left))!important}.call-videos{flex:1 1 auto!important;min-height:0!important;height:auto!important}.call-videos .remote-video,.call-videos video:first-child{height:100%!important;min-height:0!important;object-fit:cover!important}.call-videos .local-video{max-width:min(31vw,190px)!important;max-height:26vh!important;object-fit:cover!important}@media(max-width:680px){.call-panel{padding:calc(10px + env(safe-area-inset-top)) 10px calc(12px + env(safe-area-inset-bottom))!important}.call-videos .local-video{max-width:38vw!important;max-height:23vh!important}}

/* v27 mobile menu: one neutral layout plus five selectable visual systems. */
@media(max-width:768px){
  .mobile-menu-sheet>div{background:#fff}.mobile-menu-sheet h2{color:#10233e}.mobile-category-menu a{border-radius:13px}
  body[data-mobile-menu-theme="aurora"] .mobile-menu-sheet>div{background:radial-gradient(circle at 100% 0,#ccfbf1,transparent 28%),linear-gradient(160deg,#f6fbff,#eaf8ff)}body[data-mobile-menu-theme="aurora"] .mobile-category-menu h4{background:linear-gradient(135deg,#0f766e,#2563eb)}
  body[data-mobile-menu-theme="glass"] .mobile-menu-sheet>div{background:linear-gradient(155deg,rgba(238,247,255,.98),rgba(248,245,255,.96));backdrop-filter:blur(22px)}body[data-mobile-menu-theme="glass"] .mobile-category-menu a{margin:5px 0;border:1px solid rgba(148,163,184,.23);background:rgba(255,255,255,.72);box-shadow:0 7px 17px rgba(30,64,175,.06)}body[data-mobile-menu-theme="glass"] .mobile-category-menu h4{background:linear-gradient(135deg,#2563eb,#7c3aed)}
  body[data-mobile-menu-theme="midnight"] .mobile-menu-sheet>div{background:radial-gradient(circle at 90% 4%,#263c80,transparent 30%),#07132b;color:#e6f0ff}body[data-mobile-menu-theme="midnight"] .mobile-menu-sheet h2,body[data-mobile-menu-theme="midnight"] .mobile-category-menu a{color:#e6f0ff!important}body[data-mobile-menu-theme="midnight"] .mobile-category-menu a{margin:4px 0;background:rgba(255,255,255,.06)}body[data-mobile-menu-theme="midnight"] .mobile-category-menu h4{background:linear-gradient(135deg,#1e40af,#6d28d9)}
  body[data-mobile-menu-theme="festival"] .mobile-menu-sheet>div{background:radial-gradient(circle at 8% 6%,#fff3a0,transparent 22%),radial-gradient(circle at 94% 8%,#ffc0dc,transparent 28%),#fff9f0}body[data-mobile-menu-theme="festival"] .mobile-category-menu h4{background:linear-gradient(90deg,#d71955,#f97316,#7c3aed);background-size:200% 100%;animation:pnMenuFestival 5s linear infinite}body[data-mobile-menu-theme="festival"] .mobile-category-menu a i{color:#d94628}
  body[data-mobile-menu-theme="royal"] .mobile-menu-sheet>div{background:radial-gradient(circle at 90% 0,#e9d5ff,transparent 32%),linear-gradient(155deg,#19123b,#302267)}body[data-mobile-menu-theme="royal"] .mobile-menu-sheet h2,body[data-mobile-menu-theme="royal"] .mobile-category-menu a{color:#fbf7ff!important}body[data-mobile-menu-theme="royal"] .mobile-category-menu a{margin:4px 0;background:rgba(255,255,255,.08)}body[data-mobile-menu-theme="royal"] .mobile-category-menu h4{background:linear-gradient(135deg,#6d28d9,#b453d6)}
}@keyframes pnMenuFestival{to{background-position:200% 0}}@media(prefers-reduced-motion:reduce){body[data-mobile-menu-theme="festival"] .mobile-category-menu h4{animation:none!important}}

/* Header remains in normal document flow; sticky/fixed header mode was removed in Phase 9. */
@media(max-width:768px){.topbar.user-header .top-actions>.mobile-header-shortcut.shortcut-scan{color:#075fc6!important;background:linear-gradient(145deg,#e8f2ff,#dbeafe)!important}.topbar.user-header .top-actions>.mobile-header-shortcut.shortcut-engage{color:#087c54!important;background:linear-gradient(145deg,#e8fff3,#d8fae8)!important}.topbar.user-header .top-actions>.mobile-header-shortcut.shortcut-astro{color:#a94b00!important;background:linear-gradient(145deg,#fff4d7,#ffebad)!important}.topbar.user-header .top-actions{grid-template-columns:repeat(3,38px)!important}.topbar.user-header .top-actions>*:not(.mobile-header-shortcut){display:none!important}}

/* v27: animated landing themes are full-page visual systems, not only hero colours. */
.landing.landing-theme-normal{background:#f3f6fb;color:var(--ink)}
.landing:not(.landing-theme-normal){--landing-ink:#fff;--landing-soft:rgba(255,255,255,.84);--landing-card:rgba(255,255,255,.92);position:relative;isolation:isolate;min-height:100vh;overflow:hidden;background:linear-gradient(140deg,var(--landing-a),var(--landing-b) 48%,var(--landing-c));color:var(--landing-ink)}
.landing:not(.landing-theme-normal):before,.landing:not(.landing-theme-normal):after{content:"";position:absolute;z-index:-1;width:42vw;height:42vw;min-width:360px;min-height:360px;border-radius:50%;filter:blur(6px);opacity:.42;animation:pnLandingFloat 15s ease-in-out infinite alternate}.landing:not(.landing-theme-normal):before{top:-16vw;right:-9vw;background:var(--landing-glow)}.landing:not(.landing-theme-normal):after{left:-15vw;bottom:4vh;background:var(--landing-orb);animation-delay:-7s}
.landing:not(.landing-theme-normal) .landing-hero{position:relative;overflow:hidden;background:transparent!important;color:var(--landing-ink)!important}.landing:not(.landing-theme-normal) .landing-hero:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(115deg,rgba(255,255,255,.12),transparent 42%,rgba(255,255,255,.08));animation:pnLandingSheen 8s linear infinite}.landing:not(.landing-theme-normal) .landing-hero>*{position:relative;z-index:1}.landing:not(.landing-theme-normal) .landing-hero h1,.landing:not(.landing-theme-normal) .landing-hero h2,.landing:not(.landing-theme-normal) .landing-hero h3{color:var(--landing-ink)!important;text-shadow:0 3px 22px rgba(0,0,0,.18)}.landing:not(.landing-theme-normal) .landing-hero p,.landing:not(.landing-theme-normal) .landing-hero small{color:var(--landing-soft)!important}.landing:not(.landing-theme-normal) .card:not(.landing-hero),.landing:not(.landing-theme-normal) .landing-section,.landing:not(.landing-theme-normal) .landing-feature{background:var(--landing-card)!important;color:#10233e!important;box-shadow:0 18px 42px rgba(2,6,23,.16)!important;backdrop-filter:blur(14px)}
.landing-theme-india-saffron{--landing-a:#9a2d08;--landing-b:#f06a14;--landing-c:#087b65;--landing-glow:#ffd166;--landing-orb:#31d19a}.landing-theme-temple-dawn{--landing-a:#421809;--landing-b:#a9451a;--landing-c:#e8a11b;--landing-glow:#ffe0a0;--landing-orb:#f46a3a}.landing-theme-rangoli{--landing-a:#6e1257;--landing-b:#df3156;--landing-c:#f58b20;--landing-glow:#ffea5e;--landing-orb:#8e66ff}.landing-theme-monsoon{--landing-a:#053d3b;--landing-b:#087c73;--landing-c:#1673be;--landing-glow:#70f0bd;--landing-orb:#82cfff}.landing-theme-royal-indigo{--landing-a:#171541;--landing-b:#4431bc;--landing-c:#7b2699;--landing-glow:#d6b6ff;--landing-orb:#6ce2ff}.landing-theme-desert-gold{--landing-a:#6c3710;--landing-b:#b46b10;--landing-c:#e3a826;--landing-glow:#fff08d;--landing-orb:#ffbf73}
@keyframes pnLandingFloat{0%{transform:translate3d(0,0,0) scale(.94)}100%{transform:translate3d(9vw,8vh,0) scale(1.16)}}@keyframes pnLandingSheen{0%{transform:translateX(-105%)}100%{transform:translateX(105%)}}@media(prefers-reduced-motion:reduce){.landing:not(.landing-theme-normal):before,.landing:not(.landing-theme-normal):after,.landing:not(.landing-theme-normal) .landing-hero:before{animation:none!important}}
.story-media-stage.story-media-fallback{background:radial-gradient(circle at 20% 20%,rgba(255,255,255,.2),transparent 26%),linear-gradient(135deg,#162c68,#7c3aed 50%,#ec4899)}.story-media-stage.story-media-fallback:before{content:"Story media is unavailable";color:#fff;font-weight:850}.pn-track-choice-list{display:flex;gap:7px;overflow:auto;padding:5px 0;scrollbar-width:none}.pn-track-choice-list button{flex:0 0 auto;border:1px solid #d7e3f1;border-radius:999px;padding:7px 10px;background:#f8fbff;color:#25578f;font-size:11px;font-weight:800;cursor:pointer}.pn-post-track{display:grid;gap:7px;margin-top:8px}.pn-post-track select{width:100%;border:1px solid #d8e2ee;border-radius:10px;padding:10px;background:#fff}.post-audio-track{display:flex;align-items:center;gap:8px;padding:8px 12px;background:#f4f8ff;color:#245eab;font-size:12px;font-weight:800}.post-audio-track span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.post-audio-track audio{height:28px;min-width:120px;max-width:42%}

/* v28 chat composer: one compact attachment menu works on desktop and mobile. */
.message-form{position:relative}.chat-attachment-toggle{width:40px;height:40px;flex:0 0 auto;border:0;border-radius:50%;color:#1877f2;background:#edf5ff;transition:transform .18s,background .18s}.chat-attachment-toggle.active{color:#fff;background:#1877f2;transform:rotate(45deg)}.chat-attachment-menu{position:absolute;z-index:90;left:8px;bottom:calc(100% + 10px);display:grid;grid-template-columns:repeat(2,minmax(106px,1fr));gap:8px;width:min(260px,calc(100vw - 34px));padding:10px;border:1px solid #dce8f8;border-radius:18px;background:rgba(255,255,255,.98);box-shadow:0 18px 42px rgba(15,23,42,.2);backdrop-filter:blur(16px)}.chat-attachment-menu[hidden]{display:none}.chat-attachment-menu label,.chat-attachment-menu button{display:flex;align-items:center;gap:7px;min-height:42px;padding:8px 10px;border:0;border-radius:12px;color:#334155;background:#f6f9fd;font-size:11px;font-weight:850;cursor:pointer}.chat-attachment-menu label i,.chat-attachment-menu button i{width:24px;height:24px;display:grid;place-items:center;border-radius:9px;color:#1877f2;background:#e6f0ff}.chat-attachment-menu .chat-love-bite-button{width:auto;height:auto;color:#9d174d;background:#fff1f6}.chat-attachment-menu .chat-love-bite-button i{color:#be185d;background:#ffe0eb}.chat-attachment-menu .chat-voice-button{width:auto;height:auto;color:#075fc6;background:#edf6ff}.chat-attachment-menu .chat-voice-button i{color:#075fc6;background:#dceeff}.chat-attachment-menu input{display:none}.message-document{display:flex;align-items:center;gap:9px;max-width:260px;padding:11px 12px;border:1px solid #cfe1ff;border-radius:14px;color:#1559a4!important;background:#f5f9ff;font-size:12px;font-weight:850}.message-document span{flex:1}.message.mine .message-document{color:#fff!important;border-color:rgba(255,255,255,.36);background:rgba(255,255,255,.18)}
.chat-bite-history-trigger{display:flex;align-items:center;gap:8px;width:100%;border:1px solid #f0d5eb;border-radius:15px;padding:10px 12px;color:#9d174d;background:linear-gradient(135deg,#fff8fc,#f5f3ff);font-size:12px;font-weight:900;text-align:left}.chat-bite-history-trigger small{margin-left:auto;color:#8b7b93;font-weight:700}.chat-love-bite-dialog{width:min(560px,calc(100vw - 24px));max-height:min(680px,88dvh);padding:0;border:0;border-radius:23px;color:#172033;background:#fff;box-shadow:0 30px 80px rgba(15,23,42,.34)}.chat-love-bite-dialog::backdrop{background:rgba(15,23,42,.58);backdrop-filter:blur(4px)}.chat-love-bite-dialog-head{display:flex;justify-content:space-between;gap:15px;padding:18px 18px 10px}.chat-love-bite-dialog h3{margin:3px 0 0}.chat-love-bite-dialog-head button{width:36px;height:36px;border:0;border-radius:50%;font-size:23px;background:#f1f5f9}.chat-love-bite-dialog>p{margin:0;padding:0 18px 14px;color:#64748b;font-size:12px;line-height:1.45}.chat-love-bite-dialog .chat-bite-picker{padding:0 18px 18px;grid-template-columns:repeat(4,minmax(0,1fr))}
.chat-group-avatar{overflow:hidden}.chat-group-avatar>img{width:100%;height:100%;object-fit:cover}.chat-group-profile-form{display:grid;gap:7px;margin-top:10px;padding-top:10px;border-top:1px solid #edf2f7}.chat-group-profile-form label{display:grid;gap:4px;color:#526277;font-size:10px;font-weight:850}.chat-group-profile-form input,.chat-group-profile-form textarea{width:100%;padding:8px;border:1px solid #dce5ef;border-radius:9px;font:inherit}.chat-group-profile-form textarea{min-height:64px;resize:vertical}
@media(max-width:800px){.chat-attachment-menu{left:4px;bottom:calc(100% + 7px)}.chat-love-bite-dialog{width:calc(100vw - 16px);border-radius:20px}.chat-love-bite-dialog .chat-bite-picker{grid-template-columns:repeat(2,minmax(0,1fr))}.message-document{max-width:72vw}.chat-group-profile-form{padding-bottom:10px}.group-conversation-header>p small{max-width:calc(100vw - 145px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}

/* Audio calls are deliberately a different, calm screen—not an empty video call. */
.call-avatar{overflow:hidden}.call-avatar img{width:100%;height:100%;object-fit:cover}.call-audio-stage{display:none;position:relative;flex:1;min-height:260px;margin:18px 0;place-items:center;align-content:center;gap:12px;overflow:hidden;border-radius:24px;color:#dbeafe;background:radial-gradient(circle at 50% 38%,rgba(96,165,250,.34),transparent 16%),linear-gradient(145deg,#0b1c45,#172554 54%,#312e81)}.call-audio-stage>i{position:relative;z-index:2;font-size:52px}.call-audio-stage>span{position:relative;z-index:2;font-size:13px;font-weight:850}.audio-ripples,.audio-ripples:before,.audio-ripples:after{position:absolute;width:130px;height:130px;border:2px solid rgba(191,219,254,.42);border-radius:50%;animation:pnAudioRipple 2.4s ease-out infinite}.audio-ripples:before,.audio-ripples:after{content:"";inset:-26px;animation-delay:.7s}.audio-ripples:after{inset:-54px;animation-delay:1.35s}@keyframes pnAudioRipple{0%{opacity:.8;transform:scale(.72)}100%{opacity:0;transform:scale(1.34)}}.call-overlay.audio-call .call-audio-stage{display:grid}.call-overlay.audio-call .call-videos{display:none}.call-overlay.audio-call [data-toggle-camera],.call-overlay.audio-call [data-switch-camera],.call-overlay.audio-call [data-call-effect]{display:none}.call-overlay.video-call .call-audio-stage{display:none}

/* Every landing option has its own motion language; desert uses dark ink for contrast. */
.landing-theme-india-saffron:before{animation:pnSaffronDrift 13s ease-in-out infinite alternate!important}.landing-theme-temple-dawn:before{animation:pnTempleGlow 6s ease-in-out infinite!important}.landing-theme-rangoli:before{animation:pnRangoliSpin 17s linear infinite!important}.landing-theme-monsoon:before{animation:pnMonsoonRain 9s ease-in-out infinite alternate!important}.landing-theme-royal-indigo:before{animation:pnRoyalPulse 5s ease-in-out infinite!important}.landing-theme-desert-gold{--landing-ink:#2a1907;--landing-soft:rgba(61,34,6,.86)}.landing-theme-desert-gold:before{animation:pnDesertRise 10s ease-in-out infinite alternate!important}.landing-theme-desert-gold .landing-hero h1,.landing-theme-desert-gold .landing-hero h2,.landing-theme-desert-gold .landing-hero h3{color:#2a1907!important;text-shadow:none!important}.landing-theme-desert-gold .landing-hero:before{background:linear-gradient(115deg,rgba(255,255,255,.38),transparent 43%,rgba(255,255,255,.2))!important}@keyframes pnSaffronDrift{to{transform:translate3d(-8vw,5vh,0) scale(1.18);filter:hue-rotate(12deg)}}@keyframes pnTempleGlow{50%{transform:scale(1.18);opacity:.68}100%{transform:scale(.94);opacity:.36}}@keyframes pnRangoliSpin{to{transform:rotate(360deg) scale(1.08)}}@keyframes pnMonsoonRain{0%{transform:translate(-5vw,-6vh) skewX(-8deg)}100%{transform:translate(8vw,14vh) skewX(-8deg)}}@keyframes pnRoyalPulse{50%{transform:scale(1.16);opacity:.7}100%{transform:scale(.94);opacity:.3}}@keyframes pnDesertRise{to{transform:translate3d(-6vw,-7vh,0) scale(1.2);filter:brightness(1.12)}}

@media(max-width:800px){.bottom-nav{background:var(--pn-footer-bg)!important}.bottom-nav a.active{color:var(--pn-footer-active)!important;background:color-mix(in srgb,var(--pn-footer-active) 12%,white)!important}.bottom-nav a i,.bottom-nav button i{color:inherit!important}.bottom-nav>a:nth-child(n) i{filter:none!important}body[data-mobile-footer-theme="midnight"] .bottom-nav{border-color:rgba(255,255,255,.12)!important;color:#dbeafe!important;background:linear-gradient(135deg,#0b1635,#172554)!important}body[data-mobile-footer-theme="midnight"] .bottom-nav a,body[data-mobile-footer-theme="midnight"] .bottom-nav button{color:#cbd5e1!important}body[data-mobile-footer-theme="saffron"] .bottom-nav{background:linear-gradient(135deg,#fff7ed,#ffedd5)!important}body[data-mobile-footer-theme="royal"] .bottom-nav{background:linear-gradient(135deg,#312e81,#6d28d9)!important}body[data-mobile-footer-theme="royal"] .bottom-nav a,body[data-mobile-footer-theme="royal"] .bottom-nav button{color:#e9d5ff!important}body[data-mobile-footer-theme="mint"] .bottom-nav{background:linear-gradient(135deg,#ecfdf5,#d1fae5)!important}}

/* v29 chat and story polish: events belong in the timeline, not above it. */
.chat-engage-strip{display:contents!important}.chat-bite-history,.chat-bite-history-trigger{display:none!important}.message-love-bite{max-width:280px}.message-love-bite .chat-love-bite{margin:0;box-shadow:0 10px 24px rgba(190,24,93,.12)}.message.mine .chat-love-bite{background:#fff;color:#172033;text-align:left}.message.mine .chat-love-bite small{color:#7c3b62!important}.chat-attachment-menu label span,.chat-attachment-menu button span{display:none!important}.chat-attachment-menu{grid-template-columns:repeat(4,48px)!important;width:auto!important;max-width:calc(100vw - 28px)}.chat-attachment-menu label,.chat-attachment-menu button{justify-content:center!important;width:48px!important;min-width:48px!important;padding:0!important}.chat-attachment-menu label i,.chat-attachment-menu button i{margin:0}.chat-unread-count{background:#ef4444!important}.story.is-seen .story-ring{border-color:#cbd5e1!important;filter:saturate(.55);opacity:.78}.story-media-stage.story-text-stage{display:grid;place-items:center;padding:40px;background:radial-gradient(circle at 18% 15%,rgba(255,255,255,.24),transparent 27%),radial-gradient(circle at 85% 82%,rgba(255,255,255,.16),transparent 24%),linear-gradient(135deg,#193a81,#7c3aed 52%,#ec4899)}.story-media-stage.story-text-stage:before{content:"";position:absolute;inset:0;background:linear-gradient(120deg,rgba(255,255,255,.08),transparent 50%)}.story-media-stage.story-text-stage .story-text-overlay{position:relative;z-index:2;display:block!important;font-size:clamp(26px,4.2vw,58px);line-height:1.16;text-align:center;text-wrap:balance;text-shadow:0 3px 18px rgba(0,0,0,.28)}.story-media-stage.story-text-stage>img{display:none!important}

/* v30 chat-only delivery, group management and compact five-tool composer. */
.chat-attachment-menu{grid-template-columns:repeat(5,48px)!important}.chat-attachment-menu .chat-game-tool{width:auto;height:auto;color:#5b21b6;background:#f3e8ff}.chat-attachment-menu .chat-game-tool i{color:#6d28d9;background:#ede9fe}.message-love-bite{overflow:visible!important}.message-love-bite .chat-love-bite{position:relative;min-width:220px;padding:10px 12px;border-color:#f3c8dc;background:linear-gradient(135deg,#fff6fb,#fff)!important}.message-love-bite .chat-love-bite:after{content:"Love Bite";position:absolute;right:10px;top:9px;color:#be185d;font-size:8px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.message-love-bite .bite-orb{width:36px;height:36px}.message-love-bite .chat-love-bite p{padding-right:52px}.chat-group-about{margin:5px 0 10px;color:#667085;font-size:11px;line-height:1.45}.chat-group-member{display:flex;align-items:center;gap:6px;padding:4px 0}.chat-group-member>a{flex:1;min-width:0}.chat-group-member-actions{display:flex;gap:4px}.chat-group-member-actions button{width:27px;height:27px;border:0;border-radius:8px;color:#1d4ed8;background:#eaf2ff;cursor:pointer}.chat-group-member-actions button:last-child{color:#b42318;background:#fff0f1}.group-message-form .message-image-button,.group-message-form .message-document-button,.group-message-form .chat-voice-button{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;margin:0;border:0;border-radius:11px;color:#1877f2;background:#edf5ff;cursor:pointer}.group-message-form .message-document-button{color:#6d28d9;background:#f3e8ff}.group-message-form .chat-voice-button{color:#075fc6;background:#e0f2fe}.group-message-form input[type=file]{display:none}.chat-love-bite-effect{z-index:2147481000!important}.chat-love-bite-effect small{display:block;max-width:240px;margin-top:7px;overflow:hidden;color:#fff;font-size:12px;font-weight:850;text-overflow:ellipsis;white-space:nowrap;text-shadow:0 2px 10px rgba(0,0,0,.5)}@media(max-width:800px){.chat-attachment-menu{grid-template-columns:repeat(5,44px)!important}.chat-attachment-menu label,.chat-attachment-menu button{width:44px!important;min-width:44px!important}.message-love-bite{max-width:calc(100vw - 88px)}.message-love-bite .chat-love-bite{min-width:0}.chat-group-member-actions button{width:30px;height:30px}.group-message-form .message-image-button,.group-message-form .message-document-button,.group-message-form .chat-voice-button{flex-basis:34px;width:34px;height:34px}}

/* v31 chat-only: on-demand games, replayable hearts, group picker and private chat choices. */
.chat-attachment-toggle{position:relative;border-radius:50%!important}.chat-attachment-toggle:not(.active):after{content:"";position:absolute;inset:-4px;border:2px solid rgba(24,119,242,.38);border-radius:50%;animation:pnChatToolRing 1.7s ease-out infinite}.chat-attachment-menu label,.chat-attachment-menu button{height:48px!important;border-radius:50%!important;overflow:visible}.chat-attachment-menu label i,.chat-attachment-menu button i{width:30px!important;height:30px!important;border-radius:50%!important}.chat-attachment-menu .chat-game-tool{border-radius:50%!important}.bite-orb{border:0;padding:0;cursor:pointer}.bite-orb:hover{transform:scale(1.08)}.message-love-bite .bite-orb{cursor:pointer}.chat-group-create{gap:11px!important;padding:13px!important}.chat-group-create-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.chat-group-create-head strong,.chat-group-create-head small{display:block}.chat-group-create-head strong{font-size:14px}.chat-group-create-head small{margin-top:2px;color:#718096;font-size:10px}.chat-group-create-close{display:grid;place-items:center;width:30px;height:30px;border:0;border-radius:50%;color:#475569;background:#eaf0f8}.chat-group-member-picker{position:relative}.chat-group-member-picker>summary{display:flex;align-items:center;gap:7px;min-height:42px;padding:0 10px;border:1px solid #d9e5f3;border-radius:11px;color:#244264;background:#fff;cursor:pointer;list-style:none;font-size:11px;font-weight:850}.chat-group-member-picker>summary::-webkit-details-marker{display:none}.chat-group-member-picker>summary span{display:flex;align-items:center;gap:7px}.chat-group-member-picker>summary b{margin-left:auto;color:#1877f2;font-size:10px}.chat-group-member-picker>summary>i{transition:transform .18s}.chat-group-member-picker[open]>summary>i{transform:rotate(180deg)}.chat-group-member-options{display:grid;gap:5px;max-height:214px;margin-top:7px;overflow:auto;padding:6px;border:1px solid #dce8f5;border-radius:13px;background:#fff}.chat-group-member-options label{display:grid!important;grid-template-columns:30px minmax(0,1fr) 18px;align-items:center;gap:8px;padding:7px;border-radius:10px;cursor:pointer}.chat-group-member-options label:hover{background:#f4f8ff}.chat-group-member-options input{position:absolute;opacity:0;pointer-events:none}.chat-group-picker-avatar .avatar{width:29px!important;height:29px!important}.chat-group-picker-copy{display:grid;gap:1px;min-width:0}.chat-group-picker-copy b,.chat-group-picker-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-group-picker-copy b{font-size:11px}.chat-group-picker-copy small{color:#718096;font-size:9px}.chat-group-member-options label>i{display:grid;place-items:center;width:18px;height:18px;border:1px solid #cbd5e1;border-radius:50%;color:transparent;font-size:9px}.chat-group-member-options input:checked~i{border-color:#1877f2;color:#fff;background:#1877f2}.chat-group-member-options input:checked~.chat-group-picker-copy b{color:#075fc6}.chat-group-create-actions{display:flex;gap:8px}.chat-group-create-actions .button{flex:1}.chat-more-menu{position:relative;z-index:45}.chat-more-menu>summary{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;list-style:none;color:#334155;background:#f1f5f9;cursor:pointer}.chat-more-menu>summary::-webkit-details-marker{display:none}.chat-more-menu[open]>summary{color:#fff;background:#1877f2}.chat-more-menu-panel{position:absolute;right:0;top:45px;display:grid;gap:11px;width:min(282px,calc(100vw - 30px));padding:13px;border:1px solid #dce7f3;border-radius:17px;background:#fff;box-shadow:0 20px 46px rgba(15,23,42,.22)}.chat-more-menu-head strong,.chat-more-menu-head small{display:block}.chat-more-menu-head small{margin-top:2px;color:#718096;font-size:10px}.chat-privacy-note{display:flex;align-items:flex-start;gap:8px;padding:9px;border-radius:12px;color:#075fc6;background:#edf6ff}.chat-privacy-note i{margin-top:2px}.chat-privacy-note b,.chat-privacy-note small{display:block}.chat-privacy-note small{margin-top:2px;color:#537394;font-size:10px;line-height:1.35}.chat-theme-form{display:grid;gap:7px}.chat-theme-form label{display:grid;gap:5px;color:#475569;font-size:10px;font-weight:850}.chat-theme-form select{width:100%;min-height:38px;border:1px solid #dce5ef;border-radius:10px;padding:0 9px;background:#fff;font:inherit}.chat-block-form{margin:0}.chat-block-button{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;min-height:36px;border:0;border-radius:10px;color:#b42318;background:#fff0f1;font-size:11px;font-weight:850}.chat-blocked-notice{display:none;align-items:center;gap:8px;padding:12px;border-radius:14px;color:#a53b12;background:#fff4ed;font-size:12px;font-weight:750}.chat-shell[data-chat-blocked="1"] .chat-blocked-notice{display:flex}.chat-shell[data-chat-blocked="1"] .chat-compose .chat-quick-emoji,.chat-shell[data-chat-blocked="1"] .chat-compose .message-form{display:none!important}.chat-shell[data-chat-theme="ocean"] .conversation{background:linear-gradient(150deg,#e9f7ff,#f7fcff)}.chat-shell[data-chat-theme="rose"] .conversation{background:linear-gradient(150deg,#fff1f6,#fff9fc)}.chat-shell[data-chat-theme="midnight"] .conversation{background:linear-gradient(150deg,#0b1835,#172554);color:#e8f0ff}.chat-shell[data-chat-theme="midnight"] .conversation-header,.chat-shell[data-chat-theme="midnight"] .message-stream{background:transparent!important;border-color:rgba(255,255,255,.13)!important}.chat-shell[data-chat-theme="midnight"] .conversation-header strong,.chat-shell[data-chat-theme="midnight"] .conversation-header small{color:#e8f0ff!important}.chat-shell[data-chat-theme="mint"] .conversation{background:linear-gradient(150deg,#effdf6,#f7fffb)}.chat-shell[data-chat-theme="rose"] .message.mine{background:#db2777}.chat-shell[data-chat-theme="ocean"] .message.mine{background:#047ea7}.chat-shell[data-chat-theme="mint"] .message.mine{background:#078568}@keyframes pnChatToolRing{0%{opacity:.9;transform:scale(.78)}100%{opacity:0;transform:scale(1.42)}}@media(max-width:800px){.chat-attachment-menu label,.chat-attachment-menu button{height:44px!important;border-radius:50%!important}.chat-attachment-menu label i,.chat-attachment-menu button i{width:28px!important;height:28px!important}.chat-group-create.open{top:62px!important;max-height:calc(100dvh - 80px);overflow:auto;border-radius:19px!important}.chat-group-member-options{max-height:calc(100dvh - 340px)}.chat-more-menu-panel{position:fixed;right:10px;left:10px;top:auto;bottom:82px;width:auto}.chat-more-menu-panel:before{content:"";position:fixed;inset:0;z-index:-1;background:rgba(15,23,42,.12)}}

/* v32: business context and animated member-selected chat surfaces. */
.chat-business-context{display:flex;align-items:center;gap:7px;min-width:0;margin-right:5px;padding:5px 9px;border:1px solid #bdebd3;border-radius:12px;color:#087443;background:#effcf4}.chat-business-context>i{font-size:13px}.chat-business-context span{display:grid;min-width:0}.chat-business-context b,.chat-business-context small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-business-context b{font-size:10px}.chat-business-context small{max-width:112px;color:#4b7a62;font-size:9px}.chat-business-message{display:inline-flex;align-items:center;gap:5px;margin:0 0 6px;padding:4px 7px;border-radius:999px;color:#075f99;background:#e8f7ff;font-size:9px;font-weight:900}.message-love-bite,.message.mine.message-love-bite{background:transparent!important;box-shadow:none!important;color:#172033!important}.message-love-bite .chat-love-bite,.message.mine.message-love-bite .chat-love-bite{border-color:#f4c8d9!important;background:linear-gradient(135deg,#fff8fb,#fff)!important;color:#172033!important;box-shadow:0 8px 20px rgba(190,24,93,.10)}.message-love-bite .chat-love-bite p,.message-love-bite .chat-love-bite strong,.message-love-bite .chat-love-bite small{color:#172033!important}.message-love-bite .chat-love-bite small{color:#5f6470!important}.chat-shell[data-chat-theme="aurora"] .conversation{background:linear-gradient(118deg,#e9fff4,#eaf5ff,#fff0fb,#f5efff);background-size:320% 320%;animation:pnAuroraChat 15s ease infinite}.chat-shell[data-chat-theme="aurora"] .conversation-header,.chat-shell[data-chat-theme="aurora"] .message-stream{background:rgba(255,255,255,.48)!important;border-color:rgba(255,255,255,.64)!important}.chat-shell[data-chat-theme="aurora"] .message.mine{background:linear-gradient(135deg,#0c9b72,#2563eb)!important}.chat-shell[data-chat-theme="sunset"] .conversation{background:linear-gradient(118deg,#fff1d8,#ffe0e7,#f2d9ff,#ffeab6);background-size:300% 300%;animation:pnSunsetChat 14s ease infinite}.chat-shell[data-chat-theme="sunset"] .conversation-header,.chat-shell[data-chat-theme="sunset"] .message-stream{background:rgba(255,255,255,.5)!important;border-color:rgba(255,255,255,.7)!important}.chat-shell[data-chat-theme="sunset"] .message.mine{background:linear-gradient(135deg,#f97316,#db2777)!important}.chat-shell[data-chat-theme="prism"] .conversation{background:linear-gradient(125deg,#ecfeff,#eef2ff,#fdf2f8,#fefce8,#f0fdf4);background-size:360% 360%;animation:pnPrismChat 17s linear infinite}.chat-shell[data-chat-theme="prism"] .conversation-header,.chat-shell[data-chat-theme="prism"] .message-stream{background:rgba(255,255,255,.54)!important;border-color:rgba(255,255,255,.72)!important}.chat-shell[data-chat-theme="prism"] .message.mine{background:linear-gradient(135deg,#7c3aed,#db2777,#f59e0b)!important;background-size:180% 180%;animation:pnPrismChat 7s linear infinite}@keyframes pnAuroraChat{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}@keyframes pnSunsetChat{0%,100%{background-position:0% 40%}50%{background-position:100% 60%}}@keyframes pnPrismChat{0%{background-position:0% 50%}100%{background-position:100% 50%}}@media(max-width:800px){.chat-business-context{position:absolute;left:56px;right:62px;top:48px;margin:0}.conversation-header:has(.chat-business-context){min-height:83px}.chat-business-message{font-size:8px}}
.chat-shell[data-chat-theme="ocean"] .conversation,.chat-shell[data-chat-theme="rose"] .conversation,.chat-shell[data-chat-theme="mint"] .conversation{background-size:260% 260%;animation:pnSoftChatFlow 16s ease infinite}.chat-shell[data-chat-theme="ocean"] .conversation{background-image:linear-gradient(125deg,#e5f7ff,#f8fdff,#e3f2ff)}.chat-shell[data-chat-theme="rose"] .conversation{background-image:linear-gradient(125deg,#fff0f6,#fff9fc,#f6eaff)}.chat-shell[data-chat-theme="mint"] .conversation{background-image:linear-gradient(125deg,#eafff4,#f8fffb,#e8faf6)}@keyframes pnSoftChatFlow{0%,100%{background-position:0% 45%}50%{background-position:100% 55%}}

/* PaisaNow v34 WhatsApp-style story viewer */
.story-owner-head{position:absolute;z-index:6;left:50%;top:38px;width:min(460px,calc(100vw - 90px));transform:translateX(-50%);display:flex;align-items:center;gap:10px;color:#fff}.story-owner-avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.2);border:2px solid rgba(255,255,255,.8)}.story-owner-head strong,.story-owner-head small{display:block}.story-owner-head small{margin-top:2px;opacity:.85;font-size:11px}.story-media-stage{width:min(460px,100vw);height:min(88vh,820px);display:grid;place-items:center;overflow:hidden;background:#111}.story-media-stage img,.story-media-stage video{width:100%;height:100%;max-width:none!important;max-height:none!important;object-fit:contain;border-radius:0!important}.story-meta{bottom:18px!important;background:transparent!important;backdrop-filter:none!important;padding:0!important;display:grid!important;grid-template-columns:1fr auto!important;gap:8px!important;align-items:end!important}.story-meta>p{grid-column:1/-1;text-align:center;padding:8px 12px;border-radius:10px;background:rgba(0,0,0,.35)}.story-meta form[data-story-like]{grid-column:2;justify-self:end}.story-meta form[data-story-delete],.story-views-pill{grid-column:1;justify-self:start}.story-meta form[data-story-delete] button,.story-views-pill,.story-meta form[data-story-like] button{width:auto!important;height:40px!important;padding:0 14px!important;border-radius:22px!important;background:rgba(0,0,0,.55)!important;font-size:13px!important}.story-own-add{position:absolute;right:4px;bottom:20px;width:20px;height:20px;border:2px solid #fff;border-radius:50%;display:grid;place-items:center;background:#16a34a;color:#fff;font-size:9px;z-index:4}
@media(max-width:640px){.story-viewer{padding:0!important}.story-media-stage{width:100vw;height:100dvh}.story-owner-head{top:28px;left:16px;right:56px;width:auto;transform:none}.story-progress{top:10px;width:calc(100vw - 24px)}.story-close{top:24px!important;right:12px!important}.story-prev,.story-next{bottom:auto!important;top:50%!important;background:transparent!important}.story-meta{width:calc(100vw - 28px)!important;bottom:12px!important}.story-text-overlay{max-width:88vw!important}.story-meta form[data-story-delete] button{font-size:0!important}.story-meta form[data-story-delete] button i{font-size:15px!important}}
.sidebar-ai-shortcut{display:flex;align-items:center;gap:10px;margin:10px;padding:12px 14px;border-radius:12px;background:linear-gradient(135deg,#1d4ed8,#7c3aed);color:#fff!important;text-decoration:none;font-weight:700}.sidebar-ai-shortcut i{width:20px;text-align:center}

/* Phase 9: prevent Jobs content from overlapping the mobile shell */
@media(max-width:800px){
  body[data-page="jobs"] .app-layout{width:100%!important;max-width:100%!important;margin:0 0 calc(84px + env(safe-area-inset-bottom))!important;overflow-x:hidden!important}
  body[data-page="jobs"] .content{min-width:0!important;max-width:100%!important;overflow-x:hidden!important}
  body[data-page="jobs"] .right-sidebar,body[data-page="jobs"] .left-sidebar{display:none!important}
  body[data-page="jobs"] .flash{left:10px!important;right:10px!important;top:72px!important;max-width:none!important}
}

/* Phase 10: chat popup, Love Bite and colourful tool polish */
.chat-popup-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.chat-popup-close{display:grid!important;place-items:center!important;flex:0 0 34px!important;width:34px!important;height:34px!important;padding:0!important;border:0!important;border-radius:50%!important;background:#f1f5f9!important;color:#334155!important;cursor:pointer!important}
.chat-popup-close:hover{background:#e2e8f0!important;color:#0f172a!important;transform:rotate(8deg)}
.chat-more-menu-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:12px!important}
.chat-more-menu-head>div{min-width:0}.chat-more-menu-head small{display:block}

/* Love Bite is now a clean animated heart only, without a message-card background. */
.message-love-bite{background:transparent!important;border:0!important;box-shadow:none!important;padding:2px 4px!important;min-height:52px;display:flex!important;align-items:center!important;overflow:visible!important}
.message-love-bite.mine{justify-content:flex-end!important}
.message-love-bite .chat-love-bite{min-width:0!important;width:auto!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;display:block!important}
.message-love-bite .chat-love-bite:after,.message-love-bite .chat-love-bite p{display:none!important}
.message-love-bite .bite-orb{position:relative;width:48px!important;height:48px!important;border:0!important;border-radius:50%!important;background:transparent!important;color:#ec297b!important;box-shadow:none!important;cursor:pointer;isolation:isolate;animation:pn-love-heartbeat 1.45s ease-in-out infinite}
.message-love-bite .bite-orb:before,.message-love-bite .bite-orb:after{content:"";position:absolute;inset:6px;border-radius:50%;background:currentColor;opacity:.14;z-index:-1;animation:pn-love-ripple 1.45s ease-out infinite}
.message-love-bite .bite-orb:after{animation-delay:.42s}
.message-love-bite .bite-orb i{font-size:34px;filter:drop-shadow(0 7px 12px rgba(236,41,123,.28))}
.message-love-bite .chat-love-bite.candy .bite-orb{color:#db2777}.message-love-bite .chat-love-bite.sunset .bite-orb{color:#f97316}.message-love-bite .chat-love-bite.royal .bite-orb{color:#7c3aed}.message-love-bite .chat-love-bite.mint .bite-orb{color:#10b981}.message-love-bite .chat-love-bite.confetti .bite-orb{color:#eab308}.message-love-bite .chat-love-bite.coffee .bite-orb{color:#92400e}.message-love-bite .chat-love-bite.lucky .bite-orb{color:#16a34a}
.message-love-bite .bite-orb:active{transform:scale(.86)}
@keyframes pn-love-heartbeat{0%,100%{transform:scale(1) rotate(0)}15%{transform:scale(1.18) rotate(-5deg)}30%{transform:scale(.96) rotate(4deg)}46%{transform:scale(1.12) rotate(0)}70%{transform:scale(1)}}
@keyframes pn-love-ripple{0%{transform:scale(.55);opacity:.22}100%{transform:scale(1.65);opacity:0}}

/* Every attachment tool gets its own colourful animated identity. */
.chat-attachment-menu label i,.chat-attachment-menu button i{transition:transform .2s ease,box-shadow .2s ease!important;box-shadow:0 7px 18px rgba(37,99,235,.13)!important}
.chat-attachment-menu label:hover i,.chat-attachment-menu button:hover i{transform:translateY(-3px) scale(1.07)!important}
.chat-attachment-menu>*:nth-child(1) i{color:#fff!important;background:linear-gradient(135deg,#6366f1,#8b5cf6)!important}
.chat-attachment-menu>*:nth-child(2) i{color:#fff!important;background:linear-gradient(135deg,#ec4899,#f43f5e)!important}
.chat-attachment-menu>*:nth-child(3) i{color:#fff!important;background:linear-gradient(135deg,#0ea5e9,#2563eb)!important}
.chat-attachment-menu>*:nth-child(4) i{color:#fff!important;background:linear-gradient(135deg,#14b8a6,#22c55e)!important}
.chat-attachment-menu>*:nth-child(5) i{color:#fff!important;background:linear-gradient(135deg,#f59e0b,#f97316)!important}
.chat-attachment-menu>*:nth-child(6) i{color:#fff!important;background:linear-gradient(135deg,#8b5cf6,#d946ef)!important}
.chat-attachment-menu>*:nth-child(7) i{color:#fff!important;background:linear-gradient(135deg,#06b6d4,#3b82f6)!important}
.chat-attachment-menu>*:nth-child(8) i{color:#fff!important;background:linear-gradient(135deg,#84cc16,#22c55e)!important}
.chat-attachment-menu>*:nth-child(9) i{color:#fff!important;background:linear-gradient(135deg,#f43f5e,#ec4899)!important;animation:pn-tool-heart 1.4s ease-in-out infinite}
.chat-attachment-menu>*:nth-child(10) i{color:#fff!important;background:linear-gradient(135deg,#ef4444,#f97316)!important}
.chat-attachment-menu>*:nth-child(11) i{color:#fff!important;background:linear-gradient(135deg,#7c3aed,#2563eb)!important}
@keyframes pn-tool-heart{0%,100%{transform:scale(1)}45%{transform:scale(1.12)}}

@media(max-width:800px){
  .chat-group-details>div,.chat-group-details-panel,.chat-more-menu-panel{position:fixed!important;inset:env(safe-area-inset-top) 0 0 0!important;width:100%!important;max-width:none!important;max-height:none!important;height:calc(100dvh - env(safe-area-inset-top))!important;margin:0!important;padding:16px 14px calc(18px + env(safe-area-inset-bottom))!important;border:0!important;border-radius:0!important;background:#fff!important;overflow-y:auto!important;overscroll-behavior:contain;z-index:2147482000!important;box-shadow:none!important}
  .chat-group-details[open] summary,.chat-more-menu[open] summary{position:relative;z-index:2147482001}
  .chat-popup-head,.chat-more-menu-head{position:sticky!important;top:-16px!important;z-index:5!important;margin:-16px -14px 12px!important;padding:12px 14px!important;background:rgba(255,255,255,.96)!important;border-bottom:1px solid #e5e7eb!important;backdrop-filter:blur(12px)}
  .chat-popup-close{width:40px!important;height:40px!important;flex-basis:40px!important;font-size:18px!important}
  .chat-group-member{padding:8px 0!important}.chat-group-invite-form,.chat-group-profile-form{display:grid!important;gap:10px!important}.chat-group-invite-form select,.chat-group-invite-form button,.chat-group-profile-form input,.chat-group-profile-form textarea,.chat-group-profile-form button{width:100%!important;min-width:0!important}
  .message-love-bite{max-width:none!important;min-height:58px!important}.message-love-bite .bite-orb{width:52px!important;height:52px!important}.message-love-bite .bite-orb i{font-size:36px!important}
  .chat-attachment-menu.whatsapp-tools{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px 6px!important;padding:16px 10px calc(14px + env(safe-area-inset-bottom))!important;border-radius:22px!important}.chat-attachment-menu label,.chat-attachment-menu button{min-width:0!important}.chat-attachment-menu label i,.chat-attachment-menu button i{width:44px!important;height:44px!important;font-size:18px!important}
}


/* Phase 15: reliable group creation steps + safe rendering performance */
.chat-group-name-step{display:grid;gap:5px;order:3;padding:10px;border:1px solid #cfe1ff;border-radius:12px;background:#f7fbff;color:#344054;font-size:11px;font-weight:800}
.chat-group-name-step[hidden]{display:none!important}
.chat-group-name-step span{font-size:11px;font-weight:900;color:#1f3655}
.chat-group-name-step small{font-size:9px;font-weight:600;color:#718096}
.chat-group-name-step input{display:block!important;visibility:visible!important;opacity:1!important;width:100%!important;min-height:42px!important;margin:0!important;background:#fff!important;color:#172033!important}
.chat-group-create .chat-group-member-picker{order:2}
.chat-group-create .chat-group-create-actions{order:4}
.chat-group-create.has-selected-members .chat-group-name-step{animation:pnGroupNameIn .2s ease both}
@keyframes pnGroupNameIn{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:none}}
@media(max-width:800px){
 .chat-list .chat-group-create.open{grid-template-columns:minmax(0,1fr)!important;align-content:start!important;width:auto!important;max-width:none!important;max-height:calc(100dvh - 96px)!important;overflow-y:auto!important;overscroll-behavior:contain!important;padding-bottom:max(16px,env(safe-area-inset-bottom))!important}
 .chat-group-create-head,.chat-group-member-picker,.chat-group-name-step,.chat-group-create-actions{width:100%!important;min-width:0!important}
 .chat-group-name-step{position:relative!important;z-index:2!important;padding:11px!important}
 .chat-group-name-step input{font-size:16px!important}
 .chat-group-create-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
 .chat-group-create-actions .button{width:100%!important;min-width:0!important;white-space:normal!important;line-height:1.2!important;padding:0 10px!important}
}
/* Skip paint/layout work for long off-screen feeds without changing functionality. */
@supports(content-visibility:auto){
 .feed .post-card,.market-grid .product-card,.news-list>article,.jobs-list>.card,.notifications-list>article{content-visibility:auto;contain-intrinsic-size:1px 420px}
}

/* Phase 17: admin-controlled logo image inside existing brand marks */
.brand-mark.brand-mark-image{overflow:hidden;padding:0;background:#eef4ff;border:1px solid rgba(24,119,242,.14)}
.brand-mark.brand-mark-image img{width:100%;height:100%;display:block;object-fit:contain}

/* Phase M11: keep right sidebar only on main timeline */
body:not([data-page="home"]) .app-layout{grid-template-columns:230px minmax(0,1fr)!important;max-width:1460px!important}
body:not([data-page="home"]) .app-layout>.right-sidebar{display:none!important}
body:not([data-page="home"]) .app-layout>.content{width:100%!important;max-width:none!important;min-width:0}
@media(max-width:1180px){body:not([data-page="home"]) .app-layout{grid-template-columns:minmax(0,1fr)!important;width:min(100% - 20px,1100px)!important}}

/* =========================================================
   PaisaNow global layout & responsive stabilization (P10.1)
   Fixes clean-route assets, full-width pages, forms and overflow.
========================================================= */
html,body{width:100%;max-width:100%;overflow-x:hidden}
img,video,canvas,svg,iframe{max-width:100%}
input,select,textarea,button{max-width:100%}
textarea{resize:vertical}
.content,.app-layout,.main-content,main{min-width:0}
.content>*{max-width:100%}
.card,form,fieldset,table{min-width:0}

/* Desktop: use the available viewport instead of a narrow fixed canvas. */
.app-layout{width:min(100%,1680px);max-width:1680px;margin-left:auto;margin-right:auto;padding-left:clamp(12px,1.5vw,24px);padding-right:clamp(12px,1.5vw,24px)}
.content{width:100%;max-width:none;min-width:0}
.content>.card,.content>section,.content>article,.content>div{max-width:100%}

/* Consistent controls across old and new pages. */
form{max-width:100%}
form input:not([type=checkbox]):not([type=radio]):not([type=hidden]),form select,form textarea{width:100%;min-width:0}
form button,.button,.btn{white-space:normal;text-align:center}
.actions,.form-actions,.modal-actions,.button-row{display:flex;flex-wrap:wrap;gap:10px}
.actions>* ,.form-actions>* ,.modal-actions>* ,.button-row>*{min-width:0}
.table-wrap,.responsive-table{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
table{width:100%;border-collapse:collapse}

/* Profile should fill its content column without introducing a second scrollbar. */
body[data-page="profile"] .content,body[data-page="public-profile"] .content{max-width:none!important;padding-left:0;padding-right:0;overflow:visible}
.pn-profile-p2{max-width:none!important;width:100%!important}
.pn-profile-p2 .pn-hero-v5,.pn-profile-p2 .pn-tabs-v5,.pn-profile-p2 .pn-sections-v5{width:100%}

@media (max-width:1180px){
  .app-layout{grid-template-columns:minmax(210px,260px) minmax(0,1fr);width:100%;padding-left:12px;padding-right:12px}
  .right-sidebar{display:none!important}
  .content{max-width:none!important;width:100%!important}
}

@media (max-width:800px){
  html,body{overflow-x:hidden!important}
  body{width:100%!important;min-width:0!important}
  .topbar{width:100%;max-width:100%;padding-left:10px;padding-right:10px}
  .app-layout{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;margin:0!important;padding:0 0 84px!important}
  .left-sidebar,.right-sidebar{display:none!important}
  .content{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;max-height:none!important;margin:0!important;padding:10px!important;overflow:visible!important}
  .content>.card,.content>section,.content>article{width:100%;margin-left:0;margin-right:0}
  .card{border-radius:14px}
  .grid,.form-grid,.settings-grid,.dashboard-grid{grid-template-columns:1fr!important}
  .actions,.form-actions,.modal-actions,.button-row{align-items:stretch}
  .actions>*,.form-actions>*,.modal-actions>*,.button-row>*{flex:1 1 140px}
  dialog,.modal,.modal-card,.popup,.drawer{max-width:calc(100vw - 20px)!important;width:calc(100vw - 20px)!important;margin-left:auto!important;margin-right:auto!important}
  table{min-width:640px}
  body[data-page="profile"] .content,body[data-page="public-profile"] .content{padding:0!important}
  .pn-profile-p2{padding-left:0!important;padding-right:0!important}
}

@media (max-width:480px){
  .content{padding:8px!important}
  body[data-page="profile"] .content,body[data-page="public-profile"] .content{padding:0!important}
  .button,.btn,button{min-height:40px}
  .actions>*,.form-actions>*,.modal-actions>*,.button-row>*{flex-basis:100%}
  .top-actions{max-width:46vw!important;gap:4px}
  .top-actions>a,.top-actions>button{width:36px;height:36px;min-width:36px}
}

/* =========================================================
   P10.2 — Requested pages: right sidebar + responsive polish
   ========================================================= */
body:is([data-page="notifications"],[data-page="chat"],[data-page="orders"],[data-page="seller-orders"],[data-page="wallet"],[data-page="transactions"],[data-page="groups"],[data-page="jobs"],[data-page="daily-exam"],[data-page="analytics"],[data-page="profile"],[data-page="scanner"],[data-page="connections"],[data-page="profile-network"],[data-page="change-password"]) .app-layout{
  width:min(100% - 28px,1480px)!important;
  grid-template-columns:minmax(210px,240px) minmax(0,1fr) minmax(270px,310px)!important;
  gap:18px!important;
}
body:is([data-page="notifications"],[data-page="chat"],[data-page="orders"],[data-page="seller-orders"],[data-page="wallet"],[data-page="transactions"],[data-page="groups"],[data-page="jobs"],[data-page="daily-exam"],[data-page="analytics"],[data-page="profile"],[data-page="scanner"],[data-page="connections"],[data-page="profile-network"],[data-page="change-password"]) .content{
  width:100%!important;max-width:none!important;min-width:0!important;overflow:visible!important;
}
body:is([data-page="notifications"],[data-page="chat"],[data-page="orders"],[data-page="seller-orders"],[data-page="wallet"],[data-page="transactions"],[data-page="groups"],[data-page="jobs"],[data-page="daily-exam"],[data-page="analytics"],[data-page="profile"],[data-page="scanner"],[data-page="connections"],[data-page="profile-network"],[data-page="change-password"]) .content>*{
  min-width:0;max-width:100%;
}
body:is([data-page="notifications"],[data-page="chat"],[data-page="orders"],[data-page="seller-orders"],[data-page="wallet"],[data-page="transactions"],[data-page="groups"],[data-page="jobs"],[data-page="daily-exam"],[data-page="analytics"],[data-page="profile"],[data-page="scanner"],[data-page="connections"],[data-page="profile-network"],[data-page="change-password"]) .right-sidebar{
  display:block;min-width:0;width:100%;z-index:5;
}

/* Stop cards, forms and actions from overlapping each other. */
.content .card,.content section,.content article,.content form,.content .table-scroll{min-width:0;max-width:100%}
.content img,.content video,.content iframe{max-width:100%}
.content input,.content select,.content textarea{max-width:100%}
.content .button,.content button,.content a.button{white-space:normal;text-align:center;line-height:1.25}
.content .button:not(.tiny),.content button.button:not(.tiny){min-height:40px;padding:9px 14px;font-size:13px}
.content .button.tiny,.content button.tiny{min-height:32px;padding:7px 10px;font-size:11px}

/* Seller Center: overlay, tabs and buttons. */
body[data-page="seller-center"] .app-layout{width:min(100% - 28px,1480px)!important;grid-template-columns:minmax(210px,240px) minmax(0,1fr)!important}
body[data-page="seller-center"] .content{width:100%!important;max-width:none!important;min-width:0!important}
body[data-page="seller-center"] .seller-center-shell,
body[data-page="seller-center"] .seller-dashboard-grid,
body[data-page="seller-center"] .seller-panel,
body[data-page="seller-center"] .seller-product-table{min-width:0;max-width:100%}
body[data-page="seller-center"] .seller-section-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}
body[data-page="seller-center"] .seller-section-title .button,
body[data-page="seller-center"] .seller-section-title>a,
body[data-page="seller-center"] .seller-form .button{min-height:36px!important;padding:8px 12px!important;font-size:12px!important;max-width:100%;white-space:normal;text-align:center}
body[data-page="seller-center"] .seller-tabs,
body[data-page="seller-center"] .seller-nav{display:flex;gap:8px;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;padding-bottom:5px}
body[data-page="seller-center"] .seller-tabs>a,
body[data-page="seller-center"] .seller-nav>a{flex:0 0 auto;min-height:36px;padding:8px 12px;font-size:12px;white-space:nowrap}
body[data-page="seller-center"] .seller-product-table{overflow-x:auto;overscroll-behavior-inline:contain}
body[data-page="seller-center"] .seller-table-row{min-width:720px}
body[data-page="seller-center"] .marketplace-product-modal,
body[data-page="seller-center"] [class*="modal"]{z-index:10020}
body[data-page="seller-center"] .marketplace-product-modal>* ,
body[data-page="seller-center"] [class*="modal"]>[class*="dialog"]{max-width:min(760px,calc(100vw - 24px));max-height:calc(100vh - 24px);overflow:auto}

@media(max-width:1180px){
  body:is([data-page="notifications"],[data-page="chat"],[data-page="orders"],[data-page="seller-orders"],[data-page="wallet"],[data-page="transactions"],[data-page="groups"],[data-page="jobs"],[data-page="daily-exam"],[data-page="analytics"],[data-page="profile"],[data-page="scanner"],[data-page="connections"],[data-page="profile-network"],[data-page="change-password"]) .app-layout{
    grid-template-columns:minmax(210px,240px) minmax(0,1fr)!important;
  }
  body:is([data-page="notifications"],[data-page="chat"],[data-page="orders"],[data-page="seller-orders"],[data-page="wallet"],[data-page="transactions"],[data-page="groups"],[data-page="jobs"],[data-page="daily-exam"],[data-page="analytics"],[data-page="profile"],[data-page="scanner"],[data-page="connections"],[data-page="profile-network"],[data-page="change-password"]) .right-sidebar{display:none!important}
}
@media(max-width:800px){
  body:is([data-page="notifications"],[data-page="chat"],[data-page="orders"],[data-page="seller-orders"],[data-page="wallet"],[data-page="transactions"],[data-page="groups"],[data-page="jobs"],[data-page="daily-exam"],[data-page="analytics"],[data-page="profile"],[data-page="scanner"],[data-page="connections"],[data-page="profile-network"],[data-page="change-password"],[data-page="seller-center"]) .app-layout{
    width:100%!important;display:block!important;margin:0 0 78px!important;
  }
  body:is([data-page="notifications"],[data-page="chat"],[data-page="orders"],[data-page="seller-orders"],[data-page="wallet"],[data-page="transactions"],[data-page="groups"],[data-page="jobs"],[data-page="daily-exam"],[data-page="analytics"],[data-page="profile"],[data-page="scanner"],[data-page="connections"],[data-page="profile-network"],[data-page="change-password"],[data-page="seller-center"]) .content{padding:8px!important;overflow-x:hidden!important}
  body[data-page="seller-center"] .seller-dashboard-grid,
  body[data-page="seller-center"] .seller-stat-grid,
  body[data-page="seller-center"] .seller-settings-grid,
  body[data-page="seller-center"] .seller-form{grid-template-columns:1fr!important}
  body[data-page="seller-center"] .seller-section-title>*{width:100%}
  body[data-page="seller-center"] .seller-section-title .button,
  body[data-page="seller-center"] .seller-section-title>a,
  body[data-page="seller-center"] .seller-form .button{width:100%;justify-content:center}
  body[data-page="seller-center"] .seller-table-row{min-width:620px}
  .content .action-row,.content .form-actions,.content .profile-actions,.content .profile-action-row{display:flex;flex-wrap:wrap;gap:8px}
  .content .action-row>.button,.content .form-actions>.button,.content .profile-actions>.button,.content .profile-actions>form,.content .profile-action-row>.button{flex:1 1 140px;min-width:0}
}
@media(max-width:480px){
  .content .button,.content button.button,.content a.button{width:100%;justify-content:center}
  .content .button.tiny,.content button.tiny,.content a.button.tiny{width:auto}
  body[data-page="seller-center"] .seller-tabs>a,
  body[data-page="seller-center"] .seller-nav>a{width:auto!important}
}

/* =========================================================
   P10.3 — Real right-sidebar visibility + Seller Center nav fix
   ========================================================= */
@media (min-width:1181px){
  body:is([data-page="notifications"],[data-page="chat"],[data-page="orders"],[data-page="seller-orders"],[data-page="wallet"],[data-page="transactions"],[data-page="groups"],[data-page="jobs"],[data-page="daily-exam"],[data-page="analytics"],[data-page="profile"],[data-page="scanner"],[data-page="connections"],[data-page="profile-network"],[data-page="change-password"]) .app-layout>.right-sidebar{
    display:grid!important;
    grid-auto-flow:row!important;
    align-content:start!important;
    gap:16px!important;
    width:100%!important;
    min-width:0!important;
    visibility:visible!important;
    opacity:1!important;
  }
  body[data-page="jobs"] .app-layout>.left-sidebar{display:block!important}
  body[data-page="jobs"] .app-layout>.right-sidebar{display:grid!important}
}

/* Sidebar cards remain usable on pages with taller main content. */
.right-sidebar>.card{width:100%;min-width:0;overflow:hidden}
.right-sidebar .online-toggle,.right-sidebar .section-title-row{min-width:0}
.right-sidebar h3,.right-sidebar p,.right-sidebar li,.right-sidebar strong,.right-sidebar small{overflow-wrap:anywhere}

/* Seller Center navigation: compact, non-overlapping, horizontally scrollable. */
body[data-page="seller-center"] .seller-center-m6{min-width:0;max-width:100%}
body[data-page="seller-center"] .seller-center-nav{
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  width:100%!important;
  max-width:100%!important;
  padding:8px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  white-space:nowrap!important;
  scrollbar-width:thin!important;
  overscroll-behavior-inline:contain!important;
}
body[data-page="seller-center"] .seller-center-nav>a{
  flex:0 0 auto!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  min-width:auto!important;
  min-height:36px!important;
  height:36px!important;
  padding:0 10px!important;
  border-radius:10px!important;
  font-size:11px!important;
  line-height:1!important;
  white-space:nowrap!important;
  overflow:visible!important;
}
body[data-page="seller-center"] .seller-center-nav>a i{font-size:12px!important;flex:0 0 auto!important}
body[data-page="seller-center"] .seller-center-nav>a span{font-size:11px!important;line-height:1!important;white-space:nowrap!important}
body[data-page="seller-center"] .seller-center-nav>a b{
  min-width:17px!important;height:17px!important;padding:0 4px!important;
  display:inline-grid!important;place-items:center!important;
  border-radius:999px!important;font-size:9px!important;line-height:1!important;
}
body[data-page="seller-center"] .seller-center-head{gap:14px!important;flex-wrap:wrap!important}
body[data-page="seller-center"] .seller-head-actions{display:flex!important;flex-wrap:wrap!important;gap:8px!important}
body[data-page="seller-center"] .seller-head-actions .button{
  min-height:38px!important;height:38px!important;padding:0 13px!important;
  font-size:11px!important;white-space:nowrap!important;
}

@media(max-width:800px){
  body[data-page="seller-center"] .seller-center-nav{padding:7px 6px!important;gap:5px!important}
  body[data-page="seller-center"] .seller-center-nav>a{height:34px!important;min-height:34px!important;padding:0 9px!important;font-size:10px!important}
  body[data-page="seller-center"] .seller-center-nav>a span{font-size:10px!important}
  body[data-page="seller-center"] .seller-center-head{padding:20px 16px!important}
  body[data-page="seller-center"] .seller-center-head h1{font-size:30px!important}
  body[data-page="seller-center"] .seller-head-actions{width:100%!important}
  body[data-page="seller-center"] .seller-head-actions .button{flex:1 1 140px!important}
}

/* P10 commerce final responsive refinements */
body.page-invoice .app-layout,.app-layout:has(.invoice-m3){grid-template-columns:230px minmax(0,1fr) 300px;max-width:1500px}
.seller-m3-modal input,.seller-m3-modal select,.seller-m3-modal textarea,.m3-actions details form input,.m3-actions details form select,.m3-actions details form textarea{font-size:13px}
@media(max-width:1180px){body.page-invoice .app-layout,.app-layout:has(.invoice-m3){grid-template-columns:210px minmax(0,1fr)}.app-layout:has(.invoice-m3)>.right-sidebar{display:none}}
@media(max-width:820px){.seller-m3-modal{padding:8px}.seller-m3-detail{width:100%;max-height:96vh;padding:14px;border-radius:14px}.seller-m3-list article{grid-template-columns:1fr auto!important}.seller-m3-list article>div:nth-child(2){grid-column:1/-1}.seller-m3-list article .status{justify-self:start}}


/* P10.5 — full-width responsive forms, checkout and safe seller modal */
:root{--pn-control-h:38px}
.content{min-width:0}
.content>.pn-checkout-page,.content>.seller-m3,.content>.page-shell,.content>.settings-page{width:100%;max-width:none;margin-inline:0}
body[data-page="checkout"] .app-layout{grid-template-columns:minmax(210px,230px) minmax(0,1fr)!important;max-width:none!important;width:100%!important;padding-inline:18px!important}
body[data-page="checkout"] .content{width:100%!important;max-width:none!important;padding:20px!important}
.pn-checkout-page{width:100%;max-width:none;padding:0}
.pn-checkout-head{display:grid;gap:10px;margin-bottom:18px}
.pn-checkout-head h1{font-size:clamp(28px,3vw,42px);margin:3px 0 5px}.pn-checkout-head p{margin:0;color:var(--muted)}
.pn-back-link{font-weight:800;font-size:13px;width:max-content}
.pn-checkout-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,330px);gap:18px;align-items:start;width:100%}
.pn-checkout-form{padding:22px;min-width:0}.pn-form-title{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;margin-bottom:16px}.pn-form-title h2{margin:0 0 4px;font-size:22px}.pn-form-title p{margin:0;color:var(--muted);font-size:13px}.pn-saved-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;background:#eafaf0;color:#15803d;font-size:11px;font-weight:800;white-space:nowrap}
.pn-address-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 14px}.pn-field{display:grid;gap:6px;font-size:12px;font-weight:800;min-width:0}.pn-field.wide{grid-column:1/-1}.pn-field span{display:flex;justify-content:space-between}.pn-field em{font-style:normal;color:var(--muted);font-weight:600}.pn-field .form-control,.pn-checkout-form input,.pn-checkout-form select,.pn-checkout-form textarea{width:100%;height:var(--pn-control-h);min-width:0;border:1px solid #cbd5e1;border-radius:9px;background:#fff;padding:0 11px;font-size:13px;outline:none;transition:.18s}.pn-field .form-control:focus{border-color:#2478ef;box-shadow:0 0 0 3px rgba(36,120,239,.12)}.pn-field .form-control.is-invalid{border-color:#dc3545;box-shadow:0 0 0 3px rgba(220,53,69,.1)}.pn-error{display:none;color:#dc3545;font-size:10px}.form-control.is-invalid+.pn-error{display:block}
.pn-checkout-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px}.pn-checkout-actions>span{font-size:11px;color:var(--muted)}.pn-pay-button{width:auto!important;min-height:36px!important;height:36px!important;padding:0 15px!important;font-size:11px!important;white-space:nowrap}
.pn-checkout-protection{padding:20px;position:sticky;top:92px}.pn-checkout-protection h2{font-size:20px;margin:0 0 14px}.pn-checkout-protection p{display:flex;align-items:flex-start;gap:10px;margin:12px 0;font-size:13px}.pn-checkout-protection p i{width:18px;color:#2478ef;margin-top:2px}.pn-total{display:flex;justify-content:space-between;align-items:center;font-size:14px}.pn-total strong{font-size:18px}
.seller-m3-modal{z-index:10050!important;place-items:start center!important;padding:calc(var(--header-height,72px) + 14px) 14px 14px!important;overflow:auto!important}
.seller-m3-detail{width:min(1040px,calc(100vw - 28px))!important;max-height:calc(100dvh - var(--header-height,72px) - 28px)!important;margin:0!important;padding:18px!important;overflow:auto!important}
.seller-m3-close{position:sticky!important;float:right!important;right:0!important;top:0!important;z-index:5!important;margin-left:auto!important;background:#fff!important;border:1px solid #dbe3ee!important;box-shadow:0 6px 20px rgba(15,23,42,.12)!important}
.seller-m3-form label{font-size:12px!important;font-weight:700}.seller-m3-form input,.seller-m3-form select,.seller-m3-form textarea{width:100%!important;border:1px solid #cbd5e1!important;border-radius:8px!important;padding:8px 10px!important;font-size:12px!important;min-height:36px!important}.seller-m3-form textarea{min-height:70px!important}.seller-m3-form .button{width:auto!important;min-height:34px!important;height:34px!important;padding:0 14px!important;font-size:11px!important;justify-self:start}
@media(max-width:1180px){body[data-page="checkout"] .app-layout{grid-template-columns:minmax(190px,220px) minmax(0,1fr)!important}.pn-checkout-layout{grid-template-columns:minmax(0,1fr) 280px}}
@media(max-width:820px){body[data-page="checkout"] .app-layout{display:block!important;padding:0!important}.pn-checkout-layout{grid-template-columns:1fr}.pn-checkout-protection{position:static;order:-1}.pn-checkout-form{padding:16px}.pn-checkout-actions{align-items:stretch;flex-direction:column}.pn-pay-button{width:100%!important}.seller-m3-modal{padding:calc(var(--header-height,64px) + 8px) 7px 8px!important}.seller-m3-detail{width:100%!important;max-height:calc(100dvh - var(--header-height,64px) - 16px)!important;border-radius:12px!important}.seller-m3-close{width:32px!important;height:32px!important}}
@media(max-width:560px){body[data-page="checkout"] .content{padding:10px!important}.pn-address-grid{grid-template-columns:1fr}.pn-field.wide{grid-column:auto}.pn-form-title{display:grid}.pn-saved-badge{width:max-content}.pn-checkout-head h1{font-size:28px}.pn-checkout-protection{padding:16px}}

/* Header refinement: compact mobile row + language menu (2026-07-21) */
.header-language-menu{position:relative;display:block}
.header-language-menu>summary{list-style:none;width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:#f2f5fa;color:var(--navy);cursor:pointer}
.header-language-menu>summary::-webkit-details-marker{display:none}
.header-language-menu[open]>summary{background:#e8f2ff;color:var(--blue)}
.header-language-panel{position:absolute;z-index:4200;top:48px;right:0;width:190px;padding:8px;display:grid;gap:4px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 18px 45px rgba(15,23,42,.18)}
.header-language-panel button{width:100%;min-height:40px;padding:0 12px;display:flex;align-items:center;justify-content:space-between;border:0;border-radius:9px;background:transparent;color:var(--ink);font-weight:700;text-align:left}
.header-language-panel button:hover,.header-language-panel button.active{background:#edf4ff;color:var(--blue)}

@media(min-width:769px){
  .topbar.user-header .mobile-header-shortcut{display:none!important}
  .topbar.user-header .header-language-menu{display:block!important}
}

@media(max-width:768px){
  .topbar.user-header{height:64px!important;min-height:64px!important;padding:7px 10px!important;display:grid!important;grid-template-columns:42px minmax(0,1fr) 114px!important;gap:7px!important;align-items:center!important;overflow:visible!important}
  .topbar.user-header .brand{width:42px!important;min-width:42px!important;max-width:42px!important;gap:0!important;overflow:visible!important}
  .topbar.user-header .brand .brand-copy,.topbar.user-header .brand .production-label{display:none!important}
  .topbar.user-header .brand .site-logo,.topbar.user-header .brand .brand-mark{width:42px!important;height:42px!important;min-width:42px!important;max-width:42px!important;border-radius:12px!important;object-fit:contain!important}
  .topbar.user-header .global-search{display:block!important;grid-column:2!important;grid-row:1!important;min-width:0!important;max-width:none!important;width:100%!important;margin:0!important}
  .topbar.user-header .global-search input{height:42px!important;width:100%!important;padding:0 10px 0 38px!important;border-radius:14px!important;font-size:13px!important;white-space:nowrap!important;text-overflow:ellipsis!important}
  .topbar.user-header .global-search i{left:13px!important;font-size:13px!important}
  .topbar.user-header .desktop-primary-nav{display:none!important}
  .topbar.user-header .top-actions{grid-column:3!important;grid-row:1!important;width:114px!important;max-width:114px!important;margin:0!important;display:grid!important;grid-template-columns:repeat(3,34px)!important;gap:6px!important;align-items:center!important;justify-content:end!important}
  .topbar.user-header .top-actions>.mobile-header-shortcut{display:grid!important;width:34px!important;height:34px!important;min-width:34px!important;padding:0!important;border-radius:11px!important;font-size:14px!important}
  .topbar.user-header .top-actions>*:not(.mobile-header-shortcut){display:none!important}
}

@media(max-width:420px){
  .topbar.user-header{grid-template-columns:40px minmax(0,1fr) 108px!important;gap:6px!important;padding-inline:8px!important}
  .topbar.user-header .brand{width:40px!important;min-width:40px!important;max-width:40px!important}
  .topbar.user-header .brand .site-logo,.topbar.user-header .brand .brand-mark{width:40px!important;height:40px!important;min-width:40px!important;max-width:40px!important}
  .topbar.user-header .top-actions{width:108px!important;max-width:108px!important;grid-template-columns:repeat(3,32px)!important;gap:6px!important}
  .topbar.user-header .top-actions>.mobile-header-shortcut{width:32px!important;height:32px!important;min-width:32px!important;border-radius:10px!important}
  .topbar.user-header .global-search input{font-size:12px!important;padding-left:34px!important}
}


/* Header mobile alignment + compact language panel hotfix (2026-07-21) */
.header-language-panel{
  width:248px!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:3px!important;
  padding:7px!important;
  max-height:none!important;
  overflow:visible!important;
}
.header-language-panel button{
  min-height:34px!important;
  padding:0 9px!important;
  font-size:12px!important;
  border-radius:8px!important;
}
@media(max-width:768px){
  .topbar.user-header{
    width:100%!important;
    max-width:100vw!important;
    box-sizing:border-box!important;
    grid-template-columns:42px minmax(0,1fr) 112px!important;
    column-gap:7px!important;
  }
  .topbar.user-header .global-search{
    position:relative!important;
    display:flex!important;
    align-items:center!important;
    height:42px!important;
    overflow:visible!important;
  }
  .topbar.user-header .global-search>i{
    position:absolute!important;
    top:50%!important;
    left:12px!important;
    transform:translateY(-50%)!important;
    margin:0!important;
    line-height:1!important;
    z-index:2!important;
    pointer-events:none!important;
  }
  .topbar.user-header .global-search>input{
    display:block!important;
    height:42px!important;
    min-height:42px!important;
    margin:0!important;
    padding:0 9px 0 34px!important;
    line-height:42px!important;
    vertical-align:middle!important;
  }
  .topbar.user-header .top-actions{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    width:112px!important;
    max-width:112px!important;
    min-width:112px!important;
    gap:5px!important;
    overflow:visible!important;
  }
  .topbar.user-header .top-actions>a.mobile-header-shortcut{
    display:grid!important;
    place-items:center!important;
    flex:0 0 34px!important;
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    max-width:34px!important;
    margin:0!important;
    visibility:visible!important;
    opacity:1!important;
  }
  .topbar.user-header .top-actions>a.shortcut-scan,
  .topbar.user-header .top-actions>a.shortcut-engage,
  .topbar.user-header .top-actions>a.shortcut-astro{display:grid!important}
}
@media(max-width:390px){
  .topbar.user-header{
    grid-template-columns:38px minmax(0,1fr) 100px!important;
    gap:5px!important;
    padding-inline:6px!important;
  }
  .topbar.user-header .brand,
  .topbar.user-header .brand .site-logo,
  .topbar.user-header .brand .brand-mark{
    width:38px!important;height:38px!important;min-width:38px!important;max-width:38px!important;
  }
  .topbar.user-header .top-actions{width:100px!important;min-width:100px!important;max-width:100px!important;gap:4px!important}
  .topbar.user-header .top-actions>a.mobile-header-shortcut{flex-basis:30px!important;width:30px!important;height:30px!important;min-width:30px!important;max-width:30px!important}
  .topbar.user-header .global-search,
  .topbar.user-header .global-search>input{height:38px!important;min-height:38px!important;line-height:38px!important}
  .topbar.user-header .global-search>input{font-size:11px!important;padding-left:31px!important}
  .topbar.user-header .global-search>i{left:10px!important;font-size:12px!important}
}

/* 2026-07-21 story rail horizontal scroll fix */
.stories,
.profile-stories .stories{
  display:flex !important;
  flex-wrap:nowrap !important;
  width:100% !important;
  max-width:100% !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-x:contain;
  scrollbar-width:none !important;
  -ms-overflow-style:none;
  scroll-snap-type:x proximity;
  touch-action:pan-x;
}
.stories::-webkit-scrollbar,
.profile-stories .stories::-webkit-scrollbar{
  width:0 !important;
  height:0 !important;
  display:none !important;
}
.stories > .story,
.profile-stories .stories > .story{
  flex:0 0 auto !important;
  scroll-snap-align:start;
}

/* Checkout PIN verification and optional current-location helper */
.pn-address-tools{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.pn-location-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;padding:7px 11px;border:1px solid #bfdbfe;border-radius:9px;background:#eff6ff;color:#1d4ed8;font:800 11px/1.2 inherit;cursor:pointer;white-space:nowrap;transition:.18s}
.pn-location-button:hover{background:#dbeafe;border-color:#93c5fd}.pn-location-button:disabled{opacity:.65;cursor:wait}
.pn-location-status{display:none;margin:-5px 0 14px;padding:9px 11px;border-radius:9px;font-size:12px;font-weight:700;line-height:1.45}
.pn-location-status.is-loading,.pn-location-status.is-success,.pn-location-status.is-error{display:block}
.pn-location-status.is-loading{background:#eff6ff;color:#1d4ed8}.pn-location-status.is-success{background:#ecfdf5;color:#047857}.pn-location-status.is-error{background:#fff7ed;color:#c2410c}
.pn-pin-control{display:grid;grid-template-columns:minmax(0,1fr) 40px;gap:7px;align-items:center}
.pn-pin-control .form-control{min-width:0}.pn-pin-verify{width:40px;height:var(--pn-control-h);display:inline-grid;place-items:center;border:1px solid #bfdbfe;border-radius:9px;background:#eff6ff;color:#1d4ed8;cursor:pointer}
.pn-pin-verify:hover{background:#dbeafe}.pn-pin-verify:disabled{opacity:.6;cursor:wait}
.pn-pin-state{margin-left:auto;font-size:10px;font-weight:900;white-space:nowrap}.pn-pin-state.is-loading{color:#2563eb}.pn-pin-state.is-success{color:#15803d}.pn-pin-state.is-error{color:#dc2626}
.pn-pin-message{display:none;font-size:10px;font-weight:700;line-height:1.35}.pn-pin-message.is-loading,.pn-pin-message.is-success,.pn-pin-message.is-error{display:block}.pn-pin-message.is-loading{color:#2563eb}.pn-pin-message.is-success{color:#15803d}.pn-pin-message.is-error{color:#dc2626}
@media(max-width:640px){.pn-form-title{align-items:stretch}.pn-address-tools{justify-content:flex-start}.pn-location-button{width:100%}.pn-location-status{margin-top:-7px}}


/* PaisaNow Advanced Story Studio 2026 */
.stories.card{display:flex;gap:12px;overflow-x:auto;padding:14px 16px;scroll-snap-type:x mandatory;background:linear-gradient(120deg,#fff,#fbfdff)}
.story{flex:0 0 72px;scroll-snap-align:start}.story-ring{width:62px;height:62px;border:3px solid transparent;border-radius:50%;padding:3px;background:linear-gradient(#fff,#fff) padding-box,linear-gradient(135deg,#ff2d8d,#ff8a00,#7c3aed,#1877f2) border-box;box-shadow:0 5px 18px rgba(24,119,242,.14)}
.story.is-seen .story-ring{filter:saturate(.35);background:linear-gradient(#fff,#fff) padding-box,linear-gradient(#bdc5d0,#bdc5d0) border-box}.story small{display:block;max-width:72px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#1d2939;font-weight:750}.story b{top:45px;right:2px}
.pn-story-quick{display:none;max-width:640px;margin:14px auto;padding:18px;border-radius:24px}.pn-story-quick.active{display:grid}.pn-story-quick .pn-story-kind-tabs{grid-template-columns:repeat(auto-fit,minmax(72px,1fr));gap:7px}.pn-story-quick .pn-story-kind-tabs label{min-height:68px;border:1px solid #e3e9f2;border-radius:15px;background:#f8fafc}.pn-story-quick .pn-story-kind-tabs label.active{border-color:#1877f2;background:#edf5ff}.pn-story-more{border:1px solid #e4eaf2;border-radius:14px;background:#fafcff}.pn-story-more summary{padding:12px 14px;cursor:pointer;font-weight:800;color:#344054}.pn-story-more-grid{display:grid;gap:11px;padding:0 14px 14px}.pn-story-publish{min-height:48px;border-radius:14px}.story-document-card{width:min(82vw,420px);min-height:280px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:28px;border-radius:26px;color:#172033!important;text-decoration:none;background:linear-gradient(145deg,#fff,#eef6ff,#fff2f8);box-shadow:0 30px 80px rgba(0,0,0,.25)}.story-document-card i{font-size:72px;color:#1877f2}.story-document-card strong{font-size:24px}.story-document-card small{color:#667085}.story-text-overlay{max-width:min(86%,760px);text-align:center!important;overflow-wrap:anywhere;line-height:1.25}.story-owner-head{position:absolute;z-index:4;left:50%;top:32px;width:min(500px,80vw);display:flex;align-items:center;gap:10px;color:#fff;transform:translateX(-50%)}.story-owner-avatar{width:38px;height:38px;border:2px solid rgba(255,255,255,.85);border-radius:50%;display:grid;place-items:center;background:#334155;overflow:hidden}.story-seen-list{max-height:280px;overflow-y:auto}.story-seen-list>div{display:flex;align-items:center;gap:10px;padding:9px;border-bottom:1px solid rgba(255,255,255,.12)}
@media(max-width:700px){.stories.card{margin-left:-9px;margin-right:-9px;width:calc(100% + 18px);padding:12px 10px;border-radius:0}.story{flex-basis:68px}.story-ring{width:58px;height:58px}.pn-story-quick{position:fixed;z-index:1005;inset:0;max-width:none;margin:0;padding:14px;border-radius:0;overflow-y:auto;background:#fff}.pn-story-quick .editor-preview{min-height:190px}.story-viewer{padding:0;background:#05070c}.story-media-stage{width:100%;height:100dvh;border-radius:0}.story-media-stage>img,.story-media-stage>video{width:100%;height:100%;object-fit:contain;border-radius:0}.story-owner-head{top:42px;width:calc(100% - 78px);left:16px;transform:none}.story-progress{top:14px;width:calc(100% - 28px)}.story-meta{bottom:14px;width:calc(100% - 24px)}.story-text-overlay{font-size:clamp(25px,8vw,48px)!important}}


/* PaisaNow Story Viewer UX Fix — 2026-07-22 */
body.story-viewer-open{overflow:hidden!important}
body.story-viewer-open .bottom-nav,
body.story-viewer-open .mobile-bottom-nav,
body.story-viewer-open [data-mobile-shortcuts],
body.story-viewer-open .pwa-footer-banner{display:none!important}

.story-viewer{
  z-index:2147483600!important;
  padding:0!important;
  background:#090b10!important;
  overflow:hidden!important;
}
.story-media-stage{
  position:relative!important;
  width:min(100vw,430px)!important;
  height:min(100dvh,760px)!important;
  max-height:100dvh!important;
  margin:auto!important;
  border-radius:18px!important;
  overflow:hidden!important;
  box-shadow:0 24px 80px rgba(0,0,0,.5)!important;
}
.story-media-stage.story-text-stage{
  padding:clamp(72px,10vh,104px) clamp(24px,5vw,46px) clamp(106px,14vh,132px)!important;
  background:
    radial-gradient(circle at 12% 10%,rgba(255,255,255,.72),transparent 26%),
    radial-gradient(circle at 91% 86%,rgba(255,255,255,.45),transparent 27%),
    linear-gradient(145deg,var(--story-bg-a,#dbeafe),var(--story-bg-b,#fae8ff))!important;
}
.story-media-stage.story-text-stage:before{
  background:linear-gradient(125deg,rgba(255,255,255,.25),transparent 54%)!important;
  pointer-events:none!important;
}
.story-media-stage.story-text-stage .story-text-overlay{
  position:relative!important;
  inset:auto!important;
  width:min(100%,650px)!important;
  max-width:100%!important;
  max-height:58vh!important;
  margin:auto!important;
  padding:0!important;
  overflow:auto!important;
  color:#172033!important;
  font-family:Manrope,Inter,Arial,sans-serif!important;
  font-size:clamp(22px,2.2vw,34px)!important;
  font-weight:800!important;
  line-height:1.3!important;
  letter-spacing:-.025em!important;
  text-align:center!important;
  text-wrap:balance!important;
  overflow-wrap:anywhere!important;
  text-shadow:none!important;
}
.story-owner-head{
  top:calc(24px + env(safe-area-inset-top))!important;
  width:min(390px,calc(100vw - 92px))!important;
  color:#172033!important;
  text-shadow:none!important;
}
.story-owner-avatar{
  width:40px!important;
  height:40px!important;
  padding:0!important;
  overflow:hidden!important;
  background:#fff!important;
  border:2px solid rgba(255,255,255,.95)!important;
  box-shadow:0 4px 16px rgba(15,23,42,.18)!important;
}
.story-owner-avatar img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  border-radius:50%!important;
}
.story-owner-head small{color:#475569!important;opacity:1!important}
.story-progress{
  z-index:9!important;
  top:calc(8px + env(safe-area-inset-top))!important;
  left:50%!important;
  right:auto!important;
  width:min(410px,calc(100vw - 24px))!important;
  transform:translateX(-50%)!important;
  gap:4px!important;
}
.story-progress i{
  position:relative!important;
  height:3px!important;
  overflow:hidden!important;
  background:rgba(15,23,42,.18)!important;
}
.story-progress i span{
  position:absolute;
  inset:0;
  transform:scaleX(0);
  transform-origin:left;
  border-radius:inherit;
  background:#172033;
}
.story-progress i.done span{transform:scaleX(1)}
.story-progress i.active span{animation:pn-story-progress 6.5s linear forwards}
@keyframes pn-story-progress{to{transform:scaleX(1)}}

.story-meta{
  bottom:calc(70px + env(safe-area-inset-bottom))!important;
  width:min(400px,calc(100vw - 28px))!important;
  pointer-events:none!important;
}
.story-meta>*{pointer-events:auto}
.story-meta>p:empty{display:none!important}
.story-meta>p{
  background:rgba(15,23,42,.64)!important;
  color:#fff!important;
  text-shadow:none!important;
}
.story-reply-bar{
  position:fixed!important;
  z-index:12!important;
  left:50%!important;
  bottom:calc(12px + env(safe-area-inset-bottom))!important;
  width:min(400px,calc(100vw - 28px))!important;
  transform:translateX(-50%)!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  padding:7px!important;
  border:1px solid rgba(255,255,255,.7)!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.92)!important;
  box-shadow:0 12px 35px rgba(0,0,0,.28)!important;
  backdrop-filter:blur(18px)!important;
}
.story-reply-bar[hidden]{display:none!important}
.story-reply-bar input{
  flex:1!important;
  min-width:0!important;
  height:42px!important;
  padding:0 14px!important;
  border:0!important;
  outline:0!important;
  background:transparent!important;
  color:#172033!important;
  font:700 14px/1.2 Manrope,Inter,sans-serif!important;
}
.story-reply-bar button{
  flex:0 0 42px!important;
  width:42px!important;
  height:42px!important;
  display:grid!important;
  place-items:center!important;
  border:0!important;
  border-radius:50%!important;
  color:#fff!important;
  background:#1877f2!important;
}
.story-reply-status{
  position:fixed;
  z-index:13;
  left:50%;
  bottom:calc(68px + env(safe-area-inset-bottom));
  transform:translateX(-50%);
  padding:7px 12px;
  border-radius:999px;
  color:#fff;
  background:rgba(15,23,42,.88);
  font-size:12px;
  font-weight:800;
}
.story.is-seen>b{display:none!important}
.story.is-seen .story-ring:after{display:none!important}

/* Compact white story uploader */
.pn-story-studio.open{
  width:min(680px,calc(100vw - 24px))!important;
  max-height:min(820px,calc(100dvh - 24px))!important;
  inset:12px!important;
  padding:18px!important;
  border-radius:24px!important;
  background:#fff!important;
  color:#172033!important;
}
.pn-story-studio.open .pn-story-studio-head{
  position:sticky;
  top:-18px;
  z-index:3;
  padding:16px 0 12px;
  background:#fff;
}
.pn-story-studio .editor-preview{
  min-height:190px!important;
  max-height:32vh!important;
  color:#172033!important;
  background:linear-gradient(145deg,#dbeafe,#fae8ff)!important;
}
.pn-story-studio .editor-preview strong{
  font-size:clamp(20px,4vw,31px)!important;
  line-height:1.3!important;
  color:#172033!important;
}
.pn-story-kind-tabs{grid-template-columns:repeat(5,minmax(0,1fr))!important}
.pn-story-kind-tabs label{min-width:0!important;padding:8px 5px!important}
.pn-track-choice-list button.selected{
  border-color:#1877f2!important;
  color:#075cc8!important;
  background:#eaf3ff!important;
  box-shadow:0 0 0 2px rgba(24,119,242,.12)!important;
}

@media(min-width:641px){
  .story-viewer{display:grid!important;place-items:center!important}
  .story-close{top:24px!important;right:24px!important}
  .story-prev{left:22px!important}.story-next{right:22px!important}
}
@media(max-width:640px){
  .story-media-stage{
    width:100vw!important;
    height:100dvh!important;
    max-height:100dvh!important;
    border-radius:0!important;
    box-shadow:none!important;
  }
  .story-media-stage.story-text-stage{
    padding:calc(84px + env(safe-area-inset-top)) 24px calc(128px + env(safe-area-inset-bottom))!important;
  }
  .story-media-stage.story-text-stage .story-text-overlay{
    max-height:55vh!important;
    font-size:clamp(20px,7vw,30px)!important;
    line-height:1.28!important;
  }
  .story-owner-head{
    top:calc(27px + env(safe-area-inset-top))!important;
    left:14px!important;
    right:55px!important;
    width:auto!important;
  }
  .story-progress{top:calc(7px + env(safe-area-inset-top))!important}
  .story-meta{bottom:calc(70px + env(safe-area-inset-bottom))!important}
  .pn-story-studio.open{
    width:100vw!important;
    max-height:100dvh!important;
    inset:0!important;
    padding:14px!important;
    border-radius:0!important;
  }
  .pn-story-studio.open .pn-story-studio-head{top:-14px}
  .pn-story-kind-tabs{display:flex!important;overflow-x:auto!important;scrollbar-width:none!important}
  .pn-story-kind-tabs label{flex:0 0 78px!important}
  .pn-story-studio .editor-preview{min-height:160px!important}
}

.story-viewer[hidden]{display:none!important}
.story-progress i.active span{animation-duration:var(--story-duration,6500ms)!important}


/* Story Viewer Interaction & Layout Patch — 2026-07-22 */
.story-media-stage.story-text-stage{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.story-media-stage.story-text-stage .story-text-overlay{
  position:static!important;
  width:100%!important;
  max-width:680px!important;
  max-height:none!important;
  margin:0 auto!important;
  overflow:visible!important;
  scrollbar-width:none!important;
  font-size:var(--story-copy-size,clamp(22px,3vw,34px))!important;
  line-height:1.3!important;
  text-align:center!important;
}
.story-text-overlay::-webkit-scrollbar{display:none!important}
.story-close{
  position:fixed!important;
  z-index:30!important;
  top:calc(18px + env(safe-area-inset-top))!important;
  right:20px!important;
  width:44px!important;
  height:44px!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid rgba(255,255,255,.35)!important;
  border-radius:50%!important;
  color:#fff!important;
  background:rgba(15,23,42,.72)!important;
  box-shadow:0 10px 28px rgba(0,0,0,.28)!important;
  backdrop-filter:blur(12px)!important;
  font-size:30px!important;
  line-height:1!important;
}
.story-owner-head{z-index:20!important}
.story-meta{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  padding:0!important;
  border-radius:0!important;
  background:transparent!important;
  backdrop-filter:none!important;
}
.story-meta>p{
  position:static!important;
  flex:1 1 auto!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
  padding:10px 13px!important;
  border-radius:13px!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
  font-size:13px!important;
  line-height:1.25!important;
}
.story-meta form[data-story-like]{flex:0 0 auto!important;margin:0!important}
.story-meta form[data-story-like] button{
  min-width:52px!important;
  height:44px!important;
  padding:0 13px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  border-radius:999px!important;
  color:#fff!important;
  background:rgba(15,23,42,.62)!important;
}
.story-reply-bar{box-sizing:border-box!important}
.story-reply-bar input{box-sizing:border-box!important;margin:0!important}
.story-reply-bar button{
  position:static!important;
  inset:auto!important;
  margin:0!important;
  transform:none!important;
  align-self:center!important;
}
.story-viewer.is-story-paused .story-progress i.active span{
  animation-play-state:paused!important;
}
.story-viewer.is-story-paused:after{
  content:'Paused';
  position:fixed;
  z-index:25;
  left:50%;top:50%;
  transform:translate(-50%,-50%);
  padding:8px 13px;
  border-radius:999px;
  color:#fff;
  background:rgba(15,23,42,.72);
  font-size:12px;
  font-weight:800;
  pointer-events:none;
}
@media(min-width:641px){
  .story-close{display:grid!important}
  .story-media-stage.story-text-stage{padding:92px 46px 132px!important}
}
@media(max-width:640px){
  .story-close{top:calc(34px + env(safe-area-inset-top))!important;right:12px!important;width:40px!important;height:40px!important}
  .story-media-stage.story-text-stage{padding:calc(88px + env(safe-area-inset-top)) 22px calc(132px + env(safe-area-inset-bottom))!important}
  .story-media-stage.story-text-stage .story-text-overlay{font-size:var(--story-copy-size,clamp(20px,6.6vw,30px))!important}
  .story-meta{bottom:calc(78px + env(safe-area-inset-bottom))!important}
  .story-reply-bar{bottom:calc(10px + env(safe-area-inset-bottom))!important}
}

/* Story Studio + Viewer final production polish — 2026-07-22 */
body[data-copy-protection="1"],
body[data-copy-protection="1"] .post-card,
body[data-copy-protection="1"] .story-viewer,
body[data-copy-protection="1"] .story-media-stage{
  -webkit-user-select:none!important;user-select:none!important;-webkit-touch-callout:none!important
}
body[data-copy-protection="1"] input,
body[data-copy-protection="1"] textarea,
body[data-copy-protection="1"] select,
body[data-copy-protection="1"] [contenteditable="true"]{-webkit-user-select:text!important;user-select:text!important}

.pn-story-studio.open{
  width:min(620px,calc(100vw - 28px))!important;
  max-height:calc(100dvh - 28px)!important;
  inset:14px!important;
  padding:14px!important;
  gap:9px!important;
  overflow:auto!important;
  overscroll-behavior:contain;
  background:
    radial-gradient(circle at 8% 3%,rgba(191,219,254,.72),transparent 27%),
    radial-gradient(circle at 92% 7%,rgba(253,230,138,.58),transparent 26%),
    radial-gradient(circle at 85% 96%,rgba(233,213,255,.72),transparent 31%),
    linear-gradient(145deg,#fff 0%,#f8fbff 48%,#fffaf3 100%)!important;
}
.pn-story-studio.open .pn-story-studio-head{
  top:-14px!important;margin:-14px -14px 0!important;padding:12px 14px 10px!important;
  align-items:center!important;background:rgba(255,255,255,.94)!important;
  backdrop-filter:blur(16px);border-bottom:1px solid rgba(148,163,184,.2)
}
.pn-story-studio-head h2{font-size:20px!important}.pn-story-studio-head p{font-size:11px!important}
.pn-story-live{padding:6px 9px!important}.pn-story-close{width:34px!important;height:34px!important}
.pn-story-kind-tabs{gap:6px!important}.pn-story-kind-tabs label{min-height:42px!important;border-radius:12px!important;font-size:12px!important}
.pn-story-studio .editor-preview{min-height:112px!important;max-height:150px!important;padding:12px!important;border-radius:15px!important}
.pn-story-studio .editor-preview img,.pn-story-studio .editor-preview video{max-height:126px!important;object-fit:contain!important}
.pn-story-studio .editor-preview audio{display:none!important}
.pn-story-studio textarea{min-height:68px!important;max-height:92px!important;resize:none!important}
.pn-story-studio textarea,.pn-story-studio input,.pn-story-studio select{margin-top:4px!important;padding:9px 10px!important;border-radius:11px!important}
.pn-story-studio label{font-size:11px!important}.pn-story-studio [data-story-media-panel]{padding:9px!important}
.pn-story-more{border:1px solid rgba(148,163,184,.28);border-radius:12px;background:rgba(255,255,255,.7);overflow:hidden}
.pn-story-more summary{padding:10px 12px;cursor:pointer;font-weight:850}.pn-story-more-grid{padding:0 10px 10px!important;gap:8px!important}
.pn-track-choice-list{display:flex!important;gap:6px!important;overflow-x:auto!important;padding:2px 0 4px!important;scrollbar-width:none}
.pn-track-choice-list::-webkit-scrollbar{display:none}.pn-track-choice-list button{flex:0 0 auto!important;max-width:190px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;padding:8px 10px!important}
.pn-story-publish{position:sticky!important;bottom:-14px!important;z-index:4!important;width:100%!important;min-height:44px!important;justify-content:center!important;margin:0!important;border-radius:13px!important;box-shadow:0 -8px 24px rgba(15,23,42,.08)!important}

.story-media-stage video,.story-media-stage audio{outline:0!important}
.story-media-stage video::-webkit-media-controls,
.story-media-stage audio::-webkit-media-controls{display:none!important}
.story-media-stage>audio[data-story-track],.story-media-stage>audio[data-story-media-audio]{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.story-media-stage.story-text-stage .story-text-overlay{max-width:min(86%,720px)!important;padding:0!important}

@media(max-width:640px){
  .pn-story-studio.open{inset:auto 0 0!important;width:100vw!important;max-height:94dvh!important;padding:12px!important;border-radius:24px 24px 0 0!important;gap:8px!important}
  .pn-story-studio.open .pn-story-studio-head{top:-12px!important;margin:-12px -12px 0!important;padding:11px 12px 9px!important}
  .pn-story-studio-head p{display:none!important}.pn-story-live{margin-left:auto!important}.pn-story-kind-tabs{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;overflow:visible!important}
  .pn-story-kind-tabs label{flex:auto!important;min-width:0!important;min-height:40px!important;padding:5px 2px!important;gap:3px!important}.pn-story-kind-tabs label span{display:none!important}.pn-story-kind-tabs label i{font-size:16px!important}
  .pn-story-studio .editor-preview{min-height:96px!important;max-height:116px!important}.pn-story-studio textarea{min-height:62px!important}
  .pn-story-publish{bottom:-12px!important}
}

@media(hover:none),(pointer:coarse){
  .pn-reaction-picker{touch-action:none!important}
  .pn-reaction-option{min-width:42px!important;min-height:42px!important;font-size:25px!important}
}


/* PN CREATE POST + MUSIC + COMMENT UX 20260722 */
.qb-popup-header{display:flex!important;align-items:center!important;justify-content:center!important;position:relative!important}
.qb-close-popup{left:10px!important;right:auto!important;top:50%!important;transform:translateY(-50%)!important;width:36px!important;height:36px!important}
.qb-close-popup:before{content:"\f060"!important}
.qb-top-post-btn{left:auto!important;right:10px!important;top:50%!important;transform:translateY(-50%)!important;min-width:64px!important;padding:8px 14px!important}
.pn-fb-compose-title{padding:0 82px!important;text-align:center!important}
.pn-audience-pill{min-height:24px!important;padding:2px 6px!important;border-radius:6px!important;font-size:10px!important}
.pn-audience-pill select{font-size:10px!important;max-width:82px!important}
.pn-smart-tool-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.pn-smart-tool{border:1px solid #e2e8f0;background:#fff;border-radius:12px;min-height:64px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#334155;font-weight:800;cursor:pointer}
.pn-smart-tool i{font-size:20px;color:#1877f2}.pn-smart-tool span{font-size:11px}
.pn-smart-popover{position:relative;width:100%;margin-top:10px;padding:12px;border:1px solid #dbe5f1;border-radius:14px;background:#fff;box-shadow:0 12px 35px rgba(15,23,42,.12)}
.pn-smart-popover[hidden]{display:none!important}.pn-smart-popover-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.pn-smart-popover-head button{border:0;width:30px;height:30px;border-radius:50%;background:#eef2f7;cursor:pointer}
.pn-choice-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.pn-choice-grid button,.pn-bg-choice-grid button{border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc;min-height:42px;font-weight:800;cursor:pointer}.pn-choice-grid button.active,.pn-bg-choice-grid button.active{outline:2px solid #1877f2;border-color:#1877f2}
.pn-bg-choice-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.pn-bg-choice-grid button{min-height:54px;color:#0f172a;font-size:10px}
.pn-location-popover{width:100%!important}.pn-location-input-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;width:100%!important}.pn-location-input-row input{width:100%!important}.pn-location-preview{width:100%!important;align-items:center!important}
#post-body[class*="bg-"]{min-height:210px!important;padding:22px!important;border-radius:16px!important;text-align:center!important;font-weight:900!important;color:#0f172a!important;background-size:cover!important}
.feed .post{position:relative}.feed .post-body-bg[class*="bg-"]{width:100%!important;max-width:none!important;min-height:380px!important;aspect-ratio:auto!important;margin:0!important;border-radius:0!important;padding:36px!important}
.pn-post-music{position:absolute;right:12px;top:72px;z-index:8}.pn-post-music audio{display:none!important}.pn-post-music button{width:38px;height:38px;border:0;border-radius:50%;background:rgba(15,23,42,.72);color:#fff;display:grid;place-items:center;cursor:pointer;box-shadow:0 6px 18px rgba(15,23,42,.22)}
.pn-comment-row{display:flex!important;align-items:flex-start!important;gap:8px!important}.pn-comment-content{min-width:0;flex:1}.pn-comment-content>p{margin:0!important}.pn-comment-meta{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:3px}.pn-comment-meta small{font-size:10px!important;color:#64748b}.pn-comment-meta form{margin:0}.pn-comment-delete{border:0!important;background:transparent!important;padding:0!important;color:#ef4444!important;font-size:10px!important;font-weight:800!important;min-height:0!important}
@media(max-width:600px){.pn-smart-tool-grid{gap:5px}.pn-smart-tool{min-height:54px}.pn-bg-choice-grid{grid-template-columns:repeat(3,1fr)}.pn-location-input-row{grid-template-columns:1fr!important}.pn-location-button{width:100%!important}.feed .post-body-bg[class*="bg-"]{width:100%!important;min-height:calc(100vw - 24px)!important;margin:0!important;border-radius:0!important;padding:24px!important}.pn-reaction-picker{z-index:99999!important}.qb-close-popup{left:8px!important}.qb-top-post-btn{right:8px!important}.pn-fb-compose-title{padding:0 74px!important}}

/* 20260722 universal post controls and adjustable site background */
body{background:var(--pn-site-bg,#e7e9ed)!important}
.post,.card,.composer{--pn-post-control-bg:#f0f2f5}
.post>header,.post .post-head{position:relative}
.pn-post-music{position:absolute!important;right:58px!important;top:12px!important;z-index:80!important;margin:0!important;padding:0!important;background:transparent!important;pointer-events:none}
.pn-post-music [data-post-mute]{pointer-events:auto!important;width:38px!important;height:38px!important;min-width:38px!important;border:0!important;border-radius:50%!important;background:var(--pn-post-control-bg)!important;color:#111827!important;box-shadow:none!important;display:grid!important;place-items:center!important;font-size:14px!important}
.post-menu>summary{background:var(--pn-post-control-bg)!important}
.pn-comment-meta{justify-content:space-between!important;width:100%}
.pn-comment-delete{color:#dc2626!important;font-size:11px!important;font-weight:700!important;text-decoration:none!important}
.header-popover{position:relative}
.header-popover>summary{list-style:none;cursor:pointer;position:relative;width:40px;height:40px;display:grid;place-items:center;border-radius:50%;background:#e4e6eb;color:#050505}
.header-popover>summary::-webkit-details-marker{display:none}
.header-popover-panel{position:absolute;right:0;top:48px;width:340px;max-height:520px;overflow:auto;padding:10px;border:1px solid #dadde1;border-radius:14px;background:#fff;box-shadow:0 16px 50px rgba(0,0,0,.2);z-index:3000}
.header-popover-panel h3{margin:4px 6px 10px;font-size:18px}.header-popover-panel a.header-popover-item{display:block;padding:10px;border-radius:10px;color:#111827;text-decoration:none}.header-popover-panel a.header-popover-item:hover{background:#f0f2f5}.header-popover-item strong,.header-popover-item small{display:block}.header-popover-item small{margin-top:3px;color:#65676b;font-size:11px}.header-show-more{display:block!important;margin-top:8px!important;padding:10px!important;text-align:center!important;border-radius:9px!important;background:#e7f3ff!important;color:#1877f2!important;font-weight:800!important}
@media(max-width:600px){.pn-reaction-picker button,.pn-reaction-picker span,.pn-reaction-picker i{font-size:28px!important;line-height:1!important}.pn-reaction-picker{gap:8px!important;padding:9px 10px!important}.pn-post-music{right:54px!important;top:10px!important}.pn-post-music [data-post-mute],.post-menu>summary{width:36px!important;height:36px!important;min-width:36px!important}}
.header-popover>summary>b{position:absolute;right:-3px;top:-5px;min-width:18px;height:18px;padding:0 4px;display:grid;place-items:center;border-radius:999px;background:#e41e3f;color:#fff;border:2px solid #fff;font-size:9px}


/* PN SCREENSHOT TARGETED FIXES 20260722 */
.post>header,.post .post-head{display:flex!important;align-items:flex-start!important;gap:10px!important;padding-bottom:6px!important}
.post>header>a:first-child,.post .post-head>a:first-child{flex:0 0 auto!important}
.post>header>div:not(.pn-post-music),.post .post-head>div:not(.pn-post-music){min-width:0!important;flex:1!important}
.post-menu{margin-left:0!important;flex:0 0 auto!important}
.pn-post-music{position:static!important;order:8!important;flex:0 0 auto!important;margin-left:auto!important;pointer-events:auto!important;display:flex!important;align-items:center!important}
.post-menu{order:9!important}
.pn-post-music [data-post-mute],.post-menu>summary{width:38px!important;height:38px!important;min-width:38px!important;border-radius:50%!important;background:#f0f2f5!important;color:#111827!important;display:grid!important;place-items:center!important;box-shadow:none!important}
.feed .pn-post-music{position:static!important;right:auto!important;top:auto!important}
.post-body-bg:not([class*="bg-"]){margin-top:0!important;padding-top:2px!important}
.post>header + .post-body-bg,.post>header + .pn-smart-reason + .post-body-bg{margin-top:0!important}
.pn-comment-content{background:#f0f2f5!important;border-radius:15px!important;padding:8px 11px 6px!important;overflow:hidden!important}
.pn-comment-content>p{overflow-wrap:anywhere!important}
.pn-comment-meta{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;width:100%!important;margin-top:5px!important;position:static!important}
.pn-comment-meta form,.pn-comment-meta small,.pn-comment-delete{position:static!important;transform:none!important;margin:0!important}
.pn-comment-delete{white-space:nowrap!important}
.adsense-timeline-slot + .pn-people-strip,.ad-slot + .pn-people-strip,.pn-feed-module .adsense-timeline-slot{margin-bottom:16px!important}
.pn-feed-module .pn-people-strip{margin-top:16px!important}
.header-popover-panel a.header-popover-item{display:flex!important;align-items:flex-start!important;gap:10px!important}
.header-popover-avatar{width:40px!important;height:40px!important;min-width:40px!important}
.header-popover-copy{display:block!important;min-width:0!important;flex:1!important}
.header-popover-copy>span{display:block!important;white-space:normal!important;overflow-wrap:anywhere!important}
.pn-fab-wrap{z-index:2400!important;bottom:28px!important}
.header-popover[open]{z-index:100000!important}
.header-popover-panel{z-index:100001!important}
@media(max-width:600px){
  .pn-reaction-picker{left:8px!important;right:8px!important;bottom:78px!important;width:auto!important;max-width:none!important;transform:translateY(8px) scale(.96)!important;justify-content:space-between!important;gap:2px!important;padding:8px!important}
  .pn-reaction-wrap.open .pn-reaction-picker{transform:translateY(0) scale(1)!important}
  .pn-reaction-option{width:42px!important;height:42px!important;min-width:42px!important;font-size:29px!important;flex:1 1 0!important}
  .post>header,.post .post-head{padding-bottom:4px!important}
  .post-body-bg:not([class*="bg-"]){padding-top:0!important}
}


/* PN secure logout loader — only shown while the user signs out */
body.pn-logout-processing{overflow:hidden!important;pointer-events:none}
.pn-logout-loader[hidden]{display:none!important}
.pn-logout-loader{position:fixed;z-index:100000;inset:0;display:grid;place-items:center;padding:18px;pointer-events:auto}
.pn-logout-loader-backdrop{position:absolute;inset:0;background:rgba(7,21,47,.70);backdrop-filter:blur(10px);animation:pnLogoutFade .2s ease-out}
.pn-logout-loader-card{position:relative;z-index:1;width:min(100%,390px);padding:32px 26px 26px;border:1px solid rgba(255,255,255,.28);border-radius:26px;background:rgba(255,255,255,.98);box-shadow:0 30px 100px rgba(2,12,27,.38);text-align:center;animation:pnLogoutCardIn .24s ease-out;pointer-events:none}
.pn-session-destroy-animation{position:relative;width:108px;height:108px;margin:0 auto 18px;display:grid;place-items:center}
.pn-session-ring{position:absolute;inset:8px;border:2px solid rgba(24,119,242,.34);border-radius:50%;animation:pnSessionRing 1.15s ease-out infinite}
.pn-session-ring-two{animation-delay:.38s}
.pn-session-shield{position:relative;z-index:2;width:64px;height:64px;display:grid;place-items:center;border-radius:22px;background:linear-gradient(145deg,#1877f2,#0f5fd4);color:#fff;font-size:28px;box-shadow:0 15px 32px rgba(24,119,242,.34);animation:pnShieldPulse .9s ease-in-out infinite alternate}
.pn-session-particle{position:absolute;width:8px;height:8px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 5px rgba(34,197,94,.12);animation:pnParticleOut 1.1s ease-in-out infinite}
.pn-session-particle.p1{top:12px;left:18px}.pn-session-particle.p2{top:17px;right:14px;animation-delay:.2s}.pn-session-particle.p3{bottom:13px;left:15px;animation-delay:.4s}.pn-session-particle.p4{right:17px;bottom:17px;animation-delay:.6s}
.pn-logout-loader-card h2{margin:0 0 8px;color:#0f172a;font:800 23px Manrope,system-ui,sans-serif;letter-spacing:-.03em}
.pn-logout-loader-card p{margin:0;color:#475569;font-size:14px;line-height:1.6}
.pn-logout-progress{height:7px;margin-top:21px;overflow:hidden;border-radius:999px;background:#e8eef7}
.pn-logout-progress span{display:block;width:45%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#1877f2,#22c55e);animation:pnLogoutProgress 1s ease-in-out infinite}
@keyframes pnLogoutFade{from{opacity:0}to{opacity:1}}
@keyframes pnLogoutCardIn{from{opacity:0;transform:translateY(10px) scale(.97)}to{opacity:1;transform:none}}
@keyframes pnSessionRing{0%{opacity:.85;transform:scale(.58)}100%{opacity:0;transform:scale(1.18)}}
@keyframes pnShieldPulse{from{transform:scale(.96)}to{transform:scale(1.04)}}
@keyframes pnParticleOut{0%,100%{opacity:.3;transform:scale(.65)}50%{opacity:1;transform:scale(1)}}
@keyframes pnLogoutProgress{0%{transform:translateX(-115%)}100%{transform:translateX(330%)}}
@media(max-width:520px){.pn-logout-loader{padding:14px}.pn-logout-loader-card{padding:28px 19px 22px;border-radius:22px}.pn-session-destroy-animation{width:96px;height:96px}.pn-session-shield{width:58px;height:58px}}
@media(prefers-reduced-motion:reduce){.pn-session-ring,.pn-session-shield,.pn-session-particle,.pn-logout-progress span{animation-duration:1.8s}}


/* 20260723: Ultra compact header profile dropdown
   Fixes desktop overflow where account menu was going below the visible screen. */
.topbar.user-header .profile-dropdown.profile-dropdown-compact,
.user-header .profile-dropdown.profile-dropdown-compact{
  position:relative!important;
}
.topbar.user-header .profile-dropdown.profile-dropdown-compact > summary,
.user-header .profile-dropdown.profile-dropdown-compact > summary{
  width:42px!important;
  height:42px!important;
  display:grid!important;
  place-items:center!important;
}
.topbar.user-header .profile-dropdown.profile-dropdown-compact > .profile-dropdown-panel,
.topbar.user-header .profile-dropdown.profile-dropdown-compact > div,
.user-header .profile-dropdown.profile-dropdown-compact > .profile-dropdown-panel,
.user-header .profile-dropdown.profile-dropdown-compact > div{
  position:absolute!important;
  right:0!important;
  top:46px!important;
  width:188px!important;
  min-width:188px!important;
  max-width:188px!important;
  max-height:min(438px,calc(100vh - 118px))!important;
  padding:5px!important;
  display:grid!important;
  gap:2px!important;
  overflow-y:auto!important;
  overscroll-behavior:contain!important;
  border-radius:12px!important;
  box-shadow:0 12px 32px rgba(15,23,42,.18)!important;
  scrollbar-width:thin!important;
}
.topbar.user-header .profile-dropdown.profile-dropdown-compact > .profile-dropdown-panel::-webkit-scrollbar,
.user-header .profile-dropdown.profile-dropdown-compact > .profile-dropdown-panel::-webkit-scrollbar,
.topbar.user-header .profile-dropdown.profile-dropdown-compact > div::-webkit-scrollbar,
.user-header .profile-dropdown.profile-dropdown-compact > div::-webkit-scrollbar{
  width:5px!important;
}
.topbar.user-header .profile-dropdown.profile-dropdown-compact > .profile-dropdown-panel::-webkit-scrollbar-thumb,
.user-header .profile-dropdown.profile-dropdown-compact > .profile-dropdown-panel::-webkit-scrollbar-thumb,
.topbar.user-header .profile-dropdown.profile-dropdown-compact > div::-webkit-scrollbar-thumb,
.user-header .profile-dropdown.profile-dropdown-compact > div::-webkit-scrollbar-thumb{
  background:#cbd5e1!important;
  border-radius:999px!important;
}
.topbar.user-header .profile-dropdown.profile-dropdown-compact a,
.topbar.user-header .profile-dropdown.profile-dropdown-compact label,
.user-header .profile-dropdown.profile-dropdown-compact a,
.user-header .profile-dropdown.profile-dropdown-compact label{
  min-height:24px!important;
  padding:4px 7px!important;
  gap:6px!important;
  border-radius:8px!important;
  font-size:10.5px!important;
  font-weight:760!important;
  line-height:1.05!important;
  white-space:nowrap!important;
}
.topbar.user-header .profile-dropdown.profile-dropdown-compact a i,
.user-header .profile-dropdown.profile-dropdown-compact a i{
  flex:0 0 12px!important;
  width:12px!important;
  min-width:12px!important;
  font-size:10.5px!important;
  text-align:center!important;
}
.topbar.user-header .profile-dropdown.profile-dropdown-compact label,
.user-header .profile-dropdown.profile-dropdown-compact label{
  display:grid!important;
  min-height:42px!important;
  padding-top:5px!important;
  padding-bottom:5px!important;
  gap:4px!important;
}
.topbar.user-header .profile-dropdown.profile-dropdown-compact select,
.user-header .profile-dropdown.profile-dropdown-compact select{
  width:100%!important;
  height:24px!important;
  min-height:24px!important;
  padding:0 6px!important;
  border-radius:7px!important;
  font-size:10px!important;
}
.topbar.user-header .profile-dropdown.profile-dropdown-compact .dropdown-logout,
.user-header .profile-dropdown.profile-dropdown-compact .dropdown-logout{
  margin-top:1px!important;
}
@media(max-width:800px){
  .topbar.user-header .profile-dropdown.profile-dropdown-compact > .profile-dropdown-panel,
  .topbar.user-header .profile-dropdown.profile-dropdown-compact > div,
  .user-header .profile-dropdown.profile-dropdown-compact > .profile-dropdown-panel,
  .user-header .profile-dropdown.profile-dropdown-compact > div{
    right:-3px!important;
    top:40px!important;
    width:min(184px,calc(100vw - 16px))!important;
    min-width:min(184px,calc(100vw - 16px))!important;
    max-width:min(184px,calc(100vw - 16px))!important;
    max-height:min(420px,calc(100dvh - 76px))!important;
  }
}

/* 20260723: Register page polish — placeholders inside fields, white hero text, guest mobile header buttons right aligned. */
.auth-art,.auth-art h1,.auth-art p{color:#fff!important}
.auth-art .eyebrow{color:#c7d2fe!important;text-shadow:0 1px 6px rgba(0,0,0,.18)}
.pn-register-form input::placeholder,.pn-register-form textarea::placeholder{color:#98a2b3!important;font-weight:650!important;opacity:1!important}
.pn-register-form .phone-field input::placeholder,.pn-register-form .password-field input::placeholder{color:#98a2b3!important;font-weight:650!important;opacity:1!important}
.pn-register-form small{min-height:0!important;margin-top:0!important}
.pn-register-form small:empty{display:none!important}
.user-header.guest-header{justify-content:space-between!important;gap:12px!important}
.user-header.guest-header .brand{flex:0 0 auto!important;min-width:auto!important;margin-right:0!important}
.user-header.guest-header .guest-actions{margin-left:auto!important;margin-right:0!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;flex:0 0 auto!important}
@media(max-width:760px){
  .user-header.guest-header.topbar{display:flex!important;align-items:center!important;justify-content:space-between!important;height:58px!important;min-height:58px!important;padding:7px 8px!important;gap:8px!important;overflow:hidden!important}
  .user-header.guest-header .brand{flex:0 0 42px!important;width:42px!important;min-width:42px!important;max-width:42px!important;overflow:hidden!important}
  .user-header.guest-header .brand-copy,.user-header.guest-header .production-label{display:none!important}
  .user-header.guest-header .site-logo,.user-header.guest-header .brand-mark{display:block!important;width:40px!important;height:40px!important;min-width:40px!important;max-width:40px!important;border-radius:11px!important;object-fit:contain!important}
  .user-header.guest-header .guest-actions{margin-left:auto!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:6px!important;flex:1 1 auto!important;min-width:0!important}
  .user-header.guest-header .guest-actions>a:not(.button){padding:8px 7px!important;font-size:12px!important;font-weight:750!important;white-space:nowrap!important;line-height:1!important}
  .user-header.guest-header .guest-actions .button.small{min-height:38px!important;height:38px!important;padding:0 12px!important;border-radius:12px!important;font-size:12px!important;white-space:nowrap!important;box-shadow:0 8px 18px rgba(24,119,242,.22)!important}
  .auth-card{padding:34px 21px!important}
  .auth-card h2{font-size:32px!important;line-height:1.22!important;margin-bottom:20px!important}
  .pn-register-form{gap:13px!important}
}
@media(max-width:370px){
  .user-header.guest-header .guest-actions{gap:4px!important}
  .user-header.guest-header .guest-actions>a:not(.button){font-size:11px!important;padding-inline:5px!important}
  .user-header.guest-header .guest-actions .button.small{font-size:11px!important;padding-inline:9px!important}
}


/* 20260723 admin-applied setting effects: mobile footer color must always follow admin Settings -> Appearance. */
@media(max-width:800px){
  body .bottom-nav,
  body[data-mobile-footer-theme] .bottom-nav,
  body[data-mobile-footer-theme="glass"] .bottom-nav,
  body[data-mobile-footer-theme="normal"] .bottom-nav,
  body[data-mobile-footer-theme="midnight"] .bottom-nav,
  body[data-mobile-footer-theme="saffron"] .bottom-nav,
  body[data-mobile-footer-theme="royal"] .bottom-nav,
  body[data-mobile-footer-theme="mint"] .bottom-nav{
    background:var(--pn-footer-bg,#ffffff)!important;
    border-color:color-mix(in srgb,var(--pn-footer-bg,#ffffff) 70%,#cbd5e1)!important;
  }
  body .bottom-nav a.active,
  body[data-mobile-footer-theme] .bottom-nav a.active{
    color:var(--pn-footer-active,#1877f2)!important;
    background:color-mix(in srgb,var(--pn-footer-active,#1877f2) 13%,transparent)!important;
  }
  body .bottom-nav a,
  body .bottom-nav button{color:#334155!important}
}

/* Phase 9: legacy mobile/desktop sticky-header override stack removed. */

/* PN global inline button processing feedback disabled by user request. */
.pn-click-processing,
button.pn-click-processing,
a.pn-click-processing,
[role="button"].pn-click-processing {
  cursor: inherit !important;
  pointer-events: auto !important;
  opacity: 1 !important;
}
.pn-click-processing::after,
.pn-click-processing::before {
  content: none !important;
  display: none !important;
}


/* Phase 9: normal-flow header spacing + full-width timeline image fix. */
@media (min-width:1101px){
  body[data-page] .app-layout{display:grid!important;align-items:start!important;margin-top:14px!important;padding-top:0!important;}
  body[data-page] .app-layout>.left-sidebar,body[data-page] .app-layout>.content,body[data-page] .app-layout>.right-sidebar{grid-row:1!important;align-self:start!important;margin-top:0!important;padding-top:0!important;transform:none!important;}
}
@media (max-width:1100px){body[data-page="home"] .content{padding-top:8px!important;}body[data-page="home"] .content>.stories:first-child,body[data-page="home"] .content>section.stories:first-child{margin-top:8px!important;}}
.feed .post .pn-post-image-grid{width:100%!important;max-width:100%!important;background:transparent!important;}
.feed .post .pn-post-image-grid .post-media-open{width:100%!important;max-width:100%!important;}
.feed .post .pn-post-image-grid.pn-grid-1 .post-media-open{height:auto!important;}
.feed .post .pn-post-image-grid.pn-grid-1 img.post-media{display:block!important;width:100%!important;max-width:none!important;height:auto!important;object-fit:cover!important;background:transparent!important;}

/* 20260724: consistent user-header spacing, seller product edit actions, and modal safety. */
body[data-page]:not([data-page="chat"]):not([data-page="reels"]) .app-layout{margin-top:16px!important;}
@media (max-width:1100px){body[data-page]:not([data-page="chat"]):not([data-page="reels"]) .app-layout{margin-top:10px!important;}}
body[data-page="seller-center"] .seller-actions{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important;}
body[data-page="seller-center"] .seller-actions .button{min-height:32px!important;padding:0 10px!important;border-radius:10px!important;font-size:11px!important;box-shadow:none!important;}
body[data-page="seller-center"] .seller-product-edit-modal{width:min(680px,calc(100% - 24px))!important;}
body[data-page="seller-center"] .seller-product-edit-modal form{max-height:92vh!important;overflow:auto!important;}
body[data-page="seller-center"] .seller-product-edit-modal .form-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;}
body[data-page="seller-center"] .seller-product-edit-modal .wide{grid-column:1/-1!important;}
body[data-page="seller-center"] .seller-product-edit-modal small{color:#667085;font-size:11px;}
body[data-page="seller-center"] .seller-product-edit-modal .modal-actions{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:10px!important;}
body[data-page="seller-center"] .seller-product-edit-modal .modal-actions>*{flex:1 1 180px!important;}
body[data-page="seller-center"] .seller-product img{border-radius:50%!important;object-fit:cover!important;}
@media(max-width:680px){body[data-page="seller-center"] .seller-table-row{min-width:620px!important;grid-template-columns:1.2fr .7fr .7fr .55fr 1fr!important;}body[data-page="seller-center"] .seller-product-edit-modal .form-grid{grid-template-columns:1fr!important;}body[data-page="seller-center"] .seller-product-edit-modal .wide{grid-column:auto!important;}}

.pn-turnstile-wrap{margin:10px 0;max-width:100%;overflow:hidden}.pn-turnstile-config-error{padding:10px 12px;border-radius:10px;background:#fff3cd;color:#7c5700;font-size:13px}.pn-register-form .pn-turnstile-wrap{grid-column:1/-1}

/* 20260725: keep the main page loader, but prevent legacy alternate loader overlays from blocking content. */
.page-loader,.pn-loader,.app-loader,.preloader,#preloader,.loading-screen,#loading-screen{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important}
body.loaded,body{overflow:auto!important}


/* 20260726 user wallet/story/like clarity polish */
body[data-page="wallet"] .wallet-hero strong,
body[data-page="wallet"] .wallet-balance,
body[data-page="wallet"] .wallet-grid strong,
body[data-page="wallet"] .finance-amount,
body[data-page="wallet"] .wallet-advanced-hero strong{font-size:clamp(18px,3vw,28px)!important;line-height:1.05!important;white-space:nowrap!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.story>b{background:#16a34a!important;color:#fff!important;top:49px!important;right:0!important;border-radius:999px!important;box-shadow:0 0 0 2px #fff!important;}
.story:not(.is-seen) .story-ring{background:linear-gradient(#fff,#fff) padding-box,linear-gradient(135deg,#22c55e,#16a34a,#0ea5e9) border-box!important;}
.story.is-seen>b{display:none!important;}
.story.is-seen .story-ring{filter:none!important;background:linear-gradient(#fff,#fff) padding-box,linear-gradient(#cbd5e1,#cbd5e1) border-box!important;}
.post-actions button,.post-actions a,.pn-action-row button{transition:.16s;border:1px solid transparent!important;}
.post-actions .liked,.pn-like-main.liked,.pn-action-row button.active,[data-page-like].active{background:linear-gradient(135deg,#e8f1ff,#dbeafe)!important;color:#0b63ce!important;border-color:#93c5fd!important;font-weight:950!important;box-shadow:inset 0 0 0 1px rgba(37,99,235,.10)!important;}
.post-actions .liked i,.pn-like-main.liked i,.pn-like-main.liked .pn-main-reaction-icon,[data-page-like].active i{color:#0b63ce!important;filter:saturate(1.2)!important;}
.post-actions button:not(.liked),.pn-like-main:not(.liked),[data-page-like]:not(.active){background:#f8fafc!important;color:#334155!important;border-color:#e2e8f0!important;}
.post-actions button:not(.liked):hover,.pn-like-main:not(.liked):hover,[data-page-like]:not(.active):hover{background:#eef6ff!important;color:#0b63ce!important;}


/* Free-API Premium Features Phase */
.post-hashtag-link{color:#0969da;font-weight:800;text-decoration:none}.post-hashtag-link:hover{text-decoration:underline}.pn-link-preview{margin:8px 12px 10px;border:1px solid #dbeafe;border-radius:15px;background:#f8fbff;overflow:hidden}.pn-link-preview a{display:grid;grid-template-columns:96px minmax(0,1fr);gap:12px;text-decoration:none;color:#0f172a}.pn-link-preview img{width:96px;height:96px;object-fit:cover;background:#e2e8f0}.pn-link-preview-body{display:grid;align-content:center;gap:4px;padding:10px 10px 10px 0}.pn-link-preview-body small{color:#64748b;font-size:11px;text-transform:uppercase;letter-spacing:.04em;font-weight:900}.pn-link-preview-body strong{font-size:14px;line-height:1.25}.pn-link-preview-body p{margin:0!important;color:#475569;font-size:12px;line-height:1.35}.pn-preview-skeleton{display:flex;gap:8px;align-items:center;padding:13px;color:#64748b;font-size:12px}.pn-firebase-phone-box.is-disabled{opacity:.7}.pn-firebase-phone-box.is-verified [data-firebase-phone-status]{color:#15803d;font-weight:800}@media(max-width:560px){.pn-link-preview a{grid-template-columns:72px minmax(0,1fr)}.pn-link-preview img{width:72px;height:72px}.pn-link-preview-body p{display:none}}



/* Phase 15 hashtag timeline + link preview layout fix 20260730 */
body[data-page="search"] .app-layout{
  grid-template-columns:minmax(210px,240px) minmax(0,680px) minmax(260px,320px)!important;
  align-items:start!important;
}
body[data-page="search"] .app-layout>.right-sidebar{display:grid!important}
body[data-page="search"] .content{width:100%!important;max-width:680px!important;min-width:0!important;gap:7px!important}
body[data-page="search"] .pn13e-search-heading,
body[data-page="search"] .pn13e-trending-search-card{margin:0!important}
body[data-page="search"] .pn13e-hashtag-results{display:grid!important;gap:5px!important;background:transparent!important;padding:0!important;box-shadow:none!important;border:0!important}
body[data-page="search"] .pn13e-result-post{gap:0!important;overflow:hidden!important;background:#fff!important}
body[data-page="search"] .pn13e-result-post .post-head{padding:14px 16px 8px!important}
body[data-page="search"] .pn13e-result-post .post-body{padding:0 16px 10px!important;margin:0!important}
body[data-page="search"] .pn13e-result-post .pn13e-result-media{display:block!important;width:100%!important;max-height:560px!important;border-radius:0!important;object-fit:cover!important}
body[data-page="search"] .pn13e-result-post .post-stats{margin:0 14px!important;padding:10px 0 8px!important}
body[data-page="search"] .pn13e-result-post>.button{margin:0 14px 14px!important;width:calc(100% - 28px)!important;min-height:38px!important}

/* Image first, then site/title/description on every screen. app.css loads last, so keep this final override here. */
.pn-link-preview{margin:6px 0 8px!important;background:#fff!important;box-shadow:none!important;border:1px solid #dbe3ef!important;border-radius:14px!important;overflow:hidden!important}
.pn-link-preview a{display:block!important;grid-template-columns:none!important;gap:0!important;text-decoration:none!important;color:#0f172a!important}
.pn-link-preview img{display:block!important;width:100%!important;height:auto!important;max-height:420px!important;min-height:180px!important;aspect-ratio:16/9!important;object-fit:cover!important;background:#eef2f7!important}
.pn-link-preview-body,.pn-link-preview .pn-preview-body{display:block!important;padding:11px 13px 13px!important}
.pn-link-preview-body small,.pn-link-preview .pn-preview-site{display:block!important;margin:0 0 4px!important;color:#64748b!important;font-size:10px!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.05em!important}
.pn-link-preview-body strong,.pn-link-preview strong{display:block!important;margin:0 0 5px!important;font-size:15px!important;line-height:1.3!important;color:#0f172a!important}
.pn-link-preview-body p,.pn-link-preview p{display:block!important;margin:0!important;color:#526071!important;font-size:12px!important;line-height:1.45!important}

/* Reduce timeline vertical whitespace and remove wrapper background behind cards. */
body[data-page="home"] .content{gap:6px!important;background:transparent!important}
body[data-page="home"] .feed{gap:2px!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
body[data-page="home"] .pn-feed-module,
body[data-page="home"] .pn-feed-module>section,
body[data-page="home"] .pn-feed-module>div{margin-top:0!important;margin-bottom:0!important;background-color:transparent}
body[data-page="home"] .feed>.post,
body[data-page="home"] .feed>.card{margin-top:0!important;margin-bottom:0!important}

@media(max-width:1180px){
  body[data-page="search"] .app-layout{grid-template-columns:minmax(210px,240px) minmax(0,1fr)!important}
  body[data-page="search"] .app-layout>.right-sidebar{display:none!important}
  body[data-page="search"] .content{max-width:none!important}
}
@media(max-width:760px){
  body[data-page="search"] .app-layout{display:block!important;width:100%!important;padding:0!important}
  body[data-page="search"] .content{padding:8px!important;gap:5px!important}
  body[data-page="search"] .pn13e-hashtag-results{gap:4px!important}
  .pn-link-preview img{min-height:0!important;max-height:300px!important}
  body[data-page="home"] .content{gap:4px!important}
  body[data-page="home"] .feed{gap:2px!important}
}

/* Unified news/product engagement + requested three-column pages — 20260730 */
.pn-unified-content-stats{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:10px 14px 8px!important;
  border-top:1px solid #eef1f5!important;
  color:#65676b!important;
  font-size:12px!important;
}
.pn-unified-content-stats>span,
.pn-unified-content-stats>a{
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
  min-width:0!important;
  color:inherit!important;
  white-space:nowrap!important;
}
.pn-unified-content-stats>a:hover{color:#1877f2!important}
.pn-unified-content-actions{
  display:flex!important;
  align-items:stretch!important;
  gap:4px!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:4px 10px 8px!important;
  border-top:1px solid #e4e6eb!important;
}
.pn-unified-content-actions>form,
.pn-unified-content-actions>button,
.pn-unified-content-actions>.post-action-link{
  flex:1 1 0!important;
  min-width:0!important;
  margin:0!important;
}
.pn-unified-content-actions>form{display:flex!important}
.pn-unified-content-actions>form>button,
.pn-unified-content-actions>button,
.pn-unified-content-actions>.post-action-link{
  width:100%!important;
  min-height:40px!important;
  padding:8px 6px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  border:1px solid transparent!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#4b5563!important;
  font-size:13px!important;
  font-weight:800!important;
  line-height:1.2!important;
  white-space:nowrap!important;
}
.pn-unified-content-actions>form>button:hover,
.pn-unified-content-actions>button:hover,
.pn-unified-content-actions>.post-action-link:hover{background:#f0f2f5!important}
.pn-unified-content-actions>form>button.liked{background:#eaf2ff!important;color:#0b63ce!important;border-color:#bfdbfe!important}
.pn-content-comments{
  scroll-margin-top:90px!important;
  min-width:0!important;
  overflow:hidden!important;
}
.pn-content-comments-head,
.pn-content-comments>.pn-section-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  min-width:0!important;
  margin:0!important;
  padding:15px 16px 10px!important;
}
.pn-content-comments-head h2,
.pn-content-comments>.pn-section-head h2{margin:2px 0 0!important;font-size:20px!important}
.pn-content-comments-head>span,
.pn-content-comments>.pn-section-head>span{flex:0 0 auto;color:#64748b!important;font-size:12px!important}
.pn-content-comments .comment-list{
  display:grid!important;
  gap:10px!important;
  min-width:0!important;
  padding:4px 16px 10px!important;
}
.pn-content-comments .comment-list>div{
  position:relative!important;
  display:flex!important;
  align-items:flex-start!important;
  gap:9px!important;
  min-width:0!important;
}
.pn-content-comments .comment-list>div>p{
  flex:1 1 auto!important;
  min-width:0!important;
  margin:0!important;
  padding:9px 12px!important;
  border-radius:14px!important;
  background:#f0f2f5!important;
  color:#111827!important;
  overflow-wrap:anywhere!important;
}
.pn-content-comments .comment-list>div>p strong{display:block!important;margin-bottom:3px!important;font-size:12px!important}
.pn-content-comments .comment-list>div>p small{display:block!important;margin-top:4px!important;color:#6b7280!important;font-size:10px!important}
.pn-content-comments .comment-list>div>form{flex:0 0 auto!important;margin:2px 0 0!important}
.pn-content-comments .comment-list>div>form button{
  width:30px!important;height:30px!important;padding:0!important;border:0!important;border-radius:50%!important;background:#fff1f2!important;color:#dc2626!important;
}
.pn-content-comments-empty{margin:0!important;padding:4px 16px 12px!important;color:#64748b!important;font-size:13px!important}
.pn-content-comment-form{
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:12px 16px 16px!important;
  border-top:1px solid #eef1f5!important;
}
.pn-content-comment-form input[name="comment"]{
  flex:1 1 auto!important;
  min-width:0!important;
  width:auto!important;
  height:42px!important;
  min-height:42px!important;
  margin:0!important;
  padding:0 14px!important;
  border:1px solid #dfe3e8!important;
  border-radius:999px!important;
  background:#f0f2f5!important;
  outline:none!important;
}
.pn-content-comment-form input[name="comment"]:focus{border-color:#93c5fd!important;background:#fff!important;box-shadow:0 0 0 3px rgba(24,119,242,.10)!important}
.pn-content-comment-form>button{
  flex:0 0 42px!important;
  width:42px!important;height:42px!important;min-height:42px!important;padding:0!important;border:0!important;border-radius:50%!important;background:#1877f2!important;color:#fff!important;
}

@media(min-width:1181px){
  body[data-page="profile"] .app-layout,
  body[data-page="search"] .app-layout,
  body[data-page="post"] .app-layout,
  body[data-page="edit-profile"] .app-layout{
    width:min(calc(100% - 32px),1460px)!important;
    grid-template-columns:minmax(210px,240px) minmax(0,720px) minmax(260px,320px)!important;
    gap:18px!important;
    align-items:start!important;
  }
  body[data-page="profile"] .app-layout>.right-sidebar,
  body[data-page="search"] .app-layout>.right-sidebar,
  body[data-page="post"] .app-layout>.right-sidebar,
  body[data-page="edit-profile"] .app-layout>.right-sidebar{display:grid!important}
  body[data-page="profile"] .app-layout>.content,
  body[data-page="search"] .app-layout>.content,
  body[data-page="post"] .app-layout>.content,
  body[data-page="edit-profile"] .app-layout>.content{
    width:100%!important;
    max-width:720px!important;
    min-width:0!important;
  }
}
@media(max-width:1180px){
  body[data-page="profile"] .app-layout>.right-sidebar,
  body[data-page="search"] .app-layout>.right-sidebar,
  body[data-page="post"] .app-layout>.right-sidebar,
  body[data-page="edit-profile"] .app-layout>.right-sidebar{display:none!important}
}
@media(max-width:600px){
  .pn-unified-content-stats{gap:6px!important;padding:8px 10px 7px!important;font-size:11px!important}
  .pn-unified-content-stats>span,
  .pn-unified-content-stats>a{gap:3px!important}
  .pn-unified-content-actions{gap:2px!important;padding:3px 6px 7px!important}
  .pn-unified-content-actions>form>button,
  .pn-unified-content-actions>button,
  .pn-unified-content-actions>.post-action-link{min-height:38px!important;padding:7px 3px!important;gap:5px!important;font-size:12px!important}
  .pn-content-comments-head,
  .pn-content-comments>.pn-section-head{padding:13px 12px 8px!important}
  .pn-content-comments .comment-list{padding:4px 12px 9px!important}
  .pn-content-comment-form{padding:10px 12px 13px!important}
}

/* 2026.09.20 — Logged-in mobile header: exactly three shortcuts only.
   Desktop/header behavior and all page functions remain unchanged. */
.mobile-header-actions{display:none}
@media(max-width:768px){
  .topbar.user-header .mobile-header-actions{
    grid-column:3!important;grid-row:1!important;
    display:grid!important;grid-template-columns:repeat(3,34px)!important;
    align-items:center!important;justify-content:end!important;
    gap:5px!important;width:112px!important;min-width:112px!important;max-width:112px!important;
    margin:0!important;overflow:visible!important;
  }
  .topbar.user-header .mobile-header-actions .mobile-header-shortcut{
    display:grid!important;place-items:center!important;
    width:34px!important;height:34px!important;min-width:34px!important;max-width:34px!important;
    padding:0!important;margin:0!important;border-radius:11px!important;font-size:14px!important;
  }
  .topbar.user-header .mobile-header-actions .shortcut-scan{color:#075fc6!important;background:linear-gradient(145deg,#e8f2ff,#dbeafe)!important}
  .topbar.user-header .mobile-header-actions .shortcut-engage{color:#087c54!important;background:linear-gradient(145deg,#e8fff3,#d8fae8)!important}
  .topbar.user-header .mobile-header-actions .shortcut-astro{color:#a94b00!important;background:linear-gradient(145deg,#fff4d7,#ffebad)!important}
  .topbar.user-header .top-actions{display:none!important}
}
@media(max-width:390px){
  .topbar.user-header .mobile-header-actions{grid-template-columns:repeat(3,30px)!important;width:100px!important;min-width:100px!important;max-width:100px!important;gap:4px!important}
  .topbar.user-header .mobile-header-actions .mobile-header-shortcut{width:30px!important;height:30px!important;min-width:30px!important;max-width:30px!important;border-radius:10px!important}
}

/* 2026.09.21 — Mobile header right-edge alignment hotfix.
   Keep the approved compact mobile header unchanged: logo/search plus the two
   visible shortcuts. Remove only the unused reserved shortcut column so the
   action group sits at the real right edge. No desktop or functional changes. */
@media(max-width:768px){
  .topbar.user-header{
    grid-template-columns:42px minmax(0,1fr) 73px!important;
  }
  .topbar.user-header .mobile-header-actions{
    grid-column:3!important;
    grid-row:1!important;
    grid-template-columns:repeat(2,34px)!important;
    width:73px!important;
    min-width:73px!important;
    max-width:73px!important;
    gap:5px!important;
    justify-content:end!important;
    justify-self:end!important;
    margin:0!important;
  }
  .topbar.user-header .mobile-header-actions .shortcut-scan{display:none!important}
}
@media(max-width:390px){
  .topbar.user-header{
    grid-template-columns:38px minmax(0,1fr) 64px!important;
  }
  .topbar.user-header .mobile-header-actions{
    grid-template-columns:repeat(2,30px)!important;
    width:64px!important;
    min-width:64px!important;
    max-width:64px!important;
    gap:4px!important;
  }
}


/* 2026.09.22 — Final mobile-only three-shortcut alignment.
   Flex sizing prevents the QR shortcut from entering the search field and
   removes trailing right-side space. Desktop and page content are untouched. */
@media(max-width:768px){
  .topbar.user-header{
    display:flex!important;
    align-items:center!important;
    width:100%!important;
    min-width:0!important;
    height:64px!important;
    min-height:64px!important;
    padding:7px 8px!important;
    gap:7px!important;
    overflow:visible!important;
  }
  .topbar.user-header>.brand{
    flex:0 0 42px!important;
    width:42px!important;
    min-width:42px!important;
    max-width:42px!important;
    margin:0!important;
  }
  .topbar.user-header>.global-search{
    flex:1 1 auto!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    height:42px!important;
    margin:0!important;
    position:relative!important;
    overflow:visible!important;
  }
  .topbar.user-header>.global-search>input{
    box-sizing:border-box!important;
    display:block!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    height:42px!important;
    padding-right:10px!important;
  }
  .topbar.user-header>.mobile-header-actions{
    position:relative!important;
    inset:auto!important;
    flex:0 0 112px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    width:112px!important;
    min-width:112px!important;
    max-width:112px!important;
    height:42px!important;
    gap:5px!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
    transform:none!important;
  }
  .topbar.user-header>.mobile-header-actions>.mobile-header-shortcut,
  .topbar.user-header>.mobile-header-actions>.shortcut-scan{
    position:relative!important;
    inset:auto!important;
    display:grid!important;
    flex:0 0 34px!important;
    place-items:center!important;
    width:34px!important;
    min-width:34px!important;
    max-width:34px!important;
    height:34px!important;
    margin:0!important;
    padding:0!important;
    transform:none!important;
    visibility:visible!important;
    opacity:1!important;
  }
  .topbar.user-header>.top-actions{display:none!important}
}
@media(max-width:390px){
  .topbar.user-header{height:60px!important;min-height:60px!important;padding:6px!important;gap:5px!important}
  .topbar.user-header>.brand{flex-basis:38px!important;width:38px!important;min-width:38px!important;max-width:38px!important}
  .topbar.user-header>.global-search,.topbar.user-header>.global-search>input{height:38px!important}
  .topbar.user-header>.mobile-header-actions{flex-basis:94px!important;width:94px!important;min-width:94px!important;max-width:94px!important;height:38px!important;gap:2px!important}
  .topbar.user-header>.mobile-header-actions>.mobile-header-shortcut,
  .topbar.user-header>.mobile-header-actions>.shortcut-scan{flex-basis:30px!important;width:30px!important;min-width:30px!important;max-width:30px!important;height:30px!important}
}

/* 2026.09.23 — Mobile-only final right-edge alignment and compact header/story gap.
   The three approved shortcuts are anchored to the physical right edge of the
   user header. Desktop, routes and all non-header functions remain unchanged. */
@media (max-width:768px){
  .topbar.user-header{
    position:relative!important;
    box-sizing:border-box!important;
    padding-right:124px!important;
  }
  .topbar.user-header>.global-search{
    flex:1 1 auto!important;
    min-width:0!important;
    margin-right:0!important;
  }
  .topbar.user-header>.mobile-header-actions{
    position:absolute!important;
    top:50%!important;
    right:6px!important;
    left:auto!important;
    bottom:auto!important;
    width:112px!important;
    min-width:112px!important;
    max-width:112px!important;
    transform:translateY(-50%)!important;
    justify-content:flex-end!important;
    margin:0!important;
  }
  body[data-page="home"] .app-layout>.content,
  body[data-page="home"] .content{
    padding-top:2px!important;
  }
  body[data-page="home"] .content>.stories:first-child,
  body[data-page="home"] .content>section.stories:first-child{
    margin-top:0!important;
  }
}
@media (max-width:390px){
  .topbar.user-header{padding-right:104px!important}
  .topbar.user-header>.mobile-header-actions{
    right:4px!important;
    width:94px!important;
    min-width:94px!important;
    max-width:94px!important;
  }
}
/* PaisaNow live notification toast — isolated from existing design */
.pn-live-toast{position:fixed;right:14px;top:76px;z-index:2147482000;width:min(390px,calc(100vw - 24px));display:flex;gap:11px;align-items:center;padding:12px;border:1px solid #dbe5f2;border-radius:16px;background:#fff;color:#172033;text-decoration:none;box-shadow:0 18px 48px rgba(15,23,42,.22);opacity:0;transform:translateY(-12px) scale(.98);transition:.22s ease}
.pn-live-toast.show{opacity:1;transform:none}.pn-live-toast img{width:48px;height:48px;flex:0 0 48px;border-radius:50%;object-fit:cover;background:#edf2f7}.pn-live-toast span{min-width:0;display:grid;gap:2px}.pn-live-toast b{font-size:12px;color:#2563eb}.pn-live-toast strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pn-live-toast small{font-size:12px;color:#667085;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pn-live-toast>i{margin-left:auto;padding:8px;color:#94a3b8}
@media(max-width:700px){.pn-live-toast{top:64px;right:8px;width:calc(100vw - 16px);border-radius:14px}}

/* 2026.09.27: compact realtime notification card, isolated from all legacy/global link styles. */
html body .pnrt-toast-card-20260927{
  all:initial!important;
  box-sizing:border-box!important;
  position:fixed!important;
  z-index:2147483000!important;
  top:76px!important;
  right:14px!important;
  left:auto!important;
  bottom:auto!important;
  width:390px!important;
  max-width:calc(100vw - 28px)!important;
  min-width:0!important;
  height:auto!important;
  min-height:76px!important;
  max-height:112px!important;
  margin:0!important;
  padding:12px!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:11px!important;
  overflow:hidden!important;
  border:1px solid #dbe5f2!important;
  border-radius:16px!important;
  background:#fff!important;
  color:#172033!important;
  text-decoration:none!important;
  font-family:inherit!important;
  box-shadow:0 16px 42px rgba(15,23,42,.22)!important;
  opacity:0!important;
  transform:translate3d(0,-10px,0) scale(.98)!important;
  transition:opacity .2s ease,transform .2s ease!important;
  aspect-ratio:auto!important;
  clip-path:none!important;
  filter:none!important;
}
html body .pnrt-toast-card-20260927.is-visible{opacity:1!important;transform:translate3d(0,0,0) scale(1)!important}
html body .pnrt-toast-card-20260927 .pnrt-toast-avatar{all:initial!important;box-sizing:border-box!important;display:block!important;width:48px!important;height:48px!important;min-width:48px!important;max-width:48px!important;min-height:48px!important;max-height:48px!important;border-radius:50%!important;object-fit:cover!important;background:#edf2f7!important}
html body .pnrt-toast-card-20260927 .pnrt-toast-copy{all:initial!important;box-sizing:border-box!important;display:grid!important;gap:2px!important;min-width:0!important;flex:1 1 auto!important;font-family:inherit!important;color:#172033!important}
html body .pnrt-toast-card-20260927 .pnrt-toast-copy b{all:initial!important;display:block!important;font:700 12px/1.25 inherit!important;color:#2563eb!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
html body .pnrt-toast-card-20260927 .pnrt-toast-copy strong{all:initial!important;display:block!important;font:700 14px/1.3 inherit!important;color:#172033!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
html body .pnrt-toast-card-20260927 .pnrt-toast-copy small{all:initial!important;display:block!important;font:400 12px/1.35 inherit!important;color:#667085!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
html body .pnrt-toast-card-20260927 .pnrt-toast-close{all:initial!important;box-sizing:border-box!important;display:grid!important;place-items:center!important;flex:0 0 32px!important;width:32px!important;height:32px!important;border-radius:50%!important;cursor:pointer!important;color:#64748b!important;font-family:inherit!important}
html body .pnrt-toast-card-20260927 .pnrt-toast-close:hover{background:#f1f5f9!important}
@media(max-width:700px){html body .pnrt-toast-card-20260927{top:64px!important;right:8px!important;width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important;min-height:72px!important;border-radius:14px!important}}


/* 2026.09.28 — Premium fresh notification toast, isolated from legacy card CSS. */
.pnrt-toast-stack{position:fixed;z-index:2147483000;top:82px;right:18px;width:min(390px,calc(100vw - 24px));display:grid;gap:10px;pointer-events:none}
.pnrt-premium-toast{position:relative;isolation:isolate;overflow:hidden;min-height:104px;border:1px solid rgba(99,102,241,.18);border-radius:22px;background:linear-gradient(125deg,#fff7ed 0%,#eff6ff 38%,#ecfdf5 68%,#fdf2f8 100%);box-shadow:0 24px 70px rgba(15,23,42,.22),0 8px 24px rgba(37,99,235,.12);opacity:0;transform:translate3d(24px,0,0) scale(.97);transition:opacity .24s ease,transform .24s ease;pointer-events:auto;color:#0f172a}
.pnrt-premium-toast.is-visible{opacity:1;transform:translate3d(0,0,0) scale(1)}
.pnrt-premium-toast .pnrt-glow{position:absolute;z-index:-1;inset:-50%;background:radial-gradient(circle at 18% 28%,rgba(59,130,246,.22),transparent 26%),radial-gradient(circle at 82% 18%,rgba(236,72,153,.16),transparent 25%),radial-gradient(circle at 70% 90%,rgba(16,185,129,.18),transparent 28%);filter:blur(15px)}
.pnrt-premium-toast .pnrt-main{display:flex;align-items:center;gap:13px;min-height:104px;padding:15px 48px 15px 15px;color:inherit;text-decoration:none}
.pnrt-avatar-wrap{position:relative;flex:0 0 58px;width:58px;height:58px}.pnrt-avatar{display:block;width:58px;height:58px;border:3px solid rgba(255,255,255,.95);border-radius:50%;object-fit:cover;background:#e2e8f0;box-shadow:0 7px 18px rgba(15,23,42,.16)}
.pnrt-avatar-wrap>i{position:absolute;right:-3px;bottom:-3px;width:25px;height:25px;display:grid;place-items:center;border:2px solid #fff;border-radius:50%;background:#2563eb;color:#fff;font-size:11px}
.pnrt-copy{display:grid;min-width:0;gap:2px}.pnrt-copy .pnrt-fresh{width:max-content;padding:3px 8px;border-radius:999px;background:rgba(255,255,255,.76);color:#2563eb;font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.pnrt-copy b{overflow:hidden;color:#0f172a;font-size:13px;font-weight:850;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.pnrt-copy strong{overflow:hidden;color:#172554;font-size:14px;font-weight:900;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.pnrt-copy small{display:-webkit-box;overflow:hidden;color:#475569;font-size:12px;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.pnrt-close{position:absolute;top:10px;right:10px;width:31px;height:31px;display:grid;place-items:center;border:0;border-radius:50%;background:rgba(255,255,255,.72);color:#475569;cursor:pointer}.pnrt-close:hover{background:#fff;color:#0f172a}
.notification-link [data-live-alert-count][hidden],.message-link [data-live-chat-count][hidden]{display:none!important}
@media(max-width:700px){.pnrt-toast-stack{top:58px;right:8px;left:8px;width:auto;max-width:none;gap:7px}.pnrt-premium-toast{width:100%;max-width:100%;min-height:76px;border-radius:16px}.pnrt-premium-toast .pnrt-main{min-height:76px;padding:9px 40px 9px 10px;gap:10px}.pnrt-avatar-wrap,.pnrt-avatar{width:44px;height:44px}.pnrt-avatar-wrap{flex:0 0 44px}.pnrt-avatar-wrap>i{width:20px;height:20px;font-size:9px}.pnrt-copy .pnrt-fresh{padding:2px 6px;font-size:8px}.pnrt-copy b{font-size:12px}.pnrt-copy strong{font-size:13px}.pnrt-copy small{font-size:11px;-webkit-line-clamp:1}.pnrt-close{top:7px;right:7px;width:28px;height:28px}}
@media(prefers-reduced-motion:reduce){.pnrt-premium-toast{transition:none}}

/* 2026.09.31 mobile toast safety: compact top placement; chat files intentionally untouched. */
@media(max-width:700px){html body .pnrt-toast-card-20260927{top:58px!important;right:8px!important;left:8px!important;width:auto!important;max-width:none!important;min-height:68px!important}}


/* V4: compact, real cookie notice with policy link */
.cookie-banner{left:12px!important;right:12px!important;bottom:14px!important;max-width:640px!important;min-height:44px!important;padding:8px 10px 8px 13px!important;gap:10px!important;border-radius:13px!important;box-shadow:0 12px 30px rgba(7,21,47,.16)!important;align-items:center!important}
.cookie-banner p{font-size:11px!important;line-height:1.35!important;color:#1f2937!important}
.cookie-banner a{color:#1877f2!important;font-weight:800!important;text-decoration:none!important;white-space:nowrap!important}
.cookie-banner .button{min-height:32px!important;padding:0 12px!important;border-radius:10px!important;font-size:12px!important}
@media(max-width:800px){.cookie-banner{bottom:72px!important;left:8px!important;right:8px!important;max-width:calc(100% - 16px)!important}.cookie-banner p{font-size:10px!important}.cookie-banner .button{min-height:30px!important;padding:0 10px!important}}
