@font-face {
    font-family: AlibabaPuHuiTi-2-45-Light;
    font-weight: 250;
    src: url("../../font/PuHuiTi-2-45-Light/index.woff2") format("woff2"),
    url("../../font/PuHuiTi-2-45-Light/index.woff") format("woff");
    font-display: swap;
}

/* 在线链接服务仅供平台体验和调试使用，平台不承诺服务的稳定性，企业客户需下载字体包自行发布使用并做好备份。 */
@font-face {
    font-family: AlibabaPuHuiTi-2-65-Medium;
    font-weight: 500;
    src: url("../../font/PuHuiTi-2-65-Medium/index.woff2") format("woff2"),
    url("../../font/PuHuiTi-2-65-Medium/index.woff") format("woff");
    font-display: swap;
}

@font-face {
    font-family: AlibabaPuHuiTi-2-55-Regular;
    src: url("../../font/PuHuiTi-2-55-Regular/index.eot") format('embedded-opentype'),
    url("../../font/PuHuiTi-2-55-Regular/index.otf") format('opentype'),
    url("../../font/PuHuiTi-2-55-Regular/index.ttf") format('TrueType'),
    url("../../font/PuHuiTi-2-55-Regular/index.woff") format('woff'),
    url("../../font/PuHuiTi-2-55-Regular/index.woff2") format('woff2');
}

/* 第一步：统一定义 Inter 字体家族，区分不同字重 */
/* 定义常规（Regular）：对应 font-weight: 400，使用 Inter-Medium */
@font-face {
    font-family: "Inter";
    src: url("../../font/Inter-Medium.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* 定义中等粗细（Medium）：对应 font-weight: 500 */
@font-face {
    font-family: "Inter"; /* 核心：字体家族名统一为 Inter */
    src: url("../../font/Inter-Medium.otf") format("opentype");
    font-weight: 500; /* Medium 对应 500（固定值） */
    font-style: normal;
    font-display: swap; /* 兜底显示，避免加载延迟 */
}

/* 定义特粗（ExtraBold）：对应 font-weight: 800 */
@font-face {
    font-family: "Inter"; /* 字体家族名保持一致！ */
    src: url("../../font/Inter-ExtraBold.otf") format("opentype");
    font-weight: 800; /* ExtraBold 对应 800（固定值） */
    font-style: normal;
    font-display: swap;
}

body {
    font-family: SourceHanSansCN, SourceHanSansCN,AlibabaPuHuiTi-2-55-Regular, system-ui, "Microsoft YaHei";
    min-width: 1520px;
    user-select: none
}

/* 英文页面使用 Inter 字体 */
html[lang="en"] body {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

*::-webkit-scrollbar-thumb {
    background-color: rgb(147, 147, 153, 0.5);
    -webkit-border-radius: 2em;
    -moz-border-radius: 2em;
    border-radius: 2em;
}
