/* The floating HUD of the gothic theme (Work-ID 20261019-hud-float-06ef; zenux, mockup 26-hud-1, "menos poluicao visual ... menus, chats, gerenciar equipe, missao etc. possam ser minimizados").
   The map (#viewport) fills the WHOLE window, edge to edge: no side column, no frame, no castle banner. Everything else floats over it as a compact dark panel with a thin red line:
   top-left the trainer chip (name, level, EXP, and, in two compact rows, the Ouro and the place with its coordinates: Work-ID 20261019-hud-top-924b, zenux 16:36) and, under it, the Radar Pokemon;
   top-right the navigation strip; a right column (minimap, missions, chat); the team at the bottom-left; a slim status line at the foot. Every panel is the mockup's px at 1x (1672 x 941) times `--hud-s` (ui_scale.js: the screen over that reference), applied as
   `zoom`, so the HUD keeps the mockup's proportion to the screen at every size.
   The panels that can be folded (hud_panels.js adds the buttons, hidden until this sheet shows them): the trainer chip, the navigation strip, the missions and the team; the minimap, the chat and the radar
   keep the fold they already had. Nothing is removed from the DOM and no id changes: the older sheets lay the rails out with a grid, so the rail wrappers become `display: contents` here and their children
   are placed on the window. Desktop only: the phone keeps ui/mobile/mobile.css. AGENTS.md "Absolute UI hover geometry": a state only repaints (colour, inset shadow); folding changes a PANEL, never the
   box of the button under the pointer. */
@media screen and (min-width:901px){
 body:not(.mobile-web) #game#game.game-shell.game-shell[id]{--hf-s:var(--hud-s,1);--hf-b:var(--hud-b,1);--hf-status:34px;--hf-left:312px;--hf-right:256px;--hf-frame:inset 0 0 0 1px #653b3e,inset 0 0 0 2px #0d111c,0 0 0 1px #0d111c,0 8px 22px #0d111caa;--hf-bg:linear-gradient(180deg,#121826ee,#101521f3);--hf-btn:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #b93c3b;position:relative!important;overflow:hidden!important;background:#0d111c!important}
 /* ---- the map fills the window ------------------------------------------------------------------------------------------------------------------------------------------------------------ */
 body:not(.mobile-web) #game#game.game-shell.game-shell[id],body:not(.mobile-web) #game#game.game-shell.game-shell[id]::before,body:not(.mobile-web) #game#game.game-shell.game-shell[id]::after{outline:0!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id]{border:0!important;box-shadow:none!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id]::before,body:not(.mobile-web) #game#game.game-shell.game-shell[id]::after{display:none!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-viewport{position:absolute!important;inset:0 0 calc(var(--hf-status) * var(--hf-s)) 0!important;width:auto!important;height:auto!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#0d111c!important;z-index:0!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-world-layout,body:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-world-column,body:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-left-rail{display:contents!important}
 /* ---- panels: one dark box, one thin red line ---------------------------------------------------------------------------------------------------------------------------------------- */
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .trainer-card,body:not(.mobile-web) #game#game.game-shell.game-shell[id] .party-panel>.party-card,body:not(.mobile-web) #game#game.game-shell.game-shell[id] .party-panel>.hud-wide-command,body:not(.mobile-web) #game#game.game-shell.game-shell[id] .hud-minimap-panel,body:not(.mobile-web) #game#game.game-shell.game-shell[id] .hud-missions-panel,body:not(.mobile-web) #game#game.game-shell.game-shell[id] #chat-panel,body:not(.mobile-web) #game#game.game-shell.game-shell[id] .hud-global-nav,body:not(.mobile-web) #game#game.game-shell.game-shell[id] .viewport-top-left,body:not(.mobile-web) #game#game.game-shell.game-shell[id] .party-panel #party-list>.party-card,body:not(.mobile-web) #game#game.game-shell.game-shell[id] .party-panel #party-list>.party-empty{border:0!important;border-image:none!important;border-radius:7px!important;background:var(--hf-bg)!important;box-shadow:var(--hf-frame)!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .party-panel{border:0!important;background:none!important;box-shadow:none!important;padding:0!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-panel-heading{min-height:36px!important;padding:4px 10px!important;gap:8px!important;box-shadow:0 1px 0 #202b44!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-panel-heading>strong{font:700 14px/18px Arial,sans-serif!important;letter-spacing:.06em!important;color:var(--sg-gold-hi)!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-panel-heading>.premium-heading-icon{flex:0 0 22px!important;width:22px!important;height:22px!important}
 /* ---- the fold button every foldable panel wears ---------------------------------------------------------------------------------------------------------------------------------------- */
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .hud-min{display:block!important;position:relative!important;flex:0 0 22px!important;width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important;margin:0 0 0 auto!important;padding:0!important;border:0!important;border-image:none!important;border-radius:3px!important;background:#141a2a!important;box-shadow:var(--hf-btn)!important;color:transparent!important;font-size:0!important;line-height:0!important;overflow:hidden!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .hud-min::before{content:""!important;position:absolute!important;left:5px!important;top:10px!important;width:12px!important;height:2px!important;background:#fff!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .hud-min[aria-pressed="true"]::after{content:""!important;position:absolute!important;left:10px!important;top:5px!important;width:2px!important;height:12px!important;background:#fff!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .hud-min:is(:hover,:focus-visible){background:#1b2439!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #cf7666,inset 0 0 8px #c44c4588!important;outline:none!important}
 /* ---- top-left: the trainer chip ------------------------------------------------------------------------------------------------------------------------------------------------------------ */
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .trainer-card{position:absolute!important;left:8px!important;top:8px!important;width:334px!important;height:88px!important;display:grid!important;grid-template-columns:70px auto minmax(0,1fr)!important;grid-template-rows:25px 18px 16px 18px!important;column-gap:0!important;row-gap:0!important;padding:8px 12px 0 0!important;margin:0!important;zoom:var(--hf-s)!important;z-index:6!important;overflow:visible!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .trainer-skin-hint,body:not(.mobile-web) #game#game.game-shell.game-shell[id] .trainer-card>.premium-panel-heading,body:not(.mobile-web) #game#game.game-shell.game-shell[id] .trainer-stats,body:not(.mobile-web) #game#game.game-shell.game-shell[id] #passport-title,body:not(.mobile-web) #game#game.game-shell.game-shell[id] .trainer-role,body:not(.mobile-web) #game#game.game-shell.game-shell[id] .trainer-portrait-fallback,body:not(.mobile-web) #game#game.game-shell.game-shell[id] .trainer-card::before,body:not(.mobile-web) #game#game.game-shell.game-shell[id] .trainer-card::after{display:none!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .trainer-identity{display:contents!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] #hud-trainer-portrait-shell{display:contents!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] #hud-trainer-portrait{grid-column:1!important;grid-row:1 / 5!important;align-self:center!important;justify-self:center!important;width:56px!important;height:56px!important;border-radius:50%!important;object-fit:cover!important;background:#07030a!important;box-shadow:0 0 0 2px #0d111c,0 0 0 3px #653b3e!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .trainer-identity-copy{display:contents!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] #passport-name{grid-column:2 / 4!important;grid-row:1!important;align-self:center!important;margin:0!important;min-width:0!important;max-width:calc(100% - var(--gold-reserve,128px))!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#fff!important;font:700 17px/22px Arial,sans-serif!important;letter-spacing:.02em!important;text-transform:uppercase!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] #hud-trainer-level{position:static!important;grid-column:2!important;grid-row:2!important;align-self:center!important;display:block!important;height:15px!important;min-width:60px!important;margin:0!important;padding:0 14px 0 8px!important;border:0!important;border-radius:2px!important;background:linear-gradient(180deg,#f9cf5e,#d49a22)!important;clip-path:polygon(0 0,calc(100% - 7px) 0,100% 50%,calc(100% - 7px) 100%,0 100%)!important;color:#1a2236!important;font:700 11px/15px Arial,sans-serif!important;text-align:center!important;white-space:nowrap!important;box-shadow:none!important;text-shadow:none!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] #hud-trainer-xp{display:contents!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .trainer-xp-track{grid-column:3!important;grid-row:2!important;align-self:center!important;margin-left:4px!important;height:11px!important;border-radius:6px!important;background:#111623!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #1f273a!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] #hud-trainer-xp-text{grid-column:2 / 4!important;grid-row:3!important;align-self:center!important;color:#e7e4df!important;font:400 11px/14px Arial,sans-serif!important;white-space:nowrap!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .trainer-card .hud-min{position:absolute!important;right:8px!important;top:6px!important;margin:0!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .trainer-card.hud-min-on{width:74px!important;height:70px!important;grid-template-columns:70px!important;grid-template-rows:70px!important;padding:0!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .trainer-card.hud-min-on :is(#passport-name,#hud-trainer-level,.trainer-xp-track,#hud-trainer-xp-text,#hud-gold){display:none!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .trainer-card.hud-min-on #hud-trainer-portrait{grid-row:1!important}
 /* the Ouro: the empty right end of the NAME row, left of the minimise button (zenux, 2026-10-24: "move the gold to the empty space further up; right now it overlaps other info": in the EXP row it sat over the EXP numbers); the JS puts #hud-gold in the chip */
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .trainer-card .hud-gold{display:flex!important;position:relative!important;z-index:1!important;grid-column:3!important;grid-row:1!important;justify-self:end!important;align-self:center!important;margin-right:30px!important;align-items:center!important;gap:5px!important;height:16px!important;padding:0!important;color:#fff!important;font:700 12px/16px Arial,sans-serif!important;white-space:nowrap!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .trainer-card .hud-gold-coin{flex:0 0 13px!important;width:13px!important;height:13px!important;border-radius:50%!important;background:radial-gradient(circle at 50% 38%,#ffe9a0 0 24%,#e0a53a 26% 64%,#2c3852 66% 100%)!important;box-shadow:0 0 0 1px #0d111c,0 0 6px #f3c96b55!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .trainer-card .hud-gold small{color:var(--sg-gold)!important;font:700 10px/14px Arial,sans-serif!important;letter-spacing:.06em!important;text-transform:uppercase!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .trainer-card.hud-min-on .hud-min{right:-6px!important;top:-6px!important}
 /* ---- top-right: the navigation strip -------------------------------------------------------------------------------------------------------------------------------------------------------- */
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-topbar{position:absolute!important;left:auto!important;right:8px!important;top:8px!important;width:auto!important;height:auto!important;min-height:0!important;max-height:none!important;display:flex!important;align-items:stretch!important;gap:6px!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;zoom:var(--hf-s)!important;z-index:20!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-topbar>.hud-brand,body:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-topbar>.hud-brand+*:empty{display:none!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-topbar>.hud-global-nav{position:relative!important;flex:0 0 auto!important;width:auto!important;max-width:none!important;min-width:0!important;display:flex!important;grid-template-columns:none!important;align-items:center!important;gap:4px!important;height:44px!important;padding:3px 24px 3px 3px!important;margin:0!important;overflow:visible!important}  /* the right padding keeps the strip's chevron (::after) clear of the last label: Work-ID 20261020-codigo-config-5b2b */
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-topbar .hud-global-nav>.hud-nav-item{flex:0 0 auto!important;width:max-content!important;max-width:none!important;overflow:visible!important;white-space:nowrap!important;height:38px!important;min-height:38px!important;max-height:38px!important;padding:0 10px!important;gap:7px!important;border-radius:4px!important;background:linear-gradient(180deg,#151c2c,#111724)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #2e3a56!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-topbar .hud-global-nav>.hud-nav-item>.hud-nav-icon{flex:0 0 20px!important;width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;max-width:20px!important;max-height:20px!important;background-size:20px 20px!important;font-size:17px!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-topbar .hud-global-nav>.hud-nav-item>span:last-child{max-width:none!important;font:700 12px/16px Arial,sans-serif!important;letter-spacing:.03em!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-topbar .hud-global-nav>.hud-nav-item:is(.active,[aria-pressed="true"],#hud-menu-button){background:linear-gradient(180deg,#c85a4f,#ac363a)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #ff7a88,0 0 10px #c44c4566!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-topbar .hud-global-nav>.hud-nav-item.hud-nav-arena{background:linear-gradient(180deg,#151c2c,#111724)!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-topbar .hud-global-nav>.hud-nav-item:is(:hover:not(:disabled),:focus-visible,.pad-focus):not(#hud-menu-button){background:linear-gradient(180deg,#212c46,#141b2b)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px var(--sg-gold-lo)!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-topbar .hud-global-nav>.hud-min{order:-1!important;align-self:center!important;margin:0 2px 0 0!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-topbar.hud-min-on .hud-global-nav>.hud-nav-item:not(#hud-menu-button){display:none!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-topbar>.hud-top-meta{display:flex!important;flex:0 0 auto!important;width:auto!important;max-width:none!important;align-items:center!important;justify-content:flex-start!important;gap:6px!important;height:44px!important;margin:0!important;padding:0!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-topbar #account-head{flex:0 0 44px!important;width:44px!important;min-width:44px!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-topbar .account-trigger,body:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-topbar .hud-exit-button{flex:0 0 44px!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;max-width:44px!important;border-radius:6px!important;background:var(--hf-bg)!important;box-shadow:var(--hf-frame)!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-topbar>.hud-top-meta>.hud-min{display:none!important}
 /* ---- the place and its coordinates: the chip's last row (the location bar stays where it is in the DOM, for the phone; here it is laid over the chip's fourth row, column 2..3) ------------------ */
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-location-bar{position:absolute!important;left:78px!important;right:auto!important;top:75px!important;width:252px!important;height:18px!important;min-height:0!important;display:flex!important;align-items:center!important;gap:6px!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;overflow:hidden!important;zoom:var(--hf-s)!important;z-index:7!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id].game-trainer-min.game-trainer-min .premium-location-bar{display:none!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-location-bar .location-copy{order:1!important;position:relative!important;display:flex!important;align-items:center!important;flex:0 1 auto!important;min-width:0!important;height:18px!important;min-height:0!important;padding:0 0 0 15px!important;border-radius:0!important;background:none!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-location-bar .location-copy::before{content:""!important;position:absolute!important;left:1px!important;top:50%!important;width:9px!important;height:12px!important;margin:-6px 0 0!important;border-radius:0!important;background:var(--sg-gold-hi)!important;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 18'%3E%3Cpath d='M7 0C3.1 0 0 3 0 6.8 0 11.4 7 18 7 18s7-6.600 7-11.200C14 3 10.900 0 7 0zm0 9.400A2.600 2.600 0 1 1 7 4.200a2.600 2.600 0 0 1 0 5.200z'/%3E%3C/svg%3E") center/contain no-repeat!important;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 18'%3E%3Cpath d='M7 0C3.1 0 0 3 0 6.800 0 11.400 7 18 7 18s7-6.600 7-11.200C14 3 10.900 0 7 0zm0 9.400A2.600 2.600 0 1 1 7 4.200a2.600 2.600 0 0 1 0 5.200z'/%3E%3C/svg%3E") center/contain no-repeat!important;box-shadow:none!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-location-bar .location-copy::after{display:none!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-location-bar #map-region{display:none!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-location-bar #map-name{min-width:0!important;margin:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#fff!important;font:700 12px/18px Arial,sans-serif!important;letter-spacing:0!important;text-shadow:0 1px 0 #0d111c!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-location-bar .toolbar-actions{display:contents!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-location-bar :is(.hud-coordinate-icon,.hud-separator),body:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-location-bar::before,body:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-location-bar::after,body:not(.mobile-web) #game#game.game-shell.game-shell[id] #map-source{display:none!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-location-bar #coords{order:2!important;display:flex!important;align-items:center!important;flex:0 0 auto!important;height:18px!important;margin:0!important;padding:0!important;background:none!important;color:#d6c8c8!important;font:400 11px/18px Arial,sans-serif!important;white-space:nowrap!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-location-bar #coords::before{content:"(";margin-right:0!important}body:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-location-bar #coords::after{content:")"!important}
 /* the desktop world is fixed at 3.5x and the region map opens from the minimap (or the M key): no zoom control and no region-map button on the HUD */
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-location-bar :is(#zoom-out,#zoom-value,#zoom-in,#atlas-button){display:none!important}
 /* ---- the right column: minimap, missions, chat ------------------------------------------------------------------------------------------------------------------------------------ */
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-right-rail{position:absolute!important;left:auto!important;bottom:auto!important;right:12px!important;top:calc(64px * var(--hf-s) / var(--hf-b))!important;width:var(--hf-right)!important;height:auto!important;max-height:calc(100% - 77px / var(--hf-b))!important;display:flex!important;flex-direction:column!important;gap:12px!important;padding:0!important;margin:0!important;background:none!important;box-shadow:none!important;border:0!important;overflow:visible!important;zoom:var(--hf-b)!important;z-index:6!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-right-rail>.premium-panel{width:100%!important;margin:0!important;min-height:0!important;max-height:none!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .hud-minimap-panel{flex:0 0 auto!important;height:auto!important;display:flex!important;flex-direction:column!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .hud-minimap-panel .hud-minimap{height:120px!important;min-height:0!important;margin:6px 8px 8px!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .hud-missions-panel{flex:0 0 auto!important;height:auto!important;display:flex!important;flex-direction:column!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .hud-missions-panel .hud-missions-list{max-height:140px!important;min-height:134px!important;overflow-y:auto!important;margin:6px 8px 8px!important;padding:6px 8px!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .hud-missions-panel .hud-panel-action{margin-left:auto!important;height:24px!important;padding:0 10px!important;font-size:11px!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .hud-missions-panel .hud-min{margin-left:6px!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .hud-missions-panel.hud-min-on .hud-missions-list{display:none!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] #chat-panel{flex:0 0 262px!important;height:262px!important;min-height:0!important;display:flex!important;flex-direction:column!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-world-layout.chat-expanded #chat-panel{flex-basis:560px!important;height:560px!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-world-layout.chat-expanded .hud-minimap-panel,body:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-world-layout.chat-expanded .hud-missions-panel{display:none!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] #chat-panel .chat-header{min-height:36px!important;padding:4px 10px!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] #chat-panel .chat-title{font:700 14px/18px Arial,sans-serif!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] #chat-panel #chat-body{flex:1 1 auto!important;min-height:0!important;display:flex!important;flex-direction:column!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] #chat-panel .chat-tabs{display:flex!important;gap:2px!important;padding:6px 6px 0!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] #chat-panel .chat-tab:nth-child(-n+3){flex:0 0 auto!important;width:auto!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] #chat-panel .chat-tab:nth-child(n+4){flex:1 1 0!important;width:auto!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] #chat-panel .chat-tab{height:26px!important;padding:0 3px!important;font:700 10px/14px Arial,sans-serif!important;letter-spacing:0!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] #chat-panel .chat-log{flex:1 1 auto!important;min-height:0!important;margin:6px 8px 0!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] #chat-panel #chat-form{margin:6px 8px 8px!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-world-layout.chat-collapsed #chat-panel{flex-basis:auto!important;height:auto!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-world-layout.chat-collapsed #chat-panel>.chat-header,body:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-world-layout.chat-collapsed #chat-panel>#chat-body{display:none!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-world-layout.chat-collapsed #chat-panel>#chat-rail{display:flex!important;position:static!important;align-items:center!important;justify-content:space-between!important;width:100%!important;height:34px!important;min-height:0!important;padding:0 12px!important;border:0!important;border-radius:7px!important;background:transparent!important;color:var(--sg-gold-hi)!important;font:700 13px/16px Arial,sans-serif!important;letter-spacing:.06em!important;writing-mode:horizontal-tb!important}
 /* ---- bottom-left: the team ----------------------------------------------------------------------------------------------------------------------------------------------------------------- */
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .party-panel{position:absolute!important;left:8px!important;bottom:calc((var(--hf-status) + 22px) * var(--hf-s) / var(--hf-b))!important;top:auto!important;width:var(--hf-left)!important;height:auto!important;display:flex!important;flex-direction:column!important;gap:5px!important;margin:0!important;zoom:var(--hf-b)!important;z-index:6!important;max-height:calc(100% - 260px / var(--hf-b))!important;min-height:0!important;overflow:visible!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .party-panel>.premium-panel-heading{display:none!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .party-panel #party-list{display:grid!important;flex:0 0 auto!important;gap:5px!important;padding:0!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .party-panel .party-card{display:grid!important;grid-template-columns:52px minmax(0,1fr)!important;column-gap:8px!important;align-items:center!important;height:56px!important;min-height:0!important;padding:5px 12px 5px 7px!important;margin:0!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .party-panel .party-card .party-icon{width:44px!important;height:44px!important;border-radius:50%!important;object-fit:contain!important;background:#111724!important;box-shadow:0 0 0 1px #0d111c,0 0 0 2px #2e3a56!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .party-panel .party-card .party-info{min-width:0!important;display:grid!important;grid-template-rows:17px 15px 7px!important;row-gap:2px!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .party-panel .party-card .party-xp,body:not(.mobile-web) #game#game.game-shell.game-shell[id] .party-panel .party-card .xp-track,body:not(.mobile-web) #game#game.game-shell.game-shell[id] .party-panel .party-card .growth-tag{display:none!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .party-panel .party-card .party-name{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:6px!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .party-panel .party-card .party-name strong{font:700 13px/17px Arial,sans-serif!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .party-panel .party-card .party-name span{font:400 12px/16px Arial,sans-serif!important;color:#e7e4df!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .party-panel .party-card .party-meta{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:6px!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .party-panel .party-card .party-meta span:first-child{font:700 10px/15px Arial,sans-serif!important;letter-spacing:.06em!important;color:#a99898!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .party-panel .party-card .party-meta span:last-child{font:400 12px/15px Arial,sans-serif!important;color:#fff!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .party-panel .party-card .hp-bar,body:not(.mobile-web) #game#game.game-shell.game-shell[id] .party-panel .party-card .hp{height:7px!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .party-panel .party-empty{height:34px!important;min-height:0!important;display:grid!important;place-items:center!important;font-size:11px!important;opacity:.7!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .party-panel>.hud-wide-command{position:relative!important;display:flex!important;align-items:center!important;gap:10px!important;height:42px!important;min-height:0!important;margin:0!important;padding:0 86px 0 12px!important;font:700 13px/17px Arial,sans-serif!important;border-radius:7px!important;letter-spacing:.02em!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .party-panel>.hud-wide-command kbd{position:absolute!important;right:9px!important;top:8px!important;display:grid!important;place-items:center!important;width:32px!important;height:26px!important;margin:0!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .party-panel>.hud-min{position:absolute!important;right:48px!important;bottom:10px!important;margin:0!important;z-index:2!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .party-panel.hud-min-on #party-list{display:none!important}
 /* ---- the foot: a slim status line ------------------------------------------------------------------------------------------------------------------------------------------------------- */
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-statusbar{position:absolute!important;left:0!important;right:0!important;bottom:0!important;top:auto!important;height:var(--hf-status)!important;min-height:0!important;padding:0 12px!important;border:0!important;border-radius:0!important;background:linear-gradient(180deg,#101522f2,#0f1420)!important;box-shadow:inset 0 1px 0 #2e3a56!important;zoom:var(--hf-s)!important;z-index:30!important;font-size:11px!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-statusbar *{font-size:11px!important}
 /* ---- the radar, compact (it was the 4 x 2 panel of mockup 21; mockup 26 shows the species in one row, the clock and the period side by side, the GM Repel row and a close box) ---------- */
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-viewport .viewport-top-left{zoom:calc(var(--hf-b) * var(--rs-fit,1))!important;left:8px!important;top:calc(110px * var(--hf-s) / (var(--hf-b) * var(--rs-fit,1)))!important;width:var(--hf-left)!important;padding:10px 10px 10px!important;gap:8px!important;z-index:6!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] #area-radar .radar-head{grid-template-rows:30px!important;grid-template-columns:minmax(0,1fr) 26px 26px!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] #area-radar :is(.radar-toggle,.radar-close){width:26px!important;height:26px!important;min-width:26px!important;min-height:26px!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] #area-radar .radar-kicker>b{font-size:14px!important;line-height:26px!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] #area-radar .radar-title,body:not(.mobile-web) #game#game.game-shell.game-shell[id] #area-radar .radar-title::before{display:none!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] #area-radar .radar-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:6px!important;max-height:112px!important;padding:8px 9px!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] #area-radar .radar-slot{height:44px!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] #area-radar .radar-icon{width:42px!important;height:42px!important;top:-1px!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] #sky-widget:not([hidden]){height:34px!important;min-height:34px!important;gap:8px!important;padding:0 12px!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] #sky-widget .sky-widget-time{order:1!important;display:flex!important;align-items:center!important;font:700 14px/18px Arial,sans-serif!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] #sky-widget .sky-widget-time::before{content:""!important;flex:0 0 12px!important;width:12px!important;height:12px!important;margin-right:8px!important;border:2px solid #d8c9c4!important;border-radius:50%!important;background:linear-gradient(#d8c9c4,#d8c9c4) 50% 20%/2px 5px no-repeat,linear-gradient(#d8c9c4,#d8c9c4) 50% 50%/5px 2px no-repeat!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] #sky-widget .sky-widget-icon{order:2!important;flex:0 0 18px!important;width:18px!important;height:18px!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] #sky-widget i.fa-solid.sky-widget-icon::before{width:18px!important;height:18px!important;background-size:18px 18px!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] #sky-widget .sky-widget-period{order:3!important;font:700 13px/18px Arial,sans-serif!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] #sky-widget .sky-widget-weather{order:4!important}body:not(.mobile-web) #game#game.game-shell.game-shell[id] #sky-widget .sky-widget-more{order:5!important}
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] #gm-repel-toggle:not(.hidden),body:not(.mobile-web) #game#game.game-shell.game-shell[id] #repel-hud:not(.hidden){height:30px!important;min-height:30px!important;font-size:13px!important}
}
/* a narrow desktop window (up to 1180 px) shows only MENU in the strip (the older rule of nav-art.css: the Menu holds the other entries): nothing to fold */
@media screen and (min-width:901px) and (max-width:1180px){
 body:not(.mobile-web) #game#game.game-shell.game-shell[id] .hud-global-nav>.hud-min{display:none!important}
}
