<!-- SOLIDABILITY-WORLD · part 2 -->
ator {
  font-size: 10px;
  letter-spacing: 2px;
  color: #00ffcc;
  background: rgba(0, 0, 0, 0.6);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(0, 255, 204, 0.3);
}
#hc-buttons {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hc-mode-btn, .hc-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(20, 20, 30, 0.8);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.hc-mode-btn.active {
  border-color: #00ffcc;
  background: rgba(0, 255, 204, 0.15);
  box-shadow: 0 0 12px rgba(0, 255, 204, 0.3);
}
.hc-btn:active { transform: scale(0.92); }
#hc-command {
  margin-top: 4px;
}
#hc-input {
  width: 180px;
  padding: 8px 12px;
  background: rgba(20, 20, 30, 0.85);
  border: 1px solid rgba(0, 255, 204, 0.3);
  border-radius: 20px;
  color: #e0e0e0;
  font-family: inherit;
  font-size: 13px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
#hc-input::placeholder { color: #666677; }
#hc-input:focus {
  outline: none;
  border-color: #00ffcc;
  width: 220px;
}
@media (max-width: 768px) {
  #hyper-controller { bottom: 200px; right: 8px; }
  #hc-input { width: 150px; font-size: 12px; }
}

/* AI DRIVE narration bar */
#ai-narration {
  position: absolute;
  top: 70px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  max-width: calc(100vw - 40px);
  width: max-content;
  max-width: 600px;
  background: rgba(10, 20, 16, 0.92);
  border: 1px solid rgba(0, 255, 204, 0.4);
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 14px;
  line-height: 1.4;
  color: #e0e0e0;
  z-index: 30;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-align: center;
}
#ai-narration.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
#ai-narration .ai-badge {
  color: #00ffcc;
  font-weight: bold;
  margin-right: 8px;
}
#ai-narration b { color: #88ccff; }

/* AI DRIVE button highlight */
.hc-btn.hc-ai {
  border-color: rgba(0, 255, 204, 0.5);
}
.hc-btn.hc-stop {
  border-color: rgba(255, 68, 68, 0.5);
}
@media (max-width: 768px) {
  #ai-narration {
    top: 110px;
    font-size: 13px;
    padding: 8px 12px;
  }
}

/* Code Inspector Panel */
#code-inspector {
  position: absolute;
  top: 0;
  right: 0;
  width: min(500px, 92vw);
  height: 100%;
  background: rgba(8, 10, 14, 0.97);
  border-left: 1px solid rgba(0, 255, 204, 0.3);
  z-index: 40;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
#code-inspector.visible { transform: translateX(0); }
.code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.code-header h3 { margin: 0; font-size: 16px; color: #00ffcc; }
.code-close {
  cursor: pointer;
  font-size: 20px;
  color: #888;
  padding: 4px 8px;
}
.code-close:active { color: #fff; }
.code-meta {
  padding: 8px 16px;
  font-size: 12px;
  color: #888;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.code-meta code { color: #88ccff; }
.code-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.code-info {
  padding: 8px 16px;
  font-size: 11px;
  color: #666;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: sticky;
  top: 0;
  background: rgba(8, 10, 14, 0.95);
}
.code-info code { color: #88ccff; }
.code-lines { padding: 8px 0 20px 0; font-family: 'SF Mono', 'Menlo', monospace; font-size: 12px; }
.code-line {
  display: flex;
  padding: 1px 0;
  line-height: 1.5;
}
.code-line:nth-child(even) { background: rgba(255, 255, 255, 0.02); }
.code-line.highlight { background: rgba(0, 255, 204, 0.1); }
.line-num {
  min-width: 48px;
  text-align: right;
  padding-right: 12px;
  color: #444;
  user-select: none;
  flex-shrink: 0;
}
.line-code {
  color: #d0d0d0;
  white-space: pre-wrap;
  word-break: break-all;
  padding-right: 16px;
}
.source-btn {
  width: 100%;
  padding: 12px;
  background: rgba(0, 255, 204, 0.1);
  border: 1px solid rgba(0, 255, 204, 0.4);
  border-radius: 8px;
  color: #00ffcc;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
}
.source-btn:active { background: rgba(0, 255, 204, 0.2); }
.geometry-explain {
  font-size: 13px;
  line-height: 1.6;
  color: #aaa;
}
@media (max-width: 768px) {
  #code-inspector { width: 94vw; }
  .code-lines { font-size: 11px; }
}

/* Solidability Onboarding */
#sw-onboard {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 12, 0.92);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transi