@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;600;700;800&display=swap');

:root {
    --ink: #263331;
    --muted: #66716d;
    --paper: #f8f5ef;
    --cream: #f1eee7;
    --line: #e4e1da;
    --orange: #ee754d;
    --orange-dark: #d55d36;
    --white: #ffffff;
    --radius: 23px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'DM Sans', 'Noto Sans SC', sans-serif; line-height: 1.65; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid rgba(38, 51, 49, .07); background: rgba(248, 245, 239, .94); backdrop-filter: blur(16px); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.brand img { width: 46px; height: 46px; }
.brand span { display: grid; line-height: 1.17; }
.brand strong { font-size: 18px; letter-spacing: .035em; }
.brand small { margin-top: 5px; color: #8a928c; font-size: 10px; letter-spacing: .14em; }
.site-header nav { display: flex; align-items: center; gap: 5px; }
.site-header nav a { display: flex; align-items: center; gap: 5px; padding: 8px 10px; border-radius: 10px; color: #606b66; font-size: 12px; font-weight: 600; white-space: nowrap; transition: background .2s, color .2s; }
.site-header nav a:hover, .site-header nav a.active, .site-header nav a[aria-current="page"] { background: #e8ede6; color: #1e5a49; }
.nav-icon { font-size: 16px; line-height: 1; }
.menu-toggle { display: none; border: 0; background: transparent; font-size: 24px; }
.hero { min-height: 580px; margin-top: 38px; display: grid; grid-template-columns: .94fr 1.06fr; overflow: hidden; border-radius: 30px; background: #e6eae2; }
.hero-copy { padding: 69px 45px 35px 58px; display: flex; flex-direction: column; align-items: flex-start; }
.eyebrow { display: block; color: var(--orange-dark); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin: 22px 0 4px; font-size: clamp(46px, 6vw, 78px); line-height: 1.2; letter-spacing: -.065em; }
.hero h1 a:hover { color: var(--orange-dark); }
.hero-lead { margin: 0 0 16px; font-size: clamp(24px, 2.4vw, 34px); font-weight: 700; letter-spacing: -.035em; }
.hero-copy > p:not(.hero-lead) { max-width: 380px; color: var(--muted); font-size: 15px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 23px; }
.button { min-height: 47px; display: inline-flex; align-items: center; justify-content: center; padding: 11px 21px; border: 1px solid transparent; border-radius: 99px; font-size: 13px; font-weight: 700; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--orange); color: white; }
.button.primary:hover { background: var(--orange-dark); }
.button.secondary { background: white; border-color: #dfe4dd; }
.hero-note { margin-top: auto; display: flex; align-items: center; gap: 13px; color: #64716a; font-size: 12px; }
.note-number { color: var(--orange-dark); font-weight: 800; }
.hero-art { min-height: 580px; position: relative; background: #c6d5cc; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1 / 1; }
.hero-sticker { position: absolute; right: 25px; bottom: 25px; width: min(260px, calc(100% - 50px)); padding: 16px 20px; border-radius: 15px; background: rgba(255, 255, 255, .92); box-shadow: 0 10px 30px #283c3720; }
.hero-sticker span { display: block; color: var(--orange-dark); font-size: 11px; font-weight: 700; }
.hero-sticker strong { display: block; margin-top: 2px; font-size: 14px; }
.ticker { display: flex; align-items: center; justify-content: space-around; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); color: #78817a; font-size: 12px; font-weight: 700; letter-spacing: .09em; }
.ticker span:first-child { color: var(--orange-dark); }
.section { padding-top: 96px; padding-bottom: 98px; }
.section-heading { margin-bottom: 31px; }
.section-heading h2, .about-section h2, .subscribe-section h2 { margin: 8px 0 7px; font-size: clamp(29px, 3.2vw, 42px); line-height: 1.25; letter-spacing: -.045em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.category-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.category-card { min-height: 270px; display: flex; flex-direction: column; align-items: flex-start; padding: 24px 22px; border-radius: var(--radius); transition: transform .25s, box-shadow .25s; }
.category-card:hover, .comic-card:hover { transform: translateY(-5px); box-shadow: 0 13px 30px #1c30221a; }
.category-card.peach, .listing-hero.peach { background: #f7d9c9; }
.category-card.violet, .listing-hero.violet { background: #e9dff0; }
.category-card.blue, .listing-hero.blue { background: #dbe8ed; }
.category-card.mint, .listing-hero.mint { background: #dce9dc; }
.category-card.yellow, .listing-hero.yellow { background: #f4e8c6; }
.category-symbol { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #26333150; border-radius: 50%; font-size: 25px; }
.category-card small { margin-top: 21px; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.category-card h3 { margin: 3px 0 6px; font-size: 20px; }
.category-card p { margin-bottom: 15px; color: #4d5c56; font-size: 11px; line-height: 1.7; }
.category-arrow { margin-top: auto; font-size: 11px; font-weight: 800; }
.section-cream { background: #f1eee8; }
.section-blue { background: #eaf0f0; }
.comic-grid { display: grid; gap: 18px; }
.comic-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.comic-card { min-width: 0; overflow: hidden; border: 1px solid #e9e6df; border-radius: 20px; background: #fff; transition: transform .25s, box-shadow .25s; }
.card-image { display: block; overflow: hidden; background: #eee4d9; aspect-ratio: 4 / 4.3; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.comic-card:hover .card-image img { transform: scale(1.04); }
.card-body { min-height: 163px; display: flex; flex-direction: column; padding: 17px 19px 18px; }
.card-meta { color: var(--orange-dark); font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.card-body h3 { overflow: hidden; margin: 5px 0 4px; font-size: 16px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.card-body p { margin: 0 0 10px; overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.text-link { margin-top: auto; color: var(--orange-dark); font-size: 11px; font-weight: 800; }
.section-more { display: table; margin: 28px auto 0; padding: 10px 23px; border: 1px solid #cfd5cf; border-radius: 99px; font-size: 12px; font-weight: 700; }
.section-more:hover { background: #fff; }
.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; overflow: hidden; border-radius: 25px; background: #eae2ed; }
.feature-photo { min-height: 520px; }
.feature-photo img { width: 100%; height: 100%; object-fit: cover; }
.feature-copy { padding: 55px 55px 45px; }
.feature-copy h3, .wide-story h3 { margin: 9px 0 8px; font-size: clamp(28px, 3vw, 40px); line-height: 1.3; }
.feature-copy > p, .wide-story p { color: #59635f; font-size: 14px; line-height: 1.8; }
.mini-list { margin: 27px 0; border-top: 1px solid #cfc6d2; }
.mini-list a { display: grid; grid-template-columns: 35px 1fr auto; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #cfc6d2; font-size: 12px; }
.mini-list a span:first-child { color: #a6798f; font-weight: 700; }
.mini-list a strong { font-size: 13px; }
.rank-panel { padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.rank-tabs { display: flex; gap: 8px; margin-bottom: 18px; }
.rank-tabs button { padding: 9px 18px; border: 1px solid var(--line); border-radius: 99px; background: transparent; color: #52615a; font-size: 12px; font-weight: 700; }
.rank-tabs button[aria-selected="true"] { border-color: #203d34; background: #203d34; color: #fff; }
.rank-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 28px; margin: 0; padding: 0; list-style: none; }
.rank-list li { border-bottom: 1px solid var(--line); }
.rank-list a { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 15px; padding: 17px 4px; }
.rank-num { color: var(--orange-dark); font-size: 19px; font-weight: 800; }
.rank-list strong { display: block; font-size: 14px; }
.rank-list small { color: var(--muted); font-size: 11px; }
.rank-list a > span:last-child { color: var(--orange-dark); font-size: 11px; }
.wide-story { display: grid; grid-template-columns: 1.2fr .8fr; min-height: 390px; overflow: hidden; border-radius: 25px; background: #dae7db; }
.wide-story-image img { width: 100%; height: 100%; max-height: 470px; object-fit: cover; }
.wide-story-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 50px; }
.wide-story-copy .button { margin-top: 18px; }
.guide-section { background: #233b32; color: #fff; }
.guide-section .section-heading p { color: #b8cbc0; }
.guide-section .eyebrow { color: #e7a88a; }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.guide-grid article { min-height: 240px; padding: 27px; border: 1px solid #ffffff32; border-radius: 20px; background: #ffffff0b; }
.guide-num { color: #f1a17d; font-size: 27px; font-weight: 800; }
.guide-grid h3 { margin: 22px 0 10px; font-size: 18px; }
.guide-grid p { margin: 0; color: #c5d2cb; font-size: 12px; line-height: 1.9; }
.about-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.about-section p { max-width: 660px; color: #59655e; font-size: 15px; line-height: 2; }
.subscribe-section { background: #ee754d; color: #fff; }
.subscribe-inner { min-height: 250px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; padding-block: 45px; }
.subscribe-section .eyebrow { color: #ffe2d5; }
.subscribe-section p { margin-bottom: 0; color: #fff1e8; font-size: 13px; }
.subscribe-actions { display: grid; grid-template-columns: repeat(2, max-content); gap: 10px; align-items: center; }
.button.light { border: 0; background: #fff; color: #c9522e; }
.button.outline-light { border-color: #ffffffa0; color: #fff; }
.subscribe-actions small { grid-column: 1 / -1; color: #ffe3d6; text-align: right; }
.site-footer { background: #1f302b; color: #b7c3ba; }
.footer-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-inner p { margin: 0; font-size: 11px; }
.footer-links { display: flex; gap: 19px; font-size: 11px; }
.footer-links a:hover { color: white; }
.listing-hero { margin-top: 30px; padding: 45px 0 61px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-bottom: 34px; color: #68736c; font-size: 11px; }
.breadcrumbs a:hover { color: var(--orange-dark); }
.listing-hero h1 { margin: 8px 0 5px; font-size: clamp(40px, 5vw, 65px); line-height: 1.25; }
.listing-hero p { max-width: 530px; margin: 0; font-size: 14px; }
.listing-section { padding-top: 65px; }
.article-main { padding: 36px 0 105px; }
.article-shell { max-width: 860px; }
.article-main .breadcrumbs { margin-bottom: 50px; }
.article-heading { text-align: center; }
.article-heading h1 { margin: 12px 0 9px; font-size: clamp(30px, 4.5vw, 49px); line-height: 1.3; }
.article-series { margin-bottom: 14px; color: #57645c; font-size: 17px; }
.article-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; color: #758078; font-size: 11px; }
.reading-note { margin: 46px 0 42px; padding: 17px 22px; border-left: 3px solid var(--orange); border-radius: 0 12px 12px 0; background: #f0ede6; }
.reading-note strong { font-size: 12px; }
.reading-note p { margin: 4px 0 0; color: #68736c; font-size: 12px; line-height: 1.8; }
.story-body { max-width: 720px; margin: auto; }
.story-body p { margin: 0 0 25px; font-size: 16px; line-height: 2.15; letter-spacing: .02em; }
.story-body figure { margin: 40px 0 43px; }
.story-body figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 11px; background: #e4e7df; }
.story-body figcaption { margin-top: 10px; color: #8a928b; font-size: 11px; text-align: center; }
.chapter-end { padding: 35px 0; text-align: center; }
.chapter-end span { font-size: 13px; font-weight: 800; letter-spacing: .12em; }
.chapter-end p { margin: 8px 0 0; color: #879088; font-size: 12px; }
.chapter-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; padding-top: 24px; border-top: 1px solid var(--line); }
@media (max-width: 1120px) {
    .header-inner { flex-wrap: wrap; padding: 12px 0; }
    .site-header nav { width: 100%; justify-content: space-between; overflow-x: auto; }
    .category-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
    .shell { width: min(100% - 30px, 1180px); }
    .header-inner { min-height: 66px; flex-wrap: nowrap; padding: 8px 0; }
    .brand img { width: 40px; height: 40px; }
    .menu-toggle { display: block; margin-left: auto; }
    .site-header nav { display: none; position: absolute; top: 65px; left: 0; right: 0; width: 100%; max-height: calc(100vh - 65px); padding: 13px 15px 17px; overflow-y: auto; background: var(--paper); box-shadow: 0 12px 20px #203b301c; }
    .site-header nav.open { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
    .site-header nav a { padding: 12px; font-size: 13px; }
    .hero { grid-template-columns: 1fr; min-height: 0; margin-top: 18px; }
    .hero-copy { padding: 42px 26px 32px; }
    .hero h1 { margin-top: 16px; }
    .hero-note { margin-top: 35px; }
    .hero-art { min-height: 350px; height: 350px; }
    .hero-sticker { right: 14px; bottom: 14px; }
    .ticker { flex-wrap: wrap; gap: 9px 16px; padding: 18px 0; font-size: 10px; }
    .section { padding-top: 70px; padding-bottom: 72px; }
    .category-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .category-card { min-height: 230px; padding: 17px; }
    .category-card h3 { font-size: 17px; }
    .category-card p { font-size: 10px; }
    .comic-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .card-body { min-height: 153px; padding: 13px; }
    .card-body h3 { font-size: 13px; }
    .card-body p { font-size: 10px; }
    .feature-split, .wide-story, .about-section { grid-template-columns: 1fr; }
    .feature-photo { min-height: 300px; height: 300px; }
    .feature-copy, .wide-story-copy { padding: 30px 25px 35px; }
    .wide-story-image { height: 310px; }
    .rank-panel { padding: 18px; }
    .rank-list { grid-template-columns: 1fr; }
    .rank-tabs { overflow-x: auto; }
    .rank-tabs button { white-space: nowrap; padding-inline: 12px; }
    .guide-grid { grid-template-columns: 1fr; }
    .guide-grid article { min-height: 0; }
    .about-section { gap: 15px; }
    .subscribe-inner { grid-template-columns: 1fr; gap: 22px; }
    .subscribe-actions { justify-content: start; }
    .subscribe-actions small { text-align: left; }
    .footer-inner { flex-direction: column; align-items: flex-start; justify-content: center; padding: 22px 0; }
    .article-main { padding-top: 22px; }
    .article-main .breadcrumbs { margin-bottom: 36px; }
    .story-body p { font-size: 15px; line-height: 2; }
}
@media (max-width: 420px) {
    .brand strong { font-size: 16px; }
    .hero-actions { width: 100%; }
    .hero-actions .button { flex: 1; }
    .category-card { min-height: 250px; }
    .subscribe-actions { grid-template-columns: 1fr; }
    .subscribe-actions small { grid-column: auto; }
    .chapter-nav .button { flex: 1 1 40%; }
}
