/* Quizpipe: a sign wall on a phosphor terminal. Flat blocks, strict grid, no tilt. */

[hidden] { display: none !important; }

* { box-sizing: border-box; }

html {
  height: 100%;
  background-color: var(--ak-bg);
}

body {
  height: 100%;
  margin: 0;
  overflow: hidden;
  background-color: var(--ak-bg);
  background-image: var(--ak-backdrop-layer, none);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  color: var(--ak-ink);
  font-family: var(--ak-font-body, monospace);
  -webkit-text-size-adjust: 100%;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: var(--ak-bg-art);
  background-size: var(--ak-bg-size);
  pointer-events: none;
}

button { font: inherit; border-radius: 0; }

.boot-error {
  position: relative;
  margin: 24px;
  padding: 12px 16px;
  background: var(--ak-surface);
  color: var(--ak-ink);
  border-left: 8px solid var(--ak-accent);
  font-size: 18px;
}

/* ---- sizes ------------------------------------------------------------ */

.app {
  --gx: max(10px, env(safe-area-inset-left), env(safe-area-inset-right));
  --gt: max(12px, env(safe-area-inset-top));
  --gb: max(8px, env(safe-area-inset-bottom));
  --top: calc(var(--gt) + 48px);
  --feed: 14px;
  --qh: 72px;
  --ah: 54px;
  --status-h: 80px;
  --ctl-h: 52px;
  --gap: 6px;
  --gap2: 14px;
  --bw: 8px;
  --bb: 14px;
  --pw: min(calc(100dvw - 2 * var(--gx)), 560px);
  --cell: min(
    calc(var(--pw) / var(--n)),
    calc((100dvh - var(--top) - var(--qh) - var(--ah) - 2 * var(--feed) - var(--status-h) - var(--ctl-h) - 2 * var(--gap) - var(--gb) - 4px) / var(--n)),
    92px
  );
  --board: calc(var(--n) * var(--cell));
}

@media (max-height: 700px) {
  .app {
    --qh: 60px;
    --ah: 46px;
    --feed: 12px;
    --gap: 5px;
    --status-h: 76px;
    --ctl-h: 50px;
  }
}

@media (orientation: landscape) {
  .app {
    --side: clamp(84px, 13dvw, 150px);
    --panel: clamp(150px, 23dvw, 300px);
    --cell: min(
      calc((100dvh - var(--gb) - 14px) / var(--n)),
      calc((100dvw - 2 * var(--gx) - 2 * var(--side) - 2 * var(--feed) - var(--panel) - var(--gap2)) / var(--n)),
      92px
    );
  }
}

/* ---- frame ------------------------------------------------------------ */

.app {
  position: relative;
  z-index: 1;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 0 var(--gx) var(--gb);
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.top {
  flex: none;
  height: var(--top);
  padding-top: var(--gt);
  display: flex;
  align-items: center;
  gap: 10px;
}

.mute {
  flex: none;
  width: 48px;
  height: 48px;
  padding: 0;
  display: grid;
  place-items: center;
  background: var(--ak-surface);
  color: var(--ak-ink);
  border: 3px solid var(--ak-accent);
  cursor: pointer;
  touch-action: manipulation;
}
.mute svg { width: 26px; height: 26px; }
.mute[aria-pressed="true"] { border-color: var(--ak-choice-border); color: var(--ak-ink-muted); }

.logo {
  display: block;
  height: 34px;
  width: auto;
  max-width: 44dvw;
  object-fit: contain;
}

.round {
  margin: 0 56px 0 auto;
  font-family: var(--ak-font-display);
  font-size: 18px;
  letter-spacing: 0.1em;
  color: var(--ak-ink-muted);
  white-space: nowrap;
}

.brand { display: none; }

.stage {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--gap);
}

@media (orientation: landscape) {
  .top {
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    padding: 0;
    z-index: 5;
  }
  .mute {
    position: absolute;
    left: var(--gx);
    top: var(--gt);
  }
  .top .logo,
  .top .round { display: none; }
  .stage {
    flex-direction: row;
    gap: var(--gap2);
    padding-top: 6px;
  }
  .brand {
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 0 58px 2px 8px;
  }
  .brand .logo { height: 30px; }
  .brand .round { margin: 0; font-size: 17px; }
  .q {
    align-self: end;
    height: calc(var(--board) - var(--top) + 6px);
  }
}

/* ---- board ------------------------------------------------------------ */

.board {
  position: relative;
  display: grid;
  grid-template-columns: var(--pw);
  grid-template-rows: var(--qh) var(--feed) var(--board) var(--feed) var(--ah);
  flex: none;
}

@media (orientation: landscape) {
  .board {
    grid-template-columns: var(--side) var(--feed) var(--board) var(--feed) var(--side);
    grid-template-rows: var(--board);
  }
}

.q,
.grid,
.answers { position: relative; z-index: 1; }

.q { grid-row: 1; grid-column: 1; }
.grid { grid-row: 3; grid-column: 1; justify-self: center; }
.answers { grid-row: 5; grid-column: 1; }

@media (orientation: landscape) {
  .q { grid-row: 1; grid-column: 1; }
  .grid { grid-row: 1; grid-column: 3; justify-self: stretch; }
  .answers { grid-row: 1; grid-column: 5; }
}

.wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 0;
}
.wires .wb { fill: none; stroke: var(--ak-choice-border); stroke-linejoin: miter; stroke-linecap: butt; }
.wires .wc { fill: none; stroke: var(--ak-choice-border); stroke-linejoin: miter; stroke-linecap: butt; }
.wires .w.wet .wb { stroke: var(--ak-accent); }
.wires .w.wet .wc { stroke: var(--ak-ink); }

/* ---- signs ------------------------------------------------------------ */

.sign {
  position: relative;
  container-type: size;
  min-width: 0;
  min-height: 0;
}

.sign > .frame {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100cqw;
  height: 100cqh;
  translate: -50% -50%;
  border-style: solid;
  background-clip: padding-box;
  pointer-events: none;
}

@media (orientation: landscape) {
  .sign > .frame {
    width: 100cqh;
    height: 100cqw;
    rotate: -90deg;
  }
}

.q > .frame {
  border-width: var(--bw) var(--bw) var(--bb) var(--bw);
  border-image: url("art/question-block.png") 24 24 40 24 stretch;
  background-color: color-mix(in srgb, var(--ak-accent) 60%, var(--ak-bg));
}

.q .in {
  position: absolute;
  inset: var(--bw) var(--bw) var(--bb) var(--bw);
  display: flex;
  align-items: stretch;
  gap: 8px;
  padding: 3px;
}

.q .arrow {
  flex: none;
  width: 30px;
  display: grid;
  place-items: center;
  color: var(--ak-ink);
}
.q .arrow svg { width: 26px; height: 30px; }

.q .plate {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  padding: 2px 8px;
  background: var(--ak-surface);
  color: var(--ak-ink);
  font-family: var(--ak-font-display);
  font-size: var(--qfs, 19px);
  line-height: 1.05;
}
.q .plate p { margin: 0; }

@media (orientation: landscape) {
  .q > .frame { border-width: var(--bw) var(--bb) var(--bw) var(--bw); }
  .q .in {
    inset: var(--bw) var(--bb) var(--bw) var(--bw);
    flex-direction: column;
  }
  .q .arrow { width: auto; height: 30px; }
  .q .arrow svg { transform: rotate(-90deg); }
  .q .plate { align-items: flex-start; padding: 8px; }
}

.answers {
  display: grid;
  grid-template-columns: repeat(var(--k), 1fr);
  grid-template-rows: 100%;
}

@media (orientation: landscape) {
  .answers {
    grid-template-columns: 100%;
    grid-template-rows: repeat(var(--k), 1fr);
  }
}

.a { margin: 0 3px; }

@media (orientation: landscape) {
  .a { margin: 3px 0; }
}

.a > .frame {
  border-width: 9px;
  border-image: url("art/answer-sign.png") 26 stretch;
  background-color: var(--ak-surface);
}

.a .in {
  position: absolute;
  inset: 9px;
  display: flex;
  align-items: center;
  padding: 0 3px;
  min-width: 0;
}

.a .face,
.a .verdict {
  display: flex;
  align-items: center;
  gap: 5px;
  width: 100%;
  min-width: 0;
}
.a .verdict { display: none; }
.a.is-verdict .face { display: none; }
.a.is-verdict .verdict { display: flex; }

.a .num {
  flex: none;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ak-accent);
  color: var(--ak-ink);
  font-family: var(--ak-font-display);
  font-size: 18px;
  line-height: 1;
}

.a .txt,
.a .word {
  min-width: 0;
  font-family: var(--ak-font-display);
  font-size: 19px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--ak-ink);
  overflow-wrap: anywhere;
}

.a .mark {
  flex: none;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
}
.a .mark svg { width: 16px; height: 16px; }

.a.wet > .frame { background-color: var(--ak-choice-selected-bg); }
.a.wet .num { border-color: var(--ak-choice-selected-ink); color: var(--ak-choice-selected-ink); }
.a.wet .txt { color: var(--ak-choice-selected-ink); }

.a.right > .frame { background-color: var(--ak-surface); }
.a.right .mark { background: var(--ak-accent-2); color: var(--ak-btn-ink); }
.a.wrong > .frame {
  background-color: var(--ak-surface);
  background-image: repeating-linear-gradient(135deg, transparent 0 7px, color-mix(in srgb, var(--ak-ink) 22%, transparent) 7px 14px);
}
.a.wrong .mark { border: 2px solid var(--ak-ink); color: var(--ak-ink); }

/* ---- tiles ------------------------------------------------------------ */

.grid {
  display: grid;
  grid-template-columns: repeat(var(--n), var(--cell));
  grid-template-rows: repeat(var(--n), var(--cell));
  background: var(--ak-surface);
  outline: 3px solid var(--ak-accent);
  outline-offset: 0;
}

.tile {
  position: relative;
  width: calc(var(--cell) - 2px);
  height: calc(var(--cell) - 2px);
  margin: 1px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  touch-action: manipulation;
}
.tile.is-blank,
.tile.is-locked { cursor: default; }
.tile:focus-visible { outline: 3px solid var(--ak-focus); outline-offset: 1px; z-index: 3; }

.tile svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.tile .plate { fill: var(--ak-bg); stroke: var(--ak-choice-border); stroke-width: 5; }
.tile.is-locked .plate { fill: color-mix(in srgb, var(--ak-ink) 16%, var(--ak-bg)); }
.tile.is-blank .plate { fill: none; stroke-dasharray: 7 7; stroke-width: 3; opacity: 0.55; }
.tile .slash { stroke: var(--ak-choice-border); stroke-width: 3; opacity: 0.55; }

.tile .pipe {
  transform-box: view-box;
  transform-origin: 50% 50%;
}
.tile .bar {
  fill: none;
  stroke: var(--ak-choice-border);
  stroke-width: 30;
  stroke-linejoin: miter;
  stroke-linecap: butt;
}
.tile .core {
  fill: none;
  stroke: var(--ak-choice-border);
  stroke-width: 8;
  stroke-linejoin: miter;
  stroke-linecap: butt;
}
.tile.is-wet .bar { stroke: var(--ak-accent); }
.tile.is-wet .core { stroke: var(--ak-ink); }
.tile.is-wet .plate { stroke: var(--ak-accent); }
.tile.is-done .plate { fill: color-mix(in srgb, var(--ak-accent) 24%, var(--ak-bg)); }

.tile .bolt { fill: var(--ak-ink-muted); }
.tile .slot { stroke: var(--ak-bg); stroke-width: 2.5; }

.tile .cap { fill: var(--ak-ink); display: none; }
.tile .cap.on { display: inline; }

.tile.is-flag {
  outline: 3px dashed var(--ak-ink);
  outline-offset: -2px;
  z-index: 2;
}
.tile.is-hint { z-index: 2; }

/* ---- panel ------------------------------------------------------------ */

.panel {
  flex: none;
  width: var(--pw);
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

@media (orientation: landscape) {
  .panel {
    width: var(--panel);
    height: var(--board);
  }
}

.status {
  position: relative;
  flex: none;
  height: var(--status-h);
  display: flex;
  gap: 10px;
  padding: 5px 10px 12px 10px;
  background: var(--ak-surface);
  color: var(--ak-ink);
  border-left: 8px solid var(--ak-accent);
  overflow: hidden;
}
.status::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--ak-accent) 0 calc(var(--flow, 0) * 100%), var(--ak-choice-border) 0);
  -webkit-mask: repeating-linear-gradient(90deg, var(--ak-ink) 0 11px, transparent 11px 14px);
  mask: repeating-linear-gradient(90deg, var(--ak-ink) 0 11px, transparent 11px 14px);
}
.status.is-wrong::after {
  background: repeating-linear-gradient(135deg, var(--ak-accent) 0 7px, var(--ak-bg) 7px 14px);
  -webkit-mask: none;
  mask: none;
}

.status .ico {
  flex: none;
  display: none;
  width: 40px;
  height: 40px;
  align-self: flex-start;
  margin-top: 3px;
  place-items: center;
  background: var(--ak-btn-fill);
  color: var(--ak-btn-ink);
}
.status .ico svg { width: 24px; height: 24px; }
.status.is-right .ico { background: var(--ak-accent-2); }
.status.is-wrong .ico { background: var(--ak-surface); color: var(--ak-ink); border: 3px solid var(--ak-ink); }

.status .body {
  flex: 1;
  min-width: 0;
  align-self: center;
}
.status .tag {
  display: inline-block;
  margin: 0 7px 0 0;
  padding: 1px 5px 0;
  border: 2px solid var(--ak-accent);
  font-family: var(--ak-font-display);
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.08em;
  vertical-align: 2px;
  color: var(--ak-ink);
}
.status .msg {
  margin: 0;
  font-family: var(--ak-font-display);
  font-size: 20px;
  line-height: 1.04;
  color: var(--ak-ink);
}
.status .tag.big {
  margin-right: 9px;
  border-color: var(--ak-accent-2);
  font-size: 22px;
  letter-spacing: 0.14em;
  vertical-align: 1px;
}

@media (max-height: 700px) and (orientation: portrait) {
  .status .msg { font-size: 18px; }
}

@media (orientation: landscape) {
  .status {
    flex: 1;
    height: auto;
    min-height: 0;
    padding-top: 8px;
  }
  .status .ico { display: grid; }
  .status .body { align-self: flex-start; padding-top: 2px; }
  .status .msg { font-size: 20px; }
}

@media (orientation: landscape) and (max-width: 820px) {
  .status .ico { display: none; }
}

@media (orientation: landscape) and (max-width: 720px) {
  .brand .round { display: none; }
  .brand .logo { height: 26px; }
  .status .msg { font-size: 18px; }
  .status { padding-left: 8px; padding-right: 6px; }
  .a .num { display: none; }
  .a .txt,
  .a .word { font-size: 18px; overflow-wrap: normal; }
}

.controls {
  flex: none;
  display: grid;
  grid-template-columns: 2.1fr 1fr 1fr 1fr;
  gap: var(--gap);
  height: var(--ctl-h);
}

.controls.end { grid-template-columns: 1.15fr 1.35fr 1fr; }

.btn {
  position: relative;
  min-width: 0;
  min-height: 48px;
  padding: 0 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 3px solid var(--ak-outline);
  background: var(--ak-btn-fill);
  color: var(--ak-btn-ink);
  font-family: var(--ak-font-display);
  font-size: 19px;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
}
.btn svg { flex: none; width: 22px; height: 22px; }
.btn .lab { display: block; min-width: 0; }
.btn:focus-visible { outline: 3px solid var(--ak-focus); outline-offset: 3px; }
.btn:active:not(:disabled) { background: var(--ak-btn-active); transform: translateY(2px); }
.btn:disabled { opacity: 0.4; cursor: default; }

.btn.go {
  box-shadow: inset 0 -5px 0 color-mix(in srgb, var(--ak-btn-ink) 30%, transparent);
}

.btn.alt {
  flex-direction: column;
  gap: 3px;
  background: var(--ak-choice-bg);
  color: var(--ak-choice-ink);
  border-color: var(--ak-choice-border);
  font-size: 18px;
  text-align: center;
}
.btn.alt svg { width: 18px; height: 18px; }
.btn.alt:active:not(:disabled) { background: var(--ak-surface); }

.controls.end .btn.go,
.controls.end .btn.next {
  flex-direction: row;
  font-size: 19px;
}

@media (orientation: landscape) {
  .controls {
    height: auto;
    grid-template-columns: repeat(3, 1fr);
  }
  .controls .btn.go { grid-column: 1 / -1; min-height: 52px; }
  .controls .btn.alt { min-height: 50px; }
  .controls.end { grid-template-columns: repeat(2, 1fr); }
  .controls.end .btn.go,
  .controls.end .btn.next { grid-column: 1 / -1; min-height: 50px; }
}

@media (hover: hover) {
  .btn:hover:not(:disabled) { background: var(--ak-btn-hover); }
  .btn.alt:hover:not(:disabled) { background: var(--ak-surface); border-color: var(--ak-accent); }
  .mute:hover { border-color: var(--ak-ink); }
}

/* ---- teaching --------------------------------------------------------- */

.teach {
  position: absolute;
  inset: 0;
  z-index: 30;
  pointer-events: none;
}
.teach .ring {
  position: absolute;
  border: 4px solid var(--ak-accent-2);
  outline: 2px solid var(--ak-bg);
}
.hintring {
  position: absolute;
  z-index: 31;
  pointer-events: none;
  border: 5px solid var(--ak-accent-2);
  outline: 3px solid var(--ak-bg);
}

.teach .pointer {
  position: absolute;
  width: 24px;
  height: 24px;
  color: var(--ak-accent-2);
  filter: drop-shadow(0 0 0 var(--ak-bg));
}
.teach .pointer svg { display: block; width: 100%; height: 100%; }
.teach .pointer .head { fill: var(--ak-accent-2); stroke: var(--ak-bg); stroke-width: 2.5; stroke-linejoin: miter; }

/* ---- motion ----------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  .tile .pipe { transition: transform 170ms cubic-bezier(0.3, 1.5, 0.5, 1); }
  .app.no-anim .tile .pipe { transition: none; }

  .tile .bar,
  .tile .core,
  .tile .plate { transition: stroke 140ms linear var(--wd, 0ms), fill 160ms linear var(--wd, 0ms); }
  .tile.is-wet { --wd: calc(var(--d, 0) * 45ms); }

  .tile:active:not(.is-locked):not(.is-blank) .plate { fill: color-mix(in srgb, var(--ak-accent) 14%, var(--ak-bg)); }

  .tile.is-done svg { animation: settle 340ms ease-out both; animation-delay: calc(var(--d, 0) * 60ms); }
  .hintring { animation: ringpulse 1.1s ease-out infinite; }
  .teach .ring { animation: ringpulse 1.1s ease-out infinite; }
  .teach .pointer { animation: nudge 0.9s ease-in-out infinite; }

  .grid.is-new .tile svg { animation: enter 260ms ease-out both; animation-delay: calc(var(--i, 0) * 14ms); }

  .flip { animation: flip 440ms cubic-bezier(0.4, 0, 0.2, 1); }

  .app.is-cleared .grid { animation: frame-flash 900ms ease-out both; }
}

@keyframes settle {
  0% { transform: scale(1); }
  40% { transform: scale(1.09); }
  100% { transform: scale(1); }
}
@keyframes enter {
  from { transform: scaleY(0.05); opacity: 0; }
  to { transform: scaleY(1); opacity: 1; }
}
@keyframes flip {
  0% { transform: scaleY(1); }
  46% { transform: scaleY(0.04); }
  54% { transform: scaleY(0.04); }
  100% { transform: scaleY(1); }
}
@keyframes ringpulse {
  0% { box-shadow: 0 0 0 0 var(--ak-accent-2); }
  70% { box-shadow: 0 0 0 10px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
@keyframes nudge {
  0%, 100% { translate: 0 0; }
  50% { translate: var(--nx, 0px) var(--ny, 4px); }
}
@keyframes frame-flash {
  0% { outline-width: 3px; outline-color: var(--ak-accent); }
  35% { outline-width: 10px; outline-color: var(--ak-accent-2); }
  100% { outline-width: 3px; outline-color: var(--ak-accent-2); }
}

/* ---- rules tucked into the question ----------------------------------- */

.q .plate { flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px; }
.q .plate .rule {
  display: none;
  color: var(--ak-ink-muted);
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.03em;
}

@media (orientation: portrait) and (min-height: 760px) {
  .app { --qh: 86px; }
  .q .plate .rule { display: block; }
}

@media (orientation: landscape) {
  .q .plate .rule { display: block; margin-top: 8px; }
}

/* ---- dormant screen before the kit's start screen ---------------------- */

.app.is-standby { opacity: 0.5; }

/* ---- steam and seal --------------------------------------------------- */

.steam {
  position: absolute;
  z-index: 32;
  width: 0;
  height: 0;
  pointer-events: none;
}
.steam i {
  position: absolute;
  left: -6px;
  top: -6px;
  width: 12px;
  height: 12px;
  background: var(--ak-ink);
  opacity: 0;
}
.steam i:nth-child(1) { --jx: -9px; --jy: 0px; --dl: 0ms; }
.steam i:nth-child(2) { --jx: 8px; --jy: -3px; --dl: 90ms; width: 10px; height: 10px; }
.steam i:nth-child(3) { --jx: -3px; --jy: 4px; --dl: 180ms; }
.steam i:nth-child(4) { --jx: 12px; --jy: 3px; --dl: 270ms; width: 9px; height: 9px; }
.steam i:nth-child(5) { --jx: -13px; --jy: -4px; --dl: 360ms; width: 8px; height: 8px; }

.seal {
  position: absolute;
  z-index: 33;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 4px;
  background: var(--ak-surface);
  color: var(--ak-ink);
  border: 3px double var(--ak-ink);
  font-family: var(--ak-font-display);
  font-size: 19px;
  line-height: 1;
  letter-spacing: 0.1em;
  pointer-events: none;
}
.seal svg { width: 13px; height: 13px; flex: none; }
.seal.is-pass { border: 3px solid var(--ak-accent-2); }
.seal.is-fail { border: 3px dashed var(--ak-ink); }

@media (prefers-reduced-motion: no-preference) {
  .steam i { animation: puff 850ms ease-out var(--dl, 0ms) 2 both; }
  .seal { animation: stamp 260ms cubic-bezier(0.3, 1.6, 0.5, 1) both; }
}

@keyframes puff {
  0% { opacity: 0.95; translate: var(--jx) var(--jy); scale: 0.5; }
  100% { opacity: 0; translate: calc(var(--sx) * 42px + var(--jx)) calc(var(--sy) * 42px + var(--jy)); scale: 1.7; }
}
@keyframes stamp {
  0% { scale: 1.7; opacity: 0; }
  60% { scale: 0.94; opacity: 1; }
  100% { scale: 1; opacity: 1; }
}
