:root {
  --bg: #0a0a0c;
  --bg2: #101014;
  --card: #15151a;
  --card2: #1c1c23;
  --line: #26262f;
  --txt: #f4f2ef;
  --muted: #9a98a3;
  --dim: #6c6a75;
  --acc1: #ff4466;
  --acc2: #d3123a;
  --grad: linear-gradient(135deg, var(--acc1), var(--acc2));
  --ok: #3ddc97;
  --gold: #ffc65c;
  --r: 14px;
  --side: 248px;
  --top: 64px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--txt);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif; font-size: 15px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
img { display: block; max-width: 100%; }
svg.i { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.grad-txt { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hidden { display: none !important; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 11px; font-weight: 700; font-size: 14px; transition: .2s; white-space: nowrap; }
.btn-acc { background: var(--grad); color: #fff; box-shadow: 0 6px 24px -8px var(--acc2); }
.btn-acc:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -8px var(--acc2); }
.btn-ghost { background: var(--card2); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: #3a3a46; background: #22222b; }
.btn-ok { background: var(--ok); color: #06150e; }
.btn-danger { background: #2a1418; color: #ff8091; border: 1px solid #4a1f27; }
.btn-lg { padding: 14px 24px; font-size: 15px; border-radius: 13px; }
.btn-block { width: 100%; }
.btn-sm { padding: 7px 12px; font-size: 13px; border-radius: 9px; }

/* ---------- Barra superior ---------- */
.top { position: fixed; inset: 0 0 auto 0; height: var(--top); z-index: 50; display: flex; align-items: center; gap: 16px; padding: 0 20px; background: rgba(10,10,12,.82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.3px; }
.logo-mark { width: 32px; height: 32px; border-radius: 10px; background: var(--grad); display: grid; place-items: center; box-shadow: 0 4px 18px -6px var(--acc2); }
.logo-mark svg { width: 14px; height: 14px; fill: #fff; stroke: none; margin-left: 2px; }
.menu-btn { display: none; padding: 8px; border-radius: 10px; }
.search { flex: 1; max-width: 460px; position: relative; margin-left: 18px; }
.search input { width: 100%; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px 10px 40px; outline: none; transition: .2s; }
.search input:focus { border-color: var(--acc1); box-shadow: 0 0 0 3px rgba(255,68,102,.15); }
.search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--dim); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 9px; color: var(--muted); font-weight: 600; font-size: 14px; }
.nav a:hover, .nav a.on { color: var(--txt); background: var(--card); }
.top-actions { display: flex; align-items: center; gap: 10px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-weight: 800; font-size: 14px; position: relative; }
.avatar .crown { position: absolute; right: -4px; top: -6px; font-size: 13px; }

/* ---------- Banner promo ---------- */
.promo { margin-top: var(--top); background: linear-gradient(90deg, #2c0710, #23060f 60%, #150609); border-bottom: 1px solid #3a1a1f; padding: 10px 20px; display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; font-size: 14px; position: relative; z-index: 2; }
.promo b { color: var(--gold); }
.timer { display: flex; gap: 5px; font-variant-numeric: tabular-nums; }
.timer span { background: rgba(0,0,0,.45); border: 1px solid #4a2525; border-radius: 7px; padding: 2px 8px; font-weight: 800; font-size: 13px; }
.promo .x { position: absolute; right: 12px; color: var(--muted); padding: 4px; }

/* ---------- Layout ---------- */
.layout { display: flex; }
.side { position: sticky; top: var(--top); height: calc(100vh - var(--top)); width: var(--side); flex: none; overflow-y: auto; padding: 18px 14px 40px; border-right: 1px solid var(--line); background: var(--bg); scrollbar-width: thin; }
.side h6 { font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--dim); margin: 18px 10px 8px; font-weight: 700; }
.side a { display: flex; align-items: center; gap: 11px; padding: 9px 11px; border-radius: 10px; color: var(--muted); font-weight: 600; font-size: 14px; transition: .15s; }
.side a:hover { background: var(--card); color: var(--txt); }
.side a.on { background: var(--card2); color: var(--txt); box-shadow: inset 3px 0 0 var(--acc1); }
.side a .n { margin-left: auto; font-size: 12px; color: var(--dim); }
.side-cta { margin: 20px 4px 0; padding: 16px; border-radius: var(--r); background: linear-gradient(160deg, #2a0b13, #16080c); border: 1px solid #3d1620; }
.side-cta p { font-size: 13px; color: var(--muted); margin: 6px 0 12px; }
.main { flex: 1; min-width: 0; padding: 26px 28px 60px; }
.scrim { display: none; }

/* ---------- Encabezados ---------- */
.eyebrow { font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--acc1); font-weight: 800; }
.h1 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -1px; line-height: 1.15; margin: 6px 0 10px; }
.h2 { font-size: 22px; font-weight: 800; letter-spacing: -.4px; }
.lead { color: var(--muted); max-width: 720px; }

/* ---------- Hero ---------- */
.hero { position: relative; border-radius: 22px; overflow: hidden; padding: 38px; margin-bottom: 30px; background: radial-gradient(120% 140% at 100% 0%, rgba(255,77,109,.28), transparent 55%), radial-gradient(90% 120% at 0% 100%, rgba(255,68,102,.22), transparent 50%), var(--bg2); border: 1px solid var(--line); }
.hero-row { display: flex; gap: 30px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.stats { display: flex; gap: 26px; margin-top: 22px; flex-wrap: wrap; }
.stats div b { display: block; font-size: 22px; font-weight: 800; }
.stats div span { font-size: 12px; color: var(--muted); }
.trust { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.trust span { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); background: rgba(255,255,255,.04); border: 1px solid var(--line); padding: 6px 11px; border-radius: 99px; }
.trust svg { width: 15px; height: 15px; color: var(--ok); }

/* ---------- Filtros ---------- */
.toolbar { display: flex; align-items: center; gap: 10px; margin: 6px 0 18px; flex-wrap: wrap; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 8px 14px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); font-weight: 600; font-size: 13px; color: var(--muted); transition: .15s; }
.chip:hover { color: var(--txt); }
.chip.on { background: var(--txt); color: #111; border-color: var(--txt); }
select.sel { margin-left: auto; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; outline: none; }

/* ---------- Tarjetas de video ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px 18px; }
.vc { display: block; cursor: pointer; }
.thumb { position: relative; aspect-ratio: 16/9; border-radius: 13px; overflow: hidden; background: var(--card2); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, filter .3s; }
.vc:hover .thumb img { transform: scale(1.06); }
.thumb.locked img { filter: blur(10px) brightness(.6); transform: scale(1.12); }
.vc:hover .thumb.locked img { filter: blur(7px) brightness(.7); }
.thumb .lock { position: absolute; inset: 0; display: grid; place-items: center; }
.thumb .lock div { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; }
.thumb .lock i { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(6px); }
.badge { position: absolute; top: 9px; left: 9px; font-size: 10.5px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; padding: 4px 8px; border-radius: 7px; display: inline-flex; align-items: center; gap: 5px; }
.b-premium { background: var(--grad); color: #fff; }
.b-gratis { background: rgba(61,220,151,.92); color: #04150d; }
.b-miembros { background: rgba(255,255,255,.92); color: #111; }
.b-tg { position: absolute; top: 9px; right: 9px; width: 26px; height: 26px; border-radius: 8px; background: #229ED9; display: grid; place-items: center; }
.b-tg svg { width: 14px; height: 14px; color: #fff; }
.meta-ov { position: absolute; bottom: 8px; left: 8px; right: 8px; display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; }
.meta-ov span { background: rgba(0,0,0,.72); padding: 2px 7px; border-radius: 6px; display: inline-flex; gap: 4px; align-items: center; }
.meta-ov svg { width: 13px; height: 13px; }
.thumb .bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--grad); transition: width 1.6s linear; }
.vc:hover .thumb:not(.locked) .bar { width: 100%; }
.vc h4 { font-size: 14.5px; font-weight: 700; margin: 10px 2px 2px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vc small { color: var(--dim); font-size: 12.5px; margin-left: 2px; }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--r); }

.pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 34px; }
.pager button { min-width: 38px; height: 38px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); font-weight: 700; }
.pager button.on { background: var(--grad); border-color: transparent; }
.pager button:disabled { opacity: .4; cursor: default; }

/* ---------- Página de video ---------- */
.watch { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; }
.player { position: relative; aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; background: #000; }
.player video, .player > img { width: 100%; height: 100%; object-fit: cover; }
.player.locked > img { filter: blur(22px) brightness(.45); transform: scale(1.15); }
.paywall { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; }
.paywall-box { max-width: 420px; }
.paywall-box .ic { width: 64px; height: 64px; border-radius: 20px; margin: 0 auto 14px; display: grid; place-items: center; background: var(--grad); box-shadow: 0 10px 40px -10px var(--acc2); }
.paywall-box .ic svg { width: 28px; height: 28px; color: #fff; }
.paywall-box h3 { font-size: 22px; font-weight: 800; }
.paywall-box p { color: #c9c6cf; font-size: 14px; margin: 6px 0 18px; }
.paywall-box .row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.w-title { font-size: 22px; font-weight: 800; margin: 16px 0 8px; letter-spacing: -.3px; }
.w-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.w-bar .info { color: var(--muted); font-size: 13.5px; margin-right: auto; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); font-weight: 700; font-size: 13px; transition: .15s; }
.pill:hover { border-color: #3a3a46; }
.pill.on { color: var(--acc2); border-color: rgba(255,77,109,.4); background: rgba(255,77,109,.08); }
.pill.on svg { fill: currentColor; }
.creator { display: flex; gap: 12px; align-items: center; padding: 16px 0; }
.creator .avatar { width: 46px; height: 46px; font-size: 17px; }
.creator b { display: block; }
.creator small { color: var(--muted); }
.creator .btn { margin-left: auto; }
.side-list { display: flex; flex-direction: column; gap: 14px; }
.side-list .vc { display: grid; grid-template-columns: 150px 1fr; gap: 11px; }
.side-list .vc h4 { margin-top: 0; font-size: 13.5px; }
.side-list .thumb { border-radius: 10px; }
.side-list .badge { font-size: 9px; padding: 3px 6px; top: 6px; left: 6px; }

/* ---------- Precios ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin: 26px 0 40px; }
.plan { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; transition: .25s; }
.plan:hover { transform: translateY(-4px); border-color: #3a3a46; }
.plan.pop { background: linear-gradient(var(--card), var(--card)) padding-box, var(--grad) border-box; border: 1.5px solid transparent; box-shadow: 0 20px 60px -30px var(--acc2); }
.plan .tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--grad); font-size: 11px; font-weight: 800; letter-spacing: .8px; padding: 4px 12px; border-radius: 99px; text-transform: uppercase; }
.plan h3 { font-size: 18px; font-weight: 800; }
.plan .was { color: var(--dim); font-size: 14px; margin-top: 14px; }
.plan .was s { margin-right: 6px; }
.plan .was b { color: var(--acc2); }
.plan .price { font-size: 46px; font-weight: 800; letter-spacing: -2px; line-height: 1.05; }
.plan .price small { font-size: 15px; letter-spacing: 0; color: var(--muted); font-weight: 600; margin-left: 4px; }
.plan .pm { color: var(--muted); font-size: 13.5px; }
.plan .save { display: inline-block; margin: 12px 0 16px; font-size: 12.5px; font-weight: 700; color: var(--ok); background: rgba(61,220,151,.1); padding: 4px 10px; border-radius: 8px; align-self: flex-start; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-bottom: 22px; flex: 1; }
.plan li { display: flex; gap: 9px; font-size: 14px; color: #d6d3dc; }
.plan li svg { color: var(--ok); width: 17px; height: 17px; margin-top: 2px; }
.pay-logos { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 4px 0 40px; }
.pay-logos span { display: inline-flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); padding: 9px 14px; border-radius: 11px; font-size: 13px; font-weight: 700; color: var(--muted); }
.perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-bottom: 40px; }
.perk { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.perk .ic { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,68,102,.12); color: var(--acc1); display: grid; place-items: center; margin-bottom: 12px; }
.perk b { display: block; margin-bottom: 4px; }
.perk p { color: var(--muted); font-size: 13.5px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 13px; padding: 4px 18px; }
.faq summary { list-style: none; cursor: pointer; padding: 14px 0; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--acc1); transition: .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 16px; font-size: 14.5px; }

/* ---------- Formularios ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13px; font-weight: 700; color: #cfccd6; }
.inp { background: var(--bg2); border: 1px solid var(--line); border-radius: 11px; padding: 11px 13px; outline: none; width: 100%; transition: .2s; }
.inp:focus { border-color: var(--acc1); box-shadow: 0 0 0 3px rgba(255,68,102,.13); }
textarea.inp { resize: vertical; min-height: 84px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: #cfccd6; margin-bottom: 10px; cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--acc1); width: 16px; height: 16px; flex: none; }
.drop { border: 2px dashed #34343f; border-radius: 16px; padding: 36px 20px; text-align: center; transition: .2s; cursor: pointer; background: var(--bg2); }
.drop:hover, .drop.over { border-color: var(--acc1); background: rgba(255,68,102,.05); }
.drop .ic { width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 12px; background: var(--card2); display: grid; place-items: center; color: var(--acc1); }
.drop small { color: var(--dim); }
.progress { height: 8px; background: var(--card2); border-radius: 99px; overflow: hidden; margin: 12px 0 6px; }
.progress div { height: 100%; width: 0; background: var(--grad); transition: width .2s; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.two { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; align-items: start; }
.note { display: flex; gap: 10px; padding: 13px 15px; border-radius: 12px; background: rgba(255,198,92,.07); border: 1px solid rgba(255,198,92,.2); color: #e8d9b8; font-size: 13.5px; }
.note svg { color: var(--gold); margin-top: 1px; }

/* ---------- Modales ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(4,4,6,.72); backdrop-filter: blur(10px); animation: fade .2s; }
.box { width: 100%; max-width: 440px; max-height: calc(100vh - 32px); overflow-y: auto; background: linear-gradient(180deg, #19191f, #121216); border: 1px solid #2c2c36; border-radius: 22px; padding: 26px; position: relative; animation: pop .25s cubic-bezier(.2,.9,.3,1.2); box-shadow: 0 30px 80px -20px #000; }
.box.wide { max-width: 560px; }
.box .close { position: absolute; top: 14px; right: 14px; padding: 6px; border-radius: 9px; color: var(--muted); }
.box .close:hover { background: var(--card2); color: var(--txt); }
.box h3 { font-size: 22px; font-weight: 800; letter-spacing: -.3px; }
.box .sub { color: var(--muted); font-size: 14px; margin: 4px 0 18px; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.94) translateY(10px); } }
.age { text-align: center; }
.age-badge { width: 120px; height: 120px; margin: 6px auto 18px; border-radius: 32px; display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, #3a1019, #1a080c); border: 1px solid #4a1823; font-size: 46px; font-weight: 800; position: relative; box-shadow: 0 20px 60px -20px var(--acc2), inset 0 1px 0 rgba(255,255,255,.08); transform: rotate(-6deg); }
.age-badge sup { font-size: 22px; color: var(--acc1); }
.age-badge small { position: absolute; bottom: 18px; font-size: 8px; letter-spacing: 1.5px; color: var(--muted); }
.methods { display: grid; gap: 9px; }
.method { display: flex; align-items: center; gap: 13px; padding: 13px 14px; border-radius: 13px; background: var(--bg2); border: 1px solid var(--line); text-align: left; transition: .15s; width: 100%; }
.method:hover { border-color: var(--acc1); background: rgba(255,68,102,.05); }
.method .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--card2); display: grid; place-items: center; color: var(--acc1); flex: none; }
.method b { display: block; font-size: 14.5px; }
.method small { color: var(--muted); font-size: 12.5px; }
.method > svg:last-child { margin-left: auto; color: var(--dim); }
.summary { display: flex; justify-content: space-between; align-items: center; padding: 13px 15px; border-radius: 13px; background: var(--bg2); border: 1px solid var(--line); margin-bottom: 16px; }
.summary b { font-size: 20px; }
.steps { counter-reset: s; list-style: none; display: flex; flex-direction: column; gap: 9px; margin: 14px 0; }
.steps li { counter-increment: s; display: flex; gap: 11px; font-size: 14px; color: #d6d3dc; }
.steps li::before { content: counter(s); width: 24px; height: 24px; border-radius: 50%; background: var(--card2); border: 1px solid var(--line); display: grid; place-items: center; font-size: 12px; font-weight: 800; flex: none; color: var(--acc1); }
.qr { width: 170px; height: 170px; margin: 6px auto 12px; border-radius: 14px; background: #fff; padding: 12px; }
.copy { display: flex; gap: 8px; align-items: center; background: var(--bg2); border: 1px solid var(--line); border-radius: 11px; padding: 9px 9px 9px 13px; font-size: 13px; font-family: ui-monospace, monospace; word-break: break-all; }
.copy span { flex: 1; }
.success { text-align: center; padding: 10px 0; }
.success .ic { width: 70px; height: 70px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; background: rgba(61,220,151,.12); color: var(--ok); }
.success .ic svg { width: 32px; height: 32px; }
.tabs-m { display: flex; background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 4px; margin-bottom: 18px; }
.tabs-m button { flex: 1; padding: 9px; border-radius: 9px; font-weight: 700; font-size: 14px; color: var(--muted); }
.tabs-m button.on { background: var(--card2); color: var(--txt); }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(20px); opacity: 0; z-index: 200; background: #1d1d24; border: 1px solid #33333f; padding: 12px 18px; border-radius: 13px; font-weight: 600; font-size: 14px; display: flex; gap: 9px; align-items: center; transition: .3s; box-shadow: 0 20px 50px -15px #000; pointer-events: none; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translateX(-50%); }
.toast svg { color: var(--ok); }

/* ---------- Admin ---------- */
.adm-tabs { display: flex; gap: 6px; overflow-x: auto; border-bottom: 1px solid var(--line); margin: 18px 0 22px; scrollbar-width: none; }
.adm-tabs button { padding: 11px 14px; font-weight: 700; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; display: flex; gap: 7px; align-items: center; }
.adm-tabs button.on { color: var(--txt); border-color: var(--acc1); }
.cnt { background: var(--acc2); color: #fff; font-size: 11px; border-radius: 99px; padding: 1px 7px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 22px; }
.kpi { background: var(--card); border: 1px solid var(--line); border-radius: 15px; padding: 18px; }
.kpi span { color: var(--muted); font-size: 13px; }
.kpi b { display: block; font-size: 28px; font-weight: 800; letter-spacing: -.5px; }
.rows { display: flex; flex-direction: column; gap: 10px; }
.rowi { display: flex; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px; flex-wrap: wrap; }
.rowi img, .rowi .ph { width: 120px; aspect-ratio: 16/9; border-radius: 9px; object-fit: cover; background: var(--card2); flex: none; }
.rowi .tx { flex: 1; min-width: 180px; }
.rowi .tx b { display: block; }
.rowi .tx small { color: var(--muted); }
.rowi .act { display: flex; gap: 8px; }
.st { font-size: 11.5px; font-weight: 800; padding: 3px 9px; border-radius: 99px; text-transform: uppercase; letter-spacing: .5px; }
.st-p { background: rgba(255,198,92,.13); color: var(--gold); }
.st-ok { background: rgba(61,220,151,.13); color: var(--ok); }
.st-no { background: rgba(255,77,109,.13); color: #ff8091; }
.switch { position: relative; width: 44px; height: 25px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: #33333d; border-radius: 99px; transition: .2s; cursor: pointer; }
.switch span::after { content: ""; position: absolute; width: 19px; height: 19px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; }
.switch input:checked + span { background: var(--ok); }
.switch input:checked + span::after { transform: translateX(19px); }
.set-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.set-row:last-child { border: 0; }
.set-row .tx { flex: 1; }
.set-row small { color: var(--muted); display: block; font-size: 13px; }
.tg-flow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; padding: 22px; background: var(--bg2); border-radius: 14px; border: 1px solid var(--line); margin-bottom: 18px; font-weight: 700; font-size: 14px; }
.tg-flow .nd { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 11px; background: var(--card2); border: 1px solid var(--line); }
.tg-flow .arrow { color: var(--acc1); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--dim); display: inline-block; }
.dot.on { background: var(--ok); box-shadow: 0 0 0 4px rgba(61,220,151,.18); }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); margin-top: 56px; padding-top: 28px; display: flex; gap: 30px; flex-wrap: wrap; justify-content: space-between; color: var(--muted); font-size: 13.5px; }
.foot nav { display: flex; gap: 16px; flex-wrap: wrap; }
.foot nav a:hover { color: var(--txt); }
.legal { max-width: 760px; color: #cfccd6; }
.legal h3 { margin: 22px 0 8px; font-size: 17px; color: var(--txt); }
.legal p, .legal li { font-size: 14.5px; margin-bottom: 8px; }
.legal ul { padding-left: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .watch { grid-template-columns: 1fr; }
  .nav { display: none; }
}
@media (max-width: 860px) {
  .menu-btn { display: grid; }
  .side { position: fixed; left: 0; top: var(--top); z-index: 60; transform: translateX(-100%); transition: transform .25s; width: 270px; }
  body.drawer .side { transform: none; }
  body.drawer .scrim { display: block; position: fixed; inset: var(--top) 0 0 0; background: rgba(0,0,0,.6); z-index: 55; }
  .two { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --top: 58px; }
  .top { padding: 0 12px; gap: 8px; }
  .logo span { display: none; }
  .search { margin-left: 4px; }
  .top-actions .hide-m { display: none; }
  .main { padding: 18px 16px 50px; }
  .hero { padding: 24px 20px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
  .vc h4 { font-size: 13px; }
  .badge { font-size: 9px; padding: 3px 6px; }
  .meta-ov { font-size: 10.5px; }
  .thumb .lock i { width: 34px; height: 34px; }
  .side-list .vc { grid-template-columns: 130px 1fr; }
  select.sel { margin-left: 0; }
  .promo { font-size: 12.5px; gap: 10px; padding: 9px 36px 9px 14px; justify-content: flex-start; }
  .box { padding: 22px 18px; }
  .rowi img, .rowi .ph { width: 100%; }
  .rowi .act { width: 100%; }
  .rowi .act .btn { flex: 1; }
}

/* ---------- Versión con servidor ---------- */
.ph-thumb { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.35); background: radial-gradient(120% 120% at 100% 0%, rgba(255,77,109,.35), transparent 60%), radial-gradient(100% 100% at 0% 100%, rgba(255,68,102,.3), transparent 55%), #1a1a21; }
.ph-thumb svg { width: 34px; height: 34px; fill: currentColor; stroke: none; }
.player .ph-thumb { filter: none; }
.form-err { color: #ff8091; background: rgba(255,77,109,.08); border: 1px solid rgba(255,77,109,.25); padding: 9px 12px; border-radius: 10px; font-size: 13.5px; margin: 4px 0 12px; }
.toast.err svg { color: #ff8091; }
.qr img { width: 100%; height: 100%; object-fit: contain; }
.rowi .avatar { flex: none; }
details.panel summary { list-style: none; }

/* ---------- Marca PackRote ---------- */
.logo img.logo-full { height: 30px; width: auto; }
.logo img.logo-ic { height: 34px; width: 34px; display: none; }
.foot .logo img { height: 28px; width: auto; }
.creator .avatar { background: #16080c; border: 1px solid #3d1620; overflow: hidden; }
.creator .avatar img { width: 78%; height: 78%; object-fit: contain; }
.age-logo { height: 26px; width: auto; }
@media (max-width: 640px) {
  .logo img.logo-full { display: none; }
  .logo img.logo-ic { display: block; }
}
