/* Sat image loop pages only. Does not touch the map toolbar. */
.page.sat-loop {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #061018;
}
.sat-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px 14px;
  flex-wrap: wrap;
  margin: 0;
  padding: calc(8px + env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) 8px max(12px, env(safe-area-inset-left));
  background: rgba(6, 16, 24, 0.92);
  border-bottom: 1px solid var(--border);
}
.sat-bar .logo { flex: 0 0 auto; }
.sat-heading { flex: 1 1 180px; min-width: 0; }
.sat-heading h1 {
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.2;
  margin: 0;
}
.sat-status {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}
.sat-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 1 auto;
  margin-left: auto;
}
.sat-when {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.sat-play {
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #f4f7fb;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 6px 12px;
  cursor: pointer;
}
.sat-play:hover,
.sat-play:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  outline: none;
}
.sat-play:disabled { opacity: 0.45; cursor: default; }
.sat-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 0.82rem;
}
.sat-nav a { color: var(--text); text-decoration: none; }
.sat-nav a:hover,
.sat-nav a[aria-current="page"] { color: var(--teal); }
.sat-stage {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #061018;
}
.sat-stage img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: calc(100dvh - 92px);
  object-fit: contain;
  background: #061018;
}
.sat-credit {
  margin: 0;
  padding: 6px 12px calc(8px + env(safe-area-inset-bottom));
  color: var(--muted);
  font-size: 0.75rem;
  background: rgba(6, 16, 24, 0.92);
  border-top: 1px solid var(--border);
}
@media (max-width: 640px) {
  .sat-actions { width: 100%; margin-left: 0; justify-content: space-between; }
  .sat-stage img { max-height: calc(100dvh - 150px); }
}
