/* Cartoon setup is a scene, not a long settings modal. All labels remain live DOM. */
#screens .wizard-screen {
  display: block;
  padding: 0;
  overflow: auto;
  isolation: isolate;
  background: #6c5483;
  color: #fff9f1;
}
.wizard-screen > .scene-backdrop,
.cartoon-title > .scene-backdrop {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #705e91;
  background-image: linear-gradient(180deg, #a8b4ef, #ffcba8 44%, #644877);
  pointer-events: none;
}
.wizard-screen > .scene-foreground,
.cartoon-title > .scene-foreground {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-position: center bottom;
  background-size: cover;
  background-repeat: no-repeat;
  pointer-events: none;
}
#screens .wizard-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #24152f18 20%, transparent 55%, #24152f5c);
  z-index: -2;
  pointer-events: none;
}
.wizard-logo {
  position: absolute;
  z-index: 1;
  top: 20px;
  left: 24px;
  width: clamp(90px, 13vw, 190px);
  height: auto;
  pointer-events: none;
}
.wizard-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  align-content: stretch;
  min-height: 100%;
  height: 100%;
  max-width: 1280px;
  margin: auto;
  padding: 24px 36px 28px;
  gap: 12px;
}
.wizard-progress {
  display: flex;
  justify-content: center;
  justify-self: center;
  width: min(460px, 70%);
  background: #24152ff2;
  border: 2px solid #ad84d4;
  border-radius: 28px;
  padding: 12px 20px;
}
.wizard-step {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  border: 0;
  background: none;
  color: #d3b7ed;
  font: 700 18px var(--font-head);
  cursor: pointer;
  padding: 0;
}
.wizard-step:disabled {
  opacity: 0.7;
  cursor: default;
}
.wizard-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: calc(50% + 18px);
  right: calc(-50% + 18px);
  top: 15px;
  height: 2px;
  background: #ad84d4;
}
.wizard-step-dot {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 2px solid #ad84d4;
  border-radius: 50%;
  background: #24152f;
  font: 800 14px var(--font-body);
}
.wizard-step.current {
  color: #fff;
}
.wizard-step.current .wizard-step-dot,
.wizard-step.complete .wizard-step-dot {
  background: #e4ff35;
  border-color: #e4ff35;
  color: #24152f;
}
.wizard-heading {
  text-align: center;
  font: 900 clamp(36px, 5.4vw, 72px)/1.05 var(--font-head);
  text-transform: uppercase;
  margin: 0;
  color: #fff9f1;
  text-shadow:
    3px 3px 0 #24152f,
    -2px -2px 0 #24152f,
    0 5px 12px #24152f99;
  outline: none;
}
.wizard-stage {
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 18px;
  animation: club-stage-enter 0.25s ease-out both;
}
.wizard-option {
  cursor: pointer;
  border: 2px solid #ad84d4;
  color: #fff9f1;
  background: #24152ff0;
  border-radius: 24px;
  font: 800 18px var(--font-body);
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}
.wizard-option.on {
  border-color: #e4ff35;
}
.wizard-option:focus-visible,
.wizard-step:focus-visible {
  outline: 3px solid white;
  outline-offset: 5px;
}
.wizard-option:hover {
  transform: translateY(-3px);
}
.wizard-modes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 780px;
  width: 100%;
}
.wizard-modes .wizard-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 26px;
  gap: 12px;
  min-height: 230px;
}
.wizard-mode-icon {
  display: grid;
  place-items: center;
  border: 3px solid #ad84d4;
  border-radius: 18px;
  width: 76px;
  height: 86px;
  transform: rotate(-8deg);
  color: #e4ff35;
  font: 900 44px var(--font-head);
}
.wizard-modes .wizard-option.on {
  background: #362441fa;
}
.wizard-modes b {
  font: 800 34px var(--font-head);
  text-transform: uppercase;
}
.wizard-modes .wizard-option > span:last-child {
  max-width: 270px;
  font: 700 16px/1.4 var(--font-body);
  color: #d3b7ed;
}
.wizard-target {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #24152fe8;
  padding: 10px 20px;
  border-radius: 24px;
}
.wizard-chips {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.wizard-chips .wizard-option {
  padding: 10px 24px;
  min-height: 48px;
  border-radius: 999px;
  font: 800 18px var(--font-body);
}
.wizard-chips .wizard-option.on {
  background: #e4ff35;
  color: #24152f;
}
.wizard-cast {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  max-width: 1100px;
  flex: 1;
  min-height: 0;
  align-items: end;
}
.wizard-cast .wizard-person {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.wizard-person .wizard-character {
  position: relative;
  inset: auto;
  width: 100%;
  max-height: 440px;
  height: 100%;
  min-height: 180px;
  aspect-ratio: 1;
  margin: 0;
  pointer-events: none;
  filter: drop-shadow(0 8px 0 #24152f33);
  transition: transform 0.2s ease;
}
.wizard-character svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  transform: scale(1.3);
  transform-origin: 50% 100%;
}
.wizard-person.on .wizard-character {
  transform: translateY(-7px) scale(1.035);
}
.wizard-nameplate {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  background: #24152ff5;
  border: 2px solid #ad84d4;
  border-radius: 24px;
  padding: 7px 12px 10px;
  width: 80%;
  min-height: 76px;
  margin-top: -18px;
}
.wizard-nameplate b {
  font: 900 clamp(25px, 3.2vw, 40px)/1 var(--font-head);
  text-transform: uppercase;
}
.wizard-nameplate small {
  color: #d3b7ed;
  font: 800 clamp(14px, 1.6vw, 20px) var(--font-body);
}
.wizard-person.on .wizard-nameplate {
  border-color: #e4ff35;
}
.wizard-person.on .wizard-nameplate::after {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 6%;
  right: 6%;
  height: 6px;
  border-radius: 8px;
  background: #e4ff35;
}
.wizard-difficulty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.wizard-label {
  font: 800 15px var(--font-body);
  color: #fff;
  text-shadow: 0 2px 3px #24152f;
}
.wizard-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(30px, 10vw, 170px);
  padding-top: 8px;
}
.wizard-actions .btn {
  min-width: 200px;
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}
.wizard-actions .btn span {
  display: inline-flex;
  width: 22px;
  height: 22px;
}
.wizard-actions .btn.secondary {
  background: #24152ff0;
  border-color: #ad84d4;
}
.wizard-environments {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 1000px;
}
.wizard-environment {
  overflow: hidden;
  padding: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.wizard-env-art {
  display: block;
  width: 100%;
  aspect-ratio: 1.35;
  overflow: hidden;
}
.wizard-env-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wizard-environment b {
  font: 800 clamp(21px, 2.4vw, 30px) var(--font-head);
}
.wizard-summary {
  color: #fff9f1;
  background: #24152fe8;
  border-radius: 99px;
  padding: 10px 24px;
  margin: 0;
  font: 700 16px var(--font-body);
  text-align: center;
}
/* The title uses the same independent cast and scenery as the wizard. */
#screens .cartoon-title {
  isolation: isolate;
  background: transparent;
}
#screens .cartoon-title > .title-cast {
  display: flex;
  align-items: center;
  justify-content: center;
  inset: 13% 34% 0 0;
  width: auto;
  height: auto;
  z-index: 0;
  padding-bottom: 0;
}
.title-cast .title-friend {
  position: relative;
  inset: auto;
  width: 37%;
  height: auto;
  aspect-ratio: 1;
  margin: 0 -3%;
  max-height: 75vh;
}
.title-cast .title-friend svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  transform: scale(1.45);
  transform-origin: 50% 100%;
}
.title-cast .title-friend-olivia {
  z-index: 1;
  transform: translateY(-6%);
}
#screens .cartoon-title > .lang-switch {
  background: transparent;
  border: 0;
  border-radius: 999px;
  padding: 3px;
}
#screens .cartoon-title > .lang-switch button {
  min-height: 44px;
  border-radius: 999px;
  background: #24152fe8;
}
#screens .cartoon-title > .lang-switch button.on {
  background: #e4ff35;
}
@keyframes club-stage-enter {
  from {
    opacity: 0.4;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 650px) and (orientation: portrait) {
  .wizard-logo {
    width: 64px;
    top: 10px;
    left: 8px;
  }
  .wizard-content {
    padding: 18px 14px 22px;
    gap: 16px;
  }
  .wizard-progress {
    width: 74%;
    margin-left: 60px;
    border-radius: 22px;
    padding: 9px 8px;
  }
  .wizard-step {
    font-size: 15px;
  }
  .wizard-heading {
    font-size: 40px;
    max-width: 340px;
    justify-self: center;
  }
  .wizard-stage {
    gap: 20px;
  }
  .wizard-modes {
    gap: 12px;
  }
  .wizard-modes .wizard-option {
    min-height: 220px;
    padding: 18px 10px;
  }
  .wizard-modes b {
    font-size: 27px;
  }
  .wizard-modes .wizard-option > span:last-child {
    font-size: 14px;
  }
  .wizard-cast {
    width: calc(100% + 20px);
    max-height: 390px;
    align-self: center;
  }
  .wizard-person .wizard-character {
    min-height: 150px;
    max-height: 340px;
    width: 120%;
  }
  .wizard-character svg {
    transform: scale(1.12);
    transform-origin: 50% 72%;
  }
  .wizard-person {
    gap: 0;
  }
  .wizard-person .wizard-character {
    height: auto;
    aspect-ratio: 1;
    min-height: 0;
    flex: none;
  }
  .wizard-cast {
    align-items: center;
  }
  .wizard-cast .wizard-person {
    justify-content: center;
  }
  .wizard-nameplate {
    width: 98%;
    min-height: 68px;
    padding: 8px 4px;
    border-radius: 16px;
    margin-top: -2px;
  }
  .wizard-nameplate b {
    font-size: 27px;
  }
  .wizard-nameplate small {
    font-size: 13px;
  }
  .wizard-chips {
    gap: 7px;
  }
  .wizard-chips .wizard-option {
    padding: 10px 16px;
    font-size: 16px;
    min-height: 46px;
  }
  .wizard-actions {
    gap: 14px;
    width: 100%;
  }
  .wizard-actions .btn {
    flex: 1;
    min-width: 0;
    font-size: 22px;
    min-height: 52px;
  }
  .wizard-actions .btn span {
    width: 17px;
    height: 17px;
  }
  .wizard-environments {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .wizard-environment {
    display: grid;
    grid-template-columns: 110px 1fr;
    padding: 0;
    align-items: center;
    gap: 6px;
    min-height: 100px;
  }
  .wizard-env-art {
    height: 100px;
    aspect-ratio: auto;
  }
  .wizard-environment b {
    font-size: 25px;
  }
  .wizard-summary {
    font-size: 13px;
    padding: 9px 14px;
  }
  #screens .cartoon-title > .title-cast {
    inset: 4% 0 auto;
    height: 30%;
    width: 100%;
    padding: 0;
    align-items: center;
  }
  .title-cast .title-friend {
    width: 40%;
    max-height: 100%;
  }
  .title-cast .title-friend svg {
    transform: scale(1.12);
    transform-origin: 50% 50%;
  }
}
@media (max-height: 560px) and (orientation: landscape) {
  .wizard-content {
    padding: 8px 26px 12px;
    gap: 5px;
  }
  .wizard-logo {
    width: 82px;
    top: 12px;
    left: 10px;
  }
  .wizard-progress {
    padding: 5px 12px;
    width: 340px;
    border-radius: 18px;
  }
  .wizard-step {
    font-size: 13px;
    gap: 1px;
  }
  .wizard-step-dot {
    width: 23px;
    height: 23px;
    font-size: 11px;
  }
  .wizard-step:not(:last-child)::after {
    top: 10px;
  }
  .wizard-heading {
    font-size: 34px;
  }
  .wizard-stage {
    gap: 6px;
  }
  .wizard-cast {
    max-width: 700px;
  }
  .wizard-person .wizard-character {
    min-height: 90px;
    max-height: 160px;
    width: 85%;
  }
  .wizard-nameplate {
    min-height: 42px;
    width: 70%;
    padding: 3px 7px 5px;
    margin-top: -12px;
    border-radius: 16px;
  }
  .wizard-nameplate b {
    font-size: 24px;
  }
  .wizard-nameplate small {
    font-size: 12px;
  }
  .wizard-label {
    display: none;
  }
  .wizard-chips .wizard-option {
    min-height: 44px;
    padding: 5px 22px;
    font-size: 15px;
  }
  .wizard-actions {
    padding-top: 2px;
    gap: 70px;
  }
  .wizard-actions .btn {
    min-height: 44px;
    min-width: 170px;
    font-size: 20px;
  }
  .wizard-modes {
    gap: 16px;
    max-width: 650px;
  }
  .wizard-modes .wizard-option {
    min-height: 125px;
    padding: 8px 15px;
    gap: 3px;
  }
  .wizard-mode-icon {
    display: none;
  }
  .wizard-modes b {
    font-size: 26px;
  }
  .wizard-modes .wizard-option > span:last-child {
    font-size: 13px;
  }
  .wizard-target {
    padding: 4px 15px;
    gap: 12px;
  }
  .wizard-environments {
    gap: 14px;
    max-width: 690px;
  }
  .wizard-env-art {
    max-height: 115px;
    aspect-ratio: 1.8;
  }
  .wizard-environment {
    gap: 4px;
    padding-bottom: 6px;
    border-radius: 16px;
  }
  .wizard-environment b {
    font-size: 23px;
  }
  .wizard-summary {
    padding: 3px 18px;
    font-size: 13px;
  }
  #screens .cartoon-title > .title-cast {
    inset: 12% 38% 0 0;
  }
  .wizard-character svg {
    transform: scale(1);
  }
  #screens .cartoon-title > .title-cast {
    align-items: flex-end;
  }
  .title-cast .title-friend svg {
    transform: scale(1.05);
  }
}
.reduced .wizard-stage,
.reduced .wizard-option,
.reduced .wizard-character {
  animation: none !important;
  transition: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .wizard-stage,
  .wizard-option,
  .wizard-character {
    animation: none !important;
    transition: none !important;
  }
}

/* End of game/assets/cartoon-78dDYLVz.css */
