/* PROTOTYPE — overpass/sky.css: Sky that day (the direction's §8.8; task B2b). The cloud canvas #ovSky is placed by
   overpass/map.css; here: the porthole's plate (made by overpass/sky.js), and the panel's storm body. */

/* the porthole's plate: the hero's plate (cloudtop at 92%) while the cloud shows; the map's own dark plate when it does
   not (the picture did not arrive, or the slider has thinned it away) */
.sky-plate { position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; max-width: 17rem; font-size: 12.5px; line-height: 1.25; color: #fff; background: rgba(10, 27, 51, .92); border-left: 3px solid var(--track-lit); padding: 5px 9px; will-change: transform; }
.sky-plate b { display: block; font-weight: 650; }
.sky-plate span { display: block; color: var(--pale); }
.sky-plate span + span { color: var(--pale-2); }
.sky-plate.on-cloud { color: var(--ink); background: rgba(249, 251, 252, .92); border-left: 0; }
.sky-plate.on-cloud span, .sky-plate.on-cloud span + span { color: var(--ink-2); }

/* the panel's storm body */
.sky-body > * + * { margin-top: 10px; }
.sky-body .log + .log { margin-top: 6px; }
.sky-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 14px; }
.sky-pass { gap: 0; }
.sky-pass .ico { width: 18px; height: 18px; margin-right: .4em; color: var(--track-lit); }
.sky-cloud { display: inline-grid; grid-template-columns: auto minmax(8em, 14em); align-items: center; gap: 12px; font-size: var(--fs-ui); font-weight: 600; color: var(--pale); }
.sky-cloud input { width: 100%; height: 32px; margin: 0; accent-color: var(--track-lit); cursor: pointer; }
@media (pointer: coarse) {
  .sky-cloud input { height: var(--hit); }
  .sky-pass { min-height: var(--hit); }
}
@media (max-width: 760px) {
  .sky-cloud { grid-template-columns: auto minmax(0, 1fr); width: 100%; }
}
