:root {
    --ink: #29242b;
    --muted: #756e77;
    --paper: #fffaf6;
    --cream: #f7eee7;
    --rose: #e86f61;
    --rose-dark: #bb4d45;
    --plum: #6e5278;
    --sage: #55776f;
    --line: rgba(69, 54, 69, 0.13);
    --shadow: 0 24px 70px rgba(79, 49, 61, 0.12);
    --radius-large: 34px;
    --radius-medium: 22px;
    --max-width: 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", sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(circle at 12% 18%, rgba(232, 111, 97, 0.08), transparent 25%), radial-gradient(circle at 85% 45%, rgba(110, 82, 120, 0.07), transparent 24%);
    content: "";
    pointer-events: none;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button {
    color: inherit;
    font: inherit;
}

.section-shell,
.header-inner,
.footer-inner {
    width: min(calc(100% - 40px), var(--max-width));
    margin-right: auto;
    margin-left: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(69, 54, 69, 0.08);
    background: rgba(255, 250, 246, 0.92);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: flex;
    min-height: 88px;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
}

.brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    display: inline-grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 16px 16px 16px 5px;
    color: #ffffff;
    background: linear-gradient(145deg, var(--rose), #d65a75);
    box-shadow: 0 10px 24px rgba(216, 87, 103, 0.25);
    font-family: Georgia, "Noto Serif SC", serif;
    font-size: 25px;
    font-weight: 700;
    transform: rotate(-3deg);
}

.brand-text {
    display: grid;
    line-height: 1.2;
}

.brand-text strong {
    font-family: Georgia, "Noto Serif SC", serif;
    font-size: 20px;
}

.brand-text small {
    margin-top: 5px;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 0.12em;
}

.main-navigation ul {
    display: flex;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: 3px;
    list-style: none;
}

.nav-link {
    display: flex;
    min-width: 66px;
    padding: 8px 8px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 13px;
    color: #655e67;
    font-size: 13px;
    transition: 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--rose-dark);
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(68, 48, 61, 0.08);
}

.nav-icon {
    font-size: 15px;
}

.menu-button {
    display: none;
    padding: 9px 13px;
    align-items: center;
    gap: 9px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #ffffff;
    cursor: pointer;
}

.content-section {
    margin-top: 100px;
    margin-bottom: 100px;
}

.hero {
    display: grid;
    min-height: 610px;
    margin-top: 48px;
    padding: 70px;
    grid-template-columns: 0.96fr 1.04fr;
    align-items: center;
    gap: 40px;
    border: 1px solid rgba(232, 111, 97, 0.12);
    border-radius: 42px;
    background: linear-gradient(135deg, #fff3eb 0%, #f9e9e8 45%, #f2eaf3 100%);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--rose-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.22em;
}

.hero h1 {
    margin: 0;
    font-family: Georgia, "Noto Serif SC", serif;
    font-size: clamp(58px, 7vw, 94px);
    line-height: 1.04;
    letter-spacing: -0.06em;
}

.hero h1 a {
    background: linear-gradient(120deg, #382b3b, #b15463 72%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-lead {
    max-width: 520px;
    margin: 24px 0 0;
    color: #5e555f;
    font-size: 18px;
    line-height: 1.95;
}

.hero-actions {
    display: flex;
    margin-top: 34px;
    flex-wrap: wrap;
    gap: 13px;
}

.button {
    display: inline-flex;
    min-height: 48px;
    padding: 0 22px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--rose), #cf5b73);
    box-shadow: 0 12px 28px rgba(207, 91, 115, 0.26);
}

.button-light {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.82);
}

.button-dark {
    color: #ffffff;
    background: var(--ink);
}

.button-glass {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.12);
}

.hero-stats {
    display: flex;
    margin: 42px 0 0;
    padding: 0;
    gap: 30px;
    list-style: none;
}

.hero-stats li {
    display: grid;
}

.hero-stats strong {
    font-family: Georgia, serif;
    font-size: 24px;
}

.hero-stats span {
    color: var(--muted);
    font-size: 12px;
}

.hero-art {
    position: relative;
    min-height: 460px;
}

.hero-cover {
    position: absolute;
    display: block;
    border: 8px solid #ffffff;
    background: #ddd;
    box-shadow: 0 30px 70px rgba(79, 49, 61, 0.2);
    overflow: hidden;
}

.hero-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-cover-main {
    top: 3%;
    left: 13%;
    z-index: 2;
    width: 59%;
    aspect-ratio: 3 / 4;
    border-radius: 34px 34px 34px 8px;
    transform: rotate(-4deg);
}

.hero-cover-main span {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 7px 12px;
    border-radius: 999px;
    color: #ffffff;
    background: var(--rose);
    font-size: 12px;
    font-weight: 700;
}

.hero-cover-side {
    right: 0;
    bottom: 0;
    z-index: 1;
    width: 43%;
    aspect-ratio: 3 / 4;
    border-radius: 28px 28px 8px 28px;
    transform: rotate(8deg);
}

.hero-note {
    position: absolute;
    right: 7%;
    bottom: 3%;
    z-index: 3;
    display: flex;
    width: 205px;
    padding: 15px;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 16px 34px rgba(59, 36, 51, 0.13);
    backdrop-filter: blur(12px);
}

.hero-note span {
    color: var(--rose);
    font-size: 25px;
}

.hero-note p {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
}

.hero-petal {
    position: absolute;
    border-radius: 60% 10% 60% 20%;
    background: rgba(232, 111, 97, 0.18);
}

.hero-petal-one {
    top: -30px;
    right: 12%;
    width: 110px;
    height: 70px;
    transform: rotate(18deg);
}

.hero-petal-two {
    bottom: 40px;
    left: 0;
    width: 80px;
    height: 50px;
    transform: rotate(-28deg);
}

.section-heading {
    margin-bottom: 38px;
}

.section-heading h2,
.feature-copy h3,
.ranking-intro h2,
.romance-title-card h2,
.service-copy h2,
.about-copy h2,
.app-copy h2,
.category-seo-copy h2 {
    margin: 0;
    font-family: Georgia, "Noto Serif SC", serif;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.25;
}

.section-heading > p,
.section-heading div > p:last-child {
    color: var(--muted);
}

.section-heading-center {
    max-width: 680px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.section-heading-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
}

.section-heading-row > p {
    max-width: 430px;
    margin: 0;
}

.text-link {
    color: var(--rose-dark);
    font-weight: 700;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.category-card {
    position: relative;
    min-height: 250px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius-medium);
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(64, 48, 59, 0.06);
    overflow: hidden;
    transition: 0.25s ease;
}

.category-card:first-child {
    grid-column: span 2;
}

.category-card:hover {
    border-color: color-mix(in srgb, var(--accent) 45%, white);
    transform: translateY(-5px);
}

.category-card::after {
    position: absolute;
    right: -25px;
    bottom: -35px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--accent) 13%, white);
    content: "";
}

.category-icon {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    border-radius: 15px;
    color: #ffffff;
    background: var(--accent);
    font-size: 23px;
}

.category-card h3 {
    margin: 20px 0 8px;
    font-size: 20px;
}

.category-card p {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 14px;
}

.feature-stage {
    padding: 38px;
    border-radius: 34px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.feature-layout {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    align-items: stretch;
    gap: 45px;
}

.feature-image {
    position: relative;
    min-height: 480px;
    border-radius: 26px 26px 26px 8px;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-number {
    position: absolute;
    right: 18px;
    bottom: 8px;
    color: rgba(255, 255, 255, 0.86);
    font-family: Georgia, serif;
    font-size: 80px;
}

.feature-copy {
    display: flex;
    padding: 30px 20px 30px 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.feature-copy h3 {
    margin-bottom: 20px;
}

.feature-copy > p:not(.story-kicker) {
    color: var(--muted);
}

.feature-copy blockquote {
    margin: 20px 0 28px;
    padding: 18px 20px;
    border-left: 3px solid var(--rose);
    color: var(--plum);
    background: var(--cream);
    font-family: Georgia, "Noto Serif SC", serif;
}

.story-kicker {
    margin: 0 0 7px;
    color: var(--rose-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.story-grid {
    display: grid;
    gap: 22px;
}

.story-grid-three {
    grid-template-columns: repeat(3, 1fr);
}

.story-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-medium);
    background: #ffffff;
    overflow: hidden;
    transition: 0.25s ease;
}

.story-card:hover {
    box-shadow: 0 20px 46px rgba(62, 45, 58, 0.1);
    transform: translateY(-5px);
}

.story-cover {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.story-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.story-card:hover .story-cover img {
    transform: scale(1.04);
}

.story-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 11px;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.story-copy {
    padding: 22px;
}

.story-copy h3 {
    margin: 0 0 9px;
    font-family: Georgia, "Noto Serif SC", serif;
    font-size: 22px;
}

.story-copy > p:not(.story-kicker) {
    display: -webkit-box;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.story-meta {
    display: flex;
    margin-top: 18px;
    padding-top: 15px;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
}

.favorite-button {
    padding: 5px 9px;
    border: 0;
    border-radius: 9px;
    color: var(--rose-dark);
    background: #fff2ef;
    cursor: pointer;
}

.favorite-button.is-saved {
    color: #ffffff;
    background: var(--rose);
}

.update-status {
    display: inline-flex;
    padding: 8px 12px;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    color: var(--sage);
    background: #edf5f2;
    font-size: 12px;
}

.update-status i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #45a37f;
    box-shadow: 0 0 0 4px rgba(69, 163, 127, 0.15);
}

.full-bleed-panel {
    padding: 90px 0;
    color: #ffffff;
    background: linear-gradient(135deg, #362b42, #744b68 58%, #8f586a);
}

.section-heading-light .eyebrow,
.section-heading-light > div > p:last-child {
    color: #f3c2c3;
}

.section-heading-light > div > p:last-child {
    max-width: 640px;
}

.korean-rail {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.rail-card a {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    border-radius: 20px 20px 20px 5px;
    overflow: hidden;
}

.rail-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.rail-card:hover img {
    transform: scale(1.05);
}

.rail-card a::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 42%, rgba(29, 19, 31, 0.92));
    content: "";
}

.rail-index {
    position: absolute;
    top: 11px;
    left: 11px;
    z-index: 2;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    color: var(--ink);
    font-family: Georgia, serif;
}

.rail-overlay {
    position: absolute;
    right: 15px;
    bottom: 15px;
    left: 15px;
    z-index: 2;
    display: grid;
}

.rail-overlay strong {
    font-family: Georgia, "Noto Serif SC", serif;
    font-size: 17px;
}

.rail-overlay small {
    color: #dfcedf;
}

.ranking-section {
    display: grid;
    grid-template-columns: 0.38fr 0.62fr;
    gap: 70px;
}

.ranking-intro {
    position: sticky;
    top: 125px;
    align-self: start;
}

.ranking-intro p:not(.eyebrow) {
    color: var(--muted);
}

.ranking-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ranking-list li {
    display: grid;
    padding: 18px 0;
    grid-template-columns: 60px 76px 1fr auto;
    align-items: center;
    gap: 18px;
    border-bottom: 1px solid var(--line);
}

.ranking-list img {
    width: 76px;
    height: 76px;
    border-radius: 16px;
    object-fit: cover;
}

.rank-number {
    color: #c7a0a1;
    font-family: Georgia, serif;
    font-size: 30px;
}

.ranking-list h3,
.ranking-list p {
    margin: 0;
}

.ranking-list p,
.rank-change {
    color: var(--muted);
    font-size: 12px;
}

.romance-section {
    display: grid;
    padding: 48px;
    grid-template-columns: 0.38fr 0.62fr;
    gap: 42px;
    border-radius: 34px;
    background: linear-gradient(135deg, #f7dedf, #f2e8ef);
}

.romance-title-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.romance-title-card p:not(.eyebrow) {
    color: #6f5964;
}

.large-symbol {
    color: rgba(198, 88, 111, 0.32);
    font-family: Georgia, serif;
    font-size: 66px;
    line-height: 1;
}

.romance-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.romance-card {
    position: relative;
    min-height: 250px;
    border: 6px solid rgba(255, 255, 255, 0.65);
    border-radius: 19px;
    overflow: hidden;
}

.romance-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.romance-card > span {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    padding: 35px 15px 15px;
    color: #ffffff;
    background: linear-gradient(transparent, rgba(45, 27, 40, 0.9));
}

.romance-card small {
    color: #f5dfe7;
}

.mood-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.mood-card {
    display: flex;
    min-height: 190px;
    padding: 28px;
    align-items: center;
    gap: 22px;
    border-radius: var(--radius-medium);
}

.mood-card > span {
    font-size: 48px;
}

.mood-card h3,
.mood-card p {
    margin: 0;
}

.mood-card p {
    margin-top: 7px;
    color: #665d65;
    font-size: 14px;
}

.mood-morning {
    background: #f8e8ce;
}

.mood-evening {
    color: #ffffff;
    background: #557f7f;
}

.mood-evening p {
    color: #dbe9e6;
}

.mood-night {
    color: #ffffff;
    background: #4a3e5b;
}

.mood-night p {
    color: #ded6e7;
}

.editorial-notes {
    padding-top: 80px;
    padding-bottom: 80px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.note-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.note-card {
    padding: 30px;
    border-radius: var(--radius-medium);
    background: #ffffff;
    box-shadow: 0 14px 40px rgba(66, 48, 61, 0.07);
}

.note-label {
    color: var(--rose-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.note-card h3 {
    margin: 14px 0 10px;
    font-family: Georgia, "Noto Serif SC", serif;
    font-size: 24px;
}

.note-card p {
    color: var(--muted);
}

.note-card a {
    color: var(--rose-dark);
    font-weight: 700;
}

.service-section {
    display: grid;
    grid-template-columns: 0.42fr 0.58fr;
    align-items: center;
    gap: 60px;
}

.service-copy p:not(.eyebrow) {
    color: var(--muted);
}

.service-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.service-list article {
    padding: 26px 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #ffffff;
}

.service-list span {
    color: var(--rose);
    font-size: 28px;
}

.service-list h3 {
    margin: 15px 0 6px;
}

.service-list p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.about-section {
    display: grid;
    padding: 56px;
    grid-template-columns: 0.38fr 0.62fr;
    align-items: center;
    gap: 70px;
    border-radius: 34px;
    color: #ffffff;
    background: #2f3940;
}

.about-visual {
    display: grid;
    min-height: 360px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    background: radial-gradient(circle, rgba(232, 111, 97, 0.34), transparent 60%);
}

.about-book {
    display: grid;
    width: 190px;
    aspect-ratio: 3 / 4;
    place-items: center;
    border: 8px solid #f8e7df;
    border-radius: 10px 30px 30px 10px;
    color: #ffffff;
    background: linear-gradient(145deg, var(--rose), #9e556f);
    box-shadow: 20px 25px 45px rgba(0, 0, 0, 0.24);
    transform: rotate(-5deg);
}

.about-book span {
    font-family: Georgia, "Noto Serif SC", serif;
    font-size: 70px;
}

.about-book p {
    margin: -70px 0 0;
    letter-spacing: 0.18em;
}

.about-copy p:not(.eyebrow) {
    color: #cfd7d8;
}

.about-points {
    display: flex;
    margin-top: 25px;
    flex-wrap: wrap;
    gap: 10px;
}

.about-points span {
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: #f6d4cf;
    font-size: 12px;
}

.app-section {
    display: grid;
    padding: 60px 80px;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 70px;
    border-radius: 34px;
    background: linear-gradient(120deg, #f4d8cc, #e7dbe8);
}

.app-copy {
    max-width: 720px;
}

.app-copy > p:not(.eyebrow) {
    color: #665b65;
}

.subscription-note {
    display: block;
    margin-top: 12px;
    color: var(--muted);
}

.qr-card {
    padding: 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.qr-card > p {
    margin: 9px 0 0;
    font-size: 11px;
}

.qr-pattern {
    position: relative;
    display: grid;
    width: 150px;
    height: 150px;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
    padding: 17px;
    background: #ffffff;
}

.qr-pattern span {
    border: 9px solid var(--ink);
}

.qr-pattern span:nth-child(2),
.qr-pattern span:nth-child(3) {
    border-radius: 50% 0 50% 0;
}

.qr-pattern strong {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 12px;
    color: #ffffff;
    background: var(--rose);
    transform: translate(-50%, -50%);
}

.site-footer {
    padding: 55px 0;
    color: #d9d2d8;
    background: #241f26;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-mark-small {
    width: 42px;
    height: 42px;
    font-size: 20px;
}

.footer-brand p,
.copyright {
    margin: 3px 0 0;
    color: #8f8791;
    font-size: 12px;
}

.footer-links {
    display: flex;
    gap: 20px;
    font-size: 13px;
}

.copyright {
    grid-column: 1 / -1;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 20;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    background: var(--rose);
    box-shadow: 0 10px 25px rgba(187, 77, 69, 0.28);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: 0.2s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.breadcrumb {
    display: flex;
    margin-top: 34px;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 13px;
}

.breadcrumb a:hover {
    color: var(--rose-dark);
}

.category-hero {
    display: flex;
    min-height: 330px;
    margin-top: 30px;
    padding: 55px 65px;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    border-radius: 34px;
    background: linear-gradient(125deg, color-mix(in srgb, var(--category-accent) 16%, white), #ffffff);
    box-shadow: var(--shadow);
}

.category-hero > div:first-child {
    max-width: 720px;
}

.category-hero-icon {
    display: grid;
    width: 60px;
    height: 60px;
    margin-bottom: 24px;
    place-items: center;
    border-radius: 19px;
    color: #ffffff;
    background: var(--category-accent);
    font-size: 28px;
}

.category-hero h1,
.reader-header h1 {
    margin: 0;
    font-family: Georgia, "Noto Serif SC", serif;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.15;
}

.category-hero p:last-child {
    color: var(--muted);
    font-size: 17px;
}

.category-hero-count {
    display: grid;
    min-width: 160px;
    min-height: 160px;
    place-items: center;
    align-content: center;
    border: 1px solid color-mix(in srgb, var(--category-accent) 32%, white);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.72);
}

.category-hero-count strong {
    color: var(--category-accent);
    font-family: Georgia, serif;
    font-size: 50px;
    line-height: 1;
}

.category-hero-count span {
    color: var(--muted);
    font-size: 12px;
}

.catalog-list {
    display: grid;
    gap: 20px;
}

.catalog-item {
    display: grid;
    padding: 18px;
    grid-template-columns: 180px 1fr auto;
    align-items: center;
    gap: 28px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #ffffff;
    transition: 0.2s ease;
}

.catalog-item:hover {
    box-shadow: 0 18px 44px rgba(67, 47, 61, 0.09);
    transform: translateX(4px);
}

.catalog-cover {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    overflow: hidden;
}

.catalog-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.catalog-cover span {
    position: absolute;
    right: 9px;
    bottom: 6px;
    color: #ffffff;
    font-family: Georgia, serif;
    font-size: 28px;
}

.catalog-copy h2,
.catalog-copy p {
    margin: 0;
}

.catalog-copy h2 {
    font-family: Georgia, "Noto Serif SC", serif;
    font-size: 26px;
}

.catalog-copy > p:not(.story-kicker) {
    margin-top: 8px;
    color: var(--muted);
    font-size: 14px;
}

.catalog-copy ul {
    display: flex;
    margin: 13px 0 0;
    padding: 0;
    gap: 16px;
    color: var(--sage);
    font-size: 11px;
    list-style: none;
}

.catalog-copy li::before {
    content: "✓ ";
}

.category-seo-copy {
    padding: 42px;
    border-left: 4px solid var(--rose);
    border-radius: 0 24px 24px 0;
    background: var(--cream);
}

.category-seo-copy h2 {
    font-size: 30px;
}

.category-seo-copy p {
    margin-bottom: 0;
    color: var(--muted);
}

.reader-page {
    margin-top: 30px;
    margin-bottom: 100px;
}

.reader-header {
    max-width: 900px;
    margin: 0 auto;
    padding: 65px 40px 45px;
    text-align: center;
}

.reader-subtitle {
    margin: 14px 0;
    color: var(--rose-dark);
    font-family: Georgia, "Noto Serif SC", serif;
    font-size: 21px;
}

.reader-meta {
    display: flex;
    margin: 24px 0;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px 24px;
    color: var(--muted);
    font-size: 12px;
}

.reader-summary {
    color: var(--muted);
    font-size: 16px;
}

.reading-notice {
    display: flex;
    max-width: 900px;
    margin: 0 auto 45px;
    padding: 22px 25px;
    align-items: center;
    gap: 18px;
    border: 1px solid #e5d8c2;
    border-radius: 18px;
    background: #fff7e9;
}

.reading-notice > span {
    color: #bc8553;
    font-size: 25px;
}

.reading-notice h2,
.reading-notice p {
    margin: 0;
}

.reading-notice h2 {
    font-size: 15px;
}

.reading-notice p {
    color: #776b5f;
    font-size: 13px;
}

.comic-chapter {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 28px;
    background: #252129;
}

.chapter-title {
    padding: 35px 15px 45px;
    color: #ffffff;
    text-align: center;
}

.chapter-title span {
    color: #dda6a0;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.2em;
}

.chapter-title h2 {
    margin: 6px 0 0;
    font-family: Georgia, "Noto Serif SC", serif;
    font-size: 31px;
}

.comic-panel {
    margin: 0 0 30px;
    overflow: hidden;
}

.comic-panel img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    background: #4a444c;
}

.comic-panel figcaption {
    display: grid;
    padding: 18px 20px 24px;
    color: #ffffff;
    background: #302a33;
}

.comic-panel figcaption span {
    margin-top: 5px;
    color: #bdb5bf;
    font-size: 13px;
}

.chapter-end {
    max-width: 900px;
    margin: 50px auto;
    padding: 55px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: #ffffff;
    text-align: center;
}

.chapter-end > span {
    color: var(--rose);
    font-size: 35px;
}

.chapter-end h2 {
    margin: 10px 0;
    font-family: Georgia, "Noto Serif SC", serif;
    font-size: 30px;
}

.chapter-end p {
    color: var(--muted);
}

.favorite-button-large {
    padding: 12px 18px;
    font-size: 14px;
}

.chapter-navigation {
    display: grid;
    max-width: 1000px;
    margin: 0 auto;
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
    gap: 15px;
}

.chapter-navigation > a,
.chapter-disabled {
    display: flex;
    min-height: 90px;
    padding: 17px;
    flex-direction: column;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: #ffffff;
}

.chapter-navigation span {
    color: var(--muted);
    font-size: 11px;
}

.chapter-next {
    text-align: right;
}

.chapter-back {
    min-height: auto !important;
    align-self: center;
    color: #ffffff;
    background: var(--ink) !important;
    font-size: 13px;
}

.chapter-disabled {
    opacity: 0.56;
}

@media (max-width: 1100px) {
    .header-inner {
        min-height: 76px;
    }

    .menu-button {
        display: inline-flex;
    }

    .main-navigation {
        position: absolute;
        top: calc(100% + 1px);
        right: 20px;
        left: 20px;
        display: none;
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: #fffaf6;
        box-shadow: var(--shadow);
    }

    .main-navigation.is-open {
        display: block;
    }

    .main-navigation ul {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 7px;
    }

    .nav-link {
        min-height: 48px;
        background: #ffffff;
    }

    .hero {
        padding: 50px;
    }

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .category-card:first-child {
        grid-column: auto;
    }

    .korean-rail {
        grid-template-columns: repeat(3, 1fr);
    }

    .rail-card:nth-child(n + 4) {
        display: none;
    }
}

@media (max-width: 820px) {
    .content-section {
        margin-top: 72px;
        margin-bottom: 72px;
    }

    .hero {
        min-height: auto;
        padding: 45px 36px;
        grid-template-columns: 1fr;
    }

    .hero-art {
        min-height: 500px;
    }

    .category-grid,
    .story-grid-three,
    .note-grid,
    .mood-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-layout,
    .ranking-section,
    .romance-section,
    .service-section,
    .about-section {
        grid-template-columns: 1fr;
    }

    .feature-copy {
        padding: 10px;
    }

    .ranking-intro {
        position: static;
    }

    .service-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .app-section {
        padding: 48px;
    }

    .catalog-item {
        grid-template-columns: 150px 1fr;
    }

    .catalog-button {
        grid-column: 2;
        justify-self: start;
    }
}

@media (max-width: 600px) {
    .section-shell,
    .header-inner,
    .footer-inner {
        width: min(calc(100% - 24px), var(--max-width));
    }

    .brand-text small {
        display: none;
    }

    .main-navigation {
        right: 12px;
        left: 12px;
    }

    .main-navigation ul {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero {
        margin-top: 24px;
        padding: 36px 22px;
        border-radius: 28px;
    }

    .hero h1 {
        font-size: 52px;
    }

    .hero-lead {
        font-size: 15px;
    }

    .hero-stats {
        gap: 18px;
    }

    .hero-art {
        min-height: 365px;
    }

    .hero-cover-main {
        left: 3%;
        width: 65%;
    }

    .hero-cover-side {
        width: 45%;
    }

    .hero-note {
        right: 0;
        width: 180px;
    }

    .section-heading-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .category-grid,
    .story-grid-three,
    .note-grid,
    .mood-grid,
    .romance-cards,
    .service-list,
    .korean-rail {
        grid-template-columns: 1fr;
    }

    .category-card {
        min-height: auto;
    }

    .feature-stage,
    .romance-section,
    .about-section {
        padding: 24px;
    }

    .feature-image {
        min-height: 360px;
    }

    .korean-rail {
        grid-template-columns: repeat(2, 1fr);
    }

    .rail-card:nth-child(3) {
        display: none;
    }

    .ranking-list li {
        grid-template-columns: 42px 62px 1fr;
    }

    .ranking-list img {
        width: 62px;
        height: 62px;
    }

    .rank-change {
        display: none;
    }

    .app-section {
        padding: 34px 24px;
        grid-template-columns: 1fr;
    }

    .qr-card {
        justify-self: center;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-wrap: wrap;
    }

    .category-hero {
        padding: 38px 26px;
        align-items: flex-start;
        flex-direction: column;
    }

    .category-hero-count {
        min-width: 120px;
        min-height: 120px;
    }

    .catalog-item {
        padding: 13px;
        grid-template-columns: 1fr;
    }

    .catalog-cover {
        aspect-ratio: 16 / 10;
    }

    .catalog-button {
        grid-column: auto;
    }

    .catalog-copy ul {
        flex-wrap: wrap;
        gap: 6px 12px;
    }

    .reader-header {
        padding: 45px 10px 30px;
    }

    .comic-chapter {
        padding: 10px;
        border-radius: 18px;
    }

    .chapter-end {
        padding: 35px 20px;
    }

    .chapter-navigation {
        grid-template-columns: 1fr 1fr;
    }

    .chapter-back {
        grid-row: 2;
        grid-column: 1 / -1;
        order: 3;
    }
}
