/* Forest Kitchen v14: continuous countertop cooking interaction */
.wechat-app--forest-immersive .forest-screen-play .forest-workbench {
  border-color: rgba(130, 82, 40, .38);
  background:
    linear-gradient(90deg, transparent 0 49.5%, rgba(116, 75, 39, .08) 50%, transparent 50.5%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .08) 0 1px, transparent 1px 14px),
    #dba269;
  box-shadow: inset 0 0 0 3px rgba(255, 235, 195, .42), 3px 4px 0 rgba(102, 67, 41, .14);
}

.wechat-app--forest-immersive .forest-screen-play .forest-tray {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 3px;
}

.wechat-app--forest-immersive .forest-screen-play .forest-tray span {
  min-width: 0;
  min-height: 18px;
  padding: 2px 3px;
  border: 1px solid rgba(105, 72, 47, .2);
  border-radius: 5px;
  color: rgba(89, 62, 43, .62);
  background: rgba(255, 244, 218, .58);
  line-height: 1.05;
}

.wechat-app--forest-immersive .forest-screen-play .forest-tray span.current {
  color: #634229;
  background: #fff0bd;
  box-shadow: inset 0 -2px 0 #e5a84d;
}

.wechat-app--forest-immersive .forest-screen-play .forest-drop-zones {
  display: block;
  min-height: 18px;
  text-align: center;
}

.wechat-app--forest-immersive .forest-screen-play .forest-drop-zones span { display: none; }
.wechat-app--forest-immersive .forest-screen-play .forest-drop-zones span.current {
  width: auto;
  min-height: 18px;
  display: inline-grid;
  place-items: center;
  padding: 2px 12px;
  border: 1px dashed rgba(105, 72, 47, .35);
  border-radius: 999px;
  color: #795236;
  background: rgba(255, 248, 225, .72);
  font-size: clamp(8px, 1.35vmin, 10px);
}

.wechat-app--forest-immersive .forest-screen-play .forest-plate-preview {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border: 4px solid rgba(93, 103, 66, .25);
  border-radius: 12px;
  background:
    linear-gradient(90deg, transparent 49.5%, rgba(255,255,255,.08) 50%, transparent 50.5%),
    linear-gradient(0deg, transparent 49.5%, rgba(255,255,255,.08) 50%, transparent 50.5%),
    #899673;
  box-shadow: inset 0 0 20px rgba(43, 62, 45, .15), 0 2px 0 rgba(255,255,255,.35);
}

.wechat-app--forest-immersive .forest-screen-play .forest-ingredient-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(4px, .8vmin, 7px);
  padding: clamp(4px, .75vmin, 7px);
  border: 2px solid rgba(123, 77, 40, .28);
  border-radius: 12px;
  background: linear-gradient(180deg, #efc58f, #d99c5e);
  box-shadow: inset 0 2px 0 rgba(255, 237, 207, .7), 0 3px 0 rgba(111, 70, 38, .14);
}

.wechat-app--forest-immersive .forest-screen-play .forest-ingredient {
  position: relative;
  min-width: 0;
  overflow: visible;
  border-color: rgba(104, 72, 49, .24);
  border-radius: 9px;
  background: rgba(255, 244, 218, .92);
  box-shadow: 0 2px 0 rgba(104, 72, 49, .16);
  transition: transform 160ms ease, opacity 160ms ease, box-shadow 160ms ease;
}

.wechat-app--forest-immersive .forest-screen-play .forest-ingredient b {
  min-width: 0;
  overflow: hidden;
  color: #704c34;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wechat-app--forest-immersive .forest-screen-play .forest-ingredient small {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 14px;
  height: 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff9ea;
  background: #9b6a43;
  font-size: 8px;
  line-height: 1;
}

.wechat-app--forest-immersive .forest-screen-play .forest-ingredient.is-current {
  z-index: 2;
  transform: translateY(-3px);
  border-color: #9d6335;
  box-shadow: 0 5px 0 rgba(120, 76, 42, .2), 0 0 0 3px rgba(255, 233, 156, .65);
}

.wechat-app--forest-immersive .forest-screen-play .forest-ingredient.is-done {
  opacity: .54;
  filter: saturate(.7);
}

.wechat-app--forest-immersive .forest-screen-play .forest-ingredient span {
  position: relative;
  display: block;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.wechat-app--forest-immersive .forest-screen-play .forest-ingredient span::before,
.wechat-app--forest-immersive .forest-screen-play .forest-ingredient span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  transform: translate(-50%, -50%);
}

.wechat-app--forest-immersive .forest-ingredient.is-mix span::before {
  width: 24px;
  height: 24px;
  border-radius: 5px 5px 9px 9px;
  background: linear-gradient(90deg, #f5d9a0 0 48%, #bfe0e3 49% 100%);
  box-shadow: -11px 8px 0 -5px #fff5dd, 11px 7px 0 -6px #fff;
}
.wechat-app--forest-immersive .forest-ingredient.is-mix span::after { width: 19px; height: 4px; border-radius: 2px; background: #9e774f; transform: translate(-50%, -9px); }
.wechat-app--forest-immersive .forest-ingredient.is-knead span::before { width: 7px; height: 29px; border-radius: 5px; background: linear-gradient(180deg, #b76e3e 0 42%, #f0c56d 43%); transform: translate(-50%, -50%) rotate(28deg); }
.wechat-app--forest-immersive .forest-ingredient.is-knead span::after { width: 18px; height: 9px; border-radius: 50%; background: #f6dfaa; transform: translate(-2px, 6px) rotate(28deg); }
.wechat-app--forest-immersive .forest-ingredient.is-bake span::before { width: 28px; height: 24px; border-radius: 5px; background: #91b9c1; border: 3px solid #e8ddd0; box-shadow: inset 0 0 0 4px #6f8890; }
.wechat-app--forest-immersive .forest-ingredient.is-bake span::after { width: 4px; height: 4px; border-radius: 50%; background: #ba7652; box-shadow: 0 8px 0 #ba7652; transform: translate(9px, -7px); }
.wechat-app--forest-immersive .forest-ingredient.is-fill span::before { width: 22px; height: 25px; border-radius: 5px 5px 9px 9px; background: linear-gradient(180deg, #ead4bd 0 25%, #c45470 26%); box-shadow: inset 0 0 0 2px rgba(120,64,54,.12); }
.wechat-app--forest-immersive .forest-ingredient.is-fill span::after { width: 12px; height: 3px; background: #fff1d4; box-shadow: 0 4px 0 rgba(255,241,212,.75); }
.wechat-app--forest-immersive .forest-ingredient.is-decorate span::before { width: 22px; height: 27px; border-radius: 50% 50% 25% 25%; background: linear-gradient(90deg, #fff4dc, #e5be78); clip-path: polygon(18% 0, 82% 0, 63% 100%, 37% 100%); transform: translate(-50%, -50%) rotate(-17deg); }
.wechat-app--forest-immersive .forest-ingredient.is-decorate span::after { width: 5px; height: 5px; border-radius: 50%; background: #cf5d70; box-shadow: 7px 2px 0 #f2c64e, -6px 3px 0 #7fae78; transform: translate(8px, 10px); }
.wechat-app--forest-immersive .forest-ingredient.is-serve span::before { width: 27px; height: 12px; border-radius: 15px 15px 4px 4px; background: #efb74f; border: 2px solid #a66c2e; transform: translate(-50%, -25%); }
.wechat-app--forest-immersive .forest-ingredient.is-serve span::after { width: 7px; height: 7px; border-radius: 50%; background: #f6ce72; border: 2px solid #a66c2e; transform: translate(-50%, -13px); }

.wechat-app--forest-immersive .forest-tactile-food {
  width: 100%;
  min-height: 100%;
  overflow: hidden;
}

.wechat-app--forest-immersive .forest-tactile-food i {
  width: clamp(86px, 17vmin, 138px);
  height: clamp(45px, 9vmin, 76px);
  opacity: 0;
  border: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 54% 42%, #f3d89c 0 13%, #fff1c9 14% 42%, #e6c58e 43% 100%);
  box-shadow: 0 7px 0 rgba(85, 69, 43, .12);
  transform: translate(-50%, -50%) scale(var(--knead-scale, .5));
  transition: transform 200ms ease, opacity 180ms ease, background 220ms ease;
}

.wechat-app--forest-immersive .forest-tactile-food.made-mix i,
.wechat-app--forest-immersive .forest-tactile-food.step-knead i,
.wechat-app--forest-immersive .forest-tactile-food.made-knead i,
.wechat-app--forest-immersive .forest-tactile-food.made-bake i { opacity: 1; }

.wechat-app--forest-immersive .forest-tactile-food.made-mix:not(.made-knead) i {
  border-radius: 45% 55% 48% 52%;
  background: radial-gradient(circle at 54% 43%, #f3d99d 0 12%, #fff4d5 13% 45%, #ead4ac 46% 100%);
  filter: drop-shadow(-26px 9px 0 rgba(255,242,211,.8)) drop-shadow(26px 8px 0 rgba(245,220,170,.62));
}

.wechat-app--forest-immersive .forest-tactile-food.made-bake i {
  height: clamp(52px, 10vmin, 82px);
  border-radius: 50% 50% 22% 22% / 58% 58% 30% 30%;
  background:
    linear-gradient(65deg, transparent 0 44%, rgba(255,239,190,.78) 45% 51%, transparent 52%) 28% 20% / 25% 45% no-repeat,
    linear-gradient(65deg, transparent 0 44%, rgba(255,239,190,.78) 45% 51%, transparent 52%) 58% 18% / 25% 45% no-repeat,
    linear-gradient(180deg, #f4c36f, #c97d37);
  box-shadow: inset 0 -9px 0 rgba(143,72,27,.16), 0 8px 0 rgba(85, 55, 33, .13);
  filter: none;
  transform: translate(-50%, -50%) scale(1);
}

.wechat-app--forest-immersive .forest-tactile-food b {
  width: clamp(62px, 12vmin, 100px);
  height: clamp(25px, 5vmin, 42px);
  opacity: var(--fill-scale, 0);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 35%, rgba(255,255,255,.58) 0 8%, transparent 9%), #d75a76;
  box-shadow: -12px 4px 0 rgba(190,61,92,.5), 13px 5px 0 rgba(229,110,134,.5);
  transform: translate(-50%, -35%) scale(1);
}

.wechat-app--forest-immersive .forest-tactile-food.berry-blueberry b { background-color: #7189c9; box-shadow: -12px 4px 0 rgba(89,110,174,.5), 13px 5px 0 rgba(146,168,223,.5); }
.wechat-app--forest-immersive .forest-tactile-food.berry-raspberry b { background-color: #b94768; }

.wechat-app--forest-immersive .forest-tactile-food em,
.wechat-app--forest-immersive .forest-tactile-food u { opacity: var(--decorate-scale, 0); }

.wechat-app--forest-immersive .forest-food-tool {
  position: absolute;
  z-index: 6;
  left: calc(50% + 48px);
  top: calc(50% - 28px);
  width: 10px;
  height: 58px;
  display: none;
  border-radius: 7px;
  background: linear-gradient(180deg, #b66d3d 0 50%, #f2c86f 51%);
  box-shadow: 0 2px 0 rgba(90,55,32,.16);
  transform: rotate(31deg);
  transform-origin: 50% 80%;
  pointer-events: none;
}

.wechat-app--forest-immersive .forest-food-tool::after {
  content: "";
  position: absolute;
  left: -7px;
  bottom: -4px;
  width: 24px;
  height: 13px;
  border-radius: 50%;
  background: #fff1c8;
}

.wechat-app--forest-immersive .forest-tactile-food.step-knead .forest-food-tool,
.wechat-app--forest-immersive .forest-tactile-food.step-fill .forest-food-tool,
.wechat-app--forest-immersive .forest-tactile-food.step-decorate .forest-food-tool { display: block; }

.wechat-app--forest-immersive .forest-workbench.is-pressing .forest-food-tool {
  animation: forest-tool-stir 420ms ease-in-out infinite alternate;
}

.wechat-app--forest-immersive .forest-food-crumbs {
  position: absolute;
  inset: 18% 22%;
  opacity: .56;
  background:
    radial-gradient(circle at 10% 30%, #fff1c9 0 2px, transparent 3px),
    radial-gradient(circle at 88% 24%, #f6d991 0 2px, transparent 3px),
    radial-gradient(circle at 76% 82%, #fff1c9 0 2px, transparent 3px),
    radial-gradient(circle at 24% 76%, #e9c98a 0 2px, transparent 3px);
  pointer-events: none;
}

.wechat-app--forest-immersive .forest-workbench.is-receiving .forest-plate-preview {
  animation: forest-counter-receive 360ms ease-out;
}

.forest-flying-ingredient {
  position: fixed !important;
  z-index: 12000 !important;
  margin: 0 !important;
  pointer-events: none !important;
  transform-origin: center;
  border: 2px solid rgba(104,72,49,.28) !important;
  border-radius: 10px !important;
  color: #704c34 !important;
  background: #fff0cf !important;
  box-shadow: 0 10px 22px rgba(70,44,27,.22) !important;
}

@keyframes forest-tool-stir {
  from { transform: translate(-18px, 2px) rotate(18deg); }
  to { transform: translate(18px, -3px) rotate(42deg); }
}

@keyframes forest-counter-receive {
  0% { transform: scale(1); box-shadow: inset 0 0 20px rgba(43,62,45,.15), 0 2px 0 rgba(255,255,255,.35); }
  48% { transform: scale(.975); box-shadow: inset 0 0 0 5px rgba(255,232,142,.5), 0 2px 0 rgba(255,255,255,.35); }
  100% { transform: scale(1); box-shadow: inset 0 0 20px rgba(43,62,45,.15), 0 2px 0 rgba(255,255,255,.35); }
}

@media (prefers-reduced-motion: reduce) {
  .wechat-app--forest-immersive .forest-workbench.is-pressing .forest-food-tool,
  .wechat-app--forest-immersive .forest-workbench.is-receiving .forest-plate-preview { animation: none !important; }
}

/* Keep the live hit areas on the original v2 illustrated boards. */
#wechatApp.wechat-app--forest-immersive .forest-ui-v2 {
  background-image: url('../assets/forest-kitchen/forest-ui-pages-v2.webp') !important;
  background-size: 300% 100% !important;
  background-position: 0 0 !important;
  background-blend-mode: normal;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2::after {
  display: none !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play { background-position: 100% 0 !important; }
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-result { background-position: 50% 0 !important; }

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-order-ticket .forest-order-dish,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-oven span,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-tool span,
#wechatApp.wechat-app--forest-immersive .forest-ui-sprite {
  background-image: url('../assets/forest-kitchen/forest-ui-sprites-v2.webp') !important;
  filter: none;
}

/* The level screen is a fixed portrait artboard. It must not become a long
   document, otherwise the start control falls below the first screen. */
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-page,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-home {
  height: 100% !important;
  min-height: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-home {
  display: block !important;
  background-position: 0 0 !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-home .forest-ui-home-sign { position: absolute !important; left: 19.3% !important; top: 2.55% !important; width: 61.5% !important; height: 8.15% !important; min-height: 0 !important; padding: 1.2% 4% !important; }
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-home .forest-ui-level-track { position: absolute !important; left: 5.8% !important; top: 24.25% !important; width: 83.5% !important; height: 8.2% !important; padding: 0 !important; }
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-home .forest-ui-level-cards { position: absolute !important; left: 5.2% !important; top: 34.15% !important; width: 89.5% !important; height: 13.8% !important; min-height: 0 !important; }
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-home .forest-ui-portrait-heading { position: absolute !important; left: 9% !important; top: 49.2% !important; width: 82% !important; height: 2.8% !important; padding: 0 !important; }
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-home .forest-ui-portrait-grid { position: absolute !important; left: 5.7% !important; top: 51.05% !important; width: 88.8% !important; height: 18.8% !important; grid-template-columns: repeat(6, minmax(0, 1fr)) !important; grid-template-rows: repeat(2, minmax(0, 1fr)) !important; }
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-home .forest-ui-station-grid { position: absolute !important; left: 4% !important; top: 72.15% !important; width: 92% !important; height: 17.65% !important; min-height: 0 !important; }
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-home .forest-ui-station-card { min-height: 0 !important; padding: 0 5% 7% !important; border: 0 !important; border-radius: 8px !important; background: transparent !important; box-shadow: none !important; }
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-home .forest-ui-start { position: absolute !important; left: 24.7% !important; top: 92.1% !important; bottom: auto !important; width: 50.6% !important; height: 5.8% !important; margin: 0 !important; }
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-home .forest-ui-level-card { min-height: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }

@media screen {
  .wechat-app--forest-immersive.wechat-app--forest-play-portrait .wechat-content--forest-game {
    left: 0;
    top: 0;
    width: 100vw;
    height: 100dvh;
    transform: none;
  }

  .wechat-app--forest-play-portrait .forest-screen-play {
    grid-template-rows: 38px 96px minmax(0, 1fr) 116px 88px;
    gap: 6px;
    padding: 6px;
  }

  .wechat-app--forest-play-portrait .forest-play-hud {
    grid-template-columns: 34px 54px 60px minmax(72px, 1fr) 60px 34px;
    gap: 4px;
  }

  .wechat-app--forest-play-portrait .forest-hud-pill {
    height: 32px;
    padding: 0 5px;
    font-size: 9px;
  }

  .wechat-app--forest-play-portrait .forest-order-rail { gap: 4px; }

  .wechat-app--forest-play-portrait .forest-order-ticket {
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 4px;
    column-gap: 4px;
  }

  .wechat-app--forest-play-portrait .forest-order-ticket .forest-customer-face.forest-character-art {
    width: 34px;
    height: 44px;
    flex-basis: 34px;
  }

  .wechat-app--forest-play-portrait .forest-order-ticket .forest-order-chips {
    max-height: 36px;
    overflow: hidden;
  }

  .wechat-app--forest-play-portrait .forest-play-scene {
    position: relative;
    display: block;
    min-height: 0;
  }

  .wechat-app--forest-play-portrait .forest-kitchen-table {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-rows: 82px 28px minmax(0, 1fr);
    gap: 5px;
  }

  .wechat-app--forest-play-portrait .forest-screen-play .forest-customer-card {
    padding: 7px 96px 7px 8px;
  }

  .wechat-app--forest-play-portrait .forest-screen-play .forest-customer-card .forest-customer-face.forest-character-art {
    width: 50px;
    height: 66px;
    flex-basis: 50px;
  }

  .wechat-app--forest-play-portrait .forest-screen-play .forest-partner-stage {
    position: absolute;
    z-index: 3;
    right: 5px;
    top: 5px;
    width: 86px;
    height: 72px;
    min-height: 0;
    padding: 4px;
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 4px;
  }

  .wechat-app--forest-play-portrait .forest-partner-figure .forest-partner-avatar.forest-character-art {
    width: 32px;
    height: 46px;
  }

  .wechat-app--forest-play-portrait .forest-screen-play .forest-partner-stage strong,
  .wechat-app--forest-play-portrait .forest-screen-play .forest-partner-stage small {
    max-height: 2.4em;
    overflow: hidden;
    font-size: 7px;
    line-height: 1.15;
    text-align: left;
  }

  .wechat-app--forest-play-portrait .forest-screen-play .forest-partner-stage .forest-mood {
    grid-column: 1 / -1;
    width: 100%;
  }

  .wechat-app--forest-play-portrait .forest-screen-play .forest-workbench {
    grid-template-rows: auto 20px minmax(0, 1fr) auto auto;
    padding: 6px;
  }

  .wechat-app--forest-play-portrait .forest-screen-play .forest-tray span {
    min-height: 25px;
    font-size: 8px;
  }

  .wechat-app--forest-play-portrait .forest-screen-play .forest-plate-preview { min-height: 100px; }

  .wechat-app--forest-play-portrait .forest-screen-play .forest-ingredient-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 5px;
    padding: 5px;
  }

  .wechat-app--forest-play-portrait .forest-screen-play .forest-ingredient {
    min-height: 0;
    padding: 4px;
    grid-template-columns: 34px minmax(0, 1fr);
    grid-template-rows: 1fr;
    align-items: center;
    gap: 4px;
  }

  .wechat-app--forest-play-portrait .forest-screen-play .forest-ingredient span {
    width: 30px;
    height: 30px;
  }

  .wechat-app--forest-play-portrait .forest-screen-play .forest-ingredient b {
    font-size: 10px;
    text-align: left;
  }

  .wechat-app--forest-play-portrait .forest-screen-play .forest-partner-panel {
    min-height: 0;
    padding: 6px 8px;
  }

  .wechat-app--forest-play-portrait .forest-screen-play .forest-partner-bubble p {
    max-height: 3.6em;
    font-size: 9px;
  }
}

/* Final product-layer guard: legacy P3 image-only rules must not hide the dish. */
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food.has-mix,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food.has-knead,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food.has-bake,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food.has-fill,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food.has-decorate,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food.has-serve {
  opacity: 1 !important;
  visibility: visible !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food.has-bake i,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food.has-knead i,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food.has-mix i,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food.has-fill b,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food.has-decorate em,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food.has-decorate u,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food.has-serve b,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food.has-serve em,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food.has-serve u {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

@media (max-height: 650px) {
  .wechat-app--forest-play-portrait .forest-screen-play {
    grid-template-rows: 32px 70px minmax(228px, 1fr) 108px 72px;
    gap: 4px;
    padding: 4px;
  }

  .wechat-app--forest-play-portrait .forest-play-hud {
    grid-template-columns: 30px 50px 54px minmax(66px, 1fr) 54px 30px;
    gap: 3px;
  }

  .wechat-app--forest-play-portrait .forest-hud-pill { height: 28px; font-size: 8px; }

  .wechat-app--forest-play-portrait .forest-order-ticket {
    grid-template-columns: 28px minmax(0, 1fr);
    min-width: 0;
    padding: 3px;
  }

  .wechat-app--forest-play-portrait .forest-order-ticket .forest-customer-face.forest-character-art {
    width: 28px;
    height: 36px;
    flex-basis: 28px;
  }

  .wechat-app--forest-play-portrait .forest-order-ticket .forest-order-chips {
    max-height: 24px;
    gap: 1px;
  }

  .wechat-app--forest-play-portrait .forest-order-ticket .forest-order-chips span:nth-child(n+4) { display: none; }

  .wechat-app--forest-play-portrait .forest-kitchen-table {
    grid-template-rows: 58px 20px minmax(146px, 1fr);
    gap: 3px;
  }

  .wechat-app--forest-play-portrait .forest-screen-play .forest-customer-card {
    padding: 4px 76px 4px 6px;
  }

  .wechat-app--forest-play-portrait .forest-screen-play .forest-customer-card .forest-customer-face.forest-character-art {
    width: 38px;
    height: 48px;
    flex-basis: 38px;
  }

  .wechat-app--forest-play-portrait .forest-screen-play .forest-customer-card small {
    max-height: 2.4em;
    font-size: 8px;
  }

  .wechat-app--forest-play-portrait .forest-screen-play .forest-accident {
    min-height: 20px;
    max-height: 20px;
    padding: 3px 7px;
    font-size: 8px;
    overflow: hidden;
  }

  .wechat-app--forest-play-portrait .forest-screen-play .forest-partner-stage {
    width: 68px;
    height: 50px;
    grid-template-columns: 25px minmax(0, 1fr);
    padding: 3px;
  }

  .wechat-app--forest-play-portrait .forest-partner-figure .forest-partner-avatar.forest-character-art {
    width: 25px;
    height: 35px;
  }

  .wechat-app--forest-play-portrait .forest-screen-play .forest-partner-stage small { display: none !important; }

  .wechat-app--forest-play-portrait .forest-screen-play .forest-workbench {
    grid-template-rows: 20px 16px minmax(62px, 1fr) 31px 10px;
    gap: 2px;
    padding: 4px;
  }

  .wechat-app--forest-play-portrait .forest-screen-play .forest-tray span {
    min-height: 20px;
    padding: 1px 2px;
    font-size: 7px;
  }

  .wechat-app--forest-play-portrait .forest-screen-play .forest-drop-zones,
  .wechat-app--forest-play-portrait .forest-screen-play .forest-drop-zones span.current { min-height: 16px; }

  .wechat-app--forest-play-portrait .forest-screen-play .forest-plate-preview { min-height: 62px; }

  .wechat-app--forest-play-portrait .forest-tactile-meter {
    margin: 1px 0;
    padding: 3px 6px;
  }

  .wechat-app--forest-play-portrait .forest-tactile-meter > span { font-size: 8px; }
  .wechat-app--forest-play-portrait .forest-tactile-meter > div { height: 7px; margin-top: 2px; }
  .wechat-app--forest-play-portrait .forest-tactile-meter small { display: none !important; }
  .wechat-app--forest-play-portrait .forest-screen-play .forest-next-step { font-size: 7px; }

  .wechat-app--forest-play-portrait .forest-screen-play .forest-ingredient-grid { gap: 3px; padding: 3px; }

  .wechat-app--forest-play-portrait .forest-screen-play .forest-ingredient {
    grid-template-columns: 28px minmax(0, 1fr);
    padding: 3px;
  }

  .wechat-app--forest-play-portrait .forest-screen-play .forest-ingredient span {
    width: 26px;
    height: 26px;
  }

  .wechat-app--forest-play-portrait .forest-screen-play .forest-ingredient b { font-size: 9px; }

  .wechat-app--forest-play-portrait .forest-screen-play .forest-partner-panel {
    padding: 4px 6px;
    gap: 4px;
  }

  .wechat-app--forest-play-portrait .forest-screen-play .forest-partner-bubble p {
    max-height: 2.5em;
    font-size: 8px;
    line-height: 1.2;
  }

  .wechat-app--forest-play-portrait .forest-screen-play .forest-partner-bubble > div {
    margin-top: 2px;
    max-height: 22px;
  }

  .wechat-app--forest-play-portrait .forest-screen-play .forest-partner-bubble button,
  .wechat-app--forest-play-portrait .forest-screen-play .forest-partner-panel > button {
    min-height: 22px;
    padding: 0 6px;
    font-size: 8px;
  }
}

/* Forest Kitchen v15: portrait-first flow and an active co-op partner */
.wechat-app--forest-immersive .forest-screen-play .forest-partner-panel {
  grid-template-columns: minmax(122px, .78fr) minmax(0, 1.22fr) auto;
}

.forest-partner-task {
  min-width: 0;
  min-height: 38px;
  padding: 5px 7px;
  display: grid;
  grid-template-rows: minmax(0, 1fr) 4px;
  gap: 4px;
  box-sizing: border-box;
  border: 1px solid rgba(49, 68, 90, .22);
  border-radius: 8px;
  color: #34475b;
  background: rgba(121, 151, 173, .1);
  transition: background-color 180ms ease, border-color 180ms ease;
}

.forest-partner-task > span {
  min-width: 0;
  display: block;
}

.forest-partner-task strong,
.forest-partner-task small {
  min-width: 0;
  display: block;
  overflow: hidden;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.forest-partner-task strong { color: #526d80; font-size: 9px; }
.forest-partner-task small { margin-top: 2px; color: #684937; font-size: 9px; }
.forest-partner-task.is-active { border-color: rgba(189, 91, 78, .4); background: rgba(255, 232, 188, .72); }
.forest-partner-task.is-rescue { border-color: rgba(189, 91, 78, .5); background: rgba(255, 218, 203, .76); }
.forest-partner-task-progress { height: 4px; overflow: hidden; border-radius: 999px; background: rgba(49, 68, 90, .12); }
.forest-partner-task-progress i { width: 0; height: 100%; display: block; border-radius: inherit; background: #7997ad; transition: width 220ms linear; }
.forest-partner-task.is-active .forest-partner-task-progress i { background: #bd5b4e; }

.wechat-app--forest-immersive .forest-partner-stage.is-working {
  border-color: rgba(189, 91, 78, .5);
  box-shadow: 0 0 0 3px rgba(255, 232, 188, .5), 4px 5px 0 rgba(49, 68, 90, .08);
}

.wechat-app--forest-immersive .forest-partner-stage.is-working .forest-partner-avatar {
  animation: forest-partner-working 520ms ease-out;
}

@keyframes forest-partner-working {
  0% { transform: translateY(0) scale(1); }
  48% { transform: translateY(-4px) scale(1.04); }
  100% { transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .wechat-app--forest-immersive .forest-partner-stage.is-working .forest-partner-avatar { animation: none !important; }
}

@media screen {
  .wechat-app--forest-immersive.wechat-app--forest-play-portrait .wechat-content--forest-game {
    left: 0;
    top: 0;
    width: 100vw;
    height: 100dvh;
    transform: none;
  }

  .wechat-app--forest-play-portrait .game-hub-page.forest-landscape,
  .wechat-app--forest-play-portrait .forest-kitchen-page.forest-landscape {
    overflow: hidden;
  }

  .wechat-app--forest-play-portrait .forest-screen-home {
    overflow: hidden;
  }

  .wechat-app--forest-play-portrait .forest-screen-home .forest-home-hud {
    left: 48px;
    right: 8px;
    top: 9px;
    gap: 4px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .wechat-app--forest-play-portrait .forest-screen-home .forest-home-hud span {
    min-width: 0;
    height: 28px;
    padding: 0 6px;
    justify-content: center;
    gap: 4px;
    font-size: 10px;
  }

  .wechat-app--forest-play-portrait .forest-screen-home .forest-wood-sign {
    top: 62px;
    min-width: 180px;
  }

  .wechat-app--forest-play-portrait .forest-screen-home .forest-home-counter {
    left: 14px;
    right: 14px;
    bottom: 108px;
    height: 58%;
    gap: 3px;
  }

  .wechat-app--forest-play-portrait .forest-home-counter .forest-mascot.forest-character-art {
    width: clamp(40px, 13vw, 54px);
    height: clamp(98px, 32vw, 126px);
    flex-basis: clamp(40px, 13vw, 54px);
    border-radius: 10px;
  }

  .wechat-app--forest-play-portrait .forest-screen-home .forest-start-btn {
    bottom: 34px;
    width: 190px;
    min-height: 50px;
    font-size: 20px;
  }

  .wechat-app--forest-play-portrait .forest-screen-home .forest-home-board { display: none; }

  .wechat-app--forest-play-portrait .forest-screen-levels {
    display: block;
    padding: 66px 10px 16px;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .wechat-app--forest-play-portrait .forest-screen-levels .forest-wood-sign.small {
    position: absolute;
    top: 10px;
    min-width: 150px;
  }

  .wechat-app--forest-play-portrait .forest-level-map {
    min-height: auto;
    padding: 9px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    align-content: start;
  }

  .wechat-app--forest-play-portrait .forest-level-card {
    min-height: 78px;
    padding: 7px 5px;
  }

  .wechat-app--forest-play-portrait .forest-level-card strong { font-size: 24px; }
  .wechat-app--forest-play-portrait .forest-level-card small { font-size: 10px; }
  .wechat-app--forest-play-portrait .forest-level-card em {
    max-height: 2.4em;
    margin-top: 4px;
    display: block;
    overflow: hidden;
    font-size: 8px;
    line-height: 1.2;
  }

  .wechat-app--forest-play-portrait .forest-level-side {
    width: 100%;
    height: auto;
    margin-top: 10px;
    display: grid;
    grid-template-rows: none;
    gap: 8px;
    overflow: visible;
  }

  .wechat-app--forest-play-portrait .forest-level-side .forest-panel {
    min-height: auto;
    max-height: none;
    padding: 9px;
    overflow: visible;
  }

  .wechat-app--forest-play-portrait .forest-level-side .forest-partner-list { max-height: 174px; }
  .wechat-app--forest-play-portrait .forest-level-side .forest-portrait-picker {
    max-height: 252px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .wechat-app--forest-play-portrait .forest-level-side .forest-station-grid {
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .wechat-app--forest-play-portrait .forest-level-side .forest-primary {
    position: sticky;
    bottom: 4px;
    min-height: 46px;
  }

  .wechat-app--forest-play-portrait .forest-screen-result {
    padding: 70px 10px 16px;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto auto;
    align-content: start;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .wechat-app--forest-play-portrait .forest-screen-result .forest-ribbon {
    top: 12px;
    min-width: 190px;
    padding: 8px 20px 10px;
  }

  .wechat-app--forest-play-portrait .forest-screen-result .forest-ribbon span { font-size: 21px; }

  .wechat-app--forest-play-portrait .forest-screen-result .forest-result-hero {
    width: 100%;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: center;
    gap: 7px;
  }

  .wechat-app--forest-play-portrait .forest-screen-result .forest-mascot.forest-character-art {
    width: 72px;
    height: 96px;
    align-self: center;
  }

  .wechat-app--forest-play-portrait .forest-screen-result .forest-mascot.chick.forest-character-art { display: none; }
  .wechat-app--forest-play-portrait .forest-screen-result .forest-result-copy { padding: 10px 8px; }
  .wechat-app--forest-play-portrait .forest-screen-result .forest-result-tab-panel { min-height: 174px; }
  .wechat-app--forest-play-portrait .forest-screen-result .forest-stars.big { gap: 9px; }
  .wechat-app--forest-play-portrait .forest-screen-result .forest-stars.big span { width: 46px; height: 46px; }
  .wechat-app--forest-play-portrait .forest-screen-result .forest-result-actions {
    width: min(100%, 310px);
    min-width: 0;
    margin-top: 10px;
  }

  .wechat-app--forest-play-portrait .forest-screen-result .forest-share-link { margin: 9px 0 0; }

  .wechat-app--forest-play-portrait .forest-screen-play .forest-partner-panel {
    grid-template-columns: minmax(96px, .78fr) minmax(0, 1.22fr) auto;
    align-items: stretch;
  }

  .wechat-app--forest-play-portrait .forest-screen-play .forest-partner-task {
    min-height: 0;
    padding: 4px 6px;
  }
}

@media (max-height: 650px) {
  .wechat-app--forest-play-portrait .forest-screen-home .forest-wood-sign { top: 48px; }
  .wechat-app--forest-play-portrait .forest-screen-home .forest-home-counter { bottom: 82px; height: 55%; }
  .wechat-app--forest-play-portrait .forest-screen-home .forest-start-btn { bottom: 20px; min-height: 44px; }

  .wechat-app--forest-play-portrait .forest-screen-play .forest-partner-panel {
    grid-template-columns: 78px minmax(0, 1fr) auto;
  }

  .wechat-app--forest-play-portrait .forest-screen-play .forest-partner-task {
    padding: 3px 4px;
    gap: 2px;
  }

  .wechat-app--forest-play-portrait .forest-screen-play .forest-partner-task strong,
  .wechat-app--forest-play-portrait .forest-screen-play .forest-partner-task small { font-size: 7px; }
  .wechat-app--forest-play-portrait .forest-screen-play .forest-partner-task small { max-height: 2.3em; white-space: normal; }
  .wechat-app--forest-play-portrait .forest-screen-play .forest-partner-task-progress { height: 3px; }

  .wechat-app--forest-play-portrait .forest-screen-result {
    padding-top: 58px;
    grid-template-rows: minmax(0, 1fr) auto auto;
  }

  .wechat-app--forest-play-portrait .forest-screen-result .forest-ribbon { top: 8px; padding-top: 6px; padding-bottom: 8px; }
  .wechat-app--forest-play-portrait .forest-screen-result .forest-ribbon span { font-size: 18px; }
  .wechat-app--forest-play-portrait .forest-screen-result .forest-result-hero { grid-template-columns: 54px minmax(0, 1fr); gap: 5px; }
  .wechat-app--forest-play-portrait .forest-screen-result .forest-mascot.forest-character-art { width: 54px; height: 72px; }
  .wechat-app--forest-play-portrait .forest-screen-result .forest-result-tab-panel { min-height: 142px; }
  .wechat-app--forest-play-portrait .forest-screen-result .forest-stars.big span { width: 36px; height: 36px; }
  .wechat-app--forest-play-portrait .forest-screen-result .forest-result-copy p { margin: 4px auto 6px; font-size: 10px; }
  .wechat-app--forest-play-portrait .forest-screen-result .forest-result-stats span { padding: 5px 3px; }
  .wechat-app--forest-play-portrait .forest-screen-result .forest-result-actions { margin-top: 5px; }
}

/* Forest Kitchen UI v2: P1 home artboard. */
.forest-ui-v2-page {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #e8e4c8;
}

.forest-ui-v2 {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  box-sizing: border-box;
  color: #704729;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  background-color: #e8e4c8 !important;
  background-image: url('../assets/forest-kitchen/forest-ui-pages-v2.webp') !important;
  background-repeat: no-repeat !important;
  background-size: 300% 100% !important;
}

.forest-ui-v2 button { font: inherit; letter-spacing: 0; -webkit-tap-highlight-color: transparent; }

.forest-ui-v2::before,
.forest-ui-v2::after { display: none !important; }

.forest-ui-v2-home { background-position: 0 0 !important; }

.forest-ui-back {
  position: absolute;
  z-index: 8;
  left: 2.6%;
  top: 1.2%;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 248, 226, .84);
  box-shadow: 0 2px 8px rgba(83, 55, 31, .16);
}

.forest-ui-back::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 13px;
  width: 13px;
  height: 13px;
  border-left: 3px solid #875b31;
  border-bottom: 3px solid #875b31;
  transform: rotate(45deg);
}

.forest-ui-back::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 20px;
  width: 17px;
  height: 3px;
  border-radius: 999px;
  background: #875b31;
}

.forest-ui-home-sign {
  position: absolute;
  z-index: 4;
  left: 19.3%;
  top: 2.55%;
  width: 61.5%;
  height: 8.15%;
  padding: 1.2% 4%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: 0;
  color: #704729;
  background: transparent;
}

.forest-ui-home-sign strong { font-size: clamp(22px, 6.2vw, 30px); line-height: 1; }
.forest-ui-home-sign span { max-width: 100%; overflow: hidden; font-size: clamp(10px, 2.8vw, 13px); line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }

.forest-ui-level-track {
  position: absolute;
  z-index: 3;
  left: 5.8%;
  top: 24.25%;
  width: 83.5%;
  height: 8.2%;
  display: grid;
  grid-template-columns: repeat(4, 1fr) 1.12fr;
  align-items: center;
}

.forest-ui-level-marker {
  justify-self: center;
  width: clamp(42px, 13vw, 56px);
  aspect-ratio: 1;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #9b7046;
  background: rgba(255, 250, 235, .44);
}

.forest-ui-level-marker b { font-size: clamp(15px, 4.8vw, 21px); }
.forest-ui-level-marker.is-active { color: #fffaf0; background: rgba(184, 111, 56, .86); box-shadow: inset 0 0 0 3px rgba(255,255,255,.72), 0 3px 8px rgba(96,59,28,.22); }
.forest-ui-level-marker:disabled { color: #baa88f; opacity: .72; }

.forest-ui-best-stars {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.forest-ui-best-stars .forest-stars { display: contents; }
.forest-ui-best-stars .forest-stars span { width: 18px; height: 18px; }

.forest-ui-level-cards {
  position: absolute;
  z-index: 3;
  left: 5.2%;
  top: 34.15%;
  width: 89.5%;
  height: 13.8%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3.7%;
}

.forest-ui-level-card {
  min-width: 0;
  padding: 4% 2% 2%;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  align-items: center;
  justify-items: center;
  border: 0;
  border-radius: 40%;
  color: #785033;
  background: transparent;
}

.forest-ui-level-card.is-active { outline: 3px solid rgba(190, 111, 58, .82); outline-offset: 3px; }
.forest-ui-level-card:disabled { filter: saturate(.55); opacity: .65; }
.forest-ui-level-card strong { max-width: 100%; overflow: hidden; font-size: clamp(9px, 2.6vw, 12px); text-overflow: ellipsis; white-space: nowrap; }
.forest-ui-level-card small { font-size: clamp(8px, 2.1vw, 10px); }

.forest-ui-sprite {
  width: min(88%, 70px);
  aspect-ratio: 1;
  display: block;
  background-image: url('../assets/forest-kitchen/forest-ui-sprites-v2.webp');
  background-repeat: no-repeat;
  background-size: 800% 600%;
}

.forest-ui-sprite.is-pie { background-position: 85.714% 0; }
.forest-ui-sprite.is-pancake { background-position: 100% 0; }
.forest-ui-sprite.is-cocoa { background-position: 0 20%; }
.forest-ui-sprite.is-lock { background-position: 57.143% 0; }

.forest-ui-portrait-heading {
  position: absolute;
  z-index: 4;
  left: 9%;
  top: 49.2%;
  width: 82%;
  height: 2.8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: clamp(10px, 2.6vw, 12px);
}

.forest-ui-portrait-grid {
  position: absolute;
  z-index: 4;
  left: 5.7%;
  top: 51.05%;
  width: 88.8%;
  height: 18.8%;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  column-gap: 1.1%;
  row-gap: 2.8%;
}

.forest-ui-portrait-choice {
  position: relative;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 42%;
  color: transparent;
  background: transparent;
}

.forest-ui-portrait-choice span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.forest-ui-portrait-choice.is-active { outline: 3px solid rgba(188, 104, 58, .9); outline-offset: -1px; background: rgba(255, 249, 226, .16); }
.forest-ui-portrait-choice.is-active::after { content: "✓"; position: absolute; right: 3px; bottom: 1px; width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #b86e42; box-shadow: 0 2px 5px rgba(76,45,26,.25); font-size: 12px; font-weight: 800; }

.forest-ui-station-grid {
  position: absolute;
  z-index: 4;
  left: 4%;
  top: 72.15%;
  width: 92%;
  height: 17.65%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6%;
}

.forest-ui-station-card {
  min-width: 0;
  padding: 13.2vh 5% 2%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 1px;
  border: 0;
  border-radius: 8px;
  color: #704729;
  background: transparent;
}

.forest-ui-station-card.is-active { outline: 3px solid rgba(188, 104, 58, .88); outline-offset: -3px; background: rgba(255, 245, 211, .12); }
.forest-ui-station-card strong { font-size: clamp(10px, 3vw, 14px); }
.forest-ui-station-card small { max-width: 94%; overflow: hidden; font-size: clamp(7px, 1.9vw, 9px); line-height: 1.1; text-overflow: ellipsis; white-space: nowrap; }

.forest-ui-start {
  position: absolute;
  z-index: 6;
  left: 24.7%;
  top: 92.1%;
  width: 50.6%;
  height: 5.8%;
  padding: 0 8%;
  border: 0;
  border-radius: 999px;
  color: #744820;
  background: rgba(255, 250, 230, .42);
  font-size: clamp(17px, 5vw, 23px);
  font-weight: 800;
  text-shadow: 0 1px rgba(255,255,255,.75);
}

.forest-ui-start:disabled { color: #aa9b84; opacity: .72; }

.forest-ui-contact-layer { position: absolute; z-index: 20; inset: 0; display: none; }
.forest-ui-contact-layer.is-open { display: block; }
.forest-ui-contact-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(79, 55, 34, .25); backdrop-filter: blur(2px); }
.forest-ui-contact-sheet { position: absolute; left: 8%; right: 8%; top: 18%; max-height: 64%; padding: 18px 14px; overflow: hidden; border: 2px solid rgba(139, 91, 48, .38); border-radius: 8px; background: #fff8e8; box-shadow: 0 18px 42px rgba(75, 48, 26, .28); }
.forest-ui-contact-sheet h3 { margin: 0 0 12px; text-align: center; font-size: 18px; }
.forest-ui-contact-sheet > div { max-height: calc(64dvh - 72px); display: grid; gap: 8px; overflow-y: auto; }
.forest-ui-contact-sheet .forest-partner-row { width: 100%; min-height: 54px; }

@media (max-height: 650px) {
  .forest-ui-v2-page { overflow-y: auto; }
  .forest-ui-v2-home { min-height: 690px; }
  .forest-ui-station-card { padding-top: 102px; }
  .forest-ui-start { position: sticky; left: 25%; bottom: 8px; top: auto; width: 50%; height: 44px; margin-top: 632px; }
}

/* Forest Kitchen UI v2: P3 gameplay artboard. */
.forest-ui-v2-play-page { overflow: hidden !important; }

.forest-ui-v2-play {
  display: block !important;
  padding: 0 !important;
  gap: 0 !important;
  background-position: 100% 0 !important;
}

.forest-ui-v2-play,
.forest-ui-v2-play * { box-sizing: border-box; }

.forest-ui-v2-play .forest-ui-back {
  left: 3.5%;
  top: 2.2%;
  width: 11.4%;
  height: 5.8%;
  min-width: 36px;
  min-height: 36px;
  background: transparent;
  box-shadow: none;
}

.forest-ui-v2-play .forest-ui-back::before { left: 38%; top: 30%; width: 25%; height: 25%; }
.forest-ui-v2-play .forest-ui-back::after { left: 36%; top: 48%; width: 37%; }

.forest-ui-v2-play .forest-ui-play-hud {
  position: absolute;
  z-index: 8;
  inset: 2.05% 3.2% auto 20.8%;
  height: 5.95%;
  display: grid;
  grid-template-columns: 28.6fr 43.3fr 28.1fr;
  gap: 2.8%;
  pointer-events: none;
}

.forest-ui-v2-play .forest-hud-pill {
  height: 100%;
  min-width: 0;
  padding: 0 8%;
  border: 0;
  border-radius: 999px;
  color: #7a5531;
  background: transparent;
  box-shadow: none;
  box-sizing: border-box;
  font-size: clamp(9px, 2.65vw, 13px);
  font-weight: 800;
}

.forest-ui-v2-play .forest-hud-pill.timer { padding-left: 28%; }
.forest-ui-v2-play .forest-hud-pill.progress { padding: 0 15% 0 27%; }
.forest-ui-v2-play .forest-hud-pill.progress b { left: 28%; right: 14%; top: 39%; bottom: 33%; background: linear-gradient(90deg, #f1c56d, #e6a756); opacity: .74; }
.forest-ui-v2-play .forest-hud-pill.progress i { font-size: clamp(7px, 2vw, 10px); text-align: center; }
.forest-ui-v2-play .forest-hud-pill.coin { position: absolute; left: 42%; top: 4%; width: 22%; height: 30%; padding: 0; justify-content: center; font-size: clamp(6px, 1.6vw, 8px); }
.forest-ui-v2-play .forest-hud-pill.diamond { padding-left: 34%; justify-content: center; }

.forest-ui-v2-play .forest-ui-sound {
  position: absolute;
  z-index: 12;
  right: 1.2%;
  top: 22.4%;
  width: 11%;
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 248, 226, .9);
  box-shadow: 0 2px 8px rgba(92, 57, 30, .16);
  pointer-events: auto;
}

.forest-ui-v2-play .forest-ui-sound::before {
  content: "";
  position: absolute;
  left: 29%;
  top: 35%;
  width: 19%;
  height: 30%;
  border-radius: 2px;
  background: #8a5a32;
  box-shadow: 7px 0 0 -1px #8a5a32;
}

.forest-ui-v2-play .forest-ui-sound::after {
  content: "";
  position: absolute;
  right: 20%;
  top: 30%;
  width: 24%;
  height: 38%;
  border: 2px solid #8a5a32;
  border-left: 0;
  border-radius: 0 50% 50% 0;
}

.forest-ui-v2-play .forest-ui-sound.is-muted::after { width: 34%; height: 2px; right: 18%; top: 49%; border: 0; border-radius: 2px; background: #b65f4f; transform: rotate(-42deg); }

.forest-ui-v2-play .forest-order-rail {
  position: absolute;
  z-index: 5;
  left: 4.8%;
  top: 9.6%;
  width: 90.4%;
  height: 8.65%;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 3.5%;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.forest-ui-v2-play .forest-order-ticket {
  position: relative;
  min-width: 0;
  height: 100%;
  padding: 0 !important;
  display: block !important;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: rgba(255, 249, 232, .76);
  box-shadow: none;
}

.forest-ui-v2-play .forest-order-ticket.is-current { outline: 2px solid rgba(177, 105, 55, .56); outline-offset: -1px; }
.forest-ui-v2-play .forest-order-ticket .forest-customer-face.forest-character-art { position: absolute !important; z-index: 2; left: -9%; top: -10%; width: 45% !important; height: 48% !important; min-width: 0; min-height: 0; transform: none; }
.forest-ui-v2-play .forest-order-ticket .forest-order-dish { position: absolute; left: 28%; top: 22%; width: 58%; aspect-ratio: 1; background-image: url('../assets/forest-kitchen/forest-ui-sprites-v2.webp'); background-repeat: no-repeat; background-size: 800% 600%; }
.forest-ui-v2-play .forest-order-ticket .dish-level-1 { background-position: 85.714% 0; }
.forest-ui-v2-play .forest-order-ticket .dish-level-2 { background-position: 100% 0; }
.forest-ui-v2-play .forest-order-ticket .dish-level-3 { background-position: 0 20%; }
.forest-ui-v2-play .forest-order-ticket small { position: absolute; left: 8%; right: 8%; bottom: 18%; overflow: hidden; color: #80593a; font-size: clamp(6px, 1.6vw, 8px); text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.forest-ui-v2-play .forest-order-patience { position: absolute; left: 20%; right: 20%; bottom: 6%; height: 7%; overflow: hidden; border: 1px solid rgba(133, 92, 48, .46); border-radius: 999px; background: #fff6df; }
.forest-ui-v2-play .forest-order-patience i { display: block; height: 100%; border-radius: inherit; background: #9dc784; }

.forest-ui-v2-play .forest-play-scene {
  position: absolute;
  z-index: 6;
  left: 5.2%;
  top: 19.25%;
  width: 89.7%;
  height: 31.3%;
  display: block;
}

.forest-ui-v2-play .forest-customer-card {
  position: absolute;
  left: 0;
  top: 0;
  width: 58%;
  height: 100%;
  margin: 0;
  padding: 0 !important;
  display: block;
  overflow: hidden;
  border: 2px solid rgba(154, 105, 62, .26);
  border-radius: 45% 45% 8px 8px / 32% 32% 8px 8px;
  background: #fff8e7;
  box-shadow: 0 5px 14px rgba(80, 52, 31, .12);
}

.forest-ui-v2-play .forest-customer-card .forest-customer-face.forest-character-art {
  position: absolute;
  left: 14%;
  top: 4%;
  width: 72% !important;
  height: 68% !important;
  max-width: none;
  min-width: 0;
  flex: none;
  transform: none;
}

.forest-ui-v2-play .forest-customer-request {
  position: absolute;
  z-index: 3;
  left: 4%;
  right: 4%;
  bottom: 3%;
  height: 27%;
  padding: 4% 6% 3%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) 9px;
  gap: 2px;
  border: 1px dashed rgba(152, 100, 55, .35);
  border-radius: 7px;
  background: #fffaf0;
  box-sizing: border-box;
  text-align: center;
}

.forest-ui-v2-play .forest-customer-request strong { overflow: hidden; color: #6f492c; font-size: clamp(9px, 2.6vw, 13px); text-overflow: ellipsis; white-space: nowrap; }
.forest-ui-v2-play .forest-customer-request small { overflow: hidden; color: #8a674a; font-size: clamp(6px, 1.75vw, 9px); line-height: 1.15; }
.forest-ui-v2-play .forest-patience { height: 8px; margin: 0; border: 1px solid rgba(138, 91, 47, .42); background: #fff6e1; }
.forest-ui-v2-play .forest-patience span { background: linear-gradient(90deg, #efa950, #f5c267); }

.forest-ui-v2-play .forest-partner-stage {
  position: absolute;
  right: 0;
  top: 6%;
  width: 38% !important;
  height: 55% !important;
  min-height: 0;
  padding: 3% 3% 2% !important;
  display: grid !important;
  grid-template-columns: 45% minmax(0, 1fr) !important;
  grid-template-rows: 1fr auto 8px !important;
  gap: 2px 4px;
  overflow: hidden;
  border: 2px solid rgba(154, 105, 62, .28);
  border-radius: 42% 42% 8px 8px / 34% 34% 8px 8px;
  background: #fff7e4;
  box-sizing: border-box;
  box-shadow: 0 4px 12px rgba(80, 52, 31, .12);
  text-align: left;
}

.forest-ui-v2-play .forest-partner-figure { align-self: end; width: 100% !important; height: 100% !important; }
.forest-ui-v2-play .forest-partner-figure .forest-partner-avatar.forest-character-art { position: static !important; width: 100% !important; height: 100% !important; max-width: none; margin: 0 !important; border-width: 1px; }
.forest-ui-v2-play .forest-partner-stage > strong { align-self: end; overflow: hidden; color: #714c31; font-size: clamp(7px, 2vw, 10px); text-overflow: ellipsis; white-space: nowrap; }
.forest-ui-v2-play .forest-partner-stage > small { overflow: hidden; color: #8c6b4d; font-size: clamp(5px, 1.45vw, 7px); line-height: 1.15; }
.forest-ui-v2-play .forest-partner-stage .forest-mood { grid-column: 1 / -1; height: 7px; border: 1px solid rgba(132, 91, 49, .4); background: #fff3dc; }

.forest-ui-v2-play .forest-partner-panel {
  position: absolute;
  right: 0;
  bottom: 4%;
  width: 38%;
  height: 34%;
  min-height: 0;
  padding: 3% !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 30% !important;
  grid-template-rows: 45% 1fr;
  gap: 3%;
  border: 2px solid rgba(154, 105, 62, .26);
  border-radius: 7px;
  background: #fff8e8;
  box-sizing: border-box;
}

.forest-ui-v2-play .forest-partner-task { grid-column: 1 / -1; min-height: 0; padding: 3px 5px; border-radius: 5px; }
.forest-ui-v2-play .forest-partner-task strong,
.forest-ui-v2-play .forest-partner-task small { font-size: clamp(5px, 1.4vw, 7px); }
.forest-ui-v2-play .forest-partner-bubble { min-width: 0; overflow: hidden; }
.forest-ui-v2-play .forest-partner-bubble p { max-height: 3.4em; overflow: hidden; color: #6c4b34; font-size: clamp(6px, 1.65vw, 8px); line-height: 1.15; }
.forest-ui-v2-play .forest-partner-bubble > div { max-height: 16px; margin-top: 2px; display: flex; flex-wrap: nowrap; gap: 2px; overflow: hidden; }
.forest-ui-v2-play .forest-partner-bubble button { min-width: 0; min-height: 14px; padding: 0 3px; overflow: hidden; border-radius: 4px; font-size: clamp(5px, 1.3vw, 7px); text-overflow: ellipsis; white-space: nowrap; }
.forest-ui-v2-play .forest-partner-panel > button { min-width: 0; min-height: 0; padding: 0 3px; border: 1px solid rgba(154, 92, 48, .35); border-radius: 6px; color: #70482d; background: #f6c56d; font-size: clamp(6px, 1.7vw, 8px); font-weight: 800; }
.forest-ui-v2-play .forest-partner-panel > button:disabled { opacity: .58; }

.forest-ui-v2-play .forest-accident {
  position: absolute;
  z-index: 5;
  left: 3%;
  top: 2%;
  width: 52%;
  min-height: 0;
  margin: 0;
  padding: 4px 7px;
  overflow: hidden;
  border-radius: 6px;
  color: #8b4339;
  background: rgba(255, 242, 212, .94);
  font-size: clamp(6px, 1.6vw, 8px);
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.forest-ui-v2-play .forest-ui-recipe {
  position: absolute;
  z-index: 7;
  left: 4.1%;
  top: 52.3%;
  width: 91.7%;
  height: 11.9%;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.7%;
}

.forest-ui-v2-play .forest-ui-recipe-step { position: relative; min-width: 0; padding: 8% 2% 2%; display: flex; align-items: flex-end; justify-content: center; border-radius: 8px; color: rgba(108, 72, 42, .62); text-align: center; }
.forest-ui-v2-play .forest-ui-recipe-step b { position: absolute; left: 3%; top: 0; width: 26%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; color: #fff9eb; background: #bd8b52; font-size: clamp(7px, 2vw, 10px); }
.forest-ui-v2-play .forest-ui-recipe-step span { max-width: 100%; overflow: hidden; font-size: clamp(5px, 1.45vw, 7px); line-height: 1.05; text-overflow: ellipsis; white-space: nowrap; }
.forest-ui-v2-play .forest-ui-recipe-step.is-current { outline: 3px solid rgba(217, 142, 71, .68); background: rgba(255, 246, 211, .22); color: #744824; }
.forest-ui-v2-play .forest-ui-recipe-step.is-done { opacity: .54; }
.forest-ui-v2-play .forest-ui-recipe-step.is-done::after { content: ""; position: absolute; right: 4%; top: 4%; width: 20%; aspect-ratio: 1; border-radius: 50%; background: #86a96d; box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }

.forest-ui-v2-play .forest-ui-workbench {
  position: absolute;
  z-index: 6;
  left: 4.2%;
  top: 65.4%;
  width: 91.5%;
  height: 15.7%;
  min-height: 0;
  margin: 0;
  padding: 0 !important;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  touch-action: none;
}

.forest-ui-v2-play .forest-ui-workbench .forest-tray { display: none; }
.forest-ui-v2-play .forest-ui-workbench .forest-drop-zones { position: absolute; z-index: 8; left: 34%; top: 7%; width: 28%; height: 18%; min-height: 0; }
.forest-ui-v2-play .forest-ui-workbench .forest-drop-zones span.current { min-height: 0; padding: 2px 7px; border-color: rgba(137, 88, 45, .42); color: #744925; background: rgba(255, 248, 224, .86); font-size: clamp(6px, 1.55vw, 8px); }
.forest-ui-v2-play .forest-ui-workbench .forest-plate-preview { position: absolute; left: 49%; top: 5%; width: 46%; height: 86%; min-height: 0; margin: 0; overflow: hidden; border: 0; border-radius: 50%; background: rgba(255, 250, 231, .92); box-shadow: inset 0 0 0 2px rgba(151, 105, 62, .18); }
.forest-ui-v2-play .forest-ui-workbench .forest-plate-preview::before { bottom: 14%; width: 64%; height: 13%; }
.forest-ui-v2-play .forest-ui-workbench .forest-tactile-food { min-height: 100%; }
.forest-ui-v2-play .forest-ui-workbench .forest-tactile-food small { bottom: 5%; max-width: 90%; font-size: clamp(6px, 1.6vw, 8px); }
.forest-ui-v2-play .forest-next-step { position: absolute; left: 3%; bottom: 5%; width: 40%; overflow: hidden; color: #704a2e; font-size: clamp(6px, 1.65vw, 8px); line-height: 1.2; text-align: center; }
.forest-ui-v2-play .forest-ui-workbench.has-tool { box-shadow: inset 0 0 0 3px rgba(121, 151, 108, .34); }
.forest-ui-v2-play .forest-ui-workbench.needs-tool { animation: none; }

.forest-ui-v2-play .forest-ui-oven-row {
  position: absolute;
  z-index: 8;
  left: 5.8%;
  top: 82.1%;
  width: 88.2%;
  height: 5.4%;
  display: grid;
  grid-template-columns: 16.5% minmax(0, 1fr);
  align-items: center;
  gap: 3%;
}

.forest-ui-v2-play .forest-ui-oven { height: 100%; padding: 0; border: 0; border-radius: 7px; background: rgba(255, 245, 218, .42); }
.forest-ui-v2-play .forest-ui-oven span { width: 100%; height: 100%; display: block; background-image: url('../assets/forest-kitchen/forest-ui-sprites-v2.webp'); background-repeat: no-repeat; background-size: 800% 600%; background-position: 71.429% 40%; }
.forest-ui-v2-play .forest-ui-oven.is-current { outline: 3px solid rgba(229, 139, 63, .78); outline-offset: 1px; }
.forest-ui-v2-play .forest-ui-oven.is-done { opacity: .58; }
.forest-ui-v2-play .forest-bake-slot { min-height: 0; height: 70%; }
.forest-ui-v2-play .forest-tactile-meter { height: 100%; margin: 0; padding: 0; display: block; border: 0; background: transparent; }
.forest-ui-v2-play .forest-tactile-meter > span { position: absolute; inset: auto 3% 100% auto; color: #7b5431; font-size: clamp(6px, 1.55vw, 8px); }
.forest-ui-v2-play .forest-tactile-meter > div { height: 100%; margin: 0; border: 2px solid rgba(134, 89, 45, .45); background: rgba(255, 247, 224, .72); }
.forest-ui-v2-play .forest-tactile-meter > div i { background: linear-gradient(90deg, #ee9b5f, #f0bf65); }
.forest-ui-v2-play .forest-tactile-meter small { display: none; }

.forest-ui-v2-play .forest-ui-tool-grid {
  position: absolute;
  z-index: 8;
  left: 4.6%;
  top: 89.1%;
  width: 90.8%;
  height: 9.65%;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
  gap: 4% 3.2% !important;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.forest-ui-v2-play .forest-ui-tool {
  position: relative;
  min-width: 0;
  min-height: 0 !important;
  padding: 0 !important;
  display: block !important;
  overflow: visible;
  border: 0;
  border-radius: 7px;
  background: rgba(255, 250, 232, .18);
  box-shadow: none;
}

.forest-ui-v2-play .forest-ui-tool span { width: 88% !important; height: 88% !important; margin: 0 auto; display: block !important; border: 0 !important; background-color: transparent !important; background-image: url('../assets/forest-kitchen/forest-ui-sprites-v2.webp') !important; background-repeat: no-repeat !important; background-size: 800% 600% !important; box-shadow: none !important; }
.forest-ui-v2-play .forest-ui-tool span::before,
.forest-ui-v2-play .forest-ui-tool span::after { display: none !important; }
.forest-ui-v2-play .forest-ui-tool.sprite-flour span,
.forest-ui-v2-play .forest-ui-tool.sprite-sugar span { background-position: 85.714% 20%; }
.forest-ui-v2-play .forest-ui-tool.sprite-dough span { background-position: 100% 40%; }
.forest-ui-v2-play .forest-ui-tool.sprite-berries span { background-position: 14.286% 40%; }
.forest-ui-v2-play .forest-ui-tool.sprite-milk span { background-position: 100% 20%; }
.forest-ui-v2-play .forest-ui-tool.sprite-whisk span { background-position: 42.857% 40%; }
.forest-ui-v2-play .forest-ui-tool.sprite-rolling-pin span { background-position: 57.143% 40%; }
.forest-ui-v2-play .forest-ui-tool.sprite-piping span { background-position: 28.571% 80%; }
.forest-ui-v2-play .forest-ui-tool.sprite-spoon span { background-position: 28.571% 40%; }
.forest-ui-v2-play .forest-ui-tool.sprite-star-cutter span { background-position: 71.429% 20%; }
.forest-ui-v2-play .forest-ui-tool b { position: absolute; left: 3%; right: 3%; bottom: -2px; overflow: hidden; color: #754c2d; font-size: clamp(5px, 1.45vw, 7px); line-height: 1; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.forest-ui-v2-play .forest-ui-tool small { position: absolute; left: 2px; top: 1px; width: 13px; height: 13px; display: grid; place-items: center; border-radius: 50%; color: #fff8e8; background: #b9844c; font-size: 7px; }
.forest-ui-v2-play .forest-ui-tool.is-current { outline: 3px solid rgba(229, 139, 63, .78); outline-offset: 1px; transform: translateY(-2px); }
.forest-ui-v2-play .forest-ui-tool.is-done { opacity: .44; filter: saturate(.55); }

@media (max-height: 650px) {
  .forest-ui-v2-play .forest-ui-back { min-width: 32px; min-height: 32px; }
  .forest-ui-v2-play .forest-customer-request { grid-template-rows: auto 1fr 6px; }
  .forest-ui-v2-play .forest-patience,
  .forest-ui-v2-play .forest-partner-stage .forest-mood { height: 5px; }
  .forest-ui-v2-play .forest-partner-task-progress { height: 2px; }
  .forest-ui-v2-play .forest-ui-tool small { width: 10px; height: 10px; font-size: 6px; }
}

/* Forest Kitchen UI v2: P2 result artboard. */
.forest-ui-v2-result-page { overflow-x: hidden !important; overflow-y: auto !important; }

.forest-ui-v2-result {
  display: block !important;
  padding: 0 !important;
  overflow: hidden;
  background-position: 50% 0 !important;
}

.forest-ui-v2-result,
.forest-ui-v2-result * { box-sizing: border-box; }

.forest-ui-v2-result .forest-ui-back {
  left: 3.7%;
  top: 2.4%;
  width: 11%;
  height: 5.4%;
  min-width: 36px;
  min-height: 36px;
  background: transparent;
  box-shadow: none;
}

.forest-ui-v2-result .forest-ui-result-title {
  position: absolute;
  z-index: 7;
  left: 19%;
  top: 2.7%;
  width: 62%;
  height: 6%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.forest-ui-v2-result .forest-ui-result-title strong { color: #765136; font-size: clamp(18px, 5.3vw, 25px); line-height: 1; }
.forest-ui-v2-result .forest-saved-link { position: absolute; right: 0; top: 14%; min-height: 28px; padding: 0 7px; border: 1px solid rgba(129, 91, 53, .38); border-radius: 999px; color: #7b573a; background: rgba(255, 248, 230, .72); font-size: clamp(7px, 1.7vw, 9px); }

.forest-ui-v2-result .forest-ui-result-stars {
  position: absolute;
  z-index: 6;
  left: 14%;
  top: 34.7%;
  width: 72%;
  height: 13.5%;
  display: grid;
  place-items: center;
}

.forest-ui-v2-result .forest-ui-result-stars .forest-stars.big { display: flex; align-items: center; justify-content: center; gap: 7%; width: 100%; height: 100%; }
.forest-ui-v2-result .forest-ui-result-stars .forest-stars.big span { width: 22%; height: auto; aspect-ratio: 1; }

.forest-ui-v2-result .forest-ui-result-summary {
  position: absolute;
  z-index: 6;
  left: 13%;
  top: 47.2%;
  width: 74%;
  height: 9.8%;
  padding: 2% 5%;
  display: grid;
  align-content: center;
  gap: 3px;
  overflow: hidden;
  border: 1px dashed rgba(144, 101, 57, .28);
  border-radius: 8px;
  background: rgba(255, 249, 232, .84);
  text-align: center;
}

.forest-ui-v2-result .forest-ui-result-summary strong { overflow: hidden; color: #765035; font-size: clamp(8px, 2.5vw, 12px); line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.forest-ui-v2-result .forest-ui-result-summary small { display: -webkit-box; overflow: hidden; color: #8d6a4d; font-size: clamp(6px, 1.65vw, 8px); line-height: 1.2; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

.forest-ui-v2-result .forest-ui-result-stats {
  position: absolute;
  z-index: 7;
  left: 8.5%;
  top: 57.2%;
  width: 83%;
  height: 8.1%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 2.4%;
}

.forest-ui-v2-result .forest-ui-result-stats span { min-width: 0; padding: 8% 2%; display: grid; place-items: center; border: 1px solid rgba(153, 108, 61, .18); border-radius: 8px; background: rgba(255, 237, 189, .78); }
.forest-ui-v2-result .forest-ui-result-stats b { color: #7d522c; font-size: clamp(10px, 3vw, 15px); line-height: 1; }
.forest-ui-v2-result .forest-ui-result-stats small { color: #9a7148; font-size: clamp(6px, 1.65vw, 8px); line-height: 1; }

.forest-ui-v2-result .forest-ui-result-memory {
  position: absolute;
  z-index: 7;
  left: 7.4%;
  top: 66.4%;
  width: 85.2%;
  height: 20.2%;
  display: grid;
  grid-template-columns: 31% minmax(0, 1fr);
  gap: 4%;
}

.forest-ui-v2-result .forest-ui-result-partner { min-width: 0; display: grid; place-items: center; }
.forest-ui-v2-result .forest-ui-polaroid { position: relative; width: 92%; height: 100%; padding: 5% 5% 13%; display: grid; place-items: center; border: 2px solid rgba(145, 101, 58, .24); background: #fff9ea; box-shadow: 0 4px 8px rgba(91, 57, 30, .14); transform: rotate(-2deg); }
.forest-ui-v2-result .forest-ui-polaroid small { position: absolute; left: 4%; right: 4%; bottom: 4%; overflow: hidden; color: #7c573a; font-size: clamp(6px, 1.65vw, 8px); text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.forest-ui-v2-result .forest-result-partner-art { width: 100%; height: 100%; min-width: 0; min-height: 0; border-radius: 7px; transform: none !important; }

.forest-ui-v2-result .forest-result-copy-tabs { min-width: 0; min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 3%; }
.forest-ui-v2-result .forest-result-tabs { min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3%; margin: 0; }
.forest-ui-v2-result .forest-result-tabs button { min-width: 0; min-height: 28px; padding: 0 2px; overflow: hidden; border: 1px solid rgba(141, 96, 51, .34); border-radius: 7px; color: #745033; background: rgba(255, 249, 232, .78); font-size: clamp(6px, 1.7vw, 8px); text-overflow: ellipsis; white-space: nowrap; }
.forest-ui-v2-result .forest-result-tabs button.is-active { color: #fff9ee; background: #be6d51; }
.forest-ui-v2-result .forest-result-tab-panel { min-height: 0 !important; overflow: hidden; border-radius: 8px; }
.forest-ui-v2-result .forest-result-paper { width: 100%; height: 100%; min-height: 0; padding: 7% 8%; display: grid; align-content: center; gap: 4px; overflow: hidden; border: 1px solid rgba(141, 96, 51, .25); border-radius: 8px; color: #765137; background: rgba(255, 248, 229, .9); text-align: left; }
.forest-ui-v2-result .forest-result-paper.theater { background: rgba(244, 215, 198, .94); }
.forest-ui-v2-result .forest-result-paper.diary { background: rgba(198, 211, 181, .94); }
.forest-ui-v2-result .forest-result-paper.score { background: rgba(246, 226, 169, .94); }
.forest-ui-v2-result .forest-result-paper strong { font-size: clamp(9px, 2.5vw, 12px); }
.forest-ui-v2-result .forest-result-paper small,
.forest-ui-v2-result .forest-result-paper p,
.forest-ui-v2-result .forest-result-paper em { overflow: hidden; color: #8c6749; font-size: clamp(6px, 1.65vw, 8px); line-height: 1.25; }
.forest-ui-v2-result .forest-result-paper p { display: -webkit-box; margin: 0; -webkit-line-clamp: 4; -webkit-box-orient: vertical; }
.forest-ui-v2-result .forest-result-paper em { color: #a45e42; font-style: normal; font-weight: 800; }
.forest-ui-v2-result .forest-result-paper > div { display: none; }

.forest-ui-v2-result .forest-result-actions {
  position: absolute;
  z-index: 8;
  left: 9%;
  right: auto !important;
  top: 89.7%;
  width: 82% !important;
  height: 5.3%;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5%;
}

.forest-ui-v2-result .forest-result-actions button { min-height: 0; border: 1px solid rgba(134, 91, 51, .35); border-radius: 999px; color: #765137; background: rgba(255, 249, 232, .88); font-size: clamp(9px, 2.5vw, 12px); font-weight: 800; }
.forest-ui-v2-result .forest-result-actions .forest-primary { color: #fff8eb; background: #78a0b5; }
.forest-ui-v2-result .forest-share-link { position: absolute; z-index: 8; left: 35%; top: 96.3%; margin: 0; color: #a26547; font-size: clamp(7px, 1.8vw, 9px); }

@media (max-height: 650px) {
  .forest-ui-v2-result .forest-ui-result-title strong { font-size: 18px; }
  .forest-ui-v2-result .forest-ui-result-memory { top: 66%; height: 21%; }
  .forest-ui-v2-result .forest-result-actions { top: 90%; }
}

/* The legacy immersive surface uses a stronger transparent shorthand. Restore the v2 artboards after it. */
.wechat-app--forest-immersive .forest-ui-v2 {
  background-color: #e8e4c8 !important;
  background-image: url('../assets/forest-kitchen/forest-ui-pages-v2.webp') !important;
  background-repeat: no-repeat !important;
  background-size: 300% 100% !important;
}
.wechat-app--forest-immersive .forest-ui-v2-home { background-position: 0 0 !important; }
.wechat-app--forest-immersive .forest-ui-v2-play { background-position: 100% 0 !important; }
.wechat-app--forest-immersive .forest-ui-v2-result { background-position: 50% 0 !important; }

/* Forest Kitchen UI v2: keep baked artboard icons and live UI on separate layers. */
.forest-ui-v2-result .forest-ui-result-stars {
  background: rgba(255, 249, 231, .94);
}

.forest-ui-v2-result .forest-ui-result-stars { border-radius: 16%; }

.forest-ui-v2-play .forest-order-ticket {
  background: #fff9e8;
}

.forest-ui-v2-play .forest-play-scene {
  border-radius: 9px;
  background: rgba(255, 249, 232, .96);
}

.forest-ui-v2-play .forest-ui-recipe-step b,
.forest-ui-v2-play .forest-ui-oven span,
.forest-ui-v2-play .forest-ui-tool span,
.forest-ui-v2-play .forest-ui-tool small {
  display: none !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-workbench {
  background: rgba(222, 168, 104, .96) !important;
  box-shadow: inset 0 0 0 2px rgba(255, 236, 198, .45) !important;
}

.forest-ui-v2-play .forest-ui-tool {
  background: transparent;
}

.forest-ui-v2-play .forest-ui-tool b {
  bottom: 2%;
  padding: 1px 2px;
  border-radius: 3px;
  background: rgba(255, 249, 232, .86);
}

/* Forest Kitchen UI v3: independent notebook surfaces. The previous three-panel
   reference image contained example UI, so it must never sit behind live controls. */
@media not all {
.forest-ui-v2,
.wechat-app--forest-immersive .forest-ui-v2 {
  --forest-paper: #fffaf0;
  --forest-paper-muted: #f5ead5;
  --forest-ink: #513c2d;
  --forest-subtle: #80664e;
  --forest-moss: #728d69;
  --forest-clay: #b96e4d;
  --forest-line: rgba(107, 78, 49, .22);
  background-color: #dce3ce !important;
  background-image:
    repeating-linear-gradient(0deg, rgba(86, 111, 76, .05) 0 1px, transparent 1px 5px),
    linear-gradient(135deg, #edf0dd 0%, #dce5c9 100%) !important;
  background-size: auto !important;
  background-position: center !important;
  color: var(--forest-ink);
}

.forest-ui-v2-page {
  background: #dce3ce;
}

.forest-ui-v2 button {
  color: var(--forest-ink);
  font-family: inherit;
}

.forest-ui-v2 .forest-ui-back {
  left: 12px;
  top: 12px;
  z-index: 20;
  width: 44px;
  height: 44px;
  border: 1px solid var(--forest-line);
  border-radius: 12px;
  background: var(--forest-paper);
  box-shadow: 0 3px 10px rgba(76, 53, 31, .12);
}

.forest-ui-v2 .forest-ui-back::before {
  left: 16px;
  top: 13px;
  border-color: var(--forest-ink);
}

.forest-ui-v2 .forest-ui-back::after {
  left: 14px;
  top: 20px;
  background: var(--forest-ink);
}

/* P1: level and partner setup */
.forest-ui-v2-home {
  min-height: 100%;
  padding: 12px 12px 84px;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto auto auto 1fr auto;
  gap: 10px;
  overflow-y: auto;
  align-content: start;
}

.forest-ui-v2-home .forest-ui-home-sign {
  position: relative;
  left: auto;
  top: auto;
  grid-column: 1 / -1;
  width: auto;
  height: auto;
  min-height: 56px;
  padding: 8px 62px;
  border: 1px solid var(--forest-line);
  border-radius: 10px;
  color: var(--forest-ink);
  background: var(--forest-paper);
  box-shadow: 0 3px 10px rgba(76, 53, 31, .1);
}

.forest-ui-v2-home .forest-ui-home-sign strong { font-size: 21px; }
.forest-ui-v2-home .forest-ui-home-sign span { color: var(--forest-subtle); font-size: 12px; }

.forest-ui-v2-home .forest-ui-level-track {
  position: relative;
  left: auto;
  top: auto;
  grid-column: 1 / -1;
  width: auto;
  height: 44px;
  padding: 4px 6px;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 4px;
  border: 1px solid var(--forest-line);
  border-radius: 10px;
  background: rgba(255, 250, 240, .88);
}

.forest-ui-v2-home .forest-ui-level-marker {
  width: 34px;
  height: 34px;
  border: 1px solid var(--forest-line);
  border-radius: 9px;
  background: #f3e6cf;
}

.forest-ui-v2-home .forest-ui-level-marker b { font-size: 15px; }
.forest-ui-v2-home .forest-ui-level-marker.is-active { color: #fff; background: var(--forest-clay); box-shadow: none; }
.forest-ui-v2-home .forest-ui-best-stars { padding: 0 4px; }
.forest-ui-v2-home .forest-ui-best-stars .forest-stars span { width: 16px; height: 16px; }

.forest-ui-v2-home .forest-ui-level-cards {
  position: relative;
  left: auto;
  top: auto;
  grid-column: 1 / -1;
  width: auto;
  height: auto;
  min-height: 104px;
  gap: 7px;
}

.forest-ui-v2-home .forest-ui-level-card {
  min-height: 104px;
  padding: 7px 4px;
  border: 1px solid var(--forest-line);
  border-radius: 10px;
  background: var(--forest-paper);
  box-shadow: 0 2px 7px rgba(76, 53, 31, .08);
}

.forest-ui-v2-home .forest-ui-level-card.is-active { outline: 2px solid var(--forest-clay); outline-offset: -3px; }
.forest-ui-v2-home .forest-ui-level-card strong { font-size: 11px; }
.forest-ui-v2-home .forest-ui-level-card small { color: var(--forest-subtle); font-size: 10px; }
.forest-ui-v2-home .forest-ui-sprite { width: min(68%, 48px); }

.forest-ui-v2-home .forest-ui-portrait-heading {
  position: relative;
  left: auto;
  top: auto;
  grid-column: 1 / -1;
  width: auto;
  height: auto;
  padding: 0 2px;
  color: var(--forest-ink);
  font-size: 13px;
}

.forest-ui-v2-home .forest-ui-portrait-heading span { color: var(--forest-subtle); font-size: 11px; }

.forest-ui-v2-home .forest-ui-portrait-grid {
  position: relative;
  left: auto;
  top: auto;
  grid-column: 1 / -1;
  width: auto;
  height: auto;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: repeat(2, 76px);
  gap: 7px;
}

.forest-ui-v2-home .forest-ui-portrait-choice {
  overflow: hidden;
  border: 1px solid var(--forest-line);
  border-radius: 9px;
  color: var(--forest-ink);
  background: var(--forest-paper);
}

.forest-ui-v2-home .forest-ui-portrait-choice span {
  position: absolute;
  right: 2px;
  bottom: 2px;
  left: 2px;
  width: auto;
  height: auto;
  padding: 2px;
  overflow: hidden;
  clip-path: none;
  color: var(--forest-ink);
  background: rgba(255, 250, 240, .9);
  font-size: 8px;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.forest-ui-v2-home .forest-ui-portrait-art {
  position: absolute;
  inset: 3px 3px 17px;
  display: block;
  border-radius: 6px;
}

.forest-ui-v2-home .forest-ui-portrait-choice.is-active { outline: 2px solid var(--forest-clay); outline-offset: -2px; background: #fff4df; }
.forest-ui-v2-home .forest-ui-portrait-choice.is-active::after { right: 3px; bottom: 18px; width: 17px; height: 17px; background: var(--forest-clay); font-size: 10px; }

.forest-ui-v2-home .forest-ui-station-grid {
  position: relative;
  left: auto;
  top: auto;
  grid-column: 1 / -1;
  width: auto;
  height: auto;
  min-height: 88px;
  gap: 8px;
}

.forest-ui-v2-home .forest-ui-station-card {
  min-height: 88px;
  padding: 8px;
  justify-content: center;
  border: 1px solid var(--forest-line);
  border-radius: 9px;
  background: var(--forest-paper);
  box-shadow: 0 2px 7px rgba(76, 53, 31, .08);
}

.forest-ui-v2-home .forest-ui-station-card.is-active { outline: 2px solid var(--forest-moss); outline-offset: -3px; background: #edf1df; }
.forest-ui-v2-home .forest-ui-station-card strong { font-size: 12px; }
.forest-ui-v2-home .forest-ui-station-card small { display: -webkit-box; overflow: hidden; color: var(--forest-subtle); font-size: 9px; line-height: 1.25; -webkit-line-clamp: 2; -webkit-box-orient: vertical; white-space: normal; }

.forest-ui-v2-home .forest-ui-start {
  position: sticky;
  z-index: 12;
  right: auto;
  bottom: 8px;
  left: auto;
  top: auto;
  grid-column: 1 / -1;
  width: auto;
  height: 48px;
  margin: 2px 0 0;
  border: 1px solid rgba(69, 91, 60, .3);
  border-radius: 10px;
  color: #fff;
  background: var(--forest-moss);
  box-shadow: 0 4px 12px rgba(61, 80, 54, .22);
  font-size: 16px;
  text-shadow: none;
}

.forest-ui-v2-home .forest-ui-contact-sheet { border-color: var(--forest-line); border-radius: 12px; background: var(--forest-paper); }

/* P3: cooking flow */
.forest-ui-v2-play-page { overflow-y: auto !important; }
.forest-ui-v2-play {
  min-height: 650px;
  padding: 12px !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 48px 82px 158px 54px 128px 42px 116px;
  gap: 8px;
  overflow: visible;
}

.forest-ui-v2-play .forest-ui-back { position: relative; left: auto; top: auto; grid-column: 1; grid-row: 1; width: 44px; height: 44px; min-width: 44px; min-height: 44px; }
.forest-ui-v2-play .forest-ui-back::before { left: 16px; top: 13px; width: 13px; height: 13px; }
.forest-ui-v2-play .forest-ui-back::after { left: 14px; top: 20px; width: 17px; }

.forest-ui-v2-play .forest-ui-play-hud {
  position: relative;
  inset: auto;
  grid-column: 2;
  grid-row: 1;
  height: 44px;
  display: grid;
  grid-template-columns: 1fr 1.1fr 44px;
  gap: 6px;
  pointer-events: auto;
}

.forest-ui-v2-play .forest-hud-pill {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  width: auto !important;
  height: 44px !important;
  min-height: 44px;
  padding: 0 8px !important;
  display: grid;
  place-items: center;
  border: 1px solid var(--forest-line);
  border-radius: 9px;
  color: var(--forest-ink);
  background: var(--forest-paper);
  font-size: 12px;
}

.forest-ui-v2-play .forest-hud-pill.progress { display: none; }
.forest-ui-v2-play .forest-hud-pill.coin { display: none; }
.forest-ui-v2-play .forest-hud-pill.diamond { grid-column: 2; }
.forest-ui-v2-play .forest-ui-sound { position: relative; right: auto; top: auto; grid-column: 3; width: 44px; height: 44px; border: 1px solid var(--forest-line); border-radius: 9px; background: var(--forest-paper); box-shadow: none; }

.forest-ui-v2-play .forest-order-rail {
  position: relative;
  left: auto;
  top: auto;
  grid-column: 1 / -1;
  width: auto;
  height: auto;
  gap: 7px;
  padding: 7px;
  border: 1px solid var(--forest-line);
  border-radius: 10px;
  background: rgba(255, 250, 240, .9);
}

.forest-ui-v2-play .forest-order-ticket {
  overflow: hidden;
  border: 1px solid var(--forest-line);
  border-radius: 7px;
  background: var(--forest-paper);
}

.forest-ui-v2-play .forest-order-ticket.is-current { outline: 2px solid var(--forest-clay); outline-offset: -2px; }
.forest-ui-v2-play .forest-order-ticket .forest-customer-face.forest-character-art { left: 5px; top: 5px; width: 32px !important; height: 32px !important; }
.forest-ui-v2-play .forest-order-ticket .forest-order-dish { left: 38px; top: 4px; width: 34px; }
.forest-ui-v2-play .forest-order-ticket small { right: 4px; bottom: 18px; left: 4px; color: var(--forest-ink); font-size: 9px; }
.forest-ui-v2-play .forest-order-patience { right: 8px; bottom: 7px; left: 8px; height: 6px; background: #f2e5ce; }

.forest-ui-v2-play .forest-play-scene {
  position: relative;
  left: auto;
  top: auto;
  grid-column: 1 / -1;
  width: auto;
  height: auto;
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  gap: 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.forest-ui-v2-play .forest-customer-card,
.forest-ui-v2-play .forest-partner-stage,
.forest-ui-v2-play .forest-partner-panel {
  position: relative;
  inset: auto;
  width: auto !important;
  height: auto !important;
  min-height: 0;
  border: 1px solid var(--forest-line);
  border-radius: 10px;
  background: var(--forest-paper);
  box-shadow: 0 2px 8px rgba(76, 53, 31, .08);
}

.forest-ui-v2-play .forest-customer-card { grid-row: 1 / span 2; padding: 8px !important; display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 8px; overflow: hidden; }
.forest-ui-v2-play .forest-customer-card .forest-customer-face.forest-character-art { position: relative; left: auto; top: auto; width: 82px !important; height: 100% !important; min-height: 108px; }
.forest-ui-v2-play .forest-customer-request { position: relative; left: auto; right: auto; bottom: auto; height: auto; padding: 8px; grid-template-rows: auto 1fr 8px; background: #f7edda; text-align: left; }
.forest-ui-v2-play .forest-customer-request strong { font-size: 14px; }
.forest-ui-v2-play .forest-customer-request small { overflow: hidden; font-size: 10px; line-height: 1.35; }
.forest-ui-v2-play .forest-patience { height: 8px; }

.forest-ui-v2-play .forest-partner-stage { padding: 8px !important; display: grid !important; grid-template-columns: 54px minmax(0, 1fr) !important; grid-template-rows: 1fr auto 8px !important; gap: 3px 7px; overflow: hidden; }
.forest-ui-v2-play .forest-partner-figure { width: 54px !important; height: 62px !important; grid-row: 1 / span 2; }
.forest-ui-v2-play .forest-partner-figure .forest-partner-avatar.forest-character-art { width: 54px !important; height: 62px !important; }
.forest-ui-v2-play .forest-partner-stage > strong { align-self: end; color: var(--forest-ink); font-size: 12px; }
.forest-ui-v2-play .forest-partner-stage > small { color: var(--forest-subtle); font-size: 9px; line-height: 1.25; }
.forest-ui-v2-play .forest-partner-stage .forest-mood { height: 8px; background: #f2e5ce; }

.forest-ui-v2-play .forest-partner-panel { padding: 7px !important; display: grid !important; grid-template-columns: minmax(0, 1fr) 54px !important; grid-template-rows: 1fr 1fr; gap: 5px; overflow: hidden; }
.forest-ui-v2-play .forest-partner-task { padding: 4px 5px; background: #edf1df; }
.forest-ui-v2-play .forest-partner-task strong,
.forest-ui-v2-play .forest-partner-task small { font-size: 9px; }
.forest-ui-v2-play .forest-partner-bubble p { color: var(--forest-ink); font-size: 9px; line-height: 1.25; }
.forest-ui-v2-play .forest-partner-bubble > div { max-height: 18px; }
.forest-ui-v2-play .forest-partner-bubble button { min-height: 18px; font-size: 8px; }
.forest-ui-v2-play .forest-partner-panel > button { min-height: 42px; border-radius: 7px; color: #fff; background: var(--forest-moss); font-size: 10px; }
.forest-ui-v2-play .forest-accident { display: none; }

.forest-ui-v2-play .forest-ui-recipe {
  position: relative;
  left: auto;
  top: auto;
  grid-column: 1 / -1;
  width: auto;
  height: auto;
  gap: 5px;
  padding: 5px;
  border: 1px solid var(--forest-line);
  border-radius: 10px;
  background: rgba(255, 250, 240, .9);
}

.forest-ui-v2-play .forest-ui-recipe-step { padding: 17px 2px 3px; border: 1px solid transparent; border-radius: 7px; color: var(--forest-subtle); background: #f6ebd5; }
.forest-ui-v2-play .forest-ui-recipe-step b { left: 4px; top: 3px; width: 13px; font-size: 8px; }
.forest-ui-v2-play .forest-ui-recipe-step span { font-size: 9px; }
.forest-ui-v2-play .forest-ui-recipe-step.is-current { outline: 0; border-color: var(--forest-clay); background: #fff2dc; color: var(--forest-ink); }

.forest-ui-v2-play .forest-ui-workbench {
  position: relative;
  left: auto;
  top: auto;
  grid-column: 1 / -1;
  width: auto;
  height: auto;
  padding: 10px !important;
  border: 1px solid rgba(113, 78, 43, .35);
  border-radius: 10px;
  background: #dca768 !important;
  box-shadow: inset 0 0 0 2px rgba(255, 240, 205, .48) !important;
}

.forest-ui-v2-play .forest-ui-workbench .forest-drop-zones { left: 12px; top: 12px; width: 42%; height: 34px; }
.forest-ui-v2-play .forest-ui-workbench .forest-drop-zones span.current { padding: 7px; border-radius: 7px; background: var(--forest-paper); font-size: 11px; }
.forest-ui-v2-play .forest-ui-workbench .forest-plate-preview { left: 57%; top: 10px; width: 112px; height: 106px; max-width: 38%; background: #fff8e8; }
.forest-ui-v2-play .forest-ui-workbench .forest-tactile-food small { font-size: 9px; }
.forest-ui-v2-play .forest-next-step { left: 12px; bottom: 13px; width: 48%; color: #4f3829; font-size: 11px; text-align: left; }

.forest-ui-v2-play .forest-ui-oven-row { position: relative; left: auto; top: auto; grid-column: 1 / -1; width: auto; height: auto; grid-template-columns: 52px minmax(0, 1fr); gap: 8px; }
.forest-ui-v2-play .forest-ui-oven { min-height: 40px; border: 1px solid var(--forest-line); background: var(--forest-paper); }
.forest-ui-v2-play .forest-ui-oven span { display: block !important; background-size: 800% 600%; }
.forest-ui-v2-play .forest-bake-slot { height: 40px; padding: 8px; border: 1px solid var(--forest-line); border-radius: 8px; background: var(--forest-paper); }
.forest-ui-v2-play .forest-tactile-meter > span { color: var(--forest-ink); font-size: 10px; }

.forest-ui-v2-play .forest-ui-tool-grid {
  position: relative;
  left: auto;
  top: auto;
  grid-column: 1 / -1;
  width: auto;
  height: auto;
  gap: 6px !important;
  padding: 7px !important;
  border: 1px solid var(--forest-line);
  border-radius: 10px;
  background: rgba(255, 250, 240, .9);
}

.forest-ui-v2-play .forest-ui-tool { min-height: 48px !important; overflow: hidden; border: 1px solid var(--forest-line); border-radius: 8px; background: var(--forest-paper); }
.forest-ui-v2-play .forest-ui-tool span { width: 35px !important; height: 35px !important; display: block !important; }
.forest-ui-v2-play .forest-ui-tool b { right: 1px; bottom: 2px; left: 1px; padding: 1px; color: var(--forest-ink); background: rgba(255, 250, 240, .92); font-size: 8px; }
.forest-ui-v2-play .forest-ui-tool small { display: grid !important; }
.forest-ui-v2-play .forest-ui-tool.is-current { outline: 2px solid var(--forest-clay); outline-offset: -2px; transform: none; }

/* P2: round summary */
.forest-ui-v2-result-page { overflow-y: auto !important; }
.forest-ui-v2-result {
  min-height: 650px;
  padding: 12px 12px 24px !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 56px 90px 78px 1fr 48px 28px;
  gap: 10px;
  overflow: visible;
}

.forest-ui-v2-result .forest-ui-back { position: relative; left: auto; top: auto; grid-column: 1; grid-row: 1; }
.forest-ui-v2-result .forest-ui-result-title { position: relative; left: auto; top: auto; grid-column: 1 / -1; grid-row: 1; width: auto; height: auto; padding: 0 52px; display: flex; justify-content: center; }
.forest-ui-v2-result .forest-ui-result-title strong { color: var(--forest-ink); font-size: 21px; }
.forest-ui-v2-result .forest-saved-link { position: absolute; right: 0; top: 8px; min-height: 36px; border-radius: 8px; color: var(--forest-ink); background: var(--forest-paper); font-size: 11px; }

.forest-ui-v2-result .forest-ui-result-stars { position: relative; left: auto; top: auto; grid-column: 1 / -1; width: auto; height: auto; border: 1px solid var(--forest-line); border-radius: 10px; background: var(--forest-paper); }
.forest-ui-v2-result .forest-ui-result-stars .forest-stars.big span { max-width: 62px; }
.forest-ui-v2-result .forest-ui-result-summary { position: relative; left: auto; top: auto; grid-column: 1 / -1; width: auto; height: auto; padding: 10px 12px; border: 1px dashed var(--forest-line); border-radius: 10px; background: var(--forest-paper); text-align: left; }
.forest-ui-v2-result .forest-ui-result-summary strong { color: var(--forest-ink); font-size: 13px; }
.forest-ui-v2-result .forest-ui-result-summary small { color: var(--forest-subtle); font-size: 10px; }

.forest-ui-v2-result .forest-ui-result-stats { position: relative; left: auto; top: auto; grid-column: 1 / -1; width: auto; height: auto; gap: 7px; }
.forest-ui-v2-result .forest-ui-result-stats span { padding: 8px 2px; border-color: var(--forest-line); border-radius: 8px; background: #f4e8cf; }
.forest-ui-v2-result .forest-ui-result-stats b { color: var(--forest-ink); font-size: 15px; }
.forest-ui-v2-result .forest-ui-result-stats small { color: var(--forest-subtle); font-size: 9px; }

.forest-ui-v2-result .forest-ui-result-memory { position: relative; left: auto; top: auto; grid-column: 1 / -1; width: auto; height: auto; grid-template-columns: 34% minmax(0, 1fr); gap: 10px; }
.forest-ui-v2-result .forest-ui-polaroid { width: 100%; border-color: var(--forest-line); background: var(--forest-paper); }
.forest-ui-v2-result .forest-ui-polaroid small { color: var(--forest-ink); font-size: 10px; }
.forest-ui-v2-result .forest-result-copy-tabs { gap: 7px; }
.forest-ui-v2-result .forest-result-tabs { gap: 5px; }
.forest-ui-v2-result .forest-result-tabs button { min-height: 34px; border-color: var(--forest-line); color: var(--forest-ink); background: var(--forest-paper); font-size: 10px; }
.forest-ui-v2-result .forest-result-tabs button.is-active { color: #fff; background: var(--forest-clay); }
.forest-ui-v2-result .forest-result-paper { padding: 10px; border-color: var(--forest-line); border-radius: 9px; background: var(--forest-paper); }
.forest-ui-v2-result .forest-result-paper.theater { background: #f5e3d5; }
.forest-ui-v2-result .forest-result-paper.diary { background: #e2ebd8; }
.forest-ui-v2-result .forest-result-paper.score { background: #f6e5bd; }
.forest-ui-v2-result .forest-result-paper strong { font-size: 13px; }
.forest-ui-v2-result .forest-result-paper small,
.forest-ui-v2-result .forest-result-paper p,
.forest-ui-v2-result .forest-result-paper em { color: var(--forest-subtle); font-size: 10px; line-height: 1.35; }

.forest-ui-v2-result .forest-result-actions { position: relative; left: auto; top: auto; grid-column: 1 / -1; width: auto !important; height: auto; gap: 8px; }
.forest-ui-v2-result .forest-result-actions button { min-height: 48px; border-color: var(--forest-line); border-radius: 10px; color: var(--forest-ink); background: var(--forest-paper); font-size: 14px; }
.forest-ui-v2-result .forest-result-actions .forest-primary { color: #fff; background: var(--forest-moss); }
.forest-ui-v2-result .forest-share-link { position: relative; left: auto; top: auto; grid-column: 1 / -1; margin: 0; color: var(--forest-subtle); font-size: 11px; }

@media (max-width: 340px) {
  .forest-ui-v2-home .forest-ui-portrait-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(3, 72px); }
  .forest-ui-v2-play { grid-template-rows: 48px 76px 150px 52px 122px 40px 112px; gap: 6px; padding: 8px !important; }
  .forest-ui-v2-play .forest-order-rail,
  .forest-ui-v2-play .forest-ui-tool-grid { padding: 5px !important; }
  .forest-ui-v2-play .forest-play-scene { gap: 6px; }
  .forest-ui-v2-play .forest-customer-card { grid-template-columns: 68px minmax(0, 1fr); gap: 6px; }
  .forest-ui-v2-play .forest-customer-card .forest-customer-face.forest-character-art { width: 68px !important; }
  .forest-ui-v2-play .forest-partner-stage { grid-template-columns: 46px minmax(0, 1fr) !important; }
  .forest-ui-v2-play .forest-partner-figure,
  .forest-ui-v2-play .forest-partner-figure .forest-partner-avatar.forest-character-art { width: 46px !important; height: 56px !important; }
  .forest-ui-v2-play .forest-ui-recipe-step span { font-size: 8px; }
  .forest-ui-v2-play .forest-ui-workbench .forest-plate-preview { width: 98px; height: 98px; }
}
}

/* Forest Kitchen home alignment: keep the live hit areas on the same portrait
   grid as the baked P1 artboard. The artboard supplies the illustrations;
   controls add only text, hit states, and selection feedback. */
.wechat-app--forest-immersive .forest-ui-v2-home {
  background-color: #e8e4c8 !important;
  background-image: url('../assets/forest-kitchen/forest-ui-pages-v2.webp') !important;
  background-repeat: no-repeat !important;
  background-size: 300% 100% !important;
  background-position: 0 0 !important;
}

.wechat-app--forest-immersive .forest-ui-v2-home .forest-ui-sprite {
  background-repeat: no-repeat !important;
  background-size: 800% 600% !important;
}

.wechat-app--forest-immersive .forest-ui-v2-home .forest-ui-portrait-choice {
  border-radius: 0;
}

/* The P1 artboard already contains the twelve character illustrations. Keep
   these buttons as transparent hit targets so a second sprite sheet cannot
   drift away from the baked characters. */
.wechat-app--forest-immersive .forest-ui-v2-home .forest-ui-portrait-art {
  display: none !important;
}

.wechat-app--forest-immersive .forest-ui-v2-home .forest-ui-portrait-choice.is-active {
  outline: 3px solid rgba(188, 104, 58, .9);
  outline-offset: -3px;
  background: rgba(255, 249, 226, .12);
}

.wechat-app--forest-immersive .forest-ui-v2-home .forest-ui-portrait-choice.is-active::after {
  right: 4%;
  bottom: 4%;
  width: clamp(16px, 3.4vw, 24px);
  height: auto;
  aspect-ratio: 1;
  font-size: clamp(10px, 2vw, 13px);
}

.wechat-app--forest-immersive .forest-ui-v2-home .forest-ui-station-card {
  padding: 0 5% 7%;
}

/* Keep the level controls inside the printed progress rail instead of letting
   the live state fill spill over its circles and star medallion. */
.wechat-app--forest-immersive .forest-ui-v2-home .forest-ui-level-marker {
  width: clamp(28px, 8.4vw, 36px);
  height: clamp(28px, 8.4vw, 36px);
}

.wechat-app--forest-immersive .forest-ui-v2-home .forest-ui-level-marker b {
  font-size: clamp(13px, 3.5vw, 17px);
}

.wechat-app--forest-immersive .forest-ui-v2-home .forest-ui-level-marker.is-active {
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .72), 0 2px 4px rgba(96, 59, 28, .18);
}

.wechat-app--forest-immersive .forest-ui-v2-home .forest-ui-best-stars {
  padding: 0 3%;
  justify-content: center;
}

.wechat-app--forest-immersive .forest-ui-v2-home .forest-ui-best-stars .forest-stars span {
  width: clamp(12px, 3.25vw, 15px);
  height: clamp(12px, 3.25vw, 15px);
}

.wechat-app--forest-immersive .forest-ui-v2-home .forest-ui-station-card small {
  display: none !important;
}

/* Forest Kitchen text alignment: the artboards already provide every panel and
   label slot. Keep live text centred in those slots instead of letting generic
   card padding push it below the printed shapes. */
.wechat-app--forest-immersive .forest-ui-v2-home .forest-ui-level-card {
  position: relative;
  padding: 0;
}

.wechat-app--forest-immersive .forest-ui-v2-home .forest-ui-level-card strong,
.wechat-app--forest-immersive .forest-ui-v2-home .forest-ui-level-card small {
  position: absolute;
  left: 4%;
  right: 4%;
  display: grid;
  place-items: center;
  margin: 0;
  line-height: 1;
  text-align: center;
}

.wechat-app--forest-immersive .forest-ui-v2-home .forest-ui-level-card strong {
  top: 66%;
  height: 14%;
}

.wechat-app--forest-immersive .forest-ui-v2-home .forest-ui-level-card small {
  top: 81%;
  height: 12%;
}

.wechat-app--forest-immersive .forest-ui-v2-home .forest-ui-station-card {
  position: relative;
  padding: 0;
  justify-content: initial;
}

.wechat-app--forest-immersive .forest-ui-v2-home .forest-ui-station-card strong {
  position: absolute;
  left: 4%;
  right: 4%;
  top: 63%;
  height: 17%;
  display: grid;
  place-items: center;
  margin: 0;
  line-height: 1;
  text-align: center;
}

/* P3 cooking page: the old notebook overlay left its own padding and opaque
   panels behind the live state. Restore transparent hit areas over P3. */
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-order-ticket,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-play-scene,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-customer-card,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-partner-stage,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-partner-panel,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-workbench {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-hud-pill,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-order-ticket small,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-recipe-step span,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-next-step,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-tool b {
  line-height: 1;
  text-align: center;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-hud-pill {
  display: grid;
  place-items: center;
  padding-top: 0;
  padding-bottom: 4%;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-order-ticket small {
  bottom: 23%;
  height: 14%;
  display: grid;
  place-items: center;
  transform: translateY(-18%);
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-customer-request {
  bottom: 6%;
  padding: 2% 6% 4%;
  grid-template-rows: 30% minmax(0, 1fr) 14%;
  align-content: center;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-customer-request strong,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-customer-request small,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-partner-stage > strong,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-partner-stage > small {
  display: block;
  margin: 0;
  line-height: 1.1;
  text-align: center;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-customer-request strong,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-customer-request small {
  transform: translateY(-14%);
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-partner-stage {
  padding-top: 1.5% !important;
  grid-template-rows: minmax(0, 1fr) 17% 15% !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-partner-stage > strong {
  align-self: center;
  transform: translateY(-10%);
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-partner-stage > small {
  align-self: start;
  transform: translateY(-18%);
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-recipe-step {
  padding: 0;
  align-items: initial;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-recipe-step span {
  position: absolute;
  left: 4%;
  right: 4%;
  top: 44%;
  height: 22%;
  display: grid;
  place-items: center;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-workbench .forest-drop-zones {
  top: 4%;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-workbench .forest-drop-zones span.current {
  min-height: 100%;
  padding: 0;
  display: grid;
  place-items: center;
  line-height: 1;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-next-step {
  bottom: 18%;
  height: 16%;
  display: grid;
  place-items: center;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-workbench .forest-tactile-food small {
  bottom: 18%;
  line-height: 1;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-tool b {
  bottom: 17%;
  height: 18%;
  display: grid;
  place-items: center;
  padding: 0;
  background: transparent;
}

/* P3 uses a painted board. Keep live icons inside the illustrated slots so
   high-resolution screens cannot make them cover labels or neighboring art. */
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-order-ticket .forest-customer-face.forest-character-art {
  left: 3%;
  top: 4%;
  width: 31% !important;
  height: 34% !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-order-ticket .forest-order-dish {
  left: 37%;
  top: 14%;
  width: 47%;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-order-ticket small {
  font-size: clamp(5px, 1.35vw, 7px);
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-workbench .forest-tactile-food i {
  width: 62%;
  height: 40%;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-workbench .forest-tactile-food b {
  width: 46%;
  height: 19%;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-workbench .forest-tactile-food em {
  width: 54%;
  height: 25%;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-workbench .forest-tactile-food u {
  width: 64%;
  height: 30%;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-workbench .forest-food-tool {
  left: calc(50% + 24%);
  top: 24%;
  width: 7px;
  height: 38%;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-workbench .forest-tactile-food small {
  bottom: 7%;
  font-size: clamp(5px, 1.2vw, 6px);
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-tool span {
  position: absolute;
  left: 23%;
  top: 3%;
  width: 54% !important;
  height: 54% !important;
  margin: 0;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-tool b {
  bottom: 10%;
  height: 20%;
  font-size: clamp(4px, 1.2vw, 6px);
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-tool small {
  font-size: clamp(5px, 1.2vw, 7px);
}

/* Retired Forest Kitchen play experiments. Keep the old declarations inert so
   the portrait play screen has one canonical layout below. */
@media (max-width: 0px) {
/* Forest Kitchen image-only mode: the painted boards are the visible UI.
   Live controls remain in place for taps and drag/drop, but add no text,
   progress treatment, selection frame, or extra panel over the artwork. */
body .forest-ui-v2-home button,
body .forest-ui-v2-play button,
body .forest-ui-v2-result button {
  border-color: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  color: transparent !important;
  outline: 0 !important;
  text-shadow: none !important;
}

body .forest-ui-v2-home button::before,
body .forest-ui-v2-home button::after,
body .forest-ui-v2-play button::before,
body .forest-ui-v2-play button::after,
body .forest-ui-v2-result button::before,
body .forest-ui-v2-result button::after {
  display: none !important;
}

/* P1: preserve the baked page art while the level, partner, and start hit
   regions stay clickable without adding live labels or selection feedback. */
body .forest-ui-v2-home .forest-ui-home-sign > *,
body .forest-ui-v2-home .forest-ui-level-marker b,
body .forest-ui-v2-home .forest-ui-best-stars,
body .forest-ui-v2-home .forest-ui-level-card > strong,
body .forest-ui-v2-home .forest-ui-level-card > small,
body .forest-ui-v2-home .forest-ui-portrait-heading,
body .forest-ui-v2-home .forest-ui-portrait-choice > span,
body .forest-ui-v2-home .forest-ui-station-card > strong,
body .forest-ui-v2-home .forest-ui-station-card > small,
body .forest-ui-v2-home .forest-ui-start,
body .forest-ui-v2-home .forest-ui-contact-sheet h3,
body .forest-ui-v2-home .forest-ui-contact-sheet strong,
body .forest-ui-v2-home .forest-ui-contact-sheet small {
  color: transparent !important;
  text-shadow: none !important;
}

body .forest-ui-v2-home .forest-ui-level-marker.is-active,
body .forest-ui-v2-home .forest-ui-level-card.is-active,
body .forest-ui-v2-home .forest-ui-portrait-choice.is-active,
body .forest-ui-v2-home .forest-ui-station-card.is-active {
  background: transparent !important;
  box-shadow: none !important;
  outline: 0 !important;
}

body .forest-ui-v2-home .forest-ui-portrait-choice.is-active::after {
  display: none !important;
}

body .forest-ui-v2-home .forest-ui-contact-backdrop,
body .forest-ui-v2-home .forest-ui-contact-sheet,
body .forest-ui-v2-home .forest-partner-row {
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

/* P3: keep the character, dish, food, oven, and tool pictures. All status,
   narration, labels, bars, and panel treatments become invisible. */
body .forest-ui-v2-play .forest-play-hud,
body .forest-ui-v2-play .forest-order-ticket small,
body .forest-ui-v2-play .forest-order-patience,
body .forest-ui-v2-play .forest-customer-request,
body .forest-ui-v2-play .forest-patience,
body .forest-ui-v2-play .forest-partner-stage > strong,
body .forest-ui-v2-play .forest-partner-stage > small,
body .forest-ui-v2-play .forest-mood,
body .forest-ui-v2-play .forest-partner-panel,
body .forest-ui-v2-play .forest-accident,
body .forest-ui-v2-play .forest-ui-recipe-step > b,
body .forest-ui-v2-play .forest-ui-recipe-step > span,
body .forest-ui-v2-play .forest-tray,
body .forest-ui-v2-play .forest-drop-zones,
body .forest-ui-v2-play .forest-next-step,
body .forest-ui-v2-play .forest-tactile-food small,
body .forest-ui-v2-play .forest-bake-slot,
body .forest-ui-v2-play .forest-ui-tool b,
body .forest-ui-v2-play .forest-ui-tool small {
  opacity: 0 !important;
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

body .forest-ui-v2-play .forest-order-ticket,
body .forest-ui-v2-play .forest-ui-recipe-step,
body .forest-ui-v2-play .forest-ui-tool,
body .forest-ui-v2-play .forest-ui-tool.is-current,
body .forest-ui-v2-play .forest-ui-tool-grid,
body .forest-ui-v2-play .forest-ui-workbench,
body .forest-ui-v2-play .forest-plate-preview,
body .forest-ui-v2-play .forest-ui-oven {
  border-color: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  outline: 0 !important;
}

body .forest-ui-v2-play .forest-ui-tool-grid,
body .forest-ui-v2-play .forest-ui-tool {
  background-image: none !important;
}

/* P2: leave the partner and star pictures visible; make all generated result
   copy and action surfaces transparent without disabling their hit targets. */
body .forest-ui-v2-result .forest-ui-result-title,
body .forest-ui-v2-result .forest-saved-link,
body .forest-ui-v2-result .forest-ui-result-summary,
body .forest-ui-v2-result .forest-ui-result-stats,
body .forest-ui-v2-result .forest-ui-polaroid small,
body .forest-ui-v2-result .forest-result-copy-tabs,
body .forest-ui-v2-result .forest-result-actions,
body .forest-ui-v2-result .forest-share-link {
  opacity: 0 !important;
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

body .forest-ui-v2-result .forest-ui-result-stars,
body .forest-ui-v2-result .forest-ui-polaroid {
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Forest Kitchen readable flow layout: live game information stays visible
   and the page grows naturally instead of being squeezed into the painted
   390x844 board. */
body .forest-ui-v2-play-page {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  height: auto !important;
  min-height: 100% !important;
}

body .forest-ui-v2-play {
  width: min(100%, 760px) !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 auto !important;
  padding: clamp(12px, 3vw, 24px) !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  grid-template-rows: auto auto auto auto minmax(54px, auto) minmax(176px, auto) auto auto !important;
  gap: clamp(8px, 1.8vw, 14px) !important;
  align-content: start !important;
  overflow: visible !important;
}

body .forest-ui-v2-play .forest-ui-back {
  position: relative !important;
  inset: auto !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  color: var(--forest-ink) !important;
  background: var(--forest-paper) !important;
  border: 1px solid var(--forest-line) !important;
  border-radius: 9px !important;
  box-shadow: none !important;
}

body .forest-ui-v2-play .forest-ui-back::before {
  display: block !important;
  left: 16px !important;
  top: 13px !important;
  width: 13px !important;
  height: 13px !important;
  border-left: 2px solid var(--forest-ink) !important;
  border-bottom: 2px solid var(--forest-ink) !important;
}

body .forest-ui-v2-play .forest-ui-back::after {
  display: block !important;
  left: 14px !important;
  top: 20px !important;
  width: 17px !important;
  height: 2px !important;
  background: var(--forest-ink) !important;
}

body .forest-ui-v2-play .forest-play-hud {
  position: relative !important;
  inset: auto !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
  width: auto !important;
  height: 44px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px !important;
  gap: 6px !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

body .forest-ui-v2-play .forest-hud-pill {
  position: relative !important;
  inset: auto !important;
  width: auto !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 8px !important;
  display: grid !important;
  place-items: center !important;
  color: var(--forest-ink) !important;
  background: var(--forest-paper) !important;
  border: 1px solid var(--forest-line) !important;
  border-radius: 9px !important;
  font-size: 12px !important;
}

body .forest-ui-v2-play .forest-hud-pill.progress,
body .forest-ui-v2-play .forest-hud-pill.coin { display: none !important; }
body .forest-ui-v2-play .forest-hud-pill.diamond { grid-column: 2 !important; }
body .forest-ui-v2-play .forest-ui-sound {
  position: relative !important;
  inset: auto !important;
  grid-column: 3 !important;
  width: 44px !important;
  height: 44px !important;
  color: var(--forest-ink) !important;
  background: var(--forest-paper) !important;
  border: 1px solid var(--forest-line) !important;
  border-radius: 9px !important;
  box-shadow: none !important;
}

body .forest-ui-v2-play .forest-play-guide {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  display: grid !important;
  gap: 3px !important;
  min-width: 0 !important;
  padding: 10px 12px !important;
  border-left: 4px solid var(--forest-clay) !important;
  border-radius: 9px !important;
  color: var(--forest-ink) !important;
  background: #fff2dc !important;
  opacity: 1 !important;
}

body .forest-ui-v2-play .forest-play-guide div {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 5px 9px !important;
  align-items: baseline !important;
}

body .forest-ui-v2-play .forest-play-guide strong { color: var(--forest-clay) !important; font-size: 13px !important; }
body .forest-ui-v2-play .forest-play-guide span { min-width: 0 !important; color: var(--forest-ink) !important; font-size: 13px !important; font-weight: 700 !important; }
body .forest-ui-v2-play .forest-play-guide small,
body .forest-ui-v2-play .forest-play-guide em { color: var(--forest-subtle) !important; font-size: 11px !important; line-height: 1.35 !important; }
body .forest-ui-v2-play .forest-play-guide em { font-style: normal !important; color: #a05e38 !important; }

body .forest-ui-v2-play .forest-order-rail {
  position: relative !important;
  inset: auto !important;
  grid-column: 1 / -1 !important;
  grid-row: 3 !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)) !important;
  gap: 8px !important;
  padding: 8px !important;
  overflow-x: auto !important;
  border: 1px solid var(--forest-line) !important;
  border-radius: 10px !important;
  background: rgba(255, 250, 240, .94) !important;
  opacity: 1 !important;
}

body .forest-ui-v2-play .forest-order-ticket {
  position: relative !important;
  min-width: 100px !important;
  min-height: 76px !important;
  color: var(--forest-ink) !important;
  background: var(--forest-paper) !important;
  border: 1px solid var(--forest-line) !important;
  border-radius: 8px !important;
  outline: 0 !important;
  box-shadow: none !important;
  opacity: 1 !important;
}
body .forest-ui-v2-play .forest-order-ticket.is-current { outline: 3px solid var(--forest-clay) !important; outline-offset: -3px !important; }
body .forest-ui-v2-play .forest-order-ticket small { opacity: 1 !important; color: var(--forest-ink) !important; }
body .forest-ui-v2-play .forest-order-patience { opacity: 1 !important; border-color: rgba(133, 92, 48, .46) !important; background: #f2e5ce !important; }

body .forest-ui-v2-play .forest-play-scene {
  position: relative !important;
  inset: auto !important;
  grid-column: 1 / -1 !important;
  grid-row: 4 !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr) !important;
  grid-template-rows: minmax(148px, auto) minmax(104px, auto) auto !important;
  gap: 8px !important;
  padding: 0 !important;
  background: transparent !important;
}

body .forest-ui-v2-play .forest-customer-card,
body .forest-ui-v2-play .forest-partner-stage,
body .forest-ui-v2-play .forest-partner-panel {
  position: relative !important;
  inset: auto !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  color: var(--forest-ink) !important;
  background: var(--forest-paper) !important;
  border: 1px solid var(--forest-line) !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 8px rgba(76, 53, 31, .08) !important;
  opacity: 1 !important;
}
body .forest-ui-v2-play .forest-customer-card { grid-column: 1 !important; grid-row: 1 / span 2 !important; }
body .forest-ui-v2-play .forest-partner-stage { grid-column: 2 !important; grid-row: 1 !important; }
body .forest-ui-v2-play .forest-partner-panel { grid-column: 2 !important; grid-row: 2 !important; }
body .forest-ui-v2-play .forest-customer-request,
body .forest-ui-v2-play .forest-partner-stage > strong,
body .forest-ui-v2-play .forest-partner-stage > small,
body .forest-ui-v2-play .forest-partner-panel,
body .forest-ui-v2-play .forest-partner-task,
body .forest-ui-v2-play .forest-partner-bubble,
body .forest-ui-v2-play .forest-mood,
body .forest-ui-v2-play .forest-patience { opacity: 1 !important; }
body .forest-ui-v2-play .forest-customer-request { color: var(--forest-ink) !important; background: #f7edda !important; }
body .forest-ui-v2-play .forest-customer-request strong { color: var(--forest-ink) !important; }
body .forest-ui-v2-play .forest-customer-request small { color: var(--forest-subtle) !important; }
body .forest-ui-v2-play .forest-partner-stage > strong { color: var(--forest-ink) !important; }
body .forest-ui-v2-play .forest-partner-stage > small { color: var(--forest-subtle) !important; }
body .forest-ui-v2-play .forest-partner-panel { color: var(--forest-ink) !important; background: #f4f0df !important; }
body .forest-ui-v2-play .forest-partner-task { color: var(--forest-ink) !important; background: #edf1df !important; }
body .forest-ui-v2-play .forest-partner-task strong,
body .forest-ui-v2-play .forest-partner-task small,
body .forest-ui-v2-play .forest-partner-bubble p { color: var(--forest-ink) !important; }
body .forest-ui-v2-play .forest-partner-panel > button { color: #fff !important; background: var(--forest-moss) !important; border-color: var(--forest-moss) !important; }
body .forest-ui-v2-play .forest-accident { grid-column: 1 / -1 !important; grid-row: 3 !important; min-height: 28px !important; padding: 6px 9px !important; color: #9b4d39 !important; background: #fff0e4 !important; border: 1px solid #e2b09a !important; border-radius: 8px !important; opacity: 1 !important; }
body .forest-ui-v2-play .forest-accident.is-empty { display: none !important; }

body .forest-ui-v2-play .forest-ui-recipe {
  position: relative !important;
  inset: auto !important;
  grid-column: 1 / -1 !important;
  grid-row: 5 !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(58px, 1fr)) !important;
  gap: 6px !important;
  padding: 7px !important;
  color: var(--forest-ink) !important;
  background: rgba(255, 250, 240, .94) !important;
  border: 1px solid var(--forest-line) !important;
  border-radius: 10px !important;
  opacity: 1 !important;
}
body .forest-ui-v2-play .forest-ui-recipe-step { min-height: 48px !important; padding: 17px 3px 4px !important; color: var(--forest-subtle) !important; background: #f6ebd5 !important; border: 1px solid transparent !important; opacity: 1 !important; }
body .forest-ui-v2-play .forest-ui-recipe-step > b,
body .forest-ui-v2-play .forest-ui-recipe-step > span { opacity: 1 !important; }
body .forest-ui-v2-play .forest-ui-recipe-step > b { color: #fff9eb !important; background: #bd8b52 !important; }
body .forest-ui-v2-play .forest-ui-recipe-step > span { color: inherit !important; }
body .forest-ui-v2-play .forest-ui-recipe-step.is-current { border-color: var(--forest-clay) !important; color: var(--forest-ink) !important; background: #fff2dc !important; }

body .forest-ui-v2-play .forest-ui-workbench {
  position: relative !important;
  inset: auto !important;
  grid-column: 1 / -1 !important;
  grid-row: 6 !important;
  width: auto !important;
  height: auto !important;
  min-height: 176px !important;
  padding: 10px !important;
  border-color: rgba(113, 78, 43, .35) !important;
  background: #dca768 !important;
  opacity: 1 !important;
}
body .forest-ui-v2-play .forest-ui-workbench .forest-drop-zones,
body .forest-ui-v2-play .forest-next-step { opacity: 1 !important; }
body .forest-ui-v2-play .forest-ui-workbench .forest-drop-zones span.current { color: var(--forest-ink) !important; background: var(--forest-paper) !important; }
body .forest-ui-v2-play .forest-next-step { color: #4f3829 !important; }

body .forest-ui-v2-play .forest-ui-oven-row {
  position: relative !important;
  inset: auto !important;
  grid-column: 1 / -1 !important;
  grid-row: 7 !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: 56px minmax(0, 1fr) !important;
  gap: 8px !important;
}
body .forest-ui-v2-play .forest-bake-slot { opacity: 1 !important; color: var(--forest-ink) !important; background: var(--forest-paper) !important; border-color: var(--forest-line) !important; }
body .forest-ui-v2-play .forest-ui-tool-grid {
  position: relative !important;
  inset: auto !important;
  grid-column: 1 / -1 !important;
  grid-row: 8 !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(58px, 1fr)) !important;
  gap: 7px !important;
  padding: 8px !important;
  background: rgba(255, 250, 240, .94) !important;
  border: 1px solid var(--forest-line) !important;
  border-radius: 10px !important;
  opacity: 1 !important;
}
body .forest-ui-v2-play .forest-ui-tool {
  min-height: 62px !important;
  color: var(--forest-ink) !important;
  background: var(--forest-paper) !important;
  border: 1px solid var(--forest-line) !important;
  box-shadow: none !important;
  opacity: 1 !important;
}
body .forest-ui-v2-play .forest-ui-tool b,
body .forest-ui-v2-play .forest-ui-tool small { opacity: 1 !important; color: var(--forest-ink) !important; }
body .forest-ui-v2-play .forest-ui-tool b { background: rgba(255, 250, 240, .92) !important; }
body .forest-ui-v2-play .forest-ui-tool small { background: #b9844c !important; color: #fff8e8 !important; }
body .forest-ui-v2-play .forest-ui-tool.is-current { outline: 2px solid var(--forest-clay) !important; outline-offset: -2px !important; }

/* Restore readable labels on the level screen while retaining the existing art. */
body .forest-ui-v2-home button { color: var(--forest-ink) !important; }
body .forest-ui-v2-home .forest-ui-home-sign > *,
body .forest-ui-v2-home .forest-ui-level-marker b,
body .forest-ui-v2-home .forest-ui-best-stars,
body .forest-ui-v2-home .forest-ui-level-card > strong,
body .forest-ui-v2-home .forest-ui-level-card > small,
body .forest-ui-v2-home .forest-ui-portrait-heading,
body .forest-ui-v2-home .forest-ui-portrait-choice > span,
body .forest-ui-v2-home .forest-ui-station-card > strong,
body .forest-ui-v2-home .forest-ui-station-card > small,
body .forest-ui-v2-home .forest-ui-start,
body .forest-ui-v2-home .forest-ui-contact-sheet h3,
body .forest-ui-v2-home .forest-ui-contact-sheet strong,
body .forest-ui-v2-home .forest-ui-contact-sheet small {
  color: var(--forest-ink) !important;
  opacity: 1 !important;
  text-shadow: none !important;
}
body .forest-ui-v2-home .forest-ui-start { background: rgba(255, 250, 230, .9) !important; border: 1px solid var(--forest-clay) !important; }

@media (max-width: 520px) {
  body .forest-ui-v2-play { grid-template-columns: minmax(0, 1fr) !important; grid-template-rows: auto auto auto auto auto minmax(176px, auto) auto auto !important; }
  body .forest-ui-v2-play .forest-ui-back,
  body .forest-ui-v2-play .forest-ui-play-hud { grid-column: 1 !important; }
  body .forest-ui-v2-play .forest-ui-play-hud { grid-row: 1 !important; margin-left: 52px !important; }
  body .forest-ui-v2-play .forest-ui-back { grid-row: 1 !important; z-index: 2 !important; }
  body .forest-ui-v2-play .forest-play-guide { grid-row: 2 !important; }
  body .forest-ui-v2-play .forest-order-rail { grid-row: 3 !important; grid-template-columns: repeat(3, minmax(100px, 1fr)) !important; overflow-x: auto !important; }
  body .forest-ui-v2-play .forest-play-scene { grid-row: 4 !important; grid-template-columns: minmax(0, 1fr) !important; grid-template-rows: auto auto auto auto !important; }
  body .forest-ui-v2-play .forest-customer-card { grid-column: 1 !important; grid-row: 1 !important; min-height: 132px !important; }
  body .forest-ui-v2-play .forest-partner-stage { grid-column: 1 !important; grid-row: 2 !important; min-height: 92px !important; }
  body .forest-ui-v2-play .forest-partner-panel { grid-column: 1 !important; grid-row: 3 !important; min-height: 92px !important; }
  body .forest-ui-v2-play .forest-accident { grid-column: 1 !important; grid-row: 4 !important; }
  body .forest-ui-v2-play .forest-ui-recipe { grid-row: 5 !important; }
  body .forest-ui-v2-play .forest-ui-workbench { grid-row: 6 !important; }
  body .forest-ui-v2-play .forest-ui-oven-row { grid-row: 7 !important; }
  body .forest-ui-v2-play .forest-ui-tool-grid { grid-row: 8 !important; grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
}

@media (max-width: 360px) {
  body .forest-ui-v2-play { padding: 9px !important; gap: 8px !important; }
  body .forest-ui-v2-play .forest-play-guide { padding: 8px 9px !important; }
  body .forest-ui-v2-play .forest-play-guide strong,
  body .forest-ui-v2-play .forest-play-guide span { font-size: 12px !important; }
  body .forest-ui-v2-play .forest-play-guide small,
  body .forest-ui-v2-play .forest-play-guide em { font-size: 10px !important; }
  body .forest-ui-v2-play .forest-ui-tool-grid { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; gap: 4px !important; padding: 5px !important; }
  body .forest-ui-v2-play .forest-ui-tool { min-height: 56px !important; }
}
}

/* Forest Kitchen portrait play UI: one screen, one layout owner. */
html.forest-game-immersive-root #musicApp .lyrics-window,
html.forest-game-immersive-root #musicApp .lyrics-fullscreen,
html.forest-game-immersive-root #musicApp .listen-room-overlay,
html.forest-game-immersive-root #musicApp .music-full-overlay,
html.forest-game-immersive-root #musicApp .music-modal-overlay,
html.forest-game-immersive-root #musicApp .cd-case-overlay,
html.forest-game-immersive-root #musicApp {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body .forest-ui-v2-play-page {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
  background: #f2f3ef !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play {
  --forest-play-gap: 6px;
  --forest-play-line: rgba(34, 39, 35, .14);
  --forest-play-ink: #202521;
  --forest-play-muted: #68706a;
  --forest-play-surface: #ffffff;
  --forest-play-surface-soft: #f5f6f2;
  --forest-play-active: #2d342f;
  --forest-play-success: #58705b;
  --forest-play-warning: #b56c35;
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: max(8px, env(safe-area-inset-top, 0px)) 8px max(8px, env(safe-area-inset-bottom, 0px)) !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: 44px 60px 64px 38px minmax(96px, 1fr) 44px 112px !important;
  gap: var(--forest-play-gap) !important;
  align-content: stretch !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  color: var(--forest-play-ink) !important;
  background: #f2f3ef !important;
  background-image: none !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play::before,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play::after {
  display: none !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play button {
  min-width: 0;
  min-height: 44px;
  color: var(--forest-play-ink) !important;
  font: inherit;
  letter-spacing: 0;
  -webkit-tap-highlight-color: transparent;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play button:focus-visible {
  outline: 3px solid rgba(32, 37, 33, .34) !important;
  outline-offset: 2px !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-back {
  position: relative !important;
  inset: auto !important;
  z-index: 5 !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  align-self: stretch !important;
  justify-self: start !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  padding: 0 !important;
  border: 1px solid var(--forest-play-line) !important;
  border-radius: 8px !important;
  background: var(--forest-play-surface) !important;
  box-shadow: none !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-back::before {
  display: block !important;
  left: 16px !important;
  top: 14px !important;
  width: 12px !important;
  height: 12px !important;
  border-left: 2px solid var(--forest-play-ink) !important;
  border-bottom: 2px solid var(--forest-play-ink) !important;
  background: transparent !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-back::after {
  display: block !important;
  left: 14px !important;
  top: 21px !important;
  width: 17px !important;
  height: 2px !important;
  background: var(--forest-play-ink) !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-play-hud {
  position: relative !important;
  inset: auto !important;
  z-index: 4 !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: 100% !important;
  height: 44px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 0 0 50px !important;
  display: grid !important;
  grid-template-columns: minmax(58px, .8fr) minmax(88px, 1.35fr) minmax(50px, .72fr) 44px !important;
  gap: 5px !important;
  box-sizing: border-box !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-hud-pill {
  position: relative !important;
  inset: auto !important;
  width: auto !important;
  height: 44px !important;
  min-width: 0 !important;
  min-height: 44px !important;
  padding: 0 6px !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
  border: 1px solid var(--forest-play-line) !important;
  border-radius: 8px !important;
  color: var(--forest-play-ink) !important;
  background: var(--forest-play-surface) !important;
  box-shadow: none !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  opacity: 1 !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-hud-pill.timer {
  grid-column: 1 !important;
  font-variant-numeric: tabular-nums;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-hud-pill.progress {
  grid-column: 2 !important;
  display: grid !important;
  padding-bottom: 5px !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-hud-pill.progress b {
  position: absolute !important;
  left: 5px !important;
  right: auto !important;
  bottom: 4px !important;
  height: 3px !important;
  max-width: calc(100% - 10px) !important;
  border-radius: 3px !important;
  background: var(--forest-play-success) !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-hud-pill.progress i {
  position: relative !important;
  color: var(--forest-play-ink) !important;
  font-size: 10px !important;
  font-style: normal !important;
  opacity: 1 !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-hud-pill.coin {
  display: none !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-hud-pill.diamond {
  grid-column: 3 !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-sound {
  position: relative !important;
  inset: auto !important;
  grid-column: 4 !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  padding: 0 !important;
  border: 1px solid var(--forest-play-line) !important;
  border-radius: 8px !important;
  background-color: var(--forest-play-surface) !important;
  box-shadow: none !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-play-guide {
  display: none !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-order-rail {
  position: relative !important;
  inset: auto !important;
  z-index: 3 !important;
  grid-column: 1 !important;
  grid-row: 2 !important;
  width: 100% !important;
  height: 60px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 5px !important;
  overflow: visible !important;
  border: 0 !important;
  background: transparent !important;
  opacity: 1 !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-order-ticket {
  position: relative !important;
  inset: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: 60px !important;
  margin: 0 !important;
  padding: 5px !important;
  display: grid !important;
  grid-template-columns: 30px minmax(0, 1fr) 24px !important;
  grid-template-rows: minmax(0, 1fr) 6px !important;
  gap: 2px 4px !important;
  align-items: center !important;
  overflow: hidden !important;
  border: 1px solid var(--forest-play-line) !important;
  border-radius: 8px !important;
  color: var(--forest-play-ink) !important;
  background: var(--forest-play-surface) !important;
  box-shadow: none !important;
  outline: 0 !important;
  opacity: 1 !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-order-ticket.is-current {
  border-color: var(--forest-play-active) !important;
  box-shadow: inset 0 0 0 2px var(--forest-play-active) !important;
  transform: translateY(-1px) !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-order-ticket .forest-customer-face.forest-character-art {
  position: relative !important;
  inset: auto !important;
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
  width: 30px !important;
  height: 38px !important;
  min-width: 30px !important;
  min-height: 38px !important;
  margin: 0 !important;
  transform: none !important;
  background-color: transparent !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-order-ticket .forest-order-dish {
  position: relative !important;
  inset: auto !important;
  grid-column: 3 !important;
  grid-row: 1 !important;
  width: 24px !important;
  height: 24px !important;
  margin: 0 !important;
  transform: none !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-order-ticket small {
  position: relative !important;
  inset: auto !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
  min-width: 0 !important;
  max-height: 2.3em !important;
  margin: 0 !important;
  display: -webkit-box !important;
  overflow: hidden !important;
  color: var(--forest-play-ink) !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  opacity: 1 !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-order-patience {
  position: relative !important;
  inset: auto !important;
  grid-column: 2 / 4 !important;
  grid-row: 2 !important;
  width: 100% !important;
  height: 6px !important;
  min-height: 6px !important;
  margin: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: #e5e7e2 !important;
  opacity: 1 !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-order-patience i {
  height: 100% !important;
  display: block !important;
  background: var(--forest-play-success) !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-play-scene {
  position: relative !important;
  inset: auto !important;
  z-index: 4 !important;
  grid-column: 1 !important;
  grid-row: 3 !important;
  width: 100% !important;
  height: 64px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 66px 50px !important;
  grid-template-rows: minmax(0, 1fr) !important;
  gap: 5px !important;
  overflow: visible !important;
  background: transparent !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-customer-card,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-partner-stage,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-partner-panel {
  position: relative !important;
  inset: auto !important;
  width: auto !important;
  height: 64px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  border: 1px solid var(--forest-play-line) !important;
  border-radius: 8px !important;
  color: var(--forest-play-ink) !important;
  background: var(--forest-play-surface) !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-customer-card {
  grid-column: 1 !important;
  grid-row: 1 !important;
  padding: 5px 7px !important;
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr) !important;
  gap: 7px !important;
  align-items: center !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-customer-card .forest-customer-face.forest-character-art {
  position: relative !important;
  inset: auto !important;
  width: 44px !important;
  height: 52px !important;
  min-width: 44px !important;
  min-height: 52px !important;
  margin: 0 !important;
  transform: none !important;
  background-color: transparent !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-customer-request {
  position: relative !important;
  inset: auto !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  gap: 2px !important;
  color: var(--forest-play-ink) !important;
  background: transparent !important;
  opacity: 1 !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-customer-request strong {
  min-width: 0 !important;
  overflow: hidden !important;
  color: var(--forest-play-ink) !important;
  font-size: 11px !important;
  line-height: 1.15 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-customer-request small {
  min-width: 0 !important;
  max-height: 1.2em !important;
  display: block !important;
  overflow: hidden !important;
  color: var(--forest-play-muted) !important;
  font-size: 8px !important;
  line-height: 1.2 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  opacity: 1 !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-patience {
  width: 100% !important;
  height: 5px !important;
  min-height: 5px !important;
  margin: 1px 0 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 5px !important;
  background: #e5e7e2 !important;
  opacity: 1 !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-patience span {
  height: 100% !important;
  display: block !important;
  background: var(--forest-play-success) !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-partner-stage {
  grid-column: 2 !important;
  grid-row: 1 !important;
  padding: 3px !important;
  display: grid !important;
  grid-template-columns: 28px minmax(0, 1fr) !important;
  grid-template-rows: 1fr auto 5px !important;
  gap: 1px 3px !important;
  align-items: center !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-partner-figure {
  position: relative !important;
  inset: auto !important;
  grid-column: 1 !important;
  grid-row: 1 / span 3 !important;
  width: 28px !important;
  height: 48px !important;
  margin: 0 !important;
  transform: none !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-partner-figure .forest-partner-avatar.forest-character-art {
  position: relative !important;
  inset: auto !important;
  width: 28px !important;
  height: 48px !important;
  margin: 0 !important;
  transform: none !important;
  background-color: transparent !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-partner-stage > strong {
  grid-column: 2 !important;
  grid-row: 1 !important;
  min-width: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: var(--forest-play-ink) !important;
  font-size: 8px !important;
  line-height: 1.1 !important;
  text-align: left !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  opacity: 1 !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-partner-stage > small {
  grid-column: 2 !important;
  grid-row: 2 !important;
  min-width: 0 !important;
  max-height: 1.1em !important;
  margin: 0 !important;
  display: block !important;
  overflow: hidden !important;
  color: var(--forest-play-muted) !important;
  font-size: 7px !important;
  line-height: 1.1 !important;
  text-align: left !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  opacity: 1 !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-mood {
  grid-column: 2 !important;
  grid-row: 3 !important;
  width: 100% !important;
  height: 5px !important;
  min-height: 5px !important;
  margin: 0 !important;
  overflow: hidden !important;
  border-radius: 5px !important;
  background: #e5e7e2 !important;
  opacity: 1 !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-mood span {
  height: 100% !important;
  display: block !important;
  background: var(--forest-play-success) !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-partner-panel {
  grid-column: 3 !important;
  grid-row: 1 !important;
  padding: 4px !important;
  display: grid !important;
  place-items: center !important;
  overflow: visible !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-partner-task,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-partner-bubble > p {
  display: none !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-partner-bubble {
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-partner-bubble > div {
  display: flex !important;
  gap: 4px !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-partner-panel > button {
  width: 42px !important;
  height: 54px !important;
  min-width: 42px !important;
  min-height: 44px !important;
  padding: 3px !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 7px !important;
  color: #ffffff !important;
  background: var(--forest-play-active) !important;
  box-shadow: none !important;
  font-size: 8px !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  white-space: normal !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-partner-panel > button:disabled {
  color: var(--forest-play-muted) !important;
  background: #e3e5e1 !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-partner-panel:has(.forest-partner-bubble > div) {
  position: absolute !important;
  left: 5px !important;
  right: 5px !important;
  bottom: 5px !important;
  z-index: 12 !important;
  width: auto !important;
  height: 54px !important;
  padding: 5px !important;
  display: flex !important;
  justify-content: flex-end !important;
  background: rgba(255, 255, 255, .96) !important;
  box-shadow: 0 6px 18px rgba(32, 37, 33, .16) !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-partner-panel:has(.forest-partner-bubble > div) .forest-partner-bubble {
  flex: 1 1 auto !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-partner-bubble button {
  min-width: 44px !important;
  min-height: 44px !important;
  padding: 0 8px !important;
  border: 1px solid var(--forest-play-line) !important;
  border-radius: 7px !important;
  color: var(--forest-play-ink) !important;
  background: var(--forest-play-surface-soft) !important;
  font-size: 9px !important;
  white-space: nowrap !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-accident {
  position: absolute !important;
  left: 50% !important;
  top: calc(100% + 6px) !important;
  z-index: 30 !important;
  width: min(92%, 340px) !important;
  min-height: 34px !important;
  max-height: 52px !important;
  margin: 0 !important;
  padding: 7px 10px !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
  border: 1px solid rgba(181, 108, 53, .28) !important;
  border-radius: 8px !important;
  color: #8d4c25 !important;
  background: rgba(255, 248, 239, .98) !important;
  box-shadow: 0 8px 22px rgba(65, 48, 36, .16) !important;
  font-size: 9px !important;
  line-height: 1.25 !important;
  text-align: center !important;
  transform: translateX(-50%) !important;
  opacity: 1 !important;
  pointer-events: none !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-accident.is-empty {
  display: none !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-recipe {
  position: relative !important;
  inset: auto !important;
  z-index: 3 !important;
  grid-column: 1 !important;
  grid-row: 4 !important;
  width: 100% !important;
  height: 38px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 3px !important;
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 3px !important;
  overflow: hidden !important;
  border: 1px solid var(--forest-play-line) !important;
  border-radius: 8px !important;
  background: var(--forest-play-surface) !important;
  opacity: 1 !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-recipe-step {
  position: relative !important;
  inset: auto !important;
  min-width: 0 !important;
  min-height: 30px !important;
  padding: 2px !important;
  display: grid !important;
  grid-template-columns: 14px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 2px !important;
  overflow: hidden !important;
  border: 1px solid transparent !important;
  border-radius: 6px !important;
  color: var(--forest-play-muted) !important;
  background: var(--forest-play-surface-soft) !important;
  opacity: 1 !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-recipe-step > b {
  position: relative !important;
  inset: auto !important;
  width: 14px !important;
  height: 14px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 50% !important;
  color: #ffffff !important;
  background: #9a9f9a !important;
  font-size: 7px !important;
  line-height: 1 !important;
  opacity: 1 !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-recipe-step > span {
  min-width: 0 !important;
  overflow: hidden !important;
  color: inherit !important;
  font-size: 8px !important;
  font-weight: 600 !important;
  line-height: 1.1 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  opacity: 1 !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-recipe-step.is-current {
  border-color: var(--forest-play-active) !important;
  color: var(--forest-play-ink) !important;
  background: #ffffff !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-recipe-step.is-current > b {
  background: var(--forest-play-active) !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-recipe-step.is-done {
  color: var(--forest-play-success) !important;
  background: #edf2ed !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-recipe-step.is-done > b {
  background: var(--forest-play-success) !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-workbench {
  position: relative !important;
  inset: auto !important;
  z-index: 2 !important;
  grid-column: 1 !important;
  grid-row: 5 !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 96px !important;
  margin: 0 !important;
  padding: 6px !important;
  display: grid !important;
  grid-template-rows: minmax(0, 1fr) !important;
  place-items: stretch !important;
  overflow: hidden !important;
  border: 1px solid rgba(92, 101, 93, .24) !important;
  border-radius: 8px !important;
  background: #d9ddd4 !important;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .42) !important;
  opacity: 1 !important;
  touch-action: none;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-workbench.has-tool {
  border-color: var(--forest-play-active) !important;
  box-shadow: inset 0 0 0 3px rgba(45, 52, 47, .16) !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-workbench.needs-tool {
  animation: forest-play-workbench-hint 950ms ease-in-out infinite alternate;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tray,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-drop-zones,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-next-step {
  display: none !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-plate-preview {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: radial-gradient(circle at 50% 52%, #ffffff 0 34%, #eef1e9 35% 47%, transparent 48%) !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food small {
  display: none !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-oven-row {
  position: relative !important;
  inset: auto !important;
  z-index: 3 !important;
  grid-column: 1 !important;
  grid-row: 6 !important;
  width: 100% !important;
  height: 44px !important;
  min-width: 0 !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr) !important;
  gap: 5px !important;
  overflow: visible !important;
}

  #wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-oven {
  position: relative !important;
  inset: auto !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid var(--forest-play-line) !important;
  border-radius: 8px !important;
  background-color: var(--forest-play-surface) !important;
  box-shadow: none !important;
    opacity: 1 !important;
  }

  #wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-oven span {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    background-image: url('../assets/forest-kitchen/forest-ui-sprites-v2.webp') !important;
    background-repeat: no-repeat !important;
    background-size: 800% 600% !important;
    background-position: 71.429% 40% !important;
    opacity: 1 !important;
  }

  #wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-oven.is-current {
  border-color: var(--forest-play-active) !important;
  box-shadow: inset 0 0 0 2px var(--forest-play-active) !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-bake-slot {
  position: relative !important;
  inset: auto !important;
  min-width: 0 !important;
  height: 44px !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 4px 7px !important;
  overflow: hidden !important;
  border: 1px solid var(--forest-play-line) !important;
  border-radius: 8px !important;
  color: var(--forest-play-ink) !important;
  background: var(--forest-play-surface) !important;
  opacity: 1 !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-meter {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: auto minmax(58px, 1fr) minmax(0, 1.45fr) !important;
  align-items: center !important;
  gap: 6px !important;
  border: 0 !important;
  color: var(--forest-play-ink) !important;
  background: transparent !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-meter > span {
  min-width: 0 !important;
  color: var(--forest-play-ink) !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-meter > div {
  width: 100% !important;
  height: 7px !important;
  min-height: 7px !important;
  margin: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 7px !important;
  background: #e2e5df !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-meter > div > i {
  height: 100% !important;
  display: block !important;
  border-radius: inherit !important;
  background: var(--forest-play-success) !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-meter > small {
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  display: block !important;
  overflow: hidden !important;
  color: var(--forest-play-muted) !important;
  font-size: 8px !important;
  line-height: 1.1 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-tool-grid {
  position: relative !important;
  inset: auto !important;
  z-index: 3 !important;
  grid-column: 1 !important;
  grid-row: 7 !important;
  width: 100% !important;
  height: 112px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 4px !important;
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
  gap: 4px !important;
  overflow: hidden !important;
  border: 1px solid var(--forest-play-line) !important;
  border-radius: 8px !important;
  background: var(--forest-play-surface) !important;
  opacity: 1 !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-tool {
  position: relative !important;
  inset: auto !important;
  min-width: 0 !important;
  min-height: 48px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 3px 2px 2px !important;
  display: grid !important;
  grid-template-rows: minmax(22px, 1fr) auto !important;
  place-items: center !important;
  gap: 1px !important;
  overflow: hidden !important;
  border: 1px solid transparent !important;
  border-radius: 7px !important;
  color: var(--forest-play-ink) !important;
  background: var(--forest-play-surface-soft) !important;
  box-shadow: none !important;
  transform: none !important;
  opacity: 1 !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-tool.is-current {
  z-index: 2 !important;
  border-color: var(--forest-play-active) !important;
  box-shadow: inset 0 0 0 2px var(--forest-play-active) !important;
  background: #ffffff !important;
  transform: translateY(-1px) !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-tool.is-done {
  opacity: .52 !important;
  filter: saturate(.6) !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-tool.is-empty {
  opacity: .34 !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-tool span {
  position: relative !important;
  inset: auto !important;
  width: 27px !important;
  height: 27px !important;
  margin: 0 !important;
  display: block !important;
  transform: none !important;
  opacity: 1 !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-tool b {
  position: relative !important;
  inset: auto !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 2px !important;
  display: block !important;
  overflow: hidden !important;
  color: var(--forest-play-ink) !important;
  background: transparent !important;
  font-size: 8px !important;
  font-weight: 650 !important;
  line-height: 1.15 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  opacity: 1 !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-tool small {
  position: absolute !important;
  right: 3px !important;
  top: 3px !important;
  width: 15px !important;
  height: 15px !important;
  min-width: 15px !important;
  min-height: 15px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
  border-radius: 50% !important;
  color: #ffffff !important;
  background: #737a74 !important;
  font-size: 7px !important;
  line-height: 1 !important;
  opacity: 1 !important;
}

@keyframes forest-play-workbench-hint {
  from { border-color: rgba(92, 101, 93, .24); }
  to { border-color: rgba(45, 52, 47, .58); }
}

@media (max-height: 650px) {
  #wechatApp.wechat-app--forest-immersive .forest-ui-v2-play {
    --forest-play-gap: 5px;
    padding-top: max(6px, env(safe-area-inset-top, 0px)) !important;
    padding-bottom: max(6px, env(safe-area-inset-bottom, 0px)) !important;
    grid-template-rows: 44px 56px 60px 34px minmax(80px, 1fr) 44px 100px !important;
  }

  #wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-order-rail,
  #wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-order-ticket {
    height: 56px !important;
  }

  #wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-play-scene,
  #wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-customer-card,
  #wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-partner-stage,
  #wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-partner-panel {
    height: 60px !important;
  }

  #wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-customer-card {
    grid-template-columns: 40px minmax(0, 1fr) !important;
    gap: 5px !important;
  }

  #wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-customer-card .forest-customer-face.forest-character-art {
    width: 40px !important;
    height: 48px !important;
    min-width: 40px !important;
    min-height: 48px !important;
  }

  #wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-recipe {
    height: 34px !important;
  }

  #wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-recipe-step {
    min-height: 26px !important;
  }

  #wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-tool-grid {
    height: 100px !important;
  }

  #wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-tool {
    min-height: 44px !important;
  }

  #wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-tool span {
    width: 24px !important;
    height: 24px !important;
  }
}

@media (max-width: 340px) {
  #wechatApp.wechat-app--forest-immersive .forest-ui-v2-play {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }

  #wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-play-hud {
    grid-template-columns: 56px minmax(78px, 1fr) 46px 44px !important;
    gap: 4px !important;
  }

  #wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-order-ticket {
    grid-template-columns: 27px minmax(0, 1fr) 20px !important;
    padding: 4px !important;
    gap: 2px !important;
  }

  #wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-order-ticket .forest-customer-face.forest-character-art {
    width: 27px !important;
    min-width: 27px !important;
  }

  #wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-order-ticket .forest-order-dish {
    width: 20px !important;
    height: 20px !important;
  }

  #wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-play-scene {
    grid-template-columns: minmax(0, 1fr) 62px 48px !important;
    gap: 4px !important;
  }

  #wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-recipe-step {
    grid-template-columns: 12px minmax(0, 1fr) !important;
  }

  #wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-recipe-step > b {
    width: 12px !important;
    height: 12px !important;
    font-size: 6px !important;
  }

  #wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-recipe-step > span,
  #wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-tool b {
    font-size: 7px !important;
  }

  #wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-meter {
    grid-template-columns: auto minmax(48px, 1fr) !important;
  }

  #wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-meter > small {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-workbench.needs-tool {
    animation: none !important;
  }
}

/* Forest Kitchen play feedback: keep live labels readable and make the selected
   tool visibly arm the workbench before the first gesture. */
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-order-ticket small {
  max-height: 2.4em !important;
  font-size: clamp(9px, 2.7vw, 12px) !important;
  line-height: 1.2 !important;
  text-overflow: clip !important;
  overflow-wrap: anywhere !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-customer-request small {
  max-height: 2.5em !important;
  display: -webkit-box !important;
  font-size: clamp(9px, 2.5vw, 11px) !important;
  line-height: 1.25 !important;
  text-overflow: clip !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-recipe-step > span {
  min-width: 0 !important;
  font-size: clamp(9px, 2.35vw, 11px) !important;
  line-height: 1.15 !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-workbench {
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-workbench.needs-tool .forest-next-step,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-workbench.has-tool .forest-next-step {
  display: grid !important;
  place-items: center !important;
  left: 12px !important;
  right: 12px !important;
  bottom: 10px !important;
  width: auto !important;
  min-height: 28px !important;
  padding: 5px 9px !important;
  border: 1px solid rgba(45, 52, 47, .14) !important;
  border-radius: 8px !important;
  color: var(--forest-play-ink) !important;
  background: rgba(255, 255, 255, .9) !important;
  font-size: clamp(10px, 2.8vw, 13px) !important;
  line-height: 1.15 !important;
  text-align: center !important;
  white-space: normal !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-workbench.has-tool {
  border-color: var(--forest-play-active) !important;
  box-shadow: inset 0 0 0 3px rgba(45, 52, 47, .18), 0 0 0 2px rgba(45, 52, 47, .08) !important;
  background-color: #eef2ec !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-workbench.has-tool .forest-drop-zones span.current {
  display: grid !important;
  place-items: center !important;
  min-width: 92px !important;
  min-height: 34px !important;
  padding: 6px 10px !important;
  border: 2px dashed var(--forest-play-active) !important;
  border-radius: 10px !important;
  color: var(--forest-play-ink) !important;
  background: rgba(255, 255, 255, .78) !important;
  font-size: clamp(10px, 2.8vw, 13px) !important;
  font-weight: 750 !important;
  animation: forest-play-zone-pulse 1.2s ease-in-out infinite alternate;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-workbench.has-tool .forest-drop-zones {
  display: block !important;
  position: absolute !important;
  inset: 10% 12% auto !important;
  min-height: 38px !important;
  text-align: center !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-workbench.has-tool .forest-tactile-food small {
  display: block !important;
  max-width: min(82%, 300px) !important;
  padding: 4px 8px !important;
  border-radius: 7px !important;
  color: var(--forest-play-muted) !important;
  background: rgba(255, 255, 255, .76) !important;
  font-size: clamp(9px, 2.4vw, 11px) !important;
  line-height: 1.2 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-workbench .forest-drop-zones {
  pointer-events: none !important;
}

@keyframes forest-play-zone-pulse {
  from { transform: scale(.98); opacity: .72; }
  to { transform: scale(1.02); opacity: 1; }
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-meter {
  grid-template-columns: auto minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  gap: 3px 7px !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-meter > span {
  grid-column: 1 !important;
  grid-row: 1 !important;
  font-size: clamp(9px, 2.6vw, 12px) !important;
  line-height: 1.15 !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-meter > div {
  grid-column: 2 !important;
  grid-row: 1 !important;
  align-self: center !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-meter > small {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  max-height: 2.45em !important;
  font-size: clamp(9px, 2.35vw, 11px) !important;
  line-height: 1.2 !important;
  text-overflow: clip !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  -webkit-line-clamp: 2;
}

@media (prefers-reduced-motion: reduce) {
  #wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-workbench.has-tool .forest-drop-zones span.current {
    animation: none !important;
  }
}

/* Forest Kitchen v18: ingredient-first drag loop and visible dish stages. */
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-tool {
  min-height: 44px !important;
  touch-action: none !important;
  cursor: grab;
  user-select: none;
  transition: transform 150ms ease, box-shadow 150ms ease, opacity 150ms ease !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-tool:active,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-tool.is-dragging {
  cursor: grabbing;
  transform: translateY(-4px) scale(1.04) !important;
  box-shadow: 0 9px 18px rgba(75, 57, 38, .24), 0 0 0 3px rgba(232, 166, 67, .28) !important;
  opacity: .88;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-drop-target {
  touch-action: none;
  transition: outline-color 150ms ease, box-shadow 150ms ease, transform 150ms ease, background-color 150ms ease !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-drop-target.is-drop-hover {
  outline: 3px solid rgba(232, 166, 67, .86) !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 7px rgba(232, 166, 67, .16), inset 0 0 0 2px rgba(255, 255, 255, .72) !important;
  transform: scale(1.02);
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-workbench.step-mix .forest-plate-preview::after,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-workbench.step-knead .forest-plate-preview::after,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-workbench.step-fill .forest-plate-preview::after,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-workbench.step-decorate .forest-plate-preview::after {
  content: "";
  position: absolute;
  inset: 15% 18%;
  border: 2px dashed rgba(129, 91, 56, .3);
  border-radius: 50%;
  pointer-events: none;
  animation: forest-stage-ring 1.6s ease-in-out infinite alternate;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-workbench.step-mix .forest-tactile-food i {
  opacity: 1;
  transform: translate(-50%, -50%) scale(.62);
  background: radial-gradient(circle at 50% 44%, #fff8de 0 18%, #e8c98c 19% 58%, #ba8554 59% 100%);
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-workbench.step-knead .forest-tactile-food i {
  opacity: 1;
  transform: translate(-50%, -50%) scale(.84);
  border-radius: 46% 54% 50% 50%;
  background: radial-gradient(circle at 38% 32%, #fff1c8 0 12%, #e8bd76 13% 58%, #b9733f 59% 100%);
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-workbench.step-bake .forest-tactile-food i {
  opacity: 1;
  transform: translate(-50%, -50%) scale(.94);
  background: linear-gradient(160deg, #f8d993, #c87536);
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-workbench.step-fill .forest-tactile-food b,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-workbench.step-decorate .forest-tactile-food b {
  opacity: 1;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-oven.is-baking {
  animation: forest-oven-warm 900ms ease-in-out infinite alternate;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-meter.is-baking > div i {
  background: linear-gradient(90deg, #e5a14b 0 52%, #efc15e 70%, #d65a45 100%) !important;
}

@keyframes forest-stage-ring {
  from { opacity: .42; transform: scale(.97); }
  to { opacity: .9; transform: scale(1.03); }
}

@keyframes forest-oven-warm {
  from { filter: brightness(1); transform: translateY(0); }
  to { filter: brightness(1.13); transform: translateY(-2px); }
}

/* Forest Kitchen v19: never let legacy image-only overrides hide the dish. */
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food {
  z-index: 4 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food.has-mix i,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food.has-knead i,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food.has-bake i,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food.step-fill i,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food.step-decorate i,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food.step-serve i,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food.step-done i {
  z-index: 2 !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food.has-bake i,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food.step-fill i,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food.step-decorate i,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food.step-serve i,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food.step-done i {
  width: clamp(92px, 42%, 180px) !important;
  height: clamp(58px, 32%, 118px) !important;
  border-radius: 50% 50% 24% 24% / 58% 58% 30% 30% !important;
  background:
    linear-gradient(65deg, transparent 0 44%, rgba(255, 239, 190, .78) 45% 51%, transparent 52%) 28% 20% / 25% 45% no-repeat,
    linear-gradient(65deg, transparent 0 44%, rgba(255, 239, 190, .78) 45% 51%, transparent 52%) 58% 18% / 25% 45% no-repeat,
    linear-gradient(180deg, #f4c36f, #c97d37) !important;
  box-shadow: inset 0 -9px 0 rgba(143, 72, 27, .16), 0 8px 0 rgba(85, 55, 33, .13) !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food.has-fill b,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food.step-fill b,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food.has-decorate em,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food.step-decorate em,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food.has-decorate u,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food.step-decorate u,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food.has-serve b,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food.step-serve b,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food.has-serve em,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food.step-serve em,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food.has-serve u,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food.step-serve u {
  z-index: 3 !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food.has-fill b,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food.step-fill b,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food.step-decorate b,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food.step-serve b {
  width: clamp(64px, 30%, 132px) !important;
  height: clamp(26px, 15%, 62px) !important;
  background: radial-gradient(ellipse at 35% 35%, #f58ba0 0 12%, #d75a76 13% 72%, #a63858 73% 100%) !important;
  box-shadow: -12px 4px 0 rgba(190, 61, 92, .5), 13px 5px 0 rgba(229, 110, 134, .5) !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food.has-decorate em,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food.step-decorate em,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food.step-serve em {
  width: clamp(74px, 32%, 142px) !important;
  height: clamp(28px, 16%, 66px) !important;
  border-radius: 50% 50% 25% 25% !important;
  background: radial-gradient(ellipse at 50% 35%, #fffdf4 0 16%, #f4ead7 17% 68%, #dfc7a1 69% 100%) !important;
  box-shadow: 0 -6px 0 rgba(255, 255, 255, .8), 0 8px 0 rgba(198, 166, 114, .18) !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food.has-decorate u,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food.step-decorate u,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food.step-serve u {
  width: 9px !important;
  height: 9px !important;
  border-radius: 50% !important;
  background: #cf5d70 !important;
  box-shadow: 16px 3px 0 #f2c64e, -14px 5px 0 #7fae78, 28px 2px 0 #cf5d70 !important;
}

/* Compatibility surface for an older cached play renderer. Keep it usable
   while the Service Worker rolls forward to the ten-tool renderer. */
#wechatApp.wechat-app--forest-immersive .forest-screen-play:not(.forest-ui-v2-play) {
  grid-template-rows: 44px 60px minmax(0, 1fr) 112px 56px !important;
  gap: 6px !important;
  padding: 8px !important;
  overflow: hidden !important;
}

#wechatApp.wechat-app--forest-immersive .forest-screen-play:not(.forest-ui-v2-play) .forest-order-rail {
  height: 60px !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 5px !important;
  overflow: hidden !important;
}

#wechatApp.wechat-app--forest-immersive .forest-screen-play:not(.forest-ui-v2-play) .forest-order-ticket {
  min-width: 0 !important;
  height: 60px !important;
  grid-template-columns: 34px minmax(0, 1fr) !important;
  padding: 5px !important;
  overflow: hidden !important;
}

#wechatApp.wechat-app--forest-immersive .forest-screen-play:not(.forest-ui-v2-play) .forest-order-ticket small {
  min-width: 0 !important;
  max-width: 100% !important;
  display: block !important;
  overflow: hidden !important;
  font-size: clamp(10px, 2.6vw, 13px) !important;
  line-height: 1.2 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

#wechatApp.wechat-app--forest-immersive .forest-screen-play:not(.forest-ui-v2-play) .forest-play-scene {
  min-height: 0 !important;
  overflow: hidden !important;
}

#wechatApp.wechat-app--forest-immersive .forest-screen-play:not(.forest-ui-v2-play) .forest-kitchen-table {
  height: 100% !important;
  min-height: 0 !important;
  grid-template-rows: 64px 34px minmax(0, 1fr) !important;
  gap: 6px !important;
}

#wechatApp.wechat-app--forest-immersive .forest-screen-play:not(.forest-ui-v2-play) .forest-workbench {
  min-height: 0 !important;
  height: 100% !important;
  padding: 8px !important;
  grid-template-rows: 28px 30px minmax(0, 1fr) auto !important;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease !important;
}

#wechatApp.wechat-app--forest-immersive .forest-screen-play:not(.forest-ui-v2-play) .forest-workbench.has-tool {
  border-color: #2d342f !important;
  box-shadow: inset 0 0 0 3px rgba(45, 52, 47, .18), 0 0 0 2px rgba(45, 52, 47, .08) !important;
  background-color: #eef2ec !important;
}

#wechatApp.wechat-app--forest-immersive .forest-screen-play:not(.forest-ui-v2-play) .forest-drop-zones span.current {
  display: inline-grid !important;
  min-width: 92px !important;
  min-height: 30px !important;
  place-items: center !important;
  padding: 5px 10px !important;
  border: 2px dashed #2d342f !important;
  border-radius: 9px !important;
  font-size: clamp(10px, 2.7vw, 13px) !important;
  font-weight: 750 !important;
  animation: forest-play-zone-pulse 1.2s ease-in-out infinite alternate;
}

#wechatApp.wechat-app--forest-immersive .forest-screen-play:not(.forest-ui-v2-play) .forest-workbench.has-tool .forest-drop-zones {
  display: block !important;
  position: absolute !important;
  inset: 10% 12% auto !important;
  min-height: 34px !important;
  text-align: center !important;
}

#wechatApp.wechat-app--forest-immersive .forest-screen-play:not(.forest-ui-v2-play) .forest-next-step {
  display: grid !important;
  place-items: center !important;
  width: auto !important;
  min-height: 28px !important;
  padding: 5px 9px !important;
  border: 1px solid rgba(45, 52, 47, .14) !important;
  border-radius: 8px !important;
  color: #202521 !important;
  background: rgba(255, 255, 255, .9) !important;
  font-size: clamp(10px, 2.7vw, 13px) !important;
  line-height: 1.15 !important;
  text-align: center !important;
  white-space: normal !important;
}

#wechatApp.wechat-app--forest-immersive .forest-screen-play:not(.forest-ui-v2-play) .forest-ingredient-grid {
  height: 112px !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
  gap: 4px !important;
  padding: 4px !important;
  overflow: hidden !important;
}

#wechatApp.wechat-app--forest-immersive .forest-screen-play:not(.forest-ui-v2-play) .forest-ingredient {
  min-width: 0 !important;
  min-height: 48px !important;
  grid-template-columns: minmax(24px, .55fr) minmax(0, 1fr) !important;
  gap: 3px !important;
  padding: 3px !important;
}

#wechatApp.wechat-app--forest-immersive .forest-screen-play:not(.forest-ui-v2-play) .forest-ingredient b {
  min-width: 0 !important;
  overflow: hidden !important;
  font-size: clamp(9px, 2.4vw, 12px) !important;
  line-height: 1.15 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

#wechatApp.wechat-app--forest-immersive .forest-screen-play:not(.forest-ui-v2-play) .forest-partner-panel {
  min-height: 56px !important;
  overflow: hidden !important;
}

@media (prefers-reduced-motion: reduce) {
  #wechatApp.wechat-app--forest-immersive .forest-screen-play:not(.forest-ui-v2-play) .forest-drop-zones span.current {
    animation: none !important;
  }
}

/* Forest Kitchen play polish: readable live copy and tactile cooking feedback. */
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-order-ticket small {
  z-index: 4 !important;
  max-height: none !important;
  padding: 3px 2px !important;
  display: grid !important;
  place-items: center start !important;
  overflow: visible !important;
  color: #202521 !important;
  background: rgba(255, 255, 255, .94) !important;
  font-size: clamp(10px, 2.8vw, 12px) !important;
  font-weight: 750 !important;
  line-height: 1.15 !important;
  text-overflow: clip !important;
  text-shadow: none !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  -webkit-line-clamp: initial !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-order-ticket {
  grid-template-columns: 24px minmax(0, 1fr) 18px !important;
  column-gap: 2px !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-order-ticket .forest-customer-face.forest-character-art {
  width: 24px !important;
  height: 34px !important;
  min-width: 24px !important;
  min-height: 34px !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-order-ticket .forest-order-dish {
  width: 18px !important;
  height: 18px !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-order-ticket small {
  font-size: clamp(9px, 2.5vw, 11px) !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-customer-request {
  grid-template-rows: auto minmax(0, 1fr) 6px !important;
  align-content: center !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-customer-request strong {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  font-size: clamp(12px, 3.4vw, 15px) !important;
  font-weight: 800 !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-customer-request strong em {
  padding: 2px 4px !important;
  border-radius: 4px !important;
  color: #ffffff !important;
  background: #465a4c !important;
  font-size: 8px !important;
  font-style: normal !important;
  font-weight: 750 !important;
  line-height: 1.15 !important;
  white-space: nowrap !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-customer-request small {
  max-height: none !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 2px !important;
  overflow: visible !important;
  color: #3f4942 !important;
  font-size: clamp(10px, 2.75vw, 12px) !important;
  font-weight: 650 !important;
  line-height: 1.2 !important;
  text-overflow: clip !important;
  text-shadow: none !important;
  white-space: normal !important;
  -webkit-line-clamp: initial !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-customer-request small span {
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 3px !important;
  overflow: visible !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-customer-request small span b {
  min-width: 0 !important;
  padding: 1px 3px !important;
  overflow: hidden !important;
  border-radius: 3px !important;
  color: #26322a !important;
  background: #e7ece7 !important;
  font-size: clamp(8px, 2.25vw, 10px) !important;
  font-weight: 750 !important;
  line-height: 1.15 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-customer-request small i {
  min-width: 0 !important;
  overflow: hidden !important;
  color: #4d5650 !important;
  font-size: clamp(8px, 2.25vw, 10px) !important;
  font-style: normal !important;
  line-height: 1.15 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-tool {
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: minmax(24px, 1fr) auto !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-tool b {
  z-index: 4 !important;
  width: calc(100% - 4px) !important;
  min-height: 17px !important;
  padding: 2px 1px !important;
  display: grid !important;
  place-items: center !important;
  overflow: visible !important;
  color: #202521 !important;
  background: rgba(255, 255, 255, .94) !important;
  border-radius: 4px !important;
  font-size: clamp(9px, 2.55vw, 11px) !important;
  font-weight: 750 !important;
  line-height: 1.05 !important;
  text-align: center !important;
  text-overflow: clip !important;
  text-shadow: none !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-tool span {
  z-index: 1 !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-tool.is-dragging {
  opacity: .5 !important;
  transform: scale(.94) !important;
}

.forest-flying-ingredient {
  display: grid !important;
  grid-template-rows: minmax(24px, 1fr) auto !important;
  place-items: center !important;
  opacity: 1 !important;
}

.forest-flying-ingredient b {
  position: relative !important;
  inset: auto !important;
  z-index: 3 !important;
  width: calc(100% - 6px) !important;
  padding: 2px !important;
  display: block !important;
  overflow: hidden !important;
  border-radius: 4px !important;
  color: #202521 !important;
  background: rgba(255, 255, 255, .94) !important;
  font-size: 10px !important;
  line-height: 1.1 !important;
  text-align: center !important;
  white-space: nowrap !important;
}

.forest-flying-ingredient small { display: none !important; }

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-gesture-feedback {
  position: absolute !important;
  inset: 0 !important;
  z-index: 12 !important;
  overflow: hidden !important;
  border-radius: inherit !important;
  pointer-events: none !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-gesture-feedback > span {
  position: absolute !important;
  left: var(--forest-gesture-x, 50%) !important;
  top: var(--forest-gesture-y, 50%) !important;
  width: 30px !important;
  height: 30px !important;
  border: 3px solid rgba(255, 255, 255, .96) !important;
  border-radius: 50% !important;
  background: rgba(70, 90, 76, .24) !important;
  box-shadow: 0 0 0 6px rgba(70, 90, 76, .12), 0 4px 12px rgba(32, 37, 33, .18) !important;
  transform: translate(-50%, -50%) scale(.72) !important;
  opacity: 0 !important;
  transition: left 45ms linear, top 45ms linear, opacity 120ms ease, transform 120ms ease !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-workbench.is-pressing .forest-gesture-feedback > span {
  opacity: 1 !important;
  transform: translate(-50%, -50%) scale(1) !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-gesture-trail {
  position: absolute !important;
  width: 12px !important;
  height: 12px !important;
  border-radius: 50% !important;
  background: rgba(70, 90, 76, .5) !important;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .4) !important;
  transform: translate(-50%, -50%) !important;
  animation: forest-gesture-trail-out 520ms ease-out forwards !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-workbench.is-pressing .forest-tactile-food {
  animation: forest-food-touch 360ms ease-in-out infinite alternate !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-workbench.is-drop-success .forest-plate-preview,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-workbench.is-step-complete .forest-plate-preview {
  animation: forest-product-settle 560ms cubic-bezier(.2, .85, .25, 1.25) both !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-workbench.is-step-complete .forest-food-crumbs {
  animation: forest-product-sparkle 700ms ease-out both !important;
}

@keyframes forest-gesture-trail-out {
  from { opacity: .8; transform: translate(-50%, -50%) scale(1); }
  to { opacity: 0; transform: translate(-50%, -50%) scale(.2); }
}

@keyframes forest-food-touch {
  from { transform: translate3d(-2px, 1px, 0) scale(.985); }
  to { transform: translate3d(2px, -1px, 0) scale(1.015); }
}

@keyframes forest-product-settle {
  0% { transform: scale(.9) translateY(-7px); filter: saturate(.92); }
  55% { transform: scale(1.04) translateY(2px); filter: saturate(1.12); }
  100% { transform: scale(1) translateY(0); filter: saturate(1); }
}

@keyframes forest-product-sparkle {
  0% { opacity: 0; transform: scale(.72) rotate(-4deg); }
  45% { opacity: .95; transform: scale(1.08) rotate(2deg); }
  100% { opacity: .56; transform: scale(1) rotate(0); }
}

@media (prefers-reduced-motion: reduce) {
  #wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-workbench.is-pressing .forest-tactile-food,
  #wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-workbench.is-drop-success .forest-plate-preview,
  #wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-workbench.is-step-complete .forest-plate-preview,
  #wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-ui-workbench.is-step-complete .forest-food-crumbs,
  #wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-gesture-trail {
    animation: none !important;
  }
}

/* This block is intentionally last: the home is a fixed v2 artboard. */
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-page,
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-home {
  height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-home {
  position: relative !important;
  display: block !important;
  padding: 0 !important;
  background: #e8e4c8 url('../assets/forest-kitchen/forest-ui-pages-v2.webp') 0 0 / 300% 100% no-repeat !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-home .forest-ui-home-sign { position: absolute !important; left: 19.3% !important; top: 2.55% !important; width: 61.5% !important; height: 8.15% !important; min-height: 0 !important; padding: 1.2% 4% !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-home .forest-ui-level-track { position: absolute !important; left: 5.8% !important; top: 24.25% !important; width: 83.5% !important; height: 8.2% !important; padding: 0 !important; border: 0 !important; background: transparent !important; }
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-home .forest-ui-level-cards { position: absolute !important; left: 5.2% !important; top: 34.15% !important; width: 89.5% !important; height: 13.8% !important; min-height: 0 !important; }
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-home .forest-ui-level-card { min-height: 0 !important; padding: 4% 2% 2% !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-home .forest-ui-portrait-heading { position: absolute !important; left: 9% !important; top: 49.2% !important; width: 82% !important; height: 2.8% !important; padding: 0 !important; }
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-home .forest-ui-portrait-grid { position: absolute !important; left: 5.7% !important; top: 51.05% !important; width: 88.8% !important; height: 18.8% !important; grid-template-columns: repeat(6, minmax(0, 1fr)) !important; grid-template-rows: repeat(2, minmax(0, 1fr)) !important; }
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-home .forest-ui-station-grid { position: absolute !important; left: 4% !important; top: 72.15% !important; width: 92% !important; height: 17.65% !important; min-height: 0 !important; }
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-home .forest-ui-station-card { min-height: 0 !important; padding: 0 5% 7% !important; border: 0 !important; border-radius: 8px !important; background: transparent !important; box-shadow: none !important; }
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-home .forest-ui-start { position: absolute !important; left: 24.7% !important; top: 92.1% !important; right: auto !important; bottom: auto !important; width: 50.6% !important; height: 5.8% !important; margin: 0 !important; }

/* The contact picker is a compact top rail: avatars stay visible over the
   illustrated home while the existing contact buttons keep their handlers. */
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-home .forest-ui-contact-layer {
  position: absolute !important;
  inset: 0 !important;
  display: none !important;
  align-items: initial !important;
  justify-content: initial !important;
  padding: 0 !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-home .forest-ui-contact-layer.is-open {
  display: block !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-home .forest-ui-contact-backdrop {
  background: rgba(79, 55, 34, .24) !important;
  backdrop-filter: blur(2px) !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-home .forest-ui-contact-sheet {
  position: absolute !important;
  top: 10% !important;
  right: 5% !important;
  bottom: auto !important;
  left: 5% !important;
  width: auto !important;
  max-height: none !important;
  padding: 8px 10px 10px !important;
  overflow: hidden !important;
  border: 2px solid rgba(139, 91, 48, .42) !important;
  border-radius: 12px !important;
  background: rgba(255, 248, 232, .94) !important;
  box-shadow: 0 10px 24px rgba(75, 48, 26, .24) !important;
  animation: forest-contact-drop-in 180ms ease-out both !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-home .forest-ui-contact-sheet h3 {
  display: none !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-home .forest-ui-contact-sheet > div {
  max-height: none !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding: 2px 2px 4px !important;
  scrollbar-width: none;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-home .forest-ui-contact-sheet > div::-webkit-scrollbar {
  display: none;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-home .forest-ui-contact-sheet .forest-partner-row {
  width: 52px !important;
  min-width: 52px !important;
  min-height: 52px !important;
  height: 52px !important;
  flex: 0 0 52px !important;
  display: grid !important;
  place-items: center !important;
  margin: 0 !important;
  padding: 2px !important;
  border: 2px solid rgba(139, 91, 48, .18) !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, .48) !important;
  box-shadow: none !important;
  transform: none !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-home .forest-ui-contact-sheet .forest-partner-row.is-active {
  border-color: #8b5b30 !important;
  box-shadow: 0 0 0 3px rgba(229, 168, 77, .42) !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-home .forest-ui-contact-sheet .forest-partner-row > span:not(.forest-partner-avatar) {
  display: none !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-home .forest-ui-contact-sheet .forest-partner-avatar {
  width: 44px !important;
  height: 44px !important;
  flex: 0 0 44px !important;
  margin: 0 !important;
  border-radius: 50% !important;
  border: 0 !important;
}

@keyframes forest-contact-drop-in {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Keep the CSS dish pieces inside the full plate area. */
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food {
  position: absolute !important;
  inset: 0 !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

/* Bake results stay CSS-drawn so the player can see raw versus burnt. */
#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food.bake-quality-raw.has-bake i {
  background: linear-gradient(160deg, #fff1c8, #d9b779) !important;
  box-shadow: inset 0 -9px 0 rgba(164, 117, 59, .12), 0 8px 0 rgba(85, 55, 33, .1) !important;
  filter: saturate(.72) brightness(1.08) !important;
}

#wechatApp.wechat-app--forest-immersive .forest-ui-v2-play .forest-tactile-food.bake-quality-burnt.has-bake i {
  background: linear-gradient(160deg, #a85f32, #4b2d25) !important;
  box-shadow: inset 0 -9px 0 rgba(45, 25, 20, .36), 0 8px 0 rgba(55, 35, 27, .18) !important;
  filter: saturate(.72) brightness(.88) !important;
}
