:root {
  --bg-primary: #0d1117;
  --bg-secondary: #161b22;
  --bg-tertiary: #21262d;
  --bg-elevated: #1c2128;
  --border: #30363d;
  --border-muted: #21262d;
  --text-primary: #eef2f6;
  --text-secondary: #adbac7;
  --text-muted: #8b949e;
  --accent: #539bf5;
  --accent-hover: #6cb6ff;
  --accent-dim: rgba(108, 182, 255, 0.14);
  --link: #7ec8ff;
  --link-hover: #a8daff;
  --link-underline: rgba(126, 200, 255, 0.42);
  --accent-text: #b3daff;
  --retro-accent: #bc8cff;
  --retro-accent-text: #d4b8ff;
  --retro-accent-dim: rgba(188, 140, 255, 0.12);
  --success: #3fb950;
  --warning: #e3b341;
  --warning-bg: rgba(210, 153, 34, 0.12);
  --danger: #f85149;
  --code-bg: #0d1117;
  --sidebar-width: 280px;
  --header-height: 72px;
  --topnav-height: 52px;
  --site-chrome-height: calc(var(--header-height) + var(--topnav-height));
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  --font-sans: "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Code", Consolas, monospace;
  --transition: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--site-chrome-height, 124px) + 16px);
  font-size: calc(16px * var(--user-zoom, 1));
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.site-has-sticky-footer {
  --site-footer-height: 52px;
}

/* Lesbare Links & Akzenttexte auf dunklem Grund (kein gedämpftes Blau für Fließtext) */
a:not(.quick-card):not(.retro-brand-card):not(.system-hub-card):not(.pool-category-cta):not(.nav-link):not(.topnav-main-tab):not(.retro-model-nav-item):not(.footer-social-tile):not(.footer-social-tile--pending):not(.hardware-gate-save):not(.version-save-btn):not(.copy-btn):not(.gate-skip-btn) {
  color: var(--link);
  text-decoration-color: var(--link-underline);
}

a:not(.quick-card):not(.retro-brand-card):not(.system-hub-card):not(.pool-category-cta):not(.nav-link):not(.topnav-main-tab):not(.retro-model-nav-item):not(.footer-social-tile):not(.hardware-gate-save):not(.version-save-btn):not(.copy-btn):not(.gate-skip-btn):hover {
  color: var(--link-hover);
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  padding: 10px 16px;
  background: var(--accent);
  color: #000;
  border-radius: var(--radius-sm);
  z-index: 9999;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus { top: 16px; }

/* Header – Teil des sticky Chrome */
.site-header {
  position: relative;
  z-index: 1;
  background: transparent;
  backdrop-filter: none;
  border-bottom: none;
  height: auto;
  min-height: var(--header-height);
}

.site-sticky-chrome {
  position: sticky;
  top: 0;
  z-index: 110;
  background: rgba(13, 17, 23, 0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.site-sticky-chrome .site-header {
  border-bottom: 1px solid var(--border-muted);
}

.site-sticky-chrome .site-topnav {
  position: relative;
  top: auto;
  border-bottom: none;
  background: transparent;
  backdrop-filter: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1600px;
  margin: 0 auto;
  padding: 12px 24px;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-icon {
  font-size: 2rem;
  color: var(--accent-text);
  line-height: 1;
}

.brand.brand-link,
a.brand-link.brand {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.brand.brand-link:hover .brand-icon,
a.brand-link.brand:hover .brand-icon {
  color: var(--link);
}

.brand h1 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tagline {
  margin: 0;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-secondary);
}

.lang-btn {
  padding: 5px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
}

.lang-btn:hover {
  color: var(--text-primary);
  background: rgba(108, 182, 255, 0.06);
}

.lang-btn.active {
  color: var(--bg-primary);
  background: var(--accent);
}

.user-zoom-controls {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-secondary);
}

.user-zoom-btn {
  min-width: 36px;
  padding: 5px 8px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.2;
}

.user-zoom-btn:hover:not(:disabled) {
  color: var(--text-primary);
  background: rgba(108, 182, 255, 0.08);
}

.user-zoom-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.user-zoom-btn--value {
  min-width: 52px;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  font-variant-numeric: tabular-nums;
}

.content-lang-note {
  margin: 0 0 16px;
  padding: 10px 14px;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--text-secondary);
  background: rgba(108, 182, 255, 0.06);
  border: 1px solid rgba(108, 182, 255, 0.18);
  border-radius: var(--radius);
}

.search-wrap {
  position: relative;
}

.search-wrap input {
  width: 320px;
  max-width: 50vw;
  padding: 10px 14px 10px 38px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%238b949e' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85zm-5.242 1.156a5 5 0 1 1 0-10 5 5 0 0 1 0 10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 12px center;
}

.search-wrap input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.search-hint {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.7rem;
  padding: 2px 6px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: var(--transition);
}

/* Layout */
.layout {
  display: flex;
  flex: 1;
  max-width: 1600px;
  margin: 0 auto;
  min-height: calc(100vh - var(--site-chrome-height) - var(--site-footer-height, 0px));
  width: 100%;
}

.layout--no-sidebar {
  display: block;
  max-width: 1200px;
}

.layout--no-sidebar .main-content {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 28px 32px 56px;
}

/* Obere Navigation */
.site-topnav {
  position: relative;
  z-index: 1;
  background: transparent;
  border-bottom: none;
}

.topnav-primary {
  border-bottom: 1px solid var(--border-muted);
}

.topnav-main-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 1600px;
  margin: 0 auto;
  padding: 8px 24px 0;
}

.topnav-main-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px 8px 0 0;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 600;
  border: 1px solid transparent;
  border-bottom: none;
  transition: color var(--transition), background var(--transition);
}

.topnav-main-tab:hover {
  color: var(--text-primary);
  background: rgba(108, 182, 255, 0.06);
}

.topnav-main-tab.active {
  color: var(--link);
  background: rgba(108, 182, 255, 0.1);
  border-color: var(--border-muted);
}

.topnav-main-tab-icon {
  opacity: 0.85;
  font-size: 0.95rem;
}

.topnav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1600px;
  margin: 0 auto;
  padding: 10px 24px;
  min-height: var(--topnav-height);
}

.system-picker {
  position: relative;
  flex: 1;
  max-width: 520px;
}

.system-picker-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(108, 182, 255, 0.35);
  background: linear-gradient(135deg, rgba(108, 182, 255, 0.12), rgba(63, 185, 80, 0.06));
  color: var(--text-primary);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.system-picker-trigger:hover,
.system-picker-trigger[aria-expanded="true"] {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.system-picker-icon { color: var(--accent-text); font-size: 1.1rem; }
.system-picker-current { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.system-picker-chevron { color: var(--text-muted); font-size: 0.85rem; }

.system-picker-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  min-width: min(100vw - 32px, 640px);
  max-height: min(70vh, 560px);
  overflow-y: auto;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  box-shadow: var(--shadow);
  z-index: 200;
}

.system-picker-panel-head {
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.system-picker-panel-head strong { display: block; margin-bottom: 4px; }
.system-picker-panel-head p { margin: 0; font-size: 0.82rem; color: var(--text-muted); }

.system-picker-groups {
  display: grid;
  gap: 14px;
}

.system-picker-group-title {
  margin: 0 0 6px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
}

.system-picker-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.system-picker-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.88rem;
  transition: background var(--transition), color var(--transition);
  width: 100%;
  border: none;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
}

.system-picker-link:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.system-picker-link--default {
  border: 1px solid var(--border);
  color: var(--text-primary);
  margin-bottom: 2px;
}

.system-picker-link--default.is-current,
.system-picker-link.is-current {
  background: color-mix(in srgb, var(--accent-text) 14%, transparent);
  color: var(--accent-text);
  border-color: color-mix(in srgb, var(--accent-text) 35%, var(--border));
}

.system-picker-link--default.is-current {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent-text) 25%, transparent);
}

.system-picker-group--default {
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.system-picker-link-icon { opacity: 0.85; width: 1.2rem; text-align: center; }
.system-picker-link-text { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.system-picker-link-year { font-size: 0.75rem; color: var(--text-muted); }

.system-picker-hub-link {
  display: block;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--link);
  text-decoration: none;
}

.system-picker-hub-link:hover { text-decoration: underline; }

.system-picker-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.system-picker-configure-btn {
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-tertiary);
  color: var(--text-primary);
  font: inherit;
  font-size: 0.84rem;
  cursor: pointer;
}

.system-picker-configure-btn:hover {
  border-color: var(--accent);
  color: var(--link-hover);
}

.system-picker-actions .system-picker-hub-link {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.topnav-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex-shrink: 0;
}

.topnav-quick-link {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  white-space: nowrap;
}

.topnav-quick-link:hover {
  background: var(--bg-tertiary);
  color: var(--link-hover);
}

.topnav-sections-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.topnav-sections {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 8px 24px;
  max-width: 1600px;
  margin-inline: auto;
}

.topnav-sections .nav-link {
  white-space: nowrap;
  padding: 7px 12px 7px 10px;
  border-left: 2px solid #3fb950;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
}

.topnav-sections .nav-link.active {
  border-left: 2px solid #3fb950;
  background: var(--accent-dim);
}

.topnav-sections .nav-item-recommended .nav-link {
  border-left-color: #3fb950;
  font-weight: 600;
}

.page-filters-bar {
  display: none !important;
}

.page-filters-bar .version-filters { margin-top: 4px; }

.page-filters-bar .sidebar-version-note,
.page-filters-bar .retro-filters-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 8px 0 6px;
}

.page-filters-bar .retro-filters {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--border);
}

.sidebar {
  width: var(--sidebar-width);
  flex-shrink: 0;
  position: sticky;
  top: var(--header-height);
  height: calc(100vh - var(--header-height));
  overflow-y: auto;
  padding: 20px 12px 24px;
  border-right: 1px solid var(--border);
  background: var(--bg-secondary);
}

.nav-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0 12px 10px;
  font-weight: 600;
}

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

.nav-link {
  display: block;
  padding: 9px 12px;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  transition: background var(--transition), color var(--transition);
  border-left: 3px solid transparent;
}

.nav-link:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.nav-link.active {
  background: var(--accent-dim);
  color: var(--link);
  border-left-color: var(--accent);
  font-weight: 500;
}

.sidebar-footer {
  margin-top: 24px;
  padding: 16px 12px 0;
  border-top: 1px solid var(--border);
}

.sidebar-footer p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0 0 10px;
}

.version-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.version-chip {
  padding: 4px 10px;
  font-size: 0.72rem;
  border: 1px solid var(--border);
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.version-chip:hover {
  border-color: var(--accent);
  color: var(--link);
}

.version-chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #0d1117;
  font-weight: 600;
}

/* Main content */
.main-content {
  flex: 1;
  min-width: 0;
  padding: 32px 40px 64px;
}

.content-section {
  margin-bottom: 64px;
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.content-section.hidden-by-filter { display: none; }

.section-header {
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.section-header h2 {
  margin: 0 0 8px;
  font-size: 1.75rem;
  font-weight: 700;
}

.section-header p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1rem;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 28px;
}

.hero h2 {
  margin: 0 0 12px;
  font-size: 1.5rem;
}

.hero p {
  margin: 0 0 24px;
  color: var(--text-secondary);
  max-width: 720px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat strong {
  font-size: 1.75rem;
  color: var(--accent-text);
  line-height: 1.2;
}

.stat span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.stat small {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
  opacity: 0.85;
}

.stat--free strong {
  color: var(--success);
  font-size: 2rem;
}

/* Hero Pro – Info-Pool */
.hero-pro {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(108, 182, 255, 0.12), transparent),
    radial-gradient(ellipse 60% 50% at 90% 100%, rgba(63, 185, 80, 0.08), transparent),
    linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-elevated) 100%);
  padding: 36px 36px 28px;
}

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.hero-badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.hero-badge--primary {
  color: var(--success);
  background: rgba(63, 185, 80, 0.12);
  border-color: rgba(63, 185, 80, 0.35);
}

.hero-pro h2 {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  max-width: 820px;
  line-height: 1.25;
}

.hero-stats-live {
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--border-muted);
}

.pool-trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border-muted);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: var(--text-secondary);
  cursor: default;
  transition: border-color var(--transition);
}

.trust-badge:hover {
  border-color: var(--border);
  color: var(--text-primary);
}

.trust-badge-icon {
  font-size: 0.9rem;
  opacity: 0.9;
}

.trust-badge-label { font-weight: 500; }

/* Wissens-Pool Explorer */
.pool-explorer {
  margin-bottom: 32px;
}

.pool-explorer-header {
  margin-bottom: 20px;
}

.pool-explorer-header h2 {
  margin: 0 0 6px;
  font-size: 1.25rem;
}

.pool-explorer-summary {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.pool-explorer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.pool-category-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.pool-category-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.pool-category-card--windows { border-top: 3px solid var(--accent); }
.pool-category-card--it { border-top: 3px solid var(--success); }
.pool-category-card--retro { border-top: 3px solid #a371f7; }
.pool-category-card--core { border-top: 3px solid var(--warning); }

.pool-category-head {
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
}

.pool-category-icon {
  font-size: 1.75rem;
  line-height: 1;
  opacity: 0.9;
}

.pool-category-head h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

.pool-category-head p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.pool-category-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.pool-category-count strong {
  color: var(--accent-text);
  font-size: 1.1rem;
}

.pool-category-links {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  flex: 1;
}

.pool-category-links li {
  margin-bottom: 4px;
  font-size: 0.82rem;
}

.pool-category-links a {
  color: var(--text-secondary);
  text-decoration: none;
}

.pool-category-links a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

.pool-category-cta {
  display: inline-block;
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--link);
  text-decoration: none;
}

.pool-category-cta:hover { text-decoration: underline; }

/* Value Proposition */
.pool-value-section {
  margin-bottom: 32px;
}

.pool-value-section h2 {
  margin: 0 0 18px;
  font-size: 1.15rem;
  color: var(--text-primary);
}

.pool-value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}

.pool-value-card {
  padding: 18px 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
}

.pool-value-card h3 {
  margin: 0 0 8px;
  font-size: 0.95rem;
}

.pool-value-card p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.mission-box--pro {
  border-left: 3px solid var(--success);
  background: linear-gradient(90deg, rgba(63, 185, 80, 0.06), transparent);
}

/* Breadcrumb */
.pool-breadcrumb {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-bottom: 20px;
  padding: 10px 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
  background: var(--bg-secondary);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-sm);
}

.pool-breadcrumb.visible { display: flex; }

.pool-breadcrumb a {
  color: var(--link);
  text-decoration: none;
}

.pool-breadcrumb a:hover { text-decoration: underline; }

.bc-sep { opacity: 0.4; margin: 0 2px; }

.bc-cat { color: var(--text-secondary); }

.bc-current {
  color: var(--text-primary);
  font-weight: 500;
}

/* Allgemein-Modus */
body.browse-general .entry--specialized-hidden,
body.browse-general .retro-model-card.entry--specialized-hidden {
  display: none !important;
}

.general-mode-banner {
  margin-bottom: 20px;
  padding: 14px 18px;
  background: linear-gradient(90deg, rgba(210, 153, 34, 0.12), rgba(108, 182, 255, 0.08));
  border: 1px solid rgba(210, 153, 34, 0.35);
  border-radius: var(--radius);
}

.general-mode-banner[hidden] { display: none !important; }

.general-mode-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.general-mode-icon {
  font-size: 1.5rem;
  color: var(--warning);
}

.general-mode-text {
  flex: 1;
  min-width: 200px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.general-mode-text strong { color: var(--text-primary); }

.general-mode-sub {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.general-mode-cta {
  padding: 8px 16px;
  background: var(--accent-dim);
  border: 1px solid var(--accent);
  color: var(--link);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.general-mode-cta:hover {
  background: var(--accent);
  color: var(--bg-primary);
}

.general-entry-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  margin-bottom: 8px;
  background: rgba(63, 185, 80, 0.15);
  color: var(--success);
  border-radius: 4px;
}

.optional-badge {
  font-size: 0.65rem;
  padding: 2px 7px;
  background: rgba(108, 182, 255, 0.15);
  color: var(--accent-text);
  border-radius: 4px;
  font-weight: 600;
  vertical-align: middle;
}

.hardware-chip--general {
  background: rgba(210, 153, 34, 0.15);
  color: var(--warning);
  border-color: rgba(210, 153, 34, 0.35);
}

.hardware-chip--hint {
  background: var(--bg-tertiary);
  color: var(--text-muted);
}

.hardware-gate-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.gate-skip-btn {
  width: 100%;
  padding: 12px 16px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  border-radius: var(--radius);
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
}

.gate-skip-btn:hover {
  border-color: var(--accent);
  color: var(--link-hover);
}

.version-hint--general {
  margin: 0 0 8px;
  font-size: 0.82rem;
}

.version-hint--general a {
  color: var(--link);
  font-weight: 600;
}

.grundlagen-section .general-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Regedit – detailliert */
.regedit-subheader {
  margin: 28px 0 16px;
  padding-top: 20px;
  border-top: 1px solid var(--border-muted);
}

.regedit-subheader h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.regedit-subheader p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.regedit-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.reg-filter-chip {
  padding: 6px 12px;
  font-size: 0.78rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
}

.reg-filter-chip:hover,
.reg-filter-chip.active {
  border-color: var(--accent);
  color: var(--link-hover);
  background: var(--accent-dim);
}

.regedit-tweaks-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* CMD / PowerShell Referenz */
.cmd-ref-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cmd-ref-entry {
  border-left: 3px solid var(--border);
  padding-left: 4px;
}

.cmd-ref-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}

.cmd-synopsis {
  color: var(--text-secondary);
  margin: 8px 0 12px;
  font-size: 0.92rem;
}

.cmd-module-tag {
  font-size: 0.68rem;
  padding: 2px 8px;
  background: rgba(163, 113, 247, 0.12);
  color: var(--retro-accent-text);
  border-radius: 4px;
}

.badge-ps {
  font-size: 0.68rem;
  padding: 2px 7px;
  background: rgba(108, 182, 255, 0.14);
  color: var(--accent-text);
  border-radius: 4px;
  font-weight: 600;
}

.cmd-ref-search-wrap {
  margin-bottom: 12px;
}

.cmd-ref-search {
  width: 100%;
  max-width: 480px;
  padding: 10px 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 0.9rem;
}

.cmd-ref-search:focus {
  outline: none;
  border-color: var(--accent);
}

.cmd-ref-filter {
  margin-bottom: 24px;
}

.cmd-params-table {
  font-size: 0.82rem;
}

.cmd-params-table code {
  font-size: 0.78rem;
  word-break: break-word;
}

.cmd-example-block {
  margin: 14px 0;
  padding: 12px;
  background: var(--bg-secondary);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.cmd-example-block .example-note {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 4px 0 8px;
}

.cmd-syntax-details,
.cmd-params-details,
.cmd-examples-details {
  margin: 10px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.cmd-syntax-details summary,
.cmd-params-details summary,
.cmd-examples-details summary {
  padding: 10px 14px;
  background: var(--bg-tertiary);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
}

.syntax-block pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}

.related-commands {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 12px;
}

.related-commands span {
  font-weight: 600;
  margin-right: 6px;
}

.cmd-ref-empty {
  padding: 24px;
  text-align: center;
  color: var(--text-muted);
  background: var(--bg-secondary);
  border-radius: var(--radius);
}

/* Run-Dialog erweitert */
.run-table .run-cmd-cell code {
  font-weight: 600;
}

.run-table .run-admin-badge {
  font-size: 0.68rem;
  padding: 1px 6px;
  background: rgba(248, 81, 73, 0.15);
  color: var(--danger);
  border-radius: 3px;
  margin-left: 6px;
}

.run-table .run-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.run-table .run-params {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.run-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.entry-disclaimer {
  margin: 12px 0;
  padding: 10px 14px;
  font-size: 0.82rem;
  background: rgba(248, 81, 73, 0.08);
  border-left: 3px solid var(--danger);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-secondary);
}

.content-disclaimer--compact {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.content-disclaimer-sources {
  margin: 8px 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.content-disclaimer-box {
  margin-bottom: 20px;
}

.secret-feature-entry {
  border-left: 3px solid rgba(163, 113, 247, 0.5);
  padding-left: 4px;
}

.deep-article-entry {
  border-left: 3px solid var(--border);
  padding-left: 4px;
}

.deep-cmd-group {
  margin: 14px 0;
}

.deep-cmd-group > strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.deep-steps {
  margin: 12px 0 16px;
}

.deep-articles-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.reg-tweak-entry {
  border-left: 3px solid var(--border);
  padding-left: 4px;
}

.reg-tweak-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}

.reg-category-tag {
  font-size: 0.72rem;
  padding: 2px 8px;
  background: var(--bg-tertiary);
  border-radius: 4px;
  color: var(--text-muted);
}

.reg-tweak-entry .version-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 12px;
}

.badge-version {
  font-size: 0.68rem;
  padding: 2px 7px;
  background: rgba(108, 182, 255, 0.12);
  color: var(--accent-text);
  border-radius: 4px;
  font-weight: 600;
}

.badge-version--historical { background: rgba(163, 113, 247, 0.15); color: var(--retro-accent-text); }
.badge-version--xp { background: rgba(210, 153, 34, 0.15); color: var(--warning); }

.registry-path-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 10px 0;
}

.reg-values-table { margin: 12px 0; font-size: 0.85rem; }

.reg-command-block {
  position: relative;
  margin: 12px 0;
}

.reg-command-block .copy-btn {
  position: absolute;
  top: 8px;
  right: 8px;
}

.reg-os-notes {
  margin-top: 12px;
  font-size: 0.85rem;
}

.reg-os-notes summary {
  cursor: pointer;
  color: var(--link);
  font-weight: 500;
}

.reg-steps { margin-top: 10px; }

.table-scroll {
  overflow-x: auto;
  margin: 12px 0;
}

.regedit-os-table { min-width: 720px; font-size: 0.85rem; }

.reg-cmd-cell { display: inline-block; max-width: 100%; word-break: break-all; }

.copy-btn--inline {
  position: static;
  margin-left: 8px;
  padding: 2px 8px;
  font-size: 0.72rem;
  vertical-align: middle;
}

/* Artikel-Permalinks */
.entry h3,
.entry h4 {
  position: relative;
}

.article-permalink {
  margin-left: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-decoration: none;
  opacity: 0;
  transition: opacity var(--transition);
}

.entry:hover .article-permalink,
.article-permalink:focus {
  opacity: 1;
  color: var(--link-hover);
}

.quick-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.quick-card {
  display: block;
  padding: 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.quick-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.quick-icon {
  font-size: 1.5rem;
  color: var(--accent-text);
  display: block;
  margin-bottom: 8px;
}

.quick-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.quick-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Info boxes */
.info-box {
  padding: 14px 18px;
  background: var(--accent-dim);
  border: 1px solid rgba(108, 182, 255, 0.3);
  border-radius: var(--radius);
  margin-bottom: 24px;
  font-size: 0.9rem;
}

.info-box.warning {
  background: var(--warning-bg);
  border-color: rgba(210, 153, 34, 0.35);
}

.info-box strong { color: var(--warning); }
.info-box:not(.warning) strong { color: var(--accent-text); }

/* Entries */
.entry {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
  transition: opacity var(--transition);
}

.entry.hidden-by-version { display: none; }
.entry.search-hidden { display: none; }

.entry h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
  color: var(--text-primary);
}

.version-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.badge {
  font-size: 0.68rem;
  padding: 3px 8px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Commands */
.command-block {
  position: relative;
  margin: 12px 0;
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.command-block.small pre { padding: 10px 14px; font-size: 0.82rem; }

.command-block pre {
  margin: 0;
  padding: 14px 90px 14px 16px;
  overflow-x: auto;
}

.command-block code {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: #7ee787;
  white-space: pre-wrap;
  word-break: break-all;
}

.copy-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 6px 12px;
  font-size: 0.75rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition);
}

.copy-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #0d1117;
}

.copy-btn.copied {
  background: var(--success);
  border-color: var(--success);
  color: #0d1117;
}

.related-commands {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.related-commands code {
  padding: 3px 8px;
  background: var(--bg-tertiary);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-text);
}

.registry-path {
  padding: 10px 14px;
  background: var(--code-bg);
  border-left: 3px solid var(--accent);
  margin: 10px 0;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #ffa657;
  word-break: break-all;
}

code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  padding: 2px 6px;
  background: var(--bg-tertiary);
  border-radius: 4px;
  color: var(--accent-text);
}

.entry p { margin: 8px 0; color: var(--text-secondary); font-size: 0.92rem; }

/* Screenshots */
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.screenshot { margin: 16px 0; }

.screenshot.compact { margin: 12px 0 0; }

.screenshot-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #1a1a2e;
  box-shadow: var(--shadow);
}

.screenshot-titlebar {
  padding: 6px 12px;
  background: linear-gradient(180deg, #2d333b 0%, #22272e 100%);
  font-size: 0.72rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.screenshot-titlebar.regedit-bar { background: #0078d4; color: #fff; }
.screenshot-titlebar.win10-accent { background: #0078d4; color: #fff; }
.screenshot-titlebar.win11-accent { background: #1f1f1f; color: #fff; }

.screenshot-body {
  padding: 14px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.5;
  min-height: 80px;
}

.cmd-screen { background: #0c0c0c; color: #cccccc; }
.ps-screen { background: #012456; color: #ffffff; }
.regedit-screen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: #fff;
  color: #000;
  font-size: 0.72rem;
}

.reg-tree { color: #000; }
.reg-values { border-left: 1px solid #ccc; padding-left: 12px; }

.prompt, .ps-prompt { color: #cccccc; }
.ps-prompt { color: #ffff00; }
.output { color: #3fb950; }

.win7-style .screenshot-titlebar {
  background: linear-gradient(180deg, #3399ff 0%, #0066cc 100%);
  color: #fff;
}

.win11-style .screenshot-titlebar {
  background: #202020;
  color: #fff;
}

.xp-style .screenshot-titlebar {
  background: linear-gradient(180deg, #0997ff 0%, #0053e2 100%);
  color: #fff;
}

.xp-desktop {
  background: #3a6ea5;
  height: 60px;
  position: relative;
}

.xp-taskbar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 28px;
  background: linear-gradient(180deg, #3d9aff 0%, #0062ce 100%);
}

.win7-panel, .settings-screen, .win11-desktop {
  background: #f0f0f0;
  color: #333;
  font-family: var(--font-sans);
}

figcaption {
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
}

/* Tables */
.ref-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin: 12px 0;
}

.ref-table th,
.ref-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.ref-table th {
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ref-table tr:hover td { background: var(--bg-tertiary); }
.ref-table tr.search-hidden { display: none; }

/* Collapsible */
.collapsible {
  margin-top: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.collapsible-trigger {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-secondary);
  border: none;
  color: var(--accent-text);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: background var(--transition);
}

.collapsible-trigger:hover { background: var(--bg-tertiary); }

.collapsible-trigger::before {
  content: "▸ ";
  display: inline-block;
  transition: transform var(--transition);
}

.collapsible-trigger[aria-expanded="true"]::before {
  transform: rotate(90deg);
}

.collapsible-content {
  display: none;
  padding: 0 18px 18px;
  background: var(--bg-secondary);
}

.collapsible-content.open { display: block; }

/* Run dialog demo */
.run-demo {
  display: flex;
  justify-content: center;
  margin: 24px 0;
}

.run-box {
  width: 360px;
  background: #f0f0f0;
  border: 1px solid #888;
  border-radius: 4px;
  padding: 8px;
  color: #000;
  font-family: var(--font-sans);
  box-shadow: var(--shadow);
}

.run-box label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.run-input {
  width: 100%;
  padding: 4px 8px;
  border: 1px inset #888;
  font-family: var(--font-mono);
  margin-bottom: 12px;
}

.run-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.run-buttons span {
  padding: 4px 20px;
  border: 1px outset #ccc;
  background: #e0e0e0;
  font-size: 0.82rem;
  cursor: default;
}

.search-filter-inline input {
  width: 100%;
  max-width: 400px;
  padding: 10px 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.search-filter-inline input:focus {
  outline: none;
  border-color: var(--accent);
}

/* Tool cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.tool-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.tool-card.hidden-by-version { display: none; }

.tool-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.tool-card p {
  margin: 0 0 12px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.tool-card .badge { margin-top: 8px; display: inline-block; }

/* Shortcuts */
.shortcut-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.shortcut-group {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  min-width: 0;
}

.shortcut-group h3 {
  margin: 0 0 14px;
  font-size: 1rem;
  color: var(--accent-text);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.shortcut-group dl {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
}

.shortcut-group .shortcut-row,
.shortcut-group dl > div {
  display: grid;
  grid-template-columns: minmax(6.5rem, max-content) minmax(0, 1fr);
  gap: 8px 12px;
  align-items: start;
}

.shortcut-group dt {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text-primary);
  background: var(--bg-tertiary);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.78rem;
  line-height: 1.35;
  white-space: normal;
  word-break: break-word;
  max-width: 11rem;
}

.shortcut-group dd {
  margin: 0;
  color: var(--text-secondary);
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.4;
  padding-top: 2px;
}

.shortcut-note {
  margin: 16px 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Version timeline */
.version-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.version-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.version-card.hidden-by-version { display: none; }

.version-header {
  padding: 16px 20px;
  color: #fff;
}

.version-header h3 { margin: 0; font-size: 1.1rem; }
.version-header span { font-size: 0.78rem; opacity: 0.85; }

.version-header.xp { background: linear-gradient(135deg, #0078d4, #005a9e); }
.version-header.vista { background: linear-gradient(135deg, #6b4c9a, #4a3070); }
.version-header.win7 { background: linear-gradient(135deg, #1e90ff, #0066cc); }
.version-header.win8 { background: linear-gradient(135deg, #0078d7, #005499); }
.version-header.win10 { background: linear-gradient(135deg, #0078d4, #005a9e); }
.version-header.win11 { background: linear-gradient(135deg, #0067b8, #004578); }

.version-card ul {
  margin: 0;
  padding: 16px 20px 20px 36px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.version-card li { margin-bottom: 6px; }

/* Steps */
.steps-list {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps-list li {
  counter-increment: step;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px 20px 56px;
  margin-bottom: 16px;
  position: relative;
}

.steps-list li::before {
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 20px;
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: #0d1117;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.steps-list strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.steps-list p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Footer */
.site-footer {
  position: sticky;
  bottom: 0;
  z-index: 105;
  flex-shrink: 0;
  margin-top: auto;
  padding: 8px 20px 6px;
  border-top: 1px solid var(--border);
  background: rgba(13, 17, 23, 0.97);
  backdrop-filter: blur(14px);
  box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.3);
  color: var(--text-muted);
  font-size: 0.78rem;
}

.site-footer .footer-inner,
.site-footer .footer-copy {
  max-width: 1600px;
  margin-inline: auto;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 4px;
  text-align: left;
}

.footer-brand strong {
  display: inline;
  color: var(--text-primary);
  font-size: 0.82rem;
  margin-bottom: 0;
  margin-right: 8px;
}

.footer-tagline {
  display: none;
}

.footer-bar {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 14px;
  flex: 1;
  min-width: 0;
}

.footer-copy {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.35;
  opacity: 0.85;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px 4px;
}

.footer-legal-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.84rem;
  padding: 2px 6px;
  border-radius: 4px;
}

.footer-legal-links a:hover {
  color: var(--link-hover);
  background: rgba(108, 182, 255, 0.08);
}

.footer-legal-links a[aria-current="page"] {
  color: var(--link);
  font-weight: 600;
}

.footer-note { font-size: 0.78rem; margin-top: 8px; }

/* Hilfe, FAQ, Onboarding */
.onboarding-box {
  margin: 24px 0;
  padding: 20px 22px;
  background: linear-gradient(135deg, rgba(108, 182, 255, 0.08), rgba(63, 185, 80, 0.06));
  border: 1px solid rgba(108, 182, 255, 0.25);
  border-radius: var(--radius);
}

.onboarding-box h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
  color: var(--accent-text);
}

.onboarding-steps {
  margin: 0 0 12px;
  padding-left: 1.25rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.55;
}

.onboarding-steps li { margin-bottom: 6px; }

.onboarding-more {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.help-callout {
  display: flex;
  gap: 12px;
  margin: 14px 0 0;
  padding: 14px 16px;
  background: rgba(108, 182, 255, 0.08);
  border: 1px solid rgba(108, 182, 255, 0.22);
  border-radius: var(--radius);
  font-size: 0.88rem;
}

.help-callout-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(108, 182, 255, 0.15);
  color: var(--accent-text);
  border-radius: 50%;
  font-weight: 700;
}

.help-callout p { margin: 4px 0 0; color: var(--text-secondary); }

.help-callout-inline {
  margin-top: 12px;
  padding: 10px 12px;
  background: var(--bg-secondary);
  border-left: 3px solid var(--accent);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.help-guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.guide-step {
  display: flex;
  gap: 14px;
  padding: 18px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.guide-step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--bg-primary);
  font-weight: 700;
  border-radius: 50%;
  font-size: 1rem;
}

.guide-step-body h3 { margin: 0 0 6px; font-size: 1rem; }

.guide-step-short {
  margin: 0 0 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.guide-step-details summary {
  cursor: pointer;
  font-size: 0.82rem;
  color: var(--link);
  font-weight: 500;
}

.guide-step-details p {
  margin: 8px 0 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.faq-list { display: flex; flex-direction: column; gap: 8px; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-secondary);
  overflow: hidden;
}

.faq-item summary {
  padding: 14px 16px;
  cursor: pointer;
  font-weight: 500;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::before {
  content: '+ ';
  color: var(--accent-text);
  font-weight: 700;
}

.faq-item[open] summary::before { content: '− '; }

.faq-answer {
  padding: 0 16px 14px;
  border-top: 1px solid var(--border-muted);
}

.faq-answer p {
  margin: 12px 0 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.help-glossary {
  display: grid;
  grid-template-columns: minmax(120px, 180px) 1fr;
  gap: 8px 20px;
  margin: 0;
}

.help-glossary dt {
  font-weight: 600;
  color: var(--accent-text);
  font-size: 0.9rem;
}

.help-glossary dd {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.help-section .entry-note {
  margin: 0 0 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.gate-help-details {
  margin: 12px 0 16px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.gate-help-details summary {
  cursor: pointer;
  color: var(--link);
  font-weight: 500;
}

.gate-help-details ul {
  margin: 10px 0 0;
  padding-left: 1.2rem;
  line-height: 1.5;
}

/* Footer erweitert */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  text-align: left;
  margin-bottom: 20px;
}

.footer-col strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.footer-col p {
  margin: 0 0 8px;
  font-size: 0.85rem;
  line-height: 1.45;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
}

.footer-links a:hover { color: var(--link-hover); }

.footer-social-block {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.footer-social-heading {
  display: none;
}

.footer-social-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.footer-social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid var(--border-muted);
  background: var(--bg-secondary);
  color: var(--social-brand, var(--accent-text));
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  flex-shrink: 0;
}

.footer-social-icon-btn svg {
  width: 15px;
  height: 15px;
}

.footer-social-icon-btn:hover {
  border-color: var(--social-brand, var(--accent));
  background: color-mix(in srgb, var(--social-brand, var(--accent)) 10%, var(--bg-secondary));
  color: var(--text-primary);
}

.footer-social-icon-btn--pending {
  opacity: 0.55;
  cursor: help;
  border-style: dashed;
}

.footer-social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
  gap: 8px;
  width: 100%;
  max-width: 520px;
}

.footer-social-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 8px;
  border-radius: 10px;
  border: 1px solid var(--border-muted);
  background: var(--bg-secondary);
  text-decoration: none;
  color: var(--text-secondary);
  transition: border-color 0.15s, background 0.15s, transform 0.12s;
  position: relative;
  min-height: 88px;
}

.footer-social-tile--active:hover {
  border-color: var(--social-brand, var(--accent));
  background: color-mix(in srgb, var(--social-brand, var(--accent)) 8%, var(--bg-secondary));
  color: var(--text-primary);
  transform: translateY(-1px);
}

.footer-social-tile--pending {
  opacity: 0.72;
  cursor: help;
  border-style: dashed;
}

.footer-social-tile-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--social-brand, var(--accent)) 14%, transparent);
  color: var(--social-brand, var(--accent));
}

.footer-social-tile-icon svg {
  width: 20px;
  height: 20px;
}

.footer-social-tile-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
}

.footer-social-tile-name {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
}

.footer-social-tile-hint {
  font-size: 0.65rem;
  color: var(--text-muted);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.footer-social-tile-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-muted);
  font-size: 0.65rem;
  line-height: 16px;
  text-align: center;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  justify-content: flex-end;
  width: 100%;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid var(--border-muted);
  background: var(--bg-secondary);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.footer-social-link:hover {
  color: var(--link-hover);
  border-color: rgba(108, 182, 255, 0.35);
  background: rgba(108, 182, 255, 0.06);
}

.footer-social-icon {
  display: inline-flex;
  line-height: 0;
  opacity: 0.9;
}

.footer-social-label {
  font-size: 0.82rem;
}

.footer-social-placeholder {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  text-align: right;
  max-width: 320px;
}

.footer-social-hint {
  font-size: 0.75rem !important;
  color: var(--text-muted) !important;
}

.footer-copy {
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--border-muted);
  font-size: 0.78rem;
  text-align: center;
}

.footer-copy a {
  color: var(--text-secondary);
  text-decoration: none;
}

.footer-copy a:hover { color: var(--link-hover); }

.nav-label-legal { margin-top: 16px; }

.nav-link-external { font-size: 0.88rem; }

.sidebar-footer--minimal p { margin: 0; padding: 4px 0; }

.sidebar-footer--minimal .nav-link {
  margin: 0 4px;
}

/* Rechtliche Unterseiten */
.legal-page { background: var(--bg-primary); }

.main-content--legal {
  padding-bottom: 0;
}

.main-content--legal .legal-article {
  max-width: 820px;
  margin: 0 auto;
  padding: 28px 24px 40px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.brand-link:hover .tagline,
.brand-link:focus-visible .tagline {
  color: var(--link-hover);
}

.brand-link strong,
.brand-link h1 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: var(--text-primary);
}

.brand-link .tagline {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Einheitliche Textlinks (Content, Footer, Legal) */
.content-link,
.legal-article a,
.main-content .entry a:not(.quick-card):not(.retro-brand-card):not(.system-hub-card):not(.pool-category-cta):not(.nav-link):not(.copy-btn):not(.article-permalink),
.detail-list a,
.help-callout-inline a,
.help-section a,
.footer-copy a,
.footer-links a,
.pool-breadcrumb a,
.hist-detail-list a,
.retro-card-links a,
.retro-ext-link,
.retro-link-group a,
.it-source-list a,
.pool-category-links a {
  color: var(--link);
  text-decoration: none;
  transition: color var(--transition), text-decoration var(--transition);
}

.content-link:hover,
.legal-article a:hover,
.main-content .entry a:not(.quick-card):not(.retro-brand-card):not(.system-hub-card):not(.pool-category-cta):not(.nav-link):not(.copy-btn):hover,
.detail-list a:hover,
.help-callout-inline a:hover,
.footer-copy a:hover,
.footer-links a:hover,
.footer-links a[aria-current="page"],
.pool-breadcrumb a:hover,
.hist-first-use-links a:hover,
.page-system-banner-link:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

.footer-links a[aria-current="page"] {
  font-weight: 600;
}

.site-header--minimal .header-inner {
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.legal-back-link {
  font-size: 0.88rem;
  color: var(--link);
  text-decoration: none;
}

.legal-back-link:hover { text-decoration: underline; }

.legal-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 24px 48px;
}

.legal-article h1 {
  margin: 0 0 8px;
  font-size: 1.75rem;
}

.legal-intro {
  margin: 0 0 28px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.legal-article section {
  margin-bottom: 28px;
}

.legal-article h2 {
  font-size: 1.1rem;
  margin: 0 0 10px;
  color: var(--text-primary);
}

.legal-article p,
.legal-article li {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.legal-article ul { padding-left: 1.25rem; }

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 16px;
  font-size: 0.85rem;
}

.legal-table th,
.legal-table td {
  padding: 8px 10px;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-weight: 600;
}

.legal-table code {
  font-size: 0.82rem;
}

.legal-link-placeholder {
  color: var(--text-muted);
  pointer-events: none;
}

.site-footer--legal {
  text-align: center;
  padding: 24px;
  max-width: 720px;
  margin: 0 auto;
}

.footer-legal-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
  margin-bottom: 12px;
}

.footer-legal-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
}

.footer-legal-nav a:hover,
.footer-legal-nav a[aria-current="page"] {
  color: var(--link-hover);
}

@media (max-width: 640px) {
  .help-glossary { grid-template-columns: 1fr; }
  .help-glossary dt { margin-top: 8px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-bar { align-items: center; min-width: 0; }
  .footer-legal-links { justify-content: center; }
  .footer-social { justify-content: center; }
  .hub-landing-hero { padding: 20px 16px; }
  .hub-browser-toolbar { flex-direction: column; align-items: stretch; }
  .hub-saved-profile-inner { flex-direction: column; align-items: flex-start; }
  .footer-partner-tip { left: 0; transform: none; max-width: min(240px, 90vw); }
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 12px 20px;
  background: var(--bg-tertiary);
  border: 1px solid var(--success);
  color: var(--success);
  border-radius: var(--radius);
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
  z-index: 1000;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Search highlight */
mark.search-hit {
  background: rgba(210, 153, 34, 0.35);
  color: inherit;
  padding: 0 2px;
  border-radius: 2px;
}

.no-results {
  padding: 40px;
  text-align: center;
  color: var(--text-muted);
  background: var(--bg-secondary);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  display: none;
}

.no-results.visible { display: block; }

/* KI-Problemlösungs-Suche */
.ai-search-panel {
  background: linear-gradient(145deg, #161b22 0%, #1a2332 50%, #161b22 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.ai-search-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #6cb6ff, #a371f7, #3fb950, #6cb6ff);
  background-size: 200% 100%;
  animation: ai-gradient 4s linear infinite;
}

@keyframes ai-gradient {
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}

.ai-search-header { margin-bottom: 20px; }

.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--retro-accent-text);
  background: rgba(163, 113, 247, 0.12);
  border: 1px solid rgba(163, 113, 247, 0.35);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.ai-pulse {
  width: 8px;
  height: 8px;
  background: #a371f7;
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.ai-search-header h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.ai-search-header p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
  max-width: 680px;
}

.ai-search-form textarea {
  width: 100%;
  padding: 16px 18px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  resize: vertical;
  min-height: 90px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.ai-search-form textarea:focus {
  outline: none;
  border-color: var(--retro-accent-text);
  box-shadow: 0 0 0 3px rgba(163, 113, 247, 0.2);
}

.ai-search-form textarea::placeholder { color: var(--text-muted); }

.ai-search-actions {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.ai-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #6cb6ff, #a371f7);
  border: none;
  border-radius: var(--radius);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: transform var(--transition), box-shadow var(--transition);
}

.ai-search-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(108, 182, 255, 0.35);
}

.ai-search-btn.loading {
  opacity: 0.8;
  pointer-events: none;
}

.ai-search-btn:disabled,
.ai-search-form--locked textarea {
  opacity: 0.55;
  cursor: not-allowed;
}

.ai-gate-notice,
#ai-search-gate-notice {
  margin: 16px 0;
  padding: 14px 18px;
  background: rgba(210, 153, 34, 0.1);
  border: 1px solid rgba(210, 153, 34, 0.35);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.ai-pool-refs {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.ai-pool-refs-title {
  font-size: 1.05rem;
  margin: 0 0 6px;
}

.ai-pool-refs-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 16px;
}

.ai-pool-ref-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ai-pool-ref-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  transition: border-color var(--transition);
}

.ai-pool-ref-item:hover {
  border-color: var(--accent);
}

.ai-pool-ref-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.ai-pool-ref-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.ai-pool-ref-title {
  font-weight: 600;
  color: var(--accent-text);
}

.ai-pool-ref-meta {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.ai-pool-ref-synopsis {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 8px 0 0;
}

.ai-match-reasons--compact {
  margin-top: 8px;
}

.ai-btn-icon { font-size: 1.1rem; }

.ai-clear-btn {
  padding: 12px 20px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-size: 0.9rem;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition);
}

.ai-clear-btn:hover {
  border-color: var(--text-muted);
  color: var(--text-primary);
}

.ai-examples {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.ai-examples-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

.ai-example-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ai-example-chip {
  padding: 6px 12px;
  font-size: 0.78rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text-secondary);
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition);
  text-align: left;
  max-width: 100%;
}

.ai-example-chip:hover {
  border-color: var(--accent);
  color: var(--link-hover);
  background: var(--accent-dim);
}

.ai-analysis-bar {
  margin-top: 20px;
  padding: 12px 16px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-secondary);
  border-left: 3px solid #a371f7;
}

.ai-analysis-bar.hidden { display: none; }

.ai-analysis-bar strong { color: var(--text-primary); }

.ai-results { margin-top: 20px; }

.ai-result-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 16px;
  animation: fadeInUp 0.35s ease;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.ai-result-card.top-match {
  border-color: rgba(163, 113, 247, 0.5);
  box-shadow: 0 0 0 1px rgba(163, 113, 247, 0.15);
}

.ai-result-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.ai-result-header h3 {
  margin: 0;
  font-size: 1.1rem;
  flex: 1;
  min-width: 200px;
}

.ai-confidence {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.ai-confidence.high {
  background: rgba(63, 185, 80, 0.15);
  color: var(--success);
  border: 1px solid rgba(63, 185, 80, 0.35);
}

.ai-confidence.medium {
  background: rgba(210, 153, 34, 0.15);
  color: var(--warning);
  border: 1px solid rgba(210, 153, 34, 0.35);
}

.ai-confidence.low {
  background: rgba(139, 148, 158, 0.15);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.ai-result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.ai-category-tag {
  font-size: 0.72rem;
  padding: 3px 10px;
  background: var(--accent-dim);
  color: var(--accent-text);
  border-radius: 4px;
  font-weight: 500;
}

.ai-match-reasons {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.ai-match-reasons span {
  display: inline-block;
  margin-right: 8px;
  margin-bottom: 4px;
}

.ai-match-reasons span::before {
  content: "→ ";
  color: var(--retro-accent-text);
}

.ai-result-summary {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 16px;
  line-height: 1.55;
}

.ai-steps {
  margin: 0 0 16px;
  padding-left: 22px;
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.ai-steps li {
  margin-bottom: 8px;
  line-height: 1.45;
}

.ai-steps li::marker { color: var(--accent-text); }

.ai-commands {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.ai-cmd-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #7ee787;
  cursor: pointer;
  transition: var(--transition);
}

.ai-cmd-chip:hover {
  border-color: var(--accent);
  background: var(--bg-tertiary);
}

.ai-cmd-chip small {
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.65rem;
}

.ai-result-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border-muted);
}

.ai-link-btn {
  padding: 8px 14px;
  font-size: 0.82rem;
  background: var(--accent-dim);
  border: 1px solid rgba(108, 182, 255, 0.3);
  border-radius: var(--radius-sm);
  color: var(--accent-text);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.ai-link-btn:hover {
  background: var(--accent);
  color: #0d1117;
}

.ai-no-results {
  text-align: center;
  padding: 32px;
  color: var(--text-muted);
  background: var(--bg-secondary);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

.ai-no-results p { margin: 0 0 8px; }

.ai-summary-box {
  background: rgba(163, 113, 247, 0.08);
  border: 1px solid rgba(163, 113, 247, 0.25);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 20px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.ai-summary-box strong { color: var(--text-primary); }

.detail-list {
  margin: 12px 0;
  padding-left: 20px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.detail-list li { margin-bottom: 8px; }

/* Version Profile */
.version-profile-box {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 20px;
}

.version-profile-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.version-profile-icon {
  font-size: 1.5rem;
  color: var(--accent-text);
}

.version-profile-header strong { display: block; margin-bottom: 2px; }
.version-profile-header p { margin: 0; font-size: 0.82rem; color: var(--text-muted); }

.version-profile-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
}

.field-group {
  flex: 1;
  min-width: 180px;
}

.field-group label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
  font-weight: 500;
}

.field-group select {
  width: 100%;
  padding: 10px 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.88rem;
  font-family: inherit;
}

.field-group select:focus {
  outline: none;
  border-color: var(--accent);
}

.version-save-btn {
  padding: 10px 20px;
  background: var(--accent);
  border: none;
  border-radius: var(--radius-sm);
  color: #0d1117;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}

.version-save-btn:hover { background: var(--accent-hover); }

.version-hint {
  margin: 12px 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.version-hint kbd {
  padding: 2px 6px;
  background: var(--bg-tertiary);
  border-radius: 4px;
  font-size: 0.72rem;
}

.saved-profile-display {
  margin-top: 12px;
  padding: 10px 14px;
  background: rgba(63, 185, 80, 0.1);
  border: 1px solid rgba(63, 185, 80, 0.3);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
}

.profile-saved-label { color: var(--success); margin-right: 6px; }

/* Update Banners */
.user-update-banner:not(.hidden) { margin-top: 14px; }

.update-banner {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.update-banner-ok {
  background: rgba(63, 185, 80, 0.08);
  border-color: rgba(63, 185, 80, 0.35);
}

.update-banner-warn {
  background: var(--warning-bg);
  border-color: rgba(210, 153, 34, 0.4);
}

.update-banner-critical {
  background: rgba(248, 81, 73, 0.1);
  border-color: rgba(248, 81, 73, 0.4);
}

.update-banner-icon { font-size: 1.4rem; flex-shrink: 0; }

.update-banner-body { flex: 1; min-width: 0; }
.update-banner-body strong { display: block; margin-bottom: 6px; }
.update-banner-body p { margin: 0 0 6px; font-size: 0.88rem; color: var(--text-secondary); }

.update-rec-main { color: var(--text-primary) !important; font-weight: 500; }
.update-rec-detail { font-size: 0.82rem !important; }
.update-rec-action { font-size: 0.85rem !important; color: var(--link) !important; }
.update-critical-text { color: var(--danger) !important; font-weight: 600; }
.update-esu, .update-esu-inline { color: var(--warning) !important; font-size: 0.82rem; }

.hidden { display: none !important; }

/* Safety Legend & Callouts */
.safety-legend {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 20px;
}

.safety-legend h3 { margin: 0 0 8px; font-size: 1rem; }
.safety-legend > p { margin: 0 0 14px; font-size: 0.88rem; color: var(--text-secondary); }

.safety-legend-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.safety-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid transparent;
}

.safe-low { background: rgba(63, 185, 80, 0.12); color: var(--success); border-color: rgba(63, 185, 80, 0.3); }
.safe-medium { background: var(--accent-dim); color: var(--accent-text); border-color: rgba(108, 182, 255, 0.3); }
.safe-high { background: var(--warning-bg); color: var(--warning); border-color: rgba(210, 153, 34, 0.35); }
.safe-critical { background: rgba(248, 81, 73, 0.12); color: var(--danger); border-color: rgba(248, 81, 73, 0.35); }

.safety-callout {
  padding: 10px 14px;
  font-size: 0.8rem;
  line-height: 1.45;
  border-bottom: 1px solid var(--border-muted);
}

.safety-callout .safety-badge { margin-right: 8px; vertical-align: middle; }

.command-block--high { border-color: rgba(210, 153, 34, 0.45); }
.command-block--critical { border-color: rgba(248, 81, 73, 0.5); box-shadow: 0 0 0 1px rgba(248, 81, 73, 0.15); }

.command-block:has(.safety-callout) pre {
  padding-top: 12px;
}

.command-block:has(.safety-callout) .copy-btn {
  top: auto;
  bottom: 8px;
}

.danger-callout {
  padding: 12px 16px;
  margin: 12px 0;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  border-left: 4px solid var(--warning);
}

.ai-version-warn {
  padding: 10px 14px;
  margin-bottom: 12px;
  background: var(--warning-bg);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--warning);
  border: 1px solid rgba(210, 153, 34, 0.3);
}

.ai-cmd-risky { border-color: rgba(248, 81, 73, 0.4) !important; }
.ai-cmd-danger { margin-right: 4px; font-size: 0.85rem; }

/* Update Policy Section */
.update-policy-personal { margin-bottom: 24px; }
.update-policy-personal h3 { margin: 0 0 12px; font-size: 1.1rem; }

.update-policy-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 28px;
}

.update-grid-heading {
  margin: 0 0 14px;
  font-size: 1rem;
  color: var(--accent-text);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.update-policy-subgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

/* Windows-Geschichte */
.history-chronology-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 16px 20px;
  margin-bottom: 28px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow-x: auto;
}

.chrono-dot {
  font-size: 0.68rem;
  padding: 4px 8px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-muted);
  white-space: nowrap;
  cursor: default;
}

.chrono-dot:hover {
  border-color: var(--accent);
  color: var(--link-hover);
}

.chrono-line {
  width: 12px;
  height: 2px;
  background: var(--border);
  flex-shrink: 0;
}

.history-era { margin-bottom: 36px; }

.history-era-title {
  font-size: 1.1rem;
  margin: 0 0 16px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.history-era-title span {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  background: var(--accent-dim);
  color: var(--accent-text);
  border-radius: 4px;
  white-space: nowrap;
}

.history-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.history-era-card {
  padding: 0 !important;
  overflow: hidden;
}

.history-era-card .version-header.historical {
  background: linear-gradient(135deg, #3d3d3d 0%, #2a2a2a 100%);
  padding: 14px 16px;
}

.history-era-card .version-header h4 {
  margin: 0;
  font-size: 0.95rem;
  color: #fff;
}

.history-era-card .version-header span {
  font-size: 0.72rem;
  opacity: 0.85;
  color: #ccc;
}

.history-card-status,
.history-card-rec,
.history-card-eol {
  padding: 0 16px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin: 0 0 8px;
}

.history-card-status { padding-top: 12px; font-weight: 500; color: var(--text-primary); }
.history-card-eol { padding-bottom: 14px; font-size: 0.75rem; color: var(--text-muted); }

.sidebar-version-note {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin: 10px 0 0;
  line-height: 1.4;
}

.nav-label-retro {
  margin-top: 20px;
  color: var(--retro-accent-text) !important;
}

.nav-label-it {
  margin-top: 16px;
  color: #3fb950 !important;
}

/* IT sections */
.it-section { border-top: 2px solid rgba(63, 185, 80, 0.2); padding-top: 48px; }

.it-topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.it-topic-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}

.it-topic-card h4 { margin: 0 0 8px; color: #3fb950; font-size: 0.95rem; }
.it-topic-summary { font-size: 0.85rem; color: var(--text-secondary); margin: 0 0 10px; line-height: 1.45; }

.it-source-list {
  margin: 10px 0 0;
  padding-left: 18px;
  font-size: 0.78rem;
}

.it-source-list a { color: var(--link); }

.it-quick-card { border-color: rgba(63, 185, 80, 0.25) !important; }
.it-quick-card .quick-icon { color: #3fb950 !important; }

.it-timeline {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
  padding: 16px 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.it-timeline-item {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}

.it-timeline-item:last-child { border-bottom: none; }
.it-timeline-year { font-weight: 600; color: #3fb950; min-width: 48px; font-family: var(--font-mono); }

.external-refs {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  font-size: 0.78rem;
  line-height: 1.8;
}

.external-refs-label {
  color: var(--text-muted);
  margin-right: 8px;
  font-weight: 500;
}

.ext-ref-link {
  display: inline-block;
  margin: 2px 10px 2px 0;
  padding: 2px 8px;
  background: var(--bg-tertiary);
  border-radius: 4px;
  color: var(--accent-text);
  text-decoration: none;
  transition: var(--transition);
}

.ext-ref-link:hover {
  background: rgba(63, 185, 80, 0.15);
  color: #3fb950;
}

.mission-principles {
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
}

.mission-principles li { margin-bottom: 6px; }

.it-source-group h4 { color: #3fb950 !important; }

/* Hardware-Profil (Pflicht) */
.required-badge {
  font-size: 0.65rem;
  padding: 2px 6px;
  background: rgba(248, 81, 73, 0.2);
  color: #f85149;
  border-radius: 4px;
  font-weight: 600;
  vertical-align: middle;
}

.version-profile-box--required {
  border-color: rgba(108, 182, 255, 0.45);
  box-shadow: 0 0 0 1px rgba(108, 182, 255, 0.15);
}

.hardware-type-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}

.hw-type-btn {
  padding: 10px 12px;
  font-size: 0.78rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  line-height: 1.35;
}

.hw-type-btn:hover {
  border-color: var(--accent);
  color: var(--text-primary);
}

.hw-type-btn.active {
  background: rgba(108, 182, 255, 0.15);
  border-color: var(--accent);
  color: var(--text-primary);
  font-weight: 600;
}

.hw-type-btn[data-hw-type="retro"].active {
  background: rgba(163, 113, 247, 0.15);
  border-color: var(--retro-accent-text);
}

.hardware-fields-group.hidden { display: none; }

.hardware-type-toggle--gate { margin-bottom: 14px; }

.header-hardware-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-size: 0.72rem;
  cursor: pointer;
  max-width: 280px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: var(--transition);
}

.header-hardware-btn:hover {
  border-color: var(--accent);
  color: var(--text-primary);
}

.header-hardware-icon { color: var(--accent-text); }

.sidebar-hardware-card {
  margin-bottom: 16px;
  padding: 14px;
  background: var(--bg-secondary);
  border: 1px solid rgba(108, 182, 255, 0.3);
  border-radius: var(--radius);
}

.sidebar-hardware-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sidebar-hardware-display {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

.hardware-chip {
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 4px;
  line-height: 1.3;
}

.hardware-chip--windows { background: var(--accent-dim); color: var(--link); }
.hardware-chip--retro { background: rgba(163, 113, 247, 0.12); color: var(--retro-accent-text); }

.hardware-change-btn {
  width: 100%;
  padding: 6px 10px;
  font-size: 0.72rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-secondary);
  cursor: pointer;
}

.hardware-change-btn:hover { border-color: var(--accent); color: var(--text-primary); }

.profile-change-inline {
  background: none;
  border: none;
  color: var(--accent-text);
  cursor: pointer;
  font-size: 0.78rem;
  text-decoration: underline;
  padding: 0 4px;
}

.hardware-gate {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.hardware-gate[hidden] { display: none !important; }

.hardware-gate-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.hardware-gate-panel {
  position: relative;
  max-width: 520px;
  width: 100%;
  padding: 28px 32px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.hardware-gate-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.hardware-gate-close:hover,
.hardware-gate-close:focus-visible {
  border-color: var(--accent);
  color: var(--text-primary);
  outline: none;
}

.hardware-gate-panel h2 { margin: 0 0 10px; font-size: 1.25rem; padding-right: 40px; }
.hardware-gate-intro { margin: 0 0 20px; color: var(--text-secondary); line-height: 1.5; font-size: 0.9rem; }
.hardware-gate-hint { font-size: 0.8rem; color: var(--text-muted); margin: 12px 0 16px; }
.hardware-gate-save { width: 100%; }

.hardware-gate-fields { margin-bottom: 0; }

body.hardware-locked .main-content > .content-section:not(#start) {
  pointer-events: none;
  opacity: 0.35;
  filter: grayscale(0.3);
}

body.hardware-locked .ai-search-form--locked {
  pointer-events: none;
  opacity: 0.5;
}

.sidebar-nav--locked .nav-link:not([data-section="start"]) {
  opacity: 0.4;
  pointer-events: none;
}

.nav-item-hidden { display: none !important; }

.nav-item-recommended .nav-link {
  border-left: 2px solid #3fb950;
  padding-left: 10px;
  font-weight: 600;
}

.nav-item-recommended .nav-link::after {
  content: ' ●';
  font-size: 0.5rem;
  color: #3fb950;
  vertical-align: middle;
}

.nav-label-hidden { display: none !important; }

/* Profil-Personalisierung */
.profile-os-banner {
  margin-bottom: 24px;
  border-radius: var(--radius);
  overflow: hidden;
}

.profile-os-banner-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
}

.profile-os-hero {
  flex: 0 0 140px;
  max-width: 180px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.profile-os-hero img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

.profile-os-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sys-card-logo,
.history-era-logo,
.update-policy-logo,
.system-hub-logo,
.hub-saved-logo,
.hub-category-logo,
.profile-os-logo,
.page-system-banner-logo {
  object-fit: contain;
}

.profile-os-logo {
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px;
}

.profile-os-banner--windows {
  background: linear-gradient(135deg, rgba(108, 182, 255, 0.12) 0%, rgba(108, 182, 255, 0.04) 100%);
  border: 1px solid rgba(108, 182, 255, 0.35);
}

.profile-os-banner--retro {
  background: linear-gradient(135deg, rgba(163, 113, 247, 0.12) 0%, rgba(163, 113, 247, 0.04) 100%);
  border: 1px solid rgba(163, 113, 247, 0.35);
}

.profile-os-badge {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.profile-os-banner-text h2 {
  margin: 4px 0 6px;
  font-size: 1.15rem;
}

.profile-os-banner-text p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
  max-width: 520px;
}

.profile-os-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.profile-os-link {
  font-size: 0.78rem;
  padding: 6px 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--link);
  text-decoration: none;
}

.profile-os-link:hover { border-color: var(--accent); }

.profile-os-switch {
  font-size: 0.78rem;
  padding: 6px 12px;
  background: transparent;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--text-secondary);
  cursor: pointer;
}

.profile-os-switch:hover { border-color: var(--accent); color: var(--text-primary); }

.content-section-hidden { display: none !important; }

.content-section-focus > .section-header h2,
.section-header--personalized {
  color: #3fb950;
}

.entry--highlight {
  border-color: rgba(63, 185, 80, 0.45) !important;
  box-shadow: 0 0 0 1px rgba(63, 185, 80, 0.15);
}

.entry--dimmed {
  opacity: 0.55;
}

.it-topic-card--recommended {
  border-color: rgba(63, 185, 80, 0.4) !important;
}

.it-topic-card--extra {
  border-color: rgba(163, 113, 247, 0.45) !important;
}

.it-topic-badge {
  display: inline-block;
  font-size: 0.62rem;
  padding: 2px 6px;
  background: rgba(63, 185, 80, 0.15);
  color: #3fb950;
  border-radius: 4px;
  margin-bottom: 6px;
  font-weight: 600;
}

.quick-card--recommended {
  border-color: rgba(63, 185, 80, 0.35) !important;
}

.page-filters-bar--retro .version-filters-scroll:not(.retro-filters-scroll) { display: none; }
.page-filters-bar--retro .sidebar-version-note { display: none; }
.page-filters-bar--windows .retro-filters { display: none; }

body.hardware-ready .content-section:not(.content-section-hidden) {
  animation: none;
}

.mission-box {
  background: linear-gradient(135deg, rgba(163, 113, 247, 0.08) 0%, rgba(108, 182, 255, 0.08) 100%);
  border: 1px solid rgba(163, 113, 247, 0.25);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 28px;
}

.mission-box h3 { margin: 0 0 10px; font-size: 1.1rem; color: var(--retro-accent-text); }
.mission-box p { margin: 0; color: var(--text-secondary); line-height: 1.6; }

/* Retro sections */
.retro-section { border-top: 2px solid rgba(163, 113, 247, 0.2); padding-top: 48px; }

.retro-brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.retro-brand-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.retro-brand-card:hover {
  border-color: var(--retro-accent-text);
  transform: translateY(-2px);
}

.retro-brand-card strong { font-size: 1.05rem; color: var(--retro-accent-text); }
.retro-brand-card span { font-size: 0.82rem; color: var(--text-secondary); }
.retro-era { font-size: 0.72rem !important; color: var(--text-muted) !important; }

.retro-card { border-color: rgba(163, 113, 247, 0.3) !important; }
.retro-card .quick-icon { color: var(--retro-accent-text) !important; }

.retro-model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.retro-model-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 14px;
  margin-bottom: 20px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.retro-model-nav-item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 88px;
  max-width: 108px;
  padding: 8px 6px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  text-decoration: none;
  color: var(--text-secondary);
  scroll-snap-align: start;
  transition: border-color 0.15s, background 0.15s;
}

.retro-model-nav-item:hover,
.retro-model-nav-item.is-active {
  border-color: rgba(163, 113, 247, 0.45);
  background: rgba(163, 113, 247, 0.08);
  color: var(--text-primary);
}

.retro-model-nav-thumb {
  width: 72px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.retro-model-nav-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.retro-model-nav-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
}

.retro-model-nav-year {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.retro-model-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}

.retro-model-card header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
  gap: 8px;
}

.retro-model-card h4 { margin: 0; font-size: 0.95rem; }
.retro-year { font-size: 0.72rem; color: var(--retro-accent-text); white-space: nowrap; }
.retro-specs { font-size: 0.78rem; color: var(--text-muted); margin: 0 0 8px; font-family: var(--font-mono); }
.retro-summary { font-size: 0.85rem; color: var(--text-secondary); margin: 0 0 10px; line-height: 1.45; }

.retro-tips {
  margin: 0 0 12px;
  padding-left: 18px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.retro-tips li { margin-bottom: 4px; }

.retro-card-links { display: flex; flex-wrap: wrap; gap: 8px; }

.retro-ext-link {
  font-size: 0.72rem;
  padding: 3px 8px;
  background: var(--bg-tertiary);
  border-radius: 4px;
  color: var(--accent-text);
  text-decoration: none;
}

.retro-ext-link:hover { background: var(--accent-dim); }

.retro-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.retro-link-group {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}

.retro-link-group h4 { margin: 0 0 12px; font-size: 0.95rem; color: var(--retro-accent-text); }
.retro-link-group ul { margin: 0; padding-left: 18px; font-size: 0.85rem; }
.retro-link-group li { margin-bottom: 6px; }
.retro-link-group a { color: var(--link); }

.retro-profile-label { color: var(--retro-accent-text); }

.retro-filters {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.retro-filters-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0 0 8px;
}

.retro-filters-scroll {
  max-height: 120px;
}

.version-chip.retro-chip {
  border-color: rgba(163, 113, 247, 0.35);
  font-size: 0.68rem;
}

.version-chip.retro-chip.active {
  background: rgba(188, 140, 255, 0.22);
  border-color: var(--retro-accent);
  color: #f0e6ff;
}

.retro-tricks-label {
  font-size: 0.72rem;
  color: var(--retro-accent-text);
  margin: 8px 0 4px;
  font-weight: 600;
}

.entry-note {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 10px 14px;
  background: rgba(163, 113, 247, 0.08);
  border-left: 3px solid #a371f7;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 14px;
}

.version-filters-scroll {
  max-height: 140px;
  overflow-y: auto;
}

select optgroup {
  font-weight: 600;
  color: var(--accent-text);
  background: var(--bg-secondary);
}

select option {
  background: var(--bg-primary);
  color: var(--text-primary);
  padding: 4px;
}

.update-policy-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}

.update-policy-card.eol { border-color: rgba(248, 81, 73, 0.35); opacity: 0.92; }

.update-policy-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.update-policy-card-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.update-policy-logo {
  flex-shrink: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  padding: 2px;
}

.update-policy-head-text {
  flex: 1;
  min-width: 0;
}

.update-policy-head-text h3 {
  margin: 0 0 6px;
}

.update-policy-card .sys-card-visual {
  margin: -16px -16px 12px;
}

.update-policy-card-head h3 { margin: 0; font-size: 1rem; }

.eol-badge {
  font-size: 0.68rem;
  padding: 3px 8px;
  background: rgba(248, 81, 73, 0.15);
  color: var(--danger);
  border-radius: 4px;
  font-weight: 700;
}

.active-badge {
  font-size: 0.68rem;
  padding: 3px 8px;
  background: rgba(63, 185, 80, 0.15);
  color: var(--success);
  border-radius: 4px;
}

.update-policy-card p { margin: 0 0 8px; font-size: 0.85rem; color: var(--text-secondary); }
.update-status { font-weight: 500; color: var(--text-primary) !important; }
.update-rec { margin-top: 10px !important; padding-top: 10px; border-top: 1px solid var(--border-muted); }

.update-min-hw {
  margin: 8px 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Responsive */
@media (max-width: 1024px) {
  .sidebar {
    position: fixed;
    left: 0;
    top: var(--header-height);
    z-index: 90;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow);
  }

  .sidebar.open { transform: translateX(0); }

  .menu-toggle { display: flex; }

  .search-hint { display: none; }

  .search-wrap input { width: 200px; }

  .main-content { padding: 24px 20px 48px; }

  .regedit-screen { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .brand h1 { font-size: 0.95rem; }
  .tagline { display: none; }

  .header-inner { padding: 12px 16px; }

  .search-wrap input { width: 140px; font-size: 0.82rem; }

  .hero-pro { padding: 24px 20px; }

  .pool-trust-bar { gap: 8px; }

  .trust-badge { font-size: 0.72rem; padding: 5px 10px; }

  .pool-explorer-grid { grid-template-columns: 1fr; }

  .hero-stats { gap: 20px; }

  .main-content { padding: 20px 16px 40px; }

  .section-header h2 { font-size: 1.4rem; }

  .screenshot-grid { grid-template-columns: 1fr; }

  .command-block pre { padding-right: 16px; padding-bottom: 40px; }

  .copy-btn {
    top: auto;
    bottom: 8px;
    right: 8px;
  }

  .ai-search-panel { padding: 18px; }

  .ai-search-actions { flex-direction: column; }

  .ai-search-btn, .ai-clear-btn { width: 100%; justify-content: center; }
}

@media print {
  .sidebar, .site-header, .copy-btn, .menu-toggle, .toast { display: none !important; }
  .main-content { padding: 0; }
  body { background: #fff; color: #000; }
  .entry, .tool-card { break-inside: avoid; border: 1px solid #ccc; }
}

/* Multi-Page: System-Hub & Seiten-Navigation */
.hero-hub .hero-badge-row { margin-bottom: 12px; }
.hero-hub-alt { margin-top: 12px; font-size: 0.95rem; color: var(--text-muted, #8b949e); }
.hero-hub-alt a { color: var(--link); }

/* Hub Landing (index) */
.hub-landing-hero {
  margin-bottom: 28px;
  padding: 28px 24px 24px;
  background: linear-gradient(145deg, rgba(108, 182, 255, 0.06), rgba(163, 113, 247, 0.04));
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.hub-landing-eyebrow {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.hub-landing-title {
  margin: 0 0 12px;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  line-height: 1.25;
  color: var(--text-primary);
}

.hub-landing-lead {
  margin: 0 0 18px;
  max-width: 52rem;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.hub-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.hub-category-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 18px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.hub-category-card:hover {
  border-color: rgba(108, 182, 255, 0.4);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.hub-category-card h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text-primary);
}

.hub-category-card p {
  margin: 0;
  flex: 1;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.hub-category-icon {
  font-size: 1.6rem;
  opacity: 0.9;
}

.hub-category-cta {
  margin-top: 4px;
  font-size: 0.82rem;
  color: var(--accent-text);
}

.hub-category-card--windows { border-left: 3px solid #0078d4; }
.hub-category-card--it { border-left: 3px solid #3fb950; }
.hub-category-card--retro { border-left: 3px solid #e3b341; }
.hub-category-card--general { border-left: 3px solid #a371f7; }

.hub-saved-profile {
  margin-bottom: 20px;
  padding: 12px 16px;
  background: rgba(108, 182, 255, 0.06);
  border: 1px solid rgba(108, 182, 255, 0.2);
  border-radius: var(--radius);
}

.hub-saved-profile-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
}

.hub-saved-profile p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.hub-saved-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-right: 6px;
}

.hub-saved-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
}

.hub-saved-open {
  font-size: 0.84rem;
  color: var(--link);
  text-decoration: none;
}

.hub-saved-open:hover { text-decoration: underline; }

.hub-saved-change {
  font-size: 0.82rem;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-primary);
  color: var(--text-secondary);
  cursor: pointer;
}

.hub-saved-change:hover {
  border-color: var(--accent);
  color: var(--link-hover);
}

.hub-browser {
  margin-top: 8px;
}

.hub-browser-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
  margin-bottom: 14px;
}

.hub-search-wrap { flex: 1; min-width: min(100%, 260px); }

.hub-system-search {
  width: 100%;
  padding: 10px 14px;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.hub-system-search:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(108, 182, 255, 0.15);
}

.hub-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hub-filter-chip {
  padding: 6px 12px;
  font-size: 0.82rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  cursor: pointer;
}

.hub-filter-chip:hover,
.hub-filter-chip.active {
  border-color: var(--accent);
  color: var(--link-hover);
  background: rgba(108, 182, 255, 0.08);
}

.hub-empty {
  padding: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.system-hub-group--collapsible {
  border: 1px solid var(--border-muted);
  border-radius: var(--radius);
  padding: 0 14px 14px;
  background: var(--bg-secondary);
}

.system-hub-group--collapsible summary {
  cursor: pointer;
  padding: 14px 0;
  list-style: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.system-hub-group--collapsible summary::-webkit-details-marker { display: none; }

.system-hub-count {
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.system-hub-group--featured {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-muted);
  margin-bottom: 8px;
}

.footer-partner-wrap {
  position: relative;
  display: inline;
}

.footer-partner-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: inherit;
  border-bottom: 1px dotted var(--border);
}

.footer-partner-link:hover {
  color: var(--link-hover);
  border-bottom-color: var(--accent);
}

.footer-partner-tip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  width: max-content;
  max-width: 240px;
  padding: 8px 10px;
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--text-primary);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s, visibility 0.15s;
  z-index: 20;
}

.footer-partner-wrap:hover .footer-partner-tip,
.footer-partner-wrap:focus-within .footer-partner-tip {
  opacity: 1;
  visibility: visible;
}

.system-hub-meta {
  text-align: center;
  color: var(--text-muted, #8b949e);
  margin: 8px 0 24px;
  font-size: 0.92rem;
}

.system-hub-root { display: flex; flex-direction: column; gap: 36px; }

.system-hub-group-title {
  font-size: 1.15rem;
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border, #30363d);
}

.system-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.system-hub-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border-radius: 12px;
  border: 1px solid var(--border, #30363d);
  background: var(--surface, #161b22);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, transform 0.15s;
  min-height: 160px;
}

.system-hub-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.system-hub-card h3 { margin: 0; font-size: 1rem; line-height: 1.35; }
.system-hub-card p { margin: 0; font-size: 0.85rem; color: var(--text-muted, #8b949e); flex: 1; }
.system-hub-icon { font-size: 1.5rem; opacity: 0.85; }
.system-hub-year { font-size: 0.75rem; color: var(--text-muted, #8b949e); }
.system-hub-cta { font-size: 0.85rem; color: var(--link); margin-top: auto; }

.system-hub-card--windows { border-left: 3px solid #0078d4; }
.system-hub-card--retro { border-left: 3px solid #e3b341; }
.system-hub-card--it { border-left: 3px solid #3fb950; }
.system-hub-card--general { border-left: 3px solid #a371f7; }

.page-system-banner {
  margin-bottom: 20px;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(108, 182, 255, 0.08);
  border: 1px solid rgba(108, 182, 255, 0.25);
}

.page-system-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  font-size: 0.92rem;
}

.page-system-banner-logo {
  flex-shrink: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  padding: 2px;
}

.page-system-banner-hero {
  flex: 1 1 160px;
  max-width: 220px;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border, #30363d);
}

.page-system-banner-hero img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 72px;
  object-fit: cover;
}

/* System-Karten: Logos & Hero-Bilder */
.sys-card-visual {
  margin: -4px -4px 12px;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border, #30363d);
}

.sys-card-hero {
  margin: 0;
  max-height: 120px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
}

.sys-card-hero img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 120px;
  object-fit: cover;
  object-position: center;
  cursor: zoom-in;
}

.sys-card-hero--compact {
  max-height: 88px;
}

.sys-card-hero--compact img {
  max-height: 88px;
}

.sys-card-visual-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.03);
}

.sys-card-logo {
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 3px;
}

.sys-card-visual--compact .sys-card-visual-meta {
  padding: 6px 8px;
}

.retro-model-card .sys-card-visual {
  margin: -14px -14px 12px;
}

.retro-model-card .sys-card-hero {
  max-height: 148px;
  background: rgba(0, 0, 0, 0.28);
}

.retro-model-card .sys-card-hero img {
  object-fit: contain;
  object-position: center;
  max-height: 148px;
}

.sys-card-visual-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}

.retro-model-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.retro-model-head-text h4 {
  margin: 0;
}

.history-era-card .sys-card-visual {
  margin: -14px -14px 10px;
}

.version-header.historical {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.history-era-logo {
  flex-shrink: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  padding: 2px;
}

.history-era-head-text h4 {
  margin: 0 0 4px;
}

.system-hub-card {
  position: relative;
  overflow: hidden;
}

.system-hub-hero {
  margin: -16px -16px 12px;
  max-height: 90px;
  overflow: hidden;
  border-bottom: 1px solid var(--border, #30363d);
}

.system-hub-hero img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 90px;
  object-fit: cover;
  cursor: zoom-in;
}

.system-hub-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.system-hub-logo {
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 3px;
}

.system-hub-card-top h3 {
  margin: 0;
}

.hub-saved-profile-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hub-category-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px;
  margin-bottom: 8px;
}

.hub-saved-logo {
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px;
}

.page-system-banner-meta { color: var(--text-secondary); }
.page-system-banner-link { margin-left: auto; color: var(--link); text-decoration: none; }
.page-system-banner-link:hover { color: var(--link-hover); text-decoration: underline; }

.system-min-hardware {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-muted);
  max-width: 100%;
  box-sizing: border-box;
}

.hist-system-details > .system-min-hardware {
  margin-top: 0;
}

.system-min-hardware--compact {
  margin-top: 10px;
  padding: 10px 12px;
}

.system-min-hardware-title {
  margin: 0 0 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-text);
}

.system-min-hardware-list {
  margin: 0;
  display: grid;
  gap: 6px;
}

.system-min-hardware-row {
  display: grid;
  grid-template-columns: minmax(88px, 120px) minmax(0, 1fr);
  gap: 8px 12px;
  font-size: 0.8rem;
  line-height: 1.45;
}

.system-min-hardware-row dt {
  margin: 0;
  color: var(--text-muted);
  font-weight: 500;
}

.system-min-hardware-row dd {
  margin: 0;
  color: var(--text-secondary);
}

.profile-os-banner .system-min-hardware {
  margin-top: 12px;
  max-width: 640px;
}

.update-banner-body .system-min-hardware {
  margin-top: 10px;
}

.nav-label-pages { margin-top: 4px; }

.nav-list + .nav-label { margin-top: 18px; }

.sidebar-footer--minimal {
  padding: 8px 8px 16px;
  font-size: 0.88rem;
}

.brand[role="link"] { cursor: pointer; }
.brand[role="link"]:hover h1 { color: var(--link); }

.hist-system-details {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--border, #30363d);
}

.hist-detail-intro {
  font-size: 0.95rem;
  color: var(--text-secondary, #c9d1d9);
  line-height: 1.6;
  margin: 0 0 14px;
  max-width: 72ch;
}

.hist-detail-intro--card { margin-top: 8px; }

.hist-detail-block { margin: 12px 0; }
.hist-detail-block--card h5 { font-size: 0.82rem; margin: 0 0 6px; color: var(--accent-text); }

.hist-detail-list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  line-height: 1.5;
}

.hist-detail-list a { color: var(--link); }
.hist-detail-note { color: var(--text-muted, #8b949e); font-size: 0.82rem; }

.hist-detail-legal {
  font-size: 0.78rem;
  color: var(--text-muted, #8b949e);
  margin-top: 14px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
}

.hist-system-details {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  align-items: start;
}

.hist-system-details > .hist-system-visual-head,
.hist-system-details > .hist-system-hero,
.hist-system-details > .hist-detail-intro,
.hist-system-details > .system-min-hardware,
.hist-system-details > .hist-first-use,
.hist-system-details > .hist-detail-block--peripherals,
.hist-system-details > .hist-detail-legal {
  grid-column: 1 / -1;
}

.hist-detail-block { margin: 0; }

.hist-active-panel-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px 22px;
  align-items: start;
  margin-top: 14px;
}

.hist-active-panel-body:has(.hist-active-panel-visual) {
  grid-template-columns: minmax(200px, 36%) minmax(0, 1fr);
}

.hist-active-panel-visual {
  min-width: 0;
}

.hist-active-panel-main {
  min-width: 0;
}

.hist-active-panel-visual .hist-active-panel-hero {
  margin: 0;
  height: 100%;
  min-height: 160px;
}

.hist-active-panel-main .hist-system-details {
  margin-top: 0;
}

@media (max-width: 900px) {
  .hist-active-panel-body,
  .hist-active-panel-body:has(.hist-active-panel-visual) {
    grid-template-columns: 1fr;
  }

  .hist-system-details {
    grid-template-columns: 1fr;
  }
}

.hist-active-panel {
  margin-bottom: 28px;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(108, 182, 255, 0.2);
  background: rgba(108, 182, 255, 0.04);
}

.hist-active-panel-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.hist-active-panel-logo {
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px;
}

.hist-active-panel-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px 0 8px;
  padding: 10px 12px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border, #30363d);
  background: rgba(0, 0, 0, 0.22);
}

.hist-system-hero img,
.hist-active-panel-hero img,
.system-hub-hero img,
.page-system-banner-hero img {
  cursor: zoom-in;
}

.hist-active-panel-hero img {
  display: block;
  max-width: 100%;
  max-height: min(280px, 48vw);
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  cursor: zoom-in;
}

.hist-system-visual-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.hist-system-logo {
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px;
}

.hist-system-visual-type {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted, #8b949e);
}

.hist-system-visual-name {
  margin: 2px 0 0;
  font-size: 1.05rem;
}

.hist-system-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border, #30363d);
  background: rgba(0, 0, 0, 0.22);
}

.hist-system-hero img {
  display: block;
  max-width: 100%;
  max-height: min(260px, 45vw);
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  cursor: zoom-in;
}

/* Erstbedienungs-Guides */
.hist-first-use {
  margin: 0 0 16px;
  border: 1px solid rgba(163, 113, 247, 0.28);
  border-radius: 10px;
  background: rgba(163, 113, 247, 0.05);
  overflow: hidden;
}

.hist-first-use-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.92rem;
  list-style: none;
  user-select: none;
}

.hist-first-use-summary::-webkit-details-marker { display: none; }

.hist-first-use-summary-icon {
  color: var(--retro-accent-text);
  font-size: 0.75rem;
  transition: transform 0.15s;
}

.hist-first-use[open] .hist-first-use-summary-icon {
  transform: rotate(90deg);
}

.hist-first-use-summary-meta {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
}

.hist-first-use-body {
  padding: 0 14px 14px;
  border-top: 1px solid rgba(163, 113, 247, 0.15);
}

.hist-first-use-intro {
  margin: 12px 0 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.hist-first-use-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hist-first-use-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.hist-first-use-step-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--retro-accent-dim);
  color: var(--retro-accent-text);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 26px;
  text-align: center;
}

.hist-first-use-step-body {
  flex: 1;
  min-width: 0;
  font-size: 0.85rem;
}

.hist-first-use-step-body strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.hist-first-use-step-body p {
  margin: 0 0 6px;
  color: var(--text-secondary);
  line-height: 1.45;
}

.hist-first-use-cmd {
  margin: 6px 0;
}

.hist-first-use-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
  margin: 4px 0 0 !important;
}

.hist-first-use-warnings {
  margin: 12px 0 0;
  padding: 10px 14px 10px 28px;
  background: rgba(210, 153, 34, 0.08);
  border: 1px solid rgba(210, 153, 34, 0.25);
  border-radius: 8px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.hist-first-use-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  font-size: 0.82rem;
}

.hist-first-use-links a {
  color: var(--link);
  text-decoration: none;
}

.hist-first-use-links a:hover { color: var(--link-hover); text-decoration: underline; }

.hist-active-panel .hist-first-use {
  border-color: rgba(108, 182, 255, 0.28);
  background: rgba(108, 182, 255, 0.04);
}

.hist-active-panel .hist-first-use-step-num {
  background: rgba(108, 182, 255, 0.18);
  color: var(--link);
}

.retro-model-card .hist-first-use {
  margin-bottom: 12px;
}

.hist-peripheral-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.hist-peripheral-head-text {
  flex: 1;
  min-width: 0;
}

.hist-peripheral-thumb {
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px;
}

.hist-peripheral-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hist-card-expand { margin-top: 12px; }

.history-era-card .hist-card-expand {
  padding: 0 16px 14px;
}

.history-era-card .hist-system-details {
  font-size: 0.88rem;
  border-top: 1px dashed var(--border-muted);
  padding-top: 12px;
  margin-top: 8px;
}

.retro-model-card .hist-detail-block { margin-top: 10px; }

.hist-peripheral-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  margin-top: 8px;
  align-items: start;
}

.hist-peripheral-stack-wrap {
  position: relative;
  margin-top: 8px;
}

.hist-peripheral-stack {
  position: relative;
  max-height: 360px;
  overflow: hidden;
}

.hist-peripheral-stack-wrap--ready .hist-peripheral-stack::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 64px;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--bg-secondary, #161b22));
}

.hist-active-panel .hist-peripheral-stack-wrap--ready .hist-peripheral-stack::after {
  background: linear-gradient(to bottom, transparent, rgba(13, 17, 23, 0.95));
}

.hist-peripheral-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid rgba(108, 182, 255, 0.35);
  background: rgba(108, 182, 255, 0.08);
  color: var(--link);
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.hist-peripheral-all-btn:hover {
  background: rgba(108, 182, 255, 0.16);
  border-color: var(--accent);
  color: var(--link-hover);
}

.hist-peripheral-card--preview {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  min-height: 132px;
  max-height: none;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.hist-peripheral-card--preview:hover,
.hist-peripheral-card--preview:focus-visible {
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  outline: none;
}

.hist-peripheral-preview-text {
  margin: 0 0 8px;
  font-size: 0.82rem;
  color: var(--text-muted, #8b949e);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hist-peripheral-open-hint {
  display: block;
  margin-top: auto;
  padding-top: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--link);
}

.peripheral-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.peripheral-modal[hidden] {
  display: none !important;
}

body.peripheral-modal-open {
  overflow: hidden;
}

.peripheral-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 4, 9, 0.72);
  backdrop-filter: blur(4px);
}

.peripheral-modal-panel {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(88vh, 860px);
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  border: 1px solid var(--border, #30363d);
  background: var(--bg-secondary, #161b22);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.peripheral-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border, #30363d);
  flex-shrink: 0;
}

.peripheral-modal-header h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
}

.peripheral-modal-close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 8px;
  background: var(--bg-tertiary, #21262d);
  color: var(--text-secondary, #c9d1d9);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.peripheral-modal-close:hover {
  background: rgba(248, 81, 73, 0.15);
  color: #f85149;
}

.peripheral-modal-body {
  overflow-y: auto;
  padding: 16px 18px 20px;
  overscroll-behavior: contain;
}

.hist-peripheral-modal-content .hist-peripheral-grid {
  grid-template-columns: 1fr;
}

.hist-peripheral-modal-content .hist-peripheral-card {
  max-height: none;
}

.hist-peripheral-group {
  margin-bottom: 10px;
}

.hist-peripheral-group-title {
  font-size: 0.78rem;
  margin: 0 0 6px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border, #30363d);
  padding-bottom: 4px;
}

.hist-peripheral-count {
  font-weight: 400;
  color: var(--text-muted, #8b949e);
  font-size: 0.85rem;
}

.hist-peripheral-card {
  background: var(--surface, #161b22);
  border: 1px solid var(--border, #30363d);
  border-radius: 10px;
  padding: 14px;
  font-size: 0.88rem;
}

.hist-peripheral-cat {
  display: inline-block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-text);
  background: rgba(108, 182, 255, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 6px;
}

.hist-peripheral-cat-inline {
  font-size: 0.78rem;
  color: var(--text-muted, #8b949e);
}

.hist-peripheral-year {
  float: right;
  font-size: 0.75rem;
  color: var(--text-muted, #8b949e);
}

.hist-peripheral-name {
  margin: 8px 0 0;
  font-size: 0.95rem;
  font-weight: 600;
  clear: both;
  line-height: 1.3;
}

.hist-peripheral-desc {
  margin: 0 0 8px;
  color: var(--text-secondary, #c9d1d9);
  font-weight: 500;
}

.hist-peripheral-detail {
  margin: 0 0 10px;
  color: var(--text-muted, #8b949e);
  line-height: 1.55;
  font-size: 0.84rem;
}

.hist-peripheral-specs {
  margin: 0 0 8px;
  font-size: 0.82rem;
  display: grid;
  gap: 4px 12px;
}

.hist-peripheral-specs dt {
  font-weight: 600;
  color: var(--text-secondary, #c9d1d9);
  margin: 0;
}

.hist-peripheral-specs dd {
  margin: 0 0 6px;
  color: var(--text-muted, #8b949e);
}

.hist-peripheral-code {
  display: block;
  margin-top: 4px;
  padding: 6px 8px;
  background: var(--bg-tertiary, #21262d);
  border-radius: 6px;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.78rem;
  word-break: break-word;
  white-space: pre-wrap;
}

.hist-peripheral-notes {
  margin: 8px 0 0;
  padding-left: 1.1rem;
  font-size: 0.8rem;
  color: var(--text-muted, #8b949e);
}

.hist-detail-block--peripherals h5 {
  margin-bottom: 12px;
}

.retro-model-card .hist-peripheral-grid {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.hist-active-panel .hist-peripheral-grid,
.history-era-card .hist-peripheral-grid {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

@media (max-width: 640px) {
  .hist-peripheral-grid,
  .hist-active-panel .hist-peripheral-grid {
    grid-template-columns: 1fr;
  }
}

.sidebar { display: none !important; }

@media (max-width: 900px) {
  .menu-toggle {
    display: flex !important;
  }

  .site-sticky-chrome .site-topnav .topnav-main-tabs,
  .site-sticky-chrome .site-topnav .topnav-primary,
  .site-sticky-chrome .site-topnav .topnav-sections-wrap,
  .site-sticky-chrome .site-topnav .page-filters-bar {
    display: none;
  }

  .site-sticky-chrome.site-sticky-chrome--nav-open .site-topnav .topnav-main-tabs,
  .site-sticky-chrome.site-sticky-chrome--nav-open .site-topnav .topnav-primary,
  .site-sticky-chrome.site-sticky-chrome--nav-open .site-topnav .topnav-sections-wrap,
  .site-sticky-chrome.site-sticky-chrome--nav-open .site-topnav .page-filters-bar {
    display: block;
  }

  .site-sticky-chrome.site-sticky-chrome--nav-open .topnav-main-tabs {
    display: flex;
  }

  .site-sticky-chrome.site-sticky-chrome--nav-open .topnav-sections {
    display: flex;
  }

  .topnav-inner {
    flex-wrap: wrap;
    padding: 10px 16px;
  }

  .system-picker { max-width: none; width: 100%; order: 1; }

  .topnav-quick-links {
    width: 100%;
    order: 2;
    justify-content: flex-start;
  }

  .header-inner { padding: 10px 16px; }

  .search-wrap { display: none; }

  .layout--no-sidebar .main-content { padding: 20px 16px 48px; }

  .system-picker-panel {
    position: fixed;
    left: 16px;
    right: 16px;
    top: calc(var(--site-chrome-height) + 8px);
    max-height: calc(100vh - var(--site-chrome-height) - 24px);
  }
}

/* Bild-Lightbox */
.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

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

body.image-lightbox-open {
  overflow: hidden;
}

.image-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 4, 9, 0.84);
  backdrop-filter: blur(6px);
}

.image-lightbox-panel {
  position: relative;
  z-index: 1;
  max-width: min(1280px, 96vw);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.image-lightbox-close {
  position: absolute;
  top: -8px;
  right: -8px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 999px;
  background: var(--bg-secondary, #161b22);
  color: var(--text-secondary, #c9d1d9);
  border: 1px solid var(--border, #30363d);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.image-lightbox-close:hover {
  background: rgba(248, 81, 73, 0.18);
  color: #f85149;
}

.image-lightbox-figure {
  margin: 0;
  max-width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.image-lightbox-img {
  display: block;
  max-width: min(1280px, 96vw);
  max-height: calc(92vh - 48px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  background: rgba(0, 0, 0, 0.35);
}

.image-lightbox-caption {
  margin: 0;
  max-width: min(720px, 90vw);
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--text-secondary, #c9d1d9);
}

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