/* ============================================================
   CoinsBase — style9 : écran de chargement façon Stake,
   connexion sans défilement, plus de colonne de paris.
   Les seules animations restantes sont légères (transform / opacity).
   ============================================================ */

/* ---------- Plus de colonne « En direct » : 2 colonnes seulement ---------- */
@media (min-width: 981px) {
  .shell.v3 { grid-template-columns: var(--rail) minmax(0, 1fr) !important; }
}

/* ---------- Écran de chargement ---------- */
#splash { background: var(--bg) !important; gap: 0 !important; transform: none !important; }
#splash.gone { opacity: 0; transform: none !important; transition: opacity .35s ease !important; }
.sp-mark { position: relative; padding: 10px 18px 18px; }
.sp-word {
  position: relative; font-family: var(--display); font-weight: 800; font-size: 40px; letter-spacing: -.045em; line-height: 1;
  color: color-mix(in srgb, var(--text) 22%, var(--bg));
}
/* reflet qui traverse le nom */
.sp-word::after {
  content: attr(data-t); position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 0 40%, var(--gold1, #f6dc94) 47%, #fff 50%, var(--accent) 53%, transparent 60% 100%);
  background-size: 260% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: spShine 2.2s cubic-bezier(.45, 0, .2, 1) infinite;
}
@keyframes spShine { 0% { background-position: 100% 0; } 60%, 100% { background-position: 0% 0; } }
/* trait qui se dessine sous le nom */
.sp-swoosh { position: absolute; left: 4px; right: 4px; bottom: -2px; width: calc(100% - 8px); height: 22px; overflow: visible; }
.sp-swoosh path { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100;
  filter: drop-shadow(0 0 6px color-mix(in srgb, var(--accent) 60%, transparent)); animation: spDraw 2.2s cubic-bezier(.6, 0, .3, 1) infinite; }
@keyframes spDraw { 0% { stroke-dashoffset: 100; opacity: 1; } 45% { stroke-dashoffset: 0; opacity: 1; } 70%, 100% { stroke-dashoffset: -100; opacity: 0; } }
/* petites étoiles */
.sp-star { position: absolute; width: 10px; height: 10px; opacity: 0; transform: scale(.3);
  background: #fff; clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  animation: spStar 2.2s ease-in-out infinite; }
.sp-star.s1 { left: 2px; top: 0; animation-delay: .1s; }
.sp-star.s2 { right: 0; top: -4px; width: 13px; height: 13px; animation-delay: .9s; }
.sp-star.s3 { left: 46%; bottom: -10px; width: 7px; height: 7px; animation-delay: 1.5s; }
@keyframes spStar { 0%, 100% { opacity: 0; transform: scale(.3) rotate(0deg); } 30% { opacity: 1; transform: scale(1) rotate(45deg); } 55% { opacity: 0; transform: scale(.4) rotate(90deg); } }
#splash .sp-tip { position: absolute; bottom: 40px; left: 0; right: 0; margin: auto; }
@media (max-width: 600px) { .sp-word { font-size: 32px; } }
html.reduce .sp-word::after, html.reduce .sp-swoosh path, html.reduce .sp-star { animation: none; }

/* ---------- Connexion : fond fixe, rien ne bouge ---------- */
.a2-art { display: none !important; }
.a2-glow { position: fixed; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 500px at 75% 15%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%),
    radial-gradient(700px 500px at 10% 100%, color-mix(in srgb, var(--accent2) 8%, transparent), transparent 70%); }
.a2-inner { animation: a2In .5s cubic-bezier(.2, .8, .2, 1) backwards; }
@keyframes a2In { from { opacity: 0; transform: translateY(10px); } }
@media (max-width: 900px) { .a2-copy { padding-top: 56px !important; } }

/* ---------- Bannière « Jeu à la une » : simple fondu, sans effet d'entrée ---------- */
.ft-slide.in .ft-art { animation: none !important; }
.ft-slide { transition: opacity .8s ease !important; }
