:root {
  --glass: rgba(14, 21, 34, 0.72);
  --glass-line: rgba(120, 160, 220, 0.16);
  --ok: #3ddc84;
  --warn: #f2a93b;
  --uhd-a: #ffd66b; --uhd-b: #ff9a3c;
  --fhd-a: #6cc0ff; --fhd-b: #1e7bff;
  --hd-a: #5ee9c8; --hd-b: #12a58c;
  --sd-a: #9aa8bb; --sd-b: #5b6879;
}

/* ---------- brand ---------- */
.brand { gap: 11px; }
.brand-logo {
  width: 34px; height: 34px; flex: none;
  filter: drop-shadow(0 0 10px rgba(30, 144, 255, 0.55));
  transition: transform 0.35s var(--ease), filter 0.35s var(--ease);
}
.brand:hover .brand-logo { transform: rotate(-8deg) scale(1.06); filter: drop-shadow(0 0 16px rgba(30, 144, 255, 0.85)); }
.brand-word {
  font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 21px; letter-spacing: -0.02em;
  background: linear-gradient(100deg, #ffffff 0%, #d7ebff 45%, var(--accent-2) 80%, var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- top bar ---------- */
.topbar { gap: 26px; padding-block: 14px; }
.topbar::before {
  content: ""; position: absolute; inset: 0 0 -40px 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent);
  transition: opacity 0.3s var(--ease);
}
.topbar.scrolled::before { opacity: 0; }
.nav a { font-size: 14.5px; }

.search-box {
  width: 300px; height: 40px; padding: 0 8px 0 14px; gap: 10px;
  background: var(--glass); border: 1px solid var(--glass-line);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), width 0.32s var(--ease);
}
.search-box:hover { border-color: rgba(120, 170, 240, 0.32); }
.search-box:focus-within, .search-box.open {
  width: 360px; border-color: var(--accent);
  background: rgba(12, 19, 31, 0.92);
  box-shadow: 0 0 0 4px rgba(30, 144, 255, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.search-box svg { width: 17px; height: 17px; }
.search-box:focus-within svg { color: var(--accent-2); }
.search-box input { font-size: 14.5px; }
.search-box input::-webkit-search-cancel-button { filter: invert(0.6); }
.search-box kbd {
  flex: none; display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px;
  border-radius: 7px; font: 600 12px "Montserrat", sans-serif; color: var(--text-faint);
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--glass-line);
  transition: opacity 0.2s;
}
.search-box:focus-within kbd { opacity: 0; }

.acct { position: relative; }
.acct-btn {
  display: flex; align-items: center; gap: 6px; height: 40px; padding: 3px 8px 3px 3px;
  border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-line);
  backdrop-filter: blur(12px); color: var(--text-dim);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.acct-btn:hover, .acct.open .acct-btn { border-color: rgba(120, 170, 240, 0.4); background: rgba(20, 30, 48, 0.9); color: var(--text); }
.acct-btn > svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.acct.open .acct-btn > svg { transform: rotate(180deg); }
.acct-av {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none;
  font: 700 14px "Montserrat", sans-serif; color: #fff;
  background: radial-gradient(circle at 30% 25%, #7cc4ff, var(--accent) 55%, #0a4fb0);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.9), 0 0 0 3.5px rgba(94, 179, 255, 0.55), 0 6px 16px -6px rgba(30, 144, 255, 0.9);
}
.acct-av.lg { width: 40px; height: 40px; font-size: 17px; }
.acct-menu {
  position: absolute; right: 0; top: calc(100% + 10px); width: 236px; padding: 8px;
  background: rgba(13, 19, 31, 0.96); border: 1px solid var(--glass-line); border-radius: 16px;
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  opacity: 0; transform: translateY(-6px) scale(0.98); transform-origin: top right; pointer-events: none;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
}
.acct.open .acct-menu { opacity: 1; transform: none; pointer-events: auto; }
.acct-head { display: flex; align-items: center; gap: 12px; padding: 8px 8px 12px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.acct-head b { display: block; font-size: 14.5px; }
.acct-head small { color: var(--text-dim); font-size: 12.5px; }
.acct-menu button[role="menuitem"] {
  width: 100%; display: flex; align-items: center; gap: 11px; padding: 10px 10px; border-radius: 10px;
  font-size: 14px; font-weight: 500; color: var(--text); text-align: left;
  transition: background 0.15s, color 0.15s;
}
.acct-menu button[role="menuitem"] svg { width: 18px; height: 18px; color: var(--text-dim); transition: color 0.15s, transform 0.4s var(--ease); }
.acct-menu button[role="menuitem"]:hover { background: rgba(30, 144, 255, 0.12); }
.acct-menu button[role="menuitem"]:hover svg { color: var(--accent-2); }
.acct-menu button[data-act="rescan"]:hover svg { transform: rotate(180deg); }
.acct-menu button.danger:hover { background: rgba(255, 92, 106, 0.12); color: #ff8f99; }
.acct-menu button.danger:hover svg { color: var(--danger); }

/* ---------- icon sizing fixes ---------- */
.pill svg { width: 13px; height: 13px; flex: none; }
.icon-btn svg { width: 20px; height: 20px; }
.empty .ic svg { width: 30px; height: 30px; }

/* ---------- login ---------- */
.login { position: relative; overflow: hidden; }
.login::before {
  content: ""; position: absolute; width: 720px; height: 720px; left: 50%; top: 50%;
  transform: translate(-50%, -58%); pointer-events: none;
  background: radial-gradient(circle, rgba(30, 144, 255, 0.2), transparent 62%);
  animation: nw-breathe 6s ease-in-out infinite;
}
.login-card { position: relative; text-align: center; padding: 44px 36px 34px; border-color: var(--glass-line); background: rgba(12, 18, 30, 0.78); }
.login-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(160deg, rgba(94, 179, 255, 0.55), transparent 40%, transparent 70%, rgba(30, 144, 255, 0.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.login-logo { width: 84px; height: 84px; margin: 0 auto 16px; position: relative; }
.login-logo::after {
  content: ""; position: absolute; inset: -14px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(30, 144, 255, 0.45), transparent 65%);
}
.login-logo img { width: 100%; height: 100%; filter: drop-shadow(0 0 18px rgba(30, 144, 255, 0.6)); animation: nw-float 5s ease-in-out infinite; }
.login-title {
  margin: 0 0 6px; font: 700 32px/1.1 "Montserrat", sans-serif; letter-spacing: -0.03em;
  background: linear-gradient(100deg, #fff 20%, var(--accent-2) 75%, var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.login-card p { margin-bottom: 28px; font-size: 15px; }
.field { display: flex; align-items: center; }
.field > svg { position: absolute; left: 15px; width: 18px; height: 18px; color: var(--text-faint); pointer-events: none; transition: color 0.2s; }
.field input { padding-left: 44px; background: rgba(8, 12, 20, 0.8); border-color: var(--glass-line); }
.field:focus-within > svg { color: var(--accent-2); }
.login .btn-accent { height: 52px; font-size: 16px; position: relative; overflow: hidden; }
.login .btn-accent svg { transition: transform 0.25s var(--ease); }
.login .btn-accent:hover svg { transform: translateX(4px); }
.login .btn-accent::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-100%);
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
}
.login .btn-accent:hover::after { transform: translateX(100%); transition: transform 0.7s var(--ease); }
.login-card.busy .btn-accent { pointer-events: none; opacity: 0.85; }
.login-card.busy .btn-accent::after { animation: nw-sweep 1s linear infinite; }
.login .err { display: flex; align-items: center; justify-content: center; gap: 7px; }
.login .err svg { width: 16px; height: 16px; flex: none; }
.login-card.shake { animation: nw-shake 0.42s var(--ease); }

/* ---------- section title ---------- */
.sec-title { display: flex; align-items: center; gap: 12px; }
.sec-title::before {
  content: ""; width: 4px; height: 22px; border-radius: 4px;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  box-shadow: 0 0 12px rgba(30, 144, 255, 0.7);
}

/* ---------- animations ---------- */
@keyframes nw-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes nw-breathe { 50% { opacity: 0.6; transform: translate(-50%, -58%) scale(1.08); } }
@keyframes nw-float { 50% { transform: translateY(-5px); } }
@keyframes nw-sweep { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@keyframes nw-shake { 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .topbar { gap: 12px; }
  .brand-word { font-size: 19px; }
  .search-box { width: 40px; padding: 0 11px; }
  .search-box kbd { display: none; }
  .search-box:focus-within, .search-box.open { width: min(240px, 52vw); }
  .acct-btn > svg { display: none; }
  .acct-btn { padding: 3px; }
}
@media (max-width: 360px) { .brand-word { display: none; } }
@media (max-width: 560px) {
  .brand-word { font-size: 18px; }
}

/* ---------- font ---------- */
html, body, button, input, kbd { font-family: "Montserrat", system-ui, sans-serif; }
body { letter-spacing: -0.005em; }
.hero-title, .detail-body h1 { font-weight: 800; letter-spacing: -0.035em; }
.row-title, .section h2 { font-weight: 700; letter-spacing: -0.02em; }
.brand-word, .login-title { font-weight: 800; letter-spacing: -0.03em; }
.btn { font-weight: 700; letter-spacing: -0.01em; }

/* ---------- not found ---------- */
.nf { min-height: 72vh; display: grid; place-items: center; padding: 40px 24px; text-align: center; animation: nw-rise 0.4s var(--ease) both; }
.nf.in-player { position: absolute; inset: 0; z-index: 30; min-height: 0; background: #000; }
.nf-inner { max-width: 520px; display: grid; justify-items: center; }
.nf h2 { display: inline-flex; align-items: center; gap: 14px; margin: 0 0 22px; font: 800 clamp(28px, 4vw, 40px)/1.15 "Montserrat", sans-serif; letter-spacing: -0.03em; color: #fff; }
.nf-ic { display: inline-grid; width: 1.05em; height: 1.05em; flex: none; }
.nf-ic svg { width: 100%; height: 100%; }
.nf p { margin: 0 0 30px; font-size: clamp(15px, 1.4vw, 18px); line-height: 1.65; font-weight: 500; color: rgba(255, 255, 255, 0.86); }
.nf-btn {
  padding: 13px 36px; border-radius: 6px; background: #fff; color: #000;
  font: 700 17px "Montserrat", sans-serif; letter-spacing: -0.01em;
  transition: background 0.15s, transform 0.15s;
}
.nf-btn:hover { background: rgba(255, 255, 255, 0.82); }
.nf-btn:active { transform: scale(0.97); }

/* ---------- player ---------- */
.nwp { position: fixed; inset: 0; z-index: 200; background: #000; color: #fff; overflow: hidden; font-family: "Montserrat", sans-serif; user-select: none; }
.nwp video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }

.nwp-start {
  position: absolute; inset: 0; z-index: 10; display: grid; place-items: center;
  background: #000 center / cover no-repeat;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}
.nwp-start::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.72) 75%), linear-gradient(0deg, rgba(0, 0, 0, 0.6), transparent 40%); }
.nwp:not(.is-start) .nwp-start { opacity: 0; visibility: hidden; pointer-events: none; }
.nwp-start-inner { position: relative; display: grid; justify-items: center; gap: 4px; padding: 0 24px; text-align: center; transform: translateY(-4vh); }
.nwp-bigplay {
  position: relative; width: 74px; height: 74px; border-radius: 50%; margin-bottom: 18px;
  display: grid; place-items: center; background: #fff; color: #000;
  box-shadow: 0 10px 40px -8px rgba(0, 0, 0, 0.8);
  transition: transform 0.2s var(--ease), background 0.2s;
}
.nwp-bigplay svg { width: 26px; height: 26px; margin-left: 4px; transition: opacity 0.2s; }
.nwp.is-ready .nwp-bigplay:hover { transform: scale(1.08); }
.nwp-bigplay .ring { position: absolute; inset: -7px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, 0.18); border-top-color: #fff; opacity: 0; }
.nwp.is-loading .nwp-bigplay { cursor: default; background: rgba(255, 255, 255, 0.92); }
.nwp.is-loading .nwp-bigplay svg { opacity: 0.35; }
.nwp.is-loading .nwp-bigplay .ring { opacity: 1; animation: rot 0.9s linear infinite; }
.nwp-start-title { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.8); }
.nwp-start-sub { font-size: 14.5px; font-weight: 500; color: rgba(255, 255, 255, 0.72); }
.nwp-status { min-height: 20px; margin-top: 14px; font-size: 13.5px; font-weight: 500; color: rgba(255, 255, 255, 0.7); }
.nwp-resume { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; justify-content: center; animation: nw-rise 0.3s var(--ease) both; }
.nwp-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 6px;
  font: 700 15px "Montserrat", sans-serif; color: #fff; background: rgba(109, 109, 110, 0.7); backdrop-filter: blur(6px);
  transition: background 0.15s;
}
.nwp-pill:hover { background: rgba(109, 109, 110, 0.5); }
.nwp-pill.solid { background: #fff; color: #000; }
.nwp-pill.solid:hover { background: rgba(255, 255, 255, 0.8); }
.nwp-pill svg { width: 16px; height: 16px; }

.nwp-wait { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; pointer-events: none; opacity: 0; transition: opacity 0.2s; }
.nwp-wait span { width: 58px; height: 58px; border-radius: 50%; border: 3.5px solid rgba(255, 255, 255, 0.2); border-top-color: #fff; animation: rot 0.85s linear infinite; }
.nwp.is-buffering:not(.is-start) .nwp-wait { opacity: 1; }

.nwp-flash { position: absolute; left: 50%; top: 50%; z-index: 4; width: 86px; height: 86px; margin: -43px 0 0 -43px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, 0.55); pointer-events: none; opacity: 0; }
.nwp-flash svg { width: 38px; height: 38px; }
.nwp-flash.go { animation: nwp-flash 0.6s var(--ease); }
@keyframes nwp-flash { 0% { opacity: 0; transform: scale(0.7); } 25% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.25); } }

.nwp-ui { position: absolute; inset: 0; z-index: 5; transition: opacity 0.35s var(--ease); cursor: default; }
.nwp.is-start .nwp-ui, .nwp.is-error .nwp-ui { opacity: 0; pointer-events: none; }
.nwp.ui-off .nwp-ui { opacity: 0; cursor: none; }
.nwp.ui-off .nwp-ui > * { pointer-events: none; }
.nwp-top {
  position: absolute; inset: 0 0 auto 0; display: flex; align-items: center; gap: 14px;
  padding: 20px clamp(16px, 2.4vw, 36px) 60px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent);
}
.nwp-top-t { display: flex; flex-direction: column; min-width: 0; }
.nwp-top-t b { font-size: 18px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nwp-top-t span { font-size: 13.5px; color: rgba(255, 255, 255, 0.7); font-weight: 500; }
.nwp-grow { flex: 1; }
.nwp-q { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.nwp-q em { font-style: normal; font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 4px; color: rgba(255, 255, 255, 0.85); border: 1px solid rgba(255, 255, 255, 0.35); }
.nwp-q em.res { background: #fff; color: #000; border-color: #fff; }
.nwp-q em.hdr { color: #ffd66b; border-color: rgba(255, 214, 107, 0.6); }

.nwp-bottom { position: absolute; inset: auto 0 0 0; padding: 70px clamp(16px, 2.4vw, 36px) 14px; background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.4) 55%, transparent); }
.nwp-seekrow { display: flex; align-items: center; gap: 16px; margin-bottom: 6px; }
.nwp-seek { position: relative; flex: 1; height: 22px; display: flex; align-items: center; cursor: pointer; touch-action: none; }
.nwp-bar { position: relative; width: 100%; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.25); overflow: hidden; transition: height 0.15s var(--ease); }
.nwp-bar i { position: absolute; inset: 0 auto 0 0; width: 0; }
.nwp-bar .buf { background: rgba(255, 255, 255, 0.35); }
.nwp-bar .fill { background: var(--accent); box-shadow: 0 0 10px rgba(30, 144, 255, 0.7); }
.nwp-seek:hover .nwp-bar, .nwp.is-scrub .nwp-bar { height: 6px; }
.nwp-knob { position: absolute; top: 50%; left: 0; width: 15px; height: 15px; margin: -7.5px 0 0 -7.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(30, 144, 255, 0.35); transition: transform 0.15s var(--ease); }
.nwp-seek:hover .nwp-knob, .nwp.is-scrub .nwp-knob { transform: scale(1.25); }
.nwp-tip { position: absolute; bottom: 26px; left: 0; transform: translateX(-50%); padding: 4px 8px; border-radius: 4px; background: rgba(20, 20, 20, 0.92); font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; opacity: 0; pointer-events: none; transition: opacity 0.12s; }
.nwp-seek:hover .nwp-tip { opacity: 1; }
.nwp-time { flex: none; font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, 0.92); }

.nwp-ctrl { display: flex; align-items: center; gap: clamp(4px, 1vw, 14px); }
.nwp-btn {
  height: 46px; min-width: 46px; padding: 0 6px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  color: #fff; transition: transform 0.15s var(--ease), color 0.15s;
}
.nwp-btn svg { width: 30px; height: 30px; flex: none; }
.nwp-btn:hover { transform: scale(1.14); }
.nwp-btn:active { transform: scale(0.94); }
.nwp-btn.wide span { font-size: 17px; font-weight: 600; }
.nwp-btn.wide:hover { transform: none; color: rgba(255, 255, 255, 0.8); }
.nwp-top .nwp-btn svg { width: 32px; height: 32px; }
.nwp-vol { display: flex; align-items: center; }
.nwp-vol input {
  --v: 100%; width: 0; opacity: 0; height: 4px; margin: 0; appearance: none; -webkit-appearance: none; border-radius: 4px; cursor: pointer;
  background: linear-gradient(90deg, #fff var(--v), rgba(255, 255, 255, 0.3) var(--v));
  transition: width 0.25s var(--ease), opacity 0.2s, margin 0.25s;
}
.nwp-vol:hover input, .nwp-vol input:focus-visible { width: 96px; opacity: 1; margin: 0 8px 0 4px; }
.nwp-vol input::-webkit-slider-thumb { -webkit-appearance: none; width: 13px; height: 13px; border-radius: 50%; background: #fff; border: none; }
.nwp-vol input::-moz-range-thumb { width: 13px; height: 13px; border-radius: 50%; background: #fff; border: none; }

.nwp-menu-wrap { position: relative; }
.nwp-menu-wrap .nwp-btn svg { transition: transform 0.4s var(--ease); }
.nwp-menu-wrap.open .nwp-btn svg { transform: rotate(60deg); }
.nwp-menu {
  position: absolute; right: -8px; bottom: calc(100% + 12px); width: 190px; padding: 8px; border-radius: 8px;
  background: rgba(24, 24, 24, 0.96); box-shadow: 0 18px 50px -12px rgba(0, 0, 0, 0.9);
  opacity: 0; transform: translateY(6px); pointer-events: none; transition: opacity 0.15s, transform 0.15s var(--ease);
}
.nwp-menu-wrap.open .nwp-menu { opacity: 1; transform: none; pointer-events: auto; }
.nwp-menu-h { padding: 8px 10px 10px; font-size: 15px; font-weight: 700; }
.nwp-menu button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 6px; font-size: 14.5px; font-weight: 500; color: rgba(255, 255, 255, 0.75); text-align: left; }
.nwp-menu button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.4); }
.nwp-menu button:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.nwp-menu button.on { color: #fff; font-weight: 700; }
.nwp-menu button.on::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 8px rgba(30, 144, 255, 0.8); }

.nwp-eps {
  position: absolute; top: 0; right: 0; bottom: 0; z-index: 20; width: min(440px, 100%); display: flex; flex-direction: column;
  background: rgba(16, 16, 18, 0.97); box-shadow: -30px 0 60px -20px rgba(0, 0, 0, 0.9);
  transform: translateX(100%); transition: transform 0.32s var(--ease);
}
.nwp-eps.open { transform: none; }
.nwp-eps-h { display: flex; align-items: center; gap: 10px; padding: 18px 14px 14px 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.nwp-eps-tabs { flex: 1; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.nwp-eps-tabs button { flex: none; padding: 8px 14px; border-radius: 6px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, 0.6); transition: background 0.15s, color 0.15s; }
.nwp-eps-tabs button:hover { color: #fff; }
.nwp-eps-tabs button.on { background: #fff; color: #000; }
.nwp-eps-h .nwp-btn svg { width: 24px; height: 24px; }
.nwp-eps-list { flex: 1; overflow-y: auto; padding: 10px; scrollbar-width: thin; }
.nwp-ep { width: 100%; display: grid; grid-template-columns: 136px 1fr; gap: 14px; align-items: center; padding: 10px; border-radius: 8px; text-align: left; transition: background 0.15s; }
.nwp-ep:hover { background: rgba(255, 255, 255, 0.07); }
.nwp-ep.cur { background: rgba(30, 144, 255, 0.14); box-shadow: inset 0 0 0 1px rgba(94, 179, 255, 0.4); }
.nwp-ep .th { position: relative; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: #222; display: grid; place-items: center; }
.nwp-ep .th img { width: 100%; height: 100%; object-fit: cover; }
.nwp-ep .th > b { font-size: 22px; color: rgba(255, 255, 255, 0.4); }
.nwp-ep .th i { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, 0.35); opacity: 0; transition: opacity 0.15s; }
.nwp-ep .th i svg { width: 30px; height: 30px; }
.nwp-ep:hover .th i { opacity: 1; }
.nwp-ep .th em { position: absolute; left: 6px; bottom: 6px; font-style: normal; font-size: 10.5px; font-weight: 700; padding: 2px 6px; border-radius: 3px; background: var(--accent); }
.nwp-ep .tx { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.nwp-ep .tx b { font-size: 14.5px; font-weight: 700; }
.nwp-ep .tx small { font-size: 12.5px; line-height: 1.45; color: rgba(255, 255, 255, 0.6); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

@media (max-width: 700px) {
  .nwp-btn { min-width: 40px; height: 42px; }
  .nwp-btn svg { width: 26px; height: 26px; }
  .nwp-btn.wide span { display: none; }
  .nwp-vol input { display: none; }
  .nwp-time { font-size: 13px; }
  .nwp-q { display: none; }
  .nwp-ep { grid-template-columns: 110px 1fr; }
}

/* ---------- title page ---------- */
.nx-hero { position: relative; min-height: min(92vh, 900px); display: flex; align-items: flex-end; isolation: isolate; }
.nx-bg { position: absolute; inset: 0; z-index: -2; background: center top / cover no-repeat; animation: nx-in 0.9s var(--ease) both; }
.nx-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.97) 0%, rgba(0, 0, 0, 0.82) 28%, rgba(0, 0, 0, 0.25) 62%, rgba(0, 0, 0, 0.05) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(0, 0, 0, 0.6) 22%, transparent 50%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, transparent 18%);
}
.nx-inner { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 140px var(--gutter) clamp(40px, 7vh, 80px); display: grid; gap: 0; justify-items: start; }
.nx-inner > * { max-width: 680px; animation: nw-rise 0.5s var(--ease) both; }
.nx-inner > :nth-child(2) { animation-delay: 0.05s; } .nx-inner > :nth-child(3) { animation-delay: 0.1s; }
.nx-inner > :nth-child(4) { animation-delay: 0.15s; } .nx-inner > :nth-child(5) { animation-delay: 0.2s; } .nx-inner > :nth-child(6) { animation-delay: 0.25s; }
.nx-title {
  margin: 0 0 16px; max-width: 14ch; font: 800 clamp(40px, 6.2vw, 84px)/0.98 "Montserrat", sans-serif; letter-spacing: -0.04em;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.6);
}
.nx-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 14px; font-size: 16px; font-weight: 600; color: rgba(255, 255, 255, 0.85); }
.nx-score { display: inline-flex; align-items: center; gap: 5px; color: #46d369; font-weight: 700; }
.nx-score svg { width: 15px; height: 15px; }
.nx-box { padding: 1px 7px; border: 1px solid rgba(255, 255, 255, 0.45); border-radius: 4px; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.85); }
.nx-tag { margin-bottom: 10px; font-size: 16px; font-weight: 600; font-style: italic; color: var(--accent-2); }
.nx-overview { margin: 0 0 26px; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.6; font-weight: 500; color: rgba(255, 255, 255, 0.9); text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.nx-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.nx-play, .nx-more {
  display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 30px 0 24px; border-radius: 6px;
  font: 700 18px "Montserrat", sans-serif; letter-spacing: -0.01em; transition: background 0.15s, transform 0.12s;
}
.nx-play svg, .nx-more svg { width: 26px; height: 26px; }
.nx-play { background: #fff; color: #000; }
.nx-play:hover { background: rgba(255, 255, 255, 0.78); }
.nx-more { background: rgba(109, 109, 110, 0.7); color: #fff; backdrop-filter: blur(6px); }
.nx-more:hover { background: rgba(109, 109, 110, 0.45); }
.nx-play:active, .nx-more:active { transform: scale(0.97); }
.nx-facts { display: grid; gap: 6px; font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.92); }
.nx-facts span { color: rgba(255, 255, 255, 0.5); font-weight: 500; }
.nx-sk .nx-inner { gap: 16px; }
.nx-sk .skeleton { border-radius: 8px; }
@keyframes nx-in { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }

.nx-eps { padding-top: 8px; padding-bottom: 60px; }
.nx-eps-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); margin: 20px 0 6px; }
.nx-eps-head h2 { margin: 0 !important; font-size: 26px !important; font-weight: 800 !important; }
.nx-season1 { font-size: 16px; font-weight: 600; color: rgba(255, 255, 255, 0.7); }
.nx-select { position: relative; display: inline-flex; align-items: center; }
.nx-select select {
  appearance: none; -webkit-appearance: none; height: 44px; padding: 0 44px 0 16px; border-radius: 6px; cursor: pointer;
  font: 700 16px "Montserrat", sans-serif; color: #fff; background: #242424; border: 1px solid rgba(255, 255, 255, 0.35); outline: none;
}
.nx-select select:hover, .nx-select select:focus-visible { border-color: #fff; }
.nx-select svg { position: absolute; right: 14px; width: 18px; height: 18px; pointer-events: none; }
.nx-ep-list { display: flex; flex-direction: column; }
.nx-ep {
  display: grid; grid-template-columns: 56px 220px 1fr; align-items: center; gap: 20px; width: 100%;
  padding: 22px 24px 22px 8px; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, 0.08); border-radius: 6px;
  transition: background 0.15s;
}
.nx-ep:hover { background: rgba(255, 255, 255, 0.05); }
.nx-ep-n { justify-self: center; font-size: 26px; font-weight: 600; color: rgba(255, 255, 255, 0.55); }
.nx-ep-th { position: relative; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: linear-gradient(135deg, #1b2433, #10161f); display: grid; place-items: center; }
.nx-ep-th img { width: 100%; height: 100%; object-fit: cover; }
.nx-ep-ph svg { width: 34px; height: 34px; color: rgba(255, 255, 255, 0.25); }
.nx-ep-th i { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, 0.35); opacity: 0; transition: opacity 0.15s; }
.nx-ep-th i svg { width: 44px; height: 44px; padding: 10px; border-radius: 50%; border: 2px solid #fff; background: rgba(0, 0, 0, 0.4); }
.nx-ep:hover .nx-ep-th i { opacity: 1; }
.nx-ep-bar { position: absolute; left: 8px; right: 8px; bottom: 8px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.3); overflow: hidden; }
.nx-ep-bar b { display: block; height: 100%; background: var(--accent); }
.nx-ep-tx { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.nx-ep-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.nx-ep-top b { font-size: 16.5px; font-weight: 700; }
.nx-ep-top em { flex: none; font-style: normal; font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, 0.8); }
.nx-ep-tx small { font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, 0.65); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nx-more-like { margin-top: 10px; }

@media (max-width: 760px) {
  .nx-hero { min-height: 78vh; }
  .nx-hero::before { background: linear-gradient(0deg, var(--bg) 4%, rgba(0, 0, 0, 0.85) 40%, rgba(0, 0, 0, 0.3) 75%, rgba(0, 0, 0, 0.6) 100%); }
  .nx-inner { padding-top: 110px; }
  .nx-play, .nx-more { height: 48px; font-size: 16px; padding: 0 22px 0 18px; }
  .nx-actions { width: 100%; }
  .nx-play { flex: 1; justify-content: center; }
  .nx-ep { grid-template-columns: 130px 1fr; gap: 14px; padding: 16px 6px; }
  .nx-ep-n { display: none; }
  .nx-ep-tx small { -webkit-line-clamp: 2; }
  .nx-ep-top { flex-direction: column; gap: 2px; }
  .nx-ep-top em { font-size: 13px; }
}

/* ---------- netflix top-right ---------- */
.topbar { gap: 22px; }
.search-box {
  width: 40px; height: 38px; padding: 0 8px; gap: 10px; border-radius: 0;
  background: transparent; border: 1px solid transparent; box-shadow: none; backdrop-filter: none;
  transition: width 0.3s var(--ease), background 0.2s, border-color 0.2s;
}
.search-box:hover { border-color: transparent; }
.search-box svg { width: 24px; height: 24px; color: #fff; cursor: pointer; }
.search-box input { font-size: 14px; opacity: 0; transition: opacity 0.2s; }
.search-box.open, .search-box:focus-within {
  width: 280px; background: rgba(0, 0, 0, 0.78); border-color: #fff; box-shadow: none;
}
.search-box.open input, .search-box:focus-within input { opacity: 1; }
.search-box:focus-within svg { color: #fff; }
.search-box kbd { display: none; }

.bell { position: relative; }
.bell-btn { position: relative; width: 40px; height: 40px; display: grid; place-items: center; color: #fff; }
.bell-btn svg { width: 25px; height: 25px; transition: transform 0.2s var(--ease); }
.bell-btn:hover svg { transform: rotate(-12deg); }
.bell-n {
  position: absolute; top: 2px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #fff;
  background: #e50914; box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.9);
}
.bell-n[hidden] { display: none; }
.bell-menu {
  position: absolute; right: -10px; top: calc(100% + 14px); width: 380px; max-height: min(480px, 70vh); overflow-y: auto;
  background: rgba(0, 0, 0, 0.92); border-top: 2px solid #fff; scrollbar-width: thin;
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.95);
  opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity 0.18s, transform 0.18s var(--ease);
}
.bell-menu::before { content: ""; position: absolute; top: -9px; right: 22px; border: 7px solid transparent; border-bottom-color: #fff; border-top: 0; }
.bell.open .bell-menu { opacity: 1; transform: none; pointer-events: auto; }
.bell-h { padding: 14px 16px 6px; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.bell-item { display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: center; padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); transition: background 0.15s; }
.bell-item:last-child { border-bottom: 0; }
.bell-item:hover { background: rgba(255, 255, 255, 0.07); }
.bell-th { position: relative; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; background: #222; }
.bell-th img { width: 100%; height: 100%; object-fit: cover; }
.bell-th i { position: absolute; left: 0; bottom: 0; height: 3px; background: #e50914; }
.bell-th::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, 0.25); z-index: -0; }
.bell-th i { z-index: 1; }
.bell-tx { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.bell-tx b { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bell-tx small { font-size: 13px; color: rgba(255, 255, 255, 0.75); }
.bell-tx em { font-style: normal; font-size: 12px; color: rgba(255, 255, 255, 0.45); }
.bell-empty { display: grid; justify-items: center; gap: 6px; padding: 30px 20px; text-align: center; }
.bell-empty svg { width: 34px; height: 34px; color: rgba(255, 255, 255, 0.35); margin-bottom: 4px; }
.bell-empty b { font-size: 15px; }
.bell-empty small { font-size: 13px; color: rgba(255, 255, 255, 0.55); }

.acct-btn { height: 40px; padding: 0; gap: 10px; border: 0; border-radius: 0; background: transparent; backdrop-filter: none; }
.acct-btn:hover, .acct.open .acct-btn { background: transparent; border: 0; }
.acct-av {
  width: 34px; height: 34px; border-radius: 5px; overflow: hidden; box-shadow: none;
  background: linear-gradient(145deg, #12305c, #081426);
}
.acct-av img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.acct-av.lg { width: 40px; height: 40px; border-radius: 6px; }
.acct-caret { width: 0; height: 0; border: 5px solid transparent; border-top: 6px solid #fff; border-bottom: 0; transition: transform 0.25s var(--ease); }
.acct.open .acct-caret { transform: rotate(180deg); }
.acct-menu { top: calc(100% + 14px); border-radius: 0; border: 0; border-top: 2px solid #fff; background: rgba(0, 0, 0, 0.92); }
.acct-menu::before { content: ""; position: absolute; top: -9px; right: 22px; border: 7px solid transparent; border-bottom-color: #fff; border-top: 0; }
.acct-head { border-bottom-color: rgba(255, 255, 255, 0.12); }

@media (max-width: 860px) {
  .topbar { gap: 10px; }
  .search-box.open, .search-box:focus-within { width: min(220px, 48vw); }
  .bell-menu { position: fixed; left: 12px; right: 12px; width: auto; top: 64px; }
  .bell-menu::before { display: none; }
  .acct-btn > .acct-caret { display: none; }
}
@media (max-width: 420px) {
  .search-box.open ~ .bell, .search-box:focus-within ~ .bell { display: none; }
}

/* ---------- discord login ---------- */
.acct-av.photo img { object-fit: cover; padding: 0; }
.nl { position: relative; min-height: 100vh; overflow: hidden; background: #000; display: flex; flex-direction: column; }
.nl-wall {
  position: absolute; inset: -8% -10%; display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px;
  transform: rotate(-8deg) scale(1.08); opacity: 0.55; animation: nl-drift 60s linear infinite alternate;
}
.nl-wall img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 6px; background: #111; }
.nl-shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.85) 70%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, transparent 25%, transparent 70%, rgba(0, 0, 0, 0.95) 100%);
}
.nl-top { position: relative; z-index: 2; padding: 26px clamp(20px, 4vw, 56px); }
.nl-top .brand-logo { width: 40px; height: 40px; }
.nl-top .brand-word { font-size: 26px; }
.nl-card {
  position: relative; z-index: 2; width: min(450px, calc(100% - 32px)); margin: clamp(20px, 8vh, 90px) auto 60px;
  padding: 52px clamp(28px, 6vw, 64px) 46px; border-radius: 6px; background: rgba(0, 0, 0, 0.74);
  animation: nw-rise 0.5s var(--ease) both;
}
.nl-card h1 { margin: 0 0 26px; font: 800 32px/1.1 "Montserrat", sans-serif; letter-spacing: -0.02em; color: #fff; }
.nl-err {
  display: flex; align-items: flex-start; gap: 10px; margin-bottom: 20px; padding: 12px 14px; border-radius: 4px;
  background: #e87c03; color: #fff; font-size: 14px; font-weight: 600; line-height: 1.4;
}
.nl-err svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.nl-discord {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; height: 54px;
  border-radius: 4px; background: #5865f2; color: #fff; font: 700 17px "Montserrat", sans-serif;
  transition: background 0.15s, transform 0.12s;
}
.nl-discord svg { width: 26px; height: 26px; }
.nl-discord:hover { background: #4752c4; }
.nl-discord:active { transform: scale(0.98); }
.nl-discord::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-100%);
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
}
.nl-discord:hover::after { transform: translateX(100%); transition: transform 0.7s var(--ease); }
.nl-discord.busy { pointer-events: none; opacity: 0.85; }
.nl-discord.busy::after { animation: nw-sweep 1s linear infinite; }
.nl-note { margin: 18px 0 0; font-size: 13.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.6); }
.nl-feats { display: grid; gap: 12px; margin-top: 30px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.nl-feats span { display: flex; align-items: center; gap: 12px; font-size: 14.5px; font-weight: 600; color: rgba(255, 255, 255, 0.85); }
.nl-feats svg { width: 18px; height: 18px; flex: none; color: var(--accent-2); }
@keyframes nl-drift { from { transform: rotate(-8deg) scale(1.08) translateY(0); } to { transform: rotate(-8deg) scale(1.08) translateY(-6%); } }
@media (max-width: 640px) {
  .nl-wall { grid-template-columns: repeat(4, 1fr); }
  .nl-card { background: rgba(0, 0, 0, 0.82); }
}
@media (prefers-reduced-motion: reduce) { .nl-wall { animation: none; } }

/* ---------- discord login v2 ---------- */
.nl-wall { inset: -12% -6%; grid-template-columns: repeat(7, 1fr); gap: 14px; transform: rotate(-4deg) scale(1.12); opacity: 0.62; animation-name: nl-drift2; }
@keyframes nl-drift2 { from { transform: rotate(-4deg) scale(1.12) translateY(0); } to { transform: rotate(-4deg) scale(1.12) translateY(-5%); } }
.nl-shade {
  background:
    rgba(0, 0, 0, 0.45),
    linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.35) 22%, rgba(0, 0, 0, 0.35) 70%, rgba(0, 0, 0, 0.95) 100%);
  background-color: rgba(0, 0, 0, 0.45);
}
.nl-top { padding: 24px clamp(20px, 5vw, 64px); }
.nl-top .brand-logo { width: 44px; height: 44px; }
.nl-top .brand-word { font-size: 30px; }
.nl { justify-content: flex-start; }
.nl-card {
  margin: clamp(10px, 5vh, 60px) auto 40px; width: min(450px, calc(100% - 32px)); min-height: 0;
  padding: 56px clamp(28px, 6.5vw, 68px) 52px; border-radius: 4px; background: rgba(0, 0, 0, 0.8);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9);
}
.nl-card h1 { margin-bottom: 10px; }
.nl-sub { margin: 0 0 28px; font-size: 15.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.72); }
.nl-discord { height: 52px; font-size: 16.5px; }
.nl-or { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 14px; color: rgba(255, 255, 255, 0.7); }
.nl-or::before {
  content: ""; width: 16px; height: 16px; flex: none; border-radius: 3px; background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.nl-fine { margin: 36px 0 0; font-size: 13px; line-height: 1.55; color: rgba(255, 255, 255, 0.5); }
.nl-foot {
  position: relative; z-index: 2; margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px 28px;
  padding: 28px clamp(20px, 5vw, 64px) 34px; background: rgba(0, 0, 0, 0.75); border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px; color: rgba(255, 255, 255, 0.5);
}
.nl-foot span:first-child { color: rgba(255, 255, 255, 0.75); font-weight: 600; }
@media (max-width: 640px) {
  .nl-wall { grid-template-columns: repeat(4, 1fr); }
  .nl-card { background: rgba(0, 0, 0, 0.86); padding-top: 40px; }
  .nl-top .brand-word { font-size: 24px; }
}

/* ---------- landing login ---------- */
.nh { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; background: #000; display: flex; flex-direction: column; }
.nh-wall {
  position: absolute; inset: -14% -8% -6%; display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px;
  transform: rotate(-6deg) scale(1.15); animation: nh-drift 70s linear infinite alternate;
}
.nh-wall img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 6px; background: #141414; }
.nh-shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 48%, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.72) 60%, rgba(0, 0, 0, 0.9) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.1) 22%, rgba(0, 0, 0, 0.1) 68%, rgba(0, 0, 0, 0.92) 100%);
}
.nh-top { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; padding: 24px clamp(20px, 6vw, 148px); }
.nh-top .brand-logo { width: 44px; height: 44px; }
.nh-top .brand-word { font-size: 30px; }
.nh-signin {
  display: inline-flex; align-items: center; height: 36px; padding: 0 18px; border-radius: 4px;
  background: #5865f2; color: #fff; font-size: 15px; font-weight: 700; transition: background 0.15s;
}
.nh-signin:hover { background: #4752c4; }
.nh-hero {
  position: relative; z-index: 3; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 20px 24px 140px; max-width: 980px; margin: 0 auto;
}
.nh-hero > * { animation: nw-rise 0.6s var(--ease) both; }
.nh-hero > :nth-child(2) { animation-delay: 0.08s; } .nh-hero > :nth-child(3) { animation-delay: 0.16s; }
.nh-hero > :nth-child(4) { animation-delay: 0.24s; } .nh-hero > :nth-child(5) { animation-delay: 0.32s; }
.nh-hero h1 {
  margin: 0 0 18px; max-width: 16ch; font: 900 clamp(34px, 5.2vw, 64px)/1.08 "Montserrat", sans-serif; letter-spacing: -0.035em; color: #fff;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
}
.nh-lead { margin: 0 0 30px; font-size: clamp(17px, 1.7vw, 22px); font-weight: 600; color: #fff; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.8); }
.nh-ask { margin: 0 0 18px; font-size: clamp(15px, 1.2vw, 18px); font-weight: 500; color: rgba(255, 255, 255, 0.9); }
.nh-err {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 12px 16px; border-radius: 4px;
  background: #e87c03; color: #fff; font-size: 14.5px; font-weight: 600; text-align: left;
}
.nh-err svg { width: 18px; height: 18px; flex: none; }
.nh-cta {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 14px; height: 64px; padding: 0 30px 0 26px;
  border-radius: 6px; background: #5865f2; color: #fff; font: 800 clamp(18px, 1.7vw, 22px) "Montserrat", sans-serif; letter-spacing: -0.01em;
  box-shadow: 0 18px 50px -14px rgba(88, 101, 242, 0.75);
  transition: background 0.15s, transform 0.15s var(--ease), box-shadow 0.2s;
}
.nh-cta > svg:first-child { width: 30px; height: 30px; }
.nh-cta > svg:last-child { width: 22px; height: 22px; transition: transform 0.2s var(--ease); }
.nh-cta:hover { background: #4f5bea; transform: translateY(-2px); box-shadow: 0 24px 60px -14px rgba(88, 101, 242, 0.9); }
.nh-cta:hover > svg:last-child { transform: translateX(5px); }
.nh-cta::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-100%);
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
}
.nh-cta:hover::after { transform: translateX(100%); transition: transform 0.8s var(--ease); }
.nh-cta.busy, .nh-signin.busy { pointer-events: none; opacity: 0.85; }
.nh-cta.busy::after { animation: nw-sweep 1s linear infinite; }
.nh-curve {
  position: absolute; z-index: 2; left: -10%; right: -10%; bottom: -140px; height: 220px; border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: #000;
  border-top: 4px solid transparent;
  background-image: linear-gradient(#000, #000), linear-gradient(90deg, rgba(30, 144, 255, 0.15), #1e90ff 30%, #5eb3ff 50%, #1e90ff 70%, rgba(30, 144, 255, 0.15));
  background-origin: border-box; background-clip: padding-box, border-box;
  box-shadow: 0 -18px 60px -10px rgba(30, 144, 255, 0.55);
}
@keyframes nh-drift { from { transform: rotate(-6deg) scale(1.15) translateY(0); } to { transform: rotate(-6deg) scale(1.15) translateY(-6%); } }
@media (max-width: 700px) {
  .nh-wall { grid-template-columns: repeat(4, 1fr); }
  .nh-top .brand-word { font-size: 22px; }
  .nh-top .brand-logo { width: 34px; height: 34px; }
  .nh-cta { height: 56px; padding: 0 22px; }
  .nh-hero { padding-bottom: 110px; }
  .nh-curve { bottom: -170px; }
}
@media (prefers-reduced-motion: reduce) { .nh-wall { animation: none; } }

/* ---------- wordmark ---------- */
.brand-word { text-transform: uppercase; font-size: 17px; font-weight: 800; letter-spacing: 0.12em; background: linear-gradient(100deg, #ffffff 0%, #e6f2ff 55%, var(--accent-2) 100%); -webkit-background-clip: text; background-clip: text; }
.brand { gap: 10px; }
.brand-logo { width: 30px; height: 30px; }
.nh-top .brand-logo { width: 36px; height: 36px; }
.nh-top .brand-word { font-size: 21px; letter-spacing: 0.14em; }
@media (max-width: 560px) { .brand-word { font-size: 15px; letter-spacing: 0.1em; } .nh-top .brand-word { font-size: 17px; } }

/* ---------- billboard ---------- */
.bb { position: relative; height: min(56.25vw, 100vh); min-height: 560px; max-height: 960px; overflow: hidden; background: #000; }
.bb-slides { position: absolute; inset: 0; }
.bb-slide {
  position: absolute; inset: 0; background: center 20% / cover no-repeat; opacity: 0;
  transition: opacity 1.2s var(--ease);
}
.bb-slide.on { opacity: 1; animation: bb-zoom 18s ease-out both; }
@keyframes bb-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.bb-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(77deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.35) 38%, rgba(0, 0, 0, 0) 70%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 16%, rgba(0, 0, 0, 0) 58%, rgba(0, 0, 0, 0.6) 80%, #000 100%);
}
.bb-inner { position: absolute; inset: 0; display: flex; align-items: center; padding: 0 var(--gutter); max-width: var(--maxw); margin: 0 auto; }
.bb-copy { width: min(40%, 620px); margin-top: -2vw; }
.bb-copy.swap > * { animation: nw-rise 0.7s var(--ease) both; }
.bb-copy.swap > :nth-child(2) { animation-delay: 0.06s; } .bb-copy.swap > :nth-child(3) { animation-delay: 0.12s; } .bb-copy.swap > :nth-child(4) { animation-delay: 0.18s; }
.bb-kicker { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 14px; font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85); }
.bb-kicker b { font-size: 26px; font-weight: 900; letter-spacing: 0; color: var(--accent); text-shadow: 0 0 14px rgba(30, 144, 255, 0.8); }
.bb-title {
  margin: 0 0 18px; font: 900 clamp(38px, 5.4vw, 92px)/0.95 "Montserrat", sans-serif; letter-spacing: -0.045em; color: #fff;
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.55); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.bb-syn {
  margin: 0 0 26px; font-size: clamp(14px, 1.25vw, 20px); line-height: 1.45; font-weight: 500; color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.45); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.bb-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.bb-actions .nx-play, .bb-actions .nx-more { height: clamp(44px, 3.4vw, 58px); font-size: clamp(15px, 1.25vw, 20px); padding: 0 clamp(20px, 2.2vw, 34px) 0 clamp(16px, 1.8vw, 26px); }
.bb-badge {
  position: absolute; right: 0; bottom: 34%; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 64px 0 14px;
  border-left: 3px solid #dcdcdc; background: rgba(51, 51, 51, 0.6); font-size: 17px; font-weight: 700; color: #fff;
}
.bb-badge:empty { display: none; }
.bb-badge svg { width: 16px; height: 16px; color: #46d369; }
.bb + .rows { margin-top: clamp(-200px, -9vw, -60px); }
@media (max-width: 760px) {
  .bb { height: 78vh; min-height: 480px; }
  .bb-slide { background-position: center top; }
  .bb-shade { background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0.35) 55%, #000 100%); }
  .bb-inner { align-items: flex-end; padding-bottom: 70px; justify-content: center; text-align: center; }
  .bb-copy { width: 100%; margin: 0; display: grid; justify-items: center; }
  .bb-syn { display: none; }
  .bb-actions { justify-content: center; width: 100%; }
  .bb-actions .nx-play, .bb-actions .nx-more { flex: 1; justify-content: center; max-width: 180px; }
  .bb-badge { display: none; }
  .bb + .rows { margin-top: -30px; }
}
@media (prefers-reduced-motion: reduce) { .bb-slide.on { animation: none; } }

/* ---------- motion ---------- */
.topbar.scrolled { background: rgba(0, 0, 0, var(--bar, 1)); backdrop-filter: none; border-bottom-color: transparent; }
.topbar { transition: background 0.4s var(--ease); }

.content.pg-in { animation: pg-in 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes pg-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.rv { opacity: 0; transform: translateY(26px); transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.rv.in { opacity: 1; transform: none; }
.rv .card { opacity: 0; transform: translateX(18px); transition: opacity 0.55s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1); }
.rv.in .card { opacity: 1; transform: none; }
.rv.in .card:nth-child(2) { transition-delay: 0.04s; } .rv.in .card:nth-child(3) { transition-delay: 0.08s; }
.rv.in .card:nth-child(4) { transition-delay: 0.12s; } .rv.in .card:nth-child(5) { transition-delay: 0.16s; }
.rv.in .card:nth-child(6) { transition-delay: 0.2s; } .rv.in .card:nth-child(7) { transition-delay: 0.24s; }
.rv.in .card:nth-child(n+8) { transition-delay: 0.28s; }

.bb-title, .bb-syn, .bb-kicker { transition: transform 1.1s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), max-height 1.1s cubic-bezier(0.2, 0.8, 0.2, 1), margin 1.1s cubic-bezier(0.2, 0.8, 0.2, 1); transform-origin: left bottom; }
.bb-syn { max-height: 7em; }
.bb-copy.calm .bb-title { transform: scale(0.72); margin-bottom: 6px; }
.bb-copy.calm .bb-syn { opacity: 0; max-height: 0; margin-bottom: 18px; }
.bb-copy.calm .bb-kicker { opacity: 0.85; }
.bb-copy { transition: transform 1.1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.bb-copy.calm { transform: translateY(4vw); }

.intro { position: fixed; inset: 0; z-index: 500; background: #000; display: grid; place-items: center; overflow: hidden; }
.intro.out { animation: intro-out 0.6s cubic-bezier(0.6, 0, 0.4, 1) forwards; }
.intro-logo { position: relative; z-index: 2; width: 132px; height: 132px; filter: drop-shadow(0 0 30px rgba(30, 144, 255, 0.9)); animation: intro-logo 2.1s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.intro-word { position: absolute; z-index: 2; top: calc(50% + 92px); font: 800 18px "Montserrat", sans-serif; letter-spacing: 0.5em; padding-left: 0.5em; color: #fff; opacity: 0; animation: intro-word 2.1s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.intro-beams { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.intro-beams i {
  position: absolute; left: -2px; top: -60vh; width: 4px; height: 120vh; border-radius: 4px; opacity: 0;
  background: linear-gradient(180deg, transparent, rgba(94, 179, 255, 0.9) 45%, #fff 50%, rgba(30, 144, 255, 0.9) 55%, transparent);
  transform: rotate(calc(var(--i) * 13deg - 85deg)) scaleY(0.2);
  animation: intro-beam 1.6s cubic-bezier(0.2, 0.8, 0.2, 1) calc(0.55s + var(--i) * 0.025s) both;
  filter: blur(1px);
}
@keyframes intro-logo {
  0% { transform: scale(3.2); opacity: 0; filter: blur(14px) drop-shadow(0 0 30px rgba(30, 144, 255, 0.9)); }
  28% { transform: scale(1); opacity: 1; filter: blur(0) drop-shadow(0 0 30px rgba(30, 144, 255, 0.9)); }
  40% { transform: scale(1.06); filter: blur(0) drop-shadow(0 0 60px rgba(94, 179, 255, 1)); }
  55%, 82% { transform: scale(1); filter: blur(0) drop-shadow(0 0 30px rgba(30, 144, 255, 0.9)); }
  100% { transform: scale(1.5); opacity: 0.9; filter: blur(0) drop-shadow(0 0 50px rgba(30, 144, 255, 1)); }
}
@keyframes intro-word { 0%, 35% { opacity: 0; letter-spacing: 1.2em; } 60%, 85% { opacity: 1; letter-spacing: 0.5em; } 100% { opacity: 0; letter-spacing: 0.7em; } }
@keyframes intro-beam { 0% { opacity: 0; transform: rotate(calc(var(--i) * 13deg - 85deg)) scaleY(0.05); } 30% { opacity: 0.9; } 100% { opacity: 0; transform: rotate(calc(var(--i) * 13deg - 85deg)) scaleY(1.2); } }
@keyframes intro-out { to { opacity: 0; transform: scale(1.08); } }

.acct-menu { width: 250px; padding: 6px 0 0; }
.acct-head { padding: 12px 16px 14px; margin: 0; }
.acct-menu [role="menuitem"] {
  width: 100%; display: flex; align-items: center; gap: 12px; padding: 9px 16px; border-radius: 0; background: none !important;
  font-size: 14px; font-weight: 500; color: #fff; text-align: left;
}
.acct-menu [role="menuitem"] svg { width: 20px; height: 20px; color: #b3b3b3; transform: none !important; }
.acct-menu [role="menuitem"]:hover span { text-decoration: underline; text-underline-offset: 3px; }
.acct-menu [role="menuitem"]:hover svg { color: #fff; }
.acct-menu .acct-out {
  justify-content: center; margin-top: 8px; padding: 14px 16px !important; border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13.5px; color: #fff;
}
.acct-menu .acct-out:hover { text-decoration: underline; text-underline-offset: 3px; color: #fff !important; }

.pv { will-change: transform, opacity; backface-visibility: hidden; }
.pv-panel > * { animation: pv-in 0.32s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.pv-panel > :nth-child(2) { animation-delay: 0.04s; } .pv-panel > :nth-child(3) { animation-delay: 0.08s; } .pv-panel > :nth-child(4) { animation-delay: 0.12s; }
@keyframes pv-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .rv, .rv .card { opacity: 1 !important; transform: none !important; }
  .intro { display: none; }
}

/* ---------- title modal ---------- */
body.tm-open { overflow: hidden; }
.tm {
  position: fixed; inset: 0; z-index: 150; overflow-y: auto; overscroll-behavior: contain;
  background: rgba(0, 0, 0, 0.7); padding: 32px 16px 60px;
  animation: tm-fade 0.3s ease both;
}
.tm.out { animation: tm-fade-out 0.25s ease both; }
.tm-box {
  position: relative; width: min(980px, 100%); margin: 0 auto; border-radius: 8px; overflow: hidden;
  background: #181818; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.75);
  animation: tm-in 0.42s cubic-bezier(0.2, 0.85, 0.25, 1) both;
}
.tm.out .tm-box { animation: tm-box-out 0.25s cubic-bezier(0.4, 0, 0.6, 1) both; }
@keyframes tm-fade { from { background: rgba(0, 0, 0, 0); } }
@keyframes tm-fade-out { to { background: rgba(0, 0, 0, 0); } }
@keyframes tm-in { from { opacity: 0; transform: translateY(40px) scale(0.94); } to { opacity: 1; transform: none; } }
@keyframes tm-box-out { to { opacity: 0; transform: translateY(24px) scale(0.96); } }
.tm-x {
  position: absolute; top: 16px; right: 16px; z-index: 5; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: #181818; transition: background 0.15s, transform 0.15s;
}
.tm-x svg { width: 22px; height: 22px; }
.tm-x:hover { background: #2f2f2f; transform: scale(1.06); }
.tm-hero { position: relative; aspect-ratio: 16 / 9; max-height: 560px; width: 100%; background: #111 center 20% / cover no-repeat; }
.tm-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #181818 0%, rgba(24, 24, 24, 0.55) 22%, transparent 55%), linear-gradient(90deg, rgba(0, 0, 0, 0.45), transparent 60%); }
.tm-hero.tm-sk { background: none; }
.tm-hero.tm-sk .skeleton { position: absolute; inset: 0; border-radius: 0; }
.tm-hero-in { position: absolute; z-index: 2; left: clamp(20px, 5vw, 48px); right: clamp(20px, 5vw, 48px); bottom: clamp(20px, 5%, 48px); }
.tm-kicker { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85); }
.tm-kicker b { font-size: 22px; font-weight: 900; letter-spacing: 0; color: var(--accent); text-shadow: 0 0 12px rgba(30, 144, 255, 0.8); }
.tm-title { margin: 0 0 18px; max-width: 16ch; font: 900 clamp(30px, 4.6vw, 58px)/0.98 "Montserrat", sans-serif; letter-spacing: -0.04em; color: #fff; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6); }
.tm-prog { display: flex; align-items: center; gap: 12px; max-width: 420px; margin-bottom: 16px; font-size: 15px; font-weight: 600; color: #fff; }
.tm-bar { flex: 1; height: 3px; background: rgba(255, 255, 255, 0.35); border-radius: 2px; overflow: hidden; }
.tm-bar i { display: block; height: 100%; background: var(--accent); }
.tm-actions { display: flex; align-items: center; gap: 10px; }
.tm-actions .nx-play { height: 48px; font-size: 18px; padding: 0 28px 0 22px; }
.tm-round {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5); background: rgba(42, 42, 42, 0.6); transition: border-color 0.15s, background 0.15s;
}
.tm-round svg { width: 20px; height: 20px; }
.tm-round:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }
.tm-info { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px; padding: 6px clamp(20px, 5vw, 48px) 28px; }
.tm-info > .skeleton { grid-column: 1 / -1; border-radius: 4px; }
.tm-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 14px; font-size: 16px; font-weight: 600; color: #bcbcbc; }
.tm-ep { margin: 6px 0 10px; font-size: 18px; font-weight: 800; color: #fff; }
.tm-syn { margin: 0; font-size: 15.5px; line-height: 1.6; color: #fff; }
.tm-right { display: grid; align-content: start; gap: 12px; font-size: 14px; line-height: 1.5; color: #ddd; }
.tm-right span { color: #777; }
.tm-right em { font-style: italic; color: #fff; }
.tm .nx-eps { padding: 0 clamp(20px, 5vw, 48px) 36px; max-width: none; }
.tm .nx-eps-head { margin-top: 10px; }
.tm .nx-ep { grid-template-columns: 40px 150px 1fr; padding: 18px 16px 18px 6px; }
.tm .nx-ep-n { font-size: 22px; }
.tm .nx-more-like { margin: 0 0 30px; }
.nx-ep.cur { background: #333; border-radius: 6px; }
.nx-ep-season { margin: 22px 0 6px; font-size: 15px; font-weight: 800; letter-spacing: 0.04em; color: #bcbcbc; }

.sdd { position: relative; }
.sdd-btn {
  display: flex; align-items: center; gap: 28px; height: 46px; padding: 0 18px 0 20px; border-radius: 4px;
  background: #242424; border: 1px solid #4d4d4d; color: #fff; font: 700 17px "Montserrat", sans-serif; transition: border-color 0.15s, background 0.15s;
}
.sdd-btn:hover, .sdd.open .sdd-btn { border-color: #a3a3a3; background: #2a2a2a; }
.sdd-btn i { width: 0; height: 0; border: 6px solid transparent; border-top: 7px solid #fff; border-bottom: 0; transition: transform 0.2s var(--ease); }
.sdd.open .sdd-btn i { transform: rotate(180deg); }
.sdd-menu {
  position: absolute; right: 0; top: calc(100% + 4px); z-index: 20; min-width: 260px; max-height: 360px; overflow-y: auto; padding: 12px 0;
  background: #242424; border: 1px solid #4d4d4d; border-radius: 2px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
  opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity 0.15s, transform 0.15s var(--ease);
}
.sdd.open .sdd-menu { opacity: 1; transform: none; pointer-events: auto; }
.sdd-menu button { width: 100%; display: flex; align-items: baseline; gap: 8px; padding: 10px 20px; text-align: left; color: #fff; transition: background 0.12s; }
.sdd-menu button b { font-size: 17px; font-weight: 700; }
.sdd-menu button small { font-size: 14px; color: #bcbcbc; }
.sdd-menu button:hover { background: #3a3a3a; }
.sdd-menu button.on b { color: var(--accent-2); }
.sdd-menu hr { margin: 10px 20px; border: 0; border-top: 1px solid #4d4d4d; }

@media (max-width: 760px) {
  .tm { padding: 0; }
  .tm-box { border-radius: 0; min-height: 100%; }
  .tm-info { grid-template-columns: 1fr; gap: 16px; }
  .tm .nx-ep { grid-template-columns: 120px 1fr; }
  .sdd-btn { height: 40px; font-size: 15px; gap: 16px; }
  .sdd-menu { min-width: 220px; }
}

/* ---------- netflix scale ---------- */
body { font-size: 15px; }
.topbar { padding-top: 10px; padding-bottom: 10px; gap: 18px; }
.nav { gap: 18px; }
.nav a { font-size: 13.5px; font-weight: 500; }
.brand-word { font-size: 15px; letter-spacing: 0.12em; }
.brand-logo { width: 26px; height: 26px; }
.search-box svg { width: 21px; height: 21px; }
.bell-btn svg { width: 22px; height: 22px; }
.acct-av { width: 30px; height: 30px; border-radius: 4px; }
.acct-menu, .bell-menu { font-size: 13px; }

.nx-hero { min-height: min(84vh, 820px); }
.nx-inner { padding-top: 110px; }
.nx-inner > * { max-width: 600px; }
.nx-title { font-size: clamp(30px, 4.2vw, 60px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 12px; }
.nx-meta { font-size: 14px; gap: 6px 12px; margin-bottom: 12px; }
.nx-box { font-size: 11px; padding: 0 6px; }
.nx-overview { font-size: clamp(14px, 1.05vw, 16px); line-height: 1.55; margin-bottom: 20px; }
.nx-play, .nx-more { height: 42px; padding: 0 24px 0 18px; gap: 10px; font-size: 16px; font-weight: 700; }
.nx-play svg, .nx-more svg { width: 22px; height: 22px; }
.nx-actions { margin-bottom: 18px; gap: 10px; }
.nx-facts { font-size: 13px; gap: 4px; }

.nx-eps-head { padding-bottom: 14px; margin-top: 12px; }
.nx-eps-head h2 { font-size: 21px !important; font-weight: 700 !important; }
.sdd-btn { height: 38px; gap: 20px; padding: 0 14px 0 16px; font-size: 15px; }
.sdd-menu button b { font-size: 15px; }
.sdd-menu button small { font-size: 12.5px; }
.sdd-menu button { padding: 8px 18px; }
.nx-select select { height: 38px; font-size: 15px; }
.nx-ep { grid-template-columns: 44px 168px 1fr; gap: 16px; padding: 16px 20px 16px 6px; }
.nx-ep-n { font-size: 21px; font-weight: 500; }
.nx-ep-top b { font-size: 14.5px; }
.nx-ep-top em { font-size: 13.5px; }
.nx-ep-tx small { font-size: 13px; line-height: 1.5; }
.nx-ep-th i svg { width: 36px; height: 36px; padding: 8px; }

.bb-title { font-size: clamp(32px, 4.4vw, 74px); font-weight: 800; letter-spacing: -0.035em; margin-bottom: 14px; }
.bb-syn { font-size: clamp(13.5px, 1.05vw, 17px); margin-bottom: 20px; }
.bb-kicker { font-size: 12px; margin-bottom: 10px; }
.bb-kicker b { font-size: 21px; }
.bb-actions .nx-play, .bb-actions .nx-more { height: clamp(38px, 2.8vw, 48px); font-size: clamp(14px, 1.05vw, 17px); }
.bb-badge { height: 34px; font-size: 15px; padding-right: 52px; }
.row-title, .row-head h2 { font-size: clamp(15px, 1.25vw, 19px) !important; font-weight: 700 !important; }

.tm-box { width: min(880px, 100%); }
.tm-title { font-size: clamp(26px, 3.6vw, 46px); font-weight: 800; margin-bottom: 14px; }
.tm-kicker { font-size: 11.5px; } .tm-kicker b { font-size: 19px; }
.tm-actions .nx-play { height: 40px; font-size: 16px; padding: 0 24px 0 18px; }
.tm-round { width: 38px; height: 38px; }
.tm-meta { font-size: 14px; }
.tm-ep { font-size: 16px; font-weight: 700; }
.tm-syn { font-size: 14px; }
.tm-right { font-size: 13px; gap: 10px; }
.tm .nx-ep { grid-template-columns: 36px 136px 1fr; padding: 14px 14px 14px 4px; }

.nf h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.nf p { font-size: clamp(14px, 1.15vw, 16px); }
.nf-btn { font-size: 15px; padding: 11px 30px; }

.nh-hero h1 { font-size: clamp(30px, 4.2vw, 52px); font-weight: 800; }
.nh-lead { font-size: clamp(15px, 1.4vw, 19px); }
.nh-ask { font-size: clamp(14px, 1.05vw, 16px); }
.nh-cta { height: 54px; font-size: clamp(16px, 1.4vw, 19px); }
.nh-cta > svg:first-child { width: 26px; height: 26px; }

.nwp-btn svg { width: 26px; height: 26px; }
.nwp-btn.wide span { font-size: 15px; }
.nwp-time { font-size: 13.5px; }
.nwp-top-t b { font-size: 16px; }
.nwp-start-title { font-size: 19px; }

@media (max-width: 760px) {
  .nx-ep { grid-template-columns: 120px 1fr; }
  .tm .nx-ep { grid-template-columns: 112px 1fr; }
}

/* ---------- overflow + scrollbars ---------- */
html, body { overflow-x: clip; }
.nx-hero, .bb, .tm-hero { overflow: hidden; }
html { scrollbar-width: thin; scrollbar-color: #3d3d3d #000; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: #3d3d3d; border-radius: 10px; border: 2px solid #000; }
::-webkit-scrollbar-thumb:hover { background: #5a5a5a; }
::-webkit-scrollbar-corner { background: #000; }
.tm { scrollbar-color: #3d3d3d transparent; }
.nx-ep-fb { position: absolute; inset: 0; display: grid; place-items: center; background: #1c1c1c center / cover no-repeat; }
.nx-ep-fb::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(2px); }
.nx-ep-fb b { position: relative; font-size: 20px; font-weight: 800; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.9); }

/* ---------- search ---------- */
.srch-head h2 { margin: 24px 0 16px !important; font-size: clamp(18px, 1.6vw, 24px) !important; font-weight: 700 !important; color: #e5e5e5; }
.srch-n { margin-left: 8px; font-weight: 500; color: #808080; }
.srch-sub { margin: 4px 0 10px; font-size: 15px; font-weight: 600; color: #b3b3b3; }
.srch .srch-body { transition: opacity 0.18s ease; }
.srch.busy .srch-body { opacity: 0.55; }
.srch .sk-tile { aspect-ratio: 16 / 9; width: 100%; border-radius: 4px; }

/* ---------- trailers ---------- */
.tv { position: absolute; inset: 0; overflow: hidden; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; background: #000; }
.tv iframe { position: absolute; left: 50%; top: 50%; width: 100%; height: 100%; border: 0; transform: translate(-50%, -50%) scale(1.36); }
.tv-on > .tv { opacity: 1; }
.tm-hero .tv { z-index: 0; }
.tm-hero::after { z-index: 1; }
.tm-hero-in { z-index: 2; }
.nx-hero .nx-bg { z-index: -3; }
.nx-hero .tv { z-index: -2; }
.nx-hero .tv iframe { height: 56.25vw; min-height: 100%; width: 177.78vh; min-width: 100%; }
.tv-mute {
  position: absolute; z-index: 3; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.7); background: rgba(42, 42, 42, 0.35); opacity: 0; pointer-events: none;
  transition: opacity 0.5s ease, background 0.15s, border-color 0.15s;
}
.tv-mute svg { width: 20px; height: 20px; }
.tv-mute:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.tv-on > .tv-mute { opacity: 1; pointer-events: auto; }
.tm-hero > .tv-mute { right: clamp(20px, 5vw, 48px); bottom: clamp(26px, 6%, 56px); }
.nx-hero > .tv-mute { right: var(--gutter); bottom: 32%; }

/* ---------- modal: netflix weights ---------- */
.tm-title { font-size: clamp(24px, 3vw, 40px); font-weight: 800; letter-spacing: -0.02em; max-width: 18ch; }
.tm-meta { font-weight: 400; color: #bcbcbc; font-size: 15.5px; gap: 6px 10px; }
.tm-meta .nx-score { font-weight: 600; }
.tm-meta .nx-box { color: #bcbcbc; border-color: rgba(255, 255, 255, 0.4); font-weight: 600; }
.tm-ep { font-size: 17px; font-weight: 700; margin: 14px 0 10px; }
.tm-syn { font-size: 15px; line-height: 1.6; color: #fff; }
.tm-right { font-size: 13.5px; }
.tm-right span { color: #777; }
.tm-info { padding-top: 14px; }
.tm .nx-eps-head h2 { font-size: 22px !important; }
.tm .nx-ep-top b { font-size: 15px; }
.tm .nx-ep-tx small { color: #d2d2d2; }
.tm .nx-ep-n { font-size: 22px; color: #d2d2d2; }

.pv-media .tv { z-index: 1; }
.pv-media .pv-shade { z-index: 2; }
.pv-media .pv-title { z-index: 3; }
.pv-media > .tv-mute { right: 12px; bottom: 12px; width: 34px; height: 34px; z-index: 4; }
.pv-media > .tv-mute svg { width: 16px; height: 16px; }

/* ---------- netflix fidelity pass ---------- */
.tv, .tv iframe { pointer-events: none !important; user-select: none; }
.tv { transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1); }
.kick-logo { width: 20px; height: 20px; flex: none; filter: drop-shadow(0 0 8px rgba(30, 144, 255, 0.7)); }
.tm-kicker, .bb-kicker { gap: 6px; }
.bb-kicker .kick-logo { width: 26px; height: 26px; }

.tm-box { width: min(850px, 100%); }
.tm-hero { max-height: 480px; }
.tm-title { font-size: clamp(22px, 2.6vw, 34px); margin-bottom: 12px; }
.tm-kicker { font-size: 11px; margin-bottom: 8px; }
.tm-actions .nx-play { height: 38px; font-size: 15px; padding: 0 22px 0 16px; gap: 8px; }
.tm-actions .nx-play svg { width: 20px; height: 20px; }
.tm-round { width: 36px; height: 36px; }
.tm-round svg { width: 18px; height: 18px; }
.tm-prog { font-size: 14px; max-width: 360px; margin-bottom: 14px; }
.tm-hero > .tv-mute { width: 38px; height: 38px; }
.tm-x { width: 36px; height: 36px; top: 14px; right: 14px; }
.tm-x svg { width: 20px; height: 20px; }
.tm-info { gap: 24px; padding-bottom: 22px; }
.tm-meta { font-size: 14.5px; margin-bottom: 10px; }
.tm-ep { font-size: 16px; }
.tm-syn { font-size: 14px; }
.tm-right { font-size: 13px; }

.pv-logo { position: absolute; z-index: 4; top: 10px; right: 10px; width: 22px; height: 22px; filter: drop-shadow(0 0 6px rgba(30, 144, 255, 0.7)); }
.pv-media > .tv-mute { right: 10px; bottom: 10px; width: 32px; height: 32px; }

.pv-media img.pv-logo { position: absolute; inset: auto; top: 10px; right: 10px; left: auto; bottom: auto; width: 22px !important; height: 22px !important; object-fit: contain; opacity: 1 !important; z-index: 4; }

/* ---------- netflix player bar ---------- */
.nwp-top { padding: 18px 20px 70px; background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent); }
.nwp-top .nwp-btn svg { width: 36px; height: 36px; }
.nwp-bottom { padding: 80px 18px 14px; background: linear-gradient(0deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.35) 60%, transparent); }
.nwp-seekrow { gap: 18px; margin-bottom: 8px; padding-left: 2px; }
.nwp-bar { height: 4px; background: rgba(255, 255, 255, 0.35); }
.nwp-seek:hover .nwp-bar, .nwp.is-scrub .nwp-bar { height: 6px; }
.nwp-bar .buf { background: rgba(255, 255, 255, 0.55); }
.nwp-bar .fill { box-shadow: none; }
.nwp-knob { width: 16px; height: 16px; margin: -8px 0 0 -8px; background: var(--accent); box-shadow: 0 0 0 0 transparent; }
.nwp-seek:hover .nwp-knob, .nwp.is-scrub .nwp-knob { transform: scale(1.3); }
.nwp-time { font-size: 15px; font-weight: 500; min-width: 56px; text-align: right; }
.nwp-ctrl { gap: clamp(10px, 2.2vw, 34px); }
.nwp-btn { height: 52px; min-width: 52px; padding: 0 4px; }
.nwp-btn svg { width: 40px; height: 40px; }
.nwp-btn[data-act="toggle"] svg { width: 44px; height: 44px; }
.nwp-btn:hover { transform: scale(1.18); }
.nwp-mid {
  flex: 1; min-width: 0; display: flex; justify-content: center; align-items: baseline; gap: 10px; padding: 0 12px;
  font-size: 17px; white-space: nowrap; overflow: hidden;
}
.nwp-mid b { font-weight: 700; flex: none; }
.nwp-mid span { font-weight: 500; color: rgba(255, 255, 255, 0.92); overflow: hidden; text-overflow: ellipsis; }
.nwp-vol:hover input, .nwp-vol input:focus-visible { width: 110px; }
.nwp-menu { bottom: calc(100% + 16px); }
@media (max-width: 760px) {
  .nwp-btn { height: 44px; min-width: 40px; }
  .nwp-btn svg { width: 30px; height: 30px; }
  .nwp-btn[data-act="toggle"] svg { width: 34px; height: 34px; }
  .nwp-mid { display: none; }
  .nwp-ctrl .nwp-vol + .nwp-mid + * { margin-left: auto; }
  .nwp-ctrl { gap: 6px; }
}

/* ---------- player transitions ---------- */
.nwp { animation: nwp-in 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.nwp.nwp-out { animation: nwp-out 0.3s cubic-bezier(0.4, 0, 1, 1) both; }
@keyframes nwp-in { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }
@keyframes nwp-out { to { opacity: 0; transform: scale(0.985); } }
.nwp video { opacity: 0; transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1); }
.nwp.vid-on video { opacity: 1; }
.nwp-start { transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.9s; }
.nwp:not(.vid-on):not(.is-start) .nwp-wait { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .nwp, .nwp.nwp-out { animation: none; } .nwp video { transition: none; } }

/* ---------- netflix player episodes ---------- */
.nwp-eps {
  top: auto; bottom: 92px; right: 24px; left: auto; width: min(560px, calc(100% - 32px)); max-height: min(68vh, 640px);
  background: #262626; border-radius: 4px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  transform: translateY(12px); opacity: 0; pointer-events: none; transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.nwp-eps.open { transform: none; opacity: 1; pointer-events: auto; }
.nwp-eps-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 18px 16px 14px 22px; border-bottom: 0; }
.nwp-eps-h > b, .nwp-eps-back b { font-size: 22px; font-weight: 700; }
.nwp-eps-back { display: flex; align-items: center; gap: 10px; color: #fff; padding: 2px 6px 2px 0; }
.nwp-eps-back svg { width: 22px; height: 22px; transition: transform 0.15s; }
.nwp-eps-back:hover svg { transform: translateX(-3px); }
.nwp-eps-x { width: 36px; height: 36px; display: grid; place-items: center; color: #fff; border-radius: 50%; }
.nwp-eps-x svg { width: 22px; height: 22px; }
.nwp-eps-x:hover { background: rgba(255, 255, 255, 0.1); }
.nwp-eps-list { padding: 0 0 10px; }
.nwp-eps .nwp-ep {
  display: block; width: 100%; padding: 0; border-radius: 0; background: none; box-shadow: none; text-align: left; cursor: pointer;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.nwp-ep-line { display: flex; align-items: center; gap: 16px; padding: 16px 22px; }
.nwp-ep-line .n { width: 22px; flex: none; font-size: 18px; font-weight: 600; color: #fff; text-align: right; }
.nwp-ep-line .t { flex: 1; min-width: 0; font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nwp-ep-line .bar { flex: none; width: 110px; height: 3px; background: rgba(255, 255, 255, 0.3); }
.nwp-ep-line .bar i { display: block; height: 100%; background: var(--accent); }
.nwp-ep-line .now { flex: none; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: var(--accent-2); }
.nwp-ep-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.28s cubic-bezier(0.2, 0.8, 0.2, 1); }
.nwp-ep.open .nwp-ep-more { grid-template-rows: 1fr; }
.nwp-ep-in { overflow: hidden; display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 0 22px 0 60px; }
.nwp-ep.open .nwp-ep-in { padding-bottom: 18px; }
.nwp-ep.open { background: #3a3a3a; }
.nwp-ep-in .th { position: relative; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; background: #1c1c1c; display: grid; place-items: center; }
.nwp-ep-in .th img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nwp-ep-in .th .ph { font-size: 18px; font-weight: 800; color: rgba(255, 255, 255, 0.35); }
.nwp-ep-in .th i { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, 0.3); }
.nwp-ep-in .th i svg { width: 40px; height: 40px; padding: 9px; border-radius: 50%; border: 2px solid #fff; background: rgba(0, 0, 0, 0.45); }
.nwp-ep-in p { margin: 0; font-size: 14px; line-height: 1.5; color: #d2d2d2; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.nwp-season { width: 100%; display: flex; align-items: baseline; gap: 12px; padding: 16px 22px; color: #fff; text-align: left; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.nwp-season span { font-size: 17px; font-weight: 600; }
.nwp-season small { font-size: 13px; color: #a3a3a3; }
.nwp-season svg { width: 20px; height: 20px; margin-left: auto; align-self: center; color: var(--accent-2); }
.nwp-season:hover, .nwp-season.on { background: #3a3a3a; }

.nwp-btn svg { stroke-width: 1.6; }
.nwp-btn[data-act="toggle"] svg, .nwp-bigplay svg { stroke-width: 0; }
@media (max-width: 700px) {
  .nwp-eps { right: 8px; bottom: 76px; width: calc(100% - 16px); }
  .nwp-ep-in { grid-template-columns: 130px 1fr; padding-left: 22px; }
}

/* ---------- title logos ---------- */
.t-logo { display: block; max-width: 100%; height: auto; object-fit: contain; object-position: left bottom; filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.55)); }
.tm-title.has-logo, .bb-title.has-logo, .nx-title.has-logo, .pv-title.has-logo { line-height: 0; text-shadow: none; }
.tm-title .t-logo { max-height: 120px; max-width: min(420px, 70%); }
.bb-title .t-logo { max-height: clamp(90px, 12vw, 200px); max-width: min(560px, 100%); }
.nx-title .t-logo { max-height: clamp(90px, 12vw, 180px); max-width: min(520px, 100%); }
.pv-title .t-logo { max-height: 56px; max-width: 62%; }
.bb-copy.calm .bb-title.has-logo { transform: scale(0.8); }
.bb-title, .bb-title.has-logo { -webkit-line-clamp: unset; display: block; }

/* ---------- close button ---------- */
.tm-x { width: 36px; height: 36px; top: 16px; right: 16px; background: #181818; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02); }
.tm-x svg { width: 22px; height: 22px; stroke-width: 1.6; }
.tm-x:hover { background: #262626; transform: none; }

/* ---------- nav spacing ---------- */
.nav { gap: clamp(18px, 1.9vw, 30px); margin-left: 12px; }
.nav a { font-size: 14px; color: #e5e5e5; }
.nav a:hover { color: #b3b3b3; }
.nav a.active { color: #fff; font-weight: 700; }
.nav a.active::after { display: none; }

/* ---------- my list ---------- */
.lst-btn { position: relative; display: grid; place-items: center; color: #fff; }
.tm-round.lst-btn svg, .lst-btn svg { width: 20px; height: 20px; }
.pv-btn.lst-btn svg { width: 18px; height: 18px; }
.lst-btn.pop svg { animation: lst-pop 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes lst-pop { 0% { transform: scale(0.6) rotate(-20deg); } 60% { transform: scale(1.15); } 100% { transform: none; } }
[data-tip] { position: relative; }
[data-tip]::after {
  content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 12px); transform: translate(-50%, 4px);
  padding: 7px 12px; border-radius: 4px; background: #e6e6e6; color: #000; font: 700 14px/1.2 "Montserrat", sans-serif; white-space: nowrap;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45); opacity: 0; pointer-events: none; transition: opacity 0.15s, transform 0.15s; z-index: 30;
}
[data-tip]::before {
  content: ""; position: absolute; left: 50%; bottom: calc(100% + 4px); transform: translate(-50%, 4px); border: 7px solid transparent; border-top-color: #e6e6e6;
  border-bottom: 0; opacity: 0; pointer-events: none; transition: opacity 0.15s, transform 0.15s; z-index: 30;
}
[data-tip]:hover::after, [data-tip]:hover::before { opacity: 1; transform: translate(-50%, 0); }
.ml-h { margin: 6px 0 16px !important; font-size: clamp(18px, 1.6vw, 24px) !important; font-weight: 700 !important; color: #e5e5e5; }

/* ---------- tighter page tops ---------- */
.content { padding-top: 72px; }
.srch-head h2 { margin: 8px 0 14px !important; }
.srch-head, .ml-page > .section:first-child { padding-top: 0; }
.section h2[style*="margin-top:20px"] { margin-top: 6px !important; }

.tv iframe { transform: translate(-50%, -50%) scale(1.55); }
.nwp-ep-in .th { background: #1c1c1c center / cover no-repeat; }
.nwp-ep-in .th::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.25); }
.nwp-ep-in .th img { z-index: 0; }
.nwp-ep-in .th i { z-index: 1; background: rgba(0, 0, 0, 0.15); }
.nwp-ep-in p .dim { color: #8c8c8c; }
.nwp-eps-h { padding: 16px 14px 12px 22px; }
.nwp-eps-h > b, .nwp-eps-back b { font-size: 20px; }
.nwp-ep-line { padding: 13px 22px; gap: 14px; }
.nwp-ep-line .n { font-size: 16px; color: #d2d2d2; }
.nwp-ep-line .t { font-size: 15px; }
.nwp-ep-in { grid-template-columns: 180px 1fr; padding-left: 58px; }
.nwp-ep.open { background: #333; }
.nwp-ep.cur .nwp-ep-line .t { color: #fff; }
.nwp-eps .nwp-ep:not(.open):hover { background: #2f2f2f; }

/* ---------- netflix play hand-off ---------- */
.play-fade { position: fixed; inset: 0; z-index: 190; background: #000; opacity: 0; pointer-events: none; transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1); }
.play-fade.on { opacity: 1; }
.tm.leaving .tm-hero > *:not(.tm-hero-in), .tm.leaving .tm-hero .tv { opacity: 0 !important; transition: opacity 0.25s ease; }
.tm.leaving .tm-hero { background-image: none !important; transition: background 0.25s; }
.tm.leaving .tm-box { transition: opacity 0.5s 0.15s ease; opacity: 0.35; }
.nwp { animation: nwp-in 0.45s 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) both; background: #000; }
.nwp.is-loading .nwp-start .nwp-bd, .nwp.is-start:not(.is-ready) .nwp-start .nwp-bd { opacity: 0 !important; animation: none !important; }
.nwp.is-loading .nwp-start .nwp-start-title, .nwp.is-loading .nwp-start .nwp-start-sub { opacity: 0; }
.nwp.is-loading .nwp-start::before, .nwp.is-loading .nwp-start::after { opacity: 0; }
.nwp .nwp-start .nwp-bd { transition: opacity 0.6s ease; }
.nwp .nwp-start-title, .nwp .nwp-start-sub { transition: opacity 0.4s ease; }

/* ---------- catalog pages ---------- */
.cat-page { position: relative; }
.cat-head {
  position: absolute; z-index: 6; top: 68px; left: 0; right: 0; display: flex; align-items: center; gap: 28px;
  padding: 10px var(--gutter); max-width: var(--maxw); margin: 0 auto;
}
.cat-head h1 { display: flex; align-items: baseline; gap: 12px; margin: 0; font: 700 clamp(24px, 2.6vw, 38px)/1.1 "Montserrat", sans-serif; letter-spacing: -0.02em; color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6); }
.cat-head h1 a { color: #b3b3b3; transition: color 0.15s; }
.cat-head h1 a:hover { color: #fff; }
.cat-head h1 i { font-style: normal; color: #808080; }
.cat-dd .sdd-btn { height: 32px; padding: 0 12px 0 14px; gap: 22px; border-radius: 0; background: #000; border: 1px solid rgba(255, 255, 255, 0.9); font-size: 14px; font-weight: 700; }
.cat-dd .sdd-btn:hover, .cat-dd.open .sdd-btn { background: rgba(255, 255, 255, 0.1); border-color: #fff; }
.cat-menu {
  left: 0; right: auto; top: calc(100% + 2px); min-width: 0; width: max-content; max-height: none; padding: 10px 0;
  display: grid; grid-template-columns: repeat(3, minmax(150px, auto)); background: rgba(0, 0, 0, 0.92); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 0;
}
.cat-menu a { display: block; padding: 6px 18px; font-size: 14px; color: #fff; white-space: nowrap; }
.cat-menu a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cat-menu a.on { font-weight: 700; color: var(--accent-2); }
.cat-bb-sk { background: linear-gradient(180deg, #111, #000); }
.cat-genre { padding-top: 70px; }
.cat-genre .cat-head { position: relative; top: 0; padding-top: 18px; padding-bottom: 18px; }
.content .grid { gap: 1.6vw 0.45vw; padding-top: 4px; }
.cat-grid { padding-bottom: 60px; }
.cat-slot { min-height: 0; }
@media (max-width: 760px) {
  .cat-head { top: 60px; gap: 14px; }
  .cat-menu { grid-template-columns: repeat(2, minmax(130px, auto)); }
  .content .grid { gap: 10px 6px; }
}

/* ---------- subtitles ---------- */
.nwp-cc { position: absolute; z-index: 4; left: 8%; right: 8%; bottom: 9%; text-align: center; pointer-events: none; transition: bottom 0.3s ease; }
.nwp:not(.ui-off) .nwp-cc { bottom: 17%; }
.nwp-cc span { display: inline; font: 600 clamp(18px, 2.3vw, 38px)/1.3 "Montserrat", Arial, sans-serif; color: #fff; text-shadow: 0 0 6px rgba(0,0,0,0.9), 0 2px 3px #000, 2px 2px 0 rgba(0,0,0,0.6), -1px -1px 0 rgba(0,0,0,0.5); }
.nwp.is-start .nwp-cc { display: none; }
.nwp-subs-menu { width: 240px; max-height: 50vh; overflow-y: auto; }
.nwp-subs-load { padding: 9px 10px; font-size: 13.5px; color: #8c8c8c; }
.nwp-menu button.busy { opacity: 0.6; }

/* ---------- instant dropdowns ---------- */
.sdd-menu, .acct-menu, .bell-menu, .nwp-menu, .cat-menu { transition: none !important; transform: none !important; }
.sdd-btn i, .acct-caret, .nwp-menu-wrap .nwp-btn svg { transition: none !important; }
.nwp-menu-wrap.open .nwp-btn svg { transform: none; }
.sdd-btn, .sdd-menu, .acct-btn, .cat-dd, .nwp-menu { user-select: none; -webkit-user-select: none; }
.sdd-menu button.on b { color: #fff; }
.sdd-menu button.on { background: transparent; }
.sdd-menu button:hover { background: #3a3a3a; }
.sdd-menu button { padding: 9px 22px; }
.sdd-menu button b { font-size: 16px; font-weight: 700; }
.sdd-menu button small { font-size: 14px; color: #bcbcbc; }
.sdd-menu { padding: 10px 0; border-color: #4d4d4d; }
.cat-menu a.on { color: #fff; }

/* ---------- focus rings ---------- */
button:focus:not(:focus-visible), a:focus:not(:focus-visible) { outline: none; }
.sdd-btn:focus-visible, .cat-dd .sdd-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 0; }

.card.no-art { display: none !important; }

/* ---------- crisp trailers ---------- */
.tv iframe { width: 200% !important; height: 200% !important; min-width: 0 !important; min-height: 0 !important; transform: translate(-50%, -50%) scale(0.6) !important; }
.nx-hero .tv iframe { width: max(200%, 355.6vh) !important; height: max(200%, 112.5vw) !important; }
.tv { image-rendering: auto; }

/* ---------- rating notice ---------- */
.nwp-rate { position: absolute; z-index: 6; top: 12%; left: 0; display: flex; align-items: center; gap: 14px; padding: 10px 26px 10px 0; font-size: clamp(16px, 1.5vw, 24px); font-weight: 500; color: #fff; opacity: 0; transform: translateX(-12px); transition: opacity 0.6s ease, transform 0.6s ease; pointer-events: none; text-shadow: 0 1px 6px rgba(0,0,0,0.7); }
.nwp-rate.show { opacity: 1; transform: none; }
.nwp-rate i { align-self: stretch; width: 4px; margin-left: clamp(20px, 3vw, 48px); margin-right: 10px; background: var(--accent); }
.nwp-rate .cert { display: inline-grid; place-items: center; min-width: 1.75em; height: 1.75em; padding: 0 0.35em; border-radius: 50%; font-size: 0.82em; font-weight: 800; color: #fff; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,0.3); }
.nwp-rate .cert.c-u { background: #00a14b; } .nwp-rate .cert.c-pg { background: #f9b000; } .nwp-rate .cert.c-12 { background: #f47b20; } .nwp-rate .cert.c-15 { background: #e5197c; } .nwp-rate .cert.c-18 { background: #dc0a0a; }
.nwp-rate .cert.c-us { border-radius: 4px; background: rgba(0,0,0,0.35); }

/* ---------- pause screen ---------- */
.nwp-pause { position: absolute; inset: 0; z-index: 7; display: flex; align-items: center; padding: 0 12%; background: linear-gradient(90deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.75) 45%, rgba(0,0,0,0.45) 100%); opacity: 0; pointer-events: none; transition: opacity 0.8s ease; }
.nwp.is-idle-paused .nwp-pause { opacity: 1; }
.nwp.is-idle-paused .nwp-ui, .nwp.is-idle-paused .nwp-cc { opacity: 0; }
.nwp-pause-in { max-width: 640px; display: grid; gap: 6px; }
.nwp-pause-in small { font-size: clamp(15px, 1.2vw, 20px); color: #bcbcbc; font-weight: 500; }
.nwp-pause-t { font: 700 clamp(34px, 3.6vw, 60px)/1.1 "Montserrat", sans-serif; letter-spacing: -0.02em; color: #fff; }
.nwp-pause-season { font-size: clamp(18px, 1.5vw, 26px); font-weight: 700; margin-top: 2px; }
.nwp-pause-ep { font-size: clamp(19px, 1.6vw, 28px); font-weight: 700; margin-top: 22px; }
.nwp-pause-in p { margin: 6px 0 0; font-size: clamp(15px, 1.2vw, 20px); line-height: 1.45; color: #d2d2d2; }
.nwp-pause-tag { position: absolute; right: 7%; bottom: 7%; font-size: clamp(15px, 1.2vw, 20px); color: #d2d2d2; }

/* ---------- pop-up age rating ---------- */
.cert { display: inline-grid; place-items: center; flex: none; min-width: 30px; height: 30px; padding: 0 5px; border-radius: 50%; font: 800 13px/1 "Montserrat", sans-serif; color: #fff; border: 2px solid #fff; }
.cert.c-u { background: #00a14b; } .cert.c-pg { background: #f9b000; } .cert.c-12 { background: #f47b20; } .cert.c-15 { background: #e5197c; } .cert.c-18 { background: #dc0a0a; }
.cert.c-us { border-radius: 4px; background: transparent; border-width: 1px; border-color: rgba(255,255,255,0.6); height: 24px; font-size: 12px; }
.tm-rate { display: none; align-items: center; gap: 12px; margin: 0 0 6px; font-size: 14.5px; color: #fff; }
.tm-rate.on { display: flex; }
.tm-cc { display: inline-grid; place-items: center; color: #bcbcbc; }
.tm-cc svg { width: 20px; height: 20px; }
.tm-meta { margin-bottom: 10px; }
.tm-ep { margin-top: 26px !important; }

/* ---------- smooth dropdowns ---------- */
.sdd-menu, .cat-menu { transition: opacity 0.16s ease, transform 0.16s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.16s !important; transform: translateY(-3px) scale(0.985) !important; transform-origin: top right; visibility: hidden; }
.cat-menu { transform-origin: top left; }
.sdd.open .sdd-menu, .cat-dd.open .cat-menu { transform: none !important; visibility: visible; }
.sdd-menu { max-height: min(70vh, 560px); scrollbar-width: thin; scrollbar-color: #555 transparent; }
.sdd-menu::-webkit-scrollbar { width: 6px; } .sdd-menu::-webkit-scrollbar-button { display: none; height: 0; } .sdd-menu::-webkit-scrollbar-track { background: transparent; } .sdd-menu::-webkit-scrollbar-thumb { background: #555; border-radius: 6px; border: 0; }
.sdd-btn i { transition: transform 0.16s ease !important; }
.sdd.open .sdd-btn i { transform: rotate(180deg); }

/* ---------- self-hosted trailers ---------- */
.tv video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; background: #000; }
.tv { transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1); }

.tm-hero > .tv-mute, .nx-hero > .tv-mute, .pv-media > .tv-mute, .tv-mute[data-tip] { position: absolute; }

/* ---------- provider kicker ---------- */
.tm-kicker { transition: opacity 0.25s ease; }
.tm-kicker.pending { opacity: 0; }
.tm-kicker.is-prov { margin-bottom: 12px; }
.prov-logo { display: block; height: 22px; width: auto; max-width: 150px; object-fit: contain; object-position: left center; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6)); }
.prov-logo.p-nfx { height: 20px; }
.prov-logo.p-atp, .prov-logo.p-dnp { height: 26px; }

/* ---------- netflix speed panel ---------- */
.nwp-menu.nwp-speed { width: min(620px, calc(100vw - 32px)); right: -60px; padding: 26px 34px 30px; border-radius: 4px; background: #262626; }
.nwp-speed .nwp-menu-h { padding: 0 0 22px; font-size: 22px; font-weight: 700; }
.nwp-speed-track { position: relative; display: flex; justify-content: space-between; }
.nwp-speed-track::before { content: ""; position: absolute; left: 30px; right: 30px; top: 11px; height: 1px; background: #8c8c8c; }
.nwp-menu .nwp-speed-track button { position: relative; width: auto; flex: 1; display: grid; justify-items: center; gap: 18px; padding: 0; background: none !important; color: #e5e5e5; font-size: 17px; font-weight: 500; border-radius: 0; }
.nwp-menu .nwp-speed-track button::before { display: none; }
.nwp-speed-track button i { width: 14px; height: 14px; margin-top: 4px; border-radius: 50%; background: #d2d2d2; transition: transform 0.15s; }
.nwp-speed-track button:hover i { transform: scale(1.3); }
.nwp-speed-track button.on i { width: 22px; height: 22px; margin-top: 0; background: #fff; box-shadow: 0 0 0 5px #262626, 0 0 0 8px #a3a3a3; }
.nwp-speed-track button.on span { font-weight: 700; color: #fff; }
.nwp-speed-track button:first-child { justify-items: start; }
.nwp-speed-track button:last-child { justify-items: end; }
.nwp-speed-track button:first-child i { margin-left: 24px; }
.nwp-speed-track button:last-child i { margin-right: 24px; }

/* ---------- netflix audio & subtitles panel ---------- */
.nwp-menu.nwp-subs-menu { width: min(760px, calc(100vw - 32px)); max-height: min(72vh, 760px); right: -140px; display: grid; grid-template-columns: 1fr 1fr; padding: 26px 0 18px; border-radius: 4px; background: #262626; overflow: hidden; }
.nwp-av-col { min-width: 0; display: flex; flex-direction: column; max-height: calc(min(72vh, 760px) - 44px); }
.nwp-av-col + .nwp-av-col { border-left: 0; }
.nwp-av-col .nwp-menu-h { padding: 0 40px 16px 64px; font-size: 22px; font-weight: 700; }
.nwp-av-list { overflow-y: auto; padding: 0 20px 6px 0; scrollbar-width: thin; scrollbar-color: #5a5a5a transparent; }
.nwp-menu .nwp-av-list button { display: flex; align-items: center; gap: 0; padding: 11px 20px 11px 64px; position: relative; background: none !important; font-size: 17px; font-weight: 500; color: #b3b3b3; border-radius: 0; }
.nwp-menu .nwp-av-list button::before { display: none; }
.nwp-av-list button .tk { position: absolute; left: 30px; width: 22px; height: 22px; opacity: 0; }
.nwp-av-list button.on { color: #fff; }
.nwp-av-list button.on .tk { opacity: 1; }
.nwp-av-list button:hover { color: #fff; }
.nwp-av-list hr { margin: 10px 20px 10px 40px; border: 0; border-top: 1px solid #4d4d4d; }
.nwp-av-list .nwp-subs-load { padding: 11px 64px; color: #8c8c8c; font-size: 15px; }
@media (max-width: 760px) {
  .nwp-menu.nwp-subs-menu, .nwp-menu.nwp-speed { right: -8px; }
  .nwp-menu.nwp-subs-menu { grid-template-columns: 1fr; }
  .nwp-av-col:first-child { display: none; }
  .nwp-speed-track button span { font-size: 13px; }
}

/* ---------- netflix subtitles ---------- */
.nwp-cc { left: 6%; right: 6%; bottom: 10%; line-height: 1.22; }
.nwp:not(.ui-off) .nwp-cc { bottom: 18%; }
.nwp-cc span { font: 700 clamp(20px, 2.55vw, 46px)/1.22 "Montserrat", "Helvetica Neue", Arial, sans-serif; letter-spacing: -0.012em; color: #fff; text-shadow: 0 0 7px rgba(0, 0, 0, 0.85), 0 0 2px rgba(0, 0, 0, 0.9), 0 1px 3px rgba(0, 0, 0, 0.6); -webkit-font-smoothing: antialiased; }

/* ---------- subtitle timing ---------- */
.nwp-sync { display: flex; align-items: center; gap: 10px; margin: 8px 20px 0 64px; padding-top: 14px; border-top: 1px solid #4d4d4d; font-size: 14px; color: #b3b3b3; }
.nwp-sync span { margin-right: auto; }
.nwp-menu .nwp-sync button { width: auto; padding: 6px 10px; border-radius: 4px; background: #3a3a3a !important; color: #fff; font-size: 13px; font-weight: 600; }
.nwp-menu .nwp-sync button::before { display: none; }
.nwp-menu .nwp-sync button:hover { background: #4d4d4d !important; }
.nwp-sync b { min-width: 48px; text-align: center; color: #fff; font-variant-numeric: tabular-nums; }
.nwp-av-col:last-child { display: flex; flex-direction: column; }
.nwp-toast { position: absolute; z-index: 9; top: 12%; left: 50%; transform: translateX(-50%); padding: 10px 18px; border-radius: 6px; background: rgba(20,20,20,0.88); color: #fff; font-size: 15px; font-weight: 600; opacity: 0; pointer-events: none; }
.nwp-toast.on { animation: nwp-toast 1.6s ease both; }
@keyframes nwp-toast { 0% { opacity: 0; } 12%, 70% { opacity: 1; } 100% { opacity: 0; } }

/* ---------- netflix pop-out polish ---------- */
.pv-media .pv-title img.t-logo { position: static; inset: auto; width: auto !important; height: auto !important; max-height: 64px; max-width: 58%; object-fit: contain; object-position: left bottom; }
.pv-media .pv-title { left: 16px; bottom: 14px; right: 30%; }
.pv-media img.pv-logo.is-prov { width: auto !important; height: 20px !important; max-width: 90px; top: 12px; right: 12px; filter: drop-shadow(0 1px 4px rgba(0,0,0,0.6)); }
.pv-panel { padding: 14px 16px 18px; }
.pv-btn { width: 40px !important; height: 40px !important; }
.pv-btn svg { width: 18px !important; height: 18px !important; }
.pv-actions { gap: 8px; margin-bottom: 14px; }
.pv-ep { font-size: 15px; color: #fff; margin-bottom: 14px; }
.pv-ep b { font-weight: 700; }
.pv-meta { font-size: 14px; }
.pv-resume span { font-size: 14px; color: #bcbcbc; }

/* ---------- netflix close X ---------- */
.tm-x { width: 40px; height: 40px; top: 14px; right: 14px; background: #181818; }
.tm-x svg { width: 26px; height: 26px; stroke-width: 1.5; }
.tm-x:hover { background: #181818; }
.tm-x:hover svg { opacity: 0.8; }

.tv-on > .tv-mute { opacity: 0.6; }
.tv-on > .tv-mute:hover { opacity: 1; }
.tv-mute { background: rgba(0, 0, 0, 0.2); border-color: rgba(255, 255, 255, 0.55); }

/* ---------- trailer captions ---------- */
.tv-cc { position: absolute; z-index: 2; left: 10%; right: 10%; bottom: 26%; text-align: center; pointer-events: none; opacity: 0; transition: opacity 0.4s ease; }
.tv-on > .tv-cc { opacity: 1; }
.tv-cc span { font: 700 clamp(11px, 1vw, 15px)/1.35 "Montserrat", Arial, sans-serif; color: #fff; text-shadow: 0 0 5px rgba(0,0,0,0.9), 0 1px 2px #000; }
.tm-hero > .tv-cc { left: 52%; right: 6%; bottom: 30%; }
.pv-media > .tv-cc { bottom: 18%; }
.pv-media > .tv-cc span { font-size: 11px; }

/* ---------- netflix top 10 ---------- */
.row-top10 { --p: clamp(128px, 9.4vw, 200px); }
.row-top10 .track { gap: 0; }
.row-top10 .t10 { width: calc(var(--p) * 2.05); height: calc(var(--p) * 1.5); justify-content: flex-end; align-items: stretch; margin-right: 6px; }
.row-top10 .t10 .card-poster { width: var(--p); height: calc(var(--p) * 1.5); aspect-ratio: auto; border-radius: 4px; overflow: hidden; }
.row-top10 .t10-num { left: 2%; bottom: calc(var(--p) * -0.17); font: 800 calc(var(--p) * 2.02)/1 "Montserrat", sans-serif; letter-spacing: -0.06em; color: #141414; -webkit-text-stroke: 3px #595959; transform: scaleX(0.8); transform-origin: left bottom; }
.row-top10 .t10:nth-child(10) .t10-num { left: -6%; letter-spacing: -0.14em; transform: scaleX(0.66); }
.row-top10 .t10:hover .t10-num { -webkit-text-stroke-color: #808080; }
.row-top10 .t10-num { left: auto; right: calc(var(--p) * 0.86); bottom: calc(var(--p) * -0.255); transform-origin: right bottom; }
.row-top10 .t10:nth-child(10) .t10-num { left: auto; right: calc(var(--p) * 0.8); }
.row-top10 .t10 { width: calc(var(--p) * 1.92); }

.row-top10 .t10-num { color: #000; -webkit-text-stroke: 2.5px #4f4f4f; font-weight: 700; }
.row-top10 .t10:hover .t10-num { -webkit-text-stroke-color: #7a7a7a; }
.row-top10 .t10 .card-poster { border-radius: 8px; }
.row-top10 .t10 .card-poster img { border-radius: 8px; }

/* ---------- top 10 badge ---------- */
.top10-badge { display: inline-grid; place-items: center; align-content: center; width: 28px; height: 28px; flex: none; border-radius: 3px; background: #e50914; color: #fff; line-height: 1; }
.top10-badge small { font-size: 6.5px; font-weight: 800; letter-spacing: 0.04em; margin-bottom: 1px; }
.top10-badge b { font-size: 13px; font-weight: 800; letter-spacing: -0.02em; }
.tm-top { display: flex; align-items: center; gap: 12px; margin: 12px 0 2px; font-size: 18px; }
.tm-top > b { font-weight: 700; }

/* ---------- netflix svg top 10 numbers ---------- */
.row-top10 .t10-num { display: none; }
.row-top10 .t10-svg { position: absolute; z-index: 0; top: 0; bottom: 0; right: calc(var(--p) * 0.82); height: 100%; width: auto; aspect-ratio: 100 / 150; overflow: visible; pointer-events: none; }
.row-top10 .t10-ten .t10-svg { aspect-ratio: 180 / 150; right: calc(var(--p) * 0.78); }
.row-top10 .t10 { width: calc(var(--p) * 1.95); }
.row-top10 .t10-ten { width: calc(var(--p) * 2.5); }
.row-top10 .t10 { width: calc(var(--p) * 1.78); margin-right: calc(var(--p) * 0.1); }
.row-top10 .t10-ten { width: calc(var(--p) * 2.25); }
.row-top10 .t10-svg { right: calc(var(--p) * 0.9); top: 4%; height: 96%; }
.row-top10 .t10-ten .t10-svg { right: calc(var(--p) * 0.88); }

.acct-menu { top: calc(100% + 18px); width: 220px; padding: 0; border: 1px solid rgba(255, 255, 255, 0.15); border-top: 1px solid rgba(255, 255, 255, 0.15); border-radius: 2px; background: rgba(0, 0, 0, 0.9); backdrop-filter: none; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6); opacity: 0; transition: opacity 0.12s ease !important; }
.acct.open .acct-menu { opacity: 1; }
.acct-menu::before { top: -8px; right: 30px; border-width: 0 7px 8px; border-style: solid; border-color: transparent transparent #e5e5e5; }
.acct-menu::after { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.acct-head { gap: 10px; padding: 12px 12px 10px; border-bottom: 0; }
.acct-head .acct-av.lg { width: 32px; height: 32px; border-radius: 4px; flex: 0 0 auto; overflow: hidden; }
.acct-head .acct-av.lg img { width: 100%; height: 100%; object-fit: cover; }
.acct-head b { font-size: 13px; font-weight: 600; line-height: 1.3; }
.acct-head small { display: block; font-size: 11px; color: #a3a3a3; }
.acct-menu [role="menuitem"] { gap: 12px; padding: 7px 12px; font-size: 13px; font-weight: 400; color: #e5e5e5; text-decoration: none; }
.acct-menu [role="menuitem"] svg { width: 22px; height: 22px; color: #b3b3b3; }
.acct-menu [role="menuitem"]:hover span { text-decoration: underline; text-underline-offset: 2px; }
.acct-menu .acct-out { margin-top: 8px; padding: 14px 12px !important; border-top: 1px solid rgba(255, 255, 255, 0.25); font-size: 13px; color: #e5e5e5; }

.st { max-width: 760px; margin: 0 auto; padding: 110px 20px 80px; }
.st-h { font: 700 30px/1.2 "Montserrat", sans-serif; margin: 0 0 22px; letter-spacing: -0.01em; }
.st-sec { font: 600 13px/1 "Montserrat", sans-serif; color: #a3a3a3; text-transform: uppercase; letter-spacing: 0.08em; margin: 30px 0 10px; }
.st-card { background: linear-gradient(180deg, #141414, #0d0d0d); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 8px; overflow: hidden; }
.st-prof { display: flex; align-items: center; gap: 16px; padding: 18px; background: radial-gradient(120% 140% at 0% 0%, rgba(30, 144, 255, 0.16), transparent 60%), linear-gradient(180deg, #151515, #0d0d0d); }
.st-av { width: 56px; height: 56px; border-radius: 6px; overflow: hidden; flex: 0 0 auto; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12); }
.st-av img { width: 100%; height: 100%; object-fit: cover; }
.st-who { flex: 1; min-width: 0; }
.st-who b { display: block; font-size: 17px; font-weight: 700; }
.st-who small { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 12.5px; color: #a3a3a3; }
.st-who small svg { width: 15px; height: 15px; color: #5865f2; }
.st-btn { padding: 9px 18px; border-radius: 4px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); color: #fff; font: 600 13px "Montserrat", sans-serif; transition: background 0.15s; }
.st-btn:hover { background: rgba(255, 255, 255, 0.2); }
.st-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 18px; cursor: pointer; transition: background 0.15s; }
.st-row + .st-row { border-top: 1px solid rgba(255, 255, 255, 0.07); }
.st-row:hover { background: rgba(255, 255, 255, 0.03); }
.st-row > span:first-child { min-width: 0; }
.st-row b { display: block; font-size: 14.5px; font-weight: 600; }
.st-row small { display: block; margin-top: 3px; font-size: 12.5px; color: #8c8c8c; }
.st-tog input { position: absolute; opacity: 0; pointer-events: none; }
.st-sw { position: relative; flex: 0 0 auto; width: 44px; height: 24px; border-radius: 12px; background: #333; box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5); transition: background 0.2s; }
.st-sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(180deg, #fff, #d9d9d9); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); transition: transform 0.22s cubic-bezier(0.3, 0.7, 0.4, 1); }
.st-tog input:checked + .st-sw { background: linear-gradient(90deg, #1468c8, #1e90ff); }
.st-tog input:checked + .st-sw::after { transform: translateX(20px); }
.st-tog input:focus-visible + .st-sw { outline: 2px solid #fff; outline-offset: 2px; }
.st-sel { position: relative; flex: 0 0 auto; }
.st-sel::after { content: ""; position: absolute; right: 12px; top: 50%; margin-top: -3px; border: 5px solid transparent; border-top-color: #fff; border-bottom: 0; pointer-events: none; }
.st-sel select { appearance: none; min-width: 190px; padding: 9px 34px 9px 12px; border-radius: 4px; background: #000; border: 1px solid rgba(255, 255, 255, 0.35); color: #fff; font: 500 13.5px "Montserrat", sans-serif; cursor: pointer; }
.st-sel select:hover { border-color: #fff; }
.st-seg { display: inline-flex; flex: 0 0 auto; padding: 3px; border-radius: 6px; background: #000; border: 1px solid rgba(255, 255, 255, 0.18); }
.st-seg button { padding: 7px 14px; border-radius: 4px; color: #b3b3b3; font: 600 12.5px "Montserrat", sans-serif; transition: background 0.15s, color 0.15s; }
.st-seg button:hover { color: #fff; }
.st-seg button.on { background: #fff; color: #000; }
.st-cc-demo { position: relative; height: 150px; margin: 0 18px 18px; border-radius: 6px; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 18px; background: radial-gradient(80% 90% at 70% 20%, #2b4a6b, transparent 70%), radial-gradient(60% 80% at 15% 90%, #5a3a1c, transparent 70%), linear-gradient(160deg, #1b2735, #090a0f); }
.st-cc-demo span { font: 600 22px/1.3 "Montserrat", Arial, sans-serif; color: #fff; text-shadow: 0 0 6px rgba(0, 0, 0, 0.9), 0 2px 3px #000; transition: font-size 0.2s; }
html[data-cc="s"] .st-cc-demo span { font-size: 17px; }
html[data-cc="l"] .st-cc-demo span { font-size: 28px; }
html[data-cc="s"] .nwp-cc span { font-size: clamp(15px, 1.8vw, 30px); }
html[data-cc="l"] .nwp-cc span { font-size: clamp(22px, 2.9vw, 48px); }
html[data-cc="s"] .tv-cc span { font-size: clamp(10px, 0.85vw, 13px); }
html[data-cc="l"] .tv-cc span { font-size: clamp(13px, 1.25vw, 19px); }
@media (max-width: 600px) {
  .st { padding-top: 84px; }
  .st-row { flex-wrap: wrap; }
  .st-sel select { min-width: 0; width: 100%; }
  .st-sel { width: 100%; }
  .st-prof { flex-wrap: wrap; }
}

.row-top10 .t10 { width: calc(var(--p) * 1.72); margin-right: calc(var(--p) * 0.33); }
.row-top10 .t10-ten { width: calc(var(--p) * 2.1); }
.row-top10 .t10-svg { right: calc(var(--p) * 0.7); top: 1%; height: 99%; }
.row-top10 .t10-ten .t10-svg { right: calc(var(--p) * 0.7); }
.row-top10 .t10 .card-poster { background: #000; }
.acct .acct-menu [role="menuitem"] { font-size: 13px; font-weight: 400; color: #e5e5e5; border-radius: 0; padding: 7px 12px; gap: 12px; }
.acct .acct-menu .acct-out { font-size: 13px; font-weight: 400; border-radius: 0; border: 0; border-top: 1px solid rgba(255, 255, 255, 0.25); padding: 14px 12px !important; margin-top: 8px; justify-content: center; }
.tv-mute { background: rgba(0, 0, 0, 0.08) !important; border: 1px solid rgba(255, 255, 255, 0.42) !important; color: rgba(255, 255, 255, 0.78); backdrop-filter: none; }
.tv-on > .tv-mute { opacity: 0.55; }
.tv-on > .tv-mute:hover { opacity: 1; background: rgba(255, 255, 255, 0.1) !important; border-color: rgba(255, 255, 255, 0.85) !important; color: #fff; }
.tv { transition: opacity 0.6s ease; }
.prov-logo.p-dnp, .prov-logo.p-amp, .prov-logo.p-hbm, .prov-logo.p-pmp, .prov-logo.p-hlu, .pv-logo.is-prov.p-dnp, .pv-logo.is-prov.p-amp, .pv-logo.is-prov.p-hbm, .pv-logo.is-prov.p-pmp, .pv-logo.is-prov.p-hlu { filter: brightness(0) invert(1) drop-shadow(0 1px 4px rgba(0, 0, 0, 0.6)) !important; }
.prov-logo.p-dnp { height: 30px; } .prov-logo.p-amp { height: 20px; } .prov-logo.p-hbm { height: 30px; } .prov-logo.p-pmp { height: 28px; } .prov-logo.p-hlu { height: 18px; } .prov-logo.p-pcp { height: 18px; }
.pv-media img.pv-logo.is-prov.p-dnp, .pv-media img.pv-logo.is-prov.p-hbm, .pv-media img.pv-logo.is-prov.p-pmp { height: 24px !important; }
.pv-media img.pv-logo.is-prov.p-amp, .pv-media img.pv-logo.is-prov.p-pcp, .pv-media img.pv-logo.is-prov.p-hlu { height: 15px !important; }
.lost { position: fixed; inset: 0; z-index: 400; display: flex; flex-direction: column; background: #000; color: #fff; overflow: hidden; animation: lostIn 0.35s ease both; }
.lost.out { opacity: 0; transition: opacity 0.25s ease; }
@keyframes lostIn { from { opacity: 0; } to { opacity: 1; } }
.lost-bar { position: relative; z-index: 2; flex: 0 0 auto; height: 68px; display: flex; align-items: center; padding: 0 clamp(16px, 2.2vw, 40px); background: #000; }
.lost-bg { position: absolute; inset: 68px 0 0; background: radial-gradient(120% 90% at 50% 30%, #12263d, #000 75%); opacity: 1; }
.lost-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 0.9s ease, transform 6s ease-out; }
.lost-bg.in img { opacity: 1; transform: none; }
.lost-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 48%, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.12) 70%), linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 22%, transparent 78%, rgba(0, 0, 0, 0.45)); }
.lost-body { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 20px 4vh; }
.lost-body h1 { margin: 0 0 0.45em; font: 700 clamp(38px, 4.4vw, 72px)/1.1 "Montserrat", sans-serif; letter-spacing: -0.01em; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55); }
.lost-body p { max-width: 600px; margin: 0 0 1.4em; font: 400 clamp(16px, 1.6vw, 26px)/1.45 "Montserrat", sans-serif; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7); }
.lost-btn { padding: 0.85em 2.1em; border-radius: 4px; background: #fff; color: #000; font: 700 clamp(14px, 1.1vw, 18px) "Montserrat", sans-serif; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35); transition: background 0.15s, transform 0.15s; }
.lost-btn:hover { background: rgba(255, 255, 255, 0.82); }
.lost-btn:active { transform: scale(0.97); }
.lost-code { margin-top: clamp(28px, 4vh, 48px); padding: 0.35em 0 0.35em 0.9em; border-left: 2px solid #1e90ff; font: 300 clamp(18px, 1.9vw, 30px) "Montserrat", sans-serif; letter-spacing: 0.12em; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7); }
.lost-code b { font-weight: 700; }
.lost-from { position: absolute; z-index: 1; right: clamp(16px, 4.5vw, 86px); bottom: clamp(14px, 2.4vh, 26px); font: 300 clamp(11px, 1vw, 17px) "Montserrat", sans-serif; letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.7); }
.lost-from b { font-weight: 700; color: rgba(255, 255, 255, 0.85); margin-left: 0.4em; }
@media (max-height: 560px), (max-width: 600px) { .lost-from { display: none; } .lost-bar { height: 56px; } .lost-bg { top: 56px; } }
.card-land .card-logo { position: absolute; left: 12px; bottom: 10px; opacity: 0; max-width: 58%; max-height: 46px; width: auto; height: auto; object-fit: contain; object-position: left bottom; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.75)) drop-shadow(0 2px 14px rgba(0, 0, 0, 0.45)); }
.card-land.has-logo .card-logo { position: static; opacity: 1; animation: logoIn 0.35s ease both; }
.card-land.has-logo .card-title { display: none; }
.card-land.has-logo .card-cap { padding: 30px 12px 11px; background: linear-gradient(0deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.18) 55%, transparent 100%); }
.card-land.has-logo:has(.card-bar) .card-cap { padding-bottom: 18px; }
@keyframes logoIn { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) { .card-land .card-logo { max-height: 30px; } }
.lost-code { position: relative; border-left: 0; padding: 0.5em 0 0.5em 1em; }
.lost-code::before { content: ""; position: absolute; left: 0; top: -0.35em; bottom: -0.35em; width: 2px; border-radius: 2px; background: linear-gradient(180deg, transparent, #1e90ff 22%, #1e90ff 78%, transparent); box-shadow: 0 0 10px rgba(30, 144, 255, 0.55); }
.nwp-hold { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: contain; pointer-events: none; opacity: 0; transition: opacity 0.25s ease; }
.nwp-hold.on { opacity: 1; transition: none; }
.nwp-menu-wrap.open .nwp-menu, .nwp-eps.open { animation: nwpPop 0.24s cubic-bezier(0.2, 0.8, 0.2, 1) both; transform-origin: bottom right; }
.nwp-menu-wrap.open .nwp-speed-track, .nwp-menu-wrap.open .nwp-av-col, .nwp-menu-wrap.open .nwp-menu-h { animation: nwpRise 0.32s cubic-bezier(0.2, 0.8, 0.2, 1) 0.04s both; }
.nwp-menu-wrap.open .nwp-av-col + .nwp-av-col { animation-delay: 0.08s; }
@keyframes nwpPop { from { opacity: 0; translate: 0 10px; scale: 0.97; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes nwpRise { from { opacity: 0; translate: 0 6px; } to { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: reduce) { .nwp-menu-wrap.open .nwp-menu, .nwp-eps.open, .nwp-menu-wrap.open .nwp-speed-track, .nwp-menu-wrap.open .nwp-av-col, .nwp-menu-wrap.open .nwp-menu-h { animation: none; } }
.acct.open .acct-menu, .bell.open .bell-menu, .sdd.open .sdd-menu, .cat-dd.open .cat-menu { animation: nwpDrop 0.22s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.acct-menu, .bell-menu { transform-origin: top right; }
.sdd-menu, .cat-menu { transform-origin: top left; }
@keyframes nwpDrop { from { opacity: 0; translate: 0 -8px; scale: 0.97; } to { opacity: 1; translate: 0 0; scale: 1; } }
.nwp-btn, .nwp-btn:focus, .nwp-btn:focus-visible { outline: none; box-shadow: none; border: 0; }
.nwp-btn:focus-visible { transform: scale(1.14); color: #fff; }
.nwp-menu-wrap.open > .nwp-btn { color: #fff; transform: scale(1.14); }
.nwp-av-list, .nwp-eps-list, .nwp-eps .nwp-eps-scroll { overscroll-behavior: contain; contain: content; will-change: scroll-position; }
.nwp-menu, .nwp-eps { contain: layout paint; }
@media (prefers-reduced-motion: reduce) { .acct.open .acct-menu, .bell.open .bell-menu, .sdd.open .sdd-menu, .cat-dd.open .cat-menu { animation: none; } }
.pv-panel { padding: 12px 16px 14px; gap: 0; }
.pv-btn { width: 34px !important; height: 34px !important; }
.pv-btn svg { width: 15px !important; height: 15px !important; }
.pv-play svg { width: 17px !important; height: 17px !important; margin-left: 2px; }
.pv-ghost { border-width: 1.5px; }
.pv-actions { gap: 7px; margin-bottom: 11px; }
.pv-ep { display: block; font-size: 13.5px; font-weight: 400; color: #e5e5e5; margin-bottom: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-ep b { font-weight: 700; color: #fff; margin-right: 2px; }
.pv-ept { animation: pv-in 0.25s ease both; }
.pv-resume { gap: 12px; }
.pv-bar { height: 2px; background: rgba(255, 255, 255, 0.28); }
.pv-resume span { font-size: 12.5px; font-weight: 500; color: #bcbcbc; }
.pv-media .pv-shade { background: linear-gradient(0deg, #181818 0%, rgba(24, 24, 24, 0.55) 9%, rgba(24, 24, 24, 0) 26%); }
.pv-media .pv-title img.t-logo { filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.55)) drop-shadow(0 4px 18px rgba(0, 0, 0, 0.45)); }
.pv-meta { gap: 9px; font-size: 13.5px; font-weight: 500; color: #bcbcbc; margin-bottom: 9px; }
.pv-kind { color: #bcbcbc; }
.pv-cert { min-width: 24px; height: 24px; font-size: 11px; border-width: 1.5px; padding: 0 3px; }
.pv-cert.c-us { height: 20px; font-size: 11px; }
.pv-genres { font-size: 14px; font-weight: 600; color: #fff; gap: 7px; }
.pv-sep { color: #646464; }
.pv-ghost { background: rgba(42, 42, 42, 0.6); border-color: rgba(255, 255, 255, 0.5); }
.pv { border-radius: 6px; box-shadow: 0 6px 22px rgba(0, 0, 0, 0.65); }
.pv-media > .tv-mute { opacity: 0.5; }
.nwp-ctrl { position: relative; }
.nwp-ctrl > .nwp-mid { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); flex: none; max-width: 38%; justify-content: center; text-align: center; white-space: nowrap; pointer-events: none; }
.nwp-ctrl > .nwp-vol + .nwp-mid + * { margin-left: auto; }
@media (max-width: 760px) { .nwp-ctrl > .nwp-mid { display: none; } }
.pv-media img.pv-logo:not(.is-prov):not(.is-own) { opacity: 0 !important; }
.pv-media img.pv-logo { transition: opacity 0.2s ease; }
.pv-media > .tv-mute { opacity: 0; }
.pv-media.tv-on > .tv-mute { opacity: 0.5; }
.pv-media.tv-on > .tv-mute:hover { opacity: 1; }
.nwp-err { position: absolute; inset: 0; z-index: 30; display: grid; place-items: center; padding: 24px; background: radial-gradient(70% 60% at 50% 45%, #0d1520, #000 72%); animation: lostIn 0.3s ease both; }
.nwp-err-in { max-width: 640px; text-align: center; }
.nwp-err h1 { margin: 0 0 18px; font: 700 clamp(28px, 3.2vw, 46px)/1.15 "Montserrat", sans-serif; letter-spacing: -0.01em; }
.nwp-err h2 { margin: 0 0 8px; font: 700 clamp(17px, 1.5vw, 22px)/1.3 "Montserrat", sans-serif; color: #fff; }
.nwp-err p { margin: 0 auto; max-width: 540px; font: 400 clamp(14px, 1.2vw, 18px)/1.5 "Montserrat", sans-serif; color: #b3b3b3; }
.nwp-err-code { display: inline-block; position: relative; margin: 26px 0 30px; padding: 0.4em 0 0.4em 0.9em; font: 300 clamp(15px, 1.4vw, 21px) "Montserrat", sans-serif; letter-spacing: 0.1em; color: #e5e5e5; }
.nwp-err-code b { font-weight: 700; }
.nwp-err-code::before { content: ""; position: absolute; left: 0; top: -0.3em; bottom: -0.3em; width: 2px; border-radius: 2px; background: linear-gradient(180deg, transparent, #1e90ff 22%, #1e90ff 78%, transparent); box-shadow: 0 0 10px rgba(30, 144, 255, 0.55); }
.nwp-err-btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.nwp-err-btns button { padding: 11px 26px; border-radius: 4px; font: 700 15px "Montserrat", sans-serif; transition: background 0.15s, transform 0.15s; }
.nwp-err-btns button:active { transform: scale(0.97); }
.nwp-err-retry { background: #fff; color: #000; }
.nwp-err-retry:hover { background: rgba(255, 255, 255, 0.8); }
.nwp-err-back { background: rgba(109, 109, 110, 0.7); color: #fff; }
.nwp-err-back:hover { background: rgba(109, 109, 110, 0.45); }
.nx-ep-fb::before { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.35)); backdrop-filter: none; }
.nx-ep-fb.soon::before { background: rgba(0, 0, 0, 0.6); }
.nx-ep-fb.soon b { font-size: 13px; font-weight: 700; letter-spacing: 0.02em; color: #fff; padding: 4px 9px; border-radius: 3px; background: rgba(0, 0, 0, 0.55); }
.sdd.up .sdd-menu { top: auto; bottom: calc(100% + 4px); transform-origin: bottom right; }
.sdd.up.open .sdd-menu { animation-name: nwpPop; }
.st-credit { margin: 34px 0 0; font-size: 12px; line-height: 1.5; color: #737373; } .st-credit a { color: #a3a3a3; text-decoration: underline; text-underline-offset: 2px; }
html:has(.nwp), html:has(.nwp) body { overflow: hidden !important; scrollbar-width: none; }
html:has(.nwp)::-webkit-scrollbar, html:has(.nwp) body::-webkit-scrollbar { display: none; width: 0; }
