.nd-detail, .nd-watchPage {
  --dp-line: #ffffff14;
  --dp-border: #ffffff24;
  --dp-muted: #a3a3ad;
  --dp-dim: #858591;
  color: #f5f5f7;
  background: #0a0a0c;
}
.nd-wrap { max-width: 1560px; margin-inline: auto; padding-inline: var(--pad, clamp(16px, 3.6vw, 48px)); }
.nd-hero { position: relative; isolation: isolate; overflow: hidden; }
.nd-backdrop, .nd-stageBackdrop { object-fit: cover; pointer-events: none; }
.nd-backdrop { object-position: 50% 25%; filter: blur(30px) brightness(.55) saturate(1.2); transform: scale(1.12); }
.nd-shade { position: absolute; inset: 0; background: linear-gradient(0deg,#0a0a0c 0%,#0a0a0c8c 55%,#0a0a0c66),linear-gradient(90deg,#0a0a0cb3,transparent 70%); }
.nd-heroInner { position: relative; display: grid; gap: 18px; padding-block: calc(var(--header-h, 60px) + 20px) 28px; }
.nd-poster { position: relative; aspect-ratio: 2/3; width: clamp(112px, min(41vw, 21svh), 160px); margin-inline: auto; background: #16161b; border: 1px solid var(--dp-border); border-radius: 14px; box-shadow: 0 18px 50px #0009; overflow: hidden; }
.nd-poster img { object-fit: cover; }
.nd-text { text-align: center; min-width: 0; }
.nd-text h1 { font-size: clamp(1.6rem, 4.5vw, 3.4rem); line-height: 1.13; font-weight: 800; letter-spacing: -.03em; margin: 0 0 10px; overflow-wrap: anywhere; text-wrap: balance; }
.nd-alt { color: var(--dp-muted); margin: 0 0 12px; }
.nd-badges, .nd-actions, .nd-tools, .nd-share { display: flex; flex-wrap: wrap; align-items: center; }
.nd-badges { gap: 6px; margin-bottom: 14px; }
.nd-badges span, .nd-badges b, .nd-badges a {
  display: inline-flex; align-items: center; padding: 0 9px; height: 24px;
  font-size: 11px; font-weight: 800; border: 1px solid var(--dp-border);
  border-radius: 6px; background: #14141ac7;
}
.nd-badges a:hover, .nd-badges a:focus-visible { text-decoration: underline; }
.nd-badges b, .nd-badges a { background: #ffffff14; }
.nd-text .nd-badges, .nd-text .nd-actions, .nd-text .nd-share { justify-content: center; }
.nd-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; padding: 0; margin: 0 0 16px; }
.nd-meta li { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--dp-line); border-radius: 8px; height: 28px; padding-inline: 11px; background: #ffffff14; color: #e4e4ea; font-size: 12.5px; font-weight: 600; }
.nd-summary {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  color: #ececf1;
  font-size: 15px;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 16px;
}
.nd-actions { gap: 10px; margin-bottom: 16px; }
.nd-badges .nd-languageBadge {
  color: #ffb8bc;
  background: #a22c3833;
  border-color: #ff71754d;
}
.nd-button, .nd-tool {
  color: white; display: inline-flex; justify-content: center; align-items: center; gap: 8px;
  cursor: pointer; border: 1px solid var(--dp-border); border-radius: 10px;
  height: 42px; padding: 0 18px; background: #ffffff14; font-size: 14px; font-weight: 700; text-decoration: none;
}
.nd-button:hover { background: #ffffff24; }
.nd-primary, .nd-primary:hover { color: white; background: #e50914; border-color: #e50914; box-shadow: 0 8px 24px #e5091459; }
.nd-primary:hover { background: #ff2a37; }
.nd-avail, .nd-back { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--dp-muted); margin: 0 0 14px; }
.nd-share { gap: 8px; }
.nd-share span { font-size: 12px; overflow-wrap: anywhere; }
.nd-share span:empty { display: none; }
.nd-block { margin: 34px 0; scroll-margin-top: calc(var(--header-h, 60px) + 12px); }
.nd-block h2 { margin: 0 0 16px; color: #f5f5f7; padding-inline-start: 14px; font-size: clamp(1.15rem,2.2vw,1.6rem); font-weight: 800; line-height: 1.3; position: relative; }
.nd-block h2::before { content: ""; position: absolute; inset-inline-start: 0; top: 50%; transform: translateY(-50%); height: 1.05em; width: 4px; border-radius: 4px; background: linear-gradient(#ff7a1a,#e50914); }
.nd-season { color: var(--dp-dim); letter-spacing: .1em; font-size: 12px; font-weight: 800; margin: 0 0 10px; }
.nd-episodes { display: grid; grid-template-columns: repeat(auto-fill,minmax(62px,1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.nd-episodes a { display: flex; flex-direction: column; align-items: center; justify-content: center; color: #f5f5f7; background: #16161b; border: 1px solid var(--dp-line); border-radius: 12px; height: 58px; text-decoration: none; }
.nd-episodes a:hover, .nd-episodes a[aria-current] { background: rgb(229 9 20 / 22%); border-color: var(--red, #e50914); box-shadow: inset 0 0 0 1px var(--red, #e50914); }
.nd-episodes b { font-size: 17px; font-weight: 800; }
.nd-episodes svg { color: var(--dp-dim); }
.nd-detailEpisodePanel {
  background: var(--bg-2);
  border: 1px solid var(--dp-line);
  border-radius: 14px;
  padding: clamp(12px, 2vw, 24px);
}
.nd-detailEpisodeHead {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  margin-bottom: 14px;
}
.nd-detailEpisodeHead h2 { margin: 0; overflow-wrap: anywhere; }
.nd-detailEpisodeHead .nd-season { margin: 0; color: var(--dp-muted); }
.nd-detailEpisodePanel .nd-episodes { grid-template-columns: repeat(auto-fill, minmax(54px, 1fr)); }
.nd-detailEpisodePanel .nd-episodes a {
  height: auto;
  min-height: 58px;
  gap: 2px;
  padding-block: 6px;
  border-radius: 8px;
}
.nd-episodes small { color: var(--dp-muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.nd-columns { display: grid; gap: 0 40px; }
.nd-detailHeading { display: flex; align-items: center; gap: 8px; }
.nd-block .nd-detailHeading { line-height: 1.2; }
.nd-detailHeading svg { flex: none; color: #ff2a37; }
.nd-detailTags { display: flex; flex-wrap: wrap; gap: 6px; }
.nd-detailTags > * { padding: 2px 10px; border-radius: 6px; background: rgb(229 9 20 / 14%); color: #ff8b92; font-size: 12.5px; font-weight: 700; }
.nd-detailTags a:hover { text-decoration: underline; }
.nd-info { margin: 0; border-radius: 14px; border: 1px solid var(--dp-line); background: #111115; overflow: hidden; }
.nd-info > div { border-bottom: 1px solid var(--dp-line); display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 12px 16px; font-size: 14px; }
.nd-info > div:last-child { border-bottom: 0; }
.nd-info dt { color: #6f6f7a; font-size: 13px; font-weight: 700; }
.nd-info dd { margin: 0; }
.nd-prose { color: #d3d3dc; font-size: 15px; line-height: 1.7; }
.nd-faq { border: 1px solid var(--dp-line); background: #111115; border-radius: 12px; margin-bottom: 8px; }
.nd-faq summary { display: flex; justify-content: space-between; align-items: center; padding: 15px 18px; cursor: pointer; list-style: none; font-weight: 700; }
.nd-faq summary::-webkit-details-marker { display: none; }
.nd-faq[open] svg { transform: rotate(180deg); }
.nd-faq p { padding: 0 18px 16px; color: #cfcfd8; font-size: 14px; }
@media (min-width: 760px) {
  .nd-heroInner { grid-template-columns: 224px minmax(0, 1fr); align-items: center; gap: 36px; padding-block: calc(var(--header-h, 60px) + 36px) 40px; }
  .nd-poster { width: 100%; margin: 0; }
  .nd-text { text-align: start; }
  .nd-text .nd-badges, .nd-text .nd-meta, .nd-text .nd-actions, .nd-text .nd-share { justify-content: flex-start; }
  .nd-summary { margin-inline: 0; -webkit-line-clamp: 4; }
  .nd-detailEpisodePanel .nd-episodes { grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); }
}
@media (min-width: 1000px) { .nd-columns { grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); } }
@media (min-width: 1200px) { .nd-heroInner { grid-template-columns: 264px minmax(0,1fr); } }
@media (max-width: 480px) { .nd-info > div { grid-template-columns: 1fr; gap: 2px; } }

.nd-watchPage { padding-top: var(--header-h, 60px); }
.nd-watch { display: grid; min-width: 0; }
.nd-stage {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  background: #000;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.nd-stageBackdrop { z-index: 0; filter: blur(40px) brightness(.35); transform: scale(1.1); }
.nd-stageShade { position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse at center, transparent 20%, #08080ae0); }
.nd-dark .nd-stageBackdrop, .nd-dark .nd-stageShade { opacity: 0; }
.nd-dark .nd-stage { background: #000; }
.nd-player {
  z-index: 1;
  aspect-ratio: 9 / 16;
  height: min(calc(100svh - var(--header-h, 60px)), calc(100vw * 16 / 9));
  width: auto;
  max-width: 100%;
  background: #000;
  border: 0;
  border-radius: 0;
  position: relative;
  overflow: hidden;
}
.nd-player video { position: absolute; inset: 0; display: block; height: 100%; width: 100%; object-fit: contain; }
.nd-embedded .nd-player { position: fixed; inset: 0; width: 100%; height: 100%; border-radius: 0; }
.nd-playerEmpty { position: absolute; inset: 0; display: grid; place-items: center; background: #000; text-align: center; }
.nd-playerEmpty img { object-fit: cover; opacity: .25; }
.nd-playerEmpty div { position: relative; padding: 18px; font-weight: 700; }
.nd-playerEmpty svg { margin: 0 auto 8px; }
.nd-playerEmpty button { margin-top: 12px; }
.nd-stageNav { display: none; }
.nd-stageNav > a {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgb(255 255 255 / 10%);
  border: 1px solid var(--dp-border);
  backdrop-filter: blur(6px);
  color: #fff;
}
.nd-stageNav a:hover { background: var(--red, #e50914); border-color: var(--red, #e50914); }
.nd-stageNav a:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.nd-side {
  min-width: 0;
  margin: 0;
  background: var(--bg-2, #111115);
  border: 0;
  border-bottom: 1px solid var(--dp-line);
  border-radius: 0;
  padding: 20px var(--pad, 16px) 16px;
}
.nd-dark .nd-side { background: #000; }
.nd-back {
  color: var(--dp-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.nd-back:hover { color: #fff; }
.nd-side h1 { font-size: 1.35rem; line-height: 1.2; font-weight: 800; margin: 0 0 4px; overflow-wrap: anywhere; }
.nd-episodeInTitle { font-size: 1em; font-weight: 700; color: var(--dp-muted); white-space: nowrap; }
.nd-side .nd-badges { gap: 6px; margin: 10px 0 16px; }
.nd-side .nd-watchLangBadge {
  background: #2563eb;
  border: 0;
  color: #fff;
  border-radius: 5px;
  height: 24px;
  padding: 0 9px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
}
.nd-side .nd-watchGhostBadge {
  background: #ffffff14;
  border: 1px solid var(--dp-border);
  color: #fff;
  border-radius: 5px;
  height: 24px;
  padding: 0 9px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  gap: 4px;
  text-decoration: none;
}
.nd-side a.nd-watchGhostBadge:hover, .nd-side a.nd-watchGhostBadge:focus-visible { border-color: var(--red, #e50914); text-decoration: none; }
.nd-source { font-size: 12.5px; color: var(--dp-muted); margin: 0 0 14px; }
.nd-source strong, .nd-more { color: #ff8b92; }
.nd-tools { gap: 8px; margin-bottom: 18px; }
.nd-tool {
  height: 36px;
  background: var(--panel, #16161b);
  color: #f5f5f7;
  font-size: 13px;
  font-weight: 700;
  padding: 0 12px;
  border: 1px solid var(--dp-line);
  border-radius: 9px;
  gap: 6px;
}
.nd-tool:hover { background: var(--panel, #16161b); border-color: var(--dp-border); }
.nd-tool[aria-pressed="true"] { border-color: var(--red, #e50914); color: #f5f5f7; }
.nd-tool b { font-weight: 800; }
.nd-toolToggle[aria-pressed="true"] svg { color: var(--red-2, #ff2a37); }
.nd-toolNotice, .nd-tools .nd-reminderNotice { flex-basis: 100%; font-size: 12.5px; color: #ffb9be; margin: 0; }
.nd-reportBox { background: var(--panel, #16161b); border: 1px solid var(--dp-border); border-radius: 12px; margin: -8px 0 18px; padding: 12px; }
.nd-reportHeading { letter-spacing: 0.06em; text-transform: uppercase; color: var(--dp-dim); margin: 0 0 8px; font-size: 12px; font-weight: 800; }
.nd-reportList { display: grid; gap: 6px; }
.nd-reportList button { text-align: start; background: var(--bg-2, #111115); border: 1px solid var(--dp-line); color: #f5f5f7; border-radius: 9px; padding: 10px 12px; font-size: 13.5px; font-weight: 600; }
.nd-reportList button:hover { border-color: var(--red, #e50914); }
.nd-reportForm { display: grid; gap: 8px; margin-top: 8px; }
.nd-reportForm textarea { width: 100%; resize: vertical; padding: 8px 10px; border: 1px solid var(--dp-border); border-radius: 8px; background: #0a0a0c; color: #fff; font: inherit; }
.nd-reportForm button { justify-self: start; }
.nd-reportStatus { margin: 8px 0 0; font-size: 12.5px; color: #ffb9be; }
.nd-episodePanel { margin-top: 0; scroll-margin-top: calc(var(--header-h, 60px) + 12px); }
.nd-episodeHeading {
  display: block;
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f5f5f7;
}
.nd-episodeHeading span { color: var(--dp-dim); font-size: inherit; font-weight: 800; }
.nd-watchSeason { margin: 0 0 10px; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dp-dim); }
.nd-compact { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.nd-compact a { height: 48px; border-radius: 10px; }
.nd-compact b { font-size: 15px; }
.nd-sidePn { display: flex; justify-content: space-between; gap: 10px; margin: 18px 0 12px; }
.nd-sidePn .nd-button { flex: 1; height: 42px; padding: 0 18px; border-radius: 10px; font-size: 14px; }
.nd-tgc {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 14px 0 0;
  padding: 14px 16px;
  background: linear-gradient(100deg, rgb(42 171 238 / 16%), rgb(42 171 238 / 4%) 70%);
  border: 1px solid rgb(42 171 238 / 30%);
  border-radius: 16px;
}
.nd-tgcIcon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(160deg, #37bbfe, #1d93d2);
  box-shadow: 0 8px 22px rgb(34 158 217 / 35%);
}
.nd-tgcIcon svg { margin-inline-start: -2px; }
.nd-tgcText {
  display: grid;
  flex: 1 1 0%;
  min-width: 0;
  gap: 2px;
}
.nd-tgcText strong { font-size: 15px; color: #f5f5f7; }
.nd-tgcText span { font-size: 13px; line-height: 1.45; color: var(--dp-muted); }
.nd-tgcBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 100%;
  height: 40px;
  padding: 0 16px;
  border-radius: 11px;
  background: #229ed9;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgb(34 158 217 / 35%);
}
.nd-tgcBtn:hover { background: #2aabee; }
.nd-crumbs { padding-top: 24px; margin: 0; padding-inline-start: 0; list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--dp-muted); }
.nd-crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.nd-watchCrumbs { padding-top: 18px; gap: 6px; font-size: 12.5px; color: var(--dp-dim); }
.nd-watchCrumbs a:hover { color: #fff; }
.nd-watchDate { color: var(--dp-muted); font-size: 15px; margin: 0 0 14px; }
.nd-watchProse { color: #d3d3dc; font-size: 15px; line-height: 1.6; margin: 0 0 14px; }
.nd-watchAllRow { margin: 0; }
.nd-watchAllBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid var(--dp-border);
  background: #ffffff14;
  backdrop-filter: blur(8px);
  color: var(--red-2, #ff2a37);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.nd-watchAllBtn:hover { background: #ffffff24; }
.nd-detailCrumbs { padding-top: 16px; }
.nd-more { display: inline-block; margin-top: 12px; }
@media (max-width: 560px) {
  .nd-tgcBtn { height: 44px; }
}
@media (max-width: 899px) {
  .nd-stage { max-height: calc(100svh - var(--header-h, 60px)); }
}
@media (min-width: 900px) {
  .nd-watch { height: max(360px, calc(100svh - var(--header-h, 68px))); grid-template-columns: minmax(0, 1fr) 400px; gap: 0; padding: 0; }
  .nd-stage { height: 100%; padding: 16px 0; border: 0; border-radius: 0; }
  .nd-player { width: auto; height: 100%; max-height: none; border-radius: 16px; box-shadow: 0 24px 60px #000c; }
  .nd-stageNav { display: flex; flex-direction: column; gap: 10px; position: absolute; inset-inline-end: 24px; top: 50%; transform: translateY(-50%); z-index: 2; }
  .nd-side { min-height: 0; height: 100%; margin: 0; padding: 22px 22px 16px; border: 0; border-inline-start: 1px solid var(--dp-line); border-radius: 0; overflow-y: auto; scrollbar-gutter: stable; }
  .nd-episodePanel { scroll-margin-top: 12px; }
}
@media (min-width: 1400px) {
  .nd-watch { grid-template-columns: minmax(0, 1fr) 440px; }
}

.nd-actions .nd-button { height: 50px; padding-inline: 24px; border-radius: 12px; font-size: 15px; }
.nd-actions .nd-primary { padding-inline: 28px; }
@media (max-width: 759px) {
  .nd-detailActions .nd-button { height: 44px; padding-inline: 12px; font-size: 14px; }
}
@media (max-width: 759px) and (max-height: 640px) {
  .nd-text { display: grid; }
  .nd-detailActions { grid-row: 4; }
}
.nd-share > span { color: var(--dp-muted); }
.nd-shareIcon { width: 34px; height: 34px; display: grid; place-items: center; color: white; border: 0; border-radius: 50%; cursor: pointer; }
.nd-shareIcon:hover { filter: brightness(1.15); }
.nd-shareIcon[data-network="x"] { background: #111; border: 1px solid var(--dp-border); }
.nd-shareIcon[data-network="fb"] { background: #1877f2; }
.nd-shareIcon[data-network="wa"] { background: #25d366; }
.nd-shareIcon[data-network="tg"] { background: #229ed9; }
.nd-shareIcon[data-network="copy"] { background: #34343f; }
.nd-reminderNotice { color: #ffb9be; font-size: 14px; }
.nd-actions .nd-reminderNotice { flex-basis: 100%; }

.nd-shareGrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.nd-shareGrid .nd-shareIcon { width: 100%; height: 44px; display: flex; align-items: center; justify-content: flex-start; gap: 9px; padding-inline: 13px 16px; border-radius: 12px; font-size: 14px; font-weight: 700; }
.nd-shareGrid [data-network="native"] { background: var(--grad); }
.nd-shareGrid [data-network="rd"] { background: #ff4500; }
.nd-shareGrid [data-network="mail"] { background: #393943; }
.nd-shareGrid [data-network="copy"] { background: #1e1e25; border: 1px solid var(--dp-border); }
.nd-shareGrid [data-network="x"] { background: black; }
.nd-shareGrid [role="status"] { grid-column: 1 / -1; overflow-wrap: anywhere; }
.nd-shareGrid [role="status"]:empty, .nd-commentForm [role="status"]:empty { display: none; }
.nd-commentForm { max-width: 760px; display: grid; gap: 12px; padding: 18px; background: #111115; border: 1px solid var(--dp-line); border-radius: 12px; }
.nd-commentForm label { display: grid; gap: 6px; color: var(--dp-muted); font-size: 13px; font-weight: 700; }
.nd-commentForm input, .nd-commentForm textarea { box-sizing: border-box; width: 100%; min-width: 0; padding: 11px 13px; border: 1px solid var(--dp-border); border-radius: 10px; background: #16161b; color: white; font: 500 15px/1.6 var(--font); }
.nd-commentForm textarea { min-height: 120px; resize: vertical; }
.nd-commentForm p { font-size: 12.5px; color: var(--dp-muted); }
.nd-commentForm button { justify-self: start; }
.nd-commentItem { padding: 16px 0; border-bottom: 1px solid var(--dp-line); overflow-wrap: anywhere; }
.nd-commentItem p { white-space: pre-wrap; }
@media (width > 560px) {
  .nd-shareGrid { display: flex; flex-wrap: wrap; }
  .nd-shareGrid .nd-shareIcon { width: auto; }
  .nd-shareGrid [role="status"] { flex-basis: 100%; }
}

.nd-fill { position: absolute; inset: 0; height: 100%; width: 100%; }
[data-drama] [hidden] { display: none !important; }
[data-drama] button { cursor: pointer; }
.nd-episodes { padding-left: 0; list-style: none; }
