* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none;
  -webkit-user-select: none;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #040405;
  color: #cfcfcf;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

#stage {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: radial-gradient(circle at 50% 48%, #121215 0%, #050506 68%, #010102 100%);
}

#gl-canvas,
#fx-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

#fx-canvas {
  pointer-events: none;
  z-index: 5;
}

#bezel-hud {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 18px;
  background: linear-gradient(to top, rgba(4, 4, 5, 0.92), rgba(4, 4, 5, 0.35), transparent);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #7c7c82;
}

.bezel-left {
  display: flex;
  align-items: baseline;
  gap: 10px;
  white-space: nowrap;
}

.bezel-left .brand {
  color: #e4e4e7;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.bezel-left .sub {
  font-size: 10px;
  color: #55555c;
}

.bezel-center {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  color: #8b8b92;
}

.bezel-center kbd {
  display: inline-block;
  padding: 1px 5px;
  border: 1px solid #3f3f46;
  border-bottom-width: 2px;
  border-radius: 3px;
  background: #141417;
  color: #e4e4e7;
  font-family: inherit;
  font-size: 10px;
}

.bezel-right {
  display: flex;
  gap: 8px;
  white-space: nowrap;
}

.bezel-right button {
  background: #121215;
  color: #d4d4d8;
  border: 1px solid #34343a;
  border-radius: 3px;
  padding: 3px 9px;
  font-family: inherit;
  font-size: 10px;
  letter-spacing: 0.09em;
  cursor: pointer;
  transition: border-color 120ms ease, color 120ms ease, background 120ms ease;
}

.bezel-right button:hover {
  border-color: #a1a1aa;
  color: #ffffff;
  background: #1c1c20;
}

.bezel-right button.off {
  color: #62626a;
  border-color: #242429;
}

@media (max-width: 820px) {
  .bezel-left .sub {
    display: none;
  }
  .bezel-center {
    display: none;
  }
}
