/* Approved watch-page design, adapted to the existing production players.
   Intentionally scoped: no homepage, account, admin or provider-frame styling. */
.watch-page .page-shell:has(> .kn-watch) {
    width: 100%;
    max-width: 1920px;
    margin-inline: auto;
    padding-inline: 40px;
}
.watch-page .page-shell:has(> .kn-watch.kn-theater) { max-width: none; }
.watch-page .kn-watch {
    --kn-canvas: #080c14;
    --kn-surface: #141c29;
    --kn-line: #252e3c;
    --kn-muted: #a7afbd;
    --kn-blue: #1768db;
    --kn-focus: #72bbff;
    --kn-gutter: 40px;
    --kn-normal-width: 1120px;
    min-width: 0;
    color: #fff;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
.watch-page .kn-watch [hidden] { display: none !important; }
.watch-page .kn-watch .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.watch-page .kn-watch *,
.watch-page .kn-watch *::before,
.watch-page .kn-watch *::after { box-sizing: border-box; }
.watch-page .kn-watch :is(button, a, input, select, textarea, [tabindex]):focus-visible {
    outline: 3px solid var(--kn-focus);
    outline-offset: 4px;
}
.watch-page .kn-watch :is(input, textarea) { caret-color: var(--kn-focus); }
.watch-page .kn-watch ::selection { color: #fff; background: var(--kn-blue); }
.watch-page .kn-watch * { scrollbar-width: thin; scrollbar-color: #3a485b #111824; }
.watch-page .kn-watch *::-webkit-scrollbar { width: 6px; height: 6px; }
.watch-page .kn-watch *::-webkit-scrollbar-thumb { border: 0; background: #3a485b; border-radius: 4px; }
.watch-page .kn-watch .reveal-section { opacity: 1; transform: none; }
.watch-page .kn-watch .section-block { margin-top: 52px; }
.watch-page .kn-watch .section-heading { margin-bottom: 20px; gap: 20px; }
.watch-page .kn-watch .section-heading h2 { margin: 0; font-size: 25px; line-height: 1.3; font-weight: 650; letter-spacing: -.02em; }
.watch-page .kn-watch .section-kicker { display: none; }
.watch-page .kn-watch .section-subtitle { color: var(--kn-muted); font-size: 12px; line-height: 1.5; margin-top: 7px; }
.watch-page .kn-watch .breadcrumbs { margin: 22px 0 14px; color: #9caec6; font-size: 12px; gap: 9px; }
.watch-page .kn-watch .breadcrumbs > span:last-child { color: #cdd8e8; }
.watch-page .kn-watch .breadcrumbs a { color: #9caec6; }
.watch-page .kn-watch .breadcrumbs a:hover { color: #fff; }

/* Small factual introduction, not the former full-background hero. */
.watch-page .kn-watch .watch-hero.kn-summary {
    display: grid;
    grid-template-columns: 124px minmax(0, 1fr);
    align-items: start;
    gap: 11px 24px;
    min-height: 0;
    width: 100%;
    max-width: 1080px;
    margin: 24px 0 30px;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
}
.watch-page .kn-watch .kn-summary::before,
.watch-page .kn-watch .kn-summary::after { content: none; }
.watch-page .kn-watch .kn-summary .watch-poster {
    display: block;
    grid-column: 1;
    grid-row: 1 / 5;
    width: 124px;
    height: 186px;
    margin: 0;
    border: 0;
    border-radius: 8px;
    background: var(--kn-surface);
    box-shadow: none;
    overflow: hidden;
}
.watch-page .kn-watch .kn-summary .watch-poster :is(img, .poster-empty) { display: block; width: 100%; height: 100%; object-fit: cover; }
.watch-page .kn-watch .kn-summary .watch-info { display: contents; }
.watch-page .kn-watch .kn-summary :is(.eyebrow, .original-title) { display: none; }
.watch-page .kn-watch .kn-summary h1 { grid-column: 2; grid-row: 1; align-self: end; margin: 0; font-size: 32px; line-height: 1.13; font-weight: 650; letter-spacing: -.025em; text-wrap: balance; overflow-wrap: anywhere; }
.watch-page .kn-watch .kn-summary .watch-badges { grid-column: 2; grid-row: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 13px; margin: 0; padding: 0; font-size: 13px; color: #aebbd0; overflow: visible; }
.watch-page .kn-watch .kn-summary .watch-badges > :is(a, span) { background: none; border: 0; min-height: 0; padding: 0; border-radius: 0; color: #aebbd0; font-size: 13px; font-weight: 400; }
.watch-page .kn-watch .kn-summary .watch-badges > .rating-badge { color: #f0c47d; font-weight: 650; font-variant-numeric: tabular-nums; }
.watch-page .kn-watch .kn-summary .watch-description { grid-column: 2; grid-row: 3; max-width: 74ch; margin: 0; color: #aebed4; font-size: 14px; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.watch-page .kn-watch .kn-summary .watch-actions { grid-column: 2; grid-row: 4; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 2px 0 0; width: auto; }
.watch-page .kn-watch .kn-summary .watch-actions .button { flex: 0 0 auto; width: auto; min-width: 0; min-height: 44px; padding: 10px 13px; border: 0; border-radius: 7px; background: transparent; color: #b9c9df; font-size: 13px; line-height: 1.4; font-weight: 600; box-shadow: none; }
.watch-page .kn-watch .kn-summary .watch-actions .button:hover { background: #172334; color: #fff; transform: none; }
.watch-page .kn-watch .kn-summary .watch-actions .button-primary { padding-inline: 20px; background: var(--kn-blue); color: #fff; }
.watch-page .kn-watch .kn-summary .watch-actions .button-primary:hover { background: #1a69dc; }
.watch-page .kn-watch .kn-summary .watch-actions .watch-icon-button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 10px; }
.watch-page .kn-watch .kn-summary .watch-actions .watch-icon-button .fa { font-size: 18px; }
.watch-page .kn-watch .kn-summary .watch-actions svg { width: 14px; height: 14px; }

/* Actual provider tabs/frames remain owned by app.js and premium-player.js. */
.watch-page .kn-watch .player-section { margin-top: 0; scroll-margin-top: calc(var(--header-height, 84px) + 20px); }
.watch-page .kn-watch .player-section > .section-heading { display: none; }
.watch-page .kn-watch .player-ad-row { --kn-ad-width: 300px; --kn-ad-gap: 24px; display: grid; grid-template-columns: minmax(0, 1fr) var(--kn-ad-width); gap: 0 var(--kn-ad-gap); align-items: stretch; width: 100%; max-width: calc(var(--kn-normal-width) + var(--kn-ad-width) + var(--kn-ad-gap)); margin-inline: 0 auto; }
.watch-page .kn-watch .player-ad-row:not(:has(> .watch-ad-side)) { grid-template-columns: minmax(0, 1fr); max-width: var(--kn-normal-width); }
.watch-page .kn-watch .player-card { display: contents; }
.watch-page .kn-watch .player-card > .kn-watch-toolbar { grid-column: 1; grid-row: 2; }
.watch-page .kn-watch .player-card > .player-reactions { grid-column: 1; grid-row: 3; }
.watch-page .kn-watch .player-card > .dl-block { grid-column: 1; grid-row: 4; }
.watch-page .kn-watch.kn-theater .player-ad-row { max-width: none; }
.watch-page .kn-watch.kn-theater .kn-player-shell { grid-column: 1 / -1; grid-row: 1; width: calc(100% + 2 * var(--kn-gutter)); margin-inline: calc(0px - var(--kn-gutter)); border-radius: 0; }
.watch-page .kn-watch.kn-theater .kn-player-shell > .player-tabs { border-radius: 0; }
.watch-page .kn-watch.kn-theater :is(.player-frame, .premium-stage, .premium-video, .premium-gate) { border-radius: 0; }
.watch-page .kn-watch.kn-theater .watch-ad-side { grid-column: 2; grid-row: 2 / span 3; align-self: start; aspect-ratio: 9 / 16; }
.watch-page .kn-watch .kn-player-shell {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: #030509;
    box-shadow: none;
    scroll-margin-top: calc(var(--header-height, 84px) + 12px);
}
.watch-page .kn-watch .kn-player-shell > .player-tabs { display: flex; align-items: stretch; flex-wrap: nowrap; gap: 22px; width: 100%; min-height: 58px; margin: 0; padding: 0 18px; border: 0; border-radius: 12px 12px 0 0; background: #111924; overflow-x: auto; scrollbar-width: none; }
.watch-page .kn-watch .kn-player-shell > .player-tabs::-webkit-scrollbar { display: none; }
.watch-page .kn-watch .player-tabs button { position: relative; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 58px; width: auto; min-width: 0; padding: 12px 0; border: 0; border-radius: 0; background: transparent; color: #99a9bf; font-size: 13px; line-height: 1.3; font-weight: 500; letter-spacing: 0; box-shadow: none; white-space: nowrap; }
.watch-page .kn-watch .player-tabs button:hover { background: transparent; color: #fff; transform: none; }
.watch-page .kn-watch .player-tabs button.is-active { color: #fff; background: transparent; box-shadow: none; }
.watch-page .kn-watch .player-tabs button.is-active::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: #428eff; border-radius: 3px 3px 0 0; }
.watch-page .kn-watch .player-tabs .premium-tab,
.watch-page .kn-watch .player-tabs .is-premium-provider { flex-direction: row; color: #c6b1ef; }
.watch-page .kn-watch .premium-tab-text { color: inherit; -webkit-text-fill-color: currentColor; background: none; font-size: 13px; line-height: 1.3; font-weight: 500; letter-spacing: 0; text-transform: none; }
.watch-page .kn-watch .premium-tab-bar { display: none; }
.watch-page .kn-watch .player-tabs :is(.premium-tab, .is-premium-provider).is-active::after { background: #bb8df8; }
.watch-page .kn-watch .player-frame { width: 100%; min-height: 0; aspect-ratio: 16 / 9; margin: 0; border: 0; border-radius: 0 0 12px 12px; background: #030509; box-shadow: none; }
.watch-page .kn-watch .player-frame.is-active { animation: none; }
.watch-page .kn-watch .player-frame.premium-frame { aspect-ratio: auto; gap: 0; overflow: visible; }
.watch-page .kn-watch .player-frame.premium-frame .premium-body { gap: 0; }
.watch-page .kn-watch .premium-frame .premium-controls { gap: 10px; padding: 14px 18px; background: #101824; }
.watch-page .kn-watch .premium-frame .premium-field { min-width: 110px; }
.watch-page .kn-watch .premium-frame .premium-field > span { font-size: 11px; font-weight: 500; letter-spacing: 0; text-transform: none; color: #a7b9d0; }
.watch-page .kn-watch .premium-frame .premium-field select { min-height: 42px; border-radius: 6px; border-color: #354154; background-color: var(--kn-surface); font-size: 13px; }
.watch-page .kn-watch .premium-stage { border: 0; border-radius: 0 0 12px 12px; }
.watch-page .kn-watch .premium-video { border-radius: 0 0 12px 12px; }
.watch-page .kn-watch .premium-gate { aspect-ratio: 16 / 9; min-height: 280px; padding: 30px; gap: 12px; border: 0; border-radius: 0 0 12px 12px; background: #101222; }
.watch-page .kn-watch .premium-gate-title { font-size: 27px; line-height: 1.2; font-weight: 650; letter-spacing: -.02em; }
.watch-page .kn-watch .premium-gate-text { font-size: 14px; line-height: 1.65; color: #c0b7d3; }
.watch-page .kn-watch :is(.premium-gate-cta, .premium-gate-refresh) { min-height: 44px; border: 0; border-radius: 7px; background: #d4c1ff; color: #171125; box-shadow: none; font-size: 13px; }
.watch-page .kn-watch :is(.premium-gate-cta, .premium-gate-refresh):hover { background: #e6dbff; color: #171125; transform: none; }
.watch-page .kn-watch .player-placeholder { padding: 22px; text-align: center; }
.watch-page .kn-watch .player-placeholder strong { max-width: 36ch; font-size: 23px; line-height: 1.25; font-weight: 650; }
.watch-page .kn-watch .player-placeholder span { max-width: 55ch; font-size: 13px; line-height: 1.6; }
.watch-page .kn-watch .player-placeholder .button { min-height: 44px; border-radius: 7px; font-size: 13px; }
.watch-page .kn-watch .player-card.adblock-blocked > .kn-player-shell { display: none; }
.watch-page .kn-watch .player-card > .adblock-notice { grid-column: 1; grid-row: 1; width: 100%; margin: 0; padding: 28px; border: 0; border-radius: 12px; background: #141923; color: #fff; }
.watch-page .kn-watch .adblock-notice h3 { font-size: 23px; font-weight: 650; line-height: 1.3; }
.watch-page .kn-watch .adblock-notice p { color: #b4c2d7; font-size: 13px; line-height: 1.65; }

/* Structural ad alignment: the card contains only the source strip and frame. */
.watch-page .kn-watch .watch-ad-side { display: block; grid-column: 2; grid-row: 1; align-self: stretch; width: 100%; min-width: 0; min-height: 0; height: auto; margin: 0; aspect-ratio: auto; border-radius: 12px; }
.watch-page .kn-watch .watch-ad-side .ad-banner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.watch-page .kn-watch .watch-ad-top { display: none; }
.watch-page .kn-watch .ad-placeholder { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; padding: 44px 28px; border: 1px solid #2b394e; border-radius: 12px; background: #101a29; text-align: left; }
.watch-page .kn-watch .watch-ad-side.ad-placeholder { display: flex; }
.watch-page .kn-watch .watch-ad-top.ad-placeholder { display: none; }
.watch-page .kn-watch .ad-placeholder .ad-placeholder-tag,
.watch-page .kn-watch .ad-banner-tag { position: absolute; left: 22px; top: 18px; min-height: 0; padding: 0; border: 0; border-radius: 0; background: none; color: #a3b8d5; font-size: 11px; line-height: 1.4; font-weight: 400; letter-spacing: 0; text-transform: none; backdrop-filter: none; }
.watch-page .kn-watch .ad-placeholder-text { display: block; max-width: 100%; margin: 0 0 17px; font-size: 29px; line-height: 1.16; font-weight: 600; letter-spacing: -.02em; color: #e7effc; }
.watch-page .kn-watch .ad-placeholder-hint { display: block; margin: 0; color: #9fb5d3; font-size: 13px; line-height: 1.65; font-weight: 400; letter-spacing: 0; text-transform: none; }
.watch-page .kn-watch .ad-placeholder-contacts { display: flex; flex-direction: column; align-items: flex-start; gap: 0; max-width: 100%; margin-top: 10px; }
.watch-page .kn-watch .ad-placeholder-contact { display: inline-flex; align-items: center; min-height: 40px; max-width: 100%; border: 0; color: #bad6fc; font-size: 13px; line-height: 1.4; font-weight: 400; text-decoration: underline; text-decoration-color: #627c9f; text-underline-offset: 4px; overflow-wrap: anywhere; }
.watch-page .kn-watch .ad-placeholder-contact:hover { color: #fff; text-decoration-color: #c4d9f6; }
.watch-page .kn-watch .ad-premium-note { display: flex; align-items: center; gap: 7px; margin: 18px 0 0; color: #c6b1ef; font-size: 12px; line-height: 1.5; font-weight: 400; }
.watch-page .kn-watch .ad-premium-note svg { width: 14px; height: 14px; flex-shrink: 0; }

/* Secondary actions remain real forms/links, below rather than inside the frame. */
.watch-page .kn-watch .kn-watch-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 20px; min-width: 0; min-height: 64px; margin: 0; padding: 10px 2px; border-bottom: 1px solid var(--kn-line); }
.watch-page .kn-watch .kn-watch-toolbar > :is(form, details) { margin: 0; }
.watch-page .kn-watch .kn-watch-toolbar :is(.button, .kn-theater-button) { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; min-height: 44px; padding: 8px 0; border: 0; border-radius: 6px; background: none; color: #bac9dd; font-size: 12px; line-height: 1.4; font-weight: 500; box-shadow: none; }
.watch-page .kn-watch .kn-watch-toolbar :is(.button, .kn-theater-button):hover { color: #fff; background: none; transform: none; }
.watch-page .kn-watch .kn-watch-toolbar [aria-pressed="true"] { color: #8ec7ff; }
.watch-page .kn-watch .kn-watch-toolbar .watch-icon-button { width: 44px; padding: 10px; }
.watch-page .kn-watch .kn-watch-toolbar svg { width: 18px; height: 18px; }
.watch-page .kn-watch .kn-watch-toolbar .watch-addlist-menu .button-primary { padding-inline: 12px; background: var(--kn-blue); color: #fff; }
.watch-page .kn-watch .kn-watch-toolbar .watch-addlist-menu { background: #141c29; border-color: #354154; border-radius: 8px; }
.watch-page .kn-watch .kn-watch-toolbar .player-fallback { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0 0 0 auto; padding: 0; border: 0; background: none; font-size: 11px; color: #8fa4bf; }
.watch-page .kn-watch .kn-watch-toolbar .player-fallback .button { font-size: 12px; color: #c8d7eb; }
.watch-page .kn-watch .dl-block { margin: 14px 0 0; padding-top: 0; border-top: 0; }
.watch-page .kn-watch .dl-trigger { min-height: 44px; border-radius: 7px; color: #cfbdf4; }
.watch-page .kn-watch .dl-hint { font-size: 11px; line-height: 1.5; color: #91a8c7; }
.watch-page .kn-watch .player-reactions { margin-top: 14px; padding: 0; background: none; border: 0; box-shadow: none; }
.watch-page .kn-watch .player-reactions .reaction-buttons { gap: 14px; }
.watch-page .kn-watch .player-reactions .reaction-buttons button { min-height: 44px; border: 0; border-radius: 6px; background: none; box-shadow: none; color: #aebfd7; font-size: 12px; }
.watch-page .kn-watch .player-reactions .reaction-buttons button.is-active { color: #87bcff; }
.watch-page .kn-watch .player-reactions .reaction-buttons .fa { font-size: 17px; }
.watch-page .kn-watch .player-reactions .reaction-friend-list { font-size: 11px; }

/* Seasons/episodes are hidden until the visitor requests the native dialog. */
.watch-page .kn-watch .kn-episodes-entry { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-top: 20px; }
.watch-page .kn-watch .kn-episodes-trigger { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; margin: 0; padding: 10px 16px; border: 1px solid #354358; border-radius: 7px; background: #141f2f; color: #d5e0ee; font-size: 13px; font-weight: 500; cursor: pointer; }
.watch-page .kn-watch .kn-episodes-trigger:hover { background: #23344a; color: #fff; }
.watch-page .kn-watch .kn-episodes-trigger svg { width: 15px; height: 15px; }
.watch-page .kn-watch .kn-episodes-entry > span { color: #a0b3cb; font-size: 12px; }
.watch-page .kn-watch .kn-episodes-dialog { width: min(760px, calc(100vw - 32px)); max-height: 85svh; padding: 28px; border: 1px solid #39465a; border-radius: 12px; background: #111a28; color: #fff; box-shadow: 0 20px 60px #0009; overflow: hidden; }
.watch-page .kn-watch .kn-episodes-dialog::backdrop { background: #030711c9; }
.watch-page .kn-watch .kn-episodes-dialog:not([open]) { display: none; }
.watch-page .kn-watch .kn-episodes-dialog[open] { display: flex; flex-direction: column; }
.watch-page .kn-watch .kn-episodes-dialog .section-heading { flex-shrink: 0; padding-right: 44px; margin: 0 0 18px; }
.watch-page .kn-watch .kn-episodes-head { flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-right: 44px; margin-bottom: 22px; }
.watch-page .kn-watch .kn-episodes-head > div { min-width: 0; }
.watch-page .kn-watch .kn-episodes-head p { margin: 8px 0 0; color: #a7b9d2; font-size: 12px; line-height: 1.5; }
.watch-page .kn-watch .kn-season-select { flex-shrink: 0; }
.watch-page .kn-watch .kn-season-select select { max-width: 140px; min-height: 44px; padding: 9px 26px 9px 12px; border: 1px solid #354154; border-radius: 6px; background: #141c29; color: #fff; font-size: 13px; }
.watch-page .kn-watch .kn-episodes-dialog :is(h2, .section-heading h2) { margin: 0; font-size: 22px; line-height: 1.25; font-weight: 650; letter-spacing: -.02em; }
.watch-page .kn-watch .kn-episodes-dialog :is(.kn-dialog-close, [data-kn-episodes-close]) { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 6px; background: #202d42; color: #d5e0ee; cursor: pointer; }
.watch-page .kn-watch .kn-episodes-dialog :is(.kn-dialog-close, [data-kn-episodes-close]) svg { width: 17px; height: 17px; }
.watch-page .kn-watch .kn-episodes-dialog .season-pills { flex-shrink: 0; display: flex; gap: 8px; padding: 4px 4px 16px; margin: 0 0 4px; overflow-x: auto; scrollbar-width: thin; }
.watch-page .kn-watch .kn-episodes-dialog .season-pills a { min-height: 44px; padding: 9px 13px; border: 1px solid #354154; border-radius: 6px; background: #141c29; color: #b9c9df; font-size: 13px; font-weight: 500; transform: none; }
.watch-page .kn-watch .kn-episodes-dialog .season-pills a:hover,
.watch-page .kn-watch .kn-episodes-dialog .season-pills a.is-active { background: #19314d; border-color: #375c85; color: #fff; }
.watch-page .kn-watch .kn-episodes-dialog .episode-grid { flex: 0 1 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 0; max-height: min(52svh, 440px); gap: 8px; padding: 3px 5px 5px 3px; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.watch-page .kn-watch .kn-episodes-dialog .episode-card { display: grid; grid-template-columns: 90px minmax(0, 1fr); align-items: center; gap: 13px; min-height: 78px; padding: 9px; border: 1px solid transparent; border-radius: 7px; background: none; box-shadow: none; overflow: visible; transform: none; }
.watch-page .kn-watch .kn-episodes-dialog .episode-card:hover { background: #1c2a3d; box-shadow: none; transform: none; }
.watch-page .kn-watch .kn-episodes-dialog .episode-card.is-active { background: #19314d; border-color: #375c85; box-shadow: none; }
.watch-page .kn-watch .kn-episodes-dialog .episode-still { display: block; width: 90px; height: 54px; min-height: 0; border-radius: 5px; overflow: hidden; aspect-ratio: auto; }
.watch-page .kn-watch .kn-episodes-dialog .episode-still::after { content: none; }
.watch-page .kn-watch .kn-episodes-dialog .episode-still :is(img, .poster-empty) { width: 100%; height: 100%; object-fit: cover; }
.watch-page .kn-watch .kn-episodes-dialog .episode-number { display: none; }
.watch-page .kn-watch .kn-episodes-dialog .episode-body { display: block; min-width: 0; padding: 0; }
.watch-page .kn-watch .kn-episodes-dialog .episode-card-head { display: block; }
.watch-page .kn-watch .kn-episodes-dialog .episode-card h3 { font-size: 14px; line-height: 1.4; font-weight: 500; overflow-wrap: anywhere; }
.watch-page .kn-watch .kn-episodes-dialog .episode-card p { font-size: 11px; color: #9eb4d1; line-height: 1.4; }
.watch-page .kn-watch .kn-episodes-dialog :is(.episode-card .rating-badge, .episode-body > p:not(.episode-date)) { display: none; }
.watch-page .kn-watch .kn-episodes-dialog .episode-watch { min-height: 32px; margin-top: 2px; padding: 5px 0; border-radius: 0; background: none; font-size: 12px; line-height: 1.4; font-weight: 500; color: #9fcaff; }

/* Existing information, comments and timecodes remain functional tab panels. */
.watch-page .kn-watch .kn-details { margin-top: 40px; }
.watch-page .kn-watch .kn-detail-tabs { display: flex; gap: 30px; width: 100%; border-bottom: 1px solid var(--kn-line); overflow-x: auto; }
.watch-page .kn-watch [data-kn-detail-tab] { position: relative; min-height: 52px; padding: 14px 0; border: 0; background: none; color: #99aec9; font-size: 15px; line-height: 1.4; font-weight: 400; white-space: nowrap; cursor: pointer; }
.watch-page .kn-watch [data-kn-detail-tab][aria-selected="true"] { color: #fff; }
.watch-page .kn-watch [data-kn-detail-tab][aria-selected="true"]::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: #73aeff; }
.watch-page .kn-watch [data-kn-detail-panel] { margin: 0; padding-top: 26px; }
.watch-page .kn-watch [data-kn-detail-panel] > .comments-section,
.watch-page .kn-watch [data-kn-detail-panel] > .tc-section { margin-top: 0; }
.watch-page .kn-watch [data-kn-detail-panel="about"] { display: block; }
.watch-page .kn-watch .kn-about-layout { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 24px 72px; align-items: start; }
.watch-page .kn-watch .kn-overview { min-width: 0; }
.watch-page .kn-watch .kn-overview h2,
.watch-page .kn-watch .kn-personal-rating h2 { margin: 0 0 14px; font-size: 19px; line-height: 1.3; font-weight: 650; }
.watch-page .kn-watch .kn-overview > p { max-width: 72ch; margin: 0 0 24px; color: #b4c2d7; font-size: 14px; line-height: 1.75; }
.watch-page .kn-watch .kn-details .details-section { grid-column: 1; margin-top: 0; }
.watch-page .kn-watch .kn-details .details-section > .section-heading { display: none; }
.watch-page .kn-watch .details-card { display: flex; flex-wrap: wrap; gap: 18px 36px; border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; }
.watch-page .kn-watch .details-item { display: grid; gap: 5px; align-content: start; min-height: 0; min-width: 110px; max-width: 100%; padding: 0; border: 0; background: none; }
.watch-page .kn-watch .details-item > span { color: #8fa4bf; font-size: 11px; }
.watch-page .kn-watch .details-item > strong { color: #d5e1f0; font-size: 13px; line-height: 1.5; font-weight: 400; overflow-wrap: anywhere; }
.watch-page .kn-watch .kn-personal-rating { grid-column: 2; grid-row: 1; align-self: start; min-width: 0; }
.watch-page .kn-watch .kn-personal-rating > p { margin: 0 0 12px; color: #9db0c9; font-size: 12px; line-height: 1.5; }
.watch-page .kn-watch .kn-rating-scale { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 4px; }
.watch-page .kn-watch .kn-personal-rating [data-kn-rating] { min-width: 0; min-height: 44px; padding: 6px 0; border: 1px solid #354358; border-radius: 5px; background: #131e2d; color: #cedaeb; font-size: 12px; font-weight: 400; cursor: pointer; }
.watch-page .kn-watch .kn-personal-rating [data-kn-rating]:hover { background: #233f63; }
.watch-page .kn-watch .kn-personal-rating [data-kn-rating][aria-pressed="true"] { border-color: #64a9ff; background: #1a568c; color: #fff; }
.watch-page .kn-watch .kn-rating-status { display: block; margin-top: 10px; color: #91a4bf; font-size: 11px; line-height: 1.6; }
.watch-page .kn-watch .comments-section { max-width: 900px; }
.watch-page .kn-watch .comments-section .section-heading h2,
.watch-page .kn-watch .tc-section .section-heading h2 { font-size: 19px; }
.watch-page .kn-watch .comments-panel { padding: 0; border: 0; background: none; box-shadow: none; }
.watch-page .kn-watch .comment-form { padding: 0; border: 0; background: none; }
.watch-page .kn-watch .comment-form textarea { width: 100%; min-height: 110px; border: 1px solid #354358; border-radius: 7px; background: #111a28; color: #fff; font-size: 14px; line-height: 1.6; }
.watch-page .kn-watch .comment-form textarea::placeholder { color: #8fa3bd; opacity: 1; }
.watch-page .kn-watch .comment-form .button-primary,
.watch-page .kn-watch .comments-login .button-primary,
.watch-page .kn-watch .tc-section .button-primary { min-height: 44px; padding: 10px 16px; border: 0; border-radius: 7px; background: var(--kn-blue); color: #fff; font-size: 13px; box-shadow: none; }
.watch-page .kn-watch .comment-card { border: 0; border-bottom: 1px solid var(--kn-line); border-radius: 0; padding: 20px 0; background: none; box-shadow: none; }
.watch-page .kn-watch .comment-card > p { color: #c6d3e5; font-size: 14px; line-height: 1.7; }
.watch-page .kn-watch .tc-section { max-width: 900px; }
.watch-page .kn-watch .tc-section .tc-at { min-height: 44px; border-color: #354358; border-radius: 7px; background: #141c29; color: #bdcde2; font-size: 13px; font-weight: 500; }
.watch-page .kn-watch .tc-section input[data-tc-input] { min-height: 44px; border-color: #354358; border-radius: 7px; background: #111a28; color: #fff; font-size: 14px; }
.watch-page .kn-watch .tc-guest,
.watch-page .kn-watch .tc-empty,
.watch-page .kn-watch .comments-login p,
.watch-page .kn-watch .comments-empty { color: #9eb2cd; font-size: 13px; line-height: 1.6; }

/* Portraits and recommendations: imagery, not nested card decoration. */
.watch-page .kn-watch .kn-cast-hint { margin: 7px 0 0; color: var(--kn-muted); font-size: 12px; line-height: 1.5; }
.watch-page .kn-watch .rail-arrow { display: inline-grid; place-items: center; width: 44px; height: 44px; min-width: 44px; padding: 0; border: 0; border-radius: 7px; background: var(--kn-surface); color: #c6d3e5; box-shadow: none; }
.watch-page .kn-watch .rail-arrow:hover { background: #23344a; color: #fff; transform: none; }
.watch-page .kn-watch .rail-arrow:disabled { opacity: .4; cursor: default; }
.watch-page .kn-watch .cast-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 148px; gap: 20px; width: 100%; max-width: 100%; margin: 0; padding: 6px 5px 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: 5px; scrollbar-width: thin; }
.watch-page .kn-watch .cast-rail::-webkit-scrollbar { display: block; height: 6px; }
.watch-page .kn-watch .cast-card { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; transform: none; }
.watch-page .kn-watch .cast-card:hover { padding: 0; border: 0; background: none; box-shadow: none; transform: none; }
.watch-page .kn-watch .cast-card-link { display: block; min-width: 0; border-radius: 8px; }
.watch-page .kn-watch .cast-card :is(img, .cast-photo-placeholder) { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; margin: 0 0 12px; border-radius: 8px; background: var(--kn-surface); object-fit: cover; object-position: center top; }
.watch-page .kn-watch .cast-card strong { display: block; margin: 0; overflow: visible; color: #fff; font-size: 13px; line-height: 1.45; font-weight: 600; white-space: normal; text-overflow: clip; overflow-wrap: anywhere; }
.watch-page .kn-watch .cast-card span:not(.cast-photo-placeholder) { display: block; margin-top: 4px; color: var(--kn-muted); font-size: 12px; line-height: 1.45; -webkit-line-clamp: unset; overflow-wrap: anywhere; }
.watch-page .kn-watch .cast-card a:hover strong { color: #a9d2ff; }
.watch-page .kn-watch .kn-recommendations .media-rail { width: 100%; max-width: 100%; margin-inline: 0; grid-auto-columns: calc((100% - 100px) / 6); gap: 20px; }
.watch-page .kn-watch .kn-recommendations .media-card { border: 0; background: none; box-shadow: none; }
.watch-page .kn-watch .kn-recommendations .media-card:hover { transform: none; }
.watch-page .kn-watch .kn-recommendations .media-poster { border: 0; border-radius: 8px; box-shadow: none; }
.watch-page .kn-watch .kn-recommendations .media-card-body { padding: 10px 0 0; }
.watch-page .kn-watch .kn-recommendations .media-title { font-size: 13px; line-height: 1.4; font-weight: 600; }
.watch-page .kn-watch .kn-recommendations .media-meta { color: #9eb1ca; font-size: 11px; line-height: 1.5; }
.watch-page .kn-watch .kn-recommendations .media-card::before,
.watch-page .kn-watch .kn-recommendations .media-card::after { content: none; }

/* Leave room for the header, source strip and actions on short laptop screens. */
@media (min-width: 761px) {
    .watch-page .kn-watch { --kn-normal-width: min(1120px, calc(max(180px, calc(100svh - var(--header-height, 84px) - 220px)) * 16 / 9)); }
    .watch-page .kn-watch.kn-theater { --kn-theater-height: max(240px, calc(100svh - var(--header-height, 84px) - 144px)); }
    .watch-page .kn-watch.kn-theater .player-frame:not(.premium-frame),
    .watch-page .kn-watch.kn-theater .premium-stage:not(.kp-fullscreen):not(:fullscreen),
    .watch-page .kn-watch.kn-theater .premium-gate { max-height: var(--kn-theater-height); }
}
@media (min-width: 1700px) {
    .watch-page .page-shell:has(> .kn-watch) { padding-inline: 56px; }
    .watch-page .kn-watch { --kn-gutter: 56px; }
    .watch-page .kn-watch .player-ad-row { --kn-ad-width: 320px; }
}
@media (max-width: 1250px) {
    .watch-page .page-shell:has(> .kn-watch) { padding-inline: 28px; }
    .watch-page .kn-watch { --kn-gutter: 28px; }
    .watch-page .kn-watch .player-ad-row { --kn-ad-width: 280px; --kn-ad-gap: 20px; }
    .watch-page .kn-watch .watch-ad-side.ad-placeholder { padding-inline: 24px; }
    .watch-page .kn-watch .ad-placeholder-text { font-size: 27px; }
    .watch-page .kn-watch .kn-about-layout { grid-template-columns: minmax(0, 1fr) 340px; column-gap: 44px; }
    .watch-page .kn-watch .kn-watch-toolbar { gap: 8px 16px; }
}
@media (max-width: 1000px) {
    .watch-page .kn-watch .watch-hero.kn-summary { grid-template-columns: 112px minmax(0, 1fr); gap: 10px 22px; }
    .watch-page .kn-watch .kn-summary .watch-poster { width: 112px; height: 168px; }
    .watch-page .kn-watch .kn-summary h1 { font-size: 30px; }
    .watch-page .kn-watch .kn-about-layout { grid-template-columns: minmax(0, 1fr) 320px; column-gap: 32px; }
    .watch-page .kn-watch .section-heading h2 { font-size: 23px; }
    .watch-page .kn-watch .cast-rail { grid-auto-columns: 136px; gap: 18px; }
}
@media (max-width: 920px) {
    .watch-page .kn-watch .player-ad-row { display: block; }
    .watch-page .kn-watch .player-card { display: block; width: 100%; max-width: 100%; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
    .watch-page .kn-watch .kn-player-shell { width: 100%; }
    .watch-page .kn-watch .watch-ad-side,
    .watch-page .kn-watch .watch-ad-side.ad-placeholder { display: none; }
    .watch-page .kn-watch .watch-ad-top { display: block; width: 100%; min-height: 220px; aspect-ratio: 16 / 9; margin: 0 0 24px; border-radius: 12px; }
    .watch-page .kn-watch .watch-ad-top.ad-placeholder { display: flex; align-items: center; justify-content: center; padding: 40px 26px 26px; text-align: center; }
    .watch-page .kn-watch .watch-ad-top .ad-placeholder-text { max-width: 24ch; margin-bottom: 12px; font-size: 30px; }
    .watch-page .kn-watch .watch-ad-top .ad-placeholder-hint { font-size: 12px; }
    .watch-page .kn-watch .watch-ad-top .ad-placeholder-contacts { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 16px; }
    .watch-page .kn-watch .watch-ad-top .ad-premium-note { justify-content: center; }
    .watch-page .kn-watch .kn-watch-toolbar .player-fallback > span { display: none; }
}
@media (max-width: 700px) {
    .watch-page .page-shell:has(> .kn-watch) { padding-inline: 18px; }
    .watch-page .kn-watch { --kn-gutter: 18px; }
    .watch-page .kn-watch .breadcrumbs { margin: 18px 0 13px; gap: 6px; font-size: 11px; }
    .watch-page .kn-watch .watch-hero.kn-summary { grid-template-columns: 80px minmax(0, 1fr); gap: 15px 16px; margin: 20px 0 24px; }
    .watch-page .kn-watch .kn-summary .watch-poster { grid-row: 1 / 3; width: 80px; height: 120px; border-radius: 6px; }
    .watch-page .kn-watch .kn-summary h1 { align-self: end; margin: 0; font-size: 25px; line-height: 1.15; }
    .watch-page .kn-watch .kn-summary .watch-badges { align-self: start; gap: 7px 10px; }
    .watch-page .kn-watch .kn-summary .watch-badges > :is(a, span) { font-size: 11px; }
    .watch-page .kn-watch .kn-summary .watch-description { grid-column: 1 / -1; grid-row: 3; font-size: 13px; line-height: 1.65; }
    .watch-page .kn-watch .kn-summary .watch-actions { grid-column: 1 / -1; grid-row: 4; gap: 8px; margin: 0; }
    .watch-page .kn-watch .kn-summary .watch-actions .button { flex: 0 0 auto; min-width: 0; min-height: 44px; width: auto; font-size: 13px; }
    .watch-page .kn-watch .kn-summary .watch-actions .button-primary { padding-inline: 17px; }
    .watch-page .kn-watch .kn-summary .watch-actions .watch-icon-button { width: 44px; }
    .watch-page .kn-watch .kn-player-shell { width: 100%; max-width: none; margin-inline: 0; }
    .watch-page .kn-watch .kn-player-shell > .player-tabs { min-height: 52px; gap: 23px; padding-inline: 18px; }
    .watch-page .kn-watch .player-tabs button { min-height: 52px; font-size: 12px; }
    .watch-page .kn-watch .premium-tab-text { font-size: 12px; }
    .watch-page .kn-watch .player-frame { border-radius: 0 0 12px 12px; }
    .watch-page .kn-watch .premium-stage,
    .watch-page .kn-watch .premium-video { border-radius: 0 0 12px 12px; }
    .watch-page .kn-watch .premium-gate { min-height: 220px; padding: 20px 18px; gap: 9px; }
    .watch-page .kn-watch .premium-gate-title { font-size: 23px; }
    .watch-page .kn-watch .premium-gate-text { font-size: 12px; line-height: 1.5; }
    .watch-page .kn-watch .premium-frame .premium-controls { gap: 8px; padding: 12px 18px; }
    .watch-page .kn-watch .premium-frame .premium-field { flex-basis: 130px; }
    .watch-page .kn-watch .player-placeholder { padding: 18px; }
    .watch-page .kn-watch .player-placeholder strong { font-size: 18px; }
    .watch-page .kn-watch .player-placeholder span { font-size: 11px; }
    .watch-page .kn-watch .watch-ad-top { min-height: 220px; margin-bottom: 22px; border-radius: 10px; }
    .watch-page .kn-watch .watch-ad-top.ad-placeholder { padding: 35px 18px 22px; }
    .watch-page .kn-watch .watch-ad-top .ad-placeholder-text { margin-bottom: 10px; font-size: 22px; line-height: 1.15; }
    .watch-page .kn-watch .watch-ad-top .ad-placeholder-hint { font-size: 11px; }
    .watch-page .kn-watch .ad-placeholder .ad-placeholder-tag,
    .watch-page .kn-watch .ad-banner-tag { left: 15px; top: 12px; }
    .watch-page .kn-watch .watch-ad-top .ad-placeholder-contacts { gap: 0 14px; margin-top: 7px; }
    .watch-page .kn-watch .ad-placeholder-contact { min-height: 44px; font-size: 12px; }
    .watch-page .kn-watch .watch-ad-top .ad-premium-note { margin-top: 12px; font-size: 11px; }
    .watch-page .kn-watch .kn-watch-toolbar { min-height: 58px; gap: 6px 14px; padding-block: 8px; }
    .watch-page .kn-watch .kn-watch-toolbar :is(.button, .kn-theater-button) { font-size: 11px; }
    .watch-page .kn-watch .kn-watch-toolbar .button { width: auto; }
    .watch-page .kn-watch .kn-watch-toolbar .player-fallback .button { font-size: 11px; }
    .watch-page .kn-watch .kn-watch-toolbar .watch-room-create { flex: 0 1 auto; }
    .watch-page .kn-watch .kn-watch-toolbar .watch-icon-button { width: 44px; }
    .watch-page .kn-watch .player-reactions { margin-top: 12px; }
    .watch-page .kn-watch .kn-episodes-entry { margin-top: 18px; gap: 10px 14px; }
    .watch-page .kn-watch .kn-episodes-trigger { font-size: 12px; }
    .watch-page .kn-watch .kn-episodes-entry > span { font-size: 11px; }
    .watch-page .kn-watch .kn-episodes-dialog { padding: 24px 18px; max-height: 88svh; }
    .watch-page .kn-watch .kn-episodes-dialog .section-heading { padding-right: 38px; margin-bottom: 16px; }
    .watch-page .kn-watch .kn-episodes-head { display: block; padding-right: 40px; margin-bottom: 17px; }
    .watch-page .kn-watch .kn-season-select { display: block; margin-top: 16px; }
    .watch-page .kn-watch .kn-episodes-dialog :is(h2, .section-heading h2) { font-size: 21px; }
    .watch-page .kn-watch .kn-episodes-dialog .episode-grid { max-height: 48svh; gap: 6px; }
    .watch-page .kn-watch .kn-episodes-dialog .episode-card { grid-template-columns: 56px minmax(0, 1fr); gap: 8px; min-height: 68px; padding: 7px; }
    .watch-page .kn-watch .kn-episodes-dialog .episode-still { width: 56px; height: 38px; }
    .watch-page .kn-watch .kn-episodes-dialog .episode-card h3 { font-size: 12px; }
    .watch-page .kn-watch .kn-episodes-dialog .episode-watch { font-size: 11px; }
    .watch-page .kn-watch .kn-details { margin-top: 30px; }
    .watch-page .kn-watch .kn-detail-tabs { gap: 28px; }
    .watch-page .kn-watch [data-kn-detail-tab] { min-height: 50px; font-size: 14px; }
    .watch-page .kn-watch [data-kn-detail-panel] { padding-top: 23px; }
    .watch-page .kn-watch .kn-about-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .watch-page .kn-watch .kn-personal-rating { grid-column: 1; grid-row: auto; padding-top: 24px; border-top: 1px solid var(--kn-line); }
    .watch-page .kn-watch .kn-overview h2,
    .watch-page .kn-watch .kn-personal-rating h2 { font-size: 18px; }
    .watch-page .kn-watch .kn-overview > p { font-size: 13px; }
    .watch-page .kn-watch .details-card { gap: 16px 30px; }
    .watch-page .kn-watch .kn-rating-scale { max-width: 420px; }
    .watch-page .kn-watch .section-block { margin-top: 36px; }
    .watch-page .kn-watch .section-heading { gap: 12px; margin-bottom: 18px; }
    .watch-page .kn-watch .section-heading h2 { font-size: 22px; }
    .watch-page .kn-watch .cast-section .section-heading { align-items: flex-start; }
    .watch-page .kn-watch .cast-section .section-subtitle { max-width: 27ch; font-size: 11px; }
    .watch-page .kn-watch .kn-cast-hint { max-width: 27ch; font-size: 11px; }
    .watch-page .kn-watch .cast-rail { grid-auto-columns: 124px; gap: 15px; }
    .watch-page .kn-watch .cast-card :is(img, .cast-photo-placeholder) { margin-bottom: 10px; }
    .watch-page .kn-watch .cast-card strong { font-size: 12px; }
    .watch-page .kn-watch .cast-card span:not(.cast-photo-placeholder) { font-size: 11px; }
    .watch-page .kn-watch .kn-recommendations .media-rail { grid-auto-columns: 38%; gap: 13px; }
    .watch-page .kn-watch .kn-recommendations .media-title { font-size: 12px; }
}
@media (max-width: 360px) {
    .watch-page .page-shell:has(> .kn-watch) { padding-inline: 14px; }
    .watch-page .kn-watch { --kn-gutter: 14px; }
    .watch-page .kn-watch .watch-hero.kn-summary { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; }
    .watch-page .kn-watch .kn-summary .watch-poster { width: 72px; height: 108px; }
    .watch-page .kn-watch .kn-summary h1 { font-size: 23px; }
    .watch-page .kn-watch .kn-summary .watch-actions { gap: 6px; }
    .watch-page .kn-watch .kn-summary .watch-actions .button-primary { padding-inline: 14px; }
    .watch-page .kn-watch .watch-ad-top .ad-placeholder-text { font-size: 20px; }
    .watch-page .kn-watch .kn-episodes-dialog .episode-grid { grid-template-columns: minmax(0, 1fr); }
    .watch-page .kn-watch .kn-rating-scale { gap: 3px; }
}
@media (prefers-reduced-motion: reduce) {
    .watch-page .kn-watch *,
    .watch-page .kn-watch *::before,
    .watch-page .kn-watch *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
