@font-face { font-family: Nunito; src: url(nunito.woff2) format("woff2"); font-weight:500 800; font-display:swap; }
@font-face { font-family: Rubik; src: url(rubik.woff2) format("woff2"); font-weight:500; font-display:swap; }
:root { color-scheme:light; background:#e9edf1; color:#192437; font-family:system-ui,sans-serif; }
* { box-sizing:border-box; }
body { margin:0; min-height:100svh; background:radial-gradient(ellipse at 50% 20%,#fbfcfd,transparent 62%),#e4e9ef; display:grid; place-items:center; }
.stage { width:100%; min-height:100svh; display:grid; grid-template-columns:repeat(2, max-content); place-content:center; justify-items:center; gap:17px clamp(10px, 5vw, 66px); padding:18px 12px; }
.phone {
  width:min(422px,calc((100vw - 26px - clamp(10px, 5vw, 66px)) / 2),calc((100svh - 78px) * .482));
  aspect-ratio: 420 / 877;
  padding:clamp(5px,1.25vw,9px);
  border:1px solid #6b6e77;
  border-radius:13% / 6.3%;
  background:linear-gradient(145deg,#a6a9b4 0%,#363b47 15%,#121419 47%,#4d515a 82%,#9fa2a9);
  box-shadow:inset 0 0 0 2px #f4f6f43b,inset 0 0 0 5px #17191f,0 25px 52px -16px #252d466b;
  position:relative;
}
.phone::before,.phone::after { content:''; position:absolute; width:3px; border-radius:2px; background:#454953; top:24%; }
.phone::before { left:-3px; height:8%; box-shadow:0 38px #454953; }
.phone::after { right:-3px; height:11%; top:28%; }
.display { position:relative; height:100%; overflow:hidden; isolation:isolate; border-radius:11.8% / 5.5%; background:#f8fafc; box-shadow:0 0 0 2px #080a0e; }
.chrome { position:absolute; inset:0 0 auto; height:5.6%; background:url(completed.png) top center / 100% auto no-repeat; z-index:5; pointer-events:none; }
.island { position:absolute; z-index:6; width:29%; height:3.7%; background:#0b0c10; left:35.5%; top:1.13%; border-radius:999px; box-shadow:inset 0 -1px 2px #000; pointer-events:none; }
.island::after { content:''; position:absolute; right:10%; top:35%; height:32%; aspect-ratio:1; border-radius:50%; background:radial-gradient(circle at 38% 35%,#39496e,#121929 54%,#05070b 65%); }
.home { position:absolute; bottom:.82%; left:33%; width:34%; height:.56%; background:#1c273b; border-radius:999px; z-index:5; pointer-events:none; }
.result { position:absolute; inset:0; background:#f8fafc; }
.result img { position:absolute; display:block; height:auto; pointer-events:none; }
.completed .mascot { left:22.07%; top:33.80%; width:56%; }
.completed .confetti { left:4.97%; top:17.67%; width:90.21%; }
.completed .title { left:5.38%; top:56.76%; width:89.79%; }
.completed .stats { left:3.45%; top:68.49%; width:93.10%; }
.completed .actions { left:3.31%; top:89.09%; width:93.38%; }
.failed .mascot { left:22.34%; top:17.98%; width:55.17%; }
.failed .title { left:22.62%; top:45.34%; width:54.76%; }
.failed .stats { left:3.45%; top:57.08%; width:93.10%; }
.failed .actions { left:3.31%; top:81.12%; width:93.38%; }
button:focus-visible { outline:2px solid #136e9d; outline-offset:3px; }
.playback { grid-column:1 / -1; color:#344158; background:transparent; border:1px solid #aab4c3; border-radius:100px; padding:6px 16px; font:600 12px system-ui; cursor:pointer; }

.playback[hidden] { display:none; }


.question { position:absolute; inset:0; z-index:2; background:#fff; container-type:inline-size; }
.question img { position:absolute; display:block; pointer-events:none; }
.question-art { inset:0; width:100%; height:100%; }
.progress { position:absolute; top:12.85%; left:4.1%; right:4.1%; display:flex; justify-content:space-between; align-items:center; font-size:5cqi; }
.progress span { color:#006f94; font-size:4.25cqi; font-weight:700; font-variant-numeric:tabular-nums; }
.progress-line { position:absolute; left:4.1%; right:4.1%; top:17.45%; height:1.45%; border-radius:99px; background:#00b9eb; }
.choice,.check { opacity:0; }
.hungry { left:28.97%; width:34.1%; top:40.02%; }
.crunchy { left:59.49%; width:36.41%; top:47.86%; }
.the { left:4.1%; width:21.79%; top:40.02%; }
.check { left:19.49%; top:89.9%; width:76.41%; }

.feedback {
  position:absolute; bottom:15.68%; left:4.1026%; right:4.1026%; display:flex;
  gap:3.0769cqi; align-items:flex-start; padding:3.0769cqi 4.1026cqi;
  border-radius:2.0513cqi; background:#d9fbe8; color:#1d293d; opacity:0;
  box-shadow:inset 0 0 0 .2564cqi #00a155, 0 4.1026cqi 6.1538cqi #0000001a;
  font-family:Nunito,sans-serif;
}
.question .feedback img { position:static; width:8.2051cqi; flex:none; }
.feedback > div { min-width:0; flex:1; }
.feedback strong,.feedback span { display:block; }
.feedback strong { font-size:4.1026cqi; line-height:6.1538cqi; font-weight:700; }
.feedback span { font-size:3.5897cqi; line-height:5.1282cqi; font-weight:500; color:#45556c; }
.failed-quiz .feedback {
  bottom:16.27%; gap:4.1026cqi; padding:4.1026cqi 3.0769cqi;
  background:#fff0dc; border-radius:4.1026cqi; box-shadow:inset 0 0 0 .2564cqi #ffb86a;
}
.failed-quiz .feedback img { width:10.2564cqi; }
.failed-quiz .feedback strong { color:#ff8904; }
.failed-quiz .feedback span { margin-top:1.5385cqi; color:#1d293d; font-family:Rubik,sans-serif; }

.feedback-action { left:0; width:100%; top:89.8%; box-sizing:border-box; border-inline:4.1cqi solid #fff; box-shadow:0 -1px #fff,0 2px #fff; background:#fff; opacity:0; }

