:root {
  --bg: #0b0b10;
  --fg: #ececf2;
  --muted: #a6a6b3;
  --panel: rgba(255,255,255,0.06);
  --stroke: rgba(255,255,255,0.10);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--fg);
}

.app { max-width: 520px; margin: 0 auto; padding: 18px; }
.top h1 { margin: 0 0 4px; font-size: 22px; }
.subtitle { margin: 0; color: var(--muted); }

.stage {
  position: relative;
  margin: 18px 0 14px;
  display: grid;
  place-items: center;
}

.wheel {
  width: min(92vw, 420px);
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  background: radial-gradient(circle at center, rgba(255,255,255,0.05), transparent 60%);
  touch-action: none;
  cursor: grab;
}

.dial { width: 100%; height: 100%; }
.seg {
  fill: rgba(255,255,255,0.06);
  stroke: var(--stroke);
  stroke-width: 1;
  cursor: pointer;
  pointer-events: all;
}
.seg.category { fill: rgba(255,255,255,0.08); }
.seg.school { fill: rgba(255,255,255,0.10); }

.label-path { fill: none; stroke: none; }
.label {
  fill: rgba(255,255,255,0.85);
  font-size: 9px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  pointer-events: none;
}
.label.category { font-size: 8px; opacity: 0.85; }
.label.school { font-size: 7px; opacity: 0.85; }
.seg:hover { fill: rgba(255,255,255,0.10); }
.seg.is-selected { fill: rgba(255,255,255,0.16); }

.reticle {
  position: absolute;
  top: 6px;
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 14px solid rgba(255,255,255,0.75);
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.6));
  pointer-events: none;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 14px;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.k { color: var(--muted); font-size: 12px; }
.v { font-size: 14px; margin-top: 4px; }

.tagline { margin: 12px 0 10px; color: var(--fg); opacity: 0.9; }

.enter {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,0.10);
  color: var(--fg);
  font-weight: 600;
}
.enter:disabled {
  opacity: 0.45;
}
