*{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent;}
:root{--bg:#0D0D0D;--s1:#181818;--s2:#1e1e1e;--s3:#2a2a2a;--gold:#F5C842;--gold2:#C8961A;--red:#E63946;--green:#2DC653;--blue:#378ADD;--txt:#F0EDE8;--mute:#888;--brd:#2e2e2e;--fh:'Syne',sans-serif;--fb:'Nunito',sans-serif;}
/* ── TEMA CLARO — se activa con body.theme-light (Ajustes → Apariencia).
   La app pinta casi todo con las variables de arriba, así que basta con
   re-mapearlas. El live/cámara usa negros fijos a propósito: el video en
   vivo SIEMPRE se ve en oscuro, en cualquier tema. ─────────────────────── */
/* Paleta ÁMBAR (2026-08-21): la del logo nuevo — negro · ámbar · blanco. El ámbar
   sustituye al rojo como acento (botones, pestañas, marca). Es el tema por DEFECTO. */
body.theme-light{--bg:#FFFFFF;--s1:#FFFFFF;--s2:#FFFFFF;--s3:#FFF1CC;--gold:#F0A500;--gold2:#8A5A00;--red:#E69500;--txt:#141414;--mute:#6b665c;--brd:#EADFC4;}
body.theme-light .app{background:var(--bg);}
body.theme-light img[src*="logo"]{filter:none;}
/* ── TEMA CLARO: normalizar superficies oscuras FIJAS (fuera del live) ──────
   Muchos modales/inputs traen background:#111/#1e1e1e/… escrito en línea
   (anterior a las variables): en claro quedaban cajas negras o texto blanco
   ilegible. Se corrigen por selector de atributo. El LIVE se EXCLUYE SIEMPRE
   (cam-modal del vendedor, s-live del comprador, fondo de video): el video en
   vivo se ve en oscuro en cualquier tema. */
/* OJO: cada valor va en DOS formas — la literal del HTML ("background:#111") y
   la SERIALIZADA que deja el navegador cuando el JS toca el.style
   ("background: rgb(17, 17, 17)"). Sin la segunda, cualquier elemento que el
   JS hubiera tocado (display, borderColor…) se escapaba de estas reglas. */
body.theme-light [style*="background:#111"]:not(#cam-modal *):not(#s-live *),
body.theme-light [style*="background: rgb(17, 17, 17)"]:not(#cam-modal *):not(#s-live *),
body.theme-light [style*="background:#1e1e1e"]:not(#cam-modal *):not(#s-live *),
body.theme-light [style*="background: rgb(30, 30, 30)"]:not(#cam-modal *):not(#s-live *),
body.theme-light [style*="background:#1a1a1a"]:not(#cam-modal *):not(#s-live *),
body.theme-light [style*="background: rgb(26, 26, 26)"]:not(#cam-modal *):not(#s-live *),
body.theme-light [style*="background:#151515"]:not(#cam-modal *):not(#s-live *),
body.theme-light [style*="background: rgb(21, 21, 21)"]:not(#cam-modal *):not(#s-live *),
body.theme-light [style*="background:#222"]:not(#cam-modal *):not(#s-live *),
body.theme-light [style*="background: rgb(34, 34, 34)"]:not(#cam-modal *):not(#s-live *){background:var(--s3)!important;}
body.theme-light [style*="background:#0d0d0d"]:not(#cam-modal *):not(#s-live *),
body.theme-light [style*="background: rgb(13, 13, 13)"]:not(#cam-modal *):not(#s-live *),
body.theme-light [style*="background:#0a0a0a"]:not(#cam-modal *):not(#s-live *),
body.theme-light [style*="background: rgb(10, 10, 10)"]:not(#cam-modal *):not(#s-live *),
body.theme-light [style*="background:#000"]:not(#cam-modal *):not(#s-live *):not(#live-video-bg),
body.theme-light [style*="background: rgb(0, 0, 0)"]:not(#cam-modal *):not(#s-live *):not(#live-video-bg){background:var(--s2)!important;}
/* Texto blanco fijo → tinta, EXCEPTO sobre fondos de color/imagen (botón rojo,
   dorado, morados, degradados, rgba) donde el blanco es lo correcto. Dentro
   del live no se toca nada. */
body.theme-light [style*="color:#fff"]:not(#cam-modal *):not(#s-live *):not([style*="background:var(--red)"]):not([style*="background: var(--red)"]):not([style*="background:var(--gold)"]):not([style*="background: var(--gold)"]):not([style*="background:rgba"]):not([style*="background: rgba"]):not([style*="background:linear-gradient"]):not([style*="background: linear-gradient"]):not([style*="background-image"]):not([style*="background:#7c5cff"]):not([style*="background: rgb(124, 92, 255)"]):not([style*="background:#6366f1"]):not([style*="background: rgb(99, 102, 241)"]):not([style*="background:#635bff"]):not([style*="background: rgb(99, 91, 255)"]),
body.theme-light [style*="color: rgb(255, 255, 255)"]:not(#cam-modal *):not(#s-live *):not([style*="background:var(--red)"]):not([style*="background: var(--red)"]):not([style*="background:var(--gold)"]):not([style*="background: var(--gold)"]):not([style*="background:rgba"]):not([style*="background: rgba"]):not([style*="background:linear-gradient"]):not([style*="background: linear-gradient"]):not([style*="background-image"]):not([style*="background:#7c5cff"]):not([style*="background: rgb(124, 92, 255)"]):not([style*="background:#6366f1"]):not([style*="background: rgb(99, 102, 241)"]):not([style*="background:#635bff"]):not([style*="background: rgb(99, 91, 255)"]){color:var(--txt)!important;}
/* Blanco TRANSLÚCIDO (rgba 255,255,255,.x — texto secundario sobre oscuro) →
   gris tinta. Mismas exclusiones: live y fondos de color/imagen. */
body.theme-light [style*="color:rgba(255,255,255"]:not(#cam-modal *):not(#s-live *):not([style*="background:var(--red)"]):not([style*="background: var(--red)"]):not([style*="background:var(--gold)"]):not([style*="background: var(--gold)"]):not([style*="background:rgba"]):not([style*="background: rgba"]):not([style*="background:linear-gradient"]):not([style*="background: linear-gradient"]):not([style*="background-image"]),
body.theme-light [style*="color: rgba(255, 255, 255"]:not(#cam-modal *):not(#s-live *):not([style*="background:var(--red)"]):not([style*="background: var(--red)"]):not([style*="background:var(--gold)"]):not([style*="background: var(--gold)"]):not([style*="background:rgba"]):not([style*="background: rgba"]):not([style*="background:linear-gradient"]):not([style*="background: linear-gradient"]):not([style*="background-image"]){color:var(--mute)!important;}
html,body{height:100%!important;height:100dvh!important;margin:0!important;padding:0!important;overflow:hidden!important;overscroll-behavior:none!important;width:100%!important;}
body{color:var(--txt);font-family:var(--fb);font-size:14px;background:var(--bg)!important;display:block!important;}
.app{width:100%!important;max-width:100%!important;left:0!important;right:0!important;transform:none!important;background:var(--bg);height:100vh;height:100dvh;position:relative;overflow:visible;}
@media(min-width:600px){body{background:radial-gradient(ellipse at 30% 50%,#1a0a0a 0%,#0a0a0a 60%,#000 100%)!important;display:flex!important;justify-content:center!important;align-items:flex-start!important;}.app{max-width:430px!important;width:430px!important;box-shadow:0 0 60px rgba(230,57,70,.15),0 0 120px rgba(0,0,0,.8)!important;}
body.theme-light{background:radial-gradient(ellipse at 30% 50%,#efe9dd 0%,#e7e2d6 60%,#ddd7c9 100%)!important;}
body.theme-light .app{box-shadow:0 0 40px rgba(0,0,0,.18)!important;}}
.scr{display:none;} .scr.on{display:block;width:100%;height:100vh;height:100dvh;overflow-y:scroll;overflow-x:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;scrollbar-width:none;} .scr.on::-webkit-scrollbar{display:none;} .bnav-spacer{height:76px;min-height:76px;display:block;width:100%;}
#s-dm-thread.on{display:flex!important;flex-direction:column;overflow-y:hidden;}
*{scrollbar-width:none;-ms-overflow-style:none;}*::-webkit-scrollbar{display:none!important;width:0!important;height:0!important;}

/* base */
input,select,textarea{background:var(--s2);border:1.5px solid var(--brd);border-radius:10px;color:var(--txt);padding:12px 14px;font-size:14px;font-family:var(--fb);width:100%;outline:none;transition:border-color .2s;}
input:focus,select:focus,textarea:focus{border-color:var(--gold);}
input::placeholder,textarea::placeholder{color:var(--mute);}
select{cursor:pointer;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23777' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:36px;}
textarea{resize:none;}
.btn-gold{background:var(--gold);color:#000;border:none;border-radius:12px;padding:15px;font-family:var(--fh);font-size:15px;font-weight:800;cursor:pointer;width:100%;position:relative;overflow:hidden;transition:transform .15s;}
.btn-gold:active{transform:scale(.97);}
.btn-gold::after{content:'';position:absolute;top:0;left:-120%;width:55%;height:100%;background:rgba(255,255,255,.2);transform:skewX(-18deg);animation:shimmer 2.5s 2s infinite;}
.btn-out{background:transparent;color:var(--gold);border:1.5px solid var(--gold);border-radius:12px;padding:14px;font-family:var(--fh);font-size:15px;font-weight:800;cursor:pointer;width:100%;}
.fg{margin-bottom:13px;}
.lbl{display:block;font-size:11px;font-weight:700;color:var(--mute);text-transform:uppercase;letter-spacing:.5px;margin-bottom:5px;}
.row2{display:flex;gap:10px;} .row2 .fg{flex:1;}
.pr{position:relative;} .pr input{padding-right:42px;}
.eye{position:absolute;right:10px;top:50%;transform:translateY(-50%);background:none;border:none;color:var(--mute);cursor:pointer;font-size:17px;padding:4px;}
.hint{font-size:11px;margin-top:4px;} .hint-ok{color:var(--green);} .hint-err{color:var(--red);} .hint-def{color:var(--mute);}
.pw-bar{height:4px;border-radius:2px;background:var(--brd);margin-top:5px;overflow:hidden;}
.pw-fill{height:100%;border-radius:2px;width:0;transition:width .3s,background .3s;}
.topbar-inner{display:flex;align-items:center;gap:10px;padding:16px 18px 14px;border-bottom:1px solid var(--brd);background:var(--bg);position:-webkit-sticky;position:sticky;top:0;z-index:20;}
/* Tarjetas desplegables de "Mis Compras". Hay que matar el triángulo nativo por
   los tres caminos: Safari usa ::-webkit-details-marker y el resto ::marker. */
.pcard summary::-webkit-details-marker{display:none;}
.pcard summary::marker{content:'';}
.pcard .pcaret{transition:transform .15s;display:inline-block;}
.pcard[open] .pcaret{transform:rotate(90deg);}
.mp-chip{flex:1;background:var(--s3);border:1px solid var(--brd);border-radius:8px;padding:7px 4px;font-size:11px;font-weight:700;color:var(--mute);cursor:pointer;font-family:inherit;white-space:nowrap;transition:background .15s,color .15s,border-color .15s;}
.mp-chip.on{background:var(--gold);border-color:var(--gold);color:#000;}
/* El <select> nativo se pierde sobre el negro: sin flecha parece campo de texto.
   Se la dibujamos (inline, para no pedir un archivo más al servidor). */
.mp-sel{width:100%;margin-top:8px;background-color:#000;border:1px solid var(--brd);color:var(--txt);border-radius:8px;padding:8px 30px 8px 9px;font-size:13px;font-family:inherit;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-repeat:no-repeat;background-position:right 10px center;background-size:11px 7px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23888' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");}
.back-btn{background:var(--s2);border:none;color:var(--txt);border-radius:8px;width:36px;height:36px;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:17px;flex-shrink:0;}
.sb{padding:18px 20px 80px;}
.pt{font-family:var(--fh);font-size:22px;font-weight:800;margin-bottom:4px;}
.ps{font-size:13px;color:var(--mute);margin-bottom:20px;}
.steps-row{display:flex;align-items:center;justify-content:center;gap:0;margin-bottom:22px;}
.step-dot{width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:800;transition:all .3s;}
.step-line{flex:1;height:2px;max-width:40px;transition:background .3s;}
.note-g{background:#0a1f0a;border:1px solid #2a5a2a;border-radius:8px;padding:9px 12px;font-size:12px;color:#5eff96;display:flex;align-items:flex-start;gap:7px;margin-bottom:12px;}
.note-i{background:#0a1a2a;border:1px solid #1a4a7a;border-radius:8px;padding:9px 12px;font-size:12px;color:#78b8ff;display:flex;align-items:flex-start;gap:7px;margin-bottom:12px;}
.note-w{background:#2a1f00;border:1px solid #5a4000;border-radius:8px;padding:9px 12px;font-size:12px;color:#ffc857;display:flex;align-items:flex-start;gap:7px;margin-bottom:12px;}
.link-t{text-align:center;font-size:12px;color:var(--mute);margin-top:14px;}
.link-t span{color:var(--gold);font-weight:700;cursor:pointer;}
.sep-row{display:flex;align-items:center;gap:8px;margin:14px 0;}
.sep-l{flex:1;height:1px;background:var(--brd);}

/* animations */
@keyframes fadeUp{from{opacity:0;transform:translateY(16px);}to{opacity:1;transform:translateY(0);}}
@keyframes fadeIn{from{opacity:0;}to{opacity:1;}}
@keyframes sheetUp{from{transform:translateY(100%);}to{transform:translateY(0);}}
@keyframes bounceIn{0%{transform:scale(.3);opacity:0;}55%{transform:scale(1.1);}75%{transform:scale(.93);}100%{transform:scale(1);opacity:1;}}
@keyframes float{0%,100%{transform:translateY(0);}50%{transform:translateY(-9px);}}
@keyframes glow{0%,100%{text-shadow:0 0 22px #F5C84244;}50%{text-shadow:0 0 48px #F5C842aa;}}
@keyframes shimmer{0%{left:-120%;}100%{left:220%;}}
@keyframes tickMove{0%{transform:translateX(0);}100%{transform:translateX(-50%);}}
@keyframes pulse{0%,100%{opacity:1;}50%{opacity:.25;}}
@keyframes liveRing{0%,100%{box-shadow:0 0 0 0 rgba(230,57,70,.5);}50%{box-shadow:0 0 0 14px rgba(230,57,70,0);}}
@keyframes checkPop{0%{transform:scale(0);}70%{transform:scale(1.2);}100%{transform:scale(1);}}

/* SPLASH */
.splash-wrap{position:relative;height:100vh;height:100dvh;overflow:hidden;}
#pc{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;}
.splash-inner{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(8px,2vh,18px);padding:clamp(16px,4vh,40px) 24px clamp(12px,3vh,30px);}
.face{font-size:0;line-height:1;text-align:center;opacity:0;animation:bounceIn .8s .25s both,float 3.5s 1.2s ease-in-out infinite;}
.brand{font-family:var(--fh);font-size:clamp(26px,7vw,38px);font-weight:800;color:var(--gold);letter-spacing:-1.5px;opacity:0;animation:fadeUp .6s .85s both,glow 2.5s 1.5s infinite;line-height:1;}
.sub-txt{font-size:clamp(9px,2vw,11px);color:var(--mute);letter-spacing:3px;text-transform:uppercase;opacity:0;animation:fadeIn .6s 1.15s both;margin-top:-4px;}
.pills-splash{display:flex;justify-content:center;flex-wrap:wrap;gap:5px;width:100%;opacity:0;animation:fadeUp .5s 1.4s both;}
.pill{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:20px;padding:4px 10px;font-size:11px;font-weight:600;color:#bbb;}
.ticker-wrap{background:rgba(230,57,70,.12);border:1px solid rgba(230,57,70,.3);border-radius:10px;padding:6px 14px;width:100%;display:flex;align-items:center;gap:8px;overflow:hidden;opacity:0;animation:fadeUp .5s 1.6s both;}
.rdot{width:7px;height:7px;border-radius:50%;background:var(--red);flex-shrink:0;animation:pulse 1s infinite;}
.ticker-track{overflow:hidden;flex:1;}
.ticker-txt{font-size:12px;font-weight:600;color:#ff7070;display:inline-block;white-space:nowrap;animation:tickMove 16s linear infinite;}
.splash-btns{width:100%;display:flex;flex-direction:column;gap:8px;opacity:0;animation:fadeUp .5s 1.9s both;}
.splash-foot{font-size:10px;color:var(--mute);text-align:center;line-height:1.5;opacity:0;animation:fadeIn .6s 2.2s both;}
@media(max-height:700px){
  .face img{width:150px!important;height:auto!important;}
  .pills-splash{display:none;}
  .ticker-wrap{padding:4px 12px;}
  .ticker-txt{font-size:11px;}
  .splash-btns .btn-gold,.splash-btns .btn-out{padding:10px!important;font-size:13px!important;}
  .splash-btns button{padding:9px!important;font-size:12px!important;}
  .splash-foot{display:none;}
  .splash-inner{gap:8px;}
}
@media(max-height:580px){
  .face img{display:none!important;}
  .ticker-wrap{display:none;}
  .splash-inner{gap:6px;}
}

/* HOME */
.home-topbar{padding:12px 14px 8px;background:var(--bg);position:-webkit-sticky;position:sticky;top:0;z-index:50;}
.top-row{display:flex;align-items:center;gap:10px;margin-bottom:10px;}
.logo-txt{font-family:var(--fh);font-size:22px;font-weight:900;color:var(--gold);letter-spacing:-1px;flex:1;}
.icon-btn{width:38px;height:38px;border-radius:50%;background:var(--s2);border:none;color:var(--txt);display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:18px;flex-shrink:0;position:relative;}
.notif-pip{position:absolute;top:2px;right:2px;width:8px;height:8px;border-radius:50%;background:var(--red);border:1.5px solid var(--bg);}
.user-av{width:38px;height:38px;border-radius:50%;background:var(--gold);display:flex;align-items:center;justify-content:center;font-family:var(--fh);font-size:13px;font-weight:800;color:#000;cursor:pointer;flex-shrink:0;border:2px solid var(--gold2);overflow:hidden;}
.search-bar{display:flex;align-items:center;gap:5px;background:var(--s2);border:1px solid var(--brd);border-radius:14px;padding:4px 8px;}
.search-bar input{background:none;border:none;color:var(--txt);font-size:11px;font-family:var(--fb);flex:1;outline:none;}
.cat-scroll{display:flex;gap:8px;overflow-x:auto;padding:10px 14px 4px;scrollbar-width:none;}
.cat-scroll::-webkit-scrollbar{display:none;}
.cat-tab{flex-shrink:0;background:var(--s2);border:1px solid var(--brd);border-radius:10px;padding:8px 0;width:78px;text-align:center;cursor:pointer;transition:all .2s;display:flex;flex-direction:column;align-items:center;gap:4px;}
.cat-tab.active{background:var(--gold);border-color:var(--gold);}
.cat-tab.active .cat-lbl{color:#000;font-weight:800;}
.cat-emoji{font-size:22px;line-height:1;}
.cat-lbl{font-size:11px;font-weight:700;color:var(--mute);}
.feed{padding:10px 14px 70px;}
.sec-title{font-family:var(--fh);font-size:18px;font-weight:900;margin:16px 0 10px;display:flex;align-items:center;justify-content:space-between;}
.sec-title span{font-size:12px;color:var(--gold);font-weight:600;font-family:var(--fb);cursor:pointer;}
/* Home tab strip - Whatnot style */
/* Tabs tipo ghost: píldoras de texto (rojo activo), sin emoji-tiles. */
.home-tabs{display:flex;gap:8px;overflow-x:auto;padding:10px 14px;scrollbar-width:none;flex-shrink:0;}
.home-tabs::-webkit-scrollbar{display:none;}
.home-tab{flex-shrink:0;border-radius:999px;cursor:pointer;padding:8px 16px;background:var(--s2);border:1px solid var(--brd);font-family:var(--fh);font-size:13px;font-weight:800;color:var(--txt);white-space:nowrap;transition:all .15s;}
.home-tab.active{background:var(--red);border-color:var(--red);color:#fff;}
/* Menú de Cuenta tipo ghost */
.acct-row{display:flex;align-items:center;gap:14px;padding:14px;border-bottom:1px solid var(--brd);cursor:pointer;font-weight:600;font-size:14px;}
.acct-row > i:first-child{font-size:19px;flex-shrink:0;}
.acct-row > span{flex:1;}
.acct-row .chev{color:var(--mute);font-size:14px;flex:none;}
/* Live grid 2-col Whatnot style */
.wn-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:0 12px 12px;}
.wn-card{border-radius:12px;overflow:hidden;cursor:pointer;background:var(--s2);}
.wn-card-seller{display:flex;align-items:center;gap:6px;padding:6px 8px;}
.wn-card-av{width:28px;height:28px;border-radius:50%;background:var(--gold);display:flex;align-items:center;justify-content:center;font-family:var(--fh);font-size:11px;font-weight:900;color:#000;flex-shrink:0;}
.wn-card-name{font-size:11px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.wn-card-thumb{width:100%;aspect-ratio:3/4;background:linear-gradient(135deg,#1a0a0a,#2a1a1a);display:flex;align-items:center;justify-content:center;position:relative;}
.wn-card-emoji{font-size:48px;filter:drop-shadow(0 4px 12px rgba(0,0,0,.6));}
.wn-live-badge{position:absolute;top:8px;left:8px;background:var(--red);color:#fff;font-size:10px;font-weight:800;padding:3px 8px;border-radius:8px;display:flex;align-items:center;gap:4px;}
.wn-live-dot{width:5px;height:5px;border-radius:50%;background:#fff;}
.wn-card-info{padding:6px 8px 8px;}
.wn-card-title{font-family:var(--fh);font-size:12px;font-weight:800;line-height:1.2;margin-bottom:2px;}
.wn-card-cat{font-size:10px;color:var(--gold);font-weight:600;}
.feat-card{border-radius:14px;overflow:hidden;margin-bottom:16px;position:relative;cursor:pointer;}
.feat-bg{width:100%;height:200px;display:flex;align-items:center;justify-content:center;font-size:56px;position:relative;}
.feat-overlay{position:absolute;bottom:0;left:0;right:0;padding:12px 14px;background:linear-gradient(transparent,rgba(0,0,0,.88));}
.live-chip{display:inline-flex;align-items:center;gap:4px;background:var(--red);color:#fff;border-radius:6px;padding:3px 8px;font-size:11px;font-weight:800;}
.ldot{width:6px;height:6px;border-radius:50%;background:#fff;animation:pulse 1s infinite;}
.ship-tag{background:#fff;color:#000;border-radius:5px;padding:3px 8px;font-size:11px;font-weight:700;position:absolute;bottom:10px;left:10px;}
.grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:6px;}
.gc{background:var(--s2);border-radius:12px;overflow:hidden;cursor:pointer;transition:transform .15s;}
.gc:active{transform:scale(.97);}
.gt{height:120px;display:flex;align-items:center;justify-content:center;font-size:36px;position:relative;}
.lc-abs{position:absolute;top:6px;left:6px;}
.lc-sm{display:inline-flex;align-items:center;gap:3px;background:rgba(230,57,70,.9);color:#fff;border-radius:6px;padding:3px 7px;font-size:10px;font-weight:800;}
.gi{padding:8px 10px 10px;}
.gs{display:flex;align-items:center;gap:5px;margin-bottom:3px;}
.gav{width:20px;height:20px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:8px;font-weight:800;color:#000;flex-shrink:0;}
.gsn{font-size:12px;font-weight:700;color:var(--mute);}
.gtitle{font-size:13px;font-weight:700;line-height:1.3;margin-bottom:2px;}
.gcat{font-size:11px;color:var(--gold);font-weight:600;}
.bnav{display:flex;justify-content:space-around;padding:8px 0 16px;border-top:1px solid var(--brd);background:var(--bg);position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:430px;z-index:50;}

/* ── Responsive: desktop centra la app ── */
@media(min-width:800px){
  body{ background:#111; display:flex; justify-content:center; align-items:flex-start; height:100dvh; overflow:hidden; }
  .app{ max-width:430px; width:100%; box-shadow:0 0 40px rgba(0,0,0,.8); }
}

.bn{display:flex;flex-direction:column;align-items:center;gap:3px;cursor:pointer;opacity:.4;font-size:10px;font-weight:700;letter-spacing:.2px;text-transform:uppercase;transition:opacity .2s;flex:1;}
.bn.on{opacity:1;color:var(--gold);}
.bn i{font-size:22px;}
.bn-sell-btn{width:46px;height:46px;border-radius:50%;background:var(--gold);border:none;display:flex;align-items:center;justify-content:center;cursor:pointer;margin-top:-16px;box-shadow:0 4px 16px rgba(245,200,66,.4);}

/* LIVE SCREEN */
.live-screen{background:var(--bg);}

/* SELLER DASH */
.sdash{background:var(--bg);}
.live-ring-anim{animation:liveRing 1.5s ease-in-out infinite;}
.toggle-live{width:100%;padding:15px;border:none;border-radius:12px;font-family:var(--fh);font-size:16px;font-weight:800;cursor:pointer;transition:all .3s;display:flex;align-items:center;justify-content:center;gap:8px;}
.tl-start{background:var(--red);color:#fff;}
.tl-stop{background:var(--s3);border:1px solid var(--brd);color:var(--txt);}

/* Camera modal */
.cam-modal{position:fixed;top:0;left:0;right:0;bottom:0;width:100%!important;height:100%!important;height:100dvh!important;background:#000;z-index:2000;display:none;flex-direction:column;overflow:hidden;overscroll-behavior:none;touch-action:none;}
.cam-modal.show{display:flex;}
.cam-video{width:100%;height:100%;object-fit:cover;background:#000;}
.cam-controls{padding:16px 20px 30px;background:var(--bg);display:flex;align-items:center;justify-content:space-between;gap:12px;}
.cam-live-badge{display:inline-flex;align-items:center;gap:6px;background:var(--red);color:#fff;border-radius:8px;padding:6px 14px;font-family:var(--fh);font-size:14px;font-weight:800;}
.cam-viewer-count{font-family:var(--fh);font-size:18px;font-weight:800;color:#fff;}
.cam-stop-btn{background:rgba(230,57,70,.2);border:1px solid var(--red);border-radius:10px;padding:10px 20px;font-family:var(--fh);font-size:14px;font-weight:800;color:var(--red);cursor:pointer;}
.cam-chat{position:absolute;bottom:110px;left:0;right:0;padding:10px 14px;max-height:160px;overflow-y:auto;scrollbar-width:none;pointer-events:none;}
.cam-chat-msg{font-size:12px;line-height:1.5;margin-bottom:4px;text-shadow:0 1px 4px rgba(0,0,0,.9);}
.cam-info-overlay{position:absolute;top:0;left:0;right:0;padding:14px;display:flex;align-items:flex-start;justify-content:space-between;}

@keyframes floatLeft{
  0%{transform:translateX(0) rotate(0deg);}
  100%{transform:translateX(-120vw) rotate(-15deg);}
}

/* == Fila social del splash (antes bloque <style> inline en el splash) == */
/* Fila social del splash: Contáctanos + Instagram (elegante y dinámico). */
.splash-social{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:12px}
.splash-social .contact{font-size:12px;color:var(--mute);cursor:pointer;transition:color .2s}
.splash-social .contact:hover{color:var(--gold)}
.ig-btn{position:relative;width:38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;
text-decoration:none;flex-shrink:0;
background:radial-gradient(circle at 30% 107%,#fdf497 0%,#fdf497 5%,#fd5949 45%,#d6249f 60%,#285AEB 90%);
box-shadow:0 4px 16px rgba(214,36,159,.45);
animation:igFloat 3.2s ease-in-out infinite;
transition:transform .28s cubic-bezier(.34,1.56,.64,1),box-shadow .28s ease}
.ig-btn svg{width:20px;height:20px;position:relative;z-index:1}
.ig-btn::after{content:"";position:absolute;inset:0;border-radius:50%;
background:inherit;filter:blur(9px);opacity:.55;z-index:0;
animation:igPulse 3.2s ease-in-out infinite}
.ig-btn:hover,.ig-btn:active{transform:scale(1.14) rotate(-5deg);box-shadow:0 8px 26px rgba(214,36,159,.75)}
@keyframes igFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@keyframes igPulse{0%,100%{opacity:.4;transform:scale(1)}50%{opacity:.7;transform:scale(1.18)}}

/* ── Portada: solo el logo (el logo nuevo ya dice E!); nada de texto debajo ── */
#s-splash .brand,#s-splash .sub-txt{display:none!important;}
/* Botones/insignias de acento en tema claro: ámbar con letra NEGRA (blanco sobre ámbar no se lee) */
body.theme-light [style*="background:var(--red)"]:not(#cam-modal *):not(#s-live *),body.theme-light [style*="background: var(--red)"]:not(#cam-modal *):not(#s-live *),
body.theme-light [style*="background:var(--gold)"]:not(#cam-modal *):not(#s-live *),body.theme-light [style*="background: var(--gold)"]:not(#cam-modal *):not(#s-live *){color:#111!important;}
body.theme-light .face img{filter:drop-shadow(0 12px 28px rgba(0,0,0,.16));}

/* ── Portada en tema claro: el splash traía negro fijo y partículas de colores; en claro
   va blanco limpio con el logo completo (mismo look aprobado en la maqueta v2). ── */
body.theme-light #s-splash,body.theme-light .splash-wrap,body.theme-light .splash-inner{background:#FFFFFF!important;}
body.theme-light #pc{display:none!important;}
body.theme-light .splash-btns .btn-out{color:#141414!important;border-color:#EADFC4!important;}
body.theme-light .splash-foot,body.theme-light .splash-social .contact{color:#6b665c!important;}
