/* Satellite systems and space junk views, and the summary cards (D-059). */
.x-frame .x-sysring { display: block; flex: none; }
.x-frame .x-sring { fill: none; stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 3; }
.x-frame .x-sdot.x-leo { fill: var(--leo); } .x-frame .x-sdot.x-meo { fill: var(--meo); }
.x-frame .x-sdot.x-geo { fill: var(--geo); } .x-frame .x-sdot.x-heo { fill: var(--muted); }
.x-frame .x-sw.x-leo { background: var(--leo); } .x-frame .x-sw.x-meo { background: var(--meo); } .x-frame .x-sw.x-geo { background: var(--geo); }
.x-frame .x-scards { grid-template-columns: repeat(3, 1fr); margin-top: 0; }
.x-frame .x-scard .x-cc-art { height: 160px; }
.x-frame .x-scard .x-cc-name { font-size: 17px; line-height: 1.25; margin-bottom: 4px; }
.x-frame .x-sfacts { margin: 10px 0 0; font-size: 13.5px; display: grid; gap: 5px; }
.x-frame .x-srow { display: grid; grid-template-columns: 68px 1fr; gap: 8px; align-items: start; }
.x-frame .x-srow dt { color: var(--muted); font-weight: 400; }
.x-frame .x-srow dd { margin: 0; display: flex; flex-wrap: wrap; gap: 2px 6px; align-items: center; min-width: 0; }
.x-frame .x-srow .x-ico { width: 16px; height: 16px; }
.x-frame .x-otag { white-space: nowrap; }
.x-frame .x-otag::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 5px; background: var(--muted); }
.x-frame .x-otag.x-leo::before { background: var(--leo); } .x-frame .x-otag.x-meo::before { background: var(--meo); } .x-frame .x-otag.x-geo::before { background: var(--geo); }
.x-frame .x-syshead { display: flex; align-items: center; gap: 10px; }
.x-frame .x-syshead small { font-size: 13px; font-weight: 400; color: var(--muted); }
.x-frame .x-syshead .x-ico { stroke: var(--w); }

.x-frame .x-ktiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.x-frame .x-ktile { display: flex; gap: 16px; align-items: flex-start; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 18px; min-width: 0; }
.x-frame .x-ico.x-ki { stroke: var(--i); } .x-frame .x-ico.x-kr { stroke: var(--r); } .x-frame .x-ico.x-kd { stroke: var(--d); }
.x-frame .x-kshare { font-size: 13px; color: var(--muted); margin-top: 2px; }
.x-frame .x-kdef { margin: 8px 0 0; font-size: 14px; color: var(--muted); max-width: 34ch; }
.x-frame .x-dsrc { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.x-frame .x-dsrc li { display: grid; grid-template-columns: 22px 150px 1fr 56px; gap: 12px; align-items: start; padding: 7px 6px; font-size: 15px; }
.x-frame .x-ds-sq { display: flex; flex-wrap: wrap; gap: 2px; padding-top: 5px; }
.x-frame .x-ds-sq i { width: 9px; height: 9px; border-radius: 2px; background: var(--d); }
.x-frame .x-ds-num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.x-frame .x-jcta { margin: 22px 0 0; }
.x-frame .x-urow[data-tip] { cursor: default; }
@container (max-width: 700px) {
  .x-frame .x-scards { grid-template-columns: 1fr; }
  .x-frame .x-scard { flex-direction: row; } .x-frame .x-scard .x-cc-art { flex: 0 0 120px; height: auto; border-bottom: 0; border-right: 1px solid var(--line); }
  .x-frame .x-scard .x-sysring { width: 110px; height: 110px; }
  .x-frame .x-ktiles { grid-template-columns: 1fr; gap: 8px; } .x-frame .x-ktile { padding: 14px; }
  .x-frame .x-dsrc li { grid-template-columns: 22px 1fr 56px; } .x-frame .x-ds-sq { grid-column: 2 / -1; grid-row: 2; padding-top: 0; }
}
.x-frame .x-u.x-hollow.x-j { border-color: var(--i); }
.x-frame .x-hint a { color: var(--accent-hi); }
/* summary cards: an icon beside every title; the Space junk card's three kinds */
.x-frame .x-cname { display: inline-flex; align-items: center; gap: 9px; min-width: 0; }
.x-frame .x-ico.x-cico { width: 22px; height: 22px; stroke: var(--accent-hi); flex: none; }
.x-frame .x-junkicons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; }
.x-frame .x-junkicons span { display: grid; justify-items: center; gap: 2px; text-align: center; }
.x-frame .x-junkicons .x-ico { width: 30px; height: 30px; }
.x-frame .x-junkicons b { font-size: 15px; font-variant-numeric: tabular-nums; }
.x-frame .x-junkicons small { font-size: 11px; color: var(--muted); line-height: 1.2; }
/* summary cards: the icon is the visual */
.x-frame .x-card .x-cvis { justify-content: center; }
.x-frame .x-ico.x-cbig { width: 60px; height: 60px; stroke: var(--w); stroke-width: 1.2; }
.x-frame .x-card:hover .x-ico.x-cbig { stroke: var(--accent-hi); }
.x-frame .x-miniicons .x-ico { width: 28px; height: 28px; stroke: var(--w); }
@container (max-width: 700px) { .x-frame .x-ico.x-cbig { width: 44px; height: 44px; } .x-frame .x-miniicons .x-ico { width: 22px; height: 22px; } }
/* summary cards: each previews its own view as picture, count, label (like the Space junk card) */
.x-frame .x-junkicons.x-four { grid-template-columns: repeat(4, 1fr); gap: 4px; }
.x-frame .x-junkicons .x-miniorbit { width: 40px; height: 40px; display: block; }
.x-frame .x-junkicons.x-pics span > svg { height: 44px; width: auto; max-width: 100%; display: block; }
.x-frame .x-junkicons.x-pics .x-sdot { r: 3; }
.x-frame .x-miniorbit .x-mo { fill: none; stroke: var(--line); stroke-width: 2; }
.x-frame .x-miniorbit .x-mo.x-leo.x-on { stroke: var(--leo); fill: var(--leo); fill-opacity: .35; }
.x-frame .x-miniorbit .x-mo.x-meo.x-on { stroke: var(--meo); }
.x-frame .x-miniorbit .x-mo.x-geo.x-on { stroke: var(--geo); }
.x-frame .x-ico.x-t-civ { stroke: var(--civ); } .x-frame .x-ico.x-t-def { stroke: var(--def); } .x-frame .x-ico.x-t-aca { stroke: var(--aca); }
.x-frame .x-junkicons span { min-width: 0; }
.x-frame .x-junkicons small { max-width: 100%; overflow-wrap: anywhere; }
@container (max-width: 700px) {
  .x-frame .x-junkicons { gap: 4px; } .x-frame .x-junkicons b { font-size: 13px; } .x-frame .x-junkicons small { font-size: 10px; }
  .x-frame .x-junkicons.x-four { grid-template-columns: 1fr 1fr; gap: 8px 4px; }
  .x-frame .x-junkicons.x-four .x-ico { width: 22px; height: 22px; }
  .x-frame .x-junkicons .x-ico { width: 24px; height: 24px; }
  .x-frame .x-junkicons.x-pics span > svg { height: 36px; } .x-frame .x-junkicons .x-miniorbit { width: 32px; height: 32px; }
}
.x-frame .x-junkicons small { overflow-wrap: normal; hyphens: manual; }
/* home page quick links on a phone (owner, 29 Nov): the two links of a card always share one line, each taking half
   the card, so no card wraps its links while its neighbour does not; each title on one line; one card per row on narrow phones */
@container (max-width: 700px) {
  .x-frame .x-qcard { display: flex; flex-direction: column; }
  .x-frame .x-qcard { padding: 10px 8px; }
  .x-frame .x-qc-head { font-size: 15px; font-weight: 700; gap: 6px; white-space: nowrap; margin-bottom: 9px; }   /* the title on one line too, a step above the links */
  .x-frame .x-qc-head .x-ico { width: 18px; height: 18px; flex: none; }
  .x-frame .x-qchips { flex-wrap: nowrap; gap: 6px; margin-top: auto; }   /* links line up across a row even when a heading wraps */
  .x-frame .x-qchips .x-chip { flex: 1 1 0; min-width: 0; justify-content: center; padding: 4px 6px; font-size: 13px; white-space: nowrap; }
}
@container (max-width: 335px) { .x-frame .x-qcards { grid-template-columns: 1fr; } }
/* constellation cards: the sparkline's caption sits on its own line under the year ticks, so the three never run
   together on a narrow card (owner, 29 Nov) */
.x-frame .x-cc-cap { font-size: 11px; color: var(--muted); margin-top: 1px; }
