/* Charte commune : bleu nuit et jaune, l'ambiance plateau télé. */
:root {
  --navy: #071237;
  --blue: #12308c;
  --blue-light: #2457e6;
  --yellow: #ffd60a;
  --white: #ffffff;
  --muted: #a9b6e0;
  --green: #30d158;
  --red: #ff3b30;
  --grey: #4a5578;
  --radius: 18px;
  --font: ui-rounded, 'SF Pro Rounded', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font);
  color: var(--white);
  background: radial-gradient(120% 90% at 50% 0%, var(--blue) 0%, var(--navy) 70%) fixed;
  background-color: var(--navy);
  -webkit-font-smoothing: antialiased;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.dot {
  display: inline-block;
  width: 0.6em;
  height: 0.6em;
  border-radius: 50%;
  background: var(--grey);
}

.dot.on {
  background: var(--green);
  box-shadow: 0 0 0.6em var(--green);
}

/* Saisie du code d'accès (grand écran et télécommande en mode hébergé). */
.access {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: min(100% - 32px, 420px);
  margin: 12vh auto 0;
}
.access h1 {
  margin: 0;
  color: var(--yellow);
}
.access label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.access input,
.access button {
  padding: 14px 16px;
  font: inherit;
  border: 0;
  border-radius: var(--radius);
}
.access button {
  font-weight: 800;
  color: var(--navy);
  background: var(--yellow);
}
