.matt-player-card{display:inline-flex;flex-direction:column;align-items:center;gap:7px;vertical-align:middle;width:100px;max-width:100%;text-align:center;line-height:1.35}.matt-player-photo{display:block;width:64px;height:64px;flex-shrink:0;object-fit:cover;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px #dce3d4;background:#e8efdb}.matt-player-name{font-size:12px;font-weight:700;overflow-wrap:anywhere;white-space:normal;max-width:100%}.private-team li .matt-player-card{width:100%}.private-team li{list-style:none}.players-table td:has(.matt-player-card){text-align:center}.numbered-team-player:has(.matt-player-card){display:inline-flex;align-items:center;gap:4px}.t-teams li:has(.numbered-team-player){flex-wrap:wrap}.player-avatar-preview-row{display:none!important}#profile-avatar-editor{padding:16px;border:1px solid #dce3d4;border-radius:16px;background:#f5f8ee}#profile-avatar-editor h3{margin:0 0 14px}#profile-avatar-editor p{font-size:12px;line-height:1.6}#profile-avatar-editor .matt-player-photo{width:96px;height:96px}#profile-avatar-editor [role=status]{min-height:1.5em}@media(max-width:480px){.matt-player-card{width:82px}.matt-player-photo{width:58px;height:58px}.matt-player-name{font-size:11px}}@media print{.matt-player-photo{width:34px;height:34px}.matt-player-card{width:85px;break-inside:avoid}}

/* Keep the roster and court draw in their own full-width sections on every layout. */
.game-main>.roster{display:block;width:100%;min-width:0}
.game-main .roster-names{display:block!important;width:100%;min-width:0;overflow-x:auto}
.game-main .roster-names>.players-table{display:table;width:100%;margin:0 0 24px;float:none}
.game-main .court-draw-public{display:block;clear:both;width:100%;margin-top:24px}
.game-main .court-draw-public .court-draw-card>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.game-main .court-draw-public .court-draw-card>div>span{display:flex;align-items:flex-start;justify-content:center;gap:6px;min-width:0}
.game-main .court-draw-public .court-draw-card>div>span>b{padding-top:6px}
.players-table .player-name>.matt-player-card{display:flex;margin:0 auto}
.players-table .roster-partner{display:block;margin-top:5px;text-align:center;font-size:11px}
.matt-cartoon{overflow:hidden}
.game-main .roster>.avatar-row{display:none!important}

.header-account{display:flex;align-items:center;gap:8px;margin-top:5px;min-width:0}.header-account:has(.header-avatar[hidden]):has(.header-greeting[hidden]){display:none}.header-account .header-greeting{margin:0}.header-avatar{display:inline-flex;flex:none;align-items:center;border-radius:50%;text-decoration:none}.header-avatar[hidden]{display:none!important}.header-avatar .matt-player-card{width:32px;gap:0}.header-avatar .matt-player-photo{width:32px;height:32px}.header-avatar .matt-player-name{display:none}.header-avatar:focus-visible{outline:3px solid #8ba43b;outline-offset:3px}
