/* The map fills the space above the navigation bar. */
#world-hub .hub-shell{display:grid!important;grid-template: minmax(0,1fr) auto / minmax(0,1fr);padding:0!important}
#world-hub .hub-map{position:relative!important;grid-area:1 / 1;inset:auto!important;width:100%!important;height:100%!important;min-height:0!important}
#world-hub .map-footer-stack{position:relative;grid-area:2 / 1;z-index:30;min-width:0;background:#123b40}
#world-hub .map-footer-stack .hub-bottom-nav{position:relative!important;inset:auto!important;width:100%!important;box-sizing:border-box}
#world-hub .hub-map .hub-zone-sign{position:absolute!important;inset:auto auto 6px 50%!important;transform:translateX(-50%)!important;width:max-content!important;max-width:92%!important;margin:0!important;padding:3px 9px!important;border-radius:20px!important;font-size:9px!important;text-align:center!important;pointer-events:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:.91}
#world-hub .hub-zone-sign::before{display:none!important}
.depot-symbol{display:block;background:url('./map-prizes.webp') no-repeat var(--depot-x) center / 800% 100%;aspect-ratio:1;pointer-events:none}
#world-hub .map-stations{position:absolute;z-index:18;top:clamp(122px,29%,225px);inset-inline:max(6px,env(safe-area-inset-left)) max(6px,env(safe-area-inset-right));display:grid;grid-template-columns:repeat(2,clamp(56px,17vw,76px));justify-content:space-between;row-gap:clamp(9px,4dvh,34px);pointer-events:none}
#world-hub .map-station{box-sizing:border-box;appearance:none;position:relative;text-align:center;line-height:1.05;font:inherit;text-transform:none;letter-spacing:normal;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;color:#173c41}
#world-hub .map-station{pointer-events:auto;min-width:44px;min-height:44px;height:76px;display:grid;grid-template-rows:30px 1fr 14px;align-items:center;justify-items:center;padding:3px 2px;border:1px solid #fff5d9;border-radius:15px;background:linear-gradient(155deg,#fffbed,#f3e7d0 75%);box-shadow:inset 0 0 0 2px #e3c98d,0 3px 0 #916e41,0 5px 9px #17362c44}
#world-hub .map-station .depot-symbol{width:34px}
#world-hub .map-station strong{font-size:clamp(10px,2.9vw,12px);font-weight:850;line-height:1.04}
#world-hub .map-station small{font-size:9px;font-weight:800;color:#325355;line-height:1.05}
#world-hub .map-station.has-ready-reward small{color:#744609;background:#ffe49a;border-radius:9px;padding:1px 6px}
#world-hub #hub-cup{grid-column:2;min-width:0;width:100%;background:radial-gradient(ellipse at 40% 0%,#fff8cd,#f7d78d 64%,#e3b674);border-color:#ffefad}
#world-hub #hub-cup strong{font-size:clamp(9px,2.55vw,12px);max-width:100%;overflow-wrap:anywhere;padding:0 2px;box-sizing:border-box}
#world-hub #hub-cup small{color:white;border-radius:8px;background:#165f53;padding:1px 5px}
#world-hub .map-station:active{filter:brightness(1.09);transform:translateY(1px)}
#world-hub .map-station:focus-visible{outline:3px solid #ffba42;outline-offset:2px}
@media(max-height:690px){
 #world-hub .map-stations{top:clamp(105px,28%,140px);row-gap:10px}
 #world-hub .map-station{height:61px;grid-template-rows:23px 1fr 12px;border-radius:12px}
 #world-hub .map-station .depot-symbol{width:27px}
}
/* Keep the season pin and the roadside milestones clear of the shortcuts. */
#world-hub .seasonal-hub-accent{grid-area:1 / 1}
#world-hub .seasonal-hub-plaque{left:max(6px,env(safe-area-inset-left));transform:none;max-width:calc(23% - 6px);padding:2px 5px;gap:2px}
#world-hub .seasonal-edge-ornament{bottom:0;width:44px;height:44px}
#world-hub .seasonal-edge-glints{bottom:8px}
#world-hub .hub-map .hub-world-gate{left:calc(clamp(56px,17vw,76px) + 12px)!important;width:calc(51% - clamp(56px,17vw,76px) - 16px)!important;box-sizing:border-box;transform:none!important;display:flex!important;flex-direction:column;gap:2px;padding:5px!important;border-radius:9px!important;text-align:center;line-height:1.05}
#world-hub .hub-map .hub-world-gate>span{display:none}
#world-hub .hub-map .hub-world-gate strong{font-size:clamp(9px,2.5vw,11px)!important;line-height:1.08;overflow-wrap:anywhere}
#world-hub .hub-map .hub-world-gate small{font-size:9px!important}
#world-hub .hub-map:has(.journey-world-crossing) .map-stations{visibility:hidden}
#relay-status{position:absolute;left:8px;bottom:7px;pointer-events:none;z-index:5;padding:4px 9px;border:1px solid #b6eadb;border-radius:12px;background:#13443fed;box-shadow:inset 0 1px #e1ffe728;color:#fff0c3;font:800 12px/1.12 system-ui}
#relay-status[hidden]{display:none!important}
.relay-truck-film{position:relative;height:clamp(90px,22vh,180px);border-radius:16px;overflow:hidden;border:2px solid #e7c36d;background:#23494f url('./cup-circuit.webp') center 58%/cover}
.relay-truck-film .cup-scene,.relay-truck-film video{width:100%;height:100%;display:block;object-fit:cover;object-position:center 58%}
.relay-handoff>p,.relay-brief{line-height:1.3;text-align:center}
