:root {
  --bg: #14110f; --panel: #1f1a17; --line: #3a322c;
  --fg: #f3ede6; --muted: #a89f95;
  --fire: #ff6a2b; --water: #3ba7ff; --ok: #4cc38a; --bad: #e5484d;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--fg);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
button { font: inherit; color: inherit; }
h1 { margin: 0; font-size: 1.3rem; letter-spacing: .02em; }
h1 .f { color: var(--fire); } h1 .w { color: var(--water); }
.muted { color: var(--muted); }
.btn { background: var(--panel); border: 1px solid var(--line); border-radius: 8px;
  padding: 8px 14px; cursor: pointer; }
.btn:hover { border-color: #5a4e45; }
.btn.primary { background: var(--water); border-color: var(--water); color: #08131f; font-weight: 600; }
.btn.fire { background: var(--fire); border-color: var(--fire); color: #1f0b02; font-weight: 600; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); margin-right: 6px; vertical-align: middle; }
.dot.ok { background: var(--ok); } .dot.bad { background: var(--bad); } .dot.wait { background: #e5b84d; }

/* Dokunmatik tuşlar: yalnızca dokunmatik cihazlarda görünür */
.touchpad { display: none; }
@media (pointer: coarse) {
  .touchpad { display: flex; justify-content: space-between; align-items: flex-end;
    position: fixed; left: 0; right: 0; bottom: 0; padding: 12px max(16px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    pointer-events: none; z-index: 10; touch-action: none; user-select: none; -webkit-user-select: none; }
  .tp-side { display: flex; gap: 12px; pointer-events: auto; }
  .touchpad button { width: 76px; height: 76px; border-radius: 50%; border: 2px solid rgba(255,255,255,.25);
    background: rgba(20,17,15,.55); font-size: 28px; touch-action: none; backdrop-filter: blur(4px); }
  .touchpad button.on { background: rgba(255,255,255,.28); border-color: rgba(255,255,255,.6); }
  .touchpad .tp-jump { width: 92px; height: 92px; }
}
