/* The room remains the backdrop; menus occupy the edges, not the walking area. */
:root{--gold:#e4c18a;--muted:#b1b2ad;--line:#cdb78c35}
body{background:#182c40}.vignette{background:linear-gradient(90deg,#0d1b29d9 0,transparent 49%),linear-gradient(0deg,#101c29a3,transparent 24%,transparent 78%,#0f1e2e6b)}
.night-rain{display:none!important}.store-inside .vignette{background:linear-gradient(0deg,#10172180,transparent 22%,transparent 80%,#10172180)}
header{height:88px;background:linear-gradient(#101e2caa,transparent)}.brand>span{font-size:21px;letter-spacing:3px}.primary{border-radius:2px;background:#e4c18a;color:#342719;box-shadow:inset 0 -3px #a78350}
.store-outside .intro{top:24%;left:5%;width:260px}.store-outside .intro h1{font-size:40px;line-height:1.45}.store-outside .intro>p{color:#c4c6c5}.store-outside .eyebrow{color:#efd5a8}.store-outside .room-label{top:16%;right:4%}.store-outside .scene-hint{bottom:115px}.store-outside .window-pick{bottom:140px;right:4%;width:300px;background:#18232de8;border-color:#d3b68055;border-radius:2px}.store-outside .bell-toggle{top:98px}
.walking-ui{position:fixed;inset:0;z-index:5;pointer-events:none;display:none}.walking-active .walking-ui{display:block}.catalog-open .walking-ui,.is-delivering .walking-ui,body:has(dialog[open]) .walking-ui{display:none}
.walk-reticle{position:absolute;left:50%;top:50%;width:5px;height:5px;transform:translate(-50%,-50%);border:1px solid #fff9dbdd;box-shadow:0 0 3px #000;background:#fff7d43d}
.walk-top{position:absolute;top:103px;left:4%;display:flex;align-items:center;gap:8px;pointer-events:auto}.walk-top button,.walk-help{background:#14212de3;border:1px solid #e4c18a45;padding:9px 12px;border-radius:2px;color:#e9d8b6;font-size:11px}.walk-help{margin:0;line-height:1.5;color:#b7bbb8}.walk-help kbd{color:#e4c18a;font:11px monospace}
.mouse-captured #walkMouse{color:#efd39f;border-color:#e4c18a85}.mouse-captured .walk-help{color:#e2d4b7}.mouse-look-fallback #walkMouse{opacity:.7}.walk-interact{position:absolute;bottom:180px;left:50%;transform:translateX(-50%);max-width:80vw;pointer-events:auto;background:#192738eb;border:1px solid #e4c18a9c;padding:12px 20px;color:#f4dab1;font-size:13px;border-radius:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.walk-pad{display:none}.store-inside .scene-hint{display:none!important}.store-inside .section-location{left:4%;top:165px;max-width:250px}.store-inside .section-location>span{color:#a7b4bd}.store-inside .section-location strong{font-size:20px}.store-inside .section-location small{font-size:10px;line-height:1.7;color:#c2c5be}
.store-inside footer{background:#14212def;border-color:#bba17938;backdrop-filter:blur(12px);border-radius:3px 3px 0 0;padding:12px 16px;height:auto;min-height:86px;flex-wrap:wrap;gap:8px 14px}.store-inside .categories{flex:1 1 auto;gap:2px}.store-inside .categories button{padding:8px 10px;font-size:11px;border-radius:2px}.store-inside .categories button.active{background:#d7b77e24}.store-inside .aisle-control{font-size:10px;max-width:260px}.store-inside .room-tools{display:none}.store-inside .backup-tools{margin-left:auto}.store-inside .host-shortcut{right:4%;bottom:126px;left:auto;background:#152432e8;border-radius:2px}.store-inside .mobile-shelf-nav{display:none!important}
.store-inside .catalog{inset:90px 4% 110px 4%;background:#14212df5}.store-inside .catalog-heading{max-width:600px}.store-inside .record-list{grid-template-columns:repeat(4,minmax(0,1fr))}.store-inside .catalog .record-card{background:#26364288}.catalog-open .section-location{display:none}
@media (pointer:coarse){.walk-pad{display:grid;grid-template-columns:42px 42px 42px;grid-template-rows:42px 42px;gap:4px;position:absolute;left:max(16px,env(safe-area-inset-left));bottom:154px;pointer-events:auto;touch-action:none;user-select:none}.walk-pad button{background:#172736b8;border:1px solid #d4bc8d75;border-radius:3px;font:22px monospace;color:#edd4a6;touch-action:none;user-select:none;-webkit-user-select:none}.walk-pad [data-walk=forward]{grid-column:2}.walk-pad [data-walk=left]{grid-column:1;grid-row:2}.walk-pad [data-walk=back]{grid-column:2;grid-row:2}.walk-pad [data-walk=right]{grid-column:3;grid-row:2}.walk-pad button.pressed{background:#e4c18a;color:#2e291f}.walk-help,.walk-top #walkMouse{display:none}}
@media(max-width:700px){
  header{height:84px;padding:12px 16px;gap:8px;align-items:flex-start}.brand>span{font-size:16px;letter-spacing:1px}.brand small{font-size:6px;letter-spacing:1px}.brand svg{width:25px;height:25px}header nav{height:30px;gap:12px;margin:0 0 0 auto;display:flex;align-items:center}.nav-button{font-size:11px;height:30px}.nav-button.active:after{display:none}header>#add{position:absolute;right:16px;top:49px;padding:7px 10px;font-size:10px}.nav-button span{display:none}
  .store-outside .intro{display:block;top:108px;left:20px;width:270px;pointer-events:none}.store-outside .intro .eyebrow{font-size:8px;letter-spacing:1px}.store-outside .intro h1{font-size:27px;line-height:1.3;margin:12px 0}.store-outside .intro h1 br{display:none}.store-outside .intro h1 em{display:none}.store-outside .intro>p,.store-outside .intro .stats,.store-outside .intro-rule,.store-outside .sample-note{display:none}.store-outside .intro .enter-store{position:fixed;left:20px;right:20px;bottom:calc(86px + env(safe-area-inset-bottom));width:calc(100% - 40px);padding:13px;pointer-events:auto;display:flex;justify-content:space-between}.store-outside .window-pick{left:20px;right:20px;bottom:calc(148px + env(safe-area-inset-bottom));top:auto;width:auto;padding:10px 12px;max-height:105px}.window-pick-label{font-size:8px}.window-pick-image{width:44px;height:57px;flex-basis:44px}.window-pick-copy strong{font-size:14px;line-height:1.3}.window-pick-copy small{font-size:9px}.store-outside .room-label,.store-outside .scene-hint{display:none}.store-outside .bell-toggle{top:89px;right:16px;font-size:9px;padding:7px 9px}.store-outside footer{height:60px}
  .walk-top{top:94px;left:16px}.walk-top button{padding:8px 11px;font-size:10px}.walk-help{display:none}.walk-top #walkMouse{display:none}.store-inside .section-location{top:140px;left:16px;max-width:190px}.store-inside .section-location strong{font-size:17px}.store-inside .section-location small{display:none}.store-inside .section-location>span{font-size:7px}
  .store-inside footer{left:10px;right:10px;bottom:0;height:auto;min-height:116px;padding:10px 10px calc(12px + env(safe-area-inset-bottom));display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px}.store-inside .categories{grid-column:1/4;display:block;width:100%;max-width:none}.store-inside .categories>button{display:none}.store-inside .categories>select{display:block;width:100%;max-width:none;height:35px;background:#1a2a39;color:#e9d4ac;border:1px solid #d9be8d45}.store-inside #diningControl{display:block;min-width:0}.store-inside #diningControl select{max-width:115px;font-size:10px;height:32px}.store-inside .dining-select-title{display:none}.store-inside #regionControl{min-width:0;max-width:130px}.store-inside .region-open{font-size:10px;max-width:126px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.store-inside .mobile-tools-button{display:block;grid-column:3;grid-row:2;font-size:10px}.store-inside .aisle-control,.store-inside .backup-tools,.store-inside .mobile-return{display:none!important}.store-inside .host-shortcut{bottom:145px;right:16px;max-width:170px;padding:8px}.store-inside .host-shortcut .skin-head{width:28px;height:28px}.store-inside .host-shortcut small{display:none}.walk-interact{bottom:255px;font-size:11px;padding:9px 12px;max-width:90vw}.walk-pad{bottom:153px}.store-inside .catalog{inset:88px 10px 130px;padding:20px 15px}.store-inside .record-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-height:600px) and (min-width:701px){header{height:65px}.walk-top{top:72px}.store-inside .section-location{top:120px}.walk-pad{bottom:108px}.store-inside .host-shortcut{bottom:105px}.walk-interact{bottom:115px}.store-inside footer{min-height:74px}.store-outside .intro{top:20%;width:200px}.store-outside .intro h1{font-size:29px}.store-outside .intro>p,.store-outside .intro .stats,.store-outside .intro-rule,.store-outside .sample-note{display:none}.store-outside .window-pick{bottom:105px;width:260px}}
@media(max-height:650px) and (max-width:700px){.store-outside .intro{top:90px}.store-outside .intro h1{font-size:23px}.store-outside .intro .eyebrow{display:none}.store-outside .window-pick{max-height:86px}.store-outside .window-pick-label{display:none}}
@media(prefers-reduced-motion:reduce){.walk-pad button,button{transition:none!important}}
.store-inside #bellToggle{display:none}
@media(max-width:700px),(pointer:coarse) and (max-height:500px){
  header nav,.store-inside header nav{position:static;inset:auto;transform:none}
  .store-inside #mobileShelfNav:not([hidden]){grid-column:auto;grid-row:auto;top:auto;width:auto;margin:0}
  header,.store-inside header{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:32px 32px;height:92px;padding:10px 16px;gap:7px 8px;background:linear-gradient(#112130e8,#11213066,transparent)}
  header .brand{grid-column:1;grid-row:1}header>#add{position:static;grid-column:2;grid-row:1;min-height:32px;font-size:10px;padding:7px 9px;letter-spacing:0}
  header nav,.store-inside header nav{display:flex;grid-column:1/-1;grid-row:2;gap:6px;width:100%;height:32px;margin:0;align-items:center}
  header nav .nav-button,.store-inside header nav .nav-button{flex:1;min-height:32px;height:32px;font-size:11px;padding:4px 2px}
  .store-outside .intro{top:122px}.store-outside #bellToggle{top:95px}.store-inside .walk-top{top:100px}.store-inside .section-location{top:145px}
  .store-inside footer{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 46px;grid-template-rows:36px 36px;gap:7px;min-height:112px;height:auto;padding:9px 10px calc(13px + env(safe-area-inset-bottom))}
  .store-inside footer #categories{grid-column:1/-1;grid-row:1;width:100%;padding:0}.store-inside footer #categories select{min-height:36px;height:36px;font-size:12px;border-radius:2px;width:100%;padding:7px 8px}
  .store-inside footer #diningControl{grid-column:1;grid-row:2;display:block;width:100%;padding:0}.store-inside footer #diningControl select{max-width:none;width:100%;height:36px;min-height:36px;padding:6px;font-size:11px;background:#1a2a39}.store-inside footer #diningControl label{width:100%}
  .store-inside footer #regionControl{grid-column:2;grid-row:2;display:block;max-width:none;width:100%;padding:0}.store-inside footer #regionControl .region-open{margin:0;min-height:36px;height:36px;max-width:none;width:100%;font-size:10px;padding:6px;border-radius:2px;background:#1a2a39}.store-inside footer #regionControl .region-open:before{display:none}
  .store-inside footer #mobileToolsButton{grid-column:3;grid-row:2;min-height:36px;height:36px;font-size:10px;border-radius:2px;background:#1a2a39}
  .store-inside #mobileShelfNav:not([hidden]){position:absolute;bottom:calc(100% + 5px);left:0;right:0;display:flex!important;gap:5px;background:#14212de8;padding:5px;border:1px solid #d8bf8a30;border-radius:2px}
  .store-inside #mobileShelfNav button{min-height:32px;height:32px;font-size:11px;border-radius:2px;padding:4px}.store-inside #mobileShelfNav [data-cabinet=all]{display:none}
  body:has(#mobileShelfNav:not([hidden])) .walk-pad{bottom:205px}body:has(#mobileShelfNav:not([hidden])) .host-shortcut{bottom:193px}body:has(#mobileShelfNav:not([hidden])) .walk-interact{bottom:303px}
  .catalog-open footer #mobileReturnRoom{display:block!important;grid-column:1/3;grid-row:1;min-height:36px;height:36px}
  .store-inside .catalog .record-list{grid-template-columns:1fr}.store-inside .catalog{top:95px}
  #toast{bottom:auto;top:105px;font-size:11px;max-height:70px;pointer-events:none}
}
@media(pointer:coarse) and (max-height:500px) and (min-width:701px){
  header,.store-inside header{display:flex;height:58px;padding:7px 16px;align-items:center}header nav,.store-inside header nav{flex:1;width:auto;margin:0 12px}header>#add{min-height:32px}.store-inside .walk-top{top:65px}.store-inside .section-location{top:112px}
  .store-inside footer{min-height:61px;height:61px;grid-template-columns:minmax(140px,1fr) 105px 125px 48px;grid-template-rows:36px;padding:8px 10px}.store-inside footer #categories{grid-column:1;grid-row:1}.store-inside footer #diningControl{grid-column:2;grid-row:1}.store-inside footer #regionControl{grid-column:3;grid-row:1}.store-inside footer #mobileToolsButton{grid-column:4;grid-row:1}.store-inside #mobileShelfNav:not([hidden]){left:auto;width:250px;bottom:calc(100% + 5px)}.walk-pad,body:has(#mobileShelfNav:not([hidden])) .walk-pad{bottom:80px}.store-inside .host-shortcut,body:has(#mobileShelfNav:not([hidden])) .host-shortcut{bottom:114px}.walk-interact,body:has(#mobileShelfNav:not([hidden])) .walk-interact{bottom:100px}
}

/* A real A-frame replaces the floating window recommendation card. */
.street-recommend-hit{position:absolute;z-index:2;padding:0;border:0;background:transparent!important;box-shadow:none!important;cursor:pointer;touch-action:manipulation;transition:none}
.street-recommend-hit:focus,.street-recommend-hit:focus-visible{outline:none}.street-recommend-hit.keyboard-focus:focus-visible{outline:2px solid #f0cd8a;outline-offset:2px;border-radius:2px}
.street-recommend-hit:disabled{pointer-events:none}
.store-inside .street-recommend-hit,.is-entering .street-recommend-hit,.catalog-open .street-recommend-hit,body:has(dialog[open]) .street-recommend-hit{display:none!important}

/* Dedicated takeaway collection; the editor keeps the original cuisine categories. */
#categories button[data-cat="外卖专架"]{color:#dfb180;border-left:1px solid #bc885b66;margin-left:5px;padding-left:13px}#categories button[data-cat="外卖专架"].active{background:#bf875e2b;border-color:#d5a16d}

/* Cuisine navigation adds no extra row on small screens: the native shelf picker includes all seven sections. */
#categories .takeaway-chooser{display:inline-flex;align-items:center;flex:0 0 auto;margin-left:5px}#categories .takeaway-chooser[hidden]{display:none!important}#categories .takeaway-chooser select{display:block;max-width:150px;min-height:34px;padding:5px 24px 5px 8px;border:1px solid #bc885b77;border-radius:2px;background:#293039;color:#edc696;font-size:11px}
#walkRun{font-size:11px;grid-column:3;grid-row:1}#walkRun[aria-pressed=true]{background:#e4c18a;color:#2e291f}
@media(max-width:700px),(pointer:coarse) and (max-height:500px){#categories .takeaway-chooser{display:none!important}}
@media(pointer:coarse) and (max-height:500px){.store-inside #categories>button{display:none!important}.store-inside #categories>select[data-cuisine-select]{display:block!important;width:100%;min-height:36px;height:36px;padding:6px 26px 6px 10px;border:1px solid #bca37866;border-radius:2px;background:#293039;color:#edcf9e;font-size:11px}.store-inside #categories{min-width:0;overflow:hidden}}
@media(pointer:coarse) and (max-height:500px){.store-inside #categories{display:block!important}.store-inside #categories>select[data-cuisine-select]{max-width:none!important}}

/* The entrance is self-explanatory; keep its existing click interaction without the floating bubble. */
#sceneHint{display:none!important}

/* Compact mobile shell: common actions stay at the edges; detailed filters live in the existing panel. */
@media(max-width:700px),(pointer:coarse) and (max-height:500px){
 :root{--phone-header:60px;--phone-footer:64px}
 header,.store-inside header{height:calc(60px + var(--safe-top));padding:calc(6px + var(--safe-top)) calc(12px + var(--safe-right)) 6px calc(12px + var(--safe-left));display:flex;gap:8px;align-items:center}
 header .brand{gap:7px;min-width:0;flex:1}.brand svg{width:22px;height:22px;flex:none}header .brand>span{font-size:14px;letter-spacing:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}header .brand small{display:none}
 header nav,.store-inside header nav{position:static;display:flex;flex:0 0 auto;width:auto;height:44px;margin:0;gap:2px}header nav .nav-button{height:44px;min-width:44px;padding:0 7px;font-size:12px;letter-spacing:0}header nav .nav-button.active:after{display:none}header nav #roomTab{display:none}header nav #navCount{display:none}header nav #exitStore{font-size:0;width:44px;padding:0}header nav #exitStore:before{content:'↖';font-size:21px}
 header>#add{min-width:44px;width:44px;height:44px;min-height:44px;padding:0;font-size:0;border-radius:3px;flex:none}header>#add:before{content:'＋';font-size:24px}
 .store-inside .walk-top,.store-inside .section-location,.store-inside .host-shortcut small{display:none!important}
 .store-inside:not(.catalog-open) footer{left:calc(10px + var(--safe-left));right:calc(10px + var(--safe-right));min-height:64px;height:calc(64px + var(--safe-bottom));padding:9px 8px calc(9px + var(--safe-bottom));grid-template-columns:minmax(0,1fr) 56px 48px;grid-template-rows:44px;gap:6px;align-items:center;background:#14212de8;backdrop-filter:none}
 .store-inside:not(.catalog-open) footer #categories{grid-column:1;grid-row:1;display:block;min-width:0;width:100%;padding:0;overflow:hidden}.store-inside:not(.catalog-open) footer #categories>select[data-cuisine-select]{display:block!important;width:100%;max-width:none!important;min-height:44px;height:44px;font-size:13px;padding:8px 24px 8px 10px;background:#21313d;border-radius:3px}
 .store-inside footer #diningControl{display:none!important}.store-inside:not(.catalog-open) footer #regionControl{grid-column:2;grid-row:1;display:block;width:100%;padding:0}.store-inside:not(.catalog-open) footer #regionControl .region-open{height:44px;min-height:44px;font-size:0;padding:6px;background:#21313d;border-radius:3px}.store-inside:not(.catalog-open) footer #regionControl .region-open:before{content:'筛选';display:inline;font-size:12px}.store-inside:not(.catalog-open) footer #regionControl .region-open.active:before{content:'筛选 ·';font-size:11px}
 .store-inside:not(.catalog-open) footer #mobileToolsButton{grid-column:3;grid-row:1;width:48px;min-height:44px;height:44px;padding:6px;font-size:12px;background:#21313d;border-radius:3px}
 .store-inside #mobileShelfNav:not([hidden]){display:flex!important;position:absolute;left:50%;right:auto;bottom:calc(100% + 8px);transform:translateX(-50%);width:max-content;max-width:100%;min-height:44px;gap:4px;padding:0;background:none;overflow-x:auto;scrollbar-width:none}.store-inside #mobileShelfNav button{flex:0 0 auto;min-width:44px;min-height:44px;height:44px;padding:6px 9px;font-size:12px;background:#192b38d9;border-radius:4px}.store-inside #mobileShelfNav button[aria-pressed=true]{background:#746044}
 .store-inside .walk-pad{grid-template-columns:44px 44px 44px;grid-template-rows:44px 44px;gap:3px;left:calc(12px + var(--safe-left));bottom:calc(82px + var(--safe-bottom))}.store-inside .walk-pad button{border:1px solid #dfc59544;border-radius:50%;background:#17273670;font-size:19px}.store-inside .walk-pad #walkRun{font-size:11px}.store-inside .walk-pad button.pressed,.store-inside #walkRun[aria-pressed=true]{background:#d8bc88;color:#2e291f}
 body:has(#mobileShelfNav:not([hidden])) .walk-pad{bottom:calc(132px + var(--safe-bottom))}
 .store-inside .host-shortcut,body:has(#mobileShelfNav:not([hidden])) .host-shortcut{left:auto;right:calc(14px + var(--safe-right));bottom:calc(84px + var(--safe-bottom));width:44px;height:44px;min-height:44px;max-width:44px;padding:8px;border-radius:50%;border:1px solid #dfc59544;background:#172736a0}.store-inside .host-shortcut .skin-head{width:26px;height:26px;flex:none}.store-inside .host-shortcut>span:nth-child(2){display:none}
 body:has(#mobileShelfNav:not([hidden])) .host-shortcut{bottom:calc(136px + var(--safe-bottom))}
 .store-inside .walk-interact,body:has(#mobileShelfNav:not([hidden])) .walk-interact{left:auto;right:calc(14px + var(--safe-right));bottom:calc(190px + var(--safe-bottom));transform:none;min-height:44px;max-width:190px;padding:8px 12px;font-size:12px;white-space:normal}
 .store-inside .catalog,.catalog{top:calc(68px + var(--safe-top));bottom:calc(74px + var(--safe-bottom))}
 #toast{font-size:12px;padding:9px 12px;border-radius:4px;max-height:68px}
 .store-outside .intro{top:100px}.store-outside .bell-toggle{top:calc(70px + var(--safe-top))}
}
@media(max-width:350px){header .brand>span{font-size:12px;letter-spacing:0}header .brand{gap:4px}header nav .nav-button{padding:0 4px}header .brand svg{width:18px;height:18px}}
@media(max-width:700px),(pointer:coarse) and (max-height:500px){.catalog-open footer{min-height:64px;height:calc(64px + var(--safe-bottom));grid-template-columns:minmax(0,1fr) 48px;grid-template-rows:44px;padding:9px 8px calc(9px + var(--safe-bottom));gap:6px}.catalog-open footer #mobileReturnRoom{grid-column:1;grid-row:1;min-height:44px}.catalog-open footer #mobileToolsButton{grid-column:2;grid-row:1;min-height:44px}}
