/* Defender art edition. Opt-in per book: design:"arcade-deluxe".
   Absolute decorations add artwork without consuming the strategy text area. */
.arcade-deluxe { --paper: #f4eedc; --paper2: #eae1cb; }
.arcade-deluxe .page-c { isolation: isolate; background: linear-gradient(130deg, #fff8e9, #f0e6ce); }
.arcade-deluxe .page-c:after { content: ''; position: absolute; inset: 2.4cqw; border: .3cqw solid color-mix(in srgb, var(--c) 58%, #61512f); outline: .15cqw solid #ffffffaa; outline-offset: 1cqw; pointer-events: none; z-index: 3; }
.arcade-deluxe .page-in { z-index: 1; }
.arcade-deluxe .page-in:before { height: 2.2cqw; background: repeating-linear-gradient(125deg, #0000 0 2cqw, #ffffff38 2cqw 2.5cqw), var(--c); box-shadow: 0 .8cqw 0 #171322; }
.page-scene, .page-ghost { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.decor-img { width: 100%; height: 100%; display: block; object-fit: cover; }
.page-scene { opacity: .075; mix-blend-mode: multiply; }
.page-ghost { inset: 19% -16% 4% 24%; opacity: .11; }
.page-ghost .decor-img { object-fit: contain; object-position: right bottom; }
.arcade-deluxe .kicker { letter-spacing: .09em; }
.arcade-deluxe .folio { border-top: .45cqw solid var(--c); color: #605239; }
.arcade-deluxe .folio span:last-child { color: #211a2c; }
.arcade-deluxe .edge-tab { z-index: 4; border: .4cqw solid #171322; box-shadow: -.6cqw .8cqw 0 #171322; }
.arcade-deluxe .edge-tab.indexed {
  top: calc(8cqw + 20cqw * var(--tab-slot));
  height: 19cqw;
  padding: 0;
  display: grid;
  place-items: center;
  white-space: nowrap;
}
.arcade-deluxe table { background: #fffdf7e8; }
.arcade-deluxe th { background: linear-gradient(100deg, #171322, #342440); border-bottom: .6cqw solid var(--c); }
.arcade-deluxe tr:nth-child(even) td { background: #e9dfc75c; }
.arcade-deluxe .box { border-radius: .3cqw; box-shadow: 1.1cqw 1.1cqw 0 #171322; }
.arcade-deluxe .side-img, .arcade-deluxe .r-img { outline: .25cqw solid #fff7df; outline-offset: .4cqw; }
.arcade-deluxe.t-article .body > .box { clear: both; }
.arcade-deluxe .r-item { background: #fff9e7de; border-bottom: .5cqw solid var(--c); padding: .8cqw; }
.arcade-deluxe .roster.tight .r-item { padding: .3cqw; }
.arcade-deluxe .gl { background: #fffdf5ed; border-bottom: .18cqw solid #b8a374; }
.gl-icon { width: 5cqw; height: 5cqw; object-fit: contain; flex: none; filter: drop-shadow(.35cqw .35cqw 0 #0007); }
.arcade-deluxe .gl-icon + .glyph { display: none; }
.arcade-deluxe .kit { background: #fffdf8ee; }
.arcade-deluxe .ratings { padding-bottom: .9cqw; border-bottom: .3cqw solid var(--rule); }

/* Game characters and a gameplay inset replace the single-card cover. */
.arcade-deluxe.t-cover .page-c { background: #090c1c; }
.arcade-deluxe.t-cover .page-c:after { border: .5cqw solid #e7bc66; outline-color: #fff1b74d; inset: 2.2cqw; }
.arcade-deluxe .cover-art { background: #0c1021; }
.arcade-deluxe .cover-img { inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .48; mask-image: none; -webkit-mask-image: none; }
.arcade-deluxe .cover-art:after { background: linear-gradient(#040719b8, transparent 44%, #040616 95%), repeating-linear-gradient(0deg, #0000 0 3px, #00000012 3px 4px); }
.arcade-deluxe .cover-title { top: 11cqw; z-index: 4; }
.arcade-deluxe .cover-title h1 { font-size: 16cqw; line-height: .82; -webkit-text-stroke: .3cqw #542719; filter: drop-shadow(.8cqw 1cqw 0 #000); }
.arcade-deluxe .cover-title .kicker { color: #fff0b7; font-size: 1.55cqw; }
.arcade-deluxe .cover-title .starlit-wrap { margin-top: 2cqw; border-color: #ffcc6b; background: #0e0c24e8; }
.arcade-deluxe .cover-title .starlit { font-size: 2.7cqw; }
.cover-cast { position: absolute; inset: 39% -5% 17%; z-index: 2; pointer-events: none; }
.cast-img { position: absolute; object-fit: contain; object-position: bottom; bottom: 0; height: 100%; filter: drop-shadow(0 1.5cqw 2cqw #000b); }
.cast-0 { left: -6%; width: 61%; height: 88%; transform: rotate(-8deg); }
.cast-1 { right: -3%; width: 57%; height: 93%; transform: rotate(8deg); }
.cast-2 { left: 23%; width: 59%; height: 108%; z-index: 1; }
.cover-gameplay { position: absolute; left: 6cqw; top: 64%; width: 31cqw; z-index: 3; border: .6cqw solid #ffdb85; box-shadow: .9cqw 1cqw 0 #000; transform: rotate(-6deg); background: #0a0e1f; }
.cover-screen { width: 100%; display: block; }
.cover-gameplay span { display: block; text-align: center; padding: .9cqw .3cqw; color: #ffe08d; font: 700 1.35cqw/1.2 var(--font); letter-spacing: .06em; }
.arcade-deluxe .cover-top, .arcade-deluxe .cover-foot { z-index: 5; }
.arcade-deluxe .cover-top { top: 4.5cqw; }
.arcade-deluxe .cover-pub { font-size: 1.35cqw; }
.arcade-deluxe .cover-foot { bottom: 5.5cqw; }
.arcade-deluxe .cover-foot p { font-size: 2.35cqw; max-width: 60cqw; }
.arcade-deluxe .burst { background: #ffd444; filter: drop-shadow(.7cqw .9cqw 0 #000); }

/* Chapter and player spreads provide full-colour breaks. */
.arcade-deluxe.t-chapter .page-c, .arcade-deluxe.t-hero .page-c, .arcade-deluxe.t-ad .page-c, .arcade-deluxe.t-back .page-c { background: #0a0c1d; }
.arcade-deluxe.t-chapter .page-c:after, .arcade-deluxe.t-hero .page-c:after, .arcade-deluxe.t-ad .page-c:after { border-color: var(--c); outline-color: #ffffff24; }
.arcade-deluxe.t-chapter .page-scene, .arcade-deluxe.t-hero .page-scene { display: none; }
.arcade-deluxe .ch-art { inset: 0 0 25%; background: #0c1021; }
.ch-scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.arcade-deluxe .ch-img { position: relative; width: 95%; margin: 0 auto; object-fit: contain; object-position: center 12%; filter: drop-shadow(0 1.7cqw 2cqw #0009); }
.arcade-deluxe .ch-num { top: 48%; opacity: .75; font-size: 39cqw; }
.arcade-deluxe .ch-text { z-index: 2; background: linear-gradient(transparent, #080a1bd9 26%); padding-top: 12cqw; }
.arcade-deluxe .ch-text h2 { text-shadow: 1cqw 1cqw 0 #000; }
.h-scene { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.arcade-deluxe .h-art { inset: 4cqw -4cqw 24%; }
.arcade-deluxe .h-img { object-fit: contain; }
.arcade-deluxe .h-foot { background: linear-gradient(transparent, #080b1bd9 32%); }
.arcade-deluxe .h-stats { background: #080c1cd9; padding: 2cqw; border: .25cqw solid #ffffff33; }
.arcade-deluxe .folio.dark { color: #e5d6ad; border-color: #d9b76f77; }
.arcade-deluxe .folio.dark span:last-child { color: #fff2c9; }

/* Full-height, slightly transparent boss imagery behind a readable field file. */
.arcade-deluxe.t-boss .page-ghost { inset: 23% -24% 2% 3%; opacity: .17; }
.arcade-deluxe .boss-head { display: grid; grid-template-columns: 29cqw minmax(0, 1fr); gap: 2cqw 3cqw; align-items: center; padding: 1.8cqw; margin: -1cqw -1.8cqw 2cqw; border: .5cqw solid #20172d; background: linear-gradient(120deg, #fffaf2f2, #efe1cbe0); box-shadow: .9cqw .9cqw 0 var(--c); flex-shrink: 0; }
.arcade-deluxe .boss-portrait { position: relative; }
.arcade-deluxe .boss-img { display: block; width: 100%; height: 32cqw; object-fit: contain; object-position: center; border: .3cqw solid var(--c); background: radial-gradient(ellipse, #ffffffaa, color-mix(in srgb, var(--c) 28%, #101225)); filter: drop-shadow(.5cqw .7cqw 0 #0005); box-shadow: none; }
.arcade-deluxe .boss-id { min-width: 0; }
.arcade-deluxe .boss-id h3 { font-size: 7.2cqw; }
.arcade-deluxe .boss-id .stats { margin-bottom: 0; }
.arcade-deluxe .boss-details { grid-column: 1 / -1; margin: 0; font-size: 2.3cqw; line-height: 1.35; }
.arcade-deluxe .boss-details .script { font-size: 1.9cqw; color: var(--ink2); }
.arcade-deluxe .boss-wiki { position: absolute; right: 1cqw; bottom: 1cqw; padding: 1.3cqw 1.5cqw; border: .3cqw solid #ffe3a0; background: #171322f2; box-shadow: .5cqw .5cqw 0 #0008; color: #ffe3a0; font: 800 2.3cqw/1 var(--display); letter-spacing: .08em; text-decoration: none; white-space: nowrap; }
.arcade-deluxe .boss-wiki:hover, .arcade-deluxe .boss-wiki:focus-visible { color: #171322; background: #ffe3a0; outline: .5cqw solid #171322; outline-offset: .3cqw; }
.arcade-deluxe.t-boss .body { background: linear-gradient(90deg, #fff8e6b8, #fff8e64d); padding: .2cqw 1cqw; margin-left: -1cqw; margin-right: -1cqw; line-height: 1.45; }
.arcade-deluxe.t-boss .body li { margin-bottom: .7cqw; }
.arcade-deluxe.t-boss .body h4 { padding-left: 1cqw; border-left: .8cqw solid var(--c); margin-top: 1.8cqw; }

/* Existing arcade renders become framed magazine advertisements. */
.arcade-deluxe .ad-back { background: radial-gradient(ellipse at 70% 25%, color-mix(in srgb, var(--c) 40%, #18152d), #070b19 74%); }
.arcade-deluxe .ad-art { inset: 10cqw 4.5cqw 44%; }
.arcade-deluxe .ad-img { transform: rotate(-2deg); border: .65cqw solid #fff2c7; outline: .25cqw solid var(--c); outline-offset: .7cqw; }
.arcade-deluxe .ad-body { left: 7cqw; right: 7cqw; bottom: 12cqw; }
.arcade-deluxe .ad-body h2 { color: #ffdf8f; }
.arcade-deluxe .ad-game { font-size: 1.7cqw; }
.arcade-deluxe .ad-burst { width: 19cqw; height: 19cqw; right: 3.5cqw; }
.arcade-deluxe .back-inner { background: radial-gradient(ellipse at 50% 30%, #542144, #080b1d 70%); }
.arcade-deluxe .back-img { object-fit: contain; background: #141426; }

/* Print from the dedicated edition: no transformed, half-hidden spread. */
.guide-print .book-wrap { max-width: none; }
.guide-print .book.flat .page { width: 520px !important; height: 700px !important; aspect-ratio: auto; margin: 24px auto; }
.guide-print #prev, .guide-print #next, .guide-print #page-no, .guide-print #jump, .guide-print .reader-hint { display: none; }
.guide-print .boss-wiki, .guide-print .wiki-ref { display: none !important; }
@page { size: A4 portrait; margin: 12mm; }
@media print {
  .boss-wiki, .wiki-ref { display: none !important; }
  html, body { background: white !important; color-scheme: light; }
  body.guide-print { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .guide-print .masthead, .guide-print .reader-bar, .guide-print footer, .guide-print .reader-hint { display: none !important; }
  .guide-print .site-shell, .guide-print .guides-reader, .guide-print .book-stage, .guide-print .book-wrap { margin: 0 !important; padding: 0 !important; width: auto !important; background: none; }
  .guide-print .book.flat .page { width: 186mm !important; height: 250.385mm !important; margin: 0 auto !important; break-inside: avoid; break-after: page; page-break-after: always; box-shadow: none; }
  .guide-print .book.flat .page:last-child { break-after: auto; page-break-after: auto; }
  .guide-print .page-ghost { opacity: .08; }
  .guide-print .t-boss .page-ghost { opacity: .12; }
  .guide-print .starlit { animation: none; }
  .guide-print a { text-decoration: none; }
}
