* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  touch-action: none;
  overscroll-behavior: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

body {
  background: #7cb342;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.game-wrapper {
  position: fixed;
  inset: 0;
}

.hud-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: calc(12px + env(safe-area-inset-top, 0px)) 20px 10px;
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0));
  pointer-events: none;
}

h1 {
  color: #5d4037;
  font-size: 1.6rem;
  margin-bottom: 4px;
  text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.5);
}

.hint,
.hud,
.status {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

.hint {
  color: #33691e;
  margin-bottom: 4px;
  font-size: 1rem;
}

.hud {
  color: #5d4037;
  font-size: 1.05rem;
  font-weight: bold;
  margin-bottom: 2px;
}

.status {
  min-height: 1.3rem;
  color: #2e7d32;
  font-size: 1rem;
  font-weight: bold;
}

#game {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: #a5d6a7;
  touch-action: none;
  cursor: grab;
}
