:root {
    --ink: #070b18;
    --ink-soft: #10172b;
    --panel: #151d34;
    --paper: #f6f2e8;
    --paper-dark: #e9e2d4;
    --text: #f8f7f2;
    --muted: #aeb7cc;
    --coral: #ff5e67;
    --cyan: #3ee8d3;
    --violet: #a88cff;
    --gold: #ffc85a;
    --line: rgba(255, 255, 255, 0.12);
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--text);
    background:
        radial-gradient(circle at 12% 8%, rgba(62, 232, 211, 0.12), transparent 24rem),
        radial-gradient(circle at 92% 18%, rgba(255, 94, 103, 0.14), transparent 28rem),
        var(--ink);
    font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    content: "";
    opacity: 0.18;
    background-image: radial-gradient(rgba(255, 255, 255, 0.5) 0.6px, transparent 0.6px);
    background-size: 12px 12px;
}

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

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

button {
    font: inherit;
}

.container,
.inner-main,
.reader-main {
    width: min(1200px, calc(100% - 40px));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid transparent;
    background: rgba(7, 11, 24, 0.78);
    backdrop-filter: blur(18px);
    transition: border-color 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
    border-color: var(--line);
    background: rgba(7, 11, 24, 0.94);
}

.header-inner {
    display: flex;
    min-height: 88px;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
}

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

.brand-mark {
    display: grid;
    width: 48px;
    aspect-ratio: 1;
    place-items: center;
    color: var(--ink);
    background: var(--cyan);
    border: 2px solid var(--text);
    border-radius: 12px 4px 12px 4px;
    box-shadow: 5px 5px 0 var(--coral);
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: -0.08em;
    transform: rotate(-3deg);
}

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

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

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

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

.nav-item {
    display: flex;
    min-width: 62px;
    padding: 9px 8px;
    align-items: center;
    flex-direction: column;
    gap: 2px;
    color: var(--muted);
    border-radius: 12px;
    font-size: 0.82rem;
    transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-item:hover,
.nav-item.is-active {
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.nav-item.is-active .nav-icon {
    color: var(--ink);
    background: var(--coral);
}

.nav-icon {
    display: grid;
    width: 26px;
    height: 22px;
    place-items: center;
    color: var(--cyan);
    border-radius: 7px;
    font-size: 0.9rem;
    font-weight: 800;
}

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

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--text);
}

.hero {
    display: grid;
    min-height: 650px;
    margin-top: 52px;
    padding: 70px 64px;
    align-items: center;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: 60px;
    overflow: hidden;
    background:
        linear-gradient(120deg, rgba(16, 23, 43, 0.96), rgba(21, 29, 52, 0.78)),
        linear-gradient(135deg, transparent 40%, rgba(62, 232, 211, 0.08));
    border: 1px solid var(--line);
    border-radius: 36px;
    box-shadow: var(--shadow);
}

.eyebrow,
.section-kicker {
    display: block;
    margin: 0 0 12px;
    color: var(--cyan);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.hero h1 {
    max-width: 650px;
    margin: 0;
    font-size: clamp(3.4rem, 7vw, 6.6rem);
    line-height: 0.98;
    letter-spacing: -0.08em;
}

.hero h1 a {
    background: linear-gradient(135deg, var(--text) 25%, var(--cyan) 65%, var(--violet));
    background-clip: text;
    color: transparent;
}

.hero-copy > p:not(.eyebrow) {
    max-width: 620px;
    margin: 28px 0 0;
    color: var(--muted);
    font-size: 1.1rem;
}

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

.button {
    display: inline-flex;
    min-height: 48px;
    padding: 0 22px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

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

.button--primary {
    color: var(--ink);
    background: var(--coral);
    box-shadow: 0 10px 30px rgba(255, 94, 103, 0.24);
}

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

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

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

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

.hero-stats dt {
    color: var(--gold);
    font-size: 1.65rem;
    font-weight: 900;
}

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

.hero-visual {
    position: relative;
    min-height: 500px;
}

.hero-poster {
    position: absolute;
    overflow: hidden;
    border: 8px solid var(--paper);
    border-radius: 8px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}

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

.hero-poster--back {
    top: 22px;
    right: 0;
    width: 62%;
    aspect-ratio: 3 / 4;
    transform: rotate(7deg);
    filter: saturate(0.75);
}

.hero-poster--front {
    bottom: 8px;
    left: 16px;
    width: 68%;
    aspect-ratio: 3 / 4;
    transform: rotate(-6deg);
}

.poster-index {
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 5px 10px;
    color: var(--ink);
    background: var(--cyan);
    font-size: 0.72rem;
    font-weight: 900;
}

.hero-sticker {
    position: absolute;
    right: 4px;
    bottom: 46px;
    display: grid;
    width: 112px;
    aspect-ratio: 1;
    place-content: center;
    color: var(--ink);
    background: var(--gold);
    border: 4px solid var(--ink);
    border-radius: 50%;
    text-align: center;
    transform: rotate(8deg);
}

.hero-sticker span,
.hero-sticker strong {
    display: block;
}

.section {
    margin-top: 110px;
}

.ticker-section {
    display: grid;
    margin-top: 34px;
    overflow: hidden;
    grid-template-columns: auto 1fr;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--ink-soft);
}

.ticker-label {
    display: flex;
    padding: 14px 20px;
    align-items: center;
    gap: 9px;
    color: var(--ink);
    background: var(--cyan);
    font-weight: 900;
}

.ticker-label span {
    color: var(--coral);
    animation: pulse 1.8s infinite;
}

.ticker-track {
    min-width: 0;
    padding: 14px 22px;
    overflow: hidden;
}

.ticker-track p {
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.section-heading {
    margin-bottom: 34px;
}

.section-heading--split {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
}

.section-heading h2,
.spotlight-copy h2,
.completed-copy h2,
.vertical-copy h2,
.guide-heading h2,
.community-card h2,
.about-copy h2,
.app-copy h2,
.category-hero h1,
.reader-header h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.12;
    letter-spacing: -0.04em;
}

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

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

.category-tile {
    position: relative;
    display: flex;
    min-height: 230px;
    padding: 28px;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--ink-soft);
    transition: transform 200ms ease, border-color 200ms ease;
}

.category-tile:first-child {
    grid-column: span 2;
}

.category-tile:hover {
    border-color: currentColor;
    transform: translateY(-5px);
}

.category-tile--cyan {
    color: var(--cyan);
}

.category-tile--coral {
    color: var(--coral);
}

.category-tile--violet {
    color: var(--violet);
}

.category-tile--gold {
    color: var(--gold);
}

.category-number {
    color: var(--muted);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
}

.category-icon {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 2.4rem;
}

.category-tile strong {
    margin-top: auto;
    color: var(--text);
    font-size: 1.28rem;
}

.category-tile small {
    margin-top: 9px;
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.65;
}

.section-band {
    padding-block: 100px;
    background: var(--ink-soft);
    border-block: 1px solid var(--line);
}

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

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

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

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

.comic-cover {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: var(--panel);
    border-radius: 16px;
}

.comic-cover::after {
    position: absolute;
    inset: 0;
    content: "";
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
    border-radius: inherit;
}

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

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

.cover-badge {
    position: absolute;
    right: 8px;
    bottom: 8px;
    padding: 4px 8px;
    color: var(--ink);
    background: var(--cyan);
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 900;
}

.comic-info {
    padding-top: 14px;
}

.comic-title {
    display: block;
    overflow: hidden;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.comic-info p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 0.82rem;
}

.comic-meta {
    display: flex;
    margin-top: 8px;
    justify-content: space-between;
    gap: 6px;
    color: #7f8aa5;
    font-size: 0.7rem;
}

.spotlight-layout {
    display: grid;
    grid-template-columns: 1.45fr 0.55fr;
    gap: 24px;
}

.spotlight-feature {
    position: relative;
    min-height: 550px;
    overflow: hidden;
    border-radius: 28px;
}

.spotlight-image,
.spotlight-image::after {
    position: absolute;
    inset: 0;
}

.spotlight-image::after {
    content: "";
    background: linear-gradient(90deg, rgba(7, 11, 24, 0.96), rgba(7, 11, 24, 0.18));
}

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

.spotlight-copy {
    position: relative;
    z-index: 1;
    max-width: 540px;
    padding: 64px;
}

.spotlight-copy p,
.completed-copy p,
.vertical-copy p,
.guide-heading p,
.community-card p,
.about-copy p,
.app-copy p {
    color: var(--muted);
}

.editor-notes {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: var(--panel);
}

.editor-notes h3 {
    margin: 0 0 8px;
    font-size: 1.4rem;
}

.editor-notes > p {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 0.9rem;
}

.note-row {
    display: grid;
    padding: 18px 0;
    grid-template-columns: 42px 1fr;
    gap: 10px;
    border-top: 1px solid var(--line);
}

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

.note-row strong,
.note-row small {
    display: block;
}

.note-row small {
    color: var(--muted);
}

.ranking-section {
    display: grid;
    grid-template-columns: 0.35fr 0.65fr;
    gap: 70px;
}

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

.ranking-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

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

.ranking-list img {
    width: 60px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 10px;
}

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

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

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

.rank-score {
    display: grid;
    width: 44px;
    aspect-ratio: 1;
    place-items: center;
    color: var(--ink);
    background: var(--gold);
    border-radius: 50%;
    font-weight: 900;
}

.korean-showcase {
    display: grid;
    padding: 46px;
    grid-template-columns: 0.32fr 0.68fr;
    gap: 44px;
    background: linear-gradient(135deg, #241d45, #151d34);
    border: 1px solid rgba(168, 140, 255, 0.4);
    border-radius: 30px;
}

.vertical-copy {
    align-self: center;
}

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

.comic-card--portrait:nth-child(even) {
    margin-top: 36px;
}

.section-paper {
    padding-block: 100px;
    color: var(--ink);
    background: var(--paper);
}

.completed-layout {
    display: grid;
    grid-template-columns: 0.33fr 0.67fr;
    gap: 60px;
}

.completed-copy p {
    color: #5d6170;
}

.completed-copy .text-link,
.section-paper .section-kicker {
    color: #a23845;
}

.book-spines {
    display: flex;
    min-height: 340px;
    align-items: flex-end;
    gap: 10px;
}

.book-spine {
    display: flex;
    width: calc((100% - 50px) / 6);
    height: 88%;
    padding: 18px 12px;
    align-items: center;
    flex-direction: column;
    justify-content: space-between;
    border: 2px solid var(--ink);
    border-radius: 6px 14px 4px 4px;
    box-shadow: 5px 5px 0 rgba(7, 11, 24, 0.16);
    transition: height 180ms ease;
}

.book-spine:hover {
    height: 100%;
}

.book-spine span {
    font-weight: 900;
    writing-mode: vertical-rl;
}

.book-spine small {
    font-weight: 800;
}

.book-spine--1 {
    background: var(--coral);
}

.book-spine--2 {
    height: 100%;
    background: var(--cyan);
}

.book-spine--3 {
    height: 78%;
    background: var(--gold);
}

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

.mood-card {
    display: flex;
    min-height: 180px;
    padding: 25px;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--panel);
}

.mood-card:hover .mood-icon {
    transform: rotate(10deg) scale(1.08);
}

.mood-icon {
    display: grid;
    width: 48px;
    aspect-ratio: 1;
    place-items: center;
    color: var(--ink);
    background: var(--cyan);
    border-radius: 13px;
    font-size: 1.4rem;
    transition: transform 180ms ease;
}

.mood-card strong {
    margin-top: auto;
    font-size: 1.08rem;
}

.mood-card small {
    color: var(--muted);
}

.schedule-section {
    display: grid;
    grid-template-columns: 0.28fr 0.72fr;
    gap: 50px;
}

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

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
}

.schedule-day {
    display: flex;
    min-height: 210px;
    padding: 16px 12px;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--ink-soft);
}

.schedule-day span {
    color: var(--cyan);
    font-size: 0.78rem;
    font-weight: 800;
}

.schedule-day strong {
    margin: auto 0;
    font-size: 0.9rem;
}

.schedule-day small {
    color: var(--muted);
    font-size: 0.72rem;
}

.schedule-day.is-featured {
    color: var(--ink);
    background: var(--coral);
    transform: translateY(-10px);
}

.schedule-day.is-featured span,
.schedule-day.is-featured small {
    color: var(--ink);
}

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

.guide-heading,
.guide-step {
    padding: 26px;
    border-radius: 20px;
}

.guide-heading {
    background: linear-gradient(145deg, rgba(62, 232, 211, 0.16), transparent);
}

.guide-step {
    border: 1px solid var(--line);
    background: var(--panel);
}

.guide-step > span {
    color: var(--coral);
    font-size: 0.78rem;
    font-weight: 900;
}

.guide-step h3 {
    margin: 30px 0 8px;
    font-size: 1.05rem;
}

.guide-step p {
    margin: 0;
    color: var(--muted);
    font-size: 0.84rem;
}

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

.community-card {
    min-height: 330px;
    padding: 48px;
    border-radius: 26px;
}

.community-card--quote {
    color: var(--ink);
    background: var(--gold);
}

.community-card--quote .section-kicker {
    color: #8a3740;
}

.community-card blockquote {
    margin: 40px 0 24px;
    font-size: 1.55rem;
    font-weight: 900;
    line-height: 1.55;
}

.community-card cite {
    font-style: normal;
}

.community-card--shelf {
    border: 1px solid var(--line);
    background: var(--panel);
}

.shelf-dots {
    display: flex;
    margin-top: 34px;
    gap: 10px;
}

.shelf-dots span {
    width: 44px;
    height: 64px;
    background: var(--coral);
    border-radius: 4px 10px 4px 4px;
}

.shelf-dots span:nth-child(2) {
    height: 78px;
    background: var(--cyan);
}

.shelf-dots span:nth-child(3) {
    height: 56px;
    background: var(--violet);
}

.shelf-dots span:nth-child(4) {
    height: 72px;
    background: var(--gold);
}

.about-section {
    display: grid;
    padding: 64px;
    align-items: start;
    grid-template-columns: 210px 1fr;
    gap: 60px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(168, 140, 255, 0.15), rgba(62, 232, 211, 0.06));
}

.about-badge {
    display: grid;
    aspect-ratio: 1;
    place-items: center;
    color: var(--ink);
    background: var(--cyan);
    border: 8px solid var(--text);
    border-radius: 48% 12% 48% 12%;
    box-shadow: 16px 16px 0 var(--coral);
    font-size: 4.8rem;
    font-weight: 900;
    letter-spacing: -0.12em;
}

.about-copy p {
    margin: 22px 0 0;
}

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

.about-points li {
    padding: 12px 15px;
    border-left: 3px solid var(--cyan);
    background: rgba(255, 255, 255, 0.05);
}

.app-section {
    display: grid;
    margin-bottom: 110px;
    padding: 60px;
    align-items: center;
    grid-template-columns: 1fr 280px;
    gap: 60px;
    color: var(--ink);
    background: var(--cyan);
    border-radius: 30px;
}

.app-section .section-kicker {
    color: #7e2c38;
}

.app-copy p,
.app-actions span {
    color: #24424a;
}

.app-actions .button--primary {
    color: var(--text);
    background: var(--ink);
}

.app-actions span {
    font-size: 0.82rem;
}

.qr-card {
    padding: 20px;
    text-align: center;
    background: var(--paper);
    border: 3px solid var(--ink);
    border-radius: 18px;
    box-shadow: 9px 9px 0 var(--coral);
    transform: rotate(2deg);
}

.qr-pattern {
    display: grid;
    width: 150px;
    margin: 0 auto 14px;
    aspect-ratio: 1;
    padding: 8px;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    background: var(--ink);
}

.qr-cell {
    background: var(--paper);
}

.qr-cell--0,
.qr-cell--2,
.qr-cell--4 {
    background: var(--cyan);
}

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

.site-footer {
    padding: 70px 0 28px;
    background: #040710;
    border-top: 1px solid var(--line);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 60px;
}

.footer-brand {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 22px;
}

.footer-brand p,
.footer-note p {
    margin: 0;
    color: var(--muted);
}

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

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

.footer-note strong {
    display: block;
    margin-bottom: 8px;
}

.copyright {
    margin-top: 50px;
    padding-top: 22px;
    color: #778199;
    border-top: 1px solid var(--line);
    font-size: 0.8rem;
}

.copyright p {
    margin: 0;
}

.inner-main,
.reader-main {
    padding-top: 38px;
    padding-bottom: 110px;
}

.breadcrumbs {
    display: flex;
    margin-bottom: 30px;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--muted);
    font-size: 0.84rem;
}

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

.category-hero {
    display: grid;
    min-height: 330px;
    padding: 52px;
    align-items: center;
    grid-template-columns: 110px 1fr auto;
    gap: 34px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: var(--panel);
}

.category-hero--cyan {
    background: linear-gradient(135deg, rgba(62, 232, 211, 0.18), var(--panel));
}

.category-hero--coral {
    background: linear-gradient(135deg, rgba(255, 94, 103, 0.18), var(--panel));
}

.category-hero--violet {
    background: linear-gradient(135deg, rgba(168, 140, 255, 0.2), var(--panel));
}

.category-hero--gold {
    background: linear-gradient(135deg, rgba(255, 200, 90, 0.18), var(--panel));
}

.category-hero-icon {
    display: grid;
    aspect-ratio: 1;
    place-items: center;
    color: var(--ink);
    background: var(--cyan);
    border-radius: 24px 8px 24px 8px;
    font-size: 3rem;
}

.category-hero p {
    max-width: 670px;
    color: var(--muted);
}

.category-summary {
    display: flex;
    gap: 30px;
}

.category-summary dt {
    color: var(--gold);
    font-size: 2rem;
    font-weight: 900;
}

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

.category-list-section,
.category-seo-copy {
    margin-top: 90px;
}

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

.catalog-card {
    display: grid;
    min-height: 300px;
    grid-template-columns: 42% 58%;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--ink-soft);
}

.catalog-image {
    position: relative;
    min-height: 100%;
}

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

.catalog-order {
    position: absolute;
    top: 14px;
    left: 14px;
    display: grid;
    width: 42px;
    aspect-ratio: 1;
    place-items: center;
    color: var(--ink);
    background: var(--cyan);
    border-radius: 50%;
    font-weight: 900;
}

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

.catalog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.catalog-tags span {
    padding: 3px 8px;
    color: var(--cyan);
    border: 1px solid rgba(62, 232, 211, 0.32);
    border-radius: 999px;
    font-size: 0.7rem;
}

.catalog-copy h2 {
    margin: 18px 0 8px;
    font-size: 1.4rem;
}

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

.catalog-footer {
    display: flex;
    margin-top: auto;
    padding-top: 18px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid var(--line);
    font-size: 0.82rem;
}

.catalog-footer span {
    color: var(--muted);
}

.catalog-footer a {
    color: var(--coral);
    font-weight: 800;
}

.category-seo-copy {
    padding: 38px;
    border-left: 4px solid var(--violet);
    background: rgba(168, 140, 255, 0.08);
    border-radius: 0 20px 20px 0;
}

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

.category-seo-copy p {
    margin: 0;
    color: var(--muted);
}

.reader-article {
    width: min(920px, 100%);
    margin: 0 auto;
}

.reader-header {
    padding: 44px;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(62, 232, 211, 0.08), rgba(255, 94, 103, 0.08));
}

.reader-labels {
    display: flex;
    margin-bottom: 20px;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.reader-labels span {
    padding: 4px 10px;
    color: var(--cyan);
    border: 1px solid rgba(62, 232, 211, 0.34);
    border-radius: 999px;
    font-size: 0.74rem;
}

.reader-deck {
    max-width: 710px;
    margin: 22px auto 0;
    color: var(--muted);
}

.reader-meta {
    display: flex;
    margin-top: 26px;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 24px;
    color: #8f9ab3;
    font-size: 0.8rem;
}

.reading-note {
    display: flex;
    margin: 28px 0 48px;
    padding: 22px 26px;
    gap: 16px;
    border: 1px solid rgba(255, 200, 90, 0.32);
    border-radius: 16px;
    background: rgba(255, 200, 90, 0.08);
}

.reading-note-icon {
    color: var(--gold);
    font-size: 1.4rem;
}

.reading-note strong,
.reading-note p {
    display: block;
}

.reading-note p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.comic-pages {
    display: grid;
    gap: 36px;
}

.comic-page {
    margin: 0;
    overflow: hidden;
    background: var(--paper);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.comic-page img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: var(--panel);
}

.comic-page figcaption {
    display: grid;
    padding: 24px 28px;
    align-items: start;
    grid-template-columns: auto 160px 1fr;
    gap: 22px;
    color: var(--ink);
}

.page-number {
    color: #9c3843;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.comic-page figcaption p {
    margin: 0;
    color: #59606d;
    font-size: 0.9rem;
}

.chapter-end {
    margin-top: 70px;
    padding: 50px;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--panel);
}

.chapter-end > span {
    display: inline-block;
    padding: 5px 12px;
    color: var(--ink);
    background: var(--gold);
    font-weight: 900;
    transform: rotate(-3deg);
}

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

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

.favorite-button {
    padding: 11px 18px;
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
}

.favorite-button.is-saved {
    color: var(--ink);
    background: var(--cyan);
}

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

.chapter-link {
    color: var(--muted);
    font-size: 0.86rem;
}

.chapter-link:hover {
    color: var(--cyan);
}

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

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.35;
    }
}

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

    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 76px;
        right: 20px;
        left: 20px;
        display: none;
        padding: 16px;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        border: 1px solid var(--line);
        border-radius: 18px;
        background: rgba(16, 23, 43, 0.98);
        box-shadow: var(--shadow);
    }

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

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

    .comic-grid--six {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 30px 18px;
    }

    .spotlight-layout,
    .ranking-section,
    .schedule-section {
        grid-template-columns: 1fr;
    }

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

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

    .guide-heading {
        grid-column: span 2;
    }

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

@media (max-width: 820px) {
    .container,
    .inner-main,
    .reader-main {
        width: min(100% - 28px, 1200px);
    }

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

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

    .section {
        margin-top: 78px;
    }

    .section-band,
    .section-paper {
        padding-block: 74px;
    }

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

    .category-tile:first-child {
        grid-column: span 1;
    }

    .korean-showcase,
    .completed-layout,
    .about-section,
    .app-section,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .book-spines {
        min-height: 300px;
    }

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

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

    .about-badge {
        width: 170px;
    }

    .qr-card {
        width: 250px;
    }

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

    .category-summary {
        grid-column: 1 / -1;
    }

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

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

    .brand-copy small {
        display: none;
    }

    .main-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-height: calc(100vh - 96px);
        overflow-y: auto;
    }

    .nav-item {
        flex-direction: row;
        justify-content: flex-start;
    }

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

    .hero-stats {
        gap: 18px;
    }

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

    .hero-poster--front {
        left: 0;
        width: 72%;
    }

    .hero-poster--back {
        width: 66%;
    }

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

    .ticker-label {
        justify-content: center;
    }

    .section-heading--split {
        align-items: start;
        flex-direction: column;
        gap: 12px;
    }

    .category-grid,
    .comic-grid--six,
    .vertical-strip,
    .mood-grid,
    .guide-layout,
    .schedule-grid,
    .about-points {
        grid-template-columns: 1fr;
    }

    .category-tile {
        min-height: 190px;
    }

    .spotlight-feature {
        min-height: 600px;
    }

    .spotlight-image::after {
        background: linear-gradient(0deg, rgba(7, 11, 24, 0.98), rgba(7, 11, 24, 0.15));
    }

    .spotlight-copy {
        position: absolute;
        bottom: 0;
        padding: 34px 26px;
    }

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

    .ranking-list img {
        width: 52px;
    }

    .rank-score {
        display: none;
    }

    .korean-showcase,
    .about-section,
    .app-section,
    .community-card {
        padding: 30px 22px;
    }

    .comic-card--portrait:nth-child(even) {
        margin-top: 0;
    }

    .book-spines {
        min-height: 280px;
        overflow-x: auto;
    }

    .book-spine {
        min-width: 58px;
    }

    .guide-heading {
        grid-column: span 1;
    }

    .schedule-day {
        min-height: 130px;
    }

    .about-section {
        gap: 44px;
    }

    .app-section {
        margin-bottom: 76px;
    }

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

    .category-hero {
        padding: 34px 24px;
        grid-template-columns: 1fr;
    }

    .category-hero-icon {
        width: 80px;
    }

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

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

    .reader-header {
        padding: 34px 20px;
    }

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

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

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

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

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
