:root {
    --ink: #171927;
    --muted: #6c7085;
    --paper: #fffdfb;
    --soft: #f4f2f7;
    --line: #e6e3ea;
    --night: #10131f;
    --purple: #7257d7;
    --purple-dark: #5036ae;
    --coral: #ff6b6b;
    --yellow: #ffd45c;
    --mint: #67d6bb;
    --blue: #6db7ed;
    --radius: 22px;
    --shadow: 0 18px 55px rgba(28, 24, 47, 0.1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

body::before {
    position: fixed;
    z-index: -1;
    inset: 0;
    background-image: radial-gradient(circle at 8% 8%, rgba(114, 87, 215, 0.08), transparent 20%), radial-gradient(circle at 92% 18%, rgba(255, 107, 107, 0.08), transparent 18%);
    content: "";
    pointer-events: none;
}

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

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

button,
input {
    font: inherit;
}

button {
    color: inherit;
}

.container {
    width: min(1200px, calc(100% - 40px));
    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;
}

.ui-icon {
    flex: 0 0 auto;
}

.site-header {
    position: sticky;
    z-index: 50;
    top: 0;
    border-bottom: 1px solid rgba(230, 227, 234, 0.85);
    background: rgba(255, 253, 251, 0.94);
    backdrop-filter: blur(18px);
}

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

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

.brand-mark {
    position: relative;
    display: block;
    width: 42px;
    height: 38px;
    transform: rotate(-3deg);
}

.brand-page {
    position: absolute;
    top: 4px;
    width: 21px;
    height: 30px;
    border: 3px solid var(--night);
    background: var(--yellow);
}

.brand-page-left {
    left: 1px;
    border-radius: 7px 2px 2px 7px;
    transform: skewY(7deg);
}

.brand-page-right {
    right: 1px;
    border-radius: 2px 7px 7px 2px;
    background: var(--coral);
    transform: skewY(-7deg);
}

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

.brand-copy strong {
    font-size: 1.18rem;
    letter-spacing: 0.08em;
}

.brand-copy small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.75rem;
    letter-spacing: 0.03em;
}

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

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 10px;
    border-radius: 12px;
    color: #51556a;
    font-size: 0.875rem;
    font-weight: 650;
    transition: 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--purple-dark);
    background: #eee9ff;
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.hero {
    display: grid;
    min-height: 600px;
    margin-top: 48px;
    overflow: hidden;
    grid-template-columns: 1.03fr 0.97fr;
    border-radius: 34px;
    background: var(--night);
    color: #ffffff;
    box-shadow: var(--shadow);
}

.hero-copy {
    position: relative;
    z-index: 2;
    display: flex;
    padding: 72px 28px 66px 68px;
    flex-direction: column;
    justify-content: center;
}

.hero-kicker,
.section-kicker {
    margin: 0 0 10px;
    color: var(--coral);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.hero h1 {
    margin: 0;
    font-size: clamp(3.3rem, 6vw, 6.8rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
}

.hero h1 a {
    background: linear-gradient(135deg, #ffffff 15%, #d7cfff 55%, #ffb4ae 100%);
    background-clip: text;
    color: transparent;
}

.hero-title {
    margin: 24px 0 8px;
    font-size: clamp(1.45rem, 2.5vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.hero-description {
    max-width: 590px;
    margin: 0;
    color: #c7c8d2;
    font-size: 1.02rem;
}

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

.button {
    display: inline-flex;
    min-height: 46px;
    padding: 11px 19px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 14px;
    font-weight: 750;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.button-primary {
    color: #ffffff;
    background: var(--purple);
    box-shadow: 0 10px 24px rgba(114, 87, 215, 0.3);
}

.hero .button-primary {
    color: var(--night);
    background: var(--yellow);
    box-shadow: none;
}

.button-ghost {
    border-color: var(--line);
    background: #ffffff;
}

.hero .button-ghost {
    border-color: #414558;
    color: #ffffff;
    background: #242837;
}

.button-soft {
    color: var(--purple-dark);
    background: #eee9ff;
}

.hero-search {
    display: flex;
    max-width: 520px;
    margin-top: 34px;
    padding: 0 18px;
    align-items: center;
    gap: 10px;
    border: 1px solid #393d4e;
    border-radius: 16px;
    background: #1b1f2c;
}

.hero-search input {
    width: 100%;
    min-height: 50px;
    border: 0;
    outline: 0;
    color: #ffffff;
    background: transparent;
}

.hero-search input::placeholder {
    color: #8f93a6;
}

.hero-art {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    background: linear-gradient(145deg, #7158d8, #b44f91 58%, #ff7a66);
}

.hero-art img {
    position: absolute;
    z-index: 2;
    right: -2%;
    bottom: 0;
    width: 104%;
    height: 92%;
    object-fit: cover;
    object-position: center top;
    filter: saturate(0.9) contrast(1.02);
    mix-blend-mode: luminosity;
}

.hero-orbit {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
}

.orbit-one {
    width: 440px;
    height: 440px;
    top: -80px;
    right: -80px;
}

.orbit-two {
    width: 260px;
    height: 260px;
    left: -60px;
    bottom: 30px;
}

.hero-note {
    position: absolute;
    z-index: 3;
    right: 24px;
    bottom: 26px;
    display: grid;
    min-width: 158px;
    padding: 17px 20px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 18px;
    background: rgba(16, 19, 31, 0.76);
    backdrop-filter: blur(12px);
}

.hero-note strong {
    font-size: 0.8rem;
}

.hero-note span {
    color: var(--yellow);
    font-size: 1.8rem;
    font-weight: 850;
}

.signal-strip {
    display: grid;
    margin-top: 28px;
    padding: 24px 34px;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #ffffff;
}

.signal-item {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 9px;
    border-right: 1px solid var(--line);
}

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

.signal-item strong {
    color: var(--purple);
    font-size: 1.65rem;
}

.signal-item span {
    color: var(--muted);
    font-size: 0.9rem;
}

.section-block {
    margin-top: 112px;
    margin-bottom: 112px;
}

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

.section-heading h2,
.reading-copy h2,
.genre-layout h2,
.about-copy h2,
.app-copy h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.section-intro {
    max-width: 670px;
    margin: 12px 0 0;
    color: var(--muted);
}

.text-link,
.mini-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--purple-dark);
    font-weight: 750;
    white-space: nowrap;
}

.text-link svg,
.mini-link svg {
    order: 2;
}

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

.category-card {
    position: relative;
    min-height: 250px;
    padding: 26px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:nth-child(7) {
    grid-column: span 2;
}

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

.category-card::after {
    position: absolute;
    width: 100px;
    height: 100px;
    right: -28px;
    bottom: -35px;
    border-radius: 50%;
    background: var(--card-color, #eee9ff);
    content: "";
}

.category-1 { --card-color: #dff3ff; }
.category-2 { --card-color: #ffe3df; }
.category-3 { --card-color: #ffe6ee; }
.category-4 { --card-color: #e9e2ff; }
.category-5 { --card-color: #fff0c7; }
.category-6 { --card-color: #dcf5ed; }
.category-7 { --card-color: #e7e9ef; }

.category-icon {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 15px;
    background: var(--card-color, #eee9ff);
}

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

.category-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.category-count {
    display: block;
    margin-top: 16px;
    color: var(--purple-dark);
    font-size: 0.8rem;
    font-weight: 750;
}

.latest-section {
    padding: 96px 0;
    background: #f2eff8;
}

.comic-grid {
    display: grid;
    gap: 24px;
}

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

.comic-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 8px 28px rgba(28, 24, 47, 0.05);
}

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

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

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

.cover-badge {
    position: absolute;
    left: 14px;
    bottom: 14px;
    padding: 5px 10px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(16, 19, 31, 0.82);
    font-size: 0.75rem;
    font-weight: 750;
}

.card-copy {
    padding: 20px;
}

.eyebrow {
    margin: 0;
    color: var(--purple);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

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

.card-summary {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--muted);
    font-size: 0.9rem;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-meta {
    display: flex;
    margin-top: 16px;
    padding-top: 15px;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.78rem;
}

.save-button {
    display: inline-flex;
    padding: 5px 8px;
    align-items: center;
    gap: 5px;
    border: 0;
    border-radius: 9px;
    background: #f2eff8;
    cursor: pointer;
}

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

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

.rank-feature {
    position: relative;
    min-height: 540px;
    overflow: hidden;
    border-radius: 26px;
    background: var(--night);
}

.rank-feature::after {
    position: absolute;
    inset: 30% 0 0;
    background: linear-gradient(transparent, rgba(16, 19, 31, 0.96));
    content: "";
}

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

.rank-feature-copy {
    position: absolute;
    z-index: 2;
    right: 34px;
    bottom: 32px;
    left: 34px;
    color: #ffffff;
}

.rank-feature-copy h3 {
    margin: 4px 0 8px;
    font-size: 2rem;
}

.rank-feature-copy p {
    max-width: 520px;
    margin: 0 0 14px;
    color: #d7d8df;
}

.rank-number {
    position: absolute;
    right: 0;
    bottom: -22px;
    color: rgba(255, 255, 255, 0.13);
    font-size: 8rem;
    font-weight: 900;
    line-height: 1;
}

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

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

.rank-list li {
    display: grid;
    min-height: 96px;
    padding: 18px 20px;
    align-items: center;
    grid-template-columns: 48px 1fr auto;
    gap: 15px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: #ffffff;
}

.rank-order {
    color: var(--coral);
    font-size: 1.35rem;
    font-weight: 850;
}

.rank-list h3,
.rank-list p {
    margin: 0;
}

.rank-list h3 {
    font-size: 1rem;
}

.rank-list p {
    color: var(--muted);
    font-size: 0.8rem;
}

.mood-section {
    padding: 98px 0;
    color: #ffffff;
    background: var(--night);
}

.mood-section .section-intro {
    color: #aaaebe;
}

.mosaic-grid {
    display: grid;
    min-height: 620px;
    grid-template-columns: 1.25fr 0.75fr;
    grid-template-rows: 1fr 1fr;
    gap: 18px;
}

.mosaic-card {
    position: relative;
    overflow: hidden;
    border-radius: 23px;
}

.mosaic-card-1 {
    grid-row: span 2;
}

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

.mosaic-overlay {
    position: absolute;
    inset: auto 0 0;
    display: grid;
    padding: 60px 24px 22px;
    background: linear-gradient(transparent, rgba(16, 19, 31, 0.92));
}

.mosaic-overlay small {
    color: var(--yellow);
}

.mosaic-overlay strong {
    font-size: 1.35rem;
}

.update-timeline {
    position: relative;
    display: grid;
    gap: 0;
}

.update-timeline::before {
    position: absolute;
    top: 34px;
    bottom: 34px;
    left: 93px;
    width: 2px;
    background: #ded9ec;
    content: "";
}

.timeline-item {
    position: relative;
    display: grid;
    min-height: 92px;
    padding: 16px 18px;
    align-items: center;
    grid-template-columns: 60px 28px 1fr auto;
    gap: 10px;
    border-bottom: 1px solid var(--line);
}

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

.timeline-dot {
    position: relative;
    z-index: 2;
    width: 12px;
    height: 12px;
    justify-self: center;
    border: 3px solid var(--paper);
    border-radius: 50%;
    background: var(--coral);
    box-shadow: 0 0 0 2px var(--coral);
}

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

.timeline-item h3 {
    font-size: 1.03rem;
}

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

.reading-section {
    padding: 100px 0;
    overflow: hidden;
    background: linear-gradient(135deg, #7054d4, #9b4bba 60%, #e35d8d);
}

.reading-layout {
    display: grid;
    align-items: center;
    grid-template-columns: 1fr 0.72fr;
    gap: 90px;
    color: #ffffff;
}

.reading-copy > p:not(.section-kicker) {
    max-width: 650px;
    color: #eee9ff;
}

.feature-list {
    display: grid;
    margin: 30px 0 0;
    padding: 0;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    list-style: none;
}

.feature-list li {
    display: flex;
    padding: 13px 15px;
    align-items: center;
    gap: 9px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.1);
}

.reading-device {
    max-width: 360px;
    padding: 16px;
    justify-self: center;
    border: 8px solid #191b25;
    border-radius: 38px;
    color: var(--ink);
    background: #ffffff;
    box-shadow: 0 34px 70px rgba(25, 12, 48, 0.32);
    transform: rotate(3deg);
}

.device-top,
.device-caption {
    display: flex;
    padding: 8px 4px 13px;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
}

.reading-device img {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 18px;
    object-fit: cover;
}

.device-progress {
    height: 5px;
    margin-top: 14px;
    overflow: hidden;
    border-radius: 999px;
    background: #eceaf0;
}

.device-progress span {
    display: block;
    width: 68%;
    height: 100%;
    background: var(--purple);
}

.device-caption {
    padding-bottom: 1px;
}

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

.shelf-item {
    min-width: 0;
}

.shelf-item a {
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border-radius: 16px;
    background: var(--soft);
}

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

.shelf-item h3 {
    margin: 12px 0 2px;
    font-size: 0.96rem;
    line-height: 1.4;
}

.shelf-item p {
    margin: 0;
    color: var(--muted);
    font-size: 0.78rem;
}

.genre-section {
    padding: 88px 0;
    border-block: 1px solid var(--line);
    background: #f8f7fa;
}

.genre-layout {
    display: grid;
    align-items: center;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 70px;
}

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

.mood-pill {
    display: inline-flex;
    padding: 15px 20px;
    align-items: center;
    gap: 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
    font-weight: 750;
}

.mood-pill:nth-child(3n + 1) {
    color: #6032ac;
    background: #eee7ff;
}

.mood-pill:nth-child(3n + 2) {
    color: #a33f4d;
    background: #ffe8e5;
}

.mood-pill:nth-child(3n) {
    color: #147b66;
    background: #e0f7f0;
}

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

.guide-card {
    min-height: 250px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #ffffff;
}

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

.guide-card h3 {
    margin: 12px 0 8px;
    font-size: 1.2rem;
}

.guide-card p {
    margin: 0;
    color: var(--muted);
}

.about-section {
    padding: 104px 0;
    background: var(--night);
}

.about-layout {
    display: grid;
    align-items: center;
    grid-template-columns: 0.88fr 1.12fr;
    gap: 76px;
}

.about-art {
    position: relative;
}

.about-art img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 30px;
    object-fit: cover;
    filter: saturate(0.75);
}

.about-stamp {
    position: absolute;
    right: -18px;
    bottom: 32px;
    display: inline-flex;
    padding: 15px 18px;
    align-items: center;
    gap: 8px;
    border-radius: 14px;
    color: var(--night);
    background: var(--yellow);
    transform: rotate(-3deg);
}

.about-copy {
    color: #ffffff;
}

.about-copy > p:not(.section-kicker) {
    color: #bfc2cf;
}

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

.about-points span {
    display: inline-flex;
    padding: 8px 11px;
    align-items: center;
    gap: 6px;
    border: 1px solid #373b4c;
    border-radius: 10px;
    background: #202432;
}

.app-section {
    display: grid;
    margin-top: 112px;
    margin-bottom: 70px;
    padding: 54px 62px;
    align-items: center;
    grid-template-columns: 1fr 230px;
    gap: 50px;
    border-radius: 28px;
    background: #fff0c7;
}

.app-icon {
    display: grid;
    width: 56px;
    height: 56px;
    margin-bottom: 18px;
    place-items: center;
    border-radius: 16px;
    color: #ffffff;
    background: var(--night);
}

.app-copy > p:not(.section-kicker) {
    max-width: 720px;
}

.subscribe-button {
    margin-top: 10px;
    border: 0;
}

.privacy-note {
    display: block;
    margin-top: 10px;
    color: #75683e;
}

.brand-qr {
    position: relative;
    width: 210px;
    height: 210px;
    border: 14px solid #ffffff;
    border-radius: 22px;
    background: repeating-conic-gradient(var(--night) 0 25%, transparent 0 50%) 50% / 28px 28px;
    box-shadow: 0 18px 42px rgba(98, 78, 23, 0.14);
}

.qr-cell {
    position: absolute;
    width: 45px;
    height: 45px;
    border: 8px solid var(--night);
    background: var(--yellow);
}

.q1 { top: 6px; left: 6px; }
.q2 { top: 6px; right: 6px; }
.q3 { right: 6px; bottom: 6px; }

.qr-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 55px;
    height: 55px;
    place-items: center;
    border: 6px solid #ffffff;
    border-radius: 14px;
    color: #ffffff;
    background: var(--coral);
    font-size: 1.4rem;
    font-weight: 900;
    transform: translate(-50%, -50%);
}

.site-footer {
    padding: 68px 0 26px;
    color: #ffffff;
    background: #0b0d16;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.7fr 0.65fr 0.65fr;
    gap: 60px;
}

.footer-brand strong {
    font-size: 1.5rem;
}

.footer-brand p {
    max-width: 430px;
    color: #969bab;
}

.footer-links {
    display: grid;
    align-content: start;
    gap: 8px;
}

.footer-links h2 {
    margin: 0 0 7px;
    font-size: 0.95rem;
}

.footer-links a {
    color: #aeb2c0;
    font-size: 0.88rem;
}

.footer-bottom {
    display: flex;
    margin-top: 50px;
    padding-top: 24px;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid #252837;
    color: #777c8d;
    font-size: 0.78rem;
}

.footer-bottom p {
    margin: 0;
}

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

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

.channel-hero {
    margin-top: 24px;
    padding: 62px 0;
    color: #ffffff;
    background: linear-gradient(120deg, var(--night), #4d3a8a);
}

.channel-popular,
.channel-romance {
    background: linear-gradient(120deg, #331f35, #a64e71);
}

.channel-fantasy {
    background: linear-gradient(120deg, #15233e, #4c57a4);
}

.channel-action {
    background: linear-gradient(120deg, #2c171a, #b6493f);
}

.channel-campus {
    background: linear-gradient(120deg, #17363b, #3f9d8c);
}

.channel-completed {
    background: linear-gradient(120deg, #302817, #a1843f);
}

.channel-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.channel-hero h1 {
    margin: 0;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: -0.05em;
}

.channel-hero p:not(.section-kicker) {
    max-width: 720px;
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.74);
}

.channel-icon {
    display: grid;
    width: 116px;
    height: 116px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(6deg);
}

.channel-card .cover-link {
    aspect-ratio: 4 / 5;
}

.channel-note {
    display: grid;
    margin-top: 0;
    margin-bottom: 110px;
    padding: 32px;
    align-items: start;
    grid-template-columns: 60px 1fr;
    gap: 20px;
    border: 1px solid #ddd6fb;
    border-radius: 20px;
    background: #f3efff;
}

.channel-note-icon {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 15px;
    color: #ffffff;
    background: var(--purple);
}

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

.channel-note h2 {
    font-size: 1.18rem;
}

.channel-note p {
    margin-top: 4px;
    color: var(--muted);
}

.reader-header {
    padding: 70px 0 48px;
    text-align: center;
}

.reader-category {
    margin: 0;
    color: var(--purple);
    font-weight: 800;
}

.reader-header h1 {
    margin: 10px auto 18px;
    font-size: clamp(2.2rem, 5vw, 4.6rem);
    line-height: 1.15;
    letter-spacing: -0.05em;
}

.reader-synopsis {
    max-width: 760px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 1.05rem;
}

.reader-meta {
    display: flex;
    margin-top: 24px;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 22px;
    color: #7f8396;
    font-size: 0.82rem;
}

.save-button-large {
    margin-top: 24px;
    padding: 10px 15px;
}

.reading-notice {
    display: grid;
    margin-bottom: 50px;
    padding: 24px 28px;
    align-items: start;
    grid-template-columns: auto 1fr;
    gap: 16px;
    border: 1px solid #e6dfbc;
    border-radius: 17px;
    background: #fff9df;
}

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

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

.reading-notice p {
    color: #706845;
    font-size: 0.9rem;
}

.comic-chapter {
    padding: 70px 0 90px;
    background: #12141d;
}

.chapter-heading {
    max-width: 900px;
    color: #ffffff;
    text-align: center;
}

.chapter-heading h2 {
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 3.2rem);
}

.chapter-heading > p:not(.section-kicker) {
    color: #aeb2c0;
}

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

.comic-panel {
    margin: 0 0 34px;
    overflow: hidden;
    border-radius: 12px;
    background: #ffffff;
}

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

.comic-panel figcaption {
    padding: 16px 20px;
    color: #525668;
    font-size: 0.9rem;
}

.chapter-end {
    padding: 90px 0 110px;
    text-align: center;
}

.chapter-end-icon {
    display: grid;
    width: 62px;
    height: 62px;
    margin: 0 auto 16px;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: var(--purple);
}

.chapter-end h2 {
    margin: 0;
    font-size: 2rem;
}

.chapter-end > p {
    color: var(--muted);
}

.chapter-nav {
    display: flex;
    margin-top: 30px;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.toast {
    position: fixed;
    z-index: 100;
    right: 22px;
    bottom: 22px;
    padding: 13px 18px;
    border-radius: 12px;
    color: #ffffff;
    background: var(--night);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(12px);
    transition: 0.2s ease;
    pointer-events: none;
}

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

.search-hidden {
    display: none !important;
}

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

    .main-nav {
        gap: 2px;
    }

    .nav-link {
        padding: 9px 8px;
        font-size: 0.8rem;
    }

    .nav-link svg {
        display: none;
    }

    .hero-copy {
        padding-left: 46px;
    }

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

    .category-card:nth-child(7) {
        grid-column: span 3;
    }

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

@media (max-width: 820px) {
    .container {
        width: min(calc(100% - 30px), 1200px);
    }

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

    .menu-toggle {
        display: grid;
        width: 44px;
        height: 44px;
        place-items: center;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 1px);
        right: 15px;
        left: 15px;
        display: none;
        padding: 12px;
        grid-template-columns: repeat(2, 1fr);
        border: 1px solid var(--line);
        border-radius: 16px;
        background: #ffffff;
        box-shadow: var(--shadow);
    }

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

    .nav-link svg {
        display: block;
    }

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

    .hero-copy {
        padding: 58px 34px;
    }

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

    .signal-strip {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px 0;
    }

    .signal-item:nth-child(2) {
        border-right: 0;
    }

    .section-block {
        margin-top: 84px;
        margin-bottom: 84px;
    }

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

    .category-card:nth-child(7) {
        grid-column: span 2;
    }

    .rank-layout,
    .reading-layout,
    .about-layout,
    .genre-layout {
        grid-template-columns: 1fr;
    }

    .reading-layout,
    .about-layout {
        gap: 56px;
    }

    .mosaic-grid {
        min-height: 720px;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1.2fr 0.8fr;
    }

    .mosaic-card-1 {
        grid-column: span 2;
        grid-row: auto;
    }

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

    .app-section {
        padding: 44px 34px;
        grid-template-columns: 1fr 190px;
    }

    .brand-qr {
        width: 180px;
        height: 180px;
    }

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

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 560px) {
    body {
        font-size: 16px;
    }

    .container {
        width: min(calc(100% - 24px), 1200px);
    }

    .brand-copy strong {
        font-size: 1.05rem;
    }

    .hero {
        border-radius: 24px;
    }

    .hero-copy {
        padding: 48px 22px;
    }

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

    .hero-title {
        font-size: 1.45rem;
    }

    .hero-actions .button {
        flex: 1 1 100%;
    }

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

    .signal-strip {
        padding-inline: 12px;
    }

    .signal-item {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

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

    .category-grid,
    .comic-grid-three {
        grid-template-columns: 1fr;
    }

    .category-card:nth-child(7) {
        grid-column: auto;
    }

    .latest-section,
    .mood-section,
    .reading-section,
    .about-section {
        padding-block: 72px;
    }

    .rank-feature {
        min-height: 470px;
    }

    .rank-feature-copy {
        right: 22px;
        bottom: 24px;
        left: 22px;
    }

    .rank-number {
        font-size: 5rem;
    }

    .rank-list li {
        grid-template-columns: 38px 1fr;
    }

    .rank-list li > svg {
        display: none;
    }

    .mosaic-grid {
        display: grid;
        min-height: auto;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 330px);
    }

    .mosaic-card-1 {
        grid-column: auto;
    }

    .timeline-item {
        grid-template-columns: 52px 20px 1fr;
        padding-inline: 4px;
    }

    .timeline-item .mini-link {
        display: none;
    }

    .update-timeline::before {
        left: 66px;
    }

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

    .reading-device {
        width: min(92%, 350px);
    }

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

    .genre-cloud {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .mood-pill {
        padding: 12px 13px;
        justify-content: center;
        font-size: 0.88rem;
    }

    .about-stamp {
        right: 12px;
    }

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

    .brand-qr {
        justify-self: center;
    }

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

    .footer-brand {
        grid-column: span 2;
    }

    .footer-bottom {
        flex-direction: column;
    }

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

    .channel-icon {
        width: 82px;
        height: 82px;
    }

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

    .reader-header {
        padding-top: 52px;
    }

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

    .comic-panels {
        width: 100%;
    }

    .comic-panel {
        border-radius: 0;
    }

    .chapter-nav .button {
        flex: 1 1 calc(50% - 12px);
    }
}
