/* PingFang SC font fallback for Windows */
@font-face {
    font-family: 'PingFang SC';
    src: local('PingFang SC'), local('Microsoft YaHei'), local('Segoe UI');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Microsoft YaHei';
    src: local('Microsoft YaHei'), local('PingFang SC'), local('Segoe UI');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Microsoft YaHei';
    src: local('Microsoft YaHei Bold'), local('Microsoft YaHei'), local('Segoe UI');
    font-weight: bold;
    font-style: normal;
}

/* System font stack for better compatibility */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 
                 'Helvetica Neue', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
}

h1, h2, h3, h4, h5, h6 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 
                 'Helvetica Neue', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
}

button, input, select, textarea {
    font-family: inherit;
}