/* «Сияние имени» (0.39, club-glow.js): the name's letters filled with the style's gradient, which moves by
   background-position only (no layout, no filters). Over a bought «Цвет имени» (data-club-glow-c: the element's own
   color) the colour stays the ground and the style's light runs through it; without it, the style's own palette.
   Where: the list of viewers (.person .name), and the span club-glow.js wraps around a name — the flying reactions'
   pill, the profile's head, the shop's previews (.cgl-t). Reduced motion: the same gradient, still. */
[data-club-glow="gold"] { --cgl: linear-gradient(90deg, #a87408, #f5c542 18%, #fff3c4 30%, #f5c542 42%, #c48a12 62%, #f7d774 82%, #a87408); }
[data-club-glow="gold"][data-club-glow-c] { --cgl: linear-gradient(90deg, currentColor 0 16%, #ffd76a 30%, #fff6d6 41%, #f5c542 52%, currentColor 68% 100%); }
[data-club-glow="neon"] { --cgl: linear-gradient(90deg, #00e5ff, #8a5cff 25%, #ff2bd6 50%, #8a5cff 75%, #00e5ff); }
[data-club-glow="neon"][data-club-glow-c] { --cgl: linear-gradient(90deg, currentColor 0 16%, #6ff4ff 30%, #ffffff 41%, #ff7cf0 53%, currentColor 68% 100%); }
[data-club-glow="rainbow"] { --cgl: linear-gradient(90deg, #ff5a5a, #ffb84d 15%, #fff04d 30%, #5cff7a 45%, #4dc3ff 60%, #9b6bff 75%, #ff5ad8 88%, #ff5a5a); }
[data-club-glow="rainbow"][data-club-glow-c] { --cgl: linear-gradient(90deg, currentColor 0 10%, #ff6b6b 21%, #ffd34d 32%, #6dff8a 43%, #5cc8ff 54%, #b07bff 65%, currentColor 76% 100%); }
[data-club-glow="glitch"] { --cgl: linear-gradient(90deg, #e9f6ff 0 17%, #ff2bd6 17% 21%, #e9f6ff 21% 46%, #00e5ff 46% 50%, #e9f6ff 50% 75%, #ff2bd6 75% 77%, #00e5ff 77% 80%, #e9f6ff 80%); }
[data-club-glow="glitch"][data-club-glow-c] { --cgl: linear-gradient(90deg, currentColor 0 17%, #ff2bd6 17% 21%, currentColor 21% 46%, #00e5ff 46% 50%, currentColor 50% 75%, #ff2bd6 75% 77%, #00e5ff 77% 80%, currentColor 80%); }
[data-club-glow="fire"] { --cgl: linear-gradient(0deg, #ff3b00, #ff8f00 28%, #ffe27a 48%, #ff8f00 70%, #ff3b00); }
[data-club-glow="fire"][data-club-glow-c] { --cgl: linear-gradient(0deg, currentColor 0%, #ff5a1f 14%, #ffb347 30%, #ffe08a 42%, currentColor 64% 100%); }
[data-club-glow="ice"] { --cgl: linear-gradient(90deg, #7fd0ff, #e6fbff 20%, #ffffff 27%, #bdefff 35%, #4fb0ff 56%, #a8e8ff 78%, #7fd0ff); }
[data-club-glow="ice"][data-club-glow-c] { --cgl: linear-gradient(90deg, currentColor 0 16%, #c9f4ff 30%, #ffffff 41%, #9be7ff 52%, currentColor 68% 100%); }

/* n86: «Хром», «Закат» and the showpiece «Туманность» (only in «Киносюрприз»: stars drift over a flowing nebula). */
[data-club-glow="chrome"] { --cgl: linear-gradient(90deg, #8e9aa8, #e9eef5 16%, #ffffff 24%, #aab6c5 36%, #66717f 52%, #c9d3df 70%, #f4f8fc 82%, #8e9aa8); }
[data-club-glow="chrome"][data-club-glow-c] { --cgl: linear-gradient(90deg, currentColor 0 16%, #dfe7f0 28%, #ffffff 38%, #8a95a4 50%, currentColor 66% 100%); }
[data-club-glow="sunset"] { --cgl: linear-gradient(90deg, #ff7a3d, #ffb347 18%, #ffd76a 30%, #ff6f91 50%, #b77bff 72%, #ff6f91 86%, #ff7a3d); }
[data-club-glow="sunset"][data-club-glow-c] { --cgl: linear-gradient(90deg, currentColor 0 14%, #ffb347 28%, #ff6f91 42%, #b77bff 54%, currentColor 70% 100%); }
[data-club-glow="nebula"] { --cgl: radial-gradient(circle at 22% 30%, #fff 0 .055em, transparent .1em), radial-gradient(circle at 68% 66%, #fff 0 .045em, transparent .085em), linear-gradient(90deg, #8a6bff, #c97bff 18%, #ff9bdc 32%, #8fdcff 50%, #6f8bff 68%, #c97bff 84%, #8a6bff); }
[data-club-glow="nebula"][data-club-glow-c] { --cgl: radial-gradient(circle at 22% 30%, #fff 0 .055em, transparent .1em), radial-gradient(circle at 68% 66%, #fff 0 .045em, transparent .085em), linear-gradient(90deg, currentColor 0 14%, #c97bff 28%, #8fdcff 41%, #ff9bdc 54%, currentColor 70% 100%); }

/* n107a: «Свеча» (a warm flame that flickers unevenly), «Радиация» (acid green, bubbles rising), «Ретровейв» (a synthwave
   sunset over a scanned grid, chrome glint; epic, dearer) and the showpiece «Призма» (only in «Киносюрприз»: clear crystal,
   a spectrum sweeping through it, sparkles). */
[data-club-glow="candle"] { --cgl: linear-gradient(0deg, #8a3a08, #ff8a1e 22%, #ffc14a 40%, #fff0c2 52%, #ffc14a 64%, #ff8a1e 82%, #8a3a08); }
[data-club-glow="candle"][data-club-glow-c] { --cgl: linear-gradient(0deg, currentColor 0 30%, #ffb347 42%, #fff0c2 50%, #ffb347 58%, currentColor 70% 100%); }
[data-club-glow="toxic"] { --cgl: radial-gradient(circle at 30% 70%, #f4ffd6 0 .06em, transparent .11em), radial-gradient(circle at 70% 40%, #e2ff9e 0 .045em, transparent .09em), linear-gradient(90deg, #1fbf3a, #7dff2b 22%, #e1ff5c 34%, #39ff14 50%, #0f9f45 70%, #7dff2b 86%, #1fbf3a); }
[data-club-glow="toxic"][data-club-glow-c] { --cgl: radial-gradient(circle at 30% 70%, #f4ffd6 0 .06em, transparent .11em), radial-gradient(circle at 70% 40%, #e2ff9e 0 .045em, transparent .09em), linear-gradient(90deg, currentColor 0 18%, #7dff2b 30%, #e1ff5c 40%, #39ff14 50%, currentColor 66% 100%); }
[data-club-glow="retrowave"] { --cgl: linear-gradient(105deg, transparent 0 40%, rgba(255, 255, 255, .95) 47%, transparent 54%), repeating-linear-gradient(180deg, transparent 0 .11em, rgba(60, 0, 90, .3) .11em .14em), linear-gradient(180deg, #fff0a0 0%, #ffb347 24%, #ff4f9a 47%, #ffe6ff 51%, #c23cff 56%, #8a5cff 74%, #19e6ff 100%); }
[data-club-glow="retrowave"][data-club-glow-c] { --cgl: linear-gradient(105deg, transparent 0 40%, rgba(255, 255, 255, .95) 47%, transparent 54%), repeating-linear-gradient(180deg, transparent 0 .11em, rgba(60, 0, 90, .28) .11em .14em), linear-gradient(180deg, currentColor 0 30%, #ff4f9a 48%, #ffe6ff 51%, #8a3dff 62%, currentColor 80% 100%); }
[data-club-glow="prism"] { --cgl: radial-gradient(circle at 25% 30%, #fff 0 .05em, transparent .1em), radial-gradient(circle at 65% 70%, #fff 0 .04em, transparent .08em), linear-gradient(100deg, transparent 0 36%, #ff5a7a 40%, #ffb84d 43%, #fff36b 46%, #fff 48%, #6dffb0 50%, #5cc8ff 53%, #a87bff 56%, transparent 60%), linear-gradient(115deg, #e9f1ff 0 18%, #b9cdfa 18% 30%, #ffffff 30% 44%, #d4c8ff 44% 58%, #f4f9ff 58% 74%, #a9c2f5 74% 86%, #e9f1ff 86%); }
[data-club-glow="prism"][data-club-glow-c] { --cgl: radial-gradient(circle at 25% 30%, #fff 0 .05em, transparent .1em), radial-gradient(circle at 65% 70%, #fff 0 .04em, transparent .08em), linear-gradient(100deg, transparent 0 36%, #ff5a7a 40%, #ffb84d 43%, #fff36b 46%, #fff 48%, #6dffb0 50%, #5cc8ff 53%, #a87bff 56%, transparent 60%), linear-gradient(90deg, currentColor, currentColor); }

@supports (-webkit-background-clip: text) or (background-clip: text) {
  .person .name[data-club-glow], .cgl-t[data-club-glow] {
    background-image: var(--cgl); background-size: 6em 100%; background-repeat: repeat; background-position: 0 0;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    animation: cgl-flow 2.8s linear infinite;
  }
  .person .name[data-club-glow]::after { -webkit-text-fill-color: currentColor; } /* « · ХОСТ» keeps its own colour */
  .person .name[data-club-glow="neon"], .cgl-t[data-club-glow="neon"] { animation-duration: 2.2s; }
  .person .name[data-club-glow="rainbow"], .cgl-t[data-club-glow="rainbow"] { animation-duration: 3.2s; }
  .person .name[data-club-glow="ice"], .cgl-t[data-club-glow="ice"] { animation-duration: 3.6s; }
  .person .name[data-club-glow="glitch"], .cgl-t[data-club-glow="glitch"] { animation: cgl-glitch 2.8s steps(1, end) infinite; }
  .person .name[data-club-glow="fire"], .cgl-t[data-club-glow="fire"] { background-size: 100% 1.8em; animation: cgl-rise 1.5s linear infinite; }
  .person .name[data-club-glow="chrome"], .cgl-t[data-club-glow="chrome"] { animation-duration: 3s; }
  .person .name[data-club-glow="sunset"], .cgl-t[data-club-glow="sunset"] { animation-duration: 4.2s; }
  .person .name[data-club-glow="nebula"], .cgl-t[data-club-glow="nebula"] { background-size: 1.1em 1em, 1.7em 1.2em, 6em 100%; animation: cgl-nebula 5s linear infinite; }
  /* n107a */
  .person .name[data-club-glow="candle"], .cgl-t[data-club-glow="candle"] { background-size: 100% 2.4em; animation: cgl-candle 2.6s steps(1, end) infinite; }
  .person .name[data-club-glow="toxic"], .cgl-t[data-club-glow="toxic"] { background-size: 1.3em 1.5em, 1.9em 1.1em, 6em 100%; animation: cgl-toxic 3.4s linear infinite; }
  .person .name[data-club-glow="retrowave"], .cgl-t[data-club-glow="retrowave"] { background-size: 9em 100%, 100% .56em, 100% 100%; background-repeat: no-repeat, repeat, no-repeat; animation: cgl-retrowave 4s linear infinite; }
  .person .name[data-club-glow="prism"], .cgl-t[data-club-glow="prism"] { background-size: 1.2em 1em, 1.9em 1.3em, 10em 100%, 6em 100%; background-repeat: repeat, repeat, no-repeat, repeat; animation: cgl-prism 5.5s linear infinite; }
  @media (prefers-reduced-motion: reduce) {
    .person .name[data-club-glow], .cgl-t[data-club-glow] { animation: none; background-position: -1.4em 0; }
    .person .name[data-club-glow="nebula"], .cgl-t[data-club-glow="nebula"] { animation: none; background-position: .3em 0, .5em 0, -1.4em 0; }
    .person .name[data-club-glow="fire"], .cgl-t[data-club-glow="fire"] { animation: none; background-position: 0 -.5em; }
    .person .name[data-club-glow="glitch"], .cgl-t[data-club-glow="glitch"] { animation: none; background-position: .6em 0; }
    .person .name[data-club-glow="candle"], .cgl-t[data-club-glow="candle"] { animation: none; background-position: 0 -.7em; }
    .person .name[data-club-glow="toxic"], .cgl-t[data-club-glow="toxic"] { animation: none; background-position: .2em 0, .7em 0, -1.4em 0; }
    .person .name[data-club-glow="retrowave"], .cgl-t[data-club-glow="retrowave"] { animation: none; background-position: 200% 0, 0 0, 0 0; }
    .person .name[data-club-glow="prism"], .cgl-t[data-club-glow="prism"] { animation: none; background-position: .3em 0, .5em 0, 40% 0, -1.4em 0; }
  }
}
@keyframes cgl-flow { from { background-position: 0 0; } to { background-position: 6em 0; } }
@keyframes cgl-nebula { from { background-position: 0 0, 0 0, 0 0; } to { background-position: 2.2em 0, -3.4em 0, 6em 0; } } /* each layer by whole tiles: no jump */
@keyframes cgl-rise { from { background-position: 0 0; } to { background-position: 0 -1.8em; } }
/* n107a: a flame's uneven flicker (the gradient jumps up and down a little, never in a beat); bubbles rising at two speeds
   (whole tiles: no jump); scanlines rolling down under a glint that crosses now and then; a spectrum sweeping through glass. */
@keyframes cgl-candle {
  0% { background-position: 0 0; } 9% { background-position: 0 -.16em; } 15% { background-position: 0 .08em; } 27% { background-position: 0 -.1em; }
  34% { background-position: 0 -.3em; } 41% { background-position: 0 -.05em; } 55% { background-position: 0 .12em; } 61% { background-position: 0 -.22em; }
  70% { background-position: 0 -.08em; } 78% { background-position: 0 -.34em; } 83% { background-position: 0 -.12em; } 92% { background-position: 0 .05em; }
}
@keyframes cgl-toxic { from { background-position: 0 0, 0 0, 0 0; } to { background-position: 0 -3em, 0 -3.3em, 6em 0; } }
@keyframes cgl-retrowave {
  0% { background-position: 260% 0, 0 0, 0 0; } 45% { background-position: 260% 0, 0 .28em, 0 0; }
  75% { background-position: -160% 0, 0 .47em, 0 0; } 100% { background-position: -160% 0, 0 .56em, 0 0; }
}
@keyframes cgl-prism { from { background-position: 0 0, 0 0, 220% 0, 0 0; } to { background-position: 2.4em 0, -3.8em 0, -120% 0, 6em 0; } }
/* Still most of the time, then a burst of jumps — a glitch. */
@keyframes cgl-glitch {
  0%, 62% { background-position: 0 0; }
  64% { background-position: 1.6em 0; }
  66% { background-position: -1.2em 0; }
  68% { background-position: 2.7em 0; }
  71% { background-position: .6em 0; }
  73%, 100% { background-position: 0 0; }
}

/* The flying reactions' pill: the wrapped name keeps the pill's layout. */
.react-who > .cgl-t { min-width: 0; }
/* The profile's head: the name is big there. */
.pp-name > .cgl-t { display: inline; }

/* The shop's card: each style on one's own chip (face, frame, colour), two to a row. */
.cgl-styles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.cgl-opt { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-width: 0; min-height: 70px; padding: 9px 6px 7px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--text); cursor: pointer; font: inherit; }
.cgl-opt:hover:not(:disabled) { background: var(--line); }
.cgl-opt:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.cgl-opt.on { border-color: var(--accent); background: rgba(229, 160, 13, .12); }
.cgl-opt:disabled { cursor: default; opacity: .75; }
.cgl-opt .club-chip { max-width: 100%; font-size: 14px; font-weight: 700; pointer-events: none; }
.cgl-name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 12px; }
.cgl-opt.on .cgl-name { color: var(--text); }
.cgl-item > .club-buy, .cgl-item > .cgl-hint { margin-top: 10px; }
/* 0.67: on a phone the big «Так вас увидят в зале» chip is the hall's bare face — a name look is shown once more as a pill */
.wd-name-m { display: none; justify-content: center; margin: -2px 0 10px; }
@media (max-width: 760px) { .wd-name-m { display: flex; } }
