:root {
  --ink: #284f4c;
  --muted: #70847e;
  --paper: #fffdf7;
  --line: #d9d2b6;
  --yellow: #f4bb42;
  --purple: #8172b8;
  --blue: #58add0;
  --blue-dark: #287e9f;
  --green: #55aa80;
  --green-dark: #2d765b;
  --coral: #ed7267;
  --ice: #bfe8f3;
  --water: #60b8dd;
  --shadow: 0 18px 36px rgba(53, 79, 68, .14), 0 8px 0 rgba(145, 126, 79, .16);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: #f4f1df;
  color: var(--ink);
  font-family: "Trebuchet MS", "Arial Rounded MT Bold", Arial, sans-serif;
}

.background {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 12% 16%, rgba(255,255,255,.82) 0 3px, transparent 4px) 0 0 / 46px 46px,
    radial-gradient(circle at 88% 18%, rgba(91,169,207,.22), transparent 33%),
    linear-gradient(135deg, #fff4d4, #e9f3e8 54%, #e0eff3);
}

button {
  font: inherit;
  color: inherit;
}

button:focus-visible {
  outline: 4px solid rgba(244,187,66,.68);
  outline-offset: 3px;
}

.app {
  width: min(1120px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 22px 0 52px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.brand,
.top-button {
  min-height: 52px;
  border: 2px solid var(--line);
  border-radius: 18px;
  background: #fffdf8;
  box-shadow: 0 5px 0 rgba(145,126,79,.16);
  cursor: pointer;
}

.brand:hover,
.top-button:hover {
  transform: translateY(-1px);
  border-color: #c5bd9f;
}

.brand:active,
.top-button:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 rgba(145,126,79,.16);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 15px 5px 7px;
  text-align: left;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(145deg, #d9f3fa, var(--blue));
  font-size: 23px;
}

.brand b,
.brand small {
  display: block;
}

.brand b {
  font-size: 17px;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
}

.top-actions {
  display: flex;
  gap: 9px;
}

.top-button {
  padding: 0 16px;
  font-weight: 900;
}

.paper {
  border: 2px solid var(--line);
  border-radius: 40px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(400px, .95fr);
  min-height: 520px;
  overflow: hidden;
}

.hero-copy {
  z-index: 2;
  padding: 48px 30px 38px 52px;
}

.eyebrow {
  margin: 0 0 13px;
  color: #a06c20;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
}

.hero h1,
.labs h2,
.result h1,
.album h1 {
  font-family: Georgia, "Times New Roman", serif;
}

.hero h1 {
  max-width: 600px;
  font-size: clamp(44px, 4.9vw, 62px);
  line-height: .98;
  letter-spacing: -.045em;
  overflow-wrap: normal;
}

.lead {
  max-width: 570px;
  margin: 22px 0 25px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.hero-actions,
.actions,
.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary,
.secondary,
.hint {
  min-height: 55px;
  padding: 0 23px;
  border-radius: 17px;
  font-weight: 900;
  cursor: pointer;
}

.primary {
  border: 0;
  background: var(--green);
  color: #fff;
  box-shadow: 0 7px 0 var(--green-dark);
}

.primary:hover:not(:disabled) {
  transform: translateY(-1px);
  background: #66b98f;
}

.primary:active:not(:disabled) {
  transform: translateY(5px);
  box-shadow: 0 2px 0 var(--green-dark);
}

.secondary,
.hint {
  border: 2px solid var(--line);
  background: #fffaf0;
  box-shadow: 0 5px 0 rgba(145,126,79,.15);
}

.secondary:hover,
.hint:hover {
  transform: translateY(-1px);
  border-color: #c7bea0;
}

.secondary:active,
.hint:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 rgba(145,126,79,.15);
}

.hint {
  border-color: #e3c35f;
  background: #fff1bd;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 32px;
}

.hero-facts div {
  min-width: 0;
  padding: 10px;
  border: 2px solid #d5d7bd;
  border-radius: 17px;
  background: #f2f8ed;
}

.hero-facts b {
  color: var(--purple);
  font-size: 22px;
}

.hero-facts span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,.38) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.38) 1px, transparent 1px),
    #dcedef;
  background-size: 30px 30px;
}

.hero-visual .matter {
  position: absolute;
  inset: 36px 8px 96px 4px;
  width: calc(100% - 12px);
  height: calc(100% - 132px);
}

.hero-visual > img {
  position: absolute;
  z-index: 4;
  right: -12px;
  bottom: -12px;
  width: 172px;
  height: 278px;
  object-fit: contain;
  filter: drop-shadow(0 9px 7px rgba(43,72,64,.12));
  pointer-events: none;
}

.safety {
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(960px, calc(100% - 28px));
  margin: 18px auto 0;
  padding: 16px 21px;
  border: 2px solid #e1c77d;
  border-radius: 24px;
  background: #fff1c0;
  box-shadow: 0 7px 0 rgba(149,122,45,.13);
}

.safety > b {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--yellow);
  color: #fff;
  font-size: 23px;
}

.safety p {
  margin: 0;
  line-height: 1.42;
}

.labs,
.album,
.result {
  margin-top: 24px;
  padding: 38px;
}

.labs > p:not(.eyebrow),
.album > p,
.result > p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.5;
}

.labs h2 {
  font-size: clamp(38px, 5vw, 58px);
}

.lab-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 27px;
}

.lab-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 25px 23px 22px;
  border: 2px solid var(--line);
  border-radius: 27px;
  background: #edf8fb;
  box-shadow: 0 7px 0 rgba(145,126,79,.15);
}

.lab-card.sun {
  background: #fff7df;
}

.lab-card.violet {
  background: #f1eef8;
}

.lab-card > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: var(--blue);
  color: #fff;
  font-family: Georgia, serif;
  font-size: 27px;
  font-weight: 900;
}

.lab-card.sun > span {
  background: var(--yellow);
  color: var(--ink);
}

.lab-card.violet > span {
  background: var(--purple);
}

.lab-card h3 {
  font-size: 25px;
}

.lab-card p {
  flex: 1;
  color: var(--muted);
  line-height: 1.45;
}

.lab-card small {
  margin: 13px 0;
  color: var(--green-dark);
  font-weight: 900;
}

.lab-card .primary {
  width: 100%;
}

.game {
  padding: 28px;
}

.game-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.progress {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}

.track {
  height: 13px;
  overflow: hidden;
  margin-top: 8px;
  border: 2px solid #ced2b3;
  border-radius: 999px;
  background: #eef0df;
}

.track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  transition: width .3s;
}

.score {
  padding: 10px 14px;
  border-radius: 15px;
  background: #dff3f8;
  white-space: nowrap;
}

.experiment {
  display: grid;
  grid-template-columns: minmax(400px, .98fr) minmax(0, 1.02fr);
  gap: 26px;
}

.stage {
  display: flex;
  min-height: 525px;
  flex-direction: column;
  overflow: hidden;
  border: 2px solid #c8d3c7;
  border-radius: 31px;
  background:
    linear-gradient(rgba(255,255,255,.44) 1px, transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.44) 1px,transparent 1px),
    #e5eeee;
  background-size: 30px 30px;
  transition: border-color .25s, box-shadow .25s;
}

.stage.solved {
  border-color: #78be98;
  box-shadow: inset 0 0 0 4px rgba(85,170,128,.14);
}

.stage-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 16px;
  padding: 10px 13px;
  border: 2px solid #d2d6be;
  border-radius: 16px;
  background: rgba(255,255,255,.93);
}

.stage-head small {
  color: var(--muted);
  text-align: right;
}

.matter-wrap {
  display: grid;
  flex: 1;
  min-height: 315px;
  place-items: center;
  padding: 0 8px;
}

.matter {
  width: 100%;
  height: 100%;
  max-height: 360px;
}

.chamber {
  fill: rgba(255,255,255,.4);
  stroke: #b9ccc6;
  stroke-width: 4;
}

.thermometer rect:first-child {
  fill: #fffdf7;
  stroke: #365b58;
  stroke-width: 5;
}

.thermometer circle {
  fill: #fffdf7;
  stroke: #365b58;
  stroke-width: 5;
}

.thermometer .cold,
.large-thermo rect:nth-child(3) {
  fill: #55add2;
}

.thermometer .mild {
  fill: #65b98d;
}

.thermometer .hot {
  fill: #ed7967;
}

.thermometer text,
.large-thermo text {
  fill: var(--ink);
  font-size: 15px;
  font-weight: 900;
  text-anchor: middle;
}

.glass {
  fill: rgba(247,253,252,.47);
  stroke: #365b58;
  stroke-width: 7;
  stroke-linejoin: round;
}

.rim {
  fill: none;
  stroke: #365b58;
  stroke-width: 7;
  stroke-linecap: round;
}

.water,
.cold-water,
.puddle,
.lake,
.stream {
  fill: var(--water);
  opacity: .84;
}

.wave {
  fill: none;
  stroke: var(--blue-dark);
  stroke-width: 5;
  stroke-linecap: round;
}

.ice-cubes rect {
  fill: #c7ecf5;
  stroke: #3d8faa;
  stroke-width: 5;
}

.ice-cubes path {
  fill: none;
  stroke: rgba(255,255,255,.9);
  stroke-width: 5;
  stroke-linecap: round;
}

.vapor-particles circle,
.particle-model circle {
  fill: #8ed0e3;
  stroke: #337c98;
  stroke-width: 4;
}

.bubbles circle {
  fill: rgba(255,255,255,.65);
  stroke: #3389a9;
  stroke-width: 4;
}

.transition text {
  fill: var(--purple);
  font-size: 15px;
  font-weight: 900;
  text-anchor: middle;
}

.transition path,
.cycle-arrow,
.up-arrows {
  fill: none;
  stroke: var(--purple);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.matter.active .vapor-particles circle,
.matter.active .particle-model circle,
.matter.active .bubbles circle {
  animation: float-particle 1.2s ease-in-out infinite alternate;
}

.matter.active .vapor-particles circle:nth-child(2n),
.matter.active .particle-model circle:nth-child(2n) {
  animation-delay: -.5s;
}

.matter.active .water,
.matter.active .cold-water {
  animation: water-glow 1.4s ease-in-out infinite alternate;
}

.three-samples .sample-card {
  fill: #fffdf7;
  stroke: #d3ceb3;
  stroke-width: 4;
}

.three-samples text {
  fill: var(--ink);
  font-size: 20px;
  font-weight: 900;
  text-anchor: middle;
}

.three-samples .sample-icon {
  font-size: 47px;
}

.three-samples .sample-small {
  fill: var(--muted);
  font-size: 13px;
}

.cycle-pair circle {
  fill: #fffdf7;
  stroke: #cfc9ae;
  stroke-width: 4;
}

.cycle-pair text {
  fill: var(--ink);
  font-size: 17px;
  font-weight: 900;
  text-anchor: middle;
}

.cycle-pair text:first-of-type,
.cycle-pair text:nth-of-type(3) {
  font-size: 31px;
}

.cycle-pair path {
  fill: none;
  stroke: var(--blue-dark);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sun {
  fill: #ffd866;
  stroke: #d5992b;
  stroke-width: 5;
}

.land {
  fill: #9ac98e;
  stroke: #4e8b6f;
  stroke-width: 5;
}

.cloud-shape {
  fill: #fffdf7;
  stroke: #7c9d9c;
  stroke-width: 4;
}

.rain {
  fill: none;
  stroke: var(--blue);
  stroke-width: 8;
  stroke-linecap: round;
}

.cycle text {
  fill: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.ground,
.table {
  fill: none;
  stroke: #846f4d;
  stroke-width: 8;
  stroke-linecap: round;
}

.mountain {
  fill: #92b9a2;
  stroke: #477b69;
  stroke-width: 6;
  stroke-linejoin: round;
}

.snow {
  fill: #fffdf7;
  stroke: #83b7c7;
  stroke-width: 4;
}

.stream {
  fill: none;
  stroke: var(--blue);
  stroke-width: 13;
  stroke-linecap: round;
}

.glass-cup {
  fill: rgba(255,255,255,.46);
  stroke: #365b58;
  stroke-width: 7;
  stroke-linejoin: round;
}

.drops {
  fill: var(--blue);
  stroke: var(--blue-dark);
  stroke-width: 3;
}

.kettle,
.pot {
  fill: #d8e8e5;
  stroke: #365b58;
  stroke-width: 7;
  stroke-linejoin: round;
}

.steam-gap,
.heat {
  fill: none;
  stroke: #ed806c;
  stroke-width: 6;
  stroke-linecap: round;
}

.cloud-shape.small {
  fill: #f4f7f3;
  opacity: .92;
}

.pot-rim {
  fill: none;
  stroke: #365b58;
  stroke-width: 8;
  stroke-linecap: round;
}

.safe-line {
  fill: none;
  stroke: var(--green);
  stroke-width: 10;
  stroke-linecap: round;
}

.world text {
  fill: var(--ink);
  font-size: 14px;
  font-weight: 900;
  text-anchor: middle;
}

.large-thermo rect:first-child {
  fill: #fffdf7;
  stroke: #365b58;
  stroke-width: 6;
}

.large-thermo circle {
  fill: #fffdf7;
  stroke: #365b58;
  stroke-width: 6;
}

.state-legend {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: auto 16px 16px;
  padding: 12px 14px;
  border: 2px solid #d3d5bc;
  border-radius: 18px;
  background: #fffdf7;
}

.state-legend > span {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #e6f4f8;
  color: var(--purple);
  font-size: 23px;
  font-weight: 900;
}

.state-legend p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.state-legend b {
  display: block;
  color: var(--ink);
}

.question {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 14px 3px;
}

.question h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 3.25vw, 47px);
  line-height: 1.07;
}

.options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 11px;
  margin-top: 20px;
}

.options button {
  display: flex;
  align-items: center;
  min-height: 78px;
  padding: 11px 15px;
  border: 3px solid #d2d5bb;
  border-radius: 22px;
  background: #fffaf0;
  box-shadow: 0 6px 0 rgba(145,126,79,.15);
  font-weight: 900;
  cursor: pointer;
  text-align: left;
}

.options button span {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  margin-right: 9px;
  border-radius: 12px;
  background: #e7f4f6;
  font-size: 20px;
}

.options button:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: var(--purple);
}

.options button:active:not(:disabled) {
  transform: translateY(3px);
  box-shadow: 0 2px 0 rgba(145,126,79,.15);
}

.options button.wrong {
  border-color: var(--coral);
  background: #fff0ed;
}

.options button.correct,
.options button.hinted {
  border-color: var(--green);
  background: #eaf6ee;
}

.feedback {
  min-height: 84px;
  margin-top: 15px;
  padding: 14px 16px;
  border: 2px solid #d8d7bd;
  border-radius: 19px;
  background: #f8f6e9;
  line-height: 1.4;
}

.feedback b {
  display: block;
  margin-bottom: 3px;
}

.feedback.error {
  border-color: #efa9a0;
  background: #fff0ed;
}

.feedback.success {
  border-color: #a6d7bd;
  background: #e9f6ee;
}

.feedback.hint {
  border-color: #e4c56d;
  background: #fff4c9;
}

.actions {
  align-items: center;
  margin-top: 15px;
}

.actions .primary {
  margin-left: auto;
}

.result {
  text-align: center;
}

.result h1 {
  font-size: clamp(41px, 5vw, 61px);
}

.stars {
  margin: 12px 0;
  color: var(--yellow);
  font-size: 58px;
  letter-spacing: 8px;
}

.result > p {
  margin: 0 auto;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 190px));
  justify-content: center;
  gap: 12px;
  margin: 25px auto;
}

.stats div {
  padding: 17px;
  border: 2px solid var(--line);
  border-radius: 20px;
  background: #fffaf0;
}

.stats b {
  display: block;
  font-size: 31px;
}

.stats span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.result-actions {
  justify-content: center;
}

.album {
  margin-top: 0;
}

.rule-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.rule-strip div {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 2px 10px;
  padding: 13px 16px;
  border: 2px solid var(--line);
  border-radius: 20px;
  background: #edf8fb;
}

.rule-strip div:nth-child(2) {
  background: #eef7eb;
}

.rule-strip div:nth-child(3) {
  background: #f2eef8;
}

.rule-strip span {
  grid-row: 1 / 3;
  font-size: 29px;
}

.rule-strip small {
  color: var(--muted);
}

.album-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 25px;
}

.album-card {
  min-height: 174px;
  padding: 15px 8px;
  border: 2px solid var(--line);
  border-radius: 21px;
  background: #fffaf0;
  text-align: center;
}

.album-card.locked {
  opacity: .48;
  filter: grayscale(.35);
}

.album-card > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 8px;
  border-radius: 18px;
  background: #e7f4f6;
  font-size: 28px;
}

.album-card b {
  display: block;
  min-height: 50px;
  font-size: 13px;
  line-height: 1.25;
}

.album-card small {
  display: block;
  margin-top: 7px;
  color: var(--purple);
  font-size: 11px;
  font-weight: 900;
}

@keyframes float-particle {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}

@keyframes water-glow {
  from { opacity: .72; }
  to { opacity: .95; }
}

@media (max-width: 930px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) 365px;
  }

  .experiment {
    grid-template-columns: 365px minmax(0, 1fr);
  }

  .album-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .question h1 {
    font-size: 36px;
  }
}

@media (max-width: 760px) {
  .app {
    width: calc(100% - 20px);
    padding-top: 10px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 37px 27px 31px;
  }

  .hero-visual {
    min-height: 430px;
  }

  .hero-visual .matter {
    inset: 14px 34px 54px 4px;
    width: calc(100% - 38px);
    height: calc(100% - 68px);
  }

  .hero-visual > img {
    width: 150px;
    height: 242px;
  }

  .lab-grid,
  .experiment {
    grid-template-columns: 1fr;
  }

  .lab-card p {
    flex: auto;
  }

  .stage {
    min-height: 510px;
  }

  .album-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .game-head {
    grid-template-columns: 1fr;
  }

  .score {
    justify-self: start;
  }

  .question {
    padding-top: 0;
  }

  .question h1 {
    font-size: clamp(34px, 7vw, 46px);
  }
}

@media (max-width: 520px) {
  .app {
    width: calc(100% - 16px);
  }

  .brand {
    padding-right: 8px;
  }

  .brand small {
    display: none;
  }

  .brand b {
    max-width: 156px;
    font-size: 14px;
  }

  .top-actions {
    gap: 6px;
  }

  .top-button {
    width: 49px;
    padding: 0;
    font-size: 0;
  }

  .top-button::first-letter {
    font-size: 20px;
  }

  .paper {
    border-radius: 29px;
  }

  .hero-copy {
    padding: 31px 20px 25px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .lead {
    font-size: 16px;
  }

  .hero-actions > * {
    width: 100%;
  }

  .hero-facts {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-facts div {
    padding: 9px 4px;
    text-align: center;
  }

  .hero-facts b {
    font-size: 19px;
  }

  .hero-visual {
    min-height: 395px;
  }

  .hero-visual .matter {
    inset: 18px 8px 70px 0;
    width: calc(100% - 8px);
    height: calc(100% - 88px);
  }

  .hero-visual > img {
    right: -28px;
    width: 124px;
    height: 204px;
  }

  .safety {
    width: calc(100% - 12px);
    align-items: flex-start;
    padding: 14px;
    font-size: 14px;
  }

  .labs,
  .album,
  .result,
  .game {
    padding: 20px 14px;
  }

  .stage {
    min-height: 485px;
    border-radius: 23px;
  }

  .stage-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .stage-head small {
    text-align: left;
  }

  .matter-wrap {
    min-height: 275px;
    padding: 0;
  }

  .matter {
    max-height: 300px;
  }

  .state-legend {
    margin: auto 9px 9px;
    padding: 10px;
  }

  .experiment {
    gap: 18px;
  }

  .question h1 {
    font-size: 34px;
  }

  .options button {
    min-height: 84px;
    padding: 10px 11px;
    font-size: 14px;
  }

  .options button span {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
    margin-right: 7px;
  }

  .actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .actions > * {
    padding: 0 10px;
  }

  .actions .primary {
    grid-column: 1 / -1;
    width: 100%;
    margin: 0;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .rule-strip {
    grid-template-columns: 1fr;
  }

  .album-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .album-card {
    min-height: 165px;
  }
}

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