:root {
  --paper: #fbfcf5;
  --ink-faint: rgba(28, 28, 24, 0.3);
}

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

html,
body {
  height: 100%;
}

body {
  background-color: var(--paper);
  background-image:
    linear-gradient(to right, #fff 1px, transparent 1px),
    linear-gradient(to bottom, #fff 1px, transparent 1px);
  background-size: 10px 10px;
  overflow: hidden;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.watch {
  position: absolute;
  top: 0;
  left: 0;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  will-change: transform;
}

.watch.is-grabbing {
  cursor: grabbing;
}

.watch:focus-visible {
  outline: 2px solid rgba(28, 28, 24, 0.45);
  outline-offset: 6px;
  border-radius: 50%;
}

.watch canvas {
  display: block;
}

.hint {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.hint.is-gone {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .hint {
    transition: none;
  }
}
