/* constellation page */
.v-constellation__flat { position: relative; width: 100%; aspect-ratio: 2 / 1; }
.v-constellation__flat canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; }

/* hero globe with its controls underneath */
.v-constellation__globe { width: 100%; max-width: 720px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.v-constellation__ctl { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.v-constellation .pill { min-height: 44px; }
.v-constellation__legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 8px; min-height: 44px; }
.v-constellation__key { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 0; border-radius: 999px;
  background: transparent; color: var(--fg-2); font-size: 13px; cursor: pointer; }
.v-constellation__key:hover { color: var(--fg); }
.v-constellation__key[aria-pressed="true"] { color: var(--fg); box-shadow: inset 0 0 0 1px var(--btn-line); }
.v-constellation__sw { width: 10px; height: 10px; border-radius: 2px; flex: 0 0 auto; }
.v-constellation__kn { font-variant-numeric: tabular-nums; color: var(--fg); }
.v-constellation__readout { min-height: 20px; font-size: 13px; line-height: 20px; color: var(--fg-2); font-variant-numeric: tabular-nums; text-align: center; overflow-wrap: anywhere; }

/* 分布 tile rows are buttons that filter the globe and the map */
.v-constellation__bar { display: flex; width: 100%; min-height: 44px; justify-content: center; padding: 4px 0; border: 0; border-radius: 6px;
  background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.v-constellation__bar:hover .barlist__top span:first-child { color: var(--fg); }
.v-constellation__bar[data-active="true"] .barlist__top span:first-child { color: var(--fg); }

/* colour key under the flat map */
.v-constellation__maplegend { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 14px; font-size: 13px; color: var(--fg-2); }
.v-constellation__mk { display: inline-flex; align-items: center; gap: 8px; }

/* status line above the flat map */
.v-constellation__status { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; margin-bottom: 12px; font-size: 15px; font-variant-numeric: tabular-nums; }
/* while a preview or pin is active, only that row is yellow and the default largest-bar highlights are muted */
.v-constellation.is-filtered .meter__fill--hi { background: var(--bar-idle); }
.v-constellation.is-filtered .v-constellation__bar[data-active="true"] .meter__fill { background: var(--y); }

/* 按高度 tile: headline lines with references, the lowering marker, sources */
.v-constellation__lead { display: flex; flex-direction: column; gap: 2px; }
.v-constellation__ref { font-size: 10px; line-height: 0; font-weight: 600; color: var(--fg-2); padding-left: 2px; font-variant-numeric: tabular-nums; }
.v-constellation__lower { display: flex; align-items: center; gap: 6px; height: 14px; margin-block: -8px; padding-left: 2px; font-size: 11px; line-height: 14px; color: var(--y); }
.v-constellation__src { display: flex; flex-direction: column; gap: 6px; }
.v-constellation__srchead { margin: 0; font-size: 12px; font-weight: 600; color: var(--fg-2); }
.v-constellation__src ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.v-constellation__src li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-size: 12px; color: var(--fg-2); }
.v-constellation__srcn { min-width: 12px; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.v-constellation__src a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--btn-line); text-underline-offset: 3px; min-width: 0; overflow-wrap: anywhere; }
