/* Arcade Guides - 90s strategy-guide look: glossy covers, paper pages, chapter tabs, tip boxes.
   Everything on a page is sized in cqw (page width) so a spread scales cleanly from phone to desktop. */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
:root { --paper: #f7f1e3; --paper2: #efe6d0; --ink: #1d1a26; --ink2: #4a4556; --rule: #d7cbb0; --pixel: 'Press Start 2P', monospace; }

.masthead nav a[aria-current="page"] { color: var(--gold); }
.guides-shelf, .guides-reader { padding: 40px 0 60px; }
.shelf-note { max-width: 360px; text-align: right; }

/* ---------- the shelf ---------- */
.shelf-books { display: flex; flex-wrap: wrap; gap: 34px; align-items: flex-end; padding: 10px 6px 0; }
.shelf-book { position: relative; display: block; width: 210px; transition: transform .2s; }
.shelf-book:hover { transform: translateY(-8px) rotate(-1deg); }
.shelf-book.soon { opacity: .55; filter: grayscale(.6); }
.shelf-book .spine { position: absolute; left: -12px; top: 6px; bottom: 34px; width: 14px; background: linear-gradient(90deg, #0006, transparent), var(--c); border-radius: 3px 0 0 3px; }
.sb-cover { position: relative; display: block; aspect-ratio: 520/700; overflow: hidden; border-radius: 2px 6px 6px 2px; background: radial-gradient(circle at 50% 30%, #3a2b62, #0b0d1e 70%);
  box-shadow: 0 18px 30px #0009, inset 0 0 0 2px #ffffff14; border-left: 4px solid var(--c); }
.sb-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.sb-title { position: absolute; left: 12px; right: 12px; bottom: 14px; font: 900 28px/.9 var(--display); text-transform: uppercase; color: #fff; text-shadow: 3px 3px 0 #000a; }
.sb-title small { display: block; font: 800 10px var(--font); letter-spacing: .2em; color: var(--gold); margin-bottom: 4px; }
.sb-badge { position: absolute; top: 10px; right: -30px; transform: rotate(35deg); background: var(--gold); color: #171321; font: 800 9px var(--font); letter-spacing: .12em; padding: 4px 34px; }
.sb-meta { display: block; margin-top: 10px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.shelf-plank { height: 18px; margin-top: -2px; background: linear-gradient(#6b4a2b, #3b2817); border-radius: 3px; box-shadow: 0 10px 24px #0008; }

/* ---------- the reader ---------- */
.reader-bar { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; }
.reader-title { display: flex; flex-direction: column; margin-right: auto; }
.reader-title strong { font: 900 30px/1 var(--display); text-transform: uppercase; }
.reader-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.page-no { min-width: 64px; text-align: center; font: 700 13px var(--font); color: var(--muted); }
.jump { background: #111326; color: var(--text); border: 1px solid var(--line); padding: 9px; font-size: 12px; }
.book-stage { display: flex; justify-content: center; padding: 18px 0; background: radial-gradient(ellipse at 50% 40%, #2a2347, transparent 70%); }
.book-wrap { width: 100%; max-width: max(560px, calc((100vh - 200px) * 1040 / 700)); margin: 0 auto; }
.book { margin: 0 auto; }
.reader-hint { text-align: center; margin-top: 8px; }
.book.flat .page { position: relative !important; width: min(520px, 100%); aspect-ratio: 520/700; margin: 0 auto 20px; }

/* ---------- a page ---------- */
.page { background: var(--paper); color: var(--ink); overflow: hidden; container-type: size; font-family: var(--font); }
.page.left { box-shadow: inset -18px 0 24px -18px #0004; }
.page.right { box-shadow: inset 18px 0 24px -18px #0004; }
.page-c { position: absolute; inset: 0; }
.page-in { position: absolute; inset: 0; padding: 7cqw 7cqw 9cqw; font-size: 2.65cqw; line-height: 1.5; display: flex; flex-direction: column; }
.page-in:before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1.6cqw; background: var(--c); }
.page h3 { font: 900 8.4cqw/.92 var(--display); text-transform: uppercase; margin: 0 0 2.5cqw; color: var(--ink); letter-spacing: .01em; }
.page h4 { font: 800 3.6cqw/1.1 var(--display); text-transform: uppercase; letter-spacing: .06em; margin: 2.6cqw 0 1cqw; color: var(--c); filter: brightness(.8); }
.page .kicker { font: 400 1.7cqw/1.4 var(--pixel); color: var(--c); filter: brightness(.75); margin: 0 0 1.8cqw; letter-spacing: .05em; }
.page p { margin: 0 0 1.8cqw; }
.page ul, .page ol { margin: 0 0 1.8cqw; padding-left: 4.4cqw; }
.page li { margin-bottom: .9cqw; }
.page li::marker { color: var(--c); font-weight: 800; }
.page b { color: #000; }
.page a { color: #7a3fc4; text-decoration: underline; }
.page kbd { display: inline-block; min-width: 3.4cqw; padding: .1cqw 1cqw; margin: 0 .3cqw; border: .3cqw solid var(--ink); border-bottom-width: .7cqw; border-radius: .9cqw; background: #fff; font: 800 2.2cqw/2.4cqw var(--display); letter-spacing: .06em; text-align: center; color: var(--ink); }
.page .intro { font-size: 2.9cqw; color: var(--ink2); }
.page .body { flex: 1; min-height: 0; }
.page table { width: 100%; border-collapse: collapse; font-size: 2.3cqw; margin: 1cqw 0 2cqw; }
.page th { background: var(--ink); color: var(--paper); text-align: left; padding: .8cqw 1.2cqw; font: 800 2.3cqw var(--display); text-transform: uppercase; letter-spacing: .06em; }
.page td { padding: .7cqw 1.2cqw; border-bottom: .2cqw solid var(--rule); vertical-align: top; }
.page blockquote { margin: 1cqw 0 2.4cqw; padding: 2cqw 3cqw; border-left: 1.2cqw solid var(--c); background: var(--paper2); font: italic 600 3.1cqw/1.35 var(--font); }
.page cite { display: block; margin-top: 1cqw; font: 700 2cqw var(--font); font-style: normal; color: var(--ink2); }
.page figure { margin: 0 0 2cqw; } .page .fig { width: 100%; border: .6cqw solid var(--ink); display: block; }
.page figcaption { font-size: 2.1cqw; color: var(--ink2); margin-top: .8cqw; }
.box { position: relative; margin: 1.4cqw 0 2.4cqw; padding: 3.4cqw 2.8cqw 2.2cqw; border: .5cqw solid var(--ink); box-shadow: 1.1cqw 1.1cqw 0 var(--ink); font-size: 2.45cqw; }
.box b:first-child { position: absolute; top: -2.2cqw; left: 2.4cqw; padding: .8cqw 1.6cqw; font: 400 1.6cqw var(--pixel); color: #fff; letter-spacing: .05em; }
.box.tip { background: #fff7d6; } .box.tip b:first-child { background: #c98a14; }
.box.warn { background: #ffe1db; } .box.warn b:first-child { background: #c8352a; }
.box.secret { background: #e9e0ff; } .box.secret b:first-child { background: #6b45c8; }
.stats { display: grid; grid-template-columns: auto 1fr; gap: .5cqw 2cqw; margin: 0 0 1.6cqw; font-size: 2.4cqw; }
.stats dt { font: 800 2.3cqw var(--display); text-transform: uppercase; letter-spacing: .08em; color: var(--ink2); }
.stats dd { margin: 0; font-weight: 700; }
.meter { display: inline-flex; gap: .6cqw; vertical-align: middle; }
.meter i { width: 2.4cqw; height: 2.4cqw; transform: rotate(45deg); border: .35cqw solid var(--ink); background: transparent; }
.meter i.on { background: #d6322a; }
.keys { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2cqw 2cqw; margin: 0 0 2cqw; font-size: 2.4cqw; }
.keys span { display: flex; align-items: center; gap: 1.2cqw; }
.folio { position: absolute; left: 7cqw; right: 7cqw; bottom: 3.4cqw; display: flex; justify-content: space-between; font: 400 1.5cqw var(--pixel); color: #9a8f78; border-top: .25cqw solid var(--rule); padding-top: 1.4cqw; }
.page.left .folio { flex-direction: row-reverse; }
.edge-tab { position: absolute; top: 18cqw; width: 4.6cqw; padding: 3cqw 0; background: var(--c); color: #fff; writing-mode: vertical-rl; font: 400 1.5cqw var(--pixel); text-align: center; letter-spacing: .1em; }
.page.right .edge-tab { right: 0; border-radius: 1.2cqw 0 0 1.2cqw; } .page.left .edge-tab { left: 0; border-radius: 0 1.2cqw 1.2cqw 0; transform: rotate(180deg); }
.side-art { float: right; width: 24cqw; margin: 0 0 2cqw 3cqw; shape-outside: margin-box; }
.side-img { width: 100%; display: block; border: .6cqw solid var(--ink); box-shadow: 1.2cqw 1.2cqw 0 var(--c); background: #111; }

/* cover + back cover */
.t-cover, .t-back { background: #070816; color: #fff; }
.t-cover .page-in, .t-back .page-in { padding: 0; }
.t-cover .page-in:before, .t-back .page-in:before { display: none; }
.cover-art { position: absolute; inset: 0; background: radial-gradient(circle at 50% 42%, #4b2f8a, #120f2c 55%, #05060f); }
.cover-art:after { content: ''; position: absolute; inset: 0; background: radial-gradient(1px 1px at 12% 18%, #fff, transparent), radial-gradient(1px 1px at 80% 12%, #fff, transparent), radial-gradient(2px 2px at 68% 30%, #cfe8ff, transparent), radial-gradient(1px 1px at 30% 60%, #fff, transparent), radial-gradient(2px 2px at 88% 70%, #ffe6a8, transparent), radial-gradient(1px 1px at 8% 82%, #fff, transparent), linear-gradient(transparent 50%, #05060fee 88%); }
.cover-img { position: absolute; left: 0; right: 0; bottom: 12%; margin: auto; width: 100%; height: 74%; object-fit: cover; object-position: 50% 20%; -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 70%, transparent); mask-image: linear-gradient(transparent, #000 18%, #000 70%, transparent); }
.cover-top { position: absolute; top: 4cqw; left: 5cqw; right: 5cqw; display: flex; justify-content: space-between; align-items: center; }
.cover-pub { font: 400 1.6cqw var(--pixel); color: var(--gold); letter-spacing: .1em; }
.cover-badge { font: 400 1.5cqw var(--pixel); background: #d6322a; padding: 1.2cqw 1.8cqw; transform: rotate(4deg); box-shadow: .8cqw .8cqw 0 #000; }
.cover-title { position: absolute; top: 10cqw; left: 5cqw; right: 5cqw; text-align: center; }
.cover-title .kicker { font: 400 1.8cqw var(--pixel); color: #cfe8ff; margin-bottom: 2cqw; filter: none; }
.cover-title h1 { margin: 0; font: 900 17cqw/.8 var(--display); letter-spacing: .01em; background: linear-gradient(#fff6d0 10%, #ffd27a 45%, #c8792a 55%, #ffe8a6 80%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-stroke: .35cqw #3a1d05; filter: drop-shadow(1.2cqw 1.2cqw 0 #000a); }
.cover-title .starlit-wrap { display: inline-block; margin: 2.6cqw 0 0; padding: 1.6cqw 2.6cqw 1.2cqw; background: #05060fd9; border: .3cqw solid #a98bff88; box-shadow: 0 0 3cqw #7ad7ff44; }
.cover-title .starlit { display: inline-block; font: 400 3.4cqw/1.2 var(--pixel); text-transform: uppercase; background: linear-gradient(90deg, #fff6d0, #ffb347, #ff7ad9, #a98bff, #7ad7ff, #fff6d0); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: starlit 3s linear infinite; }
@keyframes starlit { to { background-position: 200% 0; } }
@media (prefers-reduced-motion: reduce) { .cover-title .starlit { animation: none; } }
.cover-foot { position: absolute; left: 5cqw; right: 5cqw; bottom: 5cqw; display: flex; align-items: flex-end; justify-content: space-between; gap: 3cqw; }
.cover-foot p { margin: 0; font: 700 2.6cqw/1.35 var(--font); max-width: 58cqw; text-shadow: 0 .3cqw .6cqw #000; }
.burst { flex: none; width: 22cqw; height: 22cqw; display: grid; place-items: center; text-align: center; padding: 3cqw; font: 900 3.2cqw/1 var(--display); text-transform: uppercase; color: #1d1205; background: #ffd23f; transform: rotate(-12deg);
  clip-path: polygon(50% 0, 61% 14%, 79% 7%, 80% 25%, 98% 28%, 88% 44%, 100% 58%, 83% 66%, 88% 84%, 70% 83%, 61% 100%, 50% 88%, 39% 100%, 30% 83%, 12% 84%, 17% 66%, 0 58%, 12% 44%, 2% 28%, 20% 25%, 21% 7%, 39% 14%); }
.back-inner { position: absolute; inset: 0; padding: 12cqw 8cqw; display: flex; flex-direction: column; align-items: center; text-align: center; background: radial-gradient(circle at 50% 30%, #2b2050, #070816 70%); font-size: 2.7cqw; }
.back-inner h3 { font: 900 9cqw/.9 var(--display); text-transform: uppercase; color: var(--gold); margin: 3cqw 0; }
.back-img { width: 46cqw; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: .8cqw solid var(--gold); }
.back-inner .button { margin-top: auto; }
.barcode { margin: 4cqw 0 0; font: 400 1.6cqw var(--pixel); color: #000; background: repeating-linear-gradient(90deg, #fff 0 .4cqw, #000 .4cqw .7cqw, #fff .7cqw 1.4cqw, #000 1.4cqw 2.2cqw); padding: 6cqw 3cqw .6cqw; width: 34cqw; text-align: center; }
.barcode { text-shadow: 0 0 .4cqw #fff, 0 0 .4cqw #fff; }

/* chapter opener */
.t-chapter { background: #0b0a18; color: #fff; }
.t-chapter .page-in { padding: 0; }
.ch-art { position: absolute; inset: 0 0 38% 0; background: var(--c); }
.ch-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; display: block; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.ch-num { position: absolute; right: 4cqw; top: 46%; font: 900 44cqw/.7 var(--display); color: var(--c); -webkit-text-stroke: .6cqw #000; opacity: .95; text-shadow: 1.6cqw 1.6cqw 0 #000; }
.ch-text { position: absolute; left: 7cqw; right: 7cqw; bottom: 8cqw; }
.ch-text .kicker { color: var(--c); filter: none; font-size: 2cqw; }
.ch-text h2 { margin: 0 0 2.4cqw; font: 900 12cqw/.86 var(--display); text-transform: uppercase; text-shadow: 1cqw 1cqw 0 #000; }
.ch-text p { font-size: 2.9cqw; color: #d9d4e6; max-width: 62cqw; }

/* boss file */
.boss-head { display: flex; gap: 3.4cqw; align-items: stretch; margin-bottom: 1cqw; }
.boss-img { width: 38cqw; aspect-ratio: 1; object-fit: cover; object-position: 50% 15%; border: .7cqw solid var(--ink); box-shadow: 1.4cqw 1.4cqw 0 var(--c); background: #120f2c; flex: none; }
.boss-id { display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; }
.boss-id h3 { font-size: 7.6cqw; }
.wiki-ref { position: absolute; right: 7cqw; bottom: 8.6cqw; font: 400 1.5cqw var(--pixel) !important; color: var(--ink2) !important; }

/* roster + checklist + toc */
.roster { display: grid; grid-template-columns: 1fr 1fr; gap: 2.6cqw; margin-bottom: 2cqw; }
.r-item { display: flex; gap: 2cqw; align-items: flex-start; font-size: 2.3cqw; line-height: 1.38; }
.r-img { width: 15cqw; aspect-ratio: 3/4; object-fit: cover; object-position: 50% 15%; border: .5cqw solid var(--ink); box-shadow: .8cqw .8cqw 0 var(--c); background: #120f2c; flex: none; }
.roster.tight .r-img { width: 12cqw; }
.r-item b { display: block; font: 900 3.3cqw/1 var(--display); text-transform: uppercase; }
.r-item small { display: block; font: 400 1.4cqw/1.6 var(--pixel); color: var(--c); filter: brightness(.75); margin: .6cqw 0 .8cqw; }
.r-item p { margin: 0; }
.check { list-style: none; padding: 0 !important; }
.check li { display: grid; grid-template-columns: 4cqw 1fr; column-gap: 2cqw; margin-bottom: 1.5cqw; }
.check .cb { grid-row: span 2; width: 3.2cqw; height: 3.2cqw; border: .45cqw solid var(--ink); background: #fff; margin-top: .3cqw; }
.check b { font: 900 3cqw/1.1 var(--display); text-transform: uppercase; }
.check small { font-size: 2.25cqw; color: var(--ink2); }
.toc { list-style: none; padding: 0 !important; margin-top: 2cqw; }
.toc li { display: flex; align-items: baseline; gap: 2cqw; padding: 1.6cqw 0; border-bottom: .25cqw solid var(--rule); font-size: 3.4cqw; }
.toc-n { width: 6cqw; height: 6cqw; flex: none; display: grid; place-items: center; background: var(--c); color: #fff; font: 400 2.2cqw var(--pixel); align-self: center; box-shadow: .6cqw .6cqw 0 var(--ink); }
.toc-t { font: 900 4.2cqw/1 var(--display); text-transform: uppercase; }
.toc-dots { flex: 1; border-bottom: .45cqw dotted #b5a88a; }
.toc-p { font: 400 2.2cqw var(--pixel); }
.ruled { flex: 1; background: repeating-linear-gradient(transparent 0 5.4cqw, var(--rule) 5.4cqw 5.6cqw); margin-top: 2cqw; }

@media (max-width: 760px) {
  .site-shell { padding: 0 16px; }
  .masthead { gap: 18px; height: auto; padding: 14px 0; flex-wrap: wrap; }
  .masthead nav { gap: 14px; font-size: 11px; flex-wrap: wrap; }
  .shelf-note { text-align: left; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .shelf-book { width: 150px; }
  .reader-title strong { font-size: 24px; }
}

/* ---------- player character spread: art page (hero) + kit page (dossier) ---------- */
.t-hero, .t-ad { background: #070816; color: #fff; }
.t-hero .page-in, .t-ad .page-in { padding: 0; }
.t-hero .page-in:before, .t-ad .page-in:before { display: none; }
.folio.dark { color: #ffffff88; border-top-color: #ffffff22; z-index: 3; }
.h-back { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 34%, color-mix(in srgb, var(--c) 78%, #fff 8%), color-mix(in srgb, var(--c) 45%, #000) 46%, #06060f 92%); }
.h-dots { position: absolute; inset: 0; background-image: radial-gradient(#0008 26%, transparent 28%); background-size: 2.4cqw 2.4cqw;
  -webkit-mask-image: radial-gradient(ellipse at 50% 38%, transparent 22%, #000 70%); mask-image: radial-gradient(ellipse at 50% 38%, transparent 22%, #000 70%); opacity: .7; }
.h-art { position: absolute; inset: 7cqw 0 26% 0; overflow: hidden; -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
.h-img { width: 100%; height: 100%; object-fit: contain; display: block; filter: drop-shadow(0 2cqw 3cqw #000c); }
.h-top { position: absolute; top: 4cqw; left: 5cqw; right: 5cqw; display: flex; justify-content: space-between; align-items: center; z-index: 2; }
.h-file { font: 400 1.6cqw var(--pixel); color: #fff; background: #000a; padding: 1.1cqw 1.6cqw; border-left: 1cqw solid var(--c); letter-spacing: .08em; }
.h-badge { font: 400 1.5cqw var(--pixel); background: #ffd23f; color: #1d1205; padding: 1.2cqw 1.8cqw; transform: rotate(4deg); box-shadow: .8cqw .8cqw 0 #000; }
.h-foot { position: absolute; left: 0; right: 0; bottom: 0; padding: 6cqw 6cqw 8.5cqw; background: linear-gradient(transparent, #05060fee 22%, #05060f); z-index: 2; }
.h-role { margin: 0 0 1.2cqw; font: 400 1.7cqw var(--pixel); color: var(--c); filter: brightness(1.25); letter-spacing: .06em; }
.h-name { margin: 0; font: 900 11.5cqw/.86 var(--display); text-transform: uppercase; color: #fff; text-shadow: 1cqw 1cqw 0 #000, 0 0 4cqw color-mix(in srgb, var(--c) 60%, transparent); letter-spacing: .01em; }
.h-tag { margin: 1.6cqw 0 0; font: italic 600 2.7cqw/1.3 var(--font); color: #e6e0f2; }
.h-stats { display: grid; grid-template-columns: 1fr 1fr; gap: .9cqw 4cqw; margin-top: 2.6cqw; }
.h-stat { display: flex; align-items: center; justify-content: space-between; gap: 2cqw; }
.h-stat em { font: 400 1.4cqw var(--pixel); font-style: normal; color: #cfc8e2; letter-spacing: .04em; }
.pips { display: inline-flex; gap: .7cqw; }
.pips i { width: 3.4cqw; height: 1.5cqw; background: #ffffff1f; transform: skewX(-18deg); }
.pips i.on { background: var(--c); box-shadow: 0 0 1cqw var(--c); filter: brightness(1.2); }

.ratings { display: flex; flex-wrap: wrap; gap: 1cqw 4cqw; margin: -1cqw 0 1.6cqw; font-size: 2.2cqw; }
.ratings span { display: inline-flex; align-items: center; gap: 1.4cqw; }
.ratings em { font: 400 1.4cqw var(--pixel); font-style: normal; color: var(--ink2); }
.ratings .meter i { width: 1.9cqw; height: 1.9cqw; }
.lead { font-size: 2.6cqw; color: var(--ink2); margin-bottom: 1.6cqw !important; }
.kits { display: grid; gap: 1.5cqw; margin-bottom: 1.4cqw; }
.kit { border: .45cqw solid var(--ink); background: #fff; padding: 1.3cqw 2cqw 1cqw; box-shadow: .9cqw .9cqw 0 var(--c); font-size: 2.25cqw; line-height: 1.36; }
.kit p { margin: .4cqw 0 !important; }
.kit-h { display: flex; align-items: center; gap: 1.6cqw; margin-bottom: .5cqw; }
.kit-h b { font: 900 3.3cqw/1 var(--display); text-transform: uppercase; }
.kit-h kbd { margin-left: auto; }
.kit-l { font: 400 1.3cqw var(--pixel); color: #fff; background: var(--ink); padding: .8cqw 1.1cqw; }
.k-ultimate .kit-l { background: var(--c); filter: brightness(.85); }
.k-weakness .kit-l { background: #c8352a; }
.tier { display: inline-block; font: 400 1.25cqw var(--pixel); background: var(--paper2); border: .25cqw solid var(--ink2); padding: .35cqw .6cqw; margin-right: 1cqw; vertical-align: .2cqw; }
.tier.t4 { background: #ffd23f; border-color: #8a6400; }
.t-dossier .body ul { margin-bottom: 1cqw; }
.t-dossier .box { margin-top: 1cqw; font-size: 2.25cqw; }

/* ---------- ability glossary ---------- */
.gls { display: grid; gap: 1.5cqw; }
.gl { border-left: 1.1cqw solid var(--gc); background: #fff; padding: 1.1cqw 2cqw 1cqw; font-size: 2.12cqw; line-height: 1.34; box-shadow: .6cqw .6cqw 0 #0002; }
.gl p { margin: .35cqw 0 !important; }
.gl-h { display: flex; align-items: center; gap: 1.6cqw; }
.gl-h b { font: 900 3.4cqw/1 var(--display); text-transform: uppercase; }
.gl-h small { margin-left: auto; font: 400 1.2cqw var(--pixel); color: var(--ink2); }
.glyph { width: 3.6cqw; height: 3.6cqw; display: grid; place-items: center; background: var(--ink); color: #fff; font: 400 1.7cqw var(--pixel); flex: none; }
.gl em { display: inline-block; min-width: 9.6cqw; font: 400 1.2cqw var(--pixel); font-style: normal; color: var(--gc); filter: brightness(.7); margin-right: .8cqw; }
.gl em.foe { color: #c8352a; filter: none; }
.gl-sl { color: var(--ink2); font-style: italic; }
.gl-sl em { color: var(--ink2); filter: none; }
.gl-t { display: block; margin: .3cqw 0 0 10.4cqw; color: var(--ink2); font-size: 2cqw; }
.gl-tip { color: #6a4a00; } .gl-tip:before { content: '★ '; color: #c98a14; }

/* ---------- retro ad page ---------- */
.ad-back { position: absolute; inset: 0; background: repeating-linear-gradient(-35deg, color-mix(in srgb, var(--c) 30%, #000) 0 6cqw, color-mix(in srgb, var(--c) 18%, #000) 6cqw 12cqw); }
.ad-art { position: absolute; inset: 14cqw 6cqw 46% 6cqw; }
.ad-img { width: 100%; height: 100%; object-fit: cover; border: .8cqw solid #fff; box-shadow: 1.6cqw 1.6cqw 0 #000; transform: rotate(-2deg); }
.ad-top { position: absolute; top: 4cqw; left: 0; right: 0; text-align: center; font: 400 1.4cqw var(--pixel); color: #ffffffaa; letter-spacing: .3em; }
.ad-body { position: absolute; left: 7cqw; right: 7cqw; bottom: 11cqw; }
.ad-game { margin: 0 0 1cqw; font: 400 2cqw var(--pixel); color: var(--c); filter: brightness(1.4); }
.ad-body h2 { margin: 0 0 2cqw; font: 900 10cqw/.86 var(--display); text-transform: uppercase; color: #fff; text-shadow: 1cqw 1cqw 0 #000; }
.ad-tag { font: 700 3cqw/1.3 var(--font); color: #fff; margin: 0 0 1.6cqw; }
.ad-body ul { color: #e9e4f5; font-size: 2.5cqw; }
.ad-body li::marker { color: #ffd23f; }
.ad-burst { position: absolute; right: 4cqw; top: 46%; }
.ad-cta { position: absolute; left: 7cqw; right: 7cqw; bottom: 5cqw; margin: 0; text-align: center; font: 400 1.7cqw var(--pixel); background: #ffd23f; color: #1d1205; padding: 1.6cqw; box-shadow: .8cqw .8cqw 0 #000; }
.ad-cta a { color: inherit !important; }
.t-hero b, .t-ad b, .t-chapter b, .t-cover b, .t-back b { color: inherit; }
/* dossier: tighter type so a kit + strategy fits one page; dense / dense2 for the long kits */
.t-dossier .page-in { padding-top: 6cqw; }
.dz { display: flex; flex-direction: column; min-height: 0; font-size: 2.3cqw; line-height: 1.38; }
.dz h3 { font-size: 7.2cqw; margin-bottom: 1.4cqw; }
.dz .kicker { margin-bottom: 1.2cqw; }
.dz .ratings { flex-wrap: nowrap; gap: 3cqw; margin: 0 0 1.4cqw; }
.dz .lead { font-size: 2.35cqw; margin-bottom: 1.4cqw !important; }
.dz .kits { gap: 1.3cqw; }
.dz .kit { padding: 1cqw 1.8cqw .8cqw; font-size: 2.15cqw; }
.dz .kit-h b { font-size: 3cqw; }
.dz .body ul { padding-left: 3.6cqw; margin-bottom: .6cqw; }
.dz .body li { margin-bottom: .5cqw; }
.dz .box { padding: 2.6cqw 2.2cqw 1.4cqw; margin: 1.6cqw 0 1.4cqw; font-size: 2.1cqw; }
.dz .stats { font-size: 2.1cqw; margin: 0; gap: .3cqw 1.6cqw; }
.dz .stats dt { font-size: 1.9cqw; }
.dz.dense { font-size: 2.12cqw; } .dz.dense .lead { font-size: 2.15cqw; } .dz.dense .kit { font-size: 1.98cqw; } .dz.dense .box, .dz.dense .stats { font-size: 1.95cqw; }
.dz.dense2 { font-size: 1.98cqw; } .dz.dense2 .lead { font-size: 2cqw; } .dz.dense2 .kit { font-size: 1.86cqw; } .dz.dense2 h3 { font-size: 6.2cqw; }
.boss-id .script { font-size: 1.9cqw; font-weight: 600; color: var(--ink2); }
.sb-wiki { display: block; margin-top: 4px; font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--gold); }
.shelf-book.soon.has-wiki { opacity: .8; }
.shelf-book .sb-title { word-break: break-word; }
