
:root {
  --ink: #1B1035;
  --muted: #5A4F7A;
  --paper: #FFFFFF;
  --cream: #FFF4DC;
  --sun: #FFD93B;
  --bg: #5B2EE0;
  --bg-dot: #6A3FEA;
  --soft: #E6DEFF;
  --a: #FF6B5B; --b: #3EDDB4; --c: #B79CFF; --d: #FFA94D;
  --teamA: #FF6B5B; --teamA-dark: #E0483A; --teamB: #4DA3FF; --teamB-dark: #2F7FE0;
  --good: #0F7A63;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background-color: var(--bg);
  background-image: radial-gradient(var(--bg-dot) 2.5px, transparent 3px);
  background-size: 30px 30px;
  color: var(--ink);
  font-family: var(--fb);
  font-weight: 700;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
}
button { font-family: inherit; color: inherit; }
.disp { font-family: var(--fd); font-weight: 400; }
.stroke { -webkit-text-stroke:0; paint-order: stroke fill; }
.stroke-s { -webkit-text-stroke:0; paint-order: stroke fill; }

.card { background: var(--paper); border: var(--ring); border-radius: 26px; box-shadow: var(--lift); }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--paper); border: var(--ring); border-radius: 99px; padding: 3px 12px; font-weight: 900; }
.badge { display: inline-flex; align-items: center; background: var(--sun); border: var(--ring); border-radius: 99px; box-shadow: var(--lift); padding: 4px 16px; font-family: var(--fd); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 22px; cursor: pointer;
  background: var(--sun); border: var(--ring-l); border-radius: 22px; box-shadow: var(--lift-l);
  font-family: var(--fd); font-size: 26px; color: var(--ink);
  transition: transform .07s ease, box-shadow .07s ease;
}
.btn:active { transform: translateY(6px); box-shadow: var(--lift-s); }
.btn:focus-visible, button:focus-visible { outline: 5px solid #FFFFFF; outline-offset: 4px; }
.btn.ghost { background: var(--paper); }
.btn:disabled { opacity: .45; cursor: default; }

/* postacie */
.av, .dz { display: inline-block; position: relative; flex: none; line-height: 0; }
.av svg, .dz svg { width: 100%; height: 100%; overflow: visible; }
.av .avb { transform-box: view-box; transform-origin: 50% 60%; transition: transform .3s ease; }
.av-win .avb { transform: rotate(-6deg) translateY(-4px); }
.av-lose .avb { transform: translateY(4px); filter: saturate(.55); }
.av-bomb .avb { animation: shake .35s ease-in-out infinite; }
.av-win { animation: hop .9s ease-in-out infinite; }

@keyframes shake { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@keyframes hop { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-8%); } 60% { transform: translateY(0); } }
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 70% { transform: scale(1.06); opacity: 1; } 100% { transform: scale(1); } }
@keyframes slideUp { 0% { transform: translateY(30px); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } }
@keyframes wobble { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes flash { 0% { opacity: 1; } 100% { opacity: 0; } }
.pop { animation: pop .45s cubic-bezier(.2, .9, .3, 1.3) both; }
.slide { animation: slideUp .4s ease both; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- kreskówkowe ruchy postaci ---------- */
.av .shadow { fill: rgba(27, 16, 53, .22); transform-box: fill-box; transform-origin: center; animation: shadowBreath 2.6s ease-in-out infinite; animation-delay: var(--d, 0s); }
.av .squash { transform-box: view-box; transform-origin: 50% 95%; animation: breathe 2.6s ease-in-out infinite; animation-delay: var(--d, 0s); }
.av .eyes { transform-box: fill-box; transform-origin: center; animation: blink 4.2s infinite; animation-delay: calc(var(--d, 0s) * 3); }
.av-win .squash { animation: boing .9s ease-in-out infinite; }
.av-win .shadow { animation: shadowHop .9s ease-in-out infinite; }
.av-win { animation: none; }
.av-lose .squash { animation: droop 3s ease-in-out infinite; }
.av-bomb .eyes { animation: none; }
@keyframes breathe { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.035, .965); } }
@keyframes shadowBreath { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(1.06); } }
@keyframes blink { 0%, 90%, 100% { transform: scaleY(1); } 93% { transform: scaleY(.08); } 96% { transform: scaleY(1); } }
@keyframes boing {
  0% { transform: translateY(0) scale(1.1, .88); }
  25% { transform: translateY(-14%) scale(.92, 1.1); }
  50% { transform: translateY(-18%) scale(1, 1); }
  75% { transform: translateY(-6%) scale(.96, 1.05); }
  100% { transform: translateY(0) scale(1.1, .88); }
}
@keyframes shadowHop { 0%, 100% { transform: scaleX(1.1); opacity: 1; } 50% { transform: scaleX(.6); opacity: .5; } }
@keyframes droop { 0%, 100% { transform: scale(1.02, .97) translateY(2%); } 50% { transform: scale(1.05, .94) translateY(3%); } }

/* komiksowy wybuch z napisem */
.burst { position: absolute; z-index: 40; pointer-events: none; transform: translate(-50%, -50%) rotate(var(--rot, 0deg)); animation: burstIn 1.5s cubic-bezier(.2, .9, .3, 1.4) both; display: flex; align-items: center; justify-content: center; }
.burst svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: burstSpin 1.5s linear both; }
.burst span { position: relative; font-family: var(--fd); color: #FFFFFF; -webkit-text-stroke:0; paint-order: stroke fill; text-shadow: var(--lift); line-height: 1; white-space: nowrap; }
@keyframes burstIn {
  0% { transform: translate(-50%, -50%) rotate(var(--rot)) scale(0); }
  18% { transform: translate(-50%, -50%) rotate(var(--rot)) scale(1.18); }
  28% { transform: translate(-50%, -50%) rotate(var(--rot)) scale(.95); }
  36%, 80% { transform: translate(-50%, -50%) rotate(var(--rot)) scale(1); opacity: 1; }
  100% { transform: translate(-50%, -50%) rotate(var(--rot)) scale(1.3); opacity: 0; }
}
@keyframes burstSpin { from { transform: rotate(0deg); } to { transform: rotate(25deg); } }

/* konfetti, dym, trzęsienie */
.confetti-fall { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 35; }
.confetti-fall i { position: absolute; top: -30px; width: 14px; height: 22px; border: var(--ring); animation: fall 2.6s cubic-bezier(.3, .2, .6, 1) both; }
@keyframes fall { 0% { transform: translate(0, 0) rotate(0); } 100% { transform: translate(var(--sway), 115vh) rotate(var(--spin)); } }
.puffs { position: absolute; left: 50%; top: 88%; z-index: 30; pointer-events: none; }
.puffs i { position: absolute; width: 110px; height: 110px; margin: -55px 0 0 -55px; border-radius: 50%; background: #F4F1FF; border: var(--ring-l); animation: puff 1s ease-out both; }
@keyframes puff { 0% { transform: translate(0, 0) scale(.2); opacity: 1; } 60% { opacity: .9; } 100% { transform: translate(calc(var(--tx) * 2), calc(var(--ty) * .8)) scale(1.3); opacity: 0; } }
.shake { animation: shake2 .6s cubic-bezier(.36, .07, .19, .97) both; }
@keyframes shake2 {
  10%, 90% { translate: -4px 2px; } 20%, 80% { translate: 8px -4px; }
  30%, 50%, 70% { translate: -14px 6px; } 40%, 60% { translate: 14px -6px; } 100% { translate: 0 0; }
}

/* promienie w tle (sunburst) */
.rays { position: absolute; left: 50%; top: 50%; width: 2400px; height: 2400px; margin: -1200px 0 0 -1200px; background: repeating-conic-gradient(rgba(255, 255, 255, .09) 0 9deg, transparent 9deg 18deg); animation: spin 40s linear infinite; pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.speedlines { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(100deg, transparent 0 60px, rgba(255, 255, 255, .12) 60px 64px, transparent 64px 140px); animation: zoomLines .5s linear infinite; }
@keyframes zoomLines { from { background-position: 0 0; } to { background-position: -140px 0; } }

/* liczby, które wylatują w górę */
.fly { display: inline-block; animation: flyUp 1.2s cubic-bezier(.2, .9, .3, 1.4) both; }
@keyframes flyUp { 0% { transform: translateY(16px) scale(.4); opacity: 0; } 40% { transform: translateY(-6px) scale(1.25); opacity: 1; } 100% { transform: translateY(0) scale(1); } }

/* galaretka przy dotknięciu */
.jelly:active { animation: jelly .35s ease both; }
@keyframes jelly { 0% { transform: scale(1, 1); } 30% { transform: scale(1.12, .86); } 50% { transform: scale(.9, 1.1); } 70% { transform: scale(1.04, .97); } 100% { transform: scale(1, 1); } }

@media (prefers-reduced-motion: reduce) {
  .av .squash, .av .eyes, .av .shadow, .rays, .speedlines, .burst svg { animation: none !important; }
}

/* ---------- charakter każdej postaci: zachowanie w spoczynku ---------- */
.av-normal.ch-pierog .squash { animation: jiggle 3.2s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes jiggle { 0%, 70%, 100% { transform: scale(1, 1); } 75% { transform: scale(1.08, .9); } 80% { transform: scale(.94, 1.07); } 85% { transform: scale(1.04, .97); } 90% { transform: scale(1, 1); } }
.av-normal.ch-kiszek .squash { animation: chill 4s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes chill { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg) translateY(-2%); } }
.av-normal.ch-hu .squash { animation: owlTilt 4.5s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes owlTilt { 0%, 60%, 100% { transform: rotate(0); } 66%, 76% { transform: rotate(-14deg); } 82%, 92% { transform: rotate(12deg); } }
.av-normal.ch-kolec .squash { animation: stomp 3.6s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes stomp { 0%, 70%, 100% { transform: none; } 74% { transform: translateY(-6%) rotate(-3deg); } 78% { transform: translateY(0) scale(1.05, .95); } 82% { transform: translateY(-4%) rotate(3deg); } 86% { transform: translateY(0) scale(1.04, .96); } }
.av-normal.ch-bzik .squash { animation: robot 2.4s steps(1) infinite; animation-delay: var(--d, 0s); }
@keyframes robot { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-6deg); } 50% { transform: rotate(0) translateY(-3%); } 75% { transform: rotate(6deg); } }
.av-normal.ch-bulka .squash { animation: puff 4.2s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes puff { 0%, 55%, 100% { transform: scale(1); } 65%, 80% { transform: scale(1.16); } 88% { transform: scale(.96); } }
.av-normal.ch-zguba .squash { animation: sway 5s ease-in-out infinite; animation-delay: var(--d, 0s); transform-origin: 50% 10%; }
@keyframes sway { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }
.av-normal.ch-turbo .squash { animation: rev 3s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes rev { 0%, 65%, 100% { transform: none; } 68%, 72%, 76%, 80% { transform: translateX(-3%) rotate(-2deg); } 70%, 74%, 78% { transform: translateX(3%) rotate(2deg); } 86% { transform: translateX(8%) scale(1.04, .97); } }

/* ---------- własne cieszynki przy wygranej ---------- */
.av-win.ch-bzik .squash { animation: spinWin 1.6s ease-in-out infinite; }
@keyframes spinWin { 0% { transform: rotate(0); } 40% { transform: rotate(360deg) translateY(-12%); } 60%, 100% { transform: rotate(360deg); } }
.av-win.ch-hu .squash { animation: flap .5s ease-in-out infinite alternate; }
@keyframes flap { from { transform: scale(1.12, .92) translateY(0); } to { transform: scale(.92, 1.1) translateY(-14%); } }
.av-win.ch-turbo .squash { animation: zoom 1.1s ease-in-out infinite; }
@keyframes zoom { 0%, 100% { transform: translateX(0); } 30% { transform: translateX(-12%) rotate(-6deg); } 60% { transform: translateX(14%) rotate(4deg) scale(1.05, .95); } }
.av-win.ch-bulka .squash { animation: bigPuff 1.2s ease-in-out infinite; }
@keyframes bigPuff { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.28) rotate(-6deg); } 70% { transform: scale(1.12) rotate(6deg); } }
.av-win.ch-kolec .squash { animation: hopSpin 1.4s ease-in-out infinite; }
@keyframes hopSpin { 0%, 100% { transform: none; } 40% { transform: translateY(-18%) rotate(-12deg); } 60% { transform: translateY(-18%) rotate(12deg); } }
.av-win.ch-pierog .squash { animation: flip 1.6s ease-in-out infinite; }
@keyframes flip { 0%, 30%, 100% { transform: none; } 55% { transform: translateY(-24%) rotate(180deg); } 80% { transform: translateY(0) rotate(360deg) scale(1.1, .9); } }
.av-win.ch-kiszek .squash { animation: dance .8s ease-in-out infinite; }
@keyframes dance { 0%, 100% { transform: rotate(-12deg) translateY(0); } 25% { transform: rotate(0) translateY(-10%); } 50% { transform: rotate(12deg) translateY(0); } 75% { transform: rotate(0) translateY(-10%); } }
.av-win.ch-zguba .squash { animation: twirl 1.5s ease-in-out infinite; transform-origin: 50% 20%; }
@keyframes twirl { 0%, 100% { transform: rotate(-16deg); } 50% { transform: rotate(16deg) translateY(-8%); } }

/* ---------- ręce i nogi ---------- */
.av .arm, .av .leg { transform-box: view-box; }
.av-normal .arm-0 { animation: armL 2.8s ease-in-out infinite; animation-delay: var(--d, 0s); }
.av-normal .arm-1 { animation: armR 2.8s ease-in-out infinite; animation-delay: calc(var(--d, 0s) - 1.4s); }
@keyframes armL { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(10deg); } }
@keyframes armR { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-10deg); } }
.av-normal .leg-1 { animation: tap 3.4s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes tap { 0%, 80%, 100% { transform: rotate(0); } 85% { transform: rotate(-8deg); } 90% { transform: rotate(0); } 95% { transform: rotate(-8deg); } }
.av-win .arm-0 { animation: waveL .35s ease-in-out infinite alternate; }
.av-win .arm-1 { animation: waveR .35s ease-in-out infinite alternate; }
@keyframes waveL { from { transform: rotate(-12deg); } to { transform: rotate(14deg); } }
@keyframes waveR { from { transform: rotate(12deg); } to { transform: rotate(-14deg); } }
.av-bomb .arm-0 { animation: flailL .18s linear infinite alternate; }
.av-bomb .arm-1 { animation: flailR .18s linear infinite alternate; }
@keyframes flailL { from { transform: rotate(-25deg); } to { transform: rotate(25deg); } }
@keyframes flailR { from { transform: rotate(25deg); } to { transform: rotate(-25deg); } }
.av-bomb .leg-0 { animation: runL .2s linear infinite alternate; }
.av-bomb .leg-1 { animation: runR .2s linear infinite alternate; }
@keyframes runL { from { transform: rotate(-18deg); } to { transform: rotate(18deg); } }
@keyframes runR { from { transform: rotate(18deg); } to { transform: rotate(-18deg); } }
.av-lose .arm { animation: none; }
.av .shadow { transform-box: fill-box; }

/* ---------- realistyczne rozbryzgi ---------- */
.splat { width: var(--w); height: calc(var(--w) * .85); filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .35)); }
.splat svg, .psplat svg { width: 100%; height: 100%; overflow: visible; }
.drip { transform-box: fill-box; transform-origin: top; animation: dripDown 2.6s cubic-bezier(.5, 0, .7, 1) both; }
@keyframes dripDown { from { transform: scaleY(.05); } to { transform: scaleY(1); } }
.shard { transform-box: fill-box; transform-origin: center; animation: shardFall 1.1s cubic-bezier(.3, 0, .8, .6) both; }
@keyframes shardFall { from { translate: 0 0; rotate: 0deg; opacity: 1; } to { translate: var(--tx) var(--ty); rotate: var(--rot); opacity: 0; } }
.proj-tomato { width: 60px; height: 56px; border-radius: 50% 50% 46% 46%; background: radial-gradient(circle at 34% 30%, #FFB3A0 0 8%, #FF5A3C 25%, #E0281E 60%, #9E1410); box-shadow: 0 8px 18px rgba(0, 0, 0, .45), inset -6px -8px 12px rgba(0, 0, 0, .25); }
.proj-tomato::after { content: ''; position: absolute; left: 50%; top: -6px; width: 26px; height: 12px; margin-left: -13px; background: radial-gradient(ellipse at 50% 100%, #4DB33A 0 40%, transparent 42%), conic-gradient(from 0deg, #3E9A2E 0 15%, transparent 15% 25%, #3E9A2E 25% 40%, transparent 40% 50%, #3E9A2E 50% 65%, transparent 65% 75%, #3E9A2E 75% 90%, transparent 90%); border-radius: 50%; }
.proj { filter: drop-shadow(0 10px 8px rgba(0, 0, 0, .35)); }

/* ---------- wybuch ---------- */
.explosion { position: absolute; z-index: 90; width: 0; height: 0; pointer-events: none; }
.explosion i { position: absolute; display: block; border-radius: 50%; }
.ex-flash { left: -700px; top: -700px; width: 1400px; height: 1400px; background: radial-gradient(circle, rgba(255, 255, 240, .95) 0, rgba(255, 230, 160, .6) 25%, transparent 60%); animation: exFlash .45s ease-out both; }
@keyframes exFlash { from { opacity: 1; transform: scale(.3); } to { opacity: 0; transform: scale(1.1); } }
.ex-fire { left: -170px; top: -170px; width: 340px; height: 340px; filter: blur(3px);
  background: radial-gradient(circle at 50% 55%, #FFFBE0 0 10%, #FFE27A 20%, #FFA21F 38%, #F0501E 56%, rgba(140, 30, 20, .85) 72%, transparent 76%);
  animation: exFire 1.1s cubic-bezier(.1, .8, .3, 1) both; }
@keyframes exFire { 0% { transform: scale(.1); opacity: 1; } 40% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.3); opacity: 0; filter: blur(14px); } }
.ex-core { left: -60px; top: -60px; width: 120px; height: 120px; background: radial-gradient(circle, #FFFFFF 0 30%, #FFF0A0 60%, transparent 70%); animation: exCore .5s ease-out both; }
@keyframes exCore { from { transform: scale(.2); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
.ex-ring { left: -60px; top: -60px; width: 120px; height: 120px; border: 6px solid rgba(255, 240, 200, .9); box-shadow: 0 0 30px rgba(255, 200, 120, .8); animation: exRing .8s cubic-bezier(.1, .7, .3, 1) both; }
.ex-ring.r2 { border-width: 3px; animation-delay: .12s; }
@keyframes exRing { from { transform: scale(.2); opacity: 1; } to { transform: scale(6); opacity: 0; } }
.ex-debris { left: -7px; top: -5px; width: 14px; height: 10px; border-radius: 3px !important; background: linear-gradient(135deg, #3A2E45, #120B1E); animation: exDebris 1.2s cubic-bezier(.15, .6, .4, 1) both; }
@keyframes exDebris { from { transform: translate(0, 0) rotate(0); opacity: 1; } 80% { opacity: 1; } to { transform: translate(var(--tx), calc(var(--ty) + 120px)) rotate(var(--r)); opacity: 0; } }
.ex-spark { left: -3px; top: -3px; width: 6px; height: 6px; background: #FFE9A0; box-shadow: 0 0 10px #FFB03B, 0 0 20px #FF7A1F; animation: exSpark .8s cubic-bezier(.1, .7, .3, 1) both; }
@keyframes exSpark { from { transform: translate(0, 0); opacity: 1; } to { transform: translate(var(--tx), var(--ty)); opacity: 0; } }
.ex-smoke { left: -70px; top: -70px; width: 140px; height: 140px; background: radial-gradient(circle at 45% 40%, rgba(110, 100, 120, .95), rgba(60, 52, 70, .85) 50%, transparent 70%); filter: blur(6px); animation: exSmoke 2.8s ease-out both; }
@keyframes exSmoke { 0% { transform: translate(0, 0) scale(.3); opacity: 0; } 15% { opacity: .95; } 100% { transform: translate(var(--tx), var(--ty)) scale(calc(var(--s) * 2.2)); opacity: 0; } }

/* ---------- osmolona postać ---------- */
.sooty { position: relative; }
.sooty .av svg { filter: brightness(.42) saturate(.35) contrast(1.25); }
.soot { position: absolute; inset: 0; pointer-events: none; }
.soot svg { position: absolute; left: 10%; top: -6%; width: 80%; height: 80%; animation: frizz .2s steps(2) infinite; }
@keyframes frizz { 0% { transform: translateY(0); } 100% { transform: translateY(-2px) rotate(1deg); } }
.soot i { position: absolute; left: 50%; top: 4%; width: 30px; height: 30px; margin-left: -15px; border-radius: 50%; background: radial-gradient(circle, rgba(180, 175, 190, .85), rgba(110, 105, 120, .4) 60%, transparent 70%); filter: blur(2px); animation: wisp 2s ease-out infinite; }
.soot i:nth-child(3) { animation-delay: .7s; margin-left: -40px; } .soot i:nth-child(4) { animation-delay: 1.3s; margin-left: 10px; }
@keyframes wisp { from { transform: translateY(0) scale(.4); opacity: .9; } to { transform: translateY(-90px) scale(1.6); opacity: 0; } }
.soot .cough { position: absolute; left: 100%; top: 10%; white-space: nowrap; font-family: var(--fd, sans-serif); font-weight: 900; font-size: 20px; color: #E9E4FF; text-shadow: 0 2px 8px rgba(0, 0, 0, .6); animation: cough 1.4s ease-in-out infinite; }
@keyframes cough { 0%, 100% { transform: translateY(0); opacity: .6; } 50% { transform: translateY(-6px); opacity: 1; } }

/* ---------- warstwa postaci 3D ---------- */
.c3dcanvas { position: absolute; left: 0; top: 0; width: 1280px; height: 720px; z-index: 60; pointer-events: none; }
body > .c3dcanvas { position: fixed; width: 100vw; height: 100vh; z-index: 30; }
.c3d-on .av.c3d-r > svg { visibility: hidden; }
.c3d-on .av.c3d-r { animation: none !important; }
.c3d-on [data-c3d] ~ .snakewrap, .c3d-on .pod-char .snakewrap { display: none; }
.c3d-on .dz.c3d-r > svg { visibility: hidden; }
.c3d-on .dz.c3d-r { animation: none !important; }
.slowmo .proj { transition-duration: 1.9s !important; }
.slowmo .splat { animation-duration: 2.4s !important; }
/* nowe postacie: własne ruchy */
.av-normal.ch-paczek .squash { animation: jelly 3.2s ease-in-out infinite; animation-delay: var(--d, 0s); transform-origin: 50% 100%; }
@keyframes jelly { 0%, 70%, 100% { transform: none; } 76% { transform: scale(1.08, .92); } 82% { transform: scale(.94, 1.06); } 88% { transform: scale(1.03, .97); } }
.av-normal.ch-jajo .squash { animation: wobbleEgg 4s ease-in-out infinite; animation-delay: var(--d, 0s); transform-origin: 50% 95%; }
@keyframes wobbleEgg { 0%, 60%, 100% { transform: rotate(0); } 68% { transform: rotate(-12deg); } 76% { transform: rotate(10deg); } 84% { transform: rotate(-5deg); } }
.av-normal.ch-chmura .squash { animation: floaty 3s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6%); } }
.av-normal.ch-grzyb .squash { animation: sprout 4s ease-in-out infinite; animation-delay: var(--d, 0s); transform-origin: 50% 100%; }
@keyframes sprout { 0%, 75%, 100% { transform: none; } 80% { transform: scaleY(1.1); } 86% { transform: scaleY(.95); } }
.av-win.ch-jajo .squash, .av-win.ch-paczek .squash { animation: hopSpin 1.2s ease-in-out infinite; }
.av-win.ch-chmura .squash { animation: zoom 1.4s ease-in-out infinite; }
/* słabszy TV: bez kosztownego rozmycia tła i cieni-filtrów (wygląda prawie tak samo, działa dużo szybciej) */
.perf-low * { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.perf-low .barrel-svg, .perf-low .vsvg { filter: none !important; }
/* avatar z profilu */
.abadge { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; overflow: hidden; flex: none; color: #FFF; font-family: var(--fd, sans-serif); font-weight: 900; box-shadow: 0 0 0 3px #FFF, 0 3px 8px rgba(0, 0, 0, .3); text-shadow: 0 1px 2px rgba(0, 0, 0, .35); vertical-align: middle; }
.abadge img { width: 100%; height: 100%; object-fit: cover; display: block; }
.barw .abadge { margin-right: 8px; box-shadow: 0 0 0 2px #FFF; }
.pcard .abadge.pc-ph { position: absolute; right: -6px; top: -6px; z-index: 2; }

/* ---------- dostępność ---------- */
.shp { display: none; font-style: normal; }
html.a11y-cb .shp { display: inline-block; margin-left: .18em; font-size: .9em; font-weight: 900; }
html.a11y-cb .ans .let, html.a11y-cb .L { min-width: 2.1em; width: auto !important; padding: 0 .2em; }
html.a11y-big .ans .txt { font-size: 1.22em; }
html.a11y-big .qtx { font-size: 1.15em; }
html.a11y-big body > #app { zoom: 1.14; }
