:root {
    --ink: #202331;
    --ink-soft: #5f6270;
    --paper: #fffdf9;
    --surface: #ffffff;
    --surface-soft: #f7f5f1;
    --line: #e7e2dc;
    --pink: #ff4f7b;
    --pink-dark: #dc315f;
    --yellow: #ffd85c;
    --violet: #7256d8;
    --green: #159f83;
    --shadow: 0 18px 55px rgba(37, 31, 44, 0.1);
    --radius-lg: 30px;
    --radius-md: 20px;
    --radius-sm: 12px;
    --shell: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

body::before {
    position: fixed;
    z-index: -2;
    inset: 0;
    background-image: radial-gradient(circle at 10% 5%, rgba(255, 79, 123, 0.08), transparent 24%), radial-gradient(circle at 92% 16%, rgba(114, 86, 216, 0.08), transparent 20%);
    content: "";
    pointer-events: none;
}

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

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

button,
input {
    font: inherit;
}

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

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

.section-space {
    margin-top: 96px;
    margin-bottom: 96px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    background: rgba(255, 253, 249, 0.94);
    border-bottom: 1px solid rgba(231, 226, 220, 0.9);
    backdrop-filter: blur(18px);
}

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

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

.brand-mark {
    display: grid;
    width: 46px;
    height: 46px;
    color: #ffffff;
    background: var(--pink);
    border: 3px solid var(--ink);
    border-radius: 13px 13px 13px 4px;
    box-shadow: 4px 4px 0 var(--yellow);
    font-size: 25px;
    font-weight: 900;
    line-height: 1;
    place-items: center;
    transform: rotate(-2deg);
}

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

.brand-copy strong {
    font-size: 20px;
    letter-spacing: 0.06em;
}

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

.main-nav {
    margin-left: auto;
}

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

.main-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    min-height: 56px;
    padding: 6px 9px;
    border-radius: 14px;
    color: #555865;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
    color: var(--pink-dark);
    background: #fff0f4;
    transform: translateY(-2px);
}

.nav-icon {
    display: block;
    font-size: 18px;
    line-height: 1;
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 11px;
    margin-left: auto;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 13px;
    cursor: pointer;
}

.nav-toggle-line {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--ink);
    border-radius: 10px;
}

.hero-section {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.88fr);
    min-height: 590px;
    margin-top: 48px;
    overflow: hidden;
    background: #202331;
    border-radius: 38px;
    box-shadow: var(--shadow);
}

.hero-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 70px 64px;
    color: #ffffff;
}

.hero-copy::before {
    position: absolute;
    z-index: -1;
    top: -90px;
    left: -80px;
    width: 260px;
    height: 260px;
    background: var(--pink);
    border-radius: 50%;
    content: "";
    filter: blur(0);
    opacity: 0.18;
}

.hero-kicker {
    align-self: flex-start;
    padding: 7px 13px;
    color: var(--yellow);
    border: 1px solid rgba(255, 216, 92, 0.42);
    border-radius: 999px;
    font-size: 13px;
    letter-spacing: 0.08em;
}

.hero-copy h1 {
    margin: 22px 0 10px;
    font-family: "STKaiti", "KaiTi", serif;
    font-size: clamp(62px, 7vw, 92px);
    line-height: 1.05;
    letter-spacing: 0.04em;
}

.hero-copy h1 a {
    color: #ffffff;
}

.hero-lead {
    max-width: 620px;
    margin: 0 0 28px;
    color: #d8dae4;
    font-size: 17px;
}

.hero-search {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    max-width: 620px;
    padding: 7px 7px 7px 18px;
    color: var(--ink);
    background: #ffffff;
    border-radius: 18px;
}

.hero-search input {
    min-width: 0;
    padding: 10px 12px;
    background: transparent;
    border: 0;
    outline: 0;
}

.hero-search button,
.subscribe-form button {
    padding: 11px 22px;
    color: #ffffff;
    background: var(--pink);
    border: 0;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
}

.search-result {
    min-height: 28px;
    margin-top: 8px;
    color: #ffde74;
    font-size: 14px;
}

.search-result a {
    text-decoration: underline;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 10px;
    color: #c6c8d1;
    font-size: 13px;
}

.hero-tags a {
    color: #ffffff;
}

.hero-feature {
    position: relative;
    min-height: 590px;
    overflow: hidden;
}

.hero-feature::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #202331 0%, transparent 22%), linear-gradient(0deg, rgba(19, 20, 28, 0.85), transparent 55%);
    content: "";
}

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

.hero-feature-overlay {
    position: absolute;
    z-index: 2;
    right: 34px;
    bottom: 36px;
    left: 34px;
    display: flex;
    flex-direction: column;
    color: #ffffff;
}

.hero-feature-overlay span {
    color: var(--yellow);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.hero-feature-overlay strong {
    margin: 6px 0;
    font-size: 26px;
    line-height: 1.35;
}

.channel-ribbon {
    display: grid;
    grid-template-columns: 1.2fr repeat(4, 1fr);
    margin-top: 24px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 20px;
}

.channel-ribbon > * {
    display: flex;
    align-items: center;
    min-height: 82px;
    padding: 16px 22px;
    border-right: 1px solid var(--line);
}

.channel-ribbon > *:last-child {
    border-right: 0;
}

.ribbon-intro {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    color: #ffffff;
    background: var(--pink);
}

.ribbon-intro span {
    font-size: 11px;
    letter-spacing: 0.18em;
}

.channel-ribbon a {
    gap: 9px;
}

.channel-ribbon a strong {
    font-size: 22px;
}

.channel-ribbon a span {
    color: var(--ink-soft);
    font-size: 14px;
}

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

.section-heading h2,
.guide-title h2,
.about-copy h2,
.app-copy h2 {
    margin: 6px 0 8px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.25;
    letter-spacing: -0.03em;
}

.section-heading p,
.guide-title p,
.about-copy p,
.app-copy p {
    max-width: 760px;
    margin: 0;
    color: var(--ink-soft);
}

.eyebrow {
    color: var(--pink-dark);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.14em;
}

.text-link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    padding-bottom: 3px;
    border-bottom: 1px solid var(--ink);
    font-weight: 800;
}

.editor-pick {
    padding: 42px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.editor-pick-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
    gap: 42px;
    align-items: center;
}

.pick-art {
    overflow: hidden;
    border-radius: 22px;
}

.pick-art img {
    width: 100%;
    aspect-ratio: 1.45;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pick-art:hover img {
    transform: scale(1.035);
}

.pick-story h3 {
    margin: 16px 0 12px;
    font-size: 32px;
    line-height: 1.28;
}

.pick-story p {
    color: var(--ink-soft);
}

.pick-story blockquote {
    padding: 16px 0 16px 20px;
    margin: 24px 0;
    border-left: 3px solid var(--pink);
    font-family: "STKaiti", "KaiTi", serif;
    font-size: 19px;
}

.chapter-pill {
    display: inline-flex;
    padding: 6px 12px;
    color: var(--pink-dark);
    background: #fff0f4;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 24px;
    color: #ffffff;
    background: var(--ink);
    border-radius: 14px;
    font-weight: 800;
    transition: background 0.2s ease, transform 0.2s ease;
}

.primary-button:hover {
    background: var(--pink-dark);
    transform: translateY(-2px);
}

.category-section,
.popular-section,
.schedule-section,
.ranking-section,
.guide-section {
    padding: 88px 0;
    background: var(--surface-soft);
}

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

.category-tile {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    min-height: 210px;
    padding: 26px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 22px;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile::after {
    position: absolute;
    right: -32px;
    bottom: -42px;
    width: 110px;
    height: 110px;
    background: var(--category-accent);
    border-radius: 50%;
    content: "";
    opacity: 0.1;
}

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

.category-icon {
    display: grid;
    width: 46px;
    height: 46px;
    color: #ffffff;
    background: var(--category-accent);
    border-radius: 14px;
    font-size: 21px;
    font-weight: 900;
    place-items: center;
}

.category-tile h3 {
    margin: 4px 0 8px;
    font-size: 20px;
}

.category-tile p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.7;
}

.category-arrow {
    position: absolute;
    right: 20px;
    bottom: 17px;
    font-size: 18px;
}

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

.comic-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 22px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

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

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

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

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

.cover-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 10px;
    color: #ffffff;
    background: rgba(32, 35, 49, 0.82);
    border-radius: 999px;
    font-size: 12px;
    backdrop-filter: blur(8px);
}

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

.comic-meta {
    margin: 0;
    color: var(--pink-dark) !important;
    font-size: 12px !important;
    font-weight: 800;
}

.comic-card h3 {
    margin: 5px 0 8px;
    font-size: 19px;
    line-height: 1.45;
}

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

.card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    color: #858793;
    font-size: 12px;
}

.bookmark-button {
    width: 36px;
    height: 36px;
    color: var(--pink-dark);
    background: #fff4f6;
    border: 0;
    border-radius: 50%;
    font-size: 21px;
    cursor: pointer;
}

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

.popular-stack {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 26px;
}

.popular-row {
    display: grid;
    grid-template-columns: 62px 160px minmax(0, 1fr) 180px;
    gap: 24px;
    align-items: center;
    padding: 22px 28px;
    border-bottom: 1px solid var(--line);
}

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

.rank-number {
    color: var(--pink);
    font-family: Georgia, serif;
    font-size: 32px;
    font-style: italic;
    font-weight: 700;
}

.popular-thumb {
    overflow: hidden;
    border-radius: 14px;
}

.popular-thumb img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.popular-copy > span {
    color: var(--pink-dark);
    font-size: 12px;
    font-weight: 800;
}

.popular-copy h3 {
    margin: 3px 0 4px;
    font-size: 20px;
}

.popular-copy p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 14px;
}

.heat-meter span {
    color: var(--ink-soft);
    font-size: 12px;
}

.heat-meter strong {
    display: block;
    margin: 2px 0 7px;
    font-size: 20px;
}

.heat-meter > div {
    height: 5px;
    overflow: hidden;
    background: #eee9e3;
    border-radius: 99px;
}

.heat-meter i {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--pink), var(--yellow));
    border-radius: inherit;
}

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

.poster-card {
    position: relative;
    min-height: 530px;
    overflow: hidden;
    border-radius: 28px;
}

.poster-card::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(19, 17, 30, 0.94), rgba(19, 17, 30, 0.05) 70%);
    content: "";
}

.poster-card img {
    width: 100%;
    height: 100%;
    min-height: 530px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.poster-card > div {
    position: absolute;
    z-index: 2;
    right: 28px;
    bottom: 26px;
    left: 28px;
    color: #ffffff;
}

.poster-card span {
    color: #d8caff;
    font-size: 12px;
    font-weight: 800;
}

.poster-card h3 {
    margin: 6px 0 8px;
    font-size: 24px;
    line-height: 1.35;
}

.poster-card p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #d7d3df;
    font-size: 14px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.schedule-layout {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 60px;
    align-items: center;
}

.schedule-heading h2 {
    margin: 8px 0 14px;
    font-size: 46px;
    line-height: 1.2;
}

.schedule-heading p {
    color: var(--ink-soft);
}

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

.schedule-days a {
    display: grid;
    grid-template-columns: 54px 1fr;
    padding: 18px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 16px;
}

.schedule-days span {
    grid-row: span 2;
    color: var(--pink-dark);
    font-size: 12px;
    font-weight: 900;
}

.schedule-days strong {
    font-size: 15px;
}

.schedule-days small {
    color: var(--ink-soft);
}

.completed-mosaic {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr;
    grid-template-rows: repeat(2, 260px);
    gap: 18px;
}

.mosaic-card {
    position: relative;
    min-height: 0;
    overflow: hidden;
    border-radius: 22px;
}

.mosaic-large {
    grid-row: span 2;
}

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

.mosaic-card::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(20, 25, 31, 0.9), transparent 65%);
    content: "";
}

.mosaic-card > div {
    position: absolute;
    z-index: 2;
    right: 22px;
    bottom: 20px;
    left: 22px;
    color: #ffffff;
}

.mosaic-card span {
    color: #75e2c8;
    font-size: 12px;
    font-weight: 900;
}

.mosaic-card h3 {
    margin: 4px 0;
    font-size: 20px;
    line-height: 1.35;
}

.mosaic-card p {
    display: none;
    margin: 0;
    color: #dce8e5;
    font-size: 14px;
}

.mosaic-large h3 {
    font-size: 28px;
}

.mosaic-large p {
    display: block;
}

.podium {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: end;
    padding-top: 30px;
}

.podium-card {
    position: relative;
    padding: 22px;
    text-align: center;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 24px;
}

.podium-first {
    padding-top: 28px;
    transform: translateY(-24px);
}

.podium-rank {
    position: absolute;
    z-index: 2;
    top: 10px;
    left: 10px;
    display: grid;
    width: 52px;
    height: 52px;
    color: #ffffff;
    background: var(--ink);
    border: 3px solid #ffffff;
    border-radius: 50%;
    font-family: Georgia, serif;
    font-size: 18px;
    font-weight: 800;
    place-items: center;
}

.podium-first .podium-rank {
    background: var(--pink);
}

.podium-card img {
    width: 100%;
    aspect-ratio: 4 / 4.6;
    object-fit: cover;
    border-radius: 16px;
}

.podium-card h3 {
    margin: 16px 0 3px;
    font-size: 20px;
}

.podium-card p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 13px;
}

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

.genre-chip {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 150px;
    padding: 24px;
    overflow: hidden;
    border-radius: 24px;
    transition: transform 0.2s ease;
}

.genre-chip:hover {
    transform: translateY(-5px) rotate(-0.5deg);
}

.genre-chip span {
    font-size: 13px;
}

.genre-chip strong {
    margin-top: 7px;
    font-size: 20px;
    line-height: 1.35;
}

.genre-1,
.genre-4 {
    grid-column: span 5;
}

.genre-2,
.genre-5 {
    grid-column: span 4;
}

.genre-3,
.genre-6 {
    grid-column: span 3;
}

.genre-1 {
    background: #ffd9e3;
}

.genre-2 {
    color: #ffffff;
    background: #2d3145;
}

.genre-3 {
    background: #ffe691;
}

.genre-4 {
    color: #ffffff;
    background: #187f6f;
}

.genre-5 {
    color: #ffffff;
    background: #7a5bd5;
}

.genre-6 {
    background: #cce9ff;
}

.guide-layout {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 64px;
}

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

.guide-steps li {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 18px;
    padding: 19px 0;
    border-bottom: 1px solid var(--line);
}

.guide-steps > li > span {
    color: var(--pink);
    font-family: Georgia, serif;
    font-size: 24px;
    font-style: italic;
}

.guide-steps h3 {
    margin: 0 0 3px;
    font-size: 18px;
}

.guide-steps p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 14px;
}

.about-section {
    display: grid;
    grid-template-columns: 170px 1fr 240px;
    gap: 48px;
    align-items: center;
    padding: 52px;
    color: #ffffff;
    background: #202331;
    border-radius: 32px;
}

.about-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    background: var(--pink);
    border-radius: 50% 50% 50% 14px;
}

.about-badge span {
    font-family: "STKaiti", "KaiTi", serif;
    font-size: 72px;
    font-weight: 900;
    line-height: 1;
}

.about-badge small {
    margin-top: 8px;
    font-size: 10px;
    letter-spacing: 0.14em;
}

.about-copy p {
    margin-top: 13px;
    color: #cfd1da;
}

.about-values {
    margin: 0;
}

.about-values div {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.about-values dt {
    color: var(--yellow);
    font-family: Georgia, serif;
    font-size: 34px;
    font-weight: 800;
}

.about-values dd {
    margin: 0;
    color: #cfd1da;
    font-size: 13px;
}

.app-section {
    display: grid;
    grid-template-columns: 1fr 290px;
    gap: 70px;
    align-items: center;
    padding: 58px 70px;
    background: #ffe894;
    border: 3px solid var(--ink);
    border-radius: 30px;
    box-shadow: 10px 10px 0 var(--pink);
}

.app-copy .eyebrow {
    color: #8e2746;
}

.subscribe-form {
    display: flex;
    max-width: 620px;
    padding: 7px;
    margin-top: 24px;
    background: #ffffff;
    border: 2px solid var(--ink);
    border-radius: 16px;
}

.subscribe-form input {
    min-width: 0;
    flex: 1;
    padding: 10px 14px;
    background: transparent;
    border: 0;
    outline: 0;
}

.form-message {
    margin-top: 10px !important;
    color: #5f5133 !important;
    font-size: 13px;
}

.qr-art {
    text-align: center;
}

.qr-frame {
    position: relative;
    display: grid;
    width: 190px;
    height: 190px;
    margin: 0 auto 14px;
    overflow: hidden;
    color: #ffffff;
    background: #ffffff;
    border: 8px solid #ffffff;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(32, 35, 49, 0.18);
    place-items: center;
}

.qr-frame::before,
.qr-frame::after,
.qr-frame i {
    position: absolute;
    width: 42px;
    height: 42px;
    background: var(--ink);
    border: 8px solid #ffffff;
    outline: 5px solid var(--ink);
    content: "";
}

.qr-frame::before {
    top: 10px;
    left: 10px;
}

.qr-frame::after {
    top: 10px;
    right: 10px;
}

.qr-frame i:nth-of-type(1) {
    bottom: 10px;
    left: 10px;
}

.qr-frame i:nth-of-type(2) {
    right: 14px;
    bottom: 18px;
    width: 28px;
    height: 28px;
    border: 0;
    outline: 0;
}

.qr-frame i:nth-of-type(3) {
    right: 52px;
    bottom: 48px;
    width: 18px;
    height: 18px;
    border: 0;
    outline: 0;
}

.qr-frame i:nth-of-type(4) {
    top: 78px;
    right: 18px;
    width: 16px;
    height: 16px;
    border: 0;
    outline: 0;
}

.qr-frame span {
    position: relative;
    z-index: 2;
    display: grid;
    width: 58px;
    height: 58px;
    background: var(--pink);
    border-radius: 16px;
    font-size: 30px;
    font-weight: 900;
    place-items: center;
}

.qr-art strong,
.qr-art small {
    display: block;
}

.qr-art small {
    color: #625633;
}

.site-footer {
    margin-top: 110px;
    color: #d3d5dd;
    background: #191b26;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.7fr 0.7fr 1fr;
    gap: 50px;
    padding-top: 64px;
    padding-bottom: 54px;
}

.footer-brand .brand {
    color: #ffffff;
}

.footer-brand p {
    max-width: 330px;
    color: #aeb1bc;
    font-size: 14px;
}

.footer-links,
.footer-note {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
}

.footer-links h2,
.footer-note h2 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 16px;
}

.footer-links a,
.footer-note p {
    margin: 0;
    color: #aeb1bc;
    font-size: 14px;
}

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

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.copyright p {
    margin: 0;
    color: #858995;
    font-size: 12px;
}

.breadcrumb {
    margin-top: 28px;
    margin-bottom: 28px;
}

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

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

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

.channel-hero {
    color: #ffffff;
    background: var(--ink);
}

.channel-hero-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 50px;
    align-items: end;
    min-height: 370px;
    padding-top: 70px;
    padding-bottom: 62px;
}

.channel-title {
    position: relative;
    max-width: 760px;
}

.channel-symbol {
    position: absolute;
    top: -38px;
    left: -8px;
    color: var(--channel-accent);
    font-size: 120px;
    font-weight: 900;
    line-height: 1;
    opacity: 0.2;
}

.channel-title .eyebrow {
    color: var(--channel-accent);
}

.channel-title h1 {
    position: relative;
    margin: 7px 0 14px;
    font-size: clamp(48px, 6vw, 76px);
    line-height: 1.08;
}

.channel-title p {
    position: relative;
    margin: 0;
    color: #cfd1da;
    font-size: 17px;
}

.channel-stats {
    display: flex;
    gap: 14px;
    margin: 0;
}

.channel-stats div {
    min-width: 110px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
}

.channel-stats dt {
    color: var(--channel-accent);
    font-family: Georgia, serif;
    font-size: 26px;
    font-weight: 800;
}

.channel-stats dd {
    margin: 0;
    color: #cfd1da;
    font-size: 12px;
}

.channel-feature {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.channel-feature-art {
    overflow: hidden;
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.channel-feature-art img {
    width: 100%;
    aspect-ratio: 1.42;
    object-fit: cover;
}

.channel-feature-copy h2 {
    margin: 14px 0;
    font-size: 40px;
    line-height: 1.25;
}

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

.channel-feature-copy .primary-button {
    margin-top: 14px;
}

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

.channel-note {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: center;
    padding: 32px;
    margin-top: 84px;
    background: #fff0f4;
    border: 1px solid #ffd4df;
    border-radius: 22px;
}

.note-icon {
    display: grid;
    width: 54px;
    height: 54px;
    color: #ffffff;
    background: var(--pink);
    border-radius: 50%;
    font-size: 23px;
    place-items: center;
}

.channel-note h2 {
    margin: 0 0 4px;
    font-size: 20px;
}

.channel-note p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 14px;
}

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

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

.related-channel-grid > a {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    padding: 25px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 20px;
}

.related-channel-grid > a > span {
    display: grid;
    width: 50px;
    height: 50px;
    color: #ffffff;
    background: var(--category-accent);
    border-radius: 15px;
    font-size: 21px;
    font-weight: 900;
    place-items: center;
}

.related-channel-grid h3 {
    margin: 0 0 5px;
}

.related-channel-grid p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 13px;
}

.related-channel-grid b {
    grid-column: 2;
    color: var(--category-accent);
    font-size: 13px;
}

.reader-page {
    background: #f1efeb;
}

.reader-main {
    padding-bottom: 30px;
}

.reader-header {
    padding-top: 56px;
    padding-bottom: 46px;
    text-align: center;
}

.reader-header h1 {
    max-width: 900px;
    margin: 18px auto 12px;
    font-size: clamp(40px, 6vw, 68px);
    line-height: 1.18;
}

.reader-subtitle {
    max-width: 780px;
    margin: 0 auto;
    color: var(--ink-soft);
    font-size: 17px;
}

.reader-meta {
    display: flex;
    justify-content: center;
    gap: 0;
    margin: 30px auto 0;
}

.reader-meta div {
    min-width: 150px;
    padding: 0 22px;
    border-right: 1px solid var(--line);
}

.reader-meta div:last-child {
    border-right: 0;
}

.reader-meta dt {
    color: #858793;
    font-size: 12px;
}

.reader-meta dd {
    margin: 1px 0 0;
    font-weight: 800;
}

.reading-notice {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    align-items: center;
    max-width: 960px;
    padding: 24px 28px;
    margin-bottom: 28px;
    background: #fffbe8;
    border: 1px solid #eadc9c;
    border-radius: 18px;
}

.reading-notice > span {
    font-size: 28px;
}

.reading-notice h2 {
    margin: 0;
    font-size: 17px;
}

.reading-notice p {
    margin: 2px 0 0;
    color: var(--ink-soft);
    font-size: 13px;
}

.reading-mode-button {
    padding: 9px 14px;
    color: var(--ink);
    background: #ffffff;
    border: 1px solid #cdbf7e;
    border-radius: 11px;
    cursor: pointer;
}

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

.comic-reader.is-wide {
    width: min(calc(100% - 40px), 1120px);
}

.comic-page {
    position: relative;
    padding: 0;
    margin: 0 0 36px;
    overflow: hidden;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(32, 35, 49, 0.08);
}

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

.page-number {
    position: absolute;
    z-index: 2;
    top: 15px;
    left: 15px;
    padding: 5px 10px;
    color: #ffffff;
    background: rgba(32, 35, 49, 0.78);
    border-radius: 999px;
    font-family: Georgia, serif;
    font-size: 11px;
    letter-spacing: 0.12em;
}

.comic-page figcaption {
    padding: 26px 30px 30px;
    color: #4e5261;
    background: #ffffff;
    font-family: "STKaiti", "KaiTi", serif;
    font-size: 18px;
    line-height: 1.9;
}

.chapter-end {
    max-width: 980px;
    padding: 58px 48px;
    margin-top: 70px;
    text-align: center;
    background: #ffffff;
    border-radius: 28px;
}

.end-mark {
    display: grid;
    width: 62px;
    height: 62px;
    margin: 0 auto;
    color: #ffffff;
    background: var(--ink);
    border-radius: 50% 50% 50% 12px;
    font-family: "STKaiti", "KaiTi", serif;
    font-size: 27px;
    place-items: center;
}

.chapter-end h2 {
    margin: 20px 0 8px;
    font-size: 30px;
}

.chapter-end > p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--ink-soft);
}

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

.chapter-nav-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 82px;
    padding: 14px 18px;
    text-align: left;
    background: var(--surface-soft);
    border-radius: 15px;
}

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

.chapter-nav-item span {
    color: var(--ink-soft);
    font-size: 12px;
}

.chapter-nav-item strong {
    margin-top: 4px;
    font-size: 14px;
}

.chapter-nav-item.is-disabled {
    opacity: 0.55;
}

.back-channel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    color: #ffffff;
    background: var(--pink);
    border-radius: 15px;
    font-weight: 800;
}

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

    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 1px);
        right: 20px;
        left: 20px;
        display: none;
        padding: 14px;
        background: #ffffff;
        border: 1px solid var(--line);
        border-radius: 0 0 20px 20px;
        box-shadow: var(--shadow);
    }

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

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

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

    .hero-copy {
        padding: 52px 42px;
    }

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

    .popular-row {
        grid-template-columns: 52px 140px 1fr;
    }

    .heat-meter {
        display: none;
    }

    .about-section {
        grid-template-columns: 140px 1fr;
    }

    .about-values {
        display: flex;
        grid-column: 1 / -1;
        justify-content: space-around;
    }

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

    .channel-stats {
        flex-wrap: wrap;
    }
}

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

    .hero-section {
        display: block;
        min-height: 0;
        border-radius: 28px;
    }

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

    .hero-copy h1 {
        font-size: 62px;
    }

    .hero-feature {
        min-height: 420px;
    }

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

    .ribbon-intro {
        grid-column: 1 / -1;
    }

    .channel-ribbon > * {
        border-bottom: 1px solid var(--line);
    }

    .editor-pick-layout,
    .schedule-layout,
    .guide-layout,
    .channel-feature {
        grid-template-columns: 1fr;
    }

    .poster-rail {
        grid-template-columns: 1fr;
    }

    .poster-card,
    .poster-card img {
        min-height: 430px;
    }

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

    .mosaic-large {
        grid-column: 1 / -1;
        grid-row: auto;
    }

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

    .podium-first {
        transform: none;
    }

    .genre-chip {
        grid-column: span 6;
    }

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

    .about-badge {
        width: 150px;
    }

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

    .qr-art {
        display: grid;
        grid-template-columns: auto 1fr;
        column-gap: 24px;
        align-items: center;
        text-align: left;
    }

    .qr-frame {
        grid-row: span 2;
        width: 160px;
        height: 160px;
        margin: 0;
    }

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

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

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

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

    .reader-meta div,
    .reader-meta div:last-child {
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 12px;
    }

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

    .back-channel {
        grid-column: 1 / -1;
        grid-row: 1;
    }
}

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

    .site-shell {
        width: min(calc(100% - 24px), var(--shell));
    }

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

    .brand-mark {
        width: 41px;
        height: 41px;
        font-size: 22px;
    }

    .brand-copy strong {
        font-size: 18px;
    }

    .main-nav {
        right: 12px;
        left: 12px;
    }

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

    .main-nav a {
        flex-direction: row;
        gap: 8px;
        justify-content: flex-start;
        min-width: 0;
        min-height: 48px;
    }

    .hero-section {
        margin-top: 24px;
        border-radius: 22px;
    }

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

    .hero-copy h1 {
        font-size: 49px;
    }

    .hero-lead {
        font-size: 16px;
    }

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

    .hero-search button {
        grid-column: 1 / -1;
        width: 100%;
    }

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

    .channel-ribbon > * {
        min-height: 72px;
        padding: 12px 14px;
    }

    .channel-ribbon a {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .section-heading {
        display: block;
    }

    .section-heading h2,
    .guide-title h2,
    .about-copy h2,
    .app-copy h2 {
        font-size: 31px;
    }

    .text-link {
        margin-top: 18px;
    }

    .editor-pick {
        padding: 22px;
    }

    .pick-story h3 {
        font-size: 25px;
    }

    .category-section,
    .popular-section,
    .schedule-section,
    .ranking-section,
    .guide-section {
        padding: 60px 0;
    }

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

    .category-tile {
        min-height: 0;
    }

    .popular-row {
        grid-template-columns: 42px 88px 1fr;
        gap: 12px;
        padding: 16px;
    }

    .popular-copy p {
        display: none;
    }

    .popular-copy h3 {
        font-size: 16px;
    }

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

    .completed-mosaic {
        display: block;
    }

    .mosaic-card {
        display: block;
        height: 300px;
        margin-bottom: 14px;
    }

    .podium-card {
        text-align: left;
    }

    .genre-cloud {
        display: block;
    }

    .genre-chip {
        min-height: 130px;
        margin-bottom: 13px;
    }

    .guide-steps li {
        grid-template-columns: 46px 1fr;
    }

    .about-section {
        padding: 28px 24px;
    }

    .about-values {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        text-align: center;
    }

    .about-values dt {
        font-size: 25px;
    }

    .app-section {
        padding: 34px 22px;
        box-shadow: 6px 6px 0 var(--pink);
    }

    .subscribe-form {
        display: block;
    }

    .subscribe-form input,
    .subscribe-form button {
        width: 100%;
    }

    .qr-art {
        display: block;
        text-align: center;
    }

    .qr-frame {
        margin: 0 auto 14px;
    }

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

    .copyright-inner {
        display: block;
    }

    .copyright p + p {
        margin-top: 5px;
    }

    .channel-hero-inner {
        min-height: 0;
        padding-top: 55px;
        padding-bottom: 48px;
    }

    .channel-title h1 {
        font-size: 46px;
    }

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

    .channel-stats div {
        min-width: 0;
        padding: 12px;
    }

    .channel-feature-copy h2 {
        font-size: 31px;
    }

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

    .channel-note a {
        grid-column: 2;
    }

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

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

    .reader-subtitle {
        font-size: 15px;
    }

    .reader-meta {
        grid-template-columns: 1fr 1fr;
    }

    .reading-notice {
        grid-template-columns: auto 1fr;
        padding: 20px;
    }

    .reading-mode-button {
        grid-column: 1 / -1;
    }

    .comic-reader {
        width: 100%;
    }

    .comic-page {
        margin-bottom: 18px;
        border-radius: 0;
    }

    .comic-page figcaption {
        padding: 22px 18px 25px;
        font-size: 17px;
    }

    .chapter-end {
        width: calc(100% - 24px);
        padding: 38px 18px;
    }

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

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

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