:root {
    --coral: #ff4e5d;
    --coral-dark: #d82d43;
    --mint: #2bc99d;
    --ink: #17212b;
    --paper: #f7f7f2;
    --white: #ffffff;
    --muted: #66717d;
    --line: #dfe4e7;
    --shadow: 0 22px 60px rgba(23, 33, 43, 0.12);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

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

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

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

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 999;
    padding: 8px 14px;
    color: var(--white);
    background: var(--ink);
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.top-line {
    color: rgba(255, 255, 255, 0.82);
    background: var(--ink);
    font-size: 13px;
}

.top-line-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.top-line p {
    margin: 7px 0;
}

.site-header {
    position: relative;
    z-index: 50;
    background: rgba(247, 247, 242, 0.95);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}

.header-main {
    display: flex;
    align-items: center;
    min-height: 90px;
    gap: 30px;
}

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

.brand-mark {
    position: relative;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    color: var(--white);
    background: var(--coral);
    border: 4px solid var(--ink);
    border-radius: 50% 50% 44% 56%;
    transform: rotate(-8deg);
}

.brand-mark::after {
    position: absolute;
    right: -5px;
    bottom: 3px;
    width: 13px;
    height: 7px;
    background: var(--mint);
    border: 2px solid var(--ink);
    border-radius: 100% 0 100% 0;
    content: "";
}

.brand-seed {
    font-size: 32px;
    line-height: 1;
}

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

.brand-copy strong {
    font-size: 20px;
    letter-spacing: 0.04em;
}

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

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

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 9px 8px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--white);
    background: var(--coral);
}

.nav-icon {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    font-size: 16px;
}

.menu-button {
    display: none;
    align-items: center;
    gap: 7px;
    padding: 9px 14px;
    color: var(--white);
    background: var(--ink);
    border: 0;
    border-radius: 12px;
    cursor: pointer;
}

.hero {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
    gap: 72px;
    min-height: 660px;
    margin-top: 48px;
    padding: 54px 64px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 36px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero-copy h1 {
    margin: 10px 0 16px;
    font-family: "STKaiti", "KaiTi", serif;
    font-size: clamp(54px, 7vw, 92px);
    line-height: 1.04;
    letter-spacing: -0.06em;
}

.hero-copy h1 a {
    background: linear-gradient(120deg, var(--ink) 10%, var(--coral) 72%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-copy > p {
    max-width: 620px;
    color: var(--muted);
    font-size: 17px;
}

.eyebrow {
    display: inline-block;
    color: var(--coral-dark);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-search {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding: 8px 8px 8px 16px;
    background: #f2f4f4;
    border: 2px solid transparent;
    border-radius: 18px;
}

.hero-search:focus-within {
    border-color: var(--coral);
}

.hero-search input {
    min-width: 0;
    padding: 10px 4px;
    background: transparent;
    border: 0;
    outline: 0;
}

.hero-search button {
    padding: 12px 20px;
    color: var(--white);
    background: var(--coral);
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 800;
}

.search-feedback {
    min-height: 28px;
    margin: 8px 0 0;
    font-size: 13px !important;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 22px;
    border: 0;
    border-radius: 14px;
    cursor: pointer;
    font-weight: 800;
}

.button-primary {
    color: var(--white);
    background: var(--coral);
}

.button-ghost {
    background: transparent;
    box-shadow: inset 0 0 0 1px var(--line);
}

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

.hero-art {
    position: relative;
    min-width: 0;
}

.hero-art::before {
    position: absolute;
    inset: -25px -90px 30px 45px;
    background: var(--mint);
    border-radius: 48% 52% 34% 66% / 54% 32% 68% 46%;
    content: "";
}

.hero-poster {
    position: relative;
    z-index: 2;
    width: min(100%, 410px);
    margin-inline: auto;
    background: var(--ink);
    border: 9px solid var(--ink);
    border-radius: 28px;
    box-shadow: 24px 28px 0 rgba(255, 78, 93, 0.9);
    overflow: hidden;
    transform: rotate(2.5deg);
}

.hero-poster img {
    width: 100%;
    aspect-ratio: 4 / 5;
}

.poster-caption {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 14px;
    color: var(--white);
    font-size: 13px;
}

.floating-note {
    position: absolute;
    z-index: 3;
    padding: 8px 14px;
    background: var(--white);
    border: 3px solid var(--ink);
    border-radius: 999px;
    box-shadow: 6px 6px 0 var(--ink);
    font-weight: 900;
}

.note-one {
    top: 9%;
    left: -2%;
}

.note-two {
    right: -4%;
    bottom: 16%;
}

.reading-strip {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    align-items: center;
    gap: 30px;
    margin-top: 36px;
    padding: 26px 32px;
    color: var(--white);
    background: var(--ink);
    border-radius: 22px;
}

.reading-strip > div:first-child {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 12px;
}

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

.reading-strip h2 {
    grid-column: 2;
    font-size: 18px;
}

.section-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: var(--white);
    background: var(--coral);
    border-radius: 14px;
}

.reading-progress {
    display: grid;
    gap: 7px;
}

.reading-progress progress {
    width: 100%;
    height: 7px;
    accent-color: var(--mint);
}

.circle-link {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    color: var(--ink);
    background: var(--mint);
    border-radius: 50%;
    font-size: 24px;
}

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

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

.section-heading h2,
.korean-header h2,
.spotlight-copy h2,
.updates-sticky h2,
.complete-copy h2,
.about-copy h2,
.app-copy h2 {
    margin: 6px 0 0;
    font-family: "STKaiti", "KaiTi", serif;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.18;
}

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

.centered-heading p {
    max-width: 720px;
    color: var(--muted);
}

.text-link {
    color: var(--coral-dark);
    font-weight: 900;
}

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

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

.comic-card,
.k-card {
    min-width: 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    transition: 0.25s ease;
}

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

.cover-link,
.catalog-cover {
    position: relative;
    display: block;
    overflow: hidden;
}

.cover-link img,
.catalog-cover img {
    width: 100%;
    aspect-ratio: 3 / 4;
    transition: transform 0.35s ease;
}

.comic-card:hover img,
.k-card:hover img,
.catalog-card:hover img {
    transform: scale(1.035);
}

.cover-badge,
.catalog-cover span {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 10px;
    color: var(--white);
    background: rgba(23, 33, 43, 0.88);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.card-body {
    padding: 18px;
}

.card-body h3 {
    margin: 0 0 7px;
    font-size: 19px;
    line-height: 1.4;
}

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

.card-meta,
.catalog-meta,
.reader-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
    color: var(--muted);
    font-size: 13px;
}

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

.rank-layout {
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    gap: 78px;
}

.rank-intro .eyebrow {
    color: var(--white);
}

.rank-intro h2 {
    margin: 8px 0 18px;
    font-family: "STKaiti", "KaiTi", serif;
    font-size: 58px;
    line-height: 1.05;
}

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

.rank-list li {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    align-items: center;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.rank-number {
    font-family: Georgia, serif;
    font-size: 30px;
}

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

.rank-list small {
    color: rgba(255, 255, 255, 0.72);
}

.heat {
    font-weight: 800;
}

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

.category-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    min-height: 126px;
    padding: 24px;
    border: 1px solid rgba(23, 33, 43, 0.12);
    border-radius: 24px;
}

.category-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    color: var(--white);
    background: var(--ink);
    border-radius: 18px;
    font-size: 28px;
}

.category-copy {
    display: flex;
    flex-direction: column;
}

.category-copy strong {
    font-size: 21px;
}

.category-copy small {
    color: rgba(23, 33, 43, 0.72);
    font-size: 14px;
}

.category-arrow {
    font-size: 24px;
}

.color-coral {
    background: #ffd9dc;
}

.color-mint {
    background: #c8f3e7;
}

.color-amber {
    background: #ffe9b0;
}

.color-blue {
    background: #cee7ff;
}

.color-violet {
    background: #e8d8ff;
}

.color-ink {
    background: #dce0e3;
}

.korean-section {
    padding: 54px;
    color: var(--white);
    background: var(--ink);
    border-radius: 34px;
}

.korean-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 32px;
}

.korean-header .eyebrow {
    color: var(--mint);
}

.korean-header p {
    max-width: 680px;
    color: #b9c2ca;
}

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

.k-card {
    color: var(--ink);
}

.light-link {
    color: var(--mint);
}

.spotlight {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 64px;
    align-items: center;
}

.spotlight-image {
    position: relative;
    padding: 0 24px 24px 0;
}

.spotlight-image::after {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: -1;
    width: 72%;
    height: 72%;
    background: var(--mint);
    border-radius: 28px;
    content: "";
}

.spotlight-image img {
    width: 100%;
    aspect-ratio: 5 / 4;
    border-radius: 28px;
}

.spotlight-copy .lead {
    color: var(--muted);
    font-size: 18px;
}

.spotlight-copy blockquote {
    margin: 24px 0;
    padding-left: 20px;
    border-left: 5px solid var(--coral);
    font-family: "STKaiti", "KaiTi", serif;
    font-size: 21px;
}

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

.spotlight-facts div {
    padding: 12px;
    background: var(--white);
    border-radius: 12px;
}

.spotlight-facts dt {
    color: var(--muted);
    font-size: 12px;
}

.spotlight-facts dd {
    margin: 0;
    font-weight: 900;
}

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

.updates-layout {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 80px;
}

.updates-sticky {
    align-self: start;
    position: sticky;
    top: 30px;
}

.updates-sticky p {
    color: var(--muted);
}

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

.update-timeline li {
    display: grid;
    grid-template-columns: 70px 18px 1fr;
    gap: 14px;
    padding-bottom: 30px;
}

.update-timeline time {
    font-family: Georgia, serif;
    font-size: 20px;
    font-weight: 800;
}

.timeline-dot {
    position: relative;
    width: 12px;
    height: 12px;
    margin-top: 10px;
    background: var(--coral);
    border-radius: 50%;
}

.timeline-dot::after {
    position: absolute;
    top: 14px;
    left: 5px;
    width: 2px;
    height: 120px;
    background: var(--line);
    content: "";
}

.update-timeline li:last-child .timeline-dot::after {
    display: none;
}

.timeline-label {
    color: var(--coral-dark);
    font-size: 13px;
    font-weight: 900;
}

.update-timeline h3,
.update-timeline p {
    margin: 2px 0;
}

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

.complete-feature {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    align-items: center;
    gap: 66px;
    min-height: 510px;
    padding: 58px;
    background: #ffe9b0;
    border-radius: 34px;
    overflow: hidden;
}

.cover-stack {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    gap: 16px;
    transform: rotate(-2deg);
}

.cover-stack a:nth-child(2) {
    transform: translateY(-24px) rotate(4deg);
}

.cover-stack img {
    width: 100%;
    aspect-ratio: 3 / 4;
    border: 7px solid var(--white);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.taste-cloud {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    padding: 36px;
    background: var(--white);
    border-radius: 30px;
}

.taste-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    background: #f1f3f4;
    border: 2px solid var(--ink);
    border-radius: 999px;
    box-shadow: 4px 4px 0 var(--ink);
    font-weight: 900;
    transition: 0.2s ease;
}

.taste-pill:hover {
    color: var(--white);
    background: var(--coral);
    transform: translate(-2px, -2px);
}

.size-sm {
    padding: 10px 18px;
    font-size: 14px;
}

.size-md {
    padding: 15px 24px;
    font-size: 18px;
}

.size-lg {
    padding: 20px 32px;
    font-size: 22px;
}

.reading-guide {
    padding: 80px 0;
    background: #c8f3e7;
}

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

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

.guide-grid article > span {
    font-family: Georgia, serif;
    color: var(--coral);
    font-size: 40px;
    font-weight: 900;
}

.guide-grid h3 {
    margin: 8px 0;
    font-size: 22px;
}

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

.about-section {
    display: grid;
    grid-template-columns: 0.42fr 1.1fr 0.58fr;
    gap: 50px;
    padding: 54px;
    color: var(--white);
    background: var(--ink);
    border-radius: 32px;
}

.about-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-weight: 900;
}

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

.about-stats {
    margin: 0;
}

.about-stats div {
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.about-stats dt {
    color: var(--mint);
    font-family: Georgia, serif;
    font-size: 34px;
    font-weight: 900;
}

.about-stats dd {
    margin: 0;
    color: #bec6cd;
}

.app-section {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    align-items: center;
    gap: 64px;
    padding: 58px;
    background: #ffd9dc;
    border-radius: 34px;
}

.app-art {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 18px;
}

.phone-frame {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 180px;
    height: 300px;
    padding: 36px 20px;
    background: var(--paper);
    border: 8px solid var(--ink);
    border-radius: 32px;
    box-shadow: 12px 14px 0 var(--coral);
}

.mini-logo {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    color: var(--white);
    background: var(--coral);
    border-radius: 50%;
    font-weight: 900;
}

.mini-line {
    width: 100%;
    height: 9px;
    margin-top: 22px;
    background: #d9dfe2;
    border-radius: 99px;
}

.mini-line.short {
    width: 65%;
    margin-top: 9px;
}

.mini-card {
    width: 100%;
    height: 82px;
    margin-top: 20px;
    background: var(--mint);
    border-radius: 12px;
}

.qr-graphic {
    display: grid;
    grid-template-columns: repeat(2, 32px);
    gap: 6px;
    padding: 14px;
    background: var(--white);
    border: 4px solid var(--ink);
    border-radius: 14px;
}

.qr-graphic span {
    width: 32px;
    height: 32px;
    background: var(--ink);
}

.qr-graphic span:nth-child(2),
.qr-graphic span:nth-child(3) {
    background: var(--coral);
}

.qr-graphic strong {
    grid-column: 1 / -1;
    text-align: center;
}

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

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

.subscribe-form > div {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.subscribe-form input {
    min-width: 0;
    padding: 12px 16px;
    background: var(--white);
    border: 2px solid transparent;
    border-radius: 14px;
    outline: 0;
}

.subscribe-form input:focus {
    border-color: var(--coral);
}

.subscribe-form > p {
    color: var(--muted);
    font-size: 13px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 36px;
    color: var(--muted);
    font-size: 14px;
}

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

.catalog-hero {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 60px;
    margin-top: 24px;
    padding: 54px;
    border-radius: 30px;
}

.catalog-hero h1 {
    margin: 8px 0;
    font-family: "STKaiti", "KaiTi", serif;
    font-size: clamp(48px, 6vw, 76px);
    line-height: 1.1;
}

.catalog-hero p {
    max-width: 760px;
}

.catalog-icon {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    color: var(--white);
    background: var(--ink);
    border-radius: 20px;
    font-size: 34px;
}

.catalog-summary {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 12px;
    min-width: 230px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 18px;
}

.catalog-summary strong {
    font-size: 24px;
}

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

.result-count {
    color: var(--muted);
}

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

.catalog-card {
    display: grid;
    grid-template-columns: 190px 1fr;
    min-width: 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    transition: 0.25s ease;
}

.catalog-cover img {
    height: 100%;
    aspect-ratio: 3 / 4;
}

.catalog-body {
    display: flex;
    flex-direction: column;
    padding: 24px;
}

.catalog-body h2 {
    margin: 10px 0;
    font-size: 22px;
    line-height: 1.4;
}

.catalog-body p {
    display: -webkit-box;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.chapter-link {
    margin-top: auto;
    padding-top: 14px;
    color: var(--coral-dark);
    font-weight: 900;
}

.seo-note {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 22px;
    padding: 36px;
    background: var(--white);
    border-left: 6px solid var(--coral);
    border-radius: 20px;
}

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

.seo-note p {
    margin-top: 8px;
    color: var(--muted);
}

.reader {
    max-width: 980px;
}

.reader-header {
    margin-top: 28px;
    padding: 46px;
    text-align: center;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 28px;
}

.reader-category {
    display: inline-flex;
    padding: 6px 14px;
    color: var(--coral-dark);
    background: #ffd9dc;
    border-radius: 999px;
    font-weight: 900;
}

.reader-header h1 {
    margin: 14px 0;
    font-family: "STKaiti", "KaiTi", serif;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.25;
}

.reader-header > p {
    max-width: 760px;
    margin: 0 auto;
    color: var(--muted);
}

.reader-meta {
    justify-content: center;
    margin-top: 22px;
}

.bookmark-button {
    padding: 7px 12px;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 999px;
    cursor: pointer;
}

.bookmark-button[aria-pressed="true"] {
    color: var(--white);
    background: var(--coral);
}

.reading-notice {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    margin-top: 28px;
    padding: 26px;
    background: #fff3cb;
    border-radius: 20px;
}

.reading-notice > span {
    font-size: 30px;
}

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

.reading-notice p {
    margin-top: 5px;
    color: #665a3c;
}

.chapter-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    gap: 12px;
    margin: 26px 0;
}

.chapter-nav a,
.chapter-nav .disabled {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 9px 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 13px;
    text-align: center;
    font-weight: 800;
}

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

.chapter-nav .category-return {
    color: var(--white);
    background: var(--coral);
    border-color: var(--coral);
}

.comic-chapter {
    padding: 42px;
    background: var(--ink);
    border-radius: 28px;
}

.chapter-heading {
    max-width: 720px;
    margin: 0 auto 36px;
    color: var(--white);
    text-align: center;
}

.chapter-heading > span {
    color: var(--mint);
    font-weight: 900;
}

.chapter-heading h2 {
    margin: 8px 0;
    font-family: "STKaiti", "KaiTi", serif;
    font-size: 34px;
}

.chapter-heading p {
    color: #bac3ca;
}

.comic-panel {
    max-width: 820px;
    margin: 0 auto 28px;
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
}

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

.comic-panel figcaption {
    padding: 14px 18px;
    color: var(--muted);
    font-size: 14px;
}

.chapter-end {
    margin-top: 28px;
    padding: 40px;
    text-align: center;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 22px;
}

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

.chapter-end h2,
.chapter-end p {
    margin: 5px auto;
}

.chapter-end p {
    max-width: 720px;
    color: var(--muted);
}

.site-footer {
    margin-top: 120px;
    padding-top: 64px;
    color: #bdc5cc;
    background: #111920;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.7fr 1fr;
    gap: 80px;
    padding-bottom: 48px;
}

.footer-grid h2 {
    color: var(--white);
    font-size: 17px;
}

.footer-grid a {
    display: block;
    margin: 7px 0;
}

.footer-brand {
    color: var(--white);
    font-family: "STKaiti", "KaiTi", serif;
    font-size: 34px;
    font-weight: 900;
}

.copyright {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 13px;
}

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 30;
    display: none;
    width: 46px;
    height: 46px;
    color: var(--white);
    background: var(--coral);
    border: 0;
    border-radius: 50%;
    box-shadow: var(--shadow);
    cursor: pointer;
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

    .menu-button {
        display: flex;
        margin-left: auto;
    }

    .primary-nav {
        display: none;
        flex: 1 0 100%;
        justify-content: flex-start;
        padding-top: 8px;
        overflow-x: auto;
    }

    .primary-nav.is-open {
        display: flex;
    }

    .hero {
        gap: 40px;
        padding: 48px 40px;
    }

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

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

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

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

    .hero {
        grid-template-columns: 1fr;
        margin-top: 28px;
        padding: 38px 28px 52px;
    }

    .hero-art {
        width: min(82%, 440px);
        margin-inline: auto;
    }

    .reading-strip,
    .rank-layout,
    .spotlight,
    .updates-layout,
    .complete-feature,
    .app-section,
    .catalog-hero {
        grid-template-columns: 1fr;
    }

    .reading-strip {
        gap: 20px;
    }

    .reading-strip .circle-link {
        justify-self: end;
    }

    .rank-layout,
    .spotlight,
    .updates-layout {
        gap: 42px;
    }

    .updates-sticky {
        position: static;
    }

    .complete-feature {
        padding: 42px 30px;
    }

    .korean-section {
        padding: 40px 28px;
    }

    .korean-header {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .catalog-hero {
        padding: 36px 28px;
    }

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

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

    .top-line-inner p:last-child {
        display: none;
    }

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

    .nav-link {
        flex: 0 0 auto;
    }

    .hero-copy h1 {
        font-size: 54px;
    }

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

    .hero-search button {
        grid-column: 1 / -1;
        width: 100%;
    }

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

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

    .four-up,
    .category-grid,
    .korean-grid,
    .guide-grid,
    .spotlight-facts,
    .about-section,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .rank-section,
    .updates-section,
    .reading-guide {
        padding: 62px 0;
    }

    .rank-intro h2 {
        font-size: 46px;
    }

    .rank-list li {
        grid-template-columns: 42px 1fr;
    }

    .rank-list .heat {
        grid-column: 2;
    }

    .korean-section,
    .about-section,
    .app-section {
        padding: 32px 22px;
    }

    .cover-stack {
        gap: 8px;
    }

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

    .app-art {
        transform: scale(0.86);
    }

    .subscribe-form > div {
        grid-template-columns: 1fr;
    }

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

    .catalog-body {
        padding: 16px;
    }

    .catalog-body h2 {
        font-size: 18px;
    }

    .catalog-body p {
        -webkit-line-clamp: 2;
    }

    .reader-header,
    .comic-chapter {
        padding: 28px 16px;
    }

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

    .footer-grid {
        gap: 22px;
    }

    .copyright {
        flex-direction: column;
    }
}
