/* Angle Quest -- angle estimation and construction with a launcher/ramp payoff */

.aq-setup {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.aq-setup h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.aq-pick-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.aq-pick {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 2px solid var(--color-border);
  background: var(--color-bg-alt);
  color: var(--color-text);
  cursor: pointer;
  font: inherit;
  min-width: 170px;
  text-align: left;
}

.aq-pick strong { font-size: 1rem; }
.aq-pick small { color: var(--color-text-soft); }

.aq-pick[aria-pressed="true"] {
  border-color: var(--color-primary);
  background: rgba(38, 198, 218, 0.14);
}

.aq-pick:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.aq-start-btn {
  align-self: flex-start;
  margin-top: 4px;
}

.aq-rewards {
  font-size: 0.85rem;
  color: var(--color-text-soft);
}

.aq-rewards strong { color: var(--color-text); }

.aq-play {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(38, 198, 218, 0.1), rgba(0, 77, 96, 0.08));
  border: 1px solid var(--color-border);
}

.aq-play.aq-theme-desert { background: linear-gradient(180deg, rgba(255, 179, 71, 0.18), rgba(191, 111, 12, 0.14)); }
.aq-play.aq-theme-mountain { background: linear-gradient(180deg, rgba(120, 144, 156, 0.2), rgba(38, 50, 56, 0.16)); }
.aq-play.aq-theme-arctic { background: linear-gradient(180deg, rgba(129, 212, 250, 0.2), rgba(1, 87, 155, 0.14)); }
.aq-play.aq-theme-sky { background: linear-gradient(180deg, rgba(179, 157, 219, 0.2), rgba(69, 39, 160, 0.14)); }

.aq-banner {
  padding: 10px 16px;
  border-radius: 14px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  font-size: 1.1rem;
  font-weight: 700;
}

.aq-banner--good {
  background: rgba(74, 222, 128, 0.15);
  color: var(--color-success);
  font-size: 1.05rem;
}

.aq-feedback {
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(238, 111, 168, 0.14);
  color: var(--color-accent);
  font-weight: 600;
}

/* Dial */
.aq-dial-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.aq-dial-svg {
  width: 100%;
  max-width: 340px;
  height: auto;
}

.aq-dial-track {
  stroke: var(--color-border);
  stroke-width: 2;
}

.aq-tick {
  stroke: var(--color-text-soft);
  stroke-width: 2;
}

.aq-tick-label {
  fill: var(--color-text-soft);
  font-size: 10px;
  font-weight: 700;
}

.aq-dial-wedge {
  fill: rgba(38, 198, 218, 0.25);
  stroke: none;
}

.aq-dial-arm {
  stroke: var(--color-primary);
  stroke-width: 4;
  stroke-linecap: round;
}

.aq-dial-pivot {
  fill: var(--color-primary);
}

.aq-dial-readout {
  font-size: 1.05rem;
  font-weight: 700;
}

.aq-dial-btns {
  display: flex;
  gap: 8px;
}

/* Estimate multiple-choice */
.aq-choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.aq-choice-btn {
  border: 2px solid var(--color-border);
  background: var(--color-bg-alt);
  color: var(--color-text);
  border-radius: 12px;
  padding: 12px 20px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
}

.aq-choice-btn:hover { background: var(--color-surface-hover); }

/* Launcher / ramp scenes */
.aq-scene {
  position: relative;
  height: 140px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
  overflow: hidden;
}

.aq-scene-launcher {
  background: linear-gradient(180deg, rgba(38, 198, 218, 0.08), transparent 70%);
}

.aq-launcher {
  position: absolute;
  left: 8%;
  bottom: 10px;
  font-size: 2rem;
  transform-origin: bottom left;
}

.aq-wall {
  position: absolute;
  left: 52%;
  bottom: 10px;
  font-size: 2.4rem;
}

.aq-target {
  position: absolute;
  bottom: 6px;
  font-size: 1.8rem;
  transform: translateX(-50%);
}

.aq-trail {
  position: absolute;
  bottom: 30px;
  font-size: 1.4rem;
  transform: translateX(-50%);
}

.aq-scene-ramp {
  background: linear-gradient(180deg, transparent 60%, rgba(120, 144, 156, 0.15));
}

.aq-ramp {
  position: absolute;
  left: 6%;
  bottom: 14px;
  width: 90px;
  height: 6px;
  border-radius: 3px;
  background: var(--color-text-soft);
  transform-origin: bottom left;
}

.aq-ball {
  position: absolute;
  left: 6%;
  bottom: 22px;
  font-size: 1.6rem;
}

.aq-goal {
  position: absolute;
  bottom: 6px;
  font-size: 1.8rem;
  transform: translateX(-50%);
}

.aq-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
