/*
 * Phosphor Icons - 自托管精简版（regular / duotone / fill 三字重）
 * 来源：@phosphor-icons/web@2.1.1
 * 字体位于 ./fonts/，本 CSS 只保留两页站点实际用到的图标定义，
 * 避免引入完整 style.css（每字重约 1400 图标）。
 * License: MIT - https://github.com/phosphor-icons/web
 *
 * 等价替换原 <script src="https://unpkg.com/@phosphor-icons/web@2.1.1"></script>
 */

/* ===== Regular ===== */
@font-face {
  font-family: "Phosphor";
  src: url("./fonts/Phosphor.woff2") format("woff2"),
       url("./fonts/Phosphor.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
.ph {
  font-family: "Phosphor" !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  letter-spacing: 0;
  font-feature-settings: "liga";
  -webkit-font-variant-ligatures: discretionary-ligatures;
  font-variant-ligatures: discretionary-ligatures;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== Duotone（双层：:before 浅底 opacity .2，:after 主层负 margin 重叠） ===== */
@font-face {
  font-family: "Phosphor-Duotone";
  src: url("./fonts/Phosphor-Duotone.woff2") format("woff2"),
       url("./fonts/Phosphor-Duotone.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
.ph-duotone {
  font-family: "Phosphor-Duotone" !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== Fill ===== */
@font-face {
  font-family: "Phosphor-Fill";
  src: url("./fonts/Phosphor-Fill.woff2") format("woff2"),
       url("./fonts/Phosphor-Fill.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
.ph-fill {
  font-family: "Phosphor-Fill" !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== Regular 图标（content 码取自 regular/style.css） ===== */
.ph.ph-arrow-counter-clockwise:before { content: "\e038"; }
.ph.ph-arrow-right:before { content: "\e06c"; }
.ph.ph-arrow-square-out:before { content: "\e5de"; }
.ph.ph-arrow-up:before { content: "\e08e"; }
.ph.ph-arrows-clockwise:before { content: "\e094"; }
.ph.ph-barcode:before { content: "\e0b8"; }
.ph.ph-books:before { content: "\e758"; }
.ph.ph-camera:before { content: "\e10e"; }
.ph.ph-check-circle:before { content: "\e184"; }
.ph.ph-circle:before { content: "\e18a"; }
.ph.ph-circle-dashed:before { content: "\e602"; }
.ph.ph-clock:before { content: "\e19a"; }
.ph.ph-code:before { content: "\e1bc"; }
.ph.ph-credit-card:before { content: "\e1d2"; }
.ph.ph-cube:before { content: "\e1da"; }
.ph.ph-device-mobile:before { content: "\e1e0"; }
.ph.ph-file-lock:before { content: "\ea3c"; }   /* 原 ph-file-key 在 2.1.1 不存在，用最接近的 file-lock */
.ph.ph-file-text:before { content: "\e23a"; }
.ph.ph-fingerprint:before { content: "\e23e"; }
.ph.ph-flag:before { content: "\e244"; }
.ph.ph-folders:before { content: "\e260"; }
.ph.ph-hash:before { content: "\e2a2"; }
.ph.ph-info:before { content: "\e2ce"; }
.ph.ph-key:before { content: "\e2d6"; }
.ph.ph-keyhole:before { content: "\ea78"; }
.ph.ph-list-checks:before { content: "\eadc"; }
.ph.ph-monitor:before { content: "\e32e"; }
.ph.ph-notebook:before { content: "\e34e"; }
.ph.ph-pause-circle:before { content: "\e3a0"; }
.ph.ph-pencil-simple:before { content: "\e3b4"; }
.ph.ph-plus:before { content: "\e3d4"; }
.ph.ph-question:before { content: "\e3e8"; }
.ph.ph-shield-check:before { content: "\e40c"; }
.ph.ph-squares-four:before { content: "\e464"; }
.ph.ph-stack:before { content: "\e466"; }
.ph.ph-terminal-window:before { content: "\eae8"; }
.ph.ph-tree-structure:before { content: "\e67c"; }
.ph.ph-user-circle:before { content: "\e4c4"; }
.ph.ph-warning:before { content: "\e4e0"; }
.ph.ph-wrench:before { content: "\e5d4"; }

/* ===== Duotone 图标（before=浅底/after=主层，码取自 duotone/style.css） ===== */
.ph-duotone.ph-check-circle:before { content: "\e184"; opacity: 0.2; }
.ph-duotone.ph-check-circle:after  { content: "\e185"; margin-left: -1em; }
.ph-duotone.ph-code:before { content: "\e1bc"; opacity: 0.2; }
.ph-duotone.ph-code:after  { content: "\e1bd"; margin-left: -1em; }
.ph-duotone.ph-credit-card:before { content: "\e1d2"; opacity: 0.2; }
.ph-duotone.ph-credit-card:after  { content: "\e1d3"; margin-left: -1em; }
.ph-duotone.ph-cube:before { content: "\e1da"; opacity: 0.2; }
.ph-duotone.ph-cube:after  { content: "\e1db"; margin-left: -1em; }
.ph-duotone.ph-folders:before { content: "\e260"; opacity: 0.2; }
.ph-duotone.ph-folders:after  { content: "\e261"; margin-left: -1em; }
.ph-duotone.ph-info:before { content: "\e2ce"; opacity: 0.2; }
.ph-duotone.ph-info:after  { content: "\e2cf"; margin-left: -1em; }
.ph-duotone.ph-keyhole:before { content: "\ea78"; opacity: 0.2; }
.ph-duotone.ph-keyhole:after  { content: "\ea79"; margin-left: -1em; }
.ph-duotone.ph-list-checks:before { content: "\eadc"; opacity: 0.2; }
.ph-duotone.ph-list-checks:after  { content: "\eadd"; margin-left: -1em; }
.ph-duotone.ph-pause-circle:before { content: "\e3a0"; opacity: 0.2; }
.ph-duotone.ph-pause-circle:after  { content: "\e3a1"; margin-left: -1em; }
.ph-duotone.ph-stack:before { content: "\e466"; opacity: 0.2; }
.ph-duotone.ph-stack:after  { content: "\e467"; margin-left: -1em; }
.ph-duotone.ph-tree-structure:before { content: "\e67c"; opacity: 0.2; }
.ph-duotone.ph-tree-structure:after  { content: "\e67d"; margin-left: -1em; }
.ph-duotone.ph-warning:before { content: "\e4e0"; opacity: 0.2; }
.ph-duotone.ph-warning:after  { content: "\e4e1"; margin-left: -1em; }
.ph-duotone.ph-notebook:before { content: "\e34e"; opacity: 0.2; }
.ph-duotone.ph-notebook:after  { content: "\e34f"; margin-left: -1em; }

/* ===== Fill 图标（码取自 fill/style.css） ===== */
.ph-fill.ph-credit-card:before { content: "\e1d2"; }
.ph-fill.ph-notebook:before { content: "\e34e"; }
