
section.tbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding: 12px 16px;
  border: 1px solid var(--brass);
  border-radius: var(--radius, 14px);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--brass) 8%, transparent), transparent 60%),
    var(--panel);
}
section.tbar[hidden] { display: none; }
.tbar .tbar__offer {
  flex: 1 1 320px;
  min-width: 0;
  max-width: none;
  margin: 0;
  color: var(--text);
  font: 700 1rem/1.3 var(--display), sans-serif;
}
.tbar .tbar__then {
  color: var(--muted);
  font: 400 0.85rem/1.4 var(--ui), sans-serif;
}
.tbar .tbar__do {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  width: auto;
  margin: 0;
}
.tbar .upg__go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  text-align: center;
  white-space: nowrap;
}
.tbar .upg__signin { color: var(--muted); font-size: 0.9rem; white-space: nowrap; }
.tbar .upg__signin:hover { color: var(--text); }


@media (max-width: 640px) {
  section.tbar { padding: 12px 14px; }
  .tbar .tbar__offer { flex: 1 1 100%; }
  .tbar .tbar__then { display: block; margin: 2px 0 0; }
  .tbar .tbar__do { flex: 1 1 100%; flex-wrap: wrap; gap: 8px 10px; }
  .tbar .upg__go { flex: 1 1 auto; }
  .tbar .upg__go:first-child { flex: 1 1 100%; }
}
