/* ============================================================
   颠勺抓大鹅 · 竖屏 H5
   ============================================================ */
:root {
  --orange: #FF8A3D;
  --orange-2: #FFB25E;
  --orange-deep: #E75F13;
  --cream: #FFF8EA;
  --cream-2: #F7E8CE;
  --ink: #3A2518;
  --ink-2: #7B5A40;
  --ink-3: #A98566;
  --line: rgba(105, 65, 30, .16);
  --shadow: 0 14px 34px rgba(48, 24, 8, .28);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --font: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Noto Sans CJK SC",
          "Source Han Sans SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont,
          "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #201208;
}

body {
  font-family: var(--font);
  color: var(--ink);
  user-select: none;
  -webkit-user-select: none;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
  position: fixed;
  inset: 0;
}

button {
  font-family: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
  touch-action: manipulation;
}

button:focus-visible {
  outline: 2px solid #FFD36B;
  outline-offset: 2px;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.mp-icon { flex: none; }

/* ============================================================
   首页
   ============================================================ */
.home {
  position: fixed;
  inset: 0;
  z-index: 60;
  overflow: hidden;
  background: #1A0F08;
  transition: opacity .38s ease, visibility .38s ease, transform .5s cubic-bezier(.2,.8,.25,1);
}

body.in-game .home {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.035);
  pointer-events: none;
}

.home-art {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 43%;
  transform: scale(1.015);
  filter: saturate(1.06) contrast(1.02) brightness(.98);
}

.home-art-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(24, 12, 5, .6) 0%, rgba(24, 12, 5, .08) 18%, rgba(24, 12, 5, 0) 34%, rgba(20, 10, 4, .34) 52%, rgba(24, 12, 5, .76) 74%, #1D1008 100%),
    radial-gradient(120% 70% at 50% 100%, rgba(255, 128, 45, .22), transparent 70%),
    radial-gradient(90% 70% at 50% 35%, transparent 52%, rgba(20, 10, 4, .42) 100%);
}

.home-art-warm {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 34% at 72% 20%, rgba(255, 190, 120, .22), transparent 70%),
    linear-gradient(115deg, rgba(255, 138, 61, .08), transparent 45%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.home-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: calc(var(--safe-top) + 14px) 16px 0;
}

.home-brand,
.home-best {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: #FFF4E0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  background: rgba(38, 20, 9, .52);
  border: 1px solid rgba(255, 232, 198, .18);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.home-brand .mp-icon {
  width: 17px;
  height: 17px;
  color: #FFB25E;
}

.home-best {
  color: #FFDCA8;
  font-size: 11px;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
}

.home-body {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 16px calc(var(--safe-bottom) + 16px);
  pointer-events: none;
}

.home-body > * { pointer-events: auto; }

.home-title-wrap {
  padding: 0 4px;
  margin-bottom: 16px;
  animation: home-rise .7s .06s cubic-bezier(.2,.9,.2,1) both;
}

.home-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: rgba(255, 240, 218, .82);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
}

.home-kicker span {
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 214, 160, .75));
}

.home-kicker span:last-child {
  background: linear-gradient(90deg, rgba(255, 214, 160, .75), transparent);
}

.home-title {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0;
  font-size: clamp(42px, 13.2vw, 58px);
  line-height: .98;
  font-weight: 900;
  letter-spacing: -.03em;
  white-space: nowrap;
}

.home-title em {
  position: relative;
  font-style: normal;
  color: #FFC15C;
  text-shadow:
    0 1px 0 #A3470C,
    0 3px 0 #8A390A,
    0 5px 0 rgba(70, 28, 4, .55),
    0 10px 22px rgba(0, 0, 0, .45);
  transform: rotate(-2.5deg);
  display: inline-block;
}

.home-title strong {
  color: #FFFDF6;
  text-shadow:
    0 1px 0 #A45A2A,
    0 3px 0 #6B3414,
    0 5px 0 rgba(50, 22, 5, .6),
    0 12px 26px rgba(0, 0, 0, .5);
}

.home-sub {
  max-width: 310px;
  margin: 10px 0 0;
  color: rgba(255, 242, 224, .82);
  font-size: 12.5px;
  line-height: 1.55;
  letter-spacing: .015em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, .4);
}

/* 首页底部面板 */
.home-panel {
  position: relative;
  padding: 18px 14px 12px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 252, 243, .98), rgba(248, 234, 208, .98));
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow:
    0 24px 50px rgba(25, 10, 2, .45),
    inset 0 1px 0 rgba(255, 255, 255, .9);
  animation: home-rise .7s .14s cubic-bezier(.2,.9,.2,1) both;
}

.panel-grip {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 36px;
  height: 4px;
  margin-left: -18px;
  border-radius: 99px;
  background: rgba(95, 60, 28, .16);
}

.level-list {
  display: grid;
  gap: 8px;
}

.level-card {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 11px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .62);
  border: 1px solid var(--line);
  box-shadow: 0 2px 0 rgba(120, 75, 35, .06);
  text-align: left;
  transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.level-card:active { transform: scale(.985); }

.level-card.is-active {
  background: #FFF4DF;
  border-color: rgba(255, 138, 61, .62);
  box-shadow: 0 0 0 2px rgba(255, 138, 61, .14), 0 4px 12px rgba(220, 110, 30, .12);
}

.level-card.is-locked { opacity: .56; }

.level-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 13px;
  color: #FFF9ED;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .02em;
  background:
    radial-gradient(circle at 32% 25%, rgba(255, 255, 255, .38), transparent 48%),
    linear-gradient(155deg, #FFB05F, #FF7A28 65%, #E85E12);
  box-shadow: 0 4px 10px rgba(225, 100, 25, .28), inset 0 1px 0 rgba(255, 255, 255, .45);
}

.level-card.is-locked .level-thumb {
  background: linear-gradient(155deg, #CBB79B, #A98D6C);
  box-shadow: none;
}

.level-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.level-info b {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: .01em;
}

.level-tag {
  flex: none;
  padding: 3px 5px;
  border-radius: 5px;
  border: 1px solid rgba(255, 138, 61, .3);
  background: rgba(255, 138, 61, .13);
  color: #C2560D;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .05em;
}

.level-card.is-full .level-tag {
  border-color: rgba(190, 80, 12, .42);
  background: linear-gradient(180deg, #FFA45A, #F26816);
  color: #FFF8EC;
  box-shadow: 0 2px 5px rgba(225, 92, 15, .3);
}

.level-card.is-full.is-active {
  background: linear-gradient(180deg, #FFF4DF, #FFE9C9);
  border-color: rgba(255, 122, 40, .7);
  box-shadow: 0 0 0 2px rgba(255, 138, 61, .16), 0 6px 16px rgba(220, 110, 30, .18);
}

.level-info small {
  font-size: 10.5px;
  color: var(--ink-3);
  letter-spacing: .02em;
}

.level-stars {
  flex: none;
  display: flex;
  gap: 2px;
  color: #E6D4B8;
}

.level-stars .mp-icon {
  width: 15px;
  height: 15px;
}

.level-stars .mp-icon.on { color: #FFB020; }

.level-lock {
  flex: none;
  display: flex;
  align-items: center;
  gap: 3px;
  color: var(--ink-3);
  font-size: 10px;
  font-weight: 700;
}

.level-lock .mp-icon { width: 14px; height: 14px; }

.start-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 58px;
  margin-top: 12px;
  padding: 0 14px 0 9px;
  border-radius: 18px;
  color: #FFFDF7;
  background:
    radial-gradient(90% 130% at 20% 0%, rgba(255, 255, 255, .32), transparent 52%),
    linear-gradient(180deg, #FFA45A, #FF7C2A 72%, #F26816);
  box-shadow:
    0 5px 0 #BC4D0D,
    0 12px 22px rgba(225, 92, 15, .32),
    inset 0 1px 0 rgba(255, 255, 255, .5);
  transition: transform .1s ease, box-shadow .1s ease;
}

.start-btn:active {
  transform: translateY(4px);
  box-shadow:
    0 1px 0 #BC4D0D,
    0 6px 12px rgba(225, 92, 15, .26),
    inset 0 1px 0 rgba(255, 255, 255, .5);
}

.start-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, .2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35);
}

.start-btn-icon .mp-icon {
  width: 21px;
  height: 21px;
  color: #FFF4D8;
}

.start-btn-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
  text-align: left;
}

.start-btn-copy b {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .04em;
  text-shadow: 0 1px 0 rgba(120, 45, 5, .25);
}

.start-btn-copy small {
  font-size: 10.5px;
  color: rgba(255, 249, 235, .8);
  letter-spacing: .04em;
}

.start-btn-arrow {
  font-size: 28px;
  line-height: 1;
  color: rgba(255, 250, 238, .9);
  font-weight: 400;
  transform: translateY(-1px);
}

.home-tip {
  margin: 9px 0 0;
  text-align: center;
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: .03em;
}

/* ============================================================
   游戏主界面
   ============================================================ */
.game {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(80% 32% at 50% 24%, rgba(255, 196, 128, .30), transparent 68%),
    radial-gradient(70% 34% at 50% 100%, rgba(255, 130, 48, .18), transparent 70%),
    repeating-linear-gradient(93deg, rgba(255, 231, 196, .022) 0 2px, transparent 2px 11px),
    linear-gradient(178deg, #4A2E1C 0%, #3A2415 36%, #2A180D 100%);
  opacity: 0;
  visibility: hidden;
  transition: opacity .38s ease, visibility .38s;
}

body.in-game .game {
  opacity: 1;
  visibility: visible;
}

.game::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 12% 8%, rgba(255, 224, 176, .10), transparent 38%),
    radial-gradient(ellipse at 88% 18%, rgba(255, 184, 104, .08), transparent 34%);
  pointer-events: none;
}

/* ---------- HUD ---------- */
.hud {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  padding: calc(var(--safe-top) + 10px) 14px 4px;
}

.hud-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 33px;
  padding: 0 11px;
  border-radius: 999px;
  color: #FFF2DE;
  background: rgba(35, 18, 7, .62);
  border: 1px solid rgba(255, 230, 195, .14);
  box-shadow: 0 5px 14px rgba(0, 0, 0, .18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 11px;
  letter-spacing: .02em;
  white-space: nowrap;
}

.hud-level { gap: 4px; padding-left: 7px; }
.hud-level b { font-size: 12.5px; font-weight: 900; }
.hud-level-name { color: rgba(255, 233, 204, .62); font-size: 10px; }

.hud-flame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: rgba(255, 138, 61, .18);
}

.hud-flame .mp-icon { width: 14px; height: 14px; color: #FFA452; }

.hud-time {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-variant-numeric: tabular-nums;
  min-width: 82px;
  justify-content: center;
}

.hud-time .mp-icon { width: 15px; height: 15px; color: #FFC46E; }
.hud-time b { font-size: 12.5px; font-weight: 900; letter-spacing: .06em; }

.hud-geese { color: #FFF6E4; }
.hud-geese.is-pop { animation: pill-pop .34s cubic-bezier(.2, 1.5, .4, 1); }
.hud-geese b { font-size: 12px; font-weight: 900; font-variant-numeric: tabular-nums; }

.goose-mini {
  display: block;
  width: 24px;
  height: 24px;
  margin-left: -2px;
}

.goose-mini svg { display: block; width: 100%; height: 100%; }

/* ---------- 锅台 ---------- */
.table {
  position: relative;
  z-index: 2;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 0 8px 4px;
  overflow: hidden;
}

.table-glow {
  position: absolute;
  left: 50%;
  top: 52%;
  width: 86%;
  height: 62%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 170, 86, .24), rgba(255, 130, 45, .06) 48%, transparent 70%);
  filter: blur(12px);
  pointer-events: none;
}

.wok-stage {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 案台小道具：只做氛围，不可点 */
.table-props {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.prop-board {
  position: absolute;
  right: -48px;
  top: 4px;
  width: 196px;
  height: 196px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 38%, rgba(255, 224, 170, .24), transparent 48%),
    repeating-linear-gradient(91deg, rgba(88, 48, 18, .35) 0 2px, transparent 2px 13px),
    repeating-linear-gradient(0deg, rgba(255, 220, 165, .05) 0 3px, transparent 3px 15px),
    linear-gradient(145deg, #B5793E, #8B5628 58%, #6B3D1B);
  box-shadow:
    inset 0 0 0 5px rgba(76, 40, 14, .28),
    inset 0 0 26px rgba(45, 20, 5, .4),
    0 16px 30px rgba(0, 0, 0, .28);
  transform: rotate(-8deg);
  opacity: .78;
}

.prop-chopsticks {
  position: absolute;
  left: 6px;
  top: 24px;
  transform: rotate(-25deg);
  opacity: .82;
}

.prop-chopsticks span {
  display: block;
  width: 124px;
  height: 6px;
  margin-bottom: 8px;
  border-radius: 4px;
  background: linear-gradient(180deg, #C98B4B, #8A5325 65%, #6A3B18);
  box-shadow: 0 2px 3px rgba(0, 0, 0, .3);
}

.prop-chopsticks span:last-child { width: 118px; }

.prop-spoon {
  position: absolute;
  left: 12px;
  top: 118px;
  width: 114px;
  height: 30px;
  transform: rotate(-26deg);
  opacity: .7;
}

.prop-spoon::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 38px;
  height: 28px;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 38% 30%, #F4F2EA, #B9B6AC 52%, #77746C);
  box-shadow: 0 4px 7px rgba(0, 0, 0, .3);
}

.prop-spoon span {
  position: absolute;
  left: 30px;
  top: 11px;
  width: 86px;
  height: 7px;
  border-radius: 5px;
  background: linear-gradient(180deg, #E8E5DC, #96938A 60%, #66635C);
  box-shadow: 0 3px 5px rgba(0, 0, 0, .22);
}

.prop-garlic {
  position: absolute;
  right: 26px;
  top: 62px;
  width: 58px;
  height: 58px;
  transform: rotate(13deg);
  filter: drop-shadow(0 6px 7px rgba(0, 0, 0, .28));
  opacity: .92;
}

.prop-garlic svg { width: 100%; height: 100%; display: block; }

.prop-chili {
  position: absolute;
  right: 90px;
  top: 104px;
  width: 44px;
  height: 44px;
  transform: rotate(-24deg);
  filter: drop-shadow(0 5px 6px rgba(0, 0, 0, .25));
  opacity: .9;
}

.prop-chili svg { width: 100%; height: 100%; display: block; }

.helper {
  position: relative;
  z-index: 3;
}

.wok-wrap {
  position: relative;
  width: min(94vw, 412px);
  margin: 0 auto 32px;
  transform: rotate(-1.4deg);
}

.wok-handle {
  position: absolute;
  left: 50%;
  width: 78px;
  height: 42px;
  transform: translateX(-50%);
  border: 7px solid #332C27;
  border-radius: 46px;
  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, .14),
    0 4px 7px rgba(0, 0, 0, .3);
  z-index: 1;
}

.wok-handle-top {
  top: -24px;
  border-bottom: 0;
  height: 36px;
  background: linear-gradient(180deg, #3E3731, #2B2521);
}

.wok-handle-bottom {
  bottom: -26px;
  height: 36px;
  border-top: 0;
  background: linear-gradient(0deg, #3E3731, #2B2521);
}

.wok {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 1 / .92;
  border-radius: 50%;
  background:
    radial-gradient(58% 48% at 36% 25%, rgba(255, 255, 255, .14), transparent 62%),
    linear-gradient(160deg, #514842 0%, #3A332E 45%, #211D1A 100%);
  border: 9px solid #2A2420;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, .12),
    inset 0 -4px 12px rgba(0, 0, 0, .55),
    0 26px 38px rgba(20, 8, 2, .46),
    0 4px 0 rgba(0, 0, 0, .22);
  transform-origin: 50% 70%;
}

.wok.is-tossing {
  animation: wok-toss .52s cubic-bezier(.34, 1.5, .56, 1);
}

.wok-rim {
  position: absolute;
  inset: -11px;
  border-radius: 50%;
  border: 3px solid rgba(255, 227, 191, .16);
  box-shadow:
    inset 0 2px 4px rgba(255, 255, 255, .20),
    0 0 0 2px rgba(0, 0, 0, .34);
  pointer-events: none;
  z-index: 7;
}

.wok-sheen {
  position: absolute;
  inset: 4% 8% 42% 9%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 42% 28%, rgba(255, 255, 255, .10), transparent 62%);
  pointer-events: none;
  z-index: 6;
}

.wok-inner {
  position: absolute;
  inset: 4.5% 3.8%;
  border-radius: 50%;
  overflow: hidden;
  background:
    radial-gradient(70% 60% at 50% 32%, #3A302A 0%, #211B17 55%, #0E0B09 100%);
  box-shadow:
    inset 0 10px 22px rgba(0, 0, 0, .62),
    inset 0 -14px 26px rgba(0, 0, 0, .55);
}

.oil {
  position: absolute;
  left: 14%;
  right: 14%;
  top: 10%;
  height: 48%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 46% 30%, rgba(255, 225, 174, .17), transparent 58%),
    radial-gradient(ellipse at 50% 58%, rgba(255, 184, 100, .07), transparent 70%);
  filter: blur(2px);
  pointer-events: none;
}

.pan-bed {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: .9;
  filter: blur(.4px);
  pointer-events: none;
}

.pan-bed svg { display: block; width: 100%; height: 100%; }

.pile {
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* 锅里食材 */
.pile-item {
  position: absolute;
  width: var(--item-size, 25%);
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  background: none;
  transform: translate(-50%, -50%) rotate(var(--rot, 0deg)) scale(var(--s, 1));
  filter: drop-shadow(0 8px 7px rgba(0, 0, 0, .36));
  transition:
    transform .2s cubic-bezier(.2, 1.4, .4, 1),
    left .34s cubic-bezier(.2, .8, .3, 1),
    top .34s cubic-bezier(.2, .8, .3, 1),
    opacity .2s ease,
    filter .2s ease;
  z-index: 1;
}

.pile-item.is-entering {
  animation: item-in .46s cubic-bezier(.2, 1.25, .45, 1) both;
}

.pile-item svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

/* 满锅：料挤在一起，压一点投影避免糊成一团 */
.pile.is-full-pot::before {
  content: "";
  position: absolute;
  inset: 5% 4% 2%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 58%, rgba(255, 166, 77, .16), rgba(150, 66, 18, .10) 54%, transparent 76%);
  filter: blur(7px);
  pointer-events: none;
}

.pile.is-full-pot .pile-item {
  filter: drop-shadow(0 5px 5px rgba(0, 0, 0, .32));
}

.pile.is-full-pot .pile-item::after {
  bottom: -4%;
  height: 10%;
  filter: blur(3px);
  opacity: .85;
}

.pile-item::after {
  content: "";
  position: absolute;
  left: 16%;
  right: 16%;
  bottom: -5%;
  height: 12%;
  border-radius: 50%;
  background: rgba(0, 0, 0, .32);
  filter: blur(4px);
  z-index: -1;
}

.pile-item:active {
  transform: translate(-50%, -50%) rotate(var(--rot, 0deg)) scale(calc(var(--s, 1) * .9));
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .3)) brightness(1.08);
}

.pile-item.is-picked {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(var(--rot, 0deg)) scale(.5);
  pointer-events: none;
}

.pile-item.is-suspect {
  animation: suspect 1.1s ease-in-out infinite;
}

.pile.tossing .pile-item {
  animation: item-toss .56s cubic-bezier(.3, 1.4, .5, 1) both;
  animation-delay: calc(var(--i, 0) * 18ms);
}

/* 锅里的鹅 */
.goose-layer {
  position: absolute;
  inset: 0;
  z-index: 30;
  pointer-events: none;
}

.pile-goose {
  position: absolute;
  width: 26%;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  background: none;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .4));
  animation: goose-pop .6s cubic-bezier(.2, 1.4, .4, 1) both;
  z-index: 2;
}

.pile-goose svg { display: block; width: 100%; height: 100%; overflow: visible; }
.pile-goose:active { transform: translate(-50%, -50%) scale(.9); }
.pile-goose.is-caught { animation: goose-away .34s ease forwards; pointer-events: none; }

.goose-ring {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 2px dashed rgba(255, 240, 208, .85);
  animation: ring-spin 6s linear infinite;
  opacity: .9;
}

.goose-bubble {
  position: absolute;
  left: 50%;
  top: -14%;
  transform: translate(-50%, -100%);
  padding: 3px 8px;
  border-radius: 999px;
  background: #FFF8EA;
  color: #C25A13;
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .25);
  animation: bubble-float 1.5s ease-in-out infinite;
}

/* 蒸汽 */
.steam {
  position: absolute;
  top: 4%;
  width: 46px;
  height: 84px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 75%, rgba(255, 255, 255, .32), rgba(255, 255, 255, .10) 45%, transparent 70%);
  filter: blur(9px);
  opacity: 0;
  pointer-events: none;
  animation: steam-rise 4.2s ease-in-out infinite;
}

.steam-a { left: 27%; animation-delay: .4s; }
.steam-b { left: 50%; width: 58px; height: 100px; animation-delay: 1.6s; }
.steam-c { left: 69%; animation-delay: 2.7s; }

.helper {
  position: relative;
  margin: 0 0 2px;
  padding: 5px 13px;
  border-radius: 999px;
  color: rgba(255, 238, 214, .78);
  background: rgba(30, 15, 6, .34);
  border: 1px solid rgba(255, 230, 195, .08);
  font-size: 10.5px;
  letter-spacing: .03em;
  text-align: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: color .2s ease;
}

.helper.is-warn {
  color: #FFC58A;
}

/* ---------- 底部托盘 ---------- */
.dock {
  position: relative;
  z-index: 12;
  padding: 4px 14px calc(10px + var(--safe-bottom));
  background: linear-gradient(180deg, transparent, rgba(16, 8, 3, .42) 42%);
}

.tray-card {
  padding: 8px 10px 10px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 251, 242, .99), rgba(246, 230, 203, .99));
  border: 1px solid rgba(255, 255, 255, .72);
  box-shadow:
    0 14px 30px rgba(12, 5, 1, .38),
    inset 0 1px 0 rgba(255, 255, 255, .9);
}

.tray-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3px 6px;
  color: var(--ink-2);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .04em;
}

.tray-head em {
  font-style: normal;
  margin-left: 5px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(255, 138, 61, .13);
  color: #C25A13;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .02em;
}

.tray-count {
  color: var(--ink-3);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.tray {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  padding: 5px;
  border-radius: 13px;
  background: linear-gradient(180deg, #E6D2B1, #F0E1C7);
  box-shadow:
    inset 0 2px 6px rgba(96, 58, 22, .20),
    inset 0 -1px 0 rgba(255, 255, 255, .55);
}

.slot {
  position: relative;
  aspect-ratio: 1;
  border-radius: 9px;
  background: linear-gradient(180deg, #DCC5A0, #F1E2C8);
  box-shadow:
    inset 0 2px 4px rgba(85, 50, 18, .24),
    inset 0 -1px 0 rgba(255, 255, 255, .6);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.slot.is-filled {
  background: linear-gradient(180deg, #FFFDF6, #FFF3DE);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, .9),
    0 1px 3px rgba(90, 50, 15, .13);
}

.slot svg {
  display: block;
  width: 84%;
  height: 84%;
  animation: slot-in .24s cubic-bezier(.2, 1.35, .4, 1) both;
  filter: drop-shadow(0 2px 2px rgba(60, 30, 5, .18));
  transition: opacity .18s ease;
}

.slot.is-arriving svg { opacity: 0; }

.fly-item {
  position: fixed;
  z-index: 75;
  pointer-events: none;
  transition:
    left .3s cubic-bezier(.2, .8, .3, 1),
    top .3s cubic-bezier(.2, .8, .3, 1),
    width .3s cubic-bezier(.2, .8, .3, 1),
    height .3s cubic-bezier(.2, .8, .3, 1),
    opacity .3s ease;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .35));
}

.fly-item svg { display: block; width: 100%; height: 100%; }

.slot.is-match {
  animation: match-flash .36s ease;
  background: linear-gradient(180deg, #FFE9B8, #FFD180);
}

.slot.is-match svg {
  animation: match-pop .36s ease forwards;
}

.slot.is-new::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 9px;
  animation: slot-new .4s ease;
  pointer-events: none;
}

/* ---------- 颠勺 ---------- */
.toss-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 9px;
  padding: 0 2px;
}

.toss-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.toss-copy b {
  color: #FFE7C8;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
}

.toss-copy span {
  color: rgba(255, 226, 194, .56);
  font-size: 10px;
  letter-spacing: .02em;
  line-height: 1.4;
}

.toss-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  flex: none;
  height: 58px;
  min-width: 148px;
  padding: 0 17px 0 8px;
  border-radius: 999px;
  color: #FFFDF7;
  background:
    radial-gradient(80% 130% at 22% 0%, rgba(255, 255, 255, .32), transparent 55%),
    linear-gradient(180deg, #FFAB5F, #FF7C2A 72%, #F06715);
  border: 1px solid rgba(255, 190, 132, .55);
  box-shadow:
    0 5px 0 #B3480B,
    0 13px 24px rgba(235, 96, 16, .36),
    inset 0 1px 0 rgba(255, 255, 255, .5);
  transition: transform .1s ease, box-shadow .1s ease, filter .2s ease;
}

.toss-btn:active:not(:disabled) {
  transform: translateY(4px);
  box-shadow:
    0 1px 0 #B3480B,
    0 6px 12px rgba(235, 96, 16, .3),
    inset 0 1px 0 rgba(255, 255, 255, .5);
}

.toss-btn:disabled {
  filter: grayscale(.55) brightness(.82);
  box-shadow: 0 3px 0 #7D4B2A, 0 8px 14px rgba(0, 0, 0, .2);
  opacity: .8;
}

.toss-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4);
}

.toss-icon-wrap .mp-icon {
  width: 23px;
  height: 23px;
  color: #FFF8E8;
}

.toss-label {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .1em;
  text-shadow: 0 1px 0 rgba(120, 45, 5, .3);
}

.toss-uses {
  position: absolute;
  top: -7px;
  right: -4px;
  min-width: 30px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #3A2213;
  border: 1px solid rgba(255, 226, 187, .5);
  color: #FFD574;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .02em;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .28);
}

/* ============================================================
   结算
   ============================================================ */
.result {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 18px calc(24px + var(--safe-bottom));
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s ease, visibility .28s;
}

.result.is-open { opacity: 1; visibility: visible; }

.result-scrim {
  position: absolute;
  inset: 0;
  background: rgba(22, 10, 3, .6);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.result-card {
  position: relative;
  width: 100%;
  max-width: 340px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 20px 20px 16px;
  border-radius: 28px;
  text-align: center;
  background:
    radial-gradient(130% 60% at 50% 0%, #FFFDF6 0%, #FFF6E6 52%, #F7E6C8 100%);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow:
    0 30px 60px rgba(15, 6, 1, .55),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  transform: translateY(18px) scale(.94);
  opacity: 0;
  transition: transform .4s cubic-bezier(.2, 1.3, .4, 1), opacity .3s ease;
}

.result.is-open .result-card { transform: translateY(0) scale(1); opacity: 1; }

.result-art {
  position: relative;
  width: 104px;
  height: 104px;
  margin: -6px auto 4px;
}

.result-art svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 8px 12px rgba(120, 60, 18, .22)); }
.result-art.is-lose { opacity: .92; }

.result-art::before {
  content: "";
  position: absolute;
  inset: 8% -6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 175, 84, .30), transparent 66%);
  z-index: -1;
}

.result-stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 2px 0 8px;
}

.result-star {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #EFE1C8;
  color: #CDB89A;
  box-shadow: inset 0 1px 2px rgba(90, 55, 20, .12);
  transform: scale(.8);
  opacity: .7;
  transition: transform .3s cubic-bezier(.2, 1.6, .4, 1), background .2s, color .2s, opacity .2s;
}

.result.is-open .result-star { transform: scale(1); opacity: 1; }
.result-star .mp-icon { width: 19px; height: 19px; }
.result-star.is-on {
  background: linear-gradient(180deg, #FFD675, #FFAD2E);
  color: #FFFDF6;
  box-shadow: 0 4px 10px rgba(255, 155, 30, .34), inset 0 1px 0 rgba(255, 255, 255, .55);
}
.result.is-open .result-star:nth-child(1) { transition-delay: .06s; }
.result.is-open .result-star:nth-child(2) { transition-delay: .16s; }
.result.is-open .result-star:nth-child(3) { transition-delay: .26s; }

.result h2 {
  margin: 0;
  color: #3C2415;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -.01em;
  text-shadow: 0 1px 0 #fff;
}

.result-sub {
  margin: 6px 0 14px;
  color: #947152;
  font-size: 11.5px;
  line-height: 1.5;
  letter-spacing: .02em;
}

.result-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.stat-box {
  padding: 9px 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .62);
  border: 1px solid rgba(120, 75, 35, .10);
}

.stat-box span {
  display: block;
  color: #A98566;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .06em;
  margin-bottom: 2px;
}

.stat-box b {
  display: block;
  color: #4A2C18;
  font-size: 15px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.result-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.result-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 50px;
  border-radius: 15px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .04em;
  transition: transform .1s ease, box-shadow .1s ease;
}

.result-btn.primary {
  color: #FFFDF7;
  background:
    radial-gradient(90% 130% at 20% 0%, rgba(255, 255, 255, .3), transparent 55%),
    linear-gradient(180deg, #FFA45A, #FF7A28 75%, #F06715);
  box-shadow:
    0 4px 0 #B3480B,
    0 10px 20px rgba(225, 92, 15, .28),
    inset 0 1px 0 rgba(255, 255, 255, .45);
}

.result-btn.primary:active { transform: translateY(3px); box-shadow: 0 1px 0 #B3480B, 0 5px 10px rgba(225, 92, 15, .22); }

.result-btn.ghost {
  color: #7B5536;
  background: rgba(255, 255, 255, .62);
  border: 1px solid rgba(120, 75, 35, .14);
  box-shadow: 0 2px 0 rgba(100, 60, 25, .07);
}

.result-btn.ghost:active { transform: scale(.985); }

.result-home {
  margin-top: 10px;
  padding: 5px 10px;
  color: #A98566;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 飘出的分数 */
.float-score {
  position: fixed;
  z-index: 40;
  pointer-events: none;
  color: #FFF4D6;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .02em;
  text-shadow: 0 2px 0 rgba(130, 55, 5, .55), 0 6px 12px rgba(0, 0, 0, .3);
  animation: float-score .9s ease-out forwards;
}

.float-score.is-goose { color: #FFD36B; font-size: 18px; }

.feather {
  position: fixed;
  z-index: 85;
  width: 10px;
  height: 16px;
  border-radius: 60% 60% 45% 45%;
  background: linear-gradient(160deg, #FFFDF7, #EADCC6);
  box-shadow: 0 2px 4px rgba(0, 0, 0, .16);
  pointer-events: none;
  animation: feather-fall var(--dur, 2s) ease-in forwards;
}

/* 提示条 */
.toast {
  position: fixed;
  left: 50%;
  top: calc(var(--safe-top) + 58px);
  z-index: 90;
  transform: translate(-50%, -8px);
  max-width: 82vw;
  padding: 8px 15px;
  border-radius: 999px;
  background: rgba(42, 23, 9, .92);
  border: 1px solid rgba(255, 219, 170, .22);
  color: #FFEACD;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .02em;
  text-align: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .3);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s, transform .22s, visibility .22s;
  pointer-events: none;
}

.toast.is-show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* ============================================================
   动画
   ============================================================ */
@keyframes home-rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes item-in {
  from { opacity: 0; transform: translate(-50%, -50%) rotate(var(--rot, 0deg)) scale(.5); }
  to { opacity: 1; transform: translate(-50%, -50%) rotate(var(--rot, 0deg)) scale(var(--s, 1)); }
}

@keyframes item-toss {
  0% { transform: translate(-50%, -50%) rotate(var(--rot, 0deg)) scale(var(--s, 1)); }
  34% { transform: translate(-50%, -76%) rotate(calc(var(--rot, 0deg) + 16deg)) scale(calc(var(--s, 1) * 1.08)); }
  62% { transform: translate(-50%, -56%) rotate(calc(var(--rot, 0deg) - 9deg)) scale(var(--s, 1)); }
  100% { transform: translate(-50%, -50%) rotate(var(--rot, 0deg)) scale(var(--s, 1)); }
}

@keyframes wok-toss {
  0% { transform: rotate(0deg) translateY(0); }
  18% { transform: rotate(-2.5deg) translateY(-5px); }
  42% { transform: rotate(2deg) translateY(-3px); }
  62% { transform: rotate(-1deg) translateY(1px); }
  100% { transform: rotate(0deg) translateY(0); }
}

@keyframes goose-pop {
  0% { opacity: 0; transform: translate(-50%, -30%) scale(.4) rotate(-12deg); }
  60% { opacity: 1; transform: translate(-50%, -56%) scale(1.08) rotate(3deg); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0); }
}

@keyframes goose-away {
  0% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -100%) scale(.4) rotate(8deg); }
}

@keyframes bubble-float {
  0%, 100% { transform: translate(-50%, -100%) translateY(0); }
  50% { transform: translate(-50%, -100%) translateY(-5px); }
}

@keyframes ring-spin {
  to { transform: rotate(360deg); }
}

@keyframes suspect {
  0%, 100% { filter: drop-shadow(0 8px 7px rgba(0, 0, 0, .36)); }
  50% { filter: drop-shadow(0 0 12px rgba(255, 211, 107, .95)) brightness(1.12); }
}

@keyframes steam-rise {
  0% { opacity: 0; transform: translateY(18px) scale(.7); }
  22% { opacity: .7; }
  70% { opacity: .22; }
  100% { opacity: 0; transform: translateY(-46px) scale(1.25); }
}

@keyframes slot-in {
  from { opacity: 0; transform: scale(.55) rotate(-10deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes slot-new {
  0% { box-shadow: inset 0 0 0 0 rgba(255, 138, 61, .55); }
  100% { box-shadow: inset 0 0 0 12px rgba(255, 138, 61, 0); }
}

@keyframes match-flash {
  0% { transform: scale(1); background: #FFE9B8; }
  40% { transform: scale(1.14); background: #FFD06E; }
  100% { transform: scale(1); background: #FFF3DE; }
}

@keyframes match-pop {
  0% { transform: scale(1); opacity: 1; }
  55% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0); opacity: 0; }
}

@keyframes pill-pop {
  0% { transform: scale(1); }
  45% { transform: scale(1.14); }
  100% { transform: scale(1); }
}

@keyframes float-score {
  0% { opacity: 0; transform: translate(-50%, 0) scale(.8); }
  18% { opacity: 1; transform: translate(-50%, -12px) scale(1.05); }
  100% { opacity: 0; transform: translate(-50%, -58px) scale(.95); }
}

@keyframes feather-fall {
  0% { opacity: 0; transform: translate3d(0, -20px, 0) rotate(0deg); }
  10% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(var(--drift, 30px), 76vh, 0) rotate(var(--spin, 220deg)); }
}

/* ============================================================
   适配
   ============================================================ */
@media (max-height: 720px) {
  .home-title { font-size: clamp(36px, 11.5vw, 48px); }
  .home-title-wrap { margin-bottom: 10px; }
  .home-sub { font-size: 11.5px; margin-top: 7px; }
  .home-panel { padding: 16px 12px 10px; }
  .level-card { padding: 7px 10px; }
  .level-thumb { width: 36px; height: 36px; border-radius: 11px; font-size: 14px; }
  .start-btn { height: 54px; margin-top: 10px; }
  .home-tip { margin-top: 7px; }
  .wok-wrap { width: min(84vw, 340px); margin: 0 auto 26px; }
  .helper { display: none; }
  .toss-btn { height: 54px; }
  .toss-icon-wrap { width: 38px; height: 38px; }
  .tray-head { padding-bottom: 4px; }
}

@media (max-height: 620px) {
  .home-art img { object-position: 50% 38%; }
  .home-kicker { display: none; }
  .home-title { font-size: 34px; }
  .home-sub { display: none; }
  .home-title-wrap { margin-bottom: 8px; }
  .home-panel { padding: 13px 12px 9px; border-radius: 22px; }
  .level-info small { display: none; }
  .level-card { padding: 6px 9px; }
  .level-thumb { width: 32px; height: 32px; }
  .start-btn { height: 48px; }
  .start-btn-copy small { display: none; }
  .home-tip { display: none; }
  .wok-wrap { width: min(74vw, 300px); margin: 0 auto 22px; }
  .table-props { display: none; }
  .hud { padding-top: calc(var(--safe-top) + 6px); }
  .hud-pill { height: 30px; }
  .tray-card { padding: 6px 8px 8px; }
  .dock { padding-bottom: calc(6px + var(--safe-bottom)); }
  .toss-row { margin-top: 6px; }
  .toss-btn { height: 48px; min-width: 132px; }
  .toss-icon-wrap { width: 34px; height: 34px; }
}

@media (max-width: 360px) {
  .home-body { padding-left: 12px; padding-right: 12px; }
  .home-title { font-size: 38px; }
  .hud { padding-left: 10px; padding-right: 10px; gap: 5px; }
  .hud-pill { padding: 0 9px; }
  .hud-level-name { display: none; }
  .dock { padding-left: 10px; padding-right: 10px; }
  .tray { gap: 3px; padding: 4px; }
  .toss-copy span { display: none; }
  .toss-btn { min-width: 138px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}


/* 画面从顶端铺开，最佳成绩收到开锅面板里 */
.home-best-line {
  margin: 2px 4px 8px;
  color: #C2560D;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
}

.table-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.table-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
  opacity: .38;
  filter: saturate(1.08) contrast(1.04);
}

.table-glow,
.table-props,
.wok-stage,
.helper {
  position: relative;
  z-index: 1;
}

.wok.is-tossing {
  animation: wok-flip-hard .78s cubic-bezier(.18, .72, .2, 1) !important;
}

.pile.tossing .pile-item {
  animation: item-jump .78s ease !important;
}

@keyframes wok-flip-hard {
  0% { transform: translateY(0) rotate(0deg); }
  28% { transform: translateY(-36px) rotate(-18deg) scale(1.05); }
  52% { transform: translateY(-10px) rotate(14deg) scale(1.02); }
  100% { transform: translateY(0) rotate(0deg); }
}

@keyframes item-jump {
  0% { transform: translate(-50%, -50%); }
  36% { transform: translate(-50%, calc(-50% - 52px)) rotate(16deg) scale(1.08); }
  100% { transform: translate(-50%, -50%); }
}
