:root {
  --ink:#302017;
  --paper:#fff2d5;
  --paper-deep:#f1d9a8;
  --red:#b93726;
  --red-dark:#79271d;
  --teal:#234d41;
  --teal-dark:#15352e;
  --honey:#FF8A3D;
  --honey-deep:#E86A1C;
  --shadow:#74442d;
  --font:"Microsoft YaHei","PingFang SC","Noto Sans CJK SC",sans-serif;
}
*,*::before,*::after {
  box-sizing:border-box;
}
html {
  -webkit-text-size-adjust:100%;
  background:#201915;
  color:var(--ink);
  font-family:var(--font);
}
body {
  margin:0;
  min-width:280px;
  overscroll-behavior-y:none;
  background:radial-gradient(ellipse at 50% 14%,#584030 0%,#2a211b 44%,#201915 83%);
}
button {
  font:inherit;
  font-weight:800;
  cursor:pointer;
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
}
button:disabled {
  cursor:default;
}
button:focus-visible,canvas:focus-visible,a:focus-visible {
  outline:3px solid #209d8c;
  outline-offset:3px;
}
[hidden] {
  display:none!important;
}
p,h1,h2,h3 {
  margin:0;
}
button,a,img {
  user-select:none;
  -webkit-user-drag:none;
}
button,a {
  color:inherit;
}
button {
  appearance:none;
  border:0;
}
img {
  display:block;
  max-width:100%;
}
.app {
  position:relative;
  isolation:isolate;
  width:100%;
  max-width:580px;
  min-height:100vh;
  min-height:100svh;
  margin:0 auto;
  overflow:hidden;
  background:var(--paper);
  box-shadow:0 0 85px #0f0a07;
}
.app::before {
  content:"";
  pointer-events:none;
  z-index:-1;
  position:absolute;
  inset:0;
  background:repeating-linear-gradient(0deg,#582c0e06 0px 1px,transparent 1px 4px),radial-gradient(ellipse at top,#fff8e4,transparent 65%);
}
.screen {
  min-height:100vh;
  min-height:100svh;
  padding:16px 17px max(17px,env(safe-area-inset-bottom));
  position:relative;
}
.topbar,.game-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-height:48px;
}
.topbar h1 {
  font-size:25px;
  letter-spacing:.07em;
}
.topbar .back,.game-top .back,.sound {
  width:42px;
  height:42px;
  border-radius:50%;
  border:2px solid var(--ink);
  background:#fff0cc;
  box-shadow:0 2px 0 var(--ink);
  display:grid;
  place-items:center;
  flex:0 0 auto;
  font-size:23px;
  line-height:1;
}
.topbar .coin,.wallet {
  border-radius:99px;
  padding:7px 11px;
  background:#fff3cf;
  border:1.5px solid var(--ink);
  box-shadow:0 2px 0 var(--ink);
  font-weight:900;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
  font-size:13px;
}
.symbol-coin {
  display:inline-grid;
  place-items:center;
  width:17px;
  height:17px;
  border-radius:50%;
  margin-right:5px;
  background:#f7b630;
  border:1px solid #ad5b17;
  font-size:11px;
  color:#733913;
  vertical-align:0;
}
.button,.small-button {
  min-height:43px;
  padding:8px 14px;
  border-radius:10px;
  border:2px solid var(--ink);
  background:#fff1cc;
  box-shadow:0 3px 0 var(--ink);
  font-weight:900;
  line-height:1.15;
  text-align:center;
}
.button:active,.small-button:active,.back:active,.sound:active {
  transform:translateY(2px);
  box-shadow:none;
}
.button.primary {
  background:linear-gradient(#FF9A55,var(--honey) 55%,var(--honey-deep));
  color:#422013;
}
.button.red {
  background:var(--red);
  color:#fff2d7;
}
.button.teal {
  background:var(--teal);
  color:#fff2d7;
}
.button:disabled,.small-button:disabled {
  opacity:.5;
  box-shadow:none;
}
.small-button {
  min-height:37px;
  font-size:13px;
  padding:5px 10px;
}
.row {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
}
.stack {
  display:grid;
  gap:11px;
}
.section {
  margin-top:17px;
}
.muted {
  font-size:13px;
  color:#705746;
  line-height:1.55;
}
.section-label {
  font-size:14px;
  margin:0 0 8px;
  font-weight:900;
  color:var(--teal-dark);
  letter-spacing:.12em;
}
.pill {
  padding:5px 9px;
  display:inline-block;
  border-radius:999px;
  background:#ecd39e;
  font-size:12px;
  font-weight:900;
  white-space:nowrap;
}
.title-compact {
  font-size:19px;
}
.menu {
  padding:0 0 max(17px,env(safe-area-inset-bottom));
  background:#f7dfae;
}
.awning {
  height:29px;
  background:repeating-linear-gradient(90deg,#922d20 0 41px,#bf4430 41px 45px,#eac787 45px 86px,#f2d79f 86px 90px);
  border-bottom:4px solid #5c271b;
  box-shadow:0 7px 10px #392b1a45;
  position:relative;
  z-index:2;
}
.shop-top {
  padding:12px 17px 0;
  position:relative;
  z-index:1;
}
.menu-brand {
  text-align:center;
  padding:11px 4px 2px;
  position:relative;
}
.menu-brand .sign {
  position:relative;
  display:inline-block;
  padding:7px 20px 13px;
  margin:0 0 0;
  border:3px solid #8a3a12;
  border-radius:18px 16px 20px 19px;
  background:linear-gradient(#FF9A55,#F2711F);
  box-shadow:inset 0 0 0 3px #ffc396,0 5px 0 #a64a1a;
  transform:rotate(-3deg);
  color:#fff0c7;
}
.menu-brand h1 {
  font-family:"SimHei","Arial Black",var(--font);
  font-size:clamp(46px,12.6vw,72px);
  line-height:1.05;
  letter-spacing:-.075em;
  text-indent:-.075em;
  text-shadow:2px 3px #732b20,4px 4px #732b20;
  white-space:nowrap;
}
.menu-brand p {
  font-weight:800;
  font-size:13px;
  color:#604733;
  letter-spacing:.12em;
  margin-top:13px;
}
.hero {
  height:clamp(225px,39vh,355px);
  max-height:45svh;
  min-height:210px;
  position:relative;
  overflow:hidden;
  margin-top:1px;
  text-align:center;
  background:radial-gradient(ellipse at 50% 65%,#f9d47b 0 22%,transparent 49%),linear-gradient(transparent 66%,#e9b87255 66%,transparent 90%);
}
.hero::before {
  content:"";
  inset:12% 7% 16%;
  position:absolute;
  border-radius:50% 50% 3% 3%;
  border:2px solid #a973493d;
  box-shadow:inset 0 0 0 10px #923c2510;
  background:repeating-linear-gradient(90deg,transparent 0 calc(25% - 1px),#a36f4839 calc(25% - 1px) 25%);
  transform:perspective(320px) rotateX(5deg);
}
.hero img {
  position:absolute;
  left:43%;
  bottom:4%;
  transform:translateX(-50%) rotate(-5deg);
  height:96%;
  width:auto;
  max-width:calc(100% - 128px);
  object-fit:contain;
  filter:drop-shadow(0 8px 3px #58301755);
  animation:hero-rock 3.1s ease-in-out infinite;
}
.hero::after {
  content:"";
  position:absolute;
  right:-4%;
  left:-4%;
  bottom:0;
  height:19%;
  background:linear-gradient(#d8884e,#b86c3a 26%,#a1512e 29%,#bd7946 33%,#a85c34);
  clip-path:polygon(4% 4%,96% 4%,100% 100%,0 100%);
  z-index:0;
  box-shadow:inset 0 4px 0 #f2ba73;
}
.hero-bowl {
  position:absolute;
  z-index:1;
  bottom:4%;
  left:17%;
  width:24%;
  max-width:126px;
  height:21%;
  border:3px solid #233e35;
  border-radius:48% 48% 44% 44% / 33% 33% 65% 65%;
  background:linear-gradient(#f0984d 0 28%,#e6b557 29% 33%,#568778 34% 52%,#23574d 57%);
  transform:rotate(-8deg);
  box-shadow:2px 5px 0 #572c213c;
}
.hero-bowl::before {
  content:"";
  position:absolute;
  top:-7%;
  left:0;
  right:0;
  height:40%;
  background:repeating-radial-gradient(ellipse at 47% 72%,#ffd46d 1px 4px,#9c4a25 5px 7px);
  border-radius:50%;
  border:3px solid #f7d2a3;
}
.hero-word {
  position:absolute;
  z-index:2;
  top:13%;
  left:6%;
  font-size:clamp(11px,3.2vw,15px);
  display:inline-block;
  padding:8px 10px;
  background:#fff0c6;
  border:2px solid var(--ink);
  box-shadow:2px 3px var(--ink);
  border-radius:12px 12px 12px 1px;
  font-weight:900;
  color:#832f20;
  transform:rotate(-9deg);
}
.menu-ad {
  position:absolute;
  z-index:3;
  top:13%;
  right:clamp(10px,3vw,18px);
  width:clamp(106px,29vw,132px);
  display:grid;
  justify-items:center;
  gap:4px;
  padding:9px 5px 7px;
  border:2px solid #762517;
  border-radius:13px 13px 18px 18px;
  background:linear-gradient(155deg,#fff5aa 0 12%,#ffd65d 47%,#ffc340);
  box-shadow:inset 0 0 0 2px #fff0a5,0 4px #8a351a,0 8px 16px #5b24093d;
  color:#4e240e;
  text-align:center;
  line-height:1.1;
}
.menu-ad::before {
  content:"";
  position:absolute;
  top:-11px;
  left:50%;
  width:26px;
  height:12px;
  border:3px solid #9b381c;
  border-bottom:0;
  border-radius:50% 50% 0 0;
  transform:translateX(-50%);
}
.menu-ad:active {
  transform:translateY(2px);
}
.menu-ad-title {
  font-size:13px;
  letter-spacing:.08em;
}
.menu-ad-reward {
  font-size:clamp(14px,4.5vw,21px);
  font-variant-numeric:tabular-nums;
}
.menu-ad-detail {
  font-size:11px;
}
.menu-ad-cta {
  display:flex;
  width:100%;
  min-height:31px;
  align-items:center;
  justify-content:center;
  gap:5px;
  margin-top:3px;
  border-radius:6px 6px 10px 10px;
  background:#8b1f16;
  color:#fff7d6;
  font-size:clamp(13px,4vw,17px);
  white-space:nowrap;
}
.menu-ad-cta i {
  width:16px;
  height:12px;
  display:grid;
  place-items:center;
  border:1.5px solid currentColor;
  border-radius:3px;
}
.menu-ad-cta i::after {
  content:"";
  margin-left:2px;
  border-left:5px solid currentColor;
  border-top:3px solid transparent;
  border-bottom:3px solid transparent;
}
.menu-ad small {
  font-size:10px;
  color:#643c22;
}
.hero-wisp {
  position:absolute;
  z-index:1;
  left:26%;
  bottom:22%;
  font-size:31px;
  color:#fff3cf;
  animation:steam 2.2s linear infinite;
}
/* 内置图标（mp-icon）尺寸跟随所在按钮/装饰位 */
.sound .mp-icon,.topbar .back .mp-icon,.game-top .back .mp-icon { width:22px;height:22px; }
.hero-wisp .mp-icon { width:30px;height:30px; }
.menu-actions {
  position:relative;
  padding:12px 17px 0;
  display:grid;
  gap:11px;
}
.menu-main {
  font-size:24px;
  min-height:59px;
  letter-spacing:.08em;
}
.menu-main span {
  margin-left:.5em;
  font-size:14px;
}
.menu-tiles {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
}
.menu-chips {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
}
.menu-chips .small-button {
  min-height:41px;
}
.tile {
  display:grid;
  justify-content:center;
  align-content:center;
  gap:4px;
  min-height:57px;
  border:2px solid #a06240;
  background:#f9e6ba;
  border-radius:9px;
  color:#4d3022;
  font-size:14px;
  font-weight:900;
}
.tile em {
  font-style:normal;
  font-size:19px;
  line-height:1;
  color:#a13425;
}
.menu-footer {
  padding:1px 17px 0;
  margin-top:11px;
}
.menu-footer button {
  flex:1;
}
.shadow-card {
  padding:12px;
  border:2px solid #b58b60;
  border-radius:13px;
  background:#fff5dc;
  box-shadow:0 3px 0 #aa81573a;
}
.shadow-card strong {
  font-size:16px;
}
.chapter-card {
  position:relative;
  padding:17px 13px 18px;
  color:#fff0cd;
  background:var(--teal);
  border:2px solid #243b30;
  border-radius:14px;
  box-shadow:0 4px #182f28;
  margin-top:14px;
  overflow:hidden;
}
.chapter-card::before {
  content:"";
  position:absolute;
  pointer-events:none;
  inset:5px;
  border:1px dashed #fff0bd61;
  border-radius:10px;
}
.chapter-card h2 {
  font-size:28px;
  line-height:1.12;
  margin:3px 0 6px;
}
.chapter-card small {
  color:#f5d79c;
  font-weight:800;
}
.chapter-card .small-button {
  background:#f5d28d;
  color:#3e2415;
  min-width:35px;
  padding:0;
  font-size:20px;
  z-index:1;
}
.chapter-card > div {
  text-align:center;
}
.legend {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
  margin:17px 0 9px;
  font-size:13px;
  font-weight:800;
}
.levels {
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:9px;
}
.level {
  display:grid;
  place-items:center;
  align-content:center;
  min-height:53px;
  padding:3px 0 1px;
  gap:1px;
  background:#fff3d1;
  border:2px solid #9c6848;
  border-radius:10px;
  box-shadow:0 3px #9c6848;
  font-size:17px;
}
.level small {
  font-size:9px;
  color:#7b603f;
  letter-spacing:.04em;
  white-space:nowrap;
}
.level.done small {
  color:#975519;
}
.level.current {
  background:#ffc254;
  border-color:#7e4229;
  box-shadow:0 3px #7e4229;
}
.level:disabled {
  opacity:.48;
  background:#e9d7b1;
  box-shadow:none;
}
.level.hard {
  border-style:dashed;
}
.food-list .row {
  min-height:47px;
}
.food-list .row+.row {
  border-top:1px dashed #d9b892;
  padding-top:8px;
  margin-top:8px;
}
.day-list .row {
  padding:7px 0;
}
.day-list .row+.row {
  border-top:1px dashed #d9b892;
}
.meme-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
}
.meme-tile {
  padding:3px;
  background:#ebc788;
  border:2px solid #9b653b;
  border-radius:10px;
  overflow:hidden;
}
.meme-tile:disabled {
  opacity:.63;
}
.meme-tile img {
  border-radius:6px;
  width:100%;
  aspect-ratio:1;
  object-fit:cover;
}
.meme-tile span {
  font-size:12px;
  display:block;
  padding:3px 0;
}
.meme-tile .missing {
  min-height:69px;
  aspect-ratio:1;
  display:grid;
  place-items:center;
  border-radius:5px;
  background:repeating-linear-gradient(135deg,#fae7b8 0 8px,#e9cf96 8px 16px);
  font-size:23px;
}
.game {
  padding:8px 9px max(8px,env(safe-area-inset-bottom));
  background:linear-gradient(var(--scene,#244a40) 0 91px,#edd2a0 91px 100%);
  display:flex;
  flex-direction:column;
  min-height:100vh;
  min-height:100svh;
}
.game-top {
  color:#fff0cf;
  padding:0 5px;
  min-height:44px;
}
.game-top .back {
  height:37px;
  width:37px;
  color:#362319;
  font-size:20px;
}
.game-name {
  display:grid;
  gap:2px;
  text-align:center;
  flex:1;
}
.game-name strong {
  font-size:19px;
  letter-spacing:.04em;
  line-height:1;
}
.game-name span {
  font-size:11px;
  opacity:.81;
  line-height:1.1;
}
.game-stats {
  min-height:31px;
  color:#fff3d2;
  font-weight:900;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:1px 8px 4px;
  gap:7px;
  font-size:13px;
}
.hearts {
  font-size:20px;
  letter-spacing:.08em;
  color:#ffb2a2;
  white-space:nowrap;
  text-shadow:0 1px #41231d;
}
.hearts .lost {
  color:#ffd1b66b;
}
.danger {
  color:#ff8e78;
}
.game-counter {
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
}
.counter-number {
  color:#fff2ff;
}
.bowl-wrap {
  height:clamp(250px,calc(100vh - 325px),620px);
  height:clamp(250px,calc(100svh - 325px),620px);
  min-height:250px;
  max-height:calc(142vw - 105px);
  position:relative;
  flex:none;
  background:radial-gradient(ellipse at center,#eccc8d 0%,transparent 76%);
  border-radius:16px;
}
#board {
  display:block;
  width:100%;
  height:100%;
  touch-action:none;
  user-select:none;
}
.chef-row {
  position:relative;
  pointer-events:none;
  display:flex;
  justify-content:center;
  align-items:stretch;
}
.chef-sprite {
  max-width:53%;
  max-height:calc(100% - 2px);
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  object-fit:contain;
  filter:drop-shadow(0 3px 2px #62381c80);
}
.chef-sprite.slurp {
  animation:slurp .26s ease-out;
}
.chef-sprite.chomp {
  animation:chomp .3s ease-in-out;
}
.chef-sprite.choke {
  animation:choke .33s ease-out;
}
.chef-sprite.gulp {
  animation:gulp .47s ease-out;
}
.chef-sprite.laugh {
  animation:laugh .34s ease-in-out 3;
}
.chef-talk {
  position:absolute;
  max-width:35%;
  font-size:13px;
  color:#6c321b;
  font-weight:900;
  padding:5px 8px;
  border:1.5px solid #8b5637;
  background:#fff0c9;
  border-radius:10px 11px 10px 1px;
  box-shadow:0 2px #94573c39;
  line-height:1.27;
}
.chef-info {
  position:absolute;
  left:5%;
  color:#6f4c37;
  font-size:12px;
  font-weight:800;
}
.play-controls {
  margin:0 4px;
  border-top:2px solid #a8744e80;
  padding-top:7px;
  z-index:1;
}
.meter {
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:6px;
  font-weight:900;
  margin-bottom:6px;
  font-size:12px;
  white-space:nowrap;
}
.meter-track {
  display:grid;
  grid-template-columns:repeat(10,1fr);
  gap:3px;
}
.meter-track i {
  height:8px;
  border-radius:3px;
  background:#bb986d77;
}
.meter-track i.filled {
  background:#c3482e;
  box-shadow:0 1px #792b21;
}
.meter-track.ready i {
  background:#e79024;
}
.tools {
  display:grid;
  grid-template-columns:1fr 1.12fr 1fr;
  gap:6px;
}
.tools button {
  min-height:39px;
  padding:4px 2px;
  font-size:13px;
}
.tools button[data-action=gulp]:disabled {
  opacity:.57;
}
.tools button.selected {
  background:#ffd888;
}
.tools em {
  font-style:normal;
  font-size:10px;
  margin-left:3px;
}
.tool-info {
  height:22px;
  line-height:22px;
  text-align:center;
  color:#7d341f;
  font-weight:800;
  font-size:11px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  padding:0 4px;
}
.overlay {
  display:grid;
  align-items:center;
  justify-items:center;
  position:fixed;
  inset:0;
  background:#24160db8;
  z-index:5;
  padding:14px;
  overflow:auto;
}
.dialog {
  width:100%;
  max-width:410px;
  max-height:calc(100svh - 28px);
  overflow:auto;
  background:#fff1cf;
  border:3px solid #572d21;
  border-radius:17px;
  padding:19px 17px 17px;
  box-shadow:0 7px 0 #2c1a13,0 12px 36px #21120d99;
  text-align:center;
}
.dialog h2 {
  font-size:28px;
  color:#822c1e;
  margin-bottom:9px;
}
.dialog p {
  font-size:14px;
  line-height:1.5;
}
.dialog .stack {
  margin-top:14px;
}
.dialog .row {
  justify-content:center;
}
.dialog .row .button,.modal-actions .button {
  flex:1;
}
.dialog .modal-actions {
  display:flex;
  gap:8px;
  margin-top:14px;
}
.dialog .result-image {
  height:127px;
  margin:0 auto 5px;
  object-fit:contain;
}
.dialog .stars {
  font-size:30px;
  color:#b66713;
  letter-spacing:.1em;
  line-height:1;
}
.dialog .full-meme {
  max-height:52vh;
  width:100%;
  object-fit:contain;
  border-radius:10px;
}
.dialog .spices {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:6px;
  margin:14px 0 8px;
}
.spices button {
  padding:6px 3px;
  font-weight:900;
  font-size:13px;
}
.spices button.selected {
  background:#efb845;
}
.spices small {
  font-size:10px;
  display:block;
  margin-top:3px;
}
.dialog .guide {
  text-align:left;
  border-left:4px solid #cf763c;
  padding:5px 0 5px 8px;
}
.toast {
  display:none;
  position:fixed;
  left:50%;
  bottom:max(18px,env(safe-area-inset-bottom));
  transform:translateX(-50%);
  z-index:9;
  text-align:center;
  max-width:min(91vw,540px);
  width:max-content;
  padding:8px 13px;
  border-radius:8px;
  background:#37251c;
  color:#fff2ce;
  font-size:13px;
  font-weight:800;
  box-shadow:0 3px 12px #2a190b55;
  pointer-events:none;
}
.toast.visible {
  display:block;
}
.banner-slot {
  margin-top:12px;
  text-align:center;
}
.banner-slot:empty {
  display:none;
}
.shop-skin {
  height:96px;
  object-fit:contain;
  margin:0 auto;
}
.rooms-items {
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:5px;
  margin:13px 0;
}
.rooms-items div {
  text-align:center;
  font-size:11px;
  font-weight:800;
  padding:6px 2px;
  background:#ead9b3;
  border-radius:6px;
  opacity:.55;
}
.rooms-items div.owned {
  background:#f7cc79;
  opacity:1;
}
.rooms-items em {
  display:block;
  font-size:21px;
  font-style:normal;
  margin-bottom:3px;
}
.check-item {
  margin:8px 0;
  font-size:14px;
  font-weight:800;
}
.mini-link {
  text-decoration:none;
  display:block;
}
.hero img {
  z-index:1;
}
.menu-brand {
  z-index:2;
}
@keyframes hero-rock {
  0%,100% {
    transform:translateX(-50%) rotate(-5deg) scale(1);
  }
  40% {
    transform:translateX(-50%) rotate(-1deg) scale(1.025,.99);
  }
  50% {
    transform:translateX(-50%) rotate(-3deg) scale(1.01,1.01);
  }
  70% {
    transform:translateX(-50%) rotate(-4deg) scale(1.02,.99);
  }
}
@keyframes steam {
  0% {
    transform:translateY(4px);
    opacity:0;
  }
  32% {
    opacity:.8;
  }
  100% {
    transform:translateY(-24px);
    opacity:0;
  }
}
@keyframes slurp {
  55% {
    transform:translateX(-50%) translateY(-11px) scale(.92,1.1);
  }
}
@keyframes chomp {
  35% {
    transform:translateX(-50%) scale(1.1,.94);
  }
  70% {
    transform:translateX(-50%) scale(.99,1.04);
  }
}
@keyframes choke {
  20%,67% {
    transform:translateX(-57%) rotate(-8deg);
  }
  42%,85% {
    transform:translateX(-42%) rotate(8deg);
  }
}
@keyframes gulp {
  40% {
    transform:translateX(-50%) translateY(-15px) scale(.92,1.15);
  }
  78% {
    transform:translateX(-50%) scale(1.19,.98);
  }
}
@keyframes laugh {
  50% {
    transform:translateX(-50%) translateY(-5px) rotate(-6deg) scale(1.09,.95);
  }
}
@media(max-width:340px) {
  .menu-tiles {
    gap:5px;
  }
  .menu-actions,.screen {
    padding-left:11px;
    padding-right:11px;
  }
  .game {
    padding-left:5px;
    padding-right:5px;
  }
  .levels {
    gap:5px;
  }
  .chef-info {
    font-size:10px;
  }
  .chef-talk {
    right:3%;
  }
  .bowl-wrap {
    min-height:228px;
  }
}
@media(max-height:700px) {
  .hero {
    min-height:189px;
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    animation-duration:.001ms!important;
    animation-iteration-count:1!important;
  }
}
.chef-row {
  height:160px;
  flex:1 0 152px;
  margin-top:0;
  background:radial-gradient(ellipse at 50% 91%,#84552d29 0 14%,transparent 29%);
  overflow:hidden;
}
.chef-row::before,.chef-row::after {
  content:"";
  position:absolute;
  width:42px;
  height:5px;
  border-radius:99px;
  background:#b0855890;
  top:72%;
  left:11%;
  transform:rotate(-23deg);
  box-shadow:0 8px 0 #bc915eaa;
}
.chef-row::after {
  top:64%;
  left:auto;
  right:10%;
  width:36px;
  transform:rotate(28deg);
}
.chef-sprite {
  height:clamp(130px,20svh,183px);
  bottom:1px;
  z-index:1;
}
.chef-talk {
  right:7%;
  top:17%;
  z-index:2;
}
.chef-info {
  bottom:24%;
  z-index:2;
}
@media(max-height:750px) {
  .game-top {
    min-height:38px;
  }
  .game-stats {
    min-height:28px;
  }
  .chef-row {
    height:94px;
    flex:1 0 94px;
  }
  .chef-sprite {
    height:99px;
    bottom:-4px;
  }
  .bowl-wrap {
    height:clamp(208px,calc(100vh - 273px),515px);
    height:clamp(208px,calc(100svh - 273px),515px);
  }
}
@media(max-width:335px) {
  .chef-info {
    left:3%;
  }
  .chef-talk {
    right:4%;
  }
  .bowl-wrap {
    min-height:206px;
  }
}

.ad-placement small {
  display:inline-block;
  margin-left:.6em;
  color:#705746;
  font-size:11px;
  white-space:nowrap;
}

.ad-reward-detail {
  display:block;
  font-size:.85em;
  margin-top:3px;
}
.welcome-ad {
  background:#ffe4a5;
  color:#582d20;
}
.button.ad-spotlight {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  background:#ffdd67;
  border-color:#8b351d;
  box-shadow:0 3px 0 #8b351d;
  color:#4e240e;
}
.ad-spot-tag {
  padding:5px 6px;
  border-radius:5px;
  background:#8b1f16;
  color:#fff7d6;
  white-space:nowrap;
}
.ad-spot-reward small {
  display:block;
  margin-top:2px;
  font-size:10px;
  color:#69442c;
}
.game-ad-strip {
  display:grid;
  grid-template-columns:1.45fr 1fr;
  gap:7px;
  min-height:45px;
  padding:3px 5px 6px;
}
.game-ad-strip .button {
  width:100%;
  height:100%;
  min-height:38px;
  padding:3px 4px;
  font-size:clamp(11px,3.6vw,14px);
}
.ad-tools-ready {
  background:#fff0ba;
  border-color:#8c512b;
  color:#652d21;
}
.game-ad-strip .ad-clock-locked {
  background:#eac38a;
  color:#694329;
  opacity:1;
  box-shadow:none;
  border-style:dashed;
}
.tools .tool-card {
  display:grid;
  justify-items:center;
  align-content:center;
  min-height:49px;
  gap:3px;
}
.tool-card .tool-name {
  font-size:14px;
}
.tool-card em {
  display:inline-block;
  background:#fff8e6;
  color:#5f3420;
  border-radius:8px;
  padding:1px 5px;
  font-variant-numeric:tabular-nums;
}
.tool-card small {
  font-size:10px;
  font-weight:600;
}
.tools .tool-hint {
  background:#cfe6d5;
  border-color:#235642;
  color:#153629;
}
.tools .tool-tongue {
  background:#f8d6b1;
  border-color:#9a522a;
  color:#562b1d;
}
.tools .tool-tongue.selected {
  outline:2px solid #853920;
  outline-offset:2px;
}
.tools .tool-gulp:enabled {
  background:#ffc762;
}

.game .bowl-wrap {
  height:clamp(228px,calc(100vh - 357px),620px);
  height:clamp(228px,calc(100svh - 357px),620px);
}
.game .chef-row {
  flex-basis:130px;
}
@media(max-height:750px) {
  .game .bowl-wrap {
    height:clamp(193px,calc(100vh - 310px),515px);
    height:clamp(193px,calc(100svh - 310px),515px);
    min-height:193px;
  }
  .game .chef-row {
    flex-basis:77px;
  }
}
.timer-close {
  color:#fff1a3;
}
.small-button.selected,.button.selected {
  background:linear-gradient(#FFB073,var(--honey));
  border-color:#8a3a12;
  color:#422013;
}
