.topbar { height: auto; min-height: 77px; padding-top: 13px; padding-bottom: 13px; flex-wrap: wrap; row-gap: 12px; }
.topbar .topbar-right { gap: 16px !important; min-width: 0; }
.device-status { display: flex; align-items: center; gap: 19px; min-width: 0; }
.device-clock { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; min-width: 108px; color: var(--text); }
.device-clock time { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; line-height: 1.35; letter-spacing: .1px; }
.device-clock small { font-size: 10px; line-height: 1.5; color: var(--muted); white-space: nowrap; }
.device-battery { display: flex; align-items: center; gap: 7px; color: var(--secondary, var(--accent)); border-left: 1px solid var(--line); padding-left: 17px; min-height: 29px; }
.battery-icon { height: 17px; width: 27px; flex-shrink: 0; overflow: visible; }
.battery-fill { fill: currentColor; stroke: none; }
.battery-unknown { display: none; }
.battery-unavailable { color: var(--muted); }
.battery-unavailable .battery-unknown { display: block; }
.battery-low { color: #ffad92; }
.battery-reading { display: flex; align-items: center; gap: 4px; white-space: nowrap; }
#battery-text { font-size: 12px; font-variant-numeric: tabular-nums; font-weight: 500; }
.battery-unavailable #battery-text { font-size: 11px; font-weight: 400; }
.charging-bolt { width: 11px; height: 15px; fill: currentColor; }

@media (max-width: 1180px) {
  .topbar .preview-tag, .topbar .profile-icon { display: none; }
  .topbar .topbar-right { margin-left: auto; }
}
@media (max-width: 720px) {
  .topbar { min-height: 64px; }
  .device-status { gap: 12px; }
  .device-clock { min-width: 101px; }
  .device-clock time { font-size: 12px; }
  .device-clock small { font-size: 10px; }
  .device-battery { padding-left: 11px; }
}
@media (max-width: 560px) {
  .topbar { align-items: flex-start; row-gap: 10px; }
  .topbar > div:first-child { flex-basis: 100%; }
  .topbar .topbar-right { margin-left: 0; width: 100%; }
  .device-status { width: 100%; justify-content: space-between; gap: 9px; }
  .device-clock { align-items: flex-start; min-width: 100px; }
  .device-battery { padding-left: 10px; }
}
