*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Microsoft JhengHei',
    sans-serif;
  color: #f0f0f0;
  background: #0d0d0d;
}

#scene-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}

#app {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(220px, 260px) 1fr;
  grid-template-rows: 1fr;
  height: 100dvh;
  pointer-events: none;
}

#app > * {
  pointer-events: auto;
}

.mobile-header {
  display: none;
}

.content-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 1.5rem;
  overflow: hidden;
}

.content-panel-inner {
  flex: 1;
  overflow-y: auto;
  border: 1px solid #3a3a3a;
  background: rgba(10, 10, 20, 0.75);
  backdrop-filter: blur(4px);
  padding: 1.5rem 2rem;
  min-height: 0;
}

.drawer-overlay {
  display: none;
}
