/* The launcher page: the shell's palette (platform/web/src/shell.css).
 * System fonts only, nothing from the network. */
:root {
  --bg: #071a12;
  --bg-2: #0d2a1e;
  --ink: #f4f1e8;
  --ink-dim: #b9c4bd;
  --accent: #e8c15a;
  --accent-ink: #2a2108;
  --ok: #5fd68f;
  --bad: #ff9b85;
  --warn: #f0913a;
  --panel: #08170f;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { min-height: 100%; }
body {
  margin: 0; color: var(--ink);
  background: radial-gradient(ellipse at 50% 35%, var(--bg-2) 0%, var(--bg) 70%) fixed;
  background-color: var(--bg);
}
.page { min-height: 100vh; padding: 16px; display: grid; align-content: center; justify-items: center; gap: 12px; }
.page > * { width: min(100%, 32rem); }
.panel {
  background: var(--panel); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 14px;
  padding: 24px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  display: grid; gap: 16px;
}
h1 { margin: 0; font-size: 2rem; color: var(--accent); letter-spacing: 0.02em; }
.sub { margin: -8px 0 0; color: var(--ink-dim); line-height: 1.45; }
.games { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.game {
  display: flex; align-items: center; gap: 12px; justify-content: space-between;
  padding: 12px 14px; border-radius: 10px; background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.game > div { display: grid; gap: 2px; min-width: 0; }
.game b { font-size: 1.1rem; }
.game small { color: var(--ink-dim); line-height: 1.35; }
.game.soon b { color: var(--ink-dim); }
.btn {
  font: inherit; font-weight: 600; padding: 0.55rem 1rem; white-space: nowrap;
  border: 1px solid transparent; border-radius: 8px; cursor: pointer; color: var(--ink);
  background: rgba(255, 255, 255, 0.1);
}
.btn:hover:not(:disabled) { filter: brightness(1.12); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn:disabled { cursor: not-allowed; opacity: 0.5; }
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.neutral { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.18); }
#retry { justify-self: start; }
.status { margin: 0; display: flex; align-items: center; gap: 10px; color: var(--ink-dim); }
.dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--ink-dim); }
.status.ok .dot { background: var(--ok); }
.status.off .dot { background: rgba(255, 255, 255, 0.3); }
.status.bad { color: var(--bad); }
.status.bad .dot { background: var(--bad); }
.status.wait .dot { background: var(--warn); animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.3; } }
@media (prefers-reduced-motion: reduce) { .status.wait .dot { animation: none; } }
.foot { margin: 0; text-align: center; color: var(--ink-dim); font-size: 0.82rem; }
