:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #06080d;
  color: #f8fbff;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

canvas {
  display: block;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 4;
  display: grid;
  align-items: end;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 8, 13, 0.1), rgba(6, 8, 13, 0.82));
}

.panel {
  width: min(720px, calc(100vw - 32px));
  margin: 0 auto 32px;
  padding: 24px;
  pointer-events: auto;
}

.kicker {
  margin: 0 0 8px;
  color: #7bd5ff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(36px, 8vw, 84px);
  line-height: 0.95;
  letter-spacing: 0;
}

.panel p {
  max-width: 640px;
  margin: 16px 0 0;
  color: #dce7f3;
  font-size: 16px;
  line-height: 1.75;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

button {
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 0 18px;
  background: #f4fbff;
  color: #071018;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

button + button {
  background: rgba(255, 255, 255, 0.08);
  color: #f8fbff;
}

.notice {
  font-size: 13px !important;
  color: #aebccc !important;
}

.hud {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 3;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
  pointer-events: none;
}

.hud span {
  min-width: 78px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(7, 13, 20, 0.74);
  color: #f8fbff;
  font-size: 13px;
  font-weight: 750;
  text-align: center;
  backdrop-filter: blur(10px);
}

@media (max-width: 560px) {
  .panel {
    padding: 18px;
    margin-bottom: 20px;
  }

  .hud {
    width: calc(100vw - 20px);
    flex-wrap: wrap;
    justify-content: center;
  }

  .hud span {
    flex: 1 1 40%;
  }
}
