/* v33 · the handwritten line under the diamond (handwrite.js). Kept out of styles.css
   on purpose: the .dia-* rules belong to the entrance stage. */
.hw-ready { line-height: 0; }
.hw-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.hw-ink { display: inline-block; vertical-align: middle; max-width: 100%; }

/* Reduced motion: the stone stays in profile beside the copy, so the face-up place
   (bottom centre) lands on the scroll cue and the lead. The finished line sits under
   the stone instead. diamond3d.js keeps writing opacity 0 inline here, hence !important. */
@media (prefers-reduced-motion: reduce) {
  .dia-line.hw-still {
    opacity: 1 !important; transform: translateX(-50%) !important;
    left: var(--dia-x, 25%); right: auto; bottom: auto; top: calc(var(--dia-y, 37%) + 17vh);
    width: min(44vw, 640px); padding: 0;
  }
}
@media (prefers-reduced-motion: reduce) and (max-width: 900px) {
  .dia-line.hw-still { left: 50%; top: calc(var(--dia-y, 28%) + 15svh); width: calc(100% - 2 * var(--s3)); }
}
