/* x-mint.css — the tally sheet, the stamp, the test pages */
.xtallywrap { max-width: 1040px; margin: 44px auto 0; display: block; }
.xtally { padding: 30px 36px 26px; }
.xtallyhead { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; font-size: 20px; margin-bottom: 12px; }
.xtallyhead .xleft { font-size: 64px; line-height: 1; color: var(--loud); }
.xtallyhead .hand-live { font-family: Kalam, cursive; font-weight: 700; }
.xtallynote { font-size: 15px; opacity: .8; }
.xtallysvg { display: block; max-width: 100%; overflow: visible; }
.xtallysvg use { opacity: 0; }
.xtallysvg.on use { opacity: 1; transition: opacity .18s ease-out; transition-delay: calc(var(--i, 0) * 9ms); }
.xtallysvg .xstruck path { stroke-dasharray: none; stroke-dashoffset: 0; animation: none; }
.xtallyfoot { margin-top: 14px; }
.xdesk { position: relative; max-width: 760px; margin: 0 auto; min-height: 360px; }
.xdeskhint { position: absolute; left: 0; top: 18px; color: var(--grey); }
.xpage { position: absolute; width: var(--w, 240px); z-index: 4; filter: var(--sh-print); }
.xpage.down { z-index: 5; }
.xpage .print { cursor: default; }
.xpage .xsample.hand-live { position: absolute; left: 12px; top: 2px; font-size: 40px; line-height: 1; color: var(--loud); transform: rotate(-8deg); font-family: Kalam, cursive; font-weight: 700; z-index: 2; pointer-events: none; }
.xpage .xtest { bottom: -8px; font-size: 12px; color: var(--grey); }
.xstamp { position: absolute; font-size: 34px; line-height: 1.1; padding: 4px 14px; z-index: 6; pointer-events: none; white-space: nowrap; }
.xink { position: absolute; width: 200px; height: 100px; pointer-events: none; z-index: 5; }
.xink svg { position: absolute; }
.xlamp { position: absolute; top: 0; bottom: 0; left: -12%; width: 10%; background: rgba(255, 255, 255, .85); opacity: 0; pointer-events: none; z-index: 7; }
.xlamp.go { animation: sweep 1.2s linear 1; }
.xul { pointer-events: none; }
@media (max-width: 720px) {
  .xtally { padding: 22px 16px 20px; }
  .xtallyhead .xleft { font-size: 48px; }
  .xdesk { min-height: 300px; }
  .xpage .xsample { font-size: 30px; }
  .xstamp { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .xtallysvg use { opacity: 1; transition: none; }
  .xlamp.go { animation: none; }
}
