* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
  color: #c8ffd4;
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Menlo, monospace;
}
#c {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  touch-action: none;
  z-index: 0;
  background: #02040a;
}
#ui {
  position: fixed; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(ellipse at center, rgba(0,20,40,0.45), rgba(0,0,0,0.72));
  z-index: 2;
  transition: opacity 0.35s ease;
}
#ui.hidden {
  opacity: 0;
  pointer-events: none;
}
.panel {
  max-width: 22rem;
  padding: 1.5rem 1.75rem;
  border: 1px solid rgba(80,255,140,0.35);
  background: rgba(0, 12, 20, 0.88);
  box-shadow: 0 0 40px rgba(40,200,120,0.15);
  text-align: center;
}
h1 {
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #7dffb0;
  text-shadow: 0 0 12px rgba(80,255,140,0.5);
}
.sub { margin-top: 0.35rem; opacity: 0.7; font-size: 0.8rem; }
.note {
  margin: 1rem 0 1.25rem;
  font-size: 0.75rem;
  line-height: 1.5;
  opacity: 0.85;
  color: #a8d4c0;
}
#start {
  appearance: none;
  border: 1px solid #5fff9a;
  background: linear-gradient(180deg, #1a4a30, #0a2018);
  color: #b8ffd0;
  font: inherit;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  padding: 0.7rem 1.6rem;
  cursor: pointer;
  border-radius: 2px;
}
#start:hover { background: linear-gradient(180deg, #246040, #0e3020); }
#start:active { transform: translateY(1px); }
.status { margin-top: 0.85rem; font-size: 0.7rem; opacity: 0.65; min-height: 1.2em; }
.links { margin-top: 1rem; font-size: 0.7rem; opacity: 0.55; }
.links a { color: #7dffb0; }
#hud {
  position: fixed; left: 8px; bottom: 8px;
  font-size: 11px; opacity: 0.7; z-index: 3;
  text-shadow: 0 0 4px #000;
  color: #9fefc0;
  pointer-events: none;
}
