/*
 * Abgegrenzter Gestaltungsbereich fuer Magnetare > Zeitleiste.
 * Allgemeine Timeline-Bausteine in SKAO und Experimente bleiben unveraendert.
 */

:root {
  --timeline-gold: #d9b867;
  --timeline-gold-bright: #fff0bd;
  --timeline-blue: #75aef8;
  --timeline-ink: #03060c;
}

body:has(#inhalt > .magnetar-timeline.active.sub-active) {
  overflow-x: clip;
  background:
    linear-gradient(90deg, rgba(1, 4, 9, 0.98) 0%, rgba(2, 7, 16, 0.86) 26%, rgba(2, 6, 13, 0.92) 74%, rgba(1, 4, 9, 0.98) 100%),
    radial-gradient(circle at 78% 18%, rgba(70, 129, 213, 0.16), transparent 32%),
    radial-gradient(circle at 18% 56%, rgba(217, 184, 103, 0.10), transparent 30%),
    #010309;
  background-attachment: fixed;
}

body:has(#inhalt > .magnetar-timeline.active.sub-active)::before,
body:has(#inhalt > .magnetar-timeline.active.sub-active)::after {
  opacity: 0;
}

body > .timeline-aura-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: none;
  isolation: isolate;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 100%, rgba(77, 137, 224, 0.12), transparent 40%),
    #010309;
}

body:has(#inhalt > .magnetar-timeline.active.sub-active) > .timeline-aura-background {
  display: block;
}

body:has(#inhalt > .magnetar-timeline.active.sub-active) > #inhalt,
body:has(#inhalt > .magnetar-timeline.active.sub-active) > footer {
  position: relative;
  z-index: 1;
}

body > .timeline-aura-background .timeline-aura-scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0.50;
}

body > .timeline-aura-background .timeline-aura-colorize {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: #4d89e0;
  mix-blend-mode: color;
  opacity: 0.72;
}

body > .timeline-aura-background .timeline-aura-glow {
  position: absolute;
  top: 54%;
  left: 50%;
  z-index: 3;
  width: min(800px, 82vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(72, 116, 186, 0.16);
  filter: blur(110px);
  mix-blend-mode: screen;
  transform: translate(-50%, -50%);
}

body > .timeline-aura-background .timeline-aura-dots {
  position: absolute;
  inset: 0;
  z-index: 4;
  opacity: 0.42;
  background-image: radial-gradient(rgba(255, 240, 189, 0.075) 1px, transparent 1px);
  background-size: 24px 24px;
}

body > .timeline-aura-background .timeline-aura-noise {
  position: absolute;
  inset: 0;
  z-index: 5;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body > .timeline-aura-background .timeline-aura-vignette {
  position: absolute;
  inset: 0;
  z-index: 6;
  background:
    linear-gradient(90deg, rgba(0, 3, 8, 0.78), transparent 18%, transparent 82%, rgba(0, 3, 8, 0.78)),
    linear-gradient(180deg, rgba(0, 3, 8, 0.34), transparent 24%, rgba(0, 3, 8, 0.30));
  box-shadow: inset 0 -22vh 18vh rgba(0, 3, 8, 0.42);
}

body:has(#inhalt > .magnetar-timeline.active.sub-active) #magnetare-hub.page-section.active {
  border-color: rgba(217, 184, 103, 0.26);
  background:
    radial-gradient(circle at 86% 0%, rgba(77, 137, 224, 0.15), transparent 38%),
    linear-gradient(180deg, rgba(7, 13, 26, 0.94), rgba(3, 8, 18, 0.90) 76%, rgba(3, 7, 15, 0.66));
}

body:has(#inhalt > .magnetar-timeline.active.sub-active) #magnetare-hub .section-head::after {
  background: linear-gradient(90deg, transparent, rgba(217, 184, 103, 0.78) 18%, rgba(255, 240, 189, 0.94) 50%, rgba(117, 174, 248, 0.66) 82%, transparent);
  box-shadow: 0 0 14px rgba(217, 184, 103, 0.26);
}

body:has(#inhalt > .magnetar-timeline.active.sub-active) #magnetarTabs {
  border-color: rgba(217, 184, 103, 0.20);
  background:
    radial-gradient(circle at 16% 0%, rgba(217, 184, 103, 0.11), transparent 37%),
    rgba(3, 9, 20, 0.92);
}

body:has(#inhalt > .magnetar-timeline.active.sub-active) #magnetarTabs .mini-tab {
  --button-effect-color: #e2c879;
  --tab-gradient: linear-gradient(137deg, #fff0bd 0%, #d9b867 48%, #4e83cc 100%);
}

#inhalt > .magnetar-timeline {
  position: relative;
  isolation: isolate;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
  scroll-margin-top: calc(var(--main-nav-height) + 150px);
}

#inhalt > .magnetar-timeline > .section-head {
  box-sizing: border-box;
  width: var(--site-main-banner-reference-width);
  max-width: var(--site-main-banner-reference-width);
  margin: 0 auto clamp(18px, 2.4vw, 30px);
  padding: 0 2px clamp(14px, 1.8vw, 20px);
  border-bottom: 1px solid rgba(217, 184, 103, 0.24);
}

#inhalt > .magnetar-timeline > .section-head h2 {
  color: var(--timeline-gold-bright);
  text-shadow: 0 0 22px rgba(217, 184, 103, 0.14);
}

#inhalt > .magnetar-timeline > .section-head p {
  max-width: 78ch;
  color: rgba(222, 231, 244, 0.82);
}

#inhalt > .magnetar-timeline > .panel.intro {
  margin-top: 0;
}

#inhalt > .magnetar-timeline .site-main-banner {
  --site-main-banner-line: rgba(217, 184, 103, 0.58);
  --site-main-banner-inner-light: rgba(217, 184, 103, 0.10);
  --site-main-banner-outer-light: rgba(68, 126, 210, 0.11);
  background:
    linear-gradient(90deg, rgba(3, 6, 12, 0.96) 0%, rgba(3, 7, 14, 0.86) 48%, rgba(3, 8, 17, 0.30) 72%, rgba(3, 7, 15, 0.44) 100%),
    radial-gradient(circle at 78% 60%, rgba(72, 139, 232, 0.12), transparent 34%),
    radial-gradient(circle at 12% 18%, rgba(217, 184, 103, 0.13), transparent 32%),
    url("../assets/magnetar-zeitleiste-banner-horizont-v1.webp") 72% 73% / cover no-repeat,
    #050a14;
}

#inhalt > .magnetar-timeline .site-main-banner .tagline {
  color: var(--timeline-gold);
}

#inhalt > .magnetar-timeline .site-main-banner blockquote {
  max-width: 32ch;
  color: #f6f8fc;
  text-wrap: balance;
}

#inhalt > .magnetar-timeline .timeline-status {
  box-sizing: border-box;
  width: var(--site-main-banner-reference-width);
  margin: clamp(34px, 4vw, 52px) auto 0;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
  border: 1px solid rgba(217, 184, 103, 0.20);
  border-radius: 8px;
  background: rgba(3, 8, 18, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 240, 189, 0.04);
}

#inhalt > .magnetar-timeline .timeline-status > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

#inhalt > .magnetar-timeline .timeline-status-label {
  color: rgba(215, 226, 241, 0.66);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

#inhalt > .magnetar-timeline .timeline-status strong {
  color: #f4d982;
  font-size: 0.92rem;
  line-height: 1.4;
}

#inhalt > .magnetar-timeline .timeline-status .timeline-legend {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding-top: 12px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  border-top: 1px solid rgba(217, 184, 103, 0.16);
  color: rgba(215, 226, 241, 0.72);
  font-size: 0.74rem;
  line-height: 1.5;
}

#inhalt > .magnetar-timeline .timeline-legend b {
  color: #b8d5ff;
}

#inhalt > .magnetar-timeline .timeline-method-link {
  margin-left: auto;
  color: #f4d982;
  font-weight: 850;
  text-decoration: none;
  text-underline-offset: 3px;
}

#inhalt > .magnetar-timeline .timeline-method-link:hover,
#inhalt > .magnetar-timeline .timeline-method-link:focus-visible {
  color: #fff0bd;
  text-decoration: underline;
}

#inhalt > .magnetar-timeline .timeline {
  gap: 12px;
  box-sizing: border-box;
  width: var(--site-main-banner-reference-width);
  max-width: var(--site-main-banner-reference-width);
  margin: clamp(24px, 3.4vw, 42px) auto 0;
  padding-left: 28px;
}

#inhalt > .magnetar-timeline .timeline::before {
  left: 7px;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: linear-gradient(180deg, rgba(255, 240, 189, 0.14), rgba(217, 184, 103, 0.82) 18%, rgba(117, 174, 248, 0.70) 72%, rgba(117, 174, 248, 0.10));
  box-shadow: 0 0 18px rgba(217, 184, 103, 0.20);
}

#inhalt > .magnetar-timeline .timeline-item {
  min-width: 0;
  max-width: 100%;
  grid-template-columns: minmax(88px, 118px) minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 30px);
  min-height: 112px;
  padding: clamp(18px, 2.2vw, 26px);
  overflow: visible;
  border: 1px solid rgba(217, 184, 103, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(110deg, rgba(217, 184, 103, 0.055), transparent 27%),
    linear-gradient(180deg, rgba(6, 13, 27, 0.91), rgba(3, 8, 18, 0.88));
  box-shadow: inset 0 1px 0 rgba(255, 240, 189, 0.045), 0 14px 34px rgba(0, 0, 0, 0.22);
  content-visibility: auto;
  contain-intrinsic-size: auto 122px;
  transition: border-color 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

#inhalt > .magnetar-timeline .timeline-item > div {
  min-width: 0;
  max-width: 100%;
}

#inhalt > .magnetar-timeline .timeline-period {
  min-width: 0;
  margin: 0;
}

#inhalt > .magnetar-timeline .timeline-era {
  min-width: 0;
  margin: clamp(20px, 3vw, 32px) 0 4px;
  padding: 0 2px 10px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  border-bottom: 1px solid rgba(217, 184, 103, 0.30);
  color: #f4d982;
  cursor: pointer;
  list-style: none;
}

#inhalt > .magnetar-timeline .timeline-era::-webkit-details-marker {
  display: none;
}

#inhalt > .magnetar-timeline .timeline-era::after {
  content: "+ Abschnitt öffnen";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 39px;
  margin-left: auto;
  padding: 9px 14px;
  border: 1px solid rgba(255, 213, 106, 0.34);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 213, 106, 0.10), rgba(255, 213, 106, 0.045)), rgba(9, 16, 32, 0.72);
  color: var(--timeline-gold);
  font-size: 0.94rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

#inhalt > .magnetar-timeline .timeline-period[open] > .timeline-era::after {
  content: "− Abschnitt schließen";
}

#inhalt > .magnetar-timeline .timeline-era:first-child {
  margin-top: 0;
}

#inhalt > .magnetar-timeline .timeline-era span {
  flex: 0 0 auto;
  color: var(--timeline-blue);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.11em;
}

#inhalt > .magnetar-timeline .timeline-era strong {
  min-width: 0;
  font-size: clamp(0.92rem, 1.4vw, 1.08rem);
  line-height: 1.35;
}

#inhalt > .magnetar-timeline .timeline-item::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -26px;
  width: 9px;
  height: 9px;
  border: 1px solid rgba(255, 240, 189, 0.90);
  border-radius: 50%;
  background: #0b172a;
  box-shadow: 0 0 0 5px rgba(217, 184, 103, 0.08), 0 0 18px rgba(217, 184, 103, 0.34);
  transform: translateY(-50%);
}

#inhalt > .magnetar-timeline .timeline-item::after {
  background: linear-gradient(90deg, rgba(217, 184, 103, 0.08), transparent 34%, rgba(77, 137, 224, 0.07));
}

#inhalt > .magnetar-timeline .timeline-item:hover {
  border-color: rgba(217, 184, 103, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 240, 189, 0.07), 0 14px 34px rgba(0, 0, 0, 0.26);
}

#inhalt > .magnetar-timeline .timeline-year {
  color: var(--timeline-gold);
  font-size: clamp(0.92rem, 1.3vw, 1.08rem);
  line-height: 1.3;
}

#inhalt > .magnetar-timeline .timeline-item h3 {
  margin-bottom: 8px;
  color: #f2f5fa;
  overflow-wrap: anywhere;
}

#inhalt > .magnetar-timeline .timeline-title-row {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

#inhalt > .magnetar-timeline .timeline-title-row h3 {
  min-width: 0;
}

#inhalt > .magnetar-timeline .timeline-badge {
  flex: 0 0 auto;
  padding: 4px 8px;
  border: 1px solid rgba(117, 174, 248, 0.34);
  border-radius: 999px;
  background: rgba(35, 82, 147, 0.16);
  color: #b8d5ff;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

#inhalt > .magnetar-timeline .timeline-item p {
  min-width: 0;
  max-width: min(78ch, 100%);
  margin-bottom: 0;
  color: rgba(215, 226, 241, 0.82);
  line-height: 1.72;
  overflow-wrap: anywhere;
}

#inhalt > .magnetar-timeline > .universal-universe-edge {
  position: relative;
  isolation: isolate;
  min-height: clamp(190px, 20vw, 238px);
  margin-top: clamp(68px, 7vw, 102px);
  padding: clamp(26px, 4vw, 42px);
  align-content: flex-end;
  overflow: hidden;
  border-color: rgba(217, 184, 103, 0.42);
  background:
    radial-gradient(ellipse at center, transparent 38%, rgba(1, 4, 10, 0.24) 72%, rgba(1, 4, 10, 0.84) 100%),
    linear-gradient(180deg, rgba(2, 6, 13, 0.02), rgba(2, 6, 13, 0.16) 48%, rgba(2, 6, 13, 0.92) 100%),
    url("../assets/magnetar-zeitleiste-banner-horizont-v1.webp") center / contain no-repeat,
    #03060c;
  box-shadow:
    inset 0 1px 0 rgba(255, 240, 189, 0.10),
    inset 0 0 34px rgba(77, 137, 224, 0.08),
    0 28px 66px rgba(0, 0, 0, 0.34);
  animation: none;
}

#inhalt > .magnetar-timeline > .universal-universe-edge::before,
#inhalt > .magnetar-timeline > .universal-universe-edge::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 48%;
  left: 101%;
  width: 9px;
  height: 9px;
  pointer-events: none;
  opacity: 0;
  border-radius: 50%;
  background: radial-gradient(circle, #fff9e6 0 12%, #e8ca78 28%, rgba(77, 137, 224, 0.34) 54%, transparent 74%);
  box-shadow: 0 0 8px rgba(217, 184, 103, 0.24);
  animation: timeline-edge-shine 11.5s linear infinite paused;
}

#inhalt > .magnetar-timeline > .universal-universe-edge::after {
  top: 55%;
  width: 6px;
  height: 6px;
  background: radial-gradient(circle, #f4f8ff 0 12%, #9dc5ff 30%, rgba(77, 137, 224, 0.26) 54%, transparent 74%);
  box-shadow: 0 0 6px rgba(117, 174, 248, 0.18);
  animation-delay: 6.5s;
}

#inhalt > .magnetar-timeline > .universal-universe-edge.is-motion-active,
#inhalt > .magnetar-timeline > .universal-universe-edge.is-motion-active::before,
#inhalt > .magnetar-timeline > .universal-universe-edge.is-motion-active::after {
  animation-play-state: running;
}

#inhalt > .magnetar-timeline > .universal-universe-edge > * {
  position: relative;
  z-index: 1;
}

#inhalt > .magnetar-timeline > .universal-universe-edge p {
  color: #fff3cf;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.90);
}

#inhalt > .magnetar-timeline > .universal-universe-edge .universe-back-to-top {
  border-color: rgba(217, 184, 103, 0.68);
  background: rgba(4, 8, 16, 0.86);
  color: #f4d982;
  box-shadow: inset 0 1px 0 rgba(255, 240, 189, 0.10), 0 0 22px rgba(77, 137, 224, 0.08);
}

@keyframes timeline-edge-depth {
  from {
    background-position: center, center, right center, center;
    background-size: auto, auto, 145% auto, auto;
  }

  to {
    background-position: center, center, 98% center, center;
    background-size: auto, auto, 148% auto, auto;
  }
}

@keyframes timeline-edge-shine {
  0%,
  12% {
    left: 101%;
    opacity: 0;
  }

  18% {
    opacity: 0.92;
  }

  78% {
    left: -2%;
    opacity: 0.72;
  }

  84%,
  100% {
    left: -2%;
    opacity: 0;
  }
}

:root[data-theme="light"] body:has(#inhalt > .magnetar-timeline.active.sub-active) {
  background:
    linear-gradient(90deg, rgba(232, 238, 247, 0.98), rgba(245, 248, 252, 0.92) 26%, rgba(239, 244, 251, 0.94) 74%, rgba(228, 235, 245, 0.98)),
    #edf2f8;
}

:root[data-theme="light"] body > .timeline-aura-background {
  background:
    radial-gradient(circle at 50% 100%, rgba(61, 112, 188, 0.16), transparent 42%),
    linear-gradient(180deg, #dce7f4 0%, #eef3f9 58%, #e2eaf4 100%);
}

:root[data-theme="light"] body > .timeline-aura-background .timeline-aura-scene {
  opacity: 0.20;
}

:root[data-theme="light"] body > .timeline-aura-background .timeline-aura-colorize {
  opacity: 0.34;
}

:root[data-theme="light"] body > .timeline-aura-background .timeline-aura-dots {
  opacity: 0.26;
  background-image: radial-gradient(rgba(42, 77, 127, 0.13) 1px, transparent 1px);
}

:root[data-theme="light"] body > .timeline-aura-background .timeline-aura-vignette {
  background:
    linear-gradient(90deg, rgba(221, 231, 244, 0.78), transparent 18%, transparent 82%, rgba(221, 231, 244, 0.78)),
    linear-gradient(180deg, rgba(226, 235, 246, 0.52), transparent 25%);
  box-shadow: inset 0 -20vh 17vh rgba(224, 234, 246, 0.38);
}

:root[data-theme="light"] body:has(#inhalt > .magnetar-timeline.active.sub-active) #magnetare-hub.page-section.active {
  border-color: rgba(145, 107, 26, 0.22);
  background:
    radial-gradient(circle at 84% 0%, rgba(71, 126, 205, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(251, 253, 255, 0.94), rgba(232, 239, 248, 0.88) 76%, rgba(240, 245, 251, 0.72));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94), 0 18px 42px rgba(40, 66, 102, 0.12);
}

:root[data-theme="light"] body:has(#inhalt > .magnetar-timeline.active.sub-active) #magnetare-hub .section-head h2 {
  color: #142846;
}

:root[data-theme="light"] #inhalt > .magnetar-timeline > .section-head h2,
:root[data-theme="light"] #inhalt > .magnetar-timeline .timeline-item h3 {
  color: #142846;
  text-shadow: none;
}

:root[data-theme="light"] #inhalt > .magnetar-timeline > .section-head p,
:root[data-theme="light"] #inhalt > .magnetar-timeline .timeline-item p {
  color: #40536e;
}

:root[data-theme="light"] #inhalt > .magnetar-timeline .timeline-item {
  border-color: rgba(145, 107, 26, 0.24);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(237, 243, 250, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94), 0 14px 30px rgba(40, 66, 102, 0.11);
}

:root[data-theme="light"] #inhalt > .magnetar-timeline .timeline-status {
  border-color: rgba(145, 107, 26, 0.24);
  background: rgba(247, 251, 255, 0.90);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94), 0 12px 28px rgba(40, 66, 102, 0.09);
}

:root[data-theme="light"] #inhalt > .magnetar-timeline .timeline-status-label {
  color: #5c6f88;
}

:root[data-theme="light"] #inhalt > .magnetar-timeline .timeline-status strong,
:root[data-theme="light"] #inhalt > .magnetar-timeline .timeline-era {
  color: #765716;
}

:root[data-theme="light"] #inhalt > .magnetar-timeline .timeline-badge {
  border-color: rgba(43, 92, 167, 0.28);
  background: rgba(61, 112, 188, 0.08);
  color: #244d87;
}

:root[data-theme="light"] #inhalt > .magnetar-timeline .timeline-status .timeline-legend {
  border-top-color: rgba(145, 107, 26, 0.18);
  color: #50647e;
}

:root[data-theme="light"] #inhalt > .magnetar-timeline .timeline-legend b {
  color: #24558f;
}

:root[data-theme="light"] #inhalt > .magnetar-timeline .timeline-method-link {
  color: #765716;
}

:root[data-theme="light"] #inhalt > .magnetar-timeline .timeline-method-link:hover,
:root[data-theme="light"] #inhalt > .magnetar-timeline .timeline-method-link:focus-visible {
  color: #24558f;
}

:root[data-theme="light"] #inhalt > .magnetar-timeline .timeline-year {
  color: #8d6818;
}

:root[data-theme="light"] #inhalt > .magnetar-timeline > .universal-universe-edge {
  border-color: rgba(145, 107, 26, 0.38);
  background:
    radial-gradient(ellipse at center, transparent 38%, rgba(1, 4, 10, 0.24) 72%, rgba(1, 4, 10, 0.84) 100%),
    linear-gradient(180deg, rgba(2, 6, 13, 0.02), rgba(2, 6, 13, 0.16) 48%, rgba(2, 6, 13, 0.92) 100%),
    url("../assets/magnetar-zeitleiste-banner-horizont-v1.webp") center / contain no-repeat,
    #03060c;
  box-shadow: inset 0 1px 0 rgba(255, 240, 189, 0.12), 0 24px 56px rgba(40, 66, 102, 0.15);
}

:root[data-theme="light"] #inhalt > .magnetar-timeline > .universal-universe-edge p {
  color: #fff3cf;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.90);
}

:root[data-theme="light"] #inhalt > .magnetar-timeline > .universal-universe-edge .universe-back-to-top {
  border-color: rgba(217, 184, 103, 0.68);
  background: rgba(4, 8, 16, 0.88);
  color: #f4d982;
  box-shadow: inset 0 1px 0 rgba(255, 240, 189, 0.12), 0 10px 26px rgba(40, 66, 102, 0.14);
}

@media (min-width: 901px) {
  #inhalt > .magnetar-timeline .timeline-era {
    padding-right: 154px;
  }

  #inhalt > .magnetar-timeline .timeline-method-link {
    margin-right: 154px;
  }
}

@media (max-width: 720px) {
  body:has(#inhalt > .magnetar-timeline.active.sub-active) {
    background-attachment: scroll;
  }

  body > .timeline-aura-background .timeline-aura-scene {
    opacity: 0.34;
  }

  body > .timeline-aura-background .timeline-aura-glow {
    width: 125vw;
    filter: blur(76px);
  }

  body > .timeline-aura-background .timeline-aura-dots {
    opacity: 0.26;
    background-size: 20px 20px;
  }

  #inhalt > .magnetar-timeline > .section-head {
    width: var(--site-main-banner-reference-width);
    padding-bottom: 12px;
  }

  #inhalt > .magnetar-timeline .site-main-banner blockquote {
    font-size: clamp(1.5rem, 8vw, 2.25rem);
  }

  #inhalt > .magnetar-timeline .site-main-banner {
    background-position: center, center, center, 76% 72%;
  }

  #inhalt > .magnetar-timeline .timeline {
    width: var(--site-main-banner-reference-width);
    max-width: 100%;
    padding-left: 0;
  }

  #inhalt > .magnetar-timeline .timeline-status {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px;
  }

  #inhalt > .magnetar-timeline .timeline-status .timeline-legend {
    display: grid;
    align-items: start;
    gap: 7px;
  }

  #inhalt > .magnetar-timeline .timeline-method-link {
    margin: 5px 0 0;
  }

  body:has(#inhalt > .magnetar-timeline.active.sub-active) .floating-tools {
    transition: opacity 180ms ease, transform 180ms ease;
  }

  body:has(#inhalt > .magnetar-timeline.active.sub-active) .floating-tools:has(.site-scroll-route.is-scrolling) {
    opacity: 0.08;
    pointer-events: none;
    transform: translateY(calc(100% + 20px));
  }

  #inhalt > .magnetar-timeline .timeline::before,
  #inhalt > .magnetar-timeline .timeline-item::before {
    display: none;
  }

  #inhalt > .magnetar-timeline .timeline-item {
    width: 100%;
    max-width: 100%;
    grid-template-columns: 1fr;
    gap: 8px;
    min-height: 0;
    padding: 18px;
    contain-intrinsic-size: auto 180px;
  }

  #inhalt > .magnetar-timeline .timeline-era {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  #inhalt > .magnetar-timeline .timeline-era::after {
    align-self: flex-end;
    margin-top: 8px;
  }

  #inhalt > .magnetar-timeline .timeline-title-row {
    display: grid;
    justify-items: start;
    gap: 2px;
  }

  body:has(#inhalt > .magnetar-timeline.active.sub-active) > footer {
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 118px);
  }

  #inhalt > .magnetar-timeline > .universal-universe-edge,
  :root[data-theme="light"] #inhalt > .magnetar-timeline > .universal-universe-edge {
    min-height: 196px;
    margin-top: 58px;
    padding: 24px 18px;
    background-size: auto, auto, contain, auto;
    background-position: center, center, center, center;
    animation: none;
  }

  #inhalt > .magnetar-timeline > .universal-universe-edge p {
    flex-basis: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  body > .timeline-aura-background .timeline-aura-scene {
    display: none;
  }

  #inhalt > .magnetar-timeline .timeline-item {
    transition: none;
  }

  body:has(#inhalt > .magnetar-timeline.active.sub-active) .floating-tools {
    transition: none;
  }

  #inhalt > .magnetar-timeline .timeline-item:hover {
    transform: none;
  }

  #inhalt > .magnetar-timeline > .universal-universe-edge,
  #inhalt > .magnetar-timeline > .universal-universe-edge::before,
  #inhalt > .magnetar-timeline > .universal-universe-edge::after {
    animation: none !important;
  }
}
