:root {
    --bg: #0e0b12;
    --surface: #17131d;
    --surface-2: #211a29;
    --text: #f8f6fa;
    --muted: #b8afc2;
    --line: rgba(255, 255, 255, 0.1);
    --red: #ef4444;
    --red-dark: #b91c1c;
    --gold: #f4b942;
    --radius: 20px;
    --shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
    font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -2;
    background: radial-gradient(circle at 15% 0%, rgba(239, 68, 68, 0.14), transparent 32%), radial-gradient(circle at 90% 28%, rgba(244, 185, 66, 0.08), transparent 30%), #0e0b12;
    content: "";
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.container {
    width: calc(100% - 40px);
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
}

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 1000;
    padding: 10px 14px;
    transform: translateY(-140%);
    border-radius: 8px;
    background: #ffffff;
    color: #111111;
}

.skip-link:focus {
    transform: translateY(0);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.icon {
    width: 1.25em;
    height: 1.25em;
    flex: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--line);
    background: rgba(14, 11, 18, 0.92);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: flex;
    min-height: 72px;
    align-items: center;
    gap: 24px;
}

.brand img {
    width: 174px;
    height: auto;
}

.main-nav {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.nav-link,
.header-search {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 6px;
    padding: 8px 11px;
    border-radius: 11px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.header-search:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.nav-link.is-active {
    box-shadow: inset 0 -2px 0 var(--red);
}

.header-search {
    border: 1px solid var(--line);
}

.menu-button {
    display: none;
    margin-left: auto;
    padding: 9px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: transparent;
    color: #ffffff;
}

.menu-close-icon {
    display: none;
}

.section-space {
    padding: 84px 0;
}

.eyebrow,
.hero-kicker {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section-heading {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 32px;
}

.section-heading h2,
.section-heading p {
    margin: 0;
}

.section-heading h2 {
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.2;
}

.section-heading p {
    margin-top: 8px;
    color: var(--muted);
}

.heading-icon,
.category-icon,
.hero-symbol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(244, 185, 66, 0.25);
    background: rgba(244, 185, 66, 0.1);
    color: var(--gold);
}

.heading-icon {
    width: 48px;
    height: 48px;
    border-radius: 15px;
    font-size: 22px;
}

.hero-section {
    position: relative;
    padding: 72px 0 62px;
    overflow: hidden;
}

.hero-section::after {
    position: absolute;
    right: -8vw;
    bottom: -16vw;
    z-index: -1;
    width: 46vw;
    height: 46vw;
    border: 1px solid rgba(239, 68, 68, 0.16);
    border-radius: 50%;
    box-shadow: 0 0 0 70px rgba(239, 68, 68, 0.03), 0 0 0 140px rgba(239, 68, 68, 0.02);
    content: "";
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(380px, 0.9fr);
    align-items: center;
    gap: 7vw;
}

.hero-copy h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(44px, 6vw, 82px);
    line-height: 1.04;
    letter-spacing: -0.05em;
}

.hero-copy h1 a {
    background: linear-gradient(120deg, #ffffff 18%, #ffd48a 56%, #ef4444 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-copy > p {
    max-width: 690px;
    margin: 24px 0 30px;
    color: #d4ccd9;
    font-size: 18px;
}

.hero-search,
.search-page-form,
.discover-panel form {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 8px 8px 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow);
}

.hero-search {
    max-width: 620px;
}

.hero-search input,
.search-page-form input,
.discover-panel input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #ffffff;
}

.hero-search input::placeholder,
.search-page-form input::placeholder,
.discover-panel input::placeholder {
    color: #92879e;
}

.hero-search button,
.search-page-form button,
.discover-panel button,
.primary-button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: #ffffff;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 12px 28px rgba(239, 68, 68, 0.22);
    cursor: pointer;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.hero-pills span {
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-size: 13px;
}

.hero-feature {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 165px;
    align-items: end;
    gap: 0;
}

.hero-poster {
    position: relative;
    display: block;
    transform: rotate(2deg);
}

.hero-poster .poster-wrap {
    aspect-ratio: 3 / 4;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 26px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.48);
}

.poster-wrap {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: linear-gradient(135deg, #2b2132, #120f18);
}

.poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

a:hover .poster {
    transform: scale(1.035);
}

.score-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(14, 11, 18, 0.85);
    color: var(--gold);
    font-size: 13px;
    font-weight: 900;
}

.play-button {
    position: absolute;
    right: 22px;
    bottom: 22px;
    display: inline-flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--red);
    font-size: 26px;
}

.hero-feature-copy {
    position: relative;
    z-index: 2;
    margin: 0 0 30px -50px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(23, 19, 29, 0.9);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.hero-feature-copy span {
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
}

.hero-feature-copy h2 {
    margin: 4px 0 8px;
    font-size: 25px;
}

.hero-feature-copy p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--muted);
    font-size: 14px;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.category-section {
    background: rgba(255, 255, 255, 0.018);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 12px;
}

.category-tile {
    display: flex;
    min-height: 150px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 18px 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 12%, transparent), rgba(255, 255, 255, 0.025));
    text-align: center;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-tile:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--accent) 60%, transparent);
}

.category-icon {
    width: 48px;
    height: 48px;
    border-color: color-mix(in srgb, var(--accent) 45%, transparent);
    border-radius: 15px;
    background: color-mix(in srgb, var(--accent) 15%, transparent);
    color: var(--accent);
    font-size: 22px;
}

.category-tile strong {
    font-size: 16px;
}

.category-tile > span:last-child {
    color: var(--muted);
    font-size: 12px;
}

.drama-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.drama-card {
    display: grid;
    grid-template-columns: 42% minmax(0, 1fr);
    min-height: 280px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.poster-link,
.poster-link .poster-wrap {
    height: 100%;
}

.poster-link .poster-wrap {
    aspect-ratio: auto;
}

.card-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 22px;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px;
    color: var(--gold);
    font-size: 12px;
}

.card-copy h3 {
    margin: 12px 0 8px;
    font-size: 22px;
    line-height: 1.25;
}

.card-copy h3 a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-copy p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--muted);
    font-size: 14px;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
    padding-top: 16px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
}

.text-link .icon {
    width: 16px;
}

.spotlight-section {
    background: linear-gradient(120deg, rgba(59, 130, 246, 0.13), transparent 45%);
}

.spotlight-grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: 7vw;
}

.spotlight-visual {
    position: relative;
    max-width: 480px;
}

.spotlight-visual::before {
    position: absolute;
    inset: -18px;
    border: 1px solid rgba(59, 130, 246, 0.22);
    border-radius: 34px;
    content: "";
}

.spotlight-visual .poster-wrap {
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.spotlight-copy h2,
.showcase-lead h2,
.suspense-copy h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.18;
}

.spotlight-copy > p,
.showcase-lead > p,
.suspense-copy > p {
    color: var(--muted);
    font-size: 17px;
}

.feature-points {
    display: grid;
    gap: 10px;
    margin: 26px 0;
}

.feature-points span {
    padding: 13px 16px;
    border-left: 3px solid #3b82f6;
    background: rgba(255, 255, 255, 0.035);
    color: var(--muted);
}

.feature-points strong {
    margin-right: 10px;
    color: #ffffff;
}

.rank-layout,
.schedule-layout,
.content-with-aside,
.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 50px;
    align-items: start;
}

.rank-list {
    border-top: 1px solid var(--line);
}

.rank-item {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 18px 8px;
    border-bottom: 1px solid var(--line);
}

.rank-number {
    color: var(--red);
    font-family: Georgia, serif;
    font-size: 28px;
    font-style: italic;
}

.rank-name {
    overflow: hidden;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-name small {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 400;
}

.rank-item > strong {
    color: var(--gold);
}

.rank-note,
.category-aside,
.article-aside,
.watch-guide,
.info-aside {
    position: sticky;
    top: 96px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.rank-note > .icon,
.watch-guide > .icon,
.info-aside > .icon {
    width: 44px;
    height: 44px;
    color: var(--gold);
}

.rank-note h2,
.watch-guide h2 {
    margin-bottom: 8px;
}

.rank-note p,
.watch-guide p,
.category-aside p,
.info-aside p {
    color: var(--muted);
}

.rank-note a,
.category-aside a,
.article-aside a,
.info-aside a {
    color: var(--gold);
    font-weight: 800;
}

.urban-section {
    background: #120f18;
}

.split-showcase {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 54px;
    align-items: start;
}

.showcase-lead {
    position: sticky;
    top: 110px;
    padding: 24px 0;
}

.horizontal-stories {
    display: grid;
    gap: 18px;
}

.horizontal-card {
    grid-template-columns: 200px minmax(0, 1fr);
    min-height: 250px;
}

.costume-section {
    background: linear-gradient(180deg, rgba(244, 185, 66, 0.07), transparent);
}

.duo-feature {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.duo-item {
    position: relative;
    display: grid;
    grid-template-columns: 43% minmax(0, 1fr);
    min-height: 410px;
    overflow: hidden;
    border: 1px solid rgba(244, 185, 66, 0.18);
    border-radius: 26px;
    background: #1a141b;
}

.duo-item .poster-wrap {
    height: 100%;
    aspect-ratio: auto;
}

.duo-item > div:last-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
}

.duo-item h3 {
    margin: 8px 0;
    font-family: Georgia, "STSong", serif;
    font-size: 32px;
}

.duo-item p {
    color: var(--muted);
}

.duo-item a {
    color: var(--gold);
    font-weight: 800;
}

.duo-index {
    position: absolute;
    right: 22px;
    top: 8px;
    z-index: 2;
    color: rgba(244, 185, 66, 0.12);
    font-family: Georgia, serif;
    font-size: 80px;
    line-height: 1;
}

.mood-panel {
    padding-top: 54px;
    padding-bottom: 54px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(139, 92, 246, 0.08));
}

.mood-panel > .section-heading,
.mood-options {
    margin-right: 44px;
    margin-left: 44px;
}

.mood-options {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.mood-options a {
    display: flex;
    min-height: 138px;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(14, 11, 18, 0.54);
}

.mood-options span {
    color: var(--muted);
    font-size: 13px;
}

.mood-options strong {
    font-size: 20px;
}

.suspense-section {
    background: linear-gradient(120deg, #0b0910, #171026);
}

.suspense-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    align-items: center;
    gap: 7vw;
}

.suspense-copy ul {
    padding-left: 20px;
    color: var(--muted);
}

.clue-board {
    position: relative;
    min-height: 430px;
    border: 1px solid rgba(139, 92, 246, 0.24);
    border-radius: 28px;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.12), transparent 58%), repeating-linear-gradient(0deg, transparent 0 39px, rgba(255, 255, 255, 0.025) 40px);
}

.clue-card {
    position: absolute;
    width: 210px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #241c2c;
    box-shadow: var(--shadow);
}

.clue-card:nth-child(1) {
    top: 45px;
    left: 8%;
    transform: rotate(-4deg);
}

.clue-card:nth-child(2) {
    top: 165px;
    right: 7%;
    transform: rotate(3deg);
}

.clue-card:nth-child(3) {
    bottom: 35px;
    left: 20%;
    transform: rotate(-2deg);
}

.clue-card::after {
    position: absolute;
    top: 50%;
    left: 100%;
    width: 90px;
    height: 1px;
    transform: rotate(22deg);
    transform-origin: left;
    background: rgba(239, 68, 68, 0.55);
    content: "";
}

.clue-card span {
    color: #a78bfa;
    font-size: 12px;
}

.clue-card strong {
    display: block;
}

.comedy-banner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 26px;
    padding-top: 34px;
    padding-bottom: 34px;
    border-radius: 24px;
    background: linear-gradient(100deg, #f4b942, #f97316);
    color: #241306;
}

.comedy-banner > *:first-child {
    margin-left: 36px;
}

.comedy-banner > *:last-child {
    margin-right: 36px;
}

.comedy-mark {
    font-size: 56px;
}

.comedy-banner h2,
.comedy-banner p {
    margin: 0;
}

.comedy-banner a {
    padding: 12px 20px;
    border-radius: 12px;
    background: #241306;
    color: #ffffff;
    font-weight: 800;
}

.schedule-row {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.schedule-row span {
    color: var(--gold);
}

.schedule-row em {
    color: var(--muted);
    font-style: normal;
}

.watch-guide > div {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-top: 1px solid var(--line);
}

.editor-section {
    background: rgba(255, 255, 255, 0.018);
}

.editor-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.editor-choice {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: start;
    gap: 16px;
    min-height: 230px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.editor-choice > span {
    color: var(--red);
    font-family: Georgia, serif;
    font-size: 28px;
}

.editor-choice small {
    color: var(--gold);
}

.editor-choice h3 {
    margin: 6px 0;
    font-size: 24px;
}

.editor-choice p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--muted);
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.discover-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.7fr);
    align-items: center;
    gap: 50px;
    padding-top: 48px;
    padding-bottom: 48px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.discover-panel h2 {
    margin: 0;
    font-size: clamp(28px, 3vw, 42px);
}

.discover-panel p {
    color: var(--muted);
}

.site-footer {
    padding: 64px 0 22px;
    border-top: 1px solid var(--line);
    background: #09070c;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 45px;
}

.footer-brand img {
    margin-bottom: 18px;
}

.footer-brand p,
.footer-note p {
    max-width: 390px;
    color: var(--muted);
}

.site-footer h2 {
    margin-top: 0;
    font-size: 16px;
}

.footer-links {
    display: grid;
    gap: 9px;
}

.footer-links a {
    color: var(--muted);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 42px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: #786f82;
    font-size: 13px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 34px;
    color: var(--muted);
    font-size: 13px;
}

.breadcrumb .icon {
    width: 14px;
}

.breadcrumb span {
    color: #ffffff;
}

.page-hero {
    padding: 52px 0 70px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(150deg, rgba(239, 68, 68, 0.1), transparent 55%);
}

.compact-hero {
    background: linear-gradient(140deg, color-mix(in srgb, var(--page-accent) 18%, transparent), transparent 55%);
}

.page-hero-content {
    display: flex;
    max-width: 820px;
    align-items: center;
    gap: 24px;
}

.hero-symbol {
    width: 76px;
    height: 76px;
    border-color: color-mix(in srgb, var(--page-accent) 50%, transparent);
    border-radius: 22px;
    background: color-mix(in srgb, var(--page-accent) 18%, transparent);
    color: var(--page-accent);
    font-size: 34px;
}

.page-hero h1 {
    margin: 0;
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.1;
}

.page-hero p {
    max-width: 740px;
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 18px;
}

.category-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.category-list .drama-card {
    grid-template-columns: 44% minmax(0, 1fr);
}

.category-aside dl,
.article-aside dl {
    margin: 22px 0;
}

.category-aside dl > div,
.article-aside dl > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}

.category-aside dt,
.article-aside dt {
    color: var(--muted);
}

.category-aside dd,
.article-aside dd {
    margin: 0;
    text-align: right;
}

.category-guide {
    background: rgba(255, 255, 255, 0.018);
}

.guide-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 60px;
    align-items: start;
}

.guide-grid h2 {
    margin: 0;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.25;
}

.guide-grid > p {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
}

.detail-hero {
    padding: 44px 0 72px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(150deg, rgba(239, 68, 68, 0.11), transparent 52%);
}

.detail-hero-grid {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    align-items: center;
    gap: 56px;
}

.detail-poster .poster-wrap {
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.detail-info h1 {
    margin: 0;
    font-size: clamp(42px, 5vw, 70px);
    line-height: 1.08;
}

.detail-lead {
    max-width: 780px;
    color: var(--muted);
    font-size: 19px;
}

.detail-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 28px 0;
}

.detail-facts > span {
    min-width: 108px;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.035);
}

.detail-facts small,
.detail-facts strong {
    display: block;
}

.detail-facts small {
    color: var(--muted);
}

.detail-facts strong {
    color: var(--gold);
}

.detail-meta {
    margin-bottom: 28px;
}

.detail-meta p {
    margin: 4px 0;
    color: var(--muted);
}

.detail-meta strong {
    color: #ffffff;
}

.article-content {
    max-width: 820px;
}

.article-content h2 {
    margin-top: 44px;
    font-size: 30px;
}

.article-content h2:first-of-type {
    margin-top: 0;
}

.article-content > p {
    color: #d2c9d8;
    font-size: 17px;
}

.highlight-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.highlight-list > div {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--surface);
}

.highlight-list p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 14px;
}

.watch-notice {
    display: flex;
    gap: 14px;
    margin-top: 34px;
    padding: 20px;
    border-left: 3px solid var(--gold);
    background: rgba(244, 185, 66, 0.08);
}

.watch-notice .icon {
    margin-top: 3px;
    color: var(--gold);
}

.watch-notice p {
    margin: 0;
    color: var(--muted);
}

.related-section {
    background: rgba(255, 255, 255, 0.018);
}

.post-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 36px;
}

.post-nav a {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--surface);
}

.post-nav a:last-child {
    text-align: right;
}

.post-nav span,
.post-nav strong {
    display: block;
}

.post-nav span {
    color: var(--muted);
    font-size: 13px;
}

.search-hero,
.info-hero {
    text-align: center;
}

.search-hero .breadcrumb,
.info-hero .breadcrumb {
    justify-content: center;
}

.search-hero p,
.info-hero p {
    margin-right: auto;
    margin-left: auto;
}

.search-page-form {
    max-width: 720px;
    margin: 30px auto 0;
    text-align: left;
}

.search-summary {
    margin-bottom: 24px;
    color: var(--muted);
}

.search-results {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.search-result-card {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    min-height: 210px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
}

.search-result-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-result-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 18px;
}

.search-result-copy span {
    color: var(--gold);
    font-size: 12px;
}

.search-result-copy h2 {
    margin: 6px 0;
    font-size: 20px;
}

.search-result-copy p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--muted);
    font-size: 13px;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.search-result-copy a {
    margin-top: auto;
    padding-top: 10px;
    font-weight: 800;
}

.empty-state {
    grid-column: 1 / -1;
    padding: 60px 24px;
    border: 1px dashed var(--line);
    border-radius: 20px;
    text-align: center;
}

.empty-state .icon {
    width: 48px;
    height: 48px;
    color: var(--gold);
}

.noscript-note {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
}

.info-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 60px;
    align-items: start;
}

.info-aside strong {
    display: block;
    margin-top: 14px;
    font-size: 24px;
}

.info-content {
    border-top: 1px solid var(--line);
}

.info-content > section {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 20px;
    padding: 30px 0;
    border-bottom: 1px solid var(--line);
}

.info-content > section > span {
    color: var(--red);
    font-family: Georgia, serif;
    font-size: 24px;
}

.info-content h2,
.info-content p {
    margin: 0;
}

.info-content h2 {
    margin-bottom: 8px;
    font-size: 25px;
}

.info-content p {
    color: var(--muted);
}

.not-found {
    min-height: 78vh;
    display: flex;
    align-items: center;
    padding: 58px 0 90px;
}

.not-found-inner {
    text-align: center;
}

.not-found .breadcrumb {
    justify-content: center;
}

.error-code {
    display: block;
    background: linear-gradient(135deg, var(--red), var(--gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-family: Georgia, serif;
    font-size: clamp(100px, 20vw, 220px);
    font-weight: 900;
    line-height: 0.9;
}

.not-found h1 {
    margin: 20px 0 8px;
    font-size: clamp(32px, 4vw, 50px);
}

.not-found p {
    color: var(--muted);
}

.not-found-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 28px 0 42px;
}

.secondary-button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    font-weight: 800;
}

.quick-links {
    display: grid;
    max-width: 760px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0 auto;
}

.quick-links a {
    display: flex;
    min-height: 90px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
}

@media (max-width: 1180px) {
    .header-inner {
        gap: 14px;
    }

    .nav-link {
        padding: 8px;
    }

    .nav-link .icon {
        display: none;
    }

    .category-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .drama-grid,
    .search-results {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .editor-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .menu-button {
        display: inline-flex;
    }

    .main-nav {
        position: absolute;
        top: 72px;
        right: 20px;
        left: 20px;
        display: none;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: 16px;
        background: #17131d;
        box-shadow: var(--shadow);
    }

    .main-nav.is-open {
        display: grid;
    }

    .menu-button[aria-expanded="true"] .menu-open-icon {
        display: none;
    }

    .menu-button[aria-expanded="true"] .menu-close-icon {
        display: block;
    }

    .nav-link .icon {
        display: block;
    }

    .hero-grid,
    .spotlight-grid,
    .rank-layout,
    .split-showcase,
    .suspense-layout,
    .schedule-layout,
    .discover-panel,
    .content-with-aside,
    .article-layout,
    .info-layout {
        grid-template-columns: 1fr;
    }

    .hero-feature {
        max-width: 620px;
        grid-template-columns: minmax(0, 1fr) 190px;
        margin: 0 auto;
    }

    .rank-note,
    .category-aside,
    .article-aside,
    .watch-guide,
    .info-aside,
    .showcase-lead {
        position: static;
    }

    .duo-feature {
        grid-template-columns: 1fr;
    }

    .mood-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-list .drama-card {
        grid-template-columns: 1fr;
    }

    .category-list .poster-link {
        height: 320px;
    }

    .detail-hero-grid {
        grid-template-columns: 240px minmax(0, 1fr);
        gap: 34px;
    }
}

@media (max-width: 640px) {
    .container {
        width: calc(100% - 40px);
    }

    .section-space {
        padding: 58px 0;
    }

    .header-inner {
        min-height: 64px;
    }

    .brand img {
        width: 150px;
    }

    .main-nav {
        top: 64px;
    }

    .header-search span {
        display: none;
    }

    .hero-section {
        padding-top: 48px;
    }

    .hero-grid {
        gap: 44px;
    }

    .hero-copy h1 {
        font-size: clamp(38px, 12vw, 58px);
    }

    .hero-copy > p {
        font-size: 16px;
    }

    .hero-search,
    .search-page-form,
    .discover-panel form {
        align-items: stretch;
        flex-wrap: wrap;
    }

    .hero-search .icon,
    .search-page-form .icon {
        margin-top: 12px;
    }

    .hero-search input,
    .search-page-form input,
    .discover-panel input {
        width: calc(100% - 34px);
        min-height: 46px;
    }

    .hero-search button,
    .search-page-form button,
    .discover-panel button {
        width: 100%;
    }

    .hero-feature {
        grid-template-columns: 1fr;
    }

    .hero-poster {
        transform: none;
    }

    .hero-feature-copy {
        margin: -34px 16px 0;
    }

    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .drama-grid,
    .search-results,
    .category-list {
        grid-template-columns: 1fr;
    }

    .drama-card {
        grid-template-columns: 42% minmax(0, 1fr);
        min-height: 250px;
    }

    .card-copy {
        padding: 17px;
    }

    .card-copy h3 {
        font-size: 19px;
    }

    .spotlight-grid {
        gap: 52px;
    }

    .rank-layout,
    .schedule-layout,
    .content-with-aside,
    .article-layout,
    .info-layout {
        gap: 34px;
    }

    .rank-item {
        grid-template-columns: 42px minmax(0, 1fr) auto;
    }

    .horizontal-card {
        grid-template-columns: 38% minmax(0, 1fr);
    }

    .duo-item {
        grid-template-columns: 40% minmax(0, 1fr);
        min-height: 330px;
    }

    .duo-item > div:last-child {
        padding: 20px;
    }

    .duo-item h3 {
        font-size: 24px;
    }

    .mood-panel > .section-heading,
    .mood-options {
        margin-right: 20px;
        margin-left: 20px;
    }

    .mood-options {
        grid-template-columns: 1fr;
    }

    .mood-options a {
        min-height: 105px;
    }

    .suspense-layout {
        gap: 44px;
    }

    .clue-board {
        min-height: 380px;
    }

    .clue-card {
        width: 180px;
    }

    .clue-card::after {
        display: none;
    }

    .spotlight-visual::before {
        inset: 0;
    }

    .comedy-banner {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .comedy-banner > *:first-child {
        margin-left: 20px;
    }

    .comedy-banner > *:last-child {
        grid-column: 1 / -1;
        margin: 0 20px;
        text-align: center;
    }

    .comedy-mark {
        font-size: 40px;
    }

    .schedule-row {
        grid-template-columns: 60px minmax(0, 1fr);
    }

    .schedule-row em {
        grid-column: 2;
    }

    .discover-panel {
        gap: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        display: grid;
        gap: 4px;
    }

    .page-hero-content {
        align-items: flex-start;
    }

    .hero-symbol {
        width: 58px;
        height: 58px;
        font-size: 26px;
    }

    .page-hero h1 {
        font-size: 38px;
    }

    .category-list .poster-link {
        height: auto;
    }

    .guide-grid,
    .detail-hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .detail-poster {
        width: min(76vw, 310px);
        margin: 0 auto;
    }

    .detail-info h1 {
        font-size: 42px;
    }

    .highlight-list {
        grid-template-columns: 1fr;
    }

    .related-grid .drama-card {
        grid-template-columns: 38% minmax(0, 1fr);
    }

    .post-nav {
        grid-template-columns: 1fr;
    }

    .post-nav a:last-child {
        text-align: left;
    }

    .search-result-card {
        grid-template-columns: 36% minmax(0, 1fr);
    }

    .info-content > section {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .quick-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 390px) {
    .drama-card,
    .horizontal-card,
    .related-grid .drama-card,
    .duo-item,
    .search-result-card {
        grid-template-columns: 1fr;
    }

    .drama-card .poster-link,
    .duo-item .poster-wrap,
    .search-result-card > a {
        height: 280px;
    }

    .duo-item {
        min-height: 0;
    }

}
