/* $$P v86: show each verified player's own CSS-only banner in compact side
   rankings. Never fetch per-card images, profiles or R2 resources. */
.lobby .global-rank #globalRanking>li.society-banner-surface,
.global-rank #globalRanking>li.society-banner-surface,
.ranking #ranking>li.society-banner-surface,
#ranking>li.society-banner-surface {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:transparent!important;
  border-color:color-mix(in srgb,var(--sbn-accent) 45%,transparent)!important;
  box-shadow:inset 0 1px 0 #ffffff2b,0 3px 12px #0005!important;
}
.lobby .global-rank #globalRanking>li.society-banner-surface::before,
.global-rank #globalRanking>li.society-banner-surface::before,
.ranking #ranking>li.society-banner-surface::before,
#ranking>li.society-banner-surface::before {
  content:"";
  display:block;
  position:absolute;
  z-index:-1;
  inset:0;
  border-radius:inherit;
  background:var(--sbn-art)!important;
  background-color:var(--sbn-back)!important;
  pointer-events:none;
}
.lobby .global-rank #globalRanking>li.society-banner-surface::after,
.global-rank #globalRanking>li.society-banner-surface::after,
.ranking #ranking>li.society-banner-surface::after,
#ranking>li.society-banner-surface::after {
  z-index:-1;
  opacity:.22;
  pointer-events:none;
}
.lobby .global-rank #globalRanking>li.society-banner-surface .rank-player b,
.lobby .global-rank #globalRanking>li.society-banner-surface .rank-player small,
.ranking #ranking>li.society-banner-surface b {
  text-shadow:0 1px 5px #000e,0 0 12px #0006;
}
.lobby .global-rank #globalRanking>li.society-banner-surface .rank-metric,
.global-rank #globalRanking>li.society-banner-surface .rank-metric {
  color:var(--sbn-accent)!important;
  text-shadow:0 1px 5px #000d;
}
.society-profile-row{
  position:relative;
  cursor:pointer;
  transition:border-color .22s ease,box-shadow .22s ease,filter .22s ease,transform .22s cubic-bezier(.2,.8,.2,1);
  will-change:auto;
}
/* The complete card is the hit target, even outside the nickname. */
.lobby .global-rank #globalRanking>li.society-profile-row:is(:hover,:focus-visible,:focus-within),
.global-rank #globalRanking>li.society-profile-row:is(:hover,:focus-visible,:focus-within),
.ranking #ranking>li.society-profile-row:is(:hover,:focus-visible,:focus-within){
  z-index:4;
  transform:translateY(-2px) scale(1.015);
  border-color:color-mix(in srgb,var(--sbn-accent,#8fcaff) 74%,#ffffff)!important;
  box-shadow:0 0 0 1px #ffffff49,0 8px 26px #050b19b3,0 0 20px #5b9cff35,inset 0 1px 0 #ffffff6b!important;
  filter:brightness(1.14) saturate(1.09);
}
.society-profile-row:focus-visible{outline:2px solid #e8d58a;outline-offset:3px}
.society-profile-row .society-row-cta{
  position:absolute;
  z-index:2;
  right:9px;
  bottom:2px;
  display:block;
  width:max-content;
  height:auto;
  margin:0;
  padding:2px 5px;
  border:1px solid #80d6ff71;
  border-radius:6px;
  background:#0b1428de;
  color:#d7f9ff!important;
  font:900 8px/1.2 system-ui,sans-serif!important;
  letter-spacing:.025em!important;
  text-shadow:0 1px 2px #000;
  pointer-events:none;
  opacity:0;
  transform:translateY(4px) scale(.95);
  transition:opacity .2s ease,transform .2s ease;
}
.society-profile-row:is(:hover,:focus-visible,:focus-within) .society-row-cta{
  opacity:1;
  transform:translateY(0) scale(1);
}
.society-profile-row .society-player-link:hover{
  text-decoration:none!important;
  color:inherit!important;
}
.lobby .global-rank .rank-player .society-player-link,
.ranking #ranking .society-player-link {display:inline-flex!important;gap:4px;align-items:center;max-width:100%;min-width:0}
/* v87: keep the separate, absolutely positioned level emblem motionless.
   Animating a CSS transform on the whole <li> made the overlay level badge
   intermittently jump/clip when its own geometry was refreshed. */
.lobby .global-rank #globalRanking>li.society-profile-row:is(:hover,:focus-visible,:focus-within),
.global-rank #globalRanking>li.society-profile-row:is(:hover,:focus-visible,:focus-within),
.ranking #ranking>li.society-profile-row:is(:hover,:focus-visible,:focus-within){transform:none!important;filter:none!important;box-shadow:0 0 0 1px #c2e1ff66,0 0 22px #5b9cff41,inset 0 0 20px #c6dbff18!important}
.global-rank .ssp-rank-overlays,.global-rank .ssp-rank-emblem{transform:none!important;filter:none!important;transition:none!important;will-change:auto!important}
/* The full banner is the hit target, not only the underlined name. */
.society-profile-row{cursor:pointer!important}
.society-profile-row .society-player-link,.society-profile-row .society-player-name{text-decoration:none!important}
.society-profile-row:is(:hover,:focus-visible,:focus-within) .society-player-link,
.society-profile-row:is(:hover,:focus-visible,:focus-within) .society-player-name{text-decoration:none!important}
.society-player-link{min-width:0!important;max-width:100%!important;flex-wrap:nowrap!important;overflow:visible!important}
.society-player-name{flex:0 1 auto!important;min-width:0!important;overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important}
.society-player-link .society-verified{flex-shrink:0!important;vertical-align:middle!important}
.society-verified-aura{position:relative;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;flex:0 0 18px;width:18px;height:18px;min-width:18px;margin-left:4px;vertical-align:middle}
.society-verified-aura::before{content:"";position:absolute;z-index:-1;inset:-8px;border-radius:50%;background:radial-gradient(circle,#69ccff77 0%,#419aff34 32%,#347bff12 55%,transparent 74%);pointer-events:none;opacity:.7;transform:scale(.86);transition:opacity .22s ease,transform .22s ease}
.society-profile-row:is(:hover,:focus-visible,:focus-within) .society-verified-aura::before,.society-item:is(:hover,:focus-visible) .society-verified-aura::before{opacity:1;transform:scale(1.1)}
.society-verified-aura .society-verified{display:block!important;position:relative!important;z-index:1;filter:drop-shadow(0 0 2px #4ab5ff7c)!important;margin:0!important;flex:0 0 17px!important}
@media(prefers-reduced-motion:reduce){.society-verified-aura::before{transition:none!important;transform:none!important}}
.ranking #ranking li.society-banner-surface>span {color:var(--sbn-accent)!important;text-shadow:0 1px 6px #000}
@media(max-width:640px){
  .global-rank #globalRanking>li.society-banner-surface,
  .ranking #ranking>li.society-banner-surface{min-width:0}
  .society-profile-row .society-player-name{max-width:100%;overflow:hidden;text-overflow:ellipsis}
}
@media(hover:none){
  .society-profile-row .society-row-cta{opacity:.85;transform:none;font-size:7px!important;background:#08111bc8}
  .society-profile-row:active{filter:brightness(1.18);transform:scale(.995)}
}
@media(prefers-reduced-motion:reduce){
  .society-profile-row,.society-profile-row .society-row-cta{transition:none;transform:none!important}
  #globalRanking .society-banner-surface::after,#ranking .society-banner-surface::after{animation:none!important}
}
