/* generated by tools/build_site.mjs from web/css/jelly.css - edit that file, not this one */
/* chessko — one jelly mold, viewed from above.
 *
 * Design notes (why these choices, not the defaults):
 *   * Subject is jelly, so every surface is a translucent gummy solid: lime jelly and
 *     strawberry jelly squares, milk-jelly and blackcurrant-jelly pieces, sitting on a
 *     lilac "tray" (a mould, not a hero gradient).
 *   * Neutrals are hue-biased (plum ink on lilac paper) instead of near-black on cream.
 *   * Depth comes from rim light + inner gloss, never from purple glows or card shadows.
 *   * Only real state is animated: hover squish, press squish, the engine's thinking wobble.
 */

/* Self-hosted type (all SIL Open Font License; latin subset): nothing is fetched from a CDN. */
@font-face {
  font-family: "Baloo 2";
  src: url("../fonts/baloo-2-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

.ck {
  /* tray + surfaces */
  --tray: #f8f2fb;
  --tray-deep: #efe3f6;
  --surface: #fffaf6;
  --surface-2: #fdf1f5;
  --rim: #e8d6ee;

  /* ink (plum-biased neutrals) */
  --ink: #3a1f34;
  --ink-soft: #6b4a63;
  --ink-faint: #8d7186;

  /* flavours */
  --lime: #5fd39a;
  --lime-deep: #2fae76;
  --lime-pale: #d8f8e4;
  --straw: #e0567c;
  --straw-deep: #b93a60;
  --straw-pale: #ffe0e9;
  --currant: #4a2242;
  --milk: #fffdf8;

  /* jelly behaviour */
  --press: scale(0.94) scaleY(1.06);
  --squish: cubic-bezier(0.34, 1.56, 0.64, 1);
  --focus: 0 0 0 3px var(--surface), 0 0 0 6px var(--lime-deep);

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 26px;
  --radius-pill: 999px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 18px;
  --space-5: 26px;
  --space-6: 38px;

  --font-display:
    "Baloo 2", ui-rounded, "Segoe UI Variable", "Trebuchet MS", system-ui,
    sans-serif;
  --font-ui:
    "Nunito", ui-rounded, -apple-system, "Segoe UI", system-ui, sans-serif;

  --shadow-squish:
    inset 0 -3px 0 rgba(58, 31, 52, 0.08),
    0 6px 14px -8px rgba(58, 31, 52, 0.45);
}

.ck, .ck * {
  box-sizing: border-box;
}

.ck,
.ck {
  margin: 0;
}

.ck {
  min-height: 100vh;
  background:
    radial-gradient(120% 80% at 12% 4%, var(--straw-pale) 0%, transparent 55%),
    radial-gradient(110% 70% at 92% 96%, var(--lime-pale) 0%, transparent 52%),
    linear-gradient(180deg, var(--tray) 0%, var(--tray-deep) 100%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.ck .sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.ck .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.ck :focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: var(--radius-s);
}

/* ------------------------------------------------------------------ mould */
.ck .mold {
  max-width: 1080px;
  margin: 0 auto;
  padding: var(--space-6) var(--space-4) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.ck .masthead {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.ck .wordmark {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 9vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  /* solid jelly colour plus rim-light shadows: reliable to paint, and it reads as
     translucent gummy type without relying on background-clip:text (see the fix note) */
  color: var(--straw-deep);
  text-shadow:
    0 1px 0 #ffd9e3,
    0 -1px 0 rgba(255, 255, 255, 0.5),
    0 4px 0 rgba(185, 58, 96, 0.28),
    0 12px 20px rgba(185, 58, 96, 0.32);
  transform-origin: 50% 80%;
}
.ck .wordmark .glyph {
  display: inline-block;
  animation: ck-jiggle 4.2s var(--squish) infinite;
}
.ck .wordmark .glyph:nth-child(2n) {
  animation-delay: 0.18s;
}
.ck .wordmark .glyph:nth-child(3n) {
  animation-delay: 0.36s;
}
.ck .wordmark .glyph:nth-child(5n) {
  animation-delay: 0.54s;
}

.ck .tagline {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  max-width: 46ch;
  align-self: center;
}

.ck .panes {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: var(--space-5);
  align-items: start;
}

@media (max-width: 880px) {
  .ck .panes {
    grid-template-columns: minmax(0, 1fr);
  }
  .ck .mold {
    padding-top: var(--space-5);
  }
}

/* ------------------------------------------------------------------ board */
.ck .board-pane {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.ck .board-shell {
  display: flex;
  justify-content: center;
}

.ck .board {
  width: min(78vw, 560px);
  aspect-ratio: 1;
  padding: var(--space-3);
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(8, 1fr);
  gap: 4px;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.92),
    rgba(253, 233, 241, 0.86)
  );
  border: 1px solid var(--rim);
  border-radius: var(--radius-l);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.9),
    inset 0 -14px 22px -18px rgba(58, 31, 52, 0.5),
    0 22px 34px -26px rgba(58, 31, 52, 0.65);
}
@media (max-width: 880px) {
  .ck .board {
    width: min(92vw, 520px);
  }
}

.ck .sq {
  --tint: var(--lime);
  --deep: #1f9a66; /* the denser colour jelly turns where it is thick */
  --lit: #eafff2; /* the colour of light that has travelled through it */
  position: relative;
  border: 0;
  padding: 0;
  border-radius: var(--radius-s);
  cursor: pointer;
  display: grid;
  place-items: center;
  transform-origin: 50% 90%;
  transition:
    transform 260ms var(--squish),
    filter 140ms ease,
    box-shadow 140ms ease;
  background-color: var(--tint);
  /* top to bottom: pin-point glint, window-light sheen, light pooled at the bottom edge
     (transmission), and a vertical density ramp */
  background-image:
    radial-gradient(
      ellipse 24% 8% at 27% 13%,
      rgba(255, 255, 255, 0.98),
      rgba(255, 255, 255, 0)
    ),
    radial-gradient(
      120% 62% at 30% 4%,
      rgba(255, 255, 255, 0.8) 0%,
      rgba(255, 255, 255, 0.28) 42%,
      rgba(255, 255, 255, 0) 66%
    ),
    radial-gradient(
      90% 55% at 50% 112%,
      color-mix(in srgb, var(--lit) 70%, transparent) 0%,
      transparent 72%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.2) 0%,
      rgba(255, 255, 255, 0) 38%,
      color-mix(in srgb, var(--deep) 50%, transparent) 100%
    );
  box-shadow:
    inset 0 2px 1px rgba(255, 255, 255, 0.95),
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    inset 0 -11px 15px -9px var(--deep),
    0 7px 9px -8px var(--deep);
}
.ck .sq.light {
  --tint: var(--lime);
}
.ck .sq.dark {
  --tint: var(--straw);
  --deep: #a52b52;
  --lit: #ffd3df;
}
.ck .sq:hover {
  transform: translateY(-2px) scale(1.03, 1.02);
}
.ck .sq:active {
  transform: var(--press);
}
.ck .sq:hover .piece:not(.dragging) {
  animation: ck-sway 900ms var(--squish) both;
}

.ck .sq.last::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: var(--radius-s);
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.6);
  pointer-events: none;
}
.ck .sq.picked {
  filter: saturate(1.25) brightness(1.06);
}
.ck .sq.picked::after {
  content: "";
  position: absolute;
  inset: 4%;
  border-radius: var(--radius-s);
  box-shadow: inset 0 0 0 3px var(--ink);
  opacity: 0.55;
  pointer-events: none;
}
.ck .sq.target {
  cursor: copy;
}
.ck .sq.target::after {
  content: "";
  position: absolute;
  width: 30%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 2px 6px -2px rgba(58, 31, 52, 0.6);
  pointer-events: none;
  animation: ck-plop 220ms var(--squish) both;
}
.ck .sq.attack::after {
  width: 72%;
  background: transparent;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.7);
}
.ck .sq.check {
  box-shadow:
    inset 0 0 0 3px var(--straw-deep),
    0 0 14px rgba(185, 58, 96, 0.55);
}
.ck .sq.hint::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: var(--radius-s);
  box-shadow: inset 0 0 0 4px var(--lime-deep);
  opacity: 0.85;
  pointer-events: none;
}

.ck .sq::before,
.ck .sq::after {
  z-index: 0;
}
.ck .piece {
  position: relative;
  z-index: 1;
  width: 90%;
  height: 90%;
  display: block;
  overflow: visible;
  /* jelly is anchored: it pivots on its plinth, not its middle */
  transform-origin: 50% 92%;
  filter: drop-shadow(0 3px 2px rgba(58, 31, 52, 0.38));
  animation: ck-settle 620ms both;
  will-change: transform;
}
/* the piece being held wobbles gently until it is put down */
.ck .sq.picked .piece:not(.dragging) {
  animation: ck-held 1.5s ease-in-out infinite;
}
/* a captured piece flattens into the square before it fades */
.ck .piece.ghost {
  position: absolute;
  inset: 5%;
  width: 90%;
  height: 90%;
  z-index: 2;
  pointer-events: none;
  animation: ck-splat 520ms cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

.ck .piece.dragging {
  animation: none;
  transform: scale(1.08) rotate(-3deg);
}
.ck .sq.landed .piece:not(.ghost) {
  animation: ck-land 900ms both;
}
/* the shock travels outward through the neighbouring squares */
.ck .sq.jolt {
  animation: ck-jolt 620ms ease-out both;
  animation-delay: calc(var(--ring, 1) * 70ms);
}
.ck .board-shell.thump .board {
  animation: ck-thump 520ms var(--squish);
}

.ck .board-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;
}

.ck .chip {
  font-size: 0.86rem;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--rim);
  border-radius: var(--radius-pill);
  padding: 5px 12px;
}
.ck .chip b {
  color: var(--ink);
}
.ck #think-chip {
  background: var(--lime-pale);
  border-color: var(--lime);
  color: var(--lime-deep);
  animation: ck-breathe 1.1s ease-in-out infinite;
}

/* ------------------------------------------------------------------- panel */
.ck .panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.ck .status-card {
  background: var(--surface);
  border: 1px solid var(--rim);
  border-radius: var(--radius-m);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  box-shadow: var(--shadow-squish);
}
.ck .status {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.18rem;
  line-height: 1.3;
}
.ck .status.warn {
  color: var(--straw-deep);
}
.ck .status.good {
  color: var(--lime-deep);
}

.ck .controls {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.ck .jbtn {
  font: inherit;
  font-weight: 700;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, var(--lime-pale) 100%);
  border: 1px solid rgba(47, 174, 118, 0.4);
  border-radius: var(--radius-pill);
  padding: 9px 16px;
  cursor: pointer;
  transition:
    transform 120ms var(--squish),
    box-shadow 120ms ease;
  box-shadow:
    inset 0 1px 0 #fff,
    0 4px 10px -6px rgba(58, 31, 52, 0.6);
}
.ck .jbtn:hover {
  transform: translateY(-1px) scale(1.03);
}
.ck .jbtn:active {
  transform: var(--press);
}
.ck .jbtn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}
.ck .jbtn.small {
  font-size: 0.85rem;
  padding: 6px 12px;
}
.ck .jbtn.ghost {
  background: rgba(255, 255, 255, 0.7);
  box-shadow: none;
}

.ck .panel-title {
  margin: var(--space-2) 0 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

/* level scoops -------------------------------------------------------- */
.ck .levels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: var(--space-2);
}

.ck .scoop {
  --blob: 30px;
  font: inherit;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--rim);
  border-radius: var(--radius-m);
  padding: var(--space-3) var(--space-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition:
    transform 140ms var(--squish),
    background 160ms ease,
    border-color 160ms ease;
}
.ck .scoop:hover {
  transform: translateY(-2px) scale(1.02);
}
.ck .scoop:active {
  transform: var(--press);
}
.ck .scoop .blob {
  width: var(--blob);
  height: var(--blob);
  border-radius: 46% 54% 52% 48% / 52% 46% 54% 48%;
  background: radial-gradient(
    circle at 34% 30%,
    #fff 0%,
    var(--lime) 45%,
    var(--lime-deep) 100%
  );
  box-shadow:
    inset 0 -4px 6px -4px rgba(58, 31, 52, 0.5),
    0 4px 8px -6px rgba(58, 31, 52, 0.7);
  animation: ck-hula 6s ease-in-out infinite;
}
.ck .scoop[data-level="1"] .blob {
  --blob: 20px;
}
.ck .scoop[data-level="2"] .blob {
  --blob: 24px;
}
.ck .scoop[data-level="3"] .blob {
  --blob: 28px;
}
.ck .scoop[data-level="4"] .blob {
  --blob: 32px;
}
.ck .scoop[data-level="5"] .blob {
  --blob: 36px;
  background: radial-gradient(
    circle at 34% 30%,
    #fff 0%,
    var(--straw) 42%,
    var(--straw-deep) 100%
  );
}
.ck .scoop[data-level="6"] .blob,
.ck .scoop[data-level="7"] .blob {
  --blob: 40px;
  background: radial-gradient(
    circle at 34% 30%,
    #fff 0%,
    #a5629f 40%,
    var(--currant) 100%
  );
}
.ck .scoop[data-level="7"] .blob {
  --blob: 44px;
  animation: none; /* set in stone: it does not wobble */
  border-radius: 50%;
}
.ck .scoop .scoop-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  line-height: 1.1;
}
.ck .scoop .scoop-tag {
  font-size: 0.72rem;
  color: var(--ink-faint);
  text-align: center;
}
.ck .scoop[aria-checked="true"] {
  background: linear-gradient(180deg, #fff 0%, var(--lime-pale) 100%);
  border-color: var(--lime-deep);
  box-shadow: inset 0 0 0 2px var(--lime-deep);
}
.ck .scoop[aria-checked="true"] .blob {
  animation-duration: 2.4s;
}
.ck .scoop.nudged {
  border-color: var(--straw);
  box-shadow: inset 0 0 0 2px var(--straw);
}
.ck .level-note {
  margin: 0;
  font-size: 0.84rem;
  color: var(--ink-soft);
}

.ck .check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--ink-soft);
}
.ck .check input {
  inline-size: 17px;
  block-size: 17px;
  accent-color: var(--lime-deep);
}

/* eval tube ----------------------------------------------------------- */
.ck .tube {
  position: relative;
  height: 30px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--rim);
  overflow: hidden;
  box-shadow: inset 0 2px 6px -3px rgba(58, 31, 52, 0.5);
}
.ck .tube-fill {
  position: relative;
  height: 100%;
  width: 50%;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.55) 0%,
      rgba(255, 255, 255, 0) 46%,
      rgba(58, 31, 52, 0.22) 100%
    ),
    linear-gradient(90deg, var(--straw) 0%, var(--straw-deep) 100%);
  box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.7);
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
  transition: width 700ms var(--squish);
}
.ck .tube-fill::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 8px;
  right: 14px;
  height: 5px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.55);
}
.ck .tube-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}
.ck .fineprint {
  margin: 0;
  font-size: 0.8rem;
  color: var(--ink-faint);
}

/* moves --------------------------------------------------------------- */
.ck .moves {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  min-height: 34px;
  max-height: 128px;
  overflow-y: auto;
}
.ck .move-pill {
  font-size: 0.82rem;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--rim);
}
.ck .move-pill.you {
  background: var(--lime-pale);
  border-color: rgba(47, 174, 118, 0.5);
}
.ck .move-pill.engine {
  background: var(--straw-pale);
  border-color: rgba(185, 58, 96, 0.35);
}
.ck .move-pill.thinking {
  font-style: italic;
  color: var(--ink-faint);
}

/* nibs (details sections) --------------------------------------------- */
.ck .nib {
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid var(--rim);
  border-radius: var(--radius-m);
  padding: var(--space-3) var(--space-4);
}
.ck .nib > summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 2px 0;
}
.ck .nib > summary::marker {
  color: var(--lime-deep);
}
.ck .nib-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-top: var(--space-3);
}

.ck .stats {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px var(--space-3);
  margin: 0;
  font-size: 0.84rem;
}
.ck .stats dt {
  color: var(--ink-faint);
}
.ck .stats dd {
  margin: 0;
  font-weight: 700;
}

.ck .bandit {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
}
.ck .bandit-row {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: var(--space-2);
  align-items: center;
}
.ck .bandit-bar {
  height: 10px;
  border-radius: var(--radius-pill);
  background: rgba(58, 31, 52, 0.08);
  overflow: hidden;
}
.ck .bandit-bar > span {
  display: block;
  height: 100%;
  background: var(--lime-deep);
  border-radius: inherit;
}
.ck .bandit-nudge {
  color: var(--straw-deep);
  font-weight: 700;
}
.ck .bandit-nudge button {
  font: inherit;
}

.ck .features {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.78rem;
}
.ck .feature-row {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: var(--space-2);
  align-items: center;
}
.ck .feature-bar {
  height: 8px;
  border-radius: var(--radius-pill);
  background: rgba(58, 31, 52, 0.08);
  overflow: hidden;
  position: relative;
}
.ck .feature-bar > span {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  background: var(--straw);
  border-radius: inherit;
}
.ck .feature-bar > span.neg {
  background: var(--lime-deep);
}

.ck .spark {
  width: 100%;
  height: 32px;
}
.ck .spark path {
  fill: none;
  stroke: var(--lime-deep);
  stroke-width: 2;
}
.ck .algs {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ck .algs b {
  color: var(--ink);
}
.ck .recent {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.ck .field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.82rem;
  color: var(--ink-soft);
}
.ck .field input {
  font: inherit;
  font-size: 0.85rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--rim);
  border-radius: var(--radius-s);
  padding: 8px 10px;
}

/* dialogs ------------------------------------------------------------- */
.ck .jelly-dialog {
  border: 1px solid var(--rim);
  border-radius: var(--radius-l);
  padding: var(--space-4) var(--space-5);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 26px 50px -30px rgba(58, 31, 52, 0.8);
}
.ck .jelly-dialog::backdrop {
  background: rgba(58, 31, 52, 0.28);
  backdrop-filter: blur(3px);
}
.ck .jelly-dialog h2 {
  margin: 0 0 var(--space-3);
  font-family: var(--font-display);
  font-size: 1.2rem;
}
.ck .jelly-dialog form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.ck .promo-picks {
  display: flex;
  gap: var(--space-2);
}
.ck .promo-pick {
  width: 62px;
  height: 62px;
  padding: 4px;
  border-radius: var(--radius-m);
  border: 1px solid var(--rim);
  background: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: transform 120ms var(--squish);
}
.ck .promo-pick:hover {
  transform: translateY(-2px) scale(1.04);
}
.ck .promo-pick:active {
  transform: var(--press);
}

.ck .footer {
  text-align: center;
  font-size: 0.78rem;
  color: var(--ink-faint);
}
.ck .footer p {
  margin: 0;
}

/* motion -------------------------------------------------------------- */
@keyframes ck-jiggle {
  0%,
  62%,
  100% {
    transform: translateY(0) scale(1, 1);
  }
  70% {
    transform: translateY(-3px) scale(1.04, 0.94);
  }
  78% {
    transform: translateY(1px) scale(0.97, 1.04);
  }
  86% {
    transform: translateY(0) scale(1.01, 0.99);
  }
}
@keyframes ck-hula {
  0%,
  100% {
    border-radius: 46% 54% 52% 48% / 52% 46% 54% 48%;
  }
  50% {
    border-radius: 54% 46% 44% 56% / 44% 56% 46% 54%;
  }
}
/* Jelly is a damped spring: the squash and stretch alternate and each swing is smaller than the
   last. Vertical scale and horizontal scale are kept roughly volume-preserving (x * y ~ 1) and the
   piece leans (skew) on the same beat, pivoting from its plinth. */
@keyframes ck-settle {
  0% {
    transform: translateY(-16%) scale(0.82, 1.22);
    opacity: 0;
  }
  22% {
    transform: translateY(0) scale(1.2, 0.8);
    opacity: 1;
  }
  40% {
    transform: scale(0.9, 1.12) skewX(-2deg);
  }
  58% {
    transform: scale(1.07, 0.94) skewX(1.6deg);
  }
  76% {
    transform: scale(0.98, 1.03) skewX(-0.8deg);
  }
  100% {
    transform: scale(1, 1) skewX(0);
  }
}
@keyframes ck-land {
  0% {
    transform: translateY(-22%) scale(0.8, 1.26);
  }
  16% {
    transform: translateY(0) scale(1.28, 0.7);
  }
  32% {
    transform: scale(0.85, 1.2) skewX(-4deg);
  }
  48% {
    transform: scale(1.12, 0.88) skewX(3deg);
  }
  64% {
    transform: scale(0.95, 1.07) skewX(-1.6deg);
  }
  80% {
    transform: scale(1.03, 0.98) skewX(0.7deg);
  }
  100% {
    transform: scale(1, 1) skewX(0);
  }
}
@keyframes ck-sway {
  0% {
    transform: scale(1, 1) skewX(0);
  }
  20% {
    transform: scale(1.06, 0.93) skewX(-3deg);
  }
  45% {
    transform: scale(0.97, 1.05) skewX(2.4deg);
  }
  70% {
    transform: scale(1.02, 0.99) skewX(-1deg);
  }
  100% {
    transform: scale(1, 1) skewX(0);
  }
}
@keyframes ck-held {
  0%,
  100% {
    transform: scale(1.04, 0.99) skewX(-1.6deg);
  }
  50% {
    transform: scale(0.98, 1.05) skewX(1.6deg);
  }
}
@keyframes ck-splat {
  0% {
    transform: scale(1, 1);
    opacity: 1;
  }
  30% {
    transform: scale(1.5, 0.42);
    opacity: 1;
  }
  100% {
    transform: scale(1.9, 0.06);
    opacity: 0;
  }
}
@keyframes ck-jolt {
  0% {
    transform: scale(1, 1);
  }
  30% {
    transform: scale(0.955, 0.965) translateY(1px);
  }
  62% {
    transform: scale(1.02, 1.015);
  }
  100% {
    transform: scale(1, 1);
  }
}
@keyframes ck-thump {
  0% {
    transform: translateY(0) scale(1, 1);
  }
  25% {
    transform: translateY(3px) scale(1.01, 0.985);
  }
  55% {
    transform: translateY(-1.5px) scale(0.997, 1.007);
  }
  100% {
    transform: translateY(0) scale(1, 1);
  }
}
@keyframes ck-plop {
  0% {
    transform: scale(0.2);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes ck-breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ck, .ck *,
.ck *::before,
.ck *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

