/* Maximalism, for /worlds/spider-man/ and /daily-bugle/ (style: maximalism).

   Into the Spider-Verse turned one hero into many art styles at once, and
   this pair is already about several Spider-Men. So the page is Miles's
   Brooklyn at night as that film paints it: dark and saturated, printed in
   four process plates that do not quite line up, with halftone dots, comic
   caption boxes, stickers, and each Spider-Man's card in his own medium
   (film stock for Raimi's Peter, blueprints for Andrew's, Ben-Day dots for
   Ditko's, watercolour for Gwen, cross-hatching for Noir). Not Pop Art: the
   Justice League gets one strict Silver Age print later; Spider-Man is
   every print at once.

   The user finds the site busy, so it is maximal in surface and strict in
   structure: one reading order, every word on a solid box (the caption
   yellow, or the night's ink), and motion only on hover. The signature:
   hovering a card knocks its cyan and magenta plates out of register for a
   moment, then they settle back. Never under Reduce Motion.

   The Daily Bugle is the same print run on the paper's own ground. It stays
   a broadsheet: the finish shows on its edges, art and furniture (the
   nameplate, the ears, the lead photo, the press card, the Special Report
   box, the presses button, the world button, the printer's marks in the
   margins) and never on its columns of text. The world page takes the
   Bugle's headline face, Oswald, for its headings; that, the caption
   yellow and the two slipped plates are what make the two one pair.

   One file for the pair, in three parts: the shared plates and tokens; the
   world page; the Bugle. The spec: docs/superpowers/specs/2026-10-11-page-
   styles-design.md, section 5 ("Spider-Man: Maximalism") and section 9.
   Everything is scoped to :root[data-style="maximalism"]; material rules on
   shared components put that scope in :where() so each page's own hover,
   focus, open and playing states still win. */

/* ── 1. shared: the plates, the caption yellow, the night ────────────────── */
:root[data-style="maximalism"] {
  --mx-c: #00aeef;                 /* process cyan */
  --mx-m: #ec008c;                 /* process magenta */
  --mx-y: #ffe14d;                 /* the caption box: comics narration yellow */
  --mx-k: #0d0a1c;                 /* key: Brooklyn's blue-black, every panel's fill */
  --mx-on-y: #140f22;              /* ink on the caption yellow, 15:1 */
  --mx-red: #ff2b44;               /* spider red, lit for the night */
  --mx-white: #fff6dc;             /* a sticker's die-cut white */
  /* the two plates, slipped: printed on every caption box and sticker */
  --mx-slip: -4px -3px 0 var(--mx-c), 4px 3px 0 var(--mx-m);
  --mx-slip-sm: -2px -2px 0 var(--mx-c), 2px 2px 0 var(--mx-m);

  --s-surface: var(--mx-k);
  --s-surface-hi: #18122e;
  --s-bw: 2px;
  --s-r: 3px;
  --s-r-sm: 3px;
  --s-shadow: none;
  --s-shadow-hi: 0 18px 34px -22px #000;
  --s-lift: -3px;
  /* the Bugle defines no --sans, hence the literal fallback */
  --s-display: "Oswald", var(--sans, sans-serif);
  --s-display-w: 700;
  --s-display-ls: 0.01em;
  --s-focus: var(--mx-y);

  /* the bars: solid ink, printed with the same slip */
  --s-bar: #0d0a1c;
  --s-bar-edge: rgba(0, 174, 239, .55);
  --s-bar-r: 6px;
  --s-bar-blur: none;
  --s-bar-shadow: -3px -2px 0 var(--mx-c), 3px 2px 0 var(--mx-m), 0 18px 36px -14px #000;

  /* halftone replaces the film grain; no circuit field and no lattice on a
     printed page, and the cursor's light is a magenta spill */
  --s-grain: 0;
  --s-field: 0;
  --hud-grid: transparent;
  --hud-scan: transparent;
  --hud-sweep: transparent;
  --hud-lit: transparent;
  --hud-halo: rgba(236, 0, 140, .08);
}
@media (prefers-contrast: more) {
  :root[data-style="maximalism"] { --mx-k: #06050e; --s-bar-edge: var(--mx-c); }
}

/* The plates, on every panel that can be pointed at: a cyan and a magenta
   outline exactly over the panel's own keyline, invisible while in
   register. The panel is its own stacking context, so they print over its
   fill and under its words, and only ever along its edge. */
:root[data-style="maximalism"] :is(.fan-card, .fan-tile, .fan-rankrow, .fan-linkcard, .fan-land, .db-st--special .db-story, .db-stop, .iw) {
  position: relative; isolation: isolate;
}
:root[data-style="maximalism"] :is(.fan-card, .fan-tile, .fan-rankrow, .fan-linkcard, .fan-land, .db-st--special .db-story, .db-stop, .iw)::before,
:root[data-style="maximalism"] :is(.fan-card, .fan-tile, .fan-rankrow, .fan-linkcard, .fan-land, .db-st--special .db-story, .db-stop, .iw)::after {
  content: ""; position: absolute; inset: -2px; z-index: -1; pointer-events: none;
  border: 2px solid var(--mx-c); border-radius: inherit; opacity: 0;
}
:root[data-style="maximalism"] :is(.fan-card, .fan-tile, .fan-rankrow, .fan-linkcard, .fan-land, .db-st--special .db-story, .db-stop, .iw)::after {
  border-color: var(--mx-m);
}
/* The signature: pointed at, the plates jump apart in three hard steps and
   land back in register, about half a second, once per visit. Transform
   and opacity only. */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  :root[data-style="maximalism"] :is(.fan-card, .fan-tile, .fan-rankrow, .fan-linkcard, .fan-land, .db-st--special .db-story, .db-stop, .iw):hover::before {
    animation: mx-knock-c .52s steps(1, end) both;
  }
  :root[data-style="maximalism"] :is(.fan-card, .fan-tile, .fan-rankrow, .fan-linkcard, .fan-land, .db-st--special .db-story, .db-stop, .iw):hover::after {
    animation: mx-knock-m .52s steps(1, end) both;
  }
}
@keyframes mx-knock-c {
  0%   { opacity: 1; transform: translate(-7px, -4px); }
  30%  { opacity: 1; transform: translate(5px, 2px); }
  55%  { opacity: 1; transform: translate(-3px, 3px); }
  80%  { opacity: .8; transform: translate(-1px, -1px); }
  100% { opacity: 0; transform: none; }
}
@keyframes mx-knock-m {
  0%   { opacity: 1; transform: translate(6px, 5px); }
  30%  { opacity: 1; transform: translate(-4px, -3px); }
  55%  { opacity: 1; transform: translate(3px, -2px); }
  80%  { opacity: .8; transform: translate(1px, 1px); }
  100% { opacity: 0; transform: none; }
}

/* ── 2. the world page: Brooklyn at night ─────────────────────────────────── */

/* The night: violet over the rooftops with a magenta and a cyan spill along
   the skyline, the city in purple and ink with yellow windows, printed a
   plate out of true, and a halftone field over all of it. The sky is capped
   at .36 (fanpages.css), so it is drawn saturated and lands dark. */
:root[data-style="maximalism"] .spdr-sky {
  background:
    radial-gradient(55% 38% at 82% 100%, rgba(236, 0, 140, .7), transparent 72%),
    radial-gradient(45% 32% at 8% 96%, rgba(0, 174, 239, .55), transparent 72%),
    linear-gradient(#0b0724 0%, #1c0b40 52%, #3d0a4e 100%);
}
:root[data-style="maximalism"] .spdr-city { opacity: .85; filter: drop-shadow(-4px 0 0 rgba(0, 174, 239, .7)) drop-shadow(4px 2px 0 rgba(236, 0, 140, .6)); }
:root[data-style="maximalism"] .spc-far { fill: #4a1475; }
:root[data-style="maximalism"] .spc-near { fill: #120a26; }
:root[data-style="maximalism"] .spc-lit { fill: var(--mx-y); opacity: .32; }
:root[data-style="maximalism"] .spdr-sky::before {
  background:
    repeating-conic-gradient(from 0deg at 50% 50%, rgba(0, 174, 239, .5) 0 .4deg, transparent .4deg 15deg),
    repeating-radial-gradient(circle at 50% 50%, rgba(236, 0, 140, .45) 0 1.5px, transparent 1.5px 52px);
}
/* the halftone: magenta dots rising off the skyline, and a cyan screen in the
   top left corner a plate out of true from it */
:root[data-style="maximalism"] .spdr-sky::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle, var(--mx-m) 0 2px, transparent 2.6px) 0 0 / 11px 11px,
    radial-gradient(circle, var(--mx-c) 0 1.6px, transparent 2.2px) 4px 3px / 11px 11px;
  -webkit-mask-image: radial-gradient(75% 55% at 100% 100%, #000, transparent 75%), radial-gradient(45% 40% at 0% 0%, rgba(0, 0, 0, .7), transparent 75%);
  mask-image: radial-gradient(75% 55% at 100% 100%, #000, transparent 75%), radial-gradient(45% 40% at 0% 0%, rgba(0, 0, 0, .7), transparent 75%);
}
:root[data-style="maximalism"] .sps-body { stroke: var(--mx-red); }
:root[data-style="maximalism"] .sps-arm { stroke: var(--mx-red); }

/* the symbiote still drains every colour out of the night */
:root[data-style="maximalism"] body.is-symbiote .spdr-sky { background: radial-gradient(70% 55% at 50% 0%, #14141c 0%, #08080c 52%, #020203 100%); }
:root[data-style="maximalism"] body.is-symbiote :is(.spdr-sky::after, .spdr-sky::before) { filter: grayscale(1); }
:root[data-style="maximalism"] body.is-symbiote .spdr-city { opacity: .22; filter: grayscale(1); }
:root[data-style="maximalism"] .tabbar { --s-accent: var(--mx-y); }
:root[data-style="maximalism"] :is(.tabbar a.is-current, .tabbar a.is-going) {
  background: var(--mx-y); color: var(--mx-on-y); box-shadow: var(--mx-slip-sm);
}

/* the title: the film's own lettering, Oswald, red ink with its cyan and
   magenta plates slipped either side */
:root[data-style="maximalism"] .fan-title {
  font-style: normal; text-transform: uppercase; line-height: .95;
  font-size: clamp(3.2rem, 10vw, 6rem);
  color: var(--mx-red); -webkit-text-stroke: 0;
  text-shadow: -0.045em -0.02em 0 var(--mx-c), 0.045em 0.03em 0 var(--mx-m);
}
:root[data-style="maximalism"] .fan-kicker { color: var(--mx-c); }

/* headings in Oswald, the Bugle's headline face; reading text stays Inter,
   labels stay JetBrains Mono */
:root[data-style="maximalism"] :is(.fan-card :is(h2, h3, h4, h5), .fan-rankhead b, .fan-linkhead b, .fan-land-head :is(h2, h3, h4, h5), .fan-shot figcaption b, .wsib-h b) {
  font-family: var(--s-display); font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase;
}
:root[data-style="maximalism"] .fan-card :is(h2, h3, h4, h5) { font-size: 1.22rem; line-height: 1.15; }
:root[data-style="maximalism"] .fan-tiletext b { font-family: var(--s-display); font-weight: 500; font-size: 1.02rem; letter-spacing: 0.02em; }

/* Caption boxes: the narration voice of a comic, solid yellow, dark type,
   with the two plates slipped behind. Every section head is one, and so are
   the quotes, the line under the web-shooter and "since I was little". */
:root[data-style="maximalism"] .subsec--fan {
  width: fit-content; max-width: 100%;
  padding: 0.5rem 0.8rem 0.45rem; gap: 0.2rem 0.9rem;
  background: var(--mx-y); color: var(--mx-on-y); box-shadow: var(--mx-slip);
  font-family: var(--s-display); font-weight: 700; font-size: clamp(1.05rem, 1.9vw, 1.28rem);
  letter-spacing: 0.04em; line-height: 1.15;
}
:root[data-style="maximalism"] .subsec--fan::after { content: none; }
:root[data-style="maximalism"] .subsec--fan .subsec-yr {
  font-family: var(--mono); font-weight: 500; font-size: 0.66rem; letter-spacing: 0.12em; color: #4a3a00;
}
/* a folded section's head keeps its count and arrow, now at the far end */
:root[data-style="maximalism"] .fan-fold-sum .subsec { flex: 0 1 auto; }
:root[data-style="maximalism"] .fan-fold-n { margin-left: auto; }
:root[data-style="maximalism"] .fan-fold-i { color: var(--mx-y); }
:root[data-style="maximalism"] .fan-fold-sum:focus-visible .subsec--fan { color: var(--mx-on-y); filter: none; }
@media (hover: hover) {
  :root[data-style="maximalism"] .fan-fold-sum:hover .subsec--fan { color: var(--mx-on-y); filter: none; box-shadow: -6px -4px 0 var(--mx-c), 6px 4px 0 var(--mx-m); }
}
/* in the symbiote's section the box turns black and its plates bone */
:root[data-style="maximalism"] body.is-symbiote .fan-sec[data-symbiote] .subsec--fan {
  background: #0a0a0d; box-shadow: -4px -3px 0 #e8e8f0, 4px 3px 0 #6a6a74;
}
:root[data-style="maximalism"] body.is-symbiote .fan-sec[data-symbiote] .subsec--fan .subsec-yr { color: #b4b4c0; }

:where(:root[data-style="maximalism"]) :is(.fan-quote, .fan-intro-when) {
  border: 0; border-radius: 0; background: var(--mx-y); box-shadow: var(--mx-slip);
}
@media (hover: hover) {
  :where(:root[data-style="maximalism"]) .fan-quote:hover { background: var(--mx-y); box-shadow: -7px -5px 0 var(--mx-c), 7px 5px 0 var(--mx-m); }
}
:root[data-style="maximalism"] .fan-quote blockquote { color: var(--mx-on-y); }
:root[data-style="maximalism"] .fan-quote figcaption { color: #7a0f22; }
:root[data-style="maximalism"] .fan-intro-when { margin-top: 0.4rem; }
:root[data-style="maximalism"] .fan-intro-when b { color: var(--mx-on-y); }
:root[data-style="maximalism"] .fan-when-k { color: #5a4600; }
:root[data-style="maximalism"] .fan-when-n { color: #2c2410; }
:root[data-style="maximalism"] .fan-art-body q {
  align-self: flex-start; padding: 0.6rem 0.9rem;
  background: var(--mx-y); color: var(--mx-on-y); box-shadow: var(--mx-slip);
}

/* the web-shooter, printed a plate out of true over a halftone sun */
:root[data-style="maximalism"] .fan-art--spd .fan-art-fig { position: relative; isolation: isolate; }
:root[data-style="maximalism"] .fan-art--spd .fan-art-fig::before {
  content: ""; position: absolute; inset: -4% 6%; z-index: -1; pointer-events: none;
  background: radial-gradient(circle, rgba(236, 0, 140, .75) 0 2px, transparent 2.6px) 0 0 / 9px 9px;
  -webkit-mask-image: radial-gradient(closest-side, #000 20%, transparent);
  mask-image: radial-gradient(closest-side, #000 20%, transparent);
}
:root[data-style="maximalism"] .fan-art--spd .fan-art-fig svg {
  filter: drop-shadow(-3px -2px 0 rgba(0, 174, 239, .75)) drop-shadow(3px 2px 0 rgba(236, 0, 140, .7));
}

/* The interface door: a scrap of the Bugle itself, newsprint and its red,
   pasted on at a slant with the plates slipped. The peek under it is the
   Bugle's own paper already, so it takes the slip and the paper's ring. */
:where(:root[data-style="maximalism"]) .fan-iface {
  border: 2px solid #171412; border-radius: 0; background: #f2ecdc; color: #171412;
  box-shadow: var(--mx-slip); rotate: -1deg;
}
@media (hover: hover) {
  :where(:root[data-style="maximalism"]) .fan-iface:hover { background: #fff8e6; border-color: #171412; }
}
:root[data-style="maximalism"] :is(.fan-iface-k, .fan-iface-a) { color: #b3121c; border-color: #b3121c; }
:where(:root[data-style="maximalism"]) .fan-peek { --s-focus: #b3121c; border: 2px solid #171412; border-radius: 0; box-shadow: var(--mx-slip); }
:root[data-style="maximalism"] .fan-peek-rows dt { color: #5c544a; }
:root[data-style="maximalism"] .fan-peek-rows dd { color: #b3121c; }
:root[data-style="maximalism"] .fan-peek-n { color: #3a342e; }

/* The intro: the halftone skyline runs behind the hero, so the paragraph is
   set on a solid box of the night's ink, the same furniture as the caption
   boxes, its two plates slipped at the edge. */
:root[data-style="maximalism"] .fan-hero .fan-lede-hero {
  width: fit-content; padding: 0.85rem 1.1rem;
  background: var(--mx-k); box-shadow: var(--mx-slip-sm);
}

/* The hero's two links are die-cut stickers: printed solid on the caption
   stock, a white die-cut rim round the edge, and one plate slipped behind
   each (cyan on the first, magenta on the second). The doors at the foot
   stay black with a die-cut white edge. */
:where(:root[data-style="maximalism"]) .fan-link {
  border: 0; border-radius: 4px; background: var(--mx-y); color: var(--mx-on-y); font-weight: 500;
  box-shadow: 0 0 0 2px var(--mx-white), -4px -3px 0 2px var(--mx-c);
}
:where(:root[data-style="maximalism"]) .fan-link:nth-child(even) { box-shadow: 0 0 0 2px var(--mx-white), 4px 3px 0 2px var(--mx-m); }
:where(:root[data-style="maximalism"]) .wsib-i a {
  border: 2px solid var(--mx-white); border-radius: 4px; background: var(--mx-k); color: #fff;
}
:where(:root[data-style="maximalism"]) .fan-link:nth-child(odd) { rotate: -1.5deg; }
:where(:root[data-style="maximalism"]) .fan-link:nth-child(even) { rotate: 1deg; }
@media (hover: hover) {
  :where(:root[data-style="maximalism"]) .fan-link:hover { color: var(--mx-on-y); background: var(--mx-white); }
  :where(:root[data-style="maximalism"]) .wsib-i a:hover {
    color: var(--mx-y); border-color: var(--mx-white); background: var(--mx-k); box-shadow: var(--mx-slip-sm);
  }
}

/* ── panels: solid ink, keylined in the item's own colour ──
   Each card is a comic panel: an art strip across the top in its medium,
   ruled off, and under it the caption box where every word sits. The tag is
   a sticker straddling the rule. --mx-art is the strip: by default the
   film's halftone in the item's colour with a cyan screen a plate out, and
   for each Spider-Man, his own medium (below). */
:where(:root[data-style="maximalism"]) .fan-card {
  --mx-lift: color-mix(in srgb, var(--a, #e02a3a) 62%, #fff);
  --mx-band: 1.7rem;
  --mx-art:
    linear-gradient(90deg, transparent 5%, var(--mx-k) 88%),
    radial-gradient(circle, color-mix(in srgb, var(--a, #e02a3a) 90%, transparent) 0 1.7px, transparent 2.2px) 0 0 / 7px 7px,
    radial-gradient(circle, rgba(0, 174, 239, .5) 0 1.2px, transparent 1.7px) 3px 2px / 7px 7px;
  padding-top: var(--mx-band);
  border: 2px solid var(--mx-lift); border-radius: 3px;
  background:
    linear-gradient(var(--mx-lift), var(--mx-lift)) 0 calc(var(--mx-band) + 0.5rem) / 100% 2px no-repeat,
    linear-gradient(var(--mx-k), var(--mx-k)) 0 calc(var(--mx-band) + 0.5rem) / 100% 100% no-repeat,
    var(--mx-art), var(--mx-k);
}
:where(:root[data-style="maximalism"]) .fan-tile {
  --mx-lift: color-mix(in srgb, var(--a, #e02a3a) 62%, #fff);
  border: 2px solid color-mix(in srgb, var(--mx-lift) 72%, var(--mx-k)); border-radius: 3px;
  background:
    linear-gradient(var(--mx-k), var(--mx-k)) 1.95rem 0 / 100% 100% no-repeat,
    linear-gradient(transparent, var(--mx-k) 92%) 0 0 / 1.95rem 100% no-repeat,
    radial-gradient(circle, color-mix(in srgb, var(--a, #e02a3a) 85%, transparent) 0 1.4px, transparent 1.9px) 0 0 / 6px 6px,
    var(--mx-k);
}
:where(:root[data-style="maximalism"]) .fan-shot { --mx-lift: color-mix(in srgb, var(--a, #e02a3a) 62%, #fff); }
:where(:root[data-style="maximalism"]) :is(.fan-rankrow, .fan-linkcard, .fan-land) {
  --mx-lift: color-mix(in srgb, var(--a, #e02a3a) 62%, #fff);
  border: 2px solid var(--mx-lift); border-radius: 3px; background: var(--mx-k);
}
@media (hover: hover) {
  :where(:root[data-style="maximalism"]) :is(.fan-card, .fan-rankrow, .fan-linkcard, .fan-land):hover { border-color: var(--mx-lift); background-color: var(--mx-k); }
  :where(:root[data-style="maximalism"]) .fan-tile:hover { border-color: var(--mx-lift); }
  :where(:root[data-style="maximalism"]) :is(.fan-card:hover :is(h2, h3, h4, h5), .fan-land:hover .fan-land-head :is(h2, h3, h4, h5), .fan-linkcard:hover .fan-linkhead b) { color: var(--mx-lift); }
}
:root[data-style="maximalism"] .fan-linkhead i { color: var(--mx-lift); opacity: .85; }
:where(:root[data-style="maximalism"]) .fan-land-bar {
  height: 8px; opacity: 1;
  background: radial-gradient(circle, var(--a, #e02a3a) 0 1.4px, transparent 1.9px) 0 0 / 5px 5px;
}

/* the tag: a sticker, the item's colour let down to a tint, die-cut white */
:where(:root[data-style="maximalism"]) .fan-tag {
  justify-self: start; position: relative; z-index: 1;
  padding: 0.24rem 0.55rem; border: 0; border-radius: 3px;
  background: color-mix(in srgb, var(--a, #e02a3a) 45%, #fff); color: var(--mx-on-y);
  box-shadow: 0 0 0 2px var(--mx-white), 2px 3px 0 2px rgba(0, 0, 0, .55);
  font-weight: 500; rotate: -2deg;
}
/* the swatch on a tile: a round sticker on its halftone spine */
:where(:root[data-style="maximalism"]) .fan-tile .fan-swatch {
  width: 14px; height: 14px; border-radius: 50%; margin-top: 2px;
  box-shadow: 0 0 0 2px var(--mx-white);
}
/* the LEGO catalogue's tiles carry their own colour band and banner, so
   they keep a plain ink panel (no spine behind their words), the band
   screened in halftone */
:root[data-style="maximalism"] .fan-tiles--switch > .fan-tile { background: var(--mx-k); }
:root[data-style="maximalism"] .fan-tiles--switch .fan-swatch { box-shadow: none; }
:root[data-style="maximalism"] .fan-tiles--switch.is-grid .fan-swatch {
  height: 8px; border-radius: 0;
  background: radial-gradient(circle, var(--a, #e02a3a) 0 1.4px, transparent 1.9px) 0 0 / 5px 5px;
}
/* the rank numerals, misprinted like the title */
:root[data-style="maximalism"] .fan-num {
  font-family: var(--s-display); font-weight: 700; font-size: 1.9rem; line-height: 1;
  color: var(--mx-y); opacity: 1; text-shadow: -2px -1px 0 var(--mx-c), 2px 2px 0 var(--mx-m);
}

/* An item's own colour, set as type on the ink, lifted toward white so the
   darkest (Spider-Man 2's purple, the black suit) still read */
:root[data-style="maximalism"] :is(.fan-tiletext i, .fan-card .fan-sub, .fan-land-sub, .fan-shot figcaption b) { color: var(--mx-lift); opacity: 1; }
:where(:root[data-style="maximalism"]) :is(.fan-visit, .fan-hear) { color: color-mix(in srgb, var(--a, #e02a3a) 62%, #fff); }

/* screenshots and photographs: comic panels on the page, white gutters */
:where(:root[data-style="maximalism"]) .fan-shot { border: 2px solid var(--mx-white); border-radius: 2px; background: var(--mx-k); }
:root[data-style="maximalism"] .fan-shot figcaption { border-top: 2px solid var(--mx-white); }

/* ── each Spider-Man in his own medium ──
   The order is fan-spidey.js's: All Five Of Them (Tom, Tobey, Andrew,
   Insomniac's Peter, Miles) and The Spiders (Peter, Miles, Gwen, Miguel,
   Noir, Peni and Ham). A taller art strip, and the medium in it. */
:root[data-style="maximalism"] :is(#mine, #spiders) .fan-card { --mx-band: 3.3rem; }
/* Tom: Stark's tech, a red HUD grid with a gold sweep */
:root[data-style="maximalism"] #mine .fan-card:nth-child(1) {
  --mx-art: linear-gradient(112deg, transparent 58%, rgba(255, 194, 58, .7) 58% 59.5%, transparent 59.5% 63%, rgba(255, 194, 58, .4) 63% 63.8%, transparent 63.8%),
    repeating-linear-gradient(90deg, rgba(255, 70, 80, .5) 0 1px, transparent 1px 11px),
    repeating-linear-gradient(0deg, rgba(255, 70, 80, .5) 0 1px, transparent 1px 11px),
    linear-gradient(90deg, #3a0712, #170610);
}
/* Tobey: 2002 on 35mm, a strip of film with its sprocket holes */
:root[data-style="maximalism"] #mine .fan-card:nth-child(2) {
  --mx-art: repeating-linear-gradient(90deg, #efe0c0 0 7px, transparent 7px 15px) 0 5px / 100% 6px no-repeat,
    repeating-linear-gradient(90deg, #efe0c0 0 7px, transparent 7px 15px) 0 calc(var(--mx-band) - 9px) / 100% 6px no-repeat,
    repeating-linear-gradient(90deg, transparent 0 86px, #0a0610 86px 90px),
    linear-gradient(90deg, #4a2160, #8f4ac0 45%, #2e1240);
}
/* Andrew: the web-shooter on blueprint paper */
:root[data-style="maximalism"] #mine .fan-card:nth-child(3) {
  --mx-art: radial-gradient(circle at 84% 50%, transparent 13px, rgba(190, 228, 255, .9) 13px 14.5px, transparent 15px 22px, rgba(190, 228, 255, .6) 22px 23px, transparent 23.5px),
    repeating-linear-gradient(0deg, rgba(190, 228, 255, .5) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(90deg, rgba(190, 228, 255, .5) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(0deg, rgba(190, 228, 255, .16) 0 1px, transparent 1px 8px),
    repeating-linear-gradient(90deg, rgba(190, 228, 255, .16) 0 1px, transparent 1px 8px),
    linear-gradient(#174a86, #0d2e5c);
}
/* Insomniac's Peter: a game render, faceted, with its health bar */
:root[data-style="maximalism"] #mine .fan-card:nth-child(4) {
  --mx-art: linear-gradient(#fff, #fff) calc(100% - 14px) calc(var(--mx-band) - 14px) / 34% 5px no-repeat,
    linear-gradient(rgba(255, 255, 255, .25), rgba(255, 255, 255, .25)) calc(100% - 14px) calc(var(--mx-band) - 14px) / 46% 5px no-repeat,
    linear-gradient(118deg, transparent 0 34%, rgba(255, 255, 255, .12) 34% 48%, transparent 48%),
    linear-gradient(62deg, #3a1406 0 28%, #6a2608 28% 46%, #9a3c0e 46% 61%, #5a1e07 61% 80%, #2a0e05 80%);
}
/* Miles, in both sections: the film itself, spray paint and two halftone
   screens printed off each other */
:root[data-style="maximalism"] :is(#mine .fan-card:nth-child(5), #spiders .fan-card:nth-child(2)) {
  --mx-art: radial-gradient(circle, rgba(255, 225, 77, .9) 0 1.8px, transparent 2.3px) 0 0 / 8px 8px,
    radial-gradient(circle, rgba(236, 0, 140, .85) 0 1.8px, transparent 2.3px) 3px 3px / 8px 8px,
    radial-gradient(60% 120% at 22% 30%, #d0101e, transparent 70%),
    linear-gradient(90deg, #0a0608, #1a0610);
}
/* Peter, 1962: Ditko's Ben-Day dots on yellowed newsprint */
:root[data-style="maximalism"] #spiders .fan-card:nth-child(1) {
  --a: #e02a3a;
  --mx-art: linear-gradient(90deg, transparent 50%, #efe0b4 85%),
    radial-gradient(circle, #d6202e 0 1.9px, transparent 2.3px) 0 0 / 6px 6px,
    radial-gradient(circle, #2050b0 0 1.9px, transparent 2.3px) 3px 3px / 6px 6px,
    linear-gradient(#efe0b4, #efe0b4);
}
/* Gwen: Earth-65's watercolour, pink, teal and lilac blooms */
:root[data-style="maximalism"] #spiders .fan-card:nth-child(3) {
  --a: #f06aa8;
  --mx-art: radial-gradient(38% 95% at 14% 40%, rgba(247, 120, 180, .9), transparent 70%),
    radial-gradient(34% 85% at 52% 72%, rgba(70, 205, 205, .85), transparent 70%),
    radial-gradient(30% 80% at 86% 28%, rgba(165, 120, 240, .8), transparent 70%),
    linear-gradient(#f6f0f8, #e9e2f2);
}
/* Miguel: Nueva York in 2099, neon on a scanned screen */
:root[data-style="maximalism"] #spiders .fan-card:nth-child(4) {
  --a: #3a8cff;
  --mx-art: repeating-linear-gradient(0deg, rgba(0, 0, 0, .4) 0 1px, transparent 1px 3px),
    linear-gradient(transparent calc(100% - 9px), var(--mx-c) calc(100% - 9px) calc(100% - 7px), transparent calc(100% - 7px)),
    linear-gradient(100deg, #0a1a6a, #3a0a5e 58%, #c0102a);
}
/* Noir: no colour at all, cross-hatched; even his plates print grey */
:root[data-style="maximalism"] #spiders .fan-card:nth-child(5) {
  filter: grayscale(1);
  --mx-art: repeating-linear-gradient(45deg, rgba(255, 255, 255, .3) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, .18) 0 1px, transparent 1px 7px),
    linear-gradient(90deg, #3a3a3a, #0a0a0a);
}
/* Peni and Ham: anime screentone, and the cartoon's closing rings */
:root[data-style="maximalism"] #spiders .fan-card:nth-child(6) {
  --a: #ff5fa0;
  --mx-art: radial-gradient(circle, rgba(255, 95, 160, .55) 0 1.2px, transparent 1.6px) 0 0 / 5px 5px,
    linear-gradient(90deg, #ffe3ef 0 42%, transparent 64%),
    repeating-radial-gradient(circle at 92% 50%, #e8202e 0 7px, #ffd23a 7px 14px, #1f5fd0 14px 21px);
}

/* the symbiote's section drains its plates to bone and grey */
:root[data-style="maximalism"] body.is-symbiote .fan-sec[data-symbiote] .fan-card::before { border-color: #e8e8f0; }
:root[data-style="maximalism"] body.is-symbiote .fan-sec[data-symbiote] .fan-card::after { border-color: #6a6a74; }

/* ── 3. the Daily Bugle: the same print run, on newsprint ───────────────────
   Its own red is the ring on paper; on the ink strip across the top the
   ring is the caption yellow. */
:root[data-style="maximalism"] .db { --s-focus: #b3121c; }
:root[data-style="maximalism"] .db-top { --s-focus: var(--mx-y); }
:root[data-style="maximalism"] .db-top .db-exit:focus-visible { outline-color: var(--s-focus); }

/* the ink strip, its cyan and magenta plates printed a rule low, and the
   halftone the ink leaves on the paper under it */
:root[data-style="maximalism"] .db-top { box-shadow: 0 3px 0 var(--mx-c), 0 6px 0 var(--mx-m); }
:root[data-style="maximalism"] .db-top::after {
  content: ""; position: absolute; left: 0; right: 0; top: calc(100% + 6px); height: 16px; pointer-events: none;
  background: radial-gradient(circle, rgba(23, 20, 18, .55) 0 1.4px, transparent 1.9px) 0 0 / 6px 6px;
  -webkit-mask-image: linear-gradient(#000, transparent); mask-image: linear-gradient(#000, transparent);
}

/* the nameplate, its plates slipped like the world page's title */
:root[data-style="maximalism"] .db-title {
  text-shadow: -0.03em -0.012em 0 rgba(0, 174, 239, .85), 0.03em 0.018em 0 rgba(236, 0, 140, .8), 0 0 1px rgba(23, 20, 18, .5);
}
/* the ears: two caption boxes either side of it */
:root[data-style="maximalism"] .db-ear { background: var(--mx-y); border: 1px solid #171412; box-shadow: var(--mx-slip-sm); }
/* the heavy rules carry a magenta ghost, the plate a hair out */
:root[data-style="maximalism"] .db-dateline { box-shadow: 0 3px 0 -2px var(--ink), 0 -6px 0 -3px rgba(236, 0, 140, .55); }
:root[data-style="maximalism"] .db-h { box-shadow: 0 3px 0 -1px rgba(0, 174, 239, .55); }

/* The lead photo, run in colour at last: a Spider-Verse dusk over Queens,
   three halftone screens (cyan, magenta, yellow) at three offsets, the
   whole picture a plate out, and a spider sticker slapped on its corner.
   Pointing at the lead story knocks the screens off the drawing. */
:root[data-style="maximalism"] .db-photo svg { filter: saturate(1.15) drop-shadow(-3px -2px 0 rgba(0, 174, 239, .75)) drop-shadow(3px 2px 0 rgba(236, 0, 140, .7)); }
:root[data-style="maximalism"] .db-photo stop:first-child { stop-color: #3a1a72; }
:root[data-style="maximalism"] .db-photo stop:last-child { stop-color: #ff6a74; }
:root[data-style="maximalism"] .db-photo svg > circle { fill: var(--mx-y); opacity: .9; }
:root[data-style="maximalism"] .db-ph-far path { fill: #7a2a9a; }
:root[data-style="maximalism"] .db-ph-near path { fill: #150f2e; }
:root[data-style="maximalism"] .db-ph-guy circle { fill: #e01f2d; }
:root[data-style="maximalism"] .db-ph-limb { stroke: #e01f2d; }
:root[data-style="maximalism"] .db-photo::after {
  background:
    radial-gradient(circle, rgba(0, 174, 239, .4) 0 0.9px, transparent 1.4px) 0 0 / 5px 5px,
    radial-gradient(circle, rgba(236, 0, 140, .35) 0 0.9px, transparent 1.4px) 2px 1px / 5px 5px,
    radial-gradient(circle, rgba(255, 210, 0, .45) 0 0.9px, transparent 1.4px) 1px 3px / 5px 5px;
}
:root[data-style="maximalism"] .db-photo::before,
:root[data-style="maximalism"] .db-card-photo::after {
  content: ""; position: absolute; z-index: 3; pointer-events: none;
  width: 52px; height: 52px; border-radius: 50%; rotate: -12deg;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg fill='%23140f22'%3E%3Cellipse cx='20' cy='15' rx='3.2' ry='4'/%3E%3Cellipse cx='20' cy='24' rx='4.4' ry='6.4'/%3E%3C/g%3E%3Cg fill='none' stroke='%23140f22' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M17 14 11 8 9 2M23 14l6-6 2-6M16 19l-8-2-5 3M24 19l8-2 5 3M16 24l-7 5-2 7M24 24l7 5 2 7M17 28l-4 6M23 28l4 6'/%3E%3C/g%3E%3C/svg%3E") 50% 50% / 64% no-repeat, var(--mx-y);
  box-shadow: 0 0 0 3px #fff, 2px 4px 0 3px rgba(23, 20, 18, .35);
}
:root[data-style="maximalism"] .db-photo::before { top: -12px; left: -12px; }
:root[data-style="maximalism"] .db-card-photo { position: relative; }
:root[data-style="maximalism"] .db-card-photo::after { width: 34px; height: 34px; left: -13px; bottom: -14px; rotate: 14deg; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  :root[data-style="maximalism"] .db-st--lead .db-story:hover .db-photo::after { animation: mx-knock-c .52s steps(1, end); }
}

/* the press card: the red band screened, and its word printed a plate out */
:root[data-style="maximalism"] .db-card-band {
  background: radial-gradient(circle, rgba(60, 0, 8, .4) 0 1.3px, transparent 1.8px) 0 0 / 6px 6px, var(--red);
}
:root[data-style="maximalism"] .db-card-band b { text-shadow: -2px -1px 0 rgba(0, 174, 239, .8), 2px 1px 0 rgba(236, 0, 140, .8); }

/* the Special Report, which leads to the world page: its red box printed
   with the slip, and the world page's plates on it */
:root[data-style="maximalism"] .db-st--special .db-story { box-shadow: -3px -3px 0 rgba(0, 174, 239, .7), 3px 3px 0 rgba(236, 0, 140, .6); }
:root[data-style="maximalism"] .db-st--special .db-story::before,
:root[data-style="maximalism"] .db-st--special .db-story::after { inset: -2px; }

/* stop the presses: the red shadow becomes the two plates */
:root[data-style="maximalism"] .db-stop { box-shadow: -4px -3px 0 var(--mx-c), 5px 4px 0 var(--mx-m); }
:root[data-style="maximalism"] .db-stop::before,
:root[data-style="maximalism"] .db-stop::after { inset: -3px; border-width: 3px; }

/* the extra edition comes off the press the same way */
:root[data-style="maximalism"] .db-extra { box-shadow: -6px -4px 0 var(--mx-c), 6px 5px 0 var(--mx-m), 0 30px 80px rgba(0, 0, 0, .6); }

/* The world button: a sticker of the comics yellow, slapped on at a slant
   with a die-cut white edge and the two plates, the Bugle's red on it.
   Same box as before (a box-shadow is not layout), so the header holds. */
:root[data-style="maximalism"] .db .iw {
  --iw-a: #b3121c; --iw-on: #14100a;
  border-color: #14100a; border-radius: 6px; background: var(--mx-y);
  box-shadow: 0 0 0 3px #fff, -5px -4px 0 3px var(--mx-c), 5px 4px 0 3px var(--mx-m);
  rotate: -1.5deg;
}
:root[data-style="maximalism"] .db .iw--foot { margin-top: 1.1rem; rotate: -1deg; }
:root[data-style="maximalism"] .db .iw-k { opacity: 1; }
:root[data-style="maximalism"] .db .iw-i { background: #14100a; color: var(--mx-y); }
:root[data-style="maximalism"] .db .iw:focus-visible { outline-color: var(--s-focus); outline-offset: 5px; }

/* The printer's furniture in the margins, where a wide screen has them:
   registration targets at the corners and a colour bar down the right
   edge. Never on a phone or a tablet, where there is no margin to print in. */
@media (min-width: 1360px) {
  :root[data-style="maximalism"] .db-field::before,
  :root[data-style="maximalism"] .db-field::after { content: ""; position: absolute; pointer-events: none; }
  :root[data-style="maximalism"] .db-field::before {
    inset: 92px 18px 18px;
    background:
      radial-gradient(circle, transparent 7px, rgba(23, 20, 18, .55) 7px 8.2px, transparent 8.6px) 0 0 / 26px 26px no-repeat,
      radial-gradient(circle, transparent 7px, rgba(23, 20, 18, .55) 7px 8.2px, transparent 8.6px) 100% 0 / 26px 26px no-repeat,
      radial-gradient(circle, transparent 7px, rgba(23, 20, 18, .55) 7px 8.2px, transparent 8.6px) 0 100% / 26px 26px no-repeat,
      radial-gradient(circle, transparent 7px, rgba(23, 20, 18, .55) 7px 8.2px, transparent 8.6px) 100% 100% / 26px 26px no-repeat,
      linear-gradient(rgba(23, 20, 18, .55), rgba(23, 20, 18, .55)) 12px 0 / 1.2px 26px no-repeat,
      linear-gradient(rgba(23, 20, 18, .55), rgba(23, 20, 18, .55)) 0 12px / 26px 1.2px no-repeat,
      linear-gradient(rgba(23, 20, 18, .55), rgba(23, 20, 18, .55)) calc(100% - 12px) 0 / 1.2px 26px no-repeat,
      linear-gradient(rgba(23, 20, 18, .55), rgba(23, 20, 18, .55)) 100% 12px / 26px 1.2px no-repeat,
      linear-gradient(rgba(23, 20, 18, .55), rgba(23, 20, 18, .55)) 12px 100% / 1.2px 26px no-repeat,
      linear-gradient(rgba(23, 20, 18, .55), rgba(23, 20, 18, .55)) 0 calc(100% - 12px) / 26px 1.2px no-repeat,
      linear-gradient(rgba(23, 20, 18, .55), rgba(23, 20, 18, .55)) calc(100% - 12px) 100% / 1.2px 26px no-repeat,
      linear-gradient(rgba(23, 20, 18, .55), rgba(23, 20, 18, .55)) 100% calc(100% - 12px) / 26px 1.2px no-repeat;
  }
  :root[data-style="maximalism"] .db-field::after {
    right: 26px; top: 50%; translate: 0 -50%; width: 14px; height: 196px;
    background: linear-gradient(var(--mx-c) 0 12.5%, color-mix(in srgb, var(--mx-c) 45%, #f2ecdc) 0 25%,
      var(--mx-m) 0 37.5%, color-mix(in srgb, var(--mx-m) 45%, #f2ecdc) 0 50%,
      #ffe600 0 62.5%, color-mix(in srgb, #ffe600 45%, #f2ecdc) 0 75%,
      #171412 0 87.5%, color-mix(in srgb, #171412 45%, #f2ecdc) 0);
    box-shadow: 0 0 0 1px rgba(23, 20, 18, .5);
  }
}

/* the Daily Bugle preview card is newsprint: its bar label in the rows' red */
:root[data-style="maximalism"] .fan-peek-k { color: #b3121c; }
