/* ECLIPSE · page-galaxis.css  (gehört nur der Seite galaxis; README: Seiten-Besitz)
   Nur Layout und Bausteine dieser Seite, Klassenpräfix ga-. ec-Bausteine nie umstylen, nur Tokens nutzen.
   Typografie nach README 1b: Titel Cinzel (aufrecht, Metall über ec-Klassen), Etiketten Oswald, Text Open Sans.
   Bewegung: nur transform und opacity. Sauberer Text: nichts angeschnitten, nichts überlappt (textcheck). */

.ga {
  --ga-rep: var(--c-rep);
  --ga-sith: var(--c-sith);
  --ga-neu: var(--c-gold);
  --ga-con: #d8dcff;
  --ga-unk: #6fd6c9;
  --ga-c: var(--c-gold);
  position: relative;
}
.ga-world--rep, .ga-legend__item--rep, .ga-index__group--rep, .ga-index__item--rep, .ga-tag--rep, .ga-chip--rep, .ga-peek--rep, .ga-atlas[data-side="rep"] { --ga-c: var(--ga-rep); }
.ga-world--sith, .ga-legend__item--sith, .ga-index__group--sith, .ga-index__item--sith, .ga-tag--sith, .ga-chip--sith, .ga-peek--sith, .ga-atlas[data-side="sith"] { --ga-c: var(--ga-sith); }
.ga-world--neu, .ga-legend__item--neu, .ga-index__group--neu, .ga-index__item--neu, .ga-tag--neu, .ga-chip--neu, .ga-peek--neu, .ga-atlas[data-side="neu"] { --ga-c: var(--ga-neu); }
.ga-world--con, .ga-legend__item--con, .ga-index__group--con, .ga-index__item--con, .ga-tag--con, .ga-chip--con, .ga-peek--con, .ga-atlas[data-side="con"] { --ga-c: var(--ga-con); }
.ga-world--unk, .ga-legend__item--unk, .ga-index__group--unk, .ga-index__item--unk, .ga-tag--unk, .ga-chip--unk, .ga-peek--unk, .ga-atlas[data-side="unk"] { --ga-c: var(--ga-unk); }
.ga-index__group--station { --ga-c: var(--text-2); }

/* Kennzeichen „Auf ECLIPSE angelegt“: kleine goldene Raute */
.ga-mark-inline, .ga-index__mark { display: inline-block; width: 9px; height: 9px; flex: none; border: 1px solid var(--c-gold); background: rgb(255 200 40 / .35); transform: rotate(45deg); }
.ga-mark-inline { margin: 0 .55em .1em .2em; vertical-align: middle; }

/* ------------------------------------------------------------ Szene (fest hinter der Fahrt) */
.ga-sky {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100lvh;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: var(--void);
  contain: strict;
}
.ga-sky.is-gone { visibility: hidden; }
.ga-sky__plate { position: absolute; inset: 0; }
.ga-sky__plate > img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.ga-sky__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.4s var(--ease-out); }
.ga-sky.is-live .ga-sky__canvas { opacity: 1; }
.ga-sky.is-live .ga-sky__plate { opacity: 0; transition: opacity 0s linear 1.5s; }
.ga-sky__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(4 5 10 / .82) 0%, rgb(4 5 10 / .5) 26%, rgb(4 5 10 / 0) 52%),
    linear-gradient(180deg, rgb(4 5 10 / .55) 0, rgb(4 5 10 / 0) 18%, rgb(4 5 10 / 0) 78%, rgb(4 5 10 / .55) 100%);
}
.ga-tags { position: absolute; inset: 0; }

/* Beschriftungen: Welten (Knöpfe in .ga-nodes), Ringe und Zonen (Deko in .ga-tags). Ort und Deckkraft setzt JS. */
.ga-tag {
  position: absolute;
  left: 0;
  top: 0;
  padding: 2px 4px 2px 16px;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: .75rem;
  line-height: 1.3;
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
  color: color-mix(in srgb, var(--ga-c) 70%, var(--text));
  text-shadow: 0 0 2px rgb(4 5 10), 0 0 6px rgb(4 5 10 / .95), 0 0 14px rgb(4 5 10 / .85);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0s, visibility 0s, color .2s linear;   /* Ausblenden sofort: nie halb über Text, der darunter durchläuft */
}
.ga-tag.is-on { visibility: visible; transition: opacity .3s linear, visibility 0s, color .2s linear; }
.ga-tag.is-flip { padding: 2px 16px 2px 4px; text-align: right; }
.ga-tag--major { font-size: .8125rem; font-weight: 600; color: color-mix(in srgb, var(--ga-c) 55%, var(--text)); }
.ga-tag.is-hot { color: var(--text); }
.ga-tag--ring { padding: 2px 0; font-family: var(--font-mono); font-weight: 500; font-size: .625rem; letter-spacing: .16em; color: rgb(255 200 40 / .62); }
.ga-tag--zone { padding: 2px 0; font-weight: 400; font-size: clamp(.8125rem, .62rem + .45vw, 1.125rem); letter-spacing: .42em; color: rgb(226 232 245 / .42); }
button.ga-tag { cursor: pointer; }
button.ga-tag:focus-visible { outline: 2px solid var(--c-gold-hi, #ffe08a); outline-offset: 2px; }

/* Ohne JS oder ohne WebGL: Standbild nur hinter dem Seitenkopf, weich ins Schwarz */
html:not(.js) .ga-sky, html.ga-static .ga-sky { position: absolute; height: 100svh; min-height: 640px; }
html:not(.js) .ga-sky::after, html.ga-static .ga-sky::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(180deg, rgb(4 5 10 / 0), var(--void)); }
html:not(.js) .ga-tags, html.ga-static .ga-tags { display: none; }

/* Standbild-Werkzeug (tools/build-galaxis.mjs --still): nur das Canvas */
html.ga-still body > *:not(main), html.ga-still .ga-flight, html.ga-still .ec-final, html.ga-still .ga-tags, html.ga-still .ga-sky__veil { display: none !important; }
html.ga-still .ga-sky__plate { display: none; }
html.ga-still .ga-sky__canvas { opacity: 1; transition: none; }

/* Inhalt liegt über der Szene */
.ga-flight { position: relative; z-index: 1; }
.ga-flight > * { position: relative; }
.ga-flight > section { overflow-x: clip; }

/* dunkler Hof hinter Text über der Galaxie (statisch, nie animiert) */
.ga-halo { position: relative; isolation: isolate; }
.ga-halo::before { content: ""; position: absolute; inset: -24px -36px; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgb(4 5 10 / .9), rgb(4 5 10 / .72) 55%, rgb(4 5 10 / 0)); }

/* ------------------------------------------------------------ Seitenkopf: Zündung */
.ga-head { min-height: 100vh; min-height: 100svh; display: grid; align-content: center; padding-bottom: clamp(48px, 8vh, 96px); }
.ga-head::after { opacity: .6; }
.ga-head .ec-pagehead__glow { right: -20vw; top: -30vw; opacity: .7; }
.ga-head__inner { gap: var(--s-5); }
.ga-head .ga-head__inner .ga-head__title { font-size: min(18cqi, 12rem); line-height: 1.04; margin: 0; }
.ga-head__word { display: block; white-space: nowrap; }
/* Buchstaben einzeln (Auftritt): Abstand als Polster statt Laufweite, damit kein Kasten in die Tinte des Nachbarn ragt */
.ga-head__word > span { display: inline-block; letter-spacing: 0; padding-inline: .03em; }
.ga-head__lead { max-width: 31em; text-shadow: 0 1px 18px rgb(4 5 10 / .9); }
.ga-head__actions { display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-5); margin-top: var(--s-3); }

/* ------------------------------------------------------------ Lage */
.ga-lage { min-height: 125vh; min-height: 125svh; display: grid; align-items: center; padding-block: clamp(96px, 14vh, 160px); }
.ga-lage__wrap { display: grid; gap: var(--s-8); align-items: end; }
.ga-lage__text { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-6); max-width: 640px; }
.ga-lage__lead { text-shadow: 0 1px 18px rgb(4 5 10 / .95); }
.ga-legend { display: flex; flex-wrap: wrap; gap: 12px 14px; list-style: none; padding: 0; }
.ga-legend__item {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 18px;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: .8125rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ga-c);
  white-space: nowrap;
}
.ga-legend__item::before { content: ""; position: absolute; inset: 0; z-index: -1; border: 1px solid color-mix(in srgb, var(--ga-c) 60%, transparent); background: rgb(4 5 10 / .72); transform: skewX(var(--skew)); }
.ga-legend__n { font-family: var(--font-title); font-weight: 700; font-size: 1.0625rem; letter-spacing: .02em; }

.ga-routes { justify-self: end; width: min(100%, 380px); padding: 26px 28px; background: linear-gradient(180deg, rgb(7 10 18 / .86), rgb(4 5 10 / .92)); }
.ga-routes__title { font-family: var(--font-mono); font-weight: 500; font-size: .6875rem; letter-spacing: .22em; text-transform: uppercase; color: var(--c-rep-hi); margin-bottom: 14px; }
.ga-routes__list { list-style: none; padding: 0; display: grid; gap: 2px; }
.ga-routes__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 36px;
  text-align: left;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: .875rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-2);
}
.ga-routes__item::before { content: ""; flex: none; width: 26px; height: 1px; background: linear-gradient(90deg, var(--c-rep), rgb(148 198 255 / .2)); transform-origin: 0 50%; transform: scaleX(.6); transition: transform .4s var(--ease-out); }
.ga-routes__item.is-btn { cursor: pointer; transition: color .2s linear; }
.ga-routes__item.is-btn:hover, .ga-routes__item[aria-pressed="true"] { color: var(--text); }
.ga-routes__item.is-btn:hover::before, .ga-routes__item[aria-pressed="true"]::before { transform: scaleX(1.4); }
@media (min-width: 900px) {
  .ga-lage__wrap { grid-template-columns: minmax(0, 1fr) auto; }
  .ga-routes { margin-bottom: 4vh; }
}

/* ------------------------------------------------------------ Rundflug */
.ga-tour { padding-top: clamp(64px, 10vh, 120px); }
.ga-tour__intro { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-4); justify-items: start; padding-bottom: clamp(24px, 6vh, 64px); }
.ga-tour__intro .ec-lead { max-width: 28em; text-shadow: 0 1px 18px rgb(4 5 10 / .95); }

.ga-stop {
  --ga-c: var(--chapter);
  position: relative;
  min-height: 140vh;
  min-height: 140svh;
  display: grid;
  align-items: center;
  padding: clamp(64px, 12vh, 140px) var(--gutter);
  overflow-x: clip;
}
.ga-stop[data-stop="ilum"] { --ga-c: #bfe6ff; }
.ga-stop__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--ga-c);
  background: var(--ink-2);
  transform: skewX(var(--skew));
}
.ga-stop__frame > picture { position: absolute; inset: -6% -16%; max-width: none; transform: skewX(calc(var(--skew) * -1)); }
.ga-stop__frame img { width: 100%; height: 100%; object-fit: cover; }
.ga-stop__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(4 5 10 / .1), rgb(4 5 10 / 0) 50%, rgb(4 5 10 / .55)); pointer-events: none; }
.ga-stop__body { position: relative; isolation: isolate; container-type: inline-size; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; justify-items: start; width: 100%; max-width: 620px; padding: clamp(24px, 3vw, 44px) clamp(24px, 3.2vw, 52px); }
.ga-stop__body::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(160deg, rgb(11 16 25 / .92), rgb(4 5 10 / .95));
  border-left: 2px solid var(--ga-c);
}
.ga-stop__where { font-family: var(--font-mono); font-weight: 500; font-size: .6875rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ga-c); }
.ga-stop__name { font-family: var(--font-title); font-weight: 700; font-size: min(5.5rem, 13cqi); line-height: 1.06; letter-spacing: var(--track-title); overflow-wrap: normal; text-wrap: balance; }
.ga-stop__alias { font-family: var(--font-ui); font-weight: 500; font-size: 1rem; letter-spacing: var(--track-ui); text-transform: uppercase; color: var(--text); }
.ga-stop__lore { color: var(--text); font-size: var(--step-0); line-height: 1.6; max-width: 34em; }
.ga-stop__fact { position: relative; padding-left: 18px; color: var(--text-2); font-size: var(--step--1); line-height: 1.55; max-width: 36em; }
.ga-stop__fact::before { content: ""; position: absolute; left: 0; top: .35em; bottom: .35em; width: 2px; background: var(--ga-c); }
.ga-stop__next { color: var(--text-2); font-size: var(--step--1); line-height: 1.55; max-width: 36em; padding-top: 12px; border-top: 1px solid var(--line); }
.ga-stop__next b { color: var(--text); font-weight: 600; }
.ga-stop__quote { margin-top: 6px; font-size: var(--step-0); }

@media (min-width: 900px) {
  .ga-stop--art { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); column-gap: clamp(24px, 3vw, 56px); }
  .ga-stop--art .ga-stop__frame { grid-row: 1; width: 100%; }
  .ga-stop--left .ga-stop__frame { grid-column: 1; margin-left: 2vw; }
  .ga-stop--left .ga-stop__body { grid-column: 2; grid-row: 1; margin-top: 18vh; }
  .ga-stop--right { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
  .ga-stop--right .ga-stop__frame { grid-column: 2; margin-right: 2vw; }
  .ga-stop--right .ga-stop__body { grid-column: 1; grid-row: 1; justify-self: end; margin-top: -14vh; }
  .ga-stop--sky { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); }
  .ga-stop--sky .ga-stop__body { grid-column: 2; }
  .ga-stop--void { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ga-stop--void .ga-stop__body { grid-column: 1; margin-left: 3vw; }
}
.ga-stop--sky, .ga-stop--void { align-content: center; }
.ga-stop--void { align-items: end; }
.ga-skies { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; width: 100%; margin-top: 8px; }
.ga-skies--one { grid-template-columns: minmax(0, 1fr); }
.ga-skyband { display: grid; gap: 10px; margin: 0; }
.ga-skyband picture { display: block; position: relative; overflow: hidden; aspect-ratio: 2 / 1; border: 1px solid color-mix(in srgb, var(--ga-c) 45%, transparent); background: var(--ink-3); }
.ga-skyband img { width: 100%; height: 100%; object-fit: cover; }
.ga-skyband figcaption, .ga-world__sky figcaption { color: var(--text-2); font-size: var(--step--1); line-height: 1.5; }
.ga-skyband figcaption b, .ga-world__sky figcaption b { display: block; margin-bottom: 2px; font-family: var(--font-ui); font-weight: 500; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--c-gold); }

/* ------------------------------------------------------------ Karte */
.ga-map { overflow: clip; }
.ga-map__stage { position: relative; min-height: 100vh; min-height: 100svh; }
.ga-map__hit { position: absolute; inset: 0; z-index: 0; }
html.ga-js .ga-map__hit.is-hot, .ga-nodes.is-hot { cursor: pointer; }
.ga-map__frame { position: absolute; inset: calc(var(--nav-h) + 14px) max(14px, calc(var(--gutter) * .4)) 18px; pointer-events: none; }
.ga-map__frame > .ec-hud__c { --chapter: var(--c-gold); width: 22px; height: 22px; }
.ga-map__side {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: start;
  justify-items: start;
  gap: var(--s-4);
  width: min(100% - 2 * var(--gutter), 420px);
  margin-left: max(var(--gutter), calc(var(--gutter) + 8px));
  padding: calc(var(--nav-h) + clamp(28px, 5vh, 56px)) 0 clamp(40px, 6vh, 64px);
}
.ga-map__title { margin: 0; text-shadow: 0 1px 18px rgb(4 5 10 / .9); }
.ga-map__lead { color: var(--text); font-size: var(--step-0); line-height: 1.55; text-shadow: 0 1px 14px rgb(4 5 10 / .95); }
.ga-map__note { position: relative; isolation: isolate; color: var(--text-2); font-size: .8125rem; line-height: 1.55; max-width: 40em; }
.ga-map__note::before { content: ""; position: absolute; inset: -14px -18px; z-index: -1; pointer-events: none; background: rgb(4 5 10 / .72); }

/* Filterknöpfe (Karte und Liste, gemeinsamer Zustand) */
.ga-chips { display: flex; flex-wrap: wrap; gap: 10px 12px; }
.ga-chip {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ga-c);
  cursor: pointer;
  transition: color .2s linear;
}
.ga-chip::before { content: ""; position: absolute; inset: 0; z-index: -1; border: 1px solid color-mix(in srgb, var(--ga-c) 55%, transparent); background: rgb(4 5 10 / .78); transform: skewX(var(--skew)); }
.ga-chip::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ga-c); transform: skewX(var(--skew)) scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease-out); }
.ga-chip:hover::after { transform: skewX(var(--skew)) scaleX(.1); }
.ga-chip[aria-pressed="true"] { color: var(--c-ink); }
.ga-chip[aria-pressed="true"]::after { transform: skewX(var(--skew)) scaleX(1); }
.ga-chip__n { font-family: var(--font-mono); font-weight: 500; font-size: .6875rem; letter-spacing: .04em; }
.ga-chip--eclipse { --ga-c: var(--c-gold); }
.ga-chip__mark { width: 7px; height: 7px; flex: none; border: 1px solid currentColor; transform: rotate(45deg); }

/* Weltknöpfe und Vorschaukarte liegen fest über der Galaxie (über dem Inhalt der Fahrt, Ort per JS) */
.ga-nodes { position: fixed; inset: 0; z-index: 3; pointer-events: none; }
html:not(.ga-gl) .ga-nodes { display: none; }
.ga-nodes.is-gone { visibility: hidden; }
.ga-nodes.is-gone * { visibility: hidden !important; }
.ga-nodes .ga-tag.is-on { pointer-events: auto; }
.ga-peek {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  width: max-content;
  max-width: 340px;
  padding: 10px 18px 10px 10px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.ga-peek.is-on { visibility: visible; }
.ga-peek::before { content: ""; position: absolute; top: 0; bottom: 0; left: 116px; right: 0; z-index: -1; background: linear-gradient(160deg, rgb(11 16 25 / .96), rgb(4 5 10 / .97)); border: 1px solid color-mix(in srgb, var(--ga-c) 55%, transparent); border-left: 2px solid var(--ga-c); transform: skewX(var(--skew)); }
.ga-peek__orb { width: 92px; height: 92px; border-radius: 50%; box-shadow: 0 0 0 1px color-mix(in srgb, var(--ga-c) 45%, transparent), 0 0 0 6px rgb(4 5 10 / .55); }
.ga-peek__body { display: grid; gap: 3px; padding: 4px 0 4px 18px; }
.ga-peek__side { font-family: var(--font-mono); font-weight: 500; font-size: .625rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ga-c); }
.ga-peek__name { font-family: var(--font-title); font-weight: 700; font-size: 1.375rem; line-height: 1.15; letter-spacing: var(--track-title); color: var(--text); }
.ga-peek__alias { font-size: .8125rem; line-height: 1.4; color: var(--text-2); }
.ga-peek__tag { display: none; margin-top: 3px; font-family: var(--font-ui); font-weight: 500; font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; color: var(--c-gold); }
.ga-peek__tag::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border: 1px solid var(--c-gold); background: rgb(255 200 40 / .35); transform: rotate(45deg) translateY(-1px); }
.ga-peek.is-eclipse .ga-peek__tag { display: block; }

/* ------------------------------------------------------------ Alle Welten (Liste mit Suche und Filter) */
.ga-welten { padding-block: clamp(80px, 12vh, 140px) clamp(64px, 10vh, 120px); }
.ga-welten > .ec-wrap { position: relative; isolation: isolate; display: grid; gap: var(--s-6); }
.ga-welten > .ec-wrap::before { content: ""; position: absolute; inset: -32px calc(var(--gutter) * -.5); z-index: -1; background: linear-gradient(180deg, rgb(4 5 10 / .74), rgb(4 5 10 / .9) 30%, rgb(4 5 10 / .9) 70%, rgb(4 5 10 / .74)); pointer-events: none; }
.ga-welten__head { display: grid; gap: var(--s-3); max-width: 760px; }
.ga-welten__title { margin: 0; }
.ga-welten__lead { color: var(--text-2); font-size: var(--step-0); line-height: 1.55; }
.ga-filter { display: grid; gap: var(--s-4); grid-template-columns: minmax(0, 1fr); align-items: end; }
.ga-search { display: grid; gap: 8px; max-width: 460px; }
.ga-search__label { font-family: var(--font-ui); font-weight: 500; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--c-gold); }
.ga-search__field { position: relative; isolation: isolate; display: flex; align-items: center; }
.ga-search__field::before { content: ""; position: absolute; inset: 0; z-index: -1; border: 1px solid var(--line-2); background: rgb(7 10 18 / .9); transform: skewX(var(--skew)); transition: border-color .2s linear; }
.ga-search__field:focus-within::before { border-color: var(--c-gold); }
.ga-search__icon { position: absolute; left: 16px; width: 18px; height: 18px; fill: var(--text-3); pointer-events: none; }
.ga-search__input { width: 100%; min-height: 46px; padding: 0 16px 0 44px; background: transparent; border: 0; color: var(--text); font: inherit; font-size: 1rem; }
.ga-search__input::placeholder { color: var(--text-3); }
.ga-search__input:focus { outline: none; }
.ga-search__input:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 3px; }
.ga-filter__count { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em; color: var(--text-3); min-height: 1.2em; }
.ga-index__legend { display: flex; align-items: center; font-family: var(--font-ui); font-weight: 500; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); }
.ga-index { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 30px 28px; align-items: start; }
.ga-index__group[hidden], .ga-index__li[hidden] { display: none; }
.ga-index__title { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding-bottom: 8px; margin-bottom: 6px; border-bottom: 1px solid color-mix(in srgb, var(--ga-c) 45%, transparent); font-family: var(--font-ui); font-weight: 500; font-size: .8125rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ga-c); }
.ga-index__n { font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .06em; color: var(--text-3); }
.ga-index .ga-index__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.ga-index__item { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 4px 6px 4px 2px; color: var(--text); transition: color .2s linear; }
.ga-index__text { display: grid; gap: 1px; min-width: 0; flex: 1 1 auto; }
.ga-index__name { font-family: var(--font-ui); font-weight: 500; font-size: .9375rem; letter-spacing: .1em; text-transform: uppercase; line-height: 1.25; }
.ga-index__alias { font-size: .8125rem; line-height: 1.35; color: var(--text-3); }
.ga-index__item:hover .ga-index__name, .ga-index__item[aria-current] .ga-index__name { color: var(--ga-c); }
.ga-index__item:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 2px; }
.ga-index__empty { color: var(--text-2); }

/* ------------------------------------------------------------ Ersatzkugel in CSS (ohne WebGL, ohne JS, Liste) */
.ga-orb {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 64% 34%, color-mix(in srgb, var(--o2) 82%, #fff) 0, var(--o2) 14%, var(--o1) 44%, var(--o0) 74%, #04050a 100%);
  box-shadow: inset -16px -12px 28px rgb(4 5 10 / .82), inset 4px 2px 8px -3px rgb(255 190 96 / .55), 0 0 28px -6px color-mix(in srgb, var(--oa) 60%, transparent);
}
.ga-orb--lights { background: radial-gradient(circle at 26% 70%, color-mix(in srgb, var(--oa) 30%, transparent) 0, transparent 30%), radial-gradient(circle at 64% 34%, color-mix(in srgb, var(--o2) 82%, #fff) 0, var(--o2) 14%, var(--o1) 44%, var(--o0) 74%, #04050a 100%); }
.ga-orb--station { position: relative; width: 44%; margin: 28%; background: radial-gradient(circle at 60% 36%, var(--o2) 0, var(--o1) 40%, var(--o0) 80%); box-shadow: 0 0 22px -4px color-mix(in srgb, var(--oa) 70%, transparent); }
.ga-orb--station::after, .ga-orb--ring::after { content: ""; position: absolute; left: -62%; right: -62%; top: 34%; bottom: 34%; border: 2px solid color-mix(in srgb, var(--o2) 70%, transparent); border-radius: 50%; transform: rotate(-16deg); }
.ga-orb--ring { position: relative; }
.ga-orb--ring::after { left: -22%; right: -22%; top: 38%; bottom: 38%; border-width: 1px; }
.ga-orb--dot { width: 26px; flex: none; box-shadow: inset -5px -4px 8px rgb(4 5 10 / .8), 0 0 10px -3px color-mix(in srgb, var(--oa) 60%, transparent); }
.ga-orb--dot.ga-orb--station { width: 12px; margin: 7px; }
.ga-orb--dot.ga-orb--station::after { border-width: 1px; }

/* ------------------------------------------------------------ Tafeln: ohne JS ein Raster aller Welten */
.ga-atlas { position: relative; z-index: 3; padding: 0 var(--gutter) var(--section-y); }
.ga-atlas__plate, .ga-atlas__bar { display: none; }
.ga-atlas__title { margin: 0 0 var(--s-6); }
.ga-atlas__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 40px 32px; }
.ga-world { --ga-c: inherit; position: relative; display: grid; align-content: start; gap: 14px; scroll-margin-top: calc(var(--nav-h) + 24px); }
.ga-world__orb { width: 120px; }
.ga-world__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; justify-items: start; container-type: inline-size; }
.ga-world__side { font-family: var(--font-mono); font-weight: 500; font-size: .6875rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ga-c); }
.ga-world__name { font-family: var(--font-title); font-weight: 700; font-size: min(2.4rem, 11cqi); line-height: 1.08; letter-spacing: var(--track-title); overflow-wrap: normal; text-wrap: balance; }
.ga-world__name:focus { outline: none; }   /* Überschrift bekommt nur programmatisch den Fokus (Tafel geöffnet), sie ist kein Bedienelement */
.ga-world__alias { font-family: var(--font-ui); font-weight: 500; font-size: .875rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text); }
.ga-world__data { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 22px; width: 100%; margin: 4px 0 0; }
.ga-world__data div { display: grid; gap: 2px; min-width: 0; }
.ga-world__data dt { font-family: var(--font-mono); font-size: .625rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-3); }
.ga-world__data dd { margin: 0; font-size: .875rem; line-height: 1.4; color: var(--text); }
.ga-world.is-eclipse .ga-world__data div:last-child dd { color: var(--c-gold); }
.ga-world__lore { color: var(--text-2); font-size: .9375rem; line-height: 1.62; }
.ga-world__server { display: grid; gap: 8px; width: 100%; padding: 12px 14px; border: 1px solid rgb(255 200 40 / .4); background: rgb(255 200 40 / .06); }
.ga-world__tag { display: flex; align-items: center; gap: 10px; font-family: var(--font-ui); font-weight: 500; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--c-gold); }
.ga-world__tag::before { content: ""; width: 8px; height: 8px; flex: none; border: 1px solid var(--c-gold); background: rgb(255 200 40 / .35); transform: rotate(45deg); }
.ga-world__facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.ga-world__facts li { position: relative; padding-left: 16px; color: var(--text); font-size: .875rem; line-height: 1.5; }
.ga-world__facts li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 1px; background: var(--c-gold); }
.ga-world__sky, .ga-world__art { display: grid; gap: 8px; width: 100%; margin: 4px 0 0; }
.ga-world__sky picture, .ga-world__art picture { display: block; overflow: hidden; border: 1px solid color-mix(in srgb, var(--ga-c) 40%, transparent); background: var(--ink-3); }
.ga-world__sky picture { aspect-ratio: 2 / 1; }
.ga-world__art picture { aspect-ratio: 16 / 9; }
.ga-world__sky img, .ga-world__art img { width: 100%; height: 100%; object-fit: cover; }
.ga-world__note { font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .06em; color: var(--text-3); }

/* ------------------------------------------------------------ Mit JS: die Tafel als Dialog (rechts, am Handy unten) */
html.ga-js .ga-atlas {
  position: fixed;
  z-index: 6;
  top: var(--nav-h);
  right: 0;
  bottom: 0;
  width: min(44vw, 620px);
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(6%);
  transition: opacity .45s var(--ease-out), transform .6s var(--ease-out), visibility 0s linear .6s;
}
html.ga-js .ga-atlas.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .45s var(--ease-out), transform .6s var(--ease-out), visibility 0s; }
html.ga-js .ga-atlas__title { display: none; }
html.ga-js .ga-atlas__plate {
  display: block;
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-left: 1px solid color-mix(in srgb, var(--ga-c) 60%, transparent);
  background: linear-gradient(170deg, rgb(11 16 25 / .97), rgb(4 5 10 / .985) 55%);
}
html.ga-js .ga-atlas__plate::before { content: ""; position: absolute; top: 0; left: 0; width: 3px; height: 34%; background: var(--ga-c); }
html.ga-js .ga-atlas__plate::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--ga-c) 22%, transparent), transparent); transform: translateX(-120%); }
html.ga-js .ga-atlas.is-swap .ga-atlas__plate::after { animation: ga-sweep .9s var(--ease-out) both; }
@keyframes ga-sweep { from { transform: translateX(-120%); } to { transform: translateX(330%); } }
html.ga-js .ga-atlas__bar { display: flex; gap: 10px; position: absolute; z-index: 2; top: 18px; right: 22px; }
/* deckende Leisten oben (hinter den Knöpfen) und unten: Text läuft beim Blättern darunter, nie halb aus dem Bild */
.ga-atlas__shade { display: none; }
html.ga-js .ga-atlas__shade { display: block; position: absolute; left: 1px; right: 0; z-index: 1; pointer-events: none; }
html.ga-js .ga-atlas__shade--top { top: 0; height: 74px; background: linear-gradient(180deg, rgb(9 13 21 / .99) 70%, rgb(9 13 21 / 0)); }
html.ga-js .ga-atlas__shade--bottom { bottom: 0; height: 52px; background: linear-gradient(180deg, rgb(4 5 10 / 0), rgb(4 5 10 / .99) 55%); }
.ga-atlas__btn { position: relative; isolation: isolate; display: grid; place-items: center; width: 46px; height: 42px; color: var(--text); cursor: pointer; transition: color .2s linear; }
.ga-atlas__btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border: 1px solid var(--line-2); background: rgb(4 5 10 / .7); transform: skewX(var(--skew)); transition: border-color .2s linear; }
.ga-atlas__btn:hover { color: var(--ga-c); }
.ga-atlas__btn:hover::before { border-color: var(--ga-c); }
.ga-atlas__btn:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 3px; }
.ga-atlas__btn svg { width: 18px; height: 18px; fill: currentColor; }
html.ga-js .ga-atlas__list { display: block; position: relative; height: 100%; overflow-y: auto; overscroll-behavior: contain; padding: 82px clamp(28px, 3.4vw, 56px) 72px; scrollbar-width: thin; }
html.ga-js .ga-world { display: none; }
html.ga-js .ga-world.is-active { display: grid; gap: 16px; animation: ga-in .55s var(--ease-out) both; }
@keyframes ga-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
html.ga-js .ga-world__body { gap: 12px; }
html.ga-js .ga-world__name { font-size: min(4rem, 12cqi); }
html.ga-js .ga-world__lore { font-size: var(--step-0); color: var(--text); }
html.ga-gl .ga-atlas .ga-world__orb { display: none; }
html.ga-js:not(.ga-gl) .ga-atlas .ga-world__orb { width: clamp(120px, 34%, 200px); margin: 0 auto 4px; }

/* Tafel offen: Inhalt der Seite tritt zurück, die Galaxie steht frei (Kamera fliegt zur Welt) */
html.ga-modal .ga-flight > :not(.ga-map, .ga-atlas),
html.ga-modal .ga-map__stage > :not(.ga-nodes) { opacity: 0; visibility: hidden; transition: opacity .35s linear, visibility 0s linear .35s; }
.ga-flight > *, .ga-map__stage > * { transition: opacity .35s linear, visibility 0s; }
html.ga-modal .ga-nodes { pointer-events: auto; }
/* Die Galaxie liegt bei offener Tafel über Abschluss und Footer (deckend); Fahrt, Knöpfe und Tafel bleiben darüber */
html.ga-modal .ga-sky { z-index: 1; }
html.ga-modal .ga-sky__veil { opacity: 0 !important; }
html.ga-modal.ga-static .ga-sky { position: fixed; }

/* ------------------------------------------------------------ Im Spiel */
.ga-ingame { padding-block: clamp(96px, 16vh, 200px) clamp(80px, 12vh, 160px); }
.ga-ingame__wrap { display: grid; gap: var(--s-8); container-type: inline-size; }
.ga-key { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: center; max-width: 640px; }
.ga-key__cap {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: clamp(96px, 10vw, 156px);
  aspect-ratio: 1;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(2.6rem, 1.8rem + 2.6vw, 4.6rem);
  line-height: 1;
  color: var(--c-gold);
}
.ga-key__cap::before { content: ""; position: absolute; inset: 0; z-index: -1; border: 1px solid var(--c-gold); background: linear-gradient(160deg, rgb(255 200 40 / .14), rgb(4 5 10 / .92) 55%); transform: skewX(var(--skew)); }
.ga-key__cap::after { content: ""; position: absolute; inset: 8px; z-index: -1; border: 1px solid rgb(255 200 40 / .25); transform: skewX(var(--skew)); }
.ga-key__title { margin-bottom: 8px; }
.ga-key__text, .ga-ingame__flight { position: relative; isolation: isolate; }
.ga-key__text::before, .ga-ingame__flight::before { content: ""; position: absolute; inset: -24px -36px; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgb(4 5 10 / .92), rgb(4 5 10 / .76) 60%, rgb(4 5 10 / 0)); }
.ga-key__text p, .ga-ingame__flight p { color: var(--text); max-width: 34em; }
.ga-ingame__flight { display: grid; gap: 6px; max-width: 560px; padding: 24px 0 0 24px; border-left: 1px solid var(--line-gold); }
@media (min-width: 900px) {
  .ga-ingame__wrap { grid-template-columns: repeat(12, minmax(0, 1fr)); row-gap: var(--s-8); }
  .ga-ingame__title { grid-column: 1 / span 8; }
  .ga-key--p { grid-column: 2 / span 6; }
  .ga-key--m { grid-column: 7 / span 6; margin-top: -24px; }
  .ga-ingame__flight { grid-column: 1 / span 6; }
}

/* ------------------------------------------------------------ Handy und Tablet */
@media (max-width: 899.98px) {
  .ga-sky__veil { background: linear-gradient(180deg, rgb(4 5 10 / .55) 0, rgb(4 5 10 / 0) 22%, rgb(4 5 10 / 0) 60%, rgb(4 5 10 / .7) 100%); }
  .ga-head { align-content: start; padding-top: calc(var(--nav-h) + 9vh); }
  .ga-lage { min-height: 0; padding-block: 18vh 12vh; }
  .ga-lage__text { padding: 24px 20px; margin-inline: -8px; background: linear-gradient(180deg, rgb(4 5 10 / .82), rgb(4 5 10 / .62)); }
  .ga-routes { justify-self: stretch; }
  .ga-stop { min-height: 0; padding-block: 56vh 10vh; gap: 0; }
  .ga-stop__frame { margin-inline: 8px; }
  .ga-stop--art .ga-stop__body { margin-top: -28px; }
  .ga-stop--right .ga-stop__frame { order: -1; }
  .ga-skies { grid-template-columns: minmax(0, 1fr); }
  .ga-map__frame { display: none; }
  .ga-map__side { padding-top: calc(var(--nav-h) + 24px); width: auto; margin-inline: var(--gutter); }
  .ga-map__stage { min-height: 100svh; }
  .ga-key__cap { width: 88px; }
}
/* Handy hochkant: die Tafel ist ein Bottom-Sheet, darüber stehen Galaxie und Kugel */
@media (max-width: 899.98px) and (orientation: portrait) {
  .ga-map__side { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 24px var(--gutter) 28px; width: auto; background: linear-gradient(180deg, rgb(4 5 10 / 0), rgb(4 5 10 / .88) 18%, rgb(4 5 10 / .96)); }
  .ga-map__side > .ga-map__note { display: none; }
  html.ga-js .ga-atlas {
    top: auto;
    left: 0;
    width: auto;
    height: min(62svh, 600px);
    transform: translateY(10%);
  }
  html.ga-js .ga-atlas__plate { border-left: 0; border-top: 1px solid color-mix(in srgb, var(--ga-c) 60%, transparent); background: linear-gradient(175deg, #0b1019, var(--void) 55%); }
  html.ga-js .ga-atlas__plate::before { width: 34%; height: 3px; }
  html.ga-js .ga-atlas__list { padding: 76px 20px 64px; }
  html.ga-js .ga-atlas__bar { top: 14px; right: 14px; }
}
@media (max-width: 759.98px) {
  .ga-head__actions .ec-cta { --cta-pad: 18px; }
  .ga-world__data { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 899.98px) and (orientation: landscape) {
  .ga-head { padding-top: calc(var(--nav-h) + 24px); }
  html.ga-js .ga-atlas { width: min(54vw, 520px); }
  html.ga-js .ga-atlas__list { padding: 70px 22px 64px; }
  .ga-map__side { padding-top: calc(var(--nav-h) + 16px); width: min(46vw, 360px); }
  .ga-map__side > .ga-map__note { display: none; }
}

/* Ohne JS / ohne WebGL: keine leeren Flugstrecken, Platz für die Menüzeile unter der Leiste */
html:not(.js) .ga-stop, html.ga-static .ga-stop { min-height: 0; padding-block: clamp(56px, 9vh, 96px); }
html:not(.js) .ga-lage, html.ga-static .ga-lage { min-height: 0; }
html:not(.js) .ga-map__hit, html.ga-static .ga-map__hit, html:not(.js) .ga-map__frame, html.ga-static .ga-map__frame { display: none; }
html:not(.js) .ga-map__stage, html.ga-static .ga-map__stage { min-height: 0; }
html:not(.js) .ga-map__side, html.ga-static .ga-map__side { position: relative; background: none; }
@media (max-width: 1199.98px) {
  html:not(.js) .ga-head { padding-top: calc(var(--nav-h) + 132px); }
}

/* Reduzierte Bewegung, fx off */
html[data-fx="off"] .ga-tag, html[data-fx="off"] .ga-atlas, html[data-fx="off"] .ga-flight > *, html[data-fx="off"] .ga-map__stage > * { transition: none !important; }
html[data-fx="off"] .ga-world.is-active, html[data-fx="off"] .ga-atlas.is-swap .ga-atlas__plate::after { animation: none !important; }
