:root {
    --em16: 1.6rem;
    --em18: 1.8rem;
    --em12: 1.2rem;
    --em11: 1.1rem;
    --em10: 1.0rem;
    --em9: 0.9rem;
    --sizeColor: rgb(41 151 247);
    --size-12: 12px;
    --apple-bg: #f5f5f7;
    --apple-card-bg: #ffffff;
    --apple-text-primary: #1d1d1f;
    --apple-text-secondary: #86868b;
    --apple-blue: #0071e3;
    --apple-gray1: #d2d2d7;
    --apple-gradient: linear-gradient(135deg, #32d0ea 0%, #0a7cff 100%);
    --before: #f5f6f7;
    --radius: 3px;
    --Secondary: #86868b;
    --main-shadow: rgba(116, 116, 116, 0.08);
}

.yesbgc {
    background-color: var(--sizeColor);
    color: #f5f6f7;
    padding: 6px;
    border-radius: 4px
}

.bgc {
    background: (--sizeColor);
}

.app-flex {
    width: 100%;
    margin-top: 24px;
    height: auto
}

.app-flex>.right-txt {
    width: 100%;
    height: 100%;
    overflow: auto;
    /* border-radius: 8px; */
    position: sticky;
     top: 56px; 
    /* background-color: #fff; */
    /* margin-left: 21px; */
    /* padding: 0 9px; */
    /* padding-top: 15px; */
}

.white-index {
    padding: 15px;
    margin-bottom: 30px;
    background-color: white;
    border-radius: var(--radius);
    box-shadow: 0 0 10px var(--main-shadow);
    --main-shadow: rgba(116, 116, 116, 0.08);
}

/* 控制侧边栏的父级中的子集 可设置圆角等 */
/* .entries-list {
    
} */

.entry {
    overflow: hidden;
    display: flex;
    /* padding: 10px; */
    margin-top: 19px;
    /* border-bottom: 1px solid #eee; */
    background-color: #fff;
    position: relative;
    gap: 16px;
}

.entry-icon {
    width: 110px;
    height: 74px;
    background: rgba(224, 224, 224, .253);
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
    /* margin-right: 20px */
    -ms-flex-negative: 0;
    flex-shrink: 0;
    -webkit-box-flex: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
    overflow: hidden;
}

.visible,
.vue-box {
    opacity: 1;
    transform: translateY(0);
}

.loading {
    text-align: center;
    padding: 20px;
    color: #666;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: .5;
    }

    100% {
        opacity: 1;
    }
}

.entry-img.loaded {
    filter: blur(0);
}

.entry-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.9);
    transition: all .4s cubic-bezier(.4, 0, .2, 1)
}

.entry:hover .entry-title {
    color: #2997f7
}

.entry:hover .entry-icon img {
    transform: scale(1.05);
    filter: brightness(1.02)
}

.entry--top1 .entry-icon i {
    color: #fff
}

.entry-content {
    flex: 1;
    position: relative;
}

.entry-rank {
    position: relative;
    display: inline-block;
    padding: 0 6px;
    font-size: 12px;
    text-align: center;
    background-color: #fafafa;
    color: #5f5f5f;
    border-radius: 2px;
}

/* 排名徽章样式 */
.modeltop1 {
    background: linear-gradient(135deg, #f59f54 10%, #ff6922 100%);
    ;
    color: white;
    /* background-image: url(/images/topnoe.png); */

}

.modeltop2 {
    /* background-image: url(/images/toptow.png); */
    background: rgba(41, 151, 247, 0.1);
    color: #2997f7;
}

.modeltop3 {
    /* background-image: url(/images/top3.png); */
    background: rgba(255, 111, 6, 0.1);
    color: #ff6f06;
}

.modeltop4,
.modeltop5,
.modeltop6 {
    display: none;
}

.entry-title {
    /* margin-bottom: 13px; */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    white-space: normal;
    transition: .3s;
    color: #4e5358;

    /* 修复属性 */
    word-break: break-word;
    overflow-wrap: break-word;
    text-overflow: ellipsis;
    line-height: 1.5;
    font-size: 14px;
    /* 明确设置字体大小 */
}

.entry-time .icon-12 {
    width: 12px;
    height: 12px;
}

.entry-subtitle {
    color: #666;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 12px
}

.entry--top1 .entry-subtitle {
    color: rgba(255, 255, 255, .9);
}

.entry-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--Secondary);
    font-size: 10.5px;
    width: 100%;
    position: absolute;
    bottom: 0;
}

.entry-readers {}

/* 右侧帖子开始 */
.post-list {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #fff;
    /* border-radius: 12px; */
}

.post-card {
    gap: 15px;
    transition: all .3s ease-in-out;
    flex-direction: column;
}

.post-card::after {
    content: "";
    border-width: 0;
    -webkit-transition: all .5s;
    border-bottom: 1px solid var(--main-border-color);
    --main-border-color: rgba(50, 50, 50, 0.06)
}

.post-card:hover.post-card {
    color: #06c;
    border-radius: 5px;
    background-color: #eeeeee70;
}

.post-card :hover .hover-icon {
    color: #06c;
}

.user-info {
    color: #666;
    font-size: 14px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    white-space: normal;
}

.user-avatar,
.user-avatar img {
    width: 25px;
    height: 25px;
    overflow: hidden;
    object-fit: cover;
    border-radius: 50%;
}

/* 帖子标签右边 */
.post-title {
    font-size: 14px;
    margin: 15px auto;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    white-space: normal;
    transition: .3s;
    color: #4e5358;
}

.post-meta {
    color: var(--Secondary);
    font-size: 13px;
}

/* 时间 */
.time {
    display: flex;
    align-items: center;
    justify-content: space-between
}

/* 伪类 */
.time .avis::after {
    content: '';
    width: .5em;
    height: .5em;
    border: .1em solid var(--sizeColor);
    border-radius: 1em;
    margin-right: 2px;
    vertical-align: .1em;
    display: inline-block
}

/* end */


.article-card {
    opacity: 0;
    transform: translateY(20px);
    transition: all .4s cubic-bezier(.4, 0, .2, 1);
    margin-bottom: 20px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 5%)
}

.article-card.visible {
    opacity: 1;
    transform: translateY(0)
}

.post-card.vue-box {
    opacity: 1;
    transform: translateY(0)
}

.article-list {
    position: relative;
    min-height: 500px
}

.skeleton-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10
}

.article-card {
    margin-bottom: 20px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 5%);
    transform: translateY(20px);
    transition: all .4s cubic-bezier(.4, 0, .2, 1)
}

.article-card.loaded {
    transform: translateY(0);
}

.lazy-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #f5f5f5;
    transition: opacity .3s;
}

.lazy-image.loaded {
    opacity: 1;
}

.article-body {
    padding: 16px;
}

.article-body h3 {
    margin: 0 0 8px;
    font-size: 1.1em;
    line-height: 1.4;
    font-family: -apple-system, BlinkMacSystemFont, segoe ui, Roboto, Oxygen, Ubuntu, Cantarell;
    font-weight: 500;
    color: #1d1d1f;
    text-decoration: none;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.article-body h3 a {
    color: #1d1d1f;
    text-decoration: none;
}

.article-body h3 a:hover {
    color: #007aff;
}

.excerpt {
    color: #666;
    font-size: .9em;
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .85em;
    color: #86868b;
}

.badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.badge[data-cid="1"] {
    background: #ffe7d9;
    color: #d64b08;
}

.badge[data-cid="2"] {
    background: #e0f0ff;
    color: #06c;
}

.badge[data-cid="3"] {
    background: #e2ffe4;
    color: #059669;
}

.badge[data-cid="4"] {
    background: #fff5d9;
    color: #b8860b;
}

.badge[data-cid="5"] {
    background: #e8f4f8;
    color: #2e7d8f;
}

.badge[data-cid="6"] {
    background: #f7f7f7;
    color: #666;
}

.pagination-container {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee
}

.pagination-info,
.total-info {
    color: #86868b;
    font-size: .9em;
    text-align: center;
    margin: 8px 0;
}

.page-buttons {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 15px 0;
}

.page-buttons button {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    transition: all .2s;
    min-width: 36px;
}

.page-buttons button.active {
    background: #007aff;
    color: #fff;
    border-color: #007aff;
    cursor: not-allowed;
}

.page-buttons button:hover:not(.active) {
    background: #f5f5f5;
}

.stats-container {
    margin-bottom: 30px;
    padding: 20px;
    background: #0084ff;
    color: #fff;
    border-radius: 12px
}

.stats-section {
    margin-bottom: 25px
}

.stats-section h3 {
    font-size: 1em;
    color: #1d1d1f;
    margin: 0 0 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee
}

.stat-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-item .count {
    color: #007aff;
    font-weight: 500;
}

.category-group {
    margin-bottom: 15px;
}

.category-group h4 {
    margin: 12px 0;
    font-size: .95em;
    color: #333
}

.app-flex>.reccol .img-banner {
    position: relative;
    min-height: 400px;
    overflow: hidden;
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
}

.app-flex .app-tow {
    width: 100%;
}

/* 综合栏目 */
/* 色谱——12 */
.Rainbow1 {
    background-color: #ffd8d8;
    color: #8a3c3c;
}

.Rainbow2 {
    background-color: #ffe8d6;
    color: #8a5a3c;
}

.Rainbow3 {
    background-color: #fff9d9;
    color: #8a7d3c;
}

.Rainbow4 {
    background-color: #f0ffe0;
    color: #5c8a3c;
}

.Rainbow5 {
    background-color: #e0fff0;
    color: #3c8a6f;
}

.Rainbow6 {
    background-color: #e0f7ff;
    color: #3c6c8a;
}

.gap-list-4 {
    display: grid;
    gap: 4px;
    grid-template-columns: repeat(3, 1fr);
    /* grid-auto-rows: minmax(120px, auto); */
}

/* 响应式设计 */
@media (max-width: 900px) {
    .gap-list-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .gap-list-4 {
        grid-template-columns: 1fr;
    }
}

/* 综合end */
/* 标签云style */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 1px;
    /* justify-content: space-between; */
    align-items: center;
}

.tag-cloud .io-tag {
    margin-right: 5px;
    margin: 2px;
    padding: .15em .4em;
    font-size: 12px;
    font-weight: 400;
    transition: 0.3s;
}

/* .tag-cloud .io-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(41, 151, 247, 0.15);
    background-color: rgba(41, 151, 247, 0.15);
} */
/* 优化后的循环选择器 */
.tag-cloud .io-tag:nth-child(4n+1) {
    background-color: rgba(41, 151, 247, 0.15);
    color: #1e83d9;
}

.tag-cloud .io-tag:nth-child(4n+2) {
    background-color: rgba(232, 245, 233, 1);
    /* 移除透明度纯绿色 */
    color: #2e7d32;
}

.tag-cloud .io-tag:nth-child(4n+3) {
    background-color: rgba(255, 241, 224, 0.9);
    /* 暖橙色 */
    color: #ff9100;
}

.tag-cloud .io-tag:nth-child(4n+4) {
    background-color: rgba(245, 229, 249, 0.85);
    /* 柔紫色 */
    color: #6a1b9a;
}

/* 标签end */
/* 最新动态 */
.custom-list {
    list-style: none;
    counter-reset: custom-counter;
    padding: 0;
}

.custom-list li {
    counter-increment: custom-counter;
    display: flex;
    align-items: center;
    padding: 4px 0;
    border-bottom: 1px solid #e8e8e866;
    transition: transform 0.2s, box-shadow 0.2s;
    color: #686b71;
}

.custom-list li a {
    color: #686b71;
}

.custom-list li a:hover {
    color: #000000;
    transition: 0.3s ease-in-out;
}

.custom-list li::before {
    content: counter(custom-counter);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background-color: #bcbdbf;
    color: white;
    font-weight: bold;
    border-radius: var(--radius);
    margin-right: 15px;
    flex-shrink: 0;
    font-size: 14px;
}

/* 柔和色彩方案 */
.custom-list li:nth-child(1)::before {
    background-color: #e57373;
}

.custom-list li:nth-child(2)::before {
    background-color: #ffb74d;
}

.custom-list li:nth-child(3)::before {
    background-color: #64b5f6;
}

.custom-list li:nth-child(4)::before {
    background-color: #81c784;
}

.custom-list li:nth-child(5)::before {
    background-color: #ba68c8;
}

.custom-list li:nth-child(6)::before {
    background-color: #f1c40f;
}

/* 黄色 */

.item-content {
    color: #333;
    font-size: 16px;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex-grow: 1;
}


/* 最新动态end */
/* 侧边卡片 *3  */
.red-card {
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
}

/* 黄色渐变卡片 */
.yellow-card {
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
}

/* 蓝色渐变卡片 */
.blue-card {
    background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%);
}

.vith-pro {
    width: 100%;
}

.vith-pro li::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}

.vith-pro li {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    margin: 10px auto;
    height: 130px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.vith-pro li a {
    text-align: left;
    /* position: absolute; */
    /* bottom: 0; */
    /* display: block;
            width: 100%; */
    padding: 10px 15px;
    color: white;
}

.vith-pro li a h3 {
    /* font-size: 25px; */
    font-weight: 600;
}

.vith-pro li a span {
    font-size: 16px;
}

/* 侧边卡片end */
.app-flex .app-tow .reccol {}

.app-flex .app-tow .reccol .rag-txtseciop {
    width: 100%;
    height: 450px;
    position: relative;
    border-radius: 10px;
    overflow-y: auto;
}

#rag-txtseciop {}


.rag-txtseciop {
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #e5e5e5 transparent;
    scroll-behavior: smooth
}

.rag-txtseciop::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background-color: transparent
}

.rag-txtseciop::-webkit-scrollbar-thumb {
    background-color: #d2d2d7;
    border-radius: 4px;
    border: 2px solid transparent;
    background-clip: content-box;
    transition: background-color .3s ease;
}

.rag-txtseciop::-webkit-scrollbar-thumb:hover {
    background-color: #8e8e93
}

.rag-txtseciop::-webkit-scrollbar-track {
    background-color: rgba(0, 0, 0, 5%);
    border-radius: 4px;
    margin: 4px 0;
}

@supports(scrollbar-gutter:stable) {
    .rag-txtseciop {
        scrollbar-gutter: stable;
        padding-right: 0
    }
}







.left-icon {
    color: #ffb800
}

.more-btn:hover {
    opacity: .7
}

@keyframes spin {
    from {
        transform: rotate(0)
    }

    to {
        transform: rotate(360deg)
    }
}

.em18 {
    font-size: var(--em18)
}

.em16 {
    font-size: var(--em16)
}

.em11 {
    font-size: var(--em11)
}

.em10 {
    font-size: var(--em10)
}

.em9 {
    font-size: var(--em9)
}

.em8 {
    font-size: var(--em8)
}



.eyst-bookei-box {
    width: 100%;
    /* background-color: #fff; */
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    /* box-shadow: 0 0 10px var(--main-shadow); */
}

.eyst-bookei-box .min-header {
    width: 100%;
    padding: 20px;
    line-height: 39px;
    background-color: white;
}


.sort-txt,
.sort p:hover {
    color: #4e5358;
    transition: all .3s ease-in;
}

.sort li {
    cursor: pointer;
    color: #999;
}

/* 排序装饰 */
.icons-css {
        width: 1px;
    height: 16px;
    background-color: #ddd;
    margin: 0 10px;
}

.category-tabs {
    display: flex;
    /* font-size: 13px; */
    list-style: none;
    position: relative;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    background-color: white;
    /* 隐藏滚动条 Firefox */
}
/* 分类导航 */
.vlues-ajax li:nth-child(1){
    color: #333;
}
.vlues-ajax{
    color: #666;    border-bottom: 1px solid #e8e8e866;
}
.category-tabs::-webkit-scrollbar {
    display: none;
    /* 隐藏滚动条 Webkit */
}

.option {
    cursor: pointer;
    transition: all .25s cubic-bezier(.4, 0, .2, 1);
    margin-right: 31px;
    line-height: 53px;
    /* z-index: 9999; */
    white-space: nowrap;
}

.option.active {
    color: var(--sizeColor);
}

.highlight-bar {
    position: absolute;
    bottom: 0;
    height: 2px;
    /* 高度与选项相同 */
    background: var(--sizeColor);
    /* 蓝色到紫色渐变 */
    border-radius: 10px;
    z-index: 0;
    box-shadow: 0 4px 15px rgba(74, 108, 247, 0.3);


    /* 添加过渡效果 */
    transition: transform 0.3s cubic-bezier(0.33, 1, 0.68, 1),
        width 0.3s cubic-bezier(0.33, 1, 0.68, 1);

    /* 确保transform原点在左侧 */
    transform-origin: left center;
}




.date-click.active {
    color: var(--sizeColor)
}

/* 文章分类内容主题 */

.upaaip {
    /* display: grid; */
    /* grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); */
    /* padding: 1.5rem; */
    /* gap: 15px; */
}


/* 骨架屏容器 */
.skeleton-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* 骨架屏卡片 */
.skeleton-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

/* 骨架屏动画效果 */
.skeleton-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0),
            rgba(255, 255, 255, 0.8),
            rgba(255, 255, 255, 0));
    animation: skeletonShimmer 1.5s infinite;
    z-index: 1;
}

@keyframes skeletonShimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(200%);
    }
}

/* 骨架屏标题 */
.skeleton-title {
    height: 24px;
    width: 70%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    border-radius: 6px;
    margin-bottom: 20px;
    animation: skeletonPulse 1.5s infinite;
}

/* 内容区域 */
.skeleton-content {
    display: flex;
    gap: 20px;
}

/* 图片区域 */
.skeleton-image {
    width: 150px;
    height: 120px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    border-radius: 8px;
    animation: skeletonPulse 1.5s infinite;
}

/* 文本区域 */
.skeleton-text-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.skeleton-text {
    height: 16px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    border-radius: 4px;
    animation: skeletonPulse 1.5s infinite;
}

.skeleton-text.short {
    width: 85%;
}

.skeleton-text.medium {
    width: 70%;
}

.skeleton-text.long {
    width: 95%;
}

/* 标签区域 */
.skeleton-tag {
    height: 28px;
    width: 80px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    border-radius: 14px;
    animation: skeletonPulse 1.5s infinite;
}

/* 元数据区域 */
.skeleton-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.skeleton-meta-group {
    display: flex;
    gap: 15px;
}

.skeleton-meta-item {
    height: 20px;
    width: 50px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    border-radius: 10px;
    animation: skeletonPulse 1.5s infinite;
}

.skeleton-meta-item.large {
    width: 80px;
}

.skeleton-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeletonPulse 1.5s infinite;
}

@keyframes skeletonPulse {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* 骨架屏卡片延迟效果 */
.skeleton-card:nth-child(1)::after {
    animation-delay: 0s;
}

.skeleton-card:nth-child(2)::after {
    animation-delay: 0.2s;
}

.skeleton-card:nth-child(3)::after {
    animation-delay: 0.4s;
}

.skeleton-card:nth-child(4)::after {
    animation-delay: 0.6s;
}

.skeleton-card:nth-child(5)::after {
    animation-delay: 0.8s;
}


/* 骨架屏 end*/
/* ===== 文章卡片组件 - 核心样式  ===== */

.article-ios {
    background-color: #fff;
    border-bottom: 1px solid #e8e8e866;
    padding: 20px;
}

.setcios-cont {
    width: 100%;
    /* min-height: 133px; */
}

.img-ios {
    width: 190px;
    height: 105px;
    border-radius: var(--radius);
    overflow: hidden;
    /* border-radius: 2px; */
    -ms-flex-negative: 0;
    flex-shrink: 0;
    -webkit-box-flex: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
}

@media screen and (max-width:600px) {
    .img-ios {
        width: 38%;
    }

    .article-ios {
        padding: 15px 10px;
    }

    .fbt-s {
        /* display: none !important; */
    }

}

.img-ios img {
    width: 100%;
    height: 100%;
    transition: 0.3s ease-in-out;
    object-fit: cover;
}

.img-ios img:hover {
    transform: scale(1.1);
}

/* 文章卡片信息 */
.txt-art {
    padding-left: 11px;
    position: relative;
    flex: 1;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    width: 100%;
}

/* 标题 */
.title-s {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
    text-overflow: ellipsis;
    white-space: normal;
    margin-bottom: 5px;
}

.title-s a {
    display: block;
    line-height: 22px;
    font-weight: 600;
    color: #191b1f;
    transition: 0.3s;
}

.title-s a:hover {
    color: #0072ff;
}

/* 时间&阅读量组 */


.mets-s {
    /* position: absolute; */
    bottom: 10px;
    font-size: 13px;
    color: #999;
    width: 100%;
    /* 确保宽度100% */
}

/* 操作功能组 */
.edit-group {
    display: flex;
    gap: 16px;
    padding: 5px 0;
    align-items: center;
}

/* 操作按钮 */
.view-object {
    
    line-height: 30px;
    border-radius: var(--radius);
    padding: 2px 12px;
    color: var(--sizeColor);
    background-color: rgba(41, 151, 247, 0.1);
}

.list-edit {
    cursor: pointer;
    /* padding: 2px 10px; */
    /* background-color: rgba(41, 151, 247, 0.1); */
}
/* 分享类颜色变暗 */
.list-hui{
color: var(--Secondary);
}
/* 点赞成功的样式 */
.liked{
    background-color: rgba(255, 241, 224, 0.9);
    color: #ff9100;
}
/*.list-edit:hover {*/
/*    color: #0072ff;*/
/*    transition: 0.3s ease-in-out;*/
/*}*/

.list-edit span {
    margin-left: 3px;

}

/* 操作end */
/* 摘要 -   */
.item-ios {
    width: 100%;
    display: flex;
    gap: 18px;
    align-items: center;
    /* overflow-x: auto;
            white-space: nowrap; */

    /* 隐藏所有浏览器滚动条 */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;

    /* IE and Edge */
    /* Safari/Chrome/Opera */
    &::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

    /* 关键：禁止垂直滚动 */
    overflow-y: hidden;

    /* iOS弹性滚动 */
    -webkit-overflow-scrolling: touch;

    /* 修正高度和布局问题 */
    min-height: 24px;
    /* 确保有足够高度 */
    max-height: 24px;
    /* 固定高度避免抖动 */
}

.item-ios li {
    /* 关键：禁止子元素收缩 */
    flex-shrink: 0;
}
.item-ios li .a-item{
    padding: 2px 8px;
    font-size: 13px;
    border-radius: var(--radius); 
   
    background-color: #00000011;
    color: #999; 
}
.item-ios .a-item:hover {
    opacity: 0.8;
    cursor: pointer;
}

.w-100 {
    width: 100%;
    justify-content: space-between;
}

/* 统一一行文字 */
.ove-txt {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
    text-overflow: ellipsis;
    white-space: normal;
}

/* 时间伪类 */
.over-i::before {
    content: '';
    width: .5em;
    height: .5em;
    border: .1em solid rgb(41 151 247);
    border-radius: 1em;
    margin-right: 2px;
    vertical-align: .1em;
    display: inline-block;
}

.fbt-s {
     font-size: 15px; 
    /*margin-top: 8px;*/
}

.fbt-s:hover {
    cursor: pointer;
    color: #191b1fd1;
}

/* 文章分类内容主题 end*/

/* 帖子&文章 最新动态 */
.box-min {
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(116, 116, 116, 8%)
}

.top-badge {
    cursor: pointer;
    position: fixed;
    right: 14px;
    bottom: 95px;
    width: 40px;
    line-height: 40px;
    text-align: center;
    letter-spacing: .02em;
    text-shadow: 0 1px 1px var(--main-shadow);
    background: #c8c8c861;
    color: #fff;
    border-radius: 4px;
    font-size: 14px
}

.top-badge:hover {
    background-color: rgb(41, 151, 247);
}

[data-tooltip] {
    cursor: pointer;
    transition: filter .2s ease
}

[data-tooltip]:hover {
    filter: brightness(1.1)
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    color: var(--sizeColor);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s cubic-bezier(.4, 0, .2, 1), transform .25s cubic-bezier(.4, 0, .2, 1);
    pointer-events: none
}

[data-tooltip]:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%)translateX(-8px)
}

[data-tooltip]:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%)translateX(-4px)rotate(45deg)
}

@media(hover: none) {

    [data-tooltip]::after,
    [data-tooltip]::before {
        display: none
    }

    .section-header .icon-area {
        padding: 10px
    }
}




/* 骨架屏  帖子 最新文章中 */
/* 骨架屏动画 */
@keyframes wave {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -100% 0;
    }
}

/* 骨架屏整体样式 */
.skeleton-loader {
    margin: 0 auto;
    padding: 20px;
    width: 100%;
}

/* 骨架屏项目 */
.article-item.skeleton {
    padding: 10px 0;
    overflow: hidden;
    border-bottom: 1px solid #f0f0f0;
}

.skeleton-line {
    height: 16px;
    background: linear-gradient(to right, #f0f0f0 8%, #e0e0e0 18%, #f0f0f0 33%);
    background-size: 200% 100%;
    animation: wave 1.5s infinite linear;
    border-radius: 4px;
    margin-bottom: 8px;
}

.skeleton-line.short {
    height: 12px;
    width: 40%;
}


/* new 为你推荐 */

.bgc-fff {
    width: 100%;
    padding: 20px;
    /* height: 320px; */
    border-radius: var(--radius);
    background-color: #fff;
}

/* 装饰 */
.widget-title:before {
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    content: "";
    background-color: var(--sizeColor);
    background-image: -o-linear-gradient(top, rgba(255, 255, 255, .15), transparent);
    background-image: linear-gradient(180deg, rgba(255, 255, 255, .15), transparent);
    border-radius: 3px;
}

/* 子集 */
.bgc-fff .sec-panel-head {
    margin-bottom: 25px;
}

.bgc-fff .sec-panel-head h3 .more {
    font-size: 14px;
    font-weight: 400;
    color: #86868b;
    display: inline-block;
}

/* 控制里面的字体大小 */
.bgc-fff .sec-panel-head h3 {
    line-height: 6px;
    padding-left: 10px;
    position: relative;
}

/* 子集容器 */
.bgc-fff .garip {
    height: 100%;
}

.bgc-fff .garip .height-auto {
    width: 100%;
    height: 100%;

}


/* 这个展示的是6种类型的文章，其中仅展示阅读量较高的 */
.grid-6 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    height: 100%;
}

.grid-6 .list-ags {
    overflow: hidden;
    position: relative;
    border-radius: 4px;
    height: 122px;
    display: block;
}

.grid-6 .list-ags img {
    width: 100%;
    height: 100%;
    transition: 0.3s ease-out;
    object-fit: cover;
}

.grid-6 .list-ags img:hover {
    -webkit-transform: scale(1.5);
    transform: scale(1.5)
}

/* 隐藏文字 */
/* .grid-6 .list-ags .box-showtxt {
    position: absolute;
    transform: translateY(-40px);
    width: 100%;
    font-size: 16px;
    padding: 0 15px;
    line-height: 40px;
    transition: 0.3s ease-in-out;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.7));
    color: #fff;

} */

.grid-6 .list-ags .box-showtxt .span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 隐藏文字鼠标移动上升 */
.grid-6 .list-ags:hover .box-showtxt {
    /* transform: translateY(-40px); */
}

/* new end */







/* pc端 */
@media(min-width: 1000px) {

    /* .eyst-bookei-box .min-header .option-list {
        justify-content: flex-end;
    } */
    .model-vb {
        padding-right: 20px;
    }
}

/* 移动端 */
@media(max-width: 600px) {
    .category-tabs {
        /* gap:6px */
    }

    .none-500 {
        display: none;
    }

    .option {
        font-size: 13px
    }

    .eyst-bookei-box .min-header {
        width: 100%;
        padding: 10px;
        line-height: 39px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-direction: column;
    }

    .publish-date {
        font-size: 13px;
    }

    .zib-widget,
    .app-flex>.right-txt {
        padding: 0 !important;
        margin: 0 !important;
        margin: 25px auto !important;
    }


    .upaaip {
        margin-left: 0;
        /* padding: 5px; */
        gap: 7px;
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }

    .article-cardssi:nth-child(even) {
        padding-right: 0;
    }

    .entries-list,
    .post-list {
        padding: 15px;
    }

    /* 为你推荐 */
    .grid-6 {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;

    }

    .bgc-fff {
        background-color: transparent !important;
        padding: 0;
    }

    .bgc-fff .sec-panel-head h3 .more {
        padding-right: 5px;
    }

    .model-vb {
        padding: 10px;
    }
}