/* Full-bleed canvas, black; a small caption in the bottom-left corner. */

html,
body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: #000;
  color: #8fe6a6;
  font: 12px/1.35 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

#rain {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

#caption {
  position: fixed;
  left: max(10px, env(safe-area-inset-left, 0px));
  bottom: max(10px, env(safe-area-inset-bottom, 0px));
  max-width: calc(100% - 20px);
  margin: 0;
  padding: 5px 9px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.72);
  box-shadow: 0 0 0 1px rgba(80, 200, 120, 0.18);
  pointer-events: none;
}

#caption:empty {
  display: none;
}

#caption span {
  display: block;
}

#caption .set {
  color: #b8f5c8;
}

#caption .note {
  color: #e7c873;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.noscript {
  position: fixed;
  inset: 40% 0 auto;
  text-align: center;
  font-size: 16px;
}
