:root {
    --ink: #17162b;
    --muted: #68677b;
    --paper: #f7f7fb;
    --white: #ffffff;
    --line: #e5e4ef;
    --purple: #5d45e8;
    --purple-dark: #3826a8;
    --coral: #ff665a;
    --yellow: #ffd95a;
    --mint: #8de3c7;
    --shadow: 0 18px 50px rgba(35, 29, 88, 0.12);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

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

button {
    font: inherit;
}

.skip-link {
    position: fixed;
    top: -80px;
    left: 20px;
    z-index: 200;
    padding: 10px 18px;
    border-radius: 0 0 10px 10px;
    background: var(--ink);
    color: var(--white);
}

.skip-link:focus {
    top: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(229, 228, 239, 0.85);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);
}

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

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

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

.brand {
    flex: 0 0 auto;
}

.brand-mark {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    transform: rotate(-4deg);
    border-radius: 15px 15px 15px 4px;
    background: linear-gradient(145deg, var(--purple), var(--coral));
    box-shadow: 0 8px 20px rgba(93, 69, 232, 0.25);
    color: var(--white);
    font-weight: 900;
    letter-spacing: -2px;
}

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

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

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

.main-nav {
    flex: 1;
}

.main-nav ul {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav a {
    display: flex;
    min-height: 44px;
    align-items: center;
    gap: 6px;
    padding: 8px 11px;
    border-radius: 12px;
    color: #454359;
    font-size: 0.9rem;
    font-weight: 700;
    transition: 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    background: #efedff;
    color: var(--purple);
}

.nav-icon {
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 7px;
    background: rgba(93, 69, 232, 0.1);
    font-size: 0.78rem;
}

.shelf-link {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--white);
    font-size: 0.88rem;
    font-weight: 700;
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-size: 1.6rem;
}

.section-space {
    margin-top: 88px;
}

.hero {
    position: relative;
    display: grid;
    width: min(1200px, calc(100% - 40px));
    min-height: 610px;
    margin-right: auto;
    margin-left: auto;
    grid-template-columns: 1.12fr 0.88fr;
    align-items: center;
    gap: 55px;
    overflow: hidden;
    padding: 68px;
    border-radius: 36px;
    background: linear-gradient(135deg, #211d4e 0%, #4d38ca 66%, #6b51ec 100%);
    box-shadow: var(--shadow);
    color: var(--white);
}

.hero-content,
.hero-visual {
    position: relative;
    z-index: 2;
}

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

.hero-kicker {
    color: var(--yellow);
}

.hero h1 {
    margin: 0;
    font-size: clamp(3.2rem, 6vw, 6.5rem);
    line-height: 0.98;
    letter-spacing: -0.08em;
}

.hero h1 a {
    display: inline-block;
}

.hero h2 {
    max-width: 620px;
    margin: 26px 0 14px;
    font-size: clamp(1.65rem, 3vw, 2.6rem);
    line-height: 1.28;
}

.hero-description {
    max-width: 580px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.06rem;
}

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

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border: 0;
    border-radius: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.button-primary {
    background: var(--coral);
    box-shadow: 0 12px 26px rgba(255, 102, 90, 0.3);
    color: var(--white);
}

.button-secondary {
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

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

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

.hero-points {
    display: flex;
    gap: 34px;
    margin: 36px 0 0;
    padding: 25px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    list-style: none;
}

.hero-points li {
    display: flex;
    flex-direction: column;
}

.hero-points strong {
    font-size: 1.22rem;
}

.hero-points span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.8rem;
}

.hero-frame {
    position: relative;
    width: min(100%, 390px);
    margin-left: auto;
    transform: rotate(3deg);
    overflow: hidden;
    border: 8px solid var(--white);
    border-radius: 12px 32px 12px 32px;
    box-shadow: 0 30px 60px rgba(10, 7, 44, 0.45);
}

.hero-frame img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.hero-caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: linear-gradient(transparent, rgba(16, 12, 50, 0.92));
}

.hero-caption span {
    color: var(--yellow);
    font-size: 0.76rem;
}

.hero-caption strong {
    font-size: 1.35rem;
}

.floating-note {
    position: absolute;
    bottom: 24px;
    left: -16px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 16px;
    background: var(--white);
    box-shadow: var(--shadow);
    color: var(--ink);
}

.floating-note span {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 10px;
    background: var(--yellow);
}

.floating-note p {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 800;
}

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

.hero-orbit-one {
    top: -260px;
    right: -160px;
    width: 700px;
    height: 700px;
}

.hero-orbit-two {
    bottom: -420px;
    left: -220px;
    width: 760px;
    height: 760px;
}

.ticker-shell {
    display: flex;
    min-height: 68px;
    align-items: center;
    gap: 24px;
    padding: 12px 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
}

.ticker-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 900;
    white-space: nowrap;
}

.ticker-label span {
    color: var(--coral);
}

.ticker-track {
    display: flex;
    flex: 1;
    gap: 28px;
    overflow: hidden;
    color: var(--muted);
    font-size: 0.88rem;
}

.ticker-track p {
    margin: 0;
    white-space: nowrap;
}

.ticker-shell > a {
    color: var(--purple);
    font-weight: 800;
    white-space: nowrap;
}

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

.section-heading h2,
.spotlight-header h2,
.mosaic-copy h2,
.schedule-intro h2,
.voices-title h2,
.about-copy h2,
.app-copy h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3.5vw, 2.7rem);
    line-height: 1.24;
}

.section-heading p:not(.eyebrow),
.spotlight-header > p,
.schedule-intro > p:not(.eyebrow),
.voices-title > p:not(.eyebrow) {
    margin: 9px 0 0;
    color: var(--muted);
}

.text-link {
    color: var(--purple);
    font-weight: 900;
    white-space: nowrap;
}

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

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

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

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

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

.comic-cover img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform 0.35s ease;
}

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

.cover-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 9px;
    border-radius: 20px;
    background: var(--coral);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 800;
}

.comic-card-body {
    padding: 16px;
}

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

.comic-card-body > p:not(.eyebrow) {
    display: -webkit-box;
    min-height: 4.5em;
    margin: 8px 0 14px;
    overflow: hidden;
    color: var(--muted);
    font-size: 0.82rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    padding-top: 11px;
    color: #8b6c00;
    font-size: 0.78rem;
    font-weight: 800;
}

.favorite-button {
    padding: 0;
    border: 0;
    background: none;
    color: var(--muted);
    cursor: pointer;
}

.favorite-button.is-favorite {
    color: var(--coral);
}

.ranking-section {
    padding: 76px 0;
    background: var(--ink);
    color: var(--white);
}

.ranking-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
}

.ranking-feature {
    position: relative;
    min-height: 480px;
    overflow: hidden;
    padding: 45px;
    border-radius: 28px;
    background: linear-gradient(145deg, var(--purple), #7a5cff);
}

.ranking-feature h2 {
    max-width: 360px;
    margin: 0;
    font-size: 2.6rem;
    line-height: 1.15;
}

.ranking-feature p:not(.eyebrow) {
    max-width: 420px;
    color: rgba(255, 255, 255, 0.72);
}

.ranking-feature .button {
    margin-top: 18px;
}

.giant-number {
    position: absolute;
    right: 16px;
    bottom: -78px;
    color: rgba(255, 255, 255, 0.1);
    font-size: 15rem;
    font-weight: 950;
    line-height: 1;
}

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

.ranking-list li {
    display: grid;
    grid-template-columns: 42px 70px 1fr auto;
    align-items: center;
    gap: 17px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.ranking-list img {
    width: 70px;
    height: 70px;
    border-radius: 14px;
    object-fit: cover;
}

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

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

.ranking-list p {
    margin: 2px 0 0;
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.8rem;
}

.rank-change {
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.76rem;
}

.rank-change.up {
    color: var(--mint);
}

.centered-heading {
    justify-content: center;
    text-align: center;
}

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

.category-card {
    position: relative;
    min-height: 250px;
    overflow: hidden;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--white);
    transition: 0.25s ease;
}

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

.category-icon {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 18px;
    background: #eeeaff;
    color: var(--purple);
    font-size: 1.45rem;
    font-weight: 900;
}

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

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

.category-arrow {
    position: absolute;
    right: 22px;
    bottom: 18px;
    font-size: 1.3rem;
    font-weight: 900;
}

.category-tone-2 .category-icon,
.category-tone-6 .category-icon {
    background: #fff0ee;
    color: var(--coral);
}

.category-tone-3 .category-icon,
.category-tone-7 .category-icon {
    background: #e8fff7;
    color: #178b69;
}

.category-tone-4 .category-icon,
.category-tone-8 .category-icon {
    background: #fff7d8;
    color: #8a6800;
}

.spotlight-section {
    padding: 78px 0;
    background: #ece9ff;
}

.spotlight-header {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    align-items: end;
    gap: 40px;
    margin-bottom: 34px;
}

.poster-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.poster-card,
.poster-card a {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 110px 110px 20px 20px;
}

.poster-card img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.poster-index {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 900;
}

.poster-overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 60px 18px 20px;
    background: linear-gradient(transparent, rgba(23, 22, 43, 0.9));
    color: var(--white);
}

.poster-overlay p,
.poster-overlay h3 {
    margin: 0;
}

.poster-overlay p {
    color: var(--yellow);
    font-size: 0.7rem;
}

.poster-overlay h3 {
    font-size: 1rem;
}

.mosaic-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
}

.mosaic-main {
    position: relative;
    min-height: 570px;
    overflow: hidden;
    border-radius: 30px;
}

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

.mosaic-copy {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 90px 42px 42px;
    background: linear-gradient(transparent, rgba(12, 20, 29, 0.95));
    color: var(--white);
}

.mosaic-copy p:not(.eyebrow) {
    max-width: 570px;
    color: rgba(255, 255, 255, 0.74);
}

.mosaic-side {
    display: grid;
    gap: 14px;
}

.mosaic-side a {
    display: grid;
    grid-template-columns: 38px 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--white);
}

.mosaic-side > a > span {
    color: var(--coral);
    font-weight: 900;
}

.mosaic-side h3,
.mosaic-side p {
    margin: 0;
}

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

.completed-section {
    padding: 74px 0;
    background: #fff8df;
}

.completed-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.completed-item {
    position: relative;
    display: block;
    overflow: hidden;
    border: 1px solid #eadfab;
    border-radius: 18px;
    background: var(--white);
}

.completed-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.completed-number {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 50%;
    background: var(--yellow);
    font-size: 0.78rem;
    font-weight: 900;
}

.completed-copy {
    display: flex;
    flex-direction: column;
    padding: 14px;
}

.completed-copy small {
    color: var(--muted);
}

.schedule-layout {
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    gap: 50px;
    align-items: center;
    padding: 48px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: var(--white);
}

.schedule-icon {
    display: grid;
    width: 64px;
    height: 64px;
    margin-bottom: 22px;
    place-items: center;
    border-radius: 20px;
    background: var(--purple);
    color: var(--white);
    font-size: 1.8rem;
}

.schedule-days {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.day-card {
    display: flex;
    min-height: 130px;
    flex-direction: column;
    padding: 18px;
    border-radius: 17px;
    background: #f4f3f9;
}

.day-card strong {
    margin-bottom: 10px;
    color: var(--purple);
}

.day-card span {
    color: var(--muted);
    font-size: 0.8rem;
}

.day-card.is-today {
    background: var(--coral);
    color: var(--white);
}

.day-card.is-today strong,
.day-card.is-today span {
    color: var(--white);
}

.guide-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.guide-steps li {
    position: relative;
    min-height: 270px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--white);
}

.guide-steps li > span {
    position: absolute;
    top: 20px;
    right: 24px;
    color: #dddbea;
    font-size: 2.1rem;
    font-weight: 950;
}

.guide-icon {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 19px;
    background: #eeeaff;
    color: var(--purple);
    font-size: 1.5rem;
}

.guide-steps h3 {
    margin: 22px 0 8px;
}

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

.voices-section {
    padding: 76px 0;
    background: #201b43;
    color: var(--white);
}

.voices-layout {
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    gap: 65px;
    align-items: center;
}

.voices-title > p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.6);
}

.quote-stack {
    display: grid;
    gap: 14px;
}

.quote-stack blockquote {
    margin: 0;
    padding: 22px 26px;
    border-left: 3px solid var(--coral);
    border-radius: 0 16px 16px 0;
    background: rgba(255, 255, 255, 0.08);
}

.quote-stack p {
    margin: 0 0 7px;
}

.quote-stack footer {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

.about-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 65px;
    align-items: stretch;
}

.about-art {
    position: relative;
    display: flex;
    min-height: 430px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 30px;
    background: linear-gradient(145deg, var(--yellow), var(--coral));
}

.about-yy {
    transform: rotate(-8deg);
    color: var(--white);
    font-size: clamp(7rem, 16vw, 12rem);
    font-weight: 950;
    letter-spacing: -0.13em;
    text-shadow: 10px 12px 0 rgba(23, 22, 43, 0.16);
}

.about-line {
    position: absolute;
    right: 0;
    bottom: 22px;
    left: 0;
    text-align: center;
    color: rgba(23, 22, 43, 0.64);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.18em;
}

.about-copy > p:not(.eyebrow) {
    color: var(--muted);
}

.about-facts {
    margin: 28px 0 0;
    border-top: 1px solid var(--line);
}

.about-facts div {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 18px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.about-facts dt {
    font-weight: 900;
}

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

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

.app-panel {
    display: grid;
    grid-template-columns: 120px 1fr 170px;
    align-items: center;
    gap: 34px;
    overflow: hidden;
    padding: 46px;
    border-radius: 30px;
    background: linear-gradient(120deg, #e8e4ff, #fff2ef);
}

.app-icon {
    display: grid;
    width: 110px;
    height: 110px;
    place-items: center;
    border-radius: 32px;
    background: linear-gradient(145deg, var(--purple), var(--coral));
    box-shadow: var(--shadow);
    color: var(--white);
    font-size: 2.3rem;
    font-weight: 950;
    letter-spacing: -0.1em;
}

.app-copy > p:not(.eyebrow) {
    max-width: 670px;
    color: var(--muted);
}

.subscribe-status {
    margin-left: 12px;
    color: #22755c;
    font-size: 0.84rem;
    font-weight: 800;
}

.brand-qr {
    display: grid;
    width: 150px;
    height: 150px;
    place-items: center;
    border: 10px solid var(--white);
    border-radius: 20px;
    background: repeating-linear-gradient(45deg, var(--ink) 0 8px, var(--white) 8px 16px);
    box-shadow: var(--shadow);
}

.brand-qr span {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    border: 6px solid var(--white);
    background: var(--purple);
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 950;
}

.brand-qr small {
    padding: 2px 8px;
    background: var(--white);
    font-weight: 800;
}

.site-footer {
    padding: 52px 0 34px;
    background: var(--ink);
    color: var(--white);
}

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

.footer-brand p {
    margin: 2px 0 0;
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.8rem;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 18px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.84rem;
}

.copyright {
    grid-column: 1 / -1;
    margin: 0;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.78rem;
}

.back-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 80;
    display: none;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 15px;
    background: var(--purple);
    box-shadow: var(--shadow);
    color: var(--white);
    cursor: pointer;
}

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

.inner-shell {
    padding-top: 36px;
}

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

.breadcrumb a {
    color: var(--purple);
    font-weight: 800;
}

.catalog-hero {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 30px;
    padding: 54px;
    border-radius: 30px;
    background: linear-gradient(135deg, #24204c, #5d45e8);
    color: var(--white);
}

.catalog-hero h1 {
    margin: 0;
    font-size: clamp(2.4rem, 5vw, 4.5rem);
}

.catalog-hero p:not(.eyebrow) {
    max-width: 720px;
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.7);
}

.catalog-symbol {
    display: grid;
    width: 130px;
    height: 130px;
    place-items: center;
    border-radius: 38px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--yellow);
    font-size: 4rem;
    font-weight: 900;
}

.catalog-content {
    margin-bottom: 88px;
}

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

.catalog-toolbar h2,
.catalog-toolbar p {
    margin: 0;
}

.catalog-toolbar p {
    color: var(--muted);
    font-size: 0.84rem;
}

.update-pill {
    padding: 7px 13px;
    border-radius: 20px;
    background: #e5fbf4;
    color: #177055;
    font-size: 0.8rem;
    font-weight: 900;
}

.channel-note {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 22px;
    margin-bottom: 88px;
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--white);
}

.channel-note-icon {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    border-radius: 18px;
    background: #eeeaff;
    color: var(--purple);
    font-size: 1.8rem;
}

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

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

.reader-shell {
    max-width: 960px;
    padding-top: 36px;
}

.reader-article {
    margin-bottom: 88px;
}

.reader-header {
    padding: 48px;
    border-radius: 28px;
    background: linear-gradient(145deg, #231f50, #6049dd);
    color: var(--white);
    text-align: center;
}

.reader-header h1 {
    max-width: 760px;
    margin: 0 auto;
    font-size: clamp(2rem, 5vw, 3.6rem);
    line-height: 1.25;
}

.reader-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.84rem;
}

.reading-notice {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 18px;
    margin: 34px 0;
    padding: 22px;
    border: 1px solid #d7d1ff;
    border-radius: 18px;
    background: #efedff;
}

.reading-notice > span {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 14px;
    background: var(--purple);
    color: var(--white);
}

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

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

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

.chapter-content {
    padding: 40px;
    border-radius: 28px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.chapter-content > h2,
.chapter-lead {
    text-align: center;
}

.chapter-content > h2 {
    margin: 0;
    font-size: 1.7rem;
}

.chapter-lead {
    max-width: 700px;
    margin: 10px auto 34px;
    color: var(--muted);
}

.chapter-content figure {
    margin: 0 0 30px;
}

.chapter-content figure:last-child {
    margin-bottom: 0;
}

.chapter-content img {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 14px;
    background: #eeeef4;
    object-fit: cover;
}

.chapter-content figcaption {
    padding: 9px 4px 0;
    color: var(--muted);
    font-size: 0.78rem;
    text-align: center;
}

.chapter-end {
    margin-top: 34px;
    padding: 36px;
    border-radius: 24px;
    background: #fff8df;
    text-align: center;
}

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

.chapter-end h2,
.chapter-end p {
    margin: 4px auto;
}

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

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

.chapter-nav a {
    display: flex;
    min-height: 56px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--white);
    font-size: 0.84rem;
    font-weight: 800;
}

.chapter-nav .back-channel {
    justify-content: center;
    background: var(--purple);
    color: var(--white);
}

@media (max-width: 1100px) {
    .header-inner {
        flex-wrap: wrap;
        padding: 12px 0;
    }

    .main-nav {
        order: 3;
        width: 100%;
        flex-basis: 100%;
        overflow-x: auto;
    }

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

    .shelf-link {
        margin-left: auto;
    }

    .hero {
        grid-template-columns: 1fr 0.75fr;
        gap: 30px;
        padding: 46px;
    }

    .comic-grid-five,
    .poster-row,
    .completed-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .comic-grid-five > :nth-last-child(-n + 2),
    .poster-row > :nth-last-child(-n + 2),
    .completed-strip > :nth-last-child(-n + 2) {
        grid-column: span 1;
    }
}

@media (max-width: 820px) {
    .section-space {
        margin-top: 64px;
    }

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

    .hero-visual {
        max-width: 420px;
        margin: 0 auto;
    }

    .ranking-layout,
    .mosaic-layout,
    .schedule-layout,
    .voices-layout,
    .about-layout,
    .spotlight-header {
        grid-template-columns: 1fr;
    }

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

    .comic-grid-five,
    .poster-row,
    .completed-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .comic-grid-five > :last-child,
    .poster-row > :last-child,
    .completed-strip > :last-child {
        grid-column: 1 / -1;
        width: calc(50% - 8px);
        justify-self: center;
    }

    .app-panel {
        grid-template-columns: 110px 1fr;
    }

    .brand-qr {
        grid-column: 1 / -1;
        justify-self: center;
    }
}

@media (max-width: 620px) {
    .header-inner,
    .section-shell,
    .footer-inner,
    .reader-shell,
    .hero {
        width: min(100% - 24px, 1200px);
    }

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

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

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .main-nav {
        display: none;
        padding-top: 8px;
        border-top: 1px solid var(--line);
    }

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

    .main-nav ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .hero {
        min-height: auto;
        padding: 34px 24px;
        border-radius: 24px;
    }

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

    .hero h2 {
        font-size: 1.65rem;
    }

    .hero-actions,
    .hero-points,
    .section-heading,
    .ticker-shell,
    .footer-inner {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions {
        display: grid;
    }

    .hero-points {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .ticker-track {
        display: grid;
        gap: 6px;
    }

    .ranking-feature {
        min-height: 410px;
        padding: 30px;
    }

    .ranking-feature h2 {
        font-size: 2.1rem;
    }

    .ranking-list li {
        grid-template-columns: 32px 58px 1fr;
    }

    .ranking-list img {
        width: 58px;
        height: 58px;
    }

    .rank-change {
        display: none;
    }

    .comic-grid-five,
    .poster-row,
    .completed-strip,
    .category-grid,
    .schedule-days,
    .guide-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .comic-grid-five > :last-child,
    .poster-row > :last-child,
    .completed-strip > :last-child {
        grid-column: 1 / -1;
        width: calc(50% - 7px);
    }

    .category-card {
        min-height: 280px;
        padding: 22px;
    }

    .poster-card,
    .poster-card a {
        border-radius: 70px 70px 16px 16px;
    }

    .mosaic-main {
        min-height: 520px;
    }

    .mosaic-copy {
        padding: 80px 24px 28px;
    }

    .guide-steps li:last-child {
        grid-column: 1 / -1;
        width: calc(50% - 11px);
        justify-self: center;
    }

    .about-art {
        min-height: 300px;
    }

    .app-panel {
        grid-template-columns: 1fr;
        padding: 30px 24px;
        text-align: center;
    }

    .app-icon,
    .brand-qr {
        justify-self: center;
    }

    .subscribe-status {
        display: block;
        margin: 8px 0 0;
    }

    .footer-inner {
        display: flex;
    }

    .footer-nav {
        justify-content: flex-start;
    }

    .copyright {
        padding-top: 18px;
    }

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

    .catalog-symbol {
        width: 84px;
        height: 84px;
        border-radius: 24px;
        font-size: 2.4rem;
    }

    .chapter-content {
        padding: 14px;
        border-radius: 18px;
    }

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

    .reader-meta {
        flex-direction: column;
        gap: 5px;
    }

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

    .chapter-nav .back-channel {
        grid-row: 1;
    }
}

@media (max-width: 430px) {
    .comic-grid-five,
    .poster-row,
    .completed-strip,
    .category-grid,
    .schedule-days,
    .guide-steps {
        grid-template-columns: 1fr;
    }

    .comic-grid-five > :last-child,
    .poster-row > :last-child,
    .completed-strip > :last-child,
    .guide-steps li:last-child {
        grid-column: auto;
        width: 100%;
    }

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

    .mosaic-side a {
        grid-template-columns: 28px 1fr;
    }

    .mosaic-side a > strong {
        display: none;
    }

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