﻿:root {
  color-scheme: light;
  font-family: "Trebuchet MS", "Arial Rounded MT Bold", Arial, sans-serif;
  --ink: #274e4a;
  --muted: #6c817d;
  --paper: #fffdf7;
  --cream: #f8f2df;
  --line: #ded4b7;
  --green: #4f9d77;
  --green-dark: #34765a;
  --mint: #dff2e4;
  --gold: #efb947;
  --coral: #ec7469;
  --blue: #5da9d2;
  --violet: #8a72b7;
  --shadow: 0 20px 48px rgba(53, 76, 68, .15);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: #f2f8ec;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 10%, rgba(241, 188, 74, .2) 0 130px, transparent 132px),
    radial-gradient(circle at 93% 14%, rgba(115, 179, 147, .17) 0 170px, transparent 172px),
    linear-gradient(145deg, #f1f8eb, #fffaf0 54%, #f0edf8);
}

.background {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .16;
  background-image:
    linear-gradient(30deg, transparent 48%, rgba(75, 117, 94, .25) 49% 51%, transparent 52%),
    linear-gradient(-30deg, transparent 48%, rgba(75, 117, 94, .18) 49% 51%, transparent 52%);
  background-size: 42px 42px;
  pointer-events: none;
}

button {
  color: inherit;
  font: inherit;
}

button:not(:disabled) {
  cursor: pointer;
}

button:focus-visible {
  outline: 4px solid rgba(239, 185, 71, .76);
  outline-offset: 4px;
}

button:disabled {
  cursor: default;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

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

.topbar,
.brand,
.topbar-actions,
.hero-actions,
.section-heading,
.lab-card-head,
.progress-row,
.feedback-card,
.result-actions,
.journal-heading {
  display: flex;
  align-items: center;
}

.topbar {
  min-height: 68px;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.brand {
  gap: 12px;
  padding: 0;
  text-align: left;
  background: transparent;
  border: 0;
}

.brand-mark {
  display: grid;
  width: 57px;
  height: 57px;
  place-items: center;
  font-size: 29px;
  background: #fff5cf;
  border: 3px solid #decea2;
  border-radius: 19px;
  box-shadow: 0 8px 17px rgba(58, 79, 70, .13);
  rotate: -4deg;
}

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

.brand strong {
  font-size: 24px;
  font-weight: 900;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.topbar-actions {
  gap: 9px;
}

.sound-button,
.back-button,
.secondary-button {
  min-height: 49px;
  color: var(--ink);
  font-weight: 900;
  background: rgba(255, 253, 247, .94);
  border: 2px solid var(--line);
  border-radius: 17px;
}

.sound-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  font-size: 13px;
}

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

.secondary-button {
  padding: 0 18px;
}

.secondary-button:hover,
.sound-button:hover,
.back-button:hover {
  border-color: #7eac92;
}

.primary-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  color: white;
  font-weight: 900;
  background: var(--green);
  border: 0;
  border-radius: 17px;
  box-shadow: 0 8px 0 var(--green-dark);
}

.primary-button:hover {
  background: #45946e;
}

.primary-button:active,
.secondary-button:active {
  translate: 0 2px;
}

.primary-button.compact {
  min-height: 45px;
  margin-left: auto;
  padding-inline: 18px;
  box-shadow: 0 5px 0 var(--green-dark);
}

.eyebrow {
  margin: 0 0 8px;
  color: #38775e;
  font-family: Georgia, serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  min-height: 500px;
  align-items: center;
  grid-template-columns: 1.04fr .96fr;
  gap: 36px;
  padding: clamp(36px, 5vw, 64px);
  overflow: hidden;
  background: rgba(255, 253, 247, .97);
  border: 3px solid var(--line);
  border-radius: 46px;
  box-shadow: var(--shadow);
}

.hero h1 {
  max-width: 600px;
  margin-bottom: 18px;
  font-size: clamp(48px, 6vw, 74px);
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: .98;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 580px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.52;
}

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

.hero-kitchen {
  position: relative;
  min-height: 385px;
  overflow: hidden;
  background:
    linear-gradient(#fff0b8 0 19%, transparent 19%),
    linear-gradient(145deg, #ebf7e8, #d9ede7);
  border: 8px solid white;
  border-radius: 38px;
  box-shadow: 0 20px 40px rgba(50, 76, 68, .2);
}

.hero-kitchen::before,
.hero-kitchen::after {
  position: absolute;
  left: 7%;
  right: 7%;
  height: 12px;
  content: "";
  background: #9d7652;
  border: 4px solid #6f563e;
  border-radius: 10px;
  box-shadow: 0 9px 0 rgba(80, 61, 42, .12);
}

.hero-kitchen::before {
  top: 99px;
}

.hero-kitchen::after {
  top: 192px;
}

.shelf-items {
  position: absolute;
  inset: 42px 7% auto;
  display: flex;
  height: 160px;
  align-items: flex-end;
  justify-content: space-around;
  font-size: 47px;
}

.shelf-items span:nth-child(2) {
  translate: 0 91px;
}

.shelf-items span:nth-child(3) {
  translate: 0 4px;
}

.shelf-items span:nth-child(4) {
  translate: 0 91px;
}

.hero-chef {
  position: absolute;
  right: -18px;
  bottom: -25px;
  width: min(63%, 280px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 14px rgba(42, 69, 59, .22));
}

.hero-flask {
  position: absolute;
  left: 35px;
  bottom: 34px;
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  font-size: 64px;
  background: rgba(255, 255, 255, .82);
  border: 4px dashed var(--violet);
  border-radius: 30px;
  rotate: -5deg;
}

.safety-note {
  display: grid;
  align-items: center;
  grid-template-columns: 58px 1fr;
  gap: 15px;
  margin-top: 18px;
  padding: 17px 20px;
  background: #fff5d2;
  border: 2px solid #ead18a;
  border-radius: 24px;
}

.safety-note > span:first-child {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  font-size: 29px;
  background: white;
  border-radius: 17px;
}

.safety-note strong,
.safety-note small {
  display: block;
}

.safety-note small {
  margin-top: 4px;
  color: #786c4e;
  font-weight: 800;
  line-height: 1.4;
}

.labs-section {
  margin-top: 48px;
}

.section-heading,
.journal-heading {
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.section-heading h2,
.journal-heading h1 {
  margin: 0;
  font-size: clamp(35px, 4.5vw, 50px);
  font-weight: 900;
}

.section-heading > p {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-align: right;
}

.labs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.lab-card {
  min-height: 260px;
  padding: 23px;
  text-align: left;
  background: var(--paper);
  border: 3px solid var(--line);
  border-radius: 29px;
  box-shadow: 0 8px 0 #d9d3bd;
  transition: translate .18s ease, border-color .18s ease;
}

.lab-card:hover {
  border-color: #79ad8d;
  translate: 0 -4px;
}

.lab-card[data-color="violet"]:hover {
  border-color: #9b88c4;
}

.lab-card[data-color="gold"]:hover {
  border-color: #dbb254;
}

.lab-card-head {
  justify-content: space-between;
  margin-bottom: 20px;
}

.lab-icon {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  font-size: 37px;
  background: var(--mint);
  border: 5px solid #c7e7d0;
  border-radius: 23px;
  rotate: -3deg;
}

[data-color="violet"] .lab-icon {
  background: #ece6f8;
  border-color: #d9ccf0;
}

[data-color="gold"] .lab-icon {
  background: #fff1c7;
  border-color: #f1dd9e;
}

.lab-count {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.lab-card h3 {
  margin-bottom: 8px;
  font-size: 24px;
}

.lab-card p {
  min-height: 60px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.progress-track {
  display: block;
  width: 100%;
  height: 11px;
  overflow: hidden;
  background: #ebe7d9;
  border-radius: 999px;
}

.progress-track > span {
  display: block;
  height: 100%;
  background: var(--green);
  border-radius: inherit;
}

[data-color="violet"] .progress-track > span {
  background: var(--violet);
}

[data-color="gold"] .progress-track > span {
  background: var(--gold);
}

.game-shell,
.journal-shell {
  padding: clamp(24px, 4vw, 45px);
  background: var(--paper);
  border: 3px solid var(--line);
  border-radius: 42px;
  box-shadow: var(--shadow);
}

.progress-row {
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.progress-copy strong,
.progress-copy small {
  display: block;
}

.progress-copy strong {
  font-size: 16px;
}

.progress-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 800;
}

.round-badge {
  display: grid;
  min-width: 82px;
  height: 82px;
  place-items: center;
  align-content: center;
  color: white;
  font-family: Georgia, serif;
  font-size: 29px;
  font-weight: 900;
  background: var(--green);
  border: 6px solid #d4eddb;
  border-radius: 50%;
}

.round-badge small {
  display: block;
  font-family: inherit;
  font-size: 10px;
}

.question-block {
  max-width: 860px;
  margin: 0 auto 22px;
  text-align: center;
}

.question-block h1 {
  margin-bottom: 9px;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.04;
}

.question-block > p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.45;
}

.workbench {
  display: grid;
  align-items: stretch;
  grid-template-columns: .95fr 1.05fr;
  gap: 18px;
  margin: 24px 0;
}

.ingredients-panel,
.experiment-stage {
  min-height: 320px;
  border-radius: 30px;
}

.ingredients-panel {
  display: grid;
  align-content: center;
  gap: 17px;
  padding: 24px;
  background: #fff6dd;
  border: 3px solid #ead79e;
}

.panel-label {
  margin: 0;
  color: #78623e;
  font-family: Georgia, serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-align: center;
  text-transform: uppercase;
}

.ingredients-list {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.ingredient-card {
  display: grid;
  min-width: 118px;
  min-height: 130px;
  place-items: center;
  align-content: center;
  gap: 8px;
  flex: 1 1 118px;
  padding: 15px;
  text-align: center;
  background: white;
  border: 2px solid #dfd0a9;
  border-radius: 22px;
  box-shadow: 0 7px 0 rgba(174, 145, 86, .18);
}

.ingredient-card > span {
  font-size: 44px;
  line-height: 1;
}

.ingredient-card strong {
  font-size: 14px;
  line-height: 1.25;
}

.mix-sign {
  display: grid;
  width: 38px;
  place-items: center;
  align-self: center;
  color: #9a7544;
  font-size: 27px;
  font-weight: 900;
}

.experiment-stage {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 22px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .35) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .35) 1px, transparent 1px),
    linear-gradient(145deg, #deeff1, #dfeee2);
  background-size: 28px 28px, 28px 28px, auto;
  border: 3px solid #bdd8d0;
}

.experiment-stage::after {
  position: absolute;
  right: -10%;
  bottom: -36px;
  left: -10%;
  height: 78px;
  content: "";
  background: #b88a5d;
  border-top: 7px solid #785a3e;
  border-radius: 50% 50% 0 0;
}

.beaker-visual {
  position: relative;
  z-index: 1;
  width: min(290px, 88%);
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 13px 10px rgba(47, 78, 70, .18));
}

.beaker-glass {
  fill: rgba(255, 255, 255, .55);
  stroke: #315e59;
  stroke-width: 8;
  stroke-linejoin: round;
}

.beaker-liquid {
  fill: #7dcde1;
  opacity: .9;
}

.beaker-question {
  fill: #315e59;
  font-family: Georgia, serif;
  font-size: 54px;
  font-weight: 900;
  text-anchor: middle;
}

.particle {
  fill: #fff1a9;
  stroke: #8b6b3f;
  stroke-width: 2;
}

.bubble {
  fill: rgba(255, 255, 255, .8);
  stroke: #4d9ab0;
  stroke-width: 3;
}

.experiment-stage.is-revealed .bubble {
  animation: bubble-up 1.45s ease-in-out infinite;
}

.experiment-stage.is-revealed .bubble:nth-child(2n) {
  animation-delay: -.7s;
}

.experiment-caption {
  position: absolute;
  right: 18px;
  bottom: 20px;
  z-index: 2;
  max-width: 190px;
  padding: 8px 12px;
  color: #315e59;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  background: rgba(255, 255, 255, .88);
  border: 2px solid #bdd8d0;
  border-radius: 14px;
}

@keyframes bubble-up {
  0% {
    opacity: .25;
    translate: 0 16px;
  }
  55% {
    opacity: 1;
  }
  100% {
    opacity: .15;
    translate: 0 -22px;
  }
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}

.option-card {
  min-height: 112px;
  padding: 18px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
  background: white;
  border: 3px solid #d8d3c0;
  border-radius: 24px;
  box-shadow: 0 7px 0 #d8d2bc;
}

.option-card:hover:not(:disabled) {
  border-color: var(--green);
  translate: 0 -2px;
}

.option-card.is-correct {
  color: #275d46;
  background: #e3f4e8;
  border-color: var(--green);
}

.option-card.is-wrong {
  color: #8a443d;
  background: #fff0ec;
  border-color: #e3978e;
  animation: nudge .24s ease-in-out 2;
}

@keyframes nudge {
  50% {
    translate: 5px 0;
  }
}

.game-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

.feedback-card {
  gap: 14px;
  min-height: 84px;
  margin-top: 21px;
  padding: 15px 17px;
  background: #f5f7f3;
  border: 2px solid #d8dfd7;
  border-radius: 22px;
}

.feedback-card[data-kind="error"] {
  background: #fff1ed;
  border-color: #e5aaa1;
}

.feedback-card[data-kind="hint"] {
  background: #fff7d9;
  border-color: #e8ce74;
}

.feedback-card[data-kind="success"] {
  background: #e8f6eb;
  border-color: #9ecbad;
}

.feedback-card > span {
  display: grid;
  min-width: 50px;
  height: 50px;
  place-items: center;
  font-size: 26px;
  background: white;
  border-radius: 15px;
}

.feedback-card p {
  flex: 1;
  margin: 0;
}

.feedback-card strong,
.feedback-card small {
  display: block;
}

.feedback-card small {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.4;
}

.safety-callout {
  margin-top: 12px;
  padding: 11px 14px;
  color: #765b2e;
  font-size: 13px;
  font-weight: 900;
  background: #fff0bd;
  border: 2px solid #e8ca69;
  border-radius: 15px;
}

.result-card {
  max-width: 780px;
  margin: 75px auto 0;
  padding: clamp(36px, 6vw, 68px);
  text-align: center;
  background: var(--paper);
  border: 3px solid var(--line);
  border-radius: 43px;
  box-shadow: var(--shadow);
}

.result-medal {
  display: grid;
  width: 116px;
  height: 116px;
  place-items: center;
  margin: 0 auto 18px;
  font-size: 65px;
  background: #fff1c1;
  border: 7px solid #f0d77e;
  border-radius: 50%;
  rotate: -4deg;
}

.result-card h1 {
  margin-bottom: 13px;
  font-size: clamp(42px, 6vw, 66px);
  line-height: 1.02;
}

.result-card > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.5;
}

.stars {
  margin: 18px 0;
  color: var(--gold);
  font-size: 48px;
  letter-spacing: 7px;
  text-shadow: 0 4px 0 #ce9131;
}

.result-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 24px 0;
}

.result-stats div {
  padding: 14px;
  background: #f1f7ed;
  border: 2px solid #d7e2d2;
  border-radius: 18px;
}

.result-stats strong,
.result-stats small {
  display: block;
}

.result-stats strong {
  font-size: 25px;
}

.result-stats small {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 800;
}

.result-actions {
  justify-content: center;
  flex-wrap: wrap;
  gap: 13px;
}

.journal-shell {
  min-height: 620px;
}

.journal-heading > strong {
  padding: 12px 17px;
  color: #39765e;
  background: var(--mint);
  border: 2px solid #b9dbc3;
  border-radius: 17px;
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}

.journal-card {
  display: grid;
  min-height: 144px;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 17px;
  text-align: center;
  background: #efede5;
  border: 2px solid #d8d3c2;
  border-radius: 23px;
}

.journal-card.is-open {
  background: #edf7ed;
  border-color: #b7d6bc;
}

.journal-card > span {
  font-size: 41px;
}

.journal-card strong {
  font-size: 14px;
  line-height: 1.3;
}

.journal-card small {
  color: var(--muted);
  font-weight: 800;
}

.qa-active {
  background: #eef4ec;
}

.qa-report {
  max-width: 860px;
  margin: 26px auto;
  padding: clamp(25px, 4vw, 44px);
  background: white;
  border: 3px solid #b8d5bf;
  border-radius: 33px;
  box-shadow: var(--shadow);
}

.qa-report.has-failures {
  border-color: #e4a198;
}

.qa-report h1 {
  margin-bottom: 8px;
  font-size: clamp(38px, 5vw, 58px);
}

.qa-summary {
  color: var(--muted);
  font-weight: 900;
}

.qa-report ul {
  display: grid;
  gap: 8px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.qa-report li {
  display: grid;
  align-items: center;
  grid-template-columns: 30px 1fr auto;
  gap: 10px;
  padding: 11px 13px;
  background: #f2f8f1;
  border-radius: 13px;
}

.qa-report li.fail {
  background: #fff0ed;
}

.qa-report li > span {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  color: white;
  font-weight: 900;
  background: var(--green);
  border-radius: 50%;
}

.qa-report li.fail > span {
  background: var(--coral);
}

.qa-report li small {
  color: var(--muted);
}

.qa-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

  .hero-copy {
    text-align: center;
  }

  .hero-copy > p:not(.eyebrow) {
    margin-inline: auto;
  }

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

  .hero-kitchen {
    width: min(580px, 100%);
    margin: 0 auto;
  }

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

  .lab-card {
    min-height: 0;
  }

  .lab-card p {
    min-height: 0;
  }

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

  .ingredients-panel,
  .experiment-stage {
    min-height: 290px;
  }
}

@media (max-width: 760px) {
  .options-grid,
  .journal-grid {
    grid-template-columns: 1fr;
  }

  .option-card {
    min-height: 82px;
  }

  .journal-card {
    min-height: 118px;
  }
}

@media (max-width: 680px) {
  .app {
    width: min(100% - 20px, 1120px);
    padding-top: 11px;
  }

  .topbar {
    min-height: 54px;
    margin-bottom: 13px;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
    font-size: 23px;
    border-radius: 15px;
  }

  .brand strong {
    font-size: 18px;
  }

  .brand small,
  .sound-button span:last-child {
    display: none;
  }

  .sound-button {
    width: 47px;
    min-height: 46px;
    justify-content: center;
    padding: 0;
  }

  .back-button {
    width: 46px;
    min-height: 46px;
  }

  .hero {
    min-height: 0;
    gap: 28px;
    padding: 32px 19px;
    border-radius: 31px;
  }

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

  .hero-copy > p:not(.eyebrow) {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions button {
    width: 100%;
  }

  .hero-kitchen {
    min-height: 320px;
  }

  .hero-chef {
    width: 66%;
  }

  .hero-flask {
    left: 19px;
    bottom: 25px;
    width: 88px;
    height: 88px;
    font-size: 50px;
  }

  .shelf-items {
    font-size: 39px;
  }

  .safety-note {
    align-items: flex-start;
    grid-template-columns: 46px 1fr;
    padding: 14px;
  }

  .safety-note > span:first-child {
    width: 43px;
    height: 43px;
    font-size: 23px;
  }

  .section-heading,
  .journal-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .section-heading > p {
    text-align: left;
  }

  .lab-card {
    padding: 19px;
  }

  .game-shell,
  .journal-shell {
    padding: 19px 13px;
    border-radius: 29px;
  }

  .progress-row {
    align-items: flex-start;
  }

  .round-badge {
    min-width: 65px;
    height: 65px;
    font-size: 23px;
  }

  .question-block h1 {
    font-size: 37px;
  }

  .question-block > p:not(.eyebrow) {
    font-size: 15px;
  }

  .ingredients-panel,
  .experiment-stage {
    min-height: 270px;
    padding: 17px;
    border-radius: 24px;
  }

  .ingredient-card {
    min-width: 92px;
    min-height: 112px;
    flex-basis: 92px;
    padding: 11px;
  }

  .ingredient-card > span {
    font-size: 37px;
  }

  .mix-sign {
    width: 25px;
  }

  .experiment-caption {
    right: 10px;
    bottom: 13px;
    max-width: 150px;
  }

  .feedback-card {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .feedback-card .primary-button {
    width: 100%;
    margin-left: 0;
  }

  .result-card {
    margin-top: 35px;
    padding: 34px 19px;
    border-radius: 31px;
  }

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

  .result-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .result-actions button {
    width: 100%;
  }

  .qa-report li {
    grid-template-columns: 30px 1fr;
  }

  .qa-report li small {
    grid-column: 2;
  }

  .qa-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .qa-actions button {
    width: 100%;
  }
}

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