/* ------------------------------------------------------------------ tokens */

:root {
  --accent: #ff4d2e;
  --accent-press: #e33d20;
  --accent-ink: #fff;
  --sky: #0ea5e9;

  --bg: #f4f5f7;
  --sheet-bg: rgba(252, 252, 253, 0.82);
  --card: #fff;
  --fill: rgba(118, 118, 128, 0.12);
  --fill-strong: rgba(118, 118, 128, 0.2);
  --seg-thumb: #fff;
  --text: #0b0f14;
  --muted: #6b7280;
  --line: rgba(0, 0, 0, 0.09);
  --shadow-sheet: 0 -10px 40px rgba(10, 15, 25, 0.16);
  --shadow-float: 0 4px 20px rgba(10, 15, 25, 0.16);

  --surface-paved: #64748b;
  --surface-gravel: #c08457;
  --surface-natural: #4e9a51;
  --surface-other: #a1a1aa;
  --surface-unknown: #cbd0d8;

  /* Kept in sync from JS so the map can keep the route clear of the sheet. */
  --sheet-visible: 300px;

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c0f13;
    --sheet-bg: rgba(24, 27, 33, 0.84);
    --card: #181b21;
    --fill: rgba(120, 125, 135, 0.22);
    --fill-strong: rgba(120, 125, 135, 0.32);
    --seg-thumb: #494e58;
    --text: #eaeef3;
    --muted: #99a1af;
    --line: rgba(255, 255, 255, 0.1);
    --shadow-sheet: 0 -10px 40px rgba(0, 0, 0, 0.5);
    --shadow-float: 0 4px 18px rgba(0, 0, 0, 0.45);
    --surface-paved: #94a3b8;
    --surface-gravel: #d9a273;
    --surface-natural: #6cc06f;
    --surface-unknown: #4b515c;
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.4 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
}

button, input { font: inherit; color: inherit; }
button { border: 0; background: none; padding: 0; cursor: pointer; touch-action: manipulation; }
/* Icon-SVGs erben die Textfarbe und füllen ihren Knopf aus.
 *
 * Bewusst KEINE globale svg-Regel: Leaflet setzt die Größe seines
 * Overlay-<svg> über width/height-Attribute und fill="none" auf die Linien.
 * CSS schlägt Präsentationsattribute, und das Overlay-Pane hat keine eigene
 * Breite — eine globale Regel ließ dieses <svg> also auf null zusammenfallen.
 * Die Route war dann unsichtbar, Marker als HTML-Elemente aber weiterhin da. */
button svg { width: 100%; height: 100%; }
button svg,
.searchbar__icon,
.arrowmark svg { fill: currentColor; display: block; }

[hidden] { display: none !important; }

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

#map {
  position: fixed;
  inset: 0;
  background: var(--bg);
}

.leaflet-container { font: inherit; background: var(--bg); }

/* Attribution is required, but it must not sit under the sheet. */
.leaflet-bottom.leaflet-right { bottom: calc(var(--sheet-visible) + 2px); transition: bottom 0.34s var(--ease); }
.leaflet-control-attribution {
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 6px 0 0 0;
  background: rgba(255, 255, 255, 0.7);
  color: #444;
}
.leaflet-control-attribution a { color: #444; }
@media (prefers-color-scheme: dark) {
  .leaflet-control-attribution { background: rgba(20, 22, 26, 0.72); color: #9aa2ad; }
  .leaflet-control-attribution a { color: #9aa2ad; }
  /* The raster tiles are all light-themed; taking the edge off keeps the route
     line readable at night without turning the map into a negative. */
  .leaflet-tile-pane { filter: brightness(0.78) saturate(0.85) contrast(1.05); }
}

.startdot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
.startdot::after {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0;
  animation: ping 2.4s var(--ease) infinite;
}
@keyframes ping {
  0% { transform: scale(0.6); opacity: 0.7; }
  80%, 100% { transform: scale(1.25); opacity: 0; }
}

.kmmark {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border-radius: 50%;
  background: var(--card);
  color: var(--text);
  border: 1.5px solid var(--accent);
  font-size: 10px;
  font-weight: 640;
  letter-spacing: -0.02em;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
}

.arrowmark { color: var(--accent); filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.9)); }
@media (prefers-color-scheme: dark) {
  .arrowmark { filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.9)); }
}

.scrubdot {
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--sky);
  border: 2.5px solid #fff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

/* ------------------------------------------------------------------ search */

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 600;
  padding: calc(env(safe-area-inset-top) + 10px) 12px 0;
  padding-left: calc(env(safe-area-inset-left) + 12px);
  padding-right: calc(env(safe-area-inset-right) + 12px);
  pointer-events: none;
}
.topbar > * { pointer-events: auto; }

.searchbar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 6px 0 12px;
  border-radius: 14px;
  background: var(--sheet-bg);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow: var(--shadow-float), inset 0 0 0 0.5px var(--line);
}
.searchbar__icon { width: 18px; height: 18px; flex: none; color: var(--muted); }
.searchbar input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: none;
  font-size: 16px; /* anything smaller makes iOS zoom on focus */
}
.searchbar input::placeholder { color: var(--muted); }
.searchbar input::-webkit-search-decoration,
.searchbar input::-webkit-search-cancel-button { -webkit-appearance: none; }

.searchbar__clear { width: 20px; height: 20px; flex: none; color: var(--muted); opacity: 0.6; }
.searchbar__locate {
  width: 34px;
  height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--fill);
  color: var(--text);
}
.searchbar__locate svg { width: 19px; height: 19px; }
.searchbar__locate:active { background: var(--fill-strong); }
.searchbar__locate.is-busy { color: var(--accent); animation: pulse 1.1s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.45; } }

.suggestions {
  margin: 8px 0 0;
  padding: 4px;
  list-style: none;
  border-radius: 14px;
  background: var(--sheet-bg);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow: var(--shadow-float), inset 0 0 0 0.5px var(--line);
  max-height: 46vh;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.suggestions li + li { border-top: 0.5px solid var(--line); }
.suggestions button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: 10px;
}
.suggestions button:active { background: var(--fill); }
.suggestions strong { display: block; font-weight: 560; font-size: 15px; }
.suggestions span { display: block; font-size: 13px; color: var(--muted); margin-top: 1px; }
.suggestions .suggestions__empty { padding: 12px; font-size: 14px; color: var(--muted); text-align: center; }

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

.mapctl {
  position: fixed;
  right: calc(env(safe-area-inset-right) + 12px);
  top: calc(env(safe-area-inset-top) + 68px);
  z-index: 550;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.mapctl__btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--sheet-bg);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow: var(--shadow-float), inset 0 0 0 0.5px var(--line);
}
.mapctl__btn svg { width: 20px; height: 20px; }
.mapctl__btn:active { background: var(--fill-strong); }

.layers {
  display: flex;
  flex-direction: column;
  padding: 4px;
  border-radius: 12px;
  background: var(--sheet-bg);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow: var(--shadow-float), inset 0 0 0 0.5px var(--line);
}
.layers__item { padding: 8px 14px; border-radius: 8px; font-size: 14px; text-align: right; }
.layers__item.is-active { background: var(--fill); font-weight: 560; color: var(--accent); }

/* ------------------------------------------------------------------ toast */

.toast {
  position: fixed;
  left: 50%;
  top: calc(env(safe-area-inset-top) + 68px);
  z-index: 700;
  transform: translate(-50%, -8px);
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(20, 22, 26, 0.9);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-float);
  opacity: 0;
  transition: opacity 0.24s ease, transform 0.24s var(--ease);
  pointer-events: none;
}
.toast.is-open { opacity: 1; transform: translate(-50%, 0); }

/* ------------------------------------------------------------------ sheet */

.sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 500;
  display: flex;
  flex-direction: column;
  /* Never more than about three fifths of the screen: the map is the point of
     this app, and a sheet taller than the space left over used to push the
     route out of the visible area entirely. */
  max-height: 62vh; /* fallback for browsers without dvh */
  max-height: min(62dvh, 620px);
  border-radius: 22px 22px 0 0;
  background: var(--sheet-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: var(--shadow-sheet), inset 0 0.5px 0 rgba(255, 255, 255, 0.35);
  transform: translateY(var(--sheet-offset, 0px));
  transition: transform 0.38s var(--ease);
}
.sheet.is-dragging { transition: none; }

.sheet__handle {
  flex: none;
  display: grid;
  place-items: center;
  height: 26px;
  touch-action: none;
}
.sheet__handle span {
  width: 38px;
  height: 5px;
  border-radius: 3px;
  background: var(--fill-strong);
}

.sheet__scroll {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 0 18px calc(env(safe-area-inset-bottom) + 18px);
  padding-left: calc(env(safe-area-inset-left) + 18px);
  padding-right: calc(env(safe-area-inset-right) + 18px);
}

/* ------------------------------------------------------------------ start line */

.startline {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0 14px;
}
.startline__dot {
  width: 12px;
  height: 12px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}
.startline__text { min-width: 0; }
.startline__label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}
.startline__value {
  display: block;
  font-size: 15px;
  font-weight: 520;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.startline.is-empty .startline__dot { background: var(--fill-strong); box-shadow: none; }
.startline.is-empty .startline__value { color: var(--muted); font-weight: 400; }

/* Visible in the collapsed sheet, so the headline numbers are readable while
   the map has the screen to itself. */
.startline__badge {
  flex: none;
  margin-left: auto;
  padding: 5px 10px;
  border-radius: 9px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent);
  font-size: 13px;
  font-weight: 620;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ------------------------------------------------------------------ distance */

.distance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.distance__step {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--fill);
  color: var(--text);
}
.distance__step svg { width: 22px; height: 22px; }
.distance__step:active { background: var(--fill-strong); transform: scale(0.94); }
.distance__step:disabled { opacity: 0.35; }
.distance__step { transition: transform 0.12s ease, background 0.12s ease; }

.distance__display { display: flex; align-items: baseline; gap: 5px; }
.distance__value {
  font-size: 40px;
  font-weight: 680;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.distance__unit { font-size: 17px; font-weight: 560; color: var(--muted); }

.slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 30px;
  margin: 6px 0 0;
  background: none;
  outline: none;
  touch-action: none; /* the sheet must not scroll while the thumb is dragged */
}
.slider::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(to right, var(--accent) var(--fill-pct, 20%), var(--fill) var(--fill-pct, 20%));
}
.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  margin-top: -11px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.28), inset 0 0 0 0.5px rgba(0, 0, 0, 0.06);
}
.slider::-moz-range-track { height: 6px; border-radius: 3px; background: var(--fill); }
.slider::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--accent); }
.slider::-moz-range-thumb { width: 26px; height: 26px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 1px 5px rgba(0, 0, 0, 0.28); }

.chips { display: flex; gap: 7px; margin: 10px 0 4px; }
.chip {
  flex: 1;
  padding: 7px 0;
  border-radius: 10px;
  background: var(--fill);
  font-size: 14px;
  font-weight: 540;
  font-variant-numeric: tabular-nums;
  transition: background 0.15s ease, color 0.15s ease;
}
.chip.is-active { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); }
.chip:active { background: var(--fill-strong); }

/* ------------------------------------------------------------------ fields */

.field { margin-top: 18px; }
.field__label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}

.segmented {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  padding: 3px;
  border-radius: 12px;
  background: var(--fill);
  isolation: isolate;
}
.segmented__thumb {
  position: absolute;
  z-index: -1;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc((100% - 6px) / var(--seg-n, 3));
  border-radius: 9px;
  background: var(--seg-thumb);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.14), inset 0 0 0 0.5px rgba(0, 0, 0, 0.04);
  transform: translateX(calc(var(--seg-i, 0) * 100%));
  transition: transform 0.3s var(--ease);
}
.segmented__opt {
  padding: 8px 2px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
}
.segmented__opt.is-active { color: var(--text); font-weight: 590; }

/* ------------------------------------------------------------------ buttons */

.btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 52px;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 600;
  transition: transform 0.12s ease, opacity 0.15s ease, background 0.15s ease;
}
.btn:active { transform: scale(0.985); }
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 4px 14px color-mix(in srgb, var(--accent) 32%, transparent); }
.btn--primary:active { background: var(--accent-press); }
.btn--primary:disabled { background: var(--fill-strong); color: var(--muted); box-shadow: none; transform: none; }
.btn--ghost { background: var(--fill); color: var(--text); }
.btn--ghost svg { width: 19px; height: 19px; }
.btn--ghost:active { background: var(--fill-strong); }

.btn__spinner {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2.5px solid currentColor;
  border-right-color: transparent;
  opacity: 0;
  animation: spin 0.7s linear infinite;
}
.btn.is-busy .btn__label, .btn.is-busy span:not(.btn__spinner) { opacity: 0; }
.btn.is-busy .btn__spinner { opacity: 1; }
@keyframes spin { to { transform: rotate(360deg); } }

#plan { margin-top: 20px; }

.hint { margin: 10px 0 0; text-align: center; font-size: 13px; color: var(--muted); }

.linkbtn {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 4px;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--accent);
}

.error {
  margin: 14px 0 0;
  padding: 11px 14px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  font-size: 14px;
  line-height: 1.35;
}

/* ------------------------------------------------------------------ result */

.variants { display: flex; gap: 7px; margin-bottom: 16px; }
.variant {
  flex: 1;
  padding: 9px 4px 8px;
  border-radius: 12px;
  background: var(--fill);
  text-align: center;
  transition: background 0.18s ease;
}
.variant.is-active { background: color-mix(in srgb, var(--accent) 15%, transparent); box-shadow: inset 0 0 0 1.5px var(--accent); }
.variant__km { display: block; font-size: 15px; font-weight: 620; font-variant-numeric: tabular-nums; }
.variant.is-active .variant__km { color: var(--accent); }
.variant__meta { display: block; font-size: 11px; color: var(--muted); margin-top: 1px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stat {
  padding: 11px 8px;
  border-radius: 12px;
  background: var(--fill);
  text-align: center;
}
.stat__value {
  display: block;
  font-size: 20px;
  font-weight: 640;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stat__label { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }

.pace {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 7px;
  width: 100%;
  margin-top: 10px;
  padding: 8px;
  border-radius: 12px;
  font-variant-numeric: tabular-nums;
}
.pace:active { background: var(--fill); }
#pace-time { font-size: 16px; font-weight: 600; }
.pace__hint { font-size: 12.5px; color: var(--muted); }

.elevation { margin-top: 16px; }
.elevation__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 4px; }
.elevation__title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}
.elevation__range { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.elevation__chart { position: relative; height: 92px; touch-action: pan-y; }
.elevation__chart svg { overflow: visible; display: block; }
.elev-cursor { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 3; opacity: 0; }
.elev-cursor.is-on { opacity: 0.8; }
.elev-tip {
  position: absolute;
  top: -2px;
  padding: 3px 7px;
  border-radius: 7px;
  background: var(--card);
  box-shadow: var(--shadow-float);
  font-size: 11.5px;
  font-weight: 560;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.15s ease;
  pointer-events: none;
}
.elev-tip.is-on { opacity: 1; }

/* Colours are applied by class rather than an inline style attribute, which the
   Content-Security-Policy in front of this app does not allow. */
.is-paved { background: var(--surface-paved); }
.is-gravel { background: var(--surface-gravel); }
.is-natural { background: var(--surface-natural); }
.is-other { background: var(--surface-other); }
.is-unknown { background: var(--surface-unknown); }

.elev-area { fill: url(#elevgrad); }
.elev-line { fill: none; stroke: var(--sky); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.elev-stop-a { stop-color: var(--sky); stop-opacity: 0.32; }
.elev-stop-b { stop-color: var(--sky); stop-opacity: 0; }

.surface { margin-top: 18px; }
.surface__bar { display: flex; height: 9px; border-radius: 5px; overflow: hidden; background: var(--fill); }
.surface__bar i { display: block; height: 100%; }
.surface__legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 9px 0 0; padding: 0; list-style: none; }
.surface__legend li { display: flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--muted); }
.surface__legend i { width: 8px; height: 8px; border-radius: 2px; flex: none; }
.surface__legend b { font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }

.actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 20px; }
.actions .btn--ghost { width: auto; padding: 0 16px; }

/* ------------------------------------------------------------------ login */

.login {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--bg);
}
.login__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 340px;
  text-align: center;
}
.login__icon { border-radius: 16px; margin-bottom: 4px; }
.login__title { margin: 0; font-size: 26px; font-weight: 680; letter-spacing: -0.02em; }
.login__sub { margin: 0 0 14px; font-size: 14.5px; color: var(--muted); }
.login__input {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 0;
  border-radius: 14px;
  background: var(--fill);
  outline: none;
  font-size: 16px;
}
.login__input:focus { box-shadow: inset 0 0 0 2px var(--accent); }
.login__error { margin: 4px 0 0; font-size: 14px; color: var(--accent); }

.boot {
  position: fixed;
  inset: 0;
  z-index: 950;
  display: grid;
  place-items: center;
  background: var(--bg);
}
.boot__spinner {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2.5px solid var(--fill-strong);
  border-top-color: var(--accent);
  animation: spin 0.7s linear infinite;
}

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