/* Keep color confined to team logos, player ranks, and existing game signals. */
.live-page .player-rank-name, .player-profile-name.player-rank-name {
  color: var(--player-rank-color, #dae0de) !important;
  text-shadow: 0 0 9px color-mix(in srgb, var(--player-rank-color, #dae0de) 24%, transparent);
}
.player-rank-name:focus-visible { outline: 1px solid currentColor; outline-offset: 3px; }
.live-player-tools { display: flex; gap: 6px; align-items: stretch; min-width: 0; margin: 0 9px 9px; }
.live-player-tools .chat-launch { flex: 1; min-width: 0; margin: 0; }
.live-player-tools .player-rank-settings { width: 34px; flex: 0 0 34px; border: 1px solid #ffffff30; border-radius: 8px; color: #d9d9d9; background: #080808; cursor: pointer; font-size: 19px; }
.player-rank-settings:hover, .player-rank-settings:focus-visible { color: #fff; box-shadow: 0 0 10px #ffffff25; }
#playerRankPanel { position: fixed; z-index: 1100; bottom: 68px; right: 14px; width: min(282px, calc(100vw - 28px)); padding: 15px; border: 1px solid #ffffff45; border-radius: 12px; background: #080808; color: #eee; box-shadow: 0 0 24px #ffffff14, 0 8px 35px #000; font: 12px/1.5 system-ui,sans-serif; }
#playerRankPanel[hidden] { display: none; }
#playerRankPanel strong { font-size: 14px; }
#playerRankPanel p, #playerRankPanel small { color: #b8b8b8; margin: 3px 0 12px; }
#playerRankPanel label { display: flex; justify-content: space-between; align-items: center; margin: 10px 0; }
#playerRankPanel select { background: #151515; color: #fff; border: 1px solid #ffffff40; border-radius: 5px; padding: 5px 8px; width: 130px; }
#playerRankPanel button { display: block; margin: 12px 0 0 auto; background: #191919; color: #eee; border: 1px solid #ffffff40; border-radius: 5px; padding: 5px 14px; cursor: pointer; }
.player-rank-scale { display:flex; justify-content:space-between; padding-top:10px; margin:14px 0; border-top:4px solid; border-image:linear-gradient(90deg,#ff4f70,#dae0de,#20ff90) 1; }

.live-page .player-rank-name { font-size: inherit; font-family: inherit; letter-spacing: inherit; }
