:root {
    --ink: #08111f;
    --panel: #0e1a2d;
    --panel-soft: #13223a;
    --line: rgba(255, 255, 255, 0.12);
    --text: #f6f8ff;
    --muted: #a9b6c9;
    --cyan: #42e8e0;
    --pink: #ff6f91;
    --yellow: #f3d25e;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

body::before {
    position: fixed;
    z-index: -1;
    inset: 0;
    content: "";
    background: radial-gradient(circle at 12% 8%, rgba(66, 232, 224, 0.14), transparent 26%), radial-gradient(circle at 88% 18%, rgba(255, 111, 145, 0.12), transparent 25%), linear-gradient(180deg, #08111f 0%, #0a1424 60%, #07101c 100%);
}

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

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

button,
input {
    font: inherit;
}

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

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

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

.site-header {
    position: sticky;
    z-index: 50;
    top: 0;
    border-bottom: 1px solid var(--line);
    background: rgba(8, 17, 31, 0.9);
    backdrop-filter: blur(18px);
}

.header-shell {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    min-height: 80px;
}

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

.brand-mark {
    display: grid;
    width: 44px;
    aspect-ratio: 1;
    place-items: center;
    color: #07101c;
    border-radius: 14px 14px 14px 4px;
    background: linear-gradient(135deg, var(--cyan), #9ffbf7);
    box-shadow: 0 10px 30px rgba(66, 232, 224, 0.24);
    font-size: 22px;
    font-weight: 900;
}

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

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

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

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

.main-nav a {
    display: grid;
    min-width: 64px;
    padding: 10px 8px;
    place-items: center;
    color: var(--muted);
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.2;
    transition: 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--text);
    background: rgba(66, 232, 224, 0.1);
}

.main-nav a.active {
    box-shadow: inset 0 -2px 0 var(--cyan);
}

.nav-icon {
    margin-bottom: 5px;
    color: var(--cyan);
    font-size: 18px;
    font-weight: 800;
}

.search-button,
.nav-toggle {
    display: grid;
    width: 44px;
    aspect-ratio: 1;
    padding: 0;
    place-items: center;
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--panel-soft);
    cursor: pointer;
    font-size: 22px;
}

.nav-toggle {
    display: none;
}

.search-panel {
    position: fixed;
    z-index: 100;
    inset: 0;
    padding: 20px;
    background: rgba(3, 8, 16, 0.8);
    backdrop-filter: blur(12px);
}

.search-panel:not([hidden]) {
    display: grid;
    place-items: start center;
}

.search-dialog {
    width: min(620px, 100%);
    padding: 28px;
    margin-top: 12vh;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: var(--shadow);
}

.search-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.search-head h2 {
    margin: 0;
}

.search-head button {
    color: var(--muted);
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 30px;
}

.search-dialog input {
    width: 100%;
    padding: 15px 18px;
    margin-top: 20px;
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 14px;
    outline: none;
    background: #091525;
}

.search-dialog input:focus {
    border-color: var(--cyan);
}

.search-tip,
.fine-print {
    color: var(--muted);
    font-size: 13px;
}

.hero {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
    align-items: center;
    padding-block: 84px 46px;
}

.hero-kicker,
.eyebrow {
    color: var(--cyan);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 10px 0 16px;
    font-size: clamp(58px, 7vw, 100px);
    line-height: 0.96;
    letter-spacing: -0.07em;
}

.hero h1 a {
    color: transparent;
    background: linear-gradient(120deg, #ffffff 20%, var(--cyan) 62%, var(--pink));
    background-clip: text;
}

.hero-lead {
    max-width: 590px;
    margin: 0;
    color: #c6d0df;
    font-size: 19px;
}

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

.button {
    display: inline-flex;
    min-height: 48px;
    padding: 0 22px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid transparent;
    border-radius: 14px;
    cursor: pointer;
    font-weight: 800;
}

.button-primary {
    color: #041014;
    background: var(--cyan);
    box-shadow: 0 12px 32px rgba(66, 232, 224, 0.2);
}

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

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 25px;
    color: var(--muted);
    font-size: 14px;
}

.hero-feature {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 32px;
    background: var(--panel);
    box-shadow: var(--shadow);
    transform: rotate(1.4deg);
}

.hero-poster {
    display: block;
    aspect-ratio: 1.38;
    overflow: hidden;
}

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

.hero-caption {
    display: flex;
    padding: 24px 26px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.hero-caption h2 {
    margin: 8px 0 2px;
    font-size: 25px;
}

.hero-caption p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.pill,
.cover-badge {
    display: inline-flex;
    padding: 5px 10px;
    border-radius: 999px;
    color: #06141b;
    background: var(--cyan);
    font-size: 12px;
    font-weight: 800;
}

.rating {
    display: grid;
    min-width: 58px;
    aspect-ratio: 1;
    place-items: center;
    color: var(--yellow);
    border: 1px solid rgba(243, 210, 94, 0.35);
    border-radius: 50%;
    font-size: 18px;
    font-weight: 900;
}

.quick-strip {
    border-block: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.025);
}

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

.quick-item {
    display: flex;
    padding: 24px;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border-right: 1px solid var(--line);
}

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

.quick-icon {
    color: var(--cyan);
    font-size: 28px;
}

.quick-item div {
    display: grid;
}

.quick-item small {
    color: var(--muted);
}

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

.section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-heading h2 {
    margin: 6px 0 8px;
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

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

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

.five-column {
    grid-template-columns: repeat(5, 1fr);
}

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

.comic-cover {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border-radius: 18px;
    background: var(--panel-soft);
}

.comic-cover img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.comic-card:hover img {
    transform: scale(1.05);
}

.cover-badge {
    position: absolute;
    top: 12px;
    left: 12px;
}

.cover-score {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(5, 12, 22, 0.84);
    font-size: 12px;
    font-weight: 800;
}

.comic-info {
    padding: 14px 4px 0;
}

.comic-info h3 {
    margin: 0;
    font-size: 18px;
}

.comic-info p {
    margin: 3px 0 9px;
    color: var(--muted);
    font-size: 14px;
}

.comic-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: #7888a0;
    font-size: 12px;
}

.spotlight-section {
    padding-block: 90px;
    background: linear-gradient(120deg, rgba(159, 140, 255, 0.14), rgba(66, 232, 224, 0.06));
    border-block: 1px solid var(--line);
}

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

.spotlight-art {
    overflow: hidden;
    aspect-ratio: 1.3;
    border: 1px solid var(--line);
    border-radius: 32px;
    box-shadow: var(--shadow);
}

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

.spotlight-copy h2 {
    margin: 7px 0 16px;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.05;
}

.spotlight-copy p {
    color: #c3cddd;
}

.story-facts {
    padding: 0;
    margin: 24px 0;
    list-style: none;
}

.story-facts li {
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
}

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

.category-card {
    position: relative;
    display: grid;
    min-height: 250px;
    padding: 26px;
    align-content: space-between;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 15%, var(--panel)), var(--panel));
    transition: 0.25s ease;
}

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

.category-icon {
    display: grid;
    width: 50px;
    aspect-ratio: 1;
    place-items: center;
    color: var(--accent);
    border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.18);
    font-size: 25px;
    font-weight: 900;
}

.category-label {
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
}

.category-card h3 {
    margin: 5px 0;
    font-size: 24px;
}

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

.category-enter {
    position: absolute;
    right: 20px;
    top: 24px;
    color: var(--muted);
    font-size: 12px;
}

.ranking-section,
.update-calendar,
.about-section {
    padding-block: 90px;
    border-block: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.025);
}

.ranking-layout {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 28px;
}

.ranking-list {
    padding: 0;
    margin: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

.ranking-item {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 18px;
    padding: 20px 8px;
    align-items: center;
    border-bottom: 1px solid var(--line);
}

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

.rank-title {
    display: grid;
}

.rank-title strong {
    font-size: 18px;
}

.rank-title small {
    color: var(--muted);
}

.rank-progress {
    color: var(--pink);
    font-weight: 800;
}

.ranking-note {
    display: flex;
    min-height: 100%;
    padding: 34px;
    flex-direction: column;
    justify-content: center;
    border-radius: var(--radius);
    background: linear-gradient(145deg, #ff6f91, #8f355f);
}

.ranking-note .eyebrow {
    color: #fff;
}

.ranking-note > strong {
    margin: 8px 0;
    color: #fff;
    font-size: 64px;
    line-height: 1;
}

.ranking-note h3 {
    margin-bottom: 7px;
    font-size: 25px;
}

.ranking-note p {
    margin-top: 0;
}

.ranking-note a {
    font-weight: 800;
    text-decoration: underline;
}

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

.mood-card {
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    transition: 0.25s ease;
}

.mood-card:hover {
    color: var(--ink);
    background: var(--cyan);
    transform: translateY(-4px);
}

.mood-symbol {
    font-size: 42px;
}

.mood-card h3 {
    margin: 14px 0 4px;
    font-size: 27px;
}

.mood-card p {
    min-height: 54px;
    margin: 0 0 22px;
    color: var(--muted);
}

.mood-card:hover p {
    color: #183139;
}

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

.calendar-day {
    display: grid;
    min-height: 170px;
    padding: 20px 14px;
    align-content: start;
    gap: 12px;
    border-right: 1px solid var(--line);
}

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

.calendar-day strong {
    color: var(--cyan);
    font-size: 18px;
}

.calendar-day span {
    padding: 8px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 13px;
}

.calendar-day.today {
    background: rgba(66, 232, 224, 0.09);
}

.wide-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.wide-comic {
    display: grid;
    grid-template-columns: 190px 1fr;
    min-height: 260px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
}

.wide-cover {
    overflow: hidden;
}

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

.wide-comic > div {
    padding: 26px;
}

.wide-comic h3 {
    margin: 13px 0 7px;
    font-size: 25px;
}

.wide-comic p {
    margin: 0 0 15px;
    color: var(--muted);
    font-size: 14px;
}

.text-link {
    color: var(--cyan);
    font-weight: 800;
}

.bookshelf-section {
    padding-block: 90px;
    background: linear-gradient(120deg, rgba(255, 111, 145, 0.12), rgba(159, 140, 255, 0.08));
}

.bookshelf-layout,
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.bookshelf-copy h2,
.about-layout h2 {
    margin: 8px 0 15px;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.08;
}

.bookshelf-copy p,
.about-layout p {
    color: var(--muted);
}

.shelf-stack {
    position: relative;
    min-height: 390px;
}

.shelf-book {
    position: absolute;
    display: flex;
    width: 76%;
    min-height: 150px;
    padding: 28px;
    flex-direction: column;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.shelf-book span,
.shelf-book small {
    color: rgba(255, 255, 255, 0.7);
}

.shelf-book strong {
    margin: 6px 0;
    font-size: 25px;
}

.book-1 {
    z-index: 3;
    top: 0;
    left: 0;
    background: #176f78;
}

.book-2 {
    z-index: 2;
    top: 105px;
    right: 0;
    background: #873c64;
}

.book-3 {
    z-index: 1;
    top: 210px;
    left: 8%;
    background: #4d458c;
}

.editorial-card {
    min-height: 320px;
    padding: 30px;
    border-top: 3px solid var(--cyan);
    background: var(--panel);
}

.editorial-number {
    display: block;
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.13);
    font-size: 62px;
    font-weight: 900;
    line-height: 1;
}

.editorial-card h3 {
    margin: 9px 0;
    font-size: 23px;
}

.editorial-card p {
    color: var(--muted);
}

.editorial-card a {
    color: var(--cyan);
    font-weight: 800;
}

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

.about-stats div {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--panel);
}

.about-stats dt {
    color: var(--cyan);
    font-size: 42px;
    font-weight: 900;
}

.about-stats dd {
    margin: 0;
    color: var(--muted);
}

.subscribe-section {
    margin-bottom: 100px;
}

.subscribe-card {
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 46px;
    padding: 46px;
    align-items: center;
    overflow: hidden;
    border: 1px solid rgba(66, 232, 224, 0.3);
    border-radius: 30px;
    background: linear-gradient(125deg, #12394a, #182039 70%);
    box-shadow: var(--shadow);
}

.subscribe-visual {
    display: grid;
    padding: 22px;
    place-items: center;
    color: #07111e;
    border-radius: 22px;
    background: var(--cyan);
}

.qr-grid {
    display: grid;
    width: 150px;
    aspect-ratio: 1;
    padding: 10px;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
    background: #fff;
}

.qr-grid span {
    background: #0b1728;
}

.qr-grid span:nth-child(3n) {
    background: #fff;
}

.subscribe-visual strong {
    margin-top: 12px;
}

.subscribe-copy h2 {
    margin: 6px 0 10px;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.1;
}

.subscribe-copy p {
    color: #c6d0df;
}

.subscribe-form {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}

.subscribe-form input {
    min-width: 0;
    flex: 1;
    padding: 14px 16px;
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 14px;
    outline: none;
    background: rgba(4, 12, 24, 0.65);
}

.site-footer {
    padding-block: 46px;
    border-top: 1px solid var(--line);
    background: #050c16;
}

.footer-shell {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: center;
}

.footer-brand strong {
    font-size: 23px;
}

.footer-brand p,
.copyright {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 14px;
}

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

.copyright {
    grid-column: 1 / -1;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.breadcrumb {
    display: flex;
    gap: 10px;
    padding-top: 38px;
    color: var(--muted);
    font-size: 14px;
}

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

.channel-hero {
    display: flex;
    min-height: 290px;
    padding: 54px;
    margin-top: 28px;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: radial-gradient(circle at 85% 40%, color-mix(in srgb, var(--channel-accent) 28%, transparent), transparent 35%), linear-gradient(120deg, var(--panel), #101f35);
}

.channel-title {
    display: flex;
    align-items: center;
    gap: 28px;
}

.channel-icon {
    display: grid;
    width: 90px;
    aspect-ratio: 1;
    place-items: center;
    color: var(--channel-accent);
    border: 1px solid color-mix(in srgb, var(--channel-accent) 60%, transparent);
    border-radius: 28px;
    font-size: 44px;
    font-weight: 900;
}

.channel-hero h1 {
    margin: 4px 0 5px;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1;
}

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

.channel-count {
    display: grid;
    min-width: 130px;
    text-align: center;
}

.channel-count strong {
    color: var(--channel-accent);
    font-size: 60px;
    line-height: 1;
}

.channel-count span {
    color: var(--muted);
}

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

.listing-toolbar h2 {
    margin: 0;
    font-size: 32px;
}

.filter-pills {
    display: flex;
    gap: 8px;
}

.filter-pills button {
    padding: 8px 16px;
    color: var(--muted);
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
}

.filter-pills button.active {
    color: var(--ink);
    border-color: var(--cyan);
    background: var(--cyan);
}

.listing-grid {
    display: grid;
    gap: 20px;
}

.listing-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    min-height: 270px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
}

.listing-cover {
    position: relative;
    overflow: hidden;
}

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

.listing-index {
    position: absolute;
    right: 12px;
    bottom: 4px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 58px;
    font-weight: 900;
    line-height: 1;
}

.listing-body {
    display: flex;
    padding: 32px;
    flex-direction: column;
    justify-content: center;
}

.listing-tags {
    display: flex;
    gap: 8px;
}

.listing-tags span {
    padding: 4px 9px;
    color: var(--cyan);
    border: 1px solid rgba(66, 232, 224, 0.24);
    border-radius: 999px;
    font-size: 12px;
}

.listing-body h2 {
    margin: 10px 0 7px;
    font-size: 30px;
}

.listing-body p {
    max-width: 690px;
    margin: 0;
    color: var(--muted);
}

.listing-footer {
    display: flex;
    margin-top: 24px;
    justify-content: space-between;
    gap: 16px;
    color: #7888a0;
    font-size: 13px;
}

.channel-seo {
    padding: 36px;
    margin-block: 100px;
    border-left: 3px solid var(--cyan);
    background: rgba(255, 255, 255, 0.03);
}

.channel-seo h2 {
    margin-top: 0;
}

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

.seo-points {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.seo-points span {
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 13px;
}

.reader-shell {
    padding-block: 32px 100px;
}

.reader-header {
    position: relative;
    max-width: 850px;
    padding: 50px;
    margin: 0 auto 30px;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: var(--panel);
}

.reader-header h1 {
    margin: 16px 0 2px;
    font-size: clamp(42px, 6vw, 70px);
    line-height: 1.08;
}

.reader-header h2 {
    margin: 0;
    color: var(--muted);
    font-size: 22px;
    font-weight: 500;
}

.reader-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-top: 22px;
    justify-content: center;
    color: #8090a8;
    font-size: 13px;
}

.favorite-button {
    display: inline-flex;
    padding: 9px 15px;
    margin-top: 22px;
    align-items: center;
    gap: 7px;
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
}

.favorite-button.saved {
    color: #07111e;
    border-color: var(--pink);
    background: var(--pink);
}

.reading-note {
    max-width: 850px;
    padding: 22px 26px;
    margin: 0 auto 36px;
    border-left: 4px solid var(--yellow);
    background: rgba(243, 210, 94, 0.08);
}

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

.chapter-content {
    max-width: 900px;
    margin-inline: auto;
}

.manga-panel {
    margin: 0 0 24px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #02060b;
}

.manga-panel img {
    aspect-ratio: 5 / 7;
    object-fit: cover;
}

.manga-panel figcaption {
    padding: 12px 16px;
    color: var(--muted);
    background: var(--panel);
    font-size: 13px;
}

.chapter-prose {
    padding: 28px 36px;
    margin: 0 0 24px;
    color: #cbd5e4;
    border-block: 1px solid var(--line);
    text-align: center;
}

.chapter-prose p {
    margin: 0;
}

.chapter-end {
    max-width: 750px;
    padding: 70px 30px;
    margin-inline: auto;
    text-align: center;
}

.chapter-end h2 {
    margin: 6px 0;
    font-size: 38px;
}

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

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

.chapter-link,
.back-channel {
    display: flex;
    min-height: 92px;
    padding: 18px;
    flex-direction: column;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--panel);
}

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

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

.chapter-link.disabled {
    opacity: 0.45;
}

.back-channel {
    min-width: 150px;
    align-items: center;
    color: #07111e;
    background: var(--cyan);
    font-weight: 800;
}

@media (max-width: 1100px) {
    .header-shell {
        grid-template-columns: auto auto 1fr auto;
    }

    .nav-toggle {
        display: grid;
    }

    .main-nav {
        position: absolute;
        top: 80px;
        left: 20px;
        right: 20px;
        display: none;
        grid-template-columns: repeat(3, 1fr);
        padding: 16px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: #0b1728;
        box-shadow: var(--shadow);
    }

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

    .search-button {
        grid-column: 4;
    }

    .hero {
        gap: 35px;
    }

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

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

    .calendar-day {
        border-bottom: 1px solid var(--line);
    }

    .wide-comic {
        grid-template-columns: 150px 1fr;
    }
}

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

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

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

    .hero h1 {
        font-size: clamp(56px, 17vw, 82px);
    }

    .hero-feature {
        transform: none;
    }

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

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

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

    .five-column {
        grid-template-columns: 1fr;
    }

    .spotlight-layout,
    .ranking-layout,
    .bookshelf-layout,
    .about-layout,
    .subscribe-card {
        grid-template-columns: 1fr;
    }

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

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

    .wide-card-grid {
        grid-template-columns: 1fr;
    }

    .subscribe-visual {
        max-width: 250px;
    }

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

    .channel-hero {
        padding: 34px;
    }

    .channel-count {
        display: none;
    }

    .listing-card {
        grid-template-columns: 175px 1fr;
    }

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

    .back-channel {
        grid-column: 1 / -1;
        grid-row: 2;
        min-height: 58px;
    }
}

@media (max-width: 560px) {
    .header-shell {
        min-height: 70px;
        gap: 10px;
    }

    .brand-copy small {
        display: none;
    }

    .brand-mark,
    .search-button,
    .nav-toggle {
        width: 40px;
    }

    .main-nav {
        top: 70px;
        grid-template-columns: repeat(2, 1fr);
    }

    .hero {
        padding-top: 42px;
    }

    .hero-caption {
        align-items: flex-start;
    }

    .hero-caption .rating {
        display: none;
    }

    .quick-item {
        padding: 18px 8px;
    }

    .quick-icon {
        font-size: 22px;
    }

    .quick-item small {
        font-size: 11px;
    }

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

    .category-card {
        min-height: 220px;
    }

    .ranking-item {
        grid-template-columns: 45px 1fr;
    }

    .rank-progress {
        display: none;
    }

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

    .calendar-day {
        min-height: auto;
        border-right: 0;
    }

    .wide-comic {
        grid-template-columns: 1fr;
    }

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

    .shelf-stack {
        min-height: 350px;
    }

    .shelf-book {
        width: 90%;
    }

    .subscribe-card {
        padding: 28px 22px;
    }

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

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

    .channel-title {
        display: grid;
    }

    .channel-icon {
        width: 70px;
        border-radius: 20px;
        font-size: 34px;
    }

    .channel-hero {
        min-height: 350px;
    }

    .listing-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .listing-card {
        grid-template-columns: 1fr;
    }

    .listing-cover {
        aspect-ratio: 16 / 10;
    }

    .listing-body {
        padding: 24px;
    }

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

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

    .reader-header h1 {
        font-size: 42px;
    }

    .manga-panel {
        border-radius: 10px;
    }

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

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

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