/* $$P Society v87 — stable level emblems and compact one-line verification.
 * CSS-only: zero API/D1/R2 requests. The emblems are in an independent overlay
 * layer which must remain above the raised/hovered rank rows. */
.lobby .global-rank .ssp-rank-overlays,
.global-rank .ssp-rank-overlays {
  z-index: 80 !important;
  pointer-events: none !important;
  transform: none !important;
  filter: none !important;
  isolation: auto !important;
}
.lobby .global-rank .ssp-rank-overlays .ssp-rank-emblem,
.global-rank .ssp-rank-overlays .ssp-rank-emblem {
  z-index: 1 !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: none !important;
  transform: none !important;
  filter: none !important;
  transition: none !important;
}
/* Levels.js calculates absolute emblem positions from bounding rects: moving
 * the row on hover makes the medal jump. Only animate border/glow instead. */
.lobby .global-rank #globalRanking>li.society-profile-row,
.global-rank #globalRanking>li.society-profile-row,
.ranking #ranking>li.society-profile-row {
  cursor: pointer !important;
  transform: none !important;
  filter: none !important;
  will-change: auto !important;
  transition: box-shadow .23s ease, border-color .23s ease, background-color .23s ease !important;
}
.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;
  border-color: #a9d9ff !important;
  box-shadow: 0 0 0 1px #9acfff7a, 0 0 22px #4f92ff50,
              inset 0 0 24px #a9d9ff20 !important;
}
/* Explicit ID-based specificity beats stylesheets injected later by the
 * banner/level loaders; never wrap an image badge below the username. */
.lobby .global-rank #globalRanking li .rank-player b,
.global-rank #globalRanking li .rank-player b {
  display: block !important;
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  white-space: nowrap !important;
}
.lobby .global-rank #globalRanking li .rank-player b a.society-player-link,
.global-rank #globalRanking li .rank-player b a.society-player-link,
.ranking #ranking li b a.society-player-link {
  display: inline-flex !important;
  flex-flow: row nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 3px !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: 100% !important;
  overflow: hidden !important;
  vertical-align: middle !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}
.lobby .global-rank #globalRanking li .rank-player b .society-player-name,
.global-rank #globalRanking li .rank-player b .society-player-name,
.ranking #ranking li b .society-player-name {
  display: block !important;
  flex: 0 1 auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  text-decoration: none !important;
}
.lobby .global-rank #globalRanking li .rank-player b .society-verified-aura,
.global-rank #globalRanking li .rank-player b .society-verified-aura,
.ranking #ranking li b .society-verified-aura {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 17px !important;
  min-width: 17px !important;
  width: 17px !important;
  height: 17px !important;
  margin: 0 0 0 3px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: none !important;
  box-shadow: none !important;
}
.lobby .global-rank #globalRanking li .rank-player b .society-verified-aura .society-verified,
.global-rank #globalRanking li .rank-player b .society-verified-aura .society-verified,
.ranking #ranking li b .society-verified-aura .society-verified {
  display: block !important;
  flex: 0 0 17px !important;
  position: relative !important;
  min-width: 17px !important;
  width: 17px !important;
  height: 17px !important;
  max-width: 17px !important;
  max-height: 17px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: drop-shadow(0 0 3px #4fb5ff82) !important;
}
/* A feathered radial light on its own circle, not a rectangular blue block. */
.lobby .global-rank #globalRanking .society-verified-aura::before,
.global-rank #globalRanking .society-verified-aura::before,
.ranking #ranking .society-verified-aura::before {
  inset: -5px !important;
  border-radius: 50% !important;
  clip-path: circle(50% at 50% 50%) !important;
  background: radial-gradient(circle,#67c8ff81 0%,#4196ff3b 38%,transparent 72%) !important;
  box-shadow: none !important;
  pointer-events: none !important;
}
.lobby .global-rank #globalRanking .society-row-cta,
.global-rank #globalRanking .society-row-cta {
  bottom: 4px !important;
  right: 7px !important;
  font-size: 7px !important;
}
@media(prefers-reduced-motion: reduce){
  .lobby .global-rank #globalRanking>li.society-profile-row,
  .global-rank #globalRanking>li.society-profile-row {transition:none!important}
  .society-verified-aura::before{transition:none!important;transform:none!important}
}
