/* 视频字幕字体样式定义 - 本地字体 + CDN混合方案 */

/* 1. 思源黑体 - 优雅现代 (使用CDN) */
@font-face {
    font-family: 'Source Han Sans CN';
    src: url('https://fonts.cdnfonts.com/s/12175/SourceHanSansCN-Regular-2.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* 2. 思源宋体 - 优雅传统 (使用CDN) */
@font-face {
    font-family: 'Source Han Serif CN';
    src: url('https://fonts.cdnfonts.com/s/12176/SourceHanSerifCN-Regular-2.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* 3. 阿里巴巴普惠体 - 清晰易读 (使用CDN) */
@font-face {
    font-family: 'Alibaba PuHuiTi';
    src: url('https://puhuiti.oss-cn-hangzhou.aliyuncs.com/AlibabaPuHuiTi-2/AlibabaPuHuiTi-2-55-Regular/AlibabaPuHuiTi-2-55-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* 4. 站酷快乐体 - 手写风格 (✅ 本地文件) */
@font-face {
    font-family: 'ZCOOL KuaiLe';
    src: local('ZCOOL KuaiLe'),
         url('/fonts/ZCOOLKuaiLe-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* 5. 站酷庆科黄油体 - 力量感 (✅ 本地文件) */
@font-face {
    font-family: 'ZCOOL QingKe HuangYou';
    src: local('ZCOOL QingKe HuangYou'),
         url('/fonts/ZCOOLQingKeHuangYou-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* 6. 霞鹜文楷 - 手写楷体 (使用CDN) */
@font-face {
    font-family: 'LXGW WenKai';
    src: url('https://cdn.jsdelivr.net/npm/lxgw-wenkai-webfont@1.1.0/lxgwwenkai-regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* 7. Noto Sans CJK SC - 通用标准 (Google Fonts CDN) */
@font-face {
    font-family: 'Noto Sans CJK SC';
    src: url('https://fonts.gstatic.com/s/notosanssc/v36/k3kCo84MPvpLmixcA63oeALhL4iJ-Q7m8w.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* 字体预加载提示类 */
.font-loading {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', sans-serif !important;
}

/* 字体加载完成类 */
.font-loaded {
    font-family: var(--selected-font, 'Source Han Sans CN'), sans-serif;
}

