* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
  width: 100%; height: 100%;
  overflow: hidden;
  background: #0a0a1a;
  color: #e0e0e0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
#app {
  display: flex; flex-direction: column;
  height: 100vh; height: 100dvh;
  max-width: 480px; margin: 0 auto;
}
#header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 16px;
  background: #111;
  font-size: 16px; font-weight: bold;
}
#header-actions { display: flex; gap: 8px; }
#reset-btn {
  background: none; border: 1px solid #444;
  color: #aaa; padding: 4px 10px; border-radius: 4px;
  font-size: 15px; cursor: pointer;
}
#reset-btn:active { background: #2a2a4e; }
#lang-toggle {
  background: none; border: 1px solid #444;
  color: #aaa; padding: 4px 10px; border-radius: 4px;
  font-size: 13px; cursor: pointer;
}
#main {
  flex: 1; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse at center, #0d1030 0%, #050510 100%);
}
#planet-canvas {
  display: block;
}
#status-panel {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4px 16px; padding: 8px 16px;
  background: #111; font-size: 13px;
}
.stat { display: flex; justify-content: space-between; }
.stat-label { color: #888; }
.stat-value { color: #fff; font-weight: bold; }
#force-buttons {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 6px; padding: 8px 12px 12px;
  background: #111;
}
.force-btn {
  padding: 12px 0;
  background: #1a1a2e;
  border: 1px solid #333;
  border-radius: 8px;
  color: #ddd;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  -webkit-user-select: none; user-select: none;
}
.force-btn:active {
  background: #2a2a4e;
  transform: scale(0.95);
}
