/* scenes/oscomputer.js -- the computer on its desk, the four install steps, the system's own download */
.gscene-oscomputer .gscene-stage { height: clamp(460px, 74vh, 660px); }
.osc-mac { background: radial-gradient(ellipse 75% 65% at 50% 32%, #4a3a7e, #221a45 58%, #0d0b1c); }
.osc-windows { background: radial-gradient(ellipse 75% 65% at 50% 32%, #2a5aa8, #142c5c 58%, #08122a); }
.osc-linux { background: radial-gradient(ellipse 75% 65% at 50% 32%, #2c4a3a, #16241e 58%, #080d0b); }

.osc-ui { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; display: flex; gap: 14px 22px; align-items: flex-end; justify-content: space-between;
  padding: 44px 20px 18px; background: linear-gradient(180deg, transparent, rgba(6, 9, 18, 0.88) 42%); }
.osc-left { min-width: 0; flex: 1 1 auto; }
.osc-steps { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.osc-steps button { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 6px; border-radius: 99px; cursor: pointer;
  font: 800 0.82rem var(--display); color: var(--muted); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.25s, color 0.25s, border-color 0.25s; }
.osc-steps b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 0.75rem; color: #0b1020; background: rgba(255, 255, 255, 0.35); transition: background 0.25s; }
.osc-steps button:hover { color: var(--ink); }
.osc-steps button.on { color: var(--ink); background: rgba(126, 217, 87, 0.16); border-color: rgba(126, 217, 87, 0.55); }
.osc-steps button.on b { background: var(--grass); }
.osc-text { margin: 10px 0 0; max-width: 34em; min-height: 3em; font: 700 0.95rem/1.5 var(--display); color: var(--ink); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7); }
.osc-right { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.osc-dl .btn-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.osc-alt { font: 700 0.8rem var(--display); color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.osc-alt:hover { color: var(--ink); }
.osc .gscene-fallback { bottom: 40%; }

@media (max-width: 720px) {
  .gscene-oscomputer .gscene-stage { height: clamp(520px, 86vh, 680px); }
  .osc-ui { flex-direction: column; align-items: stretch; padding: 40px 14px 14px; }
  .osc-steps button { padding: 5px 10px 5px 5px; font-size: 0.76rem; }
  .osc-steps span { max-width: 9.5em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .osc-text { font-size: 0.88rem; min-height: 4.4em; }
  .osc-right { align-items: stretch; }
  .osc-alt { align-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  .osc-steps button, .osc-steps b { transition: none; }
}
