:root {
  color-scheme: dark;
  /* One control size for the whole page: every button, chip, tab and switch is
     44px tall (icon buttons are 44px circles), every single-line input 48px. */
  --control: 44px;
  --field: 48px;
  --control-font: .875rem;
  --control-icon: 20px;
  --text-small: .75rem;
  font-family: ui-rounded, "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  background: #050a11;
  color: #e9f6f7;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: #02050a;
}

.is-embedded body { overflow: hidden; }
.is-embedded .globe-prototype { width: 100%; padding: 0; grid-template-rows: minmax(0, 1fr); }
.is-embedded .prototype-header { display: none; }
.is-embedded .globe-stage { min-height: 100dvh; border: 0; border-radius: 0; box-shadow: none; }

.globe-prototype {
  width: min(100%, 1280px);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: clamp(18px, 4vw, 48px);
  display: grid;
  grid-template-rows: auto minmax(420px, 1fr);
  gap: 20px;
}

.prototype-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.eyebrow {
  margin: 0 0 6px;
  color: #7ccfe0;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 650;
  letter-spacing: -.03em;
}

.load-status, .lod-status {
  margin: 0;
  color: #9ab8bf;
  font-size: .82rem;
}

.load-status:empty,
.lod-status:empty { display: none; }

.globe-stage {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  contain: layout paint;
  border: 1px solid rgba(140, 210, 226, .16);
  border-radius: 28px;
  isolation: isolate;
  background-color: #02050a;
  transition: none;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .28), inset 0 1px rgba(255,255,255,.04);
}

.globe-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, transparent 0 34%, rgba(0, 0, 0, .18) 72%, rgba(0, 0, 0, .62));
}

#globeCanvas {
  /* Out of flow: the canvas backing store (width/height attributes, scaled by the
     device pixel ratio) must never feed back into the stage's layout size. */
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: grab;
  outline: none;
}

#globeCanvas:active { cursor: grabbing; }
#globeCanvas:focus-visible { box-shadow: inset 0 0 0 2px #f4d45d; }

button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: var(--control);
  height: var(--control);
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: #e9f6f7;
  background: transparent;
  font: inherit;
  font-size: var(--control-font);
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
}

button:hover, button:focus-visible { background: rgba(132, 211, 225, .18); }
button:focus-visible { outline: 2px solid #f4d45d; outline-offset: 2px; }
button > img { display: block; flex: none; width: var(--control-icon); height: var(--control-icon); filter: brightness(0) invert(1); pointer-events: none; }

.selection-panel {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 3;
  max-width: calc(100% - 36px);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 6px 6px 16px;
  border: 1px solid rgba(140, 210, 226, .18);
  border-radius: 999px;
  background: rgba(9, 22, 32, .78);
  backdrop-filter: blur(10px);
}

.selection-panel[hidden] { display: none; }

.selection-label { color: #7ccfe0; font-size: .75rem; letter-spacing: .08em; }
.selection-panel code { color: #f4d45d; font-size: .8rem; }
.selection-panel strong { color: #f4d45d; font-size: .9375rem; font-weight: 650; }
.selection-panel span:not(.selection-label):not(.lod-status) { color: #b9d1d5; font-size: .8125rem; }
.lod-status { margin-left: auto; }

@media (max-width: 680px) {
  .globe-prototype { padding: 16px; grid-template-rows: auto minmax(390px, 1fr); }
  .prototype-header { align-items: start; flex-direction: column; gap: 8px; }
  .globe-stage { min-height: 390px; }
  .selection-panel { left: 12px; bottom: 72px; max-width: calc(100% - 24px); }
  .lod-status { width: 100%; margin-left: 0; }
}

@media (max-width: 680px) {
  .is-embedded .globe-prototype { padding: 0; grid-template-rows: minmax(0, 1fr); }
  .is-embedded .globe-stage { min-height: 100dvh; }
  .is-embedded .selection-panel { bottom: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}

/* ---- Gesture hint (the globe has no zoom/rotate buttons) ------------------ */
.gesture-hint {
  position: absolute; left: 50%; bottom: 82px; z-index: 3; transform: translateX(-50%);
  display: flex; gap: 6px; margin: 0; padding: 0; pointer-events: none; white-space: nowrap;
  animation: hint-in .4s ease both .6s;
}
.gesture-hint[hidden] { display: none; }
.gesture-hint span { padding: 6px 11px; border-radius: 999px; background: rgba(4, 12, 20, .72); border: 1px solid rgba(181, 226, 232, .18); color: #cfe6ea; font-size: .74rem; backdrop-filter: blur(8px); }
.gesture-hint.is-leaving { opacity: 0; transition: opacity .25s; }
@keyframes hint-in { from { opacity: 0; transform: translate(-50%, 6px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (max-width: 480px) { .gesture-hint { flex-direction: column; align-items: center; bottom: 70px; } }
.globe-stage.is-scope .gesture-hint, .globe-stage.has-sheet .gesture-hint { display: none; }

/* ---- Time, Sun/Moon and telescope ---------------------------------------- */
:root { --spring: cubic-bezier(.2, .9, .25, 1.08); --ease-out: cubic-bezier(.2, .8, .2, 1); }
.time-capsule, .sky-hud, .scope-hud { -webkit-tap-highlight-color: transparent; color: #d5e8eb; font-size: .8rem; }
.time-capsule *, .scope-hud * { box-sizing: border-box; min-width: 0; }
.time-capsule img, .scope-hud img, .sky-mark img { display: block; width: 20px; height: 20px; filter: brightness(0) invert(1); pointer-events: none; }

/* time capsule: always a small pill; drag sideways to scrub, tap to fold out the drawer */
.time-capsule {
  position: absolute; top: 14px; left: 14px; z-index: 6; width: min(340px, calc(100% - 28px));
  display: grid; justify-items: start; pointer-events: none;
}
.tc-bar {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 4px 4px 4px; pointer-events: auto;
  border: 1px solid rgba(181, 226, 232, .2); border-radius: 999px; background: rgba(4, 12, 20, .72); backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .3); transition: border-color .2s, background .2s;
}
.time-capsule.is-open .tc-bar { border-color: rgba(244, 212, 93, .45); background: rgba(6, 15, 24, .9); }
.time-capsule .tc-play {
  display: grid; place-items: center; width: var(--control); height: var(--control); border-radius: 50%; background: #f4d45d;
  transition: transform .18s var(--spring), background .15s;
}
.time-capsule .tc-play:hover, .time-capsule .tc-play:focus-visible { background: #ffe37d; }
.time-capsule .tc-play:active { transform: scale(.9); }
.time-capsule .tc-play img { width: var(--control-icon); height: var(--control-icon); filter: none; animation: icon-swap .22s var(--spring); }
@keyframes icon-swap { from { transform: scale(.4) rotate(-40deg); opacity: 0; } }
.time-capsule.is-playing .tc-play { box-shadow: 0 0 0 0 rgba(244, 212, 93, .5); animation: play-ring 1.8s ease-out infinite; }
@keyframes play-ring { 0% { box-shadow: 0 0 0 0 rgba(244, 212, 93, .45); } 100% { box-shadow: 0 0 0 10px rgba(244, 212, 93, 0); } }
.tc-face {
  display: grid; align-content: center; gap: 0; min-height: var(--control); padding: 0 10px 0 4px; border-radius: 12px; cursor: ew-resize; touch-action: none; user-select: none; outline: none;
}
.tc-face:focus-visible { box-shadow: 0 0 0 2px #f4d45d; }
.tc-clock { color: #fff; font-size: 1.12rem; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.tc-sub { display: flex; gap: 6px; align-items: baseline; }
.tc-date { color: #9ab8bf; font-size: var(--text-small); font-variant-numeric: tabular-nums; }
.tc-speed { color: #ffe89a; font-size: var(--text-small); font-weight: 700; }
.tc-speed:empty { display: none; }
.time-capsule .tc-now {
  width: auto; height: var(--control); padding: 0 16px; border: 1px solid rgba(124, 207, 224, .4); border-radius: 999px; color: #7ccfe0; font-size: var(--control-font);
  animation: pop-in .25s var(--spring);
}
.time-capsule .tc-now[hidden] { display: none; }
@keyframes pop-in { from { transform: scale(.6); opacity: 0; } }

.tc-drawer { width: 100%; display: grid; grid-template-rows: 0fr; margin-top: 8px; transition: grid-template-rows .3s var(--ease-out); pointer-events: auto; }
.time-capsule.is-open .tc-drawer { grid-template-rows: 1fr; }
.tc-drawer__inner {
  overflow: hidden; display: grid; gap: 10px; padding: 0 12px; border-radius: 20px;
  background: rgba(6, 15, 24, .9); backdrop-filter: blur(14px); border: 1px solid transparent;
  opacity: 0; transform: translateY(-8px) scale(.97); transform-origin: top left;
  transition: opacity .2s, transform .3s var(--spring), padding .3s var(--ease-out), border-color .3s;
}
.time-capsule.is-open .tc-drawer__inner { padding: 12px; opacity: 1; transform: none; border-color: rgba(140, 210, 226, .16); box-shadow: 0 18px 50px rgba(0, 0, 0, .45); }
.time-capsule:not(.is-open) .tc-drawer { visibility: hidden; transition: grid-template-rows .3s var(--ease-out), visibility 0s .3s; }

.tc-picker {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; height: var(--field); padding: 0 14px;
  border: 1px solid rgba(140, 210, 226, .22); border-radius: 14px; background: rgba(2, 8, 14, .6);
  color: #f2fbfc; font-size: .9375rem; font-variant-numeric: tabular-nums; cursor: pointer; transition: border-color .15s;
}
.tc-picker:hover, .tc-picker:focus-within { border-color: rgba(244, 212, 93, .6); }
.tc-picker::after { content: "変更"; color: #7ccfe0; font-size: var(--control-font); }
.tc-picker__input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; border: 0; padding: 0; cursor: pointer; color-scheme: dark; }

.tc-tape { position: relative; height: var(--field); border-radius: 14px; background: linear-gradient(rgba(140, 210, 226, .03), rgba(140, 210, 226, .09)); border: 1px solid rgba(140, 210, 226, .14); touch-action: none; cursor: ew-resize; overflow: hidden; user-select: none; }
.tc-tape:focus-visible { outline: 2px solid #f4d45d; outline-offset: 2px; }
.tc-tape__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.tc-tape::before, .tc-tape::after { content: ""; position: absolute; top: 0; bottom: 0; width: 28px; z-index: 1; pointer-events: none; }
.tc-tape::before { left: 0; background: linear-gradient(90deg, rgba(6, 15, 24, .95), transparent); }
.tc-tape::after { right: 0; background: linear-gradient(270deg, rgba(6, 15, 24, .95), transparent); }
.tc-tape__needle { position: absolute; left: 50%; top: 4px; bottom: 0; width: 2px; margin-left: -1px; z-index: 2; border-radius: 2px; background: #f4d45d; box-shadow: 0 0 10px rgba(244, 212, 93, .6); pointer-events: none; }

.tc-speeds { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; height: var(--control); padding: 3px; border-radius: 999px; background: rgba(140, 210, 226, .08); }
.tc-speeds label { position: relative; cursor: pointer; }
.tc-speeds input { position: absolute; opacity: 0; pointer-events: none; }
.tc-speeds label { display: grid; }
.tc-speeds span { display: grid; place-items: center; height: 100%; padding: 0 2px; border-radius: 999px; color: #9ab8bf; font-size: .8125rem; text-align: center; white-space: nowrap; transition: background .2s, color .2s; }
.tc-speeds input:checked + span { background: rgba(244, 212, 93, .2); color: #ffe89a; }
.tc-speeds input:focus-visible + span { outline: 2px solid #f4d45d; outline-offset: 1px; }

.tc-eclipses { position: relative; overflow: hidden; border-radius: 14px; touch-action: pan-y; user-select: none; }
.tc-eclipses:focus-within { outline: 2px solid rgba(244, 212, 93, .6); outline-offset: 2px; }
.tc-eclipses__track { display: flex; transition: transform .34s var(--spring); will-change: transform; }
.tc-eclipse {
  position: relative; flex: 0 0 100%; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-content: center; align-items: baseline;
  min-height: 64px; padding: 10px 40px 10px 14px; border: 1px solid rgba(140, 210, 226, .14); border-radius: 14px; background: rgba(140, 210, 226, .05); cursor: pointer; outline: none;
}
.tc-eclipse.is-active { border-color: #f4d45d; background: rgba(244, 212, 93, .08); }
.tc-eclipse__kind { grid-row: 1; color: #7ccfe0; font-size: var(--text-small); }
.tc-eclipse.is-total .tc-eclipse__kind { color: #f4d45d; }
.tc-eclipse.is-annular .tc-eclipse__kind { color: #f0b26b; }
.tc-eclipse strong { grid-row: 1; color: #f2fbfc; font-size: .95rem; font-variant-numeric: tabular-nums; }
.tc-eclipse small { grid-column: 1 / -1; color: #ffe89a; font-size: var(--text-small); }
.tc-eclipse__go { position: absolute; right: 14px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-top: 2px solid rgba(233, 246, 247, .5); border-right: 2px solid rgba(233, 246, 247, .5); transform: rotate(45deg); }
.tc-eclipses__count { position: absolute; right: 40px; top: 10px; color: #789aa2; font-size: var(--text-small); font-variant-numeric: tabular-nums; pointer-events: none; }
.tc-foot { margin: 0; color: #789aa2; font-size: var(--text-small); line-height: 1.4; }

/* Sun and Moon markers on the view: a label under the body, or an edge arrow toward it */
.sky-hud { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
.sky-mark {
  position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 6px; width: auto; height: var(--control); padding: 0 16px 0 12px;
  border: 1px solid rgba(244, 212, 93, .35); border-radius: 999px; background: rgba(4, 12, 20, .62); backdrop-filter: blur(8px);
  color: #ffe89a; font-size: var(--control-font); white-space: nowrap; pointer-events: auto; translate: -50% -50%;
  transition: opacity .25s, border-color .2s, background .2s; animation: pop-in .3s var(--spring);
}
.sky-mark[hidden] { display: none; }
.sky-mark.is-moon { border-color: rgba(200, 220, 230, .35); color: #e6f0f2; }
.sky-mark img { width: 16px; height: 16px; }
.sky-mark.is-onscreen { translate: -50% 0; padding: 0 16px; background: rgba(4, 12, 20, .38); border-color: transparent; }
.sky-mark.is-onscreen img { display: none; }
.sky-mark.is-onscreen .sky-mark__arrow { display: none; }
.sky-mark.is-dim { opacity: .55; }
.sky-mark.is-tracking { border-color: #f4d45d; background: rgba(244, 212, 93, .16); }
.sky-mark__arrow { display: none; }
.sky-mark.is-edge .sky-mark__arrow {
  display: block; position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none;
  rotate: var(--angle, 0rad);
}
.sky-mark.is-edge .sky-mark__arrow::before {
  content: ""; position: absolute; left: var(--reach, 40px); top: -6px; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent;
  filter: drop-shadow(0 0 3px rgba(0, 0, 0, .6)); animation: nudge 1.6s ease-in-out infinite;
}
@keyframes nudge { 50% { transform: translateX(3px); } }
.sky-mark:hover, .sky-mark:focus-visible { background: rgba(12, 28, 40, .85); }
.globe-stage.has-sheet .sky-hud, .globe-stage.is-composing .sky-hud { display: none; }

/* telescope: the view is the whole stage, the HUD only overlays it */
.scope-canvas { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; display: block; touch-action: none; cursor: crosshair; outline: none; background: #000; animation: scope-in .35s var(--ease-out); }
.scope-canvas[hidden], .scope-hud[hidden] { display: none; }
@keyframes scope-in { from { opacity: 0; transform: scale(1.06); } }
.scope-hud { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.scope-hud > * { pointer-events: auto; }
.scope-hud .scope-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: var(--control); height: var(--control); border-radius: 50%; background: rgba(4, 12, 20, .7); border: 1px solid rgba(181, 226, 232, .2); backdrop-filter: blur(10px); }
.scope-fov {
  position: absolute; top: 72px; left: 50%; translate: -50% 0; padding: 5px 12px; border-radius: 999px; background: rgba(4, 12, 20, .55);
  color: #f4d45d; font-size: var(--control-font); font-weight: 700; font-variant-numeric: tabular-nums; opacity: .6; pointer-events: none;
  transition: opacity .3s, transform .3s var(--spring);
}
.scope-fov.is-live { opacity: 1; transform: scale(1.08); }
.scope-dock {
  position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 8px; padding: 36px 14px 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .72) 45%); pointer-events: none;
}
.scope-dock > * { pointer-events: auto; }
.scope-status { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0; color: #b9d1d5; font-size: .8125rem; font-variant-numeric: tabular-nums; }
.scope-eclipse { color: #ffe89a; }
.scope-eclipse:empty { display: none; }
.scope-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.scope-hud .scope-chips .scope-filter { grid-column: 1 / -1; justify-content: space-between; padding: 0 12px 0 18px; }
.scope-hud .scope-chip {
  display: inline-flex; align-items: center; justify-content: flex-start; gap: 8px; width: 100%; height: var(--control); padding: 0 16px 0 12px;
  border: 1px solid rgba(181, 226, 232, .22); border-radius: 999px; background: rgba(4, 12, 20, .6); font-size: var(--control-font); font-variant-numeric: tabular-nums;
  transition: background .15s, border-color .15s, transform .12s;
}
.scope-hud .scope-chip:active { transform: scale(.95); }
.scope-hud .scope-chip:disabled { opacity: .45; cursor: default; }
.scope-hud .scope-chip img { width: var(--control-icon); height: var(--control-icon); }
.scope-chip.is-set img { opacity: .6; }
.scope-filter i { order: 2; flex: none; width: 40px; height: 24px; border-radius: 999px; background: rgba(140, 210, 226, .25); position: relative; transition: background .15s; }
.scope-filter i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #e9f6f7; transition: transform .2s var(--spring); }
.scope-filter[aria-pressed="true"] { border-color: rgba(244, 212, 93, .55); }
.scope-filter[aria-pressed="true"] i { background: #f4d45d; }
.scope-filter[aria-pressed="true"] i::after { transform: translateX(16px); background: #1b1500; }
.scope-warning { margin: 0; color: #f0b26b; font-size: var(--text-small); line-height: 1.4; }
.globe-stage.is-scope .selection-panel { display: none; }

@media (max-width: 680px) {
  .time-capsule { top: 10px; left: 10px; width: calc(100% - 20px); }
  .scope-hud .scope-close { top: 10px; right: 10px; }
  .scope-fov { top: 66px; }
}
@media (prefers-reduced-motion: reduce) {
  .tc-drawer, .tc-drawer__inner, .tc-eclipses__track, .sky-mark, .sky-mark__arrow::before, .scope-canvas, .time-capsule .tc-play, .time-capsule .tc-play img { transition: none !important; animation: none !important; }
}

/* ---- Posting: pins, composer, viewer, gallery ------------------------------------------------ */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.prototype-header { align-items: center; }
.account { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: #b9d1d5; }
.account__name { max-width: 12em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #e9f6f7; }
.account__button { width: auto; height: var(--control); padding: 0 18px; border: 1px solid rgba(140, 210, 226, .28); border-radius: 999px; }
.account__button--primary { border-color: rgba(244, 212, 93, .55); color: #f4d45d; }
.load-status:empty + .account { margin-left: auto; }

.selection-panel[data-suppressed] { display: none; }
.selection-panel .place-here { flex: none; width: var(--control); height: var(--control); border-radius: 50%; background: #f4d45d; }
.selection-panel .place-here img { filter: none; }
.selection-panel .place-here:hover, .selection-panel .place-here:focus-visible { background: #ffe37d; }

.pin-layer { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.globe-stage.is-scope .pin-layer, .globe-stage.is-scope .post-dock, .globe-stage.is-scope .place-hint, .globe-stage.is-scope .sheet { display: none; }

.pin {
  --size: 30px; --fade: 1;
  position: absolute; left: 0; top: 0; width: var(--size); height: var(--size); margin: calc(var(--size) / -2) 0 0 calc(var(--size) / -2);
  padding: 0; border: 2px solid #fff6d6; border-radius: 30%; background: #0c1620; opacity: var(--fade);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .5); pointer-events: auto; cursor: pointer;
  transition: opacity .18s ease; will-change: transform;
}
.pin[hidden] { display: none; }
.pin:hover, .pin:focus-visible, .pin.is-selected { z-index: 3; border-color: #f4d45d; box-shadow: 0 0 0 3px rgba(244, 212, 93, .45), 0 4px 14px rgba(0, 0, 0, .6); background: #0c1620; }
.pin.is-mine { border-color: #7ccfe0; }
.pin__art { display: block; width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; border-radius: 22%; }
.pin__count { position: absolute; right: -8px; top: -8px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #f4d45d; color: #1b1500; font-size: .68rem; font-weight: 800; line-height: 18px; text-align: center; }
.pin__count[hidden] { display: none; }
.pin__label { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); max-width: 200px; padding: 4px 9px; border-radius: 8px; background: rgba(6, 15, 24, .92); color: #f6fbfb; font-size: .74rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; pointer-events: none; transition: opacity .12s; }
.pin:hover .pin__label, .pin:focus-visible .pin__label, .pin.is-selected .pin__label { opacity: 1; }
.pin.is-pop { animation: pin-pop .7s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes pin-pop { 0% { scale: 0; } 60% { scale: 1.35; } 100% { scale: 1; } }

.pin-draft { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: none; will-change: transform; }
.pin-draft[hidden] { display: none; }
.pin-draft__dot { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: #f4d45d; border: 2px solid #1b1500; box-shadow: 0 0 0 2px #f4d45d; }
.pin-draft__ring { position: absolute; left: -20px; top: -20px; width: 40px; height: 40px; border-radius: 50%; border: 2px solid #f4d45d; animation: draft-ring 1.6s ease-out infinite; }
@keyframes draft-ring { 0% { transform: scale(.35); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }

.post-dock { position: absolute; left: 50%; bottom: 18px; z-index: 3; display: flex; gap: 8px; transform: translateX(-50%); }
.post-dock[hidden] { display: none !important; }
.post-dock button, .post-dock .post-fab { width: auto; height: var(--control); }
.post-fab { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 0 20px 0 12px; border-radius: 999px; background: #f4d45d; color: #1b1500; font-size: var(--control-font); font-weight: 800; box-shadow: 0 6px 22px rgba(244, 212, 93, .28), 0 2px 8px rgba(0, 0, 0, .5); }
.post-fab:hover, .post-fab:focus-visible { background: #ffe37d; }
.post-fab__icon { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: #1b1500; color: #f4d45d; font-size: 1rem; line-height: 1; }
.post-fab__draft { position: absolute; right: 4px; top: 2px; width: 10px; height: 10px; border-radius: 50%; background: #ff5d73; border: 2px solid #f4d45d; }
.post-fab__draft[hidden] { display: none; }
.post-dock__secondary { display: inline-flex; align-items: center; gap: 8px; padding: 0 18px 0 14px; border: 1px solid rgba(181, 226, 232, .25); border-radius: 999px; background: rgba(4, 12, 20, .78); backdrop-filter: blur(10px); font-size: .82rem; }
.post-dock__count { color: #f4d45d; font-variant-numeric: tabular-nums; font-weight: 700; }
.globe-stage.has-sheet .post-dock { left: 18px; transform: none; }
.globe-stage.has-sheet .post-fab__label { display: none; }
.globe-stage.has-sheet .post-fab { padding: 0 10px; }
.globe-stage.has-sheet .selection-panel { display: none; }

.place-hint { position: absolute; left: 50%; top: 14px; z-index: 3; transform: translateX(-50%); padding: 8px 16px; border: 1px solid rgba(244, 212, 93, .5); border-radius: 999px; background: rgba(27, 21, 0, .82); color: #ffe89a; font-size: .8rem; backdrop-filter: blur(8px); pointer-events: none; white-space: nowrap; }
.place-hint[hidden] { display: none; }
.globe-stage.is-dropping::before { content: "ドロップして置く"; position: absolute; inset: 10px; z-index: 8; display: grid; place-items: center; border: 2px dashed #f4d45d; border-radius: 22px; background: rgba(4, 10, 18, .72); color: #f4d45d; font-size: 1.2rem; font-weight: 700; pointer-events: none; }

.post-toast { position: absolute; left: 50%; top: 56px; z-index: 9; transform: translate(-50%, -8px); padding: 9px 16px; border-radius: 12px; background: rgba(6, 15, 24, .94); border: 1px solid rgba(140, 210, 226, .3); font-size: .82rem; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-width: calc(100% - 32px); }
.post-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* sheets (composer / viewer / gallery) */
.sheet { position: absolute; top: 14px; right: 14px; bottom: 14px; z-index: 6; width: min(372px, calc(100% - 28px)); display: flex; flex-direction: column; overflow: hidden auto; padding: 14px 16px 0; border: 1px solid rgba(140, 210, 226, .22); border-radius: 20px; background: rgba(6, 14, 22, .93); backdrop-filter: blur(14px); box-shadow: 0 20px 60px rgba(0, 0, 0, .5); color: #dcecef; font-size: .84rem; }
.sheet[hidden], .post-modal[hidden] { display: none; }
.sheet * { min-width: 0; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.sheet__head h2 { margin: 0; font-size: 1.05rem; letter-spacing: 0; }
.sheet .sheet__close { width: var(--control); height: var(--control); margin-right: -6px; border-radius: 50%; background: rgba(140, 210, 226, .08); }
.sheet button { font-size: var(--control-font); }
.sheet .primary, .post-modal .primary { width: auto; height: var(--control); padding: 0 24px; border-radius: 999px; background: #f4d45d; color: #1b1500; font-weight: 800; }
.sheet .primary:hover:not(:disabled), .post-modal .primary:hover { background: #ffe37d; }
.sheet .primary:disabled { background: rgba(244, 212, 93, .18); color: rgba(233, 246, 247, .45); cursor: not-allowed; }
.sheet .ghost { width: auto; height: var(--control); padding: 0 18px; border: 1px solid rgba(140, 210, 226, .28); border-radius: 999px; }
.sheet .danger { width: auto; height: var(--control); padding: 0 18px; border: 1px solid rgba(255, 107, 129, .5); border-radius: 999px; color: #ff8fa3; }
.sheet .danger[data-armed="1"] { background: #ff5d73; color: #2b0008; }
.sheet .link { width: auto; height: var(--control); padding: 0 12px; margin-right: -12px; color: #7ccfe0; text-decoration: underline; text-underline-offset: 3px; }

.steps { display: flex; gap: 6px; margin: 0 0 12px; padding: 0; list-style: none; }
.steps li { flex: 1; display: flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(140, 210, 226, .07); color: #8fb1b8; font-size: var(--text-small); transition: background .2s, color .2s; }
.steps b { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: rgba(140, 210, 226, .18); font-size: .68rem; }
.steps li.is-done { background: rgba(244, 212, 93, .14); color: #ffe89a; }
.steps li.is-done b { background: #f4d45d; color: #1b1500; }
.steps li.is-done b::before { content: "✓"; }
.steps li.is-done b { font-size: 0; }
.steps li.is-done b::before { font-size: .7rem; }

.composer__form { display: flex; flex-direction: column; flex: 1; gap: 14px; }
.field { display: grid; gap: 8px; }
.field h3 { margin: 0; font-size: .8125rem; color: #8ad4e4; letter-spacing: .04em; }
.field h3 em { margin-left: 6px; font-style: normal; font-size: var(--text-small); color: #f4d45d; }
.field input[type="text"], .field textarea, .post-modal__card input {
  display: block; width: 100%; height: var(--field); padding: 0 16px; border: 1px solid rgba(140, 210, 226, .22); border-radius: 14px;
  background: rgba(2, 8, 14, .6); color: #f2fbfc; font: inherit; font-size: 1rem; /* 16px keeps iOS from zooming on focus */
  transition: border-color .15s, background .15s; resize: none;
}
.field textarea { height: auto; min-height: 88px; padding: 12px 16px; line-height: 1.5; }
.field input[type="text"]::placeholder, .field textarea::placeholder, .post-modal__card input::placeholder { color: #5f7f87; }
.field input[type="text"]:hover, .field textarea:hover, .post-modal__card input:hover { border-color: rgba(140, 210, 226, .4); }
.field input[type="text"]:focus, .field textarea:focus, .post-modal__card input:focus { border-color: #f4d45d; background: rgba(2, 8, 14, .85); outline: none; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid #f4d45d; outline-offset: 1px; }
.field__row { display: flex; justify-content: space-between; margin-top: -4px; padding: 0 4px; color: #789aa2; font-size: var(--text-small); }
.field__error { margin: 0; min-height: 0; color: #ff8fa3; font-size: .78rem; line-height: 1.5; }
.field__error:empty { display: none; }

.drop { display: grid; justify-items: center; gap: 4px; padding: 20px 12px; border: 2px dashed rgba(244, 212, 93, .45); border-radius: 16px; background: rgba(244, 212, 93, .04); text-align: center; cursor: pointer; transition: background .15s, border-color .15s; }
.drop:hover, .drop:focus-visible { background: rgba(244, 212, 93, .1); border-color: #f4d45d; outline: none; }
.drop[hidden] { display: none; }
.drop strong { color: #ffe89a; font-size: .95rem; }
.drop small { color: #789aa2; font-size: .7rem; line-height: 1.5; }
.drop__pixels { display: grid; grid-template-columns: repeat(3, 8px); gap: 2px; margin-bottom: 4px; }
.drop__pixels i { width: 8px; height: 8px; background: #f4d45d; opacity: .25; }
.drop__pixels i:nth-child(2n) { opacity: .6; } .drop__pixels i:nth-child(5) { opacity: 1; background: #ff6b81; }

.art[hidden] { display: none; }
.art__stage { display: grid; place-items: center; min-height: 180px; padding: 14px; border-radius: 16px; background-color: #0b141d; background-image: linear-gradient(45deg, #142230 25%, transparent 25%, transparent 75%, #142230 75%), linear-gradient(45deg, #142230 25%, transparent 25%, transparent 75%, #142230 75%); background-size: 16px 16px; background-position: 0 0, 8px 8px; }
.art__stage img, .viewer__art img, .done__art img { image-rendering: pixelated; display: block; max-width: 100%; }
.art__meta { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; color: #9ab8bf; font-size: .76rem; }

.place { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid rgba(140, 210, 226, .2); border-radius: 14px; background: rgba(140, 210, 226, .05); }
.place.is-set { border-color: rgba(244, 212, 93, .55); background: rgba(244, 212, 93, .07); }
.place__icon { flex: none; width: 30px; height: 30px; border-radius: 50% 50% 50% 0; rotate: -45deg; background: rgba(140, 210, 226, .3); position: relative; }
.place.is-set .place__icon { background: #f4d45d; }
.place__icon::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: #06101a; }
.place__text { display: grid; gap: 2px; }
.place__text strong { color: #f2fbfc; font-size: .92rem; font-variant-numeric: tabular-nums; }
.place__text span { color: #9ab8bf; font-size: .74rem; }
.smart { display: grid; gap: 6px; font-size: .8125rem; color: #9ab8bf; }
.smart input[type="text"] { font-size: .9375rem; }
.smart__status { margin: 0; font-size: .76rem; line-height: 1.5; color: #9ab8bf; }
.smart__status:empty { display: none; }
.smart__status[data-state="ok"] { color: #8fe3a8; }
.smart__status[data-state="error"] { color: #ff9aa9; }
.place__actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; }
.sheet .chip { width: 100%; height: var(--control); padding: 0 16px; border: 1px solid rgba(140, 210, 226, .28); border-radius: 999px; }
.howto { font-size: .76rem; color: #9ab8bf; }
.howto summary { display: flex; align-items: center; min-height: var(--control); cursor: pointer; color: #7ccfe0; font-size: .8125rem; }
.howto ol { margin: 8px 0 0; padding-left: 1.3em; line-height: 1.6; }
.note { margin: 0; color: #789aa2; font-size: .72rem; line-height: 1.55; }
.note b { color: #b9d1d5; }

.composer__foot { position: sticky; bottom: 0; margin: auto -16px 0; padding: 12px 16px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(140, 210, 226, .14); background: linear-gradient(rgba(6, 14, 22, .96), rgba(6, 14, 22, 1)); }
.composer__foot p { margin: 0; color: #9ab8bf; font-size: .78rem; }
.composer__done { display: grid; justify-items: center; gap: 10px; padding: 24px 6px; text-align: center; }
.composer__done[hidden], .composer__form[hidden] { display: none; }
.composer__done h3 { margin: 4px 0 0; font-size: 1.15rem; color: #ffe89a; }
.composer__done p { margin: 0; color: #b9d1d5; line-height: 1.6; }
.done__art { padding: 14px; border-radius: 16px; background: #0b141d; animation: pin-pop .6s cubic-bezier(.2, 1.5, .4, 1); }
.done__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 8px; }

.viewer__art { display: grid; place-items: center; min-height: 200px; padding: 16px; border-radius: 16px; background-color: #0b141d; background-image: linear-gradient(45deg, #142230 25%, transparent 25%, transparent 75%, #142230 75%), linear-gradient(45deg, #142230 25%, transparent 25%, transparent 75%, #142230 75%); background-size: 16px 16px; background-position: 0 0, 8px 8px; }
.viewer__title { margin: 14px 0 4px; font-size: 1.15rem; color: #fff; overflow-wrap: anywhere; }
.viewer__caption { margin: 0 0 8px; color: #b9d1d5; line-height: 1.6; overflow-wrap: anywhere; }
.viewer__caption[hidden] { display: none; }
.viewer__facts { display: grid; gap: 8px; margin: 8px 0 14px; }
.viewer__facts div { display: grid; grid-template-columns: 3.5em 1fr; gap: 8px; }
.viewer__facts dt { color: #789aa2; }
.viewer__facts dd { margin: 0; color: #dcecef; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.viewer__facts a { display: inline-block; margin-left: 4px; color: #7ccfe0; }
.viewer__actions { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 14px; margin-top: auto; }
.viewer__actions [data-v-focus] { flex: 1; }

.tabs { display: flex; gap: 4px; height: var(--control); padding: 3px; margin-bottom: 12px; border-radius: 999px; background: rgba(140, 210, 226, .08); }
.tabs button { flex: 1; width: auto; height: 100%; border-radius: 999px; color: #9ab8bf; }
.tabs button[aria-selected="true"] { background: rgba(244, 212, 93, .18); color: #ffe89a; }
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding-bottom: 14px; }
.tile { display: grid; gap: 4px; width: auto; height: auto; padding: 6px; border: 1px solid rgba(140, 210, 226, .14); border-radius: 12px; background: rgba(140, 210, 226, .05); text-align: center; }
.tile:hover, .tile:focus-visible { border-color: #f4d45d; background: rgba(244, 212, 93, .08); }
.tile__art { display: grid; place-items: center; aspect-ratio: 1; }
.tile__art img { width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; }
.tile__title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #b9d1d5; font-size: .68rem; }
.gallery__empty { color: #9ab8bf; line-height: 1.6; }
.gallery__empty[hidden] { display: none; }

.post-modal { position: absolute; inset: 0; z-index: 10; display: grid; place-items: center; }
.post-modal__backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; background: rgba(2, 5, 10, .68); backdrop-filter: blur(4px); }
.post-modal__card { position: relative; display: grid; gap: 12px; width: min(360px, calc(100% - 32px)); padding: 22px; border: 1px solid rgba(140, 210, 226, .28); border-radius: 20px; background: #08121b; box-shadow: 0 24px 70px rgba(0, 0, 0, .6); }
.post-modal__card h2 { margin: 0; font-size: 1.15rem; }
.post-modal__card p { margin: 0; color: #b9d1d5; line-height: 1.6; font-size: .84rem; }
.post-modal__card label { display: grid; gap: 6px; color: #9ab8bf; font-size: .8125rem; }
.post-modal .post-modal__demo { color: #789aa2; font-size: .72rem; }
.post-modal .field__error { color: #ff9aa9; }

@media (max-width: 680px) {
  .post-dock { bottom: 12px; }
  .post-fab__label { display: none; }
  .post-fab { padding: 0 12px; }
  .globe-stage.has-sheet .post-dock { display: none; }
  .sheet { top: auto; left: 8px; right: 8px; bottom: 8px; width: auto; max-height: 72%; border-radius: 18px; }
  .place-hint { top: 8px; font-size: .74rem; }
  .gallery__grid { grid-template-columns: repeat(4, 1fr); }
  .globe-stage.is-composing .time-capsule { display: none; }
  .account__name { max-width: 7em; }
}

.sheet > * { flex-shrink: 0; }
.peek-bar { display: none; }
.peek-bar[hidden] { display: none; }
.chip--globe { display: none; }
.composer.is-peek { max-height: none; }
@media (max-width: 680px) {
  .chip--globe { display: inline-block; }
  .composer { max-height: 62%; }
  .composer.is-peek { top: auto; }
  .composer.is-peek > :not(.peek-bar) { display: none; }
  .composer.is-peek { padding: 10px 12px; }
  .peek-bar:not([hidden]) { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #ffe89a; font-size: .84rem; }
  .peek-bar .primary { height: var(--control); padding: 0 20px; }
}
.globe-stage.is-composing .pin { pointer-events: none; }
.post-fab__icon, .post-dock__secondary img { width: 24px; height: 24px; filter: brightness(0) invert(1); }

.camera-link { display: inline-flex; align-items: center; justify-self: stretch; justify-content: center; height: var(--control); padding: 0 18px; border: 1px solid rgba(124, 207, 224, .4); border-radius: 999px; color: #7ccfe0; font-size: var(--control-font); text-decoration: none; }
.camera-link:hover { background: rgba(124, 207, 224, .12); }
.field:has([data-art]:not([hidden])) .camera-link { display: none; }

/* Viewer arrows are icon buttons like every other one; the full-width actions fill the row. */
.viewer__actions [data-v-prev], .viewer__actions [data-v-next] { width: var(--control); padding: 0; font-size: 1.1rem; }
.post-modal__card .primary { width: 100%; }
.composer__foot .primary { min-width: 120px; }
.done__actions button { flex: 1; }

/* ---- Solar System view ------------------------------------------------------ */
#globeCanvas { transition: opacity .45s var(--ease-out), transform .6s var(--ease-out); }
.globe-stage.is-orrery #globeCanvas { opacity: 0; transform: scale(.08); pointer-events: none; }
.globe-stage.is-orrery-leaving #globeCanvas { transition-delay: .7s; }
.globe-stage.is-orrery .pin-layer, .globe-stage.is-orrery .post-dock, .globe-stage.is-orrery .selection-panel,
.globe-stage.is-orrery .sky-hud, .globe-stage.is-orrery .gesture-hint, .globe-stage.is-orrery .place-hint { display: none !important; }
.orrery-canvas { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; display: block; touch-action: none; cursor: grab; outline: none; animation: orrery-in .6s var(--ease-out); }
.orrery-canvas:active { cursor: grabbing; }
.orrery-canvas[hidden], .orrery-hud[hidden] { display: none; }
@keyframes orrery-in { from { opacity: 0; } }
.globe-stage.is-orrery-leaving .orrery-canvas { opacity: 0; transition: opacity .35s .8s; }
.globe-stage.is-orrery-leaving .orrery-hud { opacity: 0; transition: opacity .2s; }

.orrery-hud { position: absolute; inset: 0; z-index: 4; pointer-events: none; color: #d5e8eb; }
.orrery-hud * { box-sizing: border-box; min-width: 0; }
.orrery-hud > * { pointer-events: auto; }
.orrery-hud .orrery-close { position: absolute; top: 14px; right: 14px; width: var(--control); height: var(--control); border-radius: 50%; background: rgba(4, 12, 20, .7); border: 1px solid rgba(181, 226, 232, .2); backdrop-filter: blur(10px); }
.orrery-title { position: absolute; top: 76px; left: 50%; translate: -50% 0; display: grid; justify-items: center; gap: 2px; margin: 0; pointer-events: none; text-align: center; animation: pop-in .5s .3s var(--spring) both; }
.orrery-title strong { color: #fff; font-size: 1rem; letter-spacing: .12em; }
.orrery-title span { color: #8fb1b8; font-size: var(--text-small); }

.orrery-dock { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 10px; padding: 40px 14px 14px; background: linear-gradient(transparent, rgba(2, 5, 10, .75) 40%); pointer-events: none; }
.orrery-dock > * { pointer-events: auto; }
.orrery-bodies { display: flex; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; padding: 2px; margin: 0 -14px; padding-inline: 14px; }
.orrery-bodies::-webkit-scrollbar { display: none; }
.orrery-hud .orrery-chip {
  flex: none; gap: 8px; height: var(--control); padding: 0 16px 0 12px; border: 1px solid rgba(181, 226, 232, .2); border-radius: 999px;
  background: rgba(4, 12, 20, .7); backdrop-filter: blur(10px); transition: border-color .15s, background .15s, transform .12s;
}
.orrery-chip i { width: 12px; height: 12px; border-radius: 50%; background: var(--planet); box-shadow: 0 0 8px var(--planet); }
.orrery-chip:active { transform: scale(.95); }
.orrery-chip.is-active { border-color: #f4d45d; background: rgba(244, 212, 93, .14); color: #ffe89a; }

.orrery-card {
  display: grid; gap: 10px; padding: 14px 16px; border: 1px solid rgba(140, 210, 226, .18); border-radius: 20px;
  background: rgba(6, 15, 24, .88); backdrop-filter: blur(14px); box-shadow: 0 18px 50px rgba(0, 0, 0, .45); animation: card-in .3s var(--spring);
}
.orrery-card[hidden] { display: none; }
@keyframes card-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.orrery-card header { display: flex; align-items: baseline; gap: 10px; }
.orrery-card__name { color: #fff; font-size: 1.2rem; }
.orrery-card__kind { color: #7ccfe0; font-size: var(--text-small); }
.orrery-card__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; margin: 0; }
.orrery-card__facts div { display: grid; gap: 1px; }
.orrery-card__facts dt { color: #789aa2; font-size: var(--text-small); }
.orrery-card__facts dd { margin: 0; color: #e9f6f7; font-size: .875rem; font-variant-numeric: tabular-nums; }
.orrery-card__actions { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; }
.orrery-hud .orrery-action { width: 100%; height: var(--control); padding: 0 16px; border: 1px solid rgba(181, 226, 232, .25); border-radius: 999px; background: rgba(140, 210, 226, .06); }
.orrery-hud .orrery-action[hidden] { display: none; }
.orrery-hud .orrery-action.is-primary { border-color: transparent; background: #f4d45d; color: #1b1500; font-weight: 800; }
.orrery-hud .orrery-action.is-primary img { filter: none; }
.orrery-hud .orrery-action img { width: var(--control-icon); height: var(--control-icon); }

/* pulling past the globe's smallest size */
.orrery-pull { position: absolute; left: 50%; bottom: 96px; z-index: 5; translate: -50% 0; display: grid; gap: 6px; justify-items: center; pointer-events: none; animation: pop-in .2s var(--spring); }
.orrery-pull[hidden] { display: none; }
.orrery-pull span { padding: 8px 14px; border-radius: 999px; background: rgba(4, 12, 20, .78); border: 1px solid rgba(244, 212, 93, .45); color: #ffe89a; font-size: var(--control-font); }
.orrery-pull i { width: 120px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, #f4d45d calc(var(--pull, 0) * 100%), rgba(244, 212, 93, .2) 0); }

/* planet labels on the globe sky and in the telescope */
.sky-mark.is-planet { color: #e9f6f7; }
.sky-mark.is-planet .sky-mark__label::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--planet); vertical-align: 1px; }
.sky-mark.is-planet.is-onscreen { background: rgba(4, 12, 20, .3); }

@media (prefers-reduced-motion: reduce) {
  #globeCanvas, .orrery-canvas, .orrery-card, .orrery-title, .orrery-pull { transition: none !important; animation: none !important; }
}
