.checkBtn {
  padding: 4px 10px;
  background: none;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.8125em;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.04em;
  transition: border-color 0.15s, color 0.15s;
}

.checkBtn:hover {
  border-color: var(--border-accent);
  color: var(--accent-gold);
}

/* ── Status text ─────────────────────────────────────────────────── */

.status {
  font-size: 0.75em;
  font-family: 'Cinzel', serif;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  padding: 4px 8px;
}

.ok {
  color: var(--accent-green, #4a8a4a);
}

.err {
  color: var(--accent-red, #8b3a3a);
  cursor: pointer;
}

/* ── Download progress ───────────────────────────────────────────── */

.downloadRow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
}

.downloadLabel {
  font-size: 0.75em;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-secondary);
  white-space: nowrap;
  min-width: 160px;
}

.progressBar {
  width: 120px;
  height: 6px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
  flex-shrink: 0;
}

.progressFill {
  height: 100%;
  background: var(--accent-gold);
  transition: width 0.15s ease;
  border-radius: 3px;
}

/* ── Update available banner ─────────────────────────────────────── */

.banner {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-accent);
  background: var(--bg-elevated);
  max-width: 420px;
}

.bannerRow {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
}

.bannerTitle {
  font-size: 0.8125em;
  font-family: 'Cinzel', serif;
  color: var(--accent-gold-bright);
  letter-spacing: 0.04em;
  flex: 1;
  white-space: nowrap;
}

.installBtn {
  padding: 3px 10px;
  background: var(--accent-gold);
  border: 1px solid var(--accent-gold);
  color: var(--bg-base);
  font-family: 'Cinzel', serif;
  font-size: 0.75em;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.15s;
  white-space: nowrap;
}

.installBtn:hover {
  background: var(--accent-gold-bright);
  border-color: var(--accent-gold-bright);
}

.toggleBtn,
.dismissBtn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 0.75em;
  padding: 2px 4px;
  line-height: 1;
  transition: color 0.15s;
}

.toggleBtn:hover,
.dismissBtn:hover {
  color: var(--accent-gold);
}

/* ── Release notes dropdown ──────────────────────────────────────── */

.notes {
  border-top: 1px solid var(--border);
  padding: 8px 10px;
  max-height: 140px;
  overflow-y: auto;
}

.notesText {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875em;
  color: var(--text-secondary);
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.5;
  margin: 0;
}
