:root{
  --navy:#071a37;--blue:#155eef;--blue2:#0b4bd4;--sky:#eff6ff;--gold:#f4b400;
  --green:#0e9f6e;--red:#d92d20;--ink:#10213a;--muted:#667085;--line:#e4e7ec;
  --bg:#f7f9fc;--card:#fff;--shadow:0 14px 40px rgba(16,33,58,.10)
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:#fff}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
a{text-decoration:none;color:inherit}
img{max-width:100%}
.container{width:min(1180px,calc(100% - 30px));margin:auto}
.topbar{position:sticky;top:0;z-index:40;background:rgba(255,255,255,.96);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
.nav{min-height:72px;display:flex;align-items:center;gap:20px}
.brand{display:flex;align-items:center;gap:10px;font-weight:900;letter-spacing:-.5px}
.logo{width:38px;height:38px;border-radius:12px;background:linear-gradient(145deg,var(--blue),#3b82f6);display:grid;place-items:center;color:#fff;box-shadow:0 8px 24px #155eef35}
.brand span{color:var(--blue)}
.navlinks{margin-left:auto;display:flex;gap:20px;font-weight:700;font-size:14px}
.nav-actions{display:flex;gap:9px}
.btn{border:0;border-radius:12px;padding:12px 16px;font-weight:800;transition:.18s;min-height:44px}
.btn:hover{transform:translateY(-1px)}
.btn-primary{background:var(--blue);color:#fff;box-shadow:0 8px 22px #155eef2e}
.btn-primary:hover{background:var(--blue2)}
.btn-soft{background:var(--sky);color:var(--blue)}
.btn-outline{background:#fff;border:1px solid var(--line);color:var(--ink)}
.btn-danger{background:#fff0ef;color:var(--red);border:1px solid #fecdca}
.btn-success{background:#eafaf4;color:#067647;border:1px solid #abefc6}
.hero{background:radial-gradient(circle at 88% 20%,#dceaff 0,transparent 30%),linear-gradient(180deg,#f7fbff 0,#fff 100%);padding:74px 0 55px;border-bottom:1px solid #edf1f6}
.hero-grid{display:grid;grid-template-columns:1.15fr .85fr;align-items:center;gap:44px}
.kicker{display:inline-flex;align-items:center;gap:8px;background:#fff7df;border:1px solid #f8df9b;color:#7a5500;padding:8px 12px;border-radius:999px;font-weight:800;font-size:13px}
h1{font-size:clamp(42px,6vw,72px);line-height:.98;letter-spacing:-3px;margin:18px 0 20px}
h1 em{font-style:normal;color:var(--blue)}
.lead{font-size:18px;line-height:1.65;color:#475467;max-width:680px}
.search-shell{display:grid;grid-template-columns:1fr 210px auto;gap:0;background:#fff;border:1px solid #d0d5dd;border-radius:15px;box-shadow:var(--shadow);overflow:hidden;margin-top:26px}
.search-shell input,.search-shell select{border:0;padding:17px;background:#fff;outline:none;min-width:0}
.search-shell select{border-left:1px solid var(--line)}
.search-shell .btn{border-radius:0}
.proof{display:flex;gap:18px;flex-wrap:wrap;margin-top:18px;color:#475467;font-weight:700;font-size:13px}
.hero-card{background:linear-gradient(155deg,#071a37,#0b4bd4);color:#fff;border-radius:28px;padding:28px;box-shadow:0 24px 70px #071a3740}
.hero-card h3{font-size:26px;margin:0 0 8px}.hero-card p{color:#dce8ff;line-height:1.55}
.hero-statgrid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:24px}
.hero-stat{background:#ffffff12;border:1px solid #ffffff22;border-radius:16px;padding:16px}
.hero-stat b{display:block;font-size:20px}.hero-stat span{font-size:12px;color:#dce8ff}
.section{padding:62px 0}.section.alt{background:var(--bg)}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:24px}
.section-head h2,.section-title{font-size:32px;letter-spacing:-1px;margin:0}
.section-head p{margin:7px 0 0;color:var(--muted)}
.categories{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}
.cat{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px 12px;text-align:center;box-shadow:0 5px 18px rgba(16,33,58,.04);cursor:pointer;transition:.18s}
.cat:hover,.cat.active{border-color:#99baff;transform:translateY(-2px);box-shadow:0 10px 25px #155eef18}
.cat .icon{font-size:27px;margin-bottom:8px}.cat strong{font-size:13px}
.toolbar{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}
.chip{border:1px solid var(--line);background:#fff;border-radius:999px;padding:9px 12px;font-weight:750;color:#475467}
.chip.active{background:var(--navy);color:#fff;border-color:var(--navy)}
.business-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.business{border:1px solid var(--line);border-radius:20px;overflow:hidden;background:#fff;box-shadow:0 8px 26px rgba(16,33,58,.06);display:flex;flex-direction:column}
.cover{height:170px;background:linear-gradient(135deg,#eaf2ff,#f8fafc);position:relative;overflow:hidden;display:grid;place-items:center;font-size:54px}
.cover img{width:100%;height:100%;object-fit:cover}
.badge{position:absolute;top:11px;left:11px;background:var(--navy);color:#fff;border-radius:999px;padding:6px 9px;font-size:10px;font-weight:900}
.badge.gold{background:#9a6700}.badge.green{background:#067647;left:auto;right:11px}
.business-body{padding:17px;display:flex;flex-direction:column;gap:9px;flex:1}
.business-body h3{margin:0;font-size:18px}.muted{color:var(--muted)}
.meta{font-size:12px;color:#667085;display:flex;gap:12px;flex-wrap:wrap}
.rating{color:#b54708;font-weight:800;font-size:13px}
.business-actions{display:flex;gap:8px;margin-top:auto;padding-top:6px}.business-actions .btn{flex:1;padding:10px}
.empty{grid-column:1/-1;background:#fff;border:1px dashed #cfd6e3;border-radius:18px;padding:38px;text-align:center;color:var(--muted)}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.step{padding:24px;border-radius:18px;border:1px solid var(--line);background:#fff}
.step .num{width:36px;height:36px;border-radius:10px;background:var(--blue);color:#fff;display:grid;place-items:center;font-weight:900}
.step h3{margin:14px 0 7px}.step p{color:var(--muted);margin:0;line-height:1.55}
.plans{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.plan{border:1px solid var(--line);border-radius:20px;padding:26px;background:#fff;position:relative}
.plan.featured{border:2px solid var(--blue);box-shadow:0 18px 40px #155eef20}
.plan-badge{position:absolute;top:-13px;left:50%;transform:translateX(-50%);background:var(--blue);color:#fff;border-radius:999px;padding:6px 12px;font-size:11px;font-weight:900}
.price{font-size:38px;font-weight:900}.price span{font-size:14px;color:var(--muted)}
.features{list-style:none;padding:0;display:grid;gap:11px;color:#475467}.features li:before{content:"✓";color:var(--green);font-weight:900;margin-right:8px}
.cta{border-radius:26px;padding:36px;background:linear-gradient(135deg,#071a37,#155eef);color:#fff;display:flex;justify-content:space-between;align-items:center;gap:25px}
.cta h2{margin:0 0 8px}.cta p{margin:0;color:#dbe8ff}
footer{border-top:1px solid var(--line);padding:34px 0;color:#667085;font-size:13px}
.footer{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}
.modal-backdrop{position:fixed;inset:0;background:#071a37a8;z-index:100;display:none;align-items:center;justify-content:center;padding:16px}
.modal-backdrop.show{display:flex}
.modal{width:min(760px,100%);max-height:92vh;overflow:auto;background:#fff;border-radius:22px;box-shadow:0 30px 90px #0005}
.modal.wide{width:min(1080px,100%)}
.modal-head{padding:20px 22px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:15px;position:sticky;top:0;background:#fff;z-index:3}
.modal-head h2{margin:0;font-size:22px}.close{width:40px;height:40px;border-radius:50%;border:0;background:#f2f4f7;font-size:22px}
.modal-body{padding:22px}
.tabs{display:flex;gap:8px;border-bottom:1px solid var(--line);padding:0 22px;overflow:auto}
.tab{background:transparent;border:0;border-bottom:3px solid transparent;padding:13px 10px;font-weight:800;color:#667085;white-space:nowrap}
.tab.active{color:var(--blue);border-color:var(--blue)}
.panel{display:none}.panel.active{display:block}
.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.full{grid-column:1/-1}
label{display:grid;gap:7px;font-size:13px;font-weight:800;color:#344054}
input,select,textarea{width:100%;border:1px solid #d0d5dd;border-radius:11px;padding:12px;outline:none;background:#fff}
input:focus,select:focus,textarea:focus{border-color:#84adff;box-shadow:0 0 0 3px #eff4ff}
.form-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:18px;flex-wrap:wrap}
.notice{background:#eff8ff;border:1px solid #b2ddff;color:#175cd3;padding:12px;border-radius:12px;font-size:13px;line-height:1.45}
.notice.warn{background:#fffaeb;border-color:#fedf89;color:#93370d}
.notice.danger{background:#fff1f0;border-color:#fecdca;color:#b42318}
.dashboard-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px}
.metric{border:1px solid var(--line);border-radius:16px;padding:16px;background:#fff}.metric b{display:block;font-size:24px}.metric span{font-size:12px;color:var(--muted)}
.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:14px}
table{width:100%;border-collapse:collapse;min-width:760px}
th,td{text-align:left;padding:12px;border-bottom:1px solid var(--line);font-size:13px;vertical-align:top}
th{background:#f9fafb;color:#475467}
.status{display:inline-flex;padding:5px 8px;border-radius:999px;font-size:11px;font-weight:900;background:#f2f4f7;color:#475467}
.status.ok{background:#ecfdf3;color:#067647}.status.warn{background:#fffaeb;color:#b54708}.status.bad{background:#fff1f0;color:#b42318}
.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.gallery img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px}
.profile-hero{display:grid;grid-template-columns:1fr .95fr;gap:20px}.profile-hero h2{font-size:30px;margin:0 0 8px}
.profile-actions{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}
.review{border-top:1px solid var(--line);padding:14px 0}.review:first-child{border-top:0}
.toast{position:fixed;right:16px;bottom:16px;z-index:180;background:#101828;color:#fff;padding:14px 16px;border-radius:13px;box-shadow:var(--shadow);opacity:0;transform:translateY(15px);pointer-events:none;transition:.22s;max-width:360px}
.toast.show{opacity:1;transform:none}
.spinner{width:22px;height:22px;border:3px solid #d0d5dd;border-top-color:var(--blue);border-radius:50%;animation:spin .8s linear infinite;margin:auto}
@keyframes spin{to{transform:rotate(360deg)}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1000px){
  .hero-grid{grid-template-columns:1fr}.hero-card{display:none}.categories{grid-template-columns:repeat(4,1fr)}
  .business-grid{grid-template-columns:repeat(2,1fr)}.dashboard-cards{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:760px){
  .navlinks{display:none}.nav-actions .btn-outline{display:none}.search-shell{grid-template-columns:1fr}.search-shell select{border-left:0;border-top:1px solid var(--line)}
  .categories{grid-template-columns:repeat(3,1fr)}.steps,.plans,.business-grid{grid-template-columns:1fr}.section{padding:45px 0}
  h1{letter-spacing:-2px}.form-grid{grid-template-columns:1fr}.full{grid-column:auto}.profile-hero{grid-template-columns:1fr}
  .gallery{grid-template-columns:repeat(2,1fr)}.cta{align-items:flex-start;flex-direction:column}
}
@media(max-width:480px){.categories{grid-template-columns:repeat(2,1fr)}.dashboard-cards{grid-template-columns:1fr}}

/* === V7 visual system: global premium + responsive discovery === */
:root{--violet:#7c3aed;--cyan:#06b6d4;--orange:#f59e0b;--deep:#08101f;--deep2:#111c31}
.eyebrow{font-size:12px;letter-spacing:.16em;font-weight:900;color:#7dd3fc;margin-bottom:8px}.eyebrow.blue{color:var(--blue)}
.visual-discovery{background:radial-gradient(circle at 85% 10%,#27266a 0,transparent 28%),linear-gradient(160deg,#070d18 0,#101b30 58%,#091320 100%);color:#fff;overflow:hidden}
.visual-discovery .section-head h2{font-size:clamp(30px,4vw,46px);max-width:760px}.visual-discovery .section-head p{color:#aebbd0;max-width:720px}.btn-glass{background:#ffffff0f;border:1px solid #ffffff24;color:#fff}
.stream-row{margin-top:28px}.stream-row+.stream-row{margin-top:38px}.stream-title{display:flex;align-items:end;justify-content:space-between;margin-bottom:14px}.stream-title strong{display:block;font-size:20px}.stream-title span{display:block;color:#8ea0ba;font-size:13px;margin-top:4px}.stream-title button{border:0;background:#ffffff12;color:#fff;width:38px;height:38px;border-radius:50%}
.video-rail,.compact-rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(260px,1fr);gap:14px;overflow-x:auto;padding:2px 2px 14px;scroll-snap-type:x mandatory;scrollbar-width:none}.video-rail::-webkit-scrollbar,.compact-rail::-webkit-scrollbar{display:none}
.video-card{height:340px;border-radius:22px;position:relative;overflow:hidden;scroll-snap-align:start;background:#15233b;box-shadow:0 18px 40px #0007;isolation:isolate}.video-card:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 28%,#030712e8 100%);z-index:-1}.video-card:after{content:"";position:absolute;inset:0;z-index:-2;background:linear-gradient(135deg,#113a72,#26a7b8)}.video-card.v2:after{background:linear-gradient(135deg,#d5b47b,#6d7785)}.video-card.v3:after{background:linear-gradient(135deg,#315a2c,#9fc88b)}.video-card.v4:after{background:linear-gradient(135deg,#262f3d,#8d9aad)}
.video-top{display:flex;justify-content:space-between;padding:14px}.video-top span{background:#0009;padding:5px 8px;border-radius:8px;font-size:11px}.video-top button{border:0;background:#0007;color:#fff;width:36px;height:36px;border-radius:50%;font-size:20px}.play{position:absolute;inset:0;display:grid;place-items:center;font-size:25px}.play:before{content:"";position:absolute;width:62px;height:62px;border-radius:50%;background:#ffffff25;backdrop-filter:blur(8px);z-index:-1}.video-info{position:absolute;left:16px;right:16px;bottom:15px}.video-info b{display:block;font-size:17px}.video-info small{color:#c8d2e2}.social-mini{display:flex;gap:12px;margin-top:10px;font-size:11px;color:#d6deeb}
.compact-rail{grid-auto-columns:minmax(180px,1fr)}.compact-rail article{scroll-snap-align:start}.compact-rail b,.compact-rail small{display:block}.compact-rail small{color:#8ea0ba;margin-top:4px}.thumb{height:130px;border-radius:18px;display:grid;place-items:center;margin-bottom:9px;background:linear-gradient(135deg,#2a4d7c,#5385bd);position:relative;overflow:hidden}.thumb:before{content:"";position:absolute;inset:0;background:linear-gradient(145deg,transparent,#0005)}.thumb span{z-index:1;background:#0007;border:1px solid #ffffff40;width:45px;height:45px;border-radius:50%;display:grid;place-items:center}.t2{background:linear-gradient(135deg,#815f46,#d29c69)}.t3{background:linear-gradient(135deg,#245063,#69b0c3)}.t4{background:linear-gradient(135deg,#6c4c31,#b58c5d)}.t5{background:linear-gradient(135deg,#365b79,#8ab4d3)}
.reels-section{background:#fff}.reels-preview{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;max-width:980px;margin:auto}.reel-card{aspect-ratio:9/15;border-radius:26px;overflow:hidden;position:relative;background:linear-gradient(150deg,#122b5a,#3488a8);box-shadow:0 16px 38px #10213a22}.reel-card.r2{background:linear-gradient(150deg,#8b7253,#d2b896)}.reel-card.r3{background:linear-gradient(150deg,#214f35,#71a65f)}.reel-card:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#0000 30%,#05070ac9 100%)}.reel-overlay{position:absolute;inset:0;z-index:2;padding:16px;display:flex;flex-direction:column;justify-content:flex-end;color:#fff}.reel-pill{position:absolute;top:16px;left:16px;background:#0008;border:1px solid #ffffff30;padding:7px 10px;border-radius:999px;font-size:11px;font-weight:900}.reel-actions{position:absolute;right:12px;bottom:115px;display:grid;gap:12px}.reel-actions button{border:0;background:#0005;color:#fff;width:50px;min-height:50px;border-radius:18px;display:grid;place-items:center;font-size:20px}.reel-actions small{display:block;font-size:9px}.reel-overlay p{font-size:12px;margin:4px 65px 10px 0;color:#dbe5ef}.quote-mini{border:0;border-radius:10px;background:#fff;color:#10213a;padding:9px 11px;font-weight:900;font-size:11px}
.password-field{display:flex;align-items:stretch;border:1px solid #d0d5dd;border-radius:11px;overflow:hidden;background:#fff}.password-field:focus-within{border-color:#84adff;box-shadow:0 0 0 3px #eff4ff}.password-field input{border:0;border-radius:0;box-shadow:none!important}.password-toggle{border:0;background:#f8fafc;min-width:48px;font-size:16px}.success-modal{width:min(460px,100%)}.success-content{text-align:center;padding:38px 30px}.success-icon{width:68px;height:68px;border-radius:50%;display:grid;place-items:center;margin:0 auto 18px;background:#ecfdf3;color:#067647;font-size:32px;font-weight:900}.success-content h2{margin:0 0 6px}.success-content p{margin:4px 0 18px}.success-content .btn{width:100%;margin-top:8px}
.mobile-bottom-nav{display:none}
@media(max-width:1000px){.navlinks{display:none}.hero-card{display:block}.reels-preview{gap:12px}.video-rail{grid-auto-columns:minmax(300px,48vw)}}
@media(max-width:760px){body{padding-bottom:76px}.topbar .nav{min-height:62px}.brand{font-size:14px}.brand .logo{width:34px;height:34px}.nav-actions #publishBtn{display:none}.nav-actions .btn-outline{display:inline-flex;padding:9px 11px;min-height:40px}.hero{padding:42px 0 38px}.hero-card{display:none}.proof{gap:9px}.visual-discovery{padding-top:48px}.visual-head{align-items:flex-start}.visual-head .btn{display:none}.video-rail{grid-auto-columns:82vw}.compact-rail{grid-auto-columns:48vw}.reels-preview{display:grid;grid-auto-flow:column;grid-auto-columns:78vw;grid-template-columns:none;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:12px}.reel-card{scroll-snap-align:center}.mobile-bottom-nav{position:fixed;display:grid;grid-template-columns:repeat(5,1fr);left:0;right:0;bottom:0;z-index:70;background:rgba(8,16,31,.96);backdrop-filter:blur(16px);border-top:1px solid #ffffff15;padding:7px max(7px,env(safe-area-inset-left)) calc(7px + env(safe-area-inset-bottom));box-shadow:0 -10px 30px #0003}.mobile-bottom-nav a,.mobile-bottom-nav button{border:0;background:transparent;color:#cbd5e1;display:grid;place-items:center;gap:3px;font-size:18px;min-width:0}.mobile-bottom-nav small{font-size:9px;font-weight:800}.mobile-bottom-nav .mobile-reels span{width:39px;height:32px;border-radius:12px;background:linear-gradient(135deg,var(--blue),var(--violet),var(--cyan));display:grid;place-items:center;color:#fff}.modal-backdrop{align-items:flex-end;padding:0}.modal{border-radius:24px 24px 0 0;max-height:92dvh}.modal.wide{width:100%}.modal-head{padding:16px}.modal-body{padding:16px}.tabs{padding:0 12px}.business-actions{position:sticky;bottom:0;background:#fff;padding:10px 0}.section-head{align-items:flex-start}.section-head .btn{flex-shrink:0}}
@media(min-width:761px) and (max-width:1180px){.container{width:min(100% - 40px,1050px)}.categories{grid-template-columns:repeat(4,1fr)}.business-grid{grid-template-columns:repeat(2,1fr)}.reels-preview{max-width:850px}.nav{gap:14px}.nav-actions .btn{padding:11px 12px}.hero-grid{grid-template-columns:1.05fr .95fr;gap:28px}}
@media(min-width:1181px){.video-rail{grid-auto-columns:minmax(250px,1fr)}.compact-rail{grid-auto-columns:minmax(190px,1fr)}}

/* V7.1 — navegación móvil/tablet completa */
.mobile-menu-toggle{display:none;border:1px solid var(--line);background:#fff;color:var(--navy);width:44px;height:44px;border-radius:14px;font-size:23px;line-height:1;align-items:center;justify-content:center;box-shadow:0 4px 14px #0b1f3a0a}
.mobile-menu{display:none;position:fixed;inset:72px 0 auto 0;z-index:65;background:rgba(255,255,255,.98);backdrop-filter:blur(20px);border-bottom:1px solid var(--line);box-shadow:0 18px 40px #0b1f3a18;transform:translateY(-14px);opacity:0;pointer-events:none;transition:.2s ease}
.mobile-menu.show{transform:translateY(0);opacity:1;pointer-events:auto}
.mobile-menu-inner{padding-top:16px;padding-bottom:20px}
.mobile-menu-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;font-size:18px}.mobile-menu-head button{border:0;background:#f3f6fa;width:38px;height:38px;border-radius:12px;font-size:18px}
.mobile-menu-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.mobile-menu-links a{display:flex;align-items:center;gap:11px;min-height:54px;padding:12px 14px;border:1px solid #e5eaf1;border-radius:15px;background:#fff;font-weight:800;color:#13233f}.mobile-menu-links a:hover{border-color:#bfd2ff;background:#f8fbff}.mobile-menu-links a>span{min-width:0}
.mobile-menu-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:12px}.mobile-menu-actions .btn{width:100%;justify-content:center}
.mobile-menu-meta{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:12px;padding:12px 14px;background:#f6f8fb;border-radius:14px;font-weight:800}.mobile-menu-meta small{color:#667085;font-weight:600;text-align:right}
@media(max-width:1000px){.mobile-menu-toggle{display:inline-flex}.mobile-menu{display:block}.nav-actions{margin-left:auto}.nav-actions #publishBtn{display:none}}
@media(max-width:760px){.topbar .nav{gap:8px}.brand{min-width:0;flex:1}.brand>div:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nav-actions{gap:6px}.nav-actions #accountBtn{padding:8px 10px;min-height:40px;font-size:13px}.mobile-menu-toggle{width:40px;height:40px;border-radius:12px}.mobile-menu{inset:62px 0 auto 0;max-height:calc(100dvh - 62px - 74px);overflow:auto}.mobile-menu-links{grid-template-columns:1fr}.mobile-menu-actions{grid-template-columns:1fr}.mobile-menu-meta{align-items:flex-start;flex-direction:column}.mobile-menu-meta small{text-align:left}}


/* === V7.2 — header compacto + menú seguro + categorías premium === */
@media(max-width:1000px){
  .topbar{box-shadow:0 8px 28px rgba(16,33,58,.05)}
  .mobile-menu{overscroll-behavior:contain}
  .mobile-menu-inner{padding-bottom:calc(24px + env(safe-area-inset-bottom))}
}
@media(max-width:760px){
  .topbar .nav{min-height:56px;height:56px}
  .brand{gap:8px;font-size:13px;letter-spacing:-.35px}
  .brand .logo,.logo{width:30px;height:30px;border-radius:10px;font-size:12px}
  .nav-actions #accountBtn{padding:7px 9px;min-height:36px;font-size:12px;border-radius:10px}
  .mobile-menu-toggle{width:36px;height:36px;border-radius:10px;font-size:20px}
  .mobile-menu{inset:56px 0 0 0;max-height:none;height:calc(100dvh - 56px);overflow-y:auto;-webkit-overflow-scrolling:touch;padding-bottom:calc(84px + env(safe-area-inset-bottom))}
  .mobile-menu-inner{min-height:max-content;padding-top:12px;padding-bottom:calc(100px + env(safe-area-inset-bottom))}
  .mobile-menu-head{position:sticky;top:0;z-index:2;background:rgba(255,255,255,.97);backdrop-filter:blur(14px);padding:4px 0 8px}
  .mobile-menu-links a{min-height:50px;padding:10px 12px;border-radius:14px}
  .mobile-menu-actions{margin-top:10px}
  .mobile-menu-meta{margin-top:10px;margin-bottom:10px}
  body.menu-open{overflow:hidden}
}
.categories{gap:14px}
.cat{
  position:relative;min-height:136px;padding:16px 14px;text-align:left;display:flex;flex-direction:column;justify-content:space-between;
  border:1px solid #e7ecf4;border-radius:20px;
  background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);
  box-shadow:0 10px 30px rgba(16,33,58,.055);
  overflow:hidden
}
.cat:before{
  content:"";position:absolute;width:110px;height:110px;border-radius:50%;right:-48px;top:-52px;
  background:radial-gradient(circle,#eaf2ff 0,#f4f7ff 48%,transparent 70%);pointer-events:none
}
.cat .icon{
  width:46px;height:46px;border-radius:14px;display:grid;place-items:center;margin:0 0 18px;
  background:linear-gradient(145deg,#eef4ff,#e4edff);color:var(--blue);
  box-shadow:inset 0 0 0 1px #d9e5ff
}
.cat .icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.cat strong{font-size:14px;line-height:1.2;color:#12233f;padding-right:24px}
.cat-arrow{position:absolute;right:14px;bottom:13px;color:#98a2b3;font-weight:900;transition:.18s}
.cat:hover .cat-arrow,.cat.active .cat-arrow{transform:translateX(3px);color:var(--blue)}
.cat:hover,.cat.active{border-color:#b9cbff;background:linear-gradient(180deg,#fff,#f6f9ff);transform:translateY(-3px);box-shadow:0 16px 34px #155eef16}
.cat.active .icon{background:linear-gradient(145deg,var(--blue),#5c7cff);color:#fff;box-shadow:0 8px 20px #155eef33}
@media(max-width:760px){
  .categories{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .cat{min-height:118px;border-radius:17px;padding:13px 12px}
  .cat .icon{width:40px;height:40px;border-radius:12px;margin-bottom:12px}
  .cat .icon svg{width:21px;height:21px}
  .cat strong{font-size:13px}
}
@media(min-width:761px) and (max-width:1180px){
  .cat{min-height:128px}
}

/* V7.3: robust vector icons + functional language switch */
.mobile-menu-head button svg,.mobile-menu-links svg,.language-label svg,.mobile-bottom-nav svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.mobile-menu-head button{display:grid;place-items:center}.mobile-menu-head button svg{width:20px;height:20px}
.mobile-menu-links a svg{width:22px;height:22px;color:#155eef}
.mobile-bottom-nav svg{width:22px;height:22px;margin:0 auto 4px;color:currentColor}
.language-control{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:12px;margin-bottom:12px;padding:14px;background:#f6f8fb;border:1px solid #e6ebf2;border-radius:16px}
.language-label{display:flex;align-items:center;gap:10px;min-width:0}.language-label svg{color:#155eef}.language-label div{display:flex;flex-direction:column;gap:2px}.language-label strong{font-size:14px}.language-label small{font-size:12px;color:#667085;font-weight:600}
.language-switch{display:flex;background:#e9eef7;padding:3px;border-radius:12px;flex:0 0 auto}.lang-btn{border:0;background:transparent;color:#344054;font-weight:900;min-width:44px;height:36px;border-radius:9px;cursor:pointer}.lang-btn.active{background:#155eef;color:#fff;box-shadow:0 4px 12px #155eef30}
@media(max-width:480px){.language-control{align-items:flex-start;flex-direction:column}.language-switch{width:100%}.lang-btn{flex:1}}
/* V7.4 - real visual assets for video/reels prototype */
.video-card:after{background-size:cover!important;background-position:center!important;filter:saturate(.94) contrast(1.02)}
.video-card.v2:after{background-image:url('assets/cleaning.jpg')!important}
.video-card.v3:after{background-image:url('assets/landscape.jpg')!important}
.thumb{background-size:cover!important;background-position:center!important}
.thumb.t1{background-image:url('assets/handyman.jpg')!important}
.thumb.t2{background-image:url('assets/painting.jpg')!important}
.thumb.t3{background-image:url('assets/cleaning.jpg')!important}
.reel-card{background-size:cover!important;background-position:center!important}

/* V7.5 — photographic categories + sharper media */
.categories{align-items:stretch}
.cat.cat-photo{padding:0;text-align:left;overflow:hidden;display:grid;grid-template-rows:150px auto;min-height:214px;position:relative;background:#fff}
.cat-photo .cat-media{display:block;width:100%;height:150px;background-size:cover;background-position:center;transition:transform .25s ease;filter:none}
.cat-photo:hover .cat-media,.cat-photo.active .cat-media{transform:scale(1.025)}
.cat-photo strong{padding:14px 48px 14px 14px;font-size:15px;align-self:center}
.cat-photo .cat-arrow{position:absolute;right:14px;bottom:13px}
.video-card:after{filter:none!important;background-repeat:no-repeat!important}
.video-card.v1:after{background-image:url('assets/handyman.jpg')!important}
.video-card.v2:after{background-image:url('assets/cleaning.jpg')!important}
.video-card.v3:after{background-image:url('assets/landscape.jpg')!important}
.video-card.v4:after{background-image:url('assets/snow.jpg')!important}
.thumb.t1{background-image:url('assets/handyman.jpg')!important}
.thumb.t2{background-image:url('assets/painting.jpg')!important}
.thumb.t3{background-image:url('assets/plumbing.jpg')!important}
.thumb.t4{background-image:url('assets/handyman.jpg')!important}
.thumb.t5{background-image:url('assets/snow.jpg')!important}
.reel-card.r1{background-image:url('assets/painting.jpg')!important}
.reel-card.r2{background-image:url('assets/cleaning.jpg')!important}
.reel-card.r3{background-image:url('assets/landscape.jpg')!important}
@media(max-width:760px){
  .categories{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .cat.cat-photo{grid-template-rows:128px auto;min-height:188px}
  .cat-photo .cat-media{height:128px}
  .video-rail{grid-auto-columns:76vw}
  .video-card{height:330px}
  .compact-rail{grid-auto-columns:46vw}
  .thumb{height:122px}
}

/* V7.6 – reproductor real de videos */
.video-card{cursor:pointer}
.video-card:focus-visible{outline:3px solid #84adff;outline-offset:3px}
.video-card .video-like{position:relative;z-index:3}
.video-player-backdrop{z-index:140;background:rgba(2,8,23,.88);backdrop-filter:blur(14px)}
.video-player-modal{width:min(680px,100%);background:#07111f;color:#fff;overflow:hidden}
.video-player-head{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:15px 16px;background:#07111f;border-bottom:1px solid rgba(255,255,255,.12)}
.video-player-head h2{margin:2px 0 0;font-size:18px;line-height:1.2}.video-player-head small{color:#9fb0c6}.video-player-head .close{background:#ffffff12;color:#fff}
.video-player-stage{background:#000;display:grid;place-items:center;min-height:360px;max-height:70dvh}
.video-player-stage video{width:100%;height:min(70dvh,680px);object-fit:contain;background:#000;display:block}
.video-player-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:14px;background:#07111f}
.video-player-actions .btn{min-width:0}
@media(max-width:760px){.video-player-backdrop{align-items:stretch}.video-player-modal{width:100%;height:100dvh;max-height:none;border-radius:0;display:flex;flex-direction:column}.video-player-stage{flex:1;min-height:0;max-height:none}.video-player-stage video{height:100%;max-height:none}.video-player-actions{padding:12px 12px calc(12px + env(safe-area-inset-bottom));grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ===== V7.7 premium visual repair ===== */
.categories{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.cat.cat-photo{position:relative;display:block;aspect-ratio:1/1.04;min-height:0;padding:0;border-radius:18px;overflow:hidden;background:#10213a;border:0;box-shadow:0 10px 24px rgba(8,24,48,.14);isolation:isolate;text-align:left}
.cat-photo .cat-media{position:absolute;inset:0;width:100%;height:100%;background-size:cover;background-position:center;filter:none!important;transform:none!important}
.cat-photo::after{content:"";position:absolute;inset:40% 0 0;background:linear-gradient(180deg,rgba(5,15,30,0),rgba(5,15,30,.88));z-index:1;pointer-events:none}
.cat-photo strong{position:absolute;left:11px;right:34px;bottom:11px;padding:0!important;color:#fff;font-size:14px;line-height:1.08;font-weight:900;z-index:2;text-shadow:0 1px 5px #0009;align-self:auto}
.cat-photo .cat-arrow{position:absolute;right:9px;bottom:8px;z-index:2;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;color:#fff;background:rgba(255,255,255,.18);backdrop-filter:blur(6px);font-size:18px}
.cat.cat-photo:hover .cat-media,.cat.cat-photo.active .cat-media{transform:scale(1.025)!important}
.cat.cat-photo.active{outline:3px solid var(--blue);outline-offset:2px}

.video-rail{grid-auto-columns:minmax(220px,26vw);gap:14px}
.video-card{height:auto;aspect-ratio:9/14;border-radius:20px;box-shadow:0 12px 28px rgba(0,0,0,.22)}
.video-card:before{background:linear-gradient(180deg,rgba(3,7,18,0) 35%,rgba(3,7,18,.9) 100%)}
.video-card:after{background-size:cover!important;background-position:center!important;filter:none!important}
.video-card .play{width:62px;height:62px;border:2px solid #fff;background:rgba(2,8,23,.55);backdrop-filter:blur(7px);border-radius:50%;display:grid;place-items:center;font-size:25px;color:#fff;position:absolute;inset:0;margin:auto;z-index:2}
.video-card .video-info{position:absolute;left:14px;right:14px;bottom:14px;z-index:2}
.video-card .video-info b{font-size:19px;line-height:1.08;color:#fff;display:block}
.video-card .video-info small{font-size:12px;color:#dce7f5;display:block;margin-top:5px}
.video-card .social-mini{font-size:11px;display:flex;gap:10px;flex-wrap:wrap;margin-top:9px;color:#fff}
.video-card .video-top{position:absolute;left:12px;right:12px;top:12px;display:flex;justify-content:space-between;z-index:3}.video-card .video-top>span{background:#000a;color:#fff;border-radius:10px;padding:6px 8px;font-size:12px}
.video-card .video-like{width:40px;height:40px;border-radius:50%;border:1px solid #ffffff80;background:#0008;color:#fff;font-size:22px}

.reels-preview{gap:14px}.reel-card{background-size:cover!important;background-position:center!important;border-radius:22px;box-shadow:0 12px 28px rgba(16,33,58,.16)}

/* Fullscreen viewer with correctly sized video, not stretched */
.video-player-backdrop{position:fixed!important;inset:0!important;z-index:200!important;background:rgba(1,7,17,.96)!important;backdrop-filter:blur(18px)!important;align-items:center!important;justify-content:center!important;padding:18px!important}
.video-player-modal{width:min(900px,100%)!important;max-height:calc(100% - 20px)!important;height:auto!important;border-radius:24px!important;overflow:hidden!important;display:grid!important;grid-template-rows:auto auto auto!important;background:#07111f!important;box-shadow:0 30px 80px #0009!important}
.video-player-head{padding:14px 16px!important}
.video-player-stage{background:#000!important;min-height:0!important;max-height:none!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important}
.video-player-stage video{width:100%!important;height:auto!important;max-height:66vh!important;aspect-ratio:16/9!important;object-fit:contain!important;background:#000!important;display:block!important}
.video-player-actions{grid-template-columns:repeat(4,minmax(0,1fr))!important;padding:12px!important}

@media(max-width:760px){
  .categories{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
  .cat.cat-photo{aspect-ratio:1/1.12;border-radius:14px}
  .cat-photo strong{font-size:10.5px;left:7px;right:25px;bottom:8px}
  .cat-photo .cat-arrow{width:22px;height:22px;right:5px;bottom:5px;font-size:14px}
  .video-rail{grid-auto-columns:72vw;gap:12px}
  .compact-rail{grid-auto-columns:47vw}
  .video-card{aspect-ratio:9/13.4;border-radius:18px}
  .video-card .video-info b{font-size:18px}
  .video-player-backdrop{padding:0!important;align-items:stretch!important}
  .video-player-modal{width:100%!important;max-height:none!important;height:100%!important;border-radius:0!important;grid-template-rows:auto auto 1fr!important;overflow-y:auto!important}
  .video-player-stage{padding:0!important;background:#000!important}
  .video-player-stage video{width:100%!important;height:auto!important;max-height:52vh!important;aspect-ratio:16/9!important;object-fit:contain!important}
  .video-player-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:12px 12px calc(12px + env(safe-area-inset-bottom))!important}
}
@media(max-width:380px){
  .categories{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
  .cat-photo strong{font-size:9.5px}
}

/* V7.8 – robust visual media + premium functional video sheets */
.cat.cat-photo{background:#0e1d33!important;min-height:0!important;display:block!important}
.cat-media{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;overflow:hidden!important;background:#dce7f5!important}
.cat-media img{width:100%!important;height:100%!important;display:block!important;object-fit:cover!important;object-position:center!important;filter:none!important;transform:none!important}
.cat-fallback{display:none;position:absolute;inset:0;place-items:center;color:#2563eb;background:linear-gradient(145deg,#eaf2ff,#f8fbff)}
.cat-fallback svg{width:42px;height:42px;stroke:currentColor;fill:none;stroke-width:1.8}
.cat-media.media-error .cat-fallback{display:grid}
.categories{align-items:stretch!important}

.compact-video{cursor:pointer}.compact-video:focus-visible{outline:3px solid #60a5fa;outline-offset:3px}
.reel-card{cursor:pointer}.reel-play{position:absolute;left:50%;top:43%;transform:translate(-50%,-50%);width:66px;height:66px;border-radius:50%;display:grid;place-items:center;background:#07111fb8;border:2px solid #fff;color:#fff;font-size:26px;box-shadow:0 10px 28px #0005}.reel-actions button.active{background:#ef4444;color:#fff}

body.media-open{overflow:hidden!important}
.video-player-backdrop{z-index:250!important;background:rgba(2,8,23,.82)!important;backdrop-filter:blur(12px)!important;padding:18px!important;align-items:center!important;justify-content:center!important}
.video-player-modal{width:min(760px,100%)!important;max-height:94vh!important;border-radius:24px!important;background:#07111f!important;color:#fff!important;overflow:hidden!important;display:block!important}
.video-player-head{padding:14px 16px!important;min-height:70px!important}.video-player-head h2{font-size:20px!important}.video-player-head small{font-size:12px!important}
.video-player-stage{width:100%!important;aspect-ratio:16/9!important;min-height:0!important;max-height:none!important;background:#000!important;display:grid!important;place-items:center!important;overflow:hidden!important}
.video-player-stage video{display:block!important;width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;background:#000!important}
.video-player-actions{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;padding:12px!important;background:#07111f!important}
.media-action{min-height:68px;border:1px solid #ffffff22;border-radius:15px;background:#101d31;color:#fff;padding:8px;display:grid;place-items:center;gap:3px;font:inherit;cursor:pointer}.media-action span{font-size:22px}.media-action b{font-size:11px;line-height:1.1}.media-action.primary{background:#2563eb;border-color:#2563eb}.media-action.active{background:#7f1d1d;border-color:#ef4444}

.mini-sheet{z-index:300!important;background:rgba(2,8,23,.72)!important;backdrop-filter:blur(10px)!important;padding:16px!important;align-items:center!important;justify-content:center!important}.interaction-sheet{width:min(560px,100%)!important;max-height:86vh!important;border-radius:24px!important;overflow:auto!important;background:#fff!important}.interaction-sheet .modal-head{background:#fff!important;color:#10213a!important}.interaction-sheet .modal-head small{color:#64748b}.interaction-sheet textarea,.interaction-sheet input{width:100%;border:1px solid #cbd5e1;border-radius:12px;padding:12px 13px;font:inherit;font-size:16px;background:#fff}.comment-list{display:grid;gap:10px;margin-bottom:14px}.local-comment{border:1px solid #e2e8f0;border-radius:14px;padding:12px;background:#f8fafc}.local-comment p{margin:4px 0 6px}.local-comment small{color:#64748b}.comment-form,.quote-form{display:grid;gap:12px}.quote-form label{display:grid;gap:6px;font-weight:800;color:#10213a}.quote-form .muted{font-size:12px;margin:0}

@media(max-width:760px){
  .categories{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .cat.cat-photo{aspect-ratio:1/1.03!important;border-radius:16px!important}
  .cat-photo strong{font-size:13px!important;left:10px!important;right:36px!important;bottom:10px!important}
  .cat-photo .cat-arrow{width:28px!important;height:28px!important;right:8px!important;bottom:8px!important}
  .video-player-backdrop{padding:0!important;align-items:flex-end!important}
  .video-player-modal{width:100%!important;border-radius:22px 22px 0 0!important;max-height:88vh!important}
  .video-player-stage{aspect-ratio:16/9!important;flex:none!important}
  .video-player-actions{grid-template-columns:repeat(4,minmax(0,1fr))!important;padding:10px 10px calc(10px + env(safe-area-inset-bottom))!important}
  .media-action{min-height:62px!important;padding:6px 3px!important}.media-action b{font-size:9.5px!important}.media-action span{font-size:19px!important}
  .mini-sheet{padding:0!important;align-items:flex-end!important}.interaction-sheet{width:100%!important;border-radius:22px 22px 0 0!important;max-height:82vh!important}
}

/* V7.9 – immersive TikTok-like media viewer + stronger image fallbacks */
#categoryGrid .cat-media{background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important}
#categoryGrid .cat[data-img] .cat-media{background-image:var(--cat-image)}

.video-player-backdrop{background:rgba(1,7,17,.94)!important;backdrop-filter:blur(18px)!important}
.video-player-modal.tiktok-player{width:min(430px,100%)!important;height:min(92dvh,860px)!important;max-height:min(92dvh,860px)!important;border-radius:28px!important;overflow:hidden!important;background:#000!important;display:block!important;box-shadow:0 22px 70px rgba(0,0,0,.55)!important}
.video-player-modal.tiktok-player .video-player-stage{position:relative!important;width:100%!important;height:100%!important;aspect-ratio:auto!important;background:#000!important;overflow:hidden!important}
.video-player-modal.tiktok-player .video-player-stage video{width:100%!important;height:100%!important;object-fit:cover!important;background:#000!important;display:block!important}
.video-player-overlay{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:space-between;z-index:3;pointer-events:none;background:linear-gradient(180deg,rgba(2,8,23,.28),rgba(2,8,23,0) 22%,rgba(2,8,23,0) 58%,rgba(2,8,23,.68) 100%)}
.video-stage-top,.video-stage-bottom,.video-player-actions{pointer-events:auto}
.video-stage-top{display:flex;justify-content:space-between;align-items:flex-start;padding:16px}
.video-stage-badges{display:grid;gap:8px}
.video-stage-pill{display:inline-flex;align-items:center;justify-content:center;align-self:flex-start;padding:7px 12px;border-radius:999px;background:rgba(0,0,0,.52);border:1px solid rgba(255,255,255,.22);font-size:12px;font-weight:800;color:#fff}
#videoPlayerMeta{display:block;font-size:12px;color:#dbe6f4;text-shadow:0 1px 4px rgba(0,0,0,.4)}
.video-stage-close{width:44px!important;height:44px!important;border-radius:50%!important;background:rgba(0,0,0,.42)!important;border:1px solid rgba(255,255,255,.18)!important;color:#fff!important;display:grid!important;place-items:center!important}
.video-player-modal.tiktok-player .video-player-actions{position:absolute!important;right:14px!important;bottom:118px!important;display:grid!important;grid-template-columns:none!important;grid-template-rows:repeat(4,auto)!important;gap:12px!important;padding:0!important;background:transparent!important;z-index:4!important}
.video-player-modal.tiktok-player .media-action{width:72px;min-height:72px;border-radius:22px;background:rgba(7,17,31,.58)!important;border:1px solid rgba(255,255,255,.18)!important;color:#fff!important;backdrop-filter:blur(10px);box-shadow:0 10px 25px rgba(0,0,0,.18)}
.video-player-modal.tiktok-player .media-action span{font-size:26px}
.video-player-modal.tiktok-player .media-action b{font-size:10px;line-height:1.15;color:#fff}
.video-player-modal.tiktok-player .media-action.primary{background:linear-gradient(180deg,#2563eb,#1d4ed8)!important;border-color:#2563eb!important}
.video-player-modal.tiktok-player .media-action.active{background:linear-gradient(180deg,#ef4444,#b91c1c)!important;border-color:#ef4444!important}
.video-stage-bottom{padding:18px 16px 18px;max-width:calc(100% - 98px)}
#videoPlayerTitle{margin:0 0 6px!important;font-size:28px!important;line-height:1.02!important;color:#fff!important;text-shadow:0 1px 8px rgba(0,0,0,.45)}
#videoPlayerDescription{margin:0;color:#dbe6f4;font-size:14px;line-height:1.35;max-width:36ch;text-shadow:0 1px 4px rgba(0,0,0,.35)}
.video-inline-row{display:flex;align-items:center;gap:10px;margin-top:14px}
.inline-quote-btn{border:0;border-radius:999px;background:#fff;color:#07111f;padding:12px 16px;font-weight:900;font-size:14px;cursor:pointer;box-shadow:0 8px 22px rgba(0,0,0,.15)}
.inline-sound-btn{width:46px;height:46px;border-radius:50%;border:1px solid rgba(255,255,255,.18);background:rgba(7,17,31,.58);color:#fff;font-size:20px;cursor:pointer;backdrop-filter:blur(10px)}

.compact-video .thumb,.reel-card,.video-card:after{background-position:center!important;background-size:cover!important}
.video-card.v1:after{background-image:url('assets/remodel_hd.jpg?v=79')!important}

@media (max-width:760px){
  .video-player-backdrop{padding:0!important;align-items:stretch!important;justify-content:center!important}
  .video-player-modal.tiktok-player{width:100%!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important}
  .video-player-modal.tiktok-player .video-player-stage video{object-fit:cover!important}
  .video-stage-top{padding:calc(12px + env(safe-area-inset-top)) 14px 8px!important}
  .video-player-modal.tiktok-player .video-player-actions{right:10px!important;bottom:118px!important;gap:10px!important}
  .video-player-modal.tiktok-player .media-action{width:64px!important;min-height:64px!important;border-radius:20px!important}
  .video-player-modal.tiktok-player .media-action span{font-size:23px!important}
  .video-player-modal.tiktok-player .media-action b{font-size:9px!important}
  .video-stage-bottom{padding:14px 14px calc(14px + env(safe-area-inset-bottom))!important;max-width:calc(100% - 86px)!important}
  #videoPlayerTitle{font-size:24px!important}
  #videoPlayerDescription{font-size:13px!important}
}

/* V7.10 – TikTok-style comments, Follow and sharp vertical video */
.video-player-modal.tiktok-player .video-player-stage video{object-fit:contain!important;background:#000!important;image-rendering:auto!important}
.video-business-row{display:flex;align-items:center;gap:9px;background:rgba(0,0,0,.22);padding:6px 8px 6px 6px;border-radius:999px;backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.12);max-width:min(310px,75vw)}
.video-business-avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#2f6df6,#25c8d8);font-weight:900;font-size:11px;color:#fff;flex:0 0 auto}
.video-business-row>div{min-width:0;display:grid;line-height:1.05}.video-business-row strong{font-size:12px;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.video-business-row small{font-size:10px!important;color:#dbe6f4!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.follow-btn{border:0;border-radius:999px;background:#ff2d55;color:#fff;font-weight:900;font-size:11px;padding:8px 12px;cursor:pointer;flex:0 0 auto}.follow-btn.following{background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.3)}

.comments-backdrop{z-index:310!important;background:rgba(0,0,0,.30)!important;backdrop-filter:none!important;align-items:flex-end!important;justify-content:center!important;padding:0!important}
.comments-sheet{width:min(640px,100%)!important;height:min(68dvh,720px)!important;max-height:68dvh!important;border-radius:24px 24px 0 0!important;background:#fff!important;color:#0f172a!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;box-shadow:0 -18px 55px rgba(0,0,0,.28)!important}
.comments-grabber{width:42px;height:5px;border-radius:999px;background:#d1d5db;margin:8px auto 3px;flex:0 0 auto}
.comments-head{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:8px;padding:8px 14px 10px;border-bottom:1px solid #eef1f5;flex:0 0 auto}.comments-head strong{text-align:center;font-size:15px}.comments-filter,.comments-close{border:0;background:transparent;color:#111827;font-size:23px;width:38px;height:38px;border-radius:50%;display:grid;place-items:center}.comments-close{font-size:30px;font-weight:300}.comments-filter:active,.comments-close:active{background:#f1f5f9}
.tiktok-comments{display:grid;gap:18px!important;padding:14px 16px 18px!important;margin:0!important;overflow-y:auto!important;overscroll-behavior:contain;flex:1 1 auto;background:#fff!important}
.tt-comment{display:grid;grid-template-columns:44px minmax(0,1fr) 48px;gap:10px;align-items:start}.comment-avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;font-weight:900;font-size:13px;color:#fff;background:linear-gradient(135deg,#6d5dfc,#19b6c9)}.comment-avatar.av2{background:linear-gradient(135deg,#111827,#64748b)}.comment-avatar.av3{background:linear-gradient(135deg,#ef4444,#f59e0b)}.comment-avatar.me{background:linear-gradient(135deg,#2563eb,#0ea5e9)}
.comment-main{min-width:0}.comment-main>b{display:block;color:#6b7280;font-size:13px;margin:1px 0 4px}.comment-main p{margin:0;color:#111827;font-size:15px;line-height:1.35;font-weight:600}.comment-meta{display:flex;gap:16px;align-items:center;margin-top:7px;color:#9ca3af;font-size:12px}.comment-meta button,.view-replies{border:0;background:transparent;padding:0;color:#7b8190;font:inherit;font-weight:800}.view-replies{margin-top:8px;font-size:12px}.comment-like{display:grid;justify-items:center;gap:2px;color:#8b93a1}.comment-like button{border:0;background:transparent;color:#8b93a1;font-size:26px;line-height:1}.comment-like button.liked{color:#ef4444}.comment-like span{font-size:11px}
.comment-composer{display:grid;grid-template-columns:36px minmax(0,1fr) 34px 34px 34px;align-items:center;gap:7px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));border-top:1px solid #eceff3;background:#fff;flex:0 0 auto}.comment-composer .comment-avatar{width:34px;height:34px;font-size:10px}.comment-composer input{width:100%;min-width:0;border:0!important;background:#f2f4f7!important;border-radius:999px!important;padding:11px 14px!important;font:inherit;font-size:16px!important;outline:none!important}.composer-icon,.comment-send{border:0;background:transparent;color:#111827;font-size:20px;width:34px;height:34px;display:grid;place-items:center}.comment-send{color:#2563eb;font-size:18px}

/* Explicit category image fallback so the cards are never blank. */
#categoryGrid .cat-media{background-color:#dce7f5!important;background-size:cover!important;background-position:center!important}
#categoryGrid .cat-media img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;opacity:1!important;visibility:visible!important}
#categoryGrid .cat-photo{min-height:150px!important}

@media(max-width:760px){
  .comments-sheet{height:66dvh!important;max-height:66dvh!important;border-radius:22px 22px 0 0!important}
  .tiktok-comments{padding:12px 14px 16px!important;gap:16px!important}
  .tt-comment{grid-template-columns:40px minmax(0,1fr) 42px;gap:9px}.comment-avatar{width:38px;height:38px}.comment-main p{font-size:14px}.comment-main>b{font-size:12px}
  .video-business-row{max-width:78vw}.follow-btn{font-size:10px;padding:7px 10px}
  .video-player-modal.tiktok-player .video-player-stage video{object-fit:contain!important}
}
.reel-business-line{display:flex;align-items:center;gap:8px;margin:0 66px 2px 0}.reel-business-line>b{font-size:14px}.reel-follow{border:0;border-radius:999px;background:#ff2d55;color:#fff;font-size:10px;font-weight:900;padding:7px 10px}.reel-follow.following{background:#ffffff22;border:1px solid #ffffff55;color:#fff}

/* V7.11 — category framing, compact premium grid, persistent video during comments */
#categoryGrid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;align-items:stretch!important}
#categoryGrid .cat{min-width:0!important}
#categoryGrid .cat-photo{aspect-ratio:0.82!important;border-radius:16px!important;overflow:hidden!important;background:#0b1830!important;box-shadow:0 8px 22px rgba(12,28,54,.14)!important}
#categoryGrid .cat-media{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;background-size:cover!important;background-repeat:no-repeat!important}
#categoryGrid .cat-media img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
#categoryGrid .cat-photo::after{content:""!important;position:absolute!important;inset:48% 0 0!important;background:linear-gradient(180deg,transparent,rgba(5,14,28,.92))!important;z-index:1!important}
#categoryGrid .cat-photo strong{left:9px!important;right:31px!important;bottom:10px!important;font-size:12px!important;line-height:1.05!important;color:#fff!important;text-shadow:0 1px 5px #000!important;z-index:2!important}
#categoryGrid .cat-photo .cat-arrow{width:25px!important;height:25px!important;right:7px!important;bottom:7px!important;font-size:15px!important;z-index:2!important}
#categoryGrid .extra-category{display:none!important}
#categoryGrid.show-all-cats .extra-category{display:block!important}
#categoryGrid .cat-icon-only{aspect-ratio:1.15!important;border:1px solid #d9e3f0!important;border-radius:16px!important;background:linear-gradient(145deg,#fff,#f4f8ff)!important;padding:12px!important;position:relative!important;box-shadow:0 7px 20px rgba(15,35,65,.08)!important}
#categoryGrid .cat-icon-only .icon{width:36px;height:36px;border-radius:12px;background:#eaf1ff;color:#1663e8;display:grid;place-items:center}
#categoryGrid .cat-icon-only .icon svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.9}
#categoryGrid .cat-icon-only strong{position:absolute;left:12px;right:32px;bottom:12px;font-size:12px;line-height:1.05;color:#10213a}
#categoryGrid .cat-icon-only .cat-arrow{position:absolute;right:10px;bottom:10px;color:#8c9bb0}

/* clean thumbnail backgrounds */
.video-card.v1:after{background-image:url('assets/handyman_clean.jpg?v=711')!important}
.video-card.v2:after{background-image:url('assets/cleaning_clean.jpg?v=711')!important}
.video-card.v3:after{background-image:url('assets/landscape_clean.jpg?v=711')!important}
.video-card.v4:after{background-image:url('assets/snow_clean.jpg?v=711')!important}
.compact-video .thumb.t1{background-image:url('assets/handyman_clean.jpg?v=711')!important}
.compact-video .thumb.t2{background-image:url('assets/painting_clean.jpg?v=711')!important}
.reel-card.r1{background-image:url('assets/painting_clean.jpg?v=711')!important}
.reel-card.r2{background-image:url('assets/cleaning_clean.jpg?v=711')!important}
.reel-card.r3{background-image:url('assets/landscape_clean.jpg?v=711')!important}

/* video stays visible and playing while comments slide over the lower half */
.video-player-modal.tiktok-player .video-player-stage video{object-fit:contain!important;object-position:center center!important;background:#000!important}
.video-player-modal.tiktok-player.comments-open .video-player-stage video{object-fit:contain!important;object-position:center top!important}
.video-player-modal.tiktok-player.comments-open .video-player-actions,
.video-player-modal.tiktok-player.comments-open .video-stage-bottom{opacity:0!important;pointer-events:none!important;transition:opacity .18s ease}
.video-player-modal.tiktok-player.comments-open .video-stage-top{opacity:1!important}
.comments-backdrop{background:transparent!important;backdrop-filter:none!important;pointer-events:none!important;align-items:flex-end!important;padding:0!important}
.comments-backdrop.show{display:flex!important}
.comments-backdrop .comments-sheet{pointer-events:auto!important;height:min(56dvh,650px)!important;max-height:56dvh!important;border-radius:24px 24px 0 0!important;box-shadow:0 -18px 48px rgba(0,0,0,.30)!important}
.comments-head{padding-top:7px!important}
.tiktok-comments{padding-top:12px!important}
.comment-composer{position:sticky!important;bottom:0!important;z-index:2!important}

/* five-action concept collapsed to 4 social rail actions: quote remains as CTA */
.video-player-modal.tiktok-player .video-player-actions{grid-template-rows:repeat(4,auto)!important}
.video-player-modal.tiktok-player .media-action{width:64px!important;min-height:64px!important;border-radius:20px!important}

@media(max-width:760px){
  #categoryGrid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important}
  #categoryGrid .cat-photo{aspect-ratio:.82!important;border-radius:13px!important}
  #categoryGrid .cat-photo strong{font-size:10px!important;left:7px!important;right:25px!important;bottom:8px!important}
  #categoryGrid .cat-photo .cat-arrow{width:21px!important;height:21px!important;right:5px!important;bottom:5px!important;font-size:13px!important}
  #categoryGrid .cat-icon-only{aspect-ratio:.95!important;padding:8px!important;border-radius:13px!important}
  #categoryGrid .cat-icon-only .icon{width:28px;height:28px;border-radius:9px}
  #categoryGrid .cat-icon-only .icon svg{width:18px;height:18px}
  #categoryGrid .cat-icon-only strong{font-size:9.5px;left:8px;right:24px;bottom:8px}
  .comments-backdrop .comments-sheet{height:56dvh!important;max-height:56dvh!important}
  .video-player-modal.tiktok-player .video-player-stage video{object-fit:contain!important}
}

/* V7.12 — clean category mapping, compact mobile cards, persistent playback + Save */
#categoryGrid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}
#categoryGrid .cat-photo{aspect-ratio:.82!important;border-radius:14px!important;min-height:0!important}
#categoryGrid .cat-media,#categoryGrid .cat-media img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important}
#categoryGrid .cat-media img{object-fit:cover!important;object-position:center!important}
#categoryGrid .cat-photo strong{font-size:11px!important;left:8px!important;right:28px!important;bottom:8px!important}
#categoryGrid .cat-photo .cat-arrow{width:23px!important;height:23px!important;right:6px!important;bottom:6px!important}
#categoryGrid .extra-category{display:none!important}
#categoryGrid.show-all-cats .extra-category{display:block!important}
#categoryGrid .cat-icon-only{aspect-ratio:.9!important;border-radius:14px!important;background:linear-gradient(145deg,#fff,#f3f7ff)!important;border:1px solid #dbe4f0!important;box-shadow:0 7px 18px rgba(15,35,65,.08)!important;position:relative!important;padding:9px!important}
#categoryGrid .cat-icon-only .icon{width:30px!important;height:30px!important;border-radius:10px!important;background:#eaf1ff!important;color:#1763e8!important;display:grid!important;place-items:center!important}
#categoryGrid .cat-icon-only .icon svg{width:18px!important;height:18px!important}
#categoryGrid .cat-icon-only strong{position:absolute!important;left:9px!important;right:24px!important;bottom:9px!important;font-size:9.5px!important;line-height:1.05!important;color:#10213a!important}
#categoryGrid .cat-icon-only .cat-arrow{position:absolute!important;right:7px!important;bottom:7px!important;color:#8b9bb1!important}

/* clean, correctly matched thumbnails */
.video-card.v1:after{background-image:url('assets/handyman_clean.jpg?v=712')!important}
.video-card.v2:after{background-image:url('assets/cleaning_clean.jpg?v=712')!important}
.video-card.v3:after{background-image:url('assets/painting2.jpg?v=712')!important}
.video-card.v4:after{background-image:url('assets/snow2.jpg?v=712')!important}
.reel-card.r1{background-image:url('assets/painting2.jpg?v=712')!important}
.reel-card.r2{background-image:url('assets/cleaning_clean.jpg?v=712')!important}
.reel-card.r3{background-image:url('assets/landscape2.jpg?v=712')!important}

/* TikTok-like viewer: keep the active video sharp and centered */
.video-player-modal.tiktok-player .video-player-stage{background:#000!important}
.video-player-modal.tiktok-player .video-player-stage video{object-fit:contain!important;object-position:center!important;background:#000!important;filter:none!important;transform:none!important}
.video-player-modal.tiktok-player .video-player-actions{grid-template-rows:repeat(5,auto)!important;bottom:104px!important;gap:8px!important}
.video-player-modal.tiktok-player .media-action{width:58px!important;min-height:58px!important;border-radius:18px!important}
.video-player-modal.tiktok-player .media-action span{font-size:21px!important}
.video-player-modal.tiktok-player .media-action b{font-size:8.5px!important}

/* Comments slide up while the video continues playing in the top portion */
.video-player-modal.tiktok-player.comments-open .video-player-stage{height:44dvh!important;min-height:44dvh!important;max-height:44dvh!important;position:absolute!important;inset:0 0 auto 0!important}
.video-player-modal.tiktok-player.comments-open .video-player-stage video{width:100%!important;height:44dvh!important;object-fit:contain!important;object-position:center!important;background:#000!important}
.video-player-modal.tiktok-player.comments-open .video-stage-top{display:flex!important;opacity:1!important}
.video-player-modal.tiktok-player.comments-open .video-player-actions,.video-player-modal.tiktok-player.comments-open .video-stage-bottom{display:none!important}
.comments-backdrop .comments-sheet{height:56dvh!important;max-height:56dvh!important;border-radius:22px 22px 0 0!important}
.comments-head{min-height:58px!important;padding:8px 14px!important}
.tiktok-comments{gap:14px!important;padding:12px 14px 18px!important}
.tt-comment{grid-template-columns:40px minmax(0,1fr) 42px!important}
.comment-main p{font-size:14px!important;font-weight:650!important;line-height:1.3!important}
.comment-composer{padding:9px 10px calc(9px + env(safe-area-inset-bottom))!important}
.comment-composer input{font-size:15px!important;padding:10px 13px!important}

@media(max-width:520px){
  #categoryGrid{gap:7px!important}
  #categoryGrid .cat-photo{border-radius:12px!important}
  #categoryGrid .cat-photo strong{font-size:9.5px!important;left:6px!important;right:23px!important;bottom:7px!important}
  #categoryGrid .cat-photo .cat-arrow{width:20px!important;height:20px!important;font-size:12px!important;right:4px!important;bottom:4px!important}
  .video-player-modal.tiktok-player .video-player-actions{right:8px!important;bottom:100px!important}
  .video-player-modal.tiktok-player .media-action{width:56px!important;min-height:56px!important}
}

/* === V7.13 FINAL MEDIA/CATEGORY RESET === */
/* Categories: stable, visible, correctly framed */
#categoryGrid{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:12px!important;min-height:0!important;visibility:visible!important;opacity:1!important}
#categoryGrid .cat{display:block!important;position:relative!important;min-width:0!important;overflow:hidden!important;visibility:visible!important;opacity:1!important}
#categoryGrid .cat.extra-category{display:none!important}
#categoryGrid.show-all-cats .cat.extra-category{display:block!important}
#categoryGrid .cat-photo{aspect-ratio:1.08/1!important;border:0!important;border-radius:18px!important;background:#e7eef8!important;box-shadow:0 8px 22px rgba(16,33,58,.12)!important}
#categoryGrid .cat-media{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;display:block!important;background:#dce7f5!important}
#categoryGrid .cat-media img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;display:block!important;object-fit:cover!important;object-position:center center!important;opacity:1!important;visibility:visible!important;filter:none!important;transform:none!important}
#categoryGrid .cat-photo::after{content:""!important;position:absolute!important;inset:46% 0 0!important;background:linear-gradient(180deg,transparent 0%,rgba(3,12,28,.32) 34%,rgba(3,12,28,.92) 100%)!important;z-index:1!important}
#categoryGrid .cat-photo strong{position:absolute!important;left:12px!important;right:44px!important;bottom:12px!important;color:#fff!important;font-size:15px!important;line-height:1.05!important;font-weight:900!important;text-shadow:0 2px 8px rgba(0,0,0,.7)!important;z-index:3!important}
#categoryGrid .cat-photo .cat-arrow{position:absolute!important;right:10px!important;bottom:9px!important;width:32px!important;height:32px!important;border-radius:50%!important;display:grid!important;place-items:center!important;background:rgba(12,25,45,.62)!important;color:#fff!important;font-size:20px!important;z-index:3!important;backdrop-filter:blur(8px)}
#categoryGrid .cat-icon-only{aspect-ratio:1.08/1!important;border:1px solid #dbe4f0!important;border-radius:18px!important;background:linear-gradient(145deg,#fff,#f3f7ff)!important;box-shadow:0 7px 18px rgba(15,35,65,.08)!important;padding:14px!important;text-align:left!important}
#categoryGrid .cat-icon-only .icon{width:42px!important;height:42px!important;border-radius:13px!important;background:#eaf1ff!important;color:#1763e8!important;display:grid!important;place-items:center!important}
#categoryGrid .cat-icon-only .icon svg{width:24px!important;height:24px!important;stroke:currentColor!important;fill:none!important;stroke-width:1.9!important}
#categoryGrid .cat-icon-only strong{position:absolute!important;left:14px!important;right:42px!important;bottom:14px!important;color:#10213a!important;font-size:13px!important;line-height:1.05!important}
#categoryGrid .cat-icon-only .cat-arrow{position:absolute!important;right:12px!important;bottom:12px!important;color:#8797ad!important;font-size:20px!important}

/* Immersive player: crisp media centered instead of zoomed/blurred */
.video-player-backdrop{position:fixed!important;inset:0!important;z-index:260!important;background:#000!important;padding:0!important;align-items:stretch!important;justify-content:center!important;backdrop-filter:none!important}
.video-player-modal.tiktok-player{position:relative!important;width:min(560px,100%)!important;height:100dvh!important;max-height:100dvh!important;margin:0 auto!important;border-radius:0!important;background:#000!important;overflow:hidden!important;box-shadow:none!important}
.video-player-modal.tiktok-player .video-player-stage{position:relative!important;width:100%!important;height:100%!important;background:#000!important;display:flex!important;align-items:flex-start!important;justify-content:center!important;overflow:hidden!important}
.video-player-modal.tiktok-player .video-player-stage video{position:absolute!important;top:112px!important;left:0!important;width:100%!important;height:calc(100% - 112px)!important;object-fit:contain!important;object-position:center top!important;background:#000!important;filter:none!important;transform:none!important}
.video-player-overlay{position:absolute!important;inset:0!important;z-index:4!important;background:linear-gradient(180deg,rgba(0,0,0,.48) 0,rgba(0,0,0,0) 24%,rgba(0,0,0,0) 62%,rgba(0,0,0,.72) 100%)!important;pointer-events:none!important}
.video-stage-top,.video-stage-bottom,.video-player-actions{pointer-events:auto!important}
.video-stage-top{position:absolute!important;left:0!important;right:0!important;top:0!important;padding:16px 14px 10px!important;display:flex!important;justify-content:space-between!important;z-index:6!important}
.video-stage-badges{display:grid!important;gap:8px!important;width:min(390px,calc(100% - 56px))!important}
.video-stage-pill{display:inline-flex!important;align-self:flex-start!important;justify-content:center!important;padding:7px 13px!important;border-radius:999px!important;background:rgba(7,17,31,.64)!important;border:1px solid rgba(255,255,255,.22)!important;color:#fff!important;font-size:12px!important;font-weight:800!important}
.video-business-row{display:flex!important;align-items:center!important;gap:9px!important;padding:7px 9px!important;border-radius:16px!important;background:rgba(7,17,31,.56)!important;border:1px solid rgba(255,255,255,.16)!important;backdrop-filter:blur(10px)!important}
.video-business-avatar{width:38px!important;height:38px!important;border-radius:50%!important;display:grid!important;place-items:center!important;background:linear-gradient(135deg,#2563eb,#22c1c3)!important;color:#fff!important;font-weight:900!important;font-size:12px!important;flex:0 0 auto!important}
.video-business-row>div{min-width:0!important;flex:1!important}.video-business-row strong{display:block!important;color:#fff!important;font-size:13px!important;line-height:1.1!important}.video-business-row small{display:block!important;color:#dbe6f4!important;font-size:10px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.follow-btn{border:0!important;border-radius:999px!important;background:#ff315b!important;color:#fff!important;padding:8px 13px!important;font-weight:900!important;font-size:11px!important;flex:0 0 auto!important}.follow-btn.following{background:#fff!important;color:#10213a!important}
.video-stage-close{width:44px!important;height:44px!important;border-radius:50%!important;background:rgba(7,17,31,.58)!important;border:1px solid rgba(255,255,255,.18)!important;color:#fff!important;font-size:26px!important;display:grid!important;place-items:center!important}
.video-player-modal.tiktok-player .video-player-actions{position:absolute!important;right:10px!important;bottom:120px!important;display:grid!important;grid-template-columns:none!important;gap:9px!important;z-index:7!important;padding:0!important;background:transparent!important}
.video-player-modal.tiktok-player .media-action{width:62px!important;min-height:62px!important;border-radius:19px!important;background:rgba(12,25,45,.68)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important;display:grid!important;place-items:center!important;gap:2px!important;padding:6px 3px!important;backdrop-filter:blur(9px)!important}
.video-player-modal.tiktok-player .media-action span{font-size:22px!important;line-height:1!important}.video-player-modal.tiktok-player .media-action b{font-size:9px!important;line-height:1.05!important;color:#fff!important}.video-player-modal.tiktok-player .media-action.primary{background:#2463ef!important}.video-player-modal.tiktok-player .media-action.active{background:#ef3340!important}
.video-stage-bottom{position:absolute!important;left:14px!important;right:86px!important;bottom:18px!important;z-index:6!important;padding:0!important;color:#fff!important}.video-stage-bottom h2{font-size:24px!important;line-height:1.03!important;margin:0 0 7px!important;color:#fff!important;text-shadow:0 2px 8px #000!important}.video-stage-bottom p{font-size:13px!important;color:#e7eef7!important;margin:0 0 10px!important;text-shadow:0 2px 6px #000!important}.video-inline-row{display:flex!important;gap:9px!important;align-items:center!important}.inline-quote-btn{border:0!important;border-radius:999px!important;background:#fff!important;color:#10213a!important;padding:11px 15px!important;font-weight:900!important;font-size:12px!important}.inline-sound-btn{width:42px!important;height:42px!important;border-radius:50%!important;border:1px solid rgba(255,255,255,.18)!important;background:rgba(12,25,45,.7)!important;color:#fff!important}

/* Comments: TikTok-style bottom sheet, video remains visible and playing above */
.comments-backdrop{position:fixed!important;inset:0!important;z-index:280!important;background:transparent!important;padding:0!important;display:none!important;align-items:flex-end!important;justify-content:center!important;pointer-events:none!important}
.comments-backdrop.show{display:flex!important}
.comments-sheet{pointer-events:auto!important;width:min(560px,100%)!important;height:58dvh!important;max-height:58dvh!important;margin:0 auto!important;border-radius:24px 24px 0 0!important;background:#fff!important;color:#10213a!important;overflow:hidden!important;display:grid!important;grid-template-rows:auto auto 1fr auto!important;box-shadow:0 -16px 50px rgba(0,0,0,.26)!important}
.comments-grabber{width:54px!important;height:5px!important;border-radius:999px!important;background:#d0d6e0!important;margin:10px auto 5px!important}
.comments-head{display:grid!important;grid-template-columns:1fr auto auto!important;align-items:center!important;gap:10px!important;padding:10px 18px 12px!important;border-bottom:1px solid #edf0f5!important}.comments-head strong{text-align:center!important;font-size:16px!important}.comments-filter,.comments-close{border:0!important;background:transparent!important;color:#10213a!important;font-size:24px!important;width:36px!important;height:36px!important;display:grid!important;place-items:center!important}.comments-close{font-size:30px!important}
.comment-list.tiktok-comments{overflow-y:auto!important;padding:8px 18px 90px!important;background:#fff!important}.tt-comment{display:grid!important;grid-template-columns:44px minmax(0,1fr) 42px!important;gap:10px!important;padding:13px 0!important}.comment-avatar{width:42px!important;height:42px!important;border-radius:50%!important;display:grid!important;place-items:center!important;color:#fff!important;font-weight:900!important;font-size:13px!important;background:linear-gradient(135deg,#2563eb,#22c1c3)!important}.comment-main b{font-size:13px!important;color:#6d7585!important}.comment-main p{font-size:15px!important;line-height:1.3!important;margin:3px 0 5px!important;color:#101827!important;font-weight:650!important}.comment-meta{display:flex!important;gap:14px!important;align-items:center!important;color:#8b94a3!important;font-size:12px!important}.comment-meta button,.view-replies{border:0!important;background:transparent!important;padding:0!important;color:#6f7786!important;font-weight:800!important;font-size:12px!important}.comment-like{display:grid!important;justify-items:center!important;align-content:start!important;gap:2px!important}.comment-like button{border:0!important;background:transparent!important;font-size:25px!important;color:#8d96a5!important}.comment-like span{font-size:10px!important;color:#939ba8!important}.comment-composer{position:absolute!important;left:0!important;right:0!important;bottom:0!important;display:grid!important;grid-template-columns:38px minmax(0,1fr) auto auto auto!important;gap:7px!important;align-items:center!important;padding:10px 14px calc(10px + env(safe-area-inset-bottom))!important;background:rgba(255,255,255,.98)!important;border-top:1px solid #edf0f5!important}.comment-composer .comment-avatar{width:36px!important;height:36px!important}.comment-composer input{height:42px!important;border:0!important;border-radius:999px!important;background:#f1f3f6!important;padding:0 14px!important;font-size:14px!important;min-width:0!important}.composer-icon,.comment-send{border:0!important;background:transparent!important;font-size:20px!important;color:#111827!important;width:30px!important;height:34px!important}.comment-send{color:#1763e8!important;font-weight:900!important}
.video-player-modal.comments-open .video-player-actions{opacity:.15!important;pointer-events:none!important}.video-player-modal.comments-open .video-stage-bottom{opacity:.15!important;pointer-events:none!important}

/* Quote sheet stays readable above preview controls */
#quoteRequestModal{z-index:290!important}

@media(max-width:760px){
  #categoryGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  #categoryGrid .cat-photo,#categoryGrid .cat-icon-only{aspect-ratio:1.02/1!important;border-radius:16px!important}
  #categoryGrid .cat-photo strong{font-size:14px!important;left:11px!important;right:40px!important;bottom:11px!important}
  #categoryGrid .cat-photo .cat-arrow{width:30px!important;height:30px!important;right:8px!important;bottom:8px!important}
  .video-player-modal.tiktok-player{width:100%!important}
  .video-player-modal.tiktok-player .video-player-stage video{top:104px!important;height:calc(100% - 104px)!important}
  .comments-sheet{width:100%!important;height:58dvh!important;max-height:58dvh!important}
}
@media(min-width:761px) and (max-width:1180px){#categoryGrid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}

/* V9.0 — Cuenta y acceso + cotización pública */
.account-access-card{max-width:760px;margin:0 auto;background:linear-gradient(180deg,#fff,#fbfdff);border:1px solid var(--line);border-radius:20px;padding:22px;box-shadow:0 16px 44px #1018280d}.account-access-card h3{margin:6px 0 4px}.account-password-form{margin-top:18px}.quote-form input,.quote-form textarea{width:100%}.quote-form label{display:grid;gap:7px}.quote-form{display:grid;gap:14px}.tab[data-dash-tab="account"]{white-space:nowrap}
@media(max-width:760px){.account-access-card{padding:16px;border-radius:16px}.account-password-form .form-actions{display:grid;grid-template-columns:1fr}.account-password-form .btn{width:100%}}


/* V9.1 – perfil tipo HBO/App Store para cada negocio */
#profileModal .modal{width:min(1180px,96vw);max-height:min(92vh,980px)}
#profileModal .modal-body{padding:0;background:#f5f7fb}
.streaming-profile-shell{display:grid;gap:18px;padding:0 0 22px}.streaming-profile-shell .btn{white-space:nowrap}
.streaming-profile-hero{position:relative;border-radius:0 0 30px 30px;background-size:cover;background-position:center;overflow:hidden}
.streaming-profile-hero-inner{display:grid;grid-template-columns:minmax(0,1.35fr) 340px;gap:18px;padding:28px;align-items:end;min-height:340px}
.streaming-app-badge{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.14);color:#f8fafc;border:1px solid rgba(255,255,255,.15);backdrop-filter:blur(14px);font-size:12px;font-weight:800;margin-bottom:14px}
.streaming-profile-copy h2{font-size:clamp(34px,4vw,54px);line-height:1.02;margin:0;color:#fff;letter-spacing:-.03em;text-shadow:0 10px 30px rgba(0,0,0,.2)}
.streaming-profile-copy>p{margin:10px 0 0;color:#dbe5ef}.streaming-rating-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.streaming-rating-row span{padding:9px 12px;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.14);color:#fff;font-weight:700;font-size:13px}.streaming-description{max-width:760px;font-size:15px;line-height:1.65!important;color:#edf2f7!important}
.streaming-plan-pill{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:8px 14px;font-weight:900;font-size:12px;letter-spacing:.08em;text-transform:uppercase;margin-bottom:14px}.streaming-plan-pill.basic{background:#e8eef9;color:#1e3a8a}.streaming-plan-pill.featured{background:#dbeafe;color:#155eef}.streaming-plan-pill.premium{background:linear-gradient(135deg,#f7d56a,#e5b029);color:#23190b}
.streaming-verified{display:inline-flex;align-items:center;font-size:14px;padding:7px 11px;border-radius:999px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.14);margin-left:12px;vertical-align:middle}
.streaming-cta-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.streaming-profile-sidecard{background:linear-gradient(180deg,rgba(7,16,31,.76),rgba(7,16,31,.93));color:#fff;border:1px solid rgba(255,255,255,.14);backdrop-filter:blur(18px);border-radius:24px;padding:18px;box-shadow:0 24px 60px rgba(0,0,0,.22)}
.streaming-side-header{display:flex;gap:12px;align-items:center}.streaming-side-header img{width:72px;height:72px;border-radius:18px;object-fit:cover;border:1px solid rgba(255,255,255,.16)}.streaming-side-header strong{display:block;font-size:18px}.streaming-side-header span{display:block;color:#c6d2e1;font-size:13px;margin-top:3px}
.streaming-side-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:18px}.streaming-side-stats div{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);border-radius:18px;padding:12px}.streaming-side-stats small{display:block;color:#9fb0c4;font-size:11px;text-transform:uppercase;letter-spacing:.08em;margin-bottom:4px}.streaming-side-stats b{font-size:21px}
.streaming-side-actions{display:grid;grid-template-columns:1fr;gap:9px;margin-top:18px}.profile-ghost-btn{border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.06);color:#fff;border-radius:14px;padding:12px 14px;font-weight:800;cursor:pointer}.profile-ghost-btn.active{background:#fff;color:#0b1325}
.streaming-overview-bar{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;padding:0 22px}.streaming-overview-stat{background:#fff;border:1px solid var(--line);border-radius:22px;padding:16px 18px;box-shadow:0 14px 36px rgba(15,23,42,.06)}.streaming-overview-stat small{display:block;color:#667085;font-size:11px;text-transform:uppercase;letter-spacing:.08em}.streaming-overview-stat strong{display:block;font-size:22px;margin-top:4px}.streaming-overview-stat span{display:block;color:#475467;font-size:13px;margin-top:4px}
.streaming-tabs-row{display:flex;gap:10px;overflow:auto;padding:0 22px 4px}.profile-tab-btn{border:1px solid var(--line);background:#fff;border-radius:999px;padding:11px 16px;font-weight:800;color:#334155;cursor:pointer;white-space:nowrap}.profile-tab-btn.active{background:#111827;color:#fff;border-color:#111827}
.profile-tab-panel{display:none;padding:0 22px}.profile-tab-panel.active{display:block}.profile-content-grid{display:grid;grid-template-columns:minmax(0,1.35fr) 320px;gap:18px}.profile-main-stack,.profile-side-stack{display:grid;gap:18px}.profile-section-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:20px;box-shadow:0 16px 36px rgba(15,23,42,.05)}.profile-section-card.compact{padding:18px}.profile-section-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:12px}.profile-section-head h3{margin:0;font-size:20px}.profile-mini-link,.profile-inline-action{border:0;background:none;color:#155eef;font-weight:800;cursor:pointer;padding:0}.profile-mini-note{color:#667085;font-size:12px}
.profile-service-pills{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}.profile-service-pills span{background:#eef2ff;color:#1e3a8a;border-radius:999px;padding:10px 13px;font-weight:700;font-size:13px}.profile-service-pills.large span{background:#f8fafc;color:#0f172a;border:1px solid #d8e0ef}
.profile-reels-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.profile-reels-grid.wide{grid-template-columns:repeat(2,1fr)}.profile-reel-card{border:1px solid #dde3ee;border-radius:20px;overflow:hidden;background:#fff;cursor:pointer;display:grid;grid-template-rows:auto 1fr}.profile-reel-card:hover{transform:translateY(-2px);box-shadow:0 16px 32px rgba(21,94,239,.12)}.profile-reel-thumb{position:relative;aspect-ratio:9/11;background:#0f172a}.profile-reel-thumb img{width:100%;height:100%;object-fit:cover;display:block}.profile-reel-play{position:absolute;inset:auto auto 12px 12px;width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:rgba(7,17,31,.65);backdrop-filter:blur(12px);color:#fff;font-size:18px}.profile-reel-category{position:absolute;top:12px;left:12px;background:rgba(255,255,255,.84);color:#111827;padding:6px 10px;border-radius:999px;font-size:11px;font-weight:900}.profile-reel-body{padding:14px 14px 16px}.profile-reel-body strong{display:block;font-size:16px}.profile-reel-body p{margin:8px 0 10px;color:#475467;min-height:40px}.profile-reel-meta{display:flex;flex-wrap:wrap;gap:12px;align-items:center;color:#344054;font-size:13px}
.profile-comments-stack{display:grid;gap:12px}.profile-comment-card{display:grid;grid-template-columns:46px 1fr;gap:12px;padding:14px 0;border-top:1px solid #edf2f7}.profile-comment-card:first-child{border-top:0;padding-top:0}.profile-comment-avatar{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:#dbeafe;color:#1d4ed8;font-weight:900}.profile-comment-head{display:flex;justify-content:space-between;gap:10px;align-items:center}.profile-comment-head span{color:#667085;font-size:12px}.profile-comment-rating{color:#f59e0b;margin-top:4px}.profile-comment-card p{margin:6px 0 0;color:#344054;line-height:1.6}
.profile-comment-form{display:grid;gap:12px}.profile-comment-form textarea{width:100%;border:1px solid #d0d5dd;border-radius:16px;padding:14px;font:inherit;background:#fff}.profile-comment-form textarea:focus{outline:none;border-color:#155eef;box-shadow:0 0 0 4px rgba(21,94,239,.12)}
.profile-highlight-card{border-radius:24px;padding:20px;color:#fff;display:grid;gap:8px;min-height:200px;align-content:start;box-shadow:0 22px 46px rgba(15,23,42,.14)}.profile-highlight-card.basic{background:linear-gradient(135deg,#1e3a8a,#155eef)}.profile-highlight-card.featured{background:linear-gradient(135deg,#155eef,#39b0ff)}.profile-highlight-card.premium{background:linear-gradient(145deg,#111827,#a16207)}.profile-highlight-card small{text-transform:uppercase;letter-spacing:.08em;color:#e5edf9}.profile-highlight-card strong{font-size:24px;line-height:1.2}.profile-highlight-card p{margin:0;color:#edf2f7;line-height:1.6}
.profile-quick-links{display:grid;gap:10px}.profile-quick-links a,.profile-quick-links button{border:1px solid #dbe4f0;background:#f8fafc;color:#0f172a;text-decoration:none;border-radius:14px;padding:13px 14px;font-weight:700;text-align:left;cursor:pointer}
.profile-gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.profile-gallery-item{border:0;background:none;padding:0;cursor:pointer}.profile-gallery-item img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:20px;display:block;box-shadow:0 14px 34px rgba(15,23,42,.10)}
.profile-info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.profile-info-item{background:#f8fafc;border:1px solid #e5e7eb;border-radius:18px;padding:14px 16px}.profile-info-item span{display:block;color:#667085;font-size:12px;text-transform:uppercase;letter-spacing:.05em}.profile-info-item strong{display:block;margin-top:6px;color:#111827;font-size:16px;line-height:1.45;word-break:break-word}.profile-about-block{margin-top:16px;padding:16px;border-radius:18px;background:#f8fafc;color:#334155;line-height:1.7}
.profile-empty-card{background:#f8fafc;border:1px dashed #d0d5dd;border-radius:18px;padding:18px;color:#475467}.service-grid{margin-top:16px}
@media(max-width:1100px){.streaming-profile-hero-inner,.profile-content-grid{grid-template-columns:1fr}.streaming-profile-sidecard{max-width:none}.streaming-overview-bar{grid-template-columns:repeat(3,1fr)}.profile-side-stack{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){#profileModal .modal{width:100%;max-height:94dvh;border-radius:28px 28px 0 0}.streaming-profile-hero-inner{padding:20px;min-height:320px}.streaming-profile-copy h2{font-size:32px}.streaming-overview-bar{grid-template-columns:repeat(2,1fr);padding:0 16px}.streaming-tabs-row,.profile-tab-panel{padding-left:16px;padding-right:16px}.profile-reels-grid,.profile-reels-grid.wide,.profile-gallery-grid,.profile-info-grid{grid-template-columns:1fr}.profile-section-card{padding:16px;border-radius:20px}.profile-side-stack{grid-template-columns:1fr}.streaming-cta-row{display:grid;grid-template-columns:repeat(2,1fr)}.streaming-cta-row .btn{width:100%;justify-content:center}.streaming-side-stats{grid-template-columns:repeat(2,1fr)}.profile-section-head{align-items:flex-start;flex-direction:column}.profile-comment-head{flex-direction:column;align-items:flex-start}}


/* V9.2 – reproductor de reels limpio estilo TikTok */
#videoPlayerModal.video-player-backdrop{position:fixed!important;inset:0!important;z-index:320!important;background:#000!important;display:flex!important;align-items:stretch!important;justify-content:center!important;padding:0!important;backdrop-filter:none!important}
#videoPlayerModal .video-player-modal.tiktok-player{position:relative!important;width:min(460px,100vw)!important;max-width:460px!important;height:100dvh!important;max-height:100dvh!important;margin:0 auto!important;border-radius:0!important;background:#000!important;overflow:hidden!important;display:block!important;box-shadow:none!important}
#videoPlayerModal .video-player-stage{position:relative!important;width:100%!important;height:100%!important;background:#000!important;display:block!important;overflow:hidden!important}
#videoPlayerModal #videoPlayer{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center center!important;background:#000!important;display:block!important}
#videoPlayerModal .video-player-overlay{position:absolute!important;inset:0!important;z-index:4!important;display:block!important;background:linear-gradient(180deg,rgba(0,0,0,.52) 0%,rgba(0,0,0,.16) 18%,rgba(0,0,0,0) 42%,rgba(0,0,0,0) 60%,rgba(0,0,0,.72) 100%)!important;pointer-events:none!important}
#videoPlayerModal .video-stage-top{position:absolute!important;left:0!important;right:0!important;top:0!important;z-index:5!important;display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:12px!important;padding:calc(14px + env(safe-area-inset-top)) 14px 0!important;pointer-events:auto!important}
#videoPlayerModal .video-stage-badges{display:grid!important;gap:10px!important;max-width:calc(100% - 68px)!important}
#videoPlayerModal .video-stage-pill{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:max-content!important;max-width:100%!important;padding:7px 12px!important;border-radius:999px!important;background:rgba(9,18,35,.55)!important;border:1px solid rgba(255,255,255,.18)!important;color:#fff!important;font-size:12px!important;font-weight:900!important;backdrop-filter:blur(12px)!important}
#videoPlayerModal .video-business-row{display:flex!important;align-items:center!important;gap:10px!important;padding:10px 12px!important;border-radius:18px!important;background:rgba(6,13,26,.48)!important;border:1px solid rgba(255,255,255,.12)!important;backdrop-filter:blur(14px)!important;max-width:100%!important}
#videoPlayerModal .video-business-avatar{width:42px!important;height:42px!important;min-width:42px!important;border-radius:50%!important;display:grid!important;place-items:center!important;background:rgba(255,255,255,.18)!important;color:#fff!important;font-weight:900!important}
#videoPlayerModal .video-business-row strong{display:block!important;color:#fff!important;font-size:15px!important;line-height:1.15!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:180px!important}
#videoPlayerMeta{display:block!important;color:#dbe7f7!important;font-size:12px!important;line-height:1.2!important;margin-top:2px!important}
#videoPlayerModal #videoFollowBtn{border:0!important;border-radius:999px!important;padding:9px 14px!important;background:#fff!important;color:#111827!important;font-weight:900!important;min-height:auto!important}
#videoPlayerModal #videoFollowBtn.following{background:#2463ef!important;color:#fff!important}
#videoPlayerModal .video-stage-close{width:48px!important;height:48px!important;min-width:48px!important;border-radius:50%!important;border:1px solid rgba(255,255,255,.14)!important;background:rgba(6,13,26,.55)!important;color:#fff!important;font-size:28px!important;display:grid!important;place-items:center!important;backdrop-filter:blur(14px)!important}
#videoPlayerModal .video-player-actions{position:absolute!important;right:10px!important;bottom:112px!important;z-index:6!important;display:flex!important;flex-direction:column!important;gap:10px!important;padding:0!important;margin:0!important;background:transparent!important;pointer-events:auto!important}
#videoPlayerModal .media-action{width:58px!important;min-height:58px!important;border-radius:29px!important;padding:7px 4px!important;border:0!important;background:rgba(6,13,26,.52)!important;color:#fff!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;backdrop-filter:blur(14px)!important;box-shadow:none!important}
#videoPlayerModal .media-action span{font-size:22px!important;line-height:1!important}
#videoPlayerModal .media-action b{font-size:10px!important;line-height:1.05!important;color:#fff!important;font-weight:800!important;white-space:nowrap!important}
#videoPlayerModal .media-action.primary{background:linear-gradient(180deg,#2563eb,#1d4ed8)!important}
#videoPlayerModal .media-action.active{background:linear-gradient(180deg,#ef4444,#dc2626)!important}
#videoPlayerModal .video-stage-bottom{position:absolute!important;left:0!important;right:88px!important;bottom:0!important;z-index:5!important;display:grid!important;gap:10px!important;padding:0 16px calc(16px + env(safe-area-inset-bottom))!important;pointer-events:auto!important}
#videoPlayerTitle{margin:0!important;color:#fff!important;font-size:28px!important;line-height:1.02!important;letter-spacing:-.03em!important;text-shadow:0 2px 12px rgba(0,0,0,.42)!important}
#videoPlayerDescription{margin:0!important;color:#dce6f2!important;font-size:14px!important;line-height:1.45!important;max-width:32ch!important;text-shadow:0 1px 6px rgba(0,0,0,.35)!important}
#videoPlayerModal .video-inline-row{display:flex!important;align-items:center!important;gap:10px!important}
#videoPlayerModal .inline-quote-btn{border:0!important;border-radius:999px!important;padding:12px 16px!important;background:#fff!important;color:#111827!important;font-weight:900!important;box-shadow:none!important}
#videoPlayerModal .inline-sound-btn{width:46px!important;height:46px!important;border-radius:50%!important;border:1px solid rgba(255,255,255,.16)!important;background:rgba(6,13,26,.48)!important;color:#fff!important;display:grid!important;place-items:center!important;padding:0!important;backdrop-filter:blur(14px)!important}
/* Comments should slide from bottom without destroying the stage */
#commentsModal.comments-backdrop{z-index:330!important;background:rgba(0,0,0,.05)!important;align-items:flex-end!important;padding:0!important}
#commentsModal .comments-sheet{width:min(460px,100vw)!important;max-width:460px!important;border-radius:22px 22px 0 0!important;min-height:54dvh!important;max-height:72dvh!important;overflow:hidden!important;margin:0 auto!important}
#commentsModal .comment-list{max-height:calc(72dvh - 126px)!important;overflow:auto!important}
#videoPlayerModal .video-player-modal.comments-open .video-stage-bottom{opacity:.08!important;pointer-events:none!important}
#videoPlayerModal .video-player-modal.comments-open .video-player-actions{opacity:.12!important;pointer-events:none!important}
/* Tighten layout on very small screens */
@media (max-width:460px){
  #videoPlayerModal .video-player-modal.tiktok-player{width:100vw!important;max-width:none!important}
  #videoPlayerModal .video-player-actions{right:8px!important;bottom:104px!important;gap:8px!important}
  #videoPlayerModal .media-action{width:54px!important;min-height:54px!important}
  #videoPlayerModal .media-action span{font-size:20px!important}
  #videoPlayerModal .media-action b{font-size:9px!important}
  #videoPlayerModal .video-stage-bottom{right:80px!important;padding:0 14px calc(14px + env(safe-area-inset-bottom))!important}
  #videoPlayerTitle{font-size:24px!important}
  #videoPlayerDescription{font-size:13px!important;max-width:28ch!important}
  #videoPlayerModal .video-business-row strong{max-width:132px!important}
}

/* V9.3 – panel de reels reales y mensajería */
.reel-upload-form{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:18px 0 22px;padding:18px;border:1px solid var(--line);border-radius:20px;background:#f8fafc}.reel-upload-form label{display:grid;gap:7px;font-weight:700}.reel-upload-form input,.reel-upload-form textarea{width:100%;border:1px solid #d0d5dd;border-radius:13px;padding:12px;background:#fff;font:inherit}.reel-upload-form .full{grid-column:1/-1}.owner-reels-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.owner-reel-card{display:grid;grid-template-columns:150px 1fr;gap:14px;padding:14px;border:1px solid var(--line);border-radius:20px;background:#fff;align-items:start}.owner-reel-card video{width:150px;aspect-ratio:9/14;object-fit:cover;background:#000;border-radius:16px}.owner-reel-card strong{font-size:17px}.owner-reel-card p{color:#667085;line-height:1.5}.reels-manager-head h3{margin:6px 0}
.message-modal{width:min(720px,95vw)!important}.message-thread{height:min(52vh,480px);overflow-y:auto;display:flex;flex-direction:column;gap:10px;padding:12px;background:#f5f7fb;border-radius:18px}.message-thread.compact{height:min(46vh,420px);border-radius:0;background:#f8fafc}.message-bubble{max-width:78%;padding:11px 13px;border-radius:18px;background:#fff;border:1px solid #e4e7ec;align-self:flex-start}.message-bubble.mine{background:#155eef;color:#fff;border-color:#155eef;align-self:flex-end}.message-bubble p{margin:0;line-height:1.5}.message-bubble small{display:block;margin-top:5px;opacity:.7;font-size:10px}.message-composer-form{display:grid;grid-template-columns:1fr auto;gap:10px;margin-top:12px}.message-composer-form textarea{width:100%;resize:vertical;border:1px solid #d0d5dd;border-radius:15px;padding:12px;font:inherit}.message-empty{padding:24px;text-align:center;color:#667085}.messages-dashboard{display:grid;grid-template-columns:300px 1fr;min-height:520px;border:1px solid var(--line);border-radius:22px;overflow:hidden;background:#fff}.messages-list{border-right:1px solid var(--line);overflow:auto}.conversation-row{width:100%;display:grid;grid-template-columns:46px 1fr auto;gap:10px;align-items:center;border:0;border-bottom:1px solid #eef2f6;background:#fff;text-align:left;padding:13px;cursor:pointer}.conversation-row:hover,.conversation-row.active{background:#eef4ff}.conversation-avatar{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:#dbeafe;color:#1d4ed8;font-weight:900}.conversation-row strong,.conversation-row small{display:block}.conversation-row small{color:#667085;margin-top:3px}.messages-dashboard-thread{min-width:0;background:#f8fafc;padding:14px}.dashboard-thread-head{padding:8px 4px 14px;font-size:18px}
@media(max-width:760px){.reel-upload-form{grid-template-columns:1fr}.reel-upload-form .full{grid-column:auto}.owner-reels-grid{grid-template-columns:1fr}.owner-reel-card{grid-template-columns:105px 1fr}.owner-reel-card video{width:105px}.messages-dashboard{grid-template-columns:1fr;min-height:0}.messages-list{border-right:0;max-height:260px}.messages-dashboard-thread{min-height:420px}.message-composer-form{grid-template-columns:1fr}.message-composer-form .btn{width:100%}}


/* V9.4 hotfix – navegación Reels y filtros del directorio */
.clear-category-inline,.clear-category-empty{border:0;background:transparent;color:#155eef;font:inherit;font-weight:900;text-decoration:underline;text-underline-offset:3px;cursor:pointer;padding:2px 4px}
.clear-category-empty{display:inline-block;margin-top:8px}
#openReelsBtn{cursor:pointer}

/* V9.6 – Perfil de negocio refinado tipo App Store / HBO, menos saturado */
#profileModal{background:rgba(15,23,42,.34)!important;backdrop-filter:blur(10px)!important}
#profileModal .modal{width:min(1080px,96vw)!important;max-height:92dvh!important;border-radius:28px!important;background:#fff!important;overflow:hidden!important;box-shadow:0 30px 90px rgba(15,23,42,.28)!important}
#profileModal .modal-head{position:sticky!important;top:0!important;z-index:40!important;background:rgba(255,255,255,.94)!important;backdrop-filter:blur(18px)!important;border-bottom:1px solid #e8edf5!important;padding:14px 18px!important;min-height:58px!important}
#profileModal .modal-head h2{font-size:18px!important;margin:0!important;color:#0f172a!important}
#profileModal .modal-body{padding:0!important;background:#f6f8fc!important;overflow:auto!important}

.streaming-profile-shell{gap:0!important;padding:0 0 24px!important;background:#f6f8fc!important}
.streaming-profile-hero{border-radius:0!important;min-height:330px!important;background-position:center 40%!important;background-size:cover!important;isolation:isolate!important}
.streaming-profile-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,14,28,.87) 0%,rgba(7,14,28,.64) 46%,rgba(7,14,28,.18) 78%,rgba(7,14,28,.06) 100%);z-index:-1}
.streaming-profile-hero-inner{grid-template-columns:minmax(0,1fr) 260px!important;min-height:330px!important;padding:30px 32px!important;gap:26px!important;align-items:end!important}
.streaming-app-badge{background:rgba(255,255,255,.13)!important;border-color:rgba(255,255,255,.16)!important;font-size:11px!important;padding:7px 11px!important;margin-bottom:12px!important}
.streaming-plan-pill{font-size:10px!important;padding:7px 11px!important;margin-bottom:10px!important;letter-spacing:.1em!important}
.streaming-profile-copy h2{font-size:clamp(32px,4.1vw,48px)!important;max-width:760px!important;line-height:1.02!important}
.streaming-verified{font-size:12px!important;padding:6px 9px!important;margin-left:8px!important;background:rgba(34,197,94,.18)!important;border-color:rgba(134,239,172,.35)!important;color:#dcfce7!important}
.streaming-profile-copy>p{font-size:14px!important;margin-top:8px!important}.streaming-description{max-width:660px!important;font-size:14px!important;line-height:1.55!important;margin-top:12px!important}
.streaming-rating-row{gap:7px!important;margin-top:10px!important}.streaming-rating-row span{padding:7px 10px!important;font-size:11px!important;background:rgba(0,0,0,.28)!important;border-color:rgba(255,255,255,.12)!important}
.streaming-cta-row{gap:8px!important;margin-top:16px!important}.streaming-cta-row .btn{padding:11px 15px!important;border-radius:999px!important;font-size:13px!important;box-shadow:none!important}
.streaming-cta-row .btn-primary{background:#2563eb!important}.streaming-cta-row .btn-outline{background:rgba(255,255,255,.94)!important;color:#111827!important;border-color:transparent!important}.streaming-cta-row .btn-success{background:#16a34a!important}.streaming-cta-row .btn-soft{background:#fff!important;color:#155eef!important}

/* Compact business identity card instead of a huge dark panel */
.streaming-profile-sidecard{align-self:end!important;background:rgba(255,255,255,.94)!important;color:#111827!important;border:1px solid rgba(255,255,255,.42)!important;backdrop-filter:blur(20px)!important;border-radius:22px!important;padding:14px!important;box-shadow:0 16px 46px rgba(0,0,0,.18)!important}
.streaming-side-header img{width:54px!important;height:54px!important;border-radius:14px!important}.streaming-side-header strong{font-size:15px!important;color:#111827!important}.streaming-side-header span{font-size:11px!important;color:#667085!important}
.streaming-side-stats{grid-template-columns:repeat(2,1fr)!important;gap:7px!important;margin-top:12px!important}.streaming-side-stats div{background:#f6f8fc!important;border:1px solid #e8edf5!important;border-radius:13px!important;padding:9px 10px!important}.streaming-side-stats small{color:#667085!important;font-size:9px!important}.streaming-side-stats b{font-size:17px!important;color:#111827!important}
.streaming-side-actions{grid-template-columns:repeat(3,1fr)!important;gap:6px!important;margin-top:10px!important}.profile-ghost-btn{min-height:42px!important;padding:8px 6px!important;border-radius:12px!important;background:#f7f9fc!important;color:#344054!important;border:1px solid #e4e9f2!important;font-size:11px!important}.profile-ghost-btn.active{background:#eff6ff!important;color:#155eef!important;border-color:#bfdbfe!important}

/* App Store style stats row */
.streaming-overview-bar{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:0!important;padding:0 24px!important;background:#fff!important;border-bottom:1px solid #e8edf5!important}
.streaming-overview-stat{box-shadow:none!important;border:0!important;border-right:1px solid #e8edf5!important;border-radius:0!important;padding:17px 14px!important;text-align:center!important;background:#fff!important}.streaming-overview-stat:last-child{border-right:0!important}.streaming-overview-stat small{font-size:9px!important}.streaming-overview-stat strong{font-size:18px!important;margin-top:3px!important}.streaming-overview-stat span{font-size:11px!important;margin-top:3px!important}

.streaming-tabs-row{padding:14px 24px 12px!important;background:#fff!important;border-bottom:1px solid #e8edf5!important;gap:7px!important}.profile-tab-btn{padding:9px 13px!important;border-radius:999px!important;font-size:12px!important;background:#f4f6fa!important;border-color:#e7ebf2!important}.profile-tab-btn.active{background:#111827!important;color:#fff!important;border-color:#111827!important}
.profile-tab-panel{padding:20px 24px 0!important}.profile-content-grid{grid-template-columns:minmax(0,1.45fr) 280px!important;gap:14px!important}.profile-main-stack,.profile-side-stack{gap:14px!important}
.profile-section-card{border-radius:19px!important;padding:18px!important;box-shadow:0 8px 24px rgba(15,23,42,.045)!important;border-color:#e7ecf4!important}.profile-section-head h3{font-size:18px!important}.profile-section-card p{font-size:13px!important;line-height:1.6!important}
.profile-highlight-card{min-height:150px!important;border-radius:19px!important;padding:17px!important;box-shadow:none!important}.profile-highlight-card strong{font-size:19px!important}.profile-highlight-card p{font-size:12px!important}.profile-highlight-card.basic{background:linear-gradient(145deg,#eef4ff,#dbeafe)!important;color:#153e75!important}.profile-highlight-card.basic small,.profile-highlight-card.basic p{color:#385b89!important}
.profile-highlight-card.featured{background:linear-gradient(145deg,#155eef,#4f8cff)!important}.profile-highlight-card.premium{background:linear-gradient(145deg,#111827,#7c5b16)!important}
.profile-reels-grid{gap:10px!important}.profile-reel-card{border-radius:16px!important}.profile-reel-thumb{aspect-ratio:4/5!important}.profile-reel-body{padding:11px 12px 13px!important}.profile-reel-body strong{font-size:14px!important}.profile-reel-body p{font-size:12px!important;min-height:32px!important;margin:6px 0 8px!important}.profile-reel-meta{font-size:11px!important;gap:8px!important}
.profile-gallery-grid{gap:10px!important}.profile-gallery-item img{border-radius:15px!important;box-shadow:none!important}
.profile-info-item{border-radius:14px!important;padding:12px!important}.profile-info-item strong{font-size:14px!important}.profile-quick-links a,.profile-quick-links button{border-radius:12px!important;padding:11px 12px!important;font-size:12px!important}

@media(max-width:900px){
  #profileModal .modal{width:min(96vw,820px)!important}
  .streaming-profile-hero-inner{grid-template-columns:1fr!important;padding:26px!important}
  .streaming-profile-sidecard{display:none!important}
  .streaming-profile-copy h2{font-size:38px!important}
  .streaming-overview-bar{grid-template-columns:repeat(5,1fr)!important;overflow-x:auto!important;padding:0!important}
  .streaming-overview-stat{min-width:130px!important}
  .profile-content-grid{grid-template-columns:1fr!important}.profile-side-stack{grid-template-columns:repeat(2,1fr)!important}
}
@media(max-width:620px){
  #profileModal{align-items:flex-end!important}
  #profileModal .modal{width:100%!important;max-height:96dvh!important;border-radius:24px 24px 0 0!important}
  .streaming-profile-hero{min-height:390px!important;background-position:center!important}
  .streaming-profile-hero:before{background:linear-gradient(180deg,rgba(7,14,28,.18) 0%,rgba(7,14,28,.40) 42%,rgba(7,14,28,.92) 100%)!important}
  .streaming-profile-hero-inner{padding:22px 18px 20px!important;min-height:390px!important;align-content:end!important}
  .streaming-app-badge{display:none!important}.streaming-profile-copy h2{font-size:30px!important}.streaming-verified{display:inline-flex!important;margin:7px 0 0!important}
  .streaming-description{font-size:13px!important;max-width:none!important}
  .streaming-cta-row{display:flex!important;overflow-x:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}.streaming-cta-row .btn{flex:0 0 auto!important;width:auto!important}
  .streaming-overview-bar{padding:0!important}.streaming-overview-stat{min-width:118px!important;padding:14px 10px!important}
  .streaming-tabs-row{padding:12px 14px 10px!important}.profile-tab-panel{padding:14px 14px 0!important}.profile-side-stack{grid-template-columns:1fr!important}
  .profile-reels-grid,.profile-reels-grid.wide{grid-template-columns:repeat(2,minmax(0,1fr))!important}.profile-reel-thumb{aspect-ratio:3/4!important}.profile-reel-body p{display:none!important}
  .profile-gallery-grid{grid-template-columns:repeat(2,1fr)!important}.profile-info-grid{grid-template-columns:1fr!important}
}
