:root {
    --ink: #22221f;
    --muted: #706f67;
    --paper: #fffdf7;
    --surface: #ffffff;
    --line: #e9e4d8;
    --yellow: #ffca28;
    --yellow-dark: #efa900;
    --coral: #ff725e;
    --green: #6ebe8b;
    --purple: #8a73d6;
    --blue: #5c98df;
    --radius-lg: 28px;
    --radius-md: 18px;
    --shadow: 0 18px 50px rgba(55, 45, 20, 0.09);
}

* {
    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 SC", sans-serif;
    line-height: 1.65;
    overflow-x: hidden;
}

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

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

button,
input {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(233, 228, 216, 0.8);
    background: rgba(255, 253, 247, 0.94);
    backdrop-filter: blur(16px);
}

.header-inner {
    display: flex;
    width: min(1200px, calc(100% - 40px));
    min-height: 82px;
    margin: auto;
    align-items: center;
    gap: 20px;
}

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

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

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

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

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

.main-nav {
    display: flex;
    margin-left: auto;
    align-items: center;
    gap: 3px;
}

.main-nav a {
    display: flex;
    min-width: 58px;
    padding: 10px 9px;
    border-radius: 13px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: #5f5b51;
    font-size: 14px;
    transition: 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
    color: #1f1e1a;
    background: var(--yellow);
}

.ui-icon {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.shelf-link {
    display: flex;
    padding: 11px 14px;
    border: 1px solid var(--line);
    border-radius: 13px;
    align-items: center;
    gap: 7px;
    font-size: 13px;
}

.nav-toggle {
    display: none;
    margin-left: auto;
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: white;
    cursor: pointer;
}

.hero {
    display: grid;
    min-height: 560px;
    margin-top: 44px;
    padding: 64px;
    border: 1px solid #eadb9e;
    border-radius: 36px;
    background: linear-gradient(135deg, #fff5bd 0%, #fffdf6 54%, #ffe5dc 100%);
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 70px;
    overflow: hidden;
}

.hero-kicker,
.eyebrow {
    display: inline-block;
    color: #9a6d00;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 12px 0 8px;
    font-family: "STKaiti", "KaiTi", serif;
    font-size: clamp(54px, 7vw, 86px);
    line-height: 1.08;
    letter-spacing: 0.04em;
}

.hero h1 a {
    position: relative;
}

.hero h1 a::after {
    position: absolute;
    right: -20px;
    bottom: 2px;
    width: 44px;
    height: 14px;
    border-radius: 50%;
    background: var(--yellow);
    content: "";
    z-index: -1;
}

.hero-lead {
    max-width: 570px;
    margin: 0 0 24px;
    color: #5c594f;
    font-size: 18px;
}

.search-box {
    position: relative;
    display: flex;
    padding: 7px;
    border: 1px solid #e7ddbf;
    border-radius: 17px;
    background: white;
    box-shadow: 0 12px 34px rgba(90, 73, 25, 0.09);
    align-items: center;
}

.search-box label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.search-box .ui-icon {
    margin-left: 10px;
    color: #8d8778;
}

.search-box input {
    width: 100%;
    padding: 10px 12px;
    border: 0;
    outline: 0;
    background: transparent;
}

.search-box button {
    flex: 0 0 auto;
    padding: 10px 17px;
    border: 0;
    border-radius: 12px;
    color: white;
    background: #24231f;
    cursor: pointer;
}

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

.button {
    display: inline-flex;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 13px;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.button-primary {
    border: 1px solid var(--yellow-dark);
    background: var(--yellow);
    box-shadow: 0 8px 18px rgba(220, 160, 0, 0.18);
}

.button-secondary {
    border: 1px solid var(--line);
    background: white;
}

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

.trust-list {
    display: flex;
    margin: 22px 0 0;
    padding: 0;
    gap: 18px;
    color: #777064;
    font-size: 12px;
    list-style: none;
    flex-wrap: wrap;
}

.trust-list li::before {
    margin-right: 6px;
    color: #2f8b54;
    content: "✓";
}

.hero-visual {
    position: relative;
    min-height: 420px;
}

.hero-main-cover {
    position: absolute;
    inset: 0 42px 0 26px;
    border: 10px solid white;
    border-radius: 30px;
    box-shadow: 0 28px 60px rgba(75, 57, 24, 0.2);
    transform: rotate(3deg);
    overflow: hidden;
}

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

.floating-note {
    position: absolute;
    display: flex;
    padding: 13px 17px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
    flex-direction: column;
}

.floating-note span {
    color: var(--muted);
    font-size: 11px;
}

.floating-note strong {
    font-size: 22px;
}

.note-top {
    top: 34px;
    right: 0;
}

.note-bottom {
    bottom: 35px;
    left: 0;
}

.signal-strip {
    display: grid;
    margin-top: 28px;
    padding: 22px 30px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: white;
    grid-template-columns: repeat(4, 1fr);
}

.signal-strip div {
    display: flex;
    min-height: 52px;
    border-right: 1px solid var(--line);
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.signal-strip div:last-child {
    border-right: 0;
}

.signal-strip strong {
    font-size: 24px;
}

.signal-strip span {
    color: var(--muted);
    font-size: 13px;
}

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

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

.section-heading h2,
.korean-copy h2,
.about-copy h2,
.app-copy h2,
.shelf-steps h2 {
    margin: 7px 0 4px;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.2;
}

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

.text-link {
    flex: 0 0 auto;
    padding-bottom: 4px;
    border-bottom: 2px solid var(--yellow);
    font-weight: 700;
}

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

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

.book-cover {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    border-radius: 20px;
    background: #ece8dd;
    box-shadow: 0 12px 30px rgba(35, 32, 22, 0.08);
    overflow: hidden;
}

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

.book-cover:hover img {
    transform: scale(1.04);
}

.book-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 9px;
    border-radius: 999px;
    color: white;
    background: rgba(28, 27, 24, 0.83);
    font-size: 11px;
}

.book-info {
    padding: 15px 3px 0;
}

.book-category {
    margin: 0;
    color: #a06f00;
    font-size: 11px;
    font-weight: 800;
}

.book-info h3 {
    margin: 4px 0 5px;
    font-size: 19px;
}

.book-info > p:not(.book-category) {
    display: -webkit-box;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.book-meta {
    display: flex;
    margin-top: 10px;
    color: #7f7a6f;
    font-size: 11px;
    justify-content: space-between;
}

.ranking-section {
    padding: 50px;
    border-radius: 30px;
    color: white;
    background: #24231f;
}

.ranking-section .eyebrow,
.ranking-section .section-heading p {
    color: #d9c65f;
}

.ranking-section .text-link {
    color: white;
}

.ranking-layout {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 36px;
}

.ranking-feature {
    display: grid;
    min-height: 330px;
    padding: 20px;
    border: 1px solid #454239;
    border-radius: 22px;
    background: #302f2a;
    grid-template-columns: 44% 1fr;
    align-items: center;
    gap: 24px;
}

.ranking-feature img {
    width: 100%;
    height: 290px;
    border-radius: 15px;
    object-fit: cover;
}

.ranking-feature span {
    color: var(--yellow);
    font-size: 12px;
}

.ranking-feature h3 {
    margin: 6px 0;
    font-size: 28px;
}

.ranking-feature p {
    color: #c8c5ba;
}

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

.ranking-list li {
    display: grid;
    min-height: 76px;
    padding: 12px 4px;
    border-bottom: 1px solid #454239;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    gap: 12px;
}

.rank-number {
    color: var(--yellow);
    font-family: Georgia, serif;
    font-size: 20px;
}

.ranking-list a {
    font-weight: 700;
}

.ranking-list small {
    display: block;
    color: #9f9b90;
}

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

.category-card {
    min-height: 220px;
    padding: 25px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 22px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.category-icon {
    display: inline-flex;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.8);
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.category-card h3 {
    margin: 16px 0 6px;
    font-size: 20px;
}

.category-card p {
    margin: 0 0 12px;
    color: #676259;
    font-size: 13px;
}

.category-card small {
    font-weight: 700;
}

.color-1 {
    background: #fff0d0;
}

.color-2 {
    background: #ffe1dc;
}

.color-3 {
    background: #f0e7ff;
}

.color-4 {
    background: #dff4e6;
}

.color-5 {
    background: #e0efff;
}

.color-6 {
    background: #fff4c6;
}

.color-7 {
    background: #e7f4f3;
}

.color-8 {
    background: #eceae6;
}

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

.editor-item {
    display: grid;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: white;
    grid-template-columns: 34px 110px 1fr;
    align-items: center;
    gap: 16px;
}

.editor-index {
    color: #b7af9e;
    font-family: Georgia, serif;
    font-size: 16px;
    writing-mode: vertical-rl;
}

.editor-item img {
    width: 110px;
    aspect-ratio: 1 / 1;
    border-radius: 15px;
    object-fit: cover;
}

.editor-item h3 {
    margin: 0 0 5px;
}

.editor-item p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.korean-section {
    display: grid;
    padding: 54px;
    border-radius: 30px;
    background: #e6f5ee;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    gap: 50px;
}

.korean-copy p {
    color: #506158;
}

.korean-covers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    gap: 14px;
}

.korean-covers img {
    width: 100%;
    aspect-ratio: 3 / 4;
    border: 6px solid white;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: var(--shadow);
}

.korean-covers img:nth-child(2) {
    transform: translateY(-22px);
}

.timeline {
    position: relative;
    padding: 4px 0;
}

.timeline::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 103px;
    width: 2px;
    background: var(--line);
    content: "";
}

.timeline-item {
    position: relative;
    display: grid;
    min-height: 90px;
    padding: 15px 0;
    grid-template-columns: 75px 28px 1fr;
    align-items: start;
    gap: 15px;
}

.timeline-item time {
    padding-top: 2px;
    color: #8a8476;
    font-weight: 700;
}

.timeline-dot {
    position: relative;
    z-index: 1;
    width: 13px;
    height: 13px;
    margin: 6px auto 0;
    border: 3px solid var(--paper);
    border-radius: 50%;
    background: var(--yellow-dark);
    box-shadow: 0 0 0 2px var(--yellow);
}

.timeline-item h3,
.timeline-item p {
    margin: 0;
}

.timeline-item p {
    color: var(--muted);
    font-size: 13px;
}

.mood-section {
    padding: 48px;
    border: 1px solid #e8dcc8;
    border-radius: 30px;
    background: #fff8ec;
}

.mood-cloud {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.mood-cloud a {
    padding: 16px 22px;
    border: 1px solid #eadcc3;
    border-radius: 999px;
    background: white;
    font-weight: 700;
    transition: 0.2s ease;
}

.mood-cloud a:hover {
    border-color: var(--yellow-dark);
    background: var(--yellow);
}

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

.completed-row {
    display: grid;
    min-height: 68px;
    padding: 10px 24px;
    border-bottom: 1px solid var(--line);
    grid-template-columns: 70px 1fr 140px 100px;
    align-items: center;
}

.completed-row:last-child {
    border-bottom: 0;
}

.completed-row:hover {
    background: #fff9e5;
}

.completed-row span:first-child {
    color: #a79f90;
    font-family: Georgia, serif;
}

.completed-row span:last-child {
    color: #2f8b54;
    font-size: 12px;
    font-weight: 800;
}

.shelf-section {
    display: grid;
    padding: 55px;
    border-radius: 30px;
    color: white;
    background: #7663b8;
    grid-template-columns: 1fr 0.9fr;
    align-items: center;
    gap: 60px;
}

.shelf-section .eyebrow {
    color: #fff3a9;
}

.shelf-steps > p {
    color: #e7e2f7;
}

.shelf-steps ol {
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.shelf-steps li {
    display: grid;
    margin-top: 13px;
    grid-template-columns: 70px 1fr;
}

.shelf-steps li span {
    color: #ded8f1;
}

.shelf-window {
    padding: 22px;
    border: 8px solid rgba(255, 255, 255, 0.22);
    border-radius: 24px;
    color: var(--ink);
    background: white;
    box-shadow: 0 22px 50px rgba(34, 26, 70, 0.24);
}

.window-bar {
    display: flex;
    gap: 6px;
}

.window-bar span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d8d2c8;
}

.shelf-window h3 {
    margin: 20px 0;
}

.progress-book {
    margin: 18px 0;
}

.progress-book span {
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
}

.progress-book progress {
    width: 100%;
    height: 8px;
    accent-color: var(--yellow-dark);
}

.about-section {
    display: grid;
    padding: 58px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    grid-template-columns: 240px 1fr;
    gap: 60px;
}

.about-number {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.about-number strong {
    font-family: Georgia, serif;
    font-size: 92px;
    line-height: 1;
}

.about-number span {
    color: var(--muted);
}

.about-copy p {
    color: #5f5b52;
}

.app-subscribe {
    display: grid;
    margin-top: 96px;
    margin-bottom: 80px;
    padding: 58px 70px;
    border-radius: 30px;
    background: linear-gradient(120deg, #ffe56f, #ffc528);
    grid-template-columns: 1fr 260px;
    align-items: center;
    gap: 60px;
}

.app-copy p {
    max-width: 700px;
}

.app-copy small {
    display: block;
    margin-top: 12px;
    color: #69581c;
}

.brand-qr {
    display: flex;
    padding: 20px;
    border-radius: 20px;
    background: white;
    box-shadow: var(--shadow);
    align-items: center;
    flex-direction: column;
}

.qr-grid {
    display: grid;
    width: 130px;
    height: 130px;
    padding: 13px;
    margin-bottom: 10px;
    border: 4px solid var(--ink);
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
}

.qr-grid i {
    background: var(--ink);
}

.qr-grid i:nth-child(2),
.qr-grid i:nth-child(4),
.qr-grid i:nth-child(9) {
    border-radius: 50%;
    background: var(--yellow-dark);
}

.brand-qr > span:last-child {
    color: var(--muted);
    font-size: 11px;
}

.breadcrumb {
    display: flex;
    margin-top: 34px;
    color: var(--muted);
    font-size: 13px;
    gap: 10px;
    flex-wrap: wrap;
}

.breadcrumb a:hover {
    color: #9b6e00;
}

.category-hero {
    display: grid;
    margin-top: 22px;
    padding: 50px 56px;
    border-radius: 30px;
    grid-template-columns: 1fr 420px;
    align-items: center;
    gap: 60px;
}

.category-icon.large {
    float: left;
    width: 64px;
    height: 64px;
    margin-right: 18px;
    font-size: 32px;
}

.category-hero h1 {
    margin: 4px 0 8px;
    font-size: clamp(38px, 5vw, 58px);
}

.category-hero p:last-child {
    max-width: 670px;
    margin-bottom: 0;
}

.category-facts {
    display: grid;
    padding: 12px 24px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.7);
}

.category-facts div {
    display: flex;
    padding: 13px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    justify-content: space-between;
}

.category-facts div:last-child {
    border-bottom: 0;
}

.category-facts dt {
    color: var(--muted);
}

.category-facts dd {
    margin: 0;
    font-weight: 800;
}

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

.category-list-item {
    display: grid;
    min-height: 210px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: white;
    grid-template-columns: 150px 1fr auto;
    align-items: center;
    gap: 28px;
}

.list-cover {
    width: 150px;
    aspect-ratio: 3 / 4;
    border-radius: 15px;
    background: #eee9dd;
    overflow: hidden;
}

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

.list-number {
    color: #aaa393;
    font-family: Georgia, serif;
}

.list-copy h2 {
    margin: 2px 0 7px;
}

.list-copy p {
    max-width: 680px;
    margin: 0;
    color: var(--muted);
}

.list-copy ul {
    display: flex;
    margin: 15px 0 0;
    padding: 0;
    color: #8e6b0d;
    font-size: 12px;
    gap: 18px;
    list-style: none;
    flex-wrap: wrap;
}

.channel-note {
    margin-top: 70px;
    margin-bottom: 80px;
    padding: 38px;
    border-left: 5px solid var(--yellow);
    border-radius: 0 20px 20px 0;
    background: white;
}

.channel-note h2,
.channel-note p {
    margin-top: 0;
}

.channel-note a {
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: var(--yellow-dark);
    text-underline-offset: 4px;
}

.reader {
    max-width: 1040px;
    margin-top: 24px;
    margin-bottom: 90px;
}

.reader-header {
    padding: 50px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: white;
    text-align: center;
}

.reader-category {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    background: #fff2b6;
    font-size: 12px;
    font-weight: 800;
}

.reader-header h1 {
    margin: 16px 0 12px;
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.2;
}

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

.reader-intro {
    max-width: 760px;
    margin: 24px auto 0;
    color: #5c594f;
}

.reading-notice {
    display: grid;
    margin: 26px 0 48px;
    padding: 22px 26px;
    border: 1px solid #ead995;
    border-radius: 18px;
    background: #fff7d5;
    grid-template-columns: 90px 1fr;
    gap: 16px;
}

.reading-notice p {
    margin: 0;
}

.comic-chapter h2 {
    margin-bottom: 26px;
    text-align: center;
}

.comic-panel {
    max-width: 880px;
    margin: 0 auto 44px;
}

.comic-panel img {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 18px;
    background: #eee9df;
    box-shadow: var(--shadow);
    object-fit: cover;
}

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

.chapter-end {
    padding: 45px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-align: center;
}

.chapter-end > span {
    color: #a77a00;
    font-family: Georgia, serif;
    font-size: 12px;
    letter-spacing: 0.3em;
}

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

.chapter-end p {
    max-width: 650px;
    margin: auto;
    color: var(--muted);
}

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

.chapter-nav a:first-child {
    justify-self: start;
}

.chapter-nav a:last-child {
    justify-self: end;
}

.site-footer {
    padding: 50px 0 28px;
    color: #d7d3c8;
    background: #24231f;
}

.footer-inner {
    width: min(1200px, calc(100% - 40px));
    margin: auto;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

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

.footer-brand strong {
    color: white;
    font-size: 19px;
}

.footer-brand p {
    margin: 2px 0 0;
    font-size: 12px;
}

.footer-links {
    display: flex;
    margin-top: 26px;
    padding: 22px 0;
    border-top: 1px solid #45433d;
    border-bottom: 1px solid #45433d;
    gap: 24px;
    flex-wrap: wrap;
}

.copyright {
    margin: 24px 0 0;
    color: #8f8b82;
    font-size: 12px;
}

.back-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: var(--yellow);
    box-shadow: var(--shadow);
    cursor: pointer;
}

.back-top.is-visible {
    display: block;
}

@media (max-width: 1060px) {
    .header-inner {
        flex-wrap: wrap;
    }

    .main-nav {
        width: 100%;
        margin: -8px 0 9px;
        order: 3;
        overflow-x: auto;
    }

    .main-nav a {
        flex: 1 0 70px;
    }

    .hero {
        padding: 48px;
        grid-template-columns: 1fr 0.8fr;
        gap: 36px;
    }

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

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

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

    .header-inner {
        min-height: 70px;
    }

    .brand-copy small,
    .shelf-link span {
        display: none;
    }

    .shelf-link {
        padding: 10px;
    }

    .nav-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        padding-bottom: 10px;
        flex-wrap: wrap;
    }

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

    .main-nav a {
        flex: 1 0 calc(25% - 3px);
    }

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

    .hero-visual {
        min-height: 370px;
    }

    .hero-main-cover {
        inset: 0 30px;
    }

    .signal-strip {
        padding: 14px;
        grid-template-columns: repeat(2, 1fr);
    }

    .signal-strip div {
        border-right: 0;
    }

    .content-section {
        margin-top: 70px;
    }

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

    .ranking-section,
    .mood-section {
        padding: 28px 20px;
    }

    .ranking-layout,
    .korean-section,
    .shelf-section,
    .about-section,
    .app-subscribe,
    .category-hero {
        grid-template-columns: 1fr;
    }

    .ranking-feature {
        grid-template-columns: 40% 1fr;
    }

    .ranking-feature img {
        height: 240px;
    }

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

    .korean-section,
    .shelf-section,
    .about-section,
    .app-subscribe,
    .category-hero {
        padding: 36px 24px;
        gap: 35px;
    }

    .completed-row {
        grid-template-columns: 48px 1fr auto;
    }

    .completed-row span:nth-child(3) {
        display: none;
    }

    .about-number {
        align-items: start;
    }

    .app-subscribe {
        margin-top: 70px;
    }

    .brand-qr {
        width: 220px;
        justify-self: center;
    }

    .category-list-item {
        grid-template-columns: 110px 1fr;
        gap: 18px;
    }

    .list-cover {
        width: 110px;
    }

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

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

    .chapter-nav a,
    .chapter-nav a:first-child,
    .chapter-nav a:last-child {
        width: 100%;
        justify-self: stretch;
    }
}

@media (max-width: 500px) {
    .brand-mark {
        width: 42px;
        height: 42px;
    }

    .brand-copy strong {
        font-size: 17px;
    }

    .main-nav a {
        flex-basis: calc(50% - 3px);
    }

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

    .search-box {
        align-items: stretch;
        flex-wrap: wrap;
    }

    .search-box input {
        width: calc(100% - 38px);
    }

    .search-box button {
        width: 100%;
    }

    .hero-visual {
        min-height: 300px;
    }

    .book-grid,
    .category-grid {
        gap: 14px;
    }

    .category-card {
        min-height: 240px;
        padding: 19px;
    }

    .book-info h3 {
        font-size: 16px;
    }

    .book-info > p:not(.book-category),
    .book-meta span:last-child {
        display: none;
    }

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

    .ranking-feature img {
        height: 280px;
    }

    .editor-item {
        grid-template-columns: 28px 86px 1fr;
        padding: 13px;
        gap: 10px;
    }

    .editor-item img {
        width: 86px;
    }

    .editor-item p {
        display: none;
    }

    .korean-covers {
        gap: 7px;
    }

    .korean-covers img {
        border-width: 3px;
        border-radius: 11px;
    }

    .timeline::before {
        left: 77px;
    }

    .timeline-item {
        grid-template-columns: 50px 22px 1fr;
        gap: 8px;
    }

    .timeline-item p {
        display: none;
    }

    .mood-cloud a {
        width: 100%;
        text-align: center;
    }

    .category-list-item {
        padding: 14px;
        grid-template-columns: 92px 1fr;
        align-items: start;
        gap: 13px;
    }

    .list-cover {
        width: 92px;
    }

    .list-copy p,
    .list-copy ul {
        display: none;
    }

    .reader-header {
        padding: 34px 20px;
    }

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

    .comic-panel img {
        border-radius: 11px;
    }
}
