:root {
    --ink: #13233a;
    --ink-soft: #516078;
    --paper: #f7f8fb;
    --white: #ffffff;
    --navy: #10233f;
    --navy-light: #18345a;
    --coral: #ff6b57;
    --coral-dark: #e94e3d;
    --gold: #ffbf57;
    --line: #dde3ec;
    --mint: #bcefe6;
    --shadow: 0 22px 60px rgba(18, 35, 59, 0.12);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
}

* {
    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;
    font-size: 16px;
    line-height: 1.75;
    overflow-x: hidden;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(circle at 12% 5%, rgba(255, 107, 87, 0.08), transparent 28%), radial-gradient(circle at 88% 18%, rgba(61, 140, 255, 0.08), transparent 25%);
    content: "";
    pointer-events: none;
}

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

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

button,
input {
    font: inherit;
}

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

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 1000;
    padding: 10px 16px;
    color: var(--white);
    background: var(--navy);
    border-radius: 8px;
    transform: translateY(-150%);
}

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

.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;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(221, 227, 236, 0.8);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: flex;
    min-height: 82px;
    align-items: center;
    gap: 28px;
}

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

.brand-mark {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    color: var(--white);
    background: var(--coral);
    border: 3px solid var(--navy);
    border-radius: 50% 50% 50% 10px;
    box-shadow: 4px 4px 0 var(--navy);
    font-size: 21px;
    font-weight: 900;
}

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

.brand-copy strong {
    font-size: 1.2rem;
    letter-spacing: 0.12em;
}

.brand-copy small {
    margin-top: 4px;
    color: var(--ink-soft);
    font-size: 0.72rem;
}

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

.main-nav a {
    display: flex;
    min-width: 67px;
    padding: 9px 8px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: #59677c;
    border-radius: 12px;
    font-size: 0.86rem;
    font-weight: 700;
    white-space: nowrap;
    transition: 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
    color: var(--navy);
    background: #edf2f8;
}

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

.nav-icon {
    color: var(--coral);
    font-size: 1.05rem;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    margin-left: auto;
    color: var(--white);
    background: var(--navy);
    border: 0;
    border-radius: 12px;
    cursor: pointer;
}

.hero {
    display: grid;
    min-height: 570px;
    margin-top: 54px;
    overflow: hidden;
    grid-template-columns: 1.08fr 0.92fr;
    color: var(--white);
    background: var(--navy);
    border-radius: 34px;
    box-shadow: var(--shadow);
}

.hero-copy {
    position: relative;
    z-index: 2;
    padding: 68px 42px 58px 62px;
}

.hero-copy::before {
    position: absolute;
    top: 48px;
    left: 35px;
    width: 74px;
    height: 74px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    content: "";
}

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

.hero-kicker {
    position: relative;
    color: var(--gold);
}

.hero h1 {
    max-width: 560px;
    margin: 18px 0 18px;
    font-size: clamp(3.3rem, 6vw, 6.2rem);
    line-height: 1.03;
    letter-spacing: -0.07em;
}

.hero h1 a {
    display: inline;
    background-image: linear-gradient(transparent 72%, rgba(255, 107, 87, 0.62) 0);
}

.hero-copy > p {
    max-width: 540px;
    margin: 0;
    color: #d7e1ef;
    font-size: 1.1rem;
}

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

.button {
    display: inline-flex;
    min-height: 48px;
    padding: 0 22px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 13px;
    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(--coral);
    box-shadow: 0 10px 24px rgba(255, 107, 87, 0.28);
}

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

.button-ghost {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.28);
}

.button-small {
    min-height: 42px;
    padding: 0 18px;
    color: var(--white);
    background: var(--navy);
    font-size: 0.9rem;
}

.hero-search {
    display: grid;
    max-width: 540px;
    min-height: 56px;
    margin-top: 34px;
    padding: 5px 5px 5px 18px;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    color: var(--ink-soft);
    background: var(--white);
    border-radius: 15px;
}

.hero-search input {
    min-width: 0;
    color: var(--ink);
    background: transparent;
    border: 0;
    outline: 0;
}

.hero-search button,
.subscribe-form button {
    align-self: stretch;
    padding: 0 20px;
    color: var(--white);
    background: var(--coral);
    border: 0;
    border-radius: 11px;
    font-weight: 800;
    cursor: pointer;
}

.hero-art {
    position: relative;
    min-height: 570px;
    overflow: hidden;
    background: var(--coral);
}

.hero-art::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(16, 35, 63, 0.08), transparent 44%), linear-gradient(0deg, rgba(16, 35, 63, 0.35), transparent 40%);
    content: "";
}

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

.floating-note {
    position: absolute;
    z-index: 2;
    display: flex;
    padding: 12px 15px;
    flex-direction: column;
    color: var(--navy);
    background: rgba(255, 255, 255, 0.92);
    border: 2px solid var(--navy);
    border-radius: 14px;
    box-shadow: 6px 6px 0 var(--navy);
    line-height: 1.25;
}

.floating-note span {
    font-size: 0.74rem;
}

.floating-note strong {
    margin-top: 4px;
    font-size: 1.3rem;
}

.note-top {
    top: 45px;
    right: 30px;
}

.note-bottom {
    right: 44px;
    bottom: 42px;
}

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

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

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

.trend-icon {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: var(--coral);
    background: #fff0ed;
    border-radius: 50%;
}

.content-section,
.feature-story,
.ranking-section,
.update-board,
.reading-path,
.shelf-section,
.journal-section,
.about-section,
.app-section,
.catalog-content,
.catalog-seo {
    margin-top: 96px;
}

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

.section-heading h2,
.ranking-title h2,
.update-board h2,
.reading-path h2,
.shelf-section h2,
.journal-section h2,
.about-section h2,
.app-section h2,
.catalog-content h2,
.catalog-seo h2 {
    margin: 8px 0 0;
    color: var(--navy);
    font-size: clamp(1.8rem, 3vw, 2.65rem);
    line-height: 1.2;
    letter-spacing: -0.035em;
}

.section-heading > p {
    max-width: 520px;
    margin: 0;
    color: var(--ink-soft);
}

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

.comic-card {
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.cover-link,
.catalog-cover {
    position: relative;
    display: block;
    overflow: hidden;
}

.cover-link {
    aspect-ratio: 3 / 4;
}

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

.comic-card:hover .cover-link img,
.catalog-item:hover .catalog-cover img {
    transform: scale(1.035);
}

.cover-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 10px;
    color: var(--white);
    background: rgba(16, 35, 63, 0.88);
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
}

.card-body {
    padding: 18px;
}

.card-body h3 {
    margin: 0;
    font-size: 1.08rem;
}

.card-body h3 a:hover,
.catalog-info h2 a:hover {
    color: var(--coral);
}

.card-body p {
    display: -webkit-box;
    margin: 8px 0 14px;
    overflow: hidden;
    color: var(--ink-soft);
    font-size: 0.88rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    color: #7d899c;
    font-size: 0.78rem;
}

.feature-story {
    display: grid;
    overflow: hidden;
    grid-template-columns: 1.18fr 0.82fr;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 42px rgba(18, 35, 59, 0.08);
}

.feature-image {
    min-height: 440px;
    overflow: hidden;
}

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

.feature-copy {
    display: flex;
    padding: 54px;
    flex-direction: column;
    justify-content: center;
}

.feature-copy h2 {
    margin: 10px 0 18px;
    font-size: 2.3rem;
    line-height: 1.25;
}

.feature-copy p {
    margin: 0 0 24px;
    color: var(--ink-soft);
}

.text-link {
    color: var(--coral-dark);
    font-weight: 900;
}

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

.category-card {
    position: relative;
    display: grid;
    min-height: 190px;
    padding: 24px;
    grid-template-columns: 48px 1fr;
    align-content: start;
    gap: 16px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-card::after {
    position: absolute;
    right: -32px;
    bottom: -45px;
    width: 110px;
    height: 110px;
    background: color-mix(in srgb, var(--accent, var(--coral)) 18%, transparent);
    border-radius: 50%;
    content: "";
}

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

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

.category-card strong,
.category-card small {
    display: block;
}

.category-card strong {
    margin-bottom: 7px;
    font-size: 1.05rem;
}

.category-card small {
    color: var(--ink-soft);
    font-size: 0.82rem;
    line-height: 1.65;
}

.category-arrow {
    position: absolute;
    right: 18px;
    bottom: 13px;
    z-index: 1;
    font-weight: 900;
}

.category-card-all {
    --accent: var(--navy);
    color: var(--white);
    background: var(--navy);
    border-color: var(--navy);
}

.category-card-all small {
    color: #c9d6e7;
}

.ranking-section {
    display: grid;
    padding: 48px;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 60px;
    color: var(--white);
    background: var(--navy);
    border-radius: var(--radius-lg);
}

.ranking-title h2 {
    color: var(--white);
}

.ranking-title p {
    color: #b8c7da;
}

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

.ranking-list li {
    display: grid;
    min-height: 64px;
    grid-template-columns: 52px 1fr auto;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.ranking-list li:last-child {
    border-bottom: 0;
}

.rank-number {
    color: var(--coral);
    font-size: 1.25rem;
    font-weight: 900;
}

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

.rank-score {
    color: var(--gold);
    font-size: 0.84rem;
}

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

.strip-card {
    position: relative;
    overflow: hidden;
    min-height: 430px;
    border-radius: 120px 120px 20px 20px;
}

.strip-card .cover-link {
    position: absolute;
    inset: 0;
}

.strip-card .card-body {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    padding: 70px 18px 18px;
    color: var(--white);
    background: linear-gradient(transparent, rgba(10, 24, 45, 0.94));
}

.strip-card .card-body p,
.strip-card .card-meta {
    color: #dce6f3;
}

.update-board {
    display: grid;
    padding: 48px;
    grid-template-columns: 0.65fr 1.35fr;
    gap: 50px;
    background: #fff5e4;
    border: 1px solid #f1d8ad;
    border-radius: var(--radius-lg);
}

.timeline-item {
    display: grid;
    min-height: 94px;
    grid-template-columns: 62px 20px 1fr;
    gap: 13px;
}

.timeline-item time {
    color: var(--coral-dark);
    font-weight: 900;
}

.timeline-dot {
    position: relative;
    width: 12px;
    height: 12px;
    margin-top: 8px;
    background: var(--coral);
    border: 3px solid #ffd0c8;
    border-radius: 50%;
}

.timeline-dot::after {
    position: absolute;
    top: 12px;
    left: 2px;
    width: 2px;
    height: 75px;
    background: #edc797;
    content: "";
}

.timeline-item:last-child .timeline-dot::after {
    display: none;
}

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

.timeline-item p {
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.completed-mosaic {
    display: grid;
    height: 620px;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    grid-template-rows: 1fr 1fr;
    gap: 18px;
}

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

.mosaic-1 {
    grid-row: 1 / 3;
}

.mosaic-4 {
    grid-column: 2 / 4;
}

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

.mosaic-item:hover img {
    transform: scale(1.04);
}

.mosaic-item > span {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    padding: 50px 20px 18px;
    flex-direction: column;
    color: var(--white);
    background: linear-gradient(transparent, rgba(10, 24, 45, 0.88));
}

.mosaic-item small {
    color: var(--gold);
}

.reading-path {
    display: grid;
    padding: 50px;
    grid-template-columns: 0.72fr 1.28fr;
    gap: 48px;
    background: var(--mint);
    border-radius: var(--radius-lg);
}

.reading-path-copy p {
    color: #3e665f;
}

.reading-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.reading-steps article {
    padding: 24px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(16, 35, 63, 0.12);
    border-radius: var(--radius-md);
}

.reading-steps article > span {
    color: var(--coral);
    font-size: 1.45rem;
    font-weight: 900;
}

.reading-steps h3 {
    margin: 22px 0 7px;
}

.reading-steps p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.87rem;
}

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

.shelf-heading {
    display: flex;
    margin-bottom: 28px;
    align-items: center;
    gap: 18px;
}

.shelf-icon {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    color: var(--white);
    background: var(--navy);
    border-radius: 16px;
    font-size: 1.6rem;
}

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

.shelf-book {
    display: grid;
    padding: 16px;
    grid-template-columns: 92px 1fr;
    align-items: center;
    gap: 17px;
    background: var(--paper);
    border-radius: 16px;
}

.shelf-book img {
    width: 92px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 10px;
}

.shelf-book h3,
.shelf-book p {
    margin: 0;
}

.shelf-book p {
    margin-top: 4px;
    color: var(--ink-soft);
    font-size: 0.8rem;
}

.shelf-book a {
    color: var(--coral-dark);
    font-size: 0.86rem;
    font-weight: 900;
}

.progress-track {
    height: 7px;
    margin-top: 12px;
    overflow: hidden;
    background: #dfe5ed;
    border-radius: 999px;
}

.progress-track span {
    display: block;
    height: 100%;
    background: var(--coral);
    border-radius: inherit;
}

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

.journal-grid article {
    position: relative;
    min-height: 280px;
    padding: 30px;
    overflow: hidden;
    color: var(--white);
    background: var(--navy);
    border-radius: var(--radius-md);
}

.journal-grid article:nth-child(2) {
    color: var(--ink);
    background: var(--coral);
}

.journal-grid article:nth-child(3) {
    color: var(--ink);
    background: var(--gold);
}

.journal-grid article > span {
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.journal-grid h3 {
    margin: 42px 0 12px;
    font-size: 1.45rem;
    line-height: 1.3;
}

.journal-grid p {
    opacity: 0.82;
}

.journal-grid a {
    font-weight: 900;
}

.about-section {
    display: grid;
    padding: 56px;
    grid-template-columns: 0.62fr 1.38fr;
    gap: 72px;
    color: var(--white);
    background: var(--navy);
    border-radius: var(--radius-lg);
}

.about-label {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.about-label span {
    color: var(--coral);
    font-weight: 900;
    letter-spacing: 0.2em;
}

.about-label strong {
    max-width: 250px;
    font-size: 2.1rem;
    line-height: 1.3;
}

.about-copy h2 {
    color: var(--white);
}

.about-copy p {
    color: #cbd7e6;
}

.about-points {
    display: flex;
    margin-top: 24px;
    flex-wrap: wrap;
    gap: 10px;
}

.about-points span {
    padding: 7px 13px;
    color: var(--gold);
    border: 1px solid rgba(255, 191, 87, 0.35);
    border-radius: 999px;
    font-size: 0.82rem;
}

.app-section {
    display: grid;
    margin-bottom: 96px;
    padding: 56px 70px;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 70px;
    background: linear-gradient(135deg, #fff0ed, #fff8e9);
    border: 1px solid #f4c7bf;
    border-radius: var(--radius-lg);
}

.app-copy {
    max-width: 690px;
}

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

.subscribe-form {
    display: grid;
    max-width: 600px;
    min-height: 54px;
    margin: 24px 0 10px;
    padding: 5px;
    grid-template-columns: 1fr auto;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 13px;
}

.subscribe-form input {
    min-width: 0;
    padding: 0 15px;
    background: transparent;
    border: 0;
    outline: 0;
}

.app-copy small {
    color: #7b8798;
}

.qr-card {
    display: flex;
    width: 202px;
    padding: 18px;
    flex-direction: column;
    align-items: center;
    background: var(--white);
    border: 2px solid var(--navy);
    border-radius: 18px;
    box-shadow: 8px 8px 0 var(--navy);
}

.qr-pattern {
    display: grid;
    width: 150px;
    height: 150px;
    padding: 10px;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    background: #eef2f7;
}

.qr-pattern i {
    background: var(--navy);
    border-radius: 2px;
}

.qr-pattern .q1,
.qr-pattern .q3 {
    background: var(--coral);
}

.qr-pattern .q4 {
    background: transparent;
}

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

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

.site-footer {
    padding: 58px 0 24px;
    color: #d6e0ed;
    background: #0b1c33;
}

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

.brand-footer {
    color: var(--white);
}

.brand-footer small,
.site-footer p {
    color: #9dafc6;
}

.site-footer p {
    max-width: 410px;
    margin: 20px 0 0;
}

.site-footer h2 {
    margin: 0 0 16px;
    color: var(--white);
    font-size: 1rem;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 18px;
}

.footer-links a:hover {
    color: var(--coral);
}

.copyright {
    display: flex;
    margin-top: 46px;
    padding-top: 20px;
    justify-content: space-between;
    color: #8093aa;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.82rem;
}

.breadcrumb {
    display: flex;
    margin-top: 34px;
    align-items: center;
    gap: 10px;
    color: #758196;
    font-size: 0.88rem;
}

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

.catalog-hero {
    position: relative;
    display: grid;
    min-height: 310px;
    margin-top: 28px;
    padding: 50px 56px;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 34px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.catalog-hero::after {
    position: absolute;
    right: -110px;
    bottom: -170px;
    width: 420px;
    height: 420px;
    background: color-mix(in srgb, var(--catalog-accent) 18%, transparent);
    border-radius: 50%;
    content: "";
}

.catalog-icon {
    display: grid;
    width: 98px;
    height: 98px;
    place-items: center;
    color: var(--white);
    background: var(--catalog-accent);
    border: 4px solid var(--navy);
    border-radius: 28px;
    box-shadow: 7px 7px 0 var(--navy);
    font-size: 2.5rem;
}

.catalog-hero h1 {
    margin: 7px 0 10px;
    font-size: clamp(2.5rem, 5vw, 4.6rem);
    line-height: 1.1;
    letter-spacing: -0.055em;
}

.catalog-hero p {
    max-width: 650px;
    margin: 0;
    color: var(--ink-soft);
}

.catalog-count {
    position: relative;
    z-index: 1;
    display: flex;
    width: 126px;
    height: 126px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: var(--navy);
    border-radius: 50%;
}

.catalog-count strong {
    font-size: 2rem;
    line-height: 1;
}

.catalog-count span {
    margin-top: 6px;
    font-size: 0.78rem;
}

.catalog-toolbar {
    display: flex;
    margin-bottom: 28px;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.catalog-toolbar p {
    margin: 6px 0 0;
    color: var(--ink-soft);
}

.catalog-status {
    padding: 8px 14px;
    color: var(--coral-dark);
    background: #fff0ed;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
}

.catalog-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.catalog-item {
    display: grid;
    min-height: 330px;
    overflow: hidden;
    grid-template-columns: 42% 58%;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    transition: box-shadow 0.25s ease;
}

.catalog-item:hover {
    box-shadow: var(--shadow);
}

.catalog-cover {
    min-height: 100%;
}

.catalog-cover > span {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 10px;
    color: var(--white);
    background: var(--coral);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
}

.catalog-info {
    padding: 28px;
}

.catalog-sequence {
    color: var(--coral);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.catalog-info h2 {
    margin: 7px 0 10px;
    font-size: 1.45rem;
}

.catalog-info p {
    margin: 0 0 16px;
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.tag-row {
    display: flex;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 7px;
}

.tag-row span {
    padding: 4px 9px;
    color: #64748b;
    background: #edf2f7;
    border-radius: 999px;
    font-size: 0.73rem;
}

.catalog-seo {
    margin-bottom: 96px;
    padding: 44px 50px;
    background: #eef3f8;
    border-left: 5px solid var(--coral);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.catalog-seo p {
    margin-bottom: 0;
    color: var(--ink-soft);
}

.reader {
    max-width: 980px;
    margin-top: 28px;
    margin-bottom: 96px;
}

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

.reader-label {
    display: inline-flex;
    padding: 6px 13px;
    align-items: center;
    gap: 7px;
    color: var(--coral-dark);
    background: #fff0ed;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 900;
}

.reader-header h1 {
    margin: 22px 0 6px;
    color: var(--navy);
    font-size: clamp(2.4rem, 6vw, 4.4rem);
    line-height: 1.12;
    letter-spacing: -0.055em;
}

.chapter-title {
    margin: 0;
    color: var(--ink-soft);
    font-size: 1.15rem;
}

.reader-meta {
    display: flex;
    margin-top: 28px;
    padding-top: 20px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 28px;
    color: #758196;
    border-top: 1px solid var(--line);
    font-size: 0.84rem;
}

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

.reading-note {
    display: grid;
    margin: 28px 0;
    padding: 26px 30px;
    grid-template-columns: auto 1fr;
    gap: 18px;
    background: #fff5e4;
    border: 1px solid #efdab7;
    border-radius: var(--radius-md);
}

.reading-note-icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    color: var(--white);
    background: var(--coral);
    border-radius: 50%;
}

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

.reading-note h2 {
    font-size: 1rem;
}

.reading-note p {
    margin-top: 5px;
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.chapter-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.chapter-content figure {
    overflow: hidden;
    margin: 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: 0 12px 34px rgba(18, 35, 59, 0.08);
}

.chapter-content img {
    width: 100%;
    aspect-ratio: 5 / 7;
    object-fit: cover;
    background: #e9eef5;
}

.chapter-content figcaption {
    padding: 17px 22px;
    color: var(--ink-soft);
    font-size: 0.88rem;
}

.chapter-end {
    margin-top: 34px;
    padding: 48px;
    text-align: center;
    color: var(--white);
    background: var(--navy);
    border-radius: var(--radius-lg);
}

.chapter-end > span {
    color: var(--gold);
    font-size: 2rem;
}

.chapter-end h2 {
    margin: 8px 0;
    font-size: 1.8rem;
}

.chapter-end p {
    margin: 0;
    color: #c4d1e1;
}

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

.chapter-nav > a {
    display: flex;
    min-height: 88px;
    padding: 16px 18px;
    flex-direction: column;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
}

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

.chapter-next {
    text-align: right;
}

.chapter-back {
    align-items: center;
    color: var(--white);
    background: var(--coral) !important;
    font-weight: 900;
}

.search-message,
.toast-message {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 200;
    max-width: 360px;
    padding: 14px 18px;
    color: var(--white);
    background: var(--navy);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

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

    .main-nav {
        order: 2;
        width: 100%;
        padding-bottom: 10px;
        justify-content: flex-start;
        overflow-x: auto;
    }

    .hero {
        grid-template-columns: 1fr 0.82fr;
    }

    .hero-copy {
        padding: 55px 38px;
    }

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

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

    .reading-path,
    .update-board {
        grid-template-columns: 1fr;
    }

    .shelf-row {
        grid-template-columns: 1fr;
    }
}

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

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

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

    .main-nav {
        position: absolute;
        top: 70px;
        right: 14px;
        left: 14px;
        display: none;
        padding: 12px;
        grid-template-columns: repeat(2, 1fr);
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: 16px;
        box-shadow: var(--shadow);
    }

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

    .main-nav a {
        justify-content: flex-start;
    }

    .hero {
        min-height: auto;
        margin-top: 28px;
        grid-template-columns: 1fr;
    }

    .hero-copy {
        padding: 44px 24px 34px;
    }

    .hero h1 {
        font-size: 3.1rem;
    }

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

    .hero-search {
        grid-template-columns: auto 1fr;
    }

    .hero-search button {
        min-height: 44px;
        grid-column: 1 / 3;
    }

    .trend-strip {
        grid-template-columns: 1fr 1fr;
    }

    .trend-strip > div {
        justify-content: flex-start;
        border-right: 0;
    }

    .content-section,
    .feature-story,
    .ranking-section,
    .update-board,
    .reading-path,
    .shelf-section,
    .journal-section,
    .about-section,
    .app-section,
    .catalog-content,
    .catalog-seo {
        margin-top: 66px;
    }

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

    .comic-grid,
    .category-grid,
    .horizontal-gallery,
    .journal-grid,
    .reading-steps,
    .footer-grid,
    .catalog-list {
        grid-template-columns: 1fr 1fr;
    }

    .feature-story,
    .ranking-section,
    .about-section,
    .app-section {
        grid-template-columns: 1fr;
    }

    .feature-image {
        min-height: 330px;
    }

    .feature-copy,
    .ranking-section,
    .update-board,
    .reading-path,
    .about-section,
    .app-section {
        padding: 34px 24px;
    }

    .category-card {
        min-height: 210px;
        grid-template-columns: 1fr;
    }

    .horizontal-gallery .strip-card {
        min-height: 360px;
    }

    .completed-mosaic {
        height: auto;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(2, 280px);
    }

    .mosaic-1,
    .mosaic-4 {
        grid-row: auto;
        grid-column: auto;
    }

    .about-label {
        min-height: 180px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    }

    .qr-card {
        margin: 0 auto;
    }

    .copyright {
        flex-direction: column;
        gap: 6px;
    }

    .catalog-hero {
        padding: 36px 26px;
        grid-template-columns: auto 1fr;
    }

    .catalog-count {
        display: none;
    }

    .catalog-item {
        grid-column: auto;
        grid-template-columns: 1fr;
    }

    .catalog-cover {
        min-height: auto;
        aspect-ratio: 4 / 3;
    }

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

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

    .chapter-back {
        grid-column: 1 / 3;
        grid-row: 2;
    }
}

@media (max-width: 520px) {
    .brand-copy small {
        display: none;
    }

    .hero h1 {
        font-size: 2.7rem;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .comic-grid,
    .category-grid,
    .horizontal-gallery,
    .journal-grid,
    .reading-steps,
    .catalog-list {
        grid-template-columns: 1fr;
    }

    .completed-mosaic {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 300px);
    }

    .shelf-section {
        padding: 28px 18px;
    }

    .shelf-book {
        grid-template-columns: 76px 1fr;
    }

    .shelf-book img {
        width: 76px;
    }

    .app-section {
        margin-bottom: 66px;
    }

    .subscribe-form {
        grid-template-columns: 1fr;
        background: transparent;
        border: 0;
        gap: 8px;
    }

    .subscribe-form input,
    .subscribe-form button {
        min-height: 50px;
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: 11px;
    }

    .subscribe-form button {
        color: var(--white);
        background: var(--coral);
        border-color: var(--coral);
    }

    .catalog-hero {
        grid-template-columns: 1fr;
    }

    .catalog-icon {
        width: 72px;
        height: 72px;
        font-size: 1.8rem;
    }

    .catalog-seo {
        padding: 30px 24px;
    }

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

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

    .chapter-back {
        grid-column: auto;
        grid-row: auto;
    }

    .chapter-next {
        text-align: left;
    }
}
