:root {
    --ink: #111426;
    --ink-soft: #252943;
    --paper: #f7f8fc;
    --white: #ffffff;
    --mint: #62e6c5;
    --pink: #ff6f91;
    --violet: #9e86ff;
    --line: #dfe3ec;
    --muted: #697087;
    --shadow: 0 18px 55px rgba(17, 20, 38, 0.12);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --shell: min(1200px, calc(100% - 40px));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    content: "";
    pointer-events: none;
    background-image: linear-gradient(rgba(17, 20, 38, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(17, 20, 38, 0.025) 1px, transparent 1px);
    background-size: 32px 32px;
}

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

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

button,
input {
    font: inherit;
}

button {
    color: inherit;
}

.section-shell,
.header-shell,
.footer-grid,
.footer-bottom {
    width: var(--shell);
    margin-right: auto;
    margin-left: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(223, 227, 236, 0.9);
    background: rgba(247, 248, 252, 0.92);
    backdrop-filter: blur(16px);
}

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

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

.brand-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 2px solid var(--ink);
    border-radius: 14px 14px 14px 4px;
    color: var(--ink);
    background: var(--mint);
    font-weight: 900;
    box-shadow: 4px 4px 0 var(--ink);
}

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

.brand-copy strong {
    font-size: 1.05rem;
    letter-spacing: 0.04em;
}

.brand-copy small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.primary-nav {
    display: flex;
    min-width: 0;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.primary-nav a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 9px 9px;
    border-radius: 10px;
    color: #464c63;
    font-size: 0.88rem;
    font-weight: 700;
    white-space: nowrap;
    transition: 0.2s ease;
}

.primary-nav a:hover,
.primary-nav a.active {
    color: var(--ink);
    background: var(--white);
    box-shadow: 0 6px 20px rgba(17, 20, 38, 0.08);
}

.primary-nav a.active {
    outline: 2px solid var(--mint);
}

.nav-icon {
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 7px;
    background: rgba(98, 230, 197, 0.2);
    font-size: 0.78rem;
}

.shelf-button,
.nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    cursor: pointer;
}

.nav-toggle {
    display: none;
}

.ui-icon {
    width: 20px;
    height: 20px;
}

.shelf-count {
    display: grid;
    min-width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 99px;
    color: var(--white);
    background: var(--ink);
    font-size: 0.75rem;
}

.hero {
    display: grid;
    min-height: 650px;
    margin-top: 52px;
    padding: 58px;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    align-items: center;
    gap: 52px;
    border: 1px solid var(--line);
    border-radius: 38px;
    background: linear-gradient(135deg, #ffffff 0%, #f5f3ff 58%, #dcfff5 100%);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.eyebrow {
    display: inline-block;
    color: #676e86;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 18px 0 20px;
    font-size: clamp(3.4rem, 7vw, 6.8rem);
    line-height: 0.95;
    letter-spacing: -0.08em;
}

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

.hero h1 a::after {
    position: absolute;
    right: 0;
    bottom: -12px;
    left: 8%;
    height: 10px;
    border-radius: 99px;
    content: "";
    background: var(--mint);
    transform: rotate(-2deg);
}

.hero-lead {
    max-width: 620px;
    margin: 28px 0 0;
    color: #4d536a;
    font-size: 1.08rem;
}

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

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border: 1px solid transparent;
    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 {
    color: var(--white);
    background: var(--ink);
    box-shadow: 5px 5px 0 var(--mint);
}

.button-ghost {
    border-color: var(--ink);
    background: rgba(255, 255, 255, 0.7);
}

.button-dark {
    color: var(--white);
    background: var(--ink);
}

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

.hero-notes {
    display: grid;
    margin-top: 42px;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.hero-notes span {
    display: grid;
    color: var(--muted);
    font-size: 0.8rem;
}

.hero-notes b {
    color: var(--ink);
    font-size: 1.35rem;
}

.hero-stage {
    position: relative;
    min-height: 520px;
}

.hero-card-main {
    position: absolute;
    inset: 0 30px 0 34px;
    border: 3px solid var(--ink);
    border-radius: 28px 28px 28px 8px;
    background: var(--ink);
    box-shadow: 14px 14px 0 var(--pink);
    overflow: hidden;
    transform: rotate(2.5deg);
}

.hero-card-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.hero-card-main::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(transparent 50%, rgba(17, 20, 38, 0.92));
}

.hero-card-caption {
    position: absolute;
    right: 30px;
    bottom: 28px;
    left: 30px;
    z-index: 1;
    display: grid;
    color: var(--white);
}

.hero-card-caption span {
    color: var(--mint);
    font-size: 0.8rem;
    font-weight: 800;
}

.hero-card-caption strong {
    font-size: 1.8rem;
}

.hero-sticker {
    position: absolute;
    z-index: 2;
    display: grid;
    place-items: center;
    border: 2px solid var(--ink);
    font-weight: 900;
}

.sticker-one {
    top: 28px;
    right: 0;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: var(--mint);
    transform: rotate(10deg);
}

.sticker-two {
    bottom: 36px;
    left: 0;
    padding: 7px 15px;
    background: #ffd75e;
    transform: rotate(-8deg);
}

.quick-strip {
    display: flex;
    margin-top: 28px;
    padding: 18px 22px;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    overflow-x: auto;
}

.quick-label,
.quick-strip a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
}

.quick-label {
    padding-right: 16px;
    border-right: 1px solid var(--line);
    font-weight: 900;
}

.quick-strip a {
    padding: 7px 13px;
    border-radius: 99px;
    color: #4f566f;
    background: #f1f3f8;
    font-size: 0.9rem;
}

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

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

.section-heading h2,
.feature-copy h2,
.completed-intro h2,
.magazine-lead h2,
.about-copy h2,
.app-copy h2 {
    margin: 8px 0 0;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.12;
    letter-spacing: -0.05em;
}

.section-heading p,
.feature-copy > p,
.completed-intro > p,
.magazine-lead > p,
.about-copy > p,
.app-copy > p {
    max-width: 680px;
    margin: 12px 0 0;
    color: var(--muted);
}

.section-more,
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    white-space: nowrap;
}

.section-more span,
.text-link span {
    transition: transform 0.2s ease;
}

.section-more:hover span,
.text-link:hover span {
    transform: translateX(4px);
}

.centered-heading {
    justify-content: center;
    text-align: center;
}

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

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

.comic-card {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
    overflow: hidden;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.comic-cover {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    background: #e7eaf1;
    overflow: hidden;
}

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

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

.cover-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 9px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 99px;
    color: var(--white);
    background: rgba(17, 20, 38, 0.78);
    font-size: 0.72rem;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

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

.comic-meta {
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-size: 0.75rem;
}

.comic-card h3 {
    margin: 8px 0 6px;
    font-size: 1.08rem;
    line-height: 1.35;
}

.comic-card p {
    display: -webkit-box;
    min-height: 4.8em;
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.card-actions {
    display: flex;
    margin-top: 14px;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.card-actions .text-link {
    font-size: 0.85rem;
}

.save-button {
    padding: 5px 9px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f5f6fa;
    font-size: 0.78rem;
    cursor: pointer;
}

.save-button.saved {
    border-color: var(--mint);
    background: rgba(98, 230, 197, 0.22);
}

.feature-split {
    display: grid;
    padding: 32px;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 52px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
}

.feature-image {
    position: relative;
    aspect-ratio: 14 / 9;
    border-radius: 22px 22px 22px 5px;
    background: var(--ink);
    overflow: hidden;
}

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

.feature-number {
    position: absolute;
    right: 16px;
    bottom: -18px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 7rem;
    font-weight: 900;
    line-height: 1;
}

.feature-facts {
    display: grid;
    margin: 28px 0;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.feature-facts div {
    padding: 12px;
    border-left: 3px solid var(--mint);
    background: #f4f6fa;
}

.feature-facts dt {
    color: var(--muted);
    font-size: 0.72rem;
}

.feature-facts dd {
    margin: 2px 0 0;
    font-weight: 800;
}

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

.category-card {
    position: relative;
    display: flex;
    min-height: 285px;
    padding: 24px;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-card::before {
    position: absolute;
    top: -55px;
    right: -55px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    content: "";
    background: var(--category-accent);
    opacity: 0.22;
}

.category-card:hover {
    border-color: var(--category-accent);
    transform: translateY(-4px);
}

.category-index {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
}

.category-icon {
    display: grid;
    width: 52px;
    height: 52px;
    margin-top: 24px;
    place-items: center;
    border: 2px solid var(--ink);
    border-radius: 16px 16px 16px 5px;
    background: var(--category-accent);
    font-size: 1.25rem;
    font-weight: 900;
}

.category-card h3 {
    margin: 18px 0 6px;
    font-size: 1.25rem;
}

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

.category-go {
    display: flex;
    margin-top: auto;
    padding-top: 18px;
    justify-content: space-between;
    font-weight: 800;
}

.tone-section {
    padding: 86px 0;
    color: var(--white);
    background: var(--ink);
}

.light-heading .eyebrow,
.light-heading p {
    color: #aeb5cc;
}

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

.poster-card a {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    border: 1px solid #3d425c;
    border-radius: 22px 22px 22px 6px;
    overflow: hidden;
}

.poster-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.9);
}

.poster-overlay {
    position: absolute;
    inset: auto 0 0;
    display: grid;
    padding: 60px 20px 20px;
    background: linear-gradient(transparent, rgba(17, 20, 38, 0.95));
}

.poster-overlay small {
    color: var(--mint);
}

.poster-overlay strong {
    font-size: 1.2rem;
}

.ranking-board {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 70px;
}

.ranking-title {
    position: sticky;
    top: 112px;
    align-self: start;
}

.ranking-title h2 {
    margin: 10px 0;
    font-size: clamp(2.3rem, 5vw, 4.6rem);
    line-height: 1;
    letter-spacing: -0.06em;
}

.ranking-title p {
    color: var(--muted);
}

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

.ranking-list li {
    display: grid;
    padding: 16px 0;
    grid-template-columns: 48px 74px 1fr auto;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid var(--line);
}

.rank-number {
    font-size: 1.3rem;
    font-weight: 900;
}

.ranking-list img {
    width: 74px;
    height: 74px;
    border-radius: 18px;
    object-fit: cover;
}

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

.ranking-list p {
    color: var(--muted);
    font-size: 0.84rem;
}

.rank-score {
    padding: 5px 10px;
    border-radius: 99px;
    background: #fff3ba;
    font-weight: 900;
}

.timeline-track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.timeline-track::before {
    position: absolute;
    top: 54px;
    right: 10%;
    left: 10%;
    height: 2px;
    content: "";
    background: var(--line);
}

.timeline-track article {
    position: relative;
    display: grid;
    padding: 18px;
    text-align: center;
}

.timeline-track time {
    font-size: 1.25rem;
    font-weight: 900;
}

.timeline-dot {
    z-index: 1;
    width: 14px;
    height: 14px;
    margin: 15px auto 18px;
    border: 3px solid var(--white);
    border-radius: 50%;
    background: var(--pink);
    box-shadow: 0 0 0 2px var(--pink);
}

.timeline-track h3,
.timeline-track p {
    margin: 0;
}

.timeline-track p {
    color: var(--muted);
    font-size: 0.85rem;
}

.completed-layout {
    display: grid;
    padding: 44px;
    grid-template-columns: 0.75fr 1.25fr;
    align-items: center;
    gap: 52px;
    border-radius: 30px;
    background: #e3ff8f;
}

.completed-mosaic {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 210px);
    gap: 12px;
}

.mosaic-item {
    position: relative;
    border: 2px solid var(--ink);
    border-radius: 18px;
    overflow: hidden;
}

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

.mosaic-item span {
    position: absolute;
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 6px 9px;
    border-radius: 8px;
    color: var(--white);
    background: rgba(17, 20, 38, 0.82);
    font-size: 0.85rem;
    font-weight: 800;
}

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

.guide-grid article {
    position: relative;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--white);
}

.guide-grid article > span {
    display: inline-block;
    color: var(--pink);
    font-size: 2.2rem;
    font-weight: 900;
}

.guide-grid h3 {
    margin: 14px 0 6px;
}

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

.magazine-section {
    display: grid;
    padding: 46px;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    border: 2px solid var(--ink);
    border-radius: 6px;
    background: var(--white);
    box-shadow: 10px 10px 0 var(--violet);
}

.magazine-label {
    display: inline-block;
    padding: 5px 10px;
    color: var(--white);
    background: var(--ink);
    font-size: 0.78rem;
    font-weight: 900;
}

.magazine-links {
    display: grid;
}

.magazine-links a {
    display: flex;
    padding: 14px 0;
    align-items: center;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    font-weight: 800;
}

.magazine-links span {
    color: var(--violet);
    font-size: 1.25rem;
    font-weight: 900;
}

.about-section {
    display: grid;
    grid-template-columns: 0.65fr 1.35fr;
    align-items: center;
    gap: 70px;
}

.about-mark {
    display: grid;
    aspect-ratio: 1;
    padding: 15%;
    grid-template-columns: 1fr 1fr;
    place-items: center;
    gap: 8px;
    border: 3px solid var(--ink);
    border-radius: 50%;
    background: var(--mint);
    box-shadow: 14px 14px 0 var(--ink);
}

.about-mark span {
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 900;
}

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

.about-values span {
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 99px;
    background: var(--white);
    font-size: 0.86rem;
    font-weight: 800;
}

.app-section {
    display: grid;
    min-height: 420px;
    margin-bottom: 96px;
    padding: 54px;
    grid-template-columns: 1fr 0.85fr;
    align-items: center;
    gap: 60px;
    border-radius: 32px;
    color: var(--white);
    background: linear-gradient(135deg, #332e70, #111426 60%);
    overflow: hidden;
}

.app-copy .eyebrow,
.app-copy > p,
.app-copy small {
    color: #c7cce0;
}

.app-copy small {
    display: block;
    margin-top: 12px;
}

.app-copy .button {
    margin-top: 24px;
}

.app-visual {
    position: relative;
    display: flex;
    min-height: 330px;
    align-items: center;
    justify-content: center;
}

.phone-frame {
    width: 190px;
    height: 360px;
    padding: 10px;
    border: 3px solid var(--white);
    border-radius: 34px;
    background: #050713;
    transform: rotate(5deg);
}

.phone-top {
    width: 70px;
    height: 12px;
    margin: 0 auto 10px;
    border-radius: 99px;
    background: #262a40;
}

.phone-screen {
    display: flex;
    height: calc(100% - 22px);
    padding: 20px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    color: var(--ink);
    background: linear-gradient(155deg, #effff9, #d9d1ff);
    text-align: center;
}

.large-mark {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
}

.phone-screen p {
    margin: 5px 0 0;
    font-size: 0.75rem;
}

.qr-card {
    position: absolute;
    right: 4%;
    bottom: 5%;
    display: grid;
    width: 120px;
    height: 120px;
    place-items: center;
    border: 6px solid var(--white);
    color: var(--ink);
    background: repeating-linear-gradient(45deg, #111426 0 6px, #ffffff 6px 12px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.qr-card span {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    background: var(--mint);
    font-weight: 900;
}

.qr-card small {
    position: absolute;
    bottom: -34px;
    color: var(--white);
    white-space: nowrap;
}

.site-footer {
    padding: 62px 0 24px;
    color: #d8dceb;
    background: #090b16;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 44px;
}

.footer-brand .brand-copy strong,
.footer-brand .brand-copy small {
    color: var(--white);
}

.footer-grid h2 {
    margin: 0 0 14px;
    color: var(--white);
    font-size: 1rem;
}

.footer-grid p {
    color: #9da5bd;
    font-size: 0.88rem;
}

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

.footer-links a {
    color: #9da5bd;
    font-size: 0.88rem;
}

.footer-links a:hover {
    color: var(--mint);
}

.footer-bottom {
    display: flex;
    margin-top: 42px;
    padding-top: 22px;
    justify-content: space-between;
    border-top: 1px solid #25293a;
    color: #80889f;
    font-size: 0.82rem;
}

.shelf-drawer {
    position: fixed;
    inset: 0;
    z-index: 100;
    visibility: hidden;
}

.shelf-drawer.open {
    visibility: visible;
}

.shelf-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 10, 20, 0.6);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.shelf-drawer.open .shelf-backdrop {
    opacity: 1;
}

.shelf-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(420px, 90vw);
    padding: 28px;
    background: var(--white);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.18);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.25s ease;
}

.shelf-drawer.open .shelf-panel {
    transform: translateX(0);
}

.shelf-panel-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
}

.shelf-panel-head h2 {
    margin: 4px 0 0;
}

.shelf-panel-head button {
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white);
    cursor: pointer;
}

.shelf-items {
    display: grid;
    gap: 12px;
    margin-top: 26px;
}

.shelf-item {
    display: flex;
    padding: 14px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.shelf-item a {
    font-weight: 800;
}

.shelf-item button {
    border: 0;
    color: #a2465b;
    background: none;
    cursor: pointer;
}

.shelf-empty {
    padding: 24px;
    border: 1px dashed var(--line);
    border-radius: 14px;
    color: var(--muted);
}

.page-hero {
    position: relative;
    margin-top: 52px;
    padding: 44px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: linear-gradient(135deg, var(--white), color-mix(in srgb, var(--page-accent) 18%, white));
    overflow: hidden;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    color: var(--muted);
    font-size: 0.84rem;
}

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

.page-hero-grid {
    display: grid;
    margin-top: 36px;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 50px;
}

.page-symbol {
    position: absolute;
    top: 36px;
    right: 5%;
    color: var(--page-accent);
    font-size: 10rem;
    font-weight: 900;
    line-height: 1;
    opacity: 0.25;
    transform: rotate(8deg);
}

.page-hero h1 {
    margin: 10px 0 14px;
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 1;
    letter-spacing: -0.07em;
}

.page-hero p {
    max-width: 760px;
    margin: 0;
    color: #545b72;
}

.page-stat {
    position: relative;
    z-index: 1;
    display: grid;
    min-width: 150px;
    padding: 20px;
    border: 2px solid var(--ink);
    border-radius: 16px 16px 16px 5px;
    background: var(--page-accent);
    box-shadow: 6px 6px 0 var(--ink);
}

.page-stat strong {
    font-size: 2.5rem;
    line-height: 1;
}

.page-stat small {
    margin-top: 6px;
}

.view-switch {
    display: flex;
    gap: 8px;
}

.view-switch span {
    padding: 7px 12px;
    border: 1px solid var(--line);
    border-radius: 99px;
    background: var(--white);
    font-size: 0.82rem;
}

.channel-note {
    display: grid;
    padding: 34px;
    grid-template-columns: 0.55fr 1.45fr;
    align-items: start;
    gap: 50px;
    border-left: 8px solid var(--mint);
    border-radius: 0 18px 18px 0;
    background: var(--white);
}

.channel-note h2 {
    margin: 6px 0 0;
}

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

.more-channels {
    margin-bottom: 96px;
}

.mini-channel-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.mini-channel-grid a {
    display: grid;
    padding: 20px;
    border: 1px solid var(--line);
    border-top: 5px solid var(--category-accent);
    border-radius: 14px;
    background: var(--white);
}

.mini-channel-grid a > span {
    font-size: 1.2rem;
}

.mini-channel-grid strong {
    margin-top: 10px;
}

.mini-channel-grid small {
    margin-top: 5px;
    color: var(--muted);
}

.reader-page {
    margin-top: 46px;
    margin-bottom: 96px;
}

.reader-header {
    max-width: 900px;
    margin: 58px auto 36px;
    text-align: center;
}

.reader-header h1 {
    margin: 10px 0 18px;
    font-size: clamp(2.6rem, 6vw, 5.2rem);
    line-height: 1.06;
    letter-spacing: -0.06em;
}

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

.reader-meta {
    display: flex;
    flex-wrap: wrap;
    margin-top: 24px;
    justify-content: center;
    gap: 10px;
}

.reader-meta span {
    padding: 7px 12px;
    border: 1px solid var(--line);
    border-radius: 99px;
    background: var(--white);
    font-size: 0.82rem;
}

.reading-notice {
    display: grid;
    max-width: 920px;
    margin: 0 auto 46px;
    padding: 22px;
    grid-template-columns: auto 1fr;
    gap: 16px;
    border: 1px solid #b8acef;
    border-radius: 16px;
    background: #f0edff;
}

.notice-icon {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: var(--violet);
}

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

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

.reading-notice p {
    color: #5c5875;
    font-size: 0.88rem;
}

.chapter-content {
    display: grid;
    max-width: 920px;
    margin: 0 auto;
    gap: 48px;
}

.chapter-panel {
    margin: 0;
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.chapter-panel img {
    width: 100%;
    aspect-ratio: 20 / 27;
    object-fit: cover;
    background: #e5e7ee;
}

.chapter-panel figcaption {
    display: grid;
    padding: 24px;
    grid-template-columns: 54px 1fr;
    gap: 18px;
}

.chapter-panel figcaption > span {
    color: var(--pink);
    font-size: 1.8rem;
    font-weight: 900;
}

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

.chapter-panel h2 {
    font-size: 1.1rem;
}

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

.chapter-end {
    display: grid;
    max-width: 920px;
    margin: 62px auto 0;
    padding: 34px;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    border: 2px solid var(--ink);
    border-radius: 22px;
    background: var(--mint);
}

.end-symbol {
    display: grid;
    width: 62px;
    height: 62px;
    place-items: center;
    border: 2px solid var(--ink);
    border-radius: 50%;
    background: var(--white);
    font-size: 1.3rem;
    font-weight: 900;
}

.chapter-end h2,
.chapter-end p {
    margin: 0;
}

.chapter-end p {
    margin-top: 5px;
}

.save-button-large {
    padding: 10px 14px;
    border-color: var(--ink);
    background: var(--white);
    font-size: 0.86rem;
    font-weight: 800;
}

.chapter-navigation {
    display: grid;
    max-width: 920px;
    margin: 26px auto 0;
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
    gap: 12px;
}

.chapter-prev,
.chapter-next,
.chapter-disabled,
.back-channel {
    display: flex;
    min-height: 86px;
    padding: 14px;
    flex-direction: column;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
}

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

.chapter-prev span,
.chapter-next span,
.chapter-disabled span {
    color: var(--muted);
    font-size: 0.78rem;
}

.back-channel {
    min-width: 150px;
    align-items: center;
    color: var(--white);
    background: var(--ink);
    font-weight: 800;
}

.chapter-disabled {
    color: #9ca2b2;
    background: #f0f1f5;
}

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

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

    .shelf-button {
        order: 2;
    }

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

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

    .primary-nav a {
        justify-content: center;
    }

    .hero {
        padding: 42px;
        grid-template-columns: 1fr 0.8fr;
    }

    .hero-stage {
        min-height: 430px;
    }

    .comic-grid-five {
        padding-bottom: 12px;
        grid-template-columns: none;
        grid-auto-columns: minmax(220px, 34vw);
        grid-auto-flow: column;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    .comic-grid-five .comic-card {
        scroll-snap-align: start;
    }

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

@media (max-width: 820px) {
    :root {
        --shell: min(100% - 28px, 1200px);
    }

    .hero {
        min-height: auto;
        padding: 32px;
        grid-template-columns: 1fr;
    }

    .hero-stage {
        min-height: 460px;
    }

    .feature-split,
    .ranking-board,
    .completed-layout,
    .magazine-section,
    .about-section,
    .app-section,
    .page-hero-grid,
    .channel-note {
        grid-template-columns: 1fr;
    }

    .ranking-title {
        position: static;
    }

    .timeline-track {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .timeline-track::before {
        display: none;
    }

    .timeline-track article {
        border: 1px solid var(--line);
        border-radius: 14px;
        background: var(--white);
    }

    .completed-layout,
    .magazine-section,
    .app-section {
        padding: 34px;
    }

    .about-mark {
        width: min(340px, 80%);
        margin: 0 auto;
    }

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

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

    .chapter-end .save-button {
        grid-column: 1 / -1;
    }
}

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

    .brand-copy small {
        display: none;
    }

    .shelf-button > span:not(.shelf-count) {
        display: none;
    }

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

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

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

    .hero-stage {
        min-height: 390px;
    }

    .hero-card-main {
        inset: 0 18px 0 22px;
    }

    .hero-notes {
        gap: 8px;
    }

    .hero-notes span {
        font-size: 0.7rem;
    }

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

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

    .category-grid,
    .poster-row,
    .guide-grid,
    .mini-channel-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

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

    .comic-grid-five {
        grid-auto-columns: minmax(220px, 76vw);
    }

    .comic-card p {
        display: none;
    }

    .comic-card h3 {
        font-size: 0.95rem;
    }

    .card-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .save-button {
        width: 100%;
    }

    .feature-split {
        padding: 18px;
        gap: 28px;
    }

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

    .category-card {
        min-height: 260px;
        padding: 18px;
    }

    .category-card p {
        font-size: 0.82rem;
    }

    .tone-section {
        padding: 60px 0;
    }

    .ranking-list li {
        grid-template-columns: 34px 60px 1fr;
        gap: 10px;
    }

    .ranking-list img {
        width: 60px;
        height: 60px;
    }

    .rank-score {
        display: none;
    }

    .timeline-track {
        grid-template-columns: 1fr;
    }

    .completed-layout,
    .magazine-section,
    .app-section {
        padding: 24px;
    }

    .completed-mosaic {
        grid-template-rows: repeat(2, 160px);
    }

    .guide-grid article {
        padding: 20px;
    }

    .guide-grid article > span {
        font-size: 1.5rem;
    }

    .magazine-section {
        box-shadow: 6px 6px 0 var(--violet);
    }

    .app-visual {
        transform: scale(0.9);
    }

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

    .footer-bottom {
        align-items: start;
        flex-direction: column;
    }

    .page-hero {
        margin-top: 28px;
        padding: 26px;
    }

    .page-symbol {
        font-size: 6rem;
    }

    .view-switch {
        flex-wrap: wrap;
    }

    .chapter-panel figcaption {
        padding: 18px;
        grid-template-columns: 1fr;
    }

    .chapter-end {
        padding: 24px;
        grid-template-columns: 1fr;
    }

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

    .back-channel {
        grid-row: 2;
        grid-column: 1 / -1;
        min-height: 52px;
    }
}

@media (max-width: 390px) {
    .category-grid,
    .poster-row,
    .guide-grid,
    .mini-channel-grid {
        grid-template-columns: 1fr;
    }
}
