/* Geometria externa do Earth. Sem hashes gerados pelo compilador Svelte. */
.mt-wrap { min-height: 100dvh; overflow: hidden; }
.mt-hud { pointer-events: none; max-width: min(310px, calc(100vw - 48px)); }
.mt-tip { max-width: min(250px, calc(100vw - 32px)); }
.mt-depth { display: none !important; }
.wc-earth .top button:not([aria-expanded]) { display: none !important; }
.switcher { max-width: calc(100vw - var(--atlas-safe-left) - var(--atlas-safe-right) - 16px); overflow: hidden; }
.switcher .dock { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.switcher .dock::-webkit-scrollbar { display: none; }

@media (max-width: 767px) {
  .mt-layers-hud { display: none !important; }
  .mt-deck,
  .mt-mobile-bar,
  .mt-panel-scrim,
  .lv-chip { display: none !important; }
  .mt-mobile-bar button:nth-child(2):not(:last-child),
  .mt-mobile-bar button:nth-child(4) { display: none !important; }
  .mt-deck, .mt-foco {
    left: max(8px, var(--atlas-safe-left));
    right: max(8px, var(--atlas-safe-right));
    width: auto;
    max-width: none;
    max-height: min(55dvh, 440px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .lv-sheet, .mt-level-sheet, .mt-plan { max-height: min(75dvh, 600px); }
  .mt-wrap canvas { touch-action: none; user-select: none; -webkit-touch-callout: none; }
}

@media (max-width: 767px) and (max-height: 580px) {
  .mt-tagline { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .mt-wrap *, .mt-wrap *::before, .mt-wrap *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
