/* Winnow on the web: the unsupported-browser page (unsupported.js). Uses the UI tokens from
   css/app.css. Until DOMContentLoaded the UI body is hidden so it never flashes. */
html[data-unsupported] body > :not(.unsup) {
  display: none !important;
}

.unsup {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  box-sizing: border-box;
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter Variable", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.unsup-card {
  width: 100%;
  max-width: 440px;
  text-align: center;
}

.unsup-logo {
  display: block;
  margin: 0 auto 20px;
}

.unsup h1 {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 650;
  margin: 0 0 12px;
}

.unsup p {
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 12px;
}

.unsup .unsup-quiet {
  color: var(--muted);
  font-size: 14px;
}

.unsup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
}

.unsup-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--fg);
  font-size: 15px;
  font-weight: 550;
  text-decoration: none;
}

.unsup-btn:hover {
  background: var(--surface-2);
}

.unsup-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.unsup-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-fg);
}

.unsup-primary:hover {
  background: var(--accent);
  filter: brightness(1.05);
}
