/* Group Fitness trainer identity and member-opt-in strength leaderboard */
.gf-trainer-id{display:flex;gap:10px;align-items:center;margin-top:12px;padding-top:11px;border-top:1px solid var(--gf-line,#e5e0d9);min-width:0}
.gf-trainer-photo{width:39px;height:39px;aspect-ratio:1;border-radius:50%;border:2px solid #b18a5d;object-fit:cover;flex:none;background:#e5e0da}
.gf-trainer-placeholder{display:grid;place-items:center;font-size:12px;font-weight:800;color:#594129}
.gf-trainer-copy{display:grid;gap:2px;min-width:0}
.gf-trainer-copy small{font-size:11px;color:var(--gf-muted,#777)}
.gf-trainer-copy strong{font-size:13px;white-space:normal;color:var(--gf-ink,inherit)}
.gf-trainer-missing{display:block;margin-top:12px;font-size:12px;color:var(--gf-muted,#777)}
.gbl-section{margin-top:20px}
.gbl-period{display:flex;gap:4px;border:1px solid #d5cfbf;padding:3px;border-radius:10px;background:var(--be-surface,#fff);flex:none}
.gbl-period button{min-height:38px;padding:7px 13px;border:0;border-radius:8px;background:transparent;color:inherit;font:inherit;font-size:12px;font-weight:750;cursor:pointer}
.gbl-period button[aria-pressed=true]{background:#292522;color:#f4e2c2}
.gbl-sharing{display:flex;align-items:center;justify-content:space-between;gap:16px;background:var(--be-surface-secondary,#f7f5f1);border:1px solid #ddd4c5;border-radius:12px;padding:15px;margin:14px 0}
.gbl-sharing strong{font-size:13px}.gbl-sharing p{font-size:12px;line-height:1.6;margin:7px 0 0;color:var(--be-text-muted,#777);max-width:700px}
.gbl-sharing button{flex:none;min-height:40px}
.gbl-privacy-note,.gbl-footnote{font-size:12px;line-height:1.6;color:var(--be-text-muted,#777);margin:13px 0 0}
.gbl-options{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:18px 0 13px;flex-wrap:wrap}
.gbl-options label{display:grid;gap:6px;min-width:min(100%,310px);font-size:12px;font-weight:750}
.gbl-options select{padding:10px 12px;border-radius:10px;border:1px solid #b8ab98;background:var(--be-surface,#fff);color:inherit}
.gbl-summary{font-size:12px;color:var(--be-text-muted,#777)}
.gbl-leaders{display:grid;gap:9px}
.gbl-leader{display:flex;gap:13px;align-items:center;border:1px solid #dedbd4;border-radius:12px;padding:12px 14px;min-width:0;background:var(--be-surface,#fff)}
.gbl-rank{display:grid;place-items:center;flex:0 0 40px;aspect-ratio:1;background:#e8e6e2;border:1px solid #d2cec8;color:#2c2927;border-radius:10px;font-size:12px;font-weight:850}
.gbl-rank-1{background:#e6c98d;border-color:#b18b4e;color:#342719}.gbl-rank-2{background:#d3d6d9;border-color:#a5abb0}.gbl-rank-3{background:#cfaf91;border-color:#a88266}
.gbl-leader-name{flex:1;min-width:0;display:grid;gap:5px}
.gbl-leader-name strong{font-size:14px;overflow-wrap:anywhere}
.gbl-leader-name small{font-size:11px;color:var(--be-text-muted,#777)}
.gbl-performance{display:grid;gap:5px;justify-items:end;text-align:right;flex:none}
.gbl-performance>strong{font-size:20px;font-weight:850;white-space:nowrap;font-variant-numeric:tabular-nums}
.gbl-badge{display:grid;justify-items:end;font-size:10px;font-weight:750;padding:4px 8px;border-radius:8px;background:#efece6;color:#5b4932}
.gbl-badge-pb{background:#f3e3c6;color:#704b1d}
.gbl-badge small{font-size:10px;font-weight:500;color:inherit}
.gbl-empty{margin:19px 0;padding:25px 18px;text-align:center;border:1px dashed #c9bcac;border-radius:14px;background:var(--be-surface-secondary,#faf8f4)}
.gbl-empty-icon{font-size:30px}.gbl-empty h3{font-size:16px;margin:6px 0}.gbl-empty p{font-size:12px;line-height:1.6;color:var(--be-text-muted,#777);max-width:520px;margin:0 auto}
@media(max-width:650px){.gbl-section{padding:14px}.gbl-period{width:100%}.gbl-period button{flex:1}.gbl-sharing{align-items:stretch;flex-direction:column}.gbl-options{align-items:stretch}.gbl-options label{min-width:0;width:100%}.gbl-leader{gap:8px;padding:11px 9px}.gbl-rank{flex-basis:33px}.gbl-leader-name strong{font-size:12px}.gbl-performance>strong{font-size:16px}.gbl-badge{font-size:9px}.gbl-performance{max-width:45%}.gbl-leader-name{min-width:0}}
