/* «Заставка студии» (0.47, club-intro.js): the studio's intro over the player's box — six styles, each a small piece of
   motion design (CSS, two canvases), three seconds; the shop's card with its live preview, the tile, the profile's line.
   Every element's own rule is its LAST frame and the keyframes start from elsewhere, so reduced motion (.intro-still:
   no animation) shows the finished title card. Sizes come from the box (container units): the same intro in a 320-px
   phone player, a full screen and the shop's preview. Never takes a click (pointer-events: none). */
.intro-ov {
  position: absolute; inset: 0; z-index: 46; display: grid; place-items: center; overflow: hidden; pointer-events: none;
  container-type: size; isolation: isolate; contain: layout paint style; background: #000; color: #fff; font-synthesis: none;
  --t: var(--ms, 3000ms); --k: 150; --hmax: 19cqh;
  animation: intro-in .3s ease-out both;
}
.intro-ov.intro-out { animation: intro-fade .45s ease-in both; }
@keyframes intro-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes intro-fade { from { opacity: 1; } to { opacity: 0; } }
.intro-art { position: absolute; inset: 0; }
.intro-art i, .intro-art b, .intro-art canvas, .intro-art > span { position: absolute; display: block; }
.intro-body { position: relative; z-index: 3; display: grid; place-items: center; width: 100%; box-sizing: border-box; padding: 0 3cqw; }
.intro-title { display: flex; flex-direction: column; align-items: center; gap: 2.4cqh; max-width: 96cqw; text-align: center; }
.intro-name { position: relative; display: block; white-space: nowrap; line-height: 1.06;
  font-size: max(6px, calc(min(var(--hmax), calc(var(--k) * 1cqw / (var(--n, 10) + 2.5))) * var(--fit, 1))); }
.intro-sub { display: block; white-space: nowrap; font-size: max(5px, 4.6cqh); letter-spacing: .34em; margin-right: -.34em; text-transform: uppercase; line-height: 1.2; }
.intro-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.intro-ch { display: inline-block; white-space: pre; }

/* --- «Прожекторы»: searchlights sweep the night over the name on its pedestal ------------------------------------ */
.intro-st-spotlights { background: #04060f; --k: 148; --hmax: 21cqh; }
.intro-st-spotlights .intro-sky { inset: 0; background: radial-gradient(130% 88% at 50% 110%, #34558f 0%, #19305f 32%, #0b1534 60%, #04060f 100%); }
.intro-st-spotlights .intro-horizon { left: -10%; right: -10%; bottom: -16cqh; height: 38cqh; background: radial-gradient(55% 60% at 50% 32%, rgba(255, 214, 140, .42), rgba(255, 214, 140, 0) 72%); }
.intro-st-spotlights .intro-beam {
  bottom: -6cqh; width: 15cqw; height: 160cqh; transform-origin: 50% 100%; transform: rotate(var(--a2));
  background: linear-gradient(to top, rgba(255, 247, 220, .66), rgba(255, 247, 220, .2) 52%, rgba(255, 247, 220, 0) 90%);
  clip-path: polygon(45% 100%, 55% 100%, 100% 0, 0 0); mix-blend-mode: screen;
  animation: intro-sweep var(--t) cubic-bezier(.45, .05, .35, 1) both;
}
.intro-st-spotlights .b1 { left: 4cqw; --a0: -44deg; --a1: 26deg; --a2: 9deg; }
.intro-st-spotlights .b2 { left: 25cqw; --a0: 32deg; --a1: -24deg; --a2: -5deg; animation-delay: -.12s; }
.intro-st-spotlights .b3 { right: 25cqw; --a0: -32deg; --a1: 24deg; --a2: 5deg; animation-delay: -.06s; }
.intro-st-spotlights .b4 { right: 4cqw; --a0: 44deg; --a1: -26deg; --a2: -9deg; }
@keyframes intro-sweep { 0% { transform: rotate(var(--a0)); opacity: 0; } 14% { opacity: 1; } 58% { transform: rotate(var(--a1)); } 100% { transform: rotate(var(--a2)); opacity: 1; } }
.intro-st-spotlights .intro-title { gap: 0; transform: translateY(4cqh); }
.intro-st-spotlights .intro-name {
  font-family: "Arial Black", "Helvetica Neue", Arial, system-ui, sans-serif; font-weight: 900; text-transform: uppercase; letter-spacing: .02em; color: #ffd978;
  text-shadow: 0 .02em 0 #eab042, 0 .04em 0 #cb8b25, 0 .06em 0 #aa6e17, 0 .08em 0 #8a540e, 0 .1em 0 #6a3e08, 0 .12em .01em #4b2a04, 0 .22em .3em rgba(0, 0, 0, .6);
  animation: intro-rise var(--t) cubic-bezier(.2, .8, .2, 1) both;
}
.intro-st-spotlights .intro-name::after {
  content: attr(data-text); position: absolute; inset: 0; color: transparent; text-shadow: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .95) 48%, rgba(255, 248, 225, .45) 54%, transparent 62%) no-repeat;
  background-size: 260% 100%; background-position: -60% 0; -webkit-background-clip: text; background-clip: text;
  animation: intro-shine var(--t) ease-in-out both;
}
@keyframes intro-rise { 0% { transform: translateY(16cqh) scale(.9); opacity: 0; } 24% { opacity: 1; } 62%, 100% { transform: none; opacity: 1; } }
@keyframes intro-shine { 0%, 42% { background-position: 160% 0; } 78%, 100% { background-position: -60% 0; } }
.intro-st-spotlights .intro-ped {
  display: block; margin-top: 1.6cqh; padding: 1.3cqh 6cqw 1.6cqh; clip-path: polygon(5% 0, 95% 0, 100% 100%, 0 100%);
  background: linear-gradient(180deg, #f0cd85 0%, #c4964a 42%, #8a6227 78%, #6b4a1b 100%); box-shadow: inset 0 .45cqh 0 rgba(255, 255, 255, .4);
  animation: intro-rise var(--t) cubic-bezier(.2, .8, .2, 1) both; animation-delay: .06s;
}
.intro-st-spotlights .intro-sub { font-family: Georgia, "Times New Roman", serif; font-weight: 700; color: #3a270a; text-shadow: 0 .06em 0 rgba(255, 238, 196, .55); }

/* --- «Космос»: out of a star warp, the name flies in chrome over a nebula --------------------------------------- */
.intro-st-space { background: #02010a; --k: 124; --hmax: 17cqh; }
.intro-st-space .intro-nebula {
  inset: -20%;
  background: radial-gradient(38% 34% at 30% 40%, rgba(124, 66, 255, .38), transparent 70%), radial-gradient(36% 30% at 72% 62%, rgba(40, 190, 255, .26), transparent 70%),
    radial-gradient(22% 18% at 60% 30%, rgba(255, 110, 200, .16), transparent 70%), radial-gradient(60% 60% at 50% 50%, #140b38 0%, #05030f 72%);
  animation: intro-drift var(--t) linear both;
}
@keyframes intro-drift { from { transform: scale(1.3) rotate(-5deg); } to { transform: none; } }
.intro-st-space .intro-cv { inset: 0; width: 100%; height: 100%; }
.intro-st-space .intro-flare {
  left: 50%; top: 50%; width: 130cqw; height: 1.1cqh; margin: -.55cqh 0 0 -65cqw; z-index: 2; opacity: .35; transform: scaleX(.85);
  background: linear-gradient(90deg, transparent, rgba(150, 180, 255, 0) 18%, rgba(215, 228, 255, .9) 50%, rgba(150, 180, 255, 0) 82%, transparent);
  animation: intro-flare var(--t) ease-out both;
}
.intro-st-space .intro-flare::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 34cqh; height: 34cqh; margin: -17cqh 0 0 -17cqh; border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 233, 255, .85), rgba(140, 160, 255, .22) 35%, transparent 70%);
}
@keyframes intro-flare { 0%, 30% { opacity: 0; transform: scaleX(.15); } 43% { opacity: 1; transform: scaleX(1); } 100% { opacity: .35; transform: scaleX(.85); } }
.intro-st-space .intro-title { animation: intro-fly var(--t) cubic-bezier(.12, .78, .24, 1) both; }
@keyframes intro-fly { 0% { transform: scale(.05); opacity: 0; } 9% { opacity: 1; } 56% { transform: scale(1); } 100% { transform: scale(1.04); opacity: 1; } }
.intro-st-space .intro-name {
  font-family: "Avenir Next", Futura, "Century Gothic", "Segoe UI", system-ui, sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; margin-right: -.16em;
  background: linear-gradient(180deg, #ffffff 0%, #e2e8ff 36%, #7d8dd4 50%, #f4f6ff 57%, #a9b3e4 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 .1em rgba(130, 150, 255, .7));
}
.intro-st-space .intro-sub { color: #dfe4ff; font-size: max(6px, 4.4cqh); font-weight: 600; letter-spacing: .48em; margin-right: -.48em; text-shadow: 0 0 .6em rgba(120, 140, 255, .8); animation: intro-late var(--t) ease-out both; }
@keyframes intro-late { 0%, 46% { opacity: 0; transform: translateY(1.6cqh); } 70%, 100% { opacity: 1; transform: none; } }

/* --- «Ретро-плёнка»: a leader counts 3-2-1, then an art-deco title card — scratches, dust and flicker over it ----- */
.intro-st-film { background: #14110b; --k: 146; --hmax: 17cqh; }
.intro-st-film .intro-leader { inset: 0; opacity: 0; background: radial-gradient(circle at 50% 50%, #ded4bc 0%, #c5ba98 55%, #8e8366 100%); animation: intro-leader var(--t) steps(1, end) both; }
@keyframes intro-leader { 0% { opacity: 1; } 51% { opacity: 0; } 100% { opacity: 0; } }
.intro-st-film .intro-ring { left: 50%; top: 50%; border-radius: 50%; border: .9cqh solid #1d180f; }
.intro-st-film .r1 { width: 78cqh; height: 78cqh; margin: -39cqh 0 0 -39cqh; }
.intro-st-film .r2 { width: 63cqh; height: 63cqh; margin: -31.5cqh 0 0 -31.5cqh; border-width: .6cqh; }
.intro-st-film .intro-cross { inset: 0; opacity: .82; background: linear-gradient(#1d180f, #1d180f) 50% 0 / .5cqh 100% no-repeat, linear-gradient(#1d180f, #1d180f) 0 50% / 100% .5cqh no-repeat; }
.intro-st-film .intro-wedge {
  left: 50%; top: 50%; width: 160cqw; height: 160cqw; margin: -80cqw 0 0 -80cqw; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(22, 17, 10, 0) 0deg, rgba(22, 17, 10, .08) 200deg, rgba(22, 17, 10, .5) 358deg, rgba(22, 17, 10, 0) 360deg);
  animation: intro-spin .5s linear 3 both;
}
@keyframes intro-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.intro-st-film .intro-num { left: 0; right: 0; top: 50%; margin-top: -.5em; text-align: center; font: 700 54cqh/1 Georgia, "Times New Roman", serif; color: #17130c; opacity: 0; }
.intro-st-film .n3 { animation: intro-n3 var(--t) steps(1, end) both; }
.intro-st-film .n2 { animation: intro-n2 var(--t) steps(1, end) both; }
.intro-st-film .n1 { animation: intro-n1 var(--t) steps(1, end) both; }
@keyframes intro-n3 { 0% { opacity: 1; } 16.6% { opacity: 0; } 100% { opacity: 0; } }
@keyframes intro-n2 { 0% { opacity: 0; } 16.7% { opacity: 1; } 33.3% { opacity: 0; } 100% { opacity: 0; } }
@keyframes intro-n1 { 0% { opacity: 0; } 33.4% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 0; } }
.intro-st-film .intro-frame {
  inset: 8cqh 7cqw; border: .5cqh solid #e3d3a8; box-shadow: inset 0 0 0 1.3cqh #14110b, inset 0 0 0 1.7cqh #e3d3a8, 0 0 4cqh rgba(0, 0, 0, .6);
  animation: intro-card var(--t) steps(1, end) both;
}
.intro-st-film .intro-frame::before, .intro-st-film .intro-frame::after { content: ''; position: absolute; left: 50%; width: 3.2cqh; height: 3.2cqh; margin-left: -1.6cqh; background: #e3d3a8; transform: rotate(45deg); }
.intro-st-film .intro-frame::before { top: -1.85cqh; }
.intro-st-film .intro-frame::after { bottom: -1.85cqh; }
@keyframes intro-card { 0% { opacity: 0; } 52% { opacity: 1; } 100% { opacity: 1; } }
.intro-st-film .intro-body { animation: intro-card var(--t) steps(1, end) both, intro-weave .45s steps(3, end) infinite; }
@keyframes intro-weave { 0% { translate: 0 0; } 33% { translate: .2cqw -.3cqh; } 66% { translate: -.15cqw .25cqh; } 100% { translate: .1cqw .1cqh; } }
.intro-st-film .intro-name { font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-variant: small-caps; letter-spacing: .06em; margin-right: -.06em; color: #f0e3bf; text-shadow: 0 0 .06em rgba(255, 240, 200, .35); }
.intro-st-film .intro-sub { display: flex; align-items: center; gap: 1.8cqw; font-family: Georgia, "Times New Roman", serif; font-style: italic; text-transform: none; letter-spacing: .12em; margin-right: 0; color: #d9c89c; }
.intro-st-film .intro-orn i { position: relative; display: block; width: 9cqw; height: .35cqh; min-height: 1px; background: currentColor; }
.intro-st-film .intro-orn i::after { content: ''; position: absolute; top: 50%; width: 1.3cqh; height: 1.3cqh; margin-top: -.65cqh; background: currentColor; transform: rotate(45deg); }
.intro-st-film .intro-orn i:first-child::after { right: -.4cqh; }
.intro-st-film .intro-orn i:last-child::after { left: -.4cqh; }
.intro-st-film .intro-scratch { top: -5%; bottom: -5%; z-index: 4; width: .22cqw; min-width: 1px; background: rgba(255, 255, 255, .55); mix-blend-mode: screen; animation: intro-scratch .24s steps(2, end) infinite; }
.intro-st-film .s1 { left: 18%; }
.intro-st-film .s2 { left: 63%; background: rgba(25, 18, 8, .6); mix-blend-mode: multiply; animation-duration: .31s; }
.intro-st-film .s3 { left: 84%; opacity: .5; animation-duration: .19s; }
@keyframes intro-scratch { 0% { transform: translateX(0); opacity: .85; } 50% { transform: translateX(3cqw); opacity: .15; } 100% { transform: translateX(-2cqw); opacity: .7; } }
.intro-st-film .intro-dust {
  inset: 0; z-index: 4;
  background: radial-gradient(circle, rgba(18, 12, 6, .8) 0 .4cqh, transparent .55cqh) 23% 31% / 100% 100% no-repeat,
    radial-gradient(circle, rgba(250, 245, 230, .7) 0 .3cqh, transparent .45cqh) 71% 64% / 100% 100% no-repeat,
    radial-gradient(ellipse, rgba(18, 12, 6, .7) 0 .25cqh, transparent .5cqh) 44% 82% / 100% 100% no-repeat;
  animation: intro-dust .36s steps(3, end) infinite;
}
@keyframes intro-dust { 0% { background-position: 23% 31%, 71% 64%, 44% 82%; } 100% { background-position: 61% 18%, 12% 72%, 86% 40%; } }
.intro-st-film .intro-flicker { inset: 0; z-index: 5; background: #fff6dc; opacity: 0; mix-blend-mode: soft-light; animation: intro-flick .17s steps(2, end) infinite; }
@keyframes intro-flick { 0% { opacity: 0; } 50% { opacity: .16; } 100% { opacity: .04; } }
.intro-st-film .intro-vig, .intro-st-noir .intro-vig { inset: 0; z-index: 5; background: radial-gradient(ellipse at center, transparent 48%, rgba(0, 0, 0, .62) 100%); }

/* --- «Неон»: a sign flickers on over a wet wall in the rain, its reflection below ------------------------------------- */
.intro-st-neon { background: #07050d; --k: 138; --hmax: 17cqh; --pink: 0 0 .03em #fff, 0 0 .1em #ff6ad5, 0 0 .22em #ff2fb9, 0 0 .46em #ff2fb9, 0 0 .9em rgba(214, 0, 150, .8); --cyan: 0 0 .08em #fff, 0 0 .28em #3fe6ff, 0 0 .7em #00c8ff; }
.intro-st-neon .intro-wall {
  inset: 0;
  background: radial-gradient(64% 56% at 50% 40%, rgba(255, 60, 190, .2), transparent 70%), radial-gradient(70% 40% at 50% 100%, rgba(40, 220, 255, .12), transparent 70%),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, .5) 0 .35cqh, transparent .35cqh 7.5cqh), linear-gradient(180deg, #1b1223 0%, #120c19 62%, #0a0710 100%);
}
.intro-st-neon .intro-mist { left: 0; right: 0; bottom: 0; height: 32cqh; z-index: 1; background: linear-gradient(180deg, transparent, rgba(255, 70, 200, .08) 45%, rgba(30, 220, 255, .07)); }
.intro-st-neon .intro-cv { inset: 0; width: 100%; height: 100%; z-index: 4; }
.intro-st-neon .intro-body { transform: translateY(-7cqh); }
.intro-st-neon .intro-title {
  padding: 3cqh 5cqw 3.4cqh; border: .55cqh solid #9af8ff; border-radius: 4cqh;
  box-shadow: 0 0 .9cqh #4fe9ff, 0 0 2.6cqh rgba(40, 220, 255, .55), inset 0 0 1.6cqh rgba(40, 220, 255, .35);
  animation: intro-tube var(--t) steps(1, end) both;
}
.intro-st-neon .intro-name { font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif; font-weight: 500; letter-spacing: .03em; color: #ffeafb; text-shadow: var(--pink); animation: intro-neon var(--t) steps(1, end) both; }
.intro-st-neon .intro-sub { color: #dbfcff; font-weight: 600; text-shadow: var(--cyan); animation: intro-neon2 var(--t) steps(1, end) both; }
@keyframes intro-neon {
  0% { color: #3b1834; text-shadow: none; } 10% { color: #ffeafb; text-shadow: var(--pink); } 13% { color: #3b1834; text-shadow: none; }
  17% { color: #ffeafb; text-shadow: var(--pink); } 20% { color: #5a2650; text-shadow: none; } 23% { color: #ffeafb; text-shadow: var(--pink); }
  72% { color: #b06aa3; text-shadow: none; } 74% { color: #ffeafb; text-shadow: var(--pink); } 100% { color: #ffeafb; text-shadow: var(--pink); }
}
@keyframes intro-neon2 { 0% { color: #16353a; text-shadow: none; } 34% { color: #dbfcff; text-shadow: var(--cyan); } 37% { color: #16353a; text-shadow: none; } 40% { color: #dbfcff; text-shadow: var(--cyan); } 100% { color: #dbfcff; text-shadow: var(--cyan); } }
@keyframes intro-tube { 0% { border-color: #1d3a40; box-shadow: none; } 27% { border-color: #9af8ff; box-shadow: 0 0 .9cqh #4fe9ff, 0 0 2.6cqh rgba(40, 220, 255, .55), inset 0 0 1.6cqh rgba(40, 220, 255, .35); } 30% { border-color: #1d3a40; box-shadow: none; } 32% { border-color: #9af8ff; box-shadow: 0 0 .9cqh #4fe9ff, 0 0 2.6cqh rgba(40, 220, 255, .55), inset 0 0 1.6cqh rgba(40, 220, 255, .35); } 100% { border-color: #9af8ff; box-shadow: 0 0 .9cqh #4fe9ff, 0 0 2.6cqh rgba(40, 220, 255, .55), inset 0 0 1.6cqh rgba(40, 220, 255, .35); } }
.intro-st-neon .intro-refl {
  position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; padding: 0 3cqw; opacity: .24; filter: blur(.3cqh);
  transform: translateY(calc(var(--rh, 34cqh) - 7cqh)) scaleY(-1);
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 62%); mask-image: linear-gradient(to top, #000 0%, transparent 62%);
}

/* --- «Нуар»: venetian-blind light, smoke, grain — the name typed letter by letter ---------------------------------- */
.intro-st-noir { background: #0d0d0d; --k: 148; --hmax: 15cqh; --step: min(70ms, calc(1250ms / var(--n, 10))); }
.intro-st-noir .intro-wall { inset: 0; background: radial-gradient(90% 80% at 40% 35%, #4b4b4b 0%, #272727 46%, #0e0e0e 100%); }
.intro-st-noir .intro-art { animation: intro-push var(--t) cubic-bezier(.2, .7, .3, 1) both; } /* the camera moves in a little */
@keyframes intro-push { from { transform: scale(1.12); } to { transform: none; } }
.intro-st-noir .intro-body::before { content: ''; position: absolute; z-index: -1; inset: -8cqh 2cqw; background: radial-gradient(closest-side, rgba(0, 0, 0, .5), transparent); } /* a darker pool under the typed name */
.intro-st-noir .intro-blinds {
  inset: -20%; transform: translate(1cqw, 1cqh);
  background: repeating-linear-gradient(-16deg, rgba(240, 238, 228, 0) 0 3.8cqh, rgba(240, 238, 228, .09) 4.4cqh, rgba(240, 238, 228, .3) 5.2cqh 7.4cqh, rgba(240, 238, 228, .09) 8.2cqh, rgba(240, 238, 228, 0) 8.8cqh);
  -webkit-mask-image: radial-gradient(58% 54% at 40% 44%, #000 22%, transparent 76%); mask-image: radial-gradient(58% 54% at 40% 44%, #000 22%, transparent 76%);
  animation: intro-blinds var(--t) ease-in-out both;
}
@keyframes intro-blinds { 0% { transform: translate(-3cqw, -5cqh); opacity: 0; } 24% { opacity: 1; } 100% { transform: translate(1cqw, 1cqh); opacity: 1; } }
.intro-st-noir .intro-smoke { width: 72cqw; height: 52cqh; border-radius: 50%; background: radial-gradient(closest-side, rgba(225, 225, 225, .15), transparent); opacity: .7; transform: translate(-6cqw, -12cqh) scale(1.2); animation: intro-smoke var(--t) ease-out both; }
.intro-st-noir .m1 { left: 50%; top: 38%; }
.intro-st-noir .m2 { left: 4%; top: 52%; animation-delay: -.7s; }
@keyframes intro-smoke { 0% { transform: translate(0, 10cqh) scale(.8); opacity: 0; } 40% { opacity: 1; } 100% { transform: translate(-6cqw, -12cqh) scale(1.2); opacity: .7; } }
.intro-st-noir .intro-grain {
  inset: -50%; z-index: 4; opacity: .17;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") 0 0 / 180px 180px;
  animation: intro-grain .3s steps(3, end) infinite;
}
@keyframes intro-grain { 0% { transform: translate(0, 0); } 33% { transform: translate(-8%, 6%); } 66% { transform: translate(5%, -9%); } 100% { transform: translate(-3%, 3%); } }
.intro-st-noir .intro-name { font-family: "Courier New", Courier, "Nimbus Mono PS", ui-monospace, monospace; font-weight: 700; letter-spacing: .02em; color: #f2f0e9; text-shadow: 0 0 1px rgba(0, 0, 0, .8), .04em .04em 0 rgba(0, 0, 0, .55); }
.intro-st-noir .intro-ch { position: relative; animation: intro-key .12s ease-out both; animation-delay: calc(.3s + var(--i) * var(--step)); }
.intro-st-noir .intro-ch::after { content: ''; position: absolute; left: 100%; top: .1em; bottom: .04em; width: .09em; margin-left: .03em; background: #f2f0e9; opacity: 0; animation: intro-cur var(--step) linear; animation-delay: calc(.3s + var(--i) * var(--step)); } /* on only while its letter is the last typed: no fill, so no step at the very end to land on */
@keyframes intro-key { 0% { opacity: 0; transform: translateY(-.16em) scale(1.08); } 40% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes intro-cur { 0%, 100% { opacity: 1; } }
.intro-st-noir .intro-caret { display: inline-block; width: .09em; height: .86em; margin-left: .05em; vertical-align: -.06em; background: #f2f0e9; opacity: 0; animation: intro-blink .55s steps(1, end) infinite; animation-delay: calc(.3s + var(--n, 10) * var(--step)); }
@keyframes intro-blink { 0% { opacity: 1; } 50% { opacity: 0; } }
.intro-st-noir .intro-sub { color: #bdbab0; font-family: "Courier New", Courier, ui-monospace, monospace; letter-spacing: .4em; margin-right: -.4em; animation: intro-late var(--t) ease-out both; }

/* --- «Мультик»: rings zoom in, a disc pops, the name bursts out bouncing; the iris closes at the end ------------------- */
.intro-st-toon { background: #ffe9c2; --k: 132; --hmax: 18cqh; }
.intro-st-toon .intro-rings {
  left: 50%; top: 50%; width: 260cqw; height: 260cqw; margin: -130cqw 0 0 -130cqw; border-radius: 50%; transform: scale(1.06) rotate(6deg);
  background: repeating-radial-gradient(circle, #ff4d3d 0 7cqw, #ffb52e 7cqw 14cqw, #2f7bff 14cqw 21cqw, #ffe9c2 21cqw 28cqw);
  animation: intro-rings var(--t) cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes intro-rings { 0% { transform: scale(2.8) rotate(-34deg); } 40% { transform: scale(1) rotate(0deg); } 100% { transform: scale(1.06) rotate(6deg); } }
.intro-st-toon .intro-disc {
  left: 50%; top: 50%; width: 86cqh; height: 86cqh; margin: -43cqh 0 0 -43cqh; border-radius: 50%;
  background: radial-gradient(circle at 40% 34%, #fffaf0, #ffe3ab 68%, #f6c46a); box-shadow: 0 0 0 1.4cqh #1d1236, 0 1.8cqh 0 1.4cqh rgba(29, 18, 54, .35);
  animation: intro-pop var(--t) cubic-bezier(.3, 1.6, .5, 1) both;
}
@keyframes intro-pop { 0%, 10% { transform: scale(0); } 24% { transform: scale(1.12); } 32% { transform: scale(.96); } 40%, 100% { transform: scale(1); } }
.intro-st-toon .intro-name {
  font-family: "Arial Rounded MT Bold", Nunito, "Trebuchet MS", system-ui, sans-serif; font-weight: 900; letter-spacing: .01em; color: #fff;
  -webkit-text-stroke: .1em #1d1236; paint-order: stroke fill; text-shadow: .05em .07em 0 #1d1236;
  animation: intro-burst var(--t) cubic-bezier(.3, 1.5, .5, 1) both;
}
@keyframes intro-burst { 0%, 16% { transform: scale(0) rotate(-14deg); } 28% { transform: scale(1.22) rotate(4deg); } 36% { transform: scale(.94) rotate(-2deg); } 44%, 100% { transform: none; } }
.intro-st-toon .intro-ch { animation: intro-wob .8s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -110ms); }
.intro-st-toon .intro-ch:nth-child(4n + 2) { color: #ffd23f; }
.intro-st-toon .intro-ch:nth-child(4n + 3) { color: #8fdcff; }
.intro-st-toon .intro-ch:nth-child(4n) { color: #ff9cbc; }
@keyframes intro-wob { from { transform: translateY(.04em) rotate(-3deg); } to { transform: translateY(-.05em) rotate(3deg); } }
.intro-st-toon .intro-stars { left: 50%; top: 50%; width: 0; height: 0; z-index: 4; }
.intro-st-toon .intro-star {
  left: -2.6cqh; top: -2.6cqh; width: 5.2cqh; height: 5.2cqh; opacity: 0; background: #ffd23f;
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  animation: intro-star var(--t) ease-out both;
}
.intro-st-toon .intro-star:nth-child(1) { --r: 0deg; --d: -44cqh; }
.intro-st-toon .intro-star:nth-child(2) { --r: 45deg; --d: -52cqh; background: #fff; }
.intro-st-toon .intro-star:nth-child(3) { --r: 90deg; --d: -62cqh; }
.intro-st-toon .intro-star:nth-child(4) { --r: 135deg; --d: -50cqh; background: #ff9cbc; }
.intro-st-toon .intro-star:nth-child(5) { --r: 180deg; --d: -44cqh; }
.intro-st-toon .intro-star:nth-child(6) { --r: 225deg; --d: -52cqh; background: #8fdcff; }
.intro-st-toon .intro-star:nth-child(7) { --r: 270deg; --d: -62cqh; }
.intro-st-toon .intro-star:nth-child(8) { --r: 315deg; --d: -50cqh; background: #fff; }
@keyframes intro-star { 0%, 22% { transform: rotate(var(--r)) translateY(0) scale(.2); opacity: 0; } 30% { opacity: 1; } 62% { transform: rotate(var(--r)) translateY(var(--d)) scale(1); opacity: 1; } 100% { transform: rotate(var(--r)) translateY(var(--d)) scale(.5); opacity: 0; } }
.intro-st-toon .intro-ribbon {
  position: relative; padding: .45em 1.5em .5em 1.8em; color: #fff; font-family: system-ui, sans-serif; font-weight: 900; letter-spacing: .2em;
  background: #e8322f; border: .5cqh solid #1d1236; border-radius: .3em; box-shadow: 0 .55cqh 0 #1d1236; text-shadow: .06em .06em 0 #1d1236;
  animation: intro-ribbon var(--t) cubic-bezier(.3, 1.5, .5, 1) both;
}
@keyframes intro-ribbon { 0%, 38% { transform: scaleX(0); } 50% { transform: scaleX(1.08); } 56%, 100% { transform: none; } }
.intro-st-toon.intro-out { animation: intro-iris .45s ease-in both; }
@keyframes intro-iris { from { clip-path: circle(75% at 50% 50%); } to { clip-path: circle(0% at 50% 50%); } }

/* --- Reduced motion, the shop's held frame, the tile --------------------------------------------------------------- */
.intro-ov.intro-still, .intro-ov.intro-still *, .intro-ov.intro-still *::before, .intro-ov.intro-still *::after { animation: none !important; }
.intro-ov.intro-still { animation: intro-in .25s ease-out both !important; }
.intro-ov.intro-still.intro-out { animation: intro-fade .4s ease-in both !important; }
.intro-ov.intro-held *, .intro-ov.intro-held *::before, .intro-ov.intro-held *::after { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  .intro-ov *, .intro-ov *::before, .intro-ov *::after { animation: none !important; }
}
.intro-tile { display: block; width: 118px; max-width: 100%; }
.intro-tile .intro-ov { position: relative; inset: auto; z-index: 0; width: 100%; aspect-ratio: 16 / 9; border-radius: 7px; animation: none; }

/* --- The shop's card ------------------------------------------------------------------------------------------- */
.intro-item .intro-pv-box { position: relative; margin: 10px 0 12px; }
.intro-item .intro-pv { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; border: 1px solid var(--line, rgba(255, 255, 255, .12)); background: #000; }
.intro-item .intro-pv .intro-ov { z-index: 1; }
.intro-item .intro-replay {
  position: absolute; right: 8px; bottom: 8px; z-index: 5; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(10, 12, 18, .7); color: #fff; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
}
.intro-item .intro-replay:hover { background: rgba(10, 12, 18, .86); }
.intro-item .intro-lbl { display: block; margin: 4px 0 6px; font-size: 12.5px; font-weight: 600; color: var(--muted, #9aa3b2); }
.intro-item .intro-in { width: 100%; box-sizing: border-box; min-height: 44px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line, rgba(255, 255, 255, .12)); background: var(--panel, #12151c); color: var(--text, #fff); font: inherit; font-size: 15px; }
.intro-item .intro-in:focus-visible { outline: 2px solid var(--accent, #e5a00d); outline-offset: 1px; }
.intro-item .intro-meta { display: flex; justify-content: space-between; gap: 10px; margin: 5px 2px 10px; font-size: 12px; color: var(--muted, #9aa3b2); }
.intro-item .intro-bad { color: #ff8f8f; }
.intro-item .intro-styles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 8px; }
.intro-item .intro-opt {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 60px; padding: 8px 4px; border-radius: 11px;
  border: 1px solid var(--line, rgba(255, 255, 255, .12)); background: rgba(255, 255, 255, .04); color: var(--text, #fff); font: inherit; font-size: 12.5px; font-weight: 650; cursor: pointer;
}
.intro-item .intro-opt:hover { background: rgba(255, 255, 255, .08); }
.intro-item .intro-opt.on { border-color: var(--accent, #e5a00d); background: rgba(229, 160, 13, .12); box-shadow: inset 0 0 0 1px var(--accent, #e5a00d); }
.intro-item .intro-opt-i { font-size: 21px; line-height: 1; }
.intro-item .intro-snd { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 13px; cursor: pointer; }
.intro-item .intro-snd input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--accent, #e5a00d); }
.intro-item .intro-who { margin: 2px 0 12px; font-size: 12px; line-height: 1.45; color: var(--muted, #9aa3b2); }
.intro-item .intro-acts { display: flex; flex-wrap: wrap; gap: 8px; }

/* --- The profile's line ---------------------------------------------------------------------------------------- */
.intro-pp { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; margin: 4px 0 2px; padding: 2px 4px 2px 10px; border-radius: 999px; border: 1px solid rgba(229, 160, 13, .38); background: rgba(229, 160, 13, .12); font-size: 12.5px; font-weight: 650; }
.intro-pp-i { flex: none; }
.intro-pp-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.intro-pp-x { flex: none; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .28); color: inherit; font-size: 16px; line-height: 1; cursor: pointer; }
