:root {
    --bg: #08131f;
    --surface: #0e1c2b;
    --surface-soft: #13263a;
    --ink: #f5fbff;
    --muted: #9cb0c3;
    --line: rgba(255, 255, 255, 0.12);
    --cyan: #62e6d2;
    --coral: #ff7d7d;
    --yellow: #ffc75e;
    --purple: #aa8dff;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

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

button,
input {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--line);
    background: rgba(8, 19, 31, 0.92);
    backdrop-filter: blur(18px);
}

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

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

.brand-mark {
    position: relative;
    display: grid;
    width: 48px;
    height: 42px;
    place-items: center;
    border: 2px solid #07151e;
    border-radius: 14px 14px 18px 18px;
    background: var(--cyan);
    box-shadow: 4px 4px 0 var(--coral);
    color: #07151e;
}

.frog-eye {
    position: absolute;
    top: -8px;
    width: 13px;
    height: 13px;
    border: 4px solid var(--cyan);
    border-radius: 50%;
    background: #07151e;
}

.frog-eye:first-child {
    left: 7px;
}

.frog-eye:nth-child(2) {
    right: 7px;
}

.book-page {
    font-family: Georgia, serif;
    font-size: 21px;
    font-weight: 900;
}

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

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

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

.main-nav {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

.main-nav a {
    display: flex;
    min-width: 76px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 12px;
    color: var(--muted);
    font-size: 14px;
    transition: 180ms ease;
}

.main-nav a:hover,
.main-nav a.active {
    background: var(--surface-soft);
    color: var(--cyan);
}

.ui-icon {
    display: inline-grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 14px;
    line-height: 1;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--ink);
}

main {
    display: block;
}

.hero {
    display: grid;
    min-height: 630px;
    margin-top: 54px;
    padding: 72px;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 64px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 36px;
    background:
        radial-gradient(circle at 85% 20%, rgba(98, 230, 210, 0.19), transparent 33%),
        linear-gradient(135deg, #11263a, #0b1826 62%);
    box-shadow: var(--shadow);
}

.hero-kicker,
.section-number,
.eyebrow {
    color: var(--cyan);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 18px 0 14px;
    font-size: clamp(52px, 7vw, 86px);
    line-height: 1;
    letter-spacing: -0.06em;
}

.hero h1 a {
    background: linear-gradient(90deg, #ffffff 15%, var(--cyan) 90%);
    background-clip: text;
    color: transparent;
}

.hero-copy > p {
    max-width: 610px;
    margin: 0;
    color: #c2d0dd;
    font-size: 18px;
}

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

.primary-button,
.secondary-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 22px;
    border: 0;
    border-radius: 13px;
    cursor: pointer;
    font-weight: 800;
}

.primary-button {
    background: var(--cyan);
    color: #07151e;
    box-shadow: 5px 5px 0 rgba(255, 125, 125, 0.9);
}

.secondary-button {
    border: 1px solid var(--line);
    background: var(--surface-soft);
    color: var(--ink);
}

.hero-stats {
    display: flex;
    margin: 44px 0 0;
    gap: 40px;
}

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

.hero-stats dt {
    font-size: 24px;
    font-weight: 900;
}

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

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

.hero-poster {
    position: absolute;
    overflow: hidden;
    border: 7px solid #eefcff;
    background: var(--surface-soft);
    box-shadow: 18px 24px 0 rgba(0, 0, 0, 0.22);
}

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

.poster-main {
    top: 0;
    right: 30px;
    width: 300px;
    height: 400px;
    transform: rotate(3deg);
}

.poster-main span {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--coral);
    font-size: 13px;
    font-weight: 800;
}

.poster-side {
    bottom: 0;
    left: 0;
    width: 205px;
    height: 270px;
    transform: rotate(-7deg);
}

.speech-bubble {
    position: absolute;
    right: -12px;
    bottom: 28px;
    padding: 18px 22px;
    border: 3px solid #07151e;
    border-radius: 50%;
    background: var(--yellow);
    box-shadow: 6px 6px 0 var(--coral);
    color: #07151e;
    font-weight: 900;
    transform: rotate(-4deg);
}

.content-section {
    margin-top: 110px;
}

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

.section-heading h2,
.spotlight h2,
.guide-title h2,
.community-copy h2,
.about-copy h2,
.app-copy h2,
.channel-note h2,
.cross-links h2 {
    margin: 8px 0 6px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.section-heading p,
.spotlight p,
.community-copy p,
.channel-note p {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
}

.more-link,
.text-link {
    color: var(--cyan);
    font-weight: 800;
}

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

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

.book-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
    transition: 180ms ease;
}

.book-card:hover {
    transform: translateY(-6px);
    border-color: rgba(98, 230, 210, 0.48);
}

.cover {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5.5;
    overflow: hidden;
    background: var(--surface-soft);
}

.cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 300ms ease;
}

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

.status {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(8, 19, 31, 0.86);
    font-size: 12px;
}

.book-info {
    padding: 18px;
}

.book-info h3 {
    margin: 7px 0 6px;
    font-size: 19px;
    line-height: 1.35;
}

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

.meta-row {
    display: flex;
    margin-top: 14px;
    justify-content: space-between;
    color: #cbd7e1;
    font-size: 12px;
}

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

.category-card {
    min-height: 220px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(145deg, var(--surface), color-mix(in srgb, var(--accent) 12%, var(--surface)));
}

.category-card .ui-icon {
    width: 46px;
    height: 46px;
    background: var(--accent);
    color: #07151e;
    font-size: 22px;
}

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

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

.spotlight {
    display: grid;
    padding: 58px;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    gap: 60px;
    border-radius: 32px;
    background: #f4f6e9;
    color: #101923;
}

.spotlight-image {
    max-height: 520px;
    overflow: hidden;
    border: 8px solid #ffffff;
    box-shadow: 16px 18px 0 #ff7d7d;
    transform: rotate(-2deg);
}

.spotlight-image img {
    width: 100%;
    height: 520px;
    object-fit: cover;
}

.spotlight .section-number {
    color: #087d70;
}

.spotlight h2 {
    font-size: clamp(40px, 6vw, 70px);
}

.spotlight .lead {
    color: #40505c;
    font-size: 18px;
}

.pill {
    display: inline-block;
    margin-left: 12px;
    padding: 3px 10px;
    border: 1px solid #172532;
    border-radius: 999px;
    font-size: 12px;
}

.feature-list {
    margin: 24px 0 30px;
    padding: 0;
    list-style: none;
}

.feature-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(16, 25, 35, 0.14);
}

.feature-list li::before {
    margin-right: 10px;
    color: #087d70;
    content: "✓";
    font-weight: 900;
}

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

.ranking-list li {
    display: grid;
    min-height: 84px;
    padding: 14px 20px;
    grid-template-columns: 58px 1fr auto;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
}

.rank-no {
    color: var(--muted);
    font-family: Georgia, serif;
    font-size: 24px;
}

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

.ranking-list strong {
    font-size: 18px;
}

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

.heat {
    color: var(--coral);
    font-weight: 900;
}

.rank-1 {
    border-color: rgba(255, 199, 94, 0.55) !important;
}

.update-board {
    display: grid;
    padding: 48px;
    grid-template-columns: 0.78fr 1.22fr;
    gap: 50px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: linear-gradient(145deg, #112338, #0b1725);
}

.update-intro h2 {
    margin: 10px 0;
    font-size: 44px;
    line-height: 1.1;
}

.update-intro p {
    color: var(--muted);
}

.filter-button {
    margin: 12px 8px 0 0;
    padding: 8px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
}

.filter-button.is-active {
    background: var(--cyan);
    color: #07151e;
}

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

.update-timeline li {
    display: grid;
    padding: 15px 0;
    grid-template-columns: 70px 1fr;
    gap: 18px;
    border-bottom: 1px solid var(--line);
}

.update-timeline time {
    color: var(--cyan);
    font-weight: 900;
}

.update-timeline a {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

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

.hanman-strip {
    display: grid;
    padding: 54px;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 50px;
    overflow: hidden;
    border-radius: 30px;
    background: linear-gradient(120deg, #563f91, #17233b 62%);
}

.strip-heading h2 {
    margin: 10px 0;
    font-size: 43px;
    line-height: 1.15;
}

.strip-heading p {
    margin-bottom: 26px;
    color: #d5cee9;
}

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

.strip-covers a {
    overflow: hidden;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
}

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

.strip-covers span {
    display: block;
    padding: 13px;
    font-size: 14px;
    font-weight: 800;
}

.mood-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr 1fr;
    gap: 18px;
}

.mood-card {
    display: flex;
    min-height: 230px;
    padding: 30px;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 26px;
    color: #0b1520;
}

.mood-card span {
    font-size: 14px;
}

.mood-card strong {
    margin: 6px 0 20px;
    font-size: 26px;
    line-height: 1.25;
}

.mood-calm {
    background: #ffb6cd;
}

.mood-bold {
    background: #61e3d0;
}

.mood-easy {
    background: #ffc75e;
}

.guide-section {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 60px;
}

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

.guide-steps article {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
}

.guide-steps article > span {
    color: var(--cyan);
    font-family: Georgia, serif;
    font-size: 28px;
}

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

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

.community-panel {
    display: grid;
    padding: 55px;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    gap: 40px;
    border: 1px solid var(--line);
    border-radius: 50% 24px 24px 24px;
    background: #101f30;
}

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

.metric-orbit div {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface-soft);
}

.metric-orbit strong {
    display: block;
    color: var(--yellow);
    font-size: 30px;
}

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

.about-section {
    display: grid;
    grid-template-columns: 160px 1fr 200px;
    gap: 42px;
    padding-top: 60px;
    border-top: 1px solid var(--line);
}

.about-label {
    display: flex;
    flex-direction: column;
    color: var(--cyan);
}

.about-label span {
    font-family: Georgia, serif;
    font-size: 72px;
    line-height: 1;
}

.about-label strong {
    font-size: 12px;
    letter-spacing: 0.12em;
}

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

.about-values {
    display: grid;
    gap: 10px;
}

.about-values span {
    display: grid;
    min-height: 66px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--cyan);
    font-weight: 800;
}

.app-section {
    display: grid;
    margin-bottom: 100px;
    padding: 54px;
    grid-template-columns: 1fr 290px;
    align-items: center;
    gap: 70px;
    border-radius: 32px;
    background: linear-gradient(135deg, #efffea, #d9f7f2);
    color: #0b1823;
}

.app-copy .section-number {
    color: #087d70;
}

.app-copy > p {
    color: #425461;
}

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

.subscribe-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 800;
}

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

.subscribe-form input {
    min-width: 0;
    min-height: 50px;
    flex: 1;
    padding: 0 15px;
    border: 1px solid #99bbb5;
    border-radius: 12px;
    background: #ffffff;
}

.subscribe-form small {
    display: block;
    margin-top: 9px;
    color: #58706f;
}

.qr-card {
    padding: 28px;
    border: 3px solid #0b1823;
    border-radius: 24px;
    background: #ffffff;
    text-align: center;
    box-shadow: 12px 12px 0 var(--coral);
}

.qr-pattern {
    display: grid;
    width: 150px;
    height: 150px;
    margin: 0 auto 16px;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 10px;
    background: #0b1823;
}

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

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

.qr-card strong {
    font-size: 23px;
}

.qr-card p {
    margin: 0;
    color: #55706e;
    font-size: 13px;
}

.site-footer {
    padding: 52px 0;
    border-top: 1px solid var(--line);
    background: #06101a;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 20px;
}

.footer-inner p {
    margin: 4px 0 0;
    color: var(--muted);
}

.footer-inner nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: #c8d5df;
    font-size: 14px;
}

.copyright {
    grid-column: 1 / -1;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-size: 12px;
}

.page-hero {
    margin-top: 54px;
    padding: 46px 54px;
    border: 1px solid color-mix(in srgb, var(--page-accent) 45%, transparent);
    border-radius: 30px;
    background: radial-gradient(circle at 88% 10%, color-mix(in srgb, var(--page-accent) 28%, transparent), transparent 35%), var(--surface);
}

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

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

.page-hero-content {
    display: flex;
    margin-top: 42px;
    align-items: center;
    gap: 24px;
}

.page-hero-content > .ui-icon {
    width: 88px;
    height: 88px;
    border-radius: 26px;
    background: var(--page-accent);
    color: #07151e;
    font-size: 40px;
}

.page-hero h1 {
    margin: 6px 0;
    font-size: clamp(42px, 7vw, 72px);
    line-height: 1;
}

.page-hero-content p {
    max-width: 720px;
    margin: 0;
    color: #c1cfda;
}

.page-hero-meta {
    display: flex;
    margin-top: 38px;
    flex-wrap: wrap;
    gap: 10px;
}

.page-hero-meta span {
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-size: 13px;
}

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

.catalog-grid .featured-card {
    grid-column: span 2;
    grid-row: span 2;
}

.catalog-grid .featured-card .cover {
    aspect-ratio: 4 / 4.35;
}

.catalog-grid .featured-card .book-info h3 {
    font-size: 28px;
}

.channel-note {
    display: grid;
    padding: 42px;
    grid-template-columns: 1fr 160px;
    align-items: center;
    gap: 40px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: var(--surface);
}

.note-badge {
    display: grid;
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface-soft);
}

.note-badge strong {
    color: var(--cyan);
    font-size: 40px;
}

.note-badge span {
    margin-top: -40px;
    color: var(--muted);
    font-size: 12px;
}

.cross-links {
    margin-bottom: 100px;
}

.cross-links > div {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.cross-links a {
    display: flex;
    min-height: 82px;
    padding: 18px;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
}

.cross-links .ui-icon {
    background: var(--accent);
    color: #07151e;
}

.reader-main {
    background: linear-gradient(180deg, transparent, #050b11 38%);
}

.reader-article {
    padding-top: 52px;
    padding-bottom: 100px;
}

.reader-header {
    max-width: 880px;
    margin: 46px auto 34px;
    text-align: center;
}

.reader-category {
    display: inline-block;
    padding: 6px 13px;
    border-radius: 999px;
    background: var(--surface-soft);
    color: var(--cyan);
    font-size: 14px;
}

.reader-header h1 {
    margin: 18px 0 12px;
    font-size: clamp(34px, 6vw, 58px);
    line-height: 1.2;
}

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

.reader-summary {
    margin: 26px auto 0;
    color: #c0ccd7;
    text-align: left;
}

.shelf-button {
    margin-top: 24px;
    padding: 10px 18px;
    border: 1px solid var(--cyan);
    border-radius: 12px;
    background: transparent;
    color: var(--cyan);
    cursor: pointer;
}

.shelf-button.is-saved {
    background: var(--cyan);
    color: #07151e;
}

.reading-notice {
    max-width: 900px;
    margin: 0 auto 36px;
    padding: 20px 24px;
    border-left: 4px solid var(--yellow);
    border-radius: 0 16px 16px 0;
    background: var(--surface);
}

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

.comic-reader {
    max-width: 900px;
    margin: 0 auto;
}

.comic-reader > h2 {
    margin: 0 0 24px;
    text-align: center;
}

.comic-panel {
    margin: 0 0 36px;
    overflow: hidden;
    border-radius: 16px;
    background: #111c28;
    box-shadow: var(--shadow);
}

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

.comic-panel figcaption {
    padding: 16px 20px;
    color: var(--muted);
    font-size: 14px;
    text-align: center;
}

.chapter-end {
    max-width: 760px;
    margin: 74px auto 34px;
    padding: 38px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface);
    text-align: center;
}

.chapter-end > span {
    color: var(--yellow);
    font-size: 28px;
}

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

.chapter-end p {
    margin: 0;
    color: var(--muted);
}

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

.chapter-nav a,
.chapter-nav .disabled {
    display: grid;
    min-height: 52px;
    padding: 8px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--surface);
    text-align: center;
}

.chapter-nav a:hover,
.chapter-nav .back-channel {
    border-color: var(--cyan);
    color: var(--cyan);
}

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

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

    .main-nav {
        position: absolute;
        top: 78px;
        right: 20px;
        left: 20px;
        display: none;
        padding: 14px;
        grid-template-columns: repeat(3, 1fr);
        border: 1px solid var(--line);
        border-radius: 18px;
        background: #0b1826;
        box-shadow: var(--shadow);
    }

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

    .main-nav a {
        justify-content: flex-start;
        padding: 0 12px;
    }

    .hero {
        padding: 50px;
        gap: 34px;
    }

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

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

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

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

    .about-values {
        grid-column: 1 / -1;
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 800px) {
    .section-shell,
    .header-inner,
    .footer-inner {
        width: min(100% - 28px, 1200px);
    }

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

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

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

    .poster-main {
        right: 8%;
    }

    .poster-side {
        left: 4%;
    }

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

    .five-columns .book-card:last-child {
        grid-column: 1 / -1;
    }

    .five-columns .book-card:last-child .cover {
        aspect-ratio: 16 / 9;
    }

    .spotlight,
    .update-board,
    .hanman-strip,
    .guide-section,
    .community-panel,
    .app-section {
        grid-template-columns: 1fr;
    }

    .spotlight,
    .update-board,
    .hanman-strip,
    .community-panel,
    .app-section {
        padding: 34px 26px;
    }

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

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

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

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

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

    .catalog-grid .featured-card {
        grid-column: 1 / -1;
        grid-row: auto;
    }

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

    .note-badge {
        width: 150px;
    }

    .cross-links > div {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 540px) {
    .brand-copy small {
        display: none;
    }

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

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

    .hero-stats {
        gap: 18px;
    }

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

    .poster-main {
        width: 220px;
        height: 295px;
    }

    .poster-side {
        width: 140px;
        height: 190px;
    }

    .speech-bubble {
        right: 0;
        padding: 12px;
        font-size: 13px;
    }

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

    .five-columns,
    .category-grid,
    .catalog-grid,
    .guide-steps,
    .metric-orbit,
    .strip-covers,
    .cross-links > div {
        grid-template-columns: 1fr;
    }

    .five-columns .book-card:last-child {
        grid-column: auto;
    }

    .five-columns .book-card:last-child .cover {
        aspect-ratio: 4 / 5.5;
    }

    .category-card p {
        min-height: auto;
    }

    .spotlight-image img {
        height: 390px;
    }

    .update-timeline a {
        flex-direction: column;
        gap: 0;
    }

    .strip-covers a {
        display: grid;
        grid-template-columns: 110px 1fr;
        align-items: center;
    }

    .strip-covers img {
        aspect-ratio: 1;
    }

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

    .page-hero-content {
        align-items: flex-start;
        flex-direction: column;
    }

    .page-hero-content > .ui-icon {
        width: 64px;
        height: 64px;
    }

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

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

    .footer-inner nav {
        flex-direction: column;
    }
}
