:root {
  --ink:#4b4056;
  --muted:#8b7f98;
  --edge:#a88bac;
  --paper:#fffaf4;
  --lav:#e7e1f2;
  --blue:#b8cbee;
  --pink:#f7e1e7;
  --gold:#e5b86f;
  --green:#7fa991;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-height: 100%;
  font-family:
    "PingFang SC",
    "Microsoft YaHei",
    system-ui,
    sans-serif;
  color: var(--ink);
}
body {
  display: flex;
  align-items: center;
  justify-content: center;
  --xhs-row-gap:90px;
  --xhs-column-gap:90px;
  grid-gap: 90px;
  gap: 90px;
  background:
    radial-gradient(
      circle at 15% 10%,
      #fff2e9,
      transparent 35%),
    radial-gradient(
      circle at 85% 90%,
      #b7c6e8,
      transparent 35%),
    #e9e6f3;
  overflow: hidden;
}
button {
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
button:focus {
  outline: 3px solid #4c668d;
  outline-offset: 3px;
}
button:focus-visible {
  outline: 3px solid #4c668d;
  outline-offset: 3px;
}
.hidden {
  display: none !important;
}
.desk-note {
  --xhs-width:310px;
  width: 310px;
  display: flex;
  flex-direction: column;
  --xhs-row-gap:19px;
  --xhs-column-gap:19px;
  grid-gap: 19px;
  gap: 19px;
  color: #695d79;
}
.desk-note span {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .4em;
}
.desk-note strong {
  font-family:
    "STKaiti",
    "KaiTi",
    serif;
  font-size: 45px;
  line-height: 1.22;
  color: #6b5a7e;
}
.desk-note small {
  font-size: 13px;
  letter-spacing: .15em;
  color: #a18eaa;
}
.phone {
  position: relative;
  --xhs-width:var(--xhs-math-0);
  width: var(--xhs-math-0);
  width: min(100vw, 430px);
  --xhs-height:var(--xhs-math-1);
  height: var(--xhs-math-1);
  height: min(100dvh, 900px);
  min-height: 620px;
  overflow: hidden;
  border: 5px solid #655477;
  border-radius: 30px;
  background: #e9e6f3;
  box-shadow: 0 25px 65px rgba(76, 65, 99, .353), 0 0 0 8px rgba(255, 247, 241, .72);
  display: flex;
  flex-direction: column;
}
.scene {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: #d3d9ee;
}
.scene-image {
  --xhs-width:100%;
  width: 100%;
  --xhs-height:100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}
.scene-shade {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background:
    linear-gradient(
      #3d345245 0%,
      transparent 21%,
      transparent 76%,
      #6c5a875c 100%);
  pointer-events: none;
}
.topbar {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  top: 0;
  min-height: 79px;
  padding: calc(11px + var(--safe-area-inset-top,0px)) 13px 10px;
  padding: calc(11px + var(--safe-area-inset-top,env(safe-area-inset-top,0px))) 13px 10px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  --xhs-row-gap:8px;
  --xhs-column-gap:8px;
  grid-gap: 8px;
  gap: 8px;
  background:
    linear-gradient(
      #fbf6f3f2,
      #fbf6f3dc 75%,
      transparent);
  border-bottom: 1px solid #927c9b80;
}
.brand-mark {
  display: flex;
  align-items: center;
  --xhs-row-gap:8px;
  --xhs-column-gap:8px;
  grid-gap: 8px;
  gap: 8px;
  min-width: 0;
}
.brand-mark > span {
  --xhs-width:39px;
  width: 39px;
  --xhs-height:39px;
  height: 39px;
  border: 2px solid #b39abc;
  border-radius: 13px;
  background: #fffdf7;
  display: grid;
  align-items: center;
  justify-items: center;
  place-items: center;
  font-size: 23px;
  box-shadow: 0 3px 0 #c5b4ce;
}
.brand-mark strong,
.brand-mark small {
  display: block;
  white-space: nowrap;
}
.brand-mark strong {
  font-size: 16px;
  letter-spacing: .03em;
}
.brand-mark small {
  font-size: 10px;
  color: #8b7693;
  margin-top: 2px;
}
.wallet {
  display: flex;
  align-items: center;
  --xhs-row-gap:5px;
  --xhs-column-gap:5px;
  grid-gap: 5px;
  gap: 5px;
  padding: 8px 10px;
  border: 2px solid #b396aa;
  border-radius: 999px;
  background: #fffaf2;
  box-shadow: 0 3px 0 #d6becb;
  font-size: 15px;
  white-space: nowrap;
}
.wallet b {
  font-size: 15px;
}
.scene-title {
  position: absolute;
  z-index: 4;
  left: 13px;
  top: calc(90px + var(--safe-area-inset-top,0px));
  top: calc(90px + var(--safe-area-inset-top,env(safe-area-inset-top,0px)));
  display: flex;
  align-items: center;
  --xhs-row-gap:6px;
  --xhs-column-gap:6px;
  grid-gap: 6px;
  gap: 6px;
  padding: 6px 9px;
  border: 1px solid #efdfec;
  border-radius: 999px;
  background: rgba(255, 249, 242, .875);
  color: #674f69;
  font-size: 10px;
  font-weight: 900;
  box-shadow: 0 3px 9px rgba(109, 88, 121, .2);
}
.scene-title small {
  font-size: 9px;
  font-weight: 600;
  color: #9a849e;
}
.live-dot {
  --xhs-width:7px;
  width: 7px;
  --xhs-height:7px;
  height: 7px;
  background: #73b487;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #cae8d2;
  animation: live 1.6s ease-in-out infinite;
}
@keyframes live {
  50% {
    box-shadow: 0 0 0 5px rgba(202, 232, 210, .667);
  }
}
.tables {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  pointer-events: none;
}
.table-slot {
  position: absolute;
  --xhs-width:31%;
  width: 31%;
  --xhs-height:18%;
  height: 18%;
  min-height: 90px;
  border: 0;
  background: transparent;
  pointer-events: auto;
  padding: 0;
  filter: drop-shadow(0 5px 5px #60507040);
}
.table-slot:hover {
  --xhs-transform:translateY(-2px);
  transform: translateY(-2px);
}
.table-slot:nth-child(1) {
  left: 53%;
  top: 22%;
  --xhs-width:29%;
  width: 29%;
}
.table-slot:nth-child(2) {
  left: 67%;
  top: 36%;
  --xhs-width:30%;
  width: 30%;
}
.table-slot:nth-child(3) {
  left: 3%;
  top: 57%;
  --xhs-width:34%;
  width: 34%;
}
.table-slot:nth-child(4) {
  left: 58%;
  top: 61%;
  --xhs-width:34%;
  width: 34%;
}
.table-slot:nth-child(5) {
  left: 33%;
  top: 76%;
  --xhs-width:34%;
  width: 34%;
}
.table-art {
  position: absolute;
  top: 11%;
  right: 2%;
  bottom: 3%;
  left: 2%;
  top: 11%;
  right: 2%;
  bottom: 3%;
  left: 2%;
  display: block;
}
.table--existing .table-art {
  opacity: 0;
}
.chair {
  position: absolute;
  top: 15%;
  --xhs-width:33%;
  width: 33%;
  --xhs-height:63%;
  height: 63%;
  border: 3px solid #785548;
  border-radius: 48% 46% 38% 40%;
  background:
    radial-gradient(
      ellipse at 35% 25%,
      #fff8eb 5%,
      #d2b5a2 60%,
      #a67865 100%);
  box-shadow: inset 0 5px 0 #fdf7e9, 0 8px 0 -2px #6c514a;
}
.chair.left {
  left: 0;
  --xhs-transform:rotate(-16deg);
  transform: rotate(-16deg);
}
.chair.right {
  right: 0;
  --xhs-transform:rotate(16deg);
  transform: rotate(16deg);
}
.round-top {
  position: absolute;
  z-index: 2;
  left: 21%;
  top: 22%;
  --xhs-width:59%;
  width: 59%;
  --xhs-height:52%;
  height: 52%;
  border: 4px solid #765447;
  border-radius: 50%;
  background:
    radial-gradient(
      ellipse at 35% 25%,
      #fffdf4 0%,
      #f5e6cb 60%,
      #ca9e82 100%);
  box-shadow:
    0 7px 0 #a6795f,
    0 9px 0 #634d49,
    0 16px 12px rgba(95, 75, 82, .25);
}
.round-top:before {
  content: "✿";
  position: absolute;
  left: 40%;
  top: 15%;
  font-size: 15px;
  color: #9eb388;
}
.table-slot.locked .table-art {
  filter: grayscale(.6);
  opacity: .64;
}
.table-tag {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 0;
  --xhs-transform:translateX(-50%);
  transform: translateX(-50%);
  padding: 4px 7px;
  max-width: 100%;
  border: 2px solid #a48ba7;
  border-radius: 999px;
  background: rgba(255, 250, 244, .93);
  color: #665371;
  box-shadow: 0 2px 0 #d5c4d4;
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}
.table-slot .customer {
  position: absolute;
  z-index: 5;
  left: 0;
  bottom: 12%;
  --xhs-width:43px;
  width: 43px;
  --xhs-height:43px;
  height: 43px;
  display: grid;
  align-items: center;
  justify-items: center;
  place-items: center;
  border: 2px solid #a8849a;
  border-radius: 50%;
  background: #fff8ef;
  box-shadow: 0 3px 0 #b8a4b1;
  font-size: 25px;
}
.table-slot .order-bubble {
  position: absolute;
  z-index: 6;
  right: 2%;
  bottom: 18%;
  --xhs-width:45px;
  width: 45px;
  --xhs-height:42px;
  height: 42px;
  display: grid;
  align-items: center;
  justify-items: center;
  place-items: center;
  border: 2px solid #a48ba7;
  border-radius: 16px 16px 16px 3px;
  background: #fffef9;
  box-shadow: 0 3px 0 #d5c4d4;
  font-size: 24px;
}
.table-slot .table-progress {
  position: absolute;
  z-index: 5;
  left: 15%;
  right: 9%;
  bottom: 0;
  --xhs-height:7px;
  height: 7px;
  border: 1px solid #a48ba7;
  border-radius: 99px;
  background: #fff9e9;
  overflow: hidden;
}
.table-progress > i {
  display: block;
  --xhs-height:100%;
  height: 100%;
  --xhs-width:100%;
  width: 100%;
  background: #9bc6a4;
  transform-origin: left;
  transition: width .25s linear;
}
.table-slot.ready .table-tag {
  background: #e8f9df;
  border-color: #76aa79;
  animation: bob .9s ease-in-out infinite alternate;
}
.table-slot.waiting .table-progress > i {
  background: #d9a27f;
}
.table-slot.preparing .table-progress > i {
  background: #90afcd;
}
.table-slot.ready .table-progress > i {
  background: #a8d191;
}
.table-slot.eating .table-progress {
  display: none;
}
@keyframes bob {
  to {
    --xhs-transform:translate(-50%,-4px);
    transform: translate(-50%, -4px);
  }
}
.shop-panda {
  position: absolute;
  z-index: 4;
  --xhs-width:23%;
  width: 23%;
  left: 27%;
  top: 43%;
  filter: drop-shadow(0 7px 3px #554f6a7a);
  pointer-events: none;
  animation: panda-idle 3.5s ease-in-out infinite;
}
@keyframes panda-idle {
  50% {
    --xhs-transform:translateY(-3px) rotate(1deg);
    transform: translateY(-3px) rotate(1deg);
  }
}
.shop-panda.happy {
  animation: panda-happy .75s ease-in-out;
}
@keyframes panda-happy {
  50% {
    --xhs-transform:translateY(-9px) rotate(-5deg);
    transform: translateY(-9px) rotate(-5deg);
  }
}
.staff-note {
  position: absolute;
  z-index: 4;
  left: 18%;
  top: 57%;
  max-width: 42%;
  padding: 5px 9px;
  border: 1px solid #ba9db8;
  border-radius: 10px 10px 10px 2px;
  background: rgba(255, 249, 240, .91);
  color: #695779;
  font-size: 9px;
  font-weight: 900;
  box-shadow: 0 3px 8px rgba(90, 76, 108, .2);
}
.flower-garland {
  position: absolute;
  z-index: 2;
  left: 15%;
  right: 12%;
  top: 10%;
  font-size: 22px;
  color: #e99eb8;
  text-align: center;
  letter-spacing: .5em;
  text-shadow: 0 2px #fff, 0 3px 4px #654a7355;
  pointer-events: none;
}
.scene-toast {
  position: absolute;
  z-index: 8;
  left: 50%;
  bottom: 14px;
  --xhs-transform:translate(-50%,8px);
  transform: translate(-50%, 8px);
  max-width: 90%;
  padding: 9px 13px;
  border: 2px solid #967e9c;
  border-radius: 999px;
  background: rgba(255, 250, 243, .96);
  box-shadow: 0 5px 15px rgba(83, 69, 101, .333);
  color: #5e4b65;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
  opacity: 0;
  transition: opacity .2s, transform .2s;
  pointer-events: none;
}
.scene-toast.show {
  opacity: 1;
  --xhs-transform:translate(-50%,0);
  transform: translate(-50%, 0);
}
.dashboard {
  position: relative;
  z-index: 7;
  flex: 0 0 207px;
  padding: 11px 11px calc(10px + var(--safe-area-inset-bottom,0px));
  padding: 11px 11px calc(10px + var(--safe-area-inset-bottom,env(safe-area-inset-bottom,0px)));
  background: linear-gradient(#fffaf7, #e9e6f3);
  border-top: 4px solid #816f91;
  box-shadow: 0 -4px 12px rgba(90, 74, 112, .25);
}
.dash-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  --xhs-row-gap:7px;
  --xhs-column-gap:7px;
  grid-gap: 7px;
  gap: 7px;
}
.dash-head small,
.dash-head strong {
  display: block;
}
.dash-head small {
  font-size: 9px;
  letter-spacing: .1em;
  color: #a28eaa;
  font-weight: 900;
}
.dash-head strong {
  font-size: 12px;
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.auto-switch {
  display: flex;
  align-items: center;
  --xhs-row-gap:5px;
  --xhs-column-gap:5px;
  grid-gap: 5px;
  gap: 5px;
  border: 1px solid #ad95ad;
  border-radius: 999px;
  padding: 4px 7px;
  background: #fffefb;
  color: #675775;
  font-size: 9px;
  font-weight: 900;
  white-space: nowrap;
}
.switch-track {
  --xhs-width:25px;
  width: 25px;
  --xhs-height:15px;
  height: 15px;
  padding: 2px;
  border-radius: 99px;
  background: #87b495;
  transition: background .2s;
}
.switch-track i {
  display: block;
  --xhs-width:11px;
  width: 11px;
  --xhs-height:11px;
  height: 11px;
  border-radius: 50%;
  background: white;
  --xhs-transform:translateX(10px);
  transform: translateX(10px);
  transition: transform .2s;
}
.auto-switch[aria-pressed=false] .switch-track {
  background: #b9adb8;
}
.auto-switch[aria-pressed=false] .switch-track i {
  --xhs-transform:translateX(0);
  transform: translateX(0);
}
.order-strip {
  --xhs-height:65px;
  height: 65px;
  display: flex;
  align-items: center;
  --xhs-row-gap:7px;
  --xhs-column-gap:7px;
  grid-gap: 7px;
  gap: 7px;
  overflow: auto hidden;
  padding: 4px 1px;
  scrollbar-width: none;
}
.order-strip::-webkit-scrollbar {
  display: none;
}
.order-chip {
  position: relative;
  flex: 0 0 auto;
  min-width: 98px;
  --xhs-height:55px;
  height: 55px;
  display: flex;
  align-items: center;
  --xhs-row-gap:5px;
  --xhs-column-gap:5px;
  grid-gap: 5px;
  gap: 5px;
  padding: 5px 7px;
  border: 2px solid #ccb8c9;
  border-radius: 13px;
  background: #fffdf7;
  color: #5d5065;
  text-align: left;
  box-shadow: 0 2px 0 #dbcbd9;
}
.order-chip.ready {
  border-color: #8bb78d;
  background: #f3fcef;
}
.order-chip .face {
  font-size: 24px;
}
.order-chip b,
.order-chip small {
  display: block;
}
.order-chip b {
  font-size: 10px;
  white-space: nowrap;
}
.order-chip small {
  font-size: 9px;
  color: #9b839e;
}
.order-chip em {
  position: absolute;
  bottom: 0;
  left: 0;
  --xhs-height:4px;
  height: 4px;
  border-radius: 0 0 10px 10px;
  background: #99b7d5;
  max-width: 100%;
  transition: width .25s;
}
.order-chip.ready em {
  background: #8fcf98;
}
.empty-orders {
  font-size: 10px;
  color: #99869e;
  padding-left: 5px;
}
.nav-row {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  --xhs-row-gap:7px;
  --xhs-column-gap:7px;
  grid-gap: 7px;
  gap: 7px;
  margin-top: 3px;
}
.nav-btn {
  --xhs-height:78px;
  height: 78px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  --xhs-row-gap:1px;
  --xhs-column-gap:1px;
  grid-gap: 1px;
  gap: 1px;
  border: 2px solid #a78dab;
  border-radius: 17px;
  background: #fff9f1;
  color: #695775;
  box-shadow: 0 4px 0 #c3b1c5;
  line-height: 1.1;
}
.nav-btn > span {
  font-size: 24px;
}
.nav-btn img {
  --xhs-width:34px;
  width: 34px;
  --xhs-height:34px;
  height: 34px;
  object-fit: contain;
}
.nav-btn b {
  font-size: 11px;
}
.nav-btn small {
  font-size: 9px;
  color: #a78ba6;
}
.nav-btn.primary {
  background: linear-gradient(#fff9e9, #f1d8d2);
  border-color: #94768a;
  box-shadow: 0 4px 0 #b790a2;
}
.nav-btn:active {
  --xhs-transform:translateY(3px);
  transform: translateY(3px);
  box-shadow: 0 1px 0 #b790a2;
}
.modal-backdrop {
  position: absolute;
  z-index: 20;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(56, 48, 68, .68);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.modal {
  position: absolute;
  z-index: 21;
  left: 10px;
  right: 10px;
  bottom: 10px;
  max-height: calc(100% - 55px);
  padding: 16px 14px calc(17px + var(--safe-area-inset-bottom,0px));
  padding: 16px 14px calc(17px + var(--safe-area-inset-bottom,env(safe-area-inset-bottom,0px)));
  overflow: auto;
  border: 3px solid #806b8c;
  border-radius: 26px;
  background: linear-gradient(#fffaf7, #f2eaf1);
  box-shadow: 0 10px 0 #6b566a, 0 20px 35px rgba(48, 40, 60, .5);
  animation: modal-in .22s ease-out;
}
@keyframes modal-in {
  from {
    --xhs-transform:translateY(25px);
    transform: translateY(25px);
    opacity: .6;
  }
}
.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  --xhs-row-gap:10px;
  --xhs-column-gap:10px;
  grid-gap: 10px;
  gap: 10px;
}
.modal-head small {
  font-size: 9px;
  letter-spacing: .2em;
  color: #aa91a6;
  font-weight: 900;
}
.modal h2 {
  margin: 2px 0 0;
  font-size: 21px;
  color: #5f4b69;
}
.close-btn {
  --xhs-width:35px;
  width: 35px;
  --xhs-height:35px;
  height: 35px;
  display: grid;
  align-items: center;
  justify-items: center;
  place-items: center;
  border: 2px solid #af96ad;
  border-radius: 12px;
  background: #fff9f3;
  color: #705b78;
  font-size: 23px;
  line-height: 1;
}
.modal-intro {
  margin: 9px 0 14px;
  color: #8e7b94;
  font-size: 11px;
  line-height: 1.5;
}
.card-list {
  display: grid;
  --xhs-row-gap:9px;
  --xhs-column-gap:9px;
  grid-gap: 9px;
  gap: 9px;
}
.shop-card {
  display: flex;
  align-items: center;
  --xhs-row-gap:10px;
  --xhs-column-gap:10px;
  grid-gap: 10px;
  gap: 10px;
  min-height: 70px;
  padding: 9px;
  border: 2px solid #d0bccc;
  border-radius: 16px;
  background: #fffdf9;
  box-shadow: 0 3px 0 #dfd0dc;
}
.card-icon {
  --xhs-width:44px;
  width: 44px;
  --xhs-height:44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  align-items: center;
  justify-items: center;
  place-items: center;
  border-radius: 13px;
  background: #f4e9ec;
  font-size: 26px;
}
.card-info {
  flex: 1;
  min-width: 0;
}
.card-info b,
.card-info small {
  display: block;
}
.card-info b {
  font-size: 13px;
}
.card-info small {
  font-size: 10px;
  color: #927f96;
  line-height: 1.35;
  margin-top: 3px;
}
.buy-btn {
  min-width: 67px;
  padding: 7px 5px;
  border: 2px solid #947e95;
  border-radius: 10px;
  background: #edf4e6;
  color: #59775d;
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 2px 0 #b9cdb3;
}
.buy-btn:disabled {
  background: #f0ecee;
  color: #a99ca9;
  border-color: #c7b8c6;
  box-shadow: none;
  cursor: default;
}
.text-btn {
  display: block;
  margin: 15px auto 0;
  border: 0;
  background: transparent;
  color: #ab91a1;
  font-size: 10px;
  text-decoration: underline;
}
.kitchen-modal {
  padding-bottom: 14px;
}
.kitchen-art {
  position: relative;
  --xhs-height:230px;
  height: 230px;
  margin-top: 10px;
  border: 2px solid #c5a5a5;
  border-radius: 17px;
  overflow: hidden;
  background: #e8c5b8;
}
.kitchen-art > img {
  --xhs-width:100%;
  width: 100%;
  --xhs-height:100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
}
.kitchen-bubble {
  position: absolute;
  left: 13px;
  top: 12px;
  padding: 5px 9px;
  border-radius: 10px;
  background: rgba(255, 249, 236, .918);
  border: 1px solid #ae8c9d;
  font-size: 10px;
  font-weight: 900;
}
.made-item {
  position: absolute;
  left: 50%;
  top: 48%;
  --xhs-transform:translate(-50%,-50%);
  transform: translate(-50%, -50%);
  font-size: 62px;
  filter: drop-shadow(0 5px 4px #5b40486b);
}
.recipe-steps {
  display: flex;
  --xhs-row-gap:6px;
  --xhs-column-gap:6px;
  grid-gap: 6px;
  gap: 6px;
  margin-top: 11px;
}
.recipe-step {
  flex: 1;
  padding: 6px 3px;
  text-align: center;
  border: 1px solid #d5c2ce;
  border-radius: 8px;
  background: #fff;
  color: #a091a3;
  font-size: 10px;
}
.recipe-step.done {
  background: #e2f3dd;
  color: #5f8a62;
  border-color: #9cbd9e;
}
.recipe-step.active {
  background: #fce9d6;
  color: #9a6b58;
  border-color: #d3a991;
  font-weight: 900;
}
.kitchen-hint {
  min-height: 16px;
  margin: 8px 0;
  color: #826e86;
  font-size: 11px;
}
.ingredient-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  --xhs-row-gap:7px;
  --xhs-column-gap:7px;
  grid-gap: 7px;
  gap: 7px;
}
.ingredient-btn {
  min-height: 45px;
  border: 2px solid #b99fb5;
  border-radius: 11px;
  background: #fff9ef;
  color: #6c5575;
  font-size: 11px;
  font-weight: 900;
}
.ingredient-btn:active {
  --xhs-transform:scale(.96);
  transform: scale(.96);
}
.unlock-modal {
  text-align: center;
}
.unlock-modal .modal-head {
  text-align: left;
}
.unlock-stage {
  position: relative;
  --xhs-height:245px;
  height: 245px;
  margin: 7px auto 4px;
  background:
    radial-gradient(
      ellipse at 50% 65%,
      #fffaf4,
      #eaddeb 64%,
      transparent 65%);
  overflow: hidden;
}
.unlock-stage > img {
  position: absolute;
  left: 5%;
  bottom: 8px;
  --xhs-height:83%;
  height: 83%;
  filter: drop-shadow(0 5px 3px #67527066);
  animation: stir-actor 1.4s ease-in-out infinite;
}
@keyframes stir-actor {
  50% {
    --xhs-transform:rotate(3deg);
    transform: rotate(3deg);
  }
}
.unlock-sparkle {
  position: absolute;
  right: 18%;
  top: 18%;
  font-size: 35px;
  color: #ddb46f;
  animation: sparkle 1.5s ease-in-out infinite;
}
@keyframes sparkle {
  50% {
    --xhs-transform:rotate(25deg) scale(1.25);
    transform: rotate(25deg) scale(1.25);
    opacity: .6;
  }
}
.stir-bowl {
  position: absolute;
  right: 8%;
  bottom: 20px;
  --xhs-width:156px;
  width: 156px;
  --xhs-height:105px;
  height: 105px;
  border: 5px solid #9d7282;
  border-radius: 50% 50% 45% 45%;
  background:
    radial-gradient(
      ellipse at 50% 30%,
      #fffef0 0%,
      #f1d4a2 55%,
      #b88774 58%,
      #eac9b5 67%,
      #b48184 100%);
  box-shadow: 0 12px 0 #815f6c, 0 17px 11px rgba(89, 77, 103, .333);
  touch-action: none;
}
.bowl-inner {
  font-size: 38px;
  color: #fff9dc;
  text-shadow: 0 2px #b3816f;
}
.spoon {
  position: absolute;
  right: 21px;
  top: -35px;
  font-size: 48px;
  --xhs-transform:rotate(-30deg);
  transform: rotate(-30deg);
  transform-origin: 50% 75%;
  pointer-events: none;
}
.stir-bowl.stirring .spoon {
  animation: spoon .35s ease;
}
@keyframes spoon {
  50% {
    --xhs-transform:rotate(25deg) translate(-12px,10px);
    transform: rotate(25deg) translate(-12px, 10px);
  }
}
.unlock-prompt {
  display: block;
  font-size: 15px;
  color: #675170;
}
.stir-progress {
  --xhs-height:12px;
  height: 12px;
  margin: 11px auto 5px;
  --xhs-width:78%;
  width: 78%;
  border: 2px solid #b99bab;
  border-radius: 99px;
  background: #fffaf3;
  overflow: hidden;
}
.stir-progress span {
  display: block;
  --xhs-height:100%;
  height: 100%;
  --xhs-width:0;
  width: 0;
  background:
    linear-gradient(
      90deg,
      #e9c47b,
      #e69aa4);
  transition: width .2s;
}
.unlock-modal .modal-intro {
  margin-bottom: 0;
}
@media (max-width: 760px) {
  body {
    display: block;
    background: #e9e6f3;
  }
  .desk-note {
    display: none;
  }
  .phone {
    --xhs-height:100vh;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    --xhs-width:100vw;
    width: 100vw;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .dashboard {
    flex-basis: calc(207px + var(--safe-area-inset-bottom,0px));
    flex-basis: calc(207px + var(--safe-area-inset-bottom,env(safe-area-inset-bottom,0px)));
  }
}
@media (max-height: 700px) {
  .dashboard {
    flex-basis: 187px;
    padding-top: 7px;
  }
  .order-strip {
    --xhs-height:55px;
    height: 55px;
  }
  .order-chip {
    --xhs-height:47px;
    height: 47px;
  }
  .nav-btn {
    --xhs-height:69px;
    height: 69px;
  }
  .scene-title {
    top: calc(79px + var(--safe-area-inset-top,0px));
    top: calc(79px + var(--safe-area-inset-top,env(safe-area-inset-top,0px)));
  }
  .staff-note {
    display: none;
  }
  .table-slot:nth-child(5) {
    top: 73%;
  }
  .kitchen-art {
    --xhs-height:180px;
    height: 180px;
  }
  .unlock-stage {
    --xhs-height:195px;
    height: 195px;
  }
  .unlock-stage > img {
    --xhs-height:78%;
    height: 78%;
  }
  .stir-bowl {
    --xhs-transform:scale(.8);
    transform: scale(.8);
    transform-origin: bottom right;
  }
}
@media (max-height: 700px) and (max-width: 760px) {
  .dashboard {
    flex-basis: calc(187px + var(--safe-area-inset-bottom,0px));
    flex-basis: calc(187px + var(--safe-area-inset-bottom,env(safe-area-inset-bottom,0px)));
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
.nav-row {
  grid-template-columns: 1fr 1fr;
}
.dashboard {
  flex-basis: 195px;
}
.staff-tray {
  position: absolute;
  z-index: 5;
  left: 13%;
  top: 17%;
  --xhs-width:33%;
  width: 33%;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px 8px;
  border: 3px solid #86647a;
  border-radius: 50%;
  background:
    radial-gradient(
      ellipse at 45% 35%,
      #fffef4,
      #e2c2ae 80%);
  box-shadow: 0 5px 0 #9b7380, 0 9px 10px rgba(77, 63, 98, .333);
  --xhs-transform:rotate(-7deg);
  transform: rotate(-7deg);
}
.tray-dishes {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  --xhs-row-gap:2px;
  --xhs-column-gap:2px;
  grid-gap: 2px;
  gap: 2px;
  --xhs-transform:rotate(7deg);
  transform: rotate(7deg);
}
.tray-dish {
  --xhs-width:40px;
  width: 40px;
  --xhs-height:40px;
  height: 40px;
  padding: 0;
  border: 2px solid #a9899b;
  border-radius: 50%;
  background: #fffaf1;
  font-size: 23px;
  box-shadow: 0 3px 0 #c9acb8;
  animation: dish-ready 1.1s ease-in-out infinite alternate;
}
@keyframes dish-ready {
  to {
    --xhs-transform:translateY(-3px);
    transform: translateY(-3px);
  }
}
.carried-dish {
  position: absolute;
  z-index: 6;
  left: 38%;
  top: 45%;
  --xhs-width:40px;
  width: 40px;
  --xhs-height:40px;
  height: 40px;
  display: grid;
  align-items: center;
  justify-items: center;
  place-items: center;
  border: 2px solid #a9899b;
  border-radius: 50%;
  background: #fffaf1;
  font-size: 23px;
  box-shadow: 0 3px 0 #c9acb8;
  pointer-events: none;
}
.flying-dish {
  position: absolute;
  z-index: 8;
  --xhs-width:38px;
  width: 38px;
  --xhs-height:38px;
  height: 38px;
  display: grid;
  align-items: center;
  justify-items: center;
  place-items: center;
  border: 2px solid #a9899b;
  border-radius: 50%;
  background: #fffaf1;
  font-size: 23px;
  pointer-events: none;
}
.table-slot.delivery-target .customer {
  box-shadow: 0 0 0 5px #e8f8c8, 0 3px 0 #b8a4b1;
  animation: dish-ready .8s ease-in-out infinite alternate;
}
.table-slot .served-dish {
  position: absolute;
  z-index: 6;
  right: 10%;
  bottom: 19%;
  font-size: 28px;
  filter: drop-shadow(0 2px 2px #5b4c6255);
}
.merge-board {
  --xhs-width:var(--xhs-local-0);
  width: var(--xhs-local-0);
  width: min(100%, 310px, calc(100dvh - 330px));
  --xhs-aspect-ratio:1;
  aspect-ratio: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  --xhs-row-gap:7px;
  --xhs-column-gap:7px;
  grid-gap: 7px;
  gap: 7px;
  margin: 12px auto;
  padding: 7px;
  border: 3px solid #967c9b;
  border-radius: 16px;
  background: #c9b6c8;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}
.merge-tile {
  display: grid;
  align-items: center;
  justify-items: center;
  place-items: center;
  border-radius: 10px;
  background: #eee4ea;
  color: #6d5c74;
  font-size: var(--xhs-math-2);
  font-size: clamp(18px, 5vw, 30px);
  font-weight: 900;
  box-shadow: inset 0 2px 3px rgba(169, 147, 171, .333);
}
.merge-tile:not(:empty) {
  background: #fff6e8;
  box-shadow: 0 3px 0 #b99db0;
}
.merge-tile.value-4 {
  background: #f9e5cd;
}
.merge-tile.value-8 {
  background: #f5d3ba;
}
.merge-tile.value-16 {
  background: #efd0dc;
}
.merge-tile.value-32 {
  background: #d6def3;
}
.merge-tile.value-64 {
  background: #cce6d6;
}
.merge-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  --xhs-row-gap:5px;
  --xhs-column-gap:5px;
  grid-gap: 5px;
  gap: 5px;
  margin: 9px auto;
}
.merge-controls > div {
  display: flex;
  --xhs-row-gap:5px;
  --xhs-column-gap:5px;
  grid-gap: 5px;
  gap: 5px;
}
.merge-controls button {
  --xhs-width:46px;
  width: 46px;
  --xhs-height:38px;
  height: 38px;
  border: 2px solid #a78dab;
  border-radius: 10px;
  background: #fffaf1;
  color: #695775;
  font-size: 21px;
  font-weight: 900;
}
#retryMerge {
  margin: 8px auto;
}
@media (max-width: 760px) {
  .dashboard {
    flex-basis: calc(195px + var(--safe-area-inset-bottom,0px));
    flex-basis: calc(195px + var(--safe-area-inset-bottom,env(safe-area-inset-bottom,0px)));
  }
}
@media (max-height: 700px) {
  .dashboard {
    flex-basis: 175px;
  }
  .staff-tray {
    top: 18%;
    min-height: 56px;
  }
  .tray-dish {
    --xhs-width:34px;
    width: 34px;
    --xhs-height:34px;
    height: 34px;
    font-size: 20px;
  }
  .merge-board {
    --xhs-row-gap:5px;
    --xhs-column-gap:5px;
    grid-gap: 5px;
    gap: 5px;
    padding: 5px;
  }
  .merge-controls button {
    --xhs-height:32px;
    height: 32px;
  }
}
@media (max-height: 700px) and (max-width: 760px) {
  .dashboard {
    flex-basis: calc(175px + var(--safe-area-inset-bottom,0px));
    flex-basis: calc(175px + var(--safe-area-inset-bottom,env(safe-area-inset-bottom,0px)));
  }
}
.dashboard {
  flex-basis: 126px;
  padding-top: 7px;
}
.service-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
}
.service-control #levelBadge {
  font-size: 10px;
  font-weight: 900;
  color: #766078;
}
.nav-btn {
  --xhs-height:70px;
  height: 70px;
}
.table-slot .customer {
  left: -9%;
  bottom: 5%;
  --xhs-width:74px;
  width: 74px;
  --xhs-height:111px;
  height: 111px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  filter: saturate(.87) contrast(.95) brightness(1.025) drop-shadow(0 4px 3px #65506c4d);
  pointer-events: none;
}
.customer > img {
  display: block;
  --xhs-width:100%;
  width: 100%;
  --xhs-height:100%;
  height: 100%;
  object-fit: contain;
}
.customer > img.customer-pose {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
}
.customer-ordering .customer-pose {
  animation: customer-wave 5s ease-in-out infinite;
}
.customer-happy .customer-pose {
  opacity: 1;
  animation: customer-smile .35s ease-out;
}
@keyframes customer-wave {
  0%, 18%, 45%, 100% {
    opacity: 0;
  }
  25%, 38% {
    opacity: 1;
  }
}
@keyframes customer-smile {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.table-slot .customer-order {
  position: absolute;
  z-index: 7;
  left: -12%;
  bottom: calc(5% + 106px);
  display: flex;
  align-items: center;
  justify-content: center;
  --xhs-row-gap:3px;
  --xhs-column-gap:3px;
  grid-gap: 3px;
  gap: 3px;
  min-width: 48px;
  padding: 5px 7px;
  border: 2px solid #ab8b9f;
  border-radius: 17px;
  background: #fffaf2;
  box-shadow: 0 3px 0 #cbb9ca;
  pointer-events: none;
}
.customer-order:before {
  content: "";
  position: absolute;
  left: 20px;
  bottom: -9px;
  --xhs-width:12px;
  width: 12px;
  --xhs-height:12px;
  height: 12px;
  --xhs-transform:rotate(45deg);
  transform: rotate(45deg);
  background: #fffaf2;
  border-right: 2px solid #ab8b9f;
  border-bottom: 2px solid #ab8b9f;
}
.customer-order > img {
  position: relative;
  --xhs-width:34px;
  width: 34px;
  --xhs-height:42px;
  height: 42px;
  object-fit: contain;
}
.table-slot:nth-child(1) .customer {
  left: auto;
  right: -7%;
}
.table-slot:nth-child(1) .customer-order {
  left: auto;
  right: -8%;
}
.table-slot:nth-child(2) .customer {
  left: -25%;
}
.table-slot:nth-child(2) .customer-order {
  left: -95%;
}
.table-slot:nth-child(2) .customer-order:before {
  left: auto;
  right: -8px;
  bottom: 9px;
  --xhs-transform:rotate(-45deg);
  transform: rotate(-45deg);
}
.table-slot:nth-child(3) .customer-order {
  left: 0;
}
.table-slot.delivery-target .customer {
  box-shadow: none;
  filter: drop-shadow(0 0 5px #faffc5);
}
.table-slot .served-dish {
  display: flex;
  --xhs-row-gap:1px;
  --xhs-column-gap:1px;
  grid-gap: 1px;
  gap: 1px;
  left: 53%;
  right: auto;
  top: 16%;
  bottom: auto;
  --xhs-transform:translateX(-50%);
  transform: translateX(-50%);
}
.served-dish > img {
  --xhs-width:25px;
  width: 25px;
  --xhs-height:32px;
  height: 32px;
  object-fit: contain;
}
.tray-dish img,
.carried-dish img,
.flying-dish img,
.card-icon img {
  display: block;
  --xhs-width:100%;
  width: 100%;
  --xhs-height:100%;
  height: 100%;
  object-fit: contain;
}
.tray-dish {
  padding: 2px;
}
.carried-dish,
.flying-dish {
  padding: 3px;
}
@media (max-width: 760px) {
  .dashboard {
    flex-basis: calc(126px + var(--safe-area-inset-bottom,0px));
    flex-basis: calc(126px + var(--safe-area-inset-bottom,env(safe-area-inset-bottom,0px)));
  }
}
@media (max-height: 700px) {
  .table-slot .customer {
    --xhs-width:60px;
    width: 60px;
    --xhs-height:90px;
    height: 90px;
  }
  .table-slot .customer-order {
    bottom: calc(5% + 85px);
    padding: 4px 5px;
  }
  .customer-order > img {
    --xhs-width:29px;
    width: 29px;
    --xhs-height:34px;
    height: 34px;
  }
  .nav-btn {
    --xhs-height:64px;
    height: 64px;
  }
  .dashboard {
    flex-basis: 116px;
  }
}
@media (max-height: 700px) and (max-width: 760px) {
  .dashboard {
    flex-basis: calc(116px + var(--safe-area-inset-bottom,0px));
    flex-basis: calc(116px + var(--safe-area-inset-bottom,env(safe-area-inset-bottom,0px)));
  }
}
.unlock-modal {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  max-height: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  overflow: hidden;
  background: #f6f1e8;
  display: flex;
  flex-direction: column;
  box-shadow: none;
}
.research-top {
  position: relative;
  flex: 1;
  min-height: 0;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse at 50% 85%,
      #fef9ec 0%,
      #eef0df 40%,
      transparent 65%),
    linear-gradient(
      155deg,
      #eee6f3,
      #d8e1ed 58%,
      #e3e7d1);
}
.research-top:after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 20%;
  right: 5%;
  bottom: 6%;
  left: 5%;
  top: 20%;
  right: 5%;
  bottom: 6%;
  left: 5%;
  border: 1px solid #ffffff70;
  border-radius: 48% 48% 45% 45%;
  box-shadow: 0 0 0 14px rgba(255, 248, 238, .157);
}
.research-top .modal-head {
  padding: calc(18px + var(--safe-area-inset-top,0px)) 19px 8px;
  padding: calc(18px + var(--safe-area-inset-top,env(safe-area-inset-top,0px))) 19px 8px;
  position: relative;
  z-index: 2;
}
.research-top h2 {
  font-size: 20px;
  letter-spacing: .03em;
}
.research-stats {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  --xhs-row-gap:6px;
  --xhs-column-gap:6px;
  grid-gap: 6px;
  gap: 6px;
  padding: 0 20px;
  font-size: 10px;
}
.research-stage-status {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  --xhs-row-gap:3px;
  --xhs-column-gap:3px;
  grid-gap: 3px;
  gap: 3px;
  min-width: 0;
}
.research-stage-status > b {
  border-radius: 99px;
  padding: 5px 9px;
  background: #fcf6e5;
  border: 1px solid #c6b5be;
  color: #766078;
  white-space: nowrap;
}
.research-stage-status > small {
  max-width: 148px;
  color: #765e76;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.2;
}
.research-stats > span {
  color: #746882;
  font-variant-numeric: tabular-nums;
}
.research-stats > button {
  border: 0;
  border-bottom: 1px solid #a895ad;
  background: none;
  padding: 5px 0;
  color: #7b6882;
  font-size: 10px;
}
.research-xp {
  position: relative;
  z-index: 2;
  margin: 5px 20px 0;
  text-align: left;
  color: #766078;
  font-size: 10px;
  font-weight: 800;
}
.research-xp > div {
  --xhs-height:6px;
  height: 6px;
  margin-top: 3px;
  overflow: hidden;
  border-radius: 99px;
  background: #fff9f0;
  border: 1px solid #c6b5be;
}
.research-xp i {
  display: block;
  --xhs-width:0;
  width: 0;
  --xhs-height:100%;
  height: 100%;
  background: #dfa786;
  transition: width .2s;
}
.research-message {
  position: relative;
  z-index: 2;
  margin: 14px auto 0;
  max-width: 88%;
  min-height: 38px;
  padding: 8px 12px;
  border: 1.5px solid #c1abbf;
  border-radius: 16px;
  background: rgba(255, 250, 242, .91);
  font-size: 11px;
  color: #7c627c;
  line-height: 1.5;
  box-shadow: 0 3px 0 rgba(168, 153, 179, .16);
}
.research-message:after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 48%;
  --xhs-width:10px;
  width: 10px;
  --xhs-height:10px;
  height: 10px;
  background: #fffaf2;
  border-right: 1.5px solid #c1abbf;
  border-bottom: 1.5px solid #c1abbf;
  --xhs-transform:rotate(45deg);
  transform: rotate(45deg);
}
.research-panda {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 33px;
  --xhs-transform:translateX(-50%);
  transform: translateX(-50%);
  --xhs-height:calc(100% - 177px);
  height: calc(100% - 177px);
  max-height: 265px;
  --xhs-aspect-ratio:2/3;
  aspect-ratio: 2/3;
  border: 0;
  background: none;
  padding: 0;
  filter: drop-shadow(0 6px 3px #796a812b);
  touch-action: manipulation;
}
.research-panda img {
  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: contain;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}
.research-panda .panda-pose {
  opacity: 0;
  transition: opacity .25s;
}
.research-panda.cheering .panda-pose {
  opacity: 1;
}
.research-panda.cheering.happy-solid .panda-base {
  opacity: 0;
}
.research-panda.cheering {
  animation: cheer 1.1s ease-in-out;
}
@keyframes cheer {
  35% {
    --xhs-transform:translate(-50%,-7px) rotate(-2deg);
    transform: translate(-50%, -7px) rotate(-2deg);
  }
  70% {
    --xhs-transform:translate(-50%,-2px) rotate(2deg);
    transform: translate(-50%, -2px) rotate(2deg);
  }
}
.research-panda:active {
  filter: drop-shadow(0 3px 2px #796a812b) brightness(1.04);
}
.panda-ground {
  position: absolute;
  z-index: 0;
  left: 50%;
  bottom: 28px;
  --xhs-width:57%;
  width: 57%;
  --xhs-height:33px;
  height: 33px;
  --xhs-transform:translateX(-50%);
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(
      ellipse,
      #b6b59799,
      transparent 70%);
}
.supply-label {
  position: absolute;
  z-index: 2;
  bottom: 9px;
  left: 0;
  right: 0;
  color: #7f786b;
  font-size: 11px;
  font-weight: 700;
  pointer-events: none;
}
.research-flower {
  position: absolute;
  color: #baacbd;
  font-size: 43px;
  bottom: 47px;
  opacity: .55;
}
.flower-a {
  left: 13%;
  --xhs-transform:rotate(-18deg);
  transform: rotate(-18deg);
}
.flower-b {
  right: 12%;
  font-size: 32px;
  bottom: 80px;
  color: #d9b778;
}
.research-bottom {
  flex: 0 0 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 9px 14px calc(9px + var(--safe-area-inset-bottom,0px));
  padding: 9px 14px calc(9px + var(--safe-area-inset-bottom,env(safe-area-inset-bottom,0px)));
  border-top: 3px solid #c7b4c5;
  border-radius: 28px 28px 0 0;
  background: linear-gradient(#fff9ed, #f0e6ee);
  box-shadow: 0 -9px 22px rgba(140, 125, 148, .063);
}
.merge-caption {
  display: flex;
  --xhs-width:100%;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
  color: #79617a;
  font-size: 12px;
}
.merge-caption > span {
  font-size: 10px;
  color: #a18c9a;
}
.research-bottom .merge-board {
  flex: none;
  --xhs-width:var(--xhs-local-1);
  width: var(--xhs-local-1);
  width: min(100%, 310px, calc(50dvh - 128px));
  --xhs-aspect-ratio:1;
  aspect-ratio: 1;
  --xhs-row-gap:6px;
  --xhs-column-gap:6px;
  grid-gap: 6px;
  gap: 6px;
  margin: 8px auto 6px;
  padding: 8px;
  border: 2px solid #b6a0b7;
  border-radius: 22px;
  background:
    linear-gradient(
      145deg,
      #d1c5dc,
      #dfccd5);
  box-shadow: inset 0 3px 5px rgba(170, 147, 174, .208), 0 4px 0 #c0aabf;
  overflow: visible;
}
.merge-tile {
  position: relative;
  min-width: 0;
  min-height: 0;
  padding: 1px;
  border: 1px solid #c7b8c999;
  border-radius: 14px;
  background: rgba(244, 236, 237, .52);
  box-shadow: inset 0 2px 3px rgba(169, 147, 171, .133);
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  transition: box-shadow .15s;
}
.merge-tile:not(:empty) {
  background: linear-gradient(#fffdf2, #f4e8dc);
  box-shadow: 0 3px 0 #b49aae;
  border: 1px solid #fffaf0;
}
.merge-tile img {
  display: block;
  --xhs-width:100%;
  width: 100%;
  --xhs-height:100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}
.merge-tile.held {
  --xhs-transform:scale(.86);
  transform: scale(.86);
  box-shadow: 0 10px 18px rgba(110, 82, 100, .3);
  cursor: grabbing;
}
.merge-tile.tile-selected {
  outline: 3px solid #9aaf8e;
  outline-offset: 0;
}
.merge-glow {
  animation: merge-light .65s ease-out;
}
@keyframes merge-light {
  0% {
    --xhs-transform:scale(.8);
    transform: scale(.8);
    box-shadow: 0 0 0 1px #fff5c5;
  }
  45% {
    --xhs-transform:scale(1.1);
    transform: scale(1.1);
    box-shadow: 0 0 25px 8px #ffdf8b;
  }
  100% {
    --xhs-transform:scale(1);
    transform: scale(1);
  }
}
.tile-arrived {
  animation: tile-land .4s ease-out;
}
@keyframes tile-land {
  0% {
    --xhs-transform:translateY(-22px) scale(.5);
    transform: translateY(-22px) scale(.5);
    opacity: 0;
  }
  70% {
    --xhs-transform:scale(1.09);
    transform: scale(1.09);
  }
  100% {
    --xhs-transform:scale(1);
    transform: scale(1);
    opacity: 1;
  }
}
.ingredient-shelf {
  display: flex;
  flex: none;
  --xhs-row-gap:6px;
  --xhs-column-gap:6px;
  grid-gap: 6px;
  gap: 6px;
  --xhs-width:100%;
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 2px;
  touch-action: pan-x;
}
.material-unlock {
  flex: 0 0 63px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #88738a;
  padding: 0 2px;
}
.material-unlock img {
  --xhs-width:39px;
  width: 39px;
  --xhs-height:39px;
  height: 39px;
  object-fit: contain;
}
.material-unlock small {
  font-size: 9px;
  white-space: nowrap;
}
.material-unlock.undiscovered img {
  filter: grayscale(1);
  opacity: .45;
}
.material-requirement {
  font-size: 8px;
  line-height: 1.2;
  white-space: nowrap;
  color: #765e76;
}
.material-unlock i {
  position: absolute;
  right: 4px;
  top: 2px;
  --xhs-width:7px;
  width: 7px;
  --xhs-height:7px;
  height: 7px;
  border-radius: 50%;
  background: #cf9b80;
  border: 1px solid #fff8e9;
}
.material-unlock.can-develop {
  background: #fff5d9;
}
.research-help {
  font-size: 9px;
  color: #ae99a9;
  padding-top: 2px;
  line-height: 1.3;
}
.garden-link {
  padding: 12px;
  border: 2px solid #b49db1;
  border-radius: 14px;
  background: #eee9d8;
  color: #79627c;
  font-weight: 700;
}
.development {
  position: absolute;
  z-index: 8;
  top: 7%;
  right: 12px;
  bottom: 7%;
  left: 12px;
  top: 7%;
  right: 12px;
  bottom: 7%;
  left: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 18px 18px;
  border: 2px solid #a58ba3;
  border-radius: 27px;
  background:
    radial-gradient(
      ellipse at 50% 45%,
      #fffef1,
      #f3e8ec 74%);
  box-shadow: 0 0 0 100vmax rgba(60, 52, 75, .7);
  overflow: auto;
}
.development-close {
  position: absolute;
  right: 12px;
  top: 12px;
}
.development > small {
  letter-spacing: .18em;
  font-size: 10px;
  color: #b293a3;
}
.development h2 {
  font-size: 21px;
  margin-top: 12px;
}
.development > p {
  font-size: 11px;
  line-height: 1.7;
  color: #958096;
  text-align: center;
}
.development > p#developmentResult {
  min-height: 40px;
  max-width: 265px;
}
.shaker-stage {
  position: relative;
  --xhs-width:100%;
  width: 100%;
  --xhs-height:250px;
  height: 250px;
  flex: 0 0 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(
      ellipse at 50% 70%,
      #f7e1be80,
      transparent 65%);
}
.shaker {
  position: relative;
  --xhs-width:108px;
  width: 108px;
  --xhs-height:182px;
  height: 182px;
  --xhs-transform:rotate(-8deg);
  transform: rotate(-8deg);
}
.shaker-cup {
  position: absolute;
  bottom: 0;
  --xhs-width:108px;
  width: 108px;
  --xhs-height:146px;
  height: 146px;
  border: 4px solid #98788d;
  border-radius: 15px 15px 36px 36px;
  background:
    linear-gradient(
      100deg,
      #fff1d0,
      #d6ac8a 65%,
      #e9caaa);
  box-shadow: inset 10px 0 0 rgba(255, 248, 228, .2), 0 10px 15px rgba(140, 112, 128, .153);
  overflow: visible;
}
.shaker-cup:after {
  content: "";
  position: absolute;
  left: 11px;
  top: 21px;
  --xhs-width:9px;
  width: 9px;
  --xhs-height:72px;
  height: 72px;
  border-radius: 99px;
  background: rgba(255, 246, 230, .467);
  --xhs-transform:rotate(-2deg);
  transform: rotate(-2deg);
}
.shaker-cup > span {
  position: absolute;
  left: -4px;
  right: -4px;
  top: 48px;
  --xhs-height:45px;
  height: 45px;
  background: #ccc0d8;
  border: 3px solid #a68fa8;
  font-size: 30px;
  color: #fff4df;
  line-height: 38px;
}
.shaker-lid {
  position: absolute;
  z-index: 3;
  top: 3px;
  left: -5px;
  --xhs-width:118px;
  width: 118px;
  --xhs-height:47px;
  height: 47px;
  border: 4px solid #98788d;
  border-radius: 50% 50% 12px 12px;
  background:
    linear-gradient(
      100deg,
      #f8f4ee,
      #c5bfd5);
  transform-origin: 10% 50%;
  transition: transform .65s, opacity .6s;
}
.shaker-lid:before {
  content: "";
  position: absolute;
  top: -13px;
  left: 38px;
  --xhs-width:31px;
  width: 31px;
  --xhs-height:16px;
  height: 16px;
  border: 3px solid #98788d;
  border-radius: 8px 8px 0 0;
  background: #ded5e3;
}
.tea-foam {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  --xhs-height:21px;
  height: 21px;
  border-radius: 50%;
  background: #fff1d6;
  box-shadow: inset 0 -6px #ddb991;
  opacity: 0;
  transition: opacity .3s;
}
.tea-splash {
  position: absolute;
  top: -29px;
  left: 4px;
  right: 4px;
  --xhs-height:45px;
  height: 45px;
  background: #efd1a7;
  clip-path: polygon(0 100%, 0 35%, 12% 57%, 18% 0, 36% 52%, 55% 35%, 70% 62%, 87% 3%, 100% 30%, 100% 100%);
  opacity: 0;
}
.shaking .shaker {
  animation: shake-tea .28s ease-in-out infinite alternate;
}
@keyframes shake-tea {
  from {
    --xhs-transform:rotate(-22deg) translate(-8px,-5px);
    transform: rotate(-22deg) translate(-8px, -5px);
  }
  to {
    --xhs-transform:rotate(22deg) translate(8px,5px);
    transform: rotate(22deg) translate(8px, 5px);
  }
}
.opening .shaker {
  --xhs-transform:rotate(0);
  transform: rotate(0);
  transition: transform .4s;
}
.opening .shaker-lid {
  --xhs-transform:translate(25px,-53px) rotate(35deg);
  transform: translate(25px, -53px) rotate(35deg);
  opacity: .5;
}
.opening .tea-foam {
  opacity: 1;
}
.opening .tea-splash {
  animation: splash .8s ease-out forwards;
}
@keyframes splash {
  0% {
    opacity: 0;
    --xhs-transform:scaleY(.2);
    transform: scaleY(.2);
  }
  40% {
    opacity: 1;
    --xhs-transform:scaleY(1.1);
    transform: scaleY(1.1);
  }
  100% {
    opacity: 1;
    --xhs-transform:scaleY(.75);
    transform: scaleY(.75);
  }
}
.shake-star {
  position: absolute;
  color: #d9b776;
  font-size: 45px;
}
.star-a {
  left: 11%;
  top: 18%;
}
.star-b {
  right: 8%;
  bottom: 10%;
  font-size: 32px;
}
.shaking .shake-star,
.opening .shake-star {
  animation: sparkle .6s infinite alternate;
}
.recipe-reveal {
  display: none;
  position: absolute;
  top: 5px;
  right: 0;
  bottom: 5px;
  left: 0;
  top: 5px;
  right: 0;
  bottom: 5px;
  left: 0;
  overflow: auto;
  align-content: center;
  justify-content: center;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  --xhs-row-gap:7px;
  --xhs-column-gap:7px;
  grid-gap: 7px;
  gap: 7px;
}
.revealed .recipe-reveal {
  display: grid;
  animation: tile-land .5s;
}
.revealed .shaker {
  opacity: 0;
}
.recipe-reveal > span {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 10px;
  color: #795e76;
}
.recipe-reveal > span:only-child {
  grid-column: span 2;
}
.recipe-reveal img {
  --xhs-height:94px;
  height: 94px;
  --xhs-width:94px;
  width: 94px;
  object-fit: contain;
}
.recipe-reveal > span:only-child img {
  --xhs-height:175px;
  height: 175px;
  --xhs-width:155px;
  width: 155px;
}
.recipe-reveal b {
  font-size: 11px;
}
.recipe-reveal img.combo-garnish {
  position: absolute;
  --xhs-width:39px;
  width: 39px;
  --xhs-height:39px;
  height: 39px;
  bottom: 16px;
  left: 50%;
}
.recipe-reveal > span:only-child img.combo-garnish {
  --xhs-width:60px;
  width: 60px;
  --xhs-height:60px;
  height: 60px;
  bottom: 25px;
}
.develop-actions {
  display: flex;
  --xhs-row-gap:10px;
  --xhs-column-gap:10px;
  grid-gap: 10px;
  gap: 10px;
  --xhs-width:100%;
  width: 100%;
}
.develop-actions button {
  flex: 1;
  padding: 13px 6px;
  border: 2px solid #b593a5;
  border-radius: 14px;
  background: #fff5df;
  color: #876776;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 3px #dbc1cb;
}
.develop-actions button:last-child {
  background: #dce8d8;
  color: #647966;
}
.develop-actions button:disabled {
  opacity: .5;
  cursor: wait;
}
.panda-walker {
  position: absolute;
  z-index: 6;
  --xhs-width:23%;
  width: 23%;
  --xhs-aspect-ratio:2/3;
  aspect-ratio: 2/3;
  left: 38%;
  top: 63%;
  --xhs-transform:translate(-50%,-100%);
  transform: translate(-50%, -100%);
  pointer-events: none;
  transition: left .3s linear, top .3s linear;
  filter: drop-shadow(0 5px 3px #554f6a55);
}
.panda-walker .shop-panda {
  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: contain;
  filter: none;
  animation: none;
  clip-path: inset(0 0 14% 0);
}
.panda-walker .carried-dish {
  left: 15%;
  top: 52%;
  --xhs-width:73%;
  width: 73%;
  --xhs-height:29%;
  height: 29%;
  display: flex;
  justify-content: center;
  --xhs-row-gap:0;
  --xhs-column-gap:0;
  grid-gap: 0;
  gap: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  filter: drop-shadow(0 2px 1px #6f556a55);
}
.carried-dish > span {
  --xhs-width:50%;
  width: 50%;
  --xhs-height:100%;
  height: 100%;
  position: relative;
}
.carried-dish img {
  --xhs-width:100%;
  width: 100%;
  --xhs-height:100%;
  height: 100%;
}
.tray-dish.selected {
  outline: 3px solid #bed59c;
}
.tray-dish:disabled {
  opacity: 1;
  cursor: default;
}
.tea-machine {
  position: absolute;
  z-index: 4;
  --xhs-width:47px;
  width: 47px;
  --xhs-height:67px;
  height: 67px;
  left: 8%;
  top: 20%;
  pointer-events: none;
  filter: drop-shadow(0 3px 2px #71607c44);
}
.machine-progress {
  position: absolute;
  z-index: 3;
  left: -9px;
  right: -9px;
  bottom: -6px;
  --xhs-height:11px;
  height: 11px;
  padding: 2px;
  border: 1.5px solid #a993a8;
  border-radius: 99px;
  background: #fff8eb;
  box-shadow: 0 2px 0 #c7adbf;
}
.machine-progress > i {
  display: block;
  --xhs-width:0;
  width: 0;
  --xhs-height:100%;
  height: 100%;
  border-radius: 99px;
  background:
    repeating-linear-gradient(
      110deg,
      #b8cfb0 0,
      #b8cfb0 6px,
      #d4e3bc 6px,
      #d4e3bc 10px);
  transition: width .3s linear;
}
.steam {
  position: absolute;
  z-index: 3;
  top: 2px;
  --xhs-width:6px;
  width: 6px;
  --xhs-height:23px;
  height: 23px;
  border-left: 4px solid #fff8ea;
  border-radius: 50%;
  opacity: 0;
}
.steam.one {
  left: 5px;
}
.steam.two {
  left: 21px;
}
.steam.three {
  left: 35px;
}
.finished .steam {
  animation: tea-steam 1.8s ease-out;
}
.finished .steam.two {
  animation-delay: .15s;
}
.finished .steam.three {
  animation-delay: .3s;
}
@keyframes tea-steam {
  20% {
    opacity: .9;
  }
  100% {
    opacity: 0;
    --xhs-transform:translateY(-38px) scale(1.7);
    transform: translateY(-38px) scale(1.7);
  }
}
.drink-picture {
  position: relative;
  display: inline-block;
  --xhs-width:100%;
  width: 100%;
  --xhs-height:100%;
  height: 100%;
  flex: none;
}
.drink-picture > img {
  display: block;
  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: contain;
}
.drink-picture > img.drink-garnish {
  z-index: 1;
  --xhs-width:48%;
  width: 48%;
  --xhs-height:48%;
  height: 48%;
  top: auto;
  left: auto;
  right: -8%;
  bottom: -2%;
}
.customer-order > .drink-picture {
  --xhs-width:34px;
  width: 34px;
  --xhs-height:42px;
  height: 42px;
}
.served-dish > .drink-picture {
  --xhs-width:25px;
  width: 25px;
  --xhs-height:32px;
  height: 32px;
}
.staff-tray {
  left: 12%;
  top: 23%;
  --xhs-width:45%;
  width: 45%;
  min-height: 42px;
  padding: 3px 6px;
  border-width: 2px;
  border-radius: 50%;
  background: linear-gradient(#fff7e8, #e2c9b8);
  box-shadow: 0 3px 0 #a57f87, 0 5px 8px rgba(89, 69, 100, .2);
}
.tray-dishes {
  flex-wrap: nowrap;
  --xhs-row-gap:1px;
  --xhs-column-gap:1px;
  grid-gap: 1px;
  gap: 1px;
  min-width: 0;
}
.tray-dish {
  flex: 0 1 34px;
  --xhs-width:34px;
  width: 34px;
  --xhs-height:42px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  padding: 0;
}
.tea-machine {
  left: 5%;
  top: 17%;
  z-index: 5;
}
@media (max-height: 700px) {
  .research-panda {
    --xhs-height:calc(100% - 160px);
    height: calc(100% - 160px);
    bottom: 26px;
  }
  .research-top .modal-head {
    padding-top: 10px;
  }
  .research-message {
    margin-top: 8px;
    font-size: 10px;
    padding: 6px 10px;
    min-height: 30px;
  }
  .research-bottom {
    padding-top: 7px;
  }
  .research-bottom .merge-board {
    --xhs-width:var(--xhs-local-2);
    width: var(--xhs-local-2);
    width: min(100%, 310px, calc(50dvh - 115px));
    --xhs-row-gap:4px;
    --xhs-column-gap:4px;
    grid-gap: 4px;
    gap: 4px;
    padding: 6px;
    border-radius: 17px;
  }
  .material-unlock img {
    --xhs-width:32px;
    width: 32px;
    --xhs-height:32px;
    height: 32px;
  }
  .material-unlock small {
    font-size: 8px;
  }
  .research-help {
    font-size: 8px;
  }
  .shaker-stage {
    --xhs-height:190px;
    height: 190px;
    flex-basis: 190px;
  }
  .customer-order > .drink-picture {
    --xhs-width:29px;
    width: 29px;
    --xhs-height:34px;
    height: 34px;
  }
  .development {
    top: 3%;
    right: 12px;
    bottom: 3%;
    left: 12px;
    top: 3%;
    right: 12px;
    bottom: 3%;
    left: 12px;
  }
  .development h2 {
    font-size: 18px;
  }
  .development > p {
    margin: 7px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .panda-walker {
    transition: none;
  }
  .research-panda.cheering,
  .walking .shop-panda,
  .shaking .shaker {
    animation: none;
  }
}
.scene-world {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  overflow: visible;
}
.scene-world > .scene-image {
  display: block;
  --xhs-width:100%;
  width: 100%;
  --xhs-height:100%;
  height: 100%;
  object-fit: fill;
}
.scene-prop {
  position: absolute;
  display: block;
  object-fit: fill;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}
.scene-rug {
  z-index: 10;
  left: -6%;
  top: 36%;
  --xhs-width:66%;
  width: 66%;
  --xhs-height:14.7%;
  height: 14.7%;
  --xhs-transform:rotate(13deg);
  transform: rotate(13deg);
  transform-origin: center;
}
.scene-board {
  z-index: 11;
  left: 40%;
  top: 2.3%;
  --xhs-width:32%;
  width: 32%;
  --xhs-height:11.3%;
  height: 11.3%;
}
.scene-door {
  z-index: 11;
  left: 73.5%;
  top: 2.5%;
  --xhs-width:27%;
  width: 27%;
  --xhs-height:24%;
  height: 24%;
}
.scene-counter {
  z-index: 12;
  left: -4%;
  top: 13.4%;
  --xhs-width:63%;
  width: 63%;
  --xhs-height:25%;
  height: 25%;
}
.scene-decoration {
  z-index: 250;
  left: -6%;
  top: 30%;
  --xhs-width:30%;
  width: 30%;
  --xhs-height:auto;
  height: auto;
}
.scene-shade {
  z-index: 2;
}
.brand-mark strong > b {
  display: inline-block;
  padding: 2px 5px;
  border-radius: 7px;
  background: #f7ebd5;
  color: #795b64;
  font-size: 10px;
  vertical-align: middle;
}
.tables {
  z-index: auto;
}
.table-slot:nth-child(n) {
  filter: none;
  --xhs-width:31.2%;
  width: 31.2%;
  --xhs-height:auto;
  height: auto;
  min-height: 0;
  --xhs-aspect-ratio:3/2;
  aspect-ratio: 3/2;
  --xhs-transform:translate(-50%,-50%);
  transform: translate(-50%, -50%);
}
.table-slot:hover {
  --xhs-transform:translate(-50%,-50%);
  transform: translate(-50%, -50%);
}
.table-furniture,
.table-foreground {
  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;
  pointer-events: none;
}
.table-furniture {
  filter: drop-shadow(0 3px 2px #6c597344);
}
.table-foreground {
  z-index: 6;
  clip-path: polygon(27% 35%, 31% 29%, 42% 27%, 42% 7%, 59% 7%, 59% 27%, 70% 30%, 74% 37%, 74% 43%, 69% 50%, 60% 54%, 39% 54%, 29% 49%, 27% 42%);
}
.table-slot:nth-child(n) .customer {
  display: block;
  left: 7%;
  right: auto;
  bottom: 8%;
  --xhs-width:36%;
  width: 36%;
  --xhs-height:auto;
  height: auto;
  --xhs-aspect-ratio:2/3;
  aspect-ratio: 2/3;
  filter: drop-shadow(0 3px 2px #55466855);
  transform-origin: center bottom;
}
.table-slot.seat-right .customer {
  left: auto;
  right: 7%;
}
.table-slot:nth-child(n) .customer-order {
  left: calc(43% + 10px);
  right: auto;
  bottom: 90%;
  min-width: 0;
  --xhs-width:max-content;
  width: max-content;
  max-width: 78px;
  padding: 2px 3px;
  --xhs-row-gap:2px;
  --xhs-column-gap:2px;
  grid-gap: 2px;
  gap: 2px;
}
.table-slot.seat-right .customer-order {
  left: auto;
  right: calc(43% + 10px);
}
.table-slot:nth-child(n) .customer-order:before {
  left: -8px;
  right: auto;
  bottom: 8px;
  --xhs-transform:rotate(135deg);
  transform: rotate(135deg);
}
.table-slot.seat-right .customer-order:before {
  left: auto;
  right: -8px;
  --xhs-transform:rotate(-45deg);
  transform: rotate(-45deg);
}
.customer-order > .drink-picture {
  --xhs-width:26px;
  width: 26px;
  --xhs-height:33px;
  height: 33px;
}
.staff-tray {
  left: 4%;
  top: 22.1%;
  --xhs-width:29%;
  width: 29%;
  --xhs-height:4.6%;
  height: 4.6%;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  --xhs-transform:none;
  transform: none;
  z-index: 260;
  align-items: flex-end;
}
.tray-dishes {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: flex-end;
  align-items: end;
  --xhs-width:100%;
  width: 100%;
  --xhs-height:100%;
  height: 100%;
  --xhs-row-gap:1px;
  --xhs-column-gap:1px;
  grid-gap: 1px;
  gap: 1px;
  --xhs-transform:none;
  transform: none;
}
.tray-dish {
  grid-row: 1;
  justify-self: center;
  --xhs-width:100%;
  width: 100%;
  --xhs-height:100%;
  height: 100%;
  max-width: 28px;
  animation: none;
  --xhs-transform:none;
  transform: none;
  transition: none;
  filter: drop-shadow(0 2px 1px #664e654d);
}
.tea-machine {
  left: 13%;
  top: 9%;
  --xhs-width:12%;
  width: 12%;
  --xhs-height:8%;
  height: 8%;
  z-index: 150;
  filter: none;
  background-image: url(assets/shop-shell-v2.webp);
  background-repeat: no-repeat;
  transform-origin: 50% 70%;
}
.tea-machine.working {
  animation: machine-jiggle .25s ease-in-out infinite alternate;
}
.tea-machine.finished {
  animation: machine-pop .8s ease-out;
}
@keyframes machine-jiggle {
  to {
    --xhs-transform:translateX(1px) rotate(.6deg);
    transform: translateX(1px) rotate(.6deg);
  }
}
@keyframes machine-pop {
  40% {
    --xhs-transform:translateY(-3px) scale(1.04);
    transform: translateY(-3px) scale(1.04);
  }
  70% {
    --xhs-transform:scale(.98);
    transform: scale(.98);
  }
}
.tea-machine:before {
  content: "";
  position: absolute;
  top: 12%;
  right: 10%;
  bottom: 19%;
  left: 10%;
  top: 12%;
  right: 10%;
  bottom: 19%;
  left: 10%;
  border-radius: 12px;
  opacity: 0;
  box-shadow: 0 0 20px 8px #fff6cd;
  pointer-events: none;
}
.tea-machine.working:before {
  animation: machine-glow .5s ease-in-out infinite alternate;
}
@keyframes machine-glow {
  to {
    opacity: .65;
  }
}
.machine-progress {
  left: 0;
  right: 0;
  bottom: -4px;
}
.panda-walker {
  left: 46%;
  top: 42%;
  --xhs-width:14.4%;
  width: 14.4%;
  z-index: 1000;
  transition: none;
  filter: drop-shadow(0 4px 2px #64517766);
}
.panda-walker .shop-panda {
  clip-path: none;
}
.walking .shop-panda {
  animation: panda-walk-bob .46s ease-in-out infinite;
}
@keyframes panda-walk-bob {
  0%, 100% {
    --xhs-transform:translateY(0);
    transform: translateY(0);
  }
  50% {
    --xhs-transform:translateY(-2px);
    transform: translateY(-2px);
  }
}
.customer > img.customer-seated-art {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
  --xhs-transform:translateY(-8%);
  transform: translateY(-8%);
}
.customer-seated {
  --xhs-transform:translateY(-8%);
  transform: translateY(-8%);
}
.customer-seated .customer-standing-art {
  opacity: 0;
}
.customer.customer-seated > img.customer-seated-art {
  opacity: 1;
}
.customer-entering {
  animation: customer-enter var(--walk-ms,1.5s) linear both;
}
.customer-seating {
  animation: customer-sit .9s ease-in-out both;
}
.customer-standing {
  animation: customer-stand .75s ease-in-out both;
}
.customer-seating .customer-standing-art {
  animation: standing-to-seat .9s both;
}
.customer-seating .customer-seated-art {
  animation: seat-appear .9s both;
}
.customer-standing .customer-standing-art {
  animation: standing-to-seat .75s reverse both;
}
.customer-standing .customer-seated-art {
  animation: seat-appear .75s reverse both;
}
.customer-leaving {
  animation: customer-exit var(--walk-ms,1.5s) linear both;
}
.customer-entering > img:first-child,
.customer-leaving > img:first-child {
  animation: customer-walk-bob .3s ease-in-out infinite alternate;
}
@keyframes customer-walk-bob {
  to {
    --xhs-transform:translateY(-2px);
    transform: translateY(-2px);
  }
}
@keyframes customer-enter {
  from {
    --xhs-transform:translate(var(--entry-x),var(--entry-y));
    transform: translate(var(--entry-x), var(--entry-y));
    opacity: .8;
  }
  to {
    --xhs-transform:translate(0,0);
    transform: translate(0, 0);
    opacity: 1;
  }
}
@keyframes customer-sit {
  0% {
    --xhs-transform:translateY(0);
    transform: translateY(0);
  }
  22% {
    --xhs-transform:translateY(2%) scaleY(.96);
    transform: translateY(2%) scaleY(.96);
  }
  58% {
    --xhs-transform:translateY(-16%);
    transform: translateY(-16%);
  }
  82% {
    --xhs-transform:translateY(-6%);
    transform: translateY(-6%);
  }
  100% {
    --xhs-transform:translateY(-8%);
    transform: translateY(-8%);
  }
}
@keyframes customer-stand {
  0% {
    --xhs-transform:translateY(-8%);
    transform: translateY(-8%);
  }
  35% {
    --xhs-transform:translateY(-13%);
    transform: translateY(-13%);
  }
  80% {
    --xhs-transform:translateY(2%);
    transform: translateY(2%);
  }
  100% {
    --xhs-transform:translateY(0);
    transform: translateY(0);
  }
}
@keyframes standing-to-seat {
  0%, 35% {
    opacity: 1;
  }
  62%, 100% {
    opacity: 0;
  }
}
@keyframes seat-appear {
  0%, 35% {
    opacity: 0;
  }
  62%, 100% {
    opacity: 1;
  }
}
@keyframes customer-exit {
  from {
    --xhs-transform:translate(0,0);
    transform: translate(0, 0);
    opacity: 1;
  }
  to {
    --xhs-transform:translate(var(--entry-x),var(--entry-y));
    transform: translate(var(--entry-x), var(--entry-y));
    opacity: .8;
  }
}
.material-unlock.can-develop {
  outline: 2px solid #dc9c5c;
  box-shadow: 0 0 0 4px rgba(255, 228, 184, .6);
  animation: research-pulse 1.3s ease-in-out infinite alternate;
}
@keyframes research-pulse {
  to {
    box-shadow: 0 0 0 8px rgba(255, 228, 184, .333);
  }
}
.research-guide {
  display: block;
  --xhs-width:var(--xhs-local-3);
  width: var(--xhs-local-3);
  width: min(100%, 310px);
  margin: 2px auto 0;
  padding: 7px 10px;
  border: 2px solid #c89977;
  border-radius: 12px;
  background: #fff0d7;
  color: #815f50;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 2px 0 #dec4aa;
}
.research-reward {
  position: absolute;
  z-index: 12;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  align-items: center;
  justify-items: center;
  place-items: center;
  background: rgba(48, 39, 52, .66);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.reward-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  --xhs-width:100%;
  width: 100%;
  padding: 16px;
  text-align: center;
  filter: drop-shadow(0 6px 10px #2f243677);
}
.reward-card h2 {
  margin: 0;
  color: #fff4c9;
  font-size: 24px;
  letter-spacing: .12em;
  -webkit-text-stroke: .7px #9a627a;
  text-shadow: 0 3px #744a67, 0 5px 8px #3f304b;
}
.reward-badge {
  position: relative;
  --xhs-width:var(--xhs-math-3);
  width: var(--xhs-math-3);
  width: min(62vw, 238px);
  --xhs-aspect-ratio:1;
  aspect-ratio: 1;
  margin: 9px 0 5px;
}
.reward-burst {
  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: contain;
}
.reward-drink {
  position: absolute;
  left: 50%;
  top: 48%;
  --xhs-transform:translate(-50%,-50%);
  transform: translate(-50%, -50%);
  --xhs-height:78%;
  height: 78%;
  max-width: 60%;
  object-fit: contain;
  filter: drop-shadow(0 5px 3px #634c54a1);
}
.reward-card > b {
  max-width: 94%;
  padding: 7px 18px;
  border: 2px solid #e8c19d;
  border-radius: 22px;
  background: #fff2dc;
  color: #8b5365;
  font-size: 17px;
  box-shadow: 0 4px 0 #ac7480;
}
.reward-preview {
  display: flex;
  --xhs-row-gap:7px;
  --xhs-column-gap:7px;
  grid-gap: 7px;
  gap: 7px;
  max-width: 100%;
  margin-top: 10px;
  padding: 5px;
  overflow-x: auto;
}
.reward-preview > span {
  flex: 0 0 65px;
  display: flex;
  flex-direction: column;
  align-items: center;
  --xhs-row-gap:2px;
  --xhs-column-gap:2px;
  grid-gap: 2px;
  gap: 2px;
  padding: 4px;
  border-radius: 10px;
  background: rgba(255, 248, 238, .91);
  color: #76566b;
  font-size: 9px;
}
.reward-preview img {
  --xhs-width:48px;
  width: 48px;
  --xhs-height:51px;
  height: 51px;
  object-fit: contain;
}
.reward-preview b {
  line-height: 1.2;
}
.reward-card small {
  margin: 13px 0;
  color: #fff5e6;
  font-size: 12px;
  text-shadow: 0 2px 4px #423249;
}
.reward-card button {
  min-width: 130px;
  margin-top: 8px;
  padding: 10px 18px;
  border: 2px solid #f4d6ae;
  border-radius: 14px;
  background: #e8b7be;
  color: #5f4255;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 3px 0 #9d7687;
}
.research-bottom.xhs-has-0 .merge-board {
  --xhs-width:var(--xhs-local-4);
  width: var(--xhs-local-4);
  width: min(100%, 290px, calc(50dvh - 152px));
}
.research-bottom:has(.research-guide:not(.hidden)) .merge-board {
  --xhs-width:var(--xhs-local-4);
  width: var(--xhs-local-4);
  width: min(100%, 290px, calc(50dvh - 152px));
}
.development {
  justify-content: flex-start;
}
.recipe-catalog {
  --xhs-width:100%;
  width: 100%;
  display: grid;
  --xhs-row-gap:8px;
  --xhs-column-gap:8px;
  grid-gap: 8px;
  gap: 8px;
  overflow: auto;
  min-height: 0;
  margin-top: 8px;
}
.recipe-purchase {
  display: flex;
  align-items: center;
  --xhs-row-gap:9px;
  --xhs-column-gap:9px;
  grid-gap: 9px;
  gap: 9px;
  padding: 7px;
  border: 2px solid #d0bccc;
  border-radius: 13px;
  background: #fffdf9;
  text-align: left;
}
.recipe-purchase img {
  --xhs-width:48px;
  width: 48px;
  --xhs-height:54px;
  height: 54px;
  object-fit: contain;
}
.recipe-purchase span {
  flex: 1;
  min-width: 0;
}
.recipe-purchase b,
.recipe-purchase small {
  display: block;
}
.recipe-purchase b {
  font-size: 11px;
}
.recipe-purchase small {
  color: #927f96;
  font-size: 10px;
}
.recipe-purchase button {
  padding: 7px 5px;
  border: 2px solid #947e95;
  border-radius: 9px;
  background: #edf4e6;
  color: #59775d;
  font-size: 10px;
  font-weight: 900;
}
.recipe-purchase button:disabled {
  background: #f0ecee;
  color: #a99ca9;
  border-color: #c7b8c6;
}
.nav-row {
  grid-template-columns: repeat(3, 1fr);
}
.chapter-modal {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  max-height: none;
  border: 0;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-top: calc(17px + var(--safe-area-inset-top,0px));
  padding-top: calc(17px + var(--safe-area-inset-top,env(safe-area-inset-top,0px)));
}
.chapter-modal .modal-intro {
  margin: 7px 0 10px;
}
.chapter-map,
.chapter-play {
  min-height: 0;
  overflow: auto;
  scrollbar-width: thin;
}
.chapter-tutorial {
  --xhs-width:100%;
  width: 100%;
  padding: 11px;
  border: 2px solid #a889a4;
  border-radius: 12px;
  background: #fff5e5;
  color: #66516f;
  font-weight: 900;
}
.chapter-group {
  margin: 9px 0;
  padding: 9px;
  border: 2px solid #d4bfd0;
  border-radius: 14px;
  background: #fffdf9;
}
.chapter-group h3 {
  font-size: 12px;
  margin: 0 0 8px;
}
.chapter-group > div {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  --xhs-row-gap:5px;
  --xhs-column-gap:5px;
  grid-gap: 5px;
  gap: 5px;
}
.chapter-group button {
  min-height: 54px;
  border: 2px solid #baa0b7;
  border-radius: 9px;
  background: #fdf2e7;
  color: #654f69;
  font-weight: 900;
  font-size: 12px;
}
.chapter-group button:disabled {
  opacity: .62;
}
.chapter-group button small,
.chapter-group button span {
  display: block;
  font-size: 10px;
}
.chapter-group button span {
  color: #d89d50;
}
.chapter-play {
  display: flex;
  flex-direction: column;
  --xhs-row-gap:9px;
  --xhs-column-gap:9px;
  grid-gap: 9px;
  gap: 9px;
  padding-bottom: var(--safe-area-inset-bottom,0px);
  padding-bottom: var(--safe-area-inset-bottom,env(safe-area-inset-bottom,0px));
}
.chapter-play > b {
  display: block;
  padding: 9px;
  border-radius: 10px;
  background: #ede4f3;
  font-size: 12px;
  text-align: center;
}
.chapter-customers {
  display: grid;
  --xhs-row-gap:5px;
  --xhs-column-gap:5px;
  grid-gap: 5px;
  gap: 5px;
  min-height: 70px;
}
.challenge-customer {
  position: relative;
  display: flex;
  align-items: center;
  --xhs-row-gap:7px;
  --xhs-column-gap:7px;
  grid-gap: 7px;
  gap: 7px;
  min-height: 62px;
  overflow: hidden;
  padding: 5px;
  border: 2px solid #c5adc1;
  border-radius: 11px;
  background: #fffdf9;
  text-align: left;
}
.challenge-customer.selected {
  border-color: #d79557;
  background: #fff4db;
}
.challenge-customer img {
  --xhs-width:39px;
  width: 39px;
  --xhs-height:43px;
  height: 43px;
  object-fit: contain;
}
.challenge-customer span {
  flex: 1;
}
.challenge-customer b,
.challenge-customer small {
  display: block;
  font-size: 10px;
}
.challenge-customer small {
  color: #8d778f;
}
.challenge-customer i {
  position: absolute;
  left: 0;
  bottom: 0;
  --xhs-height:5px;
  height: 5px;
  background: #86bc93;
}
.challenge-customer .challenge-guest {
  flex: none;
}
.challenge-customer .challenge-drink {
  flex: none;
  --xhs-width:31px;
  width: 31px;
  --xhs-height:39px;
  height: 39px;
}
.chapter-machines,
.chapter-ingredients {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  --xhs-row-gap:6px;
  --xhs-column-gap:6px;
  grid-gap: 6px;
  gap: 6px;
}
.chapter-machines {
  grid-template-columns: repeat(3, 1fr);
}
.chapter-machines button,
.chapter-ingredients button,
.chapter-tea {
  min-height: 42px;
  padding: 6px;
  border: 2px solid #a88eaa;
  border-radius: 10px;
  background: #fff8ed;
  color: #66516f;
  font-weight: 900;
  font-size: 11px;
}
.chapter-machines small,
.chapter-ingredients small {
  display: block;
  font-size: 10px;
  font-weight: 500;
}
.chapter-machines button:disabled,
.chapter-ingredients button:disabled,
.chapter-tea:disabled {
  opacity: .55;
}
.chapter-tea {
  --xhs-width:100%;
  width: 100%;
  background: #e9f1de;
}
.chapter-cup {
  --xhs-width:100%;
  width: 100%;
  padding: 9px;
  border: 2px solid #d1b9cb;
  border-radius: 10px;
  background: #e5f1d9;
  color: #66516f;
  text-align: left;
  font-size: 11px;
}
.chapter-cup:disabled {
  background: #fffdf9;
  opacity: .7;
}
.chapter-combo {
  display: block;
  text-align: center;
  color: #b66c6c;
}
.chapter-result {
  padding: 12px;
  border: 2px solid #d3a572;
  border-radius: 13px;
  background: #fff1d9;
  font-size: 12px;
  line-height: 1.5;
}
.dashboard {
  flex-basis: 150px;
}
.cashbox-button {
  display: block;
  --xhs-width:100%;
  width: 100%;
  --xhs-height:27px;
  height: 27px;
  margin: 0 0 7px;
  padding: 3px 9px;
  border: 1px solid #c49e79;
  border-radius: 9px;
  background: #fff3db;
  color: #775c53;
  text-align: left;
  font-size: 10px;
  font-weight: 900;
}
.cashbox-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  --xhs-row-gap:8px;
  --xhs-column-gap:8px;
  grid-gap: 8px;
  gap: 8px;
  margin: 10px 0;
  padding: 10px;
  border: 2px solid #d0bccc;
  border-radius: 12px;
  background: #fffdf9;
}
.cashbox-row b {
  font-size: 11px;
}
.cashbox-row button {
  flex: none;
  padding: 7px;
  border: 2px solid #947e95;
  border-radius: 9px;
  background: #edf4e6;
  color: #59775d;
  font-size: 10px;
  font-weight: 900;
}
.cashbox-row button:disabled {
  opacity: .55;
}
.upgrade-locked {
  color: #b5575e !important;
}
.scene-plant {
  z-index: 360;
  left: 50%;
  top: 43%;
  --xhs-width:17%;
  width: 17%;
  --xhs-height:14%;
  height: 14%;
  object-fit: contain;
}
@media (max-width: 760px) {
  .dashboard {
    flex-basis: calc(150px + var(--safe-area-inset-bottom,0px));
    flex-basis: calc(150px + var(--safe-area-inset-bottom,env(safe-area-inset-bottom,0px)));
  }
}
@media (max-height: 700px) {
  .dashboard {
    flex-basis: 140px;
  }
  .cashbox-button {
    --xhs-height:24px;
    height: 24px;
    margin-bottom: 4px;
  }
}
@media (max-height: 700px) and (max-width: 760px) {
  .dashboard {
    flex-basis: calc(140px + var(--safe-area-inset-bottom,0px));
    flex-basis: calc(140px + var(--safe-area-inset-bottom,env(safe-area-inset-bottom,0px)));
  }
}
.level-notice {
  position: absolute;
  z-index: 40;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  align-items: center;
  justify-items: center;
  place-items: center;
  padding: 20px;
  background: rgba(51, 43, 58, .667);
}
.level-notice > div {
  --xhs-width:100%;
  width: 100%;
  padding: 25px 20px;
  border: 3px solid #a98e9f;
  border-radius: 22px;
  background: #fff9ef;
  text-align: center;
  box-shadow: 0 10px 0 #6b566a;
}
.level-notice h2 {
  margin: 0 0 11px;
  font-size: 21px;
}
.level-notice p {
  font-size: 12px;
  line-height: 1.65;
}
.level-notice button {
  padding: 9px 28px;
  border: 2px solid #a98e9f;
  border-radius: 11px;
  background: #e8b7be;
  color: #5f4255;
  font-weight: 900;
}
#unlockModal .supply-label {
  bottom: 5px;
  line-height: 1.35;
  display: flex;
  flex-direction: column;
  align-items: center;
  --xhs-row-gap:2px;
  --xhs-column-gap:2px;
  grid-gap: 2px;
  gap: 2px;
}
#drawWallet {
  font-size: 10px;
  color: #725e70;
}
#drawRulesButton {
  pointer-events: auto;
  min-height: 28px;
  border: 0;
  border-bottom: 1px solid #b39bad;
  padding: 2px 9px;
  background: rgba(255, 247, 234, .8);
  border-radius: 8px;
  color: #73566d;
  font-size: 11px;
}
#unlockModal .research-panda {
  bottom: 64px;
  --xhs-height:calc(100% - 198px);
  height: calc(100% - 198px);
}
#drawRules {
  z-index: 20;
  overflow: auto;
  top: 5%;
  right: 5%;
  bottom: 5%;
  left: 5%;
  top: 5%;
  right: 5%;
  bottom: 5%;
  left: 5%;
  padding: 36px 24px 24px;
  text-align: left;
}
#drawRules .close-btn {
  position: absolute;
  right: 8px;
  top: 6px;
}
#drawRules h2 {
  font-size: 20px;
  text-align: center;
}
#drawRules p {
  font-size: 13px;
  line-height: 1.65;
}
#drawRules table {
  --xhs-width:100%;
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
#drawRules th,
#drawRules td {
  padding: 7px 4px;
  border-bottom: 1px solid #decbbd;
  text-align: left;
}
#drawRules th {
  font-weight: 700;
}
@media (max-height: 700px) {
  #unlockModal .research-panda {
    bottom: 63px;
    --xhs-height:calc(100% - 183px);
    height: calc(100% - 183px);
  }
}
#drawRules {
  --xhs-transform:none;
  transform: none;
  max-height: 90%;
  display: block;
}
#drawRules.hidden {
  display: none;
}
#unlockModal #materialPanda {
  bottom: 64px;
  --xhs-height:calc(100% - 198px);
  height: calc(100% - 198px);
}
@media (max-height: 650px) {
  #unlockModal #materialPanda {
    bottom: 24px;
    --xhs-height:100px;
    height: 100px;
  }
  #unlockModal #supplyLabel {
    left: 116px;
    right: 12px;
    --xhs-width:auto;
    width: auto;
    bottom: 5px;
    font-size: 10px;
  }
  #drawWallet {
    font-size: 9px;
  }
}
#unlockModal #materialPanda {
  min-height: 66px;
  min-width: 44px;
}
@media (max-height: 650px) {
  #unlockModal #supplyLabel {
    --xhs-row-gap:0;
    --xhs-column-gap:0;
    grid-gap: 0;
    gap: 0;
    line-height: 1.15;
  }
  #unlockModal .research-xp {
    margin-top: 0;
  }
}
