
:root {
  --bg: #eaf4ff;
  --bg-2: #dcecff;
  --ink: #11223d;
  --muted: #6e7f98;
  --blue: #2f6bff;
  --blue-2: #5a8bff;
  --blue-soft: #cfe1ff;
  --white: #ffffff;
  --line: rgba(17, 34, 61, 0.14);
  --shadow: #0f203c;
  --danger: #111827;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.95) 0 12%, transparent 30%),
    radial-gradient(circle at 88% 20%, rgba(172, 207, 255, 0.58) 0 14%, transparent 34%),
    linear-gradient(145deg, var(--bg) 0%, #f7fbff 44%, var(--bg-2) 100%);
  font-family: "Avenir Next", "Segoe UI", "Trebuchet MS", Arial, sans-serif;
  transition: background 0.45s ease, color 0.45s ease;
}

button,
input,
textarea,
select {
  font: inherit;
}

.ambient {
  position: fixed;
  border-radius: 999px;
  filter: blur(4px);
  pointer-events: none;
  opacity: 0.7;
  z-index: 0;
}

.ambient-one {
  width: 180px;
  height: 180px;
  left: -70px;
  top: 18%;
  background: rgba(47, 107, 255, 0.09);
}

.ambient-two {
  width: 260px;
  height: 260px;
  right: -130px;
  bottom: 6%;
  background: rgba(47, 107, 255, 0.11);
}

.ambient-three {
  width: 90px;
  height: 90px;
  right: 12%;
  top: 12%;
  background: rgba(255, 255, 255, 0.75);
}

.app-shell {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 28px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 34px 0 24px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 20px;
}

.topbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.brand {
  font-size: clamp(2rem, 6vw, 3.25rem);
  line-height: 1;
  font-weight: 1000;
  letter-spacing: -0.08em;
  color: var(--blue);
  text-transform: lowercase;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.65);
}

.progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.progress span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 2px solid rgba(17, 34, 61, 0.42);
  background: transparent;
  transition: width 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.progress span.active {
  width: 34px;
  border-color: var(--blue);
  background: var(--blue);
}

.card {
  position: relative;
  align-self: center;
  width: 100%;
  min-height: 520px;
  padding: clamp(28px, 6vw, 72px) clamp(20px, 7vw, 86px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow:
    0 28px 80px rgba(30, 78, 150, 0.16),
    inset 0 0 0 1px rgba(17, 34, 61, 0.04);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  isolation: isolate;
  transition: min-height 0.25s ease, background 0.35s ease, color 0.35s ease;
}

.card::before,
.card::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--blue);
  transform: rotate(45deg);
  opacity: 0.85;
  z-index: -1;
}

.card::before {
  top: 18%;
  left: 7%;
}

.card::after {
  right: 8%;
  bottom: 18%;
  width: 10px;
  height: 10px;
}

.kicker {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.message {
  width: min(760px, 100%);
  font-size: clamp(2rem, 6vw, 4.6rem);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.message.small {
  font-size: clamp(1.55rem, 4.3vw, 3.05rem);
  line-height: 1.12;
}

.message.tiny {
  font-size: clamp(1.2rem, 3.5vw, 2.15rem);
  line-height: 1.18;
}

.message p {
  margin: 0 0 0.28em;
}

.message p:last-child {
  margin-bottom: 0;
}

.accent {
  color: var(--blue);
  font-style: italic;
  font-weight: 1000;
}

.underline {
  position: relative;
  display: inline-block;
}

.underline::after {
  content: "";
  position: absolute;
  left: 3%;
  right: 1%;
  bottom: -0.08em;
  height: 0.16em;
  border-radius: 999px;
  background: rgba(47, 107, 255, 0.2);
  z-index: -1;
}

.extra {
  width: min(680px, 100%);
  margin-top: 22px;
}

.choices {
  position: relative;
  width: min(760px, 100%);
  min-height: 88px;
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.choice {
  position: relative;
  min-width: 150px;
  max-width: min(100%, 440px);
  padding: 15px 22px;
  border: 2px solid var(--ink);
  border-radius: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 7px 0 var(--shadow), 0 13px 30px rgba(17, 34, 61, 0.12);
  font-weight: 950;
  font-size: clamp(0.9rem, 2.6vw, 1.08rem);
  line-height: 1.18;
  letter-spacing: 0.015em;
  cursor: pointer;
  touch-action: manipulation;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease,
    color 0.16s ease,
    opacity 0.2s ease,
    width 0.2s ease,
    padding 0.2s ease,
    font-size 0.2s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.choice:hover {
  transform: translateY(-2px);
  background: #f8fbff;
  box-shadow: 0 9px 0 var(--shadow), 0 17px 34px rgba(17, 34, 61, 0.16);
}

.choice:active {
  transform: translateY(6px);
  box-shadow: 0 1px 0 var(--shadow), 0 5px 16px rgba(17, 34, 61, 0.12);
}

.choice.primary {
  color: var(--white);
  border-color: #163f9a;
  background: linear-gradient(180deg, var(--blue-2), var(--blue));
  box-shadow: 0 7px 0 #163f9a, 0 14px 30px rgba(47, 107, 255, 0.25);
}

.choice.primary:hover {
  background: linear-gradient(180deg, #6a97ff, #2860ea);
  box-shadow: 0 9px 0 #163f9a, 0 18px 36px rgba(47, 107, 255, 0.28);
}

.choice.ghost {
  background: rgba(255, 255, 255, 0.68);
}

.choice.wide {
  width: min(100%, 560px);
}

.choice.absolute-runner {
  position: absolute;
  z-index: 5;
  margin: 0;
}

.choice.grow {
  transform: scale(1.28);
  font-size: clamp(1.05rem, 4vw, 1.45rem);
  padding: 20px 30px;
}

.choice.grow:hover {
  transform: scale(1.42) translateY(-2px);
}

.choice.flip {
  animation: flipButton 0.58s ease forwards;
}

.choice.fall {
  animation: fallAway 0.8s cubic-bezier(0.46, 0.08, 0.68, 0.97) forwards;
}

.choice.slide-away {
  animation: slideAway 0.75s ease forwards;
}

.shake {
  animation: shake 0.42s ease;
}

.hint {
  min-height: 1.1em;
  margin-top: 15px;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
}

.footer {
  padding-bottom: 6px;
  color: rgba(17, 34, 61, 0.45);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.mini-note {
  color: var(--muted);
  font-size: clamp(0.9rem, 2.8vw, 1.08rem);
  line-height: 1.5;
}

.callout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding: 10px 15px;
  border: 1px solid rgba(47, 107, 255, 0.16);
  border-radius: 999px;
  color: var(--blue);
  background: rgba(47, 107, 255, 0.07);
  font-size: 0.86rem;
  font-weight: 900;
}

.scoreboard {
  width: min(520px, 100%);
  margin: 0 auto;
  padding: 20px;
  border: 2px solid rgba(17, 34, 61, 0.82);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 8px 0 rgba(17, 34, 61, 0.86);
}

.score-title {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 1000;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 4px;
  font-size: clamp(1.15rem, 4vw, 1.6rem);
  font-weight: 950;
}

.score-row + .score-row {
  border-top: 1px solid rgba(17, 34, 61, 0.12);
}

.score-number {
  color: var(--blue);
  font-size: 1.28em;
}

.timer {
  font-size: clamp(2.4rem, 10vw, 5.5rem);
  font-weight: 1000;
  color: var(--blue);
  letter-spacing: -0.07em;
}

body.blackout {
  color: #ffffff;
  background: #05070b;
}

body.blackout .ambient {
  opacity: 0;
}

body.blackout .brand {
  color: #75a3ff;
}

body.blackout .progress span {
  border-color: rgba(255, 255, 255, 0.4);
}

body.blackout .progress span.active {
  border-color: #75a3ff;
  background: #75a3ff;
}

body.blackout .card {
  border-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.52);
}

body.blackout .card::before,
body.blackout .card::after {
  background: #75a3ff;
}

body.blackout .kicker,
body.blackout .hint,
body.blackout .footer,
body.blackout .mini-note {
  color: rgba(255, 255, 255, 0.52);
}

body.blackout .choice {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 7px 0 rgba(255, 255, 255, 0.72);
}

body.blackout .choice.primary {
  border-color: #75a3ff;
  background: #2f6bff;
  box-shadow: 0 7px 0 #143c96;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-10px) rotate(-1deg); }
  40% { transform: translateX(9px) rotate(1deg); }
  60% { transform: translateX(-6px); }
  80% { transform: translateX(4px); }
}

@keyframes flipButton {
  0% { transform: perspective(700px) rotateX(0); }
  50% { transform: perspective(700px) rotateX(90deg); }
  100% { transform: perspective(700px) rotateX(0); }
}

@keyframes fallAway {
  0% { transform: translateY(0) rotate(0); opacity: 1; }
  55% { transform: translateY(18px) rotate(8deg); opacity: 1; }
  100% { transform: translateY(560px) rotate(28deg); opacity: 0; }
}

@keyframes slideAway {
  0% { transform: translateX(0); opacity: 1; }
  100% { transform: translateX(125vw) rotate(8deg); opacity: 0; }
}

@media (max-width: 680px) {
  .app-shell {
    width: min(100% - 18px, 980px);
    padding-top: 18px;
    gap: 14px;
  }

  .card {
    min-height: 560px;
    border-radius: 26px;
  }

  .choices {
    gap: 14px;
  }

  .choice {
    width: 100%;
    max-width: 520px;
  }

  .choice.absolute-runner {
    width: auto;
    max-width: 86%;
  }

  .footer {
    display: none;
  }
}

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


:root {
  --bg: #eaf4ff;
  --bg-2: #dcecff;
  --ink: #11223d;
  --muted: #6e7f98;
  --blue: #2f6bff;
  --blue-2: #5a8bff;
  --blue-soft: #cfe1ff;
  --white: #ffffff;
  --line: rgba(17, 34, 61, 0.14);
  --shadow: #0f203c;
  --danger: #111827;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.95) 0 12%, transparent 30%),
    radial-gradient(circle at 88% 20%, rgba(172, 207, 255, 0.58) 0 14%, transparent 34%),
    linear-gradient(145deg, var(--bg) 0%, #f7fbff 44%, var(--bg-2) 100%);
  font-family: "Avenir Next", "Segoe UI", "Trebuchet MS", Arial, sans-serif;
  transition: background 0.45s ease, color 0.45s ease;
}

button,
input,
textarea,
select {
  font: inherit;
}

.ambient {
  position: fixed;
  border-radius: 999px;
  filter: blur(4px);
  pointer-events: none;
  opacity: 0.7;
  z-index: 0;
}

.ambient-one {
  width: 180px;
  height: 180px;
  left: -70px;
  top: 18%;
  background: rgba(47, 107, 255, 0.09);
}

.ambient-two {
  width: 260px;
  height: 260px;
  right: -130px;
  bottom: 6%;
  background: rgba(47, 107, 255, 0.11);
}

.ambient-three {
  width: 90px;
  height: 90px;
  right: 12%;
  top: 12%;
  background: rgba(255, 255, 255, 0.75);
}

.app-shell {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 28px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 34px 0 24px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 20px;
}

.topbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.brand {
  font-size: clamp(2rem, 6vw, 3.25rem);
  line-height: 1;
  font-weight: 1000;
  letter-spacing: -0.08em;
  color: var(--blue);
  text-transform: lowercase;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.65);
}

.progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.progress span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 2px solid rgba(17, 34, 61, 0.42);
  background: transparent;
  transition: width 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.progress span.active {
  width: 34px;
  border-color: var(--blue);
  background: var(--blue);
}

.card {
  position: relative;
  align-self: center;
  width: 100%;
  min-height: 520px;
  padding: clamp(28px, 6vw, 72px) clamp(20px, 7vw, 86px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow:
    0 28px 80px rgba(30, 78, 150, 0.16),
    inset 0 0 0 1px rgba(17, 34, 61, 0.04);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  isolation: isolate;
  transition: min-height 0.25s ease, background 0.35s ease, color 0.35s ease;
}

.card::before,
.card::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--blue);
  transform: rotate(45deg);
  opacity: 0.85;
  z-index: -1;
}

.card::before {
  top: 18%;
  left: 7%;
}

.card::after {
  right: 8%;
  bottom: 18%;
  width: 10px;
  height: 10px;
}

.kicker {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.message {
  width: min(760px, 100%);
  font-size: clamp(2rem, 6vw, 4.6rem);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.message.small {
  font-size: clamp(1.55rem, 4.3vw, 3.05rem);
  line-height: 1.12;
}

.message.tiny {
  font-size: clamp(1.2rem, 3.5vw, 2.15rem);
  line-height: 1.18;
}

.message p {
  margin: 0 0 0.28em;
}

.message p:last-child {
  margin-bottom: 0;
}

.accent {
  color: var(--blue);
  font-style: italic;
  font-weight: 1000;
}

.underline {
  position: relative;
  display: inline-block;
}

.underline::after {
  content: "";
  position: absolute;
  left: 3%;
  right: 1%;
  bottom: -0.08em;
  height: 0.16em;
  border-radius: 999px;
  background: rgba(47, 107, 255, 0.2);
  z-index: -1;
}

.extra {
  width: min(680px, 100%);
  margin-top: 22px;
}

.choices {
  position: relative;
  width: min(760px, 100%);
  min-height: 88px;
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.choice {
  position: relative;
  min-width: 150px;
  max-width: min(100%, 440px);
  padding: 15px 22px;
  border: 2px solid var(--ink);
  border-radius: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 7px 0 var(--shadow), 0 13px 30px rgba(17, 34, 61, 0.12);
  font-weight: 950;
  font-size: clamp(0.9rem, 2.6vw, 1.08rem);
  line-height: 1.18;
  letter-spacing: 0.015em;
  cursor: pointer;
  touch-action: manipulation;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease,
    color 0.16s ease,
    opacity 0.2s ease,
    width 0.2s ease,
    padding 0.2s ease,
    font-size 0.2s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.choice:hover {
  transform: translateY(-2px);
  background: #f8fbff;
  box-shadow: 0 9px 0 var(--shadow), 0 17px 34px rgba(17, 34, 61, 0.16);
}

.choice:active {
  transform: translateY(6px);
  box-shadow: 0 1px 0 var(--shadow), 0 5px 16px rgba(17, 34, 61, 0.12);
}

.choice.primary {
  color: var(--white);
  border-color: #163f9a;
  background: linear-gradient(180deg, var(--blue-2), var(--blue));
  box-shadow: 0 7px 0 #163f9a, 0 14px 30px rgba(47, 107, 255, 0.25);
}

.choice.primary:hover {
  background: linear-gradient(180deg, #6a97ff, #2860ea);
  box-shadow: 0 9px 0 #163f9a, 0 18px 36px rgba(47, 107, 255, 0.28);
}

.choice.ghost {
  background: rgba(255, 255, 255, 0.68);
}

.choice.wide {
  width: min(100%, 560px);
}

.choice.absolute-runner {
  position: absolute;
  z-index: 5;
  margin: 0;
}

.choice.grow {
  transform: scale(1.28);
  font-size: clamp(1.05rem, 4vw, 1.45rem);
  padding: 20px 30px;
}

.choice.grow:hover {
  transform: scale(1.42) translateY(-2px);
}

.choice.flip {
  animation: flipButton 0.58s ease forwards;
}

.choice.fall {
  animation: fallAway 0.8s cubic-bezier(0.46, 0.08, 0.68, 0.97) forwards;
}

.choice.slide-away {
  animation: slideAway 0.75s ease forwards;
}

.shake {
  animation: shake 0.42s ease;
}

.hint {
  min-height: 1.1em;
  margin-top: 15px;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
}

.footer {
  padding-bottom: 6px;
  color: rgba(17, 34, 61, 0.45);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.mini-note {
  color: var(--muted);
  font-size: clamp(0.9rem, 2.8vw, 1.08rem);
  line-height: 1.5;
}

.callout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding: 10px 15px;
  border: 1px solid rgba(47, 107, 255, 0.16);
  border-radius: 999px;
  color: var(--blue);
  background: rgba(47, 107, 255, 0.07);
  font-size: 0.86rem;
  font-weight: 900;
}

.scoreboard {
  width: min(520px, 100%);
  margin: 0 auto;
  padding: 20px;
  border: 2px solid rgba(17, 34, 61, 0.82);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 8px 0 rgba(17, 34, 61, 0.86);
}

.score-title {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 1000;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 4px;
  font-size: clamp(1.15rem, 4vw, 1.6rem);
  font-weight: 950;
}

.score-row + .score-row {
  border-top: 1px solid rgba(17, 34, 61, 0.12);
}

.score-number {
  color: var(--blue);
  font-size: 1.28em;
}

.timer {
  font-size: clamp(2.4rem, 10vw, 5.5rem);
  font-weight: 1000;
  color: var(--blue);
  letter-spacing: -0.07em;
}

body.blackout {
  color: #ffffff;
  background: #05070b;
}

body.blackout .ambient {
  opacity: 0;
}

body.blackout .brand {
  color: #75a3ff;
}

body.blackout .progress span {
  border-color: rgba(255, 255, 255, 0.4);
}

body.blackout .progress span.active {
  border-color: #75a3ff;
  background: #75a3ff;
}

body.blackout .card {
  border-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.52);
}

body.blackout .card::before,
body.blackout .card::after {
  background: #75a3ff;
}

body.blackout .kicker,
body.blackout .hint,
body.blackout .footer,
body.blackout .mini-note {
  color: rgba(255, 255, 255, 0.52);
}

body.blackout .choice {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 7px 0 rgba(255, 255, 255, 0.72);
}

body.blackout .choice.primary {
  border-color: #75a3ff;
  background: #2f6bff;
  box-shadow: 0 7px 0 #143c96;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-10px) rotate(-1deg); }
  40% { transform: translateX(9px) rotate(1deg); }
  60% { transform: translateX(-6px); }
  80% { transform: translateX(4px); }
}

@keyframes flipButton {
  0% { transform: perspective(700px) rotateX(0); }
  50% { transform: perspective(700px) rotateX(90deg); }
  100% { transform: perspective(700px) rotateX(0); }
}

@keyframes fallAway {
  0% { transform: translateY(0) rotate(0); opacity: 1; }
  55% { transform: translateY(18px) rotate(8deg); opacity: 1; }
  100% { transform: translateY(560px) rotate(28deg); opacity: 0; }
}

@keyframes slideAway {
  0% { transform: translateX(0); opacity: 1; }
  100% { transform: translateX(125vw) rotate(8deg); opacity: 0; }
}

@media (max-width: 680px) {
  .app-shell {
    width: min(100% - 18px, 980px);
    padding-top: 18px;
    gap: 14px;
  }

  .card {
    min-height: 560px;
    border-radius: 26px;
  }

  .choices {
    gap: 14px;
  }

  .choice {
    width: 100%;
    max-width: 520px;
  }

  .choice.absolute-runner {
    width: auto;
    max-width: 86%;
  }

  .footer {
    display: none;
  }
}

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