/* H2B V66 — infos pages fiables + optimisation fluidité */

/* Même calligraphie que le site H2B : Kanit via --display-font. */
.h2b-page-info-item,
.h2b-info-preview-item{
  font-family:var(--display-font,"Kanit",Inter,system-ui,sans-serif)!important;
  font-weight:900!important;
  font-style:italic;
  letter-spacing:-.025em!important;
}

/* Optimisation principale :
   les nombreux backdrop-filter appliqués aux cartes/bandes rendaient le scroll
   coûteux, surtout sur Android. La transparence reste, le flou GPU disparaît. */
.topbar,
.tabs,
.section-tabs,
.admin-section-tabs,
.member-section-tabs,
.card,
.auth-card,
.panel,
.stat-card,
.profile-card,
.dues-card,
.registration-group,
.public-registration-info,
.local-seo-summary,
.public-visitor-counter,
.home-upcoming-box,
.home-attendance-box,
.leaderboard-card,
.competition-event-card,
.document-card,
.family-existing-item,
.member-family-item,
.subform-box,
.free-trial-admin-panel,
.free-trial-request-card,
.shop-product-card,
.shop-order-card,
.shop-size-admin-box,
.shop-bank-info,
.shop-preorder-notice,
.v62-athlete-card,
.branding-preview-content,
.login-intro-mark,
.h2b-smart-member-suggestions,
.member-profile-shop-shortcut{
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}

/* Garde l'effet de profondeur sans blur coûteux. */
.topbar{background:rgba(6,10,17,.91)!important}
.section-tabs,.admin-section-tabs,.member-section-tabs,.tabs{background:rgba(5,10,16,.78)!important}
.card,.panel,.profile-card,.stat-card,.dues-card{
  background:linear-gradient(180deg,rgba(12,17,23,.84),rgba(4,7,11,.78))!important;
}

/* Les gros halos fixes deviennent des gradients sans filtre blur. */
.bg-glow{
  filter:none!important;
  opacity:1!important;
  pointer-events:none!important;
}
.glow-one{
  background:radial-gradient(circle at center,rgba(0,119,255,.12) 0,rgba(0,119,255,.045) 42%,transparent 72%)!important;
}
.glow-two{
  background:radial-gradient(circle at center,rgba(0,166,255,.10) 0,rgba(0,166,255,.04) 42%,transparent 72%)!important;
}

/* Aide au navigateur sur les longues pages. */
.competition-card,
.upcoming-item,
.tracking-item,
.attendance-member-row,
.leaderboard-row,
.notification-row,
.v62-athlete-card,
.v62-result-row,
.shop-product-card,
.shop-order-card{
  contain:layout paint style;
}

/* Conserve les fondus médias sur téléphone, tablette et PC. */
.h2b-page-background-item,
.h2b-bg-preview-media,
.site-watermark,
.auth-hero .brand-logo-large,
.login-intro>img,
.club-photo img,
.club-photo-video-player,
.fighter-profile-bg-video,
.fighter-profile-bg-video-club,
.fighter-video-screensaver video,
.ondemand-thumb img,
.ondemand-player-stage>img:not(.ondemand-watermark),
.ondemand-player-stage>video,
.shop-product-media img,
.shop-product-card-image img,
.shop-modal-images img,
.shop-admin-product-thumb img,
.shop-existing-photo-preview img,
.shop-image-admin-item img,
.hero-photo-video img,
.hero-photo-video video{
  -webkit-mask-image:radial-gradient(ellipse at center,#000 0,#000 58%,rgba(0,0,0,.92) 67%,rgba(0,0,0,.55) 76%,transparent 100%)!important;
  mask-image:radial-gradient(ellipse at center,#000 0,#000 58%,rgba(0,0,0,.92) 67%,rgba(0,0,0,.55) 76%,transparent 100%)!important;
  -webkit-mask-repeat:no-repeat!important;
  mask-repeat:no-repeat!important;
  -webkit-mask-size:100% 100%!important;
  mask-size:100% 100%!important;
}

/* Drag texte fluide en continu. */
.h2b-info-preview-item{
  touch-action:none!important;
  cursor:grab;
  user-select:none;
  -webkit-user-select:none;
  will-change:left,top;
}
.h2b-info-preview-item.is-dragging{cursor:grabbing}
html.h2b-info-dragging,
html.h2b-info-dragging body{
  overscroll-behavior:none!important;
  user-select:none!important;
  -webkit-user-select:none!important;
}

/* Ne pas surcharger les petits écrans. */
@media(max-width:1024px){
  .member-profile-shop-shortcut{box-shadow:0 8px 20px rgba(0,0,0,.16)!important}
}
