/* Pop Art, for /worlds/justice-league/ and /watchtower/ (style: pop-art).

   The League first appeared in 1960, printed in Ben-Day dots on newsprint:
   the comics Lichtenstein later painted from. So this is a night-time
   Silver Age comic page, and one style held strictly. Four process inks and
   the paper they sit on: black keylines, flat yellow, red and blue, the
   dark of the night made of blue and black, and Ben-Day dots wherever a
   colourist would screen a tint. Captions sit in boxes, the quote speaks in
   a balloon, and every panel is set on one grid whose gutters are the
   paper itself. Nothing is soft, nothing is offset, nothing is out of
   register: Spider-Man's page (Maximalism) is many styles at once with the
   plates slipping; this one is the single print run they slipped from.

   The signature: each member's card is printed as one comic panel, in his
   own colour, with a band of dots across its top where the art would be.
   The Watchtower keeps its monitor duty, its roll call and its signal, and
   is printed in the same four inks: the roll call is the same panels, the
   monitors are panels with a dot screen where the scanlines were, and the
   signal goes up as a starburst.

   One file for the pair, in three parts: what both share (the inks, the
   panel, the lettering); the world page; and the Watchtower. The spec:
   docs/superpowers/specs/2026-10-11-page-styles-design.md, section 9,
   "Justice League: Pop Art".

   Everything here is scoped to :root[data-style="pop-art"], so this file
   does nothing on a page that is not wearing it. Where the page's own
   comic rules (body[data-fan="jl"] in fanpages.css, the Watchtower's own
   sheet) are more specific, the full prefix out-weighs them on purpose. */

/* ── 1. shared: four inks, the paper, the panel, the lettering ─────────── */
:root[data-style="pop-art"] {
  --pa-key: #08090c;                /* the black plate */
  --pa-paper: #f5eedb;              /* newsprint: gutters and balloons */
  --pa-yellow: #ffcb2b;             /* process yellow: captions, lettering */
  --pa-red: #e2231a;                /* process red: the lettering's block */
  --pa-night: #070c22;              /* blue and black, overprinted */
  /* half a gutter: every panel carries its share of the paper as its own
     border, so panels set edge to edge leave one even gutter between them */
  --pa-gut: 5px;
  --pa-dot: 7px;                    /* the Ben-Day screen's pitch */
  --pa-letter:
    1px 1px 0 var(--pa-red), 2px 2px 0 var(--pa-red), 3px 3px 0 var(--pa-red),
    4px 4px 0 var(--pa-red), 5px 5px 0 var(--pa-red), 6px 6px 0 var(--pa-key), 7px 7px 0 var(--pa-key);

  /* the world page's ground and inks: the night, with the quieter inks
     lifted so they hold 4.5:1 on a member's tinted panel as well */
  --bg: var(--pa-night);
  --bg-2: #0b1230;
  --ink-dim: #bcbac4;
  --mute: #a3a2ae;

  /* the shared components read these (base.css) */
  --s-surface: #0b1230;
  --s-surface-hi: #111b44;
  --s-edge: var(--pa-key);
  --s-r: 0px;
  --s-r-sm: 0px;
  --s-shadow: none;
  --s-shadow-hi: none;
  --s-lift: 0px;                    /* print holds still */
  --s-display: "Bebas Neue", "Barlow Condensed", var(--sans, system-ui), sans-serif;
  --s-display-w: 400;
  --s-display-ls: 0.02em;
  --s-focus: var(--pa-yellow);

  /* the bars: solid black plate, squared, edged in paper */
  --s-bar: #04060f;
  --s-bar-edge: var(--pa-paper);
  --s-bar-r: 0px;
  --s-bar-blur: none;
  --s-bar-shadow: 0 0 0 3px var(--pa-key);

  /* print has no film grain, no vignette, no circuits and no lattice: the
     dots replace all of them */
  --s-grain: 0;
  --s-vignette: 0;
  --s-field: 0;
  --hud-grid: transparent;
  --hud-scan: transparent;
  --hud-sweep: transparent;
  --hud-lit: transparent;
  --hud-halo: transparent;
}
@media (prefers-contrast: more) {
  :root[data-style="pop-art"] {
    --pa-night: #03050f; --bg-2: #070b1c;
    --ink-dim: #d2d0d8; --mute: #b6b5c0; --line: #464a5c;
  }
}

/* The panel. Paper border (half the gutter), a black keyline inside it,
   and the panel's own ink: its member's colour overprinted on the night,
   with a band of his colour in dots across the top, cut on a slant, where
   a colourist would put the sky. The text sits on the flat ink under it.
   --a is the item's own, so this resolves on each panel, never on :root. */
:root[data-style="pop-art"] :is(.fan-card, .fan-tile, .fan-land, .fan-linkcard, .fp-out, .wt-member, .wt-s-in, .wt-panel) {
  --pa-ink: color-mix(in srgb, var(--m, var(--a, #5f9fe0)) 17%, var(--pa-night));
  border: var(--pa-gut) solid var(--pa-paper); border-radius: 0;
  box-shadow: inset 0 0 0 3px var(--pa-key);
  background:
    linear-gradient(var(--pa-cut, 172deg), transparent 0 var(--pa-band, 4.4rem), var(--pa-ink) 0),
    radial-gradient(circle, color-mix(in srgb, var(--m, var(--a, #5f9fe0)) var(--pa-mix, 60%), var(--pa-night)) 1.7px, transparent 2.2px) 0 0 / var(--pa-dot) var(--pa-dot),
    var(--pa-ink);
  background-clip: padding-box;
}
/* fanpages.css gives this page's cards an offset shadow and a nudge on
   :hover, ungated, so a tapped card kept them on a phone; print holds
   still, so the panel outweighs that rule (and the reveal's slide) */
:root[data-style="pop-art"] body[data-fan] :is(.fan-card, .fan-tile, .fan-land, .fan-linkcard) {
  box-shadow: inset 0 0 0 3px var(--pa-key); transform: none; transition: border-color .2s, opacity .6s;
}
@media (hover: hover) {
  :root[data-style="pop-art"] body[data-fan] :is(.fan-card, .fan-tile, .fan-land, .fan-linkcard):hover,
  :root[data-style="pop-art"] :is(.wt-member:hover, .wt-screen:hover .wt-s-in) { border-color: var(--pa-yellow); }
}

/* the cover lettering: condensed capitals in flat yellow, inked, with a
   red block under them and a black edge to the block */
:root[data-style="pop-art"] :is(.fan-title, .wt-title, .wt-done-t) {
  font-family: var(--s-display); font-weight: 400; letter-spacing: 0.02em; text-transform: uppercase;
  background: none; -webkit-background-clip: border-box; background-clip: border-box;
  color: var(--pa-yellow);
  -webkit-text-stroke: 3px var(--pa-key); paint-order: stroke fill;
  text-shadow: var(--pa-letter);
  transform: skewX(-7deg); transform-origin: 0 100%;
}

/* captions: a yellow box, keyline, black capitals */
:root[data-style="pop-art"] :is(.subsec--fan, .jl-legend h2, .wt-h, .wsib-h, .fp-head :is(h2, h3)) {
  width: fit-content; max-width: 100%;
  padding: 0.74rem 0.9rem 0.64rem; column-gap: 0.9rem;
  background: var(--pa-yellow); color: var(--pa-key);
  border: 3px solid var(--pa-key);
  font-family: var(--s-display); font-weight: 400; font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  letter-spacing: 0.03em; line-height: 1.05; text-transform: uppercase;
  text-shadow: none; filter: none;
}
:root[data-style="pop-art"] :is(.subsec--fan .subsec-yr, .wt-h span) {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; color: var(--pa-key); text-shadow: none;
}
:root[data-style="pop-art"] .subsec--fan::after { content: none; }
:root[data-style="pop-art"] .fan-fold-sum .subsec--fan { flex: 0 1 auto; }
:root[data-style="pop-art"] .fan-fold-n { margin-left: auto; }

/* ── 2. the world page: a comic page at night ───────────────────────────── */

/* No page-wide accent: every panel sets its own --a. The tab bar alone
   takes the caption yellow, and its current tab is a caption box. */
:root[data-style="pop-art"] .tabbar { --s-accent: var(--pa-yellow); }
:root[data-style="pop-art"] .tabbar :is(a.is-current, a.is-going) {
  background: var(--pa-yellow); color: var(--pa-key); box-shadow: inset 0 0 0 2px var(--pa-key);
}
:where(:root[data-style="pop-art"]) .footer { border-top-color: rgba(245, 238, 219, .3); }

/* The night sky, printed (the whole sky is capped at .36 by fanpages.css):
   flat process blue, a hard-edged field of dots across its upper half, the
   earth's curve a flat disc, the orbits dotted in yellow, the action stars
   filled and keylined, the city a black silhouette. No glow anywhere. */
:root[data-style="pop-art"] .jl-sky { background: #0b1d5c; }
:root[data-style="pop-art"] .jl-sky::before { background: #1f4fae; box-shadow: none; }
:root[data-style="pop-art"] .jl-aurora { background: none; }
:root[data-style="pop-art"] .jl-benday {
  background-image: radial-gradient(circle, #4a86ec 2px, transparent 2.6px); background-size: 10px 10px;
  -webkit-mask-image: linear-gradient(160deg, #000 0 48%, transparent 48%);
  mask-image: linear-gradient(160deg, #000 0 48%, transparent 48%);
}
:root[data-style="pop-art"] .jls-orbit { stroke: var(--pa-yellow); stroke-width: 5; stroke-dasharray: 0 15; stroke-linecap: round; opacity: .55; }
:root[data-style="pop-art"] .jls-node circle { stroke: var(--pa-key); stroke-width: 4; filter: none; }
/* The orbits' centre sits behind the reading column on every scroll (the
   sky is fixed), so it is printed as a ring in the orbits' own yellow, not
   a filled disc under the words. */
:root[data-style="pop-art"] .jls-hub { fill: none; stroke: var(--pa-yellow); stroke-width: 5; stroke-dasharray: 0 15; stroke-linecap: round; opacity: .55; filter: none; }
:root[data-style="pop-art"] .jls-hubring { stroke: var(--pa-paper); }
:root[data-style="pop-art"] .jlb-star { fill: var(--pa-yellow); stroke: var(--pa-key); stroke-width: 5; stroke-linejoin: miter; }
:root[data-style="pop-art"] .jlc-b { fill: var(--pa-key); }

/* the hero: the cover. The title is the logo; the issue line is the box in
   the cover's corner; the three links speak in balloons. */
:root[data-style="pop-art"] .fan-title { font-size: clamp(3.1rem, 9vw, 6rem); line-height: 0.9; padding-bottom: 0.08em; }
:root[data-style="pop-art"] .fan-kicker > span {
  padding: 0.3rem 0.6rem 0.26rem; background: var(--pa-key); color: var(--pa-yellow);
  border: 2px solid var(--pa-paper);
}
:where(:root[data-style="pop-art"]) .fan-link {
  position: relative; margin-bottom: 9px;
  background: var(--pa-paper); color: var(--pa-key);
  border: 1px solid var(--pa-paper); border-radius: 999px;
  box-shadow: inset 0 0 0 2px var(--pa-key);
}
/* the tail: a black wedge, and a paper one inside it that opens the keyline */
:where(:root[data-style="pop-art"]) .fan-link::before,
:where(:root[data-style="pop-art"]) .fan-link::after {
  content: ""; position: absolute; left: 1.15rem; top: calc(100% - 2px);
  width: 16px; height: 13px; clip-path: polygon(0 0, 100% 0, 0 100%);
  background: var(--pa-key);
}
:where(:root[data-style="pop-art"]) .fan-link::after { left: calc(1.15rem + 2px); top: calc(100% - 3px); width: 10px; height: 9px; background: var(--pa-paper); }
@media (hover: hover) {
  :root[data-style="pop-art"] .fan-link:hover { color: var(--pa-key); background: var(--pa-yellow); border-color: var(--pa-yellow); transform: none; }
  :root[data-style="pop-art"] .fan-link:hover::after { background: var(--pa-yellow); }
}

/* the door to the Watchtower: a caption, the kind that says where the
   story continues */
:root[data-style="pop-art"] .fan-iface {
  background: var(--pa-yellow); color: var(--pa-key); border: 3px solid var(--pa-key);
}
:root[data-style="pop-art"] :is(.fan-iface-k, .fan-iface b) { color: var(--pa-key); }
:root[data-style="pop-art"] .fan-iface-a { border-radius: 0; border: 0; background: var(--pa-key); color: var(--pa-yellow); }
@media (hover: hover) {
  :root[data-style="pop-art"] .fan-iface:hover { background: var(--pa-paper); border-color: var(--pa-key); transform: none; }
}

/* ── the signature: each member printed as one comic panel ──
   Square, keylined, the paper gutter shared with the panel beside it (the
   grids lose their gaps, so every section is one page of panels), his
   colour in the panel's ink and its dots, his name lettered in the cover
   face, and his tag a flash of flat colour printed over the art. */
:root[data-style="pop-art"] :is(.fan-cards, .fan-tiles, .fan-lands, .fan-linkgrid) { column-gap: 0; --rowgap: 0px; }
:root[data-style="pop-art"] .fan-card { --pa-cut: 188deg; --pa-band: 5.4rem; padding: 1.25rem 1.3rem 1.2rem; }
:root[data-style="pop-art"] .fan-card :is(h2, h3, h4, h5) {
  font-family: var(--s-display); font-weight: 400; font-size: 1.62rem; line-height: 1;
  letter-spacing: 0.03em; color: var(--pa-paper);
}
/* titles that sit over a panel's dots are inked round, the way a letterer
   inks a title over a drawing, so no member's colour can crowd them */
:root[data-style="pop-art"] :is(.fan-card :is(h2, h3, h4, h5), .fan-tiletext b, .fan-land-head :is(h2, h3, h4, h5), .fan-linkhead b, .wt-member b, .wt-n) {
  -webkit-text-stroke: 4px var(--pa-key); paint-order: stroke fill;
}
/* the reading inside a panel is tinted from the panel's own colour, never
   a neutral grey on a coloured ground */
:root[data-style="pop-art"] :is(.fan-card p, .fan-tiletext em, .fan-land-desc, .fan-linkcard p, .fan-100-l) { color: color-mix(in srgb, var(--a) 20%, #dad8e0); }
:root[data-style="pop-art"] :is(.fan-card .fan-meta, .fan-linkhost, .fan-land-count, .fan-ride i) { color: color-mix(in srgb, var(--a) 24%, #aeadb8); }
@media (hover: hover) {
  :root[data-style="pop-art"] .fan-card:hover :is(h2, h3, h4, h5) { color: var(--pa-yellow); }
}
:root[data-style="pop-art"] .fan-tag {
  justify-self: start; background: var(--a, #5f9fe0); color: var(--pa-key); font-weight: 500;
  border: 2px solid var(--pa-key); border-radius: 0; box-shadow: none;
}
/* an item's own colour on the night ink, lifted toward the paper */
:root[data-style="pop-art"] :is(.fan-tiletext i, .fan-card .fan-sub, .fan-land-sub) { color: color-mix(in srgb, var(--a) 72%, #fff); opacity: 1; }
:where(:root[data-style="pop-art"]) :is(.fan-visit, .fan-hear) { color: color-mix(in srgb, var(--a) 72%, #fff); }

/* the smaller panels: tiles, the works, the links */
:root[data-style="pop-art"] .fan-tile { --pa-band: 2.4rem; --pa-mix: 44%; }
:root[data-style="pop-art"] .fan-tiles--compact .fan-tile { --pa-band: 1.9rem; }
:root[data-style="pop-art"] .fan-linkcard { --pa-band: 1.7rem; }
:root[data-style="pop-art"] :is(.fan-tiletext b, .fan-land-head :is(h2, h3, h4, h5), .fan-linkhead b) {
  font-family: var(--s-display); font-weight: 400; font-size: 1.2rem; line-height: 1.05; letter-spacing: 0.03em;
}
:root[data-style="pop-art"] .fan-swatch { border-radius: 0; border: 2px solid var(--pa-key); box-shadow: none; }
:root[data-style="pop-art"] .fan-tile.is-done .fan-swatch { box-shadow: 0 0 0 2px #5fd0a0; }
:root[data-style="pop-art"] .fan-land-bar { inset: 3px 3px auto; height: 6px; background: var(--a); opacity: 1; }
:where(:root[data-style="pop-art"]) .fan-tileshot { border: 2px solid var(--pa-key); border-radius: 0; }
:where(:root[data-style="pop-art"]) .fan-chips > * { border-radius: 0; }
:where(:root[data-style="pop-art"]) .fan-proj { border-color: rgba(245, 238, 219, .4); }
:where(:root[data-style="pop-art"]) .fan-hear { border: 2px solid currentColor; border-radius: 0; background: none; }
:where(:root[data-style="pop-art"]) .fan-hear.is-playing { background: var(--a); color: var(--pa-key); border-color: var(--pa-key); }
:where(:root[data-style="pop-art"]) .fan-visit { border-bottom: 2px solid currentColor; }

/* group heads in the music: the series' colour, ruled with a row of dots */
:where(:root[data-style="pop-art"]) .fan-grouphead { color: color-mix(in srgb, var(--a) 72%, #fff); }
:where(:root[data-style="pop-art"]) .fan-grouphead::after {
  height: 6px; background: radial-gradient(circle, currentColor 1.6px, transparent 2.1px) 0 50% / 7px 6px repeat-x;
}

/* sort and view switches: squared, edged in paper; the one that is on is
   a caption */
:where(:root[data-style="pop-art"]) .fan-sortbtn {
  border: 2px solid rgba(245, 238, 219, .5); border-radius: 0; background: var(--pa-night); color: var(--ink-dim);
}
:where(:root[data-style="pop-art"]) .fan-sortbtn.is-on { background: var(--pa-yellow); border-color: var(--pa-yellow); color: var(--pa-key); }
:where(:root[data-style="pop-art"]) .fan-tally { border-radius: 0; }
/* a score in its game's own colour; the darker ones (LEGO's blue) lifted */
:where(:root[data-style="pop-art"]) :is(.fan-rate-v, .fan-tally--rate b) { color: color-mix(in srgb, var(--a) 55%, #fff); }

/* the first-watched note is the opening caption */
:root[data-style="pop-art"] .fan-intro-when {
  max-width: 46rem; background: var(--pa-yellow); border: 3px solid var(--pa-key); border-radius: 0;
}
:root[data-style="pop-art"] :is(.fan-when-k, .fan-intro-when b, .fan-when-n) { color: var(--pa-key); }

/* the pick: a strip of small panels on the paper, the chosen one printed
   solid in its colour, and the readout a panel under it. On the paper the
   ring is the black plate. */
:where(:root[data-style="pop-art"]) .fp-bar {
  --s-focus: var(--pa-key);
  width: fit-content; max-width: 100%;
  gap: 6px; padding: 6px; background: var(--pa-paper); border: 3px solid var(--pa-key); border-radius: 0;
}
:root[data-style="pop-art"] .fp-slot { background: var(--pa-night); color: var(--pa-paper); border: 2px solid var(--pa-key); box-shadow: none; }
:root[data-style="pop-art"] .fp-slot u { color: rgba(245, 238, 219, .7); }
:root[data-style="pop-art"] .fp-slot.is-sel { background: var(--c); color: var(--pa-key); border-color: var(--pa-key); box-shadow: none; }
:root[data-style="pop-art"] .fp-slot.is-sel svg { stroke: var(--pa-key); }
:root[data-style="pop-art"] .fp-slot.is-sel u { color: var(--pa-key); }
@media (hover: hover) {
  :root[data-style="pop-art"] .fp-slot:hover { border-color: var(--pa-key); transform: none; }
}
:root[data-style="pop-art"] .fp-out { --pa-band: 0rem; padding: 1rem 1.2rem; }
/* the pick's heading is a caption box like the section heads; it needs
   the same air under it before the reading starts */
:root[data-style="pop-art"] .fp-head :is(h2, h3) { margin-bottom: 0.9rem; }

/* the emblems: a panel of flat colour discs, each mark in the black
   plate, and the caption under them in a box */
:root[data-style="pop-art"] .fan-art--jl .jl-stage {
  border: var(--pa-gut) solid var(--pa-paper); border-radius: 0;
  box-shadow: inset 0 0 0 3px var(--pa-key);
  background: radial-gradient(circle, #1d3f9a 1.6px, transparent 2.1px) 0 0 / var(--pa-dot) var(--pa-dot), var(--pa-night);
}
:root[data-style="pop-art"] .jlh-disc { fill: var(--m); }
:root[data-style="pop-art"] .jlh-edge { stroke: var(--pa-key); stroke-width: 5; opacity: 1; }
:root[data-style="pop-art"] .jlh-mark { fill: var(--pa-key); }
:root[data-style="pop-art"] .jlh-mark [stroke] { stroke: var(--pa-key); }
:root[data-style="pop-art"] .jlh-let { fill: var(--m); }
:root[data-style="pop-art"] .fan-art--jl .jl-stage figcaption {
  margin: 0 1rem 1rem; padding: 0.5rem 0.7rem;
  background: var(--pa-yellow); border: 2px solid var(--pa-key); color: var(--pa-key);
}

/* the quote speaks: a paper balloon with a tail, lettered in capitals the
   way comics are, and its source the caption under it */
:root[data-style="pop-art"] .fan-art-body q {
  position: relative; display: block; quotes: none; margin-bottom: 0.9rem;
  padding: 1.15rem 2.3rem 1.2rem;
  background: var(--pa-paper); color: var(--pa-key);
  border: 3px solid var(--pa-key); border-radius: 999px;
  font-family: var(--s-display); font-style: normal; font-weight: 400;
  font-size: clamp(1.3rem, 2.3vw, 1.65rem); line-height: 1.12; letter-spacing: 0.03em;
}
:root[data-style="pop-art"] .fan-art-body q::before,
:root[data-style="pop-art"] .fan-art-body q::after {
  content: ""; position: absolute; left: 3.2rem; top: 100%;
  width: 26px; height: 22px; background: var(--pa-key);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
:root[data-style="pop-art"] .fan-art-body q::after { left: calc(3.2rem + 3px); top: calc(100% - 3px); width: 18px; height: 17px; background: var(--pa-paper); }
:root[data-style="pop-art"] .fan-art-by {
  align-self: flex-start; padding: 0.3rem 0.6rem;
  background: var(--pa-yellow); border: 2px solid var(--pa-key); color: var(--pa-key);
}

/* the table: the seven seats as flat discs of their colours, keylined,
   named in black; the Watchtower at the centre a caption disc */
:root[data-style="pop-art"] .jl-table > i { border: 3px solid var(--pa-paper); }
:root[data-style="pop-art"] .jl-table > i::after { border: 2px dashed rgba(255, 203, 43, .6); }
:root[data-style="pop-art"] .jl-seat { background: var(--m); border: 3px solid var(--pa-key); box-shadow: none; }
:root[data-style="pop-art"] .jl-seat b { font-family: var(--s-display); font-weight: 400; font-size: 1.05rem; letter-spacing: 0.03em; color: var(--pa-key); }
:root[data-style="pop-art"] .jl-seat span { color: var(--pa-key); }
:root[data-style="pop-art"] .jl-core { background: var(--pa-yellow); border: 3px solid var(--pa-key); }
:root[data-style="pop-art"] .jl-core b { font-family: var(--s-display); font-weight: 400; font-size: 1.15rem; letter-spacing: 0.06em; color: var(--pa-key); }

/* the rest of the rank: names on small night panels */
:where(:root[data-style="pop-art"]) .wsib { border-top-color: rgba(245, 238, 219, .3); }
/* its head is a caption too; only the rank's name takes the cover face */
:root[data-style="pop-art"] h2.wsib-h { align-items: baseline; font-family: var(--sans); }
:root[data-style="pop-art"] .wsib-h b { font-family: var(--s-display); font-weight: 400; font-size: inherit; letter-spacing: 0.03em; color: var(--pa-key); }
:root[data-style="pop-art"] :is(.wsib-k, .wsib-note) { color: var(--pa-key); }
:where(:root[data-style="pop-art"]) .wsib-i a { border: 2px solid rgba(245, 238, 219, .55); border-radius: 0; background: var(--pa-night); }
@media (hover: hover) {
  :where(:root[data-style="pop-art"]) .wsib-i a:hover { background: var(--pa-yellow); border-color: var(--pa-yellow); color: var(--pa-key); transform: none; }
  :where(:root[data-style="pop-art"]) .wsib-i a:hover .wsib-a { color: var(--pa-key); }
}

/* ── 3. the Watchtower: monitor duty, in the same print ──────────────────
   It keeps everything it does (the clock, the status light, the big
   board, the roll call, the teleporter, the signal and its answer) and
   its own faces. Its glass, earth and panels are printed: dots for glow,
   keylines for edges, flat inks for light. */
:root[data-style="pop-art"] .wt { --line: rgba(245, 238, 219, .28); --mute: #a0b1c5; }

/* the view: the earth a flat blue disc ringed in black and cyan, its day
   side screened in dots, and a dot screen on the glass where the grid was */
:root[data-style="pop-art"] .wt-earth {
  background:
    radial-gradient(118% 76% at 50% 115%, #173a85 0 56%, var(--pa-key) 56% 57.2%, #3fb3e8 57.2% 59%, transparent 59%);
}
:root[data-style="pop-art"] .wt-term {
  background: radial-gradient(circle, #8fd0ff 1.6px, transparent 2.1px) 0 0 / 8px 8px;
  -webkit-mask-image: radial-gradient(90% 70% at 22% 115%, #000 60%, transparent 60%), radial-gradient(118% 76% at 50% 115%, #000 56%, transparent 56%);
  -webkit-mask-composite: source-in;
  mask-image: radial-gradient(90% 70% at 22% 115%, #000 60%, transparent 60%), radial-gradient(118% 76% at 50% 115%, #000 56%, transparent 56%);
  mask-composite: intersect;
}
:root[data-style="pop-art"] .wt-glass {
  background-image: radial-gradient(circle, rgba(95, 159, 224, .16) 1.2px, transparent 1.7px);
  background-size: 9px 9px;
}

/* the header: the black plate across the top, ruled in paper (its box is
   untouched; only its material changes) */
:root[data-style="pop-art"] .wt-top {
  background: #04060f; border-bottom-color: var(--pa-paper);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
:root[data-style="pop-art"] .wt-exit { background: var(--pa-paper); color: var(--pa-key); border-color: var(--pa-paper); box-shadow: inset 0 0 0 2px var(--pa-key); }
:root[data-style="pop-art"] .wt-stat i { box-shadow: 0 0 0 2px var(--pa-key); }
:root[data-style="pop-art"] .wt-stat.is-alert i { box-shadow: 0 0 0 2px var(--pa-key); }

/* the world button: a caption box in the pair's yellow */
:root[data-style="pop-art"] .wt .iw {
  --iw-a: var(--pa-yellow);
  border-radius: 0; border-color: var(--pa-yellow); background: var(--pa-yellow); color: var(--pa-key);
  box-shadow: inset 0 0 0 2px var(--pa-key); transform: none;
}
:root[data-style="pop-art"] .wt .iw-i { border-radius: 0; background: var(--pa-key); color: var(--pa-yellow); }
:root[data-style="pop-art"] .wt :is(.iw-k, .iw-a) { opacity: 1; color: var(--pa-key); }
:root[data-style="pop-art"] .wt .iw-t b { color: var(--pa-key); }
@media (hover: hover) {
  :root[data-style="pop-art"] :is(.wt .iw, .wt-exit):hover { background: var(--pa-paper); border-color: var(--pa-paper); color: var(--pa-key); }
}

/* the hero: the same cover lettering, and the issue line in its box */
:root[data-style="pop-art"] .wt-title { text-shadow: var(--pa-letter); margin-bottom: 1rem; }
:root[data-style="pop-art"] .wt-kicker {
  width: fit-content; padding: 0.3rem 0.6rem 0.26rem; background: var(--pa-key); color: var(--pa-yellow);
  border: 2px solid var(--pa-paper);
}
:root[data-style="pop-art"] .wt-hero-meta > dl > div { border-bottom: 2px dotted rgba(245, 238, 219, .3); }

/* the roll call: the world page's member panels, one to a member */
:root[data-style="pop-art"] .wt-roll { gap: 0; }
:root[data-style="pop-art"] .wt-member { --pa-band: 3.6rem; transform: none; }
:root[data-style="pop-art"] .wt-m-disc { background: var(--m); border: 3px solid var(--pa-key); color: var(--pa-key); }
:root[data-style="pop-art"] .wt-m-disc svg { stroke-width: 3.4; }

/* the big board: every monitor a panel; the scanlines become the dot
   screen a printer uses for a lit screen, in the channel's colour, behind
   the words; the channel number a caption in the corner */
:root[data-style="pop-art"] .wt-screens { gap: 0; }
:root[data-style="pop-art"] .wt-s-in { --pa-band: 0rem; border-color: var(--pa-paper); isolation: isolate; }
:root[data-style="pop-art"] .wt-s-in::after {
  z-index: -1;
  background: radial-gradient(circle, color-mix(in srgb, var(--m) 62%, var(--pa-night)) 1.6px, transparent 2.1px) 0 0 / var(--pa-dot) var(--pa-dot);
  -webkit-mask-image: linear-gradient(188deg, #000 0 3.6rem, transparent 3.6rem);
  mask-image: linear-gradient(188deg, #000 0 3.6rem, transparent 3.6rem);
}
:root[data-style="pop-art"] .wt-k { padding: 0.18rem 0.42rem 0.12rem; background: var(--pa-yellow); color: var(--pa-key); border: 2px solid var(--pa-key); }
:root[data-style="pop-art"] .wt-screen--calm .wt-k { color: var(--pa-key); }
:root[data-style="pop-art"] .wt-live { width: 9px; height: 9px; box-shadow: 0 0 0 2px var(--pa-key); }
:root[data-style="pop-art"] .wt-ico { stroke-width: 2.4; }
:root[data-style="pop-art"] .wt-screen--own .wt-s-in { --pa-ink: color-mix(in srgb, var(--m) 25%, var(--pa-night)); }

/* the teleporter: one big panel, its pads small ones edged in their own
   terminal's colour, each pad a flat ring seen from above */
:root[data-style="pop-art"] .wt-panel { --pa-band: 3.4rem; --pa-cut: 178deg; }
:root[data-style="pop-art"] .wt-pads { gap: 0; }
:root[data-style="pop-art"] .wt-pad {
  border-radius: 0; border: 3px solid color-mix(in srgb, var(--p) 55%, var(--pa-paper));
  background: color-mix(in srgb, var(--p) 16%, var(--pa-night)); transform: none;
  box-shadow: inset 0 0 0 2px var(--pa-key);
}
:root[data-style="pop-art"] .wt-pad-ring {
  border: 3px solid var(--pa-key); box-shadow: none;
  background: radial-gradient(circle, var(--pa-key) 0 30%, var(--p) 32%);
}
@media (hover: hover) {
  :root[data-style="pop-art"] .wt-pad:hover { border-color: var(--pa-yellow); background: color-mix(in srgb, var(--p) 30%, var(--pa-night)); }
}

/* The signal: a red button that goes up as a starburst. The burst is two
   stars behind it, black under yellow, so the yellow one is keylined. */
:root[data-style="pop-art"] .wt-signal {
  position: relative; margin-block: 1.4rem;
  border-radius: 0; border: 3px solid var(--pa-paper);
  background: var(--pa-red); color: #fff; box-shadow: inset 0 0 0 3px var(--pa-key);
}
:root[data-style="pop-art"] .wt-signal::before,
:root[data-style="pop-art"] .wt-signal::after {
  content: ""; position: absolute; z-index: -1; inset: -2.4rem -2.2rem; pointer-events: none;
  background: var(--pa-key);
  clip-path: polygon(50% 0, 56% 26%, 69% 4%, 66% 30%, 87% 12%, 76% 36%, 100% 30%, 82% 48%, 100% 64%, 78% 64%, 90% 88%, 68% 74%, 64% 100%, 54% 76%, 42% 98%, 38% 74%, 18% 92%, 26% 68%, 0 74%, 18% 54%, 2% 36%, 24% 38%, 10% 12%, 34% 28%, 32% 2%, 44% 24%);
}
:root[data-style="pop-art"] .wt-signal::after { inset: -2rem -1.85rem; background: var(--pa-yellow); }
@media (hover: hover) {
  :root[data-style="pop-art"] .wt-signal:hover { background: var(--pa-key); color: var(--pa-yellow); transform: none; }
}

/* the answer: the night, screened, and the same lettering */
:root[data-style="pop-art"] .wt-done {
  background: radial-gradient(circle, rgba(95, 159, 255, .2) 2px, transparent 2.6px) 0 0 / 10px 10px, rgba(5, 8, 22, .97);
}
:root[data-style="pop-art"] .wt-done a { border-radius: 999px; background: var(--pa-paper); color: var(--pa-key); border-color: var(--pa-paper); box-shadow: inset 0 0 0 2px var(--pa-key); }

/* one ring for every control: the caption yellow, clear of the panel; on
   the signal it sits inside, on the red, so the burst cannot swallow it */
:root[data-style="pop-art"] .wt :is(.wt-member, .wt-screen, .wt-pad, .wt-signal, .iw, .wt-exit, .wt-done a):focus-visible {
  outline: 3px solid var(--s-focus); outline-offset: 3px;
}
:root[data-style="pop-art"] .wt .wt-signal:focus-visible { outline-offset: -8px; }
