.csgm-person-portrait{display:inline-block;width:32px;height:38px;object-fit:cover;object-position:center 20%;border:1px solid #4d4b48;border-radius:4px;vertical-align:middle;flex-shrink:0;user-select:none}
.gear-player-portrait .avatar-lg:has(.csgm-person-portrait){padding:0;overflow:hidden}.gear-player-portrait .avatar-lg>.csgm-person-portrait{display:block;width:100%;height:100%;border:0;border-radius:inherit}
.csgm-match-identity{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:12px 0}.match-preparation>.csgm-staff-card{max-width:360px;margin:10px 0}.match-plan-player>.csgm-person-portrait{width:46px;height:54px;margin-bottom:8px}.team-meta .csgm-person-portrait{float:left;margin-right:9px}
.csgm-team-logo{display:inline-block;width:28px;height:28px;object-fit:contain;vertical-align:middle;flex-shrink:0;margin-right:6px;user-select:none}.comp-team-mark .csgm-team-logo{width:100%;height:100%;margin:0}.comp-result .csgm-team-logo{width:22px;height:22px}
.csgm-roster-staff{padding:10px;border-top:1px solid #393e48}.csgm-roster-staff h4{font-size:10px;color:#a8b4c5;text-transform:uppercase;letter-spacing:.1em;margin:0 0 8px}.csgm-workspace .csgm-player-hub .player-list .csgm-staff-card,.csgm-staff-card{display:flex;align-items:center;gap:9px;min-width:0;width:100%;padding:8px;border:1px solid #4d4740;border-radius:4px;background:#211e1c;color:#e4e9f1;text-align:left;cursor:pointer}.csgm-staff-card>span{display:grid;gap:4px;min-width:0}.csgm-staff-card small{font-size:9px;color:#ffbd69}.csgm-staff-card strong{font-size:12px}.csgm-staff-card span>span{font-size:10px;color:#aebaca;overflow-wrap:anywhere}.csgm-staff-card .csgm-person-portrait{width:42px;height:50px}.csgm-staff-card:focus-visible{outline:2px solid #ffbd69;outline-offset:2px}
.csgm-coach-dialog{box-sizing:border-box;max-width:min(500px,calc(100vw - 28px));max-height:calc(100dvh - 40px);overflow:auto;padding:20px;border:1px solid #655443;border-top:2px solid #ffb56b;border-radius:6px;background:#191d24;color:#e1e8f1;font-family:Inter,sans-serif}.csgm-coach-dialog::backdrop{background:#080b10b0}.csgm-coach-dialog header{display:flex;align-items:center;gap:14px}.csgm-coach-dialog header .csgm-person-portrait{width:88px;height:100px}.csgm-coach-dialog h2{font-size:21px;overflow-wrap:anywhere}.csgm-coach-dialog p{font-size:12px;line-height:1.6}.csgm-coach-dialog small{color:#ffb56b;font-size:10px}.csgm-coach-facts{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}.csgm-coach-facts dt{font-size:10px;color:#a9b6c8}.csgm-coach-facts dd{margin:5px 0;font-size:13px}.csgm-coach-dialog>button{min-height:36px;color:#e1e8f1;background:#303640;border:1px solid #596270;border-radius:3px;padding:7px 14px;cursor:pointer}
.csgm-training-token>i:has(.csgm-person-portrait),.csgm-slot-player>i:has(.csgm-person-portrait),.csgm-training-identity>i:has(.csgm-person-portrait),.csgm-coach-icon:has(.csgm-person-portrait){padding:0!important;overflow:hidden;display:block!important;flex-shrink:0}.csgm-training-token>i>.csgm-person-portrait,.csgm-slot-player>i>.csgm-person-portrait,.csgm-training-identity>i>.csgm-person-portrait,.csgm-coach-icon>.csgm-person-portrait{width:100%;height:100%;border:0;display:block}.csgm-training-hub .csgm-coach-icon:has(.csgm-person-portrait){width:30px;height:36px}.csgm-training-hub .csgm-training-identity>i{width:52px;height:62px}.csgm-training-coach-heading{display:flex;align-items:center;gap:10px}.csgm-training-coach-heading>.csgm-person-portrait{width:55px;height:64px}.csgm-training-summary .csgm-person-portrait{width:26px;height:30px;margin-right:7px;float:left}
[data-active-coach]>.csgm-person-portrait{margin-right:8px}.roster-row strong>.csgm-person-portrait{margin-right:8px}.mw-avatar .csgm-person-portrait{display:block;width:100%;height:100%;border:0}.mw-dialog>header:has(.csgm-person-portrait){display:grid;grid-template-columns:62px minmax(0,1fr) auto;gap:12px;align-items:center}.mw-dialog>header>.csgm-person-portrait{width:62px;height:74px}.csgm-team-inline{display:inline-flex;align-items:center;gap:5px;min-width:0}
@media(max-width:600px){.csgm-coach-dialog header{gap:10px}.csgm-coach-dialog h2{font-size:17px}.comp-result .csgm-team-logo{width:18px;height:18px;margin-right:3px}.csgm-team-logo{width:24px;height:24px}}
@media(max-width:400px){.csgm-workspace .csgm-context-nav{gap:3px}.csgm-workspace .csgm-context-nav button{font-size:10px;padding:7px 6px;gap:4px}.csgm-workspace .csgm-context-nav button .csgm-ui-icon{width:14px;height:14px}}
