@font-face {
  font-family: Instrument;
  src: url(./fonts/instrument-serif.ttf) format("truetype");
  font-display: swap;
}
:root {
  color-scheme: dark;
  --ink:#080b10;
  --paper:#d9d9ce;
  --dim:#84908e;
  --line:#c0ccc51c;
  --accent:#bdcba9;
  font-family:
    ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  background: var(--ink);
  color: var(--paper);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
canvas:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -3px;
}
button {
  border: 0;
  background: none;
}
a {
  color: inherit;
  text-decoration: none;
}
[hidden] {
  display: none !important;
}
.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;
}
.app {
  height: 100svh;
  height: 100dvh;
  min-height: 320px;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  grid-template-rows: 88px minmax(0, 1fr) 48px;
  max-width: 2400px;
  margin: auto;
}
.masthead {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  padding: 0 34px;
  border-bottom: 1px solid var(--line);
  gap: 36px;
  z-index: 2;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 13px;
  white-space: nowrap;
  font-size: 13px;
  letter-spacing: .19em;
}
.edition {
  font-size: 9px;
  letter-spacing: .16em;
  color: var(--dim);
}
.settings {
  display: flex;
  margin-left: auto;
  gap: 10px;
}
.setting {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 9px;
  font-size: 10px;
}
.setting-symbol {
  font-size: 19px;
  color: var(--dim);
}
.setting-value {
  font-size: 8px;
  color: var(--dim);
  border: 1px solid var(--line);
  padding: 3px;
}
.setting[aria-pressed=true] .setting-value {
  color: var(--accent);
}
.navigation {
  grid-column: 1;
  grid-row: 2;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 0;
  background:
    linear-gradient(
      110deg,
      #12171b55,
      transparent);
}
.nav-heading {
  display: flex;
  justify-content: space-between;
  color: var(--dim);
  font-size: 9px;
  letter-spacing: .13em;
  padding: 28px 24px 22px;
}
.planet-list {
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #36413d transparent;
  padding: 0 12px;
  flex: 1;
}
.planet-card {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  text-align: left;
  padding: 15px 8px;
  min-height: 102px;
  border: 1px solid transparent;
  border-radius: 2px;
  gap: 12px;
  transition: background .2s, border-color .2s;
}
.planet-card:hover {
  background: #c4d1bc07;
}
.planet-card[aria-current=true] {
  background:
    linear-gradient(
      100deg,
      #a2b58c14,
      #a2b58c03);
  border-color: #c4d1bc27;
}
.planet-card[aria-current=true]:before {
  content: "";
  position: absolute;
  left: -1px;
  top: 26%;
  bottom: 26%;
  width: 2px;
  background: var(--accent);
}
.thumb-wrap {
  width: 64px;
  height: 64px;
  flex: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  place-items: center;
  position: relative;
}
.thumb {
  width: 76px;
  height: 76px;
  object-fit: contain;
  max-width: none;
}
.thumb-placeholder {
  position: absolute;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 30% 30%,
      var(--planet-colour),
      #11151b 75%);
  opacity: .6;
}
.thumb:not([src]) {
  visibility: hidden;
}
.thumb[src] + .thumb-placeholder {
  display: none;
}
.card-copy {
  min-width: 0;
}
.card-index {
  display: block;
  color: #7e8a84;
  font-size: 8px;
  letter-spacing: .12em;
  margin-bottom: 7px;
}
.card-name {
  display: block;
  font-size: 12px;
  letter-spacing: .01em;
  white-space: nowrap;
}
.card-type {
  display: block;
  color: var(--dim);
  font-size: 8px;
  margin-top: 7px;
}
.card-arrow {
  margin-left: auto;
  color: #bccba1;
  font-size: 13px;
  opacity: 0;
}
.planet-card[aria-current=true] .card-arrow {
  opacity: 1;
}
.nav-footer {
  border-top: 1px solid var(--line);
  margin: 22px 24px 0;
  padding: 20px 0 24px;
  color: var(--dim);
  font-size: 8px;
  letter-spacing: .1em;
}
.nav-coordinates {
  display: block;
  font-size: 7px;
  margin-top: 12px;
  opacity: .65;
}
.signal {
  display: inline-block;
  width: 4px;
  height: 4px;
  background: #a2b58c;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
  box-shadow: 0 0 8px #a2b58c44;
}
.observatory {
  position: relative;
  grid-column: 2;
  grid-row: 2;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse at 55% 37%,
      #18202a55,
      transparent 65%);
}
#space {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
  cursor: grab;
}
#space:active {
  cursor: grabbing;
}
.view-top,
.view-bottom {
  position: absolute;
  left: 32px;
  right: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 8px;
  color: var(--dim);
  letter-spacing: .13em;
  z-index: 1;
  pointer-events: none;
}
.view-top {
  top: 29px;
}
.view-bottom {
  bottom: 20px;
}
.view-bottom button {
  pointer-events: auto;
  min-height: 44px;
  min-width: 44px;
  font-size: 8px;
  letter-spacing: .1em;
  color: var(--dim);
}
.view-bottom button:first-letter {
  font-size: 16px;
}
.hint-divider {
  padding: 0 10px;
  color: #4b5554;
}
.crosshair {
  width: 11px;
  height: 11px;
  position: absolute;
  z-index: 1;
  pointer-events: none;
  opacity: .5;
}
.crosshair-tl {
  top: 60px;
  left: 25px;
  border-top: 1px solid #66726e;
  border-left: 1px solid #66726e;
}
.crosshair-tr {
  top: 60px;
  right: 25px;
  border-top: 1px solid #66726e;
  border-right: 1px solid #66726e;
}
.crosshair-bl {
  bottom: 66px;
  left: 25px;
  border-bottom: 1px solid #66726e;
  border-left: 1px solid #66726e;
}
.crosshair-br {
  bottom: 66px;
  right: 25px;
  border-bottom: 1px solid #66726e;
  border-right: 1px solid #66726e;
}
.orbit-guide {
  position: absolute;
  top: 43%;
  left: 9%;
  right: 9%;
  display: flex;
  justify-content: space-between;
  color: #66726e;
  font-size: 13px;
  opacity: .35;
  pointer-events: none;
}
.planet-caption {
  position: absolute;
  left: 8%;
  bottom: 13%;
  pointer-events: none;
  transition: opacity .25s, transform .3s;
}
.planet-designation {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #a9b69f;
  font-size: 8px;
  letter-spacing: .17em;
}
.caption-line {
  width: 25px;
  height: 1px;
  background: #a9b69f66;
}
h1 {
  font-family:
    Instrument,
    Georgia,
    serif;
  font-weight: 400;
  font-size: clamp(44px, 5.3vw, 82px);
  letter-spacing: -.035em;
  margin: 15px 0 12px;
  line-height: 1;
}
#planet-mystery {
  font-family:
    Instrument,
    Georgia,
    serif;
  color: #a6afa9;
  font-size: 20px;
  font-style: italic;
  margin: 0;
}
.traits {
  display: flex;
  gap: 18px;
  margin-top: 22px;
  font-size: 8px;
  letter-spacing: .05em;
  color: #9aa59b;
}
.traits span {
  display: flex;
  gap: 7px;
  align-items: center;
}
.traits span:before {
  content: "\25c7";
  font-size: 10px;
  color: #697a65;
}
.footer {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 34px;
  border-top: 1px solid var(--line);
  font-size: 8px;
  letter-spacing: .13em;
  color: var(--dim);
}
.footer-note {
  font-family:
    Instrument,
    Georgia,
    serif;
  font-size: 15px;
  letter-spacing: .02em;
  color: #9ba49e;
  font-style: italic;
}
.travel {
  position: absolute;
  left: 50%;
  top: 49%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #d0d8c5;
  background: #080b10b3;
  pointer-events: none;
  white-space: nowrap;
  border: 1px solid var(--line);
}
.travel-line {
  width: 18px;
  height: 1px;
  background: var(--accent);
}
.travelling .planet-caption {
  opacity: 0;
  transform: translateY(6px);
}
#fallback {
  position: absolute;
  inset: 11% 12% 35%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--dim);
  font-size: 10px;
  line-height: 1.7;
}
#fallback img {
  width: 100%;
  max-width: 330px;
  min-height: 0;
  object-fit: contain;
}
#fallback p {
  margin: 0;
}
#fallback button {
  min-height: 44px;
  text-decoration: underline;
}
.unavailable #space {
  visibility: hidden;
}
.noscript {
  position: fixed;
  inset: 0;
  background: #080b10ec;
  display: grid;
  place-items: center;
  padding: 30px;
  text-align: center;
}
@media (min-width: 1600px) {
  .app {
    grid-template-columns: 290px minmax(0, 1fr);
  }
  .planet-card {
    min-height: 120px;
  }
  .thumb-wrap {
    width: 78px;
    height: 78px;
  }
  .thumb {
    width: 90px;
    height: 90px;
  }
  .card-name {
    font-size: 14px;
  }
}
@media (max-width: 1050px) {
  .edition {
    display: none;
  }
  .app {
    grid-template-columns: 220px minmax(0, 1fr);
  }
  .masthead {
    padding: 0 22px;
  }
  .nav-heading {
    padding-left: 20px;
    padding-right: 20px;
  }
  .planet-list {
    padding: 0 8px;
  }
  .planet-card {
    gap: 6px;
  }
  .thumb-wrap {
    width: 56px;
  }
  .thumb {
    width: 66px;
    height: 66px;
  }
  .card-name {
    font-size: 11px;
  }
  .planet-caption {
    left: 8%;
  }
  h1 {
    font-size: 58px;
  }
  .planet-designation {
    font-size: 7px;
  }
  .view-top,
  .view-bottom {
    left: 24px;
    right: 24px;
  }
  #gesture-hint {
    font-size: 7px;
  }
  .hint-divider {
    padding: 0 4px;
  }
  .footer {
    padding: 0 22px;
  }
}
@media (max-width: 700px) and (min-height: 501px) {
  .app {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 66px minmax(0, 1fr) 130px 32px;
  }
  .masthead {
    padding: 0 16px;
    gap: 8px;
  }
  .wordmark {
    font-size: 10px;
    letter-spacing: .13em;
    gap: 8px;
  }
  .wordmark img {
    width: 27px;
    height: 27px;
  }
  .settings {
    gap: 0;
  }
  .setting {
    padding: 7px;
    gap: 5px;
  }
  .setting-label {
    display: none;
  }
  .setting-symbol {
    font-size: 17px;
  }
  .setting-value {
    font-size: 7px;
  }
  .observatory {
    grid-column: 1;
    grid-row: 2;
  }
  .navigation {
    grid-column: 1;
    grid-row: 3;
    border-right: 0;
    border-top: 1px solid var(--line);
  }
  .nav-heading {
    padding: 12px 18px 4px;
    font-size: 7px;
  }
  .planet-list {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 10px 5px;
    gap: 4px;
    scrollbar-width: none;
  }
  .planet-card {
    width: 160px;
    min-width: 160px;
    min-height: 76px;
    padding: 7px 4px;
    gap: 8px;
  }
  .thumb-wrap {
    width: 48px;
    height: 48px;
  }
  .thumb {
    width: 59px;
    height: 59px;
  }
  .card-name {
    font-size: 11px;
  }
  .card-index {
    font-size: 7px;
    margin-bottom: 5px;
  }
  .card-type {
    font-size: 7px;
    margin-top: 5px;
  }
  .card-arrow {
    display: none;
  }
  .nav-footer {
    display: none;
  }
  .footer {
    padding: 0 16px;
    font-size: 6px;
  }
  .footer-note {
    display: none;
  }
  .view-top {
    top: 18px;
    left: 19px;
    right: 19px;
    font-size: 6px;
  }
  .crosshair-tl,
  .crosshair-tr {
    top: 42px;
  }
  .crosshair-tl,
  .crosshair-bl {
    left: 14px;
  }
  .crosshair-tr,
  .crosshair-br {
    right: 14px;
  }
  .crosshair-bl,
  .crosshair-br {
    bottom: 50px;
  }
  .view-bottom {
    left: 19px;
    right: 15px;
    bottom: 4px;
    font-size: 6px;
  }
  #gesture-hint {
    font-size: 6px;
  }
  .view-bottom button {
    font-size: 7px;
  }
  .planet-caption {
    left: 25px;
    right: 20px;
    bottom: 64px;
  }
  h1 {
    font-size: clamp(40px, 12vw, 60px);
    margin: 12px 0 9px;
  }
  #planet-mystery {
    font-size: 17px;
  }
  .planet-designation {
    font-size: 6px;
    gap: 9px;
  }
  .traits {
    font-size: 7px;
    margin-top: 13px;
    gap: 15px;
  }
  .orbit-guide {
    top: 37%;
    left: 7%;
    right: 7%;
  }
  .travel {
    top: 36%;
    font-size: 7px;
  }
  #fallback {
    inset: 8% 15% 44%;
    font-size: 8px;
  }
  #fallback img {
    max-height: 150px;
  }
  #fallback p {
    display: none;
  }
}
@media (max-height: 650px) and (min-width: 701px), (max-height: 500px) {
  .app {
    grid-template-columns: 190px minmax(0, 1fr);
    grid-template-rows: 56px minmax(0, 1fr) 30px;
  }
  .masthead {
    padding: 0 18px;
  }
  .wordmark {
    font-size: 10px;
  }
  .edition {
    display: none;
  }
  .nav-heading {
    padding: 15px 16px 8px;
    font-size: 7px;
  }
  .planet-card {
    min-height: 77px;
    gap: 8px;
    padding: 8px 2px;
  }
  .thumb-wrap {
    width: 48px;
    height: 48px;
  }
  .thumb {
    width: 58px;
    height: 58px;
  }
  .card-name {
    font-size: 10px;
  }
  .card-index,
  .card-type {
    font-size: 7px;
  }
  .nav-footer {
    display: none;
  }
  .view-top {
    top: 16px;
    font-size: 6px;
  }
  .crosshair-tl,
  .crosshair-tr {
    top: 36px;
  }
  .crosshair-bl,
  .crosshair-br {
    bottom: 48px;
  }
  .view-bottom {
    bottom: 3px;
  }
  .planet-caption {
    left: 7%;
    bottom: 53px;
  }
  .planet-designation {
    font-size: 6px;
  }
  h1 {
    font-size: 43px;
    margin: 11px 0 8px;
  }
  #planet-mystery {
    font-size: 16px;
  }
  .traits {
    margin-top: 12px;
    font-size: 7px;
  }
  .footer {
    font-size: 6px;
    padding: 0 18px;
  }
  .footer-note {
    font-size: 12px;
  }
  .orbit-guide {
    top: 36%;
  }
  .travel {
    top: 35%;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.social-capture .app {
  grid-template-columns: 1fr;
  grid-template-rows: 75px 1fr 38px;
}
.social-capture .navigation,
.social-capture .settings,
.social-capture .view-top,
.social-capture .view-bottom,
.social-capture .crosshair,
.social-capture .orbit-guide {
  display: none;
}
.social-capture .observatory {
  grid-column: 1;
}
.social-capture .planet-caption {
  bottom: 19%;
  left: 7%;
}
.social-capture h1 {
  font-size: 82px;
}
.social-capture .edition {
  display: block;
}
.social-capture .footer-note {
  display: block;
}
