:root {
    --ink: #15131f;
    --muted: #6f6b7d;
    --paper: #f7f7fb;
    --surface: #ffffff;
    --violet: #6c4cff;
    --violet-dark: #4426c7;
    --pink: #ff5470;
    --cyan: #34d6d0;
    --line: #e8e6ef;
    --night: #161325;
    --shadow: 0 18px 50px rgba(36, 27, 78, 0.11);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

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

button,
input {
    font: inherit;
}

button {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(232, 230, 239, 0.9);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
}

.header-inner {
    width: min(1200px, calc(100% - 40px));
    min-height: 82px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.brand-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px 7px 14px 7px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--violet), var(--pink));
    font-weight: 900;
    letter-spacing: -2px;
    box-shadow: 0 8px 22px rgba(108, 76, 255, 0.28);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-text strong {
    font-size: 18px;
}

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

.main-nav {
    flex: 1;
}

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

.nav-link {
    min-height: 48px;
    padding: 7px 9px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    border-radius: 13px;
    color: #625e6d;
    font-size: 13px;
    white-space: nowrap;
    transition: 0.2s ease;
}

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

.nav-link:hover,
.nav-link.is-active {
    color: var(--violet);
    background: #f0edff;
}

.shelf-button,
.nav-toggle {
    border: 0;
    cursor: pointer;
}

.shelf-button {
    padding: 10px 13px;
    display: flex;
    align-items: center;
    gap: 7px;
    border-radius: 14px;
    background: var(--night);
    color: #ffffff;
    font-size: 13px;
}

.shelf-button b {
    min-width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--pink);
    font-size: 11px;
}

.nav-toggle {
    display: none;
    background: transparent;
    font-size: 24px;
}

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

.hero {
    margin-top: 48px;
    padding: 62px;
    border-radius: 34px;
    overflow: hidden;
    background: linear-gradient(135deg, #19142d 0%, #2a1f55 55%, #4c2874 100%);
    color: #ffffff;
    box-shadow: var(--shadow);
}

.hero-grid {
    min-height: 470px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 56px;
}

.eyebrow,
.section-kicker {
    color: var(--violet);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: #d0c8ff;
}

.hero h1 {
    margin: 12px 0 12px;
    font-size: clamp(50px, 7vw, 84px);
    line-height: 1.05;
    letter-spacing: -5px;
}

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

.hero-lead {
    max-width: 580px;
    margin: 0;
    color: #dcd7ef;
    font-size: 19px;
    line-height: 1.8;
}

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

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

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

.button-primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--violet), #8e5bff);
    box-shadow: 0 12px 25px rgba(108, 76, 255, 0.28);
}

.button-ghost {
    border-color: var(--line);
    background: #ffffff;
    color: var(--ink);
}

.hero .button-ghost {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.09);
    color: #ffffff;
}

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

.hero-stats {
    margin-top: 38px;
    display: flex;
    gap: 36px;
}

.hero-stats div {
    display: flex;
    flex-direction: column;
}

.hero-stats strong {
    font-size: 24px;
}

.hero-stats span {
    color: #aaa3bd;
    font-size: 12px;
}

.hero-art {
    min-height: 440px;
    position: relative;
}

.orbit {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.orbit-one {
    inset: 20px 30px 10px 40px;
}

.orbit-two {
    inset: 70px -10px 55px 100px;
}

.hero-cover {
    position: absolute;
    overflow: hidden;
    border: 6px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
}

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

.hero-cover-main {
    width: 265px;
    aspect-ratio: 3 / 4;
    left: 72px;
    top: 20px;
    transform: rotate(-5deg);
}

.hero-cover-main span {
    position: absolute;
    left: 15px;
    top: 15px;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--pink);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
}

.hero-cover-small {
    width: 150px;
    aspect-ratio: 3 / 4;
    right: 0;
    bottom: 20px;
    transform: rotate(7deg);
}

.hero-note {
    position: absolute;
    left: 0;
    bottom: 5px;
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    background: #ffffff;
    color: var(--ink);
    box-shadow: var(--shadow);
}

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

.ticker-section {
    margin-top: 28px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 24px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
}

.ticker-label {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.ticker-label span {
    color: var(--pink);
}

.ticker-track {
    flex: 1;
    display: flex;
    justify-content: space-around;
    gap: 20px;
    color: var(--muted);
    font-size: 14px;
}

.ticker-section > a,
.text-link {
    color: var(--violet);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.content-section,
.app-section {
    margin-top: 90px;
}

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

.section-heading h2 {
    margin: 7px 0 2px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.2;
    letter-spacing: -1.5px;
}

.section-heading p {
    max-width: 680px;
    margin: 0;
    color: var(--muted);
}

.spotlight-layout {
    display: grid;
    grid-template-columns: 1.55fr 0.8fr;
    gap: 20px;
}

.spotlight-feature {
    min-height: 500px;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
}

.spotlight-feature img {
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
}

.spotlight-feature::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 32%, rgba(12, 9, 24, 0.92));
}

.spotlight-overlay {
    position: absolute;
    z-index: 1;
    right: 36px;
    bottom: 34px;
    left: 36px;
    color: #ffffff;
}

.spotlight-overlay span {
    color: #cfc5ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.spotlight-overlay h3 {
    margin: 8px 0;
    font-size: 34px;
}

.spotlight-overlay p {
    max-width: 560px;
    margin: 0;
    color: #dbd7e6;
}

.spotlight-side {
    display: grid;
    gap: 20px;
}

.spotlight-mini {
    min-height: 153px;
    display: grid;
    grid-template-columns: 138px 1fr;
    align-items: center;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
}

.spotlight-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.spotlight-mini > span {
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.spotlight-mini small {
    color: var(--violet);
}

.spotlight-mini strong {
    margin-top: 5px;
    font-size: 18px;
}

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

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

.comic-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.cover-link {
    display: block;
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.cover-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

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

.cover-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(22, 19, 37, 0.84);
    color: #ffffff;
    font-size: 11px;
}

.comic-card-body {
    padding: 16px;
}

.comic-card h3 {
    margin: 0;
    font-size: 17px;
}

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

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

.card-meta button {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--violet);
    cursor: pointer;
}

.ranking-panel {
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    border-radius: 28px;
    background: var(--night);
    color: #ffffff;
}

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

.ranking-list li {
    min-height: 78px;
    display: grid;
    grid-template-columns: 54px 1fr auto;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.rank-number {
    color: #8270dc;
    font-size: 26px;
    font-weight: 900;
}

.ranking-list a {
    display: flex;
    flex-direction: column;
}

.ranking-list small,
.heat {
    color: #9e98ad;
    font-size: 12px;
}

.ranking-visual {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    min-height: 390px;
}

.ranking-visual img {
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
}

.ranking-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 20%, rgba(13, 10, 27, 0.95));
}

.ranking-visual > div {
    position: absolute;
    z-index: 1;
    right: 28px;
    bottom: 28px;
    left: 28px;
}

.ranking-visual h3 {
    margin: 6px 0;
    font-size: 28px;
}

.ranking-visual p {
    color: #c6c0d0;
}

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

.category-card {
    min-height: 230px;
    padding: 26px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--surface);
}

.category-card::after {
    content: "";
    width: 110px;
    height: 110px;
    position: absolute;
    right: -35px;
    bottom: -35px;
    border-radius: 50%;
    background: var(--category-color);
    opacity: 0.13;
}

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

.category-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: color-mix(in srgb, var(--category-color) 14%, white);
    color: var(--category-color);
    font-size: 22px;
    font-weight: 900;
}

.category-card h3 {
    margin: 20px 0 7px;
    font-size: 22px;
}

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

.category-card small {
    display: block;
    margin-top: 14px;
    color: var(--category-color);
    font-weight: 700;
}

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

.schedule-day {
    min-height: 180px;
    padding: 18px 14px;
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    background: #ebe7ff;
}

.schedule-day:nth-child(even) {
    background: #ffe8ee;
}

.schedule-day span {
    font-size: 20px;
    font-weight: 900;
}

.schedule-day small {
    margin-top: auto;
    color: var(--muted);
}

.schedule-day strong {
    margin-top: 5px;
    line-height: 1.35;
}

.genre-duo-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.duo-panel {
    min-height: 350px;
    padding: 46px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    border-radius: 28px;
}

.romance-panel {
    background: linear-gradient(135deg, #fff0f5, #ffd7e5);
}

.fantasy-panel {
    background: linear-gradient(135deg, #e8fbfb, #c9e8ff);
}

.duo-panel h2 {
    margin: 8px 0;
    font-size: 32px;
}

.duo-panel p {
    max-width: 490px;
    margin: 0;
    color: var(--muted);
}

.duo-links {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.duo-links a {
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    font-size: 13px;
}

.completed-list {
    border-top: 1px solid var(--line);
}

.completed-list a {
    padding: 20px 4px;
    display: grid;
    grid-template-columns: 70px 1fr auto;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid var(--line);
}

.completed-index {
    color: #c9c6d2;
    font-size: 28px;
    font-weight: 900;
}

.completed-list a > span:nth-child(2) {
    display: flex;
    flex-direction: column;
}

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

.completed-list em {
    padding: 5px 10px;
    border-radius: 999px;
    background: #e7f8ed;
    color: #2e9252;
    font-size: 12px;
    font-style: normal;
}

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

.guide-steps > div {
    padding: 30px;
    border-radius: 22px;
    background: var(--surface);
    box-shadow: 0 12px 35px rgba(36, 27, 78, 0.06);
}

.guide-steps span {
    color: #d8d3e7;
    font-size: 40px;
    font-weight: 900;
}

.guide-steps h3 {
    margin: 10px 0 4px;
}

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

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

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

.voice-grid blockquote::before {
    content: "“";
    color: var(--violet);
    font-size: 52px;
    font-weight: 900;
    line-height: 0.8;
}

.voice-grid p {
    min-height: 84px;
}

.voice-grid footer {
    color: var(--muted);
    font-size: 13px;
}

.about-section {
    padding: 50px;
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    gap: 50px;
    align-items: center;
    border-radius: 30px;
    background: var(--night);
    color: #ffffff;
}

.about-art {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    background: radial-gradient(circle, #6c4cff 0%, transparent 66%);
}

.about-art span {
    font-size: clamp(60px, 10vw, 120px);
    font-weight: 900;
    letter-spacing: -10px;
}

.about-art small {
    color: #c0b9d2;
    letter-spacing: 2px;
}

.about-copy h2 {
    margin: 8px 0 18px;
    font-size: 36px;
}

.about-copy p {
    color: #c7c1d2;
}

.about-values {
    margin-top: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.about-values span {
    padding: 7px 13px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    font-size: 13px;
}

.app-section {
    margin-bottom: 90px;
    padding: 50px 70px;
    display: grid;
    grid-template-columns: 1fr 260px;
    align-items: center;
    gap: 50px;
    border-radius: 30px;
    background: linear-gradient(135deg, #eae5ff, #fff0f5);
}

.app-copy h2 {
    margin: 8px 0;
    font-size: 36px;
}

.app-copy > p {
    max-width: 670px;
    color: var(--muted);
}

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

.subscribe-form label {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 700;
}

.subscribe-form > div {
    display: flex;
    gap: 10px;
}

.subscribe-form input {
    width: min(360px, 100%);
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid #d7d1e9;
    border-radius: 14px;
    background: #ffffff;
}

.subscribe-form small {
    display: block;
    margin-top: 8px;
    color: var(--muted);
}

.qr-card {
    padding: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.qr-pattern {
    width: 155px;
    aspect-ratio: 1;
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    border: 8px solid var(--night);
}

.qr-pattern span {
    background: var(--night);
}

.qr-pattern span:nth-child(2),
.qr-pattern span:nth-child(4),
.qr-pattern span:nth-child(9) {
    background: var(--violet);
}

.qr-card strong {
    margin-top: 14px;
}

.qr-card small {
    color: var(--muted);
}

.site-footer {
    padding: 55px 0;
    background: #0e0c18;
    color: #ffffff;
}

.footer-inner {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
}

.footer-brand {
    font-size: 22px;
    font-weight: 900;
}

.footer-inner p {
    margin: 5px 0 0;
    color: #8f899d;
    font-size: 13px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
}

.copyright {
    grid-column: 1 / -1;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.toast {
    position: fixed;
    z-index: 200;
    right: 24px;
    bottom: 24px;
    padding: 13px 18px;
    border-radius: 14px;
    background: var(--night);
    color: #ffffff;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: 0.25s ease;
}

.toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.page-hero {
    margin-top: 48px;
    padding: 46px 52px;
    border-radius: 30px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 18%, white), #ffffff);
    box-shadow: var(--shadow);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    color: var(--muted);
    font-size: 13px;
}

.breadcrumb a {
    color: var(--violet);
}

.page-hero-content {
    margin-top: 32px;
    display: grid;
    grid-template-columns: 90px 1fr;
    align-items: center;
    gap: 26px;
}

.page-hero-icon {
    width: 90px;
    height: 90px;
    display: grid;
    place-items: center;
    border-radius: 25px;
    background: var(--accent);
    color: #ffffff;
    font-size: 40px;
}

.page-hero h1 {
    margin: 8px 0;
    font-size: 46px;
}

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

.category-note {
    margin-bottom: 90px;
    padding: 36px;
    display: grid;
    grid-template-columns: 0.8fr 1.7fr auto;
    align-items: center;
    gap: 35px;
    border-radius: 24px;
    background: #eae5ff;
}

.category-note h2 {
    margin: 5px 0 0;
}

.category-note p {
    margin: 0;
    color: var(--muted);
}

.reader-page {
    max-width: 920px;
    margin: 48px auto 90px;
}

.reader-header {
    padding: 48px;
    margin-top: 20px;
    border-radius: 28px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.reader-category {
    color: var(--violet);
    font-weight: 800;
}

.reader-header h1 {
    margin: 10px 0 12px;
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.25;
}

.reader-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: var(--muted);
    font-size: 13px;
}

.reader-intro {
    margin: 24px 0;
    color: #4f4b5a;
    font-size: 17px;
}

.reading-notice {
    margin-top: 28px;
    padding: 22px 26px;
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 20px;
    border-left: 4px solid var(--violet);
    border-radius: 0 18px 18px 0;
    background: #ece9fb;
}

.reading-notice p {
    margin: 0;
    color: var(--muted);
}

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

.chapter-content > h2 {
    margin-bottom: 28px;
    text-align: center;
    font-size: 30px;
}

.chapter-content figure {
    margin: 0 0 20px;
    overflow: hidden;
    border-radius: 22px;
    background: #e8e6ef;
}

.chapter-content img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.chapter-content figcaption {
    padding: 12px 18px;
    color: var(--muted);
    background: var(--surface);
    font-size: 13px;
}

.chapter-content > p {
    margin: 0 0 48px;
    padding: 0 28px;
    color: #46424f;
    font-size: 17px;
    line-height: 2;
}

.chapter-end {
    padding: 44px;
    border-radius: 24px;
    background: var(--night);
    color: #ffffff;
    text-align: center;
}

.chapter-end span {
    color: #9486d5;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.chapter-end h2 {
    margin: 8px 0;
}

.chapter-end p {
    margin: 0;
    color: #aaa4b6;
}

.chapter-nav {
    margin-top: 28px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 14px;
}

.chapter-nav > a,
.chapter-nav-disabled {
    min-height: 78px;
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
}

.chapter-nav > a:last-child,
.chapter-nav-disabled:last-child {
    text-align: right;
}

.chapter-nav small {
    color: var(--muted);
}

.chapter-nav-disabled {
    color: #aaa6b2;
}

.chapter-nav .back-category {
    min-height: 48px;
    display: flex;
    align-items: center;
    border: 0;
    background: var(--violet);
    color: #ffffff;
    font-size: 14px;
}

@media (max-width: 1100px) {
    .header-inner {
        gap: 14px;
    }

    .brand-text {
        display: none;
    }

    .nav-link {
        padding-inline: 7px;
    }

    .hero {
        padding: 46px;
    }

    .hero-grid {
        gap: 30px;
    }

    .hero-cover-main {
        left: 25px;
    }

    .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) {
        width: calc(150% + 10px);
    }

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

    .category-note {
        grid-template-columns: 1fr 2fr;
    }

    .category-note .button {
        grid-column: 1 / -1;
        justify-self: start;
    }
}

@media (max-width: 820px) {
    .header-inner {
        width: min(100% - 28px, 1200px);
        min-height: 72px;
    }

    .brand-text {
        display: flex;
    }

    .nav-toggle {
        margin-left: auto;
        display: block;
    }

    .shelf-button span:nth-child(2) {
        display: none;
    }

    .main-nav {
        position: absolute;
        top: 72px;
        right: 14px;
        left: 14px;
        padding: 10px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: #ffffff;
        box-shadow: var(--shadow);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: 0.2s ease;
    }

    .main-nav.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

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

    main,
    .footer-inner {
        width: min(100% - 28px, 1200px);
    }

    .hero {
        margin-top: 30px;
        padding: 38px 28px;
    }

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

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

    .ticker-track span:nth-child(n + 2) {
        display: none;
    }

    .spotlight-layout,
    .ranking-panel,
    .about-section,
    .app-section {
        grid-template-columns: 1fr;
    }

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

    .spotlight-mini {
        display: block;
    }

    .spotlight-mini img {
        height: 150px;
    }

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

    .comic-grid-five .comic-card:nth-child(4),
    .comic-grid-five .comic-card:nth-child(5) {
        width: auto;
    }

    .comic-grid-five .comic-card:last-child {
        grid-column: span 2;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .comic-grid-five .comic-card:last-child .cover-link {
        aspect-ratio: 4 / 3;
    }

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

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

    .schedule-day:last-child {
        grid-column: span 2;
    }

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

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

    .about-art {
        max-width: 360px;
        margin: 0 auto;
    }

    .qr-card {
        max-width: 280px;
    }

    .page-hero-content {
        grid-template-columns: 70px 1fr;
    }

    .page-hero-icon {
        width: 70px;
        height: 70px;
    }

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

    .category-note .button {
        grid-column: auto;
    }
}

@media (max-width: 560px) {
    body {
        font-size: 15px;
    }

    .brand-text small {
        display: none;
    }

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

    .nav-link {
        flex-direction: row;
        gap: 7px;
    }

    .hero {
        padding: 32px 20px;
        border-radius: 24px;
    }

    .hero h1 {
        letter-spacing: -3px;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-stats {
        gap: 18px;
    }

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

    .hero-cover-main {
        width: 210px;
        left: 15px;
    }

    .hero-cover-small {
        width: 115px;
    }

    .hero-note {
        display: none;
    }

    .ticker-section {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .ticker-track {
        order: 3;
        flex-basis: 100%;
    }

    .content-section,
    .app-section {
        margin-top: 65px;
    }

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

    .spotlight-feature {
        min-height: 430px;
    }

    .spotlight-overlay {
        right: 22px;
        bottom: 22px;
        left: 22px;
    }

    .spotlight-side {
        grid-template-columns: 1fr;
    }

    .spotlight-mini {
        display: grid;
    }

    .spotlight-mini img {
        height: 100%;
    }

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

    .comic-card-body {
        padding: 13px;
    }

    .comic-card p {
        display: none;
    }

    .comic-card h3 {
        min-height: 46px;
    }

    .comic-grid-five .comic-card:last-child {
        display: block;
    }

    .comic-grid-five .comic-card:last-child .cover-link {
        aspect-ratio: 3 / 4;
    }

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

    .category-card {
        min-height: 210px;
        padding: 20px;
    }

    .schedule-day {
        min-height: 155px;
    }

    .duo-panel,
    .about-section,
    .app-section {
        padding: 30px 24px;
    }

    .completed-list a {
        grid-template-columns: 45px 1fr;
    }

    .completed-list em {
        display: none;
    }

    .subscribe-form > div {
        flex-direction: column;
    }

    .subscribe-form input,
    .subscribe-form .button {
        width: 100%;
    }

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

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

    .page-hero-content {
        grid-template-columns: 1fr;
    }

    .page-hero h1 {
        font-size: 38px;
    }

    .reader-header {
        padding: 30px 24px;
    }

    .reading-notice {
        grid-template-columns: 1fr;
    }

    .chapter-content > p {
        padding: 0 8px;
    }

    .chapter-content img {
        aspect-ratio: 4 / 3;
    }

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

    .chapter-nav .back-category {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-content: center;
    }
}
