html, body {
  height: 100%;
}

body {
  margin: 0;
  background: #ffffff;
  color: #111827;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica Neue, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

#app {
  position: fixed;
  inset: 0;
}

canvas {
  display: block;
  cursor: grab;
}

canvas:active {
  cursor: grabbing;
}

#loading {
  position: fixed;
  top: 12px;
  right: 12px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  backdrop-filter: blur(6px);
  font-size: 14px;
}

#switch-group {
  position: fixed;
  top: 12px;
  left: 12px;
  display: inline-flex;
  gap: 0;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.switch-btn {
  padding: 10px 16px;
  background: #ffffff;
  color: #111827;
  border: 0;
  border-right: 1px solid rgba(0,0,0,0.1);
  font-size: 16px;
  cursor: pointer;
}

.switch-btn:last-child {
  border-right: 0;
}

.switch-btn:hover {
  background: #f3f4f6;
}

.switch-btn.active {
  background: #111827;
  color: #ffffff;
}


