.max-container-show {
    width: var(--max-container);
    height: 100vh;
    margin: 0 auto;
    /* background-color: #fff; */
}

/* 搜索卡片容器：居中，白色背景，柔和阴影 */
.search-container {
    max-width: 90%;
    margin: 0 auto;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 搜索框主体 */
.Search-s {
    margin-top: 55px;
    height: 48px;
    /* 稍微增高，更大气 */
    width: 640px;
    /* 固定宽度，可自行调整 */
    border: 1px solid #e4e6eb;
    border-radius: 8px;
    /* 更大圆角，类似百度 */
    display: flex;
    background-color: #fff;
    overflow: hidden;
    /* 保证圆角裁剪 */
    transition: border-color 0.2s, box-shadow 0.2s;
}

.Search-s:focus-within {
    border-color: var(--logo);
}

/* 输入框 */
.Search-s .inputjson {
    flex: 1;
    border: none;
    outline: none;
    font-size: 15px;
    padding: 0 18px;
    background: transparent;
    color: #1e293b;
}

.Search-s .inputjson::placeholder {
    color: #99a2b5;
    font-weight: 300;
}

/* 搜索按钮 - 全新蓝色 */
.Search-s button {
    border: none;
    background-color: var(--logo);
    /* 醒目蓝色 */
    color: white;
    width: 56px;
    /* 固定宽度 */
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
    /* 与父容器圆角匹配 */
}

.Search-s button:hover {
    background-color: var(--logo);
    /* 悬停加深 */
}

.Search-s button i {
    font-size: 18px;
}

/* ========== 下拉面板 (保留原风格，稍作美化) ========== */
.search-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    z-index: 1000;
    overflow: hidden;
    animation: dropdownFadeIn 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 板块头部 */
.dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* padding: 14px 18px 6px; */
}

.dropdown-title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #7b8ba3;
}

.clear-history {
    font-size: 12px;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.2s;
}

.clear-history:hover {
    color: #ef4444;
}

/* 搜索历史：标签式布局 */
.recent-searches .search-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 8px 16px 16px;
    margin: 0;
    list-style: none;
}

.recent-searches .search-list li {
    font-size: 13px;
    padding: 5px 12px;
    border-radius: 30px;
    background-color: #f0f4fa;
    color: #1e293b;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.recent-searches .search-list li:hover {
    background-color: #e0e8f2;
}

/* 热门搜索：带序号列表 */
.hot-searches {
    border-top: 1px solid #edf2f7;
}

.hot-searches .dropdown-title {
    padding: 12px 18px 0;
}

.hot-searches .search-list {
    list-style: none;
    margin: 0;
    padding: 4px 0 8px;
    counter-reset: hot-counter;
}

.hot-searches .search-list li {
    padding: 10px 18px 10px 42px;
    font-size: 14px;
    color: #1e293b;
    cursor: pointer;
    position: relative;
    transition: background-color 0.2s;
    counter-increment: hot-counter;
}

.hot-searches .search-list li::before {
    content: counter(hot-counter) ". ";
    position: absolute;
    left: 20px;
    color: #94a3b8;
    font-weight: 400;
}

.hot-searches .search-list li:hover {
    background-color: #f5f9ff;
}

/* 快捷nav */
.show-nav {
    margin-top: 56px;
    box-sizing: border-box;
    color: rgba(0, 0, 0, 0.88);
    line-height: 1.5714285714285714;
    list-style: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
    position: relative;
    background: #ffffff;
    min-height: 56px;
    border-radius: var(--radius);
}

.show-nav nav {
    padding: 0 20px;
    margin: 0 auto;
    height: 100%;
}

.show-nav nav ul {
    display: flex;
    gap: 27px;
    height: 100%;
}

.show-nav nav ul li {
    position: relative;
    cursor: pointer;
    line-height: 55px;
    cursor: pointer;
}

/* 高亮条 */
.tab-active {
    color: var(--logo);
}

.node-ighlightbar {
    width: 32px;
    left: 19px;
    height: 2px;
    position: absolute;
    bottom: 1px;
    background-color: var(--logo);
}

/* 展示搜索结果 */
.ant-card-body {
    width: 100%;
    padding: 25px 20px 0 20px;
    margin-top: 25px;
    border-radius: 8px;
    background-color: #fff;
}

/* 筛选 */
.ant-card-body .min-hear {
    margin: 0 auto;
}

.ant-card-body .min-hear ol {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
}

.ant-card-body .min-hear ol li {
    cursor: pointer;
}

/* 结果 */
.show-end {
    width: 100%;
    /* min-height: 500px; */
}

.show-end .ant-spin-container {}

/* 文章卡片 */
.ant-list-items {
    padding-top: 16px;
    padding-bottom: 16px;

}

.ant-list-items a {}

.ant-list-items a h1 {
    color: #000000;
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.ant-list-items a p {
    color: var(--size);
    margin: 8px 0;


    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;
}

.ant-list-items a .ty-flex {
    display: flex;
    align-items: center;
    gap: 35px;
    color: var(--size);
}

.items-center {
    display: flex;
    gap: 17px;
}

.text-sm {
    display: flex;
    gap: 5px;
    align-items: center;
}




/* 主内容骨架屏代码 */
/* 骨架屏容器 */
.skeleton-container {
    background-color: #ffffff;
    border-radius: 12px;
    /* padding: 20px;  */
    margin-bottom: 30px;
}

/* 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;
    }
}

/* 用户 */
.user-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    /* 可根据需要调整 */
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
}

.user-card-item {
    list-style: none;
}

/* 卡片改为左右 flex 布局 */
.user-card {
    display: flex;
    align-items: flex-start;
    /* 顶部对齐，信息更规整 */
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
    padding: 16px;
    /* 内边距统一，不再上下留白过多 */
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid rgba(0, 0, 0, 0.02);
    backdrop-filter: blur(2px);
}

.user-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06), 0 4px 8px rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.04);
}

/* 左侧头像容器 */
.user-avatar-link {
    flex-shrink: 0;
    /* 防止缩小 */
    margin-right: 16px;
    /* 与右侧信息间距 */
    display: block;
}

.user-avatar {
    width: 72px;
    /* 左右布局下头像稍小，更协调 */
    height: 72px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 2px solid #fff;
    transition: transform 0.2s ease;
}

.user-card:hover .user-avatar {
    transform: scale(1.02);
}

/* 右侧信息区域 */
.user-info {
    flex: 1;
    /* 占据剩余空间 */
    display: flex;
    flex-direction: column;
    gap: 6px;
    /* 信息间距稍小，适合左对齐 */
    min-width: 0;
    /* 防止文本溢出 */
}

/* 名称行左对齐 */
.user-name-line {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* 左对齐 */
    gap: 8px;
    flex-wrap: wrap;
}

.user-nickname {
    font-weight: 600;
    font-size: 1.1rem;
    color: #1e293b;
    text-decoration: none;
    line-height: 1.4;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /* 防止过长昵称折行 */
    max-width: 100%;
    /* 配合 flex 自适应 */
}

.user-nickname:hover {
    color: #0f172a;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: #94a3b8;
}

.user-signature {
    font-size: 0.85rem;
    color: #64748b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    padding: 0;
}

.user-stats {
    font-size: 0.8rem;
    color: #94a3b8;
    margin: 2px 0;
}

.fans-count {
    font-weight: 600;
    color: #334155;
}

/* 按钮左对齐，宽度自适应 */
.follow-btn {
    border: none;
    color: #fff;
    height: 100%;
    padding: 7px 5px;
    width: 120px;
    border-radius: 3px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    background-color: var(--logo);
}

/* 已关注 */
.Followed {
    background-color: #7b8ba3;
}

.follow-btn:hover {
    background-color: #e2e8f0;
    color: #0f172a;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.04);
}

.follow-btn.followed {
    background-color: #e2e8f0;
    color: #64748b;
    cursor: default;
}

.follow-btn.followed:hover {
    background-color: #cbd5e1;
    color: #334155;
}

.follow-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f1f5f9;
    color: #94a3b8;
    box-shadow: none;
}

/* 若需边框按钮变体，保留 */
.follow-btn.outline {
    background: transparent;
    border: 1px solid #cbd5e1;
    color: #334155;
}

.follow-btn.outline:hover {
    background: #f8fafc;
    border-color: #94a3b8;
}


/* 帖子特殊样式 */

.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;

    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;
}

.article-Text .graplist .grid .lsit-box:nth-child(5)::after {
    content: attr(data-extra);
    /* 动态获取 data-extra 的值 */
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.1rem;
    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;
}

/* 徽章 */
.boloi {
    width: 32px;
    height: 100%;
}

.boloi a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.user-span span {
    display: flex;
    gap: 4px;
    font-size: 0.77rem;
    color: #9ca3af;
}