/* punk-west.css — THUD CORE's Weird West (run 4, 2026-10-19; the owner: «one with steampunk and wild west»): the machine age
   on the frontier, at peace. Brass bezels, a copper pinstripe, desert turquoise for state and progress, lamplit
   brass for the reward; each readiness plate marked with a windmill. Copper and red rock are trim alone, never a state
   (red is the wrong answer's); Ukraine's blue and yellow stay the accent (turquoise) and the reward (brass). Its faces are
   Roboto Slab's bold slabs for titles and labels, as a railroad's timetable board, and Inter for text: THUD CORE's own
   cuts (fonts-punk/, scripts/build_punk_fonts.py), whose accent stands over ї where Cappuccino's runs into its dots
   (TYPE.md §3). None is put on what a card teaches. */
@font-face { font-family: "Roboto Slab PUNK"; src: url("fonts-punk/RobotoSlabPUNK.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
html[data-palette="west"] {
  --caps: "Roboto Slab PUNK", "Montserrat DEF", var(--face);
  --display: "Roboto Slab PUNK", "Inter DEF", var(--face);
  --ui: "Inter DEF", "Inter", var(--face);
  --brass: #e6a948;
  --copper: #c8743a;
  --turq: #4fcab6;
  --brass-face: linear-gradient(180deg, #fff3d6 0%, #f3d08a 30%, #b9772e 52%, #f7dda0 58%, #c98d3e 80%, #fbe7b8 100%);
  /* the glass: a brass bezel, bright above and copper below; a turquoise glint for its sheen */
  --rim: rgba(255, 228, 180, .62);
  --rim-soft: rgba(200, 150, 100, .22);
  --rim-far: rgba(110, 70, 40, .55);
  --hi: rgba(255, 240, 210, .12);
  --glass-top: rgba(255, 210, 150, .06);
  --spot: rgba(240, 190, 120, .18);
  --sheen: rgba(255, 240, 220, .14);
  /* a brass highlight along a panel's top, lit turquoise at its middle (its two rivets went with every skin's dots,
     PUNK.md call 40) */
  --horizon: linear-gradient(90deg, transparent, rgba(240, 190, 110, .42) 18%, rgba(79, 202, 182, .62) 50%, rgba(240, 190, 110, .42) 82%, transparent);
  --windmill: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg fill='none' stroke='%234fcab6' stroke-width='1.3' opacity='.66'%3E%3Ccircle cx='20' cy='16' r='2.2'/%3E%3Cpath d='M20 13.8V4M20 18.2V28M17.8 16H8M22.2 16H32M18.4 14.4l-6.9-6.9M21.6 17.6l6.9 6.9M21.6 14.4l6.9-6.9M18.4 17.6l-6.9 6.9'/%3E%3Cpath d='M16 37l4-19 4 19M17 31h6'/%3E%3C/g%3E%3C/svg%3E");
}
html[data-look="milk"][data-palette="west"] {
  --brass: #8a5200;
  --copper: #9a4a16;
  --turq: #077e6c;
  --rim: rgba(150, 110, 70, .55);
  --rim-soft: rgba(170, 130, 90, .2);
  --rim-far: rgba(70, 44, 22, .3);
  --hi: rgba(255, 255, 255, .75);
  --spot: rgba(250, 225, 180, .38);
  --horizon: linear-gradient(90deg, transparent, rgba(7, 126, 108, .45) 50%, transparent);
  --windmill: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg fill='none' stroke='%23077e6c' stroke-width='1.3' opacity='.6'%3E%3Ccircle cx='20' cy='16' r='2.2'/%3E%3Cpath d='M20 13.8V4M20 18.2V28M17.8 16H8M22.2 16H32M18.4 14.4l-6.9-6.9M21.6 17.6l6.9 6.9M21.6 14.4l6.9-6.9M18.4 17.6l-6.9 6.9'/%3E%3Cpath d='M16 37l4-19 4 19M17 31h6'/%3E%3C/g%3E%3C/svg%3E");
}
html[data-palette="west"] body { font-family: var(--ui); }
html[data-palette="west"] :is(.def-hero__title, .phead h1, .t-display, .t-large, .t-title, .t-head, .def-card__title, .sheet .t-title, .fr-res .rs-head, .bk-title) { font-family: var(--display); font-weight: 700; letter-spacing: -.005em; }
html[data-palette="west"] .caps { font-family: var(--caps); font-weight: 700; letter-spacing: .2em; }
html[data-palette="west"] :is(.def-cell b, .fr-arc__n, .fr-tiles b, .fr-tile b) { font-family: var(--display); font-weight: 700; font-variant-numeric: tabular-nums; }
/* the Debrief's score in its rim (PUNK.md call 41): engraved copper and brass, a frontier watch's scrollwork between
   verdigris lines (art/west/bezel.webp, scripts/cut_rims.py), its opening 180 px of 224, clear of the gauge's ticks */
html[data-palette="west"] .fr-arc, html[data-palette="west"] .fr-res .fr-arc { margin: 38px 0 36px; }
html[data-palette="west"] .fr-arc .ring::after { content: ""; position: absolute; inset: -36px; pointer-events: none;
  background: url("art/west/bezel.webp") center / 100% 100% no-repeat; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .5)); }
html[data-look="milk"][data-palette="west"] .fr-arc .ring::after { filter: drop-shadow(0 6px 10px rgba(84, 48, 20, .3)); }
html[data-palette="west"] .def-brand b { font-family: var(--display); font-weight: 800; letter-spacing: .05em; }
html[data-palette="west"] .def-brand i { font-family: var(--caps); font-weight: 700; letter-spacing: .26em; }

/* the panels: smoked glass in a brass bezel, a brass highlight along the top, lit turquoise at its middle */
html[data-palette="west"] .glass:not(.chip):not(.tabbar):not(.btn):not(.def-cell):not(.fr-tile) {
  background-image: var(--horizon), linear-gradient(180deg, var(--glass-top) 0%, rgba(255, 255, 255, .02) 42%, rgba(255, 255, 255, 0) 100%);
  background-size: 100% 1px, 100% 100%; background-repeat: no-repeat; background-position: 0 0, 0 0; }
/* the readiness plates: each marked with a windmill in its corner */
html[data-palette="west"] :is(.def-cell, .fr-tile) {
  background-image: var(--windmill), var(--horizon), linear-gradient(180deg, var(--glass-top) 0%, rgba(255, 255, 255, .02) 42%, rgba(255, 255, 255, 0) 100%);
  background-size: 30px 30px, 100% 1px, 100% 100%; background-position: calc(100% - 8px) 8px, 0 0, 0 0; background-repeat: no-repeat; border-radius: 14px; }

/* the strategies' covers: a frame of worked brass with a copper pinstripe inside it */
html[data-palette="west"] .def-card { border-radius: 16px; outline: 1px solid rgba(200, 116, 58, .6); outline-offset: -7px; }
html[data-palette="west"] .def-card::before { padding: 1.5px;
  background: linear-gradient(160deg, #fbe2a8, #c98d3e 24%, #6e3b17 46%, #f3cf8c 54%, #a8682f 78%, #f6d9a0); }
html[data-palette="west"] .btn--primary { border-radius: 12px; font-weight: 700; letter-spacing: .01em; }

/* the hero: the name in brass by night (a turquoise glint), in desert ink by day */
html:not([data-look="milk"])[data-palette="west"] .def-hero__title { background-image: var(--brass-face); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent; text-shadow: none; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .6)) drop-shadow(0 0 16px rgba(230, 169, 72, .3)); }
html:not([data-look="milk"])[data-palette="west"] .def-hero__eyebrow { color: var(--acc-ink); }

/* the name in the intro: brass slabs, its rule copper with a turquoise heart */
html[data-palette="west"] .intro__thud { font-family: "Roboto Slab PUNK", "Inter DEF", serif; font-weight: 800; letter-spacing: .03em;
  background-image: linear-gradient(180deg, #fff4dc 0%, #f1cd86 26%, #a8682f 50%, #f7dea6 56%, #c98d3e 78%, #4fcab6 100%); }
html[data-palette="west"] .intro__arms > i { background-image: linear-gradient(180deg, #fff4dc 0%, #f1cd86 26%, #a8682f 50%, #f7dea6 56%, #c98d3e 78%, #4fcab6 100%); }
html[data-palette="west"] .intro__def { font-family: "Roboto Slab PUNK", "Montserrat DEF", serif; font-weight: 700; letter-spacing: .5em; }
html[data-palette="west"] .intro__rule { background: linear-gradient(90deg, transparent, #c8743a, #4fcab6, #c8743a, transparent); }

/* ── the companion's burst (RAM.md §7, thud.js burst): sand and brass dust kicked up, a turquoise glint among it ── */
[data-ram="west"] .petal { left: -2px; top: -2px; width: 5px; height: 3px; border-radius: 2px; background: #f3cf8c !important; box-shadow: 0 0 5px 1px rgba(240, 180, 90, .6); }
[data-ram="west"] .petal.p2 { background: #8ee3d3 !important; box-shadow: 0 0 5px 1px rgba(79, 202, 182, .65); }

