:root {
  color-scheme: dark;
  --bg: #08090a;
  --panel: #151719;
  --paper: #f0f0eb;
  --muted: #a3abb5;
  --line: #343e49;
  --lime: #f0f0eb;
  --serif: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--paper);
  font: 15px/1.5 var(--sans);
}
button,
input {
  font: inherit;
  color: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
a {
  color: inherit;
}
input {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 12px;
  color: var(--paper);
}
input::placeholder {
  color: var(--muted);
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 5px;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.skip-link {
  position: fixed;
  top: -80px;
  background: var(--lime);
  color: var(--bg);
  padding: 10px;
  z-index: 100;
}
.skip-link:focus {
  top: 5px;
}
.site-header {
  height: 70px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 5;
  border-bottom: 1px solid #262d36;
}
.wordmark {
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -1px;
  text-decoration: none;
}
.brand-star {
  color: var(--lime);
}
.header-note {
  font-size: 12px;
  color: var(--muted);
}
.quiet-button {
  font-size: 12px;
  padding: 10px 12px;
  white-space: nowrap;
}
.quiet-button:hover {
  color: var(--lime);
}
#savedCount {
  font: 11px var(--mono);
  margin-left: 8px;
  color: var(--muted);
}
.eyebrow {
  font: 11px var(--mono);
  letter-spacing: 0.03em;
}
.subtle {
  color: var(--muted);
}
.home {
  position: relative;
  height: calc(100svh - 70px);
  min-height: 730px;
  isolation: isolate;
}
.home-intro {
  position: absolute;
  top: 39%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 450px;
  text-align: center;
  z-index: 2;
  pointer-events: none;
}
.home-intro h1 {
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.6px;
  margin: 0 0 12px;
}
.home-intro p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
#searchForm {
  position: absolute;
  top: 44%;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  z-index: 10;
}
.search-box {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #abb9c6;
  background: #08090aed;
  padding: 4px 0;
}
.search-box > span {
  font-size: 25px;
  padding: 0 12px;
  color: var(--muted);
}
.search-box input {
  border: 0;
  background: none;
  outline: 0;
  width: 100%;
  padding: 14px 0;
  font-size: 16px;
  min-width: 0;
}
.search-box:focus-within {
  border-color: var(--lime);
}
.search-box button {
  padding: 12px 15px;
  font-size: 23px;
  color: var(--lime);
}
.search-status {
  font-size: 12px;
  color: var(--muted);
  margin: 6px 0;
  min-height: 18px;
}
#searchResults {
  position: absolute;
  top: 60px;
  background: var(--panel);
  width: 100%;
  max-height: 360px;
  overflow-y: auto;
  border: 1px solid var(--line);
  box-shadow: 0 15px 45px #0009;
}
.search-result {
  width: 100%;
  display: flex;
  text-align: left;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}
.search-result:hover,
.search-result[aria-selected="true"] {
  background: #29333e;
}
.result-kind {
  font: 9px var(--mono);
  width: 48px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.search-info {
  flex: 1;
  min-width: 0;
}
.search-info strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
}
.search-info small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}
.search-new strong {
  font-size: 12px;
}
.search-new small {
  font-size: 10px;
}
.starting-shelf {
  position: absolute;
  inset: 0;
}
.starting-shelf-heading {
  position: absolute;
  bottom: 13px;
  left: 32px;
  right: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.starting-shelf-heading > span {
  font: 11px var(--mono);
  color: var(--muted);
}
.filters {
  display: flex;
  gap: 1px;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.filters button {
  white-space: nowrap;
  color: var(--muted);
  padding: 11px 12px;
  font-size: 12px;
  position: relative;
}
.filters button:hover {
  color: var(--paper);
}
.filters button[aria-pressed="true"] {
  color: var(--lime);
}
.filters button[aria-pressed="true"]:after {
  content: "";
  height: 2px;
  position: absolute;
  bottom: 3px;
  left: 12px;
  right: 12px;
  background: var(--lime);
}
#starterFilters {
  position: absolute;
  bottom: 68px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 40px);
  z-index: 3;
}
.starter-shelf-items {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 130px;
}
.shelf-item {
  position: absolute;
  left: var(--orbit-x);
  top: var(--orbit-y);
  transform: translate(-50%, -50%);
  width: 150px;
  text-align: center;
  padding: 8px;
  z-index: 2;
  animation: arrive 0.45s ease both;
}
.shelf-item > span {
  display: block;
}
.shelf-item small {
  display: none;
}
.shelf-item strong {
  font-size: 13px;
  font-weight: 400;
  display: block;
  margin-top: 9px;
  line-height: 1.22;
}
.shelf-creator {
  font-size: 10px;
  line-height: 1.3;
  display: block;
  color: var(--muted);
  margin-top: 3px;
}
.shelf-arrow {
  display: none !important;
}
.shelf-item:hover strong {
  color: var(--lime);
}
.object-tile {
  width: 70px;
  height: 70px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--tile-bg);
  color: var(--tile-fg);
  border-radius: 50%;
  margin: auto;
  flex: none;
  box-shadow:
    0 0 0 5px #a0b1c308,
    0 0 32px #abbaca0d;
  transition:
    transform 0.22s,
    box-shadow 0.22s;
}
.object-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tile-glyph {
  font: 22px var(--mono);
  opacity: 0.7;
}
.tile-category {
  display: none;
}
.shelf-item .object-tile {
  width: 46px;
  height: 46px;
}
.shelf-item .tile-glyph {
  font-size: 16px;
}
.shelf-item:hover .object-tile,
.discovery-card:hover .object-tile {
  transform: scale(1.09);
  box-shadow:
    0 0 0 1px var(--lime),
    0 0 0 7px #edbc8310,
    0 0 38px #edbc8320;
}
.orbit-sky {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.orbit-sky svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.star-field {
  fill: #fff;
}
.star-layer {
  transform-origin: 500px 500px;
  animation: stellar-orbit var(--orbit-period) linear infinite;
  animation-delay: var(--orbit-phase);
}
@keyframes stellar-orbit {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.sky-orbits {
  fill: none;
  stroke: #8596aa;
  stroke-opacity: 0.14;
  stroke-width: 0.65;
  stroke-dasharray: 2 6;
}
.sky-connections {
  fill: none;
  stroke: #7b91aa;
  stroke-opacity: 0.36;
  stroke-width: 0.8;
}
.mobile-lines {
  display: none;
}
.sky-loading {
  position: absolute;
  top: 80%;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--muted);
  font: 12px var(--mono);
}
.explorer {
  position: relative;
  max-width: 1800px;
  margin: auto;
  min-height: calc(100svh - 70px);
  padding: 0 24px;
}
.explorer-top {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.view-switch {
  display: flex;
  border: 1px solid var(--line);
  padding: 2px;
  border-radius: 3px;
}
.view-switch button {
  font-size: 11px;
  padding: 5px 13px;
  color: var(--muted);
}
.view-switch button[aria-pressed="true"] {
  background: #303942;
  color: var(--paper);
}
.galaxy-stage {
  position: relative;
  height: calc(100svh - 248px);
  min-height: 570px;
}
.discoveries {
  height: 100%;
  position: relative;
}
.discovery-card {
  position: absolute;
  left: var(--orbit-x);
  top: var(--orbit-y);
  transform: translate(-50%, -50%);
  text-align: center;
  width: 180px;
  padding: 9px;
  z-index: 2;
  animation: arrive 0.45s ease both;
}
.discovery-card h3 {
  font-size: 15px;
  line-height: 1.24;
  font-weight: 400;
  margin: 13px 0 3px;
}
.creator {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
  line-height: 1.3;
}
.card-footer {
  display: block;
  font: 9px var(--mono);
  color: #95a4b3;
  margin-top: 6px;
}
.card-footer .arrow {
  display: none;
}
.discovery-card:hover h3 {
  color: var(--lime);
}
.current-item {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 275px;
  text-align: center;
  z-index: 3;
}
.current-item .object-tile {
  width: 105px;
  height: 105px;
  border: 1px solid #c3b199;
  box-shadow:
    0 0 0 9px #edbc8310,
    0 0 0 10px #cba67130,
    0 0 55px #e8b27218;
  margin: 0 auto 21px;
}
.current-item h1 {
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.5px;
  font-weight: 400;
  margin: 8px 0;
}
.item-meta {
  font: 9px var(--mono);
  text-transform: uppercase;
  color: var(--lime);
}
.current-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.current-actions a,
.current-actions button {
  font-size: 10px;
  text-decoration: none;
  color: var(--muted);
  padding: 4px 0;
}
.current-actions a:hover,
.current-actions button:hover {
  color: var(--lime);
}
.current-actions a[aria-label="Image source"] {
  font-size: 11px;
}
.status {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 80%;
  color: var(--muted);
  font-size: 12px;
  margin: 0;
  pointer-events: none;
}
.explorer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  border-top: 1px solid #262e37;
}
.explorer-bottom .filters {
  flex: 1;
  min-width: 0;
}
.trail {
  display: flex;
  align-items: center;
  gap: 7px;
  overflow-x: auto;
  padding: 8px 0 14px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.trail button {
  display: flex;
  align-items: center;
  white-space: nowrap;
  gap: 8px;
  padding: 6px 8px;
  color: var(--muted);
  font-size: 11px;
}
.trail button.current {
  color: var(--paper);
}
.step-num {
  font: 9px var(--mono);
  width: 19px;
  height: 19px;
  border: 1px solid #53606f;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.current .step-num {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--bg);
}
.crumb-arrow {
  color: #667789;
  font-size: 11px;
}
.branches {
  font-size: 11px;
  color: var(--muted);
}
.branches button {
  display: block;
  text-align: left;
  padding: 8px 0;
}
.error-box {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  z-index: 5;
  text-align: center;
}
.list-layout .galaxy-stage {
  height: auto;
  min-height: 500px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 35px;
  padding: 30px 0 60px;
}
.list-layout .current-item {
  position: sticky;
  top: 30px;
  left: auto;
  transform: none;
  grid-column: 1;
  grid-row: 1;
  height: fit-content;
  width: 100%;
}
.list-layout .discoveries {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  height: auto;
}
.list-layout .orbit-sky {
  display: none;
}
.list-layout .discovery-card {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  width: 100%;
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 15px 12px;
  animation: none;
}
.list-layout .discovery-card .object-tile {
  margin: 0;
  width: 60px;
  height: 60px;
  border-radius: 2px;
}
.list-layout .discovery-card h3 {
  font-size: 16px;
}
.list-layout .status {
  bottom: 10px;
}
.primary-button,
.secondary-button {
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 12px;
  padding: 11px 16px;
}
.primary-button {
  background: var(--lime);
  color: var(--bg);
  border-color: var(--lime);
}
.secondary-button:hover {
  border-color: var(--muted);
}
@keyframes arrive {
  from {
    opacity: 0;
    filter: blur(2px);
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}

dialog {
  color: var(--paper);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 27px;
  max-width: 690px;
  width: calc(100% - 32px);
  max-height: 90dvh;
  box-shadow: 0 20px 100px #0009;
}
dialog::backdrop {
  background: #090c12dd;
  backdrop-filter: blur(6px);
}
.dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.dialog-top .eyebrow {
  font-size: 9px;
  color: var(--muted);
}
.icon-button {
  font-size: 25px;
  padding: 0 5px;
  line-height: 1;
}
.dialog-description {
  color: var(--muted);
  font-size: 13px;
}
.dialog-description + label {
  display: block;
  font-size: 12px;
  margin: 25px 0 8px;
}
#journeyTitle {
  width: 100%;
  font-size: 13px;
}
.share-preview {
  margin: 20px 0;
  max-height: 310px;
  overflow: auto;
  background: var(--paper);
  color: #23352b;
  border-radius: 3px;
  padding: 23px;
}
.share-preview h3 {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1;
  margin: 0 0 22px;
  font-weight: 400;
}
.share-step {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  position: relative;
  padding-bottom: 20px;
}
.share-step:last-child {
  padding-bottom: 0;
}
.share-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 26px;
  left: 12px;
  bottom: 0;
  width: 1px;
  background: #c0c8b5;
}
.share-step .step-number {
  width: 25px;
  height: 25px;
  flex: none;
  border-radius: 50%;
  background: #d1d8be;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}
.share-step strong {
  font-size: 14px;
  line-height: 1.3;
  display: block;
  font-weight: 500;
  padding-top: 2px;
}
.share-step small {
  font-size: 9px;
  color: #66715e;
}
.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.share-footnote {
  font-size: 10px;
  color: var(--muted);
  margin: 16px 0 0;
}
#shareStatus {
  font-size: 12px;
  color: var(--lime);
}
#publishedLink {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
#publishedLink input {
  width: 100%;
  font-size: 11px;
  margin-bottom: 10px;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--lime);
  color: var(--bg);
  border-radius: 5px;
  padding: 12px 20px;
  font-size: 12px;
  z-index: 20;
  box-shadow: 0 10px 35px #0006;
}
.saved-items {
  display: grid;
  gap: 10px;
  margin-top: 25px;
}
.saved-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid var(--line);
  padding: 15px 0;
}
.saved-row button:first-child {
  text-align: left;
  flex: 1;
  font-family: var(--serif);
  font-size: 24px;
}
.saved-row small {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  color: var(--muted);
}
.saved-row button:last-child {
  font-size: 11px;
  color: var(--muted);
}
.shared-intro {
  max-width: 690px;
  margin: 40px auto 30px;
  text-align: center;
}
.shared-intro h1 {
  font-size: 65px;
  margin: 18px 0;
}
.shared-intro p {
  color: var(--muted);
  font-size: 13px;
}
.shared-path {
  max-width: 700px;
  margin: 30px auto;
}
.shared-stop {
  display: grid;
  grid-template-columns: 36px 95px 1fr;
  align-items: center;
  gap: 20px;
  position: relative;
  padding: 15px 0 24px;
}
.shared-stop:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 60px;
  bottom: -10px;
  width: 1px;
  background: var(--line);
}
.shared-stop > span {
  align-self: center;
  font-size: 11px;
  width: 32px;
  height: 32px;
  border: 1px solid #596b50;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.shared-stop .object-tile {
  height: 110px;
}
.shared-stop .tile-glyph {
  font-size: 46px;
}
.shared-stop h2 {
  font-size: 31px;
  margin: 0 0 5px;
}
.shared-stop p {
  font-size: 11px;
  color: var(--muted);
  margin: 5px 0 10px;
}
.shared-stop button {
  font-size: 11px;
  color: var(--lime);
  padding: 0;
}
.share-path-footer {
  text-align: center;
  margin: 40px 0;
}
.retry-button {
  margin-top: 15px;
}
.loading-copy {
  color: var(--muted);
  padding: 35px 0;
  font-family: var(--serif);
  font-size: 30px;
}
.object-tile img {
  position: absolute;
  inset: 0;
  object-fit: contain;
  background: var(--tile-bg);
}
@media (min-width: 1600px) {
  .home-intro h1 {
    font-size: 32px;
  }
  .shelf-item .object-tile {
    width: 58px;
    height: 58px;
  }
  .shelf-item strong {
    font-size: 14px;
  }
  .galaxy-stage {
    max-height: 900px;
  }
}
@media (max-width: 760px) {
  .site-header {
    height: 58px;
    padding: 0 17px;
  }
  .wordmark {
    font-size: 21px;
  }
  .header-note {
    display: none;
  }
  .home {
    height: 1390px;
    min-height: 0;
  }
  .home-intro {
    top: 62px;
    width: calc(100% - 35px);
  }
  .home-intro h1 {
    font-size: 24px;
  }
  .home-intro p {
    font-size: 12px;
  }
  #searchForm {
    top: 107px;
    width: calc(100% - 44px);
  }
  .search-box input {
    font-size: 16px;
  }
  .starter-shelf-items {
    top: 230px;
    bottom: 80px;
  }
  .shelf-item {
    left: var(--mobile-x);
    top: var(--mobile-y);
    width: 155px;
  }
  .shelf-item .object-tile {
    width: 45px;
    height: 45px;
  }
  .shelf-item strong {
    font-size: 13px;
  }
  .shelf-creator {
    font-size: 10px;
  }
  #starterFilters {
    top: 181px;
    bottom: auto;
    left: 17px;
    right: 0;
    max-width: none;
    transform: none;
  }
  .filters button {
    font-size: 11px;
    padding: 12px 10px;
  }
  .starting-shelf-heading {
    left: 20px;
    right: 10px;
    bottom: 7px;
  }
  .starting-shelf-heading > span {
    font-size: 10px;
  }
  .home .sky-orbits {
    stroke-opacity: 0.2;
  }
  .explorer {
    padding: 0 12px;
    min-height: calc(100svh - 58px);
  }
  .explorer-top {
    height: 54px;
    gap: 4px;
  }
  .explorer-top .quiet-button {
    font-size: 10px;
    padding: 8px 3px;
  }
  .view-switch button {
    font-size: 10px;
    padding: 4px 9px;
  }
  .galaxy-stage {
    height: 900px;
    min-height: 900px;
  }
  .discovery-card {
    left: var(--mobile-x);
    top: var(--mobile-y);
    width: 155px;
  }
  .discovery-card .object-tile {
    width: 57px;
    height: 57px;
  }
  .discovery-card h3 {
    font-size: 13px;
    margin-top: 9px;
  }
  .discovery-card .creator {
    font-size: 10px;
  }
  .card-footer {
    font-size: 8px;
  }
  .current-item {
    top: 52%;
    width: 260px;
  }
  .current-item h1 {
    font-size: 24px;
  }
  .current-item .object-tile {
    width: 90px;
    height: 90px;
    margin-bottom: 18px;
  }
  .current-actions {
    gap: 12px;
  }
  .desktop-lines {
    display: none;
  }
  .mobile-lines {
    display: block;
  }
  .explorer-bottom {
    gap: 8px;
    flex-wrap: wrap;
    padding: 5px 0;
  }
  .explorer-bottom .filters {
    flex-basis: 100%;
  }
  .explorer-bottom > .quiet-button {
    margin-left: auto;
  }
  .trail {
    padding-bottom: 12px;
  }
  .status {
    bottom: 0;
    font-size: 11px;
  }
  .list-layout .galaxy-stage {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    padding: 20px 0 50px;
    gap: 25px;
  }
  .list-layout .current-item {
    position: static;
  }
  .list-layout .discoveries {
    display: grid;
    grid-template-columns: 1fr 1fr;
    order: 1;
    width: 100%;
  }
  .list-layout .discovery-card {
    padding: 12px 4px;
  }
  .list-layout .discovery-card h3 {
    font-size: 14px;
  }
  .shared-journey {
    padding: 20px;
  }
  .shared-stop {
    grid-template-columns: 25px 60px 1fr;
    gap: 12px;
  }
  .shared-stop .object-tile {
    width: 60px;
    height: 60px;
  }
  dialog {
    padding: 20px;
  }
  .share-actions {
    flex-direction: column;
  }
  .share-preview h3 {
    font-size: 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media (min-width: 761px) {
  .home {
    min-height: 600px;
  }
  .galaxy-stage {
    min-height: 485px;
  }
}
.object-tile img {
  object-fit: cover;
  background: var(--bg);
}
.object-tile:not(.is-cover) {
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.object-tile:not(.is-cover) .tile-glyph {
  display: none;
}
.object-tile[data-depth="far"] {
  --star-size: 3px;
  --star-opacity: 0.55;
  --star-glow: 5px;
}
.object-tile[data-depth="middle"] {
  --star-size: 5px;
  --star-opacity: 0.78;
  --star-glow: 9px;
}
.object-tile[data-depth="near"] {
  --star-size: 7px;
  --star-opacity: 1;
  --star-glow: 14px;
}
.object-tile:not(.is-cover)::before {
  content: "";
  width: var(--star-size, 5px);
  height: var(--star-size, 5px);
  opacity: var(--star-opacity, 0.8);
  background: var(--starlight-core, #fff);
  border-radius: 50%;
  box-shadow: 0 0 var(--star-glow, 9px) var(--starlight-halo, #ffffff70);
}
.object-tile[data-starlight="warm"] {
  --starlight-core: #f3e1b9;
  --starlight-halo: #efd29b70;
}
.object-tile[data-starlight="venus"] {
  --starlight-core: #fff9e9;
  --starlight-halo: #f7deb09c;
  --star-opacity: 1;
  --star-size: 6px;
  --star-glow: 17px;
}
.object-tile[data-starlight="venus"]:not(.is-cover)::before {
  box-shadow: 0 0 5px #fff8e8c0, 0 0 14px #f7deb080, 0 0 27px #e8c78e35;
}
.shelf-item:has([data-depth="far"]) strong {
  color: #aeb5be;
}
.shelf-item:hover strong,
.shelf-item:focus-visible strong {
  color: #fff;
}
.current-item .object-tile:not(.is-cover) {
  border: 1px solid #b3946866;
  box-shadow: 0 0 0 9px #edbc8308;
}
.share-preview {
  max-height: none;
  overflow: visible;
  padding: 0;
  background: var(--bg);
}
.share-preview canvas {
  border: 1px solid var(--line);
}
.share-preview .share-step {
  margin: 10px 20px;
}
.share-preview h3 {
  padding: 20px;
}
@media (min-width: 761px) {
  .shelf-item strong {
    font-size: 14px;
  }
  .shelf-creator {
    font-size: 11px;
  }
}
@media (max-width: 760px) {
  .galaxy-stage:not([data-count="7"]):not([data-count="8"]) {
    height: 720px;
    min-height: 720px;
  }
  .list-layout .galaxy-stage {
    height: auto !important;
    min-height: 0 !important;
  }
}

/* Powers of Ten: a quiet field of view, factual type, and square image frames. */
.field-frame {
  position: absolute;
  inset: 22px;
  border: 1px solid #768b9e30;
}
.scale-frames { position: absolute; inset: 0; }
.scale-frame {
  position: absolute;
  left: 50%; top: 50%;
  width: var(--frame-size); aspect-ratio: 1.45;
  border: 1px solid #c7d2dc;
  opacity: var(--frame-light);
  transform: translate(-50%, -50%);
  animation: scale-recede 120s linear infinite;
  animation-delay: var(--frame-phase);
}
@keyframes scale-recede {
  0% { transform: translate(-50%, -50%) scale(1.38); opacity: 0; }
  16% { opacity: var(--frame-light); }
  80% { opacity: var(--frame-light); }
  100% { transform: translate(-50%, -50%) scale(0.72); opacity: 0; }
}
.stellar-depth {
  transform-origin: 500px 500px;
  animation: stellar-recede var(--depth-period) linear infinite;
  animation-delay: var(--depth-phase);
}
@keyframes stellar-recede {
  0% { transform: scale(1.24); opacity: 0; }
  12% { opacity: 1; }
  80% { opacity: 0.85; }
  100% { transform: scale(0.8); opacity: 0; }
}
.stellar-point {
  animation: stellar-shimmer var(--twinkle-period) ease-in-out infinite;
  animation-delay: var(--twinkle-phase);
}
@keyframes stellar-shimmer {
  0%, 100% { opacity: 0.85; }
  42% { opacity: 0.34; }
  70% { opacity: 1; }
}
#searchForm { width: min(540px, calc(100% - 44px)); }
.search-box { background: #08090a9c; }
.search-box input::placeholder { font-size: 13px; color: #b2b8bf; }
@media (max-width: 480px) {
  .search-box > span { display: none; }
  .search-box input::placeholder { font-size: 12px; }
  .scale-frame { aspect-ratio: 0.85; }
}
.home-intro h1 { margin-bottom: 0; }
.home-intro h1 {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -1px;
}
.current-item::before {
  content: "";
  position: absolute;
  inset: -25px -20px;
  border: 1px solid #8295a24d;
  pointer-events: none;
}
.object-tile.is-cover {
  border-radius: 0;
  box-shadow: none;
  border: 1px solid #9cabb42e;
}
.current-item .object-tile,
.current-item .object-tile:not(.is-cover) {
  border: 0;
  box-shadow: none;
}
.item-meta {
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.sky-connections {
  stroke: #b7c2c9;
  stroke-opacity: 0.19;
}
.current-item h1 {
  font-weight: 500;
}
.shelf-item:hover .object-tile,
.discovery-card:hover .object-tile {
  box-shadow: none;
}
@media (max-width: 760px) {
  .field-frame {
    inset: 14px 7px;
  }
  .current-item::before {
    inset: -17px -5px;
  }
  .home-intro h1 {
    font-size: 25px;
  }
}

@media (min-width: 761px) {
  .home .orbit-sky {
    bottom: -40px;
  }
}
.list-layout .current-item::before {
  display: none;
}

/* Independent drift gives the field movement without moving controls. */
#browseStarters {
  display: block;
  margin: 8px auto 0;
  color: var(--muted);
  font-size: 11px;
}
#browseStarters:hover {
  color: var(--paper);
}
.home > .orbit-sky {
  inset: 0;
}
.home:not(.browsing-starts) {
  height: calc(100svh - 70px);
  min-height: 480px;
}
@media (max-width: 760px) {
  .home:not(.browsing-starts) .home-intro {
    top: 35%;
  }
  .home:not(.browsing-starts) #searchForm {
    top: calc(35% + 45px);
  }
  .home.browsing-starts #starterFilters {
    top: 265px;
  }
  .home.browsing-starts {
    height: 1490px;
  }
  .home.browsing-starts .starter-shelf-items {
    top: 330px;
  }
}
.shelf-item,
.discovery-card {
  animation: node-drift var(--drift-period, 38s) ease-in-out infinite;
  animation-delay: var(--drift-phase, 0s);
}
@keyframes node-drift {
  0%,
  100% {
    translate: calc(-1 * var(--drift-x, 4px)) 0;
  }
  25% {
    translate: 0 calc(-1 * var(--drift-y, 3px));
  }
  50% {
    translate: var(--drift-x, 4px) 0;
  }
  75% {
    translate: 0 var(--drift-y, 3px);
  }
}
.shelf-item:hover,
.shelf-item:focus-visible,
.discovery-card:hover,
.discovery-card:focus-visible {
  animation-play-state: paused;
}
.discovery-card {
  width: 166px;
  left: 50%;
  top: 15%;
}
.discovery-card .object-tile {
  width: var(--node-size, 60px);
  height: var(--node-size, 60px);
  opacity: var(--node-light, 1);
}
.discovery-card h3 {
  font-size: 14px;
}
.galaxy-stage,
.galaxy-stage:not([data-count="7"]):not([data-count="8"]) {
  height: var(--field-height, max(640px, calc(100svh - 248px)));
  min-height: 640px;
}
.list-layout .discovery-card {
  position: static;
  animation: none;
  translate: none;
  width: auto;
}
.list-layout .galaxy-stage {
  height: auto;
  min-height: 0;
}
@media (max-width: 760px) {
  .discovery-card {
    width: 142px;
  }
  .discovery-card h3 {
    font-size: 13px;
  }
  .discovery-card .object-tile {
    width: min(var(--node-size), 61px);
    height: min(var(--node-size), 61px);
  }
  .galaxy-stage,
  .galaxy-stage:not([data-count="7"]):not([data-count="8"]) {
    height: var(--field-height, 1020px);
    min-height: 1020px;
  }
  .list-layout .galaxy-stage {
    height: auto;
    min-height: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .shelf-item,
  .discovery-card {
    animation: none;
    translate: none;
  }
}

.shared-intro h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
}
.shared-stop > span {
  border-color: #8a969f;
  border-radius: 0;
}

.page-is-hidden * { animation-play-state: paused !important; }

/* An open field: scale lives at the periphery, never around the text. */
.site-header { border-bottom: 0; }
.home:not(.browsing-starts) {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 0 0 9svh;
  min-height: 480px;
}
.home:not(.browsing-starts) .home-intro,
.home:not(.browsing-starts) #searchForm {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
}
.home-intro h1 {
  font-size: clamp(32px, 3.4vw, 46px);
  font-weight: 400;
  letter-spacing: -1.2px;
  line-height: 1.3;
}
.search-box {
  background: transparent;
  border-color: #84919d70;
  padding: 13px 0;
}
.search-box > span { display: none; }
.search-box input { padding: 14px 12px; }
.search-box input::placeholder { color: #a6aeb5; }
#searchResults { top: 83px; }
#browseStarters { margin-top: 26px; color: #a3abb5; }
.scale-frames {
  mask-image: radial-gradient(ellipse at 50% 47%, transparent 25%, #000 75%);
}
.stellar-depth {
  translate: calc(var(--look-x, 0px) * var(--parallax-depth, 1)) calc(var(--look-y, 0px) * var(--parallax-depth, 1));
  transition: translate 1.8s cubic-bezier(.2, .65, .3, 1);
}
@media (prefers-reduced-motion: reduce) {
  .stellar-depth { translate: none; }
}
.scale-frame {
  left: 46%;
  top: 44%;
  border: 0;
  /* Interrupted sight lines retain scale without making another container. */
  background:
    linear-gradient(#b8c6d0, #b8c6d0) left top / 64px 1px no-repeat,
    linear-gradient(#b8c6d0, #b8c6d0) left top / 1px 64px no-repeat,
    linear-gradient(#b8c6d0, #b8c6d0) right bottom / 64px 1px no-repeat,
    linear-gradient(#b8c6d0, #b8c6d0) right bottom / 1px 64px no-repeat;
}
.orbit-sky::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 49% 46%, transparent 30%, #08090a80 100%);
}
.explorer { max-width: 1920px; padding: 0 4vw; }
.explorer-top { height: 62px; display: grid; grid-template-columns: 1fr auto 1fr; }
.explorer-top .view-switch { grid-column: 2; }
.explorer-top #shareButton { grid-column: 3; justify-self: end; }
.view-switch { border: 0; gap: 12px; padding: 0; }
.view-switch button { padding: 7px 0; border-bottom: 1px solid transparent; }
.view-switch button[aria-pressed="true"] { background: transparent; border-color: #81909c; }
.galaxy-stage,
.galaxy-stage:not([data-count="7"]):not([data-count="8"]) {
  height: var(--field-height, max(650px, calc(100svh - 250px)));
  min-height: 650px;
  max-height: none;
}
.current-item { width: 265px; top: 48%; }
.current-item::before { display: none; }
.current-item .object-tile { width: 100px; height: 100px; margin-bottom: 32px; }
.current-item .object-tile:not(.is-cover) { width: 36px; height: 36px; }
.current-item h1 { font-size: 28px; line-height: 1.28; margin: 14px 0 12px; font-weight: 400; }
.current-item .creator { font-size: 12px; line-height: 1.5; }
.current-item .item-meta { color: #98a3ae; letter-spacing: .09em; font-size: 9px; }
.current-actions { margin-top: 26px; gap: 18px; }
.current-actions a, .current-actions button { padding: 8px 0; }
.explorer:not(.list-layout) .discovery-card { width: 176px; padding: 14px 8px; }
.explorer:not(.list-layout) .discovery-card h3 {
  font-size: var(--node-type, 14px);
  line-height: 1.45;
  margin: 18px 0 7px;
  color: color-mix(in srgb, var(--paper) calc(var(--node-light, 1) * 100%), #606b78);
}
.explorer:not(.list-layout) .discovery-card .creator { line-height: 1.5; color: #919ba6; }
.explorer:not(.list-layout) .discovery-card .card-footer { display: none; }
.explorer:not(.list-layout) .discovery-card:hover h3,
.explorer:not(.list-layout) .discovery-card:focus-visible h3 { color: #fff; }
.explorer:not(.list-layout) .discovery-card:hover .object-tile,
.explorer:not(.list-layout) .discovery-card:focus-visible .object-tile { opacity: 1; }
.sky-connections { stroke-opacity: .10; stroke-width: .65; }
.explorer-bottom { border: 0; padding: 18px 0; gap: 16px; }
.explorer-bottom .filters { justify-content: center; flex-wrap: nowrap; gap: 9px; overflow-x: auto; padding: 5px; }
.explorer-bottom .filters button { flex: none; font-size: 10px; padding: 9px 5px; color: #97a3ae; }
.explorer-bottom .filters button[aria-pressed="true"] { color: var(--paper); }
.trail { padding: 10px 0 24px; border-top: 1px solid #b8c6d014; }
.trail .step-num { border: 0; width: auto; height: auto; color: #738290; font-size: 9px; }
.trail button { padding: 10px 6px; }
.list-layout .galaxy-stage { height: auto; min-height: 0; }
.list-layout .current-item { width: 100%; top: 30px; }
@media (max-width: 760px) {
  .home:not(.browsing-starts) { height: calc(100svh - 58px); gap: 26px; padding-bottom: 7svh; }
  .home-intro { max-width: calc(100% - 40px); }
  .home-intro h1 { font-size: 34px; }
  #searchForm { width: calc(100% - 44px); }
  .search-box input { padding-left: 0; }
  .search-box button { padding-right: 3px; }
  .explorer { padding: 0 12px; }
  .explorer-top { height: 60px; }
  .view-switch { gap: 10px; }
  .view-switch button { padding: 7px 0; }
  .galaxy-stage,
  .galaxy-stage:not([data-count="7"]):not([data-count="8"]) {
    height: var(--field-height, 780px);
    min-height: 780px;
  }
  .current-item { width: 220px; }
  .current-item h1 { font-size: 25px; }
  .current-item .object-tile { width: 80px; height: 80px; margin-bottom: 26px; }
  .explorer:not(.list-layout) .discovery-card { width: min(136px, calc((100% - 70px) / 2)); padding: 12px 5px; }
  .explorer:not(.list-layout) .discovery-card h3 { font-size: 13px; }
  .explorer:not(.list-layout) .discovery-card .object-tile { width: min(var(--node-size), 64px); height: min(var(--node-size), 64px); }
  .explorer-bottom { flex-wrap: nowrap; gap: 8px; }
  .explorer-bottom .filters { justify-content: flex-start; gap: 5px; }
  .list-layout .galaxy-stage { height: auto; min-height: 0; }
}
