/* FindFont test page - left/right layout
 * IE9/10：避免依赖 CSS 变量 / :has / gap；grid 用 float 兜底 */
body.ff-findfont-test {
    overflow: hidden;
}

body.ff-findfont-test .fz-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    /* 必须高于 .ff-main，否则用户下拉菜单会被字体列表挡住 */
    z-index: 100;
}

body.ff-findfont-test .fz-body {
    padding-top: 112px; /* IE 兜底；JS 会按实际 header 高度覆盖 */
}

.ff-page {
    min-width: 1200px;
    box-sizing: border-box;
    padding: 0 0 16px 0;
    background: #fff;
    /* IE9 不用 calc；高度由 JS 按 header 动态设置 */
    height: 800px;
    overflow: hidden;
}

.ff-layout {
    height: 100%;
    *zoom: 1;
}

.ff-layout:after {
    content: '';
    display: block;
    clear: both;
    height: 0;
    overflow: hidden;
}

/* ---- Left sidebar filters ---- */
.ff-sidebar {
    float: left;
    width: 300px;
    height: 100%;
    overflow-y: auto;
    border-right: 1px solid rgba(232,234,238,1);
    position: relative;
}
.hideSideBar {
    width: 15px;
    height: 15px;
    position: absolute;
    left: 10px;
    top: 15px;
    z-index: 2;
    margin: 0;
    padding: 0;
    border: none;
    background: url(../img/newfindfont/hideSidebar.png) no-repeat center;
    background-size: contain;
    cursor: pointer;
    outline: none;
}

/* 挂到 body 上的提示（避免被头部/主内容互相遮挡） */
.hideSideBar-tip {
    display: none;
    position: fixed;
    width: 72px;
    height: 36px;
    background: url(../img/newfindfont/hidesidebartips.png) no-repeat center bottom;
    background-size: contain;
    pointer-events: none;
    z-index: 101;
}

.hideSideBar-tip.is-open-tip {
    width: 80px;
    height: 32px;
    background-image: url(../img/newfindfont/opensidebartips.png);
    background-position: center left;
}

.hideSideBar-tip.is-visible {
    display: block;
}

.ff-page.ff-sidebar-hidden .ff-sidebar {
    display: none;
}

.ff-page.ff-sidebar-hidden .ff-main {
    margin-left: 0;
    padding-left: 70px;
}
.ff-sidebar::-webkit-scrollbar,
.ff-font-scroll::-webkit-scrollbar {
    width: 6px;
}

.ff-sidebar {
    scrollbar-color: #DADCE1 transparent;
    scrollbar-width: thin;
}

.ff-sidebar::-webkit-scrollbar-thumb {
    background: #DADCE1;
    border-radius: 3px;
}

.ff-sidebar::-webkit-scrollbar-thumb:hover {
    background: #DADCE1;
}

.ff-font-scroll::-webkit-scrollbar-thumb {
    background: #999;
    border-radius: 3px;
}

.ff-font-scroll::-webkit-scrollbar-thumb:hover {
    background: #777;
}

.ff-sidebar::-webkit-scrollbar-track,
.ff-font-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.ff-filter-head {
    /* margin-bottom: 12px; */
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(232,234,238,1);
    padding-left: 20px;
    padding-top: 14px;
}
.ff-filter-head .filter-title {
    font-size: 14px;
    color: #707377;
    line-height: 22px;
}
.ff-filter-reset {
    width: 50px;
    height: 22px;
    background: #F1F3F7;
    border-radius: 6px;
    font-size: 12px;
    color: #808389;
    cursor: pointer;
    padding: 0;
    text-align: center;
    line-height: 22px;
    margin-left: 5px;
}
.ff-filter-reset.is-visible {
    background: #707377;
    color: #fff;
}
.ff-filter-reset  img{
    width: 10px;
    height: 10px;
    margin-top: 6px;
}
.ff-filter-group {
    padding-bottom: 11px;
    border-bottom: 1px solid rgba(232,234,238,1);
    /* border-bottom: 1px solid red; */
    padding-top: 11px;
    padding-left: 20px;
}

.ff-filter-group-head {
    *zoom: 1;
    margin-bottom: 12px;
}

.ff-filter-group-head:after {
    content: '';
    display: block;
    clear: both;
    height: 0;
    overflow: hidden;
}

.ff-filter-group-title {
    float: left;
    margin-bottom: 0;
    font-size: 14px;
    color: #1A1A1B;
    letter-spacing: 0;
    font-weight: 500;
    line-height: 24px;
}

.ff-filter-toggle {
    float: right;
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    text-align: center;
}

.ff-filter-toggle img {
    display: inline-block;
    width: 10px;
    height: auto;
    vertical-align: middle;
}

.ff-filter-group.is-section-collapsed .ff-filter-group-body {
    display: none;
}

.ff-filter-group.is-section-collapsed .ff-filter-group-head {
    margin-bottom: 0;
}

/* 筛选项统一 float，兼容 IE9（不用 flex / grid / gap / calc） */
.ff-filter-tags {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    *zoom: 1;
}

.ff-filter-tags:after {
    content: '';
    display: block;
    clear: both;
    height: 0;
    overflow: hidden;
}

.ff-filter-tags.is-collapsed {
    max-height: 88px;
}

/* 分类：一行 2 个，126 + 8 + 126 = 260，侧栏内容区约 280 */
#allManyTags4.is-collapsed {
    max-height: 124px; /* 36*3 + 8*2 */
}

#allManyTags4 li {
    float: left;
    width: 126px;
    height: 36px;
    margin: 0 8px 8px 0;
    padding: 0;
    line-height: 36px;
    font-size: 13px;
    color: #333;
    background: #F3F4F6;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
}

#allManyTags4 li:nth-child(2n) {
    margin-right: 0;
}

#allManyTags4 li:hover {
    background: #E8EAEE;
}

#allManyTags4 li.active {
    background: #05BC94;
    color: #fff;
}

/* 风格 / 特征：一行 3 个 */
#allManyTags1.is-collapsed,
#allManyTags2.is-collapsed {
    max-height: 106px; /* 30*3 + 8*2 */
}

#allManyTags1 li,
#allManyTags2 li {
    float: left;
    width: 81px;
    height: 30px;
    margin: 0 8px 8px 0;
    padding: 0;
    line-height: 30px;
    font-size: 13px;
    color: #333;
    background: #F3F4F6;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
}

#allManyTags1 li:nth-child(3n),
#allManyTags2 li:nth-child(3n) {
    margin-right: 0;
}

#allManyTags1 li:hover,
#allManyTags2 li:hover {
    background: #e8eaee;
}

#allManyTags1 li.active,
#allManyTags2 li.active {
    background: #05BC94;
    color: #fff;
}

/* 品牌 / 语言：自动宽度，左浮动换行 */
#allManyTags3.is-collapsed,
#allManyTags5.is-collapsed {
    max-height: 106px; /* 30*3 + 8*2 */
}

#allManyTags3 li,
#allManyTags5 li {
    float: left;
    width: auto;
    max-width: 100%;
    height: 30px;
    margin: 0 8px 8px 0;
    padding: 0 12px;
    line-height: 30px;
    font-size: 13px;
    color: #333;
    background: #F3F4F6;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
}

#allManyTags3 li:hover,
#allManyTags5 li:hover {
    background: #e8eaee;
}

#allManyTags3 li.active,
#allManyTags5 li.active {
    background: #05BC94;
    color: #fff;
}

/* 品牌 / 语言 - 旧复选框滚动区域（保留兼容） */
.ff-check-box {
    width: 260px;
    height: 200px;
    padding: 12px 8px 12px 12px;
    background: #F7F8FA;
    border-radius: 6px;
    box-sizing: border-box;
    overflow-y: auto;
    overflow-x: hidden;
}

.ff-check-box::-webkit-scrollbar {
    width: 4px;
}

.ff-check-box::-webkit-scrollbar-thumb {
    background: #999;
    border-radius: 2px;
}

.ff-check-box::-webkit-scrollbar-thumb:hover {
    background: #777;
}

.ff-check-box::-webkit-scrollbar-track {
    background: transparent;
}

.ff-check-item {
    display: flex;
    align-items: center;
    height: 35px;
    padding: 0 4px 0 0;
    cursor: pointer;
    user-select: none;
}

.ff-check-item + .ff-check-item {
    margin-top: 2px;
}

.ff-check-checkbox {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    pointer-events: none;
}

.ff-check-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-right: 10px;
    border: 1px solid #c5cad3;
    border-radius: 3px;
    background: #fff;
    box-sizing: border-box;
    position: relative;
    transition: all 0.2s;
}

.ff-check-checkbox:checked + .ff-check-icon {
    background: #14b8a6;
    border-color: #14b8a6;
}

.ff-check-checkbox:checked + .ff-check-icon:after {
    content: "";
    position: absolute;
    left: 4px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.ff-check-name {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    color: #333;
    line-height: 32px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ff-filter-tags li {
    cursor: pointer;
    white-space: nowrap;
}

.ff-filter-expand {
    display: none;
    width: 100%;
    margin-top: 8px;
    border: none;
    background: none;
    font-size: 12px;
    color: #888;
    cursor: pointer;
    padding: 0;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 15px;
}

.ff-filter-expand.is-visible {
    display: flex;
}

.ff-filter-expand:hover {
    color: #1a1a1b;
}

.ff-filter-expand-icon {
    display: block;
    width: 10px;
    height: auto;
    flex-shrink: 0;
}

.ff-filter-expand-text {
    line-height: 1;
}

.ff-page--search .ff-main {
    margin-left: 0;
}

.ff-page--search {
    padding-left: 20px;
}

/* ---- Right main content ---- */
.ff-main {
    margin-left: 300px;
    height: 100%;
    min-width: 0;
    padding-left: 70px;
    padding-right: 70px;
    position: relative;
    overflow: hidden;
}

.ff-font-scroll {
    overflow-y: auto;
    overflow-x: hidden;
    /* 负边距延伸到 .ff-main 的 padding 区，滚动条贴页面右缘 */
    margin-right: -70px;
    /* 高度由 JS 按工具栏实际高度计算，避免 flex/calc */
    height: 500px;
}

.ff-font-scroll .ff-font-list {
    padding-right: 70px;
    box-sizing: border-box;
}

.ff-ad-banner {
    margin-bottom: 16px;
    margin-right: 70px;
    position: relative;
}

.ff-ad-banner img {
    display: block;
    width: 100%;
}

.ff-ad-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    cursor: pointer;
}

/* Toolbar */
.ff-toolbar {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    background: #fff;
    border-bottom: 1px solid #eee;
   
    margin-bottom: 0;
    position: relative;
    top: auto;
}

.ff-toolbar.is-fixed {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.ff-stats {
    display: flex;
    align-items: baseline;
    gap: 24px;
   
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(232, 234, 238, 1);
    padding: 20px 0;
}

.ff-stats > div {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.ff-stats-label {
    color: #1A1A1B;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.2;
}

.ff-stats-num {
    color: #707377;
    font-size: 14px;
    line-height: 1.2;
}

.ff-toolbar-bar {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 58px;
}

.ff-toolbar-bar .ff-preview-input {
    flex: 1;
    min-width: 0;
    position: relative;
    height: 40px;
    border: none;
    background: transparent;
}

.ff-toolbar-bar .ff-preview-input input {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    padding: 0;
    font-size: 16px;
    color: #1A1A1B;
    background: transparent;
    box-sizing: border-box;
}

.ff-toolbar-bar .ff-preview-input span {
    position: absolute;
    left: 0;
    top: 0;
    line-height: 40px;
    font-size: 16px;
    color: #707377;
    pointer-events: none;
}

.ff-toolbar-item {
    flex-shrink: 0;
    position: relative;
    padding-left: 20px;
}

.ff-toolbar-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 20px;
    margin-top: -10px;
    background: #e8e8e8;
}

.ff-toolbar-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 20px;
}

.ff-toolbar-actions .ipbtn {
    display: none;
}

.ff-toolbar .feel-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    width: auto;
    flex-shrink: 0;
}

.ff-toolbar .fontcolorBox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ff-toolbar .fontcolor {
    font-size: 14px;
    color: #666;
    white-space: nowrap;
}

.ff-toolbar .change_color {
    position: relative;
    display: flex;
    align-items: center;
}

.ff-toolbar .change_color{
    width: 30px;
    height: 16px;
    border-radius: 12px;
    background: #05BC94;
    border-radius: 10px;
    position: relative;

}
.change_color .colorNgith{
    width: 10px;
    height: 10px;
    background: url(../img/newfindfont/night.png) no-repeat;
    background-size: 100%;
    position: absolute;
    left: 3px;
    top: 3px;
}
.change_color .colorDay{
    width: 10px;
    height: 10px;
    background: url(../img/newfindfont/day.png) no-repeat;
    background-size: 100%;
    position: absolute;
    right: 3px;
    top: 3px;
}
.switchChange{
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #FFF;
    position: absolute;
    left: 3px;
    top: 2px;
    cursor: pointer;
    transition: left 0.2s, right 0.2s;
}

.switchChange.is-on {
    left: auto;
    right: 3px;
}

.ff-toolbar .change_color {
    cursor: pointer;
}


.ff-toolbar .drag {
    display: flex;
    align-items: center;
    gap: 10px;
    height: auto;
    overflow: visible;
    margin: 0;
}

.ff-toolbar .drag img.minus,
.ff-toolbar .drag img.plus {
    display: none;
}

.ff-size-icon {
    font-size: 15px;
    color: #333;
    line-height: 1;
    user-select: none;
}

.ff-toolbar .parent {
    width: 100px;
    height: 4px;
    background: #e8e8e8;
    position: relative;
    border-radius: 2px;
    margin: 0;
}

.ff-toolbar .parent p {
    width: 32px;
    height: 100%;
    background: #14b8a6;
    border-radius: 2px;
    margin: 0;
}

.ff-toolbar .parent span {
    position: absolute;
    top: 50%;
    left: 32px;
    width: 14px;
    height: 14px;
    margin-top: -7px;
    background: #fff;
    border: 1px solid #363739;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.ff-toolbar .sortWrap {
    position: relative;
}

.ff-toolbar .sortInputWrap {
    display: flex;
    align-items: center;
    gap: 8px;
    height: auto;
    padding: 0;
    border: none;
    border-radius: 0;
    cursor: pointer;
    background: transparent;
}

.ff-sort-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    background:
        linear-gradient(#666, #666) 0 3px / 14px 2px no-repeat,
        linear-gradient(#666, #666) 0 7px / 10px 2px no-repeat,
        linear-gradient(#666, #666) 0 11px / 6px 2px no-repeat;
}

.ff-toolbar .sortInput {
    border: none;
    outline: none;
    width: auto;
    min-width: 56px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    background: transparent;
    padding: 0;
}

.ff-toolbar .sortDown {
    width: 10px;
    height: 6px;
    margin-left: 2px;
    background: url(../img/newfindfont/push.png) no-repeat center center;
    background-size: 100%;
}

.ff-toolbar .sortDropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    min-width: 120px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    z-index: 30;
    padding: 4px 0;
}

.ff-toolbar .sortInputWrap:hover .sortInput,
.ff-toolbar .sortInputWrap:hover .sortDown {
    opacity: 0.85;
}

.ff-toolbar .sortDropdownItem {
    padding: 10px 16px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    white-space: nowrap;
}

.ff-toolbar .sortDropdownItem:hover {
    background: #f5f7fa;
    color: #14b8a6;
}

/* Font list overrides */
.ff-font-list .fonPar {
    width: 100%;
    margin: 0;
}

.ff-font-list .serRes {
    width: 100%;
    padding-top: 0;
}

.ff-font-list .detail {
    padding: 20px 0 20px 10px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.ff-font-list .detail:hover {
    background: #fafafa;
}

.ff-font-list .detail .addHeight {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    margin-bottom: 20px;
}

.ff-font-list .ff-list-head {
    justify-content: space-between;
    gap: 16px;
}

.ff-font-list .ff-list-head-info {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    gap: 12px;
}

.ff-font-list .ff-list-head-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 12px;
}

.ff-font-list .ff-list-script-select {
    position: relative;
    flex-shrink: 0;
    z-index: 1;
}

.ff-font-list .ff-list-script-select.is-open {
    z-index: 50;
}

.ff-list-script-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 56px;
    height: 28px;
    padding: 0 8px;
    border-bottom: 1px solid #e8eaee;
    font-size: 13px;
    color: #707377;
    cursor: pointer;
    user-select: none;
    box-sizing: border-box;
    background: none;
}

.ff-list-script-arrow {
    width: 0;
    height: 0;
    margin-left: auto;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #999;
}

.ff-list-script-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 30;
    min-width: 80px;
    max-height: 200px;
    margin: 4px 0 0;
    padding: 4px 0;
    list-style: none;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #e8eaee;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.ff-list-script-select.is-open .ff-list-script-dropdown {
    display: block;
}

.ff-list-script-option {
    padding: 8px 16px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
}

.ff-list-script-option:hover,
.ff-list-script-option.is-active {
    color: #05bc94;
    background: #f5f7fa;
}

.ff-list-script-previews {
    position: relative;
}

.ff-list-script-preview {
    display: block;
    color: inherit;
    text-decoration: none;
}

.ff-list-script-previews > .ff-list-script-preview.is-active {
    display: block;
}

.ff-list-script-previews > .ff-list-script-preview.is-hidden {
    display: none;
}

.ff-font-list .ff-list-brand-divider {
    flex-shrink: 0;
    color: #e0e0e0;
    font-size: 14px;
    line-height: 1;
    font-weight: normal;
}

.ff-font-list .ff-list-brands {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    min-width: 0;
}

.ff-font-list .ff-list-brand,
.ff-font-list .factory.ff-list-brand {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 22px;
    line-height: 22px;
    color: #999;
    text-decoration: none;
}

.ff-font-list .factory.ff-list-brand:hover {
    color: #666;
}

.ff-font-list .detail .name {
    flex: 0 1 auto;
    width: auto;
    min-width: 0;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1b;
    line-height: 22px;
}

.ff-font-list .detail .name a {
    color: #1a1a1b;
    font-size: 14px;
}

.ff-font-list .detail .factory,
.ff-font-list .detail .jumpFirm {
    margin-right: 0;
}

.ff-font-list .detail .jumpFirm {
    width: 20px;
    height: 20px;
  
   
}
.gridPpIcon{
    width: 22px;
}
.ff-font-list .detail .FirmName {
    font-size: 12px;
    color: #999;
    font-weight: normal;
    line-height: 22px;
    white-space: nowrap;
}

.ff-font-list .detail .text {
    font-size: 42px;
    line-height: 1.35;
    color: #1a1a1b;
    word-break: break-all;
}

.ff-font-list .changeFontType,
.ff-font-list .j_fan {
    display: none !important;
}

.ff-font-list .detail .compare,
.ff-font-list .detail .like,
.ff-font-list .detail .buy {
    margin-left: 0;
}

.ff-font-list .detail .open {
    font-size: 13px;
    color: #707377;
    cursor: pointer;
    font-weight: normal;
}
.ff-font-list .detail .open b {
    font-weight: normal;
}
.open .open-icon {
    display: inline-block;
    width: 10px;
    height: 6px;
    background: url(../img/newfindfont/push.png) no-repeat 0 0;
    margin-top: 7px;
    background-size: 100%;
    margin-left: 5px;
}
.open.open1 .open-icon,
.open .open-icon1 {
    background: url(../img/newfindfont/pull.png) no-repeat 0 0;
    background-size: 100%;
}
/* 系列字展开态：系列名行灰色底（仅用 .is-expanded，避免 :has） */
.ff-font-list .j_Kind.is-expanded .kind_name .j_title {
    padding: 20px 0;
}

.ff-font-list .j_Kind.is-expanded .kind_name .ff-list-head {
    background: #f5f6f7;
    padding: 14px 16px;
    margin-bottom: 0;
    border-radius: 0;
}

.ff-font-list .j_Kind.is-expanded .kind_name .j_title > a {
    display: none;
}

/* 系列字子款：仅字体名，不展示品牌 */
.ff-font-list .ff-list-head--son {
    justify-content: space-between;
}

.ff-font-list .ff-list-head--son .name {
    flex: 1;
    min-width: 0;
}

.ff-font-list .kind .kind_name .detail {
    padding: 20px 0;
}

.ff-font-list .kind .series .detail.son {
    padding-left: 16px;
}

.ff-font-list .footerPage {
    padding: 32px 0;
}

.ff-empty {
    display: none;
    flex: 1;
    min-height: 320px;
    overflow-y: auto;
    text-align: center;
    padding: 80px 0;
    box-sizing: border-box;
}

.ff-empty.is-show {
    display: block;
}

.ff-empty img {
    display: block;
    width: 120px;
    margin: 0 auto 16px;
}

.ff-empty p {
    font-size: 14px;
    color: #999;
}

.ff-loading {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.6);
    z-index: 999;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.ff-loading.is-show {
    display: flex;
    pointer-events: auto;
}

.ff-loading img {
    width: 48px;
}

/* Disable legacy page-scroll toolbar fix on test layout */
body.ff-findfont-test #feelText.fixfeel {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    padding: 0 0 16px !important;
    box-shadow: none !important;
    margin: 0 !important;
    width: auto !important;
    height: auto !important;
    border-bottom: 1px solid #eee;
}
.changeView {
    width: 66px;
    height: 34px;
    border: 1px solid rgba(232, 234, 238, 1);
    border-radius: 6px;
    box-sizing: border-box;
    /* 内容区 64x32，两枚 20px 图标间距 8：左右各 8、上下各 6 */
   
    *zoom: 1;
}

.changeView:after {
    content: '';
    display: block;
    clear: both;
    height: 0;
    overflow: hidden;
}

.changeView b {
    float: left;
    cursor: pointer;
}

.changeView .listIcon {
    margin-right: 4px;
}

.listIcon {
    width: 20px;
    height: 20px;
    background: url(../img/newfindfont/listIcon.png) no-repeat center;
    background-size: 100% 100%;
    margin-top: 6px;
    margin-left: 7px;
}

.gridIcon {
    width: 20px;
    height: 20px;
    background: url(../img/newfindfont/gridIcon.png) no-repeat center;
    background-size: 100% 100%;
    margin-top: 5px
}

.listIconactive {
    width: 28px;
    height: 26px;
    background: url(../img/newfindfont/listIconactive.png) no-repeat center #05BC94;
    border-radius: 5px;
    background-size: 100% 100%;
    margin-top: 3px;
    margin-left: 4px;
}

.gridIconactive {
    width: 28px;
    height: 26px;
    background: url(../img/newfindfont/gridIconactive.png) no-repeat center #05BC94;
    border-radius: 5px;
    background-size: 100% 100%;
    margin-top: 3px;
   
}

/* ---- List / Grid view toggle ---- */
.ff-font-view--grid {
    display: none;
}

.ff-page.ff-view-mode-grid .ff-font-view--list {
    display: none;
}

.ff-page.ff-view-mode-grid .ff-font-view--grid {
    display: block;
}

/* ---- Font card grid（IE 用 float 兜底；现代浏览器走 grid） ---- */
.ff-font-grid {
    /* padding-top: 8px; */
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 40px; /* row column：纵向不变，横向 40px */
}

.ff-font-grid > .ff-font-card,
.ff-font-grid > .ff-font-series-group {
    min-width: 0;
    box-sizing: border-box;
}

@media (max-width: 1799px) {
    .ff-font-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.ff-font-card {
    display: flex;
    flex-direction: column;
    /* min-height: 220px; */
    padding: 20px 0 12px 0;
    border-bottom: 1px solid #e8eaee;
    background: #fff;
    box-sizing: border-box;
    transition: background 0.2s;
    overflow: visible;
    position: relative;
}

.ff-font-card:hover {
    background: #fafafa;
}

.ff-font-card-head .ff-list-script-select {
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.ff-font-card-head .ff-list-script-select.is-open {
    z-index: 50;
}

.ff-font-card-head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 35px;
    min-height: 28px;
    overflow: visible;
}

.ff-font-card-name {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ff-font-card-name:hover {
    color: #1a1a1b;
}

/* 名称与「相关字体」挨着显示，不再两端拉开 */
.ff-font-card-head .relateFontTips {
    flex: 0 0 auto;
    margin: 0;
    font-size: 12px;
    font-weight: normal;
    color: #888888;
    white-space: nowrap;
}

/* 系列字重 / 语种下拉仍靠右，保持原两端布局效果 */
.ff-font-card-head .ff-card-weight {
    margin-left: auto;
}

.ff-font-card-head > .ff-list-script-select {
    margin-left: auto;
}

.ff-font-card-head .ff-card-weight + .ff-list-script-select {
    margin-left: 0;
}

.ff-font-card-preview {
    flex: 1;
    /* min-height: 72px; */
    margin-bottom: 16px;
    padding-right: 20px;
    box-sizing: border-box;
}


.ff-font-card-preview .text {
    margin: 0;
    font-size: 38px;
    line-height: 1.35;
    color: #1a1a1b;
    white-space: nowrap;
    overflow: hidden;
    margin-bottom: 30px;
    
}

.ff-font-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 5px;
}

.ff-font-card-meta {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    line-height: 22px;
    font-size: 12px;
    color: #999;
}

.ff-font-card-meta .ff-list-brand,
.ff-font-card-meta .factory.ff-list-brand {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 1 auto;
    width: auto;
    max-width: 80px;
    min-width: 0;
    height: 22px;
    line-height: 22px;
    margin-right: 0;
    color: #999;
    text-decoration: none;
    overflow: hidden;
}

.ff-font-card-meta .factory.ff-list-brand:hover {
    color: #666;
}

.ff-font-card-meta .jumpFirm,
.ff-font-card-meta .gridPpIcon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.ff-font-card-brand {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 22px;
}

.ff-font-card-divider {
    display: inline-flex;
    align-items: center;
    margin: 0 6px;
    color: #ddd;
    line-height: 1;
    flex-shrink: 0;
}

.ff-font-card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.ff-font-card-actions .ff-card-action {
    margin: 0 !important;
}

.ff-font-card-actions .compare,
.ff-font-card-actions .buy {
    width: auto;
    height: auto;
    min-width: 0;
    padding: 0;
    border: none;
    background: none;
    font-size: 0;
    line-height: 0;
}

.allfontshow .add_like,.allfontshow .compare ,.allfontshow .download {
    width: 30px;
    height: 30px;
    background: #F3F4F6;;
    cursor: pointer; 
    text-align: center;
    border-radius: 8px;
}
.allfontshow .download{
    background: #414245;
}
.download .downloadIcon{
    width: 20px;
    height: 20px;
    display: block;
    background: url(../img/newfindfont/downloadIcon.png) no-repeat 0 0 ;;
    background-size: 100% 100%;
    margin-top: 5px;
    margin-left: 5px;
}


.allfontshow .add_like:hover{
    background: #E8EAEE;
}
.allfontshow .compare:hover{
    background: #E8EAEE;
}

.allfontshow .download:hover{
    background: #05BC94;
}
.add_like img, .compare img, .download img{
    width: 20px;
    margin-top: 5px;
}
.allfontshow .shuxianLine{
    width: 1px;
    height: 26px;
    border-right: 1px solid rgba(232, 234, 238, 1)
}
.ff-font-card-actions .ff-card-download {
    width: 20px;
    height: 20px;
    background: url(../img/modifyUl/getFontBtn.png) no-repeat center / cover;
    border: none;
    border-radius: 2px;
}
/* 系列字：字重下拉 */
.ff-card-weight {
    position: relative;
    flex-shrink: 0;
    z-index: 1;
}
.ff-card-weight-input {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 56px;
    height: 28px;
    padding: 0 8px;
    border-bottom: 1px solid #e8eaee;
    border-radius: 4px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    user-select: none;
    box-sizing: border-box;
    background: #fff;
}

.ff-card-weight-arrow {
    width: 0;
    height: 0;
    margin-left: auto;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #999;
}

.ff-card-weight-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 30;
    min-width: 80px;
    max-height: 200px;
    margin: 4px 0 0;
    padding: 4px 0;
    list-style: none;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #e8eaee;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.ff-card-weight.is-open .ff-card-weight-dropdown {
    display: block;
}

.ff-card-weight-option {
    padding: 8px 16px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
}

.ff-card-weight-option:hover,
.ff-card-weight-option.is-active {
    color: #05bc94;
    background: #f5f7fa;
}

.ff-card-series-preview {
    position: relative;
}

.ff-card-series-preview > .ff-card-preview-link.is-active {
    display: block;
}

.ff-card-series-preview > .ff-card-preview-link.is-hidden {
    display: none;
}

.ff-card-preview-link {
    display: block;
}

.ff-card-weight.is-open {
    z-index: 50;
}

/* ---- 卡片模式：系列字展开 ---- */
.ff-font-series-group {
    min-width: 0;
}

.ff-font-card--series-summary .ff-font-card-head {
    justify-content: flex-start;
}

.ff-font-card--series-summary .ff-font-card-name {
    flex: 0 1 auto;
    min-width: 0;
}

.ff-font-card--series-summary .newFtICon {
    flex: 0 0 auto;
}

.ff-font-card--series-summary .open,
.ff-font-series-bar .open {
    margin-left: auto;
    flex: 0 0 auto;
    font-size: 13px;
    color: #707377;
    cursor: pointer;
}

.ff-font-card--series-summary .open.open1,
.ff-font-series-bar .open.open1 {
   
}

.ff-font-series-panel {
    display: none;
} 

.ff-font-series-group.is-expanded {
    grid-column: 1 / -1;
}

.ff-font-series-group.is-expanded .ff-font-card--series-summary {
    display: none;
}

.ff-font-series-group.is-expanded .ff-font-series-panel {
    display: block;
}

.ff-font-series-bar {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 14px 16px;
    background: #f5f6f7;
    border-radius: 6px;
    box-sizing: border-box;
}

.ff-font-series-bar-name {
    margin-right: 7px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ff-font-series-bar-name:hover {
    color: #05bc94;
}

.ff-font-series-children {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 40px;
}

.ff-font-series-children > .ff-font-card {
    min-width: 0;
    box-sizing: border-box;
}

@media (max-width: 1799px) {
    .ff-font-series-children {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
.ff-font-list .detail .text .singalwordOpacity {
    opacity: 0;
}

.ff-font-list .detail .text .singalword {
    display: none;
}

/* 自定义即时体验：列表默认隐藏 .singalword，切换视图后需与卡片一致显示拆字结果 */
.ff-page.ff-preview-custom .ff-font-list .detail .text .singalword {
    display: inline;
}

.ff-page.ff-preview-custom .ff-font-list .detail .text .singalwordOpacity {
    display: none;
    opacity: 0;
}

.ff-font-list .detail .text .active {
    opacity: 1;
}

.text .singalwordOpacity {
    opacity: 0;
    display: none;
}

.series{
    display: none;
}
.footerPage .page{
    text-align: center;
    position: relative;
    z-index: 2;
}

.newFtICon {
    width: 30px;
    height: 16px;
    /* float: left; */
    margin-top: 3px;
    margin-left: 3px;
}
.ff-font-grid .newFtICon {
    margin-top: 1px;
    margin-left: 0;
}


.search_font_tag{
   display: inline-block;
    padding: 0 10px;
    height: 20px;
    background: #F5F5F9;
    border-radius: 10px;
    margin-right: 5px;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
    color: #666666;
    margin-top: 5px;
}
.awardListLabel {
    position: relative;
    display: inline-block;
 
    padding-left: 28px;
    padding-right: 8px;
    max-width: 244px;
    height: 20px;
    line-height: 20px;
    font-size: 12px;
    color: #7D2E00;
    background: #FDF0E3 url(../img/common/award_label2.png) no-repeat 0 / 28px 20px;
    border-radius: 4px;
    vertical-align: middle;
}
.awardListLabelWrapper{ 
    position: relative;
}

.ff-font-card .awardListLabelWrapper{ 
    position: absolute;
    top: 51px;
    left: 17px;
}
.awardListLabelWrapper:hover .awardPopover{
    display: block;
}
.awardPopover {
    display: none;
    position: absolute;
    left: 0;
    top: 20px;
    cursor: default;
    z-index: 2;
}
.popContent {
    margin-top: 5px;
    padding: 10px;
    width: 326px;
    font-size: 14px;
    background: #fff;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .15);
}
.popOuter {
    width: 322px;
    border: 2px solid #FCEEE7;
}
.popInner {
    margin: 2px auto;
    width: 314px;
    border: 2px solid #FCEEE7;
    overflow: hidden;
}
.popContainer {
    max-height: 269px;
    padding-bottom: 20px;
    overflow: auto;
}
.awardPopover .awardUl {
    margin-top: 32px;
}
.awardUl li {
    margin-bottom: 10px;
    color: #222222;
    cursor: pointer;
}
.awardPopover img {
    margin-top: 25px;
    width: 170px;
}
.search_track{ 
    font-size: 14px;
    color: #707377;
    line-height: 20px;
    margin-top: 20px;
    border-bottom: 1px solid rgba(232, 234, 238, 1);
    padding-bottom: 12px;
}
.search_track_num{
    color: #000;
    margin-left: 5px;
    margin-right: 5px;
    font-size: 18px;
    margin-top: -3px;
}
.footerPage .page span {
    display: inline-block;
    padding: 0 10px;
    cursor: pointer;
    position: relative;
}

.ff-font-static-list{
    margin-top: -16px;
}
.ff-font-list .j_Kind.is-expanded .kind_name .j_title {
    padding: 0 0;
}

.footerPage .page .on{
    color: #05BC94;
}

.footerPage .page em{
    color: #05BC94;
}


@font-face {
    font-family: "iconfont";
    src: url("../font/iconfont/iconfont.eot");/* IE9 Compat Modes */
    src: url("../font/iconfont/iconfont.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */ 
    url("../font/iconfont/iconfont.woff") format("woff"), /* Modern Browsers */ 
    url("../font/iconfont/iconfont.ttf") format("truetype"), /* Safari, Android, iOS */ 
    url("../font/iconfont/iconfont.svg") format("svg");
    /* Legacy iOS */
  }

#allManyTags4 li{
    font-family: iconfont;
    font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 15px;
}

#allManyTags4 li[data-tagid="68"]:before { content: "\e90f"; } /* 黑体 */
#allManyTags4 li[data-tagid="69"]:before { content: "\e919"; } /* 宋体 */
#allManyTags4 li[data-tagid="826"]:before { content: "\e912"; } /* 楷书 */
#allManyTags4 li[data-tagid="828"]:before { content: "\e91d"; } /* 行楷 */
#allManyTags4 li[data-tagid="831"]:before { content: "\e91b"; } /* 魏碑 */
#allManyTags4 li[data-tagid="829"]:before { content: "\e91e"; } /* 行书 */
#allManyTags4 li[data-tagid="74"]:before { content: "\e913"; } /* 隶书 */
#allManyTags4 li[data-tagid="72"]:before { content: "\e90c"; } /* 仿宋 */
#allManyTags4 li[data-tagid="141"]:before { content: "\e910"; } /* 混合 */
#allManyTags4 li[data-tagid="830"]:before { content: "\e903"; } /* 草书 */
#allManyTags4 li[data-tagid="827"]:before { content: "\e920"; } /* 圆体 */
#allManyTags4 li[data-tagid="832"]:before { content: "\e90a"; } /* 爨体 */
#allManyTags4 li[data-tagid="825"]:before { content: "\e914"; } /* 盲文 */
#allManyTags4 li[data-tagid="834"]:before { content: "\e911"; } /* 甲骨文 */
#allManyTags4 li[data-tagid="145"]:before { content: "\e908"; } /* 创意书写 */
#allManyTags4 li[data-tagid="75"]:before { content: "\e909"; } /* 创意字体 */
#allManyTags4 li[data-tagid="144"]:before { content: "\e905"; } /* 常规书写·硬笔 */
#allManyTags4 li[data-tagid="143"]:before { content: "\e904"; } /* 常规书写·毛笔 */
#allManyTags4 li[data-tagid="154"]:before { content: "\e907"; } /* 衬线体 */
#allManyTags4 li[data-tagid="155"]:before { content: "\e91c"; } /* 无衬线体 */
#allManyTags4 li[data-tagid="241"]:before { content: "\e921"; } /* 正文字体 */
#allManyTags4 li[data-tagid="242"]:before { content: "\e917"; } /* 手写风格字体 */
#allManyTags4 li[data-tagid="243"]:before { content: "\e90e"; } /* 哥特体 */
#allManyTags4 li[data-tagid="244"]:before { content: "\e918"; } /* 书法体 */
#allManyTags4 li[data-tagid="246"]:before { content: "\e90d"; } /* 符号 */
#allManyTags4 li[data-tagid="833"]:before { content: "\e922"; } /* 篆书 */

.noHasManyRelateFont{
    margin-top: 20px;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
    /* margin-bottom: 15px; */
    padding-bottom: 20px;
    color: #707377;
}