:root {
    --ink: #182033;
    --muted: #687086;
    --paper: #fffdfb;
    --surface: #f6f4f8;
    --line: #e9e5ec;
    --berry: #e83f6f;
    --berry-dark: #be2854;
    --navy: #182033;
    --gold: #ffca68;
    --mint: #70d6b6;
    --white: #ffffff;
    --shadow: 0 18px 50px rgba(24, 32, 51, 0.11);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
}

* {
    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;
    font-size: 16px;
    line-height: 1.75;
    overflow-x: hidden;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(circle at 10% 5%, rgba(232, 63, 111, 0.08), transparent 28%), radial-gradient(circle at 90% 20%, rgba(112, 214, 182, 0.1), transparent 24%);
    content: "";
    pointer-events: none;
}

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-inline: auto;
}

.section-gap {
    margin-top: 96px;
}

.section-gap-sm {
    margin-top: 48px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(233, 229, 236, 0.85);
    background: rgba(255, 253, 251, 0.94);
    backdrop-filter: blur(18px);
}

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

.brand,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 14px 8px 14px 8px;
    color: var(--white);
    background: var(--berry);
    box-shadow: 5px 5px 0 var(--gold);
    font-size: 22px;
    font-weight: 900;
    transform: rotate(-3deg);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-copy strong {
    font-size: 19px;
    letter-spacing: 0.04em;
}

.brand-copy small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 0.16em;
}

.nav-list {
    display: flex;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-link {
    display: flex;
    min-width: 66px;
    padding: 8px 9px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 12px;
    color: #50586d;
    font-size: 14px;
    transition: 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--berry-dark);
    background: rgba(232, 63, 111, 0.09);
}

.nav-link.is-active {
    font-weight: 700;
}

.nav-icon {
    font-size: 16px;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 0;
    border-radius: 12px;
    background: var(--surface);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    border-radius: 2px;
    background: var(--ink);
}

.hero {
    position: relative;
}

.hero-grid {
    display: grid;
    min-height: 610px;
    padding: 58px 68px;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 74px;
    border-radius: 36px;
    background: linear-gradient(135deg, #fff0f4 0%, #fffaf0 52%, #eefbf7 100%);
    overflow: hidden;
}

.hero-grid::after {
    position: absolute;
    width: 250px;
    height: 250px;
    right: 2%;
    top: 8%;
    border: 1px solid rgba(232, 63, 111, 0.18);
    border-radius: 50%;
    content: "";
}

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

.hero h1 {
    margin: 12px 0 20px;
    font-size: clamp(54px, 6vw, 84px);
    line-height: 1.08;
    letter-spacing: -0.06em;
}

.hero h1 a {
    color: var(--navy);
}

.hero-lead {
    max-width: 570px;
    margin: 0;
    color: var(--muted);
    font-size: 18px;
}

.hero-actions {
    display: flex;
    margin-top: 32px;
    flex-wrap: wrap;
    gap: 14px;
}

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

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

.button-primary {
    color: var(--white);
    background: var(--berry);
    box-shadow: 0 10px 24px rgba(232, 63, 111, 0.24);
}

.button-ghost {
    border-color: rgba(24, 32, 51, 0.16);
    background: rgba(255, 255, 255, 0.62);
}

.button-light {
    margin-top: 24px;
    color: var(--navy);
    background: var(--white);
}

.hero-tags {
    display: flex;
    margin-top: 26px;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-tags span {
    padding: 5px 12px;
    border: 1px solid rgba(24, 32, 51, 0.09);
    border-radius: 999px;
    color: #60687c;
    background: rgba(255, 255, 255, 0.58);
    font-size: 13px;
}

.hero-visual {
    position: relative;
    z-index: 2;
    width: min(100%, 390px);
    margin-left: auto;
}

.hero-card-main {
    position: relative;
    border: 10px solid var(--white);
    border-radius: 28px;
    background: var(--white);
    box-shadow: var(--shadow);
    overflow: hidden;
    transform: rotate(2deg);
}

.hero-card-main img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.hero-card-caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 50px 22px 20px;
    color: var(--white);
    background: linear-gradient(transparent, rgba(18, 24, 39, 0.9));
}

.hero-card-caption span,
.hero-card-caption strong {
    display: block;
}

.hero-card-caption span {
    font-size: 13px;
    opacity: 0.8;
}

.hero-card-caption strong {
    margin-top: 3px;
    font-size: 22px;
}

.floating-note {
    position: absolute;
    z-index: 3;
    min-width: 112px;
    padding: 13px 16px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 30px rgba(24, 32, 51, 0.14);
    backdrop-filter: blur(10px);
}

.floating-note span,
.floating-note strong {
    display: block;
}

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

.floating-note strong {
    font-size: 20px;
}

.note-top {
    top: 54px;
    left: -55px;
}

.note-bottom {
    right: -42px;
    bottom: 58px;
}

.signal-bar {
    position: relative;
    z-index: 4;
}

.signal-grid {
    display: grid;
    padding: 24px 32px;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: 0 12px 32px rgba(24, 32, 51, 0.06);
}

.signal-item {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 9px;
    border-right: 1px solid var(--line);
}

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

.signal-item strong {
    color: var(--berry);
    font-size: 24px;
}

.signal-item span {
    color: var(--muted);
    font-size: 14px;
}

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

.section-heading h2,
.ranking-intro h2,
.schedule-heading h2,
.shelf-header h2,
.about-content h2,
.app-copy h2 {
    margin: 6px 0 10px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.22;
    letter-spacing: -0.04em;
}

.section-heading p,
.ranking-intro p,
.schedule-heading p,
.about-content p,
.app-copy p {
    margin: 0;
    color: var(--muted);
}

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

.comic-grid-five {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.comic-card {
    min-width: 0;
}

.comic-cover {
    position: relative;
    display: block;
    border-radius: var(--radius-md);
    background: #e9e7ec;
    box-shadow: 0 10px 28px rgba(24, 32, 51, 0.08);
    overflow: hidden;
}

.comic-cover img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.comic-card:hover .comic-cover img {
    transform: scale(1.04);
}

.cover-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 9px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(24, 32, 51, 0.78);
    font-size: 12px;
    backdrop-filter: blur(8px);
}

.comic-info {
    padding: 15px 3px 0;
}

.comic-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: var(--muted);
    font-size: 12px;
}

.comic-info h3 {
    margin: 7px 0 6px;
    font-size: 18px;
    line-height: 1.45;
}

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

.section-action {
    margin-top: 28px;
    text-align: right;
}

.text-link {
    color: var(--berry-dark);
    font-weight: 700;
}

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

.ranking-layout {
    display: grid;
    padding-block: 76px;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 70px;
    align-items: start;
}

.eyebrow.light {
    color: var(--gold);
}

.ranking-intro p {
    color: rgba(255, 255, 255, 0.7);
}

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

.rank-item {
    display: grid;
    padding: 18px 0;
    grid-template-columns: 48px 1fr auto;
    align-items: center;
    gap: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.rank-number {
    color: var(--gold);
    font-size: 26px;
    font-weight: 800;
}

.rank-main a {
    font-size: 18px;
    font-weight: 700;
}

.rank-main p {
    margin: 2px 0 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 13px;
}

.rank-score {
    color: var(--mint);
    font-size: 14px;
    font-weight: 700;
}

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

.category-card {
    display: flex;
    min-height: 250px;
    padding: 28px;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:first-child {
    grid-column: span 2;
    background: linear-gradient(130deg, #fff0f4, #ffffff);
}

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

.category-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 14px;
    color: var(--berry-dark);
    background: rgba(232, 63, 111, 0.1);
    font-size: 23px;
}

.category-card h3 {
    margin: 18px 0 8px;
    font-size: 21px;
}

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

.category-more {
    margin-top: auto;
    padding-top: 20px;
    color: var(--berry-dark);
    font-size: 13px;
    font-weight: 700;
}

.editor-section {
    padding-block: 86px;
    background: #f3f7f6;
}

.editor-mosaic {
    display: grid;
    min-height: 550px;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    grid-template-rows: 1fr 1fr;
    gap: 18px;
}

.mosaic-card {
    position: relative;
    min-height: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.mosaic-1 {
    grid-row: span 2;
}

.mosaic-4 {
    grid-column: span 2;
}

.mosaic-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.mosaic-overlay {
    position: absolute;
    inset: auto 0 0;
    display: flex;
    padding: 50px 20px 18px;
    flex-direction: column;
    color: var(--white);
    background: linear-gradient(transparent, rgba(12, 17, 29, 0.88));
}

.mosaic-overlay small {
    opacity: 0.75;
}

.mosaic-overlay strong {
    font-size: 18px;
}

.schedule-layout {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    gap: 70px;
}

.schedule-art {
    margin-top: 28px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

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

.schedule-list {
    border-top: 2px solid var(--ink);
}

.schedule-item {
    display: grid;
    padding: 18px 4px;
    grid-template-columns: 50px 12px 1fr auto;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid var(--line);
}

.schedule-day {
    font-weight: 800;
}

.schedule-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--berry);
    box-shadow: 0 0 0 5px rgba(232, 63, 111, 0.1);
}

.schedule-item h3,
.schedule-item p {
    margin: 0;
}

.schedule-item h3 {
    font-size: 17px;
}

.schedule-item p,
.schedule-time {
    color: var(--muted);
    font-size: 13px;
}

.guide-section {
    padding-block: 84px;
    background: #fff3e0;
}

.tabs {
    display: grid;
    grid-template-columns: 0.42fr 1fr;
    gap: 22px;
}

.tab-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tab-button {
    padding: 18px 20px;
    border: 1px solid transparent;
    border-radius: 14px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.65);
    text-align: left;
    cursor: pointer;
}

.tab-button.is-active {
    color: var(--white);
    background: var(--navy);
}

.tab-panels {
    min-height: 230px;
}

.tab-panel {
    display: none;
    height: 100%;
    padding: 38px;
    align-items: flex-start;
    gap: 26px;
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: 0 18px 45px rgba(125, 83, 32, 0.09);
}

.tab-panel.is-active {
    display: flex;
}

.panel-number {
    color: var(--berry);
    font-size: 44px;
    font-weight: 900;
    line-height: 1;
}

.tab-panel h3 {
    margin: 0 0 10px;
    font-size: 25px;
}

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

.shelf-header {
    display: flex;
    margin-bottom: 30px;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.book-shelf {
    display: grid;
    padding: 34px 34px 0;
    grid-template-columns: repeat(5, 1fr);
    align-items: end;
    gap: 24px;
    border-bottom: 18px solid #553e35;
    border-radius: var(--radius-md) var(--radius-md) 6px 6px;
    background: linear-gradient(#f7ede8, #efe0d7);
    box-shadow: 0 18px 0 #382824;
}

.book-item {
    min-width: 0;
    transition: transform 0.2s ease;
}

.book-item:nth-child(even) {
    transform: translateY(-12px);
}

.book-item:hover {
    transform: translateY(-18px);
}

.book-item img {
    width: 100%;
    aspect-ratio: 5 / 7;
    border-radius: 10px 10px 2px 2px;
    object-fit: cover;
    box-shadow: 8px 7px 0 rgba(85, 62, 53, 0.25);
}

.book-item h3 {
    margin: 12px 0 0;
    font-size: 15px;
}

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

.reading-steps {
    padding-block: 84px;
    color: var(--white);
    background: linear-gradient(135deg, #d83464, #8b2f72);
}

.reading-steps .section-heading p,
.reading-steps .eyebrow {
    color: rgba(255, 255, 255, 0.76);
}

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

.step-card {
    min-height: 230px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
}

.step-card > span {
    color: var(--gold);
    font-size: 34px;
    font-weight: 900;
}

.step-card h3 {
    margin: 18px 0 8px;
    font-size: 22px;
}

.step-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
}

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

.voice-card {
    margin: 0;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
}

.voice-card p {
    margin: 0;
    font-size: 17px;
}

.voice-card footer {
    display: flex;
    margin-top: 22px;
    align-items: center;
    gap: 10px;
}

.avatar {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 50%;
    color: var(--berry-dark);
    background: #ffe5ed;
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
}

.voice-card cite {
    color: var(--muted);
    font-size: 14px;
    font-style: normal;
}

.about-layout {
    display: grid;
    padding: 64px;
    grid-template-columns: 0.82fr 1.18fr;
    align-items: center;
    gap: 70px;
    border-radius: 32px;
    background: #eef8f5;
}

.about-visual {
    position: relative;
}

.about-visual img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 48% 48% 14% 48%;
    object-fit: cover;
}

.about-stamp {
    position: absolute;
    right: -20px;
    bottom: 18px;
    display: grid;
    width: 92px;
    height: 92px;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: var(--berry);
    font-size: 15px;
    font-weight: 800;
    transform: rotate(8deg);
}

.about-content p + p {
    margin-top: 14px;
}

.about-points {
    display: grid;
    margin: 26px 0 0;
    padding: 0;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    list-style: none;
}

.about-points li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    font-weight: 700;
}

.about-points span {
    color: var(--berry);
}

.app-section {
    margin-bottom: 96px;
}

.app-card {
    display: grid;
    padding: 58px 68px;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 70px;
    border-radius: 30px;
    color: var(--white);
    background: var(--navy);
    overflow: hidden;
}

.app-copy p {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.7);
}

.subscribe-form {
    margin-top: 24px;
}

.subscribe-form label {
    display: block;
    margin-bottom: 7px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
}

.subscribe-row {
    display: flex;
    max-width: 590px;
    gap: 10px;
}

.subscribe-row input {
    min-width: 0;
    height: 50px;
    padding: 0 16px;
    flex: 1;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 13px;
    outline: none;
}

.subscribe-row button {
    padding: 0 22px;
    border: 0;
    border-radius: 13px;
    color: var(--white);
    background: var(--berry);
    font-weight: 800;
    cursor: pointer;
}

.form-message {
    min-height: 24px;
    margin-top: 6px !important;
    color: var(--mint) !important;
    font-size: 13px;
}

.app-copy small {
    color: rgba(255, 255, 255, 0.55);
}

.qr-wrap {
    padding: 18px;
    border-radius: 20px;
    color: var(--ink);
    background: var(--white);
    text-align: center;
}

.qr-wrap strong,
.qr-wrap > span {
    display: block;
}

.qr-wrap strong {
    margin-top: 8px;
}

.qr-wrap > span {
    color: var(--muted);
    font-size: 12px;
}

.qr-code {
    display: grid;
    width: 126px;
    height: 126px;
    padding: 8px;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 3px;
    background: #fafafa;
}

.qr-cell {
    border-radius: 2px;
    background: var(--navy);
}

.qr-cell:nth-child(2n),
.qr-cell:nth-child(7),
.qr-cell:nth-child(19) {
    background: var(--berry);
}

.qr-cell:nth-child(4n) {
    opacity: 0.18;
}

.site-footer {
    padding: 64px 0 24px;
    color: rgba(255, 255, 255, 0.76);
    background: #101624;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 0.7fr 0.7fr;
    gap: 60px;
}

.footer-logo strong {
    color: var(--white);
    font-size: 20px;
}

.footer-brand p {
    max-width: 430px;
    margin: 22px 0 0;
}

.footer-links h2 {
    margin: 0 0 16px;
    color: var(--white);
    font-size: 16px;
}

.footer-link-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-link-list a {
    font-size: 14px;
}

.copyright {
    display: flex;
    margin-top: 48px;
    padding-top: 20px;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
}

.copyright p {
    margin: 0;
}

.back-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 80;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: var(--white);
    background: var(--berry);
    box-shadow: 0 10px 24px rgba(232, 63, 111, 0.25);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: 0.2s ease;
}

.back-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: none;
}

.page-hero {
    padding-top: 18px;
}

.breadcrumb ol {
    display: flex;
    margin: 0 0 28px;
    padding: 0;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
    list-style: none;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb li:not(:last-child)::after {
    color: #bbc0cb;
    content: "/";
}

.page-title-row {
    display: flex;
    padding: 48px 52px;
    align-items: end;
    justify-content: space-between;
    gap: 34px;
    border-radius: 28px;
    background: linear-gradient(125deg, #fff0f4, #f7f4ff 58%, #eefbf7);
}

.page-title-row h1 {
    margin: 9px 0 10px;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.2;
}

.page-title-row p {
    max-width: 660px;
    margin: 0;
    color: var(--muted);
}

.page-count {
    display: flex;
    min-width: 120px;
    flex-direction: column;
    align-items: end;
}

.page-count strong {
    color: var(--berry);
    font-size: 56px;
    line-height: 1;
}

.page-count span {
    color: var(--muted);
    font-size: 13px;
}

.catalog-section {
    padding-top: 24px;
}

.category-story {
    padding: 76px 0;
    background: #f3f7f6;
}

.category-story-grid {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 48px;
}

.story-number {
    color: var(--berry);
    font-size: 74px;
    font-weight: 900;
    line-height: 1;
}

.category-story h2 {
    margin: 0 0 14px;
    font-size: 34px;
}

.category-story p {
    max-width: 850px;
    margin: 0;
    color: var(--muted);
}

.category-story p + p {
    margin-top: 14px;
}

.reader-container {
    max-width: 920px;
}

.article-header {
    padding: 46px 52px;
    border-radius: 28px;
    background: linear-gradient(130deg, #fff0f4, #fff9ef);
    text-align: center;
}

.article-category {
    display: inline-flex;
    padding: 5px 13px;
    border-radius: 999px;
    color: var(--berry-dark);
    background: rgba(232, 63, 111, 0.1);
    font-size: 13px;
    font-weight: 800;
}

.article-header h1 {
    margin: 14px 0 10px;
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.22;
}

.article-summary {
    max-width: 700px;
    margin: 0 auto;
    color: var(--muted);
}

.article-meta {
    display: flex;
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
    color: var(--muted);
    font-size: 13px;
}

.article-meta a {
    color: var(--berry-dark);
    font-weight: 700;
}

.reading-notice {
    display: flex;
    margin: 28px 0;
    padding: 22px 24px;
    align-items: flex-start;
    gap: 16px;
    border: 1px solid #e4efe8;
    border-radius: 16px;
    background: #f4faf7;
}

.notice-icon {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    color: #17795e;
    background: #dff4ec;
}

.reading-notice h2,
.reading-notice p {
    margin: 0;
}

.reading-notice h2 {
    font-size: 17px;
}

.reading-notice p {
    color: var(--muted);
    font-size: 14px;
}

.chapter-nav {
    display: grid;
    margin: 28px 0;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.chapter-button {
    display: flex;
    min-height: 48px;
    padding: 0 16px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--white);
    font-weight: 700;
}

.chapter-button:hover {
    border-color: var(--berry);
    color: var(--berry-dark);
}

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

.chapter-button.is-disabled {
    color: #aeb3bf;
    background: #f5f5f6;
    cursor: not-allowed;
}

.chapter-content {
    margin-top: 54px;
}

.chapter-content > h2 {
    margin: 0 0 24px;
    font-size: 26px;
    text-align: center;
}

.reader-panel {
    margin: 0 0 30px;
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 12px 36px rgba(24, 32, 51, 0.08);
    overflow: hidden;
}

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

.reader-panel figcaption {
    padding: 18px 24px;
    color: var(--muted);
    font-size: 14px;
    text-align: center;
}

.chapter-end {
    margin: 60px 0 40px;
    padding: 42px;
    border: 1px dashed #d9cfd5;
    border-radius: 22px;
    text-align: center;
}

.end-mark {
    display: grid;
    width: 58px;
    height: 58px;
    margin: 0 auto 16px;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: var(--berry);
    font-weight: 900;
}

.chapter-end h2,
.chapter-end p {
    margin: 0;
}

.chapter-end p {
    margin-top: 7px;
    color: var(--muted);
}

.reader-page {
    margin-bottom: 90px;
}

@media (max-width: 1080px) {
    .menu-toggle {
        display: block;
        margin-left: auto;
    }

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

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

    .nav-list {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .nav-link {
        min-height: 46px;
        background: var(--surface);
    }

    .hero-grid {
        padding: 50px;
        gap: 44px;
    }

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

    .comic-grid-five .comic-card:nth-child(4),
    .comic-grid-five .comic-card:nth-child(5) {
        grid-column: span 1;
    }

    .category-list .comic-card:last-child,
    .latest-section .comic-card:last-child {
        grid-column: 2;
    }

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

    .category-card:first-child {
        grid-column: span 1;
    }

    .category-card:last-child {
        grid-column: 2;
    }
}

@media (max-width: 820px) {
    .section-gap {
        margin-top: 72px;
    }

    .hero-grid,
    .ranking-layout,
    .schedule-layout,
    .about-layout {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        padding: 42px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-actions,
    .hero-tags {
        justify-content: center;
    }

    .hero-visual {
        width: min(78%, 390px);
        margin: 0 auto;
    }

    .ranking-layout {
        gap: 36px;
    }

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

    .category-card:last-child {
        grid-column: auto;
    }

    .category-card:first-child {
        grid-column: span 2;
    }

    .editor-mosaic {
        min-height: 720px;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
    }

    .mosaic-1 {
        grid-column: span 2;
        grid-row: auto;
    }

    .mosaic-4 {
        grid-column: span 2;
    }

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

    .tab-buttons {
        flex-direction: row;
    }

    .tab-button {
        flex: 1;
        text-align: center;
    }

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

    .book-item:nth-child(4),
    .book-item:nth-child(5) {
        margin-top: 20px;
    }

    .book-item:last-child {
        grid-column: 2;
    }

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

    .about-layout {
        padding: 42px;
        gap: 42px;
    }

    .about-visual {
        width: min(100%, 430px);
        margin: 0 auto;
    }

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

    .qr-wrap {
        width: fit-content;
    }

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

    .footer-brand {
        grid-column: span 2;
    }
}

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

    .section-gap {
        margin-top: 58px;
    }

    .section-gap-sm {
        margin-top: 34px;
    }

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

    .brand-mark {
        width: 38px;
        height: 38px;
        font-size: 19px;
    }

    .brand-copy strong {
        font-size: 17px;
    }

    .brand-copy small {
        display: none;
    }

    .main-nav {
        top: 68px;
        right: 14px;
        left: 14px;
    }

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

    .hero-grid {
        min-height: auto;
        padding: 34px 22px 44px;
        border-radius: 24px;
    }

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

    .hero-lead {
        font-size: 16px;
    }

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

    .button {
        width: 100%;
    }

    .hero-visual {
        width: 82%;
    }

    .note-top {
        left: -28px;
    }

    .note-bottom {
        right: -24px;
    }

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

    .signal-item {
        padding: 12px 4px;
    }

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

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

    .section-heading h2,
    .ranking-intro h2,
    .schedule-heading h2,
    .shelf-header h2,
    .about-content h2,
    .app-copy h2 {
        font-size: 30px;
    }

    .comic-grid-five,
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .comic-grid-five .comic-card:last-child,
    .category-list .comic-card:last-child,
    .latest-section .comic-card:last-child {
        grid-column: 1 / -1;
        width: calc(50% - 8px);
        justify-self: center;
    }

    .comic-info h3 {
        font-size: 16px;
    }

    .comic-info p {
        font-size: 13px;
    }

    .ranking-layout {
        padding-block: 54px;
    }

    .rank-item {
        grid-template-columns: 38px 1fr;
    }

    .rank-score {
        display: none;
    }

    .category-card,
    .category-card:first-child {
        min-height: 220px;
        padding: 22px;
        grid-column: auto;
    }

    .category-card:last-child {
        grid-column: 1 / -1;
        width: calc(50% - 8px);
        justify-self: center;
    }

    .editor-section,
    .guide-section,
    .reading-steps {
        padding-block: 56px;
    }

    .editor-mosaic {
        min-height: 820px;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
    }

    .mosaic-1,
    .mosaic-4 {
        grid-column: auto;
    }

    .schedule-item {
        grid-template-columns: 44px 10px 1fr;
        gap: 10px;
    }

    .schedule-time {
        display: none;
    }

    .tab-buttons {
        overflow-x: auto;
    }

    .tab-button {
        min-width: 110px;
        padding: 13px;
    }

    .tab-panel {
        min-height: 250px;
        padding: 28px;
        flex-direction: column;
    }

    .book-shelf {
        padding: 22px 18px 0;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .book-item:last-child {
        grid-column: 1 / -1;
        width: calc(50% - 10px);
        justify-self: center;
    }

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

    .about-layout {
        padding: 28px 22px;
        border-radius: 22px;
    }

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

    .app-card {
        padding: 38px 22px;
        gap: 36px;
        border-radius: 22px;
    }

    .subscribe-row {
        flex-direction: column;
    }

    .subscribe-row button {
        min-height: 48px;
    }

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

    .footer-brand {
        grid-column: auto;
    }

    .copyright {
        flex-direction: column;
    }

    .page-title-row {
        padding: 34px 24px;
        flex-direction: column;
        align-items: flex-start;
    }

    .page-count {
        align-items: flex-start;
    }

    .category-story-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .article-header {
        padding: 34px 20px;
    }

    .article-header h1 {
        font-size: 32px;
    }

    .article-meta {
        flex-direction: column;
        gap: 4px;
    }

    .reading-notice {
        padding: 18px;
    }

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

    .chapter-home {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .reader-panel {
        border-radius: 12px;
    }

    .reader-panel figcaption {
        padding: 15px;
    }

    .chapter-end {
        padding: 30px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
