:root {
    --ink: #101827;
    --ink-soft: #536074;
    --paper: #f7f8fb;
    --surface: #ffffff;
    --line: #dfe4ec;
    --navy: #111a31;
    --navy-2: #172443;
    --coral: #ff5b65;
    --coral-dark: #e83d4d;
    --mint: #5eead4;
    --yellow: #ffd166;
    --shadow: 0 18px 50px rgba(23, 36, 67, 0.12);
    --radius-lg: 28px;
    --radius-md: 18px;
}

* {
    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", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    content: "";
    pointer-events: none;
    background-image: radial-gradient(circle at 10% 12%, rgba(94, 234, 212, 0.08), transparent 24%), radial-gradient(circle at 88% 22%, rgba(255, 91, 101, 0.08), transparent 20%);
}

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

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

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

button {
    font: inherit;
}

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

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

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

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

.brand img {
    width: 48px;
    height: 48px;
}

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

.brand-copy strong {
    font-size: 1.06rem;
    letter-spacing: 0.05em;
}

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

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

.main-nav a {
    display: grid;
    min-width: 55px;
    padding: 9px 8px 7px;
    color: #bfc8d9;
    border-radius: 12px;
    place-items: center;
    font-size: 0.86rem;
    line-height: 1.2;
    transition: 180ms ease;
}

.main-nav a:hover,
.main-nav a.is-active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.main-nav a.is-active {
    box-shadow: inset 0 -2px 0 var(--coral);
}

.nav-icon {
    margin-bottom: 3px;
    color: var(--mint);
    font-size: 1rem;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
}

.hero {
    position: relative;
    display: grid;
    min-height: 610px;
    margin-top: 40px;
    padding: 72px;
    color: #ffffff;
    background: var(--navy);
    border-radius: 36px;
    box-shadow: var(--shadow);
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    position: absolute;
    right: -90px;
    bottom: -190px;
    width: 560px;
    height: 560px;
    content: "";
    background: repeating-radial-gradient(circle, rgba(94, 234, 212, 0.17) 0 2px, transparent 2px 14px);
    border-radius: 50%;
}

.hero-copy {
    position: relative;
    z-index: 2;
    max-width: 590px;
}

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

.hero h1 {
    margin: 18px 0 20px;
    font-size: clamp(3.2rem, 7vw, 6.2rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.hero h1 a {
    color: #ffffff;
}

.hero-lead {
    max-width: 560px;
    margin: 0;
    color: #c8d1e1;
    font-size: 1.08rem;
}

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

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

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

.button-primary {
    color: #ffffff;
    background: var(--coral);
    box-shadow: 0 10px 24px rgba(255, 91, 101, 0.28);
}

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

.button-ghost {
    color: inherit;
    background: transparent;
    border-color: currentColor;
}

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

.hero-facts {
    display: flex;
    margin-top: 34px;
    color: #8fa0bc;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.84rem;
}

.hero-facts span::before {
    margin-right: 8px;
    color: var(--mint);
    content: "●";
}

.hero-panel {
    position: relative;
    z-index: 2;
    min-height: 450px;
}

.hero-cover {
    position: absolute;
    overflow: hidden;
    background: #263454;
    border: 8px solid #ffffff;
    border-radius: 24px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
}

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

.hero-cover span {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 4px 10px;
    color: var(--navy);
    background: var(--yellow);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 900;
}

.hero-cover-main {
    top: 10px;
    right: 54px;
    width: 270px;
    height: 375px;
    transform: rotate(4deg);
}

.hero-cover-side {
    right: 290px;
    bottom: 5px;
    width: 185px;
    height: 255px;
    transform: rotate(-7deg);
}

.sound-effect {
    position: absolute;
    top: 20px;
    left: 10px;
    color: var(--yellow);
    font-size: 3.8rem;
    font-weight: 900;
    letter-spacing: -0.12em;
    transform: rotate(-12deg);
    text-shadow: 4px 4px 0 var(--coral);
}

.pulse-bar {
    display: flex;
    margin-top: 24px;
    padding: 16px 22px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 16px;
    align-items: center;
    gap: 12px;
}

.pulse-bar p {
    margin: 0;
    color: var(--ink-soft);
    flex: 1;
}

.pulse-bar a {
    color: var(--coral-dark);
    font-weight: 800;
}

.pulse-dot {
    width: 9px;
    height: 9px;
    background: var(--coral);
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(255, 91, 101, 0.12);
}

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

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

.section-heading h2,
.guide-copy h2,
.about-heading h2,
.app-copy h2 {
    max-width: 720px;
    margin: 8px 0 0;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.2;
    letter-spacing: -0.04em;
}

.text-link {
    color: var(--coral-dark);
    font-weight: 800;
    white-space: nowrap;
}

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

.category-card {
    position: relative;
    min-height: 238px;
    padding: 24px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(23, 36, 67, 0.06);
    overflow: hidden;
    transition: 180ms ease;
}

.category-card::after {
    position: absolute;
    right: -30px;
    bottom: -36px;
    width: 110px;
    height: 110px;
    content: "";
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.12;
}

.category-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

.category-icon {
    display: grid;
    width: 46px;
    height: 46px;
    color: var(--navy);
    background: var(--accent);
    border-radius: 14px;
    place-items: center;
    font-size: 1.35rem;
    font-weight: 900;
}

.category-count {
    position: absolute;
    top: 28px;
    right: 24px;
    color: var(--ink-soft);
    font-size: 0.75rem;
}

.category-card h3 {
    margin: 24px 0 6px;
    font-size: 1.2rem;
}

.category-card p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.92rem;
}

.category-arrow {
    position: absolute;
    right: 24px;
    bottom: 19px;
    font-weight: 900;
}

.latest-feature {
    display: grid;
    padding: 26px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    grid-template-columns: 280px 1fr 0.82fr;
    gap: 30px;
}

.latest-feature-cover {
    overflow: hidden;
    border-radius: 20px;
}

.comic-cover {
    width: 100%;
    aspect-ratio: 3 / 4;
    background: #dce2eb;
    object-fit: cover;
}

.latest-feature-copy {
    align-self: center;
}

.latest-feature-copy h3 {
    margin: 14px 0 10px;
    font-size: 2rem;
    line-height: 1.25;
}

.latest-feature-copy p {
    color: var(--ink-soft);
}

.status-chip {
    display: inline-block;
    padding: 5px 10px;
    color: var(--coral-dark);
    background: #fff0f1;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 900;
}

.detail-list {
    padding: 0;
    color: var(--ink-soft);
    list-style: none;
    font-size: 0.86rem;
}

.latest-list {
    display: grid;
    align-content: center;
}

.latest-list a {
    display: grid;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    grid-template-columns: 42px 1fr;
}

.latest-list a:last-child {
    border-bottom: 0;
}

.latest-list a > span {
    color: var(--coral);
    font-weight: 900;
    grid-row: 1 / 3;
}

.latest-list small {
    color: var(--ink-soft);
}

.section-dark {
    padding: 96px 0;
    color: #ffffff;
    background: var(--navy);
}

.section-dark .eyebrow {
    color: var(--mint);
}

.section-dark .text-link {
    color: var(--yellow);
}

.ranking-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
}

.rank-champion {
    position: relative;
    display: grid;
    min-height: 420px;
    padding: 26px;
    background: var(--navy-2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    grid-template-columns: 230px 1fr;
    align-items: center;
    gap: 30px;
    overflow: hidden;
}

.rank-champion img {
    height: 340px;
    border-radius: 18px;
}

.rank-champion h3 {
    margin: 16px 0 10px;
    font-size: 2rem;
    line-height: 1.25;
}

.rank-champion p {
    color: #bdc7d9;
}

.rank-number {
    position: absolute;
    right: 10px;
    bottom: -42px;
    color: rgba(255, 255, 255, 0.045);
    font-size: 12rem;
    font-weight: 900;
    line-height: 1;
}

.rank-list {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 12px;
}

.rank-list a {
    display: grid;
    min-height: 94px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    grid-template-columns: 48px 1fr;
    align-items: center;
}

.rank-list a > span {
    color: var(--yellow);
    font-size: 1.2rem;
    font-weight: 900;
    grid-row: 1 / 3;
}

.rank-list small {
    color: #9ba8bf;
}

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

.korean-card {
    position: relative;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
}

.korean-card img {
    transition: transform 220ms ease;
}

.korean-card:hover img {
    transform: scale(1.03);
}

.korean-card > div {
    padding: 20px;
}

.korean-card span {
    color: #8c48c7;
    font-size: 0.78rem;
    font-weight: 800;
}

.korean-card h3 {
    margin: 7px 0 5px;
    line-height: 1.35;
}

.korean-card p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.schedule-section {
    padding: 38px;
    background: #fff8e7;
    border: 1px solid #f2dfb2;
    border-radius: var(--radius-lg);
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.schedule-grid article {
    display: grid;
    min-height: 220px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid #ead8ae;
    border-radius: 16px;
    align-content: start;
    gap: 9px;
}

.schedule-grid article.is-today {
    color: #ffffff;
    background: var(--coral);
    border-color: var(--coral);
    transform: translateY(-8px);
    box-shadow: 0 16px 30px rgba(255, 91, 101, 0.2);
}

.schedule-grid article > span {
    font-weight: 900;
}

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

.schedule-grid .is-today small {
    color: #ffe3e5;
}

.schedule-grid a {
    margin-top: auto;
    font-weight: 800;
}

.mood-section {
    display: grid;
    padding: 58px;
    color: #ffffff;
    background: linear-gradient(135deg, #1b2a50, #111a31);
    border-radius: 34px;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
    gap: 50px;
}

.mood-copy p {
    color: #b8c3d7;
}

.mood-cloud {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.mood-cloud a {
    padding: 13px 18px;
    color: var(--navy);
    background: #ffffff;
    border-radius: 999px;
    font-weight: 800;
    transform: rotate(var(--turn, 0deg));
}

.mood-cloud a:nth-child(2n) {
    --turn: 2deg;
    background: var(--mint);
}

.mood-cloud a:nth-child(3n) {
    --turn: -2deg;
    background: var(--yellow);
}

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

.editor-card {
    position: relative;
    display: grid;
    min-height: 260px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 22px;
    grid-template-columns: 150px 1fr;
    align-items: center;
    gap: 24px;
}

.editor-card img {
    border-radius: 14px;
}

.editor-card h3 {
    margin: 0 0 8px;
    font-size: 1.25rem;
}

.editor-card p {
    color: var(--ink-soft);
}

.editor-card div a {
    color: var(--coral-dark);
    font-weight: 800;
}

.editor-index {
    position: absolute;
    top: 8px;
    right: 18px;
    color: #edf0f5;
    font-size: 4.6rem;
    font-weight: 900;
    line-height: 1;
}

.completed-table {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 20px;
}

.completed-table > a {
    display: grid;
    min-height: 76px;
    padding: 15px 22px;
    border-bottom: 1px solid var(--line);
    grid-template-columns: 16px 1.2fr 1fr 120px 110px;
    align-items: center;
    gap: 14px;
}

.completed-table > a:last-child {
    border-bottom: 0;
}

.completed-table small,
.completed-table span {
    color: var(--ink-soft);
}

.completed-table em {
    color: var(--coral-dark);
    font-style: normal;
    font-weight: 800;
    text-align: right;
}

.completed-dot {
    width: 8px;
    height: 8px;
    background: #78b92c;
    border-radius: 50%;
}

.reading-guide {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    gap: 70px;
}

.guide-visual {
    position: relative;
    min-height: 430px;
    background: #dffaf5;
    border-radius: 50% 50% 45% 55%;
}

.phone-frame {
    position: absolute;
    top: 35px;
    left: 50%;
    display: grid;
    width: 230px;
    height: 380px;
    padding: 28px 22px;
    color: #ffffff;
    background: var(--navy);
    border: 8px solid #ffffff;
    border-radius: 38px;
    box-shadow: var(--shadow);
    transform: translateX(-50%) rotate(-5deg);
    align-content: start;
    gap: 24px;
}

.phone-frame i {
    width: 68%;
    height: 150px;
    margin: 0 auto;
    background: linear-gradient(160deg, var(--coral), var(--yellow));
    border-radius: 12px;
}

.guide-bubble {
    position: absolute;
    right: 25px;
    bottom: 60px;
    padding: 10px 15px;
    color: var(--navy);
    background: var(--yellow);
    border-radius: 999px;
    font-weight: 900;
}

.guide-copy > p {
    color: var(--ink-soft);
    font-size: 1.05rem;
}

.guide-points {
    display: grid;
    margin-top: 28px;
    gap: 12px;
}

.guide-points div {
    display: flex;
    padding: 15px 18px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 14px;
    gap: 14px;
}

.guide-points strong {
    color: var(--coral-dark);
}

.shelf-section {
    padding: 38px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.shelf-layout {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 30px;
}

.shelf-preview {
    min-height: 180px;
    padding: 22px;
    background: var(--paper);
    border: 2px dashed #cad2df;
    border-radius: 18px;
}

.shelf-preview ul {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.shelf-preview li {
    padding: 11px 13px;
    background: #ffffff;
    border-radius: 10px;
}

.shelf-layout aside {
    padding: 24px;
    color: #ffffff;
    background: var(--navy);
    border-radius: 18px;
}

.shelf-layout aside p {
    color: #b8c3d7;
}

.shelf-layout aside a {
    color: var(--mint);
    font-weight: 800;
}

.about-section {
    display: grid;
    padding: 58px;
    background: #eef2ff;
    border-radius: 34px;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 50px;
}

.about-copy p {
    margin-top: 0;
    color: #45526a;
}

.about-values {
    display: flex;
    grid-column: 1 / -1;
    gap: 10px;
}

.about-values span {
    flex: 1;
    padding: 14px;
    color: #ffffff;
    background: var(--navy);
    border-radius: 12px;
    font-weight: 900;
    text-align: center;
}

.app-section {
    display: grid;
    margin-bottom: 36px;
    padding: 58px;
    color: #ffffff;
    background: var(--navy);
    border-radius: 34px;
    grid-template-columns: 1fr 260px;
    align-items: center;
    gap: 50px;
}

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

.app-actions span {
    color: #94a3bb;
    font-size: 0.86rem;
}

.qr-card {
    display: grid;
    padding: 20px;
    color: var(--navy);
    background: #ffffff;
    border-radius: 22px;
    place-items: center;
}

.qr-pattern {
    display: grid;
    width: 146px;
    height: 146px;
    padding: 9px;
    background: var(--paper);
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
}

.qr-pattern i {
    background: #d6dce7;
}

.qr-pattern i.dark {
    background: var(--navy);
}

.qr-card strong {
    margin-top: 8px;
}

.qr-card span {
    color: var(--ink-soft);
    font-size: 0.78rem;
}

.site-footer {
    padding: 62px 0 22px;
    color: #b8c3d7;
    background: #0b1222;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 0.7fr 0.7fr;
    gap: 60px;
}

.footer-grid h2 {
    margin-top: 0;
    color: #ffffff;
    font-size: 1rem;
}

.footer-grid > div > a:not(.brand) {
    display: block;
    margin: 8px 0;
}

.copyright {
    display: flex;
    margin-top: 42px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    justify-content: space-between;
    gap: 20px;
    font-size: 0.78rem;
}

.breadcrumb {
    display: flex;
    margin-top: 34px;
    color: var(--ink-soft);
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.88rem;
}

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

.category-main {
    padding-bottom: 20px;
}

.category-hero {
    position: relative;
    display: grid;
    min-height: 420px;
    margin-top: 26px;
    padding: 58px;
    color: #ffffff;
    background: var(--navy);
    border-radius: 32px;
    grid-template-columns: 1fr 250px;
    align-items: center;
    gap: 50px;
    overflow: hidden;
}

.category-hero::after {
    position: absolute;
    right: -80px;
    bottom: -120px;
    width: 400px;
    height: 400px;
    content: "";
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.14;
}

.category-hero > div,
.category-feature-cover {
    position: relative;
    z-index: 2;
}

.category-hero-icon {
    display: grid;
    width: 58px;
    height: 58px;
    color: var(--navy);
    background: var(--accent);
    border-radius: 18px;
    place-items: center;
    font-size: 1.7rem;
    font-weight: 900;
}

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

.category-hero p:not(.eyebrow) {
    max-width: 640px;
    color: #c5cfdf;
}

.category-feature-cover {
    display: block;
    overflow: hidden;
    border: 7px solid #ffffff;
    border-radius: 22px;
    transform: rotate(4deg);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.32);
}

.category-feature-cover span {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 4px 10px;
    color: var(--navy);
    background: var(--accent);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 900;
}

.category-stats {
    display: flex;
    margin-top: 26px;
    flex-wrap: wrap;
    gap: 10px;
}

.category-stats span {
    padding: 5px 11px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    font-size: 0.8rem;
}

.category-editor-note {
    display: flex;
    margin-top: 30px;
    padding: 24px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-left: 5px solid var(--coral);
    border-radius: 16px;
    gap: 18px;
}

.category-editor-note > span {
    color: var(--coral);
    font-size: 1.7rem;
}

.category-editor-note h2 {
    margin: 0 0 4px;
    font-size: 1.16rem;
}

.category-editor-note p {
    margin: 0;
    color: var(--ink-soft);
}

.comic-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.comic-card {
    display: grid;
    padding: 18px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 22px;
    grid-template-columns: 175px 1fr;
    gap: 22px;
}

.cover-link {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
}

.cover-badge {
    position: absolute;
    bottom: 9px;
    left: 9px;
    padding: 4px 9px;
    color: #ffffff;
    background: var(--coral);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 900;
}

.card-body {
    display: flex;
    flex-direction: column;
}

.card-meta {
    margin: 0;
    color: var(--coral-dark);
    font-size: 0.78rem;
    font-weight: 800;
}

.card-body h3 {
    margin: 6px 0 8px;
    font-size: 1.28rem;
    line-height: 1.35;
}

.card-body > p:not(.card-meta) {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.save-button {
    display: inline-flex;
    min-height: 39px;
    margin-top: auto;
    padding: 0 14px;
    color: var(--navy);
    background: #eef2f7;
    border: 0;
    border-radius: 999px;
    align-items: center;
    align-self: flex-start;
    gap: 6px;
    font-weight: 800;
    cursor: pointer;
}

.save-button.is-saved {
    color: #ffffff;
    background: var(--navy);
}

.category-seo-copy {
    margin: 74px 0;
    padding: 34px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 20px;
}

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

.category-seo-copy p {
    color: var(--ink-soft);
}

.reader-main .breadcrumb {
    margin-bottom: 26px;
}

.reader-article {
    padding-bottom: 80px;
}

.reader-header {
    padding: 54px;
    color: #ffffff;
    background: var(--navy);
    border-radius: 30px;
    text-align: center;
}

.reader-category {
    display: inline-block;
    padding: 6px 12px;
    color: var(--navy);
    background: var(--accent);
    border-radius: 999px;
    font-weight: 900;
}

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

.reader-summary {
    max-width: 780px;
    margin: 0 auto;
    color: #c1ccdc;
}

.reader-meta {
    display: flex;
    margin-top: 24px;
    color: #96a5bc;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 0.84rem;
}

.reading-note {
    display: grid;
    margin-top: 24px;
    padding: 22px 26px;
    background: #fff8e7;
    border: 1px solid #f0dda9;
    border-radius: 16px;
    grid-template-columns: 32px 1fr auto;
    align-items: center;
    gap: 14px;
}

.reading-note > span {
    color: #d49a13;
    font-size: 1.4rem;
}

.reading-note p {
    margin: 2px 0 0;
    color: var(--ink-soft);
}

.chapter-nav {
    display: grid;
    margin-top: 28px;
    margin-bottom: 34px;
    padding: 14px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 14px;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 14px;
}

.chapter-nav a {
    font-weight: 800;
}

.chapter-nav a:last-child {
    text-align: right;
}

.chapter-nav span {
    color: var(--ink-soft);
    font-size: 0.88rem;
}

.comic-pages {
    width: min(900px, calc(100% - 40px));
    margin: 0 auto;
}

.comic-pages h2 {
    margin: 0 0 20px;
    text-align: center;
    font-size: 1.1rem;
}

.comic-page {
    margin: 0 0 34px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 14px 36px rgba(23, 36, 67, 0.08);
}

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

.comic-page figcaption {
    padding: 12px 18px;
    color: var(--ink-soft);
    font-size: 0.82rem;
    text-align: center;
}

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

.chapter-end > span {
    color: var(--coral);
    font-weight: 900;
    letter-spacing: 0.18em;
}

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

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

.chapter-end > div {
    display: flex;
    margin-top: 22px;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

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

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

.reader-related a {
    position: relative;
    padding: 12px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 16px;
}

.reader-related img {
    margin-bottom: 10px;
    border-radius: 10px;
}

.reader-related strong {
    display: block;
    line-height: 1.4;
}

.reader-related span {
    color: var(--ink-soft);
    font-size: 0.78rem;
}

.toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 200;
    max-width: 320px;
    padding: 12px 18px;
    color: #ffffff;
    background: var(--navy);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: 180ms ease;
}

.toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1050px) {
    .header-inner {
        flex-wrap: wrap;
        padding: 14px 0;
    }

    .nav-toggle {
        display: inline-grid;
        place-items: center;
    }

    .main-nav {
        display: none;
        width: 100%;
        padding-top: 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        grid-template-columns: repeat(5, 1fr);
    }

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

    .hero {
        min-height: 570px;
        padding: 54px;
        grid-template-columns: 1fr 0.75fr;
    }

    .hero-cover-main {
        right: 10px;
        width: 230px;
        height: 330px;
    }

    .hero-cover-side {
        right: 150px;
        width: 150px;
        height: 215px;
    }

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

    .latest-feature {
        grid-template-columns: 250px 1fr;
    }

    .latest-list {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 24px;
    }

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

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

    .site-header {
        position: relative;
    }

    .brand-copy small {
        display: none;
    }

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

    .main-nav a {
        min-width: 0;
    }

    .hero {
        min-height: auto;
        margin-top: 22px;
        padding: 38px 24px 28px;
        border-radius: 24px;
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: clamp(2.8rem, 16vw, 4.5rem);
    }

    .hero-panel {
        min-height: 340px;
        margin-top: 22px;
    }

    .hero-cover-main {
        right: 12%;
        width: 210px;
        height: 290px;
    }

    .hero-cover-side {
        right: auto;
        bottom: 0;
        left: 7%;
        width: 125px;
        height: 180px;
    }

    .sound-effect {
        left: 1%;
        font-size: 2.8rem;
    }

    .pulse-bar {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .pulse-bar p {
        width: calc(100% - 30px);
        flex: none;
    }

    .pulse-bar a {
        margin-left: 21px;
    }

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

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

    .category-grid,
    .korean-strip,
    .editor-grid,
    .comic-grid,
    .reader-related > div {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-card {
        min-height: 250px;
        padding: 18px;
    }

    .category-count {
        top: 20px;
        right: 18px;
    }

    .latest-feature,
    .ranking-layout,
    .rank-champion,
    .mood-section,
    .reading-guide,
    .about-section,
    .app-section,
    .category-hero,
    .shelf-layout {
        grid-template-columns: 1fr;
    }

    .latest-feature-cover {
        max-height: 440px;
    }

    .latest-feature-cover img {
        height: 100%;
    }

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

    .section-dark {
        padding: 70px 0;
    }

    .rank-champion {
        grid-template-columns: 160px 1fr;
    }

    .rank-champion img {
        height: 260px;
    }

    .schedule-section,
    .shelf-section {
        padding: 24px;
    }

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

    .mood-section,
    .about-section,
    .app-section {
        padding: 38px 24px;
    }

    .editor-card {
        grid-template-columns: 100px 1fr;
    }

    .completed-table > a {
        grid-template-columns: 14px 1fr auto;
    }

    .completed-table > a > span:nth-of-type(2),
    .completed-table small {
        display: none;
    }

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

    .qr-card {
        max-width: 230px;
    }

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

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

    .copyright {
        flex-direction: column;
    }

    .category-hero {
        padding: 38px 28px;
    }

    .category-feature-cover {
        display: none;
    }

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

    .card-body > p:not(.card-meta) {
        display: none;
    }

    .save-button {
        margin-top: 12px;
    }

    .reader-header {
        padding: 40px 22px;
    }

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

    .reading-note .save-button {
        grid-column: 2;
    }
}

@media (max-width: 480px) {
    .main-nav {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .category-grid,
    .korean-strip,
    .editor-grid,
    .comic-grid,
    .reader-related > div {
        grid-template-columns: 1fr;
    }

    .category-card {
        min-height: 220px;
    }

    .rank-champion {
        grid-template-columns: 1fr;
    }

    .rank-champion img {
        width: 100%;
        height: auto;
        max-height: 420px;
    }

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

    .schedule-grid article.is-today {
        transform: none;
    }

    .editor-card {
        grid-template-columns: 90px 1fr;
        gap: 15px;
    }

    .guide-visual {
        min-height: 390px;
    }

    .completed-table > a {
        grid-template-columns: 12px 1fr;
    }

    .completed-table em {
        grid-column: 2;
        text-align: left;
    }

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

    .chapter-nav span {
        grid-column: 1 / -1;
        grid-row: 1;
        text-align: center;
    }
}

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