/* Letterfall. The board is canvas. These controls sit on the same spots, opaque,
   with a 2px darker border and a 48px minimum. No translucent fills. */
.bg-game {
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.bg-game .bg-canvas { cursor: pointer; }

.ws-safe {
  position: absolute; left: 0; top: 0; width: 0; height: 0; visibility: hidden; pointer-events: none;
  padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
}

.ws-btn {
  position: absolute;
  z-index: 4;
  margin: 0;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 48px;
  min-height: 48px;
  border-radius: 14px;
  border: 2px solid #8A5A32;
  background: #C0753F;
  color: #FFFDF8;
  font: 800 20px/1 "Bricolage Grotesque", ui-rounded, "Segoe UI", system-ui, sans-serif;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.ws-btn[hidden] { display: none; }
.ws-btn svg { width: 36px; height: 36px; flex: 0 0 auto; display: block; }
.ws-btn--hint { background: #2F9E5B; border-color: #1F6C3E; }
.ws-btn--mix { background: #3D7BE0; border-color: #2A569C; }
.ws-btn--undo { background: #C0753F; border-color: #8A5A32; }
.ws-btn--play { background: #F2C14E; border-color: #A8872E; color: #6A4A12; }
.ws-btn:focus-visible { outline: 3px solid #2F7D4F; outline-offset: 2px; }
.ws-btn:active { background: #EDE6D8; }

.ws-live {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
