/* 歪歪韩漫：全站视觉样式 */
:root {
    --ink: #17213d;
    --muted: #64708a;
    --paper: #f6f8ff;
    --surface: #ffffff;
    --night: #171c46;
    --night-soft: #22295c;
    --pink: #ff5f7e;
    --pink-dark: #e64768;
    --cyan: #4dd4cf;
    --yellow: #ffd166;
    --line: #dfe4f2;
    --shadow: 0 18px 55px rgba(26, 34, 78, 0.12);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.75;
    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: min(1200px, calc(100% - 40px));
    margin-right: auto;
    margin-left: auto;
}

.section-space {
    margin-top: 92px;
    margin-bottom: 92px;
}

.site-header {
    position: sticky;
    z-index: 50;
    top: 0;
    border-bottom: 1px solid rgba(223, 228, 242, 0.82);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: flex;
    min-height: 80px;
    align-items: center;
    gap: 26px;
}

.brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 11px;
}

.brand-mark {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    color: #ffffff;
    border: 3px solid var(--ink);
    border-radius: 14px 14px 14px 4px;
    background: var(--pink);
    box-shadow: 5px 5px 0 var(--yellow);
    font-size: 1.45rem;
    font-weight: 900;
    line-height: 1;
    transform: rotate(-3deg);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-copy strong {
    letter-spacing: 0.04em;
    font-size: 1.05rem;
}

.brand-copy small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.75rem;
}

.main-nav {
    display: flex;
    margin-left: auto;
    align-items: center;
    gap: 4px;
}

.nav-link {
    display: inline-flex;
    min-height: 44px;
    padding: 8px 11px;
    align-items: center;
    gap: 5px;
    border-radius: 12px;
    color: #48526c;
    font-size: 0.88rem;
    transition: 180ms ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--night);
    background: #eef0ff;
}

.nav-link.is-active {
    box-shadow: inset 0 -2px 0 var(--pink);
    font-weight: 700;
}

.nav-icon {
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    color: var(--pink-dark);
}

.menu-toggle {
    display: none;
    margin-left: auto;
    padding: 9px 12px;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #ffffff;
    cursor: pointer;
}

.hero {
    display: grid;
    min-height: 570px;
    margin-top: 48px;
    padding: 66px 72px;
    grid-template-columns: 1.25fr 0.75fr;
    align-items: center;
    gap: 70px;
    color: #ffffff;
    border-radius: 34px;
    background: radial-gradient(circle at 82% 18%, rgba(77, 212, 207, 0.24), transparent 30%), linear-gradient(135deg, #171c46 0%, #282e68 100%);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.hero-kicker,
.eyebrow {
    display: inline-block;
    color: var(--pink-dark);
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 800;
}

.hero-kicker {
    padding: 6px 12px;
    color: var(--yellow);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
}

.hero h1 {
    margin: 20px 0 14px;
    font-size: clamp(3rem, 7vw, 6.3rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.hero h1 a {
    background: linear-gradient(90deg, #ffffff, #ffdbe2);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-copy > p {
    max-width: 620px;
    margin: 0;
    color: #cfd4f5;
    font-size: 1.12rem;
}

.hero-actions {
    display: flex;
    margin-top: 30px;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-flex;
    min-height: 46px;
    padding: 10px 20px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 13px;
    cursor: pointer;
    font-weight: 700;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: #ffffff;
    background: var(--pink);
    box-shadow: 0 10px 24px rgba(255, 95, 126, 0.26);
}

.button-ghost {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
}

.button-light {
    color: var(--night);
    background: #ffffff;
}

.hero-stats {
    display: flex;
    margin: 38px 0 0;
    padding: 0;
    gap: 34px;
    list-style: none;
}

.hero-stats li {
    display: flex;
    flex-direction: column;
}

.hero-stats strong {
    color: #ffffff;
    font-size: 1.35rem;
}

.hero-stats span {
    color: #9da6d7;
    font-size: 0.8rem;
}

.hero-feature {
    position: relative;
    max-width: 340px;
    margin-left: auto;
}

.hero-cover {
    position: relative;
    display: block;
    border: 7px solid #ffffff;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 22px 24px 0 var(--pink);
    transform: rotate(3deg);
    overflow: hidden;
}

.hero-cover img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.cover-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    color: var(--night);
    border-radius: 999px;
    background: var(--yellow);
    font-size: 0.78rem;
    font-weight: 800;
}

.hero-note {
    position: absolute;
    right: -24px;
    bottom: -34px;
    display: flex;
    width: 230px;
    padding: 14px 18px;
    flex-direction: column;
    color: var(--ink);
    border: 2px solid var(--ink);
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 7px 7px 0 var(--cyan);
    transform: rotate(-3deg);
}

.hero-note span {
    color: var(--muted);
    font-size: 0.8rem;
}

.quick-find {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 30px;
}

.search-panel {
    display: grid;
    padding: 24px;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 12px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
}

.search-panel label {
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    gap: 8px;
    font-weight: 800;
}

.search-panel input {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid var(--line);
    border-radius: 12px;
    outline: none;
}

.search-panel input:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 4px rgba(255, 95, 126, 0.12);
}

.search-panel p {
    margin: 0;
    color: var(--muted);
    font-size: 0.82rem;
}

.mood-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
}

.mood-tags a {
    padding: 12px 17px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
    transition: 180ms ease;
}

.mood-tags a:hover {
    color: #ffffff;
    border-color: var(--night);
    background: var(--night);
}

.section-heading {
    display: grid;
    margin-bottom: 30px;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 8px 30px;
}

.section-heading .eyebrow {
    grid-column: 1 / -1;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(1.75rem, 3.2vw, 2.55rem);
    line-height: 1.25;
}

.section-heading p {
    max-width: 540px;
    margin: 0;
    color: var(--muted);
    text-align: right;
}

.update-list {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    overflow: hidden;
}

.update-row {
    display: grid;
    padding: 18px 22px;
    grid-template-columns: 64px 40px 1fr auto auto;
    align-items: center;
    gap: 18px;
    border-bottom: 1px solid var(--line);
}

.update-row:last-child {
    border-bottom: 0;
}

.update-row:hover {
    background: #fbfbff;
}

.update-time,
.item-meta {
    color: var(--muted);
    font-size: 0.8rem;
}

.round-icon {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    color: var(--pink-dark);
    border-radius: 12px;
    background: #fff0f3;
}

.update-copy h3,
.update-copy p {
    margin: 0;
}

.update-copy p {
    color: var(--muted);
    font-size: 0.86rem;
}

.status-pill {
    padding: 4px 10px;
    color: #116c67;
    border-radius: 999px;
    background: #dff8f5;
    font-size: 0.76rem;
    font-weight: 800;
}

.text-link,
.arrow-link {
    color: var(--pink-dark);
    font-weight: 700;
}

.ranking-section {
    padding: 82px 0;
    color: #ffffff;
    background: var(--night);
}

.ranking-section .eyebrow {
    color: var(--yellow);
}

.ranking-section .section-heading p {
    color: #aeb5df;
}

.ranking-grid {
    display: grid;
    margin: 0;
    padding: 0;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    list-style: none;
}

.ranking-card {
    position: relative;
    min-width: 0;
}

.ranking-card > a {
    display: block;
    border-radius: 18px;
    overflow: hidden;
}

.ranking-card img,
.poster-card img,
.channel-cover img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform 260ms ease;
}

.ranking-card:hover img,
.poster-card:hover img,
.channel-item:hover img {
    transform: scale(1.04);
}

.rank-number {
    position: absolute;
    z-index: 2;
    top: -20px;
    left: 8px;
    color: var(--yellow);
    text-shadow: 4px 4px 0 var(--pink-dark);
    font-family: Georgia, serif;
    font-size: 3rem;
    font-weight: 900;
}

.ranking-card h3 {
    margin: 15px 0 0;
    font-size: 1rem;
}

.ranking-card p {
    margin: 2px 0 8px;
    color: #aeb5df;
    font-size: 0.8rem;
}

.categories {
    scroll-margin-top: 100px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.category-card {
    min-height: 225px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    transition: 180ms ease;
}

.category-card:nth-child(n+5) {
    grid-column: span 1;
}

.category-card:last-child {
    grid-column: 2 / span 2;
}

.category-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.category-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    color: var(--night);
    border-radius: 15px;
    background: var(--yellow);
    font-size: 1.25rem;
    font-weight: 900;
}

.category-card:nth-child(2n) .category-icon {
    color: #ffffff;
    background: var(--pink);
}

.category-card:nth-child(3n) .category-icon {
    background: var(--cyan);
}

.category-card h3 {
    margin: 18px 0 6px;
}

.category-card p {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 0.9rem;
}

.category-go {
    color: var(--pink-dark);
    font-size: 0.86rem;
    font-weight: 800;
}

.editor-pick {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: stretch;
    border-radius: 30px;
    background: #ffffff;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.pick-art img {
    width: 100%;
    height: 100%;
    min-height: 510px;
    object-fit: cover;
}

.pick-copy {
    padding: 62px;
}

.pick-copy h2 {
    margin: 10px 0 18px;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1.3;
}

.pick-copy p {
    color: var(--muted);
}

.pick-meta {
    display: grid;
    margin: 30px 0;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.pick-meta dt {
    color: var(--muted);
    font-size: 0.78rem;
}

.pick-meta dd {
    margin: 2px 0 0;
    font-weight: 700;
}

.poster-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.poster-card a {
    position: relative;
    display: block;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(26, 34, 78, 0.11);
    overflow: hidden;
}

.poster-overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 55px 18px 18px;
    color: #ffffff;
    background: linear-gradient(transparent, rgba(10, 13, 38, 0.92));
}

.poster-overlay span {
    color: var(--yellow);
    font-size: 0.75rem;
}

.poster-overlay h3 {
    margin: 2px 0 0;
    font-size: 1rem;
}

.schedule-section {
    padding: 80px 0;
    background: #e9edff;
}

.schedule-layout {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    align-items: center;
    gap: 60px;
}

.schedule-intro h2 {
    margin: 10px 0;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.2;
}

.schedule-intro p {
    color: var(--muted);
}

.schedule-board {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.schedule-board a {
    display: flex;
    min-height: 170px;
    padding: 16px 10px;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #d3daf5;
    border-radius: 15px;
    background: #ffffff;
}

.schedule-board a:hover {
    color: #ffffff;
    background: var(--night);
}

.schedule-board strong {
    color: var(--pink-dark);
    font-size: 0.8rem;
}

.schedule-board span {
    writing-mode: vertical-rl;
    font-size: 0.84rem;
    letter-spacing: 0.08em;
}

.story-map-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 160px;
    gap: 16px;
}

.story-tile {
    display: flex;
    padding: 25px;
    flex-direction: column;
    justify-content: flex-end;
    color: #ffffff;
    border-radius: var(--radius);
    background: var(--night);
}

.story-tile:nth-child(2) {
    color: var(--night);
    background: var(--yellow);
}

.story-tile:nth-child(3) {
    background: var(--pink-dark);
}

.story-tile:nth-child(4) {
    color: var(--night);
    background: var(--cyan);
}

.story-tile:nth-child(5) {
    background: var(--night-soft);
}

.tile-wide {
    grid-column: span 2;
}

.tile-tall {
    grid-row: span 2;
}

.story-tile h3,
.story-tile p {
    margin: 0;
}

.story-tile p {
    opacity: 0.78;
    font-size: 0.86rem;
}

.experience-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.experience-flow article {
    position: relative;
    padding: 30px;
    border-top: 3px solid var(--ink);
}

.experience-flow article::after {
    position: absolute;
    top: -7px;
    right: -5px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--pink);
    content: "";
}

.experience-flow span {
    color: var(--pink-dark);
    font-weight: 900;
}

.experience-flow h3 {
    margin: 14px 0 5px;
}

.experience-flow p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.reader-voices {
    padding: 82px 0;
    background: #ffffff;
}

.voice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.voice-grid figure {
    margin: 0;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.voice-grid blockquote {
    margin: 0 0 24px;
    font-size: 1.05rem;
}

.voice-grid figcaption {
    display: flex;
    flex-direction: column;
}

.voice-grid figcaption span {
    color: var(--muted);
    font-size: 0.78rem;
}

.about {
    display: grid;
    padding: 58px;
    grid-template-columns: 0.65fr 1.35fr;
    gap: 45px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: #ffffff;
}

.about-title h2 {
    margin: 10px 0 0;
    font-size: 2.45rem;
    line-height: 1.25;
}

.about-copy p {
    margin-top: 0;
    color: var(--muted);
}

.about-values {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.about-values article {
    padding: 22px;
    border-radius: 18px;
    background: var(--paper);
}

.about-values article > span {
    color: var(--pink-dark);
    font-size: 1.35rem;
}

.about-values h3,
.about-values p {
    margin: 4px 0 0;
}

.about-values p {
    color: var(--muted);
    font-size: 0.88rem;
}

.app-subscribe {
    display: grid;
    padding: 58px 66px;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 70px;
    color: #ffffff;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--pink-dark), #8b3f85);
    box-shadow: var(--shadow);
}

.app-subscribe .eyebrow {
    color: var(--yellow);
}

.app-copy h2 {
    margin: 8px 0 12px;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.2;
}

.app-copy > p {
    max-width: 700px;
    color: #ffe7ed;
}

.subscribe-form {
    display: flex;
    max-width: 560px;
    margin-top: 24px;
    gap: 10px;
}

.subscribe-form input {
    min-width: 0;
    flex: 1;
    padding: 12px 15px;
    border: 0;
    border-radius: 13px;
    outline: none;
}

.subscribe-note {
    margin: 8px 0 0;
    font-size: 0.78rem;
}

.brand-code {
    display: flex;
    width: 196px;
    padding: 18px;
    flex-direction: column;
    align-items: center;
    color: var(--night);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 10px 10px 0 var(--yellow);
}

.code-grid {
    display: grid;
    width: 130px;
    height: 130px;
    padding: 7px;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    border: 3px solid var(--night);
}

.code-grid span {
    border-radius: 3px;
    background: #edf0fa;
}

.code-grid .is-dark {
    background: var(--night);
}

.brand-code strong {
    margin-top: 10px;
}

.brand-code > span {
    color: var(--muted);
    font-size: 0.72rem;
}

.site-footer {
    margin-top: 100px;
    padding: 64px 0 0;
    color: #cfd4f5;
    background: #111532;
}

.footer-grid {
    display: grid;
    padding-bottom: 46px;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 60px;
}

.footer-brand {
    color: #ffffff;
    font-size: 1.4rem;
}

.footer-title {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 1rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.footer-links a:hover {
    color: var(--yellow);
}

.site-footer p {
    margin: 8px 0 0;
    font-size: 0.86rem;
}

.copyright {
    display: flex;
    padding: 18px 20px;
    justify-content: center;
    gap: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.back-top {
    position: fixed;
    z-index: 40;
    right: 24px;
    bottom: 24px;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    color: #ffffff;
    border: 0;
    border-radius: 14px;
    background: var(--pink);
    box-shadow: var(--shadow);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: 180ms ease;
}

.back-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.is-search-hidden {
    display: none !important;
}

/* 栏目页 */
.inner-main,
.reader-main {
    padding-top: 38px;
}

.breadcrumb {
    display: flex;
    margin-bottom: 24px;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    color: var(--muted);
    font-size: 0.85rem;
}

.breadcrumb a:hover {
    color: var(--pink-dark);
}

.channel-hero {
    display: grid;
    min-height: 250px;
    padding: 45px;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 30px;
    color: #ffffff;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--night), var(--night-soft));
    overflow: hidden;
}

.channel-latest {
    background: linear-gradient(135deg, #173755, #176f7b);
}

.channel-popular {
    background: linear-gradient(135deg, #5f2145, #bd4568);
}

.channel-romance {
    background: linear-gradient(135deg, #71304e, #df7087);
}

.channel-fantasy {
    background: linear-gradient(135deg, #273470, #4b69a9);
}

.channel-campus {
    background: linear-gradient(135deg, #14555b, #3d9a87);
}

.channel-suspense {
    background: linear-gradient(135deg, #242637, #5f657c);
}

.channel-completed {
    background: linear-gradient(135deg, #65431f, #b9833d);
}

.channel-icon {
    display: grid;
    width: 84px;
    height: 84px;
    place-items: center;
    color: var(--night);
    border-radius: 26px;
    background: var(--yellow);
    font-size: 2rem;
}

.channel-hero h1 {
    margin: 0 0 5px;
    font-size: clamp(2.2rem, 5vw, 4.1rem);
    line-height: 1.2;
}

.channel-hero p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
}

.channel-count {
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 999px;
    white-space: nowrap;
}

.channel-heading {
    margin-bottom: 24px;
}

.channel-heading h2,
.channel-heading p {
    margin: 0;
}

.channel-heading p {
    color: var(--muted);
}

.channel-list {
    display: grid;
    gap: 22px;
}

.channel-item {
    display: grid;
    min-height: 260px;
    grid-template-columns: 195px 1fr;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    overflow: hidden;
}

.channel-cover {
    position: relative;
    display: block;
    height: 100%;
    overflow: hidden;
}

.channel-cover img {
    height: 100%;
}

.item-index {
    position: absolute;
    bottom: 10px;
    left: 12px;
    color: #ffffff;
    text-shadow: 2px 2px 0 var(--night);
    font-family: Georgia, serif;
    font-size: 2.6rem;
    font-weight: 900;
}

.channel-item-copy {
    display: flex;
    padding: 32px 38px;
    flex-direction: column;
    justify-content: center;
}

.channel-item-copy h3 {
    margin: 4px 0 7px;
    font-size: 1.55rem;
}

.channel-item-copy p {
    margin: 0;
    color: var(--muted);
}

.item-actions {
    display: flex;
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.favorite-button {
    padding: 9px 16px;
    color: var(--pink-dark);
    border: 1px solid #ffc9d3;
    border-radius: 13px;
    background: #fff5f7;
    cursor: pointer;
}

.favorite-button.is-favorite {
    color: #ffffff;
    border-color: var(--pink);
    background: var(--pink);
}

.channel-note {
    margin: 70px 0 100px;
    padding: 32px 38px;
    border-left: 5px solid var(--cyan);
    border-radius: 0 18px 18px 0;
    background: #ffffff;
}

.channel-note h2,
.channel-note p {
    margin: 0;
}

.channel-note p {
    color: var(--muted);
}

/* 阅读页 */
.reader-container {
    max-width: 980px;
}

.reader-article {
    margin-bottom: 100px;
}

.reader-header {
    padding: 48px;
    text-align: center;
    border-radius: 28px;
    background: #ffffff;
}

.reader-category {
    display: inline-block;
    padding: 5px 12px;
    color: var(--pink-dark);
    border-radius: 999px;
    background: #fff0f3;
    font-size: 0.8rem;
    font-weight: 800;
}

.reader-header h1 {
    margin: 15px auto;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.25;
}

.reader-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 22px;
    color: var(--muted);
    font-size: 0.84rem;
}

.reading-guide {
    display: grid;
    margin: 34px 0;
    padding: 24px 28px;
    grid-template-columns: auto 1fr;
    gap: 16px;
    border: 1px solid #d5dcef;
    border-radius: 18px;
    background: #edf1ff;
}

.reading-guide > span {
    font-size: 1.5rem;
}

.reading-guide h2,
.reading-guide p {
    margin: 0;
}

.reading-guide h2 {
    font-size: 1.05rem;
}

.reading-guide p {
    color: var(--muted);
    font-size: 0.9rem;
}

.chapter-content > h2 {
    margin: 60px 0 5px;
    text-align: center;
    font-size: 1.8rem;
}

.chapter-intro {
    max-width: 760px;
    margin: 0 auto 32px;
    color: var(--muted);
    text-align: center;
}

.comic-pages {
    display: grid;
    gap: 28px;
}

.comic-page {
    margin: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 16px 45px rgba(26, 34, 78, 0.08);
}

.comic-page img {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 12px;
    object-fit: cover;
}

.comic-page figcaption {
    padding: 10px 4px 0;
    color: var(--muted);
    text-align: center;
    font-size: 0.78rem;
}

.chapter-end {
    margin: 50px 0;
    padding: 38px;
    text-align: center;
    border: 2px dashed #cfd5eb;
    border-radius: 22px;
    background: #ffffff;
}

.chapter-end > span {
    color: var(--pink);
    font-size: 1.6rem;
}

.chapter-end h2,
.chapter-end p {
    margin: 4px 0 0;
}

.chapter-end p {
    color: var(--muted);
}

.chapter-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
    gap: 12px;
}

.chapter-nav a,
.chapter-disabled {
    display: flex;
    min-height: 60px;
    padding: 12px 16px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #ffffff;
    text-align: center;
}

.chapter-nav a:hover {
    color: #ffffff;
    border-color: var(--night);
    background: var(--night);
}

.chapter-disabled {
    color: #9aa3b8;
    background: #eef1f7;
}

.chapter-back {
    color: #ffffff;
    border-color: var(--pink) !important;
    background: var(--pink) !important;
    font-weight: 800;
}

.chapter-next {
    text-align: right;
}

@media (max-width: 1080px) {
    .header-inner {
        flex-wrap: wrap;
        gap: 10px;
    }

    .brand {
        margin-top: 12px;
    }

    .main-nav {
        width: 100%;
        padding-bottom: 10px;
        overflow-x: auto;
    }

    .nav-link {
        flex: 0 0 auto;
    }

    .hero {
        padding: 55px;
        gap: 40px;
    }

    .ranking-grid,
    .poster-strip {
        grid-template-columns: repeat(3, 1fr);
    }

    .ranking-card:nth-child(n+4),
    .poster-card:nth-child(n+4) {
        grid-column: span 1;
    }

    .ranking-card:last-child,
    .poster-card:last-child {
        grid-column: 2;
    }

    .schedule-layout {
        grid-template-columns: 1fr;
    }

    .schedule-board {
        grid-template-columns: repeat(4, 1fr);
    }

    .schedule-board a:last-child {
        grid-column: 2 / span 2;
    }
}

@media (max-width: 780px) {
    .container {
        width: min(100% - 28px, 1200px);
    }

    .section-space {
        margin-top: 65px;
        margin-bottom: 65px;
    }

    .site-header {
        position: relative;
    }

    .header-inner {
        min-height: 72px;
        flex-wrap: nowrap;
    }

    .brand {
        margin-top: 0;
    }

    .brand-mark {
        width: 40px;
        height: 40px;
    }

    .brand-copy small {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 1px);
        right: 14px;
        left: 14px;
        display: none;
        width: auto;
        max-height: 70vh;
        padding: 12px;
        flex-direction: column;
        align-items: stretch;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: #ffffff;
        box-shadow: var(--shadow);
        overflow-y: auto;
    }

    .main-nav.is-open {
        display: flex;
    }

    .nav-link {
        width: 100%;
        padding: 10px 14px;
    }

    .hero {
        min-height: 0;
        margin-top: 28px;
        padding: 42px 28px 58px;
        grid-template-columns: 1fr;
    }

    .hero-feature {
        width: 75%;
        margin-right: auto;
    }

    .hero-note {
        right: -35px;
    }

    .quick-find,
    .section-heading,
    .editor-pick,
    .about,
    .app-subscribe {
        grid-template-columns: 1fr;
    }

    .section-heading p {
        text-align: left;
    }

    .mood-tags {
        justify-content: flex-start;
    }

    .update-row {
        grid-template-columns: 55px 1fr auto;
        gap: 10px;
    }

    .update-row .round-icon,
    .update-row .status-pill {
        display: none;
    }

    .ranking-grid,
    .poster-strip,
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ranking-card:last-child,
    .poster-card:last-child,
    .category-card:last-child {
        grid-column: 1 / -1;
        width: calc(50% - 9px);
        justify-self: center;
    }

    .pick-copy {
        padding: 36px 28px;
    }

    .pick-art img {
        min-height: 420px;
    }

    .schedule-board {
        grid-template-columns: repeat(2, 1fr);
    }

    .schedule-board a:last-child {
        grid-column: 1 / -1;
    }

    .schedule-board span {
        writing-mode: initial;
    }

    .story-map-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .experience-flow,
    .voice-grid,
    .about-values,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .experience-flow article::after {
        right: auto;
        left: -5px;
    }

    .about {
        padding: 38px 28px;
    }

    .app-subscribe {
        padding: 42px 28px;
        justify-items: center;
    }

    .app-copy {
        text-align: center;
    }

    .subscribe-form {
        margin-right: auto;
        margin-left: auto;
    }

    .footer-grid {
        gap: 30px;
    }

    .channel-hero {
        padding: 34px 28px;
        grid-template-columns: auto 1fr;
    }

    .channel-count {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .channel-item {
        grid-template-columns: 145px 1fr;
    }

    .channel-item-copy {
        padding: 25px;
    }

    .chapter-nav {
        grid-template-columns: 1fr 1fr;
    }

    .chapter-back {
        grid-column: 1 / -1;
        grid-row: 1;
    }
}

@media (max-width: 520px) {
    .hero-stats {
        gap: 18px;
    }

    .hero-feature {
        width: 88%;
    }

    .search-panel {
        grid-template-columns: 1fr;
    }

    .update-row {
        padding: 15px;
        grid-template-columns: 48px 1fr;
    }

    .update-row .text-link {
        grid-column: 2;
    }

    .ranking-grid,
    .poster-strip,
    .category-grid {
        grid-template-columns: 1fr;
    }

    .ranking-card:last-child,
    .poster-card:last-child,
    .category-card:last-child {
        grid-column: auto;
        width: 100%;
    }

    .ranking-card img,
    .poster-card img {
        aspect-ratio: 4 / 5;
    }

    .pick-meta {
        grid-template-columns: 1fr;
    }

    .story-map-grid {
        display: flex;
        flex-direction: column;
    }

    .story-tile {
        min-height: 150px;
    }

    .subscribe-form {
        flex-direction: column;
    }

    .copyright {
        flex-direction: column;
        gap: 3px;
    }

    .channel-hero {
        grid-template-columns: 1fr;
    }

    .channel-icon {
        width: 64px;
        height: 64px;
    }

    .channel-item {
        grid-template-columns: 1fr;
    }

    .channel-cover {
        max-height: 430px;
    }

    .channel-item-copy {
        padding: 25px 22px;
    }

    .reader-header {
        padding: 34px 20px;
    }

    .reading-guide {
        grid-template-columns: 1fr;
    }

    .comic-page {
        padding: 7px;
    }

    .chapter-nav {
        grid-template-columns: 1fr;
    }

    .chapter-back {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
