:root {
  --night: #0e1a22;
  --liquorice: #14100e;
  --paper: #f4efe3;
  --amber: #f2a03d;
  --paper-dark: #241a12;

  --ink: var(--liquorice);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --step: clamp(0.5rem, 0.9vw, 0.9rem);
  --gutter: clamp(0.75rem, 1.8vw, 1.75rem);

  --tooth: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='t'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23t)'/%3E%3C/svg%3E");
  --sheen: linear-gradient(157deg, rgba(255, 255, 255, 0.17) 0%, rgba(255, 255, 255, 0.05) 33%, rgba(0, 0, 0, 0.03) 63%, rgba(0, 0, 0, 0.14) 100%);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

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

body {
  margin: 0;
  min-height: 100dvh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: Archivo, system-ui, sans-serif;
  color: var(--paper);
  background-color: var(--night);
  background-image: url("assets/halloween.png");
  background-image: image-set(url("assets/halloween.webp") type("image/webp"), url("assets/halloween.png") type("image/png")),
    url("data:image/webp;base64,UklGRpYAAABXRUJQVlA4IIoAAACQBACdASogABUAPrVMnUunJKMht+gA4BaJQBdgBi+BFiz2uq7Dqw0Hl5x3psAA/vkXDhCquq3YS0g16kdQw4/I1tNE4YWa4WP5stgdGOttTuoqozlrMwcDef0lhcHhNvuGmIuIUFSFlXMF2Difk/v44+UzFc0ekmnD8BwRCKGC0b+e3bxT5twAAAA=");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 48%, rgba(15, 12, 10, 0.2) 70%, rgba(13, 11, 9, 0.78) 90%, rgba(12, 10, 8, 0.94) 100%);
}

::selection {
  background: var(--amber);
  color: var(--liquorice);
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

.sprite {
  position: absolute;
}

.stage {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 0;
  display: grid;
  place-items: center;
}

.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 46%, transparent 42%, rgba(6, 12, 16, 0.62) 100%),
    linear-gradient(to bottom, rgba(6, 12, 16, 0.42) 0%, transparent 22%, transparent 100%);
}

.playfield {
  position: relative;
  z-index: 2;
  align-self: end;
  display: grid;
  place-items: center;
  margin-bottom: clamp(1rem, 3.5vh, 2.5rem);
}

.playfield::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4%;
  width: 86%;
  height: 12%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(3, 7, 10, 0.78), rgba(3, 7, 10, 0.32) 62%, transparent);
  filter: blur(4px);
}

#candy {
  position: relative;
  display: block;
  width: clamp(10rem, 27vh, 19rem);
  height: clamp(10rem, 27vh, 19rem);
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
  transition: transform 320ms var(--ease);
}

#candy img {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 14px 18px rgba(3, 7, 10, 0.6));
}

#candy:active {
  transform: scale(0.93);
  transition-duration: 70ms;
}

#candy:focus-visible {
  outline-offset: 10px;
  border-radius: 50%;
}

.chits {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.chit {
  position: absolute;
  font-family: "Alfa Slab One", Archivo, serif;
  font-size: clamp(1.1rem, 2.2vw, 1.9rem);
  color: #fffdf7;
  -webkit-text-stroke: 3px rgba(10, 7, 5, 0.9);
  paint-order: stroke fill;
  animation: chit-rise 900ms var(--ease) forwards;
}

@keyframes chit-rise {
  from {
    opacity: 1;
    transform: translate(-50%, 0) rotate(var(--tilt));
  }
  to {
    opacity: 0;
    transform: translate(-50%, -5.5rem) rotate(var(--tilt));
  }
}

.titleplate,
.readout {
  position: absolute;
  z-index: 3;
  top: var(--gutter);
  margin: 0;
  padding: clamp(0.55rem, 1vw, 0.95rem) clamp(1rem, 1.7vw, 1.6rem) clamp(0.65rem, 1.1vw, 1.05rem);
  color: var(--ink);
  background-color: rgba(246, 241, 228, 0.94);
  background-image: var(--tooth);
  background-size: 120px 120px;
  background-blend-mode: multiply;
  box-shadow: 0 16px 32px -14px rgba(2, 6, 10, 0.9);
}

.readout {
  left: var(--gutter);
  transform: rotate(-1.35deg);
}

.titleplate {
  right: var(--gutter);
  font-family: "Alfa Slab One", Archivo, serif;
  font-size: clamp(1.15rem, 2.1vw, 1.9rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.01em;
  transform: rotate(1.4deg);
}

.tally {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 0.45em;
  font-family: "Alfa Slab One", Archivo, serif;
  font-size: clamp(1.9rem, 4.4vw, 3.6rem);
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 0 rgba(252, 249, 241, 0.95), 0 -1px 0.6px rgba(20, 16, 14, 0.62), 0 0 0.5px rgba(20, 16, 14, 0.4);
}

.tally-unit {
  font-family: Archivo, sans-serif;
  font-size: clamp(0.72rem, 1.05vw, 0.95rem);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: none;
}

.rate {
  margin: 0.4em 0 0;
  font-size: clamp(0.78rem, 1.15vw, 0.95rem);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: color-mix(in srgb, var(--ink) 82%, #b7ad97);
}

.rate #cps {
  font-weight: 700;
  color: var(--ink);
}

.crowd {
  position: absolute;
  z-index: 1;
  left: 24%;
  right: 24%;
  bottom: clamp(0.75rem, 2.5vh, 1.75rem);
  height: clamp(2.2rem, 6.5vh, 4.2rem);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(0.05rem, 0.45vw, 0.5rem);
  padding: 0 var(--gutter);
  overflow: hidden;
  pointer-events: none;
}

.figure {
  position: relative;
  flex: none;
  display: block;
  height: var(--fig-height, 70%);
  opacity: 0;
  transform: translateY(12%) rotate(var(--lean, 0deg));
  animation: fig-arrive 520ms var(--ease) forwards;
}

.figure::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 155%;
  height: 8px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(3, 7, 10, 0.75), transparent);
}

.fig {
  display: block;
  height: 100%;
  width: auto;
  fill: var(--paper-dark);
}

@keyframes fig-arrive {
  to {
    opacity: 1;
    transform: translateY(0) rotate(var(--lean, 0deg));
  }
}

.haul {
  position: relative;
  z-index: 1;
  flex: none;
  overflow: hidden;
  padding: calc(var(--step) * 0.8) var(--gutter) calc(var(--step) * 0.9);
}

.haul-bar {
  display: flex;
  align-items: center;
  gap: var(--step);
  margin-bottom: calc(var(--step) * 0.8);
}

.haul-bar h2 {
  margin: 0;
  font-family: "Alfa Slab One", Archivo, serif;
  font-size: clamp(0.85rem, 1.3vw, 1.1rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 8px rgba(2, 6, 10, 0.9);
}

.amount {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  margin-left: auto;
}

.amount-label,
.amount-option,
#reset,
.reset-ask,
.reset-confirm button {
  font-family: Archivo, system-ui, sans-serif;
  font-size: clamp(0.66rem, 0.85vw, 0.74rem);
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(2, 6, 10, 0.9);
}

.amount-label {
  margin-right: 0.15rem;
  color: color-mix(in srgb, var(--paper) 52%, transparent);
}

.amount-option {
  min-width: 1.9rem;
  min-height: 1.75rem;
  padding: 0.4em 0.55em;
  border: none;
  background: none;
  color: color-mix(in srgb, var(--paper) 60%, transparent);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.4em;
  text-decoration-color: transparent;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: color 160ms var(--ease), text-decoration-color 160ms var(--ease);
}

.amount-option:hover {
  color: var(--paper);
}

.amount-option[aria-pressed="true"] {
  color: var(--paper);
  text-decoration-color: var(--amber);
}

#reset,
.reset-confirm button {
  min-height: 1.75rem;
  padding: 0.4em 0.2em;
  border: none;
  background: none;
  color: color-mix(in srgb, var(--paper) 52%, transparent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.4em;
  text-decoration-color: color-mix(in srgb, var(--paper) 28%, transparent);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: color 160ms var(--ease), text-decoration-color 160ms var(--ease);
}

#reset:hover,
.reset-confirm button:hover {
  color: color-mix(in srgb, var(--paper) 88%, transparent);
  text-decoration-color: color-mix(in srgb, var(--paper) 60%, transparent);
}

.reset-zone {
  display: flex;
  align-items: center;
  margin-left: 0.35rem;
}

.reset-confirm {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.reset-ask {
  margin-right: 0.3rem;
  color: var(--paper);
  white-space: nowrap;
}

#resetYes {
  color: var(--amber);
  text-decoration-color: color-mix(in srgb, var(--amber) 70%, transparent);
}

#resetYes:hover {
  color: var(--amber);
  text-decoration-color: var(--amber);
}

/* The buy selector steps aside so the confirmation always has room. Its
   margin-left: auto goes with it, so the reset zone takes over holding the right edge. */
.haul-bar.is-confirming .amount {
  display: none;
}

.haul-bar.is-confirming .reset-zone {
  margin-left: auto;
}

.packs {
  display: flex;
  align-items: flex-end;
  gap: clamp(0.3rem, 0.7vw, 0.8rem);
  margin: 0;
  padding: 1.3rem 1rem 1.5rem;
  list-style: none;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-color: color-mix(in srgb, var(--paper) 30%, transparent) transparent;
  scrollbar-width: thin;
}

.packs::-webkit-scrollbar {
  height: 6px;
}

.packs::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--paper) 30%, transparent);
}

.packs li {
  position: relative;
  flex: var(--grow) 1 0;
  min-width: var(--pack-min);
  margin-bottom: var(--lift);
  transform: rotate(var(--tilt-pack));
}

.packs li::before,
.packs li::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--wrap);
  box-shadow: 0 6px 14px -8px rgba(2, 6, 10, 0.9);
  opacity: 0;
  transition: opacity 220ms var(--ease);
}

.packs li::before {
  transform: rotate(-2.4deg) translate(-7px, 7px);
  filter: brightness(0.74) saturate(0.9);
}

.packs li::after {
  transform: rotate(1.9deg) translate(8px, 12px);
  filter: brightness(0.56) saturate(0.85);
}

.packs li[data-depth="1"]::before,
.packs li[data-depth="2"]::before,
.packs li[data-depth="2"]::after {
  opacity: 1;
}

.pack {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: var(--pack-h);
  display: flex;
  flex-direction: column;
  gap: 0.18em;
  padding: calc(var(--step) * 0.75) calc(var(--step) * 1) calc(var(--step) * 0.85);
  border: none;
  border-top: var(--stock) solid rgba(0, 0, 0, 0.3);
  border-radius: 2px;
  background-color: var(--wrap);
  background-image: var(--sheen), var(--tooth);
  background-size: auto, 120px 120px;
  background-blend-mode: normal, multiply;
  color: var(--wrap-ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 14px 28px -14px rgba(2, 6, 10, 0.95);
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease), filter 200ms var(--ease);
}

.pack > * {
  position: relative;
}

.pack:hover:not([aria-disabled="true"]) {
  transform: translateY(-5px);
  box-shadow: 0 22px 36px -16px rgba(2, 6, 10, 0.95);
}

.pack:active:not([aria-disabled="true"]) {
  transform: translateY(-1px);
  transition-duration: 70ms;
}

.pack[aria-disabled="true"] {
  cursor: default;
  border-top-style: dashed;
  box-shadow: none;
  filter: saturate(0.22) brightness(1.34);
  clip-path: polygon(0 0, calc(100% - 1.1rem) 0, 100% 1.1rem, 100% 100%, 0 100%);
}

.pack-name {
  font-family: "Alfa Slab One", Archivo, serif;
  font-size: var(--name-size);
  line-height: 1.05;
  text-shadow: 0.7px 0 0 color-mix(in srgb, var(--wrap) 62%, var(--wrap-ink));
}

.pack-rate {
  font-size: clamp(0.72rem, 0.85vw, 0.82rem);
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--wrap-ink) 96%, var(--wrap));
}

.pack-desc {
  margin: 0.35em 0 0.1em;
  font-size: clamp(0.72rem, 0.85vw, 0.82rem);
  line-height: 1.28;
  color: color-mix(in srgb, var(--wrap-ink) 94%, var(--wrap));
}

.pack-cost {
  align-self: flex-start;
  display: flex;
  align-items: baseline;
  gap: 0.4em;
  margin-top: auto;
  padding: 0.24em 0.6em;
  border-radius: 2px;
  background-color: rgba(246, 241, 228, 0.94);
  background-image: var(--tooth);
  background-size: 120px 120px;
  background-blend-mode: multiply;
  color: var(--liquorice);
  font-size: clamp(0.98rem, 1.25vw, 1.1rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  transform: rotate(-1.4deg);
  box-shadow: 0 2px 6px -2px rgba(2, 6, 10, 0.7);
}

.pack-mult:empty {
  display: none;
}

.pack-mult {
  font-size: 0.66em;
  font-weight: 600;
  letter-spacing: 0.07em;
  color: color-mix(in srgb, var(--liquorice) 74%, #b7ad97);
}

.pack[aria-disabled="true"] .pack-cost {
  padding-left: 0;
  padding-right: 0;
  background: none;
  color: inherit;
  transform: none;
  box-shadow: none;
}

.pack[aria-disabled="true"] .pack-mult {
  color: inherit;
}

.pack.is-ready .pack-cost {
  animation: ready-pop 480ms var(--ease);
}

@keyframes ready-pop {
  0% {
    transform: rotate(-1.4deg) scale(1);
  }
  32% {
    transform: rotate(-1.4deg) scale(1.18);
  }
  100% {
    transform: rotate(-1.4deg) scale(1);
  }
}

.pack-foot {
  display: contents;
}

.pack-owned {
  font-size: clamp(0.72rem, 0.85vw, 0.82rem);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: color-mix(in srgb, var(--wrap-ink) 96%, var(--wrap));
}

.pack.is-stamped {
  animation: stamp 340ms var(--ease);
}

@keyframes stamp {
  0% {
    transform: scale(1);
  }
  22% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1);
  }
}

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

/* The ribbon needs ~1160px to show all seven packs; below that the haul reflows to a grid. */
@media (max-width: 1160px) {
  .packs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: clamp(0.4rem, 1.5vw, 0.9rem);
    padding: 0.65rem 0.4rem 0.75rem;
    overflow: visible;
  }

  .packs li {
    min-width: 0;
    margin-top: calc(var(--lift) * 0.35);
    margin-bottom: 0;
    transform: rotate(calc(var(--tilt-pack) * 0.5));
  }

  .packs li:last-child {
    grid-column: 1 / -1;
  }

  .packs li::before {
    transform: rotate(-0.9deg) translate(-6px, -3px);
  }

  .packs li::after {
    transform: rotate(0.7deg) translate(7px, 4px);
  }

  .pack {
    min-height: calc(var(--pack-h) * 0.56);
    gap: 0.05em;
    padding: calc(var(--step) * 0.5) calc(var(--step) * 0.8) calc(var(--step) * 0.6);
  }

  .pack-desc {
    display: none;
  }

  .pack-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    margin-top: auto;
    padding-top: 0.2em;
  }

  .pack-cost {
    align-self: center;
    margin-top: 0;
  }
}

@media (max-width: 1160px) and (max-height: 720px) {
  .haul {
    padding: calc(var(--step) * 0.5) var(--gutter) calc(var(--step) * 0.6);
  }

  .haul-bar {
    margin-bottom: calc(var(--step) * 0.45);
  }

  .packs {
    gap: 0.4rem;
    padding: 0.5rem 0.4rem 0.6rem;
  }

  .pack {
    min-height: calc(var(--pack-h) * 0.44);
    padding: calc(var(--step) * 0.45) calc(var(--step) * 0.7) calc(var(--step) * 0.5);
  }

  .pack-name {
    font-size: calc(var(--name-size) * 0.8);
  }

  .pack-rate,
  .pack-owned {
    font-size: 0.66rem;
  }

  .pack-cost {
    padding: 0.16em 0.42em;
    font-size: 0.92rem;
  }
}

@media (max-width: 620px) {
  .crowd {
    left: 0;
    right: 0;
    bottom: clamp(0.4rem, 1.5vh, 1rem);
    height: clamp(1.9rem, 5vh, 3rem);
    padding: 0 calc(var(--gutter) * 0.6);
  }

  .playfield {
    margin-bottom: clamp(3.4rem, 8.5vh, 4.6rem);
  }

  #candy {
    width: min(38vw, 11rem, 30vh);
    height: min(38vw, 11rem, 30vh);
  }

  .titleplate,
  .readout {
    padding: 0.4rem 0.7rem 0.5rem;
  }

  .titleplate {
    font-size: clamp(1rem, 4vw, 1.3rem);
  }

  .tally {
    font-size: clamp(1.25rem, 5.4vw, 1.9rem);
    gap: 0.3em;
  }

  .tally-unit {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
  }

  .rate {
    font-size: 0.7rem;
  }

  .haul {
    padding: calc(var(--step) * 0.6) var(--gutter) calc(var(--step) * 0.7);
  }

  .haul-bar {
    gap: calc(var(--step) * 0.6);
    margin-bottom: calc(var(--step) * 0.5);
  }

  .amount-option,
  #reset,
  .reset-confirm button {
    min-height: 2.5rem;
  }

  .packs {
    gap: 0.34rem;
    padding: 0.45rem 0.3rem 0.5rem;
  }

  .packs li {
    margin-top: calc(var(--lift) * 0.22);
  }

  .pack {
    min-height: calc(var(--pack-h) * 0.4);
    gap: 0;
    padding: calc(var(--step) * 0.4) calc(var(--step) * 0.65) calc(var(--step) * 0.45);
  }

  .pack-name {
    font-size: calc(var(--name-size) * 0.68);
  }

  .pack-rate {
    font-size: 0.6rem;
    letter-spacing: 0.05em;
  }

  .pack-foot {
    padding-top: 0.1em;
  }

  .pack-cost {
    padding: 0.14em 0.4em;
    font-size: 0.86rem;
  }

  .pack-owned {
    font-size: 0.6rem;
  }
}

/* Short phones: the street is the point, so the haul gives back more room. */
@media (max-width: 620px) and (max-height: 740px) {
  .haul {
    padding: calc(var(--step) * 0.4) calc(var(--gutter) * 0.7) calc(var(--step) * 0.5);
  }

  .packs {
    gap: 0.28rem;
    padding: 0.35rem 0.25rem 0.4rem;
  }

  .pack {
    min-height: calc(var(--pack-h) * 0.34);
    padding: calc(var(--step) * 0.32) calc(var(--step) * 0.55) calc(var(--step) * 0.36);
  }

  .pack-name {
    font-size: calc(var(--name-size) * 0.6);
  }

  .pack-rate {
    font-size: 0.55rem;
  }

  .pack-cost {
    font-size: 0.78rem;
  }

  .pack-owned {
    font-size: 0.55rem;
  }
}

@media (max-width: 620px) and (orientation: portrait) {
  body {
    background-image: image-set(url("assets/halloween-portrait.webp") type("image/webp"), url("assets/halloween.png") type("image/png")),
      url("data:image/webp;base64,UklGRmIAAABXRUJQVlA4IFYAAAAwBACdASoUACEAPtFYo0yoLaMiMBVaqbAaCWcAxCQKHZaO8d41Ibz6cAAA/vMlR2nm5FhzcP5DeS1yCRb9UF9dbdLiJSNtnP2sVA/Z3uNAqjMrWyAAAA==");
  }
}

/* Short viewports (landscape phones) get four columns rather than four rows. */
@media (max-height: 560px) {
  .packs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 0.5rem 0.4rem 0.6rem;
  }

  .packs li:last-child {
    grid-column: span 2;
  }

  #candy {
    width: clamp(5rem, 26vh, 9rem);
    height: clamp(5rem, 26vh, 9rem);
  }

  .playfield {
    margin-bottom: clamp(1.6rem, 5vh, 2.6rem);
  }

  .crowd {
    height: clamp(1.4rem, 7vh, 2.6rem);
  }

  .pack {
    min-height: calc(var(--pack-h) * 0.46);
  }

  .pack-name {
    font-size: calc(var(--name-size) * 0.8);
  }
}

@media (max-width: 360px) {
  .pack-cost {
    font-size: 0.86rem;
  }

  .pack-owned {
    font-size: 0.6rem;
  }
}

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