:root {
  color-scheme: dark;
  --bg-top: #08101f;
  --bg-mid: #10213d;
  --bg-bottom: #1f2447;
  --ink: #eef6ff;
  --muted: rgba(225, 236, 255, 0.68);
}

* {
  box-sizing: border-box;
}

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

body {
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 16%, rgba(128, 192, 255, 0.14), transparent 26%),
    radial-gradient(circle at 82% 78%, rgba(255, 160, 122, 0.12), transparent 24%),
    linear-gradient(160deg, var(--bg-top) 0%, var(--bg-mid) 52%, var(--bg-bottom) 100%);
  font-family:
    "Manrope", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

#app {
  display: block;
  width: 100vw;
  height: 100vh;
  cursor: crosshair;
}

.panel {
  position: fixed;
  top: 24px;
  right: 24px;
  width: min(220px, calc(100vw - 48px));
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(8, 15, 29, 0.3);
  backdrop-filter: blur(18px) saturate(132%);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.panel-label,
.panel-row,
.panel-row span,
.panel-row strong {
  margin: 0;
}

.panel-label {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 13px;
}

.panel-row:first-of-type {
  border-top: 0;
}

.panel-row strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.hud {
  position: fixed;
  left: 24px;
  bottom: 24px;
  width: min(400px, calc(100vw - 48px));
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(8, 15, 29, 0.28);
  backdrop-filter: blur(18px) saturate(132%);
  box-shadow:
    0 26px 80px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.eyebrow,
.body,
h1 {
  margin: 0;
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1 {
  color: var(--ink);
  font-size: clamp(32px, 5.4vw, 58px);
  line-height: 0.94;
}

.body {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

@media (max-width: 720px) {
  .panel {
    top: 14px;
    right: 14px;
    width: min(210px, calc(100vw - 28px));
    padding: 12px 14px;
  }

  .hud {
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: auto;
    padding: 16px 16px 18px;
  }

  h1 {
    font-size: clamp(28px, 11vw, 44px);
  }

  .body {
    font-size: 13px;
  }
}
