/* VexyTube — concept "trend scenarios", style A (2026-10-22).
   Dark neutrals, one pink accent, gradient on buttons only, radius 8–12px, no blur, no gradient text. */

@font-face {
    font-family: 'Golos Text';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('fonts/golos-text-latin.woff2') format('woff2');
}

:root {
    --bg: #0b0a0f;
    --surface: #131219;
    --surface-2: #1a1922;
    --line: rgba(255, 255, 255, .08);
    --line-strong: rgba(255, 255, 255, .16);
    --text: #f3f2f6;
    --muted: #a9a6b4;
    --muted-2: #8a8696;
    --accent: #ff3d9f;
    --accent-soft: rgba(255, 61, 159, .14);
    --grad: linear-gradient(135deg, #e30073 0%, #b82be6 55%, #7454ff 100%); /* white text >= 4.6:1 on every stop (WCAG AA) */
    --r: 10px;
    --r-sm: 6px;
    --r-lg: 12px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font: 15px/1.5 'Golos Text', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: #fff; }
button, input { font: inherit; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { padding: 0; margin: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
::selection { background: rgba(255, 61, 159, .35); color: #fff; }

.i { width: 18px; height: 18px; flex: 0 0 auto; }
.visually-hidden, .skip-link:not(:focus) {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 60; padding: 8px 12px; background: var(--surface-2); border-radius: var(--r-sm); }

.wrap, main { width: min(1400px, 100% - 32px); margin-inline: auto; }
@media (min-width: 900px) { .wrap, main { width: min(1400px, 100% - 64px); } }

/* ---------------------------------------------------------------- buttons */
.btn-grad {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 38px; padding: 0 18px; border: 0; border-radius: 999px;
    background: var(--grad); color: #fff; font-weight: 650; font-size: 14px; cursor: pointer;
    transition: filter .18s var(--ease), transform .18s var(--ease);
}
.btn-grad:hover { filter: brightness(.94); transform: translateY(-1px); color: #fff; }
.btn-grad .i { width: 15px; height: 15px; }
.btn-lg { height: 46px; padding: 0 24px; font-size: 15px; }

/* ---------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 40; background: #0e0d13; border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 12px 24px; min-height: 68px; flex-wrap: wrap; padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: var(--r); background: var(--grad); color: #fff; }
.logo-mark .i { width: 16px; height: 16px; margin-left: 2px; }
.wordmark { font-size: 20px; font-weight: 760; letter-spacing: -.03em; }
.wordmark span { color: var(--accent); }
.search {
    display: flex; align-items: center; gap: 6px; flex: 1 1 320px; max-width: 620px; margin-inline: auto;
    height: 46px; padding: 0 5px 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
}
.search:focus-within { border-color: var(--accent); }
.search > .i { color: var(--muted-2); }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; padding: 0 6px; font-size: 14px; }
.search input::placeholder { color: var(--muted-2); }
.search input::-webkit-search-cancel-button { display: none; }
.promo { min-width: 0; overflow-x: auto; scrollbar-width: none; }
.promo ul { display: flex; gap: 8px; white-space: nowrap; }
.promo-link {
    display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px;
    border: 1px solid rgba(255, 61, 159, .45); border-radius: 999px; background: var(--accent-soft);
    color: #fff; font-size: 13.5px; font-weight: 620;
}
.promo-link:hover { border-color: var(--accent); }
.promo-link .i { width: 16px; height: 16px; color: var(--accent); }
@media (max-width: 759px) {
    .promo { order: 1; margin-left: auto; }
    .search { order: 2; flex-basis: 100%; }
    .promo-link { height: 34px; padding: 0 11px; font-size: 13px; }
}
.main-nav { overflow-x: auto; scrollbar-width: none; }
.main-nav ul { display: flex; gap: 4px; padding-bottom: 10px; white-space: nowrap; }
.main-nav a { display: block; padding: 5px 12px; border-radius: 999px; color: var(--muted); font-size: 13.5px; font-weight: 550; }
.main-nav a:hover { background: var(--surface-2); color: #fff; }
/* offer button in the menu line (theme_offer_nav) with an animated flame */
.main-nav .nav-offer { margin-left: 6px; }
.main-nav .nav-offer a {
    display: inline-flex; align-items: center; gap: 6px; padding: 4px 13px 4px 9px;
    border: 1px solid rgba(255, 61, 159, .55); background: var(--accent-soft); color: #fff; font-weight: 650;
}
.main-nav .nav-offer a:hover { border-color: var(--accent); background: rgba(255, 61, 159, .24); }
.flame { width: 18px; height: 18px; flex: none; overflow: visible; }
.flame path { transform-box: fill-box; transform-origin: 50% 100%; }
.flame-outer { fill: #ff6a2b; animation: flame-outer 1.3s ease-in-out infinite alternate; }
.flame-inner { fill: #ffd447; animation: flame-inner .7s ease-in-out infinite alternate; }
@keyframes flame-outer {
    0% { transform: scale(1, 1) skewX(0); }
    35% { transform: scale(.96, 1.08) skewX(-3deg); fill: #ff4f3a; }
    70% { transform: scale(1.03, .95) skewX(2deg); }
    100% { transform: scale(.98, 1.05) skewX(-1deg); fill: #ff7a1f; }
}
@keyframes flame-inner {
    0% { transform: scale(.88, .9); opacity: .85; }
    100% { transform: scale(1.06, 1.12) translateY(-4%); opacity: 1; }
}
@media (max-width: 759px) { .main-nav .nav-offer { order: -1; margin-left: 0; } }

/* ---------------------------------------------------------------- page head */
main { padding: 32px 0 64px; }
.page-head { margin-bottom: 24px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0; font-size: 11px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
h1 { margin: 12px 0 8px; max-width: 960px; font-size: clamp(26px, 3.1vw, 42px); font-weight: 740; letter-spacing: -.03em; line-height: 1.1; text-wrap: balance; }
h1 .accent { color: var(--accent); }
h1 .dash { color: var(--muted-2); font-weight: 300; }
.page-head h1:first-child { margin-top: 0; }
.sub, .page-note { margin: 0; color: var(--muted); }
.page-note { font-size: 14px; }
.section-title, h2 { font-size: 20px; font-weight: 680; letter-spacing: -.02em; margin: 40px 0 16px; }
.breadcrumbs { margin-bottom: 14px; color: var(--muted-2); font-size: 13px; }
.breadcrumbs ol { display: flex; gap: 10px; }
.breadcrumbs li { flex: none; white-space: nowrap; }
.breadcrumbs li:last-child { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.breadcrumbs li + li::before { content: "›"; margin-right: 10px; }
.breadcrumbs a:hover { color: var(--text); }

/* ---------------------------------------------------------------- scenarios */
.combo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
@media (min-width: 1000px) { .combo { grid-template-columns: 280px minmax(0, 1fr); gap: 28px; } }

.rail { padding: 14px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
@media (min-width: 1000px) { .rail { position: sticky; top: 136px; } }
.rail-head { display: flex; align-items: center; justify-content: space-between; padding: 2px 6px 12px; }
.rail-label { font-size: 10.5px; font-weight: 680; letter-spacing: .15em; text-transform: uppercase; color: var(--muted-2); }
.count { padding: 1px 8px; border: 1px solid var(--line); border-radius: 999px; font-size: 11px; color: var(--muted); }
.scenario {
    position: relative; display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: center; gap: 12px;
    padding: 10px; border: 1px solid transparent; border-radius: var(--r); color: var(--muted);
}
.scenario:hover { background: var(--surface-2); color: var(--text); }
.s-ico { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); }
.s-text b { display: block; color: var(--text); font-size: 14px; font-weight: 620; line-height: 1.25; }
.s-text small { display: block; margin-top: 2px; color: var(--muted-2); font-size: 12px; line-height: 1.3; }
.scenario.is-active { border-color: rgba(255, 61, 159, .35); background: var(--accent-soft); }
.scenario.is-active::before { content: ""; position: absolute; left: -1px; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: var(--accent); }
.scenario.is-active .s-ico { border-color: transparent; background: var(--grad); color: #fff; }

/* mobile: the rail becomes a row of chips */
@media (max-width: 999px) {
    .rail { padding: 0; border: 0; background: none; }
    .rail-head { display: none; }
    .rail ul { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
    .scenario { grid-template-columns: auto auto; gap: 8px; padding: 6px 14px 6px 6px; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; background: var(--surface); }
    .s-ico { width: 30px; height: 30px; border-radius: 999px; }
    .s-ico .i { width: 15px; height: 15px; }
    .s-text small { display: none; }
    .scenario.is-active::before { display: none; }
}

.panes { min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.pane { display: flex; flex-direction: column; gap: 20px; scroll-margin-top: 140px; }
.js .pane[hidden] { display: none; }
.pane-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.pane-title { margin: 0; font-size: 15px; font-weight: 650; }
.pane-title span { margin-left: 8px; color: var(--muted-2); font-weight: 500; font-size: 13px; }
.seg { display: flex; gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.seg button { padding: 4px 14px; border: 0; border-radius: 999px; background: none; color: var(--muted); font-size: 12.5px; font-weight: 650; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--surface-2); color: #fff; }
.window { display: flex; flex-direction: column; gap: 20px; }
.window[hidden] { display: none; }

/* hero: sharp 480px thumb + blurred copy behind (filter on a static image, no backdrop blur) */
.hero {
    position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 0;
    border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(28px) saturate(1.25) brightness(.55); transform: scale(1.25); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 10, 15, .92) 0%, rgba(11, 10, 15, .6) 55%, rgba(11, 10, 15, .35) 100%); }
.hero-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-body { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 12px; padding: 22px; }
@media (min-width: 760px) {
    .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); }
    .hero-media { order: 2; margin: 22px 22px 22px 0; border-radius: var(--r); box-shadow: 0 20px 50px -24px rgba(0, 0, 0, .9); }
    .hero-body { padding: 30px; }
}
.hero-pills { display: flex; gap: 8px; margin: 0 0 auto; }
.pill { padding: 5px 11px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(11, 10, 15, .7); font-size: 11px; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: #ffa3d1; font-size: 11px; font-weight: 680; letter-spacing: .15em; text-transform: uppercase; }
.kicker::before { content: ""; width: 16px; height: 1px; background: var(--accent); }
.hero-title { margin: 0; font-size: clamp(22px, 2.6vw, 34px); font-weight: 740; letter-spacing: -.03em; line-height: 1.12; text-wrap: balance; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; color: #cfcbd9; font-size: 13px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta .i { width: 14px; height: 14px; opacity: .8; }
.hero-cta { margin: 6px 0 0; }

.support-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.support-head h3 { margin: 0; font-size: 16px; font-weight: 650; }
.support-head h3 span { margin-left: 6px; color: var(--muted-2); font-weight: 500; }
.view-all { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; white-space: nowrap; }
.view-all .i { width: 14px; height: 14px; }
.support { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .support { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .support { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.catalog-link {
    display: flex; align-items: center; gap: 14px; padding: 14px 16px;
    border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface);
}
.catalog-link:hover { border-color: var(--line-strong); }
.fb-ico, .fb-arrow { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--r); }
.fb-arrow { width: 36px; height: 36px; margin-left: auto; border-radius: 999px; color: var(--muted); }
.catalog-link:hover .fb-arrow { background: var(--grad); border-color: transparent; color: #fff; }
.fb-text b { display: block; font-weight: 620; }
.fb-text small { color: var(--muted-2); font-size: 12.5px; }

/* ---------------------------------------------------------------- cards */
.grid { display: grid; gap: 22px 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.card { min-width: 0; display: flex; flex-direction: column; gap: 9px; content-visibility: auto; contain-intrinsic-size: 260px 240px; }
.card-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface-2); }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease); }
.card:hover .card-thumb img { transform: scale(1.03); }
.chip {
    position: absolute; top: 8px; left: 8px; padding: 3px 8px; border: 1px solid var(--line-strong); border-radius: 999px;
    background: rgba(11, 10, 15, .78); font-size: 11px; font-weight: 600; color: #f1eefa;
}
.card-duration {
    position: absolute; right: 8px; bottom: 8px; padding: 2px 7px; border-radius: var(--r-sm);
    background: rgba(11, 10, 15, .86); color: #fff; font-size: 11.5px; font-weight: 650; font-variant-numeric: tabular-nums;
}
.play-mark {
    position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; display: grid; place-items: center;
    border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; background: rgba(11, 10, 15, .55); color: #fff;
    transform: translate(-50%, -50%); opacity: 0; transition: opacity .2s var(--ease);
}
.play-mark .i { width: 15px; height: 15px; margin-left: 2px; }
.card:hover .play-mark { opacity: 1; background: var(--grad); border-color: transparent; }
.card-title { margin: 0; font-size: 14.5px; font-weight: 600; line-height: 1.35; letter-spacing: -.01em; }
.card-title a { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.card-meta { display: flex; align-items: center; gap: 8px; margin: -2px 0 0; color: var(--muted-2); font-size: 12.5px; }
.dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted-2); }

/* ---------------------------------------------------------------- ads, filters, pager, tags */
/* ad slots: vxAdSlot() reserves the height, app.js fills them after the 18+ gate */
.ad { display: flex; flex-direction: column; align-items: center; gap: 12px; grid-column: 1 / -1; margin: 4px 0; }
.ad::before { content: "Advertisement"; font-size: 10px; font-weight: 600; line-height: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.ad-unit { display: flex; justify-content: center; max-width: 100%; overflow: hidden; }
.video-side .ad { margin: 0; }
@media (max-width: 759px) { .ad--wide { display: none; } }
.filters { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-bottom: 22px; }
.filter-group { display: flex; align-items: center; gap: 10px; min-width: 0; }
.filter-label { font-size: 10.5px; font-weight: 680; letter-spacing: .15em; text-transform: uppercase; color: var(--muted-2); }
.filter-group ul { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.filter-group a { display: block; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 13px; white-space: nowrap; }
.filter-group a:hover { border-color: var(--line-strong); color: #fff; }
.filter-group a[aria-current] { border-color: rgba(255, 61, 159, .5); background: var(--accent-soft); color: #fff; }

.pager { margin: 32px 0; }
.pager ul { display: flex; flex-wrap: wrap; gap: 6px; }
.pager a, .pager span { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r); font-weight: 600; font-size: 14px; }
.pager a:hover { border-color: var(--line-strong); }
.pager [aria-current] { background: var(--grad); border-color: transparent; color: #fff; }

.tag-cloud ul, .video-tags .tags-container { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a, .video-tags a { display: inline-block; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; color: var(--muted); }
.tag-cloud a:hover, .video-tags a:hover { border-color: rgba(255, 61, 159, .5); color: #fff; }
.tag-cloud p { margin-top: 14px; }
.tag-cloud p a { border: 0; padding: 0; color: var(--accent); }
.empty { padding: 24px 0; color: var(--muted); }
.empty a { color: var(--accent); }
.empty ul { margin-top: 12px; display: grid; gap: 6px; }

/* A–Z index (categories / actors) */
.az-index .letter-section, .az-index .categories-letter { margin-bottom: 22px; }
.az-index h2, .az-index strong { display: block; margin: 0 0 10px; font-size: 18px; color: var(--accent); }
.az-index ul { display: flex; flex-wrap: wrap; gap: 8px; }
/* categories hub: cover cards (covers from build-related-tags.php) */
.az-index .category-grid, .cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px 12px; }
@media (min-width: 760px) { .az-index .category-grid, .cat-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); } }
.cat-card, .az-index a.cat-card { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 0; border: 0; border-radius: 0; color: var(--text); font-size: 14px; content-visibility: auto; contain-intrinsic-size: 200px 160px; }
.az-index a.cat-card span { margin-left: 0; color: inherit; }
.cat-cover { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface-2); }
.cat-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease); }
.cat-card:hover .cat-cover img { transform: scale(1.03); }
.cat-card:hover .cat-cover { border-color: var(--line-strong); }
.cat-name { font-weight: 600; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cat-card:hover .cat-name { color: var(--accent); }
.cat-card .cat-count, .az-index a.cat-card .cat-count { margin: -4px 0 0; color: var(--muted-2); font-size: 12.5px; }

/* 404: message, search with the query taken from the URL, a way back into the catalog */
.nf { max-width: 680px; margin: 0 auto; padding: 40px 0 28px; text-align: center; }
.nf-code { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .2em; color: var(--accent); }
.nf h1 { margin: 8px 0 10px; font-size: clamp(24px, 3vw, 34px); }
.nf-lead { margin: 0 auto 22px; max-width: 520px; color: var(--muted); }
.nf-search { max-width: 560px; height: 52px; }
.nf-search input { font-size: 15px; }
.nf-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin: 18px 0 0; font-size: 14px; }
.nf-links a { color: var(--accent); }
.nf-cats { margin: 28px 0 8px; }
.nf-cats h2 { margin: 0 0 14px; font-size: 20px; }
.az-index a { display: inline-block; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 13.5px; }
.az-index a:hover { color: #fff; border-color: var(--line-strong); }
.az-index a span { margin-left: 6px; color: var(--muted-2); }
/* CMS actors list: flat <li> siblings, a letter item starts a new row */
.az-index .categories > .categories-letter { flex-basis: 100%; margin: 14px 0 0; }
.az-index .categories > .categories-letter:first-child { margin-top: 0; }

/* ---------------------------------------------------------------- video page */
.video h1 { font-size: clamp(22px, 2.4vw, 32px); }
.video-layout { display: grid; gap: 20px; }
@media (min-width: 1100px) { .video-layout.has-side { grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; } }
.video-side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.player { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r-lg); background: #000; border: 1px solid var(--line); }
.player iframe, .player video, .player-facade { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-facade { padding: 0; background: #000; cursor: pointer; }
.player-facade img { width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.player-play {
    position: absolute; top: 50%; left: 50%; width: 76px; height: 76px; display: grid; place-items: center;
    border-radius: 50%; background: var(--grad); color: #fff; font-size: 26px; transform: translate(-50%, -50%);
    box-shadow: 0 16px 40px -14px rgba(255, 61, 159, .8);
}
.video-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin: 14px 0; }
.video-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; color: var(--muted); font-size: 14px; }
.video-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.video-meta .i { width: 15px; height: 15px; opacity: .8; }
.vote { display: flex; gap: 8px; }
.vote-btn .i { width: 16px; height: 16px; }
.vote-btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); cursor: pointer; font-weight: 600; font-size: 14px; }
.vote-btn span { color: var(--muted); font-variant-numeric: tabular-nums; }
.vote-btn[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.video-desc { max-width: 75ch; color: var(--muted); }
/* up next: compact rows beside the player (desktop) or under the video (mobile) */
.up-next h2 { margin: 0 0 12px; font-size: 15px; font-weight: 650; }
.up-next ol { display: flex; flex-direction: column; gap: 12px; }
.next-item { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; align-items: start; }
.next-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface-2); }
.next-thumb img { width: 100%; height: 100%; object-fit: cover; }
.next-thumb .card-duration { right: 6px; bottom: 6px; padding: 1px 6px; font-size: 11px; }
.next-title { margin: 0; font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.next-title a { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.next-title a:hover { color: #fff; }
.next-meta { margin: 4px 0 0; color: var(--muted-2); font-size: 12px; }
.video-tags h2 { margin: 18px 0 8px; font-size: 13px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }

/* ---------------------------------------------------------------- legal */
.legal { max-width: 860px; }
.legal h2 { font-size: 18px; margin: 28px 0 10px; }
.legal p, .legal li { color: #d6d3de; }
.legal ul { list-style: disc; padding-left: 20px; }
.legal a { color: var(--accent); }

/* ---------------------------------------------------------------- footer */
.site-footer { padding: 30px 0 36px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 13px; text-align: center; }
.foot-links ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; }
.foot-links a { color: var(--muted); font-size: 14px; }
.foot-meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 16px; margin: 18px 0 6px; }
.badge-18 { padding: 1px 7px; border: 1px solid var(--accent); border-radius: var(--r-sm); color: #ff8cc6; font-size: 11px; font-weight: 700; }
.foot-note { margin: 0; }

/* ---------------------------------------------------------------- age gate */
.gate-open body { overflow: hidden; }
.age-gate { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 16px; background: rgba(5, 4, 8, .94); }
.age-gate[hidden] { display: none; }
.age-gate-box { max-width: 460px; padding: 28px; border: 1px solid var(--line-strong); border-radius: var(--r-lg); background: var(--surface); }
.age-gate-box h2 { margin: 0 0 10px; }
.age-gate-box p { color: var(--muted); }
.age-gate-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-bottom: 0; }
.age-gate button { height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--grad); color: #fff; font-weight: 650; cursor: pointer; }
.age-gate a { color: var(--muted); text-decoration: underline; }

/* ------------------------------------------------------------------ floating offer */

/* Fixed promo button (theme_offer_float) in the bottom-right corner, above the page
   (header is 40, age gate 70), inserted by app.js only after the 18+ gate.
   Animation is transform/opacity only, a "fade" periodical shine + gentle breath. */
.offer-float {
    position: fixed;
    right: 14px;
    bottom: 14px;
    z-index: 55;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 18px 10px 10px;
    border: 1px solid rgba(255, 61, 159, .7);
    border-radius: 999px;
    background: var(--grad);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 6px 22px rgba(227, 0, 115, .35);
    overflow: hidden;
    animation: offer-in .45s cubic-bezier(.22, .9, .34, 1.2) both, offer-breath 3.4s ease-in-out 1.6s infinite;
}

.offer-float-ico {
    width: 26px;
    height: 26px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
}

.offer-float-ico .i { width: 14px; height: 14px; color: #fff; }

.offer-float::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 220%;
    background: linear-gradient(100deg, rgba(255, 255, 255, 0) 44%, rgba(255, 255, 255, .35) 50%, rgba(255, 255, 255, 0) 56%);
    transform: translateX(-46%);
    animation: offer-shine 4.6s ease-in-out 2.8s infinite;
    pointer-events: none;
}

.offer-float:hover { box-shadow: 0 10px 26px rgba(227, 0, 115, .55); }

@keyframes offer-in { from { opacity: 0; transform: translateY(12px) scale(.92); } }
@keyframes offer-breath { 50% { transform: scale(1.04); } }
@keyframes offer-shine { 0%, 64%, 100% { transform: translateX(-46%); } 21% { transform: translateX(18%); } }

@media (max-width: 560px) {
    .offer-float {
        right: 10px;
        bottom: calc(10px + env(safe-area-inset-bottom, 0px));
        padding: 8px 14px 8px 8px;
        gap: 7px;
        font-size: 10.5px;
        line-height: 1.25;
    }
    .offer-float-ico { width: 22px; height: 22px; }
    .offer-float-text { max-width: 122px; white-space: normal; }
}

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