
/* ==========================================================================
   V6.17 — IDENTITÉ VISUELLE UNIFIÉE : NEWS + MENU
   Réutilise volontairement les quatre angles PNG Base64 existants.
   Les futures NEWS doivent conserver ce langage visuel.
   ========================================================================== */
:root{
  --sb-menu-space-panel:
    var(--sb-corner-tl) left top/68px 68px no-repeat,
    var(--sb-corner-tr) right top/68px 68px no-repeat,
    var(--sb-corner-bl) left bottom/68px 68px no-repeat,
    var(--sb-corner-br) right bottom/68px 68px no-repeat,
    linear-gradient(180deg,rgba(7,25,61,.87),rgba(1,8,27,.91));
}

/* NEWS : même cadre spatial que Compte joueur, aucun nouveau skin indépendant. */
#news.news-screen{
  padding:max(10px,env(safe-area-inset-top)) 10px max(10px,env(safe-area-inset-bottom))!important;
  background:radial-gradient(circle at 50% 15%,rgba(40,144,219,.17),transparent 42%),rgba(0,2,11,.88)!important;
  backdrop-filter:blur(3px);
}
#news .news-panel{
  position:relative;width:min(830px,95vw)!important;max-height:calc(100dvh - 20px)!important;
  padding:24px 26px 22px!important;overflow:auto!important;scrollbar-width:none;
  border:1px solid rgba(82,228,255,.45)!important;border-radius:0!important;
  background:var(--sb-space-panel)!important;
  box-shadow:0 0 0 3px rgba(3,27,69,.92),0 18px 60px rgba(0,0,0,.68),0 0 38px rgba(44,173,255,.18),inset 0 0 0 2px rgba(46,143,220,.10)!important;
  clip-path:polygon(15px 0,calc(100% - 15px) 0,100% 15px,100% calc(100% - 15px),calc(100% - 15px) 100%,15px 100%,0 calc(100% - 15px),0 15px)!important;
}
#news .news-panel::-webkit-scrollbar{display:none}
#news .news-panel::after{content:"";position:absolute;inset:12px;pointer-events:none;border:1px solid rgba(91,219,255,.14);clip-path:polygon(10px 0,calc(100% - 10px) 0,100% 10px,100% calc(100% - 10px),calc(100% - 10px) 100%,10px 100%,0 calc(100% - 10px),0 10px)}
#news .news-head{position:relative;z-index:2;padding:2px 2px 15px!important;border-bottom:2px solid rgba(76,205,255,.2)!important}
#news .news-head .eyebrow{color:#63f3ff!important;font:900 10px/1 "Courier New",monospace!important;letter-spacing:.18em!important}
#news .news-head h2{color:#fff!important;text-shadow:3px 3px 0 #123e78,0 0 18px rgba(99,243,255,.18)!important}
#news .news-version-badge{
  min-width:82px;padding:10px 13px!important;border:2px solid #63f3ff!important;border-radius:0!important;
  background:linear-gradient(180deg,rgba(15,81,126,.92),rgba(4,29,67,.96))!important;color:#e9fdff!important;
  box-shadow:inset 0 0 0 2px rgba(5,34,75,.85),0 0 16px rgba(99,243,255,.18)!important;
  clip-path:polygon(8px 0,calc(100% - 8px) 0,100% 8px,100% calc(100% - 8px),calc(100% - 8px) 100%,8px 100%,0 calc(100% - 8px),0 8px)!important;
}
#news .news-items{position:relative;z-index:2;gap:10px!important;margin:18px 0!important}
#news .news-item{
  position:relative;grid-template-columns:24px minmax(0,1fr)!important;gap:10px!important;padding:13px 14px!important;
  border:2px solid rgba(47,132,194,.72)!important;border-radius:0!important;
  background:linear-gradient(155deg,rgba(9,36,78,.88),rgba(3,16,43,.93))!important;
  box-shadow:inset 0 0 0 2px rgba(4,31,67,.8),0 0 14px rgba(38,135,210,.08)!important;
  clip-path:polygon(9px 0,calc(100% - 9px) 0,100% 9px,100% calc(100% - 9px),calc(100% - 9px) 100%,9px 100%,0 calc(100% - 9px),0 9px)!important;
  color:#dbeaf8!important;font-family:"Courier New",ui-monospace,monospace!important;
}
#news .news-item>i{display:grid;place-items:center;width:20px;height:20px;color:#63f3ff!important;border:1px solid rgba(99,243,255,.4);background:rgba(99,243,255,.06);font-size:0}
#news .news-item>i::after{content:"✦";font-size:11px}
#news .news-item strong{color:#fff!important;text-transform:uppercase;letter-spacing:.025em}
#news .news-note{position:relative;z-index:2;border:1px solid rgba(157,124,255,.24)!important;border-left:3px solid #9d7cff!important;background:rgba(16,13,49,.58)!important;color:#9fb0c7!important}
#news #newsBack{position:relative;z-index:2;text-align:center!important;min-height:50px}

/* MENU : même quatre angles, mais fond légèrement translucide pour voir le dogfight. */
#menu .pixel-menu-panel{
  width:min(900px,95vw)!important;
  background:var(--sb-menu-space-panel)!important;
  border:1px solid rgba(82,228,255,.40)!important;
  box-shadow:0 0 0 3px rgba(2,24,61,.94),0 20px 65px rgba(0,0,0,.57),0 0 42px rgba(31,151,255,.16),inset 0 0 0 2px rgba(37,128,211,.11)!important;
  backdrop-filter:blur(2px) saturate(1.08)!important;
}
#menu .pixel-menu-panel::after{border-color:rgba(83,225,255,.15)!important;background:linear-gradient(90deg,rgba(72,211,255,.045),transparent 22%,transparent 78%,rgba(72,211,255,.045))!important}
#menu .pixel-logo{filter:drop-shadow(0 0 8px rgba(77,216,255,.13))}
#menu .pixel-menu-actions{gap:9px!important;margin-top:16px!important}
#menu .pixel-menu-btn{position:relative;overflow:hidden;background:linear-gradient(165deg,rgba(10,41,87,.92),rgba(3,17,47,.94))!important;border-color:#246cb2!important}
#menu .pixel-menu-btn::before{content:"";position:absolute;left:-30%;top:0;width:18%;height:100%;pointer-events:none;background:linear-gradient(90deg,transparent,rgba(121,236,255,.09),transparent);transform:skewX(-18deg);animation:sbMenuScan 7.5s linear infinite}
#menu .pixel-menu-btn:nth-child(3n+2)::before{animation-delay:-2.4s}#menu .pixel-menu-btn:nth-child(3n)::before{animation-delay:-4.8s}
#menu #newBtn,#menu #continueBtn{background:linear-gradient(135deg,rgba(16,164,194,.94),rgba(7,88,143,.94) 56%,rgba(4,54,103,.95))!important}
#menu #newsBtn{border-color:#62c8ff!important;background:linear-gradient(145deg,rgba(22,68,122,.95),rgba(25,27,82,.94))!important}
#menu #newsBtn .menu-icon{color:#d5f8ff!important;animation:sbNewsStar 1.8s steps(3,end) infinite}
@keyframes sbMenuScan{0%{left:-30%}24%,100%{left:128%}}
@keyframes sbNewsStar{50%{transform:scale(1.16) rotate(12deg);filter:brightness(1.45)}}

/* Les vaisseaux du fond doivent rester lisibles autour du panneau. */
#menu.pixel-menu-screen{background:radial-gradient(circle at 50% 50%,rgba(2,8,25,.02),rgba(0,1,8,.18) 72%)!important}
#vignette{opacity:.82}

@media(max-width:700px){
  #news .news-panel{width:97vw!important;padding:17px 13px 15px!important}
  #news .news-head{gap:8px!important}.news-version-badge{min-width:64px!important;padding:8px 9px!important;font-size:10px!important}
  #news .news-item{padding:10px 9px!important;font-size:10px!important;line-height:1.4!important}
  #menu .pixel-menu-panel{width:min(96vw,560px)!important;background:
    var(--sb-corner-tl) left top/54px 54px no-repeat,var(--sb-corner-tr) right top/54px 54px no-repeat,
    var(--sb-corner-bl) left bottom/54px 54px no-repeat,var(--sb-corner-br) right bottom/54px 54px no-repeat,
    linear-gradient(180deg,rgba(7,25,61,.90),rgba(1,8,27,.93))!important}
}


/* ========================================================================
   V6.27 · PROFIL JOUEUR RESPONSIVE · SOURCE UNIQUE DU PERSONNAGE
   ======================================================================== */
#onlineProfile.profile-screen:not(.hidden){
  display:block!important;
  padding:18px 16px 32px!important;
  overflow:auto!important;
  background:radial-gradient(circle at 50% 4%,rgba(35,128,204,.18),transparent 28%),linear-gradient(180deg,#010818 0,#010512 72%,#00030c 100%)!important;
}
#onlineProfile .profile-pixel-panel.profile-simple-account{box-sizing:border-box;margin:0 auto 28px!important}
#onlineProfile .profile-pixel-panel.profile-simple-account.profile-connected-layout{
  width:min(1120px,calc(100vw - 32px))!important;
  max-height:none!important;
  overflow:visible!important;
  display:block!important;
  padding:18px 20px 16px!important;
  border:2px solid #258ad0!important;
  background:linear-gradient(180deg,rgba(3,14,38,.97),rgba(1,6,22,.985))!important;
  box-shadow:0 0 0 3px #04112b,0 0 36px rgba(52,219,255,.17),inset 0 0 34px rgba(28,103,179,.08)!important;
  clip-path:polygon(13px 0,calc(100% - 13px) 0,100% 13px,100% calc(100% - 13px),calc(100% - 13px) 100%,13px 100%,0 calc(100% - 13px),0 13px)!important;
}
#onlineProfile .profile-connected-layout>.profile-logo{font-size:clamp(30px,4vw,46px)!important;line-height:.9!important;margin:2px 0 0!important}
#onlineProfile .profile-connected-layout>.profile-overline{display:none!important}
#onlineProfile .profile-connected-layout>#cloudScreenTitle{margin:8px 0 14px!important;font-size:clamp(25px,3.3vw,38px)!important;line-height:1!important}
#onlineProfile .profile-connected-layout>#cloudStatus{margin:8px 0 10px!important;min-height:0!important;text-align:center!important;font-size:11px!important}
#onlineProfile .profile-connected-layout>#cloudProfileCard{
  box-sizing:border-box;width:100%!important;margin:0!important;padding:16px!important;
  display:grid!important;grid-template-columns:190px minmax(0,1fr)!important;grid-template-rows:auto auto auto auto!important;gap:10px 16px!important;align-items:center!important;
  border:2px solid #176ca8!important;background:linear-gradient(145deg,rgba(5,27,53,.96),rgba(2,12,29,.98))!important;
  box-shadow:inset 0 0 0 2px rgba(99,243,255,.06),0 0 22px rgba(26,147,215,.10)!important;
  clip-path:polygon(11px 0,calc(100% - 11px) 0,100% 11px,100% calc(100% - 11px),calc(100% - 11px) 100%,11px 100%,0 calc(100% - 11px),0 11px)!important;
}
#onlineProfile .profile-connected-layout>#cloudProfileCard>h3{grid-column:1!important;grid-row:1!important;margin:0!important;text-align:center!important;color:#eafaff!important;font-size:18px!important;letter-spacing:.03em!important}
#onlineProfile .profile-connected-layout #cloudAvatarPreview{grid-column:1!important;grid-row:2/5!important;display:block!important;width:154px!important;height:154px!important;margin:0 auto!important;border:2px solid #54e7ff!important;background:radial-gradient(circle at 50% 42%,#123b5d,#020915 72%)!important;box-shadow:inset 0 0 0 2px #082239,0 0 18px rgba(84,231,255,.12)!important;image-rendering:pixelated!important;clip-path:polygon(8px 0,calc(100% - 8px) 0,100% 8px,100% calc(100% - 8px),calc(100% - 8px) 100%,8px 100%,0 calc(100% - 8px),0 8px)!important}
#onlineProfile .profile-connected-layout .online-code{grid-column:2!important;grid-row:1!important;margin:0!important;min-height:68px!important;padding:10px 13px!important;border:1px dashed rgba(255,209,102,.62)!important;border-radius:0!important;background:rgba(35,25,4,.38)!important;clip-path:polygon(7px 0,calc(100% - 7px) 0,100% 7px,100% calc(100% - 7px),calc(100% - 7px) 100%,7px 100%,0 calc(100% - 7px),0 7px)!important}
#onlineProfile .profile-connected-layout .profile-id-big{font-size:clamp(29px,4vw,43px)!important;letter-spacing:.16em!important}
#onlineProfile .profile-connected-layout .online-warning{grid-column:2!important;grid-row:2!important;margin:0!important;color:#d7b968!important;font-size:10px!important}
#onlineProfile .profile-connected-layout .online-profile-card .stats{grid-column:2!important;grid-row:3!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;margin:0!important}
#onlineProfile .profile-connected-layout .online-profile-card .stat{min-width:0!important;padding:9px 8px!important;border-radius:0!important;border:1px solid #1b3d5c!important;background:rgba(7,20,38,.84)!important;clip-path:polygon(6px 0,calc(100% - 6px) 0,100% 6px,100% calc(100% - 6px),calc(100% - 6px) 100%,6px 100%,0 calc(100% - 6px),0 6px)!important}
#onlineProfile .profile-connected-layout .online-profile-card .stat strong{font-size:19px!important}
#onlineProfile .profile-connected-layout .online-profile-card .stat span{font-size:8px!important;line-height:1.2!important}
#onlineProfile .profile-connected-layout .online-profile-card .profile-bug-stat{grid-column:1/-1!important;padding:8px 10px!important}
#onlineProfile .profile-connected-layout .connected-actions{grid-column:2!important;grid-row:4!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;margin:0!important}
#onlineProfile .profile-connected-layout .connected-actions .btn{width:100%!important;min-width:0!important;min-height:42px!important;margin:0!important;padding:8px 10px!important;text-align:center!important;font-size:11px!important}
#onlineProfile .profile-connected-layout #cloudEditAvatarBtn{grid-column:1/-1!important;border-color:#55e8ff!important;color:#eaffff!important;background:linear-gradient(180deg,rgba(12,74,111,.98),rgba(4,31,58,.98))!important;box-shadow:inset 0 0 0 1px #126085,0 0 15px rgba(44,219,255,.13)!important}
#onlineProfile .profile-connected-layout>#cloudLeaderboardSection{margin:16px 0 0!important;padding:13px!important;border:2px solid #1768b5!important;background:linear-gradient(180deg,rgba(4,18,43,.92),rgba(2,9,27,.95))!important;clip-path:polygon(9px 0,calc(100% - 9px) 0,100% 9px,100% calc(100% - 9px),calc(100% - 9px) 100%,9px 100%,0 calc(100% - 9px),0 9px)!important}
#onlineProfile .profile-connected-layout>#cloudLeaderboardSection>h3{margin:0 0 9px!important;color:#eaf8ff!important;font-size:18px!important}
#onlineProfile .profile-connected-layout .leaderboard-personal-card{margin:0 0 9px!important}
#onlineProfile .profile-connected-layout .leaderboard{max-height:310px!important;margin-top:0!important;overflow:auto!important;border-radius:0!important}
#onlineProfile .profile-connected-layout .leaderboard-head,#onlineProfile .profile-connected-layout .leaderboard-row{grid-template-columns:54px minmax(190px,1fr) 150px 105px 76px!important;padding:9px 12px!important}
#onlineProfile .profile-connected-layout .leaderboard-head{position:sticky!important;top:0!important;z-index:1!important;background:#07172f!important}
#onlineProfile .profile-connected-layout>.profile-info-note{margin:10px 0 0!important;padding:8px 10px!important;text-align:center!important;font-size:9px!important}
#onlineProfile .profile-connected-layout>.profile-bottom-actions{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;margin:10px 0 0!important}
#onlineProfile .profile-connected-layout>.profile-bottom-actions .btn{width:100%!important;min-width:0!important;min-height:40px!important;padding:8px!important;font-size:10px!important;text-align:center!important}
@media(max-width:760px){
  #onlineProfile.profile-screen{padding:4px 4px 18px!important}
  #onlineProfile .profile-pixel-panel.profile-simple-account.profile-connected-layout{width:calc(100vw - 8px)!important;margin:0 auto 14px!important;padding:10px 9px 11px!important;clip-path:polygon(8px 0,calc(100% - 8px) 0,100% 8px,100% calc(100% - 8px),calc(100% - 8px) 100%,8px 100%,0 calc(100% - 8px),0 8px)!important}
  #onlineProfile .profile-connected-layout>.profile-logo{font-size:30px!important}
  #onlineProfile .profile-connected-layout>#cloudScreenTitle{font-size:24px!important;margin:7px 0 10px!important}
  #onlineProfile .profile-connected-layout>#cloudProfileCard{display:grid!important;grid-template-columns:1fr!important;grid-template-rows:auto!important;gap:8px!important;padding:10px!important}
  #onlineProfile .profile-connected-layout>#cloudProfileCard>h3,#onlineProfile .profile-connected-layout #cloudAvatarPreview,#onlineProfile .profile-connected-layout .online-code,#onlineProfile .profile-connected-layout .online-warning,#onlineProfile .profile-connected-layout .online-profile-card .stats,#onlineProfile .profile-connected-layout .connected-actions{grid-column:1!important;grid-row:auto!important}
  #onlineProfile .profile-connected-layout>#cloudProfileCard>h3{font-size:16px!important;text-align:center!important}
  #onlineProfile .profile-connected-layout #cloudAvatarPreview{width:112px!important;height:112px!important}
  #onlineProfile .profile-connected-layout .online-code{min-height:58px!important;padding:8px 9px!important}
  #onlineProfile .profile-connected-layout .profile-id-big{font-size:29px!important}
  #onlineProfile .profile-connected-layout .online-warning{display:none!important}
  #onlineProfile .profile-connected-layout .online-profile-card .stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important}
  #onlineProfile .profile-connected-layout .online-profile-card .profile-bug-stat{grid-column:1/-1!important}
  #onlineProfile .profile-connected-layout .connected-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important}
  #onlineProfile .profile-connected-layout .connected-actions .btn{min-height:38px!important;padding:6px!important;font-size:9px!important}
  #onlineProfile .profile-connected-layout #cloudEditAvatarBtn{grid-column:1/-1!important}
  #onlineProfile .profile-connected-layout>#cloudLeaderboardSection{margin-top:9px!important;padding:8px!important}
  #onlineProfile .profile-connected-layout>#cloudLeaderboardSection>h3{font-size:15px!important;margin-bottom:6px!important}
  #onlineProfile .profile-connected-layout .leaderboard-personal-card{grid-template-columns:1fr 1fr 1fr!important;gap:3px!important;padding:5px!important}
  #onlineProfile .profile-connected-layout .leaderboard-personal-card>div{padding:5px 3px!important}
  #onlineProfile .profile-connected-layout .leaderboard-personal-card strong{font-size:17px!important}
  #onlineProfile .profile-connected-layout .leaderboard-personal-card small{font-size:6px!important}
  #onlineProfile .profile-connected-layout .leaderboard{max-height:220px!important}
  #onlineProfile .profile-connected-layout .leaderboard-head,#onlineProfile .profile-connected-layout .leaderboard-row{grid-template-columns:26px minmax(76px,1fr) 56px 38px 38px!important;gap:3px!important;padding:7px 4px!important;font-size:8px!important}
  #onlineProfile .profile-connected-layout>.profile-info-note{margin-top:7px!important;padding:6px!important;font-size:8px!important}
  #onlineProfile .profile-connected-layout>.profile-bottom-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important;margin-top:7px!important}
  #onlineProfile .profile-connected-layout>.profile-bottom-actions .btn{min-height:38px!important;padding:6px!important;font-size:9px!important}
  #onlineProfile .profile-connected-layout #onlineBackBtn{grid-column:1/-1!important}
}


/* ========================================================================
   V6.29 · PROFIL / CHARGEMENT HARMONISÉS + PORTRAITS CLASSEMENT
   ======================================================================== */
:root{
  --sb-space-panel-small:
    var(--sb-corner-tl) left top/44px 44px no-repeat,
    var(--sb-corner-tr) right top/44px 44px no-repeat,
    var(--sb-corner-bl) left bottom/44px 44px no-repeat,
    var(--sb-corner-br) right bottom/44px 44px no-repeat,
    linear-gradient(180deg,rgba(7,25,61,.96),rgba(1,8,27,.98));
}

/* Un écran caché doit toujours rester caché. */
#onlineProfile.profile-screen.hidden{display:none!important}

/* Même fond spatial que le menu, sans masquer le contenu. */
#onlineProfile.profile-screen:not(.hidden),#startupLoader{
  isolation:isolate;
  background:
    radial-gradient(circle at 16% 20%,rgba(55,86,255,.13),transparent 25%),
    radial-gradient(circle at 86% 78%,rgba(192,55,255,.11),transparent 24%),
    radial-gradient(ellipse at 50% 50%,#07142d 0,#020817 48%,#00030b 100%)!important;
}
#onlineProfile.profile-screen:not(.hidden)::before,#startupLoader::before{
  content:"";position:fixed;z-index:0;inset:-30px;pointer-events:none;opacity:.82;
  background-image:radial-gradient(circle,#dffcff 0 1px,transparent 1.5px),radial-gradient(circle,#728dff 0 1px,transparent 1.7px),radial-gradient(circle at 16% 67%,rgba(46,226,255,.45),transparent 1.5%),radial-gradient(circle at 84% 31%,rgba(194,84,255,.35),transparent 2%);
  background-size:47px 43px,73px 67px,100% 100%,100% 100%;background-position:0 0,12px 18px,0 0,0 0;animation:pxStarsDrift 18s steps(18,end) infinite;
}
#onlineProfile.profile-screen:not(.hidden)::after,#startupLoader::after{
  content:"";position:fixed;z-index:0;inset:0;pointer-events:none;opacity:.18;background:repeating-linear-gradient(180deg,transparent 0 3px,rgba(64,173,255,.08) 3px 4px);mix-blend-mode:screen;
}
#onlineProfile.profile-screen:not(.hidden)>.profile-pixel-panel,#startupLoader>.startup-loader-panel{position:relative;z-index:2}

#onlineProfile .profile-pixel-panel.profile-connected-layout{
  background:var(--sb-space-panel)!important;
  border:1px solid rgba(82,228,255,.42)!important;
  box-shadow:0 0 0 3px rgba(2,24,61,.94),0 20px 65px rgba(0,0,0,.58),0 0 42px rgba(31,151,255,.16),inset 0 0 0 2px rgba(37,128,211,.11)!important;
}
#onlineProfile .profile-connected-layout>#cloudProfileCard,#onlineProfile .profile-connected-layout>#cloudLeaderboardSection{
  background:var(--sb-space-panel-small)!important;
  border:1px solid rgba(82,228,255,.38)!important;
  box-shadow:inset 0 0 0 2px rgba(5,44,96,.55),0 10px 30px rgba(0,0,0,.28)!important;
}
#onlineProfile .profile-connected-layout>#cloudProfileCard{padding:18px 20px!important}
#onlineProfile .profile-connected-layout>#cloudLeaderboardSection{padding:15px 16px!important}

/* Portraits des pilotes dans le classement. */
.leaderboard-pilot-cell{display:flex!important;align-items:center;gap:10px;min-width:0}
.leaderboard-pilot-copy{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.leaderboard-avatar{position:relative;display:grid;place-items:center;flex:0 0 50px;width:50px;height:50px;overflow:hidden;border:1px solid #45dff8;background:radial-gradient(circle at 50% 42%,#123b5d,#020915 72%);box-shadow:inset 0 0 0 1px #082239;clip-path:polygon(5px 0,calc(100% - 5px) 0,100% 5px,100% calc(100% - 5px),calc(100% - 5px) 100%,5px 100%,0 calc(100% - 5px),0 5px)}
.leaderboard-avatar-canvas{position:absolute;inset:0;width:100%;height:100%;image-rendering:pixelated}
.leaderboard-avatar-fallback{position:relative;z-index:1;color:#72efff;font:900 17px/1 monospace;text-shadow:0 0 8px currentColor;font-style:normal}
.leaderboard-avatar.loaded .leaderboard-avatar-fallback{display:none}
.leaderboard-bug-count{color:#ff91b1;font:900 11px/1 "Courier New",monospace;text-align:center}.leaderboard-bug-count::before{content:"BUG ";color:#9db0c7;font-size:8px}
#onlineProfile .profile-connected-layout .leaderboard-row{min-height:52px}

/* Chargement : cadre à quatre angles Base64, identique à l’univers du menu. */
#startupLoader{overflow:hidden!important}
#startupLoader>.startup-loader-panel{
  background:var(--sb-space-panel)!important;
  border:1px solid rgba(82,228,255,.46)!important;
  box-shadow:0 0 0 3px rgba(2,24,61,.94),0 18px 58px rgba(0,0,0,.62),0 0 40px rgba(31,151,255,.18),inset 0 0 0 2px rgba(37,128,211,.12)!important;
  clip-path:none!important;
  padding:26px 28px 22px!important;
}
#startupLoader .startup-loader-bar{border-color:#2a90cf!important;background:#030c1d!important;box-shadow:inset 0 0 0 1px #0c3157,0 0 14px rgba(44,219,255,.08)!important}

@media(max-width:760px){
  :root{--sb-space-panel-small:var(--sb-corner-tl) left top/36px 36px no-repeat,var(--sb-corner-tr) right top/36px 36px no-repeat,var(--sb-corner-bl) left bottom/36px 36px no-repeat,var(--sb-corner-br) right bottom/36px 36px no-repeat,linear-gradient(180deg,rgba(7,25,61,.96),rgba(1,8,27,.98));}
  #onlineProfile .profile-connected-layout>#cloudProfileCard{padding:12px!important}
  #onlineProfile .profile-connected-layout>#cloudLeaderboardSection{padding:10px!important}
  .leaderboard-avatar{flex-basis:38px;width:38px;height:38px}.leaderboard-pilot-cell{gap:6px}.leaderboard-avatar-fallback{font-size:13px}
  #startupLoader>.startup-loader-panel{width:min(94vw,520px)!important;padding:20px 17px 17px!important;background:var(--sb-space-panel)!important}
}
