/* The same orbital line and type scale carry through the star map and catalogues. */
.community-v4 {
  --night: #090e1b;
  --starlight: #e7f3ff;
  --orbit-blue: #98c8ef;
  --orbit-rose: #ff438a;
  background: var(--night);
}
.community-v4 .page-width, .community-v4 .nav-inner {
  width: min(1440px, calc(100% - clamp(40px, 8vw, 140px)));
}
.community-v4 .site-header {
  background: #080e1bef;
  border-bottom: 1px solid #adccf323;
}
.community-v4 .nav-inner { height: 74px; }
.community-v4 .nav-inner .brand img { width: 54px; height: 54px; }
.community-v4 .nav-inner .brand-name { font-size: 22px; }
.community-v4 .header-search { border-radius: 6px; border-color: #91adcc46; }
.v4-hero { background: var(--night); }
.v4-nebula {
  background-position: 65% 45%;
  opacity: .65;
  filter: saturate(.74);
}
.v4-nebula::after {
  background: linear-gradient(90deg, #090e1b 0%, #090e1be6 22%, #090e1b50 52%, #090e1b0d 75%),
    linear-gradient(0deg, #090e1b 0%, transparent 38%, #090e1b42 100%);
}
.v4-horizon {
  left: -34%; right: -25%; bottom: -383px; height: 520px;
  transform: rotate(-5deg);
  border-top: 1px solid #92bded55;
  box-shadow: 0 -5px 34px #6498e417, 0 -11px 0 -10px #8cacea44;
  background: linear-gradient(#101b2c85, #090e1b 23%);
}
.v4-hero-inner {
  min-height: clamp(480px, 42vw, 620px);
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.13fr);
}
.v4-hero-copy { padding: 17px 0 0; }
.v4-hero-copy .v4-kicker {
  color: #c2cedc; font-weight: 550; font-size: 14px; line-height: 1.6; letter-spacing: .12em;
}
.v4-kicker > span {
  background: var(--orbit-rose); height: 2px; width: 34px; border-radius: 0;
  box-shadow: none;
}
.v4-hero h1 {
  font-size: clamp(60px, 6.05vw, 102px);
  line-height: 1.12; letter-spacing: -.055em;
  margin: 24px 0 22px;
  text-shadow: none;
}
.v4-hero h1 em { color: var(--orbit-rose); }
.v4-hero h1 > span { color: var(--orbit-blue); }
.v4-subtitle { font-size: clamp(17px, 1.45vw, 23px); color: #d3dfea; }
.v4-actions { margin-top: 30px; gap: 24px; }
.v4-actions .button, .community-v4 .button-small, .v4-learning-bottom .button, .v4-treehole .button {
  border-radius: 7px; background: #e71a6e; color: white;
  box-shadow: inset 0 1px 0 #ffb5d451;
}
.v4-actions .button { padding: 14px 21px; }
.v4-actions .v4-text-link { font-size: 15px; color: #d7e3ef; border-color: #a3bad17a; }
.v4-galaxy-wrap { margin: 0 -2vw 0 -1vw; padding: 30px 0 42px; }
.v4-galaxy-wrap #galaxy-stage { height: clamp(405px, 35vw, 535px); }
.v4-galaxy-title {
  display: flex; align-items: baseline; gap: .38em;
  right: 2vw; top: 32px; font-size: clamp(17px, 1.4vw, 23px);
  font-weight: 560; color: #dfebf7; letter-spacing: -.02em;
}
.v4-galaxy-title > span { color: #ff839f; font-weight: 780; }
.v4-galaxy-title::before { content: ''; align-self: center; width: 35px; border-top: 1px solid #a5bed277; }
.v4-galaxy-meta { margin: 0 2vw 0 10%; }
.v4-galaxy-meta p { font-size: 14px; line-height: 1.4; }
.v4-galaxy-meta small { display: inline-block; font-size: 12px; margin-left: .8em; color: #b2c3d7; }
.v4-selection-link { left: 10%; bottom: 13px; color: #c0dcff; }
.v4-orbit-nav {
  padding: 15px 2% 27px; min-height: 132px; gap: 12px;
}
.v4-orbit-line {
  top: 2px; height: 84px; left: 2%; right: 2%;
  border-color: #b2d5f640; box-shadow: none;
}
.v4-orbit-nav > a {
  display: grid; grid-template-columns: auto 1fr; align-items: center;
  column-gap: 13px; row-gap: 2px; text-align: left; min-width: 0; padding: 4px;
}
.v4-orbit-nav > a:nth-of-type(2), .v4-orbit-nav > a:nth-of-type(4) { transform: translateY(12px); }
.v4-orbit-nav > a:nth-of-type(3) { transform: translateY(19px); }
.v4-orbit-nav > a:hover, .v4-orbit-nav > a:focus-visible { transform: translateY(-3px); }
.v4-orbit-nav .v4-orb, .v4-orbit-nav > a:first-of-type .v4-orb, .v4-orbit-nav > a:last-of-type .v4-orb {
  grid-row: span 2; width: 47px; height: 47px; border-color: #95c2e76e;
  color: #d6e8fa; background: linear-gradient(150deg, #344964, #111d31 62%);
  box-shadow: inset 0 1px 0 #bcd5ec35, 0 6px 16px #03091770;
}
.v4-orbit-nav > a:first-of-type .v4-orb { color: #ffc6de; border-color: #d4759a87; background: linear-gradient(150deg,#613950,#211c30 65%); }
.v4-orb svg { width: 22px; height: 22px; }
.v4-orbit-nav small { font-size: 12px; color: #aabbd0; }
.v4-love {
  border: 0; padding: clamp(46px,5.8vw,88px) 0;
  background: radial-gradient(ellipse at 87% 84%, #14223a, transparent 62%), var(--night);
}
.v4-love::before {
  inset: 0 0 auto; height: 1px; opacity: .9;
  background: linear-gradient(90deg, transparent 2%, #7895b466 18%, #7895b422 70%, transparent);
}
.v4-love .v4-section-head { margin-bottom: 18px; }
.v4-love .v4-kicker, #learning .v4-kicker {
  font: 600 13px/1.5 ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .13em; color: var(--orbit-blue);
}
.v4-love .v4-section-head h2 { margin-top: 9px; font-size: clamp(34px,3.6vw,60px); }
.v4-love .v4-section-head h2 span { color: var(--orbit-blue); }
.v4-model-explore .v4-explore-heading { align-items: center; padding: 12px 0 19px; }
.v4-explore-heading .model-scale { display: flex; gap: clamp(15px,2vw,36px); margin: 0; }
.model-scale span { display: inline-flex; align-items: baseline; gap: 7px; white-space: nowrap; color: #c6d4e4; font-size: 14px; }
.model-scale b { font: 450 clamp(24px,2.7vw,41px)/1 ui-monospace, Consolas, monospace; letter-spacing: -.08em; color: #f5f8ff; }
.v4-explore-meta p { font-size: 14px; color: #abbcd0; }
.v4-model-source { font-size: 13px; }
.v4-model-explore .lv-tabs button { border-radius: 0; }
.v4-model-explore .lv-tabs button[aria-selected=true] {
  background: linear-gradient(0deg, #52749a27, transparent);
  box-shadow: none; border-color: transparent;
}
.v4-model-explore .lv-tabs button[aria-selected=true]::after { bottom: 0; left: 0; right: 0; box-shadow: none; }
.v4-model-explore .lv-tabs button > strong { text-shadow: none; font-style: italic; }
.v4-model-explore .lv-detail { background: linear-gradient(125deg,#15283d,#101b2c); border-radius: 4px; box-shadow: none; }
.v4-model-explore .lv-detail::after { content: none; }
.v4-model-explore .lv-action { border-radius: 4px; }
#galaxy-stage[data-renderer="unavailable"] { overflow-y: auto; }
@media (max-width: 900px) {
  .v4-orbit-nav > a { display: flex; flex-direction: column; gap: 6px; }
  .v4-orbit-nav small { display:none; }
}
@media (max-width: 680px) {
  .community-v4 .page-width, .community-v4 .nav-inner { width: calc(100% - 36px); }
  .community-v4 .nav-inner { height: 58px; }
  .community-v4 .nav-inner .brand img { width: 44px; height: 44px; }
  .v4-hero-inner { display: block; min-height: 0; padding-top: 0; }
  .v4-hero-copy { padding: 32px 0 8px; }
  .v4-hero h1 { font-size: clamp(46px,12vw,73px); margin: 15px 0 12px; }
  .v4-hero-copy .v4-kicker { font-size: 13px; }
  .v4-actions { margin-top: 17px; gap: 14px; }
  .v4-actions .button { padding: 12px 14px; font-size: 14px; gap: 7px; }
  .v4-actions .v4-text-link { font-size: 14px; }
  .v4-galaxy-wrap { margin: 0; padding: 27px 0 25px; }
  .v4-galaxy-wrap #galaxy-stage { height: clamp(255px,72vw,390px); }
  .v4-galaxy-title { right: 1px; top: 13px; font-size: 14px; }
  .v4-galaxy-title::before { width: 18px; }
  .v4-galaxy-meta { margin: 1px 2px 0; gap: 10px; align-items: center; }
  .v4-galaxy-meta p { font-size: 13px; }
  .v4-galaxy-meta small { display: block; margin: 2px 0 0; }
  .v4-selection-link { left: 2px; bottom: 0; }
  .v4-nebula::after { background: linear-gradient(180deg,#090e1be0,#090e1b44 46%,#090e1b99 75%,#090e1b); }
  .v4-orbit-nav { min-height: 104px; padding: 5px 0 24px; gap: 2px; }
  .v4-orbit-nav b { font-size: 12px; white-space: nowrap; }
  .v4-orbit-nav a { padding: 0; }
  .v4-orbit-nav .v4-orb, .v4-orbit-nav > a:first-of-type .v4-orb, .v4-orbit-nav > a:last-of-type .v4-orb { height: 36px; width: 36px; }
  .v4-orb svg { width: 18px; height: 18px; }
  .v4-love .v4-section-head h2 span { display: inline; }
  .v4-love .v4-section-head > p { font-size: 14px; }
  .v4-explore-heading .model-scale { justify-content: space-between; gap: 7px; }
  .model-scale span { font-size: 12px; gap: 3px; }
  .v4-explore-meta { margin-top: 13px; text-align: left; }
  .v4-explore-meta p { font-size: 13px; line-height: 1.6; }
  .community-v4 .lv-node small { font-size: 12px; }
  .v4-model-explore .lv-detail { padding: 16px; min-height: 0; }
  .v4-model-explore .lv-action { margin-top: 15px; }
}
@media (max-width: 360px) {
  .v4-love .v4-section-head h2 span { display: inline-block; white-space: nowrap; }
}
