@font-face {
  font-family: Jakarta;
  src: url("/sites/netdrama/jakarta.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --bg: #0a0a0c;
  --bg-rgb: 10, 10, 12;
  --bg-2: #111115;
  --panel: #16161b;
  --panel-2: #1e1e25;
  --text: #f5f5f7;
  --muted: #a3a3ad;
  --dim: #6f6f7a;
  --line: #ffffff14;
  --line-2: #ffffff24;
  --red: #e50914;
  --red-rgb: 229, 9, 20;
  --red-2: #ff2a37;
  --orange: #ff7a1a;
  --gold: #f5b301;
  --grad: linear-gradient(180deg, var(--orange), var(--red));
  --header-h: 60px;
  --pad: clamp(16px, 3.6vw, 48px);
  --font: Jakarta, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: var(--font);
  color-scheme: dark;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 800;
}
p {
  margin: 0;
}
:focus-visible {
  outline: 2px solid var(--red-2);
  outline-offset: 3px;
}
.skip-content {
  position: fixed;
  top: -80px;
  left: 8px;
  z-index: 200;
  background: var(--red);
  padding: 8px 14px;
}
.skip-content:focus {
  top: 8px;
}
.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;
}
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  border-bottom: 1px solid var(--line);
  background: #0a0a0cf0;
  backdrop-filter: blur(14px);
}
.site-overlay {
  background: linear-gradient(#000b, transparent);
  backdrop-filter: none;
  border-color: transparent;
}
.site-bar {
  height: var(--header-h);
  padding-inline: var(--pad);
  max-width: 1560px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 17px;
  font-weight: 800;
  white-space: nowrap;
  letter-spacing: -0.02em;
}
.site-logo i {
  display: grid;
  border-radius: 9px;
  background: linear-gradient(135deg, #ff4d4f, var(--red) 55%, #8f0610);
  box-shadow: 0 6px 18px #e5091466;
}
.site-logo strong {
  color: #f3333c;
}
.site-nav,
.site-actions,
.site-nav a,
.site-nav button,
.site-telegram {
  display: flex;
  align-items: center;
}
.site-nav {
  display: none;
  gap: 2px;
  margin-left: 18px;
}
.site-nav a,
.site-nav button {
  height: 40px;
  padding: 0 12px;
  position: relative;
  gap: 7px;
  border: 0;
  background: transparent;
  border-radius: 9px;
  color: #d6d6dc;
  font-size: 14px;
  font-weight: 600;
}
.site-nav a[aria-current],
.site-nav button {
  color: white;
}
.site-nav [aria-current] svg,
.site-nav button svg,
.site-mobile [aria-current] svg {
  color: var(--red-2);
}
.site-nav [aria-current]::after {
  content: "";
  position: absolute;
  inset: auto 12px 2px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
}
.site-actions {
  gap: 4px;
  margin-left: auto;
}
.site-icon-button,
.site-dialog-head button,
.site-search button {
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  border-radius: 10px;
  width: 40px;
  height: 40px;
}
.site-nav a:hover,
.site-nav button:hover,
.site-icon-button:hover,
.site-dialog-head button:hover {
  background: #ffffff14;
}
.site-telegram {
  height: 36px;
  width: 36px;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(#2aabee, #229ed9);
  border: 0;
  border-radius: 30px;
  box-shadow: 0 6px 18px #229ed959;
  margin-right: 4px;
  padding: 0;
  font-size: 13px;
  font-weight: 800;
}
.site-telegram span {
  display: none;
}
.site-mobile {
  position: fixed;
  inset: auto 0 0;
  z-index: 80;
  height: calc(62px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: #0c0c0ff5;
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.site-mobile a,
.site-mobile button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: none;
  border: 0;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--dim);
}
.site-mobile [aria-current] {
  color: white;
}
.site-dialog {
  position: fixed;
  width: min(480px, calc(100% - 32px));
  max-height: 80dvh;
  background: var(--panel);
  color: var(--text);
  padding: 22px;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  box-shadow: 0 18px 50px #0009;
}
.site-dialog::backdrop {
  background: #050508bd;
  backdrop-filter: blur(5px);
}
.site-dialog-head,
.site-search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.site-dialog-head {
  margin-bottom: 12px;
}
.site-dialog h2 {
  font-size: 20px;
}
.site-dialog-head button,
.site-search button {
  padding: 0;
  color: var(--muted);
}
.panel-search {
  top: 12vh;
  margin: 0 auto;
  width: min(720px, calc(100% - 32px));
  padding: 0;
}
.site-search {
  height: 60px;
  padding: 0 10px 0 18px;
  color: var(--muted);
}
.site-search input {
  width: 0;
  flex: 1;
  border: 0;
  background: transparent;
  outline: 0;
  color: var(--text);
  font-size: 17px;
}
.panel-menu {
  inset: 0 0 0 auto;
  margin: 0;
  height: 100dvh;
  max-height: none;
  width: min(340px, 88%);
  border-radius: 0;
  background: #121217;
  padding: 14px 16px 90px;
  overflow-y: auto;
}
.site-drawer,
.nd-request,
.nd-request label {
  display: grid;
  gap: 6px;
}
.site-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.site-drawer-nav > a,
.site-drawer-nav > button {
  padding: 12px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  background: transparent;
  border: 0;
  color: var(--text);
  font-weight: 600;
}
.site-drawer-nav > a:hover,
.site-drawer-nav > a[aria-current],
.site-drawer-nav > button:hover {
  background: rgba(255, 255, 255, 0.06);
}
.site-drawer-nav > a[aria-current] svg,
.site-drawer-nav > button svg {
  color: var(--red-2);
}
.site-drawer-sep {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 6px 0;
}
.site-drawer-nav > a.site-drawer-tg,
.site-drawer-nav > a.site-drawer-tg svg {
  color: #5ec2f2;
}
.site-drawer h3 {
  margin: 18px 4px 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}
.site-toast {
  position: fixed;
  inset-inline: 0;
  bottom: 90px;
  z-index: 200;
  width: max-content;
  max-width: calc(100vw - 32px);
  margin: 0 auto;
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 30px #0006;
  pointer-events: none;
}
.nd-request {
  gap: 14px;
}
.nd-request p,
.nd-library-empty {
  color: var(--muted);
}
.nd-request input,
.nd-request select,
.nd-filter select,
.inline-search input {
  background: var(--panel-2);
  border: 1px solid var(--line-2);
  padding: 8px 12px;
  border-radius: 8px;
}
.site-submit {
  border: 0;
  border-radius: 10px;
  padding: 10px 18px;
  background: var(--red);
  color: white;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.site-submit:hover {
  background: var(--red-2);
}
.site-chips,
.nd-filter,
.inline-search {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
ul.site-chips {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-chips a,
.site-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line-2);
  border-radius: 24px;
  background: #ffffff0c;
  color: var(--text);
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 650;
}
.site-chips [aria-current] {
  border-color: var(--red);
  background: var(--red);
}
.panel-history[open] {
  display: flex;
  flex-direction: column;
  width: min(520px, calc(100% - 24px));
  max-height: min(84dvh, 660px);
  overflow: hidden;
  padding: 16px;
}
.panel-history .site-dialog-head {
  flex: none;
  margin-bottom: 10px;
}
.panel-history h2 {
  font-size: 18px;
}
.nd-library {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.nd-library-tabs {
  display: flex;
  flex: none;
  align-self: flex-start;
  flex-wrap: wrap;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-2);
}
.nd-library-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 4px 10px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.nd-library-tabs [aria-pressed="true"] {
  color: var(--text);
  background: #e5091429;
  border-color: #ff545973;
}
.nd-library-list {
  display: grid;
  gap: 8px;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.nd-library-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-2);
}
.nd-library-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  border-radius: 6px;
}
.nd-library-link:hover strong {
  color: #ffb4ba;
}
.nd-library-poster {
  display: grid;
  flex: none;
  place-items: center;
  width: 52px;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 7px;
  background: var(--panel-2);
  color: var(--muted);
}
.nd-library-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nd-library-title {
  display: grid;
  gap: 4px;
  min-width: 0;
  font-size: 14px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.nd-library-title small {
  font-size: 12px;
  color: var(--muted);
}
.nd-library-remove,
.nd-library-footer button {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
}
.nd-library-remove:hover:enabled,
.nd-library-footer button:hover:enabled {
  background: var(--panel-2);
  color: var(--text);
}
.nd-library-footer {
  display: flex;
  flex: none;
  justify-content: flex-end;
  margin-top: 4px;
  font-size: 13px;
}
.nd-library button:disabled {
  opacity: .6;
  cursor: default;
}
.nd-library-empty {
  margin-top: 16px;
}
.nd-footer {
  margin-top: 60px;
  padding: 40px 0 calc(86px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: #0d0d10;
  font-size: 14px;
}
.nd-footer-grid,
.nd-copyright,
.site-content {
  max-width: 1560px;
  margin-inline: auto;
  padding-inline: var(--pad);
}
.nd-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.nd-footer-grid > section {
  grid-column: 1/-1;
}
.nd-footer p,
.nd-footer nav {
  color: var(--muted);
}
.nd-footer-grid p {
  max-width: 420px;
  margin-top: 12px;
}
.nd-footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.nd-footer h2 {
  color: var(--text);
  font-size: 14px;
  margin-bottom: 4px;
}
.nd-footer-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}
.nd-footer nav a:hover {
  color: white;
}
.nd-copyright {
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: 12.5px;
}
.nd-cookies {
  position: fixed;
  z-index: 85;
  inset: auto 12px calc(74px + env(safe-area-inset-bottom));
  margin: auto;
  max-width: 560px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 12px 14px;
  background: var(--panel-2);
  box-shadow: 0 18px 50px #0009;
  font-size: 13.5px;
}
.nd-cookies a {
  color: white;
  text-decoration: underline;
}
.site-content {
  padding-top: calc(var(--header-h) + 20px);
  min-height: 65vh;
}
.nd-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 13px;
}
.nd-crumbs li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.nd-list-head {
  padding: 28px 0 20px;
}
.nd-list-head h1 {
  margin-bottom: 10px;
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
}
.nd-list-head p,
.nd-empty {
  color: var(--muted);
}
.nd-list-head .site-chips,
.nd-filter,
.inline-search {
  margin-top: 16px;
}
.nd-filter {
  font-size: 13px;
}
.nd-list-head .nd-catalog-summary {
  margin-top: 12px;
  line-height: 1.65;
}
.nd-catalog-summary a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-underline-offset: 3px;
}
.nd-catalog-facts {
  margin: 24px 0 0;
  max-width: 560px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-2);
  overflow: hidden;
}
.nd-catalog-facts > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
.nd-catalog-facts > div:last-child { border-bottom: 0; }
.nd-catalog-facts dt { color: var(--muted); font-weight: 600; }
.nd-catalog-facts dd { margin: 0; }
.nd-sort-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.nd-sort-options a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 12px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: var(--panel);
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}
.nd-sort-options a:hover {
  color: var(--text);
}
.nd-sort-options [aria-current] {
  color: #ffd4d6;
  border-color: #e50914b3;
  background: #e5091424;
}
.nd-catalog-filter {
  margin-top: 10px;
}
.nd-catalog-filter label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
}
.nd-catalog-filter select,
.nd-catalog-filter button {
  min-height: 36px;
  border-radius: 8px;
}
.platform-links {
  margin-bottom: 20px;
}
.nd-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nd-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-block-start: 24px;
}
.nd-pagination > * {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 44px;
  min-height: 44px;
  padding-inline: 12px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: var(--panel);
  font-size: 14px;
  font-weight: 700;
}
.nd-pagination a:hover {
  background: var(--panel-2);
}
.nd-pagination [aria-current="page"] {
  background: var(--red);
  border-color: var(--red);
  color: white;
}
.nd-empty {
  text-align: center;
  padding: 40px 0;
}
.nd-empty a {
  text-decoration: underline;
}
@media (max-width: 479px) {
  .history-trigger {
    display: none;
  }
}
@media (max-width: 360px) {
  .site-bar {
    gap: 4px;
    padding-inline: 8px;
  }
  .site-logo {
    gap: 4px;
  }
  .site-icon-button {
    width: 32px;
  }
}
@media (min-width: 640px) {
  .nd-catalog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px 14px;
  }
}
@media (min-width: 900px) {
  :root {
    --header-h: 68px;
  }
  .site-mobile {
    display: none;
  }
  .site-telegram {
    width: auto;
    padding: 0 12px;
  }
  .site-telegram span {
    display: inline;
  }
  .nd-footer {
    padding-bottom: 20px;
  }
  .nd-footer-grid {
    grid-template-columns: 1.5fr 1fr 1.3fr 1fr;
  }
  .nd-footer-grid > section {
    grid-column: auto;
  }
  .nd-cookies {
    inset: auto 18px 18px auto;
  }
  .nd-catalog-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .site-nav {
    display: flex;
  }
  .menu-trigger {
    display: none;
  }
}
@media (min-width: 1300px) {
  .nd-catalog-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
}

.ndh-wrap {
  width: 100%;
  max-width: 1560px;
  margin-inline: auto;
  padding-inline: var(--pad, clamp(16px, 3.6vw, 48px));
}
.ndh-hero {
  --hero-min-height: 560px;
  --hero-height: clamp(var(--hero-min-height), 92svh, 860px);
  position: relative;
  overflow: hidden;
  height: var(--hero-height);
  background: #000;
}
.ndh-slide, .ndh-heroBack, .ndh-heroShade { position: absolute; inset: 0; }
.ndh-slide { opacity: 0; visibility: hidden; transition: opacity .7s, visibility .7s; }
.ndh-slide[data-active="true"] { opacity: 1; visibility: visible; }
.ndh-heroBack { background-size: cover; background-position: 50% 25%; transform: scale(1.06); transition: transform 8s; }
.ndh-slide[data-active="true"] .ndh-heroBack { transform: scale(1); }
.ndh-heroShade { background: linear-gradient(0deg, #0a0a0c 2%, rgb(10 10 12 / 55%) 45%, rgb(10 10 12 / 20%) 75%, rgb(10 10 12 / 55%)); }
.ndh-heroInner { position: relative; height: 100%; display: flex; align-items: flex-end; gap: 48px; padding-block: calc(var(--header-h, 68px) + 24px) 96px; }
.ndh-heroText { max-width: 640px; min-width: 0; }
.ndh-eyebrow { color: #ff2a37; letter-spacing: .22em; text-transform: uppercase; margin: 0 0 12px; font-size: 12px; font-weight: 800; }
.ndh-heroBadges { margin: 0 0 14px; display: flex; gap: 6px; }
.ndh-badge { display: inline-flex; align-items: center; background: #14141ac7; border: 1px solid #ffffff24; border-radius: 5px; color: #fff; backdrop-filter: blur(6px); height: 20px; padding-inline: 7px; font-size: 10.5px; font-weight: 800; letter-spacing: .03em; }
.ndh-badge.ndh-subbed { background: #2563eb; border-color: transparent; }
.ndh-heroBadges .ndh-badge { height: 24px; padding-inline: 9px; font-size: 11px; }
.ndh-heroTitle, .ndh-heroSummary, .ndh-cardTitle {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ndh-heroTitle { -webkit-line-clamp: 3; margin: 0 0 16px; font-size: clamp(2rem, 6.4vw, 4.4rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; text-shadow: 0 4px 30px #0008; }
.ndh-heroMeta, .ndh-heroActions { display: flex; flex-wrap: wrap; }
.ndh-heroMeta { list-style: none; gap: 8px; margin: 0 0 16px; padding: 0; }
.ndh-heroMeta li { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; color: #e4e4ea; background: #ffffff14; border: 1px solid #ffffff14; border-radius: 8px; font-size: 12.5px; font-weight: 600; }
.ndh-heroSummary { -webkit-line-clamp: 3; color: #d9d9e0; line-height: 1.6; font-size: 15px; max-width: 560px; margin: 0 0 24px; }
.ndh-heroActions { gap: 10px; }
.ndh-watch, .ndh-info { display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; height: 50px; padding: 0 24px; border: 1px solid transparent; border-radius: 12px; color: white; font-size: 15px; font-weight: 700; gap: 8px; transition: transform .15s, background .15s; }
.ndh-watch { background: #e50914; box-shadow: 0 8px 24px rgb(229 9 20 / 35%); }
.ndh-watch:hover { background: #ff2a37; }
.ndh-info { background: #ffffff14; border-color: #ffffff24; backdrop-filter: blur(8px); }
.ndh-info:hover { background: #ffffff24; }
.ndh-watch:active, .ndh-info:active { transform: scale(.97); }
.ndh-heroPoster { display: none; overflow: hidden; margin: 40px 0 0 auto; align-self: center; flex-shrink: 0; aspect-ratio: 2/3; width: clamp(220px, 22vw, 320px); background: #1e1e25; border: 1px solid #ffffff24; border-radius: 18px; box-shadow: 0 18px 50px #0000008c; }
.ndh-heroPoster img, .ndh-cardPoster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ndh-controls { position: absolute; bottom: 34px; inset-inline: 0; z-index: 3; display: flex; justify-content: space-between; align-items: center; }
.ndh-dots { display: flex; gap: 6px; }
.ndh-dots button { position: relative; width: 22px; height: 4px; padding: 0; border: 0; border-radius: 3px; background: #ffffff40; transition: width .3s, background .3s; }
.ndh-dots button::before { content: ""; inset: -10px -2px; position: absolute; }
.ndh-dots button[aria-pressed="true"] { background: #e50914; width: 40px; }
.ndh-heroArrows, .ndh-rowArrows { display: none; gap: 8px; }
.ndh-heroArrows button, .ndh-rowArrows button { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; color: inherit; border: 1px solid #ffffff24; border-radius: 50%; background: #ffffff14; }
.ndh-heroArrows button:hover, .ndh-rowArrows button:enabled:hover { background: #ffffff29; }
.ndh-rowArrows button:disabled { opacity: .3; cursor: default; }
.ndh-rowArrows[data-scrollable="false"] { visibility: hidden; }
.ndh-home { padding-top: 6px; }
.ndh-homeTitle { margin: 8px 0 18px; color: #f5f5f7; font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
.ndh-viewerCount {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: -8px 0 18px;
  padding: 6px 12px;
  border: 1px solid #22c55e47;
  border-radius: 999px;
  background: #22c55e1a;
  color: #b7f5cb;
  font-size: 13px;
  font-weight: 700;
}
.ndh-viewerCount::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; }
.ndh-platforms { margin: 8px 0 28px; }
.ndh-platformHead, .ndh-rowHead { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 14px; align-items: center; }
.ndh-platformTitle, .ndh-rowTitle { display: flex; align-items: center; margin: 0; font-size: clamp(1.15rem, 2.2vw, 1.6rem); font-weight: 800; line-height: 1.2; letter-spacing: -.02em; }
.ndh-platformTitle { gap: 10px; }
.ndh-platformTitle svg { color: #ff2a37; }
.ndh-platformAll { font-size: 13px; font-weight: 700; white-space: nowrap; }
.ndh-platformAll:hover { color: #ff2a37; }
.ndh-platformTrack { display: flex; gap: 10px; overflow-x: auto; padding: 4px 4px 12px; scrollbar-width: thin; scrollbar-color: #e50914 #ffffff0f; }
.ndh-platformChip { display: inline-flex; flex-shrink: 0; align-items: center; gap: 9px; height: 40px; padding: 0 18px 0 12px; border: 1px solid #ffffff24; background: #16161b; border-radius: 999px; font-size: 13.5px; font-weight: 700; white-space: nowrap; transition: transform .15s, background .15s, border-color .15s; }
.ndh-platformChip:hover { border-color: #e50914; background: #1e1e25; transform: translateY(-1px); }
.ndh-platformChip img { width: 22px; height: 22px; object-fit: contain; border-radius: 6px; }
.ndh-row { margin: 30px 0 8px; }
.ndh-rowHead { align-items: flex-end; }
.ndh-rowTitle { position: relative; flex-wrap: wrap; gap: 8px; padding-inline-start: 14px; }
.ndh-rowTitle::before { content: ""; position: absolute; inset-inline-start: 0; top: 50%; transform: translateY(-50%); width: 4px; height: 1.05em; border-radius: 3px; background: linear-gradient(180deg,#ff7a1a,#e50914); }
.ndh-rowBadge { display: inline-flex; justify-content: center; flex-direction: column; height: 30px; padding-inline: 8px; background: #e50914; border-radius: 6px; color: white; font-size: 11px; font-weight: 900; line-height: 1; letter-spacing: .02em; }
.ndh-more { display: inline-flex; align-items: center; margin-inline-start: 4px; color: #a3a3ad; font-size: 13px; font-weight: 600; }
.ndh-more:hover { color: #fff; }
.ndh-rowSubtitle { margin: 4px 0 0; padding-inline-start: 14px; color: #6f6f7a; font-size: 13px; }
.ndh-track { --gutter: var(--pad, clamp(16px,3.6vw,48px)); display: grid; grid-auto-flow: column; grid-auto-columns: calc(38.4615% - 7.69231px); gap: 10px; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.ndh-track::-webkit-scrollbar { display: none; }
.ndh-track > * { scroll-snap-align: start; }
.ndh-card { min-width: 0; }
.ndh-cardLink { display: block; }
.ndh-cardPoster { overflow: hidden; position: relative; width: 100%; aspect-ratio: 2/3; background: #1e1e25; border: 1px solid #ffffff14; border-radius: 12px; transition: transform .25s,border-color .25s,box-shadow .25s; }
.ndh-cardPoster img { transition: transform .4s; }
.ndh-cardShade { position: absolute; inset: 0; background: linear-gradient(transparent 58%,#000000bf); }
.ndh-cardBadge { position: absolute; inset-inline: 8px; top: 8px; display: flex; }
.ndh-languages { position: absolute; inset-inline-start: 8px; bottom: 8px; color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-shadow: 0 1px 3px #000; }
.ndh-rank { position: absolute; inset-inline-start: 4px; bottom: -12px; color: rgb(10 10 12 / 35%); -webkit-text-stroke: 2px #ffffffe6; font-size: clamp(3.4rem,7vw,5rem); font-style: italic; font-weight: 900; line-height: 1; letter-spacing: -.06em; }
.ndh-cardPlay { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .2s; }
.ndh-cardPlay svg { background: #e50914; color: white; width: 50px; height: 50px; padding: 13px; border-radius: 50%; transform: scale(.8); transition: transform .2s; box-shadow: 0 8px 24px rgb(229 9 20 / 50%); }
.ndh-cardTitle { -webkit-line-clamp: 2; margin: 9px 0 0; font-size: 13.5px; line-height: 1.35; font-weight: 700; letter-spacing: -.01em; }
.ndh-cardAlt, .ndh-cardMeta { color: #6f6f7a; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.ndh-cardAlt { margin: 2px 0 0; font-size: 11.5px; }
.ndh-cardMeta { margin: 3px 0 0; font-size: 12px; }
.ndh-explainer { margin: 48px 0 16px; padding-top: 24px; border-top: 1px solid #ffffff14; color: #a3a3ad; font-size: 14px; }
.ndh-explainer h2 { margin: 24px 0 10px; font-size: 1.5em; font-weight: 800; color: #f5f5f7; }
.ndh-explainer p { margin: 0 0 14px; line-height: 1.7; }
.ndh-explainer ul, .ndh-explainer ol { padding-inline-start: 24px; margin: 0 0 16px; display: grid; gap: 6px; }
.ndh-explainer ul { list-style: disc; }
.ndh-explainer ol { list-style: decimal; }
.ndh-explainer a { color: #e4e4ea; text-decoration: underline; text-decoration-color: #ffffff30; text-underline-offset: 3px; }
.ndh-explainer a:hover { color: white; }
.ndh-explainerMeta { font-size: 13px; color: #858591; }
.ndh-explainerTableWrap { overflow-x: auto; margin: 12px 0 20px; border: 1px solid #ffffff14; border-radius: 12px; background: #111115; }
.ndh-explainerTable { width: 100%; border-collapse: collapse; font-size: 13.5px; text-align: left; }
.ndh-explainerTable th, .ndh-explainerTable td { padding: 10px 14px; border-bottom: 1px solid #ffffff14; }
.ndh-explainerTable th { color: #f5f5f7; font-weight: 700; background: #16161b; }
.ndh-explainerTable tbody tr:last-child td { border-bottom: 0; }
.ndh-explainerFaq { border: 1px solid #ffffff14; background: #111115; border-radius: 12px; margin-bottom: 8px; }
.ndh-explainerFaq summary { padding: 13px 16px; cursor: pointer; font-weight: 700; color: #f5f5f7; }
.ndh-explainerFaq p { padding: 0 16px 14px; margin: 0; color: #cfcfd8; }
.ndh-empty { color: #a3a3ad; text-align: center; padding: 60px 0; }

@media (hover:hover) {
  .ndh-cardLink:hover .ndh-cardPoster { transform: translateY(-4px); border-color: #ffffff24; box-shadow: 0 14px 34px #0008; }
  .ndh-cardLink:hover .ndh-cardPoster img { transform: scale(1.06); }
  .ndh-cardLink:hover .ndh-cardPlay { opacity: 1; }
  .ndh-cardLink:hover .ndh-cardPlay svg { transform: scale(1); }
}
@media (max-width: 899px) {
  .ndh-hero { --hero-height: min(78svh, 640px); }
  .ndh-heroInner { padding-bottom: 70px; }
  .ndh-heroShade { background: linear-gradient(0deg,#0a0a0c 4%, rgb(10 10 12 / 70%) 40%, rgb(10 10 12 / 10%) 70%, rgb(10 10 12 / 50%)); }
  .ndh-heroText { text-align: center; margin-inline: auto; }
  .ndh-heroBadges, .ndh-heroMeta, .ndh-heroActions { justify-content: center; }
  .ndh-heroSummary { -webkit-line-clamp: 2; font-size: 14px; }
  .ndh-controls { justify-content: center; bottom: 26px; }
  .ndh-heroActions a { flex: 1; max-width: 220px; }
}
@media (min-width: 560px) { .ndh-track { grid-auto-columns: calc(28.5714% - 10.2857px); gap: 12px; } }
@media (min-width: 900px) {
  .ndh-rowArrows { display: flex; }
  .ndh-track { grid-auto-columns: calc(16.6667% - 11.6667px); gap: 14px; }
}
@media (min-width: 1100px) {
  .ndh-heroPoster { display: block; }
  .ndh-heroArrows { display: flex; }
  /* Keep the actions anchored to the hero while sharing extra height above and below. */
  .ndh-heroText { margin-block-end: calc((var(--hero-height) - var(--hero-min-height)) / 2); }
}
@media (min-width: 1300px) { .ndh-track { grid-auto-columns: calc(12.5% - 12.25px); } }
@media (prefers-reduced-motion: reduce) { .ndh-slide, .ndh-heroBack, .ndh-cardPoster, .ndh-cardPoster img { transition: none; } }

.ndh-episodeBadge { display: none; }
.ndh-historyIcon { display: block; color: #ff2a37; }
.ndh-historyMeta { color: #6f6f7a; margin: 3px 0 0; font-size: 12px; }
@media (max-width: 899px) {
  .ndh-historyMeta { display: none; }
  .ndh-heroText { width: 100%; }
  .ndh-episodeBadge {
    display: block;
    position: absolute;
    top: 8px;
    inset-inline-start: 8px;
    padding: 2px 7px;
    border-radius: 5px;
    color: white;
    background: #e50914;
    font-size: 11px;
    font-weight: 800;
  }
}

.nds-searchPage {
  min-height: 60vh;
  padding-block-start: calc(var(--header-h) + clamp(20px, 2vw, 30px));
}

.nds-searchHeader {
  margin-block-end: 24px;
}

.nds-searchHeader h1 {
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  overflow-wrap: anywhere;
}

.nds-searchHeader form {
  max-width: 35rem;
  margin-block-start: 12px;
  flex-wrap: nowrap;
  align-items: stretch;
}

.nds-searchHeader input {
  flex: 1;
  min-width: 0;
}

.nds-searchHeader button {
  min-height: 44px;
}

.nds-searchMessage {
  padding-block: clamp(28px, 4vw, 52px) 24px;
  color: var(--muted);
  text-align: center;
}

.ndl-page {
  max-width: 760px;
  padding-bottom: 32px;
}

.ndl-content, .ndl-form p {
  color: var(--muted);
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.ndl-content > * + * { margin-top: 14px; }
.ndl-content :is(h2, h3) { color: var(--text); font-weight: 700; }
.ndl-content h2 { margin-top: 24px; font-size: 1.2rem; }
.ndl-content ul, .ndl-content ol { padding-inline-start: 1.5em; }
.ndl-content ul { list-style: disc; }
.ndl-content ol { list-style: decimal; }
.ndl-content a, .ndl-form a { color: var(--text); text-decoration: underline; }

.ndl-form { display: grid; gap: 14px; max-width: 540px; }
.ndl-form label { display: grid; gap: 6px; }
.ndl-form input, .ndl-form textarea {
  width: 100%;
  padding: 8px 12px;
  background: var(--panel-2);
  border: 1px solid var(--line-2);
  border-radius: 8px;
}
.ndl-form button { justify-self: start; }
.ndl-contactInfo { margin-bottom: 24px; }
.ndl-contactInfo h2, .ndl-sectionHeading { font-size: 1.15rem; margin-bottom: 12px; color: var(--text); }
.ndl-contactMeta {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-2);
  overflow: hidden;
}
.ndl-contactMeta > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.ndl-contactMeta > div:last-child { border-bottom: 0; }
.ndl-contactMeta dt { color: var(--muted); font-weight: 600; }
.ndl-contactMeta dd { margin: 0; overflow-wrap: anywhere; }
.ndl-contactMeta a { color: var(--text); text-decoration: underline; }

[hidden] { display: none !important; }
.ndh-heroBack { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
