/* The original owner's pastel mesh models render inside this first-person viewport. */
.bw-original-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.bw-meshes .bw-hand .bw-held-art { display: none; }
.bw-meshes .bw-hand { height: 22px; bottom: 16%; }
.bw-meshes .bw-hand b { bottom: 0; }

/* The same oak, cream plaster, night windows and café fixtures on non-WebGL devices. */
.bw-view[data-renderer="css"] .bw-floor,
.bw-view[data-renderer="css"] .bw-oak {
  background: repeating-linear-gradient(0deg, #c99a6b 0 28px, #ae8059 29px 30px, #bb8d63 31px 58px, #a77853 59px 60px);
  border-color: #8e6449;
}
.bw-view[data-renderer="css"] .bw-wall {
  background: linear-gradient(to top, #775541 0 2%, #ac8163 2% 23%, #795840 23% 25%, #ebddc9 25% 97%, #ceba9e 97%);
  border-color: #b49779;
}
.bw-view[data-renderer="css"] .bw-window {
  left: 10%; right: 32%; top: 16%; height: 58%;
  border: 8px solid #73563e; border-radius: 1px; box-shadow: 0 7px #a8754f;
}
.bw-door {
  position: absolute; bottom: 0; right: 9%; width: 13%; height: 63%;
  background: #664939; border: 5px solid #4a382e;
}
.bw-door b { position: absolute; left: 21%; top: 16%; width: 58%; height: 35%; background: #ffce91; }
.bw-hanging-sign, .bw-slate {
  display: grid; place-items: center; background: #3d6258; color: #ffeaca;
  border: 7px solid #976f4d; box-shadow: 0 4px #73523c; text-align: center;
}
.bw-hanging-sign { font: italic bold 31px/1 Georgia, serif; background: #48443e; }
.bw-view[data-renderer="css"] .bw-name { bottom: -1%; background: #423c38; border-color: #795f4c; color: #f6e7cd; font-size: 11px; }
.bw-slate { align-content: center; gap: 12px; background: #363c39; font: bold 13px/1.3 system-ui, sans-serif; }
.bw-slate b { font-size: 23px; color: #bbddc5; }
.bw-person.bw-staff { transition: transform .45s ease-out; }
.bw-view[data-renderer="css"] .bw-frontwall {border-color:var(--shop-trim,#ceba9e)}
.bw-view[data-renderer="css"] .bw-eq-tea {border-top-color:var(--shop-trim,#91c7ad)}
.bw-shop-ornaments{display:flex;justify-content:space-around;align-items:start}
.bw-shop-ornaments i{position:relative;display:block;margin-top:14px;width:34px;height:30px;border-radius:50%;background:#ce6859;border-block:3px solid #dcb578}
.bw-shop-ornaments i::before{content:"";position:absolute;left:50%;bottom:100%;height:14px;width:2px;background:#795749}
.bw-shop-ornaments[data-branch=kyoto]{border-top:4px solid #805c46;gap:4px}
.bw-shop-ornaments[data-branch=kyoto] i{margin:0;height:49px;width:30%;border-radius:0;background:#668369;border:0;border-bottom:3px double #e7dcc1}
.bw-shop-ornaments[data-branch=kyoto] i::before{display:none}
.bw-shop-ornaments[data-branch=bangkok] i{clip-path:polygon(50% 0,98% 42%,50% 100%,2% 42%);background:#e9bd72;border:0}
.bw-shop-ornaments[data-branch=seoul] i{width:27px;height:27px;background:#f0adbc;border:0;box-shadow:-8px 5px #e9a4b1,8px 5px #e9a4b1,0 11px #efa9b7}
.bw-person .bw-cat-face { inset: 0; width: 100%; height: 100%; }
.bw-person.bw-staff::after {
  content: ""; position: absolute; left: 29%; right: 29%; bottom: 5%; height: 17%;
  border-radius: 8% 8% 33% 33%; background: #9de6c6;
}
.bw-till { position: absolute; bottom: 5%; left: 26%; right: 26%; height: 24%; border: 4px solid #3c373b; border-radius: 4px; background: #a7d4bd; color: #355144; text-align: center; }
.bw-till b { font: bold 16px/1.4 system-ui, sans-serif; }
.bw-till i { position: absolute; width: 20px; height: 12px; right: -31px; bottom: -1px; background: #e8b654; border-radius: 100% 100% 9% 9%; border-bottom: 3px solid #604f3d; }
.bw-pass-tray { position:absolute; bottom:8%; left:11%; right:11%; height:13%; border:5px solid #8e6850; border-radius:14%; background:#aacbbd; box-shadow:0 4px #556d64; }
.bw-view[data-renderer="css"] .bw-line-name { background:#314e49; border-color:#96be9c; color:#fff0cc; }
.bw-view[data-renderer="css"] .bw-pass-name { background:#70513f; border-color:#d0a777; color:#fff0cc; }
.bw-view[data-look="locked"], .bw-view[data-look="locked"]:active { cursor:none; }
#bobaService .bw-sprint { touch-action:manipulation; white-space:nowrap; }
#bobaService .bw-sprint[aria-pressed="true"] { background:#a6e4bf; color:#243d36; border-color:#b6ebcb; }
.bw-person[data-mood="angry"] .bw-cat-face { transform:rotate(-5deg); }
.bw-dual-tap {position:absolute;top:0;bottom:8%;width:50%;left:0}
.bw-dual-tap:nth-child(2) {left:50%}
.bw-led {
  position:absolute;top:23%;left:16%;right:16%;padding:3px 0 5px;overflow:hidden;
  border:2px solid #a69d80;border-radius:3px;background:#333739;color:#fff3cc;
  text-align:center;white-space:nowrap;font:bold 12px/1 system-ui,sans-serif;
}
.bw-led::after {content:"";position:absolute;bottom:1px;left:0;height:2px;width:var(--fill,0%);background:#ffc67f}
.bw-led.bw-ready {background:#20584a;color:#e7ffe8;border-color:#9bd8b4}
.bw-led.bw-ready::after {background:#99e9b9}
.bw-dual-tap .bw-led {left:13%;right:13%;top:17%}
.bw-tap-glass {
  position:absolute;bottom:12%;left:38%;width:24%;height:22%;display:none;
  border:2px solid #eee3ce;clip-path:polygon(0 0,100% 0,88% 100%,12% 100%);
  background:linear-gradient(to top,var(--brew) var(--fill,0%),#eee9d899 var(--fill,0%));
}
.bw-has-cup .bw-tap-glass {display:block}
.bw-running .bw-eq-top .bw-eq-a {animation:bw-scoop .5s ease-in-out infinite alternate}
.bw-running .bw-eq-lid .bw-eq-a {animation:bw-press .55s ease-in-out infinite alternate}
@keyframes bw-scoop {from{transform:rotate(25deg)}to{transform:rotate(-27deg) translate(-6px,-4px)}}
@keyframes bw-press {from{transform:translateY(0)}to{transform:translateY(12px)}}
.bw-fixture-cup {
  display:none;position:absolute;bottom:1%;left:37%;height:30%;width:26%;
  border:2px solid #f5e8d1;background:linear-gradient(to top,var(--brew) 80%,#e9e7d799 81%);
  clip-path:polygon(0 0,100% 0,87% 100%,13% 100%);
}
.bw-has-cup .bw-fixture-cup { display:block; }
.bw-eq-milk {inset:4% 16% 10%;border:0;border-bottom:6px solid #478b83;background:none;box-shadow:none}
.bw-eq-milk .bw-eq-a {position:absolute;inset:0 4% 39%;border:3px solid #809888;border-top:6px solid #478b83;border-bottom:5px solid #91c9af;border-radius:29% 29% 23% 23%;background:linear-gradient(105deg,#f2e8d0,#fff7e9 45%,#decdae)}
.bw-eq-milk .bw-eq-b {position:absolute;left:40%;width:20%;top:57%;height:13%;border-radius:0 0 5px 5px;background:#588b7d}
.bw-running .bw-eq-milk .bw-eq-c {position:absolute;left:48%;top:67%;width:5%;height:17%;background:#fff9e8}
.bw-eq-ice {inset:13% 13% 10%;border:0;border-bottom:5px solid #63798b;background:none;box-shadow:none}
.bw-eq-ice .bw-eq-a {position:absolute;inset:0 0 39%;border:3px solid #78a0ae;border-top:7px solid #c3d1d2;border-radius:4px;background:repeating-conic-gradient(from 10deg at 50% 50%,#bee8ed 0 25%,#a1c9d3 0 50%,#d9eff0 0 75%,#c5e3e7 0) 0 0/18px 17px}
.bw-eq-ice .bw-eq-b {position:absolute;left:32%;right:32%;top:60%;height:12%;background:#879da6;border-radius:0 0 5px 5px}
.bw-running .bw-eq-ice .bw-eq-c {position:absolute;left:45%;top:70%;width:9px;height:8px;border:1px solid #9dbfc7;background:#d4f7ff;animation:bw-ice-drop .44s ease-in infinite}
.bw-view .bw-eq-top {inset:45% 1% 10%;border-radius:4px;border:2px solid #a2b5af;background:linear-gradient(#c0cfc8,#758f8d);box-shadow:0 4px #516e6c}
.bw-topping-bins {display:flex;position:absolute;left:3%;right:3%;top:4%;height:41%;gap:3px}
.bw-eq-top .bw-topping-bins i {position:static;flex:1;width:auto;height:auto;transform:none;border:1px solid #665c58;border-radius:2px}
.bw-topping-bins i:nth-child(1) {background:radial-gradient(circle at 34% 42%,#624649 2px,#312b34 3px,#77615a 4px) 0 0/8px 7px}
.bw-topping-bins i:nth-child(2) {background:repeating-conic-gradient(from 13deg,#fff0c8 0 25%,#cab897 0 50%,#f4e3bc 0 75%,#efe0c1 0) 0 0/10px 8px}
.bw-topping-bins i:nth-child(3) {background:radial-gradient(ellipse at 45% 70%,#fffbed 3px,#e6d7c0 5px,#fbf3df 7px) 0 0/11px 7px}
.bw-view .bw-eq-top>.bw-eq-a {z-index:1;right:17%;top:-53%;height:64%;width:5%;transform-origin:bottom}
.bw-eq-top>.bw-eq-a::after {content:"";position:absolute;left:-4px;bottom:0;width:12px;height:7px;border-radius:50%;background:#d4ae75}
.bw-eq-top .bw-fixture-cup {left:63%;height:46%}
.bw-running .bw-eq-top>.bw-eq-c {position:absolute;left:72%;top:30%;width:5px;height:5px;border-radius:50%;background:#443139;animation:bw-ice-drop .5s ease-in infinite}
.bw-running[data-topping="nata"] .bw-eq-top>.bw-eq-c {border-radius:1px;background:#fff2cb}
.bw-running[data-topping="foam"] .bw-eq-top>.bw-eq-c {border-radius:50%;width:8px;height:5px;background:#fff8df}
.bw-eq-top+.bw-led {top:65%;left:7%;right:39%;font-size:8px}
.bw-eq-milk+.bw-led {top:19%}
.bw-eq-ice+.bw-led {top:47%}
.bw-eq-lid .bw-eq-b {display:none}
.bw-eq-shake {inset:20% 11% 10%;border:6px solid #886d83;border-top:0;border-bottom:11px solid #658e86;background:none;box-shadow:0 4px #645564;border-radius:18% 18% 6px 6px}
.bw-shake-cradle {position:absolute;left:24%;right:24%;top:13%;bottom:10%;border:3px solid #8bbaab;border-top:6px solid #df9eb0;border-bottom:6px solid #578c82;border-radius:4px;transform-origin:50% 22%}
.bw-shake-cradle .bw-fixture-cup {inset:2% 7% 0;height:96%;width:86%;border-top:4px solid #eed7c5}
.bw-running .bw-shake-cradle {animation:bw-shake .25s ease-in-out infinite alternate}
.bw-eq-shake+.bw-led {top:65%;left:14%;right:14%;font-size:10px}
.bw-finished .bw-eq-lid .bw-fixture-cup {border-top:3px solid #b6dbbd}
@keyframes bw-ice-drop {from{transform:translateY(-3px) rotate(0deg)}to{transform:translateY(11px) rotate(85deg)}}
@keyframes bw-shake {from{transform:rotate(-15deg)}to{transform:rotate(15deg)}}
@media (prefers-reduced-motion: reduce) {
  .bw-person {transition:none}
  .bw-running .bw-shake-cradle,.bw-running .bw-eq-ice .bw-eq-c,.bw-running .bw-eq-top .bw-eq-c,.bw-running .bw-eq-top .bw-eq-a,.bw-running .bw-eq-lid .bw-eq-a {animation:none}
}
