/* Scene-first interactive game shell. All model and recipe controls remain reachable. */
:root{--world:#e6e4d6;--scene:#d7dfc9;--dock:#fbf7ee;--shadow:0 14px 40px #3f3b2920}
body{background:var(--world);padding-bottom:98px;font-size:13px}button{transition:background .18s,color .18s,transform .18s}button:active{transform:translateY(1px)}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--wine);outline-offset:4px}button:disabled{cursor:not-allowed;opacity:.42}button svg{width:24px;height:24px}
.brand-bar{height:77px;padding:0 30px;background:var(--wine);color:var(--paper);border-bottom:3px solid var(--gold);position:relative;z-index:20}.wordmark{color:var(--paper);font-size:30px}.wordmark span{color:var(--gold)}.wordmark small{color:#d7bd93;letter-spacing:.19em;font-size:8px}.header-actions{margin-left:auto;gap:22px}.header-actions button{color:var(--paper);font-size:11px}.help-button span{border-color:#ccb18a}.game-account-bar{display:none}
.top-nav{position:fixed;bottom:18px;left:50%;transform:translateX(-50%);display:flex;justify-content:center;gap:0;margin:0;background:var(--wine);box-shadow:0 8px 30px #35241d35;border:1px solid var(--gold);padding:8px;z-index:30}.top-nav button{min-width:128px;min-height:57px;display:flex;align-items:center;justify-content:center;gap:10px;padding:10px 16px;font-size:12px;letter-spacing:.05em;border:0;color:#e9d9c2}.top-nav button.active{background:var(--paper);color:var(--wine);border:0}.top-nav button svg{width:23px;height:23px;flex-shrink:0}.top-nav button:hover{background:#b8965a33}.top-nav button.active:hover{background:var(--paper)}
.game-shell{max-width:none;width:100%;display:block;min-height:calc(100vh - 180px);padding:0}.side-rail{display:none}.world-workshop .side-rail{display:block;position:absolute;left:15px;top:168px;width:78px;padding:0;border:0;z-index:2;background:transparent}.side-rail>*:not(.stage-nav){display:none}.stage-nav{margin:0;display:grid;gap:5px}.stage-nav button{display:grid;justify-content:center;text-align:center;width:78px;gap:0;padding:8px 3px;min-height:55px;background:#f8f4e6;border:1px solid #c5b89e;font-size:10px;line-height:1.6}.stage-nav button>span{font-family:var(--mono);font-size:11px;margin:auto;color:var(--gold)}.stage-nav button>b{display:none}.stage-nav button.active{background:var(--wine);color:var(--paper);border:1px solid var(--wine)}.stage-nav button:disabled{opacity:.3}
#workspace{padding:0 26px;max-width:1800px;margin:auto;min-width:0}.world-workshop #workspace{padding-left:112px}.page-heading{display:block;margin:0;padding:0;height:0;border:0}.page-heading>div:first-child{display:none}.wallet{position:absolute;top:16px;right:252px;display:flex;gap:26px;color:var(--paper);border:0;text-align:right}.wallet>div{padding:0;border:0;display:flex;flex-direction:column;gap:0}.wallet span{font-size:8px;color:#d7bd93}.wallet strong{font-size:26px;color:var(--paper);line-height:1.3;font-family:var(--mono);font-weight:400}.wallet small{font-size:8px;color:#d7bd93;margin-left:6px}
.weather-band{min-height:49px;padding:12px 2px;gap:12px;border:0;color:#59584d;background:none;font-size:11px}.weather-band svg{height:18px;width:18px}.weather-note{margin-left:auto;font-size:10px;max-width:40%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.open-label{font-family:var(--mono);font-size:9px;margin-left:15px;color:var(--wine)}
#view-content{min-width:0;animation:world-arrive .35s ease-out}.town-world,.business-world,.shop-world{display:grid;grid-template-columns:minmax(0,1fr) 346px;min-height:calc(100vh - 245px);box-shadow:var(--shadow);border:1px solid #bdbaa8;position:relative;overflow:hidden;background:var(--scene)}.town-canvas{position:relative;overflow:hidden;min-height:610px;background:#e3e7d5}.world-caption{position:absolute;left:35px;top:30px;z-index:2;pointer-events:none}.world-caption h2,.closing-caption h2{font-family:var(--serif);font-size:36px;line-height:1.5;color:var(--wine);font-weight:400;margin:8px 0}.world-caption p,.closing-caption p{font-size:12px;color:#6c715d}.world-caption .eyebrow{font-size:10px;color:#6b795c}.town-illustration{position:absolute;inset:7% 0 auto;width:100%;height:90%;object-fit:contain}.map-locations{position:absolute;inset:0}.map-pin{position:absolute;left:var(--pin-x);top:var(--pin-y);transform:translate(-50%,-50%);display:flex;align-items:center;gap:7px;padding:6px 11px 6px 6px;background:#faf6eae8;border:1px solid #9d9b7e;box-shadow:0 7px 15px #43523b20;color:var(--wine);font-size:11px;min-height:39px}.map-pin span{display:grid;place-items:center;width:25px;height:25px;border:1px solid #a8a88a;font-family:var(--mono);font-size:10px}.map-pin b{font-weight:500}.map-pin.selected{background:var(--wine);border-color:var(--gold);color:var(--paper)}.map-pin.selected span{border-color:var(--gold);color:var(--gold)}.map-pin.selected:after{content:'';position:absolute;left:50%;bottom:-9px;width:12px;height:12px;background:var(--wine);transform:rotate(45deg);border-right:1px solid var(--gold);border-bottom:1px solid var(--gold)}.map-pin:hover{background:var(--gold);color:var(--paper);transform:translate(-50%,-54%)}.map-legend{position:absolute;bottom:20px;left:26px;right:26px;display:flex;align-items:center;gap:10px;color:#677052;font-size:10px}.map-legend svg{width:20px;height:20px}.map-legend strong{margin-left:auto;display:grid;font-family:var(--mono);font-size:28px;font-weight:400;color:var(--wine);line-height:1.4}.map-legend strong small{font-family:var(--sans);font-size:9px;text-align:right;color:var(--muted)}
.world-dock{min-width:0;background:var(--dock);border-left:1px solid #c9bfac;padding:28px 25px}.world-dock h2{font-family:var(--serif);font-size:26px;line-height:1.5;color:var(--wine);font-weight:400;margin:10px 0}.world-dock>p{font-size:12px;line-height:1.9;color:var(--muted)}.world-dock .eyebrow{font-size:9px;color:var(--gold)}.town-numbers{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:19px 0;border-bottom:1px solid var(--line)}.town-numbers small{display:block;font-size:9px;color:var(--muted)}.town-numbers b{font-family:var(--mono);font-size:17px;color:var(--wine);font-weight:400;display:block;margin-top:5px;white-space:nowrap}.town-numbers b small{display:inline;font-family:var(--sans)}
.hour-chart{display:flex;align-items:flex-end;gap:8px;height:115px;margin:24px 0 12px;padding-bottom:22px;position:relative;border-bottom:1px solid var(--line)}.hour-chart>div{flex:1;height:100%;display:flex;justify-content:flex-end;align-items:center;flex-direction:column;position:relative}.hour-chart b{font-size:9px;font-family:var(--mono);color:var(--muted);font-weight:400}.hour-chart i{display:block;width:100%;max-width:23px;height:var(--height);min-height:3px;background:#a8b18a;transform-origin:bottom;animation:bar-grow .7s ease-out}.hour-chart small{position:absolute;bottom:-20px;font-size:9px;font-family:var(--mono);color:var(--muted)}.hour-chart>div:nth-child(6) i{background:var(--wine)}.town-cohorts{display:grid;gap:5px;padding:12px 0}.town-cohorts>span{display:flex;gap:7px;align-items:center}.town-cohorts i{width:5px;height:5px;background:var(--gold);display:block}.town-cohorts small{font-size:10px;color:var(--muted)}.town-cohorts b{margin-left:auto;font-family:var(--mono);font-weight:400;font-size:10px}.assumption-note{font-size:9px!important;color:var(--muted);line-height:1.8;margin:10px 0 18px}.primary-button{background:var(--wine);border:1px solid var(--wine);box-shadow:0 3px 0 #43111b;min-height:48px;font-size:12px;padding:14px 16px}.primary-button:hover{background:#4c1420;color:var(--paper)}.outline-button{min-height:43px;font-size:11px;border:1px solid #bca986;background:var(--dock);padding:10px 15px}.town-controls{margin-top:18px;border-top:1px solid var(--line);padding-top:12px}.town-controls summary,.technical-drawer summary,.inventory-drawer summary,.recipe-editor summary{cursor:pointer;font-size:11px;color:var(--wine);min-height:40px;line-height:40px}.town-controls label{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:10px;margin:9px 0}.town-controls select,.town-controls input{max-width:180px;min-width:75px;border:1px solid var(--line);padding:6px;background:var(--surface);color:var(--wine)}.town-controls input{width:100px}.model-notes{font-size:13px;line-height:2}.model-notes p{margin:18px 0}.model-notes a{color:var(--wine);text-decoration:underline}
.mission-panel{border:0;padding:0 0 14px;margin:0;min-height:51px;gap:12px}.mission-panel h2{font-size:17px;line-height:1.5;margin:1px 0}.mission-panel .eyebrow{font-size:8px}.mission-panel .journey-steps{display:none}.mission-panel .outline-button{min-height:38px;padding:7px 14px;font-size:10px;margin-left:auto}.workshop-world{min-width:0}.work-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:0;border:1px solid #bdbaa8;box-shadow:var(--shadow);background:var(--scene)}.work-stage{min-width:0;background:#e3dfcc;padding:0}.work-grid>.control-panel{background:var(--dock);padding:26px 25px;border-left:1px solid #c9bfac}.control-panel h2{font-size:24px}.control-panel .panel-heading{margin-bottom:15px;gap:10px}.control-panel .panel-heading button{font-size:10px}.recipe-name{background:var(--paper);font-size:16px;padding:8px;border:1px solid var(--line)}.recipe-meta{gap:9px;margin:10px 0}.recipe-editor{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:18px}.recipe-editor .ingredient-table{font-size:11px}.recipe-editor .ingredient-table td{padding:8px 0}.recipe-editor input{width:62px}.recipe-meta label,.recipe-meta select{font-size:10px}.recipe-total{font-size:10px;margin-top:12px}.recipe-cost{margin:14px 0;font-size:10px}.recipe-cost b{font-size:15px}.button-note{font-size:9px}.process-copy{font-size:11px;margin-bottom:15px}.batch-meta{font-size:10px;gap:10px}.process-detail{font-size:10px}.process-history{font-size:10px}.technical-drawer,.inventory-drawer{background:#f8f4e6;border:1px solid var(--line);border-top:0;padding:0 20px}.technical-drawer[open],.inventory-drawer[open]{padding-bottom:20px}.quality-strip{margin-top:14px}.technical-drawer .quality-strip{box-shadow:none}
.flavor-world{display:flex;flex-direction:column;min-height:510px}.flavor-hero{position:relative;flex:1;padding:34px 35px 0;overflow:hidden;min-height:315px;background:#d9dfc7}.flavor-hero h2{font-family:var(--serif);font-size:32px;line-height:1.5;margin:8px 0;color:var(--wine);font-weight:400}.flavor-hero p{font-size:11px;color:#69705a}.hero-cup{position:absolute;right:18%;top:42px;width:230px;height:270px;animation:cup-float 5s ease-in-out infinite}.hero-cup svg{height:100%;width:100%;filter:drop-shadow(0 12px 0 #a9b78b25)}.flavor-orbit{position:absolute;bottom:30px;left:35px;display:flex;gap:30px;font-family:var(--mono);font-size:25px;color:var(--wine);line-height:1.1}.flavor-orbit small{font-family:var(--sans);font-size:9px;color:var(--muted)}.flavor-tray{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:0;background:#eee5d2;border-top:1px solid #c8bb9f;padding:14px 12px}.flavor-tray button{min-width:0;display:flex;flex-direction:column;align-items:center;padding:6px 2px;border:1px solid transparent;color:var(--wine);font-size:10px}.flavor-tray button[aria-pressed=true]{border-color:var(--gold);background:#f7f2e8}.flavor-tray button:hover{background:#f7f2e8}.flavor-tray svg{width:100%;max-width:90px;height:auto}.flavor-tray span{display:block;font-size:10px;white-space:nowrap}.workflow-ribbon{display:flex;justify-content:space-around;padding:13px 10px;background:#f3ebdc;gap:8px}.workflow-ribbon span{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:10px}.workflow-ribbon b{color:var(--gold);font-family:var(--mono);font-size:9px;font-weight:400}
.hands-on-grid #workbench-container{padding:24px 20px}.hands-on-grid .cooking-station{background:transparent;border:0;box-shadow:none;padding:0}.stage-receipt{margin:0;padding:8px 18px;background:#eee8d7;border:0;border-bottom:1px solid #c8bda5}.stage-receipt p{display:none}.station-heading h2{font-size:22px}.station-art{background:transparent}.station-readings{padding:8px 0}.station-small{font-size:9px}.station-hint{font-size:11px}.processPanel .field{font-size:11px}.hands-on-grid .mix-recipe-steps{font-size:11px}.hands-on-grid .process-copy{margin-bottom:10px}.hands-on-grid .work-stage{background:#e3dfcc}
.shop-world{min-height:610px;overflow:visible}.shop-world .live-shop{border:0;padding:0;margin:0;background:#c3d0bb;min-width:0;display:flex;flex-direction:column;position:relative}.live-shop-heading{padding:24px 28px 12px;margin:0;border:0;gap:10px}.live-shop-heading h2{font-family:var(--serif);font-size:28px;margin:7px 0;line-height:1.4}.live-shop-heading .live-badge{font-size:9px;padding:5px 8px}.live-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 22px;padding:0;border:0;background:#f7f2e8ce;z-index:2}.live-stats>div{padding:10px 14px;border:0}.live-stats span{font-size:9px}.live-stats strong{font-family:var(--mono);font-size:18px;white-space:nowrap;color:var(--wine)}.shop-viewport{height:auto;flex:1;min-height:365px;border:0;margin:0;overflow:hidden;position:relative}.shop-viewport #shop-3d{position:absolute;inset:0}.shop-viewport canvas{display:block;width:100%;height:100%;touch-action:pan-y}.shop-scene-label{bottom:9px;left:25px;right:25px;color:#5c6656;font-size:9px;display:flex;justify-content:space-between;background:none;padding:0;pointer-events:none}.shop-scene-label small{font-size:8px}.shop-live-controls{padding:15px 22px;background:#f4ecdbea;border-top:1px solid #bdbba5;gap:10px;display:flex;align-items:center;flex-wrap:wrap}.shop-live-controls b{font-size:12px}.shop-live-controls p{font-size:10px;margin:4px 0}.shop-control-buttons{margin-left:auto;gap:6px;display:flex;flex-wrap:wrap}.shop-control-buttons button{font-size:10px;min-height:37px;padding:7px 10px}.shop-live-note{display:none}.shop-world #shop-detail{padding:22px}.shop-world .control-panel{border:0;padding:0;background:none}.shop-world .shop-forecast{padding:14px 0;margin:16px 0;border:0;border-top:1px solid var(--line);background:none}.shop-world .process-copy{display:none}.shop-world .field{font-size:10px;display:flex;align-items:center;justify-content:space-between;gap:10px;margin:10px 0}.shop-world .field input,.shop-world .field select{width:170px;min-height:35px;font-size:11px;background:#f8f4e6}.demand-title{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:var(--muted)}.demand-title b{font-family:var(--mono);font-size:24px;font-weight:400;color:var(--wine)}.demand-title small{font-size:9px;font-family:var(--sans)}.forecast-line{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:8px 0;font-size:10px;padding:5px 0}.forecast-line span{color:var(--muted)}.forecast-line b{font-family:var(--mono);font-weight:400;color:var(--wine);text-align:right}.shop-forecast>small{font-size:9px;line-height:1.8;color:var(--muted);display:block;margin-top:10px}.order-portrait{display:flex;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid var(--line)}.order-portrait .customer-avatar{width:62px;height:62px;flex-shrink:0;margin:0}.order-portrait>div:not(.customer-avatar){display:grid;gap:6px}.order-portrait b{font-size:13px;font-weight:400;color:var(--wine)}.order-portrait span{font-size:10px;color:var(--muted)}.service-dock #live-feedback{font-size:11px;line-height:1.8;min-height:45px;margin:16px 0}.dock-stock{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:13px 0}.dock-stock>span{text-align:center;min-width:0;position:relative}.dock-stock svg{width:100%;height:auto}.dock-stock b{display:block;font-family:var(--mono);font-size:17px;color:var(--wine);font-weight:400}.dock-stock small{font-size:8px;display:block;line-height:1.4}.shop-world .receipt{font-size:11px;padding:0;margin-top:14px}.shop-world .receipt-row{font-size:10px;padding:9px 0}.shop-world .receipt-row.total{font-size:12px}.shop-world .customer-card{margin:10px 0}.shop-world .customer-card h3{font-size:22px}.shop-world .customer-avatar{width:65px;height:65px}.shop-world .customer-card p{font-size:11px}.shop-world .order-ticket{padding:10px 12px;margin:10px 0}.shop-world .service-steps{margin:7px 0}.shop-world .order-choices button{font-size:10px;padding:9px 10px}.shop-world .sales-live{font-size:10px}.shop-world .customer-queue{display:none}.shop-world .live-shop:has(+aside #shop-form) .shop-live-controls{display:none}.shop-fallback{min-height:300px;display:grid;place-items:center;text-align:center;padding:30px;background:#c3d0bb;color:var(--wine)}
.closing-scene{position:relative;min-height:610px;background:#cfd6bf;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-end}.closing-caption{position:absolute;left:35px;top:30px;right:30px;z-index:2}.closing-caption h2{max-width:600px;font-size:32px}.closing-art{position:absolute;inset:35px 0 95px;opacity:.78}.closing-art .town-illustration{height:100%;inset:0}.profit-chart{display:flex;align-items:flex-end;gap:17px;min-height:155px;z-index:2;margin:0 30px 26px;background:#f5efdfeb;padding:22px 23px 32px;border:1px solid #c0ba9e}.profit-chart>div{flex:1;display:flex;flex-direction:column;align-items:center;height:95px;justify-content:flex-end;position:relative;min-width:0}.profit-chart i{display:block;background:var(--wine);height:var(--height);min-height:3px;width:100%;max-width:35px;transform-origin:bottom;animation:bar-grow .7s ease-out}.profit-chart .loss{background:#ad8474}.profit-chart b{font-family:var(--mono);font-size:10px;font-weight:400;margin-bottom:5px}.profit-chart small{position:absolute;bottom:-22px;font-family:var(--mono);font-size:9px;color:var(--muted);white-space:nowrap}.closing-number{padding:22px 0 18px;border-bottom:1px solid var(--line)}.closing-number small{font-size:10px;color:var(--muted);display:block}.closing-number b{font-family:var(--mono);font-weight:400;font-size:29px;color:var(--wine);display:block;margin-top:6px}.economic-note{padding:18px 0;margin:17px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:grid;gap:6px;font-size:11px;color:var(--muted)}.economic-note b{font-size:12px;color:var(--wine);font-weight:400}.economic-note small{font-size:9px;line-height:1.9}.closing-actions{display:grid;gap:13px}.closing-actions .text-button{text-align:left;font-size:11px}.game-footer{display:flex;justify-content:space-between;gap:12px;border:0;padding:16px 2px;font-size:8px;margin:0;color:#7a7b6b}.game-footer span:last-child{max-width:55%;text-align:right}.voice-caption{bottom:100px}.toast{bottom:108px}.dialog-close{min-width:44px;min-height:44px}.business-grid{gap:24px}#game-dialog{max-height:85vh}#game-dialog .business-grid{grid-template-columns:1fr}.game-quest-panel{display:none}
.map-person{animation:map-walk 6s linear infinite;animation-delay:var(--walk-delay);transform-box:fill-box;transform-origin:center}.map-train{animation:map-train 13s linear infinite}.map-car{animation:map-car 10s linear infinite}.motion-paused *{animation-play-state:paused!important}
@keyframes world-arrive{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes bar-grow{from{transform:scaleY(.05)}to{transform:scaleY(1)}}@keyframes cup-float{50%{transform:translateY(-8px) rotate(2deg)}}@keyframes map-walk{0%,100%{translate:0 0}50%{translate:calc(var(--walk-dir) * 45px) calc(var(--walk-dir) * 26px)}}@keyframes map-train{0%{transform:translate(110px,450px);opacity:0}8%,90%{opacity:1}100%{transform:translate(640px,755px);opacity:0}}@keyframes map-car{0%{translate:0 0}80%,100%{translate:-310px 179px}}
@media(min-width:1500px){.town-world,.business-world,.shop-world{grid-template-columns:minmax(0,1fr) 390px}.town-canvas,.closing-scene{min-height:690px}.work-grid{grid-template-columns:minmax(0,1fr) 360px}.flavor-world{min-height:610px}.hero-cup{width:300px;height:330px;top:55px}.flavor-hero{min-height:390px}.shop-viewport{min-height:475px}}
@media(max-width:1150px){.world-workshop #workspace{padding-left:90px}.world-workshop .side-rail{left:8px;width:68px}.stage-nav button{width:68px;font-size:9px}.town-world,.business-world,.shop-world{grid-template-columns:minmax(0,1fr) 310px}.world-dock{padding:22px 18px}.world-caption,.closing-caption{left:22px;top:23px}.world-caption h2,.closing-caption h2{font-size:29px}.town-canvas{min-height:610px}.map-pin{font-size:10px;padding:5px;gap:5px}.map-pin span{width:21px;height:23px}.work-grid{grid-template-columns:minmax(0,1fr) 290px}.work-grid>.control-panel{padding:21px 18px}.flavor-hero{padding:28px 22px;min-height:320px}.flavor-hero h2{font-size:26px}.hero-cup{width:180px;height:210px;right:5%;top:88px}.flavor-orbit{left:22px;bottom:24px}.flavor-tray{grid-template-columns:repeat(4,minmax(0,1fr));padding:7px}.flavor-tray svg{max-width:63px}.flavor-tray button{font-size:9px}.workflow-ribbon{gap:5px;padding:10px 7px}.workflow-ribbon span{font-size:9px;gap:4px}.live-stats{gap:0;margin:0 15px}.live-stats>div{padding:9px}.live-stats strong{font-size:14px}.live-shop-heading{padding:22px 18px 12px}.live-shop-heading h2{font-size:23px}.live-shop-heading .live-badge{display:none}.shop-world #shop-detail{padding:20px 17px}.shop-control-buttons{margin-left:0}.shop-scene-label small{display:none}}
@media(max-width:850px){.brand-bar{padding:0 17px;height:70px}.wordmark{font-size:26px}.wallet{right:158px;gap:16px;top:14px}.wallet strong{font-size:21px}.header-actions{gap:10px}.header-actions .voice-toggle{font-size:9px}.header-actions .help-button{font-size:0}.help-button span{font-size:12px}.town-world,.business-world,.shop-world{grid-template-columns:minmax(0,1fr);min-height:0}.world-dock{border-left:0;border-top:1px solid #bcb79f;padding:23px}.town-canvas{min-height:520px}.town-illustration{inset:9% 0 0;height:95%}.town-dock{display:grid;grid-template-columns:1fr 1fr;gap:4px 26px}.town-dock>.eyebrow,.town-dock>h2,.town-dock>p:first-of-type{grid-column:1}.town-dock>.hour-chart{grid-column:2;grid-row:2/5;margin-top:15px}.town-numbers{grid-column:1/3}.town-cohorts{grid-column:1/3;display:flex;gap:15px;flex-wrap:wrap}.town-dock>.assumption-note,.town-controls,.town-dock>.primary-button{grid-column:1/3}.world-workshop #workspace{padding-left:26px}.world-workshop .side-rail{display:none}.work-grid{grid-template-columns:minmax(0,1fr) 300px}.hero-cup{width:150px;height:190px;right:2%;top:95px}.flavor-hero h2{font-size:23px}.flavor-tray{grid-template-columns:repeat(4,minmax(0,1fr))}.shop-world .shop-viewport{min-height:440px}.shop-world .world-dock{padding:23px;display:block}.shop-world .shop-forecast .hour-chart{max-width:420px}.shop-world .dock-stock{max-width:420px}.shop-world .service-dock{display:block}.shop-world .field input,.shop-world .field select{width:220px}.shop-world .receipt{max-width:600px}.shop-world .customer-panel{max-width:600px}.closing-scene{min-height:520px}.closing-dock{display:grid;grid-template-columns:1fr 1fr;gap:8px 26px}.closing-dock>.eyebrow,.closing-dock>h2{grid-column:1/3}.closing-number{grid-column:1/3}.closing-dock .economic-note,.closing-actions{grid-column:1/3}.profit-chart{gap:12px}.weather-note{display:none}.open-label{margin-left:auto}.game-footer span:last-child{max-width:60%}.live-shop-heading{padding:24px}.live-stats{margin:0 23px}.live-stats strong{font-size:18px}.inventory-drawer{border-top:1px solid var(--line)}.town-controls input{font-size:16px}.town-controls select{font-size:14px}}
@media(max-width:620px){body{padding-bottom:87px}.brand-bar{height:66px;padding:0 13px}.wordmark{font-size:23px}.wordmark small{font-size:6px}.wallet{position:static;gap:15px;text-align:left;padding:10px 13px;background:#f2ebdc;color:var(--wine);display:flex}.wallet>div{flex-direction:row;align-items:center;gap:8px}.wallet span{font-size:8px;color:var(--muted)}.wallet strong{font-size:17px;color:var(--wine)}.wallet strong small{font-size:7px;color:var(--muted)}.page-heading{height:43px;margin:0 -13px}.header-actions{gap:15px}.header-actions .voice-toggle{font-size:9px}#workspace,.world-workshop #workspace{padding:0 13px}.weather-band{min-height:40px;padding:8px 0;gap:7px;font-size:9px}.open-label{font-size:7px;letter-spacing:0}.top-nav{bottom:0;left:0;right:0;transform:none;padding:5px 7px;width:100%;border-bottom:0;border-left:0;border-right:0;justify-content:space-between}.top-nav button{flex:1;min-width:0;padding:8px 3px;min-height:62px;flex-direction:column;gap:5px;font-size:9px;letter-spacing:0}.top-nav button svg{width:20px;height:20px}.town-canvas{min-height:440px}.world-caption{left:18px;top:20px}.world-caption h2{font-size:25px;margin:5px 0}.world-caption p{font-size:10px}.world-caption .eyebrow{font-size:8px}.town-illustration{top:12%;height:82%;width:135%;left:-17.5%}.map-pin{padding:4px 6px;min-height:32px;font-size:9px;gap:4px}.map-pin span{width:18px;height:20px;font-size:8px}.map-legend{bottom:15px;left:18px;right:18px;font-size:8px}.map-legend strong{font-size:22px}.map-legend strong small{font-size:8px}.town-dock{padding:20px 18px;gap:4px 13px}.world-dock h2{font-size:23px}.world-dock .eyebrow{font-size:8px}.town-dock>.hour-chart{gap:5px}.town-dock>p:first-of-type{font-size:10px}.town-numbers b{font-size:17px}.town-cohorts{gap:8px 14px}.town-cohorts small,.town-cohorts b{font-size:9px}.town-controls{margin-top:13px}.town-controls label{font-size:11px}.town-controls select{max-width:185px}.town-controls input{max-width:105px}.mission-panel h2{font-size:15px}.mission-panel .outline-button{font-size:9px;padding:6px 9px;max-width:155px}.mission-panel .eyebrow{font-size:7px}.work-grid{grid-template-columns:minmax(0,1fr)}.work-grid>.control-panel{border-left:0;border-top:1px solid #c9bfac;padding:23px 18px}.flavor-world{min-height:480px}.flavor-hero{min-height:310px;padding:23px 20px}.flavor-hero h2{font-size:27px}.hero-cup{width:192px;height:225px;right:3%;top:85px}.flavor-orbit{left:20px;bottom:24px;font-size:23px;gap:15px}.flavor-orbit small{font-size:8px}.flavor-tray{grid-template-columns:repeat(4,minmax(0,1fr));padding:7px}.flavor-tray button{padding:3px 0}.flavor-tray svg{max-width:64px}.flavor-tray span{font-size:9px}.workflow-ribbon span{font-size:9px}.recipe-meta label,.recipe-meta select{font-size:12px}.recipe-name{font-size:18px}.recipe-editor summary,.technical-drawer summary,.inventory-drawer summary{font-size:12px}.recipe-editor .ingredient-table td{font-size:12px}.recipe-editor input{font-size:16px}.hands-on-grid #workbench-container{padding:17px 12px}.hands-on-grid .control-panel{order:initial}.station-heading h2{font-size:20px}.stage-receipt{font-size:10px}.quality-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.quality-strip>div:first-child{grid-column:1/3}.technical-drawer,.inventory-drawer{padding:0 14px}.live-shop-heading{padding:21px 16px 14px}.live-shop-heading h2{font-size:22px}.live-shop-heading .eyebrow{font-size:8px}.live-stats{margin:0 12px;gap:2px}.live-stats>div{padding:9px 6px;min-width:0}.live-stats span{font-size:8px}.live-stats strong{font-size:12px;letter-spacing:0}.shop-world .shop-viewport{min-height:350px}.shop-live-controls{padding:13px 15px;display:block}.shop-control-buttons{margin-top:12px;display:flex;flex-wrap:nowrap}.shop-control-buttons button{flex:1;min-width:0;font-size:9px;padding:6px}.shop-world #shop-detail{padding:22px 17px}.shop-world .field{font-size:11px;gap:12px}.shop-world .field input,.shop-world .field select{font-size:14px;min-height:41px;width:185px}.shop-world .shop-forecast{margin:14px 0}.shop-world .process-detail,.shop-world .recipe-cost{font-size:11px}.shop-world .shop-forecast .forecast-line{font-size:10px}.forecast-line{font-size:11px}.shop-world .receipt-row{font-size:11px;gap:10px}.shop-world .customer-card{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.shop-world .customer-card .customer-avatar{margin:0}.shop-world .customer-card p{margin-left:auto}.closing-caption{left:20px;top:23px}.closing-caption h2{font-size:25px}.closing-caption p{font-size:10px}.closing-scene{min-height:440px}.closing-art .town-illustration{height:100%;width:135%;left:-17.5%}.profit-chart{margin:0 15px 20px;gap:7px;padding:18px 12px 28px;min-height:140px}.profit-chart b{font-size:8px}.profit-chart small{font-size:7px}.closing-dock{padding:20px 18px;gap:7px 15px}.closing-number b{font-size:28px}.game-footer{font-size:7px;display:block;line-height:1.7;padding:13px 2px}.game-footer span{display:block;text-align:left!important;max-width:none!important}.voice-caption{bottom:88px;right:13px;left:13px;max-width:none}.toast{bottom:84px}.dialog-taste-mode{width:calc(100% - 20px)}#game-dialog{width:calc(100% - 20px);padding:25px 19px;max-height:87vh}.business-grid{gap:20px}.ledger-stats{grid-template-columns:1fr}.model-notes{font-size:12px}.model-notes p{margin:14px 0}.town-world,.shop-world,.business-world{box-shadow:none}.town-controls summary{font-size:12px}}
.top-nav{height:auto;top:auto;align-items:center}.top-nav button.active:after{display:none}.wallet{z-index:21;pointer-events:none;right:340px}.live-stats span{color:#756f65;opacity:1}.live-stats div:first-child strong{color:var(--wine)}
.campaign-hud{display:grid;gap:3px;margin-left:30px;border-left:1px solid #b8965a66;padding-left:25px}.campaign-hud span{font-size:8px;color:#d7bd93}.campaign-hud b{font-family:var(--mono);font-size:13px;font-weight:400;color:var(--paper)}.game-footer .text-button{font-size:9px;margin-left:12px;min-height:25px}
.camera-controls{position:absolute;bottom:43px;left:23px;display:flex;gap:0;z-index:3;border:1px solid #b5b49c;background:#f7f2e8df}.camera-controls button{font-size:9px;padding:7px 13px;min-height:34px;color:var(--wine)}.camera-controls [aria-pressed=true]{background:var(--wine);color:var(--paper)}
.map-pin:disabled{opacity:.72}.map-pin.selected:disabled{opacity:1}
.illustrated-fallback{height:100%;padding:5px 10px;display:flex;flex-direction:column;justify-content:center}.illustrated-fallback svg{width:100%;max-height:390px}.illustrated-fallback p{font-size:9px;margin:0 0 12px}.fallback-neighbour{animation:fallback-idle 3s ease-in-out infinite;animation-delay:var(--walk-delay)}@keyframes fallback-idle{50%{translate:0 -3px}}
@media(max-width:620px){.camera-controls{left:16px;bottom:39px}.camera-controls button{padding:6px 11px}}
@media(max-width:850px){.campaign-hud{margin-left:20px;padding-left:18px}.campaign-hud span{font-size:7px}.campaign-hud b{font-size:11px}}
@media(max-width:620px){.campaign-hud{margin-left:15px;padding-left:12px}.campaign-hud span{display:none}.campaign-hud b{font-size:8px}.header-actions{gap:9px}.header-actions .voice-toggle{font-size:8px}}
@media(max-width:380px){.campaign-hud{margin-left:7px;padding-left:7px}.campaign-hud b{font-size:7px}.brand-bar{padding:0 10px}.header-actions{gap:6px}.wordmark{font-size:20px}}
@media(min-width:621px) and (max-width:850px){.wallet{right:215px}}
@media(max-width:620px){.town-dock{display:block}.town-dock .hour-chart{height:115px;margin:20px 0 13px}.town-cohorts{margin:12px 0}.town-dock h2{margin:10px 0}}
@media(max-width:620px){.wallet{position:relative;top:auto;right:auto;z-index:1;margin:0}.top-nav{height:auto;top:auto}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.map-train{transform:translate(415px,625px)}}

/* Player-owned shop identity and original mark gallery. */
.shop-brand-bar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:10px 40px;background:#f5efe3;border-bottom:1px solid #d8ccb7}.shop-brand-bar #player-shop{display:flex;align-items:center;gap:11px;text-align:left;min-width:0;max-width:75%}.shop-brand-bar #player-shop svg{width:44px;height:44px;flex-shrink:0}.shop-brand-bar #player-shop span{min-width:0}.shop-brand-bar small,.scene-shop-brand small{display:block;font-family:var(--mono);font-size:8px;letter-spacing:.12em;color:var(--muted)}.shop-brand-bar strong{display:block;font-family:var(--serif);font-size:19px;font-weight:400;color:var(--wine);overflow-wrap:anywhere}.shop-brand-bar .text-button{font-size:11px;white-space:nowrap}.scene-shop-brand{display:flex;gap:10px;align-items:center;border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:18px;min-width:0}.scene-shop-brand .shop-logo{width:47px;height:47px;flex-shrink:0}.scene-shop-brand>span{min-width:0;flex:1}.scene-shop-brand strong{display:block;overflow-wrap:anywhere;font-size:16px;font-family:var(--serif);font-weight:400;color:var(--wine)}.scene-shop-brand .text-button{font-size:10px;white-space:nowrap}.flavor-world>.scene-shop-brand{padding:12px 24px;margin:0;background:#f5efe3}.identity-editor{max-width:100%;min-width:0}.identity-editor h2{font-size:30px}.identity-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:30px;margin-top:24px}.identity-settings label{display:block;color:var(--wine);font-size:13px;margin-bottom:10px}.identity-settings input{width:100%;box-sizing:border-box;background:transparent;border:0;border-bottom:1px solid var(--wine);padding:10px 0;font-size:18px;color:var(--wine)}.identity-name-help{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);margin:7px 0}.identity-name-help output{font-family:var(--mono)}#shop-name-error{min-height:20px;font-size:11px;color:var(--wine);margin:4px 0 14px}.identity-preview{padding:20px 14px;border-block:1px solid #c8b390;background:#eee4d1;text-align:center;overflow:hidden}.identity-preview>.shop-logo{width:90px;height:90px;display:block;margin:0 auto 15px}.identity-preview small{display:block;color:var(--muted);font-size:8px;letter-spacing:.1em}.identity-preview strong{font-size:24px;font-family:var(--serif);font-weight:400;display:block;margin:10px 0;color:var(--wine);overflow-wrap:anywhere}.identity-preview span{font-family:var(--serif);font-size:11px;color:#94714d}.identity-settings>.button-note{margin-top:16px;line-height:1.8}.identity-options-heading{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:var(--wine);padding-bottom:14px}.identity-options-heading span:last-child{font-size:10px;color:var(--muted)}.identity-logo-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;max-height:450px;overflow:auto;padding:4px 5px 7px 4px}.identity-logo-option{border:1px solid transparent;padding:9px 4px;background:#fbf7ee;min-width:0;display:flex;flex-direction:column;align-items:center;gap:5px}.identity-logo-option .shop-logo{width:64px;height:64px;max-width:100%}.identity-logo-option small{font-size:9px;color:var(--muted);line-height:1.6;overflow-wrap:anywhere}.identity-logo-option[aria-pressed=true]{border-color:var(--wine);background:#ede6da}.identity-logo-option:hover{background:#ede6da}.identity-actions{border-top:1px solid var(--line);padding-top:20px;margin-top:24px}#game-dialog:has(.identity-editor){width:min(960px,calc(100% - 32px));max-height:90dvh;box-sizing:border-box}.identity-editor .dialog-copy{margin:12px 0;font-size:13px}
@media(max-width:680px){.shop-brand-bar{padding:9px 16px;gap:8px}.shop-brand-bar strong{font-size:16px}.shop-brand-bar #player-shop svg{width:36px;height:36px}.shop-brand-bar small{font-size:7px}.shop-brand-bar .text-button{font-size:9px}.identity-layout{grid-template-columns:1fr;gap:20px;margin-top:18px}.identity-settings input{font-size:16px}.identity-preview{display:flex;align-items:center;gap:15px;text-align:left;padding:14px}.identity-preview>.shop-logo{width:68px;height:68px;flex-shrink:0;margin:0}.identity-preview>div{min-width:0}.identity-preview strong{font-size:21px;margin:5px 0}.identity-options-heading{padding-bottom:8px}.identity-logo-grid{grid-template-columns:repeat(3,minmax(0,1fr));max-height:310px;gap:5px}.identity-logo-option .shop-logo{width:62px;height:62px}.identity-logo-option small{font-size:9px}.identity-actions{display:flex;flex-direction:column;gap:10px}.identity-actions button{width:100%;min-height:44px}.identity-editor h2{font-size:24px}.scene-shop-brand strong{font-size:15px}}

.identity-actions{position:sticky;bottom:0;background:var(--dock);z-index:2;padding-bottom:4px}

@media(max-width:680px){.identity-preview.long-name strong{font-size:15px;line-height:1.6}.identity-actions{padding-top:10px;margin-top:12px;gap:6px}}

.illustrated-fallback svg .shop-logo{width:112px;height:112px;max-height:none}

/* v29 — a living miniature, with motion attached to the player's actions. */
.town-3d{position:absolute;inset:0;z-index:1}.town-3d canvas,.gelato-3d canvas{width:100%;height:100%;display:block}.town-canvas[data-scene=webgl]>.town-illustration{visibility:hidden}.town-canvas .map-locations{z-index:4;pointer-events:none}.map-locations button{pointer-events:auto}.town-canvas .map-legend{z-index:3}.world-caption{z-index:3}.world-caption h2{text-shadow:0 1px 0 #f7f2e8}.town-canvas[data-scene=webgl] .world-caption{padding:14px 20px 15px;background:#f7f2e8e8;border-left:2px solid var(--gold);left:24px;top:23px}.town-canvas[data-scene=webgl] .world-caption h2{font-size:30px;margin:5px 0}.town-canvas[data-scene=webgl] .world-caption p{margin:3px 0}.map-pin{transition:background .2s,border-color .2s,box-shadow .2s}.map-pin.selected{box-shadow:0 0 0 5px #b8965a28,0 12px 22px #43523b24}
.town-3d canvas{cursor:grab;touch-action:none}.town-3d canvas.town-camera-dragging{cursor:grabbing!important}.town-camera-controls{position:absolute;z-index:6;right:18px;top:65px;display:grid;grid-template-columns:repeat(3,36px);gap:4px;align-items:start}.town-camera-controls button{width:36px;height:36px;border:1px solid #b9ae97;background:#f7f2e8ee;color:#641322;font-size:23px;line-height:1;cursor:pointer}.town-camera-controls button:hover,.town-camera-controls button:focus-visible{background:#641322;color:#f7f2e8}.town-camera-controls small{grid-column:1/-1;margin-top:3px;padding:5px 6px;background:#f7f2e8e8;color:#5a574f;font-size:9px;line-height:1.5;text-align:center;pointer-events:none}
@media(max-width:620px){.town-camera-controls{right:12px;top:59px;grid-template-columns:repeat(3,34px)}.town-camera-controls button{width:34px;height:34px;min-height:34px;font-size:21px}.town-camera-controls small{display:none}.town-canvas[data-scene=webgl] .world-caption{right:138px;max-width:calc(100% - 164px);padding:9px 10px}.town-canvas[data-scene=webgl] .world-caption h2{font-size:17px;line-height:1.3}.town-canvas[data-scene=webgl] .world-caption p{display:none}}
.map-aircraft{pointer-events:none}.map-main-rotor>g,.map-tail-rotor>g{transform-origin:0 0}
.production-panel{margin:0 0 22px;padding:22px;background:var(--dock);border:1px solid var(--line);border-top:3px solid var(--gold);color:var(--wine)}.production-heading{display:flex;justify-content:space-between;gap:18px;align-items:start}.production-heading h2{font-family:var(--serif);font-size:25px;font-weight:400;margin:6px 0}.production-heading p,.production-panel>small{color:var(--muted);font-size:11px;line-height:1.8}.production-heading>b{white-space:nowrap;font-family:var(--mono);font-size:11px;font-weight:400;padding-top:12px}.production-flavors{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:14px 0 10px}.production-flavors button{display:flex;align-items:center;gap:9px;border:1px solid var(--line);padding:11px 10px;min-height:44px;font-size:12px;color:var(--wine);text-align:left}.production-flavors button i{width:13px;height:13px;flex:none;border-radius:50%;background:var(--flavor-color);border:1px solid #0002}.production-flavors button span{margin-left:auto}.production-flavors [aria-pressed=true]{border-color:var(--wine);background:#6413220b}.production-flavors button:disabled{opacity:.65}.production-jobs{list-style:none;margin:14px 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;counter-reset:batch}.production-jobs li{counter-increment:batch;display:flex;gap:10px;align-items:center;padding:9px 10px;background:#b8965a0c;border:1px solid var(--line);font-size:12px;min-width:0}.production-jobs li:before{content:counter(batch,decimal-leading-zero);color:var(--gold);font-family:var(--mono);font-size:10px}.production-jobs li>span{flex:1;overflow-wrap:anywhere}.production-jobs small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.production-jobs li.making{border-left:3px solid var(--wine)}.production-jobs li.done{opacity:.7}.production-jobs li>button{min-width:36px;min-height:36px;font-size:20px}.production-jobs li>b{font-weight:400}.production-status{font-size:12px;line-height:1.7;margin:15px 0 5px}.production-current{font-size:11px;line-height:1.8;color:var(--muted);min-height:1em;margin:0 0 10px}.production-actions{display:flex;flex-wrap:wrap;gap:9px;margin:10px 0}.production-actions button{min-height:44px;font-size:12px;padding:11px 16px}.production-panel button:focus-visible{outline:2px solid var(--gold);outline-offset:3px}.production-panel>small{display:block}
@media(max-width:680px){.production-panel{padding:15px}.production-heading{display:block}.production-heading h2{font-size:21px}.production-heading>b{display:block;padding-top:0}.production-flavors{grid-template-columns:repeat(2,minmax(0,1fr))}.production-flavors button{font-size:11px}.production-jobs{grid-template-columns:minmax(0,1fr)}.production-actions{display:grid;grid-template-columns:minmax(0,1fr)}.production-actions button{width:100%}.production-panel>small{font-size:10px}}
.batch-next-steps{padding:18px 22px;margin-bottom:20px;border:1px solid var(--line);border-left:3px solid var(--gold);background:var(--dock);display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 20px;color:var(--wine)}.batch-next-steps .eyebrow{font-size:9px;color:var(--gold)}.batch-next-steps h3{font-family:var(--serif);font-weight:400;font-size:21px;margin:4px 0;overflow-wrap:anywhere}.batch-next-steps p{font-size:12px;margin:4px 0;color:var(--muted)}.batch-next-steps>small{grid-column:1/-1;font-size:11px;line-height:1.8;color:var(--muted)}.batch-next-actions{display:grid;gap:8px;align-content:center}.batch-next-actions button{min-height:44px;padding:10px 14px;font-size:12px}.dialog-taste-mode .batch-next-steps{position:sticky;top:0;z-index:6;box-shadow:0 6px 12px #44321c12}.dialog-taste-mode #dialog-tasting{padding-top:2px}
@media(max-width:680px){.batch-next-steps{grid-template-columns:minmax(0,1fr);padding:14px 15px;gap:6px;margin-bottom:15px}.batch-next-steps h3{font-size:19px}.batch-next-actions{grid-template-columns:minmax(0,1fr)}.batch-next-steps>small{font-size:10px}.batch-next-actions button{width:100%;font-size:11px}.dialog-taste-mode .batch-next-steps{padding:12px}.dialog-taste-mode .batch-next-steps h3{font-size:17px}.dialog-taste-mode .batch-next-steps p{font-size:11px}.dialog-taste-mode .batch-next-steps>small{display:none}}
.hero-cup.gelato-3d{animation:none;width:340px;height:315px;right:8%;top:0;touch-action:pan-y}.gelato-3d[data-renderer=webgl]{cursor:ew-resize}.flavor-hero>div:first-child{position:relative;z-index:2;pointer-events:none}.flavor-orbit{z-index:2}.flavor-tray button svg{transition:transform .4s cubic-bezier(.2,.7,.2,1)}.flavor-tray button:hover svg,.flavor-tray button[aria-pressed=true] svg{transform:translateY(-5px) rotate(-4deg)}
.shop-world .live-shop{background:#dce2d1}.shop-viewport{min-height:480px}.shop-viewport canvas{cursor:grab}.shop-viewport canvas:active{cursor:grabbing}.shop-scene-label{bottom:12px}.camera-controls{z-index:3;gap:3px}.camera-controls button{min-height:35px;padding:7px 11px;background:#f8f2e4e8;border:1px solid #b7ad96;color:var(--wine);font-size:10px}.camera-controls button[aria-pressed=true]{background:var(--wine);color:var(--paper)}.shop-scene-label>span{background:#f7f2e8da;padding:6px 10px;border-left:2px solid var(--gold)}
.shop-payment{pointer-events:none;z-index:5;text-align:center;padding:13px 20px;background:#f7f2e8ec;border:1px solid var(--gold);box-shadow:0 10px 30px #4b392522}.shop-payment:empty{display:none}.shop-payment small{display:block;font-family:var(--sans);font-size:10px;font-weight:400;color:var(--muted);margin-bottom:6px}.shop-payment strong{font-family:var(--mono);font-weight:400;font-size:25px}.shop-payment.paid{animation:service-reward 1.7s cubic-bezier(.22,.7,.25,1) both}.shop-payment i{position:absolute;left:50%;top:50%;width:4px;height:8px;background:var(--gold);opacity:0}.shop-payment.paid i{animation:service-spark .85s ease-out both}
.visual-settings{display:grid;gap:10px;margin:25px 0}.visual-settings button{border:1px solid var(--line);padding:16px;text-align:left;display:grid;gap:6px}.visual-settings b{font-size:15px;font-weight:400;color:var(--wine)}.visual-settings small{color:var(--muted);font-size:11px}.visual-settings [aria-pressed=true]{border-color:var(--wine);background:#ede6da}.header-actions{gap:16px}.wallet{right:295px}
.town-world,.shop-world,.business-world,.flavor-world,.cooking-station{animation:scene-reveal .7s cubic-bezier(.22,.72,.24,1) both}.world-dock{animation:dock-reveal .8s .08s cubic-bezier(.22,.72,.24,1) both}.mixing-svg,.machine-svg{filter:drop-shadow(0 12px 8px #79694b14)}.craft-vapour{mix-blend-mode:screen}.action-feedback.feedback-pop{animation:craft-confirm .55s cubic-bezier(.22,.7,.25,1)}.cook-meter i,.task-progress i,.station-reading strong{transition:width .45s cubic-bezier(.2,.7,.2,1),color .3s}.next-cook .cook-button{box-shadow:0 5px 15px #64132215}.task-progress{overflow:hidden}.task-progress i{position:relative}.task-progress i:after{content:'';position:absolute;right:0;top:0;bottom:0;width:2px;background:var(--gold)}
@keyframes scene-reveal{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}@keyframes dock-reveal{from{opacity:0;transform:translateX(12px)}to{opacity:1;transform:none}}@keyframes service-reward{0%{opacity:0;translate:0 12px;scale:.9}15%,65%{opacity:1;translate:0 0;scale:1}100%{opacity:0;translate:0 -28px;scale:1}}@keyframes service-spark{0%{opacity:0;transform:rotate(var(--burst-angle)) translateY(-15px)}15%{opacity:1}100%{opacity:0;transform:rotate(var(--burst-angle)) translateY(-100px) rotate(70deg)}}@keyframes craft-confirm{from{opacity:.4;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(max-width:1100px){.hero-cup.gelato-3d{width:300px;right:2%}.shop-viewport{min-height:410px}}
@media(max-width:680px){.hero-cup.gelato-3d{width:220px;height:245px;right:-18px;top:38px}.flavor-hero>div:first-child{max-width:85%}.town-canvas[data-scene=webgl] .world-caption{top:14px;left:14px;padding:11px 12px}.town-canvas[data-scene=webgl] .world-caption h2{font-size:21px}.town-canvas[data-scene=webgl] .world-caption p{font-size:10px}.town-canvas .map-pin{font-size:9px;padding:4px 6px;gap:4px;min-height:33px}.map-pin span{width:20px;height:20px;font-size:8px}.shop-viewport{min-height:340px}.camera-controls button{padding:5px 8px;font-size:9px;min-height:33px}.shop-scene-label>span{font-size:8px;padding:4px 7px}.shop-scene-label small{display:none}.shop-payment{padding:10px 13px;max-width:220px}.shop-payment strong{font-size:20px}.shop-payment small{font-size:9px}.header-actions{gap:10px}.header-actions .visual-settings-button{font-size:9px}.wallet{right:auto}.world-dock{animation-name:scene-reveal}}
@media(prefers-reduced-motion:reduce){.shop-payment.paid{animation:none!important;opacity:1}.shop-payment i{display:none}.craft-detail-layer,.craft-vapour{display:none}.hero-cup.gelato-3d{animation:none}.town-world,.shop-world,.business-world,.flavor-world,.cooking-station,.world-dock{animation:none;transform:none}}

.shop-viewport #shop-3d{height:100%;min-height:0}.shop-viewport{background:#dce2d1}.camera-controls{position:absolute;bottom:48px;left:22px;display:flex}.shop-scene-label{border:0;border-radius:0}.shop-payment{left:50%;top:22%;transform:translateX(-50%);color:var(--wine)}.wallet{right:330px}
@keyframes scene-reveal{from{transform:translateY(8px)}to{transform:none}}@keyframes dock-reveal{from{transform:translateX(8px)}to{transform:none}}
@media(max-width:850px){.wallet{right:192px}}
@media(max-width:620px){.wallet{right:auto}.camera-controls{left:12px;bottom:38px}}
