/* Os controles móveis mantêm seu próprio layout e estado. */
.clean-hud-toggle[hidden],
.desktop-sound-shortcut[hidden],
.desktop-activities-shortcut[hidden] {
  display: none !important;
}
@media (min-width: 761px) and (pointer: fine) {
  body:not(.mobile-hud) #hud .clean-hud-toggle {
    min-width: 84px;
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid #d8e3c655;
    border-radius: 10px;
    background: #132b23ed;
    color: #f4e5aa;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    pointer-events: auto;
  }
  body:not(.mobile-hud) #hud .clean-hud-toggle:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
  }
  body:not(.mobile-hud) #hud #chat-content[hidden],
  body:not(.mobile-hud) #hud .map-panel > [hidden],
  body:not(.mobile-hud) #hud .dock[hidden] {
    display: none !important;
  }
  body:not(.mobile-hud) #hud .chat-title {
    min-height: 44px;
  }
  body:not(.mobile-hud) #hud .map-panel {
    pointer-events: auto;
  }
  body:not(.mobile-hud) #hud .map-panel.clean-map-collapsed {
    width: auto;
    min-width: 84px;
    background: transparent;
    border: 0;
    overflow: visible;
    box-shadow: none;
  }
  body:not(.mobile-hud) #hud .map-panel > .clean-hud-toggle {
    width: 100%;
  }
  body.playing:not(.mobile-hud) #hud .action-area.clean-actions-collapsed {
    width: auto;
    max-width: calc(100vw - 40px);
    left: 50%;
    transform: translateX(-50%);
    gap: 0;
  }
  body:not(.mobile-hud) .clean-actions-collapsed #movement-tip {
    display: none;
  }
  body.playing:not(.mobile-hud) #hud nav.grouped-dock > .action-category {
    min-height: 44px;
    padding: 7px 8px;
  }
  body:not(.mobile-hud) #hud .location {
    min-height: 44px;
    max-width: min(320px, calc(100vw - 150px));
    padding: 0 0 0 10px;
    gap: 8px;
  }
  body:not(.mobile-hud) #hud .location > div {
    min-width: 0;
  }
  body:not(.mobile-hud) #hud .location b {
    font-size: 9px;
    letter-spacing: 1px;
  }
  body:not(.mobile-hud) #hud .location span {
    font-size: 10px;
    margin-top: 2px;
  }
  body:not(.mobile-hud) #hud .location #leave {
    min-width: 44px;
    min-height: 44px;
    margin: 0;
    flex-shrink: 0;
  }
}
