:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #080c0e;
  color: #ecf6f5;
}

* { box-sizing: border-box; }

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #080c0e;
  touch-action: none;
  overscroll-behavior: none;
}

body { position: fixed; inset: 0; }

#gameShell {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #0e1718;
}

#game {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: crosshair;
}

#dashButton {
  position: absolute;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  width: 92px;
  height: 92px;
  border: 1px solid rgba(147, 244, 255, 0.58);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(31, 73, 79, 0.82), rgba(8, 17, 19, 0.70));
  color: #d8fcff;
  font: 800 13px/1 system-ui, sans-serif;
  letter-spacing: 0.14em;
  box-shadow: 0 0 34px rgba(42, 208, 224, 0.13), inset 0 0 28px rgba(42, 208, 224, 0.07);
  backdrop-filter: blur(5px);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

#dashButton::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(174, 246, 252, 0.12);
  border-radius: 50%;
}

#dashButton:active,
#dashButton.active {
  transform: scale(0.94);
  background: radial-gradient(circle, rgba(55, 150, 161, 0.86), rgba(20, 60, 66, 0.80));
  box-shadow: 0 0 44px rgba(84, 223, 235, 0.28), inset 0 0 24px rgba(116, 235, 244, 0.12);
}

#help {
  position: absolute;
  left: max(14px, env(safe-area-inset-left));
  bottom: max(14px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: min(340px, calc(100vw - 150px));
  padding: 7px 9px;
  border-left: 2px solid rgba(105, 215, 220, 0.24);
  background: linear-gradient(90deg, rgba(3, 8, 10, 0.52), rgba(3, 8, 10, 0.12));
  color: rgba(207, 225, 224, 0.42);
  font-size: 9px;
  line-height: 1.22;
  pointer-events: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

#help strong {
  color: rgba(222, 248, 247, 0.72);
  letter-spacing: 0.18em;
  font-size: 9px;
}

@media (hover: hover) and (pointer: fine) {
  #dashButton {
    width: 66px;
    height: 66px;
    opacity: 0.32;
    font-size: 10px;
  }

  #dashButton:hover {
    opacity: 0.58;
  }
}

@media (max-width: 720px) {
  #help span { display: none; }
  #help {
    max-width: 120px;
    padding: 6px 8px;
    font-size: 9px;
  }
}
