/* =========================================================
   THE AdVEEnture Quest — event splash styling
   Art direction follows the reference key visual:
   stormy mountain sky, cyan lightning (left), purple energy (right),
   heroes framing the edges, white serif title, white + royal-blue capsules.
   Mobile-first (portrait phone), scales up to tablet/desktop.
   ========================================================= */

/* ---------- Self-hosted fonts (no external requests) ---------- */
@font-face { font-family: 'Noto Serif Display'; src: url('assets/fonts/noto-serif-display-latin-variable.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans Thai'; src: url('assets/fonts/ibm-plex-sans-thai-latin-500.woff2') format('woff2'); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans Thai'; src: url('assets/fonts/ibm-plex-sans-thai-latin-600.woff2') format('woff2'); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans Thai'; src: url('assets/fonts/ibm-plex-sans-thai-latin-700.woff2') format('woff2'); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans Thai'; src: url('assets/fonts/ibm-plex-sans-thai-thai-500.woff2') format('woff2'); font-weight: 500; font-display: swap; unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: 'IBM Plex Sans Thai'; src: url('assets/fonts/ibm-plex-sans-thai-thai-600.woff2') format('woff2'); font-weight: 600; font-display: swap; unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: 'IBM Plex Sans Thai'; src: url('assets/fonts/ibm-plex-sans-thai-thai-700.woff2') format('woff2'); font-weight: 700; font-display: swap; unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC; }

:root {
  --royal: #1b37c8;       /* reference "ต่อไป" button */
  --royal-hi: #2b4be0;
  --white: #ffffff;
  --font-display: 'Noto Serif Display', 'Times New Roman', Georgia, serif;
  --font-ui: 'IBM Plex Sans Thai', 'Helvetica Neue', system-ui, sans-serif;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; background: #0d1017; overflow: hidden; }
body {
  font-family: var(--font-ui);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  overscroll-behavior: none;
}
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

#stage {
  position: fixed;
  inset: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  isolation: isolate;
}

/* ---------------- Background ---------------- */
.bg, .bg > * { position: absolute; inset: 0; }
.bg { z-index: 0; }
.bg-scene {
  inset: -3%;
  background: #1b1f29 url('assets/bg/scene.svg') center / cover no-repeat;
  animation: drift 30s ease-in-out infinite alternate;
}
.bg-energy { pointer-events: none; will-change: opacity; }
.bg-energy--blue {
  background:
    radial-gradient(22% 30% at 22% 26%, rgba(220, 248, 255, .55), transparent 70%),
    radial-gradient(40% 55% at 15% 30%, rgba(70, 170, 255, .38), transparent 75%);
  animation: breathe 5s ease-in-out infinite;
}
.bg-energy--purple {
  background:
    radial-gradient(18% 26% at 82% 28%, rgba(255, 235, 255, .6), transparent 70%),
    radial-gradient(45% 65% at 86% 40%, rgba(170, 70, 255, .55), rgba(140, 40, 220, .2) 50%, transparent 78%),
    radial-gradient(30% 30% at 70% 80%, rgba(170, 90, 255, .35), transparent 75%);
  animation: breathe 6s ease-in-out -2s infinite;
}
/* glowing purple arc (portal) at lower right, as in the reference */
.bg-portal {
  inset: auto;
  width: 70vmax; height: 70vmax;
  right: -38vmax; bottom: -30vmax;
  border-radius: 50%;
  border: 3px solid rgba(225, 180, 255, .9);
  box-shadow: 0 0 30px 6px rgba(180, 90, 255, .8), inset 0 0 40px 8px rgba(180, 90, 255, .55);
  mask: conic-gradient(from 200deg, transparent 0 10%, #000 25% 45%, transparent 60%);
  -webkit-mask: conic-gradient(from 200deg, transparent 0 10%, #000 25% 45%, transparent 60%);
  will-change: transform;
  animation: spin 40s linear infinite;
  opacity: .85;
}
#particles { width: 100%; height: 100%; }
#lightning { overflow: hidden; pointer-events: none; }
/* Each bolt is a pre-drawn canvas; only opacity animates (GPU-composited). */
.bolt { position: absolute; will-change: opacity; }
.bolt.is-idle { animation: bolt-in .5s ease-out backwards, flicker 4s steps(1, end) infinite .5s; }
.bolt.is-out { animation: bolt-out .6s ease-in forwards; }
.bolt.is-strike { animation: strike .8s ease-out forwards; }
@keyframes bolt-in { from { opacity: 0; } }
@keyframes bolt-out { to { opacity: 0; } }
@keyframes flicker {
  0%, 100% { opacity: .85; }
  12% { opacity: .55; }
  14% { opacity: .95; }
  40% { opacity: .7; }
  62% { opacity: 1; }
  64% { opacity: .5; }
  66% { opacity: .9; }
  85% { opacity: .65; }
}
@keyframes strike {
  0% { opacity: 1; }
  10% { opacity: .3; }
  18% { opacity: 1; }
  100% { opacity: 0; }
}
.bg-center-shade {
  background: radial-gradient(42% 46% at 50% 52%, rgba(8, 10, 18, .62) 0%, rgba(8, 10, 18, .3) 60%, transparent 100%);
  transition: background .6s ease;
}
body[data-screen='brief'] .bg-center-shade,
body[data-screen='quiz'] .bg-center-shade,
body[data-screen='result'] .bg-center-shade {
  background: radial-gradient(70% 58% at 50% 54%, rgba(8, 10, 18, .8) 0%, rgba(8, 10, 18, .5) 60%, rgba(8, 10, 18, .15) 100%);
}
.bg-vignette { background: radial-gradient(130% 100% at 50% 50%, transparent 60%, rgba(0, 0, 0, .55) 100%); }

@keyframes drift { to { transform: translate3d(1.5%, -1%, 0) scale(1.03); } }
@keyframes breathe { 50% { opacity: .7; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------- Heroes ----------------
   --w = width in vw; capped by height so wide screens keep
   the reference proportions. Positions adapt per screen. */
.heroes { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero {
  --w: 30;
  --o: 1;
  position: absolute;
  width: min(calc(var(--w) * 1vw), calc(var(--w) * 2dvh));
  opacity: var(--o);
  transition: width .8s cubic-bezier(.2, .8, .2, 1), opacity .6s ease, left .8s, right .8s, top .8s, bottom .8s, filter .6s;
}
.hero img {
  display: block;
  width: 100%;
  height: auto;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .45));
}
.hero--tank img    { animation-delay: -1.2s; animation-duration: 7s; }
.hero--healer img  { animation-delay: -3.2s; animation-duration: 6.5s; }
.hero--archer img  { animation-delay: -2.1s; animation-duration: 7.5s; }
.hero--mage img    { animation-delay: -4s; }
.hero--fighter img { animation-delay: -0.6s; animation-duration: 6.8s; }

/* Portrait phone — start screen */
.hero--tank    { left: 2%;   top: calc(7% + var(--safe-t));  --w: 34; }
.hero--healer  { left: -5%;  top: calc(19% + var(--safe-t)); --w: 32; }
.hero--mage    { right: -3%; top: calc(7% + var(--safe-t));  --w: 46; }
.hero--archer  { left: -7%;  bottom: -1%; --w: 58; }
.hero--fighter { right: -4%; bottom: 3%;  --w: 50; }

/* Portrait phone — briefing / quiz: heroes retreat, stay visible */
body[data-screen='brief'] .hero,
body[data-screen='quiz'] .hero { --o: .72; }
body[data-screen='quiz'] .hero--tank    { --w: 24; left: -2%; top: calc(5% + var(--safe-t)); }
body[data-screen='quiz'] .hero--healer  { --w: 24; left: -10%; top: calc(14% + var(--safe-t)); }
body[data-screen='quiz'] .hero--mage    { --w: 32; right: -8%; top: calc(5% + var(--safe-t)); }
body[data-screen='quiz'] .hero--archer  { --w: 40; left: -10%; bottom: -2%; }
body[data-screen='quiz'] .hero--fighter { --w: 36; right: -8%; bottom: 0%; }

/* Result: winner stays bright, others fade back */
body[data-screen='result'] .hero { --o: .25; filter: saturate(.5) brightness(.8); }
/* portrait: the winner is already shown large in the centre */
body[data-screen='result'] .hero.is-winner { --o: .25; }

.hero.is-pulse img { animation: float 6s ease-in-out infinite, pulse .7s ease-out; }
@keyframes float { 50% { translate: 0 -3%; } }
@keyframes pulse {
  35% { filter: drop-shadow(0 0 24px rgba(160, 210, 255, .95)) brightness(1.35); }
}

/* ---------------- Brand ---------------- */
.brand {
  position: absolute;
  z-index: 3;
  top: calc(14px + var(--safe-t));
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .6);
}
.brand-logo { height: clamp(28px, 5.5vw, 52px); width: auto; display: block; }
.brand.has-logo > span { display: none; }
.brand-mark { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: .04em; }
.brand-sep { width: 1.5px; height: 20px; background: rgba(255, 255, 255, .85); }
.brand-event { font-size: 12px; font-weight: 600; letter-spacing: .18em; }

/* ---------------- Content shell ---------------- */
.content {
  position: absolute;
  z-index: 2;
  inset: 0;
  padding:
    calc(58px + var(--safe-t))
    calc(20px + var(--safe-r))
    calc(16px + var(--safe-b))
    calc(20px + var(--safe-l));
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  transition: opacity .26s ease, transform .26s ease;
  scrollbar-width: none;
}
.content::-webkit-scrollbar { display: none; }
.content.is-leaving  { opacity: 0; transform: scale(.98); }
.content.is-entering { opacity: 0; transform: scale(1.02); transition: none; }

.screen {
  margin: auto;
  width: 100%;
  min-width: 0;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: clamp(15px, 4.2vw, 22px);
  font-weight: 500;
  letter-spacing: .04em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .7);
}

/* ---------------- Start ---------------- */
.screen--start { gap: 12px; }
.title {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: .95;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 8px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .55), 0 0 2px rgba(0, 0, 0, .3);
}
.title-the  { font-size: clamp(20px, 5.6vw, 40px); letter-spacing: .32em; padding-left: .32em; margin-bottom: .2em; }
.title-main { font-size: clamp(46px, 14vw, 128px); letter-spacing: .005em; }
.subtitle {
  font-family: var(--font-display);
  font-size: clamp(16px, 4.6vw, 28px);
  font-weight: 600;
  letter-spacing: .03em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .7);
}
.support {
  max-width: 320px;
  font-size: 15px;
  font-weight: 500;
  opacity: .88;
  margin-bottom: 10px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .8);
}

/* ---------------- Capsule buttons (reference style) ---------------- */
.pill {
  border-radius: 999px;
  min-height: 56px;
  padding: 12px 32px;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  transition: transform .15s ease, box-shadow .25s ease, background-color .2s ease, filter .2s ease;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .35);
}
.pill--xl { width: min(500px, 86vw); min-height: 60px; font-size: clamp(18px, 4.8vw, 22px); }
.pill--white { background: #fff; color: var(--royal); }
.pill--blue  { background: var(--royal); color: #fff; }
@media (hover: hover) {
  .pill:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(20, 50, 200, .45), 0 0 0 3px rgba(150, 190, 255, .45); }
  .pill--blue:hover { background: var(--royal-hi); }
}
.pill:active { transform: scale(.97); filter: brightness(.95); }

.back {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .78);
  padding: 10px 6px;
  min-height: 44px;
  transition: color .2s;
}
.back:hover, .back:active { color: #fff; }

/* ---------------- Briefing ---------------- */
.screen--brief { gap: 18px; }
.headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 8.4vw, 56px);
  line-height: 1.08;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .6);
}
.brief-body { font-size: 17px; font-weight: 500; line-height: 1.55; max-width: 400px; opacity: .92; text-shadow: 0 1px 8px rgba(0, 0, 0, .8); }
.summit { width: 64px; height: 64px; position: relative; margin: 2px 0 6px; }
.summit span {
  position: absolute; inset: 12px;
  background: linear-gradient(160deg, #fff, #d9c4ff 40%, #8a5cff);
  clip-path: polygon(50% 0, 100% 60%, 50% 100%, 0 60%);
  filter: drop-shadow(0 0 14px #b88cff);
  animation: float 4s ease-in-out infinite;
}
.summit::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(190, 140, 255, .55), transparent 70%);
  animation: breathe 3s ease-in-out infinite;
}

/* ---------------- Quiz ---------------- */
.screen--quiz { gap: 14px; min-height: 100%; justify-content: center; }
.qnum {
  font-family: var(--font-display);
  font-size: clamp(16px, 4.4vw, 22px);
  font-weight: 500;
  letter-spacing: .06em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .7);
}
.qnum b { font-weight: 700; }
.question {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(23px, 6.4vw, 40px);
  line-height: 1.18;
  text-shadow: 0 3px 20px rgba(0, 0, 0, .7);
  margin-bottom: 6px;
  text-wrap: balance;
}
.answers { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.answer {
  width: min(520px, 100%);
  min-height: 54px;
  padding: 10px 26px;
  border-radius: 999px;
  text-align: center;
  background: #fff;
  color: var(--royal);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
  transition: transform .18s ease, box-shadow .25s ease, background-color .2s ease, color .2s ease, opacity .3s ease;
  animation: rise .45s cubic-bezier(.2, .8, .2, 1) backwards;
}
.answer:nth-child(1) { animation-delay: .03s; }
.answer:nth-child(2) { animation-delay: .08s; }
.answer:nth-child(3) { animation-delay: .13s; }
.answer:nth-child(4) { animation-delay: .18s; }
.answer:nth-child(5) { animation-delay: .23s; }
@media (hover: hover) {
  .answer:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(20, 50, 200, .45), 0 0 0 3px rgba(150, 190, 255, .55); }
}
.answer:active { transform: scale(.97); }
.answer.is-selected {
  background: var(--royal);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(170, 200, 255, .85), 0 0 28px rgba(60, 110, 255, .9);
}
.answer.is-chosen { transform: scale(1.03); }
.answer.is-dimmed { opacity: .5; transform: scale(.98); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }

.quiz-foot {
  width: min(520px, 100%);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-top: 4px;
}
.quiz-foot .back { justify-self: start; }
.progress { display: flex; gap: 6px; }
.seg { width: 30px; height: 5px; border-radius: 99px; background: rgba(255, 255, 255, .25); transition: background .3s; }
.seg.done { background: #8fa6ff; }
.seg.active { background: #fff; box-shadow: 0 0 8px rgba(255, 255, 255, .8); }

/* ---------------- Result ---------------- */
.screen--result { gap: 10px; padding-bottom: 8px; }
.result-art { position: relative; margin: 0 0 -10px; }
.result-art::before {
  content: ''; position: absolute; inset: -10% -25%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--hero) 50%, transparent), transparent);
  animation: breathe 3s ease-in-out infinite;
}
.result-art img {
  position: relative;
  display: block;
  max-height: clamp(130px, 22dvh, 300px);
  max-width: 78vw;
  width: auto;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, .5));
  animation: float 5s ease-in-out infinite;
}
.result-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(54px, 16vw, 110px);
  line-height: 1;
  letter-spacing: .02em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .6), 0 0 40px color-mix(in srgb, var(--hero) 60%, transparent);
  animation: reveal .8s cubic-bezier(.2, .8, .2, 1) backwards .1s;
}
.result-title { font-family: var(--font-display); font-size: clamp(18px, 5vw, 26px); font-weight: 600; color: var(--hero); text-shadow: 0 2px 12px rgba(0, 0, 0, .8); }
.result-tag { font-size: 16px; font-style: italic; font-weight: 600; }
.result-desc { font-size: 15px; font-weight: 500; line-height: 1.55; opacity: .9; max-width: 440px; text-shadow: 0 1px 8px rgba(0, 0, 0, .8); }
.traits { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 4px 0; }
.traits li {
  padding: 5px 16px; border-radius: 99px;
  font-size: 14px; font-weight: 600;
  background: rgba(255, 255, 255, .12);
  border: 1.5px solid color-mix(in srgb, var(--hero) 70%, white);
  backdrop-filter: blur(4px);
}
.breakdown { list-style: none; width: 100%; max-width: 340px; display: grid; gap: 6px; margin: 6px 0 10px; }
.breakdown li {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; font-weight: 700; letter-spacing: .14em;
  opacity: .6;
}
.breakdown li.is-top { opacity: 1; color: var(--c); }
.bd-pips { display: flex; gap: 5px; }
.bd-pips i { width: 26px; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .18); }
.bd-pips i.on { background: var(--c); box-shadow: 0 0 6px var(--c); }
.result-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; }
@keyframes reveal { from { opacity: 0; transform: scale(1.3); filter: blur(8px); } }

/* ---------------- Toast ---------------- */
.toast {
  position: absolute; z-index: 5;
  left: 50%; bottom: calc(24px + var(--safe-b));
  transform: translate(-50%, 20px);
  padding: 10px 20px; border-radius: 99px;
  background: rgba(20, 30, 90, .92);
  font-weight: 600;
  opacity: 0; pointer-events: none;
  transition: all .3s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------------- Small phones ---------------- */
@media (max-height: 700px) {
  .answer { min-height: 48px; font-size: 15px; padding: 8px 22px; }
  .answers { gap: 8px; }
  .question { font-size: clamp(20px, 5.8vw, 28px); }
  .screen--quiz { gap: 10px; }
  .pill--xl { min-height: 54px; }
}

/* ---------------- Tablet / desktop / landscape ----------------
   Positions mirror the reference key visual (fractions of 1566×860). */
@media (min-aspect-ratio: 4/5) {
  .hero--tank    { left: 17%;  top: 0%;    --w: 15.6; }
  .hero--healer  { left: 2.4%; top: 21%;   --w: 16.3; }
  .hero--archer  { left: .6%;  top: 46%;   bottom: auto; --w: 32.4; }
  .hero--mage    { right: 3.8%; top: 13%;  --w: 24.5; }
  .hero--fighter { right: 5%;  top: 64%;   bottom: auto; --w: 20.3; }

  body[data-screen='brief'] .hero,
  body[data-screen='quiz'] .hero { --o: .8; }
  body[data-screen='quiz'] .hero--tank    { --w: 13; left: 10%; top: 0%; }
  body[data-screen='quiz'] .hero--healer  { --w: 14; left: 1%; top: 22%; }
  body[data-screen='quiz'] .hero--archer  { --w: 26; left: -2%; top: 52%; bottom: auto; }
  body[data-screen='quiz'] .hero--mage    { --w: 20; right: 1%; top: 12%; }
  body[data-screen='quiz'] .hero--fighter { --w: 18; right: 2%; top: 66%; bottom: auto; }

  body[data-screen='result'] .hero.is-winner { --o: .95; filter: none; }
  .bg-center-shade { background: radial-gradient(30% 50% at 50% 52%, rgba(8, 10, 18, .55), rgba(8, 10, 18, .25) 60%, transparent 100%); }
  body[data-screen='brief'] .bg-center-shade,
  body[data-screen='quiz'] .bg-center-shade,
  body[data-screen='result'] .bg-center-shade { background: radial-gradient(36% 62% at 50% 54%, rgba(8, 10, 18, .78), rgba(8, 10, 18, .45) 65%, transparent 100%); }
  .title-main { font-size: clamp(56px, 8.4vw, 136px); }
  .title-the { font-size: clamp(20px, 2.6vw, 40px); }
}
@media (min-aspect-ratio: 4/5) and (max-height: 520px) { /* phone landscape */
  .title-main { font-size: 13vh; }
  .content { padding-top: calc(44px + var(--safe-t)); }
}

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