/* ── Top bar (logged in): context + icon-only buttons ── */

.top-bar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px 4px 16px;
  background: #ece8d4;
}

.tb-icon {
  flex: 0 0 40px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #aaa;
  cursor: pointer;
  transition: color 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.tb-icon:hover { color: #333; }
.tb-icon.active { color: #1a1a1a; }
.tb-icon svg { width: 20px; height: 20px; }
.tb-icon:first-of-type { margin-left: auto; }

/* ── Inline language picker (no overlay!) ── */

.lang-row {
  flex-shrink: 0;
  background: #f0ead6;
  border-bottom: 1px solid #ddd8c4;
  padding: 6px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lang-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  padding: 9px 8px;
  border-radius: 10px;
  font-size: 0.86rem;
  color: #555;
  cursor: pointer;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}
.lang-opt:hover { background: rgba(0, 0, 0, 0.05); }
.lang-opt.selected { color: #1a1a1a; font-weight: 600; }

.lang-flag { font-size: 1.05rem; }
.lang-name { flex: 1; }
.lang-check { color: #1a1a1a; font-weight: 700; width: 16px; text-align: center; }
