:root{--cafe-accent:#84f5b9;--cafe-accent-dark:#1b1726;--cafe-bg:#fff8ee;--cafe-surface:#fff;--cafe-ink:#1b1726;--cafe-muted:#6b6478;--cafe-shadow:3px 3px 0 #1b1726;--cafe-line:#1b1726;--cafe-patience-ok:#84f5b9;--cafe-patience-warn:#fbbf24;--cafe-patience-danger:#ef4444}[data-scheme=dark],.dark{--cafe-accent:#84f5b9;--cafe-accent-dark:#1b1726;--cafe-bg:#15121f;--cafe-surface:#211d2e;--cafe-ink:#f4efe6;--cafe-muted:#a59fb2;--cafe-shadow:3px 3px 0 #07060c;--cafe-line:#f4efe6;--cafe-patience-ok:#84f5b9;--cafe-patience-warn:#fbbf24;--cafe-patience-danger:#f87171}.cafe-stage{background:var(--cafe-bg);width:100%;min-width:0;height:100%;min-height:0;color:var(--cafe-ink);-webkit-user-select:none;user-select:none;flex-direction:column;font-family:Be Vietnam Pro,system-ui,sans-serif;display:flex;overflow:hidden}.cafe-band{background:var(--cafe-accent);flex:none;height:8px}.cafe-body{flex-direction:column;flex:1;gap:8px;width:100%;min-height:0;padding:0;display:flex}.cafe-hud{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;min-height:48px;font-size:13px;font-weight:700;display:flex}.cafe-timer-badge{background:var(--cafe-surface);border:2px solid var(--cafe-ink);font-variant-numeric:tabular-nums;box-shadow:2px 2px 0 var(--cafe-ink);border-radius:8px;padding:4px 10px;font-size:15px;font-weight:900}.cafe-money-badge{color:var(--cafe-ink);font-variant-numeric:tabular-nums;font-size:16px;font-weight:900}.cafe-counter-zone{border:2px solid var(--cafe-ink);background:var(--cafe-bg);border-radius:12px;flex-direction:column;flex:1;align-items:center;min-height:0;padding-top:6px;display:flex;position:relative;overflow:hidden}.cafe-guests{flex:1;justify-content:space-around;align-items:flex-end;gap:4px;width:100%;min-height:0;padding:0 4px;display:flex}.cafe-guest{flex-direction:column;align-items:center;gap:2px;width:100px;display:flex;position:relative}.cafe-bubble{width:100px;height:36px;position:relative}.cafe-bubble .cafe-bubble-shell{width:100%;height:100%;position:absolute;inset:0}.cafe-bubble .cafe-bubble-drink{width:22px;height:30px;position:absolute;top:1px;left:39px}.cafe-patience-bar-wrap{border:1px solid var(--cafe-ink);background:#fff8ee;border-radius:4px;width:90px;height:12px;overflow:hidden}.cafe-patience-svg{width:90px;height:12px;display:block}.cafe-guest-person{width:90px;height:min(140px, calc(var(--stage-h) * .3));position:relative}.cafe-counter-bar{object-fit:cover;border-top:2px solid var(--cafe-ink);width:100%;height:48px;display:block}.cafe-cup-tray{background:var(--cafe-surface);border:2px solid var(--cafe-ink);box-shadow:2px 2px 0 var(--cafe-ink);border-radius:12px;justify-content:space-between;align-items:center;gap:8px;padding:8px 10px;display:flex}.cafe-cup-contents{flex-wrap:wrap;align-items:center;gap:4px;min-height:36px;display:flex}.cafe-cup-item-badge{border:1px solid var(--cafe-ink);background:#84f5b940;border-radius:6px;align-items:center;gap:3px;padding:2px 6px;font-size:11px;font-weight:800;display:inline-flex}.cafe-cup-tray-actions{flex-shrink:0;gap:6px;display:flex}.cafe-tray-btn{border:2px solid var(--cafe-ink);cursor:pointer;min-height:48px;box-shadow:2px 2px 0 var(--cafe-ink);border-radius:999px;justify-content:center;align-items:center;gap:4px;padding:0 14px;font-size:14px;font-weight:800;transition:transform 80ms;display:flex}.cafe-tray-btn:active{box-shadow:none;transform:translate(2px,2px)}.cafe-btn-bin{color:var(--cafe-ink);background:#fff8ee}.cafe-btn-serve{background:var(--cafe-accent);color:#1b1726}.cafe-ingredients-grid{grid-template-columns:repeat(4,1fr);gap:6px;display:grid}.cafe-control-stack{flex-direction:column;gap:8px;width:min(100%,280px);display:flex}.cafe-cup-tray{flex-direction:column;align-items:stretch}.cafe-cup-contents{min-width:0}.cafe-cup-title,.cafe-cup-empty,.cafe-hud-counts{font-size:12px;font-weight:700}.cafe-hud-counts{gap:6px;display:flex}.cafe-lost-count{color:var(--cafe-patience-danger)}.cafe-menu-action{border:2px solid var(--cafe-ink);background:var(--cafe-surface);min-width:48px;min-height:48px;color:var(--cafe-ink);border-radius:10px;padding:6px 10px;font-size:12px;font-weight:800}.cafe-menu-action.is-open{background:var(--cafe-accent);color:#1b1726}.cafe-ingredient-btn{border:2px solid var(--cafe-ink);background:var(--cafe-surface);height:48px;min-height:48px;color:var(--cafe-ink);cursor:pointer;box-shadow:2px 2px 0 var(--cafe-ink);border-radius:12px;justify-content:center;align-items:center;padding:4px;transition:transform 60ms;display:flex;position:relative}.cafe-ingredient-btn:active{box-shadow:none;transform:translate(2px,2px)}.cafe-ingredient-btn.on{background:var(--cafe-accent);box-shadow:inset 0 0 0 3px #1b1726}.cafe-ingredient-btn.on:after{content:"";background:#1b1726;border-radius:2px;width:6px;height:6px;position:absolute;top:3px;right:3px}.cafe-ingredient-svg{width:32px;height:32px;display:block}.cafe-menu-panel{border:2px solid var(--cafe-ink);background:var(--cafe-surface);max-height:200px;box-shadow:2px 2px 0 var(--cafe-ink);border-radius:12px;flex-direction:column;gap:8px;padding:10px;display:flex;overflow-y:auto}.cafe-menu-item{border-bottom:1px dashed var(--cafe-muted);align-items:center;gap:8px;padding:4px 6px;font-size:12px;font-weight:700;display:flex}.cafe-menu-drink-img{flex-shrink:0;width:24px;height:33px}@media (pointer:coarse){.cafe-ingredient-btn,.cafe-tray-btn{min-width:48px;min-height:48px}}@media (max-height:430px){.cafe-hud{gap:4px;min-height:40px;font-size:12px}.cafe-timer-badge{padding:2px 6px;font-size:13px}.cafe-menu-action{min-height:40px}.cafe-counter-zone{border-radius:8px}.cafe-guests{gap:2px;padding-inline:2px}.cafe-guest{width:min(100px,33%)}.cafe-bubble{width:72px;height:24px}.cafe-bubble .cafe-bubble-drink{width:16px;height:21px;left:28px}.cafe-patience-bar-wrap,.cafe-patience-svg{width:68px;height:8px}.cafe-guest-person{width:54px;height:min(62px, calc(var(--stage-h) * .2))}.cafe-counter-bar{height:24px}}@media (orientation:landscape) and (max-height:430px){.casual-control-bar:has(.cafe-control-stack){padding-block:max(4px, env(safe-area-inset-top)) max(4px, env(safe-area-inset-bottom))}.cafe-control-stack{gap:4px}.cafe-cup-tray{flex-direction:row;align-items:center;gap:4px;padding:4px}.cafe-cup-contents>:not(:first-child){display:none}.cafe-cup-tray-actions{flex:1;gap:4px}.cafe-tray-btn{min-width:44px;height:44px;min-height:44px;padding-inline:4px}.cafe-ingredients-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:2px}.cafe-ingredient-btn{width:44px;min-width:44px;height:44px;min-height:44px;padding:2px}.casual-control-bar .cafe-ingredient-btn,.casual-control-bar .cafe-tray-btn{min-width:44px;min-height:44px}.cafe-ingredient-svg{width:28px;height:28px}}
