/*
 * 手游 PC 门户专用本地图标兼容层
 * 仅在 body.gamewl-pc-local-page 内生效，不影响其他榜单页面。
 */
.gamewl-pc-local-page {
    font-family: Arial, "Microsoft YaHei", "PingFang SC",
                 "Hiragino Sans GB", "Noto Sans CJK SC", sans-serif;
}

.gamewl-pc-local-page i.fas,
.gamewl-pc-local-page i.far {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-style: normal;
    vertical-align: -0.125em;
}

.gamewl-pc-local-page i.fas > svg.svg-inline--fa,
.gamewl-pc-local-page i.far > svg.svg-inline--fa {
    display: inline-block;
    width: 1em;
    height: 1em;
    overflow: visible;
    vertical-align: -0.125em;
    color: inherit;
    fill: currentColor;
    flex: 0 0 auto;
}

/* 保留原模板中图标右侧间距和按钮布局 */
.gamewl-pc-local-page .search-btn i > svg,
.gamewl-pc-local-page .sec-title i > svg,
.gamewl-pc-local-page .hz-title i > svg,
.gamewl-pc-local-page .rank-head-left i > svg,
.gamewl-pc-local-page .r-tag i > svg {
    pointer-events: none;
}

/* Font Awesome nest 模式下，隐藏可能存在的旧字体伪元素 */
.gamewl-pc-local-page i.fas::before,
.gamewl-pc-local-page i.far::before {
    content: none !important;
    display: none !important;
}

/* 加载图标旋转 */
.gamewl-pc-local-page i.fa-spin > svg,
.gamewl-pc-local-page svg.fa-spin {
    animation: gamewl-local-fa-spin 1s linear infinite;
}

@keyframes gamewl-local-fa-spin {
    to { transform: rotate(360deg); }
}
