/* ============================================================================
   pm_icons.css —— 图标字形层：.glyphicon-* 重定向到 Bootstrap Icons（V2.6.141）
   ============================================================================
   背景：全站 745 处图标都是 Bootstrap 3 的 `.glyphicon .glyphicon-xxx` 写法，
   BS5 已彻底移除图标字体（Glyphicons 从 BS4 起就被删了）。

   做法：**不改模板**。把 `.glyphicon` 的 font-family 换成 Bootstrap Icons，
   再用 `.glyphicon-xxx:before{content:"\\fXXXX"}` 把每个类的码点指向新字形。
   745 处 `class="glyphicon glyphicon-plus"` 一行都不用动，图标整体换新风格。

   为什么这样最划算：
     · 改模板要动 745 处、100 个文件，逐个核对 class 名，回归面巨大；
     · 换字形只动一张 CSS，出错只需改一行码点，且天然向后兼容 ——
       将来愿意改类名时，可以逐页把 glyphicon-xxx 换成 bi-xxx，本文件同步瘦身。

   ⚠ 原先 font-family 里保留 "Glyphicons Halflings" 作**第二顺位兜底**，但
     Bootstrap 3 下线（V2.6.142）时 `bootstrap/css/bootstrap.css` 被删，
     声明该字体族的 @font-face 一并消失；V2.6.152 又把 `bootstrap/fonts/`
     那 5 个字体文件清掉了。也就是说这个兜底**早已不生效**，留着只是无害的字符串。
     现口径：**映射表必须保持 0 缺口**，漏一个就是空白方块，没有降级可言。
   ⚠ 本文件必须加载在 bootstrap/css/bootstrap.css **之后**（覆盖其 :before 码点）。
   ============================================================================ */

@font-face {
  font-family: "bootstrap-icons";
  src: url("/bootstrap-icons/font/fonts/bootstrap-icons.woff2") format("woff2"),
       url("/bootstrap-icons/font/fonts/bootstrap-icons.woff") format("woff");
  font-display: block;
}

/* 主字体换掉；位置微调对齐（Bootstrap Icons 的字面比 Halflings 略矮） */
.glyphicon {
  font-family: "bootstrap-icons", "Glyphicons Halflings" !important;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  position: relative;
  top: 0;
  display: inline-block;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 逐个映射（右列注释 = 对应的 Bootstrap Icons 名，便于日后核对） */

.glyphicon-adjust:before { content: "\f288"; }   /* bi-circle-half */
.glyphicon-alert:before { content: "\f33b"; }   /* bi-exclamation-triangle */
.glyphicon-align-left:before { content: "\f5c7"; }   /* bi-text-left */
.glyphicon-archive:before { content: "\f10d"; }   /* bi-archive —— V2.6.142 补：后台图标速查表用到 */
.glyphicon-arrow-down:before { content: "\f128"; }   /* bi-arrow-down */
.glyphicon-arrow-left:before { content: "\f12f"; }   /* bi-arrow-left */
.glyphicon-arrow-right:before { content: "\f138"; }   /* bi-arrow-right */
.glyphicon-arrow-up:before { content: "\f148"; }   /* bi-arrow-up */
.glyphicon-asterisk:before { content: "\f151"; }   /* bi-asterisk */
.glyphicon-ban-circle:before { content: "\f567"; }   /* bi-slash-circle */
.glyphicon-bell:before { content: "\f18a"; }   /* bi-bell */
.glyphicon-book:before { content: "\f194"; }   /* bi-book */
.glyphicon-bookmark:before { content: "\f1a2"; }   /* bi-bookmark —— V2.6.142 补：快捷入口默认图标用到 */
.glyphicon-briefcase:before { content: "\f1cc"; }   /* bi-briefcase */
.glyphicon-building:before { content: "\f1dd"; }   /* bi-building —— V2.6.142 补：后台图标速查表用到 */
.glyphicon-bullhorn:before { content: "\f484"; }   /* bi-megaphone */
.glyphicon-calendar:before { content: "\f1f6"; }   /* bi-calendar */
.glyphicon-camera:before { content: "\f220"; }   /* bi-camera */
.glyphicon-chart-bar:before { content: "\f17e"; }   /* bi-bar-chart —— V2.6.142 补：后台图标速查表用到 */
.glyphicon-check:before { content: "\f272"; }   /* bi-check2 */
.glyphicon-chevron-down:before { content: "\f282"; }   /* bi-chevron-down */
.glyphicon-chevron-left:before { content: "\f284"; }   /* bi-chevron-left */
.glyphicon-chevron-right:before { content: "\f285"; }   /* bi-chevron-right */
.glyphicon-chevron-up:before { content: "\f286"; }   /* bi-chevron-up */
.glyphicon-clock:before { content: "\f293"; }   /* bi-clock —— V2.6.142 补：后台图标速查表用到 */
.glyphicon-cloud:before { content: "\f2c1"; }   /* bi-cloud */
.glyphicon-cog:before { content: "\f3e5"; }   /* bi-gear */
.glyphicon-cogs:before { content: "\f3e3"; }   /* bi-gear-wide-connected —— V2.6.142 补：后台图标速查表用到 */
.glyphicon-collapse-down:before { content: "\f282"; }   /* bi-chevron-down */
.glyphicon-comment:before { content: "\f268"; }   /* bi-chat */
.glyphicon-console:before { content: "\f5c3"; }   /* bi-terminal */
.glyphicon-credit-card:before { content: "\f2dc"; }   /* bi-credit-card */
.glyphicon-dashboard:before { content: "\f580"; }   /* bi-speedometer2 */
.glyphicon-database:before { content: "\f8c4"; }   /* bi-database —— V2.6.142 补：后台图标速查表用到 */
.glyphicon-download:before { content: "\f30a"; }   /* bi-download */
.glyphicon-download-alt:before { content: "\f30a"; }   /* bi-download */
.glyphicon-duplicate:before { content: "\f759"; }   /* bi-copy */
.glyphicon-earphone:before { content: "\f414"; }   /* bi-headset */
.glyphicon-edit:before { content: "\f4ca"; }   /* bi-pencil-square */
.glyphicon-envelope:before { content: "\f32f"; }   /* bi-envelope */
.glyphicon-erase:before { content: "\f331"; }   /* bi-eraser */
.glyphicon-exclamation-sign:before { content: "\f333"; }   /* bi-exclamation-circle */
.glyphicon-export:before { content: "\f1c6"; }   /* bi-box-arrow-up */
.glyphicon-eye:before { content: "\f341"; }   /* bi-eye —— V2.6.142 补：后台图标速查表用到 */
.glyphicon-eye-close:before { content: "\f340"; }   /* bi-eye-slash */
.glyphicon-eye-open:before { content: "\f341"; }   /* bi-eye */
.glyphicon-file:before { content: "\f38b"; }   /* bi-file-earmark-text */
.glyphicon-file-text:before { content: "\f3b9"; }   /* bi-file-text */
.glyphicon-filter:before { content: "\f3e1"; }   /* bi-funnel */
/* V2.6.144：顶栏「新闻公告」用 fire。它来自 $pm_nav_icons_v['news']='fire'，
   是**运行时拼接**（glyphicon-<?php echo $arr[$k]?>），静态 grep 抓不到，
   于是这个图标一直是空白 —— 表现为按钮里有个看不见的占位，看着像缩进错位。 */
.glyphicon-fire:before { content: "\f7f6"; }   /* bi-fire */
.glyphicon-flag:before { content: "\f3cc"; }   /* bi-flag */
.glyphicon-flash:before { content: "\f46f"; }   /* bi-lightning */
.glyphicon-floppy-disk:before { content: "\f7d8"; }   /* bi-floppy */
.glyphicon-folder-close:before { content: "\f3d7"; }   /* bi-folder */
.glyphicon-folder-open:before { content: "\f3d8"; }   /* bi-folder2-open */
.glyphicon-fullscreen:before { content: "\f3df"; }   /* bi-fullscreen */
.glyphicon-gift:before { content: "\f3ec"; }   /* bi-gift */
.glyphicon-globe:before { content: "\f3ee"; }   /* bi-globe */
.glyphicon-graph:before { content: "\f3f2"; }   /* bi-graph-up —— V2.6.142 补：后台图标速查表用到 */
.glyphicon-hand-right:before { content: "\f402"; }   /* bi-hand-index-thumb —— V2.6.142 补：快捷入口「我下达的」用到 */
.glyphicon-heart:before { content: "\f417"; }   /* bi-heart */
.glyphicon-home:before { content: "\f425"; }   /* bi-house */
.glyphicon-hourglass:before { content: "\f421"; }   /* bi-hourglass */
.glyphicon-import:before { content: "\f1bc"; }   /* bi-box-arrow-in-down */
.glyphicon-inbox:before { content: "\f42d"; }   /* bi-inbox */
.glyphicon-info-sign:before { content: "\f431"; }   /* bi-info-circle */
.glyphicon-link:before { content: "\f470"; }   /* bi-link-45deg */
.glyphicon-list:before { content: "\f478"; }   /* bi-list-ul */
.glyphicon-list-alt:before { content: "\f227"; }   /* bi-card-list */
.glyphicon-lock:before { content: "\f47b"; }   /* bi-lock */
.glyphicon-log-in:before { content: "\f1be"; }   /* bi-box-arrow-in-right */
.glyphicon-log-out:before { content: "\f1c3"; }   /* bi-box-arrow-right */
.glyphicon-map-marker:before { content: "\f3e8"; }   /* bi-geo-alt —— V2.6.142 补：后台图标速查表用到 */
.glyphicon-minus:before { content: "\f2ea"; }   /* bi-dash */
.glyphicon-moon:before { content: "\f497"; }   /* bi-moon */
.glyphicon-new-window:before { content: "\f1c5"; }   /* bi-box-arrow-up-right */
.glyphicon-off:before { content: "\f4ff"; }   /* bi-power */
.glyphicon-ok:before { content: "\f633"; }   /* bi-check-lg */
.glyphicon-ok-circle:before { content: "\f26b"; }   /* bi-check-circle */
.glyphicon-ok-sign:before { content: "\f26b"; }   /* bi-check-circle */
.glyphicon-paperclip:before { content: "\f4b3"; }   /* bi-paperclip */
.glyphicon-pencil:before { content: "\f4cb"; }   /* bi-pencil */
.glyphicon-phone:before { content: "\f5c1"; }   /* bi-telephone */
.glyphicon-picture:before { content: "\f42a"; }   /* bi-image */
.glyphicon-plane:before { content: "\f7cd"; }   /* bi-airplane */
.glyphicon-plus:before { content: "\f64d"; }   /* bi-plus-lg */
.glyphicon-plus-sign:before { content: "\f4fa"; }   /* bi-plus-circle */
.glyphicon-print:before { content: "\f501"; }   /* bi-printer */
.glyphicon-question-sign:before { content: "\f505"; }   /* bi-question-circle */
.glyphicon-random:before { content: "\f544"; }   /* bi-shuffle */
.glyphicon-record:before { content: "\f518"; }   /* bi-record-circle */
.glyphicon-refresh:before { content: "\f116"; }   /* bi-arrow-clockwise */
.glyphicon-remove:before { content: "\f659"; }   /* bi-x-lg */
.glyphicon-remove-circle:before { content: "\f623"; }   /* bi-x-circle */
.glyphicon-repeat:before { content: "\f130"; }   /* bi-arrow-repeat */
.glyphicon-retweet:before { content: "\f130"; }   /* bi-arrow-repeat */
.glyphicon-save:before { content: "\f7d8"; }   /* bi-floppy */
.glyphicon-save-file:before { content: "\f356"; }   /* bi-file-earmark-arrow-down */
.glyphicon-search:before { content: "\f52a"; }   /* bi-search */
.glyphicon-send:before { content: "\f6c0"; }   /* bi-send */
.glyphicon-share:before { content: "\f52e"; }   /* bi-share */
.glyphicon-share-alt:before { content: "\f52e"; }   /* bi-share */
.glyphicon-shopping-cart:before { content: "\f242"; }   /* bi-cart */
.glyphicon-sitemap:before { content: "\f2ee"; }   /* bi-diagram-3 —— V2.6.142 补：后台图标速查表用到 */
.glyphicon-sort:before { content: "\f127"; }   /* bi-arrow-down-up */
.glyphicon-sort-by-order:before { content: "\f577"; }   /* bi-sort-numeric-down */
.glyphicon-star:before { content: "\f588"; }   /* bi-star */
.glyphicon-stats:before { content: "\f17e"; }   /* bi-bar-chart */
.glyphicon-stop:before { content: "\f591"; }   /* bi-stop-circle */
.glyphicon-sun:before { content: "\f5a2"; }   /* bi-sun */
.glyphicon-tag:before { content: "\f5b0"; }   /* bi-tag */
.glyphicon-tags:before { content: "\f5b2"; }   /* bi-tags */
.glyphicon-tasks:before { content: "\f473"; }   /* bi-list-check */
.glyphicon-th:before { content: "\f3fa"; }   /* bi-grid-3x3 */
.glyphicon-th-large:before { content: "\f3f9"; }   /* bi-grid-3x3-gap */
.glyphicon-th-list:before { content: "\f479"; }   /* bi-list */
.glyphicon-time:before { content: "\f293"; }   /* bi-clock */
.glyphicon-tint:before { content: "\f30d"; }   /* bi-droplet */
.glyphicon-transfer:before { content: "\f12b"; }   /* bi-arrow-left-right */
.glyphicon-trash:before { content: "\f5de"; }   /* bi-trash */
.glyphicon-tree-conifer:before { content: "\f5e2"; }   /* bi-tree */
.glyphicon-triangle-bottom:before { content: "\f229"; }   /* bi-caret-down-fill */
.glyphicon-triangle-top:before { content: "\f235"; }   /* bi-caret-up-fill */
.glyphicon-upload:before { content: "\f603"; }   /* bi-upload */
.glyphicon-usd:before { content: "\f636"; }   /* bi-currency-dollar */
.glyphicon-user:before { content: "\f4e1"; }   /* bi-person */
.glyphicon-user-plus:before { content: "\f4dd"; }   /* bi-person-plus */
.glyphicon-warning-sign:before { content: "\f33b"; }   /* bi-exclamation-triangle */
.glyphicon-wrench:before { content: "\f621"; }   /* bi-wrench */
.glyphicon-yen:before { content: "\f63a"; }   /* bi-currency-yen */
