:root { --ink: #172637; --muted: #718496; --line: rgba(86,139,174,.2); --blue: #5cc4ef; --indigo: #687de9; --paper: rgba(255,255,255,.76); }
* { box-sizing: border-box; }
.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; }
html { min-width: 320px; scroll-behavior: smooth; background: #edf8fd; }
body { min-height: 100svh; margin: 0; color: var(--ink); background: radial-gradient(circle at 18% 0, rgba(198,236,255,.9), transparent 36%), radial-gradient(circle at 88% 18%, rgba(218,211,255,.7), transparent 34%), linear-gradient(155deg, #fbfdff 0%, #edf8fd 52%, #f5f2ff 100%); font-family: "Noto Sans SC", system-ui, sans-serif; }
a { color: inherit; }
.shell { width: min(1120px, calc(100% - 36px)); margin: 0 auto; }
.site-nav { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font: 900 15px/1 "Noto Sans SC", sans-serif; letter-spacing: .08em; }
.logo-mark { display: grid; place-items: center; width: 34px; height: 34px; color: white; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--indigo)); box-shadow: 0 8px 24px rgba(81,137,213,.3); }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a { padding: 9px 13px; color: #587083; border-radius: 999px; text-decoration: none; font-size: 13px; font-weight: 800; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #3277ae; background: rgba(255,255,255,.72); }
.hero { padding: clamp(68px, 12vh, 126px) 0 58px; }
.eyebrow { margin: 0 0 18px; color: #4b94c3; font: 900 12px/1 "Noto Sans SC", sans-serif; letter-spacing: .28em; text-transform: uppercase; }
h1 { max-width: 820px; margin: 0; font-size: clamp(48px, 9vw, 104px); line-height: .95; letter-spacing: -.055em; }
.hero-copy { max-width: 620px; margin: 28px 0 0; color: var(--muted); font-size: clamp(15px, 2vw, 19px); line-height: 1.9; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 26px 0 20px; }
.section-heading h2 { margin: 0; font-size: clamp(24px, 4vw, 38px); }
.section-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.world-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.world-card { position: relative; min-height: 300px; padding: 28px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid rgba(255,255,255,.85); border-radius: 30px; background: var(--paper); box-shadow: 0 24px 70px rgba(64,111,144,.12); text-decoration: none; backdrop-filter: blur(18px); transition: transform .25s ease, box-shadow .25s ease; }
.world-card::after { content: ""; position: absolute; width: 210px; height: 210px; right: -62px; bottom: -75px; border-radius: 50%; background: var(--orb); filter: blur(3px); opacity: .72; }
.world-card:hover { transform: translateY(-5px); box-shadow: 0 30px 82px rgba(64,111,144,.19); }
.world-card.al { --orb: radial-gradient(circle, rgba(90,180,238,.55), rgba(90,180,238,0) 70%); }
.world-card.ap { --orb: radial-gradient(circle, rgba(132,113,235,.48), rgba(132,113,235,0) 70%); }
.card-code { color: #87a1b2; font: 800 11px/1 "Rubik", sans-serif; letter-spacing: .22em; }
.world-card h3 { position: relative; z-index: 1; margin: 0 0 10px; font-size: clamp(30px, 5vw, 52px); line-height: 1; }
.world-card p { position: relative; z-index: 1; max-width: 340px; margin: 0; color: var(--muted); line-height: 1.7; }
.enter { position: relative; z-index: 1; margin-top: 34px; font-size: 13px; font-weight: 900; }
.content { padding: 58px 0 86px; }
.page-title { margin: 18px 0 14px; font-size: clamp(44px, 8vw, 82px); line-height: .98; letter-spacing: -.05em; }
.page-lead { max-width: 650px; margin: 0 0 42px; color: var(--muted); font-size: 16px; line-height: 1.9; }
.entry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.entry { min-height: 220px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid rgba(255,255,255,.9); border-radius: 24px; background: rgba(255,255,255,.72); box-shadow: 0 18px 55px rgba(64,111,144,.1); text-decoration: none; }
.entry.ready:hover { transform: translateY(-3px); transition: .22s ease; }
.entry-tag { color: #5695bd; font-size: 11px; font-weight: 900; letter-spacing: .16em; }
.entry h2 { margin: 26px 0 10px; font-size: 25px; }
.entry p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.entry-arrow { margin-top: 24px; color: #397baa; font-weight: 900; }
.entry.placeholder { opacity: .65; }
.comic-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.comic-heading .page-lead { margin-bottom: 0; }
.comic-count { flex: 0 0 auto; color: #4b94c3; font: 900 13px/1 "Rubik", sans-serif; letter-spacing: .12em; }
.comic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.comic-card { overflow: hidden; border: 1px solid rgba(255,255,255,.9); border-radius: 25px; background: rgba(255,255,255,.78); box-shadow: 0 18px 55px rgba(64,111,144,.11); text-decoration: none; transition: transform .22s ease, box-shadow .22s ease; }
.comic-card:hover { transform: translateY(-4px); box-shadow: 0 26px 70px rgba(64,111,144,.17); }
.comic-cover { aspect-ratio: 4 / 3; overflow: hidden; background: #edf5f8; }
.comic-cover img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: top center; transition: transform .35s ease; }
.comic-card:hover .comic-cover img { transform: scale(1.025); }
.speed-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.speed-cover { aspect-ratio: 4 / 5; }
.speed-cover img { object-position: top center; }
.speed-label { display: inline-flex; align-items: center; gap: 7px; }
.speed-label::before { content: "#"; color: #70b8df; }
.ign-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ign-cover { aspect-ratio: 16 / 10; }
.ign-cover img { object-position: center; }
.ign-reader-shell { width: min(1200px, calc(100% - 36px)); }
.gallery-tools { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 0 0 26px; }
.gallery-search { position: relative; flex: 1 1 520px; max-width: 620px; }
.gallery-search input { width: 100%; height: 50px; padding: 0 18px 0 46px; color: var(--ink); border: 1px solid rgba(104,155,190,.26); border-radius: 999px; outline: none; background: rgba(255,255,255,.82); box-shadow: 0 12px 38px rgba(64,111,144,.09); font: 700 14px/1 "Noto Sans SC", sans-serif; }
.gallery-search input:focus { border-color: rgba(73,156,210,.65); box-shadow: 0 0 0 4px rgba(82,177,229,.13), 0 12px 38px rgba(64,111,144,.09); }
.gallery-search::before { content: "⌕"; position: absolute; left: 18px; top: 50%; color: #5795bd; font-size: 24px; line-height: 1; transform: translateY(-54%); pointer-events: none; }
.gallery-result-count { flex: 0 0 auto; color: #6f8da1; font: 800 12px/1 "Rubik", sans-serif; letter-spacing: .1em; }
.no-results { display: none; padding: 42px 20px; color: #7c92a2; border: 1px dashed rgba(92,148,183,.3); border-radius: 24px; text-align: center; }
.no-results.visible { display: block; }
.comic-meta { padding: 18px 19px 20px; }
.comic-date { color: #7294a8; font: 800 11px/1 "Rubik", sans-serif; letter-spacing: .12em; }
.comic-meta h2 { margin: 9px 0 0; font-size: 20px; line-height: 1.35; }
.archive-note { max-width: 720px; margin: 32px 0 0; color: #8195a5; font-size: 12px; line-height: 1.8; }
.reader-shell { width: min(900px, calc(100% - 36px)); margin: 0 auto; }
.slow-reader-shell { width: min(1500px, calc(100% - 36px)); }
.reader-head { padding: 44px 0 25px; text-align: center; }
.reader-head .eyebrow { margin-bottom: 14px; }
.reader-title { max-width: none; font-size: clamp(34px, 6vw, 62px); line-height: 1.1; letter-spacing: -.04em; }
.reader-date { margin: 13px 0 0; color: #7790a2; font: 800 12px/1 "Rubik", sans-serif; letter-spacing: .14em; }
.comic-page { margin: 0 auto; padding: clamp(8px, 2vw, 18px); border: 1px solid rgba(255,255,255,.95); border-radius: 28px; background: rgba(255,255,255,.82); box-shadow: 0 25px 78px rgba(64,111,144,.14); }
.comic-page img { width: 100%; height: auto; display: block; border-radius: 17px; }
.slow-spread { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 18px; }
.slow-spread .comic-page { width: 100%; }
.reader-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; padding: 28px 0 54px; }
.reader-nav a { min-width: 0; padding: 13px 17px; overflow: hidden; color: #397baa; border: 1px solid rgba(105,159,194,.25); border-radius: 999px; background: rgba(255,255,255,.68); text-decoration: none; font-size: 13px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.reader-nav .next { text-align: right; }
.reader-nav .archive { color: #6d8292; text-align: center; }
.reader-nav .disabled { visibility: hidden; }
.site-footer { padding: 28px 0 38px; color: #8ba0af; border-top: 1px solid var(--line); font-size: 11px; letter-spacing: .14em; }
@media (max-width: 720px) {
  .site-nav { height: auto; padding: 17px 0; align-items: flex-start; flex-direction: column; }
  .nav-links { width: 100%; overflow-x: auto; }
  .nav-links a { flex: 0 0 auto; background: rgba(255,255,255,.58); }
  .hero { padding-top: 62px; }
  .world-grid, .entry-grid, .comic-grid { grid-template-columns: 1fr; }
  .speed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .ign-grid { grid-template-columns: 1fr; }
  .speed-grid .comic-meta { padding: 14px 14px 16px; }
  .speed-grid .comic-meta h2 { font-size: 17px; }
  .gallery-tools { align-items: stretch; flex-direction: column; }
  .gallery-search { flex-basis: auto; max-width: none; }
  .world-card { min-height: 260px; }
  .section-heading { align-items: start; flex-direction: column; }
  .comic-heading { align-items: start; flex-direction: column; }
  .reader-nav { grid-template-columns: 1fr 1fr; }
  .reader-nav .archive { grid-column: 1 / -1; grid-row: 2; }
  .slow-spread { grid-template-columns: 1fr; gap: 14px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
