/* debug.css — debug overlay panel.
 *
 * Hidden by default via `hidden` attribute. Toggled via backtick key from
 * src/debug.js. Floats in the upper-right under the menu button so it
 * doesn't overlap the blueprint row at top-center or the player panel
 * on the left.
 */

#debug-panel {
  position: fixed;
  top: 64px;
  right: 12px;
  width: 220px;
  background: rgba(20, 20, 30, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  padding: 10px 12px;
  font-family: monospace;
  font-size: 12px;
  color: #eee;
  z-index: 1000;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  user-select: none;
}

#debug-panel[hidden] {
  display: none;
}

.debug-title {
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 1px;
  color: #ffcf66;
  margin-bottom: 6px;
}

.debug-section-header {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #888;
  margin: 8px 0 4px 0;
}

.debug-row {
  display: flex;
  gap: 4px;
}

.debug-row-actions {
  flex-direction: column;
}

.debug-btn {
  flex: 1;
  background: #2a2a3a;
  border: 1px solid #555;
  color: #ddd;
  font-family: monospace;
  font-size: 12px;
  padding: 6px 0;
  cursor: pointer;
  border-radius: 3px;
  transition: background 0.1s, border-color 0.1s;
}

.debug-btn:hover {
  background: #3a3a4a;
  border-color: #777;
}

.debug-btn-wide {
  flex: 1 1 100%;
  padding: 8px;
}

.debug-btn-active {
  background: #ffcf66;
  border-color: #ffcf66;
  color: #1a1a2e;
  font-weight: bold;
}

.debug-check-row {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 12px;
  color: #ddd;
  padding: 2px 0;
}
.debug-check-row input[type="checkbox"] {
  cursor: pointer;
}

#debug-fps-overlay {
  position: fixed;
  top: 12px;
  left: 12px;
  padding: 4px 8px;
  background: rgba(0, 0, 0, 0.6);
  color: #7fff7f;
  font-family: monospace;
  font-size: 13px;
  font-weight: bold;
  border-radius: 3px;
  pointer-events: none;
  z-index: 1001;
  display: none;
  white-space: pre;
  line-height: 1.3;
}

.debug-hint {
  margin-top: 8px;
  font-size: 10px;
  color: #666;
  text-align: right;
}
