:root {
    --ink: #12231f;
    --ink-soft: #40534e;
    --paper: #f7faf7;
    --white: #ffffff;
    --mint: #dff5e8;
    --green: #0d8b68;
    --green-dark: #08674f;
    --coral: #ff735c;
    --amber: #ffbf5a;
    --line: #dfe8e3;
    --shadow: 0 18px 45px rgba(19, 54, 44, 0.1);
    --radius-large: 28px;
    --radius-medium: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--paper);
    color: var(--ink);
    font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.75;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.container,
.header-inner,
.footer-inner {
    width: min(1200px, calc(100% - 40px));
    margin-right: auto;
    margin-left: auto;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--ink);
    color: var(--white);
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(223, 232, 227, 0.9);
    background: rgba(247, 250, 247, 0.94);
    backdrop-filter: blur(16px);
}

.header-inner {
    display: flex;
    min-height: 82px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    place-items: center;
    border-radius: 14px 14px 14px 4px;
    background: var(--green);
    color: var(--white);
    font-size: 22px;
    font-weight: 900;
    box-shadow: 5px 5px 0 var(--mint);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-copy strong {
    font-size: 19px;
    letter-spacing: 0.04em;
}

.brand-copy small {
    margin-top: 4px;
    color: var(--green);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.primary-nav ul {
    display: flex;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-link {
    display: flex;
    min-height: 52px;
    padding: 7px 10px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 13px;
    color: var(--ink-soft);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover {
    background: var(--mint);
    color: var(--green-dark);
    transform: translateY(-2px);
}

.nav-link.is-active {
    background: var(--ink);
    color: var(--white);
}

.nav-icon {
    font-size: 16px;
}

.menu-toggle {
    display: none;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    color: var(--ink);
    cursor: pointer;
}

.hero {
    display: grid;
    min-height: 570px;
    margin-top: 42px;
    padding: 62px 68px;
    grid-template-columns: 1.02fr 0.98fr;
    align-items: center;
    gap: 58px;
    overflow: hidden;
    border-radius: 36px;
    background: var(--mint);
}

.hero-label,
.section-kicker,
.eyebrow {
    color: var(--green);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-label {
    display: inline-flex;
    padding: 7px 12px;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
}

.hero h1 {
    margin: 18px 0 16px;
    font-size: clamp(52px, 7vw, 90px);
    line-height: 1.05;
    letter-spacing: -0.06em;
}

.hero h1 a {
    display: inline-block;
}

.hero-copy > p {
    max-width: 560px;
    margin: 0;
    color: var(--ink-soft);
    font-size: 18px;
}

.hero-actions {
    display: flex;
    margin-top: 30px;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-flex;
    min-height: 48px;
    padding: 11px 20px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary,
.button-dark {
    background: var(--ink);
    color: var(--white);
    box-shadow: 0 10px 24px rgba(18, 35, 31, 0.18);
}

.button-ghost {
    background: var(--white);
    color: var(--ink);
}

.button-light {
    background: var(--white);
    color: var(--ink);
}

.button-coral {
    background: var(--coral);
    color: var(--white);
}

.hero-stats {
    display: flex;
    margin: 36px 0 0;
    padding: 0;
    gap: 28px;
    list-style: none;
}

.hero-stats li {
    display: flex;
    flex-direction: column;
}

.hero-stats strong {
    font-size: 21px;
    line-height: 1.2;
}

.hero-stats span {
    color: var(--ink-soft);
    font-size: 13px;
}

.hero-art {
    position: relative;
    min-height: 420px;
}

.hero-art::before {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 310px;
    height: 310px;
    border: 2px dashed rgba(13, 139, 104, 0.3);
    border-radius: 50%;
    content: "";
}

.hero-cover {
    position: absolute;
    overflow: hidden;
    border: 8px solid var(--white);
    background: var(--white);
    box-shadow: var(--shadow);
}

.hero-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-cover-main {
    top: 10px;
    right: 42px;
    width: 270px;
    aspect-ratio: 3 / 4;
    border-radius: 24px;
    transform: rotate(5deg);
}

.hero-cover-small {
    bottom: 2px;
    left: 4px;
    width: 190px;
    aspect-ratio: 4 / 3;
    border-radius: 20px;
    transform: rotate(-6deg);
}

.hero-note {
    position: absolute;
    right: 0;
    bottom: 24px;
    display: flex;
    padding: 10px 14px;
    align-items: center;
    gap: 7px;
    border-radius: 999px;
    background: var(--coral);
    color: var(--white);
    font-size: 13px;
    font-weight: 800;
    box-shadow: var(--shadow);
}

.quick-strip {
    display: grid;
    margin-top: 34px;
    padding: 16px;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--white);
    box-shadow: 0 12px 35px rgba(19, 54, 44, 0.05);
}

.quick-item {
    display: flex;
    padding: 10px 18px;
    align-items: center;
    gap: 12px;
    border-right: 1px solid var(--line);
}

.quick-item:last-child {
    border-right: 0;
}

.quick-icon {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    border-radius: 14px;
    font-size: 20px;
}

.quick-icon.coral {
    background: #ffe5df;
    color: #d94e36;
}

.quick-icon.amber {
    background: #fff0d1;
    color: #bb7510;
}

.quick-icon.green {
    background: var(--mint);
    color: var(--green);
}

.quick-icon.blue {
    background: #e4efff;
    color: #3575d1;
}

.quick-item > span:last-child {
    display: flex;
    flex-direction: column;
}

.quick-item small {
    color: #75847f;
}

.content-section {
    margin-top: 104px;
    margin-bottom: 104px;
}

.section-heading {
    display: flex;
    margin-bottom: 34px;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.section-heading h2,
.about-copy h2,
.app-copy h2,
.healing-intro h2 {
    margin: 6px 0 8px;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.2;
    letter-spacing: -0.035em;
}

.section-heading p {
    max-width: 680px;
    margin: 0;
    color: var(--ink-soft);
}

.text-link {
    flex: 0 0 auto;
    color: var(--green);
    font-weight: 800;
}

.book-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.book-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-medium);
    background: var(--white);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.book-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.cover-link {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: #e7efeb;
}

.cover-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.book-card:hover .cover-link img {
    transform: scale(1.04);
}

.cover-badge {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 5px 9px;
    border-radius: 8px;
    background: rgba(18, 35, 31, 0.88);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
}

.book-card-body {
    padding: 18px;
}

.book-card h3 {
    margin: 4px 0 6px;
    font-size: 19px;
    line-height: 1.35;
}

.book-card p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--ink-soft);
    font-size: 14px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.book-meta {
    display: flex;
    margin-top: 14px;
    padding-top: 12px;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    color: #70817c;
    font-size: 12px;
}

.rank-section {
    padding: 88px 0;
    background: var(--ink);
    color: var(--white);
}

.rank-section .section-heading p {
    color: #b9cbc5;
}

.rank-section .text-link,
.light {
    color: #8ee0be;
}

.rank-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 26px;
}

.rank-feature {
    position: relative;
    min-height: 510px;
    overflow: hidden;
    border-radius: var(--radius-large);
}

.rank-feature > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rank-feature::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 23, 19, 0.95) 0%, rgba(7, 23, 19, 0.42) 64%, rgba(7, 23, 19, 0.05) 100%);
    content: "";
}

.rank-feature-copy {
    position: absolute;
    bottom: 44px;
    left: 44px;
    z-index: 1;
    max-width: 360px;
}

.rank-number {
    display: block;
    color: var(--coral);
    font-size: 74px;
    font-weight: 900;
    line-height: 1;
}

.rank-feature h3 {
    margin: 6px 0 10px;
    font-size: 38px;
    line-height: 1.2;
}

.rank-feature p {
    color: #d6e1dd;
}

.rank-list {
    display: grid;
    margin: 0;
    padding: 0;
    gap: 14px;
    list-style: none;
}

.rank-list li {
    display: grid;
    min-height: 116px;
    padding: 14px;
    grid-template-columns: 44px 70px 1fr auto;
    align-items: center;
    gap: 14px;
    border: 1px solid #30433d;
    border-radius: 18px;
    background: #1a2d28;
}

.rank-list-number {
    color: var(--coral);
    font-size: 21px;
    font-weight: 900;
}

.rank-list img {
    width: 70px;
    height: 84px;
    border-radius: 12px;
    object-fit: cover;
}

.rank-list a {
    font-weight: 800;
}

.rank-list small {
    display: block;
    color: #9aada7;
}

.rank-list > li > strong {
    color: var(--amber);
}

.editorial-pair {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.editorial-card {
    display: grid;
    min-height: 340px;
    grid-template-columns: 1fr 0.82fr;
    overflow: hidden;
    border-radius: var(--radius-large);
}

.coral-card {
    background: #ffded7;
}

.violet-card {
    background: #e6e0ff;
}

.editorial-copy {
    display: flex;
    padding: 34px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.editorial-index {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.editorial-card h3 {
    margin: 8px 0;
    font-size: 30px;
    line-height: 1.25;
}

.editorial-card p {
    margin: 0 0 18px;
    color: var(--ink-soft);
}

.editorial-card a {
    font-weight: 900;
}

.editorial-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-section {
    padding: 88px 0;
    background: #eef5f1;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.category-grid .category-card:nth-child(5) {
    grid-column: 2;
}

.category-card {
    display: flex;
    min-height: 210px;
    padding: 26px;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--line);
    border-top: 5px solid var(--category-color);
    border-radius: var(--radius-medium);
    background: var(--white);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.category-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 14px;
    background: color-mix(in srgb, var(--category-color) 15%, white);
    color: var(--category-color);
    font-size: 23px;
    font-weight: 900;
}

.category-card h3 {
    margin: 16px 0 5px;
    font-size: 20px;
}

.category-card p {
    margin: 0 0 12px;
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.65;
}

.category-card small {
    color: var(--category-color);
    font-weight: 800;
}

.schedule-board {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-large);
    background: var(--white);
}

.schedule-day {
    min-height: 190px;
    padding: 22px 16px;
    border-right: 1px solid var(--line);
    text-align: center;
}

.schedule-day:last-child {
    border-right: 0;
}

.schedule-day span {
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 800;
}

.schedule-day strong {
    display: block;
    margin: 10px 0 18px;
    font-size: 34px;
    line-height: 1;
}

.schedule-day p {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}

.schedule-day.is-today {
    background: var(--coral);
    color: var(--white);
}

.schedule-day.is-today span {
    color: var(--white);
}

.campus-section {
    padding: 88px 0;
    background: #eaf2ff;
}

.campus-gallery {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr 1.35fr;
    gap: 16px;
}

.campus-tile {
    position: relative;
    min-height: 370px;
    overflow: hidden;
    border-radius: var(--radius-medium);
}

.campus-tile:nth-child(2),
.campus-tile:nth-child(3) {
    margin-top: 38px;
}

.campus-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.campus-tile::after {
    position: absolute;
    inset: 35% 0 0;
    background: linear-gradient(transparent, rgba(9, 29, 24, 0.9));
    content: "";
}

.campus-tile div {
    position: absolute;
    right: 20px;
    bottom: 18px;
    left: 20px;
    z-index: 1;
    color: var(--white);
}

.campus-tile span {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.campus-tile h3 {
    margin: 4px 0 0;
    font-size: 20px;
    line-height: 1.35;
}

.completed-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.completed-list article {
    display: grid;
    padding: 24px;
    grid-template-columns: 48px 1fr 42px;
    align-items: center;
    gap: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-medium);
    background: var(--white);
}

.complete-check,
.circle-link {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 50%;
    background: var(--mint);
    color: var(--green);
    font-weight: 900;
}

.completed-list small {
    color: var(--green);
    font-weight: 800;
}

.completed-list h3 {
    margin: 3px 0;
    font-size: 20px;
}

.completed-list p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 14px;
}

.circle-link {
    background: var(--ink);
    color: var(--white);
}

.healing-section {
    padding: 88px 0;
    background: #fff1d9;
}

.healing-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 70px;
}

.healing-intro p {
    margin: 0 0 24px;
    color: var(--ink-soft);
}

.healing-stories {
    display: grid;
    gap: 12px;
}

.healing-stories > a {
    display: grid;
    padding: 20px 24px;
    grid-template-columns: 48px 1fr 28px;
    align-items: center;
    gap: 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.78);
}

.healing-stories > a > span {
    color: #ca7a24;
    font-size: 22px;
    font-weight: 900;
}

.healing-stories h3 {
    margin: 0;
}

.healing-stories p {
    margin: 3px 0 0;
    color: var(--ink-soft);
    font-size: 14px;
}

.guide-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.guide-steps article {
    position: relative;
    min-height: 260px;
    padding: 30px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-large);
    background: var(--white);
}

.step-number {
    position: absolute;
    top: -14px;
    right: 12px;
    color: #edf2ef;
    font-size: 92px;
    font-weight: 900;
    line-height: 1;
}

.step-icon {
    position: relative;
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 16px;
    background: var(--mint);
    color: var(--green);
    font-size: 24px;
}

.guide-steps h3 {
    position: relative;
    margin: 24px 0 8px;
    font-size: 22px;
}

.guide-steps p {
    position: relative;
    margin: 0;
    color: var(--ink-soft);
}

.about-section {
    display: grid;
    padding: 64px;
    grid-template-columns: 0.75fr 1.25fr;
    align-items: center;
    gap: 72px;
    border-radius: 34px;
    background: var(--mint);
}

.about-visual {
    position: relative;
    display: grid;
    min-height: 340px;
    place-items: center;
}

.about-ring {
    position: absolute;
    border: 2px solid rgba(13, 139, 104, 0.22);
    border-radius: 50%;
}

.about-ring-one {
    width: 300px;
    height: 300px;
}

.about-ring-two {
    width: 220px;
    height: 220px;
    border-style: dashed;
}

.about-mark {
    position: relative;
    z-index: 1;
    display: flex;
    width: 170px;
    height: 190px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 70px 70px 70px 18px;
    background: var(--ink);
    color: var(--white);
    box-shadow: 18px 18px 0 rgba(255, 115, 92, 0.85);
}

.about-mark strong {
    font-size: 38px;
}

.about-mark small {
    color: #9cd8c0;
}

.about-copy p {
    color: var(--ink-soft);
}

.about-points {
    display: flex;
    margin-top: 22px;
    flex-wrap: wrap;
    gap: 18px;
}

.about-points span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 800;
}

.about-points b {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
    font-size: 12px;
}

.app-section {
    display: flex;
    margin-top: 104px;
    margin-bottom: 0;
    padding: 54px 62px;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    border-radius: 34px 34px 0 0;
    background: var(--ink);
    color: var(--white);
}

.app-copy {
    display: flex;
    max-width: 760px;
    align-items: flex-start;
    gap: 24px;
}

.app-icon {
    display: grid;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    place-items: center;
    border-radius: 18px;
    background: var(--coral);
    font-size: 25px;
}

.app-copy p {
    color: #bdd0c9;
}

.subscribe-feedback {
    display: block;
    margin-top: 10px;
    color: #9fb5ad;
}

.brand-qr {
    display: grid;
    width: 150px;
    height: 150px;
    flex: 0 0 150px;
    place-items: center;
    border: 10px solid var(--white);
    border-radius: 20px;
    background-color: var(--white);
    background-image: repeating-linear-gradient(45deg, var(--ink) 0, var(--ink) 5px, transparent 5px, transparent 12px);
    color: var(--white);
    text-align: center;
}

.brand-qr span {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border: 5px solid var(--white);
    background: var(--green);
    font-size: 25px;
    font-weight: 900;
}

.brand-qr small {
    padding: 2px 5px;
    background: var(--ink);
    font-weight: 800;
}

.site-footer {
    padding: 42px 0;
    background: #091914;
    color: var(--white);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 24px;
}

.footer-brand .brand-mark {
    box-shadow: none;
}

.footer-brand p {
    margin: 2px 0 0;
    color: #91a69f;
    font-size: 13px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: #c6d2ce;
    font-size: 14px;
}

.copyright {
    grid-column: 1 / -1;
    margin: 16px 0 0;
    padding-top: 22px;
    border-top: 1px solid #22352f;
    color: #71877f;
    font-size: 13px;
}

.back-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    display: grid;
    width: 44px;
    height: 44px;
    z-index: 80;
    place-items: center;
    border: 0;
    border-radius: 14px;
    background: var(--green);
    color: var(--white);
    box-shadow: var(--shadow);
    cursor: pointer;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-top.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.page-hero {
    margin-top: 42px;
    padding: 64px 0;
    background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 14%, white), var(--paper));
}

.breadcrumb {
    display: flex;
    margin-bottom: 28px;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    color: #64766f;
    font-size: 14px;
}

.breadcrumb a {
    color: var(--green);
    font-weight: 700;
}

.page-hero-content {
    display: flex;
    max-width: 850px;
    align-items: center;
    gap: 28px;
}

.page-icon {
    display: grid;
    width: 92px;
    height: 92px;
    flex: 0 0 92px;
    place-items: center;
    border-radius: 28px;
    background: var(--accent);
    color: var(--white);
    font-size: 42px;
    box-shadow: 12px 12px 0 rgba(255, 255, 255, 0.8);
}

.page-hero h1 {
    margin: 5px 0 10px;
    font-size: clamp(38px, 6vw, 60px);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.page-hero p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 17px;
}

.category-books {
    grid-template-columns: repeat(5, 1fr);
}

.category-books .book-card-body {
    padding: 15px;
}

.category-note {
    display: flex;
    margin-top: 0;
    margin-bottom: 104px;
    padding: 34px;
    align-items: flex-start;
    gap: 20px;
    border-radius: var(--radius-large);
    background: var(--mint);
}

.category-note-icon {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    place-items: center;
    border-radius: 14px;
    background: var(--green);
    color: var(--white);
    font-size: 22px;
}

.category-note h2 {
    margin: 0 0 6px;
    font-size: 24px;
}

.category-note p {
    margin: 0;
    color: var(--ink-soft);
}

.reader-heading {
    margin-top: 42px;
    padding: 44px;
    border-radius: var(--radius-large);
    background: var(--white);
}

.reader-title-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
}

.reader-category {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 9px;
    background: var(--mint);
    color: var(--green-dark);
    font-size: 13px;
    font-weight: 800;
}

.reader-heading h1 {
    margin: 10px 0;
    font-size: clamp(32px, 5vw, 50px);
    line-height: 1.2;
}

.reader-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    color: #6b7d77;
    font-size: 14px;
}

.bookmark-button {
    display: inline-flex;
    min-height: 46px;
    padding: 10px 16px;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    color: var(--ink);
    cursor: pointer;
    white-space: nowrap;
}

.bookmark-button.is-saved {
    border-color: var(--coral);
    background: #ffe7e2;
    color: #bf402d;
}

.reading-note {
    display: flex;
    margin-top: 28px;
    margin-bottom: 46px;
    padding: 24px 28px;
    align-items: flex-start;
    gap: 16px;
    border-left: 5px solid var(--amber);
    border-radius: 0 18px 18px 0;
    background: #fff6e5;
}

.reading-note > span {
    font-size: 24px;
}

.reading-note h2 {
    margin: 0;
    font-size: 18px;
}

.reading-note p {
    margin: 3px 0 0;
    color: var(--ink-soft);
}

.comic-reader {
    width: min(840px, calc(100% - 40px));
    margin: 0 auto;
    overflow: hidden;
    border-radius: 28px;
    background: #111c19;
    box-shadow: var(--shadow);
}

.comic-reader > header {
    padding: 46px 30px;
    color: var(--white);
    text-align: center;
}

.comic-reader > header span {
    color: #83d4b3;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.16em;
}

.comic-reader > header h2 {
    margin: 8px 0;
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.3;
}

.comic-reader > header p {
    margin: 0;
    color: #95a9a2;
}

.comic-panel {
    margin: 0;
    background: #0a100e;
}

.comic-panel img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.comic-panel figcaption {
    padding: 12px 20px;
    color: #8fa39c;
    font-size: 13px;
    text-align: center;
}

.chapter-end {
    padding: 60px 30px;
    color: var(--white);
    text-align: center;
}

.chapter-end > span {
    color: var(--coral);
    font-size: 28px;
}

.chapter-end h2 {
    margin: 6px 0;
    font-size: 30px;
}

.chapter-end p {
    max-width: 570px;
    margin: 0 auto;
    color: #9eb0aa;
}

.chapter-navigation {
    display: grid;
    margin-top: 42px;
    margin-bottom: 104px;
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
    gap: 14px;
}

.chapter-navigation > a {
    display: flex;
    min-height: 82px;
    padding: 15px 20px;
    flex-direction: column;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
}

.chapter-navigation span {
    color: var(--green);
    font-size: 13px;
    font-weight: 800;
}

.chapter-navigation .next {
    align-items: flex-end;
    text-align: right;
}

.chapter-navigation .back-category {
    min-width: 180px;
    align-items: center;
    background: var(--ink);
    color: var(--white);
    font-weight: 800;
}

.chapter-navigation .back-category span {
    color: var(--white);
}

.chapter-navigation .is-disabled {
    color: #87948f;
}

@media (max-width: 1080px) {
    .header-inner {
        min-height: 74px;
    }

    .brand-copy small {
        display: none;
    }

    .nav-link {
        padding: 7px;
        font-size: 13px;
    }

    .hero {
        padding: 50px 44px;
        gap: 30px;
    }

    .category-books {
        grid-template-columns: repeat(3, 1fr);
    }

    .category-books .book-card:last-child {
        grid-column: 2;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-grid .category-card:nth-child(5) {
        grid-column: auto;
    }

    .category-grid .category-card:last-child {
        grid-column: 1 / -1;
    }

    .campus-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .campus-tile:nth-child(2),
    .campus-tile:nth-child(3) {
        margin-top: 0;
    }
}

@media (max-width: 820px) {
    .container,
    .header-inner,
    .footer-inner {
        width: min(100% - 28px, 1200px);
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        gap: 7px;
    }

    .primary-nav {
        position: absolute;
        top: calc(100% + 1px);
        right: 14px;
        left: 14px;
        display: none;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: var(--white);
        box-shadow: var(--shadow);
    }

    .primary-nav.is-open {
        display: block;
    }

    .primary-nav ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .nav-link {
        justify-content: flex-start;
        padding: 9px 12px;
    }

    .hero {
        min-height: 0;
        margin-top: 28px;
        padding: 42px 34px;
        grid-template-columns: 1fr;
    }

    .hero-art {
        min-height: 370px;
    }

    .quick-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-item:nth-child(2) {
        border-right: 0;
    }

    .quick-item:nth-child(-n + 2) {
        border-bottom: 1px solid var(--line);
    }

    .book-grid,
    .category-books {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-books .book-card:last-child {
        grid-column: 1 / -1;
        width: calc(50% - 12px);
        justify-self: center;
    }

    .rank-layout,
    .editorial-pair,
    .healing-layout,
    .about-section {
        grid-template-columns: 1fr;
    }

    .schedule-board {
        grid-template-columns: repeat(4, 1fr);
    }

    .schedule-day {
        border-bottom: 1px solid var(--line);
    }

    .schedule-day:nth-child(4) {
        border-right: 0;
    }

    .schedule-day:last-child {
        grid-column: 2 / 4;
        border-bottom: 0;
    }

    .completed-list {
        grid-template-columns: 1fr;
    }

    .about-section {
        padding: 44px 34px;
        gap: 35px;
    }

    .app-section {
        padding: 44px 34px;
    }

    .app-copy {
        flex-direction: column;
    }

    .reader-title-row {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    body {
        font-size: 16px;
    }

    .brand-mark {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .hero {
        padding: 34px 22px;
        border-radius: 24px;
    }

    .hero h1 {
        font-size: 50px;
    }

    .hero-copy > p {
        font-size: 16px;
    }

    .hero-stats {
        gap: 15px;
        justify-content: space-between;
    }

    .hero-art {
        min-height: 300px;
    }

    .hero-cover-main {
        right: 8px;
        width: 205px;
    }

    .hero-cover-small {
        width: 145px;
    }

    .hero-note {
        bottom: 4px;
    }

    .quick-strip {
        grid-template-columns: 1fr;
    }

    .quick-item {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .quick-item:nth-child(3) {
        border-bottom: 1px solid var(--line);
    }

    .quick-item:last-child {
        border-bottom: 0;
    }

    .content-section {
        margin-top: 72px;
        margin-bottom: 72px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .book-grid,
    .category-books,
    .category-grid,
    .campus-gallery,
    .guide-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .category-books .book-card:last-child,
    .category-grid .category-card:last-child {
        grid-column: 1 / -1;
        width: calc(50% - 6px);
        justify-self: center;
    }

    .book-card-body {
        padding: 13px;
    }

    .book-card h3 {
        font-size: 16px;
    }

    .book-card p {
        display: none;
    }

    .book-meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .rank-section,
    .category-section,
    .campus-section,
    .healing-section {
        padding: 66px 0;
    }

    .rank-feature {
        min-height: 440px;
    }

    .rank-feature-copy {
        right: 24px;
        bottom: 28px;
        left: 24px;
    }

    .rank-list li {
        grid-template-columns: 34px 58px 1fr;
        gap: 10px;
    }

    .rank-list img {
        width: 58px;
        height: 74px;
    }

    .rank-list > li > strong {
        display: none;
    }

    .editorial-card {
        min-height: 420px;
        grid-template-columns: 1fr;
        grid-template-rows: auto 190px;
    }

    .editorial-copy {
        padding: 26px;
    }

    .category-card {
        min-height: 225px;
        padding: 18px;
    }

    .category-card p {
        font-size: 13px;
    }

    .schedule-board {
        grid-template-columns: repeat(2, 1fr);
    }

    .schedule-day,
    .schedule-day:nth-child(4) {
        border-right: 1px solid var(--line);
    }

    .schedule-day:nth-child(even) {
        border-right: 0;
    }

    .schedule-day:last-child {
        grid-column: 1 / -1;
        border-right: 0;
    }

    .campus-tile {
        min-height: 280px;
    }

    .completed-list article {
        grid-template-columns: 40px 1fr;
    }

    .completed-list .circle-link {
        display: none;
    }

    .healing-stories > a {
        padding: 16px;
        grid-template-columns: 34px 1fr;
    }

    .healing-stories > a > strong {
        display: none;
    }

    .guide-steps article {
        min-height: 240px;
        padding: 22px;
    }

    .about-section {
        padding: 34px 22px;
        border-radius: 24px;
    }

    .about-visual {
        min-height: 290px;
    }

    .app-section {
        align-items: flex-start;
        flex-direction: column;
        padding: 36px 24px;
        border-radius: 24px 24px 0 0;
    }

    .brand-qr {
        align-self: center;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .page-hero {
        margin-top: 28px;
        padding: 44px 0;
    }

    .page-hero-content {
        align-items: flex-start;
        flex-direction: column;
    }

    .reader-heading {
        margin-top: 28px;
        padding: 26px 22px;
    }

    .reading-note {
        padding: 20px;
    }

    .chapter-navigation {
        grid-template-columns: 1fr 1fr;
    }

    .chapter-navigation .back-category {
        min-width: 0;
        grid-column: 1 / -1;
        grid-row: 1;
    }
}
