/* Voxel Fight Night — shell styling. Replaced by the full UI pass. */
:root {
  color-scheme: dark;
  --ink: #f4f1ea;
  --ink-dim: #9a958c;
  --canvas: #07070d;
  --blood: #c1121f;
  --gold: #d6c06a;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: var(--canvas);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  overflow: hidden;
  overscroll-behavior: none;
  -webkit-text-size-adjust: 100%;
}

.app {
  position: relative;
  width: 100%;
  height: 100%;
  height: 100dvh;
}

.stage-wrap {
  position: absolute;
  inset: 0;
}

#stage {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
}

.ui-root {
  position: absolute;
  inset: 0;
  /* The overlay is transparent to the mouse by default so a click in the ring is
     a punch. Interactive chrome opts back in with pointer-events: auto. */
  pointer-events: none;
}

.render-failure[hidden] {
  display: none;
}

.render-failure {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 0.75rem;
  padding: 2rem;
  max-width: 42rem;
  margin: auto;
  text-align: center;
  background: rgba(7, 7, 13, 0.92);
}

.render-failure__detail {
  color: var(--ink-dim);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8rem;
}

.noscript {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  padding: 2rem;
  text-align: center;
}
