/* ================================================================
   小喷喷官网 2026 — 字体样式表
   ----------------------------------------------------------------
   精简说明：
   - 仅保留站点实际使用的 Poppins 字重（400/500/700），删除
     italic 全系列与 600/800/900 未使用字重及 devanagari 子集，
     @font-face 由 36 条精简为 6 条。
   - 新增中文字体支持：中文不走 woff2 文件（体积过大），而是
     通过 local() 命中系统中文字体（苹方 / 微软雅黑 / 思源黑体），
     unicode-range 限定 CJK 区段，与拉丁字体互不干扰。
   ================================================================ */

/* ---------- Poppins（拉丁字符） ---------- */
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../font/pxiEyp8kv8JHgFVrJJnecmNE.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../font/pxiEyp8kv8JHgFVrJJfecg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../font/pxiByp8kv8JHgFVrLGT9Z1JlFc-K.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../font/pxiByp8kv8JHgFVrLGT9Z1xlFQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../font/pxiByp8kv8JHgFVrLCz7Z1JlFc-K.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../font/pxiByp8kv8JHgFVrLCz7Z1xlFQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- 中文字体（local() 命中系统字体，零下载） ---------- */
/* 思源黑体 / 苹方 / 微软雅黑：正文与标题 */
@font-face {
  font-family: 'CJK Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src:
    local('Noto Sans SC'),
    local('Source Han Sans SC'),
    local('PingFang SC'),
    local('Microsoft YaHei'),
    local('Hiragino Sans GB'),
    local('Heiti SC');
  unicode-range:
    U+3000-303F, U+3105-312F, U+3400-4DBF, U+4E00-9FFF, U+FF00-FFEF,
    U+F900-FAFF, U+20000-2A6DF, U+2E80-2EFF;
}
/* 思源宋体 / 宋体：备用衬线 */
@font-face {
  font-family: 'CJK Serif';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src:
    local('Noto Serif SC'),
    local('Source Han Serif SC'),
    local('Songti SC'),
    local('SimSun');
  unicode-range:
    U+3000-303F, U+3105-312F, U+3400-4DBF, U+4E00-9FFF, U+FF00-FFEF,
    U+F900-FAFF, U+20000-2A6DF, U+2E80-2EFF;
}

/* ---------- 字体族栈：英文 Poppins，中文自动回退到 CJK Sans ---------- */
:root {
  --font-sans:
    'Poppins', 'CJK Sans', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei',
    'Hiragino Sans GB', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-serif:
    'Poppins', 'CJK Serif', 'Noto Serif SC', 'Songti SC', 'SimSun', Georgia, serif;
  --font-family: var(--font-sans);
}

/* 中文排版基础：行高、断行、禁则处理 */
html {
  line-break: normal;
  word-break: normal;
  overflow-wrap: break-word;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  font-family: var(--font-sans);
  line-height: 1.6;
  /* 中文无斜体字形，禁止浏览器合成伪斜体 */
  font-synthesis: weight;
}
input, textarea, select, button {
  font-family: inherit;
  font-size: inherit;
}
