:root {
  color-scheme: dark;
  --night: #0d1120;
  --ink: #f0ece4;
  --muted: #a8b1c4;
  --faint: #76849c;
  --amber: #f2cc94;
  --ice: #b2c9f3;
  --seam: rgba(186, 200, 227, 0.2);
  --sans: "Instrument Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --serif: "Gloock", "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  --clock: "Hedvig Letters Serif", "Baskerville", "Times New Roman", serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-family: var(--sans);
  background: var(--night);
  color: var(--ink);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button,
a,
summary {
  touch-action: manipulation;
}
button {
  color: inherit;
  cursor: pointer;
  background: none;
  border: 0;
}
button:disabled {
  opacity: 0.48;
  cursor: wait;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.shell {
  width: min(1480px, 100%);
  padding-inline: clamp(24px, 5.6vw, 96px);
  margin-inline: auto;
}
.night-stage {
  isolation: isolate;
  position: relative;
  color: #f5f1ec;
  background: radial-gradient(
    ellipse at 68% 56%,
    #38354f,
    #181d32 50%,
    #0b1020 86%
  );
}
.night-stage:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(
      90deg,
      rgba(7, 11, 22, 0.72),
      rgba(7, 11, 22, 0.3) 42%,
      rgba(7, 11, 22, 0.06) 72%
    ),
    linear-gradient(
      0deg,
      rgba(9, 13, 26, 0.94),
      rgba(14, 16, 32, 0.08) 44%,
      rgba(9, 13, 27, 0.19)
    ),
    url("/media/night-balcony.webp");
  background-size: cover;
  background-position:
    center,
    center,
    center 62%;
}
.night-atmosphere {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}
.motion-switch {
  display: inline-flex;
  align-items: center;
  color: #c4cbd9;
  font: 0.67rem/1 var(--sans);
  letter-spacing: 0.04em;
  cursor: pointer;
  white-space: nowrap;
}
.motion-switch span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  min-height: 24px;
  padding: 0 7px;
  border: 1px solid #7b869858;
  border-radius: 4px;
  background: #10182777;
}
.motion-switch span:before {
  content: "";
  width: 7px;
  height: 8px;
  border: solid transparent;
  border-width: 4px 0 4px 7px;
  border-left-color: currentColor;
  box-sizing: border-box;
}
.motion-switch input:checked + span:before {
  border: solid currentColor;
  border-width: 0 2px;
}
.motion-switch:hover,
.motion-switch input:focus-visible + span {
  color: #fff1d8;
}
.motion-switch input:focus-visible + span {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}
/* 夜景在独立图层合成，让星图只在预报或视野发生变化时重绘。 */
@media (prefers-reduced-motion: no-preference) {
  .cirrus {
    position: absolute;
    inset: 7% -16% 38%;
    background: url("/media/night-cirrus.webp") center / 100% 100% no-repeat;
    animation: cirrus-drift 23s ease-in-out -6s infinite alternate;
  }
  .starlight {
    position: absolute;
    inset: 4% 1% 41%;
  }
  .starlight:before,
  .starlight:after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 9% 37%, #c7dcff 0.7px, transparent 1.7px),
      radial-gradient(circle at 26% 23%, #edf2ff 0.8px, transparent 2px),
      radial-gradient(circle at 44% 66%, #ffeaca 0.7px, transparent 1.6px),
      radial-gradient(circle at 53% 34%, #daeaff 1px, #c0dcff40 2px, transparent 4px),
      radial-gradient(circle at 73% 13%, #d0deed 0.8px, transparent 1.6px),
      radial-gradient(circle at 84% 56%, #d7e7ff 0.8px, transparent 2px),
      radial-gradient(circle at 94% 26%, #dbdeef 0.7px, transparent 1.5px);
    animation: star-glint 3.9s ease-in-out -1.5s infinite alternate;
  }
  .starlight:after {
    inset: 8% 8% 5% 0;
    transform: scaleX(-1);
    animation-duration: 5.3s;
    animation-delay: -4.5s;
  }
  .meteor {
    position: absolute;
    top: 18%;
    left: 74%;
    width: clamp(62px, 9vw, 138px);
    height: 2px;
    opacity: 0;
    rotate: -19deg;
    transform-origin: left center;
    background: linear-gradient(90deg, #fcf5dc, #c4d9edaa 15%, #8fb1e433 53%, transparent);
    border-radius: 100% 0 0 100%;
    animation: meteor-fall 18s linear infinite;
  }
  .meteor:before {
    content: "";
    position: absolute;
    width: 3px;
    height: 3px;
    top: -0.5px;
    border-radius: 50%;
    background: #fff8e5;
    box-shadow: 0 0 5px 1px #c8e0ffb3;
  }
  .night-stage:has(.motion-switch input:not(:checked)) .night-atmosphere *,
  .night-stage:has(.motion-switch input:not(:checked)) .starlight:before,
  .night-stage:has(.motion-switch input:not(:checked)) .starlight:after {
    animation-play-state: paused;
  }
  @keyframes cirrus-drift {
    from { transform: translateX(-6%); }
    to { transform: translateX(6%); }
  }
  @keyframes star-glint {
    from { opacity: 0.22; }
    to { opacity: 0.85; }
  }
  @keyframes meteor-fall {
    0%, 5% { opacity: 0; transform: translateX(40%) scaleX(0.18); }
    7% { opacity: 0.9; }
    11% { opacity: 0.95; transform: translateX(-48%) scaleX(1); }
    15%, 100% { opacity: 0; transform: translateX(-128%) scaleX(0.24); }
  }
}
@media (prefers-reduced-motion: reduce) {
  .night-atmosphere,
  .motion-switch {
    display: none;
  }
}
.mast {
  height: 76px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
.mast:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: clamp(24px, 5.6vw, 96px);
  right: clamp(24px, 5.6vw, 96px);
  height: 1px;
  background: var(--seam);
}
.brand,
.mast-actions,
.settings-link,
.site-info,
.target-caption,
.legend,
.legend span,
.date-stamp,
.clock-time {
  display: flex;
  align-items: center;
}
.brand {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 1.12rem;
  gap: 13px;
}
.orbit-mark {
  width: 28px;
  height: 28px;
  border: 1.3px solid #efcb96;
  border-radius: 50%;
  position: relative;
  transform: rotate(-33deg);
  margin-inline: 3px;
}
.orbit-mark:before {
  content: "";
  position: absolute;
  inset: 6px -6px;
  border: 1.1px solid #efcb96;
  border-radius: 50%;
}
.orbit-mark i {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: var(--amber);
}
.mast-actions {
  gap: 26px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
.settings-link {
  gap: 8px;
  min-height: 42px;
}
.tune-icon {
  width: 16px;
  height: 13px;
  position: relative;
  background:
    linear-gradient(90deg, var(--muted), var(--muted)) 0 3px / 100% 1px
      no-repeat,
    linear-gradient(90deg, var(--muted), var(--muted)) 0 10px / 100% 1px
      no-repeat;
}
.tune-icon:before,
.tune-icon:after {
  content: "";
  position: absolute;
  width: 3px;
  height: 5px;
  background: var(--ink);
}
.tune-icon:before {
  left: 3px;
  top: 1px;
}
.tune-icon:after {
  right: 3px;
  top: 8px;
}
#subscribe,
.primary {
  background: var(--amber);
  border: 1px solid var(--amber);
  color: #262332;
  font-weight: 650;
  letter-spacing: 0.03em;
}
#subscribe {
  padding: 8px 14px;
  border-radius: 100px;
  min-height: 36px;
}
#subscribe:hover,
.primary:hover {
  background: #ffddac;
}
.alerts:has(.notice:empty):has(#subscription[hidden]):has(#retry[hidden]) {
  display: none;
}
.alerts {
  position: relative;
  z-index: 2;
}
.notice,
.subscription {
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--ink);
}
.notice {
  margin: 12px 0;
}
.notice:empty {
  display: none;
}
#retry,
#copy-url,
#download-ics {
  background: #2e3345;
  border: 1px solid var(--seam);
  padding: 7px 12px;
  border-radius: 3px;
}
.subscription {
  max-width: 680px;
  margin: 12px 0;
  padding: 15px 18px;
  background: #1b2032;
  border-left: 2px solid var(--amber);
}
.subscription div {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0;
}
.subscription div input {
  flex: 1;
}
.subscription small {
  color: var(--muted);
}
.hero {
  display: grid;
  grid-template-columns: minmax(260px, 0.92fr) minmax(0, 1.45fr);
  column-gap: clamp(20px, 5vw, 75px);
  align-items: center;
  padding-block: clamp(46px, 8vh, 100px) clamp(50px, 8vh, 96px);
  min-height: clamp(420px, 55vh, 590px);
}
.site-info {
  gap: 9px;
  font-size: 0.8rem;
  line-height: 1.5;
  letter-spacing: 0.055em;
  color: #d4d9e2;
}
.sight {
  width: 13px;
  height: 13px;
  border: 1px solid #cbd5e4;
  border-radius: 50%;
  position: relative;
}
.sight:before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--amber);
}
.target-caption {
  gap: 11px;
  letter-spacing: 0.055em;
  font-size: 0.84rem;
  color: #d3d6dd;
  margin-top: clamp(26px, 4vh, 46px);
}
.target-caption i {
  width: 16px;
  height: 1px;
  background: #9c9aab;
}
.observation h1 {
  font: 500 clamp(3.4rem, 5.9vw, 6.6rem)/1.2 var(--serif);
  letter-spacing: 0.015em;
  margin: 8px 0 0;
  color: #fff1d8;
  text-shadow: 0 3px 24px #10142355;
}
.principal-time {
  font: 400 clamp(1.75rem, 2.65vw, 3rem)/1.24 var(--clock);
  color: #f9e5c4;
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.005em;
  white-space: nowrap;
}
.principal-time small {
  font: 0.72rem var(--sans);
  color: var(--muted);
  vertical-align: middle;
  margin-right: 0.35em;
}
.bearings {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 27px;
}
.bearings > span {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 4px 7px;
}
.bearings > span:first-child {
  border-right: 1px solid #73798b;
  padding-right: 18px;
}
.bearings i {
  grid-row: 1/3;
  font: normal 23px/1 var(--sans);
  color: var(--amber);
  display: inline-block;
}
.bearings b {
  font-size: 1.02rem;
  font-weight: 560;
  letter-spacing: 0.025em;
}
.bearings small {
  grid-column: 2;
  color: #bbc2d3;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}
.bearings > span:nth-child(2) {
  grid-template-columns: 1fr;
}
.bearings > span:nth-child(2) small {
  grid-column: auto;
}
.chart {
  margin: 0;
  min-width: 0;
  padding: 12px 0 9px;
  position: relative;
}
.chart figcaption {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  font-size: 0.81rem;
  letter-spacing: 0.09em;
  color: #e7e9f2;
}
.chart figcaption span:last-child {
  font: 0.68rem var(--mono);
  letter-spacing: 0.07em;
  color: #cadaeb;
}
#sky {
  width: 100%;
  height: clamp(215px, 24.5vh, 310px);
  display: block;
  filter: drop-shadow(0 1px 3px #0b0e1e);
}
.legend {
  gap: 20px;
  justify-content: flex-end;
  color: #d9deeb;
  font-size: 0.7rem;
}
.legend span {
  gap: 6px;
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
}
.dot.jupiter {
  background: #b7cafa;
}
.ridge-key {
  width: 14px;
  height: 1px;
  background: #c0c8dc;
}
.night-selector {
  display: flex;
  align-items: stretch;
  gap: clamp(16px, 3.4vw, 50px);
  position: relative;
  padding-block: 3px 21px;
}
.week-label {
  flex: 0 0 auto;
  align-self: center;
  display: grid;
  gap: 7px;
  min-width: 83px;
  color: #edebef;
  letter-spacing: 0.1em;
  font-size: 0.86rem;
}
.week-label span:last-child {
  color: #a6aec4;
  font: 0.67rem var(--mono);
  letter-spacing: 0.02em;
}
.days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  width: 100%;
  border-top: 1px solid #78809b70;
}
.day {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 7px;
  padding: 23px 2px 8px;
  color: #afb8cc;
}
.day:before {
  content: "";
  position: absolute;
  top: -3px;
  left: calc(50% - 2px);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #778398;
}
.day strong {
  font: 400 clamp(1.35rem, 2.2vw, 2.05rem)/1.15 var(--clock);
  font-variant-numeric: tabular-nums;
}
.day small {
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}
.day[aria-pressed="true"] {
  color: var(--amber);
}
.day[aria-pressed="true"]:before {
  width: 7px;
  height: 7px;
  top: -4px;
  left: calc(50% - 3px);
  background: var(--amber);
  box-shadow:
    0 0 0 4px #e9cfae24,
    0 0 12px #e9cfae80;
}
.day:hover {
  color: #fff;
}
.below {
  border-top: 1px solid #384053;
}
.agenda {
  display: grid;
  grid-template-columns: minmax(150px, 0.72fr) minmax(0, 1.65fr);
  align-items: start;
  gap: 4vw;
  padding-top: 34px;
}
.date-stamp {
  color: var(--amber);
  font: 0.72rem/1.5 var(--mono);
  letter-spacing: 0.05em;
}
.agenda h2,
summary {
  font: 500 1.66rem/1.4 var(--serif);
  letter-spacing: 0.04em;
  margin: 6px 0;
}
.agenda h2 span {
  font: 0.85rem var(--mono);
  color: #abb4cb;
  vertical-align: super;
}
#night-note,
.caption,
.help,
.save-bar span,
.empty {
  font-size: 0.81rem;
  color: var(--muted);
  line-height: 1.7;
}
#night-note {
  margin: 7px 0;
}
#windows {
  display: grid;
  align-self: stretch;
  border-top: 1px solid var(--seam);
}
.window {
  display: grid;
  width: 100%;
  grid-template-columns:
    minmax(66px, 0.65fr) minmax(125px, 1.25fr) minmax(92px, 1.08fr)
    20px;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid var(--seam);
  padding: 14px 3px;
  text-align: left;
}
.window:hover {
  background: #e7dcff08;
}
.window[aria-pressed="true"] .body-mark {
  box-shadow: 0 0 7px currentColor;
}
.body-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.94rem;
  letter-spacing: 0.06em;
}
.body-mark {
  height: 6px;
  width: 6px;
  background: currentColor;
  border-radius: 50%;
}
.body-label.moon .body-mark {
  color: var(--amber);
}
.body-label.jupiter .body-mark {
  color: var(--ice);
}
.clock-time {
  font: 1.13rem var(--clock);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.window small {
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.75rem;
}
.window .arrow {
  color: var(--amber);
  font-size: 0.97rem;
}
.caption {
  padding: 14px 0 23px;
  margin: 0;
}
details {
  border-block: 1px solid var(--seam);
  margin-bottom: 40px;
  scroll-margin-top: 20px;
}
summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 15px 0;
  list-style: none;
  font-size: 1.28rem;
}
summary::-webkit-details-marker {
  display: none;
}
summary span {
  font: 1.4rem var(--sans);
}
details[open] summary span {
  transform: rotate(180deg);
}
form {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  gap: 15px 6vw;
  padding: 5px 0 30px;
}
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
legend {
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 0 0 12px;
}
.loc-actions,
.fields {
  display: grid;
  gap: 9px;
  align-items: center;
}
.loc-actions {
  grid-template-columns: auto 1fr auto;
  margin: 0 0 12px;
  font-size: 0.8rem;
}
input,
select {
  background: #151a29;
  color: var(--ink);
  border: 1px solid #474d61;
  border-radius: 3px;
  min-width: 0;
  width: 100%;
  min-height: 38px;
  padding: 7px 9px;
  font-family: var(--sans);
}
select {
  cursor: pointer;
}
#locate,
.primary {
  padding: 8px 12px;
  border-radius: 3px;
  min-height: 38px;
}
#locate {
  border: 1px solid #51596e;
}
.fields label,
.ridge-fields label {
  display: grid;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--muted);
}
.fields.three,
.fields.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.fields.three label:last-child {
  grid-column: 1/-1;
}
.help {
  margin: 8px 0;
}
.ridge-fields {
  display: grid;
  gap: 5px;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.ridge-fields label {
  text-align: center;
  font: 0.68rem var(--mono);
}
.ridge-fields input {
  padding: 4px 0;
  text-align: center;
  font: 0.8rem var(--mono);
}
#editor {
  display: block;
  width: 100%;
  height: 100px;
  background: #161d2c;
  border-radius: 3px;
  touch-action: none;
  cursor: crosshair;
  margin: 4px 0 7px;
}
.save-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  grid-column: 1/-1;
}
.error {
  color: #ffb8a5 !important;
}
@media (min-width: 1550px) {
  .mast:after {
    left: 84px;
    right: 84px;
  }
}
@media (max-width: 760px) {
  .shell {
    padding-inline: 22px;
  }
  .mast {
    height: 62px;
  }
  .mast:after {
    left: 22px;
    right: 22px;
  }
  .brand {
    font-size: 1rem;
    letter-spacing: 0.02em;
    gap: 9px;
  }
  .orbit-mark {
    width: 23px;
    height: 23px;
  }
  .orbit-mark:before {
    inset: 5px -4px;
  }
  .orbit-mark i {
    inset: 8px;
  }
  .mast-actions {
    gap: 12px;
    font-size: 0.76rem;
  }
  .settings-link {
    gap: 5px;
  }
  .tune-icon {
    display: none;
  }
  #subscribe {
    padding: 6px 10px;
    min-height: 32px;
  }
  .night-stage:before {
    background-position:
      center,
      center,
      63% center;
    background-image:
      linear-gradient(90deg, rgba(7, 11, 22, 0.42), rgba(7, 11, 22, 0.06)),
      linear-gradient(
        0deg,
        rgba(9, 13, 26, 0.94),
        rgba(14, 16, 32, 0.05) 44%,
        rgba(9, 13, 27, 0.27)
      ),
      url("/media/night-balcony.webp");
  }
  .cirrus {
    inset: 9% -49% 49%;
  }
  .meteor {
    top: 23%;
    left: 84%;
  }
  .hero {
    display: block;
    min-height: 0;
    padding-top: 31px;
    padding-bottom: 18px;
  }
  .observation {
    position: relative;
  }
  .site-info {
    font-size: 0.74rem;
  }
  .target-caption {
    margin-top: 20px;
    margin-bottom: 2px;
    font-size: 0.76rem;
    gap: 8px;
  }
  .observation h1 {
    font-size: clamp(3.3rem, 8vw, 4.5rem);
    line-height: 1.16;
  }
  .principal-time {
    font-size: 1.85rem;
    margin-top: 3px;
  }
  .bearings {
    margin-top: 14px;
    gap: 13px;
  }
  .bearings > span:first-child {
    padding-right: 13px;
  }
  .bearings b {
    font-size: 0.9rem;
  }
  .bearings small {
    font-size: 0.68rem;
  }
  .chart {
    margin-top: 23px;
    padding: 0;
  }
  .chart figcaption {
    font-size: 0.72rem;
  }
  .chart figcaption span:last-child {
    font-size: 0.61rem;
  }
  #sky {
    height: 158px;
  }
  .legend {
    font-size: 0.63rem;
    gap: 13px;
  }
  .night-selector {
    display: block;
    padding-block: 3px 16px;
  }
  .week-label {
    display: flex;
    align-items: baseline;
    gap: 7px;
    margin: 0 0 12px;
    font-size: 0.75rem;
  }
  .days {
    margin: 0;
  }
  .day {
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 12px 0 0;
  }
  .day strong {
    font-size: 1.42rem;
  }
  .day small {
    font-size: 0.63rem;
  }
  .agenda {
    display: block;
    padding-top: 20px;
  }
  .agenda-heading {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: baseline;
    gap: 2px 6px;
    margin-bottom: 10px;
  }
  .date-stamp {
    grid-column: 2;
    grid-row: 1;
    font-size: 0.64rem;
  }
  .agenda h2 {
    grid-column: 1;
    grid-row: 1;
    font-size: 1.35rem;
  }
  .agenda #night-note {
    grid-column: 1/-1;
    font-size: 0.7rem;
    margin: 0;
  }
  .window {
    grid-template-columns: 60px minmax(0, 1fr) 16px;
    gap: 2px 8px;
    padding: 10px 1px;
  }
  .window small {
    grid-column: 2;
    grid-row: 2;
  }
  .window .arrow {
    grid-column: 3;
    grid-row: 1/3;
  }
  .clock-time {
    font-size: 1.1rem;
  }
  .body-label {
    font-size: 0.84rem;
    gap: 7px;
  }
  .caption {
    padding: 12px 0 17px;
    font-size: 0.72rem;
  }
  form {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .subscription {
    padding: 10px 12px;
  }
  .subscription div {
    gap: 5px;
  }
  .subscription small {
    font-size: 0.68rem;
  }
}
@media (max-width: 380px) {
  .shell {
    padding-inline: 16px;
  }
  .mast:after {
    left: 16px;
    right: 16px;
  }
  .mast-actions {
    gap: 8px;
  }
  .subscription {
    font-size: 0.75rem;
  }
}
.chart-surface {
  position: relative;
}
#probe {
  position: absolute;
  pointer-events: none;
  transform: translate(-50%, -50%);
  width: 11px;
  height: 11px;
  border: 1px solid white;
  border-radius: 50%;
  box-shadow:
    0 0 0 2px #171b2f,
    0 0 10px #d8e8ff;
}
.legend small {
  margin-right: auto;
  color: #c3cbdb;
  letter-spacing: 0.04em;
  font: inherit;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

#language {
  padding: 4px 7px;
  color: #ead7b9;
  background: transparent;
  border: 1px solid #8992a4;
  border-radius: 5px;
  cursor: pointer;
}
:lang(en) .principal-time { white-space: normal; }
html:lang(en) .observation h1 { font-size: clamp(2.6rem, 5vw, 5rem); }
@media (max-width: 480px) {
  .mast { height: auto; min-height: 62px; flex-wrap: wrap; gap: 5px; padding-block: 8px; }
  .mast-actions { margin-left: auto; }
  html:lang(en) .window { flex-wrap: wrap; }
}
