:root{--blue:#0067a5;--deep:#073b55;--green:#37a56b;--paper:#f7f6ef;--ink:#17313d;--glass:rgba(247,246,239,.92);--sans:"Helvetica Neue",Arial,"PingFang SC","Microsoft YaHei",sans-serif}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#b8d1db;font-family:var(--sans);color:var(--ink)}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #f5c450;outline-offset:3px}button{border:0}#world{position:fixed;inset:0;width:100%;height:100%;display:block;touch-action:none}.vignette{position:fixed;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(5,34,48,.22),transparent 55%);z-index:1}.welcome{position:fixed;z-index:10;inset:0;color:white;background:linear-gradient(90deg,rgba(4,39,57,.92) 0%,rgba(4,39,57,.73) 37%,rgba(4,39,57,.05) 72%);transition:opacity .65s,visibility .65s}.welcome.leaving{opacity:0;visibility:hidden}.welcome-header{height:112px;margin:0 5vw;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff35}.sams-logo{display:flex;align-items:center;gap:14px;color:white;text-decoration:none;font-size:22px;line-height:1;font-weight:800;letter-spacing:-.7px}.sams-logo b{color:#79d39d}.sams-logo small{display:block;font-size:10px;font-weight:400;letter-spacing:3px;margin-top:8px;color:#ffffffc9}.logo-diamond{width:42px;height:42px;display:inline-grid;place-items:center;position:relative;transform:rotate(45deg);border:7px solid var(--green);background:var(--blue);flex:none}.logo-diamond i{display:block;width:12px;height:12px;background:white}.concept-label{font-size:9px;letter-spacing:2.5px;color:#ffffffa8}.welcome-content{position:absolute;left:8.5vw;top:50%;transform:translateY(-46%)}.overline{font-size:10px;letter-spacing:3px;display:flex;align-items:center;gap:12px;color:#b9d6df;margin:0 0 25px}.overline span{width:27px;height:2px;background:#60c18b}h1{font-size:clamp(44px,4.4vw,73px);font-weight:300;line-height:1.25;letter-spacing:-2px;margin:0}h1 em{font-style:normal;font-weight:650}.welcome-desc{font-size:13px;line-height:2;color:#d2e0e4;margin:27px 0 32px;letter-spacing:.5px}.enter-button{height:55px;min-width:202px;padding:0 9px 0 23px;background:var(--green);color:white;display:inline-flex;align-items:center;justify-content:space-between;gap:35px;border-radius:3px;font-size:13px;font-weight:600;letter-spacing:1px;box-shadow:0 8px 25px #001d3233;transition:background .2s,transform .2s}.enter-button:hover{background:#45b97b;transform:translateY(-2px)}.enter-button i{display:grid;place-items:center;font-style:normal;width:38px;height:38px;border:1px solid #ffffff55;border-radius:2px;font-size:18px}.quick-guide{display:flex;gap:24px;margin-top:30px;font-size:9px;color:#c4d7dd;align-items:center}.quick-guide>span{display:flex;align-items:center;gap:4px}kbd{font-family:var(--sans);font-size:9px;border:1px solid currentColor;padding:3px 5px;border-radius:3px;font-weight:400}.mouse-icon{width:11px;height:16px;border:1px solid currentColor;border-radius:6px;position:relative;margin-right:3px}.mouse-icon:after{content:"";position:absolute;left:4px;top:3px;width:1px;height:4px;background:currentColor}.welcome-footer{position:absolute;left:5vw;right:5vw;bottom:27px;display:flex;justify-content:space-between;color:#ffffff7a;font-size:8px;letter-spacing:1.7px}.mobile-guide{display:none}.loading{position:fixed;z-index:30;inset:0;background:#f2f3ed;display:flex;align-items:center;justify-content:center;flex-direction:column;transition:opacity .5s,visibility .5s}.loading.done{opacity:0;visibility:hidden}.loading-diamond{width:30px;height:30px;border:7px solid var(--green);background:var(--blue);transform:rotate(45deg);animation:load 1.4s ease-in-out infinite}.loading p{font-size:10px;letter-spacing:3px;color:var(--deep);margin:28px}.loading>div{width:140px;height:2px;background:#d7dfda}.loading>div i{display:block;height:100%;width:15%;background:var(--blue);transition:width .4s}@keyframes load{50%{transform:rotate(135deg);opacity:.5}}
.hud{position:fixed;z-index:5;inset:0;pointer-events:none}.hud[hidden]{display:none}.hud button,.minimap,.mobile-controls{pointer-events:auto}.hud-header{position:absolute;left:28px;right:28px;top:23px;display:flex;align-items:center;height:56px}.mini-brand{display:flex;align-items:center;gap:11px;color:white;font-size:15px;font-weight:800;text-shadow:0 1px 10px #00344c77}.mini-brand b{color:#7ee0a6}.mini-brand .logo-diamond{width:29px;height:29px;border-width:5px}.mini-brand .logo-diamond i{width:8px;height:8px}.location{position:absolute;left:50%;transform:translateX(-50%);text-align:center;color:white;text-shadow:0 1px 10px #00344c99}.location span{display:block;font-size:8px;letter-spacing:2px;opacity:.7;margin-bottom:4px}.location strong{font-size:13px;font-weight:500;letter-spacing:2px}.hud-actions{margin-left:auto;display:flex;gap:8px}.hud-button{height:39px;padding:0 12px;border:1px solid #ffffff45;background:#083c51bd;color:white;backdrop-filter:blur(12px);border-radius:3px;display:flex;align-items:center;gap:7px;font-size:10px}.hud-button:hover{background:var(--blue)}.hud-button svg{width:16px;height:16px}.hud-button b{display:grid;place-items:center;background:var(--green);font-size:8px;min-width:16px;height:16px;border-radius:8px}.hud-button.square{width:39px;padding:0;justify-content:center;font-size:14px}.minimap{position:absolute;right:28px;top:98px;width:205px;background:var(--glass);backdrop-filter:blur(14px);border:1px solid #fff8;border-radius:4px;box-shadow:0 10px 35px #153b4c22;overflow:hidden;transition:opacity .25s,transform .25s}.minimap.closed{opacity:0;transform:translateX(20px);pointer-events:none}.map-heading{display:flex;justify-content:space-between;align-items:center;padding:13px 15px;border-bottom:1px solid #17313d15}.map-heading span{font-size:8px;letter-spacing:1.7px}.map-heading b{font-size:9px;background:var(--blue);color:white;padding:3px 5px;border-radius:2px}.map-canvas{height:167px;margin:8px 14px;position:relative}.map-canvas svg{height:100%;width:100%}.map-shell{fill:#e3e7e0;stroke:#728d91;stroke-width:2}.map-zone{stroke:none}.map-zone.fresh{fill:#b8dac4}.map-zone.bakery{fill:#ead3ab}.map-zone.aisle{fill:#c3d6df}.map-lines{fill:none;stroke:#f7f6ef;stroke-width:5}.map-canvas text{font:9px var(--sans);fill:#506970}.player-dot{position:absolute;width:10px;height:10px;background:var(--blue);border:2px solid white;box-shadow:0 1px 5px #003d66aa;border-radius:50%;left:50%;top:90%;transform:translate(-50%,-50%);transition:left .1s,top .1s}.player-dot:after{content:"";position:absolute;left:1px;top:-6px;border:2px solid transparent;border-bottom:5px solid var(--blue)}.map-destinations{display:flex;justify-content:space-around;padding:6px 9px 10px}.map-destinations button{background:none;color:#5f7479;font-size:9px;padding:5px 3px}.map-destinations button i{display:block;width:4px;height:4px;background:#a3b2b1;border-radius:50%;margin:0 auto 4px}.map-destinations button.selected{color:var(--blue)}.map-destinations button.selected i{background:var(--green)}.minimap>p{text-align:center;font-size:8px;color:#859392;margin:0 0 12px}.crosshair{position:absolute;left:50%;top:50%;width:22px;height:22px;transform:translate(-50%,-50%);opacity:.8}.crosshair i{position:absolute;background:white;box-shadow:0 0 3px #0008}.crosshair i:nth-child(1){left:10px;top:0;width:2px;height:6px}.crosshair i:nth-child(2){left:10px;bottom:0;width:2px;height:6px}.crosshair i:nth-child(3){left:0;top:10px;width:6px;height:2px}.crosshair i:nth-child(4){right:0;top:10px;width:6px;height:2px}.interaction-hint{position:absolute;left:50%;top:calc(50% + 35px);transform:translateX(-50%);display:flex;align-items:center;gap:9px;background:#f7f6efed;color:var(--ink);padding:8px 12px;border-radius:3px;font-size:10px;box-shadow:0 4px 15px #0002}.interaction-hint[hidden]{display:none}.interaction-hint kbd{background:var(--blue);color:white;border:0}.hud-bottom{position:absolute;left:28px;right:28px;bottom:21px;display:flex;justify-content:space-between;align-items:center;color:white;font-size:8px;letter-spacing:1.4px;text-shadow:0 1px 8px #00344c}.hud-bottom p{display:flex;align-items:center;gap:8px}.live-dot{width:5px;height:5px;background:#65d58f;border-radius:50%;box-shadow:0 0 8px #65d58f}.hud-bottom>span{position:absolute;left:50%;transform:translateX(-50%);opacity:.65}.hud-bottom button{background:#073b55a8;border:1px solid #ffffff35;color:white;border-radius:3px;padding:8px 11px;font-size:9px}.toast{position:absolute;left:50%;bottom:72px;transform:translate(-50%,10px);background:#f7f6ef;color:var(--ink);padding:11px 17px;border-left:3px solid var(--green);box-shadow:0 6px 25px #002b4540;border-radius:2px;font-size:11px;opacity:0;transition:opacity .2s,transform .2s;white-space:nowrap}.toast.show{opacity:1;transform:translate(-50%,0)}
dialog{color:var(--ink);background:#f8f7f1;border:0;border-radius:5px;padding:39px;width:min(440px,calc(100% - 32px));box-shadow:0 25px 80px #00283d55}dialog::backdrop{background:#052f43a6;backdrop-filter:blur(6px)}.dialog-close{position:absolute;right:13px;top:10px;background:none;color:#6b7c7e;font-size:26px;width:30px;height:30px}.dialog-overline{font-size:8px;letter-spacing:2px;color:var(--green);margin:0 0 20px}.product-icon{width:64px;height:64px;display:grid;place-items:center;background:var(--blue);color:white;font-size:22px;font-weight:800;transform:rotate(-4deg);margin-bottom:24px;border-bottom:7px solid var(--green)}dialog h2{font-size:25px;line-height:1.35;margin:0 0 10px;letter-spacing:-.5px}.product-subtitle{font-size:11px;color:var(--blue);margin:0 0 23px}.product-description{font-size:12px;color:#69797b;line-height:1.9}.product-bottom{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #17313d18;padding-top:22px;margin-top:24px}.product-bottom strong{font-size:22px;color:var(--blue)}.product-bottom button{background:var(--green);color:white;padding:12px 16px;border-radius:3px;font-size:11px}.product-bottom button span{margin-left:10px}.product-dialog>small{display:block;font-size:8px;color:#94a09e;margin-top:20px}.list-items{max-height:45vh;overflow:auto}.list-item{display:flex;align-items:center;padding:13px 0;border-bottom:1px solid #17313d14}.list-item span{font-size:12px;flex:1}.list-item b{font-size:11px;color:var(--blue);margin-right:10px}.list-item button{background:none;color:#8b9999;font-size:17px}.empty-list{text-align:center;padding:35px 0;color:#8a9897;font-size:12px;line-height:2}.clear-button{width:100%;padding:12px;background:#e8ece6;color:#637571;border-radius:3px;font-size:10px;margin-top:15px}.help-dialog{width:min(510px,calc(100% - 32px))}.help-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px 15px;margin:28px 0}.help-grid>div{display:flex;align-items:center;gap:12px}.help-grid kbd{min-width:55px;text-align:center;color:var(--blue)}.help-grid span,.help-dialog>p:not(.dialog-overline){font-size:11px;color:#657777}.help-dialog>p:not(.dialog-overline){line-height:1.9}.help-dialog .enter-button{margin-top:15px}.pause-overlay{position:fixed;z-index:9;inset:0;background:#062e40c9;backdrop-filter:blur(10px);color:white;text-align:center;padding-top:23vh}.pause-overlay[hidden]{display:none}.pause-overlay .logo-diamond{margin-bottom:30px}.pause-overlay p{font-size:9px;letter-spacing:4px;color:#8fd8af}.pause-overlay h2{font-size:34px;font-weight:300;line-height:1.4;margin:15px 0 30px}.fatal{position:fixed;z-index:50;inset:0;background:#f4f5ee;text-align:center;padding-top:30vh}.fatal[hidden]{display:none}.fatal h2{font-size:24px}.fatal p{font-size:13px;color:#687b7b}.fatal button{padding:12px 24px;background:var(--blue);color:white;margin-top:20px}.mobile-controls{display:none}
@media(max-width:700px){.welcome-header{height:82px;margin:0 20px}.sams-logo{font-size:17px;gap:10px}.sams-logo .logo-diamond{width:33px;height:33px;border-width:6px}.sams-logo small{font-size:8px;letter-spacing:2px}.concept-label{font-size:7px;letter-spacing:1px}.welcome{background:linear-gradient(0deg,#062f43f5 0%,#062f43a6 54%,#062f4322 100%)}.welcome-content{left:25px;right:25px;top:auto;bottom:95px;transform:none}.overline{font-size:8px;letter-spacing:2px;margin-bottom:17px}h1{font-size:40px;letter-spacing:-1.5px}.welcome-desc{font-size:11px;margin:20px 0 24px}.quick-guide{display:none}.mobile-guide{display:block;font-size:9px;color:#b8ced4;margin-top:20px}.welcome-footer{left:22px;right:22px;bottom:20px;font-size:6px;letter-spacing:.7px}.welcome-footer span:first-child{display:none}.welcome-footer span:last-child{margin-left:auto}.hud-header{left:16px;right:16px;top:14px}.mini-brand{font-size:12px}.mini-brand .logo-diamond{width:25px;height:25px}.location{top:52px}.location span{display:none}.location strong{font-size:10px;background:#073b558a;padding:5px 10px;border-radius:12px}.hud-button{height:35px;padding:0 9px}.hud-button>span{display:none}.hud-button.square{width:35px}.minimap{right:16px;top:103px;width:172px}.map-canvas{height:135px}.map-heading{padding:10px 12px}.map-destinations button{font-size:8px}.minimap.closed{transform:translateX(15px)}.hud-bottom{left:17px;right:17px;bottom:13px}.hud-bottom>span{display:none}.hud-bottom p{font-size:6px}.hud-bottom button{font-size:8px}.mobile-controls{display:block;position:absolute;inset:0;pointer-events:none}.joystick{position:absolute;left:25px;bottom:75px;width:102px;height:102px;border:1px solid #ffffff60;border-radius:50%;background:#073b5533;pointer-events:auto;touch-action:none}.joystick:before{content:"";position:absolute;inset:25px;border:1px solid #ffffff22;border-radius:50%}.joystick>span{position:absolute;left:33px;top:33px;width:36px;height:36px;border-radius:50%;background:#f7f6efd9;box-shadow:0 3px 12px #002c4555}.joystick small{position:absolute;bottom:-18px;width:100%;text-align:center;color:white;font-size:8px;letter-spacing:2px}.look-zone{position:absolute;right:0;top:25%;width:48%;height:48%;pointer-events:auto;touch-action:none}.look-zone span{position:absolute;right:25px;bottom:15px;color:#ffffff60;font-size:8px;letter-spacing:1px}.interact-button{position:absolute;right:25px;bottom:84px;width:64px;height:64px;border-radius:50%;background:#f7f6efdf;color:var(--blue);border:1px solid white;font-size:11px;box-shadow:0 3px 18px #002c4544}.interaction-hint{display:none!important}.toast{bottom:200px;max-width:85%;white-space:normal;text-align:center;font-size:10px}.crosshair{opacity:.65}dialog{padding:33px 27px}.help-grid{gap:16px 8px}.help-grid>div{gap:7px}.help-grid span{font-size:10px}.help-grid kbd{min-width:48px}.pause-overlay{padding-top:25vh}}
@media(max-height:650px) and (min-width:701px){.welcome-header{height:80px}.welcome-content{top:51%}h1{font-size:44px}.welcome-desc{margin:17px 0 20px}.quick-guide{margin-top:18px}.welcome-footer{bottom:15px}.minimap{top:85px;transform:scale(.85);transform-origin:right top}.minimap.closed{transform:translateX(20px) scale(.85)}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
