:root {
    --ink: #18202c;
    --muted: #667085;
    --paper: #fffdf9;
    --soft: #f7f3ec;
    --line: #e8e1d7;
    --orange: #f15b35;
    --orange-dark: #c93e1e;
    --navy: #17324d;
    --yellow: #ffc94a;
    --white: #ffffff;
    --shadow: 0 18px 50px rgba(23, 50, 77, 0.1);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
    line-height: 1.7;
}

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

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

button,
input {
    font: inherit;
}

.shell {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    z-index: 50;
    top: 0;
    border-bottom: 1px solid rgba(232, 225, 215, 0.85);
    background: rgba(255, 253, 249, 0.92);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand img {
    width: 176px;
    height: 46px;
}

.main-nav ul {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 4px;
}

.main-nav a {
    display: flex;
    align-items: center;
    padding: 9px 11px;
    border-radius: 12px;
    color: #4b5565;
    font-size: 14px;
    font-weight: 700;
    gap: 6px;
}

.main-nav a:hover,
.main-nav a[aria-current="page"],
.main-nav a.is-active {
    color: var(--orange-dark);
    background: #fff0e9;
}

.nav-icon {
    color: var(--orange);
    font-size: 16px;
}

.menu-toggle {
    display: none;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
}

.hero {
    display: grid;
    min-height: 650px;
    align-items: center;
    padding-block: 74px 80px;
    gap: 72px;
    grid-template-columns: 1.02fr 0.98fr;
}

.eyebrow {
    display: inline-block;
    color: var(--orange-dark);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 14px 0 20px;
    font-family: "STKaiti", "KaiTi", serif;
    font-size: clamp(64px, 8vw, 108px);
    font-weight: 800;
    letter-spacing: -0.08em;
    line-height: 0.95;
}

.hero h1 a {
    background: linear-gradient(120deg, var(--navy), var(--orange));
    -webkit-background-clip: text;
    color: transparent;
}

.hero-lead {
    max-width: 620px;
    margin: 0;
    color: #4f5d6d;
    font-size: 19px;
}

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

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0 21px;
    border: 1px solid transparent;
    border-radius: 14px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: var(--white);
    background: var(--orange);
    box-shadow: 0 10px 24px rgba(241, 91, 53, 0.22);
}

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

.button-dark {
    color: var(--white);
    background: var(--navy);
}

.button-light {
    color: var(--navy);
    background: var(--white);
}

.hero-facts {
    display: flex;
    margin: 42px 0 0;
    gap: 30px;
}

.hero-facts div {
    padding-right: 28px;
    border-right: 1px solid var(--line);
}

.hero-facts div:last-child {
    border-right: 0;
}

.hero-facts dt {
    color: var(--navy);
    font-size: 26px;
    font-weight: 900;
}

.hero-facts dd {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.hero-visual {
    position: relative;
}

.hero-visual > img {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 34px 110px 34px 34px;
    box-shadow: var(--shadow);
    object-fit: cover;
}

.floating-note {
    position: absolute;
    display: flex;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.note-top {
    top: 42px;
    left: -38px;
    flex-direction: column;
}

.note-top span {
    color: var(--muted);
    font-size: 12px;
}

.note-bottom {
    right: -24px;
    bottom: 38px;
    align-items: center;
    gap: 9px;
}

.pulse-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #21a56b;
    box-shadow: 0 0 0 6px rgba(33, 165, 107, 0.12);
}

.section {
    padding-block: 86px;
    scroll-margin-top: 100px;
}

.section-tint {
    background: var(--soft);
}

.section-heading {
    max-width: 720px;
    margin-bottom: 34px;
}

.section-heading h2,
.feature-copy h2,
.guide-copy h2,
.about-strip h2,
.app-panel h2,
.page-hero h1,
.editorial-grid h2,
.contact-panel h2 {
    margin: 8px 0 12px;
    font-family: "STKaiti", "KaiTi", serif;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.15;
}

.section-heading p,
.feature-copy p,
.guide-copy p,
.about-strip p,
.page-hero p {
    color: var(--muted);
}

.split-heading {
    display: flex;
    max-width: none;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
}

.split-heading > p {
    max-width: 430px;
}

.centered-heading {
    margin-inline: auto;
    text-align: center;
}

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

.category-card {
    min-height: 330px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.category-card h3 {
    margin: 22px 0 8px;
    font-size: 30px;
}

.category-card p {
    min-height: 84px;
    color: var(--muted);
}

.category-icon {
    display: grid;
    width: 56px;
    height: 56px;
    margin-bottom: 24px;
    place-items: center;
    border-radius: 18px;
    color: var(--white);
    background: var(--orange);
    font-size: 24px;
}

.category-2 .category-icon {
    background: var(--navy);
}

.category-3 .category-icon {
    color: var(--navy);
    background: var(--yellow);
}

.work-grid {
    display: grid;
    gap: 22px;
}

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

.work-card {
    display: flex;
    overflow: hidden;
    min-width: 0;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--white);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.work-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.poster-link {
    position: relative;
}

.poster-link img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.episode-badge {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 4px 9px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(24, 32, 44, 0.82);
    font-size: 12px;
}

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

.card-meta {
    display: flex;
    color: var(--orange-dark);
    font-size: 12px;
    font-weight: 800;
    gap: 10px;
}

.card-body h3 {
    margin: 8px 0;
    font-size: 20px;
}

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

.text-link {
    margin-top: auto;
    color: var(--orange-dark);
    font-weight: 800;
}

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

.feature-image img {
    width: 100%;
    aspect-ratio: 16 / 11;
    border-radius: 28px 28px 120px 28px;
    object-fit: cover;
}

.check-list {
    padding: 0;
    list-style: none;
}

.check-list li {
    margin-block: 8px;
}

.check-list li::before {
    margin-right: 10px;
    color: var(--orange);
    content: "✓";
    font-weight: 900;
}

.ranking-section {
    color: var(--white);
    background: var(--navy);
}

.ranking-layout {
    display: grid;
    align-items: center;
    gap: 68px;
    grid-template-columns: 0.8fr 1.2fr;
}

.ranking-intro p {
    color: #cbd5df;
}

.text-link-light {
    color: var(--yellow);
}

.ranking-card {
    padding: 20px;
    border-radius: 24px;
    color: var(--ink);
    background: var(--white);
}

.ranking-tabs {
    display: grid;
    padding: 5px;
    border-radius: 14px;
    background: var(--soft);
    grid-template-columns: repeat(3, 1fr);
}

.ranking-tabs button {
    padding: 9px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
}

.ranking-tabs button[aria-selected="true"] {
    color: var(--orange-dark);
    background: var(--white);
    box-shadow: 0 4px 14px rgba(23, 50, 77, 0.08);
}

.rank-list {
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

.rank-list li {
    display: grid;
    align-items: center;
    padding: 14px 8px;
    border-bottom: 1px solid var(--line);
    grid-template-columns: 46px 1fr auto;
    gap: 12px;
}

.rank-no {
    color: var(--orange);
    font-size: 20px;
    font-weight: 900;
}

.rank-list li > span:last-child {
    color: var(--muted);
    font-size: 12px;
}

.genre-cloud {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.genre-cloud a {
    padding: 15px 22px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    font-weight: 800;
}

.genre-cloud a:nth-child(3n + 1) {
    color: var(--orange-dark);
    background: #fff0e9;
}

.schedule-layout {
    display: grid;
    align-items: start;
    gap: 60px;
    grid-template-columns: 0.72fr 1.28fr;
}

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

.schedule-item {
    min-height: 220px;
    padding: 26px;
    border-radius: 20px;
    background: var(--white);
}

.schedule-item strong {
    display: block;
    color: var(--orange);
    font-size: 30px;
}

.schedule-item span {
    font-size: 18px;
    font-weight: 800;
}

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

.featured-day {
    color: var(--white);
    background: var(--orange);
    transform: translateY(-16px);
}

.featured-day strong,
.featured-day p {
    color: var(--white);
}

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

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

.steps li {
    display: grid;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    grid-template-columns: 64px 1fr;
    gap: 16px;
}

.steps li > span {
    color: var(--orange);
    font-size: 24px;
    font-weight: 900;
}

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

.about-strip {
    display: grid;
    align-items: center;
    padding: 48px;
    border-radius: 28px;
    background: #ffe8b0;
    gap: 30px;
    grid-template-columns: 1fr 1fr auto;
}

.app-panel {
    display: grid;
    margin-top: 86px;
    padding: 50px;
    align-items: center;
    border-radius: 30px 30px 0 0;
    color: var(--white);
    background: var(--orange);
    gap: 50px;
    grid-template-columns: 1fr 1fr;
}

.app-panel .eyebrow {
    color: #ffe4d9;
}

.app-panel p {
    margin-bottom: 0;
    color: #fff1eb;
}

.subscribe-form label,
.subscribe-form small {
    display: block;
}

.input-row {
    display: grid;
    margin: 8px 0;
    gap: 8px;
    grid-template-columns: 1fr auto;
}

.input-row input {
    min-width: 0;
    padding: 0 16px;
    border: 0;
    border-radius: 14px;
}

.subscribe-form small {
    color: #ffe4d9;
}

.site-footer {
    padding-block: 45px;
    color: #d2dbe4;
    background: #101f2e;
}

.footer-grid {
    display: grid;
    align-items: center;
    gap: 30px;
    grid-template-columns: 1fr auto;
}

.footer-grid nav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    margin: 0;
    grid-column: 1 / -1;
    color: #92a1af;
    font-size: 13px;
}

.page-hero {
    padding-block: 72px 44px;
    border-bottom: 1px solid var(--line);
}

.page-hero h1 {
    max-width: 820px;
    font-size: clamp(46px, 7vw, 76px);
}

.page-hero > p {
    max-width: 760px;
    font-size: 18px;
}

.breadcrumbs {
    display: flex;
    margin-bottom: 32px;
    color: var(--muted);
    font-size: 13px;
    flex-wrap: wrap;
    gap: 8px;
}

.article-page {
    padding-block: 52px 80px;
}

.article-header {
    display: grid;
    padding-block: 36px 64px;
    align-items: center;
    gap: 70px;
    grid-template-columns: 1fr 360px;
}

.article-header h1 {
    margin: 10px 0 14px;
    font-family: "STKaiti", "KaiTi", serif;
    font-size: clamp(48px, 7vw, 78px);
    line-height: 1.05;
}

.article-summary {
    max-width: 700px;
    color: var(--muted);
    font-size: 19px;
}

.article-header > img {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 24px 76px 24px 24px;
    object-fit: cover;
}

.article-meta {
    display: flex;
    margin-top: 30px;
    flex-wrap: wrap;
    gap: 30px;
}

.article-meta div {
    padding-right: 30px;
    border-right: 1px solid var(--line);
}

.article-meta dt {
    color: var(--muted);
    font-size: 12px;
}

.article-meta dd {
    margin: 2px 0 0;
    font-weight: 800;
}

.article-layout {
    display: grid;
    align-items: start;
    gap: 70px;
    grid-template-columns: 230px 1fr;
}

.episode-nav {
    position: sticky;
    top: 105px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
}

.episode-nav ol {
    margin: 14px 0 0;
    padding-left: 22px;
}

.episode-nav li {
    margin-block: 9px;
    color: var(--muted);
    font-size: 13px;
}

.plot-overview,
.episode {
    padding-bottom: 42px;
    border-bottom: 1px solid var(--line);
}

.plot-overview h2,
.episode h2,
.story-end h2 {
    margin: 8px 0 16px;
    font-family: "STKaiti", "KaiTi", serif;
    font-size: 34px;
}

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

.story-gallery {
    display: grid;
    margin-block: 48px;
    gap: 14px;
    grid-template-columns: repeat(3, 1fr);
}

.story-gallery figure {
    margin: 0;
}

.story-gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    object-fit: cover;
}

.story-gallery figcaption {
    padding-top: 8px;
    color: var(--muted);
    font-size: 12px;
}

.episode {
    padding-block: 42px;
    scroll-margin-top: 100px;
}

.episode-number {
    color: var(--orange-dark);
    font-size: 13px;
    font-weight: 900;
}

.story-end {
    padding: 50px;
    text-align: center;
}

.story-end > span {
    color: var(--orange);
    font-size: 32px;
}

.article-actions {
    display: grid;
    margin-top: 48px;
    gap: 12px;
    grid-template-columns: repeat(3, 1fr);
}

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

.full-rank-item {
    display: grid;
    padding: 22px 0;
    align-items: center;
    border-bottom: 1px solid var(--line);
    gap: 22px;
    grid-template-columns: 60px 130px 1fr auto;
}

.full-rank-item img {
    width: 130px;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    object-fit: cover;
}

.full-rank-item h2 {
    margin: 4px 0;
}

.full-rank-item p {
    margin: 0;
    color: var(--muted);
}

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

.editorial-grid article {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--white);
}

.editorial-grid h2 {
    font-size: 30px;
}

.editorial-grid p,
.contact-panel p {
    color: var(--muted);
}

.contact-panel {
    display: grid;
    padding: 48px;
    border-radius: 26px;
    background: var(--soft);
    gap: 60px;
    grid-template-columns: 0.9fr 1.1fr;
}

@media (max-width: 980px) {
    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 68px;
        right: 20px;
        left: 20px;
        display: none;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: var(--white);
        box-shadow: var(--shadow);
    }

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

    .main-nav ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .hero,
    .feature-story,
    .ranking-layout,
    .schedule-layout,
    .guide-layout,
    .app-panel,
    .article-header,
    .contact-panel {
        grid-template-columns: 1fr;
    }

    .hero {
        gap: 42px;
    }

    .hero-visual {
        max-width: 640px;
        margin-inline: auto;
    }

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

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

    .about-strip {
        grid-template-columns: 1fr;
    }

    .article-header > img {
        max-width: 420px;
    }
}

@media (max-width: 700px) {
    .shell {
        width: min(100% - 28px, 1180px);
    }

    .hero {
        min-height: auto;
        padding-block: 52px 64px;
    }

    .hero h1 {
        font-size: 62px;
    }

    .hero-facts {
        gap: 14px;
    }

    .hero-facts div {
        padding-right: 14px;
    }

    .note-top {
        left: 10px;
    }

    .note-bottom {
        right: 10px;
    }

    .section {
        padding-block: 64px;
    }

    .split-heading {
        display: block;
    }

    .work-grid-four,
    .schedule-grid,
    .story-gallery {
        grid-template-columns: 1fr;
    }

    .featured-day {
        transform: none;
    }

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

    .episode-nav {
        position: static;
    }

    .article-meta {
        display: grid;
        gap: 12px;
    }

    .article-meta div {
        padding-right: 0;
        border-right: 0;
    }

    .article-actions {
        grid-template-columns: 1fr;
    }

    .app-panel,
    .about-strip,
    .contact-panel {
        width: min(100% - 28px, 1180px);
        padding: 32px;
    }

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

    .input-row input {
        min-height: 48px;
    }

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

    .full-rank-item {
        grid-template-columns: 48px 88px 1fr;
    }

    .full-rank-item img {
        width: 88px;
    }

    .full-rank-item > .text-link {
        grid-column: 3;
    }
}
