/* Plinth · motion layer for the 2D pages. Loaded last, after styles.css / extra.css / orders.css / dashboard.css.
   Everything here is compositor-friendly (transform, opacity) wherever possible, and every animation collapses to an
   instant state under prefers-reduced-motion (see the blanket rule at the end of styles.css). */

@keyframes rise-in { from { opacity: 0; transform: translateY(22px) scale(.98); } }
@keyframes slide-in { from { opacity: 0; transform: translateX(-20px); } }
@keyframes drop-in { from { opacity: 0; transform: translateY(-26px) scale(.97); } }
@keyframes pop-in { from { opacity: 0; transform: scale(.2); } }
@keyframes swap-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes flip-in { from { opacity: 0; transform: perspective(700px) rotateX(-78deg) translateY(-10px); } }
@keyframes stamp-in { from { opacity: 0; transform: scale(2.6) rotate(-22deg); } }
@keyframes sheen { to { transform: translateX(110%); } }
@keyframes shimmer { to { background-position: -120% 0; } }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@keyframes bob { 50% { transform: translateY(-5px); } }

/* ---------- entrances for content drawn after load (motion.js: enter / newOnly) ---------- */
.enter { animation: rise-in .8s var(--ease) backwards; animation-delay: calc(var(--d, 0) * 1ms); }
.enter--rise { animation-name: rise-in; }
.enter--slide { animation-name: slide-in; animation-duration: .65s; }
.enter--drop { animation-name: drop-in; }
.enter--pop { animation-name: pop-in; animation-duration: .6s; animation-timing-function: var(--spring); }
.enter--swap { animation-name: swap-in; animation-duration: .45s; }
.enter--flip { animation-name: flip-in; animation-duration: .9s; animation-timing-function: var(--spring); transform-origin: 50% 0; }
.enter--stamp { animation-name: stamp-in; animation-duration: .7s; animation-timing-function: var(--spring); }

/* ---------- the top bar arrives, then its links ---------- */
.js .site-header .hbar { animation: bar-in 1s var(--ease) backwards; }
@keyframes bar-in { from { opacity: 0; transform: translateY(-22px) scale(.96); } }
.js .nav a { animation: swap-in .7s var(--ease) backwards; animation-delay: calc(.2s + var(--n, 0) * 55ms); }
.nav a:nth-child(1) { --n: 0; } .nav a:nth-child(2) { --n: 1; } .nav a:nth-child(3) { --n: 2; } .nav a:nth-child(4) { --n: 3; } .nav a:nth-child(5) { --n: 4; }
.brand__mark { animation: mark-float 6s ease-in-out infinite; transition: transform .6s var(--spring); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.1); }
@keyframes mark-float { 50% { transform: translateY(-2px) rotate(-3deg); } }
.pill { animation: pop-in .6s var(--spring) backwards; }

/* ---------- headline: words rise out of a mask ---------- */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .03em .16em; margin: 0 -.03em -.16em; }
.w__i { display: inline-block; animation: word-up .95s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 70ms + .18s); }
@keyframes word-up { from { transform: translateY(112%) rotate(5deg); opacity: 0; } }
.kicker::before { animation: kicker-pulse 2.8s ease-in-out infinite; }
@keyframes kicker-pulse { 50% { transform: scale(1.3); } }

/* ---------- buttons, chips, fields: springy, lit by the pointer ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .25s; background: radial-gradient(130px circle at var(--bx, 50%) var(--by, 50%), rgba(255, 255, 255, .5), transparent 70%); }
.btn--ghost::before { background: radial-gradient(130px circle at var(--bx, 50%) var(--by, 50%), rgba(var(--shade), .07), transparent 70%); }
.btn:hover::before { opacity: 1; }
.btn:disabled::before, .btn[disabled]::before { display: none; }
.pick input:checked + span, .fchip.is-on { animation: pick-pop .55s var(--spring); }
@keyframes pick-pop { 0% { transform: scale(.88); } 100% { transform: none; } }
.pick span, .fchip { transition: background .18s, color .18s, box-shadow .25s, transform .4s var(--spring); }
.pick:hover span, .fchip:hover { transform: translateY(-2px); }
.pick:active span, .fchip:active { transform: scale(.96); }
.check input[type=checkbox]:checked, .check input[type=radio]:checked { animation: pick-pop .45s var(--spring); }
.field > span { transition: color .2s; }
.field:focus-within > span { color: var(--hue-ink); }
.form__err:not([hidden]), .dwarn:not(.is-ok):not([hidden]) { animation: shake .5s var(--ease); }
.form__err:not([hidden]) { animation: shake .5s var(--ease), swap-in .4s var(--ease); }
.x { transition: background .18s, transform .5s var(--spring), box-shadow .2s; }
.x:hover { transform: rotate(90deg) scale(1.08); }
.crumbs a { transition: color .15s, letter-spacing .3s; }

/* ---------- surfaces lift a little on hover ---------- */
.stat4 > div, .tierbox, .dstats > div, .svc, .bounty, .oitem, .dsvc, .revs li { transition: transform .5s var(--spring), background .25s, box-shadow .3s; }
.stat4 > div:hover, .dstats > div:hover, .revs li:hover { transform: translateY(-3px); background: #fff; box-shadow: inset 0 2px 0 #fff, inset 0 -4px 8px rgba(var(--shade), .06), 0 2px 3px rgba(var(--shade), .12), 0 18px 24px -12px rgba(var(--shade), .4); }
.oitem:hover { transform: translateX(4px); }
.bounty:hover { transform: translateY(-3px); }
.card .emblem { transition: transform .6s var(--spring); }
.card:hover .emblem { transform: scale(1.1) rotate(-4deg); }
.tierbox.is-sel { transform: translateY(-4px); background: var(--tint); box-shadow: var(--puff); }

/* ---------- proven meters fill when scrolled into view ---------- */
.meter__bar i { position: relative; overflow: hidden; width: 0; transition: width 1.3s var(--ease); }
.meter.ok .meter__bar i::after, .bar i::after { content: ""; position: absolute; inset: 0; transform: translateX(-110%); background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .55) 50%, transparent 80%); animation: sheen 2.8s ease-in-out infinite; }
.meter.ok .meter__bar i::after { animation-delay: 1.2s; }
.bar i { position: relative; overflow: hidden; }

/* ---------- skeleton / shimmer where a result is still being derived ---------- */
.skel { display: grid; gap: 9px; margin: 14px 0; }
.skel i { display: block; height: 10px; border-radius: 6px; background: linear-gradient(100deg, rgba(var(--shade), .08) 30%, rgba(255, 255, 255, .8) 50%, rgba(var(--shade), .08) 70%) 0 0 / 220% 100%; animation: shimmer 1.5s linear infinite; }
.skel i:nth-child(2) { width: 84%; animation-delay: .15s; } .skel i:nth-child(3) { width: 58%; animation-delay: .3s; }
.skel--line { display: block; margin: 10px 0 0; }
.skel--line i { height: 8px; width: 100%; }

/* ---------- at-a-glance strips (animated counters live inside) ---------- */
.strip { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 32px; padding: 0; }
.strip > div { position: relative; overflow: hidden; flex: 1 1 160px; min-width: 0; padding: 18px 20px 17px 30px; background: var(--panel); border-radius: var(--r); box-shadow: var(--puff); transition: transform .5s var(--spring), box-shadow .3s, background .25s; }
.strip > div::before { content: ""; position: absolute; left: 13px; top: 18px; bottom: 18px; width: 6px; border-radius: 6px; background: var(--hue); box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .6), inset 0 -2px 3px rgba(var(--shade), .2); transform-origin: top; animation: bar-grow 1s var(--ease) .4s backwards; }
@keyframes bar-grow { from { transform: scaleY(0); } }
.strip > div:hover { transform: translateY(-3px); background: var(--panel-2); box-shadow: var(--puff-lg); }
.strip dt { font: 800 .72rem/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.strip dd { margin: 8px 0 0; font: 800 clamp(1.6rem, 1.15rem + 1.2vw, 2.4rem)/1 var(--display); letter-spacing: -.05em; }
.strip--sm dd { font-size: clamp(1.3rem, 1.05rem + .8vw, 1.8rem); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- designed empty states ---------- */
.void { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(24px, 4.5vw, 72px); align-items: center; padding: clamp(26px, 4.4vw, 60px); background: var(--panel); border: 1px solid rgba(255, 255, 255, .6); border-radius: 40px; box-shadow: var(--puff-lg); animation: rise-in 1s var(--ease) .1s backwards; }
.void::before { content: ""; position: absolute; z-index: -1; left: -120px; top: -160px; width: 520px; height: 420px; background: radial-gradient(closest-side, color-mix(in srgb, var(--hue) 28%, transparent), transparent); animation: pool-a 18s ease-in-out infinite alternate; }
@keyframes pool-a { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(16%, 8%, 0) scale(1.12); } 100% { transform: translate3d(6%, 20%, 0) scale(.92); } }
.void__art { color: var(--hue-ink); min-width: 0; animation: rise-in 1.1s var(--ease) .2s backwards; }
.void__copy { min-width: 0; }
.void__copy > * { animation: rise-in .85s var(--ease) backwards; }
.void__copy > :nth-child(1) { animation-delay: .3s; } .void__copy > :nth-child(2) { animation-delay: .4s; } .void__copy > :nth-child(3) { animation-delay: .5s; } .void__copy > :nth-child(4) { animation-delay: .6s; } .void__copy > :nth-child(5) { animation-delay: .7s; }
.void .kicker { margin-bottom: 16px; }
.void__t { margin: 0 0 16px; font-size: clamp(1.8rem, 1.1rem + 2.4vw, 3.1rem); }
.void__p { margin: 0; max-width: 50ch; color: var(--body); font-size: var(--fs-b); }
.void__acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.void__steps { list-style: none; counter-reset: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; max-width: 50ch; }
.void__steps li { display: flex; gap: 12px; align-items: baseline; font-size: var(--fs-s); color: var(--body); animation: slide-in .7s var(--ease) backwards; animation-delay: calc(.7s + var(--i, 0) * 90ms); }
.void__steps b { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font: 800 .75rem/1 var(--sans); color: var(--hue-ink); background: var(--tint); box-shadow: var(--puff-sm); }
.empty--404 { animation: rise-in 1s var(--ease) .1s backwards; }

/* the illustrations (art.js). All draw in currentColor, which is the page's hue ink. */
.art { width: 100%; height: auto; max-height: 340px; overflow: visible; color: var(--hue-ink); }
.art path, .art line { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.art circle, .art rect { transform-box: fill-box; transform-origin: center; }
.art text { font: 800 11px/1 var(--sans); fill: var(--faint); letter-spacing: .1em; text-transform: uppercase; }
.art__frame { fill: rgba(255, 255, 255, .75); stroke: currentColor; stroke-opacity: .4; stroke-width: 1.6; stroke-dasharray: 5 7; animation: dash 20s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -120; } }
.art__slot { transform-box: fill-box; transform-origin: center; animation: slot-in .9s var(--ease) backwards, slot-breathe 5s ease-in-out infinite; animation-delay: calc(var(--i) * 110ms + .3s), calc(var(--i) * 600ms + 1.4s); }
@keyframes slot-in { from { opacity: 0; transform: translateY(18px) scale(.94); } }
@keyframes slot-breathe { 50% { opacity: .6; } }
.art__glyph rect { fill: currentColor; opacity: .25; stroke: none; }
.art__bar { fill: currentColor; opacity: .16; }
.art__scan { animation: scan 6.5s cubic-bezier(.5, 0, .5, 1) 1.2s infinite; }
@keyframes scan { 0% { transform: translateX(0); } 70%, 100% { transform: translateX(650px); } }
.art__plus circle { fill: color-mix(in srgb, currentColor 14%, #fff); stroke: currentColor; stroke-width: 1.6; }
.art__plus path { stroke-width: 2.8; }
.art__plus { transform-box: fill-box; transform-origin: center; animation: bob 4.5s ease-in-out infinite; }
.art__ring { fill: none !important; animation: ring 2.8s ease-out infinite; }
@keyframes ring { from { opacity: .8; transform: scale(1); } to { opacity: 0; transform: scale(2.6); } }
.art__rail { stroke: currentColor; stroke-opacity: .28; stroke-width: 3; }
.art__rail--flow { stroke-opacity: .85; stroke-dasharray: 3 14; stroke-width: 4; animation: dash 3s linear infinite reverse; }
.art__node, .art__plus, .art__tag, .art__frame { filter: drop-shadow(0 7px 7px rgba(var(--shade), .22)); }
.art__node circle, .art__node rect { fill: #fff; stroke: currentColor; stroke-width: 2; stroke-opacity: .55; }
.art__node path, .art__node line { stroke-width: 2.2; }
.art__node--vault rect { animation: vault-pulse 3.4s ease-in-out infinite; }
@keyframes vault-pulse { 50% { stroke-opacity: 1; transform: scale(1.06); } }
.art__coin circle { fill: #ffd45e; stroke: #d49a0b; stroke-width: 1.5; }
.art__coin text { fill: #6b4a00; font-size: 13px; letter-spacing: 0; }
.art__coin { animation: coin-trip 6.5s var(--ease-in-out) infinite; opacity: 0; }
@keyframes coin-trip {
  0% { transform: translate(70px, 95px) scale(.4); opacity: 0; }
  10% { transform: translate(78px, 80px) scale(1); opacity: 1; }
  38% { transform: translate(170px, 48px) scale(1); opacity: 1; }
  58% { transform: translate(270px, 95px) scale(.95); opacity: 1; }
  66% { transform: translate(270px, 95px) scale(.4); opacity: 0; }
  100% { transform: translate(270px, 95px) scale(.4); opacity: 0; }
}
.art__pip rect { fill: currentColor; opacity: .16; animation: pip-lit 5s ease-in-out infinite; animation-delay: calc(var(--i) * .7s); }
@keyframes pip-lit { 0%, 30%, 100% { opacity: .16; } 12% { opacity: .9; } }
.art__pulse { fill: none; stroke: currentColor; stroke-width: 1.8; opacity: 0; animation: pulse-out 4.5s ease-out infinite; animation-delay: calc(var(--i) * 1.5s); }
@keyframes pulse-out { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(5.2); } }
.art__tag rect:first-child { fill: #fff; stroke: currentColor; stroke-opacity: .45; stroke-width: 1.6; }
.art__tag { animation: bob 5s ease-in-out infinite, tag-fade 6s ease-in-out infinite; animation-delay: calc(var(--i) * -1.2s); }
@keyframes tag-fade { 0%, 100% { opacity: .4; } 50% { opacity: 1; } }
.art__dial { stroke-width: 12; opacity: .18; }
.art__dial--lit { opacity: .9; stroke-dasharray: 316; stroke-dashoffset: 316; animation: dial 6s var(--ease-in-out) infinite alternate; }
@keyframes dial { to { stroke-dashoffset: 120; } }
.art__needle { stroke-width: 3.5; transform-origin: 270px 150px; animation: needle 6s var(--ease-in-out) infinite alternate; }
@keyframes needle { from { transform: rotate(-78deg); } to { transform: rotate(18deg); } }
.art__gauge rect { fill: currentColor; opacity: .14; }
.art__gauge .art__gaugefill { opacity: .6; transform-origin: left center; animation: gauge 4s var(--ease-in-out) infinite alternate; animation-delay: calc(var(--i) * -.6s); }
@keyframes gauge { from { transform: scaleX(.08); } to { transform: scaleX(1); } }

/* waiting dots (dashboard, nothing to do yet) */
.waiting { display: grid; justify-items: center; gap: 10px; }
.waiting__dots { display: inline-flex; gap: 8px; }
.waiting__dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--hue); box-shadow: inset 0 -2px 3px rgba(var(--shade), .25), inset 0 1.5px 0 rgba(255, 255, 255, .6); animation: dot-bounce 1.3s ease-in-out infinite; }
.waiting__dots i:nth-child(2) { animation-delay: .16s; } .waiting__dots i:nth-child(3) { animation-delay: .32s; }
@keyframes dot-bounce { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-9px); opacity: 1; } }

/* ---------- agent page ---------- */
.detail__head .emblem { animation: emblem-in 1.2s var(--spring) .15s backwards; }
@keyframes emblem-in { from { opacity: 0; transform: scale(.4) rotate(-14deg); } }
.buy__price b { display: inline-block; }
.facts li { transition: transform .4s var(--spring); }
.facts li:hover { transform: translateX(4px); }

/* hire dialog: the escrow moment */
.funded { display: grid; justify-items: center; text-align: center; padding: 34px 8px 22px; }
.funded__vault { position: relative; display: grid; place-items: center; width: 124px; height: 124px; margin-bottom: 18px; border-radius: 50%; background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, .95) 0, rgba(255, 255, 255, 0) 34%), radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--hue) 55%, #fff), var(--hue)); box-shadow: inset 0 -14px 20px rgba(var(--shade), .16), 0 26px 30px -16px rgba(var(--shade), .5); animation: pop-in .7s var(--spring) backwards; }
.funded__lock { color: var(--ink); animation: pop-in .6s var(--spring) .55s backwards; }
.funded__coin { position: absolute; z-index: 2; left: 50%; top: -6px; width: 26px; height: 26px; margin-left: -13px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff6cf, var(--butter) 55%, #d9a21c); box-shadow: inset 0 -3px 4px rgba(122, 86, 0, .3), 0 3px 6px rgba(var(--shade), .35); animation: coin-in .7s cubic-bezier(.55, 0, .85, .45) .2s both; }
@keyframes coin-in { 0% { transform: translateY(-60px) scale(1); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(60px) scale(.35); opacity: 0; } }
.funded__t { margin: 0; font: 800 1.6rem/1.2 var(--display); letter-spacing: -.035em; animation: rise-in .7s var(--ease) .5s backwards; }
.funded__p { margin: 10px 0 0; max-width: 40ch; color: var(--muted); font-size: var(--fs-s); animation: rise-in .7s var(--ease) .65s backwards; }

/* ---------- sell page: the live preview ticks on every edit, and lifts off on submit ---------- */
.card--tick { animation: tick .55s var(--spring); }
@keyframes tick { 0% { transform: scale(.975); } 100% { transform: none; } }
.card--launch { animation: launch .85s cubic-bezier(.5, 0, .2, 1) forwards; }
@keyframes launch { 40% { transform: translateY(8px) scale(.97); } 100% { transform: translateY(-34px) scale(1.04); opacity: 0; filter: drop-shadow(0 22px 20px rgba(var(--shade), .35)); } }

/* ---------- orders ---------- */
.oc { position: relative; }
.status--flip { animation: status-flip .9s var(--spring); }
@keyframes status-flip { from { opacity: 0; transform: translateY(9px) scale(.88); } }
.chip--flip { animation: chip-flip 1s var(--spring); }
@keyframes chip-flip { 0% { transform: scale(.55); box-shadow: 0 0 0 0 currentColor; } 55% { box-shadow: 0 0 0 10px transparent; } 100% { transform: none; } }

/* escrow rail: client -> vault -> agent, the coin sits where the money is */
.rail { --x: 6%; position: relative; height: 70px; margin: 6px 6px 20px; }
.rail__line { position: absolute; left: 6%; right: 6%; top: 20px; height: 6px; border-radius: 6px; background: var(--well); box-shadow: var(--dent); overflow: hidden; }
.rail__line::after { content: ""; position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--accent), var(--mint)); transition: transform 1s var(--ease); }
.rail--vault .rail__line::after { transform: scaleX(.5); }
.rail--agent .rail__line::after { transform: scaleX(1); }
.rail__n { position: absolute; top: 44px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 5px; font: 800 .68rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); white-space: nowrap; transition: color .5s; }
.rail__n::before { content: ""; position: absolute; left: 50%; top: -31px; width: 15px; height: 15px; margin-left: -7.5px; border-radius: 50%; background: var(--well-hi); box-shadow: var(--dent); transition: background .5s, box-shadow .5s; }
.rail__n--v svg { display: none; }
.rail__n--c { left: 6%; } .rail__n--v { left: 50%; } .rail__n--a { left: 94%; }
.rail--client .rail__n--c, .rail--vault .rail__n--v, .rail--agent .rail__n--a { color: var(--ink); }
.rail--client .rail__n--c::before, .rail--vault .rail__n--v::before, .rail--agent .rail__n--a::before { background: var(--accent); box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .6), inset 0 -3px 4px rgba(178, 64, 15, .25), 0 2px 4px rgba(178, 64, 15, .4); }
.rail--agent .rail__n--a::before { background: var(--mint); box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .6), inset 0 -3px 4px rgba(13, 107, 73, .25), 0 2px 4px rgba(13, 107, 73, .4); }
.rail__coin { position: absolute; top: 9px; left: var(--x); width: 28px; height: 28px; margin-left: -14px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff6cf, var(--butter) 55%, #d9a21c); box-shadow: inset 0 -3px 4px rgba(122, 86, 0, .3), 0 4px 7px rgba(var(--shade), .35); transition: left 1.1s var(--spring); }
.rail--client { --x: 6%; } .rail--vault { --x: 50%; } .rail--agent { --x: 94%; }
.rail--vault .rail__coin { animation: bob 2.6s ease-in-out infinite; }

/* receipt: rows slide in, the stamp lands, coins pop */
.stamp { position: absolute; top: 14px; right: 18px; display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px 8px 11px; border-radius: 12px; color: var(--mint-ink); background: color-mix(in srgb, var(--mint) 34%, #fff); font: 800 .7rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; transform: rotate(-6deg); box-shadow: var(--puff-sm); }
.stamp--refund { color: var(--sky-ink); background: color-mix(in srgb, var(--sky) 34%, #fff); }
.stamp--refund svg { transform: scaleX(-1); }
.burst { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; z-index: 5; }
.burst i { position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff6cf, var(--butter) 60%, #d9a21c); box-shadow: 0 2px 3px rgba(var(--shade), .3); animation: burst 1.15s cubic-bezier(.2, .8, .3, 1) var(--dl, 0ms) both; }
@keyframes burst {
  0% { transform: translate(0, 0) scale(0); opacity: 1; }
  25% { opacity: 1; transform: translate(calc(var(--x) * .8), calc(var(--y) * .8)) scale(var(--s, 1)); }
  100% { transform: translate(var(--x), calc(var(--y) + 70px)) scale(var(--s, 1)) rotate(260deg); opacity: 0; }
}
.kv > div[data-e] { transition: background .3s; }

/* panel votes: three pips fill, each vote card flips open */
.tally { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; }
.tally__p { width: 38px; height: 12px; border-radius: 12px; background: var(--well); box-shadow: var(--dent); animation: pulse 1.5s ease-in-out infinite; }
.tally__p.yes, .tally__p.no { animation: none; }
.tally__p.yes { background: var(--mint); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .55), inset 0 -3px 4px rgba(13, 107, 73, .22); }
.tally__p.no { background: var(--rose); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .55), inset 0 -3px 4px rgba(150, 20, 40, .22); }
.tally__t { margin-left: auto; font-size: var(--fs-xs); color: var(--muted); }
.vote { backface-visibility: hidden; }
.vote--wait { display: grid; gap: 4px; }
.outcome { transform-origin: left center; }

/* ---------- seller dashboard ---------- */
.dorder.is-updated { animation: updated 1.6s var(--ease); }
@keyframes updated { 0% { box-shadow: var(--puff-lg), 0 0 0 0 color-mix(in srgb, var(--hue) 80%, transparent); } 100% { box-shadow: var(--puff-lg), 0 0 0 14px transparent; } }
.dtable tr.is-new td { animation: row-in 1.4s var(--ease) backwards; }
@keyframes row-in { 0% { opacity: 0; transform: translateX(-22px); background: color-mix(in srgb, var(--mint) 30%, transparent); } 40% { opacity: 1; transform: none; } 100% { background: transparent; } }
.dstats > div { animation: rise-in .8s var(--ease) backwards; }
.dstats > div:nth-child(2) { animation-delay: .07s; } .dstats > div:nth-child(3) { animation-delay: .14s; } .dstats > div:nth-child(4) { animation-delay: .21s; } .dstats > div:nth-child(5) { animation-delay: .28s; }
.dpanel.is-focus { animation: focus-ring 1.6s var(--ease) 2; }
@keyframes focus-ring { 0% { box-shadow: var(--puff-lg), 0 0 0 0 color-mix(in srgb, var(--accent) 70%, transparent); } 100% { box-shadow: var(--puff-lg), 0 0 0 16px transparent; } }

@media (max-width: 860px) {
  .void { grid-template-columns: minmax(0, 1fr); }
  .void__art { max-width: 460px; margin-inline: auto; }
}
@media (max-width: 640px) {
  .strip > div { flex-basis: calc(50% - 7px); }
  .strip--sm > div { flex-basis: calc(50% - 7px); }
  .void { padding: 24px 18px 26px; border-radius: 28px; }
  .stamp { position: relative; top: auto; right: auto; align-self: start; justify-self: start; margin: 0 0 12px; display: flex; width: fit-content; }
  .rail__n { font-size: .6rem; letter-spacing: .06em; }
}
.buy__price b .num { font: inherit; color: inherit; letter-spacing: inherit; }
