/* LaunchDetect / A shared sky.
   One live observatory, framed by the original photographic cloudscape.
   Load after globe.css. Existing [hidden], .show and .open states own visibility. */
:root,
[data-theme=light] {
  --sans: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --bg: #14598c;
  --fg: #11384f;
  --muted: #3d6278;
  --dim: #516e80;
  --accent: #075da7;
  --warn: #a5344d;
  --ok: #167259;
  --okband: rgba(22, 114, 89, .10);
  --panel: rgba(228, 245, 255, .94);
  --line: rgba(42, 107, 150, .21);
  --hdr: 84px;
  --strip: 0px;
  --tl-h: 0px;
  --timeline-expanded: 108px;
  --sky-gutter: 24px;
  --sky-panel-width: 290px;
  --sky-glass: linear-gradient(135deg, rgba(255, 255, 255, .61), rgba(235, 247, 255, .15) 58%), var(--panel);
  --sky-shadow: 0 14px 42px rgba(6, 43, 78, .16), inset 0 1px 0 rgba(255, 255, 255, .85);
  --sky-hover: rgba(33, 138, 218, .10);
}

html { color-scheme: light; }
html, body { overflow: hidden; }
body.celestial-observatory {
  background: #1975b0 url('/globe/assets/heavens-cloudscape.webp') center center / cover no-repeat fixed;
  -webkit-font-smoothing: antialiased;
}
/* The globe uses the full scene until time exploration is explicitly opened. */
body.timeline-open { --tl-h: var(--timeline-expanded); }
body.record-unavailable .left { display: none; }
body.record-unavailable #cesiumContainer { left: 0; }
/* Blue atmospheric light keeps the photographic clouds visible. It does not
   recolor the WebGL canvas or intercept globe and orbit interactions. */
body.celestial-observatory::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 70% 32%, rgba(149, 223, 255, .08), transparent 46%),
    linear-gradient(180deg, rgba(1, 45, 89, .48) 0%, rgba(13, 102, 161, .18) 35%, rgba(89, 168, 221, .27) 70%, rgba(10, 83, 139, .43));
}
body.celestial-observatory::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at 73% 42%, rgba(147, 224, 255, .11), transparent 56%);
  animation: observatory-light 18s ease-in-out infinite alternate;
}
@keyframes observatory-light { to { opacity: .35; } }
body.motion-paused::after { animation-play-state: paused; }
#cesiumContainer {
  left: calc(var(--sky-panel-width) + var(--sky-gutter) + 10px);
  right: 0;
  top: calc(var(--hdr) + var(--strip) + 8px);
  bottom: calc(var(--tl-h) + var(--sky-gutter));
  z-index: 1;
  background: transparent;
}
#cesiumContainer canvas { filter: none; }
.earth-loading #cesiumContainer canvas { visibility:hidden; }
#sky-map-status { position:fixed; top:51%; left:calc(50% + 110px); z-index:3; padding:11px 19px; border-radius:30px; color:#eafdff; background:#185579b8; font:11px var(--sans); }
@media(max-width:760px) { #sky-map-status { top:48%; left:50%; transform:translateX(-50%); white-space:nowrap; } }
body.og #sky-map-status { display:none; }
[hidden] { display: none !important; }
.catalog-control { margin-top:20px; border-top:1px solid var(--line); padding-top:16px; }
.catalog-control button { min-height:40px; padding:9px 14px; border:1px solid #94c4df; border-radius:24px; background:#e2f4ff; color:#12517b; font:500 11px var(--sans); cursor:pointer; }
.catalog-control button[aria-pressed=true] { background:#145c91; color:#fff; }
.catalog-control p { margin:8px 0 0; color:var(--muted); font:10px/1.5 var(--sans); }
.sky-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
::selection { color: #fff; background: #0d71bd; }
button, a { -webkit-tap-highlight-color: transparent; }
button { touch-action: manipulation; }
:focus-visible { outline: 2px solid #0765ae; outline-offset: 4px; }
header {
  height: var(--hdr);
  padding: 0 calc(var(--sky-gutter) + 3px);
  gap: 24px;
  color: #f1fbff;
  background: transparent;
  border: 0;
  backdrop-filter: none;
}
.brand { display: flex; align-items: baseline; gap: 20px; min-width: 0; font-size: 24px; font-weight: 600; letter-spacing: -1.2px; }
.brand .sky-brand-name, .brand .sky-brand-name span { color: #f1fbff; }
.brand small { margin: 0; color: #e0f3ff; font: 400 11px/1.5 var(--sans); letter-spacing: .01em; }
.brand:focus-visible { outline-color: #e5faff; }
.observatory-status { margin-left: auto; flex: 0 0 auto; display: grid; grid-template-columns: auto auto; align-items: center; gap: 5px 12px; text-align: right; }
.observatory-kicker { grid-column: 1 / -1; color: #d3edff; font: 500 8px/1.3 var(--mono); letter-spacing: .18em; }
#sky-feed-status { color: #f0fbff; font: 500 10px/1.4 var(--sans); }
#sky-feed-status::before { content: ''; display: inline-block; width: 5px; height: 5px; margin: 0 7px 1px 0; border-radius: 50%; background: #bceeff; box-shadow: 0 0 9px rgba(181, 239, 255, .85); }
#sky-feed-time { color: #d9efff; font: 400 8px/1.4 var(--mono); }
#sky-feed-time:empty { display: none; }

/* A deliberately small set of live indicators, with the same original IDs. */
.world {
  top: var(--hdr);
  left: var(--sky-gutter);
  right: var(--sky-gutter);
  height: var(--strip);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(235px, 1.12fr);
  padding: 13px 0;
  gap: 0;
  border: 1px solid rgba(227, 247, 255, .83);
  border-radius: 17px;
  background: var(--sky-glass);
  box-shadow: var(--sky-shadow);
  backdrop-filter: none;
}
.world > .w { margin: 0; padding: 0 24px; border-right: 1px solid var(--line); }
.world > .w:last-child { border-right: 0; }
.world > #wNextLaunchWrap { order:0; }
.w .k { flex: none; min-height: 22px; font: 500 9px/1.35 var(--mono); letter-spacing: .06em; color: var(--muted); }
.w .v { flex: none; margin-top: 1px; font: 500 30px/1.12 var(--sans); letter-spacing: -.8px; color: #074d81; }
.w .v.red { color: var(--warn); }
.w .v.amb { color: #07598d; }
.w .v small { margin-top: 2px; color: var(--muted); font: 400 10px/1.2 var(--sans); letter-spacing: 0; }
.w .v.cd { font: 500 24px/1.2 var(--mono); letter-spacing: -.8px; }
.w .nl-row { margin-top: 3px; min-height: 18px; }
.w .nl-sub { font-size: 9px; color: var(--muted); }
.w .nl-loc { min-height: 23px; padding: 3px 9px; border: 1px solid rgba(36, 126, 188, .3); border-radius: 20px; background: rgba(255, 255, 255, .5); font: 500 9px/1 var(--sans); }
.w .nl-loc:hover { color: #fff; background: #0a66aa; border-color: #0a66aa; }

.panel {
  background: var(--sky-glass);
  border: 1px solid rgba(233, 249, 255, .83);
  border-radius: 18px;
  box-shadow: var(--sky-shadow);
  backdrop-filter: none;
  scrollbar-width: thin;
  scrollbar-color: #8fb9d2 transparent;
}
.left {
  top: calc(var(--hdr) + var(--strip) + 18px);
  left: var(--sky-gutter);
  width: var(--sky-panel-width);
  max-height: calc(100% - var(--hdr) - var(--strip) - var(--tl-h) - var(--sky-gutter) - 36px);
  padding: 21px;
  overscroll-behavior-y: contain;
}
.launch-eyebrow { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 15px; color: #3d7093; font: 500 8px/1.4 var(--mono); letter-spacing: .09em; text-transform: uppercase; }
#sky-event-state { color: #0c609a; text-align: right; }
.chips { margin-bottom: 12px; }
.chips:empty { display: none; }
.prev-launches { font: 9px/1.5 var(--mono); }
.chip { border-color: #95bed8; font-size: 10px; }
.chip.on { background: #e9faff; }
.left h2 { margin: 0; color: #103e5d; font: 500 26px/1.13 var(--sans); letter-spacing: -1px; text-wrap: balance; }
.sub { margin: 8px 0 18px; font-size: 11px; line-height: 1.55; color: var(--muted); }
.now { margin-bottom: 17px; padding: 15px; border: 1px solid rgba(37, 134, 196, .25); border-radius: 12px; background: linear-gradient(135deg, rgba(218, 243, 255, .75), rgba(205, 235, 255, .54)); }
.now .mode { color: #0a67a2; font: 500 8px/1.4 var(--mono); letter-spacing: .10em; }
.now .mode.pv { color: var(--warn); }
.now .clock { margin: 5px 0 7px; color: #114d76; font: 500 29px/1.2 var(--mono); letter-spacing: -1px; }
.now .what { color: #3a617a; font-size: 11px; line-height: 1.6; }
.now .what b { color: #173e58; }
.now button { min-height: 25px; top: 9px; right: 9px; padding: 5px 8px; border-radius: 20px; background: #eefaff; font-size: 9px; }
.left h3 { margin: 18px 0 8px; color: #476a80; font: 500 9px/1.5 var(--mono); letter-spacing: .1em; }
.next { margin-bottom: 17px; }
.next li { grid-template-columns: 54px minmax(0, 1fr) auto; gap: 7px; padding: 10px 5px; border-radius: 6px; }
.next li:hover { background: var(--sky-hover); }
.next li.sel { background: rgba(13, 119, 189, .08); }
.next .t, .next .in { font-size: 9px; }
.next .n { font-size: 11px; line-height: 1.35; }
.next .n small { margin-top: 3px; font-size: 10px; line-height: 1.4; }
.next li.why-row { padding: 0 8px 10px; background: rgba(23, 115, 178, .045); }
.next li.why-row p { font-size: 10px; line-height: 1.6; }
.crew { font-size: 8px; }
.life { gap: 6px; }
.life li { font-size: 11px; line-height: 1.6; }
.life li b { min-width: 64px; font-size: 10px; }
details { margin-top: 10px; padding-top: 9px; }
summary { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; color: #315e7d; font: 500 9px/1.5 var(--mono); letter-spacing: .06em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: #3378a6; font-size: 14px; line-height: 1; }
details[open] > summary::after { content: '−'; }
.left .head1,
.left .head1.open {
  display: block;
  position: static;
  inset: auto;
  width: auto;
  max-width: none;
  max-height: none;
  overflow: visible;
  padding: 8px 0 3px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  cursor: auto;
  font: 400 11px/1.65 var(--sans);
  -webkit-line-clamp: unset;
}
.left .head1::after { content: none; }
.left .head1 small { display: block; margin-top: 8px; color: var(--dim); font: 400 9px/1.65 var(--mono); }
.since { grid-template-columns: 1fr; margin-top: 10px; }
.since .s { font-size: 11px; line-height: 1.65; }
.evidence, .trust { margin-top: 9px; color: var(--dim); font-size: 10px; line-height: 1.7; }
.perm { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line); gap: 7px; font-size: 8px; }
.perm button { min-height: 25px; padding: 5px 8px; border-radius: 20px; font: 500 9px/1 var(--sans); }
.perm button:hover { background: var(--sky-hover); color: #064f88; }

/* Map controls sit at the edge of the scene rather than across the Earth. */
.sky-view-controls {
  position: fixed;
  right: var(--sky-gutter);
  bottom: calc(var(--tl-h) + var(--sky-gutter) + 24px);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 5px;
  border: 1px solid rgba(231, 249, 255, .83);
  border-radius: 40px;
  background: rgba(226, 245, 255, .95);
  box-shadow: var(--sky-shadow);
}
.sky-view-controls button {
  min-height: 38px;
  padding: 8px 15px;
  border: 0;
  border-radius: 30px;
  color: #245c81;
  background: transparent;
  font: 500 10px/1.3 var(--sans);
  white-space: nowrap;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.sky-view-controls button:hover { background: #cceaff; color: #074f83; }
.sky-view-controls button[aria-pressed=true],
.sky-view-controls button[aria-expanded=true] { background: #126cac; color: #f0fbff; box-shadow: 0 2px 8px rgba(13, 86, 140, .12); }
.observatory-caption {
  position: fixed;
  top: calc(var(--hdr) + 24px);
  right: calc(var(--sky-gutter) + 8px);
  z-index: 2;
  max-width: calc(100% - var(--sky-panel-width) - 80px);
  margin: 0;
  color: #f0faff;
  font: 400 11px/1.6 var(--sans);
  letter-spacing: .015em;
  text-align: right;
  pointer-events: none;
  text-shadow: 0 1px 8px rgba(3, 40, 68, .82);
}
.gesture-touch { display: none; }
#sky-data-credit { position: fixed; right: calc(var(--sky-gutter) + 5px); bottom: 5px; z-index: 5; color: #e7f6ff; font: 400 7px/1.4 var(--mono); letter-spacing: .015em; text-shadow: 0 1px 5px rgba(5, 50, 82, .65); }
#sky-data-credit:hover { text-decoration: underline; text-underline-offset: 2px; }

/* Secondary context is available on demand without widening the dashboard. */
#sky-context { position: fixed; z-index: 8; right: var(--sky-gutter); top: calc(var(--hdr) + var(--strip) + 18px); width: 352px; max-height: calc(100% - var(--hdr) - var(--strip) - var(--tl-h) - var(--sky-gutter) - 36px); padding: 23px; overflow: auto; overscroll-behavior: contain; }
.sky-context-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 23px; }
.sky-context-heading .observatory-kicker { display: block; margin-bottom: 8px; color: #45758f; font-size: 8px; }
.sky-context-heading h2, .sky-context-heading h3, .sky-context-heading h4 { margin: 0; color: #123f5e; font: 500 23px/1.15 var(--sans); letter-spacing: -.8px; }
#sky-context-close { flex: 0 0 auto; min-width: 34px; min-height: 34px; margin: -7px -8px 0 0; padding: 5px; border: 1px solid var(--line); border-radius: 50%; color: #376d91; background: rgba(242, 251, 255, .6); cursor: pointer; }
#sky-context-close:hover { background: #cceaff; }
.sky-context-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.sky-context-metrics .w { margin: 0; padding: 0 12px 4px 0; min-height: 76px; }
.sky-context-metrics .w:last-child { padding-right: 0; border-right: 0; }
.sky-context-metrics .w .k { min-height: 30px; font-size: 8px; }
.sky-context-metrics .w .v { font-size: 25px; }
.sky-context-metrics .w .v small { white-space: normal; }
.w.click:hover { background: var(--sky-hover); border-radius: 5px; }
.follow { margin-top: 23px; padding-top: 19px; border-top: 1px solid var(--line); }
.follow input { min-height: 40px; padding: 9px 13px; border-radius: 25px; border-color: #a2c7df; background: rgba(246, 252, 255, .85); font: 400 11px/1.3 var(--mono); }
.follow button { min-height: 40px; padding: 9px 17px; border-radius: 25px; color: #f4fcff; background: #116db0; font-size: 11px; font-weight: 500; }
.follow button:hover { background: #07558e; }
.follow small { margin-top: 10px; font-size: 9px; line-height: 1.6; white-space: normal; }

.insp { right: var(--sky-gutter); top: calc(var(--hdr) + var(--strip) + 18px); width: 302px; max-height: calc(100% - var(--hdr) - var(--strip) - var(--tl-h) - var(--sky-gutter) - 36px); overflow: auto; padding: 23px; z-index: 9; }
.insp h4 { max-width: calc(100% - 24px); color: #123f5e; font: 500 23px/1.15 var(--sans); letter-spacing: -.8px; }
.insp .id { margin: 8px 0 19px; font-size: 9px; line-height: 1.5; }
.insp .kv { gap: 10px 12px; font-size: 11px; line-height: 1.45; }
.insp .kv span:nth-child(odd) { font-size: 9px; }
.insp .act { margin-top: 22px; gap: 8px; }
.insp .act a { min-height: 40px; padding: 11px 9px; border-radius: 25px; font-size: 10px; }
.insp .act a.p { color: #f3fbff; background: #116db0; border-color: #116db0; }
.insp .x, .napkin .x { top: 10px; right: 11px; min-width: 32px; min-height: 32px; border: 1px solid var(--line); border-radius: 50%; font-size: 11px; }
.insp .x:hover, .napkin .x:hover { background: var(--sky-hover); color: #075b97; }
.napkin { left: auto; right: var(--sky-gutter); top: calc(var(--hdr) + var(--strip) + 18px); width: min(440px, calc(100% - 48px)); max-height: calc(100% - var(--hdr) - var(--strip) - var(--tl-h) - var(--sky-gutter) - 36px); padding: 25px; overflow: auto; z-index: 10; }
.napkin h4 { margin: 0 24px 13px 0; color: #143e59; font: 500 23px/1.2 var(--sans); letter-spacing: -.8px; }
.napkin p { font-size: 11px; line-height: 1.65; }
.napkin table { margin-block: 15px; border-collapse: collapse; }
.napkin td, .napkin th { padding: 9px 5px; text-align: left; font-size: 10px; line-height: 1.45; }
.napkin th { color: #2f607f; font-weight: 500; }
.napkin tbody tr + tr { border-top: 1px solid var(--line); }
.napkin tfoot td { padding-top: 12px; }
.sat-unavailable-note { left: auto; right: var(--sky-gutter); bottom: calc(var(--tl-h) + var(--sky-gutter) + 85px); max-width: min(370px, calc(100% - 48px)); padding: 7px 12px; border-color: rgba(213, 240, 255, .8); border-radius: 20px; font-size: 9px; line-height: 1.5; }

.tl { left: var(--sky-gutter); right: var(--sky-gutter); bottom: 22px; height: var(--timeline-expanded); padding: 13px 49px 9px 22px; border-radius: 17px; }
#sky-timeline-close { position: absolute; top: 8px; right: 8px; width: 30px; min-height: 30px; padding: 5px; border: 1px solid var(--line); border-radius: 50%; background: rgba(242, 251, 255, .75); color: #275c80; font: 400 16px/1 var(--sans); cursor: pointer; }
#sky-timeline-close:hover { background: #cceaff; color: #074f83; }
.tl .head { align-items: center; gap: 14px; min-height: 16px; margin-bottom: 3px; }
.tl .head b { color: #20587d; font: 500 11px/1.4 var(--sans); }
.tl .head span { color: var(--muted); font-size: 9px; }
.tl .key { gap: 13px; }
.tl .key span { font-size: 8px; }
.key i { width: 6px; height: 6px; margin-right: 4px; }
.key .z { height: 5px; width: 12px; }
.tl .wrap, .tl svg { height: 67px; }
.tl input { top: 23px; }
.tl .wrap:focus-within { outline-offset: 0; }
.ops { right: var(--sky-gutter); top: var(--hdr); width: 352px; padding: 23px; }
.ops h4 { font: 500 23px/1.2 var(--sans); letter-spacing: -.6px; }
.ops p { margin-block: 12px 17px; font-size: 11px; line-height: 1.6; }
.ops .go { border-radius: 25px; font-size: 10px; }
.ops li:first-child .go { color: #fff; }

@media (min-width: 761px) {
  .sheet-toggle, .sheet-peek { display: none !important; }
}
@media (min-width: 761px) and (max-width: 1200px) {
  :root, [data-theme=light] { --sky-gutter: 18px; --sky-panel-width: 278px; }
  .brand { gap: 17px; font-size: 22px; }
  .brand small { font-size: 10px; }
  .world { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(220px, 1.1fr); }
  .world > .w { padding-inline: 18px; }
  .w .k { font-size: 8px; }
  .w .v { font-size: 28px; }
  .w .v.cd { font-size: 22px; }
  .left { padding: 19px; }
  .left h2 { font-size: 26px; }
  .tl .head > span:nth-child(3) { display: none; }
  .observatory-caption { top: calc(var(--hdr) + 22px); }
  .sky-view-controls button { padding-inline: 13px; }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .brand small { display: none; }
  .observatory-caption { font-size: 10px; }
  .observatory-status { gap: 5px 9px; }
  .w .v { font-size: 26px; }
  .world > .w { padding-inline: 14px; }
  .tl .key { gap: 8px; }
  .sky-view-controls button { padding-inline: 11px; font-size: 9px; }
}

@media (max-width: 760px) {
  :root, [data-theme=light] { --hdr: 70px; --timeline-expanded: 80px; --sky-gutter: 12px; --sky-panel-width: 100%; }
  body.celestial-observatory { background-position: 49% center; }
  body.celestial-observatory::before { background: linear-gradient(180deg, rgba(0, 54, 99, .5), rgba(24, 117, 177, .12) 42%, rgba(97, 176, 227, .25) 70%, rgba(10, 71, 116, .42)); }
  header { padding-inline: 17px; gap: 10px; }
  .brand { display: block; font-size: 21px; letter-spacing: -1.1px; }
  .brand small { display: none; }
  .observatory-status { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; min-width: 0; max-width: 50%; }
  .observatory-kicker { font-size: 6px; letter-spacing: .10em; }
  #sky-feed-status { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 8px; }
  #sky-feed-status::before { width: 4px; height: 4px; margin-right: 5px; }
  #sky-feed-time { font-size: 6px; }
  .world { display: flex; grid-template-columns: none; padding: 12px 0; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; border-radius: 14px; }
  .world::-webkit-scrollbar { display: none; }
  .world > .w, .world > .w.click { flex: 0 0 174px; margin: 0; padding: 0 16px; scroll-snap-align: start; }
  #wNextLaunchWrap { order: -1; flex-basis: 183px; }
  .world > #wNextLaunchWrap { border-right: 1px solid var(--line); }
  .world > #wOnPathWrap { border-right: 0; }
  .w .k { min-height: 23px; font-size: 8px; line-height: 1.4; }
  .w .v { font-size: 25px; line-height: 1.15; }
  .w .v.cd { font-size: 19px; letter-spacing: -.65px; }
  .w .v small { font-size: 9px; }
  .w .nl-row { margin-top: 3px; }
  .w .nl-sub { font-size: 8px; }
  .w .nl-loc { min-height: 24px; padding: 3px 7px; font-size: 8px; }
  #cesiumContainer { left: 0; right: 0; top: calc(var(--hdr) + 45px); bottom: calc(var(--tl-h) + 156px); }
  .observatory-caption { top: calc(var(--hdr) + 11px); left: 22px; right: 22px; max-width: none; font-size: 10.5px; text-align: center; }
  .gesture-desktop { display: none; }
  .gesture-touch { display: inline; }
  .left { display: block; top: auto; left: var(--sky-gutter); right: var(--sky-gutter); bottom: calc(var(--tl-h) + 26px); width: auto; max-height: 59px; padding: 10px 16px 16px; overflow: hidden; z-index: 6; border-radius: 15px; background: rgba(230, 247, 255, .98); transition: max-height .2s ease; }
  .left.open { max-height: min(53vh, calc(100% - var(--hdr) - var(--strip) - var(--tl-h) - 42px)); overflow-y: auto; }
  .left::before { width: 32px; height: 3px; margin: 0 auto 11px; border-radius: 3px; background: #7faac5; }
  .left .sheet-toggle { height: 59px; }
  .left .sheet-peek { font-size: 9px; line-height: 1.5; gap: 9px; }
  .left .sheet-peek b { font: 500 12px/1.5 var(--sans); }
  .left .sheet-peek i { color: #086bac; }
  .left:not(.open) .launch-eyebrow { margin-top: 18px; }
  .left.open .launch-eyebrow { margin-top: 8px; }
  .launch-eyebrow { margin-bottom: 12px; font-size: 8px; }
  .left h2 { font-size: 26px; }
  .sub { margin-bottom: 16px; }
  .now { margin-block: 14px 16px; }
  .now .clock { font-size: 28px; }
  .left h3 { margin-top: 17px; }
  .next li { padding-block: 11px; }
  .sky-view-controls { left: var(--sky-gutter); right: var(--sky-gutter); bottom: calc(var(--tl-h) + 96px); gap: 0; justify-content: space-between; padding: 4px; border-radius: 30px; }
  .sky-view-controls button { flex: 1 1 auto; min-height: 40px; padding: 8px 9px; font-size: 9px; }
  .panel { border-radius: 15px; }
  #sky-context { top: auto; left: var(--sky-gutter); right: var(--sky-gutter); bottom: calc(var(--tl-h) + 26px); width: auto; max-height: min(56vh, calc(100% - var(--hdr) - var(--strip) - var(--tl-h) - 42px)); padding: 22px; }
  .sky-context-heading { margin-bottom: 22px; }
  .sky-context-heading h2, .sky-context-heading h3, .sky-context-heading h4 { font-size: 23px; }
  .sky-context-metrics .w { flex: initial; }
  .follow { margin-top: 18px; padding-top: 18px; }
  .follow input, .follow button { min-height: 44px; }
  .insp { top: auto; left: var(--sky-gutter); right: var(--sky-gutter); bottom: calc(var(--tl-h) + 26px); width: auto; max-width: none; max-height: 48vh; padding: 23px; }
  .napkin { top: auto; left: var(--sky-gutter); right: var(--sky-gutter); bottom: calc(var(--tl-h) + 26px); width: auto; max-height: 54vh; padding: 23px; }
  .napkin h4 { font-size: 22px; }
  .tl { left: var(--sky-gutter); right: var(--sky-gutter); bottom: 15px; height: var(--timeline-expanded); padding: 10px 45px 6px 13px; border-radius: 14px; }
  #sky-timeline-close { top: 7px; right: 7px; }
  .tl .head { min-height: 15px; gap: 9px; margin-bottom: 0; }
  .tl .head b { font-size: 10px; }
  .tl .head span { font-size: 8px; }
  .tl .head > span:nth-child(3), .tl .key { display: none; }
  .tl .wrap, .tl svg { height: 46px; }
  .tl input { top: 10px; }
  #sky-data-credit { right: calc(var(--sky-gutter) + 3px); bottom: 2px; font-size: 6px; }
  .sat-unavailable-note { right: var(--sky-gutter); bottom: calc(var(--tl-h) + 154px); max-width: calc(100% - 24px); padding: 6px 10px; font-size: 8px; }
  .ops { left: var(--sky-gutter); right: var(--sky-gutter); width: auto; top: calc(var(--hdr) + 8px); max-height: 70vh; }
}
@media (max-width: 380px) {
  header { padding-inline: 14px; }
  .brand { font-size: 19px; }
  .observatory-kicker { font-size: 5.5px; }
  #sky-feed-status { font-size: 7px; }
  .sky-view-controls button { padding-inline: 7px; font-size: 8px; }
}
@media (min-width: 761px) and (max-height: 740px) {
  :root, [data-theme=light] { --hdr: 68px; --timeline-expanded: 95px; }
  .world { padding-block: 10px; }
  .w .v { font-size: 25px; }
  .w .v.cd { font-size: 21px; }
  .left { top: calc(var(--hdr) + var(--strip) + 14px); padding-block: 17px; max-height: calc(100% - var(--hdr) - var(--strip) - var(--tl-h) - var(--sky-gutter) - 29px); }
  .launch-eyebrow { margin-bottom: 10px; }
  .left h2 { font-size: 25px; }
  .sub { margin-block: 6px 13px; }
  .now { padding: 12px; }
  .now .clock { font-size: 27px; }
  .observatory-caption { top: calc(var(--hdr) + 19px); }
  .tl { bottom: 19px; padding-block: 10px 6px; }
  .tl .wrap, .tl svg { height: 58px; }
  .sky-view-controls { bottom: calc(var(--tl-h) + var(--sky-gutter) + 18px); }
}
@media (max-width: 760px) and (max-height: 690px) {
  :root, [data-theme=light] { --hdr: 60px; }
  .world { padding-block: 9px; }
  .w .v { font-size: 23px; }
  .w .v.cd { font-size: 19px; }
  .observatory-caption { top: calc(var(--hdr) + 9px); }
  #cesiumContainer { top: calc(var(--hdr) + 41px); bottom: calc(var(--tl-h) + 150px); }
}
@media (pointer: coarse) {
  .gesture-desktop { display: none; }
  .gesture-touch { display: inline; }
  .sky-view-controls button { min-height: 44px; }
  .follow input, .follow button, #sky-context-close { min-height: 44px; }
  #sky-context-close { min-width: 44px; }
  .perm button { min-width: 44px; }
  .insp .x, .napkin .x { min-width: 44px; min-height: 44px; }
  .w .nl-loc { min-height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Social-image rendering retains the original full-canvas contract. */
body.og::before, body.og::after,
body.og .sky-view-controls, body.og .observatory-caption,
body.og #sky-context, body.og #sky-data-credit { display: none !important; }
body.og #cesiumContainer { inset: 0 !important; }
body.og #cesiumContainer canvas { filter: none; }
