/* Known For: the movie database's own look. Dark header and heroes, white reading pages, yellow section bars. */
:root {
  --y: #f5c518; --hdr: #121212; --dk: #1f1f1f; --ink: rgba(0, 0, 0, .87); --mut: rgba(0, 0, 0, .54); --line: rgba(0, 0, 0, .12);
  --dmut: rgba(255, 255, 255, .7); --dline: rgba(255, 255, 255, .17); --blue: #0e63be; --dblue: #5799ef;
  --gut: 24px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font: 16px/1.5 Roboto, Helvetica, Arial, sans-serif; overflow-x: hidden; }
body.kf-locked { overflow: hidden; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--y); outline-offset: 2px; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gut); }
.kf-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg { display: block; }
img { max-width: 100%; }

/* ---------------- header */
.kf-hdr { position: sticky; top: 0; z-index: 40; background: var(--hdr); color: #fff; }
.kf-hdr-in { display: flex; align-items: center; gap: 8px; height: 56px; }
.kf-menu-btn { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px 0 8px; border: 0; border-radius: 4px; background: none; color: #fff; font-weight: 600; font-size: 14px; flex: none; }
.kf-menu-btn svg { width: 24px; height: 24px; }
.kf-menu-btn:hover, .kf-hdr-links a:hover { background: rgba(255, 255, 255, .08); text-decoration: none; }
.kf-sb { position: relative; flex: 1; min-width: 0; max-width: 820px; display: flex; height: 32px; background: #fff; border-radius: 4px; }
.kf-sb input { flex: 1; min-width: 0; border: 0; background: none; padding: 0 12px; font: 16px Roboto, Helvetica, Arial, sans-serif; color: #000; border-radius: 4px 0 0 4px; -webkit-appearance: none; appearance: none; }
.kf-sb input::placeholder { color: #757575; }
.kf-sb input::-webkit-search-cancel-button { -webkit-appearance: none; }
.kf-sb input:focus { outline: none; }
.kf-sb:focus-within { box-shadow: 0 0 0 2px var(--y); }
.kf-sb-go { flex: none; width: 40px; border: 0; background: none; color: rgba(0, 0, 0, .54); display: grid; place-items: center; border-radius: 0 4px 4px 0; }
.kf-sb-go svg { width: 22px; height: 22px; }
.kf-hdr-links { display: flex; gap: 2px; flex: none; }
.kf-hdr-links a { color: #fff; font-weight: 600; font-size: 14px; padding: 8px 12px; border-radius: 4px; white-space: nowrap; }

.kf-suggest { position: absolute; top: calc(100% + 4px); left: 0; right: 0; margin: 0; padding: 4px 0; list-style: none; background: var(--dk); color: #fff; border-radius: 4px; box-shadow: 0 8px 24px rgba(0, 0, 0, .5); z-index: 45; max-height: 70vh; overflow-y: auto; }
.kf-suggest[hidden] { display: none; }
.kf-sg { display: flex; gap: 12px; align-items: center; padding: 8px 12px; color: #fff; }
.kf-sg:hover, .kf-sg.is-sel { background: rgba(255, 255, 255, .08); text-decoration: none; }
.kf-sg-pic { flex: none; width: 36px; }
.kf-sg-pic img, .kf-sg-pic svg { display: block; width: 36px; height: 54px; object-fit: cover; border-radius: 2px; }
.kf-sg-text { min-width: 0; display: grid; }
.kf-sg-a { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kf-sg-b { font-size: 14px; color: var(--dmut); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kf-sg-all a { display: block; padding: 10px 12px; color: var(--dblue); font-size: 14px; border-top: 1px solid var(--dline); }

/* ---------------- section heads: the yellow bar */
.kf-sh { margin: 0 0 16px; padding-left: 12px; border-left: 4px solid var(--y); font-size: 24px; line-height: 1.25; font-weight: 600; }
.kf-sh-link { display: inline-flex; align-items: center; color: inherit; }
a.kf-sh-link:hover { text-decoration: none; }
a.kf-sh-link:hover .kf-chev { color: var(--y); }
.kf-chev { width: 28px; height: 28px; flex: none; }
.kf-dot { margin: 0 8px; opacity: .7; }

/* ---------------- poster rows */
.kf-rail { position: relative; }
.kf-rail-track { display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px 2px 8px; }
.kf-rail-track::-webkit-scrollbar { display: none; }
.kf-rail-btn { position: absolute; top: 30%; z-index: 2; width: 48px; height: 72px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .7); border-radius: 4px; background: rgba(18, 18, 18, .55); color: #fff; }
.kf-rail-btn:hover { color: var(--y); }
.kf-rail-btn[hidden] { display: none; }
.kf-rail-btn svg { width: 32px; height: 32px; }
.kf-rail-btn.kf-prev { left: 0; }
.kf-rail-btn.kf-next { right: 0; }
.kf-card { flex: 0 0 clamp(132px, 14.6vw, 184px); scroll-snap-align: start; display: flex; flex-direction: column; background: #1a1a1a; border-radius: 6px; overflow: hidden; }
.kf-card-link { display: flex; flex-direction: column; color: #fff; flex: 1; }
.kf-card-link:hover { text-decoration: none; }
.kf-card-link:hover .kf-card-title { text-decoration: underline; }
.kf-card-art { display: block; background: #2a2a2a; }
.kf-card-art img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; }
.kf-card-title { padding: 10px 10px 0; font-size: 16px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kf-card-sub { padding: 2px 10px 12px; font-size: 13px; color: var(--dmut); }
.kf-trailer { margin: auto 8px 8px; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 8px; border: 0; border-radius: 100px; background: rgba(255, 255, 255, .08); color: #fff; font-size: 14px; font-weight: 600; }
.kf-trailer svg { width: 18px; height: 18px; }
.kf-trailer:hover { background: rgba(255, 255, 255, .16); }
.kf-th-body .kf-card, .kf-th-body .kf-card-link { background: #fff; color: var(--ink); }
.kf-th-body .kf-card { box-shadow: 0 1px 4px rgba(0, 0, 0, .22); }
.kf-th-body .kf-card-sub { color: var(--mut); }
.kf-th-body .kf-rail-track { padding: 4px 4px 12px; }

/* ---------------- home */
.kf-home { background: #000; color: #fff; padding: 16px 0 48px; }
.kf-hh { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 16px; }
.kf-hh-stage { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 4px; }
.kf-hh-still { all: unset; position: absolute; inset: 0; cursor: pointer; display: block; }
.kf-hh-still img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 4px; }
.kf-hh-still::after { content: ''; position: absolute; inset: 0; border-radius: 4px; background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 62%, rgba(0, 0, 0, .55)); pointer-events: none; }
.kf-hh-still:focus-visible { outline: 2px solid var(--y); outline-offset: 2px; }
.kf-hh-player, .kf-hh-player .ab-media, .kf-hh-player .ab-section, .kf-hh-player .ab-films { height: 100%; }
.kf-hh-player .ab-film figcaption { display: none; }
.kf-hh-player .ab-landscape .ab-frame { height: 100%; aspect-ratio: auto; }
.kf-hh-player .ab-portrait { height: 100%; align-content: center; }
.kf-hh-player .ab-portrait .ab-film { width: auto; height: 100%; aspect-ratio: 9 / 16; }
.kf-hh-player .ab-portrait .ab-frame { height: 100%; width: auto; }
.kf-hh-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 48px; height: 72px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .7); border-radius: 4px; background: rgba(18, 18, 18, .45); color: #fff; }
.kf-hh-arrow:hover { color: var(--y); }
.kf-hh-arrow svg { width: 32px; height: 32px; }
.kf-hh-arrow.kf-prev { left: 12px; }
.kf-hh-arrow.kf-next { right: 12px; }
.kf-hh-player ~ .kf-hh-arrow { display: none; }
.kf-hh-caption { position: relative; z-index: 3; display: flex; align-items: flex-end; gap: 16px; margin: -76px 0 0 16px; min-height: 76px; }
.kf-hh-main.is-playing .kf-hh-caption { margin-top: 12px; min-height: 0; }
.kf-hh-plink { flex: none; }
.kf-hh-poster { display: block; width: 108px; box-shadow: 0 4px 16px rgba(0, 0, 0, .6); border-radius: 4px; overflow: hidden; }
.kf-hh-poster img { display: block; width: 100%; height: auto; }
.kf-hh-text { padding-bottom: 4px; min-width: 0; }
.kf-hh-play { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 12px; }
.kf-hh-play:focus-visible { outline: 2px solid var(--y); outline-offset: 2px; }
.kf-hh-play .kf-ring { width: 48px; height: 48px; color: #fff; }
.kf-hh-play:hover .kf-ring { color: var(--y); }
.kf-hh-film { font-size: 26px; line-height: 1.2; font-weight: 400; }
.kf-hh-name { margin-top: 4px; font-size: 18px; line-height: 1.3; }
.kf-hh-name a { color: #fff; }
.kf-hh-sub { font-size: 14px; color: var(--dmut); }
.kf-upnext-h { margin: 0 0 12px; color: var(--y); font-size: 20px; font-weight: 600; }
.kf-upnext-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; background: linear-gradient(to bottom, #000, #1a1a1a); border-radius: 4px; }
.kf-un { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; align-items: start; width: 100%; padding: 8px 8px 8px 0; border-radius: 4px; }
.kf-un:hover .kf-un-film { text-decoration: underline; }
.kf-un:hover .kf-ring { color: var(--y); }
.kf-un:focus-visible { outline: 2px solid var(--y); outline-offset: 2px; }
.kf-un-art img { display: block; width: 88px; height: auto; border-radius: 2px; }
.kf-un-text { display: grid; gap: 4px; padding-top: 4px; }
.kf-un-play .kf-ring { width: 32px; height: 32px; color: #fff; }
.kf-un-film { font-size: 16px; line-height: 1.3; }
.kf-un-name { font-size: 14px; color: var(--dmut); }
.kf-block { margin-top: 28px; }
.kf-wtw { margin: 0 0 14px; color: var(--y); font-size: 32px; line-height: 1.2; font-weight: 600; }
.kf-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 0 16px; padding: 2px; }
.kf-tabs::-webkit-scrollbar { display: none; }
.kf-tab { flex: none; padding: 6px 16px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 100px; background: none; color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap; }
.kf-tab:hover { background: rgba(255, 255, 255, .08); }
.kf-tab[aria-selected="true"] { background: rgba(255, 255, 255, .16); border-color: transparent; color: var(--y); }

/* ---------------- title page hero */
.kf-th { position: relative; color: #fff; background: var(--dk); padding: 20px 0 8px; isolation: isolate; }
.kf-th-bg { position: absolute; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; }
.kf-th-bg::before { content: ''; position: absolute; inset: -60px; background: var(--bg) center / cover no-repeat; filter: blur(60px) saturate(1.3); opacity: .38; }
.kf-th-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(31, 31, 31, .2), rgba(31, 31, 31, .85)); }
.kf-th-title { margin: 0; font-size: 48px; line-height: 1.15; font-weight: 400; letter-spacing: -.01em; overflow-wrap: anywhere; }
.kf-th-meta { list-style: none; display: flex; flex-wrap: wrap; margin: 6px 0 16px; padding: 0; font-size: 14px; color: var(--dmut); }
.kf-th-meta li + li::before { content: '\00b7'; margin: 0 8px; }
.kf-th-media { --tw: 192px; --gap: 4px; --h: calc((min(100vw, 1280px) - 2 * var(--gut) - var(--tw) - 2 * var(--gap) - 16px) / 2.4445); display: grid; grid-template-columns: calc(var(--h) * 2 / 3) minmax(0, 1fr) var(--tw); gap: var(--gap); align-items: start; }
.kf-th-media.no-tiles { --tw: 0px; grid-template-columns: calc(var(--h) * 2 / 3) minmax(0, 1fr); }
.kf-th-poster .ab-media, .kf-th-poster .ab-section { gap: 0; }
.kf-th-poster .ab-image img { width: 100%; height: auto; max-height: none; }
.kf-th-poster .ab-zoom { width: 100%; }
.kf-feature { min-width: 0; }
.kf-feature .ab-media, .kf-feature .ab-section { gap: 0; }
.kf-feature figcaption { color: var(--dmut); font-size: 14px; margin-top: 6px; }
.kf-feature.is-portrait .ab-films { background: #000; padding: 0; }
.kf-feature.is-portrait .ab-portrait .ab-film { width: calc((var(--h) - 30px) * 9 / 16); }
.kf-feature.is-picture .ab-section { background: #000; min-height: var(--h); align-content: center; }
.kf-feature.is-picture .ab-image img { max-height: var(--h); }
.kf-tiles { display: grid; grid-auto-rows: 1fr; gap: var(--gap); height: var(--h); }
.kf-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border: 0; background: rgba(255, 255, 255, .08); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.kf-tile svg { width: 32px; height: 32px; }
.kf-tile:hover { background: rgba(255, 255, 255, .16); }
.kf-th-info { max-width: 860px; margin-top: 16px; }
.kf-th-mposter { display: none; }
.kf-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.kf-chip { padding: 3px 12px; border: 1px solid var(--line); border-radius: 100px; font-size: 14px; }
.kf-chips.is-dark .kf-chip { border-color: rgba(255, 255, 255, .38); }
.kf-plot { margin: 0 0 8px; font-size: 16px; line-height: 1.5; }
.kf-pcs { list-style: none; margin: 8px 0 0; padding: 0; }
.kf-pc { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 12px; padding: 12px 0; border-top: 1px solid var(--dline); }
.kf-pc-label { font-weight: 600; }
.kf-pc-names { min-width: 0; }
.kf-th .kf-pc a { color: var(--dblue); }
.kf-pc-all a { display: inline-flex; align-items: center; font-weight: 600; }
.kf-th .kf-pc-all a { color: #fff; }
.kf-pc-all .kf-chev { width: 22px; height: 22px; }
.kf-pcs.is-light .kf-pc { border-color: var(--line); }
.kf-pcs.is-light .kf-pc-all a { color: var(--ink); }

/* ---------------- title page body */
.kf-th-body { padding-top: 32px; padding-bottom: 48px; }
.kf-sec { margin: 0 0 44px; }
.kf-text { max-width: 860px; }
.kf-th-body .ab-media { --ab-fg: var(--ink); --ab-muted: var(--mut); --ab-accent: var(--blue); gap: 28px; }
.kf-th-body .ab-heading { font-size: 18px; font-weight: 600; color: var(--ink); }
.kf-th-body figcaption { color: var(--ink); font-size: 14px; }
@media (min-width: 720px) {
  .kf-videos .ab-landscape { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kf-videos .ab-portrait { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
  .kf-videos .ab-portrait .ab-film { width: min(100%, 300px, calc((100svh - 140px) * 9 / 16)); }
  .kf-photos .ab-group { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; }
  .kf-photos .ab-image { flex: 0 1 auto; display: block; }
  .kf-photos .ab-image img { height: 240px; width: auto; max-width: 100%; max-height: none; object-fit: contain; background: #f2f2f2; }
}
@media (min-width: 1100px) { .kf-videos .ab-landscape { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.kf-sound { display: grid; gap: 20px; }
.kf-sound .ab-media, .kf-sound .ab-section { gap: 8px; }
.kf-sound .ab-sounds { gap: 0; border-top: 1px solid var(--line); }
.kf-sound .ab-audio { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); column-gap: 24px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.kf-sound .ab-audio figcaption { grid-column: 1; margin: 0; font-size: 16px; font-weight: 600; color: var(--ink); }
.kf-track-by { grid-column: 1; font-size: 14px; color: var(--mut); }
.kf-sound .ab-audio audio { grid-column: 2; grid-row: 1 / span 2; }
.kf-cast { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
.kf-cast li { display: flex; align-items: center; gap: 16px; min-width: 0; }
.kf-cast-pic { flex: none; }
.kf-cast-pic .kf-sil { width: 96px; height: 96px; border-radius: 50%; }
.kf-cast-name { font-weight: 600; color: var(--ink); }
.kf-cast-as { color: var(--mut); }
.kf-face { display: block; background-color: #2b2b2b; background-repeat: no-repeat; }
.kf-cast-pic .kf-face { width: 96px; height: 96px; border-radius: 50%; }
.kf-np-photo .kf-face { width: 100%; height: 100%; }
.kf-fc-pic .kf-face { width: 32px; height: 44px; border-radius: 2px; }
.kf-sr-pic .kf-face, .kf-sg-pic .kf-face { width: 100%; aspect-ratio: 2 / 3; border-radius: 2px; }
.kf-sil .s-bg { fill: #e2e2e2; }
.kf-sil .s-fg { fill: #b4b4b4; }
.kf-story { margin: 0 0 16px; }
.kf-dl { margin: 0; }
.kf-dl dt { font-weight: 600; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.kf-dl dd { margin: 4px 0 0; }
.kf-dyk { border-top: 1px solid var(--line); }
.kf-dyk-row { padding: 14px 0; border-bottom: 1px solid var(--line); }
.kf-dyk-row h4 { margin: 0 0 4px; font-size: 16px; }
.kf-dyk-body p { margin: 0 0 6px; }
.kf-dyk-body p:last-child { margin: 0; }
.kf-dyk blockquote { margin: 0 0 8px; }
.kf-dyk blockquote p { margin: 0; }
.kf-conn { color: var(--mut); }
.kf-why { display: block; color: var(--mut); font-size: 14px; }
.kf-details { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.kf-details > li { display: flex; flex-wrap: wrap; column-gap: 24px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.kf-dk { flex: 0 0 200px; font-weight: 600; }
.kf-dv { flex: 1 1 260px; min-width: 0; }
.kf-ow { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.kf-ow-d { font-size: 14px; color: var(--mut); }

/* ---------------- full cast & crew */
.kf-fc { padding-top: 24px; padding-bottom: 48px; max-width: 980px; }
.kf-fc-head { display: flex; gap: 16px; align-items: flex-end; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.kf-fc-poster { display: block; width: 72px; }
.kf-fc-poster img { display: block; width: 100%; height: auto; border-radius: 2px; }
.kf-fc-title a { font-size: 18px; font-weight: 600; }
.kf-fc-h1 { margin: 2px 0 0; font-size: 32px; line-height: 1.2; font-weight: 400; }
.kf-fc-sec { margin-bottom: 28px; }
.kf-fc-h2 { margin: 0 0 8px; font-size: 20px; font-weight: 600; }
.kf-fc-note { font-size: 14px; font-weight: 400; color: var(--mut); }
.kf-fc-table { width: 100%; border-collapse: collapse; }
.kf-fc-table td { padding: 8px 8px 8px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.kf-fc-pic { width: 40px; }
.kf-fc-pic .kf-sil { width: 32px; height: 44px; border-radius: 2px; }
.kf-fc-name { width: 40%; }
.kf-fc-dots { width: 32px; color: var(--mut); }
.kf-fc-role { color: var(--ink); }
.kf-fc-cos { margin: 0; padding-left: 20px; }

/* ---------------- name page */
.kf-np { position: relative; background: var(--dk); color: #fff; padding: 24px 0 28px; }
.kf-np-name { margin: 0; font-size: 48px; line-height: 1.15; font-weight: 400; }
.kf-np-row { display: flex; gap: 24px; align-items: flex-start; margin-top: 4px; }
.kf-np-photo { flex: none; width: 184px; aspect-ratio: 2 / 3; border-radius: 4px; overflow: hidden; background: #2b2b2b; }
.kf-np-photo .kf-sil { width: 100%; height: 100%; }
.kf-np .kf-sil .s-bg { fill: #2b2b2b; }
.kf-np .kf-sil .s-fg { fill: #4b4b4b; }
.kf-np-about { max-width: 720px; }
.kf-np-title { margin: 0 0 8px; font-size: 18px; font-weight: 600; }
.kf-np-bio { margin: 0 0 12px; color: rgba(255, 255, 255, .85); }
.kf-np-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.kf-np-links a { display: inline-block; padding: 7px 16px; border: 1px solid rgba(255, 255, 255, .38); border-radius: 100px; color: var(--dblue); font-weight: 600; font-size: 14px; }
.kf-np-links a:hover { background: rgba(255, 255, 255, .08); text-decoration: none; }
.kf-kf { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; max-width: 860px; }
.kf-kf .kf-card { flex: none; }
.kf-cr { margin-bottom: 24px; }
.kf-cr-h { margin: 0 0 4px; font-size: 18px; font-weight: 600; }
.kf-cr-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.kf-cr-list li { display: flex; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: center; }
.kf-cr-pic { flex: none; }
.kf-cr-art img { display: block; width: 50px; height: auto; border-radius: 2px; }
.kf-cr-text { min-width: 0; }
.kf-cr-title { font-weight: 600; color: var(--ink); }
.kf-cr-sub, .kf-cr-role { font-size: 14px; color: var(--mut); }

/* ---------------- search */
.kf-search { padding-top: 28px; padding-bottom: 48px; }
.kf-search-h { margin: 0 0 24px; font-size: 32px; font-weight: 400; overflow-wrap: anywhere; }
.kf-sr-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.kf-sr { display: flex; gap: 16px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.kf-sr:hover { text-decoration: none; }
.kf-sr:hover .kf-sr-title { text-decoration: underline; }
.kf-sr-pic { flex: none; width: 50px; }
.kf-sr-pic img, .kf-sr-pic svg { display: block; width: 50px; height: 75px; object-fit: cover; border-radius: 2px; }
.kf-sr-text { display: grid; min-width: 0; }
.kf-sr-title { font-weight: 600; }
.kf-sr-sub { font-size: 14px; color: var(--mut); }
.kf-co { padding: 12px 0; border-bottom: 1px solid var(--line); }
.kf-co-titles { font-size: 14px; }
.kf-empty { color: var(--mut); }
.kf-empty-page { padding: 48px var(--gut); }
#app { min-height: calc(100vh - 56px - 108px); }

/* ---------------- menu */
.kf-menu { position: fixed; inset: 0; z-index: 60; background: var(--dk); color: #fff; overflow-y: auto; overscroll-behavior: contain; }
.kf-menu[hidden] { display: none; }
.kf-menu-in { position: relative; padding-top: 72px; padding-bottom: 48px; }
.kf-menu-x { position: absolute; top: 16px; right: var(--gut); width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--y); color: #000; display: grid; place-items: center; }
.kf-menu-x svg { width: 26px; height: 26px; }
.kf-menu-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.kf-menu h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 8px; font-size: 24px; font-weight: 600; }
.kf-menu h2 svg { width: 28px; height: 28px; color: var(--y); }
.kf-menu-h2b { margin-top: 28px !important; }
.kf-menu ul { list-style: none; margin: 0; padding: 0 0 0 40px; }
.kf-menu li a { display: inline-block; padding: 5px 0; color: #fff; font-size: 16px; }

/* ---------------- footer, skeleton */
.kf-foot { background: #000; color: #fff; padding: 32px 16px 40px; }
.kf-foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; }
.kf-foot li[hidden] { display: none; }
.kf-foot a { color: #fff; font-weight: 600; font-size: 14px; }
.kf-skel { background: #000; padding: 16px 0 48px; min-height: 70vh; }
.kf-skel-a { aspect-ratio: 16 / 9; max-width: 840px; background: #1a1a1a; border-radius: 4px; }
.kf-skel-b { height: 24px; width: 240px; margin-top: 24px; background: #1a1a1a; border-radius: 4px; }

/* ---------------- tablet and phone */
@media (max-width: 1023px) {
  :root { --gut: 16px; }
  .kf-hh { grid-template-columns: minmax(0, 1fr); }
  .kf-upnext { display: none; }
  .kf-th-media { display: block; }
  .kf-th-poster, .kf-tiles { display: none; }
  .kf-feature.is-portrait .ab-portrait .ab-film { width: min(78%, 320px, calc((100svh - 160px) * 9 / 16)); }
  .kf-feature.is-portrait .ab-films { padding: 0; }
  .kf-feature.is-picture .ab-section { min-height: 0; }
  .kf-feature.is-picture .ab-image img { max-height: 70svh; }
  .kf-th-info { display: grid; grid-template-columns: minmax(0, 104px) minmax(0, 1fr); gap: 16px; }
  .kf-th-mposter { display: block; }
  .kf-th-mposter img { display: block; width: 100%; height: auto; border-radius: 4px; }
  .kf-pcs { grid-column: 1 / -1; }
  .kf-th-about { display: contents; }
  .kf-th-about > .kf-chips { grid-column: 2; grid-row: 1; align-self: start; }
  .kf-th-about > .kf-plot { grid-column: 1 / -1; }
  .kf-menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kf-kf { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 719px) {
  .kf-hdr-links { display: none; }
  .kf-menu-btn span { display: none; }
  .kf-menu-btn { padding: 0 6px; }
  .kf-hh-arrow, .kf-rail-btn { display: none !important; }
  .kf-hh-caption { margin: 12px 0 0; min-height: 0; align-items: center; }
  .kf-hh-poster { width: 76px; box-shadow: none; }
  .kf-hh-play .kf-ring { width: 40px; height: 40px; }
  .kf-hh-film { font-size: 20px; }
  .kf-hh-name { font-size: 16px; margin-top: 2px; }
  .kf-wtw { font-size: 26px; }
  .kf-sh { font-size: 20px; }
  .kf-block { margin-top: 28px; }
  .kf-th-title, .kf-np-name { font-size: 32px; }
  .kf-th-info { grid-template-columns: minmax(0, 96px) minmax(0, 1fr); }
  .kf-th-body { padding-top: 24px; }
  .kf-videos .ab-portrait .ab-film { width: min(100%, 300px, calc((100svh - 140px) * 9 / 16)); }
  .kf-photos .ab-media { --ab-chrome: 220px; }
  .kf-sound .ab-audio { grid-template-columns: minmax(0, 1fr); }
  .kf-sound .ab-audio audio { grid-column: 1; grid-row: auto; margin-top: 8px; }
  .kf-cast { grid-template-columns: minmax(0, 1fr); }
  .kf-cast-pic .kf-sil, .kf-cast-pic .kf-face { width: 64px; height: 64px; }
  .kf-dk { flex-basis: 100%; }
  .kf-fc-name { width: auto; }
  .kf-fc-dots { display: none; }
  .kf-fc-table td { padding-right: 12px; }
  .kf-np-row { gap: 16px; }
  .kf-np-photo { width: 96px; }
  .kf-menu-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
