/* Luxury Typography, for /worlds/game-of-thrones/ and /citadel/ (style: luxury-type).

   Game of Thrones sold itself on scale and weight, and its tall Roman
   capitals carry most of that. This is a great hall in winter: dark iron
   grey, never black; one Roman capital face (Cinzel, the Citadel's own) set
   very large and tracked long; hairline rules with a lozenge where a scribe
   would rule a line; a centred layout like a proclamation; bone-white type.
   Colour is precious here, so each house spends only its own, on its own
   decree. That is what keeps it clear of the black-and-gold cliché: the
   ground is iron, and gold appears only where a house or the astrolabe owns
   it.

   One file for the pair, in three parts: what both share (the iron, the
   bone, the hairline and the capitals); the world page, which is the court;
   and the Citadel, the maester's archive, which keeps its map, its chain
   and its gold astrolabe and takes the same iron, capitals and hairlines,
   so the court and the archive read as one realm. The spec:
   docs/superpowers/specs/2026-10-11-page-styles-design.md, "Game of Thrones:
   Luxury Typography" and section 9.

   Everything here is scoped to :root[data-style="luxury-type"], so this
   file does nothing on a page that is not wearing it. Material rules use
   :where() for that scope, so they weigh what the rule they restyle weighs
   and each page's own hover, focus and open states still win. */

/* ── 1. shared: iron, bone, the hairline and the capitals ───────────────── */
:root[data-style="luxury-type"] {
  --lx-iron: #1c1f23;               /* the hall: iron grey, lifted off black */
  --lx-iron-lo: #15171a;
  --lx-plate: rgba(38, 42, 47, .9); /* a plate of the same iron, a shade up */
  --lx-plate-hi: rgba(47, 52, 58, .94);
  --lx-bone: #ede6d6;
  /* hairlines: a rule, a stronger rule, and a control's edge (3:1 on iron) */
  --lx-hair: rgba(237, 230, 214, .15);
  --lx-hair-hi: rgba(237, 230, 214, .32);
  --lx-edge: rgba(237, 230, 214, .5);
  --lx-face: "Cinzel", Georgia, serif;
  /* the ruled line: a hairline either side of a lozenge, drawn as a mask so
     whatever colour sits under it (bone, or a house's own) is the ink */
  --lx-loz: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M5 0l5 5-5 5-5-5z'/%3E%3C/svg%3E");
  --lx-rule: var(--lx-loz) center / 9px 9px no-repeat,
    linear-gradient(90deg, transparent, #000 24%, #000 calc(50% - 11px), transparent 0 calc(50% + 11px), #000 0 76%, transparent) center / 100% 1px no-repeat;

  /* the page's own inks on iron: bone, and two quieter bones that hold
     4.5:1 on the plates as well as on the ground */
  --bg: var(--lx-iron);
  --bg-2: #202328;
  --ink: var(--lx-bone);
  --ink-dim: #bcb6aa;
  --mute: #a39e94;
  --line: #34383e;

  /* the shared components read these (base.css) */
  --s-surface: var(--lx-plate);
  --s-surface-hi: var(--lx-plate-hi);
  --s-edge: var(--lx-hair);
  --s-bw: 1px;
  --s-r: 0px;
  --s-r-sm: 0px;
  --s-shadow: 0 22px 44px -34px rgba(0, 0, 0, .9);
  --s-shadow-hi: 0 28px 52px -32px rgba(0, 0, 0, .95);
  --s-lift: -2px;
  --s-display: var(--lx-face);
  --s-display-w: 500;
  --s-display-ls: 0.16em;
  --s-label-ls: 0.18em;
  /* the ring is bone too: the one light thing in a dark hall */
  --s-focus: #f4efe4;

  /* the bars: bands of blackened iron, a shade under the hall, squared and
     ruled by a hairline (dark enough that the header buttons' tinted edges
     stand out from it as well as they did from the glass) */
  --s-bar: rgba(15, 17, 20, .96);
  --s-bar-edge: rgba(237, 230, 214, .16);
  --s-bar-r: 2px;
  --s-bar-blur: none;
  --s-bar-shadow: inset 0 1px 0 rgba(237, 230, 214, .06), 0 22px 44px -24px rgba(0, 0, 0, .85);

  /* a little tooth for cast iron, no circuit field, a softer vignette so the
     grey reads as grey, and the HUD lattice widened into faint stone
     courses, with its scanlines and green sweep gone */
  --s-grain: 0.03;
  --s-vignette: 0.7;
  --s-field: 0;
  --hud-cell: 120px;
  --hud-grid: rgba(237, 230, 214, .026);
  --hud-scan: transparent;
  --hud-sweep: transparent;
  --hud-lit: rgba(237, 230, 214, .12);
  --hud-halo: rgba(237, 230, 214, .03);
}
/* Increase Contrast darkens the hall itself: the site's boost holds its ink
   at 16.6:1, which no ink reaches on mid iron, so the ground drops to the
   darkest iron and every ink rises with it. */
@media (prefers-contrast: more) {
  :root[data-style="luxury-type"] {
    --lx-iron: #0e1012; --bg-2: #131518;
    --ink: #f6f2ea; --ink-dim: #e2dccf; --mute: #c3bdb2; --line: #4c5158;
    --lx-hair: rgba(237, 230, 214, .32); --lx-hair-hi: rgba(237, 230, 214, .5);
  }
}
@media (prefers-reduced-transparency: reduce) {
  :root[data-style="luxury-type"] { --lx-plate: #262a2f; --lx-plate-hi: #2f3339; --s-bar: #191c20; }
}

/* The signature motion, on both pages: a section's hairlines are ruled
   outward from its heading as it comes into view, the way a scribe draws
   the line before the words. Transform only; without scroll-driven
   animation, and under Reduce Motion, the lines simply stand ruled. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    :root[data-style="luxury-type"] :is(.subsec--fan, .cd-h) { view-timeline: --lx-ruled block; }
    :root[data-style="luxury-type"] :is(.subsec--fan, .cd-h)::before,
    :root[data-style="luxury-type"] :is(.subsec--fan, .cd-h)::after {
      animation: lx-rule linear both; animation-timeline: --lx-ruled; animation-range: entry 20% cover 40%;
    }
  }
}
@keyframes lx-rule { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ── 2. the world page: the court ───────────────────────────────────────── */

/* No page-wide accent: every card and tile sets its own --a. Only the tab
   bar, outside every item, takes the world's steel. */
:root[data-style="luxury-type"] .tabbar { --s-accent: var(--a); }
:root[data-style="luxury-type"] .tabbar a.is-current,
:root[data-style="luxury-type"] .tabbar a.is-going {
  background: rgba(237, 230, 214, .06);
  box-shadow: inset 0 0 0 1px rgba(237, 230, 214, .22);
}

/* The hall. Iron where the cold blue-black was, lit from high windows: two
   shafts of winter light falling across it in place of the map hatching.
   The snow keeps falling; the Wall, Winterfell and King's Landing turn to
   the same iron and bone (King's Landing's gold goes, so the only colour on
   the page is what each house owns). The whole sky is capped at .36. */
:root[data-style="luxury-type"] .got-sky {
  background: radial-gradient(90% 70% at 50% 0%, #4a515a 0%, #2a2f35 46%, #181a1e 100%);
}
:root[data-style="luxury-type"] .got-sky::before {
  inset: 0; -webkit-mask-image: none; mask-image: none;
  background:
    linear-gradient(104deg, transparent 18%, rgba(226, 234, 242, .09) 24%, rgba(226, 234, 242, .02) 34%, transparent 40%),
    linear-gradient(98deg, transparent 56%, rgba(226, 234, 242, .07) 61%, rgba(226, 234, 242, .015) 70%, transparent 76%);
}
:root[data-style="luxury-type"] .got-wall {
  background:
    linear-gradient(180deg, transparent 0 46%, rgba(237, 230, 214, .07) 46% 100%),
    repeating-linear-gradient(90deg, rgba(237, 230, 214, .04) 0 1px, transparent 1px 46px);
}
:root[data-style="luxury-type"] .gs-north { fill: #16181b; stroke: #9ba3ac; stroke-width: 1.4; }
:root[data-style="luxury-type"] .gs-south { fill: #16181b; stroke: #7d848c; stroke-width: 1.4; }
:root[data-style="luxury-type"] .gs-south circle { fill: #1b1e22; }

/* The hero is a proclamation: everything on one centre line, the name of
   the realm in Roman capitals as large as the column allows, tracked long,
   in solid bone, with a ruled line and a lozenge under it. The orb hangs
   over it like the moon over the hall instead of off to one side. */
:root[data-style="luxury-type"] .fan-hero { text-align: center; }
:root[data-style="luxury-type"] .fan-hero :is(.crumbs ol, .fan-kicker, .fan-ifaces, .fan-links) { justify-content: center; }
:root[data-style="luxury-type"] .fan-hero .fan-lede-hero { margin-inline: auto; }
/* on a phone the trail's last step stops stretching, so the trail centres */
:root[data-style="luxury-type"] .fan-hero .crumbs li:last-child { flex-grow: 0; }
:root[data-style="luxury-type"] .fan-hero .fan-peek { margin-inline: auto; text-align: left; }
:root[data-style="luxury-type"] .fan-hero .hero-orb {
  right: auto; left: 50%; top: 1.5rem; translate: -50% 0;
  width: clamp(240px, 28vw, 400px); opacity: .3;
}
@media (max-width: 760px) {
  :root[data-style="luxury-type"] .fan-hero .hero-orb { left: 50%; top: 0; width: 76vw; translate: -50% 0; opacity: .22; }
}
:root[data-style="luxury-type"] .fan-title {
  font-family: var(--s-display); font-weight: var(--s-display-w); letter-spacing: var(--s-display-ls);
  font-size: clamp(2.5rem, 6.4vw, 5.4rem); line-height: 1.06; text-transform: uppercase;
  /* tracking trails the last letter; padding of the same width re-centres it */
  padding-left: var(--s-display-ls); text-wrap: balance;
  background: none; -webkit-background-clip: border-box; background-clip: border-box;
  color: var(--lx-bone); text-shadow: 0 2px 0 rgba(0, 0, 0, .4);
}
:root[data-style="luxury-type"] :is(.fan-title, .cd-title)::after {
  content: ""; display: block; width: min(19rem, 70%); height: 9px; margin: 0.32em auto 0;
  background: rgba(237, 230, 214, .55);
  -webkit-mask: var(--lx-rule); mask: var(--lx-rule);
}

/* Section heads in the same capitals, centred between two hairlines, the
   note under them in its own mono. A grid, so the name can wrap on a phone
   while the hairlines keep their place either side of it. */
:root[data-style="luxury-type"] .subsec--fan {
  display: grid; grid-template-columns: minmax(1.5rem, 1fr) auto minmax(1.5rem, 1fr);
  align-items: center; column-gap: clamp(0.9rem, 2.6vw, 1.8rem); row-gap: 0.6rem;
  text-align: center; text-wrap: balance;
  font-family: var(--lx-face); font-weight: 500; font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  letter-spacing: 0.2em; line-height: 1.25; text-transform: uppercase; color: var(--lx-bone);
}
:root[data-style="luxury-type"] .subsec--fan::before,
:root[data-style="luxury-type"] .subsec--fan::after {
  content: ""; grid-row: 1; height: 1px; min-width: 0; background: var(--lx-hair-hi);
}
:root[data-style="luxury-type"] .subsec--fan::before { grid-column: 1; transform-origin: 100% 50%; }
:root[data-style="luxury-type"] .subsec--fan::after { grid-column: 3; transform-origin: 0 50%; }
:root[data-style="luxury-type"] .subsec--fan .subsec-yr {
  grid-column: 1 / -1; grid-row: 2;
  font-family: var(--mono); font-weight: 400; font-size: 0.7rem; letter-spacing: 0.16em; color: var(--mute);
}
/* the folded sections keep their count and arrow beside the head */
:root[data-style="luxury-type"] .fan-fold-sum:focus-visible .subsec--fan { filter: none; }
@media (hover: hover) {
  :root[data-style="luxury-type"] .fan-fold-sum:hover .subsec--fan { filter: none; }
}

/* a section's opening lines read as the preamble under its head */
:root[data-style="luxury-type"] .fan-lede { margin-inline: auto; text-align: center; }

/* the first-watched note: no coloured spine, a ruled band on the centre line */
:where(:root[data-style="luxury-type"]) .fan-intro-when {
  max-width: 46rem; margin-inline: auto; padding: 1.2rem 1rem;
  border-left: 0; border-block: 1px solid var(--lx-hair-hi); border-radius: 0;
  background: none; text-align: center; justify-items: center;
}

/* ── the signature: the great houses as decrees ──────────────────────────
   Six proclamations, set symmetrically, three across. Each is an iron plate
   with a hairline round it and a second, inner hairline in its house's own
   colour: the one precious colour it is allowed. Its sigil hangs at the top
   in that colour, its name is cut in bone capitals, its words are ruled off
   with a lozenge, and the blurb sits under them like the text of the
   decree. My own house carries a third rule outside the other two. */
:root[data-style="luxury-type"] .crest-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(1.1rem, 2.4vw, 1.8rem); --rowgap: clamp(1.1rem, 2.4vw, 1.8rem);
}
@media (max-width: 980px) { :root[data-style="luxury-type"] .crest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { :root[data-style="luxury-type"] .crest-grid { grid-template-columns: minmax(0, 1fr); } }

:where(:root[data-style="luxury-type"]) .crest {
  --lx-house: var(--hl, var(--h1));
  padding: 2.5rem 1.6rem 1.9rem; border-radius: 0;
  border: 1px solid color-mix(in srgb, var(--lx-house) 30%, rgba(237, 230, 214, .1));
  background:
    radial-gradient(110% 50% at 50% 0%, color-mix(in srgb, var(--h1) 12%, transparent), transparent 72%),
    linear-gradient(180deg, #25292e, #1a1d21);
  box-shadow: 0 34px 60px -42px #000;
}
:where(:root[data-style="luxury-type"]) .crest::before {
  content: ""; position: absolute; inset: 7px; pointer-events: none;
  border: 1px solid var(--lx-house); opacity: .5;
}
:where(:root[data-style="luxury-type"]) .crest--mine {
  border-color: color-mix(in srgb, var(--lx-house) 60%, transparent);
  box-shadow: 0 0 0 4px var(--lx-iron), 0 0 0 5px color-mix(in srgb, var(--lx-house) 40%, transparent), 0 34px 60px -42px #000;
}
@media (hover: hover) {
  :where(:root[data-style="luxury-type"]) .crest:hover {
    border-color: color-mix(in srgb, var(--lx-house) 70%, transparent);
    background:
      radial-gradient(110% 55% at 50% 0%, color-mix(in srgb, var(--h1) 22%, transparent), transparent 74%),
      linear-gradient(180deg, #2a2e34, #1c1f23);
    box-shadow: 0 40px 64px -40px #000;
  }
}
:where(:root[data-style="luxury-type"]) .crest:focus-visible {
  background:
    radial-gradient(110% 55% at 50% 0%, color-mix(in srgb, var(--h1) 22%, transparent), transparent 74%),
    linear-gradient(180deg, #2a2e34, #1c1f23);
  box-shadow: 0 40px 64px -40px #000;
}
/* the sigil is the house's colour itself, not a glow round it */
:root[data-style="luxury-type"] .crest .crest-sigil { filter: none; margin-bottom: 1.2rem; }
:root[data-style="luxury-type"] .crest h2 {
  font-family: var(--lx-face); font-weight: 600; font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  letter-spacing: 0.16em; line-height: 1.3; text-transform: uppercase;
  padding-left: 0.16em; color: var(--lx-bone); text-shadow: none;
}
:root[data-style="luxury-type"] .crest .crest-sub {
  display: block; margin-top: 0.55rem;
  font-size: 0.66rem; letter-spacing: 0.26em;
  color: color-mix(in srgb, var(--lx-house) 62%, var(--lx-bone));
}
:root[data-style="luxury-type"] .crest .crest-sub::after {
  content: ""; display: block; width: 7rem; height: 9px; margin: 1.05rem auto 0;
  background: var(--lx-house); opacity: .8;
  -webkit-mask: var(--lx-rule); mask: var(--lx-rule);
}
:root[data-style="luxury-type"] .crest p { margin-top: 1rem; color: color-mix(in srgb, var(--lx-bone) 84%, transparent); }
:where(:root[data-style="luxury-type"]) .crest-tags span {
  border-radius: 0; font-size: 0.66rem; letter-spacing: 0.18em; background: none;
  color: color-mix(in srgb, var(--lx-house) 55%, var(--lx-bone));
  border-color: color-mix(in srgb, var(--lx-house) 40%, transparent);
}
/* "my house" hangs from the top edge on the centre line, like a seal tab */
:root[data-style="luxury-type"] .crest-mine {
  right: auto; left: 50%; translate: -50% 0; border-radius: 0;
  font-size: 0.66rem; letter-spacing: 0.24em; padding: 0.22rem 0.8rem 0.22rem 1.04rem;
}

/* ── the other plates: iron, square, ruled by a hairline ──────────────── */
:where(:root[data-style="luxury-type"]) :is(.fan-rankrow, .fan-land, .fan-film, .fan-shot, .been a, .fp-bar) {
  border-radius: 0; border-color: var(--lx-hair);
}
:where(:root[data-style="luxury-type"]) :is(.fan-rankrow, .fan-land) { background: var(--lx-plate); }
:where(:root[data-style="luxury-type"]) .fan-film {
  background: linear-gradient(163deg, color-mix(in srgb, var(--a, #b9c2cc) 10%, transparent), rgba(22, 24, 28, .72) 62%);
}
/* a quote is a short proclamation too: no spine, a hairline in the
   speaker's colour across its head, and the words on the centre line */
:where(:root[data-style="luxury-type"]) .fan-quote {
  border-left: 0; border-top: 1px solid color-mix(in srgb, var(--a, #b9c2cc) 70%, transparent);
  border-radius: 0; background: var(--lx-plate); box-shadow: none; text-align: center;
}
@media (hover: hover) {
  :where(:root[data-style="luxury-type"]) :is(.fan-rankrow, .fan-land, .fan-quote):hover {
    background: var(--lx-plate-hi); box-shadow: var(--s-shadow-hi);
  }
}
/* the pills become ruled boxes; a button's hairline is drawn bright
   enough to read as a button */
:where(:root[data-style="luxury-type"]) .fan-link { border-color: var(--lx-edge); }
:where(:root[data-style="luxury-type"]) .fan-peek { background: var(--lx-iron-lo); }
:where(:root[data-style="luxury-type"]) :is(.fan-iface-a, .fan-peek-dot) { border-radius: 0; box-shadow: none; }

/* the hotbar's slot numbers, faint on a lighter ground, lifted to read */
:where(:root[data-style="luxury-type"]) .fp-slot u { color: rgba(237, 230, 214, .62); }
/* Swearing to a house is a proclamation like the rest: its heading in the
   section heads' capitals, tracked as long, ruled off with the lozenge, and
   the heading, its words, the row of houses and the hint all on the centre
   line. Tracking trails the last letter; padding of the same width
   re-centres it. */
:root[data-style="luxury-type"] :is(.fp-head, .fp-hint) { text-align: center; }
:root[data-style="luxury-type"] :is(.fp-head p, .fp-bar) { margin-inline: auto; }
/* a house that wraps onto a second row on a phone stays on the centre line */
:root[data-style="luxury-type"] .fp-bar { justify-content: center; }
:root[data-style="luxury-type"] .fp-head :is(h2, h3) {
  font-family: var(--s-display); font-weight: 500; font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  letter-spacing: 0.2em; padding-left: 0.2em; line-height: 1.25; text-transform: uppercase;
  text-wrap: balance; color: var(--lx-bone); margin-bottom: 0.9rem;
}
:root[data-style="luxury-type"] .fp-head :is(h2, h3)::after {
  content: ""; display: block; width: min(13rem, 60%); height: 9px; margin: 0.55rem auto 0;
  background: rgba(237, 230, 214, .55);
  -webkit-mask: var(--lx-rule); mask: var(--lx-rule);
}

/* Heraldry has no dots: every swatch and every point on the timeline is a
   lozenge, flat, with no glow, and the timeline's line is a hairline. */
:root[data-style="luxury-type"] .fan-swatch {
  width: 9px; height: 9px; margin: 6px 2px 0; border-radius: 0; box-shadow: none; transform: rotate(45deg);
}
:root[data-style="luxury-type"] .fan-tick::before { border-radius: 0; box-shadow: none; transform: rotate(45deg); }
:root[data-style="luxury-type"] .fan-time::before { background: var(--lx-hair-hi); opacity: 1; }

/* Headings take the capitals; reading text stays Inter and labels stay
   JetBrains Mono. Cinzel's lower case is small capitals, so names keep
   their own case and still read as cut in stone. */
:root[data-style="luxury-type"] :is(.fan-card :is(h2, h3, h4, h5), .fan-rankhead b, .fan-tiletext b, .fan-what b,
  .fan-land-head :is(h2, h3, h4, h5), .fan-linkhead b, .fan-film :is(h2, h3, h4, h5), .fan-shot figcaption b, .been-t, .wsib-h b) {
  font-family: var(--lx-face); font-weight: 600; letter-spacing: 0.06em;
}
/* the seasons are numbered like articles of a decree, and each show's
   giant numeral is cut in the same capitals */
:root[data-style="luxury-type"] .fan-num {
  font-family: var(--lx-face); font-weight: 500; font-size: 1.45rem; line-height: 1.1;
  color: color-mix(in srgb, var(--a, #b9c2cc) 55%, var(--lx-bone)); opacity: 1;
}
:root[data-style="luxury-type"] .fan-film-num { font-family: var(--lx-face); font-weight: 400; letter-spacing: 0; }

/* An item's own colour (a caption, a subtitle, a tag, a Listen link, a Play
   button) was chosen for a near-black ground; on iron the darker ones (the
   Greyjoys' slate, the Targaryens' red) lose a little, so each is its own
   colour lifted a third toward bone. :where keeps the shared rules' weight,
   so hovering and playing still win. */
:root[data-style="luxury-type"] :is(.fan-tiletext i, .fan-card .fan-sub) { color: color-mix(in srgb, var(--a) 66%, #fff); }
:where(:root[data-style="luxury-type"]) :is(.fan-tag, .fan-visit, .fan-hear) { color: color-mix(in srgb, var(--a) 66%, #fff); }

/* ── 3. the Citadel: the archive in the same iron ─────────────────────────
   It keeps everything it does: the turning astrolabe in brass, the chart of
   Westeros and Essos with its keeps rising, the chain, the record, the
   ravens and the words at the end. Its warm stone becomes the hall's iron,
   its gilded title is cut in the same bone capitals as the court's, and its
   panels take the decrees' double hairline. The brass is kept for what is
   made of brass: the astrolabe, the map and the chain. */
:root[data-style="luxury-type"] .cd {
  --stone: var(--lx-iron); --stone-2: #23272c;
  --ink: var(--lx-bone); --dim: #c3bcae; --mute: #a8a295;
  --line: var(--lx-hair);
  --iw-bg: var(--lx-iron);
}
@media (prefers-contrast: more) {
  :root[data-style="luxury-type"] .cd { --ink: #f6f2ea; --dim: #e2dccf; --mute: #c3bdb2; --line: rgba(237, 230, 214, .38); }
}
/* the same high cold light as the hall, with the archive's candle kept low
   in a corner. The map table's grid goes: the hall is ruled by its hairlines,
   not a lattice behind them. */
:root[data-style="luxury-type"] .cd-glow {
  background:
    radial-gradient(60% 45% at 50% 0%, rgba(214, 224, 236, .08), transparent 70%),
    radial-gradient(40% 30% at 85% 90%, rgba(255, 170, 80, .05), transparent 70%),
    radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(8, 9, 11, .5));
}
:root[data-style="luxury-type"] .cd-grid { background: none; }

/* the title: bone, not gilt, tracked as long as the court's */
:root[data-style="luxury-type"] .cd-title {
  font-weight: 500; letter-spacing: 0.2em; padding-left: 0.2em;
  background: none; -webkit-background-clip: border-box; background-clip: border-box;
  color: var(--lx-bone); filter: none; text-shadow: 0 2px 0 rgba(0, 0, 0, .45);
}
:root[data-style="luxury-type"] .cd-kicker { color: var(--dim); letter-spacing: 0.36em; }

/* section heads: the capitals between two hairlines, the note under them */
:root[data-style="luxury-type"] .cd-h {
  justify-content: center; text-align: center; column-gap: clamp(0.8rem, 2.4vw, 1.6rem);
  font-weight: 500; font-size: clamp(1.2rem, 2.4vw, 1.6rem); letter-spacing: 0.2em; text-transform: uppercase;
}
:root[data-style="luxury-type"] .cd-h--sm { font-size: clamp(1.02rem, 1.8vw, 1.2rem); }
:root[data-style="luxury-type"] .cd-h::before,
:root[data-style="luxury-type"] .cd-h::after {
  content: ""; flex: 1 1 1.5rem; min-width: 1.5rem; height: 1px; background: var(--lx-hair-hi);
}
:root[data-style="luxury-type"] .cd-h::before { order: -1; transform-origin: 100% 50%; }
:root[data-style="luxury-type"] .cd-h::after { order: 1; transform-origin: 0 50%; }
:root[data-style="luxury-type"] .cd-h span { order: 2; flex-basis: 100%; text-transform: none; }

/* the panels: iron plates with the decrees' inner hairline */
:where(:root[data-style="luxury-type"]) :is(.cd-realm, .cd-panel) {
  position: relative; border-radius: 0; border-color: var(--lx-hair);
  background: linear-gradient(180deg, rgba(38, 42, 47, .92), rgba(27, 30, 34, .92));
  box-shadow: 0 30px 60px -44px #000;
}
:where(:root[data-style="luxury-type"]) :is(.cd-realm, .cd-panel)::before {
  content: ""; position: absolute; inset: 7px; pointer-events: none;
  border: 1px solid rgba(237, 230, 214, .09);
}
:where(:root[data-style="luxury-type"]) .cd-record div { border-bottom-color: var(--lx-hair); }

/* the chart keeps its brass coast and lettering; its sea is the hall's iron */
:where(:root[data-style="luxury-type"]) .cd-mapframe { border-radius: 0; border-color: var(--lx-hair); background: var(--lx-iron-lo); }
:root[data-style="luxury-type"] .cd-map > rect:first-of-type { fill: var(--lx-iron-lo); }
:root[data-style="luxury-type"] :is(.cd-pin-t, .cd-pin-s) { stroke: var(--lx-iron-lo); }

/* the keeps: still towers in their own colours, in iron, their names
   tracked like the court's */
:where(:root[data-style="luxury-type"]) .cd-keep {
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 14%, #25292e), #1c1f23);
  border-color: color-mix(in srgb, var(--c) 42%, rgba(237, 230, 214, .1));
}
@media (hover: hover) {
  :where(:root[data-style="luxury-type"]) .cd-keep:hover { background: linear-gradient(180deg, color-mix(in srgb, var(--c) 28%, #272b31), #1e2125); }
}
:where(:root[data-style="luxury-type"]) .cd-keep:focus-visible { background: linear-gradient(180deg, color-mix(in srgb, var(--c) 28%, #272b31), #1e2125); }
:root[data-style="luxury-type"] .cd-keep b { letter-spacing: 0.1em; }

/* the ravens: ruled boxes on iron; each seal keeps its own wax */
:where(:root[data-style="luxury-type"]) .cd-raven { border-radius: 0; border-color: var(--lx-hair); background: rgba(237, 230, 214, .025); }
@media (hover: hover) {
  :where(:root[data-style="luxury-type"]) .cd-raven:hover { border-color: var(--lx-hair-hi); background: rgba(237, 230, 214, .06); }
}
:where(:root[data-style="luxury-type"]) .cd-raven:focus-visible { border-color: var(--lx-hair-hi); background: rgba(237, 230, 214, .06); }

/* the words, and the answer, in bone */
:where(:root[data-style="luxury-type"]) .cd-words {
  border-radius: 0; border-color: var(--lx-edge); color: var(--lx-bone);
  letter-spacing: 0.24em; padding-inline: 2.2rem;
}
@media (hover: hover) {
  :where(:root[data-style="luxury-type"]) .cd-words:hover { background: var(--lx-bone); color: var(--lx-iron); }
}
:where(:root[data-style="luxury-type"]) .cd-words:focus-visible { background: var(--lx-bone); color: var(--lx-iron); }
:root[data-style="luxury-type"] .cd-done-t { color: var(--lx-bone); font-weight: 500; letter-spacing: 0.18em; }

/* The world button: the court's steel in place of the shared purple, squared
   and ruled like everything else here, its name in the capitals. */
:root[data-style="luxury-type"] .cd .iw {
  --iw-a: #b9c2cc;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(185, 194, 204, .1), rgba(185, 194, 204, .04));
}
:root[data-style="luxury-type"] .cd .iw-t b { font-family: var(--lx-face); font-weight: 600; letter-spacing: 0.1em; }
/* at the foot it stands on the centre line under the words, not against them */
:root[data-style="luxury-type"] .cd .iw--foot { display: flex; width: fit-content; margin: 1.6rem auto 0; }

/* Every keyboard ring in the archive is the court's bone, 2px, drawn
   outside what it marks: the keeps, the ravens and the words used to show
   focus only as a fill or a brass edge. */
:root[data-style="luxury-type"] .cd :focus-visible { outline: 2px solid var(--s-focus); outline-offset: 3px; }
