:root {
  --title-color: #0c6e82;
  --accent: #128cd8;
  --card-bg: #d9ecee;
  --panel-bg: rgba(255, 255, 255, 0.8);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Times New Roman", serif;
  background: #dbe8ee;
  min-height: 100vh;
}

.viewport {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 16px;
}

.stage {
  position: relative;
  width: min(100vw - 32px, calc((100vh - 32px) * 1.40625));
  aspect-ratio: 1440 / 1024;
  overflow: hidden;
  background: #fff;
}

.screen {
  position: absolute;
  inset: 0;
}

.welcome-screen,
.menu-screen,
.congrats-screen {
  background: linear-gradient(120deg, #50c9df 0%, #95c3df 45%, #d2d6dc 100%);
}

.welcome-ring,
.menu-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.welcome-ring.one {
  width: 85%;
  aspect-ratio: 1;
  left: -25%;
  top: -42%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: linear-gradient(135deg, #3d7acf 0%, #6fdbd5 80%);
}

.welcome-ring.two {
  width: 112%;
  aspect-ratio: 1;
  left: -20%;
  top: -55%;
  background: rgba(240, 243, 246, 0.94);
  box-shadow: 0 4px 12px rgba(124, 185, 217, 0.28);
}

.welcome-title {
  position: absolute;
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%);
  color: var(--title-color);
  font-size: clamp(56px, 9vw, 128px);
  font-weight: 700;
  text-shadow: 0 4px 5px rgba(255, 255, 255, 0.9);
}

.menu-ring.one {
  width: 42%;
  aspect-ratio: 1;
  left: -22%;
  top: -36%;
  border: 2px solid rgba(200, 220, 255, 0.7);
}

.menu-ring.two {
  width: 120%;
  aspect-ratio: 1;
  left: -25%;
  top: -95%;
  border: 2px solid rgba(240, 244, 255, 0.45);
}

.menu-grid {
  position: absolute;
  inset: 20% 6% 14%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7%;
}

.menu-card {
  border: none;
  border-radius: 65px;
  background: radial-gradient(circle at center, #b4fff5 0%, #ffffff 100%);
  box-shadow: 0 4px 54px -13px rgba(67, 67, 67, 0.25);
  color: #1088a1;
  font-size: clamp(60px, 8vw, 128px);
  font-weight: 700;
  cursor: pointer;
}

.congrats-title {
  position: absolute;
  left: 50%;
  top: 6.5%;
  transform: translateX(-50%);
  margin: 0;
  color: var(--title-color);
  font-size: clamp(62px, 6.8vw, 96px);
  line-height: 1;
}

.congrats-card {
  position: absolute;
  left: 9.8%;
  right: 9.8%;
  top: 16.8%;
  bottom: 11%;
  border-radius: 65px;
  background: radial-gradient(circle at center, #d7eff1 0%, #f8f8f8 100%);
}

.congrats-text {
  margin: 0;
  color: #2f6ed0;
  font-size: clamp(22px, 2.1vw, 52px);
  line-height: 1.16;
  width: 61%;
  max-width: 700px;
  position: absolute;
  left: 15.5%;
  top: 34.5%;
}

.congrats-back {
  position: absolute;
  left: 1.7%;
  top: 3.2%;
  border: none;
  border-radius: 999px;
  background: rgba(223, 245, 255, 0.9);
  color: var(--accent);
  font-size: clamp(22px, 2.2vw, 46px);
  font-family: "Times New Roman", serif;
  padding: 3px 44px;
  cursor: pointer;
}

.lesson-screen {
  background: #e1eef3;
}

.quiz-screen {
  background: linear-gradient(120deg, #50c9df 0%, #95c3df 45%, #d2d6dc 100%);
}

.quiz-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.quiz-ring.one {
  width: 69.5%;
  aspect-ratio: 1;
  left: -19.5%;
  top: 56.8%;
  border: 2px solid rgba(209, 214, 242, 0.75);
}

.quiz-ring.two {
  width: 109.8%;
  aspect-ratio: 1;
  left: -11.6%;
  top: -61.1%;
  border: 2px solid rgba(203, 217, 241, 0.62);
}

.quiz-ring.three {
  width: 97.5%;
  aspect-ratio: 1;
  left: 39.4%;
  top: 23.2%;
  border: 2px solid rgba(205, 220, 244, 0.78);
}

.quiz-ring.four {
  width: 63.5%;
  aspect-ratio: 1;
  left: -42.1%;
  top: -67.6%;
  border: 2px solid rgba(192, 209, 238, 0.72);
}

.quiz-ring.five {
  width: 56.5%;
  aspect-ratio: 1;
  left: -34%;
  top: -70.4%;
  border: 2px solid rgba(194, 212, 240, 0.72);
}

.quiz-ring.six {
  width: 86.8%;
  aspect-ratio: 1;
  left: -16.2%;
  top: -122.2%;
  border: 2px solid rgba(191, 211, 241, 0.72);
}

.quiz-card {
  position: absolute;
  left: 6.8%;
  right: 6.8%;
  top: 8.2%;
  bottom: 8.2%;
  border-radius: 65px;
  box-shadow: 0 4px 54px -13px rgba(67, 67, 67, 0.25);
  background: radial-gradient(circle at center, #b4fff5 0%, #ffffff 100%);
}

.quiz-title {
  position: absolute;
  left: 50%;
  top: 5.2%;
  transform: translateX(-50%);
  margin: 0;
  color: #1088a1;
  font-size: clamp(38px, 4.2vw, 62px);
  line-height: 1;
  font-weight: 700;
}

.quiz-subtitle {
  position: absolute;
  left: 50%;
  top: 15.2%;
  transform: translateX(-50%);
  margin: 0;
  color: #000;
  font-size: clamp(20px, 1.9vw, 28px);
  line-height: 1.1;
  white-space: nowrap;
}

.quiz-subtitle.is-correct {
  color: #ff17dc;
  font-weight: 700;
}

.quiz-options {
  position: absolute;
  left: 50%;
  top: 24.5%;
  transform: translateX(-50%);
  width: min(35%, 430px);
  min-width: 320px;
  display: grid;
  gap: 16px;
}

.quiz-option {
  border: none;
  border-radius: 24px;
  background: #fff;
  box-shadow: inset 0 4px 11.2px rgba(0, 0, 0, 0.25);
  color: #128cd8;
  font-family: "Times New Roman", serif;
  font-size: clamp(18px, 1.55vw, 26px);
  line-height: 1.2;
  padding: 10px 12px;
  min-height: 60px;
  cursor: grab;
  user-select: none;
  transition: transform 0.12s ease, opacity 0.12s ease, box-shadow 0.12s ease;
}

.quiz-option:active {
  transform: scale(0.97);
  box-shadow: inset 0 3px 9px rgba(0, 0, 0, 0.28);
}

.quiz-option.is-dragging {
  cursor: grabbing;
  opacity: 0.55;
  transform: scale(0.98);
}

.quiz-option:focus-visible {
  outline: 3px solid rgba(18, 140, 216, 0.35);
  outline-offset: 2px;
}

.quiz-pad-card {
  overflow: hidden;
}

.quiz-pad-subtitle {
  position: absolute;
  left: 50%;
  top: 14.2%;
  transform: translateX(-50%);
  margin: 0;
  color: #000;
  font-size: clamp(19px, 1.9vw, 30px);
  line-height: 1.1;
  white-space: nowrap;
}

.quiz-pad-subtitle.is-correct {
  color: #ff17dc;
  font-weight: 700;
}

.quiz-pad-body,
.quiz-pad-wire {
  position: absolute;
  display: block;
  object-fit: contain;
}

.quiz-pad-body {
  left: 7.88%;
  top: 14.24%;
  width: 55.27%;
  height: 80.16%;
}

.quiz-pad-wire {
  left: 44.17%;
  top: 23.69%;
  width: 38.05%;
  height: 55.19%;
}

.quiz-pad-drag-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.quiz-pad-cable-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.quiz-pad-cable-line {
  fill: none;
  stroke: #6f87d6;
  stroke-width: 3.4;
  stroke-linecap: round;
  opacity: 0.95;
}

.quiz-pad-cable-point {
  position: absolute;
  width: 1%;
  aspect-ratio: 1;
  opacity: 0;
  pointer-events: none;
}

.quiz-pad-cable-point.is-upper {
  left: 20.2%;
  top: 55.8%;
}

.quiz-pad-cable-point.is-lower {
  left: 41.4%;
  top: 78.2%;
}

.quiz-pad-target {
  position: absolute;
  width: 8.6%;
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}

.quiz-pad-target[data-target="upper"] {
  left: 27.2%;
  top: 60.8%;
}

.quiz-pad-target[data-target="lower"] {
  left: 30.4%;
  top: 65.2%;
}

.quiz-pad-drag-pad {
  --pad-rotate: 0deg;
  --pad-scale: 1;
  position: absolute;
  transform: translate(-50%, -50%) rotate(var(--pad-rotate)) scale(var(--pad-scale));
  z-index: 3;
  display: block;
  object-fit: contain;
  touch-action: none;
  user-select: none;
  cursor: grab;
  filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.2));
  transition: left 0.18s ease, top 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
}

.quiz-pad-drag-pad.is-upper {
  left: 65.5%;
  top: 52.6%;
  width: 26.71%;
  height: 38.74%;
}

.quiz-pad-drag-pad.is-lower {
  left: 67.5%;
  top: 54.1%;
  width: 24.3%;
  height: 35.24%;
}

.quiz-pad-drag-pad.is-dragging {
  cursor: grabbing;
  --pad-scale: 1.03;
  transition: none;
}

.quiz-pad-drag-pad.is-snapped {
  cursor: default;
  --pad-scale: 1;
}

.quiz-pad-rotate-btn {
  position: absolute;
  left: 72.8%;
  top: 43.8%;
  width: clamp(30px, 2.5vw, 42px);
  height: clamp(30px, 2.5vw, 42px);
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: #128cd8;
  font-size: clamp(16px, 1.6vw, 22px);
  line-height: 1;
  cursor: pointer;
  z-index: 4;
}

.quiz-pad-rotate-btn:focus-visible {
  outline: 3px solid rgba(18, 140, 216, 0.35);
  outline-offset: 2px;
}

.quiz-question-card {
  overflow: hidden;
}

.quiz-question-count {
  position: absolute;
  left: 50%;
  top: 13.2%;
  transform: translateX(-50%);
  margin: 0;
  color: #000;
  font-size: clamp(26px, 2.5vw, 38px);
  line-height: 1.05;
}

.quiz-question-text {
  position: absolute;
  left: 50%;
  top: 22.5%;
  transform: translateX(-50%);
  margin: 0;
  color: #000;
  font-size: clamp(22px, 2.4vw, 38px);
  line-height: 1.1;
  white-space: nowrap;
}

.quiz-question-text.is-wrap {
  white-space: normal;
  width: 92%;
  text-align: left;
}

.quiz-answer-list {
  position: absolute;
  left: 50%;
  top: 31.6%;
  transform: translateX(-50%);
  width: min(42%, 500px);
  min-width: 420px;
  display: grid;
  gap: 14px;
}

.quiz-answer-btn {
  border: none;
  border-radius: 22px;
  min-height: 78px;
  padding: 8px 18px;
  background: #fff;
  box-shadow: inset 0 4px 4px rgba(0, 0, 0, 0.25);
  color: #2a6fd6;
  font-family: "Times New Roman", serif;
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.05;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.quiz-answer-btn:active {
  transform: scale(0.985);
  box-shadow: inset 0 3px 3px rgba(0, 0, 0, 0.28);
}

.quiz-answer-btn.is-small-text {
  font-size: clamp(18px, 1.7vw, 26px);
}

.quiz-answer-btn.is-medium-text {
  font-size: clamp(20px, 2vw, 30px);
}

.quiz-answer-btn.is-correct,
.quiz-answer-btn.is-incorrect {
  background: #2a6fd6;
  color: #fff;
  box-shadow: inset 0 3px 4px rgba(0, 0, 0, 0.22);
}

.quiz-answer-label {
  flex: 1;
}

.quiz-answer-mark {
  font-size: clamp(20px, 2vw, 32px);
  font-weight: 700;
  line-height: 1;
}

.quiz-answer-btn.is-correct .quiz-answer-mark {
  color: #21b546;
}

.quiz-answer-btn.is-incorrect .quiz-answer-mark {
  color: #e01919;
}

.quiz-next-btn {
  position: absolute;
  right: 5.2%;
  bottom: 6.8%;
  background: #fff;
  color: #2a6fd6;
  border: none;
  border-radius: 999px;
  padding: 5px 16px;
  font-family: "Times New Roman", serif;
  font-size: clamp(16px, 1.5vw, 24px);
  line-height: 1.1;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.22);
  cursor: pointer;
}

.quiz-next-btn:focus-visible {
  outline: 3px solid rgba(42, 111, 214, 0.35);
  outline-offset: 2px;
}

.quiz-answer-btn:focus-visible {
  outline: 3px solid rgba(42, 111, 214, 0.35);
  outline-offset: 2px;
}

.test-result-screen {
  overflow: hidden;
}

.test-result-title {
  position: absolute;
  left: 50%;
  top: 6.6%;
  transform: translateX(-50%);
  margin: 0;
  color: #1088a1;
  font-size: clamp(50px, 5.6vw, 82px);
  line-height: 1;
}

.test-result-review-btn,
.test-result-exit-btn {
  border: none;
  border-radius: 43px;
  background: #dff5ff;
  color: #128cd8;
  font-family: "Times New Roman", serif;
  font-size: clamp(26px, 3.2vw, 48px);
  line-height: 1;
  cursor: pointer;
}

.test-result-review-btn {
  position: absolute;
  left: 1.74%;
  top: 3.22%;
  font-size: clamp(20px, 2.4vw, 36px);
  padding: 3px 16px;
}

.test-result-card {
  position: absolute;
  left: 9.93%;
  right: 9.93%;
  top: 17.68%;
  bottom: 17.77%;
  border-radius: 65px;
  box-shadow: 0 4px 54px -13px rgba(67, 67, 67, 0.25);
  background: radial-gradient(circle at center, #b4fff5 0%, #ffffff 100%);
}

.test-result-score {
  position: absolute;
  left: 50%;
  top: 8.32%;
  transform: translateX(-50%);
  margin: 0;
  color: #2a6fd6;
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 1;
  white-space: nowrap;
}

.test-result-message {
  position: absolute;
  left: 50%;
  top: 32.8%;
  transform: translateX(-50%);
  margin: 0;
  width: 82%;
  color: #128cd8;
  font-size: clamp(16px, 2.2vw, 30px);
  line-height: 1.22;
  text-align: center;
}

.test-result-message-heading {
  color: #1088a1;
  font-size: clamp(24px, 2.9vw, 44px);
}

.test-result-exit-btn {
  position: absolute;
  right: 3.6%;
  bottom: 3.2%;
  padding: 4px 20px;
}

.test-result-review-btn:focus-visible,
.test-result-exit-btn:focus-visible {
  outline: 3px solid rgba(18, 140, 216, 0.35);
  outline-offset: 2px;
}

.quiz-pad-left {
  left: 52.13%;
  top: 33.02%;
  width: 26.71%;
  height: 38.74%;
}

.quiz-pad-right {
  left: 55.35%;
  top: 36.52%;
  width: 24.3%;
  height: 35.24%;
}

.learn-intro-screen {
  background: #dff5ff;
}

.bridge-screen {
  background: #dff5ff;
  display: grid;
  place-items: center;
}

.bridge-photo {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.bridge-photo.is-visible {
  opacity: 1;
}

.bridge-photo-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bridge-photo-label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  font-size: clamp(40px, 6vw, 84px);
  color: #000;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 26px;
  padding: 22px 56px;
  backdrop-filter: blur(4px);
}

.bridge-text {
  margin: 0;
  color: #0c6e82;
  font-size: clamp(34px, 5vw, 72px);
  text-align: center;
  opacity: 1;
  transition: opacity 0.6s ease;
}

.bridge-text.is-fading {
  opacity: 0;
}

.learn-intro-doctor {
  position: absolute;
  left: 50%;
  top: -6.2%;
  transform: translateX(-50%);
  width: 61.2%;
  max-width: 881px;
  height: auto;
}

.doctor-tag {
  position: absolute;
  right: 3.5%;
  top: 66.1%;
  background: #2deeff;
  border: 2px solid #000;
  color: #000;
  font-size: clamp(18px, 2.2vw, 36px);
  line-height: 1;
  padding: 7px 22px;
}

.learn-intro-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 74.2%;
  height: 27.5%;
  border: 6px solid #000;
  background: rgba(255, 255, 255, 0.8);
  padding: 5.5% 10.5% 4% 10.5%;
}

.learn-intro-text {
  margin: 0;
  color: #111;
  font-size: clamp(20px, 2.2vw, 48px);
  line-height: 1.15;
  width: 88%;
}

.learn-intro-btn {
  position: absolute;
  right: 6.4%;
  bottom: 17.8%;
  border: none;
  border-radius: 43px;
  background: #dff5ff;
  color: #128cd8;
  font-size: clamp(24px, 3vw, 48px);
  padding: 4px 28px;
  font-family: "Times New Roman", serif;
  cursor: pointer;
}

.learn-intro-btn.is-continue {
  right: 3.6%;
  font-size: clamp(20px, 2.4vw, 38px);
  padding: 3px 22px;
}

.lesson-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.character {
  position: absolute;
  left: 50%;
  top: -6%;
  transform: translateX(-50%);
  width: 56%;
  max-width: 820px;
  height: auto;
}

.lesson-panel {
  position: absolute;
  left: 3.3%;
  right: 3.3%;
  bottom: 6.7%;
  min-height: 27.5%;
  border: 6px solid #000;
  background: var(--panel-bg);
  padding: 4% 8% 4% 8%;
  z-index: 3;
}

.lesson-text {
  margin: 0;
  width: 88%;
  font-size: clamp(24px, 3.4vw, 48px);
  line-height: 1.18;
  color: #000;
}

.continue-btn {
  position: absolute;
  right: 4.4%;
  bottom: 14.5%;
  border: none;
  border-radius: 43px;
  background: #dff5ff;
  color: var(--accent);
  font-size: clamp(22px, 2.4vw, 36px);
  padding: 6px 20px;
  font-family: "Times New Roman", serif;
  cursor: pointer;
}

.top-note {
  position: absolute;
  left: 50%;
  top: 8%;
  transform: translateX(-50%);
  margin: 0;
  font-size: clamp(20px, 2.2vw, 34px);
  color: #0a4259;
  background: rgba(255, 255, 255, 0.7);
  padding: 8px 18px;
  border-radius: 14px;
}

.step-media {
  position: absolute;
  right: 7%;
  top: 10%;
  width: 32%;
  border-radius: 24px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

.back-btn {
  position: absolute;
  left: 2%;
  top: 2%;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 22px;
  width: 48px;
  height: 48px;
  cursor: pointer;
}

.prepare-phone {
  position: absolute;
  right: 3.2%;
  top: 4%;
  width: 33%;
  height: 86%;
  border-radius: 44px;
  border: 8px solid #4ba9bc;
  background: linear-gradient(180deg, #f2d6da 0%, #d50000 52%, #d50000 100%);
  z-index: 1;
  display: grid;
  justify-items: center;
  align-content: start;
  padding-top: 3.2%;
}

.prepare-screen .lesson-panel {
  z-index: 2;
}

.prepare-phone-notch {
  width: 62%;
  height: 7%;
  background: #4e4f52;
  border-radius: 999px;
  position: relative;
}

.prepare-phone-notch::before {
  content: "";
  position: absolute;
  left: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #777a82;
}

.prepare-phone-number {
  margin: 28% 0 0;
  color: #fff;
  font-size: clamp(88px, 12vw, 172px);
  line-height: 1;
}

.prepare-phone-call {
  margin-top: 18%;
  width: 52%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 5px solid #fff;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: clamp(52px, 7.4vw, 108px);
  line-height: 1;
}

.step-one-screen .character,
.step-two-screen .character,
.step-three-screen .character,
.step-four-screen .character,
.step-five-screen .character,
.step-six-screen .character {
  left: 25%;
  z-index: 2;
}

.step-one-aed {
  position: absolute;
  left: 37%;
  top: 7%;
  width: 48%;
  height: 56%;
  z-index: 2;
  pointer-events: none;
}

.step-one-aed-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.35));
}

.step-two-media {
  position: absolute;
  left: 70%;
  top: 6%;
  transform: translateX(-50%);
  width: 66%;
  height: 68%;
  z-index: 2;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2%;
}

.step-two-image-img {
  height: 100%;
  object-fit: contain;
}

.step-two-image-img.is-main {
  width: 47%;
}

.step-two-image-img.is-right {
  width: 47%;
}

.step-three-media {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.step-three-arrow {
  position: absolute;
  left: 53%;
  top: 37%;
  transform: translate(-50%, -50%) scaleX(1.45);
  transform-origin: center;
  display: inline-block;
  color: #3fdaef;
  font-size: clamp(92px, 10vw, 164px);
  line-height: 1;
  font-weight: 700;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.step-three-image {
  position: absolute;
  left: 75%;
  top: -6%;
  transform: translateX(-50%);
  width: 56%;
  max-width: 820px;
  height: auto;
  object-fit: contain;
}

.step-one-screen .lesson-panel {
  z-index: 3;
}

.step-456-center-media {
  position: absolute;
  left: 58%;
  top: 42%;
  transform: translate(-50%, -50%);
  width: 40%;
  max-width: 560px;
  z-index: 2;
  pointer-events: none;
}

.step-456-center-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.step-four-screen .lesson-text {
  font-size: clamp(20px, 2.2vw, 34px);
}

.step-four-guides {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.step-four-guide-arrow {
  position: absolute;
  left: 24.2%;
  top: 33.8%;
  width: 20.5%;
  height: 6px;
  background: #58dfff;
  border-radius: 999px;
  box-shadow: 0 0 4px rgba(88, 223, 255, 0.55);
}

.step-four-guide-arrow::after {
  content: "";
  position: absolute;
  right: -3px;
  top: -7px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 18px solid #58dfff;
}

.step-four-guide-box {
  position: absolute;
  width: 7.3%;
  aspect-ratio: 1;
  border: 4px solid #ff1d1d;
  background: rgba(255, 29, 29, 0.35);
}

.step-four-guide-box.is-upper {
  left: 49.2%;
  top: 26.3%;
}

.step-four-guide-box.is-lower {
  left: 58.2%;
  top: 41.6%;
}

.step-four-drag-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.step-four-drag-pad {
  position: absolute;
  width: 12%;
  max-width: 170px;
  height: auto;
  transform: translate(-50%, -50%);
  touch-action: none;
  user-select: none;
  cursor: grab;
  filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.28));
  transition: left 0.18s ease, top 0.18s ease, transform 0.18s ease;
}

.step-four-drag-pad.is-upper {
  left: 79%;
  top: 29%;
}

.step-four-drag-pad.is-lower {
  left: 84%;
  top: 34%;
}

.step-four-drag-pad.is-dragging {
  cursor: grabbing;
  transform: translate(-50%, -50%) scale(1.04);
  transition: none;
}

.step-four-drag-pad.is-snapped {
  transform: translate(-50%, -50%) scale(0.98);
}

.step-six-final-screen .character {
  left: -8.611%;
  top: -5.176%;
  width: 56.944%;
  max-width: none;
  z-index: 2;
}

.step-six-final-media {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.step-six-final-arrow {
  position: absolute;
  left: 43.958%;
  top: 33.594%;
  width: 13.611%;
}

.step-six-final-aed-large {
  position: absolute;
  left: 49.306%;
  top: 2.637%;
  width: 45.764%;
}

.step-six-final-aed-small {
  position: absolute;
  left: 65.347%;
  top: 32.715%;
  width: 15.556%;
}

.step-six-final-finger {
  position: absolute;
  left: 34.306%;
  top: 22.266%;
  width: 10.972%;
}

.step-six-final-focus {
  position: absolute;
  left: 8.333%;
  top: 14.258%;
  width: 25%;
  height: 26.563%;
  overflow: hidden;
}

.step-six-final-focus-body {
  position: absolute;
  left: -67.98%;
  top: -73.8%;
  width: 228.43%;
  height: 428.04%;
  object-fit: contain;
}

.step-six-final-box {
  position: absolute;
  border: 4px solid #e80000;
  background: rgba(255, 0, 0, 0.38);
}

.step-six-final-box.is-upper {
  left: 15.625%;
  top: 19.336%;
  width: 4.028%;
  height: 5.762%;
}

.step-six-final-box.is-lower {
  left: 20.764%;
  top: 28.32%;
  width: 3.889%;
  height: 5.078%;
}

.step-six-final-pad {
  position: absolute;
}

.step-six-final-pad.is-upper {
  left: 14.722%;
  top: 17.48%;
  width: 9.653%;
}

.step-six-final-pad.is-lower {
  left: 15.347%;
  top: 26.074%;
  width: 10.625%;
}

.step-six-final-coil {
  position: absolute;
  left: 27.153%;
  top: 15.039%;
  width: 12.986%;
}

.step-six-final-wire {
  position: absolute;
}

.step-six-final-wire.is-one {
  left: 18.125%;
  top: 26.27%;
  width: 13.542%;
}

.step-six-final-wire.is-two {
  left: 23.542%;
  top: 24.316%;
  width: 13.681%;
}

.step-six-final-screen .lesson-panel {
  left: 3.3%;
  right: 3.4%;
  bottom: 6.738%;
  min-height: 27.539%;
  border-width: 6px;
  padding: 2% 4.2% 4% 4.8%;
}

.step-six-final-screen .lesson-text {
  width: 92%;
  font-size: clamp(28px, 3.125vw, 45px);
  line-height: 1.12;
}

.step-six-final-screen .continue-btn {
  right: 4.6%;
  bottom: 14.6%;
  font-size: clamp(28px, 3vw, 48px);
  padding: 1px 34px 4px;
}

.step-six-photo-screen {
  position: absolute;
  inset: 0;
  background: #000;
  overflow: hidden;
}

.step-six-photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}

.step-six-photo-screen .lesson-panel {
  left: 3.3%;
  right: 3.4%;
  bottom: 6.738%;
  min-height: 27.539%;
  border-width: 6px;
  background: #fff;
  padding: 2% 4.2% 4% 4.8%;
  z-index: 3;
}

.step-six-photo-screen .lesson-text {
  width: 92%;
  font-size: clamp(28px, 3.125vw, 45px);
  line-height: 1.12;
}

.step-six-photo-screen .continue-btn {
  right: 4.6%;
  bottom: 14.6%;
  font-size: clamp(28px, 3vw, 48px);
  padding: 1px 34px 4px;
}

.step-seven-photo-screen {
  position: absolute;
  inset: 0;
  background: #000;
  overflow: hidden;
}

.step-seven-photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 900px) {
  .quiz-options {
    min-width: min(340px, 74vw);
    width: 76%;
    gap: 14px;
  }

  .quiz-option {
    min-height: 58px;
    padding: 10px 12px;
    font-size: clamp(18px, 2.6vw, 26px);
  }

  .quiz-pad-subtitle {
    top: 15.2%;
    white-space: normal;
    width: 82%;
    text-align: center;
  }

  .quiz-question-count {
    top: 14.2%;
  }

  .quiz-question-text {
    white-space: normal;
    width: 84%;
    text-align: center;
  }

  .quiz-answer-list {
    width: 74%;
    min-width: min(500px, 82%);
    gap: 14px;
  }

  .quiz-answer-btn {
    min-height: 74px;
    border-radius: 22px;
    font-size: clamp(23px, 3vw, 34px);
  }

  .quiz-answer-btn.is-small-text {
    font-size: clamp(18px, 2.3vw, 25px);
  }

  .quiz-pad-target {
    width: 10.2%;
  }

  .quiz-pad-rotate-btn {
    left: 74.2%;
    top: 44.4%;
  }

  .lesson-panel {
    border-width: 3px;
    padding: 16px;
  }

  .continue-btn {
    right: 6%;
    bottom: 9%;
  }
}
