:root {
    --ink: #f6f7ff;
    --muted: #aeb5cc;
    --night: #0b1022;
    --panel: #141b33;
    --panel-soft: #1a2342;
    --line: rgba(255, 255, 255, 0.1);
    --coral: #ff6b6b;
    --violet: #8c7cff;
    --cyan: #45d9ff;
    --mint: #33d1a0;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
    --radius-lg: 28px;
    --radius-md: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 10% 0%, rgba(140, 124, 255, 0.16), transparent 28rem),
        radial-gradient(circle at 95% 12%, rgba(255, 107, 107, 0.12), transparent 30rem),
        var(--night);
    font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
    font-size: 16px;
    line-height: 1.75;
    overflow-x: hidden;
}

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

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    font: inherit;
}

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

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 100;
    padding: 10px 16px;
    color: #0b1022;
    background: #ffffff;
    border-radius: 10px;
    transform: translateY(-160%);
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom: 1px solid var(--line);
    background: rgba(11, 16, 34, 0.88);
    backdrop-filter: blur(18px);
}

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

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

.brand-mark {
    display: grid;
    width: 52px;
    height: 52px;
    color: #ffffff;
    font-size: 1.24rem;
    font-weight: 900;
    letter-spacing: -0.08em;
    background: linear-gradient(135deg, var(--coral), #ff8d64 52%, var(--violet));
    border-radius: 15px 15px 15px 5px;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.26);
    place-items: center;
}

.brand-mark.small {
    width: 44px;
    height: 44px;
    font-size: 1rem;
}

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

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

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

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

.nav-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 11px;
    color: var(--muted);
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 0.875rem;
    white-space: nowrap;
    transition: 180ms ease;
}

.nav-item:hover,
.nav-item:focus-visible {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

body[data-section="home"] .nav-item[data-nav="home"],
body[data-section="latest"] .nav-item[data-nav="latest"],
body[data-section="popular"] .nav-item[data-nav="popular"],
body[data-section="romance"] .nav-item[data-nav="romance"],
body[data-section="fantasy"] .nav-item[data-nav="fantasy"],
body[data-section="action"] .nav-item[data-nav="action"],
body[data-section="korean"] .nav-item[data-nav="korean"],
body[data-section="completed"] .nav-item[data-nav="completed"] {
    color: #ffffff;
    background: rgba(255, 107, 107, 0.12);
    border-color: rgba(255, 107, 107, 0.3);
}

.ui-icon {
    display: grid;
    width: 22px;
    height: 22px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 7px;
    place-items: center;
}

.menu-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    padding: 9px 13px;
    color: #ffffff;
    background: var(--panel-soft);
    border: 1px solid var(--line);
    border-radius: 12px;
    cursor: pointer;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    align-items: center;
    gap: 54px;
    min-height: 590px;
    margin-top: 34px;
    padding: 64px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(255, 107, 107, 0.16), transparent 42%),
        linear-gradient(315deg, rgba(69, 217, 255, 0.12), transparent 46%),
        var(--panel);
    border: 1px solid var(--line);
    border-radius: 36px;
    box-shadow: var(--shadow);
}

.hero-kicker,
.eyebrow {
    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.4rem, 7vw, 6.8rem);
    line-height: 0.95;
    letter-spacing: -0.08em;
}

.hero h1 a {
    background: linear-gradient(120deg, #ffffff 15%, #ff8a7c 58%, #8bdfff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-lead {
    max-width: 640px;
    margin: 28px 0 0;
    color: #c8cee0;
    font-size: 1.08rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    border: 1px solid transparent;
    border-radius: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

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

.button.primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--coral), #ff8a65);
    box-shadow: 0 12px 32px rgba(255, 107, 107, 0.22);
}

.button.secondary {
    color: #ffffff;
    background: var(--violet);
}

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

.hero-stack {
    position: relative;
    min-height: 430px;
}

.hero-cover {
    position: absolute;
    display: block;
    width: 235px;
    overflow: hidden;
    background: #20294b;
    border: 7px solid rgba(255, 255, 255, 0.9);
    border-radius: 18px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    transition: transform 220ms ease;
}

.hero-cover:hover {
    z-index: 6;
    transform: translateY(-8px) rotate(0deg) scale(1.03);
}

.hero-cover img {
    width: 100%;
    aspect-ratio: 13 / 18;
    object-fit: cover;
}

.hero-cover span {
    display: block;
    padding: 12px 10px;
    color: #10152b;
    background: #ffffff;
    font-size: 0.88rem;
    font-weight: 800;
    text-align: center;
}

.hero-cover:nth-child(1) {
    top: 38px;
    left: 0;
    z-index: 3;
    transform: rotate(-8deg);
}

.hero-cover:nth-child(2) {
    top: 2px;
    right: 24px;
    z-index: 2;
    transform: rotate(7deg);
}

.hero-cover:nth-child(3) {
    right: 0;
    bottom: -22px;
    z-index: 4;
    transform: rotate(-2deg) scale(0.84);
}

.pulse-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 28px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}

.pulse-item {
    display: grid;
    gap: 2px;
    padding: 20px 24px;
    border-right: 1px solid var(--line);
}

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

.pulse-item strong {
    color: #ffffff;
    font-size: 1.45rem;
}

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

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

.section-heading {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    margin-bottom: 32px;
}

.section-icon {
    display: grid;
    width: 56px;
    height: 56px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--violet), var(--coral));
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(140, 124, 255, 0.22);
    font-size: 1.35rem;
    place-items: center;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    line-height: 1.2;
}

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

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

.category-card {
    position: relative;
    min-height: 270px;
    padding: 28px;
    overflow: hidden;
    background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 15%, var(--panel)), var(--panel));
    border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
    border-radius: var(--radius-lg);
    transition: transform 180ms ease, border-color 180ms ease;
}

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

.category-icon {
    display: grid;
    width: 48px;
    height: 48px;
    color: #0b1022;
    background: var(--accent);
    border-radius: 16px;
    font-size: 1.35rem;
    place-items: center;
}

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

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

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

.text-link.light {
    color: #ffffff;
}

.update-timeline {
    padding: 12px 28px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.update-row {
    display: grid;
    grid-template-columns: 72px 16px minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
}

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

.update-row time {
    color: var(--cyan);
    font-weight: 800;
}

.timeline-dot {
    width: 10px;
    height: 10px;
    background: var(--coral);
    border: 3px solid var(--panel);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.25);
}

.update-row h3 {
    margin: 5px 0 3px;
}

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

.row-action {
    padding: 8px 14px;
    color: #ffffff;
    border: 1px solid var(--line);
    border-radius: 10px;
    white-space: nowrap;
}

.tag {
    display: inline-flex;
    color: var(--cyan);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.ranking-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 22px;
}

.ranking-feature {
    display: grid;
    grid-template-columns: 46% 1fr;
    min-height: 480px;
    overflow: hidden;
    background: linear-gradient(145deg, #262449, var(--panel));
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.ranking-figure {
    height: 100%;
    margin: 0;
}

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

.ranking-figure figcaption {
    display: none;
}

.ranking-feature-copy {
    align-self: center;
    padding: 36px;
}

.rank-badge {
    color: #ffcf70;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.ranking-feature-copy h3 {
    margin: 16px 0 12px;
    font-size: 2rem;
    line-height: 1.25;
}

.ranking-feature-copy p {
    color: var(--muted);
}

.ranking-list {
    display: grid;
    margin: 0;
    padding: 8px 24px;
    list-style: none;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.ranking-list li {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    border-bottom: 1px solid var(--line);
}

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

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

.ranking-list h3 {
    margin: 0;
    font-size: 1rem;
}

.ranking-list p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 0.78rem;
}

.heat {
    color: var(--mint);
    font-size: 0.82rem;
    font-weight: 800;
}

.editorial-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.85fr 0.85fr;
    grid-template-rows: 520px;
    gap: 18px;
}

.editorial-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.editorial-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms ease;
}

.editorial-card:hover img {
    transform: scale(1.04);
}

.editorial-overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 90px 26px 26px;
    background: linear-gradient(transparent, rgba(8, 12, 26, 0.96));
}

.editorial-overlay h3 {
    margin: 9px 0 6px;
    font-size: 1.4rem;
}

.editorial-overlay p {
    margin: 0;
    color: #d5daea;
    font-size: 0.88rem;
}

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

.comic-card {
    overflow: hidden;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 22px;
}

.card-figure {
    margin: 0;
}

.card-figure img {
    width: 100%;
    aspect-ratio: 7 / 9;
    object-fit: cover;
}

.card-figure figcaption {
    display: none;
}

.card-body {
    padding: 22px;
}

.card-body h3 {
    margin: 8px 0;
}

.card-body p {
    min-height: 5.2em;
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 0.78rem;
}

.section-action {
    margin-top: 24px;
    text-align: center;
}

.genre-map {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.mood-pill {
    display: grid;
    min-height: 145px;
    align-content: end;
    padding: 24px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 999px 999px 28px 28px;
    transition: transform 180ms ease;
}

.mood-pill:hover {
    transform: translateY(-5px);
}

.mood-pill strong {
    font-size: 1.18rem;
}

.mood-pill span {
    color: var(--muted);
    font-size: 0.84rem;
}

.mood-1,
.mood-4 {
    background: linear-gradient(135deg, rgba(255, 111, 174, 0.2), var(--panel));
}

.mood-2,
.mood-5 {
    background: linear-gradient(135deg, rgba(51, 209, 160, 0.18), var(--panel));
}

.mood-3,
.mood-6 {
    background: linear-gradient(135deg, rgba(140, 124, 255, 0.2), var(--panel));
}

.schedule-board {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    overflow: hidden;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.schedule-day {
    min-height: 230px;
    padding: 22px 16px;
    border-right: 1px solid var(--line);
}

.schedule-day:last-child {
    border-right: 0;
}

.day-label {
    color: var(--coral);
    font-size: 0.76rem;
    font-weight: 800;
}

.day-icon {
    display: grid;
    width: 42px;
    height: 42px;
    margin: 36px 0 16px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    place-items: center;
}

.schedule-day h3 {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.45;
}

.schedule-day p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 0.78rem;
}

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

.completed-item {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 22px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 18px;
}

.complete-number {
    color: var(--violet);
    font-size: 1.55rem;
    font-weight: 900;
}

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

.complete-status {
    padding: 5px 10px;
    color: var(--mint);
    background: rgba(51, 209, 160, 0.1);
    border-radius: 999px;
    font-size: 0.76rem;
}

.guide-panel {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 290px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(69, 217, 255, 0.1), var(--panel));
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.guide-tabs {
    display: grid;
    align-content: center;
    gap: 10px;
    padding: 28px;
    border-right: 1px solid var(--line);
}

.guide-tabs button {
    padding: 14px 16px;
    color: var(--muted);
    text-align: left;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 12px;
    cursor: pointer;
}

.guide-tabs button[aria-selected="true"] {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--line);
}

.guide-content {
    align-self: center;
    padding: 54px;
}

.guide-content[hidden] {
    display: none;
}

.guide-content h3 {
    margin: 0 0 12px;
    font-size: 2rem;
}

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

.about-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 32px;
}

.about-story {
    padding: 34px;
    background: linear-gradient(145deg, rgba(255, 107, 107, 0.11), var(--panel));
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.about-story p {
    margin: 0 0 18px;
    color: #d0d5e4;
}

.about-points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.about-points article {
    padding: 24px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 20px;
}

.about-points span {
    color: var(--coral);
    font-weight: 900;
}

.about-points h3 {
    margin: 28px 0 6px;
}

.about-points p {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.app-section {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 60px;
    margin-top: 110px;
    margin-bottom: 74px;
    padding: 52px 64px;
    background:
        linear-gradient(135deg, rgba(140, 124, 255, 0.28), transparent 45%),
        linear-gradient(315deg, rgba(255, 107, 107, 0.16), transparent 42%),
        var(--panel);
    border: 1px solid var(--line);
    border-radius: 34px;
}

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

.app-copy h2 {
    margin: 8px 0 14px;
    font-size: clamp(2rem, 4vw, 3rem);
}

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

.app-note {
    margin-bottom: 0;
    font-size: 0.8rem;
}

.app-visual {
    display: grid;
    gap: 12px;
    justify-items: center;
    padding: 18px;
    color: var(--muted);
    background: #ffffff;
    border-radius: 22px;
    font-size: 0.8rem;
}

.app-visual img {
    width: 180px;
    height: 180px;
}

.subscribe-toast {
    position: absolute;
    right: 24px;
    bottom: 22px;
    max-width: 360px;
    padding: 12px 16px;
    color: #0b1022;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.site-footer {
    border-top: 1px solid var(--line);
    background: #080c1a;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 30px;
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    padding: 42px 0;
}

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

.footer-brand p {
    margin: 2px 0 0;
    color: var(--muted);
    font-size: 0.82rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: var(--muted);
    font-size: 0.88rem;
}

.copyright {
    grid-column: 1 / -1;
    margin: 0;
    padding-top: 24px;
    color: #798198;
    border-top: 1px solid var(--line);
    font-size: 0.78rem;
}

.breadcrumb {
    margin-top: 28px;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0;
    padding: 0;
    color: var(--muted);
    font-size: 0.84rem;
    list-style: none;
}

.breadcrumb li {
    display: inline-flex;
    gap: 7px;
}

.breadcrumb a:hover {
    color: #ffffff;
}

.channel-hero {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 34px;
    align-items: center;
    margin-top: 28px;
    padding: 52px 58px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--channel) 22%, transparent), var(--panel));
    border: 1px solid color-mix(in srgb, var(--channel) 38%, transparent);
    border-radius: 34px;
}

.channel-icon {
    display: grid;
    width: 112px;
    height: 112px;
    color: #0b1022;
    background: var(--channel);
    border-radius: 32px 32px 32px 9px;
    font-size: 3rem;
    box-shadow: 0 20px 50px color-mix(in srgb, var(--channel) 28%, transparent);
    place-items: center;
}

.channel-hero h1 {
    margin: 0;
    font-size: clamp(2.5rem, 6vw, 4.6rem);
    line-height: 1.1;
}

.channel-hero p:last-child {
    max-width: 760px;
    margin: 14px 0 0;
    color: #cbd1e2;
}

.channel-intro {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    margin-top: 48px;
    padding: 26px 30px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--line);
    border-radius: 18px;
}

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

.channel-intro p {
    color: var(--muted);
}

.channel-facts {
    display: grid;
    gap: 5px;
    color: var(--mint);
    font-size: 0.78rem;
    white-space: nowrap;
}

.channel-list {
    margin-top: 72px;
}

.channel-list > h2 {
    margin: 0 0 28px;
    font-size: 2rem;
}

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

.channel-card {
    overflow: hidden;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 24px;
}

.channel-cover {
    position: relative;
    display: block;
    overflow: hidden;
}

.channel-cover img {
    width: 100%;
    aspect-ratio: 14 / 10;
    object-fit: cover;
    transition: transform 300ms ease;
}

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

.chapter-badge {
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 6px 10px;
    color: #ffffff;
    background: rgba(8, 12, 26, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9px;
    font-size: 0.76rem;
}

.channel-card-body {
    padding: 24px;
}

.channel-card-body h3 {
    margin: 8px 0 10px;
    font-size: 1.2rem;
}

.channel-card-body > p {
    min-height: 5.2em;
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.channel-note {
    margin-top: 64px;
    margin-bottom: 72px;
    padding: 30px 34px;
    background: linear-gradient(135deg, rgba(51, 209, 160, 0.1), transparent), var(--panel);
    border: 1px solid var(--line);
    border-radius: 22px;
}

.channel-note h2 {
    margin: 0 0 8px;
}

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

.reading-progress {
    position: fixed;
    top: 85px;
    right: 0;
    left: 0;
    z-index: 29;
    height: 3px;
}

.reading-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--coral), var(--violet), var(--cyan));
}

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

.reader-header {
    padding: 54px;
    text-align: center;
    background: linear-gradient(145deg, rgba(140, 124, 255, 0.14), var(--panel));
    border: 1px solid var(--line);
    border-radius: 30px;
}

.reader-header h1 {
    margin: 10px 0 14px;
    font-size: clamp(2.2rem, 6vw, 4.1rem);
    line-height: 1.15;
}

.reader-summary {
    max-width: 720px;
    margin: 0 auto;
    color: #c8cee0;
}

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

.reading-note {
    margin: 34px 0 50px;
    padding: 24px 28px;
    background: rgba(69, 217, 255, 0.08);
    border: 1px solid rgba(69, 217, 255, 0.18);
    border-radius: 18px;
}

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

.reading-note h2 {
    margin-bottom: 6px;
    font-size: 1.05rem;
}

.reading-note p {
    color: var(--muted);
    font-size: 0.9rem;
}

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

.comic-panel {
    margin: 0 0 42px;
    overflow: hidden;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
}

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

.comic-panel figcaption {
    display: grid;
    gap: 4px;
    padding: 20px 24px;
}

.comic-panel figcaption span {
    color: var(--muted);
    font-size: 0.88rem;
}

.chapter-end {
    padding: 48px 28px;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.12), rgba(140, 124, 255, 0.12));
    border: 1px solid var(--line);
    border-radius: 24px;
}

.chapter-end > span {
    color: var(--coral);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.28em;
}

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

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

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

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

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

@media (max-width: 1120px) {
    .header-inner {
        min-height: 76px;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .main-nav {
        position: absolute;
        top: 76px;
        right: 20px;
        left: 20px;
        display: none;
        grid-template-columns: repeat(4, 1fr);
        padding: 16px;
        background: rgba(20, 27, 51, 0.98);
        border: 1px solid var(--line);
        border-radius: 18px;
        box-shadow: var(--shadow);
    }

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

    .nav-item {
        justify-content: center;
    }

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

    .hero-stack {
        width: min(100%, 580px);
        margin: 0 auto;
    }

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

    .editorial-grid {
        grid-template-columns: 1.2fr 1fr;
        grid-template-rows: repeat(2, 400px);
    }

    .editorial-card:first-child {
        grid-row: span 2;
    }

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

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

    .schedule-day {
        min-height: 190px;
        border-bottom: 1px solid var(--line);
    }

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

    .channel-facts {
        grid-template-columns: repeat(3, auto);
        justify-content: start;
        gap: 12px 22px;
    }
}

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

    .brand-copy small {
        display: none;
    }

    .main-nav {
        right: 14px;
        left: 14px;
        grid-template-columns: repeat(2, 1fr);
        max-height: calc(100vh - 96px);
        overflow-y: auto;
    }

    .hero {
        gap: 20px;
        min-height: auto;
        margin-top: 24px;
        padding: 38px 28px 50px;
        border-radius: 26px;
    }

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

    .hero-stack {
        min-height: 360px;
    }

    .hero-cover {
        width: 190px;
    }

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

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

    .pulse-item:nth-child(-n + 2) {
        border-bottom: 1px solid var(--line);
    }

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

    .ranking-layout,
    .about-layout {
        grid-template-columns: 1fr;
    }

    .editorial-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 390px);
    }

    .editorial-card:first-child {
        grid-row: auto;
    }

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

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

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

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

    .guide-tabs {
        grid-template-columns: repeat(3, 1fr);
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .guide-tabs button {
        text-align: center;
    }

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

    .app-visual {
        justify-self: start;
    }

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

    .channel-hero {
        grid-template-columns: 80px 1fr;
        padding: 36px;
    }

    .channel-icon {
        width: 76px;
        height: 76px;
        border-radius: 23px 23px 23px 7px;
        font-size: 2rem;
    }

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

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

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

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

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

    .menu-toggle-text {
        display: none;
    }

    .hero {
        padding: 30px 20px 42px;
    }

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

    .hero-lead {
        font-size: 1rem;
    }

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

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

    .hero-cover {
        width: 155px;
        border-width: 5px;
    }

    .hero-cover span {
        padding: 8px 6px;
        font-size: 0.72rem;
    }

    .hero-cover:nth-child(2) {
        right: 2px;
    }

    .hero-cover:nth-child(3) {
        bottom: -8px;
    }

    .category-grid,
    .shelf-track,
    .genre-map,
    .about-points,
    .channel-grid {
        grid-template-columns: 1fr;
    }

    .category-card,
    .card-body p,
    .channel-card-body > p {
        min-height: auto;
    }

    .section-heading {
        grid-template-columns: 44px 1fr;
        gap: 14px;
    }

    .section-icon {
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }

    .update-timeline {
        padding: 8px 18px;
    }

    .update-row {
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 6px 14px;
    }

    .timeline-dot {
        display: none;
    }

    .row-action {
        grid-column: 2;
        justify-self: start;
    }

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

    .ranking-figure img {
        aspect-ratio: 16 / 11;
    }

    .ranking-feature-copy {
        padding: 28px;
    }

    .ranking-list {
        padding: 8px 16px;
    }

    .ranking-list li {
        grid-template-columns: 38px minmax(0, 1fr);
        padding: 16px 0;
    }

    .heat {
        display: none;
    }

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

    .schedule-day {
        display: grid;
        grid-template-columns: 50px 46px 1fr;
        align-items: center;
        gap: 10px;
        min-height: auto;
        border-right: 0;
    }

    .day-icon {
        margin: 0;
    }

    .schedule-day p {
        grid-column: 3;
    }

    .completed-item {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .complete-status {
        grid-column: 2;
        justify-self: start;
    }

    .guide-tabs {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .guide-content {
        padding: 32px 24px;
    }

    .app-section {
        gap: 34px;
        padding: 34px 24px 72px;
    }

    .app-visual {
        justify-self: stretch;
    }

    .channel-hero {
        grid-template-columns: 1fr;
        padding: 30px 24px;
    }

    .channel-intro {
        padding: 24px;
    }

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

    .reader-header {
        padding: 36px 22px;
    }

    .reader-meta {
        display: grid;
        gap: 5px;
    }

    .comic-panel {
        margin-bottom: 24px;
        border-radius: 16px;
    }

    .comic-panel figcaption {
        padding: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}
