.extra-shell{min-height:100vh;background:#07090f;color:#f8fafc;padding:18px}.extra-nav{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}.extra-nav a,.xbtn{border:1px solid rgba(255,176,0,.35);background:rgba(255,176,0,.12);color:#ffcb47;text-decoration:none;border-radius:16px;padding:10px 14px;font-weight:800}.xgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}.xcard{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:22px;padding:16px;box-shadow:0 20px 55px rgba(0,0,0,.25)}.xcard h1,.xcard h2{margin:0 0 12px}.xfield{display:block;margin:10px 0}.xfield input,.xfield textarea,.xfield select{width:100%;border:1px solid rgba(255,255,255,.12);border-radius:14px;background:#0d111a;color:#fff;padding:12px}.xbtn{display:inline-flex;align-items:center;gap:8px;cursor:pointer}.xdanger{background:rgba(255,60,60,.14);border-color:rgba(255,60,60,.35);color:#ff9d9d}.xmedia{width:100%;max-height:420px;object-fit:contain;border-radius:18px;background:#000}.xmuted{color:#b7c0cc;font-size:13px}.xlist{display:flex;flex-direction:column;gap:10px}.xitem{display:flex;justify-content:space-between;gap:10px;align-items:center;background:rgba(0,0,0,.18);border-radius:16px;padding:12px}.xnotice{padding:12px 14px;border-radius:16px;background:rgba(255,176,0,.12);margin-bottom:14px}.xmessages{max-height:70vh;overflow:auto}.xmsg{margin:8px 0;padding:10px 12px;border-radius:16px;background:rgba(255,255,255,.08)}@media(max-width:700px){.extra-shell{padding-bottom:86px}.extra-nav{position:fixed;bottom:0;left:0;right:0;background:#080a0f;padding:8px;z-index:50}.extra-nav a{flex:1;text-align:center;font-size:12px;padding:8px}.extra-nav a i{display:block;font-size:18px}}
.pc-extra-feature-row .pc-icon-btn{width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none}.pc-mobile-nav{overflow-x:auto}.pc-mobile-nav .pc-mobile-extra-link{min-width:58px;font-size:11px}.pc-mobile-nav .pc-mobile-extra-link i{font-size:18px;color:#ffb000}

/* Embedded module mode inside chat.php panels */
.extra-module-body{background:#0b0f17!important;overflow:auto}.extra-shell-module{max-width:none!important;margin:0!important;padding:14px!important}.extra-shell-module .xgrid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}.extra-shell-module .xcard{border-radius:18px!important;box-shadow:none!important}.extra-shell-module h1{font-size:22px}.extra-shell-module h2{font-size:17px}@media(max-width:767.98px){.extra-shell-module{padding:10px!important}.extra-shell-module .xgrid{display:block}.extra-shell-module .xcard{margin-bottom:10px!important;border-radius:16px!important}.extra-shell-module .xitem{gap:8px}.extra-shell-module input,.extra-shell-module select,.extra-shell-module textarea{font-size:16px!important}}

/* v16 WhatsApp-like module UI for Ads and Live Share */
.wa-updates{min-height:100%;padding:12px 12px 90px;background:#071015;color:#f8fafc}.wa-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.wa-top h1{margin:0;font-size:clamp(28px,7vw,42px);letter-spacing:-.04em}.wa-top p{margin:4px 0 0;color:#93a1ad}.wa-fab-mini{width:48px;height:48px;border:0;border-radius:16px;background:rgba(255,176,0,.14);color:#ffb000;font-size:22px;display:grid;place-items:center}.wa-status-strip{display:flex;gap:12px;overflow-x:auto;padding:2px 0 18px;scroll-snap-type:x mandatory}.wa-status-strip::-webkit-scrollbar{height:0}.wa-story-card{position:relative;flex:0 0 126px;height:190px;border:1px solid rgba(255,255,255,.09);border-radius:24px;background:#111923;overflow:hidden;color:#fff;text-align:left;padding:0;scroll-snap-align:start;box-shadow:0 15px 40px rgba(0,0,0,.28)}.wa-story-card img,.wa-story-card video{width:100%;height:100%;object-fit:cover;display:block;filter:brightness(.82)}.wa-story-card:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.55))}.wa-story-card strong{position:absolute;z-index:2;left:11px;right:8px;bottom:12px;font-size:15px;line-height:1.1;text-shadow:0 2px 8px rgba(0,0,0,.7);word-break:break-word}.wa-story-card .wa-ring{position:absolute;z-index:3;top:12px;left:12px;width:54px;height:54px;border:3px solid #20c86a;border-radius:50%;background:#0b1118;display:grid;place-items:center;overflow:hidden;box-shadow:0 0 0 3px rgba(7,16,21,.9)}.wa-ring img{width:100%;height:100%;object-fit:cover;filter:none}.wa-ring b{font-size:22px}.wa-story-card.add{display:grid;place-items:center;background:linear-gradient(145deg,#111a22,#0a1118);padding:14px;text-align:center}.wa-story-card.add:after{display:none}.wa-story-card.add strong{position:static;text-align:center}.add-circle{width:70px;height:70px;border-radius:50%;background:rgba(255,176,0,.14);color:#ffb000;display:grid;place-items:center;font-size:30px;border:1px solid rgba(255,176,0,.3)}.wa-updates h2{font-size:24px;margin:10px 0 12px}.wa-feed-list{display:flex;flex-direction:column;gap:8px}.wa-feed-item{display:grid;grid-template-columns:54px 1fr 26px;gap:12px;align-items:center;width:100%;border:0;background:transparent;color:#fff;text-align:left;padding:10px 2px;border-radius:16px}.wa-feed-item:active{background:rgba(255,255,255,.06)}.wa-avatar-sm{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#0b1118;overflow:hidden}.wa-avatar-sm img{width:100%;height:100%;object-fit:cover}.wa-feed-item strong{display:block;font-size:16px}.wa-feed-item small{display:block;color:#9aa6b2;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wa-empty{width:100%;min-height:160px;border:1px dashed rgba(255,176,0,.25);border-radius:24px;display:grid;place-items:center;text-align:center;color:#9aa6b2;padding:20px}.wa-empty i{font-size:34px;color:#ffb000}.wa-empty strong{color:#fff}.wa-compose-fab{position:fixed;right:24px;bottom:24px;z-index:20;width:62px;height:62px;border:0;border-radius:22px;background:#ffb000;color:#080b10;box-shadow:0 16px 38px rgba(0,0,0,.35);font-size:24px;display:grid;place-items:center}.wa-compose-fab b{position:absolute;right:8px;top:4px;font-size:18px}.wa-composer{position:fixed;inset:0;z-index:60;background:rgba(0,0,0,.55);display:none;align-items:flex-end;padding:12px}.wa-composer.show{display:flex}.wa-compose-card{width:100%;max-width:520px;margin:0 auto;background:#111923;border:1px solid rgba(255,176,0,.16);border-radius:26px;padding:18px;color:#fff;box-shadow:0 -20px 50px rgba(0,0,0,.4);position:relative}.wa-compose-card h2{margin:0 0 4px}.wa-compose-card p{color:#9aa6b2;margin:0 0 14px}.wa-close{position:absolute;right:12px;top:12px;width:38px;height:38px;border:0;border-radius:14px;background:rgba(255,255,255,.08);color:#fff}.wa-story-viewer{position:fixed;inset:0;z-index:80;background:#000;color:#fff;display:none;grid-template-rows:auto 1fr auto auto}.wa-story-viewer.show{display:grid}.wa-progress{height:4px;margin:6px;border-radius:99px;background:rgba(255,255,255,.35);overflow:hidden}.wa-progress i{display:block;height:100%;width:100%;background:#fff;animation:waProgress 8s linear both}@keyframes waProgress{from{width:0}to{width:100%}}.wa-story-head{display:grid;grid-template-columns:42px 48px 1fr auto;gap:8px;align-items:center;padding:6px 10px 10px}.wa-story-head button{width:40px;height:40px;border:0;border-radius:14px;background:rgba(255,255,255,.08);color:#fff;font-size:20px}.wa-story-head .wa-avatar-sm{width:46px;height:46px}.wa-story-head strong{display:block;font-size:17px}.wa-story-head small{display:block;color:#d7d7d7}.wa-media-stage{display:grid;place-items:center;min-height:0}.wa-media-stage img,.wa-media-stage video{max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain}.wa-caption{margin:0;padding:10px 16px 4px;text-align:center;background:linear-gradient(180deg,transparent,rgba(0,0,0,.55));font-size:15px}.wa-reply{display:grid;grid-template-columns:1fr 54px;gap:10px;padding:10px 14px calc(12px + env(safe-area-inset-bottom));background:#000}.wa-reply input{height:54px;border:0;border-radius:27px;background:#1d272e;color:#fff;padding:0 18px;font-size:16px}.wa-reply button{border:0;border-radius:50%;background:#1d272e;color:#fff;font-size:22px}.x-ads-page .wa-story-card{border-color:rgba(255,176,0,.22)}
@media(max-width:520px){.wa-updates{padding:10px 10px 92px}.wa-story-card{flex-basis:116px;height:174px;border-radius:22px}.wa-compose-fab{right:16px;bottom:18px;width:58px;height:58px}.wa-story-head{grid-template-columns:38px 44px 1fr auto}.wa-story-head button{width:38px;height:38px}.wa-top h1{font-size:36px}}

/* v17 polished gold status/ads modules */
.pchat-gold-ui{background:radial-gradient(circle at top left,rgba(255,176,0,.08),transparent 32%),#070b10!important}.pchat-gold-ui .wa-ring{border-color:#ffb000!important;box-shadow:0 0 0 3px rgba(7,16,21,.95),0 0 20px rgba(255,176,0,.28)!important}.pchat-gold-ui .wa-story-card{border-color:rgba(255,176,0,.22);background:linear-gradient(145deg,#111820,#080d13)}.pchat-gold-ui .wa-story-card:before{content:"";position:absolute;left:-26px;right:-26px;top:-58px;height:94px;border-radius:50%;border-bottom:3px solid rgba(255,176,0,.85);z-index:2;pointer-events:none}.pchat-gold-ui .wa-story-card.add:before{display:none}.pchat-gold-ui .wa-story-card img,.pchat-gold-ui .wa-story-card video{filter:brightness(.72) saturate(1.04)}.pchat-gold-ui .wa-feed-item{background:rgba(255,255,255,.025);padding:12px;border:1px solid rgba(255,255,255,.055)}.pchat-gold-ui .wa-feed-item:hover{background:rgba(255,176,0,.08);border-color:rgba(255,176,0,.2)}.pchat-gold-ui .wa-avatar-sm{background:linear-gradient(145deg,#ffce53,#ff9f00);color:#080b10}.wa-count{position:absolute;right:10px;top:12px;z-index:4;display:inline-flex;align-items:center;gap:4px;padding:4px 8px;border-radius:999px;background:rgba(0,0,0,.62);border:1px solid rgba(255,176,0,.55);color:#ffce53;font-style:normal;font-size:12px;font-weight:900}.upload-box{position:relative;display:grid!important;place-items:center;text-align:center;min-height:118px;border:1px dashed rgba(255,176,0,.35)!important;background:rgba(255,176,0,.06)!important;color:#ffcf57;border-radius:18px!important;cursor:pointer}.upload-box i{font-size:34px}.upload-box input{position:absolute;inset:0;opacity:0;cursor:pointer}.wa-progress-multi{display:flex;gap:5px;background:transparent!important;height:5px}.wa-progress-multi i{flex:1;width:auto!important;border-radius:99px;background:rgba(255,255,255,.35);animation:none!important}.wa-progress-multi i.active{background:#ffb000}.wa-story-viewer[data-multi-story]{grid-template-rows:auto auto 1fr auto auto;overflow:hidden}.wa-slide{display:none;min-height:0;height:100%}.wa-slide.active{display:block;min-height:0;height:100%}.wa-nav-zone{position:absolute;top:98px;bottom:92px;z-index:4;width:38%;border:0;background:transparent}.wa-nav-zone.wa-prev{left:0}.wa-nav-zone.wa-next{right:0}.wa-nav-zone:active{background:rgba(255,176,0,.05)}.wa-caption-overlay{position:absolute;left:14px;right:14px;bottom:calc(18px + env(safe-area-inset-bottom));z-index:5;border-radius:18px;background:linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.72));padding:18px 14px 14px!important;font-weight:800;text-shadow:0 2px 8px #000}.wa-story-viewer .wa-reply+.wa-caption-overlay{bottom:86px}.wa-story-head button,.wa-reply button{color:#ffcb47}.wa-compose-card{border-color:rgba(255,176,0,.25)!important;background:#101720!important}.wa-compose-fab,.wa-fab-mini,.add-circle,.xbtn{background:linear-gradient(145deg,#ffca45,#ff9f00)!important;color:#080b10!important;border-color:rgba(255,176,0,.55)!important}.wa-close{color:#ffcb47!important}.wa-empty{border-color:rgba(255,176,0,.35);background:rgba(255,176,0,.045)}
@media(max-width:520px){.wa-status-strip{gap:10px}.wa-story-card{flex-basis:122px;height:186px}.wa-top{margin-bottom:14px}.wa-feed-item{border-radius:18px}.wa-nav-zone{top:86px;bottom:86px}.wa-caption-overlay{font-size:16px}}

/* v18 mobile module readability, scrolling and secret/trust polish */
html,body.extra-module-body{height:100%;max-height:100%;overflow:auto!important;-webkit-overflow-scrolling:touch}.extra-module-body .extra-shell-module{min-height:100dvh;overflow:visible!important;padding-bottom:120px!important}.pc-module-card iframe{overflow:auto!important}.extra-shell-module .extra-nav{display:none!important}.extra-shell-module .xgrid{align-items:start}.extra-shell-module .xcard{background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.045));border:1px solid rgba(255,255,255,.10);box-shadow:0 18px 55px rgba(0,0,0,.28)}.extra-shell-module h1,.extra-shell-module h2{letter-spacing:-.03em}.xcard h1 i,.xcard h2 i{display:none!important}.xform-stack{display:grid;gap:10px}.xdetails{margin:12px 0;border:1px solid rgba(255,255,255,.09);border-radius:18px;background:rgba(0,0,0,.16);overflow:hidden}.xdetails summary{cursor:pointer;padding:13px 14px;font-weight:900;color:#ffcb47;list-style:none;display:flex;align-items:center;justify-content:space-between}.xdetails summary:after{content:'+';font-size:20px}.xdetails[open] summary:after{content:'–'}.xdetails form,.xdetails .xlist{padding:0 12px 12px}.secret-ui .xcard,.trust-ui .xcard,.trust-chat{border-radius:24px}.secret-card h1,.trust-card h1{font-size:clamp(24px,8vw,34px);margin-bottom:8px}.folder-row,.file-row{transition:.18s ease;min-height:58px}.folder-row:hover,.file-row:hover,.trust-ui .xitem:hover{transform:translateY(-1px);background:rgba(255,176,0,.08);border-color:rgba(255,176,0,.22)}.folder-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}.folder-title h2{font-size:26px;margin-bottom:4px}.upload-inline{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:end;margin:12px 0}.access-add{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:end}.file-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.file-actions form{margin:0}.file-row span{min-width:0}.file-row b,.folder-row b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.file-row small,.folder-row small{display:block}.xbtn{border-radius:14px;min-height:42px;justify-content:center}.xdanger{background:linear-gradient(145deg,#4b1717,#2a0b0b)!important;color:#ffb4b4!important;border-color:rgba(255,90,90,.42)!important}.trust-ui .xitem{border:1px solid rgba(255,255,255,.07)}.trust-chat{margin-top:14px}.trust-chat .xmessages{max-height:none;overflow:visible}.trust-chat .xmsg{border:1px solid rgba(255,255,255,.07);background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.035))}.extra-shell-module .xfield input,.extra-shell-module .xfield select,.extra-shell-module .xfield textarea{min-height:46px;background:#090e17;border-color:rgba(255,255,255,.14)}
@media(max-width:767.98px){.extra-module-body .extra-shell-module{padding:12px 12px 150px!important}.extra-shell-module .xgrid{display:flex!important;flex-direction:column;gap:12px}.extra-shell-module .xcard{width:100%;padding:16px!important;margin:0 0 14px!important;border-radius:22px!important}.extra-shell-module h1{font-size:29px!important}.extra-shell-module h2{font-size:22px!important}.xitem{align-items:flex-start;gap:12px;padding:14px!important}.upload-inline,.access-add{grid-template-columns:1fr}.file-row{display:grid!important;grid-template-columns:1fr;gap:12px}.file-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.file-actions .xbtn{width:100%}.folder-title{align-items:center}.folder-title form .xbtn{width:46px;min-width:46px;padding:0}.secret-ui,.trust-ui{padding-bottom:30px}.xmessages{padding-bottom:60px}.pc-module-head .bi-folder-lock,.pc-module-head .bi-shield-check{display:none!important}.pc-module-head span{display:block!important}.pc-module-head strong{font-size:18px}.pc-module-head small{white-space:normal!important;line-height:1.25;margin-top:2px}.pc-module-card iframe{height:calc(100% - 74px)!important}}

/* v19: mobile-first readable modules */
html,body.extra-module-body{height:auto!important;min-height:100%!important;overflow-y:auto!important;overscroll-behavior:contain;background:#080d15!important;color:#fff!important}
.extra-shell-module{min-height:100dvh!important;padding:16px 16px 170px!important;box-sizing:border-box!important;overflow:visible!important}
.extra-shell-module:after{content:"";display:block;height:120px}
.secret-ui,.trust-ui{max-width:980px;margin:0 auto;display:grid;gap:16px}.secret-ui .xcard,.trust-ui .xcard{border-radius:26px!important;background:linear-gradient(180deg,#151923,#10141d)!important;border:1px solid rgba(255,176,0,.14)!important;box-shadow:0 20px 60px rgba(0,0,0,.35)!important}.secret-card h1,.trust-card h1{font-size:clamp(25px,7vw,38px)!important;line-height:1.05}.xnotice{border-radius:16px!important;background:rgba(255,176,0,.12)!important;border:1px solid rgba(255,176,0,.22)!important;color:#ffd879!important}.xfield input,.xfield select,.xfield textarea{width:100%;box-sizing:border-box;color:#fff!important}.folder-row,.file-row,.access-list .xitem{border-radius:18px!important;background:#0d121c!important;border:1px solid rgba(255,255,255,.08)!important;margin-bottom:8px!important}.folder-row i{color:#ffb000!important}.owner-pill{display:inline-flex;gap:6px;align-items:center;border:1px solid rgba(255,176,0,.24);background:rgba(255,176,0,.10);color:#ffd05a;border-radius:999px;padding:4px 9px;font-size:12px;font-weight:800}.secret-toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:10px 0 4px}.secret-empty{padding:18px;border-radius:18px;border:1px dashed rgba(255,176,0,.22);color:rgba(255,255,255,.72);background:rgba(255,176,0,.04)}
.trust-ui .xitem{min-height:62px}.trust-chat .xmessages{display:grid;gap:10px}.trust-chat .xmsg{border-radius:18px!important;padding:12px!important;line-height:1.45}.trust-chat:before{content:'Read-only trusted chat';display:block;font-weight:900;color:#ffcb47;margin-bottom:10px}
@media(max-width:767.98px){.extra-shell-module{padding:12px 12px 190px!important}.extra-shell-module:after{height:160px}.secret-ui,.trust-ui{display:flex!important;flex-direction:column!important;gap:12px!important}.secret-ui .xcard,.trust-ui .xcard{padding:16px!important;border-radius:24px!important;width:100%!important;box-sizing:border-box!important}.xgrid{display:flex!important;flex-direction:column!important}.xform-stack,.upload-inline,.access-add{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}.xbtn{width:100%;min-height:46px!important;border-radius:15px!important}.folder-title{display:grid!important;grid-template-columns:1fr auto!important;align-items:start!important}.folder-title h2{font-size:24px!important;word-break:break-word}.folder-title form .xbtn{width:46px!important;height:46px!important;padding:0!important}.file-row{display:grid!important;grid-template-columns:1fr!important}.file-actions{display:grid!important;grid-template-columns:1fr 1fr!important;width:100%!important}.access-list .xitem{display:grid!important;grid-template-columns:1fr!important;gap:10px}.access-list .xitem form{width:100%}.pc-module-head .bi-folder-lock,.pc-module-head .bi-shield-check{display:none!important}}


/* v20 Trust module scroll: make the iframe document itself taller/scrollable. */
html:has(body.extra-module-body),
body.extra-module-body{
  height:auto!important;
  min-height:100dvh!important;
  max-height:none!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  -webkit-overflow-scrolling:touch!important;
  touch-action:pan-y!important;
  overscroll-behavior-y:contain!important;
  position:relative!important;
}
body.extra-module-body .extra-shell-module{
  height:auto!important;
  min-height:calc(100dvh + 2px)!important;
  max-height:none!important;
  overflow:visible!important;
  padding-bottom:240px!important;
}
body.extra-module-body .trust-ui,
body.extra-module-body .trust-card,
body.extra-module-body .trust-chat,
body.extra-module-body .xgrid,
body.extra-module-body .xcard{
  overflow:visible!important;
  max-height:none!important;
}
body.extra-module-body .trust-chat .xmessages{
  max-height:none!important;
  overflow:visible!important;
  padding-bottom:100px!important;
}
@media(max-width:767.98px){
  body.extra-module-body{padding:0!important;}
  body.extra-module-body .extra-shell-module{padding:12px 12px 260px!important;}
  body.extra-module-body .trust-ui{padding-bottom:120px!important;}
}

/* v21 clean module layout: forms open as module popups, main screen stays readable */
.module-clean{max-width:980px;margin:0 auto;display:grid;grid-template-columns:minmax(240px,340px) 1fr;gap:14px;align-items:start;padding-bottom:160px!important}
.module-clean .module-card{background:linear-gradient(180deg,#171b24,#10141d)!important;border:1px solid rgba(255,176,0,.16)!important;border-radius:26px!important;box-shadow:0 18px 55px rgba(0,0,0,.35)!important;overflow:hidden}
.module-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}
.module-title h1,.module-title h2{margin:0!important;line-height:1.05}.module-title .bi-lock{font-size:28px;color:#ffb000}.section-label{font-size:18px!important;margin:16px 0 10px!important;color:#fff}.compact-list .xitem{min-height:58px;border:1px solid rgba(255,255,255,.07)!important;background:#0b1018!important;color:#fff;text-decoration:none;transition:.18s ease}.compact-list .xitem:hover{transform:translateY(-1px);background:rgba(255,176,0,.08)!important;border-color:rgba(255,176,0,.24)!important}.compact-list .xitem i{color:#ffb000}.icon-fab{width:48px;height:48px;border:0;border-radius:17px;background:linear-gradient(145deg,#ffc247,#ff9d00);color:#080b10;display:grid;place-items:center;font-size:22px;box-shadow:0 12px 28px rgba(0,0,0,.28);cursor:pointer;flex:0 0 auto}.module-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:10px 0 16px}.module-actions form{margin:0}.icon-action{width:100%;min-height:66px;border-radius:18px;border:1px solid rgba(255,176,0,.22);background:rgba(255,176,0,.10);color:#ffcb47;display:grid;place-items:center;gap:4px;font-weight:900;cursor:pointer}.icon-action i{font-size:21px}.icon-action span{font-size:12px}.danger-action{background:rgba(255,70,70,.12)!important;border-color:rgba(255,70,70,.35)!important;color:#ff9f9f!important}.icon-round{width:42px;height:42px;border-radius:14px;border:1px solid rgba(255,176,0,.25);background:rgba(255,176,0,.12);color:#ffcb47;display:grid;place-items:center;text-decoration:none;cursor:pointer}.danger-round{background:rgba(255,60,60,.13)!important;border-color:rgba(255,60,60,.35)!important;color:#ff9d9d!important}.file-list .file-row{display:grid!important;grid-template-columns:1fr auto;gap:10px;align-items:center}.file-actions{display:flex!important;gap:8px;align-items:center}.file-actions form{margin:0}.xmodal{position:fixed;inset:0;z-index:9999;background:rgba(2,4,9,.78);backdrop-filter:blur(8px);display:none;align-items:flex-end;justify-content:center;padding:12px}.xmodal.show{display:flex}.xmodal-card{width:min(540px,100%);max-height:86dvh;overflow:auto;background:linear-gradient(180deg,#181d27,#10151f);border:1px solid rgba(255,176,0,.2);border-radius:28px;padding:18px;box-shadow:0 -22px 65px rgba(0,0,0,.45);position:relative}.xmodal-card h2{margin:0 48px 8px 0!important}.xmodal-close{position:absolute;right:12px;top:12px;width:42px;height:42px;border:0;border-radius:15px;background:rgba(255,255,255,.08);color:#ffb000;font-size:18px}.check-row{display:flex;gap:10px;align-items:center;margin:10px 0 14px;color:#dbe3ec}.xmodal-open{overflow:hidden!important}.trust-clean{grid-template-columns:1fr 1fr}.trust-clean .trust-chat{grid-column:1/-1}.trust-chat .xmessages{display:grid;gap:10px}.trust-chat:before{display:none!important}
@media(max-width:767.98px){.module-clean{display:flex!important;flex-direction:column!important;gap:12px!important;padding:12px 12px 240px!important}.module-clean .module-card{width:100%!important;box-sizing:border-box;border-radius:24px!important;padding:15px!important}.module-title h1{font-size:28px!important}.module-title h2{font-size:23px!important}.module-actions{grid-template-columns:repeat(4,1fr);gap:7px}.icon-action{min-height:58px;border-radius:16px}.icon-action span{font-size:11px}.file-list .file-row{grid-template-columns:1fr!important}.file-actions{display:grid!important;grid-template-columns:1fr 1fr;width:100%}.file-actions .icon-round,.file-actions form button{width:100%!important}.xmodal{padding:0;align-items:flex-end}.xmodal-card{max-height:88dvh;border-radius:26px 26px 0 0;padding:18px 14px calc(22px + env(safe-area-inset-bottom))}.folders-card{order:1}.selected-folder{order:0}.secret-clean:not(:has(.selected-folder)) .folders-card{order:0}.trust-clean{display:flex!important}.trust-clean .trust-chat{order:-1}.extra-shell-module{padding-bottom:260px!important}}


/* v22: clean scrollable modules and list-style files */
html,body.extra-module-body{height:auto!important;min-height:100%!important;overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch!important;touch-action:pan-y!important;}
.extra-shell.extra-shell-module{min-height:100dvh!important;overflow:visible!important;padding-bottom:180px!important;}
.module-clean{min-height:100dvh!important;overflow:visible!important;padding-bottom:180px!important;}
.trust-clean{display:flex!important;flex-direction:column!important;gap:14px!important;}
.trust-chat{order:-1;}
.trust-chat .module-title{position:sticky;top:0;background:linear-gradient(180deg,#161b25,#10151f);z-index:3;padding-bottom:8px;border-radius:18px;}
.trust-back{display:inline-flex;align-items:center;gap:8px;margin-bottom:10px;color:#ffcb47;text-decoration:none;font-weight:900;}
.xmessages{max-height:none!important;overflow:visible!important;display:grid!important;gap:10px!important;}
.xmsg{background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.04))!important;border:1px solid rgba(255,255,255,.06)!important;border-radius:18px!important;padding:14px!important;}
.file-list{gap:6px!important;}
.file-list .file-row{display:grid!important;grid-template-columns:42px minmax(0,1fr) auto!important;gap:10px!important;align-items:center!important;padding:10px 8px!important;border-radius:14px!important;background:rgba(5,8,14,.72)!important;border:1px solid rgba(255,255,255,.055)!important;}
.file-list .file-row:before{content:'\\F3C2';font-family:'bootstrap-icons';width:38px;height:38px;border-radius:13px;display:grid;place-items:center;background:rgba(255,176,0,.12);color:#ffb000;font-size:18px;}
.file-list .file-row span{min-width:0;}.file-list .file-row b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.file-list .file-row small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.file-actions{display:flex!important;gap:6px!important;}.file-actions .icon-round{width:38px!important;height:38px!important;border-radius:13px!important;}
.wa-updates{height:auto!important;min-height:100dvh!important;overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch!important;padding-bottom:150px!important;}
.wa-status-strip{max-width:100%;overflow-x:auto!important;overscroll-behavior-x:contain;}
.wa-feed-list{padding-bottom:120px!important;}
.wa-story-viewer{touch-action:pan-y pan-x!important;}
.wa-slide{display:none!important;grid-row:3/4;grid-column:1/-1;min-height:0;height:100%;}.wa-slide.active{display:grid!important;}
.wa-nav-zone{position:absolute;top:96px;bottom:86px;width:36%;z-index:3;background:transparent;border:0;color:transparent}.wa-prev{left:0}.wa-next{right:0}
.wa-progress-multi{display:flex!important;gap:4px;height:4px}.wa-progress-multi i{flex:1;width:auto!important;background:rgba(255,255,255,.35)!important;animation:none!important}.wa-progress-multi i.active{background:#ffb000!important;}
@media(max-width:767.98px){
  .extra-shell.extra-shell-module{padding:12px 10px 220px!important;}
  .module-clean{display:flex!important;flex-direction:column!important;padding:12px 10px 220px!important;}
  .trust-clean{display:flex!important;}
  .trust-chat{order:-1!important;}
  .file-list .file-row{grid-template-columns:38px minmax(0,1fr) auto!important;}
  .file-actions{display:flex!important;width:auto!important;}
  .file-actions .icon-round,.file-actions form button{width:38px!important;min-width:38px!important;}
  .wa-updates{padding:12px 10px 160px!important;}
  .wa-feed-list{max-height:none!important;overflow:visible!important;}
}

/* v23 REAL iframe/mobile scroll fix: make the module document use its own scroll container. */
html:has(body.extra-module-body),
body.extra-module-body{
  width:100%!important;
  height:100dvh!important;
  min-height:100dvh!important;
  max-height:100dvh!important;
  margin:0!important;
  overflow:hidden!important;
  overscroll-behavior:contain!important;
  background:#080d15!important;
}
body.extra-module-body .extra-shell.extra-shell-module{
  height:100dvh!important;
  min-height:0!important;
  max-height:100dvh!important;
  overflow-y:scroll!important;
  overflow-x:hidden!important;
  -webkit-overflow-scrolling:touch!important;
  touch-action:pan-y!important;
  overscroll-behavior-y:contain!important;
  box-sizing:border-box!important;
  padding:12px 12px 300px!important;
}
body.extra-module-body .module-clean,
body.extra-module-body .trust-clean,
body.extra-module-body .trust-chat,
body.extra-module-body .xmessages{
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
}
body.extra-module-body .trust-chat .module-title{
  position:relative!important;
  top:auto!important;
}
body.extra-module-body .trust-chat{
  padding-bottom:160px!important;
}
@media(max-width:767.98px){
  body.extra-module-body .extra-shell.extra-shell-module{
    height:100dvh!important;
    max-height:100dvh!important;
    overflow-y:scroll!important;
    padding:12px 10px calc(340px + env(safe-area-inset-bottom))!important;
  }
  body.extra-module-body .trust-chat{
    padding-bottom:220px!important;
  }
}


/* PChat extra modules full responsive + interactive polish */
*,*::before,*::after{box-sizing:border-box}.extra-shell{width:100%;max-width:1180px;margin:0 auto;padding:clamp(10px,2.5vw,24px);overflow-x:hidden}.module-clean,.xgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:clamp(12px,2vw,20px);align-items:start}.xcard,.module-card,.wa-feed-item,.wa-story-card,.xmodal-card{max-width:100%;min-width:0}.wa-status-strip{display:grid!important;grid-auto-flow:column;grid-auto-columns:minmax(96px,128px);gap:12px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:inline mandatory;padding:8px 2px 14px}.wa-story-card{scroll-snap-align:start;min-height:142px;border-radius:24px;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.wa-story-card:hover,.wa-feed-item:hover,.icon-action:hover,.icon-fab:hover,.xbtn:hover{transform:translateY(-2px);box-shadow:0 16px 36px rgba(0,0,0,.25)}.wa-feed-list,.xlist{display:grid;gap:10px}.wa-feed-item,.xitem{width:100%;display:flex;align-items:center;gap:12px;min-width:0}.wa-feed-item span,.xitem span{min-width:0}.wa-feed-item strong,.wa-feed-item small,.xitem b,.xitem small{overflow:hidden;text-overflow:ellipsis}.wa-composer{position:fixed;inset:0;z-index:9998;display:none;align-items:flex-end;justify-content:center;padding:12px;background:rgba(0,0,0,.65);backdrop-filter:blur(10px)}.wa-composer.show,.wa-composer[aria-hidden="false"]{display:flex}.wa-compose-card{width:min(560px,100%);max-height:88dvh;overflow:auto;border-radius:28px}.wa-story-viewer{position:fixed;inset:0;z-index:9999;background:#05070b;display:none}.wa-story-viewer.show,.wa-story-viewer[aria-hidden="false"]{display:block}.wa-media-stage{width:100%;height:100dvh;display:grid;place-items:center}.wa-media-stage img,.wa-media-stage video{max-width:100%;max-height:100%;object-fit:contain}.wa-caption{max-width:min(720px,calc(100% - 24px));left:50%;transform:translateX(-50%);bottom:calc(18px + env(safe-area-inset-bottom));}.xfield input,.xfield select,.xfield textarea{width:100%;font-size:16px}.module-actions{grid-template-columns:repeat(auto-fit,minmax(92px,1fr))!important}.file-list .file-row{grid-template-columns:minmax(0,1fr) auto!important}.pc-module-panel .pc-module-card{width:min(980px,100vw)!important;height:min(920px,100dvh)!important}.pc-module-card iframe{width:100%;height:100%;border:0}.pchat-i18n-note{font-size:12px;color:#8f99a8;margin-top:6px}
@media (max-width:900px){.extra-shell{padding:10px 10px 110px}.extra-nav{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;position:sticky;top:0;z-index:20;background:rgba(7,9,15,.92);backdrop-filter:blur(12px);padding:8px;border-radius:0 0 20px 20px}.extra-nav a{font-size:11px;padding:8px 4px;display:grid;place-items:center;text-align:center}.extra-nav i{font-size:18px}.module-clean{grid-template-columns:1fr}.wa-compose-fab{right:16px!important;bottom:calc(88px + env(safe-area-inset-bottom))!important}.xmodal{align-items:flex-end!important;padding:8px}.xmodal-card{border-radius:24px 24px 0 0;max-height:90dvh}.wa-story-head{padding-top:calc(10px + env(safe-area-inset-top))}.wa-reply{bottom:calc(10px + env(safe-area-inset-bottom));left:10px;right:10px;width:auto}.file-row{align-items:start!important}.file-actions{flex-wrap:nowrap}.secret-clean{gap:12px}}
@media (max-width:520px){.wa-status-strip{grid-auto-columns:88px}.wa-story-card{min-height:124px;border-radius:20px}.wa-story-card strong{font-size:12px}.wa-feed-item,.xitem{padding:12px!important;border-radius:18px!important}.module-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}.icon-action{min-height:58px}.file-list .file-row{grid-template-columns:1fr!important}.file-actions{width:100%;justify-content:flex-end}.xmodal-card{padding:14px}.wa-caption{font-size:14px}.pc-module-panel{padding:0!important}.pc-module-panel .pc-module-card{border-radius:0!important;height:100dvh!important;width:100vw!important}.pc-module-head{height:52px!important}.pc-module-card iframe{height:calc(100dvh - 52px)!important}}
@media (min-width:1200px){.extra-shell{max-width:1320px}.wa-status-strip{grid-auto-columns:140px}.module-clean{grid-template-columns:360px minmax(0,1fr)}}

/* v24 interactive progress, pairing QR, and responsive device/login scan UI */
.pchat-progress-overlay{position:fixed;inset:0;z-index:2147483000;display:none;align-items:center;justify-content:center;padding:18px;background:rgba(3,5,10,.78);backdrop-filter:blur(14px)}
.pchat-progress-overlay.show{display:flex}.pchat-progress-card{width:min(420px,100%);border:1px solid rgba(255,190,20,.28);border-radius:28px;background:linear-gradient(160deg,#111827,#05070b);box-shadow:0 30px 90px rgba(0,0,0,.55);padding:26px;text-align:center;color:#fff}.pchat-progress-spinner{width:62px;height:62px;border-radius:50%;border:5px solid rgba(255,190,20,.18);border-top-color:#ffb000;margin:0 auto 16px;animation:pchatSpin .8s linear infinite}.pchat-progress-card h2{font-size:22px;margin:0 0 8px}.pchat-progress-card p{margin:0;color:#c8ced8;line-height:1.45}.pchat-progress-bar{height:8px;border-radius:999px;overflow:hidden;background:rgba(255,255,255,.1);margin-top:18px}.pchat-progress-bar i{display:block;height:100%;width:45%;border-radius:inherit;background:#ffb000;animation:pchatBar 1.1s ease-in-out infinite}@keyframes pchatSpin{to{transform:rotate(360deg)}}@keyframes pchatBar{0%{transform:translateX(-110%)}100%{transform:translateX(240%)}}
.device-card{text-align:center}.device-result-clean{display:grid;gap:14px;place-items:center}.device-qr-wrap{width:min(310px,76vw);aspect-ratio:1;border-radius:30px;padding:14px;background:#fff;box-shadow:0 24px 60px rgba(0,0,0,.36)}.device-qr-wrap img{width:100%;height:100%;object-fit:contain;display:block}.device-code{border:1px solid rgba(255,176,0,.35)!important;background:rgba(255,176,0,.12)!important;color:#ffcc4d!important;border-radius:18px!important;padding:13px 18px!important;font-size:clamp(24px,8vw,42px)!important;font-weight:900!important;letter-spacing:.12em!important;line-height:1!important}.device-help{max-width:360px;margin:0 auto!important}.device-generate-btn{min-height:52px;border-radius:18px!important}
.pchat-pair-body{min-height:100dvh;background:radial-gradient(circle at top,#232b3d 0,#080b12 45%,#020305 100%);display:grid;place-items:center;padding:14px;color:#fff}.pchat-pair-shell{width:min(480px,100%)}.pchat-pair-card,.pchat-login-scan-card{border:1px solid rgba(255,176,0,.25);background:linear-gradient(160deg,rgba(15,20,30,.98),rgba(3,5,9,.98));border-radius:30px;box-shadow:0 30px 90px rgba(0,0,0,.55);padding:clamp(16px,4vw,28px);text-align:center}.pchat-pair-logo,.pchat-login-scan-logo{width:72px;height:72px;border-radius:22px;object-fit:cover;box-shadow:0 15px 38px rgba(255,176,0,.18)}.pchat-pair-card h1,.pchat-login-scan-card h2{font-size:clamp(24px,6vw,34px);margin:14px 0 8px}.pchat-pair-card p,.pchat-login-scan-card p{color:#c7cfdb;line-height:1.45}.pchat-scan-box{position:relative;margin:16px auto;border-radius:26px;overflow:hidden;background:#020305;border:1px solid rgba(255,255,255,.1);min-height:230px;display:grid;place-items:center}.pchat-scan-box.small{min-height:210px}.pchat-scan-box video{width:100%;height:100%;min-height:230px;object-fit:cover}.pchat-scan-frame{position:absolute;inset:28px;border:2px solid rgba(255,176,0,.78);border-radius:22px;box-shadow:0 0 0 999px rgba(0,0,0,.28)}.pchat-scan-frame i{position:absolute;left:10%;right:10%;top:50%;height:2px;background:#ffb000;box-shadow:0 0 18px #ffb000;animation:pchatScan 1.5s ease-in-out infinite}.pchat-scan-box small{position:absolute;left:10px;right:10px;bottom:10px;padding:8px 10px;border-radius:14px;background:rgba(0,0,0,.6);color:#fff}@keyframes pchatScan{0%,100%{transform:translateY(-70px)}50%{transform:translateY(70px)}}.pchat-pair-form{display:grid;gap:12px}.pchat-pair-form label{text-align:left;color:#cfd6e3;font-weight:700}.pchat-pair-form input{width:100%;margin-top:7px;border:1px solid rgba(255,255,255,.14);border-radius:18px;background:#070b13;color:#fff;padding:15px 16px;font-size:24px;letter-spacing:.18em;text-align:center}.pchat-pair-form button{border:0;border-radius:18px;background:#ffb000;color:#050505;font-weight:900;padding:15px 18px;font-size:16px}.pchat-pair-back{display:inline-flex;gap:8px;align-items:center;margin-top:16px;color:#ffcf4d;text-decoration:none}.pchat-login-scan-modal{position:fixed;inset:0;z-index:99999;display:none;align-items:center;justify-content:center;padding:14px;background:rgba(0,0,0,.72);backdrop-filter:blur(14px)}.pchat-login-scan-modal.show{display:flex}.pchat-login-scan-card{position:relative;width:min(460px,100%);max-height:92dvh;overflow:auto}.pchat-login-scan-close{position:absolute;right:14px;top:14px;border:0;border-radius:50%;width:40px;height:40px;background:rgba(255,255,255,.09);color:#fff}
@media(max-width:540px){.pchat-progress-card{border-radius:24px;padding:22px}.device-qr-wrap{width:min(280px,82vw);border-radius:24px}.pchat-scan-box,.pchat-scan-box video{min-height:200px}.pchat-login-scan-modal{align-items:flex-end;padding:0}.pchat-login-scan-card{border-radius:28px 28px 0 0;max-height:94dvh;width:100%}}


/* v3: clean responsive design for Trust, Secret Folder, Ads and Live Share */
body.pchat-gold-ui,.x-page,.wa-updates{background:radial-gradient(circle at top right,rgba(255,176,0,.12),transparent 30%),#05080e!important;color:#fff!important;min-height:100dvh!important;}
.xpage,.xwrap,.wa-updates{max-width:980px!important;margin:0 auto!important;padding:18px 14px 96px!important;}
.xcard,.wa-empty,.wa-story-card.add,.xitem{background:linear-gradient(160deg,rgba(20,28,40,.94),rgba(8,12,18,.98))!important;border:1px solid rgba(255,176,0,.18)!important;border-radius:24px!important;box-shadow:0 18px 48px rgba(0,0,0,.28)!important;}
.xcard{padding:18px!important;margin-bottom:18px!important;}
.xpage h1,.wa-top h1{font-size:clamp(22px,5vw,34px)!important;font-weight:900!important;letter-spacing:-.03em!important;}
.xmuted,.wa-empty p,.wa-feed-item small{color:#c6d0dc!important;}
.xbtn,.wa-compose-fab,.wa-fab-mini,.add-circle,.icon-round{background:linear-gradient(145deg,#ffcc48,#ff9f00)!important;color:#07090d!important;border:0!important;box-shadow:0 12px 30px rgba(255,159,0,.22)!important;font-weight:900!important;}
.wa-status-strip{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(132px,1fr))!important;gap:12px!important;overflow:visible!important;}
.wa-story-card{width:100%!important;min-height:178px!important;}
.wa-feed-list,.xlist{display:grid!important;gap:12px!important;}
.wa-feed-item,.xitem{grid-template-columns:54px 1fr auto!important;padding:14px!important;}
.secret-empty,.wa-empty{min-height:112px!important;padding:18px!important;display:grid!important;place-items:center!important;text-align:center!important;}
@media(max-width:520px){.xpage,.xwrap,.wa-updates{padding:12px 8px 88px!important}.xcard{border-radius:20px!important}.wa-status-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}.wa-story-card{height:164px!important}.wa-compose-fab{right:18px!important;bottom:18px!important}}


/* v4 final module redesign: full-width cards, no tiny vertical boxes, no stuck loaders */
html:has(body.extra-module-body), body.extra-module-body{background:#05080e!important;color:#fff!important;}
body.extra-module-body .extra-shell.extra-shell-module{padding:14px!important;background:radial-gradient(circle at 90% 0,rgba(255,176,0,.16),transparent 32%),#05080e!important;}
.module-clean,.trust-clean,.secret-clean{width:min(1040px,100%)!important;max-width:1040px!important;margin:0 auto!important;display:grid!important;grid-template-columns:1fr!important;gap:16px!important;padding:0 0 130px!important;}
.module-clean .module-card,.xcard,.trust-card,.folders-card,.selected-folder{width:100%!important;min-width:0!important;border-radius:26px!important;padding:18px!important;background:linear-gradient(160deg,#151c28,#080d15)!important;border:1px solid rgba(255,176,0,.22)!important;box-shadow:0 20px 58px rgba(0,0,0,.38)!important;box-sizing:border-box!important;}
.module-title{align-items:center!important}.module-title h1,.module-title h2{font-size:clamp(24px,6vw,36px)!important;font-weight:950!important;letter-spacing:-.04em!important}.section-label{font-size:clamp(18px,4vw,24px)!important;font-weight:900!important;}
.xlist,.compact-list,.wa-feed-list{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;width:100%!important;}
.xitem,.wa-feed-item{width:100%!important;min-width:0!important;display:grid!important;grid-template-columns:54px minmax(0,1fr) auto!important;align-items:center!important;gap:12px!important;padding:14px!important;border-radius:20px!important;background:rgba(255,255,255,.055)!important;border:1px solid rgba(255,255,255,.08)!important;color:#fff!important;box-sizing:border-box!important;}
.secret-empty,.wa-empty{width:100%!important;min-height:120px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:8px!important;text-align:center!important;border-radius:20px!important;background:rgba(255,176,0,.06)!important;border:1px dashed rgba(255,176,0,.28)!important;color:#f4f6fb!important;box-sizing:border-box!important;}
.secret-empty:before{content:'+';width:48px;height:48px;border-radius:18px;background:#ffb000;color:#06080c;display:grid;place-items:center;font-size:28px;font-weight:900;margin-bottom:4px;}
.icon-fab,.wa-compose-fab,.wa-fab-mini,.add-circle{width:56px!important;height:56px!important;min-width:56px!important;border-radius:19px!important;background:linear-gradient(145deg,#ffd45a,#ff9d00)!important;color:#07090d!important;box-shadow:0 16px 36px rgba(255,157,0,.24)!important;}
/* Live share */
.wa-updates{width:min(1040px,100%)!important;max-width:1040px!important;margin:0 auto!important;padding:14px 14px 130px!important;background:radial-gradient(circle at 88% 0,rgba(255,176,0,.15),transparent 34%),#05080e!important;box-sizing:border-box!important;}
.wa-status-strip{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(145px,1fr))!important;gap:14px!important;width:100%!important;overflow:visible!important;margin:0 0 22px!important;}
.wa-story-card,.wa-story-card.add{width:100%!important;min-width:0!important;height:190px!important;border-radius:26px!important;background:linear-gradient(160deg,#172132,#0a1018)!important;border:1px solid rgba(255,176,0,.22)!important;box-sizing:border-box!important;}
.wa-feed-item{grid-template-columns:58px minmax(0,1fr) 28px!important;}
.wa-avatar-sm{width:52px!important;height:52px!important;border-radius:18px!important;background:#ffb000!important;color:#080a0f!important;display:grid!important;place-items:center!important;}
.wa-compose-fab{position:fixed!important;right:18px!important;bottom:calc(18px + env(safe-area-inset-bottom))!important;z-index:80!important;}
/* Ads: force horizontal sane empty state */
.ads-clean,.ads-page,.module-clean.ads-clean{display:grid!important;grid-template-columns:1fr!important;width:min(1040px,100%)!important;margin:0 auto!important;gap:16px!important;}
.ads-clean .xcard,.ads-page .xcard{width:100%!important;min-height:160px!important;}
.ads-clean .secret-empty,.ads-page .secret-empty{writing-mode:horizontal-tb!important;word-break:normal!important;white-space:normal!important;line-height:1.35!important;}
body.extra-module-body *{max-width:100%;}
@media(max-width:560px){
 body.extra-module-body .extra-shell.extra-shell-module{padding:10px!important;}
 .module-clean,.trust-clean,.secret-clean,.wa-updates{padding-bottom:120px!important;}
 .module-clean .module-card,.xcard,.trust-card,.folders-card,.selected-folder{border-radius:22px!important;padding:14px!important;}
 .wa-status-strip{grid-template-columns:1fr 1fr!important;gap:10px!important;}
 .wa-story-card,.wa-story-card.add{height:150px!important;}
 .xitem,.wa-feed-item{grid-template-columns:46px minmax(0,1fr) auto!important;padding:12px!important;}
 .secret-empty,.wa-empty{min-height:108px!important;padding:16px!important;}
 .module-title h1,.module-title h2{font-size:24px!important;}
}


/* PChat delivery ticks restored: sent/unread, reached, read */
.msg-tick{display:inline-block;font-size:12px;line-height:1;margin-left:4px;font-weight:700;vertical-align:middle;opacity:.95}
.msg-tick.sent{color:#9aa0a6}
.msg-tick.reached{color:#c2c7cf}
.msg-tick.read{color:#4fc3f7;text-shadow:0 0 8px rgba(79,195,247,.28)}

/* =========================================================
   PChat mockup-style module redesign v20260509 REAL
   Applies to Trust View, Secret Folder, Live Share, and Ads.
   ========================================================= */
:root{--pc-gold:#ffb000;--pc-gold2:#ffd25a;--pc-bg:#05080e;--pc-card:rgba(17,24,36,.76);--pc-card2:rgba(10,15,23,.92);--pc-line:rgba(255,176,0,.22);--pc-muted:#aeb8c7;}
html,body.extra-module-body,body.pchat-gold-ui{background:radial-gradient(circle at 90% 0,rgba(255,176,0,.16),transparent 32%),radial-gradient(circle at 0 30%,rgba(75,95,140,.10),transparent 35%),#05080e!important;color:#fff!important;}
body.extra-module-body .extra-shell.extra-shell-module,.extra-shell,.wa-updates{max-width:1120px!important;margin:0 auto!important;padding:14px 12px 118px!important;background:transparent!important;}
.module-clean,.trust-clean,.secret-clean{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:16px!important;max-width:1120px!important;width:100%!important;margin:0 auto!important;padding-bottom:110px!important;}
.xcard,.module-card,.trust-card,.folders-card,.selected-folder,.wa-empty,.wa-feed-item,.wa-story-card,.wa-story-card.add,.xmodal-card{background:linear-gradient(155deg,rgba(22,30,44,.82),rgba(7,11,18,.94))!important;border:1px solid rgba(255,176,0,.18)!important;box-shadow:0 22px 65px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.045)!important;backdrop-filter:blur(18px)!important;border-radius:28px!important;color:#fff!important;}
.xcard,.module-card{padding:18px!important;margin:0!important;animation:pchatCardIn .34s ease both;}
@keyframes pchatCardIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
.module-title{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;margin-bottom:16px!important;}
.module-title h1,.module-title h2,.wa-updates h2,.section-label{margin:0!important;font-weight:950!important;letter-spacing:-.04em!important;color:#fff!important;}
.module-title h1{font-size:clamp(26px,6vw,38px)!important}.module-title h2,.wa-updates h2,.section-label{font-size:clamp(20px,4.8vw,28px)!important}.xmuted{color:var(--pc-muted)!important;line-height:1.45!important;}
.module-title::before{content:'';width:62px;height:62px;min-width:62px;border-radius:22px;background:linear-gradient(145deg,rgba(255,176,0,.20),rgba(255,176,0,.04));border:1px solid rgba(255,176,0,.24);display:grid;place-items:center;box-shadow:0 18px 48px rgba(255,176,0,.10);}
.trust-card .module-title::before{content:'🛡️';font-size:28px}.folders-card .module-title::before,.selected-folder .module-title::before{content:'🔐';font-size:28px}
.icon-fab,.icon-round,.icon-action,.xbtn,.wa-compose-fab,.add-circle{border:0!important;background:linear-gradient(145deg,#ffd65d,#ff9f00)!important;color:#06080c!important;font-weight:950!important;box-shadow:0 16px 38px rgba(255,158,0,.28)!important;transition:transform .18s ease,box-shadow .18s ease!important;}
.icon-fab:hover,.icon-round:hover,.icon-action:hover,.xbtn:hover,.wa-compose-fab:hover,.add-circle:hover,.wa-feed-item:hover,.xitem:hover,.wa-story-card:hover{transform:translateY(-2px)!important;box-shadow:0 24px 66px rgba(0,0,0,.42),0 0 0 1px rgba(255,176,0,.18) inset!important;}
.xnotice{background:rgba(255,176,0,.13)!important;border:1px solid rgba(255,176,0,.25)!important;color:#ffdf86!important;border-radius:18px!important;padding:12px 14px!important;}
.xlist,.compact-list,.wa-feed-list{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;width:100%!important;}
.xitem,.wa-feed-item{display:grid!important;grid-template-columns:54px minmax(0,1fr) auto!important;align-items:center!important;gap:12px!important;min-height:72px!important;padding:13px!important;border-radius:22px!important;background:rgba(255,255,255,.055)!important;border:1px solid rgba(255,255,255,.075)!important;color:#fff!important;text-decoration:none!important;}
.xitem span,.wa-feed-item span{min-width:0!important}.xitem b,.wa-feed-item strong{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.xitem small,.wa-feed-item small{display:block!important;color:#aeb8c7!important;margin-top:4px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.xitem i.bi-chevron-right,.wa-feed-item i.bi-chevron-right{color:#ffbd24!important;}
.xitem::before,.wa-feed-item::before{content:'';width:48px;height:48px;border-radius:18px;background:linear-gradient(145deg,rgba(255,176,0,.25),rgba(255,176,0,.08));border:1px solid rgba(255,176,0,.18);grid-column:1;grid-row:1;}
.xitem>span,.wa-feed-item>span{grid-column:2}.xitem>i,.wa-feed-item>i,.xitem>form,.file-actions{grid-column:3}
.secret-empty,.wa-empty{min-height:138px!important;border-radius:24px!important;background:linear-gradient(155deg,rgba(255,176,0,.09),rgba(255,255,255,.04))!important;border:1px dashed rgba(255,176,0,.30)!important;color:#f5f7fb!important;text-align:center!important;display:flex!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;gap:9px!important;padding:20px!important;}
.secret-empty:before,.wa-empty:before{content:'+';width:54px;height:54px;border-radius:19px;background:linear-gradient(145deg,#ffd65d,#ff9f00);color:#06080c;display:grid;place-items:center;font-size:30px;font-weight:950;box-shadow:0 16px 36px rgba(255,158,0,.25)}
.module-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin:14px 0 18px!important;}.icon-action{min-height:66px!important;border-radius:20px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:9px!important}.danger-action,.danger-round,.xdanger{background:linear-gradient(145deg,#51202a,#2a1017)!important;color:#ff8c9c!important;border:1px solid rgba(255,80,100,.20)!important;}
.file-list .file-row{grid-template-columns:54px minmax(0,1fr) auto!important}.file-actions{display:flex!important;gap:8px!important}.file-actions a,.file-actions button{width:42px!important;height:42px!important;border-radius:15px!important}
/* Trust View tabs/cards look */
.trust-clean .trust-card:first-child::after{content:'Only people you trust can view selected conversations.';display:block;margin-top:12px;padding:14px 16px;border-radius:20px;background:rgba(255,176,0,.08);border:1px solid rgba(255,176,0,.18);color:#ffdc7d;font-weight:800;}
.trust-chat{min-height:calc(100dvh - 100px)!important}.xmessages{display:grid!important;gap:12px!important}.xmsg{border-radius:22px!important;background:rgba(255,255,255,.055)!important;border:1px solid rgba(255,255,255,.075)!important;padding:15px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.03)!important}.xmsg strong{color:#fff!important}.xmsg p{font-size:15px!important;line-height:1.55!important;color:#f2f5fa!important}
/* Live Share and Ads: story layout like mockup */
.wa-updates{width:min(1120px,100%)!important;}.wa-status-strip{display:grid!important;grid-auto-flow:column!important;grid-auto-columns:minmax(136px,170px)!important;grid-template-columns:none!important;gap:14px!important;overflow-x:auto!important;padding:4px 2px 16px!important;scroll-snap-type:inline mandatory!important;scrollbar-width:none!important}.wa-status-strip::-webkit-scrollbar{display:none!important}.wa-story-card{position:relative!important;height:190px!important;min-height:190px!important;padding:12px!important;overflow:hidden!important;scroll-snap-align:start!important;text-align:left!important;}.wa-story-card img,.wa-story-card video{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;opacity:.74!important;}.wa-story-card::after{content:'';position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.78),transparent 56%);pointer-events:none}.wa-story-card strong{position:absolute!important;left:12px!important;right:12px!important;bottom:12px!important;z-index:2!important;color:#fff!important;font-size:13px!important}.wa-story-card.add{display:grid!important;place-items:center!important;background:linear-gradient(155deg,rgba(20,28,40,.86),rgba(8,12,18,.96))!important}.wa-story-card.add strong{position:static!important;text-align:center!important}.wa-ring{position:absolute!important;left:10px!important;top:10px!important;z-index:3!important;width:48px!important;height:48px!important;border-radius:18px!important;border:3px solid #08d06d!important;background:#ffb000!important;display:grid!important;place-items:center!important;overflow:hidden!important}.wa-count{position:absolute!important;right:9px!important;top:9px!important;z-index:4!important;border-radius:999px!important;background:rgba(255,176,0,.88)!important;color:#0a0a0a!important;padding:5px 9px!important;font-weight:900!important}.wa-feed-item{grid-template-columns:56px minmax(0,1fr) auto!important}.wa-avatar-sm{width:50px!important;height:50px!important;border-radius:18px!important;background:linear-gradient(145deg,#ffd65d,#ff9f00)!important;color:#06080c!important;display:grid!important;place-items:center!important;overflow:hidden!important}.wa-compose-fab{position:fixed!important;right:18px!important;bottom:calc(18px + env(safe-area-inset-bottom))!important;width:64px!important;height:64px!important;border-radius:24px!important;z-index:80!important}.wa-story-viewer{background:#03060b!important}.wa-story-head{background:linear-gradient(to bottom,rgba(0,0,0,.65),transparent)!important;backdrop-filter:none!important}.wa-progress i{background:rgba(255,255,255,.25)!important}.wa-progress i.active,.wa-progress i:first-child{background:#ffb000!important}.wa-media-stage{background:radial-gradient(circle at 50% 20%,rgba(255,176,0,.08),transparent 35%),#03060b!important}.wa-caption,.wa-reply{backdrop-filter:blur(18px)!important;background:rgba(12,17,25,.74)!important;border:1px solid rgba(255,176,0,.18)!important;border-radius:22px!important}.wa-reply input{background:transparent!important;color:#fff!important}
.xmodal{background:rgba(1,3,7,.68)!important;backdrop-filter:blur(18px)!important}.xmodal-card,.wa-compose-card{border-radius:30px 30px 0 0!important;background:linear-gradient(155deg,rgba(22,30,44,.96),rgba(7,11,18,.98))!important;border:1px solid rgba(255,176,0,.20)!important}.xfield input,.xfield select,.xfield textarea{background:rgba(255,255,255,.06)!important;border:1px solid rgba(255,255,255,.09)!important;color:#fff!important;border-radius:18px!important;padding:13px 14px!important}.upload-box{border:1px dashed rgba(255,176,0,.32)!important;background:rgba(255,176,0,.06)!important;border-radius:22px!important;}
@media(min-width:760px){.secret-clean{grid-template-columns:360px minmax(0,1fr)!important}.trust-clean{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}.trust-chat{grid-column:1/-1!important}.module-actions{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:560px){body.extra-module-body .extra-shell.extra-shell-module,.extra-shell,.wa-updates{padding:10px 8px 98px!important}.xcard,.module-card{border-radius:24px!important;padding:14px!important}.module-title::before{width:52px;height:52px;min-width:52px;border-radius:19px}.xitem,.wa-feed-item{grid-template-columns:50px minmax(0,1fr) auto!important;min-height:68px!important;padding:11px!important;border-radius:20px!important}.xitem::before,.wa-feed-item::before{width:44px;height:44px;border-radius:16px}.module-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}.wa-status-strip{grid-auto-columns:minmax(126px,42vw)!important}.wa-story-card{height:168px!important;min-height:168px!important}.wa-compose-fab{width:60px!important;height:60px!important;border-radius:22px!important}.secret-empty,.wa-empty{min-height:118px!important}}

/* =========================================================
   Extra modules final mockup redesign: Trust, Secret, Live, Ads
   ========================================================= */
.extra-module-body,.extra-shell-module{background:radial-gradient(circle at 80% 15%,rgba(255,179,22,.10),transparent 28%),linear-gradient(160deg,#05080d,#08111b 55%,#030508)!important;color:#f7f8fb!important;min-height:100dvh!important;}
.extra-shell,.extra-shell-module{max-width:430px!important;margin:0 auto!important;padding:10px!important;}
.module-clean,.wa-page,.ads-page{display:flex!important;flex-direction:column!important;gap:14px!important;min-height:calc(100dvh - 20px)!important;}
.xcard,.module-card,.wa-card,.ads-card,.xmodal-card{background:linear-gradient(160deg,rgba(18,25,35,.88),rgba(7,12,19,.96))!important;border:1px solid rgba(255,179,22,.18)!important;border-radius:24px!important;box-shadow:0 18px 55px rgba(0,0,0,.48),inset 0 1px 0 rgba(255,255,255,.055)!important;color:#fff!important;backdrop-filter:blur(18px)!important;overflow:hidden;}
.module-card{padding:16px!important}.module-title{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin-bottom:14px!important}.module-title h1,.module-title h2,.section-label{font-weight:900!important;letter-spacing:-.03em!important;color:#fff!important}.xmuted{color:rgba(255,255,255,.62)!important}.xnotice{background:linear-gradient(90deg,rgba(255,179,22,.20),rgba(255,179,22,.08))!important;border:1px solid rgba(255,179,22,.24)!important;color:#ffd166!important;border-radius:17px!important;padding:12px 14px!important;font-weight:800!important;margin:10px 0!important}.icon-fab,.xbtn,.wa-compose-fab{background:linear-gradient(145deg,#ffc836,#ff9f0a)!important;color:#111!important;border:0!important;border-radius:18px!important;box-shadow:0 14px 30px rgba(255,179,22,.30)!important;font-weight:900!important;transition:.24s ease!important}.icon-fab:hover,.xbtn:hover,.wa-compose-fab:hover{transform:translateY(-2px)!important;box-shadow:0 18px 38px rgba(255,179,22,.38)!important}.icon-round,.icon-action{border:1px solid rgba(255,255,255,.07)!important;background:rgba(255,255,255,.06)!important;color:#fff!important;border-radius:16px!important;transition:.22s ease!important}.icon-round:hover,.icon-action:hover{background:rgba(255,179,22,.13)!important;color:#ffc836!important;border-color:rgba(255,179,22,.22)!important}.danger-round,.danger-action,.xdanger{background:rgba(255,54,72,.16)!important;color:#ff6969!important;border-color:rgba(255,54,72,.20)!important}.xlist,.compact-list,.file-list{display:flex!important;flex-direction:column!important;gap:9px!important}.xitem,.file-row,.folder-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;background:rgba(255,255,255,.045)!important;border:1px solid rgba(255,255,255,.065)!important;border-radius:18px!important;padding:12px!important;color:#fff!important;text-decoration:none!important;transition:.22s ease!important}.xitem:hover,.file-row:hover,.folder-row:hover{transform:translateX(2px)!important;border-color:rgba(255,179,22,.25)!important;background:linear-gradient(90deg,rgba(255,179,22,.12),rgba(255,255,255,.04))!important}.xitem b{color:#fff!important}.xitem small,.file-row small{display:block;margin-top:3px}.secret-empty{background:rgba(255,255,255,.045)!important;border:1px dashed rgba(255,179,22,.20)!important;border-radius:20px!important;padding:28px 18px!important;text-align:center!important;color:rgba(255,255,255,.72)!important;font-weight:800!important}.xfield input,.xfield select,.xfield textarea{background:rgba(255,255,255,.065)!important;border:1px solid rgba(255,255,255,.08)!important;border-radius:16px!important;color:#fff!important;min-height:48px!important;padding:11px 13px!important;outline:none!important}.xfield input:focus,.xfield select:focus,.xfield textarea:focus{border-color:rgba(255,179,22,.45)!important;box-shadow:0 0 0 3px rgba(255,179,22,.10)!important}
.trust-clean:before,.secret-clean:before{content:"";display:block;border-radius:24px;padding:18px 18px 18px 92px;min-height:86px;background:radial-gradient(circle at 12% 50%,rgba(255,179,22,.35),transparent 18%),linear-gradient(135deg,rgba(255,179,22,.16),rgba(255,255,255,.04));border:1px solid rgba(255,179,22,.22);box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 12px 34px rgba(0,0,0,.28);color:#ffd166;font-weight:900;white-space:pre-line;margin-bottom:0}.trust-clean:before{content:"✓\A Trusted chats are private and secure\A Only people you trust can view selected conversations."}.secret-clean:before{content:"▣\A Your files are secure\A Only you can access these files in your secret folder."}.trust-clean .module-card:first-child .module-title h1,.trust-clean .module-card:first-child .module-title p,.secret-clean .folders-card .module-title{display:none!important}.trust-clean{gap:14px!important}.trust-clean .module-card{padding:14px!important}.trust-clean .module-card:first-child{order:2}.trust-clean .module-card:nth-child(2){order:1}.trust-clean .module-card:nth-child(2) h2{display:none}.trust-clean .module-card:nth-child(2) .xlist:before{content:"Shared With Me     My Trusted Users";display:block;background:rgba(255,255,255,.045);border-radius:18px;padding:13px 16px;margin-bottom:8px;color:#ffc836;font-weight:900;word-spacing:18px;border:1px solid rgba(255,255,255,.05)}.trust-clean .xitem{position:relative;padding-left:56px!important;min-height:64px}.trust-clean .xitem:before{content:"";position:absolute;left:12px;width:34px;height:34px;border-radius:13px;background:linear-gradient(145deg,#dfe8f6,#7c8795);box-shadow:0 0 0 3px rgba(255,255,255,.04)}.trust-clean .xitem:after{content:"";position:absolute;left:39px;bottom:14px;width:8px;height:8px;border-radius:50%;background:#20d778;border:2px solid #101722}.trust-clean .module-card:first-child:after{content:"+  Add Trusted User";display:block;text-align:center;background:linear-gradient(145deg,#ffc836,#ff9f0a);color:#111;border-radius:18px;padding:14px;margin-top:16px;font-weight:900;box-shadow:0 14px 30px rgba(255,179,22,.30)}
.secret-clean .folders-card{order:2}.selected-folder{order:1}.secret-clean .module-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;margin:12px 0 18px!important}.secret-clean .icon-action{min-height:58px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;font-weight:900!important}.secret-clean .icon-action:first-child{background:linear-gradient(145deg,#ffc836,#ff9f0a)!important;color:#111!important}.file-row:before{content:"DOC";width:34px;height:42px;border-radius:10px;background:#2f8cff;display:grid;place-items:center;font-size:10px;font-weight:900;color:#fff;flex:0 0 auto}.file-row:nth-child(2n):before{content:"PDF";background:#f04444}.file-row:nth-child(3n):before{content:"ZIP";background:#ffb316;color:#111}.file-row>span{flex:1}.file-actions{display:flex;gap:7px}.file-actions .icon-round{width:38px;height:38px;display:grid;place-items:center}.folder-row:before{content:"";width:38px;height:38px;border-radius:14px;background:rgba(255,179,22,.15);border:1px solid rgba(255,179,22,.25);flex:0 0 auto}.folder-row>span{flex:1}
/* Live share / ads story-style pages. Supports current classes without requiring new PHP. */
.wa-header,.ads-header,.extra-page-head{background:transparent!important;border:0!important;padding:8px 4px 12px!important;display:flex!important;align-items:center!important;justify-content:space-between!important}.wa-header h1,.ads-header h1,.extra-page-head h1{font-size:18px!important}.wa-status-banner,.ads-status-banner,.wa-notice,.ads-notice{background:linear-gradient(90deg,rgba(255,179,22,.20),rgba(255,179,22,.08))!important;border:1px solid rgba(255,179,22,.24)!important;color:#ffd166!important;border-radius:18px!important;padding:14px!important;font-weight:900!important}.wa-story-view,.ads-story-view,.story-viewer{background:transparent!important;box-shadow:none!important;border:0!important;padding:0!important}.wa-media,.ads-media,.story-media,img.status-media,img.ad-media{border-radius:22px!important;box-shadow:0 14px 40px rgba(0,0,0,.42)!important;border:1px solid rgba(255,255,255,.08)!important;max-height:58dvh!important;object-fit:cover!important}.wa-reactions,.story-reactions{position:absolute!important;right:12px!important;top:33%!important;display:flex!important;flex-direction:column!important;gap:10px!important}.wa-reactions button,.story-reactions button{width:48px!important;height:54px!important;border:0!important;border-radius:18px!important;background:rgba(16,23,33,.82)!important;color:#fff!important;box-shadow:0 12px 28px rgba(0,0,0,.30)!important;backdrop-filter:blur(12px)!important}.wa-meta,.ads-meta,.story-meta{background:rgba(255,255,255,.045)!important;border:1px solid rgba(255,255,255,.06)!important;border-radius:18px!important;padding:12px!important}.wa-actions,.story-actions,.ads-actions{display:flex!important;gap:10px!important;align-items:center!important}.wa-actions button,.story-actions button,.ads-actions button{border:0!important;border-radius:16px!important;background:rgba(255,255,255,.07)!important;color:#fff!important;padding:12px!important}.wa-actions .danger,.end-live{background:rgba(255,54,72,.16)!important;color:#ff6969!important}.wa-compose-fab{position:fixed!important;right:22px!important;bottom:22px!important;width:60px!important;height:60px!important;border-radius:22px!important;z-index:25!important}.wa-composer,.xmodal{backdrop-filter:blur(10px)!important;background:rgba(0,0,0,.58)!important}.wa-compose-card{background:linear-gradient(160deg,rgba(18,25,35,.96),rgba(7,12,19,.98))!important;border:1px solid rgba(255,179,22,.22)!important;border-radius:28px!important;box-shadow:0 22px 70px rgba(0,0,0,.60)!important}.ads-grid,.wa-grid,.story-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}.ads-card,.wa-card{min-height:130px!important}.ads-card img,.wa-card img{width:100%!important;height:130px!important;object-fit:cover!important;border-radius:18px!important;filter:saturate(1.05)}.ads-list,.wa-list{display:flex!important;flex-direction:column!important;gap:10px!important}.ads-list a,.wa-list a{background:rgba(255,255,255,.045)!important;border:1px solid rgba(255,255,255,.065)!important;border-radius:18px!important;padding:12px!important;color:#fff!important;text-decoration:none!important}.extra-module-body:after{content:"";position:fixed;inset:auto -20% -25% auto;width:260px;height:260px;background:radial-gradient(circle,rgba(255,179,22,.10),transparent 60%);pointer-events:none;animation:pcFloat 6s ease-in-out infinite}@keyframes pcFloat{50%{transform:translateY(-20px) translateX(-10px)}}
@media(max-width:480px){.extra-shell,.extra-shell-module{padding:8px!important;max-width:100%!important}.module-card,.xcard{border-radius:22px!important;padding:14px!important}.trust-clean:before,.secret-clean:before{padding-left:80px;font-size:13px}.ads-grid,.wa-grid,.story-grid{grid-template-columns:1fr 1fr!important}.wa-media,.ads-media,.story-media{max-height:55dvh!important}.wa-reactions,.story-reactions{right:8px}.wa-reactions button,.story-reactions button{width:44px!important;height:50px!important}}

/* === Secret folder create button visibility fix v3 === */
.secret-clean .folders-card .module-title{display:flex!important;align-items:center!important;justify-content:center!important;margin:8px 0 14px!important;}
.secret-clean .folders-card .module-title .icon-fab{display:grid!important;width:58px!important;height:58px!important;border-radius:20px!important;font-size:24px!important;place-items:center!important;}
.secret-clean .secret-empty{min-height:124px!important;display:grid!important;place-items:center!important;font-size:15px!important;}
.secret-clean .folders-card{min-height:auto!important;}

/* === Secret folder clear create affordance === */
.secret-empty{position:relative!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:10px!important;min-height:130px!important;border:1px dashed rgba(255,176,0,.25)!important;border-radius:22px!important;background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.025))!important;color:rgba(255,255,255,.80)!important;text-align:center!important;font-weight:850!important;padding:18px!important;}
.secret-empty:before{content:'+'!important;width:54px!important;height:54px!important;border-radius:18px!important;display:grid!important;place-items:center!important;background:#ffb000!important;color:#05070b!important;font-size:30px!important;font-weight:950!important;box-shadow:0 15px 36px rgba(255,176,0,.28)!important;}
.icon-fab{width:58px!important;height:58px!important;border-radius:20px!important;border:0!important;background:#ffb000!important;color:#05070b!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;font-size:26px!important;box-shadow:0 14px 36px rgba(255,176,0,.30)!important;}
.icon-fab i:before{content:'+'!important;font-family:Arial,sans-serif!important;font-weight:900!important;}
.module-title{display:flex!important;align-items:center!important;justify-content:center!important;margin:10px 0 14px!important;}


/* Owner / linked-device management */
.linked-device-box{margin-top:18px;padding:14px;border-radius:18px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.12)}
.linked-device-box h3{margin:0 0 6px;font-size:16px;display:flex;gap:8px;align-items:center}
.linked-device-list{display:flex;flex-direction:column;gap:10px;margin-top:12px}
.linked-device-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border-radius:14px;background:rgba(0,0,0,.22);border:1px solid rgba(255,255,255,.08)}
.linked-device-row strong,.linked-device-row small{display:block}
.linked-device-row small{opacity:.72;font-size:12px;margin-top:3px;word-break:break-word}
.linked-device-row.is-main{border-color:rgba(255,176,0,.45)}
.linked-device-remove{border:0;border-radius:999px;padding:9px 12px;background:#ff4d4d;color:white;font-weight:800;white-space:nowrap}
.linked-device-empty{padding:12px;border-radius:14px;background:rgba(255,176,0,.12);color:#ffd76b}
@media(max-width:600px){.linked-device-row{align-items:flex-start;flex-direction:column}.linked-device-remove{width:100%}}

/* v20260510 modal scroll fix: every panel/module must scroll on mobile */
.pc-panel{
  overflow-y:auto!important;
  overflow-x:hidden!important;
  -webkit-overflow-scrolling:touch!important;
  overscroll-behavior:contain!important;
  align-items:flex-start!important;
}
.pc-panel.show{
  display:flex!important;
}
.pc-panel-card:not(.pc-module-card){
  max-height:calc(100dvh - 28px)!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  -webkit-overflow-scrolling:touch!important;
  padding-bottom:calc(22px + env(safe-area-inset-bottom))!important;
}
.pc-panel-card.settings-card.device-card{
  height:auto!important;
  max-height:calc(100dvh - 24px)!important;
  display:block!important;
}
.pc-panel-card.settings-card.device-card .device-result-clean{
  max-width:100%!important;
}
#panelDevice .linked-device-box,
#panelDevice #deviceResult{
  scroll-margin-top:18px;
}
.pc-panel-actions{
  position:sticky!important;
  bottom:0!important;
  z-index:5!important;
  margin-top:14px!important;
  background:linear-gradient(180deg,rgba(8,12,18,0),rgba(8,12,18,.98) 34%)!important;
  padding-top:16px!important;
  padding-bottom:calc(4px + env(safe-area-inset-bottom))!important;
}
@media(max-width:767.98px){
  .pc-panel{
    padding:8px 8px calc(84px + env(safe-area-inset-bottom))!important;
  }
  .pc-panel-card:not(.pc-module-card){
    width:100%!important;
    max-height:calc(100dvh - 96px)!important;
    border-radius:22px!important;
  }
  #panelDevice .device-qr-wrap{
    width:min(245px,70vw)!important;
    border-radius:22px!important;
    padding:10px!important;
  }
  #panelDevice .device-code{
    width:100%!important;
    font-size:clamp(20px,7vw,34px)!important;
    white-space:normal!important;
    word-break:break-word!important;
  }
  #panelDevice .linked-device-list{
    max-height:none!important;
    overflow:visible!important;
  }
}
@media(max-width:420px){
  .pc-panel-card:not(.pc-module-card){
    padding:16px 12px calc(18px + env(safe-area-inset-bottom))!important;
  }
  #panelDevice .device-qr-wrap{width:min(220px,68vw)!important;}
}


/* v20260511: Secret Folder modal visibility + polished responsive layout */
.pchat-confirm-mask[hidden]{display:none!important;}
.pchat-confirm-mask{z-index:999999!important;}
.secret-clean .module-card{
  background:linear-gradient(160deg,rgba(16,22,34,.98),rgba(4,7,13,.98))!important;
  border:1px solid rgba(255,176,0,.22)!important;
  box-shadow:0 24px 76px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.05)!important;
}
.secret-clean .folders-card .module-title:after{
  content:'Create private folders, share access, and keep documents protected.';
  display:block;color:#b8c0cc;font-size:14px;line-height:1.45;margin:6px 0 10px;
}
.secret-clean .folder-row,.secret-clean .file-row{
  background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.035))!important;
  border:1px solid rgba(255,255,255,.10)!important;
  box-shadow:0 12px 34px rgba(0,0,0,.18)!important;
}
.secret-clean .folder-row:hover,.secret-clean .file-row:hover{transform:translateY(-1px);border-color:rgba(255,176,0,.34)!important;}
.secret-clean .selected-folder .module-title h2{display:flex;align-items:center;gap:10px;}
.secret-clean .selected-folder .module-title h2:before{content:'\F3D7';font-family:'bootstrap-icons';color:#ffb000;}
.secret-clean .module-actions{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(96px,1fr))!important;gap:9px!important;}
.secret-clean .icon-action,.secret-clean .icon-round{transition:.18s ease;}
.secret-clean .icon-action:hover,.secret-clean .icon-round:hover{transform:translateY(-1px);}
.xmodal[hidden]{display:none!important;}
.xmodal{overflow-y:auto!important;-webkit-overflow-scrolling:touch!important;}
.xmodal-card{max-height:88dvh!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch!important;}
@media(max-width:767.98px){
  .secret-clean{padding:0 0 160px!important;gap:12px!important;}
  .secret-clean .module-card{border-radius:24px!important;padding:16px!important;}
  .secret-clean .module-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .secret-clean .file-actions{grid-template-columns:1fr 1fr!important;}
  .pchat-confirm-card{width:min(340px,100%)!important;border-radius:24px!important;padding:24px 18px!important;}
  .pchat-confirm-actions{display:grid!important;grid-template-columns:1fr 1fr!important;}
}

/* === PChat story mockup redesign v20260515: Ads + Live Share + Trust + Secret === */
body{background:#000!important;color:#fff!important;}
.pchat-story-shell{min-height:100dvh;background:#000;padding:14px;display:flex;justify-content:center;}
.pchat-phone-view{width:min(440px,100%);min-height:calc(100dvh - 28px);border:2px solid rgba(255,255,255,.12);border-radius:34px;background:#030303;overflow:hidden;box-shadow:0 0 0 1px rgba(255,255,255,.03),0 22px 70px rgba(0,0,0,.75);position:relative;}
.pchat-story-top{height:78px;background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.025));display:flex;align-items:center;justify-content:space-between;padding:0 24px;border-bottom:1px solid rgba(255,255,255,.04)}
.pchat-story-top h1{font-size:24px;margin:0;font-weight:900;letter-spacing:-.04em}.pchat-top-actions{display:flex;gap:16px;align-items:center}.pchat-top-actions button{border:0;background:transparent;color:#fff;font-size:24px;width:34px;height:34px;display:grid;place-items:center}.pchat-top-actions .close{color:#ffb000;font-size:30px}
.pchat-add-row{padding:26px 24px 14px}.pchat-add-btn{width:112px;height:112px;border-radius:50%;border:2px solid #ffb000;background:radial-gradient(circle at 50% 35%,rgba(255,176,0,.16),rgba(255,255,255,.025) 55%,rgba(0,0,0,.98));color:#fff;display:grid;place-items:center;text-align:center;gap:4px;box-shadow:0 0 26px rgba(255,176,0,.42);font-weight:800}.pchat-add-btn i{font-size:30px}.pchat-add-btn span{font-size:13px}
.pchat-divider{height:3px;border-radius:99px;background:rgba(255,255,255,.9);margin:0 16px;box-shadow:0 0 8px rgba(255,255,255,.35)}
.pchat-empty-card,.pchat-media-card{margin:28px 16px 20px;border-radius:28px;min-height:58dvh;background:linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.025));display:grid;place-items:center;text-align:center;padding:28px;box-shadow:inset 0 1px 0 rgba(255,255,255,.04)}
.pchat-empty-card i{font-size:66px;color:#ffb000;margin-bottom:32px}.pchat-empty-card strong{display:block;font-size:26px;letter-spacing:-.04em}.pchat-empty-card span{display:block;color:#b9b9b9;font-size:19px;line-height:1.35;margin-top:14px;max-width:260px}.pchat-media-card{padding:0;overflow:hidden;position:relative}.pchat-media-card img,.pchat-media-card video{width:100%;height:100%;object-fit:cover;display:block}.pchat-media-card .wa-slide{position:absolute;inset:0;opacity:0;transition:.35s ease}.pchat-media-card .wa-slide.active{opacity:1;z-index:1}.pchat-media-card .wa-media-stage{height:100%;width:100%}
.pchat-owner-head{display:grid;grid-template-columns:56px 1fr;gap:12px;align-items:center;padding:24px 22px 8px}.pchat-owner-head .avatar{width:54px;height:54px;border-radius:50%;overflow:hidden;background:#111;display:grid;place-items:center}.pchat-owner-head img{width:100%;height:100%;object-fit:cover}.pchat-owner-head strong{font-size:22px}.pchat-owner-head small{display:block;color:#aaa;font-size:18px}.pchat-progress-line{display:grid;grid-template-columns:repeat(var(--count,1),1fr);gap:10px;padding:10px 18px 20px}.pchat-progress-line i{height:5px;border-radius:20px;background:#fff}.pchat-progress-line i.active{background:#ffb000;box-shadow:0 0 12px rgba(255,176,0,.55)}
.pchat-side-stats{position:absolute;right:16px;top:32%;z-index:3;display:flex;flex-direction:column;gap:22px}.pchat-stat{width:76px;min-height:86px;border:1px solid rgba(255,255,255,.08);border-radius:30px;background:linear-gradient(145deg,rgba(255,255,255,.10),rgba(255,255,255,.035));backdrop-filter:blur(16px);color:#fff;display:grid;place-items:center;padding:8px;box-shadow:0 14px 32px rgba(0,0,0,.32)}.pchat-stat i{font-size:27px;color:#ffb000}.pchat-stat strong{font-size:25px;line-height:1}.pchat-stat span{font-size:12px;font-weight:800}.pchat-stat.like i{color:#ff4b18}.pchat-stat.liked i{color:#ff1744;transform:scale(1.1)}
.pchat-caption{position:absolute;left:18px;right:104px;bottom:20px;z-index:4;background:linear-gradient(90deg,rgba(0,0,0,.62),transparent);border-radius:18px;padding:12px 14px;text-align:left}.pchat-caption strong{font-size:15px}.pchat-caption p{margin:4px 0 0;color:#ddd;font-size:13px}.pchat-comment-panel{position:absolute;left:0;right:0;bottom:0;z-index:9;max-height:62%;transform:translateY(105%);transition:.25s ease;background:rgba(6,8,12,.96);border-radius:28px 28px 0 0;border:1px solid rgba(255,176,0,.2);padding:14px;overflow:auto}.pchat-comment-panel.show{transform:translateY(0)}.pchat-comment-item{background:rgba(255,255,255,.06);border-radius:16px;padding:10px;margin:8px 0;text-align:left}.pchat-comment-form{display:grid;grid-template-columns:1fr 44px;gap:8px}.pchat-comment-form input{border:0;border-radius:20px;background:#151515;color:#fff;padding:0 14px}.pchat-comment-form button{border:0;border-radius:16px;background:#ffb000;color:#111;font-weight:900}
.pchat-menu{position:absolute;right:22px;top:66px;z-index:12;min-width:190px;background:#111;border:1px solid rgba(255,176,0,.28);border-radius:18px;padding:8px;display:none}.pchat-menu.show{display:block}.pchat-menu button,.pchat-menu form button{width:100%;border:0;background:transparent;color:#fff;text-align:left;padding:12px;border-radius:12px}.pchat-menu button:hover,.pchat-menu form button:hover{background:rgba(255,176,0,.12)}
@media(min-width:700px){.pchat-story-shell{padding:28px}.pchat-phone-view{width:min(520px,86vw)}.pchat-empty-card,.pchat-media-card{min-height:62dvh}.pchat-story-top h1{font-size:27px}}
@media(max-width:390px){.pchat-story-shell{padding:6px}.pchat-phone-view{border-radius:24px;min-height:calc(100dvh - 12px)}.pchat-story-top{height:60px;padding:0 16px}.pchat-story-top h1{font-size:17px}.pchat-add-row{padding:16px}.pchat-add-btn{width:84px;height:84px}.pchat-empty-card,.pchat-media-card{margin:18px 10px;min-height:58dvh;border-radius:24px}.pchat-empty-card strong{font-size:19px}.pchat-empty-card span{font-size:15px}.pchat-side-stats{right:10px;gap:13px}.pchat-stat{width:58px;min-height:66px;border-radius:22px}.pchat-stat strong{font-size:19px}.pchat-stat i{font-size:20px}.pchat-stat span{font-size:10px}.pchat-owner-head{padding:16px 14px 4px}.pchat-owner-head strong{font-size:18px}}
/* Trust and Secret polish */
.trust-clean,.secret-clean{background:#000!important;min-height:100dvh!important;padding:14px!important}.trust-clean .module-card,.secret-clean .module-card{border-radius:28px!important;background:linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.025))!important;border:1px solid rgba(255,255,255,.10)!important;box-shadow:0 18px 55px rgba(0,0,0,.5)!important}.trust-clean .xitem,.secret-clean .folder-row,.secret-clean .file-row{border-radius:22px!important;background:rgba(255,255,255,.06)!important;border:1px solid rgba(255,255,255,.08)!important}.trust-clean .xbtn,.secret-clean .xbtn,.secret-clean .icon-action{background:linear-gradient(145deg,#ffc400,#ff9c00)!important;color:#111!important;border:0!important;border-radius:18px!important;font-weight:900!important}


/* PChat Ads final: keep requested empty-state design and remove reset/rest controls */
.pchat-story-shell{background:#000!important;padding:4px!important;align-items:flex-start!important;}
.pchat-phone-view{width:min(100%,390px)!important;min-height:100dvh!important;border:1px solid rgba(255,255,255,.13)!important;border-radius:0!important;background:#000!important;box-shadow:0 0 0 1px rgba(255,176,0,.08),inset 0 0 26px rgba(255,176,0,.035)!important;overflow:hidden!important;}
.pchat-story-top{height:60px!important;padding:0 16px!important;background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.025))!important;border-bottom:1px solid rgba(255,255,255,.03)!important;}
.pchat-story-top h1{font-size:22px!important;font-weight:900!important;letter-spacing:-.04em!important;}
.pchat-top-actions{gap:14px!important;}
.pchat-top-actions button{font-size:20px!important;width:30px!important;height:30px!important;}
.pchat-top-actions .close{font-size:25px!important;color:#ffb000!important;}
.pchat-add-row{padding:12px 16px 18px!important;}
.pchat-add-btn{width:72px!important;height:72px!important;border:1.8px solid #ffb000!important;border-radius:999px!important;background:radial-gradient(circle at 50% 38%,rgba(255,176,0,.11),rgba(0,0,0,.96) 68%)!important;box-shadow:0 0 22px rgba(255,176,0,.48)!important;gap:2px!important;}
.pchat-add-btn i{font-size:23px!important;line-height:1!important;}
.pchat-add-btn span{font-size:11px!important;font-weight:900!important;line-height:1!important;}
.pchat-divider{height:3px!important;margin:0 16px!important;background:#f6f6f6!important;box-shadow:0 0 7px rgba(255,255,255,.55)!important;}
.pchat-empty-card{margin:14px 12px 20px!important;min-height:338px!important;border-radius:18px!important;background:linear-gradient(145deg,rgba(255,255,255,.085),rgba(255,255,255,.018))!important;padding:24px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.035)!important;}
.pchat-empty-card i{font-size:48px!important;color:#ffb000!important;margin-bottom:22px!important;}
.pchat-empty-card strong{font-size:15px!important;font-weight:900!important;letter-spacing:-.02em!important;}
.pchat-empty-card span{font-size:12px!important;line-height:1.35!important;color:#fff!important;max-width:210px!important;margin-top:10px!important;opacity:.92!important;}
.pchat-menu [data-reset],.pchat-menu .reset,.pchat-reset,.reset-story,.story-reset,[data-reset-story],[data-story-reset]{display:none!important;visibility:hidden!important;pointer-events:none!important;}
@media(min-width:391px){.pchat-phone-view{border-radius:0!important}.pchat-empty-card{min-height:338px!important}}
@media(min-width:700px){.pchat-story-shell{padding:24px!important;align-items:center!important}.pchat-phone-view{width:min(520px,86vw)!important;border-radius:34px!important}.pchat-empty-card{min-height:56dvh!important;border-radius:30px!important}.pchat-add-btn{width:96px!important;height:96px!important}.pchat-add-btn i{font-size:30px!important}.pchat-add-btn span{font-size:13px!important}.pchat-story-top{height:78px!important}.pchat-story-top h1{font-size:27px!important}}


/* === PChat final story polish: remove outer module header and redesign Live Share === */
.pc-module-head{display:none!important;visibility:hidden!important;height:0!important;min-height:0!important;padding:0!important;border:0!important;overflow:hidden!important;}
.pc-module-card iframe{height:100dvh!important;min-height:100dvh!important;}
.pc-panel.pc-modules-panel .pc-module-card{border-radius:0!important;overflow:hidden!important;}
@media(max-width:900px){.pc-panel.pc-modules-panel .pc-module-card{width:100vw!important;height:100dvh!important}.pc-module-card iframe{height:100dvh!important}}

.pchat-live-shell{padding:4px!important;background:#000!important;}
.pchat-live-shell .pchat-phone-view{width:min(100%,390px)!important;min-height:100dvh!important;border-radius:0!important;border:1px solid rgba(255,176,0,.14)!important;background:radial-gradient(circle at top right,rgba(255,176,0,.065),transparent 34%),#000!important;box-shadow:inset 0 0 28px rgba(255,176,0,.04)!important;}
.pchat-live-shell .pchat-story-top{height:58px!important;padding:0 18px!important;background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.02))!important;}
.pchat-live-shell .pchat-story-top h1{font-size:20px!important;color:#fff!important;text-shadow:0 2px 10px rgba(0,0,0,.9)!important;}
.pchat-live-shell .pchat-owner-head{grid-template-columns:54px minmax(0,1fr)!important;gap:12px!important;padding:18px 18px 4px!important;}
.pchat-live-shell .pchat-owner-head .avatar{width:52px!important;height:52px!important;border:1.8px solid #ffb000!important;box-shadow:0 0 18px rgba(255,176,0,.34)!important;}
.pchat-live-shell .pchat-owner-head strong{font-size:17px!important;font-weight:900!important;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.pchat-live-shell .pchat-owner-head small{font-size:15px!important;color:#d7d7d7!important;margin-top:2px!important;}
.pchat-live-shell .pchat-progress-line{padding:8px 18px 22px!important;gap:8px!important;}
.pchat-live-shell .pchat-progress-line i{height:4px!important;background:#f4f4f4!important;box-shadow:0 0 5px rgba(255,255,255,.25)!important;}
.pchat-live-shell .pchat-progress-line i.active{background:#ffb000!important;box-shadow:0 0 12px rgba(255,176,0,.62)!important;}
.pchat-live-shell .pchat-media-card{margin:0 14px 18px!important;min-height:62dvh!important;height:calc(100dvh - 164px)!important;border-radius:22px!important;border:1px solid rgba(255,255,255,.12)!important;background:linear-gradient(145deg,rgba(255,255,255,.07),rgba(255,255,255,.018))!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 16px 48px rgba(0,0,0,.45)!important;}
.pchat-live-shell .pchat-media-card img,.pchat-live-shell .pchat-media-card video{object-fit:cover!important;filter:brightness(.82) saturate(1.05)!important;}
.pchat-live-shell .pchat-side-stats{right:10px!important;top:19%!important;gap:14px!important;z-index:5!important;}
.pchat-live-shell .pchat-stat{width:58px!important;min-height:68px!important;border-radius:18px!important;background:linear-gradient(145deg,rgba(255,255,255,.14),rgba(255,255,255,.045))!important;border:1px solid rgba(255,255,255,.09)!important;backdrop-filter:blur(14px)!important;padding:6px!important;}
.pchat-live-shell .pchat-stat i{font-size:17px!important;line-height:1!important;color:#ffb000!important;}
.pchat-live-shell .pchat-stat.like i{color:#ff4b18!important;}
.pchat-live-shell .pchat-stat strong{font-size:16px!important;line-height:1!important;}
.pchat-live-shell .pchat-stat span{font-size:9px!important;line-height:1!important;font-weight:900!important;}
.pchat-live-shell .pchat-caption{left:18px!important;right:78px!important;bottom:18px!important;border:1px solid rgba(255,255,255,.1)!important;border-radius:16px!important;background:linear-gradient(145deg,rgba(0,0,0,.56),rgba(0,0,0,.22))!important;backdrop-filter:blur(12px)!important;padding:10px 12px!important;}
.pchat-live-shell .pchat-caption strong{font-size:13px!important;font-weight:900!important;}
.pchat-live-shell .pchat-caption p{font-size:11px!important;color:#fff!important;margin:4px 0 0!important;}
.pchat-live-shell .pchat-menu{right:14px!important;top:52px!important;background:#0d0d0d!important;border-color:rgba(255,176,0,.28)!important;}
.pchat-live-shell .pchat-empty-card{margin:14px!important;min-height:340px!important;border-radius:22px!important;}
@media(min-width:700px){.pchat-live-shell{padding:24px!important}.pchat-live-shell .pchat-phone-view{width:min(520px,86vw)!important;border-radius:34px!important}.pchat-live-shell .pchat-story-top{height:78px!important}.pchat-live-shell .pchat-story-top h1{font-size:30px!important}.pchat-live-shell .pchat-owner-head{grid-template-columns:74px 1fr!important;padding:28px 28px 8px!important}.pchat-live-shell .pchat-owner-head .avatar{width:70px!important;height:70px!important}.pchat-live-shell .pchat-owner-head strong{font-size:27px!important}.pchat-live-shell .pchat-owner-head small{font-size:22px!important}.pchat-live-shell .pchat-media-card{height:calc(100dvh - 240px)!important;min-height:620px!important;margin:10px 28px 28px!important;border-radius:34px!important}.pchat-live-shell .pchat-side-stats{right:32px!important;top:28%!important;gap:22px!important}.pchat-live-shell .pchat-stat{width:86px!important;min-height:98px!important;border-radius:30px!important}.pchat-live-shell .pchat-stat i{font-size:28px!important}.pchat-live-shell .pchat-stat strong{font-size:30px!important}.pchat-live-shell .pchat-stat span{font-size:13px!important}.pchat-live-shell .pchat-caption{left:46px!important;right:160px!important;bottom:36px!important;padding:16px 18px!important}.pchat-live-shell .pchat-caption strong{font-size:18px!important}.pchat-live-shell .pchat-caption p{font-size:16px!important}}
@media(max-width:340px){.pchat-live-shell .pchat-owner-head{grid-template-columns:46px 1fr!important;padding-left:12px!important;padding-right:12px!important}.pchat-live-shell .pchat-owner-head .avatar{width:44px!important;height:44px!important}.pchat-live-shell .pchat-owner-head strong{font-size:14px!important}.pchat-live-shell .pchat-media-card{margin-left:8px!important;margin-right:8px!important}.pchat-live-shell .pchat-side-stats{right:6px!important}.pchat-live-shell .pchat-stat{width:50px!important;min-height:60px!important;border-radius:16px!important}.pchat-live-shell .pchat-caption{right:64px!important;left:12px!important}}

/* === 2026-05-15 active Ads/Live Share polish: cleaner story viewer + better media fit === */
.pchat-ads-shell .xnotice,
.pchat-live-shell .xnotice{
  margin:10px 12px 12px!important;
  padding:9px 12px!important;
  border-radius:14px!important;
  font-size:13px!important;
  line-height:1.25!important;
  background:linear-gradient(90deg,rgba(255,176,0,.16),rgba(255,176,0,.045))!important;
  border:1px solid rgba(255,176,0,.23)!important;
  color:#ffd36a!important;
}
.pchat-ads-shell .pchat-phone-view,
.pchat-live-shell .pchat-phone-view{
  max-width:430px!important;
  background:radial-gradient(circle at 100% 0%,rgba(255,176,0,.055),transparent 31%),#000!important;
}
.pchat-ads-shell .pchat-owner-head,
.pchat-live-shell .pchat-owner-head{
  grid-template-columns:48px minmax(0,1fr)!important;
  gap:10px!important;
  padding:14px 16px 4px!important;
  position:relative!important;
  z-index:4!important;
}
.pchat-ads-shell .pchat-owner-head .avatar,
.pchat-live-shell .pchat-owner-head .avatar{
  width:46px!important;
  height:46px!important;
  border:1.5px solid rgba(255,176,0,.88)!important;
  background:#111!important;
  box-shadow:0 0 16px rgba(255,176,0,.32)!important;
}
.pchat-ads-shell .pchat-owner-head strong,
.pchat-live-shell .pchat-owner-head strong{
  display:block!important;
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  color:#fff!important;
  font-size:16px!important;
  font-weight:900!important;
  line-height:1.1!important;
}
.pchat-ads-shell .pchat-owner-head small,
.pchat-live-shell .pchat-owner-head small{
  color:rgba(255,255,255,.78)!important;
  font-size:14px!important;
  margin-top:2px!important;
}
.pchat-ads-shell .pchat-progress-line,
.pchat-live-shell .pchat-progress-line{
  padding:8px 16px 16px!important;
  gap:8px!important;
  position:relative!important;
  z-index:4!important;
}
.pchat-ads-shell .pchat-progress-line i,
.pchat-live-shell .pchat-progress-line i{
  height:5px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.38)!important;
  box-shadow:none!important;
}
.pchat-ads-shell .pchat-progress-line i.active,
.pchat-live-shell .pchat-progress-line i.active{
  background:#ffb000!important;
  box-shadow:0 0 12px rgba(255,176,0,.55)!important;
}
.pchat-ads-shell .pchat-media-card,
.pchat-live-shell .pchat-media-card{
  margin:8px 12px 18px!important;
  height:calc(100dvh - 176px)!important;
  min-height:420px!important;
  max-height:720px!important;
  border-radius:22px!important;
  overflow:hidden!important;
  padding:0!important;
  background:linear-gradient(145deg,#151515,#050505)!important;
  border:1px solid rgba(255,255,255,.12)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 20px 55px rgba(0,0,0,.62)!important;
}
.pchat-ads-shell .wa-media-stage,
.pchat-live-shell .wa-media-stage{
  width:100%!important;
  height:100%!important;
  min-height:100%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#050505!important;
}
.pchat-ads-shell .wa-media-stage img,
.pchat-ads-shell .wa-media-stage video,
.pchat-live-shell .wa-media-stage img,
.pchat-live-shell .wa-media-stage video{
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  background:#050505!important;
  filter:saturate(1.04) contrast(1.02)!important;
}
.pchat-ads-shell .wa-media-stage.fill img,
.pchat-ads-shell .wa-media-stage.fill video,
.pchat-live-shell .wa-media-stage.fill img,
.pchat-live-shell .wa-media-stage.fill video{
  object-fit:cover!important;
}
.pchat-ads-shell .pchat-media-card::before,
.pchat-live-shell .pchat-media-card::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:2;
  background:linear-gradient(180deg,rgba(0,0,0,.22),transparent 18%,transparent 72%,rgba(0,0,0,.34));
}
.pchat-ads-shell .pchat-side-stats,
.pchat-live-shell .pchat-side-stats{
  right:8px!important;
  top:33%!important;
  gap:12px!important;
  z-index:6!important;
}
.pchat-ads-shell .pchat-stat,
.pchat-live-shell .pchat-stat{
  width:55px!important;
  min-height:62px!important;
  border-radius:17px!important;
  padding:5px!important;
  background:linear-gradient(145deg,rgba(255,255,255,.16),rgba(255,255,255,.055))!important;
  border:1px solid rgba(255,255,255,.10)!important;
  box-shadow:0 10px 24px rgba(0,0,0,.42)!important;
}
.pchat-ads-shell .pchat-stat i,
.pchat-live-shell .pchat-stat i{font-size:17px!important;color:#ffb000!important;line-height:1!important;}
.pchat-ads-shell .pchat-stat.like i,
.pchat-live-shell .pchat-stat.like i{color:#ff4b18!important;}
.pchat-ads-shell .pchat-stat strong,
.pchat-live-shell .pchat-stat strong{font-size:16px!important;line-height:1!important;}
.pchat-ads-shell .pchat-stat span,
.pchat-live-shell .pchat-stat span{font-size:8.5px!important;line-height:1!important;font-weight:900!important;}
.pchat-ads-shell .pchat-caption,
.pchat-live-shell .pchat-caption{
  left:16px!important;
  right:76px!important;
  bottom:16px!important;
  z-index:7!important;
  border:1px solid rgba(255,255,255,.12)!important;
  border-radius:16px!important;
  padding:10px 12px!important;
  background:linear-gradient(145deg,rgba(0,0,0,.70),rgba(0,0,0,.28))!important;
  backdrop-filter:blur(12px)!important;
}
.pchat-ads-shell .pchat-caption strong,
.pchat-live-shell .pchat-caption strong{font-size:13px!important;font-weight:900!important;}
.pchat-ads-shell .pchat-caption p,
.pchat-live-shell .pchat-caption p{font-size:11px!important;color:#f1f1f1!important;margin:4px 0 0!important;}
@media(max-width:360px){
  .pchat-ads-shell .pchat-media-card,.pchat-live-shell .pchat-media-card{margin-left:8px!important;margin-right:8px!important;height:calc(100dvh - 166px)!important;min-height:360px!important;border-radius:18px!important;}
  .pchat-ads-shell .pchat-side-stats,.pchat-live-shell .pchat-side-stats{right:5px!important;gap:9px!important;}
  .pchat-ads-shell .pchat-stat,.pchat-live-shell .pchat-stat{width:48px!important;min-height:56px!important;border-radius:15px!important;}
  .pchat-ads-shell .pchat-caption,.pchat-live-shell .pchat-caption{left:12px!important;right:62px!important;bottom:12px!important;}
}
@media(min-width:700px){
  .pchat-ads-shell .pchat-phone-view,.pchat-live-shell .pchat-phone-view{width:min(540px,88vw)!important;border-radius:34px!important;}
  .pchat-ads-shell .pchat-media-card,.pchat-live-shell .pchat-media-card{height:calc(100dvh - 250px)!important;min-height:620px!important;margin:10px 28px 28px!important;border-radius:34px!important;}
  .pchat-ads-shell .pchat-owner-head,.pchat-live-shell .pchat-owner-head{grid-template-columns:72px 1fr!important;padding:26px 28px 8px!important;}
  .pchat-ads-shell .pchat-owner-head .avatar,.pchat-live-shell .pchat-owner-head .avatar{width:68px!important;height:68px!important;}
  .pchat-ads-shell .pchat-owner-head strong,.pchat-live-shell .pchat-owner-head strong{font-size:26px!important;}
  .pchat-ads-shell .pchat-owner-head small,.pchat-live-shell .pchat-owner-head small{font-size:21px!important;}
  .pchat-ads-shell .pchat-progress-line,.pchat-live-shell .pchat-progress-line{padding:10px 28px 20px!important;}
  .pchat-ads-shell .pchat-side-stats,.pchat-live-shell .pchat-side-stats{right:34px!important;gap:20px!important;}
  .pchat-ads-shell .pchat-stat,.pchat-live-shell .pchat-stat{width:82px!important;min-height:94px!important;border-radius:28px!important;}
  .pchat-ads-shell .pchat-stat i,.pchat-live-shell .pchat-stat i{font-size:27px!important;}
  .pchat-ads-shell .pchat-stat strong,.pchat-live-shell .pchat-stat strong{font-size:29px!important;}
  .pchat-ads-shell .pchat-stat span,.pchat-live-shell .pchat-stat span{font-size:12px!important;}
}


/* === FINAL PROFESSIONAL STORY DESIGN: Ads + Live Share (responsive, no outer shell/header) === */
body.pchat-full-story-body{
  margin:0!important;background:#000!important;overflow-x:hidden!important;color:#fff!important;
}
body.pchat-full-story-body .extra-shell{
  width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:#000!important;min-height:100dvh!important;
}
body.pchat-full-story-body .extra-nav{display:none!important;}
body.pchat-full-story-body .pchat-story-shell{
  min-height:100dvh!important;width:100%!important;padding:clamp(6px,2.5vw,24px)!important;
  display:flex!important;align-items:flex-start!important;justify-content:center!important;background:#000!important;box-sizing:border-box!important;
}
.pchat-ads-shell .pchat-phone-view,.pchat-live-shell .pchat-phone-view{
  position:relative!important;width:min(100%,430px)!important;min-height:calc(100dvh - clamp(12px,5vw,48px))!important;
  border-radius:28px!important;overflow:hidden!important;background:radial-gradient(circle at 100% 0%,rgba(255,184,0,.08),transparent 26%),linear-gradient(180deg,#050505,#000)!important;
  border:1px solid rgba(255,255,255,.16)!important;box-shadow:0 0 0 1px rgba(255,176,0,.06),0 24px 80px rgba(0,0,0,.72)!important;
}
.pchat-ads-shell .pchat-phone-view:before,.pchat-live-shell .pchat-phone-view:before{
  content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(255,176,0,.08),transparent 22%,transparent 78%,rgba(255,176,0,.06));z-index:0;
}
.pchat-ads-shell .pchat-phone-view>* , .pchat-live-shell .pchat-phone-view>*{position:relative;z-index:1;}
.pchat-ads-shell .pchat-story-top,.pchat-live-shell .pchat-story-top{
  height:58px!important;padding:0 14px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;
  background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.012))!important;border-bottom:1px solid rgba(255,255,255,.07)!important;
}
.pchat-ads-shell .pchat-story-top h1,.pchat-live-shell .pchat-story-top h1{
  margin:0!important;font-size:20px!important;line-height:1!important;font-weight:950!important;letter-spacing:-.04em!important;color:#fff!important;text-shadow:0 2px 14px rgba(0,0,0,.6)!important;
}
.pchat-ads-shell .pchat-top-actions,.pchat-live-shell .pchat-top-actions{display:flex!important;align-items:center!important;gap:10px!important;}
.pchat-ads-shell .pchat-top-actions button,.pchat-live-shell .pchat-top-actions button{
  width:38px!important;height:38px!important;border:0!important;border-radius:14px!important;background:transparent!important;color:#fff!important;font-size:20px!important;display:grid!important;place-items:center!important;
}
.pchat-ads-shell .pchat-top-actions button.close,.pchat-live-shell .pchat-top-actions button.close{color:#ffb000!important;background:rgba(255,255,255,.055)!important;}
.pchat-ads-shell .pchat-top-actions button:active,.pchat-live-shell .pchat-top-actions button:active{transform:scale(.94)!important;background:rgba(255,255,255,.09)!important;}
.pchat-menu{
  position:absolute!important;right:14px!important;top:54px!important;display:none!important;flex-direction:column!important;gap:8px!important;z-index:20!important;
  min-width:180px!important;padding:10px!important;border-radius:18px!important;background:rgba(10,10,10,.92)!important;border:1px solid rgba(255,176,0,.22)!important;box-shadow:0 20px 60px rgba(0,0,0,.55)!important;backdrop-filter:blur(18px)!important;
}
.pchat-menu.show{display:flex!important}.pchat-menu button{border:0!important;border-radius:14px!important;background:rgba(255,255,255,.07)!important;color:#fff!important;padding:11px 12px!important;text-align:left!important;font-weight:850!important}.pchat-menu i{color:#ffb000!important;margin-right:8px!important}
.pchat-ads-shell .xnotice,.pchat-live-shell .xnotice{display:none!important;}
.pchat-add-row{padding:22px 16px 20px!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;}
.pchat-add-btn{
  width:94px!important;height:94px!important;border-radius:50%!important;background:radial-gradient(circle,rgba(255,176,0,.12),rgba(0,0,0,.98) 68%)!important;
  border:2px solid #ffb000!important;color:#fff!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:8px!important;
  box-shadow:0 0 0 1px rgba(255,176,0,.25),0 0 28px rgba(255,176,0,.45)!important;font-weight:950!important;
}
.pchat-add-btn i{font-size:26px!important;color:#fff!important}.pchat-add-btn span{font-size:12px!important}.pchat-add-btn:active{transform:scale(.96)!important;}
.pchat-divider{height:3px!important;margin:0 16px 18px!important;border-radius:99px!important;background:linear-gradient(90deg,#fff,#f6f6f6,#fff)!important;box-shadow:0 0 12px rgba(255,255,255,.35)!important;}
.pchat-empty-card{
  margin:0 12px 20px!important;min-height:clamp(350px,64dvh,650px)!important;border-radius:26px!important;background:radial-gradient(circle at 50% 26%,rgba(255,255,255,.06),transparent 28%),linear-gradient(145deg,#171717,#060606)!important;
  border:1px solid rgba(255,255,255,.075)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 22px 55px rgba(0,0,0,.62)!important;display:grid!important;place-items:center!important;text-align:center!important;padding:26px!important;
}
.pchat-empty-card i{font-size:58px!important;color:#ffb000!important;text-shadow:0 0 20px rgba(255,176,0,.45)!important}.pchat-empty-card strong{display:block!important;margin-top:16px!important;font-size:22px!important;font-weight:950!important;color:#fff!important}.pchat-empty-card span{display:block!important;margin:12px auto 0!important;max-width:250px!important;color:rgba(255,255,255,.76)!important;font-size:15px!important;line-height:1.45!important;}
.pchat-ads-shell .pchat-owner-head,.pchat-live-shell .pchat-owner-head{
  display:grid!important;grid-template-columns:54px minmax(0,1fr)!important;gap:12px!important;align-items:center!important;padding:16px 18px 6px!important;
}
.pchat-ads-shell .pchat-owner-head .avatar,.pchat-live-shell .pchat-owner-head .avatar{width:52px!important;height:52px!important;border-radius:50%!important;border:2px solid #ffb000!important;overflow:hidden!important;box-shadow:0 0 20px rgba(255,176,0,.38)!important;background:#151515!important;}
.pchat-ads-shell .pchat-owner-head .avatar img,.pchat-live-shell .pchat-owner-head .avatar img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;}
.pchat-ads-shell .pchat-owner-head strong,.pchat-live-shell .pchat-owner-head strong{font-size:18px!important;font-weight:950!important;letter-spacing:-.025em!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;display:block!important;color:#fff!important;}
.pchat-ads-shell .pchat-owner-head small,.pchat-live-shell .pchat-owner-head small{display:block!important;margin-top:3px!important;font-size:16px!important;color:rgba(255,255,255,.78)!important;}
.pchat-ads-shell .pchat-progress-line,.pchat-live-shell .pchat-progress-line{display:flex!important;gap:8px!important;padding:8px 18px 16px!important;}
.pchat-ads-shell .pchat-progress-line i,.pchat-live-shell .pchat-progress-line i{flex:1!important;height:5px!important;border-radius:99px!important;background:rgba(255,255,255,.28)!important;overflow:hidden!important;box-shadow:none!important;}
.pchat-ads-shell .pchat-progress-line i.active,.pchat-live-shell .pchat-progress-line i.active{background:#ffb000!important;box-shadow:0 0 16px rgba(255,176,0,.72)!important;}
.pchat-ads-shell .pchat-media-card,.pchat-live-shell .pchat-media-card{
  position:relative!important;margin:0 12px 18px!important;height:clamp(420px,calc(100dvh - 162px),710px)!important;min-height:420px!important;max-height:none!important;border-radius:25px!important;overflow:hidden!important;
  background:#050505!important;border:1px solid rgba(255,255,255,.13)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 24px 70px rgba(0,0,0,.68)!important;padding:0!important;
}
.pchat-ads-shell .pchat-media-card:after,.pchat-live-shell .pchat-media-card:after{content:"";position:absolute;inset:0;pointer-events:none;z-index:3;background:linear-gradient(180deg,rgba(0,0,0,.08),transparent 15%,transparent 70%,rgba(0,0,0,.48));}
.pchat-ads-shell .wa-slide,.pchat-live-shell .wa-slide{position:absolute!important;inset:0!important;display:none!important}.pchat-ads-shell .wa-slide.active,.pchat-live-shell .wa-slide.active{display:block!important;}
.pchat-ads-shell .wa-media-stage,.pchat-live-shell .wa-media-stage{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;background:#070707!important;display:block!important;overflow:hidden!important;}
.pchat-ads-shell .wa-media-stage:before,.pchat-live-shell .wa-media-stage:before{content:"";position:absolute;inset:-18px;background:var(--pchat-media-bg,transparent);background-size:cover;background-position:center;filter:blur(24px) brightness(.45);transform:scale(1.08);opacity:.45;}
.pchat-ads-shell .wa-media-stage img,.pchat-ads-shell .wa-media-stage video,.pchat-live-shell .wa-media-stage img,.pchat-live-shell .wa-media-stage video{
  position:relative!important;z-index:1!important;width:100%!important;height:100%!important;display:block!important;object-fit:cover!important;object-position:center center!important;background:#050505!important;filter:saturate(1.06) contrast(1.03)!important;
}
.pchat-ads-shell .wa-media-stage.contain img,.pchat-ads-shell .wa-media-stage.contain video,.pchat-live-shell .wa-media-stage.contain img,.pchat-live-shell .wa-media-stage.contain video{object-fit:contain!important;}
.pchat-side-stats{position:absolute!important;right:10px!important;top:30%!important;display:flex!important;flex-direction:column!important;gap:14px!important;z-index:8!important;}
.pchat-stat{width:58px!important;min-height:70px!important;border:0!important;border-radius:19px!important;background:linear-gradient(145deg,rgba(36,36,36,.92),rgba(15,15,15,.78))!important;color:#fff!important;box-shadow:0 14px 28px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,255,255,.10)!important;backdrop-filter:blur(14px)!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;padding:5px!important;}
.pchat-stat i{font-size:20px!important;color:#ffb000!important}.pchat-stat.like i{color:#ff4a19!important}.pchat-stat strong{font-size:20px!important;font-weight:950!important;line-height:1!important}.pchat-stat span{font-size:9px!important;font-weight:900!important;line-height:1.05!important}.pchat-stat:active{transform:scale(.95)!important}.pchat-stat.liked{background:linear-gradient(145deg,rgba(255,72,25,.25),rgba(15,15,15,.82))!important;}
.pchat-caption{position:absolute!important;left:18px!important;right:82px!important;bottom:18px!important;z-index:9!important;padding:13px 14px!important;border-radius:18px!important;border:1px solid rgba(255,255,255,.13)!important;background:linear-gradient(145deg,rgba(0,0,0,.68),rgba(0,0,0,.32))!important;backdrop-filter:blur(16px)!important;box-shadow:0 12px 30px rgba(0,0,0,.38)!important;}
.pchat-caption strong{font-size:15px!important;font-weight:950!important}.pchat-caption p{margin:6px 0 0!important;color:rgba(255,255,255,.86)!important;font-size:13px!important;line-height:1.35!important;}
.pchat-comment-panel{position:absolute!important;left:0!important;right:0!important;bottom:0!important;z-index:30!important;max-height:70%!important;transform:translateY(105%)!important;transition:.24s ease!important;background:linear-gradient(180deg,rgba(18,18,18,.98),#000)!important;border-top:1px solid rgba(255,176,0,.22)!important;border-radius:24px 24px 0 0!important;padding:16px!important;box-shadow:0 -20px 55px rgba(0,0,0,.65)!important;overflow:auto!important;}
.pchat-comment-panel.show{transform:translateY(0)!important}.pchat-comment-panel h3{margin:0 0 12px!important;font-size:18px!important}.pchat-comment-form{display:grid!important;grid-template-columns:1fr 44px!important;gap:8px!important;margin-top:12px!important}.pchat-comment-form input{height:44px!important;border:1px solid rgba(255,255,255,.12)!important;border-radius:16px!important;background:rgba(255,255,255,.07)!important;color:#fff!important;padding:0 13px!important}.pchat-comment-form button{border:0!important;border-radius:16px!important;background:#ffb000!important;color:#070707!important;}
.wa-nav-zone{position:absolute!important;top:0!important;bottom:0!important;width:34%!important;z-index:6!important;background:transparent!important;border:0!important}.wa-prev{left:0!important}.wa-next{right:0!important}
@media(max-width:360px){
  .pchat-ads-shell .pchat-phone-view,.pchat-live-shell .pchat-phone-view{border-radius:0!important;min-height:100dvh!important;border-left:0!important;border-right:0!important}.pchat-ads-shell .pchat-story-shell,.pchat-live-shell .pchat-story-shell{padding:0!important}.pchat-ads-shell .pchat-media-card,.pchat-live-shell .pchat-media-card{margin-left:8px!important;margin-right:8px!important;height:calc(100dvh - 146px)!important;min-height:390px!important;border-radius:20px!important}.pchat-side-stats{right:7px!important;gap:10px!important}.pchat-stat{width:50px!important;min-height:58px!important;border-radius:16px!important}.pchat-stat i{font-size:17px!important}.pchat-stat strong{font-size:16px!important}.pchat-stat span{font-size:8px!important}.pchat-caption{left:12px!important;right:66px!important;bottom:12px!important;padding:10px 11px!important}.pchat-ads-shell .pchat-owner-head strong,.pchat-live-shell .pchat-owner-head strong{font-size:15px!important}
}
@media(min-width:650px){
  body.pchat-full-story-body .pchat-story-shell{align-items:center!important}.pchat-ads-shell .pchat-phone-view,.pchat-live-shell .pchat-phone-view{width:min(540px,86vw)!important;border-radius:34px!important}.pchat-ads-shell .pchat-story-top,.pchat-live-shell .pchat-story-top{height:74px!important;padding:0 26px!important}.pchat-ads-shell .pchat-story-top h1,.pchat-live-shell .pchat-story-top h1{font-size:30px!important}.pchat-ads-shell .pchat-owner-head,.pchat-live-shell .pchat-owner-head{grid-template-columns:72px 1fr!important;padding:24px 28px 8px!important}.pchat-ads-shell .pchat-owner-head .avatar,.pchat-live-shell .pchat-owner-head .avatar{width:68px!important;height:68px!important}.pchat-ads-shell .pchat-owner-head strong,.pchat-live-shell .pchat-owner-head strong{font-size:26px!important}.pchat-ads-shell .pchat-owner-head small,.pchat-live-shell .pchat-owner-head small{font-size:20px!important}.pchat-ads-shell .pchat-progress-line,.pchat-live-shell .pchat-progress-line{padding:10px 28px 22px!important}.pchat-ads-shell .pchat-media-card,.pchat-live-shell .pchat-media-card{height:min(720px,calc(100dvh - 250px))!important;min-height:590px!important;margin:0 28px 28px!important;border-radius:34px!important}.pchat-side-stats{right:38px!important;gap:18px!important}.pchat-stat{width:82px!important;min-height:94px!important;border-radius:28px!important}.pchat-stat i{font-size:28px!important}.pchat-stat strong{font-size:30px!important}.pchat-stat span{font-size:12px!important}.pchat-caption{left:46px!important;right:160px!important;bottom:34px!important;padding:16px 18px!important;border-radius:22px!important}.pchat-caption strong{font-size:18px!important}.pchat-caption p{font-size:16px!important}.pchat-empty-card{margin:0 28px 28px!important;min-height:min(650px,62dvh)!important;border-radius:34px!important}.pchat-add-row{padding:28px!important}.pchat-divider{margin-left:28px!important;margin-right:28px!important}
}
@media(min-width:900px){
  body.pchat-full-story-body .pchat-story-shell{padding:28px!important}.pchat-ads-shell .pchat-phone-view,.pchat-live-shell .pchat-phone-view{width:520px!important;}
}

/* === PChat 2026 PROFESSIONAL STORY VIEWER OVERRIDE === */
body.pchat-full-story-body,
body.extra-module-body.pchat-full-story-body{
  background:#000!important;
  overflow:hidden!important;
}
body.pchat-full-story-body .extra-shell{
  min-height:100dvh!important;
  padding:0!important;
  background:#000!important;
}
body.pchat-full-story-body .pchat-story-shell{
  min-height:100dvh!important;
  height:100dvh!important;
  padding:0!important;
  background:radial-gradient(circle at 82% 7%,rgba(255,176,0,.12),transparent 28%),#000!important;
  display:flex!important;
  justify-content:center!important;
  align-items:stretch!important;
  overflow:hidden!important;
}
.pchat-ads-shell .pchat-phone-view,
.pchat-live-shell .pchat-phone-view{
  width:100%!important;
  max-width:520px!important;
  min-height:100dvh!important;
  height:100dvh!important;
  border:0!important;
  border-radius:0!important;
  overflow:hidden!important;
  background:linear-gradient(180deg,#050505 0%,#000 100%)!important;
  box-shadow:none!important;
  display:flex!important;
  flex-direction:column!important;
}
.pchat-ads-shell .pchat-phone-view:before,
.pchat-live-shell .pchat-phone-view:before{display:none!important;}
.pchat-ads-shell .pchat-story-top,
.pchat-live-shell .pchat-story-top{
  flex:0 0 56px!important;
  height:56px!important;
  padding:0 16px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.015))!important;
  border-bottom:1px solid rgba(255,255,255,.08)!important;
}
.pchat-ads-shell .pchat-story-top h1,
.pchat-live-shell .pchat-story-top h1{
  font-size:22px!important;
  font-weight:950!important;
  letter-spacing:-.04em!important;
}
.pchat-ads-shell .pchat-top-actions button,
.pchat-live-shell .pchat-top-actions button{
  width:36px!important;height:36px!important;border-radius:50%!important;
}
.pchat-ads-shell .pchat-top-actions .close,
.pchat-live-shell .pchat-top-actions .close{
  background:rgba(255,176,0,.10)!important;
  color:#ffb000!important;
}
.pchat-ads-shell .pchat-owner-head,
.pchat-live-shell .pchat-owner-head{
  flex:0 0 auto!important;
  display:grid!important;
  grid-template-columns:48px minmax(0,1fr)!important;
  gap:11px!important;
  align-items:center!important;
  padding:14px 18px 6px!important;
}
.pchat-ads-shell .pchat-owner-head .avatar,
.pchat-live-shell .pchat-owner-head .avatar{
  width:46px!important;height:46px!important;border-radius:50%!important;
  border:2px solid #ffb000!important;background:#161616!important;
  display:grid!important;place-items:center!important;overflow:hidden!important;
  box-shadow:0 0 18px rgba(255,176,0,.42)!important;
}
.pchat-ads-shell .pchat-owner-head .avatar i,
.pchat-live-shell .pchat-owner-head .avatar i{color:#fff!important;font-size:21px!important;}
.pchat-ads-shell .pchat-owner-head strong,
.pchat-live-shell .pchat-owner-head strong{
  font-size:17px!important;font-weight:950!important;color:#fff!important;
  max-width:100%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
}
.pchat-ads-shell .pchat-owner-head small,
.pchat-live-shell .pchat-owner-head small{
  font-size:15px!important;color:rgba(255,255,255,.72)!important;margin-top:2px!important;
}
.pchat-ads-shell .pchat-progress-line,
.pchat-live-shell .pchat-progress-line{
  flex:0 0 auto!important;
  padding:7px 18px 14px!important;
  gap:8px!important;
}
.pchat-ads-shell .pchat-progress-line i,
.pchat-live-shell .pchat-progress-line i{
  height:5px!important;border-radius:99px!important;background:rgba(255,255,255,.28)!important;
}
.pchat-ads-shell .pchat-progress-line i.active,
.pchat-live-shell .pchat-progress-line i.active{
  background:#ffb000!important;box-shadow:0 0 13px rgba(255,176,0,.75)!important;
}
.pchat-ads-shell .pchat-media-card,
.pchat-live-shell .pchat-media-card{
  flex:1 1 auto!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  margin:0 12px 12px!important;
  border-radius:24px!important;
  background:#050505!important;
  border:1px solid rgba(255,255,255,.14)!important;
  overflow:hidden!important;
  box-shadow:0 18px 50px rgba(0,0,0,.65),inset 0 1px 0 rgba(255,255,255,.08)!important;
}
.pchat-ads-shell .pchat-media-card:after,
.pchat-live-shell .pchat-media-card:after{
  z-index:2!important;
  background:linear-gradient(180deg,rgba(0,0,0,.05) 0%,transparent 22%,transparent 62%,rgba(0,0,0,.62) 100%)!important;
}
.pchat-ads-shell .wa-slide,
.pchat-live-shell .wa-slide{position:absolute!important;inset:0!important;background:#050505!important;}
.pchat-ads-shell .wa-media-stage,
.pchat-live-shell .wa-media-stage{
  position:absolute!important;inset:0!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  background:#050505!important;overflow:hidden!important;
}
.pchat-ads-shell .wa-media-stage:before,
.pchat-live-shell .wa-media-stage:before{
  content:""!important;position:absolute!important;inset:-26px!important;
  background:inherit!important;background-size:cover!important;background-position:center!important;
  filter:blur(24px) brightness(.35)!important;opacity:.55!important;transform:scale(1.08)!important;
}
.pchat-ads-shell .wa-media-stage img,
.pchat-live-shell .wa-media-stage img,
.pchat-ads-shell .wa-media-stage video,
.pchat-live-shell .wa-media-stage video{
  position:relative!important;z-index:1!important;
  width:100%!important;height:100%!important;
  object-fit:cover!important;object-position:center!important;
  background:#050505!important;display:block!important;
}
/* Add class="contain" on wa-media-stage if you prefer no crop for a specific media. */
.pchat-ads-shell .wa-media-stage.contain img,
.pchat-live-shell .wa-media-stage.contain img,
.pchat-ads-shell .wa-media-stage.contain video,
.pchat-live-shell .wa-media-stage.contain video{
  object-fit:contain!important;
}
.pchat-side-stats{
  right:9px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  gap:11px!important;
  z-index:8!important;
}
.pchat-stat{
  width:54px!important;min-height:62px!important;border-radius:18px!important;
  background:linear-gradient(145deg,rgba(31,31,31,.94),rgba(7,7,7,.78))!important;
  border:1px solid rgba(255,255,255,.10)!important;
  box-shadow:0 12px 26px rgba(0,0,0,.55),inset 0 1px 0 rgba(255,255,255,.10)!important;
  backdrop-filter:blur(14px)!important;
}
.pchat-stat i{font-size:18px!important;color:#ffb000!important;line-height:1!important;}
.pchat-stat.like i{color:#ff4a19!important;}
.pchat-stat strong{font-size:18px!important;font-weight:950!important;line-height:1!important;}
.pchat-stat span{font-size:8px!important;font-weight:900!important;line-height:1!important;}
.pchat-caption{
  left:14px!important;right:75px!important;bottom:14px!important;z-index:9!important;
  border-radius:18px!important;padding:12px 13px!important;
  background:linear-gradient(145deg,rgba(0,0,0,.72),rgba(0,0,0,.38))!important;
  border:1px solid rgba(255,255,255,.14)!important;
  backdrop-filter:blur(16px)!important;
}
.pchat-caption strong{font-size:14px!important;font-weight:950!important;}
.pchat-caption p{font-size:12px!important;line-height:1.3!important;margin:5px 0 0!important;color:rgba(255,255,255,.86)!important;}
.pchat-add-row{flex:0 0 auto!important;padding:20px 18px 18px!important;}
.pchat-divider{flex:0 0 3px!important;margin:0 18px 16px!important;}
.pchat-empty-card{
  flex:1 1 auto!important;
  min-height:0!important;
  margin:0 12px 12px!important;
  border-radius:24px!important;
}
@media(min-width:640px){
  body.pchat-full-story-body .pchat-story-shell{padding:18px!important;align-items:center!important;}
  .pchat-ads-shell .pchat-phone-view,.pchat-live-shell .pchat-phone-view{
    width:min(520px,88vw)!important;height:min(900px,calc(100dvh - 36px))!important;min-height:min(900px,calc(100dvh - 36px))!important;
    border-radius:34px!important;border:1px solid rgba(255,255,255,.16)!important;box-shadow:0 24px 80px rgba(0,0,0,.75)!important;
  }
  .pchat-ads-shell .pchat-story-top,.pchat-live-shell .pchat-story-top{height:70px!important;flex-basis:70px!important;padding:0 24px!important;}
  .pchat-ads-shell .pchat-story-top h1,.pchat-live-shell .pchat-story-top h1{font-size:30px!important;}
  .pchat-ads-shell .pchat-owner-head,.pchat-live-shell .pchat-owner-head{grid-template-columns:66px 1fr!important;padding:24px 28px 8px!important;}
  .pchat-ads-shell .pchat-owner-head .avatar,.pchat-live-shell .pchat-owner-head .avatar{width:62px!important;height:62px!important;}
  .pchat-ads-shell .pchat-owner-head strong,.pchat-live-shell .pchat-owner-head strong{font-size:25px!important;}
  .pchat-ads-shell .pchat-owner-head small,.pchat-live-shell .pchat-owner-head small{font-size:20px!important;}
  .pchat-ads-shell .pchat-progress-line,.pchat-live-shell .pchat-progress-line{padding:10px 28px 20px!important;}
  .pchat-ads-shell .pchat-media-card,.pchat-live-shell .pchat-media-card{margin:0 28px 28px!important;border-radius:34px!important;}
  .pchat-side-stats{right:38px!important;gap:18px!important;}
  .pchat-stat{width:82px!important;min-height:92px!important;border-radius:28px!important;}
  .pchat-stat i{font-size:28px!important}.pchat-stat strong{font-size:30px!important}.pchat-stat span{font-size:12px!important;}
  .pchat-caption{left:46px!important;right:160px!important;bottom:34px!important;padding:16px 18px!important;border-radius:22px!important;}
  .pchat-caption strong{font-size:18px!important}.pchat-caption p{font-size:16px!important;}
}
@media(max-width:340px){
  .pchat-ads-shell .pchat-story-top,.pchat-live-shell .pchat-story-top{height:52px!important;flex-basis:52px!important;padding:0 12px!important;}
  .pchat-ads-shell .pchat-story-top h1,.pchat-live-shell .pchat-story-top h1{font-size:18px!important;}
  .pchat-ads-shell .pchat-owner-head,.pchat-live-shell .pchat-owner-head{grid-template-columns:42px 1fr!important;padding:12px 14px 5px!important;}
  .pchat-ads-shell .pchat-owner-head .avatar,.pchat-live-shell .pchat-owner-head .avatar{width:40px!important;height:40px!important;}
  .pchat-ads-shell .pchat-owner-head strong,.pchat-live-shell .pchat-owner-head strong{font-size:14px!important;}
  .pchat-ads-shell .pchat-owner-head small,.pchat-live-shell .pchat-owner-head small{font-size:13px!important;}
  .pchat-ads-shell .pchat-media-card,.pchat-live-shell .pchat-media-card{margin:0 8px 8px!important;border-radius:20px!important;}
  .pchat-side-stats{right:6px!important;gap:8px!important;}
  .pchat-stat{width:48px!important;min-height:55px!important;border-radius:16px!important;}
  .pchat-stat i{font-size:16px!important}.pchat-stat strong{font-size:16px!important}.pchat-stat span{font-size:7px!important;}
  .pchat-caption{left:10px!important;right:62px!important;bottom:10px!important;padding:9px 10px!important;}
}

/* === PChat PRO: many-user story viewer, one clean active post at a time === */
.pchat-user-strip{display:flex!important;gap:10px!important;overflow-x:auto!important;overflow-y:hidden!important;padding:12px 14px 10px!important;scroll-snap-type:x proximity!important;-webkit-overflow-scrolling:touch!important;border-bottom:1px solid rgba(255,255,255,.06)!important;background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,0))!important;}
.pchat-user-strip::-webkit-scrollbar{height:3px!important}.pchat-user-strip::-webkit-scrollbar-thumb{background:rgba(255,176,0,.55)!important;border-radius:99px!important}
.pchat-user-chip{flex:0 0 auto!important;min-width:92px!important;max-width:118px!important;border:1px solid rgba(255,255,255,.09)!important;border-radius:18px!important;background:linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.025))!important;color:#fff!important;padding:8px 9px!important;display:grid!important;grid-template-columns:34px minmax(0,1fr)!important;grid-template-rows:auto auto!important;gap:2px 8px!important;align-items:center!important;scroll-snap-align:start!important;box-shadow:0 10px 28px rgba(0,0,0,.25)!important;}
.pchat-user-chip .avatar{grid-row:1/3!important;width:34px!important;height:34px!important;border-radius:50%!important;overflow:hidden!important;display:grid!important;place-items:center!important;background:#111!important;border:1.5px solid rgba(255,176,0,.65)!important;}
.pchat-user-chip .avatar img{width:100%!important;height:100%!important;object-fit:cover!important}.pchat-user-chip b{font-size:11px!important;line-height:1.05!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;text-align:left!important}.pchat-user-chip small{font-size:9px!important;color:rgba(255,255,255,.65)!important;text-align:left!important;white-space:nowrap!important;}
.pchat-user-chip.active{border-color:rgba(255,176,0,.82)!important;background:linear-gradient(145deg,rgba(255,176,0,.18),rgba(255,255,255,.045))!important;box-shadow:0 0 0 1px rgba(255,176,0,.18),0 0 22px rgba(255,176,0,.25)!important;}
.pchat-post-card{display:none!important;padding-bottom:16px!important;animation:pchatPostIn .22s ease both!important;}
.pchat-post-card.active{display:block!important;}
@keyframes pchatPostIn{from{opacity:.35;transform:translateY(8px)}to{opacity:1;transform:none}}
.pchat-post-card .pchat-owner-head{padding-top:14px!important;}
.pchat-post-card .pchat-media-card{height:clamp(430px,calc(100dvh - 238px),680px)!important;margin-bottom:12px!important;}
.pchat-post-card .pchat-side-stats{top:50%!important;transform:translateY(-50%)!important;right:8px!important;}
.pchat-post-card .pchat-stat{width:54px!important;min-height:60px!important;border-radius:18px!important;}
.pchat-post-card .pchat-stat strong{font-size:16px!important}.pchat-post-card .pchat-stat span{font-size:8px!important}.pchat-post-card .pchat-stat i{font-size:17px!important}
.pchat-post-card .pchat-caption{right:76px!important;max-width:calc(100% - 96px)!important;}
.pchat-ads-shell .pchat-phone-view,.pchat-live-shell .pchat-phone-view{overflow-y:auto!important;scrollbar-width:thin!important;scrollbar-color:rgba(255,176,0,.55) transparent!important;}
.pchat-ads-shell .pchat-phone-view::-webkit-scrollbar,.pchat-live-shell .pchat-phone-view::-webkit-scrollbar{width:3px!important}.pchat-ads-shell .pchat-phone-view::-webkit-scrollbar-thumb,.pchat-live-shell .pchat-phone-view::-webkit-scrollbar-thumb{background:rgba(255,176,0,.55)!important;border-radius:99px!important}
.pchat-media-card .wa-media-stage img,.pchat-media-card .wa-media-stage video{object-fit:contain!important;background:transparent!important;}
.pchat-media-card .wa-media-stage.fit-cover img,.pchat-media-card .wa-media-stage.fit-cover video{object-fit:cover!important;}
@media(max-width:380px){.pchat-user-strip{padding:9px 10px!important;gap:8px!important}.pchat-user-chip{min-width:82px!important;grid-template-columns:30px 1fr!important;padding:7px!important;border-radius:15px!important}.pchat-user-chip .avatar{width:30px!important;height:30px!important}.pchat-post-card .pchat-media-card{height:calc(100dvh - 208px)!important;min-height:390px!important}.pchat-post-card .pchat-side-stats{right:5px!important}.pchat-post-card .pchat-stat{width:47px!important;min-height:54px!important}.pchat-post-card .pchat-caption{left:10px!important;right:60px!important}}
@media(min-width:700px){.pchat-user-strip{padding:18px 24px 14px!important}.pchat-user-chip{min-width:132px!important;max-width:165px!important;grid-template-columns:46px 1fr!important;border-radius:23px!important;padding:11px!important}.pchat-user-chip .avatar{width:46px!important;height:46px!important}.pchat-user-chip b{font-size:15px!important}.pchat-user-chip small{font-size:12px!important}.pchat-post-card .pchat-media-card{height:clamp(620px,calc(100dvh - 320px),820px)!important}.pchat-post-card .pchat-side-stats{right:26px!important}.pchat-post-card .pchat-stat{width:76px!important;min-height:84px!important;border-radius:25px!important}.pchat-post-card .pchat-stat strong{font-size:25px!important}.pchat-post-card .pchat-stat span{font-size:11px!important}.pchat-post-card .pchat-stat i{font-size:25px!important}.pchat-post-card .pchat-caption{right:132px!important}}

/* Delete own Ads/Live Share posts */
.pchat-owner-head{position:relative;}
.pchat-owner-delete{
  margin-left:auto;width:38px;height:38px;border:1px solid rgba(255,255,255,.14);border-radius:14px;
  background:linear-gradient(145deg,rgba(255,255,255,.09),rgba(255,255,255,.03));color:#ffbe00;
  display:inline-flex;align-items:center;justify-content:center;box-shadow:0 10px 28px rgba(0,0,0,.35);transition:.18s ease;
}
.pchat-owner-delete:hover,.pchat-owner-delete:focus{color:#fff;background:rgba(255,78,78,.18);border-color:rgba(255,78,78,.45);transform:translateY(-1px) scale(1.04);}
.pchat-owner-delete.loading{opacity:.55;pointer-events:none;}
.pchat-menu [data-delete-current]{color:#ff7878!important;}
.pchat-menu [data-delete-current] i{color:#ffbe00;}
@media(max-width:420px){.pchat-owner-delete{width:34px;height:34px;border-radius:12px}.pchat-menu [data-delete-current]{font-size:13px}}

/* === PChat group-by-user chips + delete one posted item === */
.pchat-slide-delete{
  position:absolute!important;top:12px!important;left:12px!important;z-index:18!important;width:38px!important;height:38px!important;
  border:1px solid rgba(255,255,255,.16)!important;border-radius:14px!important;background:rgba(8,8,8,.72)!important;
  color:#ffbe00!important;display:grid!important;place-items:center!important;box-shadow:0 10px 26px rgba(0,0,0,.38),0 0 16px rgba(255,190,0,.12)!important;
  backdrop-filter:blur(12px)!important;transition:.18s ease!important;opacity:.92!important;
}
.pchat-slide-delete:hover,.pchat-slide-delete:focus{background:rgba(255,53,53,.22)!important;border-color:rgba(255,82,82,.5)!important;color:#fff!important;transform:scale(1.04)!important;}
.pchat-slide-delete.loading{opacity:.5!important;pointer-events:none!important;}
.pchat-user-chip{min-width:118px!important;max-width:142px!important;}
.pchat-user-chip small{color:#ffbe00!important;font-weight:800!important;}
@media(max-width:380px){.pchat-slide-delete{width:32px!important;height:32px!important;border-radius:11px!important;top:9px!important;left:9px!important}.pchat-user-chip{min-width:104px!important;max-width:126px!important}}

/* === PChat final fix: professional blocked/group story layout ===
   Many users are shown as one clean horizontal user strip; only the selected user's
   posts render in the viewer. Media fills the story area professionally instead of
   appearing as a small blocked image in the middle. */
body.pchat-full-story-body{overflow:hidden!important;background:#000!important;}
body.pchat-full-story-body .pchat-story-shell{height:100dvh!important;min-height:100dvh!important;padding:0!important;overflow:hidden!important;background:#000!important;}
.pchat-ads-shell .pchat-phone-view,.pchat-live-shell .pchat-phone-view{
  width:100%!important;max-width:480px!important;height:100dvh!important;min-height:100dvh!important;
  overflow:hidden!important;display:flex!important;flex-direction:column!important;background:#020202!important;
  border-left:1px solid rgba(255,176,0,.20)!important;border-right:1px solid rgba(255,176,0,.20)!important;
}
.pchat-ads-shell .pchat-story-top,.pchat-live-shell .pchat-story-top{
  flex:0 0 56px!important;height:56px!important;padding:0 16px!important;z-index:30!important;
  background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.018))!important;
  border-bottom:1px solid rgba(255,255,255,.08)!important;
}
.pchat-user-strip{
  flex:0 0 auto!important;display:flex!important;gap:10px!important;overflow-x:auto!important;overflow-y:hidden!important;
  padding:10px 12px 9px!important;background:linear-gradient(180deg,rgba(255,176,0,.055),rgba(255,176,0,.012))!important;
  border-bottom:1px solid rgba(255,176,0,.18)!important;scrollbar-width:none!important;
}
.pchat-user-strip::-webkit-scrollbar{display:none!important;}
.pchat-user-chip{
  min-width:118px!important;max-width:138px!important;height:54px!important;border-radius:18px!important;padding:7px 9px!important;
  display:grid!important;grid-template-columns:36px minmax(0,1fr)!important;grid-template-rows:1fr 1fr!important;gap:1px 8px!important;
  background:linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.018))!important;border:1px solid rgba(255,255,255,.11)!important;
  box-shadow:0 12px 30px rgba(0,0,0,.35)!important;color:#fff!important;align-items:center!important;
}
.pchat-user-chip.active{border-color:#ffb000!important;background:linear-gradient(145deg,rgba(255,176,0,.20),rgba(255,255,255,.035))!important;box-shadow:0 0 0 1px rgba(255,176,0,.18),0 0 24px rgba(255,176,0,.22)!important;}
.pchat-user-chip .avatar{grid-row:1/3!important;width:36px!important;height:36px!important;border:2px solid #ffb000!important;border-radius:50%!important;overflow:hidden!important;background:#111!important;}
.pchat-user-chip b{font-size:12px!important;font-weight:950!important;line-height:1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.pchat-user-chip small{font-size:10px!important;font-weight:850!important;color:#ffca45!important;white-space:nowrap!important;}
.pchat-post-card{display:none!important;flex:1 1 auto!important;min-height:0!important;padding:0!important;overflow:hidden!important;}
.pchat-post-card.active{display:flex!important;flex-direction:column!important;}
.pchat-post-card .pchat-owner-head{
  flex:0 0 58px!important;display:grid!important;grid-template-columns:44px minmax(0,1fr) 38px!important;gap:10px!important;align-items:center!important;
  padding:9px 14px 5px!important;background:linear-gradient(180deg,rgba(0,0,0,.15),rgba(0,0,0,0))!important;
}
.pchat-post-card .pchat-owner-head .avatar{width:42px!important;height:42px!important;border:2px solid #ffb000!important;box-shadow:0 0 18px rgba(255,176,0,.36)!important;}
.pchat-post-card .pchat-owner-head strong{font-size:16px!important;font-weight:950!important;max-width:100%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.pchat-post-card .pchat-owner-head small{font-size:14px!important;color:rgba(255,255,255,.76)!important;}
.pchat-owner-delete{width:34px!important;height:34px!important;border-radius:13px!important;margin:0!important;background:rgba(255,176,0,.08)!important;border:1px solid rgba(255,176,0,.22)!important;color:#ffbe00!important;}
.pchat-post-card .pchat-progress-line{flex:0 0 15px!important;padding:4px 14px 8px!important;gap:7px!important;}
.pchat-post-card .pchat-progress-line i{height:4px!important;border-radius:999px!important;background:rgba(255,255,255,.28)!important;}
.pchat-post-card .pchat-progress-line i.active{background:#ffb000!important;box-shadow:0 0 12px rgba(255,176,0,.7)!important;}
.pchat-post-card .pchat-media-card{
  flex:1 1 auto!important;height:auto!important;min-height:0!important;margin:0 12px 12px!important;border-radius:24px!important;position:relative!important;
  overflow:hidden!important;background:#070707!important;border:1px solid rgba(255,255,255,.13)!important;
  box-shadow:0 24px 64px rgba(0,0,0,.68),inset 0 1px 0 rgba(255,255,255,.08)!important;
}
.pchat-post-card .wa-slide{position:absolute!important;inset:0!important;display:none!important;background:#060606!important;}
.pchat-post-card .wa-slide.active{display:block!important;}
.pchat-post-card .wa-media-stage{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;background:#060606!important;overflow:hidden!important;display:block!important;}
.pchat-post-card .wa-media-stage::before{content:""!important;position:absolute!important;inset:-28px!important;background:var(--pchat-media-bg,transparent)!important;background-size:cover!important;background-position:center!important;filter:blur(26px) brightness(.38) saturate(1.1)!important;transform:scale(1.10)!important;opacity:.75!important;}
.pchat-post-card .wa-media-stage img,.pchat-post-card .wa-media-stage video{
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;z-index:1!important;
  object-fit:cover!important;object-position:center!important;display:block!important;background:transparent!important;
}
.pchat-post-card .wa-media-stage.contain img,.pchat-post-card .wa-media-stage.contain video{object-fit:cover!important;}
.pchat-post-card .pchat-media-card::after{content:""!important;position:absolute!important;inset:0!important;z-index:2!important;pointer-events:none!important;background:linear-gradient(180deg,rgba(0,0,0,.05),transparent 22%,transparent 62%,rgba(0,0,0,.72))!important;}
.pchat-post-card .pchat-side-stats{position:absolute!important;right:8px!important;top:50%!important;transform:translateY(-50%)!important;z-index:8!important;display:flex!important;flex-direction:column!important;gap:10px!important;}
.pchat-post-card .pchat-stat{width:52px!important;min-height:58px!important;border-radius:18px!important;background:linear-gradient(145deg,rgba(30,30,30,.94),rgba(6,6,6,.78))!important;border:1px solid rgba(255,255,255,.11)!important;box-shadow:0 12px 26px rgba(0,0,0,.55),inset 0 1px 0 rgba(255,255,255,.12)!important;}
.pchat-post-card .pchat-stat i{font-size:17px!important;}.pchat-post-card .pchat-stat strong{font-size:16px!important;}.pchat-post-card .pchat-stat span{font-size:7.5px!important;}
.pchat-caption{left:14px!important;right:72px!important;bottom:14px!important;z-index:9!important;border-radius:18px!important;background:linear-gradient(145deg,rgba(0,0,0,.74),rgba(0,0,0,.35))!important;backdrop-filter:blur(16px)!important;}
.pchat-slide-delete{top:12px!important;left:12px!important;width:34px!important;height:34px!important;border-radius:13px!important;z-index:9!important;background:rgba(0,0,0,.58)!important;color:#ffbe00!important;}
.wa-nav-zone{z-index:6!important;}
@media(max-width:360px){
  .pchat-ads-shell .pchat-story-top,.pchat-live-shell .pchat-story-top{height:52px!important;flex-basis:52px!important;}
  .pchat-user-strip{padding:8px 9px!important;gap:8px!important}.pchat-user-chip{min-width:104px!important;height:50px!important;grid-template-columns:32px 1fr!important}.pchat-user-chip .avatar{width:32px!important;height:32px!important}.pchat-user-chip b{font-size:11px!important}.pchat-user-chip small{font-size:9px!important}
  .pchat-post-card .pchat-owner-head{grid-template-columns:38px minmax(0,1fr) 32px!important;padding:8px 10px 4px!important;flex-basis:52px!important}.pchat-post-card .pchat-owner-head .avatar{width:37px!important;height:37px!important}.pchat-post-card .pchat-owner-head strong{font-size:14px!important}.pchat-post-card .pchat-owner-head small{font-size:12px!important}.pchat-owner-delete{width:30px!important;height:30px!important}
  .pchat-post-card .pchat-media-card{margin:0 8px 8px!important;border-radius:20px!important}.pchat-post-card .pchat-side-stats{right:5px!important;gap:8px!important}.pchat-post-card .pchat-stat{width:46px!important;min-height:52px!important;border-radius:15px!important}.pchat-caption{left:10px!important;right:58px!important;bottom:10px!important;padding:9px 10px!important;}
}
@media(min-width:640px){
  body.pchat-full-story-body .pchat-story-shell{padding:18px!important;align-items:center!important}.pchat-ads-shell .pchat-phone-view,.pchat-live-shell .pchat-phone-view{height:min(900px,calc(100dvh - 36px))!important;min-height:min(900px,calc(100dvh - 36px))!important;border-radius:34px!important;border:1px solid rgba(255,255,255,.16)!important;max-width:540px!important;}
  .pchat-ads-shell .pchat-story-top,.pchat-live-shell .pchat-story-top{height:70px!important;flex-basis:70px!important;padding:0 24px!important}.pchat-ads-shell .pchat-story-top h1,.pchat-live-shell .pchat-story-top h1{font-size:30px!important}.pchat-user-strip{padding:15px 22px 13px!important}.pchat-user-chip{min-width:148px!important;height:66px!important;grid-template-columns:46px 1fr!important;border-radius:22px!important}.pchat-user-chip .avatar{width:46px!important;height:46px!important}.pchat-user-chip b{font-size:15px!important}.pchat-user-chip small{font-size:12px!important}
  .pchat-post-card .pchat-owner-head{grid-template-columns:62px minmax(0,1fr) 48px!important;flex-basis:78px!important;padding:14px 28px 8px!important}.pchat-post-card .pchat-owner-head .avatar{width:58px!important;height:58px!important}.pchat-post-card .pchat-owner-head strong{font-size:24px!important}.pchat-post-card .pchat-owner-head small{font-size:19px!important}.pchat-owner-delete{width:44px!important;height:44px!important;border-radius:16px!important}.pchat-post-card .pchat-progress-line{padding:8px 28px 18px!important;flex-basis:30px!important}.pchat-post-card .pchat-media-card{margin:0 28px 28px!important;border-radius:34px!important}.pchat-post-card .pchat-side-stats{right:38px!important;gap:18px!important}.pchat-post-card .pchat-stat{width:80px!important;min-height:90px!important;border-radius:28px!important}.pchat-post-card .pchat-stat i{font-size:27px!important}.pchat-post-card .pchat-stat strong{font-size:29px!important}.pchat-post-card .pchat-stat span{font-size:12px!important}.pchat-caption{left:46px!important;right:155px!important;bottom:34px!important;padding:16px 18px!important;border-radius:22px!important;}
}

/* FINAL MEDIA FIT FIX: keep ads/live media fully visible by default.
   Use .fit-fill on .wa-media-stage only when user selects fill. */
.pchat-ads-shell .pchat-post-card .wa-media-stage img,
.pchat-ads-shell .pchat-post-card .wa-media-stage video,
.pchat-live-shell .pchat-post-card .wa-media-stage img,
.pchat-live-shell .pchat-post-card .wa-media-stage video{
  object-fit:contain!important;
  object-position:center center!important;
  width:100%!important;
  height:100%!important;
  background:transparent!important;
}
.pchat-ads-shell .pchat-post-card .wa-media-stage.fit-fill img,
.pchat-ads-shell .pchat-post-card .wa-media-stage.fit-fill video,
.pchat-live-shell .pchat-post-card .wa-media-stage.fit-fill img,
.pchat-live-shell .pchat-post-card .wa-media-stage.fit-fill video{
  object-fit:fill!important;
}
.pchat-ads-shell .pchat-post-card .wa-media-stage.fit-cover img,
.pchat-ads-shell .pchat-post-card .wa-media-stage.fit-cover video,
.pchat-live-shell .pchat-post-card .wa-media-stage.fit-cover img,
.pchat-live-shell .pchat-post-card .wa-media-stage.fit-cover video{
  object-fit:cover!important;
}

/* === FINAL HEIGHT / NO-SCROLL PROFESSIONAL STORY FIX ===
   Keeps Ads and Live Share inside the visible viewport. The page itself does not
   scroll; only the user strip scrolls horizontally when many users posted. */
html:has(body.pchat-full-story-body),
body.pchat-full-story-body{
  width:100%!important;
  height:100%!important;
  min-height:100%!important;
  overflow:hidden!important;
  overscroll-behavior:none!important;
  background:#000!important;
}
body.pchat-full-story-body .pchat-story-shell{
  position:fixed!important;
  inset:0!important;
  width:100vw!important;
  height:100svh!important;
  min-height:100svh!important;
  max-height:100svh!important;
  padding:0!important;
  margin:0!important;
  overflow:hidden!important;
  display:flex!important;
  align-items:stretch!important;
  justify-content:center!important;
}
.pchat-ads-shell .pchat-phone-view,
.pchat-live-shell .pchat-phone-view{
  width:100%!important;
  max-width:500px!important;
  height:100svh!important;
  min-height:0!important;
  max-height:100svh!important;
  overflow:hidden!important;
  display:flex!important;
  flex-direction:column!important;
  border-radius:0!important;
  background:radial-gradient(circle at 80% 0%,rgba(255,176,0,.08),transparent 26%),#020202!important;
}
.pchat-ads-shell .pchat-story-top,
.pchat-live-shell .pchat-story-top{
  flex:0 0 clamp(48px,7.2svh,58px)!important;
  height:clamp(48px,7.2svh,58px)!important;
  padding:0 clamp(12px,4vw,18px)!important;
}
.pchat-ads-shell .pchat-story-top h1,
.pchat-live-shell .pchat-story-top h1{
  font-size:clamp(18px,5vw,22px)!important;
}
.pchat-user-strip{
  flex:0 0 clamp(54px,8.3svh,68px)!important;
  max-height:clamp(54px,8.3svh,68px)!important;
  padding:7px 10px!important;
  gap:8px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
}
.pchat-user-chip{
  height:clamp(40px,6.6svh,52px)!important;
  min-width:112px!important;
  max-width:132px!important;
  border-radius:16px!important;
  padding:6px 8px!important;
  grid-template-columns:32px minmax(0,1fr)!important;
}
.pchat-user-chip .avatar{width:32px!important;height:32px!important;}
.pchat-user-chip b{font-size:12px!important;}
.pchat-user-chip small{font-size:9.5px!important;}
.pchat-post-card.active{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow:hidden!important;
  display:flex!important;
  flex-direction:column!important;
}
.pchat-post-card .pchat-owner-head{
  flex:0 0 clamp(46px,7.2svh,58px)!important;
  height:clamp(46px,7.2svh,58px)!important;
  padding:6px 12px 3px!important;
  grid-template-columns:38px minmax(0,1fr) 34px!important;
}
.pchat-post-card .pchat-owner-head .avatar{width:36px!important;height:36px!important;}
.pchat-post-card .pchat-owner-head strong{font-size:clamp(14px,4vw,16px)!important;line-height:1.05!important;}
.pchat-post-card .pchat-owner-head small{font-size:clamp(12px,3.6vw,14px)!important;line-height:1!important;}
.pchat-owner-delete{width:30px!important;height:30px!important;border-radius:12px!important;}
.pchat-post-card .pchat-progress-line{
  flex:0 0 14px!important;
  height:14px!important;
  padding:4px 12px 6px!important;
}
.pchat-post-card .pchat-media-card{
  flex:1 1 auto!important;
  min-height:0!important;
  height:auto!important;
  max-height:none!important;
  margin:0 12px 10px!important;
  border-radius:22px!important;
}
.pchat-post-card .wa-media-stage img,
.pchat-post-card .wa-media-stage video{
  object-fit:contain!important;
  object-position:center center!important;
}
.pchat-post-card .pchat-side-stats{
  right:7px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  gap:clamp(6px,1.2svh,10px)!important;
}
.pchat-post-card .pchat-stat{
  width:clamp(44px,13vw,52px)!important;
  min-height:clamp(48px,8.5svh,58px)!important;
  border-radius:16px!important;
}
.pchat-post-card .pchat-stat i{font-size:clamp(15px,4.4vw,17px)!important;}
.pchat-post-card .pchat-stat strong{font-size:clamp(14px,4.5vw,16px)!important;line-height:1!important;}
.pchat-post-card .pchat-stat span{font-size:7px!important;}
.pchat-caption{
  left:12px!important;
  right:68px!important;
  bottom:10px!important;
  padding:9px 11px!important;
  max-height:72px!important;
  overflow:hidden!important;
}
.pchat-caption strong{font-size:13px!important;line-height:1.1!important;}
.pchat-caption p{font-size:12px!important;line-height:1.25!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;}
.pchat-slide-delete{top:10px!important;left:10px!important;width:30px!important;height:30px!important;border-radius:12px!important;}
.pchat-empty-card{
  flex:1 1 auto!important;
  min-height:0!important;
  height:auto!important;
  max-height:none!important;
  margin:10px 12px 12px!important;
  border-radius:24px!important;
}
.pchat-add-row{flex:0 0 clamp(92px,15svh,118px)!important;padding:12px 16px!important;}
.pchat-add-btn{width:clamp(76px,22vw,96px)!important;height:clamp(76px,22vw,96px)!important;}
.pchat-divider{flex:0 0 3px!important;margin:0 16px 10px!important;}
@media(max-height:650px){
  .pchat-user-strip{flex-basis:48px!important;max-height:48px!important;padding:5px 8px!important;}
  .pchat-user-chip{height:38px!important;min-width:104px!important;grid-template-columns:30px 1fr!important;}
  .pchat-user-chip .avatar{width:30px!important;height:30px!important;}
  .pchat-post-card .pchat-owner-head{flex-basis:44px!important;height:44px!important;grid-template-columns:34px 1fr 30px!important;}
  .pchat-post-card .pchat-owner-head .avatar{width:32px!important;height:32px!important;}
  .pchat-post-card .pchat-progress-line{flex-basis:11px!important;height:11px!important;padding:3px 12px 4px!important;}
  .pchat-post-card .pchat-media-card{margin:0 10px 8px!important;border-radius:20px!important;}
  .pchat-caption{display:none!important;}
  .pchat-post-card .pchat-stat{width:42px!important;min-height:45px!important;}
  .pchat-post-card .pchat-stat span{font-size:6.5px!important;}
}
@media(min-width:640px){
  body.pchat-full-story-body .pchat-story-shell{padding:18px!important;align-items:center!important;}
  .pchat-ads-shell .pchat-phone-view,.pchat-live-shell .pchat-phone-view{
    height:min(900px,calc(100svh - 36px))!important;
    max-height:calc(100svh - 36px)!important;
    border-radius:34px!important;
  }
  .pchat-post-card .pchat-media-card{margin:0 24px 24px!important;border-radius:32px!important;}
  .pchat-post-card .pchat-side-stats{right:34px!important;gap:14px!important;}
  .pchat-post-card .pchat-stat{width:74px!important;min-height:82px!important;border-radius:26px!important;}
  .pchat-post-card .pchat-stat i{font-size:25px!important;}.pchat-post-card .pchat-stat strong{font-size:26px!important;}.pchat-post-card .pchat-stat span{font-size:11px!important;}
  .pchat-caption{left:42px!important;right:145px!important;bottom:30px!important;max-height:95px!important;}
}

.pchat-spin{display:inline-block;animation:pchatSpin .8s linear infinite}@keyframes pchatSpin{to{transform:rotate(360deg)}}
.pchat-comment-form button:disabled{opacity:.75;cursor:not-allowed}
