/* ── Variables ── */
:root {
  --bg-base: #0d0f14;
  --bg-surface: #13161e;
  --bg-card: #1a1e28;
  --bg-hover: #1f2535;
  --border: #252a38;
  --border-light: #2e3447;
  --accent: #00d4aa;
  --accent-dim: rgba(0,212,170,0.12);
  --accent-glow: rgba(0,212,170,0.25);
  --green: #00d4aa;
  --red: #ff4d6a;
  --yellow: #f5c542;
  --blue: #4d9fff;
  --text-primary: #e8ecf5;
  --text-secondary: #7a8499;
  --text-muted: #4a5168;
  --font: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'SF Mono', 'Fira Code', 'Consolas', monospace;
}

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

body {
  font-family: var(--font);
  background: var(--bg-base);
  color: var(--text-primary);
  min-height: 100vh;
  font-size: 14px;
}

/* ── Login ── */
.login-overlay {
  position: fixed; inset: 0;
  background: var(--bg-base);
  display: flex; align-items: center; justify-content: center;
  z-index: 100;
}

.login-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 40px;
  width: 380px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}

.login-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 700;
  color: var(--accent);
  margin-bottom: 28px;
  letter-spacing: -0.3px;
}

.login-box h2 {
  font-size: 22px; font-weight: 600;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.login-hint {
  text-align: center;
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 12px;
}

.error-msg {
  background: rgba(255,77,106,0.12);
  color: var(--red);
  border: 1px solid rgba(255,77,106,0.3);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 12px;
  font-size: 13px;
}

/* ── Layout ── */
#dashboard {
  display: flex; min-height: 100vh;
}

.sidebar {
  width: 220px;
  background: var(--bg-surface);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  position: fixed; top: 0; left: 0; bottom: 0;
  z-index: 10;
}

.sidebar-logo {
  display: flex; align-items: center; gap: 10px;
  padding: 24px 20px 20px;
  font-size: 16px; font-weight: 700;
  color: var(--accent);
  border-bottom: 1px solid var(--border);
  letter-spacing: -0.3px;
}

nav {
  flex: 1; padding: 12px 0;
}

.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 20px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  transition: all 0.15s;
  border-left: 3px solid transparent;
}

.nav-item svg { width: 16px; height: 16px; flex-shrink: 0; }

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

.nav-item.active {
  color: var(--accent);
  background: var(--accent-dim);
  border-left-color: var(--accent);
}

.sidebar-user {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; color: var(--text-secondary);
}

.sidebar-user button {
  background: none; border: none; cursor: pointer;
  color: var(--text-muted);
  transition: color 0.15s;
}
.sidebar-user button:hover { color: var(--red); }
.sidebar-user button svg { width: 16px; height: 16px; display: block; }

.main-content {
  margin-left: 220px;
  flex: 1;
  padding: 28px 32px;
  max-width: calc(100vw - 220px);
  overflow-x: hidden;
}

/* ── Pages ── */
.page { display: none; }
.page.active { display: block; }

.page-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px; flex-wrap: wrap; gap: 12px;
}

.page-header h1 {
  font-size: 24px; font-weight: 700;
  letter-spacing: -0.5px;
}

.header-actions {
  display: flex; align-items: center; gap: 10px;
}

/* ── Cards ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

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

.card-header h3 {
  font-size: 14px; font-weight: 600;
  color: var(--text-primary);
}

/* ── KPI Grid ── */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

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

.kpi-label {
  font-size: 12px; font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
}

.kpi-value {
  font-size: 26px; font-weight: 700;
  letter-spacing: -0.5px;
  font-variant-numeric: tabular-nums;
  margin-bottom: 4px;
}

.kpi-sub {
  font-size: 12px; color: var(--text-secondary);
}

.kpi-sub.positive { color: var(--green); }
.kpi-sub.negative { color: var(--red); }

/* ── Chart ── */
.chart-card { margin-bottom: 20px; }

.chart-range {
  display: flex; gap: 4px;
}

.range-btn {
  background: none;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 5px 12px;
  color: var(--text-secondary);
  font-size: 12px; cursor: pointer;
  transition: all 0.15s;
}

.range-btn:hover { color: var(--text-primary); border-color: var(--accent); }
.range-btn.active {
  background: var(--accent-dim);
  color: var(--accent);
  border-color: var(--accent);
}

.chart-wrap {
  padding: 20px;
  height: 280px;
}

/* ── Two Column ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

/* ── Holdings ── */
.holdings-list { padding: 8px 0; }
.holding-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 20px;
  border-bottom: 1px solid var(--border);
}
.holding-row:last-child { border-bottom: none; }
.holding-asset { font-weight: 600; font-size: 14px; }
.holding-qty { color: var(--text-secondary); font-size: 13px; font-family: var(--mono); }
.holding-val { font-weight: 600; font-size: 14px; font-family: var(--mono); }

/* ── Trades Mini ── */
.trades-mini { padding: 0; max-height: 240px; overflow-y: auto; }
.trade-mini-row {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.trade-mini-row:last-child { border-bottom: none; }
.trade-side {
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
  padding: 2px 7px; border-radius: 4px;
  min-width: 38px; text-align: center;
}
.side-buy { background: rgba(0,212,170,0.15); color: var(--green); }
.side-sell { background: rgba(255,77,106,0.15); color: var(--red); }
.trade-pair { font-weight: 600; }
.trade-price { color: var(--text-secondary); font-family: var(--mono); margin-left: auto; }

/* ── Price Ticker ── */
.price-ticker {
  display: flex; flex-wrap: wrap; gap: 0;
}
.ticker-item {
  flex: 1; min-width: 140px;
  padding: 16px 20px;
  border-right: 1px solid var(--border);
}
.ticker-item:last-child { border-right: none; }
.ticker-pair { font-size: 12px; font-weight: 600; color: var(--text-muted); letter-spacing: 0.5px; margin-bottom: 4px; }
.ticker-price { font-size: 20px; font-weight: 700; font-family: var(--mono); letter-spacing: -0.5px; }

/* ── Trades Table ── */
.trades-table {
  width: 100%; border-collapse: collapse;
}
.trades-table th {
  padding: 12px 16px;
  text-align: left;
  font-size: 11px; font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border);
}
.trades-table td {
  padding: 12px 16px;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
  font-family: var(--mono);
}
.trades-table tr:last-child td { border-bottom: none; }
.trades-table tr:hover td { background: var(--bg-hover); }

/* ── Settings ── */
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.settings-form { padding: 20px; display: flex; flex-direction: column; gap: 16px; }

.settings-actions {
  display: flex; align-items: center; gap: 12px;
}

.settings-msg {
  font-size: 13px; padding: 4px 0;
}
.settings-msg.ok { color: var(--green); }
.settings-msg.err { color: var(--red); }

.strategy-info {
  background: var(--bg-surface);
  border-radius: 8px;
  padding: 14px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  border: 1px solid var(--border);
}

/* ── Log ── */
.log-container {
  padding: 12px;
  max-height: 600px;
  overflow-y: auto;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.7;
}
.log-entry { display: flex; gap: 12px; padding: 3px 8px; border-radius: 4px; }
.log-entry:hover { background: var(--bg-hover); }
.log-time { color: var(--text-muted); flex-shrink: 0; }
.log-level { font-weight: 700; flex-shrink: 0; min-width: 40px; }
.log-info .log-level { color: var(--blue); }
.log-warn .log-level { color: var(--yellow); }
.log-error .log-level { color: var(--red); }
.log-msg { color: var(--text-secondary); }

/* ── Shared Form ── */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 12px; font-weight: 500;
  color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.5px;
}
input, select {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--text-primary);
  font-size: 14px;
  font-family: var(--font);
  transition: border-color 0.15s;
  outline: none;
}
input:focus, select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
select option { background: var(--bg-card); }

/* ── Buttons ── */
button { cursor: pointer; font-family: var(--font); transition: all 0.15s; }

.btn-primary {
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 14px; font-weight: 600;
}
.btn-primary:hover { background: #00efc0; }

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 9px 18px;
  font-size: 13px; font-weight: 500;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

.btn-success {
  background: rgba(0,212,170,0.15);
  color: var(--green);
  border: 1px solid rgba(0,212,170,0.3);
  border-radius: 8px;
  padding: 9px 18px;
  font-size: 13px; font-weight: 600;
}
.btn-success:hover { background: rgba(0,212,170,0.25); }

.btn-danger {
  background: rgba(255,77,106,0.15);
  color: var(--red);
  border: 1px solid rgba(255,77,106,0.3);
  border-radius: 8px;
  padding: 9px 18px;
  font-size: 13px; font-weight: 600;
}
.btn-danger:hover { background: rgba(255,77,106,0.25); }

.btn-full { width: 100%; padding: 12px; }

/* ── Badges ── */
.badge {
  font-size: 11px; font-weight: 700; letter-spacing: 0.8px;
  padding: 4px 10px; border-radius: 6px;
  text-transform: uppercase;
}
.badge-sim { background: rgba(77,159,255,0.15); color: var(--blue); border: 1px solid rgba(77,159,255,0.3); }
.badge-live { background: rgba(255,77,106,0.15); color: var(--red); border: 1px solid rgba(255,77,106,0.3); }

.empty-state {
  padding: 32px; text-align: center;
  color: var(--text-muted); font-size: 13px;
}

/* ── Responsive ── */
@media (max-width: 1200px) {
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .sidebar { width: 60px; }
  .sidebar-logo span, .nav-item span, .sidebar-user span { display: none; }
  .main-content { margin-left: 60px; padding: 20px 16px; }
  .settings-grid, .two-col { grid-template-columns: 1fr; }
}

/* ── Optimizer Page ── */
.opt-banner {
  display: flex; align-items: center; gap: 14px;
  background: rgba(245,197,66,0.08);
  border: 1px solid rgba(245,197,66,0.25);
  border-radius: 10px;
  padding: 14px 20px;
  margin-bottom: 20px;
  color: var(--yellow);
  font-size: 14px;
}

.opt-spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(245,197,66,0.3);
  border-top-color: var(--yellow);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  flex-shrink: 0;
}

@keyframes spin { to { transform: rotate(360deg); } }

.section-title {
  font-size: 11px; font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.6px;
  margin-bottom: 12px;
}

.params-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px;
  margin-bottom: 4px;
}

.param-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
}

.param-card-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}

.param-card-title {
  font-weight: 700; font-size: 14px;
}

.param-card-meta {
  display: flex; align-items: center; gap: 8px;
}

.gen-badge {
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 11px; font-weight: 600;
  padding: 2px 8px; border-radius: 4px;
}

.fitness-pill {
  font-size: 12px; font-weight: 600;
  font-family: var(--mono);
}

.param-rows { display: flex; flex-direction: column; gap: 6px; }

.param-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
  font-size: 12.5px;
}

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

.param-name { color: var(--text-secondary); }

.param-val {
  font-family: var(--mono); font-weight: 600;
  color: var(--text-primary);
}

.param-bar-wrap {
  display: flex; align-items: center; gap: 8px;
  flex: 1; margin: 0 10px;
}

.param-bar-bg {
  flex: 1; height: 3px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.param-bar-fill {
  height: 100%; border-radius: 2px;
  background: var(--accent);
  transition: width 0.5s ease;
}

/* Weights display */
.weights-row {
  display: flex; gap: 6px; flex-wrap: wrap;
}

.weight-chip {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11px; font-family: var(--mono);
  color: var(--text-secondary);
}

.weight-chip span { color: var(--accent); font-weight: 700; }

/* Trade quality table */
.tq-table { padding: 8px 0; }
.tq-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.tq-row:last-child { border-bottom: none; }
.tq-pair { font-weight: 600; min-width: 80px; }
.tq-side { min-width: 40px; }
.tq-quality { font-family: var(--mono); font-weight: 700; min-width: 60px; }
.tq-bar { flex: 1; height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; }
.tq-bar-fill { height: 100%; border-radius: 2px; }
.tq-count { color: var(--text-muted); font-size: 11px; }

.bt-metrics-inline {
  display: flex; gap: 12px; font-size: 12px; font-family: var(--mono);
}
.bt-metric { color: var(--text-secondary); }
.bt-metric span { font-weight: 700; color: var(--text-primary); }

.small-select {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 5px 10px;
  color: var(--text-primary);
  font-size: 12px;
}

.nav-badge {
  background: var(--yellow);
  color: #000;
  font-size: 9px; font-weight: 800;
  padding: 1px 5px; border-radius: 4px;
  margin-left: auto;
}

.no-data { padding: 28px; text-align: center; color: var(--text-muted); font-size: 13px; }

/* ── AI / LSTM Page ── */
.ai-warning {
  background: rgba(245,197,66,0.08);
  border: 1px solid rgba(245,197,66,0.3);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 20px;
  color: var(--yellow);
  font-size: 14px;
  line-height: 1.6;
}
.ai-warning code {
  background: rgba(245,197,66,0.15);
  padding: 2px 8px; border-radius: 4px;
  font-family: var(--mono); font-size: 13px;
}

/* Model status cards */
.ai-model-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; }
.ai-model-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.ai-model-title { font-weight: 700; font-size: 15px; }
.ai-status-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.ai-status-dot.trained { background: var(--green); box-shadow: 0 0 6px var(--green); }
.ai-status-dot.untrained { background: var(--text-muted); }
.ai-model-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ai-stat { background: var(--bg-surface); border-radius: 8px; padding: 10px 12px; }
.ai-stat-label { font-size: 10px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.ai-stat-val { font-family: var(--mono); font-weight: 700; font-size: 16px; }
.ai-train-actions { margin-top: 14px; display: flex; gap: 8px; }

/* Prediction display */
.ai-pred-display { padding: 20px; min-height: 220px; }
.pred-main { text-align: center; padding: 20px 0; }
.pred-signal { font-size: 36px; font-weight: 800; letter-spacing: -1px; margin-bottom: 8px; }
.pred-conf { font-size: 13px; color: var(--text-secondary); margin-bottom: 24px; }
.pred-bars { display: flex; flex-direction: column; gap: 10px; }
.pred-bar-row { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.pred-bar-label { width: 60px; color: var(--text-secondary); }
.pred-bar-track { flex: 1; height: 8px; background: var(--border); border-radius: 4px; overflow: hidden; }
.pred-bar-fill { height: 100%; border-radius: 4px; transition: width 0.5s ease; }
.pred-bar-pct { width: 40px; text-align: right; font-family: var(--mono); font-weight: 600; }

/* Architecture diagram */
.ai-arch { padding: 20px; }
.arch-flow {
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap; margin-bottom: 20px;
}
.arch-box {
  border-radius: 10px; padding: 12px 14px;
  min-width: 120px; flex: 1;
}
.arch-input  { background: rgba(77,159,255,0.1); border: 1px solid rgba(77,159,255,0.3); }
.arch-lstm   { background: rgba(0,212,170,0.1); border: 1px solid rgba(0,212,170,0.3); }
.arch-dense  { background: rgba(245,197,66,0.1); border: 1px solid rgba(245,197,66,0.3); }
.arch-output { background: rgba(255,77,106,0.1); border: 1px solid rgba(255,77,106,0.3); }
.arch-label { font-weight: 700; font-size: 13px; margin-bottom: 4px; }
.arch-detail { font-size: 11px; color: var(--text-secondary); margin-bottom: 4px; }
.arch-feat-list { font-size: 10px; color: var(--text-muted); line-height: 1.5; }
.arch-arrow { color: var(--text-muted); font-size: 20px; flex-shrink: 0; }
.arch-note {
  background: var(--bg-surface); border-radius: 8px; padding: 14px 16px;
  font-size: 13px; color: var(--text-secondary); line-height: 1.7;
  border: 1px solid var(--border);
}

/* ── API Settings ── */
.api-info-box {
  background: var(--accent-dim);
  border: 1px solid rgba(0,212,170,0.25);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.field-hint {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

textarea {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--text-primary);
  font-size: 13px;
  font-family: var(--mono);
  width: 100%;
  outline: none;
  transition: border-color 0.15s;
}
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.connection-ok {
  background: rgba(0,212,170,0.1);
  border: 1px solid rgba(0,212,170,0.3);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--green);
  font-size: 13px;
  margin-top: 8px;
}

.connection-err {
  background: rgba(255,77,106,0.1);
  border: 1px solid rgba(255,77,106,0.3);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--red);
  font-size: 13px;
  margin-top: 8px;
}

/* ── Kurschart ── */
.chart-legend {
  display: flex; align-items: center; gap: 20px;
  margin-bottom: 12px; flex-wrap: wrap;
}
.legend-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--text-secondary);
}
.legend-dot {
  width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
}
.legend-triangle {
  width: 0; height: 0; flex-shrink: 0;
}
.legend-triangle.buy {
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 10px solid var(--green);
}
.legend-triangle.sell {
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 10px solid var(--red);
}

/* ── P&L Page ── */
.pnl-pair-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 20px; border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.pnl-pair-row:last-child { border-bottom: none; }
.pnl-pair-name { font-weight: 700; min-width: 80px; }
.pnl-pair-stats { color: var(--text-muted); font-size: 12px; flex: 1; }
.pnl-pair-amount { font-family: var(--mono); font-weight: 700; font-size: 15px; min-width: 90px; text-align: right; }
.pnl-bar-track { flex: 1; height: 5px; background: var(--border); border-radius: 3px; overflow: hidden; margin: 0 10px; }
.pnl-bar-fill  { height: 100%; border-radius: 3px; }

/* ── Fee Settings ── */
.fee-info-box {
  background: rgba(245,197,66,0.08);
  border: 1px solid rgba(245,197,66,0.2);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.fee-example {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--mono);
  line-height: 1.8;
  min-height: 20px;
}

/* Training status dot */
.ai-status-dot.training {
  background: var(--yellow);
  box-shadow: 0 0 6px var(--yellow);
  animation: pulse-yellow 1s ease-in-out infinite;
}
@keyframes pulse-yellow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
