/* The map layout and the HUD's edge folds (Work-ID 20261023-hud-edge-layout-35bc; zenux, 2026-10-23, mockup 29_fttQ8nM_1). Behaviour is in hud_layout.js; this sheet is the boxes.
   * EDGE FOLDS: a panel with `data-hud-edge` slides to the nearest edge of the screen with the CSS `translate` of the PANEL (never of a button) and, once away, is hidden (no focus, no pointer); its tab (`.hud-edge-tab`, a real
     button drawn at the screen edge or at the panel's inner edge by hud_layout.js) brings it back. The tab keeps ONE box in every state (AGENTS.md absolute hover geometry): hover / focus / pad focus repaint only; the arrow
     is a picture chosen by the state, not a transformed glyph.
   * VERTICAL MAP (`body.map-vertical`, set by hud_layout.js on a desktop wide enough; zenux's mockup 30_rWG1Di0_1): three full-height columns down to the status bar. LEFT (#vl-left, built by hud_layout.js): the trainer card, the
     Pokémon radar block (.vl-radar: the radar, the time and the GM repel inside it) and the team, which grows to the bottom. CENTRE: the menu strip, the location bar and the world canvas to the bottom. RIGHT: the
     minimap, the missions and the chat, which takes all the height the others leave. Panels keep their zoom (--hf-s / --hf-b: the HUD is drawn in the mockup's px times the screen's factor), so a position in screen px is
     divided by the panel's own factor. Desktop only: the phone keeps its layout. */
.vl-place,.vl-sky,.vl-col{display:none}
@media screen and (min-width:901px){
 /* ---- folds ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] [data-hud-edge]{translate:var(--hud-edge-dx,0px) var(--hud-edge-dy,0px);transition:translate .22s ease,visibility 0s}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] [data-hud-edge].hud-edge-on{visibility:hidden;pointer-events:none;transition:translate .22s ease,visibility 0s .22s}
 /* a folded panel of the right column leaves the column's flow, so the ones under it move up */
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-right-rail>[data-hud-edge].hud-edge-on{position:absolute!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .hud-edge-tab{position:absolute!important;z-index:30!important;display:block!important;box-sizing:border-box!important;margin:0!important;padding:0!important;border:0!important;border-radius:5px!important;
  background:#171d2b center / 12px 18px no-repeat!important;box-shadow:inset 0 0 0 1px #2a3550,inset 0 0 0 2px #0a0e18!important;cursor:pointer!important;transition:none!important;font-size:0!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .hud-edge-tab[hidden]{display:none!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .hud-edge-tab:is(:hover,:focus-visible,.pad-focus){background-color:#202a3b!important;box-shadow:inset 0 0 0 1px #d94a55,inset 0 0 0 2px #0a0e18!important;outline:0!important}
 /* the arrow: a picture for each side and state (never a rotated glyph) */
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .hud-edge-tab[data-side="left"][aria-expanded="true"],
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .hud-edge-tab[data-side="right"][aria-expanded="false"]{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 16'%3E%3Cpath d='M7 2 3 8l4 6' fill='none' stroke='%23f1eee8' stroke-width='2'/%3E%3C/svg%3E")!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .hud-edge-tab[data-side="left"][aria-expanded="false"],
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .hud-edge-tab[data-side="right"][aria-expanded="true"]{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 16'%3E%3Cpath d='M3 2 7 8l-4 6' fill='none' stroke='%23f1eee8' stroke-width='2'/%3E%3C/svg%3E")!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .hud-edge-tab[data-side="top"]{background-size:18px 12px!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .hud-edge-tab[data-side="top"][aria-expanded="true"]{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M2 7 8 3l6 4' fill='none' stroke='%23f1eee8' stroke-width='2'/%3E%3C/svg%3E")!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .hud-edge-tab[data-side="top"][aria-expanded="false"]{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M2 3 8 7l6-4' fill='none' stroke='%23f1eee8' stroke-width='2'/%3E%3C/svg%3E")!important}
 /* ---- the vertical map ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */
 body.map-vertical:not(.mobile-web) #game#game.game-shell.game-shell[id]{--vl-bottom:calc(var(--hf-status) * var(--hf-s))}
 /* folded panels of the left column leave its flow too */
 body.map-vertical:not(.mobile-web) #game#game.game-shell.game-shell[id] #vl-left>[data-hud-edge].hud-edge-on{position:absolute!important}
 /* LEFT: one column, one width, from the top to the status bar */
 body.map-vertical:not(.mobile-web) #game#game.game-shell.game-shell[id] #vl-left{position:absolute;left:0;top:0;bottom:var(--vl-bottom);width:var(--vl-left);box-sizing:border-box;padding:8px 26px 8px 8px;display:flex;flex-direction:column;gap:8px;z-index:6;pointer-events:none}
 body.map-vertical:not(.mobile-web) #game#game.game-shell.game-shell[id] #vl-left>*{pointer-events:auto}
 body.map-vertical:not(.mobile-web) #game#game.game-shell.game-shell[id] #vl-left>.trainer-card{position:relative!important;left:auto!important;top:auto!important;flex:0 0 auto!important;width:calc((var(--vl-left) - 34px) / var(--hf-b))!important;zoom:var(--hf-b)!important}
 body.map-vertical:not(.mobile-web) #game#game.game-shell.game-shell[id] .trainer-card>.vl-place{position:absolute;left:70px;top:66px;right:12px;height:18px;display:flex;align-items:center;gap:6px;font:700 12px/18px Arial,sans-serif;color:#fff;white-space:nowrap}
 body.map-vertical:not(.mobile-web) #game#game.game-shell.game-shell[id] .trainer-card>.vl-place>i{flex:0 0 auto;color:#f0c66a;font-size:11px}
 body.map-vertical:not(.mobile-web) #game#game.game-shell.game-shell[id] .trainer-card>.vl-place .vl-place-name{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis}
 body.map-vertical:not(.mobile-web) #game#game.game-shell.game-shell[id] .trainer-card>.vl-place .vl-place-coords{flex:0 0 auto;margin-left:auto;font-weight:400;color:#d6c8c8}
 body.map-vertical:not(.mobile-web) #game#game.game-shell.game-shell[id] #vl-left>.vl-radar{flex:0 0 auto;display:flex;flex-direction:column;gap:8px;width:calc((var(--vl-left) - 34px) / var(--hf-b));zoom:var(--hf-b);box-sizing:border-box;padding:0 0 10px;background:var(--hf-bg);box-shadow:var(--hf-frame);border:0;border-radius:0}
 body.map-vertical:not(.mobile-web) #game#game.game-shell.game-shell[id] .vl-head{display:flex;align-items:center;gap:8px;min-height:36px;padding:4px 10px;box-shadow:0 1px 0 #202b44}
 body.map-vertical:not(.mobile-web) #game#game.game-shell.game-shell[id] .vl-head>i{flex:0 0 22px;width:22px;text-align:center;color:#35cfa4;font-size:15px}
 body.map-vertical:not(.mobile-web) #game#game.game-shell.game-shell[id] .vl-head>strong{font:700 14px/18px Arial,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:var(--sg-gold-hi,#f0c66a)}
 body.map-vertical:not(.mobile-web) #game#game.game-shell.game-shell[id] .vl-radar #sky-widget,body.map-vertical:not(.mobile-web) #game#game.game-shell.game-shell[id] .vl-radar #gm-repel-toggle,body.map-vertical:not(.mobile-web) #game#game.game-shell.game-shell[id] .vl-radar #repel-hud{width:auto!important;max-width:none!important;align-self:stretch!important}
 body.map-vertical:not(.mobile-web) #game#game.game-shell.game-shell[id] .vl-radar>.viewport-top-left{position:static!important;left:auto!important;top:auto!important;zoom:1!important;width:auto!important;margin:0!important;padding:0 10px!important;display:flex!important;flex-direction:column!important;gap:8px!important;background:none!important;border:0!important;box-shadow:none!important}
 body.map-vertical:not(.mobile-web) #game#game.game-shell.game-shell[id] #vl-left>.party-panel{position:relative!important;left:auto!important;top:auto!important;bottom:auto!important;flex:1 1 0!important;min-height:0!important;max-height:none!important;width:calc((var(--vl-left) - 34px) / var(--hf-b))!important;zoom:var(--hf-b)!important;gap:8px!important;padding:0 0 10px!important;
  background:var(--hf-bg)!important;box-shadow:var(--hf-frame)!important}
 body.map-vertical:not(.mobile-web) #game#game.game-shell.game-shell[id] #vl-left>.party-panel.hud-min-on{flex:0 0 auto!important}
 body.map-vertical:not(.mobile-web) #game#game.game-shell.game-shell[id] .party-panel>.premium-panel-heading{display:flex!important}
 body.map-vertical:not(.mobile-web) #game#game.game-shell.game-shell[id] .party-panel #party-list{flex:1 1 0!important;display:flex!important;flex-direction:column!important;gap:6px!important;padding:0 10px!important;min-height:0!important;overflow-y:auto!important;scrollbar-width:thin}
 body.map-vertical:not(.mobile-web) #game#game.game-shell.game-shell[id] .party-panel .party-card{flex:1 0 56px!important;height:auto!important;min-height:56px!important;max-height:84px!important}
 body.map-vertical:not(.mobile-web) #game#game.game-shell.game-shell[id] .party-panel .party-empty{flex:1 0 28px!important;height:auto!important;min-height:28px!important;max-height:84px!important}
 /* the radar block's own heading gives way to the radar's, once the radar has its encounters to show */
 body.map-vertical:not(.mobile-web) #game#game.game-shell.game-shell[id] .vl-radar:has(#area-radar:not(.hidden))>.vl-head{display:none}
 body.map-vertical:not(.mobile-web) #game#game.game-shell.game-shell[id] .party-panel>.hud-wide-command{margin:0 10px!important;flex:0 0 auto!important}
 /* RIGHT: the minimap, the missions, and the chat taking what is left down to the status bar */
 body.map-vertical:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-right-rail{left:calc((var(--vl-rx) + 26px) / var(--hf-b))!important;right:auto!important;top:calc(8px / var(--hf-b))!important;bottom:calc((var(--vl-bottom) + 8px) / var(--hf-b))!important;
  width:calc((var(--vl-right) - 34px) / var(--hf-b))!important;height:auto!important;max-height:none!important;gap:8px!important}
 body.map-vertical:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-world-layout:not(.chat-collapsed) #chat-panel{flex:1 1 0!important;height:auto!important;min-height:120px!important}
 /* CENTRE: the menu strip, the location bar, the world to the bottom */
 body.map-vertical:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-topbar{left:calc((var(--vl-left) + 4px) / var(--vl-nav-z,1))!important;right:auto!important;top:calc(8px / var(--vl-nav-z,1))!important;width:calc((var(--vl-cw) - 8px) / var(--vl-nav-z,1))!important;zoom:var(--vl-nav-z,1)!important}
 body.map-vertical:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-topbar .hud-global-nav{flex:1 1 auto!important}
 body.map-vertical:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-location-bar{position:absolute!important;left:calc((var(--vl-left) + 4px) / var(--hf-s))!important;top:calc(var(--vl-loc-top) / var(--hf-s))!important;width:calc((var(--vl-cw) - 8px) / var(--hf-s))!important;height:44px!important;
  box-sizing:border-box!important;display:flex!important;align-items:center!important;gap:16px!important;padding:0 10px 0 14px!important;zoom:var(--hf-s)!important;z-index:6!important;background:var(--hf-bg)!important;box-shadow:var(--hf-frame)!important;border:0!important}
 body.map-vertical:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-location-bar .location-copy{order:1!important;flex:0 1 auto!important;height:24px!important;padding-left:18px!important}
 body.map-vertical:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-location-bar #map-name{font:700 16px/24px Arial,sans-serif!important}
 body.map-vertical:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-location-bar #coords{order:2!important;display:block!important;flex:0 0 auto!important;height:24px!important;font:400 13px/24px Arial,sans-serif!important;color:#d6c8c8!important}
 body.map-vertical:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-location-bar .toolbar-actions{display:contents!important}
 body.map-vertical:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-location-bar>.vl-sky{order:3;display:flex;align-items:center;gap:8px;flex:0 0 auto;font:700 13px/20px Arial,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:#f0c66a}
 body.map-vertical:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-location-bar>.vl-sky>i{font-size:16px}
 body.map-vertical:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-location-bar #atlas-button{order:7!important}
 body.map-vertical:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-location-bar :is(#zoom-out,#zoom-in,#zoom-value){display:none!important}      /* Work-ID 20261107-identity-hud2-6c1f (zenux 11-07 03:08): the zoom control is gone, as it was asked at the start of the HUD work */
 body.map-vertical:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-location-bar #atlas-button{margin-left:auto!important;order:4!important;display:grid!important;place-items:center!important;flex:0 0 auto!important;box-sizing:border-box!important;width:38px!important;height:30px!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:3px!important;
  background:#141a2a!important;box-shadow:var(--hf-btn,inset 0 0 0 1px #0d111c,inset 0 0 0 2px #5c3639)!important;color:#f1eee8!important;font:700 20px/20px Arial,sans-serif!important}
 body.map-vertical:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-location-bar #atlas-button{font-size:0!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 16'%3E%3Cpath d='M3 2 7 8l-4 6' fill='none' stroke='%23f1eee8' stroke-width='2'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:center!important;background-size:10px 16px!important}
 body.map-vertical:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-location-bar #atlas-button>*{display:none!important}
 body.map-vertical:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-viewport{left:calc(var(--vl-left) + 4px)!important;top:var(--vl-map-top)!important;right:auto!important;bottom:calc(var(--vl-bottom) + 6px)!important;width:calc(var(--vl-cw) - 8px)!important;height:auto!important;outline:1px solid #2a3550!important}
 /* a narrow centre column: the strip keeps only MENU (the same rule the narrow window gets in nav-art.css) */
 body.map-vertical.map-narrow:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-topbar .hud-global-nav>.hud-nav-item:not(#hud-menu-button),
 body.map-vertical.map-narrow:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-topbar .hud-global-nav>.hud-min{display:none!important}
}
