/* V5 — pequenos ajustes visuais sem substituir o tema principal */

body.dark {
  color-scheme: dark;
  background:
    radial-gradient(circle at 10% -10%, rgba(224,178,111,.12), transparent 35%),
    linear-gradient(180deg, var(--bg), #131d1a 55%, var(--bg));
}

#themeQuickToggle {
  font-size: 1.25rem;
  line-height: 1;
}

.update-banner {
  position: fixed;
  z-index: 55;
  top: calc(82px + env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 28px), 620px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
}

.update-banner[hidden] {
  display: none;
}

.update-banner span {
  font-weight: 800;
}

.update-banner .button {
  min-height: 42px;
  padding: .55rem .9rem;
  flex: 0 0 auto;
}

@media (max-width: 520px) {
  .update-banner {
    align-items: stretch;
    flex-direction: column;
  }

  .update-banner .button {
    width: 100%;
  }
}
