/* Pickle Payday poll, shared base: brand tokens, reset, the slot digits, the theme button, reduced motion. */
:root {
  --cobalt: #2457A3; --c900: #1B3F78; --c800: #1F4D8C; --c600: #3A6FBF; --c500: #4F82CC;
  --cream: #F2EEDC; --lime: #D6F08A; --pickle: #7CC242; --mint: #8FD3AE; --ink: #111111; --night: #0F1F19;
  --display: 'Panchang', 'General Sans', system-ui, sans-serif;
  --body: 'General Sans', system-ui, sans-serif;
  --spring: cubic-bezier(.3, 1.35, .5, 1);
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: var(--body); font-size: 17px; line-height: 1.4; font-weight: 500;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow: hidden; -webkit-tap-highlight-color: transparent;
}
html:not(.ready) body { visibility: hidden; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
button:disabled { cursor: default; }
input, textarea { font-size: 17px; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.stage { position: relative; width: 100%; height: 100%; overflow: hidden; }
.screen { position: absolute; inset: 0; display: flex; flex-direction: column; will-change: transform; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* every press target: pressed scale, then a spring release (core.js springPress) */
.press { transition: transform .09s ease-out, background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease); }
.press.is-down { transform: scale(.93); }

/* the slot: soft-edged digit windows (shared by every direction) */
.slot { display: inline-flex; align-items: baseline; line-height: 1; white-space: nowrap; }
.slot-ch { display: inline-block; }
.slot-col {
  position: relative; display: inline-block; height: 1.3em; margin: -.15em -.25em; padding: 0 .25em; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
}
.slot-sizer { display: block; visibility: hidden; height: 1em; margin-top: .15em; }
.slot-strip { position: absolute; left: 0; right: 0; top: .15em; text-align: center; }
.slot-d { display: block; height: 1em; }

/* theme button (inside every direction's top bar) */
.theme-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.theme-btn .i-moon { display: none; }
[data-theme="dark"] .theme-btn .i-sun { display: none; }
[data-theme="dark"] .theme-btn .i-moon { display: block; }
.theme-btn span { display: grid; place-items: center; }

/* the wordmark, set like the cover: PICKLE in cream over PAYDAY in lime, both stretched tall (cover k 1.85) */
.wordmark { display: block; }
.wordmark text { font-family: var(--display); font-weight: 800; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.still *, .still *::before, .still *::after { animation: none !important; transition: none !important; }
.wm-p { fill: var(--wm-p, var(--cream)); }
.wm-d { fill: var(--wm-d, var(--lime)); }
.logo-slot { display: flex; align-items: center; }
.logo-avatar { display: block; border-radius: 50%; object-fit: cover; flex: none; }
.q-help, .lede { white-space: pre-line; }
