
:root {
  color-scheme: dark;
  --font-family: "JetBrains Mono", Consolas, "Courier New", monospace;
  font-family: var(--font-family);
}

html,
body {
  margin: 0;
  width: 100%;
  min-height: 100%;
  background: #000;
  color: #fff;
  overflow: hidden;
  cursor: none;
  font-family: var(--font-family);
}

body {
  min-height: 100vh;
}

/* The game view: one WebGL canvas (render-webgl.js) fills this element. */
.scene {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  cursor: none;
}

/* The loading screen (plan 047): a black page with a thin bar in the center, shown on every page load until the game is ready. */
.loading-screen {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.loading-screen.is-done {
  opacity: 0;
}

.loading-screen-bar {
  width: 240px;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
}

.loading-screen-fill {
  height: 100%;
  width: 0;
  background: #ffffff;
  transition: width 150ms linear;
}

/* The pause screen (plan 055, settings in plan 059): dims the game, shows one word and the sensitivity setting. Hidden unless the game is paused. */
.pause-screen {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  pointer-events: none;
}

.pause-screen.is-visible {
  display: flex;
  pointer-events: auto;
  cursor: default;
}

.pause-title {
  font-size: 32px;
}

.pause-panel {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.5);
  font-size: 14px;
}

.pause-panel select,
.pause-panel input {
  font: inherit;
  color: #fff;
  background: #111;
  border: none;
  padding: 6px 8px;
}

.pause-panel input {
  width: 110px;
}

.pause-lifetime {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 14px;
}

.pause-lifetime-label {
  color: rgba(255, 255, 255, 0.6);
}

.flick-debug-readout {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  margin: 0;
  padding: 0;
  color: #666;
  font-family: var(--font-family);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.45;
  white-space: pre;
  pointer-events: none;
  user-select: none;
}

.flick-debug-readout[hidden] {
  display: none;
}
