.contaienr {
    /* margin-top: 55px !important; */
    max-width: var(--max-container);
    margin: 0 auto;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}



.Disable-Button {
    cursor: not-allowed !important;
    opacity: .5;
}

/* 暂无数据  */
.no-data {
    text-align: center;
    padding: 50px 0;
    color: #999;
    font-size: 16px;
}

/* 置顶 */
.topji {
    padding: 0;
}

.top-ary {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid #eff0f2;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.top-ary .flex-row {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 12px;
}

.top-ary .icon-te {
    /* padding: 2px 10px; */
    font-size: 14px;
    font-weight: 480;
    line-height: 20px; 
    color: var(--logo);
    border-radius: 6px;
    letter-spacing: 0.3px;
    transition: color 0.2s ease, background 0.2s ease;
}

.top-ary .textle {
    flex: 1;
    font-size: 14px; 
    line-height: 1.5;
    color: #000000;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.top-ary:hover {
    background-color: #fafbfc;
}

.top-ary:hover .textle {
    color: #165dff;
}

.top-ary:hover .icon-te {
    color: var(--logo);
    background: #eef3fe;
}

/* 左侧内容 */

.left-contaienr {
    width: 75%;
    height: 100%;
}

/*快速导航 */
.min-head {
    width: 100%;
    /* height: 50px; */
    background-color: var(--white);
    display: flex;
    align-items: center;
    padding: 0 20px;
    font-size: 16px;
    border-bottom: 1px solid #f0f0f0;
    border-radius: var(--radius) var(--radius) 0 0;
}

.min-head ul {
    display: flex;
    gap: 20px;
    position: relative;
    height: 100%;
}

.min-head ul li {
    position: relative;
    cursor: pointer;
    color: var(--size);
    padding: 16px 0;
    /* line-height: 55px; */
}

.min-head ul li:hover {
    color: var(--logo);
    transition: all 0.3s ease-in-out;
}

/* 高两条 */
.bar {
    width: 32px;
    left: 0;
    height: 2px;
    overflow: hidden;
    transition: left 0.3s ease, width 0.3s ease;
    position: absolute;
    bottom: 0;
    background-color: var(--logo);
}

.min-head ul .index-active {
    color: var(--logo) !important;
}

/* 主内容 */
.getData {
    padding: 0 20px 20px 20px;
    background-color: var(--white);
    border-radius: 0 0 var(--radius) var(--radius);
}

.radius {
    /* box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04); */
}

/* 文章卡片 */
.article-Text {
    width: 100%;
    height: auto;
    padding: 17px 0;
    border-bottom: 1px solid #f0f0f0;
    /* background-color: #a7a2a2; */

}

.article-Text .graplist {
    padding-top: 5px;
    word-break: break-word;
}

/* 帖子操作栏话题+打卡   */
.le-doem {
    margin-top: 13px;
}

.le-doem a {
    padding: 4px 8px;
    color: #898989;
    font-size: 14px;
    background: #f5f5f5;
    border-radius: 10px;
    margin-right: 10px;
}

/* 折叠内容 */
.post-content-text {}

.post-content-text.expanded {
    -webkit-line-clamp: unset;
    max-height: none;
}

.post-expand-btn {
    background: none;
    border: none;
    color: #0072ff;
    cursor: pointer;
    font-size: 14px;
    padding: 5px 0;
    margin-top: 5px;
    display: inline-block;
}

.post-expand-btn:hover {
    text-decoration: underline;
}

.article-Text .graplist p a {
    color: #000000;
    font-size: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    line-height: 1.5;
    max-height: 4.5em;
    transition: max-height 0.3s ease;
}

.expanded {
    -webkit-line-clamp: unset !important;
    /* 取消行数限制 */
    max-height: none !important;
    /* 同时移除最大高度限制（如果之前设置了） */
}

.article-Text .graplist .grid {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;

}

.article-Text .graplist .grid .lsit-box {
    position: relative;
    overflow: hidden;
    width: 154px;
    height: 161.5px;
    border-radius: 5px;

    cursor: zoom-in;
}

/* 帖子显示剩余数量 */
.grid-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.1rem;
    opacity: 1;
    color: var(--white);

}

.article-Text .graplist .grid .lsit-box:hover::after {
    opacity: 1;
    cursor: zoom-in;
}

.article-Text .graplist .grid .lsit-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 保持图片比例并填充容器 */
    transition: transform 0.3s ease;
}

.article-Text .graplist .grid .lsit-box img:hover {
    transform: scale(1.05);
}


.article-Text .userdata,.flex-s {
    /* width: 100%; */
    display: flex;
    gap: 13px;
    /* height: 34px; */
     align-items: center; 
}

.article-Text .userdata .userimg {
    width: 37px;
    height: 37px;
    border-radius: 50%;
    overflow: hidden;
}

.article-Text .userdata .userimg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.user-span .user-name {
    font-size: 16px;
    gap: 4px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.user-span .user-name .ali a {
    color: #000000;
}

/* 徽章 */
.user-span .user-name .boloi{
    width: 32px;
    height:100%; 
}

.user-span .user-name .boloi  img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.user-span span {
    display: flex;
    gap: 4px;
    font-size: 0.77rem;
    color: #9ca3af;
}

/* 侧边栏 */
.right-contaienr {
    /* background-color: #fff; */
    width: 25%;
    height: 100%;
}

/* 文章卡片 */
.article-content {
    width: 100%;
    height: 100%;
}

.article-content .flex-left {
    flex: 1;
    width: 100%;
    height: 100%;
}

.article-content .article-title h3 {
    color: #000000;
}

.article-content .article-title h3:hover {
    color: var(--hover-color);
}

.article-content .contnet {
    color: #333;
    font-size: 15px;
    line-height: 1.5;
    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;
}

.article-content .img-article {
    height: 128px;
    width: 213px;
    overflow: hidden;
}

.article-content .img-article img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 文章标签 */
.article-content .Label .ant-space-item {
    display: flex;
}

.best-comment-user-name {
    font-weight: 700;
    /* margin-left: 4px; */
    color: #999;
}

.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
    text-overflow: ellipsis;
    flex: 1;
    white-space: normal;
}

.best-comment .best-comment-content {
    flex: 1;
    color: #999;
}

.met-tuop {
    display: flex;
    align-items: center;
    gap: 5px;
}

.met-tuop svg {
    display: flex;
    height: 100%;
}

.Label-tag {
    width: 100%;
    display: flex;
    gap: 9px;
    margin-top: 0.5rem;
}

.Label-tag a {
    padding: 4px 8px;
    color: #898989;
    font-size: 14px;
    background: #f5f5f5;
    border-radius: 10px;
    margin-right: 10px;
}

.Commentinformation {
    width: 100%;
    display: flex;
    gap: 26px;
    height: 100%;
    padding-top: 16px;
}

.Commentinformation li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.Commentinformation li:hover {
    color: #0072ff;
}

.Commentinformation li.hover-bgc {
    border-radius: 4px;
    padding: 2px 6px;
}

/* .Commentinformation li.hover-bgc:hover {
    background-color: #f0f0f0;
} */
/* 二级菜单 */
.more-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: -11px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 120px;
    z-index: 1000;
    /* 延迟隐藏效果 */
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s linear 0.2s, opacity 0.2s ease;
}

/* 鼠标悬停在 li 上时立即显示菜单 */
.more-dropdown:hover .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
}

/* 菜单内列表样式 */
.dropdown-menu .ul-ol {
    list-style: none;
    margin: 0;
}

.dropdown-menu li {
    padding: 5px;
}

.dropdown-menu span {
    display: block;
    /* 使整个区域可点击 */
    /* padding: 5px 20px;       设置合适字体大小 */
    line-height: 1.5;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
    padding: 8px 2px;
    font-size: 14px;
    color: #2c3e50;
    cursor: pointer;
    width: 100%;
    text-align: center;
    transition: background 0.2s;
}

/* 悬停效果：背景色变浅，文字颜色变深 */
.dropdown-menu span:hover {
    background-color: rgba(0, 114, 255, 0.05);
    color: var(--logo);
}

/* 可选：添加小箭头（位于菜单右上角） */
.more-dropdown .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 16px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
    filter: drop-shadow(0 -2px 2px rgba(0, 0, 0, 0.05));
}

.Commentinformation li svg {
    display: flex;
}

/* 精选文章 */
.Selected {
    padding: 0 3px;
    border-radius: 3px 0 0 13px;
    position: relative;
    display: flex;
    border: 1px solid #4510e6;
    color: #000000;
    box-shadow: 1px 1px 10px 2px #4610e651;
    align-items: center;
    font-size: 1rem;
    background-color: var(--white);
}

/* 问答 */
.post {
    width: 100%;
    padding: 17px 0;
    border-bottom: 1px solid #f0f0f0;

}

.post .post-title {
    color: #000000;
}

.post .post-title:hover {
    color: var(--hover-color);
}

.post .post-content {
    color: rgba(0, 0, 0, 0.7);
    font-size: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -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;
}

.post .tag-post a {
    font-size: 13px;
    padding: 2px 8px;
    border-radius: 3px;
    background-color: #00000011;
    color: #999;
    flex-shrink: 0;
}

.user-Commentinformation {
    column-gap: 8px;
    color: #000000;
    display: flex;
    align-items: center;
}

.user-Commentinformation .user-avaimg {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    overflow: hidden;

}

.user-Commentinformation .user-avaimg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.date-item span {
    font-size: 0.9rem;
    color: #999;

}

/* 侧边栏通用卡片 */
.right-contaienr .card-index {
    width: 100%;
    background-color: #fff;
    border-radius: var(--radius);
    margin-bottom: 16px;
    padding: 0 8px 8px;
}

.card-index .ant-card-head-title {
    font-weight: 700;
}

.card-index .ant-card-head-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-index .ant-card-head {
    padding: 10px;
}

.ant-card-extra {
    color: #86868b;
    font-size: .85rem;
}

.ant-card-extra:hover {
    color: var(--logo);
}

.ant-card-extra:hover .trans {
    transform: translateX(2px);
    color: #0072ff;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ant-card-body {
    font-size: 15px;
    /* padding: 0 7px; */
}

.ant-card-body ul {
    height: 100%;
    /* display: flex;  */
}

.ant-card-body li .mtllotop {
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 111, 6, 0.1);
    color: #ff6f06;
    padding: .25rem;
}

.ant-card-body .hot-article-item {
    display: flex;
    gap: 5px;
    /* padding: 5px 10px; */
    font-size: .86rem;
}

.ant-card-body ul li {
    padding: 10px;
    transition: all 0.3s ease;
}

.ant-card-body ul li:hover {
    background-color: #f0f0f080;
    border-radius: 10px;
    color: var(--logo);
}

.ant-card-body .hot-article-item .hot-article-title {
    color: #333333;
    flex: 1;
}

.ant-card-body .hot-article-item .flex-space-item {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #66666699;
    font-size: .75rem;
}

/* 热门问答专属颜色 */
.Popular .mtllotop {
    background: rgba(41, 151, 247, 0.1) !important;
    color: #2997f7 !important;
}

/*  热门话题专属颜色*/
.Hottopics .mtllotop {
    background-color: rgba(18, 185, 40, 0.1) !important;
    color: #18a52a !important;
}

/* 话题热度 */
.Hottopics .Heat {
    align-items: center;
    color: var(--size);
}

.Hottopics .hot-article-item {
    align-items: center;

}

.Hottopics .hot-article-item .hot-article-title span {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    -webkit-transition: color .2s ease;
    transition: color .2s ease;
    white-space: nowrap;
}

/* 精选计划特殊卡片 */
.hot-Selected .ant-card-body {
    width: 100%;
    height: auto;
    padding: 7px;
    border-radius: 10px;
    background-color: #fff;
}

.hot-Selected .ant-card-body li {
    margin-bottom: 5px;
}

.hot-Selected .ant-card-body .flex-1 {
    display: flex;
    flex-direction: column;
    padding: 5px 10px;
}

.hot-Selected .ant-card-body .flex-1 .conttitle-list {

    color: #000000;
}

.hot-Selected .ant-card-body .flex-1 p {
    color: #66666699;
    font-size: .75rem;
}

.hot-Selected .ant-card-body .flex-1 .flex-row-s {
    display: flex;
    gap: 10px;
    margin-top: 3px;
}

.hot-Selected .ant-card-body .flex-1 .flex-row-s .tag {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    background-color: #f9fafb;
    color: #6b7280;
}

.hot-Selected .ant-card-body .flex-1 .flex-row-s .tag.highlight {
    background-color: #e9d5ff;
    color: #7e22ce;
}

.hot-Selected .ant-card-body .flex-1 .flex-row-s .tag.spanmax {
    background: rgba(41, 151, 247, 0.1);
    color: #2997f7;
}

/* 热搜卡片 */
.Trending .ant-card-body ul li .Trending-flex {
    display: flex;
    align-items: center;
    padding: 6px 10px;

}

.Trending .ant-card-body ul li {
    padding: 0 !important;
}

.Trending .ant-card-body ul li:hover .Trending-title {
    color: var(--hover-color);
}

.Trending .ant-card-body ul li .HotSearchCard-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #ccc;
    /* background-color: #ff403a; */
}

.Trending .ant-card-body ul li .HotSearchCard-dot-1 {
    background-color: #ff403a;
}

.Trending .ant-card-body ul li .HotSearchCard-dot-2 {
    background-color: rgb(247, 121, 50);
}

.Trending .ant-card-body ul li .HotSearchCard-dot-3 {
    background-color: var(--fuzhu);
}

.Trending .ant-card-body ul li .Trending-title {
    margin-left: 8px;
    color: #000000;
    font-weight: 400;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-transition: color .2s ease;
    transition: color .2s ease;
    white-space: nowrap;
}

.Trending .ant-card-body ul li .HotSearchCard-heat {
    font-size: 10px;
    padding: 2px 6px;
    margin: 0 2px;
    border-radius: 4px;
    color: var(--size);
}

.Trending .ant-card-body ul li .ate-tag {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    width: 16px;
    line-height: 16px;
    margin-left: 6px;
    background-size: contain;
    text-align: center;
    border-radius: 2px;
    font-size: .71rem;
}

.Trending .ant-card-body ul li .HotSearchCard-tag {
    color: #d95350;
    background-color: #ffe3e3;
}

.Trending .ant-card-body ul li .HotSearchCard-tagActivity {
    background: rgba(41, 151, 247, 0.1);
    color: #2997f7;
}

/* 学习排行榜 */
.Studycheck-in .hot-article-title {
    justify-content: space-between;
    align-items: center;
}

.Studycheck-in .hot-article-title .uspimg {
    width: 22px;
    height: 22px;
    background-color: #0072ff;
    overflow: hidden;
    border-radius: 50%;
}

.Studycheck-in .flex-1-s {
    gap: 5px;
}

.Studycheck-in .hot-article-title .uspimg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.Studycheck-in span a {
    color: #000000;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-transition: color .2s ease;
    transition: color .2s ease;
    display: block;
    white-space: nowrap;
}

.Studycheck-in span a:hover {
    color: var(--logo);
}

/* end 学习排行榜*/


/* 主内容骨架屏代码 */
/* 骨架屏容器 */
.skeleton-container {
    background-color: #ffffff;
    border-radius: 12px;
    padding-top: 20px;
}

/* 4条横线骨架样式 */
.skeleton-line {
    height: 16px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    border-radius: 5px;
    margin-bottom: 20px;
    animation: loading 1.5s infinite;
}

/* 4条横线，不同宽度和高度 */
.skeleton-line:nth-child(1) {
    width: 70%;
    height: 24px;
    margin-bottom: 25px;
}

.skeleton-line:nth-child(2) {
    width: 100%;
}

.skeleton-line:nth-child(3) {
    width: 90%;
}

.skeleton-line:nth-child(4) {
    width: 60%;
    margin-bottom: 0;
}

/* 加载动画 */
@keyframes loading {
    0% {
        background-position: 200% 0;
    }

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


/* 发布朋友圈卡片 */

.jvg-post-card {
    width: 100%;
    margin-bottom: 20px;
    background-color: #ffffff;
    border-radius: var(--radius);
    padding: 18px 16px 20px 16px;
    position: relative;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.jvg-tabs {
    display: flex;
    gap: 24px;
    padding-bottom: 10px;
    font-weight: 500;
}

.jvg-tab {
    color: #6b7178;
    letter-spacing: 0.3px;
    cursor: default;
    position: relative;
    padding: 5px 15px;
    background-color: var(--logo);
    border-radius: 5px;
    cursor: pointer;
}

.tab-jvg-s {
    background-color: var(--white);
    color: #000000;
    border: 1px solid var(--gray-border);
    transition: all 0.3s;
}

.tab-jvg-s:hover {
    color: var(--logo);
    border: 1px solid var(--logo);
}

.jvg-tab.jvg-active {
    color: #e4e7eb;
    font-weight: 510;
}

.jvg-input-area {
    background-color: #f7f9fc;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 14px;
}

/* 展示已经选中过的话题类 */
.jvg-topic-item.selected {
    background-color: #e6f7ff;
    color: #1890ff;
    font-weight: 500;
}

.jvg-auto-grow-textarea {
    width: 100%;
    border: none;
    background-color: transparent;
    border-radius: 8px;
    /* padding: 14px 16px; */
    font-family: inherit;
    font-size: 16px;
    color: #1f2329;
    line-height: 1.5;
    resize: none;
    outline: none;
    min-height: 6px;
    max-height: 300px;
    overflow-y: auto;
    transition: all 0.2s;
    scrollbar-width: thin;
    scrollbar-color: #c2c9d0 #f0f3f7;
    box-sizing: border-box;
}


.jvg-auto-grow-textarea::placeholder {
    color: #8e959f;
    font-weight: 400;
    transition: opacity 0.2s ease;
    opacity: 1;
}

.jvg-auto-grow-textarea.fade-out::placeholder {
    opacity: 0;
}

.jvg-auto-grow-textarea::-webkit-scrollbar {
    width: 6px;
}

.jvg-auto-grow-textarea::-webkit-scrollbar-track {
    background: #f0f3f7;
    border-radius: 3px;
}

.jvg-auto-grow-textarea::-webkit-scrollbar-thumb {
    background: #c2c9d0;
    border-radius: 3px;
}

.jvg-auto-grow-textarea::-webkit-scrollbar-thumb:hover {
    background: #a6b0ba;
}

.jvg-image-preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.jvg-image-preview-container.jvg-display-none {
    display: none;
}

.jvg-preview-item {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    background-color: #f0f3f7;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.jvg-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 图片拖拽 */
.jvg-preview-item.drag-over {
    border: 2px dashed #0072ff;
    box-shadow: 0 0 8px rgba(0, 114, 255, 0.3);
}

.drag-hint {
    font-size: 12px;
    color: #999;
    text-align: center;
    padding: 4px 0;
    border-bottom: 1px dashed #eee;
    margin-bottom: 8px;
}

.jvg-close-btn {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
    z-index: 2;
    padding: 0;
}

.jvg-close-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.jvg-sub-prompt {
    font-size: 13.5px;
    color: #7e868f;
    display: flex;
    gap: 6px;
}

.jvg-sub-prompt .jvg-tag {
    font-size: 10px;
    padding: 3px 6px;
    border-radius: 4px;
    position: relative;
    color: var(--logo);
    background: rgba(41, 151, 247, 0.1);
}

.jvg-sub-prompt .jvg-tag .del-right {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
    z-index: 2;
    padding: 0;
}

.jvg-counter-row {
    font-size: 14px;
    color: #b0b8c2;
    letter-spacing: 0.2px;
    font-weight: 420;
}

.jvg-actions-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    row-gap: 12px;
    padding: 2px 0;
}

.jvg-jhg {
    display: flex;
    gap: 19px;
    position: relative;
}

.jvg-action-item {
    font-size: 15px;
    color: #3d434a;
    line-height: 1.4;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    user-select: none;
    padding: 4px 6px;
    border-radius: 4px;
    transition: all 0.2s;

}

.jvg-action-item:hover {
    background-color: #f5f7fa;
}

.jvg-action-item i {
    margin-right: 3px;
}

.jvg-action-item.jvg-publish {
    background-color: var(--logo);
    color: white;
    padding: 6px 18px;
    border-radius: 25px;
    font-weight: 510;
    font-size: 15px;
    box-shadow: 0 1px 3px rgba(30, 128, 255, 0.2);
    border: none;
}

.jvg-action-item.jvg-publish:hover {
    background-color: #0d6efd;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(30, 128, 255, 0.3);
}

/* 下拉菜单基础 */
.jvg-dropdown-menu {
    display: none;
    position: absolute;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(225, 229, 235, 0.6) !important;
    border-radius: 3px;
    z-index: 1000;
    min-width: 300px;
    max-height: 400px;
    overflow: hidden;
    left: 0;
    margin-bottom: 8px;
    animation: jvg-dropdownSlide 0.25s cubic-bezier(0.2, 0, 0, 1);
}

@keyframes jvg-dropdownSlide {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.jvg-action-item.jvg-active .jvg-dropdown-menu {
    display: block;
}

.jvg-action-item.jvg-active {
    background-color: #f0f7ff;
    color: #1e80ff;
}

/* ---------- 表情选择器（网格布局，确保多行） ---------- */
.jvg-emoji-picker {
    min-width: 300px;
    /* 防止过窄 */
    background: rgb(255, 255, 255);
    border: 1px solid rgb(204, 204, 204);
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    padding: 0;
}

.jvg-emoji-header {
    padding: 16px 16px 8px;
    background: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.jvg-emoji-tabs {
    display: flex;
    gap: 8px;
    padding-bottom: 8px;
}

.jvg-emoji-tab {
    padding: 8px 16px;
    border: none;
    background: #f0f3f7;
    border-radius: 30px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
    color: #4e5969;
    flex: 1;
    text-align: center;
}

.jvg-emoji-tab:hover {
    background-color: #e0e6ed;
    transform: translateY(-1px);
}

.jvg-emoji-tab.jvg-active {
    background: linear-gradient(145deg, #1e80ff, #0d6efd);
    color: white;
    box-shadow: 0 4px 10px rgba(30, 128, 255, 0.3);
}

/* 表情网格：8列，自动换行 */
.jvg-emoji-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 8px;
    padding: 16px;
    max-height: 280px;
    overflow-y: auto;
    scrollbar-width: thin;
}

.jvg-emoji-item {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.2s ease;
    background: transparent;
    border: none;
    padding: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.02));
}

.jvg-emoji-item:hover {
    background-color: #f0f7ff;
    transform: scale(1.25) rotate(3deg);
    box-shadow: 0 8px 16px rgba(30, 128, 255, 0.2);
}

/* ---------- 话题选择器（简洁版） ---------- */
.jvg-topic-picker {
    min-width: 100px;
    background: white;
    /* 移除 backdrop-filter 模糊效果 */
    padding: 12px 0;
    border-radius: 3px;
    /* 统一为3px小圆角 */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    /* 更轻盈的阴影 */
}

.jvg-topic-list {
    max-height: 320px;
    overflow-y: auto;
    padding: 0 8px;
    display: flex;
    flex-direction: column;
}

/* 自定义滚动条样式 - 适用于所有需要自定义滚动条的区域 */
.jvg-emoji-grid::-webkit-scrollbar,
.jvg-topic-list::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.jvg-emoji-grid::-webkit-scrollbar-track,
.jvg-topic-list::-webkit-scrollbar-track {
    background: #f0f3f7;
    border-radius: 3px;
}

.jvg-emoji-grid::-webkit-scrollbar-thumb,
.jvg-topic-list::-webkit-scrollbar-thumb {
    background: #c2c9d0;
    border-radius: 3px;
}

.jvg-emoji-grid::-webkit-scrollbar-thumb:hover,
.jvg-topic-list::-webkit-scrollbar-thumb:hover {
    background: #a6b0ba;
}

/* Firefox 滚动条样式 */
.jvg-emoji-grid,
.jvg-topic-list {
    scrollbar-width: thin;
    scrollbar-color: #c2c9d0 #f0f3f7;
}

.jvg-topic-item {
    padding: 10px 16px 10px 16px;
    /* 移除左侧留白，因为不再需要 # 装饰 */
    margin: 2px 0;
    border-radius: 6px;
    /* 温和的圆角 */
    cursor: pointer;
    transition: background-color 0.2s ease;
    color: #1e293b;
    font-size: 14px;
    font-weight: 500;
    background: transparent;
    border: none;
    text-align: left;
    width: 100%;
    display: block;
}

.jvg-topic-item:hover {
    background-color: #f0f7ff;
    /* 仅改变背景色，无位移和阴影 */
    color: #1e80ff;
}

/* 可选：保持简单的点击反馈 */
.jvg-topic-item:active {
    background-color: #e0efff;
}

.jvg-display-none {
    display: none !important;
}

.jvg-flex-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}




/* 加载按钮 */
.load-more {
    margin: 10px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

#load-more-btn {
    color: #fff;
    height: 100%;
    padding: 7px 5px;
    width: 120px;
    border-radius: 3px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid rgba(30, 128, 255, 0.3);
    background: rgba(41, 151, 247, 0.1);
    color: var(--logo);

}



/* 



*/


/* 遮罩层 */
.image-viewer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 999999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.image-viewer-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* 容器 */
.image-viewer-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

/* 关闭按钮 - 使用 FontAwesome 图标 */
.image-viewer-close {
    position: fixed;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000001;
    transition: background 0.2s;
    color: #fff;
    font-size: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.image-viewer-close:hover {

    transform: rotate(-180deg);
    transition: transform 0.5s ease;
    background: rgba(255, 255, 255, 0.2);
}

/* 导航按钮 - 使用 FontAwesome 图标 */
.image-viewer-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 1000000;
    color: #fff;
    font-size: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.image-viewer-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.image-viewer-nav.prev {
    left: 16px;
}

.image-viewer-nav.next {
    right: 16px;
}

/* 主图显示区域 */
.image-viewer-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    /* max-width: 90vw;
    max-height: 80vh; */
    overflow: hidden;
    position: relative;
    background: #000;
    border-radius: 4px;
}

.image-viewer-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
}

/* 图片信息 */
.image-viewer-info {
    position: absolute;
    bottom: 16px;
    left: 0;
    width: 100%;
    text-align: center;
    color: #fff;
    font-size: 14px;
    padding: 0 20px;
    z-index: 1000000;
    font-weight: 400;
    pointer-events: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* 缩略图区域 - 降低高度，更紧凑 */
.image-viewer-thumbnails {
    width: 100%;
    max-width: 1200px;
    height: 70px;
    margin-top: 12px;
    display: flex;
    justify-content: center;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 6px 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
    gap: 6px;
}

.image-viewer-thumbnails::-webkit-scrollbar {
    height: 4px;
}

.image-viewer-thumbnails::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.image-viewer-thumbnails::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.thumbnail-item {
    min-width: 60px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s, transform 0.2s;
    flex-shrink: 0;
    border: 2px solid transparent;
}

.thumbnail-item:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.thumbnail-item.active {
    opacity: 1;
    border-color: var(--logo);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .image-viewer-nav {
        width: 36px;
        height: 36px;
        bottom: 100px;
        top: auto;
        transform: none;
        font-size: 18px;
    }

    .image-viewer-nav.prev {
        left: 8px;
    }

    .image-viewer-nav.next {
        right: 8px;
    }

    .image-viewer-thumbnails {
        height: 56px;
        margin-top: 8px;
        gap: 4px;
    }

    .thumbnail-item {
        min-width: 48px;
        height: 48px;
    }

    .image-viewer-info {
        bottom: 80px;
        font-size: 12px;
    }

    .image-viewer-main {
        max-width: 95vw;
        max-height: 60vh;
    }

    .image-viewer-close {
        width: 36px;
        height: 36px;
        font-size: 16px;
        top: 10px;
        right: 10px;
    }
}

/* 平板适配 */
@media (min-width: 769px) and (max-width: 1024px) {
    .image-viewer-thumbnails {
        height: 64px;
    }

    .thumbnail-item {
        min-width: 54px;
        height: 54px;
    }
}


/*footer  */
.footer-r {
    background-color: transparent !important;
}

.footer-r .ant-card-body {
    padding: 24px 20px;
    text-align: left;
}

.footer-r p {
    margin: 8px 0;
    font-size: 13px;
    color: var(--size);
    line-height: 1.6;
}

.footer-r p a {
    color: var(--size);
}

.footer-r p a:hover {
    color: var(--hover-color);
}


/* 固定特效 */
.top-card {
    width: 284px !important;
    top: 26px;
    position: fixed;
}

.top-card .Hottopics {
    margin-bottom: 0;
    padding: 0;
}