html, body {
  margin: 0;
  height: 100%;
  background: #e8e0cc;  /* replaced from JS with the pond's ground colour */
  overflow: hidden;
  overscroll-behavior: none;
  /* it's a painting you touch, not a page: holding a finger on it must not start
     a text selection, the magnifier, or the long-press callout */
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

/* Full screen including the area behind mobile browser toolbars (large viewport),
   so the painting continues under Safari's translucent bars. */
#pond {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100lvh;
  display: block;
  touch-action: none;
}

/* Text for screen readers and crawlers only; the page itself stays wordless. */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* The painter's signature: signature.svg, inlined by js/signature.js so it can be
   written in along its pen paths. The ink follows the light (--ink, set from JS). */
.signature {
  --ink: #b5402a;
  position: fixed;
  right: max(3vmin, 14px, env(safe-area-inset-right));
  bottom: max(2.5vmin, 12px, env(safe-area-inset-bottom));
  width: clamp(122px, 21vmin, 254px);
  aspect-ratio: 221.3 / 51.1;
  color: var(--ink);
  pointer-events: none;
}
.signature svg { display: block; width: 100%; height: 100%; overflow: visible; }
.signature .ink { fill: currentColor; }

/* look-dev panel (?debug) */
.debug {
  position: fixed;
  left: 12px;
  bottom: 12px;
  width: 220px;
  padding: 10px 12px;
  display: grid;
  gap: 8px;
  font: 12px/1.3 ui-monospace, Menlo, monospace;
  color: #2b2b2b;
  background: rgba(245, 240, 228, 0.88);
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}
.debug label { display: grid; gap: 3px; }
.debug input[type="range"] { width: 100%; }
.debug .stats { opacity: 0.7; }
