:root {
  --g-bg: #07161a;
  --g-panel: #0e2a30;
  --g-acc: #19e3c4;
  --g-acc-ink: #04120f;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  color: #e8f4ef;
  background: var(--g-bg);
  -webkit-font-smoothing: antialiased;
  touch-action: none;
  overscroll-behavior: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
#gameContainer {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--g-bg);
}
#gameCanvas {
  display: block;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  cursor: crosshair;
  touch-action: none;
}
.homeBtn {
  image-rendering: auto;
}

.notice-screen {
  position: fixed;
  inset: 0;
  z-index: 99996;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  padding: 32px;
  background: var(--g-bg);
  text-align: left;
}
.notice-title {
  font: 800 28px/1 var(--ui-display);
  letter-spacing: -0.02em;
  color: #e8f4ef;
}
.notice-text {
  max-width: 320px;
  font: 400 14px/1.5 var(--ui-text);
  color: #9bb8b0;
}
.notice-btn {
  margin-top: 6px;
  padding: 12px 18px;
  border: 1px solid var(--g-acc);
  background: var(--g-acc);
  color: var(--g-acc-ink);
  font: 700 12px/1 var(--ui-text);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}
body.touch .homeBtn {
  display: none;
}
