/* Victorian, for /worlds/red-dead/ and /wanted/ (style: victorian).

   Red Dead Redemption 2 is set in 1899, the last full year of the Victorian
   era, and everything in it that is printed (the Wheeler, Rawson catalog,
   the newspapers, the bills) is Victorian print. So both pages are what came
   off an 1899 press: woodtype in gold leaf with a two-colour shade, engraved
   rules (thick and thin), fleurons, and chromolithograph colour (oxblood,
   Prussian blue, ochre, forest green) on black stock, the stock of the
   saloon's tonic labels, tobacco tins and playing-card backs. Never sepia:
   the colour is what keeps it alive.

   One file for the pair, in three parts: what both share (the inks, the
   gold, the ornaments, the woodtype); the world page, the saloon at night,
   where the gang sit for cabinet cards, the map is a ledger and the games
   are a catalog spread; and the Wanted Board, whose planks and parchment
   stay exactly where they are and take the same press's finish: the
   woodtype shade, a printed border in every bill, fleurons, and a second
   and third ink. The spec: docs/superpowers/specs/2026-10-11-page-styles-
   design.md, "Red Dead Redemption: Victorian" and section 9.

   Everything is scoped to :root[data-style="victorian"]. Material rules on
   shared components put the scope in :where(), so they weigh what the rule
   they restyle weighs and each page's own hover, focus and open states win. */

/* ── 1. shared: the inks, the gold, the ornaments ────────────────────────── */
:root[data-style="victorian"] {
  --vc-stock: #080706;              /* black stock, a shade under the site's own black */
  --vc-card: #120e0b;
  --vc-card-hi: #1a140f;
  --vc-gold: #d4a54a;               /* gold leaf */
  --vc-gold-hi: #f0d28a;
  --vc-gold-lo: #a8833c;            /* gold that still holds 3:1 as an edge */
  --vc-rule: rgba(212, 165, 74, .45);
  --vc-ox: #8c2016;                 /* oxblood, as a fill and as ink on paper */
  --vc-ox-hi: #a3281b;              /* the woodtype shade */
  --vc-ox-lit: #e27560;             /* oxblood set as text on black */
  --vc-pr: #1e3d63;                 /* Prussian blue, the same three ways */
  --vc-pr-hi: #2c5a8c;
  --vc-pr-lit: #93b6df;
  --vc-och: #e3ae55;                /* ochre */
  --vc-fo: #234a2f;                 /* forest green */
  --vc-fo-lit: #8cc49e;
  /* woodtype, shaded the way a two-colour poster is: a dark keyline, an
     oxblood shade, and a Prussian blue drop under that */
  --vc-shade: 0 1px 0 #2a0d06, 2px 3px 0 var(--vc-ox-hi), 4px 6px 0 var(--vc-pr-hi);
  --vc-shade-sm: 0 1px 0 #2a0d06, 1px 2px 0 var(--vc-ox-hi), 2px 4px 0 var(--vc-pr-hi);
  /* a printed double rule: the border, a gap of stock, a hairline inside */
  --vc-frame: inset 0 0 0 3px var(--vc-card), inset 0 0 0 4px var(--vc-rule);
  /* the fleuron (a lozenge between two leaves) and a corner rosette, used
     as masks so one drawing prints in any ink */
  --vc-orn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 16'%3E%3Cpath d='M32 2l6 6-6 6-6-6zM24 8c-4-6-11-6-15 0 4 6 11 6 15 0zM40 8c4-6 11-6 15 0-4 6-11 6-15 0zM0 7.4h6v1.2H0zM58 7.4h6v1.2h-6z'/%3E%3C/svg%3E");
  --vc-orn-gold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 16' fill='%23d4a54a'%3E%3Cpath d='M32 2l6 6-6 6-6-6zM24 8c-4-6-11-6-15 0 4 6 11 6 15 0zM40 8c4-6 11-6 15 0-4 6-11 6-15 0zM0 7.4h6v1.2H0zM58 7.4h6v1.2h-6z'/%3E%3C/svg%3E");
  --vc-ros: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232b1a0f'%3E%3Ccircle cx='8' cy='4' r='3'/%3E%3Ccircle cx='8' cy='12' r='3'/%3E%3Ccircle cx='4' cy='8' r='3'/%3E%3Ccircle cx='12' cy='8' r='3'/%3E%3C/svg%3E");

  --s-surface: var(--vc-card);
  --s-surface-hi: var(--vc-card-hi);
  --s-edge: var(--vc-gold-lo);
  --s-bw: 1px;
  --s-r: 3px;
  --s-r-sm: 2px;
  --s-shadow: var(--vc-frame), 0 18px 40px -26px #000;
  --s-shadow-hi: inset 0 0 0 3px var(--vc-card-hi), inset 0 0 0 4px var(--vc-gold), 0 22px 44px -26px #000;
  --s-lift: -2px;
  /* Rye, the Wanted Board's own woodtype, which is what ties the pair. The
     board defines no --mono or --sans, so the fallbacks are literal. */
  --s-display: "Rye", Georgia, serif;
  --s-display-w: 400;
  --s-display-ls: 0.01em;
  --s-focus: var(--vc-gold-hi);

  /* the bars: black stock in a gilt double rule, opaque, no glass */
  --s-bar: var(--vc-stock);
  --s-bar-edge: var(--vc-gold-lo);
  --s-bar-r: 10px;
  --s-bar-blur: none;
  --s-bar-shadow: inset 0 0 0 3px var(--vc-stock), inset 0 0 0 4px var(--vc-rule), 0 16px 40px rgba(0, 0, 0, .6);

  /* Print has no circuits, CRT lines or lattice. The grain stays as the
     tooth of the stock, and the light under the pointer becomes a lamp. */
  --s-field: 0;
  --s-grain: 0.04;
  --hud-grid: transparent;
  --hud-scan: transparent;
  --hud-sweep: transparent;
  --hud-lit: transparent;
  --hud-halo: rgba(240, 190, 100, .07);
}

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

/* the ground is black stock, warm rather than blue, and the hairlines are
   gilt; both lifted again under Increase Contrast */
:root[data-style="victorian"] body[data-fan="rdr"] { --bg: var(--vc-stock); --line: #3d2f1c; background: var(--vc-stock); }
@media (prefers-contrast: more) {
  :root[data-style="victorian"] body[data-fan="rdr"] { --line: #5e4828; }
}
:root[data-style="victorian"] .tabbar { --s-accent: var(--vc-gold-hi); }
:root[data-style="victorian"] .tabbar a:is(.is-current, .is-going) {
  background: linear-gradient(180deg, #3a130d, #22090a);
  box-shadow: inset 0 0 0 1px var(--vc-rule);
}

/* The sky, printed. The dusty glow becomes a rising-sun sunburst in
   oxblood rays, the sun a flat chromolithograph disc in three bands, the
   far hills Prussian blue, the mesas oxblood with a gold keyline, and the
   whole sheet crossed by fine engraving lines. The layer is capped at .36
   (fanpages.css), so all of it reads as a print seen through the dark. */
:root[data-style="victorian"] .rdr-sky { background: linear-gradient(180deg, #0d0b10, #0b0907 62%, #050403); }
:root[data-style="victorian"] .rdr-sky::before {
  inset: -50%; height: auto;
  background: repeating-conic-gradient(from 0deg at 50% calc(62% - clamp(110px, 15vw, 230px)), rgba(163, 40, 27, .5) 0 4deg, transparent 4deg 11.25deg);
  -webkit-mask-image: radial-gradient(closest-side at 50% calc(62% - clamp(110px, 15vw, 230px)), #000 12%, transparent 70%);
  mask-image: radial-gradient(closest-side at 50% calc(62% - clamp(110px, 15vw, 230px)), #000 12%, transparent 70%);
  transform-origin: 50% calc(62% - clamp(110px, 15vw, 230px));
}
:root[data-style="victorian"] .rdr-sun {
  filter: none;
  background:
    radial-gradient(circle, #e3ae55 0 34%, #c98c25 34% 44%, #a3281b 44% 69%, transparent 69.5%);
}
:root[data-style="victorian"] .rdr-dust { opacity: 0; }
:root[data-style="victorian"] .rdr-sky::after { background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .45) 0 1px, transparent 1px 3px); }
:root[data-style="victorian"] .rdl-far { fill: #101d2e; }
:root[data-style="victorian"] .rdl-mesa { fill: #4a140e; stroke: var(--vc-gold); }
:root[data-style="victorian"] .rdl-near { fill: #060504; }
:root[data-style="victorian"] .rdl-poles { stroke: #2a2016; }
:root[data-style="victorian"] .rdl-cactus { stroke: #2b5939; }
/* the one authored motion: the rays turn a few degrees as you read down */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    :root[data-style="victorian"] .rdr-sky::before { animation: vc-turn linear both; animation-timeline: scroll(root); }
  }
}
@keyframes vc-turn { to { transform: rotate(14deg); } }

/* The title: woodtype in gold leaf, shaded exactly as the Wanted Board's is.
   Mixed case, as the board sets its own. The kicker over it is ruled off. */
:root[data-style="victorian"] .fan-title {
  font-family: var(--s-display); font-weight: 400; letter-spacing: 0.01em;
  text-transform: none; font-size: clamp(2.5rem, 6.6vw, 5.2rem); line-height: 1;
  color: var(--vc-gold-hi); text-shadow: var(--vc-shade);
}
:root[data-style="victorian"] .fan-title::after {
  content: ""; display: block; width: min(22rem, 70%); height: 16px; margin-top: 0.45em;
  background: var(--vc-gold);
  --l: linear-gradient(#000, #000);
  -webkit-mask: var(--vc-orn) 50% / 64px 16px no-repeat, var(--l) 0 5px / calc(50% - 38px) 3px no-repeat, var(--l) 0 10px / calc(50% - 38px) 1px no-repeat,
    var(--l) 100% 5px / calc(50% - 38px) 3px no-repeat, var(--l) 100% 10px / calc(50% - 38px) 1px no-repeat;
  mask: var(--vc-orn) 50% / 64px 16px no-repeat, var(--l) 0 5px / calc(50% - 38px) 3px no-repeat, var(--l) 0 10px / calc(50% - 38px) 1px no-repeat,
    var(--l) 100% 5px / calc(50% - 38px) 3px no-repeat, var(--l) 100% 10px / calc(50% - 38px) 1px no-repeat;
}
:root[data-style="victorian"] .fan-kicker { color: var(--vc-och); align-items: center; }
:root[data-style="victorian"] .fan-kicker::before { content: ""; width: 2.4rem; border-top: 3px double var(--vc-gold); }
@media (max-width: 560px) { :root[data-style="victorian"] .fan-kicker::before { content: none; } }

/* Headings in the woodtype; reading text stays Inter, labels stay Mono.
   Rye has one weight, so nothing here asks for a synthetic bold. */
:root[data-style="victorian"] :is(.fan-card :is(h2, h3, h4, h5), .fan-rankhead b, .fan-tiletext b, .fan-what b, .fan-linkhead b, .fan-quote blockquote, .fan-art-body q, .wsib-h b, .rdr-honor h2) {
  font-family: var(--s-display); font-weight: 400; font-style: normal; letter-spacing: 0.01em;
}
:root[data-style="victorian"] :is(.fan-card :is(h2, h3, h4, h5), .fan-linkhead b, .wsib-h b) { color: var(--vc-gold-hi); }

/* section heads: a fleuron, the name in woodtype, the note in small gold
   mono, and a gilt Oxford rule (thick over thin) running out to the edge */
:root[data-style="victorian"] .subsec--fan {
  font-family: var(--s-display); font-size: clamp(1.3rem, 2.5vw, 1.8rem); letter-spacing: 0.01em;
  text-transform: none; color: var(--vc-gold-hi); text-shadow: var(--vc-shade-sm); line-height: 1.15;
}
:root[data-style="victorian"] .subsec--fan::before {
  content: ""; flex: none; width: 34px; height: 9px; background: var(--vc-ox-lit);
  -webkit-mask: var(--vc-orn) 50% / contain no-repeat; mask: var(--vc-orn) 50% / contain no-repeat;
}
:root[data-style="victorian"] .subsec--fan .subsec-yr {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--vc-gold); text-shadow: none;
}
:root[data-style="victorian"] .subsec--fan::after {
  height: 5px; background: linear-gradient(var(--vc-gold) 0 2px, transparent 2px 4px, var(--vc-gold) 4px 5px); opacity: .7;
}

/* An item's own colour (a tile's caption, a card's subtitle, its tag, its
   Listen link and Play button) lifted a quarter toward white, so the darker
   ones read on black stock. :where keeps the shared rules' weight. */
:root[data-style="victorian"] :is(.fan-tiletext i, .fan-card .fan-sub) { color: color-mix(in srgb, var(--a) 72%, #fff); opacity: 1; }
:where(:root[data-style="victorian"]) :is(.fan-tag, .fan-visit, .fan-hear) { color: color-mix(in srgb, var(--a) 72%, #fff); }

/* labels and doors: black stock in a gilt double rule, square-cornered */
:where(:root[data-style="victorian"]) :is(.fan-iface, .fan-link, .wsib-i a, .fan-intro-when, .fan-linkcard, .fan-tile) {
  background: var(--vc-card); border: 1px solid var(--vc-gold-lo); border-radius: var(--s-r);
  box-shadow: var(--vc-frame);
}
:where(:root[data-style="victorian"]) .fan-intro-when { padding: 1.1rem 1.4rem; }
:where(:root[data-style="victorian"]) .fan-intro-when b { color: var(--vc-ox-lit); }
:where(:root[data-style="victorian"]) .fan-iface-k { color: var(--vc-och); }
:where(:root[data-style="victorian"]) .fan-linkhead i { color: var(--vc-gold); opacity: .8; }
:where(:root[data-style="victorian"]) .fan-iface-a { border-color: var(--vc-gold-lo); color: var(--vc-gold-hi); }
:where(:root[data-style="victorian"]) :is(.fan-tag, .fan-hear, .fan-sortbtn) { border-radius: 2px; }
@media (hover: hover) {
  :where(:root[data-style="victorian"]) :is(.fan-iface, .fan-link, .wsib-i a, .fan-linkcard, .fan-tile):hover {
    background: var(--vc-card-hi); border-color: var(--vc-gold); box-shadow: var(--s-shadow-hi);
  }
}

/* the interface's fragment keeps the board's own plank colour, in the
   same gilt frame as everything else here */
:where(:root[data-style="victorian"]) .fan-peek {
  border-color: var(--vc-gold-lo); border-radius: var(--s-r);
  box-shadow: inset 0 0 0 3px var(--pkbg), inset 0 0 0 4px var(--vc-rule), 0 18px 40px -26px #000;
}
:where(:root[data-style="victorian"]) .fan-peek-dot { border-radius: 0; transform: rotate(45deg); box-shadow: none; }

/* the hero: the hat and the Cattleman on an engraved plate, the band in
   oxblood and the steel blued; the first paragraph opens on a boxed initial,
   raised rather than dropped (a floated letter loses the space after it in
   the text the page reads out) */
:where(:root[data-style="victorian"]) .fan-art--rdr .fan-art-fig {
  padding: clamp(1rem, 3vw, 2rem); border: 1px solid var(--vc-gold-lo); border-radius: var(--s-r);
  background: radial-gradient(70% 70% at 50% 45%, #1d1610, var(--vc-card));
  box-shadow: inset 0 0 0 5px var(--vc-card), inset 0 0 0 6px var(--vc-rule), 0 26px 50px -30px #000;
}
:root[data-style="victorian"] .rh-band { fill: var(--vc-ox); }
:root[data-style="victorian"] :is(.rg-barrel, .rg-cyl, .rg-frame, .rg-hammer, .rg-sight) { fill: #2f3d50; stroke: #93a7c0; }
:root[data-style="victorian"] .fan-art-body q { color: var(--vc-gold-hi); }
:root[data-style="victorian"] .fan-art--rdr .fan-art-body p:first-of-type::first-letter {
  margin-right: 0.2em; padding: 0.1em 0.2em 0;
  font-family: var(--s-display); font-size: 1.9em; line-height: 1; color: var(--vc-gold-hi);
  background: var(--vc-card); border: 1px solid var(--vc-gold-lo); box-shadow: var(--vc-frame);
  text-shadow: 1px 2px 0 var(--vc-ox-hi);
}

/* the poster and the honour gauge: the poster is one of the board's own
   bills (woodtype, a printed border, the reward in red ink); the gauge is
   an engraved scale with a gilt needle */
:root[data-style="victorian"] .rdr-poster :is(b, u, s) { font-family: var(--s-display); font-weight: 400; }
:root[data-style="victorian"] .rdr-poster s { color: #9a2416; text-shadow: 2px 2px 0 rgba(30, 61, 99, .3); }
:root[data-style="victorian"] .rdr-poster::after {
  content: ""; position: absolute; inset: 9px; pointer-events: none;
  border: 2px solid rgba(43, 26, 15, .75); outline: 1px solid rgba(43, 26, 15, .6); outline-offset: 2px;
  background: var(--vc-ros) 2px 2px / 9px no-repeat, var(--vc-ros) calc(100% - 2px) 2px / 9px no-repeat,
    var(--vc-ros) 2px calc(100% - 2px) / 9px no-repeat, var(--vc-ros) calc(100% - 2px) calc(100% - 2px) / 9px no-repeat;
}
:root[data-style="victorian"] .rdr-honor h2 { color: var(--vc-gold-hi); text-shadow: var(--vc-shade-sm); font-size: 1.5rem; text-transform: none; }
:root[data-style="victorian"] .rdr-track {
  height: 12px; border-radius: 1px;
  background: repeating-linear-gradient(90deg, rgba(11, 9, 7, .85) 0 1px, transparent 1px 10%), linear-gradient(90deg, var(--vc-ox), #3a2a1c 46%, #e8dcc0);
  box-shadow: 0 0 0 1px var(--vc-gold-lo), 0 0 0 3px var(--vc-stock), 0 0 0 4px var(--vc-rule);
}
:root[data-style="victorian"] .rdr-track i { border-radius: 0; background: var(--vc-gold-hi); box-shadow: 0 0 0 1px #2a0d06; }

/* Dead Eye: the slots are the chambers of a Cattleman's cylinder, as on the
   Wanted Board's HUD; the trigger is an oxblood label in gilt. Its heading
   is set in the section heads' woodtype, so it reads as one of them. */
:root[data-style="victorian"] .fp-head :is(h2, h3) {
  font-family: var(--s-display); font-size: clamp(1.3rem, 2.5vw, 1.8rem); letter-spacing: 0.01em;
  text-transform: none; color: var(--vc-gold-hi); text-shadow: var(--vc-shade-sm); line-height: 1.15;
}
:where(:root[data-style="victorian"]) .fp-bar {
  width: fit-content; max-width: 100%; gap: 10px; padding: 10px 12px; border: 1px solid var(--vc-gold-lo); border-radius: 40px;
  background: radial-gradient(120% 200% at 30% 0%, #2a2620, #12100d);
  box-shadow: var(--vc-frame);
}
:where(:root[data-style="victorian"]) .fp-slot {
  border-radius: 50%; border: 2px solid #9c8352;
  background: radial-gradient(circle at 42% 38%, #2b261f, #0a0806 72%);
  box-shadow: inset 0 3px 8px rgba(0, 0, 0, .85);
}
:where(:root[data-style="victorian"]) .fp-go {
  border-radius: 2px; color: #fbeed2; background: var(--vc-ox); border-color: var(--vc-gold);
  box-shadow: inset 0 0 0 2px var(--vc-ox), inset 0 0 0 3px rgba(240, 210, 138, .55);
}
@media (hover: hover) {
  :where(:root[data-style="victorian"]) .fp-go:hover:not(:disabled) { background: var(--vc-ox-hi); }
}
:where(:root[data-style="victorian"]) .fp-out {
  border: 1px solid var(--vc-gold-lo); border-radius: var(--s-r); background: var(--vc-card); box-shadow: var(--vc-frame);
}

/* The signature: the games as a Wheeler, Rawson & Co. catalog spread. Two
   pages either side of a fold, each in a gilt double rule with a fleuron at
   its head; the first two games share the left page, the third (the one
   this page is mostly about) is the featured plate on the right. Each
   numeral sits in an engraved medallion, and each title runs along a dotted
   leader to its year, the way the catalog runs an article to its price. On
   a phone the spread closes to one page. */
:root[data-style="victorian"] #games .fan-rank {
  position: relative; display: grid; gap: 0 clamp(3.2rem, 7vw, 6rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto; grid-auto-flow: column;
  padding: clamp(2.8rem, 4.5vw, 3.4rem) clamp(1.8rem, 3.6vw, 3rem) clamp(2.2rem, 4vw, 3rem);
  border: 1px solid var(--vc-gold-lo); border-radius: 2px;
  background:
    linear-gradient(90deg, transparent calc(50% - 48px), rgba(0, 0, 0, .7) calc(50% - 1px), rgba(212, 165, 74, .25) 50%, rgba(0, 0, 0, .7) calc(50% + 1px), transparent calc(50% + 48px)),
    var(--vc-card);
  box-shadow: 0 34px 70px -34px #000;
}
:root[data-style="victorian"] #games .fan-rank::before,
:root[data-style="victorian"] #games .fan-rank::after {
  content: ""; position: absolute; top: 10px; bottom: 10px; pointer-events: none;
  border: 1px solid var(--vc-rule); box-shadow: inset 0 0 0 3px var(--vc-card), inset 0 0 0 4px rgba(212, 165, 74, .25);
  background: var(--vc-orn-gold) 50% 14px / 56px 14px no-repeat;
}
:root[data-style="victorian"] #games .fan-rank::before { left: 10px; right: calc(50% + 22px); }
:root[data-style="victorian"] #games .fan-rank::after { right: 10px; left: calc(50% + 22px); }
:where(:root[data-style="victorian"] #games) .fan-rankrow {
  padding: 1.3rem 0; border: 0; border-radius: 0; background: none; gap: 1.2rem; align-items: center;
}
:where(:root[data-style="victorian"] #games) .fan-rankrow + .fan-rankrow { border-top: 3px double var(--vc-rule); }
@media (hover: hover) {
  :where(:root[data-style="victorian"] #games) .fan-rankrow:hover { transform: none; background: none; border-color: var(--vc-rule); }
  :where(:root[data-style="victorian"] #games) .fan-rankrow:hover .fan-rankhead b { color: var(--vc-gold-hi); }
}
:root[data-style="victorian"] #games .fan-rankrow:nth-child(3) {
  grid-column: 2; grid-row: 1 / span 2; align-self: center;
  flex-direction: column; align-items: center; text-align: center; border-top: 0;
}
:root[data-style="victorian"] #games .fan-num {
  flex: none; display: grid; place-items: center; width: 3.6rem; height: 3.6rem; min-width: 0;
  border: 1px solid var(--vc-gold-lo); border-radius: 50%; box-shadow: var(--vc-frame);
  font-family: var(--s-display); font-size: 1.3rem; line-height: 1; color: var(--vc-gold-hi); opacity: 1;
}
:root[data-style="victorian"] #games .fan-rankrow:nth-child(3) .fan-num { width: 6.2rem; height: 6.2rem; font-size: 2.4rem; text-shadow: 1px 2px 0 var(--vc-ox-hi); }
:root[data-style="victorian"] #games .fan-rankbody { flex: 1; min-width: 0; width: 100%; }
:root[data-style="victorian"] #games .fan-rankhead { flex-wrap: nowrap; gap: 0.5rem; }
:root[data-style="victorian"] #games .fan-rankhead b { flex: 0 1 auto; min-width: 0; font-size: 1.3rem; line-height: 1.2; }
:root[data-style="victorian"] #games .fan-rankhead::after {
  content: ""; order: 1; flex: 1 1 1.2rem; min-width: 1.2rem; height: 0.3em;
  border-bottom: 3px dotted var(--vc-gold-lo);
}
:root[data-style="victorian"] #games .fan-rankhead i {
  order: 2; flex: none; font-family: var(--s-display); font-size: 1.15rem; color: var(--vc-och);
}
:root[data-style="victorian"] #games .fan-rankrow:nth-child(3) .fan-rankhead b { font-size: 1.7rem; }
:root[data-style="victorian"] #games .fan-rankmeta { color: #b8955a; }
@media (max-width: 819px) {
  :root[data-style="victorian"] #games .fan-rank { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-flow: row; background: var(--vc-card); }
  :root[data-style="victorian"] #games .fan-rank::before { right: 10px; }
  :root[data-style="victorian"] #games .fan-rank::after { display: none; }
  :root[data-style="victorian"] #games .fan-rankrow:nth-child(3) { grid-column: auto; grid-row: auto; border-top: 3px double var(--vc-rule); }
}

/* The gang sit for cabinet cards: a coloured mount in one of the four inks
   (oxblood, Prussian blue, forest green, umber), a bevelled gilt edge, an
   arched window, and the studio's imprint along the foot (the meta line). */
:where(:root[data-style="victorian"]) .fan-card {
  isolation: isolate; border: 1px solid var(--vc-gold-lo); border-radius: var(--s-r);
  background: var(--vc-card); box-shadow: var(--vc-frame), 0 18px 40px -26px #000;
}
:where(:root[data-style="victorian"]) #gang .fan-card {
  padding: 2.6rem 1.7rem 1.6rem; text-align: center; border-radius: 8px;
  background: var(--m, #2a0f0b); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .7), 0 18px 40px -26px #000;
}
:where(:root[data-style="victorian"]) #gang .fan-card:nth-child(4n+2) { --m: #0f1c2d; }
:where(:root[data-style="victorian"]) #gang .fan-card:nth-child(4n+3) { --m: #10200f; }
:where(:root[data-style="victorian"]) #gang .fan-card:nth-child(4n) { --m: #261b0c; }
:root[data-style="victorian"] #gang .fan-card::before {
  content: ""; position: absolute; inset: 11px; z-index: -1; pointer-events: none;
  border: 1px solid var(--vc-gold); border-radius: 160px 160px 3px 3px / 70px 70px 3px 3px;
  background: radial-gradient(90% 70% at 50% 30%, rgba(255, 236, 200, .05), rgba(0, 0, 0, .35));
  box-shadow: 0 0 0 3px rgba(0, 0, 0, .35), inset 0 0 0 3px rgba(0, 0, 0, .3), inset 0 0 0 4px rgba(212, 165, 74, .3);
}
:where(:root[data-style="victorian"]) #gang .fan-card > * { justify-self: center; }
@media (hover: hover) {
  :where(:root[data-style="victorian"]) .fan-card:hover { border-color: var(--vc-gold); }
  :where(:root[data-style="victorian"]) #gang .fan-card:hover { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .7), 0 0 0 1px var(--vc-gold), 0 22px 44px -26px #000; }
}
:where(:root[data-style="victorian"]) #gang .fan-meta { color: var(--vc-gold); letter-spacing: 0.22em; }

/* The detail cards are tonic labels: black stock, a gilt double rule, and
   the tag printed as a banner in one of the four inks */
:where(:root[data-style="victorian"]) #detail .fan-tag {
  border: 0; padding: 0.28rem 0.7rem; color: #fbeed2; background: var(--vc-ox);
}
:where(:root[data-style="victorian"]) #detail .fan-card:nth-child(4n+2) .fan-tag { background: var(--vc-pr); }
:where(:root[data-style="victorian"]) #detail .fan-card:nth-child(4n+3) .fan-tag { background: var(--vc-fo); }
:where(:root[data-style="victorian"]) #detail .fan-card:nth-child(4n) .fan-tag { background: #c98c25; color: #120e0b; }

/* The map as a ledger: one state to a line, ruled in Prussian blue, the
   columns kept apart by the red double rules of an account book, and each
   state's colour as a small lozenge in the margin. On a phone the columns
   stack inside the line; nothing is dropped. */
:root[data-style="victorian"] #world .fan-tiles {
  --rowgap: 0px; --s-lift: 0px; grid-template-columns: minmax(0, 1fr); gap: 0;
  border-top: 3px double var(--vc-gold-lo); border-bottom: 3px double var(--vc-gold-lo);
}
:root[data-style="victorian"] #world .fan-tiles > .fan-tile {
  grid-row: auto; grid-template-rows: none; grid-template-columns: 1.6rem 12rem 9rem minmax(0, 1fr);
  align-items: baseline; column-gap: 0; margin: 0; padding: 0.85rem 0.4rem;
  border: 0; border-bottom: 1px solid rgba(44, 90, 140, .6); border-radius: 0; background: none; box-shadow: none;
}
:root[data-style="victorian"] #world .fan-tile > .fan-tiletext { display: contents; }
:root[data-style="victorian"] #world .fan-tiletext > * { margin: 0; }
:root[data-style="victorian"] #world .fan-swatch { width: 9px; height: 9px; margin: 0; border-radius: 0; transform: rotate(45deg); box-shadow: 0 0 0 2px var(--vc-stock), 0 0 0 3px var(--vc-gold-lo); }
:root[data-style="victorian"] #world .fan-tiletext b { grid-column: 2; font-size: 1.1rem; padding-right: 1rem; }
:root[data-style="victorian"] #world .fan-tiletext :is(i, em) { padding: 0 1rem; border-left: 3px double rgba(227, 117, 96, .55); }
:root[data-style="victorian"] #world .fan-tiletext i { grid-column: 3; font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; }
:root[data-style="victorian"] #world .fan-tiletext em { grid-column: 4; font-size: 0.86rem; }
:root[data-style="victorian"] #world .fan-tiletext > :not(b, i, em),
:root[data-style="victorian"] #world .fan-tile > .fan-slot { grid-column: 4; grid-row: auto; }
@media (hover: hover) {
  :root[data-style="victorian"] #world .fan-tiles > .fan-tile:hover { background: rgba(212, 165, 74, .06); box-shadow: none; }
}
@media (max-width: 719px) {
  :root[data-style="victorian"] #world .fan-tiles > .fan-tile { grid-template-columns: 1.4rem minmax(0, 1fr); row-gap: 0.3rem; }
  :root[data-style="victorian"] #world .fan-tiletext > :is(b, i, em, *),
  :root[data-style="victorian"] #world .fan-tile > .fan-slot { grid-column: 2; }
  :root[data-style="victorian"] #world .fan-tiletext :is(i, em) { padding: 0; border: 0; }
}

/* the songs are trade cards: the same stock and rule as the labels, the
   swatch a round medallion */
:where(:root[data-style="victorian"]) .fan-swatch { border-radius: 50%; box-shadow: 0 0 0 2px var(--vc-card), 0 0 0 3px var(--vc-gold-lo); }
:where(:root[data-style="victorian"]) .fan-grouphead { color: var(--vc-och); }
:where(:root[data-style="victorian"]) .fan-grouphead::after { background: var(--vc-rule); }
:where(:root[data-style="victorian"]) .fan-sortbtn.is-on { color: #fbeed2; background: var(--vc-ox); border-color: var(--vc-gold-lo); }

/* the chapters: a gilt rule with lozenges for the ticks */
:where(:root[data-style="victorian"]) .fan-time::before { background: var(--vc-gold-lo); opacity: 1; }
:where(:root[data-style="victorian"]) .fan-tick::before { border-radius: 0; transform: rotate(45deg); background: var(--vc-gold); box-shadow: 0 0 0 2px var(--vc-stock); }
:where(:root[data-style="victorian"]) .fan-when { color: var(--vc-och); }
:where(:root[data-style="victorian"]) .fan-fold-i { color: var(--vc-gold); }

/* the lines, printed as slips: a gilt frame with a fleuron at the head in
   place of the coloured bar, the line in woodtype, the speaker under a rule */
:where(:root[data-style="victorian"]) .fan-quote {
  position: relative; padding: 2.2rem 1.5rem 1.3rem; text-align: center;
  border: 1px solid var(--vc-gold-lo); border-radius: var(--s-r); background: var(--vc-card);
  box-shadow: var(--vc-frame);
}
:where(:root[data-style="victorian"]) .fan-quote::before {
  content: ""; position: absolute; top: 13px; left: 50%; width: 48px; height: 12px; margin-left: -24px;
  background: var(--vc-ox-lit); -webkit-mask: var(--vc-orn) center / contain no-repeat; mask: var(--vc-orn) center / contain no-repeat;
}
:where(:root[data-style="victorian"]) .fan-quote blockquote { font-size: 1.12rem; color: var(--vc-gold-hi); }
:where(:root[data-style="victorian"]) .fan-quote figcaption { padding-top: 0.7rem; border-top: 1px solid var(--vc-rule); color: var(--vc-ox-lit); }
@media (hover: hover) {
  :where(:root[data-style="victorian"]) .fan-quote:hover { transform: none; background: var(--vc-card-hi); box-shadow: var(--s-shadow-hi); }
}

/* the rest of the rank, under an Oxford rule */
:where(:root[data-style="victorian"]) .wsib { border-top: 3px double var(--vc-gold-lo); }
:where(:root[data-style="victorian"]) .wsib-k { color: var(--vc-och); }

/* ── 3. the Wanted Board: the same press, on planks and parchment ──────────
   The ground, the bills and Dead Eye stay as they are; what changes is the
   print: the woodtype gets the shade, every bill a printed border with
   rosettes at the corners, the board a gilt fillet, and the bills a second
   and third ink. */

/* the header: a band of black stock over a gilt rule, thick over thin */
:root[data-style="victorian"] .wb-top {
  background: linear-gradient(180deg, rgba(11, 9, 7, .94), rgba(11, 9, 7, .8));
  border-bottom-color: var(--vc-gold-lo); box-shadow: 0 4px 0 -3px var(--vc-rule);
}

/* the woodtype, shaded as the world page's title is */
:root[data-style="victorian"] .wb-title { color: var(--vc-gold-hi); text-shadow: var(--vc-shade), 0 12px 26px rgba(0, 0, 0, .6); }
:root[data-style="victorian"] .wb-h { color: var(--vc-gold-hi); text-shadow: var(--vc-shade-sm); }
:root[data-style="victorian"] .wb-h span { text-shadow: none; }
:root[data-style="victorian"] .wb-kicker { display: flex; align-items: center; gap: 0.8rem; }
:root[data-style="victorian"] .wb-kicker::before { content: ""; width: 2.4rem; flex: none; border-top: 3px double var(--vc-gold); }
@media (max-width: 560px) { :root[data-style="victorian"] .wb-kicker::before { content: none; } }
:root[data-style="victorian"] .wb-board > .wb-h { background: rgba(11, 9, 7, .82); box-shadow: inset 0 0 0 1px var(--vc-gold-lo), inset 0 0 0 3px rgba(11, 9, 7, .9), inset 0 0 0 4px var(--vc-rule); }

/* the two big buttons get a gilt fillet inside their rule */
:root[data-style="victorian"] .wb-de { box-shadow: inset 0 0 0 3px #1c120b, inset 0 0 0 4px rgba(240, 199, 106, .55), 0 0 0 4px rgba(0, 0, 0, .35), 0 8px 24px rgba(0, 0, 0, .4); }
:root[data-style="victorian"] .wb-de[aria-pressed="true"] { box-shadow: inset 0 0 0 3px var(--mark), inset 0 0 0 4px rgba(255, 243, 224, .6), 0 0 0 4px rgba(0, 0, 0, .35); }
:root[data-style="victorian"] .wb-ride { box-shadow: inset 0 0 0 3px #1c120b, inset 0 0 0 4px rgba(224, 176, 112, .5); }

/* the board, framed in gilt the way a saloon frames its pictures */
:root[data-style="victorian"] .wb-board::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border: 1px solid rgba(212, 165, 74, .6); box-shadow: inset 0 0 0 4px rgba(0, 0, 0, .3), inset 0 0 0 5px rgba(212, 165, 74, .3);
}
:root[data-style="victorian"] .wb.is-deadeye .wb-board::after { filter: sepia(1) brightness(.74); }

/* every bill: a printed border inside the paper, thick within thin, with a
   rosette in each corner; the paper under the big bill is named so the
   ring on its one link is judged against parchment, which it is drawn on */
:root[data-style="victorian"] :is(.wb-paper, .wb-bill)::after {
  content: ""; position: absolute; inset: 8px; pointer-events: none;
  border: 2px solid rgba(43, 26, 15, .72); outline: 1px solid rgba(43, 26, 15, .55); outline-offset: 2px;
  background: var(--vc-ros) 2px 2px / 9px no-repeat, var(--vc-ros) calc(100% - 2px) 2px / 9px no-repeat,
    var(--vc-ros) 2px calc(100% - 2px) / 9px no-repeat, var(--vc-ros) calc(100% - 2px) calc(100% - 2px) / 9px no-repeat;
}
:root[data-style="victorian"] .wb-bill::after { inset: 14px; }
@media (max-width: 560px) { :root[data-style="victorian"] .wb-paper::after { inset: 5px; } }
:root[data-style="victorian"] .wb-bill { background-color: var(--paper); --s-focus: var(--vc-ox); }

/* the second and third inks: each bill's headline in a colour of its own
   (black, oxblood, Prussian blue, forest green, in turn), the room it leads
   to in Prussian blue, and the woodtype on the big bill shaded in oxblood */
:root[data-style="victorian"] .wb-posters li:nth-child(4n+2) .wb-k { color: var(--vc-ox); }
:root[data-style="victorian"] .wb-posters li:nth-child(4n+3) .wb-k { color: var(--vc-pr); }
:root[data-style="victorian"] .wb-posters li:nth-child(4n) .wb-k { color: var(--vc-fo); }
:root[data-style="victorian"] .wb-posters li .wb-poster--gang .wb-k { color: var(--blood); }
:root[data-style="victorian"] .wb-real { color: var(--vc-pr); }
:root[data-style="victorian"] .wb-bill-k { text-shadow: 2px 3px 0 rgba(163, 40, 27, .55); }
:root[data-style="victorian"] .wb-bill-reward { text-shadow: 2px 2px 0 rgba(30, 61, 99, .3); }
:root[data-style="victorian"] .wb-bill-h::before,
:root[data-style="victorian"] .wb-bill-h::after { height: 4px; background: none; border-top: 2px solid var(--ink-2); border-bottom: 1px solid var(--ink-2); }

/* the reward line ruled off by a fleuron instead of a plain rule */
:root[data-style="victorian"] .wb-amt {
  padding-top: 1rem; border-top: 0;
  background: linear-gradient(var(--ink-2), var(--ink-2)) 0 6px / calc(50% - 28px) 1px no-repeat,
    linear-gradient(var(--ink-2), var(--ink-2)) 100% 6px / calc(50% - 28px) 1px no-repeat;
  position: relative;
}
:root[data-style="victorian"] .wb-amt::before {
  content: ""; position: absolute; top: 0; left: 50%; width: 44px; height: 12px; margin-left: -22px;
  background: var(--ink-2); -webkit-mask: var(--vc-orn) center / contain no-repeat; mask: var(--vc-orn) center / contain no-repeat;
}

/* the telegram blanks, their header band printed in Prussian blue */
:root[data-style="victorian"] .wb-gram {
  background:
    linear-gradient(180deg, var(--vc-pr) 0 4px, transparent 4px 7px, var(--vc-pr) 7px 8px, transparent 8px),
    linear-gradient(180deg, #ecd9a8, #e0c88f);
}

/* the world button: a gilt label on black stock, the world's name in the
   woodtype, and the keyboard ring the page's own gold */
:root[data-style="victorian"] .wb .iw {
  --iw-a: #d4a54a;
  border-radius: 3px; border-color: var(--vc-gold-lo); background: var(--vc-stock);
  box-shadow: var(--vc-frame);
}
:root[data-style="victorian"] .wb .iw-t b { font-family: var(--s-display); font-weight: 400; color: var(--vc-gold-hi); }
:root[data-style="victorian"] .wb .iw-k { opacity: 1; color: #c9a663; }
@media (hover: hover) and (pointer: fine) {
  :root[data-style="victorian"] .wb .iw:hover { background: #1a140f; border-color: var(--vc-gold); box-shadow: inset 0 0 0 3px #1a140f, inset 0 0 0 4px var(--vc-gold); }
}
:root[data-style="victorian"] .wb :is(a, button):focus-visible { outline-color: var(--s-focus); }
