:root {
  color-scheme: light;
  --paper: #ece0c7;
  --paper-shadow: #d7c5a6;
  --ink: #34251b;
  --brick: #a2583d;
  --plaster: #c79f7d;
  --brass: #a77b36;
  --brass-dim: #7d5b28;
  --teal: #426d6d;
  --wine: #7b3a3a;
  --cream: #f7f0de;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at top, #f7eedb 0%, var(--paper) 58%, var(--paper-shadow) 100%);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  touch-action: none;
  user-select: none;
}

body {
  overscroll-behavior: none;
}

.shell {
  width: 100%;
  height: 100%;
  position: relative;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

.nudge {
  position: absolute;
  z-index: 2;
  right: calc(env(safe-area-inset-right) + 16px);
  top: calc(env(safe-area-inset-top) + 16px);
  border: 1px solid rgba(52, 37, 27, 0.26);
  border-radius: 999px;
  background: rgba(247, 240, 222, 0.94);
  color: var(--ink);
  padding: 10px 14px;
  font: 600 13px/1 Georgia, "Times New Roman", serif;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(52, 37, 27, 0.12);
}

.nudge:active {
  transform: translateY(1px);
}

.nudge.is-nudged {
  background: rgba(103, 76, 39, 0.94);
  color: var(--cream);
  border-color: rgba(247, 240, 222, 0.28);
}

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