:root {
    --ink: #11182d;
    --ink-soft: #26314f;
    --paper: #f4f6fb;
    --white: #ffffff;
    --line: #dfe4ee;
    --muted: #64708a;
    --yellow: #ffd33d;
    --yellow-deep: #e7ad00;
    --blue: #496cf2;
    --cyan: #31bcd1;
    --pink: #f06292;
    --violet: #8a5cf5;
    --orange: #f47c3c;
    --green: #30a978;
    --gold: #d49b20;
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --shadow: 0 18px 55px rgba(17, 24, 45, 0.11);
    --container: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

body.is-reader-dark {
    --paper: #0f1528;
    --white: #182039;
    --ink: #f6f8ff;
    --ink-soft: #d7def3;
    --muted: #abb6d4;
    --line: #2d3758;
}

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

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

button,
input {
    font: inherit;
}

button {
    color: inherit;
}

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

.section-gap {
    margin-top: 88px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    color: var(--white);
    background: rgba(17, 24, 45, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(18px);
}

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

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

.brand-mark {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    color: #11182d;
    background: var(--yellow);
    border: 3px solid #11182d;
    border-radius: 14px 14px 14px 5px;
    box-shadow: 4px 4px 0 var(--blue);
    font-weight: 900;
}

.brand-mark-small {
    width: 40px;
    height: 40px;
}

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

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

.brand-copy small {
    margin-top: 5px;
    color: #aeb8d4;
    font-size: 0.75rem;
}

.main-nav {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    gap: 3px;
    margin-left: auto;
}

.main-nav a {
    display: grid;
    min-width: 76px;
    min-height: 58px;
    place-items: center;
    align-content: center;
    gap: 3px;
    color: #b8c1d9;
    border-radius: 12px;
    font-size: 0.82rem;
    transition: 180ms ease;
}

.main-nav a:hover,
.main-nav a.is-active {
    color: var(--ink);
    background: var(--yellow);
}

.ui-icon {
    display: inline-grid;
    width: 20px;
    height: 20px;
    place-items: center;
    flex: 0 0 auto;
}

.ui-icon::before {
    font-size: 1rem;
    line-height: 1;
}

.ui-icon-home::before { content: "⌂"; }
.ui-icon-spark::before { content: "✦"; }
.ui-icon-flame::before { content: "♨"; }
.ui-icon-chat::before { content: "◫"; }
.ui-icon-palette::before { content: "◒"; }
.ui-icon-city::before { content: "▥"; }
.ui-icon-compass::before { content: "✥"; }
.ui-icon-check::before { content: "✓"; }
.ui-icon-menu::before { content: "☰"; }
.ui-icon-book::before { content: "▤"; }
.ui-icon-grid::before { content: "▦"; }
.ui-icon-route::before { content: "⌁"; }
.ui-icon-heart::before { content: "♥"; }
.ui-icon-bookmark::before { content: "♧"; }
.ui-icon-pen::before { content: "✎"; }
.ui-icon-calendar::before { content: "▣"; }
.ui-icon-help::before { content: "?"; }
.ui-icon-bell::before { content: "♢"; }
.ui-icon-plus::before { content: "+"; }
.ui-icon-info::before { content: "i"; }
.ui-icon-eye::before { content: "◉"; }
.ui-icon-moon::before { content: "◐"; }

.menu-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    padding: 10px 14px;
    color: #ffffff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    cursor: pointer;
}

.hero {
    position: relative;
    display: grid;
    min-height: 610px;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 60px;
    padding: 64px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.hero::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 9px;
    content: "";
    background: var(--yellow);
}

.hero-label,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue);
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

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

.hero h1 a {
    position: relative;
}

.hero h1 a::after {
    position: absolute;
    right: -8px;
    bottom: 3px;
    left: 8px;
    z-index: -1;
    height: 18px;
    content: "";
    background: var(--yellow);
    transform: rotate(-1.5deg);
}

.hero h2 {
    margin: 26px 0 0;
    max-width: 620px;
    color: var(--ink-soft);
    font-size: clamp(1.35rem, 2vw, 2rem);
    line-height: 1.35;
}

.hero-copy > p {
    max-width: 610px;
    margin: 20px 0 0;
    color: var(--muted);
}

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

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 14px;
    cursor: pointer;
    font-weight: 800;
    transition: 180ms ease;
}

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

.button-primary {
    color: #11182d;
    background: var(--yellow);
    box-shadow: 5px 5px 0 #11182d;
}

.button-secondary {
    color: var(--ink);
    background: var(--white);
    border-color: var(--line);
}

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

.button-small {
    min-height: 42px;
    padding: 0 17px;
    font-size: 0.88rem;
}

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

.hero-stats div {
    display: grid;
    gap: 2px;
}

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

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

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

.hero-feature {
    position: absolute;
    overflow: hidden;
    background: var(--ink);
    border: 6px solid var(--ink);
    box-shadow: 14px 16px 0 var(--yellow);
}

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

.hero-feature-main {
    inset: 0 70px 20px 0;
    clip-path: polygon(0 0, 100% 0, 92% 100%, 0 94%);
}

.hero-feature-side {
    right: 0;
    bottom: 6px;
    width: 42%;
    height: 48%;
    transform: rotate(4deg);
}

.hero-feature-side span,
.hero-panel-caption {
    position: absolute;
    right: 14px;
    bottom: 14px;
    left: 14px;
    display: grid;
    padding: 12px 14px;
    color: #ffffff;
    background: rgba(17, 24, 45, 0.86);
    border-radius: 12px;
}

.hero-panel-caption small {
    color: var(--yellow);
}

.hero-sticker {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    width: 76px;
    height: 76px;
    place-items: center;
    color: #ffffff;
    background: var(--pink);
    border: 4px solid #ffffff;
    border-radius: 50%;
    font-weight: 900;
    transform: rotate(10deg);
}

.hero-roadline {
    position: absolute;
    inset: 12% -30% auto 20%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--blue) 0 28px, transparent 28px 46px);
    transform: rotate(-13deg);
}

.reading-route {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    padding: 22px;
    color: #ffffff;
    background: var(--ink);
    border-radius: var(--radius-md);
}

.route-intro {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 12px;
}

.route-intro > .ui-icon {
    display: grid;
    width: 44px;
    height: 44px;
    color: var(--ink);
    background: var(--yellow);
    border-radius: 12px;
}

.route-intro h2 {
    margin: 3px 0 0;
    font-size: 1.1rem;
}

.route-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.route-options a {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
}

.route-options a:hover {
    background: rgba(255, 211, 61, 0.16);
}

.route-options span:nth-child(2) {
    display: grid;
}

.route-options small {
    color: #aeb8d4;
}

.section-heading {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: end;
    gap: 18px;
    margin-bottom: 30px;
}

.section-heading-icon {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    color: #11182d;
    background: var(--yellow);
    border: 2px solid #11182d;
    border-radius: 16px;
    box-shadow: 4px 4px 0 var(--blue);
}

.section-heading h2 {
    margin: 2px 0 0;
    font-size: clamp(1.65rem, 3vw, 2.55rem);
    line-height: 1.2;
}

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

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue);
    font-weight: 800;
}

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

.category-card {
    position: relative;
    min-height: 250px;
    padding: 26px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    transition: 180ms ease;
}

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

.category-card::after {
    position: absolute;
    right: -35px;
    bottom: -35px;
    width: 120px;
    height: 120px;
    content: "";
    border: 22px solid currentColor;
    border-radius: 50%;
    opacity: 0.08;
}

.category-card-blue { color: var(--blue); }
.category-card-orange { color: var(--orange); }
.category-card-pink { color: var(--pink); }
.category-card-violet { color: var(--violet); }
.category-card-cyan { color: var(--cyan); }
.category-card-green { color: var(--green); }
.category-card-gold { color: var(--gold); }

.category-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    color: currentColor;
    background: color-mix(in srgb, currentColor 10%, white);
    border-radius: 14px;
}

.category-number {
    position: absolute;
    top: 22px;
    right: 22px;
    color: var(--line);
    font-weight: 900;
    font-size: 2rem;
}

.category-card h3 {
    margin: 23px 0 8px;
    color: var(--ink);
    font-size: 1.25rem;
}

.category-card p,
.category-meta {
    color: var(--muted);
}

.category-meta {
    font-size: 0.8rem;
}

.latest-layout {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 22px;
}

.comic-card {
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}

.comic-card-featured {
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    min-height: 520px;
}

.cover-link,
.comic-cover {
    height: 100%;
    margin: 0;
}

.comic-cover {
    position: relative;
}

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

.comic-cover figcaption {
    position: absolute;
    right: 14px;
    bottom: 14px;
    left: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background: rgba(17, 24, 45, 0.82);
    border-radius: 12px;
}

.badge {
    display: inline-flex;
    width: fit-content;
    padding: 5px 10px;
    color: #ffffff;
    background: var(--blue);
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
}

.badge-orange { background: var(--orange); }
.badge-pink { background: var(--pink); }
.badge-violet { background: var(--violet); }
.badge-cyan { background: var(--cyan); }
.badge-green { background: var(--green); }
.badge-gold { background: var(--gold); }

.update-dot {
    color: #ffffff;
    font-size: 0.76rem;
}

.comic-card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 36px;
}

.comic-kicker {
    color: var(--blue);
    font-size: 0.8rem;
    font-weight: 800;
}

.comic-card-body h3,
.latest-row h3 {
    margin: 8px 0 3px;
    font-size: 1.55rem;
}

.chapter-name {
    margin: 0;
    font-weight: 700;
}

.comic-summary {
    color: var(--muted);
}

.card-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.read-link {
    color: var(--blue);
    font-weight: 800;
}

.bookmark-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 11px;
    color: var(--muted);
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 10px;
    cursor: pointer;
}

.bookmark-button.is-saved {
    color: #11182d;
    background: var(--yellow);
    border-color: var(--yellow);
}

.latest-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.latest-row {
    display: grid;
    min-width: 0;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}

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

.latest-row > div {
    padding: 18px;
}

.latest-row h3 {
    font-size: 1rem;
}

.latest-row p,
.latest-row time {
    margin: 3px 0;
    color: var(--muted);
    font-size: 0.8rem;
}

.ranking-section,
.color-gallery,
.schedule-section,
.about-section {
    padding: 78px 0;
    color: #ffffff;
    background: var(--ink);
}

.ranking-section .section-heading p,
.color-gallery .section-heading p,
.schedule-section .section-heading p,
.about-section p {
    color: #aeb8d4;
}

.ranking-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ranking-list li {
    display: grid;
    grid-template-columns: 52px 76px 1fr 110px;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
}

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

.rank-cover img {
    width: 76px;
    height: 76px;
    object-fit: cover;
    border-radius: 12px;
}

.rank-copy h3,
.rank-copy p {
    margin: 0;
}

.rank-copy p,
.rank-copy span {
    color: #aeb8d4;
    font-size: 0.8rem;
}

.rank-bar {
    height: 7px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
}

.rank-bar span {
    display: block;
    height: 100%;
    background: var(--yellow);
}

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

.korean-card {
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 150px 150px 22px 22px;
}

.korean-card > a {
    position: relative;
    display: block;
}

.korean-card img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.episode-pill {
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 6px 10px;
    color: #ffffff;
    background: rgba(17, 24, 45, 0.86);
    border-radius: 999px;
    font-size: 0.76rem;
}

.korean-card > div {
    position: relative;
    padding: 22px;
}

.korean-card > div > span {
    position: absolute;
    right: 18px;
    color: var(--pink);
    font-weight: 900;
}

.korean-card h3 {
    margin: 0;
}

.korean-card p {
    display: -webkit-box;
    margin-bottom: 0;
    overflow: hidden;
    color: var(--muted);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.mosaic-grid {
    display: grid;
    min-height: 680px;
    grid-template-columns: 1.3fr 0.85fr 0.85fr;
    grid-template-rows: 1fr 1fr;
    gap: 14px;
}

.mosaic-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.mosaic-item-1 {
    grid-row: 1 / 3;
}

.mosaic-item-4 {
    grid-column: 2 / 4;
}

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

.mosaic-item:hover img {
    transform: scale(1.035);
}

.mosaic-item > span {
    position: absolute;
    right: 15px;
    bottom: 15px;
    left: 15px;
    display: grid;
    padding: 14px;
    background: rgba(17, 24, 45, 0.84);
    border-radius: 13px;
}

.mosaic-item small {
    color: var(--yellow);
}

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

.editorial-card {
    position: relative;
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 20px;
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}

.editorial-card:nth-child(2) {
    transform: translateY(26px);
}

.editorial-number {
    color: var(--yellow-deep);
    font-weight: 900;
    font-size: 2.8rem;
    line-height: 1;
}

.editorial-card h3 {
    margin: 6px 0;
}

.editorial-card p {
    color: var(--muted);
}

.completed-section {
    padding-top: 24px;
}

.shelf-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    padding: 30px 30px 0;
    background: linear-gradient(180deg, transparent 0 78%, #a86e34 78% 84%, #6f4527 84% 100%);
    border-radius: var(--radius-md);
}

.shelf-book {
    overflow: hidden;
    background: var(--white);
    border-radius: 12px 12px 4px 4px;
    box-shadow: 8px 9px 0 rgba(17, 24, 45, 0.18);
}

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

.shelf-book div {
    padding: 15px;
}

.shelf-book span {
    color: var(--green);
    font-size: 0.75rem;
    font-weight: 800;
}

.shelf-book h3,
.shelf-book p {
    margin: 4px 0;
}

.shelf-book p {
    color: var(--muted);
    font-size: 0.8rem;
}

.schedule-table-wrap {
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--radius-md);
}

.schedule-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.schedule-table th,
.schedule-table td {
    padding: 17px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.schedule-table th {
    color: var(--yellow);
    background: rgba(255, 255, 255, 0.05);
}

.schedule-table td {
    color: #d7def3;
}

.status-live,
.status-next {
    display: inline-flex;
    padding: 4px 9px;
    color: #9df2ca;
    background: rgba(48, 169, 120, 0.2);
    border-radius: 999px;
    font-size: 0.75rem;
}

.status-next {
    color: #ffe68c;
    background: rgba(255, 211, 61, 0.15);
}

.guide-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: guide;
}

.guide-steps li {
    position: relative;
    min-height: 270px;
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}

.guide-steps li::after {
    position: absolute;
    top: 45px;
    right: -23px;
    z-index: 2;
    content: "→";
    color: var(--blue);
    font-size: 1.6rem;
}

.guide-steps li:last-child::after {
    display: none;
}

.step-number {
    display: block;
    color: var(--line);
    font-weight: 900;
    font-size: 3rem;
    line-height: 1;
}

.guide-steps .ui-icon {
    width: 44px;
    height: 44px;
    margin-top: 20px;
    color: var(--ink);
    background: var(--yellow);
    border-radius: 12px;
}

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

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

.faq-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 14px 20px;
}

.faq-list details {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
}

.faq-list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 19px 22px;
    cursor: pointer;
    font-weight: 800;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list details[open] .ui-icon-plus {
    transform: rotate(45deg);
}

.faq-list p {
    margin: 0;
    padding: 0 22px 22px;
    color: var(--muted);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
}

.about-copy h2 {
    max-width: 560px;
    margin: 10px 0 20px;
    font-size: clamp(2rem, 4vw, 3.8rem);
    line-height: 1.1;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.about-values div {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 4px 12px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
}

.about-values .ui-icon {
    grid-row: 1 / 3;
    color: var(--yellow);
}

.about-values span:last-child {
    color: #aeb8d4;
    font-size: 0.8rem;
}

.app-panel {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 300px;
    align-items: center;
    gap: 60px;
    padding: 54px 64px;
    overflow: hidden;
    background: linear-gradient(135deg, #fff4c4, #ffd33d);
    border: 2px solid var(--ink);
    border-radius: var(--radius-lg);
    box-shadow: 10px 10px 0 var(--ink);
}

.app-panel::before {
    position: absolute;
    top: -60px;
    right: 260px;
    width: 180px;
    height: 180px;
    content: "";
    border: 30px solid rgba(73, 108, 242, 0.18);
    border-radius: 50%;
}

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

.app-copy p {
    max-width: 700px;
}

.app-actions > span {
    color: #665618;
    font-size: 0.82rem;
}

.app-mark-wrap {
    position: relative;
    display: grid;
    justify-items: center;
    padding: 20px;
    background: #ffffff;
    border: 2px solid var(--ink);
    border-radius: 22px;
    transform: rotate(2deg);
}

.app-mark-wrap img {
    width: 180px;
    height: 180px;
}

.app-mark-wrap span {
    color: var(--muted);
    font-size: 0.76rem;
}

.subscribe-status {
    min-height: 28px;
    color: var(--green);
    font-weight: 800;
}

.site-footer {
    margin-top: 88px;
    padding: 55px 0 32px;
    color: #ffffff;
    background: #0b1020;
}

.footer-shell {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 30px;
}

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

.footer-brand p {
    margin: 2px 0 0;
    color: #8f9ab7;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 20px;
    color: #b7c0d7;
}

.footer-meta {
    grid-column: 1 / -1;
    padding-top: 26px;
    color: #7e89a7;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 0.8rem;
}

.footer-meta p {
    margin: 3px 0;
}

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 50;
    display: none;
    width: 46px;
    height: 46px;
    color: #11182d;
    background: var(--yellow);
    border: 2px solid #11182d;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: 4px 4px 0 #11182d;
}

.back-to-top.is-visible {
    display: block;
}

.breadcrumb {
    margin: 38px 0 24px;
}

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

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

.category-hero {
    position: relative;
    display: grid;
    min-height: 330px;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 30px;
    padding: 54px;
    overflow: hidden;
    color: #ffffff;
    background: var(--blue);
    border-radius: var(--radius-lg);
}

.category-hero-orange { background: #c95622; }
.category-hero-pink { background: #b93f6a; }
.category-hero-violet { background: #6441b9; }
.category-hero-cyan { background: #157e91; }
.category-hero-green { background: #167451; }
.category-hero-gold { background: #9c6b09; }

.category-hero .eyebrow {
    color: var(--yellow);
}

.category-hero h1 {
    margin: 10px 0;
    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 1;
}

.category-hero p {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
}

.category-hero-icon {
    display: inline-grid;
    width: 58px;
    height: 58px;
    place-items: center;
    color: var(--ink);
    background: var(--yellow);
    border-radius: 17px;
}

.category-hero-number {
    color: rgba(255, 255, 255, 0.15);
    font-weight: 900;
    font-size: clamp(8rem, 17vw, 13rem);
    line-height: 0.8;
}

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

.category-hero-meta span {
    padding: 6px 11px;
    background: rgba(255, 255, 255, 0.13);
    border-radius: 999px;
    font-size: 0.78rem;
}

.category-intro-panel,
.category-note,
.reading-notice {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    margin-top: 34px;
    padding: 26px 30px;
    background: var(--white);
    border: 1px solid var(--line);
    border-left: 6px solid var(--yellow);
    border-radius: var(--radius-md);
}

.category-intro-panel h2,
.category-intro-panel p {
    grid-column: 1 / -1;
    margin: 0;
}

.category-intro-panel p,
.category-intro-panel li {
    color: var(--muted);
}

.category-intro-panel ul {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.category-intro-panel li {
    padding: 13px;
    background: var(--paper);
    border-radius: 12px;
}

.category-library {
    margin-top: 72px;
}

.category-comic-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.library-card {
    position: relative;
    display: grid;
    min-width: 0;
    grid-template-columns: 210px 1fr;
    gap: 0;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}

.library-card:last-child {
    grid-column: 1 / -1;
    grid-template-columns: 300px 1fr;
}

.library-index {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 5px 10px;
    color: #11182d;
    background: var(--yellow);
    border-radius: 8px;
    font-weight: 900;
}

.library-cover img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
}

.library-body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 28px;
}

.library-body h2,
.library-body h3 {
    margin: 7px 0 0;
}

.library-body h2 {
    font-size: 1.45rem;
}

.library-body h3 {
    color: var(--ink-soft);
    font-size: 0.95rem;
}

.library-body p {
    color: var(--muted);
}

.library-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--muted);
    font-size: 0.78rem;
}

.category-note {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    margin-top: 36px;
    border-left-color: var(--blue);
}

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

.category-note p {
    color: var(--muted);
}

.reader-shell {
    max-width: 1040px;
}

.reader-article {
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.reader-header {
    padding: 56px 70px 40px;
    text-align: center;
}

.reader-header .badge {
    margin-inline: auto;
}

.reader-header h1 {
    margin: 18px 0 4px;
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1.05;
}

.reader-chapter-title {
    margin: 0;
    color: var(--blue);
    font-weight: 800;
    font-size: 1.25rem;
}

.reader-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 22px;
    color: var(--muted);
    font-size: 0.82rem;
}

.reader-meta > span,
.reader-meta time {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

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

.reader-actions {
    justify-content: center;
}

.reading-notice {
    margin: 0 70px 40px;
    text-align: left;
}

.reading-notice .ui-icon {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    color: #11182d;
    background: var(--yellow);
    border-radius: 50%;
}

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

.reading-notice p {
    color: var(--muted);
}

.comic-reader {
    padding: 54px 70px;
    background: #0d1223;
}

.reader-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 22px;
    color: #aeb8d4;
    font-size: 0.82rem;
}

.comic-panel {
    position: relative;
    max-width: 860px;
    margin: 0 auto 48px;
}

.comic-panel img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    background: #222b47;
    border-radius: 4px;
}

.comic-panel figcaption {
    padding: 18px 4px 0;
    color: #bcc5db;
    text-align: center;
}

.panel-label {
    position: absolute;
    top: 18px;
    left: -18px;
    z-index: 2;
    display: grid;
    min-width: 92px;
    padding: 9px 13px;
    color: #11182d;
    background: var(--yellow);
    border: 3px solid #11182d;
    box-shadow: 5px 5px 0 var(--blue);
    transform: rotate(-2deg);
}

.panel-label span {
    font-size: 0.7rem;
}

.chapter-end {
    max-width: 700px;
    margin: 20px auto 0;
    padding: 36px;
    color: #ffffff;
    background: #182039;
    border: 1px solid #303b5e;
    border-radius: var(--radius-md);
    text-align: center;
}

.chapter-end .ui-icon {
    width: 48px;
    height: 48px;
    margin-inline: auto;
    color: #11182d;
    background: var(--yellow);
    border-radius: 50%;
}

.chapter-end h2 {
    margin-bottom: 5px;
}

.chapter-end p {
    margin: 0;
    color: #aeb8d4;
}

.chapter-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 14px;
    padding: 30px;
}

.chapter-nav > a,
.chapter-nav > span {
    display: grid;
    align-content: center;
    min-height: 86px;
    padding: 14px 18px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
}

.chapter-nav > a:hover {
    border-color: var(--blue);
}

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

.chapter-nav-back {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

.chapter-nav span span,
.chapter-nav a span {
    color: var(--muted);
    font-size: 0.78rem;
}

.chapter-nav-disabled {
    opacity: 0.55;
}

.reader-related {
    margin-top: 72px;
}

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

.related-grid a {
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 15px;
}

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

.related-grid a > span {
    display: grid;
    padding: 14px;
}

.related-grid small {
    color: var(--muted);
}

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

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

    .main-nav {
        display: none;
        width: 100%;
        grid-template-columns: repeat(4, 1fr);
        margin: 0;
    }

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

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

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

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

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

    .latest-layout,
    .about-layout {
        grid-template-columns: 1fr;
    }

    .ranking-list {
        grid-template-columns: 1fr;
    }

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

    .shelf-book:nth-child(4),
    .shelf-book:nth-child(5) {
        display: grid;
        grid-template-columns: 140px 1fr;
    }

    .shelf-book:nth-child(4) {
        grid-column: 1 / 2;
    }

    .shelf-book:nth-child(5) {
        grid-column: 2 / 4;
    }

    .shelf-book:nth-child(4) img,
    .shelf-book:nth-child(5) img {
        height: 100%;
    }

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

    .library-card:last-child {
        grid-column: auto;
        grid-template-columns: 210px 1fr;
    }
}

@media (max-width: 820px) {
    .section-gap {
        margin-top: 64px;
    }

    .hero {
        padding: 44px 32px;
    }

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

    .route-options,
    .korean-strip,
    .guide-steps,
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .latest-stack,
    .faq-list {
        grid-template-columns: 1fr;
    }

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

    .comic-card-featured .comic-cover {
        min-height: 420px;
    }

    .mosaic-grid {
        min-height: auto;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, 300px);
    }

    .mosaic-item-1 {
        grid-row: 1 / 3;
    }

    .mosaic-item-4 {
        grid-column: 1 / 2;
    }

    .mosaic-item-5 {
        grid-column: 2 / 3;
    }

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

    .editorial-card:nth-child(2) {
        transform: none;
    }

    .guide-steps li::after {
        display: none;
    }

    .app-panel {
        grid-template-columns: 1fr;
        padding: 44px;
    }

    .app-mark-wrap {
        max-width: 280px;
    }

    .category-hero {
        padding: 40px;
    }

    .category-hero-number {
        position: absolute;
        right: -12px;
        bottom: -10px;
    }

    .category-intro-panel ul {
        grid-template-columns: 1fr;
    }

    .reader-header {
        padding: 44px 30px 34px;
    }

    .reading-notice {
        margin: 0 30px 30px;
    }

    .comic-reader {
        padding: 40px 30px;
    }

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

    .chapter-nav-back {
        grid-column: 1 / -1;
        grid-row: 2;
    }
}

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

    .container,
    .header-shell,
    .footer-shell,
    .hero {
        width: min(calc(100% - 24px), var(--container));
    }

    .brand-copy small {
        display: none;
    }

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

    .main-nav a {
        min-height: 50px;
    }

    .hero {
        gap: 36px;
        padding: 36px 22px;
        border-radius: 24px;
    }

    .hero-actions,
    .hero-actions .button {
        width: 100%;
    }

    .hero-stats {
        justify-content: space-between;
        gap: 12px;
    }

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

    .hero-feature-main {
        right: 35px;
    }

    .hero-sticker {
        width: 58px;
        height: 58px;
        font-size: 0.8rem;
    }

    .reading-route {
        width: 100%;
        border-radius: 0;
    }

    .route-options,
    .category-grid,
    .korean-strip,
    .guide-steps,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .section-heading {
        grid-template-columns: auto 1fr;
        align-items: center;
    }

    .section-heading .text-link {
        grid-column: 1 / -1;
        margin-left: 72px;
    }

    .latest-row {
        grid-template-columns: 120px 1fr;
    }

    .latest-row img {
        height: 100%;
        aspect-ratio: auto;
    }

    .ranking-list li {
        grid-template-columns: 40px 64px 1fr;
    }

    .rank-cover img {
        width: 64px;
        height: 64px;
    }

    .rank-bar {
        display: none;
    }

    .mosaic-grid {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 320px);
    }

    .mosaic-item-1,
    .mosaic-item-4,
    .mosaic-item-5 {
        grid-column: auto;
        grid-row: auto;
    }

    .editorial-card {
        grid-template-columns: 52px 1fr;
        padding: 22px;
    }

    .editorial-number {
        font-size: 2rem;
    }

    .shelf-grid {
        grid-template-columns: 1fr 1fr;
        padding: 18px 18px 0;
    }

    .shelf-book:nth-child(4),
    .shelf-book:nth-child(5) {
        display: block;
        grid-column: auto;
    }

    .shelf-book:nth-child(5) {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

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

    .app-panel {
        padding: 34px 24px;
    }

    .app-actions .button {
        width: 100%;
    }

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

    .footer-links {
        justify-content: flex-start;
    }

    .category-hero {
        min-height: 360px;
        padding: 32px 24px;
    }

    .category-hero-meta {
        max-width: 240px;
    }

    .library-card,
    .library-card:last-child {
        grid-template-columns: 1fr;
    }

    .library-cover img {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

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

    .category-note .text-link {
        grid-column: 1 / -1;
    }

    .reader-shell {
        width: 100%;
    }

    .reader-shell > .breadcrumb,
    .reader-related {
        width: calc(100% - 24px);
        margin-inline: auto;
    }

    .reader-article {
        border-radius: 0;
    }

    .reader-header {
        padding: 38px 20px 30px;
    }

    .reader-header h1 {
        font-size: 2.6rem;
    }

    .reading-notice {
        grid-template-columns: 1fr;
        margin: 0 16px 24px;
        padding: 20px;
    }

    .comic-reader {
        padding: 28px 12px;
    }

    .comic-panel {
        margin-bottom: 38px;
    }

    .panel-label {
        left: 8px;
    }

    .comic-panel figcaption {
        padding-inline: 10px;
    }

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

    .chapter-nav-back {
        grid-column: auto;
        grid-row: auto;
    }

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