/* ──────────────────────────────────────────────────────────────────────────
   Стилі ніків (обидва дизайни): лише кольори палітри Vice Neon. Набір і рівні відкриття —
   NICK_EFFECT_LEVELS (lib/web/helpers/users.rb); класи .nickname-effect-<id> ставить styled_nickname().
   Анімації вимикаються при prefers-reduced-motion.
   ────────────────────────────────────────────────────────────────────────── */
.nickname-effect-neon-pink   { color: #FFB3D6; text-shadow: 0 0 6px rgba(255, 79, 163, .9), 0 0 16px rgba(255, 79, 163, .55); }
.nickname-effect-neon-cyan   { color: #B8FFF8; text-shadow: 0 0 6px rgba(46, 230, 214, .9), 0 0 16px rgba(46, 230, 214, .55); }
.nickname-effect-neon-violet { color: #E2D2FF; text-shadow: 0 0 6px rgba(185, 140, 255, .9), 0 0 16px rgba(185, 140, 255, .55); }
.nickname-effect-ember       { color: #FFD3A8; text-shadow: 0 0 6px rgba(255, 159, 69, .9), 0 0 16px rgba(255, 90, 122, .5); }

.nickname-effect-sunset, .nickname-effect-miami, .nickname-effect-gold, .nickname-effect-chrome, .nickname-effect-vice {
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.nickname-effect-sunset { background-image: linear-gradient(90deg, #FF4FA3, #FF9F45); }
.nickname-effect-miami  { background-image: linear-gradient(90deg, #2EE6D6, #B98CFF, #FF4FA3); }
.nickname-effect-gold   { background-image: linear-gradient(180deg, #FFE27A 20%, #FF9F45 90%); filter: drop-shadow(0 0 6px rgba(255, 226, 122, .45)); }
.nickname-effect-chrome { background-image: linear-gradient(180deg, #F3F1F8 0%, #A39FB5 48%, #F3F1F8 52%, #2EE6D6 100%); }
.nickname-effect-vice   { background-image: linear-gradient(90deg, #FF4FA3, #FF9F45, #2EE6D6, #FF4FA3); background-size: 300% 100%; animation: nkVice 6s ease-in-out infinite; }
@keyframes nkVice { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.nickname-effect-outline { color: transparent; -webkit-text-fill-color: transparent; -webkit-text-stroke: 1px #FF4FA3; text-shadow: 0 0 10px rgba(255, 79, 163, .35); }
.nickname-effect-retro   { color: #F3F1F8; text-shadow: 2px 2px 0 #FF4FA3, 4px 4px 0 #2EE6D6; }
.nickname-effect-pulse   { color: #F3F1F8; animation: nkPulse 2.4s ease-in-out infinite; }
@keyframes nkPulse { 0%, 100% { text-shadow: 0 0 4px rgba(255, 79, 163, .6); } 50% { text-shadow: 0 0 10px #FF4FA3, 0 0 24px #FF9F45; } }
.nickname-effect-glitch  { color: #F3F1F8; text-shadow: -2px 0 #FF4FA3, 2px 0 #2EE6D6; animation: nkGlitch 3s steps(1) infinite; }
@keyframes nkGlitch { 0%, 92%, 100% { text-shadow: -2px 0 #FF4FA3, 2px 0 #2EE6D6; } 94% { text-shadow: 3px 0 #FF4FA3, -3px 0 #2EE6D6; } 96% { text-shadow: -1px 1px #FF9F45, 1px -1px #B98CFF; } }

@media (prefers-reduced-motion: reduce) {
  .nickname-effect-vice, .nickname-effect-pulse, .nickname-effect-glitch { animation: none; }
}

/* Locked tiles in the profile style picker (views/profile.erb). */
.tile.is-locked { opacity: .55; cursor: not-allowed; }
.tile.is-locked .tile__check { display: none; }
.tile__lock { display: inline-flex; align-items: center; justify-content: center; text-align: center; gap: 4px; margin-top: 2px; font-size: 11px; font-weight: 800; color: #FFE27A; }

/* ─── Розширений набір (ще 12 ефектів, лише палітра) ─── */
.nickname-effect-neon-yellow { color: #FFF3BF; text-shadow: 0 0 6px rgba(255, 226, 122, .95), 0 0 16px rgba(255, 159, 69, .5); }
.nickname-effect-neon-red    { color: #FFC2CE; text-shadow: 0 0 6px rgba(255, 90, 122, .95), 0 0 16px rgba(255, 90, 122, .5); }

.nickname-effect-flamingo, .nickname-effect-lagoon, .nickname-effect-sunrise, .nickname-effect-synthwave,
.nickname-effect-aurora, .nickname-effect-hologram, .nickname-effect-scanline, .nickname-effect-laser {
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.nickname-effect-flamingo  { background-image: linear-gradient(90deg, #FF4FA3, #B98CFF); }
.nickname-effect-lagoon    { background-image: linear-gradient(90deg, #2EE6D6, #B98CFF); }
.nickname-effect-sunrise   { background-image: linear-gradient(180deg, #FFE27A, #FF9F45 55%, #FF4FA3); }
.nickname-effect-synthwave { background-image: linear-gradient(180deg, #FFE27A 0%, #FF4FA3 55%, #B98CFF 56%, #B98CFF 100%);
  filter: drop-shadow(0 0 6px rgba(46, 230, 214, .55)); }
.nickname-effect-aurora    { background-image: linear-gradient(90deg, #2EE6D6, #B98CFF, #FFE27A, #2EE6D6); background-size: 300% 100%; animation: nkVice 9s ease-in-out infinite; }
.nickname-effect-hologram  { background-image: linear-gradient(110deg, #2EE6D6 20%, #F3F1F8 40%, #B98CFF 55%, #FF4FA3 70%, #2EE6D6 90%); background-size: 250% 100%;
  animation: nkHolo 3.5s linear infinite; filter: drop-shadow(0 0 5px rgba(185, 140, 255, .5)); }
@keyframes nkHolo { to { background-position: -250% 0; } }
.nickname-effect-scanline  { background-image: repeating-linear-gradient(180deg, #2EE6D6 0 2px, #FF4FA3 2px 4px); filter: drop-shadow(0 0 4px rgba(46, 230, 214, .45)); }
.nickname-effect-laser     { background-image: linear-gradient(90deg, #FF4FA3 0%, #FF4FA3 40%, #F3F1F8 50%, #FF4FA3 60%, #FF4FA3 100%); background-size: 200% 100%;
  animation: nkLaser 2.6s linear infinite; filter: drop-shadow(0 0 6px rgba(255, 79, 163, .7)); }
@keyframes nkLaser { from { background-position: 100% 0; } to { background-position: -100% 0; } }

.nickname-effect-shadow-3d { color: #F3F1F8; text-shadow: 1px 1px 0 #FF4FA3, 2px 2px 0 #FF4FA3, 3px 3px 0 #B98CFF, 4px 4px 0 #B98CFF, 5px 5px 8px rgba(0, 0, 0, .5); }
.nickname-effect-flicker   { color: #FFB3D6; text-shadow: 0 0 6px #FF4FA3, 0 0 16px rgba(255, 79, 163, .6); animation: nkFlicker 4s steps(1) infinite; }
@keyframes nkFlicker { 0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; } 20%, 24%, 55% { opacity: .45; text-shadow: none; } }

@media (prefers-reduced-motion: reduce) {
  .nickname-effect-aurora, .nickname-effect-hologram, .nickname-effect-laser, .nickname-effect-flicker { animation: none; }
}
/* Opened tile: one short line «за LV 12» / «за «Досягнення»», full text in the title. */
.tile__got { display: block; max-width: 100%; margin-top: 1px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; text-align: center;
  font-size: 11px; font-weight: 700; line-height: 14px; color: #2EE6D6; opacity: .85; }
.tile__lock { max-width: 100%; white-space: nowrap; }
.tile__lock > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }

/* ─── Ефекти за досягнення (міграція 124) ─── */
.nickname-effect-neon-sign { color: #FFE5F1; text-shadow: 0 0 2px #FFFFFF, 0 0 8px #FF4FA3, 0 0 18px #FF4FA3, 0 0 30px rgba(46, 230, 214, .55);
  animation: nkSign 5s steps(1) infinite; }
@keyframes nkSign { 0%, 31%, 33%, 100% { opacity: 1; } 32% { opacity: .55; } }
.nickname-effect-ghost { color: rgba(243, 241, 248, .55); -webkit-text-fill-color: rgba(243, 241, 248, .55);
  text-shadow: 0 0 10px rgba(185, 140, 255, .8), 0 0 22px rgba(46, 230, 214, .45); animation: nkGhost 4s ease-in-out infinite; }
@keyframes nkGhost { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .nickname-effect-neon-sign, .nickname-effect-ghost { animation: none; } }
