/* ============================================================================
   ZonaSex — Sistema A · "Cámara privada"
   Capa de tema sobre main.css (se carga DESPUÉS).
   Ambiente prohibido: penumbra cálida, brasa que respira, oro de vela.
   Prohibido pero cuidado — club privado a medianoche, no vidriera.
   Titulares: DM Serif Display. UI/etiquetas: Bricolage Grotesque. Cuerpo: Hanken Grotesk.
   No cambia markup ni JS — sólo repinta y le pone atmósfera.
   ============================================================================ */

:root {
    --zx-bg:        #140B0C;
    --zx-surface:   #1C1214;
    --zx-surface-2: #241619;
    --zx-surface-3: #2E1D21;
    --zx-line:        rgba(232, 190, 178, .12);
    --zx-line-strong: rgba(232, 190, 178, .24);
    --zx-text:  #F5E9E4;
    --zx-muted: #BC9F98;
    --zx-faint: #7E6560;
    --zx-ember:      #DC2A3A;
    --zx-ember-soft: #E85C63;
    --zx-ember-deep: #8E1220;
    --zx-gold:      #D9A441;
    --zx-gold-text: #F0CE8E;
    --zx-rose: #E0A6AC;
    --zx-pos:  #7FB98F;

    --zx-panel-bg:
        linear-gradient(180deg, rgba(255, 240, 235, .04), transparent 42%),
        var(--zx-surface);
    --zx-panel-shadow:
        0 30px 70px -26px rgba(0, 0, 0, .8),
        inset 0 1px 0 rgba(245, 233, 228, .05);
    --zx-ember-glow: 0 0 26px rgba(220, 42, 58, .45), 0 12px 28px rgba(0, 0, 0, .5);
    --zx-gold-glow:  0 0 22px rgba(217, 164, 65, .32), 0 10px 24px rgba(0, 0, 0, .45);

    /* tokens que main.css sí usa */
    --white: #F5E9E4;
    --silver: #D8C6C0;
    --silver-bright: #FFFFFF;
    --silver-dark: #BC9F98;
    --red: #DC2A3A;
    --red-bright: #DC2A3A;
    --header-line: rgba(232, 190, 178, .12);
    --shadow: 0 30px 70px -24px rgba(0, 0, 0, .8);
    --profile-accent: #DC2A3A;
}

/* ── Base ─────────────────────────────────────────────────────────────────── */
body {
    background-color: var(--zx-bg);
    color: var(--zx-text);
    font-family: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a { color: inherit; }
::selection { background: rgba(220, 42, 58, .4); color: #fff; }

*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb { background: var(--zx-line-strong); border-radius: 999px; }
*::-webkit-scrollbar-track { background: transparent; }

/* ── Titulares con deseo: serif de alto contraste, en minúscula ──────────── */
.finder-heading h1, .profile-title h1, .profile-name-row h1,
.wall-heading h1, .events-heading h1, .encounters-heading h1,
.webcam-heading h1, .messages-heading h1, .publish-ad-heading h1,
.chatrooms-screen h1, .auth-heading h1, .auth-heading h2,
.notifications-heading h1, .legal-heading h1,
.settings-heading h1, .landing-hero h1, .home-hero h1, .relatos-heading h1 {
    font-family: "DM Serif Display", Georgia, "Times New Roman", serif !important;
    font-weight: 400 !important;
    text-transform: none !important;
    letter-spacing: -0.01em !important;
    line-height: 1.02 !important;
    color: var(--zx-text) !important;
    text-shadow: 0 0 40px rgba(220, 42, 58, .18);
}

/* sub-títulos de panel: sans con carácter, minúscula */
.finder-heading p, .profile-panel h2, .profile-panel h3,
.events-screen h2, .events-screen h3, .encounters-shell h2, .encounters-shell h3,
.webcam-screen h2, .webcam-screen h3, .chatrooms-screen h2, .chatrooms-screen h3,
.wall-shell h2, .wall-shell h3, .relatos-screen h2, .relatos-screen h3,
.publish-ad-layout h2, .publish-ad-layout h3, .support-shell h2,
.event-card strong, .events-hero-slide strong, .events-hero-slide h2, .events-hero-slide h3 {
    font-family: "Bricolage Grotesque", "Hanken Grotesk", sans-serif !important;
    font-weight: 700 !important;
    text-transform: none !important;
    letter-spacing: -0.015em !important;
    color: var(--zx-text) !important;
}
.finder-heading p { color: var(--zx-muted) !important; font-weight: 500 !important; }

/* Títulos de relato / posts del muro: serif editorial */
.relato-post .wall-post-body h2, .relato-post .wall-post-body h2 a,
.wall-post .wall-post-body h2, .wall-post .wall-post-body h2 a {
    font-family: "DM Serif Display", Georgia, serif !important;
    font-weight: 400 !important;
    text-transform: none !important;
    letter-spacing: -0.01em !important;
    color: var(--zx-text) !important;
}

/* Cintillos / eyebrows — chiquitos, con brasa y un punto que brilla */
.finder-heading span, .profile-title span, .profile-panel-heading span,
.wall-heading span, .events-heading span, .encounters-heading span,
.webcam-heading span, .messages-heading span, .publish-ad-heading span,
.chatrooms-screen span, .vip-hero-copy > span, .auth-heading span,
.settings-heading span, .auth-kicker, .landing-kicker {
    color: var(--zx-gold-text) !important;
    font-family: "Bricolage Grotesque", sans-serif !important;
    letter-spacing: 0.22em !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
}

/* ── Header / navbar — rediseño limpio ───────────────────────────────────── */
/* fijo arriba (el sticky no pegaba por el overflow del body) + auto-hide */
.site-header {
    position: fixed !important;
    top: 0; left: 0; right: 0;
    background: linear-gradient(180deg, rgba(24, 15, 16, .97), rgba(20, 11, 12, .92)) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--zx-line) !important;
    box-shadow: 0 10px 34px -14px rgba(0, 0, 0, .75) !important;
    transition: transform .34s cubic-bezier(.4, 0, .2, 1), box-shadow .3s ease !important;
}
body { padding-top: 65px; }
/* se esconde al bajar, vuelve al subir */
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-scrolled { box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .85) !important; }
@media (max-width: 1120px) {
    body { padding-top: 59px; }
}
@media (prefers-reduced-motion: reduce) {
    .site-header { transition: none !important; }
    .site-header.is-hidden { transform: none; }
}
.site-header::after {
    background: linear-gradient(90deg, transparent, rgba(220, 42, 58, .55), rgba(217, 164, 65, .3), transparent) !important;
    height: 1px !important;
}
.top-strip { background: transparent !important; border-bottom: 1px solid var(--zx-line) !important; }

/* layout: marca | links centrados | acciones */
.public-navbar { min-height: 64px !important; gap: 24px !important; width: min(1400px, calc(100% - 40px)) !important; }
.nav-panel { gap: 20px !important; }
.nav-links { flex: 1 1 auto !important; gap: 2px !important; }
.nav-actions { gap: 10px !important; }

/* marca — la palabra en itálica + la equis (serif de alto contraste, con remates) */
.brand-text {
    display: inline-block !important;
    font-family: "DM Serif Display", Georgia, serif !important;
    font-style: italic !important;
    font-size: 23px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    letter-spacing: -0.03em !important;
    text-transform: none !important;
    color: var(--zx-text) !important;
    white-space: nowrap;
}
.brand-text .brand-x {
    display: inline-block;
    width: auto;
    height: 0.58em;
    vertical-align: baseline;
    margin-left: -0.14em;
    margin-right: -0.02em;
    margin-bottom: 0;
    overflow: visible;
    filter: drop-shadow(0 0 0.16em rgba(220, 42, 58, .5));
}
.brand:hover .brand-text .brand-x,
.footer-brand:hover .brand-text .brand-x { filter: drop-shadow(0 0 0.26em rgba(220, 42, 58, .7)); }
/* contextos con otro tamaño */
.site-footer .brand-text { font-size: 26px !important; }
.loading-brand .brand-text { font-size: 30px !important; }
.auth-wordmark { font-size: 34px !important; }
.auth-wordmark .brand-x { filter: drop-shadow(0 0 0.16em rgba(220, 42, 58, .6)); }
.auth-wordmark-sm { font-size: 26px !important; }

/* links */
.nav-links > li > a, .nav-dropdown-toggle {
    min-height: 64px !important;
    padding: 0 14px !important;
    color: var(--zx-muted) !important;
    font-family: "Hanken Grotesk", system-ui, sans-serif !important;
    font-size: 14px !important; font-weight: 600 !important;
    text-transform: none !important; letter-spacing: 0 !important;
    background: none !important; box-shadow: none !important;
    transition: color .16s ease;
}
.nav-links > li > a:hover, .nav-dropdown-toggle:hover,
.nav-links > li > a.is-active, .nav-dropdown-toggle.is-active,
.has-dropdown.is-open .nav-dropdown-toggle {
    color: var(--zx-text) !important; background: none !important; box-shadow: none !important;
}
.nav-links > li > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 14px; height: 2px; border-radius: 2px; background: transparent; transition: background .16s ease; }
.nav-links > li > a.is-active::after {
    background: var(--zx-ember) !important; box-shadow: 0 0 12px rgba(220, 42, 58, .8) !important;
}

/* "Encuentros ya" — sin caja, con el pulso */
.nav-links a.is-hot-nav {
    min-height: 64px !important; margin: 0 !important; padding: 0 14px !important;
    border: 0 !important; border-radius: 0 !important;
    background: none !important; color: var(--zx-gold-text) !important;
}
.nav-links a.is-hot-nav::before {
    content: "" !important; font-family: inherit !important;
    width: 7px; height: 7px; margin-right: 8px; border-radius: 999px;
    background: var(--zx-ember) !important;
    box-shadow: 0 0 0 0 rgba(220, 42, 58, .55); animation: zx-pulse 2.6s ease-out infinite;
}
.nav-links a.is-hot-nav.is-active::after { background: var(--zx-gold) !important; box-shadow: 0 0 12px rgba(217,164,65,.7) !important; }

/* "Cámaras en vivo" — llamativo, con chapa EN VIVO */
.nav-links a.is-live-nav {
    min-height: 64px !important; padding: 0 12px !important;
    color: var(--zx-ember-soft) !important; font-weight: 700 !important;
}
.nav-links a.is-live-nav:hover, .nav-links a.is-live-nav.is-active { color: #fff !important; }
.nav-links a.is-live-nav.is-active::after { background: var(--zx-ember) !important; box-shadow: 0 0 12px rgba(220,42,58,.85) !important; }
.nav-live-badge {
    display: inline-flex; align-items: center; gap: 5px;
    margin-left: 7px; padding: 3px 8px 3px 7px;
    border-radius: 999px; border: 1px solid rgba(220, 42, 58, .5);
    background: rgba(220, 42, 58, .12);
    color: var(--zx-ember-soft);
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
    line-height: 1; white-space: nowrap;
}
.nav-live-badge::before {
    content: ""; width: 6px; height: 6px; border-radius: 999px; background: currentColor;
}
.nav-live-badge.is-on {
    border-color: transparent;
    background: var(--zx-ember);
    color: #fff;
    box-shadow: 0 0 14px rgba(220, 42, 58, .6);
}
.nav-live-badge.is-on::before {
    background: #fff;
    animation: zx-live-blink 1.4s ease-in-out infinite;
}
@keyframes zx-live-blink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .35; transform: scale(.7); }
}
@media (prefers-reduced-motion: reduce) { .nav-live-badge.is-on::before { animation: none; } }

/* dropdowns */
.dropdown-menu, .account-dropdown, .notification-dropdown {
    background: var(--zx-surface) !important;
    border: 1px solid var(--zx-line-strong) !important;
    box-shadow: var(--zx-panel-shadow) !important;
    border-radius: 14px !important;
    padding: 6px !important;
}
.dropdown-menu a, .account-dropdown a {
    color: var(--zx-muted) !important; border-radius: 9px !important;
    text-transform: none !important; font-weight: 600 !important; font-size: 13px !important;
}
.dropdown-menu a:hover, .account-dropdown a:hover { color: var(--zx-text) !important; background: var(--zx-surface-2) !important; }
.chevron { color: var(--zx-faint) !important; font-size: 10px !important; }

/* "Mi perfil" — texto, no ícono */
.account-trigger {
    display: inline-flex; align-items: center; gap: 6px;
    min-height: 36px; padding: 0 14px;
    border: 1px solid var(--zx-line-strong); border-radius: 999px;
    background: transparent; cursor: pointer;
    color: var(--zx-text);
    font-family: "Hanken Grotesk", sans-serif; font-size: 13px; font-weight: 600;
    transition: border-color .16s ease;
}
.account-menu:hover .account-trigger,
.account-menu:focus-within .account-trigger { border-color: rgba(220, 42, 58, .5); }
.account-menu:hover .account-trigger .chevron,
.account-menu:focus-within .account-trigger .chevron { transform: rotate(180deg); }

/* íconos (campana, tutorial) */
.icon-link { color: var(--zx-muted) !important; }
.icon-link:hover { color: var(--zx-text) !important; }
.nav-message-badge, .notification-badge {
    background: var(--zx-ember) !important; color: #fff !important;
    box-shadow: 0 0 10px rgba(220, 42, 58, .65) !important;
}
.notification-link.has-alert { color: var(--zx-ember) !important; }
.session-link, .register-link, .publish-link { text-transform: none !important; }
.session-link { color: var(--zx-muted) !important; background: none !important; border: 0 !important; font-weight: 600 !important; }
.session-link:hover { color: var(--zx-text) !important; }
.register-link {
    border: 0 !important; background: var(--zx-ember) !important; color: #fff !important;
    border-radius: 999px !important; box-shadow: var(--zx-ember-glow) !important; font-weight: 700 !important;
}
.tutorial-launcher {
    background: transparent !important;
    border: 1px solid var(--zx-line-strong) !important;
    color: var(--zx-muted) !important; box-shadow: none !important; border-radius: 999px !important;
}
.tutorial-launcher:hover { color: var(--zx-text) !important; }

/* "SER VIP" en la navbar → acento oro */
.nav-links a.is-vip-link, .nav-links a[href*="next=vip"] {
    color: var(--zx-gold-text) !important; font-weight: 700 !important;
}

.nav-toggle span { background: var(--zx-text) !important; }
.nav-toggle { border-color: var(--zx-line-strong) !important; background: transparent !important; }
@media (max-width: 1320px) {
    .public-navbar { gap: 14px !important; }
    .nav-panel { gap: 12px !important; }
    .nav-links > li > a, .nav-dropdown-toggle { padding: 0 9px !important; font-size: 13px !important; }
    .nav-links a.is-live-nav { padding: 0 8px !important; }
    .nav-live-badge { margin-left: 5px; font-size: 9px; padding: 3px 6px 3px 5px; }
    .brand-text { font-size: 21px !important; }
}
@media (max-width: 1120px) {
    .public-navbar { min-height: 58px !important; }
    .nav-panel {
        gap: 8px !important;
        background: var(--zx-surface) !important;
        border: 1px solid var(--zx-line-strong) !important;
        border-radius: 16px !important;
        backdrop-filter: blur(12px);
    }
    .nav-links { flex: none !important; }
    .nav-links > li > a, .nav-dropdown-toggle { min-height: 44px !important; }
    .nav-links > li > a::after { display: none; }
    .account-trigger { display: none; }
    .account-dropdown a { justify-content: center; }
    .nav-actions { gap: 6px !important; }
}

/* ── Botones ─────────────────────────────────────────────────────────────── */
/* base: piedra tibia, plano */
.profile-button, .auth-submit, .hero-cta, .publish-ad-submit,
.events-carousel-button {
    border-radius: 999px !important;
    font-family: "Bricolage Grotesque", "Hanken Grotesk", sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em !important;
    text-shadow: none !important;
    background-image: none !important;
    background-color: var(--zx-surface-2) !important;
    border: 1px solid var(--zx-line-strong) !important;
    color: var(--zx-text) !important;
    box-shadow: none !important;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.profile-button:hover, .auth-submit:hover, .hero-cta:hover {
    border-color: rgba(220, 42, 58, .5) !important;
    background-color: var(--zx-surface-3) !important;
}

/* primario: la brasa. glow, no bisel. */
.profile-button.is-hot, .profile-button.is-primary, .auth-submit,
.hero-cta.is-hot, .publish-ad-submit, .vip-pay-button,
.finder-filter-panel button[type="submit"], .register-link,
.chat-form button[type="submit"], .webcam-chat-form button[type="submit"],
.chatrooms-create-form button[type="submit"], .relatos-composer button[type="submit"],
.wall-composer button[type="submit"] {
    background-color: var(--zx-ember) !important;
    background-image: none !important;
    border: 1px solid rgba(255, 190, 190, .28) !important;
    color: #fff !important;
    box-shadow: var(--zx-ember-glow) !important;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .35) !important;
}
.profile-button.is-hot:hover, .auth-submit:hover, .hero-cta.is-hot:hover,
.publish-ad-submit:hover, .vip-pay-button:hover, .finder-filter-panel button[type="submit"]:hover {
    background-color: var(--zx-ember-soft) !important;
    box-shadow: 0 0 40px rgba(220, 42, 58, .6), 0 14px 34px rgba(0, 0, 0, .55) !important;
}
.profile-button.is-hot::before, .profile-button.is-hot::after,
.hero-cta.is-hot::before, .hero-cta.is-hot::after { display: none !important; }
.profile-button.is-hot i, .profile-button.is-hot span,
.hero-cta.is-hot i, .hero-cta.is-hot span,
.vip-pay-button i, .vip-pay-button span { color: #fff !important; text-shadow: none !important; }

.profile-button.is-danger {
    background: transparent !important;
    border: 1px solid rgba(220, 42, 58, .5) !important;
    color: var(--zx-ember-soft) !important;
}

/* Acciones de perfil de otro usuario: sólo "Chatear" es primario, el resto ghost */
.profile-actions { gap: 8px !important; flex-wrap: wrap !important; }
.profile-actions .profile-button {
    text-transform: none !important; letter-spacing: 0 !important;
    border-radius: 999px !important; min-height: 38px !important; font-size: 13px !important;
}
.profile-actions .profile-button.is-primary {
    background-color: transparent !important; background-image: none !important;
    border: 1px solid var(--zx-line-strong) !important;
    color: var(--zx-text) !important; box-shadow: none !important; text-shadow: none !important;
}
.profile-actions .profile-button.is-primary:hover { border-color: rgba(220, 42, 58, .5) !important; background-color: var(--zx-surface-2) !important; }
.profile-actions .profile-button.is-primary i { color: var(--zx-ember-soft) !important; text-shadow: none !important; }
.profile-actions .profile-button:not(.is-hot):not(.is-primary):not(.is-danger) i { color: var(--zx-faint) !important; }
.profile-actions .profile-button.is-danger { font-weight: 600 !important; }

/* botones que abren VIP: oro de vela con glow, nunca rojo */
.profile-button.is-vip-link,
.encounters-locked-cta a, .encounters-vip-cta a, .vip-nudge a, .finder-vip-hint a {
    background-color: rgba(217, 164, 65, .1) !important;
    background-image: none !important;
    border: 1px solid var(--zx-gold) !important;
    color: var(--zx-gold-text) !important;
    box-shadow: var(--zx-gold-glow) !important;
}
.profile-button.is-vip-link:hover { box-shadow: 0 0 34px rgba(217,164,65,.5), 0 12px 28px rgba(0,0,0,.5) !important; }
.profile-button.is-vip-link span, .profile-button.is-vip-link i,
.encounters-locked-cta a span, .encounters-locked-cta a i,
.encounters-vip-cta a span, .encounters-vip-cta a i {
    color: var(--zx-gold-text) !important; text-shadow: none !important;
}

/* ── Inputs ──────────────────────────────────────────────────────────────── */
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
select, textarea,
.finder-filter-panel input, .finder-filter-panel select,
.auth-field, .auth-field input,
.chat-form input, .chat-form textarea, .chat-search,
.wall-composer textarea, .wall-composer input,
.relatos-composer textarea, .relatos-composer input {
    background: rgba(10, 6, 7, .55) !important;
    border: 1px solid var(--zx-line) !important;
    color: var(--zx-text) !important;
    border-radius: 12px !important;
}
input::placeholder, textarea::placeholder { color: var(--zx-faint) !important; }
input:focus, select:focus, textarea:focus, .auth-field:focus-within {
    outline: none;
    border-color: rgba(220, 42, 58, .55) !important;
    box-shadow: 0 0 0 3px rgba(220, 42, 58, .12) !important;
}
select option { background: #1C1214; color: var(--zx-text); }
.auth-field input, .chat-search input { background: transparent !important; border: 0 !important; box-shadow: none !important; }
.auth-field i, .chat-search i { color: var(--zx-faint) !important; }
.wall-composer textarea, .relatos-composer textarea, .relatos-composer input,
.story-composer-card textarea, .encounters-note-form textarea {
    font-family: "Hanken Grotesk", system-ui, sans-serif !important;
    background: transparent !important; border-radius: 0 !important;
}

.finder-check, .finder-check.is-hot, .finder-check-group label {
    box-shadow: none !important; background-image: none !important;
    background: rgba(10, 6, 7, .5) !important;
    border: 1px solid var(--zx-line) !important;
    color: var(--zx-muted) !important;
    border-radius: 999px !important;
}
.finder-check.is-hot::before, .finder-check.is-hot::after { display: none !important; }
.finder-check.is-hot span, .finder-check.is-hot input { color: var(--zx-muted) !important; text-shadow: none !important; }
.finder-check:has(input:checked) {
    border-color: var(--zx-ember) !important;
    background: rgba(220, 42, 58, .14) !important;
    box-shadow: 0 0 16px rgba(220, 42, 58, .25) !important;
}
.finder-check:has(input:checked) span { color: var(--zx-text) !important; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--zx-ember); }
input[type="file"] { color: var(--zx-muted); font-size: 12px; }
input[type="file"]::file-selector-button {
    background: var(--zx-surface-2); border: 1px solid var(--zx-line); color: var(--zx-text);
    border-radius: 8px; padding: 7px 13px; margin-right: 10px; cursor: pointer;
    font-family: "Bricolage Grotesque", sans-serif; font-weight: 600;
}

/* ── Cards & panels — con profundidad y luz de vela desde arriba ─────────── */
/* .wall-shell ahora es contenedor de layout (Tailwind), no panel */
.wall-screen .wall-shell, .relatos-screen .wall-shell {
    background: transparent !important; border: 0 !important; box-shadow: none !important;
}
.finder-filter-panel, .wall-composer, .wall-post,
.event-card, .profile-hero-card, .profile-panel, .profile-panel-card, .profile-empty, .profile-stats,
.chatrooms-room-panel, .chatrooms-chat-panel, .chatrooms-users-panel,
.webcam-global-layout, .webcam-stream-card,
.notification-panel, .settings-card, .settings-shell, .support-card,
.vip-card, .story-composer-card, .verification-card,
.category-panel, .publish-ad-layout, .publish-ad-form, .auth-card {
    background: var(--zx-panel-bg) !important;
    border: 1px solid var(--zx-line) !important;
    border-radius: 18px !important;
    box-shadow: var(--zx-panel-shadow) !important;
}

.finder-card, .encounter-card {
    background: var(--zx-panel-bg) !important;
    border: 1px solid var(--zx-line) !important;
    border-radius: 18px !important;
    box-shadow: var(--zx-panel-shadow) !important;
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.finder-card:hover, .encounter-card:hover {
    border-color: rgba(220, 42, 58, .55) !important;
    box-shadow: 0 0 34px -6px rgba(220, 42, 58, .4), 0 30px 70px -26px rgba(0, 0, 0, .8) !important;
    transform: translateY(-2px);
}
.finder-card.is-vip-priority, .finder-card.is-hot-profile, .encounter-card.is-hot-profile {
    border-color: rgba(217, 164, 65, .5) !important;
}
.finder-card.is-vip-priority:hover { box-shadow: 0 0 34px -6px rgba(217, 164, 65, .45), var(--zx-panel-shadow) !important; }
.finder-card-body strong, .encounter-card strong { color: var(--zx-text) !important; }
.finder-card-body small, .finder-card-body em { color: var(--zx-muted) !important; }
.finder-card-photo::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, transparent 34%, rgba(20, 11, 12, .2) 58%, #140B0C 99%);
}
.finder-hot-label, .finder-vip-priority-label, .wall-vip-badge {
    color: var(--zx-gold-text) !important;
}

/* ── Alerts ─────────────────────────────────────────────────────────────── */
.auth-alert, .admin-inline-alert { border-radius: 12px !important; box-shadow: none !important; }
.auth-alert.is-success {
    background: rgba(127, 185, 143, .12) !important;
    border: 1px solid rgba(127, 185, 143, .3) !important; color: var(--zx-text) !important;
}
.auth-alert.is-error {
    background: rgba(220, 42, 58, .1) !important;
    border: 1px solid rgba(220, 42, 58, .4) !important; color: var(--zx-text) !important;
}
.profile-incomplete-banner {
    background: linear-gradient(90deg, rgba(217, 164, 65, .12), rgba(217, 164, 65, .03)) !important;
    border-bottom: 1px solid rgba(217, 164, 65, .3) !important;
    color: var(--zx-gold-text) !important;
}

/* ── Perfil ────────────────────────────────────────────────────────────── */
.profile-cover {
    background:
        linear-gradient(180deg, rgba(20, 11, 12, .12), rgba(20, 11, 12, .94)),
        var(--profile-bg-image, none),
        radial-gradient(circle at 76% 22%, rgba(220, 42, 58, .22), transparent 16rem),
        radial-gradient(circle at 12% 90%, rgba(142, 18, 32, .3), transparent 18rem),
        linear-gradient(135deg, #2A1418, #140B0C) !important;
    background-size: cover !important;
}
.profile-stats article strong { color: var(--zx-text) !important; font-family: "DM Serif Display", serif !important; }
.profile-stats article span { color: var(--zx-muted) !important; }
.profile-stats article small { color: var(--zx-gold-text) !important; }
.profile-destacar-card, .profile-boost-card {
    background: linear-gradient(90deg, rgba(217, 164, 65, .12), rgba(217, 164, 65, .02)) !important;
    border: 1px solid rgba(217, 164, 65, .3) !important;
}
.profile-verified-check, .profile-panel-heading .profile-verified-check { color: var(--zx-gold) !important; }
.profile-panel-heading span, .profile-title span { color: var(--zx-gold-text) !important; }
.profile-panel-heading h2 {
    font-family: "Bricolage Grotesque", sans-serif !important;
    text-transform: none !important; letter-spacing: -0.01em !important;
    color: var(--zx-text) !important;
}
.profile-bio { color: var(--zx-muted) !important; font-weight: 400 !important; }

/* Avatar del perfil: sin el brillo glossy, fondo cálido */
.profile-avatar {
    border-radius: 18px !important;
    border: 1px solid var(--zx-line-strong) !important;
    background: linear-gradient(140deg, var(--zx-surface-3), var(--zx-surface)) !important;
}
.profile-avatar-media > span {
    font-family: "DM Serif Display", Georgia, serif !important;
    font-weight: 400 !important; color: var(--zx-faint) !important;
}
.profile-status.is-offline { color: var(--zx-faint) !important; }
.profile-status.is-online { color: var(--zx-pos) !important; }
.profile-status { text-transform: none !important; letter-spacing: .04em !important; }
.profile-info-grid > div > span:first-child, .profile-info-grid span:first-child { color: var(--zx-gold-text) !important; }

/* Perfil de otro: comentario sin el selector de fuente/color viejo */
.profile-comment-tools { display: none !important; }
.profile-comment-box textarea {
    background: rgba(10, 6, 7, .5) !important; border: 1px solid var(--zx-line) !important;
    color: var(--zx-text) !important; border-radius: 12px !important;
}
.profile-comment-heading h2 { font-size: 15px !important; }
.profile-comment-footer button[type="submit"] {
    background-color: var(--zx-ember) !important; color: #fff !important;
    border: 0 !important; box-shadow: var(--zx-ember-glow) !important; border-radius: 999px !important;
    text-transform: none !important;
}
.comment-list .comment-item, .comment-list article {
    background: var(--zx-surface-2) !important; border: 1px solid var(--zx-line) !important; border-radius: 12px !important;
}
/* texto del comentario en color hueso — legible sobre el fondo oscuro */
.comment-list p, .profile-comment-answer p, .profile-comment-main > p {
    color: var(--zx-text) !important; font-weight: 500 !important;
}
.comment-list .comment-author { color: var(--zx-text) !important; }
.profile-comment-label { color: var(--zx-gold-text) !important; }
.profile-comment-date {
    color: var(--zx-faint) !important; font-size: 10.5px !important; font-weight: 500 !important;
    white-space: nowrap;
}
.profile-comment-meta { flex-wrap: wrap; align-items: baseline; gap: 6px 8px; }
.profile-comment-answer { background: rgba(10, 6, 7, .35) !important; border-left: 2px solid var(--zx-line-strong) !important; }
.profile-comment-actions button, .profile-comment-controls button { color: var(--zx-muted) !important; }

/* ── Chat / Mensajes / Salas / Webcam → penumbra, se va el azul Messenger ── */
/* OJO: .chat-modal es el overlay a pantalla completa — NO lleva fondo, si no tapa la página */
.chat-modal, .chat-call-modal { background: transparent !important; }
.chat-window, .messages-window, .chat-call-card {
    background: var(--zx-bg) !important;
    color: var(--zx-text) !important;
    border: 1px solid var(--zx-line-strong) !important;
    border-radius: 20px !important;
    box-shadow:
        0 40px 120px -20px rgba(0, 0, 0, .82),
        0 0 0 1px rgba(232, 190, 178, .12),
        0 0 70px -12px rgba(220, 42, 58, .22) !important;
}
.chatrooms-layout, .webcam-global-layout { background: transparent !important; box-shadow: none !important; border: 0 !important; }
/* Ventana de mensajes: que se vea flotando sobre la página, no que la reemplace */
.global-chat-modal .chat-window {
    width: min(940px, 94vw) !important;
    height: min(620px, 86vh) !important;
}
.chat-modal-backdrop {
    background: radial-gradient(120% 120% at 50% 40%, rgba(20, 11, 12, .34), rgba(8, 4, 5, .6)) !important;
    backdrop-filter: blur(7px) saturate(.9);
    -webkit-backdrop-filter: blur(7px) saturate(.9);
}
.chat-sidebar, .chat-sidebar-heading, .chatrooms-room-panel, .chatrooms-users-panel,
.chat-main-heading, .chat-window-actions, .webcam-users-panel {
    background: var(--zx-surface) !important;
    border-color: var(--zx-line) !important;
    color: var(--zx-text) !important;
}
.chat-sidebar-heading, .chat-main-heading {
    text-transform: none !important;
    font-family: "Bricolage Grotesque", sans-serif !important;
}
.chat-sidebar-heading strong, .chat-main-heading strong, .chat-active-user strong { color: var(--zx-text) !important; }
.chat-sidebar-heading span, .chat-main-heading span, .chat-thread-meta, .chat-thread-status { color: var(--zx-muted) !important; }
.chat-thread { border-bottom: 1px solid var(--zx-line) !important; }
.chat-thread.is-active, .chat-thread:hover { background: var(--zx-surface-2) !important; }
.chat-thread.is-active { box-shadow: inset 3px 0 0 var(--zx-ember) !important; }
.chat-thread strong { color: var(--zx-text) !important; }
.chat-thread-avatar { background: var(--zx-surface-3) !important; color: var(--zx-muted) !important; }
.chat-messages, .chatrooms-chat-panel .chat-messages { background: var(--zx-bg) !important; }
.chat-message.is-mine, .chat-message.is-mine:not(.is-audio-only), .chat-message.is-own,
.chat-message-bubble.is-own {
    background: var(--zx-ember) !important; color: #fff !important;
    box-shadow: 0 0 18px rgba(220, 42, 58, .3) !important;
}
.chat-message:not(.is-mine):not(.is-own) .chat-message-bubble,
.chat-message:not(.is-mine):not(.is-own),
.chat-message-bubble {
    background: var(--zx-surface-2) !important; color: var(--zx-text) !important;
    border: 1px solid var(--zx-line) !important;
}
.chat-form, .webcam-chat-form, .chatrooms-create-form {
    background: var(--zx-surface) !important; border-top: 1px solid var(--zx-line) !important;
}
.chat-form button, .chat-tools button, .webcam-chat-form button,
.chat-call-actions a, .chat-call-actions button, .chat-window-actions button,
.chat-sidebar-heading button, .chat-video-call-controls button {
    background: var(--zx-surface-2) !important;
    border: 1px solid var(--zx-line) !important;
    color: var(--zx-text) !important;
}
.chat-search { border: 1px solid var(--zx-line) !important; background: rgba(10,6,7,.5) !important; border-radius: 12px !important; }
.chat-conversation-start, .chatrooms-room-item, .chatroom-room-item {
    background: var(--zx-surface-2) !important; border: 1px solid var(--zx-line) !important; color: var(--zx-muted) !important;
    letter-spacing: 0 !important;
}
.chatroom-room-item.is-active, .chatrooms-room-item.is-active {
    border-color: var(--zx-ember) !important; color: var(--zx-text) !important;
    box-shadow: 0 0 16px rgba(220, 42, 58, .22) !important;
}
.chat-thread-status.is-online, .chat-thread-status.is-online i { color: var(--zx-ember) !important; }
.chat-typing { color: var(--zx-muted) !important; }
.chat-reaction-picker {
    background: var(--zx-panel-bg) !important; border: 1px solid var(--zx-line-strong) !important;
}
.chat-message.is-vip-priority, .chat-message-vip-label { box-shadow: 0 0 0 2px rgba(217, 164, 65, .5) !important; }

/* Menu de acciones del mensaje (Editar/Eliminar/Responder/Reaccionar): en vez de
   quedar pegado sin aire a los bordes redondeados de la burbuja, se extiende como
   un pie de burbuja propio (mismo radio abajo) con separador sutil. */
.chat-message-actions {
    background: rgba(0, 0, 0, .18) !important;
    border: none !important;
    border-top: 1px solid rgba(245, 233, 228, .16) !important;
    margin: 8px -12px -10px !important;
    padding: 7px 10px !important;
    border-radius: 0 0 17px 17px !important;
}
.chat-message-action {
    border: 1px solid rgba(245, 233, 228, .2) !important;
    background: rgba(245, 233, 228, .08) !important;
    color: var(--zx-text) !important;
    padding: 5px 10px !important;
    font-size: 11.5px !important;
    transition: background .15s ease, border-color .15s ease;
}
.chat-message-action:hover {
    background: rgba(245, 233, 228, .18) !important;
    border-color: rgba(245, 233, 228, .38) !important;
}
.chat-seen-locked-link { color: var(--zx-gold-text) !important; text-decoration: underline; text-underline-offset: 2px; }
.chat-seen-locked-link:hover { color: var(--zx-gold) !important; }
.chatrooms-users-list li, .webcam-users-list li { color: var(--zx-muted) !important; }
.chatrooms-users-list li strong, .webcam-users-list li strong { color: var(--zx-text) !important; }

/* Chat grupal (webcam / salas / encuentros) — se va el azul y el blanco Messenger */
.encounters-chat-panel .chat-messages, .chatrooms-chat-panel .chat-messages,
.webcam-global-chat .chat-messages, .webcam-room-chat .chat-messages {
    background: var(--zx-bg) !important;
    overflow-x: hidden !important;
}
/* Nada de scroll horizontal cuando entran mensajes: las burbujas se ajustan */
.chatrooms-chat-panel .chat-messages,
.chatrooms-chat-panel .chat-messages .encounters-group-message,
.chatrooms-chat-panel .chat-messages .encounters-group-message > div,
.webcam-global-chat .chat-messages .encounters-group-message,
.webcam-global-chat .chat-messages .encounters-group-message > div {
    min-width: 0 !important;
    max-width: 100% !important;
}
.chatrooms-chat-panel .chat-messages .encounters-group-message > div,
.webcam-global-chat .chat-messages .encounters-group-message > div {
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
}
.encounters-group-message > div {
    background: var(--zx-surface-2) !important; color: var(--zx-text) !important;
    border: 1px solid var(--zx-line) !important;
}
.encounters-group-message.is-mine > div {
    background: var(--zx-ember) !important; color: #fff !important;
    border-color: transparent !important; box-shadow: 0 0 16px rgba(220,42,58,.28) !important;
}
.encounters-group-name { color: var(--zx-gold-text) !important; }
.encounters-group-message.is-mine .encounters-group-name,
.encounters-group-message.is-mine small,
.encounters-group-message.is-mine .encounters-group-info { color: rgba(255,255,255,.82) !important; }
.encounters-group-info, .encounters-group-message small { color: var(--zx-faint) !important; }
.encounters-group-reply { background: rgba(10,6,7,.4) !important; border-left: 2px solid var(--zx-ember) !important; color: var(--zx-muted) !important; }
.encounters-group-avatar { background: var(--zx-surface-3) !important; color: var(--zx-muted) !important; }
.encounters-group-reply-button, .encounters-group-reaction-button { color: var(--zx-muted) !important; }
.webcam-moderation-actions button { background: var(--zx-surface-2) !important; border: 1px solid var(--zx-line) !important; color: var(--zx-text) !important; }
[class*="-count"] b, .count-badge {
    background: var(--zx-surface-2) !important; color: var(--zx-muted) !important;
    border: 1px solid var(--zx-line) !important;
}

/* ── Eventos — nada de verde WhatsApp ──────────────────────────────────── */
.events-slide-action, .event-contact-link,
a[href*="wa.me"], a[href*="whatsapp"] {
    background: transparent !important; background-image: none !important;
    border: 1px solid var(--zx-line-strong) !important;
    color: var(--zx-text) !important; box-shadow: none !important;
}
.events-slide-action:hover, .event-contact-link:hover { border-color: var(--zx-ember) !important; }
.events-slide-action i, .event-contact-link i { color: var(--zx-muted) !important; }
.home-events-banner, .home-events-banner.is-active {
    background: var(--zx-panel-bg) !important; background-image: none !important;
    border: 1px solid var(--zx-line) !important; border-radius: 16px !important; color: var(--zx-text) !important;
    box-shadow: var(--zx-panel-shadow) !important;
}
.home-events-banner strong { color: var(--zx-text) !important; }
.home-events-banner small, .home-events-banner em { color: var(--zx-muted) !important; }
.home-events-banner-kicker { color: var(--zx-gold-text) !important; }
.home-events-banner-action {
    background: var(--zx-ember) !important; color: #fff !important; border-radius: 999px !important; border: 0 !important;
    box-shadow: 0 0 18px rgba(220, 42, 58, .4) !important;
}
.home-events-carousel-button {
    background: rgba(20, 11, 12, .8) !important; border: 1px solid var(--zx-line-strong) !important;
    color: var(--zx-text) !important; box-shadow: none !important;
}
.finder-events-banner, .events-sponsors-section {
    background: linear-gradient(90deg, rgba(217, 164, 65, .1), rgba(217, 164, 65, .02)) !important;
    border: 1px solid rgba(217, 164, 65, .28) !important; border-radius: 14px !important;
}
.events-hero-carousel, .events-hero-slide {
    background: var(--zx-panel-bg) !important; border: 1px solid var(--zx-line) !important;
    border-radius: 18px !important; box-shadow: var(--zx-panel-shadow) !important;
}

/* ── Muro / historias ─────────────────────────────────────────────────── */
.wall-post { border-radius: 16px !important; }
.wall-post-body strong { color: var(--zx-text) !important; }
.wall-post-body > header a { color: var(--zx-text) !important; }
.wall-post-body > header small, .wall-post-body time { color: var(--zx-faint) !important; }
.wall-post-body p { color: var(--zx-text) !important; }
.wall-edited, .wall-composer-actions small { color: var(--zx-faint) !important; }
.wall-hot-label { color: var(--zx-ember-soft) !important; }
.wall-hot-label i { color: var(--zx-ember) !important; }

.wall-stories-bar, .stories-rail, .wall-stories {
    background: var(--zx-panel-bg) !important; border: 1px solid var(--zx-line) !important; border-radius: 16px !important;
}
.wall-stories-track > .profile-muted { color: var(--zx-faint) !important; }
.wall-story strong { color: var(--zx-text) !important; }
.wall-story small { color: var(--zx-faint) !important; }
.wall-stories-nav {
    background: var(--zx-surface-2) !important; border: 1px solid var(--zx-line) !important; color: var(--zx-muted) !important;
}

/* acciones y reacciones del post */
.wall-reply-action, .wall-reaction-action, .encounters-group-reply-button, .encounters-group-reaction-button {
    background: var(--zx-surface-2) !important; border: 1px solid var(--zx-line) !important;
    color: var(--zx-muted) !important; border-radius: 999px !important;
}
.wall-reply-action:hover, .wall-reaction-action:hover { color: var(--zx-text) !important; border-color: var(--zx-line-strong) !important; }
.chat-reaction-count {
    background: var(--zx-surface-3) !important; border: 1px solid var(--zx-line) !important;
    color: var(--zx-text) !important; border-radius: 999px !important;
}
.chat-reaction-count.is-mine {
    background: rgba(220, 42, 58, .16) !important; border-color: rgba(220, 42, 58, .5) !important; color: var(--zx-text) !important;
}
.wall-reaction-button.is-active, .encounters-group-reaction-button.is-active {
    background: rgba(220, 42, 58, .16) !important; border-color: var(--zx-ember) !important; color: var(--zx-text) !important;
}
.wall-reply-form textarea, .wall-reply-form input[type="text"], .wall-reply-form input[name="wall_reply"] {
    background: rgba(10, 6, 7, .5) !important; border: 1px solid var(--zx-line) !important; color: var(--zx-text) !important;
}
.wall-post-edit summary { color: var(--zx-muted) !important; }
.wall-reply, .wall-replies-toggle { color: var(--zx-muted) !important; }
.wall-image-open {
    display: block; margin-top: 10px; border-radius: 14px !important; overflow: hidden !important;
    border: 1px solid var(--zx-line) !important; background: var(--zx-surface-2) !important;
    max-width: 420px;
}
.wall-post-image { display: block !important; width: 100% !important; max-height: 460px !important; object-fit: cover !important; }

/* ── Legal (privacidad / términos) — lectura larga cómoda ─────────────── */
.legal-screen { background: var(--zx-bg) !important; }
.legal-screen .legal-shell { display: block !important; width: 100% !important; }
.legal-heading h1 { text-transform: none !important; letter-spacing: -0.01em !important; }
.legal-content {
    background: transparent !important; border: 0 !important; box-shadow: none !important;
    padding: 0 !important;
    color: var(--zx-muted) !important;
    font-family: "Hanken Grotesk", system-ui, sans-serif !important;
    font-size: 14px !important; line-height: 1.7 !important;
}
.legal-content p, .legal-content li {
    color: var(--zx-muted) !important; font-weight: 400 !important;
    letter-spacing: 0 !important;
}
.legal-content h2 {
    margin: 2em 0 .6em !important;
    color: var(--zx-text) !important;
    font-family: "Bricolage Grotesque", sans-serif !important;
    font-size: 16px !important; font-weight: 700 !important;
    text-transform: none !important; letter-spacing: -0.01em !important;
}
.legal-content h3 {
    margin: 1.4em 0 .4em !important;
    color: var(--zx-gold-text) !important;
    font-family: "Bricolage Grotesque", sans-serif !important;
    font-size: 12px !important; font-weight: 700 !important;
    text-transform: uppercase !important; letter-spacing: .12em !important;
}
.legal-content ul { margin: .5em 0 1em !important; padding-left: 1.2em !important; }
.legal-content li { margin: .3em 0 !important; }
.legal-content li::marker { color: var(--zx-ember) !important; }
.legal-content strong { color: var(--zx-text) !important; }
.legal-content a { color: var(--zx-ember-soft) !important; }

/* ── Paginación ───────────────────────────────────────────────────────── */
.finder-pagination a {
    background: rgba(10, 6, 7, .5) !important; border: 1px solid var(--zx-line) !important; color: var(--zx-muted) !important;
}
.finder-pagination a.is-active {
    background: var(--zx-ember) !important; border-color: var(--zx-ember) !important; color: #fff !important;
    box-shadow: 0 0 16px rgba(220, 42, 58, .5) !important;
}

/* ── Auth (login / registro / recuperar) — split screen ───────────────── */
.auth-screen {
    place-items: stretch !important;
    padding: 0 !important;
    background: var(--zx-bg) !important;
}
/* que el <input type=date> no se pise con el ícono y no quede blanco */
.auth-screen input[type="date"] { color-scheme: dark; }
.auth-screen input:-webkit-autofill,
.auth-screen input:-webkit-autofill:hover,
.auth-screen input:-webkit-autofill:focus {
    -webkit-text-fill-color: #F5E9E4 !important;
    -webkit-box-shadow: 0 0 0 40px #1a1012 inset !important;
    caret-color: #F5E9E4;
}
.auth-screen .recaptcha-box { margin: 2px 0; }

/* Toggle iniciar sesión / registrarse — perilla que desliza */
.auth-switch-toggle { background: rgba(10, 6, 7, .5); }
.auth-toggle-knob {
    position: absolute; top: 4px; left: 4px; bottom: 4px;
    width: calc(50% - 4px);
    border-radius: 999px;
    background: var(--zx-ember);
    box-shadow: 0 0 18px rgba(220, 42, 58, .5);
    transition: transform .32s cubic-bezier(.34, 1.2, .64, 1);
}
.auth-switch-toggle[data-auth-active="registro"] .auth-toggle-knob { transform: translateX(100%); }
.auth-toggle-btn { color: var(--zx-muted); transition: color .2s ease; }
.auth-switch-toggle[data-auth-active="login"] .auth-toggle-btn[data-auth-target="login"],
.auth-switch-toggle[data-auth-active="registro"] .auth-toggle-btn[data-auth-target="registro"] { color: #fff; }

/* Paneles: se cruzan con un slide corto, el alto se morfea */
.auth-panels.is-js { transition: min-height .32s cubic-bezier(.4, 0, .2, 1); }
.auth-panels.is-js .auth-panel {
    position: absolute; inset: 0 0 auto 0;
    opacity: 0; transform: translateX(16px);
    pointer-events: none;
    transition: opacity .22s ease, transform .3s cubic-bezier(.4, 0, .2, 1);
}
.auth-panels.is-js .auth-panel[hidden] { display: block; }
.auth-panels.is-js .auth-panel.is-active {
    opacity: 1; transform: none;
    pointer-events: auto;
}
.auth-panels.is-js .auth-panel.is-leaving { transform: translateX(-16px); }
@media (prefers-reduced-motion: reduce) {
    .auth-toggle-knob, .auth-panels.is-js, .auth-panels.is-js .auth-panel { transition: none !important; }
}

/* ── Publicar anuncio ─────────────────────────────────────────────────── */
.publish-ad-plan > span {
    background: rgba(10, 6, 7, .5) !important; border: 1px solid var(--zx-line) !important; border-radius: 14px !important;
}
.publish-ad-plan input:checked + span {
    border-color: var(--zx-ember) !important; background: rgba(220, 42, 58, .1) !important;
    box-shadow: 0 0 18px rgba(220, 42, 58, .22) !important;
}
.publish-ad-plan strong { color: var(--zx-text) !important; }
.publish-ad-plan em { color: var(--zx-gold-text) !important; }
.publish-ad-plan small { color: var(--zx-muted) !important; }
.publish-ad-preview-card { background: rgba(10, 6, 7, .5) !important; border: 1px solid var(--zx-line) !important; }

/* ── Configurar perfil ───────────────────────────────────────────────── */
.settings-verified-card, .verification-approved {
    background: rgba(127, 185, 143, .08) !important; border: 1px solid rgba(127, 185, 143, .3) !important;
}
.profile-progress-card, .settings-progress {
    background: var(--zx-panel-bg) !important; border: 1px solid var(--zx-line) !important; border-radius: 16px !important;
}
.profile-progress-bar > span,
.profile-progress-bar > i {
    background: linear-gradient(90deg, var(--zx-ember-deep), var(--zx-ember)) !important;
    box-shadow: 0 0 14px rgba(220, 42, 58, .5) !important;
}

#settings_form, #settings_media_uploader { scroll-margin-top: 80px; }

/* Checklist de onboarding — items clickeables */
.profile-progress-list li.is-pending a,
.profile-progress-list li.is-pending button {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--zx-line) !important;
    border-radius: 10px;
    background: var(--zx-surface-2) !important;
    color: var(--zx-text) !important;
    font: inherit;
    font-size: 13px;
    text-align: left;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}
.profile-progress-list li.is-pending a:hover,
.profile-progress-list li.is-pending button:hover {
    border-color: rgba(220, 42, 58, .5) !important;
    background: var(--zx-surface-3) !important;
}
.profile-progress-list li.is-pending span { flex: 1; }
.profile-progress-list li.is-pending .fa-circle { color: var(--zx-faint) !important; font-size: 8px; }
.profile-progress-list li.is-pending .fa-chevron-right { color: var(--zx-faint) !important; font-size: 11px; }

/* Teaser de actividad cercana en el card de progreso */
.profile-progress-nearby {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--zx-line);
}
.profile-progress-nearby-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--zx-gold-text);
}
.profile-progress-nearby-label i { color: var(--zx-ember-soft); }
.profile-progress-nearby-list {
    display: flex;
    gap: 12px;
    margin: 12px 0 8px;
    overflow-x: auto;
    scrollbar-width: none;
}
.profile-progress-nearby-list::-webkit-scrollbar { display: none; }
.profile-progress-nearby-item {
    flex: none;
    width: 68px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-align: center;
}
.profile-progress-nearby-avatar {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: var(--zx-surface-3);
    border: 1px solid var(--zx-line-strong);
}
.profile-progress-nearby-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.profile-progress-nearby-avatar b { font-family: "DM Serif Display", Georgia, serif; color: var(--zx-faint); font-size: 15px; }
.profile-progress-nearby-dot {
    position: absolute;
    right: 2px;
    bottom: 2px;
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: var(--zx-pos);
    border: 2px solid var(--zx-surface);
}
.profile-progress-nearby-item strong {
    font-size: 11px;
    font-weight: 600;
    color: var(--zx-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}
.profile-progress-nearby-hint {
    margin: 0;
    font-size: 12px;
    color: var(--zx-faint);
}

/* ── Guest landing ───────────────────────────────────────────────────── */
.landing-feature-grid i { color: var(--zx-ember) !important; }
.landing-feature-grid article {
    background: var(--zx-panel-bg) !important; border: 1px solid var(--zx-line) !important;
    border-radius: 16px !important; box-shadow: var(--zx-panel-shadow) !important;
}
.landing-list-head a, .relato-vertodos, [class*="vertodos"], .notification-dropdown-all,
.landing-hero a.text-link, .home-more-link { color: var(--zx-ember-soft) !important; }
.landing-stats strong, .home-stat strong { color: var(--zx-text) !important; font-family: "DM Serif Display", serif !important; }
.landing-stats span, .home-stat span { color: var(--zx-muted) !important; }
.landing-age { color: var(--zx-faint) !important; }
.landing-hero, .home-hero {
    background:
        radial-gradient(60rem 40rem at 20% 0%, rgba(220, 42, 58, .18), transparent 60%),
        radial-gradient(50rem 40rem at 90% 20%, rgba(142, 18, 32, .22), transparent 60%) !important;
}
.landing-hero::after, .home-hero::after {
    background: linear-gradient(180deg, transparent 40%, rgba(20, 11, 12, .85)) !important;
}

/* ── Loading / tutorial ──────────────────────────────────────────────── */
.loading-screen { background: var(--zx-bg) !important; }
.loading-bar span { background: var(--zx-ember) !important; box-shadow: 0 0 16px rgba(220,42,58,.6) !important; }
.tutorial-shade { background: rgba(10, 6, 7, .55) !important; backdrop-filter: blur(2px); }
.tutorial-spotlight {
    box-shadow: 0 0 0 9999px rgba(10, 6, 7, .74) !important;
    border: 1.5px solid rgba(217, 164, 65, .55) !important;
    border-radius: 14px !important;
}
.tutorial-pointer { color: var(--zx-ember) !important; }
.tutorial-pointer i { color: var(--zx-ember) !important; filter: drop-shadow(0 0 8px rgba(220,42,58,.6)); }
.tutorial-card {
    background: var(--zx-surface) !important;
    border: 1px solid var(--zx-line-strong) !important;
    border-radius: 18px !important;
    box-shadow: var(--zx-panel-shadow), 0 0 60px -12px rgba(220, 42, 58, .25) !important;
}
.tutorial-card [data-tutorial-kicker], .tutorial-card > span:first-of-type {
    display: inline-block;
    color: var(--zx-gold-text) !important;
    font-family: "Bricolage Grotesque", sans-serif !important;
    font-size: 10px !important; font-weight: 800 !important;
    letter-spacing: .2em !important; text-transform: uppercase !important;
    background: transparent !important; border: 0 !important; padding: 0 !important;
}
.tutorial-card h2 {
    font-family: "DM Serif Display", Georgia, serif !important;
    font-weight: 400 !important; text-transform: none !important;
    color: var(--zx-text) !important; letter-spacing: -0.01em !important;
}
.tutorial-card p { color: var(--zx-muted) !important; font-weight: 400 !important; }
.tutorial-action {
    background: linear-gradient(120deg, rgba(217,164,65,.12), rgba(142,18,32,.06)) !important;
    border: 1px solid rgba(217, 164, 65, .25) !important;
    color: var(--zx-gold-text) !important; border-radius: 12px !important;
}
.tutorial-progress { color: var(--zx-faint) !important; }
.tutorial-progress i, .tutorial-progress span { background: var(--zx-line-strong) !important; }
.tutorial-progress i.is-active, .tutorial-progress .is-active { background: var(--zx-ember) !important; }
.tutorial-controls button {
    text-transform: none !important; border-radius: 999px !important; font-weight: 700 !important;
}
.tutorial-controls [data-tutorial-prev] {
    background: transparent !important; border: 1px solid var(--zx-line-strong) !important; color: var(--zx-muted) !important;
}
.tutorial-controls [data-tutorial-next] {
    background: var(--zx-ember) !important; background-image: none !important; border: 0 !important;
    color: #fff !important; box-shadow: var(--zx-ember-glow) !important;
}
.tutorial-close { background: var(--zx-surface-2) !important; border: 1px solid var(--zx-line) !important; color: var(--zx-muted) !important; border-radius: 999px !important; }
.tutorial-close:hover { color: var(--zx-text) !important; }

/* ── Footer ──────────────────────────────────────────────────────────── */
.site-footer {
    background: linear-gradient(180deg, #180E10, #120708) !important;
    border-top: 1px solid var(--zx-line) !important;
}
.site-footer::before, .site-footer::after {
    background: linear-gradient(90deg, transparent, rgba(220, 42, 58, .45), transparent) !important;
}
.site-footer a { color: var(--zx-muted) !important; }
.site-footer a:hover { color: var(--zx-text) !important; }
.site-footer h4, .site-footer strong { color: var(--zx-text) !important; }
.site-footer .footer-vip-card {
    background: linear-gradient(180deg, rgba(217, 164, 65, .1), transparent) !important;
    border: 1px solid rgba(217, 164, 65, .3) !important;
}

/* ── Paneles de "desbloqueá con VIP" — dramáticos, con oro ─────────────── */
.encounters-preview-banner, .encounters-preview-lock,
.encounters-locked-overlay, .encounters-slot-lock,
.webcam-locked-notice, .finder-vip-hint, .events-vip-notice {
    background: linear-gradient(135deg, rgba(217, 164, 65, .1), rgba(142, 18, 32, .12)) !important;
    border: 1px solid rgba(217, 164, 65, .3) !important;
    border-radius: 16px !important;
    box-shadow: var(--zx-panel-shadow) !important;
}
.encounters-preview-banner strong, .encounters-preview-lock strong,
.encounters-locked-overlay strong, .encounters-slot-lock strong {
    text-transform: none !important;
    font-family: "DM Serif Display", Georgia, serif !important;
    font-weight: 400 !important;
    color: var(--zx-text) !important;
    letter-spacing: -0.01em !important;
}
.encounters-preview-banner span, .encounters-preview-lock span,
.encounters-locked-overlay span, .encounters-slot-lock span {
    color: var(--zx-gold-text) !important;
    letter-spacing: 0.2em !important;
}
.encounters-preview-banner p, .encounters-preview-lock p { color: var(--zx-muted) !important; }

.encounters-locked-overlay i.fa-crown, .encounters-slot-lock i.fa-crown,
.encounters-locked-icon, .encounters-lock-icon, .vip-lock-badge i {
    background: radial-gradient(circle at 40% 35%, #F0CE8E, #B98426) !important;
    color: #2A1608 !important;
    box-shadow: 0 0 26px rgba(217, 164, 65, .5) !important;
}
.home-events-vip-lock {
    background: rgba(217, 164, 65, .12) !important;
    border: 1px solid rgba(217, 164, 65, .4) !important;
    color: var(--zx-gold-text) !important;
}
.home-events-banner strong, .event-hero-title, .events-hero-slide strong { text-transform: none !important; }
.profile-stats article a, .profile-stats article small a { color: var(--zx-gold-text) !important; }

/* Home marketing / paneles varios — sin MAYÚSCULA en los titulares medianos */
.home-hero h2, .home-hero h3, .home-vip-preview h2, .home-vip-preview h3,
.home-section h2, .home-section h3, .home-panel h2, .home-panel h3,
.category-panel h2, .category-panel h3, .hero-side h2, .hero-side h3,
.home-quick h2, .home-quick h3, .home-live-panel h2,
.profile-panel-heading h2, .profile-panel-heading h3,
.wall-composer h2, .settings-section h2, .settings-section h3 {
    text-transform: none !important;
    font-family: "Bricolage Grotesque", "Hanken Grotesk", sans-serif !important;
    letter-spacing: -0.015em !important;
    color: var(--zx-text) !important;
}
.home-hero p, .home-vip-preview p, .home-section p, .hero-side p { color: var(--zx-muted) !important; }
.home-vip-preview span, .home-section span, .hero-side span, .home-quick span {
    color: var(--zx-gold-text) !important; letter-spacing: 0.2em !important;
}
/* pequeños cintillos SOY/SOMOS · BUSCANDO en perfil */
.profile-info-block > span, .profile-field-label, .profile-info-grid span:first-child,
[class*="profile"] [class*="label"] { color: var(--zx-gold-text) !important; }

/* Hero del home: la foto del club integrada con scrim cálido */
.home-hero::before, .home-hero-media::after {
    background: linear-gradient(115deg, rgba(20, 11, 12, .92) 12%, rgba(20, 11, 12, .35) 55%, rgba(20, 11, 12, .7)) !important;
}
.home-hero-cta-list span, .home-hero-badges span {
    background: rgba(10, 6, 7, .55) !important; border: 1px solid var(--zx-line) !important;
    color: var(--zx-muted) !important;
}
.home-hero-cta-list span i, .home-hero-badges span i { color: var(--zx-gold) !important; }

/* ── Webcam · lobby único (mosaico + columna + chat) ──────────────────── */
.webcam-lobby { align-items: start; }
.webcam-lobby .webcam-global-chat { min-height: 0 !important; grid-template-rows: none !important; }
.webcam-lobby .webcam-rail, .webcam-lobby .webcam-global-chat {
    position: sticky; top: 84px; max-height: calc(100vh - 108px) !important;
}
.webcam-lobby .webcam-global-chat .chat-messages { min-height: 120px; }
@media (max-width: 1023px) {
    .webcam-lobby .webcam-rail, .webcam-lobby .webcam-global-chat {
        position: static; max-height: 60vh !important;
    }
}
@media (max-width: 1023px) {
    .webcam-lobby { grid-template-columns: 1fr !important; }
    .webcam-rail { max-height: none !important; }
    .webcam-rail-list { display: flex !important; gap: 8px; overflow-x: auto; }
    .webcam-rail-item { flex: 0 0 auto; }
}

.webcam-rail-item {
    display: flex; align-items: center; gap: 9px; width: 100%;
    padding: 8px; border-radius: 12px; border: 1px solid transparent;
    background: transparent; color: var(--zx-text); cursor: pointer; text-align: left;
    font-family: "Hanken Grotesk", sans-serif;
}
.webcam-rail-item:hover { background: var(--zx-surface-2); }
.webcam-rail-item.is-active { border-color: rgba(220,42,58,.5); background: rgba(220,42,58,.1); }
.webcam-rail-avatar {
    width: 34px; height: 34px; flex: none; border-radius: 999px; overflow: hidden;
    display: grid; place-items: center; background: var(--zx-surface-3);
    font-size: 11px; font-weight: 700; color: var(--zx-muted);
}
.webcam-rail-avatar img { width: 100%; height: 100%; object-fit: cover; }
.webcam-rail-meta { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.webcam-rail-meta b { font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.webcam-rail-meta span { font-size: 11px; color: var(--zx-muted); display: inline-flex; align-items: center; gap: 4px; }
.webcam-rail-dot { width: 7px; height: 7px; flex: none; border-radius: 999px; background: var(--zx-ember); }

/* Main: mosaico+chat lado a lado. Con foco (VIP, solo entonces existe el
   featured-slot en el DOM): fila de arriba = camara grande + chat al costado,
   fila de abajo = el resto del mosaico, chico, ancho completo. */
.webcam-main { grid-template-columns: minmax(0, 1fr) 380px; grid-template-areas: "mosaic chat"; align-items: start; align-content: start; }
.webcam-main.has-focus {
    grid-template-columns: minmax(0, 1fr) 380px;
    grid-template-rows: auto auto;
    grid-template-areas: "featured chat" "mosaic mosaic";
}
.webcam-featured-slot { grid-area: featured; }
.webcam-featured-slot[hidden] { display: none !important; }
.webcam-mosaic-wrap { grid-area: mosaic; }
.webcam-global-chat { grid-area: chat; }
@media (max-width: 1023px) {
    .webcam-main, .webcam-main.has-focus {
        grid-template-columns: 1fr; grid-template-areas: "featured" "chat" "mosaic";
    }
}

/* Mosaico */
.webcam-mosaic { align-content: start; }
.webcam-mosaic > p { grid-column: 1 / -1; }
.webcam-mosaic .webcam-stream-card, .webcam-featured-slot .webcam-stream-card {
    flex: none !important; display: flex !important; flex-direction: column; gap: 0 !important;
    padding: 0 !important; border-radius: 14px !important; overflow: hidden !important;
    background: var(--zx-surface) !important; cursor: pointer;
    transition: border-color .18s ease, transform .18s ease;
}
.webcam-mosaic .webcam-stream-card:hover, .webcam-featured-slot .webcam-stream-card:hover { border-color: rgba(220,42,58,.45) !important; }
.webcam-mosaic .webcam-stream-video, .webcam-featured-slot .webcam-stream-video { aspect-ratio: 16 / 11; border-radius: 0 !important; }
.webcam-mosaic .webcam-stream-video::before, .webcam-featured-slot .webcam-stream-video::before { content: none !important; }
.webcam-mosaic .webcam-stream-meta, .webcam-featured-slot .webcam-stream-meta { padding: 8px 10px 10px !important; }
.webcam-mosaic .webcam-stream-meta strong, .webcam-featured-slot .webcam-stream-meta strong { font-size: 13px; }
.webcam-mosaic .webcam-stream-meta span, .webcam-featured-slot .webcam-stream-meta span { font-size: 11.5px; color: var(--zx-muted); }
.webcam-mosaic .webcam-stream-meta small, .webcam-featured-slot .webcam-stream-meta small { font-size: 10.5px; color: var(--zx-faint); }
.webcam-viewer-pill { z-index: 3; }
.webcam-tile-lock {
    position: absolute; left: 8px; bottom: 8px; z-index: 3;
    font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    padding: 4px 7px; border-radius: 6px; background: rgba(10,6,7,.72); color: var(--zx-gold-text);
    font-family: "Bricolage Grotesque", sans-serif;
}

/* Botoncito de sonido de cada camara (abajo a la IZQUIERDA de la tarjeta,
   chica en el mosaico o grande en el featured-slot — es el mismo boton).
   Solo suena una camara a la vez: el altavoz "encendido" es la que se
   escucha, tocar otro le pasa el sonido, tocar el encendido silencia. */
.webcam-tile-mute {
    position: absolute; left: 8px; bottom: 8px; z-index: 4;
    display: inline-flex; align-items: center; justify-content: center;
    width: 26px; height: 26px; border: none; border-radius: 999px;
    background: rgba(10,6,7,.72); color: #fff; font-size: 12px; cursor: pointer;
    transition: background .15s ease, color .15s ease;
}
.webcam-tile-mute:hover { background: rgba(10,6,7,.9); }
.webcam-tile-mute.is-muted { color: var(--zx-gold-text); }
.webcam-tile-mute[hidden] { display: none !important; }
.webcam-featured-slot .webcam-tile-mute {
    width: 34px; height: 34px; left: 12px; bottom: 12px; font-size: 15px;
}

/* Free: 3 camaras de muestra nitidas (estables, ver JS), el resto en vivo
   se ve difuminado. VIP nunca se difumina (.is-teaser-locked no se aplica). */
.webcam-stream-card.is-teaser-locked .webcam-stream-video video {
    filter: blur(16px) saturate(.75) brightness(.9);
    transform: scale(1.18);
}
.webcam-mosaic.is-locked-quality .webcam-stream-card { cursor: pointer; }

/* Nombre + boton de arrobar, en la misma fila */
.webcam-stream-meta { position: relative; }
.webcam-tile-name-row { display: flex !important; align-items: center; gap: 6px; }
.webcam-tile-mention {
    display: inline-flex; align-items: center; justify-content: center;
    width: 22px; height: 22px; flex: none; margin-left: auto;
    border: 1px solid var(--zx-line-strong); border-radius: 999px;
    background: var(--zx-surface-2); color: var(--zx-gold-text);
    font-size: 11px; cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
}
.webcam-tile-mention:hover { background: var(--zx-surface-3); border-color: rgba(217,164,65,.5); }

/* VIP: cámara enfocada — vive fisicamente en .webcam-featured-slot (JS la
   mueve ahi), grande, 16:9, con glow. El resto queda en el mosaico normal,
   sin atenuar (ya no comparten contenedor, no hace falta apagar el resto). */
.webcam-mosaic.is-vip .webcam-stream-card { cursor: pointer; }
.webcam-featured-slot .webcam-stream-card {
    border: 1px solid rgba(220,42,58,.6) !important; box-shadow: var(--zx-ember-glow) !important;
}
.webcam-featured-slot .webcam-stream-video { aspect-ratio: 16 / 9; }
.webcam-featured-slot .webcam-stream-meta strong { font-size: 15px; }

/* Panel de chat: dos vistas (general / sala) que se turnan en el mismo lugar */
.webcam-chat-pane[hidden] { display: none !important; }
.webcam-room-back {
    display: inline-flex; align-items: center; justify-content: center;
    width: 26px; height: 26px; flex: none; border-radius: 999px;
    border: 1px solid var(--zx-line-strong); background: var(--zx-surface-2); color: var(--zx-text);
    cursor: pointer;
}
.webcam-room-back:hover { background: var(--zx-surface-3); }

/* ── Soporte ─────────────────────────────────────────────────────────── */
.support-screen { background: var(--zx-bg) !important; padding: 0 !important; }
.support-shell { display: block !important; width: 100% !important; }
.support-messages { gap: 0 !important; background: var(--zx-bg) !important; }
.support-chat-card, .support-report-list { background: var(--zx-surface) !important; }

/* ── Salas de chat · lobby ───────────────────────────────────────────── */
.chatrooms-layout {
    height: calc(100vh - 300px) !important;
    min-height: 420px !important;
    grid-template-rows: none !important;
    align-items: stretch;
}
.chatrooms-room-panel, .chatrooms-chat-panel, .chatrooms-users-panel {
    grid-template-rows: none !important; min-width: 0;
    background: var(--zx-surface) !important;
    box-shadow: var(--zx-panel-shadow) !important;
}
.chatrooms-chat-panel .chat-main-heading, .chatrooms-room-panel .chat-main-heading,
.chatrooms-users-panel .chat-main-heading { background: var(--zx-surface-2) !important; }
.chatrooms-chat-panel .chat-main-heading { justify-content: flex-start !important; }
.chatrooms-chat-panel .chat-messages { min-height: 0; background: var(--zx-bg) !important; }
.chatrooms-room-list, .chatrooms-users-list {
    grid-template-rows: none !important;
    background: transparent !important;
}
.chatrooms-room-panel, .chatrooms-users-panel, .chatrooms-chat-panel { background: var(--zx-surface) !important; }

/* Tarjeta de sala — limpia, sin "creador · hace 88 días" gigante */
.chatroom-room-item {
    display: flex !important; align-items: center; gap: 8px;
    width: 100%; padding: 9px 10px !important;
    border: 1px solid transparent !important; border-radius: 12px !important;
    background: transparent !important; color: var(--zx-text) !important;
    cursor: pointer; text-align: left; letter-spacing: 0 !important;
    font-family: "Hanken Grotesk", sans-serif !important;
}
.chatroom-room-item:hover { background: var(--zx-surface-2) !important; }
.chatroom-room-item.is-active {
    border-color: rgba(220,42,58,.5) !important; background: rgba(220,42,58,.1) !important;
}
.chatroom-room-item > span { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 1px; }
.chatroom-room-item strong {
    font-size: 14px !important; font-weight: 700 !important; text-transform: none !important;
    letter-spacing: 0 !important; color: var(--zx-text) !important;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.chatroom-room-item small {
    font-size: 10.5px !important; font-weight: 500 !important; color: var(--zx-faint) !important;
    text-transform: uppercase !important; letter-spacing: .1em !important;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.chatroom-room-item em {
    flex: none; display: inline-flex; align-items: center; gap: 4px;
    font-style: normal; font-size: 10.5px; font-weight: 700; min-height: 0 !important;
    padding: 3px 8px !important; border-radius: 999px;
    background: var(--zx-surface-3) !important; color: var(--zx-muted) !important;
    border: 0 !important;
}
.chatroom-room-item.is-active em { background: rgba(220,42,58,.2) !important; color: var(--zx-ember-soft) !important; }
.chatroom-room-item em.is-populated { background: rgba(127,185,143,.16) !important; color: var(--zx-pos) !important; }

/* Usuario conectado */
.chatrooms-users-list .webcam-user-item {
    display: flex !important; align-items: center; gap: 8px;
    padding: 6px 8px; border-radius: 10px; border: 0 !important; background: transparent !important;
}
.chatrooms-users-list .webcam-user-item:hover { background: var(--zx-surface-2) !important; }
.chatrooms-users-list .webcam-user-avatar {
    width: 30px; height: 30px; flex: none; border-radius: 999px; overflow: hidden;
    display: grid; place-items: center; background: var(--zx-surface-3) !important;
    font-size: 10.5px; font-weight: 700; color: var(--zx-muted);
}
.chatrooms-users-list .webcam-user-avatar img { width: 100%; height: 100%; object-fit: cover; }
.chatrooms-users-list .webcam-user-meta { min-width: 0; display: flex; flex-direction: column; }
.chatrooms-users-list .webcam-user-meta a { font-size: 12.5px; font-weight: 600; color: var(--zx-text) !important; }
.chatrooms-users-list .webcam-user-meta span { font-size: 10.5px; color: var(--zx-faint); }

@media (max-width: 1023px) {
    .chatrooms-layout { height: auto !important; grid-template-columns: 1fr !important; }
    .chatrooms-room-panel, .chatrooms-users-panel { max-height: 40vh; }
    .chatrooms-chat-panel { min-height: 60vh; }
}

/* ── Historias · crear (composer) ────────────────────────────────────── */
.story-composer-modal {
    background:
        radial-gradient(60rem 40rem at 50% 0%, rgba(220, 42, 58, .16), transparent 60%),
        rgba(8, 5, 5, .94) !important;
}

/* Tarjeta central — lienzo a pantalla completa tipo Instagram */
.story-composer-modal.is-editing .story-composer-card,
.story-composer-card.story-phone-card {
    width: min(420px, calc(100vw - 20px)) !important;
    border: 1px solid var(--zx-line-strong);
    border-radius: 26px;
    background: #0B0708 !important;
    box-shadow: var(--zx-panel-shadow), 0 0 90px -14px rgba(220, 42, 58, .36);
    overflow: hidden;
}
.story-composer-modal.is-editing {
    padding-top: 54px !important;
}
.story-composer-modal.is-editing .story-composer-card {
    position: relative;
    display: block !important;
    height: min(86vh, 880px);
    max-height: none;
}

/* El cuerpo cubre toda la card; los controles flotan sobre el lienzo */
.story-composer-modal.is-editing .story-composer-body {
    position: absolute !important;
    inset: 0;
    display: block !important;
    gap: 0 !important;
    height: auto !important;
    padding: 0 !important;
    overflow: hidden;
    background: transparent;
}

/* Lienzo 9:16 a sangre */
.story-composer-modal.is-editing .story-preview {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.story-text-canvas:empty::before { opacity: .5; font-weight: 700; }

/* Media: se ve entera (contain) y el hueco se rellena con la misma imagen
   difuminada de fondo, como Instagram. No recorta ni deforma. */
.story-composer-modal.is-editing .story-preview img,
.story-composer-modal.is-editing .story-preview video {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center;
    background: transparent !important;
    z-index: 1;
}
.story-preview-backdrop {
    position: absolute;
    inset: -8%;
    z-index: 0;
    display: none;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    filter: blur(34px) saturate(1.1) brightness(.5);
    transform: scale(1.12);
    pointer-events: none;
}
.story-preview-backdrop.is-active { display: block; }

/* Botón para quitar el texto (X) y botón para volver a agregarlo */
.story-text-dismiss {
    position: absolute;
    top: 54px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: rgba(10, 6, 7, .6);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 15px;
    cursor: pointer;
}
.story-text-dismiss[hidden] { display: none; }
.story-text-enable {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border: 1px solid var(--zx-line-strong);
    border-radius: 999px;
    background: rgba(10, 6, 7, .6);
    backdrop-filter: blur(6px);
    color: var(--zx-text);
    font-family: "Bricolage Grotesque", sans-serif;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
}
.story-text-enable[hidden] { display: none; }
.story-text-enable i { color: var(--zx-gold); }

/* Scrims arriba/abajo para leer los controles sobre cualquier fondo */
.story-composer-modal.is-editing .story-composer-body::before,
.story-composer-modal.is-editing .story-composer-body::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    z-index: 3;
    pointer-events: none;
}
.story-composer-modal.is-editing .story-composer-body::before {
    top: 0;
    height: 110px;
    background: linear-gradient(180deg, rgba(6, 4, 4, .62), transparent);
}
.story-composer-modal.is-editing .story-composer-body::after {
    bottom: 0;
    height: 240px;
    background: linear-gradient(0deg, rgba(6, 4, 4, .78), rgba(6, 4, 4, .3) 55%, transparent);
}

/* Cabecera flotante */
.story-composer-modal.is-editing .story-composer-header {
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 6;
    justify-content: space-between !important;
    padding: 12px !important;
    background: transparent !important;
    border: 0 !important;
    backdrop-filter: none !important;
}
.story-composer-modal.is-editing .story-composer-header strong {
    font-family: "DM Serif Display", Georgia, serif !important;
    font-weight: 400 !important;
    font-size: 15px !important;
    letter-spacing: -0.01em !important;
    color: var(--zx-text) !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .6);
}
.story-share-button {
    background: var(--zx-ember) !important;
    background-image: none !important;
    box-shadow: var(--zx-ember-glow) !important;
    border-radius: 999px !important;
    font-family: "Bricolage Grotesque", sans-serif !important;
    font-weight: 700 !important;
    text-transform: none !important;
    letter-spacing: .01em !important;
}
.story-composer-close {
    width: 36px !important;
    height: 36px !important;
    border: 0 !important;
    background: rgba(10, 6, 7, .5) !important;
    backdrop-filter: blur(6px);
    box-shadow: none !important;
    color: #fff !important;
}

/* Herramientas — panel flotante translúcido sobre el lienzo (tipo Instagram) */
.story-composer-modal.is-editing .story-editor[hidden] { display: none !important; }
.story-composer-modal.is-editing .story-editor {
    position: absolute !important;
    left: 10px;
    right: 10px;
    bottom: 122px;
    z-index: 6;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch;
    gap: 9px !important;
    padding: 10px !important;
    overflow: visible !important;
    border: 1px solid var(--zx-line) !important;
    border-radius: 18px !important;
    background: rgba(12, 8, 9, .9) !important;
}

/* Tira de fuentes — chips en su propia tipografía */
.story-font-strip {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 1px;
}
.story-font-strip::-webkit-scrollbar { display: none; }
.story-font-strip button {
    flex: none;
    min-height: 34px;
    padding: 0 14px !important;
    border: 1px solid var(--zx-line-strong) !important;
    border-radius: 999px !important;
    background: rgba(20, 11, 12, .7) !important;
    color: var(--zx-muted) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    white-space: nowrap;
    cursor: pointer;
}
.story-font-strip button.is-active {
    border-color: transparent !important;
    background: #F5E9E4 !important;
    color: #140B0C !important;
}

/* Filas de muestras de color */
.story-swatch-row {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}
.story-swatch-row::-webkit-scrollbar { display: none; }
.story-swatch-row > button {
    flex: none;
    width: 26px !important;
    height: 26px !important;
    padding: 0 !important;
    border: 2px solid rgba(255, 255, 255, .25) !important;
    border-radius: 999px !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .4);
    cursor: pointer;
}
.story-swatch-row > button.is-active {
    border-color: #fff !important;
    box-shadow: 0 0 0 2px rgba(220, 42, 58, .8), 0 1px 4px rgba(0, 0, 0, .4);
}
.story-swatch-row.is-bg > button { border-radius: 8px !important; }
.story-swatch-custom {
    position: relative;
    flex: none;
    display: grid !important;
    place-items: center;
    width: 30px !important;
    height: 30px !important;
    border: 1px dashed var(--zx-line-strong) !important;
    border-radius: 999px !important;
    background: rgba(20, 11, 12, .7) !important;
    color: var(--zx-gold) !important;
    font-size: 11px;
    cursor: pointer;
    overflow: hidden;
}
.story-swatch-custom input[type="color"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
.story-composer-modal.is-editing .story-editor > .story-emoji-row {
    display: flex !important;
    align-items: center;
    flex: 0 0 auto;
    width: auto !important;
    grid-template-columns: none !important;
}
.story-editor option { color: #000 !important; background: #fff !important; }
.story-emoji-row .emoji-picker-toggle {
    width: 40px !important;
    height: 40px !important;
    border: 1px solid var(--zx-line-strong) !important;
    background: rgba(20, 11, 12, .7) !important;
    color: var(--zx-gold) !important;
}
.story-emoji-row .emoji-picker-popover {
    border: 1px solid var(--zx-line-strong) !important;
    background: #1A1012 !important;
    border-radius: 14px !important;
    box-shadow: var(--zx-panel-shadow) !important;
}
.story-emoji-row .emoji-picker-popover button {
    background: rgba(255, 255, 255, .05) !important;
    border: 1px solid var(--zx-line) !important;
}

/* Destacada — fila compacta flotante */
.story-composer-modal.is-editing .story-highlight-options {
    position: absolute !important;
    left: 12px;
    right: 12px;
    bottom: 74px;
    z-index: 6;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 8px !important;
    padding: 0 !important;
}
.story-highlight-toggle {
    flex: none;
    min-height: 40px !important;
    border: 1px solid var(--zx-line) !important;
    border-radius: 999px !important;
    background: rgba(10, 6, 7, .55) !important;
    backdrop-filter: blur(10px);
    color: var(--zx-muted) !important;
    font-family: "Bricolage Grotesque", sans-serif !important;
    font-weight: 700 !important;
    font-size: 10.5px !important;
    letter-spacing: .06em !important;
}
.story-highlight-toggle input { accent-color: var(--zx-ember) !important; }
.story-highlight-options > input {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 40px !important;
    border: 1px solid var(--zx-line) !important;
    border-radius: 999px !important;
    background: rgba(10, 6, 7, .55) !important;
    backdrop-filter: blur(10px);
    color: var(--zx-text) !important;
    font-family: "Hanken Grotesk", sans-serif !important;
    font-weight: 500 !important;
    font-size: 13px !important;
    text-transform: none !important;
}
.story-highlight-options > input::placeholder { color: var(--zx-faint) !important; }

/* Tabs de tipo — control segmentado flotante al pie */
.story-composer-modal.is-editing .story-mode-tabs {
    position: absolute !important;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 6;
    justify-content: stretch !important;
    flex-wrap: nowrap !important;
    gap: 4px !important;
    padding: 4px !important;
    border: 1px solid var(--zx-line) !important;
    border-radius: 999px !important;
    background: rgba(10, 6, 7, .6) !important;
    backdrop-filter: blur(12px) saturate(.9);
}
.story-mode-tabs button {
    flex: 1 1 0 !important;
    width: auto !important;
    min-height: 42px !important;
    border: 1px solid transparent !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: var(--zx-muted) !important;
    font-family: "Bricolage Grotesque", sans-serif !important;
    font-weight: 700 !important;
    font-size: 11px !important;
}
.story-mode-tabs button:hover { color: var(--zx-text) !important; background: rgba(255, 255, 255, .06) !important; }
.story-mode-tabs button.is-active {
    border-color: transparent !important;
    background: var(--zx-ember) !important;
    color: #fff !important;
    box-shadow: 0 0 20px rgba(220, 42, 58, .5) !important;
}

/* Hoja inicial — elegí foto / video / texto */
.story-composer-modal.is-picking {
    background:
        radial-gradient(50rem 40rem at 50% 0%, rgba(220, 42, 58, .16), transparent 60%),
        rgba(10, 6, 7, .82) !important;
}
.story-start-sheet {
    border: 1px solid var(--zx-line-strong) !important;
    border-radius: 22px !important;
    background: var(--zx-bg) !important;
    box-shadow: var(--zx-panel-shadow), 0 0 70px -20px rgba(220, 42, 58, .28) !important;
}
.story-start-sheet strong {
    font-family: "DM Serif Display", Georgia, serif !important;
    font-weight: 400 !important;
}
.story-start-heading span {
    color: var(--zx-gold-text) !important;
    font-family: "Bricolage Grotesque", sans-serif !important;
    font-size: 10px !important;
    letter-spacing: .2em !important;
    text-transform: uppercase !important;
}
.story-start-sheet > button:not(.story-composer-close) {
    border: 1px solid var(--zx-line) !important;
    border-radius: 14px !important;
    background: var(--zx-surface) !important;
}
.story-start-sheet > button:not(.story-composer-close):hover {
    border-color: rgba(220, 42, 58, .5) !important;
    background: var(--zx-surface-2) !important;
}
.story-start-sheet > button:not(.story-composer-close) i {
    border-radius: 12px !important;
    background: rgba(220, 42, 58, .16) !important;
    color: var(--zx-ember-soft) !important;
}
.story-start-sheet > button[data-story-start="foto"] {
    border-color: rgba(220, 42, 58, .5) !important;
    background: linear-gradient(120deg, rgba(220, 42, 58, .14), rgba(20, 11, 12, .4)) !important;
}
.story-start-sheet > button[data-story-start="foto"] i {
    background: var(--zx-ember) !important;
    color: #fff !important;
    box-shadow: var(--zx-ember-glow) !important;
}
.story-start-sheet > button:not(.story-composer-close) span small { color: var(--zx-muted) !important; }

@media (max-width: 560px) {
    .story-composer-modal.is-editing .story-composer-card,
    .story-composer-card.story-phone-card {
        width: 100vw !important;
        height: 100dvh !important;
        border-radius: 0;
        border: 0;
    }
}

/* ── Historias · ver (visor) — mismo lenguaje "phone card" 9:16 que el
   composer, en vez del cuadrado chico de antes. Dos visores distintos:
   `.profile-view-story` (mis historias, desde Mi perfil — la card la
   comparte con el visor de foto de perfil, cuadrado, por eso el ajuste va
   scopeado con :has() a cuando muestra una historia) y `.wall-story-*`
   (historias de otros, desde muro/home). ────────────────────────────────── */
.profile-view-card:has(.profile-view-story:not([hidden])) {
    width: min(420px, calc(100vw - 20px)) !important;
    height: min(86vh, 880px) !important;
}
/* El visor propio tiene contador/progreso/like/comentar/vistas VIP DEBAJO de
   la historia (no flotando encima como el composer) — flex para que la
   historia ocupe lo que sobra y ese bloque no desborde la card. */
.profile-view-content { height: 100% !important; }
.profile-view-story {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 0 !important;
}
.profile-view-card:has(.profile-view-story:not([hidden])) .profile-story-slide {
    aspect-ratio: auto !important;
    width: 100% !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    border-radius: 26px !important;
}
.profile-story-status { flex: none !important; overflow-y: auto !important; max-height: 40% !important; }
.wall-story-card {
    width: min(420px, calc(100vw - 20px)) !important;
    display: flex !important;
    flex-direction: column !important;
    height: min(86vh, 880px) !important;
}
.wall-story-stage {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    height: auto !important;
    border-radius: 26px !important;
}
.wall-story-card footer { flex: none !important; }
@media (max-width: 560px) {
    .profile-view-modal:has(.profile-view-story:not([hidden])),
    .wall-story-viewer {
        padding: 0 !important;
    }
    .profile-view-card:has(.profile-view-story:not([hidden])),
    .wall-story-card {
        width: 100vw !important;
        height: 100dvh !important;
    }
    .profile-view-card:has(.profile-view-story:not([hidden])) .profile-story-slide,
    .wall-story-stage {
        border-radius: 0 !important;
    }
}

/* La caja de cupón usa clase Tailwind `flex` (display:flex !important) que le
   ganaba a [hidden] de main.css → quedaba visible con planes sin cupón. */
.vip-coupon-box[hidden] { display: none !important; }

/* ── Moderación · denunciar contenido ────────────────────────────────── */
.profile-story-report-form button,
.wall-post-report button,
.media-actions form button[aria-label="Denunciar foto"] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: transparent !important;
    border: 0 !important;
    color: var(--zx-faint) !important;
    font-size: 12px;
    cursor: pointer;
}
.profile-story-report-form button:hover,
.wall-post-report button:hover,
.media-actions form button[aria-label="Denunciar foto"]:hover {
    color: var(--zx-ember-soft) !important;
}
.media-review-flag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10.5px;
    font-weight: 700;
    color: var(--zx-gold-text);
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* ── Aprobacion manual: bio/foto/fondo/muro nuevos, pendientes de revision ── */
.profile-pending-note {
    margin-top: 12px !important;
    padding: 12px 14px !important;
    border: 1px dashed var(--zx-gold) !important;
    border-radius: 12px !important;
    background: rgba(217, 164, 65, 0.08) !important;
}
.profile-pending-note strong {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: var(--zx-gold-text) !important;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.profile-pending-note p { margin-top: 6px !important; color: var(--zx-muted) !important; }
.wall-pending-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 2px 0 6px;
    font-size: 10.5px;
    font-weight: 700;
    color: var(--zx-gold-text) !important;
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* ── PWA · cartel "Descargar aplicación" ────────────────────────────── */
.pwa-install-banner {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 60;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid var(--zx-line-strong);
    background: var(--zx-panel-bg);
    box-shadow: var(--zx-panel-shadow), 0 0 0 1px rgba(0, 0, 0, .2);
    animation: pwa-banner-in .4s ease-out;
}
.pwa-install-banner[hidden] { display: none; }
@keyframes pwa-banner-in {
    from { transform: translateY(16px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}
.pwa-install-icon {
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--zx-line);
}
.pwa-install-copy {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 2px;
}
.pwa-install-copy strong {
    font-family: 'Bricolage Grotesque', Arial, sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--zx-text);
}
.pwa-install-copy span {
    font-size: 12px;
    line-height: 1.35;
    color: var(--zx-muted);
}
.pwa-install-actions {
    display: flex;
    flex: none;
    align-items: center;
    gap: 6px;
}
.pwa-install-cta {
    border: 0;
    border-radius: 999px;
    padding: 9px 16px;
    background: var(--zx-ember);
    box-shadow: var(--zx-ember-glow);
    color: #1a0d08;
    font-family: 'Bricolage Grotesque', Arial, sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}
.pwa-install-close {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--zx-faint);
    font-size: 14px;
    cursor: pointer;
}
.pwa-install-close:hover { color: var(--zx-text); }
@media (min-width: 640px) {
    .pwa-install-banner { left: auto; width: min(380px, calc(100vw - 24px)); }
}

/* ── Motion ──────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
    .finder-card:hover, .encounter-card:hover { transform: none; }
}
