/* Page du raccourci qui suit la borne : les couleurs de Cyber Pinball (app/renderer/theme.css). */
:root {
  --void: #030807;
  --surface: #07110f;
  --line-strong: #24504a;
  --ink: #e6f0ec;
  --ink-muted: #9bada7;
  --signal: #8be23a;
  --signal-haze: rgba(139, 226, 58, 0.28);
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--void);
  color: var(--ink);
  font-family: 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
}
main {
  max-width: 420px;
  margin: 0 auto;
  padding: max(48px, env(safe-area-inset-top)) 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.mark {
  border-radius: 18px;
}
h1 {
  font-size: 22px;
  line-height: 1.3;
  margin: 8px 0 0;
}
p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 16px;
  line-height: 1.5;
  white-space: pre-line;
}
#actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}
button {
  min-height: 52px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 17px;
}
button.primary {
  border-color: var(--signal);
  background: var(--signal);
  color: var(--void);
  font-weight: 600;
}
button:focus-visible {
  outline: 3px solid var(--signal-haze);
  outline-offset: 2px;
}
/* Recherche en cours : un trait lumineux sous le texte. */
body[data-busy='1'] p::after {
  content: '';
  display: block;
  width: 64px;
  height: 3px;
  margin: 20px auto 0;
  border-radius: 2px;
  background: var(--signal);
  animation: veille 1.2s ease-in-out infinite alternate;
}
@keyframes veille {
  from {
    opacity: 0.25;
    transform: scaleX(0.5);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  body[data-busy='1'] p::after {
    animation: none;
  }
}
