:root{--bg:#080b19;--ink:#081126;--muted:#7c8495;--line:#e9edf7;--card:#fff;--purple:#6d37ff;--blue:#0c9cff;--green:#22c55e;--red:#ef4444;--orange:#f59e0b;--shadow:0 18px 50px rgba(23,28,61,.12);--radius:28px;--grad:linear-gradient(135deg,#6d37ff 0%,#127df4 55%,#0db4ff 100%)}*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:#f4f7fd;color:var(--ink)}a{text-decoration:none;color:inherit}button,input,select,textarea{font:inherit}.app-bg{background:#eef3fb;min-height:100vh}.dark-bg{background:radial-gradient(circle at 30% 0%,#201055 0,#090b19 45%,#050712 100%);min-height:100vh;color:#fff}.center-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px}.wp-phone{width:min(430px,100vw);min-height:100vh;margin:0 auto;background:#fff;position:relative;overflow:hidden;box-shadow:0 0 0 1px rgba(0,0,0,.04)}.phone-screen{min-height:100vh;padding-bottom:92px;background:#fff}.screen-dark{background:#090d20;color:#fff}.status{height:48px;display:flex;align-items:center;justify-content:space-between;font-weight:900;padding:0 22px;color:inherit}.screen-header{height:76px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 22px;background:#fff;color:var(--ink);position:sticky;top:0;z-index:5}.screen-dark .screen-header{background:#0b1027;color:#fff;border-color:rgba(255,255,255,.08)}.title-row,.screen-title{display:flex;align-items:center;gap:12px;font-size:30px;font-weight:950;letter-spacing:-.03em}.icon-btn,.circle-btn{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);font-size:24px}.circle-btn.dark{background:#111731;color:#fff}.hero{padding:30px 22px;text-align:center}.hero h1{font-size:44px;line-height:1.05;margin:18px 0 12px;font-weight:1000;letter-spacing:-.05em}.hero p{font-size:17px;color:#8b93a7;line-height:1.55}.brand{display:flex;align-items:center;gap:12px;font-weight:1000;font-size:28px}.logo{width:68px;height:68px;border-radius:22px;background:var(--grad);display:grid;place-items:center;color:#fff;font-size:34px;box-shadow:0 15px 35px rgba(91,63,255,.35)}.btn{border:0;border-radius:18px;padding:14px 22px;font-weight:900;display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#f1f4fa;color:#11182c;cursor:pointer}.btn.primary{background:var(--grad);color:#fff;box-shadow:0 18px 35px rgba(90,78,255,.25)}.btn.block{width:100%;min-height:56px}.btn.small{padding:9px 13px;border-radius:13px;font-size:13px}.btn.ghost{background:transparent;color:#6d37ff;border:1px solid #d9d8ff}.form-card,.card{margin:18px 22px;padding:22px;border-radius:26px;background:#fff;box-shadow:var(--shadow);border:1px solid #eef1f8}.field{margin:14px 0}.field label{display:block;font-size:13px;font-weight:900;color:#6b7385;margin-bottom:8px}.field input,.field textarea,.field select{width:100%;min-height:52px;border:1px solid #dfe5f1;border-radius:15px;padding:0 14px;background:#fbfcff;outline:none}.field textarea{padding-top:14px;min-height:104px}.social-row{display:flex;gap:12px;justify-content:center;margin:16px 0}.social-dot{width:44px;height:44px;border-radius:50%;border:1px solid var(--line);display:grid;place-items:center;background:#fff;font-weight:900}.bottom-nav{position:fixed;left:50%;bottom:0;transform:translateX(-50%);width:min(430px,100vw);height:82px;background:#fff;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(5,1fr);z-index:20}.bottom-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:12px;font-weight:850;color:#7b8496}.bottom-nav b{font-size:26px;line-height:1}.bottom-nav a.active{color:#6737ff}.feed-tabs,.tabs{display:flex;gap:8px;padding:10px 18px}.feed-tabs a,.tabs a{padding:9px 14px;border-radius:100px;background:#f2f5fb;color:#707a8e;font-weight:900;font-size:13px}.feed-tabs a.active,.tabs a.active{background:var(--grad);color:#fff}.story-strip{display:flex;gap:12px;overflow-x:auto;padding:14px 18px}.story{min-width:76px;text-align:center;font-size:12px;font-weight:800}.story .ring{width:62px;height:62px;border-radius:50%;padding:3px;background:linear-gradient(135deg,#ff2d91,#7434ff,#00afff);margin:0 auto 6px}.story img,.avatar-img{width:100%;height:100%;object-fit:cover;border-radius:50%;background:#e7ebf4}.post-card{margin:14px 18px 20px;background:#fff;border-radius:28px;box-shadow:var(--shadow);border:1px solid #eef1f8;overflow:hidden}.post-head{display:flex;align-items:center;gap:12px;padding:14px}.avatar{width:48px;height:48px;border-radius:50%;background:#e4e8f2;display:grid;place-items:center;font-weight:1000;color:#11182c;flex:0 0 auto}.post-head .grow,.grow{flex:1}.post-head h3,.list-row h3{margin:0;font-size:16px}.muted{color:#8b93a7}.post-img,.media-box{height:230px;background:linear-gradient(135deg,#84d8ff,#6939ff 50%,#ff8f7a);position:relative;overflow:hidden}.post-img::after,.media-box::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(0,0,0,.18))}.actions{display:flex;align-items:center;gap:8px;padding:12px 14px}.chip{border:0;background:#f2f5fb;color:#11182c;border-radius:100px;padding:8px 10px;font-size:12px;font-weight:900;display:inline-flex;align-items:center;gap:5px}.chip.ok{background:#e8fff2;color:#15803d}.chip.warn{background:#fff7df;color:#a16207}.chip.bad{background:#fff0f0;color:#b91c1c}.comment-box{position:sticky;bottom:82px;background:#fff;border-top:1px solid var(--line);display:flex;gap:8px;padding:10px 14px}.comment-box input{flex:1;border:1px solid var(--line);border-radius:18px;padding:0 14px}.list{padding:14px 18px}.list-row{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid #eef1f8;border-radius:24px;padding:15px;margin-bottom:12px;box-shadow:0 10px 30px rgba(23,28,61,.06)}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:14px}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.metric{background:#fff;border-radius:24px;padding:16px;box-shadow:var(--shadow);border:1px solid #eef1f8}.metric strong{font-size:24px;display:block}.metric span{color:#8b93a7;font-weight:700}.wallet-card{margin:18px 22px;padding:24px;border-radius:28px;color:#fff;background:var(--grad);box-shadow:0 20px 45px rgba(87,70,255,.35)}.wallet-card h2{font-size:40px;margin:8px 0}.analytics-card{margin:18px 22px;padding:20px;border-radius:28px;background:#fff;box-shadow:var(--shadow);border:1px solid #eef1f8}.chart{height:150px;border-radius:22px;background:linear-gradient(180deg,#f8faff,#fff);display:flex;align-items:center;justify-content:center;overflow:hidden}.donut{width:150px;height:150px;border-radius:50%;background:conic-gradient(#6d37ff 0 58%,#0c9cff 58% 76%,#22c55e 76% 90%,#f59e0b 90%);position:relative;margin:auto}.donut:after{content:"";position:absolute;inset:32px;background:#fff;border-radius:50%}.bars{height:150px;display:flex;align-items:end;gap:10px;padding:20px}.bar{flex:1;border-radius:10px 10px 0 0;background:linear-gradient(180deg,#6d37ff,#0c9cff)}.shorts{height:100vh;background:#0a1022;color:#fff;position:relative;overflow:hidden}.shorts .video-bg{position:absolute;inset:0;background:linear-gradient(145deg,#0b1835 0%,#234f81 40%,#f48674 100%);opacity:.95}.shorts .right-actions{position:absolute;right:12px;bottom:130px;display:grid;gap:15px;text-align:center;font-weight:900}.shorts .caption{position:absolute;left:18px;right:70px;bottom:105px}.admin-layout{display:grid;grid-template-columns:260px 1fr;min-height:100vh;background:#f4f7fd}.admin-side{background:#07152f;color:#fff;padding:20px;position:sticky;top:0;height:100vh;overflow:auto}.admin-side a{display:flex;gap:8px;align-items:center;padding:12px;border-radius:12px;color:#cbd5e1;font-weight:800;font-size:13px}.admin-side a.active{background:#6942ff;color:#fff}.admin-main{padding:26px}.admin-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.admin-card{background:#fff;border-radius:22px;padding:20px;border:1px solid #e8edf6;box-shadow:var(--shadow)}.table{width:100%;border-collapse:collapse;background:#fff;border-radius:18px;overflow:hidden}.table th,.table td{padding:13px;text-align:left;border-bottom:1px solid #eef1f8;font-size:13px}.landing{background:#060916;color:#fff;min-height:100vh}.land-nav{height:80px;display:flex;align-items:center;justify-content:space-between;padding:0 min(6vw,70px)}.land-hero{text-align:center;max-width:820px;margin:0 auto;padding:80px 22px}.land-hero h1{font-size:clamp(44px,9vw,84px);line-height:.98;margin:20px 0;font-weight:1000;letter-spacing:-.06em}.land-hero h1 span{color:#a783ff}.land-hero p{font-size:20px;color:#b6bdd1;line-height:1.7}.land-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;max-width:920px;margin:0 auto 80px;padding:0 22px}.land-card{background:#11172b;border:1px solid rgba(255,255,255,.1);border-radius:30px;padding:24px;text-align:center}.why-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;max-width:1050px;margin:0 auto;padding:0 22px 90px}.why-card{background:#fff;color:#081126;border-radius:28px;padding:28px;min-height:190px}.why-card h3{margin:14px 0 8px;font-size:22px}.why-card p{color:#677085;line-height:1.5}.screen-board{background:#06070d;color:#fff;min-height:100vh;padding:24px}.board-section{margin-bottom:24px}.board-title{background:var(--grad);padding:12px 20px;border-radius:14px 14px 0 0;font-weight:1000}.screen-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(142px,1fr));gap:16px;background:#0b0d18;padding:16px;border-radius:0 0 18px 18px}.mini-card h4{font-size:12px;text-align:center;height:32px;overflow:hidden}.mini-phone{height:245px;border-radius:20px;background:#fff;color:#081126;padding:10px;box-shadow:0 0 0 1px #26304d;overflow:hidden}.mini-phone.dark{background:#0b1027;color:#fff}.mini-hero{height:88px;border-radius:16px;background:linear-gradient(135deg,#7ed4ff,#6d37ff 55%,#ff8e74);margin:10px 0}.mini-line{height:12px;border-radius:10px;background:#eef1f8;margin:8px 0}.mini-btn{height:34px;border-radius:10px;background:var(--grad);color:#fff;display:grid;place-items:center;font-size:12px;font-weight:900;margin-top:10px}.flash{position:fixed;top:16px;left:50%;transform:translateX(-50%);z-index:1000;background:#111731;color:#fff;padding:14px 22px;border-radius:20px;font-weight:900;box-shadow:var(--shadow)}@media(max-width:760px){.admin-layout{grid-template-columns:118px 1fr}.admin-side{padding:12px}.admin-side .brand-text{display:none}.admin-side a{font-size:11px;padding:10px 6px}.admin-main{padding:18px}.admin-grid,.land-stats,.why-grid{grid-template-columns:1fr}.land-nav{padding:0 20px}.screen-grid{grid-template-columns:repeat(2,1fr);gap:12px}.mini-phone{height:220px}.wp-phone{box-shadow:none}.title-row,.screen-title{font-size:28px}.hero h1{font-size:42px}} 

/* v28 dashboard patch: exact profile dashboard + 3 analytics screens */
.dash-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:14px 18px;background:#fff;position:sticky;top:124px;z-index:4;border-bottom:1px solid #eef1f8}.dash-tabs a{height:54px;border-radius:18px;background:#f4f6fb;color:#667085;display:flex;align-items:center;justify-content:center;gap:7px;font-weight:950;font-size:12px}.dash-tabs a.active{background:var(--grad);color:#fff;box-shadow:0 12px 26px rgba(99,69,255,.22)}
.creator-dashboard-card{margin:18px 18px 0;padding:24px 22px 34px;border-radius:34px 34px 18px 18px;background:linear-gradient(180deg,#6f3cff 0%,#4c25d9 100%);color:#fff;box-shadow:0 22px 48px rgba(80,56,255,.32);position:relative;overflow:hidden}.creator-dashboard-card:before{content:"";position:absolute;inset:-80px -120px auto auto;width:230px;height:230px;background:rgba(255,255,255,.12);border-radius:50%}.dash-top{display:flex;justify-content:space-between;align-items:center;font-weight:950;font-size:18px}.dash-top a{width:36px;height:36px;border-radius:14px;display:grid;place-items:center;background:rgba(255,255,255,.14);color:#fff}.creator-dashboard-card p{margin:42px 0 8px;color:rgba(255,255,255,.72);font-weight:850}.dash-earning{font-size:38px;line-height:1;font-weight:1000;letter-spacing:-.04em}.dash-earning em{font-size:22px;float:right;font-style:normal;margin-top:8px}.dash-metric-stack{margin:-20px 18px 18px;display:grid;grid-template-columns:repeat(3,1fr);background:#fff;border-radius:28px;box-shadow:var(--shadow);overflow:hidden;position:relative;z-index:2}.dash-metric-stack div{padding:22px 10px;text-align:center;border-right:1px solid #eef1f8}.dash-metric-stack div:last-child{border-right:0}.dash-metric-stack span{display:block;color:#9aa1af;font-size:12px;font-weight:850;margin-bottom:8px}.dash-metric-stack b{font-size:24px;color:#21105f}.analytics-clean-card{margin:18px;padding:22px;background:#fff;border:1px solid #eef1f8;border-radius:30px;box-shadow:var(--shadow)}.analytics-clean-card.tall{min-height:470px}.analytics-clean-card h3{margin:0 0 18px;font-size:22px}.analytics-link-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px}.analytics-link-grid a{background:#fff;border:1px solid #eef1f8;border-radius:22px;padding:18px;text-align:center;font-weight:950;box-shadow:var(--shadow)}.back-title{display:flex;align-items:center;gap:20px;margin-bottom:28px}.back-title a{font-size:34px;font-weight:1000}.back-title h3{margin:0;font-size:22px}.donut-wrap{display:grid;grid-template-columns:1.15fr 1fr;gap:14px;align-items:center;padding:38px 0}.donut-real{width:172px;height:172px;border-radius:50%;position:relative;margin:auto;box-shadow:0 14px 36px rgba(100,64,255,.16)}.donut-real:after{content:"";position:absolute;inset:44px;background:#fff;border-radius:50%;box-shadow:inset 0 0 0 1px #eef1f8}.donut-legend p{display:grid;grid-template-columns:16px 1fr auto;gap:8px;align-items:center;margin:18px 0;color:#7c8495;font-weight:850}.donut-legend i{width:12px;height:12px;border-radius:50%;display:block}.donut-legend b{color:#11182c}.video-top{margin:6px 0 12px}.video-top div{padding:14px 0}.video-top span{display:block;color:#9aa1af;font-weight:850;margin-bottom:6px}.video-top b{font-size:28px;color:#11182c}.audience-row{display:grid;grid-template-columns:1fr 1.5fr auto;gap:8px;align-items:center;padding:16px 0;border-top:1px solid #eef1f8}.audience-row span{color:#8b93a7}.audience-row strong{color:#5f39f6}
@media(max-width:430px){.dash-tabs{top:124px}.dash-earning{font-size:34px}.dash-metric-stack b{font-size:20px}.donut-wrap{grid-template-columns:1fr}.donut-legend{padding:0 22px}.analytics-clean-card.tall{min-height:auto}}

/* v29 direct profile dashboard patch */
.profile-dashboard-box{margin-top:18px;display:grid;gap:12px}
.dashboard-main-btn{font-size:17px;padding:16px 18px;border-radius:20px;box-shadow:0 16px 34px rgba(109,55,255,.28)}
.profile-dash-links{gap:8px}
.profile-dash-links .chip{justify-content:center;text-align:center;padding:10px 8px;border-radius:14px}

/* v31: remove fake mobile status/time/network/battery row */
.status{display:none!important}

/* v32 biodata profile patch */
.bio-form h2{font-size:22px;letter-spacing:-.02em}
.bio-form .grid2{align-items:start}
.biodata-card{text-align:left}
.bio-list{display:grid;gap:10px}
.bio-item{display:flex;gap:12px;align-items:flex-start;background:#f8faff;border:1px solid #e7edf8;border-radius:18px;padding:12px}
.bio-item>span{width:34px;height:34px;border-radius:12px;background:#fff;display:grid;place-items:center;box-shadow:0 8px 18px rgba(23,28,61,.06);font-weight:900}
.bio-item b{display:block;font-size:13px;color:#697386;margin-bottom:3px}
.bio-item p{margin:0;font-size:14px;font-weight:800;color:#11182c;word-break:break-word}
@media(max-width:520px){.biodata-grid{grid-template-columns:1fr}.bio-form .field input,.bio-form .field textarea,.bio-form .field select{font-size:15px}}

/* v33 professional bottom navigation patch: clean Home/Search/Post/Wallet/Profile */
.bottom-nav{
  position:fixed!important;
  left:50%!important;
  bottom:0!important;
  transform:translateX(-50%)!important;
  width:min(430px,100vw)!important;
  height:78px!important;
  padding:7px 14px calc(7px + env(safe-area-inset-bottom))!important;
  background:rgba(255,255,255,.98)!important;
  border-top:1px solid rgba(226,232,245,.95)!important;
  display:grid!important;
  grid-template-columns:repeat(5,1fr)!important;
  align-items:center!important;
  z-index:200!important;
  box-shadow:0 -16px 36px rgba(12,18,36,.08)!important;
  backdrop-filter:blur(18px)!important;
}
.bottom-nav a{
  min-width:0!important;
  height:62px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:4px!important;
  border-radius:18px!important;
  color:#8b95a7!important;
  font-size:11px!important;
  font-weight:900!important;
  letter-spacing:-.01em!important;
  line-height:1!important;
  transition:transform .18s ease,color .18s ease,background .18s ease!important;
}
.bottom-nav a:active{transform:scale(.96)!important}
.bottom-nav .nav-ico{
  width:34px!important;
  height:34px!important;
  border-radius:15px!important;
  display:grid!important;
  place-items:center!important;
  color:#8b95a7!important;
  background:transparent!important;
  transition:all .18s ease!important;
}
.bottom-nav .nav-ico svg{width:22px!important;height:22px!important;display:block!important;fill:currentColor!important}
.bottom-nav .nav-label{font-size:11px!important;font-weight:950!important;white-space:nowrap!important}
.bottom-nav a.active{color:#6236ff!important;background:linear-gradient(180deg,rgba(99,63,255,.08),rgba(0,164,255,.04))!important}
.bottom-nav a.active .nav-ico{color:#fff!important;background:var(--grad)!important;box-shadow:0 10px 22px rgba(99,63,255,.28)!important}
.bottom-nav a.post-nav{margin-top:-20px!important;overflow:visible!important;background:transparent!important;color:#6d7484!important}
.bottom-nav a.post-nav .nav-ico{
  width:58px!important;
  height:58px!important;
  border-radius:50%!important;
  color:#fff!important;
  background:linear-gradient(135deg,#6536ff 0%,#1b73ff 52%,#05b8ff 100%)!important;
  box-shadow:0 16px 34px rgba(55,89,255,.34),0 0 0 8px rgba(255,255,255,.96)!important;
}
.bottom-nav a.post-nav .nav-ico svg{width:30px!important;height:30px!important}
.bottom-nav a.post-nav .nav-label{margin-top:1px!important;color:#6d7484!important}
.bottom-nav a.post-nav.active .nav-label{color:#6236ff!important}
.bottom-nav b{font-size:inherit!important;line-height:inherit!important}
.phone-screen{padding-bottom:96px!important}
.comment-box{bottom:78px!important}
@media(max-width:430px){
  .bottom-nav{height:76px!important;padding-left:10px!important;padding-right:10px!important}
  .bottom-nav .nav-ico{width:32px!important;height:32px!important}
  .bottom-nav .nav-ico svg{width:21px!important;height:21px!important}
  .bottom-nav a.post-nav .nav-ico{width:56px!important;height:56px!important}
  .bottom-nav .nav-label{font-size:10.5px!important}
}

/* v34 header icon sync patch: replace old emoji header + notification with professional SVG icons */
.screen-title{gap:14px!important}
.screen-title .head-ico{
  width:50px!important;
  height:50px!important;
  min-width:50px!important;
  border-radius:18px!important;
  display:grid!important;
  place-items:center!important;
  background:var(--grad)!important;
  color:#fff!important;
  box-shadow:0 12px 28px rgba(70,73,255,.22)!important;
  font-size:0!important;
}
.screen-title .head-ico svg{width:28px!important;height:28px!important;display:block!important;fill:currentColor!important}
.screen-title .head-wallet{background:linear-gradient(135deg,#ff3aa4 0%,#7a37ff 58%,#13a7ff 100%)!important}
.screen-title .head-profile{background:linear-gradient(135deg,#1789ff 0%,#5d37ff 100%)!important}
.screen-title .head-home{background:linear-gradient(135deg,#6d37ff 0%,#0c9cff 100%)!important}
.screen-title .head-search{background:linear-gradient(135deg,#3cc7ff 0%,#6d37ff 100%)!important}
.screen-title .head-post{background:linear-gradient(135deg,#6d37ff 0%,#0db4ff 100%)!important}
.screen-title .head-settings{background:linear-gradient(135deg,#64748b 0%,#475569 100%)!important}
.icon-btn.bell-btn{
  font-size:0!important;
  color:#f5b400!important;
  background:#fff!important;
  border:1px solid #e9edf7!important;
  box-shadow:0 14px 32px rgba(23,28,61,.10)!important;
}
.icon-btn.bell-btn svg{width:27px!important;height:27px!important;display:block!important;fill:currentColor!important}
.screen-dark .icon-btn.bell-btn{background:rgba(255,255,255,.08)!important;border-color:rgba(255,255,255,.12)!important;color:#ffd34e!important}
@media(max-width:430px){
  .screen-title{font-size:28px!important;gap:12px!important}
  .screen-title .head-ico{width:48px!important;height:48px!important;min-width:48px!important;border-radius:17px!important}
  .screen-title .head-ico svg{width:27px!important;height:27px!important}
  .icon-btn.bell-btn{width:52px!important;height:52px!important}
}

/* v35 profile screen revamp: cover photo, clear Edit/Dashboard options, tabs and clean post grid */
.profile-clean-screen{background:#fff;min-height:100vh;padding-bottom:18px}
.profile-clean-screen .profile-cover{height:225px;position:relative;background:linear-gradient(180deg,rgba(8,18,38,.18),rgba(8,18,38,.35)),linear-gradient(135deg,#9bdcff 0%,#5a67d8 38%,#203a68 60%,#7fb36c 100%);border-radius:0 0 22px 22px;overflow:visible;box-shadow:0 12px 28px rgba(21,31,60,.10)}
.profile-clean-screen .profile-cover:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 20% 75%,rgba(34,82,42,.55) 0 18%,transparent 19%),radial-gradient(circle at 62% 18%,rgba(255,255,255,.35) 0 11%,transparent 12%),linear-gradient(135deg,transparent 0 48%,rgba(13,28,50,.35) 49% 55%,transparent 56%);opacity:.85}
.profile-floating-back,.profile-floating-set{position:absolute;top:20px;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.22);color:#fff;z-index:3;backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.35)}
.profile-floating-back{left:18px}.profile-floating-set{right:18px}.profile-floating-back svg,.profile-floating-set svg{width:22px;height:22px;fill:currentColor}.profile-avatar-big{position:absolute;left:50%;bottom:-46px;transform:translateX(-50%);width:104px;height:104px;border-radius:50%;background:#fff;padding:5px;z-index:4;box-shadow:0 15px 34px rgba(8,17,38,.22)}
.profile-avatar-big .avatar{width:100%;height:100%;font-size:38px;border:0;background:linear-gradient(135deg,#eef3ff,#d9e3f5);box-shadow:inset 0 0 0 1px rgba(255,255,255,.6)}
.profile-info-card{padding:62px 26px 20px;background:#fff;border-radius:0 0 28px 28px}.profile-title-row{display:flex;gap:14px;align-items:flex-start;justify-content:space-between}.profile-title-row h1{margin:0 0 4px;font-size:33px;line-height:1.05;font-weight:1000;letter-spacing:-.05em;color:#0a1328}.profile-username{margin:0;color:#9aa2b2;font-size:18px;font-weight:850}.profile-bio-line{margin:22px 0 8px;font-size:18px;font-weight:950;color:#0d172b;line-height:1.35}.profile-bio-text{margin:0 0 20px;font-size:17px;font-weight:800;color:#4b5568;line-height:1.45}.profile-action-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;min-width:190px;align-self:center}.profile-action-row .inline-form{display:block;margin:0}.profile-btn{height:46px;border-radius:18px;border:0;display:flex;align-items:center;justify-content:center;text-align:center;font-weight:1000;font-size:13px;padding:0 12px;background:#f5f7fc;color:#11182c;box-shadow:0 10px 22px rgba(17,24,44,.06);white-space:nowrap}.profile-btn.primary{background:#fff;color:#11182c;border:1px solid #eef1f8}.profile-btn.dashboard{background:var(--grad);color:#fff;box-shadow:0 13px 27px rgba(91,63,255,.25)}
.profile-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:20px 0 22px;text-align:center}.profile-stats a{padding:10px 4px;border-radius:18px;color:#11182c;background:#fff}.profile-stats b{display:block;font-size:24px;font-weight:1000;letter-spacing:-.04em}.profile-stats span{display:block;margin-top:4px;color:#9aa2b2;font-weight:850;font-size:13px}.profile-dashboard-panel{margin:12px 0 18px;padding:16px;border:1px solid #eef1f8;border-radius:24px;background:linear-gradient(180deg,#fbfcff,#fff);box-shadow:0 12px 28px rgba(23,28,61,.06)}.profile-dashboard-panel h3{margin:0 0 12px;font-size:18px}.profile-dashboard-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.profile-dashboard-grid a{padding:14px 8px;text-align:center;border-radius:18px;background:#f5f7fd;color:#11182c}.profile-dashboard-grid b{display:block;font-size:14px;font-weight:1000;color:#5d37ff}.profile-dashboard-grid span{display:block;font-size:11px;color:#7c8495;font-weight:850;margin-top:4px}.profile-tabs{height:58px;display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:16px 0 18px;border-bottom:1px solid #eef1f8}.profile-tabs a{display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:1000;color:#11182c;position:relative}.profile-tabs a.active{color:#5737f5}.profile-tabs a.active:after{content:"";position:absolute;left:18%;right:18%;bottom:-1px;height:4px;border-radius:4px;background:#5737f5}.profile-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.profile-grid-tile{height:126px;border-radius:18px;overflow:hidden;position:relative;background:linear-gradient(135deg,#8ddfff,#3c45c8 45%,#1f3c68 65%,#e99a57);box-shadow:inset 0 -50px 50px rgba(0,0,0,.28)}.profile-grid-tile:nth-child(2n){background:linear-gradient(135deg,#14233f,#ffbd63 45%,#27365a 70%,#0f2546)}.profile-grid-tile:nth-child(3n){background:linear-gradient(135deg,#9ee6ff,#224d81 55%,#6c935c)}.profile-grid-tile .play{position:absolute;left:10px;bottom:12px;color:#fff;font-size:15px;font-weight:1000;text-shadow:0 2px 8px rgba(0,0,0,.45)}.profile-grid-tile .tile-caption{display:none}.profile-biodata{margin-top:14px!important}
@media(max-width:430px){.profile-clean-screen .profile-cover{height:212px}.profile-info-card{padding-left:22px;padding-right:22px}.profile-title-row{display:block}.profile-title-row h1{font-size:31px}.profile-action-row{grid-template-columns:1fr 1fr;margin-top:16px;min-width:0}.profile-grid-tile{height:116px}.profile-dashboard-grid b{font-size:13px}.profile-dashboard-grid span{font-size:10px}}


/* v36 profile photo + cover photo picker */
.photo-avatar{overflow:hidden;background:#eef3ff!important}
.photo-avatar img{width:100%;height:100%;object-fit:cover;display:block;border-radius:inherit}
.profile-clean-screen .profile-cover{background-size:cover!important;background-position:center!important}
.media-picker-toggle{position:absolute;opacity:0;pointer-events:none}
.profile-cover-click{position:absolute;inset:0;z-index:2;cursor:pointer;display:flex;align-items:flex-end;justify-content:center;padding-bottom:64px;color:#fff;font-weight:900;text-shadow:0 2px 12px rgba(0,0,0,.45);opacity:0;transition:.18s ease}
.profile-cover:hover .profile-cover-click,.profile-cover:active .profile-cover-click{opacity:1;background:linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.28))}
.profile-cover-click span{background:rgba(8,17,38,.56);backdrop-filter:blur(12px);padding:10px 16px;border-radius:999px;border:1px solid rgba(255,255,255,.22);font-size:13px}
.clickable-avatar{cursor:pointer}
.profile-media-modal{display:none;position:fixed;inset:0;z-index:9999;align-items:flex-end;justify-content:center}
.media-picker-toggle:checked ~ .profile-media-modal{display:flex}
.profile-media-backdrop{position:absolute;inset:0;background:rgba(5,12,28,.45);backdrop-filter:blur(6px)}
.profile-media-card{position:relative;z-index:2;width:min(92vw,430px);background:#fff;border-radius:28px 28px 0 0;padding:24px 22px 28px;box-shadow:0 -24px 60px rgba(8,17,38,.25);animation:mediaSheet .18s ease-out}
@keyframes mediaSheet{from{transform:translateY(25px);opacity:.6}to{transform:translateY(0);opacity:1}}
.media-close{position:absolute;right:18px;top:14px;width:36px;height:36px;border-radius:50%;background:#f1f5fb;display:grid;place-items:center;font-size:25px;font-weight:900;color:#0b1530;cursor:pointer}
.profile-media-card h2{margin:0 0 6px;font-size:25px;color:#07142d}.profile-media-card .muted{margin:0 0 18px;color:#8b95a8}
.upload-choice{border:1px solid #e4e9f4;border-radius:18px;padding:14px 14px;margin:12px 0;background:#fbfcff;display:grid;gap:10px}
.upload-choice b{color:#0b1530}.upload-choice input[type=file]{font-size:14px;width:100%;background:#f5f7fb;border-radius:14px;padding:11px;border:1px solid #e2e8f0}
@media(max-width:430px){.profile-cover-click{opacity:1;background:linear-gradient(180deg,transparent 45%,rgba(0,0,0,.2));padding-bottom:58px}.profile-cover-click span{font-size:11px;padding:8px 12px}.profile-media-card{border-radius:24px 24px 0 0}}


/* v37: real phone gallery picker + small camera icons only */
.instant-media-form{display:none!important}
.instant-file-input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.profile-cover-click,.media-picker-toggle,.profile-media-modal{display:none!important}
.profile-cover-camera{position:absolute;left:18px;top:18px;z-index:7;width:38px;height:38px;border-radius:16px;background:rgba(7,16,34,.58);border:1px solid rgba(255,255,255,.38);box-shadow:0 10px 24px rgba(0,0,0,.18);display:flex;align-items:center;justify-content:center;cursor:pointer;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);transition:.18s ease}
.profile-cover-camera span{font-size:18px;line-height:1;display:block;filter:drop-shadow(0 2px 3px rgba(0,0,0,.28))}
.profile-cover-camera:active{transform:scale(.94)}
.profile-avatar-big.has-avatar-camera{cursor:pointer;position:absolute}
.avatar-camera-dot{position:absolute;right:12px;bottom:12px;width:34px;height:34px;border-radius:50%;background:linear-gradient(135deg,#6b35ff,#04a9ff);color:#fff;border:4px solid #fff;box-shadow:0 10px 20px rgba(56,62,180,.25);display:flex;align-items:center;justify-content:center;font-size:14px;z-index:5}
.profile-avatar-big.has-avatar-camera:active{transform:translateX(-50%) scale(.98)}
@media(max-width:430px){.profile-cover-camera{left:16px;top:16px;width:34px;height:34px;border-radius:14px}.profile-cover-camera span{font-size:16px}.avatar-camera-dot{right:10px;bottom:10px;width:30px;height:30px;font-size:12px;border-width:3px}}


/* v38 profile photo display fix */
.photo-avatar{overflow:hidden;background:#e4e8f2;color:transparent;line-height:0;font-size:0;}
.photo-avatar img{width:100%;height:100%;display:block;object-fit:cover;border-radius:inherit;}
.profile-avatar-big .avatar.photo-avatar{width:100%;height:100%;border-radius:50%;overflow:hidden;}
.profile-avatar-big .avatar.photo-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%;}
.profile-avatar-big .avatar-img-failed::after,.avatar-img-failed::after{content:'👤';display:grid;place-items:center;width:100%;height:100%;font-size:34px;line-height:1;color:#081126;background:#e4e8f2;}
.profile-cover{background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important;}

/* v39 photo/video post upload fix */
.upload-card{overflow:hidden}.upload-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;height:210px;border:2px dashed #cdd8ee;border-radius:24px;background:linear-gradient(135deg,#f8fbff,#eef5ff);cursor:pointer;text-align:center}.upload-drop input{display:none}.upload-plus{width:72px;height:72px;border-radius:24px;background:var(--grad);color:#fff;display:grid;place-items:center;font-size:44px;font-weight:900;box-shadow:0 18px 35px rgba(91,63,255,.25)}.upload-drop b{font-size:21px}.upload-drop small{color:#7f8aa0;font-weight:800;max-width:85%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.upload-note{text-align:center;margin:12px 0 0}.uploaded-post-img{background:#eef3fb}.uploaded-post-img img{width:100%;height:100%;object-fit:cover;display:block}.post-video{width:100%;height:260px;object-fit:cover;background:#050712;display:block;border:0}.post-media-open{display:block}.post-media-open .post-video{pointer-events:auto}.profile-grid-tile img,.profile-grid-tile video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}.profile-grid-tile:has(img),.profile-grid-tile:has(video){background:#11182c}.profile-grid-tile img + .play,.profile-grid-tile video + .play{background:rgba(0,0,0,.45);backdrop-filter:blur(8px)}

/* v41: keep mobile video controls clickable. Do not let parent links/buttons capture video taps. */
.post-media-open{display:block;position:relative}.post-media-open video{pointer-events:auto;touch-action:manipulation}.post-card video.post-video{cursor:pointer}


/* v42: dedicated Reels path + vertical video-only scrolling feed */
.reels-topbar{position:sticky;top:0;z-index:30;height:58px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;color:#fff;background:linear-gradient(180deg,rgba(5,7,18,.88),rgba(5,7,18,.15));margin-bottom:-58px}.reels-topbar b{font-size:20px;font-weight:1000}.reels-topbar a{padding:9px 13px;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22);color:#fff;font-weight:900;font-size:12px;backdrop-filter:blur(12px)}
.reels-feed{height:calc(100vh - 76px);overflow-y:auto;scroll-snap-type:y mandatory;background:#050711;color:#fff;position:relative}.reels-feed::-webkit-scrollbar{width:0;height:0}.reel-item{height:calc(100vh - 76px);min-height:650px;scroll-snap-align:start;position:relative;background:#050711;overflow:hidden}.single-reel-detail .reel-item{height:calc(100vh - 76px);min-height:calc(100vh - 76px)}
.reel-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#080b19;display:block;border:0}.reel-video::-webkit-media-controls-panel{background:linear-gradient(transparent,rgba(0,0,0,.45))}.reel-gradient{display:grid;place-items:center;background:linear-gradient(145deg,#10193a 0%,#345bb2 38%,#744cff 64%,#ff8b73 100%)}.reel-play{width:82px;height:82px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.3);font-size:36px;backdrop-filter:blur(12px);box-shadow:0 16px 50px rgba(0,0,0,.25)}
.reel-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.12) 0%,rgba(0,0,0,.03) 42%,rgba(0,0,0,.74) 100%);pointer-events:none}.reel-side-actions{position:absolute;right:12px;bottom:132px;display:grid;gap:13px;z-index:4}.reel-action{width:52px;min-height:58px;border:0;border-radius:22px;background:rgba(10,14,29,.55);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:12px;font-weight:1000;box-shadow:0 12px 28px rgba(0,0,0,.22);border:1px solid rgba(255,255,255,.12);backdrop-filter:blur(12px)}.reel-action span{font-size:22px;line-height:1}.reel-action b{font-size:12px}.reel-action-form{margin:0;padding:0}.reel-action-form button{cursor:pointer}
.reel-caption{position:absolute;left:16px;right:82px;bottom:110px;z-index:4;display:flex;align-items:flex-end;gap:11px}.reel-caption .avatar{width:42px;height:42px;border:2px solid rgba(255,255,255,.7);background:#fff;color:#11182c}.reel-author{font-weight:1000;font-size:14px;text-shadow:0 2px 12px rgba(0,0,0,.35)}.reel-caption p{margin:5px 0 8px;font-weight:800;line-height:1.35;text-shadow:0 2px 12px rgba(0,0,0,.35)}.reel-meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.reel-meta span,.reel-meta a{font-size:11px;font-weight:950;color:#fff;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.14);border-radius:999px;padding:6px 9px;backdrop-filter:blur(10px)}
.empty-reels{height:calc(100vh - 76px);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px;color:#fff;background:radial-gradient(circle at 30% 0%,#263681 0,#0a1022 50%,#050711 100%)}.empty-reels h2{font-size:30px;margin:0 0 10px}.empty-reels p{color:#cbd5e1;line-height:1.55}.feed-tabs a{cursor:pointer}
@media(max-width:430px){.reels-feed,.reel-item{height:calc(100vh - 76px)}.reel-caption{bottom:104px;right:78px}.reel-side-actions{bottom:128px}.reels-topbar{height:54px;margin-bottom:-54px}.reel-action{width:49px;min-height:55px;border-radius:20px}}


/* v43: TikTok/Reels-style full-screen video feed, matching provided reference without touching other screens */
.wp-phone.reels-shell{background:#050711!important;color:#fff!important;overflow:hidden!important;box-shadow:none!important}
.wp-phone.reels-shell .phone-screen{padding-bottom:0!important;background:#050711!important;min-height:100vh!important}
.wp-phone.reels-shell .flash{top:62px!important;background:rgba(10,14,29,.88)!important;color:#fff!important}
.reels-topbar{position:fixed!important;left:50%!important;top:0!important;transform:translateX(-50%)!important;width:min(430px,100vw)!important;height:70px!important;z-index:80!important;display:flex!important;align-items:center!important;justify-content:space-between!important;padding:0 18px!important;margin:0!important;background:linear-gradient(180deg,rgba(0,0,0,.46),rgba(0,0,0,0))!important;color:#fff!important;pointer-events:none!important}
.reels-topbar a,.reels-topbar b,.reels-topbar span{pointer-events:auto!important}.reel-back,.reel-upload-mini{width:42px!important;height:42px!important;border-radius:50%!important;display:grid!important;place-items:center!important;color:#fff!important;background:rgba(0,0,0,.18)!important;border:1px solid rgba(255,255,255,.16)!important;font-size:34px!important;font-weight:500!important;line-height:1!important;backdrop-filter:blur(10px)!important}.reel-upload-mini{font-size:22px!important}.reel-tabs{position:absolute!important;left:50%!important;transform:translateX(-50%)!important;display:flex!important;align-items:center!important;gap:12px!important;font-size:19px!important;letter-spacing:.1px!important;text-shadow:0 2px 18px rgba(0,0,0,.45)!important;white-space:nowrap!important}.reel-tabs a{color:rgba(255,255,255,.72)!important;font-weight:800!important}.reel-tabs b{color:#fff!important;font-weight:1000!important}.reel-tabs span{color:rgba(255,255,255,.55)!important}
.reels-feed{height:100vh!important;min-height:100vh!important;overflow-y:auto!important;scroll-snap-type:y mandatory!important;background:#050711!important;color:#fff!important;position:relative!important;border-radius:0!important}.reels-feed::-webkit-scrollbar{display:none!important}.reel-item{height:100vh!important;min-height:100vh!important;scroll-snap-align:start!important;position:relative!important;background:#050711!important;overflow:hidden!important;border-radius:0!important}.single-reel-detail .reel-item{height:100vh!important;min-height:100vh!important}.reel-video{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;background:#050711!important;display:block!important;border:0!important;z-index:1!important}.reel-video::-webkit-media-controls{opacity:.88!important}.reel-video::-webkit-media-controls-panel{background:linear-gradient(transparent,rgba(0,0,0,.55))!important}.reel-gradient{display:grid!important;place-items:center!important;background:linear-gradient(145deg,#12203c 0%,#2e5f93 36%,#7047ff 65%,#f9826d 100%)!important}.reel-big-play{position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:82px!important;height:82px!important;border-radius:50%!important;border:0!important;background:rgba(255,255,255,.86)!important;color:#050711!important;font-size:36px!important;display:grid!important;place-items:center!important;z-index:5!important;box-shadow:0 20px 60px rgba(0,0,0,.28)!important;backdrop-filter:blur(12px)!important}.reel-item:has(video:not(:paused)) .reel-big-play{opacity:0!important;pointer-events:none!important}.reel-shade{position:absolute!important;inset:0!important;background:linear-gradient(180deg,rgba(0,0,0,.08) 0%,rgba(0,0,0,.02) 36%,rgba(0,0,0,.72) 100%)!important;z-index:2!important;pointer-events:none!important}.reel-side-actions{position:absolute!important;right:12px!important;bottom:145px!important;z-index:8!important;display:flex!important;flex-direction:column!important;gap:16px!important;align-items:center!important}.reel-action{width:54px!important;min-height:58px!important;border:0!important;background:transparent!important;color:#fff!important;border-radius:0!important;box-shadow:none!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:5px!important;font-weight:1000!important;text-shadow:0 2px 12px rgba(0,0,0,.55)!important;backdrop-filter:none!important}.reel-action span{font-size:38px!important;line-height:.9!important;filter:drop-shadow(0 4px 10px rgba(0,0,0,.35))!important}.reel-like span{color:#ff4b69!important}.reel-comment span{font-size:24px!important;background:#fff!important;color:#111!important;width:44px!important;height:34px!important;border-radius:18px!important;display:grid!important;place-items:center!important;letter-spacing:-5px!important;padding-right:4px!important;text-shadow:none!important}.reel-share span{font-size:42px!important;transform:rotate(-10deg)!important}.reel-save span{font-size:32px!important}.reel-action b{font-size:12.5px!important;color:#fff!important;text-shadow:0 2px 9px rgba(0,0,0,.7)!important}.reel-action.done span{transform:scale(1.12)!important}.reel-action-form{margin:0!important;padding:0!important}.reel-author-bubble{position:relative!important;width:54px!important;height:62px!important;display:block!important}.reel-author-bubble .avatar{width:48px!important;height:48px!important;border:2px solid #fff!important;background:#e4e8f2!important;color:#111!important;font-size:16px!important}.reel-author-bubble span{position:absolute!important;right:2px!important;bottom:7px!important;width:24px!important;height:24px!important;border-radius:50%!important;display:grid!important;place-items:center!important;background:#ff375f!important;color:#fff!important;font-size:18px!important;font-weight:1000!important;border:2px solid #fff!important;line-height:1!important}.reel-caption{position:absolute!important;left:18px!important;right:82px!important;bottom:106px!important;z-index:8!important;display:block!important;color:#fff!important}.reel-ad-chip{display:inline-flex!important;align-items:center!important;justify-content:center!important;height:24px!important;padding:0 9px!important;border-radius:7px!important;background:#ffb31a!important;color:#fff!important;font-size:12px!important;font-weight:1000!important;margin-bottom:7px!important;box-shadow:0 4px 12px rgba(0,0,0,.25)!important}.reel-author-line{display:flex!important;align-items:center!important;gap:10px!important;margin-bottom:7px!important}.reel-author-line strong{font-size:18px!important;font-weight:1000!important;color:#fff!important;text-shadow:0 2px 12px rgba(0,0,0,.55)!important}.reel-follow-btn{height:36px!important;padding:0 20px!important;border-radius:999px!important;border:0!important;background:#205bff!important;color:#fff!important;font-size:14px!important;font-weight:950!important;box-shadow:0 10px 24px rgba(0,0,0,.25)!important}.reel-caption p{margin:0 0 10px!important;color:#fff!important;font-size:17px!important;font-weight:900!important;line-height:1.35!important;text-shadow:0 2px 14px rgba(0,0,0,.62)!important}.reel-meta{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important}.reel-meta span{display:inline-flex!important;align-items:center!important;border-radius:999px!important;background:rgba(0,0,0,.5)!important;color:#fff!important;border:1px solid rgba(255,255,255,.14)!important;padding:8px 12px!important;font-size:12px!important;font-weight:900!important;backdrop-filter:blur(12px)!important}.reel-meta a{display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:14px!important;background:rgba(0,0,0,.35)!important;color:#fff!important;border:1px solid rgba(255,255,255,.22)!important;padding:10px 16px!important;font-size:14px!important;font-weight:1000!important;backdrop-filter:blur(12px)!important}.wp-phone.reels-shell .bottom-nav{height:86px!important;padding:0 12px env(safe-area-inset-bottom)!important;background:rgba(0,0,0,.74)!important;border-top:1px solid rgba(255,255,255,.12)!important;backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important;box-shadow:0 -16px 40px rgba(0,0,0,.35)!important;color:#fff!important}.wp-phone.reels-shell .bottom-nav a{color:rgba(255,255,255,.76)!important;background:transparent!important}.wp-phone.reels-shell .bottom-nav a.active{color:#fff!important;background:transparent!important}.wp-phone.reels-shell .bottom-nav .nav-ico{background:transparent!important;color:currentColor!important;box-shadow:none!important;width:34px!important;height:34px!important}.wp-phone.reels-shell .bottom-nav .nav-ico svg{fill:currentColor!important;width:27px!important;height:27px!important}.wp-phone.reels-shell .bottom-nav .nav-label{color:currentColor!important;font-size:11px!important;font-weight:950!important}.wp-phone.reels-shell .bottom-nav a:nth-child(2) .nav-label{font-size:0!important}.wp-phone.reels-shell .bottom-nav a:nth-child(2) .nav-label:after{content:'Discover';font-size:11px!important}.wp-phone.reels-shell .bottom-nav a:nth-child(4) .nav-label{font-size:0!important}.wp-phone.reels-shell .bottom-nav a:nth-child(4) .nav-label:after{content:'Earn';font-size:11px!important}.wp-phone.reels-shell .bottom-nav a.post-nav{margin-top:-22px!important;color:#111!important}.wp-phone.reels-shell .bottom-nav a.post-nav .nav-ico{width:62px!important;height:62px!important;border-radius:50%!important;background:#fff!important;color:#111!important;box-shadow:0 14px 34px rgba(0,0,0,.35)!important}.wp-phone.reels-shell .bottom-nav a.post-nav .nav-label{color:#fff!important;margin-top:2px!important}.wp-phone.reels-shell .bottom-nav a.post-nav .nav-ico svg{width:31px!important;height:31px!important}.empty-reels{height:100vh!important;background:radial-gradient(circle at 30% 0%,#263681 0,#0a1022 50%,#050711 100%)!important;color:#fff!important}.empty-reels h2{color:#fff!important}@media(max-width:430px){.reels-topbar{height:64px!important;padding:0 16px!important}.reel-tabs{font-size:18px!important}.reel-side-actions{right:10px!important;bottom:132px!important;gap:13px!important}.reel-action{width:50px!important;min-height:54px!important}.reel-action span{font-size:35px!important}.reel-caption{left:16px!important;right:74px!important;bottom:98px!important}.reel-caption p{font-size:16px!important}.reel-meta a{padding:9px 14px!important}.wp-phone.reels-shell .bottom-nav{height:80px!important}.wp-phone.reels-shell .bottom-nav a.post-nav .nav-ico{width:58px!important;height:58px!important}.reel-big-play{width:72px!important;height:72px!important;font-size:32px!important}}

/* v44: precise Reels reference-style patch. Full-screen, uploaded videos only, no fake gradient reels. */
.wp-phone.reels-shell{width:100%!important;min-height:100vh!important;max-width:none!important;margin:0!important;border-radius:0!important;background:#02040b!important;box-shadow:none!important;overflow:hidden!important}
.wp-phone.reels-shell .phone-screen{height:100vh!important;min-height:100vh!important;padding:0!important;background:#02040b!important;color:#fff!important;overflow:hidden!important}
.wp-phone.reels-shell .flash{position:absolute!important;left:50%!important;top:92px!important;transform:translateX(-50%)!important;z-index:50!important;max-width:68%!important;border-radius:22px!important;background:rgba(11,17,40,.88)!important;color:#fff!important;box-shadow:0 12px 38px rgba(0,0,0,.34)!important;padding:14px 22px!important;font-size:16px!important;line-height:1.25!important;text-align:center!important;animation:wpReelFlash 2.4s ease forwards!important}@keyframes wpReelFlash{0%,75%{opacity:1}100%{opacity:0;pointer-events:none}}
.reels-topbar{position:absolute!important;z-index:20!important;left:0!important;right:0!important;top:0!important;height:78px!important;padding:14px 18px 0!important;display:flex!important;align-items:flex-start!important;justify-content:space-between!important;background:linear-gradient(180deg,rgba(0,0,0,.48),rgba(0,0,0,0))!important;color:#fff!important;pointer-events:none!important}
.reel-back,.reel-upload-mini{pointer-events:auto!important;width:42px!important;height:42px!important;border-radius:50%!important;display:grid!important;place-items:center!important;background:rgba(0,0,0,.14)!important;border:1px solid rgba(255,255,255,.22)!important;backdrop-filter:blur(9px)!important;color:#fff!important;box-shadow:none!important}
.reel-back svg,.reel-upload-mini svg{width:24px!important;height:24px!important;fill:#fff!important;filter:drop-shadow(0 2px 10px rgba(0,0,0,.35))!important}.reel-upload-mini svg{width:22px!important;height:22px!important}
.reel-tabs{position:absolute!important;top:17px!important;left:50%!important;transform:translateX(-50%)!important;display:flex!important;align-items:center!important;gap:14px!important;color:#fff!important;white-space:nowrap!important;pointer-events:auto!important;text-shadow:0 2px 16px rgba(0,0,0,.55)!important}
.reel-tabs a,.reel-tabs b,.reel-tabs span{font-size:22px!important;line-height:1!important;background:none!important;border:0!important;padding:0!important;border-radius:0!important;color:#fff!important;font-weight:900!important;letter-spacing:-.2px!important}.reel-tabs a{opacity:.68!important}.reel-tabs b{opacity:1!important}.reel-tabs span{opacity:.5!important;font-weight:700!important}
.reels-feed{height:100vh!important;min-height:100vh!important;overflow-y:auto!important;scroll-snap-type:y mandatory!important;background:#02040b!important;color:#fff!important;position:relative!important;border-radius:0!important;-webkit-overflow-scrolling:touch!important}.reels-feed::-webkit-scrollbar{display:none!important}
.reel-item{height:100vh!important;min-height:100vh!important;scroll-snap-align:start!important;position:relative!important;background:#02040b!important;overflow:hidden!important;border-radius:0!important;color:#fff!important}.single-reel-detail,.single-reel-detail .reels-feed,.single-reel-detail .reel-item{height:100vh!important;min-height:100vh!important}
.reel-video{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;background:#02040b!important;display:block!important;border:0!important;border-radius:0!important;z-index:1!important;cursor:pointer!important}.reel-video::-webkit-media-controls{display:none!important}.reel-video::-webkit-media-controls-panel{display:none!important}
.empty-reel-video{position:absolute!important;inset:0!important;z-index:1!important;display:grid!important;place-items:center!important;text-align:center!important;padding:30px!important;background:radial-gradient(circle at 50% 28%,#415d9a,#171d45 48%,#060712 100%)!important;color:#fff!important}
.empty-reel-video h2{font-size:28px!important;margin:0 0 8px!important;color:#fff!important}.empty-reel-video p{font-size:15px!important;color:rgba(255,255,255,.8)!important;margin:0!important}
.reel-big-play{position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:78px!important;height:78px!important;border-radius:50%!important;border:0!important;background:rgba(255,255,255,.68)!important;color:#111827!important;font-size:34px!important;display:grid!important;place-items:center!important;z-index:8!important;box-shadow:0 18px 60px rgba(0,0,0,.3)!important;backdrop-filter:blur(14px)!important;padding-left:4px!important;transition:.18s ease!important}.reel-item.is-playing .reel-big-play{opacity:0!important;pointer-events:none!important;transform:translate(-50%,-50%) scale(.92)!important}
.reel-shade{position:absolute!important;inset:0!important;z-index:2!important;pointer-events:none!important;background:linear-gradient(180deg,rgba(0,0,0,.25) 0%,rgba(0,0,0,0) 30%,rgba(0,0,0,.03) 50%,rgba(0,0,0,.72) 100%)!important}
.reel-side-actions{position:absolute!important;right:16px!important;bottom:136px!important;z-index:12!important;display:flex!important;flex-direction:column!important;align-items:center!important;gap:15px!important}.reel-action-form{margin:0!important;padding:0!important}.reel-action{width:54px!important;min-height:58px!important;border:0!important;background:transparent!important;box-shadow:none!important;color:#fff!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:5px!important;text-shadow:0 2px 12px rgba(0,0,0,.65)!important}.reel-action span{width:44px!important;height:44px!important;display:grid!important;place-items:center!important;filter:drop-shadow(0 4px 12px rgba(0,0,0,.36))!important}.reel-action svg{width:42px!important;height:42px!important;fill:#fff!important}.reel-like svg{fill:#ff4767!important}.reel-comment span{background:rgba(255,255,255,.95)!important;border-radius:50%!important}.reel-comment svg{width:36px!important;height:36px!important;fill:#111!important}.reel-share svg{width:44px!important;height:44px!important}.reel-save svg{width:36px!important;height:36px!important;fill:none!important;stroke:#fff!important;stroke-width:1.2!important}.reel-action b{font-size:13px!important;font-weight:1000!important;color:#fff!important;line-height:1!important}.reel-action.done span{transform:scale(1.12)!important}.reel-author-bubble{position:relative!important;width:56px!important;height:64px!important;display:block!important}.reel-author-bubble .avatar{width:48px!important;height:48px!important;border:2.5px solid #fff!important;background:#e9edf5!important;color:#111827!important;font-size:16px!important;box-shadow:0 4px 18px rgba(0,0,0,.28)!important}.reel-author-bubble .photo-avatar img{width:100%!important;height:100%!important;object-fit:cover!important}.reel-author-bubble span{position:absolute!important;right:1px!important;bottom:7px!important;width:24px!important;height:24px!important;border-radius:50%!important;display:grid!important;place-items:center!important;background:#ff365e!important;color:#fff!important;border:2px solid #fff!important;font-size:18px!important;font-weight:1000!important;line-height:1!important}
.reel-caption{position:absolute!important;left:20px!important;right:86px!important;bottom:100px!important;z-index:12!important;color:#fff!important}.reel-author-line{display:flex!important;align-items:center!important;gap:10px!important;margin-bottom:7px!important}.reel-author-line strong{font-size:19px!important;font-weight:1000!important;color:#fff!important;text-shadow:0 2px 14px rgba(0,0,0,.65)!important}.reel-follow-form{margin:0!important;display:inline-flex!important}.reel-follow-btn{height:38px!important;min-width:96px!important;padding:0 18px!important;border:0!important;border-radius:999px!important;background:#2267ff!important;color:#fff!important;font-size:15px!important;font-weight:1000!important;box-shadow:0 10px 24px rgba(0,0,0,.28)!important}.reel-caption p{margin:0 0 10px!important;color:#fff!important;font-size:18px!important;line-height:1.32!important;font-weight:900!important;text-shadow:0 2px 16px rgba(0,0,0,.7)!important}.reel-meta{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important}.reel-meta span{height:31px!important;display:inline-flex!important;align-items:center!important;border-radius:9px!important;background:rgba(0,0,0,.55)!important;color:#fff!important;border:1px solid rgba(255,255,255,.15)!important;padding:0 11px!important;font-size:12px!important;font-weight:1000!important;backdrop-filter:blur(12px)!important}.reel-meta a{height:38px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:15px!important;background:rgba(0,0,0,.38)!important;color:#fff!important;border:1px solid rgba(255,255,255,.28)!important;padding:0 17px!important;font-size:15px!important;font-weight:1000!important;backdrop-filter:blur(12px)!important}
.wp-phone.reels-shell .bottom-nav{position:absolute!important;left:0!important;right:0!important;bottom:0!important;z-index:18!important;height:82px!important;padding:4px 14px env(safe-area-inset-bottom)!important;background:rgba(0,0,0,.82)!important;border-top:1px solid rgba(255,255,255,.12)!important;backdrop-filter:blur(16px)!important;-webkit-backdrop-filter:blur(16px)!important;box-shadow:0 -18px 44px rgba(0,0,0,.42)!important;color:#fff!important}.wp-phone.reels-shell .bottom-nav a{color:rgba(255,255,255,.78)!important;background:transparent!important;min-width:0!important}.wp-phone.reels-shell .bottom-nav a.active{color:#fff!important;background:transparent!important}.wp-phone.reels-shell .bottom-nav .nav-ico{width:35px!important;height:35px!important;background:transparent!important;color:currentColor!important;box-shadow:none!important}.wp-phone.reels-shell .bottom-nav .nav-ico svg{width:29px!important;height:29px!important;fill:currentColor!important}.wp-phone.reels-shell .bottom-nav .nav-label{font-size:11px!important;font-weight:1000!important;color:currentColor!important}.wp-phone.reels-shell .bottom-nav a:nth-child(2) .nav-label{font-size:0!important}.wp-phone.reels-shell .bottom-nav a:nth-child(2) .nav-label:after{content:'Discover';font-size:11px!important}.wp-phone.reels-shell .bottom-nav a:nth-child(4) .nav-label{font-size:0!important}.wp-phone.reels-shell .bottom-nav a:nth-child(4) .nav-label:after{content:'Earn';font-size:11px!important}.wp-phone.reels-shell .bottom-nav a.post-nav{margin-top:-27px!important;color:#111!important}.wp-phone.reels-shell .bottom-nav a.post-nav .nav-ico{width:62px!important;height:62px!important;border-radius:50%!important;background:#fff!important;color:#111!important;box-shadow:0 15px 36px rgba(0,0,0,.42)!important}.wp-phone.reels-shell .bottom-nav a.post-nav .nav-ico svg{width:34px!important;height:34px!important}.wp-phone.reels-shell .bottom-nav a.post-nav .nav-label{color:#fff!important;margin-top:1px!important}
.empty-reels{height:100vh!important;background:radial-gradient(circle at 35% 0%,#293889 0,#0b1023 55%,#050711 100%)!important;color:#fff!important;display:grid!important;place-items:center!important;text-align:center!important;padding:32px!important}.empty-reels h2{color:#fff!important;font-size:26px!important;margin:0 0 10px!important}.empty-reels p{color:rgba(255,255,255,.82)!important;font-size:15px!important;margin:0 0 18px!important}
@media(max-width:430px){.reels-topbar{height:68px!important;padding:14px 14px 0!important}.reel-tabs a,.reel-tabs b,.reel-tabs span{font-size:20px!important}.reel-back,.reel-upload-mini{width:40px!important;height:40px!important}.reel-side-actions{right:13px!important;bottom:124px!important;gap:13px!important}.reel-action{width:50px!important;min-height:54px!important}.reel-action span{width:42px!important;height:42px!important}.reel-action svg{width:38px!important;height:38px!important}.reel-caption{left:18px!important;right:78px!important;bottom:94px!important}.reel-caption p{font-size:16.5px!important}.reel-author-line strong{font-size:18px!important}.reel-follow-btn{height:36px!important;min-width:90px!important;font-size:14px!important}.reel-big-play{width:74px!important;height:74px!important;font-size:32px!important}.wp-phone.reels-shell .bottom-nav{height:78px!important}.wp-phone.reels-shell .bottom-nav a.post-nav .nav-ico{width:58px!important;height:58px!important}}

/* v45: Reels exact-match patch — cleaner like reference screenshots. */
.wp-phone.reels-shell{height:100vh!important;min-height:100vh!important;max-height:100vh!important;width:100%!important;max-width:none!important;border-radius:0!important;background:#000!important;overflow:hidden!important;}
.wp-phone.reels-shell .phone-screen{height:100vh!important;min-height:100vh!important;max-height:100vh!important;padding:0!important;overflow:hidden!important;background:#000!important;}
.wp-phone.reels-shell .flash{display:none!important;}
.reels-topbar{position:absolute!important;top:0!important;left:0!important;right:0!important;height:82px!important;padding:18px 20px 0!important;z-index:50!important;background:linear-gradient(180deg,rgba(0,0,0,.38),rgba(0,0,0,0))!important;display:flex!important;align-items:flex-start!important;justify-content:space-between!important;color:#fff!important;pointer-events:none!important;}
.reels-topbar a,.reels-topbar b,.reels-topbar span{pointer-events:auto!important;}
.reel-back,.reel-upload-mini{width:36px!important;height:36px!important;border-radius:0!important;background:transparent!important;border:0!important;box-shadow:none!important;display:grid!important;place-items:center!important;color:#fff!important;filter:drop-shadow(0 2px 9px rgba(0,0,0,.55))!important;padding:0!important;backdrop-filter:none!important;}
.reel-back svg,.reel-upload-mini svg{width:28px!important;height:28px!important;fill:#fff!important;}
.reel-upload-mini svg{width:27px!important;height:27px!important;}
.reel-tabs{position:absolute!important;left:50%!important;top:18px!important;transform:translateX(-50%)!important;display:flex!important;align-items:center!important;gap:28px!important;white-space:nowrap!important;text-shadow:0 2px 12px rgba(0,0,0,.5)!important;}
.reel-tabs a,.reel-tabs b{font-size:21px!important;line-height:1!important;font-weight:900!important;letter-spacing:.1px!important;color:#fff!important;background:transparent!important;border:0!important;padding:0!important;border-radius:0!important;box-shadow:none!important;opacity:1!important;}
.reel-tabs a{opacity:.72!important;}
.reel-tabs span{display:none!important;}
.reels-feed{height:100vh!important;min-height:100vh!important;background:#000!important;}
.reel-item{height:100vh!important;min-height:100vh!important;background:#000!important;}
.reel-video{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;background:#000!important;z-index:1!important;}
/* Reference screen has no permanent center play button. It appears only after a tap/play failure. */
.reel-big-play{opacity:0!important;pointer-events:auto!important;background:rgba(255,255,255,.52)!important;width:70px!important;height:70px!important;}
.reel-item:not(.is-playing) .reel-big-play{opacity:.0!important;}
.reel-shade{z-index:2!important;background:linear-gradient(180deg,rgba(0,0,0,.25) 0%,rgba(0,0,0,.02) 27%,rgba(0,0,0,.04) 54%,rgba(0,0,0,.78) 100%)!important;}
.reel-side-actions{right:18px!important;bottom:144px!important;gap:16px!important;z-index:20!important;}
.reel-author-bubble{width:50px!important;height:58px!important;margin-bottom:2px!important;}
.reel-author-bubble .avatar{width:46px!important;height:46px!important;border:2px solid rgba(255,255,255,.92)!important;box-shadow:0 5px 18px rgba(0,0,0,.42)!important;}
.reel-author-bubble span{width:21px!important;height:21px!important;right:-1px!important;bottom:8px!important;background:#ff3a61!important;border:2px solid #fff!important;font-size:16px!important;}
.reel-action{width:48px!important;min-height:55px!important;gap:4px!important;color:#fff!important;background:transparent!important;}
.reel-action span{width:42px!important;height:42px!important;}
.reel-action svg{width:39px!important;height:39px!important;filter:drop-shadow(0 3px 8px rgba(0,0,0,.5))!important;}
.reel-action b{font-size:13px!important;font-weight:900!important;color:#fff!important;text-shadow:0 2px 12px rgba(0,0,0,.8)!important;}
.reel-comment span{background:#fff!important;box-shadow:0 4px 12px rgba(0,0,0,.28)!important;}
.reel-comment svg{fill:#0f172a!important;width:34px!important;height:34px!important;}
.reel-save span{background:rgba(0,0,0,.44)!important;border-radius:50%!important;border:1px solid rgba(255,255,255,.18)!important;}
.reel-save b{display:none!important;}
.reel-caption{left:18px!important;right:88px!important;bottom:96px!important;z-index:22!important;color:#fff!important;}
.reel-author-line{display:flex!important;align-items:center!important;gap:10px!important;margin-bottom:8px!important;}
.reel-author-line strong{font-size:20px!important;font-weight:1000!important;line-height:1.08!important;color:#fff!important;text-shadow:0 3px 16px rgba(0,0,0,.72)!important;}
.reel-follow-btn{height:38px!important;min-width:94px!important;padding:0 18px!important;border-radius:999px!important;background:#2267ff!important;color:#fff!important;border:0!important;font-size:15px!important;font-weight:1000!important;box-shadow:0 9px 24px rgba(0,0,0,.34)!important;}
.reel-caption p{font-size:17px!important;font-weight:900!important;line-height:1.28!important;margin:0 0 11px!important;color:#fff!important;text-shadow:0 3px 16px rgba(0,0,0,.72)!important;}
.reel-meta{display:flex!important;align-items:center!important;gap:10px!important;}
.reel-ad-pill{width:44px!important;height:32px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:9px!important;background:#f6b21e!important;color:#fff!important;font-weight:1000!important;font-size:14px!important;border:0!important;padding:0!important;text-shadow:none!important;}
.reel-learn{height:38px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0 20px!important;border-radius:14px!important;background:rgba(0,0,0,.36)!important;color:#fff!important;border:1px solid rgba(255,255,255,.32)!important;font-size:15px!important;font-weight:1000!important;backdrop-filter:blur(10px)!important;}
.reel-more{width:38px!important;height:38px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:50%!important;background:rgba(0,0,0,.52)!important;color:#fff!important;border:1px solid rgba(255,255,255,.18)!important;font-size:18px!important;font-weight:1000!important;letter-spacing:-2px!important;}
.wp-phone.reels-shell .bottom-nav{height:86px!important;padding:5px 16px env(safe-area-inset-bottom)!important;background:rgba(0,0,0,.86)!important;border-top:1px solid rgba(255,255,255,.1)!important;box-shadow:0 -20px 48px rgba(0,0,0,.46)!important;backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important;}
.wp-phone.reels-shell .bottom-nav a{color:rgba(255,255,255,.82)!important;}
.wp-phone.reels-shell .bottom-nav a.active{color:#fff!important;}
.wp-phone.reels-shell .bottom-nav .nav-ico{width:34px!important;height:34px!important;background:transparent!important;color:currentColor!important;}
.wp-phone.reels-shell .bottom-nav .nav-ico svg{width:30px!important;height:30px!important;fill:currentColor!important;}
.wp-phone.reels-shell .bottom-nav .nav-label{font-size:11px!important;font-weight:950!important;color:currentColor!important;}
.wp-phone.reels-shell .bottom-nav a.post-nav{margin-top:-30px!important;}
.wp-phone.reels-shell .bottom-nav a.post-nav .nav-ico{width:62px!important;height:62px!important;border-radius:50%!important;background:#fff!important;color:#111!important;box-shadow:0 16px 34px rgba(0,0,0,.45)!important;}
.wp-phone.reels-shell .bottom-nav a.post-nav .nav-label{color:#fff!important;}
@media(max-width:430px){.reel-tabs a,.reel-tabs b{font-size:20px!important}.reel-side-actions{right:15px!important;bottom:136px!important;gap:14px!important}.reel-caption{left:17px!important;right:82px!important;bottom:92px!important}.reel-author-line strong{font-size:19px!important}.reel-caption p{font-size:16px!important}.reel-follow-btn{height:36px!important;min-width:88px!important}.wp-phone.reels-shell .bottom-nav{height:82px!important}.wp-phone.reels-shell .bottom-nav a.post-nav .nav-ico{width:58px!important;height:58px!important}}


/* v46: Reels bottom nav removed + centered Following/For You tabs + following filter UI. */
.wp-phone.reels-shell .bottom-nav{display:none!important;visibility:hidden!important;height:0!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;box-shadow:none!important;}
.wp-phone.reels-shell .phone-screen{padding-bottom:0!important;}
.wp-phone.reels-shell .reels-feed,.wp-phone.reels-shell .reel-item{height:100vh!important;min-height:100vh!important;}
.reels-topbar{display:grid!important;grid-template-columns:48px 1fr 48px!important;align-items:start!important;padding:16px 18px 0!important;height:76px!important;}
.reels-topbar .reel-back{grid-column:1!important;justify-self:start!important;position:relative!important;z-index:4!important;}
.reels-topbar .reel-upload-mini{grid-column:3!important;justify-self:end!important;position:relative!important;z-index:4!important;}
.reel-tabs{grid-column:1/4!important;position:absolute!important;left:50%!important;top:18px!important;transform:translateX(-50%)!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:12px!important;min-width:210px!important;max-width:80vw!important;text-align:center!important;white-space:nowrap!important;z-index:3!important;}
.reel-tabs a{display:inline-block!important;color:rgba(255,255,255,.66)!important;opacity:1!important;text-decoration:none!important;background:transparent!important;border:0!important;border-radius:0!important;padding:0 2px!important;font-size:21px!important;font-weight:850!important;line-height:1!important;}
.reel-tabs a.active{color:#fff!important;font-weight:1000!important;text-shadow:0 2px 14px rgba(0,0,0,.55)!important;}
.reel-tabs span{display:inline-block!important;color:rgba(255,255,255,.55)!important;font-size:19px!important;font-weight:700!important;line-height:1!important;margin:0 2px!important;}
.reel-caption{bottom:30px!important;}
.reel-side-actions{bottom:78px!important;}
.reel-meta{margin-top:6px!important;}
@media(max-width:430px){
  .reels-topbar{height:74px!important;padding:15px 16px 0!important;grid-template-columns:44px 1fr 44px!important;}
  .reel-tabs{top:18px!important;gap:10px!important;min-width:200px!important;}
  .reel-tabs a{font-size:20px!important;}
  .reel-tabs span{font-size:18px!important;}
  .reel-caption{bottom:28px!important;left:18px!important;right:86px!important;}
  .reel-side-actions{right:15px!important;bottom:76px!important;}
}

/* v47 reels final top tabs + ad placement fix */
.wp-phone.reels-shell .bottom-nav{display:none!important;}
.wp-phone.reels-shell .phone-screen{padding-bottom:0!important;}
.reels-topbar{
  position:absolute!important; top:0!important; left:0!important; right:0!important;
  height:74px!important; padding:0!important; display:block!important;
  background:linear-gradient(180deg,rgba(0,0,0,.42),rgba(0,0,0,0))!important;
  z-index:70!important; pointer-events:none!important;
}
.reels-topbar .reel-back{position:absolute!important;left:18px!important;top:19px!important;width:36px!important;height:36px!important;display:flex!important;align-items:center!important;justify-content:center!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;pointer-events:auto!important;z-index:75!important;}
.reels-topbar .reel-upload-mini{position:absolute!important;right:18px!important;top:19px!important;width:36px!important;height:36px!important;display:flex!important;align-items:center!important;justify-content:center!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;pointer-events:auto!important;z-index:75!important;}
.reels-topbar .reel-back svg,.reels-topbar .reel-upload-mini svg{width:28px!important;height:28px!important;stroke:#fff!important;filter:drop-shadow(0 2px 12px rgba(0,0,0,.55))!important;}
.reels-topbar .reel-tabs{
  position:absolute!important;left:50%!important;top:21px!important;transform:translateX(-50%)!important;
  width:max-content!important;min-width:0!important;max-width:calc(100vw - 130px)!important;
  display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;
  white-space:nowrap!important;text-align:center!important;z-index:74!important;pointer-events:auto!important;
}
.reels-topbar .reel-tabs a,.reels-topbar .reel-tabs span{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;
  color:rgba(255,255,255,.72)!important;font-size:21px!important;font-weight:800!important;line-height:1!important;text-decoration:none!important;opacity:1!important;
  text-shadow:0 2px 14px rgba(0,0,0,.7)!important;
}
.reels-topbar .reel-tabs a.active{color:#fff!important;font-weight:1000!important;font-size:23px!important;}
.reels-topbar .reel-tabs span{color:rgba(255,255,255,.58)!important;font-size:18px!important;font-weight:700!important;}
.reel-caption{bottom:34px!important;left:18px!important;right:86px!important;display:block!important;align-items:unset!important;}
.reel-meta.reel-meta-above{display:flex!important;align-items:center!important;gap:9px!important;margin:0 0 10px 0!important;flex-wrap:nowrap!important;}
.reel-meta.reel-meta-above .reel-ad-pill{background:rgba(0,0,0,.72)!important;color:#fff!important;border:1px solid rgba(255,255,255,.18)!important;border-radius:10px!important;height:34px!important;padding:0 14px!important;font-size:13px!important;font-weight:1000!important;display:inline-flex!important;align-items:center!important;}
.reel-meta.reel-meta-above .reel-learn{height:38px!important;min-width:132px!important;border-radius:16px!important;padding:0 18px!important;background:rgba(0,0,0,.52)!important;border:1px solid rgba(255,255,255,.35)!important;color:#fff!important;font-size:16px!important;font-weight:1000!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;}
.reel-meta.reel-meta-above .reel-more{width:48px!important;height:38px!important;border-radius:16px!important;padding:0!important;background:rgba(0,0,0,.52)!important;border:1px solid rgba(255,255,255,.35)!important;color:#fff!important;font-size:20px!important;font-weight:1000!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;}
.reel-author-line{margin:0 0 8px 0!important;}
.reel-caption p{margin:0!important;}
@media(max-width:430px){
  .reels-topbar .reel-tabs{top:21px!important;max-width:calc(100vw - 112px)!important;gap:9px!important;}
  .reels-topbar .reel-tabs a{font-size:20px!important;}
  .reels-topbar .reel-tabs a.active{font-size:22px!important;}
  .reels-topbar .reel-back{left:14px!important;}.reels-topbar .reel-upload-mini{right:14px!important;}
  .reel-caption{bottom:32px!important;left:17px!important;right:78px!important;}
  .reel-meta.reel-meta-above{gap:8px!important;margin-bottom:9px!important;}
  .reel-meta.reel-meta-above .reel-learn{min-width:118px!important;height:37px!important;padding:0 14px!important;font-size:15px!important;}
  .reel-meta.reel-meta-above .reel-ad-pill{height:33px!important;padding:0 12px!important;}
  .reel-meta.reel-meta-above .reel-more{width:44px!important;height:37px!important;}
}

/* v48 hard fix: center Following | For You and move Ad row above username */
.wp-phone.reels-shell .bottom-nav{display:none!important;visibility:hidden!important;height:0!important;padding:0!important;margin:0!important;border:0!important;}
.wp-phone.reels-shell .phone-screen{padding:0!important;background:#000!important;overflow:hidden!important;}
.wp-phone.reels-shell .flash{display:none!important;}
.wp-phone.reels-shell .reels-topbar-v48{
  position:absolute!important;top:0!important;left:0!important;right:0!important;height:86px!important;
  z-index:999!important;padding:0!important;background:linear-gradient(180deg,rgba(0,0,0,.38),rgba(0,0,0,0))!important;
  pointer-events:none!important;display:block!important;text-align:center!important;
}
.wp-phone.reels-shell .reels-topbar-v48 .reel-back,
.wp-phone.reels-shell .reels-topbar-v48 .reel-upload-mini{
  position:absolute!important;top:22px!important;width:36px!important;height:36px!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important;pointer-events:auto!important;z-index:1001!important;
}
.wp-phone.reels-shell .reels-topbar-v48 .reel-back{left:18px!important;}
.wp-phone.reels-shell .reels-topbar-v48 .reel-upload-mini{right:18px!important;}
.wp-phone.reels-shell .reels-topbar-v48 .reel-back svg,
.wp-phone.reels-shell .reels-topbar-v48 .reel-upload-mini svg{width:28px!important;height:28px!important;stroke:#fff!important;filter:drop-shadow(0 2px 12px rgba(0,0,0,.75))!important;}
.wp-phone.reels-shell .reels-topbar-v48 .reel-tabs-v48{
  position:absolute!important;left:50%!important;right:auto!important;top:25px!important;transform:translateX(-50%)!important;
  width:auto!important;min-width:max-content!important;max-width:calc(100vw - 126px)!important;
  display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;
  margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;white-space:nowrap!important;overflow:visible!important;text-align:center!important;pointer-events:auto!important;z-index:1000!important;
}
.wp-phone.reels-shell .reels-topbar-v48 .reel-tabs-v48 a,
.wp-phone.reels-shell .reels-topbar-v48 .reel-tabs-v48 span{
  position:static!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  margin:0!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;
  color:rgba(255,255,255,.78)!important;text-decoration:none!important;text-align:center!important;line-height:1!important;
  font-size:22px!important;font-weight:850!important;letter-spacing:-.02em!important;text-shadow:0 3px 14px rgba(0,0,0,.72)!important;
}
.wp-phone.reels-shell .reels-topbar-v48 .reel-tabs-v48 a.active{color:#fff!important;font-weight:1000!important;font-size:24px!important;}
.wp-phone.reels-shell .reels-topbar-v48 .reel-tabs-v48 span{font-size:19px!important;color:rgba(255,255,255,.6)!important;font-weight:700!important;}
.wp-phone.reels-shell .reel-caption-v48{
  position:absolute!important;left:18px!important;right:86px!important;bottom:28px!important;z-index:60!important;
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:8px!important;color:#fff!important;pointer-events:auto!important;
}
.wp-phone.reels-shell .reel-caption-v48 .reel-ad-row-v48{order:1!important;display:flex!important;align-items:center!important;gap:9px!important;margin:0!important;max-width:100%!important;}
.wp-phone.reels-shell .reel-caption-v48 .reel-author-line-v48{order:2!important;display:flex!important;align-items:center!important;gap:10px!important;margin:0!important;max-width:100%!important;}
.wp-phone.reels-shell .reel-caption-v48 .reel-caption-text-v48{order:3!important;margin:0!important;color:#fff!important;font-size:17px!important;line-height:1.25!important;font-weight:800!important;text-shadow:0 2px 12px rgba(0,0,0,.78)!important;max-width:100%!important;}
.wp-phone.reels-shell .reel-caption-v48 .reel-author-line-v48 strong{font-size:20px!important;line-height:1!important;font-weight:1000!important;color:#fff!important;text-shadow:0 2px 12px rgba(0,0,0,.8)!important;}
.wp-phone.reels-shell .reel-caption-v48 .reel-follow-btn{height:38px!important;min-width:96px!important;border-radius:22px!important;background:#1768ff!important;color:#fff!important;border:0!important;font-size:15px!important;font-weight:950!important;box-shadow:0 10px 26px rgba(0,74,255,.32)!important;}
.wp-phone.reels-shell .reel-caption-v48 .reel-ad-pill{height:34px!important;padding:0 15px!important;border-radius:11px!important;background:rgba(0,0,0,.72)!important;border:1px solid rgba(255,255,255,.15)!important;color:#fff!important;font-weight:1000!important;font-size:14px!important;display:inline-flex!important;align-items:center!important;}
.wp-phone.reels-shell .reel-caption-v48 .reel-learn{height:38px!important;min-width:132px!important;border-radius:16px!important;background:rgba(0,0,0,.52)!important;border:1px solid rgba(255,255,255,.35)!important;color:#fff!important;text-decoration:none!important;font-size:16px!important;font-weight:1000!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0 18px!important;}
.wp-phone.reels-shell .reel-caption-v48 .reel-more{height:38px!important;width:48px!important;border-radius:16px!important;background:rgba(0,0,0,.52)!important;border:1px solid rgba(255,255,255,.35)!important;color:#fff!important;text-decoration:none!important;font-size:20px!important;font-weight:1000!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;}
@media(max-width:430px){
  .wp-phone.reels-shell .reels-topbar-v48{height:82px!important;}
  .wp-phone.reels-shell .reels-topbar-v48 .reel-back{left:14px!important;top:20px!important;}
  .wp-phone.reels-shell .reels-topbar-v48 .reel-upload-mini{right:14px!important;top:20px!important;}
  .wp-phone.reels-shell .reels-topbar-v48 .reel-tabs-v48{top:25px!important;gap:9px!important;max-width:calc(100vw - 116px)!important;}
  .wp-phone.reels-shell .reels-topbar-v48 .reel-tabs-v48 a{font-size:20px!important;}
  .wp-phone.reels-shell .reels-topbar-v48 .reel-tabs-v48 a.active{font-size:22px!important;}
  .wp-phone.reels-shell .reel-caption-v48{left:17px!important;right:78px!important;bottom:28px!important;gap:7px!important;}
  .wp-phone.reels-shell .reel-caption-v48 .reel-learn{min-width:118px!important;padding:0 14px!important;font-size:15px!important;}
}


/* v49 FINAL HARD FIX - Reels tabs centered + ad row above name only */
body.app-bg .wp-phone.reels-shell .bottom-nav{display:none!important;visibility:hidden!important;height:0!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;box-shadow:none!important;}
body.app-bg .wp-phone.reels-shell .phone-screen{padding:0!important;background:#000!important;overflow:hidden!important;}
body.app-bg .wp-phone.reels-shell .flash{display:none!important;}
body.app-bg .wp-phone.reels-shell .wp-reels-top-final-v49{
  position:fixed!important;top:0!important;left:0!important;right:0!important;width:100vw!important;height:74px!important;z-index:2147483640!important;
  padding:0!important;margin:0!important;background:linear-gradient(180deg,rgba(0,0,0,.35),rgba(0,0,0,0))!important;display:block!important;pointer-events:none!important;
}
body.app-bg .wp-phone.reels-shell .wp-reels-top-final-v49 .reel-back,
body.app-bg .wp-phone.reels-shell .wp-reels-top-final-v49 .reel-upload-mini{
  position:absolute!important;top:21px!important;width:34px!important;height:34px!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important;display:flex!important;align-items:center!important;justify-content:center!important;z-index:2147483642!important;pointer-events:auto!important;color:#fff!important;
}
body.app-bg .wp-phone.reels-shell .wp-reels-top-final-v49 .reel-back{left:18px!important;}
body.app-bg .wp-phone.reels-shell .wp-reels-top-final-v49 .reel-upload-mini{right:18px!important;}
body.app-bg .wp-phone.reels-shell .wp-reels-top-final-v49 .reel-back svg,
body.app-bg .wp-phone.reels-shell .wp-reels-top-final-v49 .reel-upload-mini svg{width:28px!important;height:28px!important;stroke:#fff!important;filter:drop-shadow(0 2px 12px rgba(0,0,0,.75))!important;}
body.app-bg .wp-phone.reels-shell .wp-reels-top-final-v49 .wp-reel-tabs-final-v49{
  position:absolute!important;top:21px!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;
  width:max-content!important;min-width:0!important;max-width:none!important;height:34px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:12px!important;
  margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;white-space:nowrap!important;overflow:visible!important;text-align:center!important;pointer-events:auto!important;z-index:2147483641!important;
}
body.app-bg .wp-phone.reels-shell .wp-reels-top-final-v49 .wp-reel-tabs-final-v49 a,
body.app-bg .wp-phone.reels-shell .wp-reels-top-final-v49 .wp-reel-tabs-final-v49 span{
  position:static!important;float:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:auto!important;height:auto!important;min-width:0!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;
  color:rgba(255,255,255,.76)!important;text-decoration:none!important;text-align:center!important;line-height:1!important;font-size:22px!important;font-weight:850!important;letter-spacing:-.02em!important;text-shadow:0 3px 14px rgba(0,0,0,.75)!important;
}
body.app-bg .wp-phone.reels-shell .wp-reels-top-final-v49 .wp-reel-tabs-final-v49 a.active{color:#fff!important;font-size:24px!important;font-weight:1000!important;}
body.app-bg .wp-phone.reels-shell .wp-reels-top-final-v49 .wp-reel-tabs-final-v49 span{color:rgba(255,255,255,.62)!important;font-size:20px!important;font-weight:700!important;}
body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49{
  position:absolute!important;left:18px!important;right:86px!important;bottom:28px!important;z-index:2147483600!important;color:#fff!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:8px!important;pointer-events:auto!important;
}
body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .wp-reel-ad-row-final-v49{display:flex!important;order:1!important;align-items:center!important;gap:9px!important;margin:0 0 2px 0!important;max-width:100%!important;}
body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .wp-reel-author-final-v49{display:flex!important;order:2!important;align-items:center!important;gap:10px!important;margin:0!important;max-width:100%!important;}
body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .wp-reel-caption-text-final-v49{display:block!important;order:3!important;margin:0!important;color:#fff!important;font-size:17px!important;line-height:1.25!important;font-weight:800!important;text-shadow:0 2px 12px rgba(0,0,0,.78)!important;max-width:100%!important;}
body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .wp-reel-author-final-v49 strong{font-size:20px!important;line-height:1!important;font-weight:1000!important;color:#fff!important;text-shadow:0 2px 12px rgba(0,0,0,.8)!important;}
body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-follow-btn{height:38px!important;min-width:96px!important;border-radius:22px!important;background:#1768ff!important;color:#fff!important;border:0!important;font-size:15px!important;font-weight:950!important;box-shadow:0 10px 26px rgba(0,74,255,.32)!important;}
body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-ad-pill{height:34px!important;padding:0 15px!important;border-radius:11px!important;background:rgba(0,0,0,.72)!important;border:1px solid rgba(255,255,255,.15)!important;color:#fff!important;font-weight:1000!important;font-size:14px!important;display:inline-flex!important;align-items:center!important;}
body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-learn{height:38px!important;min-width:132px!important;border-radius:16px!important;background:rgba(0,0,0,.52)!important;border:1px solid rgba(255,255,255,.35)!important;color:#fff!important;text-decoration:none!important;font-size:16px!important;font-weight:1000!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0 18px!important;}
body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-more{height:38px!important;width:48px!important;border-radius:16px!important;background:rgba(0,0,0,.52)!important;border:1px solid rgba(255,255,255,.35)!important;color:#fff!important;text-decoration:none!important;font-size:20px!important;font-weight:1000!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;}
@media(max-width:430px){
  body.app-bg .wp-phone.reels-shell .wp-reels-top-final-v49{height:74px!important;}
  body.app-bg .wp-phone.reels-shell .wp-reels-top-final-v49 .reel-back{left:14px!important;top:20px!important;}
  body.app-bg .wp-phone.reels-shell .wp-reels-top-final-v49 .reel-upload-mini{right:14px!important;top:20px!important;}
  body.app-bg .wp-phone.reels-shell .wp-reels-top-final-v49 .wp-reel-tabs-final-v49{top:21px!important;gap:10px!important;}
  body.app-bg .wp-phone.reels-shell .wp-reels-top-final-v49 .wp-reel-tabs-final-v49 a{font-size:20px!important;}
  body.app-bg .wp-phone.reels-shell .wp-reels-top-final-v49 .wp-reel-tabs-final-v49 a.active{font-size:22px!important;}
  body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49{left:17px!important;right:78px!important;bottom:28px!important;gap:7px!important;}
  body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-learn{min-width:118px!important;padding:0 14px!important;font-size:15px!important;}
}

/* v50 Auth Screens Exact Reference Patch: Splash, Welcome, Sign Up, Login only */
.wp-phone.auth-v50-shell{background:#fff!important;max-width:430px!important;min-height:100vh!important;box-shadow:0 0 0 1px rgba(0,0,0,.04)!important;overflow:hidden!important}.wp-phone.auth-v50-shell .phone-screen{padding-bottom:0!important;background:#fff!important;min-height:100vh!important;overflow:hidden!important}.auth-v50{min-height:100vh;width:100%;position:relative;overflow:hidden}.auth-status-v50{height:40px;display:flex;align-items:center;justify-content:space-between;padding:0 30px;font-size:12px;font-weight:900;color:#fff;letter-spacing:.02em;position:relative;z-index:4}.auth-status-v50.dark{color:#111827}.auth-bars-v50{font-size:11px;letter-spacing:1px;opacity:.9}.auth-full-link-v50{position:absolute;inset:0;z-index:3}.auth-splash-v50{background:radial-gradient(circle at 82% 18%,rgba(142,54,255,.52),transparent 34%),radial-gradient(circle at 28% 92%,rgba(20,122,255,.44),transparent 40%),linear-gradient(145deg,#050625 0%,#11156d 44%,#6b22d9 100%);color:#fff;text-align:center;display:flex;flex-direction:column;align-items:center}.auth-splash-v50:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(255,255,255,.08) 0 1px,transparent 1px 100%),radial-gradient(circle at 76% 88%,rgba(99,102,241,.2),transparent 35%);background-size:34px 34px,auto;opacity:.3}.splash-glow-v50{position:absolute;width:260px;height:260px;border-radius:50%;left:50%;top:17%;transform:translateX(-50%);background:radial-gradient(circle,rgba(104,69,255,.35),transparent 62%);filter:blur(2px)}.palm-logo-v50{display:grid;place-items:center;border-radius:50%;background:rgba(4,12,44,.64);border:3px solid rgba(128,132,255,.92);box-shadow:0 0 0 12px rgba(84,42,255,.12),0 22px 60px rgba(0,0,0,.38)}.palm-logo-v50 span{font-size:56px;line-height:1}.splash-logo-v50{width:128px;height:128px;margin-top:132px;position:relative;z-index:2}.auth-splash-v50 h1{font-size:38px;line-height:1;margin:30px 0 6px;font-weight:1000;letter-spacing:-.04em;position:relative;z-index:2}.tagline-v50{font-size:17px;font-weight:750;color:rgba(255,255,255,.92);margin:0 0 56px;position:relative;z-index:2}.auth-splash-v50 h2{font-size:23px;line-height:1.24;font-weight:950;letter-spacing:-.02em;margin:0;position:relative;z-index:2}.auth-progress-v50{position:absolute;left:58px;right:58px;bottom:42px;height:5px;background:rgba(255,255,255,.26);border-radius:50px;z-index:4;overflow:hidden}.auth-progress-v50 b{display:block;width:42%;height:100%;background:#fff;border-radius:inherit}.auth-white-v50{background:#fff;color:#0b1328}.auth-welcome-v50{padding:0 30px;text-align:center;display:flex;flex-direction:column;align-items:center}.welcome-copy-v50{margin-top:44px}.welcome-copy-v50 h1{font-size:26px;line-height:1.05;margin:0 0 12px;font-weight:950;color:#11182c;letter-spacing:-.03em}.welcome-copy-v50 h1 span{font-size:40px;color:#174adf;display:block;margin-top:4px}.welcome-copy-v50 p{font-size:17px;line-height:1.45;color:#11182c;margin:0;font-weight:600}.welcome-illustration-v50{width:300px;height:310px;margin:12px auto 6px;position:relative}.welcome-illustration-v50 .coin{position:absolute;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#ffbd39;color:#fff;font-style:normal;font-size:22px;font-weight:1000;box-shadow:0 8px 18px rgba(245,158,11,.25)}.welcome-illustration-v50 .c1{left:8px;top:65px}.welcome-illustration-v50 .c2{right:6px;top:52px}.welcome-illustration-v50 .bubble{position:absolute;border-radius:50%;background:#e8efff;border:4px solid #d8e4ff}.welcome-illustration-v50 .b1{width:18px;height:18px;left:58px;top:35px}.welcome-illustration-v50 .b2{width:16px;height:16px;right:70px;top:20px}.welcome-illustration-v50 .person{position:absolute;bottom:0;width:112px;height:240px}.welcome-illustration-v50 .man{left:54px}.welcome-illustration-v50 .woman{right:44px}.welcome-illustration-v50 .head{position:absolute;left:37px;top:18px;width:48px;height:56px;border-radius:50% 50% 44% 44%;background:#f3ad79;z-index:3}.welcome-illustration-v50 .man .head:before{content:"";position:absolute;left:5px;top:-8px;width:40px;height:22px;border-radius:50%;background:#1f2937}.welcome-illustration-v50 .woman .hair{position:absolute;left:23px;top:2px;width:67px;height:95px;border-radius:45px 45px 24px 24px;background:#1e2330;z-index:2}.welcome-illustration-v50 .woman .head{left:36px;top:24px}.welcome-illustration-v50 .body{position:absolute;left:15px;top:82px;width:88px;height:135px;border-radius:30px 30px 8px 8px;z-index:1}.welcome-illustration-v50 .man .body{background:#6344d7}.welcome-illustration-v50 .woman .body{background:#f179a8}.welcome-illustration-v50 .person:after{content:"";position:absolute;left:22px;bottom:0;width:74px;height:70px;background:#324f91;border-radius:12px 12px 0 0}.welcome-illustration-v50 .woman:after{background:#2f6aa9}.welcome-illustration-v50 .phone{position:absolute;right:0;top:92px;width:26px;height:48px;background:#101827;border-radius:6px;transform:rotate(-9deg);z-index:4}.welcome-illustration-v50 .man .phone{left:0;right:auto;transform:rotate(10deg)}.welcome-illustration-v50 .leaf{position:absolute;bottom:0;width:42px;height:70px;background:#b5d4ff;border-radius:80% 10%;opacity:.65}.welcome-illustration-v50 .l1{left:2px;transform:rotate(-18deg)}.welcome-illustration-v50 .l2{right:0;transform:rotate(18deg) scaleX(-1)}.auth-dots-v50{display:flex;justify-content:center;gap:8px;height:16px;margin:2px 0 42px}.auth-dots-v50 b,.auth-dots-v50 span{display:block;width:8px;height:8px;border-radius:50%;background:#d9deea}.auth-dots-v50 b{width:20px;border-radius:20px;background:#1a59df}.auth-btn-v50{width:100%;height:58px;border:0;border-radius:19px;background:linear-gradient(95deg,#0788ff 0%,#6644f7 48%,#b233dc 100%);color:#fff;font-size:17px;font-weight:950;display:flex;align-items:center;justify-content:center;box-shadow:0 18px 38px rgba(74,91,238,.22);text-decoration:none}.auth-form-v50{padding:0 31px}.form-title-v50{text-align:center;margin-top:48px;margin-bottom:28px}.form-title-v50 h1{font-size:25px;line-height:1.14;color:#111827;margin:0 0 9px;font-weight:1000;letter-spacing:-.025em}.form-title-v50 p{margin:0;color:#667085;font-size:14px;font-weight:700}.login-title-v50{margin-top:88px;margin-bottom:42px}.login-title-v50 h1{font-size:27px;color:#4537d8}.login-title-v50 h1 span{font-size:21px}.auth-card-form-v50{display:block}.auth-card-form-v50 input[type=text],.auth-card-form-v50 input[type=email],.auth-card-form-v50 input[type=password],.auth-card-form-v50 input:not([type]){width:100%;height:56px;margin:0 0 14px;border:1px solid #edf0f6;border-radius:14px;background:#fff;padding:0 17px;font-size:14px;color:#111827;outline:none;box-shadow:0 8px 18px rgba(14,24,44,.035)}.auth-card-form-v50 input::placeholder{color:#98a2b3}.auth-password-v50{position:relative}.auth-password-v50 input{padding-right:48px!important}.auth-password-v50 span{position:absolute;right:16px;top:15px;color:#7d8795;font-weight:900;font-size:20px;line-height:1}.terms-v50{display:flex;gap:9px;align-items:flex-start;margin:6px 0 18px;color:#30374a;font-size:13px;font-weight:700;line-height:1.36}.terms-v50 input{width:15px;height:15px;margin-top:2px;accent-color:#155cf7}.terms-v50 b{color:#3440b8}.or-v50{display:flex;align-items:center;gap:12px;justify-content:center;margin:20px 0 16px;color:#8a91a3;font-size:13px;font-weight:750}.or-v50 span{height:1px;flex:1;background:#eef1f6}.auth-socials-v50{display:flex;justify-content:center;gap:28px}.auth-socials-v50 button{width:62px;height:62px;border-radius:50%;border:1px solid #f0f2f7;background:#fff;display:grid;place-items:center;box-shadow:0 12px 30px rgba(22,30,49,.08);font-size:26px;font-weight:1000}.auth-socials-v50 .google{color:#4285f4}.auth-socials-v50 .facebook{color:#1877f2;font-family:Arial,sans-serif}.auth-socials-v50 .apple{color:#05060a;font-size:30px}.forgot-v50{display:block;text-align:right;color:#4c3ed9;font-weight:900;font-size:13px;margin:2px 2px 28px}.switch-auth-v50{text-align:center;color:#7b8495;font-weight:700}.switch-auth-v50 a{color:#5b36e8;font-weight:950}.signup-v50 .auth-btn-v50{margin-top:4px}.login-v50 .auth-btn-v50{margin-top:0}.signup-v50 .auth-socials-v50 button{width:56px;height:56px}.login-v50 .auth-socials-v50{gap:30px}.login-v50 .auth-socials-v50 button{width:64px;height:64px}
@media(max-width:430px){.auth-status-v50{padding:0 24px}.splash-logo-v50{margin-top:118px}.auth-splash-v50 h1{font-size:36px}.auth-splash-v50 h2{font-size:22px}.auth-welcome-v50{padding:0 28px}.welcome-copy-v50{margin-top:36px}.welcome-illustration-v50{width:286px;height:300px}.auth-form-v50{padding:0 28px}.form-title-v50{margin-top:42px}.login-title-v50{margin-top:78px}.auth-card-form-v50 input[type=text],.auth-card-form-v50 input[type=email],.auth-card-form-v50 input[type=password],.auth-card-form-v50 input:not([type]){height:54px}}

/* v51: exact first two authentication screens only */
.auth-v51{position:relative;min-height:100vh;width:100%;overflow:hidden;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.auth-v51 *{box-sizing:border-box}.auth-status-v51{height:44px;padding:0 29px;display:flex;align-items:center;justify-content:space-between;font-size:13px;font-weight:900;color:#fff;position:relative;z-index:6}.auth-status-v51 span:first-child{letter-spacing:-.02em}.auth-status-dark-v51{color:#101827}.auth-device-v51{display:inline-flex;align-items:center;gap:5px}.auth-device-v51 i:nth-child(1){width:18px;height:11px;background:linear-gradient(to top,#fff 0 25%,transparent 25% 100%);border-radius:2px;box-shadow:5px -2px 0 -3px #fff,9px -4px 0 -3px #fff,13px -6px 0 -3px #fff}.auth-device-v51 i:nth-child(2){width:15px;height:11px;border:3px solid #fff;border-top-color:transparent;border-left-color:transparent;transform:rotate(-45deg);border-radius:2px}.auth-device-v51 i:nth-child(3){width:23px;height:11px;border:3px solid #fff;border-radius:3px;position:relative}.auth-device-v51 i:nth-child(3):after{content:"";position:absolute;right:-6px;top:2px;width:3px;height:4px;background:#fff;border-radius:1px}.auth-device-v51.dark i:nth-child(1){background:linear-gradient(to top,#111827 0 25%,transparent 25% 100%);box-shadow:5px -2px 0 -3px #111827,9px -4px 0 -3px #111827,13px -6px 0 -3px #111827}.auth-device-v51.dark i:nth-child(2){border-right-color:#111827;border-bottom-color:#111827}.auth-device-v51.dark i:nth-child(3){border-color:#111827}.auth-device-v51.dark i:nth-child(3):after{background:#111827}.auth-full-link-v51{position:absolute;inset:0;z-index:5}.auth-splash-v51{color:#fff;text-align:center;display:flex;flex-direction:column;align-items:center;background:radial-gradient(circle at 82% 19%,rgba(142,68,255,.56),transparent 31%),radial-gradient(circle at 82% 72%,rgba(92,35,190,.56),transparent 38%),radial-gradient(circle at 20% 24%,rgba(18,91,255,.34),transparent 38%),linear-gradient(150deg,#020719 0%,#06114a 38%,#25187b 70%,#6419c4 100%)}.auth-splash-v51:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 88% 27%,rgba(255,255,255,.08),transparent 18%),radial-gradient(circle at 70% 83%,rgba(255,255,255,.08),transparent 24%);opacity:.95}.auth-splash-v51:after{content:"";position:absolute;right:-95px;top:80px;width:350px;height:620px;border-radius:50%;border:1px solid rgba(255,255,255,.06);background:linear-gradient(90deg,transparent,rgba(255,255,255,.025));transform:rotate(-10deg)}.splash-orb-v51{position:absolute;border-radius:50%;filter:blur(1px);opacity:.55}.orb-one{width:230px;height:230px;top:108px;left:50%;transform:translateX(-50%);background:radial-gradient(circle,rgba(67,99,255,.34),transparent 66%)}.orb-two{width:250px;height:250px;right:-30px;bottom:160px;background:radial-gradient(circle,rgba(137,45,255,.28),transparent 70%)}.palm-logo-v51{display:grid;place-items:center;border-radius:50%;position:relative;z-index:3}.splash-logo-v51{width:144px;height:144px;margin-top:118px;background:rgba(5,15,58,.58);border:5px solid transparent;background-clip:padding-box;box-shadow:0 0 0 3px rgba(97,155,255,.68),0 0 0 7px rgba(130,80,255,.52),0 20px 60px rgba(0,0,0,.45)}.splash-logo-v51:after{content:"";position:absolute;inset:-7px;border-radius:50%;border:4px solid transparent;border-top-color:#9ee5ff;border-right-color:#8a5cf6;transform:rotate(32deg)}.splash-logo-v51 svg{width:96px;height:96px;filter:drop-shadow(0 8px 12px rgba(0,0,0,.2))}.auth-splash-v51 h1{position:relative;z-index:3;margin:34px 0 4px;font-size:42px;line-height:1;font-weight:1000;letter-spacing:-.045em;color:#fff}.tagline-v51{position:relative;z-index:3;margin:0;color:rgba(255,255,255,.93);font-size:17px;font-weight:850;letter-spacing:.01em}.auth-splash-v51 h2{position:relative;z-index:3;margin:72px 0 0;font-size:23px;line-height:1.28;font-weight:1000;letter-spacing:-.025em;color:#fff}.auth-progress-v51{position:absolute;left:58px;right:58px;bottom:44px;height:5px;border-radius:40px;background:rgba(255,255,255,.22);z-index:6;overflow:hidden}.auth-progress-v51 b{display:block;width:45%;height:100%;background:#fff;border-radius:inherit}.auth-welcome-v51{background:#fff;color:#0b1328;text-align:center;padding:0 30px;display:flex;flex-direction:column;align-items:center}.welcome-copy-v51{margin-top:60px}.welcome-copy-v51 h1{margin:0;color:#171a25;font-size:27px;line-height:1.08;font-weight:1000;letter-spacing:-.025em}.welcome-copy-v51 h1 span{display:block;margin-top:5px;color:#1554d9;font-size:44px;line-height:1}.welcome-copy-v51 p{margin:18px 0 0;color:#1d2430;font-size:18px;line-height:1.43;font-weight:650}.welcome-illustration-v51{width:315px;height:330px;margin:28px auto 0;position:relative}.welcome-illustration-v51 .coin{position:absolute;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#ffd15a,#ff9f1c);color:#fff;font-size:23px;font-weight:1000;font-style:normal;box-shadow:0 9px 18px rgba(245,158,11,.22);z-index:5}.welcome-illustration-v51 .coin-left{left:7px;top:80px}.welcome-illustration-v51 .coin-right{right:5px;top:70px}.welcome-illustration-v51 .dot{position:absolute;border-radius:50%;background:#e4ebff;border:3px solid #d6e0ff}.welcome-illustration-v51 .d1{width:15px;height:15px;left:62px;top:35px}.welcome-illustration-v51 .d2{width:17px;height:17px;right:68px;top:34px}.welcome-illustration-v51 .d3{width:12px;height:12px;left:102px;top:105px}.welcome-illustration-v51 .d4{width:11px;height:11px;right:98px;top:112px}.illus-person{position:absolute;bottom:0;width:126px;height:275px}.illus-man{left:43px}.illus-woman{right:29px}.illus-person .face{position:absolute;left:44px;top:34px;width:52px;height:60px;border-radius:48% 48% 44% 44%;background:#f3ad7a;z-index:5}.illus-person .hair{position:absolute;z-index:6}.illus-man .hair{left:42px;top:24px;width:56px;height:28px;background:#20242e;border-radius:50% 50% 34% 34%}.illus-woman .hair{left:27px;top:18px;width:78px;height:112px;background:#20242e;border-radius:48px 48px 30px 30px}.illus-woman .face{top:42px}.illus-person .body{position:absolute;left:26px;top:103px;width:88px;height:132px;border-radius:30px 30px 8px 8px;z-index:3}.illus-man .body{background:linear-gradient(160deg,#7350e3,#5530c1)}.illus-woman .body{background:linear-gradient(160deg,#ff8db2,#ed6496)}.illus-person .arm{position:absolute;width:21px;height:96px;background:#f3ad7a;border-radius:18px;top:113px;z-index:4}.illus-person .a1{left:5px;transform:rotate(15deg)}.illus-person .a2{right:1px;transform:rotate(-14deg)}.illus-person .phone{position:absolute;width:25px;height:48px;background:#111827;border-radius:6px;top:150px;z-index:6;box-shadow:inset 0 0 0 2px rgba(255,255,255,.08)}.illus-man .phone{left:2px;transform:rotate(11deg)}.illus-woman .phone{right:0;transform:rotate(-9deg)}.illus-person .leg{position:absolute;bottom:0;top:224px;width:42px;background:#2f6ea8;border-radius:10px 10px 0 0;z-index:2}.illus-person .l1{left:34px}.illus-person .l2{right:28px}.illus-man .leg{background:#334c88}.leaf-v51{position:absolute;bottom:0;width:48px;height:78px;background:#c5dbff;border-radius:80% 10%;opacity:.7}.leaf-one{left:0;transform:rotate(-18deg)}.leaf-two{right:4px;transform:rotate(18deg) scaleX(-1)}.auth-dots-v51{display:flex;gap:9px;justify-content:center;align-items:center;margin:20px 0 42px;height:12px}.auth-dots-v51 b,.auth-dots-v51 span{display:block;height:8px;border-radius:99px;background:#dde2ee}.auth-dots-v51 b{width:21px;background:#155ee8}.auth-dots-v51 span{width:8px}.auth-btn-v51{width:100%;height:58px;border-radius:19px;border:0;background:linear-gradient(92deg,#0789ff 0%,#673df3 54%,#b432dc 100%);display:flex;align-items:center;justify-content:center;text-decoration:none;color:#fff;font-size:18px;font-weight:950;box-shadow:0 18px 42px rgba(84,82,238,.22)}
@media(max-width:430px){.splash-logo-v51{margin-top:108px;width:136px;height:136px}.splash-logo-v51 svg{width:90px;height:90px}.auth-splash-v51 h1{font-size:40px}.auth-splash-v51 h2{margin-top:62px}.welcome-copy-v51{margin-top:48px}.welcome-copy-v51 h1 span{font-size:40px}.welcome-illustration-v51{width:300px;height:318px;margin-top:24px}.auth-dots-v51{margin-top:16px;margin-bottom:38px}}

/* v54 Home Feed + Settings patch: reference-style clean home and functional saved settings */
.home-modern{padding:18px 16px 106px!important;background:#fff!important;min-height:100vh!important;color:#071229!important}.home-topbar{height:48px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;margin-bottom:18px!important}.home-menu-btn{width:40px!important;height:40px!important;display:grid!important;place-items:center!important;gap:0!important;border:0!important;background:transparent!important}.home-menu-btn span{width:26px!important;height:3px!important;background:#111827!important;border-radius:99px!important;display:block!important;margin:2px 0!important}.home-brand{display:flex!important;align-items:center!important;gap:8px!important;color:#061429!important;text-decoration:none!important;font-size:22px!important;font-weight:1000!important;letter-spacing:-.8px!important}.home-brand-palm{width:30px!important;height:30px!important;display:grid!important;place-items:center!important}.home-brand-palm svg{width:30px!important;height:30px!important}.home-top-actions{display:flex!important;align-items:center!important;gap:14px!important}.home-search-btn,.home-notify-btn{width:38px!important;height:38px!important;border-radius:50%!important;background:#fff!important;color:#071229!important;display:grid!important;place-items:center!important;position:relative!important;text-decoration:none!important}.home-search-btn svg,.home-notify-btn svg{width:28px!important;height:28px!important;fill:currentColor!important}.home-notify-btn i{position:absolute!important;right:3px!important;top:4px!important;width:10px!important;height:10px!important;background:#ff3b55!important;border-radius:50%!important;border:2px solid #fff!important}.home-story-strip{display:flex!important;gap:18px!important;overflow-x:auto!important;padding:8px 0 17px!important;margin:0 -4px!important;scrollbar-width:none!important}.home-story-strip::-webkit-scrollbar{display:none!important}.home-story{min-width:74px!important;display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important;text-decoration:none!important;color:#111827!important;gap:8px!important;font-weight:800!important}.story-ring{width:67px!important;height:67px!important;border-radius:50%!important;padding:3px!important;background:linear-gradient(135deg,#315fff,#ff4fa1,#ffb35c)!important;display:grid!important;place-items:center!important;position:relative!important}.story-ring .avatar{width:59px!important;height:59px!important;border:3px solid #fff!important}.story-ring.story-own{background:linear-gradient(135deg,#1d61ff,#a23bff)!important;color:#fff!important}.story-ring.story-own svg{width:43px!important;height:43px!important}.story-ring.story-own i{position:absolute!important;right:1px!important;bottom:4px!important;width:18px!important;height:18px!important;border-radius:50%!important;background:#31c8ff!important;border:3px solid #fff!important}.home-story b{font-size:13px!important;line-height:1.15!important;max-width:82px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.home-feed-tabs{height:56px!important;display:grid!important;grid-template-columns:repeat(3,1fr)!important;background:#f6f7fb!important;border-radius:18px!important;padding:5px!important;margin-bottom:20px!important;box-shadow:inset 0 0 0 1px #eef1f7!important}.home-feed-tabs a{height:46px!important;border-radius:14px!important;display:grid!important;place-items:center!important;text-decoration:none!important;color:#6b7280!important;font-size:18px!important;font-weight:1000!important}.home-feed-tabs a.active{background:#fff!important;color:#111827!important;box-shadow:0 10px 26px rgba(15,23,42,.09)!important}.home-post-list .post-card{border-radius:0!important;background:#fff!important;box-shadow:none!important;border:0!important;padding:0!important;margin:0 0 28px!important;overflow:hidden!important}.home-post-list .post-head{padding:0 0 12px!important;display:flex!important;align-items:center!important;gap:12px!important}.home-post-list .post-head .avatar{width:48px!important;height:48px!important}.home-post-list .post-head h3{font-size:19px!important;line-height:1.1!important;margin:0 0 2px!important}.home-post-list .post-head .muted{font-size:13px!important;color:#9aa1b2!important;margin:0!important}.home-post-list .post-head .chip{margin-left:auto!important;border:0!important;background:transparent!important;color:#111827!important;font-size:28px!important;width:34px!important;overflow:hidden!important;white-space:nowrap!important}.home-post-list .post-head .chip::before{content:'•••';font-size:26px!important;letter-spacing:1px!important}.home-post-list .post-head .chip{font-size:0!important}.home-post-list .post-media-open{display:block!important;border-radius:22px!important;overflow:hidden!important;background:#eef2f7!important}.home-post-list .post-img,.home-post-list .uploaded-post-img,.home-post-list .post-video{border-radius:22px!important;min-height:245px!important;height:245px!important;object-fit:cover!important;width:100%!important}.home-post-list .uploaded-post-img img{width:100%!important;height:100%!important;object-fit:cover!important}.home-post-list .media-placeholder{min-height:245px!important;height:245px!important;border-radius:22px!important;background:linear-gradient(135deg,#1e385e,#a4d7ef,#1e6f44)!important}.home-post-list .post-card p{font-size:18px!important;line-height:1.45!important;color:#303744!important}.home-post-list .actions{display:grid!important;grid-template-columns:repeat(4,1fr)!important;padding:12px 0 0!important;border:0!important;background:#fff!important;gap:2px!important}.home-post-list .actions .btn,.home-post-list .actions .chip{background:#fff!important;border:0!important;color:#111827!important;font-size:15px!important;font-weight:800!important;box-shadow:none!important;padding:10px!important}.home-modern + .bottom-nav,.wp-phone .bottom-nav{z-index:30!important}

.settings-screen-clean{background:#fff!important;min-height:100vh!important;padding:16px 18px 104px!important;color:#111827!important}.settings-top{height:56px!important;display:grid!important;grid-template-columns:46px 1fr 46px!important;align-items:center!important;margin-bottom:36px!important}.settings-top h1{margin:0!important;text-align:center!important;font-size:23px!important;font-weight:1000!important;color:#111827!important}.settings-back{width:44px!important;height:44px!important;display:grid!important;place-items:center!important;text-decoration:none!important;color:#111827!important;font-size:44px!important;line-height:1!important;font-weight:500!important}.settings-list-clean,.settings-card-form{display:flex!important;flex-direction:column!important;gap:0!important}.settings-row{display:flex!important;align-items:center!important;gap:18px!important;min-height:72px!important;text-decoration:none!important;color:#111827!important;background:#fff!important;border:0!important;border-bottom:1px solid rgba(15,23,42,.06)!important;padding:0!important}.settings-row .settings-ico{width:44px!important;height:44px!important;min-width:44px!important;border-radius:14px!important;color:#6b7280!important;display:grid!important;place-items:center!important;font-size:24px!important}.settings-row .settings-ico svg{width:26px!important;height:26px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important}.settings-text{display:flex!important;flex-direction:column!important;gap:4px!important;flex:1!important;min-width:0!important}.settings-text b{font-size:21px!important;font-weight:900!important;color:#2b313d!important;line-height:1.1!important}.settings-text small{font-size:12px!important;color:#9aa1b2!important;font-weight:700!important}.settings-row em{font-style:normal!important;color:#9aa1b2!important;font-size:34px!important;line-height:1!important}.settings-form-row{width:100%!important;cursor:pointer!important}.wp-switch{width:62px!important;height:34px!important;border-radius:999px!important;background:#e9edf5!important;display:block!important;position:relative!important;min-width:62px!important}.wp-switch input{position:absolute!important;opacity:0!important;pointer-events:none!important}.wp-switch span{position:absolute!important;inset:0!important;border-radius:999px!important;background:#e9edf5!important;transition:.2s!important}.wp-switch span:after{content:''!important;position:absolute!important;width:28px!important;height:28px!important;left:3px!important;top:3px!important;border-radius:50%!important;background:#fff!important;box-shadow:0 3px 10px rgba(15,23,42,.18)!important;transition:.2s!important}.wp-switch input:checked + span{background:#245bff!important}.wp-switch input:checked + span:after{transform:translateX(28px)!important}.language-row select{border:0!important;background:#fff!important;color:#9aa1b2!important;font-size:18px!important;font-weight:800!important;max-width:120px!important;outline:none!important}.logout-row{margin-top:20px!important;border-bottom:0!important;color:#e34b68!important}.logout-row .settings-ico,.logout-row b{color:#e34b68!important}.settings-card-form{padding:0 2px!important}.settings-card-form .field{margin:18px 0!important}.settings-card-form .field input,.settings-card-form .field textarea{width:100%!important;border:1px solid #e6eaf2!important;background:#f9fbff!important;border-radius:18px!important;padding:16px!important;font-size:16px!important}.settings-save-btn{margin-top:24px!important;height:58px!important;border-radius:20px!important;font-size:18px!important;font-weight:1000!important}

/* v55 Professional ad cards and mid-roll video ads */
.wp-pro-ad{margin:20px 18px;padding:18px;border-radius:28px;background:linear-gradient(180deg,#ffffff,#fbfcff);box-shadow:0 20px 55px rgba(26,37,79,.12);border:1px solid rgba(226,232,246,.95);overflow:hidden;position:relative}.wp-pro-ad:before{content:"";position:absolute;inset:0 0 auto 0;height:4px;background:linear-gradient(90deg,#7038ff,#09aaff,#29d7a4)}.wp-ad-label{display:flex;align-items:center;gap:8px;color:#8a94a8;font-size:14px;font-weight:800;text-transform:capitalize}.wp-ad-label span{background:#fff4c7;color:#956800;border-radius:999px;padding:6px 10px;font-size:12px}.wp-ad-body{display:grid;grid-template-columns:1fr 160px;gap:14px;align-items:center;margin-top:10px}.wp-ad-copy h3{margin:0 0 8px;font-size:25px;line-height:1.05;color:#0b1328}.wp-ad-copy p{margin:0;color:#737d93;font-weight:700;line-height:1.35}.wp-ad-media{height:124px;border-radius:20px;overflow:hidden;background:linear-gradient(135deg,#79d9ff,#6b39ff 55%,#ff8b65);display:flex;align-items:center;justify-content:center}.wp-ad-media-img,.wp-ad-media-video{width:100%;height:100%;object-fit:cover;display:block}.wp-ad-gradient{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.wp-ad-gradient span{font-size:38px;font-weight:1000;color:#fff;letter-spacing:.08em}.wp-ad-code{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.wp-ad-footer{display:flex;align-items:center;gap:12px;margin-top:16px}.wp-ad-cta{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 24px;border-radius:18px;text-decoration:none;color:#fff;font-weight:1000;font-size:18px;background:linear-gradient(135deg,#713cff,#05b8ef);box-shadow:0 16px 30px rgba(30,130,245,.24)}.wp-ad-safe{margin-left:auto;background:#eafcf3;color:#087b49;border-radius:999px;padding:12px 16px;font-weight:900}.post-video-shell{position:relative;overflow:hidden}.wp-midroll{position:absolute;inset:0;background:rgba(4,8,20,.72);backdrop-filter:blur(8px);display:none;align-items:center;justify-content:center;z-index:8;padding:18px}.wp-midroll.show{display:flex}.midroll-panel{width:min(92%,360px);background:#071024;border-radius:24px;box-shadow:0 30px 70px rgba(0,0,0,.45);overflow:hidden;border:1px solid rgba(255,255,255,.16);color:#fff}.midroll-head{height:48px;display:flex;align-items:center;justify-content:space-between;padding:0 12px;font-weight:900;background:rgba(255,255,255,.08)}.midroll-skip{border:0;border-radius:999px;background:rgba(255,255,255,.16);color:#fff;font-weight:900;padding:8px 12px}.midroll-skip.ready{background:#fff;color:#0b1328}.midroll-ad-video,.midroll-ad-img,.midroll-ad-gradient,.midroll-ad-code{width:100%;height:190px;object-fit:cover;background:linear-gradient(135deg,#0e1b43,#743cff,#08b7f2);display:flex;align-items:center;justify-content:center;text-align:center}.midroll-ad-gradient{flex-direction:column;font-weight:1000}.midroll-ad-gradient b{font-size:15px;color:#b8f6ff}.midroll-ad-gradient span{font-size:26px;line-height:1.1}.midroll-cta{display:flex;height:54px;align-items:center;justify-content:center;color:#fff;text-decoration:none;background:linear-gradient(135deg,#6939ff,#08baf0);font-weight:1000}.wp-admin-ad-form textarea{min-height:92px;resize:vertical}.admin-card input,.admin-card select,.admin-card textarea{border:1px solid #dce3f0;border-radius:12px;padding:12px;font-weight:700;background:#fff}@media(max-width:720px){.wp-ad-body{grid-template-columns:1fr}.wp-ad-media{height:170px}.wp-pro-ad{margin:18px 14px}.wp-ad-footer{display:grid;grid-template-columns:1fr 1fr}.wp-ad-safe{margin-left:0;text-align:center}}


/* v56: professional post actions + three-dot post menu. Story/feed layout untouched. */
.wp-pro-post-card{overflow:visible;border-radius:28px;position:relative}
.wp-pro-post-head{position:relative;z-index:6;padding:16px 16px 12px;align-items:center}
.wp-pro-post-head h3{margin:0;font-size:20px;line-height:1.1;font-weight:1000;letter-spacing:-.02em;color:#081126}
.wp-post-caption{padding:2px 18px 8px}.wp-post-caption p{margin:0;font-size:18px;line-height:1.45;color:#2d3547}
.wp-clean-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:12px 14px 18px;align-items:center}
.wp-clean-action-form{display:block;margin:0}.wp-clean-action{height:48px;width:100%;border:0;border-radius:18px;background:#f6f8fe;color:#10192e;display:flex;align-items:center;justify-content:center;gap:7px;font-weight:950;font-size:15px;box-shadow:inset 0 0 0 1px rgba(229,235,247,.7);cursor:pointer}
.wp-clean-action svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:2.25;stroke-linecap:round;stroke-linejoin:round}.wp-clean-action-like svg{fill:#ff405f;stroke:#ff405f}.wp-clean-action-share svg{fill:none}.wp-clean-action-save span{font-size:14px}.wp-clean-comment-link{background:#f6f8fe}.wp-clean-action b{font-size:15px;font-weight:1000}.wp-clean-action:hover,.wp-clean-action:active{transform:translateY(-1px);background:#eef4ff}.wp-clean-action-save{color:#081126}.wp-clean-action-save svg{stroke:#6d37ff;fill:none}
.wp-post-more-menu{position:relative}.wp-post-more-menu summary{list-style:none;width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:#f7f9fd;color:#081126;border:1px solid #edf1f8;box-shadow:0 8px 22px rgba(23,28,61,.08);cursor:pointer}.wp-post-more-menu summary::-webkit-details-marker{display:none}.wp-post-more-menu summary svg{width:23px;height:23px;fill:#081126;stroke:none}.wp-post-more-menu[open] summary{background:#111731;color:#fff}.wp-post-more-menu[open] summary svg{fill:#fff}
.wp-post-menu-panel{position:absolute;right:0;top:52px;width:250px;background:#fff;border:1px solid #e8edf7;border-radius:22px;box-shadow:0 24px 70px rgba(11,18,32,.22);padding:8px;z-index:80}.wp-post-menu-panel:before{content:"";position:absolute;right:16px;top:-8px;width:16px;height:16px;background:#fff;border-left:1px solid #e8edf7;border-top:1px solid #e8edf7;transform:rotate(45deg)}.wp-post-menu-panel form{margin:0}.wp-post-menu-panel button{width:100%;border:0;background:#fff;text-align:left;padding:13px 14px;border-radius:15px;font-weight:900;color:#10192e;cursor:pointer}.wp-post-menu-panel button:hover{background:#f4f7ff}.wp-post-menu-panel button.danger{color:#e11d48;background:#fff5f7}.wp-post-menu-panel button.danger:hover{background:#ffe8ee}
@media(max-width:430px){.wp-clean-actions{gap:8px;padding-left:14px;padding-right:14px}.wp-clean-action{height:44px;border-radius:16px;font-size:14px}.wp-clean-action svg{width:21px;height:21px}.wp-clean-action-save span{display:none}.wp-post-menu-panel{right:-4px;width:232px}.wp-pro-post-head h3{font-size:19px}}

/* v59: own-post edit/delete controls without changing feed/profile design */
.wp-post-owner-tools{border-bottom:1px solid #edf1f7;margin:0 0 6px;padding:0 0 6px}
.wp-owner-edit{margin:0}
.wp-owner-edit summary{list-style:none;width:100%;border:0;background:#fff;text-align:left;padding:13px 14px;border-radius:15px;font-weight:900;color:#10192e;cursor:pointer;box-sizing:border-box}
.wp-owner-edit summary::-webkit-details-marker{display:none}
.wp-owner-edit[open] summary{background:#f4f7ff;color:#5438ff}
.wp-owner-edit form{padding:8px 10px 12px;margin:0!important}
.wp-owner-edit textarea{width:100%;min-height:82px;border:1px solid #e3e8f2;border-radius:14px;padding:10px 12px;font:inherit;font-weight:700;resize:vertical;box-sizing:border-box;background:#fbfcff;color:#10192e}
.wp-owner-edit button{margin-top:8px!important;background:linear-gradient(135deg,#5b39ff,#08aaf5)!important;color:#fff!important;text-align:center!important}
.profile-grid-tile-wrap{position:relative;display:block;min-width:0}
.profile-grid-tile-wrap>.profile-grid-tile{display:block;height:126px}
.profile-grid-menu{position:absolute;top:8px;right:8px;z-index:20}
.profile-grid-menu .wp-post-more-menu summary{width:34px;height:34px;border-radius:999px;background:rgba(12,18,32,.68);backdrop-filter:blur(10px);box-shadow:0 8px 22px rgba(0,0,0,.22)}
.profile-grid-menu .wp-post-more-menu summary svg{fill:#fff;width:20px;height:20px}
.profile-grid-menu .wp-post-menu-panel{top:40px;right:0;width:232px}
@media(max-width:430px){.profile-grid-menu{top:6px;right:6px}.profile-grid-menu .wp-post-more-menu summary{width:32px;height:32px}.profile-grid-menu .wp-post-menu-panel{right:-2px;width:224px}.profile-grid-tile-wrap>.profile-grid-tile{height:116px}}

/* v60: AJAX action states for post like/share/save without page reload */
.wp-clean-action.is-loading{opacity:.72;pointer-events:none;transform:none!important}
.wp-clean-action.done{box-shadow:0 10px 24px rgba(13,110,253,.12), inset 0 0 0 1px rgba(64,104,255,.08)}
.wp-clean-action-form{margin:0!important;display:block!important}

/* v61: real internal share/repost + private saved content polish */
.wp-shared-badge{margin:4px 26px 12px;padding:10px 14px;border-radius:18px;background:#f2f6ff;color:#667085;font-size:14px;font-weight:700;border:1px solid #e7edfb}
.wp-shared-badge b{color:#111827}
.saved-posts-head{margin:18px 24px 10px;padding:18px 20px;border-radius:24px;background:#fff;box-shadow:0 14px 36px rgba(14,23,44,.06)}
.saved-posts-head h2{margin:0 0 4px;font-size:26px;color:#111827}.saved-posts-head p{margin:0}
.saved-post-list{padding-bottom:110px}
.wp-inline-toast{position:fixed;left:50%;bottom:106px;transform:translateX(-50%);z-index:9999;background:#0d1328;color:#fff;padding:14px 20px;border-radius:20px;font-weight:800;box-shadow:0 18px 50px rgba(0,0,0,.22);white-space:nowrap}
.wp-clean-action.done{background:#f4efff;border-color:#d7c7ff;color:#6338ff}

/* v62: Profile tabs now show real posted, reel and saved content instead of empty three-dot tiles. */
.profile-grid-placeholder{position:absolute;inset:0;display:grid;place-items:center;background:linear-gradient(135deg,#8ddfff,#3c45c8 46%,#c66a75);color:#fff}
.profile-grid-placeholder svg{width:42px;height:42px;fill:#fff;opacity:.9}
.profile-empty-grid{grid-column:1/-1;min-height:150px;border:1px dashed #dfe6f4;border-radius:22px;background:#fbfcff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#7b8494;padding:22px}
.profile-empty-grid b{font-size:18px;color:#11182c;margin-bottom:6px}
.profile-tile-shared{position:absolute;left:8px;top:8px;padding:5px 8px;border-radius:999px;background:rgba(17,24,44,.72);color:#fff;font-weight:900;font-size:10px;backdrop-filter:blur(8px);z-index:4}
.profile-grid-tile-wrap{min-height:126px}
.profile-grid-saved .profile-grid-menu{display:none}
@media(max-width:430px){.profile-grid-tile-wrap{min-height:116px}}

/* v63: compact biodata reveal on profile */
.profile-biodata-toggle{margin:8px 0 4px}.profile-biodata-toggle summary{list-style:none;cursor:pointer;display:block;font-size:18px;line-height:1.45;font-weight:850;color:#5c6474}.profile-biodata-toggle summary::-webkit-details-marker{display:none}.profile-bio-short{color:#5c6474}.profile-see-more{color:#5737f5;font-weight:1000;white-space:nowrap}.profile-biodata-toggle[open] .profile-see-more{font-size:0}.profile-biodata-toggle[open] .profile-see-more:after{content:'hide';font-size:16px;color:#5737f5;font-weight:1000}.profile-biodata-panel{margin:12px 0 6px;padding:14px;border-radius:22px;background:#f8faff;border:1px solid #edf1fb;box-shadow:0 12px 24px rgba(19,29,70,.05)}.profile-biodata-panel h3{margin:0 0 10px;font-size:18px}.profile-biodata-panel .bio-list{gap:8px}.profile-biodata-panel .bio-item{padding:10px;border-radius:16px;background:#fff}.profile-biodata{display:none!important}

/* v64: Admin Panel audit + management fixes. User app styles are untouched. */
.admin-body{margin:0;background:#f4f7fb;color:#111827;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}.admin-v64{min-height:100vh;display:grid;grid-template-columns:280px 1fr}.admin-v64 .admin-side{background:#07142b;color:#dbe7ff;padding:22px 16px;position:sticky;top:0;height:100vh;overflow:auto}.admin-brand{display:flex;align-items:center;gap:12px;margin:4px 8px 24px}.admin-logo{width:52px;height:52px;border-radius:18px;background:linear-gradient(135deg,#6338ff,#00b6ff);display:grid;place-items:center;font-size:26px;box-shadow:0 16px 36px rgba(43,83,255,.24)}.admin-brand strong{display:block;color:#fff;font-size:19px}.admin-brand span{display:block;font-size:12px;color:#8fa4c8}.admin-v64 .admin-side a{display:flex;align-items:center;gap:10px;color:#c9d8f5;text-decoration:none;border-radius:16px;padding:12px 12px;margin:4px 0;font-size:14px;font-weight:850;line-height:1.15}.admin-v64 .admin-side a:hover,.admin-v64 .admin-side a.active{background:linear-gradient(135deg,#6037ff,#0cb6ff);color:#fff}.admin-side-foot{border-top:1px solid rgba(255,255,255,.12);margin-top:18px;padding-top:12px}.admin-main{padding:28px;max-width:1240px;width:100%;box-sizing:border-box}.admin-topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.admin-kicker{font-size:12px;font-weight:900;color:#64748b;text-transform:uppercase;letter-spacing:.12em}.admin-topbar h1{margin:4px 0 0;font-size:34px;line-height:1.05}.admin-top-actions{display:flex;gap:10px;align-items:center}.admin-pro-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.admin-pro-grid.small{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:14px}.admin-pro-card,.admin-panel,.admin-chart-card{background:#fff;border:1px solid #e9eef7;border-radius:28px;box-shadow:0 20px 50px rgba(18,38,85,.06)}.admin-pro-card{padding:22px;min-height:132px;position:relative;overflow:hidden}.admin-pro-card:after{content:'';position:absolute;right:-30px;top:-30px;width:90px;height:90px;border-radius:50%;background:linear-gradient(135deg,rgba(99,56,255,.12),rgba(0,182,255,.12))}.admin-pro-icon{width:44px;height:44px;border-radius:16px;display:grid;place-items:center;background:#f1f5ff;margin-bottom:12px}.admin-pro-card p{margin:0;color:#687385;font-weight:800}.admin-pro-card h2{margin:8px 0 4px;font-size:30px}.admin-pro-card small{color:#8a95a7;font-weight:700}.admin-two-col{display:grid;grid-template-columns:1.35fr .9fr;gap:18px;margin-top:18px}.admin-panel{padding:22px;margin:18px 0}.admin-panel h2{margin:0 0 14px;font-size:24px}.admin-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:12px}.admin-panel-head p{margin:4px 0 0;color:#667085}.admin-table-wrap{overflow:auto;border:1px solid #edf2fb;border-radius:22px}.admin-pro-table{width:100%;border-collapse:separate;border-spacing:0;background:#fff}.admin-pro-table th{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#667085;text-align:left;background:#f8faff;padding:14px 16px;white-space:nowrap}.admin-pro-table td{padding:14px 16px;border-top:1px solid #eef2fa;vertical-align:middle}.admin-pro-table td small{display:block;color:#8b95a7;margin-top:3px}.admin-post-cell{display:flex;align-items:center;gap:12px;min-width:240px}.admin-thumb{width:76px;height:54px;object-fit:cover;border-radius:14px;background:linear-gradient(135deg,#8ddfff,#6338ff,#d06b78);display:grid;place-items:center;color:#fff;font-weight:1000}.admin-thumb-fallback{font-size:24px}.admin-badge{display:inline-flex;align-items:center;border-radius:999px;padding:6px 10px;font-weight:900;font-size:12px;background:#eef2ff;color:#4f46e5;text-transform:capitalize}.admin-badge.ok{background:#e8fff4;color:#069668}.admin-badge.warn{background:#fff7db;color:#ad7200}.admin-badge.bad{background:#fff0f0;color:#d92d20}.admin-inline-form{display:inline-block;margin:3px 3px 3px 0}.admin-mini-btn,.admin-save-btn{border:0;border-radius:13px;background:#eef4ff;color:#1f2a44;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 13px;font-weight:900;cursor:pointer}.admin-mini-btn:hover,.admin-save-btn:hover{filter:brightness(.98)}.admin-mini-btn.warn{background:#fff6df;color:#936000}.admin-mini-btn.danger{background:#ffecec;color:#c0162b}.admin-save-btn{background:linear-gradient(135deg,#6338ff,#00b6ff);color:#fff;width:max-content;padding:0 20px}.admin-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.admin-form-grid label{font-weight:900;color:#344054}.admin-form-grid input,.admin-form-grid select,.admin-form-grid textarea{width:100%;box-sizing:border-box;margin-top:7px;border:1px solid #dfe6f4;border-radius:16px;padding:12px 13px;font:inherit;background:#fbfcff}.admin-chart-card{padding:24px;margin-top:18px}.admin-chart-card .chart svg,.admin-panel .chart svg{width:100%;max-height:250px}.muted{color:#7d8797}@media(max-width:900px){.admin-v64{grid-template-columns:150px 1fr}.admin-v64 .admin-side{padding:14px 10px}.admin-v64 .admin-side a{font-size:12px;padding:10px 8px}.admin-brand strong,.admin-brand span{display:none}.admin-main{padding:18px}.admin-pro-grid,.admin-pro-grid.small{grid-template-columns:1fr}.admin-two-col{grid-template-columns:1fr}.admin-form-grid{grid-template-columns:1fr}.admin-topbar{align-items:flex-start;flex-direction:column}.admin-topbar h1{font-size:28px}.admin-post-cell{min-width:190px}.admin-thumb{width:58px;height:46px}}

/* v68 Wallet Invite to Earn + Referrals screen */
.invite-earn-btn{width:100%;margin-top:14px;background:#fff!important;color:#17315f!important;min-height:54px;border-radius:18px;box-shadow:0 14px 28px rgba(5,14,38,.12)}
.referral-card{margin:18px 22px 16px;padding:24px 22px;border-radius:30px;background:#fff;box-shadow:var(--shadow);border:1px solid #eef1f8}.referral-card p{margin:0;color:#5e6678;font-weight:850}.referral-card .ref-sub{margin-top:8px;color:#8b93a7;font-size:17px}.referral-code-row{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:8px}.referral-code-row h1{margin:0;font-size:42px;letter-spacing:-.04em;color:#5536f5;font-weight:1000}.copy-ref-btn{width:46px;height:46px;border:0;border-radius:16px;background:#f5f7fd;color:#4b5568;font-size:26px;font-weight:1000;display:grid;place-items:center}.ref-hidden-link{position:absolute;left:-9999px;opacity:0}.ref-socials{display:grid;grid-template-columns:repeat(5,1fr);gap:18px;margin-top:28px}.ref-socials a,.ref-socials button{width:54px;height:54px;border:0;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:24px;font-weight:1000;box-shadow:0 14px 25px rgba(31,47,92,.12);justify-self:center}.ref-socials .wa{background:#25d366}.ref-socials .fb{background:#1877f2;font-family:Arial}.ref-socials .ms{background:#2364ff}.ref-socials .tw{background:#4aa3f1}.ref-socials .ln{background:#eef2ff;color:#3150c8}.ref-stats{margin:14px 22px 22px;padding:18px;border-radius:24px;background:#fff;border:1px solid #eef1f8;box-shadow:0 12px 30px rgba(23,28,61,.07);display:grid;grid-template-columns:repeat(3,1fr);gap:8px;text-align:center}.ref-stats div{padding:7px 4px;border-right:1px solid #eef1f8}.ref-stats div:last-child{border-right:0}.ref-stats span{display:block;min-height:34px;color:#7f8797;font-size:13px;font-weight:900;line-height:1.2}.ref-stats b{display:block;margin-top:8px;color:#5a37f6;font-size:24px;font-weight:1000;letter-spacing:-.03em}.top-referrals{margin:18px 22px 22px}.top-referrals h2{font-size:24px;margin:0 0 14px;font-weight:1000;letter-spacing:-.03em}.ref-row{height:78px;display:grid;grid-template-columns:28px 52px 1fr auto;gap:14px;align-items:center;border-bottom:1px solid #eef1f8}.ref-row .rank{font-size:20px;color:#333b4e}.ref-row strong{font-size:17px;color:#141b2d}.ref-row span{font-size:17px;font-weight:950;color:#394155}.ref-empty{padding:18px;border-radius:18px;background:#f8faff;color:#7c8495;font-weight:800}
@media(max-width:430px){.referral-code-row h1{font-size:36px}.ref-socials{gap:10px}.ref-socials a,.ref-socials button{width:48px;height:48px;font-size:21px}.ref-stats{padding:14px}.ref-stats span{font-size:11px}.ref-stats b{font-size:20px}.ref-row{grid-template-columns:24px 48px 1fr auto;gap:10px}.ref-row strong,.ref-row span{font-size:15px}}

/* v78 Professional media layout: keep original ratio, no forced crop/distortion */
.post-media-open{display:block;background:#060916;overflow:hidden}
.uploaded-post-img{height:auto!important;min-height:0!important;background:#060916;display:flex;align-items:center;justify-content:center;overflow:hidden}
.uploaded-post-img::after{display:none!important}
.uploaded-post-img img{display:block;width:100%;height:auto;max-height:620px;object-fit:contain;background:#060916}
.post-video-shell{background:#060916;overflow:hidden;display:flex;align-items:center;justify-content:center;position:relative}
.post-video-shell .post-video,video.post-video{display:block;width:100%;height:auto!important;max-height:620px;object-fit:contain;background:#060916;border:0}
.wp-ratio-reel .post-video,.wp-ratio-reel.uploaded-post-img img,.wp-upload-preview-media.wp-ratio-reel video,.wp-upload-preview-media.wp-ratio-reel img{aspect-ratio:9/16;max-height:720px;object-fit:contain}
.wp-ratio-portrait .post-video,.wp-ratio-portrait.uploaded-post-img img,.wp-upload-preview-media.wp-ratio-portrait video,.wp-upload-preview-media.wp-ratio-portrait img{aspect-ratio:4/5;object-fit:contain}
.wp-ratio-square .post-video,.wp-ratio-square.uploaded-post-img img,.wp-upload-preview-media.wp-ratio-square video,.wp-upload-preview-media.wp-ratio-square img{aspect-ratio:1/1;object-fit:contain}
.wp-ratio-landscape .post-video,.wp-ratio-landscape.uploaded-post-img img,.wp-upload-preview-media.wp-ratio-landscape video,.wp-upload-preview-media.wp-ratio-landscape img{aspect-ratio:16/9;object-fit:contain}
.wp-upload-preview-box{margin:12px 0 16px;border:1px dashed #d8e0ef;background:#fbfcff;border-radius:20px;padding:12px;overflow:hidden}
.wp-upload-preview-empty{height:120px;border-radius:16px;background:#f1f5fb;display:grid;place-items:center;color:#7b8496;font-weight:900}
.wp-upload-preview-media{background:#060916;border-radius:18px;overflow:hidden;display:flex;align-items:center;justify-content:center;max-height:420px}
.wp-upload-preview-media img,.wp-upload-preview-media video{display:block;width:100%;height:auto;max-height:420px;object-fit:contain;background:#060916}
.wp-upload-recommendation{margin-top:10px;color:#606b80;font-size:12px;font-weight:800;line-height:1.45}
.wp-upload-warning{padding:14px;border-radius:16px;background:#fff0f0;color:#b91c1c;font-weight:900}
@media(max-width:430px){.uploaded-post-img img,video.post-video{max-height:580px}.wp-ratio-reel .post-video,.wp-ratio-reel.uploaded-post-img img{max-height:640px}}

/* v79 Universal Reel Player: nav + full-screen opener */
.bottom-nav{grid-template-columns:repeat(6,1fr)!important;}
.bottom-nav .nav-ico svg{width:27px;height:27px;display:block;fill:currentColor;}
.bottom-nav .nav-label{font-size:10.5px!important;line-height:1.1!important;}
.bottom-nav a.post-nav .nav-ico{background:var(--grad);color:#fff;border-radius:50%;width:50px;height:50px;display:grid;place-items:center;margin-top:-18px;box-shadow:0 12px 28px rgba(103,55,255,.25)}
.bottom-nav a.post-nav .nav-label{margin-top:0;}
.wp-open-reel-player{position:relative!important;cursor:pointer!important;}
.wp-open-reel-player video{pointer-events:none!important;}
.wp-feed-reel-open{position:absolute;right:12px;bottom:12px;z-index:9;border:0;border-radius:999px;padding:9px 13px;background:rgba(0,0,0,.62);color:#fff;font-weight:950;font-size:12px;backdrop-filter:blur(10px);box-shadow:0 8px 24px rgba(0,0,0,.22);}
.wp-feed-reel-open:active{transform:scale(.98)}
@media(max-width:430px){.bottom-nav a{font-size:10px!important}.bottom-nav .nav-ico svg{width:25px;height:25px}.bottom-nav a.post-nav .nav-ico{width:48px;height:48px}}

/* v81 Home Feed Media + Navigation Alignment Stable Fix
   Scope: UI only. Keeps media click/full-screen player behavior, actions, login, wallet, admin unchanged. */
.wp-phone{overflow-x:hidden!important;}
.phone-screen{overflow-x:hidden!important;}

/* Home feed media cards: one clean preview size for all image/video posts. No stretch. */
.home-post-list .post-card.wp-pro-post-card{overflow:visible!important;}
.home-post-list .post-media-open,
.home-post-list .post-video-shell{
  width:100%!important;
  height:360px!important;
  min-height:360px!important;
  max-height:360px!important;
  border-radius:24px!important;
  overflow:hidden!important;
  background:#070b16!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  position:relative!important;
  box-shadow:none!important;
}
.home-post-list .post-img,
.home-post-list .uploaded-post-img,
.home-post-list .media-placeholder,
.home-post-list .post-video{
  width:100%!important;
  height:100%!important;
  min-height:100%!important;
  max-height:100%!important;
  border-radius:24px!important;
  background:#070b16!important;
}
.home-post-list .uploaded-post-img img,
.home-post-list video.post-video{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  border-radius:24px!important;
  background:#070b16!important;
  display:block!important;
}
.home-post-list .wp-ratio-reel .post-video,
.home-post-list .wp-ratio-reel.uploaded-post-img img,
.home-post-list .wp-ratio-portrait .post-video,
.home-post-list .wp-ratio-portrait.uploaded-post-img img,
.home-post-list .wp-ratio-square .post-video,
.home-post-list .wp-ratio-square.uploaded-post-img img,
.home-post-list .wp-ratio-landscape .post-video,
.home-post-list .wp-ratio-landscape.uploaded-post-img img{
  aspect-ratio:auto!important;
  max-height:none!important;
  object-fit:contain!important;
}
.home-post-list .wp-feed-reel-open{
  right:12px!important;
  bottom:12px!important;
  max-width:calc(100% - 24px)!important;
  white-space:nowrap!important;
}

/* Bottom nav: keep five buttons perfectly centered and never shifted sideways. */
.wp-phone .bottom-nav{
  left:50%!important;
  right:auto!important;
  bottom:0!important;
  transform:translateX(-50%)!important;
  width:min(430px,100vw)!important;
  max-width:100vw!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  justify-items:center!important;
  align-items:center!important;
  padding-left:8px!important;
  padding-right:8px!important;
  overflow:visible!important;
}
.wp-phone .bottom-nav a{
  width:100%!important;
  min-width:0!important;
  max-width:78px!important;
  justify-self:center!important;
  text-align:center!important;
  overflow:visible!important;
}
.wp-phone .bottom-nav .nav-label{
  display:block!important;
  max-width:100%!important;
  text-align:center!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.wp-phone .bottom-nav a.post-nav{
  justify-self:center!important;
  align-self:center!important;
}

/* Reels player top tabs: keep For You / Following centered, never pushed to the side. */
body.app-bg .wp-phone.reels-shell .reels-topbar,
body.app-bg .wp-phone.reels-shell .wp-reels-top-final-v49{
  left:50%!important;
  right:auto!important;
  top:0!important;
  transform:translateX(-50%)!important;
  width:min(430px,100vw)!important;
  max-width:100vw!important;
  height:78px!important;
  padding:18px 16px 0!important;
  display:block!important;
  position:fixed!important;
  pointer-events:none!important;
}
body.app-bg .wp-phone.reels-shell .reels-topbar .reel-back,
body.app-bg .wp-phone.reels-shell .wp-reels-top-final-v49 .reel-back{
  position:absolute!important;
  left:16px!important;
  top:18px!important;
  z-index:80!important;
  pointer-events:auto!important;
}
body.app-bg .wp-phone.reels-shell .reels-topbar .reel-upload-mini,
body.app-bg .wp-phone.reels-shell .wp-reels-top-final-v49 .reel-upload-mini{
  position:absolute!important;
  right:16px!important;
  top:18px!important;
  z-index:80!important;
  pointer-events:auto!important;
}
body.app-bg .wp-phone.reels-shell .reels-topbar .reel-tabs,
body.app-bg .wp-phone.reels-shell .wp-reels-top-final-v49 .wp-reel-tabs-final-v49,
body.app-bg .wp-phone.reels-shell .wp-reels-top-final-v49 .reel-tabs{
  position:absolute!important;
  left:50%!important;
  top:23px!important;
  transform:translateX(-50%)!important;
  width:auto!important;
  max-width:calc(100vw - 118px)!important;
  min-width:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  text-align:center!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  z-index:70!important;
  pointer-events:auto!important;
}
body.app-bg .wp-phone.reels-shell .reels-topbar .reel-tabs a,
body.app-bg .wp-phone.reels-shell .wp-reels-top-final-v49 .wp-reel-tabs-final-v49 a,
body.app-bg .wp-phone.reels-shell .wp-reels-top-final-v49 .reel-tabs a{
  font-size:20px!important;
  line-height:1!important;
  padding:0!important;
  margin:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  flex:0 1 auto!important;
}
body.app-bg .wp-phone.reels-shell .reels-topbar .reel-tabs a.active,
body.app-bg .wp-phone.reels-shell .wp-reels-top-final-v49 .wp-reel-tabs-final-v49 a.active,
body.app-bg .wp-phone.reels-shell .wp-reels-top-final-v49 .reel-tabs a.active{
  font-size:21px!important;
}
body.app-bg .wp-phone.reels-shell .reels-topbar .reel-tabs span,
body.app-bg .wp-phone.reels-shell .wp-reels-top-final-v49 .wp-reel-tabs-final-v49 span,
body.app-bg .wp-phone.reels-shell .wp-reels-top-final-v49 .reel-tabs span{
  font-size:18px!important;
  margin:0!important;
  flex:0 0 auto!important;
}

@media(max-width:430px){
  .home-post-list .post-media-open,
  .home-post-list .post-video-shell{height:350px!important;min-height:350px!important;max-height:350px!important;}
  .wp-phone .bottom-nav{height:78px!important;padding-left:6px!important;padding-right:6px!important;}
  .wp-phone .bottom-nav a{max-width:72px!important;}
  body.app-bg .wp-phone.reels-shell .reels-topbar .reel-tabs,
  body.app-bg .wp-phone.reels-shell .wp-reels-top-final-v49 .wp-reel-tabs-final-v49,
  body.app-bg .wp-phone.reels-shell .wp-reels-top-final-v49 .reel-tabs{max-width:calc(100vw - 108px)!important;gap:8px!important;top:23px!important;}
  body.app-bg .wp-phone.reels-shell .reels-topbar .reel-tabs a,
  body.app-bg .wp-phone.reels-shell .wp-reels-top-final-v49 .wp-reel-tabs-final-v49 a,
  body.app-bg .wp-phone.reels-shell .wp-reels-top-final-v49 .reel-tabs a{font-size:18px!important;}
  body.app-bg .wp-phone.reels-shell .reels-topbar .reel-tabs a.active,
  body.app-bg .wp-phone.reels-shell .wp-reels-top-final-v49 .wp-reel-tabs-final-v49 a.active,
  body.app-bg .wp-phone.reels-shell .wp-reels-top-final-v49 .reel-tabs a.active{font-size:19px!important;}
}

/* v82: Full screen reel video must not zoom/crop. Keep original aspect ratio centered. */
body.app-bg .wp-phone.reels-shell .reel-video,
body.app-bg .wp-phone.reels-shell video.reel-video,
.single-reel-detail .reel-video,
.reels-feed .reel-video{
  object-fit:contain!important;
  object-position:center center!important;
  background:#000!important;
}
body.app-bg .wp-phone.reels-shell .reel-item,
.single-reel-detail .reel-item,
.reels-feed .reel-item{
  background:#000!important;
}
body.app-bg .wp-phone.reels-shell .reel-shade{
  background:linear-gradient(180deg,rgba(0,0,0,.32) 0%,rgba(0,0,0,.04) 36%,rgba(0,0,0,.72) 100%)!important;
}

/* v82: remembered login email hint */
.wp-remember-device-note{
  margin:-4px 2px 14px!important;
  color:#7b8495!important;
  font-size:12px!important;
  font-weight:800!important;
  line-height:1.35!important;
}

/* v84 Compact In-feed Ads Fix
   Scope: ad card spacing only. Keeps ad logic, buttons, login, wallet, posts and videos unchanged. */
.wp-pro-ad{
  margin:14px 12px!important;
  padding:10px!important;
  border-radius:24px!important;
  background:#fff!important;
  box-shadow:0 14px 34px rgba(26,37,79,.10)!important;
  border:1px solid #eef2f8!important;
}
.wp-pro-ad:before{height:3px!important;}
.wp-ad-label{
  padding:4px 4px 2px!important;
  margin:0 0 6px!important;
  gap:8px!important;
  font-size:13px!important;
  line-height:1.15!important;
}
.wp-ad-label span{
  padding:5px 9px!important;
  font-size:12px!important;
}
.wp-ad-body{
  display:block!important;
  margin-top:0!important;
}
.wp-ad-copy{
  padding:0 4px 8px!important;
}
.wp-ad-copy h3{
  margin:0!important;
  font-size:24px!important;
  line-height:1.08!important;
}
.wp-ad-copy p{
  margin:6px 0 0!important;
  font-size:14px!important;
  line-height:1.25!important;
}
.wp-ad-copy p:empty{display:none!important;}
.wp-ad-media{
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  aspect-ratio:16/9!important;
  border-radius:18px!important;
  margin:0!important;
  overflow:hidden!important;
  background:#f2f5fb!important;
}
.wp-ad-media-img,.wp-ad-media-video{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center center!important;
  display:block!important;
}
.wp-ad-gradient,.wp-ad-code{
  min-height:160px!important;
  height:100%!important;
  border-radius:18px!important;
}
.wp-ad-footer{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:10px!important;
  margin-top:10px!important;
  padding:0 4px 2px!important;
}
.wp-ad-cta,.wp-ad-safe{
  min-height:48px!important;
  border-radius:17px!important;
  padding:0 12px!important;
  font-size:17px!important;
  margin:0!important;
  text-align:center!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
@media(max-width:430px){
  .wp-pro-ad{margin:12px 10px!important;padding:9px!important;border-radius:23px!important;}
  .wp-ad-copy h3{font-size:23px!important;}
  .wp-ad-copy p{font-size:13px!important;}
  .wp-ad-media{border-radius:17px!important;}
  .wp-ad-footer{gap:9px!important;}
  .wp-ad-cta,.wp-ad-safe{min-height:46px!important;font-size:16px!important;}
}

/* v86 Welcome screen reference-style fix: community illustration + Get Started button only */
.wp-welcome-v86{padding:0 28px!important;justify-content:flex-start!important;background:#fff!important;overflow:hidden!important}.wp-welcome-v86 .welcome-copy-v51{margin-top:58px!important}.wp-welcome-v86 .welcome-copy-v51 h1{font-size:28px!important;line-height:1.06!important;color:#171a25!important}.wp-welcome-v86 .welcome-copy-v51 h1 span{font-size:43px!important;color:#3654e6!important;text-shadow:0 8px 22px rgba(55,84,230,.13)!important}.wp-welcome-v86 .welcome-copy-v51 p{margin-top:18px!important;font-size:17px!important;line-height:1.35!important;font-weight:850!important;color:#2b3140!important}.welcome-community-v86{width:318px!important;height:338px!important;margin:40px auto 26px!important;position:relative!important}.welcome-community-v86 .coin{display:none!important}.welcome-community-v86 .dot{position:absolute;border-radius:50%;background:#eef3ff;border:4px solid #dce7ff}.welcome-community-v86 .d1{width:17px;height:17px;left:32px;top:76px}.welcome-community-v86 .d2{width:13px;height:13px;right:26px;top:68px}.welcome-community-v86 .d3{width:12px;height:12px;left:105px;top:34px}.welcome-community-v86 .d4{width:10px;height:10px;right:112px;top:34px}.community-base-v86{position:absolute;left:36px;right:28px;bottom:23px;height:50px;border-radius:25px 25px 16px 16px;background:linear-gradient(90deg,#335cff,#8454f4);box-shadow:0 18px 35px rgba(65,91,230,.22)}.illus-person-v86{position:absolute;bottom:54px;width:58px;height:190px;z-index:3}.illus-person-v86 .face{position:absolute;left:16px;top:25px;width:31px;height:36px;background:#f3ad78;border-radius:45% 45% 43% 43%;z-index:3}.illus-person-v86 .hair{position:absolute;left:13px;top:14px;width:37px;height:22px;background:#1f2430;border-radius:60% 60% 32% 32%;z-index:4}.illus-person-v86 .body{position:absolute;left:6px;top:72px;width:48px;height:82px;border-radius:22px 22px 10px 10px;z-index:2}.illus-person-v86 .leg{position:absolute;top:150px;width:20px;height:44px;background:#31528d;border-radius:8px 8px 0 0;z-index:1}.illus-person-v86 .l1{left:9px}.illus-person-v86 .l2{right:8px}.illus-person-v86.p1{left:38px;transform:scale(.96)}.illus-person-v86.p1 .body{background:linear-gradient(160deg,#1f64d8,#1748a8)}.illus-person-v86.p2{left:103px;bottom:49px;z-index:4;transform:scale(1.06)}.illus-person-v86.p2 .body{background:linear-gradient(160deg,#f6f7fb,#d9e5ff)}.illus-person-v86.p2 .leg{background:#2e5aa8}.illus-person-v86.p3{left:168px;bottom:51px;z-index:4;transform:scale(1.03)}.illus-person-v86.p3 .hair{width:42px;height:48px;left:10px;border-radius:28px 28px 18px 18px}.illus-person-v86.p3 .body{background:linear-gradient(160deg,#ff8d70,#e84e7e)}.illus-person-v86.p4{right:24px;bottom:50px;transform:scale(.98)}.illus-person-v86.p4 .body{background:linear-gradient(160deg,#c24bdc,#6848e8)}.welcome-community-v86 .leaf-v51{bottom:22px!important;width:48px!important;height:80px!important;background:#c9dbff!important;opacity:.8!important;z-index:1}.welcome-community-v86 .leaf-one{left:6px!important}.welcome-community-v86 .leaf-two{right:3px!important}.wp-welcome-v86 .auth-dots-v51{display:none!important}.wp-welcome-v86 .auth-btn-v51{margin-top:auto!important;margin-bottom:62px!important;height:60px!important;border-radius:18px!important;background:linear-gradient(92deg,#185dff,#693df3 56%,#7d35e8)!important;box-shadow:0 18px 36px rgba(66,67,220,.22)!important;font-size:18px!important}
@media(max-width:430px){.wp-welcome-v86 .welcome-copy-v51{margin-top:52px!important}.welcome-community-v86{width:300px!important;height:318px!important;margin-top:34px!important}.wp-welcome-v86 .auth-btn-v51{margin-bottom:54px!important}}

/* WorldPalm final welcome screen: publish-quality reference match */
.wp-welcome-perfect{
  background:#fff!important;
  color:#111827!important;
  min-height:100svh!important;
  height:100%!important;
  width:100%!important;
  overflow:hidden!important;
  padding:0 30px 44px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  text-align:center!important;
}
.wp-welcome-perfect .welcome-copy-perfect{
  margin:72px 0 0!important;
  width:100%!important;
  flex:0 0 auto!important;
}
.wp-welcome-perfect .welcome-copy-perfect h1{
  margin:0!important;
  color:#171b26!important;
  font-size:31px!important;
  line-height:1.05!important;
  font-weight:1000!important;
  letter-spacing:-.035em!important;
}
.wp-welcome-perfect .welcome-copy-perfect h1 span{
  display:block!important;
  margin-top:7px!important;
  color:#2f57ee!important;
  font-size:47px!important;
  line-height:.98!important;
  font-weight:1000!important;
  letter-spacing:-.055em!important;
  text-shadow:0 10px 24px rgba(47,87,238,.16)!important;
}
.wp-welcome-perfect .welcome-copy-perfect p{
  margin:20px 0 0!important;
  color:#232936!important;
  font-size:18px!important;
  line-height:1.32!important;
  font-weight:900!important;
  letter-spacing:-.02em!important;
}
.wp-welcome-perfect .welcome-art-perfect{
  width:min(100%,365px)!important;
  margin:36px auto 28px!important;
  flex:0 0 auto!important;
  display:block!important;
}
.wp-welcome-perfect .welcome-art-perfect img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  object-fit:contain!important;
  border:0!important;
  filter:none!important;
}
.wp-welcome-perfect .welcome-btn-perfect{
  width:100%!important;
  max-width:358px!important;
  height:62px!important;
  min-height:62px!important;
  margin:0 auto!important;
  border-radius:20px!important;
  background:linear-gradient(92deg,#096dff 0%,#523ff4 52%,#862ce6 100%)!important;
  color:#fff!important;
  font-size:19px!important;
  font-weight:1000!important;
  letter-spacing:-.02em!important;
  box-shadow:0 18px 42px rgba(80,76,238,.24)!important;
  flex:0 0 auto!important;
}
.wp-welcome-perfect .auth-dots-v51,
.wp-welcome-perfect .welcome-community-v86,
.wp-welcome-perfect .welcome-community-v87{display:none!important;}
@media(max-width:430px){
  .wp-welcome-perfect{padding-left:28px!important;padding-right:28px!important;padding-bottom:42px!important;}
  .wp-welcome-perfect .welcome-copy-perfect{margin-top:68px!important;}
  .wp-welcome-perfect .welcome-copy-perfect h1{font-size:30px!important;}
  .wp-welcome-perfect .welcome-copy-perfect h1 span{font-size:45px!important;}
  .wp-welcome-perfect .welcome-copy-perfect p{font-size:17px!important;margin-top:18px!important;}
  .wp-welcome-perfect .welcome-art-perfect{width:min(100%,352px)!important;margin-top:34px!important;margin-bottom:26px!important;}
  .wp-welcome-perfect .welcome-btn-perfect{height:60px!important;min-height:60px!important;border-radius:19px!important;}
}
@media(max-width:380px){
  .wp-welcome-perfect{padding-left:24px!important;padding-right:24px!important;padding-bottom:32px!important;}
  .wp-welcome-perfect .welcome-copy-perfect{margin-top:48px!important;}
  .wp-welcome-perfect .welcome-copy-perfect h1{font-size:27px!important;}
  .wp-welcome-perfect .welcome-copy-perfect h1 span{font-size:40px!important;}
  .wp-welcome-perfect .welcome-copy-perfect p{font-size:16px!important;}
  .wp-welcome-perfect .welcome-art-perfect{width:min(100%,318px)!important;margin-top:26px!important;margin-bottom:20px!important;}
}
@media(max-height:720px){
  .wp-welcome-perfect .welcome-copy-perfect{margin-top:42px!important;}
  .wp-welcome-perfect .welcome-art-perfect{width:min(100%,318px)!important;margin-top:24px!important;margin-bottom:18px!important;}
  .wp-welcome-perfect .welcome-btn-perfect{height:58px!important;min-height:58px!important;}
}

/* v88 Language screen: selected state + RTL safety */
.language-select-list{padding-top:8px!important;}
.language-option.active{border:2px solid rgba(37,99,255,.22)!important;background:linear-gradient(180deg,#fff,#f8fbff)!important;box-shadow:0 12px 28px rgba(37,99,255,.10)!important;}
.language-option .lang-check{font-size:24px!important;font-weight:900!important;color:#111827!important;min-width:24px!important;text-align:center!important;}
.language-option.active .lang-check{color:#245bff!important;}
html[dir="rtl"] body{text-align:right;}
html[dir="rtl"] .screen-title,html[dir="rtl"] .list-row{direction:rtl;}
html[dir="rtl"] .bottom-nav{direction:rtl;}

/* Home feed real-time + caption placement fix */
.wp-pro-post-card .wp-post-caption-top{padding:0 18px 10px!important;margin-top:-2px!important}
.wp-pro-post-card .wp-post-caption-top p{margin:0!important;font-size:18px!important;line-height:1.42!important;color:#2d3547!important;font-weight:500!important;white-space:pre-wrap!important;word-break:break-word!important}
.wp-pro-post-card .wp-post-caption-top .wp-caption-full{display:none!important}
.wp-pro-post-card .wp-post-caption-top.is-expanded .wp-caption-short{display:none!important}
.wp-pro-post-card .wp-post-caption-top.is-expanded .wp-caption-full{display:inline!important}
.wp-pro-post-card .wp-see-more{border:0;background:transparent;color:#6d37ff;font-weight:900;font-size:15px;padding:4px 0 0;margin:0;cursor:pointer}
.wp-pro-post-card .post-media-open{margin-top:0!important}

/* v88 Reels bottom popup half ads */
.reel-popup-ad{display:flex!important;align-items:center!important;gap:8px!important;width:min(100%,330px)!important;min-height:48px!important;margin:0 0 10px 0!important;padding:6px!important;border-radius:17px!important;background:rgba(0,0,0,.72)!important;border:1px solid rgba(255,255,255,.24)!important;box-shadow:0 12px 30px rgba(0,0,0,.35)!important;backdrop-filter:blur(10px)!important;color:#fff!important;overflow:hidden!important;pointer-events:auto!important;}
.reel-popup-ad-media{width:48px!important;height:38px!important;border-radius:12px!important;overflow:hidden!important;flex:0 0 48px!important;background:linear-gradient(135deg,#172044,#5b35ff,#14c6ff)!important;display:flex!important;align-items:center!important;justify-content:center!important;text-decoration:none!important;}
.reel-popup-ad-img,.reel-popup-ad-video,.reel-popup-ad-code{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;border:0!important;}
.reel-popup-ad-fallback{width:100%!important;height:100%!important;display:flex!important;align-items:center!important;justify-content:center!important;font-weight:1000!important;color:#fff!important;font-size:13px!important;}
.reel-popup-ad-copy{min-width:0!important;flex:1 1 auto!important;display:flex!important;flex-direction:column!important;line-height:1.05!important;text-shadow:0 2px 10px rgba(0,0,0,.65)!important;}
.reel-popup-ad-copy span{font-size:11px!important;font-weight:1000!important;color:rgba(255,255,255,.78)!important;text-transform:uppercase!important;letter-spacing:.04em!important;}
.reel-popup-ad-copy b{font-size:14px!important;font-weight:1000!important;color:#fff!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:120px!important;}
.reel-popup-ad-cta{height:36px!important;min-width:92px!important;padding:0 13px!important;border-radius:14px!important;background:rgba(255,255,255,.13)!important;border:1px solid rgba(255,255,255,.32)!important;color:#fff!important;text-decoration:none!important;font-size:14px!important;font-weight:1000!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important;}
.reel-popup-ad-more{width:38px!important;height:36px!important;border-radius:14px!important;background:rgba(255,255,255,.12)!important;border:1px solid rgba(255,255,255,.28)!important;color:#fff!important;text-decoration:none!important;font-size:18px!important;font-weight:1000!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;}
@media(max-width:420px){.reel-popup-ad{width:min(100%,315px)!important;gap:7px!important}.reel-popup-ad-copy b{max-width:92px!important}.reel-popup-ad-cta{min-width:86px!important;padding:0 11px!important;font-size:13px!important}.reel-popup-ad-more{width:36px!important}}

/* v89: rotating tiny bottom popup ads during reel playback */
.reel-popup-ad.reel-popup-ad-rotator{display:block!important;width:min(100%,318px)!important;min-height:44px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;overflow:visible!important;}
.reel-popup-ad-slide{display:none!important;align-items:center!important;gap:7px!important;width:100%!important;min-height:44px!important;padding:5px!important;border-radius:15px!important;background:rgba(0,0,0,.72)!important;border:1px solid rgba(255,255,255,.22)!important;box-shadow:0 10px 24px rgba(0,0,0,.32)!important;backdrop-filter:blur(10px)!important;-webkit-backdrop-filter:blur(10px)!important;color:#fff!important;overflow:hidden!important;pointer-events:auto!important;}
.reel-popup-ad-slide.is-active{display:flex!important;}
.reel-popup-ad-rotator .reel-popup-ad-media{width:42px!important;height:32px!important;flex:0 0 42px!important;border-radius:10px!important;}
.reel-popup-ad-rotator .reel-popup-ad-copy span{font-size:10px!important;}
.reel-popup-ad-rotator .reel-popup-ad-copy b{font-size:13px!important;max-width:104px!important;}
.reel-popup-ad-rotator .reel-popup-ad-cta{height:32px!important;min-width:82px!important;border-radius:12px!important;font-size:12.5px!important;padding:0 10px!important;}
.reel-popup-ad-rotator .reel-popup-ad-more{width:34px!important;height:32px!important;border-radius:12px!important;font-size:16px!important;}
.reel-popup-ad-video{pointer-events:none!important;}
@media(max-width:420px){.reel-popup-ad.reel-popup-ad-rotator{width:min(100%,304px)!important}.reel-popup-ad-rotator .reel-popup-ad-copy b{max-width:82px!important}.reel-popup-ad-rotator .reel-popup-ad-cta{min-width:78px!important}}
.reel-sound-toggle{position:absolute;right:18px;top:72px;z-index:12;width:42px;height:42px;border:0;border-radius:50%;background:rgba(0,0,0,.45);color:#fff;font-size:20px;display:grid;place-items:center;backdrop-filter:blur(8px);box-shadow:0 8px 24px rgba(0,0,0,.25)}
.reel-sound-toggle:active{transform:scale(.96)}

/* v92: Home feed video sound toggle */
.post-video-shell{position:relative!important}
.wp-home-sound-toggle{position:absolute;right:14px;top:14px;z-index:12;width:42px;height:42px;border:0;border-radius:50%;background:rgba(0,0,0,.48);color:#fff;font-size:20px;display:grid;place-items:center;backdrop-filter:blur(8px);box-shadow:0 8px 24px rgba(0,0,0,.25);cursor:pointer}
.wp-home-sound-toggle:active{transform:scale(.96)}


/* v94: Home Feed native video controls must receive taps/clicks (sound button included). */
.wp-open-reel-player video.post-video{pointer-events:auto!important;touch-action:manipulation!important;}
.home-post-list .wp-open-reel-player video.post-video{pointer-events:auto!important;}
.home-post-list .post-video-shell{cursor:default!important;}
.home-post-list .wp-feed-reel-open{pointer-events:auto!important;}

/* v97 notifications real list patch */
.notifications-screen{padding:18px 18px 112px;background:#fff;min-height:calc(100vh - 76px)}
.notifications-top{padding:4px 4px 12px}.notifications-top h2{margin:0 0 6px;font-size:30px;line-height:1.08;letter-spacing:-.04em;font-weight:1000;color:#081126}.notifications-top p{margin:0;font-size:14px;line-height:1.45}.notification-list{display:grid;gap:12px}.notification-row{display:flex;align-items:center;gap:13px;padding:14px;border:1px solid #edf1f8;border-radius:22px;background:#fff;box-shadow:0 10px 28px rgba(23,28,61,.07);position:relative}.notification-row.unread{background:linear-gradient(90deg,#f7fbff 0%,#fff 72%);border-color:#dfeaff}.notification-row.unread:after{content:"";width:9px;height:9px;border-radius:50%;background:#0c9cff;position:absolute;right:12px;top:14px}.notification-icon{width:46px;height:46px;border-radius:16px;display:grid;place-items:center;background:#f3f6fc;flex:0 0 auto;font-size:20px}.notification-like{background:#fff0f4}.notification-comment{background:#eef6ff}.notification-follow{background:#eafff2}.notification-share{background:#f1f5ff}.notification-save{background:#f4efff}.notification-message{background:#fff7e8}.notification-earning,.notification-withdraw{background:#ecfff7}.notification-copy{min-width:0;flex:1;display:grid;gap:4px}.notification-copy b{font-size:15px;color:#081126;line-height:1.2}.notification-copy small{font-size:13px;color:#7c8495;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.notification-time{font-size:11px;color:#9aa3b5;font-weight:900;white-space:nowrap;padding-right:12px}.notification-empty{margin:20px 4px;padding:36px 22px;text-align:center;border:1px solid #edf1f8;border-radius:28px;background:#fff;box-shadow:var(--shadow)}.notification-empty span{width:72px;height:72px;border-radius:50%;display:grid;place-items:center;margin:0 auto 14px;background:#f3f6fc;font-size:30px}.notification-empty h3{margin:0 0 8px;font-size:22px}.notification-empty p{margin:0}

/* ============================================================
   WorldPalm v87 — Gift System & Blue Tick Verification CSS
   ============================================================ */

/* ── Blue Tick Badge ─────────────────────────────────────── */
.wp-blue-tick{display:inline-flex;align-items:center;vertical-align:middle;margin-left:4px;flex-shrink:0}
.wp-blue-tick svg{display:block;filter:drop-shadow(0 1px 3px rgba(29,155,240,.35))}
.wp-blue-tick-big{display:inline-flex;align-items:center;margin-left:auto}

/* ── Verify Row in Settings ──────────────────────────────── */
.wp-verify-row{display:flex;align-items:center;gap:13px;padding:16px 18px;border-bottom:1px solid #f0f2f8;background:#fff}
.wp-verify-row .settings-ico{width:40px;height:40px;border-radius:14px;background:#e8f4ff;display:grid;place-items:center;font-size:20px;flex-shrink:0}
.wp-verify-row .settings-text{flex:1;min-width:0}
.wp-verify-row .settings-text b{display:block;font-size:15px;font-weight:800;color:#081126}
.wp-verify-row .settings-text small{display:block;font-size:12.5px;color:#7c8495;margin-top:2px}
.wp-verify-apply-btn{flex-shrink:0;padding:9px 16px;border-radius:22px;border:none;background:linear-gradient(135deg,#1D9BF0,#0d6efd);color:#fff;font-size:13px;font-weight:800;cursor:pointer;letter-spacing:.01em;box-shadow:0 4px 14px rgba(29,155,240,.3);transition:transform .15s,box-shadow .15s}
.wp-verify-apply-btn:active{transform:scale(.96)}
.wp-pending-chip{padding:6px 14px;border-radius:20px;background:#fff7e0;color:#a06000;font-size:12px;font-weight:800;border:1px solid #ffe49a;flex-shrink:0}

/* ── Gift Button on Post Card ────────────────────────────── */
.wp-gift-open-btn{display:inline-flex;flex-direction:column;align-items:center;gap:3px;padding:6px 10px;border:none;background:none;cursor:pointer;border-radius:12px;transition:background .15s;color:#44475a;font-size:11px;font-weight:800;line-height:1}
.wp-gift-open-btn:active{background:rgba(255,80,130,.1)}
.wp-gift-icon{font-size:22px;line-height:1;display:block}

/* ── Gift Sheet (bottom sheet modal) ────────────────────── */
.wp-gift-sheet{position:fixed;inset:0;z-index:9999;display:none;align-items:flex-end;justify-content:center}
.wp-gift-sheet.open .wp-gift-panel{transform:translateY(0)}
.wp-gift-sheet.open .wp-gift-backdrop{opacity:1}
.wp-gift-backdrop{position:absolute;inset:0;background:rgba(8,10,30,.55);backdrop-filter:blur(4px);opacity:0;transition:opacity .32s}
.wp-gift-panel{position:relative;z-index:2;width:100%;max-width:480px;background:#fff;border-radius:28px 28px 0 0;padding:0 0 40px;box-shadow:0 -20px 60px rgba(0,0,0,.18);transform:translateY(100%);transition:transform .32s cubic-bezier(.32,1.1,.45,1);max-height:88vh;overflow-y:auto}
.wp-gift-handle{width:44px;height:5px;background:#e2e5f0;border-radius:99px;margin:14px auto 0}
.wp-gift-header{display:flex;align-items:center;gap:8px;padding:16px 20px 10px}
.wp-gift-title{font-size:18px;font-weight:900;color:#081126;letter-spacing:-.02em}
.wp-gift-to{font-size:13px;color:#7c8495;font-weight:700;flex:1}
.wp-gift-close{margin-left:auto;width:34px;height:34px;border-radius:50%;border:none;background:#f3f5fb;color:#44475a;font-size:16px;font-weight:900;cursor:pointer;display:grid;place-items:center;flex-shrink:0}
.wp-gift-close:active{background:#e5e8f0}
.wp-gift-balance-bar{display:flex;align-items:center;justify-content:space-between;padding:10px 20px 14px;border-bottom:1px solid #f0f2f8}
.wp-gift-bal-label{font-size:13px;color:#7c8495;font-weight:700}
.wp-gift-bal-val{font-size:17px;font-weight:900;color:#081126}

/* ── Gift Grid ───────────────────────────────────────────── */
.wp-gift-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:18px 16px}
.wp-gift-card{display:flex;flex-direction:column;align-items:center;gap:6px;padding:14px 8px 12px;border-radius:20px;border:2px solid #edf0fa;background:#fafbff;cursor:pointer;transition:border-color .15s,background .15s,transform .12s;position:relative;overflow:hidden}
.wp-gift-card::before{content:'';position:absolute;inset:0;background:linear-gradient(135deg,rgba(255,255,255,.6),rgba(255,255,255,0));border-radius:18px;pointer-events:none}
.wp-gift-card:active{transform:scale(.94)}
.wp-gift-card.selected{border-color:#1D9BF0;background:linear-gradient(135deg,#e8f5ff,#f0faff);box-shadow:0 0 0 3px rgba(29,155,240,.18)}
.wp-gift-emoji{font-size:2.1rem;line-height:1;display:block;filter:drop-shadow(0 2px 6px rgba(0,0,0,.12))}
.wp-gift-name{font-size:11px;font-weight:800;color:#44475a;text-align:center;line-height:1.2}
.wp-gift-price{font-size:12px;font-weight:900;color:#1D9BF0;background:#e8f5ff;padding:3px 8px;border-radius:99px;margin-top:2px}

/* ── Gift Confirm Bar ────────────────────────────────────── */
.wp-gift-confirm{display:none;align-items:center;gap:12px;padding:14px 18px;background:linear-gradient(90deg,#f7fbff,#fff);border-top:1px solid #edf0fa;border-bottom:1px solid #edf0fa;margin:0 0 8px}
.wp-gift-selected-preview{display:flex;align-items:center;gap:10px;flex:1}
.wp-gift-selected-preview span:first-child{font-size:2rem;line-height:1;filter:drop-shadow(0 2px 6px rgba(0,0,0,.1))}
.wp-gift-selected-preview b{font-size:14px;font-weight:900;color:#081126}
.wp-gift-selected-preview small{font-size:12px;color:#7c8495}
.wp-gift-send-btn{padding:11px 22px;border-radius:22px;border:none;background:linear-gradient(135deg,#00c853,#69ff47);color:#013d00;font-size:14px;font-weight:900;cursor:pointer;box-shadow:0 6px 18px rgba(0,200,83,.28);flex-shrink:0;transition:transform .12s}
.wp-gift-send-btn:active{transform:scale(.95)}
.wp-gift-send-btn:disabled{opacity:.6;cursor:not-allowed}
.wp-gift-cancel-btn{padding:10px 16px;border-radius:22px;border:2px solid #edf0fa;background:#fff;color:#7c8495;font-size:13px;font-weight:800;cursor:pointer;flex-shrink:0}
.wp-gift-note{font-size:11.5px;color:#aab0c4;text-align:center;padding:0 20px;margin:0 0 4px;line-height:1.5}

/* ── Gift Flying Emoji Animation ─────────────────────────── */
.wp-gift-fly{position:fixed;left:50%;bottom:120px;transform:translateX(-50%) scale(1);font-size:3rem;z-index:99999;pointer-events:none;animation:wp-gift-fly-up .9s ease-out forwards}
@keyframes wp-gift-fly-up{0%{opacity:1;transform:translateX(-50%) scale(1) translateY(0)}100%{opacity:0;transform:translateX(-50%) scale(2.2) translateY(-180px)}}

/* ── Admin Verify Table ──────────────────────────────────── */
.wp-admin-verify-badge{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;border-radius:20px;font-size:12px;font-weight:800}
.wp-admin-verify-badge.verified{background:#e8f5ff;color:#0d6efd}
.wp-admin-verify-badge.pending{background:#fff7e0;color:#a06000}
.wp-admin-verify-badge.none{background:#f3f5fb;color:#7c8495}

/* ── v87b: Gift Bar inside Comments screen ────────────────── */
.wp-comments-wrapper{display:flex;flex-direction:column;min-height:calc(100vh - 80px)}
.wp-comment-list{flex:1;padding-bottom:8px}
.wp-comment-row{align-items:flex-start!important;padding:12px 16px!important}
.wp-comment-gift{display:flex;align-items:center;gap:6px;color:#7c8495;font-size:13px}
.wp-comment-gift-emoji{font-size:1.4rem;line-height:1}

/* Gift Bar */
.wp-gift-bar{background:linear-gradient(135deg,#f8f4ff,#fff);border-top:1px solid #ede8ff;border-bottom:1px solid #ede8ff;padding:12px 16px 10px}
.wp-gift-bar-label{font-size:12.5px;font-weight:800;color:#6d37ff;margin-bottom:10px;display:flex;align-items:center;gap:5px}
.wp-gift-bar-row{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;scrollbar-width:none}
.wp-gift-bar-row::-webkit-scrollbar{display:none}

/* Each gift emoji button in bar */
.wp-gift-open-btn{display:flex;flex-direction:column;align-items:center;gap:3px;padding:10px 10px 8px;border-radius:18px;border:2px solid #ede8ff;background:#fff;cursor:pointer;transition:border-color .15s,transform .12s,background .15s;flex-shrink:0;min-width:62px;box-shadow:0 2px 10px rgba(109,55,255,.08)}
.wp-gift-open-btn:active{transform:scale(.92);border-color:#6d37ff;background:#f3eeff}
.wp-gift-open-btn:hover{border-color:#c4aaff;background:#faf7ff}
.wp-gift-bar-emoji{font-size:1.7rem;line-height:1;display:block;filter:drop-shadow(0 2px 5px rgba(0,0,0,.12))}
.wp-gift-bar-price{font-size:10.5px;font-weight:900;color:#6d37ff;background:#ede8ff;padding:2px 7px;border-radius:99px;white-space:nowrap}


/* v100 fix: gift icons must not sit under the comment box. Only a clean Send Gift button is visible in the comment bar. */
.wp-gift-bar,
.wp-gift-bar-label,
.wp-gift-bar-row{display:none!important;height:0!important;overflow:hidden!important;padding:0!important;margin:0!important;border:0!important}
.wp-comment-composer{display:flex!important;align-items:center;gap:8px;padding:12px 14px!important;background:rgba(255,255,255,.96);backdrop-filter:blur(14px);border-top:1px solid #eef0f6;box-shadow:0 -8px 28px rgba(16,24,40,.06);position:sticky;bottom:74px;z-index:30}
.wp-comment-composer input{min-width:0;flex:1}
.wp-comment-send-gift{display:inline-flex!important;flex-direction:row!important;align-items:center;justify-content:center;gap:6px;min-width:auto!important;flex:0 0 auto;padding:10px 12px!important;border:1px solid rgba(109,55,255,.20)!important;border-radius:999px!important;background:linear-gradient(135deg,#ffffff,#f5f0ff)!important;color:#6d37ff!important;font-size:12px!important;font-weight:900!important;line-height:1!important;box-shadow:0 6px 18px rgba(109,55,255,.13)!important;white-space:nowrap;cursor:pointer}
.wp-comment-send-gift:active{transform:scale(.96);background:#f0eaff!important}
.wp-comment-gift-logo{font-size:18px;line-height:1;filter:drop-shadow(0 2px 4px rgba(109,55,255,.18))}
.wp-comment-send-gift .wp-gift-bar-emoji,
.wp-comment-send-gift .wp-gift-bar-price{display:none!important}
.wp-gift-status{margin:0 18px 10px;padding:10px 12px;border-radius:16px;font-size:13px;font-weight:800;text-align:center;background:#fff2f2;color:#d92d20;border:1px solid #ffd1d1}
.wp-gift-status.ok{background:#ecfff3;color:#039855;border-color:#b7f7c9}
@media(max-width:390px){.wp-comment-send-gift span:last-child{display:none}.wp-comment-send-gift{padding:10px!important}.wp-comment-gift-logo{font-size:19px}}

/* v101 Comment screen fixed composer patch
   Scope: only comments page. The comment list scrolls; gift button + input stay fixed above bottom nav. */
.wp-phone.comments-shell{
  height:100dvh!important;
  max-height:100dvh!important;
  min-height:100dvh!important;
  overflow:hidden!important;
  background:#fff!important;
}
.wp-phone.comments-shell .phone-screen{
  height:calc(100dvh - 82px)!important;
  min-height:0!important;
  max-height:calc(100dvh - 82px)!important;
  padding-bottom:0!important;
  overflow:hidden!important;
  display:flex!important;
  flex-direction:column!important;
  background:#fff!important;
}
.wp-phone.comments-shell .screen-header{
  position:relative!important;
  top:auto!important;
  flex:0 0 76px!important;
  z-index:8!important;
}
.wp-phone.comments-shell .wp-comments-wrapper{
  flex:1 1 auto!important;
  min-height:0!important;
  height:auto!important;
  max-height:none!important;
  overflow:hidden!important;
  display:flex!important;
  flex-direction:column!important;
  background:#fff!important;
}
.wp-phone.comments-shell .wp-comment-list{
  flex:1 1 auto!important;
  min-height:0!important;
  height:auto!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  -webkit-overflow-scrolling:touch!important;
  padding:14px 18px 10px!important;
  scroll-behavior:smooth;
}
.wp-phone.comments-shell .wp-comment-composer,
.wp-phone.comments-shell form.comment-box.wp-comment-composer{
  position:relative!important;
  left:auto!important;
  right:auto!important;
  bottom:auto!important;
  transform:none!important;
  flex:0 0 auto!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:10px 14px 14px!important;
  z-index:35!important;
  background:rgba(255,255,255,.98)!important;
  border-top:1px solid #eef0f6!important;
  box-shadow:0 -8px 28px rgba(16,24,40,.08)!important;
}
.wp-phone.comments-shell .wp-comment-composer input{
  flex:1 1 auto!important;
  min-width:0!important;
}
.wp-phone.comments-shell .wp-comment-send-gift{
  flex:0 0 auto!important;
}
@media(max-width:430px){
  .wp-phone.comments-shell .phone-screen{height:calc(100dvh - 76px)!important;max-height:calc(100dvh - 76px)!important}
  .wp-phone.comments-shell .wp-comment-composer{padding-bottom:12px!important}
}
@supports not (height:100dvh){
  .wp-phone.comments-shell{height:100vh!important;max-height:100vh!important;min-height:100vh!important}
  .wp-phone.comments-shell .phone-screen{height:calc(100vh - 82px)!important;max-height:calc(100vh - 82px)!important}
  @media(max-width:430px){.wp-phone.comments-shell .phone-screen{height:calc(100vh - 76px)!important;max-height:calc(100vh - 76px)!important}}
}


/* v102: ultra-fast popup/flash auto-hide. JS removes the node after 1ms; this is a safety fallback. */
.flash,.wp-inline-toast{animation:wpV102FastGone .001s linear forwards!important}
@keyframes wpV102FastGone{0%{opacity:1;visibility:visible}100%{opacity:0;visibility:hidden;pointer-events:none}}


/* v103 live center: safe additive live button + camera preview */
.home-feed-tabs a[href*="24-live-streaming"]{background:#ffedf3;color:#e1115b;border-radius:999px;padding:8px 13px;font-weight:900}
.wp-live-center{padding:14px 16px 34px;background:#f6f7fb;min-height:100%;color:#111827}
.live-head{display:flex;gap:12px;align-items:center;margin:8px 0 16px}.live-head h1{margin:0;font-size:34px}.live-head p{margin:2px 0 0;color:#6b7280;font-weight:700}.live-back{width:42px;height:42px;border-radius:14px;background:#fff;display:grid;place-items:center;text-decoration:none;color:#111;font-size:34px;box-shadow:0 8px 22px rgba(15,23,42,.08)}
.live-now-card,.go-live-card{background:#fff;border-radius:24px;padding:16px;margin:14px 0;box-shadow:0 14px 35px rgba(15,23,42,.08)}.live-card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.live-card-top b{font-size:20px}.live-card-top span{background:#ffe7ef;color:#e1115b;border-radius:99px;padding:6px 10px;font-weight:900}.live-row{display:flex;align-items:center;gap:12px;text-decoration:none;color:#111;padding:12px 0;border-top:1px solid #eef0f5}.live-row:first-of-type{border-top:0}.live-avatar{position:relative;width:48px;height:48px}.live-avatar img,.live-avatar .avatar{width:48px;height:48px;border-radius:50%;object-fit:cover}.live-avatar i{position:absolute;right:0;bottom:1px;width:13px;height:13px;border-radius:50%;background:#16a34a;border:2px solid #fff}.live-row span:nth-child(2){flex:1;min-width:0}.live-row b{display:block}.live-row em{display:block;color:#6b7280;font-style:normal;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.live-row strong{background:#ef123f;color:#fff;border-radius:8px;padding:5px 7px;font-size:11px}.camera-frame{height:440px;max-height:58vh;background:#111;border-radius:26px;overflow:hidden;position:relative;margin-bottom:14px}.camera-frame video{width:100%;height:100%;object-fit:cover;display:block}.camera-frame #wpLivePlaceholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;gap:8px;background:linear-gradient(135deg,#111827,#374151)}.camera-frame #wpLivePlaceholder b{font-size:56px}.camera-frame #wpLivePlaceholder span{font-weight:900}.go-live-card .muted{margin-top:10px;font-weight:800}

/* v104 live viewer: matches reference live overlay without touching other pages */
body:has(.wp-live-viewer-screen) .phone-frame{background:#000;padding:0;overflow:hidden}
.wp-live-viewer-screen{position:relative;min-height:calc(100vh - 0px);height:100%;background:#111;color:#fff;overflow:hidden;font-family:inherit}
.wp-live-bg{position:absolute;inset:0;background:radial-gradient(circle at 58% 38%,#8b5f4c 0 7%,transparent 8%),linear-gradient(100deg,#263445,#5d6d78 48%,#2a2d35);filter:blur(.2px);transform:scale(1.05)}
.wp-live-bg:after{content:"";position:absolute;right:8%;top:18%;width:46%;height:54%;border-radius:45% 45% 28% 28%;background:linear-gradient(#232528 0 20%,#c69b7d 21% 45%,#7e222c 46%);box-shadow:0 0 0 180px rgba(255,255,255,.02);opacity:.95}
.wp-live-gradient{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.42),rgba(0,0,0,.02) 42%,rgba(0,0,0,.65) 100%)}
.wp-live-top{position:absolute;top:18px;left:16px;right:16px;display:flex;align-items:center;gap:8px;z-index:4}.wp-live-x,.wp-live-close{color:#fff;text-decoration:none;font-size:32px;line-height:1;text-shadow:0 3px 12px #000}.wp-live-close{margin-left:auto}.wp-live-badge{background:#ff264f;border-radius:7px;padding:7px 10px;font-weight:1000;font-size:14px}.wp-live-views{background:rgba(10,14,22,.76);border-radius:7px;padding:7px 10px;font-weight:900;font-size:14px}
.wp-live-host{position:absolute;top:78px;left:22px;right:22px;display:flex;align-items:center;gap:10px;z-index:4}.wp-live-host-avatar img,.wp-live-host-avatar .avatar{width:44px;height:44px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.7)}.wp-live-host div{min-width:0}.wp-live-host b{display:block;font-size:17px;text-shadow:0 2px 8px #000}.wp-live-host em{display:block;font-style:normal;font-size:13px;color:rgba(255,255,255,.78);font-weight:800}.wp-live-host .reel-follow-form{margin-left:auto}.wp-live-host .reel-follow-btn{background:#ff1f8c;color:#fff;border:0;border-radius:12px;padding:10px 18px;font-weight:1000}
.wp-live-caption{position:absolute;top:130px;left:24px;right:24px;margin:0;z-index:4;font-weight:900;text-shadow:0 2px 10px #000;color:rgba(255,255,255,.92)}
.wp-live-comments{position:absolute;left:24px;right:120px;bottom:120px;z-index:4;display:flex;flex-direction:column;gap:16px}.wp-live-comments p{margin:0;color:#fff;text-shadow:0 2px 10px #000;font-weight:800}.wp-live-comments b{margin-right:8px;font-weight:1000}
.wp-live-bottom{position:absolute;left:18px;right:18px;bottom:22px;z-index:5;display:flex;align-items:center;gap:12px}.wp-live-comment-box{flex:1;height:54px;border:2px solid rgba(255,255,255,.45);border-radius:999px;display:flex;align-items:center;padding:0 8px 0 18px;background:rgba(0,0,0,.18);backdrop-filter:blur(6px)}.wp-live-comment-box input{flex:1;min-width:0;background:transparent;border:0;color:#fff;font-weight:900;outline:0}.wp-live-comment-box input::placeholder{color:#fff}.wp-live-comment-box button{width:36px;height:36px;border:0;border-radius:50%;background:rgba(255,255,255,.18);color:#fff;font-weight:1000}.wp-live-mini-btn,.wp-live-heart{width:48px;height:48px;border:0;border-radius:16px;display:grid;place-items:center;text-decoration:none;background:rgba(0,0,0,.28);color:#fff;font-size:26px}.wp-live-heart{background:transparent;color:#ff315f;font-size:46px;line-height:1}
@media(max-width:430px){.wp-live-comments{right:95px}.wp-live-bottom{gap:8px}.wp-live-mini-btn,.wp-live-heart{width:42px}.wp-live-comment-box{height:50px}}
/* v105 real WebRTC/RTMP-ready live additions */
.live-publish-pill{position:absolute;top:14px;right:14px;background:#ff264f;color:#fff;border-radius:999px;padding:8px 12px;font-weight:1000;z-index:3;box-shadow:0 8px 20px rgba(0,0,0,.22)}
.live-server-hint{margin-top:10px;background:#f3f4f8;border-radius:16px;padding:11px 12px;font-weight:800;color:#374151}
.wp-live-real-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:none;background:#000;z-index:1}.wp-live-real-video[src],.wp-live-real-video[style*="block"]{display:block}.wp-live-viewer-screen .wp-live-bg,.wp-live-viewer-screen .wp-live-gradient,.wp-live-viewer-screen .wp-live-top,.wp-live-viewer-screen .wp-live-host,.wp-live-viewer-screen .wp-live-caption,.wp-live-viewer-screen .wp-live-comments,.wp-live-viewer-screen .wp-live-bottom{z-index:4}.wp-live-viewer-screen .wp-live-gradient{z-index:2}.wp-live-viewer-screen .wp-live-bg{z-index:0}

/* v106 Live final fixes: tab row, full-screen live feed, fixed gift/action buttons */
.home-feed-tabs{grid-template-columns:repeat(4,1fr)!important;height:56px!important;overflow:hidden!important}
.home-feed-tabs a[href*="24-live-streaming"]{background:transparent!important;color:#6b7280!important;border-radius:14px!important;padding:0!important;font-size:18px!important}
.home-feed-tabs a[href*="24-live-streaming"].active{background:#fff!important;color:#111827!important}
body:has(.wp-live-feed-page) .phone-frame,body:has(.wp-go-live-page) .phone-frame{background:#000!important;padding:0!important;overflow:hidden!important}
.wp-live-feed-page{position:relative;height:100vh;background:#000;color:#fff;overflow:hidden}
.wp-live-feed-top{position:absolute;top:14px;left:12px;right:12px;z-index:20;display:flex;gap:12px;align-items:center;color:#fff;pointer-events:none}.wp-live-feed-top .live-back{pointer-events:auto;background:rgba(0,0,0,.25);color:#fff}.wp-live-feed-top h1{margin:0;font-size:24px}.wp-live-feed-top p{margin:0;color:rgba(255,255,255,.8);font-weight:800}
.wp-live-vertical-feed{height:100vh;overflow-y:auto;scroll-snap-type:y mandatory;-webkit-overflow-scrolling:touch;background:#000}.wp-live-feed-item{height:100vh!important;min-height:100vh!important;scroll-snap-align:start;display:block}.wp-live-empty-real{height:100vh;display:grid;place-content:center;text-align:center;padding:24px}.wp-live-empty-real h2{font-size:26px;margin:0 0 8px}.wp-live-empty-real p{color:#cbd5e1;margin:0;font-weight:800}
.wp-live-plus-start{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:50;width:72px;height:72px;border-radius:50%;display:grid;place-items:center;text-decoration:none;color:#fff;font-size:44px;line-height:1;background:linear-gradient(135deg,#1d62ff,#0bbcff);box-shadow:0 12px 36px rgba(29,98,255,.36),0 0 0 12px rgba(255,255,255,.11);font-weight:300}
.wp-live-bottom{left:16px!important;right:12px!important;bottom:26px!important;gap:8px!important}.wp-live-comment-box{height:50px!important;min-width:0}.wp-live-mini-btn.wp-gift-open-btn{display:grid!important;place-items:center!important;min-width:44px!important;width:44px!important;height:44px!important;padding:0!important;border:0!important;background:rgba(0,0,0,.38)!important;color:#fff!important;border-radius:16px!important;box-shadow:none!important;font-size:24px!important;flex:0 0 44px!important}.wp-live-heart{width:44px!important;height:44px!important;flex:0 0 44px!important;font-size:38px!important;display:grid!important;place-items:center!important;overflow:hidden!important}.wp-live-comments{right:92px!important;bottom:104px!important;max-height:210px!important;overflow:hidden}.wp-live-host{top:72px!important}.wp-live-caption{top:128px!important}.wp-live-real-video{z-index:1!important}.wp-live-gradient{z-index:2!important}.wp-live-top,.wp-live-host,.wp-live-caption,.wp-live-comments,.wp-live-bottom{z-index:5!important}
.wp-go-live-page{height:100vh;background:#000;color:#fff;display:flex;flex-direction:column}.wp-go-live-camera{position:relative;flex:1;min-height:0;background:#111;overflow:hidden}.wp-go-live-camera video{width:100%;height:100%;object-fit:cover}.wp-go-live-camera #wpLivePlaceholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:linear-gradient(135deg,#111827,#263445);color:#fff;font-weight:900}.wp-go-live-camera #wpLivePlaceholder b{font-size:48px}.wp-go-live-panel{background:#fff;color:#111827;border-radius:28px 28px 0 0;padding:18px 18px 26px;box-shadow:0 -16px 40px rgba(0,0,0,.2)}.wp-go-live-panel .live-back{position:absolute;top:14px;left:14px}.wp-go-live-panel .muted{font-weight:800;font-size:13px}


/* v107 final clean live UI: equal home tabs + reference-like full screen live */
.home-feed-tabs{
  width:100%!important;
  height:58px!important;
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  align-items:center!important;
  gap:0!important;
  padding:5px!important;
  border-radius:22px!important;
  overflow:hidden!important;
  background:#f5f6fb!important;
  box-shadow:inset 0 0 0 1px #e9edf5!important;
}
.home-feed-tabs a{
  width:100%!important;
  min-width:0!important;
  height:48px!important;
  padding:0!important;
  margin:0!important;
  border-radius:17px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:clip!important;
  font-size:17px!important;
  line-height:1!important;
  letter-spacing:-.5px!important;
}
.home-feed-tabs a.active,
.home-feed-tabs a[href*="09-home-feed"].active,
.home-feed-tabs a[href*="24-live-streaming"].active{
  background:#fff!important;
  color:#071229!important;
  box-shadow:0 10px 24px rgba(15,23,42,.08)!important;
}
@media(max-width:380px){.home-feed-tabs a{font-size:15.5px!important;letter-spacing:-.8px!important}.home-modern{padding-left:15px!important;padding-right:15px!important}}

body:has(.wp-live-feed-page) .bottom-nav,
body:has(.wp-live-viewer-screen) .bottom-nav,
body:has(.wp-go-live-page) .bottom-nav{display:none!important}
body:has(.wp-live-feed-page),body:has(.wp-live-viewer-screen),body:has(.wp-go-live-page){background:#000!important}
.wp-live-feed-top{display:none!important}
.wp-live-feed-page,
.wp-live-viewer-screen{
  width:100%!important;
  height:100svh!important;
  min-height:100svh!important;
  max-height:100svh!important;
  background:#000!important;
  overflow:hidden!important;
}
.wp-live-vertical-feed{height:100svh!important;max-height:100svh!important;overflow-y:auto!important;scroll-snap-type:y mandatory!important;background:#000!important}
.wp-live-feed-item,.wp-live-viewer-screen{height:100svh!important;min-height:100svh!important;scroll-snap-align:start!important;position:relative!important;overflow:hidden!important}
.wp-live-top{top:14px!important;left:14px!important;right:14px!important;height:42px!important;gap:7px!important;align-items:center!important}
.wp-live-x{display:none!important}
.wp-live-badge{border-radius:6px!important;padding:7px 10px!important;background:#ff244f!important;color:#fff!important;font-size:13px!important;letter-spacing:.2px!important}
.wp-live-views{border-radius:7px!important;padding:7px 10px!important;background:rgba(9,13,22,.78)!important;color:#fff!important;font-size:13px!important}
.wp-live-close{margin-left:auto!important;width:38px!important;height:38px!important;border-radius:50%!important;display:grid!important;place-items:center!important;background:rgba(0,0,0,.24)!important;color:#fff!important;font-size:30px!important;line-height:1!important;text-decoration:none!important}
.wp-live-close:after{content:'⤢';font-size:23px;margin-left:8px;color:#fff;text-shadow:0 2px 8px #000}.wp-live-close{font-size:0!important;grid-auto-flow:column;gap:8px;width:82px!important;background:transparent!important}
.wp-live-close:before{content:'×';font-size:32px;color:#fff;text-shadow:0 2px 8px #000}
.wp-live-host{top:72px!important;left:18px!important;right:18px!important;gap:10px!important;align-items:center!important}
.wp-live-host-avatar img,.wp-live-host-avatar .avatar{width:46px!important;height:46px!important;border-radius:50%!important;border:2px solid rgba(255,255,255,.8)!important;background:#e7ebf3!important;color:#111827!important}
.wp-live-host b{font-size:17px!important;color:#fff!important;text-shadow:0 2px 10px rgba(0,0,0,.75)!important;line-height:1.05!important}
.wp-live-host em{font-size:13px!important;color:rgba(255,255,255,.78)!important;text-shadow:0 2px 8px rgba(0,0,0,.7)!important}
.wp-live-host .reel-follow-btn{border-radius:13px!important;background:#ff1f8c!important;color:#fff!important;padding:10px 19px!important;min-width:86px!important;font-size:15px!important}
.wp-live-caption{top:126px!important;left:18px!important;right:18px!important;font-size:18px!important;line-height:1.25!important;color:#fff!important;text-shadow:0 3px 10px rgba(0,0,0,.8)!important}
.wp-live-comments{left:18px!important;right:88px!important;bottom:104px!important;max-height:225px!important;gap:13px!important;overflow:hidden!important}
.wp-live-comments p{font-size:16px!important;line-height:1.4!important;font-weight:900!important;text-shadow:0 2px 10px #000!important}
.wp-live-bottom{left:14px!important;right:14px!important;bottom:18px!important;height:54px!important;display:flex!important;align-items:center!important;gap:8px!important;z-index:30!important;box-sizing:border-box!important}
.wp-live-comment-box{flex:1 1 auto!important;width:0!important;min-width:0!important;height:52px!important;border-radius:999px!important;border:2px solid rgba(255,255,255,.48)!important;background:rgba(0,0,0,.22)!important;padding:0 7px 0 16px!important;box-sizing:border-box!important;overflow:hidden!important}
.wp-live-comment-box input{font-size:16px!important;font-weight:900!important;color:#fff!important;min-width:0!important;width:0!important;flex:1 1 auto!important}
.wp-live-comment-box button{width:39px!important;height:39px!important;min-width:39px!important;background:rgba(255,255,255,.22)!important;color:#fff!important;font-size:20px!important;display:grid!important;place-items:center!important}
.wp-live-mini-btn.wp-gift-open-btn,.wp-live-heart{flex:0 0 40px!important;width:40px!important;min-width:40px!important;height:48px!important;border-radius:15px!important;display:grid!important;place-items:center!important;padding:0!important;margin:0!important;box-sizing:border-box!important;position:relative!important;right:auto!important;bottom:auto!important;transform:none!important;overflow:hidden!important}
.wp-live-mini-btn.wp-gift-open-btn{background:rgba(0,0,0,.38)!important;border:0!important;color:#fff!important;font-size:24px!important;line-height:1!important}
.wp-live-heart{background:transparent!important;border:0!important;color:#ff2450!important;font-size:42px!important;line-height:1!important}
.wp-live-plus-start{width:66px!important;height:66px!important;bottom:22px!important;font-size:42px!important;z-index:40!important}
.wp-go-live-page{height:100svh!important;min-height:100svh!important;overflow:hidden!important}.wp-go-live-panel{padding-bottom:20px!important}.wp-go-live-camera{max-height:calc(100svh - 210px)!important}
@media(max-width:370px){.wp-live-bottom{gap:6px!important;left:10px!important;right:10px!important}.wp-live-mini-btn.wp-gift-open-btn,.wp-live-heart{flex-basis:36px!important;width:36px!important;min-width:36px!important}.wp-live-comments{right:78px!important}.wp-live-comment-box{padding-left:12px!important}.wp-live-comment-box input{font-size:14px!important}}

/* v108: clean fixed home tabs + live overlay controls */
.home-feed-tabs{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:0!important;flex-wrap:nowrap!important;overflow:hidden!important;border-radius:28px!important;padding:6px!important;box-sizing:border-box!important}
.home-feed-tabs a{flex:1 1 0!important;text-align:center!important;white-space:nowrap!important;min-width:0!important;padding:13px 6px!important;border-radius:22px!important;box-sizing:border-box!important;font-size:clamp(15px,4.2vw,20px)!important;line-height:1!important}
.home-feed-tabs a[href*="24-live-streaming"]{background:transparent!important;color:#6b7280!important}
.home-feed-tabs a.active{background:#fff!important;color:#111827!important;box-shadow:0 8px 20px rgba(15,23,42,.06)!important}
.wp-live-viewer-screen{height:100svh!important;min-height:100svh!important;width:100%!important;background:#121923!important;overflow:hidden!important}
.wp-live-real-video{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;z-index:1!important;background:transparent!important}
.wp-live-bg{z-index:0!important}.wp-live-gradient{z-index:2!important}.wp-live-top,.wp-live-host,.wp-live-caption,.wp-live-comments,.wp-live-bottom{z-index:5!important}
.wp-live-bottom{display:flex!important;align-items:center!important;gap:8px!important;left:14px!important;right:14px!important;bottom:18px!important;width:auto!important;max-width:none!important;box-sizing:border-box!important}
.wp-live-comment-box{flex:1 1 auto!important;min-width:0!important;height:56px!important;display:flex!important;align-items:center!important;gap:6px!important;border:2px solid rgba(255,255,255,.5)!important;background:rgba(0,0,0,.25)!important;border-radius:999px!important;padding:5px 7px 5px 18px!important;box-sizing:border-box!important}
.wp-live-comment-box input{flex:1 1 auto!important;width:0!important;min-width:0!important;background:transparent!important;border:0!important;outline:0!important;color:#fff!important;font-weight:800!important}
.wp-live-comment-box button{flex:0 0 42px!important;width:42px!important;height:42px!important;border-radius:50%!important;border:0!important;display:grid!important;place-items:center!important;background:rgba(255,255,255,.25)!important;color:#fff!important}
.wp-live-mini-btn.wp-gift-open-btn,.wp-live-heart{flex:0 0 42px!important;width:42px!important;min-width:42px!important;height:50px!important;margin:0!important;position:relative!important;right:auto!important;bottom:auto!important;display:grid!important;place-items:center!important;border-radius:16px!important;box-sizing:border-box!important;overflow:hidden!important}
.wp-live-mini-btn.wp-gift-open-btn{background:rgba(0,0,0,.35)!important;border:0!important;font-size:24px!important;color:#fff!important}
.wp-live-heart{background:transparent!important;border:0!important;font-size:42px!important;line-height:1!important;color:#ff244f!important}
.wp-live-heart-fly{position:absolute;right:20px;bottom:80px;font-size:36px;z-index:9;animation:wpLiveHeartFly .9s ease-out forwards;pointer-events:none}@keyframes wpLiveHeartFly{0%{opacity:1;transform:translateY(0) scale(.7)}100%{opacity:0;transform:translateY(-120px) scale(1.5)}}

/* v116: red copyright warning for profile-only duplicate videos */
.wp-copyright-warning{margin:0 16px 12px;padding:14px 14px;border:2px solid #ef4444;background:#fff1f2;color:#991b1b;border-radius:18px;display:flex;align-items:center;justify-content:space-between;gap:12px;box-shadow:0 10px 24px rgba(239,68,68,.14)}
.wp-copyright-warning b{display:block;font-size:15px;font-weight:900;color:#7f1d1d;margin-bottom:4px}
.wp-copyright-warning p{margin:0;font-size:17px;font-weight:900;color:#dc2626}
.wp-copyright-warning small{display:block;margin-top:4px;color:#991b1b;font-weight:700;line-height:1.35}
.wp-copyright-warning form{margin:0;flex:0 0 auto}
.wp-copyright-warning button{border:0;border-radius:999px;background:#dc2626;color:#fff;font-weight:900;padding:10px 13px;box-shadow:0 8px 18px rgba(220,38,38,.28);cursor:pointer}
.wp-copyright-tile-warning{position:absolute;left:7px;right:7px;top:7px;z-index:5;background:#dc2626;color:#fff;border-radius:12px;padding:7px 8px;font-size:11px;font-weight:900;text-align:center;box-shadow:0 8px 18px rgba(220,38,38,.35);line-height:1.15}
.profile-grid-tile{position:relative;overflow:hidden}
@media(max-width:520px){.wp-copyright-warning{align-items:flex-start;flex-direction:column}.wp-copyright-warning button{width:100%}}
/* v118 adult/sexual moderation warning uses the same red alert style as copyright */
.wp-adult-warning{border-color:#b91c1c;background:#fef2f2;color:#7f1d1d}
.wp-adult-warning p{color:#b91c1c}
.wp-adult-warning button{background:#b91c1c}
.wp-adult-tile-warning{background:#b91c1c}

/* v126: Facebook-style sponsored ad card for Reels only. No feed/action logic changed. */
.reel-popup-ad.reel-popup-ad-rotator{
  display:block!important;
  width:min(100%,360px)!important;
  min-height:0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  overflow:visible!important;
  pointer-events:auto!important;
}
.reel-popup-ad-slide{
  display:none!important;
  width:100%!important;
  padding:0!important;
  border-radius:18px!important;
  background:#20242d!important;
  border:1px solid rgba(255,255,255,.14)!important;
  box-shadow:0 14px 34px rgba(0,0,0,.42)!important;
  color:#fff!important;
  overflow:hidden!important;
  pointer-events:auto!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
.reel-popup-ad-slide.is-active{display:block!important;}
.reel-popup-ad-top{
  min-height:42px!important;
  padding:10px 14px 7px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  border-bottom:1px solid rgba(255,255,255,.08)!important;
}
.reel-popup-ad-top span{font-size:14px!important;font-weight:900!important;color:#fff!important;letter-spacing:.01em!important;}
.reel-popup-ad-close{width:26px!important;height:26px!important;border-radius:50%!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;background:rgba(255,255,255,.12)!important;color:#fff!important;text-decoration:none!important;font-size:20px!important;line-height:1!important;font-weight:800!important;}
.reel-popup-ad-main{display:flex!important;gap:10px!important;padding:10px 12px!important;color:#fff!important;text-decoration:none!important;align-items:center!important;}
.reel-popup-ad-media{width:74px!important;height:56px!important;min-width:74px!important;border-radius:12px!important;overflow:hidden!important;flex:0 0 74px!important;background:linear-gradient(135deg,#172044,#5b35ff,#14c6ff)!important;display:flex!important;align-items:center!important;justify-content:center!important;text-decoration:none!important;}
.reel-popup-ad-img,.reel-popup-ad-video,.reel-popup-ad-code{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;border:0!important;}
.reel-popup-ad-fallback{width:100%!important;height:100%!important;display:flex!important;align-items:center!important;justify-content:center!important;font-weight:1000!important;color:#fff!important;font-size:14px!important;}
.reel-popup-ad-copy{min-width:0!important;flex:1 1 auto!important;display:flex!important;flex-direction:column!important;gap:3px!important;line-height:1.12!important;text-shadow:none!important;}
.reel-popup-ad-copy small{font-size:11px!important;font-weight:900!important;color:rgba(255,255,255,.68)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.reel-popup-ad-copy b{font-size:14.5px!important;font-weight:1000!important;color:#fff!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:210px!important;}
.reel-popup-ad-copy em{font-style:normal!important;font-size:12px!important;font-weight:700!important;color:rgba(255,255,255,.76)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:210px!important;}
.reel-popup-ad-bottom{display:flex!important;gap:8px!important;padding:0 12px 12px!important;align-items:center!important;}
.reel-popup-ad-cta{height:38px!important;min-width:108px!important;flex:1 1 auto!important;padding:0 14px!important;border-radius:14px!important;background:rgba(255,255,255,.12)!important;border:1px solid rgba(255,255,255,.28)!important;color:#fff!important;text-decoration:none!important;font-size:14px!important;font-weight:1000!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important;}
.reel-popup-ad-more{width:42px!important;height:38px!important;border-radius:14px!important;background:rgba(255,255,255,.12)!important;border:1px solid rgba(255,255,255,.24)!important;color:#fff!important;text-decoration:none!important;font-size:18px!important;font-weight:1000!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;}
.reel-popup-ad-video{pointer-events:none!important;}
@media(max-width:420px){
  .reel-popup-ad.reel-popup-ad-rotator{width:min(100%,330px)!important;}
  .reel-popup-ad-media{width:64px!important;height:50px!important;min-width:64px!important;}
  .reel-popup-ad-copy b,.reel-popup-ad-copy em{max-width:170px!important;}
  .reel-popup-ad-top{min-height:38px!important;padding:9px 12px 6px!important;}
  .reel-popup-ad-main{padding:9px 10px!important;}
  .reel-popup-ad-bottom{padding:0 10px 10px!important;}
}

/* v127: Reels sponsored ad banner fix.
   Only ad UI changed: the ad creative now fills the full banner width instead of appearing as a tiny logo/card. */
body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad.reel-popup-ad-rotator,
.reel-popup-ad.reel-popup-ad-rotator{
  width:100%!important;
  max-width:none!important;
  margin:0 0 12px 0!important;
}
body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad-slide,
.reel-popup-ad-slide{
  width:100%!important;
  border-radius:18px!important;
  background:#1f232c!important;
  overflow:hidden!important;
}
body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad-top,
.reel-popup-ad-top{
  min-height:34px!important;
  padding:8px 12px!important;
}
body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad-main,
.reel-popup-ad-main{
  display:block!important;
  width:100%!important;
  padding:0!important;
  color:#fff!important;
  text-decoration:none!important;
}
body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad-media,
.reel-popup-ad-media{
  display:block!important;
  width:100%!important;
  height:92px!important;
  min-width:0!important;
  flex:none!important;
  border-radius:0!important;
  overflow:hidden!important;
  background:#111827!important;
}
body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad-img,
body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad-video,
body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad-code,
.reel-popup-ad-img,
.reel-popup-ad-video,
.reel-popup-ad-code{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  display:block!important;
}
body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad-copy,
.reel-popup-ad-copy{
  display:block!important;
  width:100%!important;
  padding:8px 12px 2px!important;
  min-width:0!important;
}
body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad-copy small,
.reel-popup-ad-copy small{
  display:block!important;
  font-size:11px!important;
  font-weight:900!important;
  color:rgba(255,255,255,.68)!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad-copy b,
.reel-popup-ad-copy b{
  display:block!important;
  max-width:100%!important;
  font-size:15px!important;
  line-height:1.15!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad-copy em,
.reel-popup-ad-copy em{
  display:block!important;
  max-width:100%!important;
  font-size:12px!important;
  line-height:1.2!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad-bottom,
.reel-popup-ad-bottom{
  padding:8px 12px 12px!important;
}
@media(max-width:420px){
  body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad.reel-popup-ad-rotator,
  .reel-popup-ad.reel-popup-ad-rotator{width:100%!important;max-width:none!important;}
  body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad-media,
  .reel-popup-ad-media{height:86px!important;width:100%!important;min-width:0!important;}
}

/* v128: Final Reels sponsored ad compact banner.
   Only ad UI changed: no large ad media, no close header, no video overlay change. */
body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad.reel-popup-ad-rotator,
.wp-phone.reels-shell .reel-popup-ad.reel-popup-ad-rotator,
.reel-popup-ad.reel-popup-ad-rotator{
  display:block!important;
  width:min(calc(100vw - 110px),330px)!important;
  max-width:330px!important;
  min-height:0!important;
  margin:0 0 12px 0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
  pointer-events:auto!important;
  z-index:10!important;
}
body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad-slide,
.wp-phone.reels-shell .reel-popup-ad-slide,
.reel-popup-ad-slide{
  display:none!important;
  align-items:center!important;
  gap:7px!important;
  width:100%!important;
  min-height:48px!important;
  max-height:54px!important;
  padding:5px!important;
  border-radius:18px!important;
  background:rgba(0,0,0,.72)!important;
  border:1px solid rgba(255,255,255,.25)!important;
  box-shadow:0 12px 30px rgba(0,0,0,.34)!important;
  backdrop-filter:blur(11px)!important;
  -webkit-backdrop-filter:blur(11px)!important;
  overflow:hidden!important;
  color:#fff!important;
}
body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad-slide.is-active,
.wp-phone.reels-shell .reel-popup-ad-slide.is-active,
.reel-popup-ad-slide.is-active{display:flex!important;}
.wp-phone.reels-shell .reel-popup-ad-top,
.wp-phone.reels-shell .reel-popup-ad-bottom,
.reel-popup-ad-top,
.reel-popup-ad-bottom{display:none!important;}
body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad-main,
.wp-phone.reels-shell .reel-popup-ad-main,
.reel-popup-ad-main{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  flex:1 1 auto!important;
  min-width:0!important;
  padding:0!important;
  color:#fff!important;
  text-decoration:none!important;
  overflow:hidden!important;
}
body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad-media,
.wp-phone.reels-shell .reel-popup-ad-media,
.reel-popup-ad-media{
  width:48px!important;
  height:36px!important;
  min-width:48px!important;
  max-width:48px!important;
  flex:0 0 48px!important;
  border-radius:13px!important;
  overflow:hidden!important;
  background:linear-gradient(135deg,#071025,#233a88,#0ea5ff)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad-img,
.wp-phone.reels-shell .reel-popup-ad-img,
.reel-popup-ad-img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  display:block!important;
}
.wp-phone.reels-shell .reel-popup-ad-video,
.reel-popup-ad-video,
.wp-phone.reels-shell .reel-popup-ad-code,
.reel-popup-ad-code{display:none!important;}
body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad-fallback,
.wp-phone.reels-shell .reel-popup-ad-fallback,
.reel-popup-ad-fallback{
  width:100%!important;height:100%!important;display:flex!important;align-items:center!important;justify-content:center!important;
  color:#fff!important;font-weight:1000!important;font-size:12px!important;letter-spacing:.02em!important;
}
body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad-copy,
.wp-phone.reels-shell .reel-popup-ad-copy,
.reel-popup-ad-copy{
  display:flex!important;
  flex-direction:column!important;
  gap:1px!important;
  min-width:0!important;
  line-height:1.05!important;
  text-shadow:none!important;
}
body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad-copy small,
.wp-phone.reels-shell .reel-popup-ad-copy small,
.reel-popup-ad-copy small{
  font-size:10px!important;
  line-height:1!important;
  color:rgba(255,255,255,.88)!important;
  font-weight:1000!important;
  white-space:nowrap!important;
  text-transform:uppercase!important;
}
body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad-copy b,
.wp-phone.reels-shell .reel-popup-ad-copy b,
.reel-popup-ad-copy b{
  display:block!important;
  max-width:88px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  color:#fff!important;
  font-size:13px!important;
  line-height:1.05!important;
  font-weight:1000!important;
}
.wp-phone.reels-shell .reel-popup-ad-copy em,
.reel-popup-ad-copy em{display:none!important;}
body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad-cta,
.wp-phone.reels-shell .reel-popup-ad-cta,
.reel-popup-ad-cta{
  height:36px!important;
  min-width:92px!important;
  max-width:120px!important;
  flex:0 0 auto!important;
  padding:0 14px!important;
  border-radius:15px!important;
  background:rgba(255,255,255,.08)!important;
  border:1px solid rgba(255,255,255,.34)!important;
  color:#fff!important;
  text-decoration:none!important;
  font-size:13px!important;
  font-weight:1000!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  white-space:nowrap!important;
}
body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad-more,
.wp-phone.reels-shell .reel-popup-ad-more,
.reel-popup-ad-more{
  width:38px!important;
  height:36px!important;
  min-width:38px!important;
  flex:0 0 38px!important;
  border-radius:15px!important;
  background:rgba(255,255,255,.08)!important;
  border:1px solid rgba(255,255,255,.28)!important;
  color:#fff!important;
  text-decoration:none!important;
  font-size:18px!important;
  line-height:1!important;
  font-weight:1000!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  letter-spacing:-2px!important;
}
@media(max-width:420px){
  .wp-phone.reels-shell .reel-popup-ad.reel-popup-ad-rotator,
  .reel-popup-ad.reel-popup-ad-rotator{width:min(calc(100vw - 112px),318px)!important;max-width:318px!important;}
  .wp-phone.reels-shell .reel-popup-ad-copy b,
  .reel-popup-ad-copy b{max-width:76px!important;font-size:12.5px!important;}
  .wp-phone.reels-shell .reel-popup-ad-cta,
  .reel-popup-ad-cta{min-width:86px!important;padding:0 11px!important;}
  .wp-phone.reels-shell .reel-popup-ad-more,
  .reel-popup-ad-more{width:36px!important;min-width:36px!important;flex-basis:36px!important;}
}


/* v129: Reels sponsored ad size correction.
   Only ad banner CSS changed: wider compact card, smaller Learn More button, no large media. */
body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad.reel-popup-ad-rotator,
.wp-phone.reels-shell .reel-popup-ad.reel-popup-ad-rotator,
.reel-popup-ad.reel-popup-ad-rotator{
  width:min(calc(100vw - 82px),390px)!important;
  max-width:390px!important;
  margin:0 0 12px 0!important;
}
body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad-slide,
.wp-phone.reels-shell .reel-popup-ad-slide,
.reel-popup-ad-slide{
  min-height:50px!important;
  max-height:56px!important;
  padding:6px 8px!important;
  gap:8px!important;
  border-radius:18px!important;
}
body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad-main,
.wp-phone.reels-shell .reel-popup-ad-main,
.reel-popup-ad-main{
  gap:8px!important;
  flex:1 1 auto!important;
}
body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad-media,
.wp-phone.reels-shell .reel-popup-ad-media,
.reel-popup-ad-media{
  width:52px!important;
  height:38px!important;
  min-width:52px!important;
  max-width:52px!important;
  flex:0 0 52px!important;
}
body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad-copy b,
.wp-phone.reels-shell .reel-popup-ad-copy b,
.reel-popup-ad-copy b{
  max-width:130px!important;
  font-size:13px!important;
}
body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad-cta,
.wp-phone.reels-shell .reel-popup-ad-cta,
.reel-popup-ad-cta{
  height:34px!important;
  min-width:74px!important;
  max-width:92px!important;
  padding:0 10px!important;
  border-radius:14px!important;
  font-size:12px!important;
}
body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad-more,
.wp-phone.reels-shell .reel-popup-ad-more,
.reel-popup-ad-more{
  width:36px!important;
  height:34px!important;
  min-width:36px!important;
  flex-basis:36px!important;
  border-radius:14px!important;
}
@media(max-width:420px){
  body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad.reel-popup-ad-rotator,
  .wp-phone.reels-shell .reel-popup-ad.reel-popup-ad-rotator,
  .reel-popup-ad.reel-popup-ad-rotator{
    width:min(calc(100vw - 86px),372px)!important;
    max-width:372px!important;
  }
  body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad-copy b,
  .wp-phone.reels-shell .reel-popup-ad-copy b,
  .reel-popup-ad-copy b{max-width:116px!important;}
  body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad-cta,
  .wp-phone.reels-shell .reel-popup-ad-cta,
  .reel-popup-ad-cta{min-width:72px!important;max-width:88px!important;padding:0 9px!important;font-size:11.8px!important;}
}

/* v130: Home feed sponsored ad lower border/footer compact fix.
   Scope: ONLY the bottom footer area that contains Learn More + Ad Active.
   Keeps ad image, title, card width, media, feed, reels, and all logic unchanged. */
.wp-pro-ad .wp-ad-footer{
  margin-top:5px!important;
  padding:0 2px!important;
  min-height:0!important;
  gap:8px!important;
}
.wp-pro-ad .wp-ad-footer .wp-ad-cta,
.wp-pro-ad .wp-ad-footer .wp-ad-safe{
  min-height:36px!important;
  height:36px!important;
  padding:0 10px!important;
  border-radius:13px!important;
  font-size:14px!important;
  line-height:1!important;
  box-shadow:none!important;
}
@media(max-width:430px){
  .wp-pro-ad .wp-ad-footer{
    margin-top:4px!important;
    padding:0 1px!important;
    gap:7px!important;
  }
  .wp-pro-ad .wp-ad-footer .wp-ad-cta,
  .wp-pro-ad .wp-ad-footer .wp-ad-safe{
    min-height:34px!important;
    height:34px!important;
    padding:0 9px!important;
    border-radius:12px!important;
    font-size:13.5px!important;
  }
}

/* v131: Home feed sponsored ad media visibility + top compact fix.
   Scope: ONLY home feed sponsored ad visual spacing and media fitting.
   Keeps buttons/footer compact from v130 and does not change any PHP or logic. */
.wp-pro-ad{
  padding-top:8px!important;
}
.wp-pro-ad .wp-ad-label{
  padding:2px 4px 0!important;
  margin:0 0 4px!important;
  line-height:1.05!important;
}
.wp-pro-ad .wp-ad-copy{
  padding:0 4px 5px!important;
}
.wp-pro-ad .wp-ad-copy h3{
  margin:0!important;
  line-height:1.02!important;
}
.wp-pro-ad .wp-ad-media{
  overflow:hidden!important;
  background:#fff!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:16px!important;
}
.wp-pro-ad .wp-ad-media-img,
.wp-pro-ad .wp-ad-media-video{
  object-fit:contain!important;
  object-position:center center!important;
  background:#fff!important;
}
@media(max-width:430px){
  .wp-pro-ad{padding-top:7px!important;}
  .wp-pro-ad .wp-ad-label{margin-bottom:3px!important;}
  .wp-pro-ad .wp-ad-copy{padding-bottom:4px!important;}
  .wp-pro-ad .wp-ad-media{border-radius:15px!important;}
}

/* v131: Facebook-style Reels overlay ad.
   Scope: Reels popup ad UI only. The sponsored ad stays visible over the reel
   from the start to the end of video playback, matching the reference layout:
   dark rounded card, large thumbnail left, title + Ad label, Learn More CTA,
   close icon and dots. */
body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49{
  left:18px!important;
  right:88px!important;
  bottom:30px!important;
  z-index:22!important;
}
body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad.reel-popup-ad-rotator,
.wp-phone.reels-shell .reel-popup-ad.reel-popup-ad-rotator,
.reel-popup-ad.reel-popup-ad-rotator{
  display:block!important;
  width:min(calc(100vw - 118px),336px)!important;
  max-width:336px!important;
  margin:0 0 18px 0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  overflow:visible!important;
  pointer-events:auto!important;
}
body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad-slide,
.wp-phone.reels-shell .reel-popup-ad-slide,
.reel-popup-ad-slide{
  position:relative!important;
  display:none!important;
  width:100%!important;
  min-height:104px!important;
  max-height:none!important;
  padding:0!important;
  border-radius:12px!important;
  background:rgba(35,38,43,.94)!important;
  border:0!important;
  box-shadow:0 10px 28px rgba(0,0,0,.32)!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  overflow:hidden!important;
  color:#fff!important;
}
body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad-slide.is-active,
.wp-phone.reels-shell .reel-popup-ad-slide.is-active,
.reel-popup-ad-slide.is-active{display:grid!important;grid-template-columns:122px 1fr 92px 40px!important;grid-template-rows:68px 36px!important;align-items:center!important;gap:0!important;}
body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad-main,
.wp-phone.reels-shell .reel-popup-ad-main,
.reel-popup-ad-main{
  grid-column:1/3!important;
  grid-row:1/3!important;
  display:grid!important;
  grid-template-columns:122px 1fr!important;
  align-items:stretch!important;
  gap:12px!important;
  width:100%!important;
  height:100%!important;
  padding:0!important;
  overflow:hidden!important;
  color:#fff!important;
  text-decoration:none!important;
}
body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad-media,
.wp-phone.reels-shell .reel-popup-ad-media,
.reel-popup-ad-media{
  grid-column:1!important;
  width:122px!important;
  height:104px!important;
  min-width:122px!important;
  max-width:122px!important;
  flex:0 0 122px!important;
  border-radius:0!important;
  background:#111!important;
  display:block!important;
  overflow:hidden!important;
}
body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad-img,
.wp-phone.reels-shell .reel-popup-ad-img,
.reel-popup-ad-img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  display:block!important;
}
body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad-fallback,
.wp-phone.reels-shell .reel-popup-ad-fallback,
.reel-popup-ad-fallback{width:100%!important;height:100%!important;display:flex!important;align-items:center!important;justify-content:center!important;background:linear-gradient(135deg,#172044,#1473ff)!important;color:#fff!important;font-size:18px!important;font-weight:1000!important;}
body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad-copy,
.wp-phone.reels-shell .reel-popup-ad-copy,
.reel-popup-ad-copy{
  grid-column:2!important;
  align-self:center!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  gap:6px!important;
  min-width:0!important;
  padding:0 8px 0 0!important;
  line-height:1.15!important;
}
body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad-copy b,
.wp-phone.reels-shell .reel-popup-ad-copy b,
.reel-popup-ad-copy b{
  display:block!important;
  max-width:98px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  color:#e5e7eb!important;
  font-size:14px!important;
  line-height:1.15!important;
  font-weight:800!important;
}
body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad-copy small,
.wp-phone.reels-shell .reel-popup-ad-copy small,
.reel-popup-ad-copy small{
  display:inline!important;
  color:#d1d5db!important;
  font-size:13px!important;
  font-weight:800!important;
  text-transform:none!important;
  white-space:nowrap!important;
}
body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad-cta,
.wp-phone.reels-shell .reel-popup-ad-cta,
.reel-popup-ad-cta{
  grid-column:3!important;
  grid-row:2!important;
  justify-self:stretch!important;
  align-self:center!important;
  height:38px!important;
  min-width:0!important;
  max-width:none!important;
  padding:0 12px!important;
  border-radius:14px!important;
  background:rgba(255,255,255,.08)!important;
  border:1px solid rgba(255,255,255,.34)!important;
  color:#fff!important;
  text-decoration:none!important;
  font-size:14px!important;
  font-weight:900!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  white-space:nowrap!important;
}
body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad-more,
.wp-phone.reels-shell .reel-popup-ad-more,
.reel-popup-ad-more{
  grid-column:4!important;
  grid-row:2!important;
  justify-self:center!important;
  align-self:center!important;
  width:36px!important;
  height:36px!important;
  min-width:36px!important;
  border-radius:14px!important;
  background:rgba(255,255,255,.08)!important;
  border:1px solid rgba(255,255,255,.26)!important;
  color:#fff!important;
  text-decoration:none!important;
  font-size:18px!important;
  line-height:1!important;
  font-weight:1000!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  letter-spacing:-2px!important;
}
body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad-close,
.wp-phone.reels-shell .reel-popup-ad-close,
.reel-popup-ad-close{
  position:absolute!important;
  right:14px!important;
  top:12px!important;
  z-index:3!important;
  width:26px!important;
  height:26px!important;
  border-radius:50%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#d1d5db!important;
  background:transparent!important;
  border:0!important;
  text-decoration:none!important;
  font-size:30px!important;
  font-weight:300!important;
  line-height:1!important;
}
.reel-popup-ad-dots{position:absolute!important;left:50%!important;bottom:13px!important;transform:translateX(-50%)!important;display:flex!important;gap:7px!important;align-items:center!important;z-index:3!important;}
.reel-popup-ad-dots i{display:block!important;width:7px!important;height:7px!important;border-radius:50%!important;background:rgba(255,255,255,.48)!important;}
.reel-popup-ad-dots i:nth-child(2){background:#fff!important;}
.wp-phone.reels-shell .reel-popup-ad-top,
.wp-phone.reels-shell .reel-popup-ad-bottom,
.reel-popup-ad-top,
.reel-popup-ad-bottom{display:none!important;}
@media(max-width:420px){
  body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad.reel-popup-ad-rotator,
  .wp-phone.reels-shell .reel-popup-ad.reel-popup-ad-rotator,
  .reel-popup-ad.reel-popup-ad-rotator{width:min(calc(100vw - 118px),318px)!important;max-width:318px!important;}
  body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad-slide.is-active,
  .wp-phone.reels-shell .reel-popup-ad-slide.is-active,
  .reel-popup-ad-slide.is-active{grid-template-columns:112px 1fr 86px 38px!important;grid-template-rows:66px 34px!important;min-height:100px!important;}
  body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad-main,
  .wp-phone.reels-shell .reel-popup-ad-main,
  .reel-popup-ad-main{grid-template-columns:112px 1fr!important;}
  body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad-media,
  .wp-phone.reels-shell .reel-popup-ad-media,
  .reel-popup-ad-media{width:112px!important;height:100px!important;min-width:112px!important;max-width:112px!important;flex-basis:112px!important;}
  body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad-copy b,
  .wp-phone.reels-shell .reel-popup-ad-copy b,
  .reel-popup-ad-copy b{max-width:82px!important;font-size:13px!important;}
  body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad-cta,
  .wp-phone.reels-shell .reel-popup-ad-cta,
  .reel-popup-ad-cta{height:34px!important;font-size:13px!important;padding:0 9px!important;}
  body.app-bg .wp-phone.reels-shell .wp-reel-caption-final-v49 .reel-popup-ad-more,
  .wp-phone.reels-shell .reel-popup-ad-more,
  .reel-popup-ad-more{width:34px!important;height:34px!important;min-width:34px!important;}
}

/* v132: Reels popup ad: show admin network/HTML creative and remove Learn More button layout. */
.wp-phone.reels-shell .reel-popup-ad-slide.is-active,
.reel-popup-ad-slide.is-active{
  grid-template-columns:122px 1fr 46px!important;
  grid-template-rows:104px!important;
}
.wp-phone.reels-shell .reel-popup-ad-main,
.reel-popup-ad-main{
  grid-column:1/3!important;
  grid-row:1!important;
}
.wp-phone.reels-shell .reel-popup-ad-more,
.reel-popup-ad-more{
  grid-column:3!important;
  grid-row:1!important;
}
.wp-phone.reels-shell .reel-popup-ad-cta,
.reel-popup-ad-cta{display:none!important;}
.wp-phone.reels-shell .reel-popup-network-code,
.reel-popup-network-code,
.wp-phone.reels-shell .reel-popup-network-code iframe,
.reel-popup-network-code iframe,
.wp-phone.reels-shell .reel-popup-network-code div[id^="container-"],
.reel-popup-network-code div[id^="container-"]{
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  overflow:hidden!important;
}
.wp-phone.reels-shell .reel-popup-ad-video,
.reel-popup-ad-video{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;}
@media(max-width:420px){
  .wp-phone.reels-shell .reel-popup-ad-slide.is-active,
  .reel-popup-ad-slide.is-active{grid-template-columns:112px 1fr 42px!important;grid-template-rows:100px!important;}
}


/* vFINAL-AD-VISIBLE-AUTOPLAY: ad media only; keep other site logic unchanged. */
.wp-pro-ad .wp-ad-media{
  height:auto!important;
  min-height:0!important;
  aspect-ratio:auto!important;
  background:#f5f7fb!important;
  overflow:hidden!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.wp-pro-ad .wp-ad-media-img,
.wp-pro-ad .wp-ad-media-video{
  width:100%!important;
  height:auto!important;
  max-height:none!important;
  object-fit:contain!important;
  display:block!important;
  background:#f5f7fb!important;
}
.wp-pro-ad .wp-ad-code{
  width:100%!important;
  min-height:120px!important;
  height:auto!important;
  display:block!important;
  overflow:visible!important;
}
.midroll-ad-video,
.midroll-ad-img{
  width:100%!important;
  height:auto!important;
  max-height:65vh!important;
  object-fit:contain!important;
  background:#000!important;
  display:block!important;
}
.midroll-ad-code{
  width:100%!important;
  min-height:190px!important;
  height:auto!important;
  overflow:visible!important;
  display:block!important;
  background:#071024!important;
}
.wp-phone.reels-shell .reel-popup-ad-media,
.reel-popup-ad-media{
  background:#111827!important;
  overflow:hidden!important;
}
.wp-phone.reels-shell .reel-popup-ad-img,
.wp-phone.reels-shell .reel-popup-ad-video,
.wp-phone.reels-shell .reel-popup-network-code,
.wp-phone.reels-shell .reel-popup-ad-code,
.reel-popup-ad-img,
.reel-popup-ad-video,
.reel-popup-network-code,
.reel-popup-ad-code{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  display:block!important;
  background:#111827!important;
}
@media(max-width:720px){
  .wp-pro-ad .wp-ad-body{grid-template-columns:1fr!important;}
  .wp-pro-ad .wp-ad-media{height:auto!important;}
}

/* Profile grid three-dot menu overflow fix: only affects post option popup inside profile grid */
.profile-grid-menu .wp-post-menu-panel{
  position:fixed !important;
  left:50% !important;
  right:auto !important;
  top:auto !important;
  bottom:96px !important;
  transform:translateX(-50%) !important;
  width:min(260px, calc(100vw - 34px)) !important;
  max-height:46vh !important;
  overflow-y:auto !important;
  border-radius:18px !important;
  padding:6px !important;
  z-index:9999 !important;
}
.profile-grid-menu .wp-post-menu-panel:before{display:none !important}
.profile-grid-menu .wp-post-menu-panel button,
.profile-grid-menu .wp-owner-edit summary{
  font-size:13px !important;
  line-height:1.2 !important;
  padding:10px 11px !important;
  border-radius:12px !important;
}
.profile-grid-menu .wp-post-owner-tools{margin-bottom:4px !important;padding-bottom:4px !important}
.profile-grid-menu .wp-owner-edit form{padding:6px 8px 8px !important}
.profile-grid-menu .wp-owner-edit textarea{min-height:64px !important;font-size:13px !important}
@media(max-width:430px){
  .profile-grid-menu .wp-post-menu-panel{
    width:min(238px, calc(100vw - 28px)) !important;
    bottom:94px !important;
  }
}

/* Profile grid menu close button: limited to the three-dot popup */
.profile-grid-menu .wp-post-menu-close{
  position:sticky !important;
  top:0 !important;
  margin-left:auto !important;
  margin-bottom:4px !important;
  width:30px !important;
  height:30px !important;
  min-height:30px !important;
  padding:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-radius:50% !important;
  background:#f3f4f8 !important;
  color:#111827 !important;
  font-size:20px !important;
  font-weight:900 !important;
  line-height:1 !important;
  z-index:2 !important;
}
.profile-grid-menu .wp-post-menu-close:hover{background:#e9edf5 !important}

/* v129 loading handoff fix: splash progress completes and then JS opens welcome */
.auth-splash-v51 .auth-progress-v51 b{width:0!important;animation:wpSplashProgressToWelcome 1.45s ease-out forwards!important;}
@keyframes wpSplashProgressToWelcome{0%{width:0}100%{width:100%}}
/* v130: clickable author/profile links without changing the visual design */
.wp-author-link{color:inherit;text-decoration:none;display:contents}
.row-grow-link{display:flex!important;align-items:center;gap:12px;flex:1;min-width:0;color:inherit;text-decoration:none}

/* UI-only fix: Home Feed post cards, YouTube-style full-width clean layout.
   Scope is limited to Home Feed list/card CSS. No backend, login, database, JS or other pages changed. */
.home-modern{
  padding-left:0!important;
  padding-right:0!important;
  padding-top:18px!important;
  background:#fff!important;
}
.home-modern .home-topbar,
.home-modern .home-story-strip,
.home-modern .home-feed-tabs{
  margin-left:16px!important;
  margin-right:16px!important;
}
.home-modern .home-post-list{
  padding:0!important;
  margin:0!important;
}
.home-modern .home-post-list .post-card.wp-pro-post-card,
.home-modern .home-post-list .post-card{
  width:100%!important;
  margin:0 0 30px 0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:#fff!important;
  overflow:hidden!important;
}
.home-modern .home-post-list .post-head{
  padding:14px 16px 10px!important;
}
.home-modern .home-post-list .wp-post-caption-top{
  padding:0 16px 12px!important;
  margin:0!important;
}
.home-modern .home-post-list .post-media-open,
.home-modern .home-post-list .post-video-shell,
.home-modern .home-post-list .post-img,
.home-modern .home-post-list .uploaded-post-img,
.home-modern .home-post-list .media-placeholder,
.home-modern .home-post-list .post-video,
.home-modern .home-post-list .uploaded-post-img img,
.home-modern .home-post-list video.post-video{
  width:100%!important;
  border-radius:0!important;
}
.home-modern .home-post-list .post-media-open,
.home-modern .home-post-list .post-video-shell{
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  background:#fff!important;
  display:block!important;
  box-shadow:none!important;
}
.home-modern .home-post-list .post-img,
.home-modern .home-post-list .uploaded-post-img,
.home-modern .home-post-list .media-placeholder,
.home-modern .home-post-list .post-video{
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  background:#000!important;
}
.home-modern .home-post-list .uploaded-post-img img,
.home-modern .home-post-list video.post-video{
  height:auto!important;
  max-height:none!important;
  object-fit:cover!important;
  display:block!important;
  background:#000!important;
}
.home-modern .home-post-list .actions{
  padding:12px 16px 0!important;
  gap:10px!important;
}
.home-modern .home-post-list .actions .btn,
.home-modern .home-post-list .actions .chip{
  border-radius:18px!important;
  background:#f7f8fb!important;
  border:1px solid #eef1f6!important;
}

/* v132 UI-only: Home Feed YouTube-style card layout fix.
   Only Home Feed post card CSS is touched. Prevents media being vertically squeezed and matches full-width reference layout. */
.home-modern .home-post-list .post-card.wp-pro-post-card,
.home-modern .home-post-list .post-card{
  display:flex!important;
  flex-direction:column!important;
  width:100%!important;
  margin:0 0 32px 0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:#fff!important;
  overflow:hidden!important;
}
.home-modern .home-post-list .post-media-open,
.home-modern .home-post-list .post-video-shell{
  order:1!important;
  width:100%!important;
  aspect-ratio:16/9!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  display:block!important;
  position:relative!important;
  overflow:hidden!important;
  border-radius:0!important;
  background:#000!important;
  box-shadow:none!important;
}
.home-modern .home-post-list .post-video,
.home-modern .home-post-list video.post-video,
.home-modern .home-post-list .post-img,
.home-modern .home-post-list .uploaded-post-img,
.home-modern .home-post-list .uploaded-post-img img,
.home-modern .home-post-list .media-placeholder{
  width:100%!important;
  height:100%!important;
  min-height:100%!important;
  max-height:none!important;
  display:block!important;
  object-fit:cover!important;
  border-radius:0!important;
  background:#000!important;
}
.home-modern .home-post-list .post-head{
  order:2!important;
  padding:12px 16px 4px!important;
  gap:12px!important;
  align-items:flex-start!important;
}
.home-modern .home-post-list .post-head .avatar{
  width:40px!important;
  height:40px!important;
  flex:0 0 40px!important;
}
.home-modern .home-post-list .post-head h3{
  font-size:16px!important;
  line-height:1.25!important;
  margin:0 0 3px!important;
  font-weight:800!important;
  letter-spacing:0!important;
}
.home-modern .home-post-list .post-head .muted{
  font-size:13px!important;
  line-height:1.25!important;
  margin:0!important;
}
.home-modern .home-post-list .wp-post-caption-top{
  order:3!important;
  padding:0 16px 8px 68px!important;
  margin:0!important;
}
.home-modern .home-post-list .wp-post-caption-top p{
  font-size:15px!important;
  line-height:1.35!important;
  margin:0!important;
  color:#111827!important;
  font-weight:600!important;
}
.home-modern .home-post-list .wp-clean-actions,
.home-modern .home-post-list .actions{
  order:4!important;
  padding:10px 16px 4px!important;
}
.home-modern .home-post-list .wp-feed-reel-open{
  position:absolute!important;
  right:12px!important;
  bottom:12px!important;
  z-index:5!important;
}

/* FINAL UI-only fix: Home Feed post card header stays above media + bigger top/bottom space.
   Scope: Home Feed CSS only. No backend, database, login, JS, or other page logic changed. */
.home-modern .home-post-list .post-card.wp-pro-post-card,
.home-modern .home-post-list .post-card{
  display:flex!important;
  flex-direction:column!important;
  width:100%!important;
  margin:0 0 96px 0!important;
  padding:0 0 96px 0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:#fff!important;
  overflow:hidden!important;
}
.home-modern .home-post-list .post-head,
.home-modern .home-post-list .post-head.wp-pro-post-head{
  order:1!important;
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  padding:30px 16px 14px!important;
  margin:0!important;
  position:relative!important;
  z-index:4!important;
  background:#fff!important;
}
.home-modern .home-post-list .post-head .avatar{
  width:48px!important;
  height:48px!important;
  flex:0 0 48px!important;
}
.home-modern .home-post-list .post-head .grow{
  flex:1 1 auto!important;
  min-width:0!important;
  display:block!important;
}
.home-modern .home-post-list .post-head h3{
  margin:0 0 3px!important;
  font-size:18px!important;
  line-height:1.15!important;
  font-weight:900!important;
  color:#081126!important;
}
.home-modern .home-post-list .post-head .muted{
  margin:0!important;
  font-size:14px!important;
  line-height:1.25!important;
  color:#9aa1b2!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.home-modern .home-post-list .post-head .chip,
.home-modern .home-post-list .post-head .wp-post-more,
.home-modern .home-post-list .post-head button{
  margin-left:auto!important;
  flex:0 0 auto!important;
}
.home-modern .home-post-list .wp-post-caption-top{
  order:2!important;
  padding:0 16px 22px!important;
  margin:0!important;
  background:#fff!important;
}
.home-modern .home-post-list .wp-post-caption-top p,
.home-modern .home-post-list .post-card > p{
  margin:0!important;
  font-size:18px!important;
  line-height:1.45!important;
  color:#111827!important;
  font-weight:600!important;
}
.home-modern .home-post-list .post-media-open,
.home-modern .home-post-list .post-video-shell,
.home-modern .home-post-list .post-img,
.home-modern .home-post-list .uploaded-post-img,
.home-modern .home-post-list .media-placeholder,
.home-modern .home-post-list .post-video{
  order:3!important;
  width:100%!important;
  border-radius:0!important;
  margin:0!important;
  background:#000!important;
}
.home-modern .home-post-list .post-media-open,
.home-modern .home-post-list .post-video-shell{
  aspect-ratio:16/9!important;
  height:auto!important;
  min-height:250px!important;
  max-height:none!important;
  display:block!important;
  position:relative!important;
  overflow:hidden!important;
}
.home-modern .home-post-list .post-video,
.home-modern .home-post-list video.post-video,
.home-modern .home-post-list .post-img,
.home-modern .home-post-list .uploaded-post-img,
.home-modern .home-post-list .uploaded-post-img img,
.home-modern .home-post-list .media-placeholder{
  width:100%!important;
  height:100%!important;
  min-height:250px!important;
  max-height:none!important;
  display:block!important;
  object-fit:cover!important;
}
.home-modern .home-post-list .wp-clean-actions,
.home-modern .home-post-list .actions{
  order:4!important;
  padding:28px 16px 0!important;
  margin:0!important;
  background:#fff!important;
}

/* v136 GAP FIX: remove accidental 1-inch spacing between Home Feed posts only. */
.home-modern .home-post-list .post-card.wp-pro-post-card,
.home-modern .home-post-list .post-card{
  margin:0 0 28px 0!important;
  padding:0 0 14px 0!important;
}
.home-modern .home-post-list .wp-clean-actions,
.home-modern .home-post-list .actions{
  padding:16px 16px 0!important;
}


/* v137 FINAL ONLY: tighter Home Feed gap + hide repost source banner.
   Scope: Home Feed post spacing and repost label only. No action/login/backend logic changed. */
.home-modern .home-post-list .wp-shared-badge{display:none!important;}
.home-modern .home-post-list .post-card.wp-pro-post-card,
.home-modern .home-post-list .post-card{
  margin:0 0 10px 0!important;
  padding:0 0 8px 0!important;
}
.home-modern .home-post-list .wp-clean-actions,
.home-modern .home-post-list .actions{
  padding:12px 16px 0!important;
  margin:0!important;
}

/* v138 ONLY: Home Feed sponsored ad card matches normal post card spacing/layout.
   Scope: Home Feed ad CSS only. No backend, login, post action, repost, or ad logic changed. */
.home-modern .home-post-list .wp-pro-ad,
.home-modern .wp-pro-ad.wp-pro-ad-home_feed,
.home-modern .wp-pro-ad{
  width:100%!important;
  margin:0 0 10px 0!important;
  padding:0 0 8px 0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:#fff!important;
  overflow:hidden!important;
}
.home-modern .home-post-list .wp-pro-ad:before,
.home-modern .wp-pro-ad.wp-pro-ad-home_feed:before,
.home-modern .wp-pro-ad:before{
  display:none!important;
  content:none!important;
}
.home-modern .home-post-list .wp-pro-ad .wp-ad-label,
.home-modern .wp-pro-ad.wp-pro-ad-home_feed .wp-ad-label,
.home-modern .wp-pro-ad .wp-ad-label{
  padding:12px 16px 8px!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  font-size:14px!important;
  line-height:1.2!important;
  color:#8b93a7!important;
}
.home-modern .home-post-list .wp-pro-ad .wp-ad-label span,
.home-modern .wp-pro-ad.wp-pro-ad-home_feed .wp-ad-label span,
.home-modern .wp-pro-ad .wp-ad-label span{
  padding:6px 10px!important;
  border-radius:999px!important;
}
.home-modern .home-post-list .wp-pro-ad .wp-ad-body,
.home-modern .wp-pro-ad.wp-pro-ad-home_feed .wp-ad-body,
.home-modern .wp-pro-ad .wp-ad-body{
  display:block!important;
  margin:0!important;
  padding:0!important;
}
.home-modern .home-post-list .wp-pro-ad .wp-ad-copy,
.home-modern .wp-pro-ad.wp-pro-ad-home_feed .wp-ad-copy,
.home-modern .wp-pro-ad .wp-ad-copy{
  padding:0 16px 10px!important;
  margin:0!important;
}
.home-modern .home-post-list .wp-pro-ad .wp-ad-copy h3,
.home-modern .wp-pro-ad.wp-pro-ad-home_feed .wp-ad-copy h3,
.home-modern .wp-pro-ad .wp-ad-copy h3{
  margin:0!important;
  font-size:18px!important;
  line-height:1.35!important;
  font-weight:900!important;
  color:#081126!important;
}
.home-modern .home-post-list .wp-pro-ad .wp-ad-copy p,
.home-modern .wp-pro-ad.wp-pro-ad-home_feed .wp-ad-copy p,
.home-modern .wp-pro-ad .wp-ad-copy p{
  display:none!important;
}
.home-modern .home-post-list .wp-pro-ad .wp-ad-media,
.home-modern .wp-pro-ad.wp-pro-ad-home_feed .wp-ad-media,
.home-modern .wp-pro-ad .wp-ad-media{
  width:100%!important;
  height:auto!important;
  min-height:250px!important;
  aspect-ratio:16/9!important;
  margin:0!important;
  padding:0!important;
  border-radius:0!important;
  background:#000!important;
  overflow:hidden!important;
  display:block!important;
}
.home-modern .home-post-list .wp-pro-ad .wp-ad-media-img,
.home-modern .home-post-list .wp-pro-ad .wp-ad-media-video,
.home-modern .wp-pro-ad.wp-pro-ad-home_feed .wp-ad-media-img,
.home-modern .wp-pro-ad.wp-pro-ad-home_feed .wp-ad-media-video,
.home-modern .wp-pro-ad .wp-ad-media-img,
.home-modern .wp-pro-ad .wp-ad-media-video{
  width:100%!important;
  height:100%!important;
  min-height:250px!important;
  object-fit:cover!important;
  display:block!important;
  border-radius:0!important;
  background:#000!important;
}
.home-modern .home-post-list .wp-pro-ad .wp-ad-footer,
.home-modern .wp-pro-ad.wp-pro-ad-home_feed .wp-ad-footer,
.home-modern .wp-pro-ad .wp-ad-footer{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:12px!important;
  margin:0!important;
  padding:12px 16px 0!important;
  background:#fff!important;
}
.home-modern .home-post-list .wp-pro-ad .wp-ad-cta,
.home-modern .home-post-list .wp-pro-ad .wp-ad-safe,
.home-modern .wp-pro-ad.wp-pro-ad-home_feed .wp-ad-cta,
.home-modern .wp-pro-ad.wp-pro-ad-home_feed .wp-ad-safe,
.home-modern .wp-pro-ad .wp-ad-cta,
.home-modern .wp-pro-ad .wp-ad-safe{
  min-height:52px!important;
  height:52px!important;
  border-radius:18px!important;
  margin:0!important;
  padding:0 12px!important;
  font-size:16px!important;
  font-weight:900!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  box-shadow:none!important;
}


/* FINAL FIX: Home Feed Ad card full-width like post media, no footer buttons, no right-side blank area. */
.home-modern .home-post-list .wp-pro-ad,
.home-modern .wp-pro-ad.wp-pro-ad-home_feed,
.home-modern .wp-pro-ad,
.wp-pro-ad.wp-pro-ad-home_feed,
.wp-pro-ad{
  width:100% !important;
  max-width:100% !important;
  box-sizing:border-box !important;
  margin:0 0 14px 0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  background:#fff !important;
  overflow:hidden !important;
}
.home-modern .wp-pro-ad:before,
.wp-pro-ad:before{display:none!important;content:none!important;}
.home-modern .wp-pro-ad .wp-ad-label,
.wp-pro-ad .wp-ad-label{
  padding:14px 30px 8px !important;
  margin:0 !important;
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
}
.home-modern .wp-pro-ad .wp-ad-copy,
.wp-pro-ad .wp-ad-copy{
  padding:0 30px 14px !important;
  margin:0 !important;
}
.home-modern .wp-pro-ad .wp-ad-copy h3,
.wp-pro-ad .wp-ad-copy h3{
  margin:0 !important;
  font-size:24px !important;
  line-height:1.15 !important;
  font-weight:900 !important;
}
.home-modern .wp-pro-ad .wp-ad-copy p,
.wp-pro-ad .wp-ad-copy p{display:none!important;}
.home-modern .wp-pro-ad .wp-ad-body,
.wp-pro-ad .wp-ad-body{
  display:block !important;
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
}
.home-modern .wp-pro-ad .wp-ad-media,
.wp-pro-ad .wp-ad-media{
  width:100% !important;
  max-width:100% !important;
  height:auto !important;
  min-height:0 !important;
  aspect-ratio:auto !important;
  margin:0 !important;
  padding:0 !important;
  border-radius:0 !important;
  background:#fff !important;
  overflow:hidden !important;
  display:block !important;
  line-height:0 !important;
}
.home-modern .wp-pro-ad .wp-ad-media-img,
.home-modern .wp-pro-ad .wp-ad-media-video,
.wp-pro-ad .wp-ad-media-img,
.wp-pro-ad .wp-ad-media-video{
  width:100% !important;
  max-width:100% !important;
  height:auto !important;
  min-height:0 !important;
  object-fit:cover !important;
  display:block !important;
  border:0 !important;
  border-radius:0 !important;
  background:#fff !important;
}
.home-modern .wp-pro-ad .wp-ad-footer,
.wp-pro-ad .wp-ad-footer{display:none!important;}
.wp-pro-ad .wp-ad-code-responsive{
  width:100% !important;
  max-width:100% !important;
  height:auto;
  min-height:0 !important;
  overflow:hidden !important;
  display:block !important;
  position:relative !important;
  background:#fff !important;
  line-height:0 !important;
}
.wp-pro-ad .wp-ad-code-responsive .wp-ad-code-scale{
  display:block !important;
  transform-origin:top left !important;
}
.wp-pro-ad .wp-ad-code-responsive iframe,
.wp-pro-ad .wp-ad-code-responsive img,
.wp-pro-ad .wp-ad-code-responsive video{
  display:block !important;
  border:0 !important;
  margin:0 !important;
}


/* withdraw-fix: show user feedback messages again except on reels */
.wp-phone:not(.reels-shell) .flash{display:block!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;animation:wpFlashVisible 4.5s ease forwards!important;position:fixed!important;top:72px!important;left:50%!important;transform:translateX(-50%)!important;z-index:99999!important;max-width:88%!important;background:rgba(8,17,38,.94)!important;color:#fff!important;padding:13px 18px!important;border-radius:18px!important;font-weight:900!important;text-align:center!important;box-shadow:0 14px 40px rgba(0,0,0,.24)!important}
@keyframes wpFlashVisible{0%,82%{opacity:1;visibility:visible}100%{opacity:0;visibility:hidden;pointer-events:none}}


/* WorldPalm centralized master logo */
.wp-master-logo{display:block;width:100%;height:100%;object-fit:contain;object-position:center}
.logo .wp-master-logo{width:100%;height:100%}
.home-brand-palm .wp-master-logo{width:30px!important;height:30px!important}
.wp-guest-modal-palm .wp-master-logo{width:58px!important;height:58px!important;margin:0 auto}
.admin-logo .wp-master-logo{width:44px!important;height:44px!important}
.splash-logo-v51 .wp-splash-master-logo{width:86%!important;height:86%!important;object-fit:contain!important}

/* WORLDPALM HOME GIFT ICON RESTORE */
.wp-comment-composer{
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
}
.wp-comment-composer .wp-comment-send-gift{
    display:inline-flex!important;
    visibility:visible!important;
    opacity:1!important;
    flex:0 0 42px!important;
    width:42px!important;
    min-width:42px!important;
    height:42px!important;
    padding:0!important;
    border-radius:50%!important;
}
.wp-comment-composer .wp-comment-send-gift span:last-child{
    display:none!important;
}
.wp-comment-composer .wp-comment-gift-logo{
    display:inline-block!important;
    font-size:21px!important;
}
.wp-comment-composer input[name="body"]{
    flex:1 1 auto!important;
    min-width:0!important;
}

/* WORLDPALM REELS GIFT BUTTON V1 */
.reel-side-actions .reel-gift.wp-gift-open-btn{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    width:50px!important;
    min-width:50px!important;
    min-height:54px!important;
    height:auto!important;
    padding:0!important;
    margin:0!important;
    gap:4px!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#fff!important;
    flex-shrink:0!important;
}
.reel-side-actions .reel-gift.wp-gift-open-btn span{
    display:grid!important;
    place-items:center!important;
    width:42px!important;
    height:42px!important;
    font-size:32px!important;
    line-height:1!important;
    filter:drop-shadow(0 3px 9px rgba(0,0,0,.55))!important;
}
.reel-side-actions .reel-gift.wp-gift-open-btn b{
    display:block!important;
    font-size:12px!important;
    line-height:1!important;
    color:#fff!important;
    text-shadow:0 2px 9px rgba(0,0,0,.8)!important;
}

/* WORLDPALM REELS DIRECT ACTIONS V3 */
.reel-side-actions,
.reel-side-actions .reel-action,
.reel-side-actions .wp-reel-direct-action{
    pointer-events:auto!important;
}

.wp-reel-direct-action{
    position:relative!important;
    z-index:2147483646!important;
    cursor:pointer!important;
    touch-action:manipulation!important;
    -webkit-tap-highlight-color:transparent!important;
}

.wp-reel-direct-action.is-loading{
    opacity:.65!important;
}

.wp-reel-direct-action.reel-action-error{
    animation:wpReelActionError .35s ease 2!important;
}

@keyframes wpReelActionError{
    0%,100%{transform:translateX(0)}
    35%{transform:translateX(-5px)}
    70%{transform:translateX(5px)}
}

/* =========================================================
   WORLDPALM EXISTING ADMIN REELS AD CARD V5
   Uses existing reel_popup_ad_html() only.
   ========================================================= */

/* Old fallback controls must never appear */
.wp-reel-ad-row-final-v49,
.reel-meta-above,
.reel-ad-pill,
.reel-learn,
.reel-more{
    display:none!important;
}

/*
 * The existing card remains inside reel-caption, before the
 * username. It uses the available width without entering the
 * right-side action-button area.
 */
body.app-bg
.wp-phone.reels-shell
.wp-reel-caption-final-v49
.reel-popup-ad.reel-popup-ad-rotator,

.wp-phone.reels-shell
.wp-reel-caption-final-v49
.reel-popup-ad.reel-popup-ad-rotator,

.wp-reel-caption-final-v49
.reel-popup-ad.reel-popup-ad-rotator{

    position:relative!important;
    inset:auto!important;

    display:block!important;

    width:100%!important;
    max-width:none!important;
    min-width:0!important;

    height:auto!important;
    min-height:86px!important;
    max-height:118px!important;

    margin:0 0 12px 0!important;
    padding:0!important;

    border-radius:16px!important;
    overflow:hidden!important;

    background:#080b13!important;
    border:1px solid rgba(255,255,255,.24)!important;

    box-shadow:0 12px 30px rgba(0,0,0,.38)!important;

    pointer-events:auto!important;
    z-index:30!important;
}

/* Only the active Admin campaign is visible */
body.app-bg
.wp-phone.reels-shell
.wp-reel-caption-final-v49
.reel-popup-ad-slide,

.wp-phone.reels-shell
.wp-reel-caption-final-v49
.reel-popup-ad-slide,

.wp-reel-caption-final-v49
.reel-popup-ad-slide{

    display:none!important;
    position:relative!important;

    width:100%!important;
    height:100%!important;
    min-height:86px!important;
    max-height:118px!important;

    margin:0!important;
    padding:0!important;

    border:0!important;
    border-radius:15px!important;

    background:#080b13!important;
    box-shadow:none!important;

    overflow:hidden!important;
}

/* Override old grid rules */
body.app-bg
.wp-phone.reels-shell
.wp-reel-caption-final-v49
.reel-popup-ad-slide.is-active,

.wp-phone.reels-shell
.wp-reel-caption-final-v49
.reel-popup-ad-slide.is-active,

.wp-reel-caption-final-v49
.reel-popup-ad-slide.is-active{

    display:block!important;

    grid-template-columns:none!important;
    grid-template-rows:none!important;

    width:100%!important;
    height:100%!important;
    min-height:86px!important;
    max-height:118px!important;
}

/* The complete card is clickable */
body.app-bg
.wp-phone.reels-shell
.wp-reel-caption-final-v49
.reel-popup-ad-main,

.wp-phone.reels-shell
.wp-reel-caption-final-v49
.reel-popup-ad-main,

.wp-reel-caption-final-v49
.reel-popup-ad-main{

    position:relative!important;
    inset:auto!important;

    display:block!important;

    width:100%!important;
    height:100%!important;
    min-height:86px!important;
    max-height:118px!important;

    margin:0!important;
    padding:0!important;

    text-decoration:none!important;
    overflow:hidden!important;

    grid-column:auto!important;
    grid-row:auto!important;
}

/*
 * Ad media occupies the complete card.
 * It is not zoomed or cropped.
 */
body.app-bg
.wp-phone.reels-shell
.wp-reel-caption-final-v49
.reel-popup-ad-media,

.wp-phone.reels-shell
.wp-reel-caption-final-v49
.reel-popup-ad-media,

.wp-reel-caption-final-v49
.reel-popup-ad-media{

    position:absolute!important;
    inset:0!important;

    display:flex!important;
    align-items:center!important;
    justify-content:center!important;

    width:100%!important;
    min-width:100%!important;
    max-width:100%!important;

    height:100%!important;
    min-height:86px!important;
    max-height:118px!important;

    margin:0!important;
    padding:0!important;

    border-radius:15px!important;
    overflow:hidden!important;

    background:#080b13!important;

    flex-basis:auto!important;
}

/* Full creative visible: no crop, no zoom */
body.app-bg
.wp-phone.reels-shell
.wp-reel-caption-final-v49
.reel-popup-ad-img,

body.app-bg
.wp-phone.reels-shell
.wp-reel-caption-final-v49
.reel-popup-ad-video,

.wp-phone.reels-shell
.wp-reel-caption-final-v49
.reel-popup-ad-img,

.wp-phone.reels-shell
.wp-reel-caption-final-v49
.reel-popup-ad-video,

.wp-reel-caption-final-v49
.reel-popup-ad-img,

.wp-reel-caption-final-v49
.reel-popup-ad-video{

    display:block!important;

    width:100%!important;
    height:100%!important;

    min-width:0!important;
    min-height:0!important;

    max-width:100%!important;
    max-height:100%!important;

    object-fit:contain!important;
    object-position:center center!important;

    transform:none!important;
    scale:none!important;
    zoom:1!important;

    margin:0!important;
    padding:0!important;

    border:0!important;
    border-radius:15px!important;

    background:#080b13!important;
}

/* Admin/network HTML code also fills the complete card */
body.app-bg
.wp-phone.reels-shell
.wp-reel-caption-final-v49
.reel-popup-ad-code,

.wp-phone.reels-shell
.wp-reel-caption-final-v49
.reel-popup-ad-code,

.wp-reel-caption-final-v49
.reel-popup-ad-code{

    position:absolute!important;
    inset:0!important;

    display:block!important;

    width:100%!important;
    height:100%!important;

    margin:0!important;
    padding:0!important;

    overflow:hidden!important;
    border-radius:15px!important;
    background:#080b13!important;
}

.wp-reel-caption-final-v49
.reel-popup-ad-code iframe,

.wp-reel-caption-final-v49
.reel-popup-ad-code img,

.wp-reel-caption-final-v49
.reel-popup-ad-code video{

    width:100%!important;
    height:100%!important;

    max-width:100%!important;
    max-height:100%!important;

    object-fit:contain!important;
    object-position:center!important;

    border:0!important;
    transform:none!important;
}

/*
 * The uploaded ad creative itself fills the card.
 * Old title/subtitle/menu/dots are hidden.
 */
.wp-reel-caption-final-v49 .reel-popup-ad-copy,
.wp-reel-caption-final-v49 .reel-popup-ad-more,
.wp-reel-caption-final-v49 .reel-popup-ad-close,
.wp-reel-caption-final-v49 .reel-popup-ad-dots,
.wp-reel-caption-final-v49 .reel-popup-ad-cta{
    display:none!important;
}

/* Keep username directly below the ad */
.wp-reel-caption-final-v49 .wp-reel-author-final-v49{
    position:relative!important;
    z-index:31!important;
    margin-top:0!important;
}

/* Small-screen safety */
@media(max-width:430px){

    body.app-bg
    .wp-phone.reels-shell
    .wp-reel-caption-final-v49
    .reel-popup-ad.reel-popup-ad-rotator,

    .wp-phone.reels-shell
    .wp-reel-caption-final-v49
    .reel-popup-ad.reel-popup-ad-rotator,

    .wp-reel-caption-final-v49
    .reel-popup-ad.reel-popup-ad-rotator{

        width:100%!important;
        max-width:none!important;

        min-height:80px!important;
        max-height:106px!important;

        margin-bottom:10px!important;
    }

    .wp-reel-caption-final-v49
    .reel-popup-ad-slide,

    .wp-reel-caption-final-v49
    .reel-popup-ad-slide.is-active,

    .wp-reel-caption-final-v49
    .reel-popup-ad-main,

    .wp-reel-caption-final-v49
    .reel-popup-ad-media{

        min-height:80px!important;
        max-height:106px!important;
    }
}

/* WP HOME FIXED MESSENGER ACTIVE USERS START */
.home-people-bar{
    display:flex!important;
    align-items:flex-start!important;
    gap:12px!important;
    width:100%!important;
    min-width:0!important;
    margin:0 0 17px!important;
    padding:8px 0 0!important;
    overflow:hidden!important;
}

.home-messenger-fixed{
    position:relative!important;
    z-index:3!important;
    flex:0 0 74px!important;
    width:74px!important;
    min-width:74px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    gap:8px!important;
    color:#111827!important;
    text-align:center!important;
    text-decoration:none!important;
    font-weight:900!important;
}

.home-messenger-logo{
    width:67px!important;
    height:67px!important;
    border-radius:50%!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    line-height:1!important;
    color:#fff!important;
    background:linear-gradient(145deg,#6437ff,#08b8f6)!important;
    box-shadow:0 8px 21px rgba(77,69,224,.20)!important;
}

.home-messenger-logo strong{
    display:block!important;
    color:#fff!important;
    font-size:23px!important;
    font-weight:1000!important;
    line-height:1!important;
}

.home-messenger-logo small{
    display:block!important;
    margin-top:4px!important;
    color:#fff!important;
    font-size:8px!important;
    font-weight:900!important;
    line-height:1!important;
}

.home-messenger-fixed>b{
    display:block!important;
    width:74px!important;
    overflow:hidden!important;
    color:#111827!important;
    font-size:12px!important;
    font-weight:900!important;
    line-height:1.15!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
}

.home-users-scroll{
    flex:1 1 auto!important;
    min-width:0!important;
    display:flex!important;
    align-items:flex-start!important;
    gap:12px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    padding:0 14px 10px 0!important;
    scroll-behavior:smooth!important;
    scroll-snap-type:x proximity!important;
    overscroll-behavior-x:contain!important;
    -webkit-overflow-scrolling:touch!important;
    touch-action:pan-x!important;
    scrollbar-width:none!important;
}

.home-users-scroll::-webkit-scrollbar{
    display:none!important;
    width:0!important;
    height:0!important;
}

.home-user-item{
    flex:0 0 68px!important;
    width:68px!important;
    min-width:68px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    gap:8px!important;
    color:#111827!important;
    text-align:center!important;
    text-decoration:none!important;
    scroll-snap-align:start!important;
}

.home-user-avatar{
    position:relative!important;
    width:67px!important;
    height:67px!important;
    flex:0 0 67px!important;
    display:grid!important;
    place-items:center!important;
    border-radius:50%!important;
    padding:3px!important;
    background:linear-gradient(135deg,#315fff,#ff4fa1,#ffb35c)!important;
}

.home-user-avatar>.avatar{
    width:59px!important;
    height:59px!important;
    min-width:59px!important;
    min-height:59px!important;
    border:3px solid #fff!important;
    border-radius:50%!important;
    background:#e8ecf4!important;
    color:#111827!important;
    font-size:18px!important;
}

.home-user-avatar>.avatar.photo-avatar img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    border-radius:50%!important;
}

.home-online-dot{
    position:absolute!important;
    right:4px!important;
    bottom:5px!important;
    z-index:5!important;
    width:7px!important;
    height:7px!important;
    min-width:7px!important;
    min-height:7px!important;
    display:block!important;
    border:1.5px solid #fff!important;
    border-radius:50%!important;
    background:#18c964!important;
    box-sizing:content-box!important;
    box-shadow:0 0 0 1px rgba(24,201,100,.12)!important;
}

.home-user-item>b{
    display:block!important;
    width:68px!important;
    max-width:68px!important;
    overflow:hidden!important;
    color:#111827!important;
    font-size:12px!important;
    font-weight:850!important;
    line-height:1.15!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
}

@media(max-width:430px){
    .home-people-bar{
        gap:10px!important;
    }

    .home-messenger-fixed{
        flex-basis:68px!important;
        width:68px!important;
        min-width:68px!important;
    }

    .home-messenger-logo,
    .home-user-avatar{
        width:62px!important;
        height:62px!important;
        flex-basis:62px!important;
    }

    .home-user-avatar>.avatar{
        width:54px!important;
        height:54px!important;
        min-width:54px!important;
        min-height:54px!important;
    }

    .home-users-scroll{
        gap:10px!important;
    }

    .home-user-item{
        flex-basis:62px!important;
        width:62px!important;
        min-width:62px!important;
    }

    .home-user-item>b{
        width:62px!important;
        max-width:62px!important;
        font-size:11px!important;
    }

    .home-online-dot{
        right:3px!important;
        bottom:4px!important;
    }
}
/* WP HOME FIXED MESSENGER ACTIVE USERS END */

/* WP_UNIFIED_SUPPORT_CSS */
.wp-support-page{padding-bottom:100px}.wp-support-quick{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 16px}.wp-support-quick a{padding:13px;border:1px solid #e5e7eb;border-radius:14px;background:#fff;text-align:center;font-weight:800;color:#172033}.wp-about-card{margin:14px 16px;padding:18px;border-radius:18px;background:linear-gradient(135deg,#eef5ff,#f5f0ff);border:1px solid #dce7ff}.wp-about-card h2{margin:0 0 8px}.wp-support-form{margin:14px 16px}.wp-ticket-list{margin:18px 16px}.wp-ticket-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:14px;margin-bottom:12px;box-shadow:0 6px 18px rgba(25,40,80,.05)}.wp-ticket-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.wp-ticket-status{font-size:12px;font-weight:900;padding:5px 9px;border-radius:999px;background:#eef2ff}.wp-ticket-status.resolved,.wp-ticket-status.closed{background:#dcfce7;color:#166534}.wp-ticket-status.pending{background:#fef3c7;color:#92400e}.wp-ticket-reply{margin-top:10px;padding:10px;border-left:4px solid #2563eb;background:#eff6ff;border-radius:10px}.admin-filter-row{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 18px}.admin-filter-row .active{background:#205bff;color:#fff}.admin-support-card{border:1px solid #e4e8f0;border-radius:16px;padding:16px;margin:14px 0;background:#fff}.admin-support-card.unread{border-left:5px solid #205bff;background:#f8fbff}.admin-support-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}.admin-support-head small{display:block;margin-top:5px;color:#778197}.admin-support-reply{background:#eef6ff;border-radius:12px;padding:10px;margin:10px 0}.admin-support-form{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.admin-support-form textarea{width:100%;border:1px solid #d7dce5;border-radius:12px;padding:10px;resize:vertical}
/* WP_BLUE_TICK_IDENTITY_CSS */
.wp-verify-apply-btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}.wp-identity-page{padding-bottom:100px}.wp-identity-notice,.wp-identity-summary,.wp-identity-security{margin:14px 16px;padding:16px;border-radius:16px;border:1px solid #dbe5ff;background:#f5f8ff}.wp-identity-notice p,.wp-identity-security p{margin:7px 0 0;color:#667085;line-height:1.5}.wp-identity-notice.pending{background:#fff8e6;border-color:#f8d889}.wp-identity-notice.success{background:#ecfdf3;border-color:#abefc6}.wp-identity-summary p{margin:8px 0}.wp-identity-form{margin:14px 16px}.wp-identity-form input[type=file]{width:100%;padding:12px;border:1px dashed #aeb9cd;border-radius:12px;background:#fafcff}.wp-identity-form small{display:block;margin-top:6px;color:#778197}.wp-identity-consent{display:flex;gap:10px;align-items:flex-start;padding:12px;border:1px solid #dce3ef;border-radius:12px;margin:12px 0;font-size:13px;line-height:1.45}.wp-identity-consent input{margin-top:3px}.admin-verify-docs{display:flex;gap:6px;flex-wrap:wrap}.admin-pro-table td small{display:block;margin-top:4px;color:#778197;line-height:1.4}

/* WorldPalm Home Feed ad renderer v3.
   Scope: Home Feed in-feed cards and Home Feed post-video mid-roll only. */
.home-modern .wp-pro-ad.wp-pro-ad-home_feed[data-wp-home-ad-v3="1"]{
  max-height:1px!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  opacity:0!important;
  overflow:hidden!important;
  pointer-events:none!important;
  transition:none!important;
}
.home-modern .wp-pro-ad.wp-pro-ad-home_feed[data-wp-home-ad-v3="1"].is-ad-ready{
  max-height:none!important;
  margin:0 0 14px 0!important;
  opacity:1!important;
  overflow:hidden!important;
  pointer-events:auto!important;
}
.home-modern .wp-pro-ad.wp-pro-ad-home_feed[data-wp-home-ad-v3="1"].is-ad-empty{
  display:none!important;
}
.home-modern .wp-pro-ad.wp-pro-ad-home_feed[data-wp-home-ad-v3="1"][data-ad-kind="network"] .wp-ad-media{
  width:100%!important;
  height:var(--wp-home-ad-height,620px)!important;
  min-height:0!important;
  max-height:620px!important;
  aspect-ratio:auto!important;
  background:#fff!important;
  overflow:hidden!important;
  line-height:0!important;
}
.home-modern .wp-pro-ad.wp-pro-ad-home_feed[data-wp-home-ad-v3="1"] .wp-home-ad-frame-wrap,
.home-modern .wp-pro-ad.wp-pro-ad-home_feed[data-wp-home-ad-v3="1"] .wp-home-ad-frame{
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:#fff!important;
  overflow:hidden!important;
}
.home-modern .home-post-list .wp-midroll[data-wp-home-midroll-v3="1"]{
  position:absolute!important;
  inset:0!important;
  z-index:18!important;
  display:none!important;
  width:100%!important;
  height:100%!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:inherit!important;
  box-shadow:none!important;
  background:#000!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  overflow:hidden!important;
}
.home-modern .home-post-list .wp-midroll[data-wp-home-midroll-v3="1"].show{display:block!important;}
.home-modern .home-post-list .wp-midroll[data-wp-home-midroll-v3="1"] .midroll-fill,
.home-modern .home-post-list .wp-midroll[data-wp-home-midroll-v3="1"] .midroll-ad-frame,
.home-modern .home-post-list .wp-midroll[data-wp-home-midroll-v3="1"] .midroll-ad-video,
.home-modern .home-post-list .wp-midroll[data-wp-home-midroll-v3="1"] .midroll-ad-img{
  position:absolute!important;
  inset:0!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:#000!important;
  overflow:hidden!important;
}
.home-modern .home-post-list .wp-midroll[data-wp-home-midroll-v3="1"] .midroll-ad-video,
.home-modern .home-post-list .wp-midroll[data-wp-home-midroll-v3="1"] .midroll-ad-img{object-fit:cover!important;}
.home-modern .home-post-list .wp-midroll[data-wp-home-midroll-v3="1"] .midroll-ad-frame{background:#fff!important;}
.home-modern .home-post-list .wp-midroll[data-wp-home-midroll-v3="1"] .midroll-skip{
  position:absolute!important;
  top:9px!important;
  right:9px!important;
  z-index:22!important;
  min-width:72px!important;
  height:34px!important;
  padding:0 12px!important;
  margin:0!important;
  border:1px solid rgba(255,255,255,.34)!important;
  border-radius:999px!important;
  background:rgba(0,0,0,.62)!important;
  color:#fff!important;
  font-size:12px!important;
  line-height:1!important;
  font-weight:900!important;
  box-shadow:0 5px 16px rgba(0,0,0,.28)!important;
  backdrop-filter:blur(8px)!important;
  -webkit-backdrop-filter:blur(8px)!important;
}
.home-modern .home-post-list .wp-midroll[data-wp-home-midroll-v3="1"] .midroll-skip.ready{
  background:rgba(255,255,255,.94)!important;
  color:#0b1328!important;
  border-color:#fff!important;
}

