/* AUTCODE demo: odtwarzacz w przeglądarce (nakładka na jsA8E) */
html, body { background: #1a0626; margin: 0; height: 100%; overflow: hidden; }
.topbar, #keyboardPanel, #joystickPanel, #hostfsPanel, #assemblerPanel, #snapshotPanel { display: none !important; }
.layout { padding: 0; gap: 0; overflow: hidden; height: calc(100vh - 44px); }
.screenPanel { height: 100%; }
.screenViewport { height: 100%; }
#lab-bar { position: fixed; left: 0; right: 0; bottom: 0; height: 44px; display: flex; align-items: center; gap: 16px; padding: 0 16px;
  background: #2d0a3e; color: #c8b8d8; font: 14px/1.2 "Segoe UI", system-ui, sans-serif; border-top: 1px solid #3c0044; }
#lab-bar b { color: #f8f6f9; font-weight: 600; }
#lab-bar .sp { flex: 1; }
#lab-bar button { background: #6a1b9a; color: #fff; border: 0; border-radius: 18px; padding: 7px 16px; font: 600 13px "Segoe UI", system-ui, sans-serif; cursor: pointer; }
#lab-bar button:hover { background: #7b2cb0; }
#lab-bar a { color: #d0a0f0; text-decoration: none; }
#lab-overlay { position: fixed; inset: 0 0 44px 0; z-index: 10; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: radial-gradient(ellipse at 70% 0%, #4f0c5a 0%, #1a0626 62%); color: #f8f6f9; font-family: "Segoe UI", system-ui, sans-serif; text-align: center; padding: 20px; }
#lab-overlay h1 { margin: 0; font-size: clamp(40px, 9vw, 96px); letter-spacing: 1px; }
#lab-overlay p { margin: 0; color: #c8b8d8; font-size: clamp(14px, 2.2vw, 20px); max-width: 640px; }
#lab-overlay .tag { color: #d0a0f0; font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
#lab-play { background: #6a1b9a; color: #fff; border: 0; border-radius: 40px; padding: 16px 44px; font: 700 20px "Segoe UI", system-ui, sans-serif; cursor: pointer; margin-top: 8px; }
#lab-play:hover { background: #7b2cb0; }
#lab-load { width: min(420px, 80vw); height: 8px; border-radius: 4px; background: #3a1050; overflow: hidden; display: none; }
#lab-load i { display: block; height: 100%; width: 0; background: #d0a0f0; }
#lab-status { min-height: 1.2em; font-size: 14px; color: #c8b8d8; }
#lab-hint { position: fixed; left: 50%; bottom: 60px; transform: translateX(-50%); z-index: 20; background: rgba(45,10,62,.92); color: #f8f6f9;
  border: 1px solid #6a1b9a; border-radius: 20px; padding: 8px 18px; font: 600 14px "Segoe UI", system-ui, sans-serif; transition: opacity 1s; pointer-events: none; }
