:root {
    --ink: #121633;
    --muted: #667085;
    --paper: #f4f7fb;
    --surface: #ffffff;
    --line: #dfe5ee;
    --brand: #635bff;
    --brand-dark: #302a91;
    --cyan: #2ac7c9;
    --pink: #ff4f8b;
    --rose: #ef6d88;
    --orange: #f58a35;
    --violet: #8d5bff;
    --blue: #3978f6;
    --green: #2da66f;
    --mint: #39bca8;
    --shadow: 0 18px 50px rgba(27, 31, 73, 0.1);
    --radius-lg: 30px;
    --radius-md: 20px;
    --radius-sm: 12px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(circle at 12% 16%, rgba(99, 91, 255, 0.09) 0, transparent 27%), radial-gradient(circle at 90% 8%, rgba(42, 199, 201, 0.11) 0, transparent 25%);
    content: "";
    pointer-events: none;
}

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

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

button,
input {
    font: inherit;
}

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

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

.section-shell,
.header-shell,
.footer-shell {
    width: min(1200px, calc(100% - 40px));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(223, 229, 238, 0.85);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
}

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

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

.brand-mark {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 2px solid var(--ink);
    border-radius: 15px 15px 20px 20px;
    color: #ffffff;
    background: linear-gradient(145deg, var(--brand), var(--cyan));
    box-shadow: 4px 4px 0 var(--ink);
    font-weight: 900;
    line-height: 1;
    transform: rotate(-3deg);
}

.brand-copy {
    display: grid;
    line-height: 1.1;
}

.brand-copy strong {
    font-size: 1.08rem;
    letter-spacing: 0.05em;
}

.brand-copy small {
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.primary-nav {
    min-width: 0;
    margin-left: auto;
}

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

.primary-nav a {
    display: grid;
    min-width: 62px;
    padding: 9px 8px 7px;
    place-items: center;
    border-radius: 13px;
    color: #4b516d;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.25;
    transition: 0.2s ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav a.is-current {
    color: var(--brand-dark);
    background: #eeedff;
    transform: translateY(-2px);
}

.nav-icon {
    display: block;
    margin-bottom: 3px;
    font-size: 1.05rem;
}

.nav-toggle {
    display: none;
    margin-left: auto;
    padding: 9px 13px;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--ink);
    background: var(--surface);
    font-weight: 800;
    cursor: pointer;
}

main {
    display: block;
}

.hero {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    min-height: 570px;
    margin-top: 48px;
    overflow: hidden;
    border: 1px solid #d8dcf3;
    border-radius: 40px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.hero-copy {
    position: relative;
    display: flex;
    padding: 72px 64px;
    flex-direction: column;
    justify-content: center;
}

.hero-copy::after {
    position: absolute;
    right: 34px;
    bottom: 30px;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background-image: radial-gradient(var(--brand) 1.5px, transparent 1.5px);
    background-size: 10px 10px;
    content: "";
    opacity: 0.35;
}

.hero-kicker,
.eyebrow {
    color: var(--brand);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

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

.hero h1 a {
    background: linear-gradient(110deg, var(--ink) 10%, var(--brand) 68%, var(--cyan));
    background-clip: text;
    color: transparent;
}

.hero-lead {
    max-width: 590px;
    margin: 18px 0 0;
    color: #4f566f;
    font-size: 1.1rem;
    line-height: 1.9;
}

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

.button {
    display: inline-flex;
    min-height: 48px;
    padding: 11px 22px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    transition: 0.2s ease;
}

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

.button-primary {
    color: #ffffff;
    background: var(--brand);
    box-shadow: 0 10px 24px rgba(99, 91, 255, 0.26);
}

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

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

.hero-stats {
    display: flex;
    gap: 34px;
    margin: 38px 0 0;
}

.hero-stats div {
    display: grid;
}

.hero-stats dt {
    font-size: 1.35rem;
    font-weight: 900;
}

.hero-stats dd {
    margin: 0;
    color: var(--muted);
    font-size: 0.82rem;
}

.hero-art {
    position: relative;
    min-height: 570px;
    overflow: hidden;
    background: var(--brand-dark);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.95) contrast(1.04);
}

.hero-art::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 28%, rgba(24, 19, 65, 0.86) 100%);
    content: "";
}

.hero-badge {
    position: absolute;
    top: 28px;
    right: 28px;
    z-index: 2;
    display: grid;
    width: 92px;
    height: 92px;
    place-items: center;
    border: 2px solid var(--ink);
    border-radius: 50%;
    background: #a7f35b;
    box-shadow: 5px 5px 0 var(--ink);
    line-height: 1.1;
    transform: rotate(8deg);
}

.hero-badge span {
    font-size: 0.72rem;
    font-weight: 900;
}

.hero-badge strong {
    font-size: 0.85rem;
}

.hero-caption {
    position: absolute;
    right: 34px;
    bottom: 34px;
    left: 34px;
    z-index: 2;
    display: grid;
    color: #ffffff;
}

.hero-caption span {
    color: #a7f35b;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.hero-caption strong {
    margin-top: 4px;
    font-size: 2rem;
}

.hero-caption small {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.76);
}

.quick-rail {
    display: grid;
    grid-template-columns: auto 1fr;
    margin-top: 34px;
    align-items: center;
    gap: 24px;
}

.quick-rail h2 {
    margin: 0;
    font-size: 0.86rem;
    letter-spacing: 0.08em;
}

.quick-rail-items {
    display: flex;
    min-width: 0;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.quick-chip {
    display: inline-flex;
    flex: 0 0 auto;
    padding: 10px 14px;
    align-items: center;
    gap: 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
    font-size: 0.88rem;
    font-weight: 800;
}

.quick-chip small {
    color: var(--muted);
    font-weight: 600;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand);
}

.dot-cyan {
    background: var(--cyan);
}

.dot-pink {
    background: var(--pink);
}

.dot-rose {
    background: var(--rose);
}

.dot-orange {
    background: var(--orange);
}

.dot-violet {
    background: var(--violet);
}

.dot-blue {
    background: var(--blue);
}

.section-shell:not(.hero):not(.quick-rail) {
    margin-top: 112px;
}

.section-heading {
    display: grid;
    grid-template-columns: 0.65fr 1.1fr 1.15fr;
    padding-bottom: 26px;
    align-items: end;
    gap: 24px;
    border-bottom: 1px solid var(--line);
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

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

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

.category-card {
    position: relative;
    display: flex;
    min-height: 248px;
    padding: 26px;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #ffffff;
    transition: 0.25s ease;
}

.category-card::after {
    position: absolute;
    right: -28px;
    bottom: -30px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: currentColor;
    content: "";
    opacity: 0.08;
}

.category-card:hover,
.category-card:focus-visible {
    border-color: currentColor;
    box-shadow: var(--shadow);
    transform: translateY(-6px);
}

.accent-cyan {
    color: #15898b;
}

.accent-pink {
    color: #d93470;
}

.accent-rose {
    color: #d0526d;
}

.accent-orange {
    color: #ca681e;
}

.accent-violet {
    color: #6b3fd1;
}

.accent-blue {
    color: #245dc5;
}

.accent-green {
    color: #1d8052;
}

.accent-mint {
    color: #238b7c;
}

.category-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 14px;
    background: #ffffff;
    font-size: 1.35rem;
}

.category-card h3 {
    margin: 22px 0 7px;
    color: var(--ink);
    font-size: 1.2rem;
}

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

.category-link {
    margin-top: auto;
    padding-top: 18px;
    font-size: 0.85rem;
    font-weight: 900;
}

.update-board {
    margin-top: 28px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #ffffff;
}

.update-row {
    display: grid;
    grid-template-columns: 110px 1fr auto;
    padding: 24px 28px;
    align-items: center;
    gap: 28px;
    border-bottom: 1px solid var(--line);
}

.update-row:last-child {
    border-bottom: 0;
}

.update-row time {
    color: var(--brand);
    font-size: 1.3rem;
    font-weight: 900;
}

.update-info h3,
.update-info p {
    margin: 0;
}

.update-info p {
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.9rem;
}

.mini-label {
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.text-link,
.catalog-meta a,
.editor-notes a,
.book-card a,
.week-card a {
    color: var(--brand);
    font-weight: 900;
}

.ranking-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.ranking-item {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    min-height: 180px;
    padding: 24px;
    align-items: center;
    gap: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #ffffff;
}

.ranking-first {
    color: #ffffff;
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
}

.ranking-first p,
.ranking-first .tag-list li {
    color: rgba(255, 255, 255, 0.78);
}

.ranking-first .tag-list li {
    border-color: rgba(255, 255, 255, 0.2);
}

.ranking-first .rank-action {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.35);
}

.rank-number {
    align-self: start;
    color: var(--pink);
    font-size: 2rem;
    font-weight: 950;
    letter-spacing: -0.08em;
}

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

.ranking-item p {
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.9rem;
}

.rank-action {
    padding: 7px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 13px 0 0;
    padding: 0;
    list-style: none;
}

.tag-list li {
    padding: 4px 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.42);
    font-size: 0.7rem;
    font-weight: 800;
}

.editor-layout {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 22px;
    margin-top: 28px;
}

.editor-feature {
    position: relative;
    min-height: 540px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--brand-dark);
}

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

.editor-feature::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 25%, rgba(18, 22, 51, 0.92));
    content: "";
}

.editor-feature-copy {
    position: absolute;
    right: 34px;
    bottom: 34px;
    left: 34px;
    z-index: 1;
    color: #ffffff;
}

.editor-feature-copy .eyebrow {
    color: #a7f35b;
}

.editor-feature-copy h3 {
    margin: 8px 0;
    font-size: 2.3rem;
}

.editor-feature-copy p {
    max-width: 580px;
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.78);
}

.editor-notes {
    display: grid;
    gap: 14px;
}

.editor-notes article {
    display: flex;
    padding: 24px;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #ffffff;
}

.editor-notes h3,
.editor-notes p {
    margin: 0;
}

.editor-notes p {
    margin: 5px 0 12px;
    color: var(--muted);
    font-size: 0.88rem;
}

.note-index {
    color: var(--violet);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.09em;
}

.poster-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 28px;
}

.poster-card a {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4.35;
    overflow: hidden;
    border-radius: 120px 120px 24px 24px;
    background: var(--ink);
}

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

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

.poster-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    padding: 24px;
    flex-direction: column;
    justify-content: flex-end;
    color: #ffffff;
    background: linear-gradient(180deg, transparent 36%, rgba(17, 21, 51, 0.9));
}

.poster-overlay span {
    color: #a7f35b;
    font-weight: 900;
}

.poster-overlay h3,
.poster-overlay p {
    margin: 0;
}

.poster-overlay h3 {
    font-size: 1.3rem;
}

.poster-overlay p {
    font-size: 0.76rem;
    opacity: 0.8;
}

.book-shelf {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 28px;
}

.book-card {
    display: grid;
    grid-template-columns: 155px 1fr;
    min-height: 230px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #ffffff;
}

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

.book-card > div {
    display: flex;
    padding: 24px;
    flex-direction: column;
}

.book-card h3,
.book-card p {
    margin: 0;
}

.book-card p {
    margin-top: 7px;
    color: var(--muted);
    font-size: 0.86rem;
}

.book-card a {
    margin-top: auto;
}

.status-badge {
    align-self: flex-start;
    padding: 4px 9px;
    border-radius: 999px;
    color: #15714a;
    background: #ddf8e9;
    font-size: 0.7rem;
    font-weight: 900;
}

.mood-map {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin-top: 28px;
}

.mood-card {
    display: flex;
    min-height: 235px;
    padding: 22px;
    flex-direction: column;
    justify-content: flex-end;
    border: 1px solid rgba(18, 22, 51, 0.1);
    border-radius: 80px 80px 20px 20px;
    transition: 0.25s ease;
}

.mood-card:hover {
    transform: translateY(-6px) rotate(-1deg);
}

.mood-card > span {
    font-size: 1.6rem;
}

.mood-card h3,
.mood-card p {
    margin: 0;
}

.mood-card h3 {
    margin-top: 10px;
    font-size: 1rem;
}

.mood-card p {
    margin-top: 5px;
    font-size: 0.78rem;
    line-height: 1.55;
}

.mood-1 {
    background: #d9f7ef;
}

.mood-2 {
    background: #ffe1ea;
}

.mood-3 {
    background: #ffe6cd;
}

.mood-4 {
    color: #ffffff;
    background: #5d54c9;
}

.mood-5 {
    background: #d9e7ff;
}

.mood-6 {
    background: #e9f7b9;
}

.week-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    margin-top: 28px;
}

.week-card {
    display: flex;
    min-height: 210px;
    padding: 18px;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #ffffff;
}

.week-card.is-today {
    color: #ffffff;
    background: var(--ink);
    transform: translateY(-8px);
}

.week-day {
    color: var(--pink);
    font-size: 0.78rem;
    font-weight: 900;
}

.week-card h3,
.week-card p {
    margin: 0;
}

.week-card h3 {
    margin-top: 14px;
    font-size: 1rem;
}

.week-card p {
    color: var(--muted);
    font-size: 0.78rem;
}

.week-card.is-today p {
    color: rgba(255, 255, 255, 0.68);
}

.week-card a {
    margin-top: auto;
    font-size: 0.8rem;
}

.bookshelf-section {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    overflow: hidden;
    border-radius: 36px;
    color: #ffffff;
    background: var(--ink);
}

.bookshelf-copy {
    padding: 64px;
}

.bookshelf-copy h2 {
    margin: 12px 0;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.15;
}

.bookshelf-copy > p {
    color: rgba(255, 255, 255, 0.7);
}

.bookshelf-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 34px;
}

.bookshelf-steps article {
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.bookshelf-steps span {
    color: #a7f35b;
    font-size: 0.74rem;
    font-weight: 900;
}

.bookshelf-steps h3,
.bookshelf-steps p {
    margin: 0;
}

.bookshelf-steps p {
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.78rem;
}

.bookshelf-visual {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    background: radial-gradient(circle at 70% 24%, rgba(42, 199, 201, 0.62), transparent 30%), linear-gradient(145deg, #5f56d9, #312b79);
}

.bookshelf-visual::after {
    position: absolute;
    right: 8%;
    bottom: 12%;
    left: 8%;
    height: 18px;
    border-radius: 20px;
    background: #17152c;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
    content: "";
}

.shelf-book {
    position: absolute;
    bottom: 15%;
    display: flex;
    width: 72px;
    height: 300px;
    padding: 18px 12px;
    align-items: center;
    justify-content: center;
    border: 2px solid #14142f;
    border-radius: 8px 12px 4px 4px;
    color: #17152c;
    background: #ffffff;
    box-shadow: 8px 9px 0 rgba(20, 20, 47, 0.65);
    font-weight: 900;
    line-height: 1.25;
    text-align: center;
    writing-mode: vertical-rl;
}

.shelf-book-1 {
    left: 19%;
    height: 330px;
    background: #a7f35b;
    transform: rotate(-5deg);
}

.shelf-book-2 {
    left: 37%;
    background: #ff9aba;
}

.shelf-book-3 {
    left: 55%;
    height: 350px;
    background: #ffbd6b;
    transform: rotate(4deg);
}

.shelf-book-4 {
    left: 73%;
    height: 280px;
    background: #7be1d4;
    transform: rotate(7deg);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 28px;
}

.faq-grid details {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #ffffff;
}

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

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

.about-section {
    display: grid;
    grid-template-columns: 0.38fr 1fr;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.about-label,
.about-content {
    padding: 56px 0;
}

.about-label {
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--line);
}

.about-label span {
    color: var(--brand);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.18em;
}

.about-label strong {
    margin-top: 10px;
    font-size: 1.3rem;
}

.about-content {
    padding-left: 60px;
}

.about-content h2 {
    max-width: 720px;
    margin: 0 0 20px;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.25;
}

.about-content p {
    color: var(--muted);
}

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

.about-points li::before {
    margin-right: 8px;
    color: var(--brand);
    content: "✦";
}

.subscribe-section {
    display: grid;
    grid-template-columns: 1fr 300px;
    margin-bottom: 112px;
    overflow: hidden;
    border: 2px solid var(--ink);
    border-radius: 36px;
    background: #dffbff;
    box-shadow: 8px 8px 0 var(--ink);
}

.subscribe-copy {
    padding: 56px 60px;
}

.subscribe-copy h2 {
    margin: 10px 0;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.15;
}

.subscribe-copy > p {
    max-width: 720px;
    color: #4b5368;
}

.subscribe-note {
    display: block;
    margin-top: 18px;
    color: var(--muted);
}

.brand-code {
    display: flex;
    padding: 38px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--ink);
}

.code-grid {
    display: grid;
    width: 150px;
    height: 150px;
    padding: 12px;
    grid-template-columns: repeat(6, 1fr);
    gap: 5px;
    border-radius: 16px;
    background: #ffffff;
}

.code-grid span {
    border-radius: 2px;
    background: #d7dce9;
}

.code-grid span.is-filled {
    background: var(--ink);
}

.brand-code strong {
    margin-top: 18px;
    font-size: 1.15rem;
}

.brand-code > span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.8rem;
}

.site-footer {
    color: #ffffff;
    background: #0d1026;
}

.footer-shell {
    padding: 58px 0 28px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-brand strong {
    font-size: 1.2rem;
}

.footer-brand p {
    margin: 4px 0 0;
    color: rgba(255, 255, 255, 0.56);
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 36px;
    font-weight: 800;
}

.footer-bottom {
    display: flex;
    margin-top: 42px;
    padding-top: 22px;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.78rem;
}

.footer-bottom p {
    margin: 0;
}

.inner-shell,
.reader-shell {
    margin-top: 34px !important;
    margin-bottom: 100px;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 24px;
    padding: 0;
    color: var(--muted);
    font-size: 0.82rem;
    list-style: none;
}

.breadcrumb li:not(:last-child)::after {
    margin-left: 8px;
    color: #aeb4c2;
    content: "/";
}

.category-hero {
    display: grid;
    grid-template-columns: 1fr auto;
    min-height: 310px;
    padding: 48px 54px;
    align-items: center;
    gap: 40px;
    border: 1px solid currentColor;
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow);
}

.category-hero-icon {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 18px;
    font-size: 1.6rem;
}

.category-hero h1 {
    margin: 10px 0;
    color: var(--ink);
    font-size: clamp(2.7rem, 6vw, 5rem);
    line-height: 1;
    letter-spacing: -0.06em;
}

.category-hero-lead {
    max-width: 690px;
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.category-facts {
    display: grid;
    min-width: 170px;
    margin: 0;
    gap: 14px;
}

.category-facts div {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.category-facts dt {
    color: var(--ink);
    font-size: 1.2rem;
    font-weight: 900;
}

.category-facts dd {
    margin: 0;
    color: var(--muted);
    font-size: 0.78rem;
}

.catalog-section {
    margin-top: 72px;
}

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

.catalog-heading h2,
.catalog-heading p {
    margin: 0;
}

.catalog-heading h2 {
    font-size: 2rem;
}

.catalog-heading p {
    color: var(--muted);
}

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

.catalog-card {
    display: grid;
    grid-template-columns: 210px 1fr;
    min-height: 270px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #ffffff;
}

.catalog-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    grid-template-columns: 300px 1fr;
}

.catalog-cover {
    position: relative;
    overflow: hidden;
    background: #dfe4f0;
}

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

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

.catalog-number {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 10px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(18, 22, 51, 0.85);
    font-size: 0.72rem;
    font-weight: 900;
}

.catalog-copy {
    display: flex;
    padding: 26px;
    flex-direction: column;
}

.catalog-copy .tag-list {
    margin-top: 0;
}

.catalog-copy h3 {
    margin: 14px 0 5px;
    font-size: 1.35rem;
}

.catalog-copy > p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.catalog-meta {
    display: flex;
    margin-top: auto;
    padding-top: 18px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: var(--muted);
    font-size: 0.8rem;
}

.category-seo {
    margin-top: 60px;
    padding: 42px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #eef1ff;
}

.category-seo h2 {
    margin: 0 0 12px;
}

.category-seo p {
    margin: 10px 0 0;
    color: #555d75;
}

.reader-article {
    max-width: 920px;
    margin: 0 auto;
}

.reader-header {
    padding: 52px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #ffffff;
    text-align: center;
}

.reader-category {
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.accent-text-cyan {
    color: #15898b;
}

.accent-text-pink {
    color: #d93470;
}

.accent-text-rose {
    color: #d0526d;
}

.accent-text-orange {
    color: #ca681e;
}

.accent-text-violet {
    color: #6b3fd1;
}

.accent-text-blue {
    color: #245dc5;
}

.accent-text-green {
    color: #1d8052;
}

.accent-text-mint {
    color: #238b7c;
}

.reader-header h1 {
    margin: 14px 0;
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    line-height: 1.2;
    letter-spacing: -0.05em;
}

.reader-deck {
    max-width: 700px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 1.05rem;
}

.reader-meta {
    display: flex;
    flex-wrap: wrap;
    margin-top: 24px;
    justify-content: center;
    gap: 8px 20px;
    color: var(--muted);
    font-size: 0.8rem;
}

.reader-header .tag-list {
    justify-content: center;
}

.reading-note {
    display: grid;
    grid-template-columns: auto 1fr;
    margin: 28px 0;
    padding: 24px 28px;
    align-items: center;
    gap: 18px;
    border: 1px solid #c8bee8;
    border-radius: var(--radius-md);
    background: #f0ecff;
}

.reading-note-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: var(--brand);
    font-size: 1.3rem;
}

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

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

.reading-note p {
    color: #5a5371;
    font-size: 0.88rem;
}

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

.comic-panel {
    margin: 0 0 40px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 14px 40px rgba(27, 31, 73, 0.07);
}

.comic-panel img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: #dfe4f0;
}

.comic-panel figcaption {
    display: grid;
    grid-template-columns: 90px 1fr;
    padding: 24px 28px 26px;
    gap: 24px;
}

.comic-panel figcaption span {
    color: var(--brand);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.comic-panel figcaption p {
    margin: 0;
    color: #4f566f;
}

.chapter-end {
    margin-top: 70px;
    padding: 48px;
    border-radius: var(--radius-lg);
    color: #ffffff;
    background: var(--ink);
    text-align: center;
}

.chapter-end span {
    color: #a7f35b;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.15em;
}

.chapter-end h2 {
    margin: 8px 0;
    font-size: 2rem;
}

.chapter-end p {
    max-width: 670px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.68);
}

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

.chapter-link {
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #ffffff;
    font-size: 0.86rem;
    font-weight: 800;
}

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

.chapter-link.is-disabled {
    color: #a7adba;
    background: #edf0f4;
}

@media (max-width: 1060px) {
    .header-shell {
        min-height: 76px;
    }

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

    .primary-nav {
        position: absolute;
        top: calc(100% + 1px);
        right: 20px;
        left: 20px;
        display: none;
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: #ffffff;
        box-shadow: var(--shadow);
    }

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

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

    .primary-nav a {
        grid-template-columns: 24px 1fr;
        min-width: 0;
        text-align: left;
    }

    .nav-icon {
        margin: 0;
    }

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

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

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

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

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

    .week-card:last-child:nth-child(odd) {
        grid-column: span 2;
    }

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

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

    .catalog-card:last-child:nth-child(odd) {
        grid-column: auto;
        grid-template-columns: 210px 1fr;
    }
}

@media (max-width: 760px) {
    body {
        font-size: 16px;
    }

    .section-shell,
    .header-shell,
    .footer-shell {
        width: min(100% - 24px, 1200px);
    }

    .brand-copy small {
        display: none;
    }

    .primary-nav {
        right: 12px;
        left: 12px;
    }

    .hero {
        margin-top: 24px;
        border-radius: 26px;
    }

    .hero-copy {
        padding: 48px 26px;
    }

    .hero h1 {
        font-size: clamp(3.1rem, 17vw, 5rem);
    }

    .hero-lead {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 18px;
    }

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

    .hero-caption {
        right: 22px;
        bottom: 22px;
        left: 22px;
    }

    .quick-rail {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .section-shell:not(.hero):not(.quick-rail) {
        margin-top: 78px;
    }

    .section-heading {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .category-grid,
    .ranking-grid,
    .book-shelf,
    .faq-grid,
    .catalog-grid {
        grid-template-columns: 1fr;
    }

    .category-card {
        min-height: 220px;
    }

    .update-row {
        grid-template-columns: 75px 1fr;
        padding: 20px;
        gap: 14px;
    }

    .update-row .text-link {
        grid-column: 2;
    }

    .update-info p {
        display: none;
    }

    .editor-layout {
        grid-template-columns: 1fr;
    }

    .editor-feature {
        min-height: 470px;
    }

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

    .book-card {
        grid-template-columns: 125px 1fr;
    }

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

    .mood-card {
        min-height: 220px;
    }

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

    .week-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    .bookshelf-copy {
        padding: 42px 26px;
    }

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

    .bookshelf-visual {
        min-height: 380px;
    }

    .shelf-book {
        width: 56px;
        height: 230px;
        font-size: 0.8rem;
    }

    .shelf-book-1 {
        height: 260px;
    }

    .shelf-book-3 {
        height: 280px;
    }

    .shelf-book-4 {
        height: 210px;
    }

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

    .about-label {
        padding: 36px 0 18px;
        border-right: 0;
    }

    .about-content {
        padding: 0 0 40px;
    }

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

    .subscribe-section {
        grid-template-columns: 1fr;
        margin-bottom: 78px;
    }

    .subscribe-copy {
        padding: 42px 26px;
    }

    .brand-code {
        padding: 34px;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .category-hero {
        grid-template-columns: 1fr;
        padding: 36px 26px;
    }

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

    .catalog-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .catalog-card,
    .catalog-card:last-child:nth-child(odd) {
        grid-template-columns: 1fr;
    }

    .catalog-cover {
        aspect-ratio: 16 / 10;
    }

    .category-seo {
        padding: 28px;
    }

    .reader-header {
        padding: 36px 22px;
    }

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

    .comic-panel figcaption {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 20px;
    }

    .chapter-end {
        padding: 38px 24px;
    }

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

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

@media (max-width: 420px) {
    .primary-nav ul {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-actions,
    .subscribe-actions {
        display: grid;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .ranking-item {
        grid-template-columns: 48px 1fr;
    }

    .rank-action {
        grid-column: 2;
        justify-self: start;
    }

    .poster-row,
    .mood-map {
        grid-template-columns: 1fr;
    }

    .poster-card a {
        aspect-ratio: 4 / 5;
    }

    .mood-card {
        min-height: 190px;
        border-radius: 60px 60px 18px 18px;
    }

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

    .book-card img {
        aspect-ratio: 16 / 9;
    }

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