/* purogrupal.com — tube clásico: morado noche, un solo rosa para la acción.
   Los nombres de variables vienen de la base (cucharita); aquí solo cambian los valores. */
:root {
    --ciruela-950: #120E22;   /* encabezado y pie */
    --ciruela-900: #17122B;   /* fondo */
    --ciruela-800: #211A3D;   /* superficies */
    --ciruela-700: #2C2450;
    --ciruela-600: #3A3164;   /* líneas */
    --chicle: #FF3D8B;        /* rosa: acción principal y estado activo */
    --chicle-hover: #FF5C93;
    --mango: #FFB547;         /* ámbar: HD y detalles */
    --violeta: #8C6BFF;
    --verde: #7BD88F;         /* aprobación alta */
    --texto: #EEEAF8;
    --texto-2: #B9B2D6;
    --texto-3: #8A82AE;

    --font-rotulo: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-texto: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

    --gutter: 12px;
    --max: 1600px;
    --r-sm: 6px;
    --r-md: 6px;
    --focus: 0 0 0 2px var(--ciruela-900), 0 0 0 4px var(--chicle);
    color-scheme: dark;
}
@media (min-width: 760px) { :root { --gutter: 20px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--ciruela-900);
    color: var(--texto);
    font: 400 16px/1.55 var(--font-texto);
    min-height: 100vh;
    display: flex; flex-direction: column;
}
main { flex: 1; }
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--chicle-hover); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--r-sm); }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--mango); color: var(--ciruela-900); padding: 8px 12px; border-radius: var(--r-sm); }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Rotulación ---------- */
.logo {
    font-family: var(--font-rotulo);
    font-size: 24px; line-height: 1; letter-spacing: -.01em;
    color: var(--mango);
    white-space: nowrap;
}
.logo:hover { color: var(--mango); }
.logo-tld { color: var(--chicle); font-size: .62em; margin-left: .06em; }
.logo-sm { font-size: 18px; }
@media (max-width: 480px) { .header-row .logo { font-size: 19px; } }

.rotulo {
    font-family: var(--font-rotulo);
    font-weight: 400;
    font-size: clamp(20px, 2.4vw, 26px);
    color: var(--mango);
    letter-spacing: -.005em;
}
.rotulo-xl { font-size: clamp(30px, 5.5vw, 56px); line-height: 1.02; }
.rotulo-sm { font-size: 18px; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 20;
    background: color-mix(in srgb, var(--ciruela-900) 92%, transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--ciruela-700);
}
.header-row {
    display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center;
    gap: 10px 24px; padding-top: 12px; padding-bottom: 12px;
    grid-template-areas: "logo search" "nav nav";
}
.header-row .logo { grid-area: logo; }
.main-nav { grid-area: nav; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a {
    padding: 7px 12px; border-radius: 999px; font-weight: 600; font-size: 15px;
    color: var(--texto-2); white-space: nowrap;
}
.main-nav a:hover { color: var(--texto); background: var(--ciruela-800); }
.main-nav a.is-active { color: var(--ciruela-900); background: var(--mango); }
.main-nav .nav-rapidines { color: var(--chicle); }
.main-nav .nav-rapidines::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; margin-right: 7px; vertical-align: 2px; }
.search { grid-area: search; display: flex; justify-self: end; width: 100%; max-width: 420px; }
.search input {
    flex: 1; min-width: 0; height: 40px; padding: 0 14px;
    background: var(--ciruela-800); color: var(--texto);
    border: 1px solid var(--ciruela-600); border-right: 0; border-radius: 999px 0 0 999px;
    font: inherit; font-size: 15px;
}
.search input::placeholder { color: var(--texto-3); }
.search input:focus { outline: none; border-color: var(--mango); }
.search button {
    width: 46px; border: 1px solid var(--ciruela-600); border-radius: 0 999px 999px 0;
    background: var(--ciruela-700); color: var(--texto-2); display: grid; place-items: center;
}
.search button:hover { color: var(--mango); }
@media (min-width: 980px) {
    .header-row { grid-template-columns: auto auto minmax(0, 1fr); grid-template-areas: "logo nav search"; }
    .main-nav { margin: 0; padding: 0; }
}

/* ---------- Bloques ---------- */
.block { margin: 40px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section-link { font-weight: 600; font-size: 15px; color: var(--texto-2); white-space: nowrap; }
.section-link:hover { color: var(--chicle-hover); }
.page-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin: 32px 0 18px; }
.page-count { color: var(--texto-3); font-weight: 500; }
.empty { color: var(--texto-2); padding: 48px 0; }
.empty a { color: var(--chicle); text-decoration: underline; }

.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px var(--gutter); margin: 20px calc(var(--gutter) * -1) 0; }
.chips::-webkit-scrollbar { display: none; }
.chip {
    display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px;
    background: var(--ciruela-800); border: 1px solid var(--ciruela-600);
    font-size: 14px; font-weight: 600; color: var(--texto-2); white-space: nowrap;
}
.chip:hover { color: var(--texto); border-color: var(--texto-3); }
.chip.is-active { background: var(--chicle); border-color: var(--chicle); color: #fff; }
.tag { font-size: 14px; color: var(--texto-3); }
.tag:hover { color: var(--chicle-hover); }

.sort { display: flex; gap: 18px; margin: 18px 0 20px; border-bottom: 1px solid var(--ciruela-700); }
.sort-opt { padding: 8px 0 10px; font-weight: 600; font-size: 15px; color: var(--texto-3); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.sort-opt.is-active { color: var(--texto); border-color: var(--mango); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 700; border: 0; }
.btn-primary { background: var(--chicle); color: #fff; }
.btn-primary:hover { background: var(--chicle-hover); color: #fff; }
.btn-ghost { background: transparent; color: var(--texto); border: 1px solid var(--ciruela-600); }
.btn-ghost:hover { border-color: var(--texto-2); color: var(--texto); }

/* ---------- Tarjeta de video ---------- */
.vgrid { display: grid; gap: 26px 16px; grid-template-columns: 1fr; }
@media (min-width: 480px) { .vgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .vgrid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .vgrid { grid-template-columns: repeat(4, 1fr); } }
.vcard-thumb { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; background: var(--ciruela-800); }
.vcard-thumb img { width: 100%; height: 100%; object-fit: cover; }
.vcard-link:hover .vcard-thumb img { filter: brightness(1.08); }
.vcard-duration {
    position: absolute; right: 8px; bottom: 8px;
    font-family: var(--font-rotulo); font-size: 12px; line-height: 1;
    padding: 5px 7px 4px; border-radius: 4px;
    background: var(--mango); color: var(--ciruela-900);
}
.vcard-badge { position: absolute; left: 8px; top: 8px; font-family: var(--font-rotulo); font-size: 11px; padding: 4px 6px; border-radius: 4px; background: var(--chicle); color: #fff; }
.vcard-title {
    margin-top: 10px; font-size: 15px; font-weight: 600; line-height: 1.35;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.vcard-meta { display: flex; gap: 12px; margin-top: 4px; font-size: 13px; color: var(--texto-3); }

/* ---------- Tarjeta de actriz ---------- */
.pgrid { display: grid; gap: 22px 14px; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); }
.pgrid-lg { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.pcard { display: flex; flex-direction: column; gap: 2px; }
.pcard-photo {
    aspect-ratio: 3 / 4; border-radius: var(--r-md); overflow: hidden; margin-bottom: 8px;
    background: linear-gradient(160deg, var(--ciruela-700), var(--ciruela-800));
    display: grid; place-items: center;
}
.pcard-photo img { width: 100%; height: 100%; object-fit: cover; }
.pcard-initials { font-family: var(--font-rotulo); font-size: 52px; color: var(--ciruela-600); }
.pcard-name { font-weight: 700; font-size: 15px; line-height: 1.3; }
.pcard-count { font-size: 13px; color: var(--texto-3); }
.pcard:hover .pcard-name { color: var(--chicle-hover); }

/* ---------- (sin Jaladas en este sitio) ---------- */
.agrid { display: grid; gap: 26px 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.agrid-lg { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.acard-cover { aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: hidden; background: var(--ciruela-800); }
.acard-cover img { width: 100%; height: 100%; object-fit: cover; }
.acard-cat { display: block; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--chicle); }
.acard-title { margin-top: 2px; font-size: 17px; font-weight: 700; line-height: 1.3; }

/* ---------- Tira de rapidines ---------- */
.rapidines-strip { padding: 28px 0 8px; background: linear-gradient(var(--ciruela-950), var(--ciruela-900)); }
.rtiles { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(140px, 168px); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 2px var(--gutter) 14px; margin: 0 calc(var(--gutter) * -1); scrollbar-width: thin; scrollbar-color: var(--ciruela-600) transparent; }
.rtile { position: relative; aspect-ratio: 9 / 16; border-radius: var(--r-md); overflow: hidden; scroll-snap-align: start; background: radial-gradient(120% 80% at 50% 0%, var(--ciruela-600), var(--ciruela-800)); }
.rtile img, .rtile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.is-broken { visibility: hidden; }
.rtile-empty { position: absolute; inset: 0; }
.rtile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(10, 4, 12, .85)); }
.rtile-caption { position: absolute; z-index: 1; left: 10px; right: 10px; bottom: 10px; font-size: 13px; font-weight: 600; line-height: 1.3; }
.rtile-play { position: absolute; z-index: 1; top: 10px; right: 10px; color: var(--mango); }
.rtile:hover .rtile-caption { color: var(--texto); }
.rtile:hover { outline: 2px solid var(--chicle); outline-offset: -2px; }

/* ---------- Página de video ---------- */
.watch { display: grid; gap: 32px; padding-top: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1100px) { .watch { grid-template-columns: minmax(0, 1fr) 360px; } }
.player { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--r-md); overflow: hidden; }
.player iframe, .player video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-missing { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.player-missing img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .25; }
.player-missing p { position: relative; font-weight: 600; padding: 16px; }
.watch-title { margin-top: 16px; font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; line-height: 1.25; }
.watch-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--ciruela-700); }
.watch-stats { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--texto-3); font-size: 14px; }
.vote { display: flex; gap: 8px; }
.vote-btn { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 999px; background: var(--ciruela-800); border: 1px solid var(--ciruela-600); font-weight: 600; font-size: 14px; }
.vote-btn:hover { border-color: var(--texto-3); }
.vote-btn.is-on { background: var(--chicle); border-color: var(--chicle); color: #fff; }
.watch-performers { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.performer-pill { display: inline-flex; align-items: center; gap: 10px; padding: 4px 14px 4px 4px; border-radius: 999px; background: var(--ciruela-800); font-weight: 700; }
.performer-pill-photo { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; background: var(--ciruela-600); display: grid; place-items: center; font-family: var(--font-rotulo); font-size: 14px; color: var(--mango); }
.performer-pill-photo img { width: 100%; height: 100%; object-fit: cover; }
.watch-desc { margin-top: 16px; color: var(--texto-2); max-width: 72ch; }
.watch-terms { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 18px; }
.watch-side .rotulo { margin-bottom: 14px; }
.vlist { display: grid; gap: 20px 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
@media (min-width: 1100px) {
    .vlist { grid-template-columns: 1fr; gap: 14px; }
    .vlist .vcard-link { display: grid; grid-template-columns: 150px 1fr; gap: 12px; align-items: start; }
    .vlist .vcard-title { margin-top: 0; font-size: 14px; }
    .vlist .vcard-meta { margin-left: 162px; margin-top: -26px; }
    .vlist .vcard-duration { font-size: 10px; right: 5px; bottom: 5px; }
}

/* ---------- Perfil de actriz ---------- */
.profile { padding: 36px 0 28px; background: linear-gradient(180deg, var(--ciruela-950), var(--ciruela-900)); border-bottom: 1px solid var(--ciruela-700); }
.profile-grid { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); align-items: end; }
@media (min-width: 700px) { .profile-grid { grid-template-columns: 260px minmax(0, 1fr); gap: 36px; } }
.profile-photo { aspect-ratio: 3 / 4; max-width: 260px; border-radius: var(--r-md); overflow: hidden; background: linear-gradient(160deg, var(--ciruela-700), var(--ciruela-800)); display: grid; place-items: center; box-shadow: 8px 8px 0 var(--chicle); }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-name { font-family: var(--font-rotulo); font-weight: 400; font-size: clamp(38px, 7vw, 84px); line-height: .95; color: var(--mango); overflow-wrap: anywhere; }
.profile-tagline { margin-top: 10px; font-size: 18px; color: var(--texto-2); }
.profile-aliases { margin-top: 6px; color: var(--texto-3); font-size: 14px; }
.profile-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 14px 22px; margin: 22px 0 0; }
.profile-facts div { border-top: 2px solid var(--ciruela-600); padding-top: 8px; }
.profile-facts dt { font-size: 13px; color: var(--texto-3); }
.profile-facts dd { margin: 2px 0 0; font-weight: 700; font-size: 16px; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.social { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--ciruela-600); font-weight: 600; font-size: 14px; }
.social:hover { border-color: var(--chicle); color: var(--texto); }
.social-onlyfans { background: #00AFF0; border-color: #00AFF0; color: #fff; }
.social-onlyfans:hover { color: #fff; filter: brightness(1.1); }
.profile-text { display: grid; gap: 32px; margin-top: 36px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 980px) { .profile-text { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.curiosidades ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.curiosidades li { padding: 12px 16px; background: var(--ciruela-800); border-left: 4px solid var(--mango); border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--texto-2); }

/* ---------- Texto largo ---------- */
.prose { color: var(--texto-2); max-width: 70ch; font-size: 17px; line-height: 1.7; }
.prose .rotulo { margin-bottom: 12px; }
.prose p, .prose ul, .prose ol { margin: 0 0 1em; }
.prose a { color: var(--chicle); text-decoration: underline; text-underline-offset: 2px; }
.prose img { border-radius: var(--r-md); margin: 1em 0; height: auto; }
.prose strong, .prose b { color: var(--texto); }

/* ---------- Jalada ---------- */
.article { padding-top: 28px; }
.article-head { display: grid; gap: 12px; justify-items: start; margin-bottom: 22px; }
.article-title { font-size: clamp(26px, 4.4vw, 42px); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.article .player { margin-bottom: 22px; }
.gallery { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 44px; }
.gallery-item { position: relative; }
.gallery-num { display: inline-block; font-family: var(--font-rotulo); font-size: 28px; line-height: 1; color: var(--ciruela-900); background: var(--mango); padding: 8px 12px 6px; border-radius: var(--r-sm); margin-bottom: 12px; }
.gallery-title { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.gallery-item img { width: 100%; height: auto; border-radius: var(--r-md); background: var(--ciruela-800); }
.gallery-caption { margin-top: 10px; color: var(--texto-2); }
.gallery-caption a { color: var(--chicle); }
.gallery-source { display: inline-block; margin-top: 6px; font-size: 13px; color: var(--texto-3); text-decoration: underline; }
.article .watch-bar { margin-top: 36px; border-top: 1px solid var(--ciruela-700); border-bottom: 0; padding-top: 16px; }

/* ---------- Letras, paginación ---------- */
.letters { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 24px; }
.letter { min-width: 34px; height: 34px; padding: 0 8px; display: grid; place-items: center; border-radius: var(--r-sm); font-weight: 700; font-size: 14px; color: var(--texto-2); background: var(--ciruela-800); }
.letter.is-active { background: var(--mango); color: var(--ciruela-900); }
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 40px 0 8px; }
.pager-pages { display: flex; flex-wrap: wrap; gap: 4px; }
.pager-btn, .pager-num { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 14px; border-radius: 999px; background: var(--ciruela-800); font-weight: 700; font-size: 14px; }
.pager-num.is-current { background: var(--mango); color: var(--ciruela-900); }
.pager-btn.is-disabled { opacity: .4; }
.pager-gap { padding: 0 6px; color: var(--texto-3); align-self: center; }
@media (max-width: 560px) { .pager-pages { display: none; } }

/* ---------- Footer ---------- */
.site-footer { margin-top: 64px; border-top: 1px solid var(--ciruela-700); background: var(--ciruela-950); }
.footer-row { display: grid; gap: 14px; padding-top: 28px; padding-bottom: 36px; color: var(--texto-3); font-size: 14px; }
.footer-row p { max-width: 62ch; }
.footer-row nav { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-row nav a { color: var(--texto-2); font-weight: 600; }

/* ---------- Age gate, toast, 404 ---------- */
.age-gate { max-width: 440px; width: calc(100% - 32px); padding: 28px; border: 0; border-radius: 14px; background: var(--ciruela-800); color: var(--texto); box-shadow: 10px 10px 0 var(--chicle); }
.age-gate::backdrop { background: rgba(10, 4, 12, .92); backdrop-filter: blur(14px); }
.age-gate h2 { margin: 18px 0 8px; font-size: 24px; }
.age-gate p:not(.logo) { color: var(--texto-2); }
.age-gate-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 60; background: var(--texto); color: var(--ciruela-900); font-weight: 700; padding: 10px 18px; border-radius: 999px; transition: opacity .2s, transform .2s; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.error-page { padding: 64px var(--gutter); display: grid; gap: 18px; justify-items: start; }
.error-page p { color: var(--texto-2); }
.search-lg { justify-self: stretch; max-width: 520px; }
.search-lg .btn { border-radius: 0 999px 999px 0; height: 40px; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Anuncios ---------- */
.ad { display: grid; justify-items: center; align-content: center; gap: 6px; max-width: 100%; overflow: hidden; }
.ad::before { content: attr(data-ad-label); font-size: 11px; line-height: 1; color: var(--texto-3); }
.ad > *:not(template) { max-width: 100%; }
.ad-band { margin: 24px auto; }
.ad-side { margin: 0 0 24px; }
.vcard-ad { min-height: 200px; padding: 10px; border-radius: var(--r-md); background: var(--ciruela-800); }
.gallery-ad { list-style: none; }

/* ---------- Listas y rankings ---------- */
.gallery-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.gallery-head .gallery-num { margin-bottom: 0; flex: none; }
.gallery-head .gallery-title { margin-bottom: 0; }
.gallery-caption.prose { font-size: 16px; max-width: none; }
.ranking-note { display: flex; align-items: center; gap: 8px; margin-top: 28px; padding: 12px 16px; border-radius: var(--r-md); background: var(--ciruela-800); color: var(--texto-2); font-weight: 600; }
.ranking-note svg { color: var(--mango); flex: none; }
.rank-vote { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.rank-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--ciruela-600); background: var(--ciruela-800); font-weight: 700; font-size: 14px; }
.rank-btn:hover { border-color: var(--texto-3); }
.rank-btn.is-on[data-value="1"] { background: var(--mango); border-color: var(--mango); color: var(--ciruela-900); }
.rank-btn.is-on[data-value="-1"] { background: var(--ciruela-600); border-color: var(--ciruela-600); color: var(--texto); }
.rank-score { min-width: 3ch; text-align: center; font-family: var(--font-rotulo); font-size: 20px; color: var(--mango); }
.gallery-ranked .gallery-item { padding: 18px; border-radius: 14px; background: var(--ciruela-950); border: 1px solid var(--ciruela-700); }
.gallery-ranked .gallery-item:first-child { border-color: var(--mango); }
.acard-cover { position: relative; }
.acard-badge { position: absolute; left: 10px; top: 10px; padding: 5px 9px; border-radius: 6px; background: var(--mango); color: var(--ciruela-900); font-weight: 700; font-size: 12px; }
.oembed { display: grid; justify-items: center; }
.oembed > * { max-width: 100% !important; }
.oembed iframe { max-width: 100%; border: 0; }
.oembed img { border-radius: var(--r-md); }
.oembed-video { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: var(--r-md); overflow: hidden; }
.oembed-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.oembed-link { display: block; padding: 18px; border-radius: var(--r-md); border: 1px solid var(--ciruela-600); background: var(--ciruela-800); font-weight: 700; color: var(--chicle); }

/* ---------- Barra de filtros / orden ---------- */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; }
.toolbar-filter { height: 42px; }
.toolbar-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--chicle); color: #fff; font-size: 12px; }
.toolbar-sort { display: flex; align-items: center; gap: 10px; }
.toolbar-sort label { color: var(--texto-3); font-size: 14px; font-weight: 600; }
.toolbar-sort select {
    height: 42px; padding: 0 38px 0 14px; border-radius: 999px; border: 1px solid var(--ciruela-600);
    background: var(--ciruela-800) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18'%3E%3Cpath fill='%23C9B6CC' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") no-repeat right 12px center;
    color: var(--texto); font: inherit; font-weight: 600; font-size: 14px; appearance: none; cursor: pointer;
}
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 18px; }
.active-chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px 0 12px; border-radius: 999px; background: var(--chicle); color: #fff; font-size: 14px; font-weight: 600; }
.active-chip:hover { color: #fff; background: var(--chicle-hover); }
.active-chip-key { opacity: .8; font-weight: 500; }
.active-clear { font-size: 14px; font-weight: 600; color: var(--texto-2); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Panel de filtros (dialog) ---------- */
.drawer {
    margin: 0 0 0 auto; padding: 0; border: 0; height: 100dvh; max-height: 100dvh; width: min(420px, 100%);
    background: var(--ciruela-800); color: var(--texto); box-shadow: -12px 0 40px rgba(0,0,0,.4);
}
.drawer::backdrop { background: rgba(10, 4, 12, .7); }
.drawer[open] { animation: drawer-in .28s cubic-bezier(.2,.8,.2,1); }
@keyframes drawer-in { from { transform: translateX(100%); } to { transform: none; } }
@media (max-width: 699px) {
    .drawer { margin: auto 0 0; width: 100%; max-width: 100%; height: auto; max-height: 86dvh; border-radius: 18px 18px 0 0; box-shadow: 0 -12px 40px rgba(0,0,0,.4); }
    .drawer[open] { animation-name: sheet-in; }
    @keyframes sheet-in { from { transform: translateY(100%); } to { transform: none; } }
}
.drawer-form { display: flex; flex-direction: column; height: 100%; max-height: inherit; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--ciruela-700); }
.drawer-close { width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--ciruela-700); }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 20px 20px; overscroll-behavior: contain; }
.drawer-foot { display: flex; gap: 10px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--ciruela-700); }
.drawer-foot .btn { flex: 1; }
.drawer-note { margin-top: 18px; font-size: 13px; color: var(--texto-3); }
.fgroup { border: 0; margin: 18px 0 0; padding: 0; }
.fgroup legend { padding: 0; margin-bottom: 10px; font-weight: 700; font-size: 15px; }
.fchips { display: flex; flex-wrap: wrap; gap: 8px; }
.fchip { position: relative; cursor: pointer; }
.fchip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fchip span { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--ciruela-600); background: var(--ciruela-900); font-size: 14px; font-weight: 600; color: var(--texto-2); }
.fchip:hover span { border-color: var(--texto-3); color: var(--texto); }
.fchip input:checked + span { background: var(--mango); border-color: var(--mango); color: var(--ciruela-900); }
.fchip input:focus-visible + span { box-shadow: var(--focus); }
.curiosidades li { display: grid; gap: 12px; }
.curiosidades li.has-media img { width: 100%; height: auto; border-radius: var(--r-sm); }
.curiosidades li .player, .curiosidades li .oembed { margin: 0; }

/* ---------- Productoras ---------- */
.sgrid { display: grid; gap: 22px 14px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.scard { display: flex; flex-direction: column; gap: 2px; }
.scard-logo { aspect-ratio: 16 / 10; border-radius: var(--r-md); overflow: hidden; margin-bottom: 8px; display: grid; place-items: center; padding: 16px; background: var(--ciruela-800); border: 1px solid var(--ciruela-700); }
.scard-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.scard-initials { font-family: var(--font-rotulo); font-size: 20px; line-height: 1.05; text-align: center; color: var(--mango); overflow-wrap: anywhere; }
.scard:hover .scard-logo { border-color: var(--chicle); }
.scard-name { font-weight: 700; font-size: 15px; }
.scard-count { font-size: 13px; color: var(--texto-3); }
.studio-hero-grid { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 700px) { .studio-hero-grid { grid-template-columns: 280px minmax(0, 1fr); gap: 36px; } }
.studio-logo { aspect-ratio: 16 / 10; max-width: 280px; border-radius: var(--r-md); display: grid; place-items: center; padding: 22px; background: var(--ciruela-800); box-shadow: 8px 8px 0 var(--chicle); }
.studio-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.studio-logo .scard-initials { font-size: 28px; }
.studio-kicker { font-weight: 700; font-size: 14px; color: var(--chicle); margin-bottom: 4px; }
.studio-desc { margin-top: 32px; }
.studio-pill .performer-pill-photo { border-radius: 8px; color: var(--mango); }
.social-website { background: var(--mango); border-color: var(--mango); color: var(--ciruela-900); }
.social-website:hover { color: var(--ciruela-900); filter: brightness(1.05); }
.social-pornhub { border-color: #FF9000; }
.social-xvideos { border-color: #DE2600; }
.social-xhamster { border-color: #F2492E; }
.ad-image { display: block; line-height: 0; }
.ad-image img { max-width: 100%; height: auto; border-radius: 4px; }

/* ---------- Portada: Lo más visto (carrusel) y botón ver todos ---------- */
.section-sub { font-family: var(--font-texto); font-size: 14px; font-weight: 600; color: var(--texto-3); margin-left: 8px; letter-spacing: 0; vertical-align: middle; }
.top-carousel { list-style: none; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 14px; display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 440px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: thin; scrollbar-color: var(--ciruela-600) transparent; }
@media (min-width: 1200px) { .top-carousel { grid-auto-columns: calc((100% - 2 * var(--gutter) - 32px) / 3); } }
.top-item { scroll-snap-align: start; }
.top-card { position: relative; display: grid; gap: 10px; }
.top-thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--ciruela-800); }
.top-thumb img { width: 100%; height: 100%; object-fit: cover; }
.top-card:hover .top-thumb img { filter: brightness(1.08); }
.top-rank { position: absolute; left: 10px; top: 8px; font-family: var(--font-rotulo); font-size: 56px; line-height: 1; color: var(--mango); text-shadow: 3px 3px 0 var(--chicle), 0 4px 18px rgba(0,0,0,.6); }
.top-text { display: grid; gap: 2px; }
.top-title { font-weight: 700; font-size: 16px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.top-card:hover .top-title { color: var(--chicle-hover); }
.more-row { display: flex; justify-content: center; margin-top: 20px; }
@media (max-width: 759px) {
    .vcard.hide-mobile { display: none; }
    .more-row .btn { width: 100%; }
}

/* ---------- Listas abiertas: créditos y formulario ---------- */
.gallery-credits { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; font-size: 13px; color: var(--texto-3); }
.gallery-credits a { color: var(--texto-2); text-decoration: underline; text-underline-offset: 2px; }
.gallery-credits .gallery-source { margin-top: 0; }
.submit { margin-top: 44px; padding: 22px; border-radius: 14px; background: var(--ciruela-800); border: 1px solid var(--ciruela-700); }
.submit-form { display: grid; gap: 16px; margin-top: 12px; }
.submit-ok { margin-top: 12px; padding: 12px 14px; border-radius: var(--r-sm); background: rgba(52, 211, 153, .12); color: #6ee7b7; font-weight: 600; }
.submit-errors { margin-top: 12px; padding: 12px 14px; border-radius: var(--r-sm); background: rgba(255, 79, 154, .12); color: #ffb3d1; }
.submit-errors ul { margin: 6px 0 0; padding-left: 18px; }
.submit-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { display: grid; gap: 6px; }
.field > span { font-weight: 700; font-size: 14px; }
.field small { font-weight: 500; color: var(--texto-3); margin-left: 4px; }
.field input[type=text], .field input[type=url] { height: 44px; padding: 0 14px; border-radius: var(--r-sm); border: 1px solid var(--ciruela-600); background: var(--ciruela-900); color: var(--texto); font: inherit; }
.field input:focus { outline: none; border-color: var(--mango); }
.field input[type=file] { font: inherit; font-size: 14px; color: var(--texto-2); }
.field input[type=file]::file-selector-button { margin-right: 12px; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--ciruela-600); background: var(--ciruela-700); color: var(--texto); font: inherit; font-weight: 600; cursor: pointer; }
.field-row { display: grid; gap: 16px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--texto-2); }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--chicle); flex: none; }
.submit-form .btn { justify-self: start; }
.submit-note { font-size: 13px; color: var(--texto-3); }

/* ---------- Carrusel de galería (estilo Reddit) ---------- */
.rcar { position: relative; border-radius: var(--r-md); overflow: hidden; background: #000; }
.rcar-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 4 / 5; max-height: 80vh; overscroll-behavior-x: contain; }
@media (min-width: 700px) { .rcar-track { aspect-ratio: 4 / 3; } }
.rcar-track::-webkit-scrollbar { display: none; }
.rcar-track:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--mango); }
.rcar-slide { position: relative; flex: 0 0 100%; margin: 0; scroll-snap-align: center; scroll-snap-stop: always; overflow: hidden; display: grid; place-items: center; }
.rcar .rcar-bg { position: absolute; inset: -10%; width: 120%; height: 120%; max-width: none; max-height: none; object-fit: cover; filter: blur(28px) brightness(.55); transform: scale(1.05); }
.gallery-item .rcar-img, .rcar-img { position: relative; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 0; background: none; }
.rcar-count { position: absolute; top: 12px; right: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(0,0,0,.6); color: #fff; font-size: 13px; font-weight: 700; pointer-events: none; }
.rcar-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ciruela-900); box-shadow: 0 2px 10px rgba(0,0,0,.35); transition: opacity .15s; }
.rcar-btn:hover { background: #fff; }
.rcar-btn:disabled { opacity: 0; pointer-events: none; }
.rcar-prev { left: 12px; }
.rcar-next { right: 12px; }
@media (hover: none) { .rcar-btn { display: none; } } /* en táctil se desliza con el dedo */
.rcar-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.rcar-dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.5); pointer-events: auto; cursor: pointer; transition: transform .15s, background .15s; }
.rcar-dot.is-active { background: #fff; transform: scale(1.3); }

/* ---------- Botón flotante con menú (Admin → Navegación) ---------- */
.cfab { position: fixed; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 60; display: flex; flex-direction: column; gap: 12px; font-family: var(--font-texto); }
.cfab-right { right: 18px; align-items: flex-end; }
.cfab-left { left: 18px; align-items: flex-start; }
@media (min-width: 760px) { .cfab-on-mobile { display: none; } .cfab { bottom: 26px; } .cfab-right { right: 26px; } .cfab-left { left: 26px; } }
@media (max-width: 759px) { .cfab-on-desktop { display: none; } }
.cfab-btn { display: inline-flex; align-items: center; gap: 10px; height: 58px; min-width: 58px; padding: 0 17px; justify-content: center; border: 0; border-radius: 999px; background: var(--fab-bg); color: var(--fab-fg); font: 700 15px/1 var(--font-texto); cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,.45), 0 0 0 0 color-mix(in srgb, var(--fab-bg) 60%, transparent); transition: transform .18s ease, box-shadow .2s ease, filter .15s; }
.cfab-btn:hover { filter: brightness(1.08); transform: translateY(-2px); }
.cfab-btn:active { transform: scale(.96); }
.cfab-btn.has-label { padding: 0 22px 0 18px; }
.cfab-icons { position: relative; display: grid; place-items: center; width: 24px; height: 24px; font-size: 22px; }
.cfab-icons > * { grid-area: 1 / 1; transition: transform .25s ease, opacity .2s ease; }
.cfab-i-open { opacity: 0; transform: rotate(-90deg) scale(.6); }
.cfab.is-open .cfab-i-closed { opacity: 0; transform: rotate(90deg) scale(.6); }
.cfab.is-open .cfab-i-open { opacity: 1; transform: none; }
.cfab-menu { min-width: 230px; max-width: min(320px, calc(100vw - 36px)); max-height: min(70vh, 520px); overflow-y: auto; padding: 8px; border-radius: 16px; background: var(--ciruela-800); border: 1px solid var(--ciruela-600); box-shadow: 0 18px 50px rgba(0,0,0,.55); transform-origin: bottom right; animation: cfab-in .2s ease both; }
.cfab-left .cfab-menu { transform-origin: bottom left; }
.cfab-menu[hidden] { display: none; }
@keyframes cfab-in { from { opacity: 0; transform: translateY(10px) scale(.95); } }
.cfab-title { margin: 6px 10px 8px; color: var(--texto-3); font: 400 12px/1.2 var(--font-rotulo); letter-spacing: .04em; text-transform: uppercase; }
.cfab-menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.cfab-menu li { animation: cfab-item .25s ease both; animation-delay: calc(var(--i) * 30ms); }
@keyframes cfab-item { from { opacity: 0; transform: translateY(6px); } }
.cfab-link { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; color: var(--texto); font-weight: 600; }
.cfab-link:hover, .cfab-link:focus-visible { background: var(--ciruela-700); color: var(--texto); }
.cfab-link.is-active { background: var(--ciruela-700); }
.cfab-link.is-highlight { background: var(--fab-bg); color: var(--fab-fg); }
.cfab-link.is-highlight:hover { filter: brightness(1.08); color: var(--fab-fg); }
.cfab-ico { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 9px; background: var(--ciruela-700); color: var(--fab-bg); font-size: 16px; }
.cfab-link:hover .cfab-ico { background: var(--ciruela-600); }
.cfab-link.is-highlight .cfab-ico { background: rgba(255,255,255,.18); color: inherit; }
@media (prefers-reduced-motion: reduce) { .cfab-menu, .cfab-menu li, .cfab-icons > *, .cfab-btn { animation: none; transition: none; } }

/* ---------- Carrusel del directorio de links (portada) ---------- */
.ctiles { display: grid; grid-auto-flow: column; grid-auto-columns: 124px; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 4px var(--gutter) 14px; margin: 0 calc(var(--gutter) * -1); scrollbar-width: thin; scrollbar-color: var(--ciruela-600) transparent; }
@media (min-width: 760px) { .ctiles { grid-auto-columns: 148px; } }
.ctile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; scroll-snap-align: start; min-width: 0; }
.ctile-photo { display: grid; place-items: center; width: 100%; aspect-ratio: 1; margin-bottom: 8px; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--acc) 55%, var(--ciruela-700)), var(--ciruela-800)); box-shadow: 0 0 0 3px var(--ciruela-900), 0 0 0 5px var(--acc); transition: transform .2s; }
.ctile:hover .ctile-photo { transform: scale(1.04); }
.ctile-photo img { width: 100%; height: 100%; object-fit: cover; }
.ctile-initials { font-family: var(--font-rotulo); font-size: 40px; color: #fff; }
.ctile-name { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; font-weight: 700; font-size: 14px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ctile-verified { flex: none; color: #4FB3FF; }
.ctile-fire { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; color: var(--texto-3); }
.ctile-fire svg { color: #FF6A3D; }
.ctile:hover .ctile-name { color: var(--chicle-hover); }
.ctile-join .ctile-photo { background: var(--ciruela-800); box-shadow: 0 0 0 2px var(--ciruela-600); border: 2px dashed var(--chicle); }
.ctile-join .ctile-initials { color: var(--chicle); }




/* =====================================================================
   purogrupal.com — tube clásico pulido
   Mucha miniatura, poca decoración. Un solo color fuerte (rosa) para
   acciones y estado activo; ámbar solo para HD/VR; verde para aprobación.
   ===================================================================== */
body { background: var(--ciruela-900); font-size: 15px; }
::selection { background: var(--chicle); color: #fff; }
a:hover { color: var(--chicle-hover); }

/* Logo: tres círculos encimados + "puro" ligero, "grupal" grueso */
.logo-link { display: inline-flex; flex: none; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-rotulo); font-size: 24px; font-weight: 500; letter-spacing: -.03em; color: var(--texto); line-height: 1; }
.logo:hover, .logo-link:hover .logo { color: var(--texto); }
.logo b { font-weight: 800; }
.logo-tld { color: var(--texto-3); font-size: .58em; font-weight: 600; margin-left: .05em; letter-spacing: 0; }
.logo-mark { position: relative; flex: none; width: 1.38em; height: .8em; }
.logo-mark i { position: absolute; top: 0; width: .8em; height: .8em; border-radius: 50%; mix-blend-mode: screen; }
.logo-mark i:nth-child(1) { left: 0; background: var(--chicle); }
.logo-mark i:nth-child(2) { left: .29em; background: var(--violeta); }
.logo-mark i:nth-child(3) { left: .58em; background: var(--mango); }
.logo-sm { font-size: 19px; }
@media (max-width: 759px) { .header-row .logo { font-size: 21px; } .header-row .logo-tld { display: none; } }

/* Títulos de sección: sobrios, blancos, un poco condensados */
.rotulo { font-family: var(--font-rotulo); font-weight: 700; font-stretch: 88%; color: var(--texto); letter-spacing: -.01em; font-size: 20px; line-height: 1.2; }
.rotulo-xl { font-size: clamp(24px, 3vw, 32px); font-stretch: 85%; }
.rotulo-sm { font-size: 17px; }
.section-head { margin-bottom: 12px; align-items: baseline; }
.section-sub { font-family: var(--font-texto); font-size: 13px; font-weight: 600; color: var(--texto-3); margin-left: 8px; vertical-align: baseline; }
.section-link { font-size: 14px; font-weight: 600; color: var(--chicle-hover); }
.section-link:hover { color: var(--texto); }

/* ---------- Encabezado ---------- */
.site-header { position: relative; background: var(--ciruela-950); backdrop-filter: none; border-bottom: 1px solid var(--ciruela-700); }
.header-row { display: flex; align-items: center; gap: 12px 24px; padding-top: 10px; padding-bottom: 10px; }
.search { flex: 1; max-width: 680px; justify-self: auto; }
.search input { height: 46px; padding: 0 16px; border-radius: 8px 0 0 8px; border: 1px solid var(--ciruela-600); border-right: 0; background: var(--ciruela-800); font-size: 15px; }
.search input:focus { border-color: var(--chicle); }
.search button { width: 56px; border: 0; border-radius: 0 8px 8px 0; background: var(--chicle); color: #fff; }
.search button:hover { background: var(--chicle-hover); color: #fff; }
.main-nav { display: flex; gap: 6px; margin: 0 0 0 auto; padding: 0; overflow: visible; }
.main-nav a { padding: 8px 12px; border-radius: 6px; background: var(--ciruela-800); color: var(--texto); font-size: 14px; font-weight: 600; box-shadow: none; }
.main-nav a:hover { background: var(--ciruela-700); color: var(--texto); }
.main-nav a.is-active { background: var(--ciruela-700); color: var(--texto); box-shadow: inset 0 -2px 0 var(--chicle); }
.main-nav .nav-rapidines { color: var(--texto); }
.main-nav .nav-rapidines::before { background: var(--chicle); }
.search-toggle { display: none; }
@media (max-width: 979px) { .main-nav { display: none; } }
@media (max-width: 759px) {
    .header-row { gap: 10px; }
    .search-toggle { display: grid; place-items: center; margin-left: auto; width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--ciruela-600); background: var(--ciruela-800); color: var(--texto); }
    .header-row .search { display: none; order: 3; flex-basis: 100%; max-width: none; }
    .header-row { flex-wrap: wrap; }
    .site-header.is-search-open .header-row .search { display: flex; }
    .search input { height: 44px; }
}

/* Barra de categorías con conteos */
.cat-bar { border-top: 1px solid var(--ciruela-800); }
.cat-row { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.cat-row::-webkit-scrollbar { display: none; }
.cat-tab { flex: none; display: inline-flex; align-items: baseline; gap: 6px; padding: 12px 12px 11px; font-size: 14px; font-weight: 600; color: var(--texto); white-space: nowrap; border-bottom: 3px solid transparent; }
.cat-tab span { font-size: 12px; font-weight: 500; color: var(--texto-3); }
.cat-tab:hover { color: var(--chicle-hover); }
.cat-tab.is-active { border-bottom-color: var(--chicle); }
@media (max-width: 759px) {
    .cat-row { gap: 6px; padding-top: 0; padding-bottom: 10px; }
    .cat-bar { border-top: 0; }
    .cat-tab { padding: 7px 12px; border: 0; border-radius: 999px; background: var(--ciruela-800); font-size: 13px; }
    .cat-tab.is-active { background: var(--chicle); color: #fff; }
    .cat-tab.is-active span { color: rgba(255,255,255,.8); }
}

/* ---------- Estructura: columna lateral + contenido ---------- */
.browse { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 18px; }
@media (min-width: 1100px) { .browse { grid-template-columns: 220px minmax(0, 1fr); gap: 28px; } }
.side { display: none; }
@media (min-width: 1100px) { .side { display: block; } }
.side-group + .side-group { margin-top: 22px; }
.side-title { margin: 0 0 6px; padding: 0 10px; font-size: 13px; font-weight: 700; color: var(--texto-3); }
.side-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.side-list a { display: flex; justify-content: space-between; gap: 10px; padding: 7px 10px; border-radius: 6px; font-size: 14px; font-weight: 500; color: var(--texto); }
.side-list a:hover { background: var(--ciruela-800); color: var(--texto); }
.side-list a.is-active { background: var(--ciruela-800); font-weight: 700; box-shadow: inset 3px 0 0 var(--chicle); }
.side-list a span { color: var(--texto-3); font-size: 13px; }
.side-more { display: inline-block; margin: 4px 10px 0; font-size: 13px; font-weight: 600; color: var(--chicle-hover); }
.side .ad-side { margin: 24px 0 0; }

.block { margin: 0 0 32px; }
.browse-main > .block:first-child, .browse-main > .page-head:first-child { margin-top: 0; }

/* ---------- Tarjetas de video: densas ---------- */
.vgrid { display: grid; gap: 20px 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .vgrid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); } }
@media (max-width: 639px) { .vgrid { gap: 16px 10px; } }
.vcard { min-width: 0; }
.vcard-link { display: block; transform: none; }
.vcard-link:hover { color: var(--texto); }
.vcard-thumb { border-radius: 6px; box-shadow: none; background: var(--ciruela-800); }
.vcard-link:hover .vcard-thumb { box-shadow: 0 0 0 2px var(--chicle); }
.vcard-link:hover .vcard-thumb img { filter: none; }
.vcard-duration { right: 5px; bottom: 5px; padding: 2px 6px; border-radius: 3px; background: rgba(18, 14, 34, .88); color: #fff; font-family: var(--font-texto); font-size: 12px; font-weight: 600; line-height: 1.35; }
.vcard-badge { left: 5px; top: 5px; padding: 1px 5px; border-radius: 3px; background: var(--mango); color: var(--ciruela-900); font-family: var(--font-texto); font-size: 11px; font-weight: 800; }
.vcard-title { margin-top: 7px; font-size: 14px; font-weight: 600; line-height: 1.3; letter-spacing: 0; }
.vcard-link:hover .vcard-title { color: var(--chicle-hover); }
.vcard-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; margin-top: 4px; font-size: 12.5px; color: var(--texto-3); }
.vcard-rate { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }
.vcard-rate.is-high { color: var(--verde); }
.vcard-rate.is-mid { color: var(--mango); }
.vcard-who { color: var(--texto-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.vcard-who:hover { color: var(--chicle-hover); }
@media (max-width: 639px) { .vcard-title { font-size: 13px; } .vcard-meta { font-size: 11.5px; } .vcard-who { display: none; } }
.vcard-ad { min-height: 0; padding: 8px; border-radius: 6px; }

/* ---------- Cortos en la portada ---------- */
.cortos-panel { margin: 0 calc(var(--gutter) * -1) 32px; padding: 16px var(--gutter) 6px; background: var(--ciruela-800); }
@media (min-width: 760px) { .cortos-panel { margin-left: 0; margin-right: 0; border-radius: 8px; padding: 16px 16px 6px; } }
.cortos-panel .rtiles { grid-auto-columns: minmax(112px, 140px); gap: 10px; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter) 12px; }
@media (min-width: 760px) { .cortos-panel .rtiles { margin: 0 -16px; padding: 2px 16px 12px; scroll-padding-inline: 16px; } }
.rtile { border-radius: 8px; background: var(--ciruela-700); }
.rtile:hover { outline: 2px solid var(--chicle); }
.rtile-play { color: #fff; }
.rtile-caption { font-size: 12px; }
.rapidines-strip { background: none; }

/* ---------- Encabezado de listado, orden, paginación ---------- */
.page-head { margin: 0 0 12px; gap: 4px 14px; }
.page-count { font-size: 14px; }
.sort { gap: 20px; margin: 0 0 16px; border-bottom: 1px solid var(--ciruela-700); overflow-x: auto; scrollbar-width: none; }
.sort::-webkit-scrollbar { display: none; }
.sort-opt { flex: none; padding: 10px 0; font-size: 14px; color: var(--texto-3); border-bottom-width: 3px; }
.sort-opt:hover { color: var(--texto); }
.sort-opt.is-active { color: var(--texto); border-color: var(--chicle); }
.chips { margin-top: 0; margin-bottom: 14px; gap: 6px; }
.chip { height: 32px; padding: 0 12px; border-radius: 6px; border: 0; background: var(--ciruela-800); color: var(--texto); font-size: 13px; }
.chip:hover { background: var(--ciruela-700); color: var(--texto); }
.chip.is-active { background: var(--chicle); color: #fff; }
.tag { display: inline-flex; align-items: center; height: 30px; padding: 0 10px; border-radius: 6px; border: 1px solid var(--ciruela-600); font-size: 13px; color: var(--texto-2); }
.tag:hover { border-color: var(--chicle); color: var(--texto); }
.pager { margin: 28px 0 8px; gap: 6px; }
.pager-pages { gap: 6px; }
.pager-btn, .pager-num { min-width: 44px; height: 44px; padding: 0 14px; border-radius: 6px; background: var(--ciruela-800); font-weight: 600; }
.pager-btn:hover, .pager-num:hover { background: var(--ciruela-700); color: var(--texto); }
.pager-num.is-current { background: var(--chicle); color: #fff; }
.letter { border-radius: 6px; }
.letter.is-active { background: var(--chicle); color: #fff; }
.btn { height: 42px; padding: 0 18px; border-radius: 6px; font-weight: 600; }
.btn-primary { box-shadow: none; }
.btn-ghost { border: 0; background: var(--ciruela-800); }
.btn-ghost:hover { background: var(--ciruela-700); }

/* ---------- Página de video ---------- */
.watch { gap: 24px; padding-top: 18px; }
@media (min-width: 1100px) { .watch { grid-template-columns: minmax(0, 1fr) 360px; } }
.player { border-radius: 8px; }
.watch-title { margin-top: 14px; font-family: var(--font-rotulo); font-size: clamp(19px, 2.2vw, 26px); font-weight: 700; font-stretch: 90%; line-height: 1.2; letter-spacing: -.01em; }
.watch-bar { margin-top: 8px; padding-bottom: 14px; gap: 12px 16px; }
.watch-stats { gap: 4px 16px; font-size: 14px; color: var(--texto-2); }
.watch-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.rating { width: 150px; }
.rating-top { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 5px; font-size: 13px; font-weight: 700; }
.rating-pct { color: var(--verde); }
.rating-pct.is-mid { color: var(--mango); }
.rating-pct.is-low { color: var(--texto-2); }
.rating-votes { color: var(--texto-3); font-weight: 500; }
.rating-bar { height: 5px; border-radius: 3px; background: var(--ciruela-600); overflow: hidden; }
.rating-bar i { display: block; height: 100%; background: var(--verde); }
.vote { gap: 6px; }
.vote-btn { height: 40px; padding: 0 14px; border: 0; border-radius: 6px; background: var(--ciruela-800); }
.vote-btn:hover { background: var(--ciruela-700); }
.vote-btn.is-on { background: var(--chicle); color: #fff; }
.watch-meta { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 10px 16px; align-items: center; margin: 16px 0 0; font-size: 14px; }
.watch-meta dt { color: var(--texto-3); }
.watch-meta dd { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 559px) { .watch-meta { grid-template-columns: minmax(0, 1fr); gap: 4px; } .watch-meta dd { margin-bottom: 8px; } }
.performer-pill { gap: 8px; padding: 4px 12px 4px 4px; border-radius: 6px; background: var(--ciruela-800); font-size: 13px; font-weight: 600; }
.performer-pill:hover { background: var(--ciruela-700); color: var(--texto); }
.performer-pill-photo { width: 26px; height: 26px; font-family: var(--font-rotulo); font-weight: 700; font-size: 12px; color: var(--texto); }
.studio-pill { padding-left: 12px; }
.studio-pill .performer-pill-photo { display: none; }
.watch-desc { margin-top: 16px; font-size: 15px; }
.watch-more { margin-top: 28px; }
.watch-side .rotulo { margin-bottom: 12px; }
.watch-side .ad-side { margin-bottom: 18px; }
.vlist { gap: 16px 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) and (max-width: 1099px) { .vlist { grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); } }
@media (min-width: 1100px) {
    .vlist { grid-template-columns: 1fr; gap: 12px; }
    .vlist .vcard { display: grid; grid-template-columns: 160px minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 0 10px; }
    .vlist .vcard-link { display: contents; }
    .vlist .vcard-thumb { grid-row: 1 / span 2; }
    .vlist .vcard-title { margin-top: 0; font-size: 13.5px; align-self: start; }
    .vlist .vcard-meta { margin: 4px 0 0; grid-column: 2; align-self: start; flex-direction: column; align-items: flex-start; gap: 1px; font-size: 12px; }
    .vlist .vcard-who { display: none; }
    .vlist .vcard-duration { font-size: 11px; right: 4px; bottom: 4px; }
}

/* ---------- Actrices, productoras, perfiles ---------- */
.pcard-photo, .scard-logo, .acard-cover { border-radius: 6px; }
.pcard-initials, .scard-initials { font-family: var(--font-rotulo); font-weight: 800; color: var(--texto-3); }
.pcard:hover .pcard-name, .scard:hover .scard-name { color: var(--chicle-hover); }
.scard-logo { border: 0; }
.scard:hover .scard-logo { box-shadow: 0 0 0 2px var(--chicle); }
.profile { padding: 28px 0 24px; background: var(--ciruela-950); }
.profile-photo, .studio-logo { border-radius: 8px; box-shadow: none; }
.profile-name { font-weight: 800; font-stretch: 85%; color: var(--texto); letter-spacing: -.02em; font-size: clamp(32px, 5vw, 60px); }
.profile-facts div { border-top-width: 1px; }
.curiosidades li { border-left-color: var(--chicle); }
.social { border-radius: 6px; }
.social-website { background: var(--chicle); border-color: var(--chicle); color: #fff; }
.social-website:hover { color: #fff; }
.studio-kicker { color: var(--texto-3); }

/* ---------- Pie, aviso de edad ---------- */
.site-footer { margin-top: 48px; background: var(--ciruela-950); border-top: 1px solid var(--ciruela-700); box-shadow: none; }
.footer-row nav a:hover { color: var(--chicle-hover); }
.age-gate { border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.age-gate h2 { font-family: var(--font-rotulo); font-weight: 800; font-stretch: 90%; font-size: 26px; }
.ad::before { color: var(--texto-3); }

/* ---------- Barra inferior en celular ---------- */
.tabbar { display: none; }
@media (max-width: 759px) {
    body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
    .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 4px 0 calc(6px + env(safe-area-inset-bottom)); background: var(--ciruela-950); border-top: 1px solid var(--ciruela-700); }
    .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0; font-size: 11px; font-weight: 600; color: var(--texto-2); }
    .tabbar a.is-active { color: var(--chicle-hover); }
    .tabbar svg { width: 22px; height: 22px; }
    .cfab { bottom: calc(74px + env(safe-area-inset-bottom)); }
    .toast { bottom: calc(78px + env(safe-area-inset-bottom)); }
}
.watch-more .vgrid { margin-top: 12px; }


/* ---------- Comentarios ---------- */
.comments { margin: 28px 0 8px; padding-top: 22px; border-top: 1px solid var(--ciruela-600); }
.comments .rotulo { display: flex; align-items: baseline; gap: 8px; margin: 0 0 14px; }
.comments-count { font-family: var(--font-texto); font-size: 14px; font-weight: 500; color: var(--texto-3); }
.comments-flash { margin: 0 0 12px; padding: 10px 14px; border: 1px solid var(--ciruela-600); border-radius: 8px; background: var(--ciruela-800); font-size: 14px; }
.comments-empty { margin: 4px 0 14px; color: var(--texto-3); font-size: 14px; }
.cmt { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--ciruela-700); }
.cmt-reply { padding: 10px 0 0; border-bottom: 0; }
.cmt-avatar { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ciruela-700); font-family: var(--font-rotulo); font-weight: 700; font-size: 14px; color: var(--texto-2); }
.cmt-reply .cmt-avatar { width: 28px; height: 28px; font-size: 12px; }
.cmt-admin > .cmt-avatar { background: var(--chicle); color: #fff; }
.cmt-body { flex: 1; min-width: 0; }
.cmt-who { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0; font-size: 14px; }
.cmt-who time { font-size: 12.5px; color: var(--texto-3); }
.cmt-badge { padding: 1px 7px; border-radius: 999px; background: var(--chicle); color: #fff; font-size: 11px; font-weight: 700; }
.cmt-text { margin: 4px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--texto-2); overflow-wrap: anywhere; }
.cmt-tools { display: flex; gap: 14px; margin: 4px 0 0; }
.cmt-link { padding: 0; border: 0; background: none; font: inherit; font-size: 12.5px; font-weight: 600; color: var(--texto-3); cursor: pointer; }
.cmt-link:hover { color: var(--chicle); }
.cmt-link:disabled { cursor: default; color: var(--texto-3); opacity: .7; }
.cmt-replies { margin-top: 2px; padding-left: 4px; border-left: 2px solid var(--ciruela-700); padding-left: 12px; }
.cmt-replies:empty { display: none; }
.comment-form { display: grid; gap: 6px; max-width: 640px; margin-top: 18px; }
.comment-label { margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--texto-2); }
.comment-label span { font-weight: 400; color: var(--texto-3); }
.comment-field { width: 100%; padding: 10px 12px; border: 1px solid var(--ciruela-600); border-radius: 8px; background: var(--ciruela-900); color: var(--texto); font: inherit; font-size: 15px; }
.comment-field:focus { outline: none; border-color: var(--chicle); box-shadow: var(--focus); }
textarea.comment-field { resize: vertical; min-height: 84px; }
.comment-error { margin: 2px 0 0; font-size: 13px; color: #FF8A8E; }
.comment-error.is-ok { color: #7BD88F; }
.comment-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 8px; }
.comment-hint { font-size: 12.5px; color: var(--texto-3); }
.comment-replying { margin: 0; padding: 8px 12px; border-radius: 8px; background: var(--ciruela-800); font-size: 13px; color: var(--texto-2); }
.comment-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.comment-form .g-recaptcha { margin-top: 8px; }

/* Iconos <x-ico> (Font Awesome Pro 7.3.1 solid/regular, resources/icons/fontawesome.php) */
.icon { flex: none; fill: currentColor; overflow: visible; }
.icon:where(:not([width])) { width: 1em; height: 1em; vertical-align: -.125em; }

/* ---------- Botón "Editar" (solo con sesión en el admin) ---------- */
.admin-edit { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 5px 12px; border: 1px dashed var(--mango); border-radius: 8px; color: var(--mango); font-size: 13px; font-weight: 700; }
.admin-edit:hover { background: var(--mango); color: var(--ciruela-900); border-style: solid; }

/* Anuncio dentro de las cuadrículas: ocupa un lugar, como una tarjeta; si el banner es más ancho, el JS lo reduce. */
.vgrid > .vcard-ad { min-width: 0; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.vgrid > .vcard-ad > * { max-width: none; }
