/* =========================================================================
   Seats of the World — international organizations atlas
   ========================================================================= */

:root {
  --org:        #4b9cd3;
  --org-accent: #8fd3ff;

  --ink-900: #080b12;
  --ink-850: #0c111b;
  --ink-800: #101725;
  --ink-750: #16202f;
  --ink-700: #1c2839;
  --ink-600: #26364b;
  --ink-500: #35485f;

  --text:     #e8eef7;
  --text-dim: #9db0c8;
  --text-mut: #6b7f99;

  --gold: #e6c56a;
  --good: #58d19b;

  /* separator glyphs — middots and pipes — share one tone so they read as
     punctuation everywhere rather than as three different greys */
  --sep: #56687f;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;

  --shadow-1: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-2: 0 8px 28px rgba(0, 0, 0, .45);
  --shadow-3: 0 18px 60px rgba(0, 0, 0, .55);

  --ui: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --mono: "SFMono-Regular", ui-monospace, Menlo, Consolas, "Liberation Mono", monospace;

  --seat-ring: rgba(255, 255, 255, .16);

  /* one height for every control in the arena toolbar, so the body tabs and
     the view/sort/colour/find row read as a single band */
  --ctl-h: 28px;
}

* { box-sizing: border-box; }

/* class rules such as .notice{display:flex} otherwise beat the UA's
   [hidden] rule and elements stay visible when hidden is set */
[hidden] { display: none !important; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: var(--ui);
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 12% -10%, rgba(75, 156, 211, .10), transparent 60%),
    radial-gradient(900px 600px at 100% 0%, rgba(230, 197, 106, .06), transparent 55%),
    var(--ink-900);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

/* A flex column rather than fixed grid rows: the staleness notice is usually
   hidden, and a display:none grid item would shift every row below it. */
.app {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
}

/* --------------------------------------------------------------- masthead */

.masthead {
  flex: none;
  display: flex; align-items: baseline; gap: 12px;
  padding: 7px 22px 6px;
  border-bottom: 1px solid var(--ink-800);
  background: rgba(0, 0, 0, .25);
}

.masthead__name {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--display);
  font-size: 15px; font-weight: 700; letter-spacing: .04em;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.masthead__name:hover { color: #fff; }

/* The mark reads at 16px by design, so it holds up at this size. Slightly
   dimmed so the wordmark stays the thing the eye lands on first. */
.masthead__mark {
  flex: none;
  display: block;
  width: 22px; height: 22px;
  border-radius: 6px;
  /* the mark's own ground is close to the masthead's, so without a ring
     the tile vanishes and the seats read as loose dots */
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .11);
  opacity: .9;
  transition: opacity .16s, box-shadow .16s;
}
.masthead__name:hover .masthead__mark {
  opacity: 1;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .22);
}

.masthead__tag {
  font-size: 11px; color: var(--text-mut);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

@media (max-width: 760px) {
  .masthead__tag { display: none; }
}

/* ---------------------------------------------------------------- topbar */

.topbar {
  flex: none;
  display: grid;
  /* the identity column is wide enough for the longest official name and does
     not change width between organizations, so the tab row never shifts */
  grid-template-columns: minmax(0, clamp(300px, 41vw, 690px)) minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--ink-700);
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), transparent);
  backdrop-filter: blur(6px);
}

.identity { display: flex; align-items: center; gap: 14px; min-width: 0; }

.identity__logo {
  width: 58px; height: 58px; flex: none;
  border-radius: 14px;
  background: var(--ink-800);
  box-shadow: var(--shadow-2), 0 0 0 1px rgba(255, 255, 255, .07) inset;
  transition: transform .35s cubic-bezier(.2, .8, .3, 1);
}
.identity__logo:hover { transform: translateY(-2px) scale(1.03); }

.identity__text { min-width: 0; }

.identity__name {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(16px, 1.45vw, 23px);
  font-weight: 600;
  letter-spacing: .1px;
  line-height: 1.15;
  /* the abbreviation is a padded badge, not a run of text: sitting it on the
     name's baseline drops it low, so it is centred on the name instead */
  display: flex; align-items: center; gap: 9px;
  white-space: nowrap; overflow: hidden;
}
/* long official names shrink and ellipsize rather than pushing the badge out */
.identity__name > span:first-child {
  min-width: 0; overflow: hidden; text-overflow: ellipsis;
}
.identity__name[data-long="1"] { font-size: clamp(14px, 1.3vw, 20px); }
.identity__name[data-long="2"] { font-size: clamp(13px, 1.1vw, 17px); }

.identity__abbr {
  font-family: var(--ui);
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  padding: 3px 7px; border-radius: var(--r-sm);
  color: var(--org-accent);
  background: color-mix(in srgb, var(--org) 26%, transparent);
  border: 1px solid color-mix(in srgb, var(--org) 45%, transparent);
  flex: none;
}

.identity__hq {
  margin: 3px 0 0;
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--text-dim);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.identity__hq .pin { width: 13px; height: 13px; fill: var(--gold); flex: none; }

.identity__tagline {
  margin: 2px 0 0;
  font-size: 11.5px; color: var(--text-mut);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* organization switcher */
.orgpicker { min-width: 0; }
/* the twelve tabs wrap onto a second row rather than being clipped */
.orgpicker__tabs {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 6px 16px; padding: 2px;
  margin-inline: auto;
  scrollbar-width: thin;
}

/* organizations are clustered by kind; a cluster wraps as a unit */
.orggroup { display: flex; flex-direction: column; gap: 3px; }
.orggroup__label {
  font-size: 8.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-mut); padding-left: 3px; white-space: nowrap;
}
.orggroup__row { display: flex; gap: 4px; }
.orgpicker__tabs::-webkit-scrollbar { height: 6px; }
.orgpicker__tabs::-webkit-scrollbar-thumb { background: var(--ink-600); border-radius: 3px; }

.orgtab {
  display: flex; align-items: center; gap: 5px;
  padding: 4px 8px 4px 4px;
  border: 1px solid var(--ink-700);
  border-radius: 999px;
  background: var(--ink-800);
  color: var(--text-dim);
  font: inherit; font-size: 11px; font-weight: 600;
  white-space: nowrap; cursor: pointer;
  transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.orgtab:hover { background: var(--ink-750); color: var(--text); transform: translateY(-1px); }
.orgtab img { width: 18px; height: 18px; border-radius: 5px; flex: none; }
.orgtab[aria-selected="true"] {
  color: #fff;
  border-color: color-mix(in srgb, var(--tab-color, var(--org)) 70%, transparent);
  background: color-mix(in srgb, var(--tab-color, var(--org)) 30%, var(--ink-800));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--tab-color, var(--org)) 30%, transparent);
}

/* year, top right */
.yearbox { justify-self: end; text-align: right; }

.yearbox__year {
  font-family: var(--display);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.01em;
  color: #fff;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 34px color-mix(in srgb, var(--org) 45%, transparent);
}

.yearbox__meta {
  margin-top: 4px;
  display: flex; gap: 8px; justify-content: flex-end; align-items: baseline;
  font-size: 12px; color: var(--text-dim);
  font-variant-numeric: tabular-nums;
}
.yearbox__delta { color: var(--good); font-weight: 600; }
.yearbox__delta.is-loss { color: #ef8080; }

/* ----------------------------------------------------------------- stage */

.stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 336px;
  gap: 16px;
  padding: 16px 22px;
  flex: 1 1 0;
  min-height: 0;
}

.arena {
  display: flex;
  flex-direction: column;
  min-height: 0; min-width: 0;
  background: linear-gradient(180deg, var(--ink-850), var(--ink-900));
  border: 1px solid var(--ink-700);
  border-radius: var(--r-lg);
  padding: 14px 16px 10px;
}

.arena__head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
}

.bodytabs { display: flex; gap: 5px; flex-wrap: wrap; }
.arena__head > .bodytabs { flex: 0 1 auto; }

.bodytab {
  display: inline-flex; align-items: center;
  height: var(--ctl-h);
  padding: 0 12px;
  border: 1px solid var(--ink-700);
  border-radius: 999px;
  background: transparent;
  color: var(--text-dim);
  font: inherit; font-size: 12px; font-weight: 600;
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
}
.bodytab:hover { color: var(--text); background: var(--ink-800); }
.bodytab[aria-selected="true"] {
  color: #0a0e15;
  background: var(--org-accent);
  border-color: var(--org-accent);
}

/* Controls on one line, with the live seat count hanging beneath them at the
   right-hand edge. The count is taken out of the flow: in it, it would make
   this column taller than the body tabs beside it and push the description a
   further thirty pixels down the page. */
.arena__tools {
  position: relative;
  display: flex; flex-direction: column;
  align-items: flex-end;
}
.arena__toolrow {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  justify-content: flex-end;
}

.seatcount {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  padding: 3px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--org) 22%, transparent);
  border: 1px solid color-mix(in srgb, var(--org) 40%, transparent);
  color: var(--org-accent);
  font-size: 11px; font-weight: 600; letter-spacing: .05em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.field { display: flex; align-items: center; gap: 6px; }
.field__label {
  font-size: 10px; text-transform: uppercase; letter-spacing: .1em;
  color: var(--text-dim);
}
.field select, .field input {
  font: inherit; font-size: 12px;
  color: var(--text);
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  border-radius: var(--r-sm);
  height: var(--ctl-h);
  padding: 0 8px;
  outline: none;
}
.field select:focus-visible, .field input:focus-visible {
  border-color: var(--org-accent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--org) 35%, transparent);
}
.field--search input { width: 128px; }

/* The seat count leads the line rather than floating in the toolbar, and the
   measure is wide enough that most descriptions sit on a single line. */
.arena__desc {
  margin: 8px 2px 2px;
  /* keeps the text clear of the seat count hanging at the right */
  padding-right: 96px;
  font-size: 12.5px; line-height: 1.55;
  color: var(--text-dim);
  max-width: 104ch;
  /* a description that needs two lines gets two even ones rather than a full
     line and a short remainder; ignored by browsers that do not support it */
  text-wrap: balance;
}


.arena__note {
  margin: 6px 2px 2px;
  font-size: 11.5px; color: var(--text-mut);
  border-left: 2px solid var(--ink-600);
  padding-left: 9px;
}

/* ------------------------------------------------------------- chamber */

.chamber-wrap {
  position: relative;
  flex: 1 1 0;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 8px 0;
}

.chamber {
  position: relative;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, .045), transparent 62%),
    color-mix(in srgb, var(--org) 9%, var(--ink-850));
  border: 1px solid color-mix(in srgb, var(--org) 34%, var(--ink-700));
  box-shadow:
    0 0 0 7px rgba(255, 255, 255, .015),
    inset 0 0 70px rgba(0, 0, 0, .45),
    0 22px 70px rgba(0, 0, 0, .5);
  transition: border-radius .5s cubic-bezier(.3, .8, .3, 1),
              width .35s ease, height .35s ease;
}
.chamber[data-shape="circle"] { border-radius: 50%; }
.chamber[data-shape="square"] { border-radius: 22px; }

.seats { position: absolute; inset: 0; }

/* ---------------------------------------------------------------- seats */

.seat {
  position: absolute; top: 0; left: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
  padding: 0;
  border: 0; margin: 0;
  background: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transform-origin: 50% 50%;
  transition:
    transform .55s cubic-bezier(.25, .9, .3, 1),
    width .3s ease, height .3s ease, opacity .3s ease;
  will-change: transform;
}

.seat__flag {
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  border-radius: 3px;
  object-fit: cover;
  display: block;
  background: var(--ink-700);
  box-shadow:
    0 0 0 1px var(--seat-ring),
    var(--shadow-1);
  transition: box-shadow .2s, transform .2s;
}

/* a seat held by an organization rather than a state shows its emblem whole */
.seat__flag--emblem {
  object-fit: contain;
  background: var(--ink-800);
  padding: 1px;
}

.seat__abbr {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .02em;
  line-height: 1.25;
  color: #b7c6da;
  white-space: nowrap;
  transition: color .2s;
}

.seat:hover { z-index: 20; }
.seat:hover .seat__flag {
  transform: scale(1.22);
  box-shadow: 0 0 0 2px var(--org-accent), 0 8px 20px rgba(0, 0, 0, .6);
}
.seat:hover .seat__abbr { color: #fff; }

.seat:focus-visible { outline: none; }
.seat:focus-visible .seat__flag {
  box-shadow: 0 0 0 2px var(--gold), 0 6px 18px rgba(0, 0, 0, .6);
}

/* seats too small to carry a legible label */
.seats[data-tiny="1"] .seat__abbr { display: none; }

/* entering / leaving the chamber as the year changes */
.seat--enter { animation: seat-in .6s cubic-bezier(.2, 1.1, .35, 1) both; }
.seat--exit  { animation: seat-out .38s ease forwards; pointer-events: none; }

@keyframes seat-in {
  0%   { opacity: 0; transform: translate(var(--x), var(--y)) scale(.2); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: translate(var(--x), var(--y)) scale(1); }
}
@keyframes seat-out {
  to { opacity: 0; transform: translate(var(--x), var(--y)) scale(.15); }
}

/* just joined in the displayed year */
.seat--new .seat__flag {
  box-shadow: 0 0 0 2px var(--good), 0 0 16px color-mix(in srgb, var(--good) 55%, transparent);
}
.seat--new .seat__abbr { color: var(--good); }

/* Colour-coding fills a card behind the flag and its label rather than ringing
   the flag, so seats sharing a category read as one block of colour. */
.seat::before {
  content: "";
  position: absolute;
  inset: calc(-1 * var(--seat-pad, 3px));
  border-radius: calc(var(--seat-pad, 3px) + 4px);
  background: color-mix(in srgb, var(--tint, transparent) 36%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tint, transparent) 55%, transparent);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
  z-index: 0;
}
.seat[data-tint]::before { opacity: 1; }
.seat[data-tint]:hover::before {
  background: color-mix(in srgb, var(--tint) 52%, transparent);
}
.seat__flag, .seat__abbr { position: relative; z-index: 1; }
.seat[data-tint] .seat__abbr { color: #dbe6f4; }

/* when a legend group is isolated the cards carry the highlight themselves */
.seats.is-isolating .seat--match .seat__flag {
  box-shadow: 0 0 0 1px var(--seat-ring), var(--shadow-1);
}
.seats.is-isolating .seat--match::before {
  background: color-mix(in srgb, var(--tint) 60%, transparent);
  box-shadow: inset 0 0 0 1px var(--tint), 0 4px 14px rgba(0, 0, 0, .45);
}

/* search filtering */
.seats.is-filtering .seat { opacity: .16; }
.seats.is-filtering .seat--match { opacity: 1; }
.seats.is-filtering .seat--match .seat__flag {
  box-shadow: 0 0 0 2px var(--gold), 0 0 18px rgba(230, 197, 106, .5);
}

/* pinned selection */
.seat--pinned .seat__flag {
  box-shadow: 0 0 0 2.5px var(--gold), 0 0 22px rgba(230, 197, 106, .55);
}

/* group rings inside a chamber */
.ringlabel {
  position: absolute;
  transform: translate(-50%, -50%);
  font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-mut);
  pointer-events: none;
  white-space: nowrap;
}
.groupband {
  position: absolute;
  border: 1px dashed color-mix(in srgb, var(--org-accent) 24%, transparent);
  border-radius: 50%;
  pointer-events: none;
}
.grouphead {
  position: absolute; left: 0; right: 0;
  font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-mut);
  text-align: center;
  pointer-events: none;
}

/* -------------------------------------------------------------- sidebar */

.sidebar {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 12px;
  min-height: 0;
}

.panel {
  background: linear-gradient(180deg, var(--ink-850), var(--ink-900));
  border: 1px solid var(--ink-700);
  border-radius: var(--r-lg);
  padding: 12px 13px;
  min-height: 0;
  display: flex; flex-direction: column;
}

.panel__title {
  margin: 0 0 9px;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-mut);
}
.panel__title span { color: var(--org-accent); font-variant-numeric: tabular-nums; }

.panel__caption {
  margin: 8px 0 0;
  font-size: 11px; color: var(--text-mut); line-height: 1.45;
}

/* map */
.mapwrap { position: relative; }
.mapwrap svg { display: block; width: 100%; height: auto; }

.map__sea { fill: #0a1420; }
.map__land { fill: #1b2739; stroke: #0a1420; stroke-width: .35; transition: fill .45s ease; }
.map__land.is-member { fill: color-mix(in srgb, var(--org) 55%, #16212f); }
.map__land.is-seat { fill: var(--org); }
.map__dot { fill: transparent; stroke: none; transition: fill .45s ease, r .3s ease; }
.map__dot.is-member { fill: color-mix(in srgb, var(--org-accent) 55%, transparent); }
.map__dot.is-seat { fill: var(--org-accent); }
.map__land.is-focus, .map__dot.is-focus { fill: var(--gold); }
.map__hq { fill: var(--gold); }
.map__hq-ring {
  fill: none; stroke: var(--gold); stroke-width: 1;
  animation: hq-pulse 2.6s ease-out infinite;
}
@keyframes hq-pulse {
  0%   { r: 2; opacity: .9; }
  100% { r: 9; opacity: 0; }
}
.map__grat { stroke: rgba(255, 255, 255, .05); fill: none; stroke-width: .4; }

/* selection detail */
.detail { display: flex; flex-direction: column; gap: 8px; }
.detail--empty { min-height: 62px; justify-content: center; }
.detail__hint { margin: 0; font-size: 11.5px; color: var(--text-mut); line-height: 1.5; }

.detail__top { display: flex; gap: 10px; align-items: center; }
.detail__flag {
  width: 46px; height: 31px; object-fit: cover;
  border-radius: 4px; flex: none;
  box-shadow: 0 0 0 1px var(--seat-ring), var(--shadow-1);
}
.detail__names { min-width: 0; }
.detail__name {
  margin: 0; font-size: 14px; font-weight: 650; line-height: 1.2;
  font-family: var(--display);
}
.detail__formal { margin: 2px 0 0; font-size: 11px; color: var(--text-mut); line-height: 1.35; }

.detail__rows { display: grid; gap: 4px; }
.drow { display: flex; justify-content: space-between; gap: 10px; font-size: 11.5px; }
.drow dt { color: var(--text-mut); margin: 0; }
.drow dd { margin: 0; color: var(--text); text-align: right; font-variant-numeric: tabular-nums; }

.chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; }
.chip {
  font-size: 10px; padding: 2px 7px; border-radius: 999px;
  border: 1px solid var(--ink-600); color: var(--text-dim);
  background: var(--ink-800);
}
.chip--in { border-color: color-mix(in srgb, var(--good) 50%, transparent); color: var(--good); }

/* events */
.panel--events { overflow: hidden; }
.events {
  list-style: none; margin: 0; padding: 0 4px 0 0;
  overflow-y: auto; min-height: 0;
  display: flex; flex-direction: column; gap: 2px;
  scrollbar-width: thin;
}
.events::-webkit-scrollbar { width: 6px; }
.events::-webkit-scrollbar-thumb { background: var(--ink-600); border-radius: 3px; }

.event {
  display: grid; grid-template-columns: 42px 1fr; gap: 9px;
  padding: 6px 7px; border-radius: var(--r-sm);
  font-size: 11.5px; line-height: 1.45;
  color: var(--text-dim);
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .18s, color .18s, border-color .18s;
}
.event:hover { background: var(--ink-800); color: var(--text); }
.event__year {
  font-family: var(--mono); font-size: 11px; color: var(--text-mut);
  font-variant-numeric: tabular-nums;
}
.event.is-past { opacity: .55; }
.event.is-current {
  background: color-mix(in srgb, var(--org) 20%, transparent);
  border-color: color-mix(in srgb, var(--org) 45%, transparent);
  color: #fff; opacity: 1;
}
.event.is-current .event__year { color: var(--org-accent); }
.event.is-future { opacity: .3; }

/* ------------------------------------------------------------- timeline */

.timeline {
  flex: none;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 10px 26px 16px;
  border-top: 1px solid var(--ink-700);
  background: linear-gradient(0deg, rgba(255, 255, 255, .025), transparent);
}

.timeline__controls { display: flex; gap: 7px; align-items: center; }

.btn {
  display: grid; place-items: center;
  border: 1px solid var(--ink-700);
  background: var(--ink-800);
  color: var(--text-dim);
  border-radius: var(--r-sm);
  cursor: pointer;
  font: inherit;
  transition: background .18s, color .18s, border-color .18s, transform .12s;
}
.btn:hover { background: var(--ink-750); color: var(--text); }
.btn:active { transform: scale(.95); }

.btn--play { width: 40px; height: 40px; border-radius: 50%; }
.btn--play .ico { width: 19px; height: 19px; fill: currentColor; }
.btn--play .ico--pause { display: none; }
.btn--play[data-playing="1"] {
  color: #0a0e15; background: var(--org-accent); border-color: var(--org-accent);
}
.btn--play[data-playing="1"] .ico--play { display: none; }
.btn--play[data-playing="1"] .ico--pause { display: block; }

.btn--step { width: var(--ctl-h); height: var(--ctl-h); font-size: 16px; line-height: 1; }
.btn--now { height: var(--ctl-h); padding: 0 11px; font-size: 11px; font-weight: 600; }

.timeline__track { position: relative; padding-top: 34px; }

.growth {
  position: absolute; left: 0; right: 0; top: 0; height: 38px;
  pointer-events: none;
}
.growth svg { width: 100%; height: 100%; display: block; }
.growth .g-area { fill: color-mix(in srgb, var(--org) 46%, transparent); }
.growth .g-line { fill: none; stroke: var(--org-accent); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.growth .g-now  { stroke: var(--gold); stroke-width: 1; opacity: .8; }

.markers { position: absolute; left: 0; right: 0; top: 32px; height: 12px; }
.marker {
  position: absolute; top: 3px;
  width: 7px; height: 7px; margin-left: -3.5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: .55;
  cursor: pointer;
  transition: transform .18s, opacity .18s;
}
.marker:hover { transform: scale(1.7); opacity: 1; }

.range {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 22px; margin: 0;
  background: transparent; cursor: pointer; display: block;
}
.range::-webkit-slider-runnable-track {
  height: 5px; border-radius: 3px;
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--org) 85%, transparent) var(--fill, 0%),
    var(--ink-700) var(--fill, 0%));
}
.range::-moz-range-track {
  height: 5px; border-radius: 3px; background: var(--ink-700);
}
.range::-moz-range-progress {
  height: 5px; border-radius: 3px;
  background: color-mix(in srgb, var(--org) 85%, transparent);
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 17px; height: 17px; border-radius: 50%;
  background: #fff; border: 3px solid var(--org);
  margin-top: -6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .6);
  transition: transform .15s;
}
.range::-moz-range-thumb {
  width: 15px; height: 15px; border-radius: 50%;
  background: #fff; border: 3px solid var(--org);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .6);
}
.range:hover::-webkit-slider-thumb { transform: scale(1.14); }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px color-mix(in srgb, var(--org) 40%, transparent); }

.scale {
  position: relative; height: 15px; margin-top: 1px;
  font-size: 10px; color: var(--text-mut);
  font-variant-numeric: tabular-nums;
}
.scale span {
  position: absolute; transform: translateX(-50%);
  white-space: nowrap;
}
.scale span::before {
  content: ""; position: absolute; left: 50%; top: -4px;
  width: 1px; height: 3px; background: var(--ink-600);
}

/* --------------------------------------------------------------- legend */

.arena__foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
}

.legend {
  display: flex; flex-wrap: wrap; gap: 5px;
  margin: 6px 2px 2px;
  margin-left: auto;          /* keep it right-aligned even with no note */
  justify-content: flex-end;
}

.legend__item {
  display: flex; align-items: center; gap: 6px;
  padding: 3px 9px 3px 5px;
  border: 1px solid color-mix(in srgb, var(--tint) 45%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--tint) 16%, transparent);
  color: var(--text-dim);
  font: inherit; font-size: 11px; font-weight: 600;
  cursor: pointer; white-space: nowrap;
  transition: background .18s, color .18s, transform .12s;
}
.legend__item:hover {
  background: color-mix(in srgb, var(--tint) 32%, transparent);
  color: #fff;
}
.legend__item:active { transform: scale(.97); }
.legend__item[aria-pressed="true"] {
  background: color-mix(in srgb, var(--tint) 55%, transparent);
  border-color: var(--tint);
  color: #fff;
}
.legend__swatch {
  width: 11px; height: 11px; border-radius: 3px; flex: none;
  background: var(--tint);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .35);
}
.legend__count {
  font-variant-numeric: tabular-nums;
  color: var(--text-mut); font-weight: 500;
}
.legend__item[aria-pressed="true"] .legend__count { color: rgba(255, 255, 255, .8); }


/* ------------------------------------------------- accessibility helpers */

.sr-only {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

.skiplink {
  position: fixed; top: 8px; left: 8px; z-index: 300;
  transform: translateY(-200%);
  padding: 9px 14px; border-radius: var(--r-sm);
  background: var(--org-accent); color: #0a0e15;
  font-size: 13px; font-weight: 700; text-decoration: none;
  transition: transform .18s ease;
}
.skiplink:focus { transform: translateY(0); }

/* ------------------------------------------------------------- notices */

.notice {
  flex: none;
  display: flex; align-items: center; gap: 12px;
  padding: 8px 20px;
  background: color-mix(in srgb, var(--gold) 16%, var(--ink-850));
  border-bottom: 1px solid color-mix(in srgb, var(--gold) 35%, transparent);
  color: #f2e4bd; font-size: 12.5px; line-height: 1.45;
}
.notice__x {
  margin-left: auto; flex: none;
  width: 24px; height: 24px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .08);
  color: inherit; font-size: 16px; line-height: 1; cursor: pointer;
}
.notice__x:hover { background: rgba(255, 255, 255, .18); }

/* -------------------------------------------------------- intro coach */

.intro {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 10px;
  padding: 10px 12px;
  border: 1px solid color-mix(in srgb, var(--org) 40%, transparent);
  background: color-mix(in srgb, var(--org) 14%, transparent);
  border-radius: var(--r-md);
}
.intro__text {
  margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--text);
}
.intro__text strong { color: #fff; }
.intro__text em { color: var(--org-accent); font-style: normal; font-weight: 600; }
.intro .btn { flex: none; }

/* --------------------------------------------------- segmented control */

.segmented {
  display: inline-flex; min-height: var(--ctl-h);
  border: 1px solid var(--ink-700);
  border-radius: var(--r-sm);
  overflow: hidden;
}
.seg {
  display: inline-flex; align-items: center;
  border: 0; margin: 0;
  padding: 0 10px;
  background: var(--ink-800);
  color: var(--text-dim);
  font: inherit; font-size: 11.5px; font-weight: 600;
  cursor: pointer;
  transition: background .16s, color .16s;
}
.seg + .seg { border-left: 1px solid var(--ink-700); }
.seg:hover { background: var(--ink-750); color: var(--text); }
.seg[aria-pressed="true"] {
  background: color-mix(in srgb, var(--org) 55%, var(--ink-800));
  color: #fff;
}
.segmented--speed .seg { font-variant-numeric: tabular-nums; min-width: 34px; }

/* ---------------------------------------------------------- table view */

.tablewrap { flex: 1 1 0; min-height: 0; overflow: auto; padding: 0 2px 8px; }

.seattable {
  width: 100%;
  /* separate borders: with collapsed ones the sticky header leaves its border
     behind and rows show through the seam as they scroll under it */
  border-collapse: separate;
  border-spacing: 0;
  font-size: 12.5px;
}
.seattable caption {
  text-align: left; padding: 0 0 8px;
  font-size: 11.5px; color: var(--text-mut);
}
.seattable th, .seattable td {
  text-align: left; padding: 5px 10px 5px 0;
  border-bottom: 1px solid var(--ink-800);
  white-space: nowrap;
}
.seattable caption { position: relative; z-index: 1; background: var(--ink-850); }
.seattable thead th {
  position: sticky; top: 0; z-index: 3;
  /* an explicit height: a sticky cell is sized by its own content, so the
     unlabelled flag column would otherwise be shorter than its neighbours and
     leave a slot for rows to show through */
  height: 30px;
  padding-top: 0; padding-bottom: 0;
  background: var(--ink-850);
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-mut); font-weight: 700;
  border-bottom: 0;
  box-shadow: inset 0 -1px 0 var(--ink-700);
}
.seattable tbody tr:hover { background: var(--ink-850); }

/* sortable headers */
.seattable thead th { padding-right: 0; }
.thbtn {
  display: inline-flex; align-items: center; gap: 3px;
  width: 100%; height: 100%;
  padding: 0 10px 0 0;
  border: 0; background: none;
  color: inherit; font: inherit; letter-spacing: inherit;
  text-transform: inherit; text-align: left;
  cursor: pointer;
}
.thbtn:hover { color: var(--text); }
.thbtn .caret { font-size: 8px; opacity: 0; transition: opacity .15s; }
.thbtn:hover .caret { opacity: .45; }
.seattable th[aria-sort="ascending"] .thbtn,
.seattable th[aria-sort="descending"] .thbtn { color: var(--org-accent); }
.seattable th[aria-sort="ascending"] .caret,
.seattable th[aria-sort="descending"] .caret { opacity: 1; }
.seattable td.num { font-variant-numeric: tabular-nums; }
.seattable .tflag {
  width: 26px; height: 17px; object-fit: cover; border-radius: 3px;
  display: block; box-shadow: 0 0 0 1px var(--seat-ring);
}
.seattable .tname { color: var(--text); font-weight: 600; white-space: normal; }
.seattable .tcode { font-family: var(--mono); font-size: 11px; color: var(--text-mut); }
.seattable .tgroup { display: flex; align-items: center; gap: 6px; }
.seattable .tdot {
  width: 9px; height: 9px; border-radius: 2px; flex: none;
  background: var(--tint, var(--ink-600));
}
.seattable tr.is-new td { color: var(--good); }
.seattable .tbtn {
  border: 0; background: none; color: inherit; font: inherit;
  padding: 0; cursor: pointer; text-align: left;
}
.seattable .tbtn:hover .tname { color: var(--org-accent); }

/* -------------------------------------------------------- site footer */

.sitefoot {
  flex: none;
  display: flex; align-items: center; gap: 6px 14px; flex-wrap: wrap;
  padding: 9px 22px 11px;
  border-top: 1px solid var(--ink-800);
  font-size: 11px; line-height: 1.55;
  color: #8496ad;
}
.sitefoot p { margin: 0; }
.sitefoot__meta { white-space: nowrap; font-variant-numeric: tabular-nums; }
/* a divider between one piece of provenance and the next, drawn rather
   than written, so the markup carries no punctuation of its own */
.sitefoot__meta + .sitefoot__meta::before {
  content: "|";
  margin-right: 14px;
  color: var(--sep);
}
.sitefoot__note { flex: 1 1 300px; min-width: 0; color: var(--text-mut); }
/* a divider between the provenance and the disclaimer; decorative, so it is
   drawn rather than written into the markup */
.sitefoot__note::before {
  content: "|";
  margin-right: 14px;
  color: var(--sep);
}
.sitefoot__links {
  display: flex; align-items: baseline; gap: 14px;
  margin-left: auto; flex: none;
}
.sitefoot__sep { color: var(--sep); }

/* the usual footer-link treatment — small, quiet, underlined, divided by a
   pipe, the way Terms & Conditions or an Impressum are set */
.footlink {
  padding: 0; border: 0; background: none;
  color: #fff;
  font: inherit; font-size: 11px; font-weight: 400;
  white-space: nowrap; cursor: pointer;
  text-decoration: underline;
  /* the text stays white, so hover is carried by the underline firming up */
  text-decoration-color: rgba(255, 255, 255, .4);
  text-underline-offset: 3px;
  transition: text-decoration-color .16s;
}
.footlink:hover {
  text-decoration-color: #fff;
}
.footlink:focus-visible {
  outline: 2px solid var(--org-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* inline text links inside prose keep the underlined treatment */
.linkbtn {
  border: 0; background: none; padding: 0;
  color: var(--org-accent); font: inherit; font-size: inherit; font-weight: 600;
  cursor: pointer; text-decoration: underline;
  text-underline-offset: 2px;
}
.linkbtn:hover { color: #fff; }

/* --------------------------------------------------------- about panel */

.about {
  max-width: 700px; width: calc(100% - 32px);
  max-height: 86vh;
  padding: 24px 26px 28px;
  border: 1px solid var(--ink-600);
  border-radius: var(--r-lg);
  background: var(--ink-850);
  color: var(--text);
  font-size: 13.5px; line-height: 1.6;
  box-shadow: var(--shadow-3);
}
.about::backdrop { background: rgba(4, 7, 12, .72); backdrop-filter: blur(3px); }
.about__close { position: sticky; top: 0; float: right; margin: -6px -6px 0 0; }
.about__head {
  display: flex; align-items: center; gap: 13px;
  margin: 0 0 14px;
}
.about__mark {
  width: 44px; height: 44px; flex: none;
  border-radius: 11px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .07) inset, var(--shadow-1);
}
.about__title {
  margin: 0;
  font-family: var(--display); font-size: 22px; font-weight: 700;
}
.about__h3 {
  margin: 18px 0 7px;
  font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-mut);
}
.about p { margin: 0 0 10px; }
.about a { color: var(--org-accent); }
.about__small { font-size: 12px; color: var(--text-dim); }
.about__lead { font-size: 14.5px; line-height: 1.55; color: var(--text); }
.about__intro {
  font-size: 12.5px; line-height: 1.6;
  color: var(--text-dim);
}
.about__intro strong { color: var(--text); }
/* only the one directly under the lead is pulled up against it */
.about__lead + .about__intro { margin-top: -4px; }

/* --- the numbers, up front ------------------------------------------- */

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  margin: 16px 0 14px;
}
.stat {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 12px;
  border: 1px solid var(--ink-700);
  border-radius: var(--r-md);
  background: var(--ink-900);
}
.stat__n {
  font-family: var(--display);
  font-size: 21px; font-weight: 700; line-height: 1;
  color: var(--org-accent);
  font-variant-numeric: tabular-nums;
}
.stat__l {
  font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-mut); line-height: 1.3;
}

/* --- the twenty emblems, as a way in --------------------------------- */

.orggrid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 6px;
  margin: 0 0 16px;
}
.orggrid__item {
  padding: 0; border: 0; background: none; cursor: pointer;
  border-radius: 9px; line-height: 0;
  transition: transform .16s, box-shadow .16s;
}
.orggrid__item img { width: 100%; height: auto; border-radius: 9px; display: block; }
.orggrid__item:hover { transform: translateY(-2px); }
.orggrid__item:hover img,
.orggrid__item:focus-visible img {
  box-shadow: 0 0 0 2px var(--org-accent), 0 6px 16px rgba(0, 0, 0, .55);
}
.orggrid__item:focus-visible { outline: none; }

/* --- sources and limits as compact grids ----------------------------- */

.srcgrid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 7px 16px;
  margin: 0 0 10px; padding: 0; list-style: none;
}
.srcgrid li {
  display: flex; flex-direction: column; gap: 1px;
  padding-left: 10px;
  border-left: 2px solid var(--ink-700);
  font-size: 12px;
}
.srcgrid .covers { color: var(--text-mut); font-size: 11.5px; line-height: 1.4; }

.limits {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px;
  margin: 0 0 6px; padding-left: 17px;
  font-size: 12px; color: var(--text-dim);
}
.limits li { margin: 0; line-height: 1.45; }

/* Found a mistake? and Reuse run one under the other */
.about__cols { display: block; margin-top: 4px; }

@media (max-width: 640px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .orggrid { grid-template-columns: repeat(7, 1fr); }
  .srcgrid, .limits { grid-template-columns: 1fr; }
}

/* --- keyboard and privacy, side by side ------------------------------- */

.about__pair {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px;
  align-items: start;
}

.keys {
  display: grid; grid-template-columns: auto 1fr; gap: 6px 10px;
  margin: 0; font-size: 12px;
}
/* align-items keeps a key cap its own height when the wording beside it wraps */
.keys dt { display: flex; gap: 3px; align-items: flex-start; }
.keys dd { margin: 0; color: var(--text-mut); line-height: 1.4; }

kbd {
  display: inline-block;
  min-width: 20px; padding: 2px 5px;
  border: 1px solid var(--ink-600);
  border-bottom-width: 2px;
  border-radius: 4px;
  background: var(--ink-800);
  color: var(--text);
  font-family: var(--mono); font-size: 10.5px; line-height: 1.3;
  text-align: center; white-space: nowrap;
}

@media (max-width: 640px) {
  .about__pair { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------- support */

.supportlinks { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 4px; }

.supportlink {
  padding: 7px 14px;
  border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--gold) 12%, transparent);
  color: var(--gold);
  font-size: 12.5px; font-weight: 600;
  text-decoration: none; white-space: nowrap;
  transition: background .16s, color .16s;
}
.supportlink:hover {
  background: color-mix(in srgb, var(--gold) 26%, transparent);
  color: #fff;
}

/* ---------------------------------------------------------------- citing */

.citescope {
  display: flex; align-items: flex-start; gap: 8px;
  margin: 4px 0 14px;
  font-size: 12.5px; color: var(--text-dim); cursor: pointer;
}
.citescope input { margin: 2px 0 0; accent-color: var(--org); flex: none; }
.citescope b { color: var(--text); font-weight: 600; }

.about--cite .segmented { margin-bottom: 10px; }

.citebox {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--ink-600);
  border-radius: var(--r-sm);
  background: var(--ink-900);
  color: var(--text);
  font-family: var(--mono);
  font-size: 11.5px; line-height: 1.6;
  resize: vertical;
  white-space: pre-wrap;
}
.citebox:focus { outline: none; border-color: var(--org-accent); }

.citeactions {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin: 10px 0 6px;
}

/* -------------------------------------------------------------- tooltip */

.tooltip {
  position: fixed; z-index: 100;
  pointer-events: none;
  min-width: 168px; max-width: 262px;
  padding: 9px 11px;
  background: rgba(12, 17, 27, .97);
  border: 1px solid var(--ink-600);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-3);
  font-size: 12px;
  line-height: 1.45;
  transform: translate(-50%, calc(-100% - 14px));
  opacity: 0;
  transition: opacity .12s ease;
}
.tooltip[data-show="1"] { opacity: 1; }
.tooltip::after {
  content: ""; position: absolute; left: 50%; bottom: -6px;
  width: 10px; height: 10px; margin-left: -5px;
  background: rgba(12, 17, 27, .97);
  border-right: 1px solid var(--ink-600);
  border-bottom: 1px solid var(--ink-600);
  transform: rotate(45deg);
}
.tt__head { display: flex; gap: 8px; align-items: center; }
.tt__flag {
  width: 30px; height: 20px; object-fit: cover; border-radius: 3px; flex: none;
  box-shadow: 0 0 0 1px var(--seat-ring);
}
.tt__name { font-weight: 650; font-size: 12.5px; }
.tt__code { font-family: var(--mono); font-size: 10px; color: var(--text-mut); }
.tt__formal { margin-top: 5px; color: var(--text-dim); font-size: 11px; }
.tt__meta {
  margin-top: 6px; padding-top: 6px;
  border-top: 1px solid var(--ink-700);
  color: var(--text-mut); font-size: 11px;
  display: grid; gap: 2px;
}
.tt__meta b { color: var(--text); font-weight: 600; }

/* --------------------------------------------------------------- loader */

.loader {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-content: center; gap: 12px; justify-items: center;
  background: var(--ink-900);
  color: var(--text-dim); font-size: 13px;
  transition: opacity .4s ease, visibility .4s;
}
.loader span {
  width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid var(--ink-600); border-top-color: var(--org-accent);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.app:not([aria-busy="true"]) .loader { opacity: 0; visibility: hidden; }

.loader.is-error span { display: none; }
.loader.is-error { color: #ef8080; max-width: 520px; margin: auto; text-align: center; }

/* ------------------------------------------------------------ responsive */

/* between roughly a laptop and a small desktop there is no room for twenty
   labelled tabs beside a full organization name, so the tabs show their emblem
   only and rely on the tooltip and the heading for identification */
@media (min-width: 961px) and (max-width: 1500px) {
  .orgtab > span { display: none; }
  .orgtab { padding: 4px; }
  .orgtab img { width: 22px; height: 22px; }
}

@media (max-width: 1180px) {
  .stage { grid-template-columns: minmax(0, 1fr) 290px; }
  .identity__tagline { display: none; }
}

@media (max-width: 960px) {
  body { overflow: auto; }
  .app { height: auto; min-height: 100dvh; }
  .topbar { grid-template-columns: 1fr auto; row-gap: 12px; }
  .orgpicker { grid-column: 1 / -1; grid-row: 2; overflow: hidden; }
  .orgpicker__tabs {
    flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start;
    max-width: none;
  }
  .orggroup__label { display: none; }
  /* the shell is auto-height here, so a flex-basis of 0 would collapse the
     stage to its min-content and let the chamber escape it */
  .stage { grid-template-columns: minmax(0, 1fr); flex: 0 0 auto; }
  .tablewrap { flex: 0 0 auto; }
  /* on a stacked layout the chamber sizes to its seats instead of stretching
     to fill a tall viewport row */
  .chamber-wrap { flex: 0 0 auto; min-height: 330px; padding: 12px 0 4px; }
  .sidebar { grid-template-rows: auto auto auto; }
  .panel--events .events { max-height: 220px; }
  .sitefoot { padding-left: 12px; padding-right: 12px; }
  .masthead { padding-left: 12px; padding-right: 12px; }
  .arena__tools { gap: 8px; }
  .tablewrap { max-height: none; }
  .timeline { position: sticky; bottom: 0; z-index: 30; background: var(--ink-900); }
}

/* Below this the controls take the whole row and leave the slider a sliver,
   which crushes the year scale into itself. Give the track its own row. */
@media (max-width: 760px) {
  .timeline {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding-top: 8px;
  }
  .timeline__track { order: -1; padding-top: 30px; }
  .timeline__controls { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 620px) {
  .topbar, .stage { padding-left: 12px; padding-right: 12px; }
  .timeline { padding-left: 12px; padding-right: 12px; }
  .arena__tools { width: 100%; align-items: flex-end; }
  .arena__toolrow { width: 100%; justify-content: flex-start; }
  .identity__logo { width: 46px; height: 46px; }
}

/* below this the disclaimer drops onto its own line, where a leading divider
   would be dangling rather than dividing */
@media (max-width: 555px) {
  .sitefoot__note::before,
  .sitefoot__meta + .sitefoot__meta::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
