:root { color-scheme: light; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.mangaShelf { margin: 0; background: #f5f1ff; color: #171333; font-family: "Verdana", "Segoe UI", sans-serif; line-height: 1.58; }
.mast { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 12px max(18px, calc((100% - 1200px) / 2)); background: rgba(245,241,255,.9); border-bottom: 1px solid rgba(23,19,51,.12); backdrop-filter: blur(16px); }
.brand, nav { display: flex; align-items: center; gap: 10px; }
.brand, nav a, .cta { text-decoration: none; }
.brand { color: #171333; font-weight: 900; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
nav { flex-wrap: wrap; }
nav a { color: #6d28d9; font-weight: 900; }
main { width: min(1200px, calc(100% - 32px)); margin: 0 auto; padding: 28px 0 56px; }
section { margin: 22px 0; border-radius: 8px; border: 1px solid rgba(23,19,51,.13); background: rgba(255,255,255,.9); padding: clamp(22px, 4vw, 42px); box-shadow: 0 20px 64px rgba(42,26,88,.1); }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .55fr); grid-template-areas: "title quick" "copy quick" "cta quick"; gap: 20px 42px; min-height: 520px; align-items: center; background: linear-gradient(135deg, #ffffff, #ede7ff 55%, #dff8ff); }
.hero-title { grid-area: title; }
.hero-copy { grid-area: copy; max-width: 760px; }
.hero .cta { grid-area: cta; width: fit-content; }
.quick { grid-area: quick; display: grid; gap: 12px; margin: 0; border-radius: 8px; padding: 20px; background: #171333; color: #fff; }
.quick div { border: 1px solid rgba(255,255,255,.14); border-radius: 8px; padding: 12px; }
.label { margin: 0 0 9px; color: #6d28d9; font-size: 12px; font-weight: 900; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 14px; font-size: clamp(42px, 7.4vw, 84px); line-height: .95; letter-spacing: 0; }
h2 { margin-bottom: 12px; font-size: clamp(26px, 4vw, 42px); line-height: 1.08; letter-spacing: 0; }
p { color: #3d365b; }
.cta { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; border-radius: 8px; padding: 0 22px; color: #fff; background: #6d28d9; font-weight: 900; white-space: nowrap; }
dt { color: #a7f3d0; font-size: 12px; font-weight: 900; text-transform: uppercase; }
dd { margin: 4px 0 0; font-weight: 900; overflow-wrap: anywhere; }
.source-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
article, details { border: 1px solid rgba(23,19,51,.12); border-radius: 8px; padding: 18px; background: #fff; }
.source-grid span { display: inline-flex; min-height: 30px; align-items: center; border-radius: 8px; padding: 0 10px; color: #fff; background: #171333; font-weight: 900; }
.reader-strip { display: grid; grid-template-columns: .9fr repeat(3, minmax(180px, 1fr)); gap: 14px; align-items: stretch; background: #171333; }
.reader-strip h2, .reader-strip p { color: #fff; }
.reader-strip .label { color: #38bdf8; }
figure { margin: 0; overflow: hidden; border-radius: 8px; background: #0b0920; }
figure img { display: block; width: 100%; height: 100%; object-fit: cover; }
figcaption { padding: 10px; color: #fff; font-size: 13px; font-weight: 800; }
.library-flow ol { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; padding: 0; list-style: none; counter-reset: step; }
.library-flow li { counter-increment: step; border-radius: 8px; padding: 16px; background: #ede7ff; }
.library-flow li::before { content: counter(step); display: inline-grid; place-items: center; width: 30px; height: 30px; margin-bottom: 10px; border-radius: 8px; color: #fff; background: #6d28d9; font-weight: 900; }
.facts { display: grid; grid-template-columns: minmax(0, .82fr) minmax(320px, 1.18fr); gap: 24px; }
.facts dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 0; }
.facts div { border-radius: 8px; padding: 13px; background: #f7f3ff; }
.facts dt { color: #6d28d9; }
.issues, .faq-grid { display: grid; gap: 14px; }
.issues { grid-template-columns: repeat(3, minmax(0,1fr)); }
.faq-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
summary { cursor: pointer; color: #171333; font-weight: 900; }
details p { margin: 10px 0 0; }
.download { background: linear-gradient(135deg, #6d28d9, #171333); color: #fff; }
.download h2, .download p, .download .label { color: #fff; }
.download .cta { background: #fff; color: #171333; }
footer { width: min(1200px, calc(100% - 32px)); margin: 0 auto 36px; color: #665f82; }
@media (max-width: 940px) {
  .mast { align-items: flex-start; flex-direction: column; }
  .hero { grid-template-columns: 1fr; grid-template-areas: "title" "copy" "quick" "cta"; }
  .source-grid, .reader-strip, .library-flow ol, .facts, .facts dl, .issues, .faq-grid { grid-template-columns: 1fr; }
  h1 { font-size: clamp(38px, 13vw, 64px); }
  .cta, .hero .cta { width: 100%; }
}
