:root { --ink: #1f2924; --muted: #67736b; --line: #dce4dd; --soft: #f6f9f6; --accent: #357456; --header-height: 76px; }
* { box-sizing: border-box; }
html { color: var(--ink); background: white; font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; scroll-padding-top: var(--header-height); scroll-behavior: smooth; }
body { margin: 0; min-width: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.shell { width: min(100% - 48px, 1180px); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 20; height: var(--header-height); background: white; border-bottom: 1px solid var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; letter-spacing: -.04em; white-space: nowrap; }
.brand-symbol { display: block; flex: none; width: 38px; height: 38px; object-fit: contain; }
.desktop-nav { display: flex; gap: 26px; margin-left: auto; color: #3d4840; font-size: 14px; }
.desktop-nav a:hover, .site-footer nav a:hover { color: var(--accent); }
.header-cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 36px; padding: 0 17px; border-radius: 7px; background: var(--ink); color: white; font-size: 13px; font-weight: 700; white-space: nowrap; }
.section { padding-block: 102px; }
h1,h2,h3,p { margin-top: 0; }
h1 { margin-bottom: 26px; font-size: clamp(42px, 5vw, 68px); line-height: 1.18; letter-spacing: -.065em; }
h2 { margin-bottom: 14px; font-size: clamp(32px, 3.3vw, 46px); line-height: 1.23; letter-spacing: -.055em; }
h3 { letter-spacing: -.035em; }
p { color: var(--muted); line-height: 1.82; }
.hero { padding-block: 86px 106px; background: linear-gradient(180deg, #fafdfa, white); }
.hero-layout { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); align-items: center; gap: 6vw; }
.hero-copy .lead { max-width: 570px; margin-bottom: 32px; font-size: 18px; }
.action-row { display: flex; align-items: center; gap: 12px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 14px; min-height: 52px; padding: 13px 24px; border-radius: 8px; font-size: 18px; font-weight: 700; line-height: 24px; white-space: nowrap; }
.button-primary { width: 260px; max-width: 100%; min-width: 0; background: var(--ink); color: white; }
.section-intro { max-width: 690px; margin-bottom: 38px; }
.section-intro p { margin-bottom: 0; }
.split-intro { max-width: 690px; }
.split-intro p { max-width: none; text-align: left; }
.comic-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; align-items: stretch; }
.comic-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: white; }
.comic-media { overflow: hidden; aspect-ratio: 16/10; background: #e9eeeb; }
.comic-media img { width: 100%; height: 100%; object-fit: cover; }
.comic-body { padding: 22px; }
.comic-type { display: inline-block; margin-bottom: 12px; padding: 5px 8px; border-radius: 4px; background: #edf5ef; color: var(--accent); font-size: 12px; font-weight: 750; }
.comic-body h3 { margin-bottom: 2px; font-size: 24px; }
.comic-author { margin-bottom: 12px; font-size: 13px; }
.comic-body p:last-child { margin-bottom: 0; font-size: 14px; }
.rankings-section,.faq-section { background: var(--soft); }
.ranking-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.ranking-panel { min-width: 0; padding: 28px 28px 10px; border: 1px solid var(--line); border-radius: 13px; background: white; }
.ranking-head { display: flex; justify-content: space-between; align-items: end; gap: 15px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.ranking-head h3 { margin: 0; font-size: 27px; }
.ranking-list { margin: 0; padding: 0; list-style: none; }
.ranking-list li { display: grid; grid-template-columns: 46px minmax(0,1fr) auto; align-items: center; gap: 15px; min-height: 94px; border-bottom: 1px solid var(--line); }
.ranking-list li:last-child { border-bottom: 0; }
.ranking-list b { color: #a4b4a7; font-size: 26px; }
.ranking-list li:first-child b { color: var(--accent); }
.ranking-list li div { display: grid; min-width: 0; gap: 6px; }
.ranking-list strong { font-size: 17px; }
.ranking-list li div span { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.ranking-list em { padding: 6px 9px; border-radius: 5px; background: #f1f5f1; color: #66766b; font-size: 11px; font-style: normal; white-space: nowrap; }
.genre-layout { display: grid; grid-template-columns: minmax(210px,.7fr) minmax(0,1.3fr); align-items: start; gap: 6vw; }
.genre-intro p { max-width: 320px; }
.genre-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.genre-card { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 9px; background: white; }
.genre-card strong { font-size: 17px; }
.genre-card small { color: var(--muted); font-size: 12px; line-height: 1.5; }
.reading-layout { display: grid; grid-template-columns: minmax(0,.72fr) minmax(0,1.28fr); align-items: center; gap: 7vw; }
.reading-copy p { max-width: 350px; }
.reader-preview { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 18px 40px rgba(30,45,35,.06); }
.reader-bar,.reader-bottom { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 15px 21px; background: #f5f8f5; color: #66766b; font-size: 12px; }
.reader-bar strong { color: var(--ink); }
.reader-content { padding: 22px; }
.reader-content>small { color: var(--accent); font-weight: 700; }
.reader-current { display: grid; grid-template-columns: 68px minmax(0,1fr) auto; align-items: center; gap: 16px; margin-top: 16px; padding: 13px; border: 1px solid var(--line); border-radius: 8px; }
.reader-current img { width: 68px; height: 68px; object-fit: cover; border-radius: 5px; }
.reader-current div { display: grid; min-width: 0; gap: 8px; }
.reader-current div span { color: var(--muted); font-size: 11px; }
.reader-current i { width: 130px; max-width: 100%; height: 5px; border-radius: 5px; background: linear-gradient(90deg,var(--accent) 57%,#e3eee6 57%); }
.reader-current>span { color: var(--accent); font-size: 20px; }
.reader-chapters { margin-top: 15px; padding: 14px 2px 0; border-top: 1px solid var(--line); }
.reader-chapters>div { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 11px; }
.reader-chapters>div+div { margin-top: 16px; color: #364b3d; font-size: 12px; }
.reader-bottom { border-top: 1px solid var(--line); }
.faq-layout { display: grid; grid-template-columns: minmax(0,.6fr) minmax(0,1.4fr); gap: 7vw; }
.faq-list { border-top: 1px solid #ccd8ce; }
.faq-list article { padding: 20px 0 18px; border-bottom: 1px solid #ccd8ce; }
.faq-list h3 { margin-bottom: 7px; font-size: 17px; }
.faq-list p { margin-bottom: 0; font-size: 13px; }
.download-section { background: #fff; color: var(--ink); }
.download-section h2 { max-width: 670px; }
.download-section p { margin-bottom: 0; }
.download-layout { display: flex; justify-content: space-between; align-items: end; gap: 35px; }
.download-actions { display: flex; gap: 10px; }
.site-footer { padding: 50px 0; }
.footer-layout { display: flex; justify-content: space-between; gap: 30px; }
.footer-layout p { margin: 14px 0 0; font-size: 13px; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; align-content: start; gap: 13px 24px; max-width: 560px; color: #526057; font-size: 13px; }
@media (max-width: 1080px) {
  .desktop-nav { gap: 15px; font-size: 13px; }
  .ranking-list li { gap: 10px; }
}
@media (max-width: 900px) {
  :root { --header-height: 68px; }
  .desktop-nav { display: none; }
  .reading-layout { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy { max-width: 690px; }
  .genre-layout { grid-template-columns: 1fr; gap: 22px; }
  .genre-intro p,.reading-copy p { max-width: none; }
  .comic-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .section { padding-block: 76px; }
  .ranking-grid,.faq-layout { grid-template-columns: 1fr; }
  .faq-layout { gap: 18px; }
  .split-intro { display: block; }
  .split-intro p { text-align: left; }
  .download-layout { display: block; }
  .download-actions { margin-top: 28px; }
  .genre-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .site-footer nav { max-width: 400px; }
}
@media (max-width: 600px) {
  :root { --header-height: 62px; }
  .shell { width: min(100% - 32px, 1180px); }
  .brand { font-size: 17px; }
  .brand-symbol { width: 34px; height: 34px; }
  .header-cta { padding: 0 10px; font-size: 12px; }
  .hero { padding-block: 54px 72px; }
  .hero h1 { font-size: 34px; letter-spacing: -.05em; }
  .hero-copy .lead { font-size: 16px; }
  .action-row,.download-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; min-width: 0; }
  .comic-grid { grid-template-columns: 1fr; }
  .ranking-panel { padding: 21px 18px 5px; }
  .ranking-list li { grid-template-columns: 40px minmax(0,1fr) auto; min-height: 82px; gap: 8px; }
  .ranking-list b { font-size: 21px; }
  .ranking-list strong { font-size: 15px; }
  .ranking-list em { padding: 5px 6px; font-size: 10px; }
  .genre-card { padding: 17px; }
  .reader-content { padding: 15px; }
  .reader-current { grid-template-columns: 50px minmax(0,1fr) auto; gap: 9px; }
  .reader-current img { width: 50px; height: 58px; }
  .reader-current strong { font-size: 15px; }
  .reader-bar,.reader-bottom { padding: 13px 15px; }
  .reader-chapters>div+div { font-size: 11px; }
  .footer-layout { display: block; }
  .site-footer nav { justify-content: flex-start; margin-top: 30px; }
  .section-intro { margin-bottom: 28px; }
}
/* Kenmei-inspired UI: centered type and pastel editorial sections. */
:root { --ink: #202827; --muted: #66716f; --line: #e3e9e7; --soft: #f5f8f7; --accent: #168571; }
html { background: white; }
.shell { width: min(100% - 56px, 1180px); }
.site-header { border-bottom-color: #e8eceb; background: rgba(255,255,255,.96); backdrop-filter: blur(14px); }
.desktop-nav { color: #424b49; }
.header-cta { border-radius: 999px; background: #282d2d; transition: background .2s ease,transform .2s ease; }
.header-cta:hover { background: #086f60; transform: translateY(-2px); }
.section { padding-block: 118px; }
h1,h2,h3 { color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(48px,5.5vw,76px); line-height: 1.12; letter-spacing: -.065em; }
h2 { font-size: clamp(38px,3.8vw,54px); line-height: 1.16; letter-spacing: -.058em; }
.section-intro { margin-bottom: 46px; }
.section-intro p { font-size: 16px; }
.hero { overflow: hidden; min-height: 0; padding-block: 94px 92px; background: radial-gradient(ellipse at 17% 83%,rgba(226,244,238,.72),transparent 34%),radial-gradient(ellipse at 82% 88%,rgba(246,231,229,.75),transparent 37%),radial-gradient(ellipse at 53% 72%,rgba(233,240,248,.8),transparent 42%),#fff; }
.hero-layout { display: flex; flex-direction: column; align-items: center; }
.hero-copy { width: 100%; max-width: 1000px; text-align: center; }
.hero-copy h1 { max-width: 1000px; margin-inline: auto; margin-bottom: 26px; }
.hero-inline-cover { display: inline-block; width: 55px; height: 67px; margin-left: 15px; border: 3px solid white; border-radius: 7px; box-shadow: 0 9px 22px rgba(39,46,45,.17); vertical-align: middle; transform: translateY(-5px) rotate(8deg); }
.hero-inline-cover img { width: 100%; height: 100%; border-radius: 4px; object-fit: cover; }
.hero-subtitle { margin: 0 auto 22px; color: var(--ink); font-size: clamp(22px,2.6vw,30px); font-weight: 650; line-height: 1.45; }
.hero-copy .lead { max-width: 660px; margin: 0 auto 28px; color: #687371; font-size: 17px; line-height: 1.7; }
.action-row { justify-content: center; }
.button { min-height: 52px; border-radius: 999px; font-size: 18px; transition: transform .2s ease,box-shadow .2s ease,background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { min-width: 0; background: #292e2e; box-shadow: 0 9px 20px rgba(28,40,38,.13); }
.button-primary:hover { background: #096e60; }
.action-row .button { min-height: 52px; padding: 13px 24px; font-size: 18px; }
.action-row .button-primary { min-width: 0; }
.featured-section { background: #fff; }
.comic-grid { gap: 46px 25px; }
.comic-card { overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; transition: transform .25s ease; }
.comic-card:hover { box-shadow: none; transform: translateY(-4px); }
.comic-media { border-radius: 12px; aspect-ratio: 4 / 3; box-shadow: 0 10px 25px rgba(30,42,39,.08); }
.comic-media img { transition: transform .4s ease; }
.comic-card:hover .comic-media img { transform: scale(1.03); }
.comic-card:nth-child(n+4) .comic-media img { object-position: center 22%; }
.comic-body { padding: 19px 3px 0; }
.comic-type { background: #ebf4f0; color: #167c68; }
.comic-body h3 { font-size: 25px; }
.comic-author { color: #909a96; }
.comic-body p:last-child { max-width: 330px; }
.rankings-section { background: #f6f8f7; }
.ranking-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.ranking-panel { --rank-head: radial-gradient(circle at 86% 5%,rgba(239,205,189,.9),transparent 53%),radial-gradient(circle at 12% 8%,rgba(255,255,255,.95),transparent 48%),#f7ece5; --rank-border: #eadfd6; --rank-head-text: #5b4a43; --rank-accent: #956f5b; --rank-chip: #f9f0ea; --rank-muted: #796f68; --rank-tag: #f9f0e9; --rank-tag-text: #795e51; position: relative; overflow: hidden; padding: 0 3px 3px; border: 1px solid var(--rank-border); border-radius: 16px; background: var(--rank-head); box-shadow: 0 16px 32px rgba(42,58,54,.075); }
.ranking-panel:nth-child(2) { --rank-head: radial-gradient(circle at 86% 5%,rgba(207,226,241,.92),transparent 53%),radial-gradient(circle at 12% 8%,rgba(255,255,255,.95),transparent 48%),#edf4f9; --rank-border: #dce8f0; --rank-head-text: #405d6b; --rank-accent: #5b8092; --rank-chip: #eff6fa; --rank-muted: #6b7a84; --rank-tag: #eff5f9; --rank-tag-text: #577889; }
.ranking-panel:nth-child(3) { --rank-head: radial-gradient(circle at 86% 5%,rgba(202,232,215,.92),transparent 53%),radial-gradient(circle at 12% 8%,rgba(255,255,255,.95),transparent 48%),#edf6f0; --rank-border: #dce9e2; --rank-head-text: #385a49; --rank-accent: #4b7c61; --rank-chip: #eef7f1; --rank-muted: #68776e; --rank-tag: #edf6ef; --rank-tag-text: #4b755b; }
.ranking-head { align-items: flex-start; min-height: 96px; padding: 21px 21px; border: 0; border-radius: 0; background: transparent; color: var(--rank-head-text); }
.ranking-head h3 { display: flex; align-items: center; gap: 9px; color: inherit; font-size: 25px; }
.ranking-emoji { font-size: .82em; line-height: 1; }
.ranking-list { position: relative; z-index: 1; margin: -20px 0 0; padding: 8px 12px 10px; border-radius: 13px; background: white; box-shadow: 0 -4px 16px rgba(35,53,47,.045); }
.ranking-list li { grid-template-columns: 36px minmax(0,1fr) auto; gap: 10px; min-height: 73px; border: 0; }
.ranking-list li div { gap: 4px; }
.ranking-list li div span { color: var(--rank-muted); }
.ranking-list strong { font-size: 15px; }
.ranking-list b { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 8px; background: var(--rank-chip); color: var(--rank-accent); font-size: 16px; line-height: 1; }
.ranking-list li:first-child b { background: var(--rank-accent); color: white; }
.ranking-list em { padding: 4px 8px; background: var(--rank-tag); color: var(--rank-tag-text); }
.genres-section { background: white; }
.genre-layout { gap: 7vw; }
.genre-grid { gap: 13px; }
.genre-card { position: relative; justify-content: flex-end; min-height: 150px; padding: 22px; border: 0; border-radius: 12px; background: #eef5f1; }
.genre-card:nth-child(2),.genre-card:nth-child(5) { background: #f8f0e9; }
.genre-card:nth-child(3),.genre-card:nth-child(6) { background: #edf1f7; }
.genre-card::before { position: absolute; top: 20px; left: 22px; width: 24px; height: 3px; border-radius: 3px; content: ""; background: #76b5a4; }
.genre-card strong { font-size: 19px; }
.genre-card small { font-size: 12px; }
.reading-section { background: linear-gradient(120deg,#f4f8fa,#f5f9f6); color: var(--ink); }
.reading-copy p { color: var(--muted); }
.reader-preview { border-color: #e1e8e5; border-radius: 16px; box-shadow: 0 25px 65px rgba(46,72,66,.13); }
.reader-bar,.reader-bottom { background: #f3f8f5; }
.faq-section { background: white; }
.download-section { background: #fff; color: var(--ink); }
.download-layout { display: flex; flex-direction: column; align-items: center; gap: 0; padding: 84px 42px; border: 1px solid #e4ece9; border-radius: 24px; background: radial-gradient(ellipse at 15% 84%,rgba(226,244,238,.86),transparent 39%),radial-gradient(ellipse at 84% 87%,rgba(246,231,229,.78),transparent 39%),radial-gradient(ellipse at 53% 70%,rgba(233,240,248,.9),transparent 48%),#fff; box-shadow: 0 24px 60px rgba(39,57,51,.075); text-align: center; }
.download-section h2 { max-width: 920px; margin-inline: auto; color: var(--ink); }
.download-section p { max-width: 690px; margin: 0 auto; color: #66716f; font-size: 16px; }
.download-actions { justify-content: center; margin-top: 32px; }
.download-actions .button-primary { min-width: 0; min-height: 52px; padding: 13px 24px; font-size: 18px; }
.site-footer { background: #fafbfa; }
@media (max-width: 900px) {
  .hero { padding-block: 76px 80px; }
  .hero-copy { max-width: 760px; }
}
@media (max-width: 960px) {
  .ranking-grid { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 760px) {
  .section { padding-block: 84px; }
  .ranking-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .shell { width: min(100% - 32px,1180px); }
  .hero { padding-block: 64px; }
  .hero h1 { font-size: 34px; text-wrap: normal; }
  .hero-inline-cover { display: none; }
  .hero-copy .lead { font-size: 15px; }
  .comic-grid { gap: 35px; }
  .ranking-panel { padding: 0 3px 3px; border-radius: 15px; }
  .ranking-head { min-height: 91px; padding: 19px 18px; border-radius: 0; }
  .ranking-head h3 { font-size: 24px; }
  .ranking-list { margin: -20px 0 0; padding: 8px 10px 10px; border-radius: 13px; }
  .ranking-list li { grid-template-columns: 34px minmax(0,1fr) auto; gap: 9px; min-height: 69px; }
  .ranking-list b { width: 33px; height: 33px; border-radius: 8px; font-size: 15px; }
  .genre-card { min-height: 130px; padding: 17px; }
  .genre-card::before { top: 17px; left: 17px; }
  .download-layout { padding: 58px 22px; border-radius: 18px; }
  .download-section h2 { font-size: clamp(26px,6.8vw,34px); line-height: 1.24; }
  .download-section p { font-size: 14px; }
  .download-actions { width: 100%; max-width: none; margin-top: 26px; }
  .button-primary { width: 100%; }
  .header-cta { min-height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button,.header-cta,.comic-card,.comic-media img { transition: none; }
  .button:hover,.header-cta:hover,.comic-card:hover,.comic-card:hover .comic-media img { transform: none; }
}
