:root {
    --bg: #080914;
    --surface: #111327;
    --surface-2: #171a32;
    --card: #14172d;
    --text: #f6f4ff;
    --muted: #a9acc6;
    --accent: #ff4d8d;
    --accent-2: #8b5cf6;
    --cyan: #45d8ff;
    --line: rgba(255, 255, 255, 0.11);
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
    --radius: 22px;
}

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

body::before {
    position: fixed;
    inset: 0;
    z-index: -2;
    background: radial-gradient(circle at 12% 12%, rgba(139, 92, 246, 0.13), transparent 30%), radial-gradient(circle at 88% 18%, rgba(255, 77, 141, 0.11), transparent 28%);
    content: "";
    pointer-events: none;
}

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

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

button,
input,
select,
textarea {
    font: inherit;
}

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

.icon {
    display: inline-flex;
    width: 1.2em;
    height: 1.2em;
    flex: 0 0 auto;
}

.icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

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

.header-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) 210px;
    min-height: 76px;
    align-items: center;
    gap: 22px;
}

.brand-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    display: flex;
    flex: 0 0 auto;
}

.brand {
    margin: 0;
    font-size: 1.2rem;
}

.brand a {
    font-weight: 800;
    white-space: nowrap;
}

.brand img {
    border-radius: 12px;
}

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

.main-nav a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 9px 8px;
    border-radius: 10px;
    color: var(--muted);
    font-size: 0.84rem;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    background: var(--surface-2);
    color: var(--text);
}

.header-search {
    display: flex;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    overflow: hidden;
}

.header-search input {
    min-width: 0;
    width: 100%;
    padding: 0 4px 0 14px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
}

.header-search button {
    display: grid;
    width: 42px;
    border: 0;
    background: transparent;
    color: var(--text);
    place-items: center;
    cursor: pointer;
}

.menu-toggle {
    display: none;
}

.breadcrumb {
    padding-top: 16px;
    color: var(--muted);
    font-size: 0.86rem;
}

.breadcrumb ol {
    display: flex;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
    overflow: hidden;
}

.breadcrumb li {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.breadcrumb li + li::before {
    margin-right: 8px;
    color: #656984;
    content: "/";
}

.section {
    padding-top: 78px;
    padding-bottom: 78px;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.section-heading h2,
.feature-copy h2,
.editor-intro h2,
.faq-layout h2 {
    margin: 8px 0 0;
    font-size: clamp(1.75rem, 3vw, 2.75rem);
    line-height: 1.18;
}

.eyebrow,
.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #d4c6ff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-more,
.text-link {
    color: #ff8ab5;
    font-weight: 700;
}

.hero-section {
    padding: 32px 0 76px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
    min-height: 610px;
    align-items: center;
    gap: 64px;
}

.hero-title {
    margin: 22px 0;
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 900;
    letter-spacing: -0.06em;
    line-height: 0.98;
}

.hero-title em {
    background: linear-gradient(90deg, var(--accent), #ffb45e, var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-style: normal;
}

.hero-lead {
    max-width: 680px;
    color: #c2c5d8;
    font-size: 1.08rem;
}

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

.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    cursor: pointer;
}

.button-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    box-shadow: 0 12px 30px rgba(255, 77, 141, 0.2);
}

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

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

.hero-stats div {
    display: grid;
}

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

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

.hero-feature {
    position: relative;
    aspect-ratio: 4 / 5;
    max-height: 610px;
    border: 1px solid var(--line);
    border-radius: 36px 8px 36px 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero-feature::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(8, 9, 20, 0.93));
    content: "";
    pointer-events: none;
}

.hero-feature a,
.hero-feature img {
    width: 100%;
    height: 100%;
}

.hero-feature img {
    object-fit: cover;
}

.hero-poster-copy {
    position: absolute;
    z-index: 1;
    right: 34px;
    bottom: 28px;
    left: 34px;
}

.hero-poster-copy span {
    color: #ffb9d1;
    font-weight: 800;
}

.hero-poster-copy h2 {
    margin: 8px 0;
    font-size: 2.4rem;
}

.hero-poster-copy p {
    margin: 0;
    color: #d8d9e5;
}

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

.drama-card {
    display: flex;
    min-width: 0;
    min-height: 100%;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
    overflow: hidden;
    transition: transform 180ms ease, border-color 180ms ease;
}

.drama-card:hover {
    border-color: rgba(255, 77, 141, 0.45);
    transform: translateY(-5px);
}

.card-media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 300ms ease;
}

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

.rank-badge,
.episode-badge {
    position: absolute;
    top: 12px;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(8, 9, 20, 0.82);
    font-size: 0.72rem;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.rank-badge {
    left: 12px;
    color: #ff90b8;
}

.episode-badge {
    right: 12px;
}

.card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-size: 0.78rem;
}

.card-body h3 {
    display: -webkit-box;
    min-height: 3.1rem;
    margin: 10px 0 8px;
    overflow: hidden;
    font-size: 1.18rem;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

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

.card-body .text-link {
    margin-top: auto;
}

.genre-section {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #0d0f20;
}

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

.genre-tile {
    display: flex;
    min-height: 220px;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    overflow: hidden;
}

.genre-tile .icon {
    width: 32px;
    height: 32px;
    margin-bottom: auto;
    color: var(--cyan);
}

.genre-tile strong {
    font-size: 1.08rem;
}

.genre-tile span:last-child {
    display: -webkit-box;
    margin-top: 8px;
    overflow: hidden;
    color: var(--muted);
    font-size: 0.8rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.genre-2,
.genre-5 {
    background: linear-gradient(165deg, rgba(139, 92, 246, 0.22), rgba(17, 19, 39, 0.65));
}

.genre-4,
.genre-7 {
    background: linear-gradient(165deg, rgba(255, 77, 141, 0.18), rgba(17, 19, 39, 0.65));
}

.split-feature {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 70px;
}

.feature-image {
    aspect-ratio: 16 / 10;
    border-radius: 8px 38px 8px 38px;
    overflow: hidden;
}

.feature-image img,
.craft-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-copy p {
    color: var(--muted);
}

.feature-copy blockquote {
    margin: 28px 0;
    padding-left: 22px;
    border-left: 3px solid var(--accent);
    color: #eee5ff;
    font-size: 1.1rem;
}

.latest-section {
    background: linear-gradient(90deg, #141228, #10182b);
}

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

.latest-item {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    align-items: center;
    gap: 15px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
}

.latest-item img {
    width: 84px;
    aspect-ratio: 1;
    border-radius: 11px;
    object-fit: cover;
}

.latest-item span {
    min-width: 0;
}

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

.latest-item small {
    color: var(--muted);
}

.ranking-layout {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 28px;
}

.ranking-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.ranking-list li {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 16px 8px;
    border-bottom: 1px solid var(--line);
}

.rank-number {
    color: #ff79aa;
    font-size: 1.3rem;
    font-weight: 900;
}

.ranking-list strong,
.ranking-list small {
    display: block;
}

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

.score {
    color: #ffd36c;
    font-weight: 800;
}

.ranking-note {
    padding: 34px;
    border-radius: 30px;
    background: linear-gradient(145deg, #7c3aed, #ec4899);
}

.ranking-note span {
    font-size: 0.82rem;
    font-weight: 800;
}

.ranking-note h3 {
    font-size: 1.8rem;
    line-height: 1.25;
}

.editor-section {
    background: #f1edff;
    color: #171222;
}

.editor-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 70px;
}

.editor-intro .eyebrow,
.editor-intro .text-link {
    color: #7138c8;
}

.editor-intro p {
    color: #5a5267;
}

.mood-list {
    display: grid;
    gap: 12px;
}

.mood-list a {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border: 1px solid rgba(40, 28, 58, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.6);
}

.mood-list span {
    color: #b31d63;
    font-weight: 800;
}

.mood-list small {
    color: #6b6276;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
}

.calendar-grid div {
    min-height: 190px;
    padding: 26px;
    border-right: 1px solid var(--line);
    background: var(--surface);
}

.calendar-grid div:last-child {
    border-right: 0;
}

.calendar-grid span,
.calendar-grid strong,
.calendar-grid small {
    display: block;
}

.calendar-grid span {
    color: var(--cyan);
    font-weight: 800;
}

.calendar-grid strong {
    margin: 28px 0 4px;
    font-size: 1.12rem;
}

.calendar-grid small {
    color: var(--muted);
}

.how-section {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #0d0f20;
}

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

.how-grid span {
    color: #ff7bac;
    font-size: 3rem;
    font-weight: 900;
}

.how-grid h3 {
    margin: 5px 0;
}

.how-grid p {
    color: var(--muted);
}

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

.quote-grid blockquote {
    margin: 0;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--surface);
}

.quote-grid p {
    min-height: 86px;
    font-size: 1.05rem;
}

.quote-grid footer {
    color: var(--muted);
    font-size: 0.86rem;
}

.faq-section {
    background: linear-gradient(135deg, rgba(69, 216, 255, 0.08), rgba(139, 92, 246, 0.1));
}

.faq-layout {
    display: grid;
    grid-template-columns: 0.65fr 1.35fr;
    gap: 70px;
}

.accordion details {
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}

.accordion summary {
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
}

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

.newsletter-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    margin-top: 78px;
    margin-bottom: 78px;
    padding-right: 36px;
    padding-left: 36px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 28px;
    background: linear-gradient(110deg, #5223a7, #b42f74);
}

.newsletter-copy {
    display: flex;
    align-items: center;
    gap: 18px;
}

.newsletter-copy > .icon {
    width: 42px;
    height: 42px;
}

.newsletter-copy h2,
.newsletter-copy p {
    margin: 0;
}

.newsletter-section form,
.large-search {
    display: flex;
    gap: 10px;
}

.newsletter-section input,
.large-search input {
    min-width: 280px;
    padding: 12px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    outline: 0;
    background: rgba(8, 9, 20, 0.72);
    color: var(--text);
}

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

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

.footer-brand img {
    border-radius: 14px;
}

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

.site-footer h2 {
    margin-top: 0;
    font-size: 1rem;
}

.site-footer ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.site-footer li {
    margin: 8px 0;
    color: var(--muted);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 48px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: #777b96;
    font-size: 0.84rem;
}

.channel-hero,
.page-hero {
    margin-top: 22px;
    padding: 72px 0;
    background: linear-gradient(120deg, rgba(139, 92, 246, 0.22), rgba(255, 77, 141, 0.08));
}

.channel-hero-inner {
    display: grid;
    grid-template-columns: 120px minmax(0, 780px);
    align-items: center;
    gap: 32px;
}

.channel-icon,
.page-icon {
    display: grid;
    width: 110px;
    height: 110px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.08);
    color: #ff8db6;
    place-items: center;
}

.channel-icon .icon,
.page-icon .icon {
    width: 52px;
    height: 52px;
}

.channel-hero h1,
.page-hero h1 {
    margin: 6px 0 10px;
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    line-height: 1.1;
}

.channel-hero p,
.page-hero p {
    max-width: 760px;
    margin: 0;
    color: #c8cadd;
    font-size: 1.05rem;
}

.topic-guide {
    display: grid;
    grid-template-columns: 1.35fr repeat(3, 1fr);
    gap: 22px;
}

.topic-guide > div {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
}

.topic-guide h2,
.topic-guide h3 {
    margin-top: 8px;
}

.topic-guide p {
    color: var(--muted);
}

.related-band {
    background: #0e1022;
}

.chip-row,
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip-row a,
.tag-row span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
}

.detail-hero {
    padding: 54px 0 72px;
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
    align-items: center;
    gap: 64px;
}

.detail-poster {
    aspect-ratio: 4 / 5;
    border-radius: 28px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.detail-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-copy h1 {
    margin: 18px 0;
    font-size: clamp(2.6rem, 5vw, 5rem);
    line-height: 1.08;
}

.detail-hook {
    color: #e2c6ff;
    font-size: 1.25rem;
    font-weight: 700;
}

.detail-copy > p:last-of-type {
    color: var(--muted);
}

.detail-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 26px 0;
}

.detail-stats span {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    color: var(--muted);
    font-size: 0.78rem;
}

.detail-stats strong {
    display: block;
    color: var(--text);
    font-size: 1.05rem;
}

.story-section {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 60px;
}

.story-main h2,
.craft-section h2,
.contact-layout h2,
.legal-content h2,
.prose-block h2 {
    font-size: 2rem;
}

.story-main p,
.story-section aside li,
.craft-section p,
.prose-block p,
.legal-content p {
    color: var(--muted);
}

.story-section aside {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--surface);
}

.episode-section {
    background: #0d0f20;
}

.episode-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.episode-list li {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}

.episode-list > li > span {
    color: #ff77a9;
    font-size: 1.5rem;
    font-weight: 900;
}

.episode-list h3,
.episode-list p {
    margin: 0;
}

.episode-list p,
.episode-list small {
    color: var(--muted);
}

.craft-section {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 60px;
}

.craft-section img {
    aspect-ratio: 16 / 9;
    border-radius: 26px;
}

.prev-next {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.prev-next a {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
}

.prev-next a:last-child {
    text-align: right;
}

.prev-next small,
.prev-next strong {
    display: block;
}

.prev-next small {
    color: var(--muted);
}

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

.page-hero .container {
    text-align: center;
}

.page-hero .page-icon {
    margin: 0 auto 20px;
}

.page-hero p {
    margin-right: auto;
    margin-left: auto;
}

.content-page {
    max-width: 1120px;
}

.prose-block,
.legal-content {
    max-width: 850px;
    margin: 0 auto 60px;
}

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

.values-grid div {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
}

.values-grid span {
    color: var(--accent);
    font-size: 2rem;
    font-weight: 900;
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 50px;
}

.contact-info > div {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.contact-info p {
    margin: 3px 0;
    color: var(--muted);
}

.contact-email {
    margin-top: 28px !important;
    color: #ff8ab5 !important;
    font-weight: 800;
}

.contact-form {
    display: grid;
    gap: 16px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--surface);
}

.contact-form label {
    display: grid;
    gap: 6px;
    font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    outline: 0;
    background: #0c0e1c;
    color: var(--text);
}

.form-status {
    margin: 0;
    color: #87f6ca;
}

.legal-content h2 {
    margin-top: 42px;
}

.large-search {
    max-width: 650px;
    margin: 30px auto 0;
}

.large-search input {
    min-width: 0;
    flex: 1;
}

.search-summary {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 28px;
}

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

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

.empty-state {
    padding: 70px 20px;
    text-align: center;
}

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

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

.error-code {
    background: linear-gradient(90deg, var(--accent), var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: clamp(7rem, 20vw, 15rem);
    font-weight: 950;
    letter-spacing: -0.08em;
    line-height: 0.8;
}

.not-found h1 {
    margin: 34px 0 8px;
    font-size: 2.4rem;
}

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

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

@media (max-width: 1180px) {
    .header-inner {
        grid-template-columns: auto 1fr auto;
    }

    .menu-toggle {
        display: grid;
        width: 42px;
        height: 42px;
        grid-column: 3;
        align-content: center;
        gap: 5px;
        padding: 10px;
        border: 1px solid var(--line);
        border-radius: 11px;
        background: var(--surface);
    }

    .menu-toggle span {
        display: block;
        height: 2px;
        background: var(--text);
    }

    .header-search {
        grid-column: 2;
        grid-row: 1;
        max-width: 240px;
        justify-self: end;
    }

    .main-nav {
        position: absolute;
        top: 76px;
        right: 20px;
        left: 20px;
        display: none;
        max-height: calc(100vh - 100px);
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: #0e1021;
        box-shadow: var(--shadow);
        overflow-y: auto;
    }

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

    .main-nav a {
        padding: 12px;
    }

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

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

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

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

@media (max-width: 860px) {
    .section {
        padding-top: 58px;
        padding-bottom: 58px;
    }

    .hero-grid,
    .split-feature,
    .editor-layout,
    .ranking-layout,
    .faq-layout,
    .detail-grid,
    .story-section,
    .craft-section,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .hero-grid {
        padding-top: 40px;
    }

    .hero-feature {
        width: 100%;
        max-height: none;
    }

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

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

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

    .calendar-grid div {
        border-bottom: 1px solid var(--line);
    }

    .how-grid,
    .quote-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

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

    .newsletter-section form {
        width: 100%;
    }

    .newsletter-section input {
        min-width: 0;
        flex: 1;
    }

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

    .channel-hero-inner {
        grid-template-columns: 90px minmax(0, 1fr);
    }

    .channel-icon {
        width: 86px;
        height: 86px;
    }

    .detail-poster {
        width: min(100%, 480px);
        margin: 0 auto;
    }
}

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

    .header-inner {
        min-height: 68px;
        gap: 10px;
    }

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

    .header-search {
        display: none;
    }

    .menu-toggle {
        grid-column: 3;
    }

    .main-nav {
        top: 68px;
    }

    .hero-title {
        font-size: 3.25rem;
    }

    .hero-grid {
        min-height: auto;
    }

    .hero-stats {
        gap: 18px;
    }

    .hero-poster-copy {
        right: 22px;
        bottom: 20px;
        left: 22px;
    }

    .hero-poster-copy h2 {
        font-size: 1.8rem;
    }

    .card-grid,
    .compact-grid,
    .latest-strip,
    .calendar-grid,
    .topic-guide,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .genre-grid {
        display: grid;
        grid-template-columns: 1fr;
    }

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

    .latest-item {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .latest-item img {
        width: 72px;
    }

    .mood-list a {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .ranking-list li {
        grid-template-columns: 42px minmax(0, 1fr) auto;
        gap: 8px;
    }

    .newsletter-section {
        padding-right: 22px;
        padding-left: 22px;
    }

    .newsletter-copy {
        align-items: flex-start;
    }

    .newsletter-section form,
    .large-search {
        flex-direction: column;
    }

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

    .channel-icon,
    .page-icon {
        width: 76px;
        height: 76px;
        border-radius: 22px;
    }

    .channel-icon .icon,
    .page-icon .icon {
        width: 36px;
        height: 36px;
    }

    .detail-stats {
        grid-template-columns: 1fr;
    }

    .episode-list li {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .episode-list small {
        grid-column: 2;
    }

    .prev-next {
        grid-template-columns: 1fr;
    }

    .prev-next a:last-child {
        text-align: left;
    }

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