* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  background: radial-gradient(circle at 50% 25%, #0d1b2a, #05070d 72%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               Helvetica, Arial, sans-serif;
  color: #e8eef5;
  -webkit-tap-highlight-color: transparent;
}

#stage {
  display: block;
  width: 100vw;
  height: 100vh;
  touch-action: none;
  cursor: crosshair;
}

#panel {
  position: fixed;
  top: 16px;
  left: 16px;
  width: 188px;
  padding: 14px 16px;
  background: rgba(13, 20, 33, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  user-select: none;
  z-index: 10;
}

.brand {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  opacity: 0.92;
  margin-bottom: 12px;
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 9px 0;
  font-size: 12px;
}

.label { opacity: 0.65; }

.counter {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 13px;
  color: #4cc9f0;
}

input[type="range"] {
  width: 108px;
  accent-color: #4cc9f0;
  cursor: pointer;
}

#reset {
  width: 100%;
  margin-top: 10px;
  padding: 9px 12px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #e8eef5;
  font: 600 12px/1 inherit;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.08s ease;
}

#reset:hover  { background: rgba(76, 201, 240, 0.28); }
#reset:active { transform: scale(0.97); }

.hint {
  margin-top: 11px;
  font-size: 11px;
  text-align: center;
  opacity: 0.45;
}
