 :root {
    --ink: #202128;
    --muted: #70717c;
    --cream: #fffaf0;
    --paper: #fffdf8;
    --yellow: #ffd74e;
    --orange: #ff9d3e;
    --purple: #6d4cc7;
    --line: #ebe7dd;
    --shadow: 0 16px 38px rgba(70,55,30,.09);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: 'Noto Sans SC',sans-serif;
    line-height: 1.75;
}

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

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

.container {
    width: min(1200px,calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255,253,248,.94);
    border-bottom: 1px solid rgba(235,231,221,.9);
    backdrop-filter: blur(12px);
}

.nav-wrap {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    font: 800 21px/1 'Outfit','Noto Sans SC';
}

.brand-mark,.about-mark {
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    color: #3b2c09;
    border-radius: 12px 12px 16px 16px;
    background: linear-gradient(135deg,#ffe971,#ffbd35);
    font-size: 19px;
    transform: rotate(-4deg);
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    width: 100%;
}

.main-nav a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 9px 10px;
    color: #5d5d68;
    font-size: 14px;
    border-radius: 9px;
    white-space: nowrap;
}

.main-nav svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.main-nav a:hover,.main-nav .active {
    color: #31245e;
    background: #f1edff;
    font-weight: 700;
}

.nav-toggle {
    display: none;
    margin-left: auto;
    padding: 7px 10px;
    border: 1px solid var(--line);
    background: white;
    border-radius: 8px;
    font-size: 18px;
}

.hero {
    margin-top: 34px;
    padding: 48px 0 38px;
    overflow: hidden;
}

.hero-grid {
    min-height: 400px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 68px;
    padding: 45px 62px;
    border-radius: 30px;
    background: linear-gradient(112deg,#fff1b8 0%,#ffe4a4 47%,#e9e4ff 100%);
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--purple);
    font: 700 12px/1.5 'Outfit','Noto Sans SC';
    letter-spacing: 1.5px;
}

h1,h2,h3 {
    margin: 0;
    line-height: 1.28;
    font-family: 'Outfit','Noto Sans SC';
}

.hero h1 {
    font-size: clamp(42px,5vw,68px);
    letter-spacing: -2px;
}

.hero h1 a {
    text-decoration: underline;
    text-decoration-color: rgba(255,157,62,.65);
    text-decoration-thickness: 8px;
    text-underline-offset: -3px;
}

.hero-copy>p:not(.eyebrow) {
    max-width: 500px;
    margin: 18px 0 25px;
    color: #55535a;
    font-size: 18px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.button {
    display: inline-block;
    padding: 11px 20px;
    color: #352603;
    border-radius: 10px;
    background: var(--yellow);
    box-shadow: 0 7px 0 #eeb82d;
    font-weight: 800;
    transition: .2s;
}

.button:hover {
    transform: translateY(2px);
    box-shadow: 0 5px 0 #eeb82d;
}

.text-link {
    color: var(--purple);
    font-weight: 700;
}

.hero-art {
    position: relative;
    transform: rotate(2deg);
}

.hero-art img {
    height: 315px;
    border: 8px solid white;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.floating-note {
    position: absolute;
    left: -28px;
    bottom: 20px;
    padding: 10px 15px;
    border-radius: 12px;
    background: #fffdf8;
    box-shadow: var(--shadow);
    color: #73502a;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
    transform: rotate(-6deg);
}

.stats {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 1px;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    background: var(--line);
}

.stats div {
    padding: 19px;
    text-align: center;
    background: white;
}

.stats strong,.stats span {
    display: block;
}

.stats strong {
    font: 800 25px/1.2 'Outfit';
}

.stats span {
    margin-top: 5px;
    color: var(--muted);
    font-size: 13px;
}

.section {
    margin-top: 88px;
}

.soft-section {
    padding: 62px 0;
    background: #f7f3ed;
}

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

.section-heading h2,.feature-copy h2,.ranking-layout h2,.mini-columns h2,.about h2 {
    font-size: 31px;
}

.section-heading>a {
    color: var(--purple);
    font-weight: 700;
}

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

.category-card {
    display: grid;
    grid-template-columns: 48px 1fr;
    align-items: center;
    gap: 3px 12px;
    min-height: 92px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    transition: .2s;
}

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

.category-icon {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: #fff1bd;
    color: #805310;
    font-size: 20px;
}

.c2 .category-icon,.c5 .category-icon {
    background: #eee8ff;
    color: #6247af;
}

.c3 .category-icon,.c6 .category-icon {
    background: #ffe8e6;
    color: #ba5c52;
}

.category-card strong {
    font-size: 16px;
}

.category-card small {
    color: var(--muted);
}

.featured-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    border-radius: 22px;
    background: #342b51;
    color: white;
}

.feature-visual img {
    height: 330px;
}

.feature-copy {
    padding: 46px 50px;
}

.feature-copy .eyebrow {
    color: #f4d75d;
}

.feature-copy>p:not(.eyebrow) {
    color: #ded8ef;
}

.chips {
    display: flex;
    gap: 8px;
    margin: 20px 0 27px;
}

.chips span {
    padding: 3px 10px;
    border-radius: 99px;
    background: rgba(255,255,255,.12);
    font-size: 12px;
}

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

.comic-card {
    overflow: hidden;
    border-radius: 15px;
    background: white;
    box-shadow: 0 3px 15px rgba(60,48,28,.05);
}

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

.cover img {
    aspect-ratio: 3/4;
    transition: transform .35s;
}

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

.tag {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 9px;
    border-radius: 99px;
    background: rgba(35,31,42,.72);
    color: white;
    font-size: 11px;
}

.card-copy {
    padding: 14px 15px 16px;
}

.card-copy p {
    margin: 0;
    color: #9a7139;
    font-size: 12px;
}

.card-copy h3 {
    margin: 2px 0 3px;
    font-size: 18px;
}

.card-copy span {
    color: var(--muted);
    font-size: 12px;
}

.ranking-layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 80px;
    align-items: center;
    padding: 44px;
    border: 1px solid var(--line);
    border-radius: 22px;
}

.ranking-layout>div>p:not(.eyebrow) {
    color: var(--muted);
}

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

.rank-list li {
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
}

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

.rank-list b {
    color: #ff9b37;
    font: 800 24px/1 'Outfit';
}

.rank-list span {
    flex: 1;
    font-weight: 700;
}

.rank-list small {
    display: block;
    color: var(--muted);
    font-weight: 400;
    font-size: 12px;
}

.rank-list em {
    color: #6aaa55;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
}

.quote-panel {
    padding: 47px min(10vw,120px);
    border-radius: 22px;
    background: #fff5d2;
    text-align: center;
}

.quote-symbol {
    height: 36px;
    color: #e5a846;
    font: 800 55px/1 Georgia;
}

.quote-panel blockquote {
    margin: 4px auto 13px;
    max-width: 690px;
    font-size: 21px;
    font-weight: 700;
}

.quote-panel p {
    margin: 0;
    color: #946f34;
    font-size: 13px;
}

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

.mini-columns article {
    padding: 30px;
    border-radius: 18px;
    background: #f0ecff;
}

.mini-columns article:nth-child(2) {
    background: #ffefcf;
}

.mini-columns article:nth-child(3) {
    background: #e6f5ef;
}

.mini-columns span {
    color: #7b64be;
    font: 800 14px 'Outfit';
}

.mini-columns p {
    color: #5e5968;
}

.mini-columns a {
    color: #4c368b;
    font-weight: 700;
}

.news-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 28px 38px;
    border-left: 6px solid var(--yellow);
    border-radius: 10px;
    background: #f7f3ed;
}

.news-strip ul {
    display: flex;
    flex-wrap: wrap;
    gap: 11px 20px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #55515e;
    font-size: 14px;
}

.news-strip li::before {
    content: '✓';
    margin-right: 5px;
    color: #60a95e;
    font-weight: 800;
}

.about {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 38px;
    align-items: start;
    padding: 48px;
    border-radius: 24px;
    background: #282437;
    color: #fff;
}

.about-mark {
    width: 92px;
    height: 92px;
    font-size: 44px;
    border-radius: 29px 29px 37px 37px;
}

.about .eyebrow {
    color: #f1d967;
}

.about p:not(.eyebrow) {
    color: #d7d2df;
}

.app-band {
    margin-top: 88px;
    padding: 52px 0;
    background: linear-gradient(110deg,#6d4cc7,#392b68);
    color: white;
}

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

.app-inner h2 {
    font-size: 31px;
}

.app-inner p:not(.eyebrow) {
    color: #e2dbff;
}

.app-inner .eyebrow {
    color: #f8df68;
}

.button.light {
    background: #fff1a7;
}

.qr-card {
    display: grid;
    place-items: center;
    width: 112px;
    height: 112px;
    padding: 12px;
    border-radius: 17px;
    background: white;
    color: #412e80;
    box-shadow: inset 0 0 0 8px #ddd4ff;
}

.qr-card span {
    font-size: 37px;
    font-weight: 900;
    line-height: 1;
}

.qr-card small {
    font-size: 11px;
}

.site-footer {
    padding: 24px 0;
    background: #201b2e;
    color: #bab3c5;
    text-align: center;
    font-size: 12px;
}

.site-footer p {
    margin: 0;
}

.inner-page {
    padding: 42px 0 0;
}

.breadcrumb {
    color: var(--muted);
    font-size: 13px;
}

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

.channel-hero {
    margin-top: 25px;
    padding: 45px;
    border-radius: 22px;
    background: linear-gradient(120deg,#ede8ff,#fff3d5);
}

.channel-hero h1 {
    font-size: 43px;
}

.channel-hero p:not(.eyebrow) {
    max-width: 780px;
    margin: 12px 0 0;
    color: #5b5666;
}

.count {
    color: var(--muted);
    font-size: 13px;
}

.seo-copy {
    margin: 68px 0 0;
    padding: 35px;
    border-radius: 18px;
    background: #f7f3ed;
}

.seo-copy h2 {
    font-size: 25px;
}

.seo-copy p {
    margin-bottom: 0;
    color: #5e5963;
}

.reader-page {
    padding: 42px 0 0;
    background: #f7f4ef;
}

.reader-container {
    max-width: 900px;
}

.reader-head {
    margin: 22px 0;
    text-align: center;
}

.reader-head h1 {
    font-size: 36px;
}

.reader-head p:not(.eyebrow) {
    margin: 10px 0;
    color: var(--muted);
    font-size: 13px;
}

.reader-note {
    display: flex;
    gap: 14px;
    padding: 14px 17px;
    border-radius: 10px;
    background: #fff1bd;
    color: #725621;
    font-size: 13px;
}

.reader-note strong {
    white-space: nowrap;
}

.comic-reader {
    display: grid;
    gap: 22px;
    margin-top: 25px;
}

.reader-image {
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    background: white;
    box-shadow: 0 7px 20px rgba(45,35,21,.07);
}

.reader-image img {
    aspect-ratio: 16/10;
}

.reader-image figcaption {
    padding: 7px 12px;
    color: var(--muted);
    font-size: 11px;
}

.chapter-end {
    padding: 40px;
    text-align: center;
}

.chapter-end span {
    color: #f1af38;
    font-size: 25px;
}

.chapter-end h2 {
    font-size: 24px;
}

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

.chapter-nav {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 12px;
    margin-bottom: 70px;
}

.chapter-nav a {
    padding: 11px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff;
    color: #514080;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
}

@media (max-width: 820px) {
    .nav-wrap {
        min-height:64px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .nav-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        flex-basis: 100%;
        order: 3;
        padding: 6px 0 12px;
        overflow-x: auto;
        justify-content: flex-start;
    }

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

    .main-nav a {
        font-size: 12px;
    }

    .hero {
        margin-top: 18px;
        padding-top: 18px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 32px 25px;
    }

    .hero-art img {
        height: 235px;
    }

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

    .featured-row,.ranking-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .feature-visual img {
        height: 260px;
    }

    .feature-copy {
        padding: 32px 27px;
    }

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

    .news-strip {
        align-items: start;
        flex-direction: column;
    }

    .app-inner {
        align-items: flex-start;
    }

    .reader-head h1 {
        font-size: 29px;
    }
}

@media (max-width: 480px) {
    .container {
        width:min(100% - 28px,1200px);
    }

    .hero-grid {
        border-radius: 21px;
    }

    .hero h1 {
        font-size: 45px;
    }

    .hero-copy>p:not(.eyebrow) {
        font-size: 16px;
    }

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

    .section {
        margin-top: 60px;
    }

    .soft-section {
        padding: 45px 0;
    }

    .section-heading h2,.feature-copy h2,.ranking-layout h2,.mini-columns h2,.about h2,.app-inner h2 {
        font-size: 25px;
    }

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

    .comic-grid {
        gap: 13px;
    }

    .card-copy {
        padding: 10px;
    }

    .card-copy h3 {
        font-size: 15px;
    }

    .ranking-layout,.about {
        padding: 27px;
    }

    .about {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .about-mark {
        width: 65px;
        height: 65px;
        font-size: 29px;
    }

    .app-inner {
        flex-direction: column;
    }

    .qr-card {
        width: 96px;
        height: 96px;
    }

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

    .reader-note {
        flex-direction: column;
        gap: 2px;
    }
}
