:root {
  --solar-gold: #ffc94f;
  --solar-gold-soft: #ffe7a1;
  --solar-cyan: #69d9ff;
  --solar-blue: #387dff;
  --solar-violet: #9d7dff;
  --solar-panel: rgba(5, 13, 36, 0.86);
  --solar-line: rgba(132, 199, 255, 0.26);
}

.tankentai-solar-page,
.tankentai-solar-page *,
.tankentai-solar-page *::before,
.tankentai-solar-page *::after {
  box-sizing: border-box;
}

.tankentai-solar-page {
  min-width: 0;
  color: #eaf5ff;
  background:
    radial-gradient(circle at 74% 12%, rgba(73, 84, 208, 0.28), transparent 30rem),
    radial-gradient(circle at 18% 28%, rgba(16, 136, 200, 0.18), transparent 27rem),
    radial-gradient(circle at 52% 64%, rgba(123, 42, 153, 0.12), transparent 34rem),
    #01040f;
}

.tankentai-solar-selector [hidden] {
  display: none !important;
}

.tankentai-solar-selector .visually-hidden {
  position: absolute !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  border: 0 !important;
  margin: -1px !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.tankentai-solar-page::before {
  opacity: 0.56;
}

.solar-page-header {
  border-bottom-color: rgba(127, 199, 255, 0.16);
  background: rgba(1, 5, 18, 0.82);
}

.solar-page-nav {
  width: min(84rem, calc(100% - 2rem));
  min-height: 4.25rem;
  gap: 1rem;
}

.solar-page-nav .brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.72rem;
  min-width: 0;
  text-decoration: none;
}

.solar-page-nav .brand-mark {
  display: grid;
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid rgba(255, 222, 112, 0.54);
  border-radius: 50%;
  color: var(--solar-gold);
  background: rgba(13, 30, 69, 0.82);
  box-shadow: 0 0 1.2rem rgba(78, 179, 255, 0.24);
}

.solar-page-nav .brand-copy {
  display: grid;
  line-height: 1.2;
}

.solar-page-nav .brand-name {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 900;
}

.solar-page-nav .brand-subtitle {
  color: #a9c4df;
  font-size: 0.68rem;
  font-weight: 700;
}

.solar-page-nav .nav-links {
  gap: 0.2rem;
}

.solar-page-nav .nav-links a {
  min-height: 44px;
  padding: 0.62rem 0.7rem;
  border-radius: 999px;
  color: #dcecff;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.solar-page-nav .nav-links a:hover,
.solar-page-nav .nav-links a:focus-visible,
.solar-page-nav .nav-links a[aria-current="page"] {
  color: #081329;
  background: linear-gradient(180deg, #fff3ae, var(--solar-gold));
}

.tankentai-solar-selector {
  position: relative;
  isolation: isolate;
  overflow: clip;
  min-height: 100vh;
  padding: 0 1rem 3.5rem;
}

.tankentai-solar-selector::before,
.tankentai-solar-selector::after {
  position: absolute;
  z-index: -2;
  pointer-events: none;
  content: "";
}

.tankentai-solar-selector::before {
  top: 2rem;
  left: 50%;
  width: min(96rem, 120vw);
  height: min(58rem, 76vw);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 52% 42%, rgba(42, 137, 255, 0.16), transparent 34%),
    radial-gradient(ellipse at 44% 48%, rgba(184, 66, 209, 0.12), transparent 39%);
  filter: blur(1.8rem);
  transform: translateX(-50%) rotate(-7deg);
}

.tankentai-solar-selector::after {
  inset: 0;
  z-index: -3;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.84) 0 1px, transparent 1.35px),
    radial-gradient(circle, rgba(105, 217, 255, 0.72) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(255, 201, 79, 0.66) 0 1px, transparent 1.5px);
  background-position: 21px 34px, 97px 18px, 46px 122px;
  background-size: 156px 156px, 239px 239px, 317px 317px;
  opacity: 0.44;
  animation: solar-star-drift 30s linear infinite alternate;
}

.solar-selector-intro,
.solar-selector-experience,
.solar-destination-section,
.solar-support-grid,
.solar-legacy-note {
  width: min(82rem, 100%);
  margin-inline: auto;
}

.solar-selector-intro {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(8rem, 12rem);
  gap: 1.5rem;
  align-items: center;
  min-height: 13rem;
  padding: 2.2rem 1rem 1.35rem;
}

.solar-selector-intro-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 0.62rem;
}

.solar-selector-eyebrow,
.solar-section-kicker {
  margin: 0;
  color: var(--solar-gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.solar-selector-intro h1 {
  max-width: 12em;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.5rem, 5vw, 4.9rem);
  font-weight: 900;
  line-height: 1.14;
  text-wrap: balance;
  text-shadow: 0 0.45rem 2.2rem rgba(26, 91, 194, 0.34);
}

.solar-selector-intro h1 em {
  color: var(--solar-gold);
  font-style: normal;
}

.solar-selector-lead {
  max-width: 44rem;
  margin: 0;
  color: #cfe3f7;
  font-size: clamp(0.94rem, 1.8vw, 1.08rem);
  line-height: 1.7;
}

.solar-selector-mascot {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  width: 100%;
  margin: 0;
}

.solar-selector-mascot::before {
  position: absolute;
  inset: 18% 2% 3%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 200, 255, 0.28), transparent 67%);
  filter: blur(0.8rem);
  content: "";
}

.solar-selector-mascot img {
  display: block;
  width: min(9.8rem, 100%);
  height: auto;
  filter: drop-shadow(0 1rem 1.3rem rgba(0, 0, 0, 0.44));
  animation: solar-mascot-float 5.8s ease-in-out infinite;
}

.solar-selector-mascot figcaption {
  position: absolute;
  top: 9%;
  right: calc(100% - 0.25rem);
  min-width: 8.2rem;
  padding: 0.68rem 0.82rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 1.1rem;
  color: #f3f9ff;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.55;
  text-align: center;
  background: rgba(4, 12, 35, 0.86);
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.32);
}

.solar-selector-experience {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(19rem, 0.72fr);
  gap: 1.15rem;
  align-items: start;
}

.solar-map-column {
  display: grid;
  gap: 0.55rem;
  min-width: 0;
}

.solar-stage-frame {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(131, 195, 255, 0.28);
  border-radius: 1.65rem;
  background: rgba(2, 8, 27, 0.7);
  box-shadow:
    0 1.8rem 5rem rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.solar-system-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  height: clamp(29rem, 45vw, 38rem);
  min-height: 29rem;
  touch-action: pan-y;
  user-select: none;
  cursor: grab;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 188, 57, 0.18), transparent 18%),
    radial-gradient(ellipse at 50% 58%, rgba(40, 86, 190, 0.12), transparent 56%),
    linear-gradient(180deg, rgba(1, 6, 24, 0.45), rgba(2, 5, 20, 0.84));
}

.tankentai-solar-selector[data-dragging="true"] .solar-system-stage {
  cursor: grabbing;
}

.solar-system-stage:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: -6px;
}

.solar-system-stage::before,
.solar-system-stage::after {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
}

.solar-system-stage::before {
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.82) 0 1px, transparent 1.45px),
    radial-gradient(circle, rgba(109, 195, 255, 0.72) 0 1px, transparent 1.4px);
  background-position: 24px 33px, 71px 106px;
  background-size: 131px 131px, 211px 211px;
  opacity: 0.52;
}

.solar-system-stage::after {
  inset: 15% 5% 6%;
  background:
    radial-gradient(ellipse at 50% 54%, rgba(78, 102, 255, 0.16), transparent 34%),
    radial-gradient(ellipse at 52% 48%, rgba(195, 60, 220, 0.1), transparent 46%);
  filter: blur(1rem);
  transform: rotate(-8deg);
}

.solar-stage-nebula {
  position: absolute;
  top: 13%;
  left: 50%;
  z-index: -1;
  width: 38%;
  aspect-ratio: 1.8;
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(ellipse, rgba(40, 173, 255, 0.2), transparent 48%),
    radial-gradient(ellipse at 65% 40%, rgba(185, 75, 235, 0.2), transparent 55%);
  filter: blur(0.7rem);
  transform: translateX(-50%) rotate(-12deg);
}

.solar-orbit-field {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.solar-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid var(--solar-line);
  border-radius: 50%;
  box-shadow: 0 0 0.8rem rgba(80, 173, 255, 0.08);
  transform: translate(-50%, -50%) rotate(-4deg);
}

.solar-orbit[data-active="true"] {
  border-color: rgba(255, 208, 92, 0.78);
  box-shadow:
    0 0 0.65rem rgba(255, 194, 63, 0.38),
    inset 0 0 0.65rem rgba(255, 194, 63, 0.18);
}

.solar-orbit-mercury {
  width: 20%;
  height: 10%;
}

.solar-orbit-venus {
  width: 29%;
  height: 15%;
}

.solar-orbit-earth {
  width: 39%;
  height: 21%;
}

.solar-orbit-mars {
  width: 49%;
  height: 28%;
}

.solar-orbit-jupiter {
  width: 63%;
  height: 39%;
}

.solar-orbit-saturn {
  width: 75%;
  height: 49%;
}

.solar-orbit-uranus {
  width: 86%;
  height: 58%;
}

.solar-orbit-neptune {
  width: 96%;
  height: 66%;
}

.earth-moon-orbit-guide {
  position: absolute;
  top: 60%;
  left: 32%;
  z-index: 71;
  display: block;
  width: 5.7rem;
  height: 2.8rem;
  border: 1px dashed rgba(180, 226, 255, 0.48);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.78;
  transform: translate(-50%, -50%) rotate(-13deg);
}

.tankentai-solar-selector[data-enhanced="true"] .earth-moon-orbit-guide {
  top: var(--earth-y);
  left: var(--earth-x);
  z-index: var(--earth-guide-z);
  width: var(--earth-guide-width);
  height: var(--earth-guide-height);
  opacity: var(--earth-guide-opacity);
}

.earth-moon-orbit-guide span {
  position: absolute;
  top: calc(100% + 0.2rem);
  left: 50%;
  padding: 0.12rem 0.35rem;
  border-radius: 999px;
  color: #cfeaff;
  font-size: 0.58rem;
  font-weight: 800;
  white-space: nowrap;
  background: rgba(3, 12, 33, 0.78);
  transform: translateX(-50%);
}

.earth-moon-orbit-guide[data-active="true"] {
  border-color: rgba(255, 213, 105, 0.86);
  box-shadow: 0 0 0.8rem rgba(255, 194, 63, 0.34);
}

.solar-body {
  --body-size: 4rem;
  --fallback-scale: 1;
  position: absolute;
  top: var(--fallback-y);
  left: var(--fallback-x);
  z-index: var(--fallback-z);
  display: grid;
  width: max(44px, var(--body-size));
  min-width: 44px;
  min-height: 44px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  text-decoration: none;
  opacity: var(--fallback-opacity, 1);
  filter: brightness(var(--fallback-brightness, 1));
  transform: translate(-50%, -50%) scale(var(--fallback-scale));
  transform-origin: center;
  will-change: transform, filter, opacity;
}

.tankentai-solar-selector[data-enhanced="true"] .solar-body {
  top: var(--body-y);
  left: var(--body-x);
  z-index: var(--body-z);
  opacity: var(--body-opacity);
  filter:
    blur(var(--body-blur))
    brightness(var(--body-brightness))
    saturate(var(--body-saturation));
  transform:
    translate(-50%, -50%)
    scale(max(var(--body-min-scale, 1), var(--body-scale)));
}

.solar-body::before {
  position: absolute;
  inset: -0.38rem;
  z-index: -1;
  border: 2px solid transparent;
  border-radius: 50%;
  pointer-events: none;
  content: "";
}

.solar-body:hover::before,
.solar-body:focus-visible::before {
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 1.2rem rgba(112, 215, 255, 0.68);
}

.solar-body:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 7px;
}

.solar-body[data-selected="true"]::before {
  border-color: var(--solar-gold);
  box-shadow:
    0 0 0 0.24rem rgba(255, 201, 79, 0.18),
    0 0 1.65rem rgba(255, 190, 49, 0.78);
}

.solar-body-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 0.6rem 0.8rem rgba(0, 0, 0, 0.5));
}

.solar-body-sun .solar-body-image {
  filter:
    drop-shadow(0 0 0.75rem rgba(255, 210, 62, 0.92))
    drop-shadow(0 0 1.6rem rgba(255, 132, 31, 0.58));
  animation: solar-sun-pulse 4.4s ease-in-out infinite;
}

.solar-body-saturn .solar-body-image {
  width: 118%;
  max-width: 118%;
  height: 118%;
}

.solar-body-label {
  position: absolute;
  top: calc(100% + 0.28rem);
  left: 50%;
  display: grid;
  justify-items: center;
  min-width: max-content;
  padding: 0.2rem 0.48rem;
  border: 1px solid rgba(177, 219, 255, 0.34);
  border-radius: 999px;
  color: rgba(240, 249, 255, 0.9);
  font-size: 0.69rem;
  font-weight: 900;
  line-height: 1.18;
  white-space: nowrap;
  background: rgba(3, 10, 29, 0.76);
  box-shadow: 0 0.35rem 0.8rem rgba(0, 0, 0, 0.3);
  opacity: var(--body-label-opacity, 1);
  transform: translateX(-50%);
}

.solar-body-label small {
  color: #b9d8f1;
  font-size: 0.48rem;
  font-weight: 800;
}

.solar-body[data-selected="true"] .solar-body-label {
  border-color: rgba(255, 217, 113, 0.86);
  color: #13203e;
  background: var(--solar-gold-soft);
  opacity: 1;
}

.solar-body-selected-marker {
  position: absolute;
  right: -0.8rem;
  bottom: -1.55rem;
  display: none;
  min-width: max-content;
  padding: 0.18rem 0.42rem;
  border-radius: 999px;
  color: #14192d;
  font-size: 0.54rem;
  font-weight: 900;
  line-height: 1;
  background: var(--solar-gold);
  box-shadow: 0 0.35rem 0.8rem rgba(0, 0, 0, 0.32);
}

.solar-body[data-selected="true"] .solar-body-selected-marker {
  display: block;
}

.solar-body-sun {
  --body-size: 8.4rem;
  --body-min-scale: 0.328;
  --fallback-x: 50%;
  --fallback-y: 48%;
  --fallback-z: 50;
}

.solar-body-mercury {
  --body-size: 3.1rem;
  --body-min-scale: 0.888;
  --fallback-x: 58%;
  --fallback-y: 46%;
  --fallback-z: 54;
}

.solar-body-venus {
  --body-size: 4rem;
  --body-min-scale: 0.688;
  --fallback-x: 45%;
  --fallback-y: 37%;
  --fallback-z: 38;
}

.solar-body-earth {
  --body-size: 4.45rem;
  --body-min-scale: 0.619;
  --fallback-x: 32%;
  --fallback-y: 60%;
  --fallback-z: 70;
}

.solar-body-moon {
  --body-size: 2.75rem;
  --body-min-scale: 1;
  --fallback-x: 25%;
  --fallback-y: 65%;
  --fallback-z: 72;
}

.solar-body-mars {
  --body-size: 3.7rem;
  --body-min-scale: 0.744;
  --fallback-x: 63%;
  --fallback-y: 31%;
  --fallback-z: 28;
}

.solar-body-jupiter {
  --body-size: 7.2rem;
  --body-min-scale: 0.382;
  --fallback-x: 61%;
  --fallback-y: 75%;
  --fallback-z: 84;
}

.solar-body-saturn {
  --body-size: 8.7rem;
  --body-min-scale: 0.317;
  --fallback-x: 79%;
  --fallback-y: 57%;
  --fallback-z: 90;
  --fallback-scale: 1.08;
}

.solar-body-uranus {
  --body-size: 5.2rem;
  --body-min-scale: 0.529;
  --fallback-x: 84%;
  --fallback-y: 34%;
  --fallback-z: 32;
}

.solar-body-neptune {
  --body-size: 5rem;
  --body-min-scale: 0.55;
  --fallback-x: 89%;
  --fallback-y: 73%;
  --fallback-z: 76;
}

.solar-camera-controls {
  position: absolute;
  top: 50%;
  left: 0.8rem;
  z-index: 120;
  display: grid;
  gap: 0.5rem;
  transform: translateY(-50%);
}

.solar-camera-controls button,
.solar-destination-controls button {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid rgba(195, 228, 255, 0.42);
  color: #f5fbff;
  font: inherit;
  font-weight: 900;
  background: rgba(4, 13, 37, 0.84);
  box-shadow: 0 0.55rem 1.1rem rgba(0, 0, 0, 0.28);
  cursor: pointer;
}

.solar-camera-controls button:hover,
.solar-camera-controls button:focus-visible,
.solar-destination-controls button:hover,
.solar-destination-controls button:focus-visible {
  border-color: var(--solar-gold);
  color: #0a1631;
  background: var(--solar-gold-soft);
}

.solar-icon-control {
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 50%;
  font-size: 1.45rem;
  line-height: 1;
}

.solar-reset-control {
  width: 54px;
  padding: 0.35rem;
  border-radius: 50%;
  font-size: 0.66rem;
}

.solar-drag-hint {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  z-index: 110;
  display: grid;
  gap: 0.08rem;
  margin: 0;
  padding: 0.5rem 0.68rem;
  border: 1px solid rgba(171, 219, 255, 0.26);
  border-radius: 0.8rem;
  color: #dcefff;
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: right;
  background: rgba(3, 10, 30, 0.74);
  pointer-events: none;
}

.solar-scale-note,
.solar-noscript-note {
  margin: 0;
  color: #a9bfd7;
  font-size: 0.72rem;
  line-height: 1.55;
}

.solar-noscript-note {
  padding: 0.6rem 0.7rem;
  border-left: 3px solid var(--solar-gold);
  color: #eaf5ff;
  background: rgba(10, 25, 56, 0.72);
}

.solar-selected-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-rows: minmax(10rem, 0.9fr) auto auto auto;
  gap: 0.9rem;
  min-width: 0;
  min-height: clamp(29rem, 45vw, 38rem);
  padding: 1.15rem;
  border: 1px solid rgba(255, 208, 93, 0.38);
  border-radius: 1.65rem;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 194, 65, 0.15), transparent 34%),
    linear-gradient(160deg, rgba(12, 25, 61, 0.94), rgba(4, 10, 30, 0.96));
  box-shadow:
    0 1.8rem 5rem rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.solar-selected-panel::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.74) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(94, 202, 255, 0.62) 0 1px, transparent 1.4px);
  background-position: 18px 26px, 69px 84px;
  background-size: 117px 117px, 191px 191px;
  opacity: 0.28;
  content: "";
}

.solar-selected-visual {
  position: relative;
  display: grid;
  min-height: 0;
  place-items: center;
}

.solar-selected-visual::before {
  position: absolute;
  width: 80%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 212, 103, 0.2), transparent 68%);
  filter: blur(0.45rem);
  content: "";
}

.solar-selected-visual-orbit {
  position: absolute;
  width: 88%;
  height: 34%;
  border: 1px solid rgba(255, 211, 106, 0.36);
  border-radius: 50%;
  transform: rotate(-10deg);
}

.solar-selected-visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: min(14rem, 90%);
  height: min(14rem, 90%);
  object-fit: contain;
  filter:
    drop-shadow(0 0 1.1rem rgba(255, 192, 53, 0.38))
    drop-shadow(0 1rem 1.2rem rgba(0, 0, 0, 0.48));
  animation: solar-selected-breathe 5.2s ease-in-out infinite;
}

.solar-selected-copy {
  display: grid;
  gap: 0.38rem;
  min-width: 0;
}

.solar-selected-index {
  margin: 0;
  color: #aebdd4;
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.solar-selected-body {
  margin: 0;
  color: var(--solar-gold);
  font-size: clamp(1.85rem, 3vw, 2.7rem);
  font-weight: 900;
  line-height: 1;
}

.solar-selected-copy h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.32;
}

.solar-selected-objective {
  margin: 0;
  color: #cfe0f1;
  font-size: 0.86rem;
  line-height: 1.65;
}

.solar-selected-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.75rem 1rem;
  border: 1px solid #ffe38e;
  border-radius: 999px;
  color: #17203b;
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  background: linear-gradient(180deg, #ffe99a, #ffbe31);
  box-shadow:
    0 0.75rem 1.7rem rgba(255, 171, 29, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.solar-selected-cta:hover,
.solar-selected-cta:focus-visible {
  color: #0b142a;
  background: #fff2b7;
  transform: translateY(-1px);
}

.solar-destination-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.62rem;
}

.solar-destination-controls button {
  padding: 0.55rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
}

.solar-destination-section {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.35rem;
  padding: 1.1rem;
  border: 1px solid rgba(132, 199, 255, 0.18);
  border-radius: 1.35rem;
  background: rgba(4, 12, 33, 0.68);
}

.solar-destination-heading {
  display: flex;
  gap: 1rem;
  align-items: end;
  justify-content: space-between;
}

.solar-destination-heading h2 {
  margin: 0.18rem 0 0;
  color: #ffffff;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.solar-destination-heading > p {
  max-width: 28rem;
  margin: 0;
  color: #a9bfd6;
  font-size: 0.8rem;
  line-height: 1.6;
  text-align: right;
}

.solar-destination-rail {
  min-width: 0;
  overflow-x: auto;
  padding: 0.2rem 0.1rem 0.55rem;
  scrollbar-color: rgba(255, 207, 79, 0.55) rgba(10, 26, 60, 0.54);
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
}

.solar-destination-rail ol {
  display: grid;
  grid-auto-columns: minmax(9.5rem, 12rem);
  grid-auto-flow: column;
  gap: 0.62rem;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
}

.solar-destination-rail li {
  min-width: 0;
  scroll-snap-align: start;
}

.solar-destination-rail a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.55rem;
  align-items: center;
  min-height: 68px;
  padding: 0.55rem 0.68rem;
  border: 1px solid rgba(151, 203, 249, 0.22);
  border-radius: 0.9rem;
  color: #eaf5ff;
  text-decoration: none;
  background: rgba(8, 21, 53, 0.78);
}

.solar-destination-rail a:hover,
.solar-destination-rail a:focus-visible {
  border-color: rgba(255, 225, 134, 0.88);
  background: rgba(26, 48, 91, 0.92);
}

.solar-destination-rail a[data-selected="true"] {
  border-color: var(--solar-gold);
  color: #17203b;
  background: linear-gradient(180deg, #ffe99d, #ffc647);
  box-shadow: 0 0 1.2rem rgba(255, 189, 49, 0.3);
}

.solar-rail-number {
  color: var(--solar-gold);
  font-size: 0.74rem;
  font-weight: 900;
}

.solar-destination-rail a[data-selected="true"] .solar-rail-number {
  color: #7a4c00;
}

.solar-destination-rail a > span:last-child {
  display: grid;
  min-width: 0;
}

.solar-destination-rail strong {
  font-size: 0.86rem;
  line-height: 1.35;
}

.solar-destination-rail small {
  overflow: hidden;
  color: #a9c2dd;
  font-size: 0.64rem;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.solar-destination-rail a[data-selected="true"] small {
  color: #4b4660;
}

.solar-support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.solar-support-card {
  display: grid;
  gap: 0.58rem;
  min-width: 0;
  padding: 1.2rem;
  border: 1px solid rgba(132, 199, 255, 0.18);
  border-radius: 1.2rem;
  background:
    linear-gradient(145deg, rgba(8, 25, 57, 0.8), rgba(4, 12, 31, 0.86));
}

.solar-support-card-family {
  border-color: rgba(255, 207, 92, 0.24);
}

.solar-support-card h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.12rem, 2.3vw, 1.55rem);
}

.solar-support-card > p:not(.solar-section-kicker) {
  margin: 0;
  color: #b7cbe0;
  font-size: 0.82rem;
  line-height: 1.65;
}

.solar-support-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.solar-support-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.52rem 0.72rem;
  border: 1px solid rgba(164, 213, 255, 0.26);
  border-radius: 999px;
  color: #dff1ff;
  font-size: 0.75rem;
  font-weight: 800;
  text-decoration: none;
  background: rgba(9, 25, 58, 0.76);
}

.solar-support-links a:hover,
.solar-support-links a:focus-visible {
  border-color: var(--solar-gold);
  color: #111a32;
  background: var(--solar-gold-soft);
}

.solar-legacy-note {
  margin-top: 1rem;
  color: #8198b2;
  font-size: 0.7rem;
  text-align: center;
}

.solar-legacy-link {
  min-height: 44px;
  color: #b8cbe0;
  text-underline-offset: 0.2em;
}

@keyframes solar-star-drift {
  from {
    background-position: 21px 34px, 97px 18px, 46px 122px;
  }
  to {
    background-position: 36px 50px, 81px 34px, 62px 106px;
  }
}

@keyframes solar-mascot-float {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-0.55rem) rotate(1deg);
  }
}

@keyframes solar-sun-pulse {
  0%,
  100% {
    filter:
      drop-shadow(0 0 0.75rem rgba(255, 210, 62, 0.86))
      drop-shadow(0 0 1.5rem rgba(255, 132, 31, 0.5));
  }
  50% {
    filter:
      drop-shadow(0 0 1rem rgba(255, 224, 104, 0.98))
      drop-shadow(0 0 2rem rgba(255, 132, 31, 0.68));
  }
}

@keyframes solar-selected-breathe {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-0.28rem) scale(1.02);
  }
}

@media (max-width: 1040px) {
  .solar-page-nav {
    width: min(100% - 1.2rem, 84rem);
  }

  .solar-page-nav .nav-links a {
    padding-inline: 0.5rem;
    font-size: 0.75rem;
  }

  .solar-selector-experience {
    grid-template-columns: minmax(0, 1.48fr) minmax(17rem, 0.72fr);
  }

  .solar-selector-mascot figcaption {
    display: none;
  }
}

@media (max-width: 820px) {
  .solar-page-nav .brand-subtitle {
    display: none;
  }

  .solar-page-nav .nav-links {
    overflow-x: auto;
    justify-content: flex-start;
    max-width: 62%;
    scrollbar-width: none;
  }

  .solar-page-nav .nav-links::-webkit-scrollbar {
    display: none;
  }

  .solar-selector-intro {
    min-height: 10rem;
    padding-top: 1.45rem;
  }

  .solar-selector-experience {
    grid-template-columns: minmax(0, 1fr);
  }

  .solar-system-stage {
    height: clamp(23.5rem, 62vw, 31rem);
    min-height: 23.5rem;
  }

  .solar-selected-panel {
    grid-template-columns: minmax(8rem, 0.46fr) minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "visual copy"
      "cta cta"
      "controls controls";
    min-height: 0;
    padding: 1rem;
  }

  .solar-selected-visual {
    grid-area: visual;
    min-height: 9rem;
  }

  .solar-selected-copy {
    grid-area: copy;
    align-content: center;
  }

  .solar-selected-cta {
    grid-area: cta;
  }

  .solar-destination-controls {
    grid-area: controls;
  }
}

@media (max-width: 640px) {
  .solar-page-nav {
    flex-direction: row;
    align-items: center;
    gap: 0.45rem;
    min-height: 3.35rem;
    width: calc(100% - 0.8rem);
    padding-block: 0;
  }

  .solar-page-nav .brand {
    gap: 0.45rem;
  }

  .solar-page-nav .brand-mark {
    width: 2rem;
    height: 2rem;
  }

  .solar-page-nav .brand-name {
    font-size: 0.82rem;
  }

  .solar-page-nav .nav-links {
    width: auto;
    max-width: 45%;
    padding-block: 0;
  }

  .solar-page-nav .nav-links a {
    display: none;
    min-height: 44px;
    padding: 0.55rem 0.62rem;
    font-size: 0.72rem;
    white-space: nowrap;
  }

  .solar-page-nav .nav-links a:first-child,
  .solar-page-nav .nav-links a[aria-current="page"] {
    display: inline-flex;
    align-items: center;
  }

  .tankentai-solar-selector {
    padding: 0 0.5rem 2.5rem;
  }

  .solar-selector-intro {
    grid-template-columns: minmax(0, 1fr) 4.9rem;
    gap: 0.45rem;
    min-height: 7.1rem;
    padding: 0.72rem 0.35rem 0.62rem;
  }

  .solar-selector-intro-copy {
    gap: 0.28rem;
  }

  .solar-selector-eyebrow {
    font-size: 0.63rem;
  }

  .solar-selector-intro h1 {
    font-size: clamp(1.72rem, 7.6vw, 2.16rem);
    line-height: 1.12;
  }

  .solar-selector-lead {
    font-size: 0.72rem;
    line-height: 1.42;
  }

  .solar-selector-mascot img {
    width: 4.45rem;
  }

  .solar-selector-mascot::before {
    inset: 10%;
  }

  .solar-selector-experience {
    gap: 0.62rem;
  }

  .solar-stage-frame,
  .solar-selected-panel {
    border-radius: 1.1rem;
  }

  .solar-system-stage {
    height: clamp(14.4rem, 66vw, 17.2rem);
    min-height: 14.4rem;
  }

  .solar-orbit {
    border-color: rgba(132, 199, 255, 0.34);
  }

  .solar-body {
    min-width: 44px;
    min-height: 44px;
  }

  .solar-body-sun {
    --body-size: 5.2rem;
    --body-min-scale: 0.529;
  }

  .solar-body-mercury {
    --body-size: 2.75rem;
    --body-min-scale: 1;
  }

  .solar-body-venus {
    --body-size: 3rem;
    --body-min-scale: 0.917;
  }

  .solar-body-earth {
    --body-size: 3.1rem;
    --body-min-scale: 0.888;
  }

  .solar-body-moon {
    --body-size: 2.75rem;
    --body-min-scale: 1;
  }

  .solar-body-mars {
    --body-size: 2.85rem;
    --body-min-scale: 0.965;
  }

  .solar-body-jupiter {
    --body-size: 4.45rem;
    --body-min-scale: 0.619;
  }

  .solar-body-saturn {
    --body-size: 5.2rem;
    --body-min-scale: 0.529;
  }

  .solar-body-uranus {
    --body-size: 3.65rem;
    --body-min-scale: 0.754;
  }

  .solar-body-neptune {
    --body-size: 3.55rem;
    --body-min-scale: 0.775;
  }

  .solar-body-label {
    top: calc(100% + 0.08rem);
    padding: 0.12rem 0.32rem;
    font-size: 0.55rem;
  }

  .solar-body-label small,
  .earth-moon-orbit-guide span {
    display: none;
  }

  .solar-body-selected-marker {
    right: -0.45rem;
    bottom: -1.12rem;
    font-size: 0.46rem;
  }

  .solar-camera-controls {
    top: 0.42rem;
    bottom: auto;
    left: 0.42rem;
    grid-template-columns: repeat(3, auto);
    gap: 0.35rem;
    transform: none;
  }

  .solar-icon-control,
  .solar-reset-control {
    width: 44px;
    height: 44px;
  }

  .solar-reset-control {
    width: 48px;
    font-size: 0.54rem;
    white-space: nowrap;
  }

  .solar-drag-hint {
    top: 0.42rem;
    right: 0.42rem;
    bottom: auto;
    padding: 0.38rem 0.46rem;
    font-size: 0.54rem;
  }

  .solar-scale-note,
  .solar-noscript-note {
    padding-inline: 0.2rem;
    font-size: 0.62rem;
    line-height: 1.42;
  }

  .solar-selected-panel {
    grid-template-columns: 5.7rem minmax(0, 1fr);
    gap: 0.55rem 0.72rem;
    padding: 0.72rem;
  }

  .solar-selected-visual {
    min-height: 5.7rem;
  }

  .solar-selected-visual img {
    width: 5.4rem;
    height: 5.4rem;
  }

  .solar-selected-visual-orbit {
    width: 100%;
  }

  .solar-selected-copy {
    gap: 0.2rem;
  }

  .solar-selected-index {
    font-size: 0.68rem;
  }

  .solar-selected-body {
    font-size: 1.46rem;
  }

  .solar-selected-copy h2 {
    font-size: 1rem;
  }

  .solar-selected-objective {
    font-size: 0.69rem;
    line-height: 1.42;
  }

  .solar-selected-cta {
    min-height: 48px;
    padding: 0.62rem 0.75rem;
    font-size: 0.88rem;
  }

  .solar-destination-controls {
    gap: 0.5rem;
  }

  .solar-destination-controls button {
    min-height: 44px;
    font-size: 0.72rem;
  }

  .solar-destination-section {
    margin-top: 0.85rem;
    padding: 0.82rem;
    border-radius: 1rem;
  }

  .solar-destination-heading {
    display: grid;
    gap: 0.35rem;
  }

  .solar-destination-heading h2 {
    font-size: 1.25rem;
  }

  .solar-destination-heading > p {
    font-size: 0.7rem;
    text-align: left;
  }

  .solar-destination-rail ol {
    grid-auto-columns: minmax(8.6rem, 10rem);
  }

  .solar-support-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .solar-support-card {
    padding: 0.9rem;
  }
}

@media (max-width: 360px) {
  .solar-selector-intro {
    min-height: 6.7rem;
  }

  .solar-selector-intro h1 {
    font-size: 1.64rem;
  }

  .solar-selector-lead {
    font-size: 0.68rem;
  }

  .solar-system-stage {
    height: 13.85rem;
    min-height: 13.85rem;
  }

  .solar-body-label {
    font-size: 0.5rem;
  }

  .solar-drag-hint span:last-child {
    display: none;
  }

  .solar-selected-panel {
    grid-template-columns: 5.2rem minmax(0, 1fr);
  }

  .solar-selected-visual,
  .solar-selected-visual img {
    min-height: 5.1rem;
    width: 5.1rem;
    height: 5.1rem;
  }
}

@media (min-width: 700px) and (max-height: 500px) {
  .solar-page-header {
    position: static;
  }

  .solar-page-nav {
    min-height: 2.85rem;
  }

  .solar-page-nav .brand-mark {
    width: 1.9rem;
    height: 1.9rem;
  }

  .solar-page-nav .brand-name {
    font-size: 0.82rem;
  }

  .solar-page-nav .brand-subtitle {
    display: none;
  }

  .solar-page-nav .nav-links a {
    display: none;
    min-height: 40px;
  }

  .solar-page-nav .nav-links a:first-child,
  .solar-page-nav .nav-links a[aria-current="page"] {
    display: inline-flex;
    align-items: center;
  }

  .tankentai-solar-selector {
    padding-inline: 0.65rem;
  }

  .solar-selector-intro {
    grid-template-columns: minmax(0, 1fr) 3.7rem;
    gap: 0.5rem;
    min-height: 3.55rem;
    padding: 0.35rem 0.5rem;
  }

  .solar-selector-intro-copy {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.2rem 0.75rem;
    align-items: center;
  }

  .solar-selector-eyebrow {
    grid-row: 1 / span 2;
    font-size: 0.58rem;
  }

  .solar-selector-intro h1 {
    font-size: 1.5rem;
    line-height: 1.08;
  }

  .solar-selector-lead {
    font-size: 0.64rem;
    line-height: 1.25;
  }

  .solar-selector-mascot img {
    width: 3.4rem;
  }

  .solar-selector-mascot figcaption {
    display: none;
  }

  .solar-selector-experience {
    grid-template-columns: minmax(0, 1.42fr) minmax(16rem, 0.78fr);
    gap: 0.55rem;
  }

  .solar-system-stage {
    height: calc(100svh - 8.5rem);
    min-height: 15rem;
    max-height: 18rem;
  }

  .solar-body-sun {
    --body-size: 5.2rem;
    --body-min-scale: 0.529;
  }

  .solar-body-mercury {
    --body-size: 2.75rem;
    --body-min-scale: 1;
  }

  .solar-body-venus {
    --body-size: 3rem;
    --body-min-scale: 0.917;
  }

  .solar-body-earth {
    --body-size: 3.1rem;
    --body-min-scale: 0.888;
  }

  .solar-body-moon {
    --body-size: 2.75rem;
    --body-min-scale: 1;
  }

  .solar-body-mars {
    --body-size: 2.85rem;
    --body-min-scale: 0.965;
  }

  .solar-body-jupiter {
    --body-size: 4.45rem;
    --body-min-scale: 0.619;
  }

  .solar-body-saturn {
    --body-size: 5.2rem;
    --body-min-scale: 0.529;
  }

  .solar-body-uranus {
    --body-size: 3.65rem;
    --body-min-scale: 0.754;
  }

  .solar-body-neptune {
    --body-size: 3.55rem;
    --body-min-scale: 0.775;
  }

  .solar-selected-panel {
    grid-template-columns: 4.8rem minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "visual copy"
      "cta cta"
      "controls controls";
    gap: 0.35rem 0.55rem;
    min-height: 15rem;
    max-height: 18rem;
    padding: 0.55rem;
    border-radius: 1rem;
  }

  .solar-selected-visual {
    grid-area: visual;
    min-height: 4.6rem;
  }

  .solar-selected-visual img {
    width: 4.6rem;
    height: 4.6rem;
  }

  .solar-selected-copy {
    grid-area: copy;
    gap: 0.12rem;
    align-content: center;
  }

  .solar-selected-index {
    font-size: 0.58rem;
  }

  .solar-selected-body {
    font-size: 1.26rem;
  }

  .solar-selected-copy h2 {
    font-size: 0.86rem;
  }

  .solar-selected-objective {
    font-size: 0.6rem;
    line-height: 1.3;
  }

  .solar-selected-cta {
    grid-area: cta;
    min-height: 44px;
    padding: 0.45rem 0.6rem;
    font-size: 0.78rem;
  }

  .solar-destination-controls {
    grid-area: controls;
    gap: 0.35rem;
  }

  .solar-destination-controls button {
    min-height: 44px;
    padding: 0.35rem;
    font-size: 0.65rem;
  }

  .solar-camera-controls {
    top: auto;
    bottom: 0.4rem;
    grid-template-columns: repeat(3, auto);
    transform: none;
  }

  .solar-drag-hint {
    bottom: 0.4rem;
  }

  .solar-scale-note {
    font-size: 0.57rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tankentai-solar-selector::after,
  .solar-selector-mascot img,
  .solar-body-sun .solar-body-image,
  .solar-selected-visual img {
    animation: none;
  }

  .solar-body,
  .solar-selected-cta {
    scroll-behavior: auto;
    transition: none;
  }
}
