/* ════════════════════════════════════════════════════════════════
   profile-selection.css — Grizzly Stream  v7.0
   SOURCE UNIQUE de toutes les animations gs-fx-*.
   profile.js et profile-selection.js NE doivent JAMAIS injecter
   de <style> gs-name-effects car les keyframes sont définis ici.

   Effets de pseudonyme supportés (NAME_EFFECTS) :
   none · rainbow · gold · silver · fire · neon · glace · plasma ·
   glitch · pulse · nebula · diamond · eclipse · aqua · toxic · encre
   ════════════════════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────────────────── */
:root {
  --bg:          #000000;
  --bg2:         #141414;
  --bg3:         #1a1a1a;
  --red:         #e50914;
  --red-dim:     rgba(229, 9, 20, 0.18);
  --red-glow:    rgba(229, 9, 20, 0.45);
  --white:       #ffffff;
  --grey:        rgba(255, 255, 255, 0.5);
  --border:      rgba(255, 255, 255, 0.1);
  --radius:      6px;
  --avatar-size: 140px;
}

/* ── Reset ─────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--white);
  font-family: 'Work Sans', sans-serif;
  overflow-x: hidden;
}

/* ════════════════════════════════════════════════════════════════
   FOND ANIMÉ
   ════════════════════════════════════════════════════════════════ */
.bg-layer { position: fixed; inset: 0; z-index: 0; pointer-events: none; }

.bg-gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(229,9,20,.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 70%, rgba(229,9,20,.04) 0%, transparent 55%),
    #000;
  animation: bgShift 12s ease-in-out infinite alternate;
}
@keyframes bgShift {
  0%   { opacity: 1; }
  50%  { opacity: .85; }
  100% { opacity: 1; }
}

.bg-canvas   { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }
.bg-vignette { position: absolute; inset: 0; background: radial-gradient(ellipse 100% 100% at 50% 50%, transparent 40%, rgba(0,0,0,.85) 100%); }

.bg-grain {
  position: absolute; inset: 0; opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  animation: grainShift .8s steps(2) infinite;
}
@keyframes grainShift {
  0%   { transform: translate(0,0); }
  25%  { transform: translate(-2px,1px); }
  50%  { transform: translate(2px,-1px); }
  75%  { transform: translate(-1px,2px); }
  100% { transform: translate(1px,-2px); }
}

/* ════════════════════════════════════════════════════════════════
   LOGO
   ════════════════════════════════════════════════════════════════ */
.site-logo {
  position: fixed; top: 28px; left: 48px;
  font-family: 'Bebas Neue', cursive;
  font-size: 34px; letter-spacing: 3px;
  color: var(--red); user-select: none;
  text-shadow: 0 0 24px var(--red-glow);
  z-index: 200;
  animation: logoReveal .8s cubic-bezier(.22,1,.36,1) both;
}
@keyframes logoReveal {
  from { opacity: 0; transform: translateX(-16px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ════════════════════════════════════════════════════════════════
   ÉCRANS
   ════════════════════════════════════════════════════════════════ */
.screen {
  position: relative; z-index: 10; min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 80px 24px 60px;
}
.screen.hidden   { display: none !important; }
.screen.entering { animation: screenEnter .4s cubic-bezier(.22,1,.36,1) both; }
.screen.leaving  { animation: screenLeave .25s ease-in both; }

@keyframes screenEnter {
  from { opacity: 0; transform: translateY(20px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes screenLeave {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-12px); }
}

.screen-header {
  text-align: center; margin-bottom: 48px;
  animation: headerReveal .7s cubic-bezier(.22,1,.36,1) .1s both;
}
@keyframes headerReveal {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.screen-title {
  font-size: clamp(28px, 4vw, 48px); font-weight: 300;
  letter-spacing: 2px; color: var(--white); margin-bottom: 8px;
}
.screen-sub { font-size: 14px; color: var(--grey); letter-spacing: .5px; }

/* ════════════════════════════════════════════════════════════════
   GRILLE PROFILS
   ════════════════════════════════════════════════════════════════ */
.profiles-grid {
  display: flex; flex-wrap: wrap; gap: 36px;
  justify-content: center; max-width: 960px; margin-bottom: 52px;
}

.profile-card {
  display: flex; flex-direction: column; align-items: center;
  gap: 12px; cursor: pointer; width: var(--avatar-size);
  opacity: 0;
  animation: cardReveal .5s cubic-bezier(.22,1,.36,1) both;
  animation-delay: calc(var(--card-index, 0) * .07s + .2s);
}
@keyframes cardReveal {
  from { opacity: 0; transform: translateY(24px) scale(.94); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── Avatar ── */
.profile-avatar {
  width: var(--avatar-size); height: var(--avatar-size);
  border-radius: 50%; overflow: hidden;
  border: 3px solid transparent; background: var(--bg3);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: border-color .2s, transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s;
}
.profile-avatar img      { width: 100%; height: 100%; object-fit: cover; }
.profile-avatar .initial { font-size: 52px; font-weight: 900; color: white; user-select: none; }
.profile-avatar::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,.12) 0%, transparent 60%);
  opacity: 0; transition: opacity .2s;
}
.profile-card:not(.edit-mode):hover .profile-avatar::after { opacity: 1; }

/* Indicateur profil actif */
.active-indicator {
  position: absolute; bottom: 6px; right: 6px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--red); border: 3px solid var(--bg);
  box-shadow: 0 0 10px var(--red-glow); z-index: 5;
  animation: pulseActive 2s ease-in-out infinite;
}
@keyframes pulseActive {
  0%,100% { box-shadow: 0 0 8px var(--red-glow); }
  50%     { box-shadow: 0 0 18px rgba(229,9,20,.8); }
}
.profile-card.active-profile .profile-avatar {
  border-color: rgba(229,9,20,.5);
  box-shadow: 0 0 0 2px rgba(229,9,20,.2);
}

/* Hover */
.profile-card:not(.edit-mode):hover .profile-avatar {
  border-color: rgba(255,255,255,.55);
  transform: scale(1.07) translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.1);
}
.profile-card:not(.edit-mode):hover .profile-name { opacity: .85; }

/* Overlay crayon (mode édition) */
.profile-hover-overlay {
  position: absolute; inset: 0; border-radius: 50%;
  background: rgba(0,0,0,.55);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .2s; pointer-events: none;
}
.profile-hover-overlay svg { width: 32px; height: 32px; fill: white; }
.profile-card.edit-mode:hover .profile-hover-overlay { opacity: 1; }

/* Animation de sélection */
@keyframes profilePulse {
  0%   { transform: scale(1.07) translateY(-3px); }
  40%  { transform: scale(1.16) translateY(-5px); box-shadow: 0 0 0 8px rgba(255,255,255,.18); }
  70%  { transform: scale(1.1) translateY(-2px); }
  100% { transform: scale(1.12) translateY(-2px); opacity: .7; }
}
.profile-avatar.pulse { animation: profilePulse .42s ease forwards; }

@keyframes cardFadeOut { to { opacity: .3; transform: scale(.95); } }
.profile-card.selecting { animation: cardFadeOut .42s ease forwards; pointer-events: none; }
.profiles-grid:has(.profile-card.selecting) .profile-card:not(.selecting) {
  opacity: .25; transition: opacity .35s ease;
}

/* ════════════════════════════════════════════════════════════════
   NOM DE PROFIL
   overflow:hidden retiré ici pour ne pas clipper les text-shadow.
   La largeur fixe du parent (--avatar-size) contraint le layout.
   ════════════════════════════════════════════════════════════════ */
.profile-name {
  font-size: 16px; font-weight: 600;
  text-align: center;
  transition: color .2s, opacity .2s;
  max-width: var(--avatar-size);
  white-space: nowrap;
  display: inline-block;
}

/* ════════════════════════════════════════════════════════════════
   GS-FX — CONTENEUR DE BASE
   overflow:visible indispensable : text-shadow, filter et transform
   ne doivent pas être clippés par la boîte de l'élément.
   Le padding/margin compensatoire donne de l'air aux glows.
   ════════════════════════════════════════════════════════════════ */
.gs-fx {
  display: inline-block !important;
  max-width: 100%;
  overflow: visible !important;
  white-space: nowrap;
  vertical-align: middle;
  padding: 3px 6px;
  margin: -3px -6px;
}

/* ════════════════════════════════════════════════════════════════
   GS-FX — KEYFRAMES PARTAGÉS
   Définis une seule fois, réutilisés par .gs-fx-* ET .effect-preview-*
   ════════════════════════════════════════════════════════════════ */

/* Rainbow */
@keyframes gsFxRainbow {
  from { background-position: 0% center; }
  to   { background-position: 300% center; }
}

/* Gold */
@keyframes gsFxGold {
  from { background-position: 0% center; }
  to   { background-position: 200% center; }
}

/* Silver */
@keyframes gsFxSilver {
  from { background-position: 0% center; }
  to   { background-position: 200% center; }
}

/* Fire */
@keyframes gsFxFire {
  from { background-position: 0% 100%; }
  to   { background-position: 0% 0%; }
}

/* Neon */
@keyframes gsFxNeon {
  from { text-shadow: 0 0 8px #00fff7, 0 0 20px #00fff7; opacity: 1; }
  to   { text-shadow: 0 0 4px #00fff7, 0 0 40px #00fff7, 0 0 70px #00aaf7; opacity: .88; }
}

/* Glace */
@keyframes gsFxGlace {
  from { background-position: 0% center; }
  to   { background-position: 200% center; }
}

/* Plasma */
@keyframes gsFxPlasma {
  from { background-position: 0% center; }
  to   { background-position: 300% center; }
}

/* Glitch */
@keyframes gsFxGlitch {
  0%,88%,100% { text-shadow: none; transform: none; }
  90%  { text-shadow: -2px 0 #ff0040, 2px 0 #00ffff; transform: skewX(-6deg) translateX(-1px); }
  92%  { text-shadow:  2px 0 #ff0040,-2px 0 #00ffff; transform: skewX( 4deg) translateX( 1px); }
  94%  { text-shadow: -1px 0 #ff0040, 1px 0 #00ffff; transform: translateX(2px); }
  96%  { text-shadow: none; transform: none; }
}

/* Pulse */
@keyframes gsFxPulse {
  0%,100% { opacity: 1;   text-shadow: 0 0  6px rgba(255,68,136,.6); }
  50%     { opacity: .55; text-shadow: 0 0 18px rgba(255,68,136,.9); }
}

/* Nebula */
@keyframes gsFxNebula {
  from { background-position: 0% center; }
  to   { background-position: 400% center; }
}

/* Diamond */
@keyframes gsFxDiamond {
  0%,60%,100% { background-position: 0% center; }
  35%         { background-position: 200% center; }
}

/* Eclipse */
@keyframes gsFxEclipse {
  0%   { filter: drop-shadow(0 0 6px rgba(255,  0,  0,.95)); }
  14%  { filter: drop-shadow(0 0 8px rgba(255,140,  0,.95)); }
  28%  { filter: drop-shadow(0 0 6px rgba(255,255,  0,.95)); }
  42%  { filter: drop-shadow(0 0 8px rgba( 50,255, 50,.95)); }
  57%  { filter: drop-shadow(0 0 6px rgba(  0,150,255,.95)); }
  71%  { filter: drop-shadow(0 0 8px rgba(160,  0,255,.95)); }
  85%  { filter: drop-shadow(0 0 6px rgba(255,  0,180,.95)); }
  100% { filter: drop-shadow(0 0 6px rgba(255,  0,  0,.95)); }
}

/* Aqua */
@keyframes gsFxAqua {
  from { background-position: 0% 100%; }
  to   { background-position: 0% 0%; }
}

/* Toxic */
@keyframes gsFxToxic {
  0%,100% { opacity: 1;   text-shadow: 0 0  6px #39FF14, 0 0 18px #39FF14, 0 0 32px #39FF14; }
  20%     { opacity: .88; text-shadow: 0 0  3px #39FF14; }
  40%     { opacity: 1;   text-shadow: 0 0 12px #39FF14, 0 0 30px #39FF14; }
  60%     { opacity: .72; text-shadow: 0 0  2px #39FF14; }
  80%     { opacity: 1;   text-shadow: 0 0  7px #39FF14, 0 0 20px #39FF14; }
}

/* Encre */
@keyframes gsFxEncre {
  0%,100% { opacity: .92; text-shadow: 0  0px  4px rgba(220,220,255,.45); }
  25%     { opacity: .65; text-shadow: 0 -6px  8px rgba(220,220,255,.70); }
  55%     { opacity: .87; text-shadow: 0 -3px  6px rgba(220,220,255,.40); }
  75%     { opacity: .70; text-shadow: 0 -5px 10px rgba(210,210,255,.60); }
}

/* ════════════════════════════════════════════════════════════════
   GS-FX — EFFETS PSEUDONYME (appliqués par applyProfileNameEffect)
   ════════════════════════════════════════════════════════════════ */

/* — Gradient animé (background-clip:text) — */
.gs-fx-rainbow {
  background: linear-gradient(90deg,#ff0,#0f0,#0ff,#00f,#f0f,#ff0,#ff0) !important;
  background-size: 300% auto !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  animation: gsFxRainbow 3s linear infinite !important;
}

.gs-fx-gold {
  background: linear-gradient(90deg,#b8860b,#ffd700,#fffacd,#ffd700,#b8860b) !important;
  background-size: 200% auto !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  animation: gsFxGold 2.5s linear infinite !important;
}

.gs-fx-silver {
  background: linear-gradient(90deg,#707070,#c0c0c0,#e8e8e8,#c0c0c0,#707070) !important;
  background-size: 200% auto !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  animation: gsFxSilver 3s linear infinite !important;
}

.gs-fx-fire {
  background: linear-gradient(180deg,#fff200 0%,#ff6600 50%,#ff0000 100%) !important;
  background-size: 100% 300% !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  animation: gsFxFire 1.4s ease-in-out infinite alternate !important;
}

.gs-fx-glace {
  background: linear-gradient(135deg,#a8edff,#ffffff,#74d7ff,#c8f4ff,#a8edff) !important;
  background-size: 200% auto !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  animation: gsFxGlace 4s linear infinite !important;
}

.gs-fx-plasma {
  background: linear-gradient(90deg,#ff00cc,#ff6600,#ffff00,#00ff99,#0099ff,#cc00ff,#ff00cc) !important;
  background-size: 300% auto !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  animation: gsFxPlasma 2s linear infinite !important;
}

.gs-fx-nebula {
  background: linear-gradient(90deg,#06001a,#2d0060,#6600cc,#cc00ff,#ff00cc,#6600cc,#2d0060,#06001a) !important;
  background-size: 400% auto !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  animation: gsFxNebula 7s linear infinite !important;
}

.gs-fx-diamond {
  background: linear-gradient(105deg,#555 0%,#aaa 22%,#f0f0f0 40%,#fff 50%,#f0f0f0 60%,#aaa 78%,#555 100%) !important;
  background-size: 400% auto !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  animation: gsFxDiamond 4s ease-in-out infinite !important;
}

.gs-fx-aqua {
  background: linear-gradient(180deg,#80ffff 0%,#00e5ff 25%,#00b4d8 55%,#0077b6 80%,#023e8a 100%) !important;
  background-size: 100% 300% !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  animation: gsFxAqua 2.2s ease-in-out infinite alternate !important;
}

/* — text-shadow / filter (overflow:visible obligatoire) — */
.gs-fx-neon {
  color: #00fff7 !important;
  -webkit-text-fill-color: #00fff7 !important;
  animation: gsFxNeon 1.8s ease-in-out infinite alternate !important;
}

.gs-fx-glitch {
  /* La couleur de base est injectée en inline style par JS */
  animation: gsFxGlitch 2.2s steps(1) infinite !important;
}

.gs-fx-pulse {
  color: #ff4488 !important;
  -webkit-text-fill-color: #ff4488 !important;
  animation: gsFxPulse 1.2s ease-in-out infinite !important;
}

.gs-fx-eclipse {
  color: #d8d8e8 !important;
  -webkit-text-fill-color: #d8d8e8 !important;
  animation: gsFxEclipse 5s linear infinite !important;
}

.gs-fx-toxic {
  color: #39FF14 !important;
  -webkit-text-fill-color: #39FF14 !important;
  animation: gsFxToxic 1.4s ease-in-out infinite !important;
}

.gs-fx-encre {
  color: rgba(210,210,235,.9) !important;
  -webkit-text-fill-color: rgba(210,210,235,.9) !important;
  animation: gsFxEncre 3.2s ease-in-out infinite !important;
}

/* ════════════════════════════════════════════════════════════════
   PREVIEWS DANS LES CHIPS D'EFFET
   Réutilisent les keyframes ci-dessus — pas de doublons.
   ════════════════════════════════════════════════════════════════ */
.effect-chip-preview {
  font-size: 15px; font-weight: 800; line-height: 1;
  display: inline-block;
  overflow: visible;
  padding: 2px 4px; margin: -2px -4px;
}

.effect-preview-none { color: rgba(255,255,255,.7); }

.effect-preview-rainbow {
  background: linear-gradient(90deg,#ff0,#0f0,#0ff,#00f,#f0f,#ff0);
  background-size: 300% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: gsFxRainbow 2s linear infinite;
}
.effect-preview-gold {
  background: linear-gradient(90deg,#b8860b,#ffd700,#fffacd,#ffd700,#b8860b);
  background-size: 200% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: gsFxGold 2s linear infinite;
}
.effect-preview-silver {
  background: linear-gradient(90deg,#707070,#c0c0c0,#e8e8e8,#c0c0c0,#707070);
  background-size: 200% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: gsFxSilver 2.5s linear infinite;
}
.effect-preview-fire {
  background: linear-gradient(180deg,#fff200 0%,#ff6600 50%,#ff0000 100%);
  background-size: 100% 200%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: gsFxFire 1.2s ease-in-out infinite alternate;
}
.effect-preview-neon {
  color: #00fff7; -webkit-text-fill-color: #00fff7;
  animation: gsFxNeon 1.5s ease-in-out infinite alternate;
}
.effect-preview-glace {
  background: linear-gradient(135deg,#a8edff,#ffffff,#74d7ff,#c8f4ff,#a8edff);
  background-size: 200% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: gsFxGlace 3s linear infinite;
}
.effect-preview-plasma {
  background: linear-gradient(90deg,#ff00cc,#ff6600,#ffff00,#00ff99,#0099ff,#cc00ff,#ff00cc);
  background-size: 300% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: gsFxPlasma 1.8s linear infinite;
}
.effect-preview-glitch  { color: #fff; -webkit-text-fill-color: #fff; animation: gsFxGlitch 2.5s steps(1) infinite; }
.effect-preview-pulse   { color: #ff4488; -webkit-text-fill-color: #ff4488; animation: gsFxPulse 1s ease-in-out infinite; }
.effect-preview-nebula {
  background: linear-gradient(90deg,#06001a,#2d0060,#6600cc,#cc00ff,#ff00cc,#6600cc,#2d0060);
  background-size: 400% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: gsFxNebula 7s linear infinite;
}
.effect-preview-diamond {
  background: linear-gradient(105deg,#555,#aaa,#f0f0f0,#fff,#f0f0f0,#aaa,#555);
  background-size: 400% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: gsFxDiamond 4s ease-in-out infinite;
}
.effect-preview-eclipse { color: #d8d8e8; -webkit-text-fill-color: #d8d8e8; animation: gsFxEclipse 5s linear infinite; }
.effect-preview-aqua {
  background: linear-gradient(180deg,#80ffff,#00e5ff,#00b4d8,#0077b6,#023e8a);
  background-size: 100% 300%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: gsFxAqua 2.2s ease-in-out infinite alternate;
}
.effect-preview-toxic   { color: #39FF14; -webkit-text-fill-color: #39FF14; animation: gsFxToxic 1.4s ease-in-out infinite; }
.effect-preview-encre   { color: rgba(210,210,235,.9); -webkit-text-fill-color: rgba(210,210,235,.9); animation: gsFxEncre 3.2s ease-in-out infinite; }

/* ════════════════════════════════════════════════════════════════
   EFFETS DANS LA NAVBAR
   Les spans avec .gs-fx dans les éléments de la navbar héritent
   du comportement overflow:visible via .gs-fx — aucune surcharge
   nécessaire. Cette règle ne sert qu'à forcer display:inline-block
   sur des éléments potentiellement display:block dans certains
   contextes navbar.
   ════════════════════════════════════════════════════════════════ */
.connexion-text.gs-fx,
.cx-profile-active-name.gs-fx,
.cx-profile-other-name.gs-fx {
  display: inline-block !important;
  overflow: visible !important;
  vertical-align: middle;
  padding: 2px 4px;
  margin: -2px -4px;
}

/* ════════════════════════════════════════════════════════════════
   CARTES INVITÉ + AJOUTER
   ════════════════════════════════════════════════════════════════ */
.profile-card.guest-card .profile-avatar           { border: 3px dashed rgba(255,255,255,.2); background: rgba(255,255,255,.04); }
.profile-card.guest-card:hover .profile-avatar     { border-color: rgba(255,255,255,.45); transform: scale(1.07) translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,.6); background: rgba(255,255,255,.07); }
.profile-card.guest-card .profile-name             { color: rgba(255,255,255,.65); }
.profile-card.guest-card:hover .profile-name       { color: rgba(255,255,255,.9); }
.guest-icon                                        { width: 62px; height: 62px; fill: rgba(255,255,255,.35); transition: fill .2s; flex-shrink: 0; }
.profile-card.guest-card:hover .guest-icon         { fill: rgba(255,255,255,.7); }

.profile-card.add-card .profile-avatar             { border: 3px dashed rgba(255,255,255,.22); background: transparent; transition: border-color .2s, transform .25s cubic-bezier(.22,1,.36,1), background .2s; }
.profile-card.add-card:hover .profile-avatar       { border-color: white; background: rgba(255,255,255,.04); transform: scale(1.05) translateY(-3px); }
.add-icon                                          { width: 52px; height: 52px; fill: rgba(255,255,255,.4); transition: fill .2s; }
.profile-card.add-card:hover .add-icon             { fill: white; }
.profile-card.add-card .profile-name               { color: rgba(255,255,255,.4); }
.profile-card.add-card:hover .profile-name         { color: white; }
.profile-card.add-card .profile-hover-overlay,
.profile-card.add-card .active-indicator           { display: none; }

/* ════════════════════════════════════════════════════════════════
   MODE ÉDITION
   ════════════════════════════════════════════════════════════════ */
.profile-card.edit-mode .profile-avatar       { border-color: rgba(255,255,255,.18); }
.profile-card.edit-mode:hover .profile-avatar { border-color: var(--white); transform: scale(1.06); }

/* ════════════════════════════════════════════════════════════════
   FOOTER ÉCRAN 1
   ════════════════════════════════════════════════════════════════ */
.who-footer { display: flex; flex-direction: column; align-items: center; gap: 12px; }

.btn-connexion-ps {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 36px;
  background: var(--red); color: white;
  font-family: 'Work Sans', sans-serif; font-size: 15px; font-weight: 800;
  letter-spacing: .8px; text-transform: uppercase;
  border: none; border-radius: var(--radius); cursor: pointer;
  box-shadow: 0 4px 24px var(--red-glow);
  transition: background .15s, transform .1s, box-shadow .15s;
  animation: btnPop .5s cubic-bezier(.22,1,.36,1) .45s both;
}
@keyframes btnPop {
  from { opacity: 0; transform: scale(.92) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.btn-connexion-ps:hover  { background: #c4070f; box-shadow: 0 6px 32px rgba(229,9,20,.65); }
.btn-connexion-ps:active { transform: scale(.97); }

.no-account-hint { margin-top: 14px; font-size: 13px; color: var(--grey); animation: btnPop .5s cubic-bezier(.22,1,.36,1) .6s both; }
.hint-link       { color: rgba(255,255,255,.7); text-decoration: underline; cursor: pointer; transition: color .15s; }
.hint-link:hover { color: white; }

.btn-manage {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 28px;
  background: transparent; border: 2px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.45);
  font-family: 'Work Sans', sans-serif; font-size: 13px; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase;
  border-radius: var(--radius); cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.btn-manage:hover { border-color: white; color: white; background: rgba(255,255,255,.04); }

/* ════════════════════════════════════════════════════════════════
   ÉCRAN ÉDITION
   ════════════════════════════════════════════════════════════════ */
.edit-header {
  display: flex; align-items: flex-start; gap: 32px;
  background: var(--bg2); border: 1px solid var(--border); border-radius: 12px;
  padding: 28px 32px; margin-bottom: 28px; width: 100%; max-width: 560px;
  backdrop-filter: blur(8px);
}
.edit-avatar-wrap    { display: flex; flex-direction: column; align-items: center; gap: 10px; flex-shrink: 0; }
.edit-avatar         { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: var(--bg3); border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; transition: border-color .2s; }
.edit-avatar:hover   { border-color: rgba(255,255,255,.3); }
.edit-avatar img     { width: 100%; height: 100%; object-fit: cover; }
.edit-avatar-initial { font-size: 34px; font-weight: 900; color: white; }
.edit-avatar-change {
  display: flex; align-items: center; gap: 6px;
  background: none; border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.65);
  font-family: 'Work Sans', sans-serif; font-size: 12px; font-weight: 600;
  padding: 6px 12px; border-radius: 4px; cursor: pointer;
  transition: all .15s; white-space: nowrap;
}
.edit-avatar-change:hover { border-color: white; color: white; }

.edit-fields { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.edit-label  { font-size: 11px; font-weight: 700; color: var(--grey); text-transform: uppercase; letter-spacing: 1px; }
.edit-input {
  width: 100%; padding: 11px 14px;
  background: var(--bg3); border: 1.5px solid var(--border); border-radius: var(--radius);
  color: white; font-family: 'Work Sans', sans-serif; font-size: 16px; font-weight: 600;
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.edit-input:focus        { border-color: rgba(255,255,255,.35); box-shadow: 0 0 0 3px rgba(255,255,255,.05); }
.edit-input::placeholder { color: rgba(255,255,255,.2); }
.edit-input.error        { border-color: var(--red); box-shadow: 0 0 0 3px rgba(229,9,20,.15); }
.edit-hint { font-size: 12px; color: var(--red); min-height: 16px; }

/* Palette couleurs */
.color-picker-row   { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.color-swatch-input {
  -webkit-appearance: none; appearance: none;
  width: 40px; height: 40px; border-radius: 10px;
  border: none; cursor: pointer; padding: 2px; background: none; flex-shrink: 0;
}
.color-swatch-input::-webkit-color-swatch-wrapper { padding: 0; border-radius: 8px; }
.color-swatch-input::-webkit-color-swatch         { border-radius: 8px; border: 1.5px solid rgba(255,255,255,.2); }
.color-presets { display: flex; flex-wrap: wrap; gap: 7px; flex: 1; }
.color-preset {
  width: 28px; height: 28px; border-radius: 50%; cursor: pointer; flex-shrink: 0;
  transition: transform .15s, box-shadow .15s, outline .1s;
  outline: 2px solid transparent; outline-offset: 2px;
}
.color-preset:hover  { transform: scale(1.18); }
.color-preset.active { outline-color: white; transform: scale(1.18); box-shadow: 0 0 0 3px rgba(229,9,20,.35); }
.color-reset {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); border-radius: 8px;
  color: rgba(255,255,255,.5); width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .15s; flex-shrink: 0;
}
.color-reset:hover { background: rgba(255,255,255,.14); color: white; }

/* Chips d'effets */
.effect-picker-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.effect-chip {
  display: flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 10px;
  background: rgba(255,255,255,.06); border: 1.5px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.7); font-size: 12px; font-weight: 600;
  cursor: pointer; font-family: 'Work Sans', sans-serif;
  transition: all .15s; position: relative; user-select: none;
  overflow: visible;
}
.effect-chip:not(.locked):hover { background: rgba(255,255,255,.1); color: white; }
.effect-chip.active  { border-color: var(--red); background: rgba(229,9,20,.15); color: white; box-shadow: 0 0 12px rgba(229,9,20,.2); }
.effect-chip.locked  { opacity: .45; cursor: not-allowed; }
.effect-chip-label   { font-size: 11px; }
.effect-chip-lock    { font-size: 10px; margin-left: 2px; }

/* Actions édition */
.edit-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; max-width: 560px; }
.btn-save {
  width: 100%; padding: 14px; background: var(--red); color: white;
  font-family: 'Work Sans', sans-serif; font-size: 16px; font-weight: 800;
  border: none; border-radius: var(--radius); cursor: pointer;
  transition: background .15s, transform .1s, box-shadow .15s;
  box-shadow: 0 4px 20px var(--red-glow);
}
.btn-save:hover  { background: #c4070f; box-shadow: 0 6px 28px rgba(229,9,20,.6); }
.btn-save:active { transform: scale(.98); }
.btn-cancel       { background: transparent; border: none; color: var(--grey); font-family: 'Work Sans', sans-serif; font-size: 14px; font-weight: 600; cursor: pointer; padding: 8px 16px; transition: color .15s; }
.btn-cancel:hover { color: white; }
.btn-delete       { background: transparent; border: none; color: rgba(229,9,20,.55); font-family: 'Work Sans', sans-serif; font-size: 13px; font-weight: 600; cursor: pointer; padding: 8px 16px; transition: color .15s; }
.btn-delete:hover { color: var(--red); }
.btn-delete.hidden { display: none !important; }

/* ════════════════════════════════════════════════════════════════
   ÉCRAN AVATAR
   ════════════════════════════════════════════════════════════════ */
#screenAvatar { justify-content: flex-start; padding-top: 100px; }
.avatar-controls { width: 100%; max-width: 960px; margin-bottom: 20px; }
.platform-tabs   { display: flex; gap: 8px; flex-wrap: wrap; }
.tab {
  padding: 7px 18px; border-radius: 100px; font-size: 13px; font-weight: 700;
  cursor: pointer; border: 1.5px solid var(--border); background: transparent;
  color: var(--grey); font-family: 'Work Sans', sans-serif;
  transition: all .15s; white-space: nowrap;
}
.tab:hover  { border-color: rgba(255,255,255,.3); color: white; }
.tab.active { background: var(--red); border-color: var(--red); color: white; }

.avatar-scroll { width: 100%; max-width: 960px; overflow-y: auto; max-height: calc(100vh - 260px); padding-right: 4px; }
.cat-section   { margin-bottom: 32px; }
.cat-title     { font-size: 11px; font-weight: 700; color: var(--grey); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.avatar-grid   { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px,1fr)); gap: 14px; }
.av-item         { display: flex; flex-direction: column; align-items: center; gap: 7px; cursor: pointer; padding: 6px; border-radius: 10px; border: 2px solid transparent; transition: background .15s, border-color .15s; }
.av-item:hover   { background: rgba(255,255,255,.05); }
.av-item.selected { border-color: rgba(229,9,20,.4); background: rgba(229,9,20,.08); }
.av-thumb        { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; border: 2.5px solid transparent; background: var(--bg3); display: flex; align-items: center; justify-content: center; position: relative; transition: border-color .15s, transform .15s, box-shadow .15s; }
.av-thumb img    { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.av-item:hover .av-thumb    { border-color: rgba(255,255,255,.5); transform: scale(1.07); }
.av-item.selected .av-thumb { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-dim), 0 0 14px var(--red-glow); }
.av-check        { position: absolute; inset: 0; background: rgba(229,9,20,.55); border-radius: 50%; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .15s; }
.av-item.selected .av-check { opacity: 1; }
.av-check svg    { width: 26px; height: 26px; fill: white; }
.av-name         { font-size: 10px; color: var(--grey); text-align: center; max-width: 72px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .15s; }
.av-item:hover .av-name, .av-item.selected .av-name { color: white; }
.avatar-footer   { width: 100%; max-width: 960px; display: flex; justify-content: center; padding-top: 16px; }

/* Loader / état vide */
.loader  { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 60px 0; color: var(--grey); font-size: 14px; }
.spinner { width: 32px; height: 32px; border: 3px solid var(--border); border-top-color: var(--red); border-radius: 50%; animation: spin .75s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty-msg { text-align: center; padding: 48px 0; color: var(--grey); font-size: 15px; line-height: 1.8; }
.av-empty  { text-align: center; padding: 48px 0; color: var(--grey); font-size: 15px; }

/* Barre recherche avatars */
.avatar-search-bar { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 10px 14px; margin-bottom: 16px; width: 100%; max-width: 600px; }
.avatar-search-bar svg { color: rgba(255,255,255,.35); flex-shrink: 0; }
.avatar-search-input-screen { flex: 1; background: transparent; border: none; outline: none; color: white; font-family: 'Work Sans', sans-serif; font-size: 14px; font-weight: 500; caret-color: var(--red); }
.avatar-search-input-screen::placeholder { color: rgba(255,255,255,.3); }
.avatar-search-clear-screen { background: rgba(255,255,255,.08); border: none; color: rgba(255,255,255,.5); width: 24px; height: 24px; border-radius: 6px; cursor: pointer; font-size: 12px; display: flex; align-items: center; justify-content: center; transition: background .14s; }
.avatar-search-clear-screen:hover { background: rgba(229,9,20,.2); color: white; }

/* ════════════════════════════════════════════════════════════════
   MODAL SUPPRESSION
   ════════════════════════════════════════════════════════════════ */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.78); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; z-index: 999; animation: fadeIn .2s ease; }
.modal-overlay.hidden { display: none !important; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-box { background: var(--bg2); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 36px 40px; text-align: center; max-width: 360px; width: 90%; box-shadow: 0 24px 64px rgba(0,0,0,.8); animation: modalReveal .3s cubic-bezier(.22,1,.36,1) both; }
@keyframes modalReveal { from { opacity: 0; transform: scale(.9) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.modal-title { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.modal-sub   { font-size: 14px; color: var(--grey); margin-bottom: 28px; }
.modal-actions { display: flex; flex-direction: column; gap: 10px; }
.btn-delete-confirm       { padding: 12px; background: var(--red); color: white; font-family: 'Work Sans', sans-serif; font-size: 15px; font-weight: 800; border: none; border-radius: var(--radius); cursor: pointer; transition: background .15s; }
.btn-delete-confirm:hover { background: #c4070f; }

/* ════════════════════════════════════════════════════════════════
   TOAST
   ════════════════════════════════════════════════════════════════ */
.toast {
  position: fixed; bottom: 32px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(20,20,20,.95); border: 1px solid rgba(255,255,255,.12);
  color: white; font-size: 13px; font-weight: 600;
  padding: 10px 22px; border-radius: 100px;
  box-shadow: 0 8px 32px rgba(0,0,0,.5); backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .3s, transform .3s;
  z-index: 9999; pointer-events: none; white-space: nowrap;
}
.toast.visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ════════════════════════════════════════════════════════════════
   MODAL CONNEXION
   ════════════════════════════════════════════════════════════════ */
.ps-login-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); z-index: 8000; display: flex; align-items: center; justify-content: center; animation: fadeIn .2s ease; }
.ps-login-overlay.hidden { display: none !important; }
.ps-login-modal  { position: relative; background: #1e1f22; border: 1px solid rgba(255,255,255,.09); border-radius: 18px; padding: 36px 32px 32px; width: 100%; max-width: 360px; box-shadow: 0 32px 80px rgba(0,0,0,.9); animation: psModalIn .25s cubic-bezier(.34,1.56,.64,1); }
@keyframes psModalIn { from { opacity: 0; transform: scale(.88) translateY(16px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.ps-login-close  { position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.5); font-size: 15px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .15s, color .15s; }
.ps-login-close:hover { background: rgba(255,255,255,.14); color: white; }
.ps-login-logo  { font-family: 'Bebas Neue', cursive; font-size: 22px; letter-spacing: 3px; color: #e50914; text-align: center; margin-bottom: 4px; }
.ps-login-title { font-size: 20px; font-weight: 800; color: white; text-align: center; margin-bottom: 6px; }
.ps-login-desc  { font-size: 13px; color: rgba(255,255,255,.45); text-align: center; line-height: 1.5; margin-bottom: 22px; }
.ps-login-body  { display: flex; flex-direction: column; gap: 8px; }
.ps-cx-btn       { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 16px; border: none; border-radius: 10px; font-size: 14px; font-weight: 700; font-family: 'Work Sans', sans-serif; cursor: pointer; color: white; transition: filter .15s, transform .12s; }
.ps-cx-btn:hover  { filter: brightness(1.12); transform: translateY(-1px); }
.ps-cx-btn:active { transform: translateY(0); }
.ps-cx-discord       { background: #5865F2; }
.ps-cx-google        { background: #ffffff; color: #1f1f1f; }
.ps-cx-secret        { background: #2d6a4f; }
.ps-cx-secret-submit { background: #2d6a4f; margin-top: 2px; }
.ps-secret-form { display: flex; flex-direction: column; gap: 8px; margin-top: 2px; }
.ps-secret-form.hidden { display: none !important; }
.ps-secret-input-wrap { position: relative; }
.ps-secret-input { width: 100%; padding: 11px 40px 11px 14px; background: rgba(255,255,255,.06); border: 1.5px solid rgba(255,255,255,.1); border-radius: 9px; color: white; font-size: 13px; font-family: 'Work Sans', sans-serif; outline: none; transition: border-color .2s; }
.ps-secret-input::placeholder { color: rgba(255,255,255,.3); }
.ps-secret-input:focus  { border-color: rgba(229,9,20,.6); }
.ps-secret-eye { position: absolute; top: 50%; right: 10px; transform: translateY(-50%); background: transparent; border: none; color: rgba(255,255,255,.4); cursor: pointer; padding: 4px; display: flex; align-items: center; transition: color .2s; }
.ps-secret-eye:hover { color: rgba(255,255,255,.8); }
.ps-login-alert { padding: 9px 12px; border-radius: 8px; font-size: 12px; font-weight: 600; text-align: center; background: rgba(255,69,58,.12); color: #ff453a; border: 1px solid rgba(255,69,58,.25); }
.ps-login-alert.hidden  { display: none !important; }
.ps-login-alert.success { background: rgba(52,211,153,.12); color: #34d399; border-color: rgba(52,211,153,.3); }

/* ════════════════════════════════════════════════════════════════
   SCROLLBARS
   ════════════════════════════════════════════════════════════════ */
::-webkit-scrollbar             { width: 5px; height: 5px; background: transparent; }
::-webkit-scrollbar-track       { background: transparent; }
::-webkit-scrollbar-thumb       { background: rgba(255,255,255,.18); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.35); }
*                               { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent; }

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 600px) {
  :root { --avatar-size: 100px; }
  .site-logo      { left: 20px; top: 20px; font-size: 26px; }
  .screen         { padding: 70px 16px 48px; }
  .screen-header  { margin-bottom: 32px; }
  .profiles-grid  { gap: 20px; }
  .edit-header    { flex-direction: column; align-items: center; padding: 20px; }
  .edit-fields    { width: 100%; }
  .avatar-scroll  { max-height: calc(100vh - 280px); }
  .avatar-grid    { grid-template-columns: repeat(auto-fill, minmax(68px,1fr)); gap: 10px; }
  .active-indicator { width: 16px; height: 16px; bottom: 4px; right: 4px; }
  .effect-picker-row { gap: 6px; }
  .effect-chip    { padding: 6px 10px; font-size: 11px; }
  .toast          { font-size: 12px; padding: 8px 18px; bottom: 20px; }
  .gs-fx          { padding: 2px 4px; margin: -2px -4px; }
}
/* ════════════════════════════════════════════════════════════════
   KEYFRAMES ANIMATIONS PSEUDONYME
   Miroir de main.css — nécessaires car main.css n'est pas chargé
   sur la page profile-selection.
   ════════════════════════════════════════════════════════════════ */

@keyframes effectRainbow {
    from { background-position: 300% center; }
    to   { background-position: 0% center; }
}

@keyframes effectShimmer {
    from { background-position: 200% center; }
    to   { background-position: 0% center; }
}

@keyframes effectFirePos {
    from { background-position: 0% 100%; }
    to   { background-position: 0% 0%; }
}

@keyframes effectNeon {
    from { text-shadow: 0 0 8px #00fff7, 0 0 20px #00fff7; opacity: 1; }
    to   { text-shadow: 0 0 4px #00fff7, 0 0 40px #00fff7, 0 0 70px #00aaf7; opacity: 0.88; }
}

@keyframes effectGlace {
    from { background-position: 200% center; }
    to   { background-position: 0% center; }
}

@keyframes effectPlasma {
    from { background-position: 300% center; }
    to   { background-position: 0% center; }
}

@keyframes effectGlitch {
    0%,  88%, 100% { text-shadow: none; transform: none; }
    90%            { text-shadow: -2px 0 #ff0040, 2px 0 #00ffff; transform: skewX(-6deg) translateX(-1px); }
    92%            { text-shadow:  2px 0 #ff0040,-2px 0 #00ffff; transform: skewX( 4deg) translateX( 1px); }
    94%            { text-shadow: -1px 0 #ff0040, 1px 0 #00ffff; transform: translateX(2px); }
    96%            { text-shadow: none; transform: none; }
}

@keyframes effectPulse {
    0%,  100% { opacity: 1;    text-shadow: 0 0  6px rgba(255,68,136,0.6); }
    50%       { opacity: 0.55; text-shadow: 0 0 18px rgba(255,68,136,0.9); }
}

@keyframes effectNebula {
    from { background-position: 400% center; }
    to   { background-position: 0% center; }
}

@keyframes effectDiamond {
    0%,  60%, 100% { background-position: 200% center; }
    35%            { background-position: 0% center; }
}

@keyframes effectEclipse {
    0%   { filter: drop-shadow(0 0 6px rgba(255,  0,  0,0.95)); }
    14%  { filter: drop-shadow(0 0 8px rgba(255,140,  0,0.95)); }
    28%  { filter: drop-shadow(0 0 6px rgba(255,255,  0,0.95)); }
    42%  { filter: drop-shadow(0 0 8px rgba( 50,255, 50,0.95)); }
    57%  { filter: drop-shadow(0 0 6px rgba(  0,150,255,0.95)); }
    71%  { filter: drop-shadow(0 0 8px rgba(160,  0,255,0.95)); }
    85%  { filter: drop-shadow(0 0 6px rgba(255,  0,180,0.95)); }
    100% { filter: drop-shadow(0 0 6px rgba(255,  0,  0,0.95)); }
}

@keyframes effectAqua {
    from { background-position: 0% 100%; }
    to   { background-position: 0% 0%; }
}

@keyframes effectToxic {
    0%,  100% { opacity: 1;    text-shadow: 0 0  6px #39FF14, 0 0 18px #39FF14, 0 0 32px #39FF14; }
    20%       { opacity: 0.88; text-shadow: 0 0  3px #39FF14; }
    40%       { opacity: 1;    text-shadow: 0 0 12px #39FF14, 0 0 30px #39FF14; }
    60%       { opacity: 0.72; text-shadow: 0 0  2px #39FF14; }
    80%       { opacity: 1;    text-shadow: 0 0  7px #39FF14, 0 0 20px #39FF14; }
}

@keyframes effectEncre {
    0%,  100% { opacity: 0.92; text-shadow: 0  0   4px rgba(220,220,255,0.45); }
    25%       { opacity: 0.65; text-shadow: 0 -6px  8px rgba(220,220,255,0.70); }
    55%       { opacity: 0.87; text-shadow: 0 -3px  6px rgba(220,220,255,0.40); }
    75%       { opacity: 0.70; text-shadow: 0 -5px 10px rgba(210,210,255,0.60); }
}