<!-- SOLIDABILITY-WORLD · part 1 -->
===== FILE: public/solidability-world/css/style.css =====
/* Solidability World — Phase 1 Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'SF Mono', 'Menlo', 'Consolas', monospace;
  background: #0a0a0f;
  color: #e0e0e0;
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
}

#app { position: fixed; inset: 0; }
#scene-container { position: absolute; inset: 0; }
#scene-container canvas { display: block; }

/* HUD */
#hud {
  position: absolute;
  top: 0; left: 0; right: 0;
  padding: 12px 16px;
  pointer-events: none;
  z-index: 10;
}
#hud-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
#hud-top h1 {
  font-size: 18px;
  color: #ffd700;
  letter-spacing: 2px;
}
.phase-tag {
  font-size: 10px;
  background: #2a2a3a;
  color: #88ccff;
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 1px;
}
#hud-controls {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  pointer-events: auto;
}
#search-box {
  flex: 1;
  max-width: 300px;
  padding: 8px 12px;
  background: #1a1a22;
  border: 1px solid #3a3a4a;
  color: #e0e0e0;
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
}
#hud-controls button {
  padding: 8px 16px;
  background: #2a4a6a;
  border: none;
  color: #fff;
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
}
#hud-controls button:hover { background: #3a5a7a; }
#hud-help {
  margin-top: 8px;
  font-size: 11px;
  color: #666677;
  display: flex;
  gap: 16px;
}

/* The Glass */
#glass-panel {
  position: absolute;
  right: 0;
  top: 0;
  width: min(500px, 100vw);
  height: 100%;
  max-height: 100vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: rgba(8, 10, 14, 0.97);
  border-left: 1px solid rgba(0, 255, 204, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 35;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.5);
}
#glass-panel.visible { transform: translateX(0); }

.glass-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid #2a3a4a;
}
.glass-header h2 {
  font-size: 16px;
  color: #88ccff;
}
.glass-close {
  cursor: pointer;
  color: #666677;
  font-size: 18px;
  padding: 4px;
}
.glass-close:hover { color: #ff6666; }

.glass-body { padding: 16px; }
.glass-section { margin-bottom: 16px; }
.glass-section h3 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888899;
  margin-bottom: 6px;
}
.glass-section p { font-size: 14px; line-height: 1.5; }
.glass-section code {
  background: #1a1a22;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  color: #aaccff;
}
.route-list { list-style: none; margin-top: 8px; }
.route-list li {
  padding: 4px 0;
  font-size: 13px;
  border-bottom: 1px solid #1a1a22;
}
.route-list .line { color: #666677; font-size: 11px; }
.route-list .more { color: #888899; font-style: italic; }

.alarm-off { color: #44dd88; }
.alarm-blinking { color: #ffaa00; }
.alarm-solid { color: #ff4444; }
.note { color: #888899; font-size: 12px; font-style: italic; }
.glass-phase {
  border-top: 1px solid #2a3a4a;
  padding-top: 12px;
  font-size: 12px;
  color: #666677;
}
.source-btn {
  padding: 6px 12px;
  background: #1a3a4a;
  border: 1px solid #2a5a7a;
  color: #88ccff;
  border-radius: 4px;
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  margin-bottom: 8px;
}
.source-btn:hover { background: #2a4a5a; }
.source-view { margin-top: 8px; }
.source-view .loading { color: #888899; font-style: italic; }

/* Mobile joystick */
#joystick {
  display: none;
  position: absolute;
  bottom: 30px;
  left: 30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.15);
  z-index: 50;
  touch-action: none;
}
#joystick-knob {
  position: absolute;
  top: 35px; left: 35px;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: rgba(0, 255, 204, 0.3);
  border: 2px solid rgba(0, 255, 204, 0.5);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  #glass-panel {
    right: 8px; left: 8px;
    width: auto;
    top: auto;
    bottom: 150px;
    max-height: 32vh;
    font-size: 13px;
  }
  #glass-panel .glass-body { padding: 12px; }
  #glass-panel .glass-section { margin-bottom: 10px; }
  #glass-panel .glass-section p { font-size: 13px; }
  #hud-help { display: none; }
  #hud-top h1 { font-size: 14px; }
}

.verify-verified { color: #44dd88; font-weight: bold; }
.verify-untested { color: #ffaa00; }
.verify-rough { color: #ffaa00; font-weight: bold; }
.verify-defect { color: #ff4444; font-weight: bold; }

/* Hyper Controller */
#hyper-controller {
  position: absolute;
  right: 12px;
  bottom: 160px;
  z-index: 25;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
#hc-mode-indic