@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg-deep: #1a1a1a;
  --bg-primary: #1e1e1e;
  --bg-secondary: #252525;
  --bg-card: #2a2a2a;
  --bg-card-hover: #333333;
  --bg-input: #222222;
  --bg-glow: rgba(6, 182, 212, 0.03);

  --accent: #06B6D4;
  --accent-soft: #0891b2;
  --accent-dim: rgba(6, 182, 212, 0.08);
  --accent-border: rgba(6, 182, 212, 0.2);
  --accent-glow: rgba(6, 182, 212, 0.15);

  --blue: #00aaff;
  --blue-dim: rgba(0, 170, 255, 0.1);
  --purple: #a855f7;
  --purple-dim: rgba(168, 85, 247, 0.1);
  --orange: #ff8c00;
  --orange-dim: rgba(255, 140, 0, 0.1);

  --text-primary: #e8eaed;
  --text-secondary: #8b949e;
  --text-muted: #484f58;
  --text-dim: #2d333b;

  --danger: #ff4757;
  --danger-dim: rgba(255, 71, 87, 0.1);
  --warning: #ffa502;
  --warning-dim: rgba(255, 165, 2, 0.1);
  --success: #06B6D4;

  --border: rgba(255, 255, 255, 0.06);
  --border-light: rgba(255, 255, 255, 0.1);
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 30px rgba(6, 182, 212, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg-deep);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

code, pre, .mono { font-family: 'JetBrains Mono', monospace; }
::selection { background: var(--accent); color: var(--bg-deep); }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--text-muted); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-secondary); }

/* ============================================================
   HEADER
   ============================================================ */
header {
  position: relative;
  padding: 20px 28px;
  background: linear-gradient(180deg, rgba(6,182,212,0.03) 0%, transparent 100%);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 24px;
}

header::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 50%;
  transform: translateX(-50%);
  width: 120px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.logo {
  flex-shrink: 0;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.header-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

header h1 {
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-primary);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

header h1 b { color: var(--accent); font-weight: 700; }

.subtitle {
  color: var(--text-muted);
  font-size: 0.65rem;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.header-right {
  margin-left: auto;
  flex-shrink: 0;
  display: flex; gap: 6px;
}

.lang-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.65rem;
  cursor: pointer;
  transition: all 0.2s;
}
.lang-btn:hover, .lang-btn.active {
  border-color: var(--accent);
  color: var(--accent);
}

.version-badge {
  display: inline-block;
  margin-top: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  color: var(--accent-soft);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  padding: 2px 10px;
  border-radius: 12px;
}

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 20px 60px;
}

/* ============================================================
   STEPPER / PROGRESS
   ============================================================ */
.progress-wrapper { margin-bottom: 32px; }

.step-indicators {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-bottom: 8px;
  padding: 0 20px;
}

.step-ind {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
  background: var(--bg-primary);
  position: relative;
  z-index: 1;
}

.step-connector {
  width: 40px; height: 2px;
  background: var(--text-dim);
  transition: background 0.3s ease;
}

.step-connector.done { background: var(--accent); }

.step-ind.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
  box-shadow: 0 0 16px rgba(6,182,212,0.2);
  transform: scale(1.1);
}

.step-ind.done {
  border-color: var(--accent);
  color: var(--bg-deep);
  background: var(--accent);
  box-shadow: 0 0 12px rgba(6,182,212,0.15);
}

.step-labels {
  display: flex;
  justify-content: center;
  gap: 44px;
  padding: 0 10px;
}

.step-label {
  font-size: 0.58rem;
  color: var(--text-muted);
  text-align: center;
  width: 36px;
  transition: color 0.3s;
}

.step-label.active { color: var(--accent); }
.step-label.done { color: var(--text-secondary); }

.progress-bar-track {
  height: 2px;
  background: var(--border);
  border-radius: 1px;
  margin-top: 8px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #22d3ee);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0%;
  border-radius: 1px;
}

/* ============================================================
   WIZARD STEPS
   ============================================================ */
.wizard-step {
  display: none;
  animation: stepIn 0.35s ease;
}

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

.step-header { margin-bottom: 24px; }

.step-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-title .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  background: var(--accent);
  color: var(--bg-deep);
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
}

.step-subtitle {
  color: var(--text-secondary);
  font-size: 0.78rem;
  margin-top: 4px;
  padding-left: 38px;
}

/* ============================================================
   BOARD LIST
   ============================================================ */
.board-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bcard {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}

.bcard::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.2s;
  border-radius: 12px 0 0 12px;
}

.bcard:hover {
  border-color: var(--accent-border);
  background: var(--bg-card-hover);
}

.bcard:hover::before { opacity: 0.5; }

.bcard.sel {
  border-color: var(--accent);
  background: linear-gradient(90deg, var(--accent-dim), var(--bg-card));
  box-shadow: var(--shadow-glow);
}

.bcard.sel::before { opacity: 1; }
.bcard.sel .bcard-check { opacity: 1; }

.bcard-ico {
  width: 40px; height: 40px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 4px;
  overflow: hidden;
}

.bcard-ico img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bcard-body { flex: 1; min-width: 0; }

.bcard-row1 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 2px;
}

.bcard h3 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
}

.bcard-chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  color: var(--accent);
}

.bcard-row2 {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.bcard-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.bcard-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.tag {
  background: var(--accent-dim);
  border: 1px solid rgba(6, 182, 212, 0.1);
  color: var(--accent-soft);
  font-size: 0.55rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 500;
}

.bcard-desc {
  color: var(--text-secondary);
  font-size: 0.65rem;
  line-height: 1.4;
  margin-top: 2px;
}

.bcard-check {
  width: 24px; height: 24px;
  background: var(--accent);
  color: var(--bg-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.2s;
}

.no-results {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  padding: 30px;
  font-family: 'JetBrains Mono', monospace;
}

/* ============================================================
   CUSTOM FIRMWARE
   ============================================================ */
.board-separator {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 8px;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.board-separator::before,
.board-separator::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.bcard-custom .bcard-desc {
  color: var(--text-secondary);
  font-size: 0.65rem;
  margin-top: 4px;
}

.bcard-ico-custom {
  background: var(--purple-dim);
  border-color: rgba(168, 85, 247, 0.2);
  color: var(--purple);
}

.tag-custom {
  background: var(--purple-dim);
  border-color: rgba(168, 85, 247, 0.15);
  color: var(--purple);
}

.bcard-custom.sel {
  border-color: var(--purple);
  background: linear-gradient(90deg, var(--purple-dim), var(--bg-card));
}

.bcard-custom.sel::before {
  background: var(--purple);
}

.bcard-custom:hover {
  border-color: rgba(168, 85, 247, 0.3);
}

.bcard-custom:hover::before {
  background: var(--purple);
}

.custom-fw-extras {
  margin-top: 12px;
  padding: 12px 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.custom-fw-extras summary {
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 500;
}

.custom-fw-extras summary:hover {
  color: var(--accent);
}

input[type="file"] {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-secondary);
  padding: 8px;
  background: var(--bg-input);
  border: 1px dashed var(--border-light);
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
}

input[type="file"]:hover {
  border-color: var(--accent-border);
}

input[type="file"]::file-selector-button {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  padding: 5px 12px;
  margin-right: 10px;
  border: 1px solid var(--accent-border);
  border-radius: 6px;
  background: var(--accent-dim);
  color: var(--accent);
  cursor: pointer;
  transition: all 0.2s;
}

input[type="file"]::file-selector-button:hover {
  background: var(--accent);
  color: var(--bg-deep);
}

/* ============================================================
   FORMS
   ============================================================ */
.form-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 16px;
}

.form-section-title {
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.form-group { margin-bottom: 16px; }

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

.form-hint {
  color: var(--text-muted);
  font-size: 0.65rem;
  margin-top: 4px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

input, select, textarea {
  font-family: 'JetBrains Mono', monospace;
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  width: 100%;
  outline: none;
  transition: all 0.2s ease;
}

input:focus, select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

input::placeholder { color: var(--text-muted); }

select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2306B6D4'%3E%3Cpath d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

.input-with-btn {
  display: flex;
  gap: 0;
}
.input-with-btn input {
  border-radius: 8px 0 0 8px;
}
.input-with-btn button {
  border-radius: 0 8px 8px 0;
  border: 1px solid var(--border);
  border-left: none;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  padding: 0 12px;
  cursor: pointer;
  font-size: 1rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  font-family: 'Inter', sans-serif;
  padding: 10px 22px;
  border: 1px solid var(--accent-border);
  background: transparent;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.btn:active { transform: translateY(0); }

.btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #0891b2 100%);
  color: var(--bg-deep);
  font-weight: 700;
  border: none;
  box-shadow: 0 2px 12px rgba(6, 182, 212, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #22d3ee 0%, var(--accent) 100%);
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.3);
}

.btn-small {
  padding: 5px 12px;
  font-size: 0.7rem;
}

.btn-danger {
  border-color: var(--danger);
  color: var(--danger);
}

.btn-danger:hover {
  background: var(--danger-dim);
}

.btn-ghost {
  border: none;
  color: var(--text-secondary);
  padding: 8px 16px;
}

.btn-ghost:hover {
  color: var(--accent);
  background: var(--accent-dim);
}

.nav-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* Fixed nav-buttons für Step 1 (lange Board-Liste) */
.nav-buttons.fixed-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  margin-top: 0;
  padding: 16px 28px;
  padding-top: 24px;
  background: linear-gradient(180deg, transparent 0%, var(--bg-deep) 30%);
  border-top: none;
  z-index: 100;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Platz für fixierten Button am Ende der Board-Liste */
#step1 .board-list { padding-bottom: 70px; }

/* ============================================================
   FLASH UI
   ============================================================ */
.flash-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.flash-header {
  padding: 16px 20px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flash-controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 16px;
  padding: 20px;
}

.flash-option {
  padding: 0 20px 12px;
}

.flash-option .checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9em;
  color: var(--text-secondary, #888);
  cursor: pointer;
}

.flash-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.flash-progress {
  height: 6px;
  background: var(--bg-secondary);
  border-radius: 3px;
  margin: 0 20px 6px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.flash-progress-inner {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #22d3ee);
  width: 0%;
  transition: width 0.3s;
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(6,182,212,0.3);
}

.flash-progress-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 14px;
}

.flash-log {
  background: #000;
  border: 1px solid rgba(6,182,212,0.15);
  border-radius: var(--radius);
  padding: 14px;
  margin: 0 20px 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  height: 240px;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-all;
  color: #06B6D4;
  line-height: 1.5;
  box-shadow: inset 0 0 30px rgba(6,182,212,0.02);
}

/* ============================================================
   SERIAL CONSOLE
   ============================================================ */
.console-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.console-header {
  padding: 12px 20px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.console-header h3 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 500;
}

.serial-terminal {
  background: #000;
  padding: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  height: 300px;
  overflow-y: auto;
  white-space: pre-wrap;
  color: var(--accent);
  line-height: 1.5;
  box-shadow: inset 0 0 40px rgba(6,182,212,0.02);
}

.serial-input-row {
  display: flex;
  border-top: 1px solid var(--border);
}

.serial-input-row input {
  flex: 1;
  border: none;
  border-radius: 0;
  background: var(--bg-secondary);
  padding: 12px 16px;
  font-size: 0.8rem;
}

.serial-input-row input:focus { box-shadow: none; border-color: transparent; }

.serial-input-row button {
  border: none;
  border-radius: 0;
  border-left: 1px solid var(--border);
}

/* ============================================================
   SUMMARY
   ============================================================ */
.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 14px 0;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bg-card);
  font-size: 0.75rem;
}

.summary-label { color: var(--text-secondary); }
.summary-value { color: var(--accent); font-family: 'JetBrains Mono', monospace; font-weight: 500; }

/* ============================================================
   INFO BOXES
   ============================================================ */
.info-box {
  background: var(--bg-card);
  border-left: 3px solid var(--accent);
  padding: 14px 18px;
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin: 14px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  line-height: 1.6;
}

.info-box code {
  background: var(--bg-secondary);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.68rem;
  color: var(--accent);
}

/* ============================================================
   ALERTS
   ============================================================ */
.alert {
  display: none;
  padding: 12px 16px;
  background: var(--danger-dim);
  border: 1px solid rgba(255, 71, 87, 0.2);
  border-radius: var(--radius);
  color: var(--danger);
  font-size: 0.75rem;
  margin-bottom: 16px;
  align-items: center;
  gap: 8px;
}

.browser-warning {
  display: none;
  padding: 16px 20px;
  background: var(--warning-dim);
  border: 1px solid rgba(255,165,2,0.2);
  border-radius: var(--radius);
  color: var(--warning);
  font-size: 0.78rem;
  text-align: center;
  margin-bottom: 20px;
}

/* ============================================================
   VERSION SELECT
   ============================================================ */
.version-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.version-row label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
  margin-bottom: 0;
}

.version-row select {
  flex: 1;
  max-width: 300px;
}

/* ============================================================
   CHECKBOX
   ============================================================ */
.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
}

.checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  cursor: pointer;
}

.checkbox-row label {
  cursor: pointer;
  margin-bottom: 0;
}

/* ============================================================
   BOARD PREVIEW POPUP
   ============================================================ */
.board-preview {
  position: fixed;
  z-index: 1000;
  pointer-events: none;
  background: var(--bg-card);
  border: 1px solid var(--accent-border);
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.7), 0 0 30px rgba(6,182,212,0.08);
  opacity: 0;
  transition: opacity 0.2s ease;
  max-width: 260px;
}

.board-preview.visible { opacity: 1; }

.board-preview img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  max-height: 280px;
  object-fit: contain;
}

.board-preview-label {
  text-align: center;
  margin-top: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: var(--accent);
  font-weight: 600;
}

/* ============================================================
   COMMUNITY BANNER
   ============================================================ */
.community-banner {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: linear-gradient(135deg, rgba(41,169,235,0.08) 0%, rgba(6,182,212,0.04) 100%);
  border-bottom: 1px solid rgba(41,169,235,0.15);
  text-align: center;
}

.community-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  color: #29a9eb;
  filter: drop-shadow(0 0 8px rgba(41,169,235,0.3));
}

.community-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.community-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  font-weight: 600;
  color: #29a9eb;
  letter-spacing: 0.5px;
}

.community-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.community-banner a {
  color: #29a9eb;
  text-decoration: none;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(41,169,235,0.1);
  transition: all 0.2s;
}

.community-banner a:hover {
  color: #fff;
  background: #29a9eb;
  text-decoration: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 640px) {
  .board-grid { grid-template-columns: 1fr; }
  header h1 { font-size: 1rem; }
  .container { padding: 16px 12px 40px; }
  .form-row { grid-template-columns: 1fr; }
  .step-connector { width: 20px; }
  .step-labels { gap: 24px; }
  .summary-grid { grid-template-columns: 1fr; }
  .flash-controls { flex-direction: column; align-items: stretch; }
  .header-right { position: static; justify-content: center; margin-top: 8px; }
}
