.steam-avatar { position:relative; display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; width:36px; height:36px; border-radius:50%; overflow:hidden; background:#34423a; color:#dbe8df; font:600 12px Barlow,sans-serif; }
.steam-avatar img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.steam-avatar .steam-avatar-fallback { width:65%; height:65%; }
.steam-avatar--profile { width:44px; height:44px; }
.steam-avatar--match, .steam-avatar--weapon { width:30px; height:30px; }
.player-profile-heading, .match-player-identity { display:flex; align-items:center; gap:10px; min-width:0; }
.player-profile-heading>span:last-child, .match-player-identity>span:last-child { min-width:0; overflow-wrap:anywhere; }
.weapon-winner .weapon-player { display:flex; align-items:center; gap:8px; }
.weapon-player>span:last-child { min-width:0; overflow-wrap:anywhere; }
.public-shell .leader-name>.avatar.steam-avatar,
.public-shell .stat-table .leader-row .avatar.steam-avatar,
.leader-name>.avatar.steam-avatar { display:inline-flex; }
.ban-card>.avatar.steam-avatar { display:inline-flex; }
@media(max-width:680px) {
  .public-shell .leader-name>.avatar.steam-avatar,
  .public-shell .stat-table .leader-row .avatar.steam-avatar,
  .leader-name>.avatar.steam-avatar { width:28px; height:28px; min-width:28px; }
  .public-shell .leader-name, .leader-name { gap:6px; }
  .match-player-identity { gap:8px; }
  .match-player-identity .steam-avatar { width:28px; height:28px; }
}
.steam-avatar--nav { width:30px; height:30px; font-size:10px; }
.steam-avatar--login { width:68px; height:68px; font-size:20px; }
.steam-avatar--admin { width:100%; height:100%; border-radius:inherit; }
.admin-avatar:has(.steam-avatar) { padding:0; overflow:hidden; }
.nav-account { min-width:0; position:relative; display:flex; align-items:stretch; }
.nav-account>p { align-self:center; margin:0; color:var(--muted); font-size:12px; padding:8px; }
.account-menu { position:relative; min-width:0; }
.account-menu>summary { list-style:none; cursor:pointer; height:100%; }
.account-menu>summary::-webkit-details-marker { display:none; }
.account-menu .account-name { max-width:120px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.account-popover { position:absolute; z-index:150; top:calc(100% + 6px); right:0; width:210px; max-width:calc(100vw - 24px); padding:6px; background:var(--paper); border:1px solid #56634e; border-radius:4px; box-shadow:0 12px 32px #0005; }
.account-popover a, .account-popover button { display:flex; align-items:center; width:100%; min-height:44px; padding:10px 12px; text-align:left; text-decoration:none; border:0; border-radius:3px; background:none; color:var(--text); font:400 14px Barlow,sans-serif; }
.account-popover a:hover, .account-popover button:hover { background:var(--navy-light); }
.account-popover a:focus-visible, .account-popover button:focus-visible, .account-menu>summary:focus-visible { outline:2px solid var(--focus-ring); outline-offset:-2px; }
.comment-identity { display:flex; align-items:center; gap:10px; min-width:0; flex:1; }
.comment-author { display:grid; gap:4px; min-width:0; }
.comment-author strong { overflow-wrap:anywhere; }
.comment-meta .comment-author time { flex-basis:auto; }
.login-identity { display:flex; flex-direction:column; align-items:center; gap:12px; margin:0 0 20px; }
.login-identity strong { max-width:100%; overflow-wrap:anywhere; }
@media(max-width:700px) {
  .public-shell .nav-account { display:block; }
  .public-shell .nav-account>.nav-button { width:100%; height:100%; }
  .public-shell .account-menu>summary.nav-button { padding-inline:3px; gap:6px; }
  .account-menu .account-name { max-width:58px; font-size:11px; }
  .steam-avatar--nav { width:25px; height:25px; }
  .account-popover { top:calc(100% + 4px); }
}
/* Player names that open the player's profile: read as names, not as underlined links. */
.profile-link { color: inherit; text-decoration: none; border-radius: 3px; }
.profile-link:hover { color: var(--sand); }
.profile-link:focus-visible { outline: 2px solid var(--focus-ring, var(--sand)); outline-offset: 2px; }
