:root {
    --bg: #07131e;
    --surface: #0d1d2a;
    --surface-2: #122838;
    --paper: #f7fafc;
    --ink: #10212e;
    --muted: #667684;
    --line: rgba(16, 33, 46, 0.12);
    --white: #ffffff;
    --coral: #ff6b6b;
    --coral-dark: #ec4c55;
    --aqua: #55d6c2;
    --gold: #ffc65c;
    --shadow: 0 24px 70px rgba(4, 15, 24, 0.12);
    --radius-lg: 32px;
    --radius-md: 20px;
    --radius-sm: 12px;
    --shell: min(1200px, calc(100% - 40px));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: #eef3f6;
    font-family: "Microsoft YaHei", "PingFang SC", system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.75;
    overflow-x: hidden;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    content: "";
    pointer-events: none;
    background-image: radial-gradient(circle at 18% 12%, rgba(85, 214, 194, 0.12), transparent 26%), radial-gradient(circle at 82% 20%, rgba(255, 107, 107, 0.11), transparent 26%);
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.shell {
    width: var(--shell);
    margin-right: auto;
    margin-left: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(7, 19, 30, 0.94);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: flex;
    width: var(--shell);
    min-height: 78px;
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
}

.brand,
.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    color: #08202a;
    border: 2px solid rgba(255, 255, 255, 0.55);
    border-radius: 16px 16px 16px 5px;
    background: linear-gradient(135deg, var(--aqua), #a8f3d5);
    font-size: 23px;
    font-weight: 900;
    place-items: center;
    transform: rotate(-3deg);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    color: var(--white);
    line-height: 1.15;
}

.brand-copy strong {
    font-size: 18px;
    letter-spacing: 0.06em;
}

.brand-copy small {
    margin-top: 5px;
    color: #87a3b4;
    font-size: 10px;
    letter-spacing: 0.24em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    display: flex;
    min-height: 44px;
    padding: 8px 10px;
    align-items: center;
    gap: 6px;
    color: #adc0cb;
    border-radius: 12px;
    font-size: 14px;
    white-space: nowrap;
    transition: 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.nav-link.is-active {
    box-shadow: inset 0 -2px 0 var(--coral);
}

.nav-icon {
    display: grid;
    width: 23px;
    height: 23px;
    color: var(--aqua);
    border: 1px solid rgba(85, 214, 194, 0.3);
    border-radius: 8px;
    font-size: 13px;
    place-items: center;
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 10px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    background: var(--white);
}

.hero {
    display: grid;
    min-height: 660px;
    margin-top: 40px;
    padding: 58px;
    grid-template-columns: 1.06fr 0.94fr;
    align-items: center;
    gap: 60px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 38px;
    background: linear-gradient(135deg, #0a2030 0%, #07131e 60%, #112f36 100%);
    box-shadow: 0 30px 90px rgba(4, 16, 26, 0.28);
    overflow: hidden;
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.hero-pill {
    display: inline-flex;
    padding: 7px 13px;
    color: #bff7eb;
    border: 1px solid rgba(85, 214, 194, 0.38);
    border-radius: 999px;
    background: rgba(85, 214, 194, 0.1);
    font-size: 13px;
}

.hero h1 {
    margin: 26px 0 18px;
    font-size: clamp(44px, 6vw, 76px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.hero h1 a {
    background: linear-gradient(90deg, #ffffff, #a7efe1 70%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead {
    max-width: 630px;
    color: #b7c8d2;
    font-size: 18px;
}

.hero-search {
    display: flex;
    margin-top: 28px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.07);
}

.hero-search input {
    min-width: 0;
    flex: 1;
    padding: 13px 15px;
    color: var(--white);
    border: 0;
    outline: none;
    background: transparent;
}

.hero-search input::placeholder {
    color: #7f98a7;
}

.hero-search button,
.button {
    display: inline-flex;
    min-height: 46px;
    padding: 11px 20px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
}

.hero-search button,
.button-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--coral), var(--coral-dark));
    box-shadow: 0 12px 28px rgba(255, 107, 107, 0.25);
}

.hero-actions {
    display: flex;
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.button-ghost {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
}

.button-light {
    color: #10212e;
    background: var(--white);
}

.hero-feature {
    position: relative;
    width: min(100%, 430px);
    margin: 0 auto;
}

.hero-art {
    position: relative;
    border: 10px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    transform: rotate(2deg);
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.38);
}

.hero-art img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.hero-art-caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    padding: 42px 24px 22px;
    flex-direction: column;
    background: linear-gradient(transparent, rgba(4, 15, 24, 0.95));
}

.hero-art-caption span {
    color: var(--aqua);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.hero-art-caption strong {
    font-size: 25px;
}

.hero-art-caption small {
    color: #b7c8d2;
}

.floating-note {
    position: absolute;
    z-index: 4;
    display: flex;
    padding: 12px 16px;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    background: rgba(11, 32, 45, 0.9);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
}

.floating-note span {
    color: #8da6b5;
    font-size: 12px;
}

.floating-note strong {
    font-size: 14px;
}

.note-one {
    top: 12%;
    left: -42px;
}

.note-two {
    right: -28px;
    bottom: 18%;
}

.quick-strip {
    display: grid;
    margin-top: 28px;
    padding: 22px 28px;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow);
}

.quick-item {
    display: flex;
    padding: 8px 20px;
    align-items: center;
    gap: 14px;
    border-right: 1px solid var(--line);
}

.quick-item:last-child {
    border-right: 0;
}

.quick-item > span {
    color: var(--coral);
    font-size: 24px;
}

.quick-item div {
    display: flex;
    flex-direction: column;
}

.quick-item small {
    color: var(--muted);
}

.home-section {
    margin-top: 104px;
    margin-bottom: 104px;
}

.section-heading {
    max-width: 740px;
    margin-bottom: 34px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--coral-dark);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.18em;
}

.section-heading h2,
.immersive-copy h2,
.about-copy h2,
.app-copy h2,
.editorial-note h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.2;
    letter-spacing: -0.035em;
}

.section-heading p,
.immersive-copy p,
.about-copy p,
.app-copy p,
.editorial-note p {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 17px;
}

.updates-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
}

.comic-card {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: 0 14px 40px rgba(8, 31, 46, 0.08);
    overflow: hidden;
}

.comic-cover {
    position: relative;
    display: block;
    overflow: hidden;
}

.comic-cover img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.comic-card:hover .comic-cover img {
    transform: scale(1.035);
}

.cover-badge {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 6px 10px;
    color: var(--white);
    border-radius: 999px;
    background: rgba(7, 19, 30, 0.82);
    font-size: 12px;
    backdrop-filter: blur(8px);
}

.comic-card-body {
    padding: 20px;
}

.card-kicker {
    color: var(--coral-dark);
    font-size: 12px;
    font-weight: 800;
}

.comic-card h3 {
    margin: 4px 0 8px;
    font-size: 21px;
    line-height: 1.35;
}

.comic-card p {
    display: -webkit-box;
    margin: 0;
    color: var(--muted);
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.card-meta {
    display: flex;
    margin-top: 15px;
    justify-content: space-between;
    color: #758693;
    font-size: 13px;
}

.card-featured {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
}

.card-featured .comic-cover img {
    height: 100%;
}

.card-featured .comic-card-body {
    display: flex;
    padding: 32px;
    flex-direction: column;
    justify-content: center;
}

.update-list {
    display: grid;
    gap: 12px;
}

.update-row {
    display: grid;
    min-height: 102px;
    padding: 18px 20px;
    grid-template-columns: 62px 1fr auto;
    align-items: center;
    gap: 18px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.86);
    transition: 0.2s ease;
}

.update-row:hover {
    border-color: rgba(255, 107, 107, 0.36);
    transform: translateX(4px);
}

.update-row time {
    color: var(--coral-dark);
    font-weight: 900;
}

.update-row div {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.update-row span {
    color: var(--muted);
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.update-row b {
    padding: 5px 9px;
    border-radius: 8px;
    background: #eff3f5;
    font-size: 12px;
}

.ranking-section {
    padding: 92px 0;
    color: var(--white);
    background: var(--bg);
}

.ranking-section .section-heading p {
    color: #94aab7;
}

.ranking-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ranking-list li {
    display: grid;
    padding: 20px 0;
    grid-template-columns: 70px 84px 1fr auto;
    align-items: center;
    gap: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rank-number {
    color: var(--coral);
    font-family: Georgia, serif;
    font-size: 32px;
    font-style: italic;
}

.ranking-list img {
    width: 84px;
    height: 84px;
    border-radius: 15px;
    object-fit: cover;
}

.rank-copy > span {
    color: var(--aqua);
    font-size: 12px;
}

.rank-copy h3 {
    margin: 2px 0;
    font-size: 21px;
}

.rank-copy p {
    margin: 0;
    color: #91a7b4;
    font-size: 14px;
}

.heat {
    color: var(--gold);
    font-size: 13px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.category-card {
    position: relative;
    min-height: 250px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--white);
    overflow: hidden;
    transition: 0.25s ease;
}

.category-card::after {
    position: absolute;
    right: -40px;
    bottom: -60px;
    width: 150px;
    height: 150px;
    content: "";
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.12;
}

.category-card:hover {
    border-color: var(--accent);
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.category-icon {
    display: grid;
    width: 52px;
    height: 52px;
    color: var(--accent);
    border-radius: 17px;
    background: color-mix(in srgb, var(--accent) 13%, white);
    font-size: 26px;
    place-items: center;
}

.category-card h3 {
    margin: 18px 0 8px;
    font-size: 23px;
}

.category-card p {
    margin: 0 0 17px;
    color: var(--muted);
}

.category-card strong {
    color: var(--accent);
    font-size: 14px;
}

.poster-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.poster-card {
    position: relative;
    min-height: 360px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(12, 38, 55, 0.15);
}

.poster-card img {
    width: 100%;
    height: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.poster-card:hover img {
    transform: scale(1.06);
}

.poster-card > span {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    padding: 55px 18px 18px;
    flex-direction: column;
    color: var(--white);
    background: linear-gradient(transparent, rgba(7, 19, 30, 0.95));
}

.poster-card strong {
    font-size: 18px;
}

.poster-card small {
    color: #bad0da;
}

.immersive-section {
    padding: 100px 0;
    color: var(--white);
    background: linear-gradient(135deg, #1a1742, #071b2d 62%, #0d3938);
    overflow: hidden;
}

.immersive-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    gap: 70px;
}

.immersive-copy p {
    color: #b2c1cf;
}

.tag-cloud {
    display: flex;
    margin: 25px 0;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-cloud span {
    padding: 6px 11px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    font-size: 13px;
}

.immersive-stack {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    transform: rotate(1deg);
}

.immersive-stack a {
    position: relative;
    border: 6px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
}

.immersive-stack a:nth-child(2) {
    transform: translateY(30px);
}

.immersive-stack img {
    width: 100%;
    height: 410px;
    object-fit: cover;
}

.immersive-stack strong {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 45px 15px 15px;
    background: linear-gradient(transparent, rgba(5, 14, 26, 0.92));
}

.mission-board {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.mission-card {
    min-height: 280px;
    padding: 24px;
    border: 1px solid #273b48;
    border-radius: 8px 26px 8px 26px;
    background: #0c1d29;
    color: var(--white);
}

.mission-card > span {
    color: var(--aqua);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.15em;
}

.mission-card h3 {
    margin: 26px 0 12px;
    font-size: 21px;
}

.mission-card p {
    min-height: 100px;
    margin: 0;
    color: #98acb8;
    font-size: 14px;
}

.mission-card a {
    display: inline-block;
    margin-top: 18px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 800;
}

.korean-rail {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.korean-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    border-radius: 100px 100px 20px 20px;
    background: var(--white);
    box-shadow: 0 16px 42px rgba(12, 38, 55, 0.1);
    overflow: hidden;
}

.korean-card img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.korean-card > div {
    padding: 20px;
}

.korean-card span {
    color: #3585b1;
    font-size: 12px;
    font-weight: 800;
}

.korean-card h3 {
    margin: 4px 0 8px;
    font-size: 18px;
}

.korean-card p {
    display: -webkit-box;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.korean-card a {
    display: inline-block;
    margin-top: 15px;
    color: var(--coral-dark);
    font-weight: 800;
}

.schedule-section {
    padding: 90px 0;
    background: #dff3f0;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border: 1px solid rgba(10, 42, 52, 0.11);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.7);
    overflow: hidden;
}

.schedule-day {
    display: flex;
    min-height: 170px;
    padding: 20px 16px;
    flex-direction: column;
    justify-content: space-between;
    border-right: 1px solid rgba(10, 42, 52, 0.11);
}

.schedule-day:last-child {
    border-right: 0;
}

.schedule-day span {
    color: #367a78;
    font-size: 13px;
    font-weight: 900;
}

.schedule-day strong {
    font-size: 17px;
    line-height: 1.45;
}

.schedule-day time {
    color: var(--coral-dark);
    font-size: 13px;
}

.guide-layout {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.guide-layout article {
    padding: 28px;
    border-top: 4px solid var(--coral);
    background: var(--white);
    box-shadow: 0 14px 35px rgba(7, 30, 45, 0.08);
}

.guide-layout span {
    color: #c6d0d6;
    font-family: Georgia, serif;
    font-size: 40px;
}

.guide-layout h3 {
    margin: 16px 0 8px;
}

.guide-layout p {
    margin: 0;
    color: var(--muted);
}

.editorial-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
}

.editorial-note,
.stats-panel {
    padding: 46px;
    border-radius: 30px;
}

.editorial-note {
    background: var(--white);
}

.editorial-note a {
    display: inline-block;
    margin-top: 22px;
    color: var(--coral-dark);
    font-weight: 800;
}

.stats-panel {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    color: var(--white);
    background: #213846;
}

.stats-panel div {
    display: flex;
    padding: 28px;
    flex-direction: column;
    justify-content: center;
    background: #102532;
}

.stats-panel strong {
    color: var(--aqua);
    font-size: 36px;
}

.stats-panel span {
    color: #9eb0bb;
}

.about-section {
    display: grid;
    padding: 56px;
    grid-template-columns: 220px 1fr;
    gap: 48px;
    border-radius: 34px;
    background: #fff3e8;
}

.about-symbol {
    display: grid;
    min-height: 320px;
    color: var(--white);
    border-radius: 120px 120px 28px 28px;
    background: linear-gradient(160deg, var(--coral), #7f3d7b);
    font-family: Georgia, serif;
    font-size: 80px;
    place-items: center;
}

.about-list {
    display: grid;
    margin: 28px 0 0;
    padding: 0;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 25px;
    list-style: none;
}

.about-list li::before {
    margin-right: 8px;
    color: var(--coral-dark);
    content: "✓";
    font-weight: 900;
}

.app-section {
    display: grid;
    padding: 55px;
    grid-template-columns: 1fr 260px;
    align-items: center;
    gap: 70px;
    color: var(--white);
    border-radius: 34px;
    background: linear-gradient(120deg, #0a1d2a, #123b46);
}

.app-copy p {
    color: #a9bec9;
}

.app-copy small {
    display: block;
    margin-top: 12px;
    color: #819aa8;
}

.app-copy .button {
    margin-top: 24px;
}

.brand-qr {
    position: relative;
    display: grid;
    width: 220px;
    height: 220px;
    padding: 22px;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 5px;
    border: 10px solid var(--white);
    border-radius: 26px;
    background: var(--white);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
}

.brand-qr span {
    border-radius: 3px;
    background: #0b2634;
}

.brand-qr span:nth-child(2n) {
    background: transparent;
}

.brand-qr span:nth-child(3n) {
    background: var(--coral);
}

.brand-qr strong {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 58px;
    height: 58px;
    color: #08202a;
    border: 6px solid var(--white);
    border-radius: 16px;
    background: var(--aqua);
    font-size: 26px;
    place-items: center;
    transform: translate(-50%, -50%);
}

.breadcrumbs {
    display: flex;
    margin-top: 34px;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 14px;
}

.breadcrumbs a:hover {
    color: var(--coral-dark);
}

.category-hero {
    position: relative;
    display: grid;
    margin-top: 24px;
    padding: 52px 56px;
    grid-template-columns: 130px 1fr;
    align-items: center;
    gap: 40px;
    color: var(--white);
    border-radius: 32px;
    background: linear-gradient(135deg, #0a1e2b, color-mix(in srgb, var(--accent) 28%, #0a1e2b));
    overflow: hidden;
}

.category-hero-icon {
    display: grid;
    width: 120px;
    height: 120px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 36px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 56px;
    place-items: center;
    transform: rotate(-5deg);
}

.category-hero h1 {
    margin: 0;
    font-size: clamp(38px, 6vw, 66px);
    line-height: 1.15;
}

.category-hero p {
    max-width: 800px;
    margin: 13px 0 0;
    color: #c1d0d8;
}

.category-facts {
    display: flex;
    margin-top: 24px;
    flex-wrap: wrap;
    gap: 9px;
}

.category-facts span {
    padding: 6px 11px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    font-size: 13px;
}

.catalog-section {
    margin-top: 78px;
    margin-bottom: 78px;
}

.catalog-toolbar {
    display: flex;
    margin-bottom: 28px;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.catalog-toolbar h2 {
    margin: 0;
    font-size: 34px;
}

.catalog-toolbar > span {
    color: var(--muted);
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.catalog-grid .comic-card-body {
    padding: 18px;
}

.catalog-grid .comic-card p {
    font-size: 14px;
}

.category-note {
    display: grid;
    margin-top: 0;
    margin-bottom: 90px;
    padding: 36px;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 45px;
    border-left: 5px solid var(--coral);
    background: var(--white);
}

.category-note h2 {
    margin: 0;
}

.category-note p {
    margin: 0;
    color: var(--muted);
}

.reader-page {
    background: #e8eef2;
}

.reader-shell {
    margin-top: 24px;
    margin-bottom: 90px;
}

.reader-header {
    display: grid;
    padding: 45px;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 35px;
    color: var(--white);
    border-radius: 30px 30px 0 0;
    background: #091b27;
}

.reader-category {
    color: var(--aqua);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.reader-header h1 {
    margin: 8px 0 4px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.15;
}

.reader-header p {
    margin: 0;
    color: #9cb0bc;
}

.reader-meta {
    display: grid;
    margin: 0;
    grid-template-columns: auto auto;
    gap: 4px 18px;
    font-size: 13px;
}

.reader-meta dt {
    color: #7f97a5;
}

.reader-meta dd {
    margin: 0;
    text-align: right;
}

.reading-note {
    display: grid;
    padding: 22px 28px;
    grid-template-columns: 42px 1fr auto;
    align-items: center;
    gap: 16px;
    background: #dff3f0;
}

.reading-note > span {
    display: grid;
    width: 38px;
    height: 38px;
    color: #175d5b;
    border-radius: 50%;
    background: #a8e8dd;
    font-family: Georgia, serif;
    font-weight: 900;
    place-items: center;
}

.reading-note h2 {
    margin: 0;
    font-size: 17px;
}

.reading-note p {
    margin: 1px 0 0;
    color: #3f6669;
    font-size: 14px;
}

.bookmark-button {
    min-height: 42px;
    padding: 8px 14px;
    color: #175d5b;
    border: 1px solid rgba(23, 93, 91, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.65);
    cursor: pointer;
}

.bookmark-button.is-saved {
    color: var(--white);
    background: #287a72;
}

.chapter-copy {
    padding: 42px max(30px, 9vw);
    text-align: center;
    background: var(--white);
}

.chapter-copy h2 {
    margin-top: 0;
    font-size: 28px;
}

.chapter-copy p {
    max-width: 760px;
    margin: 10px auto;
    color: var(--muted);
}

.comic-pages {
    padding: 45px 0;
    background: #0a1822;
}

.comic-page {
    width: min(900px, calc(100% - 40px));
    margin: 0 auto 32px;
}

.comic-page img {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 6px;
    background: #162733;
    object-fit: cover;
}

.comic-page figcaption {
    display: flex;
    padding: 10px 4px;
    justify-content: space-between;
    color: #93a8b4;
    font-size: 13px;
}

.comic-page figcaption strong {
    color: #d5e1e7;
}

.chapter-end {
    padding: 70px 30px;
    text-align: center;
    background: var(--white);
}

.chapter-end-mark {
    display: inline-flex;
    padding: 8px 18px;
    color: var(--white);
    border-radius: 999px;
    background: var(--coral-dark);
    font-size: 13px;
}

.chapter-end h2 {
    margin: 20px 0 8px;
}

.chapter-end p {
    margin: 0;
    color: var(--muted);
}

.chapter-nav {
    display: grid;
    margin-top: 24px;
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
    gap: 12px;
}

.chapter-nav a {
    display: flex;
    min-height: 92px;
    padding: 17px 20px;
    flex-direction: column;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
}

.chapter-nav span {
    color: var(--muted);
    font-size: 12px;
}

.chapter-next {
    text-align: right;
}

.chapter-center {
    align-items: center;
    text-align: center;
}

.site-footer {
    padding: 58px 0 30px;
    color: #9db1bc;
    background: #06121b;
}

.footer-inner {
    width: var(--shell);
    margin: 0 auto;
}

.footer-brand strong {
    display: block;
    color: var(--white);
}

.footer-brand p {
    margin: 2px 0 0;
}

.footer-links {
    display: flex;
    margin: 32px 0;
    padding: 20px 0;
    flex-wrap: wrap;
    gap: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-links a:hover {
    color: var(--white);
}

.copyright {
    margin: 0;
    font-size: 13px;
}

.toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 80;
    max-width: min(360px, calc(100% - 48px));
    padding: 13px 18px;
    color: var(--white);
    border-radius: 12px;
    background: #0e2937;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px);
    transition: 0.25s ease;
}

.toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1080px) {
    .nav-toggle {
        display: block;
        margin-left: auto;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 1px);
        right: 20px;
        left: 20px;
        display: none;
        padding: 14px;
        grid-template-columns: repeat(2, 1fr);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 18px;
        background: #0a1d2a;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    }

    .main-nav.is-open {
        display: grid;
    }

    .hero {
        padding: 45px;
        grid-template-columns: 1fr 0.8fr;
        gap: 35px;
    }

    .quick-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-item:nth-child(2) {
        border-right: 0;
    }

    .quick-item:nth-child(-n + 2) {
        border-bottom: 1px solid var(--line);
    }

    .poster-grid,
    .catalog-grid,
    .mission-board,
    .korean-rail {
        grid-template-columns: repeat(3, 1fr);
    }

    .poster-card:nth-last-child(-n + 2),
    .catalog-grid .comic-card:nth-last-child(-n + 2),
    .mission-card:nth-last-child(-n + 2),
    .korean-card:nth-last-child(-n + 2) {
        grid-column: span 1;
    }

    .schedule-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .schedule-day:nth-child(4) {
        border-right: 0;
    }

    .schedule-day:nth-child(-n + 4) {
        border-bottom: 1px solid rgba(10, 42, 52, 0.11);
    }

    .guide-layout {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 780px) {
    :root {
        --shell: min(100% - 28px, 1200px);
    }

    .header-inner {
        min-height: 70px;
    }

    .hero {
        min-height: auto;
        margin-top: 24px;
        padding: 34px 24px;
        grid-template-columns: 1fr;
        border-radius: 25px;
    }

    .hero-feature {
        width: min(88%, 390px);
    }

    .floating-note {
        display: none;
    }

    .quick-strip {
        margin-top: 18px;
        padding: 12px;
    }

    .quick-item {
        padding: 12px;
    }

    .home-section {
        margin-top: 72px;
        margin-bottom: 72px;
    }

    .updates-layout,
    .immersive-grid,
    .editorial-layout,
    .about-section,
    .app-section,
    .category-hero,
    .category-note,
    .reader-header {
        grid-template-columns: 1fr;
    }

    .card-featured {
        grid-template-columns: 0.8fr 1.2fr;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .poster-grid,
    .catalog-grid,
    .mission-board,
    .korean-rail {
        grid-template-columns: repeat(2, 1fr);
    }

    .ranking-list li {
        grid-template-columns: 48px 70px 1fr;
    }

    .ranking-list img {
        width: 70px;
        height: 70px;
    }

    .heat {
        display: none;
    }

    .immersive-stack img {
        height: 320px;
    }

    .schedule-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .schedule-day {
        min-height: 145px;
        border-bottom: 1px solid rgba(10, 42, 52, 0.11);
    }

    .schedule-day:nth-child(2n) {
        border-right: 0;
    }

    .about-section,
    .app-section {
        padding: 34px;
        gap: 32px;
    }

    .about-symbol {
        min-height: 150px;
        border-radius: 80px 80px 22px 22px;
    }

    .brand-qr {
        margin: 0 auto;
    }

    .category-hero {
        padding: 35px;
    }

    .category-hero-icon {
        width: 86px;
        height: 86px;
        font-size: 42px;
    }

    .reader-header {
        padding: 32px;
    }

    .reader-meta dd {
        text-align: left;
    }

    .reading-note {
        grid-template-columns: 36px 1fr;
    }

    .bookmark-button {
        grid-column: 1 / -1;
    }
}

@media (max-width: 520px) {
    .brand-copy small {
        display: none;
    }

    .brand-mark {
        width: 41px;
        height: 41px;
    }

    .main-nav {
        grid-template-columns: 1fr;
        max-height: calc(100vh - 90px);
        overflow-y: auto;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-search {
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }

    .quick-strip,
    .category-grid,
    .poster-grid,
    .catalog-grid,
    .mission-board,
    .korean-rail,
    .guide-layout,
    .stats-panel,
    .about-list {
        grid-template-columns: 1fr;
    }

    .quick-item {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .quick-item:last-child {
        border-bottom: 0;
    }

    .card-featured {
        grid-template-columns: 1fr;
    }

    .update-row {
        grid-template-columns: 52px 1fr;
    }

    .update-row b {
        display: none;
    }

    .ranking-list li {
        grid-template-columns: 42px 62px 1fr;
        gap: 12px;
    }

    .rank-copy p {
        display: none;
    }

    .immersive-stack {
        grid-template-columns: repeat(3, 72%);
        padding-bottom: 15px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    .immersive-stack a {
        scroll-snap-align: center;
    }

    .immersive-stack a:nth-child(2) {
        transform: none;
    }

    .poster-card {
        min-height: 430px;
    }

    .korean-card {
        border-radius: 90px 90px 20px 20px;
    }

    .schedule-grid {
        grid-template-columns: 1fr;
    }

    .schedule-day {
        min-height: 120px;
        border-right: 0;
    }

    .about-section,
    .app-section,
    .editorial-note,
    .stats-panel {
        padding: 28px 22px;
    }

    .category-hero {
        padding: 28px 22px;
    }

    .catalog-toolbar {
        align-items: start;
        flex-direction: column;
    }

    .category-note {
        padding: 26px 22px;
        gap: 15px;
    }

    .chapter-copy {
        padding: 34px 22px;
    }

    .chapter-nav {
        grid-template-columns: 1fr 1fr;
    }

    .chapter-center {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .chapter-nav strong {
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
