@import url("/cic/shell-tokens.css");
/* ---------------------------------------------------------------------------
 * SHARED VOCABULARY — shell/public/shell-tokens.css is the source of truth.
 * Values below are copied verbatim from it; nothing here is invented.
 * The shell embeds this app in a cross-origin <iframe> and custom properties
 * do not cross that boundary, so the base palette is declared locally.
 *
 * EVERY MODULE SHARES THE SAME DEFAULT BACKGROUND SCHEME. The page ground is
 * var(--of-paper) and follows the shell's theme in both directions, exactly
 * like every other surface. This module contributes an ACCENT (#ef3d57, the
 * value the shell registry publishes as --accent-jslcommand-fighters).
 *
 * THE ARENA IS THE EXCEPTION, AND IT IS SCOPED, NOT GLOBAL. `.game-shell` is
 * night artwork in both themes, so it RE-PINS the ink tokens for its own
 * subtree further down this file. That is why the palette here is the ordinary
 * light/dark pair and not, as it used to be, dark values forced on :root.
 * Pinning the dark palette globally is what made this app ignore the shell.
 * ------------------------------------------------------------------------- */
:root {
  /* base palette — light */
                      --line-strong: #536b9f;
  --field-surface: #fff;

  /* semantic aliases */
  --ink: var(--of-ink);
  --muted: var(--of-ink-soft);
  --line: var(--line-strong);
  --panel: var(--of-paper-soft);

  /* MODULE IDENTITY — the accent is this module's registry accent. --gold and
     --good are the fight's signal colours and need a legible value per theme;
     the bright arena versions live in the .game-shell scope and in the dark
     block, never on a light page. */
  --accent: #ef3d57;
  /* accent as TEXT needs darkening: raw #ef3d57 on paper is 3.46:1. */
  --accent-ink: color-mix(in srgb, var(--accent) 70%, var(--of-ink));
  /* accent as a FILL under white text: raw accent is 3.84:1, this is 5.21:1. */
  --accent-fill: color-mix(in srgb, var(--accent) 75%, #111a2d);
  --hairline: color-mix(in srgb, var(--accent) 40%, var(--of-paper));
  --card: color-mix(in srgb, var(--accent) 6%, var(--of-paper-soft));
  --surface-overlay: rgba(247, 243, 234, .96);
  --good: var(--of-good);

  font-family: Inter, ui-rounded, system-ui, sans-serif;
  color: var(--ink);
  background: var(--of-paper);
  color-scheme: light;
}

/* DARK — base palette plus the signal colours that need a dark variant.
   --ink/--muted/--line/--panel are aliases and must NOT be repeated here. */
:root[data-theme="dark"] {
  /* base palette — dark */
            --field-surface: #0f1d37;
  --surface-overlay: rgba(11, 19, 36, .96);
  --accent-ink: color-mix(in srgb, var(--accent) 85%, #fff);
  --hairline: color-mix(in srgb, var(--accent) 45%, var(--of-paper));
  --card: color-mix(in srgb, var(--accent) 12%, var(--of-paper-soft));
  --good: #70e9ad;
  color-scheme: dark;
}

/* DARK (OS preference, only when the shell has not set data-theme). Scoped to
   :root:not([data-theme]) so an explicit data-theme="light" still wins.
   Mirrors the block above exactly. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
                        --field-surface: #0f1d37;
    --surface-overlay: rgba(11, 19, 36, .96);
    --accent-ink: color-mix(in srgb, var(--accent) 85%, #fff);
    --hairline: color-mix(in srgb, var(--accent) 45%, var(--of-paper));
    --card: color-mix(in srgb, var(--accent) 12%, var(--of-paper-soft));
    --good: #70e9ad;
    color-scheme: dark;
  }
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-height: 100%;
  overflow-x: clip;
}
body {
  /* flat shared ground — identical to every other module. Identity lives in
     the card, the accent and the arena frame, never in the page. */
  background: var(--of-paper);
  color: var(--ink);
}
button,
select {
  font: inherit;
}
button {
  min-height: 2.75rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: linear-gradient(var(--of-paper-soft), var(--of-paper));
  color: var(--ink);
  font-weight: 850;
  cursor: pointer;
  box-shadow:
    inset 0 1px #ffffff19,
    0 0.2rem 0.6rem color-mix(in srgb, var(--of-ink) 22%, transparent);
}
button:hover {
  border-color: var(--accent);
  filter: brightness(1.12);
}
button:active {
  transform: translateY(1px);
}
button:focus-visible,
select:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.primary {
  background: linear-gradient(var(--accent), var(--accent-fill));
  border-color: var(--accent-fill);
  color: #fff;
}
.eyebrow {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  margin: 0;
  color: var(--accent-ink);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.eyebrow span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0.7rem color-mix(in srgb, var(--accent) 50%, transparent);
}
h1 {
  margin: 0.1rem 0;
  font-family: Impact, Haettenschweiler, sans-serif;
  font-size: clamp(3rem, 10vw, 5.8rem);
  line-height: 0.83;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  color: var(--ink);
  text-shadow:
    0 0.18rem var(--hairline),
    0 0.5rem 0.9rem color-mix(in srgb, var(--of-ink) 35%, transparent);
}
h1 small {
  font: inherit;
  font-size: 0.6em;
  color: var(--accent-ink);
}
.lede {
  max-width: 42rem;
  margin: 0.6rem 0;
  color: var(--muted);
  line-height: 1.45;
}
.fight-callout {
  display: flex;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.74rem;
}
.fight-callout > span:first-child {
  color: var(--accent-ink);
}
main {
  width: min(75rem, 100%);
  margin: auto;
  padding: clamp(0.4rem, 1.5vw, 1rem);
}
.intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
  padding: clamp(0.8rem, 2vw, 1.35rem);
  border: 1px solid var(--hairline);
  border-radius: 0.7rem 0.7rem 0 0;
  background: var(--card);
  box-shadow: 0 1rem 2rem color-mix(in srgb, var(--of-ink) 18%, transparent);
}
.intro-copy {
  align-self: center;
}
.selectors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  align-content: center;
}
.selectors label {
  display: grid;
  gap: 0.3rem;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.selectors select {
  width: 100%;
  min-height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  background: var(--field-surface);
  color: var(--ink);
  font-size: 16px;
}
.setup-actions {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  gap: 0.45rem;
}
.status {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
}
.motion-status {
  grid-column: 1/-1;
}
.motion-status[data-state="on"] {
  color: var(--good);
}
.game-shell {
  /* ARTWORK, not chrome. The arena is night in both themes, so it re-pins the
     ink tokens for everything inside it (canvas, .hud, .game-shell > .status).
     Scoped here rather than on :root — that scoping is the whole fix. Values
     are the shared DARK palette, so the arena still speaks the vocabulary. */
  color-scheme: dark;
  --ink: #f3f6ff;
  --muted: #b3bfd8;
  --line: #536b9f;
  --panel: #0b1324;
  --gold: #ffd465;
  --good: #70e9ad;
  color: var(--ink);
  position: relative;
  min-height: min(72svh, 44rem);
  margin-top: 0.6rem;
  overflow: hidden;
  /* framed like a mounted screen so the dark arena reads as deliberate on a
     light page: paper -> mat -> accent hairline -> night. */
  border: 1px solid var(--hairline);
  border-radius: 0.55rem;
  background: #090f20;
  box-shadow:
    0 0 0 4px var(--of-paper-soft),
    0 0 0 5px var(--hairline),
    0 1.3rem 3rem color-mix(in srgb, var(--of-ink) 30%, transparent);
  isolation: isolate;
}
.game-shell button:focus-visible {
  outline-color: var(--gold);
}
.game-shell canvas {
  display: block;
  width: 100%;
  min-height: min(72svh, 44rem);
  height: min(72svh, 44rem);
  background: #070d21;
  touch-action: none;
}
.hud {
  position: absolute;
  inset: 0.55rem 0.55rem auto;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr 7rem 1fr;
  gap: 0.75rem;
  align-items: end;
  padding: 0.55rem 0.75rem;
  border: 1px solid #607ab4aa;
  border-radius: 0.55rem;
  background: #111c39df;
  backdrop-filter: blur(10px);
  box-shadow: 0 0.45rem 1.2rem #0008;
}
.fighter-hud {
  display: grid;
  gap: 0.14rem;
}
.hud-label {
  color: #9eb3e8 !important;
  font-size: 0.54rem !important;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.hud strong {
  overflow: hidden;
  font-size: clamp(0.75rem, 1.5vw, 1rem);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.opponent-hud {
  text-align: right;
}
.hud meter {
  width: 100%;
  height: 0.72rem;
  border: 1px solid #6279aa;
  border-radius: 99px;
  background: #070c19;
  overflow: hidden;
}
.hud meter::-webkit-meter-bar {
  background: #070c19;
}
.hud meter::-webkit-meter-optimum-value {
  background: linear-gradient(90deg, #67e5a5, #d2ff90);
}
.hud meter::-webkit-meter-suboptimum-value {
  background: var(--gold);
}
.hud meter::-webkit-meter-even-less-good-value {
  background: #ff6380;
}
.hud span {
  font-size: 0.63rem;
  color: var(--muted);
}
.timer {
  display: grid;
  text-align: center;
}
.timer strong {
  color: var(--gold);
  font-family: Impact, Haettenschweiler, sans-serif;
  font-size: 2rem;
  line-height: 0.9;
  text-shadow: 0 0.1rem #614a18;
}
.timer span {
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.game-shell > .status {
  position: absolute;
  z-index: 5;
  right: 50%;
  bottom: 0.55rem;
  max-width: calc(100% - 17rem);
  margin: 0;
  padding: 0.36rem 0.62rem;
  border: 1px solid #41577f;
  border-radius: 99px;
  background: #0a1124dd;
  transform: translateX(50%);
  text-align: center;
  backdrop-filter: blur(7px);
  pointer-events: none;
}
.touch-controls {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: block;
  pointer-events: none;
  touch-action: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  opacity: var(--control-opacity, 0.6);
}
.touch-controls button {
  position: absolute;
  bottom: max(0.7rem, env(safe-area-inset-bottom));
  width: clamp(3.2rem, 8vw, 4.3rem);
  min-height: clamp(3.2rem, 8vw, 4.3rem);
  padding: 0.25rem;
  border: 1px solid #7992cf;
  border-radius: 50%;
  background: linear-gradient(#273965e8, #121c36eb);
  box-shadow:
    0 0.4rem 1rem #000a,
    inset 0 1px #fff2;
  backdrop-filter: blur(8px);
  pointer-events: auto;
  text-transform: uppercase;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
}
.touch-controls button[data-control="left"],
.touch-controls button[data-control="right"] {
  display: none;
}
.touch-controls[data-scheme="buttons-only"] button[data-control="left"] {
  display: block;
  left: max(0.7rem, env(safe-area-inset-left));
}
.touch-controls[data-scheme="buttons-only"] button[data-control="right"] {
  display: block;
  left: calc(
    max(0.7rem, env(safe-area-inset-left)) + clamp(3.55rem, 9vw, 4.8rem)
  );
}
.touch-controls[data-scheme="buttons-only"][data-handedness="left"] button[data-control="left"] {
  left: auto;
  right: calc(
    max(0.7rem, env(safe-area-inset-right)) + clamp(3.55rem, 9vw, 4.8rem)
  );
}
.touch-controls[data-scheme="buttons-only"][data-handedness="left"] button[data-control="right"] {
  left: auto;
  right: max(0.7rem, env(safe-area-inset-right));
}

.virtual-stick-surface {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 45%;
  pointer-events: auto;
  touch-action: none;
  z-index: 7;
}
.touch-controls[data-handedness="left"] .virtual-stick-surface {
  left: auto;
  right: 0;
}
.touch-controls[data-scheme="buttons-only"] .virtual-stick-surface {
  display: none;
}
.touch-controls[data-one-handed="on"] .virtual-stick-surface {
  top: 48%;
  bottom: auto;
  height: 52%;
}
.touch-controls[data-one-handed="on"][data-handedness="right"] .virtual-stick-surface {
  left: 45%; right: 0; width: 55%;
}
.touch-controls[data-one-handed="on"][data-handedness="left"] .virtual-stick-surface {
  left: 0; right: auto; width: 55%;
}

.virtual-stick-base {
  position: absolute;
  width: calc(112px * var(--control-scale, 1));
  height: calc(112px * var(--control-scale, 1));
  border: 2px solid #a9bdffbb;
  border-radius: 50%;
  background: #17284d88;
  box-shadow: inset 0 0 0 0.65rem #ffffff0f, 0 0.4rem 1.2rem #0008;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(4px);
  pointer-events: none;
}
.virtual-stick-knob {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(48px * var(--control-scale, 1));
  height: calc(48px * var(--control-scale, 1));
  border: 2px solid #d7e1ffee;
  border-radius: 50%;
  background: #5577d9dd;
  transform: translate(-50%, -50%);
  box-shadow: 0 0.25rem 0.8rem #000a, inset 0 1px #fff4;
  pointer-events: none;
}
.touch-controls[data-stick-mode="fixed"] .virtual-stick-base {
  left: calc(max(24px, env(safe-area-inset-left, 0px)) + 56px * var(--control-scale, 1));
  bottom: calc(max(16px, env(safe-area-inset-bottom, 0px)) + 56px * var(--control-scale, 1));
  top: auto;
  display: block !important;
}
.touch-controls[data-stick-mode="fixed"][data-handedness="left"] .virtual-stick-base {
  left: auto;
  right: calc(max(24px, env(safe-area-inset-right, 0px)) + 56px * var(--control-scale, 1));
}

.touch-buttons-cluster {
  position: absolute;
  right: calc(max(16px, env(safe-area-inset-right, 0px)) + 12px);
  bottom: calc(max(16px, env(safe-area-inset-bottom, 0px)) + 8px);
  width: calc(186px * var(--control-scale, 1));
  height: calc(146px * var(--control-scale, 1));
  pointer-events: none;
  z-index: 7;
}
.touch-controls[data-handedness="left"] .touch-buttons-cluster {
  right: auto;
  left: calc(max(16px, env(safe-area-inset-left, 0px)) + 12px);
}
.touch-controls[data-one-handed="on"][data-handedness="right"] .touch-buttons-cluster {
  right: calc(max(16px, env(safe-area-inset-right, 0px)) + 12px);
  bottom: 146px !important;
}
.touch-controls[data-one-handed="on"] .touch-buttons-cluster {
  /* One-thumb mode deliberately groups movement and actions into one lower corner. */
  bottom: 146px !important;
}
.touch-controls[data-one-handed="on"][data-handedness="left"] .touch-buttons-cluster {
  left: calc(max(16px, env(safe-area-inset-left, 0px)) + 12px);
  bottom: 146px !important;
}

.touch-buttons-cluster button {
  position: absolute;
  min-width: 48px;
  min-height: 48px;
  border: 1px solid #7992cf;
  border-radius: 50%;
  background: linear-gradient(#273965e8, #121c36eb);
  box-shadow: 0 0.4rem 1rem #000a, inset 0 1px #fff2;
  backdrop-filter: blur(8px);
  pointer-events: auto;
  text-transform: uppercase;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
}
.touch-buttons-cluster button:active {
  transform: scale(0.92);
  border-color: var(--accent, #ef3d57);
}
.touch-buttons-cluster button[data-control="jump"] {
  width: calc(52px * var(--control-scale, 1));
  height: calc(52px * var(--control-scale, 1));
  top: 0;
  left: calc(38px * var(--control-scale, 1));
  font-size: calc(0.58rem * var(--control-scale, 1));
}
.touch-buttons-cluster button[data-control="punch"] {
  width: calc(60px * var(--control-scale, 1));
  height: calc(60px * var(--control-scale, 1));
  bottom: 0;
  left: 0;
  font-size: calc(0.62rem * var(--control-scale, 1));
}
.touch-buttons-cluster button[data-control="kick"] {
  width: calc(60px * var(--control-scale, 1));
  height: calc(60px * var(--control-scale, 1));
  bottom: 0;
  right: calc(46px * var(--control-scale, 1));
  font-size: calc(0.62rem * var(--control-scale, 1));
}
.touch-buttons-cluster button.special {
  width: calc(56px * var(--control-scale, 1));
  height: calc(56px * var(--control-scale, 1));
  bottom: calc(36px * var(--control-scale, 1));
  right: 0;
  font-size: calc(0.54rem * var(--control-scale, 1));
  background: linear-gradient(#8b61b2ec, #3f295feb);
  color: #fff1ba;
  border-color: #ba8eed;
}
.touch-indicators {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 25;
}
.touch-indicator {
  position: absolute;
  width: 38px;
  height: 38px;
  border: 2px solid #70e9ad;
  border-radius: 50%;
  background: rgba(112, 233, 173, 0.25);
  transform: translate(-50%, -50%);
  pointer-events: none;
  box-shadow: 0 0 10px #70e9ad88;
}
.touch-controls[data-layout-edit="true"] .virtual-stick-base,
.touch-controls[data-layout-edit="true"] .touch-buttons-cluster {
  outline: 2px dashed #ffd465;
  outline-offset: 4px;
  pointer-events: auto;
  cursor: move;
}
.app-help {
  position: fixed;
  inset: auto 0.5rem 0.5rem auto;
  z-index: 30;
  width: min(25rem, calc(100% - 1rem));
  padding: 0.8rem;
  border: 1px solid var(--hairline);
  border-radius: 0.5rem;
  background: var(--surface-overlay);
  box-shadow: 0 0.8rem 2.4rem color-mix(in srgb, var(--of-ink) 35%, transparent);
}
.app-help header {
  display: flex;
  justify-content: space-between;
}
.app-help p {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}
[data-explanation] {
  display: none;
}
:root[data-help="on"] [data-explanation] {
  display: block;
}
body.match-active .intro {
  display: none;
}
body.match-active main {
  width: min(92rem, 100%);
  padding: 0;
}
@media (width<=700px) {
  .intro {
    grid-template-columns: 1fr;
  }
  .selectors {
    grid-template-columns: 1fr 1fr;
  }
  .selectors label:last-child {
    grid-column: 1/-1;
  }
  .setup-actions {
    grid-template-columns: 1fr 1fr;
  }
  .setup-actions #motion-toggle {
    grid-column: 1/-1;
  }
  .game-shell {
    min-height: 72svh;
    margin-top: 0;
    border-radius: 0;
    border-inline: 0;
    /* edge-to-edge on phones: drop the mat, keep the accent rim */
    border-block: 1px solid var(--hairline);
    box-shadow: none;
  }
  .game-shell canvas {
    min-height: 72svh;
    height: 72svh;
  }
  .hud {
    inset: max(0.35rem, env(safe-area-inset-top)) 0.35rem auto;
    grid-template-columns: 1fr 3.7rem 1fr;
    gap: 0.3rem;
    padding: 0.36rem 0.45rem;
  }
  .hud meter {
    height: 0.58rem;
  }
  .hud strong {
    font-size: 0.66rem;
  }
  .timer strong {
    font-size: 1.4rem;
  }
  .game-shell > .status {
    bottom: calc(
      max(0.7rem, env(safe-area-inset-bottom)) + clamp(3.45rem, 9vw, 4.6rem)
    );
    max-width: 58%;
    font-size: 0.61rem;
    line-height: 1.15;
  }
  .touch-controls button {
    font-size: 1.05rem;
  }
}
@media (width<=390px) {
  .selectors {
    grid-template-columns: 1fr;
  }
  .selectors label:last-child {
    grid-column: auto;
  }
  .touch-controls button {
    width: 3rem;
    min-height: 3rem;
  }
  .touch-controls button[data-control="right"] {
    left: 3.45rem;
  }
  .touch-controls button[data-control="jump"] {
    left: 6.9rem;
  }
  .touch-controls button[data-control="punch"] {
    right: 6.9rem;
  }
  .touch-controls button[data-control="kick"] {
    right: 3.45rem;
  }
  .game-shell > .status {
    display: none;
  }
}
.alpha-movement-surface {
  display: none;
}
:root[data-control-scheme="alpha-adaptive"] .alpha-movement-surface {
  position: absolute;
  inset: 0 45% 0 0;
  display: block;
  pointer-events: auto;
  touch-action: none;
}
.alpha-movement-pad {
  position: absolute;
  width: 7rem;
  height: 7rem;
  border: 1px solid #a9bdff99;
  border-radius: 50%;
  background: #17284d75;
  box-shadow: inset 0 0 0 0.65rem #ffffff0a;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(3px);
  pointer-events: none;
}
.alpha-movement-knob {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3.1rem;
  height: 3.1rem;
  border: 1px solid #d7e1ffcc;
  border-radius: 50%;
  background: #5577d9bd;
  transform: translate(-50%, -50%);
  box-shadow: 0 0.25rem 0.7rem #0008;
}
:root[data-control-scheme="alpha-adaptive"] .touch-controls button[data-control="left"],
:root[data-control-scheme="alpha-adaptive"] .touch-controls button[data-control="right"],
:root[data-control-scheme="alpha-adaptive"] .touch-controls button[data-control="jump"] {
  display: none;
}
:root[data-control-scheme="alpha-adaptive"] .touch-controls button[data-control="punch"] {
  right: calc(max(0.7rem, env(safe-area-inset-right)) + 4rem);
  bottom: calc(max(0.7rem, env(safe-area-inset-bottom)) + 2.1rem);
}
:root[data-control-scheme="alpha-adaptive"] .touch-controls button[data-control="kick"] {
  right: max(0.7rem, env(safe-area-inset-right));
  bottom: calc(max(0.7rem, env(safe-area-inset-bottom)) + 4.3rem);
}
:root[data-control-scheme="alpha-adaptive"] .touch-controls .special {
  right: max(0.7rem, env(safe-area-inset-right));
  bottom: max(0.7rem, env(safe-area-inset-bottom));
}
@media (orientation: landscape) and (max-height: 560px) {
  :root[data-control-scheme="alpha-adaptive"] .game-shell,
  :root[data-control-scheme="alpha-adaptive"] .game-shell canvas {
    min-height: calc(100dvh - 1rem);
    height: calc(100dvh - 1rem);
  }
  :root[data-control-scheme="alpha-adaptive"] .hud {
    padding: 0.25rem 0.4rem;
  }
  :root[data-control-scheme="alpha-adaptive"] .touch-controls button {
    width: 3.25rem;
    min-height: 3.25rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
.touch-controls[data-reduced-motion="on"] *,
.touch-controls[data-reduced-motion="on"] *::before,
.touch-controls[data-reduced-motion="on"] *::after {
  animation-duration: 0.01ms !important;
  transition-duration: 0.01ms !important;
}
