/* ===========================================================================
   AsianZone — dark theme built around the brand red (logo: red / black / silver)
   =========================================================================== */
:root {
    --bg: #0a0a0c;
    --bg-elev: #131317;
    --bg-elev-2: #1a1a21;
    --bg-hover: #20202a;
    --line: rgba(255,255,255,.08);
    --line-strong: rgba(255,255,255,.14);
    --text: #f3f3f6;
    --muted: #9a9aa6;
    --muted-dim: #6d6d78;
    --red: #e60d1c;
    --red-bright: #ff2a37;
    --red-deep: #a80811;
    --red-grad: linear-gradient(135deg, #ff2a37, #a80811);
    --star: #ffc53d;
    --radius: 14px;
    --radius-sm: 9px;
    --shadow: 0 12px 34px rgba(0,0,0,.45);
    --shadow-red: 0 8px 30px rgba(229,9,20,.28);
    --maxw: 1320px;
    --header-h: 76px;
    --font: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .15s ease; }
a:hover { color: #fff; }
h1, h2, h3 { line-height: 1.18; margin: 0 0 .4em; letter-spacing: -.01em; }
::selection { background: var(--red); color: #fff; }

/* Only sets horizontal padding (padding-inline), never vertical — otherwise, on elements that are
   both .section and .container, this shorthand would wipe out .section's vertical padding. */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: 22px; }
.container.narrow { max-width: 600px; }
.main { min-height: 62vh; padding-bottom: 24px; }
.empty { color: var(--muted); padding: 56px 0; text-align: center; font-size: 15px; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 18px; border-radius: 999px; border: 1px solid transparent;
    font-weight: 600; font-size: 14px; cursor: pointer; transition: .16s ease;
    background: none; color: var(--text); white-space: nowrap; font-family: inherit;
}
.btn--sm { padding: 7px 14px; font-size: 13px; }
.btn--lg { padding: 13px 26px; font-size: 15px; }
.btn:disabled, .btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.btn:disabled:hover, .btn[disabled]:hover { filter: none; background: none; border-color: var(--line-strong); color: var(--text); }
.btn--primary { background: var(--red-grad); color: #fff; box-shadow: var(--shadow-red); }
.btn--primary:hover { filter: brightness(1.08); color: #fff; transform: translateY(-1px); }
.btn--ghost { border-color: var(--line-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--red); background: rgba(229,9,20,.10); color: #fff; }
.btn--danger { border: 1px solid rgba(229,9,20,.5); color: #ff8a8a; }
.btn--danger:hover { background: rgba(229,9,20,.15); color: #fff; border-color: var(--red); }
.btn--block { width: 100%; }

/* ── Header ──────────────────────────────────────────────────────────────── */
.site-header {
    position: sticky; top: 0; z-index: 50;
    border-bottom: 1px solid var(--line);
}
/* The frosted background lives on a pseudo-element: a backdrop-filter on the header itself makes it
   the containing block of its position:fixed children, which squeezed the full-screen phone language
   sheet into the header's ~110 px — no list, the page and its ads showing below (Rafael, 2026-11-04). */
.site-header::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: rgba(10,10,12,.86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.site-header__inner {
    max-width: var(--maxw); margin: 0 auto; padding: 0 22px;
    height: var(--header-h); display: flex; align-items: center; gap: 18px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand__img { height: 64px; width: auto; display: block; }
.primary-nav { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; flex-shrink: 0; }
.primary-nav > a {
    padding: 8px 11px; border-radius: var(--radius-sm); color: var(--muted); font-weight: 600; font-size: 14px;
    white-space: nowrap;
}
.primary-nav > a:hover { color: #fff; background: var(--bg-elev); }
/* Nav group dropdown (Social → Ranking / Forum / Community) — looks like a nav link + caret */
.nav-group__btn { display: inline-flex; align-items: center; gap: 3px; padding: 8px 11px; border-radius: var(--radius-sm);
    color: var(--muted); font-weight: 600; font-size: 14px; background: none; border: 0; cursor: pointer; font-family: inherit; white-space: nowrap; }
.nav-group__btn:hover, .has-dropdown.open > .nav-group__btn { color: #fff; background: var(--bg-elev); }
.nav-group__caret { opacity: .65; transition: transform .15s; }
.has-dropdown.open .nav-group__caret { transform: rotate(180deg); }

.search { flex: 1; max-width: 640px; margin-left: auto; position: relative; display: flex; align-items: center; }
.search__icon { position: absolute; left: 16px; color: var(--red); pointer-events: none; }
.search input {
    width: 100%; background: var(--bg-elev); border: 1.5px solid var(--red); border-radius: 999px;
    padding: 12px 20px 12px 46px; color: var(--text); font-size: 15px; font-family: inherit;
}
.search input::placeholder { color: var(--muted-dim); }
.search input:focus { outline: none; border-color: var(--red-bright); background: var(--bg-elev-2); box-shadow: 0 0 0 3px rgba(230,13,28,.2); }

/* Follow-performer button (performer hero) */
.pf-follow { margin-top: 10px; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 20px; border-radius: 999px; border: 1px solid var(--red); background: var(--red);
    color: #fff; font-weight: 700; font-size: 13.5px; cursor: pointer; font-family: inherit; transition: background .15s, border-color .15s; }
.pf-follow:hover { background: var(--red-bright); border-color: var(--red-bright); }
.pf-follow.is-on { background: transparent; color: var(--text); border-color: var(--line-strong); }
.pf-follow.is-on:hover { border-color: var(--red); color: var(--red-bright); }
.pf-follow[disabled] { opacity: .6; cursor: default; }

/* Search-as-you-type dropdown */
.search-suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 60;
    background: var(--bg-elev-2); border: 1px solid var(--line-strong); border-radius: 12px;
    box-shadow: 0 14px 40px rgba(0,0,0,.5); overflow: hidden; max-height: 70vh; overflow-y: auto; padding: 5px; }
.search-suggest .ss-head { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
    color: var(--muted-dim); padding: 9px 10px 4px; }
.search-suggest .ss-item { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 8px;
    color: var(--text); text-decoration: none; cursor: pointer; }
.search-suggest .ss-item:hover, .search-suggest .ss-item.is-active { background: var(--bg-hover); }
.search-suggest .ss-thumb { width: 52px; height: 32px; object-fit: cover; border-radius: 4px; flex-shrink: 0; background: var(--bg-elev); }
.search-suggest .ss-txt { flex: 1; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-suggest .ss-meta { font-size: 11.5px; color: var(--muted); font-weight: 700; flex-shrink: 0; }

.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

/* Dropdowns (language / account) */
.has-dropdown { position: relative; }
.lang__button, .account__button {
    display: flex; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 999px;
    border: 1px solid var(--line-strong); background: none; color: var(--text); cursor: pointer;
    font: inherit; font-weight: 600; font-size: 13px;
}
.lang__button:hover, .account__button:hover { border-color: var(--red); }
.dropdown {
    position: absolute; top: calc(100% + 8px); left: 0; min-width: 190px;
    background: var(--bg-elev-2); border: 1px solid var(--line-strong); border-radius: var(--radius);
    padding: 7px; display: none; flex-direction: column; gap: 2px; max-height: 72vh; overflow: auto;
    box-shadow: var(--shadow);
}
.dropdown--right { left: auto; right: 0; }
/* Click-to-open only (see app.js) — avoids the hover dead-zone that made menus hard to click. */
.has-dropdown.open > .dropdown { display: flex; }
.has-dropdown.open > .lang__button, .has-dropdown.open > .account__button { border-color: var(--red); }
.dropdown a, .dropdown button {
    padding: 9px 13px; border-radius: 8px; color: var(--muted); text-align: left;
    background: none; border: none; font: inherit; cursor: pointer; width: 100%;
}
.dropdown a:hover, .dropdown button:hover { background: var(--bg-hover); color: #fff; }
.dropdown a.is-active { color: var(--red-bright); font-weight: 700; }
.avatar {
    width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
    background: var(--red-grad); color: #fff; font-size: 13px; font-weight: 700;
}
.hamburger { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

/* ── Browse / genre bar ──────────────────────────────────────────────────── */
.browsebar { background: var(--bg-elev); border-bottom: 1px solid var(--line); }
.browsebar__inner { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; height: 46px; display: flex; align-items: center; gap: 14px; }
.browsebar__link { font-weight: 700; font-size: 13.5px; color: var(--text); white-space: nowrap; }
.browsebar__link.is-strong { color: #fff; }
.browsebar__sep { width: 1px; height: 20px; background: var(--line-strong); flex-shrink: 0; }
/* Genres that don't fit fade out at the right edge instead of being cut mid-word; the trailing spacer
   lets the last chip scroll clear of the fade. "Genres +" is pinned outside the strip (inside it on phones). */
.browsebar__scroll {
    flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent);
            mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent);
}
.browsebar__scroll::-webkit-scrollbar { display: none; }
.browsebar__scroll::after { content: ""; flex: 0 0 28px; }
.browsebar__all { flex-shrink: 0; }
.browsebar__all--inline { display: none; }
@media (max-width: 560px) {
    .browsebar__all { display: none; }
    .browsebar__all--inline { display: inline; }
}
.browsebar__chip {
    padding: 5px 13px; border-radius: 999px; background: var(--bg-elev-2); border: 1px solid var(--line);
    color: var(--muted); font-size: 13px; font-weight: 600; white-space: nowrap;
}
.browsebar__chip:hover { color: #fff; border-color: var(--red); background: rgba(229,9,20,.08); }
.browsebar__chip--all { color: var(--red-bright); border-color: rgba(229,9,20,.35); }

/* ── Telegram drop page (/drop/{code}) ───────────────────────────────────── */
.drop-page { padding: 34px 16px 50px; display: flex; justify-content: center; }
.drop-card {
    width: 100%; max-width: 480px; text-align: center; padding: 34px 30px 28px; border-radius: 20px;
    background: radial-gradient(120% 70% at 50% 0%, rgba(255,197,61,.20), rgba(255,197,61,0) 60%), var(--bg-elev);
    border: 1px solid rgba(255,197,61,.38); box-shadow: var(--shadow);
}
.drop-card.is-over { filter: saturate(.55); }
.drop-card__gift { font-size: 54px; line-height: 1; margin-bottom: 10px; filter: drop-shadow(0 6px 18px rgba(255,170,40,.35)); }
.drop-card__eyebrow { color: #ffc53d; font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 6px; }
.drop-card__prize { font-size: clamp(28px, 7vw, 38px); line-height: 1.1; margin: 0 0 14px; color: #fff; }
.drop-card__meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: 14px; font-weight: 600; margin: 0 0 10px; }
.drop-card__bar { height: 6px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; margin: 0 auto 6px; max-width: 300px; }
.drop-card__bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #ffd25e, #e0951a); }
.drop-card__action { margin: 20px 0 6px; }
.drop-card__note { color: var(--text); font-size: 15px; margin: 0 0 14px; }
.drop-card__ok { color: #3ecf6e; font-size: 18px; font-weight: 800; margin: 0 0 14px; }
.drop-card__btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.drop-card__claim { min-width: 220px; justify-content: center; font-size: 17px; }
.drop-card__tg { background: #229ed9; box-shadow: none; }
.drop-card__tg svg { color: #fff; }
.drop-card__how { color: var(--muted); font-size: 13.5px; line-height: 1.55; margin: 22px 0 10px; }
.drop-card__join { display: inline-flex; align-items: center; gap: 7px; color: #5ec0f0; font-weight: 700; font-size: 14px; }
.drop-card__join:hover { color: #fff; }
@media (max-width: 560px) {
    .drop-card { padding: 28px 18px 22px; }
    .drop-card__btns .btn, .drop-card__claim { width: 100%; justify-content: center; }
}

/* ── Flash ───────────────────────────────────────────────────────────────── */
.flash-stack { max-width: var(--maxw); margin: 14px auto 0; padding: 0 22px; display: flex; flex-direction: column; gap: 8px; }
.flash { padding: 12px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: var(--bg-elev); font-weight: 500; }
.flash--success { border-color: rgba(46,160,90,.5); background: rgba(46,160,90,.12); }
.flash--error { border-color: rgba(229,9,20,.5); background: rgba(229,9,20,.12); }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero__glow {
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(680px 320px at 50% -40px, rgba(229,9,20,.30), transparent 70%),
        radial-gradient(420px 240px at 85% 120%, rgba(176,6,15,.22), transparent 70%);
}
.hero__inner { position: relative; text-align: center; padding: 52px 22px 44px; }
.hero__kicker { text-transform: uppercase; letter-spacing: .28em; font-size: 12px; font-weight: 700; color: var(--muted); margin: 0 0 10px; }
.hero__kicker span { color: var(--red-bright); }
.hero__title { font-size: clamp(24px, 4.4vw, 40px); font-weight: 800; margin: 0 auto 22px; max-width: 720px; }
.hero__search { display: flex; gap: 10px; max-width: 620px; margin: 0 auto; position: relative; align-items: center; }
.hero__search svg { position: absolute; left: 18px; color: var(--muted-dim); }
.hero__search input {
    flex: 1; background: var(--bg-elev); border: 1px solid var(--line-strong); border-radius: 999px;
    padding: 14px 20px 14px 48px; color: var(--text); font-size: 15px; font-family: inherit;
}
.hero__search input:focus { outline: none; border-color: var(--red); }

/* ── Spotlight (featured banner) ─────────────────────────────────────────── */
.spotlight { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: #0c0b0e; }
.spotlight__bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: blur(30px) saturate(1.2); opacity: .28; transform: scale(1.15); }
.spotlight__glow {
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(700px 340px at 22% 20%, rgba(230,13,28,.34), transparent 68%),
        linear-gradient(180deg, rgba(10,10,12,.35), var(--bg) 96%);
}
.spotlight__inner { position: relative; display: flex; align-items: center; gap: 40px; padding: 32px 22px; min-height: 280px; }
.spotlight__text { flex: 1; max-width: 560px; }
.spotlight__kicker { display: inline-block; text-transform: uppercase; letter-spacing: .2em; font-size: 11px; font-weight: 800; color: #fff; background: var(--red-grad); padding: 5px 12px; border-radius: 999px; margin-bottom: 16px; box-shadow: var(--shadow-red); }
.spotlight__title { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; line-height: 1.12; margin: 0 0 16px; }
.spotlight__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.spotlight__meta .star { color: var(--star); font-weight: 700; }
.spotlight__code { font-weight: 800; color: #fff; letter-spacing: .5px; }
.spotlight__poster { position: relative; flex-shrink: 0; width: min(40%, 440px); aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.spotlight__poster img { width: 100%; height: 100%; object-fit: cover; }
.spotlight__poster .card__ph { position: absolute; inset: 0; }
.spotlight__poster-play { position: absolute; inset: 0; display: grid; place-items: center; transition: transform .2s ease; }
.spotlight__poster:hover .spotlight__poster-play { transform: scale(1.08); }
/* Top ad unit: Topo1 + Topo2 side by side, centered. Topo2 hides on mobile (its ad isn't loaded). */
/* isolation:isolate traps the JuicyAds iframe z-index (it sets z-index:857) inside the ad's own
   stacking context, so an ad can never render on top of the sticky header/menus when you scroll. */
.ad-top { display: flex; justify-content: center; align-items: flex-start; flex-wrap: wrap; gap: 20px; margin: 24px auto; isolation: isolate; }
.ad-top .ad-slot { margin: 0; }

/* ── Sections ────────────────────────────────────────────────────────────── */
.section { padding-block: 30px; }
.section__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.section__head h2 { font-size: 19px; font-weight: 800; margin: 0; display: flex; align-items: center; gap: 11px; }
.section__head h2::before { content: ""; width: 4px; height: 20px; border-radius: 3px; background: var(--red-grad); }
.section__more { color: var(--muted); font-weight: 600; font-size: 13.5px; }
.section__more:hover { color: var(--red-bright); }

/* ── Card grid ───────────────────────────────────────────────────────────── */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(228px, 1fr)); gap: 20px; }
.card { display: block; border-radius: var(--radius); overflow: hidden; background: var(--bg-elev); border: 1px solid var(--line); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.card:hover { transform: translateY(-4px); border-color: rgba(229,9,20,.5); box-shadow: var(--shadow); }
.card__thumb { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #000; }
.card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.card:hover .card__img { transform: scale(1.05); }
.card__ph { position: absolute; inset: 0; background: linear-gradient(var(--a, 120deg), #241016, #0e0c10); display: grid; place-items: center; }
.card__ph::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 72% 18%, rgba(229,9,20,.34), transparent 68%); }
.card__ph-code { position: relative; font-weight: 800; font-size: 20px; letter-spacing: 1.5px; color: rgba(255,255,255,.16); }
.card__play { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .18s ease; }
.card:hover .card__play { opacity: 1; }
.card__badges { position: absolute; left: 9px; top: 9px; display: flex; gap: 6px; }
.badge { font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 5px; letter-spacing: .4px; }
.badge--q { background: var(--red-grad); color: #fff; }
.badge--uncensored { background: rgba(31,157,85,.92); color: #fff; }
.badge--censored { background: rgba(255,255,255,.16); color: #fff; }
.badge--new { background: #1f9d55; color: #fff; text-transform: uppercase; }
.card__duration { position: absolute; right: 9px; bottom: 9px; background: rgba(0,0,0,.82); color: #fff; font-size: 12px; padding: 2px 7px; border-radius: 5px; font-weight: 700; }
/* Resume progress — shown only on the "continue watching" rail (where position_seconds is loaded). */
.card__resume { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(0,0,0,.55); }
.card__resume > span { display: block; height: 100%; background: var(--red-bright, #ff2a37); }
.card__body { padding: 11px 13px 13px; }
.card__title { font-size: 14px; font-weight: 600; line-height: 1.35; margin: 0 0 7px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 1.35em; }
.card:hover .card__title { color: #fff; }
.card__meta { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 12.5px; }
.card__rating { color: var(--star); font-weight: 700; }
/* Lead performer under the title — JAV browsing is cast-driven, so the actress reads before the code. */
.card__cast { margin: -3px 0 7px; font-size: 12.5px; font-weight: 600; color: #ff7a84; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 5px; }
.card__cast::before { content: ""; flex: none; width: 12px; height: 12px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a5 5 0 1 0-5-5 5 5 0 0 0 5 5Zm0 2c-4 0-8 2-8 5v1h16v-1c0-3-4-5-8-5Z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a5 5 0 1 0-5-5 5 5 0 0 0 5 5Zm0 2c-4 0-8 2-8 5v1h16v-1c0-3-4-5-8-5Z'/%3E%3C/svg%3E") center/contain no-repeat; }

/* ── Popular performers rail (home) ──────────────────────────────────────── */
.perf-rail { display: flex; gap: 16px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.perf-rail::-webkit-scrollbar { height: 8px; }
.perf-rail::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 8px; }
.perf-rail__item { flex: 0 0 auto; width: 104px; display: flex; flex-direction: column; align-items: center; text-align: center; scroll-snap-align: start; color: var(--text); text-decoration: none; }
.perf-rail__pic { width: 104px; height: 104px; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, #241016, #0e0c10); border: 2px solid var(--line); display: grid; place-items: center; transition: border-color .2s ease, transform .2s ease; }
.perf-rail__item:hover .perf-rail__pic { border-color: var(--red); transform: translateY(-3px); }
.perf-rail__pic img { width: 100%; height: 100%; object-fit: cover; }
.perf-rail__initial { font-size: 34px; font-weight: 800; color: rgba(255,255,255,.22); }
.perf-rail__name { margin-top: 9px; font-size: 13px; font-weight: 700; max-width: 104px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.perf-rail__item:hover .perf-rail__name { color: #fff; }
.perf-rail__count { font-size: 11.5px; color: var(--muted-dim); }
@media (max-width: 560px) {
    .perf-rail__item, .perf-rail__name { width: 80px; max-width: 80px; }
    .perf-rail__pic { width: 80px; height: 80px; }
    .perf-rail__initial { font-size: 26px; }
}

/* ── Page head / sort / pagination ───────────────────────────────────────── */
.page-head { padding: 30px 0 6px; }
.page-head h1 { font-size: 26px; font-weight: 800; }
.page-head__sub { color: var(--muted); margin: 0; }
.page-head__count { color: var(--muted-dim); font-size: 13px; margin: 8px 0 0; }
/* Visible keyword-rich SEO copy under a listing (genre/performer/all) — on-page body content. */
.seo-copy { margin: 6px 0 26px; color: var(--muted); font-size: 14px; line-height: 1.6; }
/* Listing intro written in /admin/seo (only rendered where filled): a readable column, wraps on phones. */
.seo-intro { max-width: 820px; margin: 4px 0 14px; color: var(--muted); font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.seo-intro p { margin: 0 0 8px; }
.seo-intro p:last-child { margin-bottom: 0; }
.seo-copy h2 { font-size: 16px; font-weight: 700; color: var(--text); margin: 0 0 6px; }
.seo-copy p { margin: 0; max-width: 90ch; }
/* Links / partners / directories page (/links). */
.links-sec { margin: 26px 0; }
.links-sec__title { font-size: 17px; font-weight: 800; margin: 0 0 13px; display: flex; align-items: center; gap: 10px; }
.links-sec__title::before { content: ""; width: 4px; height: 18px; border-radius: 3px; background: var(--red-grad); }
.links-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.links-list__item { padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-elev); }
.links-list__link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--text); }
.links-list__link:hover { color: var(--red-bright); }
.links-list__desc { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }

/* Advertise page (/advertise). */
.container.adv { max-width: 1000px; padding-top: 22px; padding-bottom: 40px; }
.adv-hero { position: relative; overflow: hidden; padding: 30px 28px; border: 1px solid var(--line); border-radius: var(--radius);
    background: radial-gradient(120% 140% at 100% 0%, rgba(229,9,20,.22), transparent 55%), var(--bg-elev); }
.adv-hero h1 { font-size: clamp(24px, 4vw, 34px); font-weight: 800; }
.adv-hero__intro { color: var(--muted); max-width: 640px; margin: 0 0 20px; font-size: 16px; }
.adv-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.adv-contact__mail { display: flex; align-items: stretch; gap: 8px; min-width: 0; }
.adv-contact__input { min-width: 0; width: 190px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
    background: var(--bg); color: var(--text); font: inherit; font-weight: 600; }
.adv-sec { margin: 30px 0; }
.adv-sec__title { font-size: 18px; font-weight: 800; margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
.adv-sec__title::before { content: ""; width: 4px; height: 18px; border-radius: 3px; background: var(--red-grad); flex: none; }
.adv-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.adv-stat { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center;
    padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-elev); }
.adv-stat__icon { grid-row: span 2; font-size: 26px; line-height: 1; }
.adv-stat__num { font-size: 24px; font-weight: 800; line-height: 1.1; }
.adv-stat__label { color: var(--muted); font-size: 13px; }
.adv-aud, .adv-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.adv-card { padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-elev); min-width: 0; }
.adv-card h3 { font-size: 15px; font-weight: 800; margin: 0 0 14px; }
.adv-split { display: flex; height: 14px; border-radius: 99px; overflow: hidden; background: var(--bg-elev-2); }
.adv-split__m { background: var(--red-grad); }
.adv-split__d { background: #6f7480; }
.adv-split__legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; color: var(--muted); font-size: 14px; }
.adv-split__legend strong { color: var(--text); }
.adv-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.adv-dot--m { background: var(--red-bright); }
.adv-dot--d { background: #6f7480; }
.adv-countries { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.adv-countries li { display: grid; grid-template-columns: minmax(0, 9.5em) minmax(0, 1fr) 3em; align-items: center; gap: 10px; font-size: 14px; }
.adv-countries__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adv-countries__bar { height: 8px; border-radius: 99px; background: var(--bg-elev-2); overflow: hidden; }
.adv-countries__bar span { display: block; height: 100%; border-radius: inherit; background: var(--red-grad); }
.adv-countries strong { text-align: right; }
.adv-note { color: var(--muted-dim); font-size: 13px; margin: 10px 0 0; }
.adv-formats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.adv-format { padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-elev); transition: border-color .15s ease, transform .15s ease; }
.adv-format:hover { border-color: rgba(229,9,20,.45); transform: translateY(-2px); }
.adv-format__icon { font-size: 26px; line-height: 1; display: block; margin-bottom: 10px; }
.adv-format h3 { font-size: 16px; font-weight: 800; margin: 0 0 6px; }
.adv-format p { color: var(--muted); font-size: 14px; margin: 0; }
.adv-models { margin: 14px 0 0; padding: 12px 16px; border: 1px dashed var(--line-strong); border-radius: 12px; color: var(--text); font-weight: 600; }
.adv-steps { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--muted); }
.adv-steps li::marker { color: var(--red-bright); font-weight: 800; }
.adv-rules { color: var(--muted); margin: 0; }
.adv-final { text-align: center; margin: 34px 0 10px; }
.adv-final .btn { max-width: 100%; overflow-wrap: anywhere; }
@media (max-width: 760px) {
    .adv-stats, .adv-formats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .adv-aud, .adv-grid2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
    .container.adv { padding-inline: 16px; }
    .adv-hero { padding: 22px 18px; }
    .adv-stats { gap: 10px; }
    .adv-stat { padding: 14px; column-gap: 10px; }
    .adv-stat__icon { font-size: 22px; }
    .adv-stat__num { font-size: 20px; }
    .adv-formats { grid-template-columns: minmax(0, 1fr); }
    .adv-contact, .adv-contact .btn--lg { width: 100%; }
    .adv-contact .btn--lg { justify-content: center; }
    .adv-contact__mail { width: 100%; }
    .adv-contact__input { flex: 1; width: auto; }
}
.sortbar { display: flex; gap: 8px; margin: 18px 0 22px; flex-wrap: wrap; }
.sortbar--filter { margin-top: -14px; }
.sortbar__item { padding: 8px 16px; border-radius: 999px; background: var(--bg-elev); border: 1px solid var(--line); color: var(--muted); font-weight: 600; font-size: 13px; }
.sortbar__item.is-active { color: #fff; border-color: transparent; background: var(--red-grad); }
.sortbar__item:hover:not(.is-active) { color: #fff; border-color: var(--red); }
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 38px 0; flex-wrap: wrap; }
/* On the home page the pager sits BETWEEN sections, so its bottom padding stacks on top of the
   section spacing and leaves too big a gap. Trim it there — the section's own padding is enough. */
.section .pagination { padding: 24px 0 0; }
.pagination__page, .pagination__nav {
    min-width: 38px; height: 38px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--line-strong); border-radius: 9px; font-weight: 700; font-size: 14px; color: var(--text);
}
.pagination__page:hover, .pagination__nav:hover { border-color: var(--red); background: rgba(229,13,28,.10); color: #fff; }
.pagination__page.is-active { background: var(--red-grad); border-color: transparent; color: #fff; box-shadow: var(--shadow-red); }
.pagination__nav { font-size: 20px; line-height: 1; }
.pagination__gap { color: var(--muted-dim); padding: 0 4px; }

/* ── Video page ──────────────────────────────────────────────────────────── */
.video-page { padding-top: 24px; }
/* Keep the whole single-video column on one consistent centered axis (max 1000px),
   so the player, buttons, details, comments and related row all share the same edges. */
.video-page > .breadcrumb,
.video-page > .player,
.video-page > .video-actions,
.video-page > .video-detail,
.video-page > .panel,
.video-page > .section { max-width: 1000px; margin-left: auto; margin-right: auto; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 14px; font-size: 13px; color: var(--muted); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--text); text-decoration: underline; }
.breadcrumb__sep { color: var(--line); }
.breadcrumb__current { color: var(--text); font-weight: 600; max-width: 60ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player { position: relative; max-width: 1000px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; background: #000; aspect-ratio: 16 / 9; border: 1px solid var(--line); }
/* --- Custom player controls (replace native <video controls> so CC sits in the bar by fullscreen) --- */
.pc-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; padding: 2px 10px 8px; display: flex; flex-direction: column; gap: 2px; background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,.28) 55%, transparent); opacity: 1; transition: opacity .25s ease; }
.player.pc-idle .pc-bar { opacity: 0; pointer-events: none; }
.player.pc-idle { cursor: none; }
.pc-seek { position: relative; height: 16px; display: flex; align-items: center; cursor: pointer; touch-action: none; }
.pc-seek::before { content: ""; position: absolute; left: 0; right: 0; height: 4px; border-radius: 3px; background: rgba(255,255,255,.26); }
.pc-seek__buf { position: absolute; left: 0; height: 4px; width: 0; border-radius: 3px; background: rgba(255,255,255,.42); }
.pc-seek__played { position: absolute; left: 0; height: 4px; width: 0; border-radius: 3px; background: var(--red-grad); }
.pc-seek__handle { position: absolute; left: 0; top: 50%; width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.5); transform: scale(0); transition: transform .12s ease; }
.pc-seek:hover .pc-seek__handle, .pc-seek.pc-dragging .pc-seek__handle { transform: scale(1); }
.pc-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.pc-group { display: flex; align-items: center; gap: 2px; }
.pc-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; border-radius: 6px; -webkit-tap-highlight-color: transparent; }
.pc-btn:hover { background: rgba(255,255,255,.15); }
.pc-btn svg { width: 22px; height: 22px; display: block; }
.pc-cc.is-on::after { content: ""; position: absolute; left: 50%; bottom: 7px; transform: translateX(-50%); width: 15px; height: 2.5px; border-radius: 2px; background: #ff3b30; }
.pc-time { color: #fff; font-size: 12.5px; font-variant-numeric: tabular-nums; margin: 0 2px 0 4px; white-space: nowrap; }
.pc-vol-wrap { display: flex; align-items: center; width: 0; overflow: hidden; transition: width .18s ease; }
.pc-group:hover .pc-vol-wrap, .pc-vol-wrap:focus-within { width: 70px; }
.pc-vol-slider { width: 62px; accent-color: var(--red); cursor: pointer; }
.pc-big { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); z-index: 4; width: 64px; height: 64px; border-radius: 50%; border: 0; background: rgba(0,0,0,.5); color: #fff; cursor: pointer; display: none; align-items: center; justify-content: center; -webkit-tap-highlight-color: transparent; }
.pc-big svg { width: 30px; height: 30px; margin-left: 3px; }
.pc-big.pc-big--pause svg { margin-left: 0; }
.player.pc-paused .pc-big { display: flex; }
.player.pc-loading .pc-big { display: none; }
.pc-spin { position: absolute; left: 50%; top: 50%; margin: -22px 0 0 -22px; z-index: 4; width: 44px; height: 44px; border: 3px solid rgba(255,255,255,.3); border-top-color: #fff; border-radius: 50%; animation: az-spin .7s linear infinite; display: none; }
.player.pc-loading .pc-spin { display: block; }
.player:fullscreen, .player:-webkit-full-screen { max-width: none; width: 100%; height: 100%; border: 0; border-radius: 0; aspect-ratio: auto; }
.player:fullscreen .player__video, .player:-webkit-full-screen .player__video { object-fit: contain; }
/* CC language menu — portaled to <body> (or the fullscreen element); fixed-positioned by JS. */
.cc-menu { position: fixed; left: 0; top: 0; z-index: 2147483000; min-width: 160px; max-height: 240px; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; padding: 5px; background: rgba(16,16,20,.97); border: 1px solid rgba(255,255,255,.14); border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.cc-item { text-align: left; color: #d8d8dc; background: transparent; border: 0; border-radius: 5px; padding: 7px 11px; font-size: 13px; white-space: nowrap; cursor: pointer; }
.cc-item:hover { background: rgba(255,255,255,.08); color: #fff; }
.cc-item.is-active { background: var(--red-grad); color: #fff; font-weight: 700; }
/* Scrubber thumbnail preview (sprite sheet) */
.pc-thumb { position: absolute; bottom: 52px; z-index: 6; border: 2px solid rgba(255,255,255,.9); border-radius: 4px; background-repeat: no-repeat; background-color: #000; box-shadow: 0 6px 20px rgba(0,0,0,.6); pointer-events: none; }
/* Timestamp overlaid INSIDE the thumbnail's lower edge — never hangs down onto the seek bar. */
.pc-thumb__t { position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%); font-size: 11px; font-weight: 700; color: #fff; background: rgba(0,0,0,.82); padding: 1px 6px; border-radius: 4px; white-space: nowrap; pointer-events: none; }
@media (max-width: 560px) { .pc-bar { padding: 2px 6px 8px; } .pc-group { gap: 0; } .pc-btn { width: 36px; height: 36px; } .pc-btn svg { width: 21px; height: 21px; } .pc-vol-wrap { display: none; } .pc-time { font-size: 11px; margin: 0 1px 0 3px; } .cc-menu { max-height: 220px; } .pc-big { width: 70px; height: 70px; } .player:not(.pc-idle):not(.pc-loading) .pc-big { display: flex; } }
.player__video { width: 100%; height: 100%; display: block; background: #000; }
.player__placeholder { width: 100%; height: 100%; background-size: cover; background-position: center; position: relative; }
.player__overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: rgba(8,8,12,.62); color: #fff; text-align: center; padding: 20px; }
.player__overlay svg { color: var(--red-bright); filter: drop-shadow(0 4px 14px rgba(229,9,20,.5)); }
/* Up-next overlay: covers the player when a video ends, auto-advances after a countdown. */
.player__next { position: absolute; inset: 0; z-index: 6; display: flex; align-items: center; justify-content: center; background: rgba(6,6,10,.82); backdrop-filter: blur(3px); padding: 14px; }
.player__next[hidden] { display: none; }
.player__next-box { text-align: center; max-width: 300px; width: 100%; max-height: 100%; overflow: auto; }
.player__next-kicker { display: block; text-transform: uppercase; letter-spacing: .18em; font-size: 11px; font-weight: 800; color: var(--muted); margin-bottom: 8px; }
.player__next-card { display: block; text-decoration: none; color: #fff; }
.player__next-card img { width: 170px; max-width: 70%; height: auto; aspect-ratio: 16/9; object-fit: cover; border-radius: 10px; border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.player__next-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 8px auto 0; font-size: 14px; font-weight: 600; line-height: 1.3; max-width: 260px; }
.player__next-card:hover .player__next-title { text-decoration: underline; }
.player__next-actions { display: flex; gap: 10px; justify-content: center; margin-top: 12px; flex-wrap: wrap; }
.player__next-count { font-variant-numeric: tabular-nums; opacity: .85; }
@media (max-width: 560px) {
    .player__next-card img { width: 120px; }
    .player__next-title { font-size: 12.5px; margin-top: 6px; }
    .player__next-kicker { margin-bottom: 5px; }
    .player__next-actions { margin-top: 9px; }
}
.video-detail { max-width: 1000px; margin: 24px auto 0; }
.video-detail__title { font-size: 23px; font-weight: 800; }
.video-detail__meta { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.video-detail__meta .star { color: var(--star); font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { padding: 7px 14px; border-radius: 999px; background: var(--bg-elev); border: 1px solid var(--line); color: var(--muted); font-size: 13px; font-weight: 600; }
.chip:hover { border-color: var(--red); color: #fff; }
/* On the video page genres and tags sit in one row and share the same red pill styling. */
.chip--genre, .chips .chip { background: rgba(229,9,20,.12); border-color: rgba(229,9,20,.38); color: #ff9a9f; }
.chip--genre:hover, .chips .chip:hover { color: #fff; }
.panel { background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 22px; }
.panel h2 { font-size: 16px; font-weight: 700; }
.video-detail__description { color: #c8c8d2; margin: 0; }
.facts { display: grid; gap: 0; background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 20px; }
.facts > div { display: flex; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.facts > div:last-child { border-bottom: none; }
.facts dt { width: 130px; color: var(--muted); margin: 0; flex-shrink: 0; font-weight: 600; }
.facts dd { margin: 0; }
.cast { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.cast a:hover, .facts a:hover { color: var(--red-bright); }

/* ── Genres index — image category cards ─────────────────────────────────── */
.genre-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 13px; margin: 20px 0 44px; }
@media (max-width: 560px) { .genre-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .genre-card__name { font-size: 13px; } }
.genre-card { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: linear-gradient(145deg, #24242b, #141418); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.genre-card:hover { border-color: var(--red); transform: translateY(-3px); box-shadow: var(--shadow); }
.genre-card__thumb { position: absolute; inset: 0; }
.genre-card__img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform .5s cubic-bezier(.2,.6,.2,1), opacity .3s ease; }
.genre-card:hover .genre-card__img { transform: scale(1.07); opacity: 1; }
.genre-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.82)); pointer-events: none; }
.genre-card__name { position: absolute; left: 13px; right: 13px; bottom: 11px; z-index: 2; color: #fff; font-weight: 800; font-size: 15px; letter-spacing: -.01em; line-height: 1.2; text-shadow: 0 1px 8px rgba(0,0,0,.65); }
.genre-card__count { position: absolute; top: 9px; right: 9px; z-index: 2; background: rgba(8,8,10,.72); color: #fff; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; backdrop-filter: blur(2px); }

/* ── Performers (cast) index ─────────────────────────────────────────────── */
.performer-filter { margin: 20px 0 4px; max-width: 480px; display: flex; align-items: center; gap: 12px; }
.performer-filter .input {
    flex: 1 1 auto; min-width: 0; background: var(--bg-elev); border: 1px solid var(--line); border-radius: 999px;
    padding: 11px 18px; color: var(--text); font-size: 15px; font-family: inherit;
}
.performer-filter__clear { flex: 0 0 auto; color: var(--muted-dim); font-size: 14px; font-weight: 600; }
.performer-filter__clear:hover { color: var(--red); }
.performer-filter .input::placeholder { color: var(--muted-dim); }
.performer-filter .input:focus { outline: none; border-color: var(--red); background: var(--bg-elev-2); }
.performer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 16px; margin: 18px 0 40px; }
.performer-card { display: flex; flex-direction: column; background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.performer-card:hover { border-color: var(--red); transform: translateY(-3px); box-shadow: var(--shadow); }
.performer-card__pic { position: relative; aspect-ratio: 1 / 1; background: linear-gradient(145deg, #2a2a30, #17171b); display: grid; place-items: center; overflow: hidden; }
.performer-card__pic img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.performer-card__initial { font-weight: 800; font-size: 52px; color: var(--red); line-height: 1; }
.performer-card__count { position: absolute; bottom: 8px; right: 8px; background: rgba(8,8,10,.78); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.performer-card__name { padding: 10px 12px 12px; font-weight: 700; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.performer-card__name:not(:last-child) { padding-bottom: 1px; }
.performer-card__orig { padding: 0 12px 11px; color: var(--muted-dim); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Individual performer page header */
.performer-hero { display: flex; align-items: center; gap: 20px; }
.performer-hero__pic { flex: 0 0 auto; width: 104px; height: 104px; border-radius: 50%; overflow: hidden; background: linear-gradient(145deg, #2a2a30, #17171b); display: grid; place-items: center; box-shadow: var(--shadow), 0 0 0 1px var(--line); }
.performer-hero__pic img { width: 100%; height: 100%; object-fit: cover; }
.performer-hero__initial { font-weight: 800; font-size: 44px; color: var(--red); line-height: 1; }
.performer-hero__meta { min-width: 0; }
.performer-hero__orig { color: var(--muted-dim); font-size: 15px; margin: 3px 0 0; }
.performer-hero__bio { color: var(--muted); font-size: 14px; margin: 9px 0 0; max-width: 70ch; line-height: 1.55; }
@media (max-width: 560px) {
    .performer-hero { gap: 15px; }
    .performer-hero__pic { width: 78px; height: 78px; }
    .performer-hero__initial { font-size: 32px; }
}

/* ── Forms / auth ────────────────────────────────────────────────────────── */
.auth-card { background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; margin: 48px 0; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 23px; font-weight: 800; text-align: center; margin-bottom: 22px; }
.form { display: flex; flex-direction: column; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.form input, .form textarea {
    background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
    padding: 12px 14px; color: var(--text); font: inherit; font-weight: 400;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--red); }
.form-error { color: #ff8a8a; font-size: 13px; font-weight: 500; }
.form-error:first-child { padding: 11px 14px; background: rgba(229,9,20,.12); border: 1px solid rgba(229,9,20,.5); border-radius: var(--radius-sm); }
.auth-alt { text-align: center; color: var(--muted); margin-top: 20px; }
.auth-alt a { color: var(--red-bright); font-weight: 700; }

/* ── Auth v2: branded two-panel login / register ─────────────────────────── */
.auth2-wrap { width: 100%; max-width: 1060px; margin: 40px auto; padding: 0 22px; }
.auth2 {
    display: grid; grid-template-columns: 1fr 1.06fr;
    background: var(--bg-elev); border: 1px solid var(--line);
    border-radius: 22px; overflow: hidden; box-shadow: var(--shadow);
}

/* Brand panel */
.auth2__brand {
    position: relative; display: flex; flex-direction: column; padding: 40px 38px;
    background:
        radial-gradient(130% 80% at 18% 4%, rgba(229,9,20,.28), transparent 58%),
        linear-gradient(165deg, #2a050c 0%, #180509 46%, #0d0d11 100%);
    border-right: 1px solid var(--line);
}
.auth2__pill {
    align-self: flex-start; display: inline-flex; align-items: center;
    padding: 8px 16px; border-radius: 999px; margin-bottom: 26px;
    font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
    color: var(--red-bright); background: rgba(229,9,20,.12);
    border: 1px solid rgba(229,9,20,.4);
}
.auth2__hero { flex: 1 1 auto; display: grid; place-items: center; padding: 8px 0 26px; min-height: 190px; }
.auth2__hero img {
    width: 210px; max-width: 62%; height: auto;
    filter: drop-shadow(0 14px 34px rgba(229,9,20,.42));
    animation: auth-float 5.5s ease-in-out infinite;
}
@keyframes auth-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (prefers-reduced-motion: reduce) { .auth2__hero img { animation: none; } }
.auth2__brandtitle { font-size: 30px; font-weight: 800; margin: 0 0 10px; letter-spacing: -.02em; }
.auth2__brandtext { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin: 0 0 22px; max-width: 40ch; }
.auth2__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.auth2__chip {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 9px 15px; border-radius: 11px; font-size: 13px; font-weight: 600;
    color: #e9dfe2; background: rgba(255,255,255,.05); border: 1px solid var(--line-strong);
}
.auth2__chip svg { width: 15px; height: 15px; color: var(--red-bright); }

/* Form panel */
.auth2__form { padding: 42px 40px; display: flex; flex-direction: column; }
.auth2__eyebrow { color: var(--red-bright); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 8px; }
.auth2__title { font-size: 27px; font-weight: 800; margin: 0 0 6px; letter-spacing: -.02em; }
.auth2__subtitle { color: var(--muted); font-size: 14.5px; margin: 0 0 26px; }
.auth2__form .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field__label { display: flex; align-items: baseline; justify-content: space-between; font-weight: 700; font-size: 13.5px; }
.field__label a { color: var(--red-bright); font-weight: 700; font-size: 12.5px; }
.field__box {
    display: flex; align-items: center; gap: 10px; padding: 0 14px;
    background: var(--bg); border: 1px solid var(--line-strong); border-radius: 12px;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.field__box:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px rgba(229,9,20,.16); }
.field__box > svg { width: 18px; height: 18px; color: var(--muted-dim); flex: none; }
.field__box input {
    flex: 1 1 auto; width: 100%; border: none; background: none; color: var(--text);
    font-family: inherit; font-size: 14.5px; padding: 13px 0; outline: none; min-width: 0;
}
.field__box input::placeholder { color: var(--muted-dim); }
.field__toggle {
    display: inline-flex; padding: 4px; border: none; background: none; cursor: pointer;
    color: var(--muted-dim); flex: none;
}
.field__toggle:hover { color: var(--text); }
.field__toggle svg { width: 18px; height: 18px; }
.field__toggle .icon-off { display: none; }
.field__toggle.is-on .icon-on { display: none; }
.field__toggle.is-on .icon-off { display: inline; }
.field__hint { color: var(--muted-dim); font-size: 12px; }
.field__err { color: #ff8a8a; font-size: 12.5px; font-weight: 500; }

.auth2__submit { width: 100%; margin: 18px 0 14px; padding: 15px; font-size: 15px; }
/* Loading state: spinner replaces the label, button locks (used on slow submits like reset email). */
.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-loading::after { content: ""; position: absolute; top: 50%; left: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: az-spin .6s linear infinite; }
.auth2__alert { padding: 11px 14px; margin-bottom: 18px; background: rgba(229,9,20,.12); border: 1px solid rgba(229,9,20,.5); border-radius: var(--radius-sm); color: #ffb0b0; font-size: 13.5px; font-weight: 500; }

.auth2__divider { display: flex; align-items: center; gap: 14px; margin: 24px 0; color: var(--muted-dim); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.auth2__divider::before, .auth2__divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.auth2__altbox { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; background: var(--bg); border: 1px solid var(--line); border-radius: 13px; }
.auth2__altbox strong { display: block; font-size: 14px; }
.auth2__altbox span { color: var(--muted); font-size: 12.5px; }
.auth2__age { text-align: center; color: var(--muted-dim); font-size: 12px; margin: 20px 0 0; }

@media (max-width: 860px) {
    .auth2 { grid-template-columns: 1fr; }
    .auth2__brand { border-right: none; border-bottom: 1px solid var(--line); padding: 30px 26px; }
    .auth2__hero { min-height: 0; padding: 4px 0 20px; }
    .auth2__hero img { width: 128px; }
    .auth2__form { padding: 30px 24px; }
    .auth2__form .grid2 { grid-template-columns: 1fr; }
}

/* ── Video actions bar + download landing page ───────────────────────────── */
.video-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0 4px; }
.video-actions .btn { font-weight: 700; }
/* WhatsApp / Telegram share: brand-coloured icon; icon-only on phones so the action row stays tidy. */
.btn--wa svg { color: #25d366; }
.btn--tg svg { color: #2aabee; }
.btn--wa:hover { border-color: #25d366; }
.btn--tg:hover { border-color: #2aabee; }
@media (max-width: 560px) {
    .btn--net { padding-left: 12px; padding-right: 12px; }
    .btn--net .btn__label { display: none; }
}
/* Video-page rails ("More from <actress>/<series>"): one scrolling row, 5 cards visible on desktop,
   ~2.5 on phones (the peek invites the swipe). */
.vrail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 20px) / 5); gap: 20px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 6px; scrollbar-width: thin; }
.vrail > * { scroll-snap-align: start; min-width: 0; }
/* Home "Recently added" grid: fixed 2/3/4/6 columns so its 12 cards per page always fill whole rows. */
.grid.grid--home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 560px) { .grid.grid--home { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .grid.grid--home { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1300px) { .grid.grid--home { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 1100px) { .vrail { grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; } }
@media (max-width: 760px) { .vrail { grid-auto-columns: calc((100% - 2 * 12px) / 3); gap: 12px; } }
@media (max-width: 560px) { .vrail { grid-auto-columns: 42%; gap: 12px; } }
/* Video "about" panel: auto paragraph + the quiet "also searched as" code spellings. */
.video-about .video-detail__description { margin: 0; line-height: 1.6; }
.video-about__aka { margin: 8px 0 0; font-size: 12px; color: var(--muted-dim); }
/* "Invite friends → 5 MB/s" line under the action row (logged-in members still on 1 MB/s). */
.invite-nudge { margin: 8px 0 2px; font-size: 13px; color: var(--muted); }
.invite-nudge a { color: var(--muted); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.invite-nudge a:hover { color: var(--red-bright); text-decoration-color: currentColor; }

.dl-page { padding-top: 26px; }
/* Roomier download card — the narrow 600px container felt cramped. */
.container.narrow.dl-page { max-width: 880px; }
.dl-page__back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 600; font-size: 14px; margin-bottom: 18px; }
.dl-page__back:hover { color: #fff; }
.dl-card { display: grid; grid-template-columns: 380px 1fr; gap: 0; background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.dl-card__poster { background-size: cover; background-position: center; min-height: 320px; }
.dl-card__body { padding: 38px 40px 34px; }
.dl-card__eyebrow { color: var(--red-bright); font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 9px; }
.dl-card__title { font-size: 29px; font-weight: 800; margin: 0 0 14px; letter-spacing: -.01em; }
.dl-card__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.dl-card__meta span { padding: 4px 11px; border-radius: 999px; background: var(--bg-elev-2); border: 1px solid var(--line); color: var(--muted); font-size: 12.5px; font-weight: 600; }
.dl-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 18px; border-radius: 13px; background: var(--red-grad); color: #fff; font-weight: 800; font-size: 17px; box-shadow: var(--shadow-red); transition: .16s ease; }
.dl-btn:hover { filter: brightness(1.08); transform: translateY(-1px); color: #fff; }
.dl-watch { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 12px; margin-top: 12px; border-radius: 12px; border: 1px solid var(--line-strong); color: var(--text); font-weight: 700; font-size: 14px; }
/* Disabled download button for logged-out visitors (greyed, no click) + speed/referral-unlock box. */
.dl-btn--disabled { background: var(--bg-elev-2); color: var(--muted-dim); box-shadow: none; cursor: not-allowed; filter: grayscale(1); opacity: .75; }
.dl-btn--disabled:hover { transform: none; filter: grayscale(1); color: var(--muted-dim); }
.dl-speed { margin: 12px 0 0; font-size: 13.5px; font-weight: 700; text-align: center; }
.dl-speed--fast { color: #34d17a; }
.dl-unlock { margin-top: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-elev-2); }
.dl-unlock__pitch { margin: 0 0 10px; font-size: 13.5px; color: var(--text); line-height: 1.5; }
.dl-unlock__bar { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.dl-unlock__bar > span { display: block; height: 100%; background: var(--red-grad); transition: width .3s ease; }
.dl-unlock__count { margin: 7px 0 0; font-size: 12.5px; color: var(--muted); font-weight: 700; }
.dl-unlock__label { display: block; margin: 12px 0 5px; font-size: 12px; color: var(--muted-dim); font-weight: 600; }
.dl-unlock__copy { display: flex; gap: 8px; }
.dl-unlock__copy input { flex: 1; min-width: 0; padding: 9px 11px; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--text); font-size: 13px; }
.dl-watch:hover { border-color: var(--red); background: rgba(229,9,20,.1); color: #fff; }
.dl-note { color: var(--muted-dim); font-size: 12.5px; text-align: center; margin: 16px 0 0; }
.dl-note--warn { color: #ffb0b0; }
.dl-page .section { margin-top: 34px; }
/* Telegram channel strip under the download card (static — nothing pops up) */
.tg-strip { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 13px 18px; border-radius: var(--radius); border: 1px solid rgba(34,158,217,.45); background: linear-gradient(120deg, rgba(34,158,217,.16), rgba(34,158,217,.03)); color: var(--text); font-weight: 600; font-size: 14px; }
.tg-strip svg { flex: none; color: #2aabee; }
.tg-strip span:nth-of-type(1) { flex: 1; }
.tg-strip__cta { color: #5cc0f0; white-space: nowrap; font-weight: 700; }
.tg-strip:hover { border-color: #2aabee; color: #fff; }
@media (max-width: 560px) {
    .tg-strip { flex-wrap: wrap; gap: 8px 12px; }
    .tg-strip__cta { width: 100%; padding-left: 34px; }
}

@media (max-width: 680px) {
    .dl-card { grid-template-columns: 1fr; }
    .dl-card__poster { min-height: 180px; }
    .dl-card__body { padding: 22px 20px; }
}

/* ── Cosmetics: avatar frames, nick effects, badges (site-wide) ───────────── */
.az-avatar { --sz: 44px; position: relative; display: inline-grid; place-items: center; width: var(--sz); height: var(--sz); flex: none; }
.az-avatar__inner { position: relative; z-index: 1; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--bg-elev-2); border: 1px solid var(--line); }
.az-avatar__inner img { width: 100%; height: 100%; object-fit: cover; }
.az-avatar__initial { font-weight: 800; color: var(--muted); font-size: calc(var(--sz) * .4); }
.az-avatar--framed::before { content: ""; position: absolute; inset: -3px; border-radius: 50%; background: var(--ring, #888); z-index: 0; }
.az-avatar--framed .az-avatar__inner { border: 2px solid var(--bg); }
.az-avatar--glow::before { box-shadow: 0 0 12px rgba(255,60,90,.55); }
.az-avatar--anim::before { animation: az-spin 4.5s linear infinite; }
@keyframes az-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .az-avatar--anim::before { animation: none; } }

.az-nick { font-weight: inherit; }
.fx-verde, .fx-fogo, .fx-gelo, .fx-arcoiris, .fx-ouro, .fx-neon, .fx-sombra { -webkit-background-clip: text; background-clip: text; color: transparent; }
.fx-neon { background-image: linear-gradient(90deg,#00e0ff,#6a5cff); }
.fx-sombra { background-image: linear-gradient(90deg,#a56bff,#4b2f8f); }
.fx-verde { background-image: linear-gradient(90deg,#3ddc84,#00b894); }
.fx-fogo { background-image: linear-gradient(90deg,#ff9d00,#ff2a37); }
.fx-gelo { background-image: linear-gradient(90deg,#8fd3ff,#3aa0ff); }
.fx-arcoiris { background-image: linear-gradient(90deg,#ff2a37,#ff9d00,#ffe600,#3ddc84,#00e0ff,#a56bff); background-size: 200% auto; animation: az-rainbow 4s linear infinite; }
.fx-ouro { background-image: linear-gradient(90deg,#fff1a8,#ffcb3d,#b8860b,#ffcb3d); background-size: 200% auto; animation: az-rainbow 5s linear infinite; }
@keyframes az-rainbow { to { background-position: 200% center; } }
@media (prefers-reduced-motion: reduce) { .fx-arcoiris, .fx-ouro { animation: none; } }

/* Lootbox nick effects (database/lootbox_items.php: data.class = fx-lb-<slug>) */
[class*="fx-lb-"] { -webkit-background-clip: text; background-clip: text; color: transparent; }
.fx-lb-matcha { background-image: linear-gradient(90deg,#9bd17a,#4f8a3a); }
.fx-lb-peach { background-image: linear-gradient(90deg,#ffb199,#ff6a88); }
.fx-lb-sky { background-image: linear-gradient(90deg,#8fd3ff,#5b6cff); }
.fx-lb-lime { background-image: linear-gradient(90deg,#e3ff6b,#7ad13d); }
.fx-lb-rose { background-image: linear-gradient(90deg,#ff9ac2,#ff4f8b); }
.fx-lb-sand { background-image: linear-gradient(90deg,#f5d98a,#c99a4f); }
.fx-lb-lilac { background-image: linear-gradient(90deg,#d8b4ff,#9b6bff); }
.fx-lb-mint { background-image: linear-gradient(90deg,#a8ffcf,#2ecc71); }
.fx-lb-sunset { background-image: linear-gradient(90deg,#ff9d00,#ff2a6d,#7a5cff); }
.fx-lb-deep-sea { background-image: linear-gradient(90deg,#6be0ff,#1a7fd1,#3a4bff); }
.fx-lb-cherry-neon { background-image: linear-gradient(90deg,#ff2fb4,#ff9ac2,#ffffff); }
.fx-lb-toxic { background-image: linear-gradient(90deg,#b4ff00,#00ffb2,#00a3ff); }
.fx-lb-ember { background-image: linear-gradient(90deg,#ffe08a,#ff6a00,#ff2a37); }
.fx-lb-glacier { background-image: linear-gradient(90deg,#ffffff,#8fd3ff,#9b6bff); }
.fx-lb-cyber-pulse { background-image: linear-gradient(90deg,#00ffe1,#ff00c8,#fff200,#00ffe1); background-size: 200% auto; animation: az-rainbow 4s linear infinite; }
.fx-lb-aurora { background-image: linear-gradient(90deg,#3ddc84,#00e0ff,#a56bff,#3ddc84); background-size: 200% auto; animation: az-rainbow 4s linear infinite; }
.fx-lb-kitsune { background-image: linear-gradient(90deg,#ffe08a,#ff9d00,#ff2a37,#ffe08a); background-size: 200% auto; animation: az-rainbow 4s linear infinite; }
.fx-lb-sakura-drift { background-image: linear-gradient(90deg,#ffffff,#ffc1d9,#ff2a6d,#ffffff); background-size: 200% auto; animation: az-rainbow 4s linear infinite; }
.fx-lb-holo-prism { background-image: linear-gradient(90deg,#ff2a37,#ff9d00,#ffe600,#3ddc84,#00e0ff,#a56bff,#ff2a37); background-size: 200% auto; animation: az-rainbow 3.5s linear infinite; filter: drop-shadow(0 0 6px rgba(255,255,255,.35)); }
.fx-lb-imperial-gold { background-image: linear-gradient(90deg,#fffbe0,#ffcb3d,#b8860b,#fffbe0); background-size: 200% auto; animation: az-rainbow 3.5s linear infinite; filter: drop-shadow(0 0 6px rgba(255,203,61,.55)); }
@media (prefers-reduced-motion: reduce) { [class*="fx-lb-"] { animation: none; } }

.az-badge { font-size: .9em; vertical-align: middle; }
.prof-title { display: inline-block; padding: 2px 9px; border-radius: 7px; background: rgba(255,255,255,.07); border: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--muted); }

.account__dot { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; display: inline-grid; place-items: center; }
.menu-badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; }
.menu-chips { display: inline-flex; align-items: center; gap: 3px; padding: 0 6px; height: 18px; border-radius: 999px; background: rgba(255,197,61,.16); color: var(--star); font-size: 11px; font-weight: 800; }
.menu-chips::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--star); box-shadow: inset 0 0 0 2px rgba(0,0,0,.25); }

.xp-bar { height: 10px; border-radius: 999px; background: var(--bg-elev-2); overflow: hidden; margin: 8px 0; }
.xp-bar > span { display: block; height: 100%; background: linear-gradient(90deg,#ff2a37,#a56bff,#00e0ff); }
.xp-bar--slim { height: 7px; }
.xp-note { color: var(--muted); font-size: 13px; margin: 0; }
.pill { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 8px; border-radius: 999px; background: var(--bg-elev-2); border: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--muted); }
.muted-note { color: var(--muted); text-align: center; padding: 30px 0; }

/* Comments (video page) */
.comment-form { margin-bottom: 20px; display: flex; flex-direction: column; gap: 10px; }
.comment-form textarea, .acct-form textarea { width: 100%; background: var(--bg); border: 1px solid var(--line-strong); border-radius: 12px; color: var(--text); font-family: inherit; font-size: 14.5px; padding: 12px 14px; resize: vertical; }
.comment-form textarea:focus, .acct-form textarea:focus { outline: none; border-color: var(--red); }
.comments__login a { color: var(--red-bright); font-weight: 700; }
.comment-list { display: flex; flex-direction: column; gap: 16px; }
.comment { display: flex; gap: 12px; }
.comment__body { flex: 1; min-width: 0; }
.comment__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 3px; }
.comment__author { font-weight: 700; }
.comment__lvl { font-size: 11px; color: var(--muted-dim); background: var(--bg-elev-2); padding: 1px 7px; border-radius: 999px; }
.comment__date { font-size: 12px; color: var(--muted-dim); }
.comment-thread { display: flex; flex-direction: column; gap: 14px; }
.comment--reply { margin-left: 36px; padding-left: 12px; border-left: 2px solid var(--line); }
.comment__actions { display: flex; align-items: center; gap: 16px; margin-top: 6px; }
.cmt-like, .cmt-reply-btn { background: none; border: none; color: var(--muted); font-size: 12.5px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; padding: 2px 0; font-family: inherit; }
.cmt-like:hover, .cmt-reply-btn:hover { color: var(--text); }
.cmt-like.is-on { color: var(--red-bright); }
.cmt-like[disabled] { cursor: default; opacity: .55; }
.reply-form { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.reply-form textarea { width: 100%; background: var(--bg); border: 1px solid var(--line-strong); border-radius: 10px; color: var(--text); font-family: inherit; font-size: 14px; padding: 10px 12px; resize: vertical; }
.reply-form textarea:focus { outline: none; border-color: var(--red); }
.reply-form .btn { align-self: flex-start; }
@media (max-width: 640px) { .comment--reply { margin-left: 18px; } }
.comment__text { margin: 0; }
.video-actions__fav { display: inline; }

/* Public profile */
.pubprofile { padding-top: 24px; }
.pp-hero { display: flex; gap: 22px; align-items: flex-start; background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); flex-wrap: wrap; }
.pp-hero__main { flex: 1; min-width: 240px; }
.pp-hero__name { font-size: 26px; margin: 0 0 6px; }
.pp-hero__sub { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; color: var(--muted); margin-bottom: 10px; }
.pp-level { color: var(--red-bright); font-weight: 700; }
.pp-bio { color: var(--muted); margin: 10px 0 0; }
.pp-actions { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pp-actions form { margin: 0; }
.pp-actions .btn { margin: 0; }
.pp-stats { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0; }
.pp-stat { flex: 1; min-width: 108px; background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; text-align: center; }
.pp-stat__n { display: block; font-size: 22px; font-weight: 800; }
.pp-stat__l { color: var(--muted); font-size: 12.5px; }
.pp-ach { display: flex; flex-wrap: wrap; gap: 10px; }
.pp-ach__item { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--bg-elev); border: 1px solid var(--line); border-radius: 11px; font-weight: 600; font-size: 13px; }
.pp-ach__icon { color: var(--star); }
.pp-ach__count { margin-left: 6px; padding: 2px 9px; border-radius: 999px; background: var(--bg-elev); border: 1px solid var(--line); color: var(--muted); font-size: 13px; font-weight: 700; vertical-align: middle; }
.pp-restricted { text-align: center; color: var(--muted); font-size: 15px; }

/* JuicyAds 300x250 banner slot — centered, unobtrusive, never wider than the viewport */
/* Sponsored strip under the header (GamingAdult) — one static line, never a popup */
.promo-bar { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 7px 16px; background: linear-gradient(90deg, rgba(229,9,20,.08), rgba(229,9,20,.2), rgba(229,9,20,.08)); border-bottom: 1px solid var(--line); color: var(--text); font-size: 12.5px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.promo-bar__txt { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.promo-bar__txt--short { display: none; }
.promo-bar__cta { flex: none; padding: 4px 11px; border-radius: 6px; background: var(--red-grad); color: #fff; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.promo-bar:hover { color: #fff; }
.promo-bar:hover .promo-bar__cta { filter: brightness(1.12); }
@media (max-width: 640px) {
    .promo-bar { gap: 8px; padding: 6px 12px; font-size: 12px; letter-spacing: 0; text-transform: none; }
    .promo-bar__txt--long { display: none; }
    .promo-bar__txt--short { display: inline; }
}
.ad-slot { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 24px auto; isolation: isolate; }
.ad-slot__label { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-dim); }
.ad-slot ins { display: block; max-width: 100%; overflow: hidden; }

/* Profile guestbook ("recados") */
.guestbook { margin-top: 22px; }
.guestbook .panel__head { margin-bottom: 14px; }
.gb-form { display: flex; align-items: flex-start; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.gb-form .emoji-pick { order: 2; }
.gb-form textarea { order: 1; flex: 1 1 240px; min-width: 0; resize: vertical; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-elev); color: inherit; font: inherit; line-height: 1.5; }
.gb-form .btn { order: 3; }
.gb-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.gb-item { display: flex; gap: 12px; padding: 12px 14px; background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius); }
.gb-item img, .gb-item .az-avatar { flex: 0 0 auto; border-radius: 50%; }
.gb-item__body { flex: 1; min-width: 0; }
.gb-item__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.gb-item__name { font-weight: 700; }
.gb-item__date { color: var(--muted-dim); font-size: 12px; }
.gb-del { margin-left: auto; }
.gb-del button { background: none; border: 0; color: var(--muted-dim); cursor: pointer; font-size: 13px; line-height: 1; padding: 2px 4px; border-radius: 6px; }
.gb-del button:hover { color: var(--red-bright); background: rgba(229,57,53,.1); }
.gb-item__text { line-height: 1.55; word-wrap: break-word; overflow-wrap: anywhere; }
.gb-empty { color: var(--muted); }
@media (max-width: 480px) {
    .gb-form textarea { flex-basis: 100%; }
    .gb-form .btn { flex: 1; }
    .gb-item { padding: 10px 12px; gap: 10px; }
}

/* Language switcher — searchable, scales to 40+ locales, WITH country flags */
.lang__button { display: inline-flex; align-items: center; gap: 6px; }
.lang__globe { color: var(--muted); flex: none; }
.lang__code { font-weight: 700; max-width: 14ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.flag { width: 22px; height: 16px; border-radius: 2px; object-fit: cover; flex: none; display: inline-block; vertical-align: middle; box-shadow: 0 0 0 1px rgba(255,255,255,.14); }
.lang-mini { display: none; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); background: none; color: var(--text); cursor: pointer; padding: 0; }
.lang-mini:hover { border-color: var(--red); }
.lang-mini .flag { width: 24px; height: 17px; }

/* Desktop dropdown — a wide 3-column mega-menu with a search box on top */
.lang-menu { width: 620px; max-width: calc(100vw - 24px); padding: 0; overflow: hidden; }
.lang-menu__search { padding: 10px; border-bottom: 1px solid var(--line); background: var(--bg-elev-2); }
.lang-menu__input { width: 100%; padding: 9px 12px; border-radius: 9px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--text); font-size: 14px; font-family: inherit; }
.lang-menu__input:focus { outline: none; border-color: var(--red); }
.lang-menu__list { max-height: 62vh; overflow-y: auto; overscroll-behavior: contain; padding: 6px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.lang-menu__list::-webkit-scrollbar { width: 9px; }
.lang-menu__list::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 999px; border: 2px solid var(--bg-elev-2); }
.lang-menu__empty { grid-column: 1 / -1; color: var(--muted); font-size: 14px; text-align: center; padding: 18px 8px; margin: 0; }
.lang__opt { display: flex; flex-direction: row; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 9px; }
.lang__opt:hover { background: var(--bg-hover); }
.lang__opt.is-active { background: rgba(229,9,20,.08); }
.lang__opt-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.lang__opt-native { font-weight: 700; font-size: 14px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lang__opt.is-active .lang__opt-native { color: var(--red-bright); }
.lang__opt-name { font-size: 12px; color: var(--muted-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Mobile slide-down drawer (hamburger menu) */
.mobile-drawer { display: none; border-top: 1px solid var(--line); background: var(--bg-elev); padding: 10px 12px 16px; max-height: calc(100vh - 130px); overflow-y: auto; }
.mobile-login { display: none; }
.mobile-drawer__nav { display: flex; flex-direction: column; }
.mobile-drawer__nav a, .mobile-drawer__nav button { display: flex; align-items: center; gap: 10px; padding: 13px 12px; border-radius: 10px; color: var(--text); font-weight: 600; font-size: 15px; width: 100%; background: none; border: none; text-align: left; font-family: inherit; cursor: pointer; }
.mobile-drawer__nav a:hover, .mobile-drawer__nav button:hover { background: var(--bg-hover); }
.mobile-drawer__nav--sub { margin-top: 4px; padding-top: 8px; border-top: 1px solid var(--line); }
.mobile-drawer__nav--sub a, .mobile-drawer__nav--sub button { color: var(--muted); font-size: 14px; padding: 11px 12px; }
.mobile-drawer__auth { display: flex; gap: 10px; margin: 10px 2px; }
.mobile-drawer__auth .btn { flex: 1; justify-content: center; }

/* Mobile: a row inside the drawer that opens a full-screen language sheet (intuitive — Rafael) */
.mobile-lang__open { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 8px; padding: 14px 12px; border: none; border-top: 1px solid var(--line); background: none; color: var(--text); font-weight: 600; font-size: 15px; font-family: inherit; text-align: left; cursor: pointer; }
.mobile-lang__open:hover { background: var(--bg-hover); }
.mobile-lang__open > svg:first-child, .mobile-lang__open > .flag { color: var(--muted); flex: none; }
.mobile-lang__current { margin-left: auto; color: var(--muted); font-weight: 700; font-size: 13px; max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Full-screen language sheet (mobile) */
.lang-sheet { position: fixed; inset: 0; z-index: 300; background: var(--bg); display: flex; flex-direction: column; }
.lang-sheet[hidden] { display: none; }
.lang-sheet__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 10px; border-bottom: 1px solid var(--line); }
.lang-sheet__title { font-size: 18px; font-weight: 800; }
.lang-sheet__close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--bg-elev-2); color: var(--text); font-size: 18px; line-height: 1; cursor: pointer; }
.lang-sheet__search { padding: 12px 16px 4px; }
.lang-sheet__search .lang-menu__input { padding: 13px 14px; font-size: 16px; border-radius: 12px; }
.lang-sheet__list { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 4px 10px 24px; }
.lang-sheet__list .lang__opt { padding: 14px 12px; border-bottom: 1px solid var(--line); border-radius: 0; }
.lang-sheet__list .lang__opt .flag { width: 28px; height: 21px; }
.lang-sheet__list .lang__opt-native { font-size: 16px; }
.lang-sheet__list .lang__opt-name { font-size: 13px; }
body.no-scroll { overflow: hidden; }

/* ── Ranking / leaderboard ───────────────────────────────────────────────── */
.rank-page { padding: 28px 0 52px; }
.rank-head { text-align: center; margin-bottom: 22px; }
.rank-head h1 { font-size: 28px; margin: 0 0 6px; }
.rank-head p { color: var(--muted); margin: 0 0 12px; }
.rank-you { display: inline-block; padding: 8px 16px; border-radius: 999px; background: rgba(229,9,20,.12); border: 1px solid rgba(229,9,20,.4); color: var(--red-bright); font-weight: 700; font-size: 14px; }

.podium { display: flex; justify-content: center; align-items: flex-end; gap: 14px; margin: 12px 0 28px; flex-wrap: wrap; }
.podium__spot { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 152px; padding: 18px 12px; background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius); text-align: center; }
.podium__spot--1 { transform: translateY(-14px); border-color: rgba(255,203,61,.5); background: linear-gradient(160deg, rgba(255,203,61,.09), transparent); }
.podium__spot--2 { border-color: rgba(200,200,210,.4); }
.podium__spot--3 { border-color: rgba(215,154,91,.45); }
.podium__medal { font-size: 26px; line-height: 1; }
.podium__name { font-weight: 700; margin-top: 4px; }
.podium__xp { color: var(--red-bright); font-weight: 800; }
.podium__lvl { color: var(--muted); font-size: 12px; }

.rank-list { display: flex; flex-direction: column; gap: 6px; max-width: 820px; margin: 0 auto; }
.rank-row { display: grid; grid-template-columns: 54px 1fr 66px 92px 90px; align-items: center; gap: 10px; padding: 10px 16px; background: var(--bg-elev); border: 1px solid var(--line); border-radius: 12px; }
.rank-row--head { background: none; border: none; padding: 2px 16px; color: var(--muted-dim); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.rank-row--me { border-color: var(--red); background: rgba(229,9,20,.08); }
.rank-col-pos { text-align: center; }
.rank-num { font-weight: 800; color: var(--muted); }
.rank-medal { font-size: 20px; }
.rank-col-user { display: flex; align-items: center; gap: 12px; min-width: 0; }
.rank-user__meta { min-width: 0; display: flex; flex-direction: column; }
.rank-user__name { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-user__name em { color: var(--muted-dim); font-style: normal; font-weight: 500; font-size: 12px; }
.rank-user__title { color: var(--muted-dim); font-size: 12px; }
.rank-col-num { text-align: center; }
.rank-lvl-badge { display: inline-grid; place-items: center; min-width: 30px; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--bg-elev-2); border: 1px solid var(--line); font-weight: 700; font-size: 13px; }
.rank-xp { font-weight: 800; color: var(--red-bright); }
.rank-pager { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 22px; }
.rank-pager__info { color: var(--muted); font-weight: 600; }

/* Star rating widget (video page) */
.rate { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 6px 0 16px; }
.rate__stars { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.rate__star { background: none; border: none; cursor: pointer; font-size: 24px; line-height: 1; padding: 0 1px; color: var(--muted-dim); transition: color .12s ease; font-family: inherit; }
.rate__star.is-on { color: var(--star); }
.rate__stars:hover .rate__star { color: var(--muted-dim); }
.rate__stars:hover .rate__star:hover, .rate__stars:hover .rate__star:hover ~ .rate__star { color: var(--star); }
.rate__stars--guest { color: var(--muted-dim); font-size: 24px; letter-spacing: 1px; }
.rate__stars--guest:hover { color: var(--star); }
.rate__info { color: var(--muted); font-size: 14px; }
.rate__info strong { color: var(--star); font-size: 16px; }
.rate__mine { color: var(--muted-dim); font-size: 12.5px; margin-left: 8px; }

@media (max-width: 560px) {
    .rank-row { grid-template-columns: 40px 1fr 52px 76px; gap: 8px; padding: 9px 12px; }
    .rank-hide-sm { display: none; }
    .podium__spot { width: 30%; min-width: 100px; padding: 14px 8px; }
}

/* ── Profile ─────────────────────────────────────────────────────────────── */
.profile { display: flex; gap: 22px; padding: 44px 0; align-items: flex-start; }
.profile__avatar { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: var(--red-grad); color: #fff; font-size: 36px; font-weight: 800; flex-shrink: 0; box-shadow: var(--shadow-red); }
.profile__handle { color: var(--muted); margin: 0 0 8px; }
.profile__since { color: var(--muted-dim); font-size: 13px; }
.profile__bio { margin: 14px 0; color: #c8c8d2; }

/* ── Admin ───────────────────────────────────────────────────────────────── */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; margin: 22px 0 44px; }
.stat { background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.stat__value { display: block; font-size: 32px; font-weight: 800; }
.stat__label { color: var(--muted); font-size: 13px; }

/* ── Error page ──────────────────────────────────────────────────────────── */
.error-page { text-align: center; padding: 76px 0; }
.error-page__code { font-size: 90px; font-weight: 900; background: var(--red-grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.error-page h1 { font-size: 24px; margin-top: 8px; }
.error-page p { color: var(--muted); margin-bottom: 26px; }

/* ── Age gate ────────────────────────────────────────────────────────────── */
.age-gate { position: fixed; inset: 0; z-index: 200; background: rgba(6,6,9,.95); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; padding: 20px; }
.age-gate__box { max-width: 460px; text-align: center; background: var(--bg-elev); border: 1px solid var(--line-strong); border-radius: 18px; padding: 38px; box-shadow: var(--shadow); }
.age-gate__badge { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--red-grad); color: #fff; font-weight: 900; font-size: 18px; margin-bottom: 16px; box-shadow: var(--shadow-red); }
.age-gate__box h2 { font-size: 22px; font-weight: 800; }
.age-gate__box p { color: var(--muted); }
.age-gate__actions { display: flex; gap: 10px; justify-content: center; margin-top: 22px; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-elev); margin-top: 16px; }
.site-footer__inner { max-width: var(--maxw); margin: 0 auto; padding: 40px 22px 30px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.site-footer__col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.site-footer__col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-dim); margin: 0 0 4px; }
.site-footer__col a { color: var(--muted); font-weight: 600; font-size: 14px; }
.site-footer__col a:hover { color: var(--red-bright); }
/* Full-width row of subtitle landing links under the columns; wraps on any width. */
.site-footer__subs { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 18px; }
.site-footer__subs h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-dim); margin: 0 0 10px; }
.site-footer__subs-list { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.site-footer__subs-list a { color: var(--muted); font-weight: 600; font-size: 14px; }
.site-footer__subs-list a:hover { color: var(--red-bright); }
.site-footer__logo { height: 90px; width: auto; margin-bottom: 8px; }
.site-footer__brand p { color: var(--muted); margin: 0; max-width: 340px; font-size: 14px; }
.site-footer__tag { font-weight: 700; color: var(--text); }
.site-footer__about { font-size: 13px; color: var(--muted-dim); line-height: 1.55; margin-top: 4px !important; }
.brand__name { font-weight: 900; font-size: 20px; font-style: italic; letter-spacing: -.02em; }
.brand__name span { color: var(--red-bright); }
.site-footer__legal { max-width: var(--maxw); margin: 0 auto; padding: 18px 22px 30px; border-top: 1px solid var(--line); color: var(--muted-dim); font-size: 12.5px; display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; }
.site-footer__legal p { margin: 0; }
.site-footer__badges { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.site-footer__badge { font-size: 11px; font-weight: 800; letter-spacing: .5px; padding: 4px 9px; border-radius: 6px; border: 1px solid var(--line-strong); color: var(--muted); background: rgba(255,255,255,.03); }
a.site-footer__badge:hover { color: #fff; border-color: var(--red); }
.site-footer__badge--age { color: #fff; background: var(--red-grad); border-color: transparent; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1280px) {
    .hamburger { display: flex; grid-area: burger; align-self: center; margin-left: -6px; }
    .primary-nav { display: none; }
    .site-header__inner {
        display: grid; grid-template-columns: auto 1fr auto;
        grid-template-areas: "burger brand actions" "search search search";
        align-items: center; gap: 10px; height: auto; padding: 10px 14px;
    }
    .brand { grid-area: brand; justify-self: center; }
    .brand__img { height: 52px; }
    .header-actions { grid-area: actions; gap: 6px; justify-self: end; }
    .search { grid-area: search; max-width: none; margin: 0; }
    .account__name { display: none; }
    .hide-mobile { display: none !important; }
    .lang-mini { display: inline-flex; }
    .mobile-login { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--text); }
    .mobile-login:hover { border-color: var(--red); color: #fff; }
    .mobile-drawer.open { display: block; }
    .browsebar__inner { padding: 0 16px; }
    /* Compact stacked hero (phones up to ~laptop): a short wide banner on top, then a tight text
       block — so the video grid ("Recently added") rises toward the fold instead of one featured
       title filling the screen. Poster height scales with viewport (clamped) so it's a slim banner
       on a phone and never a giant 16:9 block on a 1280px laptop. */
    .spotlight__inner { flex-direction: column; align-items: flex-start; gap: 16px; min-height: 0; padding: 16px 22px 22px; }
    .spotlight__poster { width: 100%; aspect-ratio: auto; height: clamp(140px, 30vw, 300px); order: -1; }
    .spotlight__kicker { margin-bottom: 10px; }
    .spotlight__title { margin-bottom: 8px; }
    .spotlight__meta { margin-bottom: 14px; }
    .ad-top__2 { display: none; }
    /* Mobile: let the player go edge-to-edge (full-bleed) so it's a bit bigger — Rafael. The
       negative side margins cancel the container gutter and pull the video out to the viewport
       edges; aspect-ratio 16/9 keeps it taller too. Corners/side borders squared off at the edge. */
    .video-page > .player {
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        max-width: 100vw;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    .site-footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
    .card__title { font-size: 13px; }
    .hero__search { flex-direction: column; }
    .hero__search svg { display: none; }
    .hero__search input { padding-left: 20px; }
    .facts dt { width: 96px; }
    .container { padding-inline: 16px; }
    .site-footer__inner { grid-template-columns: 1fr 1fr; gap: 22px; }
    .site-footer__brand { grid-column: 1 / -1; }
}

/* ── Community / how-it-works page ──────────────────────────────────────── */
.community { max-width: 1000px; margin: 0 auto; padding: 24px 16px 60px; display: grid; gap: 20px; }
.community-hero { text-align: center; padding: 40px 20px; background: radial-gradient(120% 100% at 50% 0, rgba(230,13,28,.18), transparent 70%), var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius); }
.community-hero__eyebrow { display: inline-block; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--red-bright); margin-bottom: 10px; }
.community-hero h1 { font-size: 34px; margin: 0 0 12px; }
.community-hero p { color: var(--muted); max-width: 620px; margin: 0 auto 20px; line-height: 1.6; }
.community-hero__stats { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; margin-bottom: 22px; }
.community-hero__stats span { color: var(--muted); font-size: 14px; }
.community-hero__stats strong { display: block; font-size: 28px; color: var(--text); }
.community-hero__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.community-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.community-feat { display: flex; gap: 12px; align-items: flex-start; padding: 14px; background: var(--bg-elev-2); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.community-feat__ico { font-size: 22px; line-height: 1; flex: 0 0 auto; }
.community-feat__t { margin: 0 0 3px; font-size: 15px; }
.community-feat__b { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; }

.community-xp { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.community-xp__row { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; background: var(--bg-elev-2); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.community-xp__act { font-size: 14px; }
.community-xp__pts { font-weight: 700; color: var(--red-bright); white-space: nowrap; }

.community-levels { display: flex; gap: 10px; flex-wrap: wrap; }
.community-level { flex: 1; min-width: 90px; text-align: center; padding: 14px; background: var(--bg-elev-2); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.community-level__n { display: block; font-weight: 700; }
.community-level__xp { display: block; font-size: 13px; color: var(--star); margin-top: 4px; }

.community-checkin p { color: var(--muted); line-height: 1.6; margin: 0 0 14px; }

.community-cat { margin-top: 18px; }
.community-cat__name { font-size: 15px; color: var(--red-bright); text-transform: uppercase; letter-spacing: .5px; margin: 0 0 12px; }
.community-medals { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.community-medal { display: flex; gap: 12px; padding: 14px; background: var(--bg-elev-2); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.community-medal__icon { flex-shrink: 0; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--red-grad); color: #fff; }
.community-medal__body h4 { margin: 0 0 4px; font-size: 15px; }
.community-medal__body p { margin: 0 0 8px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.community-medal__rewards { display: flex; gap: 6px; flex-wrap: wrap; }
.reward { display: inline-block; font-size: 11px; padding: 3px 8px; border-radius: 20px; background: var(--bg-hover); border: 1px solid var(--line-strong); color: var(--muted); }
.reward--xp { color: var(--star); border-color: rgba(255,197,61,.35); }

.community-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.community-item { padding: 14px; background: var(--bg-elev-2); border: 1px solid var(--line); border-left-width: 3px; border-radius: var(--radius-sm); }
.community-item__name { display: block; font-weight: 700; margin-bottom: 2px; }
.community-item__rarity { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted-dim); margin-bottom: 8px; }
.community-item__desc { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.community-item__howto { margin: 10px 0 0; display: flex; align-items: flex-start; gap: 6px; font-size: 12px; color: var(--muted-dim); line-height: 1.45; padding-top: 9px; border-top: 1px solid var(--line); }
.community-item__howto svg { flex-shrink: 0; margin-top: 2px; color: var(--red-bright); opacity: .9; }
.community-item.rarity-common { border-left-color: #8b8f96; }
.community-item.rarity-rare { border-left-color: #4aa3ff; }
.community-item.rarity-epic { border-left-color: #c9a9ff; }
.community-item.rarity-legendary { border-left-color: var(--star); }

.community-steps { margin: 0; padding-left: 20px; display: grid; gap: 12px; }
.community-steps li { color: var(--muted); line-height: 1.6; }
.community-steps strong { color: var(--text); }

@media (max-width: 640px) {
    .community-hero h1 { font-size: 26px; }
    .community-xp { grid-template-columns: 1fr; }
    .community-features { grid-template-columns: 1fr; }
    .community-medals, .community-items { grid-template-columns: 1fr; }
}

/* Continue-watching progress bar on history cards */
.watch-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(0,0,0,.55); }
.watch-bar span { display: block; height: 100%; background: var(--red-bright); }

/* "Watched" check on cards the logged-in user finished */
.card__seen { position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; border-radius: 50%; background: #1f9d55; color: #fff; font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(0,0,0,.45); }

/* Censored / uncensored label in the card body (next to the title, not over the image) */
.card__cens { display: inline-block; margin: 6px 0 0; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; }
.card__cens--uncensored { background: rgba(31,157,85,.18); color: #34d17a; }
.card__cens--censored { background: var(--bg-hover); color: var(--muted); }
.card__subs { display: inline-block; margin: 6px 0 0 6px; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 800; letter-spacing: .4px; background: rgba(230,40,70,.16); color: #ff6b84; border: 1px solid rgba(230,40,70,.35); }

/* Screenshot gallery on the video page */
.shots { margin-top: 22px; }
.shots-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.shot { display: block; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-elev-2); aspect-ratio: 16 / 9; }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s ease; }
.shot:hover img { transform: scale(1.06); }
@media (max-width: 640px) { .shots-grid { grid-template-columns: repeat(2, 1fr); } }

/* Cookie consent bar (LGPD/GDPR) */
.cookie-bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: var(--bg-elev-2); border: 1px solid var(--line-strong); border-radius: 12px; padding: 12px 16px; box-shadow: 0 8px 30px rgba(0,0,0,.5); max-width: 720px; margin: 0 auto; }
.cookie-bar p { margin: 0; flex: 1; min-width: 180px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.cookie-bar a { color: var(--red-bright); }
.cookie-bar .btn { flex-shrink: 0; }
/* Guest sign-up nudge (video page): bottom-right card on desktop, bottom sheet on phones. */
.signup-nudge { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60; width: 320px; max-width: calc(100vw - 24px); background: var(--bg-elev-2); border: 1px solid var(--line-strong); border-radius: 14px; padding: 16px 18px; box-shadow: 0 12px 40px rgba(0,0,0,.55); }
.signup-nudge[hidden] { display: none; }
.signup-nudge__title { margin: 0 26px 6px 0; font-weight: 800; font-size: 15px; color: #fff; }
.signup-nudge__body { margin: 0 0 12px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.signup-nudge__cta { width: 100%; justify-content: center; }
.signup-nudge__x { position: absolute; top: 8px; right: 10px; background: none; border: 0; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; padding: 4px; }
.signup-nudge__x:hover { color: #fff; }
@media (max-width: 560px) {
    .signup-nudge { left: 12px; right: 12px; width: auto; max-width: none; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
}

/* Report (flag) UI */
.cmt-report, .video-report { background: none; border: none; color: var(--muted-dim); font-size: 12.5px; font-weight: 600; cursor: pointer; font-family: inherit; padding: 2px 0; }
.cmt-report:hover, .video-report:hover { color: var(--red-bright); }
.video-report { margin-top: 16px; display: inline-block; }
.report-modal { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.6); display: flex; align-items: center; justify-content: center; padding: 16px; }
.report-modal__box { background: var(--bg-elev-2); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 20px; width: 100%; max-width: 420px; box-shadow: var(--shadow); }
.report-modal__box h3 { margin: 0 0 12px; font-size: 17px; }
.report-select, .report-modal__box textarea { width: 100%; background: var(--bg); border: 1px solid var(--line-strong); border-radius: 10px; color: var(--text); font-family: inherit; font-size: 14px; padding: 10px 12px; margin-top: 6px; }
.report-select:focus, .report-modal__box textarea:focus { outline: none; border-color: var(--red); }
.report-modal__box textarea { margin-top: 10px; resize: vertical; }
.report-modal__actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.az-toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 90; background: #1f9d55; color: #fff; font-weight: 700; font-size: 14px; padding: 12px 20px; border-radius: 999px; box-shadow: var(--shadow); max-width: 90vw; text-align: center; }

/* Legal pages (terms / privacy / dmca / 2257) */
.legal-page { padding-top: 26px; padding-bottom: 44px; }
.legal { color: #c2c2cc; font-size: 15px; line-height: 1.72; }
.legal h1 { color: var(--text); font-size: 26px; margin-bottom: 4px; }
.legal h2 { color: var(--text); font-size: 18px; margin: 28px 0 8px; }
.legal p { margin: 10px 0; }
.legal ul { padding-left: 20px; margin: 8px 0; }
.legal li { margin: 5px 0; }
.legal a { color: var(--red-bright); }
.legal strong { color: var(--text); }
.legal .legal-updated { color: var(--muted-dim); font-size: 13px; margin: 0 0 22px; display: block; }

/* Advanced search: search box + filter bar */
.search-adv { margin: 4px 0 18px; display: flex; flex-direction: column; gap: 12px; }
.search-adv__bar { position: relative; display: flex; align-items: center; max-width: 560px; }
.search-adv__icon { position: absolute; left: 15px; color: var(--muted-dim); pointer-events: none; }
.search-adv__q {
    width: 100%; background: var(--bg-elev); border: 1px solid var(--line); border-radius: 999px;
    padding: 11px 18px 11px 42px; color: var(--text); font-size: 15px; font-family: inherit;
}
.search-adv__q::placeholder { color: var(--muted-dim); }
.search-adv__q:focus { outline: none; border-color: var(--red); background: var(--bg-elev-2); }
.search-adv__filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.search-adv__sel {
    background-color: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius-sm);
    padding: 9px 32px 9px 14px; color: var(--text); font-size: 13.5px; font-weight: 600; font-family: inherit;
    cursor: pointer; appearance: none; -webkit-appearance: none; max-width: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='14' height='14' fill='%239a9aa6'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 10px center;
}
.search-adv__sel:hover { border-color: var(--line-strong); }
.search-adv__sel:focus { outline: none; border-color: var(--red); }
.search-adv__clear { color: var(--muted); font-size: 13.5px; font-weight: 600; padding: 8px 4px; }
.search-adv__clear:hover { color: #fff; }
.search-adv__count { color: var(--muted); font-size: 13.5px; margin: 0 0 14px; }
.search-fix { margin: 6px 0 0; font-size: 14px; color: var(--text); }
@media (max-width: 560px) {
    .search-adv__bar { max-width: none; }
    .search-adv__sel { flex: 1 1 calc(50% - 5px); }
    .search-adv__apply { flex: 1 1 100%; }
}

/* Home "Recently added" load-more button */
.loadmore { display: flex; justify-content: center; margin: 22px 0 4px; }
.loadmore__btn { min-width: 220px; font-weight: 700; }

/* Ranking: members/videos tabs + videos leaderboard */
.rank-tabs { display: flex; gap: 8px; margin: 0 0 20px; }
.rank-tab { padding: 9px 20px; border-radius: 999px; background: var(--bg-elev); border: 1px solid var(--line); color: var(--muted); font-weight: 700; font-size: 14px; }
.rank-tab:hover { color: #fff; border-color: var(--red); }
.rank-tab.is-active { color: #fff; border-color: transparent; background: var(--red-grad); }
.rank-list--vid .rank-row { grid-template-columns: 54px 1fr 90px 92px; }
.rank-vid__thumb img { width: 64px; height: 36px; object-fit: cover; border-radius: 6px; display: block; background: var(--bg-elev-2); }
@media (max-width: 560px) {
    .rank-list--vid .rank-row { grid-template-columns: 40px 1fr 76px; }
    .rank-vid__thumb img { width: 52px; height: 30px; }
}

/* ── Community forum ─────────────────────────────────────────────────────── */
.forum { padding-block: 30px; }
.forum-narrow { max-width: 820px; }
.forum-crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.forum-crumbs a { color: var(--muted); }
.forum-crumbs a:hover { color: var(--text); }
.forum-hero { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 24px; flex-wrap: wrap; }
.forum-hero h1 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin: 0 0 6px; }
.forum-hero p { color: var(--muted); margin: 0; max-width: 640px; }
.forum-hero__eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .18em; font-size: 11px; font-weight: 800; color: var(--red-bright); margin-bottom: 8px; }

.forum-cats { display: grid; gap: 12px; margin-bottom: 34px; }
.forum-cat { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 16px 18px; background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .15s ease, transform .15s ease; }
.forum-cat:hover { border-color: var(--red); transform: translateY(-1px); }
.forum-cat__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--bg-elev-2); color: var(--red-bright); }
.forum-cat__main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.forum-cat__title { font-weight: 800; font-size: 16px; }
.forum-cat__desc { color: var(--muted); font-size: 13.5px; }
.forum-cat__last { color: var(--muted-dim); font-size: 12px; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.forum-cat__stats { display: flex; flex-direction: column; gap: 2px; text-align: right; color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.forum-cat__stats strong { color: var(--text); }

.forum-recent { list-style: none; margin: 0; padding: 0; }
.forum-recent__row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.forum-recent__row:last-child { border-bottom: 0; }
.forum-recent__title { font-weight: 600; }
.forum-recent__meta { color: var(--muted-dim); font-size: 12.5px; white-space: nowrap; }

.forum-threads { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.forum-thread-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 13px 16px; background: var(--bg-elev); border: 1px solid var(--line); border-radius: 12px; }
.forum-thread-row__main { min-width: 0; }
.forum-thread-row__title { display: block; font-weight: 700; margin-bottom: 3px; }
.forum-thread-row__by { color: var(--muted-dim); font-size: 12.5px; }
.forum-thread-row__stats { display: flex; flex-direction: column; text-align: right; color: var(--muted); font-size: 12.5px; white-space: nowrap; gap: 2px; }
.forum-thread-row__stats strong { color: var(--text); }

.forum-tag { display: inline-block; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: 2px 7px; border-radius: 999px; vertical-align: middle; margin-right: 6px; }
.forum-tag--pin { background: rgba(226,178,54,.16); color: var(--star); }
.forum-tag--lock { background: rgba(255,255,255,.08); color: var(--muted); }

.forum-thread-head { margin-bottom: 18px; }
.forum-thread-head h1 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; margin: 0 0 6px; }
.forum-thread-head__meta { color: var(--muted); font-size: 13px; margin: 0; }

.forum-posts { display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; }
.forum-post { display: flex; gap: 14px; padding: 16px; background: var(--bg-elev); border: 1px solid var(--line); border-radius: 14px; }
.forum-post--op { border-color: var(--line-strong); background: var(--bg-elev-2); }
.forum-post__body { flex: 1; min-width: 0; }
.forum-post__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 7px; }
.forum-post__author { font-weight: 700; }
.forum-post__lvl { font-size: 11px; font-weight: 700; color: var(--red-bright); background: rgba(229,57,53,.12); padding: 1px 7px; border-radius: 999px; }
.forum-post__date { color: var(--muted-dim); font-size: 12px; }
.forum-post__flair { font-size: 11px; font-weight: 600; color: var(--star); background: rgba(255,193,7,.12); padding: 1px 8px; border-radius: 999px; white-space: nowrap; }
.forum-post__text { line-height: 1.6; word-wrap: break-word; overflow-wrap: anywhere; }
.reacts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.forum-post__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.forum-post__foot .reacts { margin-top: 0; }
.forum-post__reply { font-size: 13px; font-weight: 700; color: var(--muted); padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; white-space: nowrap; }
.forum-post__reply:hover { color: var(--text); border-color: var(--red); }
.forum-quote { display: block; margin: 0 0 9px; padding: 7px 11px; border-left: 3px solid var(--red); background: var(--bg-elev-2); border-radius: 0 8px 8px 0; font-size: 13px; color: var(--muted); text-decoration: none; }
a.forum-quote:hover { background: var(--bg-hover); }
.forum-quote__who { display: block; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.forum-quote__text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.forum-quote--gone { font-style: italic; }
.forum-reply__form > .forum-replying { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 10px; text-align: left; padding: 8px 10px; border-left: 3px solid var(--red); background: var(--bg-elev-2); border-radius: 0 8px 8px 0; font-size: 13px; }
.forum-reply__form > .forum-replying[hidden] { display: none; }
.forum-replying__label { font-weight: 700; white-space: nowrap; }
.forum-replying__text { flex: 1; min-width: 0; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.forum-replying__x { flex: 0 0 auto; background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 14px; padding: 0 2px; }
.forum-replying__x:hover { color: var(--text); }
.react { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-elev); color: inherit; font-size: 13px; line-height: 1.4; cursor: pointer; transition: border-color .15s, background .15s; }
.react:hover { border-color: var(--red); }
.react.is-on { border-color: var(--red); background: rgba(229,57,53,.14); }
.react--empty { opacity: .55; }
.react--empty:hover { opacity: 1; }
.react__e { font-size: 15px; }
.react__n { font-weight: 700; font-size: 12px; min-width: 8px; text-align: center; }
@media (max-width: 480px) { .react { padding: 4px 10px; } }

.forum-reply__form textarea, .forum-form textarea, .forum-form input[type="text"], .forum-select {
    width: 100%; background: var(--bg-elev-2); border: 1px solid var(--line-strong); border-radius: 10px;
    color: var(--text); padding: 11px 13px; font: inherit; resize: vertical;
}
.forum-reply__form textarea:focus, .forum-form textarea:focus, .forum-form input:focus, .forum-select:focus { outline: none; border-color: var(--red); }
.forum-reply__form > div { margin-top: 10px; text-align: right; }
.forum-reply__login a { color: var(--red-bright); font-weight: 600; }
.forum-form .field { margin-bottom: 16px; }
.forum-form__actions { display: flex; justify-content: flex-end; gap: 10px; }

/* Compose toolbar + embeds */
.forum-notice { background: rgba(226,178,54,.10); border: 1px solid rgba(226,178,54,.28); color: var(--star); border-radius: 10px; padding: 9px 12px; font-size: 13px; margin: 0 0 10px; }
.forum-toolbar { display: flex; align-items: center; gap: 6px; position: relative; margin-bottom: 8px; flex-wrap: wrap; }
.forum-tool { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line-strong); background: var(--bg-elev-2); border-radius: 8px; color: var(--text); font-weight: 800; font-size: 13px; cursor: pointer; }
.forum-tool:hover { border-color: var(--red); }
.forum-tool--yt { color: #ff2b2b; }
.forum-tool--ph { color: #ffa31a; background: #000; font-size: 11px; }
.forum-tool--xv { color: #ff3b30; }
.forum-emoji { position: absolute; top: 40px; left: 0; z-index: 20; display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px; background: var(--bg-elev); border: 1px solid var(--line-strong); border-radius: 10px; padding: 8px; box-shadow: var(--shadow); width: 300px; max-width: calc(100vw - 40px); }
.forum-emoji__btn { border: 0; background: transparent; font-size: 20px; cursor: pointer; padding: 3px; border-radius: 6px; line-height: 1; }
.forum-emoji__btn:hover { background: var(--bg-elev-2); }
.forum-embed { display: block; position: relative; width: 100%; max-width: 640px; aspect-ratio: 16 / 9; margin: 10px 0; border-radius: 10px; overflow: hidden; background: #000; }
.forum-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.forum-img { display: inline-block; margin: 8px 0; }
.forum-img img { max-width: min(100%, 480px); max-height: 420px; border-radius: 10px; display: block; }
.forum-post__text a { color: var(--red-bright); word-break: break-word; }

/* Reusable emoji picker (video comments, etc.) */
.comment-tools { margin-bottom: 8px; }
.emoji-pick { position: relative; display: inline-block; }
.emoji-pick__btn { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line-strong); background: var(--bg-elev-2); border-radius: 8px; cursor: pointer; font-size: 16px; }
.emoji-pick__btn:hover { border-color: var(--red); }
.emoji-pick__panel { position: absolute; top: 40px; left: 0; z-index: 30; display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px; background: var(--bg-elev); border: 1px solid var(--line-strong); border-radius: 10px; padding: 8px; box-shadow: var(--shadow); width: 300px; max-width: calc(100vw - 40px); }
.emoji-pick__i { border: 0; background: transparent; font-size: 20px; cursor: pointer; padding: 3px; border-radius: 6px; line-height: 1; }
.emoji-pick__i:hover { background: var(--bg-elev-2); }

/* Lightweight in-page modal (replaces native prompt for pasting embed URLs) */
.az-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.az-modal[hidden] { display: none; }
.az-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.62); }
.az-modal__box { position: relative; width: 100%; max-width: 440px; background: var(--bg-elev); border: 1px solid var(--line-strong); border-radius: 14px; padding: 20px; box-shadow: var(--shadow); animation: azModalIn .14s ease; }
.az-modal__title { margin: 0 0 12px; font-weight: 700; font-size: 15px; }
.az-modal__input { width: 100%; background: var(--bg-elev-2); border: 1px solid var(--line-strong); border-radius: 10px; color: var(--text); padding: 11px 13px; font: inherit; }
.az-modal__input:focus { outline: none; border-color: var(--red); }
.az-modal__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }
@keyframes azModalIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (max-width: 560px) {
    .forum-cat { grid-template-columns: auto 1fr; }
    .forum-cat__stats { grid-column: 1 / -1; flex-direction: row; gap: 14px; text-align: left; padding-left: 62px; }
    .forum-thread-row { grid-template-columns: auto 1fr; }
    .forum-thread-row__stats { grid-column: 2 / -1; flex-direction: row; gap: 14px; text-align: left; }
    .forum-hero .btn { width: 100%; }
}

/* Header chat/messages icon (quick access to DMs) */
.header-chat { position: relative; display: inline-flex; align-items: center; justify-content: center; color: var(--text); width: 40px; height: 40px; border-radius: 10px; transition: background .15s, color .15s; }
.header-chat:hover { background: var(--bg-hover); color: var(--red-bright); }
.header-chat__dot { position: absolute; top: 3px; right: 3px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: var(--red); color: #fff; font-size: .64rem; font-weight: 700; display: flex; align-items: center; justify-content: center; line-height: 1; }
@media (max-width: 640px) { .header-chat { width: 36px; height: 36px; } }

/* ── Playlists / collections ─────────────────────────────────────────── */
.video-actions__save { position: relative; }
.plist-menu { position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; min-width: 240px; max-width: 300px; background: var(--bg-elev); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); box-shadow: 0 12px 30px rgba(0,0,0,.4); padding: 8px; max-height: 320px; overflow-y: auto; }
.plist-menu__title { font-size: .78rem; font-weight: 700; color: var(--muted); padding: 4px 6px 8px; }
.plist-menu__empty { font-size: .82rem; color: var(--muted); padding: 4px 6px; }
.plist-row { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; background: none; border: none; color: var(--text); padding: 8px 6px; border-radius: 6px; cursor: pointer; font: inherit; }
.plist-row:hover { background: var(--bg-hover); }
.plist-row__check { width: 18px; height: 18px; border: 1.5px solid var(--line-strong); border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; font-size: .7rem; flex: 0 0 auto; }
.plist-row.is-in .plist-row__check { background: var(--red); border-color: var(--red); color: #fff; }
.plist-row__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.plist-new { display: flex; gap: 6px; padding: 8px 6px 4px; border-top: 1px solid var(--line); margin-top: 4px; }
.plist-new input { flex: 1; min-width: 0; padding: 7px 9px; border-radius: 6px; border: 1px solid var(--line-strong); background: var(--bg-elev-2); color: var(--text); font: inherit; font-size: .85rem; }

.pl-create { display: flex; gap: 8px; margin-bottom: 14px; }
.pl-create input { flex: 1; min-width: 0; padding: 9px 12px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: var(--bg-elev); color: var(--text); font: inherit; }
.pl-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.pl-card__cover { position: relative; display: block; aspect-ratio: 16/9; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-elev-2); }
.pl-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.pl-card__ph { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 1.6rem; color: var(--muted); }
.pl-card__count { position: absolute; right: 6px; bottom: 6px; background: rgba(0,0,0,.75); color: #fff; font-size: .72rem; font-weight: 700; padding: 2px 7px; border-radius: 4px; }
.pl-card__body { padding: 8px 2px; }
.pl-card__title { display: block; font-weight: 600; color: var(--text); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-card__vis { font-size: .76rem; color: var(--muted); }

.pl-page__head { margin: 18px 0; }
.pl-page__head h1 { margin: 0 0 6px; }
.pl-page__meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: .88rem; }
.pl-owner { display: inline-flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; font-weight: 600; }
.pl-owner-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.pl-owner-actions .inline-form { margin: 0; }
.pl-item { position: relative; }
.pl-remove { position: absolute; top: 6px; right: 6px; margin: 0; z-index: 5; }
.pl-remove__btn { width: 26px; height: 26px; border-radius: 50%; border: none; background: rgba(0,0,0,.7); color: #fff; cursor: pointer; font-size: .8rem; line-height: 1; }
.pl-remove__btn:hover { background: var(--red); }
@media (max-width: 640px) { .pl-grid { grid-template-columns: 1fr 1fr; } .plist-menu { right: 0; left: auto; } }

/* Gentle, dismissible "confirm your e-mail" banner (never blocks the page). */
.verify-banner { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; max-width: 960px; margin: 12px auto 0; padding: 10px 14px; background: rgba(255, 170, 40, .08); border: 1px solid rgba(255, 170, 40, .28); border-radius: 10px; color: #f2e5c2; font-size: .9rem; }
.verify-banner__text { flex: 1 1 220px; }
.verify-banner__form { margin: 0; }
.verify-banner__cta { background: var(--red); color: #fff; border: none; border-radius: 7px; padding: 7px 14px; font-weight: 700; font-size: .82rem; cursor: pointer; white-space: nowrap; }
.verify-banner__cta:hover { filter: brightness(1.08); }
.verify-banner__x { background: transparent; border: none; color: #c9bb8e; font-size: 1.25rem; line-height: 1; cursor: pointer; padding: 0 4px; }
.verify-banner__x:hover { color: #fff; }
.verify-banner__hint { flex-basis: 100%; margin-top: -4px; font-size: .78rem; color: #c9bb8e; }

/* Subtitle problem report (player CC menu -> panel inside the player, also in fullscreen) */
.cc-sep{height:1px;background:rgba(255,255,255,.12);margin:4px 6px}
.cc-item--report{color:#ffcc55}
.sub-report{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:30;width:min(420px,92%);
    max-height:calc(100% - 12px);overflow:auto;background:rgba(16,16,22,.96);border:1px solid rgba(255,255,255,.14);
    border-radius:12px;padding:14px 14px 12px;box-shadow:0 10px 30px rgba(0,0,0,.5);color:#eee;font-size:14px}
.sub-report[hidden]{display:none}
.sub-report__title{margin:0 22px 10px 0;font-weight:600;line-height:1.35}
.sub-report__x{position:absolute;top:6px;right:8px;background:none;border:0;color:#aaa;font-size:22px;line-height:1;cursor:pointer;padding:4px}
.sub-report__x:hover{color:#fff}
.sub-report__opts{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.sub-report__opt{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);border-radius:9px;color:#fff;
    padding:9px 10px;font-size:13px;line-height:1.25;cursor:pointer;text-align:left}
.sub-report__opt:hover{background:rgba(230,13,28,.22);border-color:rgba(230,13,28,.5)}
.sub-report__thanks{margin:4px 0;font-weight:600;color:#5fd08a;text-align:center}
/* a phone's 16:9 player is only ~210px tall: compact 2x2 so the whole panel fits inside it */
@media (max-width:600px){.sub-report{width:calc(100% - 12px);padding:8px 9px;font-size:12.5px;border-radius:10px}
    .sub-report__title{margin:0 22px 6px 0}.sub-report__opts{gap:6px}.sub-report__opt{padding:7px 8px;font-size:12px}
    .sub-report__x{top:2px;right:4px;font-size:20px}}

/* performer page: data-driven intro under the hero */
.performer-hero__intro{margin:8px 0 0;max-width:760px;color:var(--muted,#b8b8c0);font-size:14px;line-height:1.55}
.performer-hero__intro a{color:#fff;text-decoration:underline;text-decoration-color:rgba(255,255,255,.35);text-underline-offset:2px}
.performer-hero__intro a:hover{text-decoration-color:currentColor}

/* "Install the AsianZone app" card (PWA) — bottom-floating, like the cookie bar */
.pwa-install{position:fixed;left:50%;bottom:16px;transform:translateX(-50%);z-index:900;width:min(460px,calc(100% - 24px));
    display:flex;align-items:center;gap:12px;padding:12px 40px 12px 12px;background:rgba(18,18,24,.97);
    border:1px solid rgba(255,255,255,.12);border-radius:14px;box-shadow:0 12px 34px rgba(0,0,0,.55);color:#eee;box-sizing:border-box}
.pwa-install[hidden]{display:none}
.pwa-install__icon{flex:0 0 auto;width:44px;height:44px;border-radius:11px}
.pwa-install__text{flex:1 1 auto;min-width:0}
.pwa-install__title{margin:0;font-weight:700;font-size:14px;line-height:1.3}
.pwa-install__body{margin:2px 0 0;font-size:12.5px;line-height:1.35;color:#a8a8b0}
.pwa-install__go{flex:0 0 auto;white-space:nowrap}
.pwa-install__x{position:absolute;top:4px;right:6px;background:none;border:0;color:#9a9aa2;font-size:22px;line-height:1;padding:4px 6px;cursor:pointer}
.pwa-install__x:hover{color:#fff}
@media (max-width:420px){.pwa-install{bottom:10px;gap:10px;padding:10px 34px 10px 10px}.pwa-install__icon{width:38px;height:38px}}

/* video page cast: "+ Follow" chip next to each actress */
.cast__item { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 7px; }
.cast-follow { padding: 3px 9px; border-radius: 999px; border: 1px solid var(--red); background: var(--red); color: #fff;
    font-family: inherit; font-weight: 700; font-size: 11.5px; line-height: 1.2; cursor: pointer; transition: background .15s, border-color .15s; }
.cast-follow:hover { background: var(--red-bright); border-color: var(--red-bright); }
.cast-follow.is-on { background: transparent; color: var(--muted); border-color: var(--line-strong); }
.cast-follow.is-on:hover { border-color: var(--red); color: var(--red-bright); }
.cast-follow[disabled] { opacity: .6; cursor: default; }

/* ── UI/UX round (Oct 2026) ──────────────────────────────────────────────── */
/* Phones: a tighter header + hero so the player (video page) and the first row of videos (home)
   rise toward the fold. The genre bar stays on browse pages but steps aside on the video page
   (genres are one tap away in the menu). 16px search text: iOS Safari zooms smaller inputs. */
@media (max-width: 560px) {
    .site-header__inner { padding: 6px 12px 8px; gap: 6px 8px; }
    .brand__img { height: 48px; }
    .search input { padding: 9px 16px 9px 40px; font-size: 16px; }
    .search__icon { left: 14px; }
    body:has(.video-page) .browsebar { display: none; }
    .video-page { padding-top: 10px; }
    .video-page > .breadcrumb { margin-bottom: 8px; font-size: 12px; }
    /* Featured video as one compact row (poster | title, facts, small Watch button): ~130px
       instead of a ~390px stacked block, so the video grid starts right after the ad. */
    .spotlight__inner { flex-direction: row; align-items: center; gap: 12px; padding: 12px 16px; }
    .spotlight__poster { order: -1; flex: 0 0 46%; width: 46%; height: auto; aspect-ratio: 16 / 9; }
    .spotlight__poster-play svg { width: 36px; height: 36px; }
    .spotlight__text { flex: 1 1 auto; min-width: 0; }
    .spotlight .spotlight__kicker { display: none; } /* beats fx.css, which loads after this file */
    .spotlight__title { font-size: 16px; line-height: 1.25; margin-bottom: 5px;
        display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .spotlight__meta { gap: 4px 8px; font-size: 11.5px; margin-bottom: 8px; max-height: 20px; overflow: hidden; } /* one line: code, HD, censored, length first */
    .spotlight__meta .badge { font-size: 10px; }
    .spotlight .btn--lg { padding: 7px 14px; font-size: 13px; }
    .spotlight .btn--lg svg { width: 16px; height: 16px; }
    .ad-top { margin-top: 14px; margin-bottom: 14px; }
    .section { padding-top: 20px; }
}
/* Touch screens: every tap target at least ~44px (Apple/Google guideline); small inline chips keep
   their look and get an invisible hit area instead. */
@media (pointer: coarse) {
    .hamburger { width: 44px; height: 44px; padding: 0; align-items: center; justify-content: center; }
    .lang-mini, .mobile-login, .header-chat { width: 44px; height: 44px; }
    .cast-follow { position: relative; padding: 6px 11px; }
    .cast-follow::after { content: ""; position: absolute; inset: -9px -4px; }
    .browsebar__chip { padding: 8px 14px; }
    .sortbar__item { padding: 10px 16px; }
    .pagination__page, .pagination__nav { min-width: 44px; height: 44px; }
    .search-adv__sel { padding-top: 11px; padding-bottom: 11px; }
}
/* Listing filter row (duration / quality / censorship / subtitle language). */
.list-filters { margin: -8px 0 20px; }
.list-filters__toggle { display: none; align-items: center; gap: 6px; cursor: pointer; font-family: inherit; }
.list-filters__toggle.has-active { color: #fff; border-color: var(--red); }
@media (max-width: 560px) {
    .list-filters__toggle { display: inline-flex; }
    .list-filters.is-collapsible:not(.is-open) { display: none; }
    .list-filters .search-adv__sel { min-width: 0; } /* a tidy 2×2 grid instead of long options forcing full rows */
}
/* Search: matching cast + series above the video results. */
.search-taxa { margin: 0 0 22px; }
.search-taxa__h { font-size: 15px; font-weight: 800; margin: 0 0 10px; }
.search-taxa__rail { margin-bottom: 16px; }
.search-taxa__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.search-taxa__n { color: var(--muted-dim); font-weight: 700; margin-left: 4px; }
/* "Get an alert on this device?" (Web Push offer after a follow) — bottom card, like the PWA one. */
.push-offer { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 905; width: min(440px, calc(100% - 24px));
    display: flex; align-items: flex-start; gap: 12px; padding: 14px; background: rgba(18,18,24,.97);
    border: 1px solid rgba(255,255,255,.12); border-radius: 14px; box-shadow: 0 12px 34px rgba(0,0,0,.55); color: #eee; box-sizing: border-box; }
.push-offer[hidden] { display: none; }
.push-offer__icon { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px; }
.push-offer__text { flex: 1 1 auto; min-width: 0; }
.push-offer__title { margin: 0; font-weight: 700; font-size: 14px; line-height: 1.3; }
.push-offer__body { margin: 3px 0 10px; font-size: 12.5px; line-height: 1.4; color: #a8a8b0; }
.push-offer__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.push-settings__status { margin: 8px 0 12px; font-size: 13.5px; color: var(--text); }
.push-settings__status[hidden] { display: none; }
.push-settings__actions { display: flex; gap: 8px; flex-wrap: wrap; }
/* Compact performer grid (public profile "Actresses & actors they follow", account Favorites). */
.performer-grid--compact { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 12px; margin: 4px 0 0; }
.performer-grid--compact .performer-card__name { font-size: 13px; }

/* ── Daily XP wheel: free-spin reminder pill ───────────────────────────────── */
@keyframes az-wheel-turn { to { transform: rotate(360deg); } }
.wheel-pill { position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 70; display: flex; align-items: center;
    background: linear-gradient(135deg, #2a1206, #3a0d12); border: 1px solid rgba(245,179,1,.55); border-radius: 999px;
    box-shadow: 0 10px 30px rgba(0,0,0,.55), 0 0 22px rgba(245,179,1,.18); max-width: calc(100vw - 32px); }
.wheel-pill[hidden] { display: none; }
.wheel-pill__go { display: flex; align-items: center; gap: 10px; padding: 8px 6px 8px 12px; color: #fff; text-decoration: none; min-width: 0; }
.wheel-pill__ico { flex: 0 0 auto; color: var(--star, #f5b301); animation: az-wheel-turn 6s linear infinite; }
.wheel-pill__txt { font-size: 13.5px; font-weight: 600; line-height: 1.25; }
.wheel-pill__cta { flex: 0 0 auto; background: var(--star, #f5b301); color: #1a1206; font-weight: 800; font-size: 13px; border-radius: 999px; padding: 6px 12px; }
.wheel-pill__x { flex: 0 0 auto; background: none; border: 0; color: var(--muted); font-size: 20px; line-height: 1; padding: 6px 12px 6px 6px; cursor: pointer; }
.wheel-pill__x:hover { color: #fff; }
@media (prefers-reduced-motion: reduce) { .wheel-pill__ico { animation: none; } }

/* ── Cosmetic previews (inventory, casino reel/upgrade, lootbox collection) ── */
.inv-prev { display: inline-grid; place-items: center; min-height: 54px; }
.inv-prev--frame { width: 52px; height: 52px; border-radius: 50%; background: var(--ring, #888); padding: 4px; }
.inv-prev--frame > span { display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--bg-elev-2); border: 2px solid var(--bg); }
.inv-prev--glow { filter: drop-shadow(0 0 7px rgba(255,255,255,.28)); }
.inv-prev--anim { animation: az-spin 6s linear infinite; }
@media (prefers-reduced-motion: reduce) { .inv-prev--anim { animation: none; } }
.inv-prev--title { font-weight: 800; color: var(--text); }
.rarity-common { --rc: #9aa0a8; }
.rarity-rare { --rc: #4aa3ff; }
.rarity-epic { --rc: #c9a9ff; }
.rarity-legendary { --rc: #ffc53d; }

/* ── Community: lootbox collection (#lootbox) ──────────────────────────────── */
.lb-odds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0 0 16px; }
.lb-odds__cell { padding: 12px; border-radius: 12px; background: var(--bg-elev-2); border: 1px solid var(--line); border-top: 3px solid var(--rc); text-align: center; }
.lb-odds__cell strong { display: block; font-size: 22px; color: var(--rc); }
.lb-odds__cell span { display: block; font-size: 12.5px; color: var(--muted); }
.lb-rarity-h { display: flex; align-items: baseline; gap: 10px; margin: 20px 0 10px; font-size: 16px; color: var(--rc); }
.lb-rarity-h small { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.lb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 10px; }
.lb-item { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 8px 10px; border-radius: 12px; text-align: center;
    background: var(--bg-elev-2); border: 1px solid var(--line); border-bottom: 3px solid var(--rc); }
.lb-item.rarity-legendary { background: radial-gradient(120% 80% at 50% 100%, rgba(255,197,61,.18), transparent 70%), var(--bg-elev-2); }
.lb-item.rarity-epic { background: radial-gradient(120% 80% at 50% 100%, rgba(201,169,255,.13), transparent 70%), var(--bg-elev-2); }
.lb-item__art { min-height: 58px; display: grid; place-items: center; }
.lb-item__name { font-size: 13px; font-weight: 700; color: var(--text); line-height: 1.2; }
.lb-item__type { font-size: 11px; color: var(--muted-dim); text-transform: uppercase; letter-spacing: .05em; }
.lb-item__owners { font-size: 11.5px; color: var(--muted); }
.lb-pulls { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 6px; font-size: 13.5px; }
.lb-pulls li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 8px 12px; border-radius: var(--radius-sm); background: var(--bg-elev-2); border-left: 3px solid var(--rc); }
.lb-pulls b { color: var(--rc); }
.lb-pulls time { margin-left: auto; color: var(--muted-dim); font-size: 12px; }
@media (max-width: 560px) {
    .lb-odds { grid-template-columns: repeat(2, 1fr); }
    .lb-grid { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
}

/* Lootbox found while browsing (video page, partials/loot-toast.php) */
.loot-toast { position: fixed; left: 50%; bottom: 22px; z-index: 120; transform: translateX(-50%); display: flex; align-items: center; gap: 12px;
    max-width: calc(100vw - 24px); padding: 12px 14px 12px 16px; border-radius: 14px; background: #17140c; border: 1px solid rgba(255,197,61,.55);
    box-shadow: 0 12px 34px rgba(0,0,0,.55), 0 0 26px rgba(255,197,61,.18); animation: azModalIn .35s ease-out; color: var(--text); font-size: 14px; }
.loot-toast__icon { font-size: 26px; }
.loot-toast a { white-space: nowrap; }
.loot-toast button { background: none; border: 0; color: var(--muted); font-size: 20px; cursor: pointer; padding: 0 2px; }

/* ── Profile animations (items type profile_fx, js/pfx.js) ─────────────────── */
/* A quiet ornament (Davi: "opacidade mínima… só um enfeitezinho que não incomode"): faint, and BEHIND the profile cards —
   it only shows in the gaps, never over text or buttons. */
.pfx { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; opacity: .16; }
.pubprofile { position: relative; z-index: 1; }
.pfx__p { position: absolute; top: 0; left: 0; line-height: 1; user-select: none; will-change: transform, opacity;
    opacity: .9; filter: drop-shadow(0 2px 4px rgba(0,0,0,.45)); animation-iteration-count: infinite; }
.pfx--fall { top: -70px; animation-name: pfx-fall; animation-timing-function: linear; }
.pfx--rise { top: auto; bottom: -70px; animation-name: pfx-rise; animation-timing-function: ease-in; }
.pfx--float { left: 0; animation-name: pfx-float; animation-timing-function: linear; }
.pfx--twinkle { animation-name: pfx-twinkle; animation-timing-function: ease-in-out; }
@keyframes pfx-fall {
    0% { transform: translate3d(0, 0, 0) rotate(0); }
    50% { transform: translate3d(var(--sway, 30px), 55vh, 0) rotate(calc(var(--rot, 180deg) / 2)); }
    100% { transform: translate3d(0, calc(100vh + 140px), 0) rotate(var(--rot, 180deg)); }
}
@keyframes pfx-rise {
    0% { transform: translate3d(0, 0, 0) scale(.8); opacity: 0; }
    12% { opacity: .95; }
    50% { transform: translate3d(var(--sway, 30px), -55vh, 0) scale(1); }
    88% { opacity: .9; }
    100% { transform: translate3d(0, calc(-100vh - 140px), 0) scale(1.05); opacity: 0; }
}
@keyframes pfx-float {
    0% { transform: translate3d(-14vw, 0, 0); }
    25% { transform: translate3d(22vw, -5vh, 0) rotate(-6deg); }
    50% { transform: translate3d(50vw, 4vh, 0) rotate(5deg); }
    75% { transform: translate3d(80vw, -4vh, 0) rotate(-4deg); }
    100% { transform: translate3d(114vw, 0, 0); }
}
@keyframes pfx-twinkle {
    0%, 100% { opacity: 0; transform: scale(.35) rotate(0); }
    50% { opacity: 1; transform: scale(1) rotate(18deg); }
}
@media (prefers-reduced-motion: reduce) { .pfx { display: none; } }
/* small preview (inventory, lootbox reel, collection, edit mode) */
.inv-prev--pfx { position: relative; width: 58px; height: 54px; overflow: hidden; border-radius: 10px; background: rgba(255,255,255,.05); }
.pfx-mini { position: absolute; font-size: 18px; line-height: 1; animation-iteration-count: infinite; }
.pfx-mini--0 { left: 4px; } .pfx-mini--1 { left: 22px; } .pfx-mini--2 { left: 38px; }
.is-fall .pfx-mini { top: -22px; animation: pfx-mini-fall 2.4s linear infinite; }
.is-rise .pfx-mini { bottom: -22px; animation: pfx-mini-rise 2.6s ease-in infinite; }
.is-float .pfx-mini { top: 16px; left: -24px; animation: pfx-mini-float 3.6s linear infinite; }
.is-twinkle .pfx-mini { top: 16px; animation: pfx-twinkle 1.8s ease-in-out infinite; }
.pfx-mini--1 { animation-delay: -.8s !important; } .pfx-mini--2 { animation-delay: -1.6s !important; }
.is-float .pfx-mini--1 { top: 4px; } .is-float .pfx-mini--2 { top: 30px; }
.is-twinkle .pfx-mini--1 { top: 4px; } .is-twinkle .pfx-mini--2 { top: 30px; }
@keyframes pfx-mini-fall { to { transform: translateY(80px) rotate(160deg); } }
@keyframes pfx-mini-rise { from { opacity: 0; } 20% { opacity: 1; } to { transform: translateY(-80px); opacity: 0; } }
@keyframes pfx-mini-float { to { transform: translateX(84px); } }
@media (prefers-reduced-motion: reduce) { .pfx-mini { animation: none !important; top: 16px !important; bottom: auto !important; } }

/* ── Edit mode on your own profile (profile/show.php [data-pp-dock], js/profile-edit.js) ── */
.pp-edit { margin-top: 18px; border-color: rgba(255,197,61,.35); animation: gc-in-pp .3s ease-out; position: relative; z-index: 5; }
@keyframes gc-in-pp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.pp-edit__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pp-edit__head h2 { margin: 0; font-size: 19px; }
.pp-edit__hint { color: var(--muted); font-size: 13px; margin: 6px 0 14px; }
.pp-edit__grid { display: grid; grid-template-columns: minmax(240px, 340px) 1fr; gap: 22px; align-items: start; }
.pp-edit__info { display: flex; flex-direction: column; gap: 12px; }
.pp-edit__field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: var(--muted); }
.pp-edit__field input, .pp-edit__field textarea { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-strong);
    background: var(--bg); color: var(--text); font: inherit; font-size: 14.5px; font-weight: 500; resize: vertical; }
.pp-edit__field input:focus, .pp-edit__field textarea:focus { outline: none; border-color: var(--red); }
.pp-edit__row { display: flex; flex-wrap: wrap; gap: 8px; }
.pp-edit__photo { cursor: pointer; }
.pp-edit__msg { min-height: 1.2em; margin: 0; font-size: 13px; color: var(--muted); }
.pp-edit__msg.is-ok { color: #3ecf6e; }
.pp-edit__msg.is-error { color: #ff6b6b; }
.pp-edit__tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.pp-edit__tabs button { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--bg-elev-2); color: var(--muted);
    font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.pp-edit__tabs button small { opacity: .7; font-weight: 600; }
.pp-edit__tabs button.is-on { color: #fff; border-color: var(--red); background: rgba(229,9,20,.14); }
.pp-edit__items { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 8px; max-height: 330px; overflow-y: auto; padding: 2px; }
.pp-edit__item { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 6px; border-radius: 12px; cursor: pointer;
    background: var(--bg-elev-2); border: 1px solid var(--line); border-bottom: 3px solid var(--rc, var(--line)); color: var(--text); font: inherit; text-align: center;
    transition: transform .15s, box-shadow .15s; }
.pp-edit__item:hover { transform: translateY(-2px); }
.pp-edit__item.is-on { box-shadow: 0 0 0 2px var(--red-bright); }
.pp-edit__item.is-busy { opacity: .55; pointer-events: none; }
.pp-edit__name { font-size: 12px; font-weight: 700; line-height: 1.2; }
.pp-edit__empty { color: var(--muted); font-size: 13.5px; margin: 4px 0; }
.pp-edit__more { margin: 12px 0 0; font-size: 13px; }
.pp-hero.is-updated { animation: gc-in-pp .35s ease-out; }
@media (max-width: 760px) {
    .pp-edit__grid { grid-template-columns: 1fr; }
    .pp-edit__items { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); max-height: 300px; }
}

/* Staff moderation in place (partials/mod-tools.php, partials/mod-edited.php). */
.mod-edited { display: inline-block; margin-top: 6px; font-size: 12px; font-style: italic; color: var(--muted-dim); }
.mod-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.mod-tools__del { display: inline; margin: 0; }
.mod-btn { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border: 1px dashed rgba(255,197,61,.45); border-radius: 999px;
    background: rgba(255,197,61,.06); color: #f2c661; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; text-decoration: none; }
.mod-btn:hover { background: rgba(255,197,61,.14); color: #ffd77a; }
.mod-btn--danger { border-color: rgba(255,42,55,.5); background: rgba(255,42,55,.07); color: #ff7a82; }
.mod-btn--danger:hover { background: rgba(255,42,55,.16); color: #ffa1a7; }
.mod-form { display: grid; gap: 8px; margin-top: 10px; padding: 12px; border: 1px dashed rgba(255,197,61,.4); border-radius: var(--radius-sm); background: rgba(255,197,61,.04); }
.mod-form[hidden] { display: none; }
.mod-form__label { display: grid; gap: 4px; font-size: 12px; color: var(--muted); }
.mod-form input[type=text], .mod-form textarea { width: 100%; min-width: 0; box-sizing: border-box; padding: 9px 11px; border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm); background: var(--bg); color: var(--text); font: inherit; font-size: 14px; resize: vertical; }
.mod-form__hint { font-size: 12px; color: var(--muted-dim); }
.mod-form__actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ── Hentai section (docs/DESIGN-hentai.md §7.3, §8): vertical cards, synopsis page, JAV | Hentai switch ── */
.browsebar__seg { display: inline-flex; flex-shrink: 0; border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden; }
.browsebar__seg .browsebar__link { padding: 5px 12px; color: var(--muted); }
.browsebar__seg .browsebar__link.is-on { background: var(--red-grad); color: #fff; }
.grid--v { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.card--v .card__thumb { aspect-ratio: 2 / 3; }
.card--v .card__title { font-size: 14px; }
.card__ep { position: absolute; left: 7px; bottom: 7px; font-weight: 800; font-size: 12px; padding: 2px 7px; border-radius: 6px; background: var(--red-grad); color: #fff; }
.card__kind { font-size: 11px; font-weight: 800; padding: 3px 7px; border-radius: 5px; background: rgba(255,255,255,.16); color: #fff; letter-spacing: .3px; }
.hseries { display: grid; grid-template-columns: 280px minmax(0, 1fr); grid-template-rows: auto auto auto auto 1fr; column-gap: 28px; padding: 26px 0 10px; align-items: start; }
.hseries__cover { grid-row: 1 / span 5; }
.hseries > :not(.hseries__cover) { grid-column: 2; }
.hseries__cover img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: var(--radius); background: #000; display: block; }
.hseries__ph { aspect-ratio: 2 / 3; border-radius: var(--radius); background: linear-gradient(135deg, #241016, #0e0c10); }
.hseries__title { font-size: 28px; font-weight: 800; margin: 0 0 4px; line-height: 1.2; }
.hseries__alt { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
.hseries__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; color: var(--muted); font-size: 13.5px; }
.hseries__meta > * { background: var(--bg-elev); border: 1px solid var(--line); border-radius: 999px; padding: 3px 11px; }
.hseries__meta a { color: var(--text); }
.hseries__synopsis { line-height: 1.65; color: var(--text); white-space: pre-line; margin: 0 0 16px; }
.hseries__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.hseries__preview { background: rgba(255,197,61,.12); border: 1px solid rgba(255,197,61,.35); color: var(--star); border-radius: var(--radius-sm); padding: 8px 12px; font-size: 13px; margin: 14px 0 0; }
.hep-list { display: grid; gap: 10px; }
.hep-row { display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; gap: 14px; align-items: center; background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; color: var(--text); }
.hep-row:hover { border-color: var(--red); }
.hep-row.is-current { border-color: var(--red); }
.hep-row__thumb { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-sm); overflow: hidden; background: #000; }
.hep-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
.hep-row__title { font-weight: 700; margin: 0 0 3px; }
.hep-row__sub { color: var(--muted); font-size: 12.5px; }
.hep-row__meta { display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: 12.5px; padding-right: 6px; }
.hseries-block { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; margin: 0 0 16px; }
.hseries-block img { width: 96px; height: 144px; object-fit: cover; border-radius: var(--radius-sm); background: #000; display: block; }
.hseries-block__title { font-weight: 800; font-size: 16px; margin: 0 0 6px; }
.hseries-block__syn { color: var(--muted); font-size: 13.5px; line-height: 1.55; margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hep-nav { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 16px; }
.search-kind { display: flex; gap: 8px; margin: 0 0 18px; flex-wrap: wrap; }
.vrail--v { grid-auto-columns: calc((100% - 6 * 16px) / 7); gap: 16px; }
.spotlight__poster--v { width: min(24%, 240px); aspect-ratio: 2 / 3; }
@media (max-width: 1100px) { .vrail--v { grid-auto-columns: calc((100% - 4 * 14px) / 5); gap: 14px; } }
@media (max-width: 760px) { .vrail--v { grid-auto-columns: calc((100% - 3 * 12px) / 4); gap: 12px; } }
@media (max-width: 560px) {
    .grid--v { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
    .card--v .card__body { padding: 7px 6px 8px; }
    .card--v .card__title { font-size: 12.5px; margin-bottom: 4px; }
    .card--v .card__meta { display: none; }
    .card--v .card__badges { left: 5px; top: 5px; }
    .card__ep { font-size: 11px; left: 5px; bottom: 5px; padding: 1px 5px; }
    .hseries { grid-template-columns: 120px minmax(0, 1fr); grid-template-rows: none; column-gap: 14px; padding-top: 16px; }
    .hseries__cover { grid-row: auto; }
    .hseries__title { font-size: 19px; }
    .hseries > .hseries__synopsis, .hseries > .hseries__tags, .hseries > .hseries__preview { grid-column: 1 / -1; margin-top: 12px; }
    .hep-row { grid-template-columns: 112px minmax(0, 1fr); gap: 10px; }
    .hep-row__meta { grid-column: 2; padding: 0; }
    .hseries-block { grid-template-columns: 72px minmax(0, 1fr); }
    .hseries-block img { width: 72px; height: 108px; }
    .browsebar__seg .browsebar__link { padding: 5px 10px; }
    .vrail--v { grid-auto-columns: 30%; gap: 10px; }
    .spotlight__poster.spotlight__poster--v { flex: 0 0 30%; width: 30%; aspect-ratio: 2 / 3; height: auto; }
}
