:root{color-scheme:light;--ink:#382a23;--cream:#fff8e9;--berry:#9b3047;--green:#265e50;--line:#d6b98b;font-family:Nunito,"Trebuchet MS",system-ui,sans-serif;color:var(--ink);background:#f4ead6}*{box-sizing:border-box}body{margin:0;min-height:100vh;min-height:100dvh;display:grid;place-items:center;background:radial-gradient(ellipse at 70% 12%,#fffcf0,#f1e4ca 85%)}button{cursor:pointer;touch-action:manipulation;font:inherit;color:inherit;-webkit-tap-highlight-color:transparent}button:focus-visible,h1:focus-visible{outline:3px solid #197367;outline-offset:3px}#game{width:min(100%,1080px);padding:clamp(10px,2.4vh,24px) clamp(10px,2.4vw,27px);position:relative;background:var(--cream);border:1px solid #dfcfb4;border-radius:26px;box-shadow:0 12px 40px #79552c18;margin:auto;display:flex;flex-direction:column;gap:12px}.mast,.counter{display:flex;align-items:center;justify-content:space-between;gap:10px}.mast{border-bottom:1px solid #e8d9bf;padding-bottom:8px}.brand{display:flex;align-items:center;gap:9px;font-weight:900;color:var(--berry);font-size:clamp(18px,2vw,26px);letter-spacing:-.06em}.brandmark{display:grid;place-items:center;border-radius:50%;background:#a34142;color:#ffdea6;width:31px;height:31px;line-height:1;font-size:26px}.tools{display:flex;gap:7px}.icon{width:48px;height:48px;background:#fffdf6;border:1px solid #dac8a9;border-radius:50%;display:grid;place-items:center}.icon:hover,.choice:hover{background:#ffefd0}.icon svg{width:21px;height:21px;stroke:var(--green);stroke-width:1.9;fill:none;stroke-linecap:round;stroke-linejoin:round}.counter{min-height:67px}#kicker{color:var(--berry);font-size:12px;font-weight:850;margin:0 0 3px;text-transform:uppercase;letter-spacing:.13em}h1{font-family:Georgia,"Times New Roman",serif;font-weight:600;letter-spacing:-.045em;font-size:clamp(25px,3.8vw,48px);line-height:1.07;margin:0}.picture{background:#ecd3a3;border:1px solid var(--line);border-radius:18px;overflow:hidden;position:relative;line-height:0;display:grid;place-items:center}#stage{width:100%;height:auto;max-height:clamp(190px,59dvh,590px);display:block;touch-action:manipulation;user-select:none;-webkit-user-select:none}#stage .hot{cursor:pointer}#order{display:flex;align-items:center;gap:7px;background:#f1e7d2;border-radius:30px;font-weight:800;font-size:15px;padding:4px 13px 4px 6px;max-width:43%}#order img{width:35px;height:35px;object-fit:contain}#order[hidden]{display:none}.actions{display:flex;justify-content:center;align-items:center;gap:10px;min-height:62px;flex-shrink:0}.choice{min-height:53px;min-width:50px;flex:1;max-width:300px;display:inline-flex;align-items:center;justify-content:center;gap:10px;border:1px solid #c8b08a;border-bottom-width:3px;border-radius:17px;background:#fffdf5;font-weight:850;font-size:clamp(16px,1.8vw,22px);padding:6px 13px;transition:background .12s,transform .12s}.choice:active{transform:translateY(2px)}.choice img{width:36px;height:36px;object-fit:contain}.choice.primary{background:var(--berry);color:#fffaf0;border-color:#78253b;max-width:345px}.choice[aria-pressed=true]{border:2px solid var(--green);background:#deedde}.choice[aria-pressed=true]::after{content:"✓";font-size:16px}.actions .cue{font-weight:750;color:#5a5145;font-size:clamp(15px,1.5vw,19px);text-align:center}.progress{display:inline-flex;gap:5px;margin-right:10px;vertical-align:middle}.progress i{width:7px;height:7px;border-radius:50%;background:#ae7c42;animation:pulse .8s alternate infinite}.progress i:nth-child(2){animation-delay:.15s}.progress i:nth-child(3){animation-delay:.3s}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}body.expanded,#game:fullscreen{background:#fff8e9}body.expanded #game,#game:fullscreen{width:100%;height:100vh;height:100dvh;max-width:none;justify-content:center;border:0;border-radius:0;padding:max(8px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));overflow:auto}body.expanded #game{position:fixed;inset:0;z-index:10}body.expanded .picture,#game:fullscreen .picture{min-height:80px;flex:1}body.expanded #stage,#game:fullscreen #stage{height:100%;max-height:none;min-height:0;position:absolute;inset:0}html.embedded,html.embedded body{min-height:0;background:#fff8e9}html.embedded #game{border:0;box-shadow:none;border-radius:0;width:100%;padding:10px}.spread{transform-box:fill-box;transform-origin:center;animation:spread .58s both}.fall{animation:fall .34s both;animation-delay:var(--lag,0ms)}.rolling{animation:roll .72s both}.stirring{animation:stir .6s both}.into-oven{animation:into .9s both}.from-oven{animation:out .72s both}.steam{animation:steam 1.15s both}.happy{transform-box:fill-box;transform-origin:50% 97%;animation:nod .5s ease-in-out}.happy.yasha{animation-name:yasha-nod}
@keyframes pulse{to{opacity:.35}}@keyframes spread{from{transform:scale(.18);opacity:.2}to{transform:scale(1);opacity:1}}@keyframes fall{from{opacity:0;transform:translateY(-28px)}to{opacity:1;transform:translateY(0)}}@keyframes roll{0%,100%{transform:translate(0,0)}45%{transform:translate(-23px,-62px)}78%{transform:translate(17px,32px)}}@keyframes stir{45%{transform:translate(-46px,20px)}}@keyframes into{0%,18%{transform:translate(0,0)}90%,100%{transform:translate(55px,-1px)}}@keyframes out{from{transform:translate(-143px,0)}to{transform:translate(0,0)}}@keyframes steam{0%,32%{opacity:0}55%{opacity:1}100%{opacity:0;transform:translateY(-7px)}}@keyframes nod{45%{transform:rotate(-2deg)}}@keyframes yasha-nod{45%{transform:rotate(3deg)}}
@media(max-width:600px) and (orientation:portrait){#game{border-radius:0;border:0;gap:10px;padding:12px;box-shadow:none}.mast{padding-bottom:6px}.counter{min-height:60px}.actions{flex-wrap:wrap;gap:7px}.choice{gap:4px;padding:6px 8px;min-height:53px;font-size:16px}.choice img{width:29px;height:29px}#game[data-step=garnish] .primary{flex-basis:100%;max-width:100%}.picture{border-radius:14px}#stage{max-height:57dvh}#order{font-size:12px;padding-right:8px;gap:3px}#order img{width:27px;height:29px}.actions .cue{min-height:48px;display:flex;align-items:center}.brandmark{width:26px;height:26px;font-size:22px}}
@media(max-height:520px) and (orientation:landscape){#game,.embedded #game{border:0;border-radius:0;padding:4px 10px;gap:4px}.mast{border:0;padding:0;position:absolute;right:9px;top:3px;z-index:1}.brand{display:none}.tools{gap:3px}.counter{min-height:48px;padding-right:106px}.counter h1{font-size:24px}#kicker{font-size:10px;margin:0}#order{font-size:13px}.picture{border-radius:10px}.actions{min-height:48px}.choice{min-height:48px;font-size:15px;padding:2px 10px}.choice img{width:26px;height:26px}#stage{max-height:calc(100dvh - 112px)}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-delay:0ms!important;transition:none!important}}
[data-step=roll] #stage,[data-step=sauce] #stage{touch-action:none}.choice:disabled{cursor:default;filter:saturate(.75)}
html.embedded body:not(.expanded) #stage{max-height:none}
/* A short landscape phone leaves the full height of the counter to the camera. */
@media(min-width:570px) and (max-height:520px) and (orientation:landscape){
  body.expanded #game,#game:fullscreen{display:grid;grid-template-columns:minmax(0,1fr) clamp(145px,22vw,220px);grid-template-rows:48px minmax(0,1fr);gap:6px 10px;justify-content:stretch;overflow:auto}
  body.expanded .counter,#game:fullscreen .counter{grid-area:1/1;padding:0}
  body.expanded .mast,#game:fullscreen .mast{position:static;grid-area:1/2;justify-content:flex-end}
  body.expanded .picture,#game:fullscreen .picture{grid-area:2/1}
  body.expanded .actions,#game:fullscreen .actions{grid-area:2/2;flex-direction:column;align-items:stretch;gap:8px;flex-wrap:nowrap}
  body.expanded .choice,#game:fullscreen .choice{flex:0 0 auto;min-height:48px}
}
@media(max-width:600px) and (orientation:portrait){
  #game[data-step=guests] .actions{display:grid;grid-template-columns:1fr;gap:6px}
  #game[data-step=guests] .choice{width:100%;max-width:none;min-height:48px;display:grid;grid-template-columns:34px 1fr 34px;text-align:center;padding:3px 14px}
}

/* Text follows its language; the approved stage keeps its physical coordinates. */
#stage{direction:ltr}html[dir="rtl"] .prompt{text-align:right}

/* Keep the initial locale and camera setup out of the visible frame. */
html.game-loading #game{visibility:hidden}
