:root {
  --experience-sans: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --experience-mono: 'Space Grotesk', ui-monospace, SFMono-Regular, Consolas, monospace;
  --sans: var(--experience-sans);
  --mono: var(--experience-mono);
  --experience-camera-duration: 1400ms;
  --experience-story-fade: 1200ms;
}

#sol-location { position: absolute; top: 0; left: 0; z-index: 3; text-align: left; padding: 5px 8px; border: 0; border-radius: 8px; background: #080a12a6; color: #ffe6b3; font: 12px var(--experience-sans); }
#sol-location span { margin-right: 5px; }
#sol-location small { display: block; font-size: 9px; color: #c9c2af; margin: 3px 0 0 20px; }
.embedded-explorer .header .brand { visibility: hidden; pointer-events: none; }
.embedded-explorer #app { min-height: 0; }
@media (max-width: 760px) {
  .embedded-explorer .header.experience-header { top: 0; }
  .embedded-explorer .header .brand { display: none; }
  .embedded-explorer .header-actions { margin-left: auto; }
}

.experience-header.experience-header,
.experience-brand.experience-brand,
.experience-intro.experience-intro,
.experience-stories.experience-stories {
  --sans: var(--experience-sans);
  --mono: var(--experience-mono);
  font-family: var(--sans);
  font-size: 14px;
  line-height: normal;
}

.experience-header.experience-header {
  position: absolute;
  top: max(24px, env(safe-area-inset-top));
  left: 30px;
  right: 30px;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.experience-brand.experience-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  color: #d8d4f1;
  text-decoration: none;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 650;
}

.experience-brand.experience-brand svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: var(--accent);
}

.experience-brand.experience-brand .brand-light {
  font-weight: 400;
  color: #b2b2c5;
}

.experience-brand.experience-brand small {
  display: block;
  font-size: 8px;
  font-weight: 400;
  letter-spacing: .27em;
  color: var(--muted);
  margin: 6px 0 0;
}

.experience-intro.experience-intro {
  position: absolute;
  top: 170px;
  left: 36px;
  right: auto;
  width: 230px;
  max-width: 230px;
  text-align: left;
  pointer-events: none;
}

.experience-intro.experience-intro > .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: .16em;
  color: var(--muted);
}

.experience-intro.experience-intro .line {
  display: block;
  height: 1px;
  width: 22px;
  background: var(--accent);
  opacity: .7;
}

.experience-intro.experience-intro h1 {
  font-size: 35px;
  font-weight: 450;
  line-height: 1.2;
  letter-spacing: -.045em;
  margin: 24px 0 13px;
}

.experience-intro.experience-intro h1 em {
  font-weight: 400;
  font-style: normal;
  color: var(--accent);
}

.experience-intro.experience-intro > p:not(.eyebrow) {
  font-size: 12px;
  color: #80879e;
  line-height: 1.65;
  margin: 0 0 25px;
  max-width: none;
}

.experience-stories.experience-stories {
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--experience-story-fade) ease-in-out, visibility 0s linear var(--experience-story-fade);
  background: rgba(8, 10, 18, var(--story-opacity, .3));
  border: 0;
  border-radius: 10px;
  padding: 8px 10px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.stories-visible .experience-stories.experience-stories {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.stories-visible .experience-stories.experience-stories.changing {
  opacity: 0;
}

.experience-stories.experience-stories .eyebrow {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .20em;
  color: var(--accent);
  line-height: 1.5;
}

.experience-stories.experience-stories p {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  margin: 10px auto 4px;
  text-wrap: pretty;
  color: #dedbea;
}

.experience-stories.experience-stories p :is(a, #story-source) {
  display: inline-block;
  white-space: nowrap;
  margin-left: .35em;
  font-size: 11px;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.experience-stories.experience-stories .story-actions {
  position: sticky;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  font-size: 10px;
  color: #aaa0c4;
}

.experience-stories.experience-stories .story-actions :is(button, #story-webb) {
  display: inline-block;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
  border-radius: 0;
  background: none;
  padding: 7px 0;
  min-height: 30px;
}

.experience-stories.experience-stories .story-actions :is(button, #story-webb):hover {
  color: #fff;
}

.experience-stories.experience-stories a:focus-visible,
.experience-stories.experience-stories button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (min-width: 1500px) {
  .experience-intro.experience-intro { top: 185px; left: 45px; }
  .experience-intro.experience-intro h1 { font-size: 43px; }
  .experience-intro.experience-intro > p:not(.eyebrow) { font-size: 13px; }
}

@media (max-height: 800px) and (min-width: 901px) {
  .experience-intro.experience-intro { top: 150px; }
  .experience-intro.experience-intro h1 { font-size: 29px; margin: 16px 0 10px; }
  .experience-intro.experience-intro > p:not(.eyebrow) { margin-bottom: 16px; }
}

@media (max-width: 1100px) {
  .experience-header.experience-header { left: 24px; right: 24px; }
  .experience-brand.experience-brand { font-size: 10px; letter-spacing: .12em; }
  .experience-intro.experience-intro { width: 185px; max-width: 185px; left: 26px; }
  .experience-intro.experience-intro h1 { font-size: 30px; }
}

@media (max-width: 760px) {
  .experience-header.experience-header { top: max(17px, env(safe-area-inset-top)); left: 18px; right: 15px; }
  .experience-brand.experience-brand { font-size: 10px; gap: 9px; letter-spacing: .08em; flex-shrink: 1; min-width: 0; }
  .experience-brand.experience-brand svg { width: 26px; height: 26px; }
  .experience-brand.experience-brand > span { min-width: 0; }
  .experience-brand.experience-brand small { font-size: 6px; letter-spacing: .08em; margin-top: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .experience-brand.experience-brand .brand-light { display: none; }
  .experience-intro.experience-intro { left: 19px; top: 231px; width: auto; max-width: none; right: 60px; }
  .experience-intro.experience-intro > .eyebrow,
  .experience-intro.experience-intro h1,
  .experience-intro.experience-intro > p:not(.eyebrow),
  .experience-intro.experience-intro .galaxy-key { display: none; }
  .experience-stories.experience-stories { padding: 5px 7px; }
}

@media (max-width: 760px) and (max-height: 780px) {
  .experience-intro.experience-intro { top: 207px; }
}

@media (max-width: 760px) and (max-height: 670px) {
  .experience-intro.experience-intro { top: 175px; }
}

@media (max-width: 760px) and (orientation: portrait) {
  .experience-intro.experience-intro { top: 184px; }
  .experience-stories.experience-stories p { font-size: 11px; line-height: 1.4; margin: 6px auto 2px; }
  .experience-stories.experience-stories p :is(a, #story-source) { font-size: 9px; }
  .experience-stories.experience-stories .eyebrow { font-size: 7px; letter-spacing: .1em; }
  .experience-stories.experience-stories .story-actions { font-size: 8px; gap: 18px; }
  .experience-stories.experience-stories .story-actions :is(button, #story-webb) { min-height: 25px; padding: 5px 0; }
}

@media (max-width: 760px) and (max-height: 670px) and (orientation: portrait) {
  .experience-intro.experience-intro { top: 175px; }
}

@media (orientation: landscape) and (max-height: 550px) {
  .experience-header.experience-header { top: 12px; left: 18px; right: 15px; }
  .experience-brand.experience-brand small { display: none; }
  .experience-intro.experience-intro { top: 110px; left: 20px; width: 150px; max-width: 150px; right: auto; }
  .experience-intro.experience-intro > .eyebrow,
  .experience-intro.experience-intro h1,
  .experience-intro.experience-intro > p:not(.eyebrow),
  .experience-intro.experience-intro .galaxy-key { display: none; }
  .experience-stories.experience-stories p { font-size: 10px; line-height: 1.35; margin: 5px 0 2px; }
  .experience-stories.experience-stories p :is(a, #story-source) { font-size: 8px; }
  .experience-stories.experience-stories .eyebrow { font-size: 6px; }
  .experience-stories.experience-stories .story-actions { font-size: 8px; gap: 18px; }
  .experience-stories.experience-stories .story-actions :is(button, #story-webb) { min-height: 24px; padding: 4px 0; }
}

@media (min-width: 761px) and (min-height: 551px) {
  .experience-stories.experience-stories p { font-size: 14px; line-height: 1.45; margin: 6px auto 2px; }
}

@media (prefers-reduced-motion: reduce) {
  .experience-stories.experience-stories { transition: none; }
}
