/* Keep decorative layers out of scrolling geometry. A dialog owns its one scroller. */
html,
body,
#app,
#screens {
  overflow: hidden;
}
#screens {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
#screens > .screen {
  pointer-events: auto;
  overflow-x: hidden;
  animation: none;
}
#screens .wizard-screen,
#screens .experience-screen {
  overflow: hidden;
}
.wizard-content,
.experience-content {
  min-height: 0;
  min-width: 0;
  max-height: 100%;
}
.wizard-stage,
.experience-body {
  min-width: 0;
}
.scene-backdrop,
.scene-foreground {
  max-width: 100%;
  max-height: 100%;
}
.screen .panel {
  overflow-x: hidden;
}
.wizard-option {
  transition:
    border-color 0.12s,
    background-color 0.12s;
}
.wizard-option:hover {
  transform: none;
}
.wizard-next {
  background: #bfa4ff;
  border-color: #bfa4ff;
  color: #24152f;
  box-shadow: 0 4px 0 #76608d;
}
.wizard-step-2 .wizard-next {
  background: #e4ff35;
  border-color: #e4ff35;
  box-shadow: 0 4px 0 #9cae1c;
}
#screens .title-menu .btn.gold {
  background: #bfa4ff;
  border-color: #bfa4ff;
  color: #24152f;
  box-shadow: 0 4px 0 #76608d;
}
.confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 12px;
}
.confirm-actions .btn {
  min-width: 0;
  height: auto;
  min-height: 56px;
  padding: 14px 16px;
  font: 800 16px/1.3 var(--font-body);
  text-transform: none;
  white-space: normal;
}
.confirm-actions .btn.danger {
  color: #24152f;
  background: #ff896a;
  border-color: #ff896a;
  box-shadow: 0 3px 0 #a34538;
}
.pile-slot {
  appearance: none;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  color: inherit;
}
.pile-slot:disabled {
  opacity: 1;
  cursor: default;
}
.pile-slot:focus-visible {
  outline: 3px solid #e4ff35;
  outline-offset: 4px;
  border-radius: 12px;
}
.pile-count {
  pointer-events: none;
}
@media (min-width: 1100px) and (min-height: 620px) {
  .hud-action {
    grid-template-columns: 50px 50px minmax(0, 1fr) 164px 188px;
    gap: 18px;
  }
  .hud-action .pile-slot {
    width: 164px;
    height: 94px;
  }
  .hud-action .action-main {
    width: 188px;
    min-height: 66px;
    font-size: 29px;
  }
  .hud-action .status-pill {
    max-width: calc(100% - 820px);
  }
  .pile-count {
    font-size: 24px;
    min-width: 38px;
    height: 36px;
    right: 0;
    top: 0;
  }
}
@media (min-width: 900px) and (max-width: 1099px) and (min-height: 620px) {
  .hud-action {
    grid-template-columns: 50px 50px minmax(0, 1fr) 136px 150px;
  }
  .hud-action .pile-slot {
    width: 136px;
    height: 76px;
  }
  .hud-action .status-pill {
    max-width: 230px;
  }
}
@media (max-width: 650px) and (orientation: portrait) {
  .hud-action .pile-slot {
    width: 88px;
  }
}
/* Keep long headings clear of the independently positioned back button. */
@media (max-width: 650px) and (orientation: portrait) {
  .experience-content > .panel-head h2 {
    font-size: 26px;
    min-width: 0;
    line-height: 1.08;
  }
}
@media (max-width: 650px) and (orientation: portrait) {
  #screens .cartoon-title > .logo {
    align-self: end;
    background: transparent;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 0;
  }
  #screens .cartoon-title .brand-logo {
    width: 105px;
    max-height: 92px;
  }
  #screens .cartoon-title .logo .l2 {
    font-size: 21px;
    max-width: 155px;
    line-height: 1.1;
  }
  #screens .cartoon-title .logo .l3 {
    display: none;
  }
  #screens .cartoon-title > .title-cast {
    inset: 0 0 auto;
    height: 27%;
  }
  .showcase-scene img {
    object-fit: contain;
    background: #24152f;
  }
}
.wizard-chips .wizard-option {
  transition: none;
}
.wizard-chips .wizard-option.on {
  color: #24152f;
}
@media (max-width: 650px) and (orientation: portrait) {
  #screens .cartoon-title .logo .l2 {
    background: #24152ff2;
    border-radius: 14px;
    padding: 8px 12px;
    text-shadow: none;
  }
}

/* Previews preserve every edge of the playable scene. */
.wizard-env-art {
  aspect-ratio: 16/9;
  background: #24152f;
}
.wizard-env-art img,
.category-scene img,
.showcase-scene img {
  object-fit: contain;
  background: #24152f;
}

/* End of game/assets/experience-fixes-AhyG7hmq.css */
