:root {
  color-scheme: dark;
  --charcoal: #171311;
  --ivory: #f5e8d5;
  --muted: #d2bdaa;
  --paper: #e5cfad;
  --wine: #561f25;
  --brass: #a68a66;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--charcoal);
  color: var(--ivory);
  font-family: system-ui, sans-serif;
}

.stage {
  --shuffle-duration: 1.6s;
  --shuffle-cycle: calc(var(--shuffle-duration) + .45s);
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: max(100svh, 500px);
  padding: 4.5rem 0 clamp(6.25rem, 15svh, 9rem);
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 35%, #31251f 0%, var(--charcoal) 62%, #100e0d 100%);
}

.stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  margin-inline: auto;
  max-width: max(640px, 82svh);
  background: url("public/reveal-stage.webp") center center / cover no-repeat;
}

.woven-border {
  position: absolute;
  z-index: -1;
  inset: 7% 0 9%;
  margin-inline: auto;
  max-width: 650px;
  pointer-events: none;
  opacity: .29;
  background: url("public/weave-motif.svg") left center / 62px 62px repeat-y,
              url("public/weave-motif.svg") right center / 62px 62px repeat-y;
  mask-image: linear-gradient(180deg, transparent, #000 14%, #000 82%, transparent);
}

@media (max-width: 430px) {
  .woven-border {
    background-size: 45px 45px;
    opacity: .25;
  }
}

@media (min-width: 640px) {
  .stage::before {
    mask-image: linear-gradient(90deg, transparent, #000 19%, #000 81%, transparent);
  }
}

.masthead {
  position: absolute;
  top: max(1.25rem, env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: .65rem;
  white-space: nowrap;
  color: var(--ivory);
  font-size: .75rem;
  font-weight: 650;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 1.4rem;
  height: 1.7rem;
  border: 1px solid var(--brass);
  border-radius: .23rem;
  color: #e0c5a2;
  font: 1rem/1 Georgia, serif;
  letter-spacing: 0;
  transform: rotate(-11deg);
}

.experience {
  --card-width: clamp(79px, min(32vw, 21svh), 186px);
  --card-height: calc(var(--card-width) / .69);
  width: min(100%, 650px);
  text-align: center;
}

.intro {
  padding-inline: 1rem;
  transition: opacity .26s ease;
}

h1, h2 {
  margin: 0;
  font-family: Georgia, serif;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.035em;
  text-shadow: 0 2px 18px #170e0acc;
}

h1 { font-size: clamp(2.8rem, 12vw, 5rem); }

.intro p {
  margin: .7rem 0 0;
  color: var(--muted);
  font-size: .9rem;
  text-shadow: 0 1px 6px var(--charcoal);
}

.board {
  position: relative;
  margin-top: clamp(1rem, 3.5svh, 2.4rem);
  height: calc(var(--card-height) + 4rem);
}

.board::before {
  position: absolute;
  inset: 10% 6% 5%;
  content: "";
  border: 1px solid #ab8d6245;
  border-radius: 50%;
  transform: rotate(-7deg);
  mask-image: linear-gradient(120deg, #000, transparent 37% 64%, #000);
  pointer-events: none;
}

.cards {
  --slot-gap: calc(var(--card-width) * .78);
  --side-y: calc(-50% + .42rem);
  --center-slot: translate(-50%, calc(-50% - .6rem)) rotate(0deg) scale(1.06);
  --left-slot: translate(calc(-50% - var(--slot-gap)), var(--side-y)) rotate(-13deg) scale(.94);
  --right-slot: translate(calc(-50% + var(--slot-gap)), var(--side-y)) rotate(13deg) scale(.94);
  position: absolute;
  inset: 0;
  perspective: 900px;
}

.card {
  --x: 0px;
  --y: 0px;
  --angle: 0deg;
  --scale: 1;
  --pose: var(--slot);
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--card-width);
  height: var(--card-height);
  padding: 0;
  border: 0;
  border-radius: .55rem;
  background: none;
  cursor: pointer;
  transform: var(--pose);
  transition: transform .55s cubic-bezier(.22,.74,.27,1), opacity .32s ease;
  filter: drop-shadow(0 .9rem .9rem #0d0807b3);
  -webkit-tap-highlight-color: transparent;
}

.card-left {
  --slot: var(--left-slot);
  --previous-slot: var(--center-slot);
  --previous-layer: 3;
  --outward: -1;
  z-index: 1;
}

.card-center {
  --slot: var(--center-slot);
  --previous-slot: var(--right-slot);
  --previous-layer: 2;
  --outward: -1;
  z-index: 3;
}

.card-right {
  --slot: var(--right-slot);
  --outward: 1;
  z-index: 2;
}

@media (hover: hover) {
  .card:not(:disabled):hover {
    transform: translateY(-.45rem) var(--pose);
  }
}

.stage:not(.revealing, [data-motion-paused]) .card:not(.card-right) {
  animation: rotate-deck-left var(--shuffle-cycle) infinite;
}

.stage:not(.revealing, [data-motion-paused]) .card-right {
  animation: wrap-deck-card var(--shuffle-cycle) linear infinite;
}

.stage:not(.revealing) .cards:has(.card:focus-visible) .card {
  animation: none;
}

.stage:not(.revealing) .cards:has(.card:active) .card {
  animation-play-state: paused;
}

@keyframes rotate-deck-left {
  0%, 11% {
    transform: var(--previous-slot);
    z-index: var(--previous-layer);
    animation-timing-function: cubic-bezier(.42,0,.2,1);
  }
  78%, 100% { transform: var(--pose); }
}

/* The card ending on the right passes underneath the two sliding cards. */
@keyframes wrap-deck-card {
  0% {
    transform: var(--left-slot);
    z-index: 0;
    animation-timing-function: ease-in;
  }
  19% {
    transform: translate(calc(-50% - var(--slot-gap) * .8), -29%) rotate(-15deg) scale(.86);
    z-index: 0;
  }
  41% {
    transform: translate(-50%, -13%) rotate(-3deg) scale(.85);
    z-index: 0;
  }
  62% {
    transform: translate(calc(-50% + var(--slot-gap) * .8), -26%) rotate(10deg) scale(.89);
    z-index: 0;
    animation-timing-function: ease-out;
  }
  78%, 100% { transform: var(--pose); }
}

.motion-toggle:not([hidden]) {
  display: grid;
  place-items: center;
  position: absolute;
  top: max(.7rem, env(safe-area-inset-top));
  right: max(.8rem, env(safe-area-inset-right));
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.motion-toggle:hover { background: #f5e8d51a; }

.motion-toggle span {
  width: .65rem;
  height: .75rem;
  border-inline: 2px solid currentColor;
}

.motion-toggle[aria-pressed="true"] span {
  width: 0;
  height: 0;
  margin-left: .15rem;
  border: .35rem solid transparent;
  border-right: 0;
  border-left: .55rem solid currentColor;
}

.pick-hint {
  position: absolute;
  z-index: 4;
  left: calc(50% + var(--card-width) * .34);
  top: calc(50% + var(--card-height) * .3);
  width: clamp(2.15rem, 10vw, 3rem);
  pointer-events: none;
  transform: rotate(-18deg);
  transform-origin: 35% 12%;
}

.pick-hint svg {
  position: relative;
  display: block;
  width: 100%;
  fill: var(--ivory);
  stroke: #735133;
  stroke-width: 1.45px;
  stroke-linejoin: round;
  filter: drop-shadow(0 3px 5px #170e0ac9);
}

.pick-hint::before {
  position: absolute;
  top: -.2rem;
  left: .08rem;
  width: 1.15rem;
  aspect-ratio: 1;
  border: 1px solid #f3d8a5;
  border-radius: 50%;
  content: "";
  opacity: 0;
}

.stage:not(.revealing, [data-motion-paused]) .pick-hint {
  animation: hint-tap var(--shuffle-cycle) ease-in-out infinite;
}

.stage:not(.revealing, [data-motion-paused]) .pick-hint::before {
  animation: hint-ring var(--shuffle-cycle) ease-out infinite;
}

.stage.revealing .pick-hint { visibility: hidden; }

@keyframes hint-tap {
  0%, 72%, 100% { transform: rotate(-18deg); }
  84% { transform: translate(-.27rem, -.35rem) rotate(-18deg) scale(.92); }
}

@keyframes hint-ring {
  0%, 83% { opacity: 0; transform: scale(.55); }
  86% { opacity: .88; }
  100% { opacity: 0; transform: scale(1.7); }
}

.card:focus-visible, .cta:focus-visible, .motion-toggle:focus-visible {
  outline: 2px solid var(--ivory);
  outline-offset: 5px;
}

.card:disabled { cursor: default; }

.card-inner {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform .48s cubic-bezier(.35,.08,.24,1);
}

.card-face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: .55rem;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  font-family: Georgia, serif;
  line-height: 1;
}

.card-face::after {
  position: absolute;
  inset: 0;
  content: "";
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.card-back {
  background: var(--wine);
  border: 1px solid var(--brass);
  color: var(--paper);
  font-size: calc(var(--card-width) * .38);
}

.card-back::after {
  background-image: url("public/ace-back.webp");
}

.card-back::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 9% 7%;
  opacity: .34;
  background: url("public/weave-motif.svg") center / 34% auto repeat;
  mask-image: linear-gradient(180deg, #000 0%, transparent 37%, transparent 63%, #000 100%);
  pointer-events: none;
}

.card-front {
  background: var(--paper);
  color: var(--wine);
  font-size: calc(var(--card-width) * .89);
  transform: rotateY(180deg);
}

.card-front::after { background-image: url("public/ace-front.webp"); }

.stage.revealing .intro { opacity: 0; }
.stage.complete .intro { opacity: 1; }
.stage.complete .intro p { visibility: hidden; }

.stage.revealing .card {
  --pose: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) rotate(var(--angle)) scale(var(--scale));
}

.stage.revealing .card:not(.chosen) {
  --x: calc(var(--outward) * var(--card-width) * 1.22);
  --y: 1.4rem;
  --scale: .82;
  opacity: 0;
  pointer-events: none;
}

.stage.revealing .card.chosen {
  --x: 0px;
  --y: 0px;
  --angle: 0deg;
  --scale: 1.15;
  z-index: 5;
}

.stage.revealing .card.chosen .card-inner { transform: rotateY(180deg); }

.stage.complete .card.chosen { --scale: .96; }

.actions {
  position: absolute;
  inset-inline: 1rem;
  bottom: max(1.2rem, calc(env(safe-area-inset-bottom) + .7rem));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(.7rem, 2vw, 1.5rem);
}

.actions::before, .actions::after {
  content: "";
  width: min(7vw, 3rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brass));
}

.actions::after { transform: scaleX(-1); }

.result {
  width: min(27rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  padding: .5rem;
  overflow: auto;
  border: 1px solid #a18460;
  border-radius: .9rem;
  background: radial-gradient(ellipse at 50% 26%, #573321 0%, #301c19 43%, #201614 80%);
  color: var(--ivory);
  text-align: center;
}

.result:not([open]) { display: none; }

.result[open] {
  animation: reveal-dialog .52s cubic-bezier(.16,1,.3,1) both;
}

.result::backdrop {
  background: #110c0bd9;
  animation: reveal-backdrop .32s ease-out both;
}

.result-content {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  padding: clamp(1.35rem, 4.3svh, 2.3rem) .85rem 1.3rem;
}

.result-content::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border: 1px solid #c49e6638;
  border-radius: .55rem;
  pointer-events: none;
}

.reveal-art {
  --reveal-width: clamp(5.5rem, min(36vw, 23svh), 10rem);
  position: relative;
  display: grid;
  place-items: center;
  padding-block: .65rem 1.15rem;
  margin-bottom: .75rem;
}

.reveal-art::before {
  content: "";
  position: absolute;
  inset: -30% -12% -9%;
  background: radial-gradient(ellipse at 50% 57%, #d3a06178, #b4784245 31%, transparent 62%);
  pointer-events: none;
  animation: light-reveal 1.05s ease-out both;
}

.reveal-orbit {
  position: absolute;
  width: min(80vw, 21rem);
  aspect-ratio: 1;
  border: 1px solid #d6af7470;
  border-radius: 50%;
  transform: rotate(-24deg) scaleY(.52);
  box-shadow: inset 0 0 0 .7rem #d2a86712;
}

.reveal-card {
  position: relative;
  display: grid;
  place-items: center;
  width: var(--reveal-width);
  aspect-ratio: .69;
  border-radius: .55rem;
  overflow: hidden;
  background: var(--paper);
  color: var(--wine);
  font: 400 calc(var(--reveal-width) * .88)/1 Georgia, serif;
  box-shadow: 0 .9rem 1.5rem #140a09bc;
  transform: rotate(-7deg);
  animation: lift-ace .62s cubic-bezier(.16,1,.3,1) both;
}

.reveal-card::after {
  position: absolute;
  inset: 0;
  background: url("public/ace-front.webp") center / 100% 100% no-repeat;
  content: "";
}

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

.reveal-sparks i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--size, .31rem);
  height: var(--size, .31rem);
  background: #f5d9a4;
  opacity: .65;
  transform: translate(var(--dx), var(--dy)) rotate(45deg);
  animation: spread-spark .85s cubic-bezier(.16,1,.3,1) both;
}

.reveal-sparks i:nth-child(1) { --dx: -26vw; --dy: -3.6rem; --size: .44rem; }
.reveal-sparks i:nth-child(2) { --dx: -33%; --dy: -6.7rem; }
.reveal-sparks i:nth-child(3) { --dx: 22vw; --dy: -4.5rem; --size: .48rem; }
.reveal-sparks i:nth-child(4) { --dx: 28vw; --dy: 1.65rem; }
.reveal-sparks i:nth-child(5) { --dx: -27vw; --dy: .35rem; }
.reveal-sparks i:nth-child(6) { --dx: -19vw; --dy: 3.75rem; --size: .38rem; }
.reveal-sparks i:nth-child(7) { --dx: 21vw; --dy: 4.7rem; }
.reveal-sparks i:nth-child(8) { --dx: 15vw; --dy: -1.75rem; --size: .24rem; }

@media (min-width: 470px) {
  .reveal-sparks { width: 390px; max-width: 100%; margin-inline: auto; }
  .reveal-sparks i:nth-child(1) { --dx: -6.2rem; }
  .reveal-sparks i:nth-child(3) { --dx: 5.3rem; }
  .reveal-sparks i:nth-child(4) { --dx: 6.8rem; }
  .reveal-sparks i:nth-child(5) { --dx: -6.7rem; }
  .reveal-sparks i:nth-child(6) { --dx: -4.6rem; }
  .reveal-sparks i:nth-child(7) { --dx: 5.2rem; }
  .reveal-sparks i:nth-child(8) { --dx: 3.7rem; }
}

@keyframes reveal-dialog {
  from { opacity: 0; transform: translateY(1.35rem) scale(.95); }
  to { opacity: 1; transform: none; }
}

@keyframes reveal-backdrop { from { opacity: 0; } }
@keyframes light-reveal {
  0% { opacity: 0; }
  44% { opacity: 1; }
  100% { opacity: .82; }
}
@keyframes lift-ace {
  from { transform: translateY(.9rem) rotate(-1deg) scale(.77); }
  to { transform: rotate(-7deg); }
}
@keyframes spread-spark {
  from { opacity: 0; transform: translate(0, 0) rotate(15deg) scale(.35); }
  37% { opacity: 1; }
}

.result h2 { font-size: clamp(2rem, 8.4vw, 3.2rem); }

.result-message {
  margin: .65rem 0 0;
  color: #f2d5a7;
  font-size: .95rem;
}

.result-cta {
  position: relative;
  justify-content: center !important;
}

.result-cta .arrow {
  position: absolute;
  right: 1.1rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(100%, 18rem);
  min-height: 3.15rem;
  margin-top: 1.15rem;
  padding: .7rem 1.1rem;
  border: 1px solid #f0ddbe;
  border-radius: .4rem;
  background: #e7d3b5;
  color: #34201a;
  box-shadow: 0 4px 9px #10090770;
  text-decoration: none;
  font-size: .8rem;
  font-weight: 720;
  letter-spacing: .06em;
}

.cta:hover { background: #f0dfc6; }

.actions .cta {
  position: relative;
  overflow: hidden;
  justify-content: center;
  margin: 0;
  border-color: #e9cda5;
  background: linear-gradient(104deg, #f5dfb3, #d9ad72 52%, #f2d7a7);
  color: #352017;
  font-family: Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 3px #9b653d, inset 0 0 0 4px #f6dfb6, 0 5px 16px #100907a0;
  transition: box-shadow .25s ease, transform .25s ease;
}

.actions .cta .arrow {
  position: absolute;
  right: 1.1rem;
}

.actions .cta::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 34%;
  content: "";
  background: linear-gradient(90deg, transparent, #fff5de80, transparent);
  pointer-events: none;
  transform: translateX(-135%) skewX(-19deg);
}

.stage:not(.revealing) .actions .cta::before {
  animation: sweep-start-button 4s ease-in-out 1.6s infinite;
}

@keyframes sweep-start-button {
  0%, 56% { transform: translateX(-135%) skewX(-19deg); }
  78%, 100% { transform: translateX(420%) skewX(-19deg); }
}

.actions .cta:hover {
  background: #f4dbb1;
  box-shadow: inset 0 0 0 3px #9b653d, inset 0 0 0 4px #f6dfb6, 0 7px 21px #100907b0;
}

.actions .cta:active { transform: scale(.98); }

.arrow {
  position: relative;
  width: 1.05rem;
  height: .65rem;
}

.arrow::before, .arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
}

.arrow::before {
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transform: translateY(-50%);
}

.arrow::after {
  width: .43rem;
  height: .43rem;
  border: solid currentColor;
  border-width: 1.5px 1.5px 0 0;
  transform: translate(-.05rem,-50%) rotate(45deg);
}


/* Warm stage lighting and restrained metallic details. */
.stage {
  background: radial-gradient(ellipse at 50% 17%, #d7a755 0%, #843a26 26%, #360d16 58%, #10070a 100%);
}

.stage::before {
  opacity: 1;
  background-image: linear-gradient(180deg, #18080818, #310b1230 65%, #10050932),
    url("public/overhead-stage.webp");
}

.stage::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 58% 0 0;
  background: radial-gradient(ellipse 42% 9% at 50% 52%, #ffdc8b95, #d28a3c50 42%, transparent 80%),
    radial-gradient(ellipse at 50% 61%, #edbd6260, #8c381f38 29%, transparent 66%);
  pointer-events: none;
}

.woven-border {
  opacity: .5;
  filter: drop-shadow(0 0 5px #edb85c70);
}

.stage-lights {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.stage-lights i {
  position: absolute;
  width: var(--size, 3px);
  aspect-ratio: 1;
  background: #f7d28b;
  border-radius: 50%;
  box-shadow: 0 0 9px 2px #e3a7487a;
  opacity: .55;
  animation: stage-twinkle 3.8s ease-in-out infinite alternate;
  animation-delay: var(--delay, 0s);
}
.stage-lights i:nth-child(1) { top: 18%; left: 13%; --delay: -.7s; }
.stage-lights i:nth-child(2) { top: 29%; right: 13%; --delay: -2s; --size: 4px; }
.stage-lights i:nth-child(3) { top: 52%; left: 8%; --delay: -1s; }
.stage-lights i:nth-child(4) { top: 61%; right: 9%; --delay: -2.7s; }
.stage-lights i:nth-child(5) { top: 76%; left: 18%; --delay: -1.5s; --size: 4px; }
.stage-lights i:nth-child(6) { top: 75%; right: 18%; --delay: -.2s; }
.stage-lights i:nth-child(7) { top: 38%; left: 21%; --delay: -3s; --size: 2px; }
.stage-lights i:nth-child(8) { top: 12%; right: 23%; --delay: -1.8s; --size: 2px; }

.stage-lights i:nth-child(2),
.stage-lights i:nth-child(5) {
  width: 15px;
  border-radius: 0;
  background: #ffe5aa;
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
}

@keyframes stage-twinkle {
  from { opacity: .25; transform: scale(.7); }
  to { opacity: .9; transform: scale(1.35); }
}

h1 {
  color: #fff2d8;
  -webkit-text-stroke: .5px #e9c37c;
  paint-order: stroke fill;
  text-shadow: 0 2px 0 #774421, 0 4px 14px #180507, 0 0 24px #dca25554;
}

.card {
  filter: drop-shadow(0 3px 0 #9d672f) drop-shadow(0 13px 12px #160508b5);
}

.card-face {
  box-shadow: inset 0 0 0 1px #f5cf80, inset 0 0 0 3px #96602b;
}

.board::after {
  position: absolute;
  z-index: -1;
  content: "";
  inset: 22% 12% 0;
  background: radial-gradient(ellipse, #d4803d64, transparent 70%);
  pointer-events: none;
}

.stage:not(.revealing, [data-motion-paused]) .card-center .card-inner {
  animation: ace-edge-glow 2.4s ease-in-out infinite alternate;
}

@keyframes ace-edge-glow {
  from { filter: drop-shadow(0 0 4px #f5c871a0); }
  to { filter: drop-shadow(0 0 12px #ffc264e0); }
}

.brand-mark {
  background: #f7e8ce;
  color: #92642d;
  border-color: #fff0d1;
  box-shadow: 0 2px 9px #11060777;
}

.actions .cta {
  border-color: #ffdfa1;
  background: linear-gradient(110deg, #ffecb5, #efca81 40%, #b67a35 77%, #e5b76b);
  color: #3c1b0d;
  text-shadow: 0 1px #ffe9b9;
  box-shadow: inset 0 0 0 2px #9e622d, inset 0 0 0 3px #ffdc94,
    0 4px 0 #78401c, 0 9px 18px #100407a8, 0 0 14px #e4a74455;
}

.actions .cta:hover {
  background: linear-gradient(180deg, #fff6cf, #e6b354 52%, #ffe1a0);
  box-shadow: inset 0 0 0 2px #9e622d, inset 0 0 0 3px #ffdc94,
    0 4px 0 #78401c, 0 9px 20px #100407b5;
}
.actions .cta:active {
  transform: translateY(3px);
  box-shadow: inset 0 0 0 2px #9e622d, inset 0 0 0 3px #ffdc94, 0 1px 0 #78401c;
}

@media (prefers-reduced-motion: reduce) {
  .motion-toggle:not([hidden]) { display: none; }

  *, *::before, *::after, .result::backdrop {
    animation: none !important;
    transition: none !important;
  }
}
