:root {
    --ink: #12192b;
    --muted: #667085;
    --paper: #f6f7fb;
    --surface: #ffffff;
    --navy: #111a33;
    --navy-soft: #1c2848;
    --orange: #ff6b35;
    --orange-dark: #dd4c1c;
    --line: #e5e8ef;
    --shadow: 0 18px 50px rgba(20, 29, 50, 0.1);
    --radius-lg: 28px;
    --radius-md: 18px;
    --shell: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

body.nav-open {
    overflow: hidden;
}

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

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

button,
input {
    font: inherit;
}

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

.shell {
    width: min(calc(100% - 40px), var(--shell));
    margin-right: auto;
    margin-left: auto;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    padding: 10px 16px;
    color: #ffffff;
    background: var(--orange);
    border-radius: 10px;
    transform: translateY(-160%);
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    color: #ffffff;
    background: rgba(17, 26, 51, 0.97);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
}

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

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

.brand-mark {
    display: grid;
    width: 46px;
    height: 46px;
    color: #ffffff;
    background: var(--orange);
    border: 3px solid rgba(255, 255, 255, 0.9);
    border-radius: 14px 6px 14px 6px;
    font-size: 23px;
    font-weight: 900;
    line-height: 1;
    place-items: center;
    transform: rotate(-3deg);
}

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

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

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

.primary-nav {
    display: flex;
    flex: 1 1 auto;
    align-items: stretch;
    justify-content: flex-end;
    gap: 2px;
}

.primary-nav a {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    min-height: 76px;
    padding: 8px 9px;
    color: #ccd3e6;
    font-size: 0.78rem;
    line-height: 1.2;
    transition: color 0.2s ease, background 0.2s ease;
}

.primary-nav a::after {
    position: absolute;
    right: 12px;
    bottom: 0;
    left: 12px;
    height: 3px;
    background: var(--orange);
    border-radius: 4px 4px 0 0;
    content: "";
    opacity: 0;
    transform: scaleX(0.5);
    transition: 0.2s ease;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.primary-nav a[aria-current="page"]::after {
    opacity: 1;
    transform: scaleX(1);
}

.nav-icon {
    margin-bottom: 6px;
    color: #ffb495;
    font-size: 1.05rem;
}

.nav-toggle {
    display: none;
    margin-left: auto;
    padding: 9px 14px;
    color: #ffffff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 10px;
    cursor: pointer;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.96fr);
    min-height: 590px;
    margin-top: 42px;
    overflow: hidden;
    color: #ffffff;
    background: var(--navy);
    border-radius: 34px;
    box-shadow: var(--shadow);
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 72px 64px;
}

.hero-kicker,
.eyebrow {
    display: inline-block;
    color: var(--orange);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 18px 0 20px;
    font-size: clamp(2.7rem, 5vw, 5rem);
    line-height: 1.05;
    letter-spacing: -0.06em;
}

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

.hero-lead {
    max-width: 640px;
    margin: 0;
    color: #c9d1e6;
    font-size: 1.06rem;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 11px 20px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-weight: 800;
    line-height: 1.25;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button-primary {
    color: #ffffff;
    background: var(--orange);
    box-shadow: 0 10px 24px rgba(255, 107, 53, 0.26);
}

.button-primary:hover {
    background: var(--orange-dark);
}

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

.hero .button-secondary {
    color: #ffffff;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.28);
}

.button-light {
    color: var(--navy);
    background: #ffffff;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 44px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

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

.hero-stats strong {
    color: #ffffff;
    font-size: 1.4rem;
}

.hero-stats span {
    color: #929dbb;
    font-size: 0.82rem;
}

.hero-feature {
    position: relative;
    min-width: 0;
    background: #202d50;
}

.hero-art {
    position: absolute;
    inset: 0;
}

.hero-image {
    height: 100%;
    object-fit: cover;
    opacity: 0.88;
}

.hero-art::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(17, 26, 51, 0.94) 100%);
    content: "";
}

.hero-volume {
    position: absolute;
    top: 28px;
    right: 28px;
    z-index: 1;
    padding: 7px 12px;
    color: var(--navy);
    background: #ffffff;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.hero-feature-copy {
    position: absolute;
    right: 38px;
    bottom: 38px;
    left: 38px;
    z-index: 2;
}

.hero-feature-copy > span {
    color: #ffbd9e;
    font-size: 0.8rem;
    font-weight: 800;
}

.hero-feature-copy h2 {
    margin: 6px 0;
    font-size: 2rem;
    line-height: 1.2;
}

.hero-feature-copy p {
    margin: 0;
    color: #d5dbea;
}

.quick-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin-top: 24px;
    overflow: hidden;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}

.quick-item {
    padding: 18px 20px;
    background: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
}

.quick-item:hover {
    color: var(--orange);
}

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

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

.section-heading h2,
.story-content h2,
.korean-intro h2,
.completed-copy h2,
.bookshelf-copy h2,
.about-heading h2,
.app-copy h2,
.schedule-title h2 {
    margin: 7px 0 0;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.18;
    letter-spacing: -0.035em;
}

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

.text-link {
    flex: 0 0 auto;
    color: var(--orange-dark);
    font-weight: 800;
}

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

.category-card {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    min-height: 112px;
    padding: 20px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent);
    content: "";
}

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

.category-icon {
    display: grid;
    width: 48px;
    height: 48px;
    margin-right: 14px;
    color: #ffffff;
    background: var(--accent);
    border-radius: 14px;
    font-size: 1.2rem;
    place-items: center;
}

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

.category-copy strong {
    font-size: 1rem;
}

.category-copy small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.78rem;
}

.category-arrow {
    color: var(--accent);
    font-weight: 900;
}

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

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

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

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

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

.cover-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 9px;
    color: #ffffff;
    background: rgba(17, 26, 51, 0.86);
    border-radius: 7px;
    font-size: 0.7rem;
    font-weight: 800;
}

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

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

.comic-card h3 a:hover {
    color: var(--orange-dark);
}

.comic-card p {
    display: -webkit-box;
    margin: 8px 0 12px;
    overflow: hidden;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    color: #8a93a7;
    font-size: 0.76rem;
}

.story-feature {
    padding: 72px 0;
    color: #ffffff;
    background: var(--navy);
}

.story-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 72px;
}

.story-cover {
    overflow: hidden;
    border: 10px solid #ffffff;
    border-radius: 2px;
    box-shadow: 20px 20px 0 var(--orange);
    aspect-ratio: 4 / 5;
    transform: rotate(-2deg);
}

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

.story-content p {
    color: #c4cce0;
}

.story-steps {
    margin: 28px 0 30px;
    padding: 0;
    list-style: none;
    counter-reset: story;
}

.story-steps li {
    position: relative;
    margin: 12px 0;
    padding: 14px 16px 14px 52px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    counter-increment: story;
}

.story-steps li::before {
    position: absolute;
    top: 14px;
    left: 16px;
    color: var(--orange);
    font-weight: 900;
    content: "0" counter(story);
}

.ranking-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 20px;
}

.rank-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 16px;
}

.rank-number {
    color: #c5cad6;
    font-size: 1.7rem;
    font-weight: 900;
    font-style: italic;
}

.rank-row h3 {
    margin: 0;
    font-size: 1rem;
}

.rank-row p {
    display: -webkit-box;
    margin: 5px 0 0;
    overflow: hidden;
    color: var(--muted);
    font-size: 0.8rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.rank-score {
    color: var(--orange-dark);
    font-size: 1.05rem;
}

.korean-showcase {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 40px;
    padding: 48px;
    color: #ffffff;
    background: linear-gradient(135deg, #5936a2, #28255e);
    border-radius: var(--radius-lg);
}

.korean-intro {
    align-self: center;
}

.korean-intro .eyebrow {
    color: #d7c4ff;
}

.korean-intro p {
    margin: 18px 0 26px;
    color: #e4dcf6;
}

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

.poster-card {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    aspect-ratio: 3 / 5;
}

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

.poster-card::after {
    position: absolute;
    inset: 40% 0 0;
    background: linear-gradient(transparent, rgba(20, 15, 52, 0.95));
    content: "";
}

.poster-card strong {
    position: absolute;
    right: 10px;
    bottom: 12px;
    left: 10px;
    z-index: 1;
    font-size: 0.84rem;
    line-height: 1.35;
}

.completed-panel {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: center;
    padding: 44px 50px;
    background: #fff7e9;
    border: 1px solid #f1dfbd;
    border-radius: var(--radius-lg);
}

.completed-copy p {
    color: var(--muted);
}

.completed-stack {
    display: grid;
    gap: 10px;
}

.stack-item {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 17px 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 7px 20px rgba(84, 64, 28, 0.08);
}

.stack-item span {
    color: #c99a43;
    font-weight: 900;
}

.stack-item small {
    color: var(--muted);
}

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

.note-card {
    min-height: 310px;
    padding: 30px;
    border-radius: var(--radius-md);
}

.note-card > span {
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.note-card h3 {
    margin: 38px 0 12px;
    font-size: 1.35rem;
}

.note-card p {
    margin-bottom: 28px;
}

.note-card a {
    font-weight: 900;
}

.note-1 {
    color: #ffffff;
    background: #176b73;
}

.note-2 {
    color: #54223b;
    background: #ffd9e7;
}

.note-3 {
    color: #fff4cf;
    background: #30345d;
}

.schedule-section {
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 42px;
    align-items: start;
}

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

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    gap: 1px;
}

.schedule-grid a {
    display: flex;
    min-height: 142px;
    padding: 20px;
    flex-direction: column;
    background: #ffffff;
}

.schedule-grid span {
    color: var(--orange-dark);
    font-size: 0.8rem;
    font-weight: 900;
}

.schedule-grid strong {
    margin: 12px 0 auto;
}

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

.bookshelf {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    padding: 58px;
    color: #ffffff;
    background: var(--navy);
    border-radius: var(--radius-lg);
}

.bookshelf-visual {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 270px;
    padding: 30px 24px;
    background: #1d2948;
    border-bottom: 18px solid #68452d;
    border-radius: 18px 18px 4px 4px;
    gap: 9px;
}

.bookshelf-visual span {
    display: flex;
    width: 64px;
    height: 180px;
    padding: 18px 0;
    align-items: center;
    justify-content: flex-start;
    color: var(--navy);
    background: #ffb073;
    border-radius: 5px 9px 4px 4px;
    font-weight: 900;
    writing-mode: vertical-rl;
}

.bookshelf-visual span:nth-child(2) {
    height: 215px;
    background: #79d2c7;
}

.bookshelf-visual span:nth-child(3) {
    height: 195px;
    background: #ff8db3;
}

.bookshelf-visual span:nth-child(4) {
    height: 230px;
    background: #f6d365;
}

.bookshelf-copy p {
    color: #c7cee0;
}

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

.check-list li {
    position: relative;
    margin: 10px 0;
    padding-left: 28px;
}

.check-list li::before {
    position: absolute;
    left: 0;
    color: var(--orange);
    content: "✓";
    font-weight: 900;
}

.about-section {
    display: grid;
    grid-template-columns: 0.65fr 1.35fr;
    gap: 70px;
    padding-top: 70px;
    border-top: 1px solid var(--line);
}

.about-lead {
    margin-top: 0;
    font-size: 1.18rem;
    font-weight: 600;
}

.about-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    color: var(--muted);
}

.app-subscribe {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 56px;
    align-items: center;
    padding: 54px 60px;
    color: #ffffff;
    background: linear-gradient(135deg, #ec5a27, #ff8b43);
    border-radius: var(--radius-lg);
}

.app-copy p {
    max-width: 690px;
    color: #fff3eb;
}

.app-copy .eyebrow {
    color: #ffe4d5;
}

.subscribe-form {
    display: flex;
    max-width: 610px;
    margin-top: 24px;
    gap: 10px;
}

.subscribe-form input {
    min-width: 0;
    flex: 1 1 auto;
    padding: 13px 16px;
    border: 0;
    border-radius: 12px;
    outline: none;
}

.subscribe-form .button {
    color: #ffffff;
    background: var(--navy);
    box-shadow: none;
}

.form-feedback {
    margin: 10px 0 0;
    font-size: 0.82rem;
}

.brand-qr {
    position: relative;
    display: grid;
    width: 170px;
    height: 170px;
    padding: 16px;
    overflow: hidden;
    background: #ffffff;
    border: 8px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 3px;
}

.brand-qr span {
    background: var(--navy);
}

.brand-qr span:nth-child(3n),
.brand-qr span:nth-child(7n) {
    background: #ffffff;
}

.brand-qr strong {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 60px;
    height: 60px;
    color: #ffffff;
    background: var(--orange);
    border: 5px solid #ffffff;
    border-radius: 50%;
    font-size: 0.82rem;
    place-items: center;
    transform: translate(-50%, -50%);
}

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

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

.breadcrumb-divider {
    color: #bbc0cc;
}

.category-hero {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 30px;
    align-items: center;
    margin-top: 28px;
    padding: 48px 52px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--line);
    border-top: 5px solid var(--accent);
    border-radius: var(--radius-lg);
}

.category-hero-icon {
    display: grid;
    width: 86px;
    height: 86px;
    color: #ffffff;
    background: var(--accent);
    border-radius: 25px;
    font-size: 2rem;
    place-items: center;
}

.category-hero h1 {
    margin: 4px 0 8px;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.1;
}

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

.category-count {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.category-count strong {
    color: var(--accent);
    font-size: 2.6rem;
    line-height: 1;
}

.category-count span {
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.78rem;
}

.category-list {
    display: grid;
    gap: 16px;
}

.category-list-item {
    display: grid;
    grid-template-columns: 126px minmax(0, 1fr) auto;
    align-items: center;
    gap: 26px;
    padding: 18px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}

.list-cover {
    display: block;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 3 / 4;
}

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

.list-label {
    color: var(--orange-dark);
    font-size: 0.78rem;
    font-weight: 800;
}

.list-main h2 {
    margin: 4px 0 7px;
    font-size: 1.35rem;
    line-height: 1.3;
}

.list-main p {
    margin: 0;
    color: var(--muted);
}

.list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 10px;
    color: #8a93a7;
    font-size: 0.78rem;
}

.seo-copy {
    padding: 40px 48px;
    background: #ffffff;
    border-left: 5px solid var(--orange);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.seo-copy h2 {
    margin-top: 0;
    font-size: 1.55rem;
}

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

.reader-header {
    padding-top: 44px;
    padding-bottom: 38px;
    text-align: center;
}

.reader-category {
    display: inline-flex;
    padding: 5px 12px;
    color: var(--orange-dark);
    background: #fff0e9;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
}

.reader-header h1 {
    margin: 18px auto 12px;
    font-size: clamp(2rem, 5vw, 3.6rem);
    line-height: 1.12;
    letter-spacing: -0.04em;
}

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

.reader-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 22px;
    margin-top: 18px;
    color: #8a93a7;
    font-size: 0.82rem;
}

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

.reading-note {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: start;
    margin-bottom: 40px;
    padding: 20px 24px;
    background: #fff7e9;
    border: 1px solid #f2dfb9;
    border-radius: 14px;
}

.reading-note strong {
    color: #9b6215;
}

.reading-note p {
    margin: 0;
    color: #735a3d;
}

.manga-chapter {
    width: min(calc(100% - 32px), 820px);
    margin: 0 auto;
}

.manga-page {
    margin: 0 0 18px;
    overflow: hidden;
    background: #111111;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(20, 29, 50, 0.12);
}

.manga-image {
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.manga-page figcaption {
    padding: 10px 16px;
    color: #aeb5c7;
    background: #111111;
    font-size: 0.75rem;
    text-align: center;
}

.chapter-prose {
    margin: 22px 0 46px;
    padding: 24px 28px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.chapter-prose h2,
.chapter-prose h3 {
    margin: 0 0 8px;
    font-size: 1.22rem;
}

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

.chapter-end {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin-top: 60px;
    padding: 34px;
    background: #ffffff;
    border-top: 3px solid var(--orange);
    border-radius: var(--radius-md);
    text-align: left;
}

.end-mark {
    display: grid;
    width: 64px;
    height: 64px;
    flex: 0 0 auto;
    color: #ffffff;
    background: var(--orange);
    border-radius: 50%;
    font-size: 1.3rem;
    font-weight: 900;
    place-items: center;
}

.chapter-end h2 {
    margin: 0 0 4px;
    font-size: 1.4rem;
}

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

.chapter-navigation {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 14px;
    margin-top: 26px;
    margin-bottom: 96px;
}

.chapter-link,
.chapter-home {
    display: flex;
    min-height: 58px;
    padding: 12px 18px;
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 12px;
    font-size: 0.86rem;
    font-weight: 800;
}

.chapter-link.next {
    justify-content: flex-end;
    text-align: right;
}

.chapter-home {
    color: #ffffff;
    background: var(--navy);
}

.chapter-link.disabled {
    color: #a5adbc;
    cursor: default;
}

.site-footer {
    margin-top: 30px;
    padding: 58px 0 24px;
    color: #c8cee0;
    background: var(--navy);
}

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

.footer-brand {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 900;
}

.footer-grid p {
    max-width: 470px;
    color: #9da7c2;
}

.footer-grid h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 0.96rem;
}

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

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 45px;
    padding-top: 22px;
    color: #808ba8;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.78rem;
}

.footer-bottom p {
    margin: 0;
}

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

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

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

    .primary-nav {
        position: fixed;
        top: 70px;
        right: 0;
        bottom: 0;
        left: 0;
        display: none;
        padding: 22px;
        align-content: start;
        overflow-y: auto;
        background: var(--navy);
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

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

    .primary-nav a {
        min-height: 86px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 12px;
    }

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

    .hero-copy {
        padding: 54px 42px;
    }

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

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

    .korean-showcase {
        grid-template-columns: 1fr;
    }

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

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

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

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

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

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

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

    .story-layout,
    .completed-panel,
    .bookshelf,
    .about-section {
        grid-template-columns: 1fr;
    }

    .story-cover {
        max-width: 460px;
        margin: 0 auto;
    }

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

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

    .note-card {
        min-height: auto;
    }

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

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

    .app-subscribe {
        grid-template-columns: 1fr;
    }

    .brand-qr {
        justify-self: center;
    }

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

    .category-count {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: baseline;
        justify-content: center;
        gap: 8px;
    }

    .category-list-item {
        grid-template-columns: 108px 1fr;
    }

    .category-list-item > .button {
        grid-column: 1 / -1;
    }

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

    .footer-grid > div:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .shell {
        width: min(calc(100% - 22px), var(--shell));
    }

    .brand-copy small {
        display: none;
    }

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

    .hero {
        border-radius: 22px;
    }

    .hero-copy {
        padding: 42px 24px;
    }

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

    .hero-actions,
    .subscribe-form {
        flex-direction: column;
    }

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

    .hero-stats {
        gap: 12px;
    }

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

    .hero-feature-copy {
        right: 24px;
        bottom: 24px;
        left: 24px;
    }

    .quick-strip,
    .category-grid {
        grid-template-columns: 1fr;
    }

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

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

    .comic-card p {
        font-size: 0.8rem;
    }

    .story-feature {
        padding: 52px 0;
    }

    .story-layout {
        gap: 48px;
    }

    .korean-showcase,
    .completed-panel,
    .bookshelf,
    .app-subscribe {
        padding: 34px 24px;
        border-radius: 20px;
    }

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

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

    .category-hero {
        grid-template-columns: 1fr;
        padding: 32px 24px;
        text-align: center;
    }

    .category-hero-icon {
        justify-self: center;
    }

    .category-list-item {
        grid-template-columns: 92px 1fr;
        gap: 14px;
        padding: 12px;
    }

    .list-main h2 {
        font-size: 1.04rem;
    }

    .list-main p {
        display: -webkit-box;
        overflow: hidden;
        font-size: 0.8rem;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .list-meta span {
        display: none;
    }

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

    .chapter-prose {
        padding: 20px;
    }

    .chapter-end {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .chapter-home {
        grid-row: 1;
        justify-content: center;
    }

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

    .footer-grid > div:first-child {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
