:root{font-family:Nunito,"Arial Rounded MT Bold",Arial,sans-serif;color:#fff2d5;font-synthesis:none;--wood:#3b2317;--wood-light:#714728;--cream:#fff1ce;--gold:#ffbe3d;--green:#90bb65;--edge:#21140e;--safe-bottom:env(safe-area-inset-bottom,0px)}
*{box-sizing:border-box}html,body{width:100%;height:100%;padding:0;margin:0;overflow:hidden;background:#b3b5a0}body{overscroll-behavior:none}button{font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}button:disabled{cursor:not-allowed;filter:saturate(.3);opacity:.54}button:focus-visible{outline:3px solid #fff8b3;outline-offset:3px}button,button span{touch-action:manipulation}button:active:not(:disabled){transform:translateY(2px)}[hidden]{display:none!important}#world,#labels,#ui{position:fixed;inset:0}#world canvas{display:block;width:100%;height:100%;touch-action:none}#labels{pointer-events:none;overflow:hidden}#ui{z-index:5;pointer-events:none}#ui button,#ui .shop-modal{pointer-events:auto}.wood-panel{background:linear-gradient(110deg,#412718eb,#2a1c15e8);border:2px solid #9c6a3d85;border-radius:12px;box-shadow:0 4px 0 #1b100c99,0 7px 22px #21140e28}.shop-hud-top{position:absolute;top:max(18px,env(safe-area-inset-top));left:22px;right:22px;display:flex;align-items:flex-start;gap:22px}.shop-brand{filter:drop-shadow(0 3px 0 #3b190a);line-height:1;transform:rotate(-3deg);color:#fff5bd;white-space:nowrap}.shop-brand small{font-size:9px;font-weight:1000;letter-spacing:2px;display:block;text-align:center;margin-bottom:5px}.shop-brand strong{font-size:30px;font-weight:1000;-webkit-text-stroke:1px #60311a;paint-order:stroke fill}.shop-brand strong span{color:#ffc442;display:block;font-size:39px;line-height:.95}.shop-wallet{display:flex;align-items:center;gap:8px;margin-top:6px;background:#302014e8;border:2px solid #a6783e;box-shadow:0 4px 0 #20130b;border-radius:10px;padding:9px 14px;min-height:46px}.shop-wallet strong{font-size:20px;font-variant-numeric:tabular-nums;min-width:24px}.shop-wallet>span{color:#ffd35c;font-size:21px}.shop-wallet small{font-size:12px;color:#d5bea0}.shop-wallet i{height:20px;width:1px;background:#967049;margin:0 6px}.shop-top-actions{display:flex;gap:10px;margin-left:auto}.shop-icon-btn{width:48px;height:46px;font-size:28px;line-height:1;color:#fff1cd;border:3px solid #38200f;background:linear-gradient(#b4824c,#704025);border-radius:9px;box-shadow:inset 0 3px #e0b87e,0 4px #251409;text-shadow:0 2px #3e200e}.shop-shift{position:absolute;top:82px;left:180px;display:flex;align-items:center;gap:12px;padding:4px 8px 4px 12px;font-size:12px}.shop-shift b{color:#ffcb58}.shop-shift #shift-time{font-size:15px;font-weight:900;font-variant-numeric:tabular-nums;min-width:48px}.shop-shift button{border:0;background:none;color:#fff0ce;width:36px;height:36px;font-weight:1000;font-size:17px}.shop-shift.ending #shift-time{color:#ff9c76}.shop-supplies{position:absolute;top:140px;left:22px;width:150px;overflow:hidden}.shop-supply-heading{display:flex;justify-content:space-between;align-items:center;width:100%;border:0;color:var(--gold);font-size:12px;font-weight:900;background:#1d130e44;padding:8px 10px;min-height:38px}.shop-supply-heading span{font-size:20px}#stock-strip{padding:4px 8px}#stock-strip button{width:100%;display:grid;grid-template-columns:23px 1fr auto;gap:5px;align-items:center;background:none;border:0;color:#fff1d2;min-height:37px;text-align:left;padding:2px 0}#stock-strip button>span{font-size:19px}#stock-strip button>b{grid-column:3;grid-row:1;font-variant-numeric:tabular-nums}#stock-strip button>small{grid-column:2;grid-row:1;font-size:11px;font-weight:800}.shop-objective{position:absolute;top:140px;right:22px;width:255px;display:flex;gap:9px;padding:12px}.shop-objective>span{color:#ffc23e;font-size:22px}.shop-objective>div{display:flex;flex-direction:column;gap:4px;flex:1}.shop-objective small{font-size:9px;letter-spacing:1px;color:#d5ab72;font-weight:900}.shop-objective b{font-size:13px;line-height:1.3}.shop-objective #objective-progress{font-size:11px;color:#cfbea4}.shop-objective button{width:26px;background:none;border:0;color:#ffc94b;font-size:28px}.shop-workbench{position:absolute;left:22px;bottom:100px;width:224px;padding:13px}.shop-workbench-title{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px}.shop-workbench-title>span{font-size:11px;color:#dfc7a5}.shop-brew-line{display:flex;align-items:center;justify-content:space-between;margin-top:11px;gap:8px}.shop-brew-line strong{font-size:15px;color:#ffcf6c;white-space:nowrap}.shop-brew-line>span{font-size:10px;color:#d4b997;text-align:right}.shop-meter{height:6px;background:#1e150e;border-radius:6px;overflow:hidden;border:1px solid #ad815334}.shop-meter i{display:block;height:100%;background:linear-gradient(90deg,#e4a52f,#ffe581);transition:width .2s linear;border-radius:6px}.shop-workbench>.shop-meter{margin:7px 0 11px}.shop-btn{border:2px solid #452718;border-radius:8px;background:linear-gradient(#d5b98a,#ae885a);color:#332014;font-weight:900;min-height:44px;padding:9px 16px;box-shadow:inset 0 2px #f7dbab,0 3px #21150e;line-height:1.2}.shop-btn.primary{background:linear-gradient(#ffce62,#efa42c);box-shadow:inset 0 3px #ffe7a1,0 4px #61320f;border-color:#6a3b12;color:#482810}.shop-btn.large{min-height:54px;font-size:17px;padding:14px 28px;width:100%}.shop-btn.danger{background:linear-gradient(#d77c59,#ab5235);color:#fff0d7;box-shadow:inset 0 2px #f5b895,0 3px #452014}.shop-wash{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:8px 10px}.shop-wash b{font-size:11px}.shop-customers{position:absolute;right:22px;bottom:62px;width:265px;overflow:hidden}.shop-customers-title{display:flex;align-items:center;gap:10px;padding:7px 12px;background:#1c130d50}.shop-customers-title>b{font-size:13px;color:#ffcc65}.shop-customers-title>span{margin-left:auto;font-size:11px;color:#d4bc98}.shop-customers-title>button{border:0;background:none;color:#ffcc65;width:30px;height:32px;font-size:20px}.shop-customers-content{padding:0 10px 10px}.shop-customers.collapsed .shop-customers-content{display:none}.shop-customer{width:100%;display:grid;grid-template-columns:33px 1fr 28px;align-items:center;gap:8px;text-align:left;color:#f7e7cb;border:1px solid #82603975;background:#1e140e4d;border-radius:8px;padding:7px;margin-top:7px;min-height:54px}.shop-customer.selected{background:#725031;border-color:#ffc352;box-shadow:inset 0 0 0 1px #ffc352}.shop-customer-icon{display:grid;place-items:center;height:32px;width:32px;background:#eed6a9;border:2px solid #785127;border-radius:50%;font-size:19px;color:#4d6232}.shop-customer>span:nth-child(2){min-width:0;display:flex;flex-direction:column;gap:1px}.shop-customer b{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shop-customer small{font-size:10px;color:#d8c2a1}.shop-customer>strong{font-size:12px;color:#f7cb68;text-align:right}.shop-patience{height:3px;background:#1a140d;display:block;border-radius:3px;margin-top:3px;overflow:hidden}.shop-patience em{display:block;height:100%;background:#9fc077;transition:width .2s linear}.shop-patience em.urgent{background:#ec8d55}.shop-customer.drinking{opacity:.7}.shop-empty{text-align:center;padding:12px 6px 6px;font-size:12px;line-height:1.6;color:#d9bf98}.shop-select-hint{text-align:center;font-size:11px;color:#ccb393;margin:9px 0 0}.shop-selected{border-top:1px solid #a67b4950;margin-top:10px;padding-top:10px}.shop-selected>span{display:block;font-size:11px;color:#d9c09a;line-height:1.5;margin-bottom:6px}.shop-selected .shop-btn{width:100%;font-size:13px;min-height:43px}.shop-dock{position:absolute;bottom:max(24px,var(--safe-bottom));left:22px;display:flex;gap:8px}.shop-dock button{display:flex;align-items:center;gap:7px;min-width:100px;min-height:48px;padding:8px 14px;background:linear-gradient(#704b2c,#432a1a);color:#ffe6b3;border:2px solid #ad7742;border-radius:9px;box-shadow:inset 0 2px #a97f50,0 4px #29170d}.shop-dock span{font-size:23px;color:#ffd06b}.shop-dock b{font-size:12px}.shop-toast{position:absolute;top:116px;left:50%;transform:translateX(-50%);max-width:min(480px,85vw);padding:11px 18px;background:#3d2b1af5;color:#fff0d3;border:2px solid #c99e58;border-radius:9px;box-shadow:0 4px #29170d;text-align:center;font-size:13px;font-weight:800;z-index:12}.shop-modal-backdrop{position:absolute;inset:0;display:grid;place-items:center;padding:20px;background:#19130a6b;backdrop-filter:blur(3px);pointer-events:auto;z-index:20}.shop-modal{position:relative;width:min(510px,100%);max-height:min(760px,calc(100dvh - 40px));overflow-y:auto;overscroll-behavior:contain;background:linear-gradient(115deg,#f6e4bc,#dfc28c);color:#51341e;padding:28px;border:5px solid #5a351c;border-radius:18px;box-shadow:inset 0 0 0 2px #bc8a4d,0 7px 0 #2b180e,0 15px 70px #1b100c66;pointer-events:auto;text-align:center;scrollbar-width:thin;scrollbar-color:#976a3e #e4c897}.shop-close{position:absolute;right:10px;top:9px;width:36px;height:36px;border:2px solid #704120;border-radius:8px;background:#9d6b3d;color:#fff0cb;font-size:25px;line-height:1;box-shadow:inset 0 2px #d09c5e}.shop-eyebrow{display:block;font-size:10px;letter-spacing:1.5px;font-weight:1000;color:#8f602f;margin:3px 16px 10px}.shop-modal h2{font-size:28px;line-height:1.15;color:#59341a;margin:0 12px 13px;font-weight:1000}.shop-description{font-size:14px;line-height:1.65;margin:0 0 18px;color:#745131}.shop-intro-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:11px;margin:22px 0 19px}.shop-intro-steps>span{display:flex;flex-direction:column;font-size:28px;gap:5px;align-items:center}.shop-intro-steps b{font-size:13px}.shop-intro-steps small{font-size:11px;line-height:1.4;color:#866444}.shop-start-cash{margin:20px 0;display:flex;align-items:center;gap:7px;justify-content:center;font-size:12px;flex-wrap:wrap}.shop-start-cash strong{font-size:18px;color:#7a4b13}.shop-start-cash span{display:block;flex-basis:100%;font-size:11px;color:#906e49}.shop-footnote{font-size:10px;line-height:1.7;color:#8c6b47;margin:13px 0 0}.shop-modal-wallet{border-top:1px solid #b68a4a70;border-bottom:1px solid #b68a4a70;padding:9px;font-size:12px;margin-bottom:14px}.shop-modal-wallet strong{color:#855216;font-size:16px;margin-left:8px}.shop-store-list{display:flex;flex-direction:column;gap:10px}.shop-store-row{display:grid;grid-template-columns:35px minmax(0,1fr) auto;align-items:center;gap:10px;text-align:left;padding:10px 0;border-bottom:1px solid #ba955355}.shop-store-row:last-child{border-bottom:0}.shop-store-icon{font-size:28px;text-align:center;color:#79532d}.shop-store-row>div b{display:block;font-size:14px;line-height:1.3}.shop-store-row>div small{display:block;font-size:11px;line-height:1.5;color:#8a6740;margin-top:4px}.shop-store-row .shop-btn{padding:9px 10px;min-width:84px;font-size:12px;background:linear-gradient(#ffc967,#dfa349);box-shadow:inset 0 2px #ffdfa0,0 3px #7a4c20;border-color:#8c5c26}.shop-store-row em{font-style:normal;display:inline-block;font-size:10px;font-weight:800;background:#b9965b40;color:#86613a;padding:2px 5px;border-radius:4px}.shop-choice-list{display:grid;gap:12px;margin-top:20px}.shop-choice-list .shop-btn{min-height:48px}.shop-day-results{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:25px 0;text-align:center}.shop-day-results>div{padding:12px 5px;border-bottom:1px solid #b88c5266}.shop-day-results dt{font-size:11px;color:#926b40}.shop-day-results dd{margin:5px 0 0;font-size:22px;font-weight:1000;color:#68421c}.shop-missions{display:flex;flex-direction:column;text-align:left;gap:16px;margin:20px 0}.shop-mission{display:flex;gap:12px;align-items:center}.shop-mission>span{font-size:27px;color:#9d6d2d;width:28px;flex-shrink:0}.shop-mission>div{flex:1}.shop-mission b{font-size:14px}.shop-mission small{display:block;font-size:11px;color:#997343;margin:5px 0}.shop-mission.done>span{color:#557b3e}.shop-mission .shop-meter{background:#c5a873;height:5px;border:0}.shop-mission .shop-meter i{background:#6f9850}.shop-loading{position:absolute;inset:0;background:#3b2c1de8;backdrop-filter:blur(7px);display:grid;place-items:center;z-index:50;pointer-events:auto}.shop-loading-sign{width:min(340px,80vw);text-align:center}.shop-loading-sign small{color:#d6ac65;letter-spacing:2px;font-size:10px;font-weight:900}.shop-loading-sign h1{font-size:48px;line-height:.95;color:#fff3c6;text-shadow:0 4px #543117;margin:25px 0 30px;transform:rotate(-3deg)}.shop-loading-sign h1 span{display:block;color:#ffc247;font-size:62px}.shop-loading-sign p{font-size:12px;color:#e1c498}.shop-loading-sign .shop-meter{height:9px;border-color:#a77640}.world-label{position:absolute;left:0;top:0;transform:translate(-50%,-100%);background:#3e2919eb;border:2px solid #d3a651;border-radius:9px;padding:6px 10px;color:#fff0cf;font-weight:900;font-size:12px;white-space:nowrap;box-shadow:0 3px #24150b;pointer-events:auto}.world-label.selected{border-color:#fff2a6;background:#735431}.world-label::after{content:"";position:absolute;left:calc(50% - 5px);bottom:-8px;border-left:5px solid transparent;border-right:5px solid transparent;border-top:7px solid #d3a651}
@media(max-width:900px){.shop-hud-top{left:14px;right:14px;gap:15px}.shop-wallet{padding:8px 10px;gap:6px}.shop-wallet strong{font-size:17px}.shop-shift{left:165px}.shop-objective{width:215px;right:14px}.shop-workbench{left:14px;width:205px}.shop-customers{right:14px;width:240px}.shop-supplies{left:14px;width:138px}.shop-dock{left:14px}.shop-dock button{padding:8px 10px;min-width:88px}}
@media(max-width:600px){.shop-hud-top{top:max(12px,env(safe-area-inset-top));left:10px;right:10px;gap:9px;align-items:flex-start}.shop-brand{width:87px;padding-top:4px}.shop-brand small{font-size:6px;letter-spacing:1px}.shop-brand strong{font-size:21px}.shop-brand strong span{font-size:26px}.shop-wallet{gap:4px;padding:7px 8px;margin-top:3px;min-height:42px;border-width:1px}.shop-wallet strong{font-size:16px;min-width:15px}.shop-wallet>span{font-size:16px}.shop-wallet small{display:none}.shop-wallet i{margin:0 4px;height:17px}.shop-top-actions{gap:6px;margin-top:2px}.shop-icon-btn{height:40px;width:40px;font-size:25px;border-width:2px}.shop-top-actions [data-action="resetCamera"]{display:none}.shop-shift{top:77px;left:10px;right:10px;font-size:11px;padding:2px 8px;gap:10px;border-radius:8px;background:#392518de;min-height:37px}.shop-shift #shift-weather{margin-right:auto}.shop-shift #shift-time{font-size:13px;min-width:40px}.shop-shift button{width:30px;height:32px}.shop-supplies{top:123px;left:10px;right:10px;width:auto;border-width:1px;border-radius:8px;background:#342319dd}.shop-supply-heading{display:none}#stock-strip{display:grid;grid-template-columns:repeat(5,1fr);padding:2px 5px;gap:3px}#stock-strip button{display:flex;justify-content:center;gap:5px;min-height:34px}#stock-strip button>small{display:none}#stock-strip button>span{font-size:17px}#stock-strip button>b{font-size:12px}.shop-objective{top:170px;left:10px;right:auto;width:220px;padding:8px;gap:5px;border-width:1px;background:#362519d4}.shop-objective>span{font-size:17px}.shop-objective small{font-size:7px;letter-spacing:.8px}.shop-objective b{font-size:11px}.shop-objective #objective-progress{font-size:9px}.shop-objective button{font-size:23px;width:20px}.shop-workbench{left:10px;bottom:calc(80px + var(--safe-bottom));width:146px;padding:9px;border-width:1px}.shop-workbench-title{align-items:flex-start;flex-direction:column;gap:2px;font-size:12px}.shop-workbench-title>span{font-size:10px}.shop-brew-line{display:block;margin-top:7px}.shop-brew-line strong{font-size:15px}.shop-brew-line>span{display:block;text-align:left;font-size:9px;min-height:12px;margin-top:2px}.shop-workbench>.shop-meter{margin:5px 0 8px}.shop-wash{display:block;padding:6px 4px;min-height:44px;font-size:11px}.shop-wash b{font-size:9px;margin-left:6px}.shop-customers{right:10px;bottom:calc(80px + var(--safe-bottom));width:calc(100vw - 176px);min-width:180px;max-width:230px;border-width:1px}.shop-customers-title{padding:5px 8px;gap:4px}.shop-customers-title>b{font-size:11px}.shop-customers-title>span{font-size:9px}.shop-customers-title>button{height:28px;width:20px;font-size:18px}.shop-customers-content{padding:0 7px 8px}.shop-customer{grid-template-columns:26px minmax(0,1fr) 24px;gap:5px;padding:5px;margin-top:5px;min-height:46px}.shop-customer-icon{width:25px;height:25px;font-size:15px;border-width:1px}.shop-customer b{font-size:10px}.shop-customer small{font-size:9px}.shop-customer>strong{font-size:10px}.shop-customer:nth-child(n+3){display:none}.shop-customers:has(.shop-customer:nth-child(3)) .shop-customers-title>b::after{content:" ↓"}.shop-customers #customer-list{max-height:162px;overflow-y:auto;pointer-events:auto;scrollbar-width:thin}.shop-customers #customer-list .shop-customer{display:grid}.shop-selected{padding-top:7px;margin-top:7px}.shop-selected>span{font-size:10px;margin-bottom:5px}.shop-selected .shop-btn{font-size:11px;padding:8px 5px;min-height:44px}.shop-select-hint{font-size:9px;line-height:1.4}.shop-empty{font-size:10px;margin:9px 0;padding:5px}.shop-dock{left:10px;right:10px;bottom:calc(23px + var(--safe-bottom));display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.shop-dock button{min-height:46px;min-width:0;padding:6px 7px;gap:5px;justify-content:center}.shop-dock span{font-size:19px}.shop-dock b{font-size:10px}.shop-toast{top:236px;max-width:calc(100vw - 36px);font-size:11px;padding:9px 12px;min-width:220px}.shop-modal-backdrop{padding:14px}.shop-modal{padding:25px 18px 20px;border-width:4px;max-height:calc(100dvh - 28px);border-radius:14px}.shop-modal h2{font-size:25px;margin:0 9px 13px}.shop-description{font-size:12px;line-height:1.6;margin-bottom:15px}.shop-eyebrow{font-size:9px;letter-spacing:1px;margin-bottom:10px}.shop-close{width:34px;height:34px;top:7px;right:7px}.shop-intro-steps{gap:8px;margin:18px 0}.shop-intro-steps b{font-size:11px}.shop-intro-steps small{font-size:10px}.shop-intro-steps>span{font-size:24px}.shop-start-cash{margin:16px 0}.shop-btn.large{font-size:15px;min-height:50px;padding:12px 15px}.shop-store-row{grid-template-columns:28px minmax(0,1fr) auto;gap:7px;padding:8px 0}.shop-store-icon{font-size:24px}.shop-store-row>div b{font-size:12px}.shop-store-row>div small{font-size:10px}.shop-store-row .shop-btn{min-width:72px;padding:8px;font-size:11px}.shop-day-results{gap:10px;margin:18px 0}.shop-day-results dd{font-size:20px}.shop-mission b{font-size:12px}.shop-mission small{font-size:10px}.world-label{font-size:10px;padding:5px 7px}}
@media(max-height:520px){.shop-brand{display:none}.shop-hud-top{top:9px;left:12px;right:12px}.shop-wallet{margin:0}.shop-shift{top:11px;left:200px;right:auto}.shop-icon-btn{height:38px;width:40px;font-size:23px}.shop-supplies{top:68px;width:124px}.shop-objective{display:none}.shop-workbench{left:12px;bottom:80px;width:185px;padding:9px}.shop-workbench-title{font-size:12px}.shop-brew-line{margin-top:5px}.shop-workbench>.shop-meter{margin:4px 0 6px}.shop-customers{bottom:35px;right:12px;width:220px}.shop-customers #customer-list{max-height:108px;overflow-y:auto;pointer-events:auto}.shop-dock{bottom:20px;left:12px;gap:5px}.shop-dock button{min-height:43px;padding:6px 9px}.shop-toast{top:65px}.shop-modal{max-height:calc(100dvh - 24px);padding:20px}.shop-modal-backdrop{padding:12px}.shop-modal h2{font-size:24px}.shop-intro-steps{display:none}.shop-description{margin-bottom:10px}.shop-start-cash{margin:12px}.shop-footnote{margin-top:10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;scroll-behavior:auto!important}}

@media (max-height: 520px) and (orientation: landscape) {
  .shop-supplies { display: none; }
}
.shop-shift-length { display:flex; align-items:center; justify-content:space-between; gap:.5rem; margin: .65rem 0; }
.shop-shift-length select { font:inherit; padding:.45rem; background:#fff1ce; color:#3b2317; border:1px solid #996b42; border-radius:5px; min-height:44px; }
.station-mark{position:absolute;transform:translate(-50%,-50%);padding:3px;min-width:38px;height:38px;border:2px solid #fce1a6;border-radius:50%;background:#4e321ee6;box-shadow:0 2px 0 #291a0e;color:white;font-size:20px;pointer-events:auto;z-index:1}
.station-mark:active{transform:translate(-50%,-50%) scale(.96)!important}.station-mark.has-dishes{border-color:#83d5f5;background:#2b5262}
.customer-bubble{z-index:2;min-width:44px;min-height:38px;font-size:19px}.customer-bubble:disabled{opacity:.87;filter:none}
.order-slip{display:grid;gap:2px;width:100%;border:0;border-top:1px solid #97744a77;padding:5px;background:transparent;color:#fff2d5;text-align:left}.order-slip.selected{background:#725031;border-radius:5px;box-shadow:inset 0 0 0 1px #ffc352}.order-slip small{color:#dfd3b6;font-size:11px}
#stock-strip .stock-unit{display:flex;align-items:center;gap:6px;min-height:28px}#stock-strip .stock-unit b{order:2;margin-left:auto}#stock-strip .stock-unit small{font-size:11px}
.dish-count{color:#c3e4ec;font-size:12px}.shop-dock{display:flex}
.choosing-prop .shop-modal-backdrop{background:#20170e30;align-items:flex-end;justify-content:center;padding:12px 12px 45px}
.choosing-prop .shop-modal{max-width:560px;padding:15px 20px 12px}.choosing-prop .shop-description{margin:4px auto 8px}.choosing-prop .shop-modal h2{margin:0 25px 6px}
.choosing-prop .shop-eyebrow,.choosing-prop .shop-modal-wallet,.choosing-prop .shop-footnote{display:none}
.choosing-prop .shop-store-list{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}
.item-choice{display:grid;justify-items:center;gap:2px;padding:6px 9px;border:1px solid #936331;background:#fff0cb;border-radius:8px;color:#3b2818}.item-choice span,.choice-icon{font-size:24px}.item-choice small{font-size:11px}
@media(max-width:700px){.shop-dock{left:10px;right:auto}.shop-dock button{min-width:95px}.shop-customers{max-height:195px;overflow-y:auto}.shop-workbench{width:136px}.shop-objective{max-width:190px}#stock-strip .stock-unit{display:flex;min-height:25px;gap:4px}#stock-strip .stock-unit small{display:none}#stock-strip .stock-unit b{margin:0}.station-mark{min-width:36px;height:36px;font-size:17px}.item-choice{min-width:64px}.choosing-prop .shop-modal-backdrop{padding-bottom:12px}.choosing-prop .shop-modal{padding:14px}}
.shop-customers #customer-list { max-height: min(27dvh, 230px); overflow-y: auto; pointer-events: auto; overscroll-behavior: contain; scrollbar-width: thin; touch-action: pan-y; }
.house-progress { margin: .8rem 0 1rem; text-align: left; }
.house-progress > div:first-child { display: flex; justify-content: space-between; align-items: baseline; }
.house-progress .shop-meter { background: #b49266; margin: .35rem 0 .65rem; }
.house-progress .shop-meter i { background: #647f53; }
.house-progress > button { width: 100%; }
.shop-dock .can-renovate { border-color: #ffc85e; color: #ffdf93; }
.owner-actions{position:absolute;left:50%;bottom:82px;transform:translateX(-50%);display:none;gap:6px;padding:7px;background:#2b1a11d9;border:2px solid #a87542;border-radius:12px;box-shadow:0 4px #1d100b;pointer-events:auto;white-space:nowrap}.owner-actions button{min-height:36px;padding:6px 10px;border:1px solid #b9874d;border-radius:7px;background:#654225;color:#ffeac0;font-size:11px;font-weight:900}.owner-actions button:hover,.owner-actions button:focus-visible{background:#9a6434}.controlling-owner .owner-actions{display:flex}
.choosing-prop .upgrade-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.upgrade-options .item-choice { min-height: 48px; }
@media(max-width: 600px) {
  .shop-customers #customer-list { max-height: min(16dvh, 100px); }
  .choosing-prop .upgrade-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .choosing-prop .shop-modal h2 { font-size: 21px; }
}

/* Keep fixed workstations tappable when guests queue in front of the counter. */
.station-mark{z-index:3}
#labels.crowded .customer-bubble{min-width:24px;min-height:22px;font-size:12px;padding:1px 4px;border-width:1px}
#labels.crowded .customer-bubble i{height:2px}


@media(max-height:520px) and (orientation:landscape){}

.street-owner-pin{position:absolute;transform:translate(-50%,-120%);pointer-events:none;border-radius:8px;background:#553b28;color:#fff4d7;padding:2px 6px;font-size:10px;font-weight:800;box-shadow:0 1px 4px #46311d60}.street-owner-pin::after{content:'';position:absolute;top:100%;left:50%;transform:translateX(-50%);border:4px solid transparent;border-top-color:#553b28}

.owner-joystick{position:fixed;z-index:6;left:30px;bottom:118px;width:116px;height:116px;border:2px solid #f4d8a2;border-radius:50%;background:#49311dbb;box-shadow:0 3px 12px #24150950;touch-action:none;user-select:none;color:#fff1cc}
.owner-stick-directions{position:absolute;inset:4px;text-align:center;line-height:34px;font-size:18px;opacity:.7}
.owner-stick-knob{position:absolute;left:36px;top:36px;width:40px;height:40px;background:#d8ac69;border:2px solid #ffe0a4;border-radius:50%;pointer-events:none}
.owner-joystick small{position:absolute;top:122px;left:-8px;width:132px;text-align:center;font-size:11px;text-shadow:0 1px 3px #000}
.controlling-owner .shop-workbench,.controlling-owner .shop-customers,.controlling-owner .shop-objective{display:none}
@media(max-width:700px){.owner-joystick{left:24px;bottom:132px}.shop-dock button[data-action="controlOwner"]{min-width:75px}.controlling-owner .shop-supplies{display:none}}
@media(max-width:700px){.owner-actions{left:10px;right:10px;bottom:calc(264px + var(--safe-bottom));transform:none;overflow-x:auto;justify-content:flex-start}.owner-actions button{flex:0 0 auto;padding:6px 9px;font-size:10px}.controlling-owner .shop-dock{bottom:calc(23px + var(--safe-bottom))}}
@media(max-height:520px){.owner-joystick{left:24px;bottom:90px;width:100px;height:100px}.owner-stick-knob{left:28px;top:28px}.owner-stick-directions{line-height:29px}.owner-joystick small{top:105px;left:-16px}}

/* Personal name on the HUD; the illustrated game title belongs on the opening screen. */
.shop-brand { width: 135px; white-space: normal; text-align: center; }
#shop-hud-name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; font-size: 23px; line-height: 1.08; }
.cafe-logo { display: block; width: 100%; height: 100%; object-fit: contain; }
.shop-loading-sign h1 { width: 100%; height: 185px; margin: 0 auto 22px; transform: none; }
.shop-modal .welcome-logo { height: clamp(84px, 18dvh, 160px); margin: 0 auto 12px; }
.cafe-opening-head p { max-width: 34em; margin: 0 auto 13px; color: #644731; font-size: 12px; line-height: 1.45; }
.shop-modal-backdrop:is([data-dialog="welcome"], [data-dialog="settings"]) .shop-modal { width: min(465px, 100%); }
.cafe-profile { text-align: left; }
.cafe-name-field, .cafe-owners legend { display: block; font-size: 13px; font-weight: 800; color: #55331f; }
.cafe-name-field input { display: block; width: 100%; height: 44px; margin-top: 5px; padding: 7px 12px; font: inherit; font-size: 16px; color: #412719; background: #fff9e8; border: 1px solid #ab8254; border-radius: 7px; }
.cafe-owners { margin: 15px 0 0; padding: 0; border: 0; min-width: 0; }
.cafe-owners legend { padding: 0; margin-bottom: 6px; }
.cafe-owners > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.cafe-owner-option { position: relative; min-width: 0; cursor: pointer; }
.cafe-owner-option input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; inset: 0; cursor: pointer; }
.cafe-owner-card { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 94px; overflow: hidden; background: #f4dfb5; border: 2px solid #b89161; border-radius: 9px; pointer-events: none; }
.cafe-owner-card img { width: 62px; height: 62px; object-fit: contain; }
.cafe-owner-card b { display: block; width: 100%; padding: 4px 2px; font-size: 12px; line-height: 1.25; text-align: center; color: #5b3923; }
.cafe-owner-option input:checked + span { border-color: #285743; background: #dfebcb; }
.cafe-owner-option input:checked + span b { background: #2d5b45; color: #fff2cd; }
.cafe-owner-option input:checked + span::after { content: '✓'; position: absolute; right: 4px; top: 4px; width: 17px; height: 17px; display: grid; place-items: center; background: #2d5b45; border-radius: 50%; font-size: 12px; color: white; }
.cafe-name-field input:focus-visible, .cafe-opening-line select:focus-visible, .cafe-owner-option input:focus-visible + span { outline: 3px solid #247151; outline-offset: 2px; }
.cafe-opening-line { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin: 12px 0; color: #69452c; font-size: 12px; }
.cafe-opening-line b { color: #654015; }
.cafe-opening-line label { display: flex; gap: 7px; align-items: center; }
.cafe-opening-line select { min-height: 42px; padding: 4px 7px; border-radius: 5px; border: 1px solid #a27b50; background: #fff4d7; color: #50331f; font: inherit; }
.cafe-profile-form [type="submit"] { width: 100%; min-height: 46px; }
.cafe-profile-form[aria-busy="true"] [type="submit"] { opacity: .65; cursor: wait; }
.cafe-settings-controls { margin-top: 18px; padding-top: 14px; border-top: 1px solid #b89161; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.cafe-settings-controls .shop-btn { min-height: 44px; font-size: 12px; }
[data-submit="applyProfile"] [type="submit"] { margin-top: 14px; }
.panel-open .shop-toast { z-index: 25; pointer-events: none; }
@media (max-width: 600px) { .shop-brand { width: 87px; } #shop-hud-name { font-size: 17px; } .cafe-owner-card { height: 84px; } .cafe-owner-card img { height: 54px; width: 54px; } }
@media (max-height: 520px) and (min-width: 610px) {
  .shop-modal-backdrop[data-dialog="welcome"] .shop-modal { width: min(640px, 100%); }
  [data-dialog="welcome"] #modal-content:has(.welcome-logo) { display: grid; grid-template-columns: 32% minmax(0, 1fr); align-items: center; gap: 15px; }
  .shop-modal .welcome-logo { height: auto; }
  .cafe-owner-card { height: 70px; } .cafe-owner-card img { width: 46px; height: 46px; }
}
/* Keep the confrontation visible while the player chooses a response. */
.shop-modal-backdrop[data-dialog="event"] { backdrop-filter:none; background:transparent; padding-bottom:14px; }
[data-dialog="event"] .shop-modal { padding:16px 20px; width:min(510px,100%); }
[data-dialog="event"] .shop-eyebrow { display:none; }
[data-dialog="event"] .shop-choice-list { gap:8px; margin-top:10px; }
[data-dialog="event"] .shop-description { margin-bottom:8px; }
@media (max-width:600px) {
  [data-dialog="event"] .shop-modal { padding:12px; }
  [data-dialog="event"] .shop-modal h2 { font-size:20px; margin-bottom:6px; }
  [data-dialog="event"] .shop-description { font-size:11px; line-height:1.4; }
}
/* Calendar HUD keeps date, forecast and clock legible on narrow screens. */
.shop-shift #shift-day,.shop-shift #shift-time{white-space:nowrap}
@media(max-width:600px){.shop-shift{gap:6px}.shop-shift #shift-day{font-size:10px}.shop-shift #shift-weather{font-size:10px}.shop-shift #shift-time{font-size:12px}.shop-shift button{flex-shrink:0;width:26px}}
@media(max-height:520px){.shop-shift{right:105px;gap:7px}.shop-shift #shift-day{font-size:10px}.shop-shift #shift-weather{font-size:10px}.shop-shift #shift-time{font-size:12px}}

.rain-alert{position:absolute;top:136px;left:180px;max-width:440px;padding:10px 14px;color:#fff2c9;text-align:left;border-color:#d5a94a;font-size:12px;line-height:1.5}.umbrella-options p{font-size:13px;line-height:1.6}.umbrella-options .item-choice{display:flex;flex-direction:column;align-items:flex-start;gap:4px}.finance-results{margin:12px 0 22px;gap:12px}.finance-results dd{font-size:20px}.finance-results dt{line-height:1.4}
@media(max-width:600px){.rain-alert{top:160px;left:10px;right:10px;max-width:none;padding:7px 10px;font-size:11px}body:has(.rain-alert:not([hidden])) .shop-objective{top:224px}.finance-results dd{font-size:17px}}
@media(max-height:520px){.rain-alert{top:61px;left:148px;max-width:360px;font-size:11px;padding:6px 10px}}

/* Keep dish targets usable without moving their projected screen position. */
.customer-bubble{min-width:44px;min-height:44px}
.customer-bubble:active:not(:disabled){transform:translate(-50%,-100%)}
#labels.crowded .customer-bubble{min-width:36px;min-height:36px}
.order-slip{grid-template-columns:44px minmax(0,1fr);gap:6px;align-items:center}
.order-serve{width:44px;height:44px;padding:0;border:1px solid #c5a16b;border-radius:9px;background:#4b3522;color:#fff2d5;font-size:23px}
.order-select{display:grid;gap:2px;min-width:0;min-height:44px;text-align:left;padding:2px 0;border:0;background:transparent;color:inherit}
.order-select b,.order-select small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Painted café signs, enamel pictograms and warm timber edges. */
:root{--cafe-ink:#173e34;--cafe-paint:#326b58;--cafe-light:#77a98b;--cafe-brass:#e5b770;--cafe-paper:#f8e7be;--cafe-edge:#543b27}
.hud-icon{display:inline-block;width:28px;height:28px;flex:0 0 auto;vertical-align:middle;filter:drop-shadow(0 1px 0 #173e3440)}
.wood-panel{background:linear-gradient(145deg,#386f5ef5,#234d40f5);border:2px solid #d1a46a;border-radius:14px 8px 14px 8px;box-shadow:inset 0 1px 0 #b8d3aa50,0 3px 0 #573c29,0 6px 12px #182e2926;color:var(--cafe-paper)}
.shop-hud-top{top:max(16px,env(safe-area-inset-top));left:24px;right:24px;gap:14px;align-items:center}
.shop-brand{display:flex;align-items:center;gap:9px;width:242px;white-space:normal;transform:none;filter:none;color:#fff3d4;line-height:1.05}
.shop-brand-seal{display:grid;place-items:center;flex:0 0 50px;width:50px;height:56px;background:#326b58;border:2px solid #e5b770;border-radius:50% 50% 42% 42%;box-shadow:0 3px 0 #513823,inset 0 0 0 3px #ffffff15}
.shop-brand-seal .hud-icon{width:33px;height:33px}
.shop-brand>div{min-width:0}
.shop-brand small{text-align:left;letter-spacing:1.7px;font-size:8px;color:#f2d28d;text-shadow:0 1px 2px #172a20;margin:0 0 4px}
.shop-brand strong,#shop-hud-name{display:block;font-size:22px;line-height:1.05;font-weight:1000;-webkit-text-stroke:2.5px #365442;paint-order:stroke fill;text-shadow:0 2px 0 #193c2e;white-space:normal;overflow-wrap:anywhere;max-width:185px}
.shop-wallet{margin:0;min-height:49px;padding:6px 12px;gap:7px;border:2px solid #e5b770;border-radius:12px 6px;background:linear-gradient(135deg,#3b775f,#244d3e);box-shadow:inset 0 2px #bdd19a40,0 3px #654b2e}
.shop-wallet .hud-icon{width:27px;height:27px}.shop-wallet strong{font-size:21px;line-height:1;font-weight:1000}.shop-wallet small{color:#f5dcb1}.shop-wallet i{background:#b9c69d70;margin:0 3px}
.shop-top-actions{gap:8px}.shop-icon-btn{width:46px;height:46px;border:2px solid #dbb077;border-radius:11px;background:linear-gradient(#578a6f,#2c604e);box-shadow:inset 0 2px #d5e4ad45,0 3px #513923;text-shadow:none;display:grid;place-items:center}
.shop-icon-btn .hud-icon{width:28px;height:28px}
.shop-shift{left:24px;top:84px;gap:10px;padding:2px 4px 2px 12px;border-radius:8px;min-height:48px;font-size:12px;max-width:560px;background:#233f36ec}
.shop-shift b{color:#f1d3a2}.shop-shift #shift-weather{color:#d9e8cd}.shop-shift button{width:44px;height:44px;border-radius:7px;background:#477b62;color:#fff0c6;flex-shrink:0}.shop-shift #shift-time{font-size:14px}
.shop-supplies{top:148px;left:24px;width:354px;border:0;background:transparent;box-shadow:none;overflow:visible}
.shop-supply-heading{padding:0 0 7px 2px;min-height:0;background:none;font-size:10px;text-transform:uppercase;letter-spacing:1.2px;color:#fff0c6;text-shadow:0 1px 3px #1b312a}
#stock-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;padding:0}
#stock-strip .stock-unit{position:relative;display:flex;flex-direction:column;justify-content:center;gap:3px;min-height:68px;padding:5px 3px 3px;background:linear-gradient(#477d65ee,#2a5548ee);border:1px solid #dcb775;border-radius:9px 9px 6px 6px;box-shadow:inset 0 1px #dfe6bb40,0 3px #5d4228;color:#f8e8bc}
#stock-strip .stock-unit>span{height:28px;display:block;padding-right:12px}#stock-strip .hud-icon{width:28px;height:28px}
#stock-strip .stock-unit b{position:absolute;top:9px;right:5px;order:0;margin:0;font-size:13px;font-weight:1000;font-variant-numeric:tabular-nums;text-shadow:0 1px #173d31}
#stock-strip .stock-unit small{display:block;font-size:9px;font-weight:800;white-space:nowrap;line-height:1.3}
.shop-objective{top:84px;right:24px;width:275px;min-height:75px;padding:9px 8px 9px 10px;align-items:center;gap:9px}
.shop-objective .objective-medal{display:grid;place-items:center;width:32px;height:38px;flex:0 0 32px;background:#224739;border-radius:6px;border-bottom:3px solid #b58a4e}
.objective-medal .hud-icon{width:26px;height:26px}.shop-objective small{color:#c7d8ad;font-size:8px;letter-spacing:1px}.shop-objective b{font-size:12px;line-height:1.25}.shop-objective #objective-progress{font-size:10px;color:#f3d3a3}.shop-objective button{width:44px;min-height:44px;flex:0 0 44px;color:#f1c776}
.shop-workbench{left:24px;bottom:92px;width:235px;padding:12px;background:linear-gradient(145deg,#3b715b,#234d40);border-radius:16px 8px 8px 8px}
.shop-workbench-title{font-size:13px}.shop-workbench-title b{display:flex;align-items:center;gap:6px}.shop-workbench-title .hud-icon{width:22px;height:22px}.shop-workbench-title>span{color:#d6e0bd;font-size:10px}.shop-brew-line strong{color:#ffdb90}.shop-brew-line>span{color:#d5ddbe}.shop-meter{height:7px;border-color:#b9c59e40;background:#163d30}.shop-meter i{background:linear-gradient(90deg,#d9944f,#f6d18a)}.dish-count{display:flex;align-items:center;gap:6px;color:#c9e5d7;font-size:11px}.dish-count .hud-icon{width:20px;height:20px}
.shop-customers{right:24px;bottom:24px;width:280px;border-radius:8px 16px 8px 8px;background:#244b3fec;max-height:min(44dvh,370px)}
.shop-customers-title{background:#3c705b;border-bottom:1px solid #e4b77570;padding:5px 10px;gap:7px;border-radius:5px 13px 0 0}.shop-customers-title>b{font-size:12px;color:#f9e7bf}.shop-customers-title>span{font-size:11px;color:#d3e0c0}.shop-customers-title>button{width:44px;height:44px;flex-shrink:0;color:#f2d7a4}.shop-customers-content{padding:0 9px 9px}
.order-slip{border-color:#9db79a66;padding:7px 3px;gap:8px;color:#fff0cf}.order-slip.selected{background:#5e887154;box-shadow:inset 3px 0 #f2cb84;border-radius:3px}.order-slip small{color:#d4debd;font-size:10px}.order-select{padding-right:4px}.order-select b{font-size:12px}.order-serve{background:#d3a66b;border:2px solid #f0ce92;border-radius:10px;box-shadow:inset 0 1px #fff1c280,0 2px #183d2e}.order-serve .hud-icon{width:29px;height:29px}.shop-patience{background:#183c30}.shop-patience em{background:#a5c67d}
.shop-select-hint,.shop-empty{color:#d5dfbf}.shop-dock{left:24px;right:auto;bottom:24px;gap:8px;display:flex}.shop-dock button{display:flex;align-items:center;justify-content:center;gap:7px;min-width:108px;min-height:48px;padding:7px 13px;border:2px solid #e3b679;border-radius:10px 10px 7px 7px;background:linear-gradient(#578f72,#34694f);color:#fff0c6;box-shadow:inset 0 2px #e1e8b247,0 4px #583b24}.shop-dock button[aria-pressed="true"]{background:#a7753d;border-color:#ffdc91}.shop-dock .hud-icon{width:25px;height:25px}.shop-dock b{font-size:12px}
.shop-toast{color:#fff0ca;border:2px solid #e9bc72;background:#285a48ed;box-shadow:0 3px #483620;border-radius:8px;padding:10px 16px;top:90px}
.rain-alert{top:242px;left:24px;max-width:355px;background:#305c65f0;border-color:#aed4c9;min-height:44px;font-size:12px;line-height:1.4}
.world-label{background:#346c56f5;border-color:#ebc082;box-shadow:0 3px #3d3823;color:#fff1cf}.world-label::after{border-top-color:#e5b770}.station-mark{background:#386f5eef;border-color:#ebcc97;box-shadow:0 2px #4a3826;min-width:44px;height:44px}.customer-bubble.urgent{background:#9a4d3b;border-color:#f4bc78}
.shop-btn{background:linear-gradient(#699478,#39705a);border-color:#274c3d;color:#fff0cd;box-shadow:inset 0 2px #d6e3b34a,0 3px #273e2c}.shop-btn.primary{background:linear-gradient(#efbd73,#d39b51);border-color:#936130;color:#472e1b;box-shadow:inset 0 2px #ffe6ae,0 3px #664728}.shop-btn.danger{background:linear-gradient(#b56e55,#904a3c);border-color:#673d2d;color:#fff2cf}
.shop-modal{background:linear-gradient(145deg,#f4dfb5,#e6c895);border:5px solid #32664f;border-radius:18px 8px 18px 8px;box-shadow:0 0 0 2px #d8ad6c,0 10px 30px #152e2966;color:#493420}.shop-modal h2{color:#28563f;text-shadow:0 1px #fff4d5}.shop-eyebrow{color:#60805a}.shop-close{background:#3c7459;color:#fff0c9;border:1px solid #d9b277;width:44px;height:44px;top:7px;right:7px;border-radius:8px;box-shadow:0 2px #28432e}.shop-store-row .shop-btn{background:linear-gradient(#5b8b6c,#336249);color:#fff0c9;border-color:#294e37;box-shadow:inset 0 2px #bad09c55,0 2px #28432e}.item-choice{background:#e9d3a5;color:#3e5133;border:2px solid #8ba477;min-height:44px}.item-choice:not(:disabled):hover{background:#f7e6bd;border-color:#35694f}
.shop-btn:not(:disabled):hover,.shop-dock button:not(:disabled):hover,.shop-icon-btn:not(:disabled):hover{filter:brightness(1.1)}
button:focus-visible{outline:3px solid #ffdf91;outline-offset:3px}.owner-joystick{border-color:#e3c591;background:#356752c9;box-shadow:0 3px 12px #1b332b45}.owner-joystick .owner-stick{background:#f0d8a3}
@media(max-width:700px) and (min-height:521px){
 .shop-hud-top{left:12px;right:12px;top:max(12px,env(safe-area-inset-top));gap:8px;align-items:flex-start}
 .shop-brand{width:154px;gap:6px;flex-shrink:0}.shop-brand-seal{flex-basis:35px;width:35px;height:42px}.shop-brand-seal .hud-icon{width:25px;height:25px}.shop-brand small{font-size:6px;letter-spacing:1px}.shop-brand strong,#shop-hud-name{font-size:17px;max-width:110px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;-webkit-text-stroke:2px #365442}
 .shop-wallet{margin-left:auto;gap:3px;padding:5px 6px;min-height:43px;max-width:calc(100vw - 184px)}.shop-wallet strong{font-size:15px;min-width:0}.shop-wallet .hud-icon{width:19px;height:22px}.shop-wallet small{font-size:9px}.shop-wallet i{margin:0 2px;height:17px}
 .shop-top-actions{position:absolute;top:57px;right:0;gap:5px}.shop-icon-btn{width:44px;height:44px}.shop-icon-btn .hud-icon{width:25px;height:25px}
 .shop-shift{top:69px;left:12px;width:calc(100vw - 170px);min-height:52px;display:grid;grid-template-columns:1fr 44px;gap:1px 3px;padding:3px 3px 3px 8px;max-width:none;border-width:1px;font-size:9px}.shop-shift #shift-day{font-size:9px;grid-column:1;line-height:12px}.shop-shift #shift-weather{font-size:9px;line-height:12px}.shop-shift #shift-time{grid-column:1;font-size:11px;line-height:14px}.shop-shift button{grid-column:2;grid-row:1/4;width:44px;height:44px}
 .shop-supplies{top:133px;left:12px;right:12px;width:auto;background:none;overflow:visible}.shop-supply-heading{display:none}#stock-strip{gap:6px}#stock-strip .stock-unit{min-height:42px;padding:3px;flex-direction:row;gap:4px;border-radius:8px}#stock-strip .stock-unit>span{padding:0;height:26px}#stock-strip .stock-unit b{position:static;font-size:12px}#stock-strip .stock-unit small{display:none}#stock-strip .hud-icon{width:25px;height:25px}
 .shop-objective{top:186px;left:12px;right:auto;width:255px;max-width:calc(100vw - 24px);min-height:60px;padding:7px 6px;gap:6px;border-width:1px}.shop-objective .objective-medal{width:25px;height:30px;flex-basis:25px}.shop-objective .hud-icon{width:23px;height:23px}.shop-objective small{font-size:7px}.shop-objective b{font-size:11px}.shop-objective #objective-progress{font-size:9px}.shop-objective button{min-height:44px;width:44px;flex-basis:44px}
 .shop-workbench{left:12px;bottom:calc(82px + var(--safe-bottom));width:136px;padding:8px;border-width:1px}.shop-workbench-title{gap:3px}.shop-workbench-title b{font-size:11px;gap:3px}.shop-workbench-title .hud-icon{width:17px;height:17px}.shop-workbench-title>span{font-size:9px}.shop-brew-line{margin-top:6px}.shop-brew-line strong{font-size:14px}.shop-brew-line>span{font-size:9px;min-height:12px;margin-top:3px}.dish-count{font-size:10px;gap:3px}.dish-count .hud-icon{width:17px;height:17px}
 .shop-customers{bottom:calc(82px + var(--safe-bottom));right:12px;left:158px;width:auto;min-width:0;max-width:none;max-height:195px;border-width:1px}.shop-customers-title{padding:2px 6px;gap:3px}.shop-customers-title>b{font-size:10px}.shop-customers-title>span{font-size:9px}.shop-customers-title>button{width:44px;min-width:44px;height:44px}.shop-customers-content{padding:0 5px 6px}.order-slip{gap:5px;padding:5px 2px}.order-select b{font-size:11px}.order-slip small{font-size:9px}.order-serve{width:44px;height:44px}.order-serve .hud-icon{width:28px;height:28px}.shop-select-hint{font-size:9px}.shop-customers #customer-list{max-height:min(16dvh,100px)}
 .shop-dock{left:12px;right:12px;bottom:calc(15px + var(--safe-bottom));display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.shop-dock button{min-width:0;min-height:49px;padding:6px 4px;gap:4px}.shop-dock b{font-size:10px}.shop-dock .hud-icon{width:22px;height:22px}
 .shop-toast{top:256px;padding:8px 12px;font-size:11px;max-width:calc(100vw - 24px);min-width:0}.rain-alert{top:256px;left:12px;right:12px;max-width:none;padding:8px 10px;font-size:11px}.shop-toast:has(+.shop-modal-backdrop:not([hidden])){top:12px}body:has(.rain-alert:not([hidden])) .shop-objective{top:186px}
 .shop-modal{padding:25px 16px 18px}.shop-modal h2{font-size:24px}.shop-close{width:44px;height:44px}
}
@media(max-height:520px){
 .shop-hud-top{top:10px;left:12px;right:12px}.shop-brand{display:none}.shop-wallet{height:44px;min-height:44px;margin:0;padding:5px 9px}.shop-wallet strong{font-size:17px}.shop-wallet .hud-icon{width:23px;height:23px}.shop-top-actions{position:static;gap:6px}.shop-icon-btn{width:44px;height:44px}
 .shop-shift{top:10px;left:218px;right:168px;width:auto;max-width:none;height:44px;min-height:44px;gap:6px;padding:0 3px 0 8px;font-size:10px}.shop-shift #shift-day{font-size:9px}.shop-shift #shift-weather{font-size:9px}.shop-shift #shift-time{font-size:11px}.shop-shift button{width:44px;height:44px}.shop-supplies,.shop-objective{display:none}
 .shop-workbench{bottom:78px;left:12px;width:190px;padding:8px}.shop-brew-line{margin-top:4px}.shop-workbench>.shop-meter{margin:5px 0}.shop-customers{bottom:12px;right:12px;width:220px;max-height:210px}.shop-customers-title{padding:0 7px}.shop-customers #customer-list{max-height:100px}.shop-dock{bottom:14px;left:12px;right:auto;gap:6px;display:flex}.shop-dock button{min-width:99px;min-height:45px;padding:6px 8px}.shop-dock b{font-size:11px}.shop-dock .hud-icon{width:22px;height:22px}.shop-toast{top:66px;font-size:11px;max-width:340px}.rain-alert{top:66px;left:220px;right:245px;max-width:none;font-size:10px;padding:7px}
 .shop-modal{max-height:calc(100dvh - 24px)}
}

/* HUD groups follow gameplay responsibilities; children flow inside their anchor. */
.shop-hud-top{left:max(20px,env(safe-area-inset-left));right:max(20px,env(safe-area-inset-right));top:max(16px,env(safe-area-inset-top));display:flex;justify-content:space-between;align-items:flex-start;gap:24px}
.hud-identity{display:flex;flex-direction:column;gap:10px;width:350px;min-width:0}.hud-career{display:flex;flex-direction:column;gap:8px;width:280px;min-width:0}.shop-brand{width:100%;max-width:350px}.shop-brand strong,#shop-hud-name{max-width:280px;font-size:22px}.shop-brand-seal{width:44px;height:49px;flex-basis:44px}
.shop-hud-top .shop-shift{position:static;display:flex;width:100%;max-width:none;padding:3px 4px 3px 10px;gap:10px;min-height:50px;height:auto;margin:0;font-size:11px}.shift-calendar{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}.shop-shift #shift-day,.shop-shift #shift-weather{line-height:1.3;font-size:11px;white-space:normal}.shop-shift #shift-time{font-size:14px;white-space:nowrap}.shop-shift button{width:44px;height:44px;flex:0 0 44px}
.hud-career .shop-wallet{margin:0;align-self:flex-end;max-width:none;min-height:48px}.shop-hud-top .shop-objective{position:static;display:flex;width:100%;max-width:none;min-height:70px;padding:7px 8px;gap:8px}.shop-objective>div{flex:1;min-width:0}.shop-objective b{font-size:12px;line-height:1.3}.shop-objective button{flex:0 0 44px;width:44px;min-height:44px}.shop-objective small{font-size:8px}.shop-objective #objective-progress{font-size:10px}
.hud-business{position:absolute;left:max(20px,env(safe-area-inset-left));bottom:max(20px,env(safe-area-inset-bottom));width:300px;display:flex;flex-direction:column;gap:10px;padding:12px;border-radius:16px 8px 8px 8px}
.hud-business .shop-workbench,.hud-business .shop-supplies,.hud-business .shop-dock{position:static;left:auto;right:auto;top:auto;bottom:auto;width:100%;max-width:none;margin:0;border:0;border-radius:0;background:none;box-shadow:none;transform:none;padding:0}
.hud-business .shop-workbench-title{display:flex;justify-content:space-between;align-items:center;gap:7px}.shop-workbench-title b{font-size:12px;letter-spacing:.4px}.shop-workbench-title>span{font-size:10px}.shop-brew-line{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-top:7px}.shop-brew-line strong{font-size:21px;white-space:nowrap}.shop-brew-line>span{font-size:10px;text-align:right;min-height:0;margin:0}.shop-workbench .shop-meter{margin:7px 0}.dish-count{font-size:11px}
.hud-business .shop-supplies{display:block;padding-top:8px;border-top:1px solid #e5b77050;overflow:visible}.shop-supply-heading{display:block;padding:0 0 6px;font-size:9px;letter-spacing:1px;min-height:0;background:none;color:#d4dfbf}
#stock-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;padding:0}#stock-strip .stock-unit{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:3px;min-height:36px;padding:3px;border:1px solid #adbd9855;border-radius:6px;background:#183e305e;box-shadow:inset 0 1px #ffffff12}#stock-strip .stock-unit>span{display:flex;height:24px;padding:0}#stock-strip .hud-icon{width:23px;height:23px}#stock-strip .stock-unit b{position:static;font-size:12px}#stock-strip .stock-unit small{display:none}
.hud-business .shop-dock{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.shop-dock button{min-width:0;min-height:46px;display:flex;justify-content:center;align-items:center;padding:6px 5px;gap:5px;border-radius:8px;background:linear-gradient(#ddbc81,#b88a4f);color:#3f2d1c;border:1px solid #f1d6a1;box-shadow:inset 0 2px #fff0bf70,0 3px #513b28}.shop-dock b{font-size:12px}.shop-dock .hud-icon{width:24px;height:24px}
.shop-customers{right:max(20px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));left:auto;width:280px;max-height:min(43dvh,350px);border-radius:8px 16px 8px 8px}.shop-customers-title{padding:2px 8px;gap:8px}.shop-customers-title>b{font-size:11px;letter-spacing:.4px}.shop-customers-title>button{width:44px;min-width:44px;height:44px}.shop-customers-content{padding:0 8px 8px}.order-slip{gap:7px}.order-select{flex:1;min-width:0}.order-select b{font-size:12px}.order-serve{width:44px;height:44px;flex:0 0 44px}.shop-customers .shop-btn.primary{width:100%;min-height:44px}.shop-select-hint{font-size:11px;margin:7px 0}
.shop-top-actions{position:absolute;left:50%;right:auto;top:auto;bottom:max(20px,env(safe-area-inset-bottom));transform:translateX(-50%);display:flex;align-items:center;gap:6px;margin:0;padding:7px;border:2px solid #cfa46c;border-radius:12px;background:#204c3eeb;box-shadow:inset 0 1px #bdd6ad66,0 4px #503a28;max-width:calc(100vw - 24px)}
.shop-top-actions button{display:flex;align-items:center;justify-content:center;min-height:44px;flex-shrink:0}.shop-top-actions .shop-icon-btn{width:44px;height:44px;border:1px solid #a9c39a70;box-shadow:inset 0 1px #d1e2b23b,0 2px #193e30;border-radius:7px}.shop-top-actions .hud-icon{width:25px;height:25px}.owner-control{gap:6px;max-width:164px;padding:6px 10px;border:1px solid #d8b876;border-radius:7px;background:#4a8062;color:#fff0cb;box-shadow:0 2px #173e30;font-size:12px}.owner-control[aria-pressed="true"]{background:#b7813e;color:#fff4d3}.control-divider{height:26px;width:1px;background:#b8cdad60;margin:0 2px}
.shop-top-actions button,.shop-dock button,.order-serve{transition:transform 140ms cubic-bezier(.2,.8,.3,1),filter 140ms ease-out,background-color 140ms ease-out}.shop-top-actions button:active:not(:disabled),.shop-dock button:active:not(:disabled),.order-serve:active:not(:disabled){transform:translateY(2px) scale(.96)}
.shop-toast{top:28px;left:50%;max-width:calc(100vw - 720px);font-size:12px}.rain-alert{top:144px;left:20px;right:auto;max-width:350px;font-size:11px;min-height:44px}.controlling-owner .hud-business{display:none}.owner-actions{bottom:94px;background:#224c3feb;border-color:#d2ab72}.owner-actions button{min-height:44px;background:#46765c;border-color:#a8b98b}.owner-actions button[aria-pressed="true"]{background:#b18346}.owner-joystick{bottom:110px}
@media(prefers-reduced-motion:reduce){.shop-top-actions button,.shop-dock button,.order-serve{transition:none}}
@media(max-width:1100px) and (min-height:521px){.hud-business{width:260px;bottom:90px}.shop-customers{width:250px;bottom:90px}.shop-top-actions{bottom:20px}.shop-top-actions .owner-control b{max-width:68px;font-size:11px}.shop-top-actions{gap:4px;padding:5px}.shop-toast{top:155px;max-width:340px}}
@media(max-width:700px) and (min-height:521px){
 .shop-hud-top{left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));top:max(12px,env(safe-area-inset-top));display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px 8px}.hud-identity,.hud-career{display:contents}
 .shop-brand{grid-column:1;grid-row:1;width:auto;gap:6px;min-width:0;align-self:center}.shop-brand-seal{width:31px;height:38px;flex-basis:31px}.shop-brand-seal .hud-icon{width:23px;height:23px}.shop-brand small{font-size:6px;letter-spacing:.8px;margin-bottom:3px}.shop-brand strong,#shop-hud-name{font-size:16px;max-width:none;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.hud-career .shop-wallet{grid-column:2;grid-row:1;justify-self:end;align-self:center;max-width:100%;gap:3px;padding:5px;min-height:44px}.shop-wallet .hud-icon{width:18px;height:20px}.shop-wallet strong{font-size:14px}.shop-wallet small{font-size:9px}.shop-wallet i{margin:0 2px}
 .shop-hud-top .shop-shift{grid-column:1/-1;grid-row:2;min-height:48px;padding:1px 3px 1px 9px;gap:8px}.shop-shift #shift-day,.shop-shift #shift-weather{font-size:10px}.shop-shift #shift-time{font-size:13px}.shop-shift button{display:block;width:44px;height:44px;grid-area:auto}.shop-hud-top .shop-objective{grid-column:1/-1;grid-row:3;min-height:52px;padding:3px 6px;gap:7px;border-width:1px}.shop-objective .objective-medal{width:28px;height:32px;flex-basis:28px}.shop-objective small{font-size:7px}.shop-objective b{font-size:11px}.shop-objective #objective-progress{font-size:9px}.shop-objective button{width:44px;flex-basis:44px}
 .hud-business{left:12px;bottom:calc(82px + var(--safe-bottom));width:calc(43% - 16px);padding:8px;gap:7px;border-width:1px}.hud-business .shop-workbench-title{display:block}.shop-workbench-title b{font-size:10px;gap:4px;letter-spacing:0}.shop-workbench-title .hud-icon{width:18px;height:18px}.shop-workbench-title>span{display:block;font-size:9px;margin-top:3px}.shop-brew-line{display:block;margin-top:5px}.shop-brew-line strong{font-size:20px}.shop-brew-line>span{display:block;font-size:9px;text-align:left;margin-top:2px}.shop-workbench .shop-meter{margin:5px 0}.dish-count{font-size:10px}.dish-count .hud-icon{width:17px;height:17px}
 .hud-business .shop-supplies{padding-top:6px}.shop-supply-heading{font-size:8px;padding-bottom:4px}#stock-strip{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}#stock-strip .stock-unit{min-height:27px;padding:2px;gap:1px}#stock-strip .stock-unit>span{height:18px}#stock-strip .hud-icon{width:18px;height:18px}#stock-strip .stock-unit b{font-size:10px}
 .hud-business .shop-dock{gap:5px}.shop-dock button{flex-direction:column;gap:2px;padding:5px 2px;min-height:48px}.shop-dock .hud-icon{width:20px;height:20px}.shop-dock b{font-size:9px;line-height:1.1;text-align:center}
 .shop-customers{left:43%;right:12px;bottom:calc(82px + var(--safe-bottom));width:auto;max-height:225px;border-width:1px}.shop-customers-title{padding:0 5px;gap:4px}.shop-customers-title>b{font-size:9px;letter-spacing:0}.shop-customers-title>span{font-size:9px}.shop-customers-title>button{width:44px;min-width:44px;height:44px}.shop-customers-content{padding:0 5px 6px}.order-slip{gap:4px}.order-select b{font-size:11px}.order-slip small{font-size:9px}.shop-select-hint{font-size:9px;line-height:1.3;margin:5px 0}.shop-customers #customer-list{max-height:100px}.shop-customers .shop-btn.primary{font-size:12px;padding:6px 4px}
 .shop-top-actions{left:12px;right:12px;top:auto;bottom:calc(14px + var(--safe-bottom));transform:none;max-width:none;justify-content:center;gap:7px;padding:6px}.shop-top-actions .owner-control{flex:1;max-width:170px;padding:6px;gap:4px}.shop-top-actions .owner-control b{max-width:none;font-size:11px}.shop-top-actions .shop-icon-btn{width:44px;height:44px}.shop-top-actions .control-divider{margin:0}
 .shop-toast{top:186px;max-width:calc(100vw - 24px);font-size:11px;padding:8px 12px}.rain-alert{top:186px;left:12px;right:12px;max-width:none;font-size:10px;padding:6px 9px}#ui:has(.rain-alert:not([hidden])) .shop-toast{top:248px}.owner-actions{bottom:calc(260px + var(--safe-bottom))}.owner-joystick{bottom:130px}
}
@media(max-height:520px){
 .shop-hud-top{left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));top:max(8px,env(safe-area-inset-top));gap:14px}.hud-identity{width:300px}.hud-career{width:224px;gap:5px}.shop-brand{display:none}.shop-hud-top .shop-shift{min-height:46px;padding:0 3px 0 7px;gap:7px}.shop-shift #shift-day,.shop-shift #shift-weather{font-size:9px}.shop-shift #shift-time{font-size:12px}.hud-career .shop-wallet{align-self:stretch;justify-content:center;min-height:44px}.shop-hud-top .shop-objective{min-height:50px;padding:2px 5px;gap:5px}.shop-objective small{font-size:7px}.shop-objective b{font-size:10px}.shop-objective #objective-progress{font-size:8px}
 .hud-business{left:12px;bottom:12px;width:224px;padding:8px;gap:6px}.shop-workbench-title b{font-size:10px}.shop-workbench-title>span{font-size:9px}.shop-brew-line{margin-top:4px}.shop-brew-line strong{font-size:18px}.shop-brew-line>span{font-size:9px}.shop-workbench .shop-meter{margin:5px 0}.dish-count{font-size:9px}.hud-business .shop-supplies{padding-top:5px}.shop-supply-heading{display:none}#stock-strip .stock-unit{min-height:28px;padding:2px;gap:1px}#stock-strip .hud-icon{width:20px;height:20px}#stock-strip .stock-unit b{font-size:10px}.shop-dock button{min-height:44px;padding:4px;font-size:10px}.shop-dock b{font-size:10px}.shop-dock .hud-icon{width:21px;height:21px}
 .shop-customers{right:12px;bottom:12px;width:224px;max-height:230px}.shop-customers-title{padding:0 6px}.shop-customers-title>b{font-size:10px}.shop-customers-title>span{font-size:9px}.shop-customers #customer-list{max-height:90px}.shop-select-hint{font-size:10px}.shop-customers .shop-btn.primary{font-size:13px}
 .shop-top-actions{bottom:12px;gap:4px;padding:5px}.shop-top-actions .owner-control{font-size:10px;max-width:80px;padding:4px;gap:2px}.shop-top-actions .owner-control .hud-icon{width:20px}.shop-top-actions .shop-icon-btn{width:44px;height:44px}.shop-top-actions .control-divider{margin:0}
 .shop-toast{top:66px;max-width:260px;font-size:10px;padding:7px 10px}.rain-alert{top:63px;left:12px;right:auto;width:224px;max-width:none;padding:5px;font-size:9px}.owner-actions{bottom:88px;max-width:calc(100vw - 270px);overflow-x:auto}.owner-joystick{bottom:90px}
}
@media(max-width:760px) and (max-height:520px){
 .hud-identity{width:270px}.hud-career{width:210px}.hud-business{width:210px;bottom:82px}.hud-business .shop-supplies{display:none}.shop-customers{width:210px;bottom:82px;max-height:170px}.shop-customers #customer-list{max-height:46px}.shop-top-actions{bottom:12px}.shop-toast{top:65px;max-width:220px}.rain-alert{top:60px;width:210px}.owner-actions{max-width:calc(100vw - 24px);left:12px;right:12px;transform:none}
}
.shop-top-actions .shop-icon-btn[data-action="resetCamera"]{display:flex}
@media(max-width:360px) and (min-height:521px){
 .hud-career .shop-wallet{display:grid;grid-template-columns:18px minmax(0,1fr);gap:1px 4px;width:100%;padding:4px 6px;min-height:46px}.shop-wallet i,.shop-wallet small{display:none}.shop-wallet .hud-icon{width:17px;height:17px}.shop-wallet>.hud-icon:first-child{grid-column:1;grid-row:1}.shop-wallet>.hud-icon:nth-of-type(2){grid-column:1;grid-row:2}.shop-wallet #cash{grid-column:2;grid-row:1}.shop-wallet #reputation{grid-column:2;grid-row:2}.shop-wallet strong{font-size:13px;min-width:0;overflow:hidden;text-overflow:ellipsis}
}


/* Reward feedback floats above the customer's head, separate from the order action bubble. */
.customer-receipt{position:absolute;z-index:12;pointer-events:none;transform:translate(-50%,-100%);display:flex;flex-direction:column;align-items:center;gap:1px;white-space:nowrap;color:#fff;font-weight:1000;text-shadow:-2px -2px 0 #315446,2px -2px 0 #315446,-2px 2px 0 #315446,2px 2px 0 #315446,0 3px 0 #315446;filter:drop-shadow(0 3px 4px #152e2670)}
.customer-receipt strong{font-size:clamp(26px,2.4vw,36px);line-height:1}.customer-receipt span{font-size:clamp(16px,1.5vw,22px);line-height:1;color:#fff;text-shadow:-1.5px -1.5px 0 #315446,1.5px -1.5px 0 #315446,-1.5px 1.5px 0 #315446,1.5px 1.5px 0 #315446,0 2px 0 #315446}
@media(prefers-reduced-motion:reduce){.customer-receipt{animation:none;opacity:1}.customer-receipt strong,.customer-receipt span{transition:none}}

/* House capacity and the shared washing corner retain the café's green/brass kit. */
button.dish-count{width:100%;min-height:44px;padding:2px 0;border:0;background:transparent;text-align:left;font:inherit;font-size:11px;color:#c9e5d7;cursor:pointer}
button.dish-count>span{margin-left:auto;font-size:20px;color:#f2d293}
button.dish-count:hover{color:#fff0c9}
button.dish-count:focus-visible{outline:2px solid #ffd48a;outline-offset:2px;border-radius:4px}
.house-unlocks{display:grid!important;grid-template-columns:1fr 1fr;gap:14px;font-size:11px}
.house-unlocks span{display:flex;justify-content:space-between;gap:6px;flex-wrap:wrap}
.house-progress .house-unlocks .shop-meter{height:6px;margin:5px 0 12px}
.house-benefits{width:100%;border-collapse:collapse;font-size:12px;margin:12px 0;text-align:left;font-variant-numeric:tabular-nums}
.house-benefits caption{text-align:left;font-weight:900;color:#28563f;margin-bottom:7px}
.house-benefits th,.house-benefits td{padding:6px 7px;border-bottom:1px solid #8a99634d}
.house-benefits thead{background:#52724b1c;color:#345d43;font-size:11px}
.house-benefits tbody th{font-weight:600}
.house-benefits td{text-align:center;font-weight:800}
.house-benefits tr>th:not(:first-child){text-align:center}
.house-benefits tbody tr:nth-child(-n+3){background:#ffedb93d}
.house-levels{text-align:left;font-size:11px;border-top:1px solid #8a996360;border-bottom:1px solid #8a996360;padding:8px 0;margin-bottom:14px}
.house-levels summary{cursor:pointer;min-height:32px;align-content:center;color:#28563f;font-weight:800}
.house-levels summary:focus-visible{outline:2px solid #32664f;outline-offset:2px}
.house-levels p{margin:7px 0;line-height:1.5;color:#735533}
.house-levels ol{padding:0;list-style:none;margin:8px 0}
.house-levels li{padding:8px;border-bottom:1px solid #8a996340;display:grid;gap:4px;line-height:1.4}
.house-levels li[aria-current]{background:#5a84572b;border-left:3px solid #4b7852}
.house-levels small{font-size:10px;color:#745b3b}
.washing-cups{display:flex;justify-content:center;flex-wrap:wrap;gap:10px 24px;font-size:13px;padding:8px 0 14px;border-bottom:1px solid #8a996360}
.washing-cups>span{display:flex;align-items:center;gap:5px}
.washing-cups .hud-icon{width:27px;height:27px}
.washing-cups b{font-size:20px;color:#28563f}
.washing-machine,.washing-manual{text-align:left;padding:14px 0}
.washing-machine h3,.washing-manual h3{margin:0;color:#28563f;font-size:17px;display:flex;align-items:center;gap:8px}
.washing-machine h3 .hud-icon{width:29px;height:29px}
.washing-machine p,.washing-manual p,.washing-locked{font-size:12px;line-height:1.6;margin:9px 0;color:#6f5335}
.washing-machine .washing-status{font-weight:900;color:#345f48}
.washing-machine .washing-price{font-weight:800;color:#493420}
.washing-machine .shop-btn,.washing-manual .shop-btn{width:100%;min-height:44px;margin-top:4px}
.washing-manual{border-top:1px solid #8a996360}
@media(max-width:600px){button.dish-count{font-size:10px}.house-unlocks{gap:9px}.house-benefits{font-size:11px}.house-benefits th,.house-benefits td{padding:6px 4px}.house-levels summary{min-height:44px}}
.choosing-prop [data-dialog="upgrades"] .shop-modal{max-height:min(760px,calc(100dvh - 64px))}
.house-benefits tbody th,.house-benefits tbody td{color:#493420}
.choosing-prop [data-dialog="upgrades"] h2{margin-right:42px;margin-left:0}


/* Quiet neighbourhood drama shares the existing café palette. */
.cleaning-count{color:#ffe5a4;border-top:1px dashed #d7bc7b66}.cleaning-count>span:first-child{font-size:20px;flex:0 0 23px}.cleaning-count b{font-size:11px}.cleaning-list{display:flex;flex-direction:column;gap:12px}.cleaning-choice{display:flex;align-items:center;gap:12px;text-align:left;min-height:64px;white-space:normal}.cleaning-choice .cleaning-symbol{font-size:25px;flex:0 0 34px}.cleaning-choice>span:last-child{display:flex;flex-direction:column;gap:5px;min-width:0}.cleaning-choice b{font-size:15px}.cleaning-choice small{font-size:12px;line-height:1.4}.cleaning-empty{padding:18px 0;line-height:1.6}
.drama-speech{position:absolute;max-width:min(230px,calc(100vw - 36px));padding:9px 12px;border:2px solid #775332;border-radius:13px 13px 13px 3px;background:#fff2ce;color:#47321d;font-size:13px;font-weight:750;line-height:1.4;text-align:center;box-shadow:0 3px 0 #46311f60;transform:translate(-50%,-100%);pointer-events:none;z-index:2;overflow-wrap:break-word}.drama-speech::after{content:'';position:absolute;bottom:-7px;left:24px;width:10px;height:10px;transform:rotate(45deg);background:#fff2ce;border-right:2px solid #775332;border-bottom:2px solid #775332}
.drama-clean-badge{position:absolute;display:flex;align-items:center;justify-content:center;gap:4px;min-width:44px;min-height:44px;padding:4px 7px;border:2px solid #f9df9a;border-radius:10px 5px 10px 5px;background:#315e50ed;color:#fff1ca;box-shadow:0 3px 0 #273a2d80;font-size:21px;font-weight:800;transform:translate(-50%,-50%);pointer-events:auto;z-index:3;touch-action:manipulation}.drama-clean-badge small{font-size:10px;line-height:1.2}.drama-clean-badge:active:not(:disabled){transform:translate(-50%,-50%) scale(.96)}
@media(max-width:600px){.drama-speech{max-width:176px;padding:7px 9px;font-size:11px}.cleaning-count b{font-size:10px}.cleaning-choice b{font-size:13px}}
@media(max-height:520px){.hud-business .cleaning-count{min-height:44px;padding-top:3px;padding-bottom:3px}.drama-speech{max-width:190px;font-size:11px}}

/* Storm choices stay with the affected orders, including when the list is folded. */
.storm-notice{display:grid;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:6px;margin:0 8px 7px;padding:7px 6px;border:1px solid #e4bb75;border-radius:7px;background:#4d472ced;color:#fff0bf;box-shadow:inset 0 1px #ffe8ad30}
.storm-symbol{font-size:22px}.storm-notice>div{min-width:0;display:grid;gap:4px}.storm-notice b{font-size:11px;line-height:1.3}.storm-notice small{font-size:10px;line-height:1.35;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.storm-notice[data-phase="panic"]{border-color:#efa476;background:#613d2cec}.storm-notice button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-width:44px;min-height:44px;padding:3px;border:1px solid #f2d49a;border-radius:6px;background:linear-gradient(#d8b675,#ad7b42);color:#35291c;box-shadow:0 2px #392d20}.storm-notice button .hud-icon{width:22px;height:22px}.storm-notice button b{font-size:9px;white-space:nowrap}
.order-slip.unpaid{border-left:3px solid #efc672;padding-left:4px}.order-slip.unpaid small{color:#ffe2a0}.order-serve.order-collect{background:#c59e55;border-color:#f1d498}.storm-active #customer-details{display:none}.storm-active #customer-list{max-height:88px}.storm-active .storm-notice button:active:not(:disabled){transform:translateY(1px)}
@media(max-width:600px){.storm-notice{margin:0 5px 5px;padding:6px 4px;grid-template-columns:minmax(0,1fr) auto;gap:5px}.storm-notice .storm-symbol{display:none}.storm-notice b{font-size:10px}.storm-notice small{font-size:9px}.storm-active #customer-list{max-height:72px}}
@media(max-width:760px) and (max-height:520px){.storm-active #customer-list{max-height:44px}}

/* Mobile play leaves the scene open. Quay/kho and orders are deliberate drawers. */
.mobile-pause,.shop-top-actions .mobile-hud-toggle,.mobile-drawer-title{display:none}
@media(max-width:900px),(max-height:520px){
 .shop-hud-top{top:max(8px,env(safe-area-inset-top));left:max(8px,env(safe-area-inset-left));right:max(8px,env(safe-area-inset-right));display:flex;align-items:center;gap:7px;height:46px}
 .hud-identity,.hud-career{display:contents}.shop-hud-top .shop-shift,.shop-hud-top .shop-objective{display:none!important}
 .shop-brand{display:flex;align-items:center;min-width:0;gap:5px;flex:1;transform:none}.shop-brand>div{min-width:0}.shop-brand small{display:none}.shop-brand-seal{width:27px;height:34px;flex:0 0 27px}.shop-brand-seal .hud-icon{width:22px;height:22px}
 .shop-brand strong,#shop-hud-name{font-size:13px;line-height:1.1;max-width:155px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;-webkit-text-stroke:0}
 .hud-career .shop-wallet{display:flex;width:auto;min-height:38px;margin:0;padding:4px 7px;gap:3px;flex:none}.shop-wallet strong{font-size:14px;min-width:0;max-width:67px}.shop-wallet .hud-icon{width:16px;height:18px}.shop-wallet small{display:none}.shop-wallet i{display:block;margin:0 3px;height:18px}
 .mobile-pause.shop-icon-btn{display:block;width:44px;height:44px;flex:0 0 44px;font-size:23px;padding:0}
 .shop-top-actions{position:absolute;left:50%;right:auto;bottom:calc(10px + var(--safe-bottom));transform:translateX(-50%);display:flex;justify-content:center;gap:4px;width:max-content;max-width:calc(100% - 16px);margin:0;padding:5px;border-radius:12px}
 .shop-top-actions .mobile-hud-toggle{display:flex}.shop-top-actions .control-divider{display:none}.shop-top-actions button,.shop-top-actions .owner-control{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;width:44px;min-width:44px;max-width:44px;height:46px;min-height:46px;padding:3px;border-radius:7px}
 .shop-top-actions .hud-icon{width:23px;height:23px}.shop-top-actions .owner-control b{display:none}.shop-top-actions small{font-size:9px;font-weight:900;line-height:1}.mobile-hud-toggle em{position:absolute;top:-5px;right:-3px;min-width:17px;padding:1px 3px;border:1px solid #ffe1a1;border-radius:7px;background:#965b30;color:white;font-size:10px;font-style:normal;font-weight:900}.mobile-hud-toggle[aria-expanded="true"]{outline:2px solid #ffe4a6}
 .hud-business,.shop-customers{display:none;left:8px;right:8px;bottom:calc(75px + var(--safe-bottom));width:auto;max-height:min(54dvh,410px);overflow:auto;overscroll-behavior:contain;pointer-events:auto;padding:10px;border-width:2px}
 #ui.mobile-business-open .hud-business{display:grid;grid-template-columns:1fr;gap:8px}.mobile-drawer-title{display:flex;align-items:center;gap:7px;border-bottom:1px solid #c7ae7770;padding-bottom:3px}.mobile-drawer-title>b{font-size:12px;margin-right:auto}.mobile-drawer-title button{min-width:44px;min-height:44px;background:transparent;border:0;color:#ffe6b3;font-size:25px}
 .hud-business .shop-workbench-title,.hud-business .shop-brew-line{display:flex;align-items:center;justify-content:space-between}.shop-workbench-title>span{margin:0}.shop-brew-line>span{font-size:11px}.shop-workbench-title b{font-size:12px}.hud-business .shop-supplies{padding-top:7px}#stock-strip{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}#stock-strip .stock-unit{min-height:32px}.hud-business .shop-dock{grid-template-columns:1fr 1fr}.hud-business .shop-dock button{min-height:44px;flex-direction:row;gap:8px}.shop-dock b{font-size:12px}.dish-count{min-height:44px;font-size:12px}
 #ui.mobile-orders-open .shop-customers{display:block}.shop-customers-title{padding:0;min-height:44px}.shop-customers-title>b,.shop-customers-title>span{font-size:12px}.shop-customers-content{padding:0}.shop-customers #customer-list{max-height:27dvh}.shop-customers .order-select b{font-size:13px}.shop-customers .order-slip small{font-size:11px}.shop-customers #customer-details{display:none}
 #ui.has-storm:not(.mobile-orders-open) .shop-customers{display:block;max-width:360px;left:50%;right:auto;transform:translateX(-50%);width:calc(100% - 16px);padding:4px;border-width:1px;overflow:visible}
 #ui.has-storm:not(.mobile-orders-open) .shop-customers-title,#ui.has-storm:not(.mobile-orders-open) .shop-customers-content{display:none}
 .storm-notice{margin:0;padding:5px 7px;grid-template-columns:20px minmax(0,1fr) auto;gap:6px}.storm-notice .storm-symbol{display:block}.storm-notice b{font-size:11px}.storm-notice small{font-size:10px}
 #ui.has-storm.mobile-business-open .hud-business{bottom:calc(150px + var(--safe-bottom));max-height:42dvh}
 .rain-alert{top:62px;left:8px;right:8px;max-width:none;min-height:44px;padding:6px 10px;font-size:11px}.rain-alert.all-covered{display:none}
 .shop-toast{top:112px;left:50%;max-width:calc(100% - 24px);width:max-content;font-size:12px;padding:8px 10px}.owner-actions{left:150px;right:8px;bottom:calc(90px + var(--safe-bottom));transform:none;max-width:none;flex-wrap:wrap;gap:4px;padding:5px;white-space:normal}.owner-actions button{flex:1 0 auto;min-width:44px;min-height:44px}.owner-joystick{bottom:calc(90px + var(--safe-bottom));left:20px}.owner-joystick small{display:none}
}
@media(max-height:520px){
 .shop-brand strong,#shop-hud-name{max-width:210px}.shop-hud-top{right:8px}.hud-business,.shop-customers{left:auto;right:8px;width:300px;max-height:calc(100dvh - 140px)}.shop-top-actions{left:8px;transform:none}.rain-alert{right:auto;max-width:275px}.shop-toast{top:62px;max-width:calc(100% - 600px);min-width:180px}.shop-customers #customer-list{max-height:30dvh}
 #ui.has-storm:not(.mobile-orders-open) .shop-customers{left:auto;right:8px;transform:none;width:290px}
}
