#offline-status[hidden] { display: none !important; }
.offline-status {
  box-sizing: border-box;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 10px clamp(14px, 4vw, 34px);
  border-bottom: 1px solid #c7d2fe;
  background: #eef2ff;
  color: #312e81;
  font: 600 var(--zkl-font-14, 14px)/1.45 "Manrope", Inter, "Segoe UI", sans-serif;
}
.offline-status p { margin: 0; }
.offline-status button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 7px 13px;
  border: 1px solid #4f46e5;
  border-radius: 9px;
  background: #4f46e5;
  color: #fff;
  font: inherit;
  font-size: var(--zkl-font-13, 13px);
  cursor: pointer;
}
.offline-status button:focus-visible { outline: 3px solid #818cf8; outline-offset: 3px; }
.offline-status button:disabled { opacity: .72; cursor: wait; }
html[data-theme="dark"] .offline-status {
  border-bottom-color: #51458d;
  background: #191d35;
  color: #e3e5ff;
}
html[data-theme="dark"] .offline-status button {
  border-color: #818cf8;
  background: #818cf8;
  color: #111329;
}
@media (max-width: 540px) {
  .offline-status { align-items: flex-start; justify-content: space-between; gap: 10px; padding: 10px 14px; font-size: var(--zkl-font-13, 13px); }
  .offline-status button { min-height: 40px; padding: 6px 10px; font-size: var(--zkl-font-12, 12px); }
}
