/*
 * HockAI Banquier IA — ARENA IMPACT V3.2
 * Retouche VISUELLE de l'accueil, compatible FOCUS V2 / AURORA V3 / NHL ARENA V3.1.
 * Aucun changement de DOM, de navigation, de calcul, de pari ou de requête Supabase.
 * Charge APRES hockai-banquier-nhl-arena-v3-1.css.
 */

/* Ambiance de patinoire : éclairages diffus derrière la vue d'accueil uniquement. */
#tab-banquier.hf-focus .mc-cockpit {
  position:relative;
  isolation:isolate;
  border-radius:20px;
  background-image:
    radial-gradient(ellipse 78% 23% at 84% 0%,rgba(47,166,239,.18),transparent 83%),
    radial-gradient(ellipse 56% 30% at 0% 23%,rgba(25,211,218,.13),transparent 80%),
    radial-gradient(ellipse 64% 32% at 97% 64%,rgba(113,96,225,.09),transparent 82%),
    url('../assets/hockai-arena-lights-v3-2.svg'),
    linear-gradient(180deg,rgba(4,19,37,.22),rgba(5,17,32,0) 540px);
  background-position:center top,center top,center,center top,center top;
  background-repeat:no-repeat;
  background-size:auto,auto,auto,min(1300px,125vw) auto,auto;
}

/* Accueil : vrai point d'entrée de l'arène, sans ajouter de contenu. */
#tab-banquier.hf-focus .mc-cockpit > .hf-welcome {
  overflow:hidden;
  border:1px solid rgba(116,208,240,.42);
  background:
    radial-gradient(ellipse 58% 140% at 100% 2%,rgba(81,137,255,.25),transparent 83%),
    radial-gradient(ellipse 72% 100% at 5% 115%,rgba(20,191,212,.17),transparent 83%),
    linear-gradient(117deg,rgba(10,50,73,.96),rgba(11,31,62,.97) 61%,rgba(25,27,67,.96));
  box-shadow:
    0 13px 34px rgba(0,8,24,.23),
    inset 0 1px 0 rgba(213,250,255,.10);
}
#tab-banquier.hf-focus .mc-cockpit > .hf-welcome::before {
  width:4px;
  background:linear-gradient(180deg,#8ef8f4 3%,#47aefa 53%,#a495f3);
  box-shadow:2px 0 19px rgba(46,189,238,.34);
}
#tab-banquier.hf-focus .mc-cockpit > .hf-welcome::after {
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.55;
  background:
    linear-gradient(125deg,transparent 18%,rgba(196,234,255,.042) 19%,transparent 20%),
    linear-gradient(125deg,transparent 72%,rgba(196,234,255,.042) 73%,transparent 74%);
}
#tab-banquier.hf-focus .mc-cockpit > .hf-welcome .hf-welcome-text,
#tab-banquier.hf-focus .mc-cockpit > .hf-welcome .hf-wallet-button {position:relative;z-index:1}
#tab-banquier.hf-focus .mc-cockpit > .hf-welcome h1 {
  color:#f7fdff;
  text-shadow:0 2px 18px rgba(23,133,207,.23);
}
#tab-banquier.hf-focus .mc-cockpit > .hf-welcome p{color:#d1e4f3}
#tab-banquier.hf-focus .mc-cockpit > .hf-welcome .hf-kicker{color:#91f4f2}
#tab-banquier.hf-focus .mc-cockpit > .hf-welcome .hf-wallet-button {
  border-color:rgba(142,238,250,.53);
  background:linear-gradient(108deg,#185578,#21417e);
  color:#f4fdff;
  box-shadow:inset 0 1px 0 rgba(216,252,255,.12),0 5px 18px rgba(4,15,31,.21);
}
#tab-banquier.hf-focus .mc-cockpit > .hf-welcome .hf-wallet-button:is(:hover,:focus-visible) {
  filter:brightness(1.1);
}

/* Deux cartes financières : contraste et hiérarchie nette, sans variation de taille. */
#tab-banquier.hf-focus .mc-cockpit > .mc-metrics > .mc-kpi {
  position:relative;
  border-color:rgba(114,189,240,.55);
  background:
    radial-gradient(ellipse 85% 95% at 100% 0%,rgba(92,164,255,.17),transparent 83%),
    linear-gradient(125deg,#152f53,#0b233d 78%);
  box-shadow:
    inset 0 1px 0 rgba(229,249,255,.12),
    0 11px 27px rgba(0,8,24,.23)!important;
}
#tab-banquier.hf-focus .mc-cockpit > .mc-metrics > .mc-kpi-primary {
  border-color:rgba(106,238,236,.72);
  background:
    radial-gradient(ellipse 90% 108% at 100% 0%,rgba(46,220,229,.23),transparent 81%),
    linear-gradient(128deg,#114d5d,#0b2f48 75%,#102b4e);
  box-shadow:
    inset 0 1px 0 rgba(231,255,253,.17),
    0 11px 28px rgba(1,36,54,.26)!important;
}
#tab-banquier.hf-focus .mc-cockpit > .mc-metrics > .mc-kpi::after {
  content:"";
  position:absolute;
  left:12px;right:12px;top:0;height:2px;
  border-radius:0 0 5px 5px;
  pointer-events:none;
  background:linear-gradient(90deg,rgba(108,164,245,.80),rgba(108,164,245,0));
}
#tab-banquier.hf-focus .mc-cockpit > .mc-metrics > .mc-kpi-primary::after {
  background:linear-gradient(90deg,rgba(110,249,243,.95),rgba(104,194,252,.08));
}
#tab-banquier.hf-focus .mc-cockpit > .mc-metrics .mc-kpi-top {color:#d5e8f6!important}
#tab-banquier.hf-focus .mc-cockpit > .mc-metrics .mc-kpi strong {
  color:#fff;
  text-shadow:0 2px 13px rgba(0,8,28,.35);
}
#tab-banquier.hf-focus .mc-cockpit > .mc-metrics .mc-kpi small {color:#bad9ea!important}

/* Les accès existants gagnent en profondeur, pas en quantité. */
#tab-banquier.hf-focus .mc-cockpit .hf-actions-grid > .hf-action {
  border-color:rgba(135,190,236,.47);
  box-shadow:inset 0 1px 0 rgba(245,255,255,.06),0 6px 21px rgba(0,9,23,.14);
}
#tab-banquier.hf-focus .mc-cockpit .hf-actions-grid > .hf-action:nth-child(1) {
  background:linear-gradient(112deg,rgba(68,42,103,.92),rgba(20,34,64,.98));
  border-color:rgba(174,132,241,.46);
}
#tab-banquier.hf-focus .mc-cockpit .hf-actions-grid > .hf-action:nth-child(2) {
  background:linear-gradient(112deg,rgba(15,62,100,.95),rgba(12,33,63,.98));
  border-color:rgba(97,178,248,.46);
}
#tab-banquier.hf-focus .mc-cockpit .hf-actions-grid > .hf-action:nth-child(3) {
  background:linear-gradient(112deg,rgba(74,61,52,.82),rgba(18,38,62,.99));
  border-color:rgba(245,194,108,.39);
}
#tab-banquier.hf-focus .mc-cockpit .hf-actions-grid > .hf-action .hf-action-copy strong{color:#fff}
#tab-banquier.hf-focus .mc-cockpit .hf-extra-stats {
  border-color:rgba(141,146,236,.40);
  background:linear-gradient(120deg,rgba(39,36,83,.82),rgba(10,35,61,.93));
}

/* Ne pas transformer les survols en animations distrayantes. */
@media(max-width:767px){
  #tab-banquier.hf-focus .mc-cockpit {
    background-image:
      radial-gradient(ellipse 110% 22% at 90% 0%,rgba(39,145,232,.19),transparent 83%),
      radial-gradient(ellipse 85% 36% at 0% 27%,rgba(25,204,218,.11),transparent 85%),
      url('../assets/hockai-arena-lights-v3-2.svg');
    background-size:auto,auto,850px auto;
    background-position:center top,center,center top;
  }
  #tab-banquier.hf-focus .mc-cockpit > .hf-welcome {
    box-shadow:inset 0 1px 0 rgba(213,250,255,.10),0 9px 23px rgba(0,8,24,.20);
  }
  #tab-banquier.hf-focus .mc-cockpit > .mc-metrics > .mc-kpi {
    box-shadow:inset 0 1px 0 rgba(229,249,255,.12),0 6px 17px rgba(0,8,24,.19)!important;
  }
}
@media(prefers-reduced-motion:reduce){
  #tab-banquier.hf-focus .mc-cockpit .hf-wallet-button{transition:none!important}
}
