:root {
  --bg: #f3f3f3;
  --panel: #fff;
  --text: #171717;
  --muted: #777;
  --orange: #ff7800;
  --line: #d8d8d8;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, sans-serif;
  line-height: 1.45;
}
a {
  color: inherit;
  text-decoration: none;
}
.container {
  max-width: 1320px;
  margin: auto;
  padding: 0 20px;
}
.site-header {
  position: sticky;
  top: 0;
  background: #161616;
  color: #fff;
  z-index: 20;
  box-shadow: 0 2px 7px #0005;
}
.header-main {
  height: 64px;
  max-width: 1320px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -1.5px;
}
.brand b {
  color: var(--orange);
}
.header-search {
  display: flex;
  flex: 1;
  max-width: 580px;
  margin-left: 18px;
}
.header-search input {
  margin: 0;
  background: #fff;
  color: #222;
  border: 0;
  border-radius: 3px 0 0 3px;
  padding: 10px 13px;
}
.header-search button {
  width: 48px;
  border: 0;
  background: var(--orange);
  color: #fff;
  font-size: 24px;
}
.admin-link {
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  color: #bbb;
}
.nav {
  background: #252525;
  border-top: 1px solid #333;
}
.nav > div {
  max-width: 1320px;
  margin: auto;
  padding: 0 20px;
  height: 42px;
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 12px;
  font-weight: 700;
}
.nav a:hover,
.nav a:first-child {
  color: var(--orange);
}
.menu-toggle {
  display: none;
  margin-left: auto;
  background: none;
  color: white;
  border: 0;
  font-size: 24px;
}
.hero {
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(100deg, #fff, #f4f4f4);
  padding: 26px 30px;
  margin-top: 22px;
  border-radius: 4px;
}
.hero h1 {
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -1px;
  margin: 5px 0;
}
.hero p {
  color: var(--muted);
  margin: 7px 0;
}
.hero-badges {
  display: flex;
  gap: 8px;
}
.hero-badges span {
  background: #222;
  color: #fff;
  padding: 8px 11px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 800;
}
.hero-badges span:first-child {
  background: var(--orange);
}
.eyebrow,
.category {
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
}
.btn {
  border: 0;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  padding: 13px 21px;
  border-radius: 3px;
  cursor: pointer;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin: 30px 0 14px;
  border-bottom: 2px solid #222;
  padding-bottom: 8px;
}
.section-title h2 {
  font-size: 24px;
  margin: 2px 0;
}
.section-title > span {
  color: var(--muted);
  font-size: 12px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px 12px;
}
.featured {
  grid-template-columns: repeat(4, 1fr);
}
.thumb {
  display: block;
  aspect-ratio: 16/9;
  background: #222;
  position: relative;
  overflow: hidden;
  border-radius: 3px;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.2s;
}
.card:hover img {
  filter: brightness(0.75);
}
.play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ff7800e8;
  color: #fff;
  display: grid;
  place-items: center;
  padding-left: 3px;
  opacity: 0;
  transition: 0.2s;
}
.card:hover .play {
  opacity: 1;
}
.hot {
  position: absolute;
  top: 7px;
  left: 7px;
  background: var(--orange);
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  padding: 4px 6px;
}
.duration {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: #000c;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 5px;
}
.card-copy {
  padding-top: 8px;
}
.card h3 {
  margin: 0 0 5px;
  font-size: 14px;
  line-height: 1.3;
  height: 36px;
  overflow: hidden;
}
.card h3 a:hover {
  color: var(--orange);
}
.card p,
.meta {
  color: var(--muted);
  font-size: 11px;
  margin: 0;
}
.notice {
  margin: 45px 0 25px;
  padding: 17px;
  background: #fff;
  color: var(--muted);
  border-left: 3px solid var(--orange);
  font-size: 12px;
}
.notice b {
  color: var(--orange);
  margin-right: 8px;
}
footer {
  background: #1b1b1b;
  color: #888;
  padding: 30px;
  text-align: center;
  font-size: 12px;
}
body > footer:not(.site-footer) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 22px max(24px,calc((100vw - 1380px)/2));
  border-top: 1px solid #242424;
  background: #080808;
}
body > footer:not(.site-footer) > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
body > footer:not(.site-footer) > span:first-child:before {
  content: "18+";
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1.5px solid #888;
  border-radius: 50%;
  background: transparent;
  color: #aaa;
  font-size: 11px;
  font-weight: 900;
}
.site-footer {
  display: none !important;
  position: relative;
  margin: 70px 0 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #292929;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(145deg,#171717,#0b0b0b 70%);
  color: #aaa;
  text-align: left;
}
.site-footer:before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg,var(--accent),#ffba56 35%,transparent 80%);
}
.site-footer-main {
  display: grid;
  grid-template-columns: minmax(260px,1.5fr) .7fr .7fr minmax(260px,1fr);
  gap: clamp(28px,4vw,64px);
  padding: clamp(30px,4vw,55px);
}
.site-footer-brand { display: flex; align-items: center; gap: 18px; }
.footer-age-logo {
  display: grid;
  flex: 0 0 92px;
  place-items: center;
  width: 92px;
  height: 92px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #e52323;
  color: #fff;
  box-shadow: 0 0 0 6px #e5232326,0 14px 35px #0008;
  line-height: 1;
}
.footer-age-logo strong { margin-top: 13px; font: 900 34px/1 "Inter",sans-serif; letter-spacing: -2px; }
.footer-age-logo span { align-self: start; font-size: 8px; font-weight: 900; letter-spacing: .8px; }
.site-footer h2 { margin: 0 0 8px; color: #fff; font: 800 27px/1 "Barlow Condensed",sans-serif; }
.site-footer h3 { margin: 0 0 14px; color: #fff; font-size: 12px; letter-spacing: .6px; text-transform: uppercase; }
.site-footer p { margin: 0; color: #888; font-size: 11px; line-height: 1.65; }
.site-footer-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.site-footer-nav a { color: #999; font-size: 11px; transition: .16s; }
.site-footer-nav a:hover { color: var(--accent); transform: translateX(3px); }
.site-footer-notice { padding: 17px; border: 1px solid #322822; border-radius: 7px; background: #17130f; }
.site-footer-notice h3 { display: flex; align-items: center; gap: 8px; color: #ff9a3c; }
.site-footer-notice svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.site-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 17px clamp(30px,4vw,55px);
  border-top: 1px solid #292929;
  background: #090909;
  color: #777;
  font-size: 10px;
}
@media (max-width: 900px) {
  .site-footer-main { grid-template-columns: 1.4fr 1fr 1fr; }
  .site-footer-notice { grid-column: 1/-1; }
}
@media (max-width: 600px) {
  body > footer:not(.site-footer) {
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding: 22px 16px;
    text-align: center;
  }
  .site-footer { margin-top: 45px; border-radius: 0; }
  .site-footer-main { grid-template-columns: 1fr 1fr; padding: 28px 20px; gap: 28px 20px; }
  .site-footer-brand,.site-footer-notice { grid-column: 1/-1; }
  .footer-age-logo { flex-basis: 76px; width: 76px; height: 76px; }
  .footer-age-logo strong { font-size: 28px; }
  .site-footer-bottom { align-items: center; flex-direction: column; padding: 17px 20px; text-align: center; }
}
.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.footer-links a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}
.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}
@media (max-width: 600px) {
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px 12px;
  }
}
.breadcrumb {
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  padding: 24px 0;
}
.single {
  max-width: 1060px;
  margin: auto;
}
.player {
  aspect-ratio: 16/9;
  background: #000;
}
.player iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.single-copy {
  max-width: 900px;
  margin: 25px auto;
  background: #fff;
  padding: 25px;
}
.single h1 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  margin: 8px 0;
}
.pill {
  display: inline-block;
  background: #ff780022;
  color: var(--orange);
  padding: 6px 9px;
  font-size: 11px;
  font-weight: 900;
}
.lead {
  font-size: 17px;
  color: #555;
}
.article-body {
  color: #444;
}
.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 25px;
}
.tags span {
  background: #e6e6e6;
  padding: 6px 10px;
  font-size: 12px;
}
.empty {
  text-align: center;
  padding: 70px;
  background: #fff;
}
.admin-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #111;
  color: #fff;
}
.login-card {
  width: min(430px, calc(100% - 30px));
  padding: 40px;
  background: #1c1c1c;
  border: 1px solid #333;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin: 17px 0;
}
input,
textarea,
select {
  width: 100%;
  margin-top: 7px;
  background: #fff;
  color: #222;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 12px;
  font: inherit;
}
textarea {
  resize: vertical;
}
.login-card input {
  background: #111;
  color: #fff;
  border-color: #444;
}
.login-card .btn {
  width: 100%;
}
.alert {
  background: #ff780022;
  color: #ffb16d;
  padding: 11px;
}
.dashboard {
  background: #111;
  color: #fff;
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}
.dashboard aside {
  border-right: 1px solid #333;
  padding: 28px;
  position: sticky;
  top: 0;
  height: 100vh;
}
.dashboard aside nav {
  display: grid;
  gap: 6px;
  margin-top: 45px;
}
.dashboard aside nav a {
  padding: 10px;
  color: #999;
}
.dashboard aside nav a.active {
  color: #fff;
  background: #1c1c1c;
  border-left: 2px solid var(--orange);
}
.admin-main {
  padding: 45px;
  max-width: 1300px;
  width: 100%;
  margin: auto;
}
.admin-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 30px 0;
}
.stats div,
.form-main,
.form-side {
  background: #1c1c1c;
  padding: 25px;
  border: 1px solid #333;
}
.stats b {
  display: block;
  font-size: 34px;
}
.stats span,
td small {
  color: #999;
  font-size: 13px;
}
.table-wrap {
  overflow: auto;
  background: #1c1c1c;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th,
td {
  text-align: left;
  padding: 16px;
  border-bottom: 1px solid #333;
  font-size: 13px;
}
.status {
  padding: 5px 8px;
}
.status.published {
  color: #69d986;
}
.actions {
  display: flex;
  gap: 12px;
}
.actions a,
.actions button {
  color: #ff9b45;
  background: none;
  border: 0;
}
.editor {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 25px;
  margin-top: 30px;
}
.dashboard input,
.dashboard textarea,
.dashboard select {
  background: #111;
  color: #fff;
  border-color: #444;
}
.form-side {
  align-self: start;
}
.check {
  display: flex;
  gap: 10px;
}
.check input {
  width: auto;
}
.ghost {
  display: block;
  text-align: center;
  background: #333;
  margin-top: 10px;
}
@media (max-width: 1000px) {
  .grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .featured {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 800px) {
  .admin-link {
    display: none;
  }
  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
  }
  .nav.open {
    display: block;
  }
  .nav > div {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }
  .menu-toggle {
    display: block;
  }
  .grid,
  .featured {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero {
    display: block;
  }
  .hero-badges {
    margin-top: 20px;
  }
  .dashboard {
    display: block;
  }
  .dashboard aside {
    height: auto;
    position: static;
  }
  .editor {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .container {
    padding: 0 10px;
  }
  .header-main {
    padding: 0 12px;
    gap: 10px;
  }
  .header-search {
    margin-left: 0;
  }
  .header-search input {
    min-width: 0;
  }
  .brand {
    font-size: 19px;
  }
  .grid,
  .featured {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 8px;
  }
  .hero {
    margin-top: 12px;
    padding: 22px;
  }
  .hero h1 {
    font-size: 26px;
  }
  .admin-main {
    padding: 25px 15px;
  }
  .stats {
    grid-template-columns: 1fr;
  }
}
/* Shared CMS additions (kept here so the project uses one stylesheet). */
.brand img {
  display: block;
  max-width: 180px;
  max-height: 46px;
  object-fit: contain;
}
.player {
  position: relative;
}
.preroll {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: #080808;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.preroll a,
.preroll img {
  width: 100%;
  height: 100%;
  display: block;
}
.preroll img {
  object-fit: contain;
}
.preroll button {
  position: absolute;
  right: 18px;
  bottom: 18px;
  background: #111d;
  color: #fff;
  border: 1px solid #777;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
}
.preroll button:disabled {
  cursor: wait;
  opacity: 0.75;
}
.settings-form {
  max-width: 760px;
  background: #1c1c1c;
  border: 1px solid #333;
  padding: 28px;
  margin: 28px 0;
  color: #fff;
}
.settings-form h3 {
  margin: 28px 0 5px;
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
}
.settings-form h3:first-of-type {
  margin-top: 0;
}
.settings-form + .table-wrap {
  margin-top: 22px;
}
.help {
  color: #999;
  font-size: 12px;
}
.danger {
  background: none;
  border: 0;
  color: #ff8a72;
  cursor: pointer;
}
.dashboard .alert {
  margin-top: 20px;
}
.dashboard .brand img {
  max-width: 160px;
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 25px;
}
.media-grid article {
  background: #1c1c1c;
  border: 1px solid #333;
  padding: 10px;
  min-width: 0;
}
.media-grid img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: #111;
}
.media-grid small {
  display: block;
  color: #999;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 7px 0;
}
.media-grid article > div {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.media-grid .btn {
  font-size: 11px;
  padding: 8px 10px;
}
.media-grid .copy {
  background: #333;
  color: #fff;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.media-grid form {
  display: inline;
}
.nav-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: -3px;
  margin-right: 7px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.admin-menu-toggle {
  display: none;
  background: #292929;
  color: #fff;
  border: 1px solid #444;
  border-radius: 4px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.admin-menu-toggle svg {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
.dashboard aside nav a {
  display: flex;
  align-items: center;
}
.dashboard aside nav a {
  color: #58a6ff !important;
  border-radius: 4px;
}
.dashboard aside nav a.active {
  background: #12345b !important;
  color: #fff !important;
  border-left: 3px solid #58a6ff !important;
}
.dashboard .btn {
  background: #1677d2 !important;
}

/* Glassmorphism public frontend. */
:root {
  --accent: #ff7800;
  --orange: var(--accent);
  --bg: #070912;
  --panel: rgba(255, 255, 255, 0.075);
  --panel-strong: rgba(15, 18, 31, 0.82);
  --text: #f8f9ff;
  --muted: #aeb4c5;
  --line: rgba(255, 255, 255, 0.13);
  --shadow: 0 20px 55px rgba(0, 0, 0, 0.35);
}
.site-header svg,
.hero svg,
.card svg,
.sidebar svg,
.notice svg {
  display: block;
  max-width: 48px;
  max-height: 48px;
}
html {
  scroll-behavior: smooth;
}
body:not(.dashboard):not(.admin-body) {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(
      circle at 8% 4%,
      color-mix(in srgb, var(--accent) 25%, transparent),
      transparent 28%
    ),
    radial-gradient(circle at 92% 22%, rgba(91, 74, 255, 0.2), transparent 30%),
    linear-gradient(145deg, #090b15 0%, #101425 48%, #070912 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
}
.container {
  width: 100%;
  max-width: 1440px;
  flex: 1;
  padding: 0 28px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 9, 18, 0.68);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}
.header-main {
  height: 72px;
  max-width: 1440px;
  padding: 0 28px;
  gap: 30px;
}
.brand {
  font-size: 26px;
  letter-spacing: -1.4px;
}
.brand b {
  color: var(--accent);
}
.header-search {
  height: 44px;
  max-width: 570px;
  margin-left: auto;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.075);
  overflow: hidden;
  transition: 0.2s;
}
.header-search:focus-within {
  border-color: color-mix(in srgb, var(--accent) 65%, white);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent);
}
.header-search > svg {
  width: 19px;
  margin-left: 15px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 2;
}
.header-search input {
  height: 100%;
  margin: 0;
  padding: 0 12px;
  background: transparent;
  color: #fff;
  border: 0;
  outline: 0;
}
.header-search input::placeholder {
  color: #8e94a5;
}
.header-search button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 100%;
  background: var(--accent);
  border: 0;
  color: #fff;
  cursor: pointer;
}
.header-search button svg,
.menu-toggle svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nav {
  background: rgba(255, 255, 255, 0.025);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.nav > div {
  height: 48px;
  max-width: 1440px;
  padding: 0 28px;
  gap: 10px;
}
.nav a {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: 10px;
  color: #c8ccda;
  transition: 0.2s;
}
.nav a svg {
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.nav a:hover,
.nav a:first-child {
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
}
.hero {
  min-height: 210px;
  margin-top: 28px;
  padding: 36px 40px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(
    110deg,
    rgba(255, 255, 255, 0.13),
    rgba(255, 255, 255, 0.045)
  );
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  overflow: hidden;
  position: relative;
}
.hero:after {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  right: -50px;
  top: -85px;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(70px);
  opacity: 0.24;
}
.hero h1 {
  font-size: clamp(31px, 4vw, 50px);
  letter-spacing: -2px;
  margin: 7px 0;
}
.hero p {
  color: var(--muted);
  font-size: 16px;
}
.eyebrow,
.category {
  color: color-mix(in srgb, var(--accent) 75%, white);
  letter-spacing: 1.2px;
}
.hero-badges {
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}
.hero-badges span {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--line);
  padding: 9px 12px;
  border-radius: 10px;
}
.hero-badges span:first-child {
  background: var(--accent);
  border-color: transparent;
}
.hero-badges svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}
.content-main {
  min-width: 0;
}
.section-title {
  margin: 35px 0 16px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
}
.section-title h2 {
  font-size: 26px;
}
.section-title > span {
  color: var(--muted);
}
.grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.featured {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.17);
  backdrop-filter: blur(14px);
  transition:
    transform 0.25s,
    border-color 0.25s,
    box-shadow 0.25s;
}
.card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.35);
}
.thumb {
  border-radius: 0;
}
.card:hover img {
  filter: brightness(0.72);
  transform: scale(1.045);
}
.thumb img {
  transition: 0.35s;
}
.play {
  width: 48px;
  height: 48px;
  background: color-mix(in srgb, var(--accent) 88%, transparent);
  border: 1px solid rgba(255, 255, 255, 0.35);
  opacity: 0;
  backdrop-filter: blur(8px);
}
.play svg {
  width: 23px;
  fill: white;
}
.hot {
  display: flex;
  align-items: center;
  gap: 4px;
  top: 10px;
  left: 10px;
  padding: 5px 8px;
  border-radius: 8px;
  background: var(--accent);
}
.hot svg {
  width: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.duration {
  bottom: 9px;
  right: 9px;
  padding: 4px 7px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 7px;
  backdrop-filter: blur(8px);
}
.card-copy {
  padding: 13px 14px 15px;
}
.card h3 {
  height: 39px;
  margin-bottom: 9px;
  font-size: 14px;
}
.card-copy p {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 7px;
}
.views {
  display: flex;
  align-items: center;
  gap: 5px;
}
.views svg {
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.sidebar {
  position: sticky;
  top: 142px;
  margin-top: 35px;
  display: grid;
  gap: 20px;
}
.side-panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.side-heading {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.side-heading > svg {
  width: 37px;
  height: 37px;
  padding: 8px;
  border-radius: 11px;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
}
.side-heading span {
  display: block;
  color: var(--accent);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
}
.side-heading h3 {
  margin: 1px 0 0;
  font-size: 18px;
}
.side-post {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 11px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.side-post:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.side-post img {
  width: 88px;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 10px;
}
.side-post span,
.rank-post span {
  min-width: 0;
}
.side-post b,
.rank-post b {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 12px;
  line-height: 1.4;
}
.side-post small,
.rank-post small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
}
.rank-post {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.rank-post:last-child {
  border: 0;
  padding-bottom: 0;
}
.rank-post > strong {
  color: rgba(255, 255, 255, 0.2);
  font-size: 26px;
  font-style: italic;
}
.rank-post:hover > strong {
  color: var(--accent);
}
.notice {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 42px 0 28px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  backdrop-filter: blur(16px);
}
.notice > svg {
  width: 29px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
}
.notice b,
.notice span {
  display: block;
}
.notice span {
  color: var(--muted);
  font-size: 12px;
}
.notice b {
  margin: 0;
  color: #fff;
  font-size: 13px;
}
body:not(.dashboard):not(.admin-body) > footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding: 25px max(28px, calc((100% - 1384px) / 2));
  border-top: 1px solid var(--line);
  background: rgba(5, 7, 14, 0.75);
  color: var(--muted);
  backdrop-filter: blur(16px);
}
.breadcrumb {
  color: var(--muted);
}
.single-copy,
.empty {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.player {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.pill,
.tags span {
  border: 1px solid color-mix(in srgb, var(--accent) 32%, transparent);
  border-radius: 9px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}
.lead,
.article-body {
  color: #c5c9d5;
}
@media (max-width: 1180px) {
  .content-layout {
    grid-template-columns: minmax(0, 1fr) 290px;
  }
  .grid,
  .featured {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .content-layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
    margin-top: 5px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .header-main {
    gap: 14px;
  }
  .nav > div {
    overflow-x: auto;
  }
  .nav a {
    white-space: nowrap;
  }
}
@media (max-width: 700px) {
  .container {
    padding: 0 15px;
  }
  .header-main {
    height: 64px;
    padding: 0 15px;
  }
  .brand {
    font-size: 21px;
  }
  .header-search {
    margin-left: auto;
    max-width: 240px;
  }
  .menu-toggle {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-left: 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--panel);
    color: #fff;
  }
  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    padding: 10px 15px;
    background: rgba(7, 9, 18, 0.94);
    backdrop-filter: blur(22px);
  }
  .nav.open {
    display: block;
  }
  .nav > div {
    height: auto;
    padding: 8px;
    display: grid;
    gap: 4px;
    overflow: visible;
  }
  .nav a {
    padding: 12px;
  }
  .hero {
    display: block;
    min-height: auto;
    margin-top: 16px;
    padding: 28px 24px;
    border-radius: 19px;
  }
  .hero h1 {
    letter-spacing: -1.4px;
  }
  .hero-badges {
    margin-top: 22px;
  }
  .sidebar {
    grid-template-columns: 1fr;
  }
  .section-title {
    margin-top: 28px;
  }
  body:not(.dashboard):not(.admin-body) > footer {
    flex-direction: column;
    padding: 22px 15px;
  }
  .player {
    margin-left: 0;
    margin-right: 0;
    border-radius: 15px;
  }
  .single-copy {
    padding: 20px;
  }
}
@media (max-width: 480px) {
  .header-search {
    width: 44px;
    flex: none;
  }
  .header-search > svg,
  .header-search input {
    display: none;
  }
  .header-search button {
    width: 44px;
  }
  .grid,
  .featured {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .card {
    border-radius: 13px;
  }
  .card-copy {
    padding: 10px;
  }
  .card h3 {
    font-size: 12px;
    height: 34px;
  }
  .category {
    font-size: 9px;
  }
  .views {
    font-size: 9px;
  }
  .hot {
    font-size: 8px;
  }
  .hero-badges {
    gap: 6px;
  }
  .hero-badges span {
    font-size: 9px;
    padding: 7px 8px;
  }
  .side-panel {
    border-radius: 16px;
  }
  .notice {
    align-items: flex-start;
  }
  .section-title h2 {
    font-size: 22px;
  }
}

/* Lightweight YouTube-inspired public theme. */
body:not(.dashboard):not(.admin-body) {
  background: #0f0f0f;
  background-attachment: scroll;
  color: #f1f1f1;
}
.site-header {
  background: #0f0f0f;
  border-bottom: 1px solid #272727;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.header-main {
  height: 64px;
}
.header-search {
  height: 40px;
  max-width: 640px;
  border-color: #303030;
  border-radius: 22px;
  background: #121212;
  box-shadow: none;
}
.header-search:focus-within {
  border-color: #1c62b9;
  box-shadow: inset 1px 0 #1c62b9;
}
.header-search button {
  width: 64px;
  border-left: 1px solid #303030;
  background: #222;
  border-radius: 0 22px 22px 0;
}
.header-search button:hover {
  background: #303030;
}
.menu-toggle {
  border-radius: 50%;
}
.nav {
  background: #0f0f0f;
  border-top: 0;
}
.nav > div {
  height: 52px;
  gap: 9px;
}
.nav a {
  padding: 8px 13px;
  border-radius: 9px;
  background: #272727;
  color: #f1f1f1;
}
.nav a:first-child {
  background: #f1f1f1;
  color: #0f0f0f;
}
.nav a:hover {
  background: #3f3f3f;
  color: #fff;
}
.hero {
  min-height: 150px;
  padding: 28px 32px;
  border: 0;
  border-radius: 14px;
  background: #212121;
  box-shadow: none;
  backdrop-filter: none;
}
.hero:after {
  display: none;
}
.hero h1 {
  font-size: clamp(28px, 3.2vw, 42px);
  letter-spacing: -1.2px;
}
.hero-badges span,
.hero-badges span:first-child {
  border: 0;
  border-radius: 18px;
  background: #3f3f3f;
}
.hero-badges span:first-child {
  background: #f1f1f1;
  color: #0f0f0f;
}
.section-title {
  border-color: #303030;
}
.card {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.card:hover {
  transform: none;
  border-color: transparent;
  box-shadow: none;
}
.thumb {
  border-radius: 12px;
}
.card:hover img {
  filter: brightness(0.8);
  transform: none;
}
.play {
  background: rgba(0, 0, 0, 0.72);
  border: 0;
  backdrop-filter: none;
}
.card-copy {
  padding: 11px 3px 15px;
}
.card h3 {
  font-size: 14px;
  font-weight: 600;
}
.category {
  color: #aaa;
  letter-spacing: 0;
}
.sidebar {
  top: 132px;
}
.side-panel {
  padding: 14px;
  border: 0;
  border-radius: 14px;
  background: #212121;
  box-shadow: none;
  backdrop-filter: none;
}
.side-heading > svg {
  background: #3f3f3f;
  stroke: #fff;
}
.side-heading span {
  color: #aaa;
}
.side-post,
.rank-post,
.side-heading {
  border-color: #383838;
}
.side-post img {
  border-radius: 8px;
}
.rank-post > strong {
  color: #777;
}
.notice {
  border: 0;
  border-radius: 12px;
  background: #212121;
  box-shadow: none;
  backdrop-filter: none;
}
body:not(.dashboard):not(.admin-body) > footer {
  border-color: #272727;
  background: #0f0f0f;
  backdrop-filter: none;
}
.single-copy,
.empty {
  border: 0;
  border-radius: 12px;
  background: #212121;
  box-shadow: none;
  backdrop-filter: none;
}
.player {
  border: 0;
  border-radius: 12px;
  box-shadow: none;
}
.pill,
.tags span {
  border: 0;
  border-radius: 18px;
  background: #272727;
  color: #f1f1f1;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 18px 2px 4px;
  color: #aaa;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
}
.breadcrumb a {
  flex: none;
  color: #aaa;
}
.breadcrumb a:hover {
  color: #fff;
}
.breadcrumb span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.breadcrumb svg {
  flex: none;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #777;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn {
  border-radius: 20px;
}
.hot {
  border-radius: 4px;
  background: #f00;
}
.duration {
  border: 0;
  border-radius: 4px;
  backdrop-filter: none;
}
@media (max-width: 700px) {
  .site-header {
    backdrop-filter: none;
  }
  .nav {
    background: #0f0f0f;
    backdrop-filter: none;
  }
  .hero {
    padding: 23px 20px;
  }
  .content-layout {
    gap: 12px;
  }
  .side-panel {
    padding: 12px;
  }
  .thumb {
    border-radius: 9px;
  }
}

/* Compact corners: rectangular controls with a subtle radius. */
.header-search,
.header-search button,
.nav a,
.menu-toggle,
.hero,
.hero-badges span,
.thumb,
.side-panel,
.side-post img,
.notice,
.single-copy,
.empty,
.player,
.pill,
.tags span,
.btn,
.preroll button {
  border-radius: 5px;
}
.card {
  border-radius: 0;
}
.hot,
.duration {
  border-radius: 3px;
}
.error-page {
  max-width: 720px;
  margin: 70px auto;
  padding: 55px 28px;
  text-align: center;
  border: 1px solid #303030;
  border-radius: 6px;
  background: #181818;
}
.error-page > span {
  display: block;
  color: #555;
  font-size: clamp(70px, 14vw, 140px);
  font-weight: 900;
  line-height: 0.85;
}
.error-page > svg {
  width: 54px;
  height: 54px;
  margin: 25px auto 10px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.7;
  stroke-linecap: round;
}
.error-page h1 {
  margin: 10px 0;
  font-size: 30px;
}
.error-page p {
  margin: 0 auto 25px;
  color: #aaa;
}
.error-page .btn {
  display: inline-block;
}

/* Dynamic active navigation and lightweight motion. */
.site-header .nav a:first-child:not(.active) {
  background: #272727;
  color: #f1f1f1;
}
.site-header .nav a.active,
.site-header .nav a.active:first-child {
  background: #f1f1f1;
  color: #0f0f0f;
}
.site-header .nav a {
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}
.site-header .nav a:hover {
  transform: translateY(-1px);
}
.site-header .nav a:active,
.btn:active,
.header-search button:active {
  transform: scale(0.97);
}
.btn,
.header-search button,
.side-post,
.rank-post {
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease,
    opacity 0.18s ease;
}
.side-post:hover,
.rank-post:hover {
  transform: translateX(3px);
}
.thumb:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 25%,
    rgba(255, 255, 255, 0.12) 50%,
    transparent 75%
  );
  transform: translateX(-130%);
  transition: transform 0.55s ease;
}
.card:hover .thumb:after {
  transform: translateX(130%);
}
.hero {
  animation: soft-enter 0.38s ease both;
}
.content-main > section,
.sidebar .side-panel,
.breadcrumb {
  animation: soft-enter 0.42s ease both;
}
.sidebar .side-panel:nth-child(2) {
  animation-delay: 0.07s;
}
.grid .card {
  animation: card-enter 0.35s ease both;
}
.grid .card:nth-child(2n) {
  animation-delay: 0.035s;
}
.grid .card:nth-child(3n) {
  animation-delay: 0.07s;
}
@keyframes soft-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes card-enter {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
  }
}

/* Admin-selected video hero. */
.home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}
.home-layout > .content-layout {
  display: block;
  min-width: 0;
}
.home-layout > .sidebar {
  grid-column: 2;
  grid-row: 1;
  position: sticky;
  top: 132px;
}
.content-layout > section {
  grid-column: 1;
}
.content-layout > .sidebar {
  grid-column: 2;
  grid-row: 1 / span 20;
}
.featured-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.8fr);
  gap: 10px;
  margin-top: 18px;
  min-height: 390px;
  animation: soft-enter 0.38s ease both;
}
.hero-lead {
  position: relative;
  display: block;
  min-height: 390px;
  overflow: hidden;
  border-radius: 6px;
  background: #181818;
}
.hero-lead > img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.hero-lead:hover > img {
  transform: scale(1.025);
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.9),
    rgba(0, 0, 0, 0.05) 70%
  );
}
.hero-copy {
  position: absolute;
  left: 25px;
  right: 80px;
  bottom: 24px;
}
.hero-copy small,
.hero-list small {
  display: block;
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
}
.hero-copy strong {
  display: block;
  margin: 5px 0;
  font-size: clamp(23px, 3vw, 38px);
  line-height: 1.08;
}
.hero-copy em,
.hero-list em {
  color: #bbb;
  font-size: 11px;
  font-style: normal;
}
.hero-play {
  position: absolute;
  right: 25px;
  bottom: 25px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 5px;
  background: #fff;
  color: #111;
}
.hero-play svg {
  width: 23px;
  fill: currentColor;
}
.hero-list {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.hero-list > a {
  display: grid;
  grid-template-columns: 44% 1fr;
  gap: 12px;
  min-height: 0;
  padding: 8px;
  border-radius: 6px;
  background: #212121;
  transition:
    background 0.18s,
    transform 0.18s;
}
.hero-list > a:hover {
  background: #2b2b2b;
  transform: translateX(2px);
}
.hero-list img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: 4px;
}
.hero-list span {
  align-self: center;
  min-width: 0;
}
.hero-list b {
  display: -webkit-box;
  margin: 4px 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 13px;
  line-height: 1.35;
}
@media (max-width: 850px) {
  .featured-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-lead {
    min-height: clamp(270px, 55vw, 430px);
  }
  .hero-list {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: none;
  }
  .hero-list > a {
    display: block;
    padding: 6px;
  }
  .hero-list img {
    height: auto;
    aspect-ratio: 16/9;
  }
  .hero-list span {
    display: block;
    padding: 7px 3px;
  }
}
@media (max-width: 560px) {
  .featured-hero {
    margin-left: -15px;
    margin-right: -15px;
    gap: 8px;
  }
  .hero-lead {
    min-height: 62vw;
    border-radius: 0;
  }
  .hero-copy {
    left: 16px;
    right: 60px;
    bottom: 16px;
  }
  .hero-copy strong {
    font-size: 21px;
  }
  .hero-play {
    right: 14px;
    bottom: 14px;
    width: 38px;
    height: 38px;
  }
  .hero-list {
    padding: 0 10px;
    gap: 7px;
  }
  .hero-list > a {
    border-radius: 4px;
  }
  .hero-list b {
    font-size: 11px;
  }
  .hero-list em {
    display: none;
  }
}
@media (max-width: 900px) {
  .home-layout {
    grid-template-columns: 1fr;
  }
  .home-layout > .sidebar {
    grid-column: 1;
    grid-row: auto;
    position: static;
  }
  .content-layout > section,
  .content-layout > .sidebar {
    grid-column: 1;
    grid-row: auto;
  }
}

/* Adult portal home essentials. */
.video-carousel {
  position: relative;
  width: 100%;
  height: clamp(330px, 42vw, 570px);
  margin: 18px 0 24px;
  overflow: hidden;
  border-radius: 6px;
  background: #181818;
}
.carousel-track,
.carousel-slide {
  position: absolute;
  inset: 0;
}
.carousel-slide {
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.015);
  transition:
    opacity 0.55s ease,
    transform 0.75s ease,
    visibility 0.55s;
}
.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 1;
}
.carousel-slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel-slide .hero-copy {
  z-index: 2;
  max-width: 700px;
}
.carousel-slide .hero-copy strong {
  font-size: clamp(28px, 4vw, 50px);
}
.carousel-slide .hero-play {
  z-index: 2;
}
.carousel-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 54px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 5px;
  background: #000b;
  color: #fff;
  cursor: pointer;
}
.carousel-arrow:hover {
  background: #fff;
  color: #111;
}
.carousel-arrow.prev {
  left: 14px;
}
.carousel-arrow.next {
  right: 14px;
}
.carousel-arrow svg {
  width: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.carousel-dots {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 14px;
  display: flex;
  gap: 7px;
  transform: translateX(-50%);
}
.carousel-dots button {
  width: 22px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: #ffffff66;
  cursor: pointer;
}
.carousel-dots button.active {
  background: var(--accent);
}
.latest-hero {
  height: clamp(390px, 42vw, 610px);
  border-radius: 2px;
}
.latest-hero .carousel-slide > img {
  object-position: center;
}
.latest-hero .hero-shade {
  background:
    linear-gradient(
      90deg,
      #070707 0%,
      rgba(7, 7, 7, 0.94) 12%,
      rgba(7, 7, 7, 0.6) 35%,
      rgba(7, 7, 7, 0.12) 67%
    ),
    linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent 42%);
}
.latest-hero .hero-copy {
  left: 6.5%;
  right: auto;
  bottom: 50%;
  width: min(570px, 58%);
  transform: translateY(50%);
}
.latest-hero .hero-copy small {
  color: #ff3347;
  letter-spacing: 1.4px;
}
.latest-hero .hero-copy strong {
  margin: 16px 0 12px;
  font-size: clamp(38px, 5vw, 72px);
  letter-spacing: -1.5px;
}
.latest-hero .hero-copy em {
  display: block;
  color: #eee;
  font-size: 12px;
  font-weight: 700;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 11px 16px;
  border-radius: 3px;
  background: #ff263d;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.hero-cta svg {
  width: 15px;
  fill: currentColor;
}
.latest-hero .carousel-dots {
  left: 6.5%;
  bottom: 26px;
  transform: none;
}
.latest-hero .carousel-dots button {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.latest-hero .carousel-dots button.active {
  width: 28px;
  border-radius: 4px;
  background: #ff263d;
}
@media (max-width: 650px) {
  .latest-hero {
    height: 72vw;
    min-height: 330px;
  }
  .latest-hero .hero-shade {
    background:
      linear-gradient(90deg, rgba(4, 4, 4, 0.92), rgba(4, 4, 4, 0.22) 75%),
      linear-gradient(0deg, rgba(0, 0, 0, 0.88), transparent 60%);
  }
  .latest-hero .hero-copy {
    left: 22px;
    right: 56px;
    bottom: 70px;
    width: auto;
    transform: none;
  }
  .latest-hero .hero-copy strong {
    margin: 9px 0;
    font-size: clamp(25px, 8vw, 38px);
    letter-spacing: -0.5px;
  }
  .latest-hero .hero-copy em {
    font-size: 10px;
  }
  .hero-cta {
    margin-top: 13px;
    padding: 9px 12px;
  }
  .latest-hero .carousel-dots {
    left: 22px;
    bottom: 18px;
  }
}
.watch-main {
  padding: 18px;
  border: 1px solid #292929;
  border-radius: 6px;
  background: #181818;
}
.watch-title {
  margin: 0 0 15px;
}
.watch-meta > .watch-actions {
  display: none;
}
.watch-main > .watch-actions {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
  padding: 12px 0;
  border-bottom: 1px solid #303030;
}
.watch-main > .video-description {
  margin-top: 0;
  border-radius: 0;
  background: transparent;
}
.watch-main > .related-section {
  margin-top: 10px;
}
.watch-sidebar .side-panel {
  padding: 12px;
}
.watch-sidebar .side-post {
  grid-template-columns: 120px minmax(0, 1fr);
}
.watch-sidebar .side-post img {
  width: 120px;
  aspect-ratio: 16/9;
}
.watch-sidebar .side-post b {
  font-size: 13px;
}
.watch-sidebar .rank-post {
  display: none;
}
@media (max-width: 650px) {
  .video-carousel {
    height: 58vw;
    min-height: 250px;
    margin-left: -15px;
    width: calc(100% + 30px);
    border-radius: 0;
  }
  .carousel-arrow {
    width: 36px;
    height: 44px;
  }
  .carousel-slide .hero-copy {
    left: 16px;
    right: 60px;
  }
  .carousel-slide .hero-copy strong {
    font-size: 23px;
  }
  .watch-main {
    margin: 0 -15px;
    padding: 12px;
    border-left: 0;
    border-right: 0;
  }
  .watch-sidebar .side-post {
    grid-template-columns: 105px minmax(0, 1fr);
  }
  .watch-sidebar .side-post img {
    width: 105px;
  }
}
.watch-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
  align-items: start;
}
.watch-main {
  min-width: 0;
}
.watch-title {
  margin: 8px 0 16px;
}
.watch-title h1 {
  margin: 8px 0;
  font-size: clamp(25px, 3.5vw, 40px);
  line-height: 1.12;
}
.watch-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  color: #aaa;
  font-size: 12px;
}
.watch-actions {
  display: flex;
  gap: 7px;
}
.watch-actions button {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border: 1px solid #333;
  border-radius: 5px;
  background: #242424;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.watch-actions button:hover,
.watch-actions button.saved {
  background: #fff;
  color: #111;
}
.watch-actions svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.watch-sidebar {
  position: sticky;
  top: 132px;
  display: grid;
  gap: 15px;
}
.video-description {
  margin-top: 14px;
  padding: 22px;
  border-radius: 6px;
  background: #212121;
}
.video-description h2 {
  margin: 0 0 12px;
  font-size: 18px;
}
.sponsor-slot {
  position: relative;
  display: block;
  margin-top: 12px;
  padding: 8px;
  border: 1px solid #333;
  border-radius: 5px;
  background: #181818;
  text-align: center;
}
.sponsor-slot small {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 3px 5px;
  background: #000c;
  color: #bbb;
  font-size: 8px;
}
.sponsor-slot img {
  display: block;
  width: 100%;
  max-height: 120px;
  object-fit: contain;
}
.sponsor-side {
  margin: 0;
}
.sponsor-side img {
  max-height: 260px;
}
.related-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.watch-sidebar .side-heading {
  padding: 6px 0 14px;
}
.watch-sidebar .side-heading > svg {
  width: 34px;
  height: 34px;
}
.watch-sidebar .side-panel {
  margin: 0;
}
@media (max-width: 980px) {
  .watch-layout {
    grid-template-columns: 1fr;
  }
  .watch-sidebar {
    position: static;
    grid-template-columns: 1fr 260px;
  }
  .related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 650px) {
  .watch-title h1 {
    font-size: 24px;
  }
  .watch-meta {
    align-items: flex-start;
    flex-direction: column;
  }
  .watch-actions {
    width: 100%;
  }
  .watch-actions button {
    flex: 1;
    justify-content: center;
  }
  .watch-sidebar {
    grid-template-columns: 1fr;
  }
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .video-description {
    padding: 17px;
  }
}
.compact-empty {
  padding: 38px 20px;
}
.compact-empty h3 {
  margin: 0 0 6px;
}
.compact-empty p {
  margin: 0;
  color: #999;
}
.age-locked {
  overflow: hidden;
}
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.92);
  animation: gate-in 0.2s ease;
}
.age-gate[hidden] {
  display: none;
}
.age-gate.closing {
  opacity: 0;
  transition: opacity 0.2s;
}
.age-dialog {
  width: min(520px, 100%);
  padding: 38px;
  border: 1px solid #383838;
  border-top: 3px solid var(--accent);
  border-radius: 6px;
  background: #181818;
  text-align: center;
  box-shadow: 0 25px 80px #000;
}
.age-dialog > strong {
  display: grid;
  place-items: center;
  width: 78px;
  height: 58px;
  margin: 0 auto 18px;
  border-radius: 5px;
  background: var(--accent);
  color: #fff;
  font-size: 28px;
}
.age-dialog h1 {
  margin: 8px 0 10px;
  font-size: 27px;
}
.age-dialog p {
  margin: 0 auto 25px;
  color: #aaa;
  font-size: 14px;
  line-height: 1.6;
}
.age-dialog > div {
  display: flex;
  justify-content: center;
  gap: 9px;
}
.age-dialog button {
  min-height: 42px;
  padding: 10px 18px;
  border: 0;
  border-radius: 5px;
  font-weight: 800;
  cursor: pointer;
}
.age-leave {
  background: #303030;
  color: #fff;
}
.age-leave:hover {
  background: #3c3c3c;
}
.category-showcase {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin: 24px 0 2px;
  padding: 18px 20px;
  border: 1px solid #292929;
  border-radius: 6px;
  background: #181818;
}
.category-showcase h2 {
  margin: 2px 0;
  font-size: 21px;
}
.category-scroll {
  display: flex;
  gap: 8px;
  max-width: 75%;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: thin;
}
.category-scroll > a {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 150px;
  padding: 10px 12px;
  border: 1px solid #333;
  border-radius: 5px;
  background: #232323;
  transition:
    background 0.18s,
    border-color 0.18s,
    transform 0.18s;
}
.category-scroll > a:hover {
  background: #2d2d2d;
  border-color: #555;
  transform: translateY(-1px);
}
.category-scroll svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  color: var(--accent);
}
.category-scroll b,
.category-scroll small {
  display: block;
}
.category-scroll b {
  font-size: 12px;
}
.category-scroll small {
  margin-top: 2px;
  color: #999;
  font-size: 10px;
}
@keyframes gate-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (max-width: 760px) {
  .category-showcase {
    display: block;
    padding: 15px;
  }
  .category-showcase > div:first-child {
    margin-bottom: 12px;
  }
  .category-scroll {
    max-width: none;
  }
  .category-scroll > a {
    min-width: 135px;
  }
  .age-dialog {
    padding: 30px 20px;
  }
  .age-dialog > div {
    flex-direction: column;
  }
  .age-dialog button {
    width: 100%;
  }
}
.watch-layout + .related-section {
  width: 100%;
  margin-top: 28px;
  padding-top: 4px;
  border-top: 1px solid #292929;
}
.watch-layout + .related-section .related-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 900px) {
  .watch-layout + .related-section .related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .watch-layout + .related-section .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Clean admin sidebar. */
.dashboard {
  grid-template-columns: 260px minmax(0, 1fr);
  background: #0d1017;
}
.dashboard > aside {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  width: 260px;
  height: 100vh;
  padding: 24px 16px !important;
  border-right: 1px solid #252b36;
  background: #121722;
  box-shadow: 8px 0 28px #0003;
}
.dashboard > aside > .brand {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-size: 23px;
}
.dashboard > aside nav {
  display: flex !important;
  flex: 1;
  flex-direction: column;
  gap: 4px;
  margin-top: 25px !important;
  padding: 0 2px 12px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #394456 transparent;
}
.dashboard > aside nav a {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 43px;
  width: 100%;
  padding: 10px 12px !important;
  border: 1px solid transparent !important;
  border-radius: 6px !important;
  color: #aab3c2 !important;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.15;
  text-decoration: none !important;
  transition:
    background 0.16s,
    color 0.16s,
    border-color 0.16s,
    transform 0.16s;
}
.dashboard > aside nav a:hover {
  transform: translateX(2px);
  border-color: #303a49 !important;
  background: #1b2330 !important;
  color: #fff !important;
}
.dashboard > aside nav a.active {
  border-color: #245d91 !important;
  border-left: 3px solid #58a6ff !important;
  background: #17314d !important;
  color: #fff !important;
  box-shadow: inset 0 0 18px #58a6ff0d;
}
.dashboard > aside nav a:nth-last-child(2) {
  margin-top: auto;
}
.dashboard > aside nav a:last-child {
  color: #ff8c86 !important;
}
.dashboard > aside nav a:last-child:hover {
  border-color: #713c42 !important;
  background: #321e24 !important;
}
.dashboard > aside .nav-icon {
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  margin: 0;
  stroke-width: 1.8;
}
.dashboard .admin-main {
  min-width: 0;
  padding: 38px clamp(20px, 4vw, 52px);
}
.dashboard .admin-title {
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #252b36;
}
.dashboard .admin-title h1 {
  margin: 4px 0 0;
}
.dashboard .admin-menu-toggle {
  flex: 0 0 42px;
}
@media (max-width: 800px) {
  .dashboard {
    display: block;
  }
  .dashboard > aside {
    position: sticky !important;
    top: 0;
    width: 100%;
    height: 68px !important;
    padding: 12px 16px !important;
    flex-direction: row;
    align-items: center;
    box-shadow: 0 8px 24px #0006;
  }
  .dashboard > aside > .brand {
    padding: 0;
  }
  .dashboard > aside nav {
    display: none !important;
    position: absolute;
    top: 67px;
    left: 10px;
    right: 10px;
    max-height: calc(100vh - 82px);
    margin: 0 !important;
    padding: 10px !important;
    border: 1px solid #303a49;
    border-radius: 7px;
    background: #121722;
    box-shadow: 0 18px 45px #000b;
    overflow-y: auto;
  }
  .dashboard > aside.menu-open nav {
    display: flex !important;
  }
  .dashboard > aside nav a:nth-last-child(2) {
    margin-top: 8px;
  }
  .dashboard .admin-main {
    padding: 24px 15px;
  }
  .dashboard .admin-title {
    align-items: flex-start;
  }
  .dashboard .admin-title .btn {
    white-space: nowrap;
  }
}
.admin-collapse {
  position: absolute;
  top: 27px;
  right: -17px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 7px;
  border: 1px solid #344052;
  border-radius: 6px;
  background: #19212e;
  color: #b8c4d5;
  box-shadow: 0 5px 18px #0007;
  cursor: pointer;
  transition:
    background 0.18s,
    color 0.18s,
    border-color 0.18s,
    transform 0.22s;
}
.admin-collapse:hover {
  border-color: #58a6ff;
  background: #214d78;
  color: #fff;
  transform: translateX(2px);
}
.admin-collapse:focus-visible {
  outline: 3px solid #58a6ff66;
  outline-offset: 2px;
}
.admin-collapse svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}
.admin-collapse .collapse-chevron {
  transform-origin: 18px 32px;
  transition: transform 0.22s;
}
.dashboard,
.dashboard > aside,
.dashboard > aside > .brand,
.dashboard > aside nav a {
  transition:
    grid-template-columns 0.24s,
    width 0.24s,
    padding 0.24s,
    background 0.18s,
    color 0.18s,
    transform 0.18s;
}
.dashboard.admin-collapsed {
  grid-template-columns: 78px minmax(0, 1fr);
}
.dashboard.admin-collapsed > aside {
  width: 78px;
  padding-left: 10px !important;
  padding-right: 10px !important;
}
.dashboard.admin-collapsed > aside > .brand {
  justify-content: center;
  width: 100%;
  padding: 0;
  font-size: 0;
  overflow: hidden;
}
.dashboard.admin-collapsed > aside > .brand:after {
  content: "V";
  font-size: 24px;
  font-weight: 950;
  color: var(--orange);
}
.dashboard.admin-collapsed > aside > .brand img {
  display: none;
}
.dashboard.admin-collapsed > aside nav {
  padding-left: 0;
  padding-right: 0;
}
.dashboard.admin-collapsed > aside nav a {
  justify-content: center;
  gap: 0;
  padding: 10px !important;
  font-size: 0;
}
.dashboard.admin-collapsed > aside nav a .nav-icon {
  width: 21px;
  height: 21px;
}
.dashboard.admin-collapsed .admin-collapse .collapse-chevron {
  transform: rotate(180deg);
}
.dashboard.admin-collapsed > aside nav a:hover {
  transform: translateY(-1px);
  background: #23476a !important;
  color: #fff !important;
  box-shadow:
    0 0 0 1px #58a6ff55,
    0 7px 18px #0004;
}
.dashboard > aside nav a.active .nav-icon {
  filter: drop-shadow(0 0 5px #58a6ff88);
}
@media (max-width: 800px) {
  .admin-collapse {
    display: none;
  }
  .dashboard.admin-collapsed {
    display: block;
  }
  .dashboard.admin-collapsed > aside {
    width: 100%;
    padding: 12px 16px !important;
  }
  .dashboard.admin-collapsed > aside > .brand {
    justify-content: flex-start;
    width: auto;
    font-size: 21px;
  }
  .dashboard.admin-collapsed > aside > .brand:after {
    display: none;
  }
  .dashboard.admin-collapsed > aside > .brand img {
    display: block;
  }
  .dashboard.admin-collapsed > aside nav a {
    justify-content: flex-start;
    gap: 11px;
    font-size: 13px;
  }
}
.sponsor-placement {
  display: none;
  width: 100%;
  margin: 22px 0;
  text-align: center;
}
.sponsor-placement.placed {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.sponsor-placement .native-banner {
  display: block;
  width: 100%;
  line-height: 0;
}
.sponsor-placement img {
  display: block;
  max-width: 100%;
  width: auto;
  max-height: 180px;
  margin: auto;
  object-fit: contain;
}
@media (max-width: 700px) {
  .sponsor-placement {
    margin: 14px 0;
  }
  .sponsor-placement img {
    max-height: 130px;
  }
}
.sponsor-placement.ad-layout-horizontal.placed {
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
  width: 100%;
  margin: 14px auto;
}
.sponsor-placement.ad-layout-horizontal .native-banner {
  flex: 0 1 auto;
  width: auto;
  min-width: 0;
  max-width: calc(50% - 3px);
  height: 180px;
  overflow: hidden;
}
.sponsor-placement.ad-layout-horizontal img {
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
  max-height: none;
  margin: 0;
  object-fit: contain;
  background: transparent;
}
@media (max-width: 900px) {
  .sponsor-placement.ad-layout-horizontal .native-banner {
    height: 150px;
  }
}
@media (max-width: 600px) {
  .sponsor-placement.ad-layout-horizontal.placed {
    gap: 3px;
    margin: 9px auto;
  }
  .sponsor-placement.ad-layout-horizontal .native-banner {
    height: 120px;
  }
  .video-server-switcher {
    width: auto;
    margin-right: auto;
  }
  .video-server-switcher > div {
    flex: 0 0 auto;
  }
  .video-server-switcher button {
    flex: 0 0 auto;
    min-width: 84px;
  }
}
@media (max-width: 380px) {
  .sponsor-placement.ad-layout-horizontal .native-banner {
    height: 105px;
  }
}

/* Keep the homepage navbar identical to category/popular/archive pages. */
.home-page .catalog-header {
  position: sticky !important;
  top: 0 !important;
  width: 100vw !important;
  height: auto !important;
  margin-left: calc(50% - 50vw) !important;
  padding: 0 !important;
  background: #030303 !important;
  border: 0 !important;
  border-bottom: 1px solid #303030 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}
.home-page .catalog-header .header-main {
  width: 100% !important;
  max-width: 1220px !important;
  height: 58px !important;
  min-height: 58px !important;
  margin: 0 auto !important;
  padding: 0 16px !important;
  gap: 28px !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}
.home-page .catalog-header .brand {
  min-width: 136px !important;
  font-size: 20px !important;
}
.home-page .catalog-header .brand img {
  width: auto !important;
  max-width: 112px !important;
  max-height: 34px !important;
}
.home-page .catalog-header .header-search {
  width: auto !important;
  max-width: 505px !important;
  height: 38px !important;
  margin: 0 !important;
  border-radius: 7px !important;
  background: #050505 !important;
}
.home-page .catalog-header .header-search button {
  width: 56px !important;
  height: 100% !important;
  border-radius: 0 !important;
}
.home-page .catalog-header .header-actions {
  margin-left: auto !important;
  gap: 22px !important;
  font-size: 12px !important;
}
.home-page .catalog-header .nav > div {
  max-width: 1220px !important;
  height: 47px !important;
  padding: 0 16px !important;
}
@media (max-width: 720px) {
  .home-page .catalog-header .header-main {
    height: 56px !important;
    min-height: 56px !important;
    padding: 0 10px !important;
    gap: 10px !important;
  }
  .home-page .catalog-header .brand {
    min-width: 90px !important;
  }
  .home-page .catalog-header .brand img {
    max-width: 88px !important;
    max-height: 30px !important;
  }
  .home-page .catalog-header .header-search {
    max-width: none !important;
    height: 36px !important;
  }
  .home-page .catalog-header .nav > div {
    height: 44px !important;
    padding: 0 10px !important;
  }
}

/* Public desktop navigation: fixed left sidebar. Mobile keeps the compact top bar. */
@media (min-width: 901px) {
  body:not(.dashboard):not(.admin-body) > main.container {
    width: calc(100% - 250px) !important;
    max-width: none !important;
    margin: 0 0 0 250px !important;
    padding: 0 24px 48px !important;
  }

  body:not(.dashboard):not(.admin-body) .catalog-header,
  .home-page .catalog-header {
    position: fixed !important;
    z-index: 100 !important;
    inset: 0 auto 0 0 !important;
    display: flex !important;
    flex-direction: column !important;
    width: 250px !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #050505 !important;
    border: 0 !important;
    border-right: 1px solid #2b2b2b !important;
    box-shadow: 12px 0 32px rgba(0, 0, 0, .24) !important;
  }

  body:not(.dashboard):not(.admin-body) .catalog-header .header-main,
  .home-page .catalog-header .header-main {
    display: flex !important;
    flex: 0 0 auto !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 24px 18px 16px !important;
    gap: 18px !important;
  }

  body:not(.dashboard):not(.admin-body) .catalog-header .brand,
  .home-page .catalog-header .brand {
    display: flex !important;
    align-items: center !important;
    min-width: 0 !important;
    min-height: 42px !important;
    font-size: 23px !important;
  }

  body:not(.dashboard):not(.admin-body) .catalog-header .brand img,
  .home-page .catalog-header .brand img {
    width: auto !important;
    max-width: 170px !important;
    max-height: 42px !important;
  }

  body:not(.dashboard):not(.admin-body) .catalog-header .header-search,
  .home-page .catalog-header .header-search {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: none !important;
    height: 40px !important;
    margin: 0 !important;
    border-radius: 8px !important;
  }

  body:not(.dashboard):not(.admin-body) .catalog-header .header-search button {
    width: 48px !important;
    overflow: hidden !important;
    color: transparent !important;
    font-size: 0 !important;
  }

  body:not(.dashboard):not(.admin-body) .catalog-header .header-search button::after {
    content: "\2192";
    color: #050505;
    font-size: 18px;
  }

  body:not(.dashboard):not(.admin-body) .catalog-header .header-actions,
  .home-page .catalog-header .header-actions {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    width: 100% !important;
    margin: 0 !important;
    gap: 6px !important;
    font-size: 10px !important;
    text-align: center !important;
  }

  body:not(.dashboard):not(.admin-body) .catalog-header .header-actions a {
    padding: 8px 4px !important;
    border: 1px solid #2e2e2e !important;
    border-radius: 6px !important;
    background: #0d0d0d !important;
  }

  body:not(.dashboard):not(.admin-body) .catalog-header .nav,
  body:not(.dashboard):not(.admin-body) .catalog-header .nav.open,
  .home-page .catalog-header .nav,
  .home-page .catalog-header .nav.open {
    position: static !important;
    display: block !important;
    flex: 1 1 auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 8px 10px 24px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    background: transparent !important;
    border-top: 1px solid #242424 !important;
  }

  body:not(.dashboard):not(.admin-body) .catalog-header .nav > div,
  .home-page .catalog-header .nav > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 4px !important;
    overflow: visible !important;
    white-space: normal !important;
  }

  body:not(.dashboard):not(.admin-body) .catalog-header .nav a,
  .home-page .catalog-header .nav a,
  .home-page .catalog-header .nav a:first-child {
    display: flex !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    min-height: 42px !important;
    padding: 10px 12px !important;
    gap: 11px !important;
    border-radius: 7px !important;
    color: #d4d4d4 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
  }

  body:not(.dashboard):not(.admin-body) .catalog-header .nav a:hover,
  body:not(.dashboard):not(.admin-body) .catalog-header .nav a.active {
    color: #fff !important;
    background: #171717 !important;
    opacity: 1 !important;
  }

  body:not(.dashboard):not(.admin-body) .catalog-header .nav svg {
    flex: 0 0 18px !important;
    width: 18px !important;
    height: 18px !important;
  }

  body:not(.dashboard):not(.admin-body) > footer:not(.site-footer) {
    width: calc(100% - 250px) !important;
    margin-left: 250px !important;
  }
}

@media (max-width: 900px) {
  body:not(.dashboard):not(.admin-body) > main.container {
    width: 100% !important;
    max-width: 1380px !important;
    margin: 0 auto !important;
  }

  body:not(.dashboard):not(.admin-body) .catalog-header,
  .home-page .catalog-header {
    position: sticky !important;
    inset: auto !important;
    top: 0 !important;
    display: block !important;
    width: 100vw !important;
    height: auto !important;
    margin-left: calc(50% - 50vw) !important;
    overflow: visible !important;
    border-right: 0 !important;
    border-bottom: 1px solid #303030 !important;
    box-shadow: none !important;
  }

  body:not(.dashboard):not(.admin-body) > footer:not(.site-footer) {
    width: 100% !important;
    margin-left: 0 !important;
  }
}

/* Definitive responsive navbar and drawer rules. */
body:not(.dashboard):not(.admin-body) .catalog-header .catalog-menu-toggle {
  position: relative !important;
  overflow: hidden !important;
  transition: border-color .2s ease, background .2s ease, transform .15s ease !important;
}
body:not(.dashboard):not(.admin-body) .catalog-header .catalog-menu-toggle:hover {
  border-color: #555 !important;
  background: #1b1b1b !important;
}
body:not(.dashboard):not(.admin-body) .catalog-header .catalog-menu-toggle:active,
body:not(.dashboard):not(.admin-body) .catalog-header .catalog-drawer-close:active {
  transform: scale(.92) !important;
}
body:not(.dashboard):not(.admin-body) .catalog-header .catalog-menu-toggle .menu-line {
  position: absolute;
  left: 9px;
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform-origin: center;
  transition: top .22s ease, opacity .16s ease, transform .22s ease;
}
body:not(.dashboard):not(.admin-body) .catalog-header .catalog-menu-toggle .menu-line:nth-child(1) { top: 12px; }
body:not(.dashboard):not(.admin-body) .catalog-header .catalog-menu-toggle .menu-line:nth-child(2) { top: 18px; }
body:not(.dashboard):not(.admin-body) .catalog-header .catalog-menu-toggle .menu-line:nth-child(3) { top: 24px; }
body:not(.dashboard):not(.admin-body) .catalog-header.catalog-drawer-open .catalog-menu-toggle .menu-line:nth-child(1) {
  top: 18px;
  transform: rotate(45deg);
}
body:not(.dashboard):not(.admin-body) .catalog-header.catalog-drawer-open .catalog-menu-toggle .menu-line:nth-child(2) {
  opacity: 0;
  transform: translateX(12px);
}
body:not(.dashboard):not(.admin-body) .catalog-header.catalog-drawer-open .catalog-menu-toggle .menu-line:nth-child(3) {
  top: 18px;
  transform: rotate(-45deg);
}
body:not(.dashboard):not(.admin-body) .catalog-header .catalog-drawer-close {
  position: relative !important;
  overflow: hidden !important;
  transition: border-color .2s ease, background .2s ease, transform .18s ease !important;
}
body:not(.dashboard):not(.admin-body) .catalog-header .catalog-drawer-close:hover {
  border-color: #666 !important;
  background: #292929 !important;
  transform: rotate(90deg) !important;
}
body:not(.dashboard):not(.admin-body) .catalog-header .catalog-drawer-close .close-line {
  position: absolute;
  left: 9px;
  top: 16px;
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
body:not(.dashboard):not(.admin-body) .catalog-header .catalog-drawer-close .close-line:first-child { transform: rotate(45deg); }
body:not(.dashboard):not(.admin-body) .catalog-header .catalog-drawer-close .close-line:last-child { transform: rotate(-45deg); }
@media (prefers-reduced-motion: reduce) {
  body:not(.dashboard):not(.admin-body) .catalog-header .catalog-menu-toggle,
  body:not(.dashboard):not(.admin-body) .catalog-header .catalog-menu-toggle .menu-line,
  body:not(.dashboard):not(.admin-body) .catalog-header .catalog-drawer-close {
    transition: none !important;
  }
}
body:not(.dashboard):not(.admin-body) .archive-pagination {
  width: 100% !important;
  margin-right: auto !important;
  margin-left: auto !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
}
@media (max-width: 1050px) {
  html,
  body:not(.dashboard):not(.admin-body) {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
  body:not(.dashboard):not(.admin-body) .catalog-header {
    position: sticky !important;
    z-index: 250 !important;
    top: 0 !important;
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
  }
  body:not(.dashboard):not(.admin-body) .catalog-header.catalog-drawer-open {
    z-index: 320 !important;
  }
  body:not(.dashboard):not(.admin-body) .catalog-header .header-main {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 60px !important;
    min-height: 60px !important;
    padding: 0 12px !important;
    gap: 10px !important;
  }
  body:not(.dashboard):not(.admin-body) .catalog-header .header-search {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
  }
  body:not(.dashboard):not(.admin-body) .catalog-header .header-search input {
    width: 100% !important;
    min-width: 0 !important;
  }
  body:not(.dashboard):not(.admin-body) .catalog-header .header-actions {
    display: none !important;
  }
  body:not(.dashboard):not(.admin-body) .catalog-header .catalog-menu-toggle {
    display: grid !important;
    flex: 0 0 40px !important;
    width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    place-items: center !important;
    color: #fff !important;
    background: #111 !important;
    border: 1px solid #303030 !important;
    border-radius: 6px !important;
  }
  body:not(.dashboard):not(.admin-body) .catalog-header .catalog-menu-toggle svg {
    width: 21px !important;
    height: 21px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
  }
  body:not(.dashboard):not(.admin-body) .catalog-header .nav#catalog-nav,
  body:not(.dashboard):not(.admin-body) .catalog-header .nav#catalog-nav.open {
    position: fixed !important;
    z-index: 310 !important;
    inset: 0 0 0 auto !important;
    display: block !important;
    width: min(88vw, 360px) !important;
    max-width: 360px !important;
    height: 100dvh !important;
    margin: 0 !important;
    padding: 0 !important;
    visibility: hidden !important;
    opacity: 0 !important;
    overflow: hidden !important;
    background: #101010 !important;
    border: 0 !important;
    border-left: 1px solid #303030 !important;
    transform: translateX(105%) !important;
    transition: transform .25s ease, opacity .2s ease, visibility .25s !important;
  }
  body:not(.dashboard):not(.admin-body) .catalog-header.catalog-drawer-open .nav#catalog-nav {
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateX(0) !important;
  }
  body:not(.dashboard):not(.admin-body) .catalog-header .nav#catalog-nav > div {
    display: flex !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 14px 24px !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    flex-direction: column !important;
    gap: 5px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    white-space: normal !important;
  }
  body:not(.dashboard):not(.admin-body) .catalog-header .nav#catalog-nav a,
  body:not(.dashboard):not(.admin-body) .catalog-header .nav#catalog-nav a:first-child {
    display: flex !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 43px !important;
    padding: 10px 12px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 11px !important;
    color: #ddd !important;
    background: #181818 !important;
    border: 1px solid #292929 !important;
    border-radius: 6px !important;
  }
  body:not(.dashboard):not(.admin-body) .catalog-header .nav#catalog-nav .mobile-drawer-only {
    display: flex !important;
  }
  body:not(.dashboard):not(.admin-body) .catalog-drawer-backdrop.open {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  body.catalog-drawer-active:not(.dashboard):not(.admin-body) {
    overflow: hidden !important;
    touch-action: none;
  }
}

@media (max-width: 720px) {
  body:not(.dashboard):not(.admin-body) .catalog-header .header-main {
    height: 56px !important;
    min-height: 56px !important;
    padding: 0 8px !important;
    gap: 7px !important;
  }
  body:not(.dashboard):not(.admin-body) .catalog-header .brand {
    flex: 0 0 104px !important;
    width: 104px !important;
    min-width: 104px !important;
  }
  body:not(.dashboard):not(.admin-body) .catalog-header .brand img {
    width: 90px !important;
    max-width: 90px !important;
    max-height: 31px !important;
  }
  body:not(.dashboard):not(.admin-body) .catalog-header .brand-region {
    top: 8px !important;
    left: 72px !important;
    font-size: 7px !important;
  }
  body:not(.dashboard):not(.admin-body) .catalog-header .header-search {
    height: 38px !important;
  }
  body:not(.dashboard):not(.admin-body) .catalog-header .header-search button {
    display: none !important;
  }
  body:not(.dashboard):not(.admin-body) .catalog-header .catalog-menu-toggle {
    flex-basis: 38px !important;
    width: 38px !important;
    height: 38px !important;
  }
}

@media (max-width: 430px) {
  body:not(.dashboard):not(.admin-body) .catalog-header .brand {
    flex-basis: 86px !important;
    width: 86px !important;
    min-width: 86px !important;
  }
  body:not(.dashboard):not(.admin-body) .catalog-header .brand img {
    width: 74px !important;
    max-width: 74px !important;
  }
  body:not(.dashboard):not(.admin-body) .catalog-header .brand-region {
    left: 59px !important;
  }
  body:not(.dashboard):not(.admin-body) .catalog-header .header-search input {
    padding: 0 8px 0 34px !important;
    font-size: 12px !important;
  }
  body:not(.dashboard):not(.admin-body) .catalog-header .header-search > svg {
    left: 10px !important;
    width: 16px !important;
    height: 16px !important;
  }
}

/* Keep listing cards identical to the simplified homepage cards. */
body:not(.dashboard):not(.admin-body) .content-layout .grid > .card,
body:not(.dashboard):not(.admin-body) .archive-page .grid > .card {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  padding: 0 !important;
  border: 1px solid #353535 !important;
  border-radius: 8px !important;
  background: #090909 !important;
  box-shadow: none !important;
  overflow: hidden !important;
  transform: none !important;
}
body:not(.dashboard):not(.admin-body) .content-layout .grid > .card:hover,
body:not(.dashboard):not(.admin-body) .archive-page .grid > .card:hover {
  border-color: #666 !important;
  box-shadow: none !important;
  transform: translateY(-2px) !important;
}
body:not(.dashboard):not(.admin-body) .content-layout .grid > .card .thumb,
body:not(.dashboard):not(.admin-body) .archive-page .grid > .card .thumb {
  border-radius: 7px 7px 0 0 !important;
  box-shadow: none !important;
}
body:not(.dashboard):not(.admin-body) .content-layout .grid > .card:hover .thumb img,
body:not(.dashboard):not(.admin-body) .archive-page .grid > .card:hover .thumb img {
  filter: brightness(.82) !important;
  transform: scale(1.02) !important;
}
body:not(.dashboard):not(.admin-body) .content-layout .grid > .card .card-copy,
body:not(.dashboard):not(.admin-body) .archive-page .grid > .card .card-copy {
  padding: 11px 12px 12px !important;
}
body:not(.dashboard):not(.admin-body) .content-layout .grid > .card h3,
body:not(.dashboard):not(.admin-body) .archive-page .grid > .card h3 {
  display: block !important;
  height: 38px !important;
  min-height: 0 !important;
  margin: 0 0 8px !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
}
body:not(.dashboard):not(.admin-body) .content-layout .grid > .card .card-copy > p,
body:not(.dashboard):not(.admin-body) .archive-page .grid > .card .card-copy > p {
  min-height: 0 !important;
  padding-top: 0 !important;
  justify-content: flex-end !important;
  border-top: 0 !important;
}
body:not(.dashboard):not(.admin-body) .content-layout .grid > .card .views,
body:not(.dashboard):not(.admin-body) .archive-page .grid > .card .views {
  margin-left: auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #a8a8a8 !important;
}
body:not(.dashboard):not(.admin-body) .content-layout .grid > .card .views svg,
body:not(.dashboard):not(.admin-body) .archive-page .grid > .card .views svg {
  width: 15px !important;
  fill: none !important;
  stroke: currentColor !important;
}

/* One canonical navbar on every public page. */
body:not(.dashboard):not(.admin-body) .catalog-header {
  position: sticky !important;
  inset: 0 auto auto !important;
  z-index: 80 !important;
  width: 100vw !important;
  height: auto !important;
  margin-left: calc(50% - 50vw) !important;
  padding: 0 !important;
  background: #030303 !important;
  border: 0 !important;
  border-bottom: 1px solid #303030 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}
body:not(.dashboard):not(.admin-body) .catalog-header .header-main {
  display: flex !important;
  width: 100% !important;
  max-width: 1220px !important;
  height: 58px !important;
  min-height: 58px !important;
  margin: 0 auto !important;
  padding: 0 16px !important;
  align-items: center !important;
  gap: 28px !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}
body:not(.dashboard):not(.admin-body) .catalog-header .brand {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex: 0 0 168px !important;
  width: 168px !important;
  min-width: 168px !important;
  margin: 0 !important;
  font-size: 20px !important;
}
body:not(.dashboard):not(.admin-body) .catalog-header .brand img {
  width: 140px !important;
  height: auto !important;
  max-width: 140px !important;
  max-height: 42px !important;
}

body:not(.dashboard):not(.admin-body) .catalog-header .brand-region {
  position: absolute !important;
  top: 9px !important;
  left: 108px !important;
  display: inline-block !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  color: #a7a7a7 !important;
  font-size: 8px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: .35px !important;
  text-transform: uppercase !important;
  transform: none !important;
}
body:not(.dashboard):not(.admin-body) .catalog-header .header-search {
  display: flex !important;
  flex: 1 1 505px !important;
  width: auto !important;
  min-width: 180px !important;
  max-width: 505px !important;
  height: 38px !important;
  margin: 0 !important;
  padding: 0 !important;
  align-items: center !important;
  border: 1px solid #393939 !important;
  border-radius: 7px !important;
  background: #050505 !important;
  box-shadow: none !important;
  position: relative !important;
  overflow: visible !important;
}
body:not(.dashboard):not(.admin-body) .catalog-header .header-search input {
  display: block !important;
  flex: 1 1 auto !important;
  width: 0 !important;
  min-width: 0 !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 12px !important;
  color: #fff !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
body:not(.dashboard):not(.admin-body) .catalog-header .search-suggestions {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  right: 0 !important;
  left: 0 !important;
  z-index: 200 !important;
  width: 100% !important;
  max-height: min(430px, 70vh) !important;
  padding: 6px !important;
  border: 1px solid #343434 !important;
  border-radius: 7px !important;
  background: #151515 !important;
  box-shadow: 0 18px 45px rgba(0,0,0,.7) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}
body:not(.dashboard):not(.admin-body) .catalog-header .search-suggestions[hidden] {
  display: none !important;
}
body:not(.dashboard):not(.admin-body) .catalog-header .search-suggestions a {
  display: grid !important;
  width: 100% !important;
  grid-template-columns: 72px minmax(0,1fr) !important;
  gap: 11px !important;
  align-items: center !important;
  padding: 8px !important;
  color: #eee !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 4px !important;
}
body:not(.dashboard):not(.admin-body) .catalog-header .search-suggestions a:hover,
body:not(.dashboard):not(.admin-body) .catalog-header .search-suggestions a.active {
  background: #2b2b2b !important;
}
body:not(.dashboard):not(.admin-body) .catalog-header .search-suggestions img {
  display: block !important;
  width: 72px !important;
  height: auto !important;
  aspect-ratio: 16/9 !important;
  object-fit: cover !important;
  border-radius: 4px !important;
}
body:not(.dashboard):not(.admin-body) .catalog-header .header-search > button {
  display: grid !important;
  flex: 0 0 56px !important;
  width: 56px !important;
  height: 100% !important;
  place-items: center !important;
  padding: 0 !important;
  color: #777 !important;
  background: #050505 !important;
  border: 0 !important;
  border-left: 1px solid #242424 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: 11px !important;
}
body:not(.dashboard):not(.admin-body) .catalog-header .search-history-head {
  display: flex !important;
  width: 100% !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 10px 12px !important;
}
body:not(.dashboard):not(.admin-body) .catalog-header .search-history-head button {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 4px 8px !important;
  color: #aaa !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 3px !important;
  box-shadow: none !important;
  font-size: 10px !important;
}
body:not(.dashboard):not(.admin-body) .catalog-header .search-history-item {
  display: flex !important;
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 38px !important;
  margin: 0 !important;
  padding: 9px 12px !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 9px !important;
  color: #ddd !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-align: left !important;
}
body:not(.dashboard):not(.admin-body) .catalog-header .search-history-item:hover {
  background: #292929 !important;
}
body:not(.dashboard):not(.admin-body) .catalog-header .search-history-item span {
  display: block !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
body:not(.dashboard):not(.admin-body) .catalog-header .header-actions {
  display: flex !important;
  margin-left: auto !important;
  align-items: center !important;
  gap: 22px !important;
  font-size: 12px !important;
}
.catalog-header .header-dropdown {
  position: relative;
}
.catalog-header .header-dropdown-trigger {
  display: inline-flex !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 8px 0 !important;
  align-items: center !important;
  gap: 5px !important;
  color: #f4f4f4 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font: inherit !important;
  cursor: pointer !important;
}
.catalog-header .header-dropdown-trigger svg {
  display: block;
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform .18s ease;
}
.catalog-header .header-dropdown-trigger > svg:first-child {
  width: 17px;
  height: 17px;
}
.catalog-header .header-dropdown.open .header-dropdown-trigger .dropdown-chevron {
  transform: rotate(180deg);
}
.catalog-header .header-dropdown-menu {
  position: absolute;
  z-index: 240;
  top: calc(100% + 9px);
  right: 0;
  display: none;
  width: 230px;
  max-height: min(420px, 70vh);
  padding: 6px;
  overflow-y: auto;
  border: 1px solid #343434;
  border-radius: 7px;
  background: #151515;
  box-shadow: 0 18px 45px #000b;
}
.catalog-header .header-dropdown.open .header-dropdown-menu {
  display: grid;
}
.catalog-header .header-dropdown-menu a {
  display: flex !important;
  width: 100% !important;
  min-height: 38px !important;
  padding: 9px 10px !important;
  align-items: center !important;
  gap: 9px !important;
  color: #ddd !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  font-size: 12px !important;
  white-space: nowrap !important;
}
.catalog-header .header-dropdown-menu a:hover,
.catalog-header .header-dropdown-menu a.active {
  color: #fff !important;
  background: #292929 !important;
}
.catalog-header .header-dropdown-menu a svg,
.catalog-header .header-dropdown-menu a img {
  flex: 0 0 17px !important;
  width: 17px !important;
  height: 17px !important;
}
.catalog-header .header-dropdown-kategori .header-dropdown-menu {
  width: 250px;
}
.catalog-header .header-dropdown-genre .header-dropdown-menu {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(430px, calc(100vw - 24px));
}
.catalog-header .header-theme-toggle {
  display: grid !important;
  flex: 0 0 28px !important;
  width: 28px !important;
  height: 28px !important;
  min-height: 0 !important;
  padding: 0 !important;
  place-items: center !important;
  color: #eee !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 50% !important;
  box-shadow: none !important;
  font-size: 19px !important;
  cursor: pointer !important;
}
.catalog-header .header-theme-toggle:hover {
  background: #222 !important;
}
.catalog-header .header-theme-toggle svg,
.catalog-header .header-actions > a > svg {
  display: block;
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.catalog-header .header-theme-toggle svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  stroke: none;
}
body.theme-soft .catalog-header .header-theme-toggle svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.catalog-header .header-actions > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.catalog-header .nav .quick-nav-icon {
  display: inline-grid;
  width: 17px;
  height: 17px;
  place-items: center;
  color: #ddd;
  font-size: 15px;
  line-height: 1;
}
.catalog-header .nav .quick-nav-icon svg {
  display: block !important;
  width: 17px !important;
  height: 17px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.8 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}
body.theme-soft:not(.dashboard):not(.admin-body) {
  background: #111;
}
.mobile-drawer-only,
.catalog-drawer-backdrop {
  display: none !important;
}
.drawer-genre-group { display: none !important; }
body:not(.dashboard):not(.admin-body) .catalog-header .nav .mobile-drawer-only {
  display: none !important;
}
@media (max-width: 1050px) {
  body:not(.dashboard):not(.admin-body) .catalog-header .catalog-menu-toggle {
    display: grid !important;
    flex: 0 0 40px !important;
    width: 40px !important;
    height: 40px !important;
    margin-left: auto !important;
    padding: 0 !important;
    place-items: center !important;
    color: #fff !important;
    background: transparent !important;
    border: 1px solid #303030 !important;
    border-radius: 5px !important;
    box-shadow: none !important;
  }
  body:not(.dashboard):not(.admin-body) .catalog-header .catalog-menu-toggle svg {
    width: 21px !important;
    height: 21px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
  }
  body:not(.dashboard):not(.admin-body) .catalog-header .nav,
  body:not(.dashboard):not(.admin-body) .catalog-header .nav.open {
    position: fixed !important;
    z-index: 310 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    display: block !important;
    width: min(86vw, 360px) !important;
    height: 100dvh !important;
    padding: 0 !important;
    visibility: hidden !important;
    opacity: 0 !important;
    overflow: hidden !important;
    background: #101010 !important;
    border: 0 !important;
    border-left: 1px solid #303030 !important;
    transform: translateX(105%) !important;
    transition: transform .25s ease, opacity .2s ease, visibility .25s !important;
  }
  body:not(.dashboard):not(.admin-body) .catalog-header.catalog-drawer-open .nav {
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateX(0) !important;
  }
  body:not(.dashboard):not(.admin-body) .catalog-header .nav > div {
    display: flex !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    padding: 0 14px 24px !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    flex-direction: column !important;
    gap: 5px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }
  body:not(.dashboard):not(.admin-body) .catalog-header .nav#catalog-nav > div {
    justify-content: flex-start !important;
  }
  body:not(.dashboard):not(.admin-body) .catalog-header .nav a,
  body:not(.dashboard):not(.admin-body) .catalog-header .nav a:first-child {
    display: flex !important;
    width: 100% !important;
    min-height: 43px !important;
    padding: 10px 12px !important;
    gap: 11px !important;
    color: #ddd !important;
    background: #181818 !important;
    border: 1px solid #292929 !important;
    border-radius: 5px !important;
  }
  body:not(.dashboard):not(.admin-body) .catalog-header .nav .mobile-drawer-only {
    display: flex !important;
  }
  .catalog-drawer-head {
    position: sticky;
    z-index: 2;
    top: 0;
    min-height: 70px;
    margin: 0 -14px 9px;
    padding: 14px 16px;
    align-items: center;
    justify-content: space-between;
    background: #101010;
    border-bottom: 1px solid #303030;
  }
  .catalog-drawer-head strong,
  .catalog-drawer-head small {
    display: block;
  }
  .catalog-drawer-head strong { color: #fff; font-size: 16px; }
  .catalog-drawer-head small { margin-top: 2px; color: #888; font-size: 10px; }
  .catalog-drawer-close {
    display: grid !important;
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    place-items: center !important;
    color: #fff !important;
    background: #1d1d1d !important;
    border: 1px solid #333 !important;
    border-radius: 50% !important;
  }
  .catalog-drawer-close svg {
    width: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
  }
  .catalog-drawer-label {
    margin: 12px 3px 2px;
    color: #777;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
  }
  body:not(.dashboard):not(.admin-body) .catalog-header .nav .drawer-genre-group {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100%;
    margin-top: 9px;
    border: 1px solid #292929;
    border-radius: 5px;
    background: #141414;
    overflow: hidden;
  }
  .drawer-genre-group summary {
    display: flex;
    flex: 0 0 auto;
    width: 100%;
    min-height: 45px;
    padding: 11px 12px;
    align-items: center;
    justify-content: space-between;
    color: #ddd;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
  }
  .drawer-genre-group summary::-webkit-details-marker { display: none; }
  .drawer-genre-group summary span { display: flex; align-items: center; gap: 10px; }
  .drawer-genre-group summary svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    transition: transform .18s ease;
  }
  .drawer-genre-group summary span svg { width: 18px; height: 18px; }
  .drawer-genre-group[open] > summary > svg { transform: rotate(180deg); }
  .drawer-genre-list {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    width: 100%;
    gap: 5px;
    max-height: 48vh;
    padding: 7px;
    overflow-y: auto;
    border-top: 1px solid #292929;
  }
  body:not(.dashboard):not(.admin-body) .catalog-header .nav .drawer-genre-list a {
    width: 100% !important;
    min-height: 37px !important;
    padding: 8px 9px !important;
    justify-content: flex-start !important;
    background: #1b1b1b !important;
    font-size: 10px !important;
  }
  .catalog-drawer-backdrop {
    position: fixed !important;
    z-index: 300 !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    background: #000a !important;
    border: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity .2s ease, visibility .2s !important;
  }
  .catalog-drawer-backdrop.open {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  body.catalog-drawer-active { overflow: hidden !important; }
}
body:not(.dashboard):not(.admin-body) .catalog-header .nav,
body:not(.dashboard):not(.admin-body) .catalog-header .nav.open {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
  background: #030303 !important;
  border: 0 !important;
  border-top: 1px solid #252525 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body:not(.dashboard):not(.admin-body) .catalog-header .nav > div {
  display: flex !important;
  width: 100% !important;
  max-width: 1220px !important;
  height: 47px !important;
  margin: 0 auto !important;
  padding: 0 16px !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: row !important;
  gap: 27px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
}
body:not(.dashboard):not(.admin-body) .catalog-header .nav a,
body:not(.dashboard):not(.admin-body) .catalog-header .nav a:first-child {
  display: flex !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  align-items: center !important;
  flex-direction: row !important;
  gap: 7px !important;
  color: #f4f4f4 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  font-size: 12px !important;
}
@media (max-width: 1050px) {
  body:not(.dashboard):not(.admin-body) .catalog-header .header-actions {
    display: none !important;
  }
  body:not(.dashboard):not(.admin-body) .catalog-header .header-search {
    flex: 1 1 auto !important;
    max-width: none !important;
  }
}
@media (max-width: 720px) {
  body:not(.dashboard):not(.admin-body) .catalog-header .header-main {
    height: 56px !important;
    min-height: 56px !important;
    padding: 0 10px !important;
    gap: 10px !important;
  }
  body:not(.dashboard):not(.admin-body) .catalog-header .brand {
    gap: 4px !important;
    flex-basis: 112px !important;
    width: 112px !important;
    min-width: 112px !important;
  }
  body:not(.dashboard):not(.admin-body) .catalog-header .brand img {
    width: 96px !important;
    max-width: 96px !important;
    max-height: 32px !important;
  }
  body:not(.dashboard):not(.admin-body) .catalog-header .brand-region {
    top: 8px !important;
    left: 76px !important;
    font-size: 7px !important;
    transform: none !important;
  }
  body:not(.dashboard):not(.admin-body) .catalog-header .header-search {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 36px !important;
  }
  body:not(.dashboard):not(.admin-body) .catalog-header .header-search > button,
  body:not(.dashboard):not(.admin-body) .catalog-header .header-actions {
    display: none !important;
  }
  body:not(.dashboard):not(.admin-body) .catalog-header .nav > div {
    height: 44px !important;
    padding: 0 10px !important;
    gap: 20px !important;
  }
  body:not(.dashboard):not(.admin-body) .catalog-header .search-suggestions {
    position: fixed !important;
    top: 60px !important;
    right: 10px !important;
    left: 10px !important;
    width: auto !important;
    max-height: 65vh !important;
  }
}
@media (max-width: 430px) {
  body:not(.dashboard):not(.admin-body) .catalog-header .brand {
    flex-basis: 90px !important;
    width: 90px !important;
    min-width: 90px !important;
  }
  body:not(.dashboard):not(.admin-body) .catalog-header .brand img {
    width: 76px !important;
    max-width: 76px !important;
  }
  body:not(.dashboard):not(.admin-body) .catalog-header .header-search > svg {
    flex: 0 0 16px !important;
    width: 16px !important;
    margin-left: 10px !important;
  }
  body:not(.dashboard):not(.admin-body) .catalog-header .header-search input {
    padding: 0 8px !important;
    font-size: 12px !important;
  }
}
.video-description.is-collapsible {
  position: relative;
}
.description-content {
  position: relative;
  overflow: hidden;
}
.video-description.is-collapsed .description-content {
  max-height: 120px;
}
.video-description.is-collapsed .description-content:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48px;
  background: linear-gradient(transparent, #181818);
}
.description-toggle {
  margin-top: 12px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.description-toggle:hover {
  text-decoration: underline;
}
.video-server-switcher {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-right: auto;
}
.video-server-switcher > span {
  flex: 0 0 auto;
  color: #999;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1px;
}
.video-server-switcher > div {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.video-server-switcher button {
  min-height: 35px;
  padding: 7px 10px;
  border: 1px solid #3c3c3c;
  border-radius: 3px;
  background: #242424;
  color: #bbb;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}
.video-server-switcher button:hover {
  border-color: var(--accent);
  color: #fff;
}
.video-server-switcher button.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #090909;
}
.watch-actions.has-server-switcher {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  flex-wrap: wrap;
}
.watch-actions.has-server-switcher > .video-server-switcher {
  margin-right: auto;
}
@media (max-width: 700px) {
  .watch-actions.has-server-switcher {
    align-items: center;
  }
  .watch-actions.has-server-switcher > .video-server-switcher {
    flex: 0 0 100%;
    width: 100%;
    margin: 0;
    justify-content: flex-start;
  }
  .watch-actions.has-server-switcher > .video-server-switcher > div {
    flex: 0 0 auto;
  }
  .watch-actions.has-server-switcher > .video-server-switcher button {
    flex: 0 0 auto;
    min-width: 92px;
    max-width: 150px;
  }
  .watch-actions.has-server-switcher > button {
    flex: 1 1 calc(50% - 4px);
  }
}
.footer-disclaimer {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #303030;
  color: #777;
  text-align: center;
  font-size: 10px;
}
.tracking-code-output {
  display: flex;
  justify-content: center;
  max-width: 100%;
  margin: 12px auto;
  text-align: center;
}
.tracking-code-output:empty {
  display: none;
}
.sidebar-widget .widget-content {
  padding: 14px 0 2px;
  color: #c7c7c7;
  font-size: 13px;
}
.sidebar-widget .widget-content p:first-child {
  margin-top: 0;
}
.sidebar-widget .widget-content p:last-child {
  margin-bottom: 0;
}
.sidebar-widget .widget-image {
  display: block;
  margin-top: 12px;
}
.sidebar-widget .widget-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
}
.sidebar:empty,
.watch-sidebar:empty {
  display: none;
}
.home-layout:has(> .sidebar:empty),
.watch-layout:has(> .watch-sidebar:empty) {
  grid-template-columns: minmax(0, 1fr);
}
.nav a .category-menu-icon {
  display: block;
  width: 16px;
  height: 16px;
  object-fit: contain;
}
.nav a > svg {
  flex: none;
}
.nav a .category-menu-svg {
  display: block;
  width: 18px;
  height: 18px;
  overflow: visible;
}
.header-search {
  position: relative;
  overflow: visible;
}
.search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 90;
  max-height: 430px;
  padding: 6px;
  border: 1px solid #343434;
  border-radius: 5px;
  background: #181818;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  overflow-y: auto;
}
.search-suggestions[hidden] {
  display: none;
}
.search-suggestions a {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  padding: 8px;
  border-radius: 4px;
  color: #eee;
}
.search-suggestions a:hover,
.search-suggestions a.active {
  background: #303030;
}
.search-suggestions img {
  display: block;
  width: 72px;
  aspect-ratio: 16/9;
  border-radius: 3px;
  object-fit: cover;
}
.search-suggestions span {
  min-width: 0;
}
.search-suggestions b {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}
.search-suggestions small {
  display: block;
  margin-top: 3px;
  color: #999;
  font-size: 10px;
}
.suggestion-empty {
  padding: 18px;
  color: #999;
  text-align: center;
  font-size: 12px;
}
@media (max-width: 700px) {
  .search-suggestions {
    position: fixed;
    top: 61px;
    left: 10px;
    right: 10px;
    max-height: 65vh;
  }
  .search-suggestions a {
    grid-template-columns: 82px minmax(0, 1fr);
  }
  .search-suggestions img {
    width: 82px;
  }
}
@media (max-width: 480px) {
  .header-search:focus-within {
    position: static;
    width: auto;
  }
  .header-search:focus-within .search-suggestions {
    display: block;
  }
  .header-search:focus-within input {
    display: block;
    position: fixed;
    top: 10px;
    left: 58px;
    right: 62px;
    z-index: 95;
    width: auto;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #3b3b3b;
    border-radius: 4px;
    background: #171717;
  }
}
.preroll video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

/* Hero terbaru selalu memenuhi lebar layar, terlepas dari container konten. */
html,
body {
  overflow-x: clip;
}
.video-carousel.latest-hero {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-radius: 0;
}
@supports (width: 100dvw) {
  .video-carousel.latest-hero {
    width: 100dvw;
    margin-left: calc(50% - 50dvw);
    margin-right: calc(50% - 50dvw);
  }
}
@media (max-width: 650px) {
  .video-carousel.latest-hero {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
}

.archive-heading {
  align-items: center;
}
.view-all {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid #383838;
  border-radius: 4px;
  background: #202020;
  color: #eee;
  font-size: 12px;
  font-weight: 800;
  transition: 0.18s;
}
.view-all svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.view-all:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #111;
  transform: translateX(2px);
}
.archive-page {
  padding-bottom: 45px;
}
.archive-intro {
  margin: 25px 0 8px;
  padding: 25px 0;
  border-bottom: 1px solid #303030;
}
.archive-intro h1 {
  margin: 5px 0;
  font-size: clamp(30px, 4vw, 46px);
}
.archive-intro p {
  margin: 0;
  color: #aaa;
}
.archive-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 40px 0;
  overflow-x: auto;
  padding: 4px 0;
}
.archive-pagination a,
.archive-pagination i {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border: 1px solid #383838;
  border-radius: 3px;
  background: #202020;
  color: #ddd;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}
.archive-pagination a:hover {
  border-color: var(--accent);
  background: #2b2b2b;
  color: #fff;
}
.archive-pagination a.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #090909;
}
.archive-pagination .page-arrow {
  font-size: 23px;
  line-height: 1;
}
.archive-pagination i {
  min-width: 27px;
  padding: 0;
  border-color: transparent;
  background: transparent;
  color: #777;
}
@media (max-width: 600px) {
  .archive-heading {
    gap: 12px;
  }
  .view-all {
    padding: 7px 9px;
    font-size: 11px;
  }
  .archive-pagination {
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    max-width: 100%;
    margin: 30px -2px;
    padding: 4px 2px 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .archive-pagination::-webkit-scrollbar { display: none; }
  .archive-pagination a,
  .archive-pagination i {
    min-width: 38px;
    height: 38px;
    padding: 0 9px;
    font-size: 11px;
  }
  .archive-pagination .page-arrow {
    font-size: 21px;
  }
}
@media (max-width: 480px) {
  .archive-pagination { gap: 4px; }
  .archive-pagination a,
  .archive-pagination i {
    min-width: 34px;
    height: 38px;
    padding: 0 7px;
  }
  .archive-pagination i { min-width: 20px; padding: 0; }
}

@media (min-width: 701px) {
  .site-header .header-main {
    height: 88px;
  }
  .site-header .header-main .brand img {
    width: auto;
    max-width: 250px;
    max-height: 70px;
  }
}
.site-header .brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: none;
}
.site-header .brand-region {
  position: absolute;
  top: 1px;
  right: -21px;
  color: #aaa;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.4px;
  line-height: 1;
}
@media (max-width: 700px) {
  .site-header .brand-region {
    top: -1px;
    right: -18px;
    font-size: 8px;
  }
}

.nav-backdrop {
  display: none;
}
@media (max-width: 700px) {
  body.drawer-open {
    overflow: hidden;
  }
  .site-header .header-main {
    display: grid;
    grid-template-columns: minmax(72px, auto) minmax(0, 1fr) 42px;
    gap: 10px;
    height: 64px;
    padding: 0 12px;
  }
  .site-header .brand {
    min-width: 0;
  }
  .site-header .brand img {
    width: auto;
    max-width: 82px;
    max-height: 42px;
  }
  .site-header .brand-region {
    top: 1px;
    right: -15px;
    font-size: 7px;
  }
  .site-header .header-search {
    width: 100%;
    min-width: 0;
    max-width: none;
    margin: 0;
  }
  .site-header .header-search > svg {
    flex: 0 0 17px;
    width: 17px;
    margin-left: 11px;
  }
  .site-header .header-search input {
    min-width: 0;
    padding: 0 8px;
    font-size: 13px;
  }
  .site-header .header-search button {
    flex: 0 0 42px;
    width: 42px;
  }
  .site-header .menu-toggle {
    position: relative;
    z-index: 102;
    width: 42px;
    height: 42px;
    margin: 0;
    border: 1px solid #383838;
    border-radius: 5px;
    background: #222;
  }
  .site-header .menu-toggle svg {
    width: 23px;
    overflow: visible;
  }
  .menu-toggle .menu-line {
    transform-box: fill-box;
    transform-origin: center;
    transition:
      transform 0.25s ease,
      opacity 0.18s ease;
  }
  .menu-toggle.is-open .line-1 {
    transform: translateY(5px) rotate(45deg);
  }
  .menu-toggle.is-open .line-2 {
    opacity: 0;
    transform: scaleX(0.3);
  }
  .menu-toggle.is-open .line-3 {
    transform: translateY(-5px) rotate(-45deg);
  }
  .site-header .nav {
    display: block;
    position: fixed;
    z-index: 101;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(86vw, 350px);
    height: 100dvh;
    padding: 78px 14px 22px;
    border: 0;
    border-left: 1px solid #303030;
    background: #111;
    box-shadow: -18px 0 45px rgba(0, 0, 0, 0.55);
    visibility: hidden;
    opacity: 0;
    transform: translateX(105%);
    transition:
      transform 0.28s ease,
      opacity 0.22s ease,
      visibility 0.28s;
  }
  .site-header .nav.open {
    display: block;
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
  }
  .site-header .nav > div {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    width: 100%;
    height: auto;
    max-height: calc(100dvh - 100px);
    padding: 0;
    gap: 6px;
    overflow-y: auto;
  }
  .site-header .nav a {
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: 5px;
    background: #202020;
  }
  .site-header .nav a:hover,
  .site-header .nav a.active,
  .site-header .nav a:first-child {
    border-color: #3c3c3c;
    background: #292929;
    color: #fff;
  }
  .nav-backdrop {
    position: fixed;
    z-index: 99;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(0, 0, 0, 0.68);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.25s,
      visibility 0.25s;
  }
  .nav-backdrop.open {
    opacity: 1;
    visibility: visible;
  }
}
@media (max-width: 390px) {
  .site-header .header-main {
    grid-template-columns: 68px minmax(0, 1fr) 40px;
    gap: 7px;
    padding: 0 8px;
  }
  .site-header .brand img {
    max-width: 68px;
  }
  .site-header .header-search button {
    flex-basis: 38px;
    width: 38px;
  }
  .site-header .menu-toggle {
    width: 40px;
    height: 40px;
  }
}
@media (max-width: 700px) {
  .nav-backdrop {
    z-index: 49;
  }
}
@media (max-width: 700px) {
  .latest-hero .carousel-arrow {
    display: none;
  }
}
@media (max-width: 700px) {
  .site-header .header-main .brand {
    padding-right: 22px;
  }
  .site-header .header-main .brand-region {
    right: 2px;
  }
}
@media (min-width: 701px) {
  .drawer-head,
  .drawer-foot {
    display: none;
  }
}
@media (max-width: 700px) {
  .site-header .nav {
    display: flex;
    flex-direction: column;
    padding: 70px 14px 18px;
  }
  .drawer-head {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2px 12px;
    margin-bottom: 15px;
    padding: 17px 14px 15px;
    border-bottom: 1px solid #303030;
  }
  .drawer-head > span {
    grid-column: 1;
    color: var(--accent);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1.5px;
  }
  .drawer-head > b {
    grid-column: 1;
    font-size: 21px;
    letter-spacing: -0.4px;
  }
  .drawer-head > small {
    grid-column: 2;
    grid-row: 1/3;
    align-self: center;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 8px;
    border: 1px solid #353535;
    border-radius: 3px;
    background: #1c1c1c;
    color: #aaa;
    font-size: 9px;
    font-weight: 800;
  }
  .drawer-head > small i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #55d780;
    box-shadow: 0 0 8px #55d780;
  }
  .site-header .nav > div {
    flex: 1;
    max-height: none;
    gap: 7px;
  }
  .site-header .nav a {
    position: relative;
    gap: 11px;
    min-height: 49px;
    padding: 12px 14px;
    border-color: #2b2b2b;
    border-radius: 4px;
    background: #1c1c1c;
    overflow: hidden;
    opacity: 0;
    transform: translateX(18px);
    transition:
      background 0.18s,
      border-color 0.18s,
      transform 0.25s,
      opacity 0.25s;
  }
  .site-header .nav.open a {
    opacity: 1;
    transform: translateX(0);
  }
  .site-header .nav.open a:nth-child(2) {
    transition-delay: 0.035s;
  }
  .site-header .nav.open a:nth-child(3) {
    transition-delay: 0.07s;
  }
  .site-header .nav.open a:nth-child(4) {
    transition-delay: 0.105s;
  }
  .site-header .nav.open a:nth-child(5) {
    transition-delay: 0.14s;
  }
  .site-header .nav.open a:nth-child(6) {
    transition-delay: 0.175s;
  }
  .site-header .nav a:before {
    content: "";
    position: absolute;
    inset: 8px auto 8px 0;
    width: 3px;
    border-radius: 0 2px 2px 0;
    background: var(--accent);
    opacity: 0;
    transform: scaleY(0.35);
    transition: 0.18s;
  }
  .site-header .nav a svg,
  .site-header .nav a .category-menu-icon,
  .site-header .nav a .category-menu-svg {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
  }
  .site-header .nav a:hover,
  .site-header .nav a.active,
  .site-header .nav a:first-child {
    border-color: #3a3a3a;
    background: #272727;
    color: #fff;
  }
  .site-header .nav a.active:before {
    opacity: 1;
    transform: scaleY(1);
  }
  .site-header .nav a.active {
    padding-left: 17px;
  }
  .drawer-foot {
    display: grid;
    gap: 2px;
    margin-top: 14px;
    padding: 14px;
    border-top: 1px solid #303030;
    color: #aaa;
  }
  .drawer-foot span {
    color: #ddd;
    font-size: 11px;
    font-weight: 800;
  }
  .drawer-foot small {
    font-size: 9px;
  }
}

/* Tombol tutup drawer harus selalu terlihat walaupun halaman/drawer digulir. */
@media (max-width: 700px) {
  body.drawer-open .site-header .menu-toggle {
    position: fixed;
    top: max(11px, env(safe-area-inset-top));
    right: 12px;
    z-index: 105;
    margin: 0;
    border-color: #484848;
    background: #282828;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
  }
}
@media (max-width: 390px) {
  body.drawer-open .site-header .menu-toggle {
    right: 8px;
  }
}

/* Interaksi pencarian dan carousel khusus layar sentuh. */
.video-carousel[data-carousel] {
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.video-carousel[data-carousel] img {
  pointer-events: none;
}
@media (max-width: 480px) {
  .site-header .header-search button {
    position: relative;
    z-index: 3;
    pointer-events: auto;
    touch-action: manipulation;
  }
  .site-header .header-search.mobile-search-open {
    position: static;
    width: auto;
  }
  .site-header .header-search.mobile-search-open input {
    display: block;
    position: fixed;
    z-index: 104;
    top: max(10px, env(safe-area-inset-top));
    left: 58px;
    right: 62px;
    width: auto;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #464646;
    border-radius: 4px;
    background: #171717;
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.42);
  }
  .site-header .header-search.mobile-search-open button {
    z-index: 105;
  }
}
.watch-category-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  vertical-align: middle;
}
.watch-category-pill > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.watch-category-pill .category-menu-icon,
.watch-category-pill .category-menu-svg,
.watch-category-pill > svg {
  display: block;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  object-fit: contain;
}
.watch-category-pill .category-menu-svg {
  overflow: visible;
}
.watch-category-pill:hover {
  background: #333;
  color: #fff;
}
.card-category {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  min-width: 0;
}
.card-category > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card-category .category-menu-icon,
.card-category .category-menu-svg,
.card-category > svg {
  display: block;
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  object-fit: contain;
}
.card-category .category-menu-svg {
  overflow: visible;
}
.card-categories {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 9px;
  min-width: 0;
}
.card-categories .card-category:hover {
  color: #fff;
}
.card-copy > p > .views {
  flex: 0 0 auto;
  margin-left: auto;
}
.quality-badge {
  position: absolute;
  z-index: 2;
  top: 8px;
  right: 8px;
  padding: 4px 7px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 3px;
  background: #050505;
  color: #fff;
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 9px rgba(0, 0, 0, 0.55);
}
.thumb .duration {
  top: auto;
  right: 8px;
  bottom: 8px;
  min-width: 45px;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 3px;
  background: #050505;
  color: #fff;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.25px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.65);
  text-shadow: 0 1px 1px #000;
}
.archive-pagination .page-arrow svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: currentColor;
  stroke: none;
}
.archive-pagination .page-arrow:hover svg {
  transform: translateX(1px);
}
.archive-pagination .page-arrow:first-child:hover svg {
  transform: translateX(-1px);
}
@media (min-width: 701px) {
  .video-carousel .carousel-arrow {
    width: 54px;
    height: 72px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    opacity: 0;
    visibility: hidden;
    filter: drop-shadow(0 2px 5px #000) drop-shadow(0 0 2px #000);
    transform: translateY(-50%) scale(0.9);
    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0.2s ease,
      color 0.18s ease;
  }
  .video-carousel:hover .carousel-arrow,
  .video-carousel:focus-within .carousel-arrow {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(1);
  }
  .video-carousel .carousel-arrow:hover {
    background: transparent;
    color: var(--accent);
    transform: translateY(-50%) scale(1.12);
  }
  .video-carousel .carousel-arrow svg {
    width: 38px;
    height: 38px;
    stroke-width: 2.4;
  }
  .video-carousel .carousel-arrow.prev {
    left: 18px;
  }
  .video-carousel .carousel-arrow.next {
    right: 18px;
  }
}

/* Carousel responsif dan scrollbar frontend yang tipis. */
.carousel-slide {
  will-change: opacity, transform;
  transition:
    opacity 0.36s cubic-bezier(0.22, 0.8, 0.3, 1),
    transform 0.48s cubic-bezier(0.22, 0.8, 0.3, 1),
    visibility 0.36s;
}
.carousel-slide:not(.active) {
  transform: scale(1.008);
}
@media (min-width: 701px) {
  .video-carousel .carousel-arrow {
    visibility: visible;
    pointer-events: none;
    will-change: opacity, transform;
    transition:
      opacity 0.14s ease-out,
      transform 0.18s cubic-bezier(0.2, 0.8, 0.3, 1),
      color 0.12s ease;
  }
  .video-carousel .carousel-arrow.prev {
    transform: translate(-9px, -50%) scale(0.94);
  }
  .video-carousel .carousel-arrow.next {
    transform: translate(9px, -50%) scale(0.94);
  }
  .video-carousel:hover .carousel-arrow,
  .video-carousel:focus-within .carousel-arrow {
    pointer-events: auto;
  }
  .video-carousel:hover .carousel-arrow.prev,
  .video-carousel:focus-within .carousel-arrow.prev,
  .video-carousel:hover .carousel-arrow.next,
  .video-carousel:focus-within .carousel-arrow.next {
    transform: translate(0, -50%) scale(1);
  }
  .video-carousel .carousel-arrow:hover {
    transform: translate(0, -50%) scale(1.1) !important;
  }
}
html {
  scrollbar-width: thin;
  scrollbar-color: #4b4b4b #111;
}
.site-header .nav > div,
.search-suggestions,
.archive-pagination,
.video-server-switcher > div {
  scrollbar-width: thin;
  scrollbar-color: #555 transparent;
}
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #111;
}
::-webkit-scrollbar-thumb {
  border: 1px solid #111;
  border-radius: 8px;
  background: #4b4b4b;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}
.site-header .nav > div::-webkit-scrollbar-track,
.search-suggestions::-webkit-scrollbar-track,
.archive-pagination::-webkit-scrollbar-track,
.video-server-switcher > div::-webkit-scrollbar-track {
  background: transparent;
}
@media (min-width: 701px) and (hover: hover) and (pointer: fine) {
  .video-carousel:not(:hover) .carousel-arrow {
    opacity: 0 !important;
    pointer-events: none !important;
  }
  .video-carousel:not(:hover) .carousel-arrow.prev {
    transform: translate(-9px, -50%) scale(0.94) !important;
  }
  .video-carousel:not(:hover) .carousel-arrow.next {
    transform: translate(9px, -50%) scale(0.94) !important;
  }
  .video-carousel:hover .carousel-arrow {
    opacity: 1 !important;
    pointer-events: auto !important;
  }
}
@media (max-width: 480px) {
  .quality-badge {
    top: 6px;
    right: 6px;
    padding: 4px 6px;
    font-size: 9px;
  }
  .thumb .duration {
    right: 6px;
    bottom: 6px;
    min-width: 40px;
    padding: 5px 7px;
    font-size: 11px;
  }
}
@media (max-width: 480px) {
  .site-header .header-main {
    grid-template-columns: 68px minmax(0, 1fr) 40px;
  }
  .site-header .brand,
  .site-header .brand img {
    max-width: 68px;
  }
  .site-header .header-search,
  .site-header .header-search.mobile-search-open {
    position: relative !important;
    display: flex;
    width: 100%;
    height: 40px;
    min-width: 0;
    overflow: visible;
  }
  .site-header .header-search > svg {
    display: none;
  }
  .site-header .header-search input,
  .site-header .header-search:focus-within input,
  .site-header .header-search.mobile-search-open input {
    display: block;
    position: static;
    z-index: auto;
    min-width: 0;
    width: 100%;
    height: 100%;
    padding: 0 9px;
    border: 0;
    border-radius: 4px 0 0 4px;
    background: transparent;
    box-shadow: none;
  }
  .site-header .header-search button,
  .site-header .header-search.mobile-search-open button {
    position: static;
    z-index: auto;
    display: grid;
    flex: 0 0 40px;
    width: 40px;
    height: 100%;
    border-left: 1px solid #383838;
    border-radius: 0 4px 4px 0;
  }
  .site-header .search-suggestions[hidden],
  .site-header .header-search:focus-within .search-suggestions[hidden] {
    display: none !important;
  }
  .card-category {
    gap: 4px;
  }
  .card-category .category-menu-icon,
  .card-category .category-menu-svg,
  .card-category > svg {
    flex-basis: 13px;
    width: 13px;
    height: 13px;
  }
}

/* Watch page: kontrol ringkas dan deskripsi kosong tidak menyisakan ruang. */
.video-description:has(.lead:empty):has(.article-body:empty):not(:has(.tags)) {
  display: none;
}
.preroll:after {
  content: "";
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 0;
  left: 0;
  height: 28%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent);
  pointer-events: none;
}
.preroll button {
  z-index: 6;
}
.watch-main > .watch-actions {
  margin-top: 10px;
  padding: 9px 10px;
  border: 1px solid #303030;
  border-radius: 4px;
  background: #1d1d1d;
}
.watch-actions.has-server-switcher {
  min-width: 0;
}
@media (max-width: 700px) {
  .watch-main > .watch-actions.has-server-switcher {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
    gap: 6px;
    padding: 7px;
  }
  .watch-actions.has-server-switcher > .video-server-switcher {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    margin: 0;
    align-items: center;
  }
  .video-server-switcher > span {
    display: none;
  }
  .watch-actions.has-server-switcher > .video-server-switcher > div {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    gap: 5px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .watch-actions.has-server-switcher
    > .video-server-switcher
    > div::-webkit-scrollbar {
    display: none;
  }
  .watch-actions.has-server-switcher > .video-server-switcher button {
    flex: 0 0 auto;
    min-width: 82px;
    max-width: none;
    white-space: nowrap;
  }
  .watch-actions.has-server-switcher > button {
    flex: 0 0 auto;
    min-width: 0;
    padding: 8px 9px;
  }
  .watch-actions.has-server-switcher > button svg {
    width: 16px;
  }
  .watch-actions.has-server-switcher > button span {
    font-size: 10px;
  }
}
@media (max-width: 390px) {
  .watch-actions.has-server-switcher > button {
    padding: 8px;
  }
  .watch-actions.has-server-switcher > button span {
    display: none;
  }
}
.history-heading {
  display: grid;
  grid-template-columns: 37px minmax(0, 1fr) auto;
}
.history-heading > svg {
  grid-column: 1;
}
.history-heading > div {
  grid-column: 2;
}
.clear-history {
  grid-column: 3;
  padding: 6px 8px;
  border: 1px solid #3a3a3a;
  border-radius: 3px;
  background: #262626;
  color: #aaa;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
}
.clear-history:hover {
  border-color: var(--accent);
  color: #fff;
}
.history-empty {
  margin: 14px 2px 2px;
  color: #888;
  font-size: 11px;
}
.history-empty[hidden] {
  display: none;
}
.history-post img {
  object-fit: cover;
}
.content-type-nav {
  border-bottom: 1px solid #292929;
  background: #090909;
}
.content-type-nav > div {
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: 1600px;
  height: 39px;
  margin: auto;
  padding: 0 32px;
}
.content-type-nav a {
  position: relative;
  color: #ddd;
  font-size: 13px;
}
.content-type-nav a:hover {
  color: #fff;
}
.content-type-nav a[href*="foto"]:after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -12px;
  left: 0;
  height: 2px;
  background: var(--accent);
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 16px;
}
.photo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 5px;
}
.photo-card > a {
  position: relative;
  display: block;
}
.photo-card > a > span {
  position: absolute;
  right: 7px;
  bottom: 7px;
  padding: 4px 6px;
  background: #000c;
  font-size: 10px;
}
.photo-card h2 {
  margin: 9px 0 7px;
  font-size: 15px;
}
.photo-card .category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.photo-card .category svg,
.photo-card .category img {
  width: 16px;
  height: 16px;
}
.photo-single {
  max-width: 1100px;
  margin: 24px auto;
}
.photo-single > header h1 {
  margin: 10px 0 5px;
  font-size: clamp(28px, 4vw, 46px);
}
.photo-single > header p {
  color: #aaa;
}
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}
.photo-gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 5px;
}
@media (max-width: 700px) {
  .content-type-nav > div {
    gap: 18px;
    height: 36px;
    padding: 0 12px;
    overflow-x: auto;
  }
  .content-type-nav a {
    flex: none;
    font-size: 12px;
  }
  .content-type-nav a[href*="foto"]:after {
    bottom: -11px;
  }
  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 10px;
  }
  .photo-gallery {
    grid-template-columns: 1fr;
  }
}
.content-type-nav a[href*="foto"]:after {
  display: none;
}
.content-type-nav a.active:after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -12px;
  left: 0;
  display: block;
  height: 2px;
  background: var(--accent);
}
.site-header {
  position: sticky;
}
.content-type-nav {
  position: absolute;
  z-index: 3;
  right: max(28px, calc((100% - 1440px) / 2 + 28px));
  bottom: 0;
  border: 0;
  background: transparent;
}
.content-type-nav > div {
  height: 52px;
  padding: 0;
  gap: 7px;
}
.content-type-nav a {
  display: flex;
  align-items: center;
  height: 34px;
  padding: 0 11px;
  border: 1px solid #303030;
  border-radius: 4px;
  background: #1d1d1d;
  color: #cfcfcf;
  font-size: 11px;
  font-weight: 800;
  transition: 0.18s;
}
.content-type-nav a:hover,
.content-type-nav a.active {
  border-color: #494949;
  background: #292929;
  color: #fff;
}
.content-type-nav a.active:after {
  right: 8px;
  bottom: -9px;
  left: 8px;
}
.site-header > .nav > div {
  padding-right: 310px;
}
.drawer-content-types {
  display: none;
}
@media (max-width: 700px) {
  .content-type-nav {
    display: none;
  }
  .site-header > .nav > div {
    padding-right: 0;
  }
  .drawer-content-types {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin: 14px 0 0;
    padding: 14px 0 0;
    border-top: 1px solid #303030;
  }
  .drawer-content-types > a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 40px !important;
    padding: 8px !important;
    border-radius: 4px !important;
    font-size: 10px !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .drawer-content-types > a.active {
    border-color: var(--accent) !important;
    color: #fff !important;
  }
}
.content-type-nav > div {
  position: relative;
}
.content-type-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #3a3a3a;
  border-radius: 4px;
  background: #202020;
  color: #eee;
  font: 800 11px/1 inherit;
  cursor: pointer;
  transition:
    border-color 0.18s,
    background 0.18s,
    color 0.18s;
}
.content-type-trigger:hover,
.content-type-nav > div.open .content-type-trigger {
  border-color: #555;
  background: #292929;
  color: #fff;
}
.content-type-trigger svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.content-type-trigger svg:first-child {
  fill: currentColor;
  stroke: none;
}
.content-type-trigger .dropdown-chevron {
  width: 15px;
  transition: transform 0.2s;
}
.content-type-nav > div.open .dropdown-chevron {
  transform: rotate(180deg);
}
.content-type-menu {
  position: absolute;
  right: 0;
  top: 46px;
  display: grid;
  width: 210px;
  padding: 7px;
  border: 1px solid #363636;
  border-radius: 5px;
  background: #181818;
  box-shadow: 0 16px 40px #000a;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-7px) scale(0.98);
  transform-origin: top right;
  transition:
    opacity 0.16s,
    transform 0.16s,
    visibility 0.16s;
}
.content-type-nav > div.open .content-type-menu {
  visibility: visible;
  opacity: 1;
  transform: none;
}
.content-type-menu a {
  position: relative;
  display: flex;
  height: 42px;
  padding: 0 12px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  font-size: 12px;
}
.content-type-menu a:hover {
  background: #272727;
}
.content-type-menu a.active {
  background: #292929;
  color: #fff;
}
.content-type-menu a.active:before {
  content: "";
  position: absolute;
  top: 9px;
  bottom: 9px;
  left: 0;
  width: 3px;
  background: var(--accent);
}
.content-type-menu a:after {
  display: none !important;
}
@media (max-width: 700px) {
  .content-type-trigger,
  .content-type-menu {
    display: none;
  }
}
.content-type-trigger {
  min-width: 104px;
  justify-content: space-between;
  border-color: #333;
  background: #191919;
  font-size: 12px;
}
.content-type-trigger > svg:first-child {
  display: none;
}
.content-type-menu {
  top: 44px;
  width: 176px;
  padding: 5px;
  border-color: #303030;
  background: #181818;
}
.content-type-menu a {
  gap: 10px;
  height: 43px;
  color: #bbb;
}
.content-type-menu a svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}
.content-type-menu a.active {
  background: #242424;
  color: #fff;
}
.content-type-menu a.active:before {
  top: 12px;
  bottom: 12px;
  width: 2px;
  border-radius: 2px;
}
.drawer-content-types {
  order: -1;
}
@media (max-width: 700px) {
  .drawer-content-types {
    grid-template-columns: repeat(2, 1fr);
    margin: 0 0 14px;
    padding: 0 0 14px;
  }
  .site-header .nav .drawer-content-types > a,
  .site-header .nav .drawer-content-types > a:first-child {
    min-height: 42px !important;
    border: 1px solid #343434 !important;
    background: #1c1c1c !important;
    color: #ccc !important;
    font-size: 11px !important;
  }
  .site-header .nav .drawer-content-types > a.active {
    border-color: #555 !important;
    background: #292929 !important;
    color: #fff !important;
  }
  .drawer-content-types > a:before {
    display: none !important;
  }
}
.content-type-nav > div > a {
  display: none;
}
.content-type-nav.is-ready > div > a,
.content-type-menu > a {
  display: flex;
}
.content-type-nav:not(.is-ready) {
  pointer-events: none;
}
.content-type-trigger .explore-icon,
.content-type-trigger > svg:first-child {
  display: block;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}
.content-type-trigger {
  gap: 8px;
}
.content-type-trigger > span {
  margin-right: auto;
}
.content-type-menu a svg,
.drawer-content-types a svg {
  display: block;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (max-width: 700px) {
  .content-type-nav {
    display: none !important;
  }
  .drawer-content-types a {
    display: flex !important;
  }
}
.continue-watching-section[hidden] {
  display: none;
}
.clear-continue {
  padding: 7px 10px;
  border: 1px solid #383838;
  border-radius: 4px;
  background: #1d1d1d;
  color: #aaa;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}
.clear-continue:hover {
  color: #fff;
}
.continue-card .thumb {
  position: relative;
}
.continue-play {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #000b;
  transform: translate(-50%, -50%);
}
.continue-play svg {
  width: 22px;
  fill: #fff;
}
.continue-percent {
  position: absolute;
  right: 7px;
  bottom: 9px;
  padding: 3px 5px;
  border-radius: 3px;
  background: #000d;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
}
.continue-progress {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: #555;
}
.continue-progress b {
  display: block;
  height: 100%;
  background: var(--accent);
}
.search-history-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid #303030;
  color: #aaa;
  font-size: 11px;
}
.search-history-head button {
  border: 0;
  background: transparent;
  color: #aaa;
  font-size: 10px;
  cursor: pointer;
}
.search-history-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  color: #ddd;
  text-align: left;
  cursor: pointer;
}
.search-history-item:hover {
  background: #292929;
}
.search-history-item svg {
  width: 17px;
  fill: none;
  stroke: #888;
  stroke-width: 1.8;
}
.site-header .header-search .search-history-item,
.home-page .header-search .search-history-item,
.site-header .header-search.mobile-search-open .search-history-item {
  display: flex !important;
  width: 100% !important;
  height: auto !important;
  min-height: 34px;
  flex: 0 0 auto !important;
  justify-content: flex-start;
  gap: 8px;
  padding: 7px 12px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #ddd !important;
}
.site-header .header-search .search-history-item:hover,
.home-page .header-search .search-history-item:hover {
  background: #292929 !important;
}
.search-history-item svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
}
.search-history-item span {
  font-size: 13px !important;
  font-weight: 500;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.site-header .header-search .search-history-head button,
.home-page .header-search .search-history-head button {
  display: inline-flex !important;
  width: auto !important;
  height: auto !important;
  flex: 0 0 auto !important;
  padding: 4px 0 !important;
  border: 0 !important;
  background: transparent !important;
}
.engagement-settings-panel {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #333;
}

/* Zongheng-inspired home composition, using the site's own CMS content. */
.home-page .site-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 60;
  border: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 5, 5, 0.88),
    rgba(5, 5, 5, 0.38) 72%,
    transparent
  );
  box-shadow: none;
}
.home-page .content-type-nav {
  display: none;
}
.home-page .header-main {
  height: 84px;
  position: relative;
  z-index: 2;
}
.home-page .header-main .brand img {
  max-width: 190px;
  max-height: 58px;
}
.home-page .header-search {
  max-width: 500px;
  background: rgba(255, 255, 255, 0.94);
  border: 0;
  border-radius: 24px;
}
.home-page .header-search input {
  color: #222;
}
.home-page .header-search > svg {
  stroke: #555;
}
.home-page .header-search button {
  border: 0;
  background: transparent;
  color: #222;
}
.home-page .nav {
  position: absolute;
  top: 520px;
  left: 50%;
  width: min(1320px, calc(100% - 48px));
  padding: 9px 20px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}
.home-page .nav > div {
  height: 86px;
  justify-content: center;
  gap: 8px;
  padding: 0;
  overflow-x: auto;
}
.home-page .nav a,
.home-page .nav a:first-child {
  min-width: 112px;
  height: 66px;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 14px;
  color: #555;
  text-align: center;
  white-space: nowrap;
}
.home-page .nav a:hover,
.home-page .nav a:first-child {
  background: #f0f1f3;
  color: #111;
}
.home-page .nav a svg,
.home-page .nav a img {
  width: 25px;
  height: 25px;
  margin: 0;
}
.home-page .container {
  max-width: none;
  padding: 0;
}
.home-page .latest-hero {
  height: 610px;
  margin: 0 0 100px;
}
.home-page .latest-hero .carousel-slide > img {
  object-position: center;
}
.home-page .latest-hero .hero-copy {
  bottom: 47%;
  max-width: 610px;
}
.home-page .home-layout {
  width: min(1380px, calc(100% - 56px));
  margin: 0 auto;
}
@media (max-width: 900px) {
  .home-page .nav {
    top: 480px;
  }
  .home-page .latest-hero {
    height: 570px;
  }
  .home-page .nav > div {
    justify-content: flex-start;
  }
}
@media (max-width: 700px) {
  .home-page .site-header {
    position: absolute;
  }
  .home-page .header-main {
    height: 70px;
  }
  .home-page .header-search {
    background: rgba(20, 20, 20, 0.72);
    border: 1px solid #ffffff33;
  }
  .home-page .header-search input {
    color: #fff;
  }
  .home-page .header-search > svg {
    stroke: #aaa;
  }
  .home-page .header-search button {
    color: #fff;
  }
  .home-page .nav,
  .home-page .nav.open {
    display: block;
    top: 390px;
    width: calc(100% - 24px);
    padding: 7px 10px;
    border-radius: 16px;
  }
  .home-page .nav > div {
    display: flex;
    height: 76px;
    padding: 0;
    overflow-x: auto;
  }
  .home-page .nav a,
  .home-page .nav a:first-child {
    min-width: 92px;
    height: 62px;
    padding: 6px 9px;
    font-size: 10px;
  }
  .home-page .latest-hero {
    height: 455px;
    min-height: 455px;
    margin-bottom: 88px;
  }
  .home-page .latest-hero .hero-copy {
    bottom: 75px;
  }
  .home-page .menu-toggle {
    display: none;
  }
  .home-page .home-layout {
    width: calc(100% - 30px);
  }
}
.photo-archive {
  padding-bottom: 55px;
}
.photo-archive-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin: 26px 0 22px;
  padding: 28px 0 22px;
  border-bottom: 1px solid #303030;
}
.photo-archive-head h1 {
  margin: 4px 0 3px;
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: -1.8px;
}
.photo-archive-head p {
  margin: 0;
  color: #999;
}
.photo-archive-head > div:last-child {
  display: grid;
  min-width: 125px;
  padding: 14px;
  border: 1px solid #303030;
  border-radius: 5px;
  background: #191919;
  text-align: right;
}
.photo-archive-head strong {
  font-size: 25px;
}
.photo-archive-head div:last-child span {
  color: #888;
  font-size: 10px;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 25px 13px;
}
.photo-card {
  min-width: 0;
}
.photo-card-image {
  position: relative;
  display: block;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 6px;
  background: #181818;
}
.photo-card-image:after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, #000b);
  pointer-events: none;
}
.photo-card-image > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    filter 0.25s,
    transform 0.35s;
}
.photo-card:hover .photo-card-image > img {
  filter: brightness(0.78);
  transform: scale(1.035);
}
.photo-count {
  position: absolute;
  z-index: 2;
  right: 7px;
  bottom: 7px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 7px;
  border-radius: 3px;
  background: #080808d9;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
}
.photo-count svg {
  width: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.photo-open {
  position: absolute;
  z-index: 2;
  inset: 50% auto auto 50%;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #ffffff40;
  border-radius: 50%;
  background: #050505b8;
  color: #fff;
  opacity: 0;
  transform: translate(-50%, -44%);
  transition: 0.2s;
}
.photo-open svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.photo-card:hover .photo-open {
  opacity: 1;
  transform: translate(-50%, -50%);
}
.photo-card-copy {
  padding: 9px 2px 0;
}
.photo-card-copy h2 {
  margin: 0 0 7px;
  font-size: 14px;
  line-height: 1.35;
}
.photo-card-copy h2 a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.photo-card-copy p {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  color: #888;
  font-size: 9px;
}
.photo-single {
  max-width: 1380px;
  margin: 22px auto 0;
}
.photo-single-head {
  margin-bottom: 18px;
}
.photo-single-head h1 {
  max-width: 950px;
  margin: 6px 0 7px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -1.5px;
}
.photo-single-head > .photo-head-actions {
  position: absolute;
  top: 22px;
  right: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 15px;
  color: #fff;
}
.photo-single-head { position: relative; padding-right: 410px; }
.photo-head-actions button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 39px;
  padding: 0 14px;
  border: 1px solid #343434;
  border-radius: 6px;
  background: #171717;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  transition: .18s ease;
}
.photo-head-actions button:hover {
  transform: translateY(-1px);
  border-color: #ff7800;
  background: #222;
}
.photo-head-actions button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.photo-head-favorite.is-active { border-color: #ff446c; color: #ff5478; }
.photo-head-favorite.is-active svg { fill: currentColor; }
.photo-single-head > .photo-head-actions .photo-favorite-total {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  min-height: 39px;
  padding: 0 12px;
  color: #aaa;
}
.photo-single-head > .photo-head-actions .photo-favorite-total:before { content: none; }
.photo-favorite-total b { color: #fff; font-size: 14px; }
@media (max-width: 900px) {
  .photo-single-head { padding-right: 0; }
  .photo-single-head > .photo-head-actions { position: static; }
}
@media (max-width: 560px) {
  .photo-head-actions button { flex: 1; justify-content: center; }
  .photo-single-head > .photo-head-actions .photo-favorite-total { width: 100%; padding-left: 2px; }
}
.photo-single-head > div {
  display: flex;
  gap: 9px;
  color: #999;
  font-size: 11px;
}
.photo-single-head > div span + span:before {
  content: "•";
  margin-right: 9px;
}
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 7px;
}
.photo-gallery button {
  position: relative;
  min-height: 260px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: #181818;
  overflow: hidden;
  cursor: zoom-in;
}
.photo-gallery button.photo-featured {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 527px;
}
.photo-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    filter 0.2s,
    transform 0.3s;
}
.photo-gallery button:hover img {
  filter: brightness(0.78);
  transform: scale(1.02);
}
.photo-gallery button > span {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #000b;
  color: #fff;
  opacity: 0;
  transform: translate(-50%, -45%);
  transition: 0.2s;
}
.photo-gallery button:hover > span {
  opacity: 1;
  transform: translate(-50%, -50%);
}
.photo-gallery svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.photo-description {
  max-width: 900px;
  margin: 20px 0 0;
  padding: 20px;
  border: 1px solid #303030;
  border-radius: 5px;
  background: #181818;
}
.photo-description h2 {
  margin: 0 0 8px;
  font-size: 17px;
}
.photo-description p {
  color: #bbb;
}
.photo-related,
.photo-more {
  margin-top: 42px;
}
.photo-related-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.photo-lightbox[hidden] {
  display: none;
}
.photo-lightbox {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 70px;
  place-items: center;
  background: #050505f2;
  backdrop-filter: blur(10px);
}
.photo-lightbox-stage {
  position: relative;
  display: grid;
  place-items: center;
  max-width: calc(100vw - 170px);
  max-height: calc(100vh - 70px);
  overflow: hidden;
  background: #080808;
  box-shadow: 0 18px 70px #000;
}
.photo-lightbox-stage:after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(to bottom, #0009 0, transparent 16%, transparent 78%, #000a 100%);
  pointer-events: none;
}
.photo-lightbox-stage > img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 70px);
  object-fit: contain;
}
.photo-lightbox button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid #444;
  border-radius: 50%;
  background: #181818;
  color: #fff;
  cursor: pointer;
}
.photo-lightbox button:hover {
  background: #292929;
}
.photo-lightbox button svg {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.photo-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 25px;
}
.photo-lightbox-actions {
  position: absolute;
  z-index: 3;
  top: 14px;
  left: 14px;
  display: flex;
  gap: 8px;
}
.photo-lightbox .photo-lightbox-actions button,
.photo-lightbox .photo-lightbox-actions a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #ffffff45;
  border-radius: 50%;
  background: #181818e8;
  color: #fff;
  cursor: pointer;
  transition: background .18s, border-color .18s, transform .18s;
}
.photo-lightbox .photo-lightbox-actions button:hover,
.photo-lightbox .photo-lightbox-actions a:hover {
  border-color: #fff;
  background: #303030;
  transform: translateY(-2px);
}
.photo-lightbox .photo-lightbox-actions svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.photo-lightbox .photo-lightbox-share.copied {
  border-color: #53ce83;
  background: #1d6c3b;
}
.photo-lightbox-stage > span {
  position: absolute;
  z-index: 3;
  bottom: 16px;
  left: 50%;
  padding: 6px 9px;
  border-radius: 3px;
  background: #000a;
  color: #ccc;
  font-size: 10px;
  transform: translateX(-50%);
}
@media (max-width: 1100px) {
  .photo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .photo-related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .photo-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .photo-archive-head {
    align-items: start;
    margin-top: 15px;
    padding: 18px 0;
    flex-direction: column;
  }
  .photo-archive-head > div:last-child {
    display: none;
  }
  .photo-grid,
  .photo-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 9px;
  }
  .photo-card-image {
    border-radius: 4px;
  }
  .photo-card-copy h2 {
    font-size: 13px;
  }
  .photo-single {
    margin-top: 14px;
  }
  .photo-single-head h1 {
    font-size: 31px;
  }
  .photo-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }
  .photo-gallery button,
  .photo-gallery button.photo-featured {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 0;
    aspect-ratio: 3/4;
    border-radius: 3px;
  }
  .photo-gallery button.photo-featured {
    grid-column: span 2;
    aspect-ratio: 4/3;
  }
  .photo-lightbox {
    grid-template-columns: 45px minmax(0, 1fr) 45px;
  }
  .photo-lightbox-stage {
    max-width: calc(100vw - 90px);
    max-height: calc(100vh - 100px);
  }
  .photo-lightbox-stage > img {
    max-width: 100%;
    max-height: calc(100vh - 100px);
  }
  .photo-lightbox button {
    width: 38px;
    height: 38px;
  }
  .photo-lightbox-actions { top: 12px; left: 12px; gap: 6px; }
  .photo-lightbox .photo-lightbox-actions button,
  .photo-lightbox .photo-lightbox-actions a { width: 40px; height: 40px; }
  .photo-description {
    padding: 16px;
  }
  .photo-related,
  .photo-more {
    margin-top: 32px;
  }
}
.photo-card {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: #171717;
}
.photo-card-image:after {
  inset: 30% 0 0;
  background: linear-gradient(
    transparent,
    rgba(0, 0, 0, 0.38) 34%,
    rgba(0, 0, 0, 0.94) 100%
  );
}
.photo-count {
  top: 7px;
  right: 7px;
  bottom: auto;
}
.photo-card-copy {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 48px 11px 11px;
  color: #fff;
  pointer-events: none;
}
.photo-card-copy h2 {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.3;
  text-shadow: 0 2px 8px #000;
}
.photo-card-copy h2 a {
  color: #fff;
  pointer-events: auto;
}
.photo-card-copy p {
  display: flex;
  margin: 0;
  color: #ddd;
  font-size: 9px;
  text-shadow: 0 1px 5px #000;
}
.photo-card-copy p span:last-child:before {
  content: "•";
  margin-right: 7px;
  color: #aaa;
}
.photo-card:hover .photo-card-copy h2 a {
  color: #fff;
}
.photo-card-image {
  border-radius: 6px;
}
.photo-card .photo-open {
  margin-top: -12px;
}
@media (max-width: 700px) {
  .photo-card {
    border-radius: 4px;
  }
  .photo-card-copy {
    padding: 38px 8px 8px;
  }
  .photo-card-copy h2 {
    margin-bottom: 5px;
    font-size: 12px;
  }
  .photo-card-copy p {
    justify-content: flex-start;
    gap: 6px;
    font-size: 8px;
  }
  .photo-count {
    top: 5px;
    right: 5px;
    padding: 4px 5px;
  }
}
.photo-card .photo-open {
  right: auto;
  bottom: auto;
  width: auto;
  height: auto;
  padding: 7px 13px;
  border: 1px solid #ffffff70;
  border-radius: 4px;
  background: #050505d9;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.2px;
}
.photo-archive-head > .photo-archive-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 9px 12px;
  border: 1px solid #353535;
  border-radius: 4px;
  background: #181818;
  text-align: left;
}
.photo-archive-stat svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
}
.photo-archive-stat > span {
  display: flex;
  align-items: baseline;
  gap: 5px;
  color: #aaa;
  font-size: 10px;
  white-space: nowrap;
}
.photo-archive-stat strong {
  color: #fff;
  font-size: 16px;
  line-height: 1;
}
@media (max-width: 700px) {
  .photo-archive-head > .photo-archive-stat {
    display: none;
  }
}
.photo-archive .photo-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 14px;
}
.photo-card-image {
  aspect-ratio: 16/10;
}
.photo-card-image > .photo-count {
  top: 8px;
  right: 8px;
  bottom: auto;
  left: auto;
  width: auto;
  height: auto;
  padding: 5px 7px;
}
.photo-card-image > .photo-open {
  right: auto;
  bottom: auto;
}
.photo-card-copy {
  padding: 54px 11px 10px;
}
.photo-card-copy h2 {
  font-size: 14px;
}
.photo-card-copy p {
  justify-content: flex-start;
  gap: 7px;
}
@media (max-width: 1000px) {
  .photo-archive .photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .photo-archive .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 8px;
  }
  .photo-card-image {
    aspect-ratio: 4/3;
  }
  .photo-card-image > .photo-count {
    top: 6px;
    right: 6px;
  }
  .photo-card-copy {
    padding: 40px 8px 8px;
  }
}
.photo-archive-search {
  display: flex;
  align-items: center;
  width: min(390px, 38vw);
  height: 42px;
  border: 1px solid #363636;
  border-radius: 4px;
  background: #181818;
  overflow: hidden;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.photo-archive-search:focus-within {
  border-color: #666;
  box-shadow: 0 0 0 3px #ffffff0a;
}
.photo-archive-search > svg {
  flex: 0 0 auto;
  width: 18px;
  margin-left: 13px;
  fill: none;
  stroke: #888;
  stroke-width: 1.8;
}
.photo-archive-search input {
  min-width: 0;
  flex: 1;
  height: 100%;
  padding: 0 11px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
}
.photo-archive-search input::placeholder {
  color: #777;
}
.photo-archive-search button {
  display: grid;
  place-items: center;
  width: 43px;
  height: 100%;
  padding: 0;
  border: 0;
  border-left: 1px solid #333;
  background: #222;
  color: #fff;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}
.photo-archive-search button:hover {
  background: var(--accent);
  color: #111;
}
.photo-archive-search button svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
@media (max-width: 700px) {
  .photo-archive-head {
    gap: 17px;
  }
  .photo-archive-search {
    width: 100%;
    height: 40px;
  }
}
.nav[data-content-mode="photo"] a {
  border-radius: 4px;
}
.photo-hero {
  position: relative;
  min-height: clamp(300px, 42vw, 560px);
  margin: 0 calc(50% - 50vw) 46px;
  background-image:
    linear-gradient(
      90deg,
      #080808 0%,
      rgba(8, 8, 8, 0.72) 30%,
      rgba(8, 8, 8, 0.08) 70%
    ),
    linear-gradient(0deg, #0d0d0d 0%, transparent 38%), var(--photo-hero);
  background-position: center;
  background-size: cover;
  overflow: hidden;
}
.photo-hero > a {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  width: min(1380px, 100%);
  min-height: inherit;
  margin: auto;
  padding: 45px max(28px, calc((100% - 1380px) / 2));
  color: #fff;
}
.photo-hero h1 {
  max-width: 680px;
  margin: 8px 0;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -2px;
}
.photo-hero p {
  margin: 0 0 20px;
  color: #ddd;
}
.photo-hero b {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 4px;
  background: var(--accent);
  color: #111;
  font-size: 12px;
}
.photo-hero b svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.photo-home-section {
  margin: 0 0 46px;
  scroll-margin-top: 155px;
}
.photo-home-section > .section-title {
  margin-top: 0;
}
.photo-results-head {
  margin: 30px 0 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid #303030;
}
.photo-results-head h1 {
  margin: 5px 0;
  font-size: clamp(30px, 4vw, 48px);
}
.photo-results-head p {
  margin: 0;
  color: #999;
}
.photo-popular-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 45px;
}
.photo-popular-grid .photo-card-image {
  aspect-ratio: 16/9;
}
@media (max-width: 900px) {
  .photo-popular-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .nav[data-content-mode="photo"] > div {
    overflow-x: auto;
  }
  .photo-hero {
    min-height: 390px;
    margin-bottom: 30px;
    background-image:
      linear-gradient(0deg, #090909 0%, rgba(9, 9, 9, 0.35) 55%, transparent),
      var(--photo-hero);
    background-position: center;
  }
  .photo-hero > a {
    justify-content: flex-end;
    padding: 24px 16px;
  }
  .photo-hero h1 {
    font-size: 34px;
    letter-spacing: -1px;
  }
  .photo-home-section {
    margin-bottom: 34px;
  }
  .photo-popular-grid {
    gap: 10px 8px;
  }
  .photo-popular-grid .photo-card-image {
    aspect-ratio: 4/3;
  }
}
.nav[data-content-mode="photo"] > div > a:not(:first-of-type) {
  display: none;
}

/* Final homepage polish: keep these rules last so legacy theme rules cannot win. */
body.home-page {
  background: #0d0d0d;
}
.home-page .site-header {
  position: absolute !important;
  top: 0;
  right: 0;
  left: 0;
  height: 92px !important;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.82),
    rgba(0, 0, 0, 0.34) 72%,
    transparent
  ) !important;
  border: 0 !important;
  box-shadow: none !important;
}
.home-page .content-type-nav {
  display: none !important;
}
.home-page .header-main {
  width: min(1320px, calc(100% - 48px));
  height: 86px !important;
  margin: auto;
  padding: 0 !important;
  gap: 34px;
}
.home-page .brand {
  display: flex;
  align-items: center;
  flex: 0 0 150px;
}
.home-page .brand img {
  width: 150px !important;
  max-width: 150px !important;
  max-height: 62px !important;
  object-fit: contain;
}
.home-page .header-search {
  width: min(440px, 42vw);
  max-width: 440px !important;
  height: 44px !important;
  margin-left: auto !important;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  border-radius: 24px !important;
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
}
.home-page .header-search input {
  display: block !important;
  color: #222 !important;
}
.home-page .header-search > svg {
  display: block !important;
  stroke: #555 !important;
}
.home-page .header-search button {
  width: 48px !important;
  border: 0 !important;
  background: transparent !important;
  color: #222 !important;
}
.home-page .container {
  width: 100%;
  max-width: none !important;
  padding: 0 !important;
}
.home-page .video-carousel.latest-hero {
  width: 100% !important;
  height: 560px !important;
  min-height: 560px !important;
  margin: 0 0 86px !important;
  border-radius: 0 !important;
}
.home-page .latest-hero .carousel-slide > img {
  filter: saturate(0.9) contrast(1.02);
  object-position: center 35%;
}
.home-page .latest-hero .hero-shade {
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.94) 0%,
      rgba(0, 0, 0, 0.72) 25%,
      rgba(0, 0, 0, 0.18) 64%,
      rgba(0, 0, 0, 0.08)
    ),
    linear-gradient(0deg, rgba(0, 0, 0, 0.48), transparent 42%) !important;
}
.home-page .latest-hero .hero-copy {
  left: max(48px, calc((100% - 1320px) / 2));
  right: auto;
  bottom: 48% !important;
  width: min(520px, 45vw) !important;
  transform: translateY(50%);
}
.home-page .latest-hero .hero-copy small {
  font-size: 10px;
  letter-spacing: 1.8px;
}
.home-page .latest-hero .hero-copy strong {
  margin: 12px 0 10px !important;
  font-size: clamp(36px, 4vw, 58px) !important;
  line-height: 1.04;
  letter-spacing: -1.5px !important;
}
.home-page .hero-cta {
  margin-top: 16px;
  padding: 10px 15px;
}
.home-page .carousel-arrow {
  background: transparent !important;
  filter: drop-shadow(0 2px 5px #000);
}
.home-page .nav,
.home-page .nav.open {
  position: absolute !important;
  top: 500px !important;
  left: 50% !important;
  display: block !important;
  width: min(1050px, calc(100% - 48px)) !important;
  padding: 10px 18px !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  border-radius: 20px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28) !important;
  backdrop-filter: blur(18px) !important;
  transform: translateX(-50%) !important;
}
.home-page .nav > div {
  display: flex !important;
  justify-content: center !important;
  height: 76px !important;
  max-width: none !important;
  padding: 0 !important;
  gap: 4px !important;
  overflow-x: auto;
}
.home-page .nav a,
.home-page .nav a:first-child {
  display: flex !important;
  flex: 0 0 122px !important;
  min-width: 122px !important;
  height: 64px !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: column !important;
  gap: 6px !important;
  padding: 7px 10px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: transparent !important;
  color: #555 !important;
  font-size: 10px !important;
  font-weight: 800 !important;
}
.home-page .nav a:hover,
.home-page .nav a:first-child {
  background: #f0f1f3 !important;
  color: #111 !important;
}
.home-page .nav a svg,
.home-page .nav a img {
  display: block !important;
  width: 24px !important;
  height: 24px !important;
  margin: 0 !important;
}
.home-page .home-layout {
  width: min(1320px, calc(100% - 48px)) !important;
  margin: 0 auto !important;
}
@media (max-width: 700px) {
  .home-page .site-header {
    height: 72px !important;
  }
  .home-page .header-main {
    width: calc(100% - 28px);
    height: 68px !important;
  }
  .home-page .brand {
    flex-basis: 105px;
  }
  .home-page .brand img {
    width: 105px !important;
    max-width: 105px !important;
  }
  .home-page .header-search {
    width: 44px !important;
    flex: 0 0 44px !important;
    background: rgba(20, 20, 20, 0.72) !important;
    border-color: #ffffff44 !important;
  }
  .home-page .header-search > svg,
  .home-page .header-search input {
    display: none !important;
  }
  .home-page .header-search button {
    color: #fff !important;
  }
  .home-page .menu-toggle {
    display: none !important;
  }
  .home-page .video-carousel.latest-hero {
    height: 410px !important;
    min-height: 410px !important;
    margin-bottom: 78px !important;
  }
  .home-page .latest-hero .hero-copy {
    left: 20px;
    right: 28px;
    bottom: 72px !important;
    width: auto !important;
    transform: none;
  }
  .home-page .latest-hero .hero-copy strong {
    font-size: clamp(27px, 8vw, 38px) !important;
  }
  .home-page .nav,
  .home-page .nav.open {
    top: 370px !important;
    width: calc(100% - 20px) !important;
    padding: 7px 8px !important;
    border-radius: 14px !important;
  }
  .home-page .nav > div {
    justify-content: flex-start !important;
    height: 67px !important;
  }
  .home-page .nav a,
  .home-page .nav a:first-child {
    flex-basis: 88px !important;
    min-width: 88px !important;
    height: 57px !important;
    padding: 5px !important;
    font-size: 9px !important;
  }
  .home-page .nav a svg,
  .home-page .nav a img {
    width: 21px !important;
    height: 21px !important;
  }
  .home-page .home-layout {
    width: calc(100% - 28px) !important;
  }
}
.photo-latest-hero {
  margin-top: 0;
  margin-bottom: 38px;
}
.photo-latest-hero .hero-cta svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.photo-latest-hero .carousel-slide > img {
  object-position: center;
}
.photo-latest-hero .hero-copy small {
  color: var(--accent);
}
body:has(.photo-latest-hero) .breadcrumb {
  display: none;
}
@media (max-width: 650px) {
  .photo-latest-hero {
    margin-top: 0;
    margin-bottom: 28px;
  }
  .photo-latest-hero .hero-copy {
    bottom: 70px;
  }
  .photo-latest-hero .hero-cta svg {
    width: 16px;
    height: 16px;
  }
}
.photo-hero-carousel {
  position: relative;
  background: #111;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
}
.photo-hero-carousel > .photo-hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  background-image:
    linear-gradient(
      90deg,
      #070707 0%,
      rgba(7, 7, 7, 0.94) 12%,
      rgba(7, 7, 7, 0.6) 35%,
      rgba(7, 7, 7, 0.12) 67%
    ),
    linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent 42%),
    var(--photo-slide);
  background-position: center;
  background-size: cover;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.008);
  transition:
    opacity 0.36s ease,
    transform 0.48s cubic-bezier(0.22, 0.8, 0.3, 1),
    visibility 0.36s;
}
.photo-hero-carousel > .photo-hero-slide.active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}
.photo-hero-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  display: grid;
  place-items: center;
  width: 54px;
  height: 72px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  opacity: 0;
  cursor: pointer;
  filter: drop-shadow(0 2px 5px #000);
  transform: translateY(-50%) scale(0.94);
  transition: 0.18s;
}
.photo-hero-carousel:hover .photo-hero-arrow,
.photo-hero-carousel:focus-within .photo-hero-arrow {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}
.photo-hero-arrow:hover {
  color: var(--accent);
  transform: translateY(-50%) scale(1.1) !important;
}
.photo-hero-arrow.prev {
  left: 18px;
}
.photo-hero-arrow.next {
  right: 18px;
}
.photo-hero-arrow svg {
  width: 38px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
}
.photo-hero-dots {
  position: absolute;
  z-index: 4;
  left: 6.5%;
  bottom: 26px;
  display: flex;
  gap: 7px;
}
.photo-hero-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ffffff66;
  cursor: pointer;
  transition:
    width 0.2s,
    background 0.2s;
}
.photo-hero-dots button.active {
  width: 28px;
  border-radius: 4px;
  background: #ff263d;
}
@media (max-width: 650px) {
  .photo-hero-carousel > .photo-hero-slide {
    justify-content: flex-end;
    padding: 0 22px 68px;
    background-image:
      linear-gradient(90deg, rgba(4, 4, 4, 0.92), rgba(4, 4, 4, 0.22) 75%),
      linear-gradient(0deg, rgba(0, 0, 0, 0.88), transparent 60%),
      var(--photo-slide);
  }
  .photo-hero-arrow {
    display: none;
  }
  .photo-hero-dots {
    left: 22px;
    bottom: 18px;
  }
}
.photo-hero {
  height: clamp(390px, 42vw, 610px);
  min-height: 0;
  margin: 0 calc(50% - 50vw) 38px;
  background-image:
    linear-gradient(
      90deg,
      #070707 0%,
      rgba(7, 7, 7, 0.94) 12%,
      rgba(7, 7, 7, 0.6) 35%,
      rgba(7, 7, 7, 0.12) 67%
    ),
    linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent 42%),
    var(--photo-hero);
  background-position: center;
  background-size: cover;
  border-radius: 0;
}
.photo-hero > a {
  position: relative;
  justify-content: center;
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0 6.5%;
  color: #fff;
}
.photo-hero .eyebrow {
  color: #ff3347;
  font-size: 10px;
  letter-spacing: 1.4px;
}
.photo-hero h1 {
  max-width: 570px;
  margin: 16px 0 12px;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -1.5px;
}
.photo-hero p {
  margin: 0;
  color: #eee;
  font-size: 12px;
  font-weight: 700;
}
.photo-hero b {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 11px 16px;
  border-radius: 3px;
  background: #ff263d;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.photo-hero b svg {
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
body:has(.photo-hero) .breadcrumb {
  display: none;
}
@supports (width: 100dvw) {
  .photo-hero {
    width: 100dvw;
    margin-left: calc(50% - 50dvw);
    margin-right: calc(50% - 50dvw);
  }
}
@media (max-width: 650px) {
  .photo-hero {
    width: 100vw;
    height: 72vw;
    min-height: 330px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-bottom: 28px;
    background-image:
      linear-gradient(90deg, rgba(4, 4, 4, 0.92), rgba(4, 4, 4, 0.22) 75%),
      linear-gradient(0deg, rgba(0, 0, 0, 0.88), transparent 60%),
      var(--photo-hero);
  }
  .photo-hero > a {
    justify-content: flex-end;
    padding: 0 22px 68px;
  }
  .photo-hero h1 {
    margin: 9px 0;
    font-size: clamp(25px, 8vw, 38px);
    letter-spacing: -0.5px;
  }
  .photo-hero p {
    font-size: 10px;
  }
  .photo-hero b {
    margin-top: 13px;
    padding: 9px 12px;
  }
}

/* Responsive homepage safeguards (kept at EOF). */
@media (min-width: 701px) and (max-width: 1100px) {
  .home-page .header-main {
    width: calc(100% - 40px);
  }
  .home-page .brand {
    flex-basis: 130px;
  }
  .home-page .brand img {
    width: 130px !important;
  }
  .home-page .video-carousel.latest-hero {
    height: 520px !important;
    min-height: 520px !important;
  }
  .home-page .latest-hero .hero-copy {
    left: 42px;
    width: 52vw !important;
  }
  .home-page .latest-hero .hero-copy strong {
    font-size: clamp(34px, 5.4vw, 52px) !important;
  }
  .home-page .nav,
  .home-page .nav.open {
    top: 460px !important;
    width: calc(100% - 40px) !important;
  }
  .home-page .nav > div {
    justify-content: flex-start !important;
  }
  .home-page .home-layout {
    width: calc(100% - 40px) !important;
  }
  .home-page .content-layout {
    grid-template-columns: 1fr !important;
  }
  .home-page .sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }
  .home-page .carousel-arrow {
    display: none !important;
  }
  .home-page .latest-hero .hero-shade {
    background:
      linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.38) 70%,
        rgba(0, 0, 0, 0.28)
      ),
      linear-gradient(90deg, rgba(0, 0, 0, 0.58), transparent 85%) !important;
  }
  .home-page .latest-hero .hero-copy {
    max-width: calc(100% - 42px) !important;
  }
  .home-page .latest-hero .hero-copy strong {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-height: 1.06 !important;
  }
  .home-page .latest-hero .hero-copy em {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .home-page .hero-cta {
    font-size: 10px;
    padding: 9px 12px;
  }
  .home-page .nav > div {
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
  }
  .home-page .nav > div::-webkit-scrollbar {
    display: none;
  }
  .home-page .nav a {
    scroll-snap-align: start;
  }
  .home-page .content-layout {
    display: block !important;
  }
  .home-page .sidebar {
    position: static !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
  .home-page .grid,
  .home-page .featured {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px 8px !important;
  }
  .home-page .section-title {
    align-items: center;
  }
  .home-page .section-title h2 {
    font-size: 21px;
  }
  .home-page .view-all {
    font-size: 10px;
  }
}
@media (max-width: 420px) {
  .home-page .header-main {
    width: calc(100% - 22px);
  }
  .home-page .brand {
    flex-basis: 92px;
  }
  .home-page .brand img {
    width: 92px !important;
    max-width: 92px !important;
  }
  .home-page .video-carousel.latest-hero {
    height: 380px !important;
    min-height: 380px !important;
    margin-bottom: 72px !important;
  }
  .home-page .latest-hero .carousel-slide > img {
    object-position: center center;
  }
  .home-page .latest-hero .hero-copy {
    left: 16px;
    right: 16px;
    bottom: 64px !important;
  }
  .home-page .latest-hero .hero-copy small {
    font-size: 8px;
  }
  .home-page .latest-hero .hero-copy strong {
    margin: 7px 0 !important;
    font-size: 27px !important;
  }
  .home-page .latest-hero .hero-copy em {
    font-size: 9px;
  }
  .home-page .nav,
  .home-page .nav.open {
    top: 342px !important;
    width: calc(100% - 14px) !important;
  }
  .home-page .nav a,
  .home-page .nav a:first-child {
    flex-basis: 80px !important;
    min-width: 80px !important;
  }
  .home-page .home-layout {
    width: calc(100% - 20px) !important;
  }
  .home-page .card h3 {
    font-size: 12px;
  }
}

/* On phones use the existing hamburger drawer instead of the floating category bar. */
@media (max-width: 700px) {
  .home-page .header-main {
    gap: 9px;
  }
  .home-page .menu-toggle {
    display: grid !important;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    margin-left: 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: rgba(10, 10, 10, 0.58);
    color: #fff;
    backdrop-filter: blur(10px);
  }
  .home-page .menu-toggle svg {
    width: 21px;
  }
  .home-page .nav {
    display: none !important;
  }
  .home-page .nav.open {
    position: absolute !important;
    top: 68px !important;
    right: 10px !important;
    left: 10px !important;
    display: block !important;
    width: auto !important;
    padding: 10px !important;
    border: 1px solid #353535 !important;
    border-radius: 12px !important;
    background: rgba(15, 15, 15, 0.97) !important;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.5) !important;
    transform: none !important;
  }
  .home-page .nav.open > div {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: auto !important;
    max-height: calc(100vh - 90px);
    gap: 5px !important;
    padding: 0 !important;
    overflow-y: auto;
    overflow-x: hidden;
  }
  .home-page .nav.open a,
  .home-page .nav.open a:first-child {
    display: flex !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 48px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-direction: row !important;
    gap: 10px !important;
    padding: 9px 11px !important;
    border: 1px solid #303030 !important;
    border-radius: 7px !important;
    background: #202020 !important;
    color: #ddd !important;
    font-size: 10px !important;
  }
  .home-page .nav.open a:first-child,
  .home-page .nav.open a:hover {
    border-color: #555 !important;
    background: #292929 !important;
    color: #fff !important;
  }
  .home-page .nav.open a svg,
  .home-page .nav.open a img {
    flex: 0 0 19px;
    width: 19px !important;
    height: 19px !important;
  }
  .home-page .video-carousel.latest-hero {
    margin-bottom: 24px !important;
  }
  .home-page .carousel-arrow {
    display: none !important;
  }
}
@media (max-width: 420px) {
  .home-page .header-search {
    display: none !important;
  }
  .home-page .menu-toggle {
    margin-left: auto;
  }
  .home-page .video-carousel.latest-hero {
    margin-bottom: 20px !important;
  }
  .home-page .nav.open {
    top: 64px !important;
  }
}

/* Match the proven /popular mobile header and search layout on the homepage. */
@media (max-width: 700px) {
  .home-page .site-header {
    position: sticky !important;
    top: 0 !important;
    height: auto !important;
    background: #0f0f0f !important;
    border-bottom: 1px solid #272727 !important;
  }
  .home-page .header-main {
    display: grid !important;
    grid-template-columns: minmax(72px, auto) minmax(0, 1fr) 42px !important;
    width: 100% !important;
    height: 64px !important;
    padding: 0 12px !important;
    gap: 10px !important;
  }
  .home-page .brand {
    display: block;
    min-width: 0;
    flex: initial;
  }
  .home-page .brand img {
    width: auto !important;
    max-width: 82px !important;
    max-height: 42px !important;
  }
  .home-page .header-search,
  .home-page .header-search.mobile-search-open {
    position: relative !important;
    display: flex !important;
    width: 100% !important;
    max-width: none !important;
    height: 40px !important;
    min-width: 0 !important;
    margin: 0 !important;
    border: 1px solid #303030 !important;
    border-radius: 22px !important;
    background: #121212 !important;
    box-shadow: none !important;
    overflow: visible !important;
  }
  .home-page .header-search > svg {
    display: none !important;
  }
  .home-page .header-search input,
  .home-page .header-search:focus-within input,
  .home-page .header-search.mobile-search-open input {
    display: block !important;
    position: static !important;
    min-width: 0 !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 10px !important;
    border: 0 !important;
    border-radius: 22px 0 0 22px !important;
    background: transparent !important;
    color: #fff !important;
    box-shadow: none !important;
    font-size: 13px !important;
  }
  .home-page .header-search button,
  .home-page .header-search.mobile-search-open button {
    position: static !important;
    display: grid !important;
    flex: 0 0 40px !important;
    width: 40px !important;
    height: 100% !important;
    border: 0 !important;
    border-left: 1px solid #303030 !important;
    border-radius: 0 22px 22px 0 !important;
    background: #222 !important;
    color: #fff !important;
  }
  .home-page .menu-toggle {
    display: grid !important;
    width: 42px !important;
    height: 42px !important;
    margin: 0 !important;
    border: 1px solid #383838 !important;
    border-radius: 5px !important;
    background: #222 !important;
    backdrop-filter: none !important;
  }
  .home-page .nav {
    position: fixed !important;
    z-index: 101 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    display: block !important;
    width: min(86vw, 350px) !important;
    height: 100dvh !important;
    padding: 78px 14px 22px !important;
    border: 0 !important;
    border-left: 1px solid #303030 !important;
    border-radius: 0 !important;
    background: #111 !important;
    box-shadow: -18px 0 45px rgba(0, 0, 0, 0.55) !important;
    visibility: hidden !important;
    opacity: 0 !important;
    transform: translateX(105%) !important;
    transition:
      transform 0.28s ease,
      opacity 0.22s ease,
      visibility 0.28s !important;
  }
  .home-page .nav.open {
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateX(0) !important;
  }
  .home-page .nav > div,
  .home-page .nav.open > div {
    display: flex !important;
    align-items: stretch !important;
    flex-direction: column !important;
    width: 100% !important;
    height: auto !important;
    max-height: calc(100dvh - 100px) !important;
    padding: 0 !important;
    gap: 7px !important;
    overflow-y: auto !important;
  }
  .home-page .nav a,
  .home-page .nav a:first-child,
  .home-page .nav.open a,
  .home-page .nav.open a:first-child {
    display: flex !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 49px !important;
    height: auto !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-direction: row !important;
    gap: 11px !important;
    padding: 12px 14px !important;
    border: 1px solid #2b2b2b !important;
    border-radius: 4px !important;
    background: #1c1c1c !important;
    color: #ddd !important;
    font-size: 11px !important;
  }
  .home-page .nav a svg,
  .home-page .nav a img {
    flex: 0 0 20px !important;
    width: 20px !important;
    height: 20px !important;
  }
  .home-page .video-carousel.latest-hero {
    margin-top: 0 !important;
  }
}
@media (max-width: 390px) {
  .home-page .header-main {
    grid-template-columns: 68px minmax(0, 1fr) 40px !important;
    gap: 7px !important;
    padding: 0 8px !important;
  }
  .home-page .brand img {
    max-width: 68px !important;
  }
  .home-page .header-search button {
    flex-basis: 38px !important;
    width: 38px !important;
  }
  .home-page .menu-toggle {
    width: 40px !important;
    height: 40px !important;
  }
}

/* Homepage drawer must be pixel-compatible with the standard /popular drawer. */
@media (max-width: 700px) {
  body.home-page.drawer-open {
    overflow: hidden;
  }
  .home-page .site-header .nav,
  .home-page .site-header .nav.open {
    position: fixed !important;
    z-index: 101 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    width: min(86vw, 350px) !important;
    max-width: 350px !important;
    height: 100dvh !important;
    margin: 0 !important;
    padding: 70px 14px 18px !important;
    border: 0 !important;
    border-left: 1px solid #303030 !important;
    border-radius: 0 !important;
    background: #111 !important;
    box-shadow: -18px 0 45px rgba(0, 0, 0, 0.55) !important;
    backdrop-filter: none !important;
  }
  .home-page .site-header .nav {
    display: flex !important;
    flex-direction: column !important;
    visibility: hidden !important;
    opacity: 0 !important;
    transform: translateX(105%) !important;
  }
  .home-page .site-header .nav.open {
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateX(0) !important;
  }
  .home-page .site-header .nav .drawer-head {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    gap: 2px 12px !important;
    margin: 0 0 15px !important;
    padding: 17px 14px 15px !important;
    border-bottom: 1px solid #303030 !important;
  }
  .home-page .site-header .nav > div {
    display: flex !important;
    flex: 1 !important;
    align-items: stretch !important;
    flex-direction: column !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 7px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
  }
  .home-page .site-header .nav > div > a,
  .home-page .site-header .nav > div > a:first-child {
    position: relative !important;
    display: flex !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 49px !important;
    height: 49px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-direction: row !important;
    gap: 11px !important;
    padding: 12px 14px !important;
    border: 1px solid #2b2b2b !important;
    border-radius: 4px !important;
    background: #1c1c1c !important;
    color: #ddd !important;
    font-size: 11px !important;
    text-align: left !important;
  }
  .home-page .site-header .nav > div > a:hover,
  .home-page .site-header .nav > div > a:first-child {
    border-color: #3a3a3a !important;
    background: #272727 !important;
    color: #fff !important;
  }
  .home-page .site-header .nav .drawer-foot {
    display: grid !important;
    gap: 2px !important;
    margin-top: 14px !important;
    padding: 14px !important;
    border-top: 1px solid #303030 !important;
  }
  .home-page .site-header .menu-toggle {
    position: relative !important;
    z-index: 102 !important;
  }
  .home-page .nav-backdrop {
    position: fixed !important;
    z-index: 99 !important;
    inset: 0 !important;
  }
}

/* Keep the visible drawer above its backdrop so taps reach navigation links. */
@media (max-width: 700px) {
  .home-page .site-header {
    z-index: 100 !important;
  }
  .home-page .site-header .nav.open {
    pointer-events: auto !important;
  }
  .home-page .site-header .nav.open a {
    position: relative !important;
    z-index: 2 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
  .home-page .nav-backdrop {
    z-index: 99 !important;
    pointer-events: none !important;
  }
  .home-page .nav-backdrop.open {
    pointer-events: auto !important;
  }
}

/* Dark 3D category dock with a rotating monochrome sequence border. */
@property --dock-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
@keyframes home-dock-border-spin {
  to {
    --dock-angle: 360deg;
  }
}
@media (min-width: 701px) {
  .home-page .site-header .nav {
    isolation: isolate;
    overflow: visible !important;
    border: 0 !important;
    background: linear-gradient(
      180deg,
      #242424 0%,
      #131313 48%,
      #090909 100%
    ) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.18),
      inset 0 -2px 5px rgba(0, 0, 0, 0.9),
      0 8px 0 #050505,
      0 20px 38px rgba(0, 0, 0, 0.52) !important;
    transform: translateX(-50%) perspective(900px) rotateX(2deg) !important;
  }
  .home-page .site-header .nav:before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: -3px;
    border-radius: 23px;
    background: conic-gradient(
      from var(--dock-angle),
      #020202 0 12%,
      #777 20%,
      #fff 27%,
      #2c2c2c 38%,
      #050505 50%,
      #d8d8d8 64%,
      #fff 72%,
      #333 84%,
      #020202 100%
    );
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.18);
    animation: home-dock-border-spin 7s linear infinite;
  }
  .home-page .site-header .nav:after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(180deg, #242424, #121212 52%, #080808);
    pointer-events: none;
  }
  .home-page .site-header .nav > div {
    position: relative;
    z-index: 2;
  }
  .home-page .site-header .nav a,
  .home-page .site-header .nav a:first-child {
    border: 1px solid transparent !important;
    background: transparent !important;
    color: #bdbdbd !important;
    text-shadow: 0 1px 2px #000 !important;
    transition:
      transform 0.18s ease,
      background 0.18s ease,
      border-color 0.18s ease,
      color 0.18s ease !important;
  }
  .home-page .site-header .nav a:hover {
    border-color: #ffffff2b !important;
    background: linear-gradient(180deg, #383838, #202020) !important;
    color: #fff !important;
    box-shadow:
      inset 0 1px 0 #ffffff26,
      0 5px 10px #0008;
    transform: translateY(-2px) !important;
  }
  .home-page .site-header .nav a:first-child,
  .home-page .site-header .nav a.active {
    border-color: #ffffff35 !important;
    background: linear-gradient(180deg, #f4f4f4, #bdbdbd) !important;
    color: #111 !important;
    text-shadow: 0 1px 0 #fff !important;
    box-shadow:
      inset 0 1px 0 #fff,
      0 5px 12px #000a !important;
    transform: translateY(-2px) !important;
  }
  .home-page .site-header .nav a svg {
    filter: drop-shadow(0 1px 1px #0006);
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-page .site-header .nav:before {
    animation: none;
  }
}

/* Shared 3D animated sequence treatment for public-facing action buttons. */
body:not(.dashboard):not(.admin-body)
  :is(
    .btn,
    .hero-cta,
    .hero-play,
    .watch-actions button,
    .clear-continue,
    .age-dialog button:not(.age-leave)
  ) {
  position: relative;
  isolation: isolate;
  border: 1px solid #ff6979 !important;
  border-bottom-color: #790817 !important;
  border-radius: 7px !important;
  background: linear-gradient(
    180deg,
    #ff5366 0%,
    #f5233e 42%,
    #d5122d 62%,
    #a60920 100%
  ) !important;
  color: #fff !important;
  text-shadow: 0 1px 1px #76000f !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -2px 3px rgba(92, 0, 12, 0.55),
    0 4px 0 #680714,
    0 7px 14px rgba(0, 0, 0, 0.4) !important;
  transform: translateY(-1px);
  transition:
    transform 0.14s ease,
    filter 0.18s ease,
    box-shadow 0.14s ease !important;
  animation: none !important;
}
body:not(.dashboard):not(.admin-body)
  :is(
    .btn,
    .hero-cta,
    .hero-play,
    .watch-actions button,
    .clear-continue,
    .age-dialog button:not(.age-leave)
  ):hover {
  filter: saturate(1.08) brightness(1.08);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -2px 3px rgba(92, 0, 12, 0.5),
    0 5px 0 #680714,
    0 10px 18px rgba(0, 0, 0, 0.46) !important;
}
body:not(.dashboard):not(.admin-body)
  :is(
    .btn,
    .hero-cta,
    .hero-play,
    .watch-actions button,
    .clear-continue,
    .age-dialog button:not(.age-leave)
  ):active {
  filter: brightness(0.92);
  transform: translateY(3px);
  box-shadow:
    inset 0 2px 5px rgba(85, 0, 12, 0.7),
    inset 0 -1px 0 rgba(255, 255, 255, 0.16),
    0 1px 0 #680714,
    0 3px 6px rgba(0, 0, 0, 0.34) !important;
}
body:not(.dashboard):not(.admin-body)
  :is(
    .btn,
    .hero-cta,
    .hero-play,
    .watch-actions button,
    .clear-continue,
    .age-dialog button:not(.age-leave)
  ):focus-visible {
  outline: 2px solid #fff !important;
  outline-offset: 4px;
}
@media (max-width: 700px) {
  body:not(.dashboard):not(.admin-body)
    :is(
      .btn,
      .hero-cta,
      .hero-play,
      .watch-actions button,
      .clear-continue,
      .age-dialog button:not(.age-leave)
    ) {
    border-width: 1px !important;
    border-radius: 6px !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.38),
      inset 0 -2px 3px rgba(92, 0, 12, 0.5),
      0 3px 0 #680714,
      0 6px 12px rgba(0, 0, 0, 0.38) !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  body:not(.dashboard):not(.admin-body)
    :is(
      .btn,
      .hero-cta,
      .hero-play,
      .watch-actions button,
      .clear-continue,
      .age-dialog button:not(.age-leave)
    ) {
    animation: none;
  }
}

/* Neutral 3D treatment for the dark "Lihat Semua" action links. */
body:not(.dashboard):not(.admin-body) .view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 13px;
  border: 1px solid #686868 !important;
  border-bottom-color: #080808 !important;
  border-radius: 6px !important;
  background: linear-gradient(
    180deg,
    #3f3f3f 0%,
    #292929 43%,
    #1b1b1b 62%,
    #0d0d0d 100%
  ) !important;
  color: #fff !important;
  text-shadow: 0 1px 1px #000;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    inset 0 -2px 3px rgba(0, 0, 0, 0.65),
    0 3px 0 #050505,
    0 6px 12px rgba(0, 0, 0, 0.35) !important;
  transform: translateY(-1px);
  transition:
    transform 0.14s ease,
    filter 0.18s ease,
    box-shadow 0.14s ease !important;
}
body:not(.dashboard):not(.admin-body) .view-all svg {
  width: 15px;
  filter: drop-shadow(0 1px 1px #000);
}
body:not(.dashboard):not(.admin-body) .view-all:hover {
  filter: brightness(1.2);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -2px 3px rgba(0, 0, 0, 0.58),
    0 4px 0 #050505,
    0 9px 16px rgba(0, 0, 0, 0.42) !important;
}
body:not(.dashboard):not(.admin-body) .view-all:active {
  filter: brightness(0.9);
  transform: translateY(2px);
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.75),
    0 1px 0 #050505,
    0 3px 6px rgba(0, 0, 0, 0.3) !important;
}
body:not(.dashboard):not(.admin-body) .view-all:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.category-page .section-title > span {
  display: none;
}
.related-section > .section-title > span {
  display: none;
}

/* Minimal monochrome watch controls. */
.watch-main > .watch-actions > button {
  display: grid !important;
  place-items: center !important;
  flex: 0 0 42px !important;
  width: 42px !important;
  height: 38px !important;
  min-width: 42px !important;
  padding: 0 !important;
  border: 1px solid #555 !important;
  border-bottom-color: #171717 !important;
  border-radius: 5px !important;
  background: linear-gradient(180deg, #484848, #292929 48%, #171717) !important;
  color: #eee !important;
  text-shadow: none !important;
  box-shadow:
    inset 0 1px 0 #ffffff36,
    0 2px 0 #080808,
    0 4px 9px #0006 !important;
  transform: none !important;
  animation: none !important;
}
.watch-main > .watch-actions > button:hover {
  filter: brightness(1.18);
  transform: translateY(-1px) !important;
}
.watch-main > .watch-actions > button:active {
  transform: translateY(2px) !important;
  box-shadow: inset 0 2px 4px #000b !important;
}
.watch-main > .watch-actions > button > span {
  display: none !important;
}
.watch-main > .watch-actions > button svg {
  width: 19px !important;
  height: 19px !important;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.watch-main > .watch-actions > button.saved {
  background: linear-gradient(180deg, #4a4a4a, #242424) !important;
  color: #ffd83d !important;
}
.watch-main > .watch-actions > button.saved svg {
  fill: #ffd83d22;
  filter: drop-shadow(0 0 5px #ffc40066);
}
.video-server-switcher button,
.video-server-switcher button.active {
  border: 1px solid #555 !important;
  border-bottom-color: #151515 !important;
  background: linear-gradient(180deg, #464646, #292929 52%, #191919) !important;
  color: #ddd !important;
  box-shadow:
    inset 0 1px 0 #ffffff2b,
    0 2px 0 #090909 !important;
}
.video-server-switcher button:hover {
  filter: brightness(1.18);
  color: #fff !important;
}
.video-server-switcher button.active {
  border-color: #eee !important;
  background: linear-gradient(180deg, #fff, #d4d4d4 55%, #a8a8a8) !important;
  color: #111 !important;
  text-shadow: 0 1px 0 #fff !important;
}

/* Branded custom share modal. */
.share-modal {
  position: fixed;
  z-index: 500;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(10px);
  animation: soft-enter 0.18s ease;
}
.share-dialog {
  position: relative;
  width: min(440px, 100%);
  padding: 28px;
  border: 1px solid #4b4b4b;
  border-radius: 12px;
  background: linear-gradient(145deg, #242424, #111);
  box-shadow:
    inset 0 1px 0 #ffffff1c,
    0 24px 70px #000;
  color: #fff;
}
.share-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 1px solid #444;
  border-radius: 50%;
  background: #191919;
  color: #ddd;
  font-size: 22px;
  cursor: pointer;
}
.share-brand {
  height: 48px;
  margin-bottom: 20px;
}
.share-brand img {
  display: block;
  max-width: 145px;
  max-height: 48px;
  object-fit: contain;
}
.share-kicker {
  color: #aaa;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.5px;
}
.share-dialog h2 {
  margin: 7px 38px 20px 0;
  font-size: 21px;
  line-height: 1.25;
}
.share-links {
  display: grid;
  grid-template-columns: repeat(3, 48px) minmax(100px, 1fr);
  gap: 8px;
}
.share-links a,
.share-copy {
  display: grid;
  place-items: center;
  height: 44px;
  margin: 0;
  border: 1px solid #505050;
  border-radius: 6px;
  background: linear-gradient(180deg, #444, #202020);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}
.share-links a:hover,
.share-copy:hover {
  border-color: #eee;
  filter: brightness(1.15);
}
.share-copyright {
  display: block;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid #363636;
  color: #777;
  font-size: 9px;
}

/* Theater mode: dim everything and isolate the iframe player. */
body.theater-mode {
  overflow: hidden;
}
body.theater-mode:before {
  content: "";
  position: fixed;
  z-index: 300;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(5px);
}
body.theater-mode .watch-main > .player {
  position: fixed;
  z-index: 302;
  top: 50%;
  left: 50%;
  width: min(1280px, 94vw);
  max-height: 88vh;
  transform: translate(-50%, -50%);
  border: 1px solid #555;
  box-shadow:
    0 0 0 1px #000,
    0 25px 80px #000 !important;
}
body.theater-mode .theater-toggle {
  position: fixed !important;
  z-index: 304;
  top: 18px;
  right: 18px;
}
body.theater-mode .player iframe {
  filter: none !important;
  opacity: 1 !important;
}
@media (max-width: 600px) {
  .share-dialog {
    padding: 22px 18px;
  }
  .share-links {
    grid-template-columns: repeat(3, 44px) 1fr;
  }
  .share-links a,
  .share-copy {
    height: 42px;
  }
  .watch-main > .watch-actions > button {
    flex-basis: 38px !important;
    width: 38px !important;
    min-width: 38px !important;
    height: 36px !important;
  }
  body.theater-mode .watch-main > .player {
    width: 100vw;
    border-radius: 0 !important;
  }
}

/* Player controls must override the global red CTA skin. */
body:not(.dashboard):not(.admin-body) .watch-main > .watch-actions > button {
  border: 1px solid #5a5a5a !important;
  border-bottom-color: #111 !important;
  background: linear-gradient(
    180deg,
    #505050 0%,
    #303030 48%,
    #181818 100%
  ) !important;
  color: #f4f4f4 !important;
  text-shadow: 0 1px 1px #000 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -2px 3px #0008,
    0 3px 0 #080808,
    0 6px 11px #0007 !important;
  animation: none !important;
}
body:not(.dashboard):not(.admin-body)
  .watch-main
  > .watch-actions
  > button:hover {
  background: linear-gradient(180deg, #646464, #393939 50%, #202020) !important;
  filter: none !important;
}
body:not(.dashboard):not(.admin-body)
  .watch-main
  > .watch-actions
  > button.saved {
  border-color: #777 !important;
  background: linear-gradient(180deg, #555, #303030 52%, #181818) !important;
  color: #ffd83d !important;
}
body:not(.dashboard):not(.admin-body)
  .watch-main
  > .watch-actions
  > button.saved
  svg {
  fill: #ffd83d !important;
  stroke: #ffd83d !important;
  filter: drop-shadow(0 0 5px #ffc40099) !important;
}

/* Public brand accent: orange text and orange-to-black 3D CTA buttons. */
body:not(.dashboard):not(.admin-body)
  :is(.eyebrow, .category, .latest-hero .hero-copy small) {
  color: var(--accent) !important;
}
body:not(.dashboard):not(.admin-body) .hot {
  background: var(--accent) !important;
  color: #111 !important;
}
body:not(.dashboard):not(.admin-body)
  :is(
    .btn,
    .hero-cta,
    .hero-play,
    .clear-continue,
    .age-dialog button:not(.age-leave)
  ) {
  border: 1px solid color-mix(in srgb, var(--accent) 72%, white) !important;
  border-bottom-color: #2a1600 !important;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--accent) 76%, white) 0%,
    var(--accent) 38%,
    color-mix(in srgb, var(--accent) 68%, #4b2100) 64%,
    #17100a 100%
  ) !important;
  color: #111 !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.28) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -2px 3px rgba(38, 18, 0, 0.62),
    0 4px 0 #251300,
    0 8px 16px rgba(0, 0, 0, 0.42) !important;
  animation: none !important;
}
body:not(.dashboard):not(.admin-body)
  :is(
    .btn,
    .hero-cta,
    .hero-play,
    .clear-continue,
    .age-dialog button:not(.age-leave)
  ):hover {
  filter: brightness(1.1) saturate(1.08) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -2px 3px rgba(38, 18, 0, 0.55),
    0 5px 0 #251300,
    0 11px 20px rgba(0, 0, 0, 0.48) !important;
}
body:not(.dashboard):not(.admin-body)
  :is(
    .btn,
    .hero-cta,
    .hero-play,
    .clear-continue,
    .age-dialog button:not(.age-leave)
  ):active {
  filter: brightness(0.92) !important;
  transform: translateY(3px) !important;
  box-shadow:
    inset 0 2px 5px rgba(45, 20, 0, 0.7),
    0 1px 0 #251300,
    0 3px 7px rgba(0, 0, 0, 0.35) !important;
}

/* Refined orange controls: restrained depth, no glossy/arcade appearance. */
body:not(.dashboard):not(.admin-body)
  :is(
    .btn,
    .hero-cta,
    .hero-play,
    .clear-continue,
    .age-dialog button:not(.age-leave)
  ) {
  border: 1px solid #ff9a3c !important;
  border-bottom-color: #873300 !important;
  border-radius: 5px !important;
  background: linear-gradient(
    180deg,
    #ff9b32 0%,
    #ff7a00 48%,
    #e66000 100%
  ) !important;
  color: #111 !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 3px 0 #873300,
    0 6px 12px rgba(0, 0, 0, 0.3) !important;
  transform: translateY(-1px) !important;
}
body:not(.dashboard):not(.admin-body)
  :is(
    .btn,
    .hero-cta,
    .hero-play,
    .clear-continue,
    .age-dialog button:not(.age-leave)
  ):hover {
  filter: brightness(1.06) !important;
  transform: translateY(-2px) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 4px 0 #873300,
    0 8px 14px rgba(0, 0, 0, 0.34) !important;
}
body:not(.dashboard):not(.admin-body)
  :is(
    .btn,
    .hero-cta,
    .hero-play,
    .clear-continue,
    .age-dialog button:not(.age-leave)
  ):active {
  filter: brightness(0.96) !important;
  transform: translateY(2px) !important;
  box-shadow:
    inset 0 1px 3px rgba(87, 30, 0, 0.45),
    0 1px 0 #873300,
    0 3px 6px rgba(0, 0, 0, 0.28) !important;
}
body:not(.dashboard):not(.admin-body)
  :is(
    .btn,
    .hero-cta,
    .hero-play,
    .clear-continue,
    .age-dialog button:not(.age-leave)
  ) {
  color: #fff !important;
  text-shadow: 0 1px 2px rgba(83, 27, 0, 0.72) !important;
}

/* Desktop home header: the logo/search row and category tabs follow the page after the hero. */
@media (min-width: 701px) {
  .home-page .site-header,
  .home-page .site-header .header-main,
  .home-page .site-header .nav {
    transition:
      height 0.22s ease,
      background 0.22s ease,
      box-shadow 0.22s ease,
      border-radius 0.22s ease,
      top 0.22s ease,
      padding 0.22s ease;
  }
  .home-page.home-nav-stuck .site-header {
    position: fixed !important;
    top: 0 !important;
    height: 132px !important;
    background: rgba(10, 10, 10, 0.96) !important;
    border-bottom: 1px solid #303030 !important;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.52) !important;
    backdrop-filter: blur(16px) !important;
  }
  .home-page.home-nav-stuck .header-main {
    height: 64px !important;
  }
  .home-page.home-nav-stuck .header-main .brand img {
    max-height: 46px !important;
  }
  .home-page.home-nav-stuck .header-search {
    height: 38px !important;
    max-width: 410px !important;
  }
  .home-page.home-nav-stuck .site-header .nav {
    position: absolute !important;
    top: 64px !important;
    right: 0 !important;
    left: 0 !important;
    width: 100% !important;
    max-width: none !important;
    height: 68px !important;
    margin: 0 !important;
    padding: 6px max(24px, calc((100% - 1320px) / 2)) !important;
    border: 0 !important;
    border-top: 1px solid #292929 !important;
    border-radius: 0 !important;
    background: linear-gradient(180deg, #181818, #0c0c0c) !important;
    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.32) !important;
    transform: none !important;
  }
  .home-page.home-nav-stuck .site-header .nav:before {
    display: none !important;
  }
  .home-page.home-nav-stuck .site-header .nav:after {
    border-radius: 0 !important;
    background: linear-gradient(180deg, #181818, #0c0c0c) !important;
  }
  .home-page.home-nav-stuck .site-header .nav > div {
    height: 55px !important;
    justify-content: center !important;
    gap: 6px !important;
  }
  .home-page.home-nav-stuck .site-header .nav a,
  .home-page.home-nav-stuck .site-header .nav a:first-child {
    flex: 0 1 130px !important;
    min-width: 90px !important;
    height: 52px !important;
    flex-direction: row !important;
    gap: 8px !important;
    padding: 7px 11px !important;
    border-radius: 7px !important;
  }
  .home-page.home-nav-stuck .site-header .nav a svg,
  .home-page.home-nav-stuck .site-header .nav a img {
    width: 20px !important;
    height: 20px !important;
  }
  .home-page.home-nav-stuck .site-header .nav a:first-child,
  .home-page.home-nav-stuck .site-header .nav a.active {
    transform: none !important;
    box-shadow:
      inset 0 1px 0 #fff,
      0 2px 6px #0009 !important;
  }
}
@media (min-width: 701px) {
  .home-page .site-header {
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: background-color, box-shadow;
  }
  .home-page .site-header .header-main,
  .home-page .site-header .nav {
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform, opacity;
  }
  .home-page.home-nav-stuck .site-header {
    contain: paint;
  }
  .home-page.home-nav-stuck .site-header .nav {
    transform: translate3d(0, 0, 0) !important;
  }
  .home-page.home-nav-stuck .site-header .nav > div {
    transform: translateZ(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-page .site-header,
  .home-page .site-header .header-main,
  .home-page .site-header .nav {
    transition: none !important;
  }
}
.home-page .site-header .brand-region {
  top: 4px !important;
  right: -5px !important;
  font-size: 8px !important;
}
@media (max-width: 700px) {
  .home-page .site-header .brand-region {
    top: 1px !important;
    right: 1px !important;
    font-size: 7px !important;
  }
}
.home-page .latest-hero .carousel-dots button.active {
  background: var(--accent) !important;
}
@media (min-width: 701px) {
  .home-page.home-nav-stuck .site-header:after {
    content: "";
    position: absolute;
    z-index: 5;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 3px;
    background: linear-gradient(
      90deg,
      #050505 0%,
      #2a1605 18%,
      var(--accent) 42%,
      #ffb45f 50%,
      var(--accent) 58%,
      #2a1605 82%,
      #050505 100%
    );
    box-shadow: 0 1px 8px color-mix(in srgb, var(--accent) 42%, transparent);
    pointer-events: none;
  }
}
@media (min-width: 701px) {
  .home-page .site-header .nav:before {
    background: conic-gradient(
      from var(--dock-angle),
      #030303 0 18%,
      #3b1d00 27%,
      var(--accent) 38%,
      #120900 50%,
      #050505 63%,
      var(--accent) 76%,
      #3b1d00 87%,
      #030303 100%
    ) !important;
    box-shadow: 0 0 15px color-mix(in srgb, var(--accent) 24%, transparent) !important;
  }
  .home-page .site-header .nav a:first-child,
  .home-page .site-header .nav a.active {
    border-color: #ff9a3c !important;
    background: linear-gradient(
      180deg,
      #ff9b32,
      #ff7900 52%,
      #d95500
    ) !important;
    color: #111 !important;
    text-shadow: 0 1px 0 #ffc27b !important;
    box-shadow:
      inset 0 1px 0 #ffffff55,
      0 4px 10px #000b !important;
  }
}
@media (min-width: 701px) {
  .home-page .site-header .nav a:first-child,
  .home-page .site-header .nav a.active {
    color: #fff !important;
    text-shadow: 0 1px 2px #6d2800 !important;
  }
  .home-page .site-header .nav a:first-child svg,
  .home-page .site-header .nav a.active svg {
    color: #fff !important;
    stroke: #fff !important;
  }
}

/* Continue Watching horizontal showcase. */
.continue-carousel {
  position: relative;
  margin-top: 34px;
  padding: 22px 48px 30px;
  border: 1px solid #2d2d2d;
  border-radius: 14px;
  background: linear-gradient(135deg, #1b1b1b, #111 58%, #181008);
  box-shadow:
    inset 0 1px 0 #ffffff0d,
    0 18px 38px #0004;
  overflow: hidden;
}
.continue-carousel > .section-title {
  margin: 0 0 20px;
}
.continue-carousel .continue-watching-grid {
  display: flex !important;
  align-items: center;
  gap: 20px;
  overflow-x: auto;
  padding: 22px calc(50% - 120px) 28px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
.continue-carousel .continue-watching-grid::-webkit-scrollbar {
  display: none;
}
.continue-carousel .continue-card {
  flex: 0 0 210px;
  scroll-snap-align: center;
  opacity: 0.66;
  transform: scale(0.88);
  transform-origin: center;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease,
    filter 0.3s ease;
}
.continue-carousel .continue-card.is-centered {
  z-index: 2;
  opacity: 1;
  filter: none;
  transform: scale(1.12);
}
.continue-carousel .continue-card .thumb {
  border-radius: 7px;
  box-shadow: 0 12px 26px #0008;
}
.continue-carousel .continue-card.is-centered .thumb {
  box-shadow:
    0 18px 38px #000b,
    0 0 0 1px #ffffff22;
}
.continue-arrow {
  position: absolute;
  z-index: 5;
  top: 58%;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid #555;
  border-radius: 50%;
  background: #1b1b1be8;
  color: #fff;
  box-shadow: 0 8px 20px #0008;
  cursor: pointer;
  transform: translateY(-50%);
  transition: 0.18s;
}
.continue-arrow:hover {
  border-color: var(--accent);
  background: #292929;
  transform: translateY(-50%) scale(1.08);
}
.continue-arrow.prev {
  left: 14px;
}
.continue-arrow.next {
  right: 14px;
}
.continue-arrow svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
@media (max-width: 700px) {
  .continue-carousel {
    margin-right: -14px;
    margin-left: -14px;
    padding: 18px 0 22px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }
  .continue-carousel > .section-title {
    margin: 0 14px 12px;
  }
  .continue-carousel .continue-watching-grid {
    gap: 12px;
    padding: 18px calc(50% - 91px) 24px;
  }
  .continue-carousel .continue-card {
    flex-basis: 170px;
    transform: scale(0.92);
  }
  .continue-carousel .continue-card.is-centered {
    transform: scale(1.06);
  }
  .continue-arrow {
    display: none;
  }
}

/* True 3D coverflow depth for Continue Watching. */
.continue-carousel {
  perspective: 1400px;
}
.continue-carousel .continue-watching-grid {
  perspective: 1200px;
  transform-style: preserve-3d;
}
.continue-carousel .continue-card {
  position: relative;
  transform-style: preserve-3d;
  opacity: 0.42;
  filter: saturate(0.62) brightness(0.72);
  transform: perspective(900px) rotateY(0) translateZ(-120px) scale(0.78);
  transition:
    transform 0.38s cubic-bezier(0.2, 0.75, 0.25, 1),
    opacity 0.3s ease,
    filter 0.3s ease;
}
.continue-carousel .continue-card:has(~ .is-centered) {
  opacity: 0.7;
  filter: saturate(0.82) brightness(0.85);
  transform: perspective(900px) rotateY(27deg) translateX(18px)
    translateZ(-65px) scale(0.88);
  transform-origin: right center;
}
.continue-carousel .continue-card.is-centered ~ .continue-card {
  opacity: 0.7;
  filter: saturate(0.82) brightness(0.85);
  transform: perspective(900px) rotateY(-27deg) translateX(-18px)
    translateZ(-65px) scale(0.88);
  transform-origin: left center;
}
.continue-carousel .continue-card:has(+ .is-centered) {
  opacity: 0.88;
  filter: saturate(0.95) brightness(0.94);
  transform: perspective(900px) rotateY(20deg) translateX(9px) translateZ(-28px)
    scale(0.96);
}
.continue-carousel .continue-card.is-centered + .continue-card {
  opacity: 0.88;
  filter: saturate(0.95) brightness(0.94);
  transform: perspective(900px) rotateY(-20deg) translateX(-9px)
    translateZ(-28px) scale(0.96);
}
.continue-carousel .continue-card.is-centered {
  z-index: 4;
  opacity: 1;
  filter: none;
  transform: perspective(900px) rotateY(0) translateZ(45px) scale(1.12);
}
.continue-carousel .continue-card:after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 8%;
  bottom: -15px;
  left: 8%;
  height: 24px;
  border-radius: 50%;
  background: #000;
  filter: blur(13px);
  opacity: 0.65;
  transform: translateZ(-20px);
}
.continue-carousel .continue-card.is-centered:after {
  right: 2%;
  bottom: -24px;
  left: 2%;
  height: 34px;
  filter: blur(16px);
  opacity: 0.82;
}
.continue-carousel .continue-card .thumb {
  border: 1px solid #ffffff18;
  backface-visibility: hidden;
}
.continue-carousel .continue-card.is-centered .thumb {
  border-color: #ffffff4d;
  box-shadow:
    0 25px 48px #000d,
    0 0 22px color-mix(in srgb, var(--accent) 12%, transparent);
}
@media (max-width: 700px) {
  .continue-carousel .continue-card {
    transform: perspective(700px) translateZ(-45px) scale(0.86);
  }
  .continue-carousel .continue-card:has(~ .is-centered) {
    transform: perspective(700px) rotateY(20deg) translateX(10px) scale(0.91);
  }
  .continue-carousel .continue-card.is-centered ~ .continue-card {
    transform: perspective(700px) rotateY(-20deg) translateX(-10px) scale(0.91);
  }
  .continue-carousel .continue-card.is-centered {
    transform: perspective(700px) translateZ(25px) scale(1.04);
  }
}

/* Pilihan Terbaik — dedicated 3D coverflow. */
.best-choice-carousel {
  position: relative;
  margin-top: 34px;
  padding: 22px 48px 34px;
  overflow: hidden;
  border: 1px solid #2d2d2d;
  border-radius: 14px;
  background: linear-gradient(135deg, #1b1b1b, #111 58%, #181008);
  box-shadow:
    inset 0 1px 0 #ffffff0d,
    0 18px 38px #0004;
  perspective: 1400px;
}
.best-choice-grid {
  display: flex;
  align-items: center;
  gap: 20px;
  overflow-x: auto;
  padding: 28px calc(50% - 120px) 38px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  perspective: 1200px;
  transform-style: preserve-3d;
}
.best-choice-grid::-webkit-scrollbar {
  display: none;
}
.best-choice-grid > .card {
  position: relative;
  flex: 0 0 210px;
  scroll-snap-align: center;
  transform-style: preserve-3d;
  opacity: 0.42;
  filter: saturate(0.62) brightness(0.72);
  transform: perspective(900px) translateZ(-120px) scale(0.78);
  transition:
    transform 0.38s cubic-bezier(0.2, 0.75, 0.25, 1),
    opacity 0.3s ease,
    filter 0.3s ease;
}
.best-choice-grid > .card:has(~ .is-centered) {
  opacity: 0.7;
  filter: saturate(0.82) brightness(0.85);
  transform: perspective(900px) rotateY(27deg) translateX(18px)
    translateZ(-65px) scale(0.88);
  transform-origin: right center;
}
.best-choice-grid > .card.is-centered ~ .card {
  opacity: 0.7;
  filter: saturate(0.82) brightness(0.85);
  transform: perspective(900px) rotateY(-27deg) translateX(-18px)
    translateZ(-65px) scale(0.88);
  transform-origin: left center;
}
.best-choice-grid > .card:has(+ .is-centered) {
  opacity: 0.88;
  filter: saturate(0.95) brightness(0.94);
  transform: perspective(900px) rotateY(20deg) translateX(9px) translateZ(-28px)
    scale(0.96);
}
.best-choice-grid > .card.is-centered + .card {
  opacity: 0.88;
  filter: saturate(0.95) brightness(0.94);
  transform: perspective(900px) rotateY(-20deg) translateX(-9px)
    translateZ(-28px) scale(0.96);
}
.best-choice-grid > .card.is-centered {
  z-index: 4;
  opacity: 1;
  filter: none;
  transform: perspective(900px) translateZ(45px) scale(1.12);
}
.best-choice-grid > .card .thumb {
  border: 1px solid #ffffff18;
  border-radius: 7px;
  backface-visibility: hidden;
  box-shadow: 0 12px 26px #0008;
}
.best-choice-grid > .card.is-centered .thumb {
  border-color: #ffffff4d;
  box-shadow:
    0 25px 48px #000d,
    0 0 22px color-mix(in srgb, var(--accent) 12%, transparent);
}
@media (max-width: 700px) {
  .best-choice-carousel {
    margin-right: -14px;
    margin-left: -14px;
    padding: 18px 0 24px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }
  .best-choice-carousel > .section-title {
    margin: 0 14px 10px;
  }
  .best-choice-grid {
    gap: 12px;
    padding: 22px calc(50% - 91px) 30px;
  }
  .best-choice-grid > .card {
    flex-basis: 170px;
    transform: perspective(700px) translateZ(-45px) scale(0.86);
  }
  .best-choice-grid > .card:has(~ .is-centered) {
    transform: perspective(700px) rotateY(20deg) translateX(10px) scale(0.91);
  }
  .best-choice-grid > .card.is-centered ~ .card {
    transform: perspective(700px) rotateY(-20deg) translateX(-10px) scale(0.91);
  }
  .best-choice-grid > .card.is-centered {
    transform: perspective(700px) translateZ(25px) scale(1.04);
  }
}

/* Admin post search and sorting. */
.admin-title-actions,
.post-list-filter {
  display: flex;
  align-items: center;
  gap: 10px;
}
.post-list-filter label {
  margin: 0;
}
.post-list-filter input,
.post-list-filter select {
  height: 44px;
  margin: 0;
  border-color: #343434;
  background: #151515;
  color: #eee;
}
.post-list-filter input {
  width: min(32vw, 430px);
}
.post-list-filter select {
  width: 165px;
  cursor: pointer;
}
.post-list-filter button {
  height: 44px;
  padding: 0 16px;
  border: 1px solid #444;
  border-radius: 4px;
  background: linear-gradient(#343434, #202020);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.post-list-filter button:hover {
  border-color: var(--orange);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 900px) {
  .dashboard .admin-title {
    flex-wrap: wrap;
  }
  .admin-title-actions {
    width: 100%;
    flex-wrap: wrap;
  }
  .post-list-filter {
    flex: 1;
    flex-wrap: wrap;
  }
  .post-list-filter label:first-of-type {
    flex: 1;
  }
  .post-list-filter input {
    width: 100%;
    min-width: 190px;
  }
}
@media (max-width: 560px) {
  .post-list-filter {
    width: 100%;
  }
  .post-list-filter label,
  .post-list-filter label:first-of-type {
    flex: 1 1 100%;
  }
  .post-list-filter select {
    width: 100%;
  }
  .post-list-filter button {
    flex: 1;
  }
  .admin-title-actions > .btn {
    height: 44px;
    padding: 12px 14px;
  }
}

/* Keep the admin post controls compact and aligned in one toolbar. */
.dashboard .admin-title-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}
.dashboard .post-list-filter {
  display: grid !important;
  grid-template-columns: minmax(280px, 430px) 170px 66px;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.dashboard .post-list-filter > input,
.dashboard .post-list-filter > select,
.dashboard .post-list-filter > button {
  width: 100% !important;
  height: 44px !important;
  margin: 0 !important;
}
.dashboard .admin-title-actions > .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  white-space: nowrap;
}
@media (max-width: 1050px) {
  .dashboard .admin-title {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .dashboard .admin-title-actions {
    width: 100%;
    justify-content: flex-start;
  }
  .dashboard .post-list-filter {
    flex: 1;
    grid-template-columns: minmax(220px, 1fr) 165px 66px;
  }
}
@media (max-width: 620px) {
  .dashboard .admin-title-actions {
    align-items: stretch;
    flex-wrap: wrap;
  }
  .dashboard .post-list-filter {
    flex: 1 1 100%;
    grid-template-columns: 1fr 1fr;
  }
  .dashboard .post-list-filter > input {
    grid-column: 1/-1;
  }
  .dashboard .admin-title-actions > .btn {
    flex: 1;
  }
}

@media (min-width: 1051px) {
  .dashboard .admin-title {
    display: grid !important;
    grid-template-columns: minmax(190px, 1fr) auto;
    align-items: center !important;
    gap: 28px;
  }
  .dashboard .admin-title-actions {
    width: auto !important;
    flex-wrap: nowrap !important;
  }
  .dashboard .post-list-filter {
    grid-template-columns: minmax(300px, 430px) 170px 66px !important;
  }
  .dashboard .admin-title-actions > .btn {
    min-width: 126px;
  }
}

/* Posts header: title first, compact tool row directly underneath. */
@media (min-width: 621px) {
  .dashboard .admin-title:has(.post-list-filter) {
    display: flex !important;
    flex-direction: column;
    align-items: stretch !important;
    gap: 18px;
    padding-bottom: 22px;
  }
  .dashboard .admin-title:has(.post-list-filter) > .admin-title-actions {
    display: flex !important;
    width: 100% !important;
    justify-content: flex-start !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
  }
  .dashboard .post-list-filter {
    display: flex !important;
    flex: 1 1 auto;
    align-items: center !important;
    gap: 8px;
    min-width: 0;
  }
  .dashboard .post-list-filter > input[type="search"] {
    flex: 1 1 auto;
    width: auto !important;
    min-width: 220px;
    max-width: none;
  }
  .dashboard .post-list-filter > select {
    flex: 0 0 185px;
    width: 185px !important;
  }
  .dashboard .post-list-filter > button {
    flex: 0 0 72px;
    width: 72px !important;
  }
  .dashboard .admin-title:has(.post-list-filter) .admin-title-actions > .btn {
    flex: 0 0 auto;
    min-width: 130px;
  }
}

/* Keep long hero titles inside a fixed three-line slot. */
.home-page .latest-hero .hero-copy strong {
  display: -webkit-box !important;
  max-width: 100%;
  overflow: hidden !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow-wrap: anywhere;
  text-overflow: ellipsis;
}
.home-page .latest-hero .hero-copy em,
.home-page .latest-hero .hero-cta {
  position: relative;
  z-index: 2;
}
.home-page .latest-hero .hero-cta {
  flex-shrink: 0;
}
@media (min-width: 701px) {
  .home-page .latest-hero .hero-copy {
    width: min(560px, 46vw) !important;
  }
  .home-page .latest-hero .hero-copy strong {
    font-size: clamp(34px, 3.7vw, 54px) !important;
    line-height: 1.03 !important;
  }
}

/* Cinematic typography: expressive headings, highly readable interface text. */
body:not(.dashboard):not(.admin-body) {
  font-family: "Inter", Arial, sans-serif;
}
.home-page .latest-hero .hero-copy strong,
.card h3,
.section-title h2,
.watch-title h1,
.video-description h2,
.related-section h2,
.archive-heading h2,
.empty h3,
.age-dialog h1 {
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.home-page .latest-hero .hero-copy strong {
  font-weight: 800;
  letter-spacing: -0.015em !important;
}
.card h3 {
  font-size: 17px;
  line-height: 1.16;
}
.section-title h2,
.archive-heading h2 {
  font-weight: 800;
}
.nav,
.header-search,
.hero-cta,
.view-all,
.pill,
.eyebrow,
.card p,
.watch-meta,
button,
input,
select,
textarea {
  font-family: "Inter", Arial, sans-serif;
}
@media (max-width: 700px) {
  .card h3 {
    font-size: 15px;
    line-height: 1.18;
  }
}

/* Category belongs on the video detail page, not on listing cards. */
.card .card-categories {
  display: none !important;
}
.card .card-copy > p {
  justify-content: flex-end;
}
.card .views {
  margin-left: auto;
}

/* Refined movie cards. */
.content-layout .grid > .card,
.related-item > .card {
  position: relative;
  padding: 7px 7px 10px;
  border: 1px solid #292929;
  border-radius: 9px;
  background: linear-gradient(145deg, #1c1c1c 0%, #121212 70%);
  box-shadow:
    inset 0 1px 0 #ffffff0a,
    0 8px 18px #0003;
  overflow: hidden;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.content-layout .grid > .card:hover,
.related-item > .card:hover {
  z-index: 2;
  border-color: color-mix(in srgb, var(--accent) 48%, #333);
  box-shadow:
    inset 0 1px 0 #ffffff14,
    0 14px 28px #0008,
    0 0 18px color-mix(in srgb, var(--accent) 9%, transparent);
  transform: translateY(-4px);
}
.content-layout .grid > .card .thumb,
.related-item > .card .thumb {
  border-radius: 6px;
  background: #090909;
  box-shadow: 0 5px 14px #0008;
}
.content-layout .grid > .card .thumb:after,
.related-item > .card .thumb:after {
  content: "";
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 42%;
  pointer-events: none;
  background: linear-gradient(transparent, #0009);
}
.content-layout .grid > .card .thumb img,
.related-item > .card .thumb img {
  transition:
    transform 0.32s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 0.25s ease;
}
.content-layout .grid > .card:hover .thumb img,
.related-item > .card:hover .thumb img {
  filter: brightness(0.82) saturate(1.08);
  transform: scale(1.045);
}
.content-layout .grid > .card .card-copy,
.related-item > .card .card-copy {
  padding: 10px 3px 0;
}
.content-layout .grid > .card h3,
.related-item > .card h3 {
  display: -webkit-box;
  height: auto;
  min-height: 2.34em;
  margin: 0 0 9px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.17;
  letter-spacing: 0.1px;
}
.content-layout .grid > .card h3 a,
.related-item > .card h3 a {
  transition: color 0.18s ease;
}
.content-layout .grid > .card:hover h3 a,
.related-item > .card:hover h3 a {
  color: #fff;
}
.content-layout .grid > .card .card-copy > p,
.related-item > .card .card-copy > p {
  min-height: 22px;
  align-items: center;
  border-top: 1px solid #ffffff0b;
  padding-top: 7px;
}
.content-layout .grid > .card .views,
.related-item > .card .views {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 7px;
  border: 1px solid #303030;
  border-radius: 20px;
  background: #0d0d0d;
  color: #aaa;
}
.content-layout .grid > .card .views svg,
.related-item > .card .views svg {
  width: 13px;
  stroke: var(--accent);
}
.content-layout .grid > .card .quality-badge,
.related-item > .card .quality-badge {
  z-index: 3;
  border: 1px solid #ffffff38;
  border-radius: 4px;
  background: linear-gradient(#fff, #cfcfcf);
  color: #111;
  box-shadow: 0 2px 7px #0009;
}
.content-layout .grid > .card .duration,
.related-item > .card .duration {
  z-index: 3;
  border: 1px solid #ffffff25;
  border-radius: 4px;
  background: #050505e8;
  box-shadow: 0 2px 7px #0008;
}
@media (max-width: 700px) {
  .content-layout .grid > .card,
  .related-item > .card {
    padding: 5px 5px 8px;
    border-radius: 7px;
  }
  .content-layout .grid > .card:hover,
  .related-item > .card:hover {
    transform: translateY(-2px);
  }
  .content-layout .grid > .card h3,
  .related-item > .card h3 {
    font-size: 14px;
  }
  .content-layout .grid > .card .views,
  .related-item > .card .views {
    padding: 2px 6px;
  }
}

/* Keep thumbnails clean on hover—no black wash. */
.content-layout .grid > .card .thumb:after,
.related-item > .card .thumb:after {
  display: none !important;
}
.content-layout .grid > .card:hover .thumb img,
.related-item > .card:hover .thumb img {
  filter: brightness(1.03) saturate(1.06) !important;
  transform: scale(1.035);
}

/* Match archive, Popular and Semua Video cards with the homepage cards. */
.archive-page .grid > .card {
  position: relative;
  padding: 7px 7px 10px;
  border: 1px solid #292929;
  border-radius: 9px;
  background: linear-gradient(145deg, #1c1c1c, #121212 70%);
  box-shadow:
    inset 0 1px 0 #ffffff0a,
    0 8px 18px #0003;
  overflow: hidden;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.archive-page .grid > .card:hover {
  z-index: 2;
  border-color: color-mix(in srgb, var(--accent) 48%, #333);
  box-shadow:
    inset 0 1px 0 #ffffff14,
    0 14px 28px #0008,
    0 0 18px color-mix(in srgb, var(--accent) 9%, transparent);
  transform: translateY(-4px);
}
.archive-page .grid > .card .thumb {
  border-radius: 6px;
  background: #090909;
  box-shadow: 0 5px 14px #0008;
}
.archive-page .grid > .card .thumb:after {
  display: none !important;
}
.archive-page .grid > .card .thumb img {
  transition:
    transform 0.32s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 0.25s ease;
}
.archive-page .grid > .card:hover .thumb img {
  filter: brightness(1.03) saturate(1.06) !important;
  transform: scale(1.035);
}
.archive-page .grid > .card .card-copy {
  padding: 10px 3px 0;
}
.archive-page .grid > .card h3 {
  display: -webkit-box;
  height: auto;
  min-height: 2.34em;
  margin: 0 0 9px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.17;
}
.archive-page .grid > .card .card-copy > p {
  min-height: 22px;
  align-items: center;
  justify-content: flex-end;
  border-top: 1px solid #ffffff0b;
  padding-top: 7px;
}
.archive-page .grid > .card .views {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  padding: 3px 7px;
  border: 1px solid #303030;
  border-radius: 20px;
  background: #0d0d0d;
  color: #aaa;
}
.archive-page .grid > .card .views svg {
  width: 13px;
  stroke: var(--accent);
}
.archive-page .grid > .card .quality-badge {
  z-index: 3;
  border: 1px solid #ffffff38;
  border-radius: 4px;
  background: linear-gradient(#fff, #cfcfcf);
  color: #111;
  box-shadow: 0 2px 7px #0009;
}
.archive-page .grid > .card .duration {
  z-index: 3;
  border: 1px solid #ffffff25;
  border-radius: 4px;
  background: #050505e8;
  box-shadow: 0 2px 7px #0008;
}
@media (max-width: 700px) {
  .archive-page .grid > .card {
    padding: 5px 5px 8px;
    border-radius: 7px;
  }
  .archive-page .grid > .card:hover {
    transform: translateY(-2px);
  }
  .archive-page .grid > .card h3 {
    font-size: 14px;
  }
  .archive-page .grid > .card .views {
    padding: 2px 6px;
  }
}

/* Seamless desktop navbar hand-off: avoid animating from its hero position. */
@media (min-width: 701px) {
  .home-page .site-header .nav {
    transition:
      background 0.22s ease,
      box-shadow 0.22s ease,
      border-radius 0.22s ease,
      opacity 0.18s ease !important;
  }
  .home-page.home-nav-stuck .site-header {
    animation: nav-dock-in 0.24s cubic-bezier(0.2, 0.75, 0.25, 1) both;
  }
  @keyframes nav-dock-in {
    from {
      opacity: 0.82;
      transform: translate3d(0, -10px, 0);
    }
    to {
      opacity: 1;
      transform: translate3d(0, 0, 0);
    }
  }
}

/* The category dock travels with the hero, then joins the header on contact. */
@media (min-width: 701px) {
  .home-page:not(.home-nav-stuck) .site-header .nav {
    top: var(--home-nav-top, 520px) !important;
    will-change: top;
  }
  .home-page.home-nav-stuck .site-header {
    animation: none !important;
  }
  .home-page.home-nav-stuck .site-header .nav {
    opacity: 1 !important;
  }
}

/* Two-stage home header: floating top bar first, merged category dock later. */
@media (min-width: 701px) {
  .home-page .site-header {
    transition:
      background 0.24s ease,
      border-color 0.24s ease,
      box-shadow 0.24s ease,
      backdrop-filter 0.24s ease !important;
  }
  .home-page.home-header-floating:not(.home-nav-stuck) .site-header {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    height: 64px !important;
    background: rgba(9, 9, 9, 0.96) !important;
    border-bottom: 1px solid #292929 !important;
    box-shadow: 0 8px 24px #0007 !important;
    backdrop-filter: blur(16px) !important;
  }
  .home-page.home-header-floating:not(.home-nav-stuck) .header-main {
    height: 64px !important;
  }
  .home-page.home-header-floating:not(.home-nav-stuck) .site-header .nav {
    position: absolute !important;
  }
  .home-page:not(.home-header-floating) .site-header {
    box-shadow: none !important;
  }
}

/* GPU-driven travel keeps the hero category dock stable while scrolling. */
@media (min-width: 701px) {
  .home-page:not(.home-nav-stuck) .site-header .nav {
    top: var(--home-nav-start, 520px) !important;
    transform: translate3d(
      -50%,
      calc(var(--home-nav-shift, 0px) * -1),
      0
    ) !important;
    will-change: transform !important;
    backface-visibility: hidden;
  }
  .home-page.home-nav-stuck .site-header .nav {
    transform: translate3d(0, 0, 0) !important;
    will-change: auto !important;
  }
}

/* Homepage alphabetical video index. */
.az-list {
  width: min(1380px, calc(100% - 56px));
  margin: 52px auto 34px;
  padding: 22px 24px;
  border: 1px solid #292929;
  border-radius: 12px;
  background: linear-gradient(145deg, #1b1b1b, #101010);
  box-shadow:
    inset 0 1px 0 #ffffff0d,
    0 14px 30px #0004;
}
.az-list h2 {
  margin: 3px 0 17px;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 28px;
}
.az-list nav {
  display: grid;
  grid-template-columns: repeat(14, minmax(38px, 1fr));
  gap: 7px;
}
.az-list a {
  display: grid;
  place-items: center;
  min-height: 40px;
  padding: 6px;
  border: 1px solid #343434;
  border-radius: 5px;
  background: linear-gradient(#292929, #171717);
  color: #ddd;
  font-family: "Inter", Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  box-shadow:
    inset 0 1px 0 #ffffff12,
    0 2px 0 #080808;
  transition: 0.16s;
}
.az-list a:hover {
  border-color: var(--accent);
  background: linear-gradient(#ff9630, var(--accent));
  color: #fff;
  transform: translateY(-2px);
}
@media (max-width: 800px) {
  .az-list nav {
    grid-template-columns: repeat(9, 1fr);
  }
}
@media (max-width: 500px) {
  .az-list {
    width: calc(100% - 24px);
    margin: 34px auto 24px;
    padding: 17px 14px;
  }
  .az-list nav {
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
  }
  .az-list a {
    min-height: 36px;
  }
}

/* Modern editorial A–Z rail. */
.az-list {
  position: relative;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  align-items: center;
  gap: 34px;
  min-height: 190px;
  padding: 30px 34px;
  overflow: hidden;
  border-color: #3a2a1b;
  border-radius: 22px;
  background:
    radial-gradient(
      circle at 10% 50%,
      color-mix(in srgb, var(--accent) 22%, transparent),
      transparent 32%
    ),
    linear-gradient(115deg, #21160e 0%, #121212 34%, #090909 100%);
  box-shadow:
    inset 0 1px 0 #ffffff12,
    0 22px 55px #0008;
}
.az-list:before {
  content: "A—Z";
  position: absolute;
  left: -12px;
  bottom: -50px;
  color: #ffffff07;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 145px;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}
.az-list:after {
  content: "";
  position: absolute;
  right: 8%;
  bottom: 0;
  width: 42%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 18px var(--accent);
}
.az-list > div {
  position: relative;
  z-index: 1;
  padding-right: 25px;
  border-right: 1px solid #ffffff17;
}
.az-list .eyebrow {
  display: block;
  max-width: 170px;
  line-height: 1.45;
}
.az-list h2 {
  margin: 7px 0 0;
  color: #fff;
  font-size: 43px;
  line-height: 0.95;
  letter-spacing: -1px;
}
.az-list nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  align-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.az-list a {
  display: grid;
  flex: 1 0 48px;
  place-items: center;
  min-width: 48px;
  max-width: 67px;
  min-height: 47px;
  padding: 7px;
  border: 1px solid #393939;
  border-bottom-color: #080808;
  border-radius: 12px;
  background: linear-gradient(150deg, #303030, #171717 60%, #0d0d0d);
  color: #bdbdbd;
  font-size: 13px;
  box-shadow:
    inset 0 1px 0 #ffffff1c,
    inset 0 -2px 2px #0008,
    0 4px 0 #070707,
    0 7px 13px #0006;
}
.az-list a:first-child {
  flex-basis: 82px;
  max-width: 92px;
  color: #fff;
}
.az-list a:hover {
  border-color: #ffad61;
  background: linear-gradient(145deg, #ffa54d, var(--accent) 55%, #b74700);
  color: #fff;
  text-shadow: 0 1px 2px #7b2a00;
  box-shadow:
    inset 0 1px 0 #ffffff70,
    0 4px 0 #7d3000,
    0 9px 18px #0008;
  transform: translateY(-3px);
}
@media (max-width: 800px) {
  .az-list {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: 0;
    padding: 24px;
  }
  .az-list > div {
    padding: 0 0 15px;
    border-right: 0;
    border-bottom: 1px solid #ffffff17;
  }
  .az-list h2 {
    font-size: 36px;
  }
  .az-list nav {
    display: flex;
    flex-wrap: nowrap;
    padding: 2px 2px 9px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .az-list nav::-webkit-scrollbar {
    display: none;
  }
  .az-list a,
  .az-list a:first-child {
    flex: 0 0 52px;
    min-width: 52px;
    max-width: none;
    scroll-snap-align: start;
  }
  .az-list a:first-child {
    flex-basis: 82px;
  }
}
@media (max-width: 500px) {
  .az-list {
    padding: 21px 18px;
    border-radius: 16px;
  }
  .az-list:before {
    font-size: 105px;
  }
  .az-list nav {
    grid-template-columns: none;
  }
  .az-list a {
    min-height: 43px;
  }
}

/* Centered A–Z composition. */
.az-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 22px;
  text-align: center;
}
.az-list > div {
  width: 100%;
  padding: 0 0 18px;
  border-right: 0;
  border-bottom: 1px solid #ffffff17;
}
.az-list .eyebrow {
  max-width: none;
}
.az-list nav {
  justify-content: center;
  width: 100%;
  max-width: 1120px;
}
.az-list h2 {
  margin-top: 8px;
}
@media (max-width: 800px) {
  .az-list {
    align-items: center;
  }
  .az-list nav {
    justify-content: flex-start;
  }
}

/* Compact footer-style alphabetical index. */
.az-list {
  width: 100%;
  max-width: none;
  min-height: 0;
  margin: 42px 0 0;
  padding: 20px max(28px, calc((100% - 1384px) / 2)) 18px;
  gap: 17px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #1a1a1a;
  box-shadow: none;
}
.az-list::before,
.az-list::after {
  display: none;
}
.az-list > .az-list-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0;
  border: 0;
}
.az-list-heading h2 {
  margin: 0;
  padding-right: 18px;
  color: #bdbdbd;
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}
.az-list-heading p {
  margin: 0;
  padding-left: 18px;
  border-left: 1px solid #555;
  color: #aaa;
  font-size: 11px;
  line-height: 1.4;
}
.az-list nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  width: 100%;
  max-width: none;
  gap: 9px;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.az-list nav::-webkit-scrollbar {
  display: none;
}
.az-list a,
.az-list a:first-child {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: auto;
  min-width: 24px;
  max-width: none;
  min-height: 23px;
  padding: 3px 7px;
  border: 0;
  border-radius: 1px;
  background: color-mix(in srgb, var(--accent) 72%, #351300);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  box-shadow: none;
  transform: none;
}
.az-list a:hover {
  border: 0;
  background: var(--accent);
  color: #fff;
  text-shadow: none;
  box-shadow: none;
  transform: translateY(-1px);
}
@media (max-width: 800px) {
  .az-list {
    align-items: stretch;
    margin-top: 30px;
    padding: 18px 14px 16px;
    gap: 14px;
  }
  .az-list > .az-list-heading {
    padding: 0;
    border: 0;
  }
  .az-list nav {
    justify-content: flex-start;
    padding: 0 0 4px;
  }
  .az-list a,
  .az-list a:first-child {
    min-width: 25px;
    min-height: 24px;
    padding: 3px 7px;
  }
}
@media (max-width: 520px) {
  .az-list > .az-list-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
  .az-list-heading h2,
  .az-list-heading p {
    padding: 0;
    border: 0;
  }
}

body:not(.dashboard):not(.admin-body)
  .watch-main
  > .watch-actions
  .video-server-switcher
  button {
  border: 1px solid #555 !important;
  border-bottom-color: #111 !important;
  background: linear-gradient(180deg, #484848, #2a2a2a 52%, #171717) !important;
  color: #ddd !important;
  text-shadow: 0 1px 1px #000 !important;
  box-shadow:
    inset 0 1px 0 #ffffff2b,
    0 2px 0 #090909 !important;
  transform: none !important;
  animation: none !important;
}
body:not(.dashboard):not(.admin-body)
  .watch-main
  > .watch-actions
  .video-server-switcher
  button.active {
  border-color: #eee !important;
  background: linear-gradient(180deg, #fff, #d7d7d7 56%, #aaa) !important;
  color: #111 !important;
  text-shadow: 0 1px 0 #fff !important;
  box-shadow:
    inset 0 1px 0 #fff,
    0 2px 0 #555 !important;
}

/* Expanded share preview and SVG social network grid. */
.rich-share-modal .share-dialog {
  width: min(520px, 100%);
}
.share-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  margin: 0 0 20px;
  overflow: hidden;
  border: 1px solid #444;
  border-radius: 8px;
  background: #080808;
}
.share-preview:after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, #0008);
  pointer-events: none;
}
.share-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.share-social-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}
.share-social {
  display: flex;
  min-width: 0;
  height: 66px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  border: 1px solid #494949;
  border-radius: 7px;
  background: linear-gradient(180deg, #414141, #1b1b1b);
  color: #fff;
  box-shadow:
    inset 0 1px 0 #ffffff26,
    0 2px 0 #080808;
  transition: 0.16s;
}
.share-social:hover {
  border-color: #ddd;
  filter: brightness(1.18);
  transform: translateY(-2px);
}
.share-social svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.share-facebook svg {
  fill: currentColor;
  stroke: none;
}
.share-social span {
  overflow: hidden;
  max-width: 100%;
  font-size: 8px;
  font-weight: 800;
  text-overflow: ellipsis;
}
.rich-share-modal .share-copy {
  display: flex;
  width: 100%;
  height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  border: 1px solid #555;
  border-radius: 6px;
  background: linear-gradient(180deg, #444, #202020);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}
.rich-share-modal .share-copy svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.rich-share-modal .share-copyright {
  margin-top: 17px;
}
@media (max-width: 520px) {
  .rich-share-modal .share-dialog {
    padding: 18px;
  }
  .share-preview {
    margin-bottom: 15px;
  }
  .share-social-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .share-social {
    height: 58px;
  }
  .share-brand {
    height: 38px;
    margin-bottom: 13px;
  }
  .share-brand img {
    max-height: 38px;
  }
  .share-dialog h2 {
    font-size: 18px;
  }
}
.rich-share-modal .share-copy.copied {
  border-color: #82dba2;
  background: linear-gradient(180deg, #318b54, #176535);
  color: #fff;
  box-shadow:
    inset 0 1px 0 #ffffff42,
    0 0 0 3px #35c86b20;
}
.rich-share-modal .share-copy.copied svg {
  stroke: #fff;
  animation: copy-check-pop 0.22s ease;
}
.rich-share-modal .share-copy.copy-failed {
  border-color: #e46c6c;
  background: #6f2020;
}
@keyframes copy-check-pop {
  0% {
    transform: scale(0.5);
  }
  70% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}
.related-item {
  min-width: 0;
}
.related-item > .card {
  height: 100%;
}
.related-extra {
  animation: related-reveal 0.3s ease both;
}
.related-more {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 3px;
  width: auto;
  height: auto;
  margin: 26px auto 7px;
  padding: 7px 18px;
  border: 0;
  background: transparent;
  color: #bbb;
  font-size: 11px;
  font-weight: 800;
  box-shadow: none;
  cursor: pointer;
  transition:
    color 0.18s,
    transform 0.18s;
}
.related-more:hover {
  color: #fff;
  transform: translateY(-2px);
}
.related-more svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform 0.2s;
}
.related-more:hover svg {
  transform: translateY(3px);
}
.related-more.is-done {
  opacity: 0;
  transform: translateY(8px);
}
.floating-telegram {
  position: fixed;
  z-index: 950;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 16px 11px 12px;
  border: 1px solid #ffffff38;
  border-radius: 999px;
  background: #229ed9;
  color: #fff !important;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 10px 35px #0009, 0 4px 14px #229ed966;
  transition: transform .2s, background .2s, box-shadow .2s;
}
.floating-telegram:hover {
  background: #32abe1;
  transform: translateY(-3px);
  box-shadow: 0 14px 40px #000a, 0 6px 18px #229ed980;
}
.floating-telegram svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: currentColor;
}
@media (max-width: 600px) {
  .floating-telegram {
    right: 14px;
    bottom: 14px;
    gap: 9px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .floating-telegram:hover { background: transparent; box-shadow: none; }
  .floating-telegram span {
    order: 1;
    display: block;
    color: #fff;
    font-size: 11px;
    text-shadow: 0 1px 4px #000, 0 0 8px #000;
    white-space: nowrap;
  }
  .floating-telegram span b { color: #32abe1; }
  .floating-telegram svg {
    order: 2;
    box-sizing: border-box;
    width: 46px;
    height: 46px;
    padding: 11px;
    border-radius: 50%;
    background: #229ed9;
    box-shadow: 0 7px 22px #0009, 0 3px 10px #229ed966;
  }
}
@keyframes related-reveal {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Video download chooser. */
.download-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin: 0 45px 20px;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}
.download-brand img {
  display: block;
  width: auto;
  max-width: 155px;
  height: auto;
  max-height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 7px 14px #000a);
}
.download-loading {
  display: grid;
  justify-items: start;
  gap: 8px;
  min-height: 105px;
  align-content: start;
  text-align: left;
}
.download-loading[hidden],
.download-content[hidden] {
  display: none;
}
.download-spinner {
  position: absolute;
  width: 25px;
  height: 25px;
  border: 3px solid #ffffff55;
  border-top-color: #fff;
  border-right-color: #fff;
  border-radius: 50%;
  box-shadow: 0 0 14px #0005;
  animation: download-spin 0.72s linear infinite;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.download-loading b {
  color: #fff;
  font-size: 15px;
}
.download-loading > span:last-child {
  color: #888;
  font-size: 11px;
}
.download-ready .download-content {
  animation: download-content-in 0.28s ease both;
}
.download-icon {
  position: relative;
}
.download-icon svg {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.22s ease, transform 0.28s ease;
}
.download-icon:not(.is-loading) .download-spinner {
  opacity: 0;
  transform: scale(0.55);
  animation-play-state: paused;
}
.download-icon.is-loading svg {
  opacity: 0;
  transform: scale(0.55);
}
.download-content > small {
  display: block;
  margin-top: 18px;
  padding-top: 13px;
  border-top: 1px solid #303030;
  color: #666;
  font-size: 9px;
}
@keyframes download-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes download-content-in {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.download-loading {
  justify-items: center;
  min-height: 205px;
  place-content: center;
  text-align: center;
}
.download-loading .download-spinner {
  position: static;
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
  border: 4px solid #383838;
  border-top-color: var(--accent);
  border-right-color: #ffb15f;
  box-shadow: 0 0 22px #ff780038;
}
.download-content {
  opacity: 0;
}
.download-ready .download-content {
  opacity: 1;
}
.download-logo-target {
  display: grid;
  place-items: center;
  width: 96px;
  height: 58px;
  margin-bottom: 12px;
}
.download-logo-target img {
  display: block;
  width: 92px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 7px 13px #000b);
}
.download-logo-target .brand,
.download-logo-target b {
  font-size: 9px;
}
.download-logo-fly {
  position: fixed;
  z-index: 1002;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.download-logo-fly img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 7px 14px #000a);
}
.download-close {
  z-index: 20;
  pointer-events: auto;
}
.download-brand,
.download-logo-target {
  pointer-events: none;
}
.download-modal {
  align-items: start;
  padding-top: clamp(18px, 6vh, 58px);
}
.download-dialog {
  transition: opacity 0.18s ease;
}
.download-loading {
  opacity: 1;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.download-switching .download-loading {
  opacity: 0;
  transform: translateY(-5px);
}
.download-logo-target {
  justify-items: start;
  place-items: center start;
}
.download-ready .download-content {
  animation: download-content-in 0.32s cubic-bezier(.22,.8,.25,1) both;
}
.download-brand {
  position: relative;
  left: 50%;
  width: max-content;
  min-width: 96px;
  margin: 0 0 20px;
  transform: translateX(-50%);
  transition: left 0.46s cubic-bezier(.22,.8,.25,1), transform 0.46s cubic-bezier(.22,.8,.25,1);
  will-change: left, transform;
}
.download-logo-docked .download-brand {
  left: 0;
  transform: translateX(0);
}
.download-modal{position:fixed;z-index:1000;inset:0;display:grid;place-items:center;padding:18px;background:#000c;backdrop-filter:blur(10px);animation:download-fade .18s ease}.download-modal.closing{opacity:0;transition:.18s}.download-dialog{position:relative;width:min(470px,100%);max-height:calc(100vh - 36px);padding:28px;border:1px solid #3b3b3b;border-radius:14px;background:linear-gradient(145deg,#202020,#101010);box-shadow:0 30px 90px #000,inset 0 1px 0 #ffffff12;overflow-y:auto}.download-close{position:absolute;top:13px;right:13px;display:grid;place-items:center;width:34px;height:34px;padding:0;border:1px solid #424242;border-radius:50%;background:#181818;color:#ddd;font-size:21px;cursor:pointer}.download-icon{display:grid;place-items:center;width:52px;height:52px;margin-bottom:18px;border:1px solid #ff9d42;border-radius:12px;background:linear-gradient(#ff9b32,#dd5900);box-shadow:inset 0 1px 0 #ffffff55,0 5px 0 #713000,0 10px 22px #0008}.download-icon svg{width:25px;fill:none;stroke:#fff;stroke-width:2}.download-dialog h2{margin:5px 45px 6px 0;font-family:"Barlow Condensed",Arial,sans-serif;font-size:27px;line-height:1.08}.download-message{margin:0 0 18px;color:#999;font-size:12px}.download-options{display:grid;gap:9px}.download-options>a{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 14px;border:1px solid #353535;border-radius:8px;background:linear-gradient(145deg,#292929,#171717);box-shadow:inset 0 1px 0 #ffffff13,0 3px 0 #090909;transition:.18s}.download-options>a:hover{border-color:var(--accent);background:linear-gradient(145deg,#352414,#1a1714);transform:translateY(-2px)}.download-options a span,.download-options a b,.download-options a em{display:block}.download-options a b{color:#fff;font-size:13px}.download-options a em{margin-top:2px;color:#888;font-size:9px;font-style:normal}.download-options>a>svg{width:21px;fill:none;stroke:var(--accent);stroke-width:2}.download-empty{display:grid;place-items:center;gap:9px;padding:25px;border:1px dashed #3a3a3a;border-radius:9px;background:#0c0c0c;color:#888;text-align:center;font-size:12px}.download-empty svg{width:30px;fill:none;stroke:#777;stroke-width:1.6}.download-dialog>small{display:block;margin-top:18px;padding-top:13px;border-top:1px solid #303030;color:#666;font-size:9px}@keyframes download-fade{from{opacity:0;transform:scale(.98)}to{opacity:1;transform:none}}@media(max-width:520px){.download-dialog{padding:22px 18px}.download-dialog h2{font-size:23px}.download-icon{width:46px;height:46px}}

/* Compact server dropdown */
.watch-actions.has-server-switcher > .video-server-switcher {
  flex: 0 0 auto;
  width: auto;
  margin-right: auto;
}
.video-server-switcher > label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 5px 7px 5px 11px;
  border: 1px solid #343434;
  border-radius: 7px;
  background: #1d1d1f;
}
.video-server-switcher > label > span {
  color: #929292;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1px;
}
.video-server-switcher select {
  min-width: 112px;
  height: 32px;
  padding: 0 35px 0 12px;
  border: 1px solid #777;
  border-radius: 7px;
  outline: 0;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(#f7f7f7,#bdbdbd);
  box-shadow: inset 0 1px 0 #fff,0 2px 0 #666;
  color: #171717;
  font: 800 11px/1 inherit;
  cursor: pointer;
}
.video-server-switcher select:hover,
.video-server-switcher select:focus-visible {
  border-color: var(--accent);
  box-shadow: inset 0 1px 0 #fff,0 2px 0 #7a3500,0 0 0 2px #ff780033;
}
.video-server-switcher label > svg {
  position: absolute;
  right: 16px;
  width: 15px;
  fill: none;
  stroke: #222;
  stroke-width: 2.2;
  pointer-events: none;
}
@media (max-width:700px) {
  .watch-actions.has-server-switcher > .video-server-switcher {
    flex-basis: auto;
    width: auto;
  }
  .video-server-switcher select { min-width: 105px; }
}

/* Simple video server select */
.video-server-switcher > label {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: transparent;
}
.video-server-switcher select {
  min-width: 138px;
  height: 30px;
  padding: 0 30px 0 8px;
  border: 0;
  border-radius: 3px;
  background: #303033;
  box-shadow: none;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
}
.video-server-switcher select:hover,
.video-server-switcher select:focus-visible {
  border: 0;
  background: #38383b;
  box-shadow: none;
}
.video-server-switcher label > svg {
  right: 7px;
  width: 14px;
  stroke: #ddd;
}
@media (max-width:700px) {
  .video-server-switcher select { min-width: 138px; }
}
/* 2026 catalog redesign: compact black video-browser layout. */
body:not(.dashboard):not(.admin-body) {
  background: #000;
  color: #f7f7f7;
}
body > .site-header {
  display: none !important;
}
.container {
  max-width: 1380px;
  padding: 0 16px 48px;
}
.catalog-header {
  position: sticky;
  top: 0;
  z-index: 80;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  color: #fff;
  background: #030303;
  border-bottom: 1px solid #303030;
}
.catalog-header .header-main {
  max-width: 1220px;
  height: 60px;
  margin: auto;
  padding: 0 16px;
  gap: 28px;
}
.catalog-header .brand {
  min-width: 155px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -1px;
}
.catalog-header .brand b { color: #fff; }
.catalog-header .brand img { max-width: 145px; max-height: 38px; }
.catalog-header .header-search {
  flex: 1;
  max-width: 560px;
  height: 42px;
  margin: 0;
  border: 1px solid #393939;
  border-radius: 10px;
  background: #050505;
  overflow: hidden;
}
.catalog-header .header-search:focus-within {
  border-color: #777;
  box-shadow: none;
}
.catalog-header .header-search > svg {
  width: 18px;
  margin-left: 14px;
  stroke: #aaa;
}
.catalog-header .header-search input {
  padding: 0 14px;
  color: #fff;
  background: transparent;
}
.catalog-header .header-search button {
  width: 72px;
  color: #050505;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
}
.header-actions a:hover { color: #bbb; }
.home-page .catalog-header .nav,
.home-page .catalog-header .nav.open,
.catalog-header .nav {
  display: block !important;
  position: static !important;
  inset: auto !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
  background: #030303 !important;
  border: 0 !important;
  border-top: 1px solid #252525 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
.home-page .catalog-header .nav > div,
.catalog-header .nav > div {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-direction: row !important;
  max-width: 1220px;
  width: 100% !important;
  height: 50px !important;
  margin: auto;
  padding: 0 16px !important;
  gap: 27px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scrollbar-width: none;
  white-space: nowrap;
}
.catalog-header .nav > div::-webkit-scrollbar { display: none; }
.home-page .catalog-header .nav a,
.home-page .catalog-header .nav a:first-child,
.catalog-header .nav a {
  display: flex !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-direction: row !important;
  gap: 7px !important;
  padding: 0 !important;
  color: #f4f4f4 !important;
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}
.catalog-header .nav a:hover,
.catalog-header .nav a.active { color: #fff; opacity: .68; }
.catalog-header .nav svg { width: 15px; height: 15px; }
.catalog-header .menu-toggle { display: none; }
.home-page .video-carousel.latest-hero,
.home-page .best-choice-section,
.home-page .content-layout > section:not(.catalog-feed),
.home-page .sidebar { display: none !important; }
.home-page .content-layout > .catalog-feed { display: block !important; }
.home-page .sponsor-placement { display: none !important; }
.home-page .sponsor-placement.placed { display: flex !important; }
.home-page .az-list { display: none !important; }
.home-page .home-layout,
.home-page .content-layout {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
}
.home-page .home-layout { padding-top: 0; }
.home-page .catalog-feed { padding: 22px 0 42px; }
.home-page .home-all-videos {
  width: 100%;
  max-width: 1380px;
  min-height: calc(100vh - 210px);
  margin: 0 auto;
  padding: 28px 0 56px;
}
.home-page .home-all-videos .section-title h1 {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
}
.section-title {
  margin: 14px 0 16px;
  padding: 0;
  border: 0;
  align-items: center;
}
.section-title h2 {
  margin: 0;
  color: #fff;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -.25px;
}
.section-title .eyebrow { display: none; }
.view-all { color: #aaa; font-size: 12px; }
.grid,
.featured {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.card {
  border: 1px solid #353535;
  border-radius: 8px;
  background: #090909;
  box-shadow: none;
  backdrop-filter: none;
  transition: border-color .2s, transform .2s;
}
.card:hover {
  transform: translateY(-2px);
  border-color: #666;
  box-shadow: none;
}
.thumb { border-radius: 7px 7px 0 0; }
.thumb img { transition: transform .25s, filter .25s; }
.card:hover img { filter: brightness(.82); transform: scale(1.02); }
.card-copy { padding: 11px 12px 12px; }
.card h3 {
  height: 38px;
  margin: 0 0 8px;
  color: #fff;
  font-size: 13px;
  line-height: 1.45;
}
.card-copy p { justify-content: flex-start; color: #a8a8a8; }
.card-categories, .quality-badge, .hot { display: none !important; }
.views { font-size: 11px; }
.play { width: 44px; height: 44px; background: rgba(255,255,255,.92); color: #000; }
.play svg { fill: #000; }
.duration {
  right: 8px;
  bottom: 8px;
  border: 0;
  border-radius: 4px;
  background: rgba(0,0,0,.82);
}
.content-layout { grid-template-columns: minmax(0,1fr) 290px; }
.sidebar { top: 126px; }
.side-panel, .video-description, .watch-title {
  border-color: #333;
  background: #090909;
  box-shadow: none;
  backdrop-filter: none;
}
body:not(.dashboard):not(.admin-body) > footer { background: #050505; border-top-color: #222; }

@media (max-width: 1050px) {
  .grid, .featured { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .header-actions { display: none; }
  .catalog-header .header-search { max-width: none; }
}
@media (max-width: 720px) {
  .container { padding-inline: 10px; }
  .catalog-header .header-main { height: 56px; padding: 0 10px; gap: 10px; }
  .catalog-header .brand { min-width: 0; font-size: 18px; }
  .catalog-header .brand img { max-width: 100px; max-height: 32px; }
  .catalog-header .header-search { height: 38px; }
  .catalog-header .header-search button { width: 54px; font-size: 11px; }
  .catalog-header .nav > div { height: 44px; padding: 0 10px; gap: 20px; }
  .catalog-header .nav a { font-size: 12px; }
  .grid, .featured { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  .card-copy { padding: 9px 10px 10px; }
  .card h3 { font-size: 12px; }
  .content-layout { display: block; }
  .sidebar { position: static; }
}
@media (max-width: 430px) {
  .catalog-header .header-search button { display: none; }
  .catalog-header .header-search input { padding-right: 8px; font-size: 12px; }
  .section-title h2 { font-size: 16px; }
}

/* Definitive responsive rules for the simplified homepage. */
.home-page main.container > .home-all-videos {
  display: block !important;
  width: min(1380px, calc(100% - 32px)) !important;
  max-width: 1380px !important;
  min-height: calc(100vh - 220px);
  margin: 0 auto !important;
  padding: 28px 0 56px !important;
}
.home-page main.container > .home-all-videos > .section-title {
  width: 100% !important;
  margin: 0 0 16px !important;
}
.home-page main.container > .home-all-videos > .section-title h1 {
  margin: 0 !important;
  font-size: 20px !important;
  line-height: 1.3 !important;
}
.home-page main.container > .home-all-videos > .catalog-grid {
  display: grid !important;
  width: 100% !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
}
.home-page main.container > .home-all-videos > .catalog-grid > .card {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
}
@media (max-width: 1050px) {
  .home-page main.container > .home-all-videos > .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 720px) {
  .home-page main.container > .home-all-videos {
    width: calc(100% - 20px) !important;
    padding-top: 20px !important;
  }
  .home-page main.container > .home-all-videos > .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  .home-page main.container > .home-all-videos > .section-title h1 {
    font-size: 17px !important;
  }
}
@media (max-width: 380px) {
  .catalog-header .brand img { max-width: 82px; }
  .catalog-header .header-search input { font-size: 11px; }
  .home-page main.container > .home-all-videos {
    width: calc(100% - 14px) !important;
  }
  .home-page main.container > .home-all-videos > .catalog-grid {
    gap: 7px !important;
  }
}

/* Final navbar parity override (must remain last). */
.home-page .catalog-header {
  position: sticky !important;
  top: 0 !important;
  height: auto !important;
  padding: 0 !important;
  background: #030303 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}
.home-page .catalog-header .header-main {
  width: 100% !important;
  max-width: 1220px !important;
  height: 58px !important;
  min-height: 58px !important;
  margin: 0 auto !important;
  padding: 0 16px !important;
  gap: 28px !important;
  transform: none !important;
}
.home-page .catalog-header .brand {
  min-width: 136px !important;
  font-size: 20px !important;
}
.home-page .catalog-header .brand img {
  width: auto !important;
  max-width: 112px !important;
  max-height: 34px !important;
}
.home-page .catalog-header .header-search {
  max-width: 505px !important;
  height: 38px !important;
  margin: 0 !important;
  border-radius: 7px !important;
}
.home-page .catalog-header .header-actions {
  margin-left: auto !important;
  gap: 22px !important;
  font-size: 12px !important;
}
.home-page .catalog-header .nav > div {
  max-width: 1220px !important;
  height: 47px !important;
  padding: 0 16px !important;
}
@media (max-width: 720px) {
  .home-page .catalog-header .header-main {
    height: 56px !important;
    min-height: 56px !important;
    padding: 0 10px !important;
    gap: 10px !important;
  }
  .home-page .catalog-header .brand { min-width: 90px !important; }
  .home-page .catalog-header .brand img {
    max-width: 88px !important;
    max-height: 30px !important;
  }
  .home-page .catalog-header .header-search {
    max-width: none !important;
    height: 36px !important;
  }
  .home-page .catalog-header .nav > div {
    height: 44px !important;
    padding: 0 10px !important;
  }
}
