.tr-update-banner {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 99999;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 10px 16px;
  border-radius: 12px;
  background: #ffffff;
  color: #18191c;
  border: 1px solid #066a49;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 13px;
  line-height: 1.35;
  max-width: calc(100vw - 32px);
}
[data-theme="dark"] .tr-update-banner {
  background: #1e2023;
  color: #f3f4f6;
  border-color: #10b981;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .tr-update-banner {
    background: #1e2023;
    color: #f3f4f6;
    border-color: #10b981;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  }
}
.tr-update-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #066a49;
  flex-shrink: 0;
}
[data-theme="dark"] .tr-update-dot {
  background: #10b981;
}
.tr-update-text {
  font-weight: 500;
}
.tr-update-ver {
  opacity: 0.7;
  margin-left: 4px;
  font-weight: 400;
}
.tr-update-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.tr-update-btn-primary {
  border: 0;
  border-radius: 8px;
  background: #066a49;
  color: #ffffff;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.tr-update-btn-primary:hover {
  background: #05583d;
}
.tr-update-btn-ghost {
  border: 1px solid rgba(107, 114, 128, 0.35);
  border-radius: 8px;
  background: transparent;
  color: inherit;
  padding: 5px 10px;
  font-size: 12px;
  cursor: pointer;
}
.tr-update-btn-ghost:hover {
  background: rgba(107, 114, 128, 0.12);
}