/* The prototype's own chrome (device frame + simulate drawer). Not part of the game UI. */

#stage { position: fixed; inset: 0; background: #1b1f24; }
html[data-device-mode="native"] #stage { background: #000; }

#device { position: absolute; overflow: hidden; background: #000; box-shadow: 0 0 0 10px #050607, 0 0 0 11px #3a4652, 0 20px 60px rgba(0,0,0,.6); }
html[data-device-mode="native"] #device { box-shadow: none; }
#device-overlay { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
#cutout { position: absolute; background: #000; }
#homebar { position: absolute; left: 50%; bottom: 8px; width: 134px; height: 5px; margin-left: -67px; border-radius: 3px; background: rgba(255,255,255,.85); }

#proto-fab {
  position: fixed; z-index: 50; right: 0; top: 50%; transform: translateY(-50%);
  writing-mode: vertical-rl; padding: 10px 4px; border: 0; border-radius: 6px 0 0 6px;
  background: rgba(242, 210, 27, .85); color: #06141a; font: 700 10px/1 system-ui, sans-serif; letter-spacing: 2px;
  opacity: .55;
}
#proto-fab:hover, #proto-fab:active { opacity: 1; }
html[data-drawer="open"] #proto-fab { display: none; }

#proto-drawer {
  position: fixed; z-index: 60; right: 0; top: 0; bottom: 0; width: 340px; max-width: 92vw;
  background: #0d1319; color: #e6edf2; border-left: 1px solid #22303a; overflow-y: auto;
  font: 13px/1.35 system-ui, -apple-system, sans-serif; transform: translateX(100%); transition: transform .2s ease;
  padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom);
}
html[data-drawer="open"] #proto-drawer { transform: none; }
#proto-drawer header { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid #22303a; position: sticky; top: 0; background: #0d1319; }
#proto-drawer header button { background: none; border: 0; color: #8a9aa6; font-size: 22px; line-height: 1; }
#proto-drawer section { padding: 10px 14px; border-bottom: 1px solid #1a232c; }
#proto-drawer h3 { margin: 0 0 8px; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: #8a9aa6; }
#proto-drawer h4 { margin: 10px 0 6px; font-size: 11px; color: #35E0F0; font-weight: 600; }
.proto-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.proto-chips button, #proto-device {
  background: #141b22; color: #e6edf2; border: 1px solid #22303a; border-radius: 4px; padding: 7px 10px; font: inherit;
}
.proto-chips button.on { border-color: #35E0F0; color: #35E0F0; }
.proto-chips button:active { background: #1f3b41; }
#proto-device { width: 100%; }
html[data-device-mode="native"] #proto-device-section select { opacity: .8; }
.proto-note { color: #5a6570; font-size: 11px; margin: 10px 0 0; }

/* Map / floor-plan canvases the flows add (Painter2D stand-ins). */
.proto-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* A camera feed stand-in (the AR camera is a uGUI RawImage under the panel in Unity). */
.proto-camera {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 40%, #39424c 0%, #1c2024 70%), #1c2024;
}
