/* DARK DECATHLON — arcade chrome. 100% self-contained, no external assets. */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: #07070a;
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
  touch-action: none;
  font-family: "Arial Black", "Segoe UI", system-ui, sans-serif;
}
#wrap {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #07070a;
}
#game {
  display: block;
  background: #07070a;
  touch-action: none;
  cursor: pointer;
}
/* ---- touch controls (shown only when a touch device is detected) ---- */
#touch { display: none; }
body.touch #touch { display: block; }
#touch button {
  position: fixed;
  border: 2px solid #a01818;
  background: rgba(16, 16, 20, 0.72);
  color: #ffd766;
  font-family: inherit;
  font-weight: 900;
  letter-spacing: 1px;
  z-index: 30;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  outline: none;
  box-shadow: 0 0 18px rgba(160, 24, 24, 0.35), inset 0 0 12px rgba(212, 175, 55, 0.08);
}
#touch button:active {
  background: rgba(160, 24, 24, 0.55);
  color: #fff;
  border-color: #d4af37;
}
.pad {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  font-size: 30px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
}
#padL { left: calc(16px + env(safe-area-inset-left, 0px)); }
#padR { right: calc(16px + env(safe-area-inset-right, 0px)); }
.act {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  font-size: 15px;
  right: calc(30px + env(safe-area-inset-right, 0px));
  bottom: calc(136px + env(safe-area-inset-bottom, 0px));
  border-color: #d4af37;
  color: #ffd766;
}
.mini {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  font-size: 18px;
  top: calc(10px + env(safe-area-inset-top, 0px));
  right: calc(10px + env(safe-area-inset-right, 0px));
}
