.rank-badge.ectoria-grade{display:inline-flex;align-items:center;vertical-align:middle;gap:5px;min-height:18px;padding:1px 0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;color:var(--badge-ink);font-size:10px!important;font-weight:500;line-height:1.3;letter-spacing:.025em;white-space:nowrap}
.ectoria-grade .grade-sign{display:block;flex:none;width:15px;height:17px;fill:none;stroke:var(--badge-ink);stroke-width:1.05;stroke-linecap:round;stroke-linejoin:round;opacity:.88}
.ectoria-grade .grade-word{font:inherit;color:var(--badge-ink)!important;letter-spacing:inherit}
.profile-header .rank-badge.ectoria-grade{font-size:11px!important;gap:6px;min-height:22px;padding:0!important;margin-top:0}
.profile-header .ectoria-grade .grade-sign{width:18px;height:21px}
.ranking-table .rank-badge.ectoria-grade{font-size:9px!important;gap:4px;margin-left:4px}
.ranking-table .ectoria-grade .grade-sign{width:12px;height:15px}
.podium-details .rank-badge.ectoria-grade,.home-leader-info .rank-badge.ectoria-grade{margin-top:7px;gap:5px}
.popular-info .rank-badge.ectoria-grade{font-size:11px!important;gap:6px}
.player-status{display:inline-flex;align-items:center;gap:5px;color:var(--status-ink);font-size:10px;font-weight:450;line-height:1.5;letter-spacing:.01em;white-space:nowrap}
.player-status>svg{width:15px;height:15px;flex:none;fill:none;stroke:currentColor;stroke-width:1;stroke-linecap:round;stroke-linejoin:round}
.player-status .status-example{font-size:8px;color:#83959d;font-weight:400;margin-left:4px;border-left:1px solid #9aadb330;padding-left:7px}
.profile-status-preview{display:flex;flex-direction:column;gap:3px;margin-top:9px;align-items:center}
.profile-status-preview .status-duration{font-size:9px;color:#94a5ad;line-height:1.5}
.profile-ban-slot:empty{display:none}.profile-ban-status{display:flex;flex-direction:column;align-items:center;gap:3px;margin-top:9px}
@media(max-width:700px){.profile-ban-status{align-items:flex-start}}
.profile-demo #demo-skin{flex:none;width:130px}
.profile-demo #demo-skin>.skin{display:block;width:130px;height:210px;overflow:visible}
.compact-status{font-size:9px;gap:4px}
.compact-status>svg{width:13px;height:13px}
.rank-badge.ectoria-grade{gap:5px;font-family:Georgia,'Times New Roman',serif;font-size:11px!important;letter-spacing:.035em;font-weight:400}

.profile-header .rank-badge.ectoria-grade{font-size:12px!important;min-height:20px;gap:6px}
.profile-subrank{display:block;margin-top:4px;color:#b4a58d;font-size:9px;letter-spacing:.045em;line-height:1.5}
.connection-dates .connection-online{color:#a6bda8;display:inline-flex;align-items:center;gap:5px}
.connection-online::before{content:'';width:3px;height:3px;background:currentColor;border-radius:50%;display:block}
.rank-badge.ectoria-grade{position:relative;padding:3px 9px!important;min-height:20px;font-family:Inter,Arial,sans-serif;font-size:9px!important;letter-spacing:.025em}
.rank-badge.ectoria-grade::before,.rank-badge.ectoria-grade::after{content:'';position:absolute;width:6px;height:5px;pointer-events:none;opacity:.5;border-color:var(--badge-ink);border-style:solid}
.rank-badge.ectoria-grade::before{left:0;top:0;border-width:1px 0 0 1px}
.rank-badge.ectoria-grade::after{right:0;bottom:0;border-width:0 1px 1px 0}
.profile-header .rank-badge.ectoria-grade{font-size:10px!important;padding:3px 10px!important;min-height:21px}
.profile-extra .honour{width:26px;height:29px}
.profile-extra .honours-row{gap:5px;margin-top:10px;margin-bottom:4px}
.podium-details .honour,.home-leader-info .honour{width:22px;height:25px}
.home-runner .honour{width:17px;height:19px}
.honour:focus-visible{outline:1px solid #b1c5cc66;outline-offset:2px;border-radius:0}
@media(max-width:700px){.profile-status-preview{align-items:flex-start}.ranking-table .rank-badge.ectoria-grade{font-size:8px!important;gap:3px}.ranking-table .ectoria-grade .grade-sign{width:11px;height:13px}.profile-demo #demo-skin{width:100px}.profile-demo #demo-skin>.skin{width:100px;height:175px}}

/* Keep the secondary event role centred under the primary rank. */
.profile-rank-stack{display:inline-flex;flex-direction:column;align-items:center;gap:10px;max-width:100%;vertical-align:top;margin-top:2px}
.profile-header .profile-rank-stack>.rank-badge{margin:0!important;align-self:center}
.profile-rank-stack>.profile-subrank{display:block;margin:0!important;color:#b4a58d;font-size:10px;line-height:1.5;letter-spacing:.025em;text-align:center;white-space:nowrap}
