:root {
    --ink: #11182b;
    --muted: #697088;
    --paper: #f7f8fc;
    --surface: #ffffff;
    --line: #e6e8f0;
    --navy: #16213e;
    --navy-2: #243358;
    --coral: #ff5d6c;
    --coral-dark: #e74456;
    --amber: #ffb547;
    --cyan: #33c6c5;
    --violet: #7657d8;
    --pink: #ef72aa;
    --green: #42b983;
    --red: #ed4f4f;
    --shadow: 0 18px 50px rgba(22, 33, 62, 0.09);
    --radius: 20px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

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

button,
input {
    font: inherit;
}

.container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(17, 24, 43, 0.96);
    color: #ffffff;
    box-shadow: 0 10px 35px rgba(10, 15, 30, 0.2);
    backdrop-filter: blur(14px);
}

.header-row {
    display: flex;
    min-height: 78px;
    align-items: center;
    gap: 28px;
}

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

.brand-mark {
    position: relative;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 3px solid #ffffff;
    border-radius: 50%;
    background: var(--coral);
    box-shadow: inset 0 0 0 5px var(--navy);
}

.brand-mark::before,
.brand-mark::after {
    position: absolute;
    width: 4px;
    height: 15px;
    border-radius: 4px;
    background: #ffffff;
    content: "";
}

.brand-mark::before {
    transform: rotate(45deg);
}

.brand-mark::after {
    transform: rotate(-45deg);
}

.nav-toggle {
    display: none;
    margin-left: auto;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
}

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

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 10px;
    border-radius: 10px;
    color: #cbd3e9;
    font-size: 0.86rem;
    font-weight: 700;
    white-space: nowrap;
    transition: 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 93, 108, 0.17);
    color: #ffffff;
}

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

.nav-icon {
    color: var(--coral);
    font-size: 1rem;
}

.hero {
    margin-top: 38px;
}

.hero-shell {
    position: relative;
    display: grid;
    min-height: 430px;
    grid-template-columns: 1.15fr 0.85fr;
    overflow: hidden;
    border-radius: 30px;
    background: var(--navy);
    color: #ffffff;
    box-shadow: var(--shadow);
}

.hero-copy {
    position: relative;
    z-index: 2;
    padding: 62px;
}

.eyebrow,
.section-kicker {
    margin: 0 0 12px;
    color: var(--coral);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;
    font-size: clamp(2.65rem, 7vw, 5.3rem);
    line-height: 1.05;
    letter-spacing: -0.06em;
}

.hero h1 a {
    display: inline-block;
}

.hero-summary {
    max-width: 650px;
    margin: 24px 0 30px;
    color: #d6dbeb;
    font-size: 1.08rem;
}

.hero-actions,
.card-actions,
.reader-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border: 0;
    border-radius: 12px;
    background: var(--coral);
    color: #ffffff;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
    background: var(--coral-dark);
}

.button.secondary {
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
}

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

.hero-art {
    position: relative;
    min-height: 430px;
    background: linear-gradient(135deg, #ff7a70, #ff4f7b 46%, #7657d8);
}

.hero-art::before {
    position: absolute;
    inset: 9% 10% 11% 8%;
    border: 2px solid rgba(255, 255, 255, 0.65);
    border-radius: 36px 10px 36px 10px;
    background: repeating-linear-gradient(145deg, rgba(255, 255, 255, 0.2) 0 2px, transparent 2px 16px);
    content: "";
    transform: rotate(4deg);
}

.hero-art::after {
    position: absolute;
    right: 14%;
    bottom: 13%;
    width: 170px;
    height: 88px;
    border: 5px solid var(--navy);
    border-radius: 50%;
    background: #ffffff;
    content: "今日开看";
    color: var(--navy);
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 88px;
    text-align: center;
    transform: rotate(-7deg);
}

.main-content {
    padding: 52px 0 0;
}

.section {
    margin: 0 0 78px;
}

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

.section-title {
    margin: 0;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    line-height: 1.25;
}

.section-intro {
    max-width: 560px;
    margin: 8px 0 0;
    color: var(--muted);
}

.text-link {
    color: var(--coral-dark);
    font-weight: 800;
    white-space: nowrap;
}

.pulse-strip {
    display: grid;
    grid-template-columns: 1.25fr repeat(3, 1fr);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.pulse-lead,
.pulse-item {
    padding: 24px 26px;
}

.pulse-lead {
    background: var(--coral);
    color: #ffffff;
}

.pulse-item {
    border-left: 1px solid var(--line);
}

.pulse-number {
    display: block;
    margin-bottom: 2px;
    font-size: 1.75rem;
    font-weight: 900;
    line-height: 1.2;
}

.pulse-label {
    color: var(--muted);
    font-size: 0.9rem;
}

.pulse-lead .pulse-label {
    color: #ffe8ea;
}

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

.category-card {
    position: relative;
    min-height: 190px;
    padding: 26px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-icon {
    display: grid;
    width: 46px;
    height: 46px;
    margin-bottom: 30px;
    place-items: center;
    border-radius: 14px;
    background: var(--navy);
    color: #ffffff;
    font-size: 1.25rem;
}

.category-card h3 {
    margin: 0 0 6px;
    font-size: 1.2rem;
}

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

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

.poster-card {
    overflow: hidden;
    border-radius: 16px;
    background: var(--surface);
    box-shadow: 0 12px 30px rgba(22, 33, 62, 0.07);
}

.poster-card img,
.shelf-card img,
.feature-cover img,
.story-thumb img {
    width: 100%;
    object-fit: cover;
}

.poster-card img {
    aspect-ratio: 3 / 4;
}

.poster-body {
    padding: 16px;
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border-radius: 99px;
    background: #fff0f2;
    color: var(--coral-dark);
    font-size: 0.75rem;
    font-weight: 800;
}

.poster-body h3,
.shelf-body h3 {
    margin: 10px 0 4px;
    font-size: 1rem;
    line-height: 1.45;
}

.meta {
    margin: 0;
    color: var(--muted);
    font-size: 0.8rem;
}

.ranking-shell {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    overflow: hidden;
    border-radius: 26px;
    background: var(--navy);
    color: #ffffff;
}

.ranking-summary {
    padding: 42px;
    background: linear-gradient(150deg, var(--navy-2), var(--navy));
}

.ranking-summary h2 {
    margin: 0 0 14px;
    font-size: 2.2rem;
}

.ranking-summary p {
    color: #ccd4e8;
}

.ranking-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 20px;
    gap: 2px 18px;
    background: #ffffff;
    color: var(--ink);
}

.rank-row {
    display: grid;
    grid-template-columns: 38px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 16px 10px;
    border-bottom: 1px solid var(--line);
}

.rank-number {
    color: var(--coral);
    font-size: 1.2rem;
    font-weight: 900;
}

.rank-score {
    color: var(--muted);
    font-size: 0.82rem;
}

.feature-story {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.feature-cover img {
    height: 100%;
    min-height: 430px;
}

.feature-copy {
    padding: 48px;
}

.feature-copy h2 {
    margin: 10px 0 18px;
    font-size: 2.4rem;
    line-height: 1.25;
}

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

.feature-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 28px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.feature-point {
    padding: 16px 8px;
}

.feature-point strong,
.feature-point span {
    display: block;
}

.feature-point span {
    color: var(--muted);
    font-size: 0.78rem;
}

.shelf-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.shelf-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: var(--surface);
}

.shelf-card img {
    aspect-ratio: 4 / 3;
}

.shelf-body {
    padding: 18px;
}

.mosaic {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 150px;
    gap: 16px;
}

.mosaic-card {
    position: relative;
    display: flex;
    align-items: end;
    overflow: hidden;
    border-radius: 20px;
    background: var(--navy);
    color: #ffffff;
}

.mosaic-card:nth-child(1),
.mosaic-card:nth-child(4) {
    grid-column: span 2;
    grid-row: span 2;
}

.mosaic-card:nth-child(2),
.mosaic-card:nth-child(3),
.mosaic-card:nth-child(5),
.mosaic-card:nth-child(6) {
    grid-column: span 2;
}

.mosaic-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.58;
}

.mosaic-card::after {
    position: absolute;
    inset: 35% 0 0;
    background: linear-gradient(transparent, rgba(10, 16, 34, 0.92));
    content: "";
}

.mosaic-copy {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.mosaic-copy h3,
.mosaic-copy p {
    margin: 0;
}

.mosaic-copy p {
    color: #d7ddee;
    font-size: 0.82rem;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 2px solid var(--navy);
}

.timeline-item {
    position: relative;
    padding: 34px 24px 24px 0;
}

.timeline-item::before {
    position: absolute;
    top: -8px;
    left: 0;
    width: 14px;
    height: 14px;
    border: 3px solid var(--paper);
    border-radius: 50%;
    background: var(--coral);
    content: "";
}

.timeline-item h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
}

.timeline-item p {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
}

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

.schedule-day {
    min-height: 170px;
    padding: 18px;
    border-right: 1px solid var(--line);
}

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

.schedule-day strong,
.schedule-day span {
    display: block;
}

.schedule-day strong {
    margin-bottom: 20px;
    color: var(--coral-dark);
}

.schedule-day span {
    margin-bottom: 8px;
    font-size: 0.86rem;
    line-height: 1.45;
}

.guide-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 30px;
}

.guide-card {
    padding: 34px;
    border-radius: 22px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.guide-card.dark {
    background: var(--navy);
    color: #ffffff;
}

.guide-list {
    display: grid;
    margin-top: 24px;
    gap: 14px;
}

.guide-step {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 12px;
}

.guide-step b {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 50%;
    background: var(--coral);
    color: #ffffff;
}

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

.faq summary {
    font-weight: 800;
    cursor: pointer;
}

.faq p {
    margin: 8px 0 0;
    color: var(--muted);
}

.about-panel {
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 44px;
    padding: 46px;
    border-radius: 26px;
    background: #eef1fa;
}

.about-panel h2 {
    margin-top: 0;
    font-size: 2rem;
}

.about-panel p {
    color: #505a74;
}

.about-chips {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.about-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px;
    border-radius: 14px;
    background: #ffffff;
    font-weight: 700;
}

.app-panel {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 32px;
    padding: 42px;
    overflow: hidden;
    border-radius: 26px;
    background: linear-gradient(135deg, var(--coral), #ff7a70 50%, var(--violet));
    color: #ffffff;
}

.app-panel h2 {
    margin: 0 0 10px;
    font-size: 2.15rem;
}

.app-panel p {
    max-width: 700px;
    margin: 0 0 22px;
}

.qr-mark {
    display: grid;
    width: 150px;
    height: 150px;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    padding: 14px;
    border: 8px solid #ffffff;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(31, 25, 75, 0.22);
}

.qr-mark span {
    border-radius: 3px;
    background: var(--navy);
}

.qr-mark span:nth-child(3n) {
    background: var(--coral);
}

.site-footer {
    margin-top: 78px;
    padding: 38px 0;
    background: var(--navy);
    color: #cbd3e9;
}

.footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 36px 0 24px;
    color: var(--muted);
    font-size: 0.9rem;
}

.page-hero {
    padding: 42px;
    border-radius: 24px;
    background: var(--navy);
    color: #ffffff;
}

.page-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.2;
}

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

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

.story-card {
    display: grid;
    grid-template-columns: 180px 1fr;
    overflow: hidden;
    border-radius: 20px;
    background: var(--surface);
    box-shadow: 0 12px 34px rgba(22, 33, 62, 0.07);
}

.story-thumb img {
    height: 100%;
    aspect-ratio: 3 / 4;
}

.story-copy {
    padding: 24px;
}

.story-copy h2 {
    margin: 10px 0;
    font-size: 1.25rem;
    line-height: 1.4;
}

.story-copy p {
    color: var(--muted);
    font-size: 0.9rem;
}

.seo-copy {
    padding: 34px;
    border-left: 5px solid var(--coral);
    border-radius: 0 18px 18px 0;
    background: #ffffff;
}

.seo-copy h2 {
    margin-top: 0;
}

.reader-head {
    text-align: center;
}

.reader-head h1 {
    margin: 10px 0 14px;
    font-size: clamp(2rem, 5vw, 3.6rem);
    line-height: 1.25;
}

.reader-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 20px;
    color: var(--muted);
}

.reading-note {
    max-width: 880px;
    margin: 28px auto 36px;
    padding: 20px 24px;
    border: 1px solid #ffd7da;
    border-radius: 16px;
    background: #fff5f6;
    color: #72414a;
}

.comic-reader {
    max-width: 880px;
    margin: 0 auto;
}

.comic-panel {
    margin-bottom: 26px;
    overflow: hidden;
    border-radius: 18px;
    background: #0f1629;
    box-shadow: var(--shadow);
}

.comic-panel img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.comic-caption {
    margin: 0;
    padding: 14px 18px;
    color: #dbe1f0;
    font-size: 0.88rem;
}

.chapter-end {
    max-width: 880px;
    margin: 42px auto;
    padding: 36px;
    border-radius: 20px;
    background: var(--navy);
    color: #ffffff;
    text-align: center;
}

.chapter-end h2 {
    margin-top: 0;
}

.reader-nav {
    max-width: 880px;
    margin: 0 auto;
    justify-content: center;
}

.reader-nav .button.secondary {
    border-color: var(--line);
    background: #ffffff;
    color: var(--navy);
}

.empty-link {
    opacity: 0.45;
    pointer-events: none;
}

.error-page {
    display: grid;
    min-height: 70vh;
    place-items: center;
    text-align: center;
}

.error-code {
    margin: 0;
    color: var(--coral);
    font-size: 7rem;
    font-weight: 900;
    line-height: 1;
}

@media (max-width: 1060px) {
    .header-row {
        flex-wrap: wrap;
        padding: 14px 0;
    }

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

    .site-nav {
        display: none;
        width: 100%;
        flex-basis: 100%;
        flex-wrap: wrap;
        justify-content: flex-start;
        padding-bottom: 4px;
    }

    .site-nav.open {
        display: flex;
    }

    .hero-shell,
    .feature-story,
    .about-panel {
        grid-template-columns: 1fr;
    }

    .hero-art {
        min-height: 260px;
    }

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

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

    .poster-card:nth-child(n + 7) {
        display: none;
    }

    .ranking-shell,
    .guide-grid {
        grid-template-columns: 1fr;
    }

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

    .schedule-day {
        border-bottom: 1px solid var(--line);
    }

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

@media (max-width: 720px) {
    .container {
        width: min(100% - 24px, 1200px);
    }

    .hero {
        margin-top: 22px;
    }

    .hero-copy,
    .feature-copy,
    .page-hero {
        padding: 30px 24px;
    }

    .hero-art {
        min-height: 220px;
    }

    .hero-art::after {
        width: 130px;
        height: 68px;
        font-size: 1rem;
        line-height: 68px;
    }

    .main-content {
        padding-top: 34px;
    }

    .section {
        margin-bottom: 56px;
    }

    .section-head,
    .footer-row {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .pulse-lead {
        grid-column: span 2;
    }

    .pulse-item {
        border-top: 1px solid var(--line);
    }

    .pulse-item:nth-child(even) {
        border-left: 0;
    }

    .category-grid,
    .ranking-list,
    .about-chips {
        grid-template-columns: 1fr 1fr;
    }

    .poster-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .poster-card:nth-child(n + 7) {
        display: block;
    }

    .shelf-track {
        grid-template-columns: repeat(2, 1fr);
    }

    .mosaic {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 180px;
    }

    .mosaic-card,
    .mosaic-card:nth-child(n) {
        grid-column: span 1;
        grid-row: span 1;
    }

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

    .schedule-board {
        grid-template-columns: 1fr 1fr;
    }

    .app-panel {
        grid-template-columns: 1fr;
        padding: 30px 24px;
    }

    .qr-mark {
        width: 132px;
        height: 132px;
    }

    .story-card {
        grid-template-columns: 130px 1fr;
    }

    .story-copy {
        padding: 16px;
    }

    .comic-panel img {
        aspect-ratio: 3 / 4;
    }
}

@media (max-width: 480px) {
    .brand {
        font-size: 1.05rem;
    }

    .nav-link {
        width: calc(50% - 2px);
    }

    .category-grid,
    .ranking-list,
    .about-chips,
    .shelf-track {
        grid-template-columns: 1fr;
    }

    .poster-body {
        padding: 12px;
    }

    .ranking-summary,
    .about-panel,
    .guide-card {
        padding: 26px 22px;
    }

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

    .timeline,
    .schedule-board {
        grid-template-columns: 1fr;
    }

    .story-card {
        grid-template-columns: 1fr;
    }

    .story-thumb img {
        aspect-ratio: 16 / 9;
    }
}
