#cloud-sync-gate:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background: var(--background, #f7f7f5);
  color: var(--text, #222);
  font-family: inherit;
}

.cloud-sync-card {
  width: min(360px, calc(100vw - 40px));
  padding: 30px;
  border: 1px solid #8884;
  border-radius: 16px;
  background: var(--surface, #fff);
  box-shadow: 0 16px 50px #0002;
  text-align: center;
}

.cloud-sync-card strong { font-size: 1.5rem; }
.cloud-sync-card .misho-loading-flower { width: 2rem; height: 2rem; margin: 0 auto 0.75rem; }
.cloud-sync-card p { line-height: 1.5; }
.cloud-sync-card button {
  padding: 9px 20px;
  border: 0;
  border-radius: 8px;
  background: #7726d8;
  color: #fff;
  cursor: pointer;
}

#cloud-sync-status:not([hidden]) {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 9000;
  max-width: min(380px, calc(100vw - 28px));
  padding: 8px 12px;
  border-radius: 8px;
  background: #29262f;
  color: #fff;
  font: 13px/1.4 system-ui, sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
}
#cloud-sync-status[hidden] { display: none; }
#cloud-sync-status .misho-loading-flower { width: 16px; height: 16px; }
.misho-loading-flower[hidden] { display: none; }

#cloud-sync-status[data-kind="offline"] { background: #714b00; }
