/* ============================================================
   Trivial Cultural — global styles
   Mobile-first; phone frame is centered on desktop.
   ============================================================ */

:root {
  --text:         #fff;
  --ink:          #17301C;      /* dark text on white surfaces */
  --text-muted:   #5B6B5E;      /* muted text on light surfaces */

  --olive:        #9FBB5E;
  --olive-dark:   #8CA84C;
  --orange:       #FF7F48;
  --orange-dark:  #EE6D35;
  --teal:         #1BA591;
  --wrong:        #E8553F;
  --wedge-dark:   rgba(14, 40, 22, .62);

  --shadow-soft:  0 4px 14px rgba(0, 0, 0, .12);
  --radius-card:  14px;
  --radius-btn:   8px;

  /* Spin animation — overridden from JS via CONFIG.spin */
  --spin-duration: 1800ms;
  --spin-easing:   cubic-bezier(0.17, 0.67, 0.28, 1);
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

.multiline { white-space: pre-line; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: #E9E5D9;
  display: flex;
  justify-content: center;
  align-items: stretch;
}

/* ---------- App shell (phone frame + desktop panel) ----------- */
.app-shell {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 48px;
  width: 100%;
}

/* ---------- Phone frame -------------------------------------- */
.phone-frame {
  position: relative;
  width: 100%;
  max-width: 440px;
  min-height: 100vh;
  min-height: 100dvh;
  background: #4E9140;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

/* Full-bleed green backdrop behind every screen. */
.phone-frame__bg {
  position: absolute;
  inset: 0;
  display: block;
}
.phone-frame__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

@media (min-width: 480px) {
  body { padding: 24px 0; }
  .phone-frame {
    min-height: 0;
    border-radius: 28px;
    margin: 0 auto;
    min-height: calc(100dvh - 48px);
  }
}

/* ---------- Screen routing ----------------------------------- */
.screen {
  display: none;
  flex-direction: column;
  width: 100%;
  min-height: 100%;
  position: absolute;
  inset: 0;
  padding: 0;
}

body[data-screen="splash"]       .screen--splash,
body[data-screen="pie"]          .screen--pie,
body[data-screen="wedge-title"]  .screen--wedge-title,
body[data-screen="countdown"]    .screen--countdown,
body[data-screen="question"]     .screen--question,
body[data-screen="result"]       .screen--result,
body[data-screen="review"]       .screen--review,
body[data-screen="timeout"]      .screen--timeout,
body[data-screen="end"]          .screen--end {
  display: flex;
}

.screen__cta {
  margin-top: auto;
  padding: 18px 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ---------- Buttons ------------------------------------------ */
.btn {
  appearance: none;
  -webkit-appearance: none;
  border: 2px solid #fff;
  width: 100%;
  padding: 14px 20px;
  border-radius: var(--radius-btn);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .08s ease, background-color .15s ease, opacity .15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  background: var(--olive);
  box-shadow: 0 3px 0 #fff;
}

.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 #fff; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn:focus-visible { outline: 3px solid rgba(255,255,255,.7); outline-offset: 3px; }

.btn--olive        { background: var(--olive); }
.btn--olive:hover  { background: var(--olive-dark); }
.btn--orange       { background: var(--orange); }
.btn--orange:hover { background: var(--orange-dark); }

.btn--outline {
  background: transparent;
  color: #fff;
}
.btn--outline:hover { background: rgba(255,255,255,.12); }

.btn--auto { width: auto; padding-left: 32px; padding-right: 32px; }

.btn--image { background: none; border: 0; box-shadow: none; padding: 0; }
.btn--image img { display: block; width: 100%; height: auto; }

.btn--icon .btn__icon {
  width: 18px;
  height: 18px;
  filter: invert(1);
}

/* ---------- Shared screen text ------------------------------- */
.screen-title {
  margin: 0;
  padding: 30px 24px 0;
  text-align: center;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
}
.screen-title--upper { text-transform: uppercase; letter-spacing: .5px; }

.screen-caption {
  margin: 34px 24px 0;
  text-align: center;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.35;
}

/* ---------- Splash ------------------------------------------- */
.splash-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 20px 24px;
  min-height: 100%;
  width: 100%;
}

.splash-logo { display: block; width: 100%; margin: 0 0 6px; }
.splash-logo img { display: block; width: 100%; height: auto; }

.splash-cta {
  text-align: center;
  width: 100%;
  margin-top: 38px;
}
.kicker {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 4px;
}
.kicker__sub {
  margin: 0 0 18px;
  font-size: 14px;
  color: rgba(255,255,255,.88);
}
.splash-cta .btn--image { max-width: 280px; margin: 0 auto; display: block; }

.splash-footer {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  gap: 16px;
}
.splash-footer img {
  max-height: 56px;
  width: auto;
  object-fit: contain;
}

/* ---------- Wheel -------------------------------------------- */
.pie-stage {
  position: relative;
  width: min(78vw, 330px);
  margin: 28px auto 0;
}
.pie-pointer {
  position: absolute;
  top: 1%;
  left: 50%;
  width: 11%;
  transform: translateX(-50%);
  z-index: 3;
  pointer-events: none;
}
.pie-pointer img { display: block; width: 100%; height: auto; }

.pie-wheel {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
}
.pie-wheel.is-spinning {
  transition: transform var(--spin-duration) var(--spin-easing);
}
.pie-svg {
  width: 100%;
  height: 100%;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  overflow: visible;
}
.wheel-wedge {
  fill: var(--wedge-dark);
  stroke: var(--c);
  stroke-width: 1.1;
  stroke-linejoin: round;
}
.wheel-wedge.is-earned { fill: var(--c); }

.pie-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 33%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(20, 56, 30, .9);
  box-shadow: 0 0 0 4px rgba(255,255,255,.14);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}
.pie-hub img { width: 42%; height: auto; display: block; }

/* ---------- Question screen ---------------------------------- */
.qbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 22px 0;
  font-size: 18px;
  font-weight: 500;
}
.qbar__item { display: inline-flex; align-items: center; gap: 8px; }
.qbar__item img { width: 22px; height: 22px; display: block; }
/* The wedge countdown turns red (and beeps) with CONFIG.wedgeRedAtMs left. */
#qTimer.is-late { color: var(--wrong); }

.qtitle {
  margin: 22px 20px 0;
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
}
.qtitle::after {
  content: '';
  display: block;
  width: 110px;
  height: 2px;
  margin: 12px auto 0;
  background: var(--teal);
}

.qimage {
  margin: 22px 0 0;
  padding: 0;
}
.qimage img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 230px;
  margin: 0 auto;   /* center; never crop: the photo keeps its aspect ratio */
}

.qtext {
  margin: 24px 22px 0;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.qoptions {
  margin-top: auto;
  padding: 24px 20px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.qopt {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  padding: 11px 16px;
  border: 2px solid #fff;
  border-radius: 24px;
  background: var(--teal);
  box-shadow: 0 3px 0 #fff;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  cursor: pointer;
  transition: transform .08s ease, background-color .15s ease;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.qopt:hover { background: #17917F; }
.qopt:active { transform: translateY(2px); box-shadow: 0 1px 0 #fff; }

/* Answer feedback: a green/red layer wipes across the button, left to right. */
.qopt::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--fill, transparent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--fill-ms, 350ms) ease-out;
}
.qopt.is-correct { --fill: #3FAE4B; }
.qopt.is-wrong   { --fill: #E5483A; }
.qopt.is-correct::before,
.qopt.is-wrong::before { transform: scaleX(1); }
.screen--question.is-locked .qopt { pointer-events: none; }

/* ---------- Screen transitions ------------------------------- */
.screen.is-entering { animation: slide-in var(--slide-in-ms, 280ms) cubic-bezier(.22, .9, .3, 1) both; }
.screen.is-leaving  { animation: slide-out var(--slide-out-ms, 200ms) cubic-bezier(.5, 0, .9, .5) forwards; }
.screen.is-shaking  { animation: shake var(--shake-ms, 420ms) ease-in-out; }

@keyframes slide-in  { from { transform: translateX(100%); } to { transform: none; } }
@keyframes slide-out { from { transform: none; } to { transform: translateX(-100%); } }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  15% { transform: translateX(-10px); }
  30% { transform: translateX(9px); }
  45% { transform: translateX(-7px); }
  60% { transform: translateX(6px); }
  75% { transform: translateX(-3px); }
  90% { transform: translateX(2px); }
}

/* ---------- Countdown ---------------------------------------- */
.screen--countdown {
  align-items: center;
  justify-content: center;
  text-align: center;
}
.countdown__wedge {
  margin: 0 24px 8px;
  font-size: 20px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.countdown__num {
  margin: 0;
  font-size: min(46vw, 190px);
  font-weight: 800;
  line-height: 1.1;
}
.countdown__num.is-go { font-size: min(20vw, 84px); }
.countdown__num.is-pop { animation: count-pop .8s ease-out both; }
@keyframes count-pop {
  0%   { transform: scale(.4); opacity: 0; }
  25%  { transform: scale(1.1); opacity: 1; }
  70%  { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.25); opacity: 0; }
}

/* ---------- Result ------------------------------------------- */
.result {
  margin: auto 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.result__score {
  min-width: 152px;
  padding: 14px 24px;
  border-radius: 10px;
  background: var(--teal);
  font-size: 66px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 40px;
}
.result__cheese {
  width: 96px;
  height: 96px;
  margin: 0 0 28px;
  animation: cheese-bounce 1.2s ease-in-out infinite;
}
@keyframes cheese-bounce {
  0%, 100% { transform: translateY(0); }
  30% { transform: translateY(-16px); }
  50% { transform: translateY(0); }
  68% { transform: translateY(-7px); }
  84% { transform: translateY(0); }
}
.result__wedge { color: var(--wedge); }
.result__line {
  margin: 0 0 14px;
  max-width: 300px;
  font-size: 18px;
  line-height: 1.4;
}
.result .btn { margin-top: 22px; }

/* ---------- Review ------------------------------------------- */
.review-bar {
  background: var(--orange);
  padding: 18px 20px 20px;
  text-align: center;
}
.review-bar h2 { margin: 0; font-size: 26px; font-weight: 500; }

.review-list {
  flex: 1 1 0;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 22px 20px 8px;
}
.review-item { margin-bottom: 30px; }
.review-item__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--olive);
}
.review-item--incorrect .review-item__head { border-bottom-color: var(--wrong); }
.review-item__mark {
  flex: 0 0 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--olive);
  display: flex;
  align-items: center;
  justify-content: center;
}
.review-item--incorrect .review-item__mark { background: var(--wrong); }
.review-item__mark img { width: 18px; height: 18px; filter: invert(1); }
.review-item__q { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.4; }

.review-item__answer {
  display: flex;
  gap: 10px;
  margin: 16px 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}
.review-item__tick { flex: 0 0 auto; font-weight: 800; color: var(--olive); }
.review-item__tick::before { content: '✓'; }
.review-item--incorrect .review-item__tick { color: var(--wrong); }
.review-item--incorrect .review-item__tick::before { content: '✕'; }

.review-item__right {
  margin: 10px 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--olive);
}
.review-item__label { font-weight: 400; color: #fff; }
.review-item__explain {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,.94);
}

.review-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 18px 26px;
}
.review-cta .btn { flex: 1 1 0; padding: 14px 12px; }
/* Cheat button (QA mode) sits alone on its own row under the two main actions. */
#reviewCheat { flex-basis: 100%; }

/* ---------- Timeout ------------------------------------------- */
.timeout {
  margin: auto 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.timeout__clock {
  width: 96px;
  height: 96px;
  margin: 0 0 28px;
}
.timeout__title {
  margin: 0 0 12px;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.25;
}
.timeout__sub {
  margin: 0 0 28px;
  font-size: 18px;
  line-height: 1.4;
}

/* ---------- End screen --------------------------------------- */
.screen--end {
  align-items: center;
  text-align: center;
  padding: 26px 24px 0;
  overflow-y: auto;          /* the sorteo form makes this screen taller than the frame */
  -webkit-overflow-scrolling: touch;
}
.end-trophy {
  flex: none;
  width: min(42vw, 150px);
  margin: 10px auto 12px;
}
.end-trophy img { width: 100%; height: auto; display: block; }
.end-title {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.end-cta {
  flex-direction: row;
  gap: 12px;
  padding-top: 16px;
}
.end-cta .btn { flex: 1 1 0; padding: 14px 16px; font-size: 15px; }

/* ---------- Toast -------------------------------------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: rgba(0,0,0,.86);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  z-index: 50;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease;
}
.toast.is-visible { opacity: 1; }

/* ---------- Desktop panel (QR + fullscreen/share) -------------
   Hidden by default (mobile-first); shown next to the phone frame
   once there's enough room for both columns.
   ---------------------------------------------------------------- */
.desktop-panel {
  display: none;
}

@media (min-width: 900px) {
  .app-shell .phone-frame {
    /* Cancel the auto-margin centering meant for when phone-frame is
       the sole flex child — with the panel as a sibling it would
       otherwise swallow all free space between the two columns. */
    margin: 0;
  }

  .desktop-panel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
    width: 320px;
    flex: 0 0 auto;
  }

  .desktop-panel__qr {
    width: 220px;
    height: 220px;
    padding: 20px;
    background: #fff;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
  }
  .desktop-panel__qr svg { display: block; width: 100%; height: 100%; }

  .desktop-panel__info { display: flex; flex-direction: column; gap: 4px; }

  .desktop-panel__title {
    margin: 0;
    font-family: 'Poppins', system-ui, sans-serif;
    font-weight: 700;
    font-size: 26px;
    color: var(--ink);
  }
  .desktop-panel__place {
    margin: 0 0 12px;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
  }
  .desktop-panel__logos {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
  }
  .desktop-panel__logo {
    max-height: 72px;
    width: auto;
    object-fit: contain;
  }
  .desktop-panel__kicker {
    margin: 0 0 8px;
    font-family: 'Poppins', system-ui, sans-serif;
    font-weight: 700;
    font-size: 19px;
    color: var(--ink);
  }
  .desktop-panel__desc {
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-muted);
  }
  .desktop-panel__info .btn { width: 100%; margin-bottom: 12px; }
  .desktop-panel__info .btn:last-child { margin-bottom: 0; }
}

/* ---------- Fullscreen mode ------------------------------------
   Requested on <html>; the phone frame's chrome (rounded card,
   shadow, page margins) drops away so its own screen background
   fills the viewport, while each screen's content stays capped at
   phone width and centered.
   ---------------------------------------------------------------- */
.fullscreen-exit {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 60;
  appearance: none;
  border: 0;
  padding: 10px 20px;
  border-radius: var(--radius-btn);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--olive);
  cursor: pointer;
}
.fullscreen-exit:hover { background: var(--olive-dark); }

body.is-fullscreen .fullscreen-exit { display: block; }
body.is-fullscreen .desktop-panel { display: none; }

body.is-fullscreen { padding: 0; }
body.is-fullscreen .phone-frame {
  max-width: none;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
}
body.is-fullscreen .screen > * {
  width: 100%;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Share modal ---------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(0, 0, 0, .55);
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity .2s ease;
}
.modal-backdrop:not([hidden]) { display: flex; }
.modal-backdrop.is-visible { opacity: 1; }

.modal {
  width: 100%;
  max-width: 360px;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 20px 24px 24px;
  color: var(--ink);
}
.modal .btn--outline { color: var(--ink); border-color: var(--olive); box-shadow: 0 3px 0 var(--olive); }
.modal .btn--outline:hover { background: #F1F6E6; }

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.modal__header h2 {
  margin: 0;
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 700;
  font-size: 20px;
}
.modal__close {
  appearance: none;
  border: 0;
  background: none;
  font-size: 26px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
}

.share-modal__buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
}
.share-modal__btn {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.share-modal__btn img { width: 24px; height: 24px; filter: invert(1); }
.share-modal__btn--whatsapp { background: #25D366; }
.share-modal__btn--telegram { background: #229ED9; }
.share-modal__btn--facebook { background: #1877F2; }
.share-modal__btn--x        { background: #000; }

.modal__text {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink);
}
.modal__actions {
  display: flex;
  gap: 10px;
}
.modal__actions .btn { flex: 1 1 0; padding: 13px 12px; font-size: 15px; }

/* First-run terms: the legal text scrolls inside the modal. */
.modal--terms .modal__title {
  margin: 0 0 14px;
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 700;
  font-size: 20px;
}
.modal--terms .modal__text {
  max-height: 46vh;
  overflow-y: auto;
  font-size: 14px;
}

/* ---------- Sorteo signup (end screen) ----------------------- */
.signup { width: 100%; text-align: left; }

.signup__title {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin: 0 0 14px;
}

.signup__form { display: flex; flex-direction: column; gap: 10px; }

.field { display: block; }
.field__label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 4px;
}
.field__input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #DCD6C4;
  border-radius: var(--radius-btn);
  background: #fff;
  font-family: inherit;
  font-size: 16px;          /* 16px keeps iOS from zooming on focus */
  color: var(--ink);
}
.field__input:focus {
  outline: none;
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(159, 187, 94, .4);
}
.field__error { display: none; margin-top: 4px; font-size: 12px; color: #FFD2C8; }
.field.is-invalid .field__input { border-color: #FFD2C8; }
.field.is-invalid .field__error { display: block; }

.signup__error {
  margin: 2px 0 0;
  font-size: 13px;
  text-align: center;
  color: #FFD2C8;
}
.signup__form .btn { margin-top: 4px; }

.signup-done {
  width: 100%;
  background: rgba(255,255,255,.14);
  border: 1.5px solid #fff;
  border-radius: var(--radius-card);
  padding: 18px 16px;
}
.signup-done__check {
  width: 40px;
  height: 40px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: var(--olive);
  display: flex;
  align-items: center;
  justify-content: center;
}
.signup-done__check img { width: 20px; height: 20px; filter: invert(1); }
.signup-done__title {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 19px;
  margin: 0;
  color: #fff;
}
.signup-done__sub { margin: 4px 0 0; font-size: 14px; color: rgba(255,255,255,.9); }

/* ---------- Motion ------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .pie-wheel.is-spinning { transition: none !important; }
  .screen.is-entering, .screen.is-leaving, .screen.is-shaking, .countdown__num.is-pop, .result__cheese { animation: none !important; }
  .qopt::before { transition: none; }
}
