/* Native PC profile stays 800×600. JS switches its high-specificity profile off
   on mobile so the preserved portal mobile.css can control actual field size. */
.native-mobile-bar {
  display: none;
}
.portal-entry-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin: 12px 0;
  padding: 8px 12px;
  border: 1px solid #b9c5ae;
  color: #f0f6e9;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
}
@media (max-width: 700px),
  (max-width: 950px) and (max-height: 500px),
  (max-width:1100px) and (pointer:coarse), (max-width:1600px) and (max-height:700px) and (any-pointer:coarse) {
  body[data-hud-profile='portal-mobile'] .native-mobile-bar {
    display: flex;
  }
  body[data-hud-profile='portal-mobile'].embedded .native-mobile-bar {
    display: none;
  }
  body[data-hud-profile='portal-mobile'] .hud-menu,
  body[data-hud-profile='portal-mobile'] .minimap-frame,
  body[data-hud-profile='portal-mobile'] .battle-dial,
  body[data-hud-profile='portal-mobile'] #hud::before,
  body[data-hud-profile='portal-mobile'] #hud::after,
  body[data-hud-profile='portal-mobile'] #commander-status::before,
  body[data-hud-profile='portal-mobile'] #commander-status::after,
  body[data-hud-profile='portal-mobile'] #chat-form::before,
  body[data-hud-profile='portal-mobile'] #chat-form::after {
    display: none;
  }
  body[data-hud-profile='portal-mobile'] .region-heading {
    z-index: 4;
  }
  body[data-hud-profile='portal-mobile'] #battle-status {
    z-index: 4;
  }
  body[data-hud-profile='portal-mobile'] #commander-status {
    z-index: auto;
  }
  body[data-hud-profile='portal-mobile'] #viewport {
    pointer-events: auto;
  }
  body[data-hud-profile='portal-mobile'] #mobile-fullscreen-slot {
    display: flex;
  }
}
