/* ============================================================
   Chrome — top + bottom brand bars, slide counter, keycaps,
   progress bar.
   ============================================================ */

.chrome {
  position: absolute;
  left: 0; right: 0;
  height: 44px;
  display: flex;
  align-items: center;
  padding: 0 32px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  z-index: 100;
}
.chrome.top    { top: 0; border-bottom: 1px solid var(--border); }
.chrome.bottom { bottom: 0; border-top: 1px solid var(--border); }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 600;
}
.brand-mark::before {
  content: '';
  width: 10px; height: 10px;
  background: var(--accent);
  display: inline-block;
}
.brand-sep { color: var(--border-3); }
.brand-tag { color: var(--text-dim); }

.chrome.top .right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.counter        { color: var(--text); font-weight: 600; }
.counter .of    { color: var(--text-muted); font-weight: 400; margin: 0 4px; }
.counter .total { color: var(--text-dim); }

.chrome.bottom .section-name { color: var(--text-dim); }
.chrome.bottom .right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-muted);
}

/* Keycap — used in both chrome and help overlay */
.kbd {
  display: inline-block;
  padding: 2px 7px;
  border: 1px solid var(--border-3);
  border-bottom-width: 2px;
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-2);
  background: var(--surface);
}

/* Progress bar — thin gradient line with accent glow */
#progress {
  position: absolute;
  left: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent) 60%, var(--accent-bright));
  box-shadow: 0 0 12px rgba(255,107,31,0.5);
  width: 0;
  z-index: 101;
  transition: width 240ms var(--ease);
}
