/* The Boozer Bible: an Old School RuneScape interface for rating pubs. */

:root {
  --void: #0f0c08;
  --stone-0: #1d1810;
  --stone-1: #2b241b;
  --panel: #3e3529;
  --panel-2: #4a3f30;
  --inset: #2a2318;
  --bevel-hi: #6b5d48;
  --bevel-lo: #15110b;
  --edge: #000;

  --osrs-orange: #ff981f;
  --osrs-yellow: #ffff00;
  --osrs-white: #ffffff;
  --osrs-green: #0dc10d;
  --osrs-red: #ff2020;
  --osrs-cyan: #00ffff;
  --muted: #b8a888;

  --moss: #3d5a22;
  --goblin: #6aa536;
  --goblin-hi: #8fd14f;
  --rust: #6e2a1b;
  --parchment: #d6c39a;
  --parchment-ink: #2b1d0e;
  --parchment-blue: #000080;

  --font-ui: "Pixelify Sans", "Courier New", monospace;
  --font-title: "Jacquard 24", "Pixelify Sans", serif;

  --gutter: 16px;
  --tabs-h: 68px;

  /* Grainy stone: fractal noise rendered once as an SVG. */
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  --blotch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='b'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012' numOctaves='4'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .35 0 0 0 0 .1 0 0 0 1.4 -.55'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23b)'/%3E%3C/svg%3E");

  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.35;
  color: var(--osrs-white);
  text-shadow: 1px 1px 0 var(--edge);
  background-color: var(--stone-0);
  /* Mossy dungeon wall: moss blotches, grain and mortar lines. */
  background-image:
    var(--blotch),
    var(--noise),
    repeating-linear-gradient(0deg, transparent 0 46px, rgba(0, 0, 0, .45) 46px 48px),
    repeating-linear-gradient(90deg, transparent 0 94px, rgba(0, 0, 0, .35) 94px 96px),
    linear-gradient(180deg, #241d14, #17130d);
  background-attachment: fixed;
  padding-bottom: calc(var(--tabs-h) + env(safe-area-inset-bottom) + 12px);
}

a { color: var(--osrs-cyan); }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--osrs-yellow); outline-offset: 2px; }

/* --------------------------------------------------------------- shared surfaces */

.panel {
  position: relative;
  background: var(--noise), linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 2px solid var(--edge);
  box-shadow: inset 2px 2px 0 var(--bevel-hi), inset -2px -2px 0 var(--bevel-lo), 0 4px 0 rgba(0, 0, 0, .5);
  padding: 14px;
}

.inset {
  background: var(--noise), var(--inset);
  border: 1px solid var(--edge);
  box-shadow: inset 2px 2px 0 var(--bevel-lo), inset -1px -1px 0 #5a4d39;
}

.parchment {
  background: var(--noise), linear-gradient(180deg, #e2d1a8, var(--parchment));
  color: var(--parchment-ink);
  text-shadow: none;
  border: 2px solid #4b3a22;
  box-shadow: inset 0 0 0 2px #b8a173, 0 4px 0 rgba(0, 0, 0, .5);
}

.title {
  font-family: var(--font-title);
  font-weight: 400;
  color: var(--osrs-orange);
  letter-spacing: .5px;
  line-height: 1;
  margin: 0 0 10px;
}
h1.title { font-size: 44px; }
h2.title { font-size: 32px; }
h3.title { font-size: 24px; }

.label { color: var(--osrs-orange); }
.muted { color: var(--muted); }
.yellow { color: var(--osrs-yellow); }
.green { color: var(--osrs-green); }
.red { color: var(--osrs-red); }
.small { font-size: 13px; }

.stack > * + * { margin-top: 14px; }
.row { display: flex; gap: 10px; align-items: center; }
.row.wrap { flex-wrap: wrap; }
.spacer { flex: 1; }

/* Pixel icons are drawn into <span data-icon>; see icons.js. */
[data-icon] { display: inline-block; width: 24px; height: 24px; flex: none; }
[data-icon] svg { width: 100%; height: 100%; display: block; shape-rendering: crispEdges; filter: drop-shadow(1px 1px 0 #000); }

/* --------------------------------------------------------------- buttons + inputs */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  cursor: pointer;
  color: var(--osrs-orange);
  text-decoration: none;
  text-shadow: 1px 1px 0 var(--edge);
  background: var(--noise), linear-gradient(180deg, #5b4e3b, #43392b);
  border: 2px solid var(--edge);
  box-shadow: inset 2px 2px 0 #7a6a52, inset -2px -2px 0 #231c13;
  user-select: none;
}
.btn:hover { color: var(--osrs-yellow); }
.btn:active { box-shadow: inset 2px 2px 0 #231c13, inset -2px -2px 0 #7a6a52; transform: translateY(1px); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn.go {
  color: var(--osrs-white);
  background: var(--noise), linear-gradient(180deg, #4f7a2a, var(--moss));
  box-shadow: inset 2px 2px 0 var(--goblin-hi), inset -2px -2px 0 #1d2c10;
}
.btn.go:hover { color: var(--osrs-yellow); }
.btn.danger { color: #ffb3a8; background: var(--noise), linear-gradient(180deg, #7b3423, var(--rust)); box-shadow: inset 2px 2px 0 #a2563f, inset -2px -2px 0 #2c0f08; }
.btn.small { min-height: 34px; padding: 4px 10px; font-size: 14px; }
.btn.block { width: 100%; }

.field { display: block; }
.field > span { display: block; color: var(--osrs-orange); margin-bottom: 4px; }
.input {
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  color: var(--osrs-yellow);
  background: var(--noise), var(--inset);
  border: 1px solid var(--edge);
  box-shadow: inset 2px 2px 0 var(--bevel-lo), inset -1px -1px 0 #5a4d39;
  border-radius: 0;
}
.input::placeholder { color: #8a7c62; }
select.input { appearance: none; background-image: var(--noise), linear-gradient(45deg, transparent 50%, var(--osrs-orange) 50%), linear-gradient(135deg, var(--osrs-orange) 50%, transparent 50%); background-position: 0 0, calc(100% - 18px) 50%, calc(100% - 12px) 50%; background-size: auto, 6px 6px, 6px 6px; background-repeat: repeat, no-repeat, no-repeat; padding-right: 30px; }

/* --------------------------------------------------------------- top bar + tabs */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: calc(8px + env(safe-area-inset-top)) var(--gutter) 8px;
  background: var(--noise), linear-gradient(180deg, #3a3126, #2a231a);
  border-bottom: 2px solid var(--edge);
  box-shadow: inset 0 -2px 0 var(--bevel-hi), 0 3px 0 rgba(0, 0, 0, .4);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand-mark { width: 30px; height: 30px; }
.brand-text { font-family: var(--font-title); font-size: 30px; color: var(--osrs-orange); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who { margin-left: auto; font-size: 14px; color: var(--osrs-yellow); white-space: nowrap; }
.demo-badge { display: inline-block; margin-left: 8px; padding: 1px 6px; font-size: 11px; color: #000; background: var(--osrs-yellow); text-shadow: none; }

.tabs {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
  background: var(--noise), linear-gradient(180deg, #3a3126, #241e15);
  border-top: 2px solid var(--edge);
  box-shadow: inset 0 2px 0 var(--bevel-hi);
}
.tabs a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  height: 54px;
  text-decoration: none;
  font-size: 12px;
  color: var(--osrs-orange);
  background: var(--noise), linear-gradient(180deg, #4d4232, #382f23);
  border: 2px solid var(--edge);
  box-shadow: inset 2px 2px 0 #6b5d48, inset -2px -2px 0 #1a150f;
}
.tabs a b { font-weight: 400; }
.tabs a [data-icon] { width: 26px; height: 26px; }
.tabs a[aria-current="page"] {
  color: var(--osrs-yellow);
  background: var(--noise), linear-gradient(180deg, #8a3a26, var(--rust));
  box-shadow: inset 2px 2px 0 #b0573e, inset -2px -2px 0 #2c0f08;
}

.view { width: 100%; max-width: 760px; margin: 0 auto; padding: 16px var(--gutter) 24px; }
.view.wide { max-width: 1100px; }

/* --------------------------------------------------------------- skills grid (category scores) */

.skills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; padding: 3px; }
.skill {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 4px 6px;
  background: var(--noise), linear-gradient(180deg, #3a3124, #2c251b);
  border: 1px solid var(--edge);
  box-shadow: inset 1px 1px 0 #5c4f3b, inset -1px -1px 0 #120e09;
  min-width: 0;
}
.skill [data-icon] { width: 22px; height: 22px; }
.skill .lvl { margin-left: auto; text-align: right; line-height: 1; }
.skill .lvl b { display: block; color: var(--osrs-yellow); font-size: 18px; font-weight: 600; }
.skill .lvl i { font-style: normal; font-size: 11px; color: var(--muted); }
.skill .nm { font-size: 12px; color: var(--osrs-orange); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.skill.na .lvl b { color: #777; }
.skills .total {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  color: var(--osrs-yellow);
  background: var(--noise), #241e15;
  border: 1px solid var(--edge);
}
.skills .total span { color: var(--osrs-orange); }

/* --------------------------------------------------------------- leaderboard */

.controls { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.controls .full { grid-column: 1 / -1; }

.hiscores { display: grid; gap: 8px; }
.pub-card {
  display: grid;
  grid-template-columns: 34px 84px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px;
  text-decoration: none;
  color: inherit;
}
.pub-card:hover { filter: brightness(1.08); }
.pub-card .rank { font-size: 20px; color: var(--osrs-orange); text-align: center; }
.pub-card .rank.r1 { color: #ffd700; }
.pub-card .rank.r2 { color: #e0e0e0; }
.pub-card .rank.r3 { color: #cd7f32; }
.pub-card .thumb { width: 84px; height: 64px; }
.pub-card .meta { min-width: 0; }
.pub-card .name { color: var(--osrs-yellow); font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pub-card .sub { display: block; font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pub-card .name { display: block; }
.pub-card .score { font-size: 26px; font-weight: 700; text-align: right; line-height: 1; }
.pub-card .score small { display: block; font-size: 11px; font-weight: 400; color: var(--muted); }

.thumb {
  position: relative;
  overflow: hidden;
  background: var(--noise), #1b160f;
  border: 2px solid var(--edge);
  box-shadow: inset 0 0 0 1px #5a4d39;
}
.thumb img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.thumb .placeholder { position: absolute; inset: 0; display: grid; place-items: center; }
.thumb .facade { position: absolute; inset: 0; }
.thumb .facade svg { width: 100%; height: 100%; display: block; shape-rendering: crispEdges; }
.thumb .placeholder [data-icon] { width: 40%; height: auto; aspect-ratio: 1; opacity: .7; }

@media (min-width: 900px) {
  .hiscores.grid { grid-template-columns: 1fr 1fr; }
}

/* --------------------------------------------------------------- pub page */

.hero { padding: 0; overflow: hidden; }
.hero .thumb { width: 100%; height: 220px; border: 0; border-bottom: 2px solid var(--edge); }
.hero .body { padding: 14px; }
.hero .bigscore { font-size: 44px; font-weight: 700; line-height: 1; }
.hero .credit { position: absolute; z-index: 2; right: 0; bottom: 0; max-width: 80%; padding: 2px 6px; font-size: 10px; background: rgba(0, 0, 0, .65); color: #ddd; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.review { padding: 10px; }
.review header { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.review header .who-name { color: var(--osrs-yellow); }
.review header .score { margin-left: auto; font-size: 22px; font-weight: 700; }

.notice { padding: 10px 12px; border-left: 4px solid var(--osrs-yellow); }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.gallery button { padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.gallery .thumb { aspect-ratio: 4 / 3; height: auto; }
.gallery .is-cover::after { content: "Cover"; position: absolute; left: 4px; top: 4px; padding: 0 4px; font-size: 11px; background: var(--osrs-yellow); color: #000; text-shadow: none; }

.minimap { height: 220px; border: 2px solid var(--edge); isolation: isolate; }

/* --------------------------------------------------------------- submit form */

.search-results { display: grid; gap: 4px; margin-top: 6px; }
.search-results button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 10px;
  cursor: pointer;
  background: var(--noise), #2c251b;
  border: 1px solid var(--edge);
  box-shadow: inset 1px 1px 0 #5c4f3b;
}
.search-results button:hover { background: var(--noise), #3a3124; }
.search-results .nm { color: var(--osrs-yellow); }
.search-results .ad { font-size: 13px; color: var(--muted); }
.search-results .tag { float: right; font-size: 11px; color: #000; background: var(--goblin); padding: 0 4px; text-shadow: none; }

.chosen { display: flex; align-items: center; gap: 10px; padding: 10px; }
.chosen .nm { color: var(--osrs-yellow); font-size: 18px; }

.score-rows { display: grid; gap: 6px; }
.score-row {
  display: grid;
  grid-template-columns: 26px 1fr 46px 52px;
  grid-template-areas: "icon name value na" "bar bar bar bar";
  align-items: center;
  gap: 4px 8px;
  padding: 8px 10px;
}
.score-row [data-icon] { grid-area: icon; }
.score-row .nm { grid-area: name; color: var(--osrs-orange); }
.score-row output { grid-area: value; text-align: right; font-size: 20px; font-weight: 700; color: var(--osrs-yellow); }
.score-row .na-toggle { grid-area: na; }
.score-row input[type="range"] { grid-area: bar; }
.score-row.is-na output { color: #777; }
.score-row.is-na input[type="range"] { opacity: .35; }

/* N/A toggle: a little stone switch. */
.na-toggle { position: relative; display: inline-flex; align-items: center; justify-content: center; height: 30px; font-size: 12px; cursor: pointer; color: var(--muted); background: #241e15; border: 1px solid var(--edge); box-shadow: inset 1px 1px 0 #120e09; }
.na-toggle input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.na-toggle:has(input:checked) { color: #000; background: var(--osrs-yellow); text-shadow: none; }

/* Range slider drawn as an OSRS hitpoints bar: green over red. */
input[type="range"].hp {
  --fill: 50%;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 30px;
  margin: 0;
  background: transparent;
  cursor: pointer;
  touch-action: pan-y;
}
input[type="range"].hp::-webkit-slider-runnable-track {
  height: 14px;
  border: 1px solid var(--edge);
  background: linear-gradient(90deg, #00b000 0 var(--fill), #b00000 var(--fill) 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .25), inset 0 -2px 0 rgba(0, 0, 0, .35);
}
input[type="range"].hp::-moz-range-track {
  height: 14px;
  border: 1px solid var(--edge);
  background: linear-gradient(90deg, #00b000 0 var(--fill), #b00000 var(--fill) 100%);
}
input[type="range"].hp::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 28px;
  margin-top: -8px;
  background: linear-gradient(180deg, #8c7b60, #5b4e3b);
  border: 2px solid var(--edge);
  box-shadow: inset 1px 1px 0 #b5a283;
}
input[type="range"].hp::-moz-range-thumb {
  width: 14px;
  height: 24px;
  border-radius: 0;
  background: linear-gradient(180deg, #8c7b60, #5b4e3b);
  border: 2px solid var(--edge);
}

/* The live Boozer Score orb (like the OSRS hitpoints orb). */
.orb-wrap { position: sticky; top: 64px; z-index: 20; display: flex; align-items: center; gap: 12px; padding: 8px 12px; }
.orb {
  --level: 50%;
  position: relative;
  width: 64px;
  height: 64px;
  flex: none;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #000;
  background: #3a0d0d;
  box-shadow: 0 0 0 2px #7a6a52, inset 0 0 0 2px #1a150f;
}
.orb::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--level); background: radial-gradient(circle at 35% 30%, #6fe36f, #0b8a0b 70%); transition: height .25s steps(6); }
.orb span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 20px; font-weight: 700; color: var(--osrs-yellow); }

/* --------------------------------------------------------------- level-up dialog */

.levelup-backdrop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: end center; padding: 16px 16px calc(var(--tabs-h) + 24px); background: rgba(0, 0, 0, .55); animation: fade .2s ease-out; }
.levelup { position: relative; width: min(520px, 100%); padding: 18px 18px 14px; text-align: center; animation: rise .35s steps(5) both; }
.levelup .lvl-title { color: var(--parchment-blue); font-size: 18px; font-weight: 700; }
.levelup .lvl-body { margin: 8px 0 14px; }
.levelup .badge { width: 56px; height: 56px; margin: -46px auto 6px; }
.levelup .badge [data-icon] { width: 56px; height: 56px; }
.firework { position: fixed; width: 6px; height: 6px; pointer-events: none; z-index: 101; animation: spark .9s steps(8) forwards; }
@keyframes spark { to { transform: translate(var(--dx), var(--dy)); opacity: 0; } }
@keyframes rise { from { transform: translateY(40px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }

/* --------------------------------------------------------------- map */

.worldmap { height: calc(100dvh - 210px); min-height: 360px; border: 2px solid var(--edge); isolation: isolate; }
.leaflet-container { background: #1d2a3a; font-family: var(--font-ui); }
/* Age the tiles into an old parchment world map. */
.leaflet-tile-pane { filter: sepia(.65) saturate(.9) brightness(.9) contrast(1.05); }
.pin { width: 18px; height: 18px; border: 2px solid #000; box-shadow: inset 2px 2px 0 rgba(255, 255, 255, .35), 1px 1px 0 #000; }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { border-radius: 0; background: var(--parchment); color: var(--parchment-ink); }
.leaflet-popup-content { margin: 10px 12px; font-family: var(--font-ui); }
.leaflet-popup-content b { font-size: 15px; }
.leaflet-popup-content a { color: var(--parchment-blue); }
.legend { display: flex; gap: 12px; flex-wrap: wrap; font-size: 13px; }
.legend i { display: inline-block; width: 12px; height: 12px; border: 1px solid #000; vertical-align: -1px; margin-right: 4px; }

/* --------------------------------------------------------------- stats */

.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.kpi { padding: 10px; text-align: center; }
.kpi b { display: block; font-size: 28px; color: var(--osrs-yellow); }
.kpi span { font-size: 13px; color: var(--osrs-orange); }
@media (min-width: 600px) { .kpis { grid-template-columns: repeat(4, 1fr); } }

.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { padding: 6px 8px; text-align: left; border-bottom: 1px solid #00000080; }
.table th { color: var(--osrs-orange); font-weight: 400; }
.table td.num, .table th.num { text-align: right; }
.table-scroll { overflow-x: auto; }

.bars { display: grid; gap: 6px; }
.bar-row { display: grid; grid-template-columns: 90px 1fr; gap: 8px; align-items: center; font-size: 13px; }
.bar-row .tracks { display: grid; gap: 2px; }
.bar-row .track { height: 10px; background: #1b160f; border: 1px solid #000; }
.bar-row .track i { display: block; height: 100%; }

.h2h { padding: 10px; }
.h2h .pair { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }

/* --------------------------------------------------------------- misc */

.toast { position: fixed; left: 50%; bottom: calc(var(--tabs-h) + 20px); transform: translateX(-50%); z-index: 120; max-width: calc(100% - 32px); padding: 8px 14px; color: var(--osrs-yellow); background: rgba(0, 0, 0, .85); border: 1px solid #5a4d39; }

.empty { padding: 24px; text-align: center; color: var(--muted); }
.loading { padding: 40px; text-align: center; color: var(--osrs-yellow); }
.loading::after { content: ""; animation: dots 1s steps(4) infinite; }
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }

.login { max-width: 420px; margin: 8vh auto 0; text-align: center; }
.login .crest { width: 96px; height: 96px; margin: 0 auto 10px; }
.login .crest [data-icon] { width: 96px; height: 96px; }

.invite-code { font-family: "Courier New", ui-monospace, monospace; font-weight: 700; font-size: 24px; letter-spacing: 2px; color: var(--osrs-yellow); padding: 8px 12px; display: inline-block; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

@media (max-width: 420px) {
  h1.title { font-size: 38px; }
  .brand-text { font-size: 26px; }
  .pub-card { grid-template-columns: 26px 64px 1fr auto; gap: 8px; }
  .pub-card .thumb { width: 64px; height: 52px; }
  .skills { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
