/* Robot stage (code-robot.js): the VEXcode VR playground above a task's console or under an example. */
.rbt-stage { margin: .75rem 0 .5rem; padding: .6rem; border: 1px solid rgba(96, 165, 250, .35); border-radius: 1rem; background: #0b1324; }
.rbt-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem; margin-bottom: .5rem; }
.rbt-title { font-size: .8rem; font-weight: 700; letter-spacing: .03em; color: #bfdbfe; }
.rbt-maps { display: flex; gap: .3rem; flex-wrap: wrap; }
.rbt-tab { padding: .2rem .65rem; border-radius: 999px; border: 1px solid rgba(148, 163, 184, .35); background: transparent; color: #e2e8f0; font-size: .8rem; cursor: pointer; }
.rbt-tab[aria-pressed="true"] { background: #2563eb; border-color: #60a5fa; color: #fff; }
.rbt-canvas { display: block; max-width: 100%; margin: 0 auto; border-radius: .5rem; }
.rbt-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .5rem; }
.rbt-note { color: #cbd5e1; font-size: .88rem; font-weight: 600; flex: 1 1 14rem; }
.rbt-btn { padding: .35rem .8rem; border-radius: 999px; border: 1px solid rgba(96, 165, 250, .5); background: rgba(96, 165, 250, .12); color: #bfdbfe; font-weight: 650; font-size: .88rem; cursor: pointer; }
.rbt-btn[hidden], .rbt-brain[hidden] { display: none; }
.rbt-brain { margin: .5rem 0 0; padding: .5rem .7rem; border-radius: .6rem; background: #020617; color: #a7f3d0; font: .85rem/1.4 ui-monospace, monospace; white-space: pre-wrap; max-height: 9rem; overflow: auto; }
html[data-theme="light"] .rbt-stage { background: #eff6ff; border-color: #93c5fd; }
html[data-theme="light"] .rbt-note { color: #334155; }
html[data-theme="light"] .rbt-title { color: #1d4ed8; }
html[data-theme="light"] .rbt-tab { color: #1e293b; }
html[data-theme="light"] .rbt-btn { color: #1d4ed8; background: #fff; }
