

.hf-container {
    width: 100%;
}
.hf-container .hf-link {
    display: block;
    width: 100%;
}
.hf-container .hf-img {
    display: block;
    width: 100%;
    margin: 1px 0;
}

.dp-container {
    display: none;
}
.dp-container .dp-link {
    display: none;
}
@media (max-width: 767.98px) {
    .dp-container {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 2147483647;
        text-align: center;
    }
}
.dp-container .dp-img {
    display: block;
    width: 100%;
}
.dp-container .dp-close {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 12px;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    display: inline-block;
    cursor: pointer;
    line-height: 1.2;
}

.only_mobile { display: none; }
.only_pc { display: block; }
@media (max-width: 767.98px) {
    .only_mobile { display: block; }
    .only_pc { display: none; }
    .hide-on-mobile { display: none; }
}

.tpl-pages {
    padding: 10px 0;
    overflow: hidden;
    text-align: center;
    clear: both;
}
.tpl-pages ul.pagination {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
}
.tpl-pages ul.pagination li {
    display: inline-block;
    /* 分页换行成多行时，行与行之间保留上下间距 */
    margin: 4px 3px;
    list-style: none;
}
.tpl-pages ul.pagination li a.page-link,
.tpl-pages ul.pagination li span.page-link {
    display: inline-block;
    padding: 3px 15px;
    border-radius: 2px;
    text-decoration: none;
}
.tpl-pages ul.pagination li a.page-link {
    background-color: #F0EFE2;
    color: #19537D;
    opacity: 1;
    box-shadow: inset 0 -2px 0 rgb(0 0 0 / 13%);
}
.tpl-pages ul.pagination li a.page-link:hover,
.tpl-pages ul.pagination li a.page-link:focus {
    opacity: 0.8;
}
.tpl-pages ul.pagination li span.page-link {
    cursor: default;
    color: #aaa;
}
.tpl-pages ul.pagination li.active span.page-link {
    color: #fff;
    background-color: #5D6146;
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.1);
}

@media (max-width: 767.98px) {
    .tpl-pages ul.pagination li {
        display: none;
    }
    .tpl-pages ul.pagination li:nth-child(-n+2),
    .tpl-pages ul.pagination li:nth-last-child(-n+2) {
        display: inline-block;
    }
}

.preview-grid {
    overflow: hidden;
    width: 100%;
}
.preview-grid .capture-col {
    padding: 4px;
    width: 100%;
}
.preview-grid .capture-col img {
    width: 100%;
    display: block;
    margin: 0 auto;
}

.open-all-link {
    text-align: center;
    margin: 10px 0 5px;
}
.open-all-link a {
    text-decoration: none;
    font-size: 14px;
}
.open-all-link a:hover {
    color: #19537D;
}

.partner-zone {
    margin-top: 10px;
}
.partner-grid {
    overflow: hidden;
    padding: 5px 0;
}
.partner-grid a {
    float: left;
    display: block;
}

/* 友情链接 */
.friend-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px 16px;
    max-width: 1100px;
    box-sizing: border-box;
    margin: 0 auto 6px;
    padding: 4px 12px;
}
.friend-link {
    font-size: 13px;
    line-height: 22px;
    color: #666;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
}
.friend-link:hover {
    color: #5D6146;
    text-decoration: underline;
}
.footer-contact {
    margin: 4px 0 0;
    padding: 0 12px;
    line-height: 26px;
}
.footer-contact a {
    font-size: 15px;
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-contact a:hover {
    color: #5D6146;
}
.footer-contact-icon {
    width: 15px;
    height: auto;
    vertical-align: -2px;
}

.toast-notification {
    position: fixed;
    left: 50%;
    bottom: 10%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 14px;
    line-height: 1;
    padding: 8px 12px;
    border-radius: 4px;
    max-width: 80%;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2147483647;
    pointer-events: none;
}
.toast-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.sidr {
    display: none;
}