/* A stalled hero falls back to its own decoded poster, without a hard flash. */
.public-home .world-hero-art video { transition: opacity 320ms cubic-bezier(.16,1,.3,1); }
/* Chrome uses the viewport edges, independently of the editorial content width. */
body.site-ui.public-home .masthead .site-masthead-inner,
body.inner.public-topbar .masthead .masthead-inner {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline-start: max(24px, env(safe-area-inset-left, 0px));
  padding-inline-end: max(24px, env(safe-area-inset-right, 0px));
}
.public-home .world-hero-content {
  box-sizing: border-box;
  width: 100%;
  margin-inline: 0;
  padding-inline-start: max(24px, env(safe-area-inset-left, 0px));
  padding-inline-end: max(24px, env(safe-area-inset-right, 0px));
}
@media (min-width: 800px) {
  .public-home .world-hero-film { justify-self: end; text-align: right; }
  .public-home .world-hero-film > p,
  .public-home .world-hero-film .world-hero-credit { margin-inline-start: auto; }
  .public-home .world-hero-actions { justify-content: flex-end; }
}
@media (max-width: 799px) {
  body.site-ui.public-home .masthead .site-masthead-inner,
  body.inner.public-topbar .masthead .masthead-inner,
  .public-home .world-hero-content {
    padding-inline-start: max(16px, env(safe-area-inset-left, 0px));
    padding-inline-end: max(16px, env(safe-area-inset-right, 0px));
  }
}
body.inner.public-topbar .header-tools .nav-links { width: 148px; justify-content: flex-end; }
.public-home #solar-system.map-journey .selected-film-desc { flex-shrink: 0; line-height: 1.7; }
.public-home #solar-system.map-journey .selected-film-desc p { margin: 0; font: inherit; color: inherit; }
.public-home #solar-system.map-journey .selected-film-desc p + p { margin-top: 14px; }
/* Keep the distant mirrors discoverable before the longer story synopsis. */
.public-home #solar-system.map-journey .selected-lighting-nav {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  margin: 12px 0 0;
}
.public-home #solar-system.map-journey .selected-lighting-nav button {
  min-width: 0;
  min-height: 44px;
  padding: 6px 2px;
  border: 0;
  border-bottom: 1px solid #526b795c;
  border-radius: 0;
  background: transparent;
  color: #b8cbd8;
  font: inherit;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.3;
  cursor: pointer;
}
.public-home #solar-system.map-journey .selected-lighting-nav button:is(:hover, [aria-pressed="true"]) {
  color: #f4f7f8;
  border-bottom-color: #b9e0ed;
}
.public-home #solar-system.map-journey .selected-lighting-nav button:focus-visible {
  outline: 1px solid #b9e0ed;
  outline-offset: -2px;
}
@media (max-width: 1099px) {
  .public-home #solar-system.map-journey .selected-film-desc { -webkit-line-clamp: 3; }
  .public-home #solar-system.map-journey .selected-film-desc p:not(:first-child) { display: none; }
}
@media (max-width:980px) {
  body.inner.public-topbar .header-tools .nav-links { width: 44px; }
}
@media (max-width: 799px), (pointer: coarse) and (max-width: 1023px) and (max-height: 500px) {
  .public-home #solar-system.map-journey .selected-film.has-lighting-nav .selected-film-image { grid-row: 1 / 3; }
  .public-home #solar-system.map-journey .selected-lighting-nav { grid-column: 1 / -1; grid-row: 3; margin: 0; }
  .public-home #solar-system.map-journey .selected-film.has-lighting-nav .selected-film-desc {
    grid-column: 1 / -1;
    grid-row: 4;
    -webkit-line-clamp: 2;
    line-height: 1.5;
  }
  .public-home #solar-system.map-journey .selected-film.has-lighting-nav .selected-actions { grid-row: 5; margin-top: 4px; }
}
@media (prefers-reduced-motion:reduce) {
  .public-home .world-hero-art video { transition: none; }
}

/* Upgrade quotes keep the catalogue price visible beside the amount due. */
body.site-ui.join-page .price-card .amount--reduced {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 4px 14px;
  line-height: 1.25;
}
body.site-ui.join-page .price-card .amount-original {
  color: #b2c3ce;
  font-size: .64em;
  font-weight: 400;
  text-decoration-thickness: 1.5px;
}
body.site-ui.join-page .price-card .amount-current {
  color: inherit;
  font: inherit;
}
body.site-ui.join-page .price-card .amount-price-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
