@media (max-width: 860px) {
  .layer400-app .operations-layout .map-shell:is(.has-drone-world,.has-drone-scene)[data-drone-view="3d"] .maplibregl-ctrl-bottom-right {
    display: flex;
    right: max(var(--mobile-compass-right, 8px), calc(8px + env(safe-area-inset-right, 0px)));
    bottom: max(var(--mobile-compass-bottom, 8px), calc(8px + env(safe-area-inset-bottom, 0px)));

    & > :not(:has(> .maplibregl-ctrl-compass)),
    & .maplibregl-ctrl-group > button:not(.maplibregl-ctrl-compass) {
      display: none;
    }

    & button.maplibregl-ctrl-compass {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      width: 48px;
      height: 48px;
      padding: 0;
      border: 0;
      background: #fffdf8;
      color: #192b34;
      touch-action: none;
    }

    & .maplibregl-ctrl-compass::before {
      content: "N";
      font: 700 12px/14px var(--font-interface, sans-serif);
    }

    & .maplibregl-ctrl-compass .maplibregl-ctrl-icon {
      width: 24px;
      height: 24px;
      background-size: 24px 24px;
    }
  }
}
