/* Reset and layout */
html, body {
  height: 100%;
}

body {
  margin: 0;
  background: #0e0e13;
  color: #e0e0e0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  overflow: hidden;
}

#scene-container {
  position: fixed;
  inset: 0 0 0 0;
}

#control-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 340px;
  max-width: 50vw;
  height: 100%;
  padding: 16px 12px;
  box-sizing: border-box;
  background: linear-gradient(180deg, rgba(18, 18, 24, 0.92), rgba(18, 18, 24, 0.76));
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.35);
  overflow-y: auto;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Ensure the Tweakpane UI fits nicely */
#control-panel .tp-dfwv {
  width: 100% !important;
}

/* Small hint overlay (optional) */
.hint {
  position: fixed;
  left: 16px;
  bottom: 16px;
  color: #9aa0a6;
  font-size: 12px;
  opacity: 0.8;
  user-select: none;
  pointer-events: none;
}


/* Panel toggle with similar styling, anchored bottom-right */
.panel-toggle {
  position: fixed;
  right: 16px;
  bottom: 16px;
  color: #9aa0a6;
  font-size: 12px;
  opacity: 0.8;
  user-select: none;
  cursor: pointer;
}


