/* stage */
.stage{margin-top:0; min-width:0; overflow:auto}
.board.snapBoard .stage{position:relative}
.griddlePlay{display:grid; grid-template-columns:minmax(240px,.85fr) minmax(280px,1.35fr); gap:12px; align-items:stretch}
.griddlePlay .pantry{margin-top:0; min-height:0}
@media(max-width:900px){.griddlePlay{grid-template-columns:1fr}}
.platebox{position:relative; min-height:260px; height:100%; border-radius:16px; overflow:visible;
  background:radial-gradient(120% 70% at 50% -10%, #4a3526, #170f0a 70%); border:1px solid #3d2c1f;
  display:flex; flex-direction:column-reverse; align-items:center; justify-content:flex-start; cursor:pointer; padding:20px 14px 26px}
@media(min-width:1281px){
  .platebox{min-height:170px; height:clamp(170px, 28vh, 240px); max-height:240px; flex:0 0 auto; padding:14px 12px 20px}
  .griddlePlay{align-items:stretch}
}
.plate{position:absolute; bottom:8px; left:50%; transform:translateX(-50%); width:74%; height:34px; z-index:1;
  background:radial-gradient(#5a4632,#241a12); border-radius:50%}
.slice{position:absolute; left:50%; transform:translateX(-50%); z-index:var(--z);
  width:72px; height:72px; min-width:0; border-radius:0; box-shadow:none; background:transparent;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; transition:bottom .18s ease}
.slice img.sliceIcon{width:72px; height:72px; object-fit:contain; pointer-events:none;
  image-rendering:pixelated; image-rendering:crisp-edges}
.slice.bread{width:80px; height:80px}
.slice.bread img.sliceIcon{width:80px; height:80px}
.clickpulse{animation:clickp .4s}
@keyframes clickp{0%{transform:translateX(-50%) scale(1)} 40%{transform:translateX(-50%) scale(1.03)} 100%{transform:translateX(-50%) scale(1)}}
.floating{position:absolute; bottom:40%; left:50%; transform:translate(-50%,0); font-family:'Press Start 2P'; font-size:.8rem; color:var(--gold); pointer-events:none; animation:floaty 1.1s ease forwards; text-shadow:0 2px 6px #000; z-index:99}
.floating.xp{color:var(--green)} .floating.tip{color:var(--blue)}
@keyframes floaty{to{transform:translate(-50%,-46px); opacity:0}}

/* walk-in low/empty alerts: non-blocking, click-through, self-removing */
#stockAlerts{position:fixed; top:4rem; right:1rem; z-index:9998; display:flex; flex-direction:column; gap:.4rem; pointer-events:none; max-width:20rem}
.stockAlert{font-family:'Press Start 2P'; font-size:.6rem; line-height:1.4; padding:.5rem .7rem; border-radius:6px; background:rgba(30,20,10,.92); border:2px solid var(--gold); color:var(--gold); text-shadow:0 1px 3px #000; animation:stockAlertFade 4.5s ease forwards}
.stockAlert.empty{border-color:#e05050; color:#ff8080}
@keyframes stockAlertFade{0%{opacity:0; transform:translateX(1rem)} 8%{opacity:1; transform:none} 85%{opacity:1} 100%{opacity:0}}
