/* Provisoire et sobre : la charte arrive de Claude Design. */
:root {
  --fond: #0e0f13;
  --texte: #f2f3f5;
  --doux: #9a9ca5;
  --rouge: #ff5a5f;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--fond);
  color: var(--texte);
  font: 17px/1.45 -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  -webkit-text-size-adjust: 100%;
}

main {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: max(24px, env(safe-area-inset-top)) 16px max(24px, env(safe-area-inset-bottom));
  text-align: center;
}

h1 { margin: 0; font-size: 28px; font-weight: 700; letter-spacing: -0.01em; }

.ligne { margin: 0 0 16px; color: var(--doux); }

.bouton-google { min-height: 44px; }

.erreur {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 360px;
  padding: 12px 14px;
  border: 1px solid var(--rouge);
  border-radius: 12px;
  color: var(--rouge);
  text-align: left;
}

button {
  font: inherit;
  cursor: pointer;
  border-radius: 999px;
}

.copier {
  flex: none;
  padding: 6px 12px;
  border: 1px solid currentColor;
  background: none;
  color: inherit;
  font-size: 15px;
}

.retour {
  margin-top: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--texte);
  color: var(--fond);
  font-weight: 600;
  text-decoration: none;
}

.pied { position: fixed; bottom: max(24px, env(safe-area-inset-bottom)); }

.discret {
  padding: 10px 16px;
  border: 0;
  background: none;
  color: var(--doux);
  font-size: 15px;
}
