/* «След реакции» (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; }
@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; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@container (max-width: 94px) { .trl-name-ico { display: none; } } /* a narrow tile (a 320-px phone): the name alone, whole */
.trl-pick { 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 */
