@charset "UTF-8";
:root {
    color-scheme: dark;
    --bg: #111316;
    --surface: #1a1d22;
    --ink: #f6f5f0;
    --muted: #9c9fa6;
    --line: #2d3036;
    --accent: #e4f078;
    --radius: 16px;
    --header-height: 80px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 15px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input { color: inherit; font: inherit; }
button { border: 0; cursor: pointer; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
img { display: block; max-width: 100%; }
svg { flex-shrink: 0; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
h1, h2, h3, h4 { font-weight: 650; line-height: 1.35; letter-spacing: -.035em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { color: #111316; background: var(--accent); }
.container { width: min(1280px, calc(100% - 72px)); margin-inline: auto; }
.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; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 16px; padding: 10px 18px; transform: translateY(-160%); color: var(--bg); background: var(--accent); border-radius: 6px; }
.skip-link:focus { transform: translateY(0); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .16em; line-height: 1.5; text-transform: uppercase; }
.eyebrow::before { content: ""; display: inline-block; width: 20px; height: 1px; background: currentColor; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }
.arrow { display: inline-block; font-size: 19px; line-height: 1; transition: transform .2s ease; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 11px 20px; border: 1px solid var(--accent); border-radius: 7px; color: #171a14; background: var(--accent); font-size: 13px; line-height: 1.5; font-weight: 650; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.button:hover { border-color: #f0f8a5; background: #f0f8a5; transform: translateY(-2px); }
.button:hover .arrow, .text-link:hover .arrow { transform: translateX(3px); }
.button--outline { color: var(--ink); border-color: #60656e; background: transparent; }
.button--outline:hover { color: var(--ink); border-color: var(--ink); background: #ffffff0a; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--accent); font-size: 13px; font-weight: 600; }
.text-link:hover { color: #f0f8a5; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 4px; color: #c5c7cc; background: #ffffff04; font-size: 11px; line-height: 1.5; white-space: nowrap; }
.pill--complete { color: var(--accent); border-color: #e4f07832; background: #e4f0780a; }
.site-header { position: sticky; top: 0; z-index: 30; height: var(--header-height); border-bottom: 1px solid var(--line); background: #111316f2; backdrop-filter: blur(16px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark { display: block; width: 36px; height: 36px; color: var(--accent); }
.brand-mark svg, .brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-name { font-size: 19px; font-weight: 750; line-height: 1.15; letter-spacing: .06em; }
.brand-name small { display: block; margin-top: 6px; color: var(--muted); font-size: 9px; font-weight: 500; line-height: 1; letter-spacing: .16em; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { position: relative; padding: 28px 0; color: #b4b7be; font-size: 13px; transition: color .2s ease; }
.site-nav a:hover, .site-nav a.is-active, .site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a.is-active::after, .site-nav a[aria-current="page"]::after { position: absolute; right: 0; bottom: 18px; left: 0; height: 2px; background: var(--accent); content: ""; }
.header-label { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; letter-spacing: .04em; }
.header-label i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px #e4f07845; }
.menu-toggle { display: none; align-items: center; justify-content: center; flex-direction: column; gap: 5px; width: 42px; height: 42px; padding: 10px; border: 1px solid var(--line); border-radius: 6px; background: transparent; }
.menu-toggle span { display: block; width: 20px; height: 1px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-6px) rotate(-45deg); }
.hero { padding: 51px 0 0; }
.hero-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 30px; }
.hero-heading .eyebrow { margin-bottom: 13px; }
.hero-heading h1 { max-width: 830px; font-size: clamp(34px, 3.4vw, 48px); line-height: 1.28; letter-spacing: -.055em; }
.hero-heading h1 span { color: var(--accent); }
.hero-heading > p { max-width: 305px; padding-bottom: 4px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.hero-heading > p > span { display: block; margin-top: 7px; font-size: 10px; letter-spacing: .04em; }
.featured-grid { display: grid; grid-template-columns: 1.65fr 1fr; gap: 18px; }
.featured-main { position: relative; display: flex; align-items: flex-end; min-height: 414px; overflow: hidden; border: 1px solid #414537; border-radius: var(--radius); background: #1a201d; isolation: isolate; }
.featured-main > img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.featured-main::after { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(0deg, #0b100ff5 0%, #0c100fc2 25%, #0d10102b 70%), linear-gradient(90deg, #0b100f55, transparent); }
.featured-copy { width: 100%; max-width: 650px; padding: 31px 34px; }
.feature-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 9px; color: var(--accent); font-size: 11px; font-weight: 600; letter-spacing: .12em; }
.featured-copy h2 { margin-bottom: 9px; font-size: clamp(29px, 3vw, 41px); letter-spacing: -.03em; }
.featured-copy > p { max-width: 510px; color: #d3d6d4; font-size: 13px; line-height: 1.85; }
.feature-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 12px; margin-top: 16px; color: #d5d8cf; font-size: 11px; }
.featured-main .feature-meta .pill { color: #e1e8cc; border-color: #e4f07844; background: #11131688; }
.featured-main .feature-meta .pill--complete { color: var(--accent); }
.feature-meta .text-link { margin-left: auto; }
.featured-copy .button { margin-top: 20px; }
.featured-side { display: grid; grid-template-rows: repeat(2, 1fr); gap: 18px; }
.side-feature { display: grid; grid-template-columns: 100px minmax(0, 1fr); align-items: center; gap: 20px; padding: 19px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .25s ease, background .25s ease; }
.side-feature:hover { border-color: #626746; background: #20242a; }
.side-poster { position: relative; display: block; aspect-ratio: 5 / 7; overflow: hidden; border-radius: 7px; background: #080a0c; }
.side-poster img { width: 100%; height: 100%; object-fit: contain; }
.side-copy { min-width: 0; }
.side-copy > small { display: block; margin-bottom: 8px; color: var(--accent); font-size: 10px; letter-spacing: .09em; }
.side-copy h3 { margin-bottom: 7px; font-size: 21px; }
.side-copy > p { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; color: var(--muted); font-size: 12px; line-height: 1.8; }
.side-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 16px; color: #c7c9ce; font-size: 11px; }
.side-bottom .arrow { color: var(--accent); }
.intro-rail { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 22px; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.intro-rail strong, .intro-rail b { color: var(--ink); font-weight: 550; }
.intro-rail span { display: inline-flex; align-items: center; gap: 7px; }
.intro-rail .rail-note { color: #7e8784; font-size: 9px; letter-spacing: .13em; }
.section { padding: 66px 0; scroll-margin-top: 88px; }
.section + .section { border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 25px; }
.section-heading .eyebrow { margin-bottom: 10px; }
.section-heading h2 { font-size: 30px; }
.section-heading p:not(.eyebrow) { max-width: 540px; margin-top: 10px; color: var(--muted); font-size: 13px; }
.section-heading > p:not(.eyebrow) { max-width: 400px; }
.search-box { display: flex; align-items: center; gap: 12px; flex-shrink: 0; width: 340px; min-height: 47px; padding: 0 14px; border: 1px solid #3b3f47; border-radius: 7px; background: #171a1f; transition: border-color .2s ease; }
.search-box:focus-within { border-color: var(--accent); }
.search-box > svg { width: 18px; height: 18px; color: var(--muted); }
.search-box input { width: 100%; min-width: 0; height: 45px; padding: 0; outline: 0; border: 0; background: transparent; font-size: 12px; }
.search-box input:focus-visible { outline: 0; }
.search-box input::placeholder { color: #858a93; opacity: 1; }
.search-box input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-box button { display: grid; place-items: center; flex-shrink: 0; width: 27px; height: 27px; border-radius: 4px; color: var(--muted); background: #ffffff08; font-size: 19px; line-height: 1; }
.search-box button:hover { color: var(--ink); background: #ffffff12; }
.quick-searches { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 13px; margin: -9px 0 26px; color: var(--muted); font-size: 11px; }
.quick-searches > span { color: #87909a; }
.quick-searches button { padding: 2px 0; color: #b9bec4; background: transparent; font-size: inherit; }
.quick-searches button:hover { color: var(--accent); }
.library-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.filters, .sorts { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.filters button { min-height: 34px; padding: 6px 14px; border: 1px solid transparent; border-radius: 5px; color: #b3b7be; background: transparent; font-size: 12px; transition: background .2s ease, color .2s ease; }
.filters button:hover { color: var(--ink); background: #ffffff09; }
.filters button.is-active { color: var(--bg); background: var(--accent); font-weight: 650; }
.sorts { flex-shrink: 0; gap: 15px; }
.sorts > span { color: #7c838d; font-size: 11px; }
.sorts button { position: relative; min-height: 34px; padding: 5px 0; color: var(--muted); background: transparent; font-size: 11px; }
.sorts button:hover, .sorts button.is-active { color: var(--ink); }
.sorts button.is-active::after { position: absolute; right: 0; bottom: 1px; left: 0; height: 1px; background: var(--accent); content: ""; }
.results-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 0; color: var(--muted); font-size: 11px; }
.results-row #results-count { color: #d6d9d9; font-weight: 500; }
.drama-grid, .related-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px 20px; }
.drama-card { min-width: 0; transition: transform .25s ease; }
.drama-card:hover { transform: translateY(-4px); }
.poster-link { position: relative; display: block; aspect-ratio: 5 / 7; overflow: hidden; border: 1px solid #ffffff0d; border-radius: 10px; background: #080a0d; isolation: isolate; }
.poster-link > img { width: 100%; height: 100%; object-fit: contain; transition: filter .25s ease; }
.drama-card:hover .poster-link { border-color: #e4f07866; }
.drama-card:hover .poster-link > img { filter: brightness(1.06); }
.episode-badge { position: absolute; z-index: 3; bottom: 11px; left: 10px; padding: 5px 9px; border: 1px solid #ffffff1f; border-radius: 4px; color: #fff; background: #0c1012e8; font-size: 11px; font-weight: 650; line-height: 1.3; backdrop-filter: blur(6px); }
.side-poster .episode-badge { left: 5px; bottom: 5px; padding: 4px 5px; font-size: 9px; }
.card-status { position: absolute; z-index: 3; top: 10px; right: 10px; padding: 4px 8px; border-radius: 4px; color: #232915; background: var(--accent); font-size: 10px; font-weight: 700; line-height: 1.4; }
.poster-hover { position: absolute; z-index: 2; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; background: #11131655; transition: opacity .25s ease; }
.poster-hover span { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid #ffffff66; border-radius: 50%; color: #fff; background: #111316cc; font-size: 23px; backdrop-filter: blur(8px); }
.poster-link:hover .poster-hover, .poster-link:focus-visible .poster-hover { opacity: 1; }
.drama-info { padding: 14px 1px 0; }
.drama-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; margin-bottom: 8px; }
.drama-heading h3 { font-size: 17px; line-height: 1.5; letter-spacing: -.02em; }
.drama-heading h3 a:hover { color: var(--accent); }
.drama-heading > span, .drama-heading > small { flex-shrink: 0; padding-top: 4px; color: #929aa6; font-size: 10px; }
.card-actors { margin-bottom: 8px; color: #b7bbc2; font-size: 11px; line-height: 1.7; }
.card-actors span { margin-right: 5px; color: #8b94a0; }
.card-summary { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: var(--muted); font-size: 11px; line-height: 1.85; }
.card-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 11px; }
.card-tags button, .card-tags a, .card-tags > span { min-height: 25px; padding: 3px 7px; border: 1px solid #30353c; border-radius: 3px; color: #a7afb9; background: #191d22; font-size: 10px; line-height: 1.7; transition: color .2s ease, border-color .2s ease; }
.card-tags button:hover, .card-tags a:hover { color: var(--accent); border-color: #e4f07866; }
.empty-state { padding: 65px 22px; border: 1px dashed #3e444d; border-radius: 10px; background: #ffffff02; text-align: center; }
.empty-state h3 { margin-bottom: 8px; font-size: 21px; }
.empty-state p { color: var(--muted); font-size: 13px; }
.empty-state .button { margin-top: 20px; }
.genres-section { background: #16191d; }
.genre-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.genre-panel { position: relative; overflow: hidden; min-height: 270px; padding: 25px; border: 1px solid #33373e; border-radius: 12px; background: linear-gradient(135deg, #20242a, #191d22); }
.genre-number { position: absolute; top: 19px; right: 23px; color: #535e56; font-size: 28px; font-weight: 600; line-height: 1; letter-spacing: -.04em; }
.genre-panel > .eyebrow { margin-bottom: 21px; font-size: 9px; letter-spacing: .1em; }
.genre-panel > .eyebrow::before { width: 12px; }
.genre-panel h3 { margin-bottom: 10px; font-size: 23px; }
.genre-panel p:not(.eyebrow) { max-width: 330px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.genre-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 19px; }
.genre-tags a, .genre-tags span, .genre-tags button { padding: 3px 8px; border: 1px solid #3c4248; border-radius: 3px; color: #c4c9c8; background: transparent; font-size: 10px; }
.genre-tags a:hover, .genre-tags button:hover { color: var(--accent); border-color: #e4f07866; }
.genre-panel > .text-link { margin-top: 21px; font-size: 11px; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.guide-card { padding: 27px 0 0; border-top: 2px solid #3e444a; }
.guide-card > small, .guide-card > span { display: inline-block; margin-bottom: 16px; color: var(--accent); font-size: 11px; letter-spacing: .08em; }
.guide-card h3 { margin-bottom: 12px; font-size: 19px; }
.guide-card p { color: var(--muted); font-size: 12px; line-height: 1.95; }
.guide-example { display: flex; flex-wrap: wrap; gap: 7px 17px; margin-top: 19px; padding: 12px 14px; border-left: 2px solid #e4f07877; color: #c6cbbb; background: #e4f07805; font-size: 11px; line-height: 1.9; }
.guide-example a:hover { color: var(--accent); }
.faq-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; }
.faq-intro .eyebrow { margin-bottom: 14px; }
.faq-intro h2 { margin-bottom: 17px; font-size: 30px; }
.faq-intro p:not(.eyebrow) { max-width: 320px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.faq-list { border-top: 1px solid #3a3f46; }
.faq-list details { border-bottom: 1px solid #3a3f46; }
.faq-list summary { position: relative; padding: 20px 30px 20px 0; cursor: pointer; list-style: none; font-size: 14px; font-weight: 500; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; top: 17px; right: 1px; color: var(--accent); font-size: 21px; font-weight: 400; content: "+"; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details > p, .faq-list details > div { padding: 0 27px 21px 0; color: var(--muted); font-size: 12px; line-height: 1.95; }
.faq-list details a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.site-footer { padding: 40px 0 19px; border-top: 1px solid var(--line); background: #0e1013; }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 35px; padding-bottom: 31px; }
.footer-top > p, .footer-top > div > p { max-width: 480px; color: #929aa5; font-size: 11px; line-height: 1.9; }
.footer-top > div > p { margin-top: 17px; }
.footer-top nav, .footer-links { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 13px 24px; padding-top: 10px; color: #a3aab3; font-size: 12px; }
.footer-top nav a:hover, .footer-links a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding-top: 18px; border-top: 1px solid #252a30; color: #929aa5; font-size: 10px; line-height: 1.9; }
.footer-bottom p { max-width: 700px; }
.footer-bottom a:hover { color: var(--accent); }
.back-top { position: fixed; z-index: 25; right: 22px; bottom: 24px; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #424a4f; border-radius: 8px; color: var(--accent); background: #1a1d22ed; box-shadow: 0 5px 22px #0005; font-size: 20px; }
.back-top:hover { color: var(--bg); background: var(--accent); border-color: var(--accent); }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 25px 0 28px; color: var(--muted); font-size: 11px; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb > span:last-child { color: #d3d7db; }
.detail-hero { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 42px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.detail-poster { position: relative; align-self: start; aspect-ratio: 5 / 7; overflow: hidden; border: 1px solid #ffffff14; border-radius: 11px; background: #080a0d; }
.detail-poster > img { width: 100%; height: 100%; object-fit: contain; }
.detail-poster .episode-badge { bottom: 13px; left: 13px; }
.detail-main { padding-top: 8px; min-width: 0; }
.detail-main > .eyebrow { margin-bottom: 14px; }
.detail-main h1 { margin-bottom: 14px; font-size: clamp(33px, 3.3vw, 46px); line-height: 1.3; }
.detail-main > p:not(.eyebrow):not(.detail-source) { max-width: 770px; margin-top: 17px; color: #b5bbc4; font-size: 13px; line-height: 1.95; }
.detail-main > .pill { margin: 0 6px 5px 0; }
.detail-facts { display: grid; grid-template-columns: 1.2fr .7fr 1.2fr .7fr; gap: 18px; margin: 27px 0 25px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-facts dt { margin-bottom: 5px; color: #929ca9; font-size: 11px; }
.detail-facts dd { color: #e1e4e7; font-size: 13px; }
.detail-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.detail-source { margin-top: 16px; color: #929ca9; font-size: 11px; line-height: 1.9; overflow-wrap: anywhere; }
.detail-source a { color: #c0c7aa; text-decoration: underline; text-underline-offset: 3px; }
.detail-content { display: grid; grid-template-columns: minmax(0, 1fr) 290px; align-items: start; gap: 55px; padding: 12px 0 15px; }
.article-section { padding: 30px 0; border-bottom: 1px solid var(--line); }
.article-section:last-child { border-bottom: 0; }
.article-section .eyebrow { margin-bottom: 9px; }
.article-section h2 { margin-bottom: 17px; font-size: 23px; }
.article-section h3 { margin: 20px 0 10px; font-size: 17px; }
.article-section p { margin-bottom: 12px; color: #b5bcc6; font-size: 13px; line-height: 2; }
.article-section p:last-child { margin-bottom: 0; }
.article-section strong { color: var(--ink); font-weight: 550; }
.article-section ul { display: grid; gap: 8px; color: #b5bcc6; font-size: 13px; }
.article-section li { position: relative; padding-left: 14px; }
.article-section li::before { position: absolute; left: 0; top: .83em; width: 4px; height: 4px; border-radius: 50%; background: #e4f07888; content: ""; }
.detail-keywords { display: flex; flex-wrap: wrap; gap: 8px; }
.detail-keywords a, .detail-keywords span { padding: 6px 11px; border: 1px solid #394049; border-radius: 5px; color: #bac3b0; background: #1a1e22; font-size: 12px; }
.detail-keywords a:hover { color: var(--accent); border-color: #e4f07866; }
.cast-list { display: flex; flex-wrap: wrap; gap: 12px; }
.cast-item { display: flex; align-items: center; gap: 12px; min-width: 170px; padding: 13px 19px 13px 13px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font-size: 13px; }
.cast-item:hover { border-color: #e4f07866; }
.cast-avatar { display: grid; flex-shrink: 0; place-items: center; width: 39px; height: 39px; border: 1px solid #596145; border-radius: 50%; color: var(--accent); background: #2b3023; font-size: 15px; }
.cast-item strong { display: block; font-size: 13px; font-weight: 550; }
.cast-item small { display: block; color: var(--muted); font-size: 10px; }
.detail-aside { position: sticky; top: 104px; margin-top: 30px; padding: 23px; border: 1px solid #363d43; border-radius: 10px; background: var(--surface); }
.detail-aside .eyebrow { margin-bottom: 13px; font-size: 9px; }
.detail-aside h2, .detail-aside h3 { margin-bottom: 13px; font-size: 18px; }
.detail-aside p:not(.eyebrow) { margin-bottom: 16px; color: #aab1bb; font-size: 11px; line-height: 1.95; }
.detail-aside .detail-keywords { gap: 6px; }
.detail-aside .detail-keywords a, .detail-aside .detail-keywords span { padding: 4px 7px; font-size: 10px; }
.detail-aside .text-link { margin-top: 2px; font-size: 11px; }
.detail-aside ul { display: grid; gap: 12px; margin-top: 16px; color: #a9b0ba; font-size: 11px; }
.error-page { min-height: 65vh; display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 70px 20px; text-align: center; }
.error-number { color: var(--accent); font-size: clamp(80px, 16vw, 150px); font-weight: 750; letter-spacing: -.07em; line-height: 1.1; }
.error-page h1 { margin-top: 15px; font-size: 29px; }
.error-page p { max-width: 450px; margin: 17px 0 25px; color: var(--muted); font-size: 13px; }
@media (min-width: 1600px) {
    .hero { padding-top: 64px; }
    .featured-main { min-height: 440px; }
}
@media (max-width: 1150px) {
    .site-nav { gap: 23px; }
    .header-label { display: none; }
    .hero-heading > p { max-width: 275px; }
    .featured-grid { grid-template-columns: 1.5fr 1fr; }
    .featured-main { min-height: 389px; }
    .featured-copy { padding: 27px; }
    .side-feature { grid-template-columns: 85px minmax(0, 1fr); gap: 16px; padding: 16px; }
    .side-copy h3 { font-size: 18px; }
    .drama-grid, .related-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .sorts { gap: 11px; }
    .filters { gap: 4px; }
    .filters button { padding-inline: 11px; }
    .faq-layout { gap: 55px; }
    .detail-content { grid-template-columns: minmax(0, 1fr) 260px; gap: 35px; }
}
@media (max-width: 850px) {
    :root { --header-height: 72px; }
    .container { width: calc(100% - 48px); }
    .site-nav { gap: 21px; }
    .site-nav a { padding: 24px 0; font-size: 12px; }
    .hero { padding-top: 37px; }
    .hero-heading { align-items: flex-start; flex-direction: column; gap: 14px; margin-bottom: 25px; }
    .hero-heading > p { max-width: 100%; }
    .featured-grid { grid-template-columns: 1fr; gap: 15px; }
    .featured-main { min-height: 365px; }
    .featured-side { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; gap: 15px; }
    .side-feature { grid-template-columns: 75px minmax(0, 1fr); gap: 13px; padding: 14px; }
    .side-copy h3 { font-size: 17px; }
    .side-copy > small { margin-bottom: 5px; font-size: 9px; letter-spacing: .02em; }
    .side-copy > p { font-size: 11px; }
    .side-bottom { margin-top: 9px; font-size: 10px; }
    .section { padding: 51px 0; }
    .section-heading { align-items: flex-start; flex-direction: column; gap: 20px; }
    .section-heading h2 { font-size: 28px; }
    .section-heading > p:not(.eyebrow) { max-width: 100%; }
    .search-box { width: 100%; }
    .quick-searches { margin-top: -8px; }
    .library-toolbar { align-items: flex-start; flex-direction: column; gap: 14px; }
    .filters { gap: 8px; }
    .filters button { padding-inline: 13px; }
    .sorts { gap: 17px; }
    .sorts button { min-height: 27px; }
    .drama-grid, .related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 27px 18px; }
    .genre-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .genre-panel { min-height: 260px; padding: 23px; }
    .guide-grid { gap: 20px; }
    .guide-card h3 { font-size: 17px; }
    .faq-layout { grid-template-columns: 1fr; gap: 27px; }
    .faq-intro p:not(.eyebrow) { max-width: 600px; }
    .footer-top { gap: 25px; }
    .footer-top nav { max-width: 235px; gap: 12px 18px; }
    .detail-hero { grid-template-columns: 210px minmax(0, 1fr); gap: 28px; }
    .detail-main { padding-top: 0; }
    .detail-main > .eyebrow { margin-bottom: 12px; }
    .detail-main h1 { font-size: 32px; }
    .detail-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin-block: 21px; padding-block: 16px; }
    .detail-content { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .detail-aside { position: static; margin-top: 8px; }
}
@media (max-width: 720px) {
    .menu-toggle { display: flex; }
    .site-nav { position: absolute; top: calc(var(--header-height) - 1px); right: 0; left: 0; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 10px 16px 16px; border-bottom: 1px solid #444c42; background: #171a1ffb; box-shadow: 0 20px 30px #0005; }
    .site-nav.is-open { display: flex; }
    .site-nav a { padding: 12px 11px; border-radius: 4px; font-size: 13px; }
    .site-nav a:hover { background: #ffffff06; }
    .site-nav a.is-active, .site-nav a[aria-current="page"] { color: var(--accent); }
    .site-nav a.is-active::after, .site-nav a[aria-current="page"]::after { display: none; }
}
@media (max-width: 600px) {
    :root { --header-height: 68px; }
    html { scroll-padding-top: 88px; }
    .container { width: calc(100% - 32px); }
    .header-inner { gap: 16px; }
    .brand { gap: 9px; }
    .brand-mark { width: 31px; height: 31px; }
    .brand-name { font-size: 17px; }
    .brand-name small { margin-top: 5px; font-size: 8px; }
    .hero { padding-top: 30px; }
    .hero-heading { gap: 13px; margin-bottom: 23px; }
    .hero-heading .eyebrow { margin-bottom: 13px; font-size: 10px; }
    .hero-heading h1 { font-size: clamp(30px, 7.4vw, 39px); line-height: 1.35; }
    .hero-heading > p { font-size: 12px; }
    .featured-main { min-height: 355px; border-radius: 11px; }
    .featured-main > img { object-position: 55% center; }
    .featured-copy { padding: 24px; }
    .feature-kicker { font-size: 10px; }
    .featured-copy h2 { margin-bottom: 9px; font-size: 31px; }
    .featured-copy > p { font-size: 12px; }
    .feature-meta { gap: 8px 7px; margin-top: 13px; font-size: 10px; }
    .featured-main .feature-meta .pill { padding: 4px 7px; font-size: 10px; }
    .feature-meta .text-link { margin-left: 3px; font-size: 11px; }
    .featured-side { grid-template-columns: 1fr; gap: 12px; }
    .side-feature { grid-template-columns: 78px minmax(0, 1fr); gap: 17px; padding: 15px; border-radius: 10px; }
    .side-copy > small { margin-bottom: 5px; font-size: 10px; }
    .side-copy h3 { font-size: 19px; }
    .side-copy > p { font-size: 11px; -webkit-line-clamp: 2; }
    .side-bottom { margin-top: 9px; }
    .intro-rail { justify-content: flex-start; gap: 8px 19px; padding: 17px 0; font-size: 10px; }
    .intro-rail .rail-note { width: 100%; margin-top: 2px; font-size: 8px; }
    .section { padding: 40px 0; }
    .section-heading { gap: 19px; margin-bottom: 24px; }
    .section-heading h2, .faq-intro h2 { font-size: 26px; }
    .section-heading p:not(.eyebrow) { margin-top: 9px; font-size: 12px; line-height: 1.9; }
    .search-box { gap: 10px; min-height: 45px; padding-inline: 12px; }
    .search-box input { font-size: 12px; }
    .quick-searches { gap: 6px 11px; margin-bottom: 19px; font-size: 10px; }
    .library-toolbar { gap: 12px; padding: 14px 0; }
    .filters { gap: 5px; }
    .filters button { min-height: 34px; padding: 6px 11px; font-size: 11px; }
    .sorts { gap: 18px; }
    .sorts button { min-height: 32px; }
    .results-row { gap: 12px; padding: 17px 0; font-size: 10px; }
    .results-row > span:last-child:not(:first-child) { text-align: right; }
    .drama-grid, .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 13px; }
    .poster-link { border-radius: 7px; }
    .episode-badge { bottom: 8px; left: 7px; padding: 4px 6px; font-size: 10px; }
    .card-status { top: 7px; right: 7px; padding: 3px 6px; font-size: 9px; }
    .drama-info { padding-top: 11px; }
    .drama-heading { gap: 5px; margin-bottom: 6px; }
    .drama-heading h3 { font-size: 15px; line-height: 1.55; }
    .drama-heading > span, .drama-heading > small { padding-top: 5px; font-size: 9px; }
    .card-actors { margin-bottom: 6px; font-size: 10px; }
    .card-summary { font-size: 10px; line-height: 1.85; }
    .card-tags { gap: 4px; margin-top: 9px; }
    .card-tags button, .card-tags a, .card-tags > span { padding: 3px 5px; font-size: 9px; }
    .genre-grid { grid-template-columns: 1fr; gap: 12px; }
    .genre-panel { min-height: 0; padding: 21px; }
    .genre-panel > .eyebrow { margin-bottom: 19px; }
    .genre-panel h3 { margin-bottom: 9px; font-size: 22px; }
    .genre-panel p:not(.eyebrow) { max-width: 100%; }
    .genre-tags { margin-top: 17px; }
    .guide-grid { grid-template-columns: 1fr; gap: 28px; }
    .guide-card { padding-top: 21px; }
    .guide-card > small, .guide-card > span { margin-bottom: 13px; }
    .guide-card h3 { margin-bottom: 9px; font-size: 19px; }
    .guide-example { margin-top: 15px; }
    .faq-layout { gap: 23px; }
    .faq-intro p:not(.eyebrow) { font-size: 12px; }
    .faq-list summary { padding-top: 18px; padding-bottom: 18px; font-size: 13px; }
    .faq-list details > p, .faq-list details > div { padding-bottom: 18px; font-size: 11px; }
    .site-footer { padding-top: 32px; }
    .footer-top { flex-direction: column; gap: 17px; padding-bottom: 25px; }
    .footer-top > p, .footer-top > div > p { font-size: 10px; }
    .footer-top > div > p { margin-top: 14px; }
    .footer-top nav, .footer-links { max-width: 100%; padding-top: 0; gap: 10px 19px; font-size: 11px; }
    .footer-bottom { flex-direction: column; gap: 9px; font-size: 9px; }
    .back-top { right: 13px; bottom: 15px; width: 37px; height: 37px; border-radius: 6px; font-size: 18px; }
    .breadcrumb { gap: 8px; padding: 22px 0; font-size: 10px; }
    .detail-hero { grid-template-columns: 1fr; gap: 25px; padding-bottom: 29px; }
    .detail-poster { width: min(260px, 73%); justify-self: center; }
    .detail-main h1 { margin-bottom: 13px; font-size: 31px; }
    .detail-main > p:not(.eyebrow):not(.detail-source) { font-size: 12px; }
    .detail-facts { gap: 18px 15px; margin-block: 21px; padding-block: 17px; }
    .detail-facts dt { font-size: 10px; }
    .detail-facts dd { font-size: 12px; }
    .detail-actions { gap: 9px; }
    .detail-actions .button { min-height: 42px; padding: 10px 15px; font-size: 12px; }
    .detail-source { font-size: 10px; }
    .detail-content { padding-top: 4px; padding-bottom: 10px; }
    .article-section { padding: 26px 0; }
    .article-section h2 { margin-bottom: 14px; font-size: 21px; }
    .article-section p, .article-section ul { font-size: 12px; }
    .detail-keywords { gap: 7px; }
    .detail-keywords a, .detail-keywords span { padding: 5px 9px; font-size: 11px; }
    .cast-list { gap: 10px; }
    .cast-item { min-width: 0; width: calc(50% - 5px); gap: 9px; padding: 11px; font-size: 12px; }
    .cast-avatar { width: 33px; height: 33px; font-size: 13px; }
    .cast-item strong { font-size: 12px; }
    .cast-item small { font-size: 9px; }
    .detail-aside { padding: 20px; }
    .error-page { min-height: 65vh; padding: 55px 16px; }
}
@media (max-width: 360px) {
    .hero-heading h1 { font-size: 28px; }
    .featured-copy { padding: 20px; }
    .featured-copy h2 { font-size: 28px; }
    .drama-grid, .related-grid { gap: 23px 10px; }
    .drama-heading { flex-direction: column; gap: 0; }
    .drama-heading > span, .drama-heading > small { padding-top: 1px; }
    .filters { gap: 3px; }
    .filters button { padding-inline: 9px; }
}
@media (hover: none) {
    .drama-card:hover { transform: none; }
    .poster-hover { display: none; }
    .button:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.drama-card--landscape .poster-link { aspect-ratio: 16 / 9; }
.card-alias { margin-top: 6px; overflow: hidden; color: #9caa87; font-size: 10px; white-space: nowrap; text-overflow: ellipsis; }
.detail-main > .detail-alias { margin: -2px 0 15px; color: #b1bf98; font-size: 12px; }
.detail-hero--landscape { grid-template-columns: minmax(0, .95fr) minmax(0, 1.2fr); }
.detail-hero--landscape .detail-poster { width: 100%; aspect-ratio: 16 / 9; }
@media (max-width: 850px) {
    .detail-hero--landscape { grid-template-columns: 1fr; }
    .detail-hero--landscape .detail-poster { width: 100%; max-width: 800px; }
}
