:root {
    --ink: #10142b;
    --ink-soft: #596079;
    --paper: #f7f8fc;
    --surface: #ffffff;
    --night: #111631;
    --night-soft: #1a2147;
    --violet: #7c5cff;
    --violet-dark: #6244e8;
    --coral: #ff6b7a;
    --aqua: #42c8b4;
    --line: #e5e8f2;
    --shadow: 0 22px 60px rgba(31, 35, 74, 0.12);
    --radius-lg: 30px;
    --radius-md: 20px;
    --radius-sm: 12px;
    --content: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", 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;
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 200;
    padding: 10px 16px;
    color: #ffffff;
    background: var(--violet);
    border-radius: 8px;
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    background: rgba(247, 248, 252, 0.94);
    border-bottom: 1px solid rgba(229, 232, 242, 0.86);
    backdrop-filter: blur(18px);
}

.header-shell,
.section-shell,
.page-shell,
.reader-shell,
.footer-grid,
.copyright {
    width: min(calc(100% - 40px), var(--content));
    margin-right: auto;
    margin-left: auto;
}

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

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

.brand-mark {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(145deg, var(--violet), var(--coral));
    border-radius: 15px 15px 15px 5px;
    box-shadow: 0 12px 24px rgba(124, 92, 255, 0.26);
    font-size: 1.35rem;
    font-weight: 900;
}

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

.brand-copy strong {
    font-size: 1.08rem;
}

.brand-copy small {
    margin-top: 5px;
    color: var(--ink-soft);
    font-size: 0.75rem;
}

.primary-nav {
    display: flex;
    flex: 1;
    justify-content: flex-end;
    gap: 4px;
}

.nav-link {
    display: flex;
    min-width: 68px;
    padding: 9px 8px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: #565d75;
    border-radius: 12px;
    font-size: 0.84rem;
    transition: 0.2s ease;
}

.nav-icon {
    color: var(--violet);
    font-size: 0.95rem;
}

.nav-link:hover,
.nav-link.is-current {
    color: var(--ink);
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(33, 39, 80, 0.08);
}

.menu-toggle {
    display: none;
    padding: 9px 13px;
    color: var(--ink);
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 12px;
    cursor: pointer;
}

.hero {
    display: grid;
    min-height: 590px;
    margin-top: 48px;
    padding: 64px;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
    align-items: center;
    gap: 70px;
    color: #ffffff;
    background:
        radial-gradient(circle at 12% 20%, rgba(124, 92, 255, 0.55), transparent 32%),
        radial-gradient(circle at 88% 75%, rgba(66, 200, 180, 0.25), transparent 28%),
        var(--night);
    border-radius: 36px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.eyebrow,
.section-kicker {
    display: inline-block;
    color: var(--violet);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: #bcb0ff;
}

.hero h1 {
    margin: 16px 0 18px;
    font-size: clamp(3.6rem, 8vw, 6.8rem);
    line-height: 0.96;
    letter-spacing: -0.08em;
}

.hero h1 a {
    color: #ffffff;
}

.hero-lead {
    max-width: 610px;
    margin: 0;
    color: #d7daeb;
    font-size: 1.08rem;
}

.hero-actions,
.app-actions,
.reader-actions {
    display: flex;
    margin-top: 30px;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-flex;
    min-height: 48px;
    padding: 0 22px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 14px;
    cursor: pointer;
    font-weight: 800;
    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), var(--violet-dark));
    box-shadow: 0 14px 28px rgba(124, 92, 255, 0.28);
}

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

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

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

.hero-stats {
    display: flex;
    margin: 34px 0 0;
    padding: 0;
    list-style: none;
    gap: 28px;
}

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

.hero-stats strong {
    font-size: 1.25rem;
}

.hero-stats span {
    color: #aeb4ce;
    font-size: 0.78rem;
}

.hero-art {
    position: relative;
    max-width: 390px;
    justify-self: end;
}

.hero-main-cover {
    position: relative;
    display: block;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 28px;
    transform: rotate(3deg);
}

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

.hero-main-cover > span {
    position: absolute;
    top: 26px;
    left: -18px;
    padding: 9px 15px;
    color: var(--night);
    background: #ffffff;
    border-radius: 10px;
    box-shadow: var(--shadow);
    font-size: 0.82rem;
    font-weight: 800;
}

.hero-note {
    position: absolute;
    right: -28px;
    bottom: 30px;
    display: flex;
    width: 220px;
    padding: 18px;
    flex-direction: column;
    background: rgba(17, 22, 49, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.hero-note span {
    color: #a99aff;
    font-size: 0.7rem;
    font-weight: 900;
}

.hero-note small {
    color: #aeb4ce;
}

.search-panel {
    display: grid;
    margin-top: 34px;
    padding: 26px 30px;
    grid-template-columns: minmax(250px, 1fr) minmax(330px, 0.9fr) auto;
    align-items: center;
    gap: 24px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: 0 12px 36px rgba(33, 39, 80, 0.06);
}

.search-panel > div:first-child {
    display: flex;
    align-items: center;
    gap: 15px;
}

.panel-icon {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    place-items: center;
    color: #ffffff;
    background: var(--violet);
    border-radius: 14px;
    font-size: 1.35rem;
}

.search-panel h2,
.search-panel p {
    margin: 0;
}

.search-panel h2 {
    font-size: 1.05rem;
}

.search-panel p {
    color: var(--ink-soft);
    font-size: 0.82rem;
}

.site-search {
    display: flex;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.site-search input {
    width: 100%;
    min-width: 0;
    padding: 12px 16px;
    border: 0;
    outline: 0;
}

.site-search button {
    padding: 0 20px;
    color: #ffffff;
    background: var(--night);
    border: 0;
    cursor: pointer;
}

.mood-links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.mood-links a {
    padding: 7px 11px;
    color: var(--violet-dark);
    background: #f0edff;
    border-radius: 999px;
    font-size: 0.78rem;
}

.content-section,
.ranking-section,
.category-section,
.editorial-section,
.schedule-section,
.completed-section,
.experience-section,
.bookshelf-section,
.about-section,
.app-section {
    margin-top: 110px;
}

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

.section-heading h2 {
    margin: 8px 0 0;
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    line-height: 1.2;
    letter-spacing: -0.04em;
}

.section-heading > p {
    max-width: 470px;
    margin: 0;
    color: var(--ink-soft);
}

.cover-grid {
    display: grid;
    gap: 24px;
}

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

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

.cover-image {
    position: relative;
    display: block;
    overflow: hidden;
    background: #dde0eb;
    border-radius: 18px;
}

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

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

.cover-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    padding: 6px 10px;
    color: #ffffff;
    background: rgba(17, 22, 49, 0.82);
    border-radius: 8px;
    font-size: 0.72rem;
    backdrop-filter: blur(8px);
}

.cover-copy {
    padding: 18px 4px 0;
}

.cover-copy h3 {
    margin: 0;
    font-size: 1.08rem;
}

.cover-copy h3 a:hover {
    color: var(--violet);
}

.cover-copy p {
    display: -webkit-box;
    margin: 8px 0 0;
    color: var(--ink-soft);
    font-size: 0.84rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.cover-copy .chapter-name {
    color: var(--violet-dark);
    font-weight: 700;
    -webkit-line-clamp: 1;
}

.card-meta {
    display: flex;
    margin-top: 12px;
    justify-content: space-between;
    color: #8a90a5;
    font-size: 0.72rem;
}

.ranking-section {
    padding: 56px;
    background: #e8efff;
    border-radius: var(--radius-lg);
}

.ranking-layout {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 42px;
}

.ranking-feature {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    color: #ffffff;
    border-radius: 24px;
}

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

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

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

.ranking-feature span {
    color: #bdb2ff;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.ranking-feature h3 {
    margin: 8px 0 4px;
    font-size: 2rem;
}

.ranking-feature p {
    margin: 0;
    color: #d9dcec;
}

.ranking-list {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 12px;
}

.ranking-list li {
    display: grid;
    padding: 22px;
    grid-template-columns: 48px 1fr auto;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    border-radius: 16px;
}

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

.ranking-list a {
    display: block;
    font-weight: 800;
}

.ranking-list small {
    color: var(--ink-soft);
}

.rank-score {
    padding: 5px 9px;
    color: #ffffff;
    background: var(--coral);
    border-radius: 8px;
    font-size: 0.74rem;
    font-weight: 800;
}

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

.category-card {
    display: flex;
    min-height: 190px;
    padding: 28px;
    align-items: flex-start;
    gap: 20px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-top: 4px solid var(--accent);
    border-radius: var(--radius-md);
    box-shadow: 0 12px 32px rgba(33, 39, 80, 0.05);
    transition: 0.2s ease;
}

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

.category-icon {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    place-items: center;
    color: #ffffff;
    background: var(--accent);
    border-radius: 14px;
    font-size: 1.35rem;
}

.category-card h3 {
    margin: 0;
}

.category-card p {
    margin: 7px 0 12px;
    color: var(--ink-soft);
    font-size: 0.88rem;
}

.category-card small {
    color: var(--accent);
    font-weight: 800;
}

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

.editorial-card {
    display: grid;
    min-height: 200px;
    padding: 24px;
    grid-template-columns: auto 1fr 140px;
    align-items: center;
    gap: 22px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}

.editorial-count {
    color: #d7d2ff;
    font-size: 2rem;
    font-weight: 900;
    writing-mode: vertical-rl;
}

.mini-label {
    color: var(--violet);
    font-size: 0.75rem;
    font-weight: 800;
}

.editorial-card h3 {
    margin: 5px 0 8px;
}

.editorial-card p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.86rem;
}

.editorial-card img {
    width: 140px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 16px;
}

.schedule-section {
    display: grid;
    padding: 56px;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 64px;
    color: #ffffff;
    background: var(--night);
    border-radius: var(--radius-lg);
}

.schedule-section .section-heading {
    display: block;
    margin: 0;
}

.schedule-section .section-heading h2 {
    color: #ffffff;
}

.schedule-section .section-heading > p {
    margin-top: 18px;
    color: #aeb4ce;
}

.schedule-track {
    display: grid;
    gap: 0;
}

.schedule-item {
    display: grid;
    padding: 18px 0;
    grid-template-columns: 64px 16px 1fr;
    gap: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.schedule-item time {
    color: #bcb0ff;
    font-weight: 800;
}

.schedule-dot {
    width: 10px;
    height: 10px;
    margin-top: 8px;
    background: var(--aqua);
    border: 3px solid rgba(66, 200, 180, 0.25);
    border-radius: 50%;
    box-sizing: content-box;
}

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

.schedule-item p,
.schedule-item small {
    color: #aeb4ce;
}

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

.completed-tile {
    position: relative;
    min-height: 360px;
    padding: 28px;
    overflow: hidden;
    color: #ffffff;
    border-radius: 24px;
}

.completed-tile::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, rgba(10, 14, 36, 0.06), rgba(10, 14, 36, 0.92));
}

.completed-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.completed-tile:hover img {
    transform: scale(1.04);
}

.completed-tile span,
.completed-tile h3,
.completed-tile p {
    position: relative;
    z-index: 1;
}

.completed-tile span {
    display: inline-block;
    margin-top: 170px;
    padding: 5px 10px;
    color: var(--night);
    background: #ffffff;
    border-radius: 8px;
    font-size: 0.74rem;
    font-weight: 800;
}

.completed-tile h3 {
    margin: 12px 0 4px;
    font-size: 1.5rem;
}

.completed-tile p {
    max-width: 470px;
    margin: 0;
    color: #d8dbea;
}

.experience-section {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    align-items: start;
    gap: 60px;
}

.experience-intro {
    position: sticky;
    top: 120px;
    padding: 44px;
    color: #ffffff;
    background: linear-gradient(145deg, var(--violet), #46319f);
    border-radius: 24px;
}

.experience-intro .section-kicker {
    color: #d8d1ff;
}

.experience-intro h2 {
    margin: 10px 0 14px;
    font-size: 2.2rem;
    line-height: 1.2;
}

.experience-intro p {
    margin: 0;
    color: #e0dcff;
}

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

.experience-list article {
    min-height: 220px;
    padding: 30px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 20px;
}

.experience-list article > span {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    color: var(--violet);
    background: #f0edff;
    border-radius: 14px;
    font-size: 1.3rem;
}

.experience-list h3 {
    margin: 22px 0 8px;
}

.experience-list p {
    margin: 0;
    color: var(--ink-soft);
}

.bookshelf-section {
    display: grid;
    min-height: 420px;
    padding: 60px;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
    background: #feecef;
    border-radius: var(--radius-lg);
}

.bookshelf-visual {
    position: relative;
    display: grid;
    min-height: 280px;
    place-items: center;
}

.book-stack {
    display: flex;
    align-items: end;
}

.book-stack span {
    display: flex;
    width: 76px;
    height: 245px;
    padding: 20px 12px;
    align-items: center;
    color: #ffffff;
    background: var(--night);
    border: 5px solid #ffffff;
    border-radius: 8px 14px 14px 8px;
    box-shadow: 0 18px 30px rgba(68, 42, 48, 0.16);
    font-weight: 800;
    letter-spacing: 0.08em;
    writing-mode: vertical-rl;
}

.book-stack span:nth-child(2) {
    height: 270px;
    background: var(--violet);
}

.book-stack span:nth-child(3) {
    height: 225px;
    background: var(--coral);
}

.bookmark-ribbon {
    position: absolute;
    top: 5px;
    right: 19%;
    display: grid;
    width: 58px;
    height: 68px;
    place-items: center;
    color: #ffffff;
    background: var(--coral);
    border-radius: 8px 8px 20px 20px;
    font-size: 1.5rem;
}

.bookshelf-copy h2 {
    margin: 10px 0 14px;
    font-size: 2.5rem;
    line-height: 1.2;
}

.bookshelf-copy > p {
    color: #5f4f55;
}

.shelf-result {
    min-height: 28px;
    margin-top: 18px;
    font-size: 0.88rem;
}

.about-section {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
}

.about-section h2 {
    margin: 10px 0 20px;
    font-size: 2.5rem;
    line-height: 1.2;
}

.about-section p {
    color: var(--ink-soft);
}

.about-facts {
    display: grid;
    margin: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.about-facts div {
    display: flex;
    min-height: 150px;
    padding: 24px;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 18px;
}

.about-facts dt {
    color: var(--violet);
    font-size: 2rem;
    font-weight: 900;
}

.about-facts dd {
    margin: 4px 0 0;
    color: var(--ink-soft);
}

.app-section {
    display: grid;
    margin-bottom: 110px;
    padding: 60px;
    grid-template-columns: 1fr 240px;
    align-items: center;
    gap: 80px;
    color: #ffffff;
    background:
        radial-gradient(circle at 90% 15%, rgba(255, 107, 122, 0.3), transparent 25%),
        var(--night);
    border-radius: var(--radius-lg);
}

.app-copy .section-kicker {
    color: #bcb0ff;
}

.app-copy h2 {
    margin: 10px 0 14px;
    font-size: 2.6rem;
    line-height: 1.2;
}

.app-copy > p {
    max-width: 720px;
    color: #c4c9dc;
}

.app-actions > span {
    color: #9da5c0;
    font-size: 0.82rem;
}

.qr-card {
    padding: 18px;
    color: var(--night);
    background: #ffffff;
    border-radius: 20px;
    text-align: center;
}

.qr-pattern {
    display: grid;
    width: 160px;
    height: 160px;
    margin: 0 auto 14px;
    padding: 12px;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
    background: #f1f2f7;
    border-radius: 12px;
}

.qr-pattern span {
    background: #d9dce7;
    border-radius: 3px;
}

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

.qr-card strong,
.qr-card small {
    display: block;
}

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

.page-shell,
.reader-shell {
    padding-top: 42px;
    padding-bottom: 110px;
}

.breadcrumb {
    display: flex;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--ink-soft);
    font-size: 0.84rem;
}

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

.listing-hero {
    display: flex;
    min-height: 290px;
    padding: 48px;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--night), color-mix(in srgb, var(--accent) 50%, var(--night)));
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.listing-hero > div:first-child {
    display: flex;
    align-items: center;
    gap: 24px;
}

.listing-icon {
    display: grid;
    width: 88px;
    height: 88px;
    flex: 0 0 auto;
    place-items: center;
    color: var(--night);
    background: var(--accent);
    border-radius: 26px;
    font-size: 2.5rem;
}

.listing-hero .section-kicker {
    color: var(--accent);
}

.listing-hero h1 {
    margin: 8px 0 10px;
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.1;
}

.listing-hero p {
    max-width: 620px;
    margin: 0;
    color: #d0d4e5;
}

.listing-hero dl {
    display: flex;
    margin: 0;
    flex-wrap: wrap;
    gap: 12px;
}

.listing-hero dl div {
    min-width: 105px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
}

.listing-hero dt {
    color: #9da5c0;
    font-size: 0.75rem;
}

.listing-hero dd {
    margin: 2px 0 0;
    font-weight: 800;
}

.listing-content {
    margin-top: 80px;
}

.listing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.listing-grid .cover-card {
    padding: 18px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 22px;
}

.listing-grid .cover-card.is-featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 0.78fr 1fr;
    align-items: center;
    gap: 28px;
}

.listing-grid .cover-card.is-featured .cover-image img {
    aspect-ratio: 4 / 5;
}

.listing-grid .cover-card.is-featured .cover-copy h3 {
    font-size: 1.6rem;
}

.category-note {
    display: flex;
    margin-top: 70px;
    padding: 34px;
    align-items: flex-start;
    gap: 22px;
    background: #f0edff;
    border-radius: 20px;
}

.category-note > span {
    color: var(--violet);
    font-size: 1.8rem;
}

.category-note h2,
.category-note p {
    margin: 0;
}

.category-note p {
    margin-top: 7px;
    color: var(--ink-soft);
}

.reader-shell {
    max-width: 980px;
}

.reader-header {
    position: relative;
    padding: 52px;
    color: #ffffff;
    background:
        radial-gradient(circle at 90% 20%, rgba(124, 92, 255, 0.5), transparent 28%),
        var(--night);
    border-radius: var(--radius-lg);
}

.reader-category {
    display: inline-flex;
    padding: 7px 12px;
    color: #dcd7ff;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
}

.reader-header h1 {
    margin: 20px 0 4px;
    font-size: clamp(2.5rem, 7vw, 4.8rem);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.reader-chapter {
    margin: 0;
    color: #bcb0ff;
    font-size: 1.3rem;
    font-weight: 800;
}

.reader-meta {
    display: flex;
    margin-top: 24px;
    flex-wrap: wrap;
    gap: 10px 22px;
    color: #aeb4ce;
    font-size: 0.82rem;
}

.collect-button {
    position: absolute;
    right: 34px;
    bottom: 34px;
    display: inline-flex;
    padding: 11px 16px;
    align-items: center;
    gap: 8px;
    color: var(--night);
    background: #ffffff;
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 800;
}

.collect-button.is-collected {
    color: #ffffff;
    background: var(--coral);
}

.reading-note {
    display: flex;
    margin: 28px 0 52px;
    padding: 24px 28px;
    align-items: flex-start;
    gap: 18px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-left: 4px solid var(--violet);
    border-radius: 16px;
}

.reading-note > span {
    font-size: 1.5rem;
}

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

.reading-note h2 {
    font-size: 1rem;
}

.reading-note p {
    margin-top: 4px;
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.chapter-content > h2 {
    margin: 0 0 34px;
    text-align: center;
    font-size: 1.7rem;
}

.story-text {
    max-width: 760px;
    margin: 40px auto 26px;
    color: #414861;
    font-size: 1.05rem;
}

.comic-panel {
    margin: 0 auto 42px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 14px 46px rgba(33, 39, 80, 0.08);
}

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

.comic-panel figcaption {
    padding: 14px 18px;
    color: var(--ink-soft);
    font-size: 0.82rem;
    text-align: center;
}

.chapter-end {
    margin-top: 60px;
    padding: 48px;
    background: #f0edff;
    border-radius: 22px;
    text-align: center;
}

.chapter-end > span {
    color: var(--violet);
    font-size: 2rem;
}

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

.chapter-end p {
    max-width: 680px;
    margin: 0 auto;
    color: var(--ink-soft);
}

.chapter-navigation {
    display: grid;
    margin-top: 28px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.chapter-link {
    display: flex;
    min-height: 100px;
    padding: 20px;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 16px;
}

.chapter-link span {
    color: var(--ink-soft);
    font-size: 0.8rem;
}

.chapter-link.next {
    text-align: right;
}

.chapter-link:not(.is-disabled):hover {
    color: var(--violet);
    border-color: #cfc7ff;
}

.chapter-link.is-disabled {
    opacity: 0.55;
}

.reader-actions {
    justify-content: center;
}

.site-footer {
    padding: 72px 0 24px;
    color: #c9cddd;
    background: #0b0f24;
}

.footer-grid {
    display: grid;
    padding-bottom: 48px;
    grid-template-columns: 1.3fr repeat(3, 1fr);
    gap: 54px;
}

.footer-brand {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 900;
}

.footer-grid p {
    margin: 10px 0 0;
    color: #8f96b2;
    font-size: 0.86rem;
}

.footer-grid h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 0.95rem;
}

.footer-links {
    display: grid;
    gap: 8px;
}

.footer-links a {
    color: #9da5c0;
    font-size: 0.86rem;
}

.footer-links a:hover {
    color: #ffffff;
}

.copyright {
    display: flex;
    padding-top: 24px;
    justify-content: space-between;
    gap: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    color: #747c98;
    font-size: 0.78rem;
}

.copyright p {
    margin: 0;
}

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

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

@media (max-width: 1100px) {
    .header-shell {
        flex-wrap: wrap;
        padding: 16px 0;
    }

    .menu-toggle {
        display: inline-flex;
        margin-left: auto;
        align-items: center;
        gap: 7px;
    }

    .primary-nav {
        display: none;
        width: 100%;
        flex: 0 0 100%;
        padding-top: 12px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .primary-nav.is-open {
        display: grid;
    }

    .hero {
        padding: 48px;
        grid-template-columns: 1fr 0.75fr;
        gap: 40px;
    }

    .hero h1 {
        font-size: 4.5rem;
    }

    .search-panel {
        grid-template-columns: 1fr 1fr;
    }

    .mood-links {
        grid-column: 1 / -1;
    }

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

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

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

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

    .app-section {
        gap: 40px;
    }
}

@media (max-width: 800px) {
    .header-shell,
    .section-shell,
    .page-shell,
    .reader-shell,
    .footer-grid,
    .copyright {
        width: min(calc(100% - 28px), var(--content));
    }

    .brand-copy small {
        display: none;
    }

    .hero {
        min-height: auto;
        margin-top: 28px;
        padding: 40px 28px;
        grid-template-columns: 1fr;
    }

    .hero-art {
        width: min(82%, 380px);
        margin: 0 auto;
        justify-self: center;
    }

    .hero-note {
        right: -8px;
        width: 190px;
    }

    .search-panel {
        padding: 22px;
        grid-template-columns: 1fr;
    }

    .mood-links {
        grid-column: auto;
    }

    .content-section,
    .ranking-section,
    .category-section,
    .editorial-section,
    .schedule-section,
    .completed-section,
    .experience-section,
    .bookshelf-section,
    .about-section,
    .app-section {
        margin-top: 76px;
    }

    .section-heading {
        display: block;
    }

    .section-heading > p {
        margin-top: 12px;
    }

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

    .ranking-section,
    .schedule-section,
    .bookshelf-section,
    .app-section {
        padding: 34px 24px;
    }

    .ranking-layout,
    .experience-section,
    .bookshelf-section,
    .about-section {
        grid-template-columns: 1fr;
    }

    .ranking-feature {
        min-height: 380px;
    }

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

    .editorial-card {
        grid-template-columns: auto 1fr 110px;
    }

    .editorial-card img {
        width: 110px;
    }

    .experience-intro {
        position: static;
    }

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

    .qr-card {
        width: 220px;
    }

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

    .listing-hero {
        padding: 36px 28px;
        align-items: flex-start;
        flex-direction: column;
    }

    .listing-grid .cover-card.is-featured {
        grid-column: span 2;
    }

    .reader-header {
        padding: 38px 26px 110px;
    }

    .collect-button {
        right: 26px;
        bottom: 30px;
    }
}

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

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

    .nav-link {
        justify-content: flex-start;
        padding: 10px;
    }

    .hero h1 {
        font-size: 3.45rem;
    }

    .hero-actions,
    .reader-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-stats {
        gap: 18px;
    }

    .hero-note {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
        margin-top: 12px;
    }

    .site-search {
        flex-direction: column;
    }

    .site-search button {
        padding: 10px;
    }

    .cover-grid-five,
    .category-grid,
    .experience-list,
    .listing-grid,
    .about-facts,
    .chapter-navigation {
        grid-template-columns: 1fr;
    }

    .ranking-section {
        margin-right: 14px;
        margin-left: 14px;
    }

    .ranking-list li {
        padding: 16px;
        grid-template-columns: 38px 1fr auto;
    }

    .category-card {
        min-height: 0;
    }

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

    .editorial-card img {
        display: none;
    }

    .completed-tile {
        min-height: 330px;
    }

    .bookshelf-section {
        gap: 30px;
    }

    .book-stack span {
        width: 60px;
    }

    .app-copy h2,
    .about-section h2,
    .bookshelf-copy h2 {
        font-size: 2rem;
    }

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

    .copyright {
        flex-direction: column;
    }

    .listing-hero > div:first-child {
        align-items: flex-start;
        flex-direction: column;
    }

    .listing-grid .cover-card.is-featured {
        display: block;
        grid-column: span 1;
    }

    .category-note {
        padding: 24px;
    }

    .reader-header h1 {
        font-size: 2.6rem;
    }

    .chapter-end {
        padding: 34px 22px;
    }

    .chapter-link.next {
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
