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

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: #2c3e50;
  color: #fff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#app {
  width: 100%;
  max-width: 900px;
  padding: 16px;
}

#hud-top-right {
  position: fixed;
  top: 16px;
  right: 16px;
  text-align: right;
  font-size: 14px;
  line-height: 1.8;
  z-index: 10;
}

#fps {
  font-family: monospace;
  color: #7ec8e3;
}

#tasks-done {
  color: #a8dadc;
}

#sim-time {
  color: #f4a261;
  font-weight: bold;
  font-size: 16px;
}

#office {
  width: 100%;
  background: #f5f0e8;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

#controls-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.control-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.2s;
}

.control-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.control-btn:active {
  transform: translateY(0);
}

#btn-emergency {
  background: #e74c3c;
  color: #fff;
}

#btn-lunch {
  background: #27ae60;
  color: #fff;
}

#space-hint {
  width: 100%;
  text-align: center;
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}

.speech-bubble {
  fill: #fff;
  stroke: #666;
  stroke-width: 1;
}

.speech-text {
  font-size: 8px;
  fill: #333;
  font-family: sans-serif;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
