/* World controller: reserve a compact, separate input deck below the scene.
   Phone/landscape rules remain in mobile-world-layout.css. */
@media (min-width:901px) {
 body.fsc-store-controller-ready .top {padding:5px 12px;gap:6px}
 body.fsc-store-controller-ready #waypoints {padding:3px 6px;gap:4px}
 body.fsc-store-controller-ready #waypoints>* {min-height:32px;padding:5px 10px}
 body.fsc-store-controller-ready .footer-strip {padding:4px 12px;font-size:10px}
 :is(body.fsc-store-controller-ready,body.fsc-ship-controller-ready,body.fsc-mall-viewport,body.fsc-game-view) :is(#fsc-store-controller,#fsc-ship-controller,#touch,#fsc-park-controller).fsc-pad {
  --fsc-control:72px;width:min(845px,100%);max-height:38dvh;margin:0 auto;
 }
 :is(body.fsc-store-controller-ready,body.fsc-ship-controller-ready,body.fsc-mall-viewport,body.fsc-game-view) :is(#fsc-store-controller,#fsc-ship-controller,#touch,#fsc-park-controller) .fsc-pad-shoulders button {min-height:26px;height:26px}
 :is(body.fsc-store-controller-ready,body.fsc-ship-controller-ready,body.fsc-mall-viewport,body.fsc-game-view) :is(#fsc-store-controller,#fsc-ship-controller,#touch,#fsc-park-controller) .fsc-pad-body {
  grid-template-rows:72px 86px;gap:4px;padding:4px 8px 16px;
  border-radius:18px 18px 30px 30px;
 }
 :is(body.fsc-store-controller-ready,body.fsc-ship-controller-ready,body.fsc-mall-viewport,body.fsc-game-view) :is(#fsc-store-controller,#fsc-ship-controller,#touch,#fsc-park-controller) .fsc-pad-actions {justify-self:center;width:max-content}
 :is(body.fsc-store-controller-ready,body.fsc-ship-controller-ready,body.fsc-mall-viewport,body.fsc-game-view) :is(#fsc-store-controller,#fsc-ship-controller,#touch,#fsc-park-controller) .fsc-pad-screen {
  height:72px;grid-template-columns:minmax(0,1fr) 100px 270px;
  grid-template-rows:10px 18px 13px 15px;gap:0 8px;padding:5px 8px;
 }
 :is(body.fsc-store-controller-ready,body.fsc-ship-controller-ready,body.fsc-mall-viewport,body.fsc-game-view) :is(#fsc-store-controller,#fsc-ship-controller,#touch,#fsc-park-controller) .fsc-pad-map {grid-column:2;grid-row:1/5;width:84px;height:58px;align-self:center;justify-self:center}
 :is(body.fsc-store-controller-ready,body.fsc-ship-controller-ready,body.fsc-mall-viewport,body.fsc-game-view) :is(#fsc-store-controller,#fsc-ship-controller,#touch,#fsc-park-controller) .fsc-pad-screen>div {grid-column:3;grid-row:1/5}
 :is(body.fsc-store-controller-ready,body.fsc-ship-controller-ready,body.fsc-mall-viewport,body.fsc-game-view) :is(#fsc-store-controller,#fsc-ship-controller,#touch,#fsc-park-controller) .fsc-pad-fold {min-height:24px!important;margin:1px auto;padding:1px 12px}
 /* The expanded music pane scrolls inside the deck, never over the canvas. */
 :is(body.fsc-store-controller-ready,body.fsc-ship-controller-ready,body.fsc-mall-viewport,body.fsc-game-view) :is(#fsc-store-controller,#fsc-ship-controller,#touch,#fsc-park-controller) .fsc-pad-body:has(.music-open) {grid-template-rows:106px 86px}
 :is(body.fsc-store-controller-ready,body.fsc-ship-controller-ready,body.fsc-mall-viewport,body.fsc-game-view) :is(#fsc-store-controller,#fsc-ship-controller,#touch,#fsc-park-controller) .music-open {
  height:106px;grid-template-columns:minmax(0,1fr) minmax(260px,1fr);
  grid-template-rows:10px 18px 13px 15px minmax(30px,1fr) 34px;
 }
 :is(body.fsc-store-controller-ready,body.fsc-ship-controller-ready,body.fsc-mall-viewport,body.fsc-game-view) :is(#fsc-store-controller,#fsc-ship-controller,#touch,#fsc-park-controller) .music-open>div {grid-column:1;grid-row:6}
 :is(body.fsc-store-controller-ready,body.fsc-ship-controller-ready,body.fsc-mall-viewport,body.fsc-game-view) :is(#fsc-store-controller,#fsc-ship-controller,#touch,#fsc-park-controller) .music-open .fsc-pad-map {grid-column:1;grid-row:5;width:64px;height:44px}
 :is(body.fsc-store-controller-ready,body.fsc-ship-controller-ready,body.fsc-mall-viewport,body.fsc-game-view) :is(#fsc-store-controller,#fsc-ship-controller,#touch,#fsc-park-controller) .fsc-pad-music {grid-column:2;grid-row:1/7;max-height:92px}
}
@media (max-width:900px) {
 :is(body.fsc-store-controller-ready,body.fsc-ship-controller-ready,body.fsc-mall-viewport,body.fsc-game-view) :is(#fsc-store-controller,#fsc-ship-controller,#touch,#fsc-park-controller) .fsc-pad-body:has(.music-open) {grid-template-rows:90px calc(var(--fsc-control) + 6px)!important}
 :is(body.fsc-store-controller-ready,body.fsc-ship-controller-ready,body.fsc-mall-viewport,body.fsc-game-view) :is(#fsc-store-controller,#fsc-ship-controller,#touch,#fsc-park-controller) .music-open {height:90px!important;grid-template-columns:minmax(0,1fr) minmax(138px,1fr)!important;grid-template-rows:20px 13px 36px!important}
 :is(body.fsc-store-controller-ready,body.fsc-ship-controller-ready,body.fsc-mall-viewport,body.fsc-game-view) :is(#fsc-store-controller,#fsc-ship-controller,#touch,#fsc-park-controller) .music-open>div {grid-column:1!important;grid-row:3!important}
 :is(body.fsc-store-controller-ready,body.fsc-ship-controller-ready,body.fsc-mall-viewport,body.fsc-game-view) :is(#fsc-store-controller,#fsc-ship-controller,#touch,#fsc-park-controller) .music-open .fsc-pad-music {grid-column:2!important;grid-row:1/4!important;max-height:76px;margin:0;padding-left:4px}
}
@media (max-width:900px) and (max-height:520px) {
 :is(body.fsc-store-controller-ready,body.fsc-ship-controller-ready,body.fsc-mall-viewport,body.fsc-game-view) :is(#fsc-store-controller,#fsc-ship-controller,#touch,#fsc-park-controller) .fsc-pad-body:has(.music-open) {grid-template-rows:64px 46px!important}
 :is(body.fsc-store-controller-ready,body.fsc-ship-controller-ready,body.fsc-mall-viewport,body.fsc-game-view) :is(#fsc-store-controller,#fsc-ship-controller,#touch,#fsc-park-controller) .music-open {height:64px!important;grid-template-rows:14px 12px 30px!important}
 :is(body.fsc-store-controller-ready,body.fsc-ship-controller-ready,body.fsc-mall-viewport,body.fsc-game-view) :is(#fsc-store-controller,#fsc-ship-controller,#touch,#fsc-park-controller) .music-open .fsc-pad-music {max-height:58px}
}

/* Owner requested a full-span controller shell; retain the compact height. */
:is(body.fsc-store-controller-ready,body.fsc-ship-controller-ready,body.fsc-mall-viewport,body.fsc-game-view) :is(#fsc-store-controller,#fsc-ship-controller,#touch,#fsc-park-controller).fsc-pad{width:calc(100% - 16px)!important;max-width:calc(100% - 16px)!important;margin-left:auto!important;margin-right:auto!important}
@media(max-width:900px){:is(body.fsc-store-controller-ready,body.fsc-ship-controller-ready,body.fsc-mall-viewport,body.fsc-game-view) :is(#fsc-store-controller,#fsc-ship-controller,#touch,#fsc-park-controller).fsc-pad{width:100%!important;max-width:100%!important}}
