/* «След реакции» (0.33, club-trails.js): the trails' particles under the flying reactions (#react-layer and the shop's
   previews), the shop's card with a live preview per style, the profile's line. Particles move by transform and opacity
   only, placed once by left/top inside a layer that clips them: nothing else on the page moves. Drawn ones (0.47) are
   small SVGs with a dark edge, so they read over a bright frame as well as a dark one. */
.trl-p { position: absolute; left: 0; top: 0; pointer-events: none; will-change: transform, opacity; animation-timing-function: ease-out; animation-fill-mode: both; }
.trl-spark { width: var(--sz, 5px); height: var(--sz, 5px); margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 4px 2px var(--c), 0 0 10px 3px var(--c); animation-name: trlSpark; animation-timing-function: linear; }
@keyframes trlSpark { /* a pop out, then a fall */
  0% { transform: translate3d(0, 0, 0) scale(1); opacity: 1; }
  30% { transform: translate3d(calc(var(--dx) * .55), -10px, 0) scale(.9); opacity: 1; }
  100% { transform: translate3d(var(--dx), var(--dy), 0) scale(.2); opacity: 0; }
}
.trl-tail { width: 16px; height: 44px; margin: -22px 0 0 -8px; border-radius: 50%; background: radial-gradient(closest-side, #fff 0 22%, rgba(160, 230, 255, .9) 42%, rgba(90, 150, 255, 0) 100%); animation-name: trlTail; }
@keyframes trlTail { from { transform: rotate(var(--a, 0deg)) scale(1, 1); opacity: .9; } to { transform: rotate(var(--a, 0deg)) scale(.3, .7); opacity: 0; } }
.trl-heart { font-size: var(--sz, 13px); line-height: 1; color: var(--c); margin: -.5em 0 0 -.4em; text-shadow: 0 0 6px rgba(255, 80, 140, .55); animation-name: trlHeart; }
@keyframes trlHeart {
  0% { transform: translate3d(0, 0, 0) scale(.3); opacity: 0; }
  25% { transform: translate3d(calc(var(--dx) * .3), calc(var(--dy) * .3), 0) scale(1.15); opacity: 1; }
  100% { transform: translate3d(var(--dx), var(--dy), 0) scale(.8); opacity: 0; }
}
.trl-flake { width: 10px; height: 4px; margin: -2px 0 0 -5px; border-radius: 1px; background: var(--c); animation-name: trlFlake; animation-timing-function: cubic-bezier(.3, .5, .5, 1); }
@keyframes trlFlake { from { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 1; } to { transform: translate3d(var(--dx), var(--dy), 0) rotate(var(--rot)); opacity: 0; } }
.trl-neon { width: 4px; height: 16px; margin: -8px 0 0 -2px; border-radius: 2px; background: #fff; box-shadow: 0 0 3px 2px var(--c), 0 0 12px 5px var(--c); animation-name: trlNeon; }
@keyframes trlNeon { from { transform: rotate(var(--a, 0deg)) scale(1); opacity: 1; } to { transform: rotate(var(--a, 0deg)) scale(.5); opacity: 0; } }
.trl-ring { width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; border: 2px solid rgba(130, 225, 255, .9); box-shadow: 0 0 6px rgba(90, 200, 255, .5); animation-name: trlRing; }
@keyframes trlRing { from { transform: scale(.5); opacity: .95; } to { transform: scale(3.6); opacity: 0; } }
/* «Неон» lights its reaction too. */
.react-float[data-trail="neon"] .react-emoji, .react-float[data-trail="neon"] .react-emoji-img { filter: drop-shadow(0 0 4px #2ef2ff) drop-shadow(0 0 9px #ff3df0); }

/* 0.47 — «Попкорн»: kernels pop out at each of the reaction's pops, fly off on an arc tumbling and drop. */
.trl-corn { width: var(--sz, 12px); height: var(--sz, 12px); margin: calc(var(--sz, 12px) / -2) 0 0 calc(var(--sz, 12px) / -2); background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><g stroke='%23b8873c' stroke-opacity='.7' stroke-width='1.1'><circle cx='8.4' cy='10.2' r='5.4' fill='%23fff6df'/><circle cx='15.6' cy='9.4' r='5.1' fill='%23fffaf0'/><circle cx='12.2' cy='15.4' r='5.7' fill='%23fff0cb'/></g><path d='M7.4 17.4c1.5 2.8 5.9 3.6 8.4 1.2-1.7.4-3.5.2-4.8-.8-1.2.4-2.5.2-3.6-.4z' fill='%23f0a92e'/><circle cx='14.6' cy='7.6' r='1.5' fill='%23fff'/></svg>") center / contain no-repeat; animation-name: trlCorn; animation-timing-function: linear; }
.trl-corn2 { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><g stroke='%23b8873c' stroke-opacity='.7' stroke-width='1.1'><circle cx='9' cy='8.6' r='4.6' fill='%23fffaf0'/><circle cx='16' cy='11' r='4.8' fill='%23fff3d6'/><circle cx='8' cy='15' r='4.7' fill='%23fff6e2'/><circle cx='13.6' cy='16.6' r='4.4' fill='%23ffedc2'/></g><path d='M15.2 19c2.1-.4 3.8-2.1 4-4.2-1 1-2.3 1.7-3.6 1.7.2.9 0 1.8-.4 2.5z' fill='%23f0a92e'/><circle cx='8.2' cy='7.4' r='1.3' fill='%23fff'/></svg>"); }
@keyframes trlCorn { /* a parabola, highest at 35 %, then down below where it popped */
  0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(.3); opacity: 1; }
  8% { transform: translate3d(calc(var(--dx) * .08), calc(var(--h) * -.4), 0) rotate(calc(var(--rot) * .08)) scale(1.22); }
  20% { transform: translate3d(calc(var(--dx) * .2), calc(var(--h) * -.82), 0) rotate(calc(var(--rot) * .2)) scale(1); }
  35% { transform: translate3d(calc(var(--dx) * .35), calc(var(--h) * -1), 0) rotate(calc(var(--rot) * .35)) scale(1); }
  50% { transform: translate3d(calc(var(--dx) * .5), calc(var(--h) * -.82), 0) rotate(calc(var(--rot) * .5)) scale(1); }
  65% { transform: translate3d(calc(var(--dx) * .65), calc(var(--h) * -.27), 0) rotate(calc(var(--rot) * .65)) scale(1); opacity: 1; }
  80% { transform: translate3d(calc(var(--dx) * .8), calc(var(--h) * .65), 0) rotate(calc(var(--rot) * .8)) scale(.96); opacity: .9; }
  100% { transform: translate3d(var(--dx), calc(var(--h) * 2.45), 0) rotate(var(--rot)) scale(.88); opacity: 0; }
}

/* «Киноплёнка»: a strip unrolls behind the reaction, frame after frame — perforations, tiny pictures (--f). */
.trl-film { width: 18px; height: 14px; margin: -7px 0 0 -9px; background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 14'><path fill='%23171210' fill-rule='evenodd' d='M0 0h18v14H0zM4.6 1.2h8.8v11.6H4.6z'/><g fill='%23efe2c2'><rect x='1.1' y='2' width='2.2' height='3.2' rx='.6'/><rect x='1.1' y='8.8' width='2.2' height='3.2' rx='.6'/><rect x='14.7' y='2' width='2.2' height='3.2' rx='.6'/><rect x='14.7' y='8.8' width='2.2' height='3.2' rx='.6'/></g><path d='M4.6 1.2h8.8v11.6H4.6z' fill='none' stroke='%23000' stroke-opacity='.45' stroke-width='.6'/></svg>") 0 0 / 100% 100% no-repeat, var(--f, linear-gradient(#e9b45a, #9b5a2a)); box-shadow: inset 1px 0 0 rgba(255, 236, 200, .28), inset -1px 0 0 rgba(255, 236, 200, .28); animation-name: trlFilm; }
@keyframes trlFilm { /* unrolls, holds, slips away */
  0% { transform: rotate(var(--a, 0deg)) translate3d(0, 0, 0) scale(1, .2); opacity: .7; }
  14% { transform: rotate(var(--a, 0deg)) translate3d(0, 0, 0) scale(1, 1); opacity: 1; }
  62% { transform: rotate(var(--a, 0deg)) translate3d(0, 0, 0) scale(1, 1); opacity: 1; }
  100% { transform: rotate(var(--a, 0deg)) translate3d(0, 5px, 0) scale(.9, .96); opacity: 0; }
}

/* «Пузыри»: soap bubbles with a rainbow sheen float up wobbling and pop. */
.trl-bubble { width: var(--sz, 12px); height: var(--sz, 12px); margin: calc(var(--sz, 12px) / -2) 0 0 calc(var(--sz, 12px) / -2); background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><defs><radialGradient id='f'><stop offset='.58' stop-color='%23fff' stop-opacity='0'/><stop offset='.86' stop-color='%23bfe3ff' stop-opacity='.22'/><stop offset='1' stop-color='%23fff' stop-opacity='.5'/></radialGradient><linearGradient id='r' x1='0' y1='0' x2='1' y2='1'><stop offset='0' stop-color='%23ff7ad9'/><stop offset='.35' stop-color='%23ffe27a'/><stop offset='.65' stop-color='%2372f0ff'/><stop offset='1' stop-color='%23a98bff'/></linearGradient></defs><circle cx='16' cy='16' r='15.2' fill='none' stroke='%23203a5c' stroke-opacity='.32' stroke-width='1'/><circle cx='16' cy='16' r='14.2' fill='url(%23f)' stroke='url(%23r)' stroke-width='2.2'/><path d='M7.6 12.4a9.4 9.4 0 0 1 5.2-5.4' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-opacity='.92'/><circle cx='21.6' cy='22.4' r='1.5' fill='%23fff' fill-opacity='.55'/></svg>") center / contain no-repeat; animation-name: trlBubble; animation-timing-function: linear; }
@keyframes trlBubble { /* blown out, afloat, a wobble, then a pop */
  0% { transform: translate3d(0, 0, 0) scale(.2); opacity: 0; }
  12% { transform: translate3d(calc(var(--dx) * .14), calc(var(--dy) * .12), 0) scale(1); opacity: 1; }
  40% { transform: translate3d(calc(var(--dx) * .42 + 3px), calc(var(--dy) * .42), 0) scale(1.05, .96); }
  66% { transform: translate3d(calc(var(--dx) * .68 - 3px), calc(var(--dy) * .7), 0) scale(.96, 1.05); opacity: 1; }
  90% { transform: translate3d(calc(var(--dx) * .92), calc(var(--dy) * .92), 0) scale(1); opacity: 1; }
  100% { transform: translate3d(var(--dx), var(--dy), 0) scale(1.5); opacity: 0; }
}

/* «Молнии»: bolts strike out sideways from the reaction (from its middle: transform-origin at the top), flicker and go;
   four strikes a flight light a small, short flash behind it. */
.trl-bolt { width: 12px; height: 30px; margin-left: -6px; transform-origin: 50% 0; background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 40'><defs><path id='b' d='M8.5 1 5 12.5l5 1.8-6.2 11 5.2 1.8L5.6 39'/></defs><g fill='none' stroke-linejoin='round' stroke-linecap='round'><use href='%23b' stroke='%232c1d6b' stroke-opacity='.42' stroke-width='5.2'/><use href='%23b' stroke='%235cc2ff' stroke-opacity='.6' stroke-width='3.4'/><use href='%23b' stroke='%23dff6ff' stroke-width='1.7'/><use href='%23b' stroke='%23fff' stroke-width='.8'/></g></svg>") center / 100% 100% no-repeat; animation-name: trlBolt; animation-timing-function: linear; }
.trl-bolt2 { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 40'><defs><path id='b' d='M7.5 1 10.5 11 6 13.4l4.6 9.6-4.4 2.2L9.6 39M10.6 23l3.4 6'/></defs><g fill='none' stroke-linejoin='round' stroke-linecap='round'><use href='%23b' stroke='%232c1d6b' stroke-opacity='.42' stroke-width='5.2'/><use href='%23b' stroke='%235cc2ff' stroke-opacity='.6' stroke-width='3.4'/><use href='%23b' stroke='%23dff6ff' stroke-width='1.7'/><use href='%23b' stroke='%23fff' stroke-width='.8'/></g></svg>"); }
@keyframes trlBolt { /* a strike, a flicker */
  0% { transform: rotate(var(--a, 0deg)) scale(calc(var(--k, 1) * .7), calc(var(--k, 1) * .3)); opacity: 1; }
  12% { transform: rotate(var(--a, 0deg)) scale(var(--k, 1), var(--k, 1)); opacity: 1; }
  24% { opacity: .2; }
  36% { opacity: 1; }
  70% { opacity: .85; }
  100% { transform: rotate(var(--a, 0deg)) scale(var(--k, 1), calc(var(--k, 1) * 1.06)); opacity: 0; }
}
.trl-flash { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .95), rgba(170, 225, 255, .55) 40%, rgba(120, 170, 255, 0)); animation-name: trlFlash; }
@keyframes trlFlash { 0% { transform: scale(.4); opacity: 0; } 12% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.25); opacity: 0; } } /* small and soft: no strobe */
.react-float[data-trail="lightning"] .react-emoji, .react-float[data-trail="lightning"] .react-emoji-img { filter: drop-shadow(0 0 3px #e6f7ff) drop-shadow(0 0 8px #5cc2ff); }

/* «Лепестки»: sakura petals drift down with the breeze, swaying and turning over. */
.trl-petal { width: var(--sz, 12px); height: calc(var(--sz, 12px) * 1.2); margin: calc(var(--sz, 12px) * -.6) 0 0 calc(var(--sz, 12px) / -2); background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 24'><defs><linearGradient id='p' x1='0' y1='0' x2='0' y2='1'><stop offset='0' stop-color='%23ffe6f0'/><stop offset='.55' stop-color='%23ffb3cd'/><stop offset='1' stop-color='%23ff86b1'/></linearGradient></defs><path d='M10 23.4C5.6 20 3.4 14.6 3.6 9.2 3.8 4.6 6 1.6 8.6 1.8L10 3.2l1.4-1.4c2.6-.2 4.8 2.8 5 7.4.2 5.4-2 10.8-6.4 14.2z' fill='url(%23p)' stroke='%23c2416f' stroke-opacity='.5' stroke-width='.9'/><path d='M10 21.6c-.4-4.6-.3-9.6.2-14.6' fill='none' stroke='%23e8679a' stroke-opacity='.55' stroke-width='.8' stroke-linecap='round'/></svg>") center / contain no-repeat; animation-name: trlPetal; animation-timing-function: ease-in-out; }
.trl-petal2 { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 24'><defs><linearGradient id='p' x1='0' y1='0' x2='0' y2='1'><stop offset='0' stop-color='%23fff6fa'/><stop offset='.6' stop-color='%23ffd3e2'/><stop offset='1' stop-color='%23ffa6c6'/></linearGradient></defs><path d='M10 23.4C5.6 20 3.4 14.6 3.6 9.2 3.8 4.6 6 1.6 8.6 1.8L10 3.2l1.4-1.4c2.6-.2 4.8 2.8 5 7.4.2 5.4-2 10.8-6.4 14.2z' fill='url(%23p)' stroke='%23c2416f' stroke-opacity='.45' stroke-width='.9'/></svg>"); }
@keyframes trlPetal {
  0% { transform: translate3d(0, 0, 0) rotate(0deg) rotate3d(1, .4, 0, 0deg) scale(.5); opacity: 0; }
  12% { transform: translate3d(calc(var(--dx) * .1 + var(--sw)), calc(var(--dy) * .06), 0) rotate(calc(var(--rot) * .12)) rotate3d(1, .4, 0, 50deg) scale(1); opacity: 1; }
  40% { transform: translate3d(calc(var(--dx) * .4 - var(--sw)), calc(var(--dy) * .34), 0) rotate(calc(var(--rot) * .4)) rotate3d(1, .4, 0, 160deg) scale(1); }
  70% { transform: translate3d(calc(var(--dx) * .7 + var(--sw)), calc(var(--dy) * .66), 0) rotate(calc(var(--rot) * .7)) rotate3d(1, .4, 0, 270deg) scale(1); opacity: .95; }
  100% { transform: translate3d(var(--dx), var(--dy), 0) rotate(var(--rot)) rotate3d(1, .4, 0, 380deg) scale(.9); opacity: 0; }
}

/* «Ноты»: notes — ♪ and ♫ (.trl-nn), four colours — wobble up on either side of the rocking reaction. */
.trl-note { width: var(--sz, 16px); height: var(--sz, 16px); margin: calc(var(--sz, 16px) / -2) 0 0 calc(var(--sz, 16px) / -2); background: center / contain no-repeat; animation-name: trlNote; animation-timing-function: ease-in-out; }
.trl-n0 { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 24'><g fill='%23ffcf4a' stroke='%23000' stroke-opacity='.38' stroke-width='1.3' paint-order='stroke' stroke-linejoin='round'><ellipse cx='7' cy='18.6' rx='4.7' ry='3.5' transform='rotate(-24 7 18.6)'/><path d='M10.6 18.4V3h1.9c.6 2.4 2.4 3.4 4 4.6 1.8 1.4 2 3.8.9 5.8-.2-2.6-2.2-4-4.9-4.4v9.4z'/></g></svg>"); }
.trl-n1 { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 24'><g fill='%23ff6fae' stroke='%23000' stroke-opacity='.38' stroke-width='1.3' paint-order='stroke' stroke-linejoin='round'><ellipse cx='7' cy='18.6' rx='4.7' ry='3.5' transform='rotate(-24 7 18.6)'/><path d='M10.6 18.4V3h1.9c.6 2.4 2.4 3.4 4 4.6 1.8 1.4 2 3.8.9 5.8-.2-2.6-2.2-4-4.9-4.4v9.4z'/></g></svg>"); }
.trl-n2 { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 24'><g fill='%234fd6ff' stroke='%23000' stroke-opacity='.38' stroke-width='1.3' paint-order='stroke' stroke-linejoin='round'><ellipse cx='7' cy='18.6' rx='4.7' ry='3.5' transform='rotate(-24 7 18.6)'/><path d='M10.6 18.4V3h1.9c.6 2.4 2.4 3.4 4 4.6 1.8 1.4 2 3.8.9 5.8-.2-2.6-2.2-4-4.9-4.4v9.4z'/></g></svg>"); }
.trl-n3 { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 24'><g fill='%23b192ff' stroke='%23000' stroke-opacity='.38' stroke-width='1.3' paint-order='stroke' stroke-linejoin='round'><ellipse cx='7' cy='18.6' rx='4.7' ry='3.5' transform='rotate(-24 7 18.6)'/><path d='M10.6 18.4V3h1.9c.6 2.4 2.4 3.4 4 4.6 1.8 1.4 2 3.8.9 5.8-.2-2.6-2.2-4-4.9-4.4v9.4z'/></g></svg>"); }
.trl-n0.trl-nn { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><g fill='%23ffcf4a' stroke='%23000' stroke-opacity='.38' stroke-width='1.3' paint-order='stroke' stroke-linejoin='round'><ellipse cx='5.6' cy='19' rx='4' ry='3' transform='rotate(-24 5.6 19)'/><ellipse cx='17.6' cy='17' rx='4' ry='3' transform='rotate(-24 17.6 17)'/><path d='M8.4 18.8V5.2l12-2.6v14.2h-1.8V7.2L10.2 9v9.8z'/></g></svg>"); }
.trl-n1.trl-nn { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><g fill='%23ff6fae' stroke='%23000' stroke-opacity='.38' stroke-width='1.3' paint-order='stroke' stroke-linejoin='round'><ellipse cx='5.6' cy='19' rx='4' ry='3' transform='rotate(-24 5.6 19)'/><ellipse cx='17.6' cy='17' rx='4' ry='3' transform='rotate(-24 17.6 17)'/><path d='M8.4 18.8V5.2l12-2.6v14.2h-1.8V7.2L10.2 9v9.8z'/></g></svg>"); }
.trl-n2.trl-nn { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><g fill='%234fd6ff' stroke='%23000' stroke-opacity='.38' stroke-width='1.3' paint-order='stroke' stroke-linejoin='round'><ellipse cx='5.6' cy='19' rx='4' ry='3' transform='rotate(-24 5.6 19)'/><ellipse cx='17.6' cy='17' rx='4' ry='3' transform='rotate(-24 17.6 17)'/><path d='M8.4 18.8V5.2l12-2.6v14.2h-1.8V7.2L10.2 9v9.8z'/></g></svg>"); }
.trl-n3.trl-nn { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><g fill='%23b192ff' stroke='%23000' stroke-opacity='.38' stroke-width='1.3' paint-order='stroke' stroke-linejoin='round'><ellipse cx='5.6' cy='19' rx='4' ry='3' transform='rotate(-24 5.6 19)'/><ellipse cx='17.6' cy='17' rx='4' ry='3' transform='rotate(-24 17.6 17)'/><path d='M8.4 18.8V5.2l12-2.6v14.2h-1.8V7.2L10.2 9v9.8z'/></g></svg>"); }
@keyframes trlNote { /* up, swinging */
  0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(.4); opacity: 0; }
  14% { transform: translate3d(var(--sw), calc(var(--dy) * .14), 0) rotate(12deg) scale(1.1); opacity: 1; }
  40% { transform: translate3d(calc(var(--sw) * -1), calc(var(--dy) * .4), 0) rotate(-12deg) scale(1); }
  66% { transform: translate3d(var(--sw), calc(var(--dy) * .66), 0) rotate(10deg) scale(1); opacity: 1; }
  100% { transform: translate3d(calc(var(--sw) * -.6), var(--dy), 0) rotate(-6deg) scale(.85); opacity: 0; }
}

/* «Пиксели»: 8-bit squares on the reaction's grid, in turn through a retro palette, fading in steps. */
.trl-pix { width: 10px; height: 10px; margin: -5px 0 0 -5px; background: var(--c, #29adff); box-shadow: inset 0 0 0 1px rgba(10, 10, 24, .3); animation-name: trlPix; animation-timing-function: steps(4, end); }
.trl-pix2 { box-shadow: inset 0 0 0 1px rgba(10, 10, 24, .3), var(--o, 20px) -10px 0 -2px #fff6c4; } /* a sparkle two cells aside */
@keyframes trlPix { 0%, 45% { transform: scale(1); opacity: 1; } 100% { transform: scale(.4); opacity: 0; } } /* held, then gone in steps */

/* «Снег»: snowflakes and flecks drift down, swaying, turning slowly. */
.trl-snow { width: var(--sz, 11px); height: var(--sz, 11px); margin: calc(var(--sz, 11px) / -2) 0 0 calc(var(--sz, 11px) / -2); background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><defs><path id='a' d='M12 12V2.4M12 6.2 9.6 4M12 6.2 14.4 4M12 9.3 10.3 7.8M12 9.3 13.7 7.8'/><g id='s'><use href='%23a'/><use href='%23a' transform='rotate(60 12 12)'/><use href='%23a' transform='rotate(120 12 12)'/><use href='%23a' transform='rotate(180 12 12)'/><use href='%23a' transform='rotate(240 12 12)'/><use href='%23a' transform='rotate(300 12 12)'/></g></defs><g fill='none' stroke-linecap='round' stroke-linejoin='round'><use href='%23s' stroke='%2323405f' stroke-opacity='.6' stroke-width='3.2'/><use href='%23s' stroke='%23fff' stroke-width='1.5'/></g></svg>") center / contain no-repeat; animation-name: trlSnow; animation-timing-function: ease-in-out; }
.trl-snow2 { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><defs><path id='a' d='M12 12V3.4M10.2 5.2 12 3.4l1.8 1.8M12 8.6 9.6 7.2M12 8.6 14.4 7.2'/><g id='s'><use href='%23a'/><use href='%23a' transform='rotate(60 12 12)'/><use href='%23a' transform='rotate(120 12 12)'/><use href='%23a' transform='rotate(180 12 12)'/><use href='%23a' transform='rotate(240 12 12)'/><use href='%23a' transform='rotate(300 12 12)'/></g></defs><g fill='none' stroke-linecap='round' stroke-linejoin='round'><use href='%23s' stroke='%2323405f' stroke-opacity='.6' stroke-width='3.2'/><use href='%23s' stroke='%23eaf6ff' stroke-width='1.5'/></g><circle cx='12' cy='12' r='1.6' fill='%23fff'/></svg>"); }
.trl-snow.trl-dot { border-radius: 50%; background: radial-gradient(circle, #fff 0 42%, rgba(236, 246, 255, .7) 62%, rgba(255, 255, 255, 0) 74%); box-shadow: 0 0 0 .8px rgba(35, 64, 95, .45); }
@keyframes trlSnow {
  0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(.4); opacity: 0; }
  14% { transform: translate3d(calc(var(--dx) * .12 + var(--sw)), calc(var(--dy) * .1), 0) rotate(calc(var(--rot) * .14)) scale(1); opacity: 1; }
  42% { transform: translate3d(calc(var(--dx) * .42 - var(--sw)), calc(var(--dy) * .4), 0) rotate(calc(var(--rot) * .42)) scale(1); }
  70% { transform: translate3d(calc(var(--dx) * .7 + var(--sw)), calc(var(--dy) * .7), 0) rotate(calc(var(--rot) * .7)) scale(1); opacity: .9; }
  100% { transform: translate3d(var(--dx), var(--dy), 0) rotate(var(--rot)) scale(.8); opacity: 0; }
}
.react-float[data-trail="snow"] .react-emoji, .react-float[data-trail="snow"] .react-emoji-img { filter: drop-shadow(0 0 4px rgba(225, 240, 255, .9)); }

/* Reduced motion: the shop's previews draw a still picture (club-trails.js), the hall a short still mark that only
   fades; nothing moves. */
.trl-static { animation: none; opacity: .85; transform: none; }
.trl-static.trl-ring { transform: scale(1.6); opacity: .6; }
.trl-static.trl-spark { transform: translate3d(calc(var(--dx) * .3), calc(var(--dy) * .3), 0); }
.trl-static.trl-tail, .trl-static.trl-neon { transform: rotate(var(--a, 0deg)) scale(.7); }
.trl-static.trl-flake { transform: translate3d(calc(var(--dx) * .3), calc(var(--dy) * .3), 0) rotate(var(--rot)); }
.trl-static.trl-corn { transform: translate3d(calc(var(--dx) * .25), calc(var(--h) * -.9), 0) rotate(calc(var(--rot) * .2)); opacity: .95; }
.trl-static.trl-film { transform: rotate(var(--a, 0deg)); opacity: .95; }
.trl-static.trl-bubble, .trl-static.trl-snow, .trl-static.trl-star, .trl-static.trl-fly { transform: translate3d(calc(var(--dx) * .3), calc(var(--dy) * .3), 0) rotate(calc(var(--rot, 0deg) * .3)); }
.trl-static.trl-bolt { transform: rotate(var(--a, 0deg)) scale(var(--k, 1)); opacity: .95; }
.trl-static.trl-petal { transform: translate3d(calc(var(--dx) * .3), calc(var(--dy) * .3), 0) rotate(calc(var(--rot) * .3)) rotate3d(1, .4, 0, 40deg); }
.trl-static.trl-note { transform: translate3d(var(--sw), calc(var(--dy) * .3), 0) rotate(10deg); opacity: .95; }
.trl-static.trl-pix { opacity: .9; }
.trl-static.trl-mark { animation: trlMark 1.1s linear both; }
/* n86: «Звездопад» — four-point stars that twinkle as they sink; «Бабочки» — butterflies that flutter away, their wings folding. */
.trl-star { width: var(--sz, 10px); height: var(--sz, 10px); margin: calc(var(--sz, 10px) / -2) 0 0 calc(var(--sz, 10px) / -2); background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 1.5 14.2 9.8 22.5 12 14.2 14.2 12 22.5 9.8 14.2 1.5 12 9.8 9.8z' fill='%23fff3c4' stroke='%23b8860b' stroke-opacity='.6' stroke-width='1'/></svg>") center / contain no-repeat; animation-name: trlStar; }
.trl-star2 { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 1.5 14.2 9.8 22.5 12 14.2 14.2 12 22.5 9.8 14.2 1.5 12 9.8 9.8z' fill='%23e6dcff' stroke='%236b4fc2' stroke-opacity='.6' stroke-width='1'/></svg>"); }
@keyframes trlStar {
  0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(.2); opacity: 0; }
  18% { transform: translate3d(calc(var(--dx) * .18), calc(var(--dy) * .12), 0) rotate(calc(var(--rot) * .18)) scale(1.15); opacity: 1; }
  45% { transform: translate3d(calc(var(--dx) * .45), calc(var(--dy) * .4), 0) rotate(calc(var(--rot) * .45)) scale(.65); opacity: .8; }
  70% { transform: translate3d(calc(var(--dx) * .7), calc(var(--dy) * .68), 0) rotate(calc(var(--rot) * .7)) scale(1); opacity: 1; }
  100% { transform: translate3d(var(--dx), var(--dy), 0) rotate(var(--rot)) scale(.3); opacity: 0; }
}
.trl-fly { width: var(--sz, 16px); height: var(--sz, 16px); margin: calc(var(--sz, 16px) / -2) 0 0 calc(var(--sz, 16px) / -2); background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 12C9 4 3 3 2 7c-1 4 4 6 10 5zM12 12c3-8 9-9 10-5 1 4-4 6-10 5zM12 12c-4 1-8 3-7 7 1 3 5 2 7-7zM12 12c4 1 8 3 7 7-1 3-5 2-7-7z' fill='%23ff9d2e' stroke='%237a3b00' stroke-width='1.1' stroke-linejoin='round'/><path d='M12 7.5v10' stroke='%232b1a0a' stroke-width='1.8' stroke-linecap='round'/></svg>") center / contain no-repeat; animation-name: trlFly; animation-timing-function: linear; }
.trl-fly2 { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 12C9 4 3 3 2 7c-1 4 4 6 10 5zM12 12c3-8 9-9 10-5 1 4-4 6-10 5zM12 12c-4 1-8 3-7 7 1 3 5 2 7-7zM12 12c4 1 8 3 7 7-1 3-5 2-7-7z' fill='%237cc4ff' stroke='%231d4f8a' stroke-width='1.1' stroke-linejoin='round'/><path d='M12 7.5v10' stroke='%23112a4a' stroke-width='1.8' stroke-linecap='round'/></svg>"); }
@keyframes trlFly {
  0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(.3, .3); opacity: 0; }
  12% { transform: translate3d(calc(var(--dx) * .1), calc(var(--dy) * .1), 0) rotate(calc(var(--rot) * .3)) scale(1, 1); opacity: 1; }
  24% { transform: translate3d(calc(var(--dx) * .22), calc(var(--dy) * .26), 0) rotate(calc(var(--rot) * .6)) scale(.35, 1); opacity: 1; }
  36% { transform: translate3d(calc(var(--dx) * .36), calc(var(--dy) * .34), 0) rotate(var(--rot)) scale(1, 1); opacity: 1; }
  48% { transform: translate3d(calc(var(--dx) * .48), calc(var(--dy) * .52), 0) rotate(calc(var(--rot) * .7)) scale(.35, 1); opacity: 1; }
  60% { transform: translate3d(calc(var(--dx) * .6), calc(var(--dy) * .6), 0) rotate(calc(var(--rot) * .4)) scale(1, 1); opacity: 1; }
  72% { transform: translate3d(calc(var(--dx) * .72), calc(var(--dy) * .78), 0) rotate(calc(var(--rot) * .8)) scale(.35, 1); opacity: .95; }
  84% { transform: translate3d(calc(var(--dx) * .84), calc(var(--dy) * .86), 0) rotate(var(--rot)) scale(1, 1); opacity: .8; }
  100% { transform: translate3d(var(--dx), var(--dy), 0) rotate(var(--rot)) scale(.5, .8); opacity: 0; }
}
/* n107b: «Светлячки» — soft green-gold lights that wander and blink; «Журавлики» — folded paper cranes beating their
   wings as they glide off; «Монетки» — a jackpot of gold coins spinning down, a glint now and then; «Дракон» —
   a festival lantern dragon that carries the reaction: a horned, whiskered head with lit eyes ahead of it, eleven red-and-gold
   segments and a flame of a tail snaking after it along the same S (club-trails.js BODY moves them), embers off the tail. */
.trl-ffly { width: var(--sz, 6px); height: var(--sz, 6px); margin: calc(var(--sz, 6px) / -2) 0 0 calc(var(--sz, 6px) / -2); border-radius: 50%; background: radial-gradient(circle, #fffde8 0 28%, #e9ff8a 46%, rgba(190, 255, 70, 0) 72%); box-shadow: 0 0 6px 2px rgba(205, 255, 90, .55), 0 0 16px 6px rgba(160, 230, 60, .22); animation-name: trlFfly; animation-timing-function: ease-in-out; }
.trl-ffly2 { background: radial-gradient(circle, #fff8e0 0 28%, #ffd76a 46%, rgba(255, 190, 60, 0) 72%); box-shadow: 0 0 6px 2px rgba(255, 205, 90, .55), 0 0 16px 6px rgba(255, 170, 50, .2); }
@keyframes trlFfly {
  0% { transform: translate3d(0, 0, 0) scale(.3); opacity: 0; }
  15% { transform: translate3d(calc(var(--dx) * .15), calc(var(--dy) * .2), 0) scale(1); opacity: 1; }
  30% { transform: translate3d(calc(var(--dx) * .32), calc(var(--dy) * .3), 0) scale(.75); opacity: .25; }
  46% { transform: translate3d(calc(var(--dx) * .45), calc(var(--dy) * .55), 0) scale(1.1); opacity: 1; }
  62% { transform: translate3d(calc(var(--dx) * .66), calc(var(--dy) * .62), 0) scale(.8); opacity: .35; }
  80% { transform: translate3d(calc(var(--dx) * .82), calc(var(--dy) * .85), 0) scale(1); opacity: .9; }
  100% { transform: translate3d(var(--dx), var(--dy), 0) scale(.4); opacity: 0; }
}
.trl-crane { width: var(--sz, 17px); height: var(--sz, 17px); margin: calc(var(--sz, 17px) / -2) 0 0 calc(var(--sz, 17px) / -2); background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12.6 13.6 18.4 3.2 16 15z' fill='%23cfc3ab'/><path d='M10.4 15.6 1.6 10.4.6 12.8 1.8 9.4 3 9.2 11.6 13.4z' fill='%23efe6d4'/><path d='M14.6 15.8 23.6 9.6 22.8 8.6 13.6 13.6z' fill='%23efe6d4'/><path d='M8.4 15.4 11.6 12.6 16.4 15 12.2 19.4z' fill='%23efe6d4'/><path d='M9.6 14.6 6 4.2 13.2 13.4z' fill='%23fffaf0'/><path d='M9.6 14.6 6 4.2 13.2 13.4M12.6 13.6 18.4 3.2 16 15M8.4 15.4 11.6 12.6 16.4 15 12.2 19.4zM10.4 15.6 1.6 10.4.6 12.8M1.8 9.4 3 9.2 11.6 13.4M14.6 15.8 23.6 9.6 22.8 8.6 13.6 13.6' fill='none' stroke='%236d6050' stroke-width='.6' stroke-linejoin='round'/></svg>") center / contain no-repeat; filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, .45)); animation-name: trlCrane; animation-timing-function: linear; }
.trl-crane2 { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12.6 13.6 18.4 3.2 16 15z' fill='%23e293a3'/><path d='M10.4 15.6 1.6 10.4.6 12.8 1.8 9.4 3 9.2 11.6 13.4z' fill='%23f7bcc7'/><path d='M14.6 15.8 23.6 9.6 22.8 8.6 13.6 13.6z' fill='%23f7bcc7'/><path d='M8.4 15.4 11.6 12.6 16.4 15 12.2 19.4z' fill='%23f7bcc7'/><path d='M9.6 14.6 6 4.2 13.2 13.4z' fill='%23ffe3e8'/><path d='M9.6 14.6 6 4.2 13.2 13.4M12.6 13.6 18.4 3.2 16 15M8.4 15.4 11.6 12.6 16.4 15 12.2 19.4zM10.4 15.6 1.6 10.4.6 12.8M1.8 9.4 3 9.2 11.6 13.4M14.6 15.8 23.6 9.6 22.8 8.6 13.6 13.6' fill='none' stroke='%239a4858' stroke-width='.6' stroke-linejoin='round'/><circle cx='12.2' cy='16' r='.9' fill='%23c94a63'/></svg>"); }
@keyframes trlCrane {
  0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(calc(var(--fx, 1) * .3), .3); opacity: 0; }
  12% { transform: translate3d(calc(var(--dx) * .1), calc(var(--dy) * .1), 0) rotate(calc(var(--rot) * .3)) scale(var(--fx, 1), 1); opacity: 1; }
  25% { transform: translate3d(calc(var(--dx) * .24), calc(var(--dy) * .28), 0) rotate(calc(var(--rot) * .5)) scale(var(--fx, 1), .45); opacity: 1; }
  38% { transform: translate3d(calc(var(--dx) * .38), calc(var(--dy) * .38), 0) rotate(var(--rot)) scale(var(--fx, 1), 1); opacity: 1; }
  51% { transform: translate3d(calc(var(--dx) * .52), calc(var(--dy) * .56), 0) rotate(calc(var(--rot) * .7)) scale(var(--fx, 1), .45); opacity: 1; }
  64% { transform: translate3d(calc(var(--dx) * .66), calc(var(--dy) * .64), 0) rotate(var(--rot)) scale(var(--fx, 1), 1); opacity: .95; }
  82% { transform: translate3d(calc(var(--dx) * .84), calc(var(--dy) * .86), 0) rotate(var(--rot)) scale(var(--fx, 1), 1); opacity: .8; }
  100% { transform: translate3d(var(--dx), var(--dy), 0) rotate(var(--rot)) scale(calc(var(--fx, 1) * .6), .6); opacity: 0; }
}
.trl-coin { width: var(--sz, 12px); height: var(--sz, 12px); margin: calc(var(--sz, 12px) / -2) 0 0 calc(var(--sz, 12px) / -2); background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><defs><radialGradient id='g' cx='.35' cy='.3' r='.8'><stop offset='0' stop-color='%23fff6c2'/><stop offset='.45' stop-color='%23f5c542'/><stop offset='1' stop-color='%23b07a12'/></radialGradient></defs><circle cx='12' cy='12' r='10.6' fill='url(%23g)' stroke='%237a4f06' stroke-width='1.2'/><circle cx='12' cy='12' r='7.6' fill='none' stroke='%23a8730f' stroke-width='.9' stroke-dasharray='1.2 1'/><path d='M12 7.2l1.4 2.9 3.2.4-2.3 2.2.6 3.2L12 14.4l-2.9 1.5.6-3.2-2.3-2.2 3.2-.4z' fill='%23d99c1c' stroke='%238a5a08' stroke-width='.6'/></svg>") center / contain no-repeat; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .5)); animation-name: trlCoin; animation-timing-function: cubic-bezier(.45, 0, .8, .6); }
.trl-coin2 { filter: drop-shadow(0 0 3px rgba(255, 214, 90, .8)) drop-shadow(0 1px 1px rgba(0, 0, 0, .5)); }
@keyframes trlCoin { /* thrown up a little, then falls, spinning on its edge */
  0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(.4, .4); opacity: 0; }
  10% { transform: translate3d(calc(var(--dx) * .12), calc(var(--dy) * -.12), 0) rotate(calc(var(--rot) * .1)) scale(1, 1); opacity: 1; }
  22% { transform: translate3d(calc(var(--dx) * .24), calc(var(--dy) * -.14), 0) rotate(calc(var(--rot) * .25)) scale(.12, 1); opacity: 1; }
  34% { transform: translate3d(calc(var(--dx) * .36), calc(var(--dy) * -.06), 0) rotate(calc(var(--rot) * .4)) scale(1, 1); opacity: 1; }
  46% { transform: translate3d(calc(var(--dx) * .48), calc(var(--dy) * .12), 0) rotate(calc(var(--rot) * .55)) scale(.12, 1); opacity: 1; }
  58% { transform: translate3d(calc(var(--dx) * .6), calc(var(--dy) * .34), 0) rotate(calc(var(--rot) * .7)) scale(1, 1); opacity: 1; }
  72% { transform: translate3d(calc(var(--dx) * .74), calc(var(--dy) * .6), 0) rotate(calc(var(--rot) * .85)) scale(.12, 1); opacity: .9; }
  86% { transform: translate3d(calc(var(--dx) * .88), calc(var(--dy) * .82), 0) rotate(var(--rot)) scale(1, 1); opacity: .7; }
  100% { transform: translate3d(var(--dx), var(--dy), 0) rotate(var(--rot)) scale(.5, .8); opacity: 0; }
}
.trl-glint { width: 14px; height: 14px; margin: -7px 0 0 -7px; background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 1 13.4 10.6 23 12 13.4 13.4 12 23 10.6 13.4 1 12 10.6 10.6z' fill='%23fffbe6'/></svg>") center / contain no-repeat; filter: drop-shadow(0 0 3px rgba(255, 220, 110, .9)); animation-name: trlGlint; animation-timing-function: ease-out; }
@keyframes trlGlint {
  0% { transform: rotate(0deg) scale(.1); opacity: 0; }
  25% { transform: rotate(45deg) scale(1.1); opacity: 1; }
  55% { transform: rotate(90deg) scale(.4); opacity: .6; }
  100% { transform: rotate(120deg) scale(0); opacity: 0; }
}
.trl-drg { background: center / 100% 100% no-repeat; transform: rotate(var(--a, 0deg)) scale(var(--k, 1)); }
.trl-drghead { width: 50px; height: 57px; margin: -30px 0 0 -25px; transform-origin: 50% 30px; background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 50'><defs><radialGradient id='g' cx='.5' cy='.5' r='.5'><stop offset='0' stop-color='%23ffb347' stop-opacity='.5'/><stop offset='1' stop-color='%23ff5a1f' stop-opacity='0'/></radialGradient><linearGradient id='o' x1='0' y1='0' x2='0' y2='1'><stop offset='0' stop-color='%23fff0a8'/><stop offset='1' stop-color='%23e9a21a'/></linearGradient><linearGradient id='r' x1='0' x2='1'><stop offset='0' stop-color='%23a3121c'/><stop offset='.5' stop-color='%23f2402e'/><stop offset='1' stop-color='%23a3121c'/></linearGradient></defs><circle cx='22' cy='26' r='22' fill='url(%23g)'/><path d='M11 30 L5 40 L12 37 L11 47 L17 40 L22 49 L27 40 L33 47 L32 37 L39 40 L33 30 Z' fill='%231fc4a2' stroke='%230b6a58' stroke-width='.8' stroke-linejoin='round'/><path d='M14 29 C9 29 5 31 2 36 M8 30.5 L4 26 M30 29 C35 29 39 31 42 36 M36 30.5 L40 26' fill='none' stroke='url(%23o)' stroke-width='2.2' stroke-linecap='round'/><path d='M17 10 C9 5 2 10 4 20 C4.5 22 6 23 7 22 M27 10 C35 5 42 10 40 20 C39.5 22 38 23 37 22' fill='none' stroke='%23ffd766' stroke-width='1.5' stroke-linecap='round'/><path d='M22 3 C27.5 3 29.5 7.5 29 12.5 C28.5 17 33 19 34 24.5 C35.5 32 29.5 36 22 36 C14.5 36 8.5 32 10 24.5 C11 19 15.5 17 15 12.5 C14.5 7.5 16.5 3 22 3 Z' fill='url(%23r)' stroke='%23ffd766' stroke-width='1.3'/><path d='M22 9 L22 31' stroke='%23ffd766' stroke-width='1.5' stroke-linecap='round' opacity='.9'/><circle cx='19' cy='6.6' r='1.2' fill='%234a070d'/><circle cx='25' cy='6.6' r='1.2' fill='%234a070d'/><path d='M11.5 21.5 Q15.5 17.5 20 21.5 M24 21.5 Q28.5 17.5 32.5 21.5' fill='none' stroke='%23ffd766' stroke-width='1.7' stroke-linecap='round'/><circle cx='16' cy='24.5' r='5' fill='%23fff7a0' opacity='.38'/><circle cx='28' cy='24.5' r='5' fill='%23fff7a0' opacity='.38'/><ellipse cx='16' cy='24.5' rx='3' ry='2.6' fill='%23fffbe0'/><ellipse cx='28' cy='24.5' rx='3' ry='2.6' fill='%23fffbe0'/><ellipse cx='16' cy='24.5' rx='.9' ry='2.2' fill='%233a0d05'/><ellipse cx='28' cy='24.5' rx='.9' ry='2.2' fill='%233a0d05'/></svg>"); }
.trl-drgseg { width: 27px; height: 25px; margin: -12.5px 0 0 -13.5px; background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'><defs><radialGradient id='g' cx='.5' cy='.5' r='.5'><stop offset='0' stop-color='%23ffb347' stop-opacity='.5'/><stop offset='1' stop-color='%23ff5a1f' stop-opacity='0'/></radialGradient><linearGradient id='o' x1='0' y1='0' x2='0' y2='1'><stop offset='0' stop-color='%23fff0a8'/><stop offset='1' stop-color='%23e9a21a'/></linearGradient><radialGradient id='b' cx='.5' cy='.5' r='.5'><stop offset='0' stop-color='%23ff9a45'/><stop offset='.5' stop-color='%23ec3326'/><stop offset='1' stop-color='%239b111b'/></radialGradient></defs><circle cx='12' cy='11' r='11' fill='url(%23g)'/><ellipse cx='12' cy='11' rx='8.8' ry='8.6' fill='url(%23b)' stroke='%237a0c14' stroke-width='.7'/><path d='M4.5 8.5 Q8.3 13.5 12 8.5 Q15.7 13.5 19.5 8.5 M5.5 14 Q8.8 18 12 14 Q15.2 18 18.5 14' fill='none' stroke='%23ffd766' stroke-width='1' opacity='.9'/><path d='M12 1.6 L14.4 7.5 L12 13 L9.6 7.5 Z' fill='url(%23o)' stroke='%23a86400' stroke-width='.5'/></svg>"); }
.trl-drgseg.trl-drgclaw { width: 50px; margin-left: -25px; background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 22'><defs><radialGradient id='g' cx='.5' cy='.5' r='.5'><stop offset='0' stop-color='%23ffb347' stop-opacity='.5'/><stop offset='1' stop-color='%23ff5a1f' stop-opacity='0'/></radialGradient><linearGradient id='o' x1='0' y1='0' x2='0' y2='1'><stop offset='0' stop-color='%23fff0a8'/><stop offset='1' stop-color='%23e9a21a'/></linearGradient><radialGradient id='b' cx='.5' cy='.5' r='.5'><stop offset='0' stop-color='%23ff9a45'/><stop offset='.5' stop-color='%23ec3326'/><stop offset='1' stop-color='%239b111b'/></radialGradient></defs><path d='M15 10 C11 9 8 6 5 3.5' fill='none' stroke='%23c81d20' stroke-width='3.4' stroke-linecap='round'/><path d='M5 3.5 L1 2 M5 3.5 L2 6 M5 3.5 L4.5 0.6' fill='none' stroke='%23ffd766' stroke-width='1.3' stroke-linecap='round'/><path d='M29 10 C33 9 36 6 39 3.5' fill='none' stroke='%23c81d20' stroke-width='3.4' stroke-linecap='round'/><path d='M39 3.5 L43 2 M39 3.5 L42 6 M39 3.5 L39.5 0.6' fill='none' stroke='%23ffd766' stroke-width='1.3' stroke-linecap='round'/><circle cx='22' cy='11' r='11' fill='url(%23g)'/><ellipse cx='22' cy='11' rx='8.8' ry='8.6' fill='url(%23b)' stroke='%237a0c14' stroke-width='.7'/><path d='M14.5 8.5 Q18.3 13.5 22 8.5 Q25.7 13.5 29.5 8.5 M15.5 14 Q18.8 18 22 14 Q25.2 18 28.5 14' fill='none' stroke='%23ffd766' stroke-width='1' opacity='.9'/><path d='M22 1.6 L24.4 7.5 L22 13 L19.6 7.5 Z' fill='url(%23o)' stroke='%23a86400' stroke-width='.5'/></svg>"); }
.trl-drgtail { width: 25px; height: 41px; margin: -6px 0 0 -12.5px; transform-origin: 50% 6px; background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 36'><defs><radialGradient id='g' cx='.5' cy='.5' r='.5'><stop offset='0' stop-color='%23ffb347' stop-opacity='.5'/><stop offset='1' stop-color='%23ff5a1f' stop-opacity='0'/></radialGradient><linearGradient id='o' x1='0' y1='0' x2='0' y2='1'><stop offset='0' stop-color='%23fff0a8'/><stop offset='1' stop-color='%23e9a21a'/></linearGradient><radialGradient id='b' cx='.5' cy='.5' r='.5'><stop offset='0' stop-color='%23ff9a45'/><stop offset='.5' stop-color='%23ec3326'/><stop offset='1' stop-color='%239b111b'/></radialGradient></defs><path d='M3.5 1 C4 9 8.5 15 11 20 C13.5 15 18 9 18.5 1 Z' fill='url(%23b)' stroke='%237a0c14' stroke-width='.7'/><path d='M11 11 C2 17 4 28 11 35.5 C18 28 20 17 11 11 Z' fill='url(%23o)' stroke='%23d9781a' stroke-width='.7'/><path d='M11 17 C7 21 8 27 11 31.5 C14 27 15 21 11 17 Z' fill='%23fff7d6'/></svg>"); }
.trl-ember { width: var(--sz, 5px); height: var(--sz, 5px); margin: calc(var(--sz, 5px) / -2) 0 0 calc(var(--sz, 5px) / -2); border-radius: 50%; background: radial-gradient(circle, #fff3c4 0 30%, #ffb02e 55%, rgba(255, 90, 30, 0) 75%); box-shadow: 0 0 5px 2px rgba(255, 140, 40, .5); animation-name: trlEmber; animation-timing-function: ease-in; }
@keyframes trlEmber {
  0% { transform: translate3d(0, 0, 0) scale(.4); opacity: 0; }
  20% { transform: translate3d(calc(var(--dx) * .2), calc(var(--dy) * .1), 0) scale(1.1); opacity: 1; }
  100% { transform: translate3d(var(--dx), var(--dy), 0) scale(.2); opacity: 0; }
}
.trl-static.trl-ffly, .trl-static.trl-crane, .trl-static.trl-coin, .trl-static.trl-ember { transform: translate3d(calc(var(--dx) * .3), calc(var(--dy) * .3), 0) rotate(calc(var(--rot, 0deg) * .3)); }
.trl-static.trl-crane { transform: translate3d(calc(var(--dx) * .3), calc(var(--dy) * .3), 0) rotate(calc(var(--rot, 0deg) * .3)) scale(var(--fx, 1), 1); }
.trl-static.trl-glint { transform: rotate(45deg) scale(.8); opacity: .9; }
.trl-static.trl-drg { transform: rotate(var(--a, 0deg)) scale(var(--k, 1)); opacity: 1; }
/* n116b: «Мелки» — chalk doodles (a spiral, a star, a zig-zag arrow, a heart) drawn on in pastel chalk, a little dust
   falls off; «Привидения» — little sheet ghosts that float up, sway and flicker out; «Воздушный змей» — a four-colour
   kite flies ahead of the reaction, its tail of bows snaking after it, gusts of wind behind; «Ракета» — a retro
   pulp-age rocket the reaction rides on: chrome and red, a porthole lit cyan, a flickering flame, smoke puffs and sparks
   (club-trails.js BODY moves the kite and the rocket). */
.trl-chalk { width: var(--sz, 18px); height: var(--sz, 18px); margin: calc(var(--sz, 18px) / -2) 0 0 calc(var(--sz, 18px) / -2); background: center / 100% 100% no-repeat url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><filter id='r'><feTurbulence type='fractalNoise' baseFrequency='1.3' numOctaves='1' seed='3'/><feDisplacementMap in='SourceGraphic' scale='1.4'/></filter><path d='M12 12m0-1.5a1.5 1.5 0 1 1-1.5 1.5 3.5 3.5 0 0 1 3.5-3.5 5.5 5.5 0 0 1 5.5 5.5 7.5 7.5 0 0 1-7.5 7.5' fill='none' stroke='%23ffb3d1' stroke-width='2.3' stroke-linecap='round' stroke-dasharray='3.2 .8' filter='url(%23r)'/></svg>"); filter: drop-shadow(0 0 2px rgba(255, 255, 255, .25)); animation-name: trlChalk; }
.trl-chalk.trl-chalk1 { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><filter id='r'><feTurbulence type='fractalNoise' baseFrequency='1.3' numOctaves='1' seed='5'/><feDisplacementMap in='SourceGraphic' scale='1.4'/></filter><path d='M12 2.5l2.6 6.1 6.6.5-5 4.3 1.6 6.4L12 16.3l-5.8 3.5 1.6-6.4-5-4.3 6.6-.5z' fill='none' stroke='%23fff1a0' stroke-width='2.1' stroke-linejoin='round' stroke-dasharray='3.4 .8' filter='url(%23r)'/></svg>"); }
.trl-chalk.trl-chalk2 { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><filter id='r'><feTurbulence type='fractalNoise' baseFrequency='1.3' numOctaves='1' seed='7'/><feDisplacementMap in='SourceGraphic' scale='1.4'/></filter><path d='M2.5 18l5-6.5 4 5 6-9.5M13.6 6.6l3.9.3.4 3.9' fill='none' stroke='%23a8f0d0' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round' stroke-dasharray='3.2 .8' filter='url(%23r)'/></svg>"); }
.trl-chalk.trl-chalk3 { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><filter id='r'><feTurbulence type='fractalNoise' baseFrequency='1.3' numOctaves='1' seed='9'/><feDisplacementMap in='SourceGraphic' scale='1.4'/></filter><path d='M12 20.5s-7.5-4.6-7.5-10A4 4 0 0 1 12 8.2a4 4 0 0 1 7.5 2.3c0 5.4-7.5 10-7.5 10z' fill='none' stroke='%23a9d8ff' stroke-width='2.2' stroke-linejoin='round' stroke-dasharray='3.2 .8' filter='url(%23r)'/></svg>"); }
@keyframes trlChalk { /* scribbled on, then drifts off and rubs out */
  0% { transform: translate3d(0, 0, 0) rotate(calc(var(--rot) * .2)) scale(.4, .9); opacity: 0; }
  22% { transform: translate3d(calc(var(--dx) * .08), calc(var(--dy) * .08), 0) rotate(calc(var(--rot) * .4)) scale(1.05); opacity: 1; }
  65% { transform: translate3d(calc(var(--dx) * .55), calc(var(--dy) * .55), 0) rotate(calc(var(--rot) * .8)) scale(1); opacity: .9; }
  100% { transform: translate3d(var(--dx), var(--dy), 0) rotate(var(--rot)) scale(.95); opacity: 0; }
}
.trl-dust { width: var(--sz, 3px); height: var(--sz, 3px); margin: calc(var(--sz, 3px) / -2) 0 0 calc(var(--sz, 3px) / -2); border-radius: 30%; background: rgba(245, 240, 230, .75); animation-name: trlDust; animation-timing-function: ease-in; }
@keyframes trlDust {
  0% { transform: translate3d(0, 0, 0); opacity: 0; }
  15% { opacity: .85; }
  100% { transform: translate3d(var(--dx), var(--dy), 0) scale(.5); opacity: 0; }
}
.trl-ghost { width: var(--sz, 17px); height: calc(var(--sz, 17px) * 1.17); margin: calc(var(--sz, 17px) * -.58) 0 0 calc(var(--sz, 17px) / -2); background: center / 100% 100% no-repeat url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 28'><defs><linearGradient id='g' x1='0' y1='0' x2='.35' y2='1'><stop offset='0' stop-color='%23ffffff'/><stop offset='.65' stop-color='%23eef3ff'/><stop offset='1' stop-color='%23b9c9f2'/></linearGradient></defs><path d='M12 1.5C6.6 1.5 3.6 5.6 3.6 11v13.6l2.8-2.3 2.8 2.3 2.8-2.3 2.8 2.3 2.8-2.3 2.8 2.3V11c0-5.4-3-9.5-8.4-9.5z' fill='url(%23g)' stroke='%237f93c9' stroke-width='.8'/><path d='M7 5.4c1-1.4 2.4-2 3.6-2.1' fill='none' stroke='%23fff' stroke-width='1.2' stroke-linecap='round'/><ellipse cx='9.2' cy='11.2' rx='1.35' ry='1.9' fill='%231d2340'/><ellipse cx='14.8' cy='11.2' rx='1.35' ry='1.9' fill='%231d2340'/><circle cx='9.6' cy='10.5' r='.45' fill='%23fff'/><circle cx='15.2' cy='10.5' r='.45' fill='%23fff'/><ellipse cx='12' cy='15.6' rx='1.1' ry='1.5' fill='%231d2340'/><circle cx='7.2' cy='14' r='1.2' fill='%23ff9ec4' opacity='.45'/><circle cx='16.8' cy='14' r='1.2' fill='%23ff9ec4' opacity='.45'/></svg>"); filter: drop-shadow(0 0 4px rgba(170, 200, 255, .7)); animation-name: trlGhost; animation-timing-function: ease-in-out; }
.trl-ghost.trl-ghost2 { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 28'><defs><linearGradient id='g' x1='0' y1='0' x2='.35' y2='1'><stop offset='0' stop-color='%23ffffff'/><stop offset='.65' stop-color='%23f0ecff'/><stop offset='1' stop-color='%23c8bdf0'/></linearGradient></defs><path d='M12 1.5C6.6 1.5 3.6 5.6 3.6 11v13.6l2.8-2.3 2.8 2.3 2.8-2.3 2.8 2.3 2.8-2.3 2.8 2.3V11c0-5.4-3-9.5-8.4-9.5z' fill='url(%23g)' stroke='%238c7fc9' stroke-width='.8'/><path d='M7 5.4c1-1.4 2.4-2 3.6-2.1' fill='none' stroke='%23fff' stroke-width='1.2' stroke-linecap='round'/><path d='M7.8 11.6q1.4-1.9 2.8 0M13.4 11.6q1.4-1.9 2.8 0' fill='none' stroke='%231d2340' stroke-width='1.3' stroke-linecap='round'/><path d='M9.8 14.4q2.2 2.2 4.4 0z' fill='%231d2340'/><path d='M11.2 15.3q.8 1.9 1.6 0' fill='%23ff6f9a'/><circle cx='7.4' cy='14' r='1.2' fill='%23ff9ec4' opacity='.5'/><circle cx='16.6' cy='14' r='1.2' fill='%23ff9ec4' opacity='.5'/></svg>"); }
@keyframes trlGhost { /* floats up swaying, flickers once, fades */
  0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(.35); opacity: 0; }
  14% { transform: translate3d(calc(var(--dx) * .12 + var(--sw)), calc(var(--dy) * .14), 0) rotate(calc(var(--rot) * .6)) scale(1); opacity: .95; }
  34% { transform: translate3d(calc(var(--dx) * .34 - var(--sw)), calc(var(--dy) * .34), 0) rotate(calc(var(--rot) * -.6)) scale(1); opacity: .9; }
  46% { opacity: .3; }
  54% { transform: translate3d(calc(var(--dx) * .54 + var(--sw)), calc(var(--dy) * .55), 0) rotate(calc(var(--rot) * .6)) scale(1.04); opacity: .9; }
  76% { transform: translate3d(calc(var(--dx) * .76 - var(--sw)), calc(var(--dy) * .77), 0) rotate(calc(var(--rot) * -.4)) scale(.95); opacity: .7; }
  100% { transform: translate3d(var(--dx), var(--dy), 0) rotate(0deg) scale(.7, .85); opacity: 0; }
}
.trl-kite, .trl-rkt { background: center / 100% 100% no-repeat; transform: rotate(var(--a, 0deg)) scale(var(--k, 1)); }
.trl-kitehead { width: 34px; height: 44px; margin: -22px 0 0 -17px; background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 44'><defs><linearGradient id='s' x1='0' y1='0' x2='1' y2='1'><stop offset='0' stop-color='%23fff' stop-opacity='.35'/><stop offset='.5' stop-color='%23fff' stop-opacity='0'/><stop offset='1' stop-color='%23000' stop-opacity='.22'/></linearGradient></defs><path d='M17 1 1 15h16z' fill='%23ff4f6d'/><path d='M17 1l16 14H17z' fill='%23ffd23f'/><path d='M1 15l16 28V15z' fill='%232ec4b6'/><path d='M33 15 17 43V15z' fill='%233a86ff'/><path d='M17 1 33 15 17 43 1 15z' fill='url(%23s)' stroke='%23fff' stroke-opacity='.75' stroke-width='1.1' stroke-linejoin='round'/><path d='M17 1v42M1 15h32' stroke='%235b3a1e' stroke-width='1.3'/><path d='M17 9.5l1.3 3.2 3.4.3-2.6 2.2.8 3.3-2.9-1.8-2.9 1.8.8-3.3-2.6-2.2 3.4-.3z' fill='%23fffbe8' stroke='%23d9a400' stroke-width='.5'/></svg>"); filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .45)); }
.trl-kitebow { width: 15px; height: 10px; margin: -5px 0 0 -7.5px; background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 10'><path d='M7.5 5 1 .8v8.4zM7.5 5 14 .8v8.4z' fill='%23ff4f6d' stroke='%238a1d33' stroke-width='.6' stroke-linejoin='round'/><circle cx='7.5' cy='5' r='1.6' fill='%23ffd23f' stroke='%238a1d33' stroke-width='.5'/></svg>"); }
.trl-kitebow.trl-kitebow2 { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 10'><path d='M7.5 5 1 .8v8.4zM7.5 5 14 .8v8.4z' fill='%233a86ff' stroke='%23143a7a' stroke-width='.6' stroke-linejoin='round'/><circle cx='7.5' cy='5' r='1.6' fill='%232ec4b6' stroke='%23143a7a' stroke-width='.5'/></svg>"); }
.trl-kitestring { width: 2px; height: 12px; margin: -6px 0 0 -1px; border-radius: 1px; background: linear-gradient(rgba(255, 244, 220, .2), rgba(255, 244, 220, .85)); }
.trl-gust { width: 26px; height: 10px; margin: -5px 0 0 -13px; background: center / 100% 100% no-repeat url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 10'><path d='M1 7.5c6-6.5 13-6.5 17-2.3s5.2 2.6 6.5-.3' fill='none' stroke='%23eaf6ff' stroke-width='1.6' stroke-linecap='round' opacity='.85'/></svg>"); animation-name: trlGust; }
@keyframes trlGust {
  0% { transform: translate3d(0, 0, 0) rotate(var(--rot)) scale(.3, 1); opacity: 0; }
  25% { transform: translate3d(calc(var(--dx) * .25), calc(var(--dy) * .25), 0) rotate(var(--rot)) scale(1, 1); opacity: .9; }
  100% { transform: translate3d(var(--dx), var(--dy), 0) rotate(var(--rot)) scale(1.2, .6); opacity: 0; }
}
.trl-rktbody { width: 26px; height: 46px; margin: -23px 0 0 -13px; background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 46'><defs><linearGradient id='b' x1='0' y1='0' x2='1' y2='0'><stop offset='0' stop-color='%238d99a6'/><stop offset='.32' stop-color='%23ffffff'/><stop offset='.55' stop-color='%23e3e8ee'/><stop offset='1' stop-color='%23707c89'/></linearGradient><linearGradient id='r' x1='0' y1='0' x2='1' y2='0'><stop offset='0' stop-color='%23a3141f'/><stop offset='.35' stop-color='%23ff6b5a'/><stop offset='1' stop-color='%237d0f19'/></linearGradient><radialGradient id='w' cx='.38' cy='.35' r='.7'><stop offset='0' stop-color='%23e6ffff'/><stop offset='.45' stop-color='%2368e1ff'/><stop offset='1' stop-color='%231f6fb8'/></radialGradient></defs><path d='M6 24 1.2 33l.4 6.5L7 35z' fill='url(%23r)' stroke='%235a0a12' stroke-width='.5'/><path d='M20 24l4.8 9-.4 6.5L19 35z' fill='url(%23r)' stroke='%235a0a12' stroke-width='.5'/><path d='M9.2 37h7.6l1.6 4.4H7.6z' fill='%23515b66' stroke='%232b3138' stroke-width='.5'/><path d='M13 1C8.2 5.8 6.3 10.8 6 15h14C19.7 10.8 17.8 5.8 13 1z' fill='url(%23r)' stroke='%235a0a12' stroke-width='.5'/><path d='M6 15h14v17.5c0 1.8-.8 3.4-1.9 4.5H7.9C6.8 35.9 6 34.3 6 32.5z' fill='url(%23b)' stroke='%2346505a' stroke-width='.5'/><rect x='6' y='27' width='14' height='2.6' fill='%23c81e2a'/><g fill='%23ffffff' opacity='.7'><circle cx='8' cy='28.3' r='.45'/><circle cx='11' cy='28.3' r='.45'/><circle cx='15' cy='28.3' r='.45'/><circle cx='18' cy='28.3' r='.45'/></g><path d='M13 30.5l-1.6 9.5h3.2z' fill='%237d0f19'/><circle cx='13' cy='20.6' r='3.9' fill='%23c9a227' stroke='%237a5c0c' stroke-width='.5'/><circle cx='13' cy='20.6' r='2.8' fill='url(%23w)'/><ellipse cx='12' cy='19.5' rx='1' ry='.6' fill='%23fff' opacity='.9'/><path d='M9.3 4.6C10.3 3.2 11.4 2.2 12.4 1.7' stroke='%23fff' stroke-width='.9' stroke-linecap='round' opacity='.7'/></svg>"); filter: drop-shadow(0 0 3px rgba(104, 225, 255, .35)); }
.trl-rktflame { width: 18px; height: 30px; margin: -15px 0 0 -9px; }
.trl-rktflame::before { content: ''; position: absolute; inset: 0; transform-origin: 50% 0; background: center / 100% 100% no-repeat url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 30'><defs><radialGradient id='o' cx='.5' cy='.15' r='.9'><stop offset='0' stop-color='%23ffd23f'/><stop offset='.45' stop-color='%23ff7a1a'/><stop offset='1' stop-color='%23e0261a' stop-opacity='0'/></radialGradient><radialGradient id='y' cx='.5' cy='.1' r='.8'><stop offset='0' stop-color='%23ffffff'/><stop offset='.35' stop-color='%23fff4b0'/><stop offset='1' stop-color='%23ffc93a' stop-opacity='0'/></radialGradient></defs><path d='M3 0h12c2.5 6 2.6 12 .6 18-1.4 4.3-3.6 8-6.6 12-3-4-5.2-7.7-6.6-12C.4 12 .5 6 3 0z' fill='url(%23o)'/><path d='M5.2 0h7.6c1.5 4.5 1.5 9 .3 13.5C12.3 16.6 10.9 19.4 9 22c-1.9-2.6-3.3-5.4-4.1-8.5C3.7 9 3.7 4.5 5.2 0z' fill='url(%23y)'/></svg>"); filter: drop-shadow(0 0 5px rgba(255, 150, 40, .9)); animation: trlFlick .14s ease-in-out infinite alternate; }
@keyframes trlFlick { from { transform: scale(.88, .8); } to { transform: scale(1.06, 1.1); } }
.trl-rktplume { width: 24px; height: 70px; margin: -35px 0 0 -12px; }
.trl-rktplume::before { content: ''; position: absolute; inset: 0 3px; transform-origin: 50% 0; border-radius: 45% 45% 50% 50% / 12% 12% 88% 88%; background: linear-gradient(rgba(255, 248, 210, .9), rgba(255, 190, 80, .7) 16%, rgba(255, 120, 40, .4) 38%, rgba(210, 150, 120, .16) 62%, rgba(180, 170, 165, 0) 85%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); animation: trlPlume .18s ease-in-out infinite alternate; }
@keyframes trlPlume { from { transform: scale(.82, .9); opacity: .85; } to { transform: scale(1.08, 1.06); opacity: 1; } }
.trl-rktshock { width: 0; height: 0; } /* the head: where the rider's nose cone points (nothing drawn) */
.trl-puff { width: var(--sz, 14px); height: var(--sz, 14px); margin: calc(var(--sz, 14px) / -2) 0 0 calc(var(--sz, 14px) / -2); border-radius: 50%; background: radial-gradient(circle at 40% 38%, #fffaf0 0 30%, rgba(222, 214, 204, .85) 55%, rgba(170, 164, 158, 0) 72%); animation-name: trlPuff; animation-timing-function: cubic-bezier(.2, .6, .4, 1); }
@keyframes trlPuff {
  0% { transform: translate3d(0, 0, 0) scale(.3); opacity: 0; }
  10% { transform: translate3d(calc(var(--dx) * .08), calc(var(--dy) * .08), 0) scale(.85); opacity: .95; }
  55% { transform: translate3d(calc(var(--dx) * .6), calc(var(--dy) * .6), 0) scale(1.9); opacity: .6; }
  100% { transform: translate3d(var(--dx), var(--dy), 0) scale(2.7); opacity: 0; }
}
.trl-puff.trl-puff2 { background: radial-gradient(circle at 40% 38%, #d9d4cd 0 28%, rgba(150, 144, 138, .8) 55%, rgba(110, 106, 102, 0) 72%); }
.trl-puff.trl-puffhot { background: radial-gradient(circle at 45% 40%, #fff3c4 0 22%, rgba(255, 170, 70, .85) 48%, rgba(220, 110, 50, 0) 72%); }
.trl-static.trl-chalk { transform: translate3d(calc(var(--dx) * .3), calc(var(--dy) * .3), 0) rotate(calc(var(--rot, 0deg) * .5)); opacity: .95; }
.trl-static.trl-dust, .trl-static.trl-ghost, .trl-static.trl-puff { transform: translate3d(calc(var(--dx) * .3), calc(var(--dy) * .3), 0); }
.trl-static.trl-puff { transform: translate3d(calc(var(--dx) * .3), calc(var(--dy) * .3), 0) scale(1.1); opacity: .8; }
.trl-static.trl-gust { transform: translate3d(calc(var(--dx) * .3), calc(var(--dy) * .3), 0) rotate(var(--rot)); opacity: .8; }
.trl-static.trl-kite, .trl-static.trl-rkt { transform: rotate(var(--a, 0deg)) scale(var(--k, 1)); opacity: 1; }
.trl-static.trl-rktflame::before, .trl-static.trl-rktplume::before { animation: none; }
.trl-static.trl-rktplume::before { transform: scale(.9, .6); }
@media (prefers-reduced-motion: reduce) { .trl-rktflame::before, .trl-rktplume::before { animation: none; } }
@keyframes trlMark { 0% { opacity: 0; } 15% { opacity: .9; } 65% { opacity: .9; } 100% { opacity: 0; } }
/* A preview at rest: the same still picture, faded in after each live flight. */
.trl-static.trl-rest { animation: trlRest .35s ease-out both; }
@keyframes trlRest { from { opacity: 0; } }

/* The shop's card: a tile a style, each with its stage (▶ replays it), its name and «Выбрать» — three across, from the
   desktop panel down to a 320-px phone. */
.trl-styles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.trl-tile { container-type: inline-size; display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 6px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, .02); }
.trl-tile.on { border-color: var(--accent); background: rgba(229, 160, 13, .08); }
.trl-view { position: relative; }
.trl-stage { position: relative; height: 92px; overflow: hidden; border-radius: 8px; background: radial-gradient(ellipse at 50% 115%, #1c2634 0%, #0b0f15 72%); cursor: pointer; contain: strict; }
.trl-stage .react-float { bottom: 4px; left: calc(50% - 13px); animation: none; opacity: 0; }
.trl-stage .react-float.trl-rest { opacity: 1; animation: trlRest .35s ease-out both; }
.trl-stage .react-emoji { font-size: 22px; line-height: 1; }
.trl-play { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-end; min-height: 0; margin: 0; padding: 5px; border: 0; border-radius: 8px; background: transparent; color: #fff; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.trl-play > span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(6, 8, 11, .62); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); opacity: .78; transition: opacity .15s; }
.trl-play svg { display: block; width: 9px; height: 9px; margin-left: 1px; }
.trl-play:hover > span, .trl-play:focus-visible > span { opacity: 1; }
.trl-play:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.trl-name { font-size: 12.5px; line-height: 1.25; text-align: center; overflow-wrap: break-word; text-wrap: balance; }
/* 0.66.5: a name too long for a phone tile («🪁 Воздушный змей») takes a second line, whole — never an ellipsis */
@container (max-width: 94px) { .trl-name-ico { display: none; } } /* a narrow tile (a 320-px phone): the name alone, whole */
.trl-pick { margin-top: auto; min-height: 36px; padding: 0 8px; border-radius: 8px; border: 1px solid var(--line); background: transparent; color: var(--text); font-size: 13px; cursor: pointer; }
.trl-pick:hover:not(:disabled) { background: var(--line); }
.trl-pick[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.trl-pick:disabled { opacity: .7; cursor: default; }
.trl-pick:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.trl-hint { margin-top: 12px; }
/* 0.67 «Гардероб»: one's own style carries «Ваше» on its picture, the one that is on a green edge; «Снять» is the first cell. */
.trl-view > .shop-opt-k { position: absolute; left: 4px; top: 4px; z-index: 1; margin: 0; color: #fff; background: rgba(6, 8, 11, .74); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); pointer-events: none; }
.trl-tile.now { border-color: #3ecf7a; }
.trl-tile.now .trl-pick { border-color: #3ecf7a; color: #3ecf7a; opacity: 1; }
.trl-styles > .trl-off { min-width: 0; border-radius: 10px; }
@media (max-width: 760px) { .trl-pick { min-height: 44px; } }
@media (prefers-reduced-motion: reduce) { .trl-play { display: none; } .trl-stage .trl-rest, .trl-stage .react-float.trl-rest { animation: none; } }

/* The profile: the trail one flies with. */
.trl-pp { display: flex; align-items: center; gap: 6px; margin: 2px 0 10px; font-size: 13px; color: var(--muted); }
.trl-pp-ico { font-size: 16px; line-height: 1; }

.trl-tile > .shop-opt-p { align-self: flex-start; margin-top: -2px; } /* n107b: a showpiece style's own price, under its name */

/* n125c (0.66.13): «Кленовый вихрь» — red, orange and crimson maple leaves tumble down swaying from a spinning whirl;
   «Азбука Морзе» — amber dots and dashes (К-И-Н-О) keyed out along the way, blinking like a signal lamp;
   «Карточный фокус» — playing cards (four suits and a red back) flicked out, flipping as they fall, a sparkle now and
   then; «Бумажные самолётики» — little paper planes launched off sideways, gliding, with a dashed swoosh;
   «Руны» — glowing violet and cyan glyphs of no real alphabet that light up and drift, an arcane circle turning
   under the reaction twice; «Созвездие» — stars joined by a fine line, dot to dot; «Медуза» — a glowing jellyfish whose
   bell the reaction rides in, frilled arms and six lengths of tentacles rippling after it, motes drifting off them. */
.trl-maple { width: var(--sz, 15px); height: var(--sz, 15px); margin: calc(var(--sz, 15px) / -2) 0 0 calc(var(--sz, 15px) / -2); background: center / 100% 100% no-repeat url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><defs><linearGradient id='g' x1='0' y1='0' x2='1' y2='1'><stop offset='0' stop-color='%23ff8a3d'/><stop offset='1' stop-color='%23d8341f'/></linearGradient></defs><path d='M12 1 13.6 5.6 16.4 4.2 15.6 8.8 20.6 7 19 10.4 23 11.4 18.6 14.6 19.6 17 14 16.2 12.8 20V23H11.2V20L10 16.2 4.4 17 5.4 14.6 1 11.4 5 10.4 3.4 7 8.4 8.8 7.6 4.2 10.4 5.6Z' fill='url(%23g)' stroke='%233a1206' stroke-width='.8' stroke-linejoin='round'/><path d='M12 21V6M12 15 6.5 10.5M12 15 17.5 10.5M12 11.5 8.5 7.5M12 11.5 15.5 7.5' stroke='%23701a08' stroke-opacity='.55' stroke-width='.7' fill='none'/></svg>"); animation-name: trlMaple; animation-timing-function: linear; }
.trl-maple.trl-maple2 { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><defs><linearGradient id='g' x1='0' y1='0' x2='1' y2='1'><stop offset='0' stop-color='%23ffd25a'/><stop offset='1' stop-color='%23ef8a14'/></linearGradient></defs><path d='M12 1 13.6 5.6 16.4 4.2 15.6 8.8 20.6 7 19 10.4 23 11.4 18.6 14.6 19.6 17 14 16.2 12.8 20V23H11.2V20L10 16.2 4.4 17 5.4 14.6 1 11.4 5 10.4 3.4 7 8.4 8.8 7.6 4.2 10.4 5.6Z' fill='url(%23g)' stroke='%233a2006' stroke-width='.8' stroke-linejoin='round'/><path d='M12 21V6M12 15 6.5 10.5M12 15 17.5 10.5M12 11.5 8.5 7.5M12 11.5 15.5 7.5' stroke='%238a4a08' stroke-opacity='.55' stroke-width='.7' fill='none'/></svg>"); }
.trl-maple.trl-maple3 { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><defs><linearGradient id='g' x1='0' y1='0' x2='1' y2='1'><stop offset='0' stop-color='%23e8553a'/><stop offset='1' stop-color='%23991a2a'/></linearGradient></defs><path d='M12 1 13.6 5.6 16.4 4.2 15.6 8.8 20.6 7 19 10.4 23 11.4 18.6 14.6 19.6 17 14 16.2 12.8 20V23H11.2V20L10 16.2 4.4 17 5.4 14.6 1 11.4 5 10.4 3.4 7 8.4 8.8 7.6 4.2 10.4 5.6Z' fill='url(%23g)' stroke='%232e0608' stroke-width='.8' stroke-linejoin='round'/><path d='M12 21V6M12 15 6.5 10.5M12 15 17.5 10.5M12 11.5 8.5 7.5M12 11.5 15.5 7.5' stroke='%23500a10' stroke-opacity='.6' stroke-width='.7' fill='none'/></svg>"); }
@keyframes trlMaple { /* tumbles down, swinging side to side like a real leaf */
  0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(.4); opacity: 0; }
  12% { transform: translate3d(calc(var(--dx) * .1 + var(--sw)), calc(var(--dy) * .08), 0) rotate(calc(var(--rot) * .15)) scale(1); opacity: 1; }
  35% { transform: translate3d(calc(var(--dx) * .35 - var(--sw)), calc(var(--dy) * .3), 0) rotate(calc(var(--rot) * .4)) scale(1, .8); opacity: 1; }
  60% { transform: translate3d(calc(var(--dx) * .6 + var(--sw)), calc(var(--dy) * .58), 0) rotate(calc(var(--rot) * .65)) scale(.9, 1); opacity: .95; }
  82% { transform: translate3d(calc(var(--dx) * .82 - var(--sw)), calc(var(--dy) * .82), 0) rotate(calc(var(--rot) * .85)) scale(1, .85); opacity: .7; }
  100% { transform: translate3d(var(--dx), var(--dy), 0) rotate(var(--rot)) scale(.85); opacity: 0; }
}
.trl-morse { width: 4.5px; height: 4.5px; margin: -2.25px 0 0 -2.25px; border-radius: 3px; background: #fff4d6; box-shadow: 0 0 2px 1px #ffb648, 0 0 7px 2px rgba(255, 140, 40, .65); transform: rotate(var(--a, 0deg)); animation-name: trlMorse; animation-timing-function: linear; }
.trl-morse.trl-dash { height: 10px; margin: -5px 0 0 -2.25px; }
.trl-morse.trl-mgap { width: 0; height: 0; margin: 0; box-shadow: none; background: none; }
@keyframes trlMorse { /* keyed on bright, held, a flicker, out */
  0% { transform: rotate(var(--a, 0deg)) scale(.5); opacity: 0; }
  7% { transform: rotate(var(--a, 0deg)) scale(1.3); opacity: 1; }
  18% { transform: rotate(var(--a, 0deg)) scale(1); opacity: 1; }
  66% { opacity: .9; }
  74% { opacity: .3; }
  80% { opacity: .9; }
  100% { transform: rotate(var(--a, 0deg)) scale(.8); opacity: 0; }
}
.trl-card { width: 16px; height: 22px; margin: -11px 0 0 -8px; background: center / 100% 100% no-repeat; animation-name: trlCard; animation-timing-function: linear; }
.trl-card.trl-cardh { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 36'><rect x='1' y='1' width='24' height='34' rx='3.2' fill='%23fffdf6' stroke='%23231d1a' stroke-width='1.3'/><rect x='3.2' y='3.2' width='19.6' height='29.6' rx='2' fill='none' stroke='%23d0263a' stroke-opacity='.35' stroke-width='.7'/><path id='p' d='M13 25C6 20 5 15 8.2 12.6 10.4 11 12.4 12 13 13.6 13.6 12 15.6 11 17.8 12.6 21 15 20 20 13 25Z' fill='%23d0263a'/><path d='M13 25C6 20 5 15 8.2 12.6 10.4 11 12.4 12 13 13.6 13.6 12 15.6 11 17.8 12.6 21 15 20 20 13 25Z' transform='translate(1.6 .8) scale(.32)' fill='%23d0263a'/><path d='M13 25C6 20 5 15 8.2 12.6 10.4 11 12.4 12 13 13.6 13.6 12 15.6 11 17.8 12.6 21 15 20 20 13 25Z' transform='rotate(180 13 18) translate(1.6 .8) scale(.32)' fill='%23d0263a'/></svg>"); }
.trl-card.trl-cardd { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 36'><rect x='1' y='1' width='24' height='34' rx='3.2' fill='%23fffdf6' stroke='%23231d1a' stroke-width='1.3'/><rect x='3.2' y='3.2' width='19.6' height='29.6' rx='2' fill='none' stroke='%23d0263a' stroke-opacity='.35' stroke-width='.7'/><path d='M13 10.5 18.5 18 13 25.5 7.5 18Z' fill='%23d0263a'/><path d='M13 10.5 18.5 18 13 25.5 7.5 18Z' transform='translate(1.6 .6) scale(.32)' fill='%23d0263a'/><path d='M13 10.5 18.5 18 13 25.5 7.5 18Z' transform='rotate(180 13 18) translate(1.6 .6) scale(.32)' fill='%23d0263a'/></svg>"); }
.trl-card.trl-cards { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 36'><rect x='1' y='1' width='24' height='34' rx='3.2' fill='%23fffdf6' stroke='%23231d1a' stroke-width='1.3'/><rect x='3.2' y='3.2' width='19.6' height='29.6' rx='2' fill='none' stroke='%231c1c28' stroke-opacity='.3' stroke-width='.7'/><path d='M13 10C18 14.5 21 17 19.4 20.4 18 23 15 22.6 13.8 21L15 26H11L12.2 21C11 22.6 8 23 6.6 20.4 5 17 8 14.5 13 10Z' fill='%231c1c28'/><path d='M13 10C18 14.5 21 17 19.4 20.4 18 23 15 22.6 13.8 21L15 26H11L12.2 21C11 22.6 8 23 6.6 20.4 5 17 8 14.5 13 10Z' transform='translate(1.6 .6) scale(.32)' fill='%231c1c28'/><path d='M13 10C18 14.5 21 17 19.4 20.4 18 23 15 22.6 13.8 21L15 26H11L12.2 21C11 22.6 8 23 6.6 20.4 5 17 8 14.5 13 10Z' transform='rotate(180 13 18) translate(1.6 .6) scale(.32)' fill='%231c1c28'/></svg>"); }
.trl-card.trl-cardc { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 36'><rect x='1' y='1' width='24' height='34' rx='3.2' fill='%23fffdf6' stroke='%23231d1a' stroke-width='1.3'/><rect x='3.2' y='3.2' width='19.6' height='29.6' rx='2' fill='none' stroke='%231c1c28' stroke-opacity='.3' stroke-width='.7'/><g fill='%231c1c28'><circle cx='13' cy='13.6' r='3.3'/><circle cx='9.3' cy='19' r='3.3'/><circle cx='16.7' cy='19' r='3.3'/><circle cx='13' cy='18.2' r='2'/><path d='M12.2 19 11 26H15L13.8 19Z'/></g><g fill='%231c1c28' transform='translate(1.6 .6) scale(.32)'><circle cx='13' cy='13.6' r='3.3'/><circle cx='9.3' cy='19' r='3.3'/><circle cx='16.7' cy='19' r='3.3'/><path d='M12.2 18 11 26H15L13.8 18Z'/></g><g fill='%231c1c28' transform='rotate(180 13 18) translate(1.6 .6) scale(.32)'><circle cx='13' cy='13.6' r='3.3'/><circle cx='9.3' cy='19' r='3.3'/><circle cx='16.7' cy='19' r='3.3'/><path d='M12.2 18 11 26H15L13.8 18Z'/></g></svg>"); }
.trl-card.trl-cardb { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 36'><defs><pattern id='q' width='3.4' height='3.4' patternUnits='userSpaceOnUse' patternTransform='rotate(45)'><path d='M0 0H3.4M0 0V3.4' stroke='%23f0cf7a' stroke-opacity='.55' stroke-width='.6'/></pattern></defs><rect x='1' y='1' width='24' height='34' rx='3.2' fill='%23901a34' stroke='%231a0508' stroke-width='1.3'/><rect x='3.4' y='3.4' width='19.2' height='29.2' rx='1.8' fill='url(%23q)' stroke='%23f0cf7a' stroke-width='.9'/><path d='M13 12.5 17 18 13 23.5 9 18Z' fill='%23f0cf7a' stroke='%23901a34' stroke-width='.8'/></svg>"); }
@keyframes trlCard { /* flicked up and out, turning over twice on the way down */
  0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(.3); opacity: 0; }
  14% { transform: translate3d(calc(var(--dx) * .25), calc(var(--up) * .7), 0) rotate(calc(var(--rot) * .2)) scale(1, 1); opacity: 1; }
  28% { transform: translate3d(calc(var(--dx) * .45), var(--up), 0) rotate(calc(var(--rot) * .35)) scale(.08, 1); opacity: 1; }
  44% { transform: translate3d(calc(var(--dx) * .6), calc(var(--up) * .6), 0) rotate(calc(var(--rot) * .5)) scale(1, 1); opacity: 1; }
  62% { transform: translate3d(calc(var(--dx) * .76), calc(var(--dy) * .25), 0) rotate(calc(var(--rot) * .7)) scale(.08, 1); opacity: .95; }
  80% { transform: translate3d(calc(var(--dx) * .9), calc(var(--dy) * .62), 0) rotate(calc(var(--rot) * .86)) scale(1, 1); opacity: .8; }
  100% { transform: translate3d(var(--dx), var(--dy), 0) rotate(var(--rot)) scale(.85); opacity: 0; }
}
.trl-cspark { width: 14px; height: 14px; margin: -7px 0 0 -7px; background: center / 100% 100% no-repeat url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M10 0C10.8 6 14 9.2 20 10 14 10.8 10.8 14 10 20 9.2 14 6 10.8 0 10 6 9.2 9.2 6 10 0Z' fill='%23fff6cf' stroke='%23e0a83a' stroke-width='.8'/></svg>"); animation-name: trlCspark; }
@keyframes trlCspark { 0% { transform: scale(0) rotate(0deg); opacity: 0; } 25% { transform: scale(1.2) rotate(45deg); opacity: 1; } 100% { transform: scale(0) rotate(120deg); opacity: 0; } }
.trl-plane { width: 27px; height: 18px; margin: -9px 0 0 -13.5px; background: center / 100% 100% no-repeat url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20'><g stroke='%23223042' stroke-width='.9' stroke-linejoin='round'><path d='M1 8 29 2 11 11Z' fill='%23ffffff'/><path d='M11 11 29 2 14.5 17.5Z' fill='%23c9dcef'/><path d='M11 11 14.5 17.5 12.6 12.2Z' fill='%238ea8c4'/></g></svg>"); transform: scale(var(--fx, 1), 1); animation-name: trlPlane; animation-timing-function: linear; }
.trl-plane.trl-plane2 { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20'><g stroke='%23233046' stroke-width='.9' stroke-linejoin='round'><path d='M1 8 29 2 11 11Z' fill='%23eef6ff'/><path d='M11 11 29 2 14.5 17.5Z' fill='%23bcd6f5'/><path d='M11 11 14.5 17.5 12.6 12.2Z' fill='%23839fc6'/></g><path d='M4 7.6 26 3M7 8.2 24.5 4.6M17 9.8 25 5.4M15.5 13 26 4.4' stroke='%235f8fd8' stroke-opacity='.55' stroke-width='.45'/><path d='M9 6.4 10.6 10.3' stroke='%23e0505a' stroke-opacity='.7' stroke-width='.5'/></svg>"); }
@keyframes trlPlane { /* launched off sideways, a dip and a climb, then gone */
  0% { transform: translate3d(0, 0, 0) rotate(calc(var(--fx, 1) * -8deg)) scale(calc(var(--fx, 1) * .4), .4); opacity: 0; }
  18% { transform: translate3d(calc(var(--dx) * .22), calc(var(--dy) * .22 - 6px), 0) rotate(calc(var(--fx, 1) * -14deg)) scale(var(--fx, 1), 1); opacity: 1; }
  52% { transform: translate3d(calc(var(--dx) * .58), calc(var(--dy) * .58 + 5px), 0) rotate(calc(var(--fx, 1) * 8deg)) scale(var(--fx, 1), 1); opacity: 1; }
  80% { transform: translate3d(calc(var(--dx) * .85), calc(var(--dy) * .85 - 3px), 0) rotate(calc(var(--fx, 1) * -5deg)) scale(var(--fx, 1), 1); opacity: .85; }
  100% { transform: translate3d(var(--dx), var(--dy), 0) rotate(calc(var(--fx, 1) * 6deg)) scale(calc(var(--fx, 1) * .9), .9); opacity: 0; }
}
.trl-pdash { width: 22px; height: 8px; margin: -4px 0 0 -11px; background: center / 100% 100% no-repeat url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 8'><path d='M1 6C7 1 14 1 21 4' fill='none' stroke='%23e8f2ff' stroke-opacity='.8' stroke-width='1.3' stroke-linecap='round' stroke-dasharray='2.6 2.4'/></svg>"); transform: scale(var(--fx, 1), 1); animation-name: trlPdash; }
@keyframes trlPdash { 0% { transform: translate3d(0, 0, 0) scale(calc(var(--fx, 1) * .5), 1); opacity: 0; } 25% { opacity: .9; } 100% { transform: translate3d(var(--dx), var(--dy), 0) scale(calc(var(--fx, 1) * 1.1), 1); opacity: 0; } }
.trl-rune { width: var(--sz, 15px); height: var(--sz, 15px); margin: calc(var(--sz, 15px) / -2) 0 0 calc(var(--sz, 15px) / -2); background: center / 100% 100% no-repeat; animation-name: trlRune; animation-timing-function: linear; }
.trl-rune.trl-r0 { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><g fill='none' stroke-linecap='round' stroke-linejoin='round'><path d='M10 2V18M10 6.5 15 3.5M10 11.5 5 8.5M10 15 14 13' stroke='%23a879ff' stroke-opacity='.4' stroke-width='4.6'/><path d='M10 2V18M10 6.5 15 3.5M10 11.5 5 8.5M10 15 14 13' stroke='%23f4ecff' stroke-width='1.7'/></g></svg>"); }
.trl-rune.trl-r1 { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><g fill='none' stroke-linecap='round' stroke-linejoin='round'><path d='M4 4 10 10 16 4M10 10V18M6 14.5H14' stroke='%2350dcff' stroke-opacity='.4' stroke-width='4.6'/><path d='M4 4 10 10 16 4M10 10V18M6 14.5H14' stroke='%23e8fdff' stroke-width='1.7'/></g></svg>"); }
.trl-rune.trl-r2 { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><g fill='none' stroke-linecap='round' stroke-linejoin='round'><path d='M6 2V18M6 4.5 14 9.5 6 14M14 14.5V18' stroke='%23a879ff' stroke-opacity='.4' stroke-width='4.6'/><path d='M6 2V18M6 4.5 14 9.5 6 14M14 14.5V18' stroke='%23f4ecff' stroke-width='1.7'/></g></svg>"); }
.trl-rune.trl-r3 { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><g fill='none' stroke-linecap='round' stroke-linejoin='round'><path d='M10 2 17 10 10 18 3 10ZM10 7V13' stroke='%2350dcff' stroke-opacity='.4' stroke-width='4.6'/><path d='M10 2 17 10 10 18 3 10ZM10 7V13' stroke='%23e8fdff' stroke-width='1.7'/></g></svg>"); }
.trl-rune.trl-r4 { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><g fill='none' stroke-linecap='round' stroke-linejoin='round'><path d='M4 17.5 10 3 16 17.5M6.6 12H13.4M10 12V17.5' stroke='%23a879ff' stroke-opacity='.4' stroke-width='4.6'/><path d='M4 17.5 10 3 16 17.5M6.6 12H13.4M10 12V17.5' stroke='%23f4ecff' stroke-width='1.7'/></g></svg>"); }
.trl-rune.trl-r5 { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><g fill='none' stroke-linecap='round' stroke-linejoin='round'><path d='M10 2V18M4 6 10 10 16 6M4 14 10 10 16 14' stroke='%2350dcff' stroke-opacity='.4' stroke-width='4.6'/><path d='M10 2V18M4 6 10 10 16 6M4 14 10 10 16 14' stroke='%23e8fdff' stroke-width='1.7'/></g></svg>"); }
@keyframes trlRune { /* lights up, drifts, gutters once, fades */
  0% { transform: translate3d(0, 0, 0) rotate(-20deg) scale(.2); opacity: 0; }
  16% { transform: translate3d(calc(var(--dx) * .12), calc(var(--dy) * .12), 0) rotate(0deg) scale(1.18); opacity: 1; }
  30% { transform: translate3d(calc(var(--dx) * .3), calc(var(--dy) * .3), 0) rotate(0deg) scale(1); opacity: 1; }
  68% { transform: translate3d(calc(var(--dx) * .7), calc(var(--dy) * .7), 0) rotate(4deg) scale(1); opacity: .9; }
  78% { opacity: .35; }
  86% { opacity: .85; }
  100% { transform: translate3d(var(--dx), var(--dy), 0) rotate(8deg) scale(.6); opacity: 0; }
}
.trl-sigil { width: 50px; height: 50px; margin: -25px 0 0 -25px; background: center / 100% 100% no-repeat url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 50'><g fill='none' stroke-linecap='round'><circle cx='25' cy='25' r='22' stroke='%23a879ff' stroke-opacity='.35' stroke-width='3.5'/><circle cx='25' cy='25' r='22' stroke='%23efe4ff' stroke-width='.9'/><circle cx='25' cy='25' r='16' stroke='%2350dcff' stroke-opacity='.8' stroke-width='.8' stroke-dasharray='3 2.2'/><path d='M25 3V8M25 42V47M3 25H8M42 25H47M9.4 9.4 12.9 12.9M37.1 37.1 40.6 40.6M40.6 9.4 37.1 12.9M12.9 37.1 9.4 40.6' stroke='%23efe4ff' stroke-width='1'/><path d='M25 12 36.3 31.5H13.7Z' stroke='%2350dcff' stroke-opacity='.55' stroke-width='.8'/></g></svg>"); animation-name: trlSigil; }
@keyframes trlSigil { 0% { transform: scale(.3) rotate(0deg); opacity: 0; } 25% { transform: scale(1) rotate(40deg); opacity: .9; } 100% { transform: scale(1.6) rotate(140deg); opacity: 0; } }
.trl-cstar { width: 14px; height: 14px; margin: -7px 0 0 -7px; background: center / 100% 100% no-repeat url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><defs><radialGradient id='h'><stop offset='0' stop-color='%23cfe2ff' stop-opacity='.9'/><stop offset='1' stop-color='%236a9cff' stop-opacity='0'/></radialGradient></defs><circle cx='10' cy='10' r='10' fill='url(%23h)'/><path d='M10 2C10.6 7.4 12.6 9.4 18 10 12.6 10.6 10.6 12.6 10 18 9.4 12.6 7.4 10.6 2 10 7.4 9.4 9.4 7.4 10 2Z' fill='%23ffffff'/></svg>"); animation-name: trlCstar; }
.trl-cstar.trl-cstar2 { width: 19px; height: 19px; margin: -9.5px 0 0 -9.5px; background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><defs><radialGradient id='h'><stop offset='0' stop-color='%23fff0c4' stop-opacity='.95'/><stop offset='1' stop-color='%23ffb84a' stop-opacity='0'/></radialGradient></defs><circle cx='10' cy='10' r='10' fill='url(%23h)'/><path d='M10 1C10.7 7.2 12.8 9.3 19 10 12.8 10.7 10.7 12.8 10 19 9.3 12.8 7.2 10.7 1 10 7.2 9.3 9.3 7.2 10 1Z' fill='%23fffdf0'/></svg>"); }
@keyframes trlCstar { /* lit, twinkling, out */
  0% { transform: scale(0) rotate(0deg); opacity: 0; }
  18% { transform: scale(1.4) rotate(45deg); opacity: 1; }
  32% { transform: scale(1) rotate(45deg); opacity: 1; }
  52% { transform: scale(.8) rotate(45deg); opacity: .8; }
  68% { transform: scale(1.12) rotate(45deg); opacity: 1; }
  100% { transform: scale(.7) rotate(45deg); opacity: 0; }
}
.trl-cline { width: 1.4px; height: 10.4px; margin: -5.2px 0 0 -.7px; background: rgba(176, 208, 255, .8); box-shadow: 0 0 3px rgba(120, 170, 255, .7); transform: rotate(var(--a, 0deg)); animation-name: trlCline; }
@keyframes trlCline { 0% { transform: rotate(var(--a, 0deg)) scale(1, 0); opacity: 0; } 20% { transform: rotate(var(--a, 0deg)) scale(1, 1); opacity: .9; } 75% { opacity: .7; } 100% { transform: rotate(var(--a, 0deg)) scale(1, 1); opacity: 0; } }
.trl-jelly { background: center / 100% 100% no-repeat; transform: rotate(var(--a, 0deg)) scale(var(--k, 1)); }
.trl-jellybell { width: 64px; height: 52px; margin: -27px 0 0 -32px; }
.trl-jellybell::before { content: ''; position: absolute; inset: 0; transform-origin: 50% 80%; background: center / 100% 100% no-repeat url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 52'><defs><radialGradient id='h' cx='.5' cy='.5' r='.5'><stop offset='.55' stop-color='%23d79bff' stop-opacity='.42'/><stop offset='1' stop-color='%23d79bff' stop-opacity='0'/></radialGradient><radialGradient id='b' cx='.5' cy='.28' r='.75'><stop offset='0' stop-color='%23fff0fd' stop-opacity='.92'/><stop offset='.42' stop-color='%23ea9cff' stop-opacity='.62'/><stop offset='.8' stop-color='%237fd8ff' stop-opacity='.42'/><stop offset='1' stop-color='%235a7dff' stop-opacity='.3'/></radialGradient></defs><ellipse cx='32' cy='27' rx='32' ry='25' fill='url(%23h)'/><path d='M6 39C6 17 18 6 32 6S58 17 58 39C53.5 36 50 41 45 38 41 42 36.5 38 32 41 27.5 38 23 42 19 38 14 41 10.5 36 6 39Z' fill='url(%23b)' stroke='%23ffd3ff' stroke-opacity='.9' stroke-width='1.3'/><path d='M12 35C13 21 21 12 32 11' fill='none' stroke='%23ffffff' stroke-opacity='.55' stroke-width='2.2' stroke-linecap='round'/><path d='M21 33C22.5 25 28.5 25 30 33M34 33C35.5 25 41.5 25 43 33' fill='none' stroke='%23ff8fd6' stroke-opacity='.85' stroke-width='1.8' stroke-linecap='round'/><g fill='%23aaf6ff'><circle cx='10' cy='37' r='1.4'/><circle cx='19' cy='38.6' r='1.4'/><circle cx='32' cy='40' r='1.4'/><circle cx='45' cy='38.6' r='1.4'/><circle cx='54' cy='37' r='1.4'/></g></svg>"); animation: trlJpulse .3s ease-in-out infinite alternate; }
.trl-jellyarm { width: 30px; height: 22px; margin: -11px 0 0 -15px; background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 22'><g fill='none' stroke-linecap='round'><path d='M11 0C7 5 14 9 10 14S12 20 9 22M19 0C23 5 16 9 20 14S18 20 21 22' stroke='%23ff9ae0' stroke-opacity='.45' stroke-width='5'/><path d='M11 0C7 5 14 9 10 14S12 20 9 22M19 0C23 5 16 9 20 14S18 20 21 22' stroke='%23ffd8f4' stroke-opacity='.95' stroke-width='1.8'/></g></svg>"); }
.trl-jellytent { width: 40px; height: 16px; margin: -8px 0 0 -20px; background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 16'><g fill='none' stroke-linecap='round'><path d='M5 0C3 5 7 11 5 16M35 0C37 5 33 11 35 16' stroke='%2370e6ff' stroke-opacity='.3' stroke-width='4'/><path d='M13 0C11 5 15 11 13 16M27 0C29 5 25 11 27 16' stroke='%23e08cff' stroke-opacity='.3' stroke-width='4'/><path d='M5 0C3 5 7 11 5 16M35 0C37 5 33 11 35 16' stroke='%23c4f6ff' stroke-width='1.6'/><path d='M13 0C11 5 15 11 13 16M27 0C29 5 25 11 27 16' stroke='%23f5c8ff' stroke-width='1.6'/><path d='M20 0C18.5 5 21.5 11 20 16' stroke='%23ffffff' stroke-opacity='.8' stroke-width='1'/></g></svg>"); }
@keyframes trlJpulse { from { transform: scale(1.07, .9); } to { transform: scale(.94, 1.07); } }
.trl-mote { width: var(--sz, 5px); height: var(--sz, 5px); margin: calc(var(--sz, 5px) / -2) 0 0 calc(var(--sz, 5px) / -2); border-radius: 50%; background: radial-gradient(circle, #ffffff 0 24%, #7ff3ff 46%, rgba(80, 200, 255, 0) 72%); animation-name: trlMote; animation-timing-function: ease-out; }
.trl-mote.trl-mote2 { background: radial-gradient(circle, #ffffff 0 24%, #ff9ae6 46%, rgba(255, 120, 220, 0) 72%); }
@keyframes trlMote { 0% { transform: translate3d(0, 0, 0) scale(.3); opacity: 0; } 15% { transform: translate3d(calc(var(--dx) * .1), calc(var(--dy) * .1), 0) scale(1.3); opacity: 1; } 50% { opacity: .55; } 65% { opacity: 1; } 100% { transform: translate3d(var(--dx), var(--dy), 0) scale(.6); opacity: 0; } }
.trl-static.trl-maple { transform: translate3d(calc(var(--dx) * .3), calc(var(--dy) * .3), 0) rotate(calc(var(--rot, 0deg) * .3)); opacity: .95; }
.trl-static.trl-morse { transform: rotate(var(--a, 0deg)); opacity: .95; }
.trl-static.trl-card { transform: translate3d(calc(var(--dx) * .45), var(--up), 0) rotate(calc(var(--rot, 0deg) * .4)); opacity: 1; }
.trl-static.trl-cspark { transform: rotate(45deg); opacity: .9; }
.trl-static.trl-plane { transform: translate3d(calc(var(--dx) * .3), calc(var(--dy) * .3), 0) rotate(calc(var(--fx, 1) * -8deg)) scale(var(--fx, 1), 1); opacity: 1; }
.trl-static.trl-pdash { transform: scale(var(--fx, 1), 1); opacity: .8; }
.trl-static.trl-rune { transform: translate3d(calc(var(--dx) * .3), calc(var(--dy) * .3), 0); opacity: 1; }
.trl-static.trl-cstar { transform: rotate(45deg); opacity: 1; }
.trl-static.trl-cline { transform: rotate(var(--a, 0deg)); opacity: .85; }
.trl-static.trl-jelly { transform: rotate(var(--a, 0deg)) scale(var(--k, 1)); opacity: 1; }
.trl-static.trl-jellybell::before { animation: none; }
.trl-static.trl-mote { opacity: .95; }
@media (prefers-reduced-motion: reduce) { .trl-jellybell::before { animation: none; } }
