:root { --bg:#0f1115; --fg:#f2f2f2; --muted:#aab0bb; }
* { box-sizing: border-box; }
body {
  margin: 0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: var(--bg); color: var(--fg);
}
.wrap {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 16px; padding: 20px;
}
h1 { margin: 0 0 6px; font-size: 28px; }

.dial {
  width: 280px; height: 280px; border-radius: 50%;
  border: 10px solid #2b2f38; position: relative;
  background: radial-gradient(circle at center, #1a1f2a, #0f1115);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.north,.east,.south,.west{
  position:absolute; font-weight:700; color: var(--muted);
}
.north{ top:10px; left:50%; transform:translateX(-50%); }
.south{ bottom:10px; left:50%; transform:translateX(-50%); }
.east{ right:12px; top:50%; transform:translateY(-50%); }
.west{ left:12px; top:50%; transform:translateY(-50%); }

.needle {
  position: absolute; left: 50%; top: 26px;
  width: 8px; height: 120px;
  background: #e53935;
  transform: translateX(-50%) rotate(0deg);
  transform-origin: 50% 100%;
  border-radius: 8px;
  transition: transform 80ms linear;
}
.center {
  position: absolute; left:50%; top:50%;
  width: 16px; height: 16px; background: #f2f2f2;
  border-radius: 50%; transform: translate(-50%,-50%);
}

.readout { text-align: center; }
.small { font-size: 13px; color: var(--muted); margin-top: 6px; }

button {
  padding: 12px 16px; border: none; border-radius: 12px;
  font-size: 16px; font-weight: 600;
  background: #2b7cff; color: white;
}
button:active { transform: scale(0.98); }

.help { width: 320px; max-width: 92vw; color: var(--muted); }
.help summary { cursor: pointer; }
.help li { margin: 8px 0; }
