.mobile-dock,
.mobile-gesture-hint {
  display: none;
}
.sky-loading,
.sky-load-error {
  inset: 0 !important;
  margin: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-direction: column;
  background: radial-gradient(ellipse at center, #102632, #060a13 70%);
  font-size: 17px !important;
  color: #ddfff5 !important;
  pointer-events: auto !important;
  z-index: 4;
}
.sky-loading::before {
  content: '';
  width: 44px;
  height: 44px;
  border: 2px solid #324e54;
  border-top-color: #adfbd7;
  border-radius: 50%;
  animation: sky-loading-turn 1s linear infinite;
}
@keyframes sky-loading-turn {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .sky-loading::before {
    animation: none;
  }
}
body.mobile-atlas > header {
  height: 100px;
  min-height: 0;
  padding: calc(6px + env(safe-area-inset-top)) 12px 4px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px;
  background: #060e17ed;
}
body.mobile-atlas > header .brand {
  font-size: 15px;
  gap: 8px;
}
body.mobile-atlas .brandmark {
  font-size: 23px;
}
body.mobile-atlas .brand small,
body.mobile-atlas .brand .version {
  display: none;
}
body.mobile-atlas > header .header-actions {
  grid-column: 2;
  grid-row: 1;
  gap: 2px;
}
body.mobile-atlas > header .header-actions #discover,
body.mobile-atlas > header .header-actions #saved,
body.mobile-atlas > header .header-actions #help {
  display: none;
}
body.mobile-atlas > header nav {
  position: static;
  transform: none;
  grid-row: 2;
  grid-column: 1/-1;
  display: flex;
  overflow-x: auto;
  gap: 0;
  width: 100%;
  padding: 0;
  white-space: nowrap;
}
body.mobile-atlas > header nav button {
  min-height: 44px;
  flex: 1;
  font-size: 12px;
  padding: 8px 10px;
}
body.mobile-atlas #language {
  height: 40px;
  width: 66px;
  min-width: 0;
  padding: 5px;
  font-size: 12px;
}
body.mobile-atlas .scene-caption {
  top: calc(112px + env(safe-area-inset-top));
  left: 14px;
  right: 14px;
  width: auto;
  pointer-events: none;
  max-width: none;
}
body.mobile-atlas .scene-caption h1 {
  font-size: 23px;
  margin: 4px 0;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.mobile-atlas .scene-caption > .eyebrow {
  font-size: 9px;
}
body.mobile-atlas .scene-caption > p {
  display: none;
}
body.mobile-atlas .scene-caption .scale-jumps,
body.mobile-atlas .scene-caption .atlas-secondary-actions {
  display: none;
}
body.mobile-atlas.mobile-tools-open .scene-caption {
  z-index: 42;
  top: auto;
  bottom: calc(128px + env(safe-area-inset-bottom));
  background: #07111af5;
  border: 1px solid #47636b;
  padding: 18px;
  max-height: 65dvh;
  overflow-y: auto;
  pointer-events: auto;
}
body.mobile-atlas.mobile-tools-open .scene-caption .scale-jumps,
body.mobile-atlas.mobile-tools-open .scene-caption .atlas-secondary-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}
body.mobile-atlas.mobile-tools-open .view-options {
  grid-column: 1/-1;
  width: 100%;
  position: static;
}
.mobile-atlas .view-options summary {
  min-height: 44px;
  padding: 12px;
}
body.mobile-atlas .mobile-dock {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: fixed;
  z-index: 44;
  top: auto;
  left: 8px;
  right: 8px;
  height: auto;
  width: auto;
  max-width: none;
  transform: none;
  margin: 0;
  bottom: calc(8px + env(safe-area-inset-bottom));
  gap: 4px;
  background: #07111af5;
  padding: 5px;
  border: 1px solid #3c575b;
  border-radius: 10px;
}
body.mobile-atlas .mobile-dock button {
  appearance: none;
  min-width: 0;
  min-height: 48px;
  font: inherit;
  font-size: 11px;
  padding: 7px 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  background: #0b1b27;
  color: #d8eee7;
  border: 1px solid #355158;
  border-radius: 5px;
}
body.mobile-atlas .mobile-dock button:focus-visible {
  outline: 2px solid #a7f6d7;
  outline-offset: 2px;
}
body.mobile-atlas .mobile-dock button:hover,
body.mobile-atlas .mobile-dock button:active {
  background: #123b35;
  color: #c7ffe9;
  border-color: #a7f6d7;
}
body.mobile-atlas .mobile-gesture-hint {
  display: block;
  position: fixed;
  bottom: 137px;
  left: 12px;
  right: 12px;
  margin: 0;
  line-height: 1.4;
  z-index: 30;
  text-align: center;
  color: #d0e5e0;
  font-size: 10px;
  pointer-events: none;
  text-shadow: 0 1px 4px #000;
}
body.mobile-atlas > footer {
  bottom: calc(75px + env(safe-area-inset-bottom));
  left: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  background: none;
  z-index: 30;
  height: 54px;
}
body.mobile-atlas > footer .scale-info {
  min-width: 85px;
  max-width: 130px;
}
body.mobile-atlas > footer .scale-info small,
body.mobile-atlas > footer #focusText {
  display: none;
}
body.mobile-atlas > footer .scale-info strong {
  font-size: 13px;
}
body.mobile-atlas .zoom-dock {
  flex: 1;
  min-width: 0;
  max-width: none;
  width: auto;
  height: 54px;
  padding: 4px;
  gap: 3px;
  background: #07111ad9;
}
body.mobile-atlas .zoom-dock button {
  width: 44px;
  height: 44px;
  min-width: 44px;
}
body.mobile-atlas .zoom-track {
  flex: 1;
  min-width: 30px;
}
body.mobile-atlas .zoom-track > div {
  display: none;
}
body.mobile-atlas .zoom-track input {
  height: 42px;
}
body.mobile-atlas #catalog,
body.mobile-atlas #detail {
  position: fixed;
  left: 8px;
  right: 8px;
  top: auto;
  bottom: calc(78px + env(safe-area-inset-bottom));
  width: auto;
  max-width: none;
  height: auto;
  max-height: 66dvh;
  z-index: 43;
  overflow: auto;
  background: #07111af5;
  border-radius: 12px 12px 4px 4px;
  padding: 16px;
}
body.mobile-atlas #catalog {
  display: none;
  transform: none;
}
body.mobile-atlas #catalog.open {
  display: flex;
}
body.mobile-atlas #catalog #results {
  min-height: 80px;
  max-height: 35dvh;
}
body.mobile-atlas #detail.hidden {
  display: none;
}
body.mobile-atlas .panel button,
body.mobile-atlas .panel select,
body.mobile-atlas .panel input:not([type='checkbox']) {
  min-height: 44px;
  font-size: 14px;
}
body.mobile-atlas .panel-heading {
  position: sticky;
  top: -16px;
  background: #0a1721;
  z-index: 2;
  padding: 8px 0;
}
body.mobile-atlas .panel-heading button {
  min-width: 44px;
}
body.mobile-atlas .compact-toolbar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
body.mobile-atlas .compact-toolbar button,
body.mobile-atlas .compact-toolbar select {
  min-height: 44px;
  font-size: 12px;
}
body.mobile-atlas .compact-toolbar input[type='range'] {
  min-height: 44px;
  width: 100%;
}
body.mobile-atlas .compact-dialog h1 {
  font-size: 18px;
  margin: 10px 0;
  line-height: 1.4;
}
body.mobile-atlas .compact-heading {
  position: static;
  flex-wrap: wrap;
  gap: 10px;
}
body.mobile-atlas .lab-viewport {
  min-height: 260px;
}
body.mobile-atlas .lab-object-labels {
  font-size: 12px;
}
body.mobile-atlas dialog {
  max-width: 100dvw;
  max-height: 100dvh;
}
body.mobile-atlas dialog button {
  min-height: 42px;
}
@media (orientation: landscape) {
  body.mobile-atlas > header {
    height: 52px;
    display: flex;
    gap: 12px;
    padding: 4px 12px;
  }
  body.mobile-atlas > header nav {
    width: auto;
    flex: 1;
  }
  body.mobile-atlas .scene-caption {
    top: 66px;
    right: auto;
    max-width: 55vw;
  }
  body.mobile-atlas .mobile-dock {
    left: auto;
    width: 350px;
  }
  body.mobile-atlas > footer {
    bottom: 16px;
    right: 375px;
  }
  body.mobile-atlas .mobile-gesture-hint {
    display: none;
  }
  body.mobile-atlas #catalog,
  body.mobile-atlas #detail {
    left: auto;
    top: 60px;
    width: 340px;
    max-height: calc(100dvh - 136px);
  }
  body.mobile-atlas.mobile-tools-open .scene-caption {
    left: auto;
    right: 8px;
    width: 340px;
    bottom: 78px;
    max-width: none;
    max-height: calc(100dvh - 145px);
  }
}
