:root {
    --bg: #0b0b12;
    --surface: #14131e;
    --surface-2: #1b1928;
    --surface-3: #242135;
    --text: #f7f5ff;
    --muted: #aaa6bb;
    --line: rgba(255, 255, 255, 0.1);
    --primary: #ff3d71;
    --primary-2: #ff784f;
    --gold: #ffd166;
    --violet: #8b7cff;
    --radius: 22px;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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;
}

.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;
    left: 20px;
    top: -80px;
    z-index: 1000;
    padding: 10px 18px;
    background: #fff;
    color: #111;
    border-radius: 10px;
}

.skip-link:focus {
    top: 20px;
}

.icon {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

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

.header-main {
    min-height: 76px;
    display: grid;
    grid-template-columns: auto minmax(280px, 520px) auto;
    align-items: center;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.brand img {
    width: 40px;
    height: 40px;
}

.header-search,
.search-page-form {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding-left: 16px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 999px;
}

.header-search {
    justify-self: center;
    width: 100%;
}

.header-search input,
.search-page-form input {
    width: 100%;
    min-width: 0;
    height: 44px;
    color: var(--text);
    background: transparent;
    border: 0;
    outline: 0;
}

.header-search button,
.search-page-form button {
    align-self: stretch;
    padding: 0 22px;
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    border: 0;
    border-radius: 999px;
    cursor: pointer;
}

.menu-toggle {
    display: none;
    justify-self: end;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--text);
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 14px;
}

.nav-shell {
    border-top: 1px solid var(--line);
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    min-height: 52px;
    overflow-x: auto;
    scrollbar-width: none;
}

.primary-nav::-webkit-scrollbar {
    display: none;
}

.primary-nav a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
    padding: 9px 14px;
    color: var(--muted);
    border-radius: 12px;
    font-size: 0.92rem;
}

.primary-nav a:hover,
.primary-nav a.active {
    color: white;
    background: var(--surface-3);
}

.section {
    padding: 44px 0;
}

.hero {
    position: relative;
    padding: 56px 0 48px;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: -10% 45% 0 -15%;
    background: radial-gradient(circle, rgba(255, 61, 113, 0.22), transparent 62%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
    align-items: center;
    gap: 56px;
}

.hero-badge,
.eyebrow,
.section-kicker {
    color: #ff9cb6;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 13px;
    background: rgba(255, 61, 113, 0.1);
    border: 1px solid rgba(255, 61, 113, 0.25);
    border-radius: 999px;
}

.hero h1 {
    margin: 20px 0 12px;
    font-size: clamp(3.6rem, 8vw, 7.6rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.hero h1 a {
    background: linear-gradient(135deg, #fff 10%, #ff8eaa 55%, #ffc06b 100%);
    -webkit-background-clip: text;
    color: transparent;
}

.hero-lead {
    max-width: 620px;
    color: #d0ccdb;
    font-size: 1.12rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 14px;
    font-weight: 800;
}

.button--primary {
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    box-shadow: 0 12px 30px rgba(255, 61, 113, 0.22);
}

.button--ghost {
    background: var(--surface-2);
    border-color: var(--line);
}

.hero-stats {
    display: flex;
    gap: 28px;
    margin: 34px 0 0;
}

.hero-stats div {
    display: grid;
}

.hero-stats dt {
    font-size: 1.5rem;
    font-weight: 900;
}

.hero-stats dd {
    margin: 0;
    color: var(--muted);
    font-size: 0.85rem;
}

.hero-feature {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.hero-feature img,
.poster img,
.split-feature__visual img,
.editor-pick img,
.compact-list img,
.detail-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: var(--surface-3);
}

.hero-feature::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 28%, rgba(8, 7, 14, 0.96) 100%);
}

.hero-feature__overlay {
    position: absolute;
    z-index: 2;
    left: 28px;
    right: 28px;
    bottom: 24px;
}

.hero-feature__overlay > span {
    color: var(--gold);
    font-size: 0.82rem;
    font-weight: 800;
}

.hero-feature__overlay h2 {
    margin: 4px 0;
    font-size: 2rem;
}

.hero-feature__overlay p {
    display: -webkit-box;
    margin: 0 0 12px;
    overflow: hidden;
    color: #d6d2df;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.hero-feature__overlay a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #ff9cb6;
    font-weight: 800;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 22px;
}

.section-head h2,
.split-feature__copy h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 4px 0 0;
    font-size: clamp(1.55rem, 3vw, 2.25rem);
    line-height: 1.2;
}

.section-head h2 .icon,
.split-feature__copy h2 .icon {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.text-link {
    color: #ff9cb6;
    font-weight: 700;
    white-space: nowrap;
}

.category-strip {
    padding-top: 20px;
}

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

.category-chips a {
    min-width: 0;
    padding: 18px 12px;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-chips a:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 61, 113, 0.55);
}

.category-chips .icon {
    width: 28px;
    height: 28px;
    margin: 0 auto 8px;
    color: #ff7d9e;
}

.category-chips span,
.category-chips small {
    display: block;
}

.category-chips span {
    overflow: hidden;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.category-chips small {
    margin-top: 3px;
    color: var(--muted);
}

.card-grid {
    display: grid;
    gap: 20px;
}

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

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

.drama-card {
    min-width: 0;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.poster-link {
    display: block;
}

.poster {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--surface-3);
}

.poster img {
    transition: transform 0.35s ease;
}

.drama-card:hover .poster img {
    transform: scale(1.04);
}

.status-pill,
.score-pill {
    position: absolute;
    top: 12px;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.status-pill {
    left: 12px;
    background: rgba(11, 11, 18, 0.76);
}

.score-pill {
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #151018;
    background: var(--gold);
}

.score-pill .icon {
    width: 13px;
    height: 13px;
    fill: currentColor;
}

.card-body {
    padding: 17px;
}

.card-body h3 {
    margin: 4px 0 7px;
    font-size: 1.22rem;
    line-height: 1.35;
}

.card-body p {
    display: -webkit-box;
    min-height: 3.4em;
    margin: 0 0 12px;
    overflow: hidden;
    color: var(--muted);
    font-size: 0.9rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.tag-row span {
    padding: 4px 9px;
    color: #cbc6d8;
    background: var(--surface-3);
    border-radius: 999px;
    font-size: 0.75rem;
}

.ai-spotlight {
    background: linear-gradient(180deg, transparent, rgba(139, 124, 255, 0.08), transparent);
}

.split-feature {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1730, #16131e);
    border: 1px solid rgba(139, 124, 255, 0.25);
    border-radius: 30px;
}

.split-feature__visual {
    position: relative;
    min-height: 420px;
}

.visual-note {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 7px 12px;
    background: rgba(15, 12, 25, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
}

.split-feature__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(28px, 5vw, 64px);
}

.split-feature__copy p,
.split-feature__copy blockquote {
    color: #c3bed0;
}

.split-feature__copy blockquote {
    margin: 12px 0 24px;
    padding-left: 18px;
    border-left: 3px solid var(--violet);
    font-size: 1.08rem;
}

.split-feature__copy .button {
    align-self: flex-start;
}

.schedule-board {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 22px;
}

.schedule-item {
    position: relative;
    display: grid;
    grid-template-columns: auto 12px 1fr;
    gap: 8px 12px;
    align-items: center;
    min-width: 0;
    padding: 22px;
    border-right: 1px solid var(--line);
}

.schedule-item:last-child {
    border-right: 0;
}

.schedule-item time {
    color: var(--gold);
    font-weight: 900;
}

.schedule-item strong,
.schedule-item small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.schedule-item small {
    grid-column: 3;
    color: var(--muted);
}

.schedule-dot {
    width: 9px;
    height: 9px;
    background: var(--primary);
    border-radius: 50%;
}

.schedule-item.active {
    background: linear-gradient(135deg, rgba(255, 61, 113, 0.17), transparent);
}

.genre-mosaic {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.genre-tile {
    min-height: 230px;
    padding: 24px;
    background: linear-gradient(145deg, var(--surface-2), var(--surface));
    border: 1px solid var(--line);
    border-radius: 22px;
}

.genre-tile--wide {
    grid-column: span 2;
}

.genre-tile .icon {
    width: 34px;
    height: 34px;
    color: var(--primary);
}

.genre-tile h3 {
    margin: 30px 0 6px;
    font-size: 1.35rem;
}

.genre-tile p {
    display: -webkit-box;
    margin: 0 0 14px;
    overflow: hidden;
    color: var(--muted);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.genre-tile > span {
    color: #ff96b1;
    font-weight: 800;
}

.ranking-section {
    background: #0f0e17;
}

.ranking-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.5fr);
    gap: 28px;
}

.ranking-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

.ranking-list li {
    display: grid;
    grid-template-columns: 54px 1fr 120px 50px;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.rank-number {
    color: #ff7e9e;
    font-size: 1.2rem;
    font-weight: 900;
}

.ranking-list a,
.ranking-list small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-list small {
    color: var(--muted);
}

.ranking-list strong {
    color: var(--gold);
    text-align: right;
}

.ranking-note {
    padding: 30px;
    background: linear-gradient(160deg, #ff3d71, #a52b8f);
    border-radius: 26px;
}

.ranking-note .icon {
    width: 40px;
    height: 40px;
}

.ranking-note h2 {
    margin: 40px 0 6px;
    font-size: 1.6rem;
}

.ranking-note a {
    display: inline-block;
    margin-top: 12px;
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 4px;
}

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

.editor-pick {
    position: relative;
    display: grid;
    grid-template-rows: 220px 1fr;
    min-width: 0;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 26px;
}

.editor-pick > div {
    padding: 20px;
}

.editor-pick > div > span {
    color: #ff98b3;
    font-size: 0.8rem;
    font-weight: 800;
}

.editor-pick h3 {
    margin: 4px 0 7px;
}

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

.editor-index {
    position: absolute;
    z-index: 2;
    top: 14px;
    left: 16px;
    color: white;
    font-size: 2rem;
    font-weight: 900;
    text-shadow: 0 3px 10px #000;
}

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

.compact-list > a {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    min-width: 0;
    padding: 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
}

.compact-list img {
    aspect-ratio: 4 / 3;
    border-radius: 12px;
}

.compact-list h3 {
    margin: 0 0 4px;
}

.compact-list p {
    overflow: hidden;
    margin: 0;
    color: var(--muted);
    font-size: 0.86rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.compact-list span {
    color: #ff9bb5;
    font-size: 0.8rem;
}

.compact-list > a > .icon {
    margin-right: 8px;
    color: var(--primary);
}

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

.mood-grid a {
    position: relative;
    min-height: 290px;
    padding: 24px;
    overflow: hidden;
    border-radius: 24px;
    isolation: isolate;
}

.mood-grid a::before,
.mood-grid a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: var(--mood-image);
    background-size: cover;
    background-position: center;
}

.mood-grid a::after {
    z-index: -1;
    background: linear-gradient(180deg, rgba(8, 7, 14, 0.05), rgba(8, 7, 14, 0.94));
}

.mood-grid h3 {
    margin: 140px 0 4px;
    font-size: 1.45rem;
}

.mood-grid p {
    display: -webkit-box;
    margin: 0 0 12px;
    overflow: hidden;
    color: #dedbe6;
    font-size: 0.9rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.mood-grid span {
    color: #ff9db7;
    font-weight: 800;
}

.guide-grid {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 34px;
    align-items: center;
    padding: 36px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 28px;
}

.guide-grid > div > p {
    color: var(--muted);
}

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

.guide-steps > div {
    min-height: 200px;
    padding: 20px;
    background: var(--surface-2);
    border-radius: 18px;
}

.guide-steps span {
    color: var(--primary);
    font-size: 1.6rem;
    font-weight: 900;
}

.guide-steps h3 {
    margin: 30px 0 5px;
}

.guide-steps p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.latest-scroller {
    display: grid;
    grid-auto-columns: minmax(260px, 1fr);
    grid-auto-flow: column;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
}

.latest-scroller .drama-card {
    scroll-snap-align: start;
}

.newsletter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 42px;
    background: linear-gradient(135deg, #27152a, #161323 55%, #20255a);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 30px;
}

.newsletter > div:first-child > .icon {
    float: left;
    width: 46px;
    height: 46px;
    margin-right: 20px;
    color: #ff86a5;
}

.newsletter h2 {
    margin: 2px 0 5px;
    font-size: clamp(1.55rem, 3vw, 2.2rem);
}

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

.newsletter-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
}

.breadcrumb {
    padding: 22px 0 10px;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    color: var(--muted);
    font-size: 0.85rem;
    list-style: none;
}

.breadcrumb li:not(:last-child)::after {
    content: "/";
    margin-left: 8px;
    color: #5f5a6e;
}

.page-hero {
    background: radial-gradient(circle at 80% 10%, rgba(255, 61, 113, 0.16), transparent 35%), linear-gradient(180deg, #11101b, var(--bg));
}

.page-hero__content {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 44px 0 58px;
}

.page-icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 92px;
    height: 92px;
    color: white;
    background: linear-gradient(135deg, var(--primary), #9c2e9e);
    border-radius: 28px;
    box-shadow: 0 16px 40px rgba(255, 61, 113, 0.22);
}

.page-icon .icon {
    width: 44px;
    height: 44px;
}

.page-hero h1 {
    margin: 4px 0 8px;
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    line-height: 1.1;
}

.page-hero p {
    max-width: 820px;
    margin: 0;
    color: #c6c1d0;
}

.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.filter-bar > span {
    font-size: 1.35rem;
    font-weight: 900;
}

.filter-bar div {
    display: flex;
    gap: 8px;
}

.filter-bar button {
    padding: 8px 14px;
    color: var(--muted);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 999px;
}

.filter-bar button.active {
    color: white;
    border-color: var(--primary);
}

.category-note {
    display: grid;
    grid-template-columns: 0.5fr 1.5fr;
    gap: 34px;
    padding: 32px;
    background: linear-gradient(135deg, rgba(255, 61, 113, 0.13), rgba(139, 124, 255, 0.08));
    border: 1px solid var(--line);
    border-radius: 24px;
}

.category-note > div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-note h2,
.category-note p {
    margin: 0;
}

.category-note p {
    color: #c8c3d2;
}

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

.detail-hero {
    background: radial-gradient(circle at 15% 30%, rgba(255, 61, 113, 0.16), transparent 34%);
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(280px, 430px) minmax(0, 1fr);
    gap: 50px;
    align-items: center;
    padding: 26px 0 60px;
}

.detail-poster {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 26px;
    box-shadow: var(--shadow);
}

.detail-poster span {
    position: absolute;
    left: 16px;
    bottom: 16px;
    padding: 7px 12px;
    background: rgba(11, 11, 18, 0.78);
    border-radius: 999px;
}

.detail-intro h1 {
    margin: 5px 0 12px;
    font-size: clamp(2.6rem, 6vw, 5.2rem);
    line-height: 1.1;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--muted);
}

.detail-meta strong {
    color: var(--gold);
    font-size: 1.8rem;
}

.detail-meta span {
    padding-right: 10px;
    border-right: 1px solid var(--line);
}

.detail-lead {
    max-width: 760px;
    color: #d2ced9;
    font-size: 1.08rem;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 44px;
}

.article-content {
    padding: 34px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
}

.article-content h2 {
    margin: 34px 0 10px;
    font-size: 1.65rem;
}

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

.article-content h3 {
    margin: 26px 0 6px;
    color: #ffabc1;
    font-size: 1.15rem;
}

.article-content p,
.article-content li {
    color: #c0bccb;
}

.detail-aside {
    display: grid;
    align-content: start;
    gap: 16px;
}

.info-panel {
    padding: 24px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 20px;
}

.info-panel h2 {
    margin: 0 0 14px;
    font-size: 1.2rem;
}

.info-panel dl,
.info-panel p {
    margin: 0;
}

.info-panel dl div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
}

.info-panel dt,
.info-panel p {
    color: var(--muted);
}

.info-panel dd {
    margin: 0;
}

.post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 8px;
}

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

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

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

.page-hero--search .container,
.page-hero--info .container {
    padding-bottom: 52px;
}

.page-hero--search h1,
.page-hero--info h1 {
    margin-top: 8px;
}

.search-page-form {
    max-width: 760px;
    margin-top: 24px;
    background: rgba(255, 255, 255, 0.08);
}

.search-page-form input {
    height: 56px;
}

.search-summary {
    margin-bottom: 22px;
}

.search-summary h2,
.search-summary p {
    margin: 0;
}

.search-summary p {
    color: var(--muted);
}

.empty-state {
    padding: 70px 20px;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
}

.empty-state .icon {
    width: 52px;
    height: 52px;
    margin: 0 auto;
    color: var(--primary);
}

.empty-state h2 {
    margin-bottom: 4px;
}

.empty-state p {
    color: var(--muted);
}

.empty-state a {
    color: #ff9bb5;
    font-weight: 800;
}

.prose-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.prose-nav {
    position: sticky;
    top: 150px;
    display: grid;
    gap: 8px;
    padding: 22px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
}

.prose-nav a {
    color: var(--muted);
}

.prose-card {
    padding: clamp(26px, 5vw, 56px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
}

.prose-card h2 {
    margin: 38px 0 8px;
    font-size: 1.55rem;
    scroll-margin-top: 160px;
}

.prose-card h2:first-child {
    margin-top: 0;
}

.prose-card p {
    color: #c5c0cf;
}

.not-found {
    display: grid;
    min-height: 65vh;
    place-items: center;
    text-align: center;
}

.not-found__inner > span {
    display: block;
    color: transparent;
    background: linear-gradient(135deg, var(--primary), var(--gold));
    -webkit-background-clip: text;
    font-size: clamp(6rem, 18vw, 13rem);
    font-weight: 900;
    line-height: 0.9;
}

.not-found__inner > .icon {
    width: 44px;
    height: 44px;
    margin: 30px auto 0;
    color: var(--primary);
}

.not-found h1 {
    margin-bottom: 6px;
}

.not-found p {
    max-width: 620px;
    margin: 0 auto;
    color: var(--muted);
}

.not-found .hero-actions {
    justify-content: center;
}

.quick-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.quick-links a {
    color: #ff9bb5;
}

.site-footer {
    margin-top: 50px;
    background: #08070d;
    border-top: 1px solid var(--line);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.7fr 0.8fr 1fr;
    gap: 34px;
    padding-top: 54px;
    padding-bottom: 44px;
}

.brand--footer {
    margin-bottom: 12px;
}

.footer-brand p,
.footer-grid > div > p {
    max-width: 390px;
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.footer-grid h2 {
    margin: 0 0 12px;
    font-size: 1rem;
}

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

.footer-links a {
    color: var(--muted);
    font-size: 0.9rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 18px;
    padding-bottom: 18px;
    color: #777282;
    border-top: 1px solid var(--line);
    font-size: 0.8rem;
}

.footer-bottom p {
    margin: 0;
}

.back-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 50;
    width: 44px;
    height: 44px;
    opacity: 0;
    color: white;
    background: var(--primary);
    border: 0;
    border-radius: 50%;
    pointer-events: none;
    transform: translateY(10px);
    transition: 0.2s ease;
}

.back-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

@media (max-width: 1080px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

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

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

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

    .footer-grid {
        grid-template-columns: 1.3fr 0.7fr 0.8fr;
    }

    .footer-grid > div:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 820px) {
    .header-main {
        grid-template-columns: 1fr auto;
        gap: 14px;
    }

    .header-search {
        grid-column: 1 / -1;
        grid-row: 2;
        margin-bottom: 14px;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .nav-shell {
        display: none;
    }

    .nav-shell.open {
        display: block;
    }

    .primary-nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .hero-grid,
    .split-feature,
    .ranking-layout,
    .guide-grid,
    .detail-grid,
    .article-layout {
        grid-template-columns: 1fr;
    }

    .hero-feature {
        aspect-ratio: 16 / 9;
    }

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

    .split-feature__visual {
        min-height: 330px;
    }

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

    .schedule-item:nth-child(2) {
        border-right: 0;
    }

    .schedule-item:nth-child(-n + 2) {
        border-bottom: 1px solid var(--line);
    }

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

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

    .editor-pick {
        grid-template-columns: minmax(180px, 0.7fr) 1fr;
        grid-template-rows: minmax(230px, auto);
    }

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

    .guide-grid {
        padding: 26px;
    }

    .newsletter {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .prose-layout {
        grid-template-columns: 1fr;
    }

    .prose-nav {
        position: static;
    }

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

    .footer-grid > div:last-child {
        grid-column: auto;
    }
}

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

    .section {
        padding: 34px 0;
    }

    .hero {
        padding-top: 38px;
    }

    .hero h1 {
        font-size: 4rem;
    }

    .hero-feature__overlay {
        left: 18px;
        right: 18px;
        bottom: 16px;
    }

    .hero-feature__overlay p {
        display: none;
    }

    .hero-stats {
        justify-content: space-between;
        gap: 14px;
    }

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

    .card-grid--4,
    .card-grid--3,
    .schedule-board,
    .genre-mosaic,
    .mood-grid {
        grid-template-columns: 1fr;
    }

    .schedule-item,
    .schedule-item:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .schedule-item:last-child {
        border-bottom: 0;
    }

    .genre-tile--wide {
        grid-column: auto;
    }

    .ranking-list li {
        grid-template-columns: 42px 1fr 44px;
    }

    .ranking-list small {
        display: none;
    }

    .editor-pick {
        grid-template-columns: 1fr;
        grid-template-rows: 210px 1fr;
    }

    .compact-list > a {
        grid-template-columns: 92px minmax(0, 1fr);
    }

    .compact-list > a > .icon {
        display: none;
    }

    .guide-steps {
        grid-template-columns: 1fr;
    }

    .guide-steps > div {
        min-height: 0;
    }

    .guide-steps h3 {
        margin-top: 12px;
    }

    .newsletter {
        padding: 28px;
    }

    .newsletter-actions,
    .newsletter-actions .button {
        width: 100%;
    }

    .newsletter-actions {
        flex-direction: column;
    }

    .page-hero__content {
        align-items: flex-start;
        flex-direction: column;
    }

    .page-icon {
        width: 70px;
        height: 70px;
    }

    .filter-bar {
        align-items: flex-start;
        flex-direction: column;
    }

    .filter-bar div {
        width: 100%;
        overflow-x: auto;
    }

    .filter-bar button {
        flex: 0 0 auto;
    }

    .category-note {
        grid-template-columns: 1fr;
    }

    .detail-grid {
        gap: 28px;
    }

    .article-content {
        padding: 24px;
    }

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

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

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

    .footer-bottom {
        flex-direction: column;
    }
}
