.build-version-button {
  display: block;
  width: 100%;
  margin: 8px 0 0;
  padding: 8px 6px;
  border: 0;
  background: transparent;
  color: #9fb0d4;
  font: 600 11px/1.35 "DM Sans", sans-serif;
  text-align: left;
  cursor: pointer;
}
.build-version-button:hover,
.build-version-button:focus-visible {
  color: #e7edfb;
  text-decoration: underline;
}
.build-version-button.build-mismatch { color: #ffd76a; }
#menuBuildVersion { display: none; }
#sidebarBuildVersion { margin-top: 10px; }
#syncBuildVersion,
#profileBuildVersion {
  margin: 16px 0 0;
  padding: 8px 0;
  color: var(--muted);
  font-size: 12px;
}
.build-update-banner {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  background: #3b2a08;
  color: #ffe7b0;
  font-size: 13px;
  font-weight: 700;
}
.build-update-banner[hidden] { display: none !important; }
.build-update-banner button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #ffd76a;
  border-radius: 8px;
  background: #ffd76a;
  color: #17213b;
  font-weight: 800;
  cursor: pointer;
}
.build-info-dialog {
  width: min(440px, calc(100% - 24px));
  padding: 22px;
  border: 1px solid var(--line, #d8e0f5);
  border-radius: 18px;
  background: var(--card, #fff);
  color: var(--ink, #17213b);
}
.build-info-dialog h2 { margin: 0 0 8px; font: 800 22px Manrope, sans-serif; }
.build-info-dialog p { margin: 0 0 14px; color: var(--muted, #66708a); font-size: 14px; line-height: 1.5; }
.build-info-dialog dl { display: grid; gap: 10px; margin: 0 0 16px; }
.build-info-dialog dt { font-size: 11px; font-weight: 800; letter-spacing: .04em; color: var(--muted, #66708a); text-transform: uppercase; }
.build-info-dialog dd { margin: 3px 0 0; font-weight: 650; overflow-wrap: anywhere; }
.build-info-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.build-info-actions button { min-height: 44px; }
@media (max-width: 720px) {
  #sidebarBuildVersion { display: none; }
  #menuBuildVersion {
    display: block;
    grid-column: 1 / -1;
    min-height: 44px;
    margin-top: 4px;
    padding: 10px 12px;
    color: #c5d2ee;
    text-align: center;
  }
}
body[data-theme="midnight"] .build-version-button { color: #aeb5d0; }
body[data-theme="sunset"] .build-version-button { color: #f0d0dc; }
