[data-feature-costumes=false] #gachaButton,
[data-feature-costumes=false] [data-mine-category=outfits],
[data-feature-costumes=false] [data-category=outfits],
[data-feature-costumes=false] .delivery-champion,
[data-feature-dailycheckin=false] #signinButton,
[data-feature-newcomersevendayrewards=false] #sevenDayButton,
[data-feature-offlinecashregister=false] #cashboxButton,
[data-feature-energysystem=false] #chapterEnergy,
[data-feature-energysystem=false] .chapter-energy-cost,
[data-feature-energysystem=false] #chapterResultEnergy,
[data-feature-decorations=false] #decorMineCategories {
  display: none !important;
}
[data-feature-costumes=false] #gachaButton,
[data-feature-costumes=false] [data-mine-category=outfits],
[data-feature-costumes=false] [data-category=outfits],
[data-feature-costumes=false] .delivery-champion,
[data-feature-dailycheckin=false] #signinButton,
[data-feature-newcomersevendayrewards=false] #sevenDayButton,
[data-feature-offlinecashregister=false] #cashboxButton,
[data-feature-energysystem=false] #chapterEnergy,
[data-feature-energysystem=false] .chapter-energy-cost,
[data-feature-energysystem=false] #chapterResultEnergy,
[data-feature-decorations=false] #decorMineCategories {
  display: none !important;
}
.beta-label {
  display: none;
}
.hall-music {
  position: absolute;
  top: calc(100% + 28px);
  right: 0;
  display: grid;
  align-items: center;
  justify-items: center;
  place-items: center;
  --xhs-width:20px;
  width: 20px;
  --xhs-height:20px;
  height: 20px;
  padding: 0;
  border: 1px solid var(--hud-stroke);
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 30% 15%,
      #fffef5,
      transparent 45%),
    linear-gradient(
      160deg,
      var(--hud-light),
      var(--hud-base));
  color: var(--hud-ink);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .6),
    inset 0 -2px 0 var(--hud-accent),
    0 2px 0 var(--hud-depth);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 1px #fff;
}
.hall-music:active {
  --xhs-transform:translateY(1px);
  transform: translateY(1px);
}
.hall-music-dialog {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  --xhs-width:var(--xhs-math-23);
  width: var(--xhs-math-23);
  width: min(310px, calc(100vw - 32px));
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  padding: 22px 18px;
  overflow: auto;
  color: var(--ink);
}
.hall-music-dialog::backdrop {
  background: rgba(56, 48, 68, .533);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.hall-music-dialog h2 {
  margin: 3px 0 0;
  font-size: 21px;
}
.hall-music-dialog .modal-head small {
  font-size: 10px;
  letter-spacing: .12em;
}
.hall-music-dialog .close-btn {
  flex: none;
}
.hall-music-panel {
  margin-top: 18px;
  padding: 12px;
  border: 2px solid #d2b9bd;
  border-radius: 16px;
  background: #fffaf2;
  box-shadow: inset 0 2px 3px rgba(230, 201, 180, .3);
  font-size: 12px;
}
.hall-music-panel label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  --xhs-row-gap:8px;
  --xhs-column-gap:8px;
  grid-gap: 8px;
  gap: 8px;
}
.hall-music-panel output {
  font-weight: 900;
  color: #68496b;
}
.hall-music-panel input[type=range] {
  display: block;
  --xhs-width:100%;
  width: 100%;
  --xhs-height:36px;
  height: 36px;
  margin: 6px 0;
  accent-color: #967bae;
}
.hall-music-mute {
  padding-top: 4px;
  border-top: 1px solid #e3d1da;
}
.hall-music-mute input {
  --xhs-width:18px;
  width: 18px;
  --xhs-height:18px;
  height: 18px;
  accent-color: #967bae;
}
#hallMusicStatus {
  margin: 13px 0 0;
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
  color: #806b7b;
}
#hallMusicPlay {
  display: block;
  margin: 12px auto 2px;
  font-size: 13px;
}
#hallMusicPlay[hidden] {
  display: none;
}
[data-build=beta] .beta-label {
  display: block;
  position: absolute;
  right: 12px;
  top: calc(66px + var(--safe-area-inset-top,0px));
  top: calc(66px + var(--safe-area-inset-top,env(safe-area-inset-top,0px)));
  z-index: 20;
  padding: 3px 7px;
  border-radius: 8px;
  background: #fff8ec;
  color: #765949;
  font-size: 10px;
  pointer-events: none;
}
[data-feature-costumes=false] #deliveryResultChampion {
  display: none !important;
}
[data-build=beta] .nav-row {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  align-items: flex-end;
  align-items: end;
  --xhs-row-gap:0;
  --xhs-column-gap:0;
  grid-gap: 0;
  gap: 0;
  --xhs-width:100%;
  width: 100%;
}
[data-build=beta] .nav-left {
  display: contents;
}
[data-build=beta] .nav-row #menuButton {
  grid-column: 1 / 3;
}
[data-build=beta] .nav-row #chapterButton {
  grid-column: 5 / 7;
}
[data-build=beta] .nav-row #deliveryButton {
  grid-column: 7 / 9;
}
[data-build=beta] .nav-row #upgradeButton {
  grid-column: 9 / 11;
}
[data-build=beta] .nav-row #menuButton,
[data-build=beta] .nav-row #chapterButton,
[data-build=beta] .nav-row #deliveryButton,
[data-build=beta] .nav-row #upgradeButton {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  inset: auto;
  grid-row: 1;
  justify-self: center;
  align-self: end;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  --xhs-width:100%;
  width: 100%;
  min-width: 0;
  max-width: 88px;
  --xhs-height:82px;
  height: 82px;
  margin: 0;
  padding: 0 0 3px;
}
[data-build=beta] .nav-row #deliveryButton img {
  position: static;
  --xhs-width:100%;
  width: 100%;
  --xhs-height:58px;
  height: 58px;
  object-fit: contain;
}
[data-build=beta] .nav-row #menuButton img,
[data-build=beta] .nav-row #upgradeButton img {
  --xhs-width:100%;
  width: 100%;
  --xhs-height:58px;
  height: 58px;
  object-fit: contain;
}
[data-build=beta] .nav-row #chapterButton img {
  --xhs-height:100%;
  height: 100%;
  --xhs-width:100%;
  width: 100%;
  object-fit: contain;
  object-position: center bottom;
}
[data-build=beta] .nav-row #deliveryButton span {
  position: static;
  white-space: nowrap;
  padding: 2px 3px;
  font-size: 11px;
  line-height: 16px;
}
[data-build=beta] .nav-row .illustrated-entry b {
  font-size: 12px;
  line-height: 16px;
  margin: 0;
  padding: 2px 5px;
}
[data-build=beta] #sceneWorld .scene-rug {
  top: 33%;
  --xhs-translate:-20% -15%;
  translate: -20% -15%;
  z-index: 10;
}
[data-build=beta] #staffTray {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  --xhs-width:100%;
  width: 100%;
  --xhs-height:100%;
  height: 100%;
  pointer-events: none;
}
[data-build=beta] #trayDishes {
  display: block;
}
[data-build=beta] .tray-dish {
  position: absolute;
  --xhs-width:calc((20% - 8px)/5);
  width: calc((20% - 8px)/5);
  --xhs-height:2.7%;
  height: 2.7%;
  min-height: 0;
  isolation: isolate;
  overflow: visible;
  filter: none;
  --xhs-transform:translate(-50%,-100%);
  transform: translate(-50%, -100%);
  pointer-events: none;
  visibility: hidden;
}
[data-build=beta] .tray-dish.contact-ready {
  visibility: visible;
}
[data-build=beta] .tray-dish > .drink-picture {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  line-height: 0;
}
[data-build=beta] .tray-dish:after {
  content: "";
  position: absolute;
  top: 0;
  right: 20%;
  bottom: 0;
  left: 20%;
  top: 0;
  right: 20%;
  bottom: 0;
  left: 20%;
  pointer-events: auto;
}
[data-build=beta] .tray-dish:before {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: -6.5%;
  --xhs-height:13%;
  height: 13%;
  border-radius: 50%;
  background: rgba(80, 64, 82, .44);
  filter: blur(1px);
  z-index: -1;
  pointer-events: none;
}
[data-build=beta] .tray-dish img {
  filter: drop-shadow(1px 0 #fff5d9) drop-shadow(-1px 0 #fff5d9) drop-shadow(0 -1px #fff5d9) drop-shadow(0 1px 1px #69516e80);
  pointer-events: none;
}
[data-build=beta] .tray-dish.selected {
  outline: 2px solid #658b67;
  outline-offset: 1px;
  background: rgba(243, 255, 227, .33);
}
[data-build=beta] #sceneWorld .scene-counter,
[data-build=beta] #sceneWorld .theme-prop-counter {
  z-index: 20 !important;
}
[data-build=beta] .chapter-bin-food {
  position: absolute;
  left: calc(var(--bin-x) / -.297);
  top: calc(var(--bin-y) / -.067);
  --xhs-width:336.700337%;
  width: 336.700337%;
  --xhs-height:1492.537313%;
  height: 1492.537313%;
  pointer-events: none;
  overflow: visible;
}
[data-build=beta] .chapter-bin.locked > .chapter-bin-food {
  display: none;
}
[data-build=beta] .chapter-bin.added > .chapter-bin-food {
  filter: brightness(.9);
}
[data-build=beta] .chapter-bin.brewing .chapter-bin-food image {
  animation: beta-pearl-simmer .4s ease-in-out infinite alternate;
}
@keyframes beta-pearl-simmer {
  to {
    filter: brightness(1.13);
    --xhs-transform:translateY(-4px);
    transform: translateY(-4px);
  }
}
[data-build=beta] #levelRewardsModal {
  inset: var(--xhs-local-70) 12px var(--xhs-local-71);
  top: var(--xhs-local-70);
  right: 12px;
  bottom: var(--xhs-local-71);
  left: 12px;
  inset: max(16px, var(--safe-area-inset-top,env(safe-area-inset-top,0px))) 12px max(20px, var(--safe-area-inset-bottom,env(safe-area-inset-bottom,0px)));
  padding: 22px 16px 14px;
  --xhs-row-gap:12px;
  --xhs-column-gap:12px;
  grid-gap: 12px;
  gap: 12px;
  border: 2px solid #d6b88a;
  border-image: none;
  border-radius: 28px;
  background:
    linear-gradient(
      155deg,
      #fffaf0 0%,
      #fff4dc 46%,
      #f3f2df 100%);
  box-shadow: 0 14px 48px rgba(57, 46, 54, .333), inset 0 0 0 5px #fffdf5;
  color: #584c37;
}
[data-build=beta] #levelRewardsModal:before,
[data-build=beta] #levelRewardsModal:after {
  display: none;
}
[data-build=beta] #levelRewardsModal .level-rewards-header {
  position: relative;
  display: block;
  min-height: 155px;
  padding: 8px 112px 0 2px;
  background: var(--xhs-image-287) right 28px/110px auto no-repeat;
}
[data-build=beta] #levelRewardPanda {
  display: none;
}
[data-build=beta] #levelRewardsModal .reward-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #7b8864;
  margin-bottom: 6px;
}
[data-build=beta] #levelRewardsModal h2 {
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: 1px;
  margin: 0 0 12px;
  color: #574530;
  white-space: nowrap;
}
[data-build=beta] #levelRewardLevel {
  display: inline-block;
  background: #e7ecd4;
  border: 1px solid #c7d1ac;
  border-radius: 9px;
  padding: 4px 9px;
  color: #536743;
  font-size: 14px;
}
[data-build=beta] #levelRewardXpText {
  font-size: 10px;
  color: #897b61;
  margin-top: 4px;
}
[data-build=beta] #levelRewardsModal .level-xp progress {
  --xhs-height:8px;
  height: 8px;
  margin: 9px 0 0;
  border: 0;
  background: #e6dcc6;
}
[data-build=beta] #levelRewardsModal .level-xp progress::-webkit-progress-bar {
  background: #e6dcc6;
  box-shadow: none;
}
[data-build=beta] #levelRewardsModal .level-xp progress::-webkit-progress-value {
  background:
    linear-gradient(
      90deg,
      #9daa71,
      #687c4e);
}
[data-build=beta] #levelRewardSummary {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #e4d6b9;
  border-radius: 12px;
  background: rgba(255, 253, 247, .667);
  font-size: 12px;
  color: #7c6744;
  text-align: center;
  flex: none;
}
[data-build=beta] #levelRewardTrack {
  padding: 2px 2px 12px;
  scrollbar-width: thin;
  scrollbar-color: #c8c9ab transparent;
  -webkit-mask-image:
    linear-gradient(
      transparent,
      #000 8px,
      #000 calc(100% - 10px),
      transparent);
  mask-image:
    linear-gradient(
      transparent,
      #000 8px,
      #000 calc(100% - 10px),
      transparent);
}
[data-build=beta] .level-reward-row {
  grid-template-columns: 46px minmax(0, 1fr);
  --xhs-row-gap:10px;
  --xhs-column-gap:10px;
  grid-gap: 10px;
  gap: 10px;
  min-height: 92px;
  padding: 6px 0;
}
[data-build=beta] .level-reward-row:before {
  left: 22px;
  --xhs-width:2px;
  width: 2px;
  background: #d7d8bf;
}
[data-build=beta] .level-node {
  border: 1px solid #d6d5bb;
  border-radius: 50%;
  padding: 12px 0;
  background: #f7f6e8;
  box-shadow: 0 2px 0 #ded8c2;
  color: #7b7960;
  font-size: 11px;
}
[data-build=beta] .level-reward-row.current .level-node {
  background: #778b5d;
  color: #fffdf0;
  border-color: #66794f;
  box-shadow: 0 0 0 4px #e2e7cc;
}
[data-build=beta] .level-reward-row.milestone:not(.current) .level-node {
  background: #f7e8bd;
  border-color: #ddc286;
}
[data-build=beta] .level-reward-card {
  min-height: 78px;
  padding: 12px 10px;
  border: 1px solid #dfd5ba;
  border-image: none;
  border-radius: 16px;
  background: #fffdf6;
  box-shadow: 0 3px 0 #e6dfcc;
  --xhs-row-gap:7px;
  --xhs-column-gap:7px;
  grid-gap: 7px;
  gap: 7px;
}
[data-build=beta] .level-reward-row.current .level-reward-card {
  border-color: #9eae7a;
  background: #faffec;
  box-shadow: 0 3px 0 #cfdab6;
}
[data-build=beta] .level-reward-row.milestone .level-reward-card {
  min-height: 90px;
  background:
    linear-gradient(
      120deg,
      #fff6d9,
      #fffdf3);
  border-color: #ddbd77;
}
[data-build=beta] .level-reward-row.claimed .level-reward-card,
[data-build=beta] .level-reward-row.locked .level-reward-card {
  filter: none;
}
[data-build=beta] .level-reward-row.claimed .level-reward-card {
  background: #f4f3e7;
  color: #82846a;
  box-shadow: none;
}
[data-build=beta] .level-reward-item img {
  --xhs-width:38px;
  width: 38px;
  --xhs-height:40px;
  height: 40px;
  filter: drop-shadow(0 2px 1px #ae946033);
}
[data-build=beta] .level-reward-item b {
  font-size: 21px;
  color: #6d5432;
  white-space: nowrap;
}
[data-build=beta] .level-reward-content > small {
  font-size: 10px;
  color: #8a7a5c;
  line-height: 1.5;
  margin-top: 4px;
}
[data-build=beta] .level-reward-card .buy-btn {
  min-width: 58px;
  min-height: 40px;
  padding: 7px 9px;
  border: 1px solid #657c4d;
  border-image: none;
  border-radius: 11px;
  background: linear-gradient(#91a774, #718b57);
  color: #fffef3;
  font-size: 12px;
  box-shadow: 0 3px 0 #536a3f;
  text-shadow: none;
}
[data-build=beta] .level-reward-card .buy-btn:disabled {
  opacity: 1;
  background: #efeee1;
  border-color: #dedcc7;
  color: #979582;
  box-shadow: none;
  font-size: 10px;
}
[data-build=beta] .level-reward-row.no-reward {
  min-height: 56px;
}
[data-build=beta] .level-reward-row.no-reward .level-reward-card {
  min-height: 44px;
  padding: 5px 10px;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
[data-build=beta] .level-reward-row.no-reward .buy-btn {
  background: transparent;
  border: 0;
  min-height: 30px;
}
[data-build=beta] #levelRewardsModal .level-rewards-footer {
  padding: 4px 0 2px;
  min-height: 0;
  --xhs-row-gap:0;
  --xhs-column-gap:0;
  grid-gap: 0;
  gap: 0;
}
[data-build=beta] #levelRewardsModal .level-rewards-footer .close-btn {
  position: absolute;
  right: 10px;
  top: 10px;
  --xhs-width:36px;
  width: 36px;
  --xhs-height:36px;
  height: 36px;
  min-height: 36px;
  padding: 0;
  border: 1px solid #daceb4;
  border-radius: 50%;
  background: #fffaf0;
  color: #8f7f63;
  box-shadow: none;
  font-size: 24px;
  z-index: 2;
}
[data-build=beta] #levelClaimAll {
  border: 1px solid #647e49;
  border-image: none;
  border-radius: 15px;
  background: linear-gradient(#93a977, #718b56);
  color: #fffdf1;
  box-shadow: 0 4px 0 #526a3d;
  min-height: 48px;
  font-size: 15px;
  text-shadow: none;
}
@media (max-height: 700px) {
  [data-build=beta] #levelRewardsModal {
    padding-top: 16px;
    --xhs-row-gap:8px;
    --xhs-column-gap:8px;
    grid-gap: 8px;
    gap: 8px;
  }
  [data-build=beta] #levelRewardsModal .level-rewards-header {
    min-height: 136px;
    background-size: 94px;
    padding-right: 102px;
  }
  [data-build=beta] .level-reward-row {
    min-height: 82px;
  }
}
@media (max-width: 360px) {
  [data-build=beta] #levelRewardsModal {
    top: 12px;
    right: 8px;
    bottom: 12px;
    left: 8px;
    top: 12px;
    right: 8px;
    bottom: 12px;
    left: 8px;
    padding-left: 12px;
    padding-right: 12px;
  }
  [data-build=beta] #levelRewardsModal h2 {
    font-size: 23px;
  }
  [data-build=beta] .level-reward-item b {
    font-size: 18px;
  }
}
[data-build=beta] #levelRewardSummary {
  border: 3px double #c6a674;
  border-radius: 18px 7px 18px 7px;
  background:
    linear-gradient(
      95deg,
      #f3e5bc,
      #fff7df 35%,
      #fff7df 65%,
      #f3e5bc);
  box-shadow: 0 3px 0 #dfd0ad, inset 0 0 0 3px #fff9e8;
  letter-spacing: .5px;
  font-weight: 700;
}
[data-build=beta] .level-reward-card {
  position: relative;
  border: 3px double #d3bc92;
  border-radius: 19px 10px 19px 10px;
  background:
    linear-gradient(
      115deg,
      #fffdf6,
      #fbf0d9);
  box-shadow: 0 4px 0 #e2d3b4, inset 0 0 0 3px #fffaf1;
}
[data-build=beta] .level-reward-row.milestone {
  padding-top: 18px;
}
[data-build=beta] .level-reward-row.milestone .level-reward-card {
  padding-top: 36px;
  min-height: 132px;
  border-color: #c6a266;
  background:
    radial-gradient(
      ellipse at 90% 0,
      #efd4a277,
      transparent 60%),
    linear-gradient(
      120deg,
      #fff4d6,
      #fffaf0);
  overflow: visible;
}
[data-build=beta] #levelRewardsModal .level-milestone {
  position: absolute;
  top: -12px;
  left: 50%;
  --xhs-transform:translateX(-50%);
  transform: translateX(-50%);
  white-space: nowrap;
  margin: 0;
  padding: 5px 13px;
  border: 1px solid #bb9557;
  border-radius: 5px 5px 12px 12px;
  background: linear-gradient(#f9e8b4, #e6c887);
  box-shadow: 0 2px 0 rgba(184, 142, 79, .267), inset 0 0 0 2px #fff1c8;
  color: #80582c;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
}
[data-build=beta] .reward-unlocks {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  --xhs-row-gap:5px;
  --xhs-column-gap:5px;
  grid-gap: 5px;
  gap: 5px;
  margin-top: 8px;
}
[data-build=beta] .reward-unlocks span {
  display: block;
  padding: 4px 7px;
  border: 1px solid #bbc6a0;
  border-radius: 4px 9px 9px 4px;
  background:
    linear-gradient(
      110deg,
      #edf0d9,
      #f8fae9);
  box-shadow: inset 3px 0 #8eaa70, 0 1px 0 rgba(198, 206, 177, .3);
  color: #607449;
  font-size: 10px;
  line-height: 1.45;
  overflow-wrap: break-word;
  overflow-wrap: anywhere;
}
[data-build=beta] .level-reward-row.claimed .level-reward-card {
  box-shadow: inset 0 0 0 3px #faf7e9;
  border-color: #d3ceb3;
}
[data-build=beta] .level-node {
  border: 3px double #c9b890;
  border-radius: 15px 15px 20px 20px;
  background: linear-gradient(#fff8e3, #ece7cc);
  box-shadow: 0 3px 0 rgba(203, 187, 149, .333);
}
[data-build=beta] #levelRewardsModal .level-rewards-header {
  min-height: 232px;
  padding: 0;
  display: block;
  background: none;
}
[data-build=beta] #levelRewardPanda {
  display: none;
}
[data-build=beta] .reward-celebration-art {
  position: absolute;
  left: 0;
  bottom: 0;
  --xhs-width:100%;
  width: 100%;
  --xhs-height:146px;
  height: 146px;
  object-fit: contain;
  pointer-events: none;
}
[data-build=beta] #levelRewardsModal h2 {
  margin-bottom: 8px;
}
[data-build=beta] #levelRewardsModal .level-xp {
  position: absolute;
  top: 48px;
  right: 0;
  --xhs-width:44%;
  width: 44%;
}
[data-build=beta] #levelRewardXpText {
  position: absolute;
  top: 64px;
  right: 0;
}
[data-build=beta] .level-reward-row.milestone .level-reward-card {
  padding-top: 22px;
  min-height: 112px;
}
@media (max-height: 700px) {
  [data-build=beta] #levelRewardsModal .level-rewards-header {
    min-height: 204px;
    padding: 0;
    background: none;
  }
  [data-build=beta] .reward-celebration-art {
    --xhs-height:120px;
    height: 120px;
  }
}
html[data-build=beta] #giftReveal {
  z-index: 200;
}
@media (prefers-reduced-motion: reduce) {
  html[data-build=beta] .gift-reveal-content,
  html[data-build=beta] .gift-reveal-glow {
    animation: none !important;
  }
}
html[data-build=beta] #chapterMilk > img {
  visibility: hidden;
}
html[data-build=beta] .chapter-scene .chapter-bin[data-ingredient="4"] {
  z-index: 4;
}
html[data-build=beta] .chapter-bin[data-ingredient="4"] .chapter-stock-flag {
  left: 50%;
  top: auto;
  bottom: calc(100% + 3px);
  --xhs-transform:translateX(-50%);
  transform: translateX(-50%);
  --xhs-width:max-content;
  width: max-content;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  white-space: normal;
  text-align: center;
  font-size: var(--xhs-math-24) !important;
  font-size: clamp(7px, 2vw, 10px) !important;
  line-height: 1.05;
  padding: 1px 3px;
  pointer-events: none;
}
html[data-build=beta] .chapter-bin[data-ingredient="4"] .chapter-stock-flag:after {
  display: none;
}
html[data-build=beta] .chapter-bin[data-ingredient="4"] .chapter-stock-flag.is-progress {
  --xhs-width:62%;
  width: 62%;
  --xhs-height:10px;
  height: 10px;
  padding: 2px;
}
html[data-build=beta] .cream-machine .chapter-progress {
  top: calc(100% - var(--xhs-local-72));
  top: calc(100% - min(100%, 110cqw));
  min-width: 14px;
  padding: 1px 2px;
  line-height: 11px;
  bottom: auto;
  left: 50%;
  --xhs-transform:translateX(-50%);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 8;
}
html[data-build=beta] .cream-machine-art {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  --xhs-width:100%;
  width: 100%;
  --xhs-height:100%;
  height: 100%;
  pointer-events: none;
}
html[data-build=beta] .cream-machine.locked .cream-machine-art {
  opacity: .45;
}
html[data-build=beta] .cream-whisk {
  transform-box: view-box;
  transform-origin: 50% 50%;
}
html[data-build=beta] .is-mixing .cream-whisk {
  animation: cream-whisk-spin .65s linear infinite;
}
@keyframes cream-whisk-spin {
  to {
    --xhs-transform:rotateY(360deg);
    transform: rotateY(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  html[data-build=beta] .is-mixing .cream-whisk {
    animation: none;
  }
}
html[data-build=beta] .chapter-scene .chapter-machine,
html[data-build=beta] .chapter-scene .cream-machine {
  --xhs-translate:0 var(--machine-rise,0px);
  translate: 0 var(--machine-rise,0px);
}
html[data-build=beta] .chapter-scene :is(.chapter-machine, .cream-machine) {
  --xhs-translate:0 var(--machine-rise,0px);
  translate: 0 var(--machine-rise,0px);
}
html[data-build=beta] .chapter-scene .chapter-machine .tea-machine-name,
html[data-build=beta] .chapter-scene .cream-machine .tea-machine-name {
  bottom: var(--machine-name-bottom);
  margin-bottom: 0;
}
html[data-build=beta] .chapter-scene :is(.chapter-machine, .cream-machine) .tea-machine-name {
  bottom: var(--machine-name-bottom);
  margin-bottom: 0;
}
html[data-build=beta] .chapter-scene .chapter-machine .chapter-progress,
html[data-build=beta] .chapter-scene .cream-machine .chapter-progress {
  top: auto;
  bottom: var(--machine-progress-bottom);
  left: 50%;
  --xhs-transform:translateX(-50%);
  transform: translateX(-50%);
  --xhs-width:62%;
  width: 62%;
  min-width: 0;
  box-sizing: border-box;
  padding: 2px;
  border-radius: 8px;
  font-size: var(--xhs-math-24) !important;
  font-size: clamp(7px, 2vw, 10px) !important;
  line-height: 11px;
  pointer-events: none;
  z-index: 8;
}
html[data-build=beta] .chapter-scene :is(.chapter-machine, .cream-machine) .chapter-progress {
  top: auto;
  bottom: var(--machine-progress-bottom);
  left: 50%;
  --xhs-transform:translateX(-50%);
  transform: translateX(-50%);
  --xhs-width:62%;
  width: 62%;
  min-width: 0;
  box-sizing: border-box;
  padding: 2px;
  border-radius: 8px;
  font-size: var(--xhs-math-24) !important;
  font-size: clamp(7px, 2vw, 10px) !important;
  line-height: 11px;
  pointer-events: none;
  z-index: 8;
}
html[data-build=beta] .chapter-scene .chapter-machine .chapter-progress.is-progress,
html[data-build=beta] .chapter-scene .cream-machine .chapter-progress.is-progress {
  --xhs-height:10px;
  height: 10px;
  background: #fff2d9;
  box-shadow: 0 2px 3px rgba(113, 83, 106, .2);
  overflow: hidden;
}
html[data-build=beta] .chapter-scene :is(.chapter-machine, .cream-machine) .chapter-progress.is-progress {
  --xhs-height:10px;
  height: 10px;
  background: #fff2d9;
  box-shadow: 0 2px 3px rgba(113, 83, 106, .2);
  overflow: hidden;
}
html[data-build=beta] .chapter-scene .chapter-machine .chapter-progress:after,
html[data-build=beta] .chapter-scene .cream-machine .chapter-progress:after {
  display: none;
}
html[data-build=beta] .chapter-scene :is(.chapter-machine, .cream-machine) .chapter-progress:after {
  display: none;
}
#deliveryModal {
  display: flex;
  overflow-y: auto;
  background:
    linear-gradient(
      155deg,
      #efe5f5,
      #fff0d5 60%,
      #e9e5cd);
  --xhs-row-gap:7px;
  --xhs-column-gap:7px;
  grid-gap: 7px;
  gap: 7px;
}
#deliveryModal > * {
  flex: none;
}
#deliveryModal .delivery-pages {
  display: flex;
  align-items: center;
  justify-content: space-between;
  --xhs-row-gap:10px;
  --xhs-column-gap:10px;
  grid-gap: 10px;
  gap: 10px;
  font-size: 14px;
}
#deliveryModal .delivery-pages button {
  --xhs-width:44px;
  width: 44px;
  min-height: 36px;
  border: 1px solid #b59aac;
  border-radius: 12px;
  background: #fff8ec;
  color: #775673;
  font-size: 24px;
}
#deliveryModal .delivery-pages button:disabled {
  opacity: .4;
}
#deliveryModal .delivery-route {
  flex: none;
  max-height: none;
  min-height: 0;
  overflow: visible;
  padding: 5px 7px;
}
#deliveryModal .delivery-leg {
  padding: 4px 3px 7px;
}
#deliveryModal .delivery-reward-node {
  min-height: 36px;
  margin-top: 6px;
  padding: 3px 7px;
}
#deliveryModal .delivery-reward-node img {
  --xhs-width:22px;
  width: 22px;
  --xhs-height:22px;
  height: 22px;
}
#deliveryModal .delivery-total {
  margin-top: 0;
  padding: 4px 10px;
}
#deliveryModal .delivery-preview {
  padding: 7px 10px 9px;
}
#deliveryModal .delivery-rules {
  margin: 0;
}
@media (max-height: 700px) {
  #deliveryModal {
    --xhs-row-gap:5px;
    --xhs-column-gap:5px;
    grid-gap: 5px;
    gap: 5px;
  }
}
#deliveryModal .delivery-total[hidden],
#deliveryModal #deliveryCost[hidden] {
  display: none !important;
}
#deliveryModal .delivery-portrait {
  position: relative;
  display: block;
  --xhs-width:100%;
  width: 100%;
  --xhs-height:var(--xhs-math-25);
  height: var(--xhs-math-25);
  height: clamp(124px, 24dvh, 192px);
  overflow: hidden;
  padding: 0;
  border: 2px solid #d6b77e;
  border-radius: 20px;
  background: #fff0d8;
  text-align: left;
  box-shadow: 0 3px 0 rgba(184, 153, 112, .4);
  cursor: pointer;
}
#deliveryModal .delivery-portrait > img {
  --xhs-width:100%;
  width: 100%;
  --xhs-height:100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
}
#deliveryModal .delivery-portrait > span {
  position: absolute;
  left: 12px;
  top: 16px;
  max-width: 43%;
  color: #6c4b31;
  text-shadow: 0 1px 3px #fff7dc, 0 0 10px #fff7dc;
}
#deliveryModal .delivery-portrait b {
  font-size: 20px;
  display: block;
}
#deliveryModal .delivery-portrait small {
  display: block;
  font-size: 11px;
  margin-top: 7px;
  line-height: 1.5;
}
#deliveryModal .delivery-portrait:after {
  content: "✦";
  position: absolute;
  right: 23%;
  top: 17%;
  color: #fff7c8;
  opacity: 0;
  font-size: 30px;
  pointer-events: none;
}
#deliveryModal .delivery-chances {
  display: flex;
  align-items: center;
  justify-content: space-between;
  --xhs-row-gap:6px;
  --xhs-column-gap:6px;
  grid-gap: 6px;
  gap: 6px;
  padding: 3px 5px;
}
#deliveryModal .delivery-chances small {
  font-size: 9px;
  color: #826e7e;
}
#deliveryModal #deliveryChances {
  font-size: 12px;
  white-space: nowrap;
}
#deliveryModal .delivery-sr {
  position: absolute;
  --xhs-width:1px;
  width: 1px;
  --xhs-height:1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
#deliveryModal #deliveryDetails {
  display: flex;
  justify-content: center;
  --xhs-row-gap:20px;
  --xhs-column-gap:20px;
  grid-gap: 20px;
  gap: 20px;
  margin: 0 0 5px;
  font-size: 13px;
}
#deliveryDetails > span {
  display: flex;
  align-items: center;
  --xhs-row-gap:5px;
  --xhs-column-gap:5px;
  grid-gap: 5px;
  gap: 5px;
}
#deliveryDetails img {
  --xhs-width:23px;
  width: 23px;
  --xhs-height:28px;
  height: 28px;
  object-fit: contain;
}
.delivery-clock {
  display: inline-block;
  position: relative;
  --xhs-width:18px;
  width: 18px;
  --xhs-height:18px;
  height: 18px;
  border: 2px solid #a88bac;
  border-radius: 50%;
  background: #fff8ec;
}
.delivery-clock:after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  --xhs-width:5px;
  width: 5px;
  --xhs-height:5px;
  height: 5px;
  border-left: 2px solid #886a91;
  border-bottom: 2px solid #886a91;
}
#deliveryModal .delivery-leg [data-delivery-level] {
  position: relative;
}
#deliveryModal .delivery-leg [data-delivery-level]:disabled {
  filter: grayscale(.75);
  opacity: .48;
  box-shadow: none;
}
#deliveryModal .delivery-leg [data-delivery-level][aria-current=step] {
  background: linear-gradient(#efffdc, #96c08a);
  border-color: #59836c;
  color: #254f3a;
  outline: 2px solid #679574;
  box-shadow: 0 3px 0 #588064;
}
.delivery-lock {
  display: block;
  --xhs-width:9px;
  width: 9px;
  --xhs-height:7px;
  height: 7px;
  border-radius: 2px;
  background: #8d7b89;
  margin: 2px auto 0;
  position: relative;
}
.delivery-lock:before {
  content: "";
  position: absolute;
  --xhs-width:5px;
  width: 5px;
  --xhs-height:5px;
  height: 5px;
  border: 1px solid #8d7b89;
  border-radius: 5px;
  left: 2px;
  top: -4px;
}
#deliveryModal .delivery-reward-node {
  min-height: 30px;
}
#deliveryModal .delivery-reward-node:not(:disabled) {
  border: 2px solid #81a66b;
  background: #f1f8df;
}
#deliveryModal .delivery-reward-node:disabled {
  opacity: .65;
}
#deliveryModal .visual-rules {
  margin: 0;
  font-size: 11px;
}
#deliveryModal .visual-rules summary {
  min-height: 28px;
  line-height: 28px;
  text-align: center;
}
.toast-reward-icon {
  display: inline-block;
  --xhs-width:25px;
  width: 25px;
  --xhs-height:25px;
  height: 25px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 7px;
}
#cashboxBadge img {
  --xhs-width:16px;
  width: 16px;
  --xhs-height:16px;
  height: 16px;
  vertical-align: middle;
}
@media (max-height: 620px) {
  #deliveryModal .delivery-portrait {
    --xhs-height:116px;
    height: 116px;
  }
  #deliveryModal .delivery-portrait b {
    font-size: 17px;
  }
  #deliveryModal .delivery-leg {
    padding: 3px 2px 5px;
  }
  #deliveryModal .delivery-leg [data-delivery-level] {
    min-height: 40px;
  }
  #deliveryModal .delivery-preview {
    position: sticky;
    bottom: 0;
    z-index: 2;
    background: #fff7e6;
    box-shadow: 0 -4px 12px rgba(185, 158, 121, .2);
  }
}
@media (prefers-reduced-motion: reduce) {
  #deliveryModal .delivery-portrait *,
  #deliveryModal .delivery-portrait:after {
    animation: none !important;
  }
  #deliveryModal .delivery-portrait *,
  #deliveryModal .delivery-portrait:after {
    animation: none !important;
  }
}
#deliveryModal {
  isolation: isolate;
  background: #f4e3cc;
  --xhs-row-gap:8px;
  --xhs-column-gap:8px;
  grid-gap: 8px;
  gap: 8px;
  color: #654d39;
}
#deliveryModal > .delivery-scene-art {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  --xhs-width:100%;
  width: 100%;
  --xhs-height:100%;
  height: 100%;
  object-fit: fill;
  z-index: -1;
  pointer-events: none;
}
#deliveryModal .modal-head h2 {
  margin: 0;
  min-width: 0;
  line-height: 0;
}
#deliveryModal .delivery-title-art {
  display: block;
  --xhs-width:var(--xhs-math-26);
  width: var(--xhs-math-26);
  width: clamp(190px, 57vw, 244px);
  max-width: 100%;
  --xhs-height:64px;
  height: 64px;
  object-fit: contain;
  object-position: left center;
}
#deliveryModal .delivery-portrait {
  --xhs-height:var(--xhs-math-27);
  height: var(--xhs-math-27);
  height: clamp(135px, 24dvh, 230px);
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  overflow: visible;
}
#deliveryModal .delivery-portrait > span {
  left: 4px;
  top: 22%;
  max-width: 48%;
}
#deliveryModal .delivery-portrait small {
  --xhs-width:fit-content;
  width: fit-content;
  padding: 4px 8px;
  border-radius: 12px;
  background: rgba(255, 249, 233, .81);
  border: 1px solid #dac49a;
}
#deliveryModal .delivery-portrait:after {
  right: 23%;
  top: 24%;
}
#deliveryModal .delivery-chances {
  padding: 5px 8px;
  border: 0;
  background:
    linear-gradient(
      90deg,
      transparent,
      #fff9e9d9 15%,
      #fff9e9d9 85%,
      transparent);
}
#deliveryModal .delivery-chances small {
  color: #77604b;
}
#deliveryModal .delivery-pages {
  padding: 0 8px;
  text-shadow: 0 1px 3px #fff9e7;
}
#deliveryModal .delivery-pages b {
  padding: 5px 18px;
  border: 1px solid #78678b;
  border-radius: 12px;
  background: rgba(244, 238, 249, .95);
  color: #493553;
  text-shadow: none;
}
#deliveryModal .delivery-pages button {
  min-height: 40px;
  border: 2px solid #c8a56e;
  border-radius: 50%;
  background: linear-gradient(#fff9df, #e8cea1);
  box-shadow: inset 0 1px #fff, 0 2px 0 #b18e5c;
  color: #79582f;
}
#deliveryModal .delivery-route {
  background: none;
  box-shadow: none;
  border: 0;
  border-radius: 0;
  padding: 4px 6px;
}
#deliveryModal .delivery-leg {
  padding: 6px 3px 10px;
}
#deliveryModal .delivery-leg > div {
  position: relative;
  --xhs-row-gap:9px;
  --xhs-column-gap:9px;
  grid-gap: 9px;
  gap: 9px;
}
#deliveryModal .delivery-leg > div:before {
  content: "";
  position: absolute;
  left: 5%;
  right: 5%;
  top: 50%;
  --xhs-height:2px;
  height: 2px;
  background: rgba(184, 152, 96, .44);
  z-index: -1;
}
#deliveryModal .delivery-leg [data-delivery-level] {
  min-height: 46px;
  border: 3px double #bd965c;
  border-radius: 50%;
  background:
    radial-gradient(
      ellipse at 35% 20%,
      #fffbea,
      #e4c28d);
  box-shadow:
    inset 0 1px 3px #fff,
    0 3px 0 #ac895d,
    0 5px 7px rgba(133, 105, 71, .22);
  color: #75512b;
}
#deliveryModal .delivery-leg [data-delivery-level]:disabled {
  opacity: 1;
  color: #646276;
  border-color: #858295;
  background: linear-gradient(#f4f2f8, #d0cedb);
  filter: none;
  box-shadow: 0 2px 0 #777487;
}
#deliveryModal .delivery-leg [data-delivery-level].passed {
  color: #28584d;
  border-color: #507d70;
  background: linear-gradient(#f6fff9, #bfdbd0);
  box-shadow: inset 0 2px #fff, 0 3px 0 #597d71;
}
#deliveryModal .delivery-leg [data-delivery-level][aria-current=step] {
  color: #fff;
  border-color: #fff8e4;
  background: linear-gradient(#716596, #45375f);
  outline: 2px solid #49395d;
  box-shadow: 0 3px 0 #332541;
  filter: none;
  text-shadow: 0 1px #332541;
}
#deliveryModal .delivery-clear-mark {
  position: absolute;
  --xhs-width:26px;
  width: 26px;
  --xhs-height:26px;
  height: 26px;
  right: -3px;
  bottom: -8px;
  overflow: visible;
  filter: drop-shadow(0 2px 1px #254e4933);
  pointer-events: none;
}
#deliveryModal .delivery-clear-mark path {
  fill: none;
  stroke: #1f9b4d;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  paint-order: stroke;
  filter: drop-shadow(1px 0 #fff) drop-shadow(-1px 0 #fff) drop-shadow(0 1px #fff) drop-shadow(0 -1px #fff);
}
#deliveryModal .delivery-reward-node {
  --xhs-width:fit-content;
  width: fit-content;
  min-width: 64%;
  margin: 8px auto 0;
  border-radius: 4px 4px 14px 14px;
  border: 1px solid #c9ac77;
  background:
    linear-gradient(
      90deg,
      #ead8b3,
      #fff8e7 40%,
      #eddbb7);
  box-shadow: 0 2px 3px rgba(153, 127, 87, .2);
}
#deliveryModal .delivery-reward-node:disabled {
  opacity: 1;
  color: #574763;
  background: linear-gradient(#fffdf5, #eee5f1);
  border-color: #9b89a5;
}
#deliveryModal .delivery-reward-node b {
  background: #b79b67;
  color: #fffdf4;
}
#deliveryModal .delivery-preview {
  position: static;
  padding: 4px 10px 6px;
  background: none;
  box-shadow: none;
  border: 0;
  margin-top: auto;
}
#deliveryModal #deliveryDetails {
  --xhs-width:fit-content;
  width: fit-content;
  margin: 0 auto 8px;
  padding: 3px 16px;
  border-radius: 20px;
  background: rgba(255, 249, 232, .8);
  color: #6b543b;
}
#deliveryModal #deliveryBegin {
  min-height: 52px;
  border: 3px double #a67e40;
  border-radius: 26px 26px 18px 18px;
  background: linear-gradient(#fff0bc, #dfb569);
  box-shadow:
    inset 0 2px 2px #fffbe0,
    0 4px 0 #987340,
    0 7px 10px rgba(134, 105, 71, .25);
  font-size: 16px;
  letter-spacing: 1px;
}
#deliveryModal .visual-rules {
  color: #735b42;
  text-shadow: 0 1px 3px #fff9e7;
}
#deliveryModal .visual-rules[open] {
  background: rgba(255, 249, 233, .933);
  border-radius: 12px;
  padding: 0 10px 8px;
}
@media (max-height: 620px) {
  #deliveryModal {
    --xhs-row-gap:4px;
    --xhs-column-gap:4px;
    grid-gap: 4px;
    gap: 4px;
  }
  #deliveryModal .delivery-portrait {
    --xhs-height:105px;
    height: 105px;
  }
  #deliveryModal .delivery-leg {
    padding: 4px 2px 7px;
  }
  #deliveryModal .delivery-leg [data-delivery-level] {
    min-height: 44px;
  }
  #deliveryModal .delivery-preview {
    margin-top: 0;
  }
}
#deliveryModal .champion-title-art {
  display: block;
  --xhs-width:var(--xhs-math-28);
  width: var(--xhs-math-28);
  width: clamp(124px, 39vw, 168px);
  --xhs-height:auto;
  height: auto;
  max-width: 100%;
  filter: drop-shadow(0 1px 2px #fff5df);
}
#deliveryModal .delivery-portrait:after {
  display: none;
}
#deliveryModal .champion-actor {
  position: absolute;
  right: -4px;
  bottom: 0;
  --xhs-width:54%;
  width: 54%;
  --xhs-height:calc(100% + 36px);
  height: calc(100% + 36px);
  max-height: 250px;
  display: block;
  pointer-events: none;
  font-style: normal;
  transform-origin: 50% 72%;
}
#deliveryModal .champion-sprite {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  background: url(assets/ui/event-art/dawn-champion-frames-v1.webp) 0 0/400% 200% no-repeat;
}
#deliveryModal .champion-stars {
  position: absolute;
  right: 1%;
  top: 7%;
  --xhs-width:36%;
  width: 36%;
  --xhs-height:35%;
  height: 35%;
  display: block;
  opacity: 0;
  font-size: 28px;
  color: #fff9c4;
  text-shadow: 0 0 4px #c78a18, 0 0 12px #fff0a1;
  box-shadow: 0 0 18px 8px rgba(255, 242, 181, .69);
  border: 2px solid #fff3b6;
  border-radius: 50%;
  font-style: normal;
  text-align: center;
  pointer-events: none;
}
#deliveryModal .champion-stars i {
  position: absolute;
  left: -12px;
  top: 30%;
  font-size: 19px;
  font-style: normal;
}
#deliveryModal .champion-stars b {
  position: absolute;
  right: -6px;
  bottom: -8px;
  font-size: 22px;
}
#deliveryModal .delivery-leg [data-delivery-level] {
  border-radius: 5px 10px 4px 4px;
  min-height: 46px;
  padding: 3px 4px 15px;
  text-align: right;
  border-width: 2px;
}
#deliveryModal .delivery-ticket-number {
  font-weight: 900;
  font-size: 15px;
  position: relative;
  z-index: 1;
}
#deliveryModal .delivery-ticket-cup {
  position: absolute;
  left: 3px;
  top: 3px;
  --xhs-width:18px;
  width: 18px;
  --xhs-height:24px;
  height: 24px;
  object-fit: contain;
  filter: drop-shadow(0 1px 1px #59483540);
  pointer-events: none;
}
#deliveryModal .delivery-leg [data-delivery-level]:before {
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  bottom: 11px;
  border-top: 1px dashed currentColor;
  opacity: .35;
}
#deliveryModal .delivery-leg [data-delivery-level]:after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  --xhs-width:7px;
  width: 7px;
  --xhs-height:7px;
  height: 7px;
  background: rgba(255, 255, 255, .667);
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}
#deliveryModal .delivery-leg [data-delivery-level]:disabled .delivery-ticket-cup {
  filter: grayscale(1);
  opacity: .6;
}
#deliveryModal .delivery-clear-mark {
  --xhs-width:18px;
  width: 18px;
  --xhs-height:18px;
  height: 18px;
  bottom: -2px;
  right: calc(50% - 9px);
}
#deliveryModal .delivery-leg .delivery-lock {
  position: absolute;
  left: calc(50% - 4px);
  bottom: 3px;
  margin: 0;
  --xhs-width:8px;
  width: 8px;
  --xhs-height:6px;
  height: 6px;
}
#deliveryModal .delivery-leg [data-delivery-level] small {
  position: absolute;
  bottom: 0;
  left: 0;
  --xhs-width:100%;
  width: 100%;
  font-size: 7px;
  line-height: 10px;
  text-align: center;
}
#deliveryModal .delivery-pages {
  position: relative;
  padding-top: 34px;
}
#deliveryModal .delivery-chances {
  position: absolute;
  right: 8px;
  top: 0;
  --xhs-row-gap:5px;
  --xhs-column-gap:5px;
  grid-gap: 5px;
  gap: 5px;
  padding: 3px 9px 3px 6px;
  background: #fffaf0;
  border: 1px solid #78638a;
  border-radius: 12px;
  color: #48364e;
  box-shadow: 0 2px 4px rgba(81, 55, 74, .133);
  text-shadow: none;
}
#deliveryModal .delivery-chances img {
  --xhs-width:18px;
  width: 18px;
  --xhs-height:24px;
  height: 24px;
  object-fit: contain;
}
#deliveryModal #deliveryChances {
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
#deliveryModal .delivery-portrait[data-inviting] .champion-sprite {
  transform-origin: 50% 72%;
  animation: champion-invite 6.8s ease-in-out infinite;
}
@keyframes champion-invite {
  0%, 58%, 100% {
    --xhs-transform:translateY(0) rotate(0);
    transform: translateY(0) rotate(0);
  }
  72% {
    --xhs-transform:translateY(-1.5px) rotate(-.45deg);
    transform: translateY(-1.5px) rotate(-.45deg);
  }
  86% {
    --xhs-transform:translateY(0) rotate(.15deg);
    transform: translateY(0) rotate(.15deg);
  }
}
#deliveryModal .delivery-portrait:focus {
  outline: 2px solid #614969;
  outline-offset: 3px;
}
#deliveryModal .delivery-portrait:focus-visible {
  outline: 2px solid #614969;
  outline-offset: 3px;
}
#deliveryModal .delivery-leg > div {
  --xhs-row-gap:7px;
  --xhs-column-gap:7px;
  grid-gap: 7px;
  gap: 7px;
}
#deliveryModal .delivery-leg > div:before {
  display: none;
}
#deliveryModal .delivery-leg [data-delivery-level],
#deliveryModal .delivery-leg [data-delivery-level]:disabled,
#deliveryModal .delivery-leg [data-delivery-level].passed,
#deliveryModal .delivery-leg [data-delivery-level][aria-current=step] {
  --xhs-height:var(--order-ticket-height,76px);
  height: var(--order-ticket-height,76px);
  min-height: var(--order-ticket-height,76px);
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: var(--xhs-image-254) center/100% 100% no-repeat;
  box-shadow: none;
  outline: none;
  text-align: center;
  color: #345648;
  text-shadow: none;
  filter: drop-shadow(0 2px 2px #46362d33);
  opacity: 1;
}
#deliveryModal .delivery-leg [data-delivery-level]:before,
#deliveryModal .delivery-leg [data-delivery-level]:after {
  display: none;
}
#deliveryModal .delivery-ticket-number {
  position: absolute;
  left: 50%;
  top: 18%;
  --xhs-transform:translateX(-50%);
  transform: translateX(-50%);
  --xhs-width:34px;
  width: 34px;
  --xhs-height:28px;
  height: 28px;
  line-height: 28px;
  font-size: 24px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}
#deliveryModal .delivery-leg [data-delivery-level]:disabled {
  filter: grayscale(.8) drop-shadow(0 2px 2px #46362d22);
  color: #5e5961;
}
#deliveryModal .delivery-leg [data-delivery-level][aria-current=step] .delivery-ticket-number {
  background: #624667;
  color: #fff9ec;
  border-radius: 50%;
  font-size: 22px;
}
#deliveryModal .delivery-leg [data-delivery-level][aria-current=step] {
  filter: drop-shadow(0 3px 2px #52375e66);
  --xhs-transform:translateY(-2px);
  transform: translateY(-2px);
}
#deliveryModal .delivery-leg [data-delivery-level]:focus {
  outline: 2px solid #624667;
  outline-offset: 2px;
}
#deliveryModal .delivery-leg [data-delivery-level]:focus-visible {
  outline: 2px solid #624667;
  outline-offset: 2px;
}
#deliveryModal .delivery-leg [data-delivery-level] small {
  bottom: 12%;
  font-size: 10px;
  line-height: 12px;
  font-weight: 900;
  color: #653f56;
}
#deliveryModal .delivery-clear-mark {
  --xhs-width:15px;
  width: 15px;
  --xhs-height:15px;
  height: 15px;
  right: 5px;
  top: 6px;
  bottom: auto;
  --xhs-transform:rotate(-10deg);
  transform: rotate(-10deg);
}
#deliveryModal .delivery-clear-mark path {
  stroke: #38664e;
  stroke-width: 5;
  filter: drop-shadow(0 1px #fff9ec);
}
#deliveryModal .delivery-leg .delivery-lock {
  left: auto;
  right: 7px;
  top: 11px;
  bottom: auto;
  background: #6d6370;
}
#deliveryModal .delivery-leg .delivery-lock:before {
  border-color: #6d6370;
}
#deliveryModal .delivery-leg [data-delivery-level]:not(.boss) .delivery-clear-mark {
  top: auto;
  bottom: 12%;
  right: calc(50% - 7.5px);
}
#deliveryModal .delivery-leg [data-delivery-level]:not(.boss) .delivery-lock {
  top: auto;
  bottom: 18%;
  right: calc(50% - 4px);
}
@media (max-height: 740px) {
  #deliveryModal {
    --order-ticket-height:62px;
  }
  #deliveryModal .delivery-portrait {
    --xhs-height:22vh;
    height: 22vh;
    height: 22dvh;
  }
  #deliveryModal .delivery-leg {
    padding: 4px 3px 6px;
  }
  #deliveryModal .delivery-reward-node {
    margin-top: 5px;
  }
}
@media (max-height: 620px) {
  #deliveryModal {
    --order-ticket-height:54px;
    --xhs-row-gap:3px;
    --xhs-column-gap:3px;
    grid-gap: 3px;
    gap: 3px;
  }
  #deliveryModal .delivery-portrait {
    --xhs-height:85px;
    height: 85px;
  }
  #deliveryModal .delivery-leg {
    padding: 3px 2px 4px;
  }
  #deliveryModal .delivery-reward-node {
    margin-top: 4px;
  }
  #deliveryModal .delivery-ticket-number {
    top: 17%;
    --xhs-height:26px;
    height: 26px;
    line-height: 26px;
    font-size: 22px;
  }
  #deliveryModal .delivery-leg [data-delivery-level][aria-current=step] .delivery-ticket-number {
    --xhs-width:28px;
    width: 28px;
    font-size: 20px;
  }
  #deliveryModal .delivery-pages {
    padding-top: 32px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #deliveryModal .delivery-portrait[data-inviting] .champion-sprite {
    animation: none;
  }
}
#deliveryModal .delivery-pages b {
  padding: 5px 12px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: #47334d;
  font-size: 15px;
  font-weight: 900;
  text-shadow:
    0 1px 0 #fff9e9,
    -1px 0 #fff9e9,
    1px 0 #fff9e9,
    0 0 5px #fff9e9;
}
#deliveryModal .delivery-pages b:before,
#deliveryModal .delivery-pages b:after {
  content: "";
  display: inline-block;
  --xhs-width:16px;
  width: 16px;
  --xhs-height:5px;
  height: 5px;
  margin: 0 7px 2px;
  border-top: 1px solid #786248;
  border-bottom: 1px solid #786248;
  --xhs-transform:skewX(-25deg);
  transform: skewX(-25deg);
}
#deliveryModal .delivery-chances {
  padding: 3px 0;
  --xhs-row-gap:5px;
  --xhs-column-gap:5px;
  grid-gap: 5px;
  gap: 5px;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: #47334d;
  text-shadow:
    0 1px 0 #fff9e9,
    -1px 0 #fff9e9,
    1px 0 #fff9e9,
    0 0 5px #fff9e9;
}
#deliveryModal .delivery-leg [data-delivery-level],
#deliveryModal .delivery-leg [data-delivery-level]:disabled,
#deliveryModal .delivery-leg [data-delivery-level].passed,
#deliveryModal .delivery-leg [data-delivery-level][aria-current=step] {
  background: none;
}
#deliveryModal .ticket-paper,
#deliveryModal .ticket-stub {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: var(--xhs-image-254) center/100% 100% no-repeat;
  pointer-events: none;
}
#deliveryModal .ticket-stub {
  display: none;
  clip-path: inset(75% 0 0);
  transform-origin: 95% 75%;
}
#deliveryModal .passed .ticket-paper {
  clip-path: polygon(0 0, 100% 0, 100% 75%, 95% 73%, 90% 76%, 85% 74%, 80% 76%, 75% 73%, 70% 75%, 65% 73%, 60% 76%, 55% 74%, 50% 76%, 45% 73%, 40% 75%, 35% 73%, 30% 76%, 25% 74%, 20% 76%, 15% 73%, 10% 75%, 5% 73%, 0 76%);
}
#deliveryModal .ticket-tearing .ticket-stub {
  display: block;
  animation: order-stub-tear .72s cubic-bezier(.3, 0, .35, 1) both;
  z-index: 2;
}
@keyframes order-stub-tear {
  0% {
    --xhs-transform:translate(0,0) rotate(0);
    transform: translate(0, 0) rotate(0);
    opacity: 1;
  }
  25% {
    --xhs-transform:translate(0,2px) rotate(-5deg);
    transform: translate(0, 2px) rotate(-5deg);
    opacity: 1;
  }
  65% {
    --xhs-transform:translate(7px,14px) rotate(12deg);
    transform: translate(7px, 14px) rotate(12deg);
    opacity: 1;
  }
  100% {
    --xhs-transform:translate(18px,28px) rotate(22deg);
    transform: translate(18px, 28px) rotate(22deg);
    opacity: 0;
  }
}
#deliveryModal .passed.boss small {
  bottom: 6%;
  text-shadow:
    0 1px #fff9e9,
    -1px 0 #fff9e9,
    1px 0 #fff9e9;
}
@media (prefers-reduced-motion: reduce) {
  #deliveryModal .ticket-tearing .ticket-stub {
    display: none;
    animation: none;
  }
}
.business-entry {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10000;
  display: grid;
  align-items: center;
  justify-items: center;
  place-items: center;
  background: #f6e7d6;
  pointer-events: auto;
}
.business-entry img {
  --xhs-width:var(--xhs-math-29);
  width: var(--xhs-math-29);
  width: min(46vw, 210px);
  --xhs-height:auto;
  height: auto;
  filter: drop-shadow(0 8px 12px #71513b24);
}
#levelNotice.material-notice {
  inset: var(--xhs-local-73) 12px auto;
  top: var(--xhs-local-73);
  right: 12px;
  bottom: auto;
  left: 12px;
  inset: max(64px, var(--safe-area-inset-top,env(safe-area-inset-top,0px))) 12px auto;
  z-index: 110;
  padding: 0;
  background: none;
  pointer-events: none;
  max-height: 40%;
  overflow: auto;
}
#levelNotice.material-notice > div {
  pointer-events: auto;
  padding: 12px 18px;
  box-shadow: 0 3px 10px rgba(57, 45, 66, .19);
  border-image: none;
  background: #fff4dc;
  border: 2px solid #b48b75;
  border-radius: 12px;
}
#levelNotice.material-notice h2 {
  font-size: 15px;
  margin: 0 0 4px;
}
#levelNotice.material-notice p {
  font-size: 11px;
  margin: 4px;
}
#levelNotice.material-notice button {
  font-size: 11px;
  padding: 4px 16px;
}
#levelNotice.material-notice .level-unlock-gallery {
  display: flex;
  justify-content: center;
  --xhs-row-gap:6px;
  --xhs-column-gap:6px;
  grid-gap: 6px;
  gap: 6px;
}
#levelNotice.material-notice figure {
  margin: 0;
  font-size: 11px;
}
#levelNotice.material-notice figure img {
  --xhs-width:30px;
  width: 30px;
  --xhs-height:30px;
  height: 30px;
  object-fit: contain;
}
#phone.xhs-has-5 #levelNotice.material-notice {
  display: none;
}
#phone:has(#chapterModal.is-playing:not(.is-business-report):not(.hidden)) #levelNotice.material-notice {
  display: none;
}
#phone.xhs-has-6 #levelNotice.material-notice,
#phone.xhs-has-7 #levelNotice.material-notice {
  display: none;
}
#phone:has(.modal:not(.hidden):not(#chapterModal)) #levelNotice.material-notice,
#phone:has(#chapterModal.is-business-prepare:not(.hidden)) #levelNotice.material-notice {
  display: none;
}
#deliveryModal {
  padding: calc(8px + var(--safe-area-inset-top,0px)) 14px calc(8px + var(--safe-area-inset-bottom,0px));
  padding: calc(8px + var(--safe-area-inset-top,env(safe-area-inset-top,0px))) 14px calc(8px + var(--safe-area-inset-bottom,env(safe-area-inset-bottom,0px)));
  --xhs-row-gap:4px;
  --xhs-column-gap:4px;
  grid-gap: 4px;
  gap: 4px;
  --order-ticket-height:60px;
}
#deliveryModal .delivery-title-art {
  --xhs-height:52px;
  height: 52px;
}
#deliveryModal .delivery-portrait {
  --xhs-height:var(--xhs-math-30);
  height: var(--xhs-math-30);
  height: clamp(52px, calc(100dvh - 525px), 170px);
}
#deliveryModal .delivery-pages {
  padding-top: 30px;
}
#deliveryModal .delivery-leg {
  padding: 3px 3px 6px;
}
#deliveryModal .delivery-reward-node {
  margin-top: 4px;
  min-height: 30px;
  padding: 3px 7px;
}
#deliveryModal .delivery-preview {
  margin-top: 0;
  padding: 2px 8px 4px;
}
#deliveryModal #deliveryDetails {
  margin-bottom: 4px;
}
#deliveryModal #deliveryBegin {
  min-height: 48px;
}
.delivery-rules-button {
  align-self: center;
  min-height: 36px;
  padding: 5px 16px;
  border: 0;
  background: none;
  color: #614b3d;
  font: inherit;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.delivery-rules-dialog {
  --xhs-width:var(--xhs-math-31);
  width: var(--xhs-math-31);
  width: min(370px, calc(100vw - 32px));
  max-height: var(--xhs-math-32);
  max-height: min(540px, calc(100dvh - 48px));
  margin: auto;
  padding: 26px 23px;
  color: #604654;
}
.delivery-rules-dialog[open] {
  display: flex;
  flex-direction: column;
  --xhs-row-gap:14px;
  --xhs-column-gap:14px;
  grid-gap: 14px;
  gap: 14px;
}
.delivery-rules-dialog::backdrop {
  background: rgba(48, 38, 57, .6);
}
.delivery-rules-dialog h2 {
  margin: 0;
  text-align: center;
  font-size: 21px;
}
.delivery-rules-copy {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #b59aaa #fff1da;
  font-size: 14px;
  line-height: 1.8;
}
.delivery-rules-copy p {
  margin: 0 0 14px;
}
.delivery-rules-copy #deliveryCost {
  font-weight: 700;
  color: #624b70;
}
.delivery-rules-dialog > .game-action {
  flex: none;
  --xhs-width:100%;
  width: 100%;
  min-height: 44px;
}
.delivery-rules-dialog :focus,
.delivery-rules-button:focus {
  outline: 2px solid #745276;
  outline-offset: 3px;
}
.delivery-rules-dialog :focus-visible,
.delivery-rules-button:focus-visible {
  outline: 2px solid #745276;
  outline-offset: 3px;
}
@media (max-height: 620px) {
  #deliveryModal {
    --order-ticket-height:52px;
    --xhs-row-gap:3px;
    --xhs-column-gap:3px;
    grid-gap: 3px;
    gap: 3px;
  }
  #deliveryModal .delivery-title-art {
    --xhs-height:46px;
    height: 46px;
  }
  #deliveryModal .delivery-portrait {
    --xhs-height:52px;
    height: 52px;
  }
  #deliveryModal .champion-actor {
    --xhs-height:92px;
    height: 92px;
    --xhs-width:40%;
    width: 40%;
    right: 10px;
  }
  #deliveryModal .champion-title-art {
    --xhs-width:132px;
    width: 132px;
  }
  #deliveryModal .delivery-portrait > span {
    top: 2%;
    left: 4px;
  }
  #deliveryModal .delivery-pages {
    padding-top: 28px;
  }
}
@media (orientation: landscape) and (max-height: 500px) {
  #deliveryModal {
    display: grid;
    grid-template-columns: 36% minmax(0, 1fr);
    grid-template-rows: 44px 56px 1fr 48px;
    --xhs-row-gap:3px;
    --xhs-column-gap:12px;
    grid-gap: 3px 12px;
    gap: 3px 12px;
  }
  #deliveryModal .modal-head {
    grid-column: 1/-1;
    grid-row: 1;
  }
  #deliveryModal .delivery-portrait {
    grid-column: 1;
    grid-row: 2/4;
    --xhs-height:100%;
    height: 100%;
  }
  #deliveryModal .champion-actor {
    --xhs-height:160px;
    height: 160px;
    --xhs-width:90%;
    width: 90%;
    right: 0;
  }
  #deliveryModal .delivery-portrait > span {
    top: 0;
  }
  #deliveryModal .delivery-pages {
    grid-column: 2;
    grid-row: 2;
    padding-top: 20px;
  }
  #deliveryModal .delivery-route {
    grid-column: 2;
    grid-row: 3;
    padding: 0;
  }
  #deliveryModal .delivery-preview {
    grid-column: 1;
    grid-row: 4;
    align-self: end;
  }
  #deliveryModal #deliveryDetails {
    position: absolute;
    left: 20px;
    bottom: 66px;
  }
  #deliveryModal .delivery-rules-button {
    grid-column: 2;
    grid-row: 4;
    justify-self: center;
  }
  #deliveryModal .delivery-leg {
    padding: 1px 3px 3px;
  }
  #deliveryModal .delivery-reward-node {
    min-height: 24px;
    margin-top: 1px;
    padding: 0 5px;
  }
}
