.compare-canvas { position: absolute; inset: 0; cursor: grab; }
.compare-canvas:active { cursor: grabbing; }
.compare-label {
  position: absolute; top: 18px; z-index: 2; pointer-events: none;
  padding: 7px 11px; background: var(--bg); color: var(--fg);
  border: 1px solid var(--edge); font: 600 11px var(--mono); letter-spacing: .04em;
}
.compare-label.satellite { left: 18px; }
.compare-label.winter { right: 18px; }
.compare-divider { position: absolute; top: 0; bottom: 0; left: 64%; width: 2px; background: #fff; box-shadow: 0 0 0 1px #0005; z-index: 3; pointer-events: none; }
.compare-handle {
  position: absolute; top: 45%; left: 1px; transform: translate(-50%, -50%);
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid #0d0d0d; background: #fff; color: #0d0d0d;
  pointer-events: auto; cursor: ew-resize; touch-action: none;
}
.compare-handle svg { width: 24px; height: 24px; }
.compare-scenes button, .compare-retry {
  appearance: none; border: 0; background: var(--bg); color: var(--fg);
  font: 600 13px var(--mono); min-width: 44px; min-height: 44px; cursor: pointer;
}
.compare-scenes button:hover { background: var(--fill); }
.compare-scenes { position: absolute; bottom: 30px; right: 18px; z-index: 4; display: flex; border: 1px solid var(--edge); }
.compare-scenes button { padding: 0 15px; }
.compare-scenes button + button { border-left: 1px solid var(--edge); }
.compare-scenes button[aria-pressed="true"] { color: var(--bg); background: var(--fg); }
.compare-attribution { position: absolute; right: 7px; bottom: 3px; z-index: 2; padding: 1px 4px; color: #fff; background: #0008; font: 9px/1.5 var(--mono); pointer-events: none; }
.compare-busy { position: absolute; right: 30px; top: 68px; z-index: 4; width: 18px; height: 18px; border: 2px solid #fff7; border-top-color: #fff; border-radius: 50%; animation: compare-spin .8s linear infinite; }
.compare-retry { position: absolute; right: 18px; top: 99px; z-index: 4; border: 1px solid var(--edge); }
.field-map [hidden] { display: none; }
.cartouche { z-index: 5; }
.inset.full { grid-column: span 12; }
.inset.full img { aspect-ratio: 2 / 1; }
@keyframes compare-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .compare-busy { animation: none; } }
@media (max-width: 640px) {
  .compare-label { top: 10px; padding: 6px 8px; font-size: 10px; }
  .compare-label.satellite { left: 10px; }
  .compare-label.winter { right: 10px; }
  .compare-scenes { right: 10px; bottom: 26px; }
  .compare-scenes button { padding-inline: 10px; }
  .compare-busy { top: 55px; right: 23px; }
  .compare-retry { right: 10px; top: 87px; }
}
