/*
 * DivX Filme Online — visual refresh v2
 * Global presentation layer. Application behavior and user-area files are untouched.
 */

:root,
html,
body.site-theme-v1 {
  --bg: #060b16 !important;
  --bg-body: #060b16 !important;
  --bg-soft: #0a1426 !important;
  --bg-elev: #0f1d33 !important;
  --bg-elev-2: #152944 !important;
  --surface-glass: rgba(10, 20, 38, 0.82) !important;
  --primary: #4da3ff !important;
  --primary-600: #2f7fdd !important;
  --primary-700: #1f62bd !important;
  --primary-300: #91c9ff !important;
  --accent: #6bdcff !important;
  --text: #f7faff !important;
  --muted: #9bb0cc !important;
  --muted-strong: #bed0e6 !important;
  --border: #1c3658 !important;
  --border-soft: rgba(130, 173, 226, 0.14) !important;
  --ring: rgba(77, 163, 255, 0.3) !important;
  --btn-1: #142741 !important;
  --btn-2: #0c192c !important;
  --success: #4fd1a1 !important;
  --warning: #f4c66c !important;
  --danger: #ff7690 !important;
  --radius-xs: 8px !important;
  --radius-sm: 12px !important;
  --radius: 18px !important;
  --radius-lg: 24px !important;
  --shadow-sm: 0 10px 26px rgba(0, 7, 22, 0.26) !important;
  --shadow: 0 22px 55px rgba(0, 7, 22, 0.44) !important;
  --shadow-blue: 0 18px 46px rgba(34, 105, 196, 0.25) !important;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body.site-theme-v1 {
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--bg) !important;
  background-image:
    radial-gradient(900px 560px at 7% -8%, rgba(67, 143, 242, 0.18), transparent 67%),
    radial-gradient(780px 520px at 93% 4%, rgba(64, 202, 255, 0.09), transparent 70%),
    linear-gradient(180deg, #07101f 0%, #060b16 34%, #050a14 100%) !important;
  background-attachment: fixed !important;
  color: var(--text) !important;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 15px;
  line-height: 1.62;
  letter-spacing: -0.005em;
}

body.site-theme-v1::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(122, 169, 225, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 169, 225, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, #000 0, transparent 58%);
}

body.site-theme-v1 > * {
  position: relative;
  z-index: 1;
}

body.site-theme-v1 * {
  box-sizing: border-box;
}

body.site-theme-v1 img {
  max-width: 100%;
}

body.site-theme-v1 a {
  color: inherit;
  text-decoration: none;
}

body.site-theme-v1 a:hover {
  color: var(--primary-300) !important;
}

body.site-theme-v1 ::selection {
  color: #fff;
  background: rgba(77, 163, 255, 0.42);
}

body.site-theme-v1 :where(h1, h2, h3, h4, h5, h6) {
  color: var(--text) !important;
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.18;
  letter-spacing: -0.035em !important;
  text-wrap: balance;
}

body.site-theme-v1 :where(p, .subtitle, .sub, .copy) {
  text-wrap: pretty;
}

body.site-theme-v1 .container {
  width: min(100% - 32px, 1380px) !important;
  max-width: 1380px !important;
  margin-inline: auto !important;
  padding-inline: 0 !important;
}

body.site-theme-v1 main.container,
body.site-theme-v1 .site-content,
body.site-theme-v1 .page-wrap {
  min-height: 45vh;
}

body.site-theme-v1 :where(button, input, select, textarea) {
  font: inherit;
}

body.site-theme-v1 :where(button, [role="button"], summary) {
  -webkit-tap-highlight-color: transparent;
}

body.site-theme-v1 :where(a, button, input, select, textarea, summary):focus-visible {
  outline: none !important;
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 4px var(--ring) !important;
}

body.site-theme-v1 :where(input, select, textarea) {
  min-height: 46px;
  color: var(--text) !important;
  background: rgba(10, 22, 42, 0.94) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025) !important;
}

body.site-theme-v1 :where(input, select, textarea)::placeholder {
  color: #7188a6 !important;
}

body.site-theme-v1 textarea {
  line-height: 1.6;
}

/* ---------- Global site header ---------- */
body.site-theme-v1 > header.site-header {
  position: sticky !important;
  top: 0;
  z-index: 1200;
  isolation: isolate;
  margin: 0;
  background: rgba(5, 12, 25, 0.84) !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(106, 163, 225, 0.18) !important;
  box-shadow: 0 12px 36px rgba(0, 7, 21, 0.26) !important;
  backdrop-filter: blur(18px) saturate(145%) !important;
}

body.site-theme-v1 > header.site-header::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(600px 120px at 15% 0, rgba(77, 163, 255, 0.13), transparent 70%),
    linear-gradient(180deg, rgba(13, 27, 50, 0.42), rgba(4, 11, 23, 0.15));
}

body.site-theme-v1 > header.site-header::after {
  right: 0 !important;
  bottom: -1px !important;
  left: 0 !important;
  height: 1px !important;
  opacity: 0.75 !important;
  background: linear-gradient(90deg, transparent 4%, rgba(77, 163, 255, 0.7) 48%, rgba(107, 220, 255, 0.45) 63%, transparent 96%) !important;
}

body.site-theme-v1 .header-wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-block: 10px 8px;
}

body.site-theme-v1 .topbar {
  display: grid;
  grid-template-columns: auto minmax(260px, 620px) auto;
  align-items: center;
  gap: 24px;
  min-height: 58px;
}

body.site-theme-v1 .logo.brand-logo {
  display: inline-flex !important;
  align-items: center;
  justify-self: start;
  width: max-content;
  flex: 0 0 auto;
  gap: 11px !important;
  min-width: max-content;
  padding: 3px 2px;
  color: var(--text) !important;
  font-size: 20px !important;
  font-weight: 850 !important;
  line-height: 1;
  letter-spacing: -0.045em !important;
}

body.site-theme-v1 .brand-logo__mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  filter: drop-shadow(0 9px 16px rgba(35, 111, 215, 0.32));
  transition: transform 0.24s ease, filter 0.24s ease;
}

body.site-theme-v1 .brand-logo:hover .brand-logo__mark {
  transform: translateY(-1px) rotate(-2deg);
  filter: drop-shadow(0 12px 22px rgba(49, 132, 236, 0.42));
}

body.site-theme-v1 .brand-logo__copy {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  white-space: nowrap;
}

body.site-theme-v1 .brand-logo__name {
  color: #f7faff;
}

body.site-theme-v1 .brand-logo__accent {
  color: var(--primary-300);
}

body.site-theme-v1 .menu-open-btn {
  display: none;
}

body.site-theme-v1 #site-search .site-search-btn,
body.site-theme-v1 #site-search .ss-close,
body.site-theme-v1 #site-search .ss-backdrop,
body.site-theme-v1 .menu-backdrop {
  display: none;
}

body.site-theme-v1 .menu-backdrop {
  position: fixed;
  inset: 0;
}

body.site-theme-v1 #site-search {
  width: 100%;
  max-width: 620px;
  margin: 0 !important;
  justify-self: center;
}

body.site-theme-v1 #site-search .site-search-inner {
  width: 100%;
  padding: 5px !important;
  background: rgba(10, 22, 42, 0.9) !important;
  border: 1px solid rgba(111, 164, 224, 0.2) !important;
  border-radius: 15px !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 8px 22px rgba(0, 7, 22, 0.2) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

body.site-theme-v1 #site-search .site-search-inner:focus-within {
  background: rgba(12, 27, 51, 0.97) !important;
  border-color: rgba(77, 163, 255, 0.76) !important;
  box-shadow: 0 0 0 4px rgba(77, 163, 255, 0.14), 0 14px 34px rgba(0, 7, 22, 0.3) !important;
}

body.site-theme-v1 #site-search .ss-form {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 6px;
}

body.site-theme-v1 #search-input {
  width: 100%;
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 13px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  font-size: 14px !important;
}

body.site-theme-v1 .ss-submit {
  display: inline-grid !important;
  width: 42px !important;
  min-width: 42px !important;
  height: 42px !important;
  min-height: 42px !important;
  place-items: center;
  padding: 0 !important;
  color: #fff !important;
  background: linear-gradient(145deg, #55afff, #2878dc) !important;
  border: 1px solid rgba(150, 207, 255, 0.35) !important;
  border-radius: 11px !important;
  box-shadow: 0 9px 20px rgba(37, 113, 211, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}

body.site-theme-v1 .ss-submit:hover {
  color: #fff !important;
  filter: brightness(1.08);
  transform: translateY(-1px) !important;
}

body.site-theme-v1 .site-search-suggest,
body.site-theme-v1 #block-result.site-search-suggest {
  top: calc(100% + 10px) !important;
  overflow: hidden;
  max-height: min(520px, 70vh);
  padding: 7px !important;
  background: rgba(8, 18, 35, 0.98) !important;
  border: 1px solid rgba(104, 161, 224, 0.24) !important;
  border-radius: 16px !important;
  box-shadow: 0 26px 65px rgba(0, 6, 20, 0.62) !important;
  backdrop-filter: blur(18px);
}

body.site-theme-v1 :where(.site-search-suggest .s-item, #block-result .film) {
  border-radius: 11px;
  transition: background 0.16s ease, transform 0.16s ease;
}

body.site-theme-v1 :where(.site-search-suggest .s-item, #block-result .film):hover {
  background: rgba(37, 77, 126, 0.32) !important;
  transform: translateX(2px);
}

body.site-theme-v1 .account {
  float: none !important;
  justify-self: end;
}

body.site-theme-v1 .account .btn,
body.site-theme-v1 .auth-cta {
  min-height: 43px;
  padding: 10px 15px !important;
  white-space: nowrap;
}

body.site-theme-v1 .account-icon {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

body.site-theme-v1 .auth-cta {
  color: #fff !important;
  background: linear-gradient(145deg, rgba(71, 157, 247, 0.94), rgba(37, 103, 193, 0.96)) !important;
  border-color: rgba(146, 205, 255, 0.34) !important;
  box-shadow: 0 10px 24px rgba(34, 106, 198, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

body.site-theme-v1 .menubar {
  display: flex;
  justify-content: center;
  margin-top: 7px;
  padding-top: 8px;
  border-top: 1px solid rgba(112, 163, 220, 0.1);
}

body.site-theme-v1 .menubar .nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 100%;
  flex-wrap: wrap;
}

body.site-theme-v1 .btn,
body.site-theme-v1 .tab,
body.site-theme-v1 summary.btn,
body.site-theme-v1 .menu-open-btn button,
body.site-theme-v1 .site-search-btn,
body.site-theme-v1 .sidebar-close,
body.site-theme-v1 .custom-close {
  color: var(--muted-strong) !important;
  background: linear-gradient(180deg, rgba(21, 42, 70, 0.72), rgba(10, 22, 39, 0.76)) !important;
  border: 1px solid rgba(107, 160, 218, 0.18) !important;
  border-radius: 12px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035) !important;
  transition: color 0.17s ease, background 0.17s ease, border-color 0.17s ease, transform 0.17s ease, box-shadow 0.17s ease !important;
}

body.site-theme-v1 .menubar .btn,
body.site-theme-v1 .menubar summary.btn {
  min-height: 37px;
  padding: 8px 11px !important;
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  font-size: 13px;
  font-weight: 650;
}

body.site-theme-v1 :where(.btn, .tab, summary.btn):hover {
  color: #fff !important;
  background: rgba(51, 100, 157, 0.24) !important;
  border-color: rgba(94, 172, 255, 0.42) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  transform: translateY(-1px) !important;
}

body.site-theme-v1 .menubar :where(.btn.active, .btn[aria-current="page"], summary.btn.active, summary.btn[aria-current="page"]) {
  color: #fff !important;
  background: linear-gradient(180deg, rgba(77, 163, 255, 0.24), rgba(52, 113, 184, 0.13)) !important;
  border-color: rgba(77, 163, 255, 0.42) !important;
  box-shadow: inset 0 0 0 1px rgba(141, 202, 255, 0.08), 0 7px 18px rgba(23, 78, 150, 0.13) !important;
}

body.site-theme-v1 .dd-arrow {
  display: inline-grid;
  place-items: center;
  transition: transform 0.18s ease;
}

body.site-theme-v1 details[open] > summary .dd-arrow {
  transform: rotate(180deg);
}

body.site-theme-v1 .menu {
  top: calc(100% + 9px) !important;
  min-width: 230px;
  max-width: min(620px, 90vw);
  max-height: min(480px, 68vh);
  overflow: auto !important;
  padding: 7px !important;
  background: rgba(7, 17, 33, 0.98) !important;
  border: 1px solid rgba(108, 164, 226, 0.23) !important;
  border-radius: 16px !important;
  box-shadow: 0 24px 62px rgba(0, 6, 20, 0.62) !important;
  backdrop-filter: blur(18px);
}

body.site-theme-v1 .menubar details:not(:last-child) .menu {
  scrollbar-gutter: stable;
}

body.site-theme-v1 .menu a {
  display: block;
  margin: 1px 0;
  padding: 9px 11px !important;
  color: #b9cce3 !important;
  border: 0 !important;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.35;
}

body.site-theme-v1 .menu a:hover {
  color: #fff !important;
  background: rgba(57, 112, 174, 0.28) !important;
}

body.site-theme-v1 .menu a.active {
  color: #fff !important;
  background: rgba(77, 163, 255, 0.18) !important;
  border-left: 0 !important;
  box-shadow: inset 3px 0 0 var(--primary);
}

body.site-theme-v1 .menu-acc {
  right: 0;
  left: auto !important;
  min-width: 245px;
}

body.site-theme-v1 .sidebar-top {
  display: none;
}

body.site-theme-v1 .menu-backdrop {
  background: rgba(2, 7, 16, 0.72) !important;
  backdrop-filter: blur(4px);
}

/* Reset nested semantic headers so only the global header is sticky. */
body.site-theme-v1 main header,
body.site-theme-v1 .site-content header,
body.site-theme-v1 .contact-head {
  position: static !important;
  inset: auto !important;
  z-index: auto !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

body.site-theme-v1 main header::after,
body.site-theme-v1 .site-content header::after,
body.site-theme-v1 .contact-head::after {
  display: none !important;
}

/* ---------- Hero and section rhythm ---------- */
body.site-theme-v1 main.container {
  padding-top: 22px;
}

body.site-theme-v1 .page-title {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 8px 0 28px;
  padding: clamp(22px, 3.4vw, 38px) !important;
  background:
    linear-gradient(120deg, rgba(17, 39, 69, 0.92), rgba(8, 20, 39, 0.9) 58%, rgba(11, 28, 51, 0.94)),
    rgba(9, 20, 38, 0.9) !important;
  border: 1px solid rgba(103, 166, 231, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body.site-theme-v1 .page-title::before {
  position: absolute;
  z-index: -1;
  top: -150px;
  right: -90px;
  width: 390px;
  height: 390px;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(77, 163, 255, 0.24), rgba(77, 163, 255, 0.02) 56%, transparent 70%);
}

body.site-theme-v1 .page-title::after {
  position: absolute;
  z-index: -1;
  right: 38px;
  bottom: -44px;
  width: 230px;
  height: 120px;
  content: "";
  transform: rotate(-8deg);
  opacity: 0.36;
  border: 1px solid rgba(122, 198, 255, 0.32);
  border-radius: 50%;
  box-shadow: 0 0 0 22px rgba(78, 161, 255, 0.035), 0 0 0 44px rgba(78, 161, 255, 0.025);
}

body.site-theme-v1 .page-title h1 {
  max-width: 920px;
  margin: 0 0 9px !important;
  font-size: clamp(27px, 3.4vw, 47px) !important;
  font-weight: 850 !important;
}

body.site-theme-v1 .page-title .subtitle {
  max-width: 820px;
  margin-top: 0;
  color: #abc0da !important;
  font-size: clamp(14px, 1.5vw, 16px);
}

body.site-theme-v1 .home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 280px;
  padding: clamp(28px, 4vw, 52px) !important;
}

body.site-theme-v1 .home-hero__content {
  position: relative;
  z-index: 2;
  max-width: 870px;
}

body.site-theme-v1 .home-hero__eyebrow,
body.site-theme-v1 .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--primary-300);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body.site-theme-v1 .home-hero__eyebrow::before,
body.site-theme-v1 .section-kicker::before {
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(107, 220, 255, 0.1), 0 0 20px rgba(107, 220, 255, 0.5);
}

body.site-theme-v1 .home-hero__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

body.site-theme-v1 .home-hero__actions .btn {
  min-height: 45px;
  padding: 11px 17px !important;
  font-weight: 750;
}

body.site-theme-v1 .home-hero__actions .btn-primary {
  color: #fff !important;
  background: linear-gradient(145deg, #57b2ff, #2d79db) !important;
  border-color: rgba(154, 211, 255, 0.3) !important;
  box-shadow: 0 12px 28px rgba(39, 116, 211, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
}

body.site-theme-v1 .home-hero__mark {
  position: relative;
  z-index: 1;
  width: clamp(130px, 14vw, 190px);
  margin: 0 clamp(8px, 3vw, 38px);
  opacity: 0.88;
  filter: drop-shadow(0 28px 45px rgba(24, 97, 196, 0.33));
}

body.site-theme-v1 .section {
  margin: 0 0 clamp(32px, 5vw, 64px);
}

body.site-theme-v1 .section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 16px;
}

body.site-theme-v1 .section-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 8px 11px;
  color: var(--primary-300) !important;
  border: 1px solid rgba(96, 164, 232, 0.18);
  border-radius: 11px;
  background: rgba(34, 76, 126, 0.14);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

body.site-theme-v1 .section-link > span {
  font-size: 15px;
  line-height: 1;
  transition: transform 0.18s ease;
}

body.site-theme-v1 .section-link:hover {
  color: #fff !important;
  background: rgba(52, 112, 177, 0.27);
  border-color: rgba(95, 174, 255, 0.42);
  transform: translateY(-1px);
}

body.site-theme-v1 .section-link:hover > span {
  transform: translateX(2px);
}

body.site-theme-v1 .section-heading__title,
body.site-theme-v1 .cat-heading,
body.site-theme-v1 .section-title,
body.site-theme-v1 .zone-title {
  margin: 0 !important;
  color: var(--text) !important;
  font-size: clamp(20px, 2.2vw, 28px) !important;
  font-weight: 820 !important;
}

body.site-theme-v1 .cat-heading,
body.site-theme-v1 .section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 17px !important;
}

body.site-theme-v1 .cat-heading::before,
body.site-theme-v1 .section-title::before {
  width: 4px;
  height: 25px;
  flex: 0 0 4px;
  content: "";
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--primary-600));
  box-shadow: 0 0 18px rgba(77, 163, 255, 0.36);
}

/* ---------- Tabs ---------- */
body.site-theme-v1 .tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px !important;
  width: fit-content;
  margin: 0 !important;
  padding: 4px;
  background: rgba(9, 20, 38, 0.78);
  border: 1px solid rgba(103, 160, 221, 0.16);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

body.site-theme-v1 .tab {
  min-height: 37px;
  padding: 8px 13px !important;
  color: #9fb5cf !important;
  background: transparent !important;
  border-color: transparent !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  font-size: 13px;
  font-weight: 700;
}

body.site-theme-v1 :where(.tab.active, .tab[aria-current="true"], .tab[aria-pressed="true"], .tab.focuss) {
  color: #fff !important;
  background: linear-gradient(145deg, rgba(77, 163, 255, 0.31), rgba(37, 97, 174, 0.24)) !important;
  border-color: rgba(105, 183, 255, 0.34) !important;
  box-shadow: 0 7px 18px rgba(25, 82, 159, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

/* ---------- Movie and episode cards ---------- */
body.site-theme-v1 .grid {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: clamp(13px, 1.45vw, 20px) !important;
}

body.site-theme-v1 .card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  padding: 0 !important;
  text-align: left !important;
  background: linear-gradient(180deg, rgba(14, 29, 52, 0.98), rgba(8, 18, 33, 0.98)) !important;
  border: 1px solid rgba(112, 164, 220, 0.17) !important;
  border-radius: 18px !important;
  box-shadow: 0 12px 30px rgba(0, 7, 22, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.025) !important;
  transform: translateZ(0);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease !important;
}

body.site-theme-v1 .card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  height: 42%;
  pointer-events: none;
  content: "";
  opacity: 0;
  background: linear-gradient(180deg, transparent, rgba(51, 132, 224, 0.08));
  transition: opacity 0.22s ease;
}

body.site-theme-v1 .card:hover {
  z-index: 3;
  border-color: rgba(77, 163, 255, 0.55) !important;
  box-shadow: 0 24px 52px rgba(0, 7, 22, 0.48), 0 0 0 1px rgba(77, 163, 255, 0.12) !important;
  transform: translateY(-6px) !important;
}

body.site-theme-v1 .card:hover::after {
  opacity: 1;
}

body.site-theme-v1 .card .poster {
  position: relative !important;
  display: block !important;
  overflow: hidden;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 2 / 3;
  margin: 0 !important;
  background: #0a1324 !important;
  border-radius: 17px 17px 0 0;
}

body.site-theme-v1 .card .poster::before {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  content: "";
  opacity: 0;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  background: rgba(20, 85, 174, 0.82);
  box-shadow: 0 15px 35px rgba(0, 10, 30, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transform: translate(-50%, -44%) scale(0.84);
  backdrop-filter: blur(8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

body.site-theme-v1 .card .poster::after {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 6;
  width: 0;
  height: 0;
  margin-left: 2px;
  content: "";
  opacity: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid #fff;
  transform: translate(-50%, -50%) scale(0.84);
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.25));
  transition: opacity 0.22s ease, transform 0.22s ease;
}

body.site-theme-v1 .card:hover .poster::before,
body.site-theme-v1 .card:hover .poster::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

body.site-theme-v1 .card .poster > img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transform: scale(1.001);
  transition: transform 0.42s ease, filter 0.3s ease;
}

body.site-theme-v1 .card:hover .poster > img {
  filter: brightness(0.72) saturate(1.07);
  transform: scale(1.045);
}

body.site-theme-v1 .quality,
body.site-theme-v1 .status {
  top: 10px !important;
  left: 10px !important;
  z-index: 4;
  max-width: calc(100% - 20px);
  padding: 5px 8px !important;
  overflow: hidden;
  color: #fff !important;
  background: rgba(8, 21, 42, 0.78) !important;
  border: 1px solid rgba(174, 213, 255, 0.24) !important;
  border-radius: 8px !important;
  box-shadow: 0 8px 20px rgba(0, 8, 24, 0.3);
  font-size: 10px !important;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0.06em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}

body.site-theme-v1 .quality.hd,
body.site-theme-v1 .status {
  background: linear-gradient(145deg, rgba(74, 169, 255, 0.94), rgba(35, 104, 199, 0.95)) !important;
  border-color: rgba(177, 221, 255, 0.32) !important;
}

body.site-theme-v1 .quality.cam {
  color: #ffe5b0 !important;
  background: rgba(95, 55, 13, 0.85) !important;
  border-color: rgba(244, 198, 108, 0.38) !important;
}

body.site-theme-v1 .flags {
  bottom: 10px !important;
  left: 10px !important;
  z-index: 4;
  gap: 5px !important;
}

body.site-theme-v1 .flags img {
  width: 22px !important;
  height: 15px !important;
  border: 1px solid rgba(255, 255, 255, 0.32) !important;
  border-radius: 4px !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.28);
}

body.site-theme-v1 .card .meta {
  min-height: 42px;
  margin: 0;
  padding: 10px 12px 5px !important;
  color: var(--muted) !important;
  font-size: 11px !important;
}

body.site-theme-v1 .card :where(.pill, .year) {
  padding: 4px 7px !important;
  color: #9eb4d0 !important;
  background: rgba(10, 23, 43, 0.66) !important;
  border: 1px solid rgba(113, 164, 220, 0.13) !important;
  border-radius: 7px !important;
  box-shadow: none !important;
  font-size: 10px;
  font-weight: 700;
}

body.site-theme-v1 .card .title {
  display: block !important;
  width: 100%;
  max-width: none !important;
  min-height: 51px;
  margin: 0 !important;
  padding: 7px 12px 13px !important;
  color: var(--text) !important;
  font-size: 13px;
  font-weight: 730 !important;
  line-height: 1.35 !important;
  letter-spacing: -0.018em !important;
}

body.site-theme-v1 .card .title a {
  display: -webkit-box;
  overflow: hidden;
  color: #edf5ff !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.site-theme-v1 .card .title a:hover {
  color: var(--primary-300) !important;
}

body.site-theme-v1 .translation-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: calc(100% - 20px);
  padding: 5px 8px;
  color: #fff;
  background: rgba(5, 15, 30, 0.82);
  border: 1px solid rgba(153, 207, 255, 0.25);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(0, 5, 18, 0.34);
  font-size: 10px;
  font-weight: 750;
  backdrop-filter: blur(10px);
}

body.site-theme-v1 .translation-badge img {
  width: 17px !important;
  height: 12px !important;
  border-radius: 2px;
}

/* Carousel */
body.site-theme-v1 .swiper-wrap {
  position: relative;
}

body.site-theme-v1 .swiper-wrap .swiper,
body.site-theme-v1 .swiper {
  display: flex !important;
  gap: 14px !important;
  overflow-x: auto !important;
  padding: 15px !important;
  background: linear-gradient(180deg, rgba(10, 23, 43, 0.78), rgba(6, 15, 29, 0.88)) !important;
  border: 1px solid rgba(106, 162, 221, 0.15) !important;
  border-radius: 20px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025) !important;
  scroll-padding-inline: 15px;
}

body.site-theme-v1 .swiper .swiper-slide {
  flex: 0 0 auto;
  width: auto;
}

body.site-theme-v1 .swiper .slide {
  width: clamp(155px, 13vw, 188px) !important;
  min-width: clamp(155px, 13vw, 188px) !important;
}

body.site-theme-v1 #row-ep-ultimele .slide,
body.site-theme-v1 #row-ep-subtitrate .slide {
  width: clamp(160px, 13vw, 190px) !important;
  min-width: clamp(160px, 13vw, 190px) !important;
}

body.site-theme-v1 #row-ep-ultimele .poster,
body.site-theme-v1 #row-ep-subtitrate .poster {
  width: 100% !important;
  height: auto !important;
}

body.site-theme-v1 #row-ep-ultimele .title,
body.site-theme-v1 #row-ep-subtitrate .title {
  max-width: none !important;
  margin-top: 0 !important;
}

body.site-theme-v1 .nav-arrows button {
  width: 42px !important;
  height: 42px !important;
  color: #fff !important;
  background: rgba(8, 21, 41, 0.88) !important;
  border: 1px solid rgba(118, 178, 240, 0.26) !important;
  box-shadow: 0 12px 28px rgba(0, 7, 22, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(10px);
}

body.site-theme-v1 .nav-arrows button:hover {
  background: linear-gradient(145deg, #4fa8ff, #276fc8) !important;
  border-color: rgba(176, 220, 255, 0.45) !important;
}

body.site-theme-v1 .nav-arrows .prev {
  left: -11px !important;
}

body.site-theme-v1 .nav-arrows .next {
  right: -11px !important;
}

/* ---------- Shared panels, profile and user-facing pages outside /user ---------- */
body.site-theme-v1 :where(.site-wrap, .page-wrap) {
  width: min(100% - 32px, 1380px);
  max-width: 1380px;
  margin-inline: auto;
}

body.site-theme-v1 :where(.zone, .panel, .grid-panel, .profile-card, .profile-bio, .profile-stats, .card--section, .contact-zone, .i-wrapper) {
  background: linear-gradient(180deg, rgba(13, 28, 51, 0.94), rgba(7, 17, 32, 0.96)) !important;
  border: 1px solid rgba(107, 164, 224, 0.17) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.03) !important;
}

body.site-theme-v1 :where(.zone, .panel) {
  overflow: hidden;
}

body.site-theme-v1 :where(.zone-pad, .panel-pad, .card-body, .container-fluid) {
  padding: clamp(18px, 3vw, 30px) !important;
}

body.site-theme-v1 .zone-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px !important;
}

body.site-theme-v1 .profile-grid {
  gap: clamp(18px, 3vw, 30px) !important;
}

body.site-theme-v1 .profile-avatar {
  overflow: hidden;
  border: 3px solid rgba(99, 177, 255, 0.3) !important;
  border-radius: 24px !important;
  box-shadow: 0 18px 42px rgba(0, 7, 22, 0.38), 0 0 0 7px rgba(77, 163, 255, 0.07) !important;
}

body.site-theme-v1 .profile-name {
  font-size: clamp(22px, 3vw, 34px) !important;
  font-weight: 850 !important;
}

body.site-theme-v1 .stats-list {
  gap: 10px !important;
}

body.site-theme-v1 .stats-item,
body.site-theme-v1 .info-item {
  padding: 14px !important;
  background: rgba(12, 26, 47, 0.72) !important;
  border: 1px solid rgba(107, 164, 224, 0.13) !important;
  border-radius: 14px !important;
}

body.site-theme-v1 .stats-value,
body.site-theme-v1 .info-value {
  color: var(--text) !important;
  font-weight: 800;
}

body.site-theme-v1 .auth-guard .ag-wrap {
  gap: clamp(24px, 5vw, 60px) !important;
}

body.site-theme-v1 .ag-illu {
  background: radial-gradient(circle at 50% 35%, rgba(77, 163, 255, 0.23), transparent 60%) !important;
}

body.site-theme-v1 .ag-check {
  color: var(--success) !important;
  background: rgba(79, 209, 161, 0.09) !important;
  border-color: rgba(79, 209, 161, 0.2) !important;
}

body.site-theme-v1 .empty-state,
body.site-theme-v1 .empty-watchlist,
body.site-theme-v1 .empty {
  padding: clamp(30px, 6vw, 70px) !important;
  text-align: center;
  background: linear-gradient(180deg, rgba(12, 27, 49, 0.82), rgba(7, 17, 32, 0.9)) !important;
  border: 1px dashed rgba(112, 175, 238, 0.25) !important;
  border-radius: var(--radius-lg) !important;
}

body.site-theme-v1 :where(.empty-icon, .empty-state .icon) {
  color: var(--primary-300) !important;
  filter: drop-shadow(0 10px 25px rgba(48, 130, 230, 0.32));
}

/* Forms and buttons */
body.site-theme-v1 .form-control,
body.site-theme-v1 .field,
body.site-theme-v1 .contact-form input,
body.site-theme-v1 .contact-form textarea {
  padding: 11px 13px !important;
}

body.site-theme-v1 :where(label, .label) {
  color: #c7d6e9 !important;
  font-weight: 650;
}

body.site-theme-v1 .btn-primary,
body.site-theme-v1 .btn.solid,
body.site-theme-v1 .btn-submit,
body.site-theme-v1 .contact-submit,
body.site-theme-v1 .btn-filter {
  color: #fff !important;
  background: linear-gradient(145deg, #52acff, #2b76d5) !important;
  border-color: rgba(155, 211, 255, 0.3) !important;
  box-shadow: 0 10px 25px rgba(35, 107, 202, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

body.site-theme-v1 :where(.btn-primary, .btn.solid, .btn-submit, .contact-submit, .btn-filter):hover {
  color: #fff !important;
  filter: brightness(1.07);
  box-shadow: 0 14px 32px rgba(35, 107, 202, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

body.site-theme-v1 .btn-warning {
  color: #fff1c9 !important;
  background: linear-gradient(145deg, rgba(178, 122, 30, 0.78), rgba(111, 71, 16, 0.78)) !important;
  border-color: rgba(244, 198, 108, 0.34) !important;
}

body.site-theme-v1 :where(.btn-ghost, .btn.ghost) {
  color: #bbcee5 !important;
  background: rgba(13, 29, 52, 0.66) !important;
  border-color: rgba(104, 164, 226, 0.19) !important;
}

body.site-theme-v1 .drop-zone {
  background: rgba(7, 18, 35, 0.72) !important;
  border: 1px dashed rgba(98, 179, 255, 0.36) !important;
  border-radius: 18px !important;
}

body.site-theme-v1 .drop-zone:hover {
  background: rgba(38, 92, 153, 0.14) !important;
  border-color: var(--primary) !important;
}

/* ---------- Filters and pagination ---------- */
body.site-theme-v1 .is-filter,
body.site-theme-v1 .category-filter {
  margin-bottom: 24px;
}

body.site-theme-v1 .filter-flex {
  gap: 10px !important;
  padding: 12px !important;
  background: rgba(8, 19, 36, 0.82) !important;
  border: 1px solid rgba(107, 164, 224, 0.16) !important;
  border-radius: 18px !important;
}

body.site-theme-v1 .filter-flex .item-inner {
  min-height: 58px;
  padding: 9px 12px !important;
  background: rgba(14, 31, 55, 0.72) !important;
  border: 1px solid rgba(111, 166, 225, 0.14) !important;
  border-radius: 12px !important;
  transition: border-color 0.18s ease, background 0.18s ease;
}

body.site-theme-v1 .filter-flex .item-inner:hover {
  background: rgba(36, 76, 123, 0.24) !important;
  border-color: rgba(77, 163, 255, 0.45) !important;
}

body.site-theme-v1 .filter-flex .subtext {
  color: #7990ac !important;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.site-theme-v1 .filter-flex .display {
  color: #dce9f7 !important;
  font-weight: 700;
}

body.site-theme-v1 .filter-dropdown,
body.site-theme-v1 .dropdown-menu {
  color: var(--text) !important;
  background: rgba(7, 18, 35, 0.98) !important;
  border: 1px solid rgba(107, 164, 224, 0.22) !important;
  border-radius: 14px !important;
  box-shadow: 0 24px 58px rgba(0, 6, 20, 0.58) !important;
}

body.site-theme-v1 .dropdown-item {
  color: #b7cbe2 !important;
  border-radius: 9px;
}

body.site-theme-v1 .dropdown-item:hover,
body.site-theme-v1 .dropdown-item.active {
  color: #fff !important;
  background: rgba(77, 163, 255, 0.18) !important;
}

body.site-theme-v1 .pagination,
body.site-theme-v1 .pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px !important;
  margin: 30px 0 !important;
  flex-wrap: wrap;
}

body.site-theme-v1 :where(.pagination .p, .pagination a, .page-btn, .pager a, .pager button) {
  display: inline-grid;
  min-width: 40px;
  min-height: 40px;
  place-items: center;
  padding: 8px 11px !important;
  color: #b7c9df !important;
  background: rgba(12, 27, 49, 0.82) !important;
  border: 1px solid rgba(104, 163, 225, 0.17) !important;
  border-radius: 11px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025) !important;
}

body.site-theme-v1 :where(.pagination .active, .page-btn--active, .pager .active) {
  color: #fff !important;
  background: linear-gradient(145deg, #4fa8ff, #2a72cf) !important;
  border-color: rgba(157, 214, 255, 0.35) !important;
  box-shadow: 0 10px 22px rgba(34, 104, 198, 0.24) !important;
}

body.site-theme-v1 :where(.pagination .disabled, .page-btn--disabled) {
  cursor: not-allowed;
  opacity: 0.38;
}

/* ---------- Movie, series and episode detail pages ---------- */
body.site-theme-v1 .page {
  padding-bottom: 24px;
}

body.site-theme-v1 .crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 5px 0 15px;
  color: #8299b6 !important;
  font-size: 12px;
}

body.site-theme-v1 .crumbs .current {
  overflow: hidden;
  color: #b8cce3 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.site-theme-v1 .title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 17px;
}

body.site-theme-v1 .title-row h1 {
  margin: 0 !important;
  font-size: clamp(25px, 3.5vw, 43px) !important;
  font-weight: 850 !important;
}

body.site-theme-v1 .title-row .lang {
  flex: 0 0 auto;
  padding: 7px 10px !important;
  color: #c8d8ea !important;
  background: rgba(12, 28, 51, 0.76) !important;
  border: 1px solid rgba(107, 164, 224, 0.17) !important;
  border-radius: 10px !important;
}

body.site-theme-v1 .player {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  background: #02050b !important;
  border: 1px solid rgba(113, 174, 238, 0.22) !important;
  border-radius: 22px !important;
  box-shadow: 0 25px 70px rgba(0, 3, 12, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

body.site-theme-v1 .player iframe,
body.site-theme-v1 .player video {
  display: block;
  width: 100%;
  border: 0;
}

body.site-theme-v1 .film-background {
  filter: saturate(0.9) brightness(0.72);
}

body.site-theme-v1 .play-circle {
  color: #fff !important;
  background: linear-gradient(145deg, rgba(83, 178, 255, 0.95), rgba(37, 104, 201, 0.96)) !important;
  border: 1px solid rgba(183, 222, 255, 0.38) !important;
  box-shadow: 0 20px 50px rgba(21, 84, 177, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

body.site-theme-v1 .server-tabs {
  display: flex;
  gap: 8px;
  margin: 12px 0;
  padding: 9px !important;
  background: rgba(8, 19, 36, 0.84) !important;
  border: 1px solid rgba(107, 164, 224, 0.14) !important;
  border-radius: 15px !important;
  flex-wrap: wrap;
}

body.site-theme-v1 .server-tabs .playable,
body.site-theme-v1 .server-tabs button,
body.site-theme-v1 .server-tabs a {
  min-height: 38px;
  padding: 8px 12px !important;
  color: #b9cde3 !important;
  background: rgba(15, 33, 59, 0.75) !important;
  border: 1px solid rgba(107, 164, 224, 0.14) !important;
  border-radius: 10px !important;
}

body.site-theme-v1 .server-tabs .active,
body.site-theme-v1 .server-tabs .focuss {
  color: #fff !important;
  background: rgba(77, 163, 255, 0.22) !important;
  border-color: rgba(77, 163, 255, 0.47) !important;
}

body.site-theme-v1 .page > .actions,
body.site-theme-v1 .page .actions {
  gap: 8px !important;
  margin: 14px 0 !important;
  flex-wrap: wrap;
}

body.site-theme-v1 .page .actions .btn {
  min-height: 42px;
  padding: 9px 13px !important;
  font-size: 12px;
  font-weight: 700;
}

body.site-theme-v1 .share-wrapper {
  margin: 14px 0;
  padding: 12px !important;
  background: rgba(8, 20, 38, 0.72) !important;
  border: 1px solid rgba(107, 164, 224, 0.13) !important;
  border-radius: 14px !important;
}

body.site-theme-v1 .details {
  margin-top: 20px;
  padding: clamp(18px, 3vw, 30px) !important;
  background: linear-gradient(180deg, rgba(13, 29, 52, 0.94), rgba(7, 17, 32, 0.96)) !important;
  border: 1px solid rgba(107, 164, 224, 0.17) !important;
  border-radius: 22px !important;
  box-shadow: var(--shadow-sm) !important;
}

body.site-theme-v1 .details-grid {
  display: grid !important;
  grid-template-columns: minmax(180px, 245px) minmax(0, 1fr) !important;
  gap: clamp(20px, 3.4vw, 38px) !important;
}

body.site-theme-v1 .details-grid > .poster {
  overflow: hidden;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 2 / 3;
  margin: 0 !important;
  border: 1px solid rgba(112, 172, 235, 0.2) !important;
  border-radius: 18px !important;
  box-shadow: 0 20px 42px rgba(0, 6, 20, 0.43) !important;
}

body.site-theme-v1 .details-grid > .poster img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

body.site-theme-v1 .details-body {
  min-width: 0;
}

body.site-theme-v1 .film-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 7px 10px !important;
  color: #ffe6a8 !important;
  background: rgba(120, 80, 14, 0.2) !important;
  border: 1px solid rgba(244, 198, 108, 0.28) !important;
  border-radius: 10px !important;
}

body.site-theme-v1 .chips {
  display: flex;
  gap: 7px !important;
  flex-wrap: wrap;
  margin: 12px 0 !important;
}

body.site-theme-v1 .chip {
  padding: 6px 9px !important;
  color: #aac0d9 !important;
  background: rgba(13, 31, 56, 0.72) !important;
  border: 1px solid rgba(107, 164, 224, 0.15) !important;
  border-radius: 9px !important;
  font-size: 11px;
  font-weight: 650;
}

body.site-theme-v1 .details-body > p,
body.site-theme-v1 .details-body .overview {
  color: #a8bdd5 !important;
  font-size: 14px;
  line-height: 1.75;
}

body.site-theme-v1 .actors {
  gap: 9px !important;
}

body.site-theme-v1 .actors a,
body.site-theme-v1 .actors span {
  color: #c6d7e9 !important;
}

body.site-theme-v1 .season-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 30px;
}

body.site-theme-v1 .season-tabs {
  margin: 12px 0 18px !important;
}

body.site-theme-v1 .eps-grid,
body.site-theme-v1 .sim-grid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

body.site-theme-v1 .comments {
  margin-top: 28px;
  padding: clamp(18px, 3vw, 28px) !important;
  background: linear-gradient(180deg, rgba(12, 27, 49, 0.9), rgba(7, 17, 32, 0.94)) !important;
  border: 1px solid rgba(107, 164, 224, 0.15) !important;
  border-radius: 20px !important;
}

body.site-theme-v1 .c-item {
  margin-top: 12px;
  padding: 14px !important;
  background: rgba(11, 25, 46, 0.72) !important;
  border: 1px solid rgba(107, 164, 224, 0.12) !important;
  border-radius: 14px !important;
}

body.site-theme-v1 .c-avatar {
  border: 2px solid rgba(77, 163, 255, 0.25) !important;
  border-radius: 50% !important;
}

body.site-theme-v1 .progress {
  overflow: hidden;
  height: 11px !important;
  background: rgba(6, 16, 31, 0.9) !important;
  border: 1px solid rgba(107, 164, 224, 0.15) !important;
  border-radius: 999px !important;
}

body.site-theme-v1 .progress-bar {
  background: linear-gradient(90deg, var(--primary-600), var(--accent)) !important;
  box-shadow: 0 0 18px rgba(77, 163, 255, 0.35);
}

/* ---------- Contact, legal content and tables ---------- */
body.site-theme-v1 .contact-zone {
  margin: 28px 0;
}

body.site-theme-v1 .contact-head {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 22px;
}

body.site-theme-v1 .contact-icon {
  width: 48px !important;
  height: 48px !important;
  color: #fff;
  background: linear-gradient(145deg, rgba(77, 163, 255, 0.3), rgba(42, 107, 190, 0.16)) !important;
  border: 1px solid rgba(106, 183, 255, 0.28) !important;
  border-radius: 14px !important;
  box-shadow: 0 12px 24px rgba(27, 90, 174, 0.16);
}

body.site-theme-v1 .contact-icon svg {
  fill: currentColor !important;
}

body.site-theme-v1 .contact-title {
  font-size: clamp(23px, 3vw, 34px) !important;
}

body.site-theme-v1 .contact-form {
  gap: 16px !important;
}

body.site-theme-v1 .prose,
body.site-theme-v1 .legal-content {
  color: #a9bdd5 !important;
}

body.site-theme-v1 .prose :where(h2, h3, h4),
body.site-theme-v1 .legal-content :where(h2, h3, h4) {
  margin-top: 1.7em;
  color: var(--text) !important;
}

body.site-theme-v1 .prose a,
body.site-theme-v1 .legal-content a {
  color: var(--primary-300) !important;
}

body.site-theme-v1 table {
  overflow: hidden;
  color: #c6d7e9 !important;
  background: rgba(8, 19, 36, 0.78) !important;
  border-color: rgba(107, 164, 224, 0.14) !important;
  border-radius: 14px;
}

body.site-theme-v1 table th {
  color: #edf5ff !important;
  background: rgba(17, 37, 65, 0.94) !important;
}

body.site-theme-v1 table td,
body.site-theme-v1 table th {
  border-color: rgba(107, 164, 224, 0.12) !important;
}

/* ---------- Authentication modal and utility overlays ---------- */
body.site-theme-v1 .custom-modal .custom-modal__box,
body.site-theme-v1 .modal-content,
body.site-theme-v1 #authModal {
  color: var(--text) !important;
  background: linear-gradient(180deg, #10203a, #071326) !important;
  border: 1px solid rgba(110, 173, 239, 0.23) !important;
  border-radius: 22px !important;
  box-shadow: 0 32px 90px rgba(0, 5, 18, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

body.site-theme-v1 .modal-head,
body.site-theme-v1 .modal-header {
  border-color: rgba(107, 164, 224, 0.14) !important;
}

body.site-theme-v1 .custom-modal,
body.site-theme-v1 .modal {
  backdrop-filter: blur(8px);
}

body.site-theme-v1 .back-to-top {
  position: fixed !important;
  inset: auto calc(18px + env(safe-area-inset-right, 0px)) calc(18px + env(safe-area-inset-bottom, 0px)) auto !important;
  left: auto !important;
  top: auto !important;
  z-index: 1450 !important;
  width: 46px !important;
  min-width: 46px !important;
  height: 46px !important;
  min-height: 46px !important;
  margin: 0 !important;
  padding: 0 !important;
  place-items: center;
  color: #fff !important;
  background: linear-gradient(145deg, rgba(78, 169, 255, 0.98), rgba(33, 98, 190, 0.98)) !important;
  border: 1px solid rgba(173, 218, 255, 0.42) !important;
  border-radius: 14px !important;
  box-shadow: 0 18px 38px rgba(20, 80, 167, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.24) !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 10px, 0) scale(0.96);
  transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease !important;
  cursor: pointer;
}

body.site-theme-v1 .back-to-top:not([hidden]) {
  display: grid !important;
}

body.site-theme-v1 .back-to-top.show:not([hidden]) {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
}

body.site-theme-v1 .back-to-top:hover {
  color: #fff !important;
  transform: translate3d(0, -2px, 0) scale(1.02) !important;
  box-shadow: 0 22px 46px rgba(20, 80, 167, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

body.site-theme-v1 .back-to-top:active {
  transform: translate3d(0, 0, 0) scale(0.98) !important;
}

body.site-theme-v1 .back-to-top[hidden] {
  display: none !important;
}

body.site-theme-v1 .back-to-top svg {
  display: block;
  width: 22px;
  height: 22px;
  pointer-events: none;
}

body.site-theme-v1 .qtip.qtip-dark {
  overflow: hidden;
  background: linear-gradient(180deg, #132643, #09172c) !important;
  border: 1px solid rgba(105, 172, 240, 0.23) !important;
  border-radius: 14px !important;
  box-shadow: 0 24px 58px rgba(0, 6, 20, 0.62) !important;
}

body.site-theme-v1 .qt2-hero-grad {
  background: linear-gradient(180deg, rgba(5, 11, 22, 0.05), rgba(8, 20, 38, 0.98)) !important;
}

/* ---------- Footer ---------- */
body.site-theme-v1 > footer {
  margin-top: clamp(38px, 6vw, 78px) !important;
  padding: 0 !important;
  background: rgba(4, 10, 20, 0.9) !important;
  border-top: 1px solid rgba(106, 163, 225, 0.16) !important;
  box-shadow: 0 -18px 50px rgba(0, 7, 22, 0.14) !important;
}

body.site-theme-v1 > footer .f-wrap {
  display: grid !important;
  grid-template-columns: minmax(240px, 1fr) auto minmax(240px, 1fr) !important;
  align-items: center !important;
  gap: 24px !important;
  padding: 30px 0 !important;
}

body.site-theme-v1 .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
}

body.site-theme-v1 .footer-brand__mark {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  filter: drop-shadow(0 9px 15px rgba(36, 110, 207, 0.3));
}

body.site-theme-v1 .footer-brand__copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

body.site-theme-v1 .footer-brand__copy strong {
  color: #f3f8ff;
  font-size: 15px;
  font-weight: 820;
  letter-spacing: -0.025em;
}

body.site-theme-v1 .footer-brand__copy span {
  margin-top: 4px;
  color: #7890ad;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

body.site-theme-v1 > footer .f-nav {
  display: flex !important;
  justify-content: center;
  gap: 5px !important;
  margin: 0 !important;
}

body.site-theme-v1 > footer .f-nav a {
  padding: 7px 10px !important;
  color: #8fa6c1 !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  border-radius: 9px !important;
  font-size: 12px;
  font-weight: 650;
}

body.site-theme-v1 > footer .f-nav a:hover {
  color: #ddecff !important;
  background: rgba(41, 86, 139, 0.18) !important;
  border-color: rgba(92, 159, 227, 0.2) !important;
}

body.site-theme-v1 > footer .copy {
  text-align: right !important;
  color: #7189a6 !important;
  font-size: 11px !important;
  line-height: 1.5;
}

body.site-theme-v1 > footer .copy strong {
  display: block;
  color: #9db2cb;
  font-weight: 650;
}

/* ---------- Scrollbars ---------- */
body.site-theme-v1 * {
  scrollbar-color: rgba(77, 163, 255, 0.75) rgba(7, 17, 32, 0.8);
  scrollbar-width: thin;
}

body.site-theme-v1 ::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

body.site-theme-v1 ::-webkit-scrollbar-track {
  background: rgba(7, 17, 32, 0.86);
}

body.site-theme-v1 ::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #4aa2f8, #286ec7);
  border: 2px solid rgba(7, 17, 32, 0.86);
  border-radius: 999px;
  background-clip: padding-box;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  body.site-theme-v1 .grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }

  body.site-theme-v1 .eps-grid,
  body.site-theme-v1 .sim-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  body.site-theme-v1 .topbar {
    gap: 16px;
  }
}

@media (max-width: 980px) {
  body.site-theme-v1 .container,
  body.site-theme-v1 :where(.site-wrap, .page-wrap) {
    width: min(100% - 24px, 1380px) !important;
  }

  body.site-theme-v1 .topbar {
    grid-template-columns: auto 1fr auto auto;
  }

  body.site-theme-v1 .menu-open-btn {
    display: block !important;
    order: -1;
  }

  body.site-theme-v1 .menu-open-btn button,
  body.site-theme-v1 .site-search-btn {
    display: inline-grid !important;
    width: 42px;
    height: 42px;
    place-items: center;
    padding: 0 !important;
  }

  body.site-theme-v1 #site-search {
    width: auto;
    justify-self: end;
    margin-left: auto !important;
  }

  body.site-theme-v1 #site-search .site-search-btn {
    display: inline-grid !important;
  }

  body.site-theme-v1 #site-search .site-search-inner {
    display: none;
  }

  body.site-theme-v1 #site-search.search-open .site-search-inner {
    display: block;
    position: fixed;
    top: var(--searchTop, 76px) !important;
    right: 12px;
    left: 12px;
    z-index: 1602;
    width: auto;
    max-width: none;
    padding: 8px !important;
  }

  body.site-theme-v1 #site-search.search-open .ss-close {
    display: inline-grid !important;
    position: absolute;
    top: 9px;
    right: 9px;
    width: 40px;
    height: 40px;
    place-items: center;
    padding: 0 !important;
  }

  body.site-theme-v1 #site-search.search-open .ss-form {
    padding-right: 46px;
  }

  body.site-theme-v1 #site-search.search-open .site-search-suggest {
    position: fixed !important;
    top: var(--suggestTop, 140px) !important;
    right: 12px;
    left: 12px;
    width: auto !important;
  }

  body.site-theme-v1 .menubar {
    position: fixed !important;
    top: 0;
    bottom: auto;
    left: 0;
    z-index: 1604;
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
    display: block !important;
    width: min(88vw, 350px);
    margin: 0 !important;
    padding: 14px !important;
    overflow-y: auto;
    background: linear-gradient(180deg, rgba(10, 24, 45, 0.99), rgba(5, 13, 26, 0.99)) !important;
    border: 0 !important;
    border-right: 1px solid rgba(112, 174, 238, 0.22) !important;
    box-shadow: 24px 0 65px rgba(0, 6, 20, 0.54) !important;
    transform: translateX(-105%);
    transition: transform 0.25s ease !important;
  }

  body.site-theme-v1.menu-open .menubar,
  body.site-theme-v1 .menubar.open,
  body.site-theme-v1 > header.site-header.menu-open .menubar {
    transform: translateX(0);
  }

  body.site-theme-v1 > header.site-header.menu-open {
    z-index: 1700;
  }

  body.site-theme-v1 > header.site-header.menu-open + .menu-backdrop {
    display: block !important;
    z-index: 1600;
  }

  body.site-theme-v1 .menubar .sidebar-top {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 4px 2px 13px;
    border-bottom: 1px solid rgba(109, 167, 229, 0.15);
  }

  body.site-theme-v1 .menubar .sidebar-top strong {
    font-size: 17px;
  }

  body.site-theme-v1 .menubar .nav {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  body.site-theme-v1 .menubar .nav > * {
    width: 100%;
  }

  body.site-theme-v1 .menubar .btn,
  body.site-theme-v1 .menubar summary.btn {
    width: 100%;
    min-height: 44px;
    justify-content: space-between;
    padding: 10px 12px !important;
    background: rgba(13, 29, 52, 0.68) !important;
    border-color: rgba(105, 165, 227, 0.13) !important;
    border-radius: 11px !important;
  }

  body.site-theme-v1 .menubar .menu {
    position: static !important;
    width: 100%;
    max-width: none;
    max-height: 310px;
    margin: 5px 0 8px;
    box-shadow: none !important;
  }

  body.site-theme-v1 .home-hero {
    grid-template-columns: 1fr auto;
  }

  body.site-theme-v1 .home-hero__mark {
    width: 130px;
    margin-right: 0;
  }

  body.site-theme-v1 .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  body.site-theme-v1 .header-wrap {
    padding-block: 8px;
  }

  body.site-theme-v1 .topbar {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    gap: 8px;
    min-height: 46px;
  }

  body.site-theme-v1 .brand-logo__mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  body.site-theme-v1 .logo.brand-logo {
    gap: 8px !important;
    font-size: 17px !important;
  }

  body.site-theme-v1 .account .auth-cta span,
  body.site-theme-v1 .account summary.btn .account-label {
    display: none;
  }

  body.site-theme-v1 .account .auth-cta,
  body.site-theme-v1 .account summary.btn {
    display: inline-grid;
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
    place-items: center;
    padding: 0 !important;
  }

  body.site-theme-v1 .account summary.btn .dd-arrow {
    display: none;
  }

  body.site-theme-v1 main.container {
    padding-top: 13px;
  }

  body.site-theme-v1 .page-title {
    margin-bottom: 22px;
    padding: 22px !important;
    border-radius: 20px;
  }

  body.site-theme-v1 .page-title h1 {
    font-size: clamp(25px, 8vw, 36px) !important;
  }

  body.site-theme-v1 .home-hero {
    display: block;
    min-height: auto;
    padding: 28px 22px !important;
  }

  body.site-theme-v1 .home-hero__mark {
    position: absolute;
    top: 18px;
    right: -18px;
    width: 118px;
    margin: 0;
    opacity: 0.2;
  }

  body.site-theme-v1 .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  body.site-theme-v1 .tabs {
    max-width: 100%;
    overflow-x: auto;
  }

  body.site-theme-v1 .tab {
    white-space: nowrap;
  }

  body.site-theme-v1 .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  body.site-theme-v1 .card {
    border-radius: 15px !important;
  }

  body.site-theme-v1 .card .poster {
    border-radius: 14px 14px 0 0;
  }

  body.site-theme-v1 .card .title {
    padding: 6px 9px 11px !important;
    font-size: 12px;
  }

  body.site-theme-v1 .card .meta {
    padding-inline: 9px !important;
  }

  body.site-theme-v1 .details-grid {
    grid-template-columns: 150px minmax(0, 1fr) !important;
    gap: 18px !important;
  }

  body.site-theme-v1 .eps-grid,
  body.site-theme-v1 .sim-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  body.site-theme-v1 .player {
    min-height: 300px;
    border-radius: 17px !important;
  }

  body.site-theme-v1 > footer .f-wrap {
    grid-template-columns: 1fr !important;
    justify-items: center;
    gap: 16px !important;
    padding: 25px 0 !important;
    text-align: center;
  }

  body.site-theme-v1 .footer-brand {
    justify-content: center;
  }

  body.site-theme-v1 > footer .copy {
    text-align: center !important;
  }
}

@media (max-width: 540px) {
  body.site-theme-v1 .container,
  body.site-theme-v1 :where(.site-wrap, .page-wrap) {
    width: min(100% - 20px, 1380px) !important;
  }

  body.site-theme-v1 .brand-logo__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    line-height: 0.92;
  }

  body.site-theme-v1 .brand-logo__accent {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  body.site-theme-v1 .menu-open-btn button,
  body.site-theme-v1 .site-search-btn,
  body.site-theme-v1 .account .auth-cta,
  body.site-theme-v1 .account summary.btn {
    width: 39px;
    min-width: 39px;
    height: 39px;
    min-height: 39px;
  }

  body.site-theme-v1 .topbar {
    gap: 5px;
  }

  body.site-theme-v1 .home-hero__actions {
    flex-direction: column;
  }

  body.site-theme-v1 .home-hero__actions .btn {
    justify-content: center;
    width: 100%;
  }

  body.site-theme-v1 .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 11px !important;
  }

  body.site-theme-v1 .card .title {
    min-height: 48px;
  }

  body.site-theme-v1 .swiper-wrap .swiper,
  body.site-theme-v1 .swiper {
    gap: 10px !important;
    padding: 10px !important;
    border-radius: 16px !important;
  }

  body.site-theme-v1 .swiper .slide,
  body.site-theme-v1 #row-ep-ultimele .slide,
  body.site-theme-v1 #row-ep-subtitrate .slide {
    width: 145px !important;
    min-width: 145px !important;
  }

  body.site-theme-v1 .nav-arrows {
    display: none;
  }

  body.site-theme-v1 .title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  body.site-theme-v1 .details {
    padding: 15px !important;
  }

  body.site-theme-v1 .details-grid {
    grid-template-columns: 1fr !important;
  }

  body.site-theme-v1 .details-grid > .poster {
    width: min(68vw, 230px) !important;
    justify-self: center;
  }

  body.site-theme-v1 .eps-grid,
  body.site-theme-v1 .sim-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.site-theme-v1 .player {
    min-height: 230px;
  }

  body.site-theme-v1 .page .actions .btn {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
  }

  body.site-theme-v1 > footer .f-nav {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body.site-theme-v1 *,
  body.site-theme-v1 *::before,
  body.site-theme-v1 *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* ========================================================================
   DESIGN V2 - focused UI fixes
   - compact detail actions and a larger progress control
   - one visual surface for the share action
   - clean translation status without a dark nested badge
   - readable desktop navigation labels
   - filter dropdowns render above the catalogue instead of being clipped
   ======================================================================== */

/* Header navigation: slightly larger and clearer without increasing the bar. */
@media (min-width: 901px) {
  body.site-theme-v1 .menubar .btn,
  body.site-theme-v1 .menubar summary.btn {
    min-height: 38px !important;
    padding: 8px 12px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.012em;
  }

  body.site-theme-v1 .menubar .menu a,
  body.site-theme-v1 .menu-acc a {
    font-size: 15px !important;
    font-weight: 650 !important;
    line-height: 1.45 !important;
  }
}

/* Detail-page action bar: compact controls on desktop. */
body.site-theme-v1 .page > .actions,
body.site-theme-v1 .page .actions {
  align-items: center !important;
  gap: 8px !important;
  margin: 10px 0 18px !important;
  padding: 0 !important;
}

@media (min-width: 901px) {
  body.site-theme-v1 .page .actions > .btn,
  body.site-theme-v1 .page .actions > a.btn,
  body.site-theme-v1 .page .actions > .share-wrapper > .btn {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 12px !important;
    border-radius: 11px !important;
    font-size: 13px !important;
    line-height: 1 !important;
    white-space: nowrap;
  }

  body.site-theme-v1 .page .actions .btn::before {
    width: 17px !important;
    height: 17px !important;
    flex: 0 0 17px !important;
  }
}

/* The data wrapper should not look like a second button. */
body.site-theme-v1 .page .actions > .share-wrapper {
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

body.site-theme-v1 .page .actions > .share-wrapper > #btn-share {
  margin: 0 !important;
}

/* Series progress: make it a full-size, legible control beside the watched button. */
body.site-theme-v1 .page .actions > .progress {
  position: relative !important;
  display: block !important;
  flex: 0 0 220px !important;
  width: 220px !important;
  min-width: 180px !important;
  height: 40px !important;
  min-height: 40px !important;
  margin: 0 !important;
  overflow: hidden !important;
  background: rgba(7, 18, 35, 0.94) !important;
  border: 1px solid rgba(111, 166, 225, 0.24) !important;
  border-radius: 11px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

body.site-theme-v1 .page .actions > .progress .progress-bar,
body.site-theme-v1 .page .actions > .progress .progress-bar.only-progress {
  height: 100% !important;
  min-height: 100% !important;
  border-radius: 10px !important;
  background: linear-gradient(90deg, #2d78dc, #55b6ff) !important;
  box-shadow: 0 0 20px rgba(77, 163, 255, 0.28) !important;
}

body.site-theme-v1 .page .actions > .progress .progress-bar[aria-valuenow="100"],
body.site-theme-v1 .page .actions > .progress .progress-bar.only-progress[aria-valuenow="100"] {
  background: linear-gradient(90deg, #1fa76b, #4fd19b) !important;
}

body.site-theme-v1 .page .actions > .progress .srr {
  position: absolute !important;
  inset: 0 !important;
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  color: #f7fbff !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-shadow: 0 1px 5px rgba(0, 6, 18, 0.85);
  transform: none !important;
  pointer-events: none;
}

@media (max-width: 900px) {
  body.site-theme-v1 .page .actions > .progress {
    flex-basis: min(56vw, 220px) !important;
    width: min(56vw, 220px) !important;
    min-width: 165px !important;
    height: 44px !important;
    min-height: 44px !important;
  }

  body.site-theme-v1 .page .actions > .share-wrapper > #btn-share {
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    justify-content: center !important;
  }
}

@media (max-width: 520px) {
  body.site-theme-v1 .page .actions > .progress {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: none !important;
  }
}

/* Translation status: flag + text only; no nested black/blue pill surfaces. */
body.site-theme-v1 .title-row .lang {
  padding: 0 !important;
  color: #dbeaff !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.site-theme-v1 .title-row .translation-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  color: #dbeaff;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.2;
}

body.site-theme-v1 .title-row .translation-status img {
  width: 21px !important;
  height: 15px !important;
  border: 1px solid rgba(177, 211, 246, 0.42) !important;
  border-radius: 3px !important;
  box-shadow: 0 3px 10px rgba(0, 7, 20, 0.25);
}

/* Filters: the decorative title panel used to clip open dropdowns. */
body.site-theme-v1 .page-title.filter-host,
body.site-theme-v1 .page-title:has(.is-filter) {
  z-index: 40 !important;
  overflow: visible !important;
}

body.site-theme-v1 .page-title.filter-host .is-filter,
body.site-theme-v1 .page-title:has(.is-filter) .is-filter,
body.site-theme-v1 .page-title.filter-host .category-filter,
body.site-theme-v1 .page-title:has(.is-filter) .category-filter,
body.site-theme-v1 .page-title.filter-host .filter-flex,
body.site-theme-v1 .page-title:has(.is-filter) .filter-flex {
  position: relative;
  overflow: visible !important;
}

body.site-theme-v1 .category-filter .item {
  z-index: 1;
}

body.site-theme-v1 .category-filter .item.open,
body.site-theme-v1 .category-filter .item.show {
  z-index: 120 !important;
}

body.site-theme-v1 .category-filter .dropdown-menu.filter-dropdown,
body.site-theme-v1 .category-filter .dropdown-menu.filter-dropdown.show,
body.site-theme-v1 .category-filter .item.open > .dropdown-menu,
body.site-theme-v1 .category-filter .item.show > .dropdown-menu {
  z-index: 3000 !important;
}

body.site-theme-v1 .page-title.filter-host + .grid,
body.site-theme-v1 .page-title:has(.is-filter) + .grid {
  position: relative;
  z-index: 1;
}

/* First-paint modal guard: overlays stay viewport-fixed and hidden until their
   explicit open state. */
body.site-theme-v1 #progressModal,
body.site-theme-v1 #listModal,
body.site-theme-v1 #confirmRemoveModal,
body.site-theme-v1 #customModal,
body.site-theme-v1 #trailerModal {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  z-index: 2000 !important;
}

body.site-theme-v1 #trailerModal {
  z-index: 2100 !important;
}

body.site-theme-v1 #progressModal:not(.show),
body.site-theme-v1 #listModal:not(.show),
body.site-theme-v1 #confirmRemoveModal:not(.show),
body.site-theme-v1 #customModal:not(.show),
body.site-theme-v1 #trailerModal:not(.open),
body.site-theme-v1 #trailerModal[hidden] {
  display: none !important;
}

body.site-theme-v1 #progressModal.show {
  display: flex !important;
}

body.site-theme-v1 #listModal.show,
body.site-theme-v1 #confirmRemoveModal.show,
body.site-theme-v1 #customModal.show,
body.site-theme-v1 #trailerModal.open:not([hidden]) {
  display: block !important;
}

@media (max-width: 640px) {
  body.site-theme-v1 .back-to-top {
    inset: auto calc(13px + env(safe-area-inset-right, 0px)) calc(13px + env(safe-area-inset-bottom, 0px)) auto !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    border-radius: 13px !important;
  }
}



/* V4 final compact controls */
body.site-theme-v1 .home-hero__actions { gap: 8px !important; margin-top: 16px !important; }
body.site-theme-v1 .home-hero__actions .btn {
  width: auto !important;
  min-width: 0 !important;
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 13px !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  line-height: 1 !important;
}
@media (max-width: 640px) {
  body.site-theme-v1 .home-hero__actions { flex-direction: row !important; }
  body.site-theme-v1 .home-hero__actions .btn { width: auto !important; height: 42px !important; min-height: 42px !important; }
}
body.site-theme-v1 .page .actions > .btn,
body.site-theme-v1 .page .actions > a.btn,
body.site-theme-v1 .page .actions > .share-wrapper > .btn,
body.site-theme-v1 .page .actions > .community-action-button {
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 11px !important;
  border-radius: 10px !important;
  font-size: 12.5px !important;
}
body.site-theme-v1 .page .actions > .progress {
  flex-basis: 240px !important;
  width: 240px !important;
  height: 38px !important;
  min-height: 38px !important;
}
body.site-theme-v1 .category-filter,
body.site-theme-v1 .category-filter .dropdown-menu,
body.site-theme-v1 .category-filter .item.show,
body.site-theme-v1 .category-filter .item.show > .dropdown-menu {
  z-index: 1200 !important;
}


/* ===== V5 home segmented controls ===== */
body.site-theme-v1 .home-page .section-heading .tabs {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  margin: 0 !important;
  padding: 4px !important;
  border: 1px solid rgba(123, 163, 226, .20) !important;
  border-radius: 14px !important;
  background: rgba(12, 22, 40, .92) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025) !important;
}
body.site-theme-v1 .home-page .section-heading .tabs .tab {
  appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 116px !important;
  min-height: 40px !important;
  height: 40px !important;
  margin: 0 !important;
  padding: 0 17px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #aebbd2 !important;
  font-size: 13px !important;
  font-weight: 750 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
}
body.site-theme-v1 .home-page .section-heading .tabs .tab:hover {
  background: rgba(87, 131, 205, .10) !important;
  color: #eef4ff !important;
  transform: none !important;
}
body.site-theme-v1 .home-page .section-heading .tabs .tab.active,
body.site-theme-v1 .home-page .section-heading .tabs .tab[aria-pressed="true"],
body.site-theme-v1 .home-page .section-heading .tabs .tab[aria-selected="true"] {
  background: linear-gradient(180deg, #6394ee 0%, #4f7fd8 100%) !important;
  color: #fff !important;
  box-shadow: 0 5px 16px rgba(46, 91, 170, .24), inset 0 1px 0 rgba(255,255,255,.20) !important;
}
body.site-theme-v1 .home-page .grid.is-hidden,
body.site-theme-v1 .home-page [hidden] {
  display: none !important;
}
@media (max-width: 640px) {
  body.site-theme-v1 .home-page .section-heading .tabs {
    width: 100% !important;
  }
  body.site-theme-v1 .home-page .section-heading .tabs .tab {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    padding: 0 10px !important;
  }
}

/* Keep home CTA buttons compact and visually distinct from action tiles. */
body.site-theme-v1 .home-hero__actions .btn {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: max-content !important;
}

/* ===== /V5 home segmented controls ===== */

/* ===== V5 final home control polish =====
   These are actual buttons, not label-like text inside one large control. */
body.site-theme-v1 .home-page .section-heading .tabs {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.site-theme-v1 .home-page .section-heading .tabs .tab {
  appearance: none !important;
  min-width: 126px !important;
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 16px !important;
  border: 1px solid rgba(118, 157, 218, .26) !important;
  border-radius: 11px !important;
  background: linear-gradient(180deg, rgba(24, 38, 65, .98), rgba(13, 24, 43, .98)) !important;
  color: #bdc9dc !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 5px 14px rgba(0,0,0,.12) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  transition: border-color .16s ease, background .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease !important;
}
body.site-theme-v1 .home-page .section-heading .tabs .tab:hover {
  border-color: rgba(117, 167, 247, .55) !important;
  background: linear-gradient(180deg, rgba(31, 51, 86, .99), rgba(16, 30, 53, .99)) !important;
  color: #fff !important;
  transform: translateY(-1px) !important;
}
body.site-theme-v1 .home-page .section-heading .tabs .tab.active,
body.site-theme-v1 .home-page .section-heading .tabs .tab[aria-pressed="true"] {
  border-color: #75a4f4 !important;
  background: linear-gradient(180deg, #6a99ed 0%, #507fd6 100%) !important;
  color: #fff !important;
  box-shadow: 0 7px 18px rgba(48, 91, 168, .28), inset 0 1px 0 rgba(255,255,255,.22) !important;
}
body.site-theme-v1 .home-page .section-heading .tabs .tab:focus-visible {
  outline: 3px solid rgba(105, 157, 244, .30) !important;
  outline-offset: 2px !important;
}
@media (max-width: 640px) {
  body.site-theme-v1 .home-page .section-heading .tabs { width: 100% !important; }
  body.site-theme-v1 .home-page .section-heading .tabs .tab {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    padding-inline: 9px !important;
  }
}
/* ===== /V5 final home control polish ===== */


/* ========================================================================
   V7 focused fixes
   - share action is icon-only on mobile
   - preserve a compact, consistent action-row touch target
   ======================================================================== */
@media (max-width: 900px) {
  body.site-theme-v1 .page .actions > .share-wrapper {
    flex: 0 0 40px !important;
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    overflow: visible !important;
  }

  body.site-theme-v1 .page .actions > .share-wrapper > #btn-share,
  body.site-theme-v1 .page .actions #btn-share {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 40px !important;
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 !important;
    gap: 0 !important;
    overflow: hidden !important;
    color: #dbe8fb !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-indent: 0 !important;
    white-space: nowrap !important;
  }

  body.site-theme-v1 .page .actions #btn-share::before {
    width: 18px !important;
    height: 18px !important;
    flex: 0 0 18px !important;
    margin: 0 !important;
  }
}

/* ========================================================================
   V9 catalogue filters — compact, symmetrical and easier to scan
   ======================================================================== */
body.site-theme-v1 .page-title.filter-host {
  margin: 10px 0 26px !important;
  padding: 24px 26px 21px !important;
  overflow: visible !important;
  background:
    radial-gradient(circle at 92% 12%, rgba(77, 163, 255, .12), transparent 28%),
    linear-gradient(135deg, rgba(17, 37, 66, .94), rgba(8, 19, 37, .96) 58%, rgba(10, 25, 46, .96)) !important;
  border-color: rgba(106, 167, 230, .20) !important;
  border-radius: 20px !important;
  box-shadow: 0 18px 45px rgba(0, 7, 22, .22), inset 0 1px 0 rgba(255,255,255,.045) !important;
}

body.site-theme-v1 .page-title.filter-host::before {
  top: -180px;
  right: -120px;
  width: 330px;
  height: 330px;
  opacity: .42;
}

body.site-theme-v1 .page-title.filter-host::after {
  right: 42px;
  bottom: -64px;
  width: 190px;
  height: 94px;
  opacity: .22;
}

body.site-theme-v1 .page-title.filter-host > h1 {
  max-width: none !important;
  margin: 0 0 16px !important;
  overflow: hidden;
  color: #f4f8ff !important;
  font-size: clamp(23px, 1.9vw, 31px) !important;
  font-weight: 830 !important;
  line-height: 1.12 !important;
  letter-spacing: -.025em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.site-theme-v1 .page-title.filter-host .is-filter {
  position: relative;
  z-index: 5;
  margin: 0 0 13px !important;
  padding: 10px !important;
  overflow: visible !important;
  background: rgba(5, 14, 29, .72);
  border: 1px solid rgba(103, 163, 226, .15);
  border-radius: 15px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}

body.site-theme-v1 .page-title.filter-host .category-filter {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) 132px;
  align-items: stretch !important;
  gap: 8px !important;
  margin: 0 !important;
  overflow: visible !important;
}

body.site-theme-v1 .page-title.filter-host .filter-flex {
  display: contents !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
}

body.site-theme-v1 .page-title.filter-host .category-filter .item {
  position: relative !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}

body.site-theme-v1 .page-title.filter-host .category-filter .item .item-inner {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  width: 100% !important;
  height: 52px !important;
  min-height: 52px !important;
  padding: 7px 10px !important;
  overflow: hidden;
  color: #dce9f7 !important;
  background: rgba(13, 29, 52, .82) !important;
  border: 1px solid rgba(112, 169, 231, .16) !important;
  border-radius: 11px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025) !important;
  transition: background .16s ease, border-color .16s ease, box-shadow .16s ease !important;
}

body.site-theme-v1 .page-title.filter-host .category-filter .item .item-inner:hover,
body.site-theme-v1 .page-title.filter-host .category-filter .item.open .item-inner {
  background: rgba(22, 46, 78, .94) !important;
  border-color: rgba(101, 170, 244, .40) !important;
  box-shadow: 0 0 0 3px rgba(65, 128, 211, .08), inset 0 1px 0 rgba(255,255,255,.035) !important;
}

body.site-theme-v1 .page-title.filter-host .category-filter .subtext {
  margin: 0 0 4px;
  color: #7189a8 !important;
  font-size: 9px !important;
  font-weight: 820 !important;
  line-height: 1 !important;
  letter-spacing: .10em !important;
  text-transform: uppercase;
}

body.site-theme-v1 .page-title.filter-host .category-filter .display {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 7px !important;
  min-width: 0;
  color: #e2edf9 !important;
  font-size: 12.5px !important;
  font-weight: 760 !important;
  line-height: 1.1 !important;
}

body.site-theme-v1 .page-title.filter-host .category-filter .display > span,
body.site-theme-v1 .page-title.filter-host #genre-selected,
body.site-theme-v1 .page-title.filter-host #country-selected,
body.site-theme-v1 .page-title.filter-host #year-selected {
  display: block;
  min-width: 0;
  max-width: none !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.site-theme-v1 .page-title.filter-host .category-filter .filter-button {
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}

body.site-theme-v1 .page-title.filter-host .category-filter .filter-button .btn-filter {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  height: 52px !important;
  min-height: 52px !important;
  padding: 0 13px !important;
  color: #fff !important;
  background: linear-gradient(145deg, #5b91e9, #3973d2) !important;
  border: 1px solid rgba(148, 193, 255, .34) !important;
  border-radius: 11px !important;
  box-shadow: 0 9px 22px rgba(33, 87, 172, .22), inset 0 1px 0 rgba(255,255,255,.18) !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  white-space: nowrap;
}

body.site-theme-v1 .page-title.filter-host .category-filter .filter-button .btn-filter:hover {
  transform: translateY(-1px) !important;
  filter: brightness(1.06);
  border-color: rgba(167, 207, 255, .52) !important;
}

body.site-theme-v1 .page-title.filter-host .dropdown-menu.filter-dropdown {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  left: 0 !important;
  right: auto !important;
  z-index: 5000 !important;
  min-width: 220px !important;
  max-width: min(360px, calc(100vw - 32px));
  max-height: 390px !important;
  margin: 0 !important;
  padding: 7px !important;
  overflow: auto !important;
  background: rgba(6, 17, 34, .99) !important;
  border: 1px solid rgba(110, 168, 231, .23) !important;
  border-radius: 12px !important;
  box-shadow: 0 22px 54px rgba(0, 5, 18, .58) !important;
}

body.site-theme-v1 .page-title.filter-host .category-filter .item:nth-child(n+5) > .dropdown-menu.filter-dropdown {
  left: auto !important;
  right: 0 !important;
}

body.site-theme-v1 .page-title.filter-host .filter-dual {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  min-width: 300px !important;
  gap: 4px !important;
}

body.site-theme-v1 .page-title.filter-host .dropdown-primary .dropdown-item {
  padding: 4px !important;
  border-radius: 8px !important;
}

body.site-theme-v1 .page-title.filter-host .filter-dropdown .choice {
  gap: 8px !important;
  min-height: 34px;
  padding: 6px 7px !important;
  border: 1px solid transparent;
  border-radius: 8px !important;
}

body.site-theme-v1 .page-title.filter-host .filter-dropdown .choice.active {
  background: rgba(56, 117, 198, .17) !important;
  border-color: rgba(93, 163, 241, .34) !important;
}

body.site-theme-v1 .page-title.filter-host .subtitle {
  margin: 0 !important;
  color: #8ea3be !important;
  font-size: 12.5px !important;
  line-height: 1.35 !important;
}

@media (max-width: 1180px) {
  body.site-theme-v1 .page-title.filter-host .category-filter {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  body.site-theme-v1 .page-title.filter-host .category-filter .filter-button {
    grid-column: 1 / -1;
  }
  body.site-theme-v1 .page-title.filter-host .category-filter .filter-button .btn-filter {
    width: 100% !important;
  }
  body.site-theme-v1 .page-title.filter-host .category-filter .item:nth-child(n+5) > .dropdown-menu.filter-dropdown {
    left: 0 !important;
    right: auto !important;
  }
  body.site-theme-v1 .page-title.filter-host .category-filter .item:nth-child(3n) > .dropdown-menu.filter-dropdown {
    left: auto !important;
    right: 0 !important;
  }
}

@media (max-width: 760px) {
  body.site-theme-v1 .page-title.filter-host {
    padding: 20px !important;
  }
  body.site-theme-v1 .page-title.filter-host > h1 {
    overflow: visible;
    font-size: clamp(22px, 6vw, 30px) !important;
    line-height: 1.14 !important;
    text-overflow: clip;
    white-space: normal;
  }
  body.site-theme-v1 .page-title.filter-host .category-filter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.site-theme-v1 .page-title.filter-host .category-filter .filter-button {
    grid-column: 1 / -1;
  }
  body.site-theme-v1 .page-title.filter-host .dropdown-menu.filter-dropdown {
    position: static !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin-top: 7px !important;
  }
  body.site-theme-v1 .page-title.filter-host .filter-dual {
    min-width: 0 !important;
  }
}

@media (max-width: 500px) {
  body.site-theme-v1 .page-title.filter-host {
    padding: 17px !important;
    border-radius: 17px !important;
  }
  body.site-theme-v1 .page-title.filter-host .is-filter {
    padding: 8px !important;
  }
  body.site-theme-v1 .page-title.filter-host .category-filter {
    grid-template-columns: 1fr;
    gap: 7px !important;
  }
  body.site-theme-v1 .page-title.filter-host .category-filter .filter-button {
    grid-column: auto;
  }
  body.site-theme-v1 .page-title.filter-host .filter-dual {
    grid-template-columns: 1fr !important;
  }
}

/* ========================================================================
   V9 homepage hero polish — same direction, tighter hierarchy and balance
   ======================================================================== */
body.site-theme-v1 .home-page .home-hero {
  min-height: 250px !important;
  padding: clamp(30px, 3.7vw, 44px) clamp(28px, 4vw, 48px) !important;
  background:
    radial-gradient(circle at 86% 32%, rgba(92, 156, 246, .17), transparent 27%),
    linear-gradient(128deg, rgba(17, 39, 70, .95), rgba(8, 19, 37, .96) 61%, rgba(12, 29, 53, .96)) !important;
  border-color: rgba(110, 170, 235, .22) !important;
  border-radius: 22px !important;
  box-shadow: 0 22px 54px rgba(0, 8, 24, .25), inset 0 1px 0 rgba(255,255,255,.055) !important;
}

body.site-theme-v1 .home-page .home-hero__content {
  max-width: 790px !important;
}

body.site-theme-v1 .home-page .home-hero h1 {
  max-width: 760px !important;
  margin-bottom: 11px !important;
  font-size: clamp(31px, 3.15vw, 43px) !important;
  line-height: 1.07 !important;
  letter-spacing: -.035em;
}

body.site-theme-v1 .home-page .home-hero .subtitle {
  max-width: 700px !important;
  color: #a9bdd6 !important;
  font-size: clamp(14px, 1.2vw, 15.5px) !important;
  line-height: 1.55 !important;
}

body.site-theme-v1 .home-page .home-hero__eyebrow {
  margin-bottom: 10px !important;
  font-size: 10.5px !important;
}

body.site-theme-v1 .home-page .home-hero__actions {
  gap: 9px !important;
  margin-top: 19px !important;
}

body.site-theme-v1 .home-page .home-hero__actions .btn {
  min-height: 42px !important;
  height: 42px !important;
  padding: 0 15px !important;
  border-radius: 10px !important;
  font-size: 12.5px !important;
  font-weight: 780 !important;
}

body.site-theme-v1 .home-page .home-hero__mark {
  width: clamp(128px, 12vw, 166px) !important;
  margin: 0 clamp(10px, 2.6vw, 34px) !important;
  opacity: .96 !important;
  filter: drop-shadow(0 24px 38px rgba(30, 91, 181, .36)) !important;
}

@media (max-width: 760px) {
  body.site-theme-v1 .home-page .home-hero {
    grid-template-columns: 1fr !important;
    min-height: 0 !important;
    padding: 26px 23px !important;
  }
  body.site-theme-v1 .home-page .home-hero__mark {
    display: none !important;
  }
}
