/* GENERATED by bin/build-site-theme.php from css_bundle in config/sites/javflix.php: edit the parts, then re-run. */
/* ---- tokens.css ---- */
/*
 * JavFlix design tokens (docs/DESIGN-javflix.md §4, "streaming style"; concept: docs/mockups/javflix/).
 * Namespaced --jf-* so they never collide with app.css's :root variables on a page still in compat mode or in
 * layouts/account.php (which links this file + chrome.css next to app.css). Original palette: dark canvas with a
 * crimson accent (not any streaming service's trademarked look).
 */
:root {
  --jf-bg: #0c0c10;
  --jf-bg2: #101015;
  --jf-surface: #16161c;
  --jf-raised: #1f1f27;
  --jf-raised2: #282832;
  --jf-line: rgba(255, 255, 255, .08);
  --jf-line2: rgba(255, 255, 255, .14);
  --jf-text: #f4f4f6;
  --jf-soft: #d6d6dc;
  --jf-muted: #a1a1ab;
  --jf-dim: #6e6e7a;
  --jf-accent: #e11d48;
  --jf-accent-hi: #ff4d6d;
  --jf-accent-deep: #9f1239;
  --jf-accent-bg: rgba(225, 29, 72, .16);
  --jf-ok: #22c55e;
  --jf-danger: #e5484d;

  --jf-head: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --jf-ui: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --jf-gut: 16px;          /* page gutter: 16 / 32 / 56 at phone / tablet / >=1280 */
  --jf-nav: 60px;          /* top bar height */
  --jf-tab: 60px;          /* phone bottom tab bar (plus the safe area) */
  --jf-max: 1480px;        /* video page / detail columns */
  --jf-r: 6px;
  --jf-r-lg: 12px;
  --jf-ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 768px) { :root { --jf-gut: 32px; } }
@media (min-width: 1024px) { :root { --jf-nav: 64px; } }
@media (min-width: 1280px) { :root { --jf-gut: 56px; --jf-nav: 68px; } }

/* ---- base.css ---- */
/*
 * JavFlix base: the page itself. Scoped to body.jf:not(.jf--compat) so that on a page still in compat mode the
 * legacy app.css keeps the body font / colours for the old content (the chrome styles itself, see chrome.css).
 */
html { -webkit-text-size-adjust: 100%; }
/* Third-party ad scripts append an absolutely positioned 1px div at left:-100vw to <body>; in an RTL locale that is
   a screen of horizontal scroll. Clipping on the root stops it on every v2 page, compat ones included. */
html[data-design="v2"] { overflow-x: hidden; }
[hidden] { display: none !important; }
body.jf { margin: 0; padding: 0; background: var(--jf-bg); }
body.jf:not(.jf--compat) {
  color: var(--jf-text);
  font: 400 14px/1.45 var(--jf-ui);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  color-scheme: dark;
}
body.jf:not(.jf--compat) *,
body.jf:not(.jf--compat) *::before,
body.jf:not(.jf--compat) *::after { box-sizing: border-box; }
:where(body.jf:not(.jf--compat)) :where(h1, h2, h3, h4, p, figure, dl, dd) { margin: 0; }
:where(body.jf:not(.jf--compat)) :where(img, video) { max-width: 100%; display: block; }
:where(body.jf:not(.jf--compat)) :where(a) { color: inherit; text-decoration: none; }
:where(body.jf:not(.jf--compat)) :where(button, input, select, textarea) { font: inherit; color: inherit; }
:where(body.jf:not(.jf--compat)) :where(button) { cursor: pointer; background: none; border: 0; padding: 0; }
body.jf:not(.jf--compat) ::selection { background: var(--jf-accent); color: #fff; }
body.jf :focus-visible { outline: 2px solid var(--jf-accent-hi); outline-offset: 2px; }

.jf-main { display: block; min-height: 62vh; min-width: 0; }
.jf--compat .jf-main { padding: 18px 0 8px; }
.jf--compat .az-compat > .container, .jf--compat .az-compat .container { max-width: var(--jf-max); padding-inline: var(--jf-gut); }
.jf-sr {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
  body.jf *, body.jf *::before, body.jf *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---- components.css ---- */
/*
 * GENERATED by bin/build-site-theme.php for site 'javflix' from css/app.css ('components' in
 * config/sites/javflix.php): the shared widgets the v2 templates reuse, in the site's colours. DO NOT EDIT;
 * re-run php bin/build-site-theme.php after changing the main stylesheets or that config, and commit it.
 */
: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: #e11d48;
    --red-bright: #ff4d6d;
    --red-deep: #9f1239;
    --red-grad: linear-gradient(135deg, #ff4d6d, #9f1239);
    --star: #ffc53d;
    --radius: 14px;
    --radius-sm: 9px;
    --shadow: 0 12px 34px rgba(0,0,0,.45);
    --shadow-red: 0 8px 30px rgba(225,29,72,.28);
    --maxw: 1320px;
    --header-h: 76px;
    --font: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

/* from css/app.css */
.empty { color: var(--muted); padding: 56px 0; text-align: center; font-size: 15px; }
.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(225,29,72,.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: #e60d1c; }
.btn--block { width: 100%; }
.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-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; }
.lang__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 { 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; }
.has-dropdown.open > .dropdown { display: flex; }
.has-dropdown.open > .lang__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; }
.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); }
.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; }
.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); }
.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-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; }
.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; }
.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(225,29,72,.5)); }
.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; }
}
.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; }
.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(225,29,72,.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__hint { color: var(--muted-dim); font-size: 12px; }
.field__err { color: #ff8a8a; font-size: 12.5px; font-weight: 500; }
.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; }
.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; }
}
.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; }
.muted-note { color: var(--muted); text-align: center; padding: 30px 0; }
.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; }
.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-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(225,29,72,.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; }
.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; }
.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; }
.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; }
@media (max-width: 1280px) {
    .ad-top__2 { display: none; }
}
.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; }
.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)); }
}
.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; }
.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; }
.search-fix { margin: 6px 0 0; font-size: 14px; color: var(--text); }
.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; }
.cc-sep { height: 1px; background: rgba(255,255,255,.12); margin: 4px 6px; }
.cc-item--report { color: #ffcc55; }
.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; }
}
.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; }
@media (max-width: 560px) {
    .ad-top { margin-top: 14px; margin-bottom: 14px; }
}
@media (pointer: coarse) {
    .cast-follow { position: relative; padding: 6px 11px; }
    .cast-follow::after { content: ""; position: absolute; inset: -9px -4px; }
}
.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; }

/* keyframes used above */
@keyframes az-spin {to { transform: rotate(360deg); }}

/* ---- chrome.css ---- */
/*
 * JavFlix chrome: top bar + search + menus, phone category chips, phone tab bar, footer, buttons, badges, and the
 * poster card / grid / pagination / hover preview (cards also show inside pages that are still legacy, and in
 * layouts/account.php). Self-contained (jf-* classes, own box-sizing and font) because layouts/account.php links it
 * alone with tokens.css next to app.css.
 */
.az-compat { display: block; min-width: 0; }
.jf-nav, .jf-nav *, .jf-nav *::before, .jf-nav *::after, .jf-foot, .jf-foot *, .jf-tabbar, .jf-tabbar *,
.jf-card, .jf-card *, .jf-grid, .jf-pager, .jf-pager *, .jf-pop, .jf-pop *, .jf-btn, .jf-btn * { box-sizing: border-box; }
.jf-nav, .jf-foot, .jf-tabbar, .jf-card, .jf-grid, .jf-pager, .jf-pop, .jf-btn, .jf-empty { font-family: var(--jf-ui); }
.jf-i { flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.jf-i .f, .jf-i path.f { fill: currentColor; stroke: none; }

/* ---------- buttons ---------- */
.jf-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px;
  border-radius: var(--jf-r); border: 1px solid transparent; font: 600 15px/1 var(--jf-ui); letter-spacing: .01em;
  white-space: nowrap; cursor: pointer; text-decoration: none; color: #fff; background: none;
  transition: background .15s, transform .15s, color .15s, border-color .15s;
}
.jf-btn:active { transform: scale(.97); }
.jf-btn--play { background: #fff; color: #0c0c10; }
.jf-btn--play:hover { background: #e6e6ea; color: #0c0c10; }
.jf-btn--glass {
  background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.jf-btn--glass:hover { background: rgba(255, 255, 255, .22); color: #fff; }
.jf-btn--accent { background: var(--jf-accent); color: #fff; }
.jf-btn--accent:hover { background: var(--jf-accent-hi); color: #fff; }
.jf-btn--sm { height: 34px; padding: 0 14px; font-size: 13px; }
.jf-btn .jf-i--check, .jf-act .jf-i--check { display: none; }
.jf-btn.is-on .jf-i--plus, .jf-act.is-on .jf-i--plus { display: none; }
.jf-btn.is-on .jf-i--check, .jf-act.is-on .jf-i--check { display: block; }
.jf-cbtn {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none; padding: 0;
  border: 1.5px solid rgba(255, 255, 255, .45); color: #fff; background: rgba(20, 20, 26, .55); cursor: pointer;
  transition: border-color .15s, background .15s; text-decoration: none;
}
.jf-cbtn:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }
.jf-cbtn--solid { background: #fff; border-color: #fff; color: #0c0c10; }
.jf-cbtn--solid:hover { background: #e6e6ea; color: #0c0c10; }
.jf-cbtn .jf-i--check { display: none; }
.jf-cbtn.is-on .jf-i--plus { display: none; }
.jf-cbtn.is-on .jf-i--check { display: block; }
.jf-cbtn.is-on { border-color: #fff; }

/* ---------- badges ---------- */
.jf-b {
  display: inline-flex; align-items: center; height: 20px; padding: 0 6px; border-radius: 4px;
  font: 700 10.5px/1 var(--jf-ui); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
}
.jf-b--q { border: 1px solid rgba(255, 255, 255, .4); color: #fff; height: 18px; padding: 0 4px; font-size: 10px; }
.jf-b--cc { background: rgba(255, 255, 255, .92); color: #0c0c10; }
.jf-b--unc, .jf-b--new { background: var(--jf-accent); color: #fff; }
.jf-liked { color: var(--jf-ok); font-weight: 700; }

/* ---------- top bar ---------- */
.jf-nav { position: sticky; top: 0; z-index: 60; color: var(--jf-text); pointer-events: none; }
.jf-nav > * { pointer-events: auto; }
/* The frosted background lives on a pseudo-element: a backdrop-filter on the header itself would make it the
   containing block of its position:fixed descendants. */
.jf-nav__in::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(14, 14, 19, .96); box-shadow: 0 1px 0 var(--jf-line);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); transition: opacity .3s;
}
.jf-nav--over { position: fixed; left: 0; right: 0; }
.jf-nav--over::before {
  content: ""; position: absolute; inset: 0 0 -28px 0; z-index: -2; pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 8, 11, .8), rgba(8, 8, 11, 0)); transition: opacity .3s;
}
.jf-nav--over:not(.is-solid) .jf-nav__in::before { opacity: 0; }
.jf-nav--over.is-solid::before { opacity: 0; }
.jf-nav__in {
  position: relative; z-index: 1; height: var(--jf-nav); display: flex; align-items: center; gap: 28px;
  padding: 0 var(--jf-gut); isolation: isolate;
}
.jf-logo { display: inline-flex; align-items: center; flex: none; }
.jf-logo img { display: block; height: 28px; width: auto; max-width: 150px; object-fit: contain; }
@media (min-width: 1024px) { .jf-logo img { height: 34px; max-width: 180px; } }
.jf-nav__links { display: none; gap: 22px; font-size: 14px; font-weight: 500; }
.jf-nav__links a { position: relative; color: var(--jf-soft); text-decoration: none; transition: color .15s; white-space: nowrap; }
.jf-nav__links a:hover { color: #fff; }
.jf-nav__links a.is-on { color: #fff; font-weight: 700; }
.jf-nav__links a.is-on::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; border-radius: 2px; background: var(--jf-accent);
}
.jf-nav__right { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.jf-ib {
  position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none;
  color: #e8e8ec; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: none; transition: background .15s;
}
.jf-ib:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.jf-dot {
  position: absolute; top: 4px; right: 3px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px;
  background: var(--jf-accent); color: #fff; font: 700 10px/16px var(--jf-ui); text-align: center; box-shadow: 0 0 0 2px var(--jf-bg);
}

/* search: a magnifier that opens into a box (desktop); a full-width box over the bar (phones) */
.jf-nav .jf-srch {
  display: none; position: relative; align-items: center; flex: none; max-width: none; margin: 0; height: 38px; width: 40px;
  border-radius: 999px; border: 1px solid transparent; background: none;
  transition: width .3s var(--jf-ease), background .2s, border-color .2s;
}
.jf-nav .jf-srch input {
  width: 100%; min-width: 0; height: 100%; background: none; border: 0; outline: 0; box-shadow: none; border-radius: 0;
  padding: 0 14px 0 0; color: var(--jf-text); font: 400 14px var(--jf-ui); opacity: 0; transition: opacity .2s;
}
.jf-nav .jf-srch input::placeholder { color: var(--jf-dim); }
.jf-nav .jf-srch input::-webkit-search-cancel-button { -webkit-appearance: none; }
.jf-nav .jf-srch.is-open, .jf-nav .jf-srch:focus-within { width: 300px; background: rgba(12, 12, 16, .9); border-color: var(--jf-line2); }
.jf-nav .jf-srch.is-open input, .jf-nav .jf-srch:focus-within input { opacity: 1; }
.jf-srch__go { width: 38px; height: 38px; }
.jf-srch__x { display: none; }
.jf-nav .jf-srch .search-suggest { top: calc(100% + 8px); min-width: 300px; }
.jf-navlink {
  display: none; align-items: center; gap: 6px; height: 38px; padding: 0 10px; border-radius: 999px;
  font-weight: 600; font-size: 14px; color: #e8e8ec; text-decoration: none; white-space: nowrap;
}
.jf-navlink:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.jf-pill {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border-radius: 999px;
  border: 1px solid var(--jf-line2); background: none; color: var(--jf-soft); font: 600 12px var(--jf-ui); cursor: pointer;
}
.jf-pill:hover, .has-dropdown.open > .jf-pill { border-color: rgba(255, 255, 255, .4); color: #fff; }
.jf-nav__lang { display: none; }
.jf-avatar {
  width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; margin-left: 4px; padding: 0;
  font: 800 14px var(--jf-head); color: #fff; border: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--jf-accent-hi), var(--jf-accent-deep));
}
.jf-nav .dropdown {
  top: calc(100% + 10px); background: var(--jf-surface); border: 1px solid var(--jf-line2); border-radius: 10px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .6); font-family: var(--jf-ui);
}
.jf-menu { min-width: 220px; }
.jf-menu__who { padding: 8px 13px 10px; border-bottom: 1px solid var(--jf-line); margin-bottom: 4px; font-size: 14px; color: #fff; }
.jf-nav .jf-menu a, .jf-nav .jf-menu button { color: var(--jf-soft); font-size: 14px; text-decoration: none; }
.jf-nav .jf-menu a:hover, .jf-nav .jf-menu button:hover { background: var(--jf-raised); color: #fff; }
.jf-menu form { margin: 4px 0 0; padding: 4px 0 0; border-top: 1px solid var(--jf-line); }
.jf-nav__in-btn { margin-left: 4px; }

@media (min-width: 1024px) {
  .jf-nav__links, .jf-nav .jf-srch, .jf-navlink, .jf-nav__lang { display: flex; }
  .jf-nav__m { display: none; }
}
@media (max-width: 1023.98px) {
  /* the opened search covers the bar */
  .jf-nav .jf-srch.is-open {
    display: flex; position: absolute; z-index: 3; left: var(--jf-gut); right: var(--jf-gut); top: 50%; width: auto;
    transform: translateY(-50%); height: 44px; background: var(--jf-surface); border-color: var(--jf-line2);
  }
  .jf-nav .jf-srch.is-open .jf-srch__x { display: grid; width: 40px; height: 40px; }
  .jf-nav .jf-srch .search-suggest { min-width: 0; }
}
@media (max-width: 380px) { .jf-nav__in { gap: 12px; } .jf-nav__in-btn { padding: 0 10px; } }

/* phone / tablet category chips under the bar (hidden while scrolling down) */
.jf-mchips {
  display: flex; gap: 8px; padding: 2px var(--jf-gut) 10px; overflow-x: auto; scrollbar-width: none;
  transition: transform .3s var(--jf-ease), opacity .3s;
}
.jf-mchips::-webkit-scrollbar { display: none; }
.jf-mchips a {
  flex: none; height: 32px; padding: 0 14px; border-radius: 999px; display: flex; align-items: center;
  border: 1px solid rgba(255, 255, 255, .3); background: rgba(12, 12, 16, .55); color: #fff; text-decoration: none;
  font: 600 13px var(--jf-ui); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.jf-mchips a.is-on { background: #fff; color: #0c0c10; border-color: #fff; }
.jf-nav:not(.jf-nav--over) .jf-mchips { background: linear-gradient(180deg, rgba(14, 14, 19, .96), rgba(14, 14, 19, .9)); padding-top: 6px; }
.jf-nav.is-down .jf-mchips { transform: translateY(-120%); opacity: 0; pointer-events: none; }
@media (min-width: 1024px) { .jf-mchips { display: none; } }

/* ---------- phone bottom tab bar ---------- */
.jf-tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; height: calc(var(--jf-tab) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(5, 1fr);
  background: rgba(14, 14, 19, .97); border-top: 1px solid var(--jf-line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.jf-tabbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 0;
  font: 600 10.5px/1.1 var(--jf-ui); color: var(--jf-dim); text-decoration: none;
}
.jf-tabbar a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 2px; }
.jf-tabbar a.is-on { color: #fff; }
.jf-tabbar a.is-on .jf-i { color: var(--jf-accent-hi); }
.jf-tabspace { height: calc(var(--jf-tab) + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) { .jf-tabbar, .jf-tabspace { display: none; } }
/* The shared fixed-bottom widgets (cookie bar, sign-up nudge, PWA / push offers) sit ABOVE the tab bar on phones:
   under it their buttons were unreachable (a tap on "Got it" hit the My List tab). :has() also covers the account
   layout, whose <body> has no .jf class. */
@media (max-width: 1023.98px) {
  :root:has(.jf-tabbar) .cookie-bar,
  :root:has(.jf-tabbar) .signup-nudge { bottom: calc(var(--jf-tab) + 12px + env(safe-area-inset-bottom, 0px)); }
  :root:has(.jf-tabbar) .pwa-install,
  :root:has(.jf-tabbar) .push-offer { bottom: calc(var(--jf-tab) + 10px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- footer ---------- */
.jf-foot {
  border-top: 1px solid var(--jf-line); margin-top: 32px; padding: 36px var(--jf-gut) 40px; color: var(--jf-muted);
  font-size: 13px; line-height: 1.5; background: linear-gradient(180deg, var(--jf-bg), #09090c);
}
.jf-foot__in { display: grid; gap: 20px; max-width: var(--jf-max); margin: 0 auto; }
.jf-foot__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.jf-logo--sm img { height: 24px; opacity: .92; }
.jf-foot__sel {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border: 1px solid var(--jf-line2);
  border-radius: var(--jf-r); background: none; color: var(--jf-soft); font: 600 13px var(--jf-ui); cursor: pointer;
}
.jf-foot__sel:hover { border-color: rgba(255, 255, 255, .35); color: #fff; }
.jf-foot__about { margin: 0; max-width: 72ch; }
.jf-foot__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.jf-foot__links a { color: var(--jf-muted); text-decoration: none; }
.jf-foot__links a:hover { color: #fff; }
.jf-foot__links--subs { gap: 6px 16px; font-size: 12.5px; }
.jf-foot__links--subs a { color: var(--jf-dim); }
.jf-foot__legal { margin: 0; font-size: 12px; color: var(--jf-dim); line-height: 1.6; }
.jf-foot__legal b {
  display: inline-grid; place-items: center; width: 28px; height: 20px; margin-right: 8px; border: 1px solid var(--jf-dim);
  border-radius: 4px; font-size: 10.5px; color: var(--jf-muted);
}

/* ---------- poster card ---------- */
.jf-card {
  position: relative; display: block; flex: none; color: var(--jf-text); text-decoration: none;
  width: calc((100vw - var(--jf-gut) * 2 - 8px) / 2.2); max-width: 340px;
}
@media (min-width: 600px) { .jf-card { width: calc((100vw - var(--jf-gut) * 2 - 30px) / 3.3); } }
@media (min-width: 1024px) { .jf-card { width: calc((100vw - var(--jf-gut) * 2 - 50px) / 5.15); } }
@media (min-width: 1600px) { .jf-card { width: calc((100vw - var(--jf-gut) * 2 - 60px) / 6.15); } }
.jf-card:hover { color: #fff; }
.jf-card__media {
  position: relative; display: block; aspect-ratio: 3 / 2; border-radius: var(--jf-r); overflow: hidden;
  background: linear-gradient(135deg, var(--jf-raised), #241019);
}
.jf-card__media::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.jf-card__img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .5s var(--jf-ease); }
.jf-card.is-wide .jf-card__img { object-position: 50% 50%; }
/* small portrait covers: a blurred copy behind the contained jacket, never a bad crop */
.jf-card.is-portrait .jf-card__media::before {
  content: ""; position: absolute; inset: -12px; background: var(--img) center / cover;
  filter: blur(14px) brightness(.55) saturate(1.2);
}
.jf-card.is-portrait .jf-card__img { position: relative; object-fit: contain; }
.jf-card__ph {
  position: absolute; inset: 0; display: grid; place-items: center; font: 800 22px var(--jf-head);
  color: rgba(255, 255, 255, .35); letter-spacing: .04em;
}
.jf-card__tags { position: absolute; z-index: 2; left: 6px; top: 6px; display: flex; gap: 4px; }
.jf-card__dur {
  position: absolute; z-index: 2; right: 6px; bottom: 6px; padding: 4px 6px; border-radius: 4px;
  background: rgba(10, 10, 14, .78); font: 600 11px/1 var(--jf-ui); color: #fff; font-variant-numeric: tabular-nums;
}
.jf-card__rank {
  position: absolute; z-index: 2; left: 0; top: 0; min-width: 30px; height: 26px; padding: 0 8px; display: grid;
  place-items: center; background: var(--jf-accent); color: #fff; font: 800 13px/1 var(--jf-head);
  border-radius: var(--jf-r) 0 var(--jf-r) 0; font-variant-numeric: tabular-nums;
}
.jf-card__prog { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .22); }
.jf-card__prog i { display: block; height: 100%; background: var(--jf-accent); }
.jf-card__cap { display: flex; flex-direction: column; gap: 1px; min-width: 0; padding: 8px 2px 0; }
.jf-card__code {
  font: 700 14px/1.25 var(--jf-head); letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.jf-card__sub { font-size: 12.5px; line-height: 1.35; color: var(--jf-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jf-card__sub--left { font-size: 12px; }
@media (hover: hover) and (pointer: fine) {
  .jf-card:hover .jf-card__img { transform: scale(1.04); }
}
.jf-card--tall { width: calc((100vw - var(--jf-gut) * 2 - 16px) / 2.6); max-width: 260px; }
@media (min-width: 600px) { .jf-card--tall { width: calc((100vw - var(--jf-gut) * 2 - 40px) / 4.3); } }
@media (min-width: 1024px) { .jf-card--tall { width: calc((100vw - var(--jf-gut) * 2 - 70px) / 7.2); } }
.jf-card--tall .jf-card__media { aspect-ratio: 338 / 484; }
/* the jacket front is the right-hand 338 px of a 720 px cover */
.jf-card--tall .jf-card__img { object-position: 100% 50%; }
.jf-card--tall.is-wide .jf-card__img, .jf-card--tall.is-portrait .jf-card__img { object-fit: cover; object-position: 50% 50%; }
.jf-card--tall.is-portrait .jf-card__media::before { display: none; }

/* ---------- grid + pagination + empty ---------- */
.jf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 8px; }
@media (min-width: 600px) { .jf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 10px; } }
@media (min-width: 1024px) { .jf-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* 2 / 3 / 4 / 6 columns: the pages hold 24 cards (v2 page size), so every row is full */
@media (min-width: 1280px) { .jf-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px 12px; } }
.jf-grid .jf-card { width: auto; max-width: none; }
.jf-pager { display: flex; justify-content: center; align-items: center; gap: 6px; flex-wrap: wrap; margin: 32px 0 0; }
.jf-pager__a {
  min-width: 40px; height: 40px; padding: 0 12px; border-radius: var(--jf-r); display: inline-flex; align-items: center;
  justify-content: center; gap: 4px; font: 600 14px var(--jf-ui); background: var(--jf-raised); color: var(--jf-soft); text-decoration: none;
}
a.jf-pager__a:hover { background: var(--jf-raised2); color: #fff; }
.jf-pager__a.is-on { background: var(--jf-accent); color: #fff; }
.jf-pager__gap { min-width: 24px; text-align: center; color: var(--jf-dim); }
@media (max-width: 420px) { .jf-pager__a--nav span { display: none; } }
.jf-empty { padding: 48px 16px; text-align: center; color: var(--jf-muted); font-size: 15px; }

/* ---------- hover preview (desktop, built by site.js; one floating panel over the rows) ---------- */
.jf-pop {
  position: fixed; z-index: 80; width: 360px; border-radius: 10px; overflow: hidden; background: var(--jf-surface);
  color: var(--jf-text); box-shadow: 0 24px 60px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .07);
  opacity: 0; pointer-events: none; transform: scale(.72); transition: transform .26s var(--jf-ease), opacity .2s;
}
/* Hidden = also invisible to keyboard / screen readers (visibility after the fade; site.js sets `inert` too). */
.jf-pop:not(.is-on) { visibility: hidden; transition: transform .26s var(--jf-ease), opacity .2s, visibility 0s linear .26s; }
.jf-pop.is-on { opacity: 1; transform: scale(1); pointer-events: auto; }
.jf-pop__media { position: relative; display: block; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.jf-pop__media img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.jf-pop__frames { opacity: 0; transition: opacity .35s; }
.jf-pop__media.is-playing .jf-pop__frames { opacity: 1; }
.jf-pop__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .18); }
.jf-pop__bar i { display: block; height: 100%; width: 0; background: var(--jf-accent); transition: width .8s linear; }
.jf-pop__code { position: absolute; left: 14px; bottom: 12px; font: 800 22px/1 var(--jf-head); color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .8); }
.jf-pop__body { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px 16px; }
.jf-pop__btns { display: flex; gap: 8px; align-items: center; }
.jf-pop__btns > :last-child { margin-left: auto; }
.jf-pop__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--jf-soft); }
.jf-pop__cast { font-size: 13px; font-weight: 600; color: #fff; }

/* ---- flix.css ---- */
/*
 * JavFlix pages: home hero + horizontal rows, listing / search heads, chips and filters, the video page (stage,
 * title block, actions, cast, about, scenes, side panels), ad bands. Loaded only on v2 pages (css/site.css).
 */
.jf-eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 11.5px/1 var(--jf-ui); letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.jf-eyebrow i { width: 18px; height: 3px; border-radius: 2px; background: var(--jf-accent); }
.jf-sep { display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: var(--jf-muted); flex: none; }

/* ---------- home hero ---------- */
.jf-hero { position: relative; min-height: clamp(540px, 84vh, 860px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.jf-hero__bg {
  position: absolute; inset: -40px; z-index: -3; background: var(--img) 80% 30% / cover;
  filter: blur(20px) saturate(1.3) brightness(.7); transform: scale(1.08);
}
.jf-hero__wash {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(120% 90% at 78% 40%, rgba(12, 12, 16, 0) 0%, rgba(12, 12, 16, .35) 55%, rgba(12, 12, 16, .9) 100%),
    linear-gradient(90deg, rgba(12, 12, 16, .94) 0%, rgba(12, 12, 16, .7) 34%, rgba(12, 12, 16, .12) 70%),
    linear-gradient(0deg, var(--jf-bg) 0%, rgba(12, 12, 16, 0) 34%);
}
.jf-hero__glow {
  display: none; position: absolute; z-index: -1; right: 6%; top: 18%; width: 46vw; height: 70%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(225, 29, 72, .34), rgba(225, 29, 72, 0)); filter: blur(10px);
}
.jf-hero__in {
  width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; align-items: end;
  padding: calc(var(--jf-nav) + 60px) var(--jf-gut) 34px;
}
.jf-hero__art {
  order: -1; justify-self: center; position: relative; display: block; width: min(54vw, 250px); aspect-ratio: 338 / 484;
  border-radius: 10px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .1);
}
.jf-hero__art img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 100% 50%; }
.jf-hero__art::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 38%); }
.jf-hero__copy { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; max-width: 640px; justify-self: center; min-width: 0; }
.jf-hero__title { font: 800 clamp(44px, 12vw, 104px)/.92 var(--jf-head); letter-spacing: -.03em; text-shadow: 0 6px 40px rgba(0, 0, 0, .45); overflow-wrap: anywhere; }
.jf-hero__cast { font: 600 16px/1.3 var(--jf-ui); color: #fff; }
.jf-hero__meta { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 10px; font-size: 13.5px; color: #e4e4ea; }
.jf-hero__langs { color: var(--jf-soft); }
.jf-hero__btns { display: flex; gap: 10px; width: 100%; margin-top: 6px; }
.jf-hero__btns > .jf-btn, .jf-hero__fav { flex: 1; min-width: 0; }
.jf-hero__fav { display: flex; margin: 0; }
.jf-hero__fav .jf-btn { flex: 1; }
@media (min-width: 768px) {
  .jf-hero { min-height: clamp(580px, 86vh, 880px); }
  .jf-hero__glow { display: block; }
  .jf-hero__in { grid-template-columns: minmax(0, 1fr) auto; gap: 48px; padding-bottom: 72px; }
  .jf-hero__art {
    order: 0; width: clamp(230px, 24vw, 360px); transform: perspective(1400px) rotateY(-9deg) rotateX(2deg); transform-origin: right center;
  }
  .jf-hero__copy { align-items: flex-start; text-align: left; justify-self: start; }
  .jf-hero__meta { justify-content: flex-start; }
  .jf-hero__btns { width: auto; }
  .jf-hero__btns > .jf-btn, .jf-hero__fav { flex: none; }
  .jf-hero__btns .jf-btn { height: 48px; padding: 0 28px; font-size: 16px; }
}
@media (min-width: 1280px) { .jf-hero__in { padding-right: calc(var(--jf-gut) + 3vw); } }

/* ---------- rows (horizontal carousels) ---------- */
.jf-rows { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 30px; padding: 8px 0 40px; }
.jf-rows--home { margin-top: -22px; }
.jf-rows--nohero { margin-top: 0; padding-top: 24px; }
@media (min-width: 768px) { .jf-rows--home { margin-top: -50px; } .jf-rows--nohero { margin-top: 0; } }
@media (min-width: 1024px) { .jf-rows { gap: 44px; } }
.jf-row { position: relative; }
.jf-row__hd { display: flex; align-items: baseline; gap: 12px; padding: 0 var(--jf-gut); margin-bottom: 12px; }
.jf-row__t { font: 700 18px/1.2 var(--jf-head); letter-spacing: -.005em; min-width: 0; }
@media (min-width: 1024px) { .jf-row__t { font-size: 21px; } }
.jf-row__more {
  display: inline-flex; align-items: center; gap: 2px; flex: none; font-size: 13px; font-weight: 600; color: var(--jf-accent-hi);
  transition: opacity .2s, transform .2s;
}
@media (hover: hover) and (pointer: fine) { .jf-row__more { opacity: 0; transform: translateX(-6px); } .jf-row:hover .jf-row__more, .jf-row__more:focus-visible { opacity: 1; transform: none; } }
.jf-row--cw .jf-row__t::before {
  content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin: 0 10px 3px 0;
  background: var(--jf-accent); box-shadow: 0 0 0 4px var(--jf-accent-bg);
}
.jf-bywhy { color: var(--jf-muted); font-weight: 600; }
.jf-bywhy b { color: #fff; font-weight: 700; }
.jf-row__track {
  display: flex; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--jf-gut); padding: 0 var(--jf-gut) 6px; scrollbar-width: none;
}
.jf-row__track::-webkit-scrollbar { display: none; }
.jf-row__track > * { scroll-snap-align: start; flex: none; }
@media (min-width: 768px) { .jf-row__track { gap: 10px; } }
.jf-row__arrow { display: none; }
@media (hover: hover) and (pointer: fine) and (min-width: 1024px) {
  .jf-row__arrow {
    display: grid; place-items: center; position: absolute; z-index: 4; top: 36px; bottom: 50px; width: calc(var(--jf-gut) - 6px);
    color: #fff; background: rgba(12, 12, 16, .62); opacity: 0; transition: opacity .2s, background .2s; border: 0; padding: 0; cursor: pointer;
  }
  .jf-row__arrow .jf-i { transition: transform .2s; }
  .jf-row__arrow:hover { background: rgba(12, 12, 16, .85); }
  .jf-row__arrow:hover .jf-i { transform: scale(1.2); }
  .jf-row__arrow--l { left: 0; border-radius: 0 var(--jf-r) var(--jf-r) 0; }
  .jf-row__arrow--r { right: 0; border-radius: var(--jf-r) 0 0 var(--jf-r); }
  .jf-row:hover .jf-row__arrow { opacity: 1; }
  .jf-row--actors .jf-row__arrow { top: 36px; bottom: 60px; }
}
[dir="rtl"] .jf-row__arrow .jf-i, [dir="rtl"] .jf-row__more .jf-i, [dir="rtl"] .jf-pager__a--nav .jf-i { transform: scaleX(-1); }

/* actresses row */
.jf-perf { width: 104px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; color: var(--jf-text); }
@media (min-width: 1024px) { .jf-perf { width: 136px; } }
.jf-perf__ph {
  position: relative; display: block; width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--jf-raised);
  box-shadow: 0 0 0 2px transparent; transition: box-shadow .2s, transform .2s;
}
.jf-perf__ph img, .jf-perf__ph > * { width: 100%; height: 100%; max-width: none; object-fit: cover; border-radius: 50%; }
.jf-perf__ph > span { display: grid; place-items: center; font: 800 32px var(--jf-head); color: #fff; background: linear-gradient(135deg, var(--jf-accent-deep), var(--jf-raised)); }
.jf-perf:hover .jf-perf__ph { box-shadow: 0 0 0 3px var(--jf-accent); transform: translateY(-2px); }
.jf-perf__n { font: 600 13px/1.25 var(--jf-ui); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jf-perf__c { font-size: 11.5px; color: var(--jf-muted); margin-top: -6px; }
.jf-row--sm { margin: 4px 0 18px; }

/* ---------- sections / page heads ---------- */
.jf-sect { padding: 0 var(--jf-gut); }
.jf-sect--page { padding-top: 24px; }
.jf-page .jf-sect { padding: 0; }
.jf-sect__hd { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.jf-sect__t { font: 800 24px/1.15 var(--jf-head); letter-spacing: -.01em; }
.jf-sect__t--sm { font-size: 20px; }
@media (min-width: 1024px) { .jf-sect__t { font-size: 28px; } .jf-sect__t--sm { font-size: 22px; } }
.jf-sect__pg, .jf-lh__pg { font: 600 15px var(--jf-ui); color: var(--jf-muted); letter-spacing: 0; }
.jf-sect__n { font-size: 13px; color: var(--jf-muted); }
.jf-intro { max-width: 860px; margin: 44px auto 0; padding: 0 var(--jf-gut); color: var(--jf-muted); font-size: 14px; line-height: 1.65; }
.jf-intro__h { font: 700 18px/1.3 var(--jf-head); color: var(--jf-soft); margin-bottom: 8px !important; }

.jf-page { padding: 24px var(--jf-gut) 0; max-width: 1920px; margin: 0 auto; }
.jf-lh { margin-bottom: 14px; }
.jf-lh__h { font: 800 clamp(26px, 5vw, 38px)/1.08 var(--jf-head); letter-spacing: -.015em; overflow-wrap: anywhere; }
.jf-lh__n { margin-top: 6px !important; font-size: 13.5px; color: var(--jf-muted); }
.jf-lh__sub { margin-top: 6px !important; font-size: 14px; color: var(--jf-soft); max-width: 72ch; }
.jf-phead { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px 22px; align-items: center; margin-bottom: 18px; }
.jf-phead__pic { display: block; width: 92px; height: 92px; border-radius: 50%; overflow: hidden; background: var(--jf-raised); box-shadow: 0 0 0 3px var(--jf-accent-bg); }
.jf-phead__pic > * { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.jf-phead__pic > span { display: grid; place-items: center; font: 800 36px var(--jf-head); background: linear-gradient(135deg, var(--jf-accent-deep), var(--jf-raised)); }
.jf-phead__meta { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.jf-phead__meta .jf-lh__n { margin-top: 0 !important; }
.jf-phead__bio, .jf-phead__intro { font-size: 14px; line-height: 1.6; color: var(--jf-soft); max-width: 80ch; }
.jf-phead__intro a { color: #fff; font-weight: 600; border-bottom: 1px solid var(--jf-line2); }
.jf-phead .pf-follow { margin: 6px 0 0; padding: 0 18px; height: 36px; border-radius: 999px; border: 1px solid var(--jf-accent); font: 600 13.5px var(--jf-ui); }
.jf-phead .pf-follow.is-on { background: transparent; color: var(--jf-text); border-color: var(--jf-line2); }
@media (max-width: 599.98px) { .jf-phead__bio, .jf-phead__intro { grid-column: 1 / -1; } .jf-phead { align-items: start; } }
@media (min-width: 1024px) { .jf-phead__pic { width: 120px; height: 120px; } }
.jf-seointro { max-width: 90ch; margin: 0 0 16px; color: var(--jf-muted); font-size: 14px; line-height: 1.6; }
.jf-seointro p + p { margin-top: 8px; }

/* ---------- chips + filters ---------- */
.jf-chips {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--jf-gut) * -1);
  padding: 2px var(--jf-gut) 12px; align-items: center;
}
.jf-chips::-webkit-scrollbar { display: none; }
.jf-chip {
  flex: none; height: 34px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px;
  font: 600 13px var(--jf-ui); background: var(--jf-raised); color: var(--jf-soft); border: 1px solid var(--jf-line);
  text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s;
}
.jf-chip:hover { background: var(--jf-raised2); color: #fff; }
.jf-chip.is-on { background: #fff; color: #0c0c10; border-color: #fff; }
.jf-chip .jf-b--cc { height: 16px; font-size: 9.5px; padding: 0 4px; }
.jf-chip.is-on .jf-b--cc { background: #0c0c10; color: #fff; }
.jf-chip--flt.has-active { border-color: var(--jf-accent); color: #fff; }
.jf-chip--flt b { min-width: 18px; height: 18px; border-radius: 999px; background: var(--jf-accent); color: #fff; font-size: 11px; display: grid; place-items: center; }
.jf-chip-sep { flex: none; width: 1px; height: 22px; background: var(--jf-line2); margin: 0 2px; }
.jf-chips--tabs { padding-bottom: 14px; }
.jf-fbar {
  position: sticky; top: var(--jf-nav); z-index: 20; margin: 0 calc(var(--jf-gut) * -1) 14px; padding: 8px var(--jf-gut) 0;
  background: linear-gradient(180deg, var(--jf-bg) 80%, rgba(12, 12, 16, 0));
}
.jf-fbar .jf-chips { padding-bottom: 8px; }
.jf-filters { display: none; flex-wrap: wrap; gap: 8px; align-items: center; padding: 4px 0 12px; margin: 0; }
.jf-filters.is-open { display: flex; }
.jf-sel {
  height: 38px; padding: 0 34px 0 12px; border-radius: var(--jf-r); border: 1px solid var(--jf-line2); background-color: var(--jf-surface);
  color: var(--jf-text); font: 500 13.5px var(--jf-ui); max-width: 100%; -webkit-appearance: none; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a1a1ab' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 16px;
}
.jf-sel:focus { outline: none; border-color: var(--jf-accent); }
.jf-sel option, .jf-sel optgroup { background: var(--jf-surface); color: var(--jf-text); }
.jf-filters__clear { font-size: 13px; font-weight: 600; color: var(--jf-accent-hi); padding: 0 6px; }
@media (max-width: 599.98px) { .jf-filters .jf-sel, .jf-sbox__f .jf-sel { flex: 1 1 calc(50% - 8px); } }

/* search box */
.jf-sbox { display: flex; flex-direction: column; gap: 10px; margin: 0 0 12px; }
.jf-sbox__q {
  display: flex; align-items: center; gap: 10px; max-width: 760px; height: 52px; padding: 0 6px 0 16px; border-radius: 999px;
  background: var(--jf-surface); border: 1px solid var(--jf-line2); color: var(--jf-muted); transition: border-color .15s, box-shadow .15s;
}
.jf-sbox__q:focus-within { border-color: var(--jf-accent); box-shadow: 0 0 0 3px var(--jf-accent-bg); }
.jf-sbox__q input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; color: var(--jf-text); font-size: 16px; }
.jf-sbox__q input::placeholder { color: var(--jf-dim); }
.jf-sbox__q .jf-btn { border-radius: 999px; height: 40px; }
.jf-sbox__f { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* ---------- blocks (video page + search) ---------- */
.jf-blk { margin-top: 28px; }
.jf-blk--top { margin: 4px 0 22px; }
.jf-blk__t { font: 700 17px/1.2 var(--jf-head); margin-bottom: 12px !important; }
.jf-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.jf-blk--top .jf-pills { margin-top: 0; }
.jf-pill {
  height: 32px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; font: 600 13px var(--jf-ui);
  background: var(--jf-raised); border: 1px solid var(--jf-line); color: var(--jf-soft); text-decoration: none;
}
.jf-pill:hover { background: var(--jf-raised2); color: #fff; border-color: var(--jf-line2); }
.jf-pill small { color: var(--jf-dim); font-weight: 600; }
.jf-pill--tag { background: none; color: var(--jf-muted); }

/* ---------- video page ---------- */
.jf-stage { position: relative; background: #000; overflow: hidden; isolation: isolate; }
.jf-stage__amb { display: none; }
.jf-stage .player { max-width: none; width: 100%; margin: 0; border: 0; border-radius: 0; }
@media (min-width: 1024px) {
  .jf-stage { padding: 18px var(--jf-gut) 0; background: var(--jf-bg); }
  .jf-stage__amb {
    display: block; position: absolute; inset: -80px; z-index: -1; background: var(--img) center / cover;
    filter: blur(70px) saturate(1.4) brightness(.45); opacity: .85;
  }
  .jf-stage::after { content: ""; position: absolute; inset: auto 0 0 0; height: 120px; z-index: -1; background: linear-gradient(0deg, var(--jf-bg), rgba(12, 12, 16, 0)); }
  .jf-stage .player {
    width: min(100%, calc((100vh - var(--jf-nav) - 132px) * 16 / 9)); min-width: 640px; margin: 0 auto; border-radius: var(--jf-r-lg);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .06);
  }
  .jf-stage .player:fullscreen { width: 100%; min-width: 0; border-radius: 0; }
}
.jf-vwrap {
  max-width: var(--jf-max); margin: 0 auto; padding: 18px var(--jf-gut) 0; display: grid;
  grid-template-columns: minmax(0, 1fr); gap: 28px;
}
@media (min-width: 1024px) { .jf-vwrap { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; padding-top: 26px; } }
.jf-vmain { min-width: 0; }
.jf-vt__h1 { font: 800 clamp(30px, 6vw, 46px)/1 var(--jf-head); letter-spacing: -.02em; overflow-wrap: anywhere; }
.jf-vt__cast { margin-top: 6px !important; font-size: 15px; color: var(--jf-soft); }
.jf-vt__cast a { color: #fff; font-weight: 600; }
.jf-vt__cast a:hover, .jf-vt__studio:hover { color: var(--jf-accent-hi); }
.jf-vt__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin-top: 12px; font-size: 13.5px; color: #e4e4ea; }
.jf-vt__studio { color: var(--jf-soft); font-weight: 600; }
.jf-subs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.jf-subs span {
  height: 24px; padding: 0 8px; border-radius: 5px; display: inline-flex; align-items: center; gap: 5px;
  font: 600 11.5px var(--jf-ui); background: var(--jf-raised); border: 1px solid var(--jf-line); color: var(--jf-soft);
}
.jf-subs span.is-on { background: var(--jf-accent-bg); border-color: rgba(225, 29, 72, .5); color: #fff; }
.jf-subs span b { font-weight: 800; color: var(--jf-muted); }
.jf-subs span.is-on b { color: var(--jf-accent-hi); }

/* action row: icon-over-label grid on phones, pill buttons from 768 px */
.jf-acts {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-top: 20px; padding: 6px 0;
  border-top: 1px solid var(--jf-line); border-bottom: 1px solid var(--jf-line);
}
.jf-acts__form { display: contents; }
.jf-act {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 8px 2px; min-width: 0;
  border-radius: 8px; border: 0; background: none; font: 600 11.5px/1.2 var(--jf-ui); color: var(--jf-soft); text-decoration: none; cursor: pointer; text-align: center;
}
.jf-act > span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jf-act__half b { white-space: nowrap; }
.jf-act:hover { background: var(--jf-raised); color: #fff; }
.jf-act.is-on { color: #fff; }
.jf-act.is-on .jf-i { color: var(--jf-accent-hi); }
.jf-act--rate { padding: 0; flex-direction: row; gap: 0; }
.jf-act--rate:hover { background: none; }
.jf-act__half {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; height: 100%; min-width: 0; flex: 1;
  padding: 8px 2px; border-radius: 8px; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; text-decoration: none;
}
.jf-act__half:hover { background: var(--jf-raised); color: #fff; }
.jf-act__half b { color: var(--jf-ok); font-weight: 700; }
.jf-act__half.is-on .jf-i { color: var(--jf-accent-hi); }
.jf-act__half--down { display: none; }
@media (min-width: 768px) {
  .jf-acts { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; }
  .jf-act {
    flex-direction: row; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--jf-raised);
    border: 1px solid var(--jf-line); font-size: 13.5px;
  }
  .jf-act .jf-i { width: 19px; height: 19px; }
  .jf-act:hover { background: var(--jf-raised2); }
  .jf-act.is-on { background: #fff; color: #0c0c10; border-color: #fff; }
  .jf-act.is-on .jf-i { color: var(--jf-accent); }
  .jf-act--rate { padding: 0; overflow: hidden; flex: none; }
  .jf-act--rate:hover { background: var(--jf-raised); }
  .jf-act__half { flex-direction: row; gap: 8px; padding: 0 14px; border-radius: 0; }
  .jf-act__half:hover { background: var(--jf-raised2); }
  .jf-act__half .jf-i { width: 19px; height: 19px; }
  .jf-act__half--down { display: flex; border-left: 1px solid var(--jf-line2); }
}

/* cast */
.jf-cast { display: flex; gap: 12px; flex-wrap: wrap; }
.jf-castc {
  display: flex; align-items: center; gap: 10px; padding: 7px 10px 7px 7px; border-radius: 999px; min-width: 0; max-width: 100%;
  background: var(--jf-surface); border: 1px solid var(--jf-line);
}
.jf-castc__a { display: flex; align-items: center; gap: 12px; min-width: 0; color: var(--jf-text); }
.jf-castc__a b { font: 600 14px var(--jf-ui); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jf-castc__a:hover b { color: var(--jf-accent-hi); }
.jf-castc__ph { display: block; width: 44px; height: 44px; flex: none; border-radius: 50%; overflow: hidden; background: var(--jf-raised); }
.jf-castc__ph > * { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.jf-castc__ph > span { display: grid; place-items: center; font: 800 18px var(--jf-head); background: linear-gradient(135deg, var(--jf-accent-deep), var(--jf-raised)); }
.jf-castc .cast-follow {
  flex: none; height: 30px; padding: 0 12px; border-radius: 999px; font: 600 12.5px var(--jf-ui);
  border: 1px solid var(--jf-accent); background: var(--jf-accent); color: #fff; cursor: pointer;
}
.jf-castc .cast-follow.is-on { background: transparent; border-color: var(--jf-line2); color: var(--jf-muted); }
.jf-about { color: var(--jf-soft); font-size: 15px; line-height: 1.65; max-width: 72ch; }
.jf-shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 600px) { .jf-shots { grid-template-columns: repeat(4, 1fr); } }
.jf-shots a { position: relative; display: block; border-radius: var(--jf-r); overflow: hidden; aspect-ratio: 16 / 9; background: var(--jf-raised); }
.jf-shots img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--jf-ease); }
.jf-shots a:hover img { transform: scale(1.05); }

/* side column */
.jf-side { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.jf-panel { background: var(--jf-surface); border: 1px solid var(--jf-line); border-radius: var(--jf-r-lg); padding: 18px; }
.jf-panel__t { font: 700 15px var(--jf-head); margin-bottom: 12px !important; }
.jf-dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 16px; font-size: 13.5px; }
.jf-dl dt { color: var(--jf-muted); }
.jf-dl dd { color: #fff; font-weight: 500; text-align: right; overflow-wrap: anywhere; }
.jf-dl dd a { color: var(--jf-accent-hi); font-weight: 600; }
.jf-nextl { display: flex; flex-direction: column; gap: 10px; }
.jf-nx { position: relative; display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 12px; align-items: center; border-radius: 8px; padding: 4px; margin: -4px; color: var(--jf-text); }
.jf-nx:hover { background: var(--jf-raised); }
.jf-nx__m { position: relative; display: block; aspect-ratio: 3 / 2; border-radius: 6px; overflow: hidden; background: var(--jf-raised); }
.jf-nx__m img { width: 100%; height: 100%; object-fit: cover; }
.jf-nx__m span { position: absolute; right: 4px; bottom: 4px; padding: 2px 5px; border-radius: 3px; background: rgba(10, 10, 14, .8); font: 600 10.5px var(--jf-ui); }
.jf-nx__t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.jf-nx__t b { font: 700 14px var(--jf-head); }
.jf-nx__t small { display: block; color: var(--jf-muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jf-nx__t small.jf-liked { color: var(--jf-ok); font-size: 12px; }
@media (max-width: 1023.98px) { .jf-panel--next { display: none; } }
.jf-rows--video { margin-top: 40px; padding-bottom: 8px; }
.jf-rows--video .jf-sect { max-width: 1920px; margin: 0 auto; width: 100%; }
.jf-nudge { padding: 0 var(--jf-gut); }
.jf-nudge > * { max-width: 860px; margin-inline: auto; }

/* ---------- ad bands (render nothing while ads are off) ---------- */
.jf-adband { display: flex; justify-content: center; padding: 0 var(--jf-gut); margin: 8px 0; overflow: hidden; }
.jf-adband--top { margin: 18px 0 30px; position: relative; z-index: 3; }
.jf-adband--in { padding: 0; margin: 16px 0; }
.jf-adband .ad-slot, .jf-adband .ad-top { margin: 0 auto; }
