/* Plataforma webcam — estilos. Marca Sippelossy: misma paleta y tipografías que la web principal. */
:root {
  --bg: #0f0c0d;
  --bg-2: #0a0809;
  --surface: #181314;
  --surface-2: #221a1d;
  --surface-3: #2e2428;
  --border: rgba(255, 238, 235, 0.08);
  --border-2: rgba(255, 238, 235, 0.15);
  --text: #f7f2ef;
  --muted: #b5a8a9;
  --dim: #7d7173;
  --pink: #e6336f;
  --pink-2: #c9245b;
  --pink-glow: rgba(230, 51, 111, 0.35);
  --rose: #d7859d;
  --gold: #f5a524;
  --green: #10b981;
  --red: #ef4444;
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --font: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Playfair Display', Georgia, serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--text); font: 15px/1.5 var(--font); -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--pink); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.25; }
h1 { font-size: 1.5rem; } h2 { font-size: 1.25rem; } h3 { font-size: 1.05rem; }
code { background: var(--surface-2); padding: 1px 5px; border-radius: 4px; font-size: .85em; }
[hidden], .hidden { display: none !important; }
.muted { color: var(--muted); } .small { font-size: .85rem; } .tiny { font-size: .75rem; }
.ok, .pos { color: var(--green); } .neg, .danger-text { color: var(--red) !important; }
.verified { color: #3b82f6; font-size: .85em; }
.count { background: var(--surface-2); color: var(--muted); font-size: .75rem; padding: 2px 8px; border-radius: 99px; vertical-align: middle; font-weight: 600; }

/* ---------- botones y formularios ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid transparent; border-radius: var(--r); padding: 9px 16px; font: 600 .9rem var(--font); cursor: pointer; color: var(--text); background: var(--surface-2); text-decoration: none !important; transition: background .15s, transform .05s, opacity .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-primary { background: var(--pink); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--pink-2); }
.btn-ghost { background: transparent; border-color: var(--border-2); }
.btn-ghost:hover:not(:disabled) { background: var(--surface-2); }
.btn-gold { background: var(--gold); color: #1a1205; }
.btn-gold:hover:not(:disabled) { background: #d97706; }
.btn-danger { background: var(--red); color: #fff; }
.btn-sm { padding: 6px 11px; font-size: .82rem; border-radius: var(--r-sm); }
.btn-lg { padding: 12px 22px; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }
.icon-btn { background: rgba(0,0,0,.45); border: 0; color: #fff; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 1rem; }
.icon-btn:hover { background: rgba(0,0,0,.7); }

input, select, textarea { width: 100%; background: var(--bg-2); border: 1px solid var(--border-2); color: var(--text); border-radius: var(--r-sm); padding: 9px 11px; font: inherit; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px var(--pink-glow); }
input[type=checkbox] { width: auto; accent-color: var(--pink); }
input[type=file] { padding: 7px; font-size: .85rem; }
.field { display: block; margin-bottom: 12px; }
.field > span { display: block; font-size: .8rem; color: var(--muted); margin-bottom: 4px; font-weight: 500; }
.field.inline { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.field.inline > span { margin: 0; }
.field.inline input { width: 90px; }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: .85rem; color: var(--muted); margin-bottom: 10px; }
.check input { margin-top: 3px; }
.switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.row > input { flex: 1; min-width: 140px; }
.row-between { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.row-end { display: flex; gap: 8px; justify-content: flex-end; margin-top: 16px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.grid-side { display: grid; grid-template-columns: 380px 1fr; gap: 20px; align-items: start; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 18px; margin-bottom: 16px; }

.notice { background: var(--surface-2); border-left: 3px solid var(--pink); padding: 10px 14px; border-radius: var(--r-sm); margin: 12px 0; font-size: .9rem; }
.notice-warn { border-color: var(--gold); }
.notice-ok { border-color: var(--green); }
.notice-error { border-color: var(--red); }
.flash { max-width: 1400px; margin: 0 auto 16px; padding: 12px 16px; border-radius: var(--r); background: var(--surface-2); border-left: 3px solid var(--green); }
.flash-warn { border-color: var(--gold); } .flash-error { border-color: var(--red); }

.pill { display: inline-block; font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--surface-3); text-transform: uppercase; letter-spacing: .02em; }
.pill-pending, .pill-requested, .pill-open { background: rgba(245,158,11,.18); color: var(--gold); }
.pill-approved, .pill-paid, .pill-active, .pill-resolved { background: rgba(16,185,129,.18); color: var(--green); }
.pill-rejected, .pill-suspended { background: rgba(239,68,68,.18); color: var(--red); }

.table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.table th { text-align: left; color: var(--muted); font-weight: 600; font-size: .75rem; text-transform: uppercase; letter-spacing: .03em; padding: 8px; border-bottom: 1px solid var(--border-2); }
.table td { padding: 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
.table-wrap { overflow-x: auto; }

/* ---------- cabecera ---------- */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(15, 12, 13, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.topbar-inner { max-width: 1600px; margin: 0 auto; display: flex; align-items: center; gap: 18px; padding: 10px 20px; }
.brand { font-weight: 700; font-size: 1.12rem; color: var(--text); letter-spacing: .06em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; text-decoration: none !important; white-space: nowrap; }
.brand img { width: 34px; height: 34px; object-fit: contain; filter: drop-shadow(0 2px 8px rgba(215,133,157,.4)); }
.brand small { font-size: .62rem; letter-spacing: .2em; color: var(--rose); font-weight: 700; padding: 2px 6px; border: 1px solid rgba(215,133,157,.45); border-radius: 99px; }
.brand-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 12px var(--pink); }
.search { position: relative; flex: 1; max-width: 440px; }
.search input { border-radius: 99px; padding-left: 16px; background: var(--surface); }
.search-results { position: absolute; top: 44px; left: 0; right: 0; background: var(--surface-2); border: 1px solid var(--border-2); border-radius: var(--r); overflow: hidden; box-shadow: 0 16px 40px rgba(0,0,0,.5); }
.sr-item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; color: var(--text); }
.sr-item:hover { background: var(--surface-3); text-decoration: none; }
.sr-item .badge { margin-left: auto; position: static; }
.sr-empty { padding: 12px; color: var(--muted); }
.topnav { display: flex; gap: 4px; }
.topnav a { color: var(--muted); padding: 7px 12px; border-radius: var(--r-sm); font-weight: 600; font-size: .9rem; }
.topnav a:hover, .topnav a.active { color: var(--text); background: var(--surface-2); text-decoration: none; }
.topbar-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.token-pill { display: inline-flex; align-items: center; gap: 6px; background: var(--surface-2); border: 1px solid rgba(245,158,11,.4); color: var(--text); padding: 6px 12px; border-radius: 99px; font: 700 .9rem var(--font); cursor: pointer; text-decoration: none !important; }
.token-pill .plus { background: var(--gold); color: #000; width: 18px; height: 18px; border-radius: 50%; display: inline-grid; place-items: center; font-size: .8rem; }
.usermenu { position: relative; }
.usermenu summary { list-style: none; display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 4px 8px; border-radius: var(--r-sm); font-weight: 600; font-size: .9rem; }
.usermenu summary::-webkit-details-marker { display: none; }
.usermenu summary:hover { background: var(--surface-2); }
.usermenu-panel { position: absolute; right: 0; top: 44px; background: var(--surface-2); border: 1px solid var(--border-2); border-radius: var(--r); min-width: 200px; padding: 6px; box-shadow: 0 16px 40px rgba(0,0,0,.5); }
.usermenu-panel a { display: block; padding: 8px 12px; color: var(--text); border-radius: var(--r-sm); }
.usermenu-panel a:hover { background: var(--surface-3); text-decoration: none; }
.avatar-xs, .avatar-md { display: inline-block; border-radius: 50%; background: var(--surface-3) center/cover no-repeat; flex-shrink: 0; }
.avatar-xs { width: 28px; height: 28px; }
.avatar-md { width: 48px; height: 48px; }

.main { flex: 1; width: 100%; max-width: 1600px; margin: 0 auto; padding: 20px; }
.footer { border-top: 1px solid var(--border); background: var(--bg-2); color: var(--dim); font-size: .82rem; }
.footer-inner { max-width: 1600px; margin: 0 auto; padding: 18px 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
.footer a { color: var(--muted); }

/* ---------- pestañas ---------- */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.tab { background: none; border: 0; color: var(--muted); font: 600 .9rem var(--font); padding: 8px 14px; cursor: pointer; border-radius: 99px; text-decoration: none !important; }
.tabs-pills .tab { background: var(--surface); border: 1px solid var(--border); }
.tabs-pills .tab.active { background: var(--pink); color: #fff; border-color: var(--pink); }
.tabs-line { border-bottom: 1px solid var(--border); gap: 0; }
.tabs-line .tab { border-radius: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs-line .tab.active { color: var(--text); border-bottom-color: var(--pink); }
.tab:hover { color: var(--text); }
.tab-pane { display: none; } .tab-pane.active { display: block; }

/* ---------- catálogo ---------- */
.section-title { display: flex; align-items: center; gap: 8px; margin: 18px 0 12px; font-size: 1.1rem; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--dim); }
.dot-live { background: var(--pink); box-shadow: 0 0 8px var(--pink); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .45; } }
.cam-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.cam-card { display: block; border-radius: var(--r); overflow: hidden; background: var(--surface); border: 1px solid var(--border); color: var(--text); text-decoration: none !important; transition: transform .15s, border-color .15s; }
.cam-card:hover { transform: translateY(-2px); border-color: var(--pink); }
.cam-thumb { position: relative; aspect-ratio: 4 / 3; background: var(--surface-3) center/cover no-repeat; }
.cam-card.is-offline .cam-thumb { filter: saturate(.55) brightness(.75); }
.cam-meta { padding: 9px 11px; }
.cam-name { font-weight: 700; display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cam-sub { color: var(--muted); font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.badge { position: absolute; font-size: .7rem; font-weight: 800; padding: 3px 7px; border-radius: 4px; background: rgba(0,0,0,.65); color: #fff; letter-spacing: .03em; }
.badge.sm { font-size: .62rem; }
.cam-thumb .badge-live, .cam-thumb .badge-off { top: 8px; left: 8px; }
.cam-thumb .badge-viewers { bottom: 8px; left: 8px; }
.badge-live { background: var(--pink); }
.empty, .empty-inline { text-align: center; padding: 40px 20px; color: var(--muted); }
.empty-inline { background: var(--surface); border: 1px dashed var(--border-2); border-radius: var(--r-lg); padding: 28px; }
.empty h1 { color: var(--text); }

/* ---------- sala ---------- */
.room-head, .studio-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.room-model { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none !important; }
.room-model > span:last-child { display: flex; flex-direction: column; }
.room-name { font-size: 1.15rem; }
h1.room-name { display: inline; margin: 0; font-weight: 700; line-height: inherit; }
.room-head-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.room-body, .studio-live { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; align-items: start; }
.stage { position: relative; background: #000; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; }
.stage video { width: 100%; height: 100%; object-fit: contain; display: block; background: #000; }
.stage-overlay { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; background: radial-gradient(circle at center, rgba(20,21,36,.75), rgba(0,0,0,.92)); }
.stage-msg { max-width: 520px; font-size: 1.05rem; line-height: 1.6; }
.stage-top { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.stage-top .badge { position: static; }
.stage-controls { position: absolute; right: 12px; bottom: 12px; display: flex; gap: 6px; }
.unmute-btn { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); background: var(--pink); color: #fff; border: 0; border-radius: 99px; padding: 9px 18px; font: 700 .9rem var(--font); cursor: pointer; box-shadow: 0 6px 20px var(--pink-glow); }
.goal { position: absolute; top: 12px; right: 12px; width: min(360px, 55%); background: rgba(0,0,0,.6); border-radius: var(--r); padding: 8px 10px; backdrop-filter: blur(4px); }
.goal-text { display: flex; justify-content: space-between; gap: 8px; font-size: .8rem; font-weight: 600; margin-bottom: 5px; }
.goal-track { height: 7px; background: rgba(255,255,255,.12); border-radius: 99px; overflow: hidden; margin-bottom: 8px; }
.goal-fill { height: 100%; background: linear-gradient(90deg, var(--pink), var(--gold)); border-radius: 99px; transition: width .6s; }
.self-view { position: absolute; right: 12px; bottom: 56px; width: 180px; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; border: 2px solid var(--pink); background: #000; }
.self-view video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.self-view-remote video { transform: none; }
.self-view .sv-label { position: absolute; left: 6px; bottom: 4px; font-size: .7rem; font-weight: 700; text-shadow: 0 1px 3px #000; pointer-events: none; }
/* Cam2Cam: controles de tu cámara (y en el estudio, de la cámara del fan) */
.self-view { z-index: 6; max-height: 70%; transition: width .2s ease; box-shadow: 0 8px 24px rgba(0,0,0,.45); }
.self-view.is-rear video { transform: none; }
.sv-ctrls { position: absolute; top: 5px; right: 5px; display: flex; gap: 4px; }
.sv-ctrls button { width: 28px; height: 28px; border-radius: 50%; border: 0; padding: 0; background: rgba(0,0,0,.6); color: #fff; font-size: .78rem; line-height: 1; cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(4px); }
.sv-ctrls button:hover { background: rgba(0,0,0,.8); }
.sv-ctrls button.is-off { background: #e5484d; }
.sv-ctrls button[hidden] { display: none; }
.sv-off { position: absolute; inset: 0; display: grid; place-items: center; background: #111; color: #bbb; font-size: .72rem; font-weight: 700; text-align: center; padding: 6px; }
.sv-off[hidden] { display: none; }
.self-view.is-mini { width: 76px; }
.self-view.is-mini .sv-label, .self-view.is-mini .sv-ctrls button:not(#sv-size) { display: none; }
.self-view-remote { width: min(240px, 30%); }
.self-view-remote.is-big { width: 50%; }
.self-view-remote video { object-fit: contain; }
.private-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 10px; padding: 12px 14px; border-radius: var(--r); background: linear-gradient(90deg, rgba(245,158,11,.2), rgba(230,51,111,.15)); border: 1px solid rgba(245,158,11,.45); }
.private-bar-right { display: flex; gap: 10px; align-items: center; }
.private-wait { background: var(--surface-2); border-color: var(--border-2); }
.timer { font: 800 1.15rem var(--font); font-variant-numeric: tabular-nums; }
.spinner { display: inline-block; width: 14px; height: 14px; border: 2px solid var(--border-2); border-top-color: var(--pink); border-radius: 50%; animation: spin .8s linear infinite; vertical-align: -2px; margin-right: 4px; }
@keyframes spin { to { transform: rotate(360deg); } }
.actions-bar { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 12px 0 16px; }
.quick-tips, .private-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.tip-btn { background: var(--surface-2); border: 1px solid rgba(245,158,11,.35); color: var(--text); border-radius: var(--r-sm); padding: 8px 12px; font: 700 .85rem var(--font); cursor: pointer; }
.tip-btn:hover { background: rgba(245,158,11,.18); }
.tip-custom { border-color: var(--border-2); font-weight: 600; }
.menu-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.menu-item { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--border); color: var(--text); padding: 11px 14px; border-radius: var(--r); font: 500 .9rem var(--font); cursor: pointer; text-align: left; }
.menu-item:hover:not(:disabled) { border-color: var(--gold); }
.menu-price { color: var(--gold); font-weight: 700; white-space: nowrap; }
.about-grid { display: grid; grid-template-columns: 1fr 300px; gap: 20px; }
.facts { list-style: none; padding: 0; margin: 0; }
.facts li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--border); font-size: .9rem; }
.facts li > span:first-child { color: var(--muted); }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.tag { background: var(--surface-2); color: var(--muted); padding: 3px 10px; border-radius: 99px; font-size: .8rem; }
.top-list { padding: 0; list-style: none; max-width: 420px; }
.top-list li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); }

/* ---------- chat ---------- */
.chat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); display: flex; flex-direction: column; height: min(78vh, 720px); position: sticky; top: 76px; }
.chat-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--border); font-weight: 700; }
.chat-list { flex: 1; overflow-y: auto; padding: 10px 12px; display: flex; flex-direction: column; gap: 5px; font-size: .88rem; }
.msg { line-height: 1.4; word-wrap: break-word; }
.msg strong { color: #c7d2fe; margin-right: 2px; }
.msg-model strong { color: var(--pink); }
.msg-system, .msg-goal { color: var(--muted); font-size: .8rem; font-style: italic; }
.msg-goal { color: var(--gold); font-weight: 700; font-style: normal; }
.msg-tip, .msg-menu { background: rgba(245,158,11,.12); border-left: 3px solid var(--gold); padding: 5px 8px; border-radius: 4px; }
.msg-tip strong, .msg-menu strong { color: var(--gold); }
.msg .tk { font-weight: 800; color: var(--gold); }
.msg-private { border-left: 3px solid var(--pink); padding-left: 8px; }
.chat-form { display: flex; gap: 6px; padding: 10px; border-top: 1px solid var(--border); }
.chat-guest { padding: 14px; text-align: center; border-top: 1px solid var(--border); font-size: .85rem; color: var(--muted); }

/* ---------- modales y avisos ---------- */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.7); display: grid; place-items: center; padding: 16px; }
.modal-box { position: relative; background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--r-lg); padding: 24px; width: min(440px, 100%); max-height: 92vh; overflow-y: auto; box-shadow: 0 24px 60px rgba(0,0,0,.6); }
.modal-wide { width: min(760px, 100%); }
.modal-close { position: absolute; right: 10px; top: 8px; background: none; border: 0; color: var(--muted); font-size: 1.6rem; cursor: pointer; }
.confirm-text { font-size: 1rem; margin: 0; }
.packages { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin-top: 14px; }
.package { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; background: var(--surface-2); border: 1px solid var(--border-2); color: var(--text); border-radius: var(--r); padding: 18px 10px 14px; cursor: pointer; font-family: var(--font); }
.package:hover:not(:disabled) { border-color: var(--gold); }
.package.featured { border-color: var(--pink); box-shadow: 0 0 0 1px var(--pink); }
.package-tag { position: absolute; top: -9px; background: var(--pink); color: #fff; font-size: .65rem; font-weight: 800; padding: 2px 8px; border-radius: 99px; text-transform: uppercase; }
.package-tokens { font-size: 1.15rem; font-weight: 800; }
.package-bonus { font-size: .75rem; color: var(--green); font-weight: 600; }
.package-price { font-weight: 700; color: var(--muted); margin-top: 4px; }
.toasts { position: fixed; right: 16px; bottom: 16px; z-index: 200; display: flex; flex-direction: column; gap: 8px; max-width: min(380px, calc(100vw - 32px)); }
.toast { background: var(--surface-2); border-left: 4px solid var(--green); padding: 12px 16px; border-radius: var(--r); box-shadow: 0 10px 30px rgba(0,0,0,.5); font-size: .9rem; transition: opacity .35s, transform .35s; }
.toast-warn { border-color: var(--gold); } .toast-error { border-color: var(--red); }
.toast.out { opacity: 0; transform: translateX(20px); }

.agegate { position: fixed; inset: 0; z-index: 300; background: rgba(5,5,10,.96); display: grid; place-items: center; padding: 16px; backdrop-filter: blur(12px); }
.agegate-box { width: min(460px, 100%); text-align: center; background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--r-lg); padding: 30px 26px; display: flex; flex-direction: column; gap: 12px; }
.agegate-box p { color: var(--muted); margin: 0; }
.agegate-badge { margin: 0 auto; width: 64px; height: 64px; border-radius: 50%; border: 3px solid var(--pink); display: grid; place-items: center; font-weight: 800; font-size: 1.3rem; color: var(--pink); }

/* ---------- auth / verificación ---------- */
.auth { max-width: 460px; margin: 20px auto; }
.auth-wide { max-width: 720px; }
.role-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 18px; }
.role-switch a { text-align: center; padding: 12px; border-radius: var(--r); border: 1px solid var(--border-2); color: var(--muted); font-weight: 600; }
.role-switch a.active { border-color: var(--pink); color: var(--text); background: rgba(230,51,111,.1); text-decoration: none; }
.steps { display: flex; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; counter-reset: s; flex-wrap: wrap; }
.steps li { flex: 1; min-width: 120px; padding: 10px; border-radius: var(--r); background: var(--surface-2); font-size: .82rem; color: var(--muted); }
.steps li.done { color: var(--green); } .steps li.now { color: var(--text); outline: 1px solid var(--pink); }
.upload-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.upload-box { border: 1px dashed var(--border-2); border-radius: var(--r); padding: 12px; font-size: .82rem; }
.upload-box strong { display: block; margin-bottom: 4px; }

/* ---------- estudio ---------- */
.studio-id { display: flex; align-items: center; gap: 12px; }
.studio-id h1 { margin: 0; font-size: 1.3rem; }
.kpis { display: flex; gap: 10px; flex-wrap: wrap; }
.kpi { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 8px 14px; min-width: 120px; }
.kpi span { display: block; font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.kpi strong { font-size: 1.1rem; }
.kpi small { display: block; color: var(--green); font-size: .75rem; }
.studio-controls { margin-top: 12px; }
.request { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.request:last-child { border-bottom: 0; }
.private-panel { border-color: rgba(245,158,11,.5); background: linear-gradient(90deg, rgba(245,158,11,.12), rgba(230,51,111,.08)); }
.price-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.menu-rows { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.menu-row { display: grid; grid-template-columns: 1fr 110px 34px; gap: 8px; align-items: center; }
.menu-row .icon-btn { background: var(--surface-2); }
.media-admin { display: flex; flex-direction: column; gap: 10px; }
.media-row { display: grid; grid-template-columns: 120px 1fr auto; gap: 14px; align-items: center; margin: 0; padding: 12px; }
.media-thumb { position: relative; aspect-ratio: 4/3; border-radius: var(--r-sm); background: var(--surface-3) center/cover; }
.media-thumb .badge { left: 6px; bottom: 6px; }
.media-fields { display: flex; flex-direction: column; gap: 6px; }
.media-fields .row select { width: auto; }
.media-actions { display: flex; flex-direction: column; gap: 6px; }
.progress { height: 8px; background: var(--surface-3); border-radius: 99px; overflow: hidden; margin-bottom: 12px; }
.progress div { height: 100%; width: 0; background: var(--pink); transition: width .2s; }

/* ---------- perfil público ---------- */
/* Portada proporcional 3:1 (se recomienda subirla a 1800 × 600): la misma foto se ve igual en móvil y ordenador */
.profile-cover { aspect-ratio: 3 / 1; min-height: 120px; max-height: 400px; border-radius: var(--r-lg); background: linear-gradient(135deg, #2a1030, #101225) center/cover; position: relative; margin-bottom: 64px; }
.profile-cover .avatar-xl { position: absolute; left: 24px; bottom: -48px; width: 112px; height: 112px; border-radius: 50%; border: 4px solid var(--bg); background: var(--surface-3) center/cover; }
.profile-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.media-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.media-card .media-thumb { border-radius: 0; display: block; }
.media-card .media-body { padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.lock { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2rem; background: rgba(0,0,0,.25); }
.viewer-modal video, .viewer-modal img { width: 100%; max-height: 75vh; object-fit: contain; background: #000; border-radius: var(--r); }

/* ---------- admin ---------- */
.admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin-bottom: 18px; }
.verif-card { display: grid; grid-template-columns: 300px 1fr; gap: 18px; }
.doc-imgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.doc-imgs a { display: block; aspect-ratio: 4/3; border-radius: var(--r-sm); background: var(--surface-3) center/cover; position: relative; }
.doc-imgs a span { position: absolute; bottom: 4px; left: 4px; font-size: .7rem; background: rgba(0,0,0,.7); padding: 1px 6px; border-radius: 4px; }
.age-big { font-size: 2rem; font-weight: 800; }
.age-big.bad { color: var(--red); } .age-big.good { color: var(--green); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .room-body, .studio-live { grid-template-columns: 1fr; }
  .chat { position: static; height: 420px; }
  .grid-side, .form-grid, .verif-card { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .topbar-inner { flex-wrap: wrap; gap: 10px; padding: 10px 14px; }
  .search { order: 3; max-width: none; flex-basis: 100%; }
  .topnav { order: 4; flex-basis: 100%; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin: -2px -4px 0; }
  .topnav::-webkit-scrollbar { display: none; }
  .topnav a { white-space: nowrap; padding: 6px 11px; font-size: .86rem; }
  .hide-sm { display: none; }
  .main { padding: 14px; }
  .cam-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .grid-2, .grid-3, .upload-grid, .doc-imgs { grid-template-columns: 1fr; }
  .goal { width: calc(100% - 24px); left: 12px; right: 12px; top: auto; bottom: 56px; }
  /* En el móvil tu cámara va abajo a la izquierda (arriba están las etiquetas y la meta) */
  .self-view { width: 88px; max-height: 58%; left: 10px; right: auto; bottom: 10px; border-radius: 12px; }
  body.is-theater .self-view { left: auto; right: 10px; bottom: auto; top: 96px; }
  .self-view.is-mini { width: 64px; }
  .sv-ctrls { top: auto; bottom: 4px; right: 4px; left: 4px; justify-content: center; gap: 3px; }
  .sv-ctrls button { width: 24px; height: 24px; font-size: .7rem; }
  .self-view .sv-label { display: none; }
  .self-view-remote { width: 120px; left: auto; right: 10px; top: 10px; bottom: auto; }
  .self-view-remote.is-big { width: 62%; }
  .media-row { grid-template-columns: 90px 1fr; }
  .media-actions { grid-column: 1 / -1; flex-direction: row; }
  .stage { border-radius: var(--r); }
}

/* ---------- estados nuevos (compras, tickets) ---------- */
.pill-completed, .pill-answered { background: rgba(16,185,129,.18); color: var(--green); }
.pill-review, .pill-partially_refunded { background: rgba(245,158,11,.18); color: var(--gold); }
.pill-failed, .pill-refunded { background: rgba(239,68,68,.18); color: var(--red); }
.pill-closed { background: var(--surface-3); color: var(--muted); }
.count-alert { background: var(--pink); color: #fff; }
.row-active td { background: rgba(230,51,111,.06); }
.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; }

/* ---------- propina libre ---------- */
.tip-inline { display: inline-flex; gap: 6px; align-items: center; }
.tip-inline input { width: 96px; padding: 7px 10px; }
.tip-hint { margin: 6px 0 0; }

/* ---------- tienda con PayPal ---------- */
.package.selected { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold); }
.paypal-box { margin-top: 16px; padding: 16px; border: 1px solid var(--border-2); border-radius: var(--r); background: var(--surface); }
.paypal-summary { font-weight: 700; margin: 0 0 12px; }
#paypal-buttons { max-width: 420px; margin: 0 auto; min-height: 45px; }

/* ---------- soporte ---------- */
.ticket-list { display: flex; flex-direction: column; gap: 8px; }
.ticket-item { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--r); color: var(--text); text-decoration: none; }
.ticket-item:hover { border-color: var(--border-2); background: var(--surface-2); }
.ticket-item.is-unread { border-color: var(--pink); }
.ticket-item .pill { grid-row: 1 / 3; grid-column: 2; align-self: center; }
.ticket-subject { font-weight: 600; }
.ticket-page { max-width: 860px; margin: 0 auto; }
.ticket-thread { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.ticket-msg { padding: 12px 14px; border-radius: var(--r); border: 1px solid var(--border); background: var(--surface); max-width: 88%; }
.ticket-msg.is-staff { align-self: flex-start; border-color: rgba(16,185,129,.35); background: rgba(16,185,129,.06); }
.ticket-msg.is-user { align-self: flex-end; }
.ticket-msg-head { margin-bottom: 6px; }
.ticket-msg-body { white-space: normal; overflow-wrap: anywhere; line-height: 1.55; }
@media (max-width: 760px) {
  .ticket-msg { max-width: 100%; }
  .tip-inline input { width: 80px; }
}

/* ======================================================================
   Panel de administración: menú lateral, inicio en directo y verificaciones
   ====================================================================== */
.page-admin .main { max-width: none; padding: 0; }
.adm { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: calc(100vh - 64px); }
.adm-side { position: sticky; top: 64px; align-self: start; height: calc(100vh - 64px); overflow-y: auto; padding: 18px 12px 24px; background: var(--bg-2); border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: 2px; }
.adm-side-title { font-weight: 800; font-size: 1rem; padding: 4px 10px 10px; }
.adm-group { margin: 14px 10px 4px; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.adm-link { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: var(--r-sm); color: var(--muted); font-weight: 600; font-size: .92rem; text-decoration: none !important; }
.adm-link:hover { background: var(--surface); color: var(--text); }
.adm-link.active { background: var(--surface-2); color: var(--text); box-shadow: inset 3px 0 0 var(--pink); }
.adm-ico { width: 22px; text-align: center; }
.adm-label { flex: 1; }
.adm-badge { min-width: 22px; padding: 1px 7px; border-radius: 99px; background: var(--pink); color: #fff; font-size: .72rem; font-weight: 800; text-align: center; }
.adm-badge.is-live { background: var(--surface-3); color: var(--text); }
.adm-side-foot { margin-top: auto; padding: 16px 10px 0; border-top: 1px solid var(--border); display: grid; gap: 6px; font-size: .78rem; color: var(--muted); }
.adm-main { padding: 22px 28px 40px; min-width: 0; }
.adm-title { margin: 0 0 16px; font-size: 1.6rem; }
.adm-subbar { margin-bottom: 14px; }

/* inicio en directo */
.adm-live-head { display: flex; align-items: center; gap: 8px; margin: -6px 0 14px; color: var(--muted); font-size: .85rem; }
.adm-pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(16,185,129,.6); animation: admPulse 2s infinite; }
@keyframes admPulse { 0% { box-shadow: 0 0 0 0 rgba(16,185,129,.55); } 70% { box-shadow: 0 0 0 10px rgba(16,185,129,0); } 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); } }
.adm-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.adm-kpi { padding: 16px 18px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); min-width: 0; }
.adm-kpi span { display: block; font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }
.adm-kpi strong { display: block; font-size: 2rem; line-height: 1.2; margin-top: 4px; }
.adm-kpi small { display: block; color: var(--muted); font-size: .8rem; margin-top: 2px; }
.adm-kpi.is-main { background: linear-gradient(135deg, rgba(230,51,111,.18), rgba(147,51,234,.12)), var(--surface); border-color: rgba(230,51,111,.35); }
.adm-tasks { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.adm-task { padding: 8px 14px; border-radius: 99px; background: rgba(245,158,11,.14); border: 1px solid rgba(245,158,11,.35); color: var(--gold); font-weight: 600; font-size: .88rem; text-decoration: none !important; }
.adm-task strong { color: #fff; }
.adm-task:hover { background: rgba(245,158,11,.24); }
.adm-task.is-ok { background: rgba(16,185,129,.12); border-color: rgba(16,185,129,.35); color: var(--green); }
.adm-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.adm-list { display: flex; flex-direction: column; }
.adm-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.adm-row:last-child { border-bottom: 0; }
.adm-row-main { flex: 1; min-width: 160px; display: grid; }
.adm-row-main a { color: var(--text); }
.adm-stat { font-size: .85rem; white-space: nowrap; }
.adm-origin { margin-top: 2px; }
.adm-scroll { max-height: 520px; overflow-y: auto; }
.adm-filter { display: flex; gap: 4px; flex-wrap: wrap; }
.adm-filter .btn.active { background: rgba(233, 52, 112, .2); border-color: rgba(233, 52, 112, .5); color: var(--text); }
.adm-src-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.adm-src-cols p { margin: 0 0 6px; }
.adm-bar { margin-bottom: 4px; justify-content: space-between; gap: 8px; }
.adm-bar em { position: relative; font-style: normal; font-size: .85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 560px) { .adm-src-cols { grid-template-columns: 1fr; } }
.adm-feed { list-style: none; margin: 0; padding: 0; }
.adm-feed-item { display: grid; grid-template-columns: 28px 1fr auto; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: .9rem; }
.adm-feed-item:last-child { border-bottom: 0; }
.adm-feed-ico { text-align: center; }
.adm-feed-item.is-verify .adm-feed-text, .adm-feed-item.is-ticket .adm-feed-text { color: var(--gold); }
.adm-feed-item.is-refund .adm-feed-text { color: var(--red); }

/* verificaciones */
.vq { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 18px; align-items: start; }
.vq-list { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 6px; max-height: calc(100vh - 110px); overflow-y: auto; }
.vq-list-title { font-weight: 700; margin-bottom: 4px; }
.vq-item { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; padding: 10px 12px; border-radius: var(--r); border: 1px solid var(--border); background: var(--surface); color: var(--text); text-decoration: none !important; }
.vq-item small { grid-column: 1 / -1; }
.vq-item:hover { border-color: var(--border-2); }
.vq-item.active { border-color: var(--pink); box-shadow: 0 0 0 1px var(--pink); }
.vq-main { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px; min-width: 0; }
.vq-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 14px; }
.vq-head h2 { margin: 0 0 4px; font-size: 1.4rem; }
.vq-age { display: grid; place-items: center; min-width: 86px; padding: 8px 12px; border-radius: var(--r); text-align: center; }
.vq-age strong { font-size: 2.2rem; line-height: 1; }
.vq-age span { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
.vq-age.good { background: rgba(16,185,129,.14); color: var(--green); }
.vq-age.bad { background: rgba(239,68,68,.16); color: var(--red); }
.vq-docs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 6px 0 18px; }
.vq-doc { margin: 0; }
.vq-doc-img { display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 1px solid var(--border-2); border-radius: var(--r); background: #000; overflow: hidden; cursor: zoom-in; }
.vq-doc-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.vq-doc-img:hover { border-color: var(--pink); }
.vq-doc figcaption { margin-top: 6px; font-size: .85rem; font-weight: 600; }
.vq-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.vq-decide { padding: 16px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--border); }
.vq-decide h3 { margin-top: 0; }
.vq-checks { display: grid; gap: 8px; margin-bottom: 14px; }
.vq-checks .check { align-items: flex-start; font-size: .9rem; }
.vq-reject { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); display: grid; gap: 8px; }
.vq-reject .field { margin: 0; }
.vq-empty { padding: 40px; }
.vq-lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.92); display: flex; flex-direction: column; }
.vq-lightbox[hidden] { display: none; }
.vq-lb-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; background: var(--bg-2); border-bottom: 1px solid var(--border); }
.vq-lb-stage { flex: 1; display: grid; place-items: center; overflow: auto; padding: 20px; }
.vq-lb-stage img { max-width: 92vw; max-height: 82vh; object-fit: contain; transition: transform .2s ease; cursor: zoom-in; }
.vq-lightbox.is-zoom .vq-lb-stage img { cursor: zoom-out; max-width: none; max-height: none; }

@media (max-width: 1280px) {
  .adm-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .adm { grid-template-columns: 1fr; }
  .adm-side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; gap: 6px; border-right: 0; border-bottom: 1px solid var(--border); }
  .adm-side-title, .adm-group, .adm-side-foot { display: none; }
  .adm-link { padding: 7px 10px; background: var(--surface); }
  .adm-main { padding: 16px; }
  .adm-cols, .vq { grid-template-columns: 1fr; }
  .vq-list { position: static; max-height: none; flex-direction: row; overflow-x: auto; }
  .vq-item { min-width: 200px; }
}
@media (max-width: 640px) {
  .adm-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adm-kpi.is-main { grid-column: 1 / -1; }
  .vq-docs { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .adm-pulse { animation: none; }
}

/* ---------- v5: portada, idioma, mensajes, horario, contrato, Lovense ---------- */
/* portada para visitantes */
.home-hero { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 22px 24px; margin-bottom: 14px; border-radius: var(--r-lg); border: 1px solid rgba(230,51,111,.25); background: radial-gradient(120% 140% at 0% 0%, rgba(230,51,111,.22), transparent 60%), linear-gradient(135deg, var(--surface), var(--surface-2)); }
.home-hero h1 { font: 500 1.65rem/1.2 var(--serif); margin-bottom: 6px; }
.home-hero p { margin: 0; max-width: 620px; }

/* selector de idioma */
/* Selector de idioma */
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; display: inline-flex; align-items: center; gap: 5px; cursor: pointer; border: 1px solid var(--border-2); border-radius: 99px; padding: 5px 11px; color: var(--muted); font-size: .74rem; font-weight: 700; letter-spacing: .04em; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover, .lang-menu[open] summary { color: var(--text); background: var(--surface-2); }
.lang-menu-panel { position: absolute; right: 0; top: 40px; z-index: 60; background: var(--surface-2); border: 1px solid var(--border-2); border-radius: var(--r); padding: 6px; box-shadow: 0 16px 40px rgba(0,0,0,.5); display: grid; grid-template-columns: repeat(2, minmax(140px, 1fr)); gap: 2px; }
.lang-menu-panel a { display: flex; align-items: center; gap: 8px; padding: 8px 10px; color: var(--text); border-radius: var(--r-sm); font-size: .88rem; white-space: nowrap; text-decoration: none !important; }
.lang-menu-panel a:hover { background: var(--surface-3); }
.lang-menu-panel a.active { background: var(--pink); color: #fff; }
.lang-code { font-size: .66rem; font-weight: 800; letter-spacing: .05em; opacity: .6; min-width: 18px; }
.count-live { background: rgba(230,51,111,.18); color: var(--pink); }
.agegate-logo { width: 150px; height: auto; margin: 0 auto 4px; display: block; }
.agegate-lang { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; font-size: .85rem; }
.agegate-lang a { color: var(--muted); }
.agegate-lang a.active { color: var(--text); font-weight: 700; }

/* registro: quién emite */
.seg { border: 0; padding: 0; margin: 0 0 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg legend { font-size: .8rem; color: var(--muted); font-weight: 500; margin-bottom: 6px; padding: 0; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 10px; border: 1px solid var(--border-2); border-radius: var(--r); color: var(--muted); font-weight: 600; font-size: .9rem; }
.seg input:checked + span { border-color: var(--pink); color: var(--text); background: rgba(230,51,111,.1); }
.seg input:focus-visible + span { box-shadow: 0 0 0 3px var(--pink-glow); }

/* verificación por persona y contrato */
.person-box { border: 1px solid var(--border-2); border-radius: var(--r-lg); padding: 14px 16px 6px; margin: 0 0 14px; }
.person-box legend { padding: 0 8px; font-weight: 700; color: var(--rose); }
.person-box .upload-grid { margin-bottom: 10px; }
.contract-box { max-height: 460px; overflow-y: auto; background: var(--bg-2); border: 1px solid var(--border-2); border-radius: var(--r); padding: 16px 18px; margin: 10px 0 14px; font-size: .88rem; line-height: 1.6; color: var(--muted); }
.contract-box-sm { max-height: 220px; }
.contract-editor { font: .85rem/1.55 ui-monospace, SFMono-Regular, Consolas, monospace; resize: vertical; min-height: 360px; }

/* mensajes privados */
.dm { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 16px; height: calc(100vh - 150px); min-height: 480px; }
.dm-list { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 14px; overflow-y: auto; }
.dm-list h1 { font-size: 1.2rem; margin-bottom: 10px; }
.dm-item { display: flex; align-items: center; gap: 10px; padding: 9px; border-radius: var(--r); color: var(--text); text-decoration: none !important; }
.dm-item:hover { background: var(--surface-2); }
.dm-item.active { background: var(--surface-3); }
.dm-item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dm-item-body .small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dm-item.is-unread strong { color: var(--pink); }
.dm-item-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.dm-thread { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.dm-empty { margin: auto; border: 0; text-align: center; }
.dm-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.dm-head-name { flex: 1; display: flex; flex-direction: column; }
.dm-back { display: none; font-size: 1.3rem; color: var(--text); padding: 0 6px; }
.dm-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.dm-day { align-self: center; font-size: .72rem; color: var(--dim); background: var(--surface-2); padding: 2px 10px; border-radius: 99px; margin: 6px 0; }
.dm-msg { max-width: 72%; display: flex; flex-direction: column; }
.dm-msg.is-mine { align-self: flex-end; align-items: flex-end; }
.dm-msg.is-other { align-self: flex-start; }
.dm-bubble { padding: 9px 13px; border-radius: 16px; background: var(--surface-3); white-space: normal; word-wrap: break-word; overflow-wrap: anywhere; }
.dm-msg.is-mine .dm-bubble { background: var(--pink); color: #fff; border-bottom-right-radius: 4px; }
.dm-msg.is-other .dm-bubble { border-bottom-left-radius: 4px; }
.dm-meta { font-size: .7rem; color: var(--dim); margin-top: 2px; }
.dm-form { display: flex; gap: 8px; padding: 12px 16px 6px; border-top: 1px solid var(--border); align-items: flex-end; }
.dm-form textarea { resize: none; }
.dm-note { padding: 0 16px 12px; margin: 0; }
.dm-thread > .notice { margin: 12px 16px; }

/* horario */
.schedule { list-style: none; padding: 0; margin: 0 0 8px; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.schedule li { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r); padding: 8px 6px; text-align: center; font-size: .82rem; font-weight: 600; }
.schedule li span { display: block; font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 2px; }
.schedule li.is-off { color: var(--dim); font-weight: 400; }
.schedule li.is-today { border-color: var(--pink); background: rgba(230,51,111,.1); }
.schedule-edit { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.schedule-row { display: grid; grid-template-columns: 1fr 110px auto 110px; gap: 8px; align-items: center; }
.schedule-row input[type=time] { padding: 6px 8px; }

/* Lovense */
.badge-lovense { position: static; background: rgba(230,51,111,.85); color: #fff; }
.lovense-levels { margin: 10px 0 4px; padding: 10px 14px; border-radius: var(--r); background: rgba(230,51,111,.08); border: 1px solid rgba(230,51,111,.25); font-size: .88rem; }
.lovense-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.lovense-chip { background: var(--surface-2); border: 1px solid var(--border-2); border-radius: 99px; padding: 3px 10px; font-size: .78rem; }
.lovense-qr { margin: 14px 0; text-align: center; }
.lovense-qr img { background: #fff; padding: 8px; border-radius: var(--r); }
.lv-rows { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.lv-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.lv-head { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }

/* registro de correos (admin) */
.mail-log { display: flex; flex-direction: column; gap: 6px; max-height: 640px; overflow-y: auto; }
.mail-item { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r); padding: 9px 12px; }
.mail-item summary { cursor: pointer; list-style: none; font-size: .88rem; }
.mail-item summary::-webkit-details-marker { display: none; }
.mail-body { white-space: pre-wrap; word-break: break-word; font: .8rem/1.5 var(--font); color: var(--muted); background: var(--bg-2); border-radius: var(--r-sm); padding: 10px; margin: 8px 0 0; }

@media (max-width: 760px) {
  .home-hero { padding: 18px; }
  .home-hero h1 { font-size: 1.3rem; }
  .lang-menu summary { padding: 4px 8px; }
  .lang-menu-panel { position: fixed; left: 12px; right: 12px; top: 58px; grid-template-columns: repeat(2, 1fr); }
  .dm { grid-template-columns: 1fr; height: calc(100vh - 130px); }
  .dm.has-conv .dm-list { display: none; }
  .dm:not(.has-conv) .dm-thread { display: none; }
  .dm-back { display: inline-block; }
  .dm-msg { max-width: 86%; }
  .schedule { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .schedule-row { grid-template-columns: 1fr 1fr auto 1fr; }
  .seg { grid-template-columns: 1fr; }
}

/* ---------- v6: ligas, Ultimate, social, fans, moderación ---------- */
:root { --lg-grey: #a3a3a3; --lg-bronze: #d4874a; --lg-silver: #9cc4e4; --lg-gold: #f5b301; --lg-diamond: #c13cf0; --lg-royal: #ef4444; --lg-legend: #e11d48; --ult: #f5c542; }

/* emblema hexagonal de liga con el nivel */
.lv { display: inline-grid; place-items: center; min-width: 22px; height: 20px; padding: 0 4px; margin-right: 4px; vertical-align: -4px; font: 800 .66rem/1 var(--font); color: #fff;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); background: var(--lg-grey); text-shadow: 0 1px 1px rgba(0,0,0,.35); }
.lv-grey { background: linear-gradient(160deg, #c4c4c4, #6b6b6b); }
.lv-bronze { background: linear-gradient(160deg, #f0a46a, #a35a24); }
.lv-silver { background: linear-gradient(160deg, #d6ecfb, #6f94b4); }
.lv-gold { background: linear-gradient(160deg, #ffd65a, #c98700); color: #2b1b00; text-shadow: none; }
.lv-diamond { background: linear-gradient(160deg, #e48bff, #8a1fc2); }
.lv-royal { background: linear-gradient(160deg, #ff7a7a, #b81d1d); }
.lv-legend { background: linear-gradient(160deg, #ff4d6d, #8f0b24); font-size: .78rem; }
.lv.is-ex { filter: grayscale(1); opacity: .65; }
.ult-badge { display: inline-grid; place-items: center; width: 17px; height: 17px; margin-right: 4px; vertical-align: -3px; border-radius: 50%; background: linear-gradient(145deg, #ffe58a, #d89b00); color: #3a2500; font-size: .66rem; font-weight: 900; box-shadow: 0 0 8px rgba(245,197,66,.45); }
.ult-badge.big { width: 30px; height: 30px; font-size: 1rem; vertical-align: -6px; }
.fan-badge, .mod-badge { margin-right: 4px; font-size: .85em; }
.cname { cursor: default; }
.chat .cname[data-uid], .chat .cname[data-user] { cursor: pointer; }
.chat .cname[data-uid]:hover, .chat .cname[data-user]:hover { text-decoration: underline; }
.c-grey { color: #cfcfcf; } .c-bronze { color: var(--lg-bronze); } .c-silver { color: var(--lg-silver); } .c-gold { color: var(--lg-gold); }
.c-diamond { color: #d77cff; } .c-royal { color: #ff6b6b; } .c-legend { color: #ff4d6d; } .c-model { color: var(--pink); } .c-hidden { color: var(--muted); font-style: italic; }
.league-name { font-weight: 700; }

/* cabecera y tienda */
.topnav a.nav-ult { color: var(--ult); }
.trial-banner { display: block; max-width: 1400px; margin: 0 auto 14px; padding: 11px 16px; border-radius: var(--r); background: linear-gradient(90deg, rgba(245,197,66,.18), rgba(230,51,111,.14)); border: 1px solid rgba(245,197,66,.4); color: var(--text); font-weight: 600; text-decoration: none !important; }
.package.is-ult { border-color: rgba(245,197,66,.6); background: linear-gradient(160deg, rgba(245,197,66,.12), var(--surface-2)); }
.package-tag.tag-ult { background: linear-gradient(90deg, #ffd65a, #d89b00); color: #2b1b00; }
.disc { display: inline-block; margin-left: 4px; padding: 0 5px; border-radius: 99px; background: rgba(16,185,129,.2); color: var(--green); font-size: .72rem; font-weight: 800; }

/* chat: pestañas, usuarios, emojis, borrar y menú de moderación */
.chat-tabs { display: inline-flex; gap: 4px; }
.chat-tabs button { background: none; border: 0; color: var(--muted); font: 600 .85rem var(--font); padding: 4px 8px; border-radius: var(--r-sm); cursor: pointer; }
.chat-tabs button.active { color: var(--text); background: var(--surface-2); }
.users-list { flex: 1; overflow-y: auto; padding: 8px 12px; display: flex; flex-direction: column; gap: 6px; }
.ulist-item { font-size: .88rem; }
.msg { position: relative; }
.msg-del { position: absolute; right: 2px; top: 2px; border: 0; background: rgba(0,0,0,.4); color: #fff; width: 18px; height: 18px; border-radius: 50%; font-size: .75rem; line-height: 1; cursor: pointer; opacity: 0; }
.msg:hover .msg-del, .msg:focus-within .msg-del { opacity: 1; }
@media (hover: none) { .msg-del { opacity: .7; } }
.user-pop { position: fixed; z-index: 200; min-width: 220px; max-width: 300px; background: var(--surface-2); border: 1px solid var(--border-2); border-radius: var(--r); padding: 8px; box-shadow: 0 18px 50px rgba(0,0,0,.55); display: flex; flex-direction: column; gap: 4px; }
.pop-name { padding: 2px 6px 6px; border-bottom: 1px solid var(--border); margin-bottom: 2px; }
.pop-item { display: block; text-align: left; background: none; border: 0; color: var(--text); padding: 7px 8px; border-radius: var(--r-sm); font: 500 .86rem var(--font); cursor: pointer; text-decoration: none !important; }
.pop-item:hover { background: var(--surface-3); }
.pop-sep { font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 6px 6px 2px; }
.pop-row { display: flex; flex-wrap: wrap; gap: 4px; padding: 0 4px; }
.pop-row button { background: var(--surface-3); border: 0; color: var(--text); border-radius: 99px; padding: 4px 9px; font: 600 .75rem var(--font); cursor: pointer; }
.pop-row button:hover { background: var(--pink); }
.emoji-btn { background: none; border: 0; font-size: 1.25rem; cursor: pointer; padding: 0 4px; }
.emoji-picker { border-top: 1px solid var(--border); padding: 8px 10px; background: var(--surface); }
.emoji-row { display: flex; flex-wrap: wrap; gap: 2px; }
.emoji-row button { background: none; border: 0; font-size: 1.25rem; width: 34px; height: 34px; border-radius: var(--r-sm); cursor: pointer; }
.emoji-row button:hover { background: var(--surface-2); }
.emoji-spicy { margin-top: 6px; padding-top: 6px; border-top: 1px dashed var(--border-2); color: var(--ult); }
.emoji-spicy.is-locked .emoji-row button { filter: grayscale(.7); opacity: .55; }
.anon-toggle { display: inline-flex; align-items: center; gap: 5px; font-size: .8rem; color: var(--muted); cursor: pointer; padding: 0 6px; }
.spy-bar { border-color: rgba(245,197,66,.45); }

/* perfil de modelo: redes, sueño, valoraciones, club de fans, publicaciones */
.social-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.social-links a { padding: 4px 10px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--border-2); color: var(--text); font-size: .8rem; text-decoration: none !important; }
.social-links a:hover { border-color: var(--pink); }
.stars { color: var(--gold); letter-spacing: 1px; }
.dream { border-color: rgba(245,197,66,.35); background: linear-gradient(120deg, rgba(245,197,66,.08), var(--surface)); }
.dream .goal-track { margin: 8px 0 4px; }
.fanclub-card .tier { border: 1px solid var(--border-2); border-radius: var(--r); padding: 10px 12px; margin-top: 10px; }
.fanclub-card .tier.is-mine { border-color: var(--gold); background: rgba(245,197,66,.07); }
.tier-price { color: var(--gold); font-weight: 800; }
.tier-perks { list-style: none; padding: 0; margin: 6px 0 8px; font-size: .8rem; color: var(--muted); }
.tier-perks li { padding: 2px 0; }
.post-compose textarea { margin-bottom: 8px; }
.file-btn { cursor: pointer; }
.feed { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.post { margin: 0; }
.post-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.post-head .muted { margin-left: 2px; }
.post-del { margin-left: auto; width: 28px; height: 28px; }
.post-body { margin: 0 0 10px; white-space: normal; overflow-wrap: anywhere; }
.post-media { width: 100%; max-height: 560px; object-fit: contain; border-radius: var(--r); background: #000; display: block; }
.post-locked { min-height: 260px; border-radius: var(--r); background: var(--surface-3) center/cover; display: grid; place-items: center; position: relative; overflow: hidden; }
.post-locked::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.post-locked > * { position: relative; }
.post-foot { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.like-btn { background: none; border: 1px solid var(--border-2); color: var(--text); border-radius: 99px; padding: 5px 12px; font: 600 .85rem var(--font); cursor: pointer; }
.like-btn.is-liked { color: var(--pink); border-color: var(--pink); }
.review-form { display: flex; flex-direction: column; gap: 8px; }
.star-pick { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.star-pick input { position: absolute; opacity: 0; pointer-events: none; }
.star-pick label { font-size: 1.6rem; color: var(--surface-3); cursor: pointer; }
.star-pick input:checked ~ label, .star-pick label:hover, .star-pick label:hover ~ label { color: var(--gold); }
.reviews { display: flex; flex-direction: column; gap: 8px; }
.review { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 10px 12px; }
.review p { margin: 6px 0 0; }

/* estudio */
.tier-edit { border: 1px solid var(--border-2); border-radius: var(--r); padding: 10px 14px; margin: 0 0 12px; }
.tier-edit legend { padding: 0 6px; font-weight: 700; }
.geo-select { min-height: 220px; }
.ref-rules { padding-left: 18px; font-size: .9rem; }
.ref-rules li { margin-bottom: 6px; }
.lv-ways { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 0; }
.lv-ways > div { background: var(--surface-2); border-radius: var(--r); padding: 10px 12px; }
.lv-ways p { margin: 4px 0 0; }
.lv-share { text-align: left; margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }

/* perfil de usuario, álbum y amigos */
.xp-card .goal-track { margin: 10px 0 6px; }
.xp-fill { background: linear-gradient(90deg, var(--pink), var(--gold)); }
.album { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.album-item { margin: 0; position: relative; border-radius: var(--r); overflow: hidden; background: var(--surface-2); }
.album-item img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.album-item figcaption { display: flex; gap: 4px; align-items: center; padding: 6px; }
.album-item figcaption select { padding: 4px 6px; font-size: .78rem; }
.album-item .icon-btn { width: 28px; height: 28px; flex-shrink: 0; }
.friend-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.friend-grid a { display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--muted); text-decoration: none !important; }
.page-head { margin-bottom: 14px; }
.page-head p { margin: 4px 0 0; }
.person-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.person-row:last-child { border-bottom: 0; }
.person-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.user-results { margin-top: 8px; }
.coll-img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.media-thumb { position: relative; overflow: hidden; }
.dm-sec { margin: 14px 0 6px; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); display: flex; justify-content: space-between; }

/* Ultimate */
.ult-hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px; align-items: center; padding: 26px; margin-bottom: 18px; border-radius: var(--r-lg);
  border: 1px solid rgba(245,197,66,.4); background: radial-gradient(120% 150% at 0% 0%, rgba(245,197,66,.2), transparent 55%), linear-gradient(135deg, var(--surface), var(--surface-2)); }
.ult-hero h1 { font: 500 2.2rem/1.1 var(--serif); margin: 8px 0 6px; }
.ult-price { margin-top: 10px; font-size: 1.05rem; }
.ult-price strong { font-size: 1.8rem; color: var(--ult); }
.ult-cta { display: flex; flex-direction: column; gap: 8px; }
.ult-perks { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; margin-bottom: 14px; }
.ult-perk { display: flex; gap: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 12px; }
.ult-perk p { margin: 2px 0 0; }
.ult-ico { width: 38px; height: 38px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: rgba(245,197,66,.14); font-size: 1.1rem; color: var(--ult); }

/* Ligas */
.leagues { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.league-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 4px 18px; }
.league-card summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 14px 0; font-size: 1.15rem; }
.league-card summary::-webkit-details-marker { display: none; }
.league-card summary::after { content: '⌄'; margin-left: auto; color: var(--muted); }
.league-card[open] summary::after { content: '⌃'; }
.league-card summary .lv { transform: scale(1.35); margin-right: 10px; }
.league-card h3 { font-size: 1.35rem; border-top: 1px solid var(--border); padding-top: 14px; }
.league-card h4 { margin: 12px 0 8px; }
.benefit { display: flex; gap: 14px; align-items: flex-start; background: var(--surface-2); border-radius: var(--r); padding: 12px 14px; margin-bottom: 8px; }
.benefit p { margin: 4px 0 0; }
.benefit-ico .lv { transform: scale(1.3); margin: 6px 6px 0; }
.hexa { display: inline-grid; place-items: center; width: 34px; height: 30px; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); font-size: 1rem; color: #fff; }
.c-bg-grey { background: linear-gradient(160deg, #c4c4c4, #6b6b6b); } .c-bg-bronze { background: linear-gradient(160deg, #f0a46a, #a35a24); }
.c-bg-silver { background: linear-gradient(160deg, #d6ecfb, #6f94b4); } .c-bg-gold { background: linear-gradient(160deg, #ffd65a, #c98700); }
.c-bg-diamond { background: linear-gradient(160deg, #e48bff, #8a1fc2); } .c-bg-royal { background: linear-gradient(160deg, #ff7a7a, #b81d1d); }
.c-bg-legend { background: linear-gradient(160deg, #ff4d6d, #8f0b24); }

/* registro de 1 a 5 personas */
.seg.seg-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.seg.seg-5 span { padding: 9px 4px; font-size: .82rem; }

/* admin */
.row-vip td { background: rgba(245,197,66,.07); }
.pill-vip { background: rgba(245,197,66,.2); color: var(--ult); }
.pkg-row input:not([type=checkbox]) { padding: 6px 8px; }

@media (max-width: 760px) {
  .ult-hero { grid-template-columns: 1fr; padding: 18px; }
  .lv-ways { grid-template-columns: 1fr; }
  .seg.seg-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .friend-grid { grid-template-columns: repeat(3, 1fr); }
  .album { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1100px) { .grid-side[style] { grid-template-columns: 1fr !important; } }
.cam-res { background: var(--bg-2); border: 1px solid var(--border-2); border-radius: var(--r-sm); padding: 9px 11px; font-weight: 600; color: var(--green); }
/* DMCA */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.legal-doc h2 { font-size: 1.05rem; margin-top: 18px; }
.legal-list { padding-left: 20px; color: var(--muted); font-size: .9rem; }
.legal-list li { margin-bottom: 4px; }
.dmca-item summary { cursor: pointer; list-style: none; }
.dmca-item summary::-webkit-details-marker { display: none; }
/* seguridad y denuncias */
.safety-check { background: rgba(239,68,68,.07); border: 1px solid rgba(239,68,68,.3); border-radius: var(--r); padding: 10px 12px; margin-bottom: 12px; }
.safety-check .check { margin: 6px 0; color: var(--text); }
.row-urgent td { background: rgba(239,68,68,.08); }
.gold-text { color: var(--gold); }
.shake { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.plain-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.plain-fieldset[hidden] { display: none; }
.seo-about { margin: 34px 0 10px; padding: 22px 24px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); color: var(--muted); font-size: .92rem; line-height: 1.6; }
.seo-about h2 { color: var(--text); font-size: 1.1rem; margin: 0 0 8px; }
.seo-about h3 { color: var(--text); font-size: .98rem; margin: 16px 0 4px; }
.seo-about p { margin: 0 0 8px; }
.cat-title { font: 500 1.45rem/1.2 var(--serif); margin: 4px 0 10px; }
.visit-bar { position: relative; display: flex; align-items: center; min-height: 24px; padding: 0 8px; border-radius: 6px; overflow: hidden; }
.visit-bar span { position: absolute; left: 0; top: 0; bottom: 0; background: rgba(233, 52, 112, .28); border-radius: 6px; }
.visit-bar strong { position: relative; }
.profit-sim { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; align-items: end; }
.profit-sim .field { margin: 0; }
.profit-out { margin-top: 12px; max-width: 760px; }
.table th.th-group { text-align: center; border-bottom: 1px solid var(--border); }

/* ---------- v13: marca de agua, ruleta y dados, bot del chat, noticias */
.watermark { position: absolute; right: 12px; bottom: 52px; display: flex; align-items: center; gap: 6px; padding: 4px 10px 4px 6px; border-radius: 999px;
  background: rgba(0, 0, 0, .28); color: rgba(255, 255, 255, .78); font: 800 .78rem/1 var(--sans, system-ui), sans-serif; letter-spacing: .06em;
  pointer-events: none; user-select: none; z-index: 3; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.watermark img { width: 22px; height: 22px; opacity: .9; }
.watermark b { color: #ff7aa8; }
.watermark small { font-weight: 600; letter-spacing: 0; opacity: .8; }
@media (max-width: 640px) { .watermark { bottom: 46px; right: 8px; font-size: .68rem; } .watermark img { width: 18px; height: 18px; } }

.game-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.btn-game { background: linear-gradient(135deg, #7c3aed, #e6336f); color: #fff; border: 0; }
.btn-game:hover { filter: brightness(1.1); }
.game-prizes { margin: 8px 0 14px; padding-left: 20px; columns: 2; column-gap: 24px; }
.game-prizes li { margin: 3px 0; break-inside: avoid; }
.game-fx { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .35); z-index: 5; pointer-events: none; }
.game-fx[hidden] { display: none; }
.wheel-wrap { position: relative; height: 78%; max-height: 300px; aspect-ratio: 1 / 1; width: auto; margin-top: 4%; }
.wheel { position: absolute; inset: 0; border-radius: 50%; border: 5px solid #fff; box-shadow: 0 8px 30px rgba(0, 0, 0, .5);
  transition: transform 4s cubic-bezier(.12, .7, .15, 1); }
.wheel-label { position: absolute; left: 50%; top: 0; height: 50%; transform-origin: bottom center; display: flex; justify-content: center; padding-top: 10%; }
.wheel-label span { writing-mode: vertical-rl; font: 700 clamp(.55rem, 1.6vw, .8rem)/1 system-ui, sans-serif; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .7); max-height: 70%; overflow: hidden; }
.wheel-pointer { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font-size: 30px; color: #fff; z-index: 2; text-shadow: 0 2px 6px rgba(0, 0, 0, .8); }
.dice-wrap { display: grid; place-items: center; }
.die { font-size: clamp(80px, 18vw, 150px); line-height: 1; color: #fff; text-shadow: 0 6px 20px rgba(0, 0, 0, .6); transition: transform .08s; }
.game-result { position: absolute; bottom: 16%; left: 50%; transform: translateX(-50%); padding: 10px 18px; border-radius: 14px; background: rgba(15, 12, 13, .88);
  color: #fff; font: 800 1.1rem/1.3 system-ui, sans-serif; text-align: center; box-shadow: 0 6px 24px rgba(0, 0, 0, .5); animation: pop .35s ease-out; max-width: 90%; }
.game-result small { display: block; font-weight: 500; font-size: .75rem; opacity: .75; }
@keyframes pop { from { transform: translateX(-50%) scale(.6); opacity: 0; } to { transform: translateX(-50%) scale(1); opacity: 1; } }
.msg-game { background: rgba(124, 58, 237, .14); border-left: 3px solid #b57bff; }

.msg-bot { font-weight: 600; border-left: 3px solid currentColor; padding-left: 8px; }
.msg-bot .bot-name { font-weight: 800; }
.bot-c-pink { color: #ff6b9d; } .bot-c-gold { color: #f5c04f; } .bot-c-green { color: #3ddc97; } .bot-c-blue { color: #4fb3ff; }
.bot-c-purple { color: #c08bff; } .bot-c-red { color: #ff6b6b; } .bot-c-orange { color: #ffa94d; } .bot-c-white { color: #f7f2ef; }
.bot-row { border-left: 3px solid currentColor; padding: 6px 0 6px 10px; margin: 8px 0; }
.bot-row input[type=text], .bot-row > input { width: 100%; color: var(--text); }
.bot-row-opts { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 6px; color: var(--muted); }
.bot-row-opts select { color: var(--text); }
.game-cfg { border-top: 1px solid var(--border); padding-top: 12px; margin-top: 12px; }
.dice-faces { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 10px; }
.lv-steps { margin: 6px 0 12px; padding-left: 20px; }
.lv-steps li { margin: 3px 0; }

.news-banner { display: flex; align-items: center; gap: 12px; padding: 10px 14px; margin: 0 0 14px; border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(230, 51, 111, .18), rgba(124, 58, 237, .18)); border: 1px solid rgba(230, 51, 111, .35); }
.news-banner > span { flex: 1; min-width: 0; }
.news-banner-close { background: none; border: 0; color: var(--muted); font-size: 1.4rem; cursor: pointer; line-height: 1; }
.news-list { display: grid; gap: 14px; max-width: 860px; }
.news-item { display: flex; gap: 16px; align-items: flex-start; }
.news-item.is-new { border-color: rgba(230, 51, 111, .5); }
.news-img { width: 180px; max-width: 35%; border-radius: var(--r); object-fit: cover; }
@media (max-width: 640px) { .news-item { flex-direction: column; } .news-img { width: 100%; max-width: 100%; } .news-banner { flex-wrap: wrap; } }

/* ---------- v14: pausa de cámara/micro y shows con entradas */
.pause-layer { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; z-index: 4;
  background: radial-gradient(circle at 50% 45%, rgba(230, 51, 111, .35), rgba(15, 12, 13, .96) 70%); color: #fff; }
.pause-layer[hidden] { display: none; }
.pause-layer > div { display: grid; gap: 6px; padding: 16px; }
.pause-icon { font-size: clamp(36px, 8vw, 64px); line-height: 1; }
.pause-layer strong { font-size: clamp(1rem, 2.6vw, 1.4rem); }
.pause-layer small { color: rgba(255, 255, 255, .75); }
.badge-mic { position: absolute; top: 12px; right: 12px; background: rgba(0, 0, 0, .6); color: #fff; z-index: 3; }
.badge-mic[hidden] { display: none; }
.av-controls { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); display: flex; gap: 8px; z-index: 5; }
.av-controls[hidden] { display: none; }
.av-btn { display: flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(0, 0, 0, .55); color: #fff; font-weight: 700; cursor: pointer; backdrop-filter: blur(6px); }
.av-btn:hover { background: rgba(0, 0, 0, .75); }
.av-btn.is-off { background: #e6336f; border-color: #e6336f; }
@media (max-width: 640px) { .av-btn span { display: none; } .av-btn { padding: 10px 12px; font-size: 1.1rem; } }
.show-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 10px 0; padding: 12px 14px;
  border-radius: var(--r-lg); border: 1px solid rgba(245, 165, 36, .45); background: linear-gradient(135deg, rgba(245, 165, 36, .14), rgba(230, 51, 111, .12)); }
.show-card[hidden] { display: none; }
.show-card.is-live { border-color: rgba(230, 51, 111, .7); }
.show-tag { font-weight: 800; color: var(--gold); margin-right: 4px; }
.show-card.is-live .show-tag { color: #ff6b9d; }
.show-ok { color: var(--green); font-weight: 700; }
.show-panel { border-color: rgba(245, 165, 36, .4); }
.msg-ticket { background: rgba(245, 165, 36, .12); border-left: 3px solid var(--gold); }

/* Redes sociales en el pie */
.footer-social { display: flex; gap: 10px; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border-2); color: var(--muted); transition: color .2s, background .2s, border-color .2s; }
.footer-social a:hover { color: #fff; background: var(--pink); border-color: var(--pink); text-decoration: none; }
.footer-social { flex-wrap: wrap; justify-content: center; }
.footer-social a.footer-phone { width: auto; padding: 0 13px; gap: 7px; border-radius: 999px; font-size: .86rem; font-weight: 600; white-space: nowrap; }


/* ---- Traducción automática de los mensajes ---- */
.chat-head { gap: 8px; }
.chat-head .mt-toggle { margin-left: auto; }
.mt-toggle { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--border-2); background: transparent; color: var(--muted); font: 700 .72rem/1 var(--font); cursor: pointer; white-space: nowrap; transition: background .15s, color .15s, border-color .15s; }
.mt-toggle:hover { color: var(--text); border-color: rgba(230, 51, 111, .5); }
.mt-toggle[aria-pressed="true"] { color: #fff; border-color: rgba(230, 51, 111, .6); background: rgba(230, 51, 111, .18); }
.mt-toggle[aria-pressed="false"] svg { opacity: .6; }
.mt-toggle:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }
@media (max-width: 420px) { .mt-toggle span { display: none; } .mt-toggle { padding: 0 7px; } }
.msg-tr { display: flex; align-items: baseline; gap: 6px; margin-top: 3px; padding: 2px 0 1px 8px; border-left: 2px solid rgba(181, 168, 169, .35); color: #ded4d2; font-size: .92em; font-style: normal; font-weight: 400; line-height: 1.38; }
.msg-tr-badge { flex: none; display: inline-flex; align-items: center; gap: 3px; padding: 1px 5px; border-radius: 4px; background: rgba(181, 168, 169, .16); color: var(--muted); font: 800 .58rem/1.6 var(--font); letter-spacing: .05em; text-transform: uppercase; cursor: help; transform: translateY(-1px); }
.msg-tr-text { min-width: 0; overflow-wrap: anywhere; }
.msg-tip .msg-tr, .msg-menu .msg-tr { border-left-color: rgba(245, 165, 36, .45); }
.dm-bubble .msg-tr { margin-top: 6px; padding: 5px 0 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); color: inherit; opacity: .9; }
.dm-head .mt-toggle { flex: none; }
.dream-title .msg-tr { font: 400 .78rem/1.35 var(--font); color: var(--muted); margin-top: 2px; }
.mt-admin .goal-track { margin: 10px 0 6px; }

/* ---- Quién tiene tokens en el chat ---- */
.tk-dot { display: inline-block; width: 11px; height: 11px; margin-right: 4px; vertical-align: -1px; border-radius: 50%; flex: none; }
.tk-dot.is-on { background: radial-gradient(circle at 34% 30%, #fff4c2 0 16%, #ffd23f 38%, #d28b00 100%); box-shadow: 0 0 0 1px rgba(0, 0, 0, .35), 0 0 7px rgba(245, 179, 1, .55); }
.tk-dot.is-off { border: 1.5px solid rgba(181, 168, 169, .55); background: transparent; }
.tk-legend { display: flex; gap: 14px; padding: 2px 0 8px; margin-bottom: 4px; border-bottom: 1px solid var(--border); color: var(--muted); font-size: .74rem; }
.tk-legend > span { display: inline-flex; align-items: center; }
.acc-age { white-space: nowrap; }

/* ---- Privados: duración mínima ---- */
.priv-note { align-self: center; color: var(--muted); font-size: .76rem; white-space: nowrap; }

/* ---- «Mi sueño» encima del directo ---- */
.dream-bar { position: relative; display: flex; align-items: center; gap: 14px; margin-bottom: 12px; padding: 12px 16px; border-radius: var(--r-lg); overflow: hidden; isolation: isolate;
  background: linear-gradient(115deg, rgba(245, 165, 36, .16), rgba(230, 51, 111, .14) 55%, rgba(24, 19, 20, .9)); border: 1px solid rgba(245, 197, 66, .38); box-shadow: 0 8px 28px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .06); }
.dream-bar[hidden] { display: none; }
.dream-bar::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, transparent 30%, rgba(255, 236, 170, .10) 45%, transparent 60%); transform: translateX(-100%); animation: dream-shine 5.5s ease-in-out infinite; }
@keyframes dream-shine { 0%, 35% { transform: translateX(-100%); } 75%, 100% { transform: translateX(100%); } }
.dream-ico { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; font-size: 1.45rem; background: radial-gradient(circle at 35% 30%, rgba(255, 236, 170, .35), rgba(245, 165, 36, .12) 70%); box-shadow: 0 0 0 1px rgba(245, 197, 66, .35), 0 0 22px rgba(245, 179, 1, .25); animation: dream-glow 3s ease-in-out infinite; }
@keyframes dream-glow { 50% { box-shadow: 0 0 0 1px rgba(245, 197, 66, .5), 0 0 30px rgba(245, 179, 1, .45); } }
.dream-main { flex: 1; min-width: 0; }
.dream-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dream-kicker { color: #ffd77a; font: 800 .66rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase; }
.dream-pct { font: 800 .95rem/1 var(--font); color: #ffe39a; font-variant-numeric: tabular-nums; }
.dream-title { margin: 3px 0 7px; font: 700 1.02rem/1.25 var(--serif); color: var(--text); overflow-wrap: anywhere; }
.dream-track { height: 9px; border-radius: 99px; background: rgba(255, 255, 255, .1); overflow: hidden; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .35); }
.dream-fill { position: relative; height: 100%; min-width: 9px; border-radius: 99px; background: linear-gradient(90deg, #f5a524, #ffd23f 55%, #fff1b8); box-shadow: 0 0 12px rgba(245, 179, 1, .55); transition: width .8s cubic-bezier(.2, .8, .2, 1); }
.dream-fill::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .22) 0 8px, transparent 8px 16px); background-size: 32px 100%; animation: dream-stripes 1.4s linear infinite; border-radius: inherit; }
@keyframes dream-stripes { to { background-position: 32px 0; } }
.dream-sub { margin-top: 5px; color: var(--muted); font-size: .76rem; }
.dream-give { flex: none; border-radius: 999px; padding: 9px 16px; font-weight: 800; box-shadow: 0 6px 18px rgba(245, 165, 36, .3); }
.dream-give:hover:not(:disabled) { transform: translateY(-1px); }
.dream-bar.is-done { border-color: rgba(16, 185, 129, .45); background: linear-gradient(115deg, rgba(16, 185, 129, .16), rgba(245, 165, 36, .12) 60%, rgba(24, 19, 20, .9)); }
.dream-bar.is-done .dream-fill { background: linear-gradient(90deg, #10b981, #6ee7b7); box-shadow: 0 0 12px rgba(16, 185, 129, .5); }
@media (max-width: 640px) {
  .dream-bar { flex-wrap: wrap; gap: 10px 12px; padding: 12px; }
  .dream-ico { width: 36px; height: 36px; font-size: 1.1rem; align-self: flex-start; }
  .dream-main { flex-basis: calc(100% - 48px); }
  .dream-give { flex-basis: 100%; padding: 9px 12px; font-size: .86rem; }
  .dream-title { font-size: .95rem; }
}
@media (prefers-reduced-motion: reduce) { .dream-bar::before, .dream-ico, .dream-fill::after { animation: none; } }

/* ---- Contrato: aviso de idioma y traducción orientativa ---- */
.contract-lang { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.contract-tr { border-color: rgba(230, 51, 111, .35); background: rgba(230, 51, 111, .05); margin-bottom: 10px; }
.contract-tr p { margin: 0 0 .7em; }

/* ---- Sección «Vídeos» ---- */
.tube-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.tube-head .section-title { margin: 0 0 4px; }
.tube-search input { width: min(320px, 80vw); padding: 9px 14px; border-radius: 999px; border: 1px solid var(--border-2); background: var(--surface); color: var(--text); font: inherit; }
.tube-tabs { margin: 10px 0 16px; }
.tube-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px 14px; }
.tube-grid-sm { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.tube-card { display: flex; flex-direction: column; gap: 8px; color: var(--text); text-decoration: none; }
.tube-thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--r); background: var(--surface-2) center / cover no-repeat; overflow: hidden; }
.tube-thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .55)); }
.tube-play { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.6rem; color: #fff; opacity: 0; transition: opacity .2s; z-index: 1; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
.tube-card:hover .tube-play, .tube-row:hover .tube-play { opacity: 1; }
.tube-card:hover .tube-thumb { box-shadow: 0 0 0 2px var(--pink); }
.tube-live { position: absolute; top: 8px; left: 8px; z-index: 1; }
.tube-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tube-title { font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tube-meta { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .8rem; }
.tube-meta .avatar-xs { width: 18px; height: 18px; }
.pager { display: flex; justify-content: center; gap: 10px; margin: 22px 0 6px; }
.watch { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.watch-title { font-size: 1.3rem; margin: 14px 0 10px; }
.watch-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.watch-model { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.watch-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.watch-live { box-shadow: 0 0 0 0 var(--pink-glow); animation: live-pulse 2s infinite; }
@keyframes live-pulse { 50% { box-shadow: 0 0 0 8px transparent; } }
.watch-desc { color: var(--muted); white-space: normal; }
.tube-list { display: flex; flex-direction: column; gap: 12px; }
.tube-row { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 10px; color: var(--text); text-decoration: none; }
.tube-row .tube-title { font-size: .86rem; }
.ad-slot { display: flex; justify-content: center; margin: 10px 0 16px; overflow: hidden; }
.ad-side { margin-top: 0; }
@media (max-width: 900px) { .watch { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .tube-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; } .tube-title { font-size: .85rem; } }

/* ---- Reproductor protegido ---- */
.vplayer { position: relative; aspect-ratio: 16 / 9; width: 100%; border-radius: var(--r-lg); overflow: hidden; background: #000 center / cover no-repeat; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.vplayer.is-on { background-image: none !important; }
.vplayer video { width: 100%; height: 100%; display: block; background: #000; }
.vplay-btn { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; border: 0; background: rgba(230, 51, 111, .92); color: #fff; font-size: 2rem; cursor: pointer; box-shadow: 0 0 0 10px rgba(230, 51, 111, .25), 0 10px 40px rgba(0, 0, 0, .5); transition: transform .2s; }
.vplay-btn:hover { transform: scale(1.06); }
.vplayer-locked { display: grid; place-items: center; text-align: center; }
.vplayer-locked > div { background: rgba(0, 0, 0, .65); padding: 18px 22px; border-radius: var(--r); backdrop-filter: blur(6px); }
.vplayer-locked .lock { font-size: 1.8rem; }
.vwm { position: absolute; z-index: 2; display: flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 8px; background: rgba(0, 0, 0, .35); color: rgba(255, 255, 255, .85); font: 800 .7rem/1 var(--font); letter-spacing: .06em; pointer-events: none; transition: top .8s, left .8s, right .8s, bottom .8s; }
.vwm img { width: 16px; height: 16px; }
.vwm b { color: var(--pink); }
.vwm small { font-weight: 600; opacity: .8; }
.vwm[data-pos="0"] { top: 12px; left: 12px; }
.vwm[data-pos="1"] { top: 12px; right: 12px; }
.vwm[data-pos="2"] { bottom: 56px; right: 12px; }
.vwm[data-pos="3"] { bottom: 56px; left: 12px; }

/* ---- Intro de la marca antes de cada vídeo ---- */
.vintro { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(ellipse at center, #2a0d18 0%, #0b0708 70%); animation: vintro-in .35s ease-out both; }
.vintro.out { animation: vintro-out .5s ease-in both; }
@keyframes vintro-in { from { opacity: 0; } }
@keyframes vintro-out { to { opacity: 0; transform: scale(1.08); } }
.vintro-rays { position: absolute; width: 160%; aspect-ratio: 1; background: conic-gradient(from 0deg, transparent 0 10%, rgba(230, 51, 111, .18) 12%, transparent 16% 35%, rgba(245, 165, 36, .12) 38%, transparent 42% 60%, rgba(230, 51, 111, .16) 63%, transparent 67% 100%);
  animation: vintro-spin 3.2s linear both; }
@keyframes vintro-spin { from { transform: rotate(0deg) scale(.6); opacity: 0; } 25% { opacity: 1; } to { transform: rotate(90deg) scale(1); opacity: .9; } }
.vintro-core { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.vintro-logo { width: clamp(64px, 14vw, 120px); height: auto; filter: drop-shadow(0 0 24px rgba(230, 51, 111, .9)); animation: vintro-logo 1.1s cubic-bezier(.2, 1.4, .4, 1) both, vintro-glow 1.4s 1.1s ease-in-out infinite alternate; }
@keyframes vintro-logo { from { transform: scale(.2) rotate(-25deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes vintro-glow { to { filter: drop-shadow(0 0 40px rgba(230, 51, 111, 1)) drop-shadow(0 0 8px rgba(255, 255, 255, .6)); } }
.vintro-word { display: flex; gap: .06em; font: 900 clamp(1.6rem, 6vw, 3.4rem)/1 var(--font); letter-spacing: .14em; color: #fff; text-shadow: 0 0 22px rgba(230, 51, 111, .7); }
.vintro-word span { display: inline-block; opacity: 0; animation: vintro-letter .45s cubic-bezier(.2, 1.3, .4, 1) both; animation-delay: calc(.55s + var(--i) * 70ms); }
@keyframes vintro-letter { from { opacity: 0; transform: translateY(26px) scale(.6); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.vintro-live { padding: 5px 16px; border-radius: 999px; background: linear-gradient(90deg, var(--pink), #ff5d8f); color: #fff; font: 900 clamp(.8rem, 2.4vw, 1.1rem)/1 var(--font); letter-spacing: .4em; text-indent: .4em;
  box-shadow: 0 0 26px rgba(230, 51, 111, .8); animation: vintro-pop .5s 1.45s cubic-bezier(.2, 1.6, .4, 1) both; }
@keyframes vintro-pop { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: none; } }
.vintro-sweep { position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .22) 50%, transparent 65%); transform: translateX(-100%); animation: vintro-sweep .9s 1.8s ease-in-out both; }
@keyframes vintro-sweep { to { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .vintro, .vintro * { animation-duration: .01s !important; animation-delay: 0s !important; } }
#mm-body .vplayer { max-height: 80vh; }

/* ---- Personas de la cuenta ---- */
.people-box { margin: 10px 0 16px; padding: 12px 14px; border-radius: var(--r); background: var(--surface-2); }
.people-list { list-style: none; margin: 8px 0 6px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.people-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.person-remove { margin-left: auto; }
.free-hint { margin-top: 4px; }

/* ===== Estudio: subir fotos y vídeos (arrastrar, portada automática, subida por trozos) ===== */
.upl .dropzone { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; padding: 28px 16px; margin-bottom: 14px;
  border: 2px dashed var(--border-2); border-radius: var(--r); background: var(--surface-2); cursor: pointer; transition: border-color .15s, background .15s; }
.upl .dropzone:hover, .upl .dropzone.is-over { border-color: var(--pink); background: rgba(233, 30, 120, .08); }
.upl .dropzone input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dz-icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--pink); color: #fff; font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.upl-file { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.upl-cover { position: relative; flex: none; width: 150px; aspect-ratio: 16 / 9; border-radius: var(--r-sm); background: var(--surface-3); overflow: hidden; }
.upl-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.upl-cover img:not([src]) { visibility: hidden; }
.upl-dur, .media-dur { position: absolute; right: 6px; bottom: 6px; z-index: 1; padding: 1px 6px; border-radius: 5px; background: rgba(0, 0, 0, .78); color: #fff; font-size: .75rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.upl-kind { position: absolute; left: 6px; top: 6px; padding: 1px 7px; border-radius: 5px; background: rgba(0, 0, 0, .7); color: #fff; font-size: .72rem; font-weight: 700; }
.upl-file-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.upl-file-info strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link-btn { background: none; border: 0; padding: 0; color: var(--pink); font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; text-align: left; }
.link-btn:hover { text-decoration: underline; }
.upl-frame { margin-bottom: 8px; }
.upl-frame input[type=range] { width: 100%; accent-color: var(--pink); }
.upl-own-cover { display: inline-block; margin-top: -4px; }
.access-pick { border: 0; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.access-pick legend { font-size: .85rem; color: var(--muted); margin-bottom: 6px; padding: 0; }
.access-opt { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--border-2); border-radius: var(--r-sm); background: var(--surface-2); cursor: pointer; transition: border-color .15s, background .15s; }
.access-opt input { width: auto; flex: none; margin: 3px 0 0; accent-color: var(--pink); }
.access-opt span { display: flex; flex-direction: column; gap: 2px; }
.access-opt small { color: var(--muted); font-size: .8rem; line-height: 1.35; }
.access-opt:has(input:checked) { border-color: var(--pink); background: rgba(233, 30, 120, .08); }
.upl-progress { margin: 4px 0 12px; padding: 12px; border-radius: var(--r-sm); background: var(--surface-2); }
.upl-progress .progress { height: 10px; margin-bottom: 8px; }
.upl-stats { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.upl-stats strong { font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.upl-progress p { margin: 6px 0 8px; }
.upl.is-uploading .access-pick, .upl.is-uploading .upl-frame, .upl.is-uploading #upl-change { pointer-events: none; opacity: .55; }
.media-filter { margin-bottom: 10px; }
.media-status { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.chip { display: inline-block; padding: 1px 8px; border-radius: 99px; font-size: .76rem; font-weight: 700; line-height: 1.6; }
.chip-ok { background: rgba(16, 185, 129, .15); color: var(--green); }
.chip-bad { background: rgba(239, 68, 68, .15); color: var(--red); }
.chip-wait { background: rgba(245, 158, 11, .15); color: #f59e0b; }
@media (max-width: 760px) { .upl-cover { width: 120px; } }

/* ===== v19: categorías, portadas de repuesto, aviso de directo en los vídeos, comentarios, nivel de las modelos ===== */
[data-ph] { position: relative; background: radial-gradient(circle at 30% 18%, hsl(var(--ph-h, 330) 78% 46%), hsl(var(--ph-h, 330) 60% 18%) 58%, #120a0e) !important; }
[data-ph]::before { content: attr(data-ph); position: absolute; inset: 0; display: grid; place-items: center; font: 800 clamp(2rem, 9vw, 3.6rem)/1 'Playfair Display', Georgia, serif; color: rgba(255, 255, 255, .92); text-shadow: 0 6px 24px rgba(0, 0, 0, .35); pointer-events: none; }
.avatar-sm[data-ph]::before, .vlive-av[data-ph]::before, .live-mini-img[data-ph]::before { font-size: 1rem; }
.vplayer.is-on[data-ph]::before { display: none; }
.cat-pick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.cat-chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 99px; border: 1px solid var(--border-2); background: var(--surface-2); color: var(--text); font-size: .84rem; font-weight: 600; cursor: pointer; text-decoration: none; white-space: nowrap; transition: border-color .15s, background .15s; }
.cat-chip small { color: var(--muted); font-weight: 600; }
.cat-chip:hover { border-color: var(--pink); text-decoration: none; }
.cat-chip.active, .cat-pick .cat-chip:has(input:checked) { border-color: var(--pink); background: rgba(233, 30, 120, .16); color: #fff; }
.cat-pick .cat-chip { position: relative; }
.cat-pick .cat-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.cat-pick .cat-chip:has(input:disabled) { opacity: .45; cursor: not-allowed; }
.cat-pick .cat-chip:has(input:focus-visible) { outline: 2px solid var(--pink); outline-offset: 2px; }
.cat-filter { display: flex; gap: 6px; overflow-x: auto; padding: 4px 0 10px; margin-bottom: 6px; scrollbar-width: thin; }
.cat-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 14px; }
.media-cats { margin-top: 6px; font-size: .85rem; }
.media-cats summary { cursor: pointer; color: var(--muted); }
.media-cats[open] summary { margin-bottom: 4px; }
.vplayer-wrap { position: relative; }
.vlive { position: absolute; left: 12px; top: 12px; z-index: 6; display: flex; align-items: center; gap: 9px; max-width: calc(100% - 24px); padding: 6px 12px 6px 6px; border-radius: 99px;
  background: rgba(15, 10, 12, .82); border: 1px solid rgba(239, 68, 68, .55); color: #fff; font-size: .86rem; text-decoration: none; box-shadow: 0 6px 20px rgba(0, 0, 0, .4);
  opacity: 0; transform: translateY(-6px); animation: vlive-in .4s ease 3.6s forwards; }
.vlive:hover { text-decoration: none; border-color: #ef4444; }
.vlive > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vlive-av { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--surface-3) center / cover; box-shadow: 0 0 0 2px #ef4444; }
.vlive-go { flex: none; padding: 3px 10px; border-radius: 99px; background: #ef4444; font-weight: 700; font-size: .8rem; }
@keyframes vlive-in { to { opacity: 1; transform: none; } }
.live-strip { margin: 4px 0 18px; }
.live-strip-row { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; }
.live-mini { flex: none; width: 140px; display: flex; flex-direction: column; gap: 3px; color: var(--text); text-decoration: none; }
.live-mini:hover { text-decoration: none; }
.live-mini-img { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--r-sm); background: var(--surface-3) center / cover; box-shadow: 0 0 0 2px rgba(239, 68, 68, .7); }
.live-mini-img .badge { position: absolute; left: 6px; top: 6px; z-index: 1; }
.comments { margin-top: 26px; }
.comment-form { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 16px; }
.comment-input { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.comment-input textarea { width: 100%; resize: vertical; }
.comment-input .row-end { align-items: center; gap: 10px; }
.comment-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 12px; }
.comment { display: flex; gap: 10px; }
.avatar-sm { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--surface-3) center / cover; }
.comment-main { flex: 1; min-width: 0; }
.comment-head { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.comment-head a { color: var(--text); }
.comment-head .icon-btn { margin-left: auto; width: 26px; height: 26px; font-size: 16px; background: var(--surface-2); }
.comment-body { margin: 3px 0 0; white-space: pre-wrap; word-break: break-word; line-height: 1.45; }
.pill-model { display: inline-block; padding: 0 7px; border-radius: 99px; background: var(--pink); color: #fff; font-size: .7rem; font-weight: 700; line-height: 1.6; }
.lv-model { vertical-align: middle; }
.studio-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 2fr); gap: 10px; margin-bottom: 16px; }
.studio-stats .kpi strong { display: flex; align-items: center; gap: 8px; }
.kpi-level .goal-track { margin: 8px 0 6px; }
.kpi-level small { display: block; line-height: 1.35; }
@media (max-width: 760px) { .studio-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } .studio-stats .kpi-level { grid-column: 1 / -1; } .vlive { font-size: .78rem; } }
.footer-social a.footer-wa:hover { background: #25d366; border-color: #25d366; color: #fff; }
/* ---------- Estudio: panel de inicio, niveles de pago y formas de cobro ---------- */
a.kpi-level { color: var(--text); text-decoration: none; display: block; }
a.kpi-level:hover { border-color: var(--border-2); }
.lvl-stars { color: var(--gold); letter-spacing: 1px; }
.sh-hero { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 20px 22px; margin-bottom: 16px; border-radius: var(--r-lg);
  border: 1px solid rgba(230, 51, 111, .25); background: radial-gradient(120% 160% at 0% 0%, rgba(230, 51, 111, .2), transparent 60%), linear-gradient(135deg, var(--surface), var(--surface-2)); }
.sh-hero h2 { margin: 0 0 4px; font: 700 1.6rem var(--serif); }
.sh-hero p { margin: 0; }
.sh-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.sh-money { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.sh-stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sh-stat span { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.sh-stat strong { font-size: 1.55rem; line-height: 1.2; }
.sh-stat small { color: var(--muted); font-size: .8rem; }
.sh-stat.is-main { border-color: rgba(16, 185, 129, .35); background: linear-gradient(135deg, rgba(16, 185, 129, .12), var(--surface)); }
.sh-stat.is-main strong { color: var(--green); font-size: 1.9rem; }
.lvl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.lvl-card { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 18px; border: 1px solid var(--border-2); background: var(--surface); }
.lvl-card::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .9; }
.lvl-live::before { background: radial-gradient(120% 120% at 100% 0%, rgba(230, 51, 111, .22), transparent 55%); }
.lvl-video::before { background: radial-gradient(120% 120% at 100% 0%, rgba(245, 165, 36, .2), transparent 55%); }
.lvl-card > * { position: relative; }
.lvl-top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.lvl-ico { font-size: 2.2rem; line-height: 1; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .4)); }
.lvl-kind { display: block; font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.lvl-name { display: block; font-size: 1.35rem; line-height: 1.2; }
.lvl-num { font-size: .8rem; font-weight: 500; color: var(--muted); }
.lvl-bonus { margin-left: auto; background: rgba(16, 185, 129, .16); color: var(--green); border: 1px solid rgba(16, 185, 129, .35); padding: 5px 12px; border-radius: 99px; font-weight: 700; white-space: nowrap; }
.lvl-video .lvl-bonus { background: rgba(245, 165, 36, .14); color: var(--gold); border-color: rgba(245, 165, 36, .35); letter-spacing: 1px; }
.lvl-bonus.is-zero { background: var(--surface-2); color: var(--muted); border-color: var(--border-2); }
.lvl-off { opacity: .25; }
.lvl-now { margin: 0 0 8px; }
.lvl-track { height: 10px; background: rgba(255, 255, 255, .1); border-radius: 99px; overflow: hidden; margin-bottom: 8px; }
.lvl-track span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--pink), var(--gold)); transition: width .8s; }
.lvl-next { margin: 0 0 6px; font-size: .92rem; }
.lvl-what { margin: 0; }
.lvl-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.lvl-steps p { margin: 4px 0 8px; }
.lvl-ladder { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.lvl-ladder li { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 7px 10px; border-radius: var(--r-sm); background: var(--surface-2); font-size: .9rem; }
.lvl-ladder li.is-done { opacity: .6; }
.lvl-ladder li.is-cur { background: rgba(230, 51, 111, .16); border: 1px solid rgba(230, 51, 111, .45); font-weight: 700; }
.sh-checks { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 6px; }
.sh-checks li { display: flex; gap: 10px; align-items: center; padding: 9px 12px; border-radius: var(--r-sm); background: var(--surface-2); }
.sh-checks li span { width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid var(--border-2); font-size: .8rem; flex: none; }
.sh-checks li.is-done { color: var(--muted); }
.sh-checks li.is-done span { background: var(--green); border-color: var(--green); color: #04130d; }
.pay-methods { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.pay-methods-title { width: 100%; font-size: .85rem; color: var(--muted); }
.pay-method { position: relative; cursor: pointer; }
.pay-method input { position: absolute; opacity: 0; pointer-events: none; }
.pay-method span { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: var(--r); border: 1px solid var(--border-2); background: var(--surface-2); font-weight: 600; }
.pay-method input:checked + span { border-color: var(--pink); background: rgba(230, 51, 111, .16); box-shadow: 0 0 0 3px var(--pink-glow); }
.pay-method input:focus-visible + span { outline: 2px solid var(--pink); outline-offset: 2px; }
@media (max-width: 900px) { .sh-money { grid-template-columns: 1fr 1fr; } .lvl-grid, .lvl-steps { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .sh-money { grid-template-columns: 1fr; } .sh-actions .btn { flex: 1; } .lvl-name { font-size: 1.15rem; } }

/* ======================================================================
   Estudio de la modelo: menú lateral, cabecera y panel de inicio
   ====================================================================== */
.page-studio .main { max-width: none; padding: 0; }
.std { display: grid; grid-template-columns: 268px minmax(0, 1fr); min-height: calc(100vh - 64px); }
.std-side { position: sticky; top: 64px; align-self: start; height: calc(100vh - 64px); overflow-y: auto; padding: 18px 14px 20px; background: var(--bg-2); border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; scrollbar-width: thin; }
.std-me { display: flex; align-items: center; gap: 12px; padding: 4px 4px 2px; }
.std-avatar { position: relative; width: 52px; height: 52px; border-radius: 50%; flex: none; background: var(--surface-3) center/cover no-repeat; box-shadow: 0 0 0 2px var(--bg-2), 0 0 0 4px var(--border-2); }
.std.is-live .std-avatar { box-shadow: 0 0 0 2px var(--bg-2), 0 0 0 4px var(--red); }
.std-live-dot { position: absolute; right: -1px; bottom: -1px; width: 14px; height: 14px; border-radius: 50%; background: var(--red); border: 3px solid var(--bg-2); }
.std-me-txt { display: grid; min-width: 0; }
.std-me-txt strong { font-size: 1.02rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.std-me-txt span { color: var(--muted); font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.std-chips { display: flex; flex-wrap: wrap; gap: 6px; text-decoration: none !important; }
.std-chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 99px; font-size: .76rem; font-weight: 600; color: var(--text); background: var(--surface); border: 1px solid var(--border-2); }
.std-chip b { font-weight: 800; }
.std-chip.is-live b { color: var(--green); }
.std-chip .lvl-stars { letter-spacing: 0; }
.std-golive { font-weight: 700; }
.std-golive.is-on { background: rgba(239, 68, 68, .14); border: 1px solid rgba(239, 68, 68, .5); color: #fecaca; }
.std-pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(239, 68, 68, .6); animation: stdPulse 1.6s infinite; }
@keyframes stdPulse { 0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, .55); } 70% { box-shadow: 0 0 0 9px rgba(239, 68, 68, 0); } 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); } }
.std-balance { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 0 8px; padding: 11px 13px; border-radius: var(--r); background: linear-gradient(135deg, rgba(16, 185, 129, .13), var(--surface)); border: 1px solid rgba(16, 185, 129, .3); color: var(--text); text-decoration: none !important; }
.std-balance span { grid-column: 1 / -1; font-size: .7rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.std-balance strong { font-size: 1.3rem; color: var(--green); }
.std-balance em { font-style: normal; font-size: .8rem; font-weight: 700; color: var(--text); opacity: .8; }
.std-balance:hover em { opacity: 1; }
.std-nav { display: flex; flex-direction: column; gap: 1px; margin-top: 4px; }
.std-group { margin: 12px 10px 4px; font-size: .68rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--dim); }
.std-link { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--r-sm); color: var(--muted); font-weight: 600; font-size: .9rem; text-decoration: none !important; transition: background .12s, color .12s; }
.std-link:hover { background: var(--surface); color: var(--text); }
.std-link.active { background: var(--surface-2); color: var(--text); box-shadow: inset 3px 0 0 var(--pink); }
.std-ico { width: 22px; text-align: center; flex: none; }
.std-label { flex: 1; min-width: 0; }
.std-badge { min-width: 20px; padding: 1px 7px; border-radius: 99px; background: var(--pink); color: #fff; font-size: .68rem; font-weight: 800; text-align: center; }
.std-badge.is-live { background: var(--red); letter-spacing: .04em; }
.std-side-foot { margin-top: auto; padding: 14px 10px 0; border-top: 1px solid var(--border); display: grid; gap: 7px; font-size: .8rem; }
.std-side-foot a { color: var(--muted); }
.std-side-foot a:hover { color: var(--text); }
.std-main { padding: 24px 32px 48px; min-width: 0; max-width: 1480px; }
.std-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; flex-wrap: wrap; padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px solid var(--border); }
.std-top h1 { margin: 0 0 4px; font-size: 1.55rem; display: flex; align-items: center; gap: 10px; }
.std-top p { margin: 0; color: var(--muted); font-size: .92rem; }
.std-top-stats { display: flex; gap: 22px; }
.std-top-stats div { display: grid; text-align: right; }
.std-top-stats span { font-size: .68rem; text-transform: uppercase; letter-spacing: .07em; color: var(--dim); }
.std-top-stats strong { font-size: 1.05rem; }

/* Panel de inicio */
.dash-hero { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; padding: 22px 26px; margin-bottom: 18px; border-radius: var(--r-lg);
  border: 1px solid rgba(230, 51, 111, .22); background: radial-gradient(90% 180% at 0% 0%, rgba(230, 51, 111, .2), transparent 60%), radial-gradient(70% 160% at 100% 100%, rgba(245, 165, 36, .08), transparent 60%), var(--surface); }
.dash-hero h1 { margin: 0 0 4px; font: 700 1.75rem/1.2 var(--serif); }
.dash-hero p { margin: 0; }
.dash-date { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--rose); margin-bottom: 4px !important; }
.dash-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.dash-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.dash-kpi { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); color: var(--text); text-decoration: none !important; min-width: 0; transition: border-color .15s, transform .15s; }
a.dash-kpi:hover { border-color: var(--border-2); transform: translateY(-1px); }
.dash-kpi-label { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.dash-kpi strong { font-size: 1.7rem; line-height: 1.15; font-variant-numeric: tabular-nums; }
.dash-kpi small { font-size: .8rem; color: var(--muted); }
.dash-kpi.is-money { background: linear-gradient(140deg, rgba(16, 185, 129, .15), var(--surface) 70%); border-color: rgba(16, 185, 129, .32); }
.dash-kpi.is-money strong { color: var(--green); }
.dash-up { color: var(--green) !important; font-weight: 600; }
.dash-down { color: #f87171 !important; font-weight: 600; }
.dash-mini-track { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .09); overflow: hidden; margin: 4px 0 2px; }
.dash-mini-track span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--pink), var(--gold)); }
.dash-kpi.is-money .dash-mini-track span { background: var(--green); }
.dash-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-bottom: 4px; }
.dash-row-chart { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); }
.dash-card { margin-bottom: 16px; }
.dash-card h3 { margin: 0 0 4px; font-size: 1.02rem; }
.dash-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 8px; }
.dash-card-head p { margin: 2px 0 0; }
.dash-chart-wrap { position: relative; margin-top: 6px; }
.dash-chart { display: block; width: 100%; height: auto; overflow: visible; }
.dc-grid { stroke: rgba(255, 238, 235, .07); stroke-width: 1; }
.dc-grid.is-base { stroke: rgba(255, 238, 235, .2); }
.dc-ylab, .dc-xlab { fill: var(--dim); font: 500 11px var(--font); font-variant-numeric: tabular-nums; }
.dc-hit { fill: transparent; cursor: pointer; }
.dc-bar { fill: var(--pink); transition: opacity .12s; }
.dc-day.is-today .dc-bar { fill: #ff5c8f; }
.dash-chart-wrap:hover .dc-bar { opacity: .45; }
.dash-chart-wrap .dc-day.is-hover .dc-bar { opacity: 1; }
.dc-day.is-hover .dc-hit { fill: rgba(255, 238, 235, .04); }
.dash-tip { position: absolute; top: -6px; transform: translate(-50%, -100%); padding: 6px 10px; border-radius: var(--r-sm); background: var(--surface-3); border: 1px solid var(--border-2); color: var(--text); font-size: .82rem; font-weight: 600; white-space: nowrap; pointer-events: none; box-shadow: 0 8px 24px rgba(0, 0, 0, .45); }
.dash-table { margin-top: 10px; font-size: .85rem; }
.dash-table summary { cursor: pointer; color: var(--muted); }
.dash-table .table-wrap { max-height: 260px; overflow-y: auto; margin-top: 8px; }
.dash-empty { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 34px 16px; border: 1px dashed var(--border-2); border-radius: var(--r); margin-top: 10px; }
.dash-empty > span { font-size: 2rem; }
.dash-empty p { margin: 0; }
.dash-types { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 12px; }
.dash-types li { display: grid; grid-template-columns: 1fr auto; gap: 5px 10px; align-items: center; font-size: .9rem; }
.dash-types strong { font-variant-numeric: tabular-nums; }
.dash-type-bar { grid-column: 1 / -1; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.dash-type-bar span { display: block; height: 100%; border-radius: 99px; background: var(--pink); }
.dash-feed { list-style: none; margin: 10px 0 12px; padding: 0; display: grid; }
.dash-feed li { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--border); }
.dash-feed li:last-child { border-bottom: 0; }
.dash-feed-ico { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); flex: none; }
.dash-feed-txt { flex: 1; min-width: 0; display: grid; }
.dash-feed-txt strong, .dash-feed-txt span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-feed-amt { display: grid; text-align: right; font-weight: 700; color: var(--green); font-variant-numeric: tabular-nums; }
.dash-feed-amt small { color: var(--dim); font-weight: 500; font-size: .74rem; }
.dash-fans { list-style: none; margin: 10px 0 10px; padding: 0; display: grid; gap: 6px; }
.dash-fans li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--r-sm); background: var(--surface-2); }
.dash-rank { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; font-weight: 800; background: var(--surface-3); color: var(--muted); flex: none; }
.dash-rank.r1 { background: linear-gradient(135deg, #f8d26a, #c8901a); color: #2a1a00; }
.dash-rank.r2 { background: linear-gradient(135deg, #e4e4ea, #9a9aa6); color: #1d1d22; }
.dash-rank.r3 { background: linear-gradient(135deg, #e6a274, #9c5a2e); color: #2a1406; }
.dash-fan-name { flex: 1; min-width: 0; display: grid; }
.dash-fan-name small { font-size: .74rem; }
.dash-fans strong { font-variant-numeric: tabular-nums; }
.dash-progress-pill { font-size: .8rem; font-weight: 700; padding: 2px 10px; border-radius: 99px; background: var(--surface-2); color: var(--muted); }
.sh-checks li span:empty::before { content: ''; }

@media (max-width: 1280px) {
  .dash-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-row-chart { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .std { grid-template-columns: 1fr; }
  .std-side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 10px 14px; border-right: 0; border-bottom: 1px solid var(--border); background: rgba(10, 8, 9, .96); backdrop-filter: blur(10px); }
  .std-me { padding: 0; flex: 1 1 180px; min-width: 0; }
  .std-avatar { width: 38px; height: 38px; }
  .std-chips, .std-side-foot, .std-group { display: none; }
  .std-golive { display: inline-flex; width: auto; padding: 8px 14px; font-size: .85rem; }
  .std.tab-home .std-golive { display: none; } /* en el inicio ya está el botón grande */
  .std-balance { display: none; }
  .std-nav { order: 9; flex: 0 0 calc(100% + 28px); flex-direction: row; gap: 6px; overflow-x: auto; margin: 0 -14px; padding: 2px 14px 4px; scrollbar-width: none; }
  .std-nav::-webkit-scrollbar { display: none; }
  .std-link { flex: none; padding: 7px 12px; border-radius: 99px; background: var(--surface); font-size: .84rem; }
  .std-link.active { box-shadow: none; background: var(--pink); color: #fff; }
  .std-main { padding: 18px 16px 40px; }
  .std-top { align-items: flex-start; }
  .std-top-stats { width: 100%; justify-content: space-between; }
  .std-top-stats div { text-align: left; }
  .dash-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .dash-kpis { grid-template-columns: 1fr 1fr; gap: 10px; }
  .dash-kpi { padding: 12px 14px; }
  .dash-kpi strong { font-size: 1.3rem; }
  .dash-hero { padding: 18px; }
  .dash-hero h1 { font-size: 1.4rem; }
  .dash-actions, .dash-actions .btn { width: 100%; }
  .std-top h1 { font-size: 1.3rem; }
}

/* ---------- Apple Pay y Google Pay (por PayPal) en la tienda y en Ultimate ---------- */
.pay-wallets { display: grid; gap: 10px; margin-bottom: 10px; }
.pay-wallets:empty { display: none; }
.pay-wallet { width: 100%; min-height: 45px; }
.pay-gpay > div, .pay-gpay button { width: 100% !important; min-height: 45px; }
.apple-pay-btn { display: block; width: 100%; height: 45px; border: 0; border-radius: 4px; cursor: pointer;
  -webkit-appearance: -apple-pay-button; -apple-pay-button-type: buy; -apple-pay-button-style: white; }
@supports not (-webkit-appearance: -apple-pay-button) { .pay-apay { display: none; } }
/* Los botones de PayPal traen un z-index alto: se aíslan para que no tapen el menú de la cabecera */
#paypal-buttons, #ult-paypal, .pay-wallets { position: relative; z-index: 0; isolation: isolate; }
@media (max-width: 600px) {
  .profile-cover { margin-bottom: 48px; }
  .profile-cover .avatar-xl { width: 84px; height: 84px; left: 16px; bottom: -36px; }
}
.upload-hint { display: block; margin-top: 4px; font-size: .78rem; color: var(--muted); line-height: 1.4; }

/* ---------- Sección pública «Fotos» ---------- */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-bottom: 18px; }
.photo-card { display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: var(--surface); border: 1px solid var(--border); color: var(--text); text-decoration: none !important; transition: transform .15s, border-color .15s; }
.photo-card:hover { transform: translateY(-2px); border-color: var(--border-2); }
.photo-img { position: relative; aspect-ratio: 3 / 4; background: var(--surface-3) center/cover no-repeat; }
.photo-info { display: flex; align-items: center; gap: 8px; padding: 8px 10px; min-width: 0; }
.photo-info > span:last-child { display: grid; min-width: 0; }
.photo-info strong, .photo-info small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.photo-info strong { font-size: .85rem; }
.photo-info small { color: var(--muted); font-size: .76rem; }
.photo-box { position: fixed; inset: 0; z-index: 120; background: rgba(0, 0, 0, .94); display: grid; grid-template-rows: 1fr auto; }
.photo-box[hidden] { display: none; }
.photo-box-stage { margin: 0; display: grid; place-items: center; padding: 48px 64px 10px; min-height: 0; }
.photo-box-stage img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border-radius: var(--r-sm); }
.photo-box-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 18px 18px; }
.photo-box-close { position: absolute; top: 10px; right: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; font-size: 1.6rem; cursor: pointer; }
.photo-box-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 46px; height: 64px; border: 0; border-radius: var(--r); background: rgba(255, 255, 255, .08); color: #fff; font-size: 2rem; cursor: pointer; }
.photo-box-nav:hover, .photo-box-close:hover { background: rgba(255, 255, 255, .18); }
.photo-box-nav.is-prev { left: 10px; } .photo-box-nav.is-next { right: 10px; }
@media (max-width: 560px) {
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .photo-box-stage { padding: 52px 8px 6px; }
  .photo-box-nav { width: 38px; height: 52px; font-size: 1.6rem; }
}

/* ======================================================================
   Centro de soporte (clientes y modelos), conversación y bandeja del admin
   ====================================================================== */
.sup { max-width: 1240px; margin: 0 auto; }
.sup-hero { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 26px 28px; margin-bottom: 18px; border-radius: var(--r-lg);
  border: 1px solid rgba(230, 51, 111, .22); background: radial-gradient(90% 180% at 0% 0%, rgba(230, 51, 111, .2), transparent 60%), radial-gradient(70% 160% at 100% 100%, rgba(59, 130, 246, .1), transparent 60%), var(--surface); }
.sup-hero h1 { margin: 6px 0 6px; font: 700 2rem/1.15 var(--serif); }
.sup-hero p { margin: 0; color: var(--muted); max-width: 620px; }
.sup-kicker { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rose); }
.sup-hero-stats { display: flex; gap: 10px; flex-wrap: wrap; }
.sup-hero-stats div { display: grid; gap: 2px; min-width: 120px; padding: 12px 16px; border-radius: var(--r); background: rgba(255, 255, 255, .04); border: 1px solid var(--border); }
.sup-hero-stats strong { font-size: 1.25rem; }
.sup-hero-stats span { font-size: .76rem; color: var(--muted); }
.sup-hero-stats .is-vip { border-color: rgba(245, 165, 36, .5); background: rgba(245, 165, 36, .1); }
.sup-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.sup h2 { margin: 0 0 14px; font-size: 1.15rem; }
.sup-label { display: block; width: 100%; font-size: .85rem; font-weight: 600; margin-bottom: 8px; }
.sup-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; margin-bottom: 14px; }
.sup-cats .sup-label { grid-column: 1 / -1; margin: 0; }
.sup-cat { position: relative; cursor: pointer; }
.sup-cat input { position: absolute; opacity: 0; pointer-events: none; }
.sup-cat span { display: flex; align-items: center; gap: 8px; height: 100%; padding: 10px 12px; border-radius: var(--r); border: 1px solid var(--border-2); background: var(--surface-2); font-size: .86rem; line-height: 1.3; transition: border-color .12s, background .12s; }
.sup-cat span b { font-size: 1.15rem; }
.sup-cat:hover span { border-color: rgba(230, 51, 111, .5); }
.sup-cat input:checked + span { border-color: var(--pink); background: rgba(230, 51, 111, .14); box-shadow: 0 0 0 3px var(--pink-glow); font-weight: 600; }
.sup-cat input:focus-visible + span { outline: 2px solid var(--pink); outline-offset: 2px; }
.sup-count { font-weight: 400; float: right; }
.sup-drop { margin: 4px 0 14px; border: 1.5px dashed var(--border-2); border-radius: var(--r); padding: 6px; transition: border-color .12s, background .12s; }
.sup-drop.is-over { border-color: var(--pink); background: rgba(230, 51, 111, .08); }
.sup-drop-btn { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 0; background: none; color: var(--text); text-align: left; cursor: pointer; border-radius: var(--r-sm); font: inherit; }
.sup-drop-btn:hover { background: var(--surface-2); }
.sup-drop-btn > span:first-child { font-size: 1.5rem; }
.sup-drop-btn > span:last-child { display: grid; gap: 2px; }
.sup-drop-btn small { color: var(--muted); font-size: .78rem; }
.sup-thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.sup-drop.has-files .sup-thumbs { padding: 6px; }
.sup-thumb { position: relative; width: 84px; height: 84px; border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--border-2); }
.sup-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sup-thumb button { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .75); color: #fff; cursor: pointer; line-height: 1; }
.sup-privacy { text-align: center; margin: 10px 0 0; }
.btn.is-busy { opacity: .7; cursor: progress; }
.sup-list { display: grid; gap: 8px; margin-top: 12px; }
.sup-item { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--r); border: 1px solid var(--border); background: var(--surface-2); color: var(--text); text-decoration: none !important; transition: border-color .12s, transform .12s; }
.sup-item:hover { border-color: var(--border-2); transform: translateY(-1px); }
.sup-item.is-unread { border-color: var(--pink); box-shadow: inset 3px 0 0 var(--pink); }
.sup-item-ico { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); flex: none; font-size: 1.1rem; }
.sup-item-main { flex: 1; min-width: 0; display: grid; }
.sup-item-main strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sup-status { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 99px; font-size: .74rem; font-weight: 700; white-space: nowrap; background: var(--surface-3); color: var(--muted); }
.sup-status.is-open { background: rgba(245, 158, 11, .15); color: #f59e0b; }
.sup-status.is-answered { background: rgba(16, 185, 129, .15); color: var(--green); }
.sup-status.is-closed { background: var(--surface-3); color: var(--muted); }
.sup-status.is-urgent { background: rgba(239, 68, 68, .16); color: #f87171; }
.sup-item.is-unread .sup-status { background: var(--pink); color: #fff; }
.sup-empty { display: grid; justify-items: center; padding: 24px 10px 10px; text-align: center; }
.sup-empty span { font-size: 2rem; }
.sup-faq details { border-bottom: 1px solid var(--border); }
.sup-faq summary { cursor: pointer; padding: 12px 4px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.sup-faq summary::-webkit-details-marker { display: none; }
.sup-faq summary::after { content: '+'; color: var(--pink); font-size: 1.2rem; line-height: 1; transition: transform .15s; }
.sup-faq details[open] summary::after { transform: rotate(45deg); }
.sup-faq details p { margin: 0 4px 14px; color: var(--muted); line-height: 1.55; }
.sup-viewer { position: fixed; inset: 0; z-index: 130; background: rgba(0, 0, 0, .92); display: grid; place-items: center; padding: 20px; }
.sup-viewer[hidden] { display: none; }
.sup-viewer img { max-width: 100%; max-height: 92vh; border-radius: var(--r-sm); }
.sup-viewer button { position: absolute; top: 12px; right: 14px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.6rem; cursor: pointer; }

/* Conversación */
.tk { max-width: 1000px; margin: 0 auto; }
.tk-admin { max-width: 1320px; }
.tk-back { display: inline-block; margin-bottom: 10px; color: var(--muted); }
.tk-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.tk-head-ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); font-size: 1.4rem; flex: none; }
.tk-head-main { flex: 1; min-width: 200px; }
.tk-head h1 { margin: 0 0 2px; font-size: 1.3rem; }
.tk-head-side { display: flex; gap: 6px; flex-wrap: wrap; }
.tk-body { display: grid; grid-template-columns: 1fr; gap: 16px; }
.tk-admin .tk-body { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
.tk-thread { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 14px; }
.tk-msg { display: flex; gap: 10px; align-items: flex-start; max-width: 86%; }
.tk-msg.is-user { margin-left: auto; flex-direction: row-reverse; }
.tk-av { width: 38px; height: 38px; border-radius: 50%; flex: none; background: var(--surface-3) center/cover no-repeat; }
.tk-av-staff { display: grid; place-items: center; background: linear-gradient(135deg, var(--pink), #8b5cf6); color: #fff; font-weight: 800; }
.tk-bubble { min-width: 0; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); }
.tk-msg.is-user .tk-bubble { background: rgba(230, 51, 111, .1); border-color: rgba(230, 51, 111, .3); border-top-right-radius: 4px; }
.tk-msg.is-staff .tk-bubble { background: rgba(16, 185, 129, .07); border-color: rgba(16, 185, 129, .32); border-top-left-radius: 4px; }
.tk-msg.is-note { max-width: 100%; }
.tk-msg.is-note .tk-bubble { background: rgba(245, 158, 11, .08); border: 1px dashed rgba(245, 158, 11, .5); }
.tk-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.tk-badge { font-size: .7rem; font-weight: 700; color: var(--green); background: rgba(16, 185, 129, .14); padding: 1px 7px; border-radius: 99px; }
.tk-text { white-space: normal; overflow-wrap: anywhere; line-height: 1.6; }
.tk-files { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tk-file { display: block; width: 120px; height: 120px; border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--border-2); background: #000; }
.tk-file img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.tk-file:hover img { transform: scale(1.04); }
.tk-reply { position: sticky; bottom: 10px; box-shadow: 0 -8px 30px rgba(0, 0, 0, .35); }
.tk-reply textarea { min-height: 96px; }
.tk-reply-foot { margin-top: 2px; }
.tk-reply-tabs { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; font-size: .88rem; }
.tk-macros { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 8px; }
.tk-macros .chip { border: 1px solid var(--border-2); background: var(--surface-2); color: var(--text); cursor: pointer; padding: 3px 10px; }
.tk-macros .chip:hover { border-color: var(--pink); }
.tk-rate { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tk-rate input[name="note"] { flex: 1; min-width: 180px; }
.tk-stars { display: inline-flex; flex-direction: row-reverse; }
.tk-stars input { position: absolute; opacity: 0; }
.tk-stars label { font-size: 1.6rem; color: var(--surface-3); cursor: pointer; padding: 0 1px; }
.tk-stars input:checked ~ label, .tk-stars label:hover, .tk-stars label:hover ~ label { color: var(--gold); }
.tk-rated { margin: -4px 0 14px; color: var(--gold); font-weight: 600; }
.tk-rated span { color: var(--surface-3); }
.tk-closed { margin-top: 0; }
.tk-side .card { padding: 14px; }
.tk-user { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.tk-user > div { display: grid; }
.tk-other { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; font-size: .86rem; }
.tk-other li { display: flex; justify-content: space-between; gap: 6px; }

/* Bandeja del admin */
.tk-filters { flex-wrap: wrap; gap: 8px; margin: 4px 0 14px; align-items: center; }
.tk-inbox { display: grid; gap: 8px; }
.tk-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r); border: 1px solid var(--border); background: var(--surface); color: var(--text); text-decoration: none !important; }
.tk-row:hover { border-color: var(--border-2); background: var(--surface-2); }
.tk-row.is-open { box-shadow: inset 3px 0 0 #f59e0b; }
.tk-row.is-hot { box-shadow: inset 3px 0 0 var(--red); }
.tk-row-main { flex: 1; min-width: 0; display: grid; gap: 2px; }
.tk-row-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tk-row-prev { color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-row-side { display: grid; justify-items: end; gap: 4px; flex: none; }
@media (max-width: 900px) {
  .sup-grid, .tk-admin .tk-body { grid-template-columns: 1fr; }
  .tk-msg { max-width: 100%; }
  .tk-reply { position: static; }
}
@media (max-width: 560px) {
  .sup-hero { padding: 20px; }
  .sup-hero h1 { font-size: 1.5rem; }
  .sup-cats { grid-template-columns: 1fr 1fr; }
  .tk-file { width: 92px; height: 92px; }
  .tk-row { flex-wrap: wrap; }
  .tk-row-side { justify-items: start; grid-auto-flow: column; width: 100%; }
}
.tk-reply-tabs label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.tk-reply-tabs input { width: auto; margin: 0; accent-color: var(--pink); }

/* ---------- Bonos de bienvenida (estudio) ---------- */
.std-badge.is-bonus { background: linear-gradient(90deg, #ffd65a, #d89b00); color: #2b1b00; }
.bn-kicker { display: inline-block; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.bn-bar { height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; margin: 6px 0 4px; }
.bn-bar span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--pink), var(--gold)); transition: width .6s ease; }
.bn-bar.is-done span { background: linear-gradient(90deg, #2fd28a, #8ef0c0); }
.bn-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; flex-wrap: wrap; padding: 22px; margin-bottom: 16px; border-radius: var(--r-lg);
  border: 1px solid rgba(245, 192, 79, .35); background: radial-gradient(120% 140% at 0% 0%, rgba(245, 192, 79, .16), transparent 55%), radial-gradient(120% 140% at 100% 100%, rgba(230, 51, 111, .16), transparent 55%), var(--surface); }
.bn-hero h2 { margin: 6px 0 4px; font-size: 1.6rem; }
.bn-hero p { margin: 0; max-width: 620px; }
.bn-total { display: grid; text-align: right; gap: 2px; }
.bn-total span { color: var(--muted); font-size: .8rem; }
.bn-total strong { font-size: 1.7rem; color: var(--gold); font-variant-numeric: tabular-nums; }
.bn-track { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.bn-week { display: grid; justify-items: center; gap: 2px; padding: 10px 4px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--border); text-align: center; min-width: 0; }
.bn-week-n { font-size: .68rem; color: var(--dim); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.bn-week-ico { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--dim); font-weight: 800; font-size: .85rem; }
.bn-week strong { font-size: .95rem; font-variant-numeric: tabular-nums; }
.bn-week-sub { font-size: .66rem; color: var(--muted); line-height: 1.2; }
.bn-week.is-now { border-color: var(--pink); box-shadow: 0 0 0 1px var(--pink), 0 6px 24px rgba(230, 51, 111, .25); }
.bn-week.is-now .bn-week-ico { background: var(--pink); color: #fff; animation: bnPulse 1.8s ease-in-out infinite; }
.bn-week.is-won { border-color: rgba(47, 210, 138, .45); background: linear-gradient(180deg, rgba(47, 210, 138, .12), var(--surface)); }
.bn-week.is-won .bn-week-ico { background: #2fd28a; color: #06301d; }
.bn-week.is-won strong { color: #6ee7b0; }
.bn-week.is-missed { opacity: .6; }
.bn-week.is-missed .bn-week-ico { background: rgba(255, 90, 90, .18); color: var(--red); }
@keyframes bnPulse { 50% { box-shadow: 0 0 0 6px rgba(230, 51, 111, .18); } }
.bn-now-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.bn-now-head h3 { margin: 0; }
.bn-clock { font-size: .82rem; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: var(--surface-2); }
.bn-goal { margin: 12px 0; }
.bn-goal-top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; font-size: .9rem; }
.bn-goal-top strong { font-variant-numeric: tabular-nums; }
.bn-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 720px) { .bn-grid { grid-template-columns: 1fr; } }
.bn-grid .card { margin-bottom: 0; }
.bn-card { position: relative; }
.bn-card h3 { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 6px 0; }
.bn-card-ico { font-size: 1.4rem; }
.bn-card.is-won { border-color: rgba(47, 210, 138, .45); }
.bn-card.is-missed { opacity: .65; }
.bn-reward { font-size: .78rem; font-weight: 800; padding: 3px 9px; border-radius: 99px; background: rgba(245, 192, 79, .14); color: var(--gold); white-space: nowrap; }
.bn-final { grid-column: 1 / -1; }
.bn-step { padding: 12px 14px; border-radius: var(--r); background: var(--surface-2); margin-top: 10px; }
.bn-step.is-won { outline: 1px solid rgba(47, 210, 138, .45); }
.bn-checks { list-style: none; margin: 8px 0 4px; padding: 0; display: grid; gap: 4px; font-size: .88rem; color: var(--muted); }
.bn-checks li.is-ok { color: #6ee7b0; }
.bn-empty { display: flex; gap: 16px; align-items: center; }
.bn-empty > span { font-size: 2.4rem; }
.bn-home { display: grid; gap: 10px; color: var(--text); text-decoration: none !important; border-color: rgba(245, 192, 79, .35);
  background: radial-gradient(120% 140% at 0% 0%, rgba(245, 192, 79, .12), transparent 60%), var(--surface); transition: transform .15s, border-color .15s; }
.bn-home:hover { transform: translateY(-1px); border-color: var(--gold); }
.bn-home-head { display: grid; gap: 3px; }
.bn-home-head strong { font-size: 1.1rem; }
.bn-home-goals { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; font-size: .88rem; }
.bn-home-more { font-style: normal; font-weight: 700; color: var(--gold); font-size: .85rem; }
@media (max-width: 720px) {
  .bn-track { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bn-total { text-align: left; }
  .bn-hero h2 { font-size: 1.3rem; }
}

/* Cobros: fechas de pago */
.pay-days { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; margin: 0 0 12px; border-radius: var(--r); background: rgba(47, 210, 138, .08); border: 1px solid rgba(47, 210, 138, .3); font-size: .88rem; }

/* Promoción de noviembre en los paquetes */
.package-gift { display: block; margin-top: 4px; font-size: .68rem; font-weight: 700; line-height: 1.25; color: var(--gold); }

/* ---------- Portada: cabecera y tarjetas de modelos ---------- */
.hx { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 28px; align-items: center; padding: 32px 34px; margin: 4px 0 20px;
  border-radius: 22px; overflow: hidden; border: 1px solid rgba(230, 51, 111, .28);
  background: radial-gradient(90% 120% at 0% 0%, rgba(230, 51, 111, .30), transparent 55%), radial-gradient(70% 100% at 100% 100%, rgba(245, 165, 36, .16), transparent 60%), linear-gradient(135deg, #1d1416, #120d0e); }
.hx-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 99px; background: rgba(230, 51, 111, .14); border: 1px solid rgba(230, 51, 111, .35);
  color: #ffd1e0; font-size: .74rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.hx h1 { font: 500 clamp(1.7rem, 3.3vw, 2.7rem)/1.12 var(--serif); margin: 14px 0 10px; letter-spacing: -.01em;
  background: linear-gradient(90deg, #fff 35%, #ffa3c4); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hx-wave { display: inline-block; -webkit-text-fill-color: initial; background: none; transform-origin: 70% 70%; animation: hxWave 2.4s ease-in-out 1s 2; }
@keyframes hxWave { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(14deg); } 20%, 40% { transform: rotate(-8deg); } }
.hx p { font-size: 1.02rem; max-width: 560px; margin: 0 0 20px; }
.hx-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hx-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 18px 0 0; padding: 0; color: var(--muted); font-size: .85rem; font-weight: 600; }
.hx-model { display: inline-block; margin-top: 12px; color: var(--gold); font-weight: 700; font-size: .88rem; }
.hx-pics { position: relative; height: 300px; }
.hx-pic { position: absolute; top: 4%; height: 92%; aspect-ratio: 3 / 4; border-radius: 18px; background: #241a1d center / cover no-repeat;
  box-shadow: 0 22px 50px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .08); transition: transform .5s ease; }
.hx-pic.p0 { left: 50%; z-index: 3; transform: translateX(-50%) rotate(-2deg); }
.hx-pic.p1 { left: 2%; top: 12%; height: 78%; z-index: 2; transform: rotate(-9deg); filter: brightness(.78); }
.hx-pic.p2 { right: 2%; top: 12%; height: 78%; z-index: 1; transform: rotate(8deg); filter: brightness(.78); }
.hx:hover .hx-pic.p0 { transform: translateX(-50%) rotate(0) scale(1.02); }
.hx:hover .hx-pic.p1 { transform: rotate(-12deg) translateX(-8px); }
.hx:hover .hx-pic.p2 { transform: rotate(11deg) translateX(8px); }
.hx-pic em { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 99px; background: var(--pink);
  color: #fff; font: 800 .66rem var(--font); letter-spacing: .05em; font-style: normal; box-shadow: 0 0 18px rgba(230, 51, 111, .6); }
.hx-pic em i, .cc-live i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: ccBlink 1.2s infinite; }
@keyframes ccBlink { 50% { opacity: .25; } }

.hero-strip .tabs-pills { margin-bottom: 10px; }
.tabs-pills .tab { padding: 8px 15px; transition: background .15s, border-color .15s, color .15s; }
.tabs-pills .tab:hover { border-color: rgba(230, 51, 111, .5); }
.tabs-pills .tab.active { background: linear-gradient(90deg, var(--pink), #ff5d93); border-color: transparent; box-shadow: 0 6px 18px rgba(230, 51, 111, .32); }
.section-title { font-size: 1.22rem; margin: 26px 0 14px; letter-spacing: -.01em; }

.cam-grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.cam-card { position: relative; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .06); transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.cam-card:hover, .cam-card:focus-visible { transform: translateY(-4px); border-color: rgba(230, 51, 111, .6);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .45), 0 0 0 1px rgba(230, 51, 111, .3), 0 0 32px rgba(230, 51, 111, .16); }
.cam-card.is-live { border-color: rgba(230, 51, 111, .4); }
.cam-thumb { aspect-ratio: 4 / 5; transition: transform .5s ease; }
.cam-card:hover .cam-thumb { transform: scale(1.04); }
.cam-card.is-offline .cam-thumb { filter: saturate(.85); }
.cc-shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, .42) 0, transparent 22%, transparent 48%, rgba(10, 5, 7, .92) 100%); }
.cc-top { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.cc-live { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 99px; background: var(--pink); color: #fff; font-size: .66rem; font-weight: 800;
  letter-spacing: .05em; box-shadow: 0 0 18px rgba(230, 51, 111, .55); white-space: nowrap; }
.is-private .cc-live { background: #6d28d9; box-shadow: none; }
.is-show .cc-live { background: linear-gradient(90deg, #ffd65a, #d89b00); color: #2b1b00; box-shadow: none; }
.is-paused .cc-live { background: rgba(0, 0, 0, .6); box-shadow: none; }
.cc-viewers, .cc-off { padding: 4px 9px; border-radius: 99px; background: rgba(0, 0, 0, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff;
  font-size: .7rem; font-weight: 700; white-space: nowrap; }
.cc-off { color: #ddd3d6; overflow: hidden; text-overflow: ellipsis; }
.cc-info { position: absolute; left: 12px; right: 12px; bottom: 11px; display: grid; gap: 1px; }
.cc-name { font-weight: 800; font-size: 1.02rem; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-name small { font-weight: 600; color: rgba(255, 255, 255, .75); font-size: .85rem; margin-left: 2px; }
.cc-sub { color: rgba(255, 255, 255, .8); font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-where { color: rgba(255, 255, 255, .62); font-size: .72rem; }
.cc-cta { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -30%); opacity: 0; padding: 9px 16px; border-radius: 99px; background: rgba(230, 51, 111, .94);
  color: #fff; font-weight: 800; font-size: .85rem; white-space: nowrap; box-shadow: 0 8px 24px rgba(230, 51, 111, .45); transition: opacity .2s, transform .2s; pointer-events: none; }
.is-offline .cc-cta { background: rgba(20, 14, 16, .86); box-shadow: none; border: 1px solid rgba(255, 255, 255, .22); }
.cam-card:hover .cc-cta, .cam-card:focus-visible .cc-cta { opacity: 1; transform: translate(-50%, -50%); }
@media (hover: none) { .cc-cta { display: none; } }

.live-empty { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 22px 24px; border-radius: 18px; border: 1px dashed rgba(230, 51, 111, .35);
  background: radial-gradient(80% 140% at 0% 50%, rgba(230, 51, 111, .10), transparent 60%), var(--surface); }
.live-empty > div { flex: 1; min-width: 220px; }
.live-empty strong { display: block; font-size: .98rem; margin-bottom: 4px; }
.live-empty p { margin: 0; }
.live-radar { position: relative; width: 56px; height: 56px; flex: none; display: grid; place-items: center; }
.live-radar b { position: relative; z-index: 1; font-size: 1.5rem; }
.live-radar i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(230, 51, 111, .55); animation: liveRadar 2.4s ease-out infinite; }
.live-radar i:nth-child(2) { animation-delay: 1.2s; }
@keyframes liveRadar { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.45); opacity: 0; } }

@media (max-width: 860px) {
  .hx { grid-template-columns: 1fr; padding: 24px 20px; }
  .hx-pics { order: -1; height: 190px; }
  .hx-pic.p1 { left: 8%; } .hx-pic.p2 { right: 8%; }
}
@media (max-width: 600px) {
  .hx-pics { display: none; }
  .hx-cta .btn { flex: 1 1 auto; }
  .cam-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cc-name { font-size: .92rem; }
  .cc-top { top: 8px; left: 8px; right: 8px; }
  .cc-info { left: 10px; right: 10px; bottom: 9px; }
  .hero-strip .tabs-pills { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -14px; margin-right: -14px; padding: 0 14px; }
  .hero-strip .tabs-pills .tab { white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  .cc-live i, .hx-pic em i, .live-radar i, .hx-wave { animation: none; }
  .cam-card, .cam-thumb, .hx-pic { transition: none; }
}
@media (max-width: 600px) {
  .hx { padding: 20px 18px; margin-bottom: 14px; border-radius: 18px; }
  .hx h1 { font-size: 1.55rem; margin: 10px 0 8px; }
  .hx p { font-size: .92rem; margin-bottom: 14px; }
  .hx-trust { font-size: .78rem; margin-top: 12px; }
  .live-empty { padding: 16px; gap: 12px; }
  .live-empty strong { font-size: .9rem; font-weight: 700; }
  .live-radar { width: 44px; height: 44px; }
}

/* ---------- Sala de directo ---------- */
.room-head { padding: 12px 16px; margin-bottom: 14px; border-radius: 18px; border: 1px solid var(--border);
  background: radial-gradient(70% 160% at 0% 50%, rgba(230, 51, 111, .14), transparent 60%), var(--surface); }
.room-model { gap: 14px; min-width: 0; }
.room-av { position: relative; width: 60px; height: 60px; flex: none; border-radius: 50%; padding: 3px; isolation: isolate; }
.room-av::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: var(--surface-3); }
.room-av.is-live::before { background: conic-gradient(var(--pink), #ff9ec0, var(--gold), var(--pink)); animation: roomRing 3s linear infinite; }
@keyframes roomRing { to { transform: rotate(360deg); } }
.room-av > span { display: block; width: 100%; height: 100%; border-radius: 50%; background: #2a2024 center / cover no-repeat; border: 2px solid var(--surface); }
.room-av em { position: absolute; left: 50%; bottom: -7px; transform: translateX(-50%); display: none; padding: 1px 6px; border-radius: 99px; background: var(--pink);
  color: #fff; font: 800 .5rem/1.5 var(--font); letter-spacing: .06em; font-style: normal; white-space: nowrap; box-shadow: 0 0 10px rgba(230, 51, 111, .6); }
.room-av.is-live em { display: block; }
.room-model > span.room-id { display: grid; gap: 4px; min-width: 0; }
.room-title-row { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.room-name { font: 500 1.5rem/1.15 var(--serif); margin: 0; }
.room-facts { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--muted); font-size: .84rem; }
.room-facts b { color: var(--text); font-weight: 700; }
.room-head-actions .btn { border-radius: 99px; }
#follow-btn.btn-primary { box-shadow: 0 6px 18px rgba(230, 51, 111, .35); }

.stage { isolation: isolate; border-radius: 18px; background: #0b0809; border: 1px solid rgba(255, 255, 255, .06); box-shadow: 0 20px 50px rgba(0, 0, 0, .45); }
.stage-bg { position: absolute; inset: -40px; z-index: -1; pointer-events: none; background: radial-gradient(circle at 30% 20%, rgba(230, 51, 111, .4), transparent 60%) #120c0e center / cover no-repeat;
  filter: blur(32px) brightness(.5) saturate(1.2); }
.stage video { background: transparent; }
.stage-overlay { background: radial-gradient(circle at center, rgba(10, 6, 8, .25), rgba(5, 3, 4, .75)); }
.stage-wait { display: grid; justify-items: center; gap: 16px; }
.stage-av { width: 96px; height: 96px; border-radius: 50%; background: #2a2024 center / cover no-repeat; border: 3px solid rgba(255, 255, 255, .85); animation: stagePulse 2s infinite; }
@keyframes stagePulse { 0% { box-shadow: 0 0 0 0 rgba(230, 51, 111, .6); } 70% { box-shadow: 0 0 0 24px rgba(230, 51, 111, 0); } 100% { box-shadow: 0 0 0 0 rgba(230, 51, 111, 0); } }
.stage-msg { text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
.stage-top .badge { border-radius: 99px; padding: 4px 10px; }
.stage-top .badge-live { box-shadow: 0 0 18px rgba(230, 51, 111, .6); }
.stage-top .badge-viewers { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.goal { border-radius: 14px; background: rgba(10, 6, 8, .62); border: 1px solid rgba(255, 255, 255, .08); }
.goal-track { height: 8px; }
.stage-controls .icon-btn { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.unmute-btn { box-shadow: 0 8px 24px rgba(230, 51, 111, .5); animation: stagePulse 2s infinite; }

.actions-bar { align-items: center; margin: 12px 0 8px; padding: 12px 14px; border-radius: 18px; border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(245, 165, 36, .08), transparent 45%), var(--surface); }
.quick-tips { align-items: center; }
.tips-label { font-weight: 800; font-size: .76rem; color: var(--gold); text-transform: uppercase; letter-spacing: .06em; margin-right: 2px; white-space: nowrap; }
.tip-btn { border-radius: 99px; padding: 8px 14px; background: rgba(245, 165, 36, .08); border: 1px solid rgba(245, 165, 36, .4); color: #ffd99a;
  font-variant-numeric: tabular-nums; transition: transform .12s, background .15s, box-shadow .15s; }
.tip-btn[data-tip]::before { content: '🪙 '; }
.tip-btn:hover { transform: translateY(-2px); background: rgba(245, 165, 36, .2); box-shadow: 0 6px 16px rgba(245, 165, 36, .2); }
.tip-btn.is-big { background: linear-gradient(135deg, #ffd65a, #e69a00); color: #2b1b00; border-color: transparent; }
.tip-btn.tip-custom { color: var(--text); background: var(--surface-2); border-color: var(--border-2); }
.tip-inline input { border-radius: 99px; text-align: center; }
.tip-inline .btn { border-radius: 99px; }
.private-actions { align-items: center; }
.private-actions .btn { border-radius: 99px; padding: 10px 18px; font-weight: 800; border: 0; transition: transform .12s, filter .15s; }
.private-actions .btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
#btn-private { background: linear-gradient(135deg, #ffd65a, #e69a00); color: #2b1b00; box-shadow: 0 8px 22px rgba(245, 165, 36, .3); }
#btn-cam2cam { background: linear-gradient(135deg, #7c3aed, #e6336f); color: #fff; box-shadow: 0 8px 22px rgba(124, 58, 237, .3); }
.btn-game { border-radius: 99px; }

.menu-item { border-radius: 14px; transition: border-color .15s, transform .12s, box-shadow .15s; }
.menu-item:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(245, 165, 36, .15); }
.menu-price { padding: 3px 9px; border-radius: 99px; background: rgba(245, 165, 36, .12); }

.chat { border-radius: 18px; overflow: hidden; }
.chat-head { background: linear-gradient(180deg, rgba(230, 51, 111, .10), transparent); }
.chat-form input, .chat-form .btn { border-radius: 99px; }
.chat-list { scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .15) transparent; }

@media (max-width: 600px) {
  .room-head { padding: 10px 12px; border-radius: 14px; }
  .room-av { width: 48px; height: 48px; }
  .room-name { font-size: 1.2rem; }
  .room-facts { font-size: .78rem; gap: 2px 10px; }
  .stage-av { width: 72px; height: 72px; }
  .actions-bar { padding: 10px; border-radius: 14px; }
  .tips-label { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .room-av.is-live::before, .stage-av, .unmute-btn { animation: none; }
}
.chat-list:empty::before { content: attr(data-empty); margin: auto; max-width: 240px; text-align: center; color: var(--muted); font-size: .85rem; line-height: 1.5; }
@media (max-width: 600px) {
  .stage { aspect-ratio: 4 / 3; }
  .stage-wait { gap: 8px; }
  .stage-av { width: 52px; height: 52px; border-width: 2px; }
  .stage-msg { font-size: .86rem; line-height: 1.45; }
  .stage-overlay:not([hidden]) ~ .watermark { display: none; }
  .tip-btn { padding: 7px 11px; font-size: .8rem; }
}
@media (max-width: 600px) {
  .stage .goal { top: 46px; bottom: auto; padding: 6px 9px; }
  .stage .goal-track { margin-bottom: 2px; }
  .stage-overlay { padding-top: 70px; }
}

/* ---------- Móvil: barra de arriba compacta y menú de abajo ---------- */
.bnav { display: none; }
.chat-tip { flex: none; width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 50%; border: 1px solid rgba(245, 165, 36, .5);
  background: rgba(245, 165, 36, .14); font-size: 1.05rem; cursor: pointer; }
.chat-tip:hover { background: rgba(245, 165, 36, .26); }
@media (max-width: 760px) {
  :root { --tb: 56px; }
  .topbar-inner { padding: 8px 12px; gap: 8px; }
  .topnav { display: none; }
  body:not(.page-home):not(.page-videos):not(.page-photos) .search { display: none; }
  .brand img { width: 30px; height: 30px; }
  .bnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); background: rgba(15, 12, 13, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-top: 1px solid var(--border); }
  .bnav a { position: relative; display: grid; justify-items: center; gap: 3px; padding: 4px 2px; color: var(--muted); font-size: .66rem; font-weight: 700;
    text-decoration: none !important; border-radius: 12px; }
  .bnav a span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .bnav svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
  .bnav a.active { color: #fff; }
  .bnav a.active svg { stroke: var(--pink); filter: drop-shadow(0 0 8px rgba(230, 51, 111, .6)); }
  .bnav-dot { position: absolute; top: 0; left: calc(50% + 6px); min-width: 17px; height: 17px; padding: 0 4px; border-radius: 99px; background: var(--pink); color: #fff;
    font-size: .62rem; line-height: 17px; text-align: center; }
  body:has(> .bnav) { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  body:has(> .bnav) .toast-wrap, body:has(> .bnav) .toasts { bottom: calc(76px + env(safe-area-inset-bottom)); }
}
@media (max-width: 420px) {
  .brand > span { display: none; }
  .token-pill { padding: 5px 10px; font-size: .85rem; }
}

/* ---------- Sala en el móvil: vídeo arriba (siempre visible) y chat justo debajo ---------- */
@media (max-width: 760px) {
  .page-room .main { padding: 0 0 18px; }
  .page-room .room-head { margin: 8px 10px; padding: 8px 10px; border-radius: 14px; flex-wrap: nowrap; gap: 8px; }
  .page-room .room-model { flex: 1; min-width: 0; gap: 10px; }
  .page-room .room-av { width: 42px; height: 42px; padding: 2px; }
  .page-room .room-av em { font-size: .44rem; padding: 0 4px; bottom: -6px; }
  .page-room .room-title-row { flex-wrap: nowrap; min-width: 0; }
  .page-room .room-name { font-size: 1.08rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .page-room .room-facts { font-size: .74rem; gap: 0 8px; white-space: nowrap; overflow: hidden; }
  .room-head .lbl { display: none; }
  .room-head-actions { flex-wrap: nowrap; gap: 5px; }
  .room-head-actions .btn { padding: 7px 10px; }
  .room-body { display: flex; flex-direction: column; gap: 0; }
  .stage-col { display: contents; }
  .room-body .stage { order: 1; position: sticky; top: var(--tb); z-index: 20; aspect-ratio: 4 / 3; border-radius: 0; border: 0; box-shadow: none; }
  #private-bar, #spy-bar, #private-wait, #show-card { order: 2; margin: 8px 10px 0; }
  .room-body .chat { order: 3; position: static; height: max(300px, calc(100svh - var(--tb) - 75vw)); border-radius: 0; border-left: 0; border-right: 0; border-top: 0; }
  .stage-col > .notice, #actions-bar { order: 4; margin: 10px 10px 0; }
  .tip-hint { order: 5; margin: 6px 12px 0; }
  .dream-bar, .lovense-levels { order: 6; margin: 10px 10px 0; }
  .stage-col > .tabs { order: 7; margin: 16px 10px 0; overflow-x: auto; flex-wrap: nowrap; }
  .stage-col > .tab-pane { order: 8; margin: 10px 10px 0; }
  .chat-form { padding: 8px; gap: 6px; }
  .chat-form input { min-width: 0; }
}

/* ---------- Pantalla completa: vídeo a toda pantalla con el chat encima ---------- */
.stage-chat, .stage-dock { display: none; }
body.is-theater { overflow: hidden; }
body.is-theater .topbar, body.is-theater .bnav { display: none; }
body.is-theater .room-body .stage, body.is-theater .stage { position: fixed !important; inset: 0; z-index: 1000; width: 100vw; height: 100vh; height: 100dvh; aspect-ratio: auto;
  border-radius: 0; border: 0; margin: 0; }
body.is-theater .stage-chat { display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; position: absolute; left: 12px; bottom: calc(70px + env(safe-area-inset-bottom));
  width: min(440px, calc(100% - 70px)); max-height: 45%; overflow: hidden; pointer-events: none; z-index: 5;
  -webkit-mask-image: linear-gradient(to top, #000 75%, transparent); mask-image: linear-gradient(to top, #000 75%, transparent); }
body.is-theater .stage-chat .msg { width: fit-content; max-width: 100%; padding: 5px 10px; border-radius: 12px; background: rgba(0, 0, 0, .48); -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px); color: #fff; font-size: .9rem; text-shadow: 0 1px 2px rgba(0, 0, 0, .8); animation: scIn .25s ease; }
@keyframes scIn { from { opacity: 0; transform: translateY(8px); } }
body.is-theater .stage-dock { display: block; position: absolute; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 6; }
body.is-theater .stage-dock .chat-form { border: 0; padding: 0; background: none; max-width: 560px; }
body.is-theater .stage-dock .chat-form input { background: rgba(0, 0, 0, .5); border-color: rgba(255, 255, 255, .25); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
body.is-theater .stage-dock .emoji-btn { display: none; }
body.is-theater .stage-controls { top: calc(12px + env(safe-area-inset-top)); right: 12px; bottom: auto; z-index: 7; }
body.is-theater .stage-controls .icon-btn { width: 40px; height: 40px; font-size: 1.1rem; }
body.is-theater .stage-top { top: calc(12px + env(safe-area-inset-top)); }
body.is-theater .goal { top: calc(50px + env(safe-area-inset-top)); bottom: auto; }
body.is-theater .watermark { bottom: auto; top: calc(14px + env(safe-area-inset-top)); right: 64px; }
body.is-theater .unmute-btn { bottom: auto; top: 45%; }
@media (max-width: 760px) {
  .room-body .stage { width: 100%; }
  .room-head-actions a[href*="page=profile"] { display: none; }
  .room-head-actions [data-open="report-modal"] { padding: 7px 9px; }
}
@media (max-width: 420px) {
  .brand small { display: none; }
  .topbar-inner { gap: 6px; padding: 8px 10px; }
  .lang-menu summary { padding-left: 8px; padding-right: 8px; }
}

/* ---------- Portada y perfil en el móvil ---------- */
@media (max-width: 600px) {
  .hx-cta { flex-wrap: nowrap; }
  .hx-cta .btn { flex: 1 1 0; min-width: 0; padding: 11px 10px; font-size: .92rem; white-space: nowrap; }
  .hx-cta .hx-ult { display: none; }
  .hx p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}
/* Perfil: sin portada se usa su foto difuminada; la foto lleva el anillo de «en directo» */
.profile-cover { isolation: isolate; }
.profile-cover-img { position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: center / cover no-repeat; }
.profile-cover-clip { position: absolute; inset: 0; z-index: -1; overflow: hidden; border-radius: inherit; }
.profile-cover.is-blur .profile-cover-img { inset: -40px; filter: blur(30px) brightness(.5) saturate(1.25); }
.profile-cover .avatar-xl.is-live { box-shadow: 0 0 0 3px var(--pink), 0 0 26px rgba(230, 51, 111, .6); }
.profile-cover .avatar-xl em { position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); padding: 2px 8px; border-radius: 99px; background: var(--pink); color: #fff;
  font: 800 .6rem/1.4 var(--font); letter-spacing: .06em; font-style: normal; white-space: nowrap; }

/* ---------- Estudio en el móvil: en directo, vídeo arriba y chat debajo ---------- */
@media (max-width: 760px) {
  .studio-live { display: flex; flex-direction: column; gap: 12px; }
  .studio-live > .stage-col { display: contents; }
  .studio-live .stage { order: 1; width: 100%; aspect-ratio: 4 / 3; }
  .studio-live.is-on-air .stage { position: sticky; top: var(--tb); z-index: 20; }
  .studio-live #requests-card, .studio-live #private-panel { order: 2; margin: 0; }
  .studio-live .studio-controls { order: 4; margin: 0; }
  .studio-live #show-panel { order: 5; margin: 0; }
  .studio-live > .chat { order: 6; position: static; height: 360px; }
  .studio-live.is-on-air > .chat { order: 3; height: max(300px, calc(100svh - var(--tb) - 75vw - 24px)); }
  .studio-live .stage-col > .card:last-child { order: 7; margin: 0; }
}
@media (max-width: 360px) {
  .hx-cta .btn { font-size: .84rem; padding: 10px 8px; }
  .room-head-actions [data-open="report-modal"] { display: none; }
  .page-room .room-facts span:last-child { display: none; }
}

/* ---------- Ultimate con cobro automático ---------- */
.ult-sub-title { margin: 6px 0 8px; }
#ult-sub { min-height: 50px; max-width: 420px; position: relative; z-index: 0; isolation: isolate; }
.ult-sub-box { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; border: 1px solid rgba(47, 210, 138, .4); background: rgba(47, 210, 138, .08); margin-bottom: 10px; }
.ult-sub-box p { margin: 4px 0 10px; }
.ult-sub-ico { font-size: 1.4rem; }
.ult-once { margin-top: 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface-2); }
.ult-once summary { cursor: pointer; font-size: .85rem; color: var(--muted); font-weight: 600; }
.ult-once[open] summary { margin-bottom: 10px; }

/* ---------- Bonos que se aceptan (tarjetas) ---------- */
.bx-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.bx-head h2 { margin: 0 0 4px; }
.bx-head p { margin: 0; max-width: 640px; }
.bx-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-bottom: 18px; }
.bx { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 18px; border: 1px solid var(--border); background: var(--surface); position: relative; overflow: hidden; }
.bx.is-available { border-color: rgba(245, 192, 79, .45); background: radial-gradient(120% 120% at 0% 0%, rgba(245, 192, 79, .14), transparent 55%), var(--surface); box-shadow: 0 10px 30px rgba(245, 165, 36, .08); }
.bx.is-active, .bx.is-review { border-color: rgba(230, 51, 111, .4); }
.bx.is-done { border-color: rgba(47, 210, 138, .45); background: linear-gradient(180deg, rgba(47, 210, 138, .08), var(--surface)); }
.bx.is-missed { opacity: .6; }
.bx-top { display: flex; justify-content: space-between; align-items: center; }
.bx-ico { font-size: 1.9rem; }
.bx-state { font-size: .72rem; font-weight: 800; letter-spacing: .03em; padding: 3px 9px; border-radius: 99px; background: var(--surface-2); color: var(--muted); }
.bx.is-available .bx-state { background: rgba(245, 192, 79, .16); color: var(--gold); }
.bx.is-done .bx-state { background: rgba(47, 210, 138, .16); color: #6ee7b0; }
.bx h3 { margin: 4px 0 0; font-size: 1.08rem; }
.bx-reward { align-self: flex-start; font-weight: 800; font-size: .95rem; color: var(--gold); }
.bx p { margin: 0; flex: 1; }
.bx-foot { margin-top: 8px; }
.bx-done { font-weight: 800; color: #6ee7b0; }
.bx-detail h3 { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.bx-steps { margin: 6px 0 14px; padding-left: 20px; display: grid; gap: 8px; }
.bx-link { width: 100%; margin-top: 6px; font-size: .85rem; }
.bx-facts { list-style: none; padding: 0; margin: 8px 0 12px; display: grid; gap: 4px; color: var(--muted); }
.bn-home-new { border-color: rgba(245, 192, 79, .5); }
@media (max-width: 600px) { .bx-grid { grid-template-columns: 1fr; } }
#bonus-social-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; align-items: end; }
#bonus-social-form button { grid-column: 1 / -1; justify-self: start; }
@media (max-width: 600px) { #bonus-social-form { grid-template-columns: 1fr; } }
body.is-theater .stage-overlay { align-items: start; padding-top: 22vh; }

/* ---------- Vídeos personalizados ---------- */
.btn-custom { border: 0; border-radius: 99px; background: linear-gradient(135deg, #ff5d93, #b23cff); color: #fff; font-weight: 800; box-shadow: 0 8px 22px rgba(178, 60, 255, .28); }
.btn-custom:hover { filter: brightness(1.08); color: #fff; text-decoration: none; }
.private-actions .btn-custom { padding: 10px 18px; }
.custom-desc { padding: 12px 14px; border-radius: 12px; background: var(--surface-2); font-size: .9rem; line-height: 1.5; }
.custom-facts { list-style: none; padding: 0; margin: 10px 0 14px; display: grid; gap: 6px; font-size: .88rem; color: var(--muted); }
.custom-facts strong { color: var(--gold); }
.co-card { border-color: rgba(178, 60, 255, .35); }
.co-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.co-head .person-row { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.co-request { display: grid; gap: 4px; padding: 12px 14px; margin: 8px 0 12px; border-left: 3px solid #b23cff; border-radius: 10px; background: var(--surface-2); font-size: .92rem; line-height: 1.5; white-space: normal; overflow-wrap: anywhere; }
.co-deliver { display: grid; gap: 4px; }
.co-progress { display: grid; gap: 4px; margin: 4px 0 8px; }
.co-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin-bottom: 18px; }
.co-video { width: 100%; max-height: 420px; border-radius: 12px; background: #000; margin: 6px 0; }

/* Premios del mes (concurso entre modelos) */
.ct-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin: 12px 0; }
.ct-card { display: flex; flex-direction: column; gap: 5px; padding: 14px; border-radius: 16px; border: 1px solid var(--border); background: rgba(255,255,255,.02); }
.ct-card.is-first { border-color: rgba(245,192,79,.55); background: linear-gradient(160deg, rgba(245,192,79,.12), rgba(230,51,111,.06)); box-shadow: 0 8px 22px rgba(245,192,79,.08); }
.ct-top { display: flex; justify-content: space-between; align-items: center; }
.ct-ico { font-size: 1.5rem; }
.ct-prize { font-weight: 800; color: var(--gold); font-size: .85rem; }
.ct-pos { font-weight: 800; font-size: 1.05rem; }
.ct-card.is-first .ct-pos { color: var(--gold); }
.ct-val { font-size: .9rem; }
.ct-prev { padding: 10px 12px; border-radius: 12px; background: rgba(245,192,79,.07); margin: 8px 0; }
.ct-prev p { margin: 0 0 4px; }
.ct-win { display: inline-block; margin: 2px 0 2px 8px; font-weight: 700; }

/* Entrar con Google */
.btn-google { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: #fff; color: #1f1f1f; border: 1px solid #dadce0; font-weight: 700; }
.btn-google:hover { background: #f4f6f8; color: #1f1f1f; }
.g-logo { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font: 800 14px/1 Arial, sans-serif; color: #fff; background: conic-gradient(#ea4335 0 25%, #fbbc05 0 50%, #34a853 0 75%, #4285f4 0); }
.google-note { margin: 6px 0 0; text-align: center; }
.or-sep { display: flex; align-items: center; gap: 10px; margin: 16px 0; color: var(--muted); font-size: .8rem; }
.or-sep::before, .or-sep::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* Sin cuenta: últimos minutos gratis y pantalla para registrarse */
.guest-chip { position: absolute; top: 46px; left: 12px; z-index: 7; padding: 7px 14px; border-radius: 99px; background: rgba(0,0,0,.72); color: #fff; font-size: .82rem; white-space: nowrap; backdrop-filter: blur(6px); border: 1px solid rgba(245,192,79,.6); text-decoration: none; }
.guest-chip strong { color: var(--gold); }
.guest-chip[hidden] { display: none; }
.guest-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.guest-cta .btn { min-width: 150px; }
@media (max-width: 720px) {
  .guest-chip { top: 42px; left: 10px; font-size: .74rem; padding: 6px 11px; }
  .guest-cta { flex-direction: column; align-items: stretch; }
  .guest-cta .btn { min-width: 0; }
}

/* Normas encima del chat (estudio y sala) */
.chat-rules { border-bottom: 1px solid var(--border); background: linear-gradient(180deg, rgba(230,51,111,.08), rgba(230,51,111,.02)); flex-shrink: 0; }
.chat-rules[hidden] { display: none; }
.chat-rules-head { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px; border: 0; background: none; color: var(--text); font: inherit; font-size: .78rem; font-weight: 700; text-align: left; cursor: pointer; }
.chat-rules.is-model .chat-rules-head { background: linear-gradient(90deg, #e6336f, #b5245a); color: #fff; }
.chat-rules-arrow { transition: transform .2s ease; }
.chat-rules.is-collapsed .chat-rules-arrow { transform: rotate(-90deg); }
.chat-rules.is-collapsed .chat-rules-body { display: none; }
.chat-rules-body { max-height: 260px; overflow-y: auto; padding: 4px 10px 10px; }
.chat-rules-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.chat-rules-list li { display: flex; gap: 9px; align-items: flex-start; }
.chat-rules-list strong { display: block; font-size: .8rem; }
.chat-rules-list small { display: block; font-size: .72rem; color: var(--muted); line-height: 1.35; }
.rule-ico { flex: 0 0 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; border: 2px solid #e5484d; background: rgba(229,72,77,.1); font-size: .9rem; }
.chat-rules-more { display: inline-block; margin-top: 8px; font-size: .74rem; font-weight: 700; color: var(--pink); }

/* Página de normas: índice y normas de las modelos */
.rules-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 18px; }
.rules-toc a { padding: 6px 12px; border-radius: 99px; border: 1px solid var(--border); font-size: .85rem; font-weight: 700; }
.rules-grid { list-style: none; padding: 0; margin: 10px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; }
.rules-grid li { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 14px; border: 1px solid var(--border); background: rgba(255,255,255,.02); }
.rules-grid strong { display: block; }
.rules-grid small { display: block; color: var(--muted); }
.rules-sanctions li { margin-bottom: 4px; }
@media (max-width: 720px) { .chat-rules-body { max-height: 170px; } .chat-rules-head { padding: 8px 12px; } }
.icon-btn.icon-btn-sm { width: 30px; height: 30px; font-size: .85rem; flex-shrink: 0; }
.icon-btn.is-off { opacity: .6; }
