:root {
  --bg: #0d1117;
  --grid: #161b22;
  --accent: #facc15; /* Warning Yellow */
  --arm: #38bdf8;   /* Cyber Blue */
  --text: #8b949e;
  --font: 'Share Tech Mono', monospace;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
  overflow: hidden;
  height: 100vh;
}

canvas {
  display: block;
  /* 少し発光させる */
  filter: drop-shadow(0 0 5px rgba(56, 189, 248, 0.3));
}

.ui-layer {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  padding: 30px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

header {
  border-left: 4px solid var(--accent);
  padding-left: 15px;
}

h1 {
  margin: 0;
  font-size: 2.5rem;
  color: #fff;
  letter-spacing: 2px;
}
.accent { color: var(--accent); }

.subtitle {
  font-size: 1rem;
  color: var(--accent);
  margin-top: 5px;
  opacity: 0.8;
}

.status-panel {
  position: absolute;
  top: 30px; right: 30px;
  text-align: right;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--arm);
}
.status-panel span { color: #fff; }

.controls {
  pointer-events: auto;
  display: flex;
  gap: 15px;
}

button {
  background: rgba(13, 17, 23, 0.8);
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 12px 24px;
  font-family: var(--font);
  font-size: 1rem;
  cursor: pointer;
  transition: 0.2s;
  text-transform: uppercase;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

button:hover {
  background: var(--accent);
  color: #000;
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.4);
}