/* TelegramFanClub · Discover. Tokens de la v2 (telegramfanclub-Discover/html/00_Componentes). Acento único fucsia #FF3D8B
   desde el 18-nov-2026: el azul de Telegram (#FF3D8B) hizo que Safe Browsing tomara la web por una suplantación.
   Escritorio por defecto; 1040 px (tablet) y 700 px (móvil) son los cortes del diseño. */

:root {
    color-scheme: dark;
    --bg: #0B0D12;
    --bg-deep: #0E1118;
    --surface: #151922;
    --surface-raised: #131720;
    --surface-accent: #2A1020;
    --media: #10141B;
    --line: #222836;
    --line-card: #262C3A;
    --line-input: #2C3446;
    --line-chip: #34405A;
    --line-strong: #46536F;
    --text: #F3F6FA;
    --text-nav: #E6EBF2;
    --text-soft: #DCE2EC;
    --text-muted: #AEB7C7;
    --text-subtle: #8C96A8;
    --placeholder: #808AA0;
    --link: #FF3D8B;
    --link-hover: #FF7AB0;
    --accent: #FF3D8B;
    --accent-hover: #E0216F;
    --on-accent: #06121C;
    --accent-diagonal: #FF3D8B;
    --accent-text: linear-gradient(90deg, #FF3D8B, #FF3D8B);
    /* Acento único fucsia; el degradado más oscuro (texto blanco) solo en los botones «Entrar en (su) Telegram». */
    --telegram: linear-gradient(90deg, #E0216F, #B8155A);
    --online: #22C55E;
    --idle: #566078;
    --error: #FFA3A3;
    --error-line: #FF6B6B;
    --font-display: Outfit, system-ui, sans-serif;
    --font-body: Inter, system-ui, sans-serif;
    --tone: #263042;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    /* Red de seguridad (especificación v2, bloque H): el documento nunca es más ancho que la pantalla. */
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
}
a { color: var(--link); }
a:hover { color: var(--link-hover); }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); }
select option { background: var(--surface); color: var(--text); }
input::placeholder { color: var(--placeholder); }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
button { font-family: var(--font-body); }

.site { flex: 1; display: flex; flex-direction: column; min-height: 100vh; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.text-gradient {
    background: var(--accent-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Tonos de las fotos que faltan (placeholders del diseño). */
.tone-0 { --tone: #2E3446; }
.tone-1 { --tone: #26304f; }
.tone-2 { --tone: #3A3532; }
.tone-3 { --tone: #263042; }
.tone-4 { --tone: #1f4a45; }
.tone-5 { --tone: #3A303A; }

/* Banderas dibujadas con CSS: ni imágenes ni emojis. */
.flag { flex: none; display: inline-block; width: 20px; height: 14px; border-radius: 3px; }
.flag--es { background: linear-gradient(#AA151B 0 25%, #F1BF00 25% 75%, #AA151B 75%); }
.flag--co { background: linear-gradient(#FCD116 0 50%, #003893 50% 75%, #CE1126 75%); }
.flag--mx { background: linear-gradient(90deg, #006847 0 33.3%, #FFFFFF 33.3% 66.6%, #CE1126 66.6%); }
.flag--ve { background: linear-gradient(#FFCC00 0 33.3%, #00247D 33.3% 66.6%, #CF142B 66.6%); }
.flag--cu { background: linear-gradient(90deg, #CF142B 0 32%, transparent 32%), repeating-linear-gradient(#002A8F 0 20%, #FFFFFF 20% 40%); }
.flag--ar { background: linear-gradient(#74ACDF 0 33.3%, #FFFFFF 33.3% 66.6%, #74ACDF 66.6%); }
.flag--br { background: radial-gradient(circle at 50% 50%, #002776 0 18%, transparent 19%), radial-gradient(ellipse 42% 38% at 50% 50%, #FEDF00 97%, transparent 100%), #009C3B; }

/* ---------- Logo ---------- */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 26px;
    letter-spacing: -0.02em;
    color: var(--text);
    text-decoration: none;
}
.logo:hover { color: var(--text); }
.logo svg { width: 1.15em; height: auto; margin: -0.42em 0 0 0.12em; }
/* «telegram» regular + «fanclub» bold en azul (marca/logo-telegramfanclub.svg). */
.logo__word { font-weight: 400; letter-spacing: -0.01em; }
.logo__strong { font-weight: 800; color: var(--accent); }
.brand { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.brand__tagline { font-size: 11px; line-height: 1.3; color: var(--text-subtle); white-space: nowrap; }
/* Aviso de independencia encima de la cabecera, a la vista en todas las pantallas. */
.site-notice { padding: 6px 16px; background: var(--bg-deep); border-bottom: 1px solid var(--line); color: var(--text-muted); font-size: 12.5px; line-height: 1.4; text-align: center; }

/* ---------- Botones ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    cursor: pointer;
    font-family: var(--font-body);
    text-decoration: none;
    white-space: nowrap;
}
.btn-accent {
    min-height: 56px;
    padding: 0 26px;
    border-radius: 14px;
    background: var(--accent);
    color: var(--on-accent);
    font-weight: 700;
    font-size: 15px;
}
.btn-accent:hover { color: var(--on-accent); background: var(--accent-hover); }
.btn-outline {
    min-height: 44px;
    padding: 0 18px;
    border-radius: 12px;
    border: 1px solid var(--line-strong);
    background: transparent;
    color: var(--text);
    font-weight: 600;
    font-size: 14px;
}
.btn-outline:hover { color: var(--text); border-color: #4E5B78; }
.btn-telegram {
    min-height: 46px;
    border-radius: 12px;
    background: var(--telegram);
    color: #FFFFFF;
    font-weight: 600;
    font-size: 14px;
}
.btn-telegram:hover { color: #FFFFFF; filter: brightness(1.1); }
.btn-telegram svg { flex: none; }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(11, 13, 18, 0.92);
    border-bottom: 1px solid var(--line);
    -webkit-backdrop-filter: saturate(1.2) blur(8px);
    backdrop-filter: saturate(1.2) blur(8px);
}
.site-header__bar { height: 72px; display: flex; align-items: center; gap: 32px; }
.main-nav { display: flex; gap: 28px; flex: 1; }
.main-nav a { color: var(--text-nav); font-weight: 500; font-size: 15px; text-decoration: none; }
.main-nav a:hover { color: #FFFFFF; }
.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.lang-switch { display: flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line-input); }
.lang-switch a {
    min-width: 44px;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
}
.lang-switch a[aria-current="true"] { background: #262C3A; color: #FFFFFF; }
.header-mobile { display: none; }
.icon-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: var(--text);
    text-decoration: none;
    cursor: pointer;
}
.icon-btn:hover { color: #FFFFFF; }
.icon-btn--lang { border: 1px solid var(--line-input); border-radius: 12px; font-weight: 700; font-size: 13px; }
.menu { position: relative; }
.menu > summary { list-style: none; }
.menu > summary::-webkit-details-marker { display: none; }
.menu__panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: min(280px, calc(100vw - 24px));
    padding: 8px;
    border-radius: 18px;
    background: var(--bg-deep);
    border: 1px solid var(--line-input);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
    display: flex;
    flex-direction: column;
}
.menu__panel a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 12px;
    color: var(--text-nav);
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
}
.menu__panel a:hover { background: var(--surface); color: #FFFFFF; }

/* ---------- Estructura de página ---------- */
.page { flex: 1; display: flex; flex-direction: column; gap: 32px; padding-top: 24px; }
.page--home { gap: 72px; padding-top: 0; }
.page--profile { gap: 56px; }
.section { display: flex; flex-direction: column; gap: 24px; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.section__title { margin: 0; font-weight: 700; font-size: 30px; }
.section__more { font-weight: 600; font-size: 14px; white-space: nowrap; }
.grid { display: grid; gap: 20px; }
.grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: 14px; color: var(--text-muted); }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs [aria-current="page"] { color: var(--text); font-weight: 600; }

/* ---------- Hero y buscador ---------- */
.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 48px;
    align-items: center;
    padding-top: 56px;
}
.hero__copy { display: flex; flex-direction: column; gap: 24px; }
.hero__title { margin: 0; font-weight: 800; font-size: 56px; line-height: 1.05; letter-spacing: -0.02em; }
.hero__lead { margin: 0; font-size: 18px; line-height: 1.6; color: var(--text-muted); max-width: 560px; }
.search-panel {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px;
    border-radius: 20px;
    background: var(--surface);
    border: 1px solid var(--line-input);
}
.search-panel__selects { display: contents; }
.search-panel__field { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; padding: 8px 14px; }
.search-panel__field--name { flex: 1.3; }
.search-panel__field + .search-panel__field,
.search-panel__selects .search-panel__field { border-left: 1px solid var(--line-input); }
.search-panel__label { font-size: 12px; font-weight: 600; color: var(--text-muted); }
.search-panel input,
.search-panel select {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 15px;
    padding: 2px 0;
}
.search-panel input:focus-visible,
.search-panel select:focus-visible { outline: 0; }
.search-panel__field:focus-within { border-radius: 12px; box-shadow: inset 0 0 0 2px rgba(255, 61, 139, 0.55); }
/* Campo único (especificación v2, bloque B): lupa, texto libre y atajo de teclado en una fila. */
.search-panel--single .search-panel__field { flex-direction: row; align-items: center; gap: 10px; min-height: 52px; color: var(--text-subtle); }
.search-panel--single input { font-size: 17px; }
.search-panel__kbd { flex: none; padding: 3px 7px; border-radius: 6px; border: 1px solid var(--line-chip); font: 600 11px var(--font-body); color: var(--text-subtle); }
@media (hover: none), (max-width: 700px) { .search-panel__kbd { display: none; } }
.interpreted { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: -4px; }
.interpreted__label { font-size: 14px; color: var(--text-muted); }
.interpreted__chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 8px 0 14px;
    border-radius: 999px;
    border: 1px solid var(--accent);
    background: var(--surface-accent);
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}
.interpreted__chip span { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; color: var(--accent); font-size: 18px; line-height: 1; }
.interpreted__chip:hover { color: #FFFFFF; }
.interpreted__chip:hover span { background: rgba(255, 61, 139, 0.16); }
.collage { position: relative; height: 420px; }
.collage__card {
    position: absolute;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid var(--line-input);
    background: radial-gradient(120% 80% at 50% 25%, var(--tone) 0%, var(--media) 100%);
}
.collage__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.collage__card--left { left: 0; top: 50px; width: 46%; transform: rotate(-6deg); }
.collage__card--right { right: 0; top: 40px; width: 46%; transform: rotate(6deg); }
.collage__card--center {
    left: 25%;
    top: 0;
    width: 50%;
    border-radius: 24px;
    border-color: var(--line-strong);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}
.silhouette { width: 82%; opacity: 0.16; }
.collage__card--center .silhouette { width: 80%; opacity: 0.18; }

/* ---------- Chips ---------- */
.chip-rows { display: flex; flex-direction: column; gap: 14px; margin-top: -32px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--line-input);
    color: var(--text);
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
}
.chip:hover { color: #FFFFFF; border-color: var(--line-strong); }
.chip--outline { min-height: 40px; background: transparent; border-color: var(--line-chip); color: var(--text-soft); }
.chip[aria-current="page"] { border-color: #FF3D8B; }

/* ---------- Tarjeta de creadora ---------- */
.card {
    /* Contiene a sus .sr-only: sin esto se salían del carrusel y la portada se desplazaba en horizontal (732 px a 390). */
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line-card);
    border-radius: 18px;
}
.card__media {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: radial-gradient(120% 80% at 50% 25%, var(--tone) 0%, var(--media) 100%);
}
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
    padding: 5px 11px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px;
    line-height: 1.2;
}
.badge--top { background: #F2B33D; color: #06121C; }
.badge--new { background: #FF3D8B; color: #06121C; }
.badge--offer { background: #FF6B6B; color: #06121C; }
.card__rank {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 1;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 40px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}
.card__body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 14px; }
.card__name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 18px;
    color: var(--text);
    text-decoration: none;
}
.card__name:hover { color: #FFFFFF; }
.card__meta { display: flex; align-items: center; gap: 7px; min-height: 16px; font-size: 13px; color: var(--text-muted); }
.card__meta .flag { width: 18px; height: 12px; border-radius: 2px; }
.card__meta-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.card__price { font-family: var(--font-display); font-weight: 700; font-size: 19px; white-space: nowrap; }
.card__period { font-family: var(--font-body); font-weight: 500; font-size: 12px; color: var(--text-muted); }
.card__posts { font-size: 12px; color: var(--text-muted); white-space: nowrap; }
.activity { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-muted); }
.dot { flex: none; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--online); }
.dot--idle { background: var(--idle); }
/* El CTA va siempre abajo aunque falte alguna línea, con el aire extra del diseño encima. */
.card__cta { margin-top: auto; }
.card__body > :nth-last-child(2) { margin-bottom: 4px; }
.card .btn-telegram { width: 100%; }

/* Variante compacta: rejilla de 6 y móvil (tarjeta de 171 px del diseño). */
.card--compact { border-radius: 16px; }
.card--compact .badge { top: 10px; left: 10px; padding: 4px 10px; font-size: 11px; }
.card--compact .card__body { gap: 7px; padding: 12px; }
.card--compact .card__name { font-size: 16px; }
.card--compact .card__meta { gap: 6px; font-size: 12px; }
.card--compact .card__meta .flag { width: 16px; height: 11px; }
.card--compact .card__price { font-size: 16px; }
.card--compact .card__period { font-size: 11px; }
.card--compact .card__posts { font-size: 11px; }
.card--compact .btn-telegram { min-height: 44px; gap: 6px; font-size: 13px; }
.card--compact .btn-telegram svg { width: 15px; height: 15px; }

/* ---------- Categorías y pasos ---------- */
.category-tile {
    position: relative;
    display: flex;
    align-items: flex-end;
    height: 120px;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid var(--line-input);
    background: linear-gradient(160deg, var(--tone) 0%, var(--surface-raised) 85%);
    color: #FFFFFF;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
    text-decoration: none;
}
.category-tile:hover { color: #FFFFFF; border-color: var(--line-strong); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 28px;
    border-radius: 20px;
    background: var(--surface);
    border: 1px solid var(--line-card);
}
.step__number {
    flex: none;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--accent);
    color: var(--on-accent);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 20px;
}
.step__text { display: flex; flex-direction: column; gap: 14px; }
.step h3 { margin: 0; font-weight: 700; font-size: 21px; }
.step p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-muted); }

/* ---------- Bloque «¿Eres creadora?» ---------- */
.join-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 44px 48px;
    border-radius: 26px;
    background: var(--surface-accent);
    border: 1px solid var(--line-strong);
}
.join-cta__copy { display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.join-cta h2 { margin: 0; font-weight: 800; font-size: 34px; }
.join-cta p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text-muted); }
.join-cta .btn-accent { padding: 0 30px; border-radius: 16px; font-size: 16px; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 88px; border-top: 1px solid var(--line); background: var(--bg-deep); }
.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
    gap: 40px;
    padding-top: 48px;
    padding-bottom: 28px;
}
.site-footer__brand { display: flex; flex-direction: column; gap: 14px; }
.site-footer__brand .logo { font-size: 24px; }
.site-footer__brand p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--text-muted); max-width: 380px; }
.site-footer__brand .not-affiliated { font-size: 13px; font-weight: 600; color: var(--text-nav); }
.footer-nav { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-nav__title { font-weight: 700; color: var(--text); }
.footer-nav a, .footer-nav__text { color: var(--text-muted); text-decoration: none; }
.footer-nav a:hover { color: var(--text); }
.rta { display: inline-flex; align-items: center; gap: 8px; padding: 10px 0; font-size: 13px; color: var(--text-muted); }
.rta__label {
    padding: 2px 7px;
    border: 1px solid var(--text-muted);
    border-radius: 4px;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 0.06em;
    color: var(--text);
}
.site-footer__legal {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 18px;
    padding-bottom: 32px;
    border-top: 1px solid var(--line);
    font-size: 12px;
    color: var(--text-subtle);
}

/* ---------- Listado, búsqueda y filtros ---------- */
.page-intro { display: flex; flex-direction: column; gap: 12px; max-width: 820px; margin-top: -12px; }
.page-intro h1 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 800;
    font-size: 46px;
    line-height: 1.08;
    letter-spacing: -0.02em;
}
.page-intro h1 .flag { width: 42px; height: 28px; border-radius: 5px; }
.page-intro p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--text-muted); }
.filters {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 14px;
    padding: 16px;
    border-radius: 18px;
    background: var(--surface);
    border: 1px solid var(--line-card);
}
.filters__selects { display: contents; }
.filters__field { display: flex; flex-direction: column; gap: 6px; min-width: 200px; }
.filters__label { font-size: 12px; font-weight: 600; color: var(--text-muted); }
.filters select {
    min-height: 44px;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid var(--line-chip);
    background: var(--bg-deep);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 15px;
}
.toggle-group { display: flex; gap: 6px; }
.toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 12px;
    border: 1px solid var(--line-chip);
    background: transparent;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}
.toggle:hover { color: #FFFFFF; border-color: var(--line-strong); }
.toggle[aria-current="true"], .toggle[aria-current="true"]:hover { background: var(--accent); border-color: transparent; color: var(--on-accent); }
.filters__apply { min-height: 44px; padding: 0 18px; border-radius: 12px; font-size: 14px; }
.js .filters__apply { display: none; }
.inline-search { display: flex; gap: 8px; max-width: 640px; min-width: 0; }
.inline-search__field {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid var(--line-chip);
    background: var(--surface);
    color: var(--text-muted);
}
.inline-search__field:focus-within { border-color: #FF3D8B; }
.inline-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
}
.inline-search .btn-accent { min-height: 52px; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; }
.pagination__item {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid var(--line-input);
    color: var(--text-nav);
    text-decoration: none;
}
.pagination__item:hover { color: #FFFFFF; border-color: var(--line-strong); }
.pagination__item[aria-current="page"] { background: var(--accent); border-color: transparent; color: var(--on-accent); font-weight: 700; }
.pagination__item[aria-disabled="true"] { color: var(--text-subtle); pointer-events: none; }
.pagination__gap { padding: 0 4px; color: var(--text-subtle); }
.more-links { display: flex; flex-direction: column; gap: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.more-links h2 { margin: 0; font-weight: 700; font-size: 24px; }
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 64px 32px;
    border-radius: 22px;
    background: var(--surface);
    border: 1px dashed var(--line-chip);
    text-align: center;
}
.empty-state h1, .empty-state h2 { margin: 0; font-weight: 700; font-size: 28px; line-height: 1.2; }
.empty-state p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text-muted); max-width: 460px; }
.empty-state .chip-row { justify-content: center; }

/* ---------- Ficha de creadora (pantalla 04 del diseño v2) ---------- */
.page--profile { padding-bottom: 56px; }
.pf-head { display: flex; flex-direction: column; }
.pf-cover {
    position: relative;
    height: 200px;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid var(--line-card);
    background: linear-gradient(120deg, #13253A 0%, var(--tone) 100%);
}
.pf-cover img { width: 100%; height: 100%; object-fit: cover; }
.pf-cover__fallback { opacity: 0.55; }
.pf-cover .badge { top: 16px; left: 16px; }
.pf-id {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr) auto;
    gap: 0 24px;
    align-items: start;
    padding: 0 0 0 20px;
}
.pf-avatar {
    width: 128px;
    height: 128px;
    position: relative;
    z-index: 1;
    margin-top: -64px;
    border-radius: 50%;
    padding: 4px;
    background: var(--bg);
    box-shadow: 0 0 0 3px var(--accent);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pf-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.pf-avatar svg { width: 70%; height: 70%; }
.pf-id__text { display: flex; flex-direction: column; gap: 10px; padding-top: 22px; min-width: 0; }
.pf-id h1 { margin: 0; display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 40px; line-height: 1.05; letter-spacing: -0.01em; }
.pf-verified { display: inline-flex; }
.pf-handle { margin-top: -6px; font-size: 14px; color: var(--text-subtle); }
.pf-origin { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; font-size: 15px; color: var(--text-soft); }
.pf-origin .flag { margin-right: 8px; }
.pf-origin > span:not(.flag) + span::before { content: "·"; margin: 0 8px; color: var(--text-subtle); }
.pf-activity { display: inline-flex; align-items: center; gap: 6px; }
.pf-activity--idle { color: var(--text-subtle); }
.pf-stats { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pf-stats li {
    min-width: 96px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid var(--line-card);
    background: var(--surface);
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.pf-stats strong { font-family: var(--font-display); font-weight: 800; font-size: 20px; }
.pf-stats span { font-size: 12.5px; color: var(--text-muted); }
.pf-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pf-socials { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; font-size: 14px; color: var(--text-muted); }
.pf-socials a { display: inline-flex; align-items: center; min-height: 44px; }
.pf-bio { margin: 0; max-width: 680px; font-size: 15px; line-height: 1.65; color: var(--text-soft); white-space: pre-line; }
.pf-cta { display: flex; flex-direction: column; align-items: center; gap: 8px; padding-top: 22px; }
.btn-telegram--lg { min-height: 56px; padding: 0 34px; border-radius: 14px; font-size: 16px; font-weight: 700; }
.pf-cta__note { font-size: 12px; color: var(--text-subtle); }

.pf-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 32px;
    align-items: start;
    margin-top: 12px;
}
.pf-side { grid-column: 2; grid-row: 1; position: sticky; top: 92px; display: flex; flex-direction: column; gap: 16px; }
.pf-main { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 48px; min-width: 0; }
.pf-box { display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: 18px; border: 1px solid var(--line-card); background: var(--surface); }
.pf-box__title { margin: 0; display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; }
.pf-box__title--accent { color: var(--accent); }
.pf-box__note { margin: 0; font-size: 12px; line-height: 1.5; color: var(--text-subtle); text-align: center; }
.pf-box__text { margin: 0; font-size: 14px; line-height: 1.55; color: var(--text-muted); }
.pf-box__price { margin: 0; color: var(--text-muted); }
.pf-box__price strong { font-family: var(--font-display); font-size: 26px; color: var(--text); }
.pf-offer { margin: 0; padding: 8px 12px; border-radius: 10px; background: rgba(255, 107, 107, 0.12); color: #FFB3B3; font-size: 13px; font-weight: 600; }
.pf-plans { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pf-plan {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    padding: 8px 14px;
    border-radius: 12px;
    border: 1px solid var(--line-card);
    background: var(--bg-deep);
}
.pf-plan--best { border-color: var(--accent); background: var(--surface-accent); }
.pf-plan__name { display: flex; flex-direction: column; gap: 2px; margin-right: auto; }
.pf-plan__name strong { font-size: 15px; }
.pf-plan__name span { font-size: 12px; color: var(--text-muted); }
.pf-plan__saving { padding: 3px 9px; border-radius: 999px; background: rgba(255, 61, 139, 0.16); color: var(--accent); font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.pf-plan__price { font-family: var(--font-display); font-weight: 800; font-size: 17px; white-space: nowrap; }
.btn-block { width: 100%; }
.pf-from { margin: 0; display: flex; align-items: baseline; gap: 8px; color: var(--text-muted); font-size: 14px; }
.pf-from strong { font-family: var(--font-display); font-weight: 800; font-size: 28px; color: var(--text); }
.pf-includes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.pf-includes li { display: flex; align-items: center; gap: 10px; }
.pf-includes svg { flex: none; }

.pf-section { display: flex; flex-direction: column; gap: 6px; }
.pf-section h2 { margin: 0; font-weight: 700; font-size: 26px; }
.pf-section__lead { margin: 0 0 12px; font-size: 14px; color: var(--text-muted); }
.pf-posts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pf-post {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--line-card);
    background: radial-gradient(120% 80% at 50% 30%, var(--tone) 0%, var(--media) 100%);
    color: var(--text);
    text-decoration: none;
}
.pf-post img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pf-post__top {
    position: absolute;
    inset: 0 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px 24px;
    background: linear-gradient(rgba(11, 13, 18, 0.7), rgba(11, 13, 18, 0));
    font-size: 12px;
}
.pf-post__caption { font-weight: 600; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pf-post__top time { flex: none; color: var(--text-soft); }
.pf-post__lock {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(11, 13, 18, 0.7);
}
.pf-post__price { position: absolute; right: 10px; bottom: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(11, 13, 18, 0.8); font-size: 12px; font-weight: 700; }
.pf-post:hover .pf-post__lock { background: var(--accent); }

.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 56px;
    cursor: pointer;
    list-style: none;
    font-weight: 600;
    font-size: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; width: 9px; height: 9px; margin-right: 4px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); transition: transform 0.15s; }
.faq__item[open] summary::after { transform: rotate(-135deg); }
.faq__item p { margin: 0 0 18px; font-size: 15px; line-height: 1.65; color: var(--text-muted); }
.profile-section { display: flex; flex-direction: column; gap: 18px; }
.profile-section h2 { margin: 0; font-weight: 700; font-size: 26px; }
.sticky-cta { display: none; }

/* ---------- Formulario «Soy creadora» ---------- */
.join {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
    gap: 64px;
    align-items: start;
    padding-top: 72px;
    padding-bottom: 72px;
}
.join__pitch { display: flex; flex-direction: column; gap: 22px; padding-top: 12px; }
.eyebrow {
    align-self: flex-start;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    font-size: 13px;
    font-weight: 600;
    color: var(--link);
}
.join__pitch h1 { margin: 0; font-weight: 800; font-size: 54px; line-height: 1.04; letter-spacing: -0.02em; }
.join__pitch > p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--text-muted); max-width: 520px; }
.perks { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 16px; color: var(--text-nav); }
.perks li { display: flex; align-items: center; gap: 12px; }
.perks svg { flex: none; }
/* Para quien aún no tiene cuenta en la plataforma: explica el alta y enlaza al registro. */
.join__register { padding: 18px 20px; border: 1px solid var(--line-card); border-radius: 14px; background: var(--surface); max-width: 520px; }
.join__register h2 { margin: 0 0 6px; font-size: 18px; }
.join__register p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.55; color: var(--text-muted); }
.form-card { padding: 32px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line-input); }
.form { display: flex; flex-direction: column; gap: 18px; }
.form h2 { margin: 0 0 4px; font-weight: 700; font-size: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label { font-size: 14px; font-weight: 600; }
.field input {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    border-radius: 14px;
    border: 1px solid var(--line-chip);
    background: var(--bg-deep);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
}
.field input:focus-visible { outline: 0; border-color: #FF3D8B; box-shadow: 0 0 0 3px rgba(255, 61, 139, 0.25); }
.field--invalid input { border-color: var(--error-line); }
.field__error { margin: 0; font-size: 13px; color: var(--error); }
.consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-height: 44px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid var(--line-chip);
    background: var(--bg-deep);
    cursor: pointer;
}
.consent--invalid { border-color: var(--error-line); }
.consent input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: #FF3D8B; }
.consent span { font-size: 14px; line-height: 1.45; color: var(--text); }
.consent__required { color: var(--error-line); }
.form .btn-accent { width: 100%; margin-top: 6px; min-height: 58px; border-radius: 16px; font-size: 17px; }
.form__legal { margin: 0; font-size: 13px; line-height: 1.5; color: var(--text-subtle); text-align: center; }
.form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-success { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 40px 8px; text-align: center; }
.form-success h2 { margin: 0; font-weight: 700; font-size: 26px; }
.form-success p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-muted); }
.form-success .btn-outline { margin-top: 6px; min-height: 48px; padding: 0 22px; border-radius: 14px; }

/* ---------- Age gate (modal sobre la página) ---------- */
html.is-age-gated, html.is-age-gated body { overflow: hidden; }
.age-gate {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
    overflow-y: auto;
    background: rgba(11, 13, 18, 0.72);
    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px);
}
.age-gate__card {
    position: relative;
    width: 100%;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    padding: 44px 40px 36px;
    border-radius: 28px;
    background: var(--surface-raised);
    border: 1px solid var(--line-input);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    text-align: center;
}
.age-gate__logo { font-size: 30px; }
.age-gate__badge {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid #FF3D8B;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 26px;
}
.age-gate__copy { display: flex; flex-direction: column; gap: 12px; }
.age-gate h2 { margin: 0; font-weight: 700; font-size: 32px; line-height: 1.15; }
.age-gate__copy p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-muted); }
.age-gate__language { display: flex; align-items: center; gap: 12px; }
.age-gate__language-label { font-size: 13px; font-weight: 500; color: var(--text-muted); }
.lang-pill { display: flex; padding: 4px; border-radius: 999px; background: var(--bg-deep); border: 1px solid var(--line-input); }
.lang-pill a {
    min-width: 56px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}
.lang-pill a[aria-current="true"] { background: var(--accent); color: var(--on-accent); }
.age-gate__actions { width: 100%; display: flex; flex-direction: column; gap: 10px; }
.age-gate__actions .btn-accent { width: 100%; border-radius: 16px; font-size: 16px; }
.age-gate__leave {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 15px;
    text-decoration: underline;
}
.age-gate__fineprint { margin: 0; font-size: 12px; line-height: 1.5; color: var(--text-subtle); }

/* ================= Tablet ================= */
@media (max-width: 1040px) {
    .grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid--6, .previews { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hero { grid-template-columns: minmax(0, 1fr); }
    .collage { display: none; }
    .join { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}

/* ================= Móvil ================= */
@media (max-width: 700px) {
    .wrap { padding: 0 16px; }

    .site-header { background: rgba(11, 13, 18, 0.95); }
    .site-header__bar { height: 60px; gap: 6px; padding: 0 12px 0 16px; }
    .site-header .brand { margin-right: auto; }
    .site-header .logo { font-size: 21px; }
    .brand__tagline { font-size: 10px; letter-spacing: -0.01em; }
    .main-nav, .header-actions { display: none; }
    .header-mobile { display: flex; align-items: center; gap: 0; flex: none; }
    .header-mobile .icon-btn { width: 42px; }

    .page { gap: 22px; padding-top: 12px; }
    .page--home { gap: 44px; padding-top: 0; }
    .page--profile { gap: 36px; }
    .section { gap: 16px; }
    .section__title { font-size: 24px; }
    .section__more { padding: 12px 0; }
    .grid { gap: 12px; }
    .grid--5, .grid--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid--featured > :nth-child(n+5) { display: none; }
    .grid--4 { gap: 10px; }

    /* Filas con scroll horizontal («Nuevas», «Populares»). */
    .rail {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        margin: 0 -16px;
        padding: 0 16px 4px;
        /* El ajuste respeta el margen de la página: sin esto la primera tarjeta quedaba pegada al borde. */
        scroll-padding-inline: 16px;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }
    .rail::-webkit-scrollbar { display: none; }
    .rail > .card { flex: none; width: 164px; scroll-snap-align: start; }

    .card { border-radius: 16px; }
    .card .badge { top: 8px; left: 8px; padding: 4px 9px; font-size: 11px; }
    .card__rank { top: 8px; right: 10px; font-size: 32px; }
    .card__body, .card--compact .card__body { gap: 6px; padding: 10px; }
    .card__name, .card--compact .card__name { font-size: 16px; }
    .card__meta { gap: 6px; font-size: 12px; }
    .card__meta .flag { width: 16px; height: 11px; }
    .card__price { font-size: 16px; }
    .card__period, .card__posts { font-size: 11px; }
    .card .btn-telegram { min-height: 44px; gap: 6px; font-size: 13px; }
    .card .btn-telegram svg { width: 15px; height: 15px; }

    .hero { gap: 16px; padding-top: 28px; }
    .hero__copy { gap: 16px; }
    .hero__title { font-size: 34px; line-height: 1.08; }
    .hero__lead { font-size: 15px; line-height: 1.55; }
    .search-panel { flex-direction: column; align-items: stretch; gap: 8px; border-radius: 18px; }
    .search-panel__field { padding: 8px 12px; }
    .search-panel__field--name input { font-size: 16px; }
    .search-panel__selects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-input); }
    .search-panel__selects .search-panel__field { padding: 10px 12px; border-left: 0; }
    .search-panel__selects .search-panel__field + .search-panel__field { border-left: 1px solid var(--line-input); }
    .search-panel .btn-accent { min-height: 52px; font-size: 16px; }

    .chip-rows { gap: 10px; margin: -16px -16px 0; }
    .chip-row { flex-wrap: nowrap; gap: 8px; overflow-x: auto; padding: 0 16px; scroll-padding-inline: 16px; scrollbar-width: none; }
    .chip-row::-webkit-scrollbar { display: none; }
    .chip { flex: none; padding: 0 14px; }
    .chip--outline { min-height: 44px; }

    .category-tile { height: 84px; padding: 14px; border-radius: 16px; font-size: 17px; }
    .steps { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .step { flex-direction: row; gap: 14px; padding: 18px; border-radius: 18px; }
    .step__number { width: 40px; height: 40px; font-size: 18px; }
    .step__text { gap: 4px; }
    .step h3 { font-size: 18px; }
    .step p { font-size: 14px; line-height: 1.5; }
    .join-cta { flex-direction: column; align-items: stretch; gap: 14px; padding: 26px 20px; border-radius: 22px; }
    .join-cta h2 { font-size: 26px; }
    .join-cta p { font-size: 15px; line-height: 1.55; }
    .join-cta .btn-accent { min-height: 52px; border-radius: 14px; }

    .site-footer { margin-top: 56px; }
    .site-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 32px; padding-bottom: 8px; }
    .site-footer__brand .logo { font-size: 22px; }
    .footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; }
    .footer-nav__title { grid-column: 1 / -1; padding-top: 4px; }
    .footer-nav a, .footer-nav__text { padding: 10px 0; }
    .site-footer__legal { padding-bottom: 36px; }

    .breadcrumbs { font-size: 13px; }
    .breadcrumbs ol { gap: 6px; }
    .page-intro { gap: 10px; margin-top: -8px; }
    .page-intro h1 { font-size: 30px; line-height: 1.1; gap: 10px; }
    .page-intro h1 .flag { display: none; }
    .page-intro p { font-size: 15px; line-height: 1.55; }
    .filters { flex-direction: column; align-items: stretch; gap: 10px; padding: 0; border: 0; background: transparent; }
    .filters__selects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .filters__field { min-width: 0; gap: 4px; }
    .filters__field--choices > .filters__label { display: none; }
    .filters select { padding: 0 10px; background: var(--surface); }
    .toggle-group { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-card); }
    .toggle { padding: 0 6px; border: 0; border-radius: 10px; }
    .pagination { gap: 6px; }
    .more-links h2 { font-size: 22px; }
    .inline-search .btn-accent { padding: 0 18px; }
    .empty-state { padding: 40px 20px; }
    .empty-state h1, .empty-state h2 { font-size: 22px; }

    .tag-list a { min-height: 40px; }
    .socials { gap: 0 16px; }
    .socials__label { flex-basis: 100%; }
    .socials a { min-height: 40px; }
    .profile-section h2, .pf-section h2 { font-size: 22px; }
    .profile-section { gap: 12px; }
    .pf-cover { height: 130px; margin: 0 -16px; border-radius: 0; border: 0; }
    .pf-id { grid-template-columns: minmax(0, 1fr); padding: 0; }
    .pf-avatar { width: 104px; height: 104px; margin-top: -52px; }
    .pf-id__text { padding-top: 12px; }
    .pf-id h1 { font-size: 30px; }
    .pf-origin { font-size: 14px; }
    .pf-activity { flex-basis: 100%; margin-top: 4px; }
    .pf-origin > span.pf-activity::before { content: none; }
    .pf-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
    .pf-stats li { min-width: 0; padding: 10px 6px; align-items: center; text-align: center; }
    .pf-stats strong { font-size: 18px; }
    .pf-stats span { font-size: 11px; }
    .pf-cta { padding-top: 18px; align-items: stretch; }
    .pf-cta__note { display: none; }
    .pf-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 20px; }
    .pf-side, .pf-main { grid-column: 1; grid-row: auto; position: static; }
    .pf-main { gap: 40px; margin-top: 24px; }
    .pf-box { padding: 18px 16px; }
    .pf-posts { gap: 6px; }
    .pf-post { border-radius: 12px; }
    .pf-post__top { flex-direction: column; gap: 2px; padding: 8px 8px 20px; font-size: 10.5px; }
    .sticky-cta {
        position: sticky;
        bottom: 0;
        z-index: 15;
        display: flex;
        align-items: center;
        gap: 12px;
        /* Safe area de iOS: la barra no queda bajo el indicador de inicio. */
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
        background: rgba(11, 13, 18, 0.96);
        border-top: 1px solid var(--line-input);
    }
    .sticky-cta__price { display: flex; flex-direction: column; }
    .sticky-cta__amount { font-family: var(--font-display); font-weight: 800; font-size: 20px; line-height: 1.1; }
    .sticky-cta__period { font-size: 12px; color: var(--text-muted); }
    .sticky-cta .btn-telegram { flex: 1; min-height: 54px; border-radius: 16px; font-weight: 700; font-size: 16px; }

    .join { gap: 28px; padding-top: 28px; padding-bottom: 40px; }
    .join__pitch { gap: 16px; padding-top: 0; }
    .join__pitch h1 { font-size: 36px; }
    .join__pitch > p { font-size: 16px; }
    .perks { font-size: 15px; gap: 12px; }
    .form-card { padding: 22px 18px; border-radius: 22px; }

    .age-gate {
        align-items: flex-end;
        padding: 16px;
        background: linear-gradient(180deg, rgba(11, 13, 18, 0.55) 0%, rgba(11, 13, 18, 0.92) 55%);
    }
    .age-gate__card { position: static; gap: 18px; padding: 28px 20px 20px; border-radius: 24px; box-shadow: none; }
    .age-gate__logo { position: absolute; top: 72px; left: 0; right: 0; justify-content: center; font-size: 34px; }
    .age-gate__badge { width: 60px; height: 60px; font-size: 22px; }
    .age-gate h2 { font-size: 26px; }
    .age-gate__copy p { font-size: 14px; line-height: 1.55; }
    .age-gate__actions { gap: 6px; }
}

@media (max-width: 700px) and (max-height: 700px) {
    .age-gate__logo { display: none; }
}

@media (prefers-reduced-motion: no-preference) {
    .btn, .chip, .card__name, .toggle { transition: filter 0.15s ease, border-color 0.15s ease, color 0.15s ease; }
}

/* Banderas del resto de nacionalidades (SVG de assets/media/flags, estiradas al rectángulo). */
.flag--us { background: url("../media/flags/united-states.svg") center / 100% 100% no-repeat; }
.flag--gb { background: url("../media/flags/united-kingdom.svg") center / 100% 100% no-repeat; }
.flag--de { background: url("../media/flags/germany.svg") center / 100% 100% no-repeat; }
.flag--pe { background: url("../media/flags/peru.svg") center / 100% 100% no-repeat; }
.flag--cl { background: url("../media/flags/chile.svg") center / 100% 100% no-repeat; }
.flag--it { background: url("../media/flags/italy.svg") center / 100% 100% no-repeat; }
.flag--fr { background: url("../media/flags/france.svg") center / 100% 100% no-repeat; }
.flag--nl { background: url("../media/flags/netherlands.svg") center / 100% 100% no-repeat; }
.flag--ca { background: url("../media/flags/canada.svg") center / 100% 100% no-repeat; }
.flag--pl { background: url("../media/flags/poland.svg") center / 100% 100% no-repeat; }
.flag--ro { background: url("../media/flags/romania.svg") center / 100% 100% no-repeat; }
.flag--ch { background: url("../media/flags/switzerland.svg") center / 100% 100% no-repeat; }
.flag--ru { background: url("../media/flags/russia.svg") center / 100% 100% no-repeat; }
.flag--sv { background: url("../media/flags/el-salvador.svg") center / 100% 100% no-repeat; }
.flag--be { background: url("../media/flags/belgium.svg") center / 100% 100% no-repeat; }
.flag--au { background: url("../media/flags/australia.svg") center / 100% 100% no-repeat; }
.flag--pt { background: url("../media/flags/portugal.svg") center / 100% 100% no-repeat; }
.flag--ec { background: url("../media/flags/ecuador.svg") center / 100% 100% no-repeat; }
.flag--ng { background: url("../media/flags/nigeria.svg") center / 100% 100% no-repeat; }
.flag--gt { background: url("../media/flags/guatemala.svg") center / 100% 100% no-repeat; }
.flag--ph { background: url("../media/flags/philippines.svg") center / 100% 100% no-repeat; }
.flag--bg { background: url("../media/flags/bulgaria.svg") center / 100% 100% no-repeat; }
.flag--za { background: url("../media/flags/south-africa.svg") center / 100% 100% no-repeat; }
.flag--ke { background: url("../media/flags/kenya.svg") center / 100% 100% no-repeat; }
.flag--ae { background: url("../media/flags/united-arab-emirates.svg") center / 100% 100% no-repeat; }
.flag--gr { background: url("../media/flags/greece.svg") center / 100% 100% no-repeat; }
.flag--ni { background: url("../media/flags/nicaragua.svg") center / 100% 100% no-repeat; }
.flag--no { background: url("../media/flags/norway.svg") center / 100% 100% no-repeat; }
.flag--pa { background: url("../media/flags/panama.svg") center / 100% 100% no-repeat; }
.flag--py { background: url("../media/flags/paraguay.svg") center / 100% 100% no-repeat; }
.flag--jp { background: url("../media/flags/japan.svg") center / 100% 100% no-repeat; }
.flag--in { background: url("../media/flags/india.svg") center / 100% 100% no-repeat; }
.flag--tr { background: url("../media/flags/turkey.svg") center / 100% 100% no-repeat; }
.flag--ua { background: url("../media/flags/ukraine.svg") center / 100% 100% no-repeat; }
.flag--hk { background: url("../media/flags/hong-kong.svg") center / 100% 100% no-repeat; }
.flag--bo { background: url("../media/flags/bolivia.svg") center / 100% 100% no-repeat; }
.flag--sk { background: url("../media/flags/slovakia.svg") center / 100% 100% no-repeat; }
.flag--sg { background: url("../media/flags/singapore.svg") center / 100% 100% no-repeat; }
.flag--se { background: url("../media/flags/sweden.svg") center / 100% 100% no-repeat; }
.flag--sa { background: url("../media/flags/saudi-arabia.svg") center / 100% 100% no-repeat; }
.flag--cr { background: url("../media/flags/costa-rica.svg") center / 100% 100% no-repeat; }
.flag--cz { background: url("../media/flags/czech-republic.svg") center / 100% 100% no-repeat; }
.flag--uy { background: url("../media/flags/uruguay.svg") center / 100% 100% no-repeat; }
.flag--ad { background: url("../media/flags/andorra.svg") center / 100% 100% no-repeat; }
.flag--at { background: url("../media/flags/austria.svg") center / 100% 100% no-repeat; }
.flag--bh { background: url("../media/flags/bahrain.svg") center / 100% 100% no-repeat; }
.flag--bz { background: url("../media/flags/belize.svg") center / 100% 100% no-repeat; }
.flag--cn { background: url("../media/flags/china.svg") center / 100% 100% no-repeat; }
.flag--cy { background: radial-gradient(ellipse 32% 22% at 50% 45%, #D57800 95%, transparent 100%), #FFFFFF; }
.flag--dk { background: url("../media/flags/denmark.svg") center / 100% 100% no-repeat; }
.flag--eg { background: url("../media/flags/egypt.svg") center / 100% 100% no-repeat; }
.flag--et { background: url("../media/flags/ethiopia.svg") center / 100% 100% no-repeat; }
.flag--fi { background: url("../media/flags/finland.svg") center / 100% 100% no-repeat; }
.flag--ge { background: url("../media/flags/georgia.svg") center / 100% 100% no-repeat; }
.flag--gh { background: url("../media/flags/ghana.svg") center / 100% 100% no-repeat; }
.flag--hu { background: url("../media/flags/hungary.svg") center / 100% 100% no-repeat; }
.flag--ie { background: url("../media/flags/ireland.svg") center / 100% 100% no-repeat; }
.flag--il { background: url("../media/flags/israel.svg") center / 100% 100% no-repeat; }
.flag--is { background: url("../media/flags/iceland.svg") center / 100% 100% no-repeat; }
.flag--jm { background: url("../media/flags/jamaica.svg") center / 100% 100% no-repeat; }
.flag--kr { background: url("../media/flags/south-korea.svg") center / 100% 100% no-repeat; }
.flag--kw { background: url("../media/flags/kuwait.svg") center / 100% 100% no-repeat; }
.flag--lt { background: url("../media/flags/lithuania.svg") center / 100% 100% no-repeat; }
.flag--lv { background: url("../media/flags/latvia.svg") center / 100% 100% no-repeat; }
.flag--mn { background: url("../media/flags/mongolia.svg") center / 100% 100% no-repeat; }
.flag--mt { background: url("../media/flags/malta.svg") center / 100% 100% no-repeat; }
.flag--nz { background: url("../media/flags/new-zealand.svg") center / 100% 100% no-repeat; }
.flag--pk { background: url("../media/flags/pakistan.svg") center / 100% 100% no-repeat; }
.flag--rs { background: url("../media/flags/serbia.svg") center / 100% 100% no-repeat; }
.flag--sr { background: url("../media/flags/suriname.svg") center / 100% 100% no-repeat; }
.flag--th { background: url("../media/flags/thailand.svg") center / 100% 100% no-repeat; }
.flag--tz { background: url("../media/flags/tanzania.svg") center / 100% 100% no-repeat; }
.flag--vn { background: url("../media/flags/vietnam.svg") center / 100% 100% no-repeat; }

/* Imagen de categoría: la subida en el panel o la foto de su destacada, oscurecida para que se lea el nombre. */
.category-tile--image { overflow: hidden; background: linear-gradient(180deg, rgba(11, 13, 18, 0.05) 30%, rgba(11, 13, 18, 0.85) 100%), var(--tile-image) center / cover no-repeat, var(--surface-raised); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6); }
.chip__thumb { flex: none; width: 26px; height: 26px; margin-left: -10px; border-radius: 50%; object-fit: cover; }

/* Filas de chips (nacionalidades y categorías) en una sola línea que se desplaza: flechas en escritorio y un degradado donde hay más. */
.chip-carousel { position: relative; min-width: 0; }
.chip-carousel .chip-row { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scroll-behavior: smooth; scroll-snap-type: x proximity; scrollbar-width: none; }
.chip-carousel .chip-row::-webkit-scrollbar { display: none; }
.chip-carousel .chip { flex: none; scroll-snap-align: start; }
.chip-carousel::before, .chip-carousel::after { content: ""; position: absolute; top: 0; bottom: 0; z-index: 1; width: 56px; pointer-events: none; opacity: 0; transition: opacity 0.2s; }
.chip-carousel::before { left: 0; background: linear-gradient(90deg, var(--bg) 20%, transparent); }
.chip-carousel::after { right: 0; background: linear-gradient(270deg, var(--bg) 20%, transparent); }
.chip-carousel.can-back::before, .chip-carousel.can-forward::after { opacity: 1; }
.chip-carousel__arrow { position: absolute; top: 50%; z-index: 2; display: none; align-items: center; justify-content: center; width: 36px; height: 36px; margin-top: -18px; padding: 0 0 3px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface-raised); color: var(--text); font-size: 22px; line-height: 1; cursor: pointer; }
.chip-carousel__arrow:hover { border-color: #FF3D8B; }
.chip-carousel__arrow--prev { left: 0; }
.chip-carousel__arrow--next { right: 0; }
/* Flechas solo con ratón (especificación v2, bloque H): en táctil se desliza con el dedo y el degradado del borde avisa de que hay más. */
@media (hover: hover) and (pointer: fine) and (min-width: 701px) {
    .js .chip-carousel.can-back .chip-carousel__arrow--prev, .js .chip-carousel.can-forward .chip-carousel__arrow--next { display: inline-flex; }
}
.empty-state .chip-carousel .chip-row { justify-content: flex-start; }
/* Categorías de la ficha: la misma fila, alineada con el resto del bloque (sin el padding de móvil de .chip-row). */
.chip-carousel .tag-list { padding: 0; }
.chip-carousel .tag-list li { flex: none; scroll-snap-align: start; }
.chip-carousel .tag-list a { white-space: nowrap; }
@media (max-width: 700px) {
    .chip-carousel::before, .chip-carousel::after { width: 32px; }
}

/* ---------- Portada: tira «Acaban de publicar» y hero de móvil (16-nov-2026) ----------
   Caras de las que han publicado en su canal en las últimas 24 h. El anillo con el degradado de la marca
   significa «contenido nuevo»; el avatar de la ficha lleva el mismo cuando acaba de publicar. */
.fresh { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.fresh__title { margin: 0; display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--text); }
.fresh__title::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--online); box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18); }
.fresh__list { list-style: none; margin: 0; padding: 0; gap: 14px; }
.fresh__list > li { flex: none; scroll-snap-align: start; }
.fresh__item { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 78px; color: var(--text); text-decoration: none; }
.fresh__item:hover { color: #FFFFFF; }
.fresh__ring { display: block; width: 74px; height: 74px; padding: 3px; border-radius: 50%; background: var(--accent-diagonal); }
.fresh__ring img { width: 100%; height: 100%; border-radius: 50%; border: 3px solid var(--bg); object-fit: cover; }
.fresh__name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--font-display); font-weight: 600; font-size: 13px; }
.fresh__when { margin-top: -5px; font-size: 11.5px; color: var(--text-subtle); white-space: nowrap; }
.fresh .chip-carousel__arrow { top: 40px; }
@media (prefers-reduced-motion: reduce) {
    .chip-carousel .chip-row { scroll-behavior: auto; }
}
@media (max-width: 700px) {
    /* La primera pantalla del móvil enseña caras antes que el formulario. */
    .hero__copy { gap: 14px; }
    .hero__title { font-size: 30px; }
    .hero__lead { font-size: 15px; }
    .fresh { margin: 0 -16px; }
    .fresh__title { padding: 0 16px; }
    .fresh__list { gap: 10px; padding: 2px 16px; scroll-padding-inline: 16px; }
    .fresh__item { width: 70px; }
    .fresh__ring { width: 66px; height: 66px; }
    /* Campo único arriba y botón a lo ancho debajo, como la pantalla 02_Home_movil. */
    .search-panel--single { display: flex; flex-direction: column; align-items: stretch; gap: 8px; padding: 8px; }
    .search-panel--single .search-panel__field { min-height: 48px; padding: 0 12px; }
    .search-panel--single input { font-size: 16px; }
    .search-panel--single .btn-accent { min-height: 52px; border-radius: 14px; font-size: 16px; }
}

/* Buscador de texto libre: aviso cuando ninguna casa con todas las palabras. */
.search-partial { margin: -8px 0 0; padding: 12px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-input); font-size: 14px; line-height: 1.5; color: var(--text-muted); }

/* ---------- Páginas legales (DiscoverLegalController) ----------
   Las plantillas vienen del panel (clases tipo Bootstrap): aquí se traducen al tema oscuro. */
.legal { max-width: 860px; padding-top: 32px; padding-bottom: 56px; }
.legal h1 { margin: 0 0 24px; font-size: 34px; line-height: 1.15; }
.legal__body { padding: 28px 24px; border: 1px solid var(--line-card); border-radius: 16px; background: var(--surface); color: var(--text-soft); font-size: 15px; line-height: 1.65; overflow-wrap: anywhere; }
.legal__body h2, .legal__body h3 { margin: 0 0 12px; font-size: 18px; line-height: 1.3; color: var(--text); }
.legal__body p, .legal__body li { margin: 0 0 10px; }
.legal__body ul, .legal__body ol { margin: 0 0 14px; padding-left: 20px; }
.legal__body .list-unstyled { list-style: none; padding-left: 0; }
.legal__body table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 13.5px; }
.legal__body th, .legal__body td { border: 1px solid var(--line); padding: 7px 9px; text-align: left; vertical-align: top; }
.legal__body th { background: var(--bg-deep); color: var(--text); }
.legal__body code { font-size: 0.85em; background: var(--bg-deep); padding: 0 4px; border-radius: 4px; }
.legal__body .table-responsive { overflow-x: auto; }
.legal__body .row { display: flex; flex-wrap: wrap; gap: 0 24px; }
.legal__body .row > [class*="col-"] { flex: 1 1 240px; }
.legal__body .mb-10, .legal__body .policy-section, .legal__body .compliance-section { margin-bottom: 28px; }
.legal__body .mb-1 { margin-bottom: 4px; }
.legal__body .mb-3 { margin-bottom: 12px; }
.legal__body .mt-3 { margin-top: 12px; }
.legal__body .fw-bold, .legal__body strong { font-weight: 700; color: var(--text); }
.legal__body .fw-semibold { font-weight: 600; color: var(--text); }
.legal__body .text-muted { color: var(--text-subtle); }
.legal__body .small { font-size: 13px; }
.legal__body .entity-card, .legal__body .custodian-card, .legal__body .alert { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-deep); }
.legal__body .badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.legal__body .policy-badge { display: inline-block; padding: 2px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; color: var(--text-subtle); }
.legal__body .cookie-type-pill { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 12px; background: var(--surface-accent); }
.legal__body .ki-duotone, .legal__body i[class^="ki-"] { display: none; }
.legal__nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 20px; font-size: 13.5px; }
.legal__nav a { color: var(--text-muted); text-decoration: none; }
.legal__nav a[aria-current="page"] { color: var(--text); font-weight: 600; }
@media (max-width: 700px) {
    .legal { padding-top: 20px; padding-bottom: 40px; }
    .legal h1 { font-size: 26px; }
    .legal__body { padding: 20px 16px; }
}
