.mo-onboarding[hidden] {
  display: none !important;
}

.mo-onboarding {
  --mo-ink: #17243e;
  --mo-muted: #60708c;
  --mo-cyan: #18c9df;
  --mo-blue: #4a66f2;
  --mo-coral: #ff776f;
  --mo-yellow: #ffd765;
  --mo-mint: #62d8b0;
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  place-items: center;
  padding: clamp(12px, 2.2vw, 34px);
  color: var(--mo-ink);
  font-family: inherit;
}

.mo-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 12%, rgba(51, 226, 221, 0.34), transparent 28%),
    radial-gradient(circle at 90% 88%, rgba(255, 111, 146, 0.32), transparent 30%),
    rgba(8, 16, 36, 0.82);
  -webkit-backdrop-filter: blur(17px) saturate(1.2);
  backdrop-filter: blur(17px) saturate(1.2);
  animation: mo-fade-in 240ms ease both;
}

.mo-dialog {
  position: relative;
  width: min(1180px, 100%);
  height: min(790px, calc(100vh - clamp(24px, 4.4vw, 68px)));
  min-height: 590px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: clamp(24px, 3.2vw, 42px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(245, 250, 255, 0.94)),
    #fff;
  box-shadow: 0 35px 100px rgba(5, 13, 35, 0.48), inset 0 1px 0 #fff;
  animation: mo-dialog-in 420ms cubic-bezier(0.22, 0.9, 0.32, 1.08) both;
}

.mo-dialog::before,
.mo-dialog::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border-radius: 999px;
}

.mo-dialog::before {
  width: 220px;
  height: 220px;
  top: -145px;
  right: 18%;
  background: rgba(255, 215, 101, 0.34);
}

.mo-dialog::after {
  width: 170px;
  height: 170px;
  right: -90px;
  bottom: 80px;
  background: rgba(98, 216, 176, 0.23);
}

.mo-header,
.mo-stage,
.mo-footer {
  position: relative;
  z-index: 1;
}

.mo-header {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) auto;
  align-items: center;
  gap: clamp(14px, 2.4vw, 34px);
  padding: 16px clamp(20px, 3.2vw, 42px);
  border-bottom: 1px solid #e5ecf5;
  background: rgba(255, 255, 255, 0.78);
}

.mo-brand {
  display: flex;
  align-items: baseline;
  gap: 9px;
  white-space: nowrap;
}

.mo-brand b {
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0.08em;
}

.mo-brand b::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mo-coral), var(--mo-yellow));
  box-shadow: 9px -2px 0 var(--mo-cyan);
}

.mo-brand span {
  color: #7d8ba4;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.mo-progress {
  display: flex;
  justify-content: center;
  gap: 7px;
}

.mo-progress button {
  min-width: 46px;
  height: 32px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 9px;
  border: 0;
  border-radius: 999px;
  color: #94a1b6;
  background: transparent;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.mo-progress button:hover {
  color: var(--mo-blue);
  background: #edf2ff;
  transform: translateY(-1px);
}

.mo-progress button i {
  width: 19px;
  height: 5px;
  border-radius: 999px;
  background: #dce4f0;
}

.mo-progress button span {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.mo-progress button.is-done i {
  background: var(--mo-mint);
}

.mo-progress button.is-current {
  color: #fff;
  background: var(--mo-ink);
}

.mo-progress button.is-current i {
  background: linear-gradient(90deg, var(--mo-cyan), var(--mo-yellow));
}

.mo-header-actions,
.mo-languages {
  display: flex;
  align-items: center;
}

.mo-header-actions {
  gap: 12px;
}

.mo-languages {
  padding: 3px;
  border: 1px solid #dae3ef;
  border-radius: 999px;
  background: #f2f6fa;
}

.mo-languages button {
  width: 38px;
  height: 27px;
  border: 0;
  border-radius: 999px;
  color: #78869d;
  background: transparent;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}

.mo-languages button[aria-pressed="true"] {
  color: #fff;
  background: var(--mo-blue);
  box-shadow: 0 4px 12px rgba(74, 102, 242, 0.25);
}

.mo-skip {
  padding: 7px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  color: #65738b;
  background: transparent;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.mo-stage {
  min-height: 0;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #c9d5e6 transparent;
}

.mo-layout {
  min-height: 100%;
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(430px, 1.14fr);
  gap: clamp(25px, 4vw, 58px);
  align-items: stretch;
  padding: clamp(24px, 3.5vw, 48px) clamp(24px, 4vw, 52px);
  animation: mo-step-in 310ms ease both;
}

.mo-art {
  position: relative;
  min-height: 405px;
  margin: 0;
  overflow: hidden;
  border-radius: 29px 70px 29px 29px;
  background: #16213c;
  box-shadow: 0 25px 45px rgba(31, 45, 82, 0.22);
  isolation: isolate;
}

.mo-art::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 47%, rgba(9, 18, 38, 0.82));
}

.mo-art::after {
  content: "2030 → 2050";
  position: absolute;
  z-index: 3;
  top: 18px;
  left: 18px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  color: #fff;
  background: rgba(16, 29, 59, 0.68);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.11em;
}

.mo-art img {
  width: 100%;
  height: 100%;
  min-height: 405px;
  display: block;
  object-fit: cover;
  object-position: 49% center;
  transform: scale(1.025);
  transition: transform 5s ease;
}

.mo-onboarding:not([hidden]) .mo-art img {
  transform: scale(1.075);
}

.mo-art-shine {
  position: absolute;
  z-index: 1;
  width: 45%;
  height: 140%;
  top: -20%;
  left: -70%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  animation: mo-shine 4.8s 0.7s ease-in-out infinite;
}

.mo-art figcaption {
  position: absolute;
  z-index: 4;
  right: 22px;
  bottom: 22px;
  left: 22px;
  color: #fff;
}

.mo-art figcaption span {
  display: block;
  margin-bottom: 6px;
  color: #8ef3ee;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.mo-art figcaption b {
  display: block;
  max-width: 330px;
  font-size: clamp(17px, 1.7vw, 24px);
  line-height: 1.35;
}

.mo-copy {
  align-self: center;
  min-width: 0;
}

.mo-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  color: var(--mo-blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.mo-kicker::before {
  content: "";
  width: 30px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--mo-cyan), var(--mo-blue));
}

.mo-copy h2 {
  max-width: 650px;
  margin: 0;
  color: var(--mo-ink);
  font-size: clamp(27px, 3vw, 45px);
  line-height: 1.16;
  letter-spacing: -0.045em;
}

.mo-copy h2:focus {
  outline: none;
}

.mo-lead {
  max-width: 660px;
  margin: 16px 0 21px;
  color: #53637d;
  font-size: clamp(13px, 1.25vw, 16px);
  font-weight: 600;
  line-height: 1.85;
}

.mo-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0 0;
  padding: 13px 15px;
  border: 1px solid #dce6f4;
  border-radius: 14px;
  color: #52627a;
  background: #f4f8fd;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.65;
}

.mo-note > span {
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--mo-blue);
  font-size: 11px;
  font-weight: 900;
}

.mo-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.mo-timeline::before {
  content: "";
  position: absolute;
  top: 20px;
  right: 8%;
  left: 8%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--mo-cyan), var(--mo-blue), #ad79ed, var(--mo-coral));
}

.mo-timeline li {
  position: relative;
  z-index: 1;
  min-width: 0;
  text-align: center;
}

.mo-timeline li::before {
  content: "";
  width: 12px;
  height: 12px;
  display: block;
  margin: 14px auto 9px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--mo-blue);
  box-shadow: 0 0 0 2px #b9c7ee;
}

.mo-timeline li.is-now::before {
  background: var(--mo-coral);
  box-shadow: 0 0 0 3px rgba(255, 119, 111, 0.25);
}

.mo-timeline b,
.mo-timeline span {
  display: block;
}

.mo-timeline b {
  color: var(--mo-ink);
  font-size: 13px;
}

.mo-timeline span {
  min-height: 30px;
  margin-top: 3px;
  color: #77859b;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.35;
}

.mo-cycle {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1.12fr;
  gap: 7px;
  align-items: stretch;
}

.mo-cycle > div {
  min-width: 0;
  padding: 11px 9px;
  border: 1px solid #e0e8f3;
  border-radius: 15px;
  background: #f7f9fc;
}

.mo-cycle > div.is-wte {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(140deg, var(--mo-blue), #824fe0);
  box-shadow: 0 11px 22px rgba(74, 102, 242, 0.22);
}

.mo-cycle > em {
  align-self: center;
  color: #a1acc0;
  font-size: 20px;
  font-style: normal;
}

.mo-cycle i,
.mo-cycle b,
.mo-cycle span {
  display: block;
}

.mo-cycle i {
  color: var(--mo-cyan);
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
}

.mo-cycle b {
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.25;
}

.mo-cycle span {
  margin-top: 4px;
  color: #7b879b;
  font-size: 8px;
  font-weight: 700;
  line-height: 1.35;
}

.mo-cycle .is-wte i,
.mo-cycle .is-wte span {
  color: rgba(255, 255, 255, 0.74);
}

.mo-tech-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.mo-tech-pills > span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-radius: 13px;
  background: #eef7fa;
}

.mo-tech-pills i {
  padding: 5px 6px;
  border-radius: 6px;
  color: #fff;
  background: var(--mo-cyan);
  font-size: 7px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.mo-tech-pills b {
  font-size: 10px;
}

.mo-step-crew {
  grid-template-columns: minmax(260px, 0.66fr) minmax(520px, 1.34fr);
  gap: clamp(22px, 3vw, 42px);
  padding-top: 30px;
  padding-bottom: 30px;
}

.mo-step-crew .mo-copy h2 {
  font-size: clamp(26px, 2.6vw, 40px);
}

.mo-step-crew .mo-lead {
  margin: 11px 0 14px;
}

.mo-crew-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.mo-crew-card {
  position: relative;
  min-width: 0;
  min-height: 124px;
  padding: 12px 10px 10px 53px;
  overflow: hidden;
  border: 1px solid #e1e8f3;
  border-radius: 17px;
  color: var(--mo-ink);
  background: #fff;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(37, 51, 82, 0.06);
  transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
}

.mo-crew-card:hover {
  transform: translateY(-3px);
  border-color: var(--mo-member);
  box-shadow: 0 13px 25px rgba(37, 51, 82, 0.12);
}

.mo-crew-card.is-selected {
  border-color: var(--mo-member);
  background: linear-gradient(145deg, #fff, color-mix(in srgb, var(--mo-member) 12%, #fff));
  box-shadow: inset 0 0 0 1px var(--mo-member), 0 12px 25px color-mix(in srgb, var(--mo-member) 24%, transparent);
}

.mo-crew-card > span {
  position: absolute;
  top: 11px;
  left: 10px;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 12px 12px 12px 4px;
  color: #fff;
  background: var(--mo-member);
  font-size: 13px;
  font-weight: 900;
}

.mo-crew-card small,
.mo-crew-card b,
.mo-crew-card em,
.mo-crew-card > i {
  display: block;
}

.mo-crew-card small {
  min-height: 24px;
  color: #77869d;
  font-size: 7px;
  font-weight: 900;
  line-height: 1.3;
  text-transform: uppercase;
}

.mo-crew-card b {
  margin-top: 3px;
  font-size: 14px;
}

.mo-crew-card em {
  margin-top: 5px;
  color: #637189;
  font-size: 8px;
  font-style: normal;
  font-weight: 650;
  line-height: 1.45;
}

.mo-crew-card > i {
  margin-top: 7px;
  color: var(--mo-member);
  font-size: 7px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.mo-route {
  position: relative;
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mo-route::before {
  content: "";
  position: absolute;
  top: 21px;
  bottom: 21px;
  left: 20px;
  width: 2px;
  background: linear-gradient(var(--mo-cyan), var(--mo-blue), var(--mo-coral));
}

.mo-route li {
  position: relative;
  display: grid;
  grid-template-columns: 40px 62px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 5px 10px 5px 0;
  border: 1px solid #e7ecf4;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 14px rgba(38, 54, 83, 0.05);
}

.mo-route li > span {
  z-index: 1;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  justify-self: center;
  border: 4px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--mo-blue);
  box-shadow: 0 0 0 2px #b9c8ee;
  font-size: 8px;
  font-weight: 900;
}

.mo-route li > i {
  color: var(--mo-blue);
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.mo-route b,
.mo-route small {
  display: block;
}

.mo-route b {
  font-size: 11px;
}

.mo-route small {
  margin-top: 2px;
  color: #7a879a;
  font-size: 8px;
  font-weight: 700;
}

.mo-ready-cards {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 11px;
}

.mo-ready-cards article {
  position: relative;
  min-height: 145px;
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 11px;
  padding: 34px 15px 14px;
  border: 1px solid #dfe7f2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(34, 50, 80, 0.08);
}

.mo-ready-cards article > small {
  position: absolute;
  top: 12px;
  left: 14px;
  color: #79879c;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.11em;
}

.mo-ready-cards article > span {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 17px 17px 17px 5px;
  color: #fff;
  background: var(--mo-member, var(--mo-blue));
  font-size: 19px;
  font-weight: 900;
}

.mo-ready-mission > span {
  background: linear-gradient(140deg, var(--mo-blue), #8e57e6) !important;
}

.mo-ready-cards h3,
.mo-ready-cards p {
  margin: 0;
}

.mo-ready-cards h3 {
  font-size: 16px;
  line-height: 1.25;
}

.mo-ready-cards b {
  display: block;
  margin-top: 3px;
  color: var(--mo-blue);
  font-size: 8px;
  line-height: 1.3;
}

.mo-ready-cards p {
  margin-top: 7px;
  color: #69778d;
  font-size: 8px;
  font-weight: 650;
  line-height: 1.5;
}

.mo-launch-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 0;
  color: var(--mo-ink);
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 900;
}

.mo-launch-line span {
  padding: 8px 11px;
  border-radius: 10px;
  color: #fff;
  background: var(--mo-coral);
  font-size: 11px;
  letter-spacing: 0.05em;
  box-shadow: 0 7px 16px rgba(255, 119, 111, 0.28);
}

.mo-footer {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px clamp(20px, 3.2vw, 42px);
  border-top: 1px solid #e3eaf4;
  background: rgba(250, 252, 255, 0.92);
}

.mo-read-time {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mo-read-time span {
  padding: 6px 9px;
  border-radius: 8px;
  color: #fff;
  background: var(--mo-ink);
  font-size: 9px;
  font-weight: 900;
}

.mo-read-time small {
  color: #7c899e;
  font-size: 9px;
  font-weight: 800;
}

.mo-nav-buttons {
  display: flex;
  align-items: center;
  gap: 9px;
}

.mo-back,
.mo-next,
.mo-start {
  min-height: 47px;
  border-radius: 14px;
  font-family: inherit;
  font-weight: 900;
  cursor: pointer;
}

.mo-back {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid #d8e1ee;
  color: #62718a;
  background: #fff;
}

.mo-next,
.mo-start {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--mo-blue), #7650dc);
  box-shadow: 0 12px 25px rgba(74, 102, 242, 0.3);
}

.mo-next {
  min-width: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 22px;
}

.mo-start {
  min-width: 220px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 0 17px;
  background: linear-gradient(135deg, #ec5f62, #f9856d 48%, #7755dc);
  box-shadow: 0 12px 27px rgba(230, 93, 100, 0.32);
}

.mo-start > span {
  padding: 5px 7px;
  border-radius: 7px;
  color: #ea6370;
  background: #fff;
  font-size: 8px;
  letter-spacing: 0.04em;
}

.mo-start > i {
  font-style: normal;
}

.mo-back:hover,
.mo-next:hover,
.mo-start:hover {
  transform: translateY(-2px);
  filter: saturate(1.08);
}

.mo-onboarding button:focus-visible,
.mo-onboarding a:focus-visible {
  outline: 3px solid #16bcd2;
  outline-offset: 3px;
}

@keyframes mo-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes mo-dialog-in {
  from { opacity: 0; transform: translateY(22px) scale(0.975); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes mo-step-in {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes mo-shine {
  0%, 55% { left: -70%; }
  80%, 100% { left: 130%; }
}

@media (max-width: 920px) {
  .mo-dialog {
    height: min(820px, calc(100vh - 24px));
    min-height: 560px;
  }

  .mo-header {
    grid-template-columns: auto 1fr;
  }

  .mo-progress {
    grid-column: 1 / -1;
    grid-row: 2;
    order: 3;
  }

  .mo-header-actions {
    justify-self: end;
  }

  .mo-layout,
  .mo-step-crew {
    grid-template-columns: minmax(220px, 0.68fr) minmax(400px, 1.32fr);
    gap: 23px;
    padding: 24px;
  }

  .mo-art,
  .mo-art img {
    min-height: 390px;
  }

  .mo-copy h2 {
    font-size: clamp(25px, 4vw, 36px);
  }

  .mo-crew-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mo-crew-card {
    min-height: 109px;
  }
}

@media (max-width: 680px) {
  .mo-onboarding {
    padding: 0;
  }

  .mo-dialog {
    width: 100%;
    height: 100dvh;
    min-height: 0;
    border: 0;
    border-radius: 0;
  }

  .mo-header {
    min-height: 0;
    grid-template-columns: 1fr auto;
    gap: 9px;
    padding: 11px 14px 9px;
  }

  .mo-brand span,
  .mo-read-time small {
    display: none;
  }

  .mo-brand b {
    font-size: 15px;
  }

  .mo-header-actions {
    gap: 8px;
  }

  .mo-skip {
    font-size: 10px;
  }

  .mo-languages button {
    width: 34px;
    height: 25px;
  }

  .mo-progress {
    width: 100%;
    gap: 4px;
  }

  .mo-progress button {
    min-width: 0;
    flex: 1;
    justify-content: center;
    height: 25px;
    padding: 0 4px;
  }

  .mo-progress button i {
    width: min(27px, 7vw);
  }

  .mo-progress button span {
    display: none;
  }

  .mo-layout,
  .mo-step-crew {
    min-height: 0;
    display: block;
    padding: 14px 16px 22px;
  }

  .mo-art {
    height: 170px;
    min-height: 170px;
    margin-bottom: 18px;
    border-radius: 19px 45px 19px 19px;
  }

  .mo-art img {
    min-height: 170px;
    object-position: 50% 42%;
  }

  .mo-art::after {
    top: 11px;
    left: 11px;
    padding: 6px 9px;
    font-size: 8px;
  }

  .mo-art figcaption {
    right: 14px;
    bottom: 12px;
    left: 14px;
  }

  .mo-art figcaption span {
    margin-bottom: 2px;
    font-size: 7px;
  }

  .mo-art figcaption b {
    font-size: 13px;
  }

  .mo-kicker {
    margin-bottom: 7px;
    font-size: 8px;
  }

  .mo-copy h2,
  .mo-step-crew .mo-copy h2 {
    font-size: clamp(24px, 7.3vw, 32px);
  }

  .mo-lead,
  .mo-step-crew .mo-lead {
    margin: 10px 0 14px;
    font-size: 12px;
    line-height: 1.72;
  }

  .mo-note {
    margin-top: 12px;
    padding: 10px 11px;
    font-size: 10px;
  }

  .mo-timeline {
    margin-top: 15px;
  }

  .mo-timeline span {
    font-size: 7px;
  }

  .mo-cycle {
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
  }

  .mo-cycle > em {
    display: none;
  }

  .mo-cycle > div {
    padding: 9px 6px;
  }

  .mo-cycle b {
    font-size: 9px;
  }

  .mo-cycle span {
    font-size: 7px;
  }

  .mo-tech-pills {
    gap: 5px;
    margin-top: 9px;
  }

  .mo-tech-pills > span {
    display: block;
    padding: 8px 6px;
  }

  .mo-tech-pills i {
    display: inline-block;
    margin-bottom: 4px;
  }

  .mo-tech-pills b {
    display: block;
    font-size: 8px;
  }

  .mo-crew-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .mo-crew-card {
    min-height: 101px;
    padding: 9px 7px 8px 43px;
    border-radius: 14px;
  }

  .mo-crew-card > span {
    top: 8px;
    left: 7px;
    width: 29px;
    height: 29px;
    border-radius: 10px 10px 10px 3px;
    font-size: 11px;
  }

  .mo-crew-card small {
    min-height: 18px;
    font-size: 6px;
  }

  .mo-crew-card b {
    font-size: 12px;
  }

  .mo-crew-card em {
    font-size: 7px;
  }

  .mo-route {
    gap: 6px;
  }

  .mo-route li {
    min-height: 42px;
    grid-template-columns: 36px 54px 1fr;
  }

  .mo-ready-cards {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .mo-ready-cards article {
    min-height: 102px;
    grid-template-columns: 42px 1fr;
    padding: 29px 11px 10px;
  }

  .mo-ready-cards article > span {
    width: 40px;
    height: 40px;
    border-radius: 13px 13px 13px 4px;
    font-size: 15px;
  }

  .mo-ready-cards h3 {
    font-size: 13px;
  }

  .mo-launch-line {
    margin-top: 12px;
    font-size: 15px;
  }

  .mo-footer {
    min-height: 67px;
    padding: 9px 14px calc(9px + env(safe-area-inset-bottom));
  }

  .mo-read-time {
    gap: 0;
  }

  .mo-back,
  .mo-next,
  .mo-start {
    min-height: 43px;
    border-radius: 12px;
    font-size: 11px;
  }

  .mo-back {
    padding: 0 12px;
  }

  .mo-next {
    min-width: 104px;
    padding: 0 15px;
  }

  .mo-start {
    min-width: 178px;
  }
}

/* V3: play-first onboarding ------------------------------------------------ */
.mo-step-demo {
  grid-template-columns: minmax(270px, .72fr) minmax(430px, 1.28fr);
  gap: clamp(22px, 3vw, 42px);
  align-items: stretch;
}

.mo-demo-art {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  background: #d9f7f4;
  box-shadow: 0 18px 45px rgba(31, 78, 104, .18);
}

.mo-demo-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(9, 25, 47, .88));
  pointer-events: none;
}

.mo-demo-art img {
  width: 100%;
  height: 100%;
  min-height: 475px;
  object-fit: cover;
  object-position: 52% center;
  transform: scale(1.04);
}

.mo-demo-art figcaption {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 20px;
  left: 20px;
  color: #fff;
}

.mo-demo-art figcaption b,
.mo-demo-art figcaption span {
  display: block;
}

.mo-demo-art figcaption b {
  font-size: clamp(18px, 2vw, 27px);
  line-height: 1.35;
}

.mo-demo-art figcaption span {
  margin-top: 5px;
  color: #cceff1;
  font-size: 11px;
}

.mo-demo-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.mo-tutorial-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 13px;
  padding: 8px 12px 8px 8px;
  border: 1px solid rgba(74, 102, 242, .18);
  border-radius: 999px;
  color: #344862;
  background: #edf2ff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.35;
}

.mo-tutorial-banner b {
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(110deg, var(--mo-blue), #8a57e6);
  font-size: 9px;
  letter-spacing: .12em;
}

.mo-demo-copy h2 {
  max-width: 690px;
  font-size: clamp(31px, 3.5vw, 48px);
}

.mo-demo-item {
  display: grid;
  grid-template-columns: 86px 1fr;
  align-items: center;
  gap: 14px;
  min-height: 102px;
  margin: 4px 0 12px;
  padding: 12px 18px;
  border: 2px solid #fff;
  border-radius: 24px;
  background: linear-gradient(135deg, #e9fff9, #fff5ce 52%, #f5ecff);
  box-shadow: 0 15px 30px rgba(39, 78, 101, .12);
  transition: transform 240ms ease;
}

.mo-demo-item > span {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 25px;
  background: rgba(255,255,255,.85);
  font-size: 46px;
  filter: drop-shadow(0 8px 8px rgba(37, 65, 87, .12));
}

.mo-demo-item small,
.mo-demo-item b {
  display: block;
}

.mo-demo-item small {
  color: #61758a;
  font-size: 11px;
}

.mo-demo-item b {
  margin-top: 4px;
  color: #17344a;
  font-size: clamp(17px, 2vw, 23px);
}

.mo-demo-item.is-solved {
  transform: scale(1.015);
  box-shadow: 0 15px 34px rgba(52, 190, 137, .22), 0 0 0 4px rgba(98,216,176,.2);
}

.mo-demo-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}

.mo-demo-choices button {
  min-height: 102px;
  display: grid;
  grid-template-columns: 52px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 11px;
  padding: 12px;
  border: 2px solid #cdd9e6;
  border-radius: 21px;
  color: #20364c;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.mo-demo-choices button:hover,
.mo-demo-choices button:focus-visible {
  transform: translateY(-3px);
  border-color: var(--mo-blue);
  box-shadow: 0 12px 24px rgba(53, 83, 130, .13);
}

.mo-demo-choices button > span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 17px;
  color: #fff;
  background: linear-gradient(135deg, var(--mo-mint), #18b8dc);
  font-size: 25px;
}

.mo-demo-choices button:nth-child(2) > span {
  background: linear-gradient(135deg, var(--mo-coral), #ae8cff);
}

.mo-demo-choices button b {
  align-self: end;
  font-size: 14px;
}

.mo-demo-choices button small {
  align-self: start;
  margin-top: 3px;
  color: #718096;
  font-size: 9px;
}

.mo-demo-choices button.is-wrong {
  border-color: #ff8b9a;
  background: #fff0f3;
  animation: mo-demo-shake 260ms ease;
}

.mo-demo-choices button.is-correct {
  border-color: #36bd8a;
  background: #e8fff5;
  box-shadow: 0 0 0 4px rgba(54, 189, 138, .17);
}

.mo-demo-choices button:disabled {
  cursor: default;
}

.mo-demo-feedback {
  min-height: 52px;
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 9px;
  margin-top: 10px;
  padding: 8px 11px;
  border-radius: 15px;
  color: #586a7e;
  background: #f0f4f8;
}

.mo-demo-feedback > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #fff;
  background: #8b9bad;
  font-weight: 900;
}

.mo-demo-feedback p {
  margin: 0;
  font-size: 11px;
  line-height: 1.55;
}

.mo-demo-feedback.is-retry {
  color: #8b4657;
  background: #fff0f3;
}

.mo-demo-feedback.is-retry > span {
  background: #ef7189;
}

.mo-demo-feedback.is-success {
  color: #17684f;
  background: #ddfaec;
}

.mo-demo-feedback.is-success > span {
  background: #38b986;
}

.mo-next:disabled,
.mo-progress button:disabled {
  cursor: not-allowed;
  opacity: .38;
  transform: none;
}

.mo-demo-celebrate .mo-demo-item > span {
  animation: mo-demo-pop 620ms cubic-bezier(.2,.9,.3,1.35);
}

.mo-demo-celebrate .mo-dialog::after {
  box-shadow: -90px -190px 0 -67px #ffd765, -240px 40px 0 -70px #62d8b0, -760px -120px 0 -69px #ff776f;
  animation: mo-demo-stars 720ms ease both;
}

@keyframes mo-demo-shake { 33% { transform: translateX(-6px); } 66% { transform: translateX(6px); } }
@keyframes mo-demo-pop { 40% { transform: rotate(-8deg) scale(1.2); } 70% { transform: rotate(5deg) scale(.96); } }
@keyframes mo-demo-stars { from { opacity: 0; transform: scale(.4) rotate(-20deg); } to { opacity: 1; transform: scale(1) rotate(0); } }

.mo-play-layout,
.mo-launch-layout {
  min-height: 100%;
  overflow: visible;
  padding: clamp(24px, 3vw, 38px) clamp(24px, 4vw, 52px);
}

.mo-play-layout > .mo-copy {
  max-width: 970px;
  margin: 0 auto;
  text-align: center;
}

.mo-play-layout h2,
.mo-launch-layout h2 {
  margin: 5px 0 8px;
  font-size: clamp(29px, 3.5vw, 45px);
  letter-spacing: -.045em;
  line-height: 1.2;
}

.mo-play-layout .mo-lead {
  max-width: 820px;
  margin: 0 auto 20px;
}

.mo-play-route {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mo-play-route li {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr;
  gap: 5px 8px;
  padding: 13px;
  border: 1px solid #dfe6f0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(37, 67, 104, .08);
}

.mo-play-route li > i {
  grid-column: 1 / 3;
  font-size: 29px;
  font-style: normal;
}

.mo-play-route li > span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #fff;
  background: var(--mo-blue);
  font-size: 9px;
  font-weight: 900;
}

.mo-play-route li b,
.mo-play-route li small {
  display: block;
}

.mo-play-route li b {
  font-size: 12px;
}

.mo-play-route li small {
  margin-top: 3px;
  color: #68778c;
  font-size: 9px;
  line-height: 1.45;
}

.mo-win-card {
  display: grid;
  grid-template-columns: .85fr 1.7fr;
  align-items: center;
  gap: 20px;
  margin-top: 14px;
  padding: 14px 18px;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(115deg, #182b4a, #274a64 55%, #205f5d);
}

.mo-win-card small {
  color: var(--mo-yellow);
  font-weight: 900;
  letter-spacing: .12em;
}

.mo-win-card h3 {
  margin: 3px 0 0;
  font-size: 16px;
}

.mo-win-card ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mo-win-card li {
  display: grid;
  grid-template-columns: 29px 1fr;
  align-items: center;
  gap: 6px;
  min-height: 46px;
  padding: 7px;
  border-radius: 13px;
  background: rgba(255,255,255,.1);
}

.mo-win-card li span {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 10px;
  color: #17243e;
  background: var(--mo-yellow);
}

.mo-win-card li b {
  font-size: 9px;
  line-height: 1.35;
}

.mo-simple-wte,
.mo-random-promise {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 11px 0 0;
  color: #60708c;
  font-size: 10px;
  text-align: center;
}

.mo-simple-wte b {
  color: #294e6d;
  white-space: nowrap;
}

.mo-random-promise {
  color: #6e4d86;
  font-weight: 900;
}

.mo-random-promise span {
  color: #fff;
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--mo-coral);
}

.mo-launch-layout {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mo-launch-heading {
  display: grid;
  grid-template-columns: 1fr 235px;
  align-items: center;
  gap: 18px;
}

.mo-launch-heading .mo-lead {
  margin-bottom: 10px;
}

.mo-launch-heading figure {
  height: 130px;
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  background: #e1f8f5;
}

.mo-launch-heading img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
}

.mo-crew-chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 11px 0;
}

.mo-crew-chips button {
  display: grid;
  grid-template-columns: 94px 1fr 24px;
  align-items: center;
  gap: 8px;
  min-height: 104px;
  padding: 8px 10px;
  border: 2px solid #e0e7f0;
  border-radius: 17px;
  color: #23374d;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
}

.mo-crew-chips button:hover {
  transform: translateY(-2px);
  border-color: var(--mo-member);
}

.mo-crew-chips button.is-selected {
  border-color: var(--mo-member);
  background: color-mix(in srgb, var(--mo-member) 13%, #fff);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--mo-member) 18%, transparent);
}

.mo-crew-chips button > span {
  display: grid;
  place-items: center;
  width: 92px;
  height: 78px;
  border-radius: 24px;
  color: #17243e;
  background: var(--mo-member);
  font-size: 16px;
  font-weight: 900;
}

.mo-crew-chips button > .mo-crew-face {
  border: 2px solid rgba(255,255,255,.9);
  background-image: url("assets/meguru-crew-roster-v2.webp");
  background-repeat: no-repeat;
  background-size: 300% 200%;
  box-shadow: 0 5px 12px rgba(21, 39, 67, .18);
}

.mo-crew-face--mio { background-position: 0% 0%; }
.mo-crew-face--rin { background-position: 50% 0%; }
.mo-crew-face--mei { background-position: 100% 0%; }
.mo-crew-face--sara { background-position: 0% 100%; }
.mo-crew-face--haru { background-position: 50% 100%; }
.mo-crew-face--ren { background-position: 100% 100%; }

/* The parent span rule above uses a background shorthand, so each portrait is
   pinned again with a higher-specificity attribute selector. */
.mo-crew-chips button > .mo-crew-face[data-crew-portrait="mio"] { background-position: 0% 0% !important; }
.mo-crew-chips button > .mo-crew-face[data-crew-portrait="rin"] { background-position: 50% 0% !important; }
.mo-crew-chips button > .mo-crew-face[data-crew-portrait="mei"] { background-position: 100% 0% !important; }
.mo-crew-chips button > .mo-crew-face[data-crew-portrait="sara"] { background-position: 0% 100% !important; }
.mo-crew-chips button > .mo-crew-face[data-crew-portrait="haru"] { background-position: 50% 100% !important; }
.mo-crew-chips button > .mo-crew-face[data-crew-portrait="ren"] { background-position: 100% 100% !important; }

.mo-crew-chips button b,
.mo-crew-chips button small {
  display: block;
}

.mo-crew-chips button b {
  font-size: 13px;
}

.mo-crew-chips button small {
  margin-top: 2px;
  color: #68778c;
  font-size: 9px;
}

.mo-crew-chips button > i {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  color: #fff;
  background: #b0bdca;
  font-style: normal;
  font-weight: 900;
}

.mo-crew-chips button.is-selected > i {
  background: #17243e;
}

.mo-mission-ticket {
  display: grid;
  grid-template-columns: 62px 1fr auto;
  align-items: center;
  gap: 13px;
  padding: 13px 16px;
  border: 2px dashed #ff9d90;
  border-radius: 20px;
  background: linear-gradient(115deg, #fff1ed, #fff9d8 70%, #edfff8);
}

.mo-mission-ticket > span {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 20px;
  background: #fff;
  font-size: 31px;
}

.mo-mission-ticket small,
.mo-mission-ticket h3,
.mo-mission-ticket p {
  display: block;
  margin: 0;
}

.mo-mission-ticket div > small {
  color: #d75c60;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .13em;
}

.mo-mission-ticket h3 {
  margin-top: 2px;
  font-size: 16px;
}

.mo-mission-ticket p {
  margin-top: 2px;
  color: #6b7480;
  font-size: 10px;
}

.mo-mission-ticket > strong {
  padding-left: 15px;
  border-left: 1px solid rgba(71, 81, 97, .18);
  text-align: center;
}

.mo-mission-ticket > strong b,
.mo-mission-ticket > strong small {
  display: block;
}

.mo-mission-ticket > strong b {
  color: #274d69;
  font-size: 23px;
}

.mo-start-promise {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 9px;
  margin-top: 10px;
  padding: 8px 11px;
  border-radius: 15px;
  background: #edf7ff;
}

.mo-start-promise > span {
  font-size: 26px;
}

.mo-start-promise b,
.mo-start-promise p {
  display: block;
  margin: 0;
}

.mo-start-promise b {
  color: #2a5474;
  font-size: 11px;
}

.mo-start-promise p {
  margin-top: 2px;
  color: #6c7a8c;
  font-size: 9px;
}

@media (max-width: 680px) {
  .mo-step-demo {
    display: block;
    padding: 18px 15px;
  }

  .mo-demo-art,
  .mo-launch-heading figure {
    display: none;
  }

  .mo-demo-copy h2,
  .mo-play-layout h2,
  .mo-launch-layout h2 {
    font-size: 27px;
  }

  .mo-demo-copy .mo-lead {
    font-size: 12px;
  }

  .mo-demo-item {
    grid-template-columns: 64px 1fr;
    min-height: 82px;
    padding: 9px 11px;
  }

  .mo-demo-item > span {
    width: 58px;
    height: 58px;
    font-size: 36px;
  }

  .mo-demo-choices {
    grid-template-columns: 1fr;
  }

  .mo-demo-choices button {
    min-height: 76px;
    grid-template-columns: 43px 1fr;
  }

  .mo-demo-choices button > span {
    width: 43px;
    height: 43px;
    border-radius: 13px;
    font-size: 21px;
  }

  .mo-demo-choices button b {
    font-size: 13px;
  }

  .mo-demo-choices button small,
  .mo-demo-feedback p {
    font-size: 10px;
  }

  .mo-play-layout,
  .mo-launch-layout {
    display: block;
    padding: 17px 14px;
  }

  .mo-play-layout > .mo-copy,
  .mo-launch-heading .mo-copy {
    text-align: left;
  }

  .mo-play-layout .mo-lead {
    margin-bottom: 13px;
    font-size: 11px;
  }

  .mo-play-route {
    grid-template-columns: 1fr 1fr;
  }

  .mo-play-route li {
    min-height: 105px;
    padding: 10px;
  }

  .mo-play-route li:last-child {
    grid-column: 1 / 3;
  }

  .mo-win-card {
    display: block;
  }

  .mo-win-card h3 {
    margin-bottom: 9px;
    font-size: 13px;
  }

  .mo-win-card ul {
    grid-template-columns: 1fr;
  }

  .mo-simple-wte {
    display: block;
    text-align: left;
  }

  .mo-simple-wte b {
    display: block;
    margin-bottom: 4px;
  }

  .mo-launch-heading {
    display: block;
  }

  .mo-crew-chips {
    grid-template-columns: 1fr;
  }

  .mo-crew-chips button {
    grid-template-columns: 106px 1fr 26px;
    min-height: 108px;
    padding: 8px;
  }

  .mo-crew-chips button > span {
    width: 104px;
    height: 88px;
    border-radius: 25px;
    font-size: 14px;
  }

  .mo-crew-chips button b {
    font-size: 12px;
  }

  .mo-crew-chips button small {
    font-size: 8px;
  }

  .mo-mission-ticket {
    grid-template-columns: 44px 1fr;
    padding: 10px;
  }

  .mo-mission-ticket > span {
    width: 43px;
    height: 43px;
    border-radius: 14px;
    font-size: 23px;
  }

  .mo-mission-ticket > strong {
    display: none;
  }

  .mo-mission-ticket h3 {
    font-size: 13px;
  }
}

@media (max-height: 680px) and (min-width: 681px) {
  .mo-dialog {
    height: calc(100vh - 18px);
    min-height: 0;
  }

  .mo-header {
    min-height: 61px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .mo-layout,
  .mo-step-crew {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .mo-art,
  .mo-art img {
    min-height: 345px;
  }

  .mo-lead {
    margin-top: 10px;
    margin-bottom: 13px;
    line-height: 1.65;
  }

  .mo-footer {
    min-height: 66px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mo-onboarding *,
  .mo-onboarding *::before,
  .mo-onboarding *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }

  .mo-onboarding .mo-art img {
    transform: none !important;
  }
}
