/* Domain randomization demo panel. Matches the robot-demo panel; loaded by all three scene pages. */
body[data-dr="true"] .divider,
body[data-dr="true"] .tag,
body[data-dr="true"] .controls,
body[data-dr="true"] .hint { display: none; }
.dr-panel[hidden], .dr-toolbar[hidden] { display: none; }
.dr-panel { position: absolute; z-index: 4; top: 148px; left: 24px; width: 268px; padding: 19px; border: 1px solid #ffffff22; border-radius: 18px; background: #101420ed; box-shadow: 0 12px 35px #0004; color: var(--ink, #e9ebf7); }
.dr-eyebrow { color: var(--lime, #c1ff00); font-size: 10px; letter-spacing: .12em; display: flex; justify-content: space-between; gap: 12px; }
.dr-eyebrow span { color: #929caf; font-size: 8px; line-height: 14px; }
.dr-panel h2 { font-size: 20px; font-weight: 500; margin: 12px 0 12px; letter-spacing: -.03em; }
.dr-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 3px; }
.dr-list button { width: 100%; display: flex; gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: #c7cdd8; font: inherit; font-size: 12px; text-align: left; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.dr-list button b { font: 500 10px var(--mono, "IBM Plex Mono", monospace); color: #7d879a; }
.dr-list button:hover { background: #ffffff0d; color: #fff; }
.dr-list button[aria-pressed="true"] { background: #c1ff0014; border-color: #c1ff0055; color: #fff; }
.dr-list button[aria-pressed="true"] b { color: var(--lime, #c1ff00); }
.dr-desc { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; margin: 0 0 12px; font-size: 11px; }
.dr-desc dt { color: #7d879a; font: 500 10px var(--mono, "IBM Plex Mono", monospace); letter-spacing: .06em; text-transform: uppercase; padding-top: 1px; }
.dr-desc dd { margin: 0; color: #e1e5ed; }
.dr-progress { height: 3px; background: #ffffff18; border-radius: 5px; overflow: hidden; margin-bottom: 14px; }
.dr-progress i { display: block; width: 0; height: 100%; background: var(--lime, #c1ff00); }
.dr-panel details { border-top: 1px solid #ffffff18; padding-top: 12px; font-size: 10px; color: #9ba5b9; line-height: 1.6; }
.dr-panel summary { cursor: pointer; color: #c7cdd8; }
.dr-toolbar { position: absolute; z-index: 5; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 7px; align-items: center; white-space: nowrap; }
body[data-embedded="true"] .dr-toolbar { bottom: 112px; }
.dr-toolbar .pill { font-size: 12px; padding: 11px 15px; background: #101420ed; }
.dr-toolbar .pill[aria-pressed="true"] { border-color: #c1ff0066; }
.dr-short { display: none; }
@media (max-width: 720px) {
  .dr-long { display: none; } .dr-short { display: inline; }
  .dr-panel { top: 133px; left: 12px; width: calc(100% - 24px); padding: 13px; }
  .dr-panel h2, .dr-panel details, .dr-desc { display: none; }
  .dr-list { grid-template-columns: repeat(5, 1fr); margin-bottom: 8px; }
  .dr-list button { flex-direction: column; gap: 3px; padding: 7px 4px; font-size: 10px; text-align: center; }
  .dr-list button span { line-height: 1.15; }
  .dr-progress { margin-bottom: 0; }
}
/* desk variant */
.dr-desk .dr-variant { font: 500 11px var(--mono, "IBM Plex Mono", monospace); letter-spacing: .04em; color: var(--lime, #c1ff00); margin: -4px 0 12px; }
.dr-slots { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; }
.dr-slots li { display: grid; gap: 2px; padding: 7px 10px; border-radius: 10px; background: #ffffff08; border: 1px solid #ffffff10; animation: dr-in .35s ease both; }
.dr-slots li.swap { border-color: #c1ff0044; background: #c1ff000d; }
.dr-slots b { font-size: 12px; font-weight: 500; color: #fff; }
.dr-slots span { font: 400 10px var(--mono, "IBM Plex Mono", monospace); color: #9ba5b9; }
@keyframes dr-in { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
@media (max-width: 720px) {
  .dr-desk .dr-slots { grid-template-columns: 1fr 1fr; gap: 4px; }
  .dr-desk .dr-slots li { padding: 5px 7px; }
  .dr-desk .dr-slots span { font-size: 9px; }
}
@media (max-width: 720px) { .dr-desk .dr-slots { display: none; } .dr-desk .dr-variant { margin: 6px 0 8px; } }
.dr-desk .dr-slots { max-height: calc(100dvh - 430px); overflow-y: auto; scrollbar-width: thin; }
body[data-embedded="true"] .dr-desk .dr-slots { max-height: calc(100dvh - 500px); }
