/* ==========================================================
   style.css — ส่วนเฉพาะของเครื่องยิงหิน
   โครงหน้า/ธีม/navbar อยู่ใน ../assets/site.css + ../assets/sim.css
   ========================================================== */

/* ตัวเครื่อง (SVG เต็มฉาก วาดจาก app.js ด้วยพิกัด px สเกลเดียวกับแกน) */
.catapult-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  filter: drop-shadow(0 4px 4px rgba(11, 28, 51, 0.2));
}

/* แกน X วางจาก app.js ให้ตรงกับจุด 0 m (จุดหมุนแขน) */
.axis-x {
  right: auto;
}

.drive-button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.drive-status {
  min-height: 1.35em;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.drive-status.is-success {
  color: #16704a;
}

.drive-status.is-error {
  color: #b42318;
}

.drive-status a {
  color: inherit;
  font-weight: 600;
}