:root {
  color-scheme: only light;
  --desk: #6d4d3b;
  --desk-edge: #4f3528;
  --paper: #efe5c9;
  --ink: #2d241f;
  --red: #a64034;
  --gold: #b38a3e;
}

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

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.18), transparent 32%),
    linear-gradient(180deg, #7f5c46, var(--desk));
  touch-action: none;
  font-family: Georgia, "Times New Roman", serif;
}

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

#game {
  display: block;
  width: 100%;
  height: 100%;
}

.punch-control {
  position: absolute;
  right: 16px;
  bottom: 62px;
  min-width: 84px;
  padding: 10px 14px;
  border: 1px solid rgba(45, 36, 31, 0.55);
  border-radius: 999px;
  background: linear-gradient(180deg, #d9c08a, #b38a3e);
  color: #2d241f;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 3px 0 rgba(45, 36, 31, 0.28);
}

.punch-control:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 rgba(45, 36, 31, 0.28);
}

.status {
  position: absolute;
  left: 16px;
  right: 112px;
  bottom: 14px;
  padding: 8px 10px;
  color: rgba(251, 246, 234, 0.94);
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  background: rgba(45, 36, 31, 0.22);
  border: 1px solid rgba(251, 246, 234, 0.22);
  border-radius: 10px;
  pointer-events: none;
}
