/* The controls frame the instrument and leave the centre clear for the scene. */
body.observatory-instrument {
  --instrument-bg: #101b27;
  --instrument-line: #a3bed336;
  --instrument-brass: #cde3f0;
  --instrument-ink: #d9e5f3;
  --instrument-deck: 14px;
  --instrument-rail: 149px;
  --instrument-tools: 217px;
}

body.observatory-instrument::before { display: none; }
html:is(.zz-embedded,.zz-standalone) .observatory-instrument #scene { filter: saturate(1.03) brightness(1.23); }
.observatory-instrument .vignette { opacity: .32; }
.observatory-instrument .loader.gone { pointer-events: none; }
.observatory-instrument :is(.tradition-note, .cultures-label, .book-nav, .actions > a) {
  display: none;
}

html:is(.zz-embedded,.zz-standalone) .observatory-instrument .zz-instrument-home {
  top: 15px;
  left: 20px;
  color: var(--instrument-brass);
  font-size: .875rem;
}

html:is(.zz-embedded,.zz-standalone) .observatory-instrument .cultures {
  position: fixed;
  inset: 14px auto auto 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: stretch;
  flex-direction: row;
  z-index: 8;
  gap: 2px;
  width: min(560px, calc(100vw - 26px));
  max-width: none;
  padding: 4px;
  border: 1px solid var(--instrument-line);
  border-radius: 12px;
  background: #101924e8;
  box-shadow: 0 6px 20px #03080e44;
}

html:is(.zz-embedded,.zz-standalone) .observatory-instrument .cultures button {
  flex: 1;
  min-width: 0;
  min-height: 45px;
  padding: 5px 4px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #c5d2e4;
  font: 600 .9375rem/1.15 Inter, system-ui, sans-serif;
  text-align: center;
  background: transparent;
  box-shadow: none;
  transform: none;
}

html:is(.zz-embedded,.zz-standalone) .observatory-instrument .cultures button span {
  display: block;
  margin-top: 4px;
  color: #c3d1e2;
  font: 400 .75rem/1.15 Inter, system-ui, sans-serif;
  letter-spacing: .01em;
  text-transform: none;
  white-space: normal;
  opacity: 1;
}

html:is(.zz-embedded,.zz-standalone) .observatory-instrument .cultures button[aria-pressed='true'] {
  color: #eef7ff;
  border-color: #a9c5d65e;
  background: #2b4151;
}

.observatory-instrument .cultures::before,
.observatory-instrument .cultures button::before,
.observatory-instrument .cultures button::after { display: none; }

html:is(.zz-embedded,.zz-standalone) .observatory-instrument .topbar {
  position: fixed;
  inset: 77px 12px auto;
  z-index: 7;
  display: flex;
  width: auto;
  height: auto;
  justify-content: center;
  padding: 0;
  pointer-events: none;
}

html:is(.zz-embedded,.zz-standalone) .observatory-instrument .topbar .controls {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  width: auto;
  max-width: 100%;
  pointer-events: auto;
}

.observatory-instrument .wordmark { display: none; }
.zz-standalone .observatory-instrument .wordmark {
  display: block;
  position: fixed;
  top: 13px;
  right: 22px;
  width: auto;
  pointer-events: none;
}
.zz-standalone .observatory-instrument .wordmark h1 {
  color: var(--instrument-ink);
  font: 400 1.65rem/1.2 var(--serif);
}

html:is(.zz-embedded,.zz-standalone) .observatory-instrument .actions,
html:is(.zz-embedded,.zz-standalone) .observatory-instrument .filters {
  display: flex;
  gap: 3px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 3px;
  border: 1px solid #9aaec525;
  border-radius: 9px;
  background: #101923db;
}

html:is(.zz-embedded,.zz-standalone) .observatory-instrument :is(.actions .btn, .filters button, .zz-instrument-controls button) {
  min-height: 37px;
  min-width: 37px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 6px 10px;
  background: transparent;
  color: var(--instrument-ink);
  font: 500 .875rem/1.2 Inter, system-ui, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

.observatory-instrument :is(.actions .btn, .filters button, .zz-instrument-controls button):hover,
html:is(.zz-embedded,.zz-standalone) .observatory-instrument :is(.actions .btn, .filters button, .zz-instrument-controls button)[aria-pressed='true'] {
  background: #92bcdb24;
  border-color: #9bbece73;
  color: #eaf5ff;
}

.observatory-instrument #star-charts[hidden] { display: none; }
.observatory-instrument :is(button, a, input):focus-visible {
  outline: 2px solid #ffe2a8;
  outline-offset: 2px;
}

html:is(.zz-embedded,.zz-standalone) .observatory-instrument .zz-instrument-controls {
  bottom: var(--instrument-tools);
  gap: 1px;
  padding: 3px;
  background: #101923ed;
  border-color: var(--instrument-line);
}

html:is(.zz-embedded,.zz-standalone) .observatory-instrument .rail {
  bottom: var(--instrument-rail);
  left: 50%;
  transform: translateX(-50%);
  max-width: min(960px, calc(100% - 24px));
  display: flex;
  gap: 5px;
  padding: 5px;
  background: #101923ed;
  border: 1px solid var(--instrument-line);
  border-radius: 12px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #72879e #1d2a38;
}

html:is(.zz-embedded,.zz-standalone) .observatory-instrument .rail button {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  width: auto;
  height: 42px;
  padding: 3px 8px 3px 4px;
  border: 1px solid #a2bbcd24;
  border-radius: 8px;
  background: #1b2937;
  color: #dce6f4;
  font: 600 .8125rem/1.2 Inter, system-ui, sans-serif;
}

html:is(.zz-embedded,.zz-standalone) .observatory-instrument .rail button:is(:hover,[aria-current='true']) {
  border-color: #a4cadc;
  background: #304656;
  color: #eff8ff;
  box-shadow: none;
  transform: none;
}

.zz-sign-emblem {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  object-fit: cover;
  border-radius: 50%;
}

.observatory-instrument .zz-profile-emblem {
  float: right;
  width: 80px;
  height: 80px;
  margin: 0 0 8px 12px;
  padding: 3px;
  border-radius: 50%;
  border: 1px solid #a0bfd1;
  box-shadow: none;
  background: #131c28;
}

.observatory-instrument .ghost-symbol { opacity: .1; }
.observatory-instrument .atlas-mark .zz-sign-emblem { width: 48px; height: 48px; border: 1px solid #c5a16d; }
.observatory-instrument .loom-glyph .zz-sign-emblem { width: 23px; height: 23px; border: 1px solid #c5a16d; }

html:is(.zz-embedded,.zz-standalone) .observatory-instrument .loom {
  bottom: var(--instrument-deck);
  width: min(737px, calc(100% - 24px));
  padding: 9px 12px 7px;
  gap: 3px;
  border-color: var(--instrument-line);
  background: #152230ee;
  border-radius: 13px;
}

html:is(.zz-embedded,.zz-standalone) .observatory-instrument .loom-read { justify-content: flex-start; gap: 9px; }
.observatory-instrument .loom-open { margin-left: auto; }
.observatory-instrument .loom-cap { display: none; }
.observatory-instrument .zz-month { flex-basis: 83px; padding: 5px 6px 9px; min-height: 34px; }
.observatory-instrument .hint { display: none; }

html:is(.zz-embedded,.zz-standalone) .observatory-instrument .panel,
html:is(.zz-embedded,.zz-standalone) .observatory-instrument .panel.open {
  z-index: 10;
  inset: 150px 15px 228px auto;
  width: min(383px, calc(100% - 30px));
  transform: none;
  text-align: left;
}

html:is(.zz-embedded,.zz-standalone) .observatory-instrument .panel .card {
  max-height: 100%;
  overflow-y: auto;
  border: 1px solid #aec8da55;
  border-radius: 17px;
  background: linear-gradient(140deg,#233449,#0f1724 74%);
}

@media (max-width: 730px) {
  html .zz-instrument-home, .zz-standalone .observatory-instrument .wordmark { display: none; }
  html.zz-standalone .observatory-instrument .zz-instrument-home {
    display: block;
    top: 5px;
    left: 14px;
    font-size: .75rem;
  }
  html.zz-standalone .observatory-instrument .cultures { top: 23px; }
  html.zz-standalone .observatory-instrument .topbar { top: 87px; }
}

@media (max-width: 540px) {
  body.observatory-instrument { --instrument-rail: 148px; --instrument-tools: 217px; }
  html:is(.zz-embedded,.zz-standalone) .observatory-instrument .topbar .controls { gap: 3px; }
  html:is(.zz-embedded,.zz-standalone) .observatory-instrument .panel,
  html:is(.zz-embedded,.zz-standalone) .observatory-instrument .panel.open { inset: 185px 11px 222px; width: auto; }
  .observatory-instrument .zz-profile-emblem { width: 64px; height: 64px; }
}

html:is(.zz-embedded,.zz-standalone) .observatory-instrument .actions {
  position: static;
  inset: auto;
  width: auto;
  margin: 0;
}

html.zz-embedded .observatory-instrument #scene { touch-action: pan-y; }

.observatory-instrument .zz-view-label { color: #b8c6d7; font-size: .75rem; }
html:is(.zz-embedded,.zz-standalone) .observatory-instrument .loom :is(.loom-date,.loom-group,.loom-open) {
  font-size: .875rem;
  line-height: 1.25;
  letter-spacing: .02em;
  text-transform: none;
}
.observatory-instrument .loom-date { color: #e8edf5; }
.observatory-instrument .loom-open { min-height: 36px; }
.observatory-instrument .loom-range {
  min-height: 18px;
  background-size: 100% 3px;
  background-repeat: no-repeat;
  background-position: center;
}
.observatory-instrument .loom-range::-webkit-slider-thumb { width: 18px; height: 18px; }
.observatory-instrument .loom-range::-moz-range-thumb { width: 16px; height: 16px; }
.observatory-instrument .rail button img { width: 32px; height: 32px; flex: none; }
.observatory-instrument .zz-time-strip { padding: 2px 0 1px; }
.observatory-instrument .zz-month { color: #cdd9e7; }
.observatory-instrument .zz-month[aria-pressed=true] { color: #ffdfaa; }
.observatory-instrument .rail button[data-preview] { border-color: #e1c18a; }
html:is(.zz-embedded,.zz-standalone) .observatory-instrument .panel :is(.lead,.myth,.lore p) {
  font: 400 1rem/1.55 Inter, system-ui, sans-serif;
  color: #e1eaf8;
}
html:is(.zz-embedded,.zz-standalone) .observatory-instrument .panel :is(.dates,.note-tab,.dict-label,.dict-time) {
  font-size: .8125rem;
  letter-spacing: .015em;
}
.observatory-instrument .panel .close { width: 42px; height: 42px; font-size: 20px; }
.observatory-instrument .atlas-dates { font-size: .875rem; }
.observatory-instrument .atlas-story { font-size: .875rem; line-height: 1.5; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.zz-events-dialog {
  width: min(590px, calc(100% - 30px));
  max-height: calc(100% - 32px);
  margin: auto;
  padding: clamp(17px, 4vw, 30px);
  border: 1px solid #a4bfce55;
  border-radius: 18px;
  background: #172434;
  color: #e2eaf6;
  box-shadow: 0 16px 72px #000a;
  font: 400 1rem/1.5 Inter, system-ui, sans-serif;
}
.zz-events-dialog::backdrop { background: #050a13b8; }
.zz-events-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.zz-events-head h2 { margin: 0; font: 400 clamp(2rem, 6vw, 3rem)/1 var(--serif); }
.zz-events-dialog p { margin: 12px 0 17px; }
.zz-event-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-bottom: 16px; }
.zz-events-dialog button {
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid #a4bfce55;
  border-radius: 9px;
  background: #233448;
  color: #e3eff8;
  cursor: pointer;
  font: inherit;
}
.zz-events-dialog button:hover { border-color: #b9d4e5; background: #354456; }
.zz-event-list button { text-align: left; }
.zz-event-list span { display: block; color: #d4dfed; font-size: .875rem; }
.zz-events-dialog a { color: #f2d4a0; text-underline-offset: 3px; }

@media (max-width: 620px) {
  html:is(.zz-embedded,.zz-standalone) .observatory-instrument .topbar .controls { gap: 4px; }
  html:is(.zz-embedded,.zz-standalone) .observatory-instrument :is(.actions .btn,.filters button,.zz-instrument-controls button) {
    min-height: 34px;
    padding: 5px 7px;
    font-size: .8125rem;
  }
  html:is(.zz-embedded,.zz-standalone) .observatory-instrument .cultures button { font-size: .875rem; }
  html:is(.zz-embedded,.zz-standalone) .observatory-instrument .cultures button span { font-size: .6875rem; }
  .observatory-instrument .loom-group { display: none; }
  .zz-event-list { grid-template-columns: 1fr; }
}
.observatory-instrument .zz-month { font: 500 .8125rem/1.2 Inter, system-ui, sans-serif; }

/* Warm metal and quiet controls recall the original observatory. */
body.observatory-instrument {
  --instrument-line: #c5a47548;
  --instrument-brass: #e8d2a5;
}

html:is(.zz-embedded,.zz-standalone) .observatory-instrument .cultures button[aria-pressed='true'] {
  background: #332a22;
  border-color: #bd9b645e;
  color: #fff0d3;
}

html:is(.zz-embedded,.zz-standalone) .observatory-instrument :is(.actions .btn,.filters button,.zz-instrument-controls button)[aria-pressed='true'],
html:is(.zz-embedded,.zz-standalone) .observatory-instrument .rail button[aria-current='true'] {
  background: #342c26;
  border-color: #bc9a656e;
  color: #fff0d4;
}

.observatory-instrument #planet-tip { z-index: 12; width: min(270px, calc(100vw - 24px)); }
.observatory-instrument #planet-tip :is(.pt-line,.pt-signs,.pt-hint,.pt-epi) {
  font-size: .8125rem;
  letter-spacing: 0;
  text-transform: none;
}
.observatory-instrument #planet-tip .pt-epi { color: #c9d5e3; }

.zz-solar-dialog[open] { display: block; overflow-y: auto; }
.zz-solar-dialog .zz-solar-bodies,
.zz-solar-dialog .zz-solar-modes { display: flex; flex-wrap: wrap; gap: 7px; }
.zz-solar-bodies button { display: inline-flex; align-items: center; gap: 7px; }
.zz-solar-bodies button::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--body-color);
  flex: none;
}
.zz-solar-dialog button[aria-pressed='true'] {
  border-color: #dfbd83;
  background: #47362a;
  color: #fff3db;
}
.zz-solar-dialog .zz-solar-description {
  margin: 15px 0;
  border-left: 2px solid #d5ac73;
  padding: 9px 0 9px 12px;
}
.zz-solar-description #solar-details { margin: 0; }
.zz-solar-description #solar-sign { margin-top: 8px; }
.zz-solar-dialog .zz-solar-scale { margin-bottom: 6px; font-size: .875rem; color: #c6d1df; }

/* The brass dial takes the full stage on wide screens. */
@media (min-width: 1100px) and (min-height: 715px) {
  html:is(.zz-embedded,.zz-standalone) .observatory-instrument .topbar {
    inset: 86px auto auto clamp(18px,2.4vw,46px);
    width: 184px;
  }

  html:is(.zz-embedded,.zz-standalone) .observatory-instrument .topbar .controls {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    width: 100%;
  }

  html:is(.zz-embedded,.zz-standalone) .observatory-instrument :is(.actions,.filters,.zz-instrument-controls) {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    padding: 5px;
  }

  html:is(.zz-embedded,.zz-standalone) .observatory-instrument :is(.actions .btn,.filters button,.zz-instrument-controls button) {
    justify-content: start;
    text-align: left;
    min-height: 35px;
    padding: 6px 7px;
    font-size: .8125rem;
    white-space: normal;
  }

  html:is(.zz-embedded,.zz-standalone) .observatory-instrument .zz-instrument-controls {
    position: static;
    width: 100%;
    transform: none;
    padding: 5px;
  }

  .observatory-instrument .zz-view-label { display: none; }
}

/* Warm ink, etched accents, and a clear type hierarchy for the instrument. */
body.observatory-instrument {
  --instrument-bg: #101720;
  --instrument-line: #ae94704a;
  --instrument-brass: #dfcba6;
  --instrument-ink: #e5e8eb;
  --instrument-display: "Cormorant Garamond", Georgia, serif;
}

html:is(.zz-embedded,.zz-standalone) .observatory-instrument #scene { filter: none; }
.zz-standalone .observatory-instrument .wordmark h1 {
  color: #f2e9d9;
  font: 400 clamp(1.9rem,2.65vw,2.7rem)/1 var(--instrument-display);
  letter-spacing: -.02em;
}
.zz-standalone .observatory-instrument .wordmark h1 em { color: var(--instrument-brass); }

html:is(.zz-embedded,.zz-standalone) .observatory-instrument :is(.actions,.filters,.cultures,.zz-instrument-controls,.rail,.loom) {
  border-color: var(--instrument-line);
  border-radius: 9px;
  background: #101720eb;
  box-shadow: none;
}
html:is(.zz-embedded,.zz-standalone) .observatory-instrument .cultures button {
  border-radius: 6px;
  font-weight: 500;
  color: #e2ded5;
}
html:is(.zz-embedded,.zz-standalone) .observatory-instrument .cultures button span { color: #a9b5c1; }
html:is(.zz-embedded,.zz-standalone) .observatory-instrument .cultures button[aria-pressed='true'] {
  color: #f7e6c7;
  border-color: #ba9b665e;
  background: #c7a67721;
}
html:is(.zz-embedded,.zz-standalone) .observatory-instrument .rail button {
  background: #141d28;
  border-color: #c2ad8826;
  border-radius: 6px;
  font-weight: 500;
}
html:is(.zz-embedded,.zz-standalone) .observatory-instrument .rail button[data-preview] {
  border-color: #b99b6570;
}
html:is(.zz-embedded,.zz-standalone) .observatory-instrument .panel .card {
  border-color: #bda27c55;
  border-radius: 12px;
  background: linear-gradient(146deg,#1d2734,#10151e);
}
.observatory-instrument :is(.panel .card h2,.zz-events-head h2,.pt-name,.atlas-head h2) {
  font-family: var(--instrument-display);
  color: #f2e8d6;
}
.zz-solar-dialog .zz-solar-credits { font: 400 .8125rem/1.45 Inter,system-ui,sans-serif; color: #bfccd7; }

@media (min-width: 1100px) and (min-height: 715px) {
  html:is(.zz-embedded,.zz-standalone) .observatory-instrument .topbar { width: 210px; }
  html:is(.zz-embedded,.zz-standalone) .observatory-instrument :is(.actions .btn,.filters button,.zz-instrument-controls button) {
    min-height: 35px;
    padding-inline: 7px;
    font-size: .875rem;
  }
}

/* Standalone wheel. Frequent actions stay within reach of the dial. */
html.zz-standalone body.observatory-instrument {
  --instrument-deck: max(14px, env(safe-area-inset-bottom));
  --instrument-rail: calc(var(--instrument-deck) + 92px);
  --cozy-surface: #1d2631;
  --cozy-edge: #595247;
  --cozy-active: #4a3b2e;
}

html.zz-standalone body.observatory-instrument .zz-instrument-home {
  display: inline-flex;
  align-items: center;
  position: fixed;
  z-index: 9;
  inset: 4px auto auto 14px;
  min-height: 44px;
  padding: 0 5px;
  font: 500 .8125rem/1.2 Inter, system-ui, sans-serif;
  color: #ead5af;
}

html.zz-standalone body.observatory-instrument .wordmark {
  display: block;
  inset: 5px auto auto 50%;
  transform: translateX(-50%);
  text-align: center;
}

html.zz-standalone body.observatory-instrument .wordmark h1 {
  margin: 0;
  font-size: clamp(2.15rem, 4vw, 3.35rem);
  color: #f4e7d2;
}

html.zz-standalone body.observatory-instrument .cultures {
  inset: 54px auto auto 50%;
  width: min(540px,calc(100vw - 24px));
  padding: 3px;
  gap: 3px;
  border-radius: 17px;
}

html.zz-standalone body.observatory-instrument .cultures button {
  min-height: 45px;
  border-radius: 13px;
  font-size: 1rem;
}
html.zz-standalone body.observatory-instrument .cultures button span { display: none; }

html.zz-standalone body.observatory-instrument .topbar {
  inset: 113px 12px auto;
  width: auto;
}
html.zz-standalone body.observatory-instrument .topbar .controls { display: block; width: 100%; }
html.zz-standalone body.observatory-instrument .actions {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  width: min(100%,540px);
  margin: auto;
  gap: 5px;
  padding: 0;
  border: 0;
  background: transparent;
}
html.zz-standalone body.observatory-instrument :is(.actions button.btn, .actions button, .zz-more summary, .zz-date-menu summary, .zz-month) {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 47px;
  width: auto;
  padding: 6px 5px;
  border: 1px solid var(--cozy-edge);
  border-radius: 13px;
  background: var(--cozy-surface);
  color: #f4ece0;
  font: 500 .875rem/1.2 Inter, system-ui, sans-serif;
  letter-spacing: 0;
  text-transform: none;
  text-align: center;
  white-space: normal;
  cursor: pointer;
}

html.zz-standalone body.observatory-instrument :is(.actions button.btn, .actions button, .zz-more summary, .zz-date-menu summary, .zz-month):hover,
html.zz-standalone body.observatory-instrument .actions button[aria-pressed=true],
html.zz-standalone body.observatory-instrument .zz-month[aria-pressed=true],
html.zz-standalone body.observatory-instrument details[open] > summary {
  background: var(--cozy-active);
  border-color: #b89463;
  color: #fff1d5;
}

html.zz-standalone .observatory-instrument summary::-webkit-details-marker { display: none; }
html.zz-standalone .observatory-instrument summary:focus-visible { outline: 2px solid #ffe2a8; outline-offset: 2px; }
html.zz-standalone body.observatory-instrument .actions > a,
html.zz-standalone body.observatory-instrument .actions button[hidden] { display: none; }

html.zz-standalone .observatory-instrument .zz-more,
html.zz-standalone .observatory-instrument .zz-date-menu { min-width: 0; }
html.zz-standalone .observatory-instrument .zz-more-panel {
  position: absolute;
  top: calc(100% + 7px);
  right: 0;
  width: min(430px,calc(100vw - 24px));
  max-height: max(155px,calc(100dvh - 178px));
  padding: 12px;
  overflow: auto;
  border: 1px solid #9a805c;
  border-radius: 16px;
  background: #141c27;
  box-shadow: 0 15px 36px #05070bb0;
}

html.zz-standalone body.observatory-instrument .zz-more :is(.filters,.zz-instrument-controls,.zz-extra-actions) {
  position: static;
  transform: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 6px;
  width: auto;
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  background: transparent;
}
html.zz-standalone body.observatory-instrument .zz-more .zz-instrument-controls { margin-bottom: 0; }
html.zz-standalone body.observatory-instrument .zz-more button { padding-inline: 11px; }
html.zz-standalone .observatory-instrument .zz-view-label { display: none; }

html.zz-standalone body.observatory-instrument .loom {
  width: min(640px,calc(100vw - 24px));
  padding: 7px 10px 6px;
  background: #131c27;
  border-radius: 17px;
  overflow: visible;
}
html.zz-standalone body.observatory-instrument .loom .loom-read { gap: 7px; }
html.zz-standalone body.observatory-instrument .loom :is(.loom-date,.loom-open) { font-size: .9375rem; }
html.zz-standalone body.observatory-instrument .loom .loom-group { display: none; }
html.zz-standalone body.observatory-instrument .loom-open {
  min-width: 0;
  min-height: 44px;
  max-width: 50%;
  padding: 5px 8px;
  border-radius: 11px;
  color: #f4e4c8;
}
html.zz-standalone body.observatory-instrument .loom-range { min-height: 22px; }
html.zz-standalone body.observatory-instrument .zz-date-menu summary { min-height: 44px; padding-inline: 9px; }
html.zz-standalone body.observatory-instrument .zz-date-menu .zz-time-strip {
  position: absolute;
  inset: auto 0 calc(100% + 6px);
  padding: 7px;
  display: flex;
  gap: 5px;
  border: 1px solid #9a805c;
  border-radius: 13px;
  background: #141c27;
  box-shadow: 0 15px 32px #05070baf;
}
html.zz-standalone body.observatory-instrument .zz-month { flex: 0 0 auto; padding-inline: 11px; }
html.zz-standalone body.observatory-instrument .rail {
  max-width: calc(100% - 24px);
  padding: 5px;
  gap: 5px;
  border-radius: 16px;
}
html.zz-standalone body.observatory-instrument .rail button {
  height: 49px;
  min-width: 73px;
  padding: 4px 10px 4px 6px;
  border-radius: 11px;
  background: var(--cozy-surface);
  color: #f0e7d8;
  font-size: .9375rem;
}
html.zz-standalone body.observatory-instrument .rail button:is(:hover,[aria-current=true]) {
  background: var(--cozy-active);
  border-color: #b89463;
}
html.zz-standalone body.observatory-instrument :is(.panel,.panel.open) { inset: 173px 12px 176px; width: auto; }
html.zz-standalone .observatory-instrument .panel .close { width: 48px; height: 48px; }

@media (min-width: 1000px) and (min-height: 645px) {
  html.zz-standalone body.observatory-instrument .zz-instrument-home { inset: 15px 22px auto auto; }
  html.zz-standalone body.observatory-instrument .wordmark { inset: 14px auto auto 24px; transform: none; }
  html.zz-standalone body.observatory-instrument .cultures { inset: 15px auto auto 50%; }
  html.zz-standalone body.observatory-instrument .cultures button { min-height: 51px; font-size: 1.0625rem; }
  html.zz-standalone body.observatory-instrument .topbar { inset: 126px auto auto 24px; width: 166px; }
  html.zz-standalone body.observatory-instrument .actions { grid-template-columns: 1fr; gap: 8px; }
  html.zz-standalone body.observatory-instrument :is(.actions > button,.actions > button.btn,.zz-more summary) {
    justify-content: flex-start;
    padding: 8px 15px;
    min-height: 52px;
    border-radius: 15px;
    text-align: left;
    font-size: 1rem;
  }
  html.zz-standalone .observatory-instrument .zz-more-panel { top: 0; right: auto; left: calc(100% + 9px); }
  html.zz-standalone body.observatory-instrument .rail {
    inset: 119px 23px 108px auto;
    transform: none;
    flex-direction: column;
    width: 165px;
    max-width: none;
    padding: 6px;
  }
  html.zz-standalone body.observatory-instrument .rail button { flex: 0 0 49px; width: 100%; }
  html.zz-standalone body.observatory-instrument :is(.panel,.panel.open) {
    inset: 112px 23px 107px auto;
    width: min(334px,calc(29vw - 24px));
  }
}

@media (max-width: 365px) {
  html.zz-standalone body.observatory-instrument .zz-instrument-home { left: 5px; }
  html.zz-standalone body.observatory-instrument .loom .loom-date { font-size: .8125rem; }
  html.zz-standalone body.observatory-instrument .loom .loom-open { font-size: .8125rem; padding-inline: 5px; }
}


html.zz-standalone body.observatory-instrument .zz-more summary::after {
  content: '⌄';
  margin-left: 6px;
  color: #d6bd98;
}
html.zz-standalone body.observatory-instrument .zz-more[open] summary::after { content: '⌃'; }
