:root {
    --paper: #fffaf1;
    --paper-deep: #f4ead9;
    --ink: #211b2d;
    --muted: #6e6678;
    --violet: #6f4bf2;
    --violet-dark: #4527a8;
    --coral: #ff6d66;
    --pink: #ff9ac2;
    --blue: #5b9cf6;
    --green: #45b886;
    --gold: #e7a92f;
    --line: #ddd2c4;
    --white: #ffffff;
    --shadow: 0 18px 50px rgba(69, 39, 168, 0.12);
    --radius-lg: 28px;
    --radius-md: 18px;
    --shell: min(1180px, calc(100% - 40px));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    content: "";
    pointer-events: none;
    opacity: 0.22;
    background-image: radial-gradient(#6f4bf2 0.7px, transparent 0.7px);
    background-size: 14px 14px;
}

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

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

button,
input {
    font: inherit;
}

button {
    color: inherit;
}

.shell {
    width: var(--shell);
    margin-inline: auto;
}

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

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(111, 75, 242, 0.12);
    background: rgba(255, 250, 241, 0.94);
    backdrop-filter: blur(18px);
}

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

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

.brand-mark {
    width: 46px;
    height: 46px;
}

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

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

.brand-copy small {
    margin-top: 5px;
    color: var(--muted);
    font-size: 11px;
}

.main-nav ul,
.site-footer ul {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
}

.main-nav ul {
    gap: 4px;
}

.main-nav a {
    display: grid;
    min-width: 66px;
    padding: 8px 9px;
    border-radius: 13px;
    place-items: center;
    transition: 0.2s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
    color: var(--violet-dark);
    background: #ede7ff;
}

.nav-icon {
    font-size: 17px;
    line-height: 1;
}

.nav-label {
    margin-top: 5px;
    font-size: 12px;
    white-space: nowrap;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 12px;
}

.hero {
    display: grid;
    min-height: 620px;
    margin-top: 54px;
    padding: 70px;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 64px;
    overflow: hidden;
    background: linear-gradient(135deg, #eee8ff 0%, #fff0e6 58%, #ffe0eb 100%);
    border: 1px solid #ddcffd;
    border-radius: 38px;
    box-shadow: var(--shadow);
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.hero-note,
.eyebrow,
.meta-kicker,
.panel-label,
.reader-column {
    color: var(--violet-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 18px 0 10px;
    font-family: "STKaiti", "KaiTi", serif;
    font-size: clamp(64px, 8vw, 112px);
    line-height: 0.95;
    letter-spacing: -0.08em;
}

.hero h1 a {
    color: var(--ink);
}

.hero-lead {
    max-width: 610px;
    margin: 28px 0;
    color: #52475f;
    font-size: 18px;
}

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

.button {
    display: inline-flex;
    min-height: 48px;
    padding: 0 22px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.button-primary {
    color: var(--white);
    background: var(--violet);
    box-shadow: 0 10px 25px rgba(111, 75, 242, 0.25);
}

.button-ghost {
    border: 1px solid #b9aad4;
    background: rgba(255, 255, 255, 0.52);
}

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

.hero-stats {
    display: flex;
    margin: 40px 0 0;
    gap: 30px;
}

.hero-stats div {
    padding-right: 30px;
    border-right: 1px solid #cbbadd;
}

.hero-stats div:last-child {
    padding-right: 0;
    border-right: 0;
}

.hero-stats dt {
    font-size: 24px;
    font-weight: 900;
}

.hero-stats dd {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.hero-art {
    position: relative;
    min-height: 470px;
}

.hero-art::before,
.hero-art::after {
    position: absolute;
    content: "";
    border: 3px solid var(--ink);
    background: var(--white);
    box-shadow: 8px 8px 0 var(--ink);
}

.hero-art::before {
    inset: 60px 60px 20px 0;
    transform: rotate(-7deg);
}

.hero-art::after {
    width: 42%;
    height: 38%;
    right: 4px;
    bottom: 0;
    background-image: radial-gradient(var(--coral) 2px, transparent 2px);
    background-size: 10px 10px;
    transform: rotate(7deg);
}

.hero-frame {
    position: absolute;
    z-index: 2;
    inset: 12px 30px 58px 36px;
    overflow: hidden;
    border: 4px solid var(--ink);
    background: var(--white);
    box-shadow: 12px 12px 0 var(--violet);
    transform: rotate(2deg);
}

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

.hero-caption {
    position: absolute;
    right: 16px;
    bottom: 16px;
    left: 16px;
    display: flex;
    padding: 12px 16px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--ink);
}

.hero-caption span {
    font-size: 11px;
}

.sound-effect {
    position: absolute;
    z-index: 3;
    padding: 6px 12px;
    font-weight: 900;
    border: 3px solid var(--ink);
    background: var(--gold);
    transform: rotate(-8deg);
}

.effect-one {
    top: 0;
    right: 0;
}

.effect-two {
    bottom: 24px;
    left: 0;
    color: var(--white);
    background: var(--coral);
    transform: rotate(7deg);
}

.quick-search {
    display: grid;
    margin-top: 28px;
    padding: 18px 22px;
    grid-template-columns: auto minmax(220px, 1fr) auto;
    align-items: center;
    gap: 18px;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 18px;
}

.search-copy {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-copy > span {
    display: grid;
    width: 32px;
    height: 32px;
    color: var(--white);
    background: var(--violet);
    border-radius: 50%;
    place-items: center;
}

.search-field input {
    width: 100%;
    padding: 11px 16px;
    border: 1px solid #d8cde9;
    outline: none;
    background: #faf7ff;
    border-radius: 999px;
}

.search-field input:focus {
    border-color: var(--violet);
    box-shadow: 0 0 0 3px rgba(111, 75, 242, 0.12);
}

#search-status {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.section {
    margin-top: 120px;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 38px;
}

.section-heading h2,
.feature-copy h2,
.ranking-intro h2,
.shelf-copy h2,
.about-copy h2,
.app-copy h2 {
    margin: 8px 0 10px;
    font-family: "STKaiti", "KaiTi", serif;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.18;
}

.section-heading p,
.feature-copy > p,
.ranking-intro p,
.shelf-copy p,
.about-copy p,
.app-copy p {
    margin: 0;
    color: var(--muted);
}

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

.category-card {
    display: grid;
    min-height: 170px;
    padding: 24px;
    grid-template-columns: 54px 1fr auto;
    align-items: start;
    gap: 16px;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: var(--radius-md);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.category-icon {
    display: grid;
    width: 54px;
    height: 54px;
    color: var(--white);
    background: var(--violet);
    border-radius: 16px;
    place-items: center;
    font-size: 24px;
}

.category-coral .category-icon {
    background: var(--coral);
}

.category-blue .category-icon {
    background: var(--blue);
}

.category-green .category-icon {
    background: var(--green);
}

.category-gold .category-icon {
    color: var(--ink);
    background: var(--gold);
}

.category-pink .category-icon {
    color: var(--ink);
    background: var(--pink);
}

.category-copy {
    display: grid;
}

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

.category-copy small {
    margin-top: 7px;
    color: var(--muted);
    line-height: 1.6;
}

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

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

.comic-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: var(--radius-md);
}

.cover-link {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

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

.comic-card:hover .cover-link img {
    transform: scale(1.04);
}

.cover-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 10px;
    color: var(--white);
    background: var(--violet);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
}

.card-body {
    padding: 22px;
}

.card-body h3 {
    margin: 5px 0 9px;
    font-size: 22px;
}

.card-body p {
    min-height: 72px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.shelf-button {
    display: inline-flex;
    margin-top: 18px;
    padding: 7px 12px;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--line);
    background: #fbf8ff;
    border-radius: 999px;
    cursor: pointer;
    font-size: 12px;
}

.shelf-button.is-saved {
    color: var(--white);
    border-color: var(--violet);
    background: var(--violet);
}

.text-link {
    display: inline-flex;
    margin-top: 28px;
    color: var(--violet-dark);
    font-weight: 800;
}

.feature-story {
    padding: 100px 0;
    color: var(--white);
    background: var(--violet-dark);
}

.feature-layout {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    align-items: center;
    gap: 70px;
}

.feature-image {
    position: relative;
    padding: 16px;
    border: 2px solid var(--white);
    background: var(--paper);
    box-shadow: 16px 16px 0 var(--coral);
    transform: rotate(-2deg);
}

.feature-image img {
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
}

.panel-label {
    position: absolute;
    top: -18px;
    left: 28px;
    padding: 7px 14px;
    color: var(--ink);
    background: var(--gold);
    border: 2px solid var(--ink);
}

.feature-copy .eyebrow {
    color: #c9bbff;
}

.feature-copy > p {
    color: #ded7f6;
}

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

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

.tall-story {
    position: relative;
    min-height: 530px;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.tall-story::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(transparent 30%, rgba(22, 16, 36, 0.94) 100%);
}

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

.tall-story > div {
    position: absolute;
    right: 24px;
    bottom: 24px;
    left: 24px;
    z-index: 2;
    color: var(--white);
}

.tall-story h3 {
    margin: 6px 0;
    font-size: 27px;
}

.tall-story p {
    margin: 0 0 12px;
    color: #ddd7e5;
    font-size: 14px;
}

.tall-story a {
    font-weight: 800;
}

.ranking-section {
    padding: 100px 0;
    color: var(--white);
    background: var(--ink);
}

.ranking-layout {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 80px;
}

.ranking-intro .eyebrow {
    color: var(--pink);
}

.ranking-intro p {
    color: #beb6ca;
}

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

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

.ranking-list li {
    display: grid;
    padding: 17px 0;
    grid-template-columns: 54px 1fr 30px;
    align-items: center;
    gap: 18px;
    border-bottom: 1px solid #473e54;
}

.rank-number {
    color: var(--pink);
    font-size: 25px;
    font-weight: 900;
}

.ranking-list a {
    font-size: 18px;
    font-weight: 800;
}

.ranking-list small {
    display: block;
    margin-top: 3px;
    color: #aaa1b5;
}

.rank-change {
    color: var(--green);
}

.schedule-track {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.schedule-day {
    display: flex;
    min-height: 180px;
    padding: 18px 14px;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 16px;
}

.schedule-day > span {
    color: var(--muted);
    font-size: 12px;
}

.schedule-day strong {
    line-height: 1.45;
}

.schedule-day small {
    color: var(--violet);
}

.schedule-day.is-today {
    color: var(--white);
    border-color: var(--violet);
    background: var(--violet);
    box-shadow: var(--shadow);
    transform: translateY(-10px);
}

.schedule-day.is-today > span,
.schedule-day.is-today small {
    color: #e9e2ff;
}

.mood-mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 260px;
    gap: 16px;
}

.mood-tile {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.mood-tile.mood-wide {
    grid-column: span 2;
}

.mood-tile::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(transparent, rgba(24, 18, 34, 0.82));
}

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

.mood-tile:hover img {
    transform: scale(1.05);
}

.mood-tile > span {
    position: absolute;
    right: 20px;
    bottom: 20px;
    left: 20px;
    z-index: 2;
    display: grid;
    color: var(--white);
}

.mood-tile strong {
    margin-top: 4px;
    font-size: 21px;
}

.completed-section {
    padding: 90px 0;
    background: #dff5e9;
}

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

.finished-card {
    display: grid;
    padding: 22px;
    grid-template-columns: 48px 1fr auto;
    align-items: center;
    gap: 18px;
    border: 1px solid #a8d7be;
    background: rgba(255, 255, 255, 0.72);
    border-radius: 16px;
}

.finished-index {
    color: var(--green);
    font-size: 25px;
    font-weight: 900;
}

.finished-card > span:nth-child(2) {
    display: grid;
}

.finished-card small {
    color: var(--muted);
}

.shelf-section {
    display: grid;
    padding: 60px;
    grid-template-columns: 0.65fr 1.35fr;
    align-items: center;
    gap: 60px;
    color: var(--white);
    background: linear-gradient(135deg, #ff6d66, #ff9ac2);
    border-radius: var(--radius-lg);
}

.shelf-visual {
    display: grid;
    min-height: 260px;
    padding: 30px;
    align-content: center;
    justify-items: center;
    color: var(--ink);
    background: var(--paper);
    border: 3px solid var(--ink);
    box-shadow: 12px 12px 0 var(--ink);
    transform: rotate(-3deg);
}

.shelf-star {
    font-size: 46px;
}

.shelf-visual strong {
    font-size: 42px;
}

.shelf-copy p {
    color: #fff4fa;
}

.shelf-copy .button {
    margin-top: 24px;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.65);
}

.accordion {
    border-top: 1px solid var(--line);
}

.accordion-item {
    border-bottom: 1px solid var(--line);
}

.accordion-item button {
    display: flex;
    width: 100%;
    padding: 22px 4px;
    align-items: center;
    justify-content: space-between;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font-weight: 800;
}

.accordion-item button span:last-child {
    font-size: 24px;
    transition: transform 0.2s ease;
}

.accordion-item button[aria-expanded="true"] span:last-child {
    transform: rotate(45deg);
}

.accordion-panel {
    padding: 0 40px 20px 4px;
    color: var(--muted);
}

.accordion-panel[hidden] {
    display: none;
}

.about-section {
    padding: 100px 0;
    background: #ede7ff;
}

.about-layout {
    display: grid;
    grid-template-columns: 0.55fr 1.45fr;
    align-items: center;
    gap: 80px;
}

.about-stamp {
    display: grid;
    aspect-ratio: 1;
    align-content: center;
    justify-items: center;
    color: var(--white);
    background: var(--violet);
    border: 8px double var(--white);
    border-radius: 50%;
    box-shadow: 0 0 0 8px var(--violet);
    transform: rotate(-8deg);
}

.about-stamp span {
    font-family: "STKaiti", "KaiTi", serif;
    font-size: clamp(70px, 12vw, 140px);
    line-height: 1;
}

.about-stamp small {
    letter-spacing: 0.2em;
}

.about-copy p + p {
    margin-top: 16px;
}

.about-points {
    display: grid;
    padding: 0;
    margin: 24px 0 0;
    gap: 10px;
    list-style: none;
}

.about-points li::before {
    margin-right: 10px;
    color: var(--coral);
    content: "◆";
}

.app-section {
    display: grid;
    margin-bottom: 120px;
    padding: 64px;
    grid-template-columns: 1.25fr 0.75fr;
    align-items: center;
    gap: 80px;
    color: var(--white);
    background: var(--ink);
    border-radius: var(--radius-lg);
}

.app-copy .eyebrow {
    color: var(--gold);
}

.app-copy p {
    color: #cfc7d8;
}

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

.subscribe-form label {
    flex: 1;
}

.subscribe-form input {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: 1px solid #5b5068;
    color: var(--white);
    outline: none;
    background: #332b3d;
    border-radius: 999px;
}

.form-message {
    margin-top: 10px !important;
    font-size: 12px;
}

.qr-card {
    display: grid;
    padding: 24px;
    justify-items: center;
    color: var(--ink);
    background: var(--white);
    border-radius: 20px;
    transform: rotate(2deg);
}

.qr-pattern {
    display: grid;
    width: 170px;
    aspect-ratio: 1;
    margin-bottom: 14px;
    background-color: var(--paper);
    background-image: linear-gradient(90deg, var(--ink) 18px, transparent 18px), linear-gradient(var(--ink) 18px, transparent 18px);
    background-size: 34px 34px;
    border: 8px solid var(--paper);
    place-items: center;
}

.qr-pattern span {
    display: grid;
    width: 74px;
    height: 74px;
    color: var(--white);
    background: var(--violet);
    border: 6px solid var(--paper);
    border-radius: 18px;
    place-items: center;
    font-size: 38px;
    font-weight: 900;
}

.site-footer {
    padding: 55px 0 30px;
    color: #dcd4e5;
    background: #17121f;
}

.footer-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.footer-brand {
    color: var(--white);
    font-size: 22px;
}

.footer-grid p {
    margin: 4px 0 0;
    color: #968da2;
}

.site-footer ul {
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom {
    display: flex;
    margin-top: 34px;
    padding-top: 22px;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid #332a3d;
    color: #7f758a;
    font-size: 12px;
}

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

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

.column-hero {
    margin-top: 26px;
    padding: 80px 0;
    background: #eee8ff;
}

.column-hero.column-coral {
    background: #ffe6e1;
}

.column-hero.column-blue {
    background: #e1efff;
}

.column-hero.column-green {
    background: #dff5e9;
}

.column-hero.column-gold {
    background: #fff0c8;
}

.column-hero.column-pink {
    background: #ffe5f0;
}

.column-hero-inner {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 50px;
}

.column-symbol {
    display: grid;
    width: 64px;
    height: 64px;
    color: var(--white);
    background: var(--violet);
    border-radius: 18px;
    place-items: center;
    font-size: 28px;
}

.column-hero h1 {
    margin: 18px 0 8px;
    font-family: "STKaiti", "KaiTi", serif;
    font-size: clamp(50px, 8vw, 82px);
    line-height: 1;
}

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

.column-hero dl {
    display: flex;
    flex: 0 0 auto;
    margin: 0;
    gap: 30px;
}

.column-hero dl div {
    min-width: 100px;
}

.column-hero dt {
    font-size: 24px;
    font-weight: 900;
}

.column-hero dd {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.column-list {
    display: grid;
    gap: 22px;
}

.column-entry {
    display: grid;
    padding: 18px;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: var(--radius-md);
}

.column-cover {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border-radius: 13px;
}

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

.column-cover span {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: grid;
    width: 44px;
    height: 44px;
    color: var(--white);
    background: var(--violet);
    border-radius: 50%;
    place-items: center;
    font-weight: 900;
}

.column-entry-copy {
    align-self: center;
}

.column-entry h2 {
    margin: 5px 0 8px;
    font-size: 28px;
}

.column-entry p {
    margin: 0;
    color: var(--muted);
}

.entry-tags {
    display: flex;
    margin-top: 14px;
    gap: 8px;
}

.entry-tags span {
    padding: 4px 9px;
    color: var(--violet-dark);
    background: #eee8ff;
    border-radius: 999px;
    font-size: 11px;
}

.entry-link {
    display: inline-flex;
    margin-top: 15px;
    color: var(--violet);
    font-weight: 800;
}

.column-note {
    display: flex;
    margin-top: 50px;
    margin-bottom: 110px;
    padding: 24px;
    align-items: baseline;
    gap: 20px;
    border-left: 5px solid var(--gold);
    background: #fff2ce;
}

.column-note p {
    margin: 0;
    color: var(--muted);
}

.reader {
    max-width: 940px;
    padding-top: 50px;
    padding-bottom: 120px;
}

.reader-header {
    text-align: center;
}

.reader-header h1 {
    margin: 12px 0;
    font-family: "STKaiti", "KaiTi", serif;
    font-size: clamp(42px, 7vw, 70px);
    line-height: 1.15;
}

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

.reader-meta {
    display: flex;
    margin-top: 24px;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 22px;
    color: var(--muted);
    font-size: 12px;
}

.reading-note {
    display: grid;
    margin: 48px 0;
    padding: 22px 26px;
    grid-template-columns: auto 1fr;
    gap: 18px;
    border: 1px solid #dccdf2;
    background: #f2ecff;
    border-radius: 16px;
}

.reading-note p {
    margin: 0;
    color: var(--muted);
}

.chapter-content > h2 {
    margin: 70px 0 30px;
    text-align: center;
    font-family: "STKaiti", "KaiTi", serif;
    font-size: 32px;
}

.comic-panel {
    margin: 0 0 36px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 18px;
    box-shadow: 0 12px 34px rgba(33, 27, 45, 0.08);
}

.comic-panel img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.comic-panel figcaption {
    padding: 15px 18px;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

.chapter-end {
    display: grid;
    margin: 70px auto;
    padding: 38px;
    justify-items: center;
    text-align: center;
    border: 2px dashed #b5a6cb;
    background: #faf6ff;
    border-radius: 18px;
}

.chapter-end span {
    color: var(--violet);
    font-size: 28px;
}

.chapter-end strong {
    margin-top: 6px;
    font-size: 25px;
}

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

.chapter-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
}

.chapter-button {
    display: flex;
    min-height: 54px;
    padding: 12px 18px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
}

.chapter-button.back {
    color: var(--white);
    border-color: var(--violet);
    background: var(--violet);
}

.chapter-button.is-disabled {
    color: #aba2b3;
    background: #f1ece5;
}

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

    .main-nav {
        width: 100%;
        order: 3;
        overflow-x: auto;
        scrollbar-width: thin;
    }

    .main-nav ul {
        min-width: max-content;
    }

    .main-nav a {
        min-width: 95px;
    }

    .hero {
        padding: 55px;
        grid-template-columns: 1fr;
    }

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

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

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

    .about-layout {
        grid-template-columns: 0.7fr 1.3fr;
        gap: 50px;
    }
}

@media (max-width: 760px) {
    :root {
        --shell: min(100% - 28px, 1180px);
    }

    .section {
        margin-top: 78px;
    }

    .header-inner {
        min-height: 68px;
        flex-wrap: nowrap;
    }

    .brand-copy small {
        display: none;
    }

    .menu-toggle {
        display: grid;
        margin-left: auto;
        place-items: center;
    }

    .main-nav {
        position: absolute;
        top: 68px;
        right: 0;
        left: 0;
        display: none;
        width: auto;
        padding: 12px 14px 18px;
        overflow: visible;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 18px 25px rgba(33, 27, 45, 0.08);
    }

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

    .main-nav ul {
        display: grid;
        min-width: 0;
        grid-template-columns: repeat(4, 1fr);
        gap: 7px;
    }

    .main-nav a {
        min-width: 0;
        padding: 10px 4px;
    }

    .nav-label {
        font-size: 11px;
    }

    .hero {
        min-height: 0;
        margin-top: 28px;
        padding: 38px 24px;
        gap: 38px;
        border-radius: 24px;
    }

    .hero h1 {
        font-size: 64px;
    }

    .hero-lead {
        font-size: 16px;
    }

    .hero-stats {
        gap: 14px;
    }

    .hero-stats div {
        padding-right: 14px;
    }

    .hero-art {
        min-height: 330px;
    }

    .hero-frame {
        inset: 12px 18px 46px 25px;
    }

    .quick-search {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .category-grid,
    .comic-grid,
    .korean-strip,
    .finished-row {
        grid-template-columns: 1fr;
    }

    .category-card {
        min-height: 0;
    }

    .comic-grid {
        gap: 18px;
    }

    .card-body p {
        min-height: 0;
    }

    .feature-story,
    .ranking-section,
    .about-section {
        padding: 72px 0;
    }

    .feature-layout,
    .ranking-layout,
    .about-layout {
        grid-template-columns: 1fr;
        gap: 52px;
    }

    .tall-story {
        min-height: 460px;
    }

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

    .schedule-day.is-today {
        transform: none;
    }

    .mood-mosaic {
        grid-auto-rows: 230px;
    }

    .mood-tile,
    .mood-tile.mood-wide {
        grid-column: span 2;
    }

    .shelf-section,
    .app-section {
        padding: 38px 24px;
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .about-stamp {
        width: min(260px, 80%);
        margin-inline: auto;
    }

    .subscribe-form {
        flex-direction: column;
    }

    .qr-card {
        max-width: 270px;
        margin-inline: auto;
    }

    .footer-grid,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .column-hero {
        padding: 55px 0;
    }

    .column-hero-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .column-entry {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .column-cover {
        aspect-ratio: 16 / 9;
    }

    .column-note,
    .reading-note {
        align-items: flex-start;
        grid-template-columns: 1fr;
    }

    .reader {
        padding-top: 32px;
        padding-bottom: 80px;
    }

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

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

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

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

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

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

    .hero-stats div {
        padding-right: 8px;
    }

    .hero-stats dt {
        font-size: 19px;
    }

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

    .mood-mosaic {
        grid-template-columns: 1fr;
    }

    .mood-tile,
    .mood-tile.mood-wide {
        grid-column: auto;
    }
}
