/* Acorn Orbit — scoped styles (ob-or-*). Palette: #173b31 #f5f2e9 #d4e293 #e0812f */
.ob-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  font-family: inherit;
}

.ob-canvas-wrap {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.ob-canvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 480 / 400;
  background: #173b31;
  border-radius: 10px;
  border: 2px solid rgba(245, 242, 233, 0.22);
}

.ob-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(23, 59, 49, 0.82);
  border-radius: 10px;
  text-align: center;
}

.ob-overlay.ob-hide {
  display: none;
}

.ob-card {
  padding: 18px 22px;
  max-width: 86%;
}

.ob-card h3 {
  margin: 0 0 8px;
  color: #d4e293;
  font-size: 1.6rem;
  letter-spacing: 0.04em;
}

.ob-card p {
  margin: 0 0 14px;
  color: #f5f2e9;
  font-size: 0.9rem;
  line-height: 1.5;
}

.ob-card p b {
  color: #d4e293;
}

.ob-hint {
  opacity: 0.85;
}

.ob-btn-ui {
  appearance: none;
  -webkit-appearance: none;
  display: inline-block;
  margin: 4px 6px 0;
  padding: 10px 22px;
  min-height: 44px;
  border-radius: 999px;
  border: 2px solid #d4e293;
  background: transparent;
  color: #f5f2e9;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  touch-action: manipulation;
}

.ob-btn-ui:hover {
  background: rgba(212, 226, 147, 0.16);
}

.ob-btn-ui:focus-visible {
  outline: 2px solid #e0812f;
  outline-offset: 2px;
}

.ob-start {
  background: #e0812f;
  border-color: #e0812f;
}

.ob-touch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 480px;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.ob-btn {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 2px solid rgba(245, 242, 233, 0.4);
  background: rgba(245, 242, 233, 0.08);
  color: #f5f2e9;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  touch-action: none;
  padding: 0;
}

.ob-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  stroke: none;
}

.ob-btn:active {
  background: rgba(212, 226, 147, 0.35);
  border-color: #d4e293;
}

.ob-btn:focus-visible {
  outline: 2px solid #e0812f;
  outline-offset: 2px;
}

.ob-fire {
  width: 56px;
  height: 56px;
  border-color: rgba(224, 129, 47, 0.7);
}

.ob-thrust {
  width: 52px;
  height: 52px;
}

@media (min-width: 640px) and (hover: hover) and (pointer: fine) {
  .ob-touch {
    display: none;
  }
}

@media (max-width: 360px) {
  .ob-btn {
    width: 44px;
    height: 44px;
  }
  .ob-fire {
    width: 50px;
    height: 50px;
  }
  .ob-thrust {
    width: 46px;
    height: 46px;
  }
  .ob-touch {
    gap: 8px;
  }
}
