:root {
  color-scheme: dark;
  font-family: "Arial Rounded MT Bold", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --ink: #222442;
  --ink-soft: #555777;
  --cream: #fff7df;
  --paper: #fffaf0;
  --orange: #ff725e;
  --orange-dark: #d94748;
  --yellow: #ffd45f;
  --blue: #6ed6df;
  --blue-dark: #2b7e9a;
  --purple: #494a86;
  --shadow: 0 10px 0 rgba(28, 28, 59, 0.18);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  overscroll-behavior: none;
  background: #17182f;
}

body {
  display: grid;
  place-items: center;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

button,
select {
  font: inherit;
}

button {
  color: inherit;
  border: 0;
  cursor: pointer;
  touch-action: manipulation;
}

button:focus-visible {
  outline: 4px solid #fff;
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.app-shell {
  position: relative;
  width: min(100vw, 520px);
  height: 100dvh;
  min-height: 100%;
  overflow: hidden;
  isolation: isolate;
  background: #65d2dd;
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.4);
}

.screen,
.overlay {
  position: absolute;
  inset: 0;
}

.screen {
  overflow: hidden;
}

.overlay {
  z-index: 30;
  display: grid;
  place-items: center;
  padding: calc(22px + var(--safe-top)) calc(20px + var(--safe-right)) calc(22px + var(--safe-bottom)) calc(20px + var(--safe-left));
  background: rgba(29, 29, 62, 0.74);
  backdrop-filter: blur(8px);
}

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

.eyebrow {
  margin: 0;
  color: var(--purple);
  font-size: clamp(11px, 3.1vw, 14px);
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.logo-title {
  position: relative;
  margin: 6px 0 0;
  color: var(--ink);
  font-size: clamp(48px, 15vw, 78px);
  font-weight: 1000;
  line-height: 0.96;
  letter-spacing: -0.08em;
  filter: drop-shadow(0 6px 0 rgba(255, 255, 255, 0.7));
}

.logo-title b {
  display: inline-block;
  margin: 0 0.04em;
  color: var(--yellow);
  font-style: normal;
  transform: rotate(7deg) translateY(-0.12em);
  -webkit-text-stroke: 4px var(--ink);
}

.logo-title em {
  display: inline-block;
  color: var(--orange);
  font-style: normal;
  transform: rotate(-4deg);
  -webkit-text-stroke: 3px var(--ink);
}

.primary-button,
.secondary-button,
.text-button {
  width: 100%;
  min-height: 54px;
  border-radius: 18px;
  font-weight: 900;
  letter-spacing: 0.03em;
  transition: transform 100ms ease, box-shadow 100ms ease, filter 100ms ease;
}

.primary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 20px;
  color: #fff;
  background: linear-gradient(180deg, #ff816c, #f25755);
  box-shadow: 0 7px 0 #bd3d47, 0 12px 24px rgba(161, 50, 64, 0.25);
  text-shadow: 0 2px 0 rgba(94, 25, 37, 0.25);
}

.primary-button i {
  font-size: 28px;
  font-style: normal;
  line-height: 1;
}

.secondary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  color: var(--ink);
  border: 2px solid rgba(34, 36, 66, 0.12);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 5px 0 rgba(34, 36, 66, 0.13);
}

.secondary-button small {
  margin-left: auto;
  color: var(--orange-dark);
  font-size: 12px;
}

.text-button {
  min-height: 44px;
  color: var(--ink-soft);
  background: transparent;
}

.primary-button:active,
.secondary-button:active,
.round-tool:active,
.hud-button:active {
  transform: translateY(4px) scale(0.98);
  box-shadow: 0 2px 0 rgba(34, 36, 66, 0.22);
}

/* Loading */
.loading-screen {
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 26%, rgba(255, 255, 255, 0.72) 0 18%, transparent 42%),
    linear-gradient(160deg, #75dce2 0%, #b9efe6 58%, #fff0b2 100%);
}

.loading-logo {
  position: relative;
  width: 112px;
  height: 104px;
  margin-bottom: 20px;
  animation: loading-bob 1.1s ease-in-out infinite;
}

.loading-face {
  position: absolute;
  inset: 15px 10px 8px;
  border: 6px solid var(--ink);
  border-radius: 48% 48% 44% 44%;
  background: var(--orange);
  box-shadow: inset -12px -10px 0 #ef574f;
}

.loading-face i {
  position: absolute;
  top: 35px;
  width: 9px;
  height: 13px;
  border-radius: 50%;
  background: var(--ink);
}

.loading-face i:first-child { left: 24px; }
.loading-face i:last-child { right: 24px; }

.loading-ear {
  position: absolute;
  top: 0;
  z-index: -1;
  width: 42px;
  height: 45px;
  border: 6px solid var(--ink);
  border-radius: 8px 80% 10px 80%;
  background: var(--orange);
}

.loading-ear--left { left: 12px; transform: rotate(-18deg); }
.loading-ear--right { right: 12px; transform: rotate(108deg); }

.loading-tail {
  position: absolute;
  right: -17px;
  bottom: 2px;
  width: 48px;
  height: 34px;
  border-top: 9px solid var(--ink);
  border-right: 9px solid var(--ink);
  border-radius: 0 28px 0 0;
  transform: rotate(-14deg);
}

.loading-copy {
  margin: 22px 0 12px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}

.loading-track {
  width: min(250px, 76vw);
  height: 12px;
  padding: 3px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
}

.loading-track span {
  display: block;
  width: 8%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--orange), var(--yellow));
  transition: width 160ms ease;
}

@keyframes loading-bob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}

/* Home */
.home-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: calc(18px + var(--safe-top)) calc(22px + var(--safe-right)) calc(18px + var(--safe-bottom)) calc(22px + var(--safe-left));
  color: var(--ink);
  background: linear-gradient(180deg, #70d8e1 0%, #c5eee0 52%, #ffd99d 100%);
}

.home-tools {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.home-tool-group {
  display: flex;
  gap: 9px;
}

.round-tool,
.hud-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--ink);
  border: 2px solid rgba(34, 36, 66, 0.18);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 5px 0 rgba(34, 36, 66, 0.16);
  font-size: 15px;
  font-weight: 1000;
}

.sound-tool[aria-pressed="false"] span,
#gameSoundButton[aria-pressed="false"] span {
  opacity: 0.36;
  text-decoration: line-through;
}

.home-sky {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.cloud {
  position: absolute;
  width: 72px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  bottom: 0;
  border-radius: 50%;
  background: inherit;
}

.cloud::before { left: 10px; width: 30px; height: 30px; }
.cloud::after { right: 9px; width: 38px; height: 38px; }
.cloud--one { top: 12%; left: -12px; transform: scale(0.82); }
.cloud--two { top: 19%; right: -16px; transform: scale(1.15); }

.building {
  position: absolute;
  bottom: 35%;
  width: 24%;
  border-radius: 10px 10px 0 0;
  background: rgba(57, 84, 128, 0.22);
}

.building::after {
  content: "";
  position: absolute;
  inset: 18px 12px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 7px, transparent 7px 17px);
  mask: repeating-linear-gradient(0deg, #000 0 8px, transparent 8px 20px);
}

.building--one { left: -4%; height: 25%; }
.building--two { left: 27%; height: 18%; }
.building--three { right: -5%; height: 29%; }

.home-copy {
  position: relative;
  z-index: 2;
  margin-top: clamp(14px, 3vh, 28px);
  text-align: center;
}

.logo-title--home {
  font-size: clamp(48px, 16vw, 82px);
}

.home-subtitle {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: clamp(15px, 4.2vw, 19px);
  font-weight: 800;
  letter-spacing: 0.06em;
}

.hero-board {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  width: min(330px, 92vw);
  min-height: 190px;
  margin: 6px 0 2px;
}

.hero-dot {
  position: absolute;
  width: 54px;
  height: 54px;
  border: 4px solid rgba(34, 36, 66, 0.12);
  border-radius: 50%;
  background: rgba(255, 250, 223, 0.76);
  box-shadow: inset 0 -7px 0 rgba(34, 36, 66, 0.08);
}

.hero-dot--1 { left: 3%; bottom: 28%; }
.hero-dot--2 { left: 21%; bottom: 7%; }
.hero-dot--3 { left: 26%; bottom: 43%; }
.hero-dot--4 { right: 26%; bottom: 41%; }
.hero-dot--5 { right: 19%; bottom: 6%; }
.hero-dot--6 { right: 2%; bottom: 27%; }

.hero-cat {
  position: absolute;
  left: 50%;
  bottom: 12%;
  width: 100px;
  height: 132px;
  transform: translateX(-50%);
  animation: hero-bob 2.2s ease-in-out infinite;
}

.hero-body {
  position: absolute;
  left: 27px;
  bottom: 3px;
  width: 52px;
  height: 74px;
  border: 5px solid var(--ink);
  border-radius: 50% 50% 38% 42%;
  background: var(--orange);
  box-shadow: inset -12px -5px 0 #ef5c51;
}

.hero-head {
  position: absolute;
  left: 15px;
  top: 17px;
  z-index: 2;
  width: 76px;
  height: 67px;
  border: 5px solid var(--ink);
  border-radius: 46% 48% 42% 45%;
  background: var(--orange);
  box-shadow: inset -13px -8px 0 #ef5c51;
}

.hero-ear {
  position: absolute;
  top: -18px;
  width: 29px;
  height: 35px;
  border: 5px solid var(--ink);
  background: var(--orange);
}

.hero-ear--left { left: 3px; border-radius: 4px 85% 5px 80%; transform: rotate(-10deg); }
.hero-ear--right { right: 3px; border-radius: 85% 4px 80% 5px; transform: rotate(10deg); }

.hero-eye {
  position: absolute;
  top: 25px;
  width: 8px;
  height: 12px;
  border-radius: 50%;
  background: var(--ink);
  animation: hero-blink 4s infinite;
}

.hero-eye--left { left: 21px; }
.hero-eye--right { right: 21px; }

.hero-muzzle {
  position: absolute;
  left: 50%;
  bottom: 11px;
  width: 29px;
  height: 16px;
  border-bottom: 4px solid var(--ink);
  border-radius: 50%;
  transform: translateX(-50%);
}

.hero-tail {
  position: absolute;
  right: -13px;
  bottom: 27px;
  width: 47px;
  height: 54px;
  border-top: 13px solid var(--ink);
  border-right: 13px solid var(--ink);
  border-radius: 0 45px 0 0;
  transform: rotate(25deg);
  animation: tail-wave 1.1s ease-in-out infinite alternate;
}

.hero-crate {
  position: absolute;
  width: 56px;
  height: 47px;
  border: 5px solid var(--ink);
  border-radius: 9px;
  background: var(--yellow);
  box-shadow: inset 0 -8px 0 #efb84e;
  transform: rotate(-7deg);
}

.hero-crate::after {
  content: "×";
  display: grid;
  place-items: center;
  height: 100%;
  color: rgba(34,36,66,.55);
  font-size: 38px;
  line-height: 1;
}

.hero-crate--one { left: 3%; bottom: 1%; }
.hero-crate--two { right: 0; bottom: 2%; transform: rotate(9deg) scale(.82); }

@keyframes hero-bob {
  0%, 100% { transform: translateX(-50%) translateY(0) rotate(-1deg); }
  50% { transform: translateX(-50%) translateY(-6px) rotate(1deg); }
}

@keyframes tail-wave {
  from { transform: rotate(17deg); }
  to { transform: rotate(34deg); }
}

@keyframes hero-blink {
  0%, 45%, 49%, 100% { transform: scaleY(1); }
  47% { transform: scaleY(.1); }
}

.home-actions {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 12px;
  width: min(340px, 100%);
}

.home-actions .primary-button {
  min-height: 64px;
  font-size: 20px;
}

.home-actions .secondary-button {
  min-height: 50px;
}

.record-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 12px;
  width: min(330px, 100%);
  margin-top: 16px;
  color: var(--ink-soft);
  text-align: center;
}

.record-strip div {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
}

.record-strip strong {
  color: var(--ink);
  font-size: 18px;
}

.record-strip > i {
  background: rgba(34,36,66,.2);
}

/* Game */
.game-screen {
  background: #26305d;
}

#gameCanvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
}

.game-hud {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: 46px 1fr 46px;
  align-items: start;
  gap: 12px;
  padding: calc(13px + var(--safe-top)) calc(15px + var(--safe-right)) 0 calc(15px + var(--safe-left));
  pointer-events: none;
}

.game-hud button {
  pointer-events: auto;
}

.hud-button {
  width: 44px;
  height: 44px;
  color: var(--cream);
  border-color: rgba(255,255,255,.22);
  background: rgba(27, 28, 63, 0.62);
  box-shadow: 0 4px 0 rgba(10, 11, 33, .3);
}

.mode-chip {
  min-width: 0;
  padding: 6px 12px 7px;
  color: var(--cream);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 15px;
  background: rgba(27, 28, 63, 0.48);
  text-align: center;
  backdrop-filter: blur(6px);
}

.mode-chip span {
  display: block;
  font-size: 14px;
  font-weight: 900;
}

.mode-chip small {
  display: block;
  min-height: 12px;
  margin-top: 2px;
  color: var(--yellow);
  font-size: 10px;
  font-weight: 800;
}

.score-row {
  position: absolute;
  top: calc(73px + var(--safe-top));
  left: 50%;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  width: min(330px, calc(100% - 38px));
  padding: 9px 13px;
  color: var(--cream);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 17px;
  background: rgba(27, 28, 63, 0.34);
  transform: translateX(-50%);
  backdrop-filter: blur(5px);
}

.score-row div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
}

.score-row strong {
  font-size: 18px;
  line-height: 1;
}

.streak-pill {
  border-inline: 1px solid rgba(255,255,255,.18);
}

.turn-hint {
  position: absolute;
  left: 50%;
  bottom: calc(17px + var(--safe-bottom));
  z-index: 4;
  width: max-content;
  max-width: calc(100% - 34px);
  margin: 0;
  padding: 8px 14px;
  color: var(--cream);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  background: rgba(27, 28, 63, 0.5);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  transform: translateX(-50%);
  backdrop-filter: blur(4px);
}

.tutorial-callout {
  position: absolute;
  left: 50%;
  bottom: calc(55px + var(--safe-bottom));
  z-index: 7;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 9px;
  width: min(355px, calc(100% - 26px));
  padding: 10px 12px;
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 7px 0 rgba(16,17,45,.25);
  transform: translateX(-50%);
}

.tutorial-callout span {
  color: var(--orange-dark);
  font-size: 11px;
  font-weight: 1000;
}

.tutorial-callout p {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
}

.tutorial-callout button {
  padding: 6px;
  color: var(--ink-soft);
  background: transparent;
  font-size: 11px;
  font-weight: 800;
}

/* Modals */
.modal-card {
  position: relative;
  width: min(380px, 100%);
  padding: 32px 24px 22px;
  color: var(--ink);
  border: 4px solid var(--ink);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: 0 12px 0 rgba(16, 17, 45, .34), 0 28px 55px rgba(10, 11, 33, .3);
  text-align: center;
  animation: modal-pop 240ms cubic-bezier(.2,.9,.25,1.2);
}

.modal-card h2 {
  margin: 7px 0 8px;
  font-size: clamp(30px, 9vw, 44px);
  line-height: 1;
}

.modal-card > p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.modal-card .primary-button,
.modal-card .secondary-button {
  margin-top: 12px;
}

.result-card.is-win {
  background: linear-gradient(180deg, #fffaf0, #fff0c7);
}

.result-card.is-lose {
  background: linear-gradient(180deg, #fffaf0, #e7eef9);
}

.result-badge {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin: -65px auto 15px;
  color: var(--ink);
  border: 4px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 6px 0 rgba(16,17,45,.25);
  font-size: 34px;
}

.is-lose .result-badge {
  background: var(--blue);
}

.result-message {
  min-height: 24px;
  margin: 8px 0 16px;
}

.result-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 18px 0 6px;
  padding: 13px 4px;
  border-block: 2px dashed rgba(34,36,66,.17);
}

.result-stats div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 10px;
  font-weight: 800;
  color: var(--ink-soft);
}

.result-stats strong {
  color: var(--ink);
  font-size: 21px;
}

.compact-card {
  max-width: 340px;
}

.confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.help-card {
  max-width: 390px;
  text-align: left;
}

.help-card h2,
.help-card > .eyebrow {
  text-align: center;
}

.close-button {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  color: var(--ink-soft);
  border-radius: 50%;
  background: rgba(34,36,66,.08);
  font-size: 24px;
}

.help-list {
  display: grid;
  gap: 12px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.help-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 11px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.45;
}

.help-list b {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--yellow);
}

@keyframes modal-pop {
  from { opacity: 0; transform: translateY(16px) scale(.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Orientation gate */
.orientation-gate {
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--cream);
  background:
    radial-gradient(circle at 50% 38%, rgba(110,214,223,.28), transparent 35%),
    #202149;
  text-align: center;
}

.orientation-gate .eyebrow {
  color: var(--yellow);
}

.orientation-gate h2 {
  margin: 10px 0 8px;
  font-size: clamp(32px, 7vw, 54px);
}

.orientation-gate p:last-child {
  max-width: 420px;
  margin: 0;
  color: rgba(255,247,223,.75);
  font-size: 15px;
  font-weight: 700;
}

.orientation-art {
  position: relative;
  width: 150px;
  height: 104px;
  margin-bottom: 24px;
}

.phone-shape {
  position: absolute;
  left: 48px;
  top: 0;
  width: 58px;
  height: 94px;
  border: 5px solid var(--cream);
  border-radius: 13px;
  transform: rotate(-8deg);
  animation: phone-turn 1.8s ease-in-out infinite;
}

.phone-shape i {
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cream);
  transform: translateX(-50%);
}

.rotate-arrow {
  position: absolute;
  right: 6px;
  top: 27px;
  color: var(--yellow);
  font-size: 48px;
  font-weight: 1000;
}

@keyframes phone-turn {
  0%, 25% { transform: rotate(82deg); }
  65%, 100% { transform: rotate(-8deg); }
}

@media (orientation: landscape) {
  .app-shell {
    width: 100vw;
    max-width: none;
    box-shadow: none;
  }

  #orientationGate { display: flex !important; }
}

@media (max-height: 650px) and (orientation: portrait) {
  .home-screen {
    padding-top: calc(10px + var(--safe-top));
    padding-bottom: calc(9px + var(--safe-bottom));
  }

  .home-copy { margin-top: 4px; }
  .logo-title--home { font-size: clamp(43px, 14vw, 58px); }
  .home-subtitle { margin-top: 5px; font-size: 13px; }
  .hero-board { min-height: 142px; margin: 0; transform: scale(.86); }
  .home-actions { gap: 8px; }
  .home-actions .primary-button { min-height: 52px; font-size: 17px; }
  .home-actions .secondary-button { min-height: 44px; }
  .record-strip { margin-top: 10px; }
  .score-row { top: calc(65px + var(--safe-top)); padding-block: 7px; }
  .turn-hint { bottom: calc(8px + var(--safe-bottom)); }
  .tutorial-callout { bottom: calc(42px + var(--safe-bottom)); }
}

@media (min-width: 521px) and (orientation: portrait) {
  .app-shell {
    max-height: 1040px;
    border-inline: 1px solid rgba(255,255,255,.08);
  }
}

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