:root {
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: #1a1918;
  overflow: hidden;
  overscroll-behavior: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

#app {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
}

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

.settle-btn {
  position: fixed;
  left: max(14px, env(safe-area-inset-left));
  top: max(14px, env(safe-area-inset-top));
  padding: 9px 18px;
  font: 500 15px/1 "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  letter-spacing: 0.12em;
  color: #ece9e2;
  background: rgba(40, 38, 36, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(4px);
  cursor: pointer;
  transition: opacity 0.25s ease, transform 0.12s ease;
  opacity: 0.55;
}

.settle-btn:hover {
  opacity: 0.95;
}

.settle-btn:active {
  transform: scale(0.96);
}

body[data-mode="settled"] .settle-btn {
  opacity: 0.95;
}
