html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background: #0a1408;
  overflow: hidden;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  font-family: "SF Mono", "Cascadia Code", Consolas, "Courier New", monospace;
}

#gameCanvas {
  display: block;
  background: #132312;
  image-rendering: auto;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
}

#stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
}

/* Touch-device keyboard notice */
#keyboardNotice {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 26, 8, 0.85);
  z-index: 10;
  padding: 24px;
}
#keyboardNotice[hidden] { display: none; }
.notice-card {
  max-width: 420px;
  background: #f5ecd4;
  color: #3d2b20;
  border: 3px solid #5a4030;
  border-radius: 16px;
  padding: 28px 26px;
  text-align: center;
  font-family: "SF Mono", Consolas, Menlo, monospace;
  line-height: 1.5;
}
.notice-card p { margin: 10px 0 0; }
.notice-emoji { font-size: 42px; }

/* Support link — small, corner, out of the play area's way */
#supportLink {
  position: fixed;
  right: 14px;
  bottom: 12px;
  z-index: 5;
  font-family: "SF Mono", Consolas, Menlo, monospace;
  font-size: 13px;
  color: #f5ecd4;
  background: rgba(24, 44, 16, 0.72);
  border: 1px solid rgba(245, 236, 212, 0.35);
  border-radius: 999px;
  padding: 6px 14px;
  text-decoration: none;
  opacity: 0.85;
}
#supportLink:hover { opacity: 1; background: rgba(38, 66, 26, 0.85); }
#supportLink[hidden] { display: none; }
