﻿:root {
  /* Executive / Abstract-Landscape – inspiriert von Corporate-Deck-Paletten */
  --bg-deep: #0a1422;
  --bg-mid: #122436;
  --bg-panel: rgba(16, 32, 50, 0.62);
  --bg-panel-strong: rgba(10, 22, 36, 0.84);
  --landscape-sage: #5c7a6e;
  --landscape-teal: #3d6b7a;
  --landscape-petrol: #4a8f9e;
  --accent: #6eb5c4;
  --accent-strong: #4d9aaa;
  --accent-soft: rgba(110, 181, 196, 0.22);
  --accent-glow: rgba(110, 181, 196, 0.38);
  --accent-focus: rgba(110, 181, 196, 0.18);
  --gold: #d4b896;
  --gold-soft: rgba(212, 184, 150, 0.28);
  --border: rgba(110, 181, 196, 0.2);
  --border-soft: rgba(255, 255, 255, 0.07);
  --cyan: var(--accent);
  --cyan-dim: var(--accent-glow);
  --amber: #c9a66e;
  --text: #e8edf2;
  --text-muted: #94a8bc;
  --font-display: "Orbitron", system-ui, sans-serif;
  --font-body: "Rajdhani", system-ui, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --shadow-sm: 0 10px 32px rgba(6, 14, 24, 0.32);
  --shadow-md: 0 18px 48px rgba(4, 10, 18, 0.4);
  --gradient-accent: linear-gradient(135deg, var(--accent-strong) 0%, var(--landscape-petrol) 45%, var(--gold) 100%);
  --gradient-panel: linear-gradient(
    145deg,
    rgba(110, 181, 196, 0.1) 0%,
    rgba(16, 32, 50, 0.55) 38%,
    rgba(10, 22, 36, 0.72) 100%
  );
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--text);
  background: #010308;
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* overflow-x:hidden am body bricht position:fixed in manchen Browsern – Planner nutzt clip */
body.planner-page {
  overflow-x: clip;
}

/* --- Cinematischer Weltraum (RSI-inspiriert) --- */
.space-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.space-bg__base {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 95% 42% at 50% 108%, rgba(92, 122, 110, 0.38) 0%, transparent 58%),
    radial-gradient(ellipse 75% 48% at 18% 72%, rgba(61, 107, 122, 0.42) 0%, transparent 52%),
    radial-gradient(ellipse 65% 40% at 88% 22%, rgba(212, 184, 150, 0.14) 0%, transparent 48%),
    radial-gradient(ellipse 55% 35% at 50% 12%, rgba(18, 36, 54, 0.95) 0%, transparent 62%),
    linear-gradient(188deg, #080f18 0%, #0f1f32 42%, #152a3d 68%, #0c1828 100%);
}

.space-bg__nebula {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform, opacity;
}

.space-bg__nebula--a {
  width: 70%;
  height: 50%;
  top: -15%;
  right: -20%;
  background: radial-gradient(circle, rgba(74, 143, 158, 0.24) 0%, transparent 70%);
  animation: nebula-drift-a 28s ease-in-out infinite;
}

.space-bg__nebula--b {
  width: 55%;
  height: 45%;
  bottom: 5%;
  left: -15%;
  background: radial-gradient(circle, rgba(92, 122, 110, 0.22) 0%, transparent 68%);
  animation: nebula-drift-b 34s ease-in-out infinite;
}

.space-bg__nebula--c {
  width: 40%;
  height: 35%;
  top: 35%;
  left: 30%;
  background: radial-gradient(circle, rgba(212, 184, 150, 0.1) 0%, transparent 65%);
  animation: nebula-drift-c 22s ease-in-out infinite;
}

@keyframes nebula-drift-a {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.85; }
  50% { transform: translate(-3%, 2%) scale(1.06); opacity: 1; }
}

@keyframes nebula-drift-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(4%, -2%) scale(1.04); opacity: 0.9; }
}

@keyframes nebula-drift-c {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.75; transform: scale(1.08); }
}

.space-bg__horizon {
  position: absolute;
  bottom: -25%;
  left: -15%;
  right: -15%;
  height: 65%;
  background: radial-gradient(
    ellipse 75% 55% at 50% 100%,
    rgba(110, 181, 196, 0.22) 0%,
    rgba(30, 55, 100, 0.12) 40%,
    transparent 72%
  );
  animation: horizon-glow 10s ease-in-out infinite;
}

@keyframes horizon-glow {
  0%, 100% { opacity: 0.75; }
  50% { opacity: 1; }
}

.space-bg__stars {
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
}

.space-bg__stars--far {
  opacity: 0.35;
  background-image:
    radial-gradient(1px 1px at 20px 30px, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1px 1px at 120px 80px, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1.5px 1.5px at 200px 150px, rgba(200, 220, 255, 0.45), transparent),
    radial-gradient(1px 1px at 280px 40px, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1px 1px at 50px 200px, rgba(255, 255, 255, 0.4), transparent);
  background-size: 320px 320px;
  animation: stars-drift-far 200s linear infinite;
}

.space-bg__stars--mid {
  opacity: 0.55;
  background-image:
    radial-gradient(1.5px 1.5px at 40px 60px, #fff, transparent),
    radial-gradient(1px 1px at 150px 20px, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(2px 2px at 90px 180px, rgba(180, 220, 255, 0.85), transparent),
    radial-gradient(1px 1px at 220px 120px, rgba(255, 255, 255, 0.6), transparent);
  background-size: 240px 240px;
  animation: stars-drift-mid 140s linear infinite;
}

.space-bg__stars--near {
  opacity: 0.7;
  background-image:
    radial-gradient(2px 2px at 30px 50px, #fff, transparent),
    radial-gradient(1.5px 1.5px at 100px 100px, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(2.5px 2.5px at 170px 30px, rgba(200, 235, 255, 1), transparent);
  background-size: 180px 180px;
  animation: stars-drift-near 90s linear infinite;
}

@keyframes stars-drift-far {
  to { transform: translate3d(-80px, -40px, 0); }
}

@keyframes stars-drift-mid {
  to { transform: translate3d(-120px, -60px, 0); }
}

@keyframes stars-drift-near {
  to { transform: translate3d(-160px, -80px, 0); }
}

.space-bg__shooting::after {
  content: "";
  position: absolute;
  top: 18%;
  left: 5%;
  width: 140px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent);
  transform: rotate(-32deg);
  opacity: 0;
  animation: shooting-star 14s ease-in-out infinite;
}

@keyframes shooting-star {
  0%, 88%, 100% { opacity: 0; transform: translateX(0) rotate(-32deg); }
  90% { opacity: 1; }
  97% { opacity: 0; transform: translateX(75vw) rotate(-32deg); }
}

.space-bg__vignette {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 200px 90px rgba(0, 0, 0, 0.75);
}

.space-bg__grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.space-bg__grid {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(var(--accent-focus) 1px, transparent 1px),
    linear-gradient(90deg, var(--accent-focus) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 10%, transparent 75%);
}

@media (prefers-reduced-motion: reduce) {
  .space-bg__nebula,
  .space-bg__stars,
  .space-bg__horizon,
  .space-bg__shooting::after {
    animation: none !important;
  }
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 2rem;
  background: rgba(4, 8, 14, 0.66);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
}

.logo__brand {
  display: block;
  height: 2.65rem;
  width: auto;
  max-width: min(13.5rem, 52vw);
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(4, 10, 18, 0.4));
}

.logo--wordmark .logo__text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.logo__mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.4rem 0.5rem;
  border: 1px solid rgba(0, 212, 255, 0.22);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), transparent);
  color: var(--cyan);
}

.logo__text {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1rem;
}

.nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nav__link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav__link:hover,
.nav__link--active {
  color: var(--cyan);
}

.nav__link--muted {
  opacity: 0.5;
  cursor: default;
}

.nav__link--muted small {
  font-size: 0.7em;
  text-transform: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
}

.btn--sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
}

.btn--primary {
  background: linear-gradient(135deg, var(--cyan), #0099cc);
  color: #001018;
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.35);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 32px rgba(0, 212, 255, 0.5);
}

.btn--ghost {
  background: transparent;
  color: var(--cyan);
  border: 1px solid rgba(0, 212, 255, 0.18);
}

.btn--ghost:hover {
  background: rgba(0, 212, 255, 0.08);
}

main {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
}

.home-main {
  max-width: min(100%, 2200px);
  padding-left: clamp(1rem, 2.5vw, 2.5rem);
  padding-right: clamp(1rem, 2.5vw, 2.5rem);
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  min-height: 75vh;
  padding: 4rem 0;
}

.hero--hub {
  display: block;
  min-height: auto;
  padding: 3rem clamp(1rem, 3vw, 2.5rem) 2.75rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero--hub__inner {
  max-width: 42rem;
  margin: 0 auto;
}

.hero--hub__brand {
  margin-bottom: 1rem;
}

.hero--hub__logo-img {
  display: block;
  width: min(22rem, 90vw);
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 28px rgba(4, 10, 18, 0.55));
}

.hero--hub__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--cyan);
  border: 2px solid var(--cyan-dim);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.12), transparent);
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.15);
}

.hero--hub h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin: 0 0 0.75rem;
  letter-spacing: 0.02em;
}

.hero--hub__lead {
  margin-left: auto;
  margin-right: auto;
  max-width: 38ch;
}

.hero-search {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin: 1.75rem 0 1.5rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-search__input {
  flex: 1 1 14rem;
  min-width: 0;
  padding: 0.85rem 1.1rem;
  font-size: 1.05rem;
  font-family: var(--font-body);
  background: rgba(6, 12, 22, 0.92);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
}

.hero-search__input:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2);
}

.hero-search__btn {
  flex-shrink: 0;
}

.hero--hub__stats {
  justify-content: center;
  gap: 2.5rem;
}

.home-hub-tiles {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.5vw, 1.25rem);
  width: 100%;
  max-width: min(96rem, 100%);
  margin: 2.25rem auto 0;
  padding: 0;
  text-align: left;
  align-items: stretch;
}

@media (max-width: 1200px) {
  .home-hub-tiles {
    max-width: min(56rem, 100%);
  }
}

@media (max-width: 900px) {
  .home-hub-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 36rem;
  }
}

@media (max-width: 520px) {
  .home-hub-tiles {
    grid-template-columns: 1fr;
    max-width: 22rem;
  }
}

.home-hub-tile.glass-card {
  margin-bottom: 0;
}

.home-hub-tiles > .home-hub-tile {
  min-width: 0;
}

.home-hub-tile {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 0.55rem;
  min-height: 10.5rem;
  padding: 1.25rem 1.35rem 1.15rem;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background: linear-gradient(
    165deg,
    rgba(0, 212, 255, 0.07) 0%,
    rgba(8, 14, 24, 0.72) 48%,
    rgba(6, 10, 18, 0.88) 100%
  );
  border-radius: var(--radius-md);
  transition:
    transform 0.15s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.home-hub-tile::before {
  content: "";
  display: block;
  width: 2rem;
  height: 2px;
  margin-bottom: 0.15rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), rgba(0, 212, 255, 0.15));
}

.home-hub-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 212, 255, 0.32);
  box-shadow: var(--shadow-md);
  background: linear-gradient(
    165deg,
    rgba(0, 212, 255, 0.11) 0%,
    rgba(8, 14, 24, 0.78) 48%,
    rgba(6, 10, 18, 0.92) 100%
  );
}

.home-hub-tile--bazaar {
  background: linear-gradient(
    165deg,
    rgba(212, 184, 150, 0.12) 0%,
    rgba(8, 14, 24, 0.72) 48%,
    rgba(6, 10, 18, 0.88) 100%
  );
}

.home-hub-tile--bazaar::before {
  background: linear-gradient(90deg, var(--gold), rgba(212, 184, 150, 0.2));
}

.home-hub-tile--bazaar:hover {
  border-color: var(--gold-soft);
  background: linear-gradient(
    165deg,
    rgba(212, 184, 150, 0.16) 0%,
    rgba(8, 14, 24, 0.78) 48%,
    rgba(6, 10, 18, 0.92) 100%
  );
}

.home-hub-tile--bazaar .home-hub-tile__cta {
  color: var(--gold);
}

.home-hub-tile__eyebrow {
  font-family: var(--font-display);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--cyan);
  font-weight: 700;
  line-height: 1.2;
}

.home-hub-tile__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0;
  line-height: 1.3;
  color: var(--text);
  overflow-wrap: break-word;
  hyphens: auto;
}

.home-hub-tile__text {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.48;
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.home-hub-tile__cta {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-top: 0.15rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.header--home .nav {
  gap: 1rem;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.section--compact {
  padding: 2.5rem 0;
}

.section__head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.section__link {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cyan);
  text-decoration: none;
}

.section__link:hover {
  text-decoration: underline;
}

/* Home-Hub: Hauptspalte + Sidebar (hangarbase.de-Anlehnung) */
.home-hub {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

.home-hub__aside {
  position: sticky;
  top: 5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.home-aside-card {
  padding: 1.15rem 1.25rem;
}

.home-aside-card__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber);
  margin: 0 0 0.75rem;
}

.home-aside-card__title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--cyan);
  margin: 0 0 0.35rem;
}

.home-aside-card__hint {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
  line-height: 1.4;
}

.home-aside-featured__visual,
.focus-ship-mini__visual,
.hot-ship-card__visual {
  height: 5.5rem;
  margin-bottom: 0.75rem;
  border-radius: 6px;
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--mfr-accent, #00d4ff) 28%, transparent), transparent),
    linear-gradient(135deg, #0f1824, #1a2838);
  border: 1px solid color-mix(in srgb, var(--mfr-accent, #00d4ff) 35%, transparent);
  clip-path: polygon(6% 25%, 94% 12%, 100% 62%, 50% 92%, 0% 58%);
}

.home-aside-featured h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0.25rem 0;
}

.home-aside-featured__stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  margin: 0.85rem 0 1rem;
  padding: 0;
}

.home-aside-featured__stats li {
  text-align: center;
  padding: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
}

.home-aside-featured__stats span {
  display: block;
  color: var(--text-muted);
  font-size: 0.65rem;
  text-transform: uppercase;
}

.home-quick-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-quick-links a {
  display: block;
  padding: 0.45rem 0;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.home-quick-links a:hover {
  color: var(--cyan);
}

.focus-ships {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.focus-ship-mini {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.5rem;
  border: 1px solid var(--mfr-border, var(--border));
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  background: var(--mfr-muted, rgba(0, 20, 40, 0.35));
  transition: border-color 0.2s, transform 0.15s;
}

.focus-ship-mini:hover {
  border-color: var(--mfr-accent, var(--cyan));
  transform: translateX(3px);
}

.focus-ship-mini__visual {
  height: 3rem;
  margin: 0;
  clip-path: polygon(8% 30%, 92% 15%, 100% 70%, 0% 65%);
}

.focus-ship-mini strong {
  display: block;
  font-size: 0.92rem;
}

.focus-ship-mini span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* News-Hub */
.news-hub {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 1rem;
}

.news-hub__side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.news-card--hub {
  border-radius: var(--radius-md);
  transition: border-color 0.2s, transform 0.15s;
}

.news-card--hub:hover {
  border-color: rgba(0, 212, 255, 0.32);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.news-card__date {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.news-card__more {
  color: var(--cyan);
  font-weight: 600;
}

.news-feed {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-panel);
  box-shadow: var(--shadow-sm);
}

.news-feed__item {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.news-feed__item:last-child {
  border-bottom: none;
}

.news-feed__item time {
  font-size: 0.8rem;
  color: var(--amber);
  font-weight: 700;
}

.news-feed__item h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin: 0.25rem 0 0.35rem;
}

.news-feed__item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

.news-card--link,
.news-feed__item--link,
.news-list-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.news-card__thumb {
  height: 140px;
  margin: -1.25rem -1.25rem 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  background: radial-gradient(ellipse at center, #152030, #080c12);
}

.news-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.news-feed__item--link:hover {
  background: rgba(0, 212, 255, 0.06);
}

.news-feed__item--link:hover h3 {
  color: var(--text);
}

/* Beliebt / Heiß geklickt */
.hot-ships {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.hot-ship-card {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--mfr-border, var(--border-soft));
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--mfr-muted, var(--bg-panel));
  transition: transform 0.2s, box-shadow 0.2s;
}

.hot-ship-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--mfr-soft, rgba(0, 0, 0, 0.25));
  border-color: var(--mfr-accent, var(--cyan));
}

.hot-ship-card__rank {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--mfr-accent, var(--cyan));
  opacity: 0.9;
  line-height: 1;
}

.hot-ship-card__visual {
  height: 7rem;
  margin: 0;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  clip-path: none;
  background-size: cover;
  background-position: center;
  background-color: rgba(0, 0, 0, 0.35);
}

.hot-ship-card__body {
  padding: 1rem 1.1rem 1.15rem;
}

.hot-ship-card__cta {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--mfr-accent, var(--cyan));
}

/* Video Tour */
.video-tour {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.video-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-panel);
}

.video-card__frame {
  aspect-ratio: 16 / 9;
  background: radial-gradient(ellipse at center, #152030, #080c12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-card__consent {
  text-align: center;
  padding: 1rem;
  color: var(--text-muted);
}

.video-card__platform {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--border);
  color: var(--cyan);
  margin-bottom: 0.5rem;
}

.video-card--twitch .video-card__platform {
  color: #bf5af2;
  border-color: rgba(191, 90, 242, 0.4);
}

.video-card--youtube .video-card__platform {
  color: #ff4466;
  border-color: rgba(255, 68, 102, 0.4);
}

.video-card__consent small {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  opacity: 0.85;
}

.video-card__frame--live {
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem;
  text-align: center;
  color: var(--text-muted);
  background: linear-gradient(160deg, rgba(145, 70, 255, 0.12), #080c12);
}

.video-card__frame--twitch-link {
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.video-card__frame--twitch-link:hover {
  background: linear-gradient(160deg, rgba(145, 70, 255, 0.22), #0c1420);
  border-color: rgba(145, 70, 255, 0.45);
}

.video-card--twitch .video-card__frame--embed {
  min-height: 220px;
  padding: 0;
}

.video-card--twitch .video-card__frame--embed iframe,
.video-card--twitch .video-card__frame--embed > div {
  width: 100% !important;
  height: 100% !important;
  min-height: 220px;
}

.video-card__frame--live p {
  margin: 0;
  font-size: 0.9rem;
  color: #e8eef5;
}

.video-card__frame--embed {
  padding: 0;
  background: #060c14;
  position: relative;
  overflow: hidden;
}

.video-card__frame--youtube {
  position: relative;
  overflow: hidden;
}

.video-card__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: opacity 0.35s ease;
}

.video-card__frame--embed.is-yt-loaded .video-card__poster {
  opacity: 0;
  pointer-events: none;
}

.video-card__frame--embed iframe,
.video-card__frame--embed .hb-twitch__iframe {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  border: 0;
  z-index: 1;
}

.video-card__frame--consent .video-card__consent {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 100%;
}

.video-card__body {
  padding: 0.85rem 1rem 1rem;
}

.video-card__body h3 {
  font-family: var(--font-display);
  font-size: 0.92rem;
  margin: 0 0 0.25rem;
}

.video-card__body p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0 0 0.65rem;
  line-height: 1.35;
}

.planner-spotlight--inline {
  grid-template-columns: 1fr auto;
  padding: 1.25rem 1.5rem;
  margin: 0;
}

.planner-spotlight__features--inline {
  flex-direction: row;
  flex-wrap: wrap;
}

.planner-spotlight__features--inline li {
  flex: 1 1 7rem;
}

.footer--home {
  padding: 2.5rem clamp(1rem, 2.5vw, 2.5rem) 3rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.15fr repeat(4, minmax(9rem, 1fr)) minmax(12rem, 1.15fr);
  gap: 2rem;
  align-items: start;
  max-width: min(100%, 2200px);
  margin: 0 auto;
}

@media (max-width: 1100px) {
  .footer__grid {
    grid-template-columns: repeat(3, minmax(9rem, 1fr));
  }

  .footer__support-col {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 22rem;
  }
}

.footer__brand .logo__brand {
  height: 2.1rem;
  margin-bottom: 0.75rem;
  opacity: 0.95;
}

.footer__brand .logo__mark {
  display: none;
}

.footer__heading {
  font-family: var(--font-display);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan);
  margin: 0 0 0.65rem;
}

.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1.8;
}

.footer__links a:hover {
  color: var(--cyan);
}

.eyebrow {
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.text-gradient {
  background: linear-gradient(95deg, var(--accent) 0%, var(--landscape-petrol) 55%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  color: var(--text-muted);
  max-width: 32rem;
  margin-bottom: 1.5rem;
  font-size: 1.15rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero__stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--cyan);
}

.stat__value--live {
  color: #ff4466;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  50% { opacity: 0.7; }
}

.stat__label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.holo-card {
  position: relative;
  padding: 1.5rem;
  border: 1px solid var(--border);
  background: var(--bg-panel);
  backdrop-filter: blur(16px);
  border-radius: 4px;
  overflow: hidden;
}

.holo-card__scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    transparent 40%,
    rgba(0, 212, 255, 0.06) 50%,
    transparent 60%
  );
  animation: scan 4s linear infinite;
}

@keyframes scan {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

.holo-card__label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.holo-card__ship {
  height: 200px;
  background:
    linear-gradient(160deg, rgba(0, 212, 255, 0.12), transparent),
    linear-gradient(45deg, #0f1824 25%, #1a2838 50%, #0f1824 75%);
  border: 1px dashed var(--cyan-dim);
  margin-bottom: 1rem;
  clip-path: polygon(8% 20%, 92% 10%, 100% 60%, 50% 90%, 0% 55%);
}

.holo-card__specs {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.holo-card__specs li {
  padding: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.holo-card__specs span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.section {
  padding: 4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section__head {
  margin-bottom: 2rem;
}

.section__head h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section__head p {
  color: var(--text-muted);
}

.badge {
  font-family: var(--font-body);
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--amber);
  color: var(--amber);
  text-transform: uppercase;
}

.badge--live {
  border-color: #ff4466;
  color: #ff4466;
}

.badge--offline {
  border-color: var(--text-muted);
  color: var(--text-muted);
}

/* Startseite */
.planner-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 1fr);
  gap: 2rem;
  align-items: center;
  padding: 1.75rem 2rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--cyan);
  background: linear-gradient(
    105deg,
    rgba(0, 212, 255, 0.1) 0%,
    rgba(8, 14, 24, 0.55) 50%,
    rgba(8, 14, 24, 0.45) 100%
  );
}

.planner-spotlight__eyebrow {
  margin-bottom: 0.5rem;
}

.planner-spotlight h2 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  margin: 0 0 0.65rem;
  line-height: 1.25;
}

.planner-spotlight p {
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  max-width: 52ch;
  line-height: 1.5;
}

.planner-spotlight__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.planner-spotlight__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.planner-spotlight__features li {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.25);
}

.planner-spotlight__features strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--cyan);
  margin-bottom: 0.2rem;
}

.planner-spotlight__features span {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.planner-spotlight__feature-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, background 0.2s;
}

.planner-spotlight__feature-link:hover {
  border-color: rgba(0, 212, 255, 0.35);
  background: rgba(0, 212, 255, 0.06);
}

.home-catalog__toolbar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}

.home-catalog__search {
  width: 100%;
  max-width: 28rem;
  padding: 0.55rem 0.85rem;
  font-size: 1rem;
  font-family: var(--font-body);
  background: rgba(6, 12, 22, 0.92);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
}

.home-catalog__search:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2);
}

.home-catalog__meta {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.home-catalog__loading,
.home-catalog__empty,
.home-catalog__error {
  grid-column: 1 / -1;
  padding: 2rem 1rem;
  text-align: center;
  color: var(--text-muted);
}

.home-catalog__more {
  margin: 1.5rem 0 1rem;
  text-align: center;
}

.home-catalog__planner-card {
  margin-top: 1.25rem;
  max-width: 360px;
}

.holo-card__ship--themed {
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--mfr-accent, #00d4ff) 22%, transparent), transparent),
    linear-gradient(45deg, #0f1824 25%, #1a2838 50%, #0f1824 75%);
  border-color: color-mix(in srgb, var(--mfr-accent, #00d4ff) 45%, transparent);
}

.holo-card__cta {
  margin-top: 0.85rem;
  width: 100%;
}

.holo-card__fallback {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.holo-card__fallback a {
  color: var(--cyan);
}

#hero-featured[data-mfr-theme]:not([data-mfr-theme=""]) {
  border-color: var(--mfr-border, var(--border));
  box-shadow: 0 0 32px var(--mfr-soft, rgba(0, 212, 255, 0.08));
}

.live-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
}

.stream-panel {
  border: 1px solid var(--border);
  background: #0a1018;
  overflow: hidden;
}

.stream-panel__placeholder {
  aspect-ratio: 16/9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: radial-gradient(ellipse at center, #152030, #080c12);
  color: var(--text-muted);
}

.stream-panel__icon {
  font-size: 3rem;
  color: var(--cyan);
  opacity: 0.6;
}

.stream-panel__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border);
  font-weight: 600;
}

.glass-card {
  padding: 1.25rem;
  border: 1px solid var(--border-soft);
  background: var(--bg-panel);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
}

.glass-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  color: var(--cyan);
}

.schedule {
  list-style: none;
}

.schedule li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

.schedule time {
  color: var(--amber);
  font-weight: 700;
  margin-right: 0.5rem;
}

.clip-row {
  display: flex;
  gap: 0.5rem;
}

.clip-row span {
  flex: 1;
  height: 64px;
  background: linear-gradient(135deg, #1a2535, #0d1219);
  border: 1px solid var(--border);
}

.filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.chip {
  padding: 0.4rem 1rem;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.chip--active,
.chip:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0, 212, 255, 0.08);
}

.ship-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.ship-card {
  border: 1px solid var(--border-soft);
  background: var(--bg-panel);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.ship-card:hover,
.ship-card--link:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.32);
  box-shadow: var(--shadow-md);
}

.ship-card--link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.ship-card__cta {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--cyan);
  opacity: 0.85;
}

/* Schiff-Detail */
.ship-detail,
.ship-showcase-page .ship-detail {
  position: relative;
  z-index: 1;
  max-width: min(100%, 1400px);
  margin: 0 auto;
  padding: 1.25rem clamp(1rem, 2.5vw, 2.5rem) 4rem;
}

/* Präsentation – angelehnt an FleetYards (eigenes Hangarbase-Layout) */
.ship-showcase {
  --showcase-accent: var(--ship-accent, var(--cyan));
}

.ship-showcase__crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.ship-showcase__crumbs a {
  color: var(--text-muted);
  text-decoration: none;
}

.ship-showcase__crumbs a:hover {
  color: var(--cyan);
}

.ship-showcase__hero {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-md);
  margin-bottom: 1rem;
  min-height: min(52vh, 520px);
}

.ship-showcase__hero-bg {
  position: absolute;
  inset: -20%;
  background-size: cover;
  background-position: center 35%;
  filter: blur(28px) saturate(1.15) brightness(0.45);
  transform: scale(1.08);
  opacity: 0.85;
}

.ship-showcase__hero-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(4, 8, 14, 0.92) 0%, rgba(4, 8, 14, 0.55) 42%, rgba(4, 8, 14, 0.25) 68%, transparent 100%),
    linear-gradient(0deg, rgba(4, 8, 14, 0.85) 0%, transparent 45%),
    radial-gradient(ellipse 80% 60% at 70% 40%, color-mix(in srgb, var(--showcase-accent) 12%, transparent), transparent 70%);
  pointer-events: none;
}

.ship-showcase__hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 1.15fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  min-height: min(52vh, 520px);
}

.ship-showcase__mfr {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.ship-showcase__mfr-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.4));
}

.ship-showcase__mfr-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  border: 1px solid;
  border-radius: 8px;
  color: var(--showcase-accent);
  background: rgba(0, 0, 0, 0.35);
}

.ship-showcase__mfr-name {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--showcase-accent);
  font-weight: 700;
}

.ship-showcase__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
  letter-spacing: 0.02em;
}

.ship-showcase__game-name {
  margin: 0.35rem 0 0.65rem;
  font-size: 1.05rem;
  color: var(--text-muted);
}

.ship-showcase__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.65rem;
}

.ship-showcase__badge {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--showcase-accent) 35%, transparent);
  background: color-mix(in srgb, var(--showcase-accent) 12%, transparent);
  color: #e8eef5;
  font-weight: 600;
}

.ship-showcase__tags {
  margin-bottom: 0.75rem;
}

.ship-showcase__desc-banner {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid color-mix(in srgb, var(--showcase-accent) 28%, transparent);
  border-left: 3px solid var(--showcase-accent);
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--showcase-accent) 10%, rgba(0, 0, 0, 0.35)),
    rgba(0, 0, 0, 0.22)
  );
  max-width: 52ch;
}

.ship-showcase__desc-banner-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--showcase-accent);
  margin-bottom: 0.4rem;
}

.ship-showcase__desc-banner-body p {
  margin: 0 0 0.65rem;
  color: var(--text-muted);
  line-height: 1.55;
  font-size: 0.95rem;
}

.ship-showcase__desc-banner-body p:last-child {
  margin-bottom: 0;
}

.ship-showcase__desc-toggle {
  margin-top: 0.55rem;
  padding: 0;
  border: none;
  background: none;
  color: var(--showcase-accent);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.ship-showcase__desc-toggle:hover {
  color: color-mix(in srgb, var(--showcase-accent) 80%, white);
}

.ship-showcase__desc-banner.is-expanded {
  max-width: 58ch;
}

.ship-showcase__desc-credit {
  margin: 0.55rem 0 0;
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.8;
}

.ship-showcase__desc-banner p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.55;
  font-size: 0.95rem;
}

.ship-showcase__desc {
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 48ch;
  margin: 0 0 1.25rem;
  font-size: 1rem;
}

.ship-showcase__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.ship-showcase__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  position: relative;
}

.ship-showcase__stage::before {
  content: "";
  position: absolute;
  inset: 5% 0;
  background: radial-gradient(ellipse 70% 55% at 50% 50%, color-mix(in srgb, var(--showcase-accent) 18%, transparent), transparent 70%);
  pointer-events: none;
}

.ship-showcase__render {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: min(42vh, 420px);
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.55));
}

.ship-showcase__render--placeholder {
  width: min(100%, 520px);
  height: min(36vh, 360px);
  background-size: cover;
  background-position: center;
  clip-path: polygon(6% 18%, 94% 8%, 100% 58%, 52% 88%, 0% 52%);
}

.ship-showcase__statbar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
}

.ship-showcase__stat {
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.ship-showcase__stat--highlight {
  border-color: color-mix(in srgb, var(--showcase-accent) 40%, transparent);
  background: color-mix(in srgb, var(--showcase-accent) 10%, rgba(0, 0, 0, 0.25));
}

.ship-showcase__stat-label {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.ship-showcase__stat-value {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--showcase-accent);
  font-weight: 700;
}

.ship-showcase__body {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.9fr);
  gap: 1rem;
  align-items: start;
}

.ship-showcase__panel-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan);
  margin: 0 0 0.85rem;
}

.ship-showcase__gallery-panel {
  padding: 1rem 1.15rem;
}

.ship-showcase__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ship-showcase__thumb {
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.25);
  cursor: pointer;
  overflow: hidden;
  width: 88px;
  height: 56px;
  transition: border-color 0.2s, transform 0.12s;
}

.ship-showcase__thumb:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.15);
}

.ship-showcase__thumb.is-active {
  border-color: var(--showcase-accent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--showcase-accent) 30%, transparent);
}

.ship-showcase__thumb-img {
  display: block;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.ship-showcase__facts {
  padding: 1rem 1.15rem;
}

.ship-showcase__defense {
  margin-bottom: 1rem;
}

.ship-showcase__defense .vitals-defense {
  padding: 0.65rem 0.6rem 0.75rem;
}

.ship-showcase__defense .vitals-defense__mods {
  grid-template-columns: 1fr;
  gap: 0.3rem;
}

.ship-showcase__defense .vitals-defense__armor strong {
  font-size: 1.25rem;
}

.ship-showcase__spec-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ship-showcase__spec-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.95rem;
}

.ship-showcase__spec-row:last-child {
  border-bottom: none;
}

.ship-showcase__spec-row span {
  color: var(--text-muted);
}

.ship-showcase__spec-row strong {
  text-align: right;
  color: #e8eef5;
  font-weight: 600;
}

.ship-showcase__panel {
  grid-column: 1 / -1;
}

.ship-showcase__section {
  margin-top: 1.5rem;
}

.ship-showcase__section h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--cyan);
  margin-bottom: 0.5rem;
}

.ship-showcase__section-lead {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.ship-showcase__section--cta {
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: var(--bg-panel);
}

.ship-showcase__read-more {
  margin: -0.35rem 0 0.85rem;
  font-size: 0.88rem;
}

.ship-showcase__read-more a {
  color: var(--showcase-accent, var(--cyan));
  text-decoration: none;
}

.ship-showcase__read-more a:hover {
  text-decoration: underline;
}

.ship-showcase__about {
  margin-top: 1.25rem;
  padding: 1.25rem 1.5rem;
}

.ship-showcase__about h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--cyan);
  margin: 0 0 0.85rem;
}

.ship-showcase__about-body {
  color: #d4dce8;
  line-height: 1.75;
  font-size: 1.02rem;
  max-width: 72ch;
}

.ship-showcase__about-body p {
  margin: 0 0 1rem;
}

.ship-showcase__about-body p:last-child {
  margin-bottom: 0;
}

.ship-showcase__wiki-credit {
  margin: 1rem 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.ship-showcase__render-btn {
  position: relative;
  display: block;
  padding: 0;
  border: none;
  background: transparent;
  cursor: zoom-in;
  width: 100%;
  max-width: 100%;
}

.ship-showcase__render-btn .ship-showcase__render {
  pointer-events: none;
}

.ship-showcase__zoom-hint {
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(4, 8, 14, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e8eef5;
  font-size: 1rem;
  opacity: 0.85;
  transition: opacity 0.2s, transform 0.15s;
}

.ship-showcase__render-btn:hover .ship-showcase__zoom-hint {
  opacity: 1;
  transform: scale(1.06);
}

.ship-showcase__thumb[data-lightbox-open] {
  cursor: zoom-in;
}

/* Lightbox (Vollbild im Overlay) */
body.ship-lightbox-open {
  overflow: hidden;
}

.ship-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 3vw, 2rem);
}

.ship-lightbox[hidden] {
  display: none !important;
}

.ship-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 12, 0.88);
  backdrop-filter: blur(8px);
}

.ship-lightbox__panel {
  position: relative;
  z-index: 1;
  width: min(96vw, 1408px);
  max-height: min(94vh, 990px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: 1fr auto;
  gap: 0.5rem 0.75rem;
  padding: 1rem 1.1rem 0.85rem;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(0, 212, 255, 0.08);
}

.ship-lightbox__stage {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(77vh, 704px);
  background: rgba(0, 0, 0, 0.35);
  border-radius: 14px;
  overflow: hidden;
}

.ship-lightbox__img {
  max-width: 100%;
  max-height: min(77vh, 704px);
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 10px;
}

.ship-lightbox__close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(4, 8, 14, 0.75);
  color: #e8eef5;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.ship-lightbox__close:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.ship-lightbox__nav {
  align-self: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(4, 8, 14, 0.65);
  color: #e8eef5;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.ship-lightbox__nav:hover:not(:disabled) {
  border-color: var(--cyan);
  color: var(--cyan);
}

.ship-lightbox__nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.ship-lightbox__meta {
  grid-column: 1 / -1;
  text-align: center;
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .ship-lightbox__panel {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto auto;
    padding-top: 2.5rem;
  }
  .ship-lightbox__stage {
    grid-column: 1;
    grid-row: 2;
    min-height: 55vh;
  }

  .ship-lightbox__img {
    max-height: 55vh;
  }
  .ship-lightbox__nav--prev,
  .ship-lightbox__nav--next {
    grid-row: 3;
    justify-self: center;
  }
  .ship-lightbox__nav--prev {
    grid-column: 1;
    margin-right: 2.5rem;
  }
  .ship-lightbox__nav--next {
    grid-column: 1;
    margin-left: 2.5rem;
  }
}

@media (max-width: 960px) {
  .ship-showcase__hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    text-align: center;
  }
  .ship-showcase__intro {
    order: 2;
  }
  .ship-showcase__stage {
    order: 1;
    min-height: 220px;
  }
  .ship-showcase__desc-banner {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }
  .ship-showcase__actions {
    justify-content: center;
  }
  .ship-showcase__mfr {
    justify-content: center;
  }
  .ship-showcase__body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .ship-showcase__statbar {
    grid-template-columns: repeat(2, 1fr);
  }
  .ship-showcase__thumb {
    width: calc(50% - 0.25rem);
    height: 52px;
  }
}

.back-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.back-link:hover {
  color: var(--cyan);
}

.ship-detail__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 1.5rem;
}

.ship-detail__title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  margin: 0.25rem 0;
}

.ship-detail__desc {
  margin-top: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.ship-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.erkul-hint {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.ship-detail__hero {
  height: 220px;
  margin-bottom: 1rem;
  clip-path: polygon(6% 18%, 94% 8%, 100% 58%, 52% 88%, 0% 52%);
}

.ship-detail__hero.ship-card__img--a {
  background: linear-gradient(180deg, #1e3a5f 0%, #0a1520 100%);
}

.ship-detail__hero.ship-card__img--b {
  background: linear-gradient(180deg, #3d2e1a 0%, #12100a 100%);
}

.ship-detail__hero.ship-card__img--c {
  background: linear-gradient(180deg, #2a3d4f 0%, #0e1419 100%);
}

.ship-detail__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 1rem;
  margin-bottom: 1rem;
}

/* Schiff – Galerie (Preview) */
.ship-gallery {
  margin-bottom: 1rem;
}

.ship-gallery__main {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
  box-shadow: var(--shadow-sm);
}

.ship-gallery__frame {
  height: 240px;
}

.ship-gallery__thumbs {
  margin-top: 0.75rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
}

.ship-gallery__thumb {
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.15);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.12s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.ship-gallery__thumb:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 212, 255, 0.22);
  box-shadow: var(--shadow-sm);
}

.ship-gallery__thumb.is-active {
  border-color: rgba(0, 212, 255, 0.35);
  box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.12);
}

.ship-gallery__thumb-frame {
  display: block;
  height: 64px;
}

.ship-gallery__hint {
  margin-top: 0.65rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.ship-live h2 {
  margin-top: 0;
}

@media (max-width: 700px) {
  .ship-gallery__thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .ship-gallery__frame {
    height: 200px;
  }
}

/* Schiff – Galerie (Preview) */
.ship-gallery {
  margin-bottom: 1rem;
}

.ship-gallery__main {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
  box-shadow: var(--shadow-sm);
}

.ship-gallery__frame {
  height: 240px;
}

.ship-gallery__thumbs {
  margin-top: 0.75rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
}

.ship-gallery__thumb {
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.15);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.12s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.ship-gallery__thumb:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 212, 255, 0.22);
  box-shadow: var(--shadow-sm);
}

.ship-gallery__thumb.is-active {
  border-color: rgba(0, 212, 255, 0.35);
  box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.12);
}

.ship-gallery__thumb-frame {
  display: block;
  height: 64px;
}

.ship-gallery__hint {
  margin-top: 0.65rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Schiffskatalog – Übersichtsseite */
.ships-main {
  padding-top: 1rem;
  padding-bottom: 4rem;
}

.ships-page__hero {
  margin-bottom: 1.25rem;
  padding: 1.5rem 1.75rem;
  border-left: 3px solid var(--cyan);
}

.ships-page__hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0.35rem 0 0.65rem;
}

.ships-page__lead {
  color: var(--text-muted);
  max-width: 62ch;
  line-height: 1.55;
  margin: 0;
}

.ships-page__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.ships-page__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
}

.ships-page__search-label {
  flex: 1;
  min-width: min(100%, 280px);
}

.ships-page__meta {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.ship-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}

.ship-overview-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  margin-bottom: 0;
}

.ship-overview-card__visual {
  height: 140px;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--ship-accent, var(--cyan)) 28%, transparent),
    rgba(8, 14, 24, 0.92) 60%
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.ship-overview-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.92;
  transform: scale(1.02);
}

.ship-overview-card__thumbs {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.7rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  pointer-events: none;
}

.ship-overview-card__thumb {
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
  opacity: 0.88;
}

.ship-overview-card__thumb.is-active {
  border-color: color-mix(in srgb, var(--ship-accent, var(--cyan)) 60%, rgba(255, 255, 255, 0.12));
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35), 0 12px 26px rgba(0, 0, 0, 0.4);
  opacity: 0.98;
}

.ship-overview-card__thumbs {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.7rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  pointer-events: none;
}

.ship-overview-card__thumb {
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
  opacity: 0.88;
}

.ship-overview-card__thumb.is-active {
  border-color: color-mix(in srgb, var(--ship-accent, var(--cyan)) 60%, rgba(255, 255, 255, 0.12));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--ship-accent, var(--cyan)) 35%, transparent);
  opacity: 1;
}

.ship-overview-card__body {
  padding: 1rem 1.1rem 1.15rem;
}

.ship-overview-card__body h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 0.35rem 0 0.25rem;
  line-height: 1.25;
}

.ship-overview-card__stats {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 0.75rem;
  margin: 0.75rem 0;
  padding: 0;
}

.ship-overview-card__stats li span {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.ship-overview-card__stats li strong {
  font-family: var(--font-display);
  color: var(--cyan);
  font-size: 0.95rem;
}

.ship-overview-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.ship-gallery__frame--img,
.ship-gallery__thumb-frame--img {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.ship-gallery__frame--img {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.ship-live--wiki h2 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--cyan);
  margin: 0 0 0.75rem;
}

.ship-live h2 {
  margin-top: 0;
}

@media (max-width: 700px) {
  .ship-gallery__thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .ship-gallery__frame {
    height: 200px;
  }
}

.ship-detail__stats dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.ship-detail__stats dd {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--cyan);
}

.spec-list {
  list-style: none;
  padding: 1rem;
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.95rem;
}

.spec-list li span {
  color: var(--text-muted);
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.slot-card {
  border: 1px dashed rgba(0, 212, 255, 0.22);
  padding: 1rem;
  text-align: center;
  background: var(--bg-panel);
  border-radius: var(--radius-md);
}

.slot-card__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.slot-card__hint {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--cyan);
}

.build-list {
  list-style: none;
  margin-top: 1rem;
}

.build-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.build-list a {
  color: var(--cyan);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  text-decoration: none;
}

.build-list a:hover {
  text-decoration: underline;
}

/* News-Seiten (Liste, Artikel, Redaktion) */
.news-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1rem;
  align-items: start;
}

.news-list-card {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.news-list-card__thumb {
  height: 110px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: radial-gradient(ellipse at center, #152030, #080c12);
}

.news-list-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.news-list-card__body time {
  display: block;
  font-size: 0.82rem;
  color: var(--amber);
  font-weight: 700;
}

.news-list-card__body h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0.45rem 0 0.35rem;
  line-height: 1.25;
}

.news-list-card__body p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0.25rem 0 0.65rem;
  line-height: 1.4;
}

.news-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 1.25rem;
  align-items: start;
  max-width: min(100%, 1600px);
  margin: 0 auto;
}

.news-article {
  max-width: none;
  margin: 0;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--border);
  background: var(--bg-panel);
  border-radius: 10px;
}

.news-article__body {
  max-width: 78ch;
}

.news-article-aside {
  position: sticky;
  top: 5rem;
  display: grid;
  gap: 1rem;
}

.news-article-aside__card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(4, 10, 18, 0.72);
  backdrop-filter: blur(10px);
  padding: 1rem;
}

.news-article-aside__title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin: 0 0 0.75rem;
  color: var(--cyan);
}

.news-article-aside__meta {
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.news-article-aside__meta > div {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: baseline;
}

.news-article-aside__meta dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.news-article-aside__meta dd {
  margin: 0;
  font-weight: 700;
  color: #e8eef5;
}

.news-article-aside__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.news-article-aside__image {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(0, 212, 255, 0.16);
  background: rgba(0, 0, 0, 0.2);
}

.news-article-aside__image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: cover;
}

.news-article__header time {
  display: block;
  color: var(--amber);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.news-article__header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  margin: 0.5rem 0 0.75rem;
  line-height: 1.2;
}

.news-article__lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.news-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1rem 0 1.25rem;
}

.news-article__figure,
.news-card__figure {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
}

.news-images img {
  width: 100%;
  height: 100%;
  max-height: 320px;
  object-fit: cover;
  display: block;
}

.news-images figcaption {
  padding: 0.5rem 0.75rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.news-article__body h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--cyan);
  margin: 1.25rem 0 0.5rem;
}

.news-article__body h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: #e8eef5;
  margin: 1rem 0 0.5rem;
}

.news-article__body p {
  margin: 0.65rem 0;
  line-height: 1.65;
  color: #d6e0ee;
}

.news-editor-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.news-editor-toolbar__title {
  font-family: var(--font-display);
  margin: 0;
}

.news-editor-toolbar__hint {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 70ch;
  margin-top: 0.35rem;
}

.news-editor-toolbar__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.news-editor-layout {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.news-editor-list {
  position: sticky;
  top: 5rem;
  max-height: min(78vh, 920px);
  overflow: hidden;
}

.news-editor-list__items {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  overflow-y: auto;
  max-height: min(66vh, 760px);
  padding-right: 0.25rem;
  scrollbar-width: thin;
}

.news-editor-list__btn {
  width: 100%;
  text-align: left;
  padding: 0.65rem 0.6rem;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  border-radius: 8px;
  cursor: pointer;
}

.news-editor-list__btn strong {
  display: block;
  font-size: 0.95rem;
}

.news-editor-list__btn span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.news-editor-list__btn:hover,
.news-editor-list__btn.is-active {
  border-color: rgba(0, 212, 255, 0.25);
  background: rgba(0, 212, 255, 0.06);
}

.news-editor-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.news-editor-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1rem;
}

.news-editor-field span {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.news-editor-field input,
.news-editor-field select,
.news-editor-field textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  background: rgba(6, 12, 22, 0.92);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
}

.news-editor-field textarea {
  resize: vertical;
}

.news-editor-field--full {
  grid-column: 1 / -1;
}

.news-editor-field__help {
  display: block;
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-top: 0.35rem;
}

.news-editor-images {
  margin-top: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.85rem 1rem 1rem;
}

.news-editor-images legend {
  padding: 0 0.35rem;
  font-family: var(--font-display);
  color: var(--cyan);
  font-size: 0.9rem;
}

.news-editor-image-slot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1rem;
  margin-top: 0.75rem;
}

.news-editor-image-slot label span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.news-editor-image-preview {
  grid-column: 1 / -1;
  height: 160px;
  border: 1px dashed rgba(0, 212, 255, 0.25);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.news-editor-image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-editor-form__flags {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.news-editor-check {
  color: var(--text-muted);
  font-weight: 600;
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
}

.news-editor-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1rem;
}

.news-editor-status {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.news-editor-status.is-error {
  color: #ff4466;
}

.news-editor-preview__title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--cyan);
  margin-bottom: 0.75rem;
}

@media (max-width: 1100px) {
  .news-editor-layout {
    grid-template-columns: 1fr;
  }
  .news-editor-list {
    position: static;
    max-height: none;
  }
  .news-editor-workspace {
    grid-template-columns: 1fr;
  }

  .news-article-layout {
    grid-template-columns: 1fr;
    max-width: min(100%, 1100px);
  }

  .news-article-aside {
    position: static;
  }
}

@media (max-width: 700px) {
  .news-list-card {
    grid-template-columns: 1fr;
  }
  .news-images {
    grid-template-columns: 1fr;
  }
  .news-editor-form__grid {
    grid-template-columns: 1fr;
  }
  .news-editor-image-slot {
    grid-template-columns: 1fr;
  }
}

.ship-detail__loading {
  padding: 4rem;
  text-align: center;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .ship-detail__grid {
    grid-template-columns: 1fr;
  }
}

/* Ship Planner – Comfort / Lesbarkeit */
.planner-page {
  min-height: 100vh;
  width: 100%;
  max-width: min(100%, 2200px);
  margin: 0 auto;
  padding: 0 clamp(1rem, 2.5vw, 2.5rem) 5rem;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.planner-hero {
  margin-top: 1rem;
  padding: 1.5rem 1.75rem;
  border-left: 3px solid var(--cyan);
  background: linear-gradient(
    105deg,
    rgba(0, 212, 255, 0.08) 0%,
    rgba(8, 14, 24, 0.55) 42%,
    rgba(8, 14, 24, 0.45) 100%
  );
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
}

.planner-hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
  margin: 0.35rem 0 0.5rem;
  line-height: 1.25;
}

.planner-hero__tagline {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 52ch;
  margin-bottom: 1rem;
}

.planner-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.planner-hero__meta span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(0, 0, 0, 0.25);
}

.planner-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: var(--bg-panel);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  overflow: visible;
}

.planner-toolbar--ship-menu-open {
  position: relative;
  z-index: 200;
  isolation: isolate;
}

.planner-toolbar--wiki-ships {
  align-items: stretch;
  gap: 0.75rem 1rem;
}

.planner-toolbar--wiki-ships.glass-card {
  padding: 0.85rem 1.1rem;
}

.planner-toolbar--wiki-ships .planner-toolbar__actions {
  flex-shrink: 0;
  align-self: flex-end;
  padding-bottom: 0.15rem;
}

.planner-toolbar__ship-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.planner-toolbar__ship--wiki {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  gap: 0;
}

body.planner-ship-menu-open {
  overflow: hidden;
}

.planner-toolbar__ship {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  flex: 1;
  min-width: 200px;
}

.planner-toolbar__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.planner-toolbar select,
.planner-slot select {
  min-width: 0;
  width: 100%;
  padding: 0.65rem 0.75rem;
  background: rgba(6, 12, 22, 0.92);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.35;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.planner-toolbar select {
  min-width: min(100%, 320px);
  max-width: 100%;
}

.planner-toolbar select:hover,
.planner-slot select:hover {
  border-color: var(--accent-glow);
  background: rgba(14, 28, 44, 0.95);
}

.planner-toolbar select:focus,
.planner-slot select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-focus);
}

.planner-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 1.5rem;
  align-items: start;
}

.planner-layout--diagram {
  grid-template-columns: minmax(300px, 38fr) minmax(380px, 42fr) minmax(240px, 26fr);
  gap: clamp(1rem, 2vw, 2rem);
}

.planner-diagram-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
  position: sticky;
  top: 1rem;
  align-self: start;
  max-width: min(100%, 34rem);
}

.planner-diagram-col .planner-diagram {
  position: static;
  top: auto;
}

.planner-component-detail {
  padding: 1rem 1.15rem;
  flex-shrink: 0;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: var(--bg-panel);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.planner-slots-wrap {
  min-width: 0;
}

.planner-slots-intro {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  line-height: 1.45;
  padding-left: 0.15rem;
}

.planner-slots-scroll {
  max-height: min(72vh, 920px);
  overflow-y: auto;
  padding-right: 0.35rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 212, 255, 0.35) transparent;
}

.planner-slots-scroll::-webkit-scrollbar {
  width: 6px;
}

.planner-slots-scroll::-webkit-scrollbar-thumb {
  background: rgba(0, 212, 255, 0.3);
  border-radius: 3px;
}

.planner-diagram {
  padding: 1.15rem;
  position: sticky;
  top: 1rem;
  align-self: start;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: var(--bg-panel);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.planner-stats--sticky {
  position: sticky;
  top: 1rem;
  align-self: start;
  padding: 1.25rem;
  max-height: min(85vh, 960px);
  overflow-y: auto;
  background: linear-gradient(
    180deg,
    rgba(10, 18, 32, 0.88) 0%,
    rgba(8, 14, 24, 0.75) 100%
  );
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}

.diagram-title {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
}

.diagram-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.ship-diagram__svg {
  width: 100%;
  min-height: 260px;
  margin-top: 0.5rem;
}

.ship-diagram__svg--wide {
  aspect-ratio: 52 / 30;
  min-height: 280px;
  max-height: min(42vh, 360px);
}

.planner-diagram--wide {
  padding: 1.2rem 1.35rem 1.1rem;
}

.diagram-hull__body {
  fill: rgba(0, 212, 255, 0.06);
  stroke: rgba(0, 212, 255, 0.32);
  stroke-width: 1.5;
}

.diagram-hull__cockpit {
  fill: rgba(0, 212, 255, 0.1);
  stroke: rgba(0, 212, 255, 0.28);
  stroke-width: 1;
}

.diagram-link {
  pointer-events: none;
}

.diagram-node {
  cursor: pointer;
  outline: none;
}

.diagram-node__card {
  transition: transform 0.15s ease;
}

.diagram-node:hover .diagram-node__card {
  transform: scale(1.04);
}

.diagram-node:hover .diagram-node__bg {
  filter: drop-shadow(0 0 8px var(--accent-glow));
}

.diagram-node--active .diagram-node__bg {
  filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.45));
}

.diagram-node__label,
.diagram-node__comp,
.diagram-node__size {
  pointer-events: none;
  font-family: var(--font-body, "Rajdhani", system-ui, sans-serif);
}

.diagram-node__comp {
  opacity: 0.92;
}

.planner-slot--active {
  border-color: var(--accent-glow) !important;
  box-shadow:
    0 0 0 1px var(--accent-soft),
    0 0 24px var(--accent-focus);
  background: var(--accent-focus) !important;
}

.slot-hint {
  grid-column: 1 / -1;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--amber);
  margin-top: 0.5rem;
  padding-left: 0.15rem;
}

.slot-hint--soft {
  color: var(--text-muted);
  font-style: italic;
}

.planner-slot select {
  min-height: 2.75rem;
  cursor: pointer;
  position: relative;
  z-index: 5;
  appearance: auto;
  -webkit-appearance: menulist;
}

.planner-slots {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.planner-section {
  padding: 0.15rem 0;
}

.planner-section__title {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 0.75rem;
  padding: 0.5rem 0 0.5rem 0.15rem;
  border-bottom: 1px solid var(--accent-soft);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.planner-section[data-section="weapons"] .planner-section__title { color: #ff8a72; border-color: rgba(255, 107, 74, 0.35); }
.planner-section[data-section="power"] .planner-section__title { color: #ffd54a; border-color: rgba(255, 213, 74, 0.3); }
.planner-section[data-section="cooler"] .planner-section__title { color: #8ec4d4; border-color: var(--accent-soft); }
.planner-section[data-section="shield"] .planner-section__title { color: #7eb8ff; border-color: rgba(94, 179, 255, 0.35); }
.planner-section[data-section="quantum"] .planner-section__title { color: #c9a8ff; border-color: rgba(179, 136, 255, 0.35); }
.planner-section[data-section="ordnance"] .planner-section__title { color: #ffb347; border-color: rgba(245, 163, 35, 0.35); }

.planner-section[data-section="weapons"] .planner-section__title::before { content: "◆"; opacity: 0.9; }
.planner-section[data-section="power"] .planner-section__title::before { content: "⚡"; }
.planner-section[data-section="cooler"] .planner-section__title::before { content: "❄"; font-size: 0.9em; }
.planner-section[data-section="shield"] .planner-section__title::before { content: "◇"; }
.planner-section[data-section="quantum"] .planner-section__title::before { content: "✦"; }
.planner-section[data-section="ordnance"] .planner-section__title::before { content: "▸"; }

.planner-section__slots {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.planner-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.planner-section__head .planner-section__title {
  margin-bottom: 0;
  flex: 1;
  border-bottom: none;
  padding-bottom: 0;
}

.planner-section__head--stack {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.planner-section__meta {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-muted, rgba(255, 255, 255, 0.55));
}

.slot-hint--count {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: var(--text-muted, rgba(255, 255, 255, 0.5));
}

.planner-section__title--plain {
  margin: 0;
  padding: 0;
  border: none;
}

.planner-section__ordnance-collapsed {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  border-left: 3px solid #ffb347;
}

.planner-shell--missiles-hidden [data-section="ordnance"] .planner-section__ordnance-collapsed {
  display: flex;
}

.planner-shell--missiles-hidden [data-section="ordnance"] .planner-section__ordnance-full {
  display: none;
}

.planner-section__ordnance-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0.25rem 0 0;
}

.btn-toggle-missiles[aria-pressed="true"] {
  border-color: rgba(245, 163, 35, 0.4);
  color: #ffb347;
}

.diagram-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.15rem;
}

.diagram-head__text {
  flex: 1;
  min-width: 0;
}

.diagram-toggle-missiles {
  flex-shrink: 0;
  font-size: 0.72rem;
  white-space: nowrap;
  margin-top: 0.05rem;
}

.planner-diagram--missiles-hidden .diagram-node[data-category="missile"] {
  display: none;
}

.planner-slot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 0.85rem 1rem;
  align-items: start;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  border-left-width: 3px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
  background: color-mix(in srgb, var(--bg-panel) 92%, transparent);
  box-shadow: var(--shadow-sm);
}

.planner-slot:hover {
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.planner-slot--weapon { border-left-color: #ff6b4a; }
.planner-slot--shield { border-left-color: #5eb3ff; }
.planner-slot--power_plant { border-left-color: #ffd54a; }
.planner-slot--cooler { border-left-color: var(--accent); }
.planner-slot--quantum { border-left-color: #b388ff; }
.planner-slot--missile { border-left-color: #f5a623; }

.planner-slot__head {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  min-width: 0;
}

.planner-slot__size {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.45rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
}

.planner-slot__info {
  min-width: 0;
}

.planner-slot__label {
  display: block;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 0.35rem;
  word-break: break-word;
}

.slot-chip {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.45rem;
  border-radius: 3px;
  margin-top: 0.15rem;
}

.slot-chip--dps {
  color: #ffb4a0;
  background: rgba(255, 107, 74, 0.15);
  border: 1px solid rgba(255, 107, 74, 0.35);
}

.slot-chip--shield {
  color: #9ecfff;
  background: rgba(94, 179, 255, 0.12);
  border: 1px solid rgba(94, 179, 255, 0.3);
}

.slot-chip--power {
  color: #ffe08a;
  background: rgba(255, 213, 74, 0.12);
  border: 1px solid rgba(255, 213, 74, 0.3);
}

.planner-slot__control {
  grid-column: 2;
  grid-row: 1;
}

.planner-slot .slot-hint {
  grid-column: 1 / -1;
}

/* Waffenbaum (Erkul-Style: Hardpoint → Gimbal → Waffe) */
.weapon-tree {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 107, 74, 0.25);
  border-left: 4px solid #ff6b4a;
  overflow: hidden;
  background: linear-gradient(
    165deg,
    rgba(255, 107, 74, 0.07) 0%,
    rgba(8, 14, 24, 0.65) 45%
  );
  box-shadow: var(--shadow-sm);
}

.weapon-tree__section-head {
  display: flex;
  justify-content: flex-end;
  padding: 0.5rem 1rem 0;
  min-height: 0.25rem;
}

.weapon-tree__row {
  display: grid;
  grid-template-columns: 12px auto minmax(0, 1fr);
  gap: 0.5rem 0.75rem;
  align-items: start;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.weapon-tree__row--depth-1 {
  padding-left: 1.35rem;
  background: rgba(0, 0, 0, 0.12);
}

.weapon-tree__row--depth-2 {
  padding-left: 2.1rem;
  background: rgba(0, 0, 0, 0.2);
}

.weapon-tree__row--weapon .weapon-tree__name {
  color: #e8eef5;
}

.weapon-tree__children {
  display: flex;
  flex-direction: column;
}

.weapon-tree__children .weapon-tree__row:last-child {
  border-bottom: none;
}

.weapon-tree__rail {
  width: 2px;
  min-height: 100%;
  margin-top: 0.15rem;
  background: rgba(255, 107, 74, 0.35);
  border-radius: 1px;
}

.weapon-tree__row--depth-0 .weapon-tree__rail {
  opacity: 0;
}

.weapon-tree__body {
  min-width: 0;
}

.weapon-tree__name-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
}

.weapon-tree__name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #c5d0de;
}

.weapon-tree__mult {
  font-size: 0.8rem;
  font-weight: 700;
  color: #3ddc84;
  font-family: var(--font-display);
}

.weapon-tree__lock {
  font-size: 0.75rem;
  opacity: 0.85;
  line-height: 1;
}

.weapon-tree__dps {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.weapon-tree__control {
  margin-top: 0.45rem;
}

.weapon-tree__control select {
  width: 100%;
  max-width: 100%;
}

.weapon-tree__row[data-component-id] {
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.weapon-tree__row[data-component-id]:hover {
  background: rgba(0, 212, 255, 0.06);
}

.weapon-tree__row--marked {
  box-shadow: inset 3px 0 0 #00d4ff;
  background: rgba(0, 212, 255, 0.08) !important;
}

.weapon-tree__row--compare {
  box-shadow: inset 3px 0 0 #3ddc84;
}

.planner-slot[data-component-id] {
  cursor: pointer;
}

.planner-slot--marked {
  box-shadow: inset 3px 0 0 var(--accent), var(--shadow, 0 4px 24px rgba(0, 0, 0, 0.35));
}

.planner-slot--compare {
  box-shadow: inset 3px 0 0 #3ddc84;
}

/* Komponenten-Detail (Erkul-Style) */
.comp-detail__title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

.comp-detail__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.comp-detail__toolbar .comp-detail__title {
  margin: 0;
}

.comp-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.comp-detail__hint {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.comp-detail__header {
  margin-bottom: 0.85rem;
}

.comp-detail__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--accent);
  margin: 0 0 0.25rem;
  line-height: 1.25;
}

.comp-detail__mfr {
  color: #f5a623;
  font-size: 0.88rem;
  margin: 0;
}

.comp-detail__type {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0.35rem 0 0;
}

.comp-detail__stats {
  display: grid;
  gap: 0.35rem;
  margin: 0 0 1rem;
}

.comp-detail__stat {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  font-size: 0.82rem;
  padding: 0.2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.comp-detail__stat dt {
  color: #f5a623;
  font-weight: 600;
  margin: 0;
}

.comp-detail__stat dd {
  margin: 0;
  text-align: right;
  color: #e8eef5;
}

.comp-detail__stat--highlight dd {
  color: #3ddc84;
  font-weight: 600;
}

.comp-detail__wiki {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.comp-detail__shops-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}

.comp-detail__shops-group {
  margin-bottom: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.35rem 0.65rem;
  background: rgba(0, 0, 0, 0.2);
}

.comp-detail__shops-group summary {
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  color: #c5d0de;
}

.comp-detail__shops-group ul {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.comp-detail__shops-empty {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.comp-detail__acq {
  margin: 0.5rem 0 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.35rem 0.65rem;
  background: rgba(0, 0, 0, 0.18);
}

.comp-detail__acq summary {
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  color: #c5d0de;
}

.comp-detail__acq-block {
  margin-top: 0.75rem;
}

.comp-detail__acq-empty {
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.comp-detail__acq-meta {
  margin: 0.35rem 0 0.65rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.comp-detail__acq-list {
  margin: 0.35rem 0 0.65rem;
  padding-left: 1.1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.comp-detail__acq-missions {
  margin-top: 0.5rem;
}

/* Vergleich unter Loadout-Karte */
.comp-compare__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
}

.comp-compare__table th,
.comp-compare__table td {
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  vertical-align: top;
}

.comp-compare__table thead th {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.comp-compare__table tbody th {
  color: #f5a623;
  font-weight: 600;
  width: 38%;
  font-size: 0.72rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.comp-compare__table tbody td {
  color: #3ddc84;
  font-weight: 700;
  font-size: 1rem;
}

.comp-compare__th-size {
  display: block;
  font-size: 0.7rem;
  color: #3ddc84;
  margin-bottom: 0.15rem;
}

.comp-compare__th-name {
  display: block;
  font-size: 0.82rem;
  color: #e8eef5;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

.comp-compare__metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0.75rem 0;
}

.comp-detail__card .comp-compare__metrics {
  max-width: none;
}

.comp-compare__metric {
  min-width: 0;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.55rem 0.45rem;
  text-align: center;
  overflow: hidden;
}

.comp-compare__metric--speed {
  grid-column: 1 / -1;
}

.comp-compare__metric-label {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
  hyphens: auto;
  max-width: 100%;
}

.comp-compare__metric--speed .comp-compare__metric-label {
  font-size: 0.68rem;
  letter-spacing: 0.05em;
}

.comp-compare__metric-value {
  display: block;
  font-size: clamp(0.9rem, 2.5vw, 1.05rem);
  color: #3ddc84;
  font-family: var(--font-display);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.comp-detail__more {
  margin-top: 0.75rem;
  font-size: 0.85rem;
}

.comp-detail__more summary {
  cursor: pointer;
  color: var(--cyan);
  margin-bottom: 0.5rem;
}

@media (max-width: 720px) {
  .comp-compare__metrics {
    grid-template-columns: 1fr;
  }
}

.weapon-tree.planner-slot--remote_turret {
  border-left-color: #f5a623;
  border-color: rgba(245, 166, 35, 0.28);
}

/* Turm/Mount + Waffen (Legacy-Klassen, Kompatibilitaet) */
.mount-group {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 107, 74, 0.25);
  border-left: 4px solid #ff6b4a;
  overflow: hidden;
  background: linear-gradient(
    165deg,
    rgba(255, 107, 74, 0.07) 0%,
    rgba(8, 14, 24, 0.65) 45%
  );
  box-shadow: var(--shadow-sm);
}

.mount-group__header {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mount-group__title {
  flex: 1;
  min-width: 0;
}

.mount-group__title .planner-slot__label {
  display: block;
  margin-bottom: 0.4rem;
}

.mount-group__mount {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem 1rem;
  align-items: start;
  padding: 1rem 1.15rem;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mount-group__mount-inner {
  min-width: 0;
}

.mount-group__label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.mount-group__weapons {
  padding: 0.85rem 1.15rem 1.1rem;
}

.mount-group__weapons-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mount-group__weapons-title em {
  font-style: normal;
  opacity: 0.85;
}

.mount-group__weapon {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(12rem, 1.15fr);
  gap: 0.65rem 1rem;
  align-items: center;
  padding: 0.65rem 0 0.65rem 0.75rem;
  margin-left: 0.5rem;
  border-left: 2px solid rgba(255, 107, 74, 0.35);
}

@media (min-width: 1500px) {
  .mount-group__weapon {
    grid-template-columns: minmax(10rem, 1fr) minmax(16rem, 1.25fr);
  }
}

.mount-group__weapon + .mount-group__weapon {
  margin-top: 0.35rem;
}

.mount-group__weapon-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.5rem;
  min-width: 0;
}

.mount-group__weapon-head strong {
  font-size: 0.95rem;
  font-weight: 600;
}

.mount-group__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  color: #0a1018;
  background: var(--cyan);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.slot-chip--mount {
  color: #9ed4ff;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.35);
}

@media (max-width: 700px) {
  .mount-group__weapon {
    grid-template-columns: 1fr;
  }
}

/* Planer: Schiffs-Vitals */
.planner-vitals {
  margin-bottom: 0.5rem;
}

.planner-vitals-divider {
  border: none;
  border-top: 1px solid var(--border-soft);
  margin: 0.85rem 0 1rem;
}

.vitals-defense {
  padding: 0.75rem 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  background: var(--gradient-panel);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(110, 181, 196, 0.08);
}

.vitals-defense__head {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.65rem;
}

.vitals-defense__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.95rem;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  border: 1px solid var(--border);
  box-shadow: 0 0 14px rgba(110, 181, 196, 0.12);
}

.vitals-defense__shield-svg {
  width: 1.65rem;
  height: 1.85rem;
  overflow: visible;
}

.vitals-shield__hex {
  fill: rgba(110, 181, 196, 0.1);
  stroke: var(--cyan);
  stroke-width: 1.35;
  stroke-linejoin: round;
}

.vitals-shield__arc {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.15;
  stroke-linecap: round;
}

.vitals-shield__arc--outer {
  opacity: 0.95;
}

.vitals-shield__arc--inner {
  opacity: 0.65;
}

.vitals-shield__spine {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 0.85;
  stroke-linecap: round;
  opacity: 0.45;
}

.vitals-defense__primary {
  min-width: 0;
  flex: 1;
}

.vitals-defense__armor {
  font-family: var(--font-display);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.vitals-defense__armor strong {
  font-size: 1.45rem;
  color: var(--text);
  letter-spacing: 0.02em;
}

.vitals-defense__armor em {
  font-style: normal;
  font-size: 0.75rem;
  color: var(--cyan);
  margin-left: 0.2rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.vitals-defense__deflect {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.82rem;
}

.vitals-defense__deflect strong {
  color: var(--text);
  font-weight: 700;
  margin-right: 0.35rem;
}

.vitals-defense__deflect span {
  color: var(--text-muted);
}

.vitals-defense__mods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 0.75rem;
  font-size: 0.78rem;
  line-height: 1.35;
}

.vitals-mod-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.35rem;
  align-items: baseline;
}

.vitals-mod-row__val {
  font-weight: 700;
  min-width: 2.5rem;
}

.vitals-mod-row__lbl {
  color: var(--text-muted);
}

.vitals-mod--buff {
  color: #5dff8a;
}

.vitals-mod--debuff {
  color: #ff8a6b;
}

.vitals-mod--neutral {
  color: var(--text-muted);
}

.vitals-defense__base {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 0.65rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--border-soft);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.vitals-defense__base strong {
  color: var(--text);
  font-weight: 700;
  margin-right: 0.25rem;
}

.vitals-specs {
  margin-top: 0.65rem;
}

.vitals-specs summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  list-style: none;
  user-select: none;
}

.vitals-specs summary::-webkit-details-marker {
  display: none;
}

.vitals-specs summary::before {
  content: "▸ ";
  color: var(--cyan);
}

.vitals-specs[open] summary::before {
  content: "▾ ";
}

.vitals-specs__dl {
  margin: 0.55rem 0 0;
}

.vitals-row {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.28rem 0;
  font-size: 0.78rem;
  line-height: 1.35;
  border-bottom: 1px solid var(--border-soft);
}

.vitals-row dt {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.72rem;
  flex-shrink: 0;
}

.vitals-row dd {
  text-align: right;
  color: var(--text);
  font-weight: 600;
}

/* Planer: Vitals oben (Panzerung / Schiffsdaten) – rechte Spalte breiter */
.planner-stats--sticky .planner-vitals {
  margin-bottom: 0.65rem;
}

.planner-stats--sticky .planner-vitals-divider {
  margin: 1rem 0 1.1rem;
}

.planner-stats--sticky .vitals-defense {
  padding: 0.9rem 0.75rem 0.95rem;
}

.planner-stats--sticky .vitals-defense__head {
  gap: 0.85rem;
  margin-bottom: 0.75rem;
  align-items: center;
}

.planner-stats--sticky .vitals-defense__icon {
  width: 3.1rem;
  height: 3.45rem;
}

.planner-stats--sticky .vitals-defense__shield-svg {
  width: 1.95rem;
  height: 2.15rem;
}

.planner-stats--sticky .vitals-defense__armor {
  margin-bottom: 0.4rem;
}

.planner-stats--sticky .vitals-defense__armor strong {
  font-size: 1.65rem;
}

.planner-stats--sticky .vitals-defense__armor em {
  font-size: 0.82rem;
}

.planner-stats--sticky .vitals-defense__deflect {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  font-size: 0.88rem;
}

.planner-stats--sticky .vitals-defense__mods {
  gap: 0.45rem 1rem;
  font-size: 0.84rem;
  line-height: 1.4;
}

.planner-stats--sticky .vitals-mod-row__val {
  min-width: 2.75rem;
  font-size: 0.9rem;
}

.planner-stats--sticky .vitals-mod-row__lbl {
  font-size: 0.82rem;
}

.planner-stats--sticky .vitals-defense__base {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem 0.65rem;
  margin-top: 0.75rem;
  padding-top: 0.65rem;
  font-size: 0.84rem;
  line-height: 1.35;
}

.planner-stats--sticky .vitals-defense__base span {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.planner-stats--sticky .vitals-defense__base strong {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-right: 0;
}

.planner-stats--sticky .vitals-specs {
  margin-top: 0.75rem;
}

.planner-stats--sticky .vitals-specs summary {
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  padding: 0.15rem 0;
}

.planner-stats--sticky .vitals-row {
  padding: 0.34rem 0;
  font-size: 0.84rem;
}

.planner-stats--sticky .vitals-row dt {
  font-size: 0.76rem;
  letter-spacing: 0.05em;
}

.planner-stats--sticky .vitals-row dd {
  font-size: 0.9rem;
  color: var(--cyan);
}

.planner-shell--wiki .planner-stats--sticky .vitals-defense__armor strong {
  font-size: 1.78rem;
}

.planner-shell--wiki .planner-stats--sticky .vitals-defense__mods {
  font-size: 0.88rem;
}

.planner-shell--wiki .planner-stats--sticky .vitals-defense__base strong {
  font-size: 1.06rem;
}

@media (max-width: 380px) {
  .planner-stats--sticky .vitals-defense__base {
    grid-template-columns: 1fr;
  }
}

.planner-shell--wiki .planner-stats--sticky {
  min-width: 0;
  max-height: min(88vh, 980px);
}

/* Wiki: Schiffwechsel in der Toolbar (Dropdown über dem Planner) */
.planner-ship-switch {
  position: relative;
  width: 100%;
  min-width: 0;
  border-left: 3px solid var(--mfr-accent, var(--cyan));
  padding-left: 0.75rem;
}

.planner-ship-switch__bar {
  display: grid;
  grid-template-columns: minmax(0, max-content) minmax(10rem, 1fr) auto;
  align-items: center;
  gap: 0.55rem 0.65rem;
  width: 100%;
}

.planner-ship-switch__trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  max-width: 16rem;
  padding: 0.4rem 0.55rem;
  border: 1px solid var(--mfr-border, var(--border-soft));
  border-radius: 8px;
  background: var(--mfr-muted, rgba(0, 12, 24, 0.5));
  color: inherit;
  font-family: var(--font-body);
  text-align: left;
  cursor: pointer;
}

.planner-ship-switch__trigger:hover {
  border-color: var(--mfr-accent, var(--cyan));
  background: var(--mfr-soft, rgba(0, 40, 70, 0.35));
}

.planner-ship-switch__trigger-logo,
.planner-ship-switch__trigger-abbr {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 5px;
  border: 1px solid var(--mfr-border, var(--border-soft));
  background: rgba(0, 0, 0, 0.25);
}

.planner-ship-switch__trigger-abbr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--mfr-accent, var(--cyan));
}

.planner-ship-switch__trigger-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 0.05rem;
}

.planner-ship-switch__trigger-name {
  display: block;
  font-family: var(--font-display);
  font-size: 0.88rem;
  line-height: 1.2;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.planner-ship-switch__trigger-mfr {
  display: block;
  font-size: 0.72rem;
  color: var(--mfr-accent, var(--amber));
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.planner-ship-switch .mfr-search-input {
  width: 100%;
  max-width: none;
  min-width: 0;
  font-size: 0.9rem;
  padding: 0.48rem 0.65rem;
}

.planner-ship-switch__caret {
  flex-shrink: 0;
  padding: 0.35rem 0.5rem;
  line-height: 1;
}

.planner-ship-switch.is-open .planner-ship-switch__caret {
  transform: rotate(180deg);
}

.planner-ship-switch__backdrop {
  position: fixed;
  inset: 0;
  z-index: 180;
  margin: 0;
  padding: 0;
  border: none;
  background: rgba(2, 8, 18, 0.5);
  cursor: default;
}

.planner-ship-switch__backdrop[hidden] {
  display: none;
}

.planner-ship-switch__panel {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  right: 0;
  z-index: 210;
  width: auto;
  max-width: 26rem;
  max-height: min(50vh, 400px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--mfr-border, var(--border-soft));
  border-radius: var(--radius-md);
  background: var(--bg-panel);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

.planner-ship-switch__panel[hidden] {
  display: none;
}

.planner-ship-switch__list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0.5rem 0.45rem 0.65rem;
  scrollbar-width: thin;
}

.planner-ship-switch__group {
  margin-bottom: 0.35rem;
  border-radius: 6px;
  border: 1px solid var(--mfr-border, rgba(255, 255, 255, 0.08));
  background: var(--mfr-muted, rgba(0, 20, 40, 0.35));
  border-left: 3px solid var(--mfr-accent, transparent);
}

.planner-ship-switch__group.is-open {
  border-color: var(--mfr-border, var(--border-soft));
  box-shadow: 0 2px 12px var(--mfr-soft, rgba(0, 0, 0, 0.15));
}

.planner-ship-switch__mfr-head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.4rem 0.5rem;
  border: none;
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.82rem;
  text-align: left;
  cursor: pointer;
}

.planner-ship-switch__mfr-head:hover {
  background: var(--mfr-soft, rgba(0, 40, 70, 0.35));
}

.planner-ship-switch__logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}

.planner-ship-switch__abbr {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--mfr-accent, var(--amber));
  border: 1px solid var(--mfr-border, var(--border));
  border-radius: 4px;
}

.planner-ship-switch__mfr-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
  color: var(--mfr-accent, var(--text));
}

.planner-ship-switch__count {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.planner-ship-switch__ships {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0 0.35rem 0.35rem;
}

.planner-ship-switch__group.is-open .planner-ship-switch__ships {
  display: block;
}

.planner-ship-switch__ships li[hidden] {
  display: none;
}

.planner-ship-switch__ship {
  display: block;
  width: 100%;
  padding: 0.3rem 0.45rem;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.78rem;
  text-align: left;
  cursor: pointer;
  border-left: 2px solid transparent;
}

.planner-ship-switch__ship:hover {
  color: var(--text);
  background: rgba(0, 0, 0, 0.2);
}

.planner-ship-switch__ship.is-active {
  color: var(--mfr-accent, var(--cyan));
  border-left-color: var(--mfr-accent, var(--cyan));
  background: var(--mfr-soft, rgba(0, 60, 90, 0.4));
  font-weight: 600;
}

.planner-ship-switch__group[hidden] {
  display: none;
}

/* Planer: Energie ↔ Schaden Umschalter */
.planner-aside-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
}

.planner-aside-toggle__btn {
  padding: 0.45rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.planner-aside-toggle__btn:hover {
  border-color: var(--accent-glow);
  color: var(--text);
}

.planner-aside-toggle__btn.is-active {
  background: rgba(0, 212, 255, 0.12);
  border-color: rgba(0, 212, 255, 0.45);
  color: var(--cyan);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.15);
}

.planner-aside-toggle__btn.is-active[data-aside-view="damage"] {
  background: rgba(255, 120, 80, 0.12);
  border-color: rgba(255, 140, 90, 0.45);
  color: #ffb347;
  box-shadow: 0 0 12px rgba(255, 140, 90, 0.12);
}

.planner-aside-views--power .planner-aside-view--damage {
  display: none;
}

.planner-aside-views--damage .planner-aside-view--power {
  display: none;
}

/* Planer: rechte Spalte – Energie/Schaden nutzt mehr Breite (Diagramm links) */
.planner-stats--sticky .planner-aside-toggle {
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.planner-stats--sticky .planner-aside-toggle__btn {
  padding: 0.62rem 0.7rem;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  font-weight: 600;
  min-height: 2.65rem;
}

.planner-stats--sticky .damage-panel,
.planner-stats--sticky .power-panel {
  padding: 0.85rem 0.65rem 0.95rem;
}

.planner-stats--sticky .damage-panel__summary,
.planner-stats--sticky .power-panel__summary {
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.planner-stats--sticky .damage-kpi,
.planner-stats--sticky .power-kpi {
  font-size: 0.78rem;
  gap: 0.15rem;
}

.planner-stats--sticky .damage-kpi__val,
.planner-stats--sticky .power-kpi__val {
  font-size: 1.12rem;
}

.planner-stats--sticky .damage-kpi__icon,
.planner-stats--sticky .power-kpi__icon {
  font-size: 1rem;
}

.planner-stats--sticky .damage-panel__intro,
.planner-stats--sticky .power-panel__intro {
  font-size: 0.8rem;
  margin-bottom: 0.6rem;
}

.planner-stats--sticky .damage-panel__metric-toggle {
  gap: 0.45rem;
  margin-bottom: 0.6rem;
}

.planner-stats--sticky .damage-metric-btn {
  padding: 0.48rem 0.55rem;
  font-size: 0.76rem;
}

.planner-stats--sticky .damage-panel__chart,
.planner-stats--sticky .power-panel__chart {
  min-height: 9.25rem;
  padding: 0.45rem 0.15rem 0;
  margin-bottom: 0.75rem;
}

.planner-stats--sticky .dmg-bar-col {
  flex: 1 1 2.35rem;
  min-width: 2.35rem;
  max-width: 3rem;
  gap: 0.18rem;
}

.planner-stats--sticky .dmg-bar-col__track,
.planner-stats--sticky .power-bar-col__track {
  height: 4.85rem;
  max-width: 1.6rem;
}

.planner-stats--sticky .dmg-bar-col__value {
  font-size: 0.72rem;
}

.planner-stats--sticky .dmg-bar-col__hint {
  font-size: 0.62rem;
}

.planner-stats--sticky .power-bar-col__value {
  font-size: 0.76rem;
}

.planner-stats--sticky .power-bar-col__cap {
  font-size: 0.64rem;
}

.planner-stats--sticky .damage-panel__row,
.planner-stats--sticky .power-panel__row {
  font-size: 0.82rem;
  gap: 0.55rem;
}

.planner-stats--sticky .damage-panel__row-label,
.planner-stats--sticky .power-panel__row-label {
  font-size: 0.72rem;
}

.planner-stats--sticky .damage-panel__share-bar,
.planner-stats--sticky .power-panel__consumption-bar {
  height: 0.55rem;
}

.planner-stats--sticky .power-panel__row-val strong {
  font-size: 1.08rem;
}

.planner-stats--sticky .damage-breakdown {
  font-size: 0.8rem;
}

.planner-stats--sticky .damage-breakdown__list em {
  font-size: 0.84rem;
}

.planner-shell--wiki .planner-stats--sticky .planner-aside-toggle__btn {
  padding: 0.72rem 0.85rem;
  font-size: 0.95rem;
  min-height: 2.9rem;
}

.planner-shell--wiki .planner-stats--sticky .damage-kpi__val,
.planner-shell--wiki .planner-stats--sticky .power-kpi__val {
  font-size: 1.22rem;
}

.planner-shell--wiki .planner-stats--sticky .damage-panel__chart,
.planner-shell--wiki .planner-stats--sticky .power-panel__chart {
  min-height: 10.5rem;
}

.planner-shell--wiki .planner-stats--sticky .dmg-bar-col__track,
.planner-shell--wiki .planner-stats--sticky .power-bar-col__track {
  height: 5.35rem;
  max-width: 1.75rem;
}

/* Planer: Schadens-Übersicht */
.damage-panel {
  margin-bottom: 0.5rem;
  padding: 0.65rem 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--gradient-panel);
  border: 1px solid rgba(255, 140, 90, 0.22);
}

.damage-panel__empty {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

.damage-panel__summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.damage-kpi {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.damage-kpi__val {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 700;
}

.damage-kpi--dps .damage-kpi__val { color: #ffb347; }
.damage-kpi--alpha .damage-kpi__val { color: #ff8a6b; }
.damage-kpi--speed .damage-kpi__val { color: var(--cyan); }

.damage-kpi__icon {
  font-size: 0.85rem;
  line-height: 1;
}

.damage-panel__rows {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.damage-panel__row {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
}

.damage-panel__row-label {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-size: 0.68rem;
}

.damage-panel__share-bar {
  height: 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.damage-panel__share-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff8a6b, #ffb347);
  transition: width 0.2s ease;
}

.damage-panel__row-pct {
  font-weight: 700;
  color: var(--text);
  min-width: 2.2rem;
  text-align: right;
}

.damage-panel__intro {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
  line-height: 1.4;
}

.damage-panel__metric-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}

.damage-metric-btn {
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-size: 0.68rem;
  font-family: var(--font-display);
  cursor: pointer;
}

.damage-metric-btn.is-active {
  background: rgba(255, 140, 90, 0.15);
  border-color: rgba(255, 140, 90, 0.45);
  color: #ffb347;
}

.damage-panel__chart {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 0.15rem;
  min-height: 7.5rem;
  padding: 0.35rem 0.1rem 0;
  margin-bottom: 0.65rem;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  overflow-x: auto;
}

.dmg-bar-col {
  flex: 1 1 2rem;
  min-width: 2rem;
  max-width: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.12rem;
}

.dmg-bar-col__value {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  color: #ffb347;
  line-height: 1;
  text-align: center;
}

.dmg-bar-col__sub {
  font-size: 0.52rem;
  color: var(--text-muted);
  line-height: 1;
}

.dmg-bar-col__track {
  position: relative;
  width: 100%;
  max-width: 1.35rem;
  height: 3.75rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px 3px 2px 2px;
  overflow: hidden;
}

.dmg-bar-col__fill {
  width: 100%;
  border-radius: 2px 2px 0 0;
  transition: height 0.15s ease;
  min-height: 2px;
}

.dmg-bar-col__fill--dps {
  background: linear-gradient(180deg, #ffb347 0%, #ff8a6b 100%);
}

.dmg-bar-col__fill--alpha {
  background: linear-gradient(180deg, #ff8a6b 0%, #e85d4a 100%);
}

.dmg-bar-col__hint {
  font-size: 0.55rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.1;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.damage-breakdown {
  font-size: 0.75rem;
  margin-top: 0.35rem;
}

.damage-breakdown summary {
  cursor: pointer;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.damage-breakdown__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.damage-breakdown__list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.15rem 0.5rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.damage-breakdown__slot {
  grid-column: 1 / -1;
  font-size: 0.68rem;
  color: var(--text-muted);
}

.damage-breakdown__list em {
  font-style: normal;
  color: var(--text);
  font-size: 0.78rem;
}

.damage-breakdown__list strong {
  color: #ffb347;
  font-family: var(--font-display);
}

.damage-breakdown__meta {
  grid-column: 1 / -1;
  font-size: 0.65rem;
  color: var(--text-muted);
}

.damage-panel__ref {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin: 0.5rem 0 0;
}

/* Planer: Energie-System */
.power-panel {
  margin-bottom: 0.5rem;
  padding: 0.65rem 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--gradient-panel);
  border: 1px solid var(--border);
}

.power-panel__summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.power-kpi {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.power-kpi__val {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 700;
}

.power-kpi__icon {
  font-size: 0.85rem;
  line-height: 1;
}

.power-kpi__icon--heat { color: #ff8a6b; }
.power-kpi__icon--power { color: var(--cyan); }
.power-kpi__icon--sig { color: var(--gold); }

.power-panel__rows {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.power-panel__row {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
}

.power-panel__row-label {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-size: 0.68rem;
}

.power-panel__row-val strong {
  font-family: var(--font-display);
  font-size: 1rem;
}

.power-panel__avail--ok strong { color: #5dff8a; }
.power-panel__avail--warn strong { color: #ffd54a; }
.power-panel__avail--danger strong { color: #ff8a6b; }

.power-panel__consumption-bar {
  height: 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.power-panel__consumption-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-strong), #5dff8a);
  transition: width 0.2s ease;
}

.power-panel__row-pct {
  font-weight: 700;
  color: var(--text);
  min-width: 2.2rem;
  text-align: right;
}

.power-panel__intro {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
  line-height: 1.4;
}

.power-panel__chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.15rem;
  min-height: 7.5rem;
  padding: 0.35rem 0.1rem 0;
  margin-bottom: 0.65rem;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.power-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  min-width: 0;
  padding-bottom: 0.15rem;
}

.power-bar-col--sub .power-bar-col__icon,
.power-bar-col--sub .power-bar-col__hint {
  opacity: 0.65;
  transform: scale(0.85);
}

.power-bar-col--under .power-bar-col__fill {
  background: linear-gradient(180deg, #ffd54a 0%, #ff8a6b 100%);
}

.power-bar-col--over .power-bar-col__fill {
  background: linear-gradient(180deg, #5dff8a 0%, #3dd68c 100%);
  box-shadow: 0 0 8px rgba(93, 255, 138, 0.35);
}

.power-bar-col__value {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.power-bar-col__cap {
  font-size: 0.58rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.42);
}

.power-bar-col--under .power-bar-col__value {
  color: #ffb347;
}

.power-bar-col__track {
  position: relative;
  width: 100%;
  max-width: 1.35rem;
  height: 3.75rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px 3px 2px 2px;
  overflow: hidden;
}

.power-bar-col__track::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--cap, 100%);
  top: 0;
  background: rgba(110, 181, 196, 0.06);
  pointer-events: none;
  z-index: 0;
}

.power-bar-col__demand {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 160, 60, 0.35);
  border-top: 2px solid rgba(255, 213, 74, 0.85);
  pointer-events: none;
  z-index: 1;
  transition: height 0.15s ease;
}

.power-bar-col__fill {
  position: relative;
  width: 100%;
  background: linear-gradient(180deg, #5dff8a 0%, var(--accent-strong) 100%);
  border-radius: 2px 2px 0 0;
  transition: height 0.12s ease;
  min-height: 2px;
  z-index: 2;
}

.power-bar-col__fill--gen {
  background: linear-gradient(180deg, var(--gold) 0%, rgba(212, 184, 150, 0.45) 100%);
  z-index: 2;
}

.power-bar-col__slider {
  width: 100%;
  max-width: 2.6rem;
  height: 0.35rem;
  margin: 0.1rem 0 0;
  accent-color: var(--cyan);
  cursor: pointer;
}

.power-bar-col__slider:focus {
  outline: none;
}

.power-bar-col__slider:focus-visible {
  box-shadow: 0 0 0 2px var(--accent-focus);
}

.power-bar-col__hint {
  font-size: 0.55rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.1;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.power-bar-col--gen .power-bar-col__hint {
  display: none;
}

.power-bar-col__gen {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--gold);
  z-index: 3;
  pointer-events: none;
}

.power-bar-col__icon {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
}

.power-panel__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.power-panel__actions .power-panel__modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  flex: 1;
  min-width: 7rem;
}

.power-panel__modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}

.power-mode-btn {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.45rem 0.35rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.power-mode-btn:hover {
  border-color: var(--accent-glow);
  color: var(--text);
}

.power-mode-btn.is-active {
  border-color: var(--cyan);
  background: var(--accent-soft);
  color: var(--cyan);
}

.power-panel__warn {
  margin: 0.55rem 0 0;
  font-size: 0.78rem;
  color: #ff8a6b;
  font-weight: 600;
}

.power-breakdown {
  margin-bottom: 0.65rem;
}

.power-breakdown summary {
  cursor: pointer;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.power-breakdown__list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 8rem;
  overflow-y: auto;
}

.power-breakdown__list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.25rem 0.5rem;
  padding: 0.28rem 0;
  font-size: 0.72rem;
  border-bottom: 1px solid var(--border-soft);
}

.power-breakdown__list li span {
  color: var(--text-muted);
  grid-column: 1 / -1;
  font-size: 0.65rem;
}

.power-breakdown__list li em {
  color: var(--text);
  font-style: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.power-breakdown__list li strong {
  color: var(--cyan);
  font-family: var(--font-display);
  white-space: nowrap;
}

.planner-stats h2 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--cyan);
  margin-bottom: 0.75rem;
}

.stats-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: -0.25rem 0 0.75rem;
}

.stats-dl {
  margin: 0;
}

.stats-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.95rem;
  line-height: 1.4;
}

.stats-row dt {
  color: var(--text-muted);
  flex-shrink: 0;
}

.stats-row dd {
  text-align: right;
  font-weight: 600;
}

.stats-row--highlight {
  background: rgba(0, 212, 255, 0.08);
  margin: 0.25rem -0.5rem;
  padding: 0.65rem 0.5rem;
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 2px;
}

.stats-row--highlight dt {
  color: var(--cyan);
  font-weight: 700;
}

.stat-big {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--cyan);
}

.stat-delta {
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.stat-delta--up {
  color: #5dff8a;
}

.stat-delta--down {
  color: #ff8a6b;
}

.stats-weapons {
  margin-top: 1rem;
  padding: 0.75rem !important;
}

.stats-weapons h3 {
  font-family: var(--font-display);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber);
  margin-bottom: 0.5rem;
}

.stats-weapons ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.stats-weapons li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.15rem 0.5rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
}

.stats-weapons li span {
  color: var(--text-muted);
}

.stats-weapons li strong {
  color: var(--cyan);
  text-align: right;
}

.stats-weapons li em {
  grid-column: 1 / -1;
  font-style: normal;
  color: var(--text-muted);
  font-size: 0.72rem;
}

.planner-stats dl div {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.95rem;
}

.planner-stats dt {
  color: var(--text-muted);
}

.planner-stats dd {
  font-weight: 700;
  color: var(--cyan);
}

.text-warn {
  color: var(--amber) !important;
}

.warn-list {
  list-style: none;
  margin-top: 1rem;
}

.warn {
  font-size: 0.85rem;
  padding: 0.5rem;
  margin-bottom: 0.35rem;
  border-radius: 2px;
}

.warn--error {
  background: rgba(180, 40, 40, 0.25);
  border: 1px solid rgba(255, 80, 80, 0.4);
  color: #ffaaaa;
}

.warn--error,
.warn--warn {
  border: 1px solid rgba(245, 166, 35, 0.4);
  background: rgba(80, 50, 10, 0.3);
  color: var(--amber);
}

.ship-card--builder {
  border-color: var(--cyan);
  background: rgba(0, 212, 255, 0.06);
}

.import-meta {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
  padding: 1.25rem;
  margin: 1.5rem 0 2rem;
}

.import-meta dt {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.import-meta dd {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--cyan);
}

.import-card__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.import-card__stats span {
  border: 1px solid var(--border);
  padding: 0.15rem 0.4rem;
}

@media (max-width: 1400px) {
  .planner-shell--wiki {
    grid-template-columns: minmax(14rem, 1fr) minmax(0, 1.2fr);
  }

  .planner-shell--wiki .planner-stats--sticky {
    grid-column: 1 / -1;
    max-width: none;
  }
}

@media (max-width: 1100px) {
  .planner-shell--wiki {
    grid-template-columns: 1fr;
  }

  .planner-shell--wiki .planner-diagram-col,
  .planner-shell--wiki .planner-slots-wrap,
  .planner-shell--wiki .planner-stats--sticky {
    grid-column: 1;
    max-width: none;
  }

  .planner-ship-switch__bar {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
  }

  .planner-ship-switch__trigger {
    grid-column: 1 / -1;
    max-width: none;
  }

  .planner-ship-switch__search {
    grid-column: 1;
  }

  .planner-ship-switch__caret {
    grid-column: 2;
    grid-row: 2;
  }

  .planner-layout--diagram {
    grid-template-columns: 1fr 1fr;
  }

  .planner-diagram-col {
    grid-column: 1 / -1;
    position: static;
    max-width: none;
  }

  .planner-stats--sticky {
    grid-column: 1 / -1;
  }

  .planner-slots-wrap {
    min-width: 0;
  }
}

@media (max-width: 700px) {
  .planner-page {
    padding: 0 0.85rem 3rem;
  }

  .planner-layout,
  .planner-layout--diagram {
    grid-template-columns: 1fr;
  }

  .planner-slots-scroll {
    max-height: none;
  }

  .planner-stats--sticky {
    position: static;
    max-height: none;
  }

  .planner-slot {
    grid-template-columns: 1fr;
  }

  .planner-slot__control {
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .planner-slot:hover {
    transform: none;
  }
}

.ship-card__img {
  height: 140px;
  background-size: cover;
  background-position: center;
}

.ship-card__img--a {
  background: linear-gradient(180deg, #1e3a5f 0%, #0a1520 100%);
}

.ship-card__img--b {
  background: linear-gradient(180deg, #3d2e1a 0%, #12100a 100%);
}

.ship-card__img--c {
  background: linear-gradient(180deg, #2a3d4f 0%, #0e1419 100%);
}

.ship-card__body {
  padding: 1rem;
}

.ship-card__mfr {
  font-size: 0.75rem;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.ship-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0.25rem 0;
}

.ship-card__role {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.ship-card__tags {
  display: flex;
  gap: 0.35rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.ship-card__tags span {
  font-size: 0.7rem;
  padding: 0.15rem 0.4rem;
  border: 1px solid var(--cyan-dim);
  color: var(--cyan);
}

.ship-card--soon {
  border-style: dashed;
  opacity: 0.85;
}

.ship-card__body--center {
  text-align: center;
  padding: 2rem 1rem;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.news-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1rem;
}

.news-card {
  padding: 1.25rem;
  border: 1px solid var(--border-soft);
  background: var(--bg-panel);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.news-card--featured {
  grid-row: span 2;
  border-color: rgba(245, 166, 35, 0.3);
}

.news-card__cat {
  font-size: 0.75rem;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.news-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 0.5rem 0;
  line-height: 1.35;
}

.news-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.news-card footer {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
}

.footer__note {
  margin-top: 0.5rem;
  font-size: 0.85rem;
}

.footer code {
  color: var(--cyan);
}

.footer__legal-links {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
}

.footer__legal-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer__legal-links a:hover,
.footer__legal-links a[aria-current="page"] {
  color: var(--cyan);
}

.footer__support-wrap {
  margin-top: 1.5rem;
  margin-bottom: 0.25rem;
  display: flex;
  justify-content: center;
  width: 100%;
}

.footer__support-card,
.footer__support-col .footer__support-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  max-width: 22rem;
  padding: 1.1rem 1.35rem 1.2rem;
  text-align: center;
  border-radius: 12px;
  border: 1px solid rgba(0, 212, 255, 0.28);
  background: linear-gradient(165deg, rgba(0, 212, 255, 0.1) 0%, rgba(8, 18, 32, 0.55) 55%);
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.08);
}

.footer__support-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.footer__support-col .footer__support-card {
  align-items: flex-start;
  text-align: left;
  max-width: 100%;
  width: 100%;
}

.footer__support-eyebrow {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0, 212, 255, 0.85);
  font-weight: 600;
}

.footer__support-title {
  margin: 0;
  font-family: var(--font-display, "Orbitron", sans-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text, #e8f4ff);
  line-height: 1.25;
}

.footer__support-hint {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.footer__kofi-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.35rem;
  padding: 0.55rem 1.15rem;
  font-family: var(--font-display, "Orbitron", sans-serif);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: #061018;
  background: linear-gradient(180deg, #5ce9ff 0%, var(--cyan, #00d4ff) 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 212, 255, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.footer__kofi-btn:hover {
  color: #061018;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 212, 255, 0.45);
  filter: brightness(1.06);
}

.footer__kofi-btn-icon {
  font-size: 1.05rem;
  line-height: 1;
}

.footer__links a.footer__kofi-btn--inline {
  display: inline-flex;
  margin-top: 0.25rem;
}

.legal-page__main {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.legal-page__card {
  padding: 2rem 1.75rem;
  text-align: left;
}

.legal-page__title {
  font-family: var(--font-display, "Orbitron", sans-serif);
  font-size: 1.75rem;
  margin: 0 0 0.35rem;
}

.legal-page__lead {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
}

.legal-page__section {
  margin-bottom: 1.35rem;
}

.legal-page__section h2 {
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
  color: var(--cyan);
}

.legal-page__section p {
  margin: 0;
  line-height: 1.55;
  color: var(--text);
}

.legal-page__list {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
  line-height: 1.55;
}

.legal-page__list li {
  margin-bottom: 0.35rem;
}

.legal-page__sub {
  font-size: 0.98rem;
  margin: 1rem 0 0.35rem;
  color: var(--text);
}

.legal-page__section a {
  color: var(--cyan);
}

.legal-page__back {
  margin: 1.5rem 0 0;
  font-size: 0.95rem;
}

.hilfe-page__main {
  max-width: 48rem;
}

.hilfe-page__card {
  padding: 2rem 1.75rem 2.25rem;
}

.hilfe-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.hilfe-nav__link {
  padding: 0.45rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.hilfe-nav__link:hover,
.hilfe-nav__link.is-active {
  color: var(--cyan);
  border-color: rgba(0, 212, 255, 0.35);
  background: rgba(0, 212, 255, 0.08);
}

.hilfe-section {
  scroll-margin-top: 1rem;
}

.hilfe-table {
  width: 100%;
  margin: 0.5rem 0 1rem;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.hilfe-table th,
.hilfe-table td {
  padding: 0.5rem 0.65rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.hilfe-table th {
  color: var(--cyan);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hilfe-table a {
  color: var(--cyan);
}

.hilfe-hint {
  margin: 0 0 1rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.hilfe-checklist {
  list-style: decimal;
}

/* Hersteller-Gruppen (Import + Planner) */
.mfr-toolbar {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mfr-toolbar__search {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mfr-toolbar__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.mfr-search-input {
  width: 100%;
  max-width: 28rem;
  padding: 0.55rem 0.85rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: rgba(0, 12, 24, 0.6);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
}

.mfr-search-input:focus {
  outline: none;
  border-color: rgba(0, 212, 255, 0.28);
  box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.12);
}

.mfr-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.mfr-jump__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.65rem 0.35rem 0.4rem;
  border: 1px solid var(--mfr-border, var(--border));
  background: var(--mfr-muted, rgba(0, 20, 40, 0.5));
  color: var(--text);
  text-decoration: none;
  font-size: 0.85rem;
  border-radius: 4px;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.mfr-jump__chip:hover {
  border-color: var(--mfr-accent, var(--cyan-dim));
  background: var(--mfr-soft, rgba(0, 40, 70, 0.55));
  box-shadow: 0 0 12px var(--mfr-soft, transparent);
}

.mfr-jump__logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.mfr-jump__abbr {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: var(--mfr-muted, var(--bg-panel));
  border: 1px solid var(--mfr-border, var(--border));
  color: var(--mfr-accent, var(--amber));
}

.mfr-jump__label {
  max-width: 10rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .mfr-jump__label {
    display: none;
  }
}

.mfr-section {
  margin: 2.5rem 0 1rem;
  scroll-margin-top: 5rem;
  padding-left: 0.35rem;
  border-left: 3px solid var(--mfr-accent, var(--border));
}

.mfr-section__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--mfr-border, var(--border));
}

.mfr-section__logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.mfr-section__logo--fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--amber);
  background: rgba(0, 20, 40, 0.6);
  border: 1px solid var(--border);
}

.mfr-section__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0;
  color: var(--mfr-accent, var(--text));
}

.mfr-section__count {
  margin: 0.15rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.mfr-empty {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
}

.planner-hero__brand {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.planner-hero__mfr-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
  margin-top: 0.15rem;
  filter: drop-shadow(0 0 12px var(--mfr-soft, rgba(0, 180, 220, 0.2)));
}

.planner-hero[data-mfr-theme] {
  border-color: var(--mfr-border, var(--border));
  box-shadow: inset 3px 0 0 var(--mfr-accent, transparent);
}

.planner-hero[data-mfr-theme] .planner-hero__title {
  text-shadow: 0 0 24px var(--mfr-soft, transparent);
}

.planner-hero[data-mfr-theme] .planner-hero__meta span:first-child {
  color: var(--mfr-accent, var(--text-muted));
}

/* Schiffskarten mit Herstellerfarbe */
.ship-card--themed {
  border-left: 3px solid var(--mfr-accent, var(--border));
  background: linear-gradient(
    135deg,
    var(--mfr-muted, transparent) 0%,
    var(--bg-panel, rgba(0, 20, 40, 0.4)) 45%
  );
  transition: border-color 0.15s, box-shadow 0.15s;
}

.ship-card--themed:hover {
  border-left-color: var(--mfr-accent, var(--cyan));
  box-shadow: 0 4px 20px var(--mfr-soft, rgba(0, 0, 0, 0.2));
}

.ship-card--themed .ship-card__mfr {
  color: var(--mfr-accent, var(--amber));
}

/* Planner: Wiki-Layout (ohne Seitenleiste – Schiffswahl oben) */
.planner-shell--wiki {
  display: grid;
  grid-template-columns:
    minmax(17rem, 1.2fr)
    minmax(0, 1.35fr)
    minmax(20rem, 1.05fr);
  gap: clamp(0.85rem, 1.6vw, 1.75rem);
  align-items: start;
}

.planner-shell--wiki .planner-diagram-col {
  max-width: none;
}

.planner-shell--wiki .planner-diagram {
  position: static;
  top: auto;
}

.planner-shell:not(.planner-shell--wiki) {
  display: block;
}

.planner-mfr-nav {
  position: sticky;
  top: 1rem;
  max-height: min(78vh, 920px);
  display: flex;
  flex-direction: column;
  padding: 0.85rem 0.75rem;
  min-width: 0;
  transition:
    padding 0.2s ease,
    max-width 0.2s ease;
}

.planner-mfr-nav--collapsed {
  padding: 0.5rem 0.35rem;
  align-items: center;
  max-width: 2.85rem;
}

.planner-mfr-nav__toggle {
  display: none;
  width: 100%;
  padding: 0.35rem 0;
  border: none;
  background: rgba(0, 212, 255, 0.08);
  color: var(--cyan);
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}

.planner-mfr-nav--collapsed .planner-mfr-nav__toggle {
  display: block;
}

.planner-mfr-nav__toggle:hover {
  background: rgba(0, 212, 255, 0.18);
}

.planner-mfr-nav__rail-label,
.planner-mfr-nav__rail-ship {
  display: none;
  margin: 0;
  text-align: center;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  max-height: 5.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.planner-mfr-nav--collapsed .planner-mfr-nav__rail-label,
.planner-mfr-nav--collapsed .planner-mfr-nav__rail-ship {
  display: block;
}

.planner-mfr-nav__rail-ship {
  color: var(--cyan);
  font-weight: 600;
  font-size: 0.62rem;
  max-height: 9rem;
  margin-top: 0.35rem;
}

.planner-mfr-nav__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  min-width: 0;
  width: 100%;
}

.planner-mfr-nav--collapsed .planner-mfr-nav__body {
  display: none;
}

.planner-mfr-nav__body-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
}

.planner-mfr-nav__collapse {
  flex-shrink: 0;
  padding: 0.2rem 0.45rem;
  font-size: 1rem;
  line-height: 1;
}

.planner-mfr-nav__title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0;
}

.planner-mfr-nav__search {
  width: 100%;
  margin-bottom: 0.65rem;
  font-size: 0.9rem;
  padding: 0.45rem 0.6rem;
}

.planner-mfr-nav__list {
  overflow-y: auto;
  flex: 1;
  padding-right: 0.2rem;
  scrollbar-width: thin;
}

.planner-mfr-nav__group {
  margin-bottom: 0.35rem;
  border-radius: 4px;
  border: 1px solid transparent;
}

.planner-mfr-nav__group.is-open {
  border-color: var(--mfr-border, var(--border));
  background: var(--mfr-muted, rgba(0, 20, 40, 0.35));
}

.planner-mfr-nav__head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.4rem 0.45rem;
  border: none;
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.82rem;
  text-align: left;
  cursor: pointer;
  border-left: 3px solid var(--mfr-accent, transparent);
}

.planner-mfr-nav__head:hover {
  background: var(--mfr-soft, rgba(0, 40, 70, 0.4));
}

.planner-mfr-nav__logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}

.planner-mfr-nav__abbr {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--mfr-accent, var(--amber));
  border: 1px solid var(--mfr-border, var(--border));
}

.planner-mfr-nav__label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--mfr-accent, var(--text));
  font-weight: 600;
}

.planner-mfr-nav__count {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.planner-mfr-nav__ships {
  list-style: none;
  margin: 0;
  padding: 0 0 0.35rem 0;
  display: none;
}

.planner-mfr-nav__group.is-open .planner-mfr-nav__ships {
  display: block;
}

.planner-mfr-nav__ship {
  display: block;
  width: 100%;
  padding: 0.3rem 0.5rem 0.3rem 2.1rem;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-align: left;
  cursor: pointer;
  border-left: 2px solid transparent;
}

.planner-mfr-nav__ship:hover {
  color: var(--text);
  background: var(--mfr-muted, rgba(0, 30, 50, 0.4));
}

.planner-mfr-nav__ship.is-active {
  color: var(--mfr-accent, var(--cyan));
  border-left-color: var(--mfr-accent, var(--cyan));
  background: var(--mfr-soft, rgba(0, 60, 90, 0.35));
  font-weight: 600;
}

.planner-toolbar select optgroup {
  font-weight: 700;
  color: var(--amber);
  font-family: var(--font-body);
}

@media (max-width: 900px) {
  .planner-ship-switch__panel {
    width: min(calc(100vw - 2rem), 22rem);
    max-height: min(45vh, 360px);
  }
}

@media (max-width: 1100px) {
  .home-hub {
    grid-template-columns: 1fr;
  }

  .home-hub__aside {
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }

  .hot-ships,
  .video-tour {
    grid-template-columns: 1fr;
  }

  .news-hub {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 2rem;
  }

  .hero-search {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-search__btn {
    width: 100%;
  }

  .planner-spotlight,
  .planner-spotlight--inline {
    grid-template-columns: 1fr;
    padding: 1.25rem 1.15rem;
  }

  .planner-spotlight__features--inline {
    flex-direction: column;
  }

  .live-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-card--featured {
    grid-row: auto;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .header--home .nav {
    display: none;
  }
}

@media (max-width: 600px) {
  .news-feed__item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }
}

/* Twitch – Video-Tour Verweis auf Dock */
.video-card__link-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.home-editor-yt-id {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.video-card__frame--twitch-ref {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 200px;
  padding: 1.25rem;
  text-align: center;
  background: linear-gradient(145deg, rgba(145, 70, 255, 0.12), rgba(6, 10, 18, 0.9));
  border: 1px dashed rgba(145, 70, 255, 0.35);
}

.video-card__ref-hint {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 22rem;
}


/* Legacy Mini-Player / Live-Chip – niemals anzeigen */
#hb-twitch-dock,
#hb-live-chip,
.hb-twitch-dock,
.hb-live-chip {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Marktplatz-Admin (import-admin) */
.import-admin-stats--inline {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.bazaar-admin-purge {
  padding: 1rem 1.15rem;
  margin-bottom: 1rem;
  background: rgba(0, 0, 0, 0.25);
}

.bazaar-admin-purge h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.bazaar-admin-purge__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.bazaar-admin-purge__grid label span {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.bazaar-admin-purge__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.bazaar-admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.bazaar-admin-table th,
.bazaar-admin-table td {
  padding: 0.45rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.bazaar-admin-table th {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.bazaar-admin-offers {
  overflow-x: auto;
  max-height: 24rem;
}

.bazaar-admin-btn-danger {
  color: #ffaaaa;
  border-color: rgba(255, 120, 120, 0.35);
}

.bazaar-admin-btn-danger:hover {
  color: #fff;
  background: rgba(180, 40, 40, 0.35);
}

.bazaar-my-offers {
  margin-bottom: 1.25rem;
}

.bazaar-my-offers h2 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.bazaar-my-offers__empty {
  margin: 0;
  opacity: 0.85;
}

.bazaar-sell-account-link {
  margin: 0 0 1rem;
}

.hb-auth-nav--seller::before {
  content: "🛒 ";
}

.hb-auth-nav--team {
  font-weight: 600;
}

.seller-account__hero {
  margin-bottom: 1.5rem;
}

.seller-account__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.seller-account__profile h2,
.seller-account__shop h2,
.seller-account__panel h2 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}

.seller-account__dl {
  display: grid;
  gap: 0.65rem;
  margin: 0 0 1rem;
}

.seller-account__dl dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.seller-account__dl dd {
  margin: 0.15rem 0 0;
}

.seller-account__status--pending {
  color: #ffdd99;
}

.seller-account__status--active {
  color: #9fd4a8;
}

.seller-account__hint {
  margin: 0 0 0.75rem;
  opacity: 0.85;
  line-height: 1.45;
}

.seller-account__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.seller-account__cart-btn {
  border-color: var(--gold-soft);
}

.seller-account__panel {
  margin-bottom: 1rem;
}

.seller-account__panel--muted {
  opacity: 0.92;
}

.seller-account__panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.seller-account__panel-head h2 {
  margin: 0;
}

.seller-account__empty {
  margin: 0;
  opacity: 0.8;
}

.seller-account__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.seller-account__subhead {
  margin: 1.25rem 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.seller-account__row--sold {
  opacity: 0.85;
}

.bazaar-listing-badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bazaar-listing-badge--active {
  background: rgba(80, 200, 120, 0.15);
  color: #9fd4a8;
}

.bazaar-listing-badge--sold {
  background: rgba(200, 120, 80, 0.2);
  color: #e8c49a;
}

.bazaar-market-detail__sold-banner {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: rgba(200, 120, 80, 0.15);
  border: 1px solid rgba(232, 196, 154, 0.35);
  color: #e8d4b8;
}

.bazaar-market-detail__hint {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #f0a0a0;
}

.seller-account__table {
  max-height: none;
}

.bazaar-admin-user-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.bazaar-admin-status {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.bazaar-admin-status--pending {
  background: rgba(255, 180, 80, 0.2);
  color: #ffdd99;
}

.bazaar-admin-status--active {
  background: rgba(80, 180, 100, 0.2);
  color: #a8e8b8;
}

.bazaar-admin-status--suspended {
  background: rgba(180, 50, 40, 0.25);
  color: #ffc8b8;
}

.hb-twitch__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.hb-twitch__fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 100%;
  padding: 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.hb-twitch-fallback--lan {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
  gap: 0.35rem;
  min-height: 100%;
  padding: 0;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  border-radius: inherit;
  background: rgba(0, 0, 0, 0.45);
}

.hb-twitch-fallback__preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}

.hb-twitch-fallback__badge {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  margin: 0.65rem 0 0 0.65rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: #e91916;
  border-radius: 4px;
}

.hb-twitch-fallback__title {
  position: relative;
  z-index: 1;
  margin: auto 0.65rem 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85);
}

.hb-twitch-fallback__channel {
  position: relative;
  z-index: 1;
  margin: 0 0.65rem;
  font-size: 0.82rem;
  color: var(--cyan);
  font-weight: 600;
}

.hb-twitch-fallback__hint {
  position: relative;
  z-index: 1;
  margin: 0.35rem 0.65rem 0.65rem;
  font-size: 0.72rem;
  line-height: 1.35;
  color: rgba(232, 238, 245, 0.88);
  text-align: left;
  background: rgba(4, 8, 14, 0.72);
  padding: 0.45rem 0.55rem;
  border-radius: 6px;
}

.hb-twitch-fallback--compact .hb-twitch-fallback__hint {
  font-size: 0.68rem;
}

.hb-twitch-fallback--lan::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(4, 8, 14, 0.92) 100%);
  pointer-events: none;
}

.video-card__frame[data-hb-twitch],
.stream-panel__embed[data-hb-twitch] {
  padding: 0;
  min-height: 0;
}

/* Planner: Miniplayer oben rechts, fest am Viewport (scrollt nicht mit) */
#hb-twitch-float.hb-twitch-float--planner-top,
body.planner-page #hb-twitch-float {
  position: fixed !important;
  top: 0.75rem !important;
  right: 0.75rem !important;
  bottom: auto !important;
  left: auto !important;
  z-index: 1200;
  width: min(300px, calc(100vw - 1.5rem));
  margin: 0;
  transform: none;
}

body.planner-page.hb-has-twitch-float--compact #hb-twitch-float {
  top: 0.55rem !important;
  right: 0.55rem !important;
  bottom: auto !important;
}

@media (max-width: 700px) {
  body.planner-page #hb-twitch-float:not(.is-collapsed) {
    width: min(260px, calc(100vw - 1rem));
    top: 0.5rem !important;
    right: 0.5rem !important;
  }
}

/* Twitch – Live-Kachel unten rechts (Unterseiten, nicht Startseite) */
.hb-twitch-float {
  position: fixed;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 380;
  width: min(340px, calc(100vw - 1.5rem));
  border: 2px solid rgba(145, 70, 255, 0.75);
  border-radius: 12px;
  background: rgba(6, 10, 18, 0.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55), 0 0 24px rgba(145, 70, 255, 0.2);
  overflow: hidden;
}

body.hb-has-twitch-float--compact .hb-twitch-float {
  bottom: 0.55rem;
  right: 0.55rem;
  width: min(320px, calc(100vw - 1.1rem));
  z-index: 350;
}

body.hb-has-twitch-float:not(.hb-twitch-float-expanded) .home-main,
body.hb-has-twitch-float:not(.hb-twitch-float-expanded) .ships-main,
body.hb-has-twitch-float:not(.hb-twitch-float-expanded) .compare-main,
body.hb-has-twitch-float:not(.hb-twitch-float-expanded) .loaners-main,
body.hb-has-twitch-float:not(.hb-twitch-float-expanded) .bazaar-main {
  padding-bottom: 0;
}

body.hb-has-twitch-float.hb-twitch-float-expanded .home-main,
body.hb-has-twitch-float.hb-twitch-float-expanded .ships-main {
  padding-bottom: 0.5rem;
}

/* Minimiert: nur Leiste sichtbar – Embed läuft unsichtbar weiter (Twitch-Zähler) */
.hb-twitch-float.is-collapsed {
  width: auto;
  max-width: min(280px, calc(100vw - 1rem));
}

.hb-twitch-float.is-collapsed .hb-twitch-float__hint {
  display: none;
}

.hb-twitch-float.is-collapsed .hb-twitch-float__body {
  display: block !important;
  position: fixed;
  top: 0;
  left: 0;
  width: 400px;
  max-width: 400px;
  margin: 0;
  padding: 0.35rem;
  opacity: 0.01;
  pointer-events: none;
  overflow: hidden;
  visibility: visible;
  z-index: -1;
  transform: translateX(-120vw);
}

.hb-twitch-float.is-collapsed .video-card__frame--embed,
.hb-twitch-float.is-collapsed .hb-twitch__iframe {
  min-height: 180px;
}

.hb-twitch-float__head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.6rem;
  background: linear-gradient(90deg, rgba(145, 70, 255, 0.18), transparent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.hb-twitch-float.is-collapsed .hb-twitch-float__head {
  border-bottom: none;
}

.hb-twitch-float__live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff4466;
  box-shadow: 0 0 8px #ff4466;
  animation: pulse 2s ease infinite;
  flex-shrink: 0;
}

.hb-twitch-float__badge {
  flex-shrink: 0;
  padding: 0.12rem 0.4rem;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: #9146ff;
  border-radius: 4px;
}

.hb-twitch-float__title {
  flex: 1;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #e8eef5;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hb-twitch-float__open {
  color: #bf5af2;
  text-decoration: none;
  font-weight: 700;
  padding: 0.15rem 0.3rem;
  line-height: 1;
}

.hb-twitch-float__toggle {
  flex-shrink: 0;
  border: none;
  background: rgba(145, 70, 255, 0.15);
  color: #e8eef5;
  cursor: pointer;
  font-size: 0.85rem;
  line-height: 1;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  transition: background 0.15s, transform 0.2s;
}

.hb-twitch-float__toggle:hover {
  background: rgba(145, 70, 255, 0.35);
  color: #fff;
}

.hb-twitch-float.is-collapsed .hb-twitch-float__toggle {
  transform: rotate(-90deg);
}

.hb-twitch-float__body {
  padding: 0.4rem 0.4rem 0.55rem;
}

.hb-twitch-float .video-card__frame--embed {
  aspect-ratio: 16 / 9;
  min-height: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #0a1018;
}

.hb-twitch-float .video-card__frame--embed iframe,
.hb-twitch-float .hb-twitch__iframe {
  width: 100% !important;
  height: 100% !important;
  min-height: 146px;
  border: 0;
}

.hb-twitch-float__hint {
  margin: 0.35rem 0.1rem 0;
  font-size: 0.68rem;
  color: var(--text-muted);
  text-align: center;
}

.hb-twitch-float.is-lan-fallback .video-card__frame--embed {
  min-height: 160px;
}

@media (max-width: 700px) {
  .hb-twitch-float:not(.is-collapsed) {
    width: min(300px, calc(100vw - 1rem));
  }
}

/* Startseiten-Redaktion */
.home-editor-main {
  max-width: min(100%, 1100px);
}

.home-editor-status {
  margin: 0.75rem 0 1rem;
  font-size: 0.9rem;
  color: var(--accent);
}

.home-editor-status.is-error {
  color: #ff8a72;
}

.home-editor-status.is-ok {
  color: #7dffb8;
  font-weight: 600;
}

.home-editor-section {
  margin-bottom: 1rem;
}

.home-editor-section h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--accent);
  margin: 0 0 0.65rem;
}

.home-editor-section__lead {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0 0 1rem;
  line-height: 1.45;
}

.home-editor-ship-block__label {
  display: block;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.home-editor-ship-block__hint {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.home-editor-ship-block__count {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cyan);
  margin: 0 0 0.65rem;
  letter-spacing: 0.06em;
}

.home-editor-ship-add button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.home-editor-ship-list {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.home-editor-ship-list__empty {
  padding: 0.75rem 1rem;
  border: 1px dashed var(--border-soft);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.home-editor-ship-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: rgba(8, 14, 24, 0.55);
}

.home-editor-ship-item__order {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--cyan);
  min-width: 1.25rem;
  text-align: center;
}

.home-editor-ship-item__label {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.35;
}

.home-editor-ship-item__warn {
  color: #ffb347;
  font-size: 0.78rem;
}

.home-editor-ship-item__actions {
  display: flex;
  gap: 0.2rem;
}

.home-editor-ship-add {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.home-editor-ship-add__input {
  flex: 1 1 14rem;
  min-width: 0;
  padding: 0.65rem 0.85rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: rgba(6, 12, 22, 0.92);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  color: var(--text);
}

.home-editor-ship-add__input:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.2);
}

.home-editor-section__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.home-editor-section__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.home-editor-subhead {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--cyan);
  margin: 1.25rem 0 0.65rem;
  letter-spacing: 0.04em;
}

.home-editor-subhead--inline {
  margin: 0 0 0.65rem;
}

.home-editor-hub-tiles,
.home-editor-spotlight-features {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.75rem;
}

.home-editor-hub-tile,
.home-editor-spotlight-feature {
  padding: 1rem !important;
  margin-bottom: 0 !important;
}

.home-editor-hub-tile__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border-soft);
}

.home-editor-hub-tile__head strong {
  font-family: var(--font-display);
  font-size: 0.88rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.home-editor-videos {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1rem;
}

.home-editor-video {
  padding: 1rem !important;
  margin-bottom: 0 !important;
}

.home-editor-video__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border-soft);
}

.home-editor-video__platform {
  min-width: 8rem;
  padding: 0.4rem 0.5rem;
  background: rgba(10, 22, 36, 0.9);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font-body);
}

.home-editor-video__remove {
  margin-left: auto;
}

.home-editor-field__hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 600;
}

.home-editor-form__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0 2rem;
}

.home-editor-preview .video-tour {
  grid-template-columns: 1fr;
}

.news-editor-field--check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-direction: row !important;
}

.news-editor-field--check input {
  width: auto;
}

.home-editor-field__hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 600;
}

.news-editor-field textarea {
  width: 100%;
  min-height: 4rem;
  padding: 0.55rem 0.65rem;
  background: rgba(10, 22, 36, 0.9);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  resize: vertical;
}

/* Import-Admin */
.import-admin-page .import-admin-main {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1rem 1.25rem 3rem;
}

.import-admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  margin-bottom: 1rem;
}

.import-admin-toolbar__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.35rem;
  color: var(--cyan);
}

.import-admin-toolbar__hint {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 42rem;
}

.import-admin-banner {
  padding: 0.65rem 1rem;
  margin-bottom: 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.25);
}

.import-admin-banner.is-error {
  background: rgba(255, 100, 80, 0.1);
  border-color: rgba(255, 120, 90, 0.35);
  color: #ffb8a8;
}

.import-admin-version {
  padding: 1rem 1.15rem;
  margin-bottom: 1rem;
}

.import-admin-version__lead {
  margin-bottom: 0 !important;
}

.import-admin-version__result {
  margin-top: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
  background: rgba(0, 0, 0, 0.2);
}

.import-admin-version__result.is-loading {
  border-color: rgba(110, 181, 196, 0.25);
}

.import-admin-version__result.is-ok {
  border-color: rgba(93, 255, 138, 0.35);
  background: rgba(93, 255, 138, 0.06);
}

.import-admin-version__result.is-behind {
  border-color: rgba(255, 180, 90, 0.45);
  background: rgba(255, 140, 90, 0.08);
}

.import-admin-version__result.is-mixed,
.import-admin-version__result.is-wiki_unreachable,
.import-admin-version__result.is-error {
  border-color: rgba(255, 120, 90, 0.4);
  background: rgba(255, 100, 80, 0.08);
}

.import-admin-version__status {
  margin: 0 0 0.65rem;
}

.import-admin-version__badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--text);
}

.import-admin-version__result.is-ok .import-admin-version__badge {
  color: #5dff8a;
}

.import-admin-version__result.is-behind .import-admin-version__badge {
  color: #ffb347;
}

.import-admin-version__dl {
  display: grid;
  gap: 0.35rem;
  margin: 0 0 0.65rem;
}

.import-admin-version__dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.88rem;
}

.import-admin-version__dl dt {
  color: var(--text-muted);
}

.import-admin-version__dl dd {
  font-family: var(--font-display);
  font-weight: 600;
  text-align: right;
  color: var(--cyan);
}

.import-admin-version__samples {
  list-style: none;
  margin: 0 0 0.65rem;
  padding: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.import-admin-version__samples strong {
  color: var(--text);
}

.import-admin-version__hint {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.import-admin-version__errors {
  margin: 0.5rem 0 0;
  font-size: 0.78rem;
  color: #ffb8a8;
}

.import-admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.import-admin-stat {
  padding: 0.75rem 0.85rem !important;
}

.import-admin-stat__label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.import-admin-stat__value {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text);
}

.import-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.import-admin-section {
  padding: 1rem 1.15rem;
}

.import-admin-section h2 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--cyan);
  margin: 0 0 0.4rem;
}

.import-admin-section__lead {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0 0 0.85rem;
  line-height: 1.45;
}

.import-admin-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.import-admin-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.import-admin-pipeline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.2);
}

.import-admin-pipeline h3 {
  margin: 0 0 0.2rem;
  font-size: 0.92rem;
  font-family: var(--font-display);
  color: var(--text);
}

.import-admin-pipeline p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.import-admin-pipeline .btn {
  flex-shrink: 0;
  align-self: center;
}

.import-admin-sc-info {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-soft);
  font-size: 0.85rem;
}

.import-admin-sc-dl {
  display: grid;
  gap: 0.35rem;
  margin: 0 0 0.5rem;
}

.import-admin-sc-dl div {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

.import-admin-sc-dl dt {
  color: var(--text-muted);
}

.import-admin-sc-info__msg {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.import-admin-log-section {
  margin-bottom: 1rem;
}

.import-admin-job-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.import-admin-job-badge.is-running {
  background: rgba(0, 212, 255, 0.15);
  color: var(--cyan);
}

.import-admin-job-badge.is-done {
  background: rgba(80, 220, 120, 0.15);
  color: #7dffa8;
}

.import-admin-job-badge.is-failed {
  background: rgba(255, 90, 70, 0.15);
  color: #ff9a88;
}

.import-admin-steps {
  list-style: none;
  margin: 0 0 0.65rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.import-admin-step {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  font-size: 0.78rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-soft);
}

.import-admin-step.is-running {
  border-color: var(--cyan);
}

.import-admin-step.is-failed {
  border-color: #ff7a60;
}

.import-admin-step__status {
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 0.65rem;
  letter-spacing: 0.05em;
}

.import-admin-log {
  margin: 0;
  max-height: 16rem;
  overflow: auto;
  padding: 0.75rem;
  font-size: 0.78rem;
  line-height: 1.4;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  color: #c8d4e0;
  white-space: pre-wrap;
  word-break: break-word;
}

.import-admin-cli {
  margin: 0;
  padding: 0.85rem;
  font-size: 0.8rem;
  background: rgba(0, 0, 0, 0.45);
  border-radius: var(--radius-sm);
  overflow-x: auto;
  color: #b8c8d8;
}

/* Verwaltung (Admin-Hub + Leiste) */
.admin-hub-main {
  max-width: 56rem;
  margin: 0 auto;
  padding: 1rem 1.25rem 4rem;
}

.admin-hub-hero {
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
}

.admin-hub-hero h1 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--cyan);
  margin: 0.25rem 0 0.5rem;
}

.admin-hub-hero__lead {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 40rem;
}

.admin-hub-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.admin-hub-tile {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  padding: 1.1rem 1.15rem;
  min-height: 10rem;
  border: 1px solid var(--border-soft);
  transition: border-color 0.2s, transform 0.2s;
}

.admin-hub-tile:hover {
  border-color: rgba(0, 212, 255, 0.4);
  transform: translateY(-2px);
}

.admin-hub-tile--featured {
  border-color: rgba(0, 212, 255, 0.35);
  background: linear-gradient(145deg, rgba(0, 212, 255, 0.08), rgba(4, 8, 14, 0.95));
}

.admin-hub-tile--help {
  border-color: rgba(120, 160, 200, 0.28);
  background: linear-gradient(145deg, rgba(80, 120, 160, 0.1), rgba(4, 8, 14, 0.92));
}

.admin-hub-tile__eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan);
  margin-bottom: 0.35rem;
}

.admin-hub-tile h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 0.4rem;
  color: var(--text);
}

.admin-hub-tile p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.4;
  flex: 1;
}

.admin-hub-tile__cta {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cyan);
}

.admin-hub-note {
  padding: 1rem 1.15rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.admin-hub-note h2 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--cyan);
  margin: 0 0 0.5rem;
}

.admin-hub-note p {
  margin: 0 0 0.5rem;
}

.admin-hub-note__url a {
  color: var(--cyan);
}

.hb-admin-strip {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  padding: 0.45rem 0.75rem;
  background: rgba(4, 10, 18, 0.92);
  border-top: 1px solid rgba(0, 212, 255, 0.25);
  backdrop-filter: blur(8px);
}

.hb-admin-strip a {
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-muted);
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.hb-admin-strip a:hover {
  color: var(--cyan);
  background: rgba(0, 212, 255, 0.08);
}

.hb-admin-strip a[aria-current="page"] {
  color: #0a1018;
  background: var(--cyan);
}

.hb-admin-strip__user {
  padding: 0.35rem 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  align-self: center;
}

.hb-admin-strip__logout {
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid rgba(255, 120, 100, 0.35);
  border-radius: 4px;
  cursor: pointer;
}

.hb-admin-strip__logout:hover {
  color: #ffb4a8;
  border-color: rgba(255, 120, 100, 0.6);
}

.hb-auth-nav--logged-in {
  color: var(--cyan);
  border-color: rgba(0, 212, 255, 0.35);
}

body.hb-admin-site {
  padding-bottom: 2.75rem;
}

/* —— Quick Wins: Ankündigung, Vergleich, Loaner —— */
.home-announcement {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.85rem 1.15rem;
  margin-bottom: 1.25rem;
  border-left: 3px solid var(--cyan);
}

.home-announcement__copy {
  flex: 1;
  min-width: 12rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.home-announcement__title {
  font-size: 1rem;
  color: var(--text);
}

.home-announcement__text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.compare-main,
.loaners-main {
  max-width: 72rem;
  margin: 0 auto;
}

.bazaar-main {
  max-width: 92rem;
  margin: 0 auto;
}

.compare-hero,
.loaners-hero {
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.compare-hero__lead,
.loaners-hero__lead {
  margin: 0.5rem 0 0;
  color: var(--text-muted);
  line-height: 1.5;
}

.loaners-hero__hint {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  opacity: 0.75;
}

.compare-pickers {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}

.compare-picker {
  flex: 1;
  min-width: 14rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.compare-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.compare-columns--3 {
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

.compare-col__slot-label {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.compare-col {
  padding: 1rem;
  text-align: center;
}

.compare-col__img {
  width: 100%;
  max-height: 10rem;
  object-fit: contain;
  margin-bottom: 0.75rem;
}

.compare-col__placeholder {
  height: 8rem;
  margin-bottom: 0.75rem;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--mfr-accent, var(--cyan)), transparent 70%);
  opacity: 0.35;
}

.compare-col__actions {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  padding: 0;
  overflow: hidden;
}

.compare-table th,
.compare-table td {
  padding: 0.65rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: top;
}

.compare-table thead th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.compare-table__row--diff td {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.compare-table__section:not(:first-of-type) th {
  padding-top: 1.15rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.compare-table__section th {
  padding: 0.85rem 1rem 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: left;
  border-bottom-width: 2px;
  border-bottom-style: solid;
}

/* Block: Allgemein – Blau */
.compare-table__section--general th {
  color: #7eb8ff;
  background: rgba(90, 154, 232, 0.14);
  border-bottom-color: rgba(90, 154, 232, 0.45);
}
.compare-table__row--general th[scope="row"] {
  border-left: 3px solid rgba(90, 154, 232, 0.55);
}
.compare-table__row--general td,
.compare-table__row--general th[scope="row"] {
  background: rgba(90, 154, 232, 0.05);
}
.compare-table__row--general.compare-table__row--diff td {
  background: rgba(90, 154, 232, 0.12);
}

/* Block: Verteidigung – Orange */
.compare-table__section--defense th {
  color: #f0a060;
  background: rgba(224, 136, 58, 0.16);
  border-bottom-color: rgba(224, 136, 58, 0.5);
}
.compare-table__row--defense th[scope="row"] {
  border-left: 3px solid rgba(224, 136, 58, 0.6);
}
.compare-table__row--defense td,
.compare-table__row--defense th[scope="row"] {
  background: rgba(224, 136, 58, 0.06);
}
.compare-table__row--defense.compare-table__row--diff td {
  background: rgba(224, 136, 58, 0.14);
}

/* Block: Signatur – Violett */
.compare-table__section--signature th {
  color: #c4a0e8;
  background: rgba(155, 122, 212, 0.16);
  border-bottom-color: rgba(155, 122, 212, 0.45);
}
.compare-table__row--signature th[scope="row"] {
  border-left: 3px solid rgba(155, 122, 212, 0.55);
}
.compare-table__row--signature td,
.compare-table__row--signature th[scope="row"] {
  background: rgba(155, 122, 212, 0.06);
}
.compare-table__row--signature.compare-table__row--diff td {
  background: rgba(155, 122, 212, 0.13);
}

/* Block: Speed – Grün/Cyan */
.compare-table__section--speed th {
  color: #5ee0c0;
  background: rgba(72, 184, 150, 0.16);
  border-bottom-color: rgba(72, 184, 150, 0.45);
}
.compare-table__row--speed th[scope="row"] {
  border-left: 3px solid rgba(72, 184, 150, 0.55);
}
.compare-table__row--speed td,
.compare-table__row--speed th[scope="row"] {
  background: rgba(72, 184, 150, 0.06);
}
.compare-table__row--speed.compare-table__row--diff td {
  background: rgba(72, 184, 150, 0.13);
}

/* Block: Abmessungen – Gold */
.compare-table__section--dimensions th {
  color: #e8c04a;
  background: rgba(232, 192, 74, 0.14);
  border-bottom-color: rgba(232, 192, 74, 0.45);
}
.compare-table__row--dimensions th[scope="row"] {
  border-left: 3px solid rgba(232, 192, 74, 0.55);
}
.compare-table__row--dimensions td,
.compare-table__row--dimensions th[scope="row"] {
  background: rgba(232, 192, 74, 0.05);
}
.compare-table__row--dimensions.compare-table__row--diff td {
  background: rgba(232, 192, 74, 0.12);
}

.compare-table tbody tr:last-child td,
.compare-table tbody tr:last-child th[scope="row"] {
  border-bottom: none;
}

.compare-vitals-hint {
  margin: 0 0 0.75rem;
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-left: 3px solid rgba(255, 180, 80, 0.5);
  background: rgba(255, 180, 80, 0.06);
  border-radius: 4px;
}

.loaners-toolbar {
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}

.loaners-table-wrap {
  padding: 0;
  overflow-x: auto;
}

.loaners-table {
  width: 100%;
  border-collapse: collapse;
}

.loaners-table th,
.loaners-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: top;
}

.loaners-table thead th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.2);
}

.loaner-mfr {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.loaner-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.loaner-chip {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  font-size: 0.85rem;
  border-radius: 4px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.25);
  color: var(--cyan);
  text-decoration: none;
}

.loaner-chip:hover {
  background: rgba(0, 212, 255, 0.18);
}

.loaner-ship-link {
  color: inherit;
  text-decoration: none;
}

.loaner-ship-link:hover strong {
  color: var(--cyan);
}

/* —— Basar (Community-Marktplatz, Vorschau) —— */
.bazaar-preview-banner {
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 180, 60, 0.45);
  background: rgba(255, 160, 40, 0.08);
  color: #ffd9a0;
  font-size: 0.92rem;
  line-height: 1.45;
}

.bazaar-preview-banner strong {
  color: #ffcc66;
}

.bazaar-hero {
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.bazaar-hero__lead {
  margin: 0.5rem 0 0;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 40rem;
}

.bazaar-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.bazaar-hero__stat {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.bazaar-toolbar {
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.bazaar-toolbar__search {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.bazaar-toolbar__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.bazaar-filter-btn {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text-muted);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.bazaar-filter-btn:hover,
.bazaar-filter-btn.is-active {
  border-color: rgba(0, 212, 255, 0.5);
  color: var(--cyan);
  background: rgba(0, 212, 255, 0.1);
}

.bazaar-toolbar__meta {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.bazaar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.bazaar-card {
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.bazaar-card:hover {
  border-color: rgba(0, 212, 255, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.bazaar-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.bazaar-card__cat {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: rgba(145, 70, 255, 0.25);
  color: #d4b8ff;
}

.bazaar-card__cat--rohstoffe {
  background: rgba(255, 140, 60, 0.2);
  color: #ffc299;
}

.bazaar-card__cat--waffen {
  background: rgba(255, 68, 102, 0.2);
  color: #ff99aa;
}

.bazaar-card__cat--komponenten {
  background: rgba(0, 212, 255, 0.15);
  color: var(--cyan);
}

.bazaar-card__cat--r-stung,
.bazaar-card__cat--rustung {
  background: rgba(120, 200, 120, 0.2);
  color: #b8e8b8;
}

.bazaar-card__qty {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.bazaar-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.25;
}

.bazaar-card__title a {
  color: inherit;
  text-decoration: none;
}

.bazaar-card__title a:hover {
  color: var(--cyan);
}

.bazaar-card__price {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #7dffb8;
}

.bazaar-card__loc,
.bazaar-card__seller {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.bazaar-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.bazaar-tag {
  font-size: 0.72rem;
  padding: 0.12rem 0.4rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.bazaar-card__cta {
  margin-top: 0.35rem;
  align-self: flex-start;
}

.bazaar-disclaimer {
  padding: 1.25rem;
  margin-top: 0.5rem;
}

.bazaar-disclaimer h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--accent);
}

.bazaar-disclaimer p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.bazaar-detail {
  padding: 1.5rem;
}

.bazaar-detail__back {
  margin: 0 0 1rem;
  font-size: 0.9rem;
}

.bazaar-detail__back a {
  color: var(--cyan);
}

.bazaar-detail__head h1 {
  margin: 0.5rem 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
}

.bazaar-detail__price {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #7dffb8;
}

.bazaar-detail__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 0.75rem 1.25rem;
  margin: 1.25rem 0;
  padding: 1rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.25);
}

.bazaar-detail__facts dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 0 0 0.2rem;
}

.bazaar-detail__facts dd {
  margin: 0;
  font-weight: 600;
}

.bazaar-detail__desc h2,
.bazaar-detail__contact h2 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--accent);
  margin: 0 0 0.5rem;
}

.bazaar-detail__desc p {
  margin: 0;
  line-height: 1.55;
  color: var(--text-muted);
}

.bazaar-detail__contact {
  margin-top: 1.25rem;
  padding: 1rem;
}

.bazaar-detail__contact-hint {
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
  opacity: 0.8;
}

.bazaar-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

@media (max-width: 520px) {
  .bazaar-grid {
    grid-template-columns: 1fr;
  }
}

/* —— Marktplatz (gemütliche Basar-UI) —— */
.bazaar-market-page .space-bg__nebula--a {
  opacity: 0.85;
}

.bazaar-market {
  padding-bottom: 2rem;
}

.bazaar-market__preview {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  font-size: 0.82rem;
  color: #e8d4b8;
  background: rgba(120, 80, 40, 0.15);
  border: 1px solid rgba(200, 150, 80, 0.25);
}

.bazaar-market__preview span:first-child {
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(255, 180, 90, 0.25);
  color: #ffdd99;
}

.bazaar-market__hero {
  position: relative;
  margin-bottom: 1.25rem;
  padding: 1.75rem 1.5rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(200, 160, 100, 0.2);
  background: linear-gradient(135deg, rgba(45, 32, 18, 0.85), rgba(12, 18, 28, 0.9));
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.bazaar-market__hero-glow {
  position: absolute;
  right: -10%;
  top: -30%;
  width: 55%;
  height: 140%;
  background: radial-gradient(ellipse, rgba(255, 170, 80, 0.18), transparent 65%);
  pointer-events: none;
}

.bazaar-market__hero-text {
  position: relative;
  z-index: 1;
  max-width: 36rem;
}

.bazaar-market__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #d4a574;
}

.bazaar-market h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  color: #f5ebe0;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.bazaar-market__lead {
  margin: 0.5rem 0 0;
  font-size: 1.05rem;
  line-height: 1.5;
  color: rgba(232, 220, 200, 0.75);
}

.bazaar-market__layout {
  display: grid;
  grid-template-columns: minmax(14rem, 17rem) 1fr;
  gap: 1.25rem;
  align-items: start;
}

.bazaar-market__sidebar {
  padding: 1.1rem 1.15rem;
  position: sticky;
  top: 5rem;
  border: 1px solid rgba(200, 160, 100, 0.15);
  background: rgba(8, 12, 20, 0.75);
}

.bazaar-market__sidebar-block {
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bazaar-market__sidebar-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.bazaar-market__sidebar h2 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 0.88rem;
  color: #e8c89a;
}

.bazaar-market__sidebar p {
  margin: 0 0 0.65rem;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.bazaar-market__sell-btn {
  width: 100%;
  justify-content: center;
}

.bazaar-market__cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bazaar-market__cat-pick {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 0.35rem;
  padding: 0.4rem 0.55rem;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: #e8eef5;
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.bazaar-market__cat-pick:hover,
.bazaar-market__cat-pick.is-active {
  background: rgba(255, 180, 90, 0.15);
  color: #ffddaa;
}

.bazaar-market__cat-count {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.bazaar-market__search {
  padding: 1.15rem 1.25rem;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(255, 200, 120, 0.2);
  background: linear-gradient(180deg, rgba(30, 22, 14, 0.6), rgba(8, 12, 18, 0.85));
}

.bazaar-market__search-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: #e8c89a;
}

.bazaar-market__search-icon {
  font-size: 1.15rem;
  opacity: 0.85;
}

.bazaar-market__search-input {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 1.05rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 200, 120, 0.25);
  background: rgba(0, 0, 0, 0.35);
  color: #f0ebe4;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.bazaar-market__search-input:focus {
  outline: none;
  border-color: rgba(255, 190, 100, 0.55);
  box-shadow: 0 0 0 3px rgba(255, 180, 80, 0.15);
}

.bazaar-market__search-input::placeholder {
  color: rgba(200, 190, 170, 0.45);
}

.bazaar-market__search-meta {
  margin: 0.55rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.bazaar-market__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.bazaar-market__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.bazaar-market-filter {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.3);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.bazaar-market-filter:hover,
.bazaar-market-filter.is-active {
  border-color: rgba(255, 190, 100, 0.45);
  background: rgba(255, 170, 80, 0.12);
  color: #ffddaa;
}

.bazaar-market-filter__icon {
  font-size: 0.9rem;
  line-height: 1;
}

.bazaar-market__sort {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.bazaar-market__sort-select {
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  color: #e8eef5;
  font-family: var(--font-body);
}

.bazaar-market__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17.5rem, 1fr));
  gap: 1rem;
}

.bazaar-market-stall {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 14, 22, 0.88);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, border-color 0.2s, box-shadow 0.2s;
}

.bazaar-market-stall:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 190, 100, 0.35);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45), 0 0 24px rgba(255, 160, 60, 0.08);
}

.bazaar-market-stall__visual {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.1rem;
  min-height: 4.5rem;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.bazaar-market-stall__visual--has-photo {
  padding: 0;
  min-height: 8.5rem;
  align-items: flex-end;
}

.bazaar-market-stall__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.bazaar-market-stall__visual--has-photo .bazaar-market-stall__cat {
  position: relative;
  z-index: 1;
  margin: 0.5rem;
}

.bazaar-market-stall__visual--ore {
  background: linear-gradient(135deg, rgba(180, 90, 40, 0.45), rgba(40, 22, 12, 0.9));
}
.bazaar-market-stall__visual--weapon {
  background: linear-gradient(135deg, rgba(180, 50, 60, 0.4), rgba(30, 10, 14, 0.9));
}
.bazaar-market-stall__visual--component {
  background: linear-gradient(135deg, rgba(40, 120, 160, 0.4), rgba(10, 20, 30, 0.9));
}
.bazaar-market-stall__visual--armor {
  background: linear-gradient(135deg, rgba(60, 140, 80, 0.4), rgba(12, 24, 16, 0.9));
}
.bazaar-market-stall__visual--misc {
  background: linear-gradient(135deg, rgba(120, 80, 180, 0.35), rgba(20, 14, 30, 0.9));
}

.bazaar-market-stall__icon {
  font-size: 1.75rem;
  opacity: 0.9;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

.bazaar-market-stall__cat {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.9);
}

.bazaar-market-stall__body {
  padding: 0 1.1rem 0.75rem;
  flex: 1;
}

.bazaar-market-stall__title {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 1.3;
}

.bazaar-market-stall__title a {
  color: #f0ebe4;
  text-decoration: none;
}

.bazaar-market-stall__title a:hover {
  color: #ffdd99;
}

.bazaar-market-stall__price {
  margin: 0 0 0.65rem;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.bazaar-market-stall__price-value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #8ef0b0;
}

.bazaar-market-stall__price-unit {
  font-size: 0.82rem;
  color: rgba(142, 240, 176, 0.75);
}

.bazaar-market-stall__facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.bazaar-market-stall__facts li {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.82rem;
}

.bazaar-market-stall__facts span {
  color: var(--text-muted);
}

.bazaar-market-stall__facts strong {
  font-weight: 600;
  color: #d8dee8;
  text-align: right;
}

.bazaar-market-stall__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.5rem;
}

.bazaar-market-tag {
  font-size: 0.68rem;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.bazaar-market-stall__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.65rem 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.25);
}

.bazaar-market-seller {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.bazaar-market-seller__avatar {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(255, 180, 90, 0.5), rgba(140, 90, 50, 0.8));
  color: #1a1208;
}

.bazaar-market-seller__name {
  font-size: 0.82rem;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bazaar-market-stall__cta {
  flex-shrink: 0;
  padding: 0.3rem 0.65rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  color: #1a1208;
  background: linear-gradient(180deg, #f0c878, #c89450);
  transition: filter 0.15s;
}

.bazaar-market-stall__cta:hover {
  filter: brightness(1.1);
}

.bazaar-market__empty {
  padding: 2rem;
  text-align: center;
  border-style: dashed;
}

.bazaar-market__empty-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #e8c89a;
}

.bazaar-market__empty p {
  margin: 0;
  color: var(--text-muted);
}

/* Detailseite */
.bazaar-market-detail {
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.5rem;
}

.bazaar-market-detail__back {
  margin: 0 0 1rem;
}

.bazaar-market-detail__back a {
  color: #e8c89a;
  text-decoration: none;
}

.bazaar-market-detail__hero {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.bazaar-market-detail__hero .bazaar-market-stall__icon {
  font-size: 2.5rem;
}

.bazaar-market-detail__cat {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.25rem;
}

.bazaar-market-detail__hero h1 {
  margin: 0;
  font-size: 1.5rem;
}

.bazaar-market-detail__hero--photo {
  padding: 0;
  min-height: 12rem;
  position: relative;
  overflow: hidden;
  align-items: flex-end;
}

.bazaar-market-detail__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bazaar-market-detail__hero--photo > div {
  position: relative;
  z-index: 1;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  width: 100%;
}

.bazaar-market-detail__gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.bazaar-market-detail__gallery img {
  width: 5rem;
  height: 3rem;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.bazaar-sell-hero {
  margin-bottom: 1rem;
}

.bazaar-sell-field--images input[type="file"] {
  margin-top: 0.35rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.bazaar-sell-image-preview {
  margin-top: 0.75rem;
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.bazaar-sell-image-preview img {
  width: 12rem;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 200, 120, 0.3);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.bazaar-sell-preview__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bazaar-sell-field__label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.bazaar-sell-catalog {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.85rem;
  margin-top: 0.35rem;
}

.bazaar-sell-catalog__img {
  width: 11rem;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid rgba(0, 212, 255, 0.28);
  background: rgba(0, 0, 0, 0.35);
}

.bazaar-sell-catalog__credit {
  flex: 1 1 12rem;
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
}

.bazaar-sell-catalog__credit a {
  color: var(--cyan);
}

.bazaar-sell-preview__wiki-note {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.bazaar-market-stall__wiki-badge {
  position: absolute;
  top: 0.4rem;
  left: 0.4rem;
  z-index: 2;
  padding: 0.12rem 0.4rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(80, 120, 200, 0.85);
  border-radius: 4px;
}

.bazaar-market-detail__credit {
  margin: 0.5rem 0 0.75rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.bazaar-market-detail__credit a {
  color: var(--cyan);
}

.bazaar-market-stall--preview {
  max-width: 18rem;
}

.bazaar-sell-login {
  padding: 2rem;
  text-align: center;
  max-width: 28rem;
  margin: 2rem auto;
}

.bazaar-sell-login h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
}

.bazaar-sell-login p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
}

.bazaar-sell-login .btn {
  margin: 0 0.35rem;
}

.bazaar-sell-form-status {
  margin-top: 1rem;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  font-size: 0.92rem;
  line-height: 1.45;
}

.bazaar-sell-form-status.is-error {
  background: rgba(180, 50, 40, 0.2);
  border: 1px solid rgba(255, 120, 90, 0.35);
  color: #ffc8b8;
}

.bazaar-sell-form-status:not(.is-error):not([hidden]) {
  background: rgba(80, 160, 100, 0.15);
  color: #a8e8b8;
}

.bazaar-market-detail__price {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: #8ef0b0;
}

.bazaar-market-detail__facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding: 1rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.3);
}

.bazaar-market-detail__facts dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 0.15rem;
}

.bazaar-market-detail__facts dd {
  margin: 0;
  font-weight: 600;
}

.bazaar-market-detail__desc h2,
.bazaar-market-detail__contact h2 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: #e8c89a;
  margin: 0 0 0.5rem;
}

.bazaar-market-detail__desc p {
  margin: 0;
  line-height: 1.55;
  color: var(--text-muted);
}

.bazaar-market-detail__contact {
  margin-top: 1.25rem;
  padding: 1rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.25);
}

.bazaar-market-detail__hint {
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.bazaar-market-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

@media (max-width: 900px) {
  .bazaar-market__layout {
    grid-template-columns: 1fr;
  }

  .bazaar-market__sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    gap: 0.75rem;
  }

  .bazaar-market__sidebar-block {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }
}

@media (max-width: 520px) {
  .bazaar-market__grid {
    grid-template-columns: 1fr;
  }

  .bazaar-market__toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .bazaar-market__sort {
    justify-content: space-between;
  }
}

.bazaar-sell-form {
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}

.bazaar-sell-field {
  margin-bottom: 1.1rem;
}

.bazaar-sell-field label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.bazaar-sell-required {
  color: #ff8a72;
}

.bazaar-sell-hint {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.bazaar-sell-check {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.65rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  cursor: pointer;
}

.bazaar-sell-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0.85rem;
}

.bazaar-sell-textarea {
  resize: vertical;
  min-height: 5rem;
}

.bazaar-item-picker {
  position: relative;
}

.bazaar-item-suggestions {
  position: absolute;
  z-index: 50;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  max-height: 16rem;
  overflow-y: auto;
  border: 1px solid rgba(0, 212, 255, 0.35);
  border-radius: 8px;
  background: rgba(6, 10, 18, 0.98);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
}

.bazaar-item-suggestions [role="option"] {
  padding: 0.45rem 0.65rem;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.55rem;
}

.bazaar-item-suggestions__thumb {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.bazaar-item-suggestions__thumb--empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.bazaar-item-suggestions__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.bazaar-item-suggestions [role="option"]:hover,
.bazaar-item-suggestions [role="option"]:focus {
  background: rgba(0, 212, 255, 0.12);
  outline: none;
}

.bazaar-item-suggestions__name {
  font-weight: 600;
  color: #e8eef5;
}

.bazaar-item-suggestions__meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.bazaar-item-suggestions__empty {
  padding: 0.65rem 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.bazaar-sell-preview {
  padding: 1rem 1.15rem;
  margin: 1rem 0;
  border: 1px dashed rgba(0, 212, 255, 0.25);
}

.bazaar-sell-preview h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--accent);
}

.bazaar-sell-preview__empty {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.bazaar-card--inline {
  max-width: 18rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.85rem;
}

.bazaar-sell-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.5rem;
}


/* Legacy Mini-Player / Live-Chip – niemals anzeigen */
#hb-twitch-dock,
#hb-live-chip,
.hb-twitch-dock,
.hb-live-chip {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Marktplatz-Admin (import-admin) */
.import-admin-stats--inline {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.bazaar-admin-purge {
  padding: 1rem 1.15rem;
  margin-bottom: 1rem;
  background: rgba(0, 0, 0, 0.25);
}

.bazaar-admin-purge h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.bazaar-admin-purge__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.bazaar-admin-purge__grid label span {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.bazaar-admin-purge__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.bazaar-admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.bazaar-admin-table th,
.bazaar-admin-table td {
  padding: 0.45rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.bazaar-admin-table th {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.bazaar-admin-offers {
  overflow-x: auto;
  max-height: 24rem;
}

.bazaar-admin-btn-danger {
  color: #ffaaaa;
  border-color: rgba(255, 120, 120, 0.35);
}

.bazaar-admin-btn-danger:hover {
  color: #fff;
  background: rgba(180, 40, 40, 0.35);
}

.bazaar-my-offers {
  margin-bottom: 1.25rem;
}

.bazaar-my-offers h2 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.bazaar-my-offers__empty {
  margin: 0;
  opacity: 0.85;
}

.bazaar-sell-account-link {
  margin: 0 0 1rem;
}

.hb-auth-nav--seller::before {
  content: "🛒 ";
}

.hb-auth-nav--team {
  font-weight: 600;
}

.seller-account__hero {
  margin-bottom: 1.5rem;
}

.seller-account__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.seller-account__profile h2,
.seller-account__shop h2,
.seller-account__panel h2 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}

.seller-account__dl {
  display: grid;
  gap: 0.65rem;
  margin: 0 0 1rem;
}

.seller-account__dl dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.seller-account__dl dd {
  margin: 0.15rem 0 0;
}

.seller-account__status--pending {
  color: #ffdd99;
}

.seller-account__status--active {
  color: #9fd4a8;
}

.seller-account__hint {
  margin: 0 0 0.75rem;
  opacity: 0.85;
  line-height: 1.45;
}

.seller-account__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.seller-account__cart-btn {
  border-color: var(--gold-soft);
}

.seller-account__panel {
  margin-bottom: 1rem;
}

.seller-account__panel--muted {
  opacity: 0.92;
}

.seller-account__panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.seller-account__panel-head h2 {
  margin: 0;
}

.seller-account__empty {
  margin: 0;
  opacity: 0.8;
}

.seller-account__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.seller-account__subhead {
  margin: 1.25rem 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.seller-account__row--sold {
  opacity: 0.85;
}

.bazaar-listing-badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bazaar-listing-badge--active {
  background: rgba(80, 200, 120, 0.15);
  color: #9fd4a8;
}

.bazaar-listing-badge--sold {
  background: rgba(200, 120, 80, 0.2);
  color: #e8c49a;
}

.bazaar-market-detail__sold-banner {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: rgba(200, 120, 80, 0.15);
  border: 1px solid rgba(232, 196, 154, 0.35);
  color: #e8d4b8;
}

.bazaar-market-detail__hint {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #f0a0a0;
}

.seller-account__table {
  max-height: none;
}

.bazaar-admin-user-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.bazaar-admin-status {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.bazaar-admin-status--pending {
  background: rgba(255, 180, 80, 0.2);
  color: #ffdd99;
}

.bazaar-admin-status--active {
  background: rgba(80, 180, 100, 0.2);
  color: #a8e8b8;
}

.bazaar-admin-status--suspended {
  background: rgba(180, 50, 40, 0.25);
  color: #ffc8b8;
}
