* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	background-color: #f5f7fa;
	font-family: "Microsoft Yahei", sans-serif;
	font-size: 14px;
	color: #333;
}

.main-container {
	display: flex;
	height: 100vh;
}


/* 左侧面板 - 历史记录区 */
.left-panel {
	width: 280px;
	min-width: 280px;
	background: #fff;
	border-right: 1px solid #e5e6eb;
	display: flex;
	flex-direction: column;
}

.user-avatar {
	padding: 16px 0;
	text-align: center;
	/* border-bottom: 1px solid #e5e6eb; */
}

.user-avatar img {
	width: 48px;
	height: 48px;
	border-radius: 50%;
}

.history-list {
	flex: 1;
	overflow-y: auto;
	padding: 12px 10px;
}

.new-chat-btn {
	width: 100%;
	height: 32px;
	line-height: 32px;
	background: #ecf5ff;
	border: 1px solid #c6e2ff;
	color: #ff4d4f;
	border-radius: 4px;
	font-size: 14px;
}

.history-tips {
	margin-top: 12px;
	color: #ff5722;
	font-size: 12px;
	line-height: 1.4;
	border-radius: 5px;
}
.layui-table-view .layui-table-main {
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
}

.layui-table-view .layui-table-header {
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}
.layui-table {
	background-color: #ffffff !important; /* 或者使用 rgb(255, 255, 255) */
}
.layui-table tr {
	background-color: #ffffff !important; /* 白色 */
}

/* 中间面板 - 编辑区 */
.middle-panel {
	width: 620px;
	min-width: 620px;
	background: #fff;
	/* border-right: 1px solid #e5e6eb; */
	display: flex;
	flex-direction: column;
	padding-left: 10px;
}

.editor-header {
	padding: 12px;
	/* border-bottom: 1px solid #e5e6eb; */
	font-weight: 600;
	color: #333;
}

.editor-area {
	flex: 1;
	padding: 15px 12px;
	overflow-y: auto;
}

.editor-area .layui-form-item {
	margin-bottom: 15px;
}

.editor-area .layui-form-label {
	width: 70px;
	padding: 9px 0;
	text-align: left;
	font-size: 14px;
	color: #333;
	font-weight: bold;
	float: inherit;
}

.editor-area .layui-form-label.lab-bt span {
	color: red;
	padding-left: 3px;
}

.editor-area .layui-input-block {
	margin-left: 0;
}

.editor-area .layui-textarea {
	resize: none;
	min-height: 120px;
	border-radius: 4px;
	border: 1px solid #e5e6eb;
	padding: 8px 10px;
	background: #f1f1f1;
	font-size: 14px;
}

.editor-area .layui-textarea::placeholder {
	color: #999;
	font-size: 13px;
}

.editor-bottom {
	padding: 12px;
	align-items: center;
}

.char-count {
	font-size: 12px;
	color: #999;
}

.send-area {
	display: flex;
	justify-self: end;
	align-items: center;
}

.emoji-btn {
	height: 30px;
	width: 30px;
	border-radius: 4px;
	background: #f5f5f5;
	border: 1px solid #e5e6eb;
	margin-right: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.send-btn {
	height: 30px;
	width: 30px;
	border-radius: 4px;
	background: #9c27b0;
	border: none;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* 右侧面板 - 内容展示区 */
.right-panel {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.top-bar {
	height: 60px;
	background: #fff;
	/* border-bottom: 1px solid #e5e6eb; */
	display: flex;
	align-items: center;
	justify-content: end;
	padding: 0 20px;
}

.vip-tag {
	color: #ff5722;
	font-weight: 600;
	font-size: 14px;
}

.login-btn {
	height: 32px;
	line-height: 32px;
	padding: 0 15px;
	border-radius: 4px;
	background: #fff;
	border: 1px solid #ff5722;
	color: #ff5722;
	font-size: 14px;
}

.filter-bar {
	padding: 15px 0;
	background: #fff;
	border-bottom: 1px solid #e5e6eb;
}

.filter-bar .layui-tab {
	margin-bottom: 12px;
}
.layui-tab-content {
    padding: 0;
}

.filter-bar .layui-tab-title li {
	padding: 0 18px;
	height: 36px;
	line-height: 36px;
	font-size: 14px;
}

.filter-bar .layui-tab-title .layui-this {
	color: #ff4d4f;
}

.filter-bar .layui-tab-title .layui-this:after {
	border-bottom-color: #ff4d4f;
}

.type-tags {
	margin-bottom: 12px;
}

.type-tags span {
	display: inline-block;
	margin: 5px 12px;
	font-size: 13px;
	color: #666;
	cursor: pointer;
}

.type-tags span.active {
	color: #ff4d4f;
	font-weight: 600;
}

.period-group {
	display: flex;
	align-items: center;
}

.period-group label {
	font-size: 14px;
	color: #666;
	margin-right: 10px;
}

.period-btn {
	height: 30px;
	line-height: 30px;
	padding: 0 12px;
	border-radius: 4px;
	font-size: 14px;
	margin-right: 5px;
}

.period-btn.layui-this {
	background: #ff4d4f;
	border-color: #ff4d4f;
	color: #fff;
}

.date-input {
	height: 30px;
	line-height: 30px;
	border-radius: 4px;
	border: 1px solid #e5e6eb;
	padding: 0 8px;
	font-size: 13px;
	margin: 0 10px;
}

/* 内容列表 - 修复对齐问题 */
.content-list {
	flex: 1;
	overflow-y: auto;
	padding: 15px 20px;
	background: #fff;
}

.list-header {
	display: flex;
	align-items: center;
	padding: 0 15px 8px;
	border-bottom: 1px solid #f0f0f0;
	margin-bottom: 8px;
}

.list-header .title-col {
	flex: 2;
	font-size: 12px;
	color: #999;
}

.list-header .stats-col {
	display: flex;
	width: 320px;
	/* 4个统计项 × 80px */
	font-size: 12px;
	color: #999;
}

.list-header .stats-col span {
	width: 80px;
	text-align: center;
}

/* 内容项 - 完全对齐的布局 */
.content-item {
	background: #fff;
	border-radius: 4px;
	padding: 12px 0;
	margin-bottom: 8px;
	cursor: pointer;
	transition: all 0.2s;
	display: flex;
	flex-direction: column;
}

.content-item:hover {
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.content-row {
	display: flex;
	align-items: flex-start;
	margin-bottom: 6px;
}

.content-title {
	flex: 1;
	font-size: 14px;
	color: #333;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-right: 15px;
}

.content-stats {
	display: flex;
	width: 320px;
	/* 与表头宽度一致 */
	font-size: 12px;
	color: #666;
	flex-shrink: 0;
	/* 防止被压缩 */
}

.content-stats span {
	width: 80px;
	text-align: center;
}

.content-stats span:last-of-type {
	color: #1890ff;
}

.content-meta {
	display: flex;
	align-items: center;
	font-size: 12px;
	color: #999;
}

.content-meta .avatar {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	margin-right: 4px;
}

.content-meta .meta-dot {
	font-size: 12px;
	padding-right: 6px;
}

.orange {
	color: orange;
}

.blue {
	color: #2488f3;
}

.purple {
	color: #d944d9;
}

.pink {
	color: pink;
}

.green {
	color: #52c352;
}

.content-meta span.divider {
	margin: 0 8px;
}

/* Tab 内容区默认隐藏 */
.layui-tab-content .layui-tab-item {
	display: none;
}

.layui-tab-content .layui-show {
	display: block;
}

/* 小红书 Tab 专属样式 - 统一管理 */
.xhs-tab-wrapper {
	padding: 10px 0;
}





/* 分类标签栏 */
.bk-category-tabs {
	margin-bottom: 12px;
	overflow-x: auto;
	padding-bottom: 8px;
}

.bk-category-tab {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 4px;
	font-size: 12px;
	margin-right: 8px;
	cursor: pointer;
	margin-bottom: 10px;
}

.bk-category-tab.active {
	background: #ff4d4f !important;
	color: #fff !important;
	border: none !important;
}

.bk-category-tab,
.xhs-time-btn {
	user-select: none;
	-webkit-user-select: none;
}

.bk-category-tab.normal {
	background: #f5f5f5;
	color: #666;
}





/* 分类标签栏 */
.xhs-category-tabs {
	margin-bottom: 12px;
	overflow-x: auto;
	padding-bottom: 8px;
}

.xhs-category-tab {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 4px;
	font-size: 12px;
	margin-right: 8px;
	cursor: pointer;
	margin-bottom: 10px;
}

.xhs-category-tab.active {
	background: #ff4d4f !important;
	color: #fff !important;
	border: none !important;
}

.xhs-category-tab,
.xhs-time-btn {
	user-select: none;
	-webkit-user-select: none;
}

.xhs-category-tab.normal {
	background: #f5f5f5;
	color: #666;
}

/* 时间筛选按钮 */
.xhs-time-filter {
	margin-bottom: 15px;
}

.xhs-time-btn {
	height: 28px;
	line-height: 28px;
	padding: 0 12px;
	border-radius: 4px;
	font-size: 12px;
	border: 1px solid #e5e6eb;
	background: #fff;
	color: #666;
	cursor: pointer;
	margin-right: 8px;
}

.xhs-time-btn.active {
	border-color: #ff4d4f !important;
	color: #ff4d4f !important;
	background: #fff !important;
}

/* 榜单表头 */
.xhs-table-header {
	display: flex;
	background: #f8f8f8;
	padding: 8px 15px;
	font-size: 12px;
	color: #666;
	border-bottom: 1px solid #e5e6eb;
	align-items: center;
	/* 新增：表头文字垂直居中 */
}

.xhs-table-header>div {
	text-align: center;
	height: 100%;
	/* 新增：高度继承 */
	display: flex;
	/* 新增：flex布局保证垂直居中 */
	align-items: center;
	justify-content: center;
	/* 新增：水平居中 */
}

.xhs-col-rank {
	width: 60px;
	flex: none;
}

.xhs-col-info {
	flex: 1;
	text-align: left;
	justify-content: flex-start !important;
	/* 关键：信息列左对齐 */
	min-width: 200px;
	/* 新增：防止挤压 */
}

.xhs-col-category {
	width: 100px;
	flex: none;
}

.xhs-col-collect {
	width: 70px;
	flex: none;
}

.xhs-col-share {
	width: 70px;
	flex: none;
}

.xhs-col-comment {
	width: 70px;
	flex: none;
}

.xhs-col-like {
	width: 70px;
	flex: none;
}

.xhs-col-total {
	width: 80px;
	flex: none;
	color: #666 !important;
}

.xhs-col-oper {
	width: 80px;
	flex: none;
	justify-content: center !important;
	/* 关键：操作列水平居中 */
}

/* 榜单行 */
.xhs-table-row {
	display: flex;
	padding: 12px 15px;
	align-items: center;
	border-bottom: 1px solid #f5f5f5;
	background: #fff;
	font-size: 14px;
	box-sizing: border-box;
	/* 新增：盒模型统一 */
}

.xhs-table-row>div {
	text-align: center;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

/* 行内各列宽度与表头严格对应 */
.xhs-table-row .xhs-col-rank {
	width: 60px;
	flex: none;
}

.xhs-table-row .xhs-col-info {
	flex: 1;
	text-align: left;
	justify-content: flex-start !important;
	min-width: 200px;
}

.xhs-table-row .xhs-col-category {
	width: 100px;
	flex: none;
}

.xhs-table-row .xhs-col-collect {
	width: 70px;
	flex: none;
}

.xhs-table-row .xhs-col-share {
	width: 70px;
	flex: none;
}

.xhs-table-row .xhs-col-comment {
	width: 70px;
	flex: none;
}

.xhs-table-row .xhs-col-like {
	width: 70px;
	flex: none;
}

.xhs-table-row .xhs-col-total {
	width: 80px;
	flex: none;
	color: #ff4d4f !important;
	font-size: 14px;
}

.xhs-table-row .xhs-col-oper {
	width: 80px;
	flex: none;
	flex-direction: inherit;
	justify-content: center !important;
	align-items: center !important;
}

/* 操作按钮 - 适配垂直排列 */
.xhs-oper-btn {
	font-size: 11px;
	color: #666;
	cursor: pointer;
	margin: 1px 0;
	/* 微调间距 */
	display: inline-block;
}

.xhs-oper-btn:first-of-type {
	margin-right: 10px;
}

/* 排名样式 */
.xhs-rank-icon {
	display: inline-block;
	width: 20px;
	height: 20px;
	line-height: 20px;
	border-radius: 50%;
	color: #fff;
	font-size: 11px;
	font-weight: bold;
	text-align: center;
}

.xhs-rank-1 {
	background: #ffd700;
}

.xhs-rank-2 {
	background: #c0c0c0;
}

.xhs-rank-3 {
	background: #cd7f32;
}

.xhs-rank-other {
	background: #e5e6eb;
	color: #666 !important;
}

/* 笔记信息 */
.xhs-note-info {
	display: flex;
	align-items: flex-start;
	/* 改为顶部对齐，配合子元素 margin-top 实现底端对齐 */
	width: 100%;
}

.xhs-note-cover {
	width: 64px;
	height: 64px;
	border-radius: 4px;
	margin-right: 10px;
	flex-shrink: 0;
	/* 防止图片被压缩 */
}

.xhs-note-desc {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	/* 让标题和作者信息上下分布 */
	height: 64px;
	/* 与图片高度一致，确保对齐 */
}

.xhs-note-title {
	font-size: 14px;
	color: #333;
	margin-bottom: 4px;
	line-height: 1.4;
	margin: 0;
}

.xhs-note-author {
	font-size: 11px;
	color: #999;
	display: flex;
	align-items: center;
	margin-top: auto;
	/* 关键：自动顶到父容器底端 */
}

.xhs-author-avatar {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	margin-right: 4px;
}

/* 分类文本 */
.xhs-category-main {
	color: #333;
	font-size: 13px;
	font-weight: bold;
}

.xhs-category-sub {
	font-size: 11px;
	color: #666;
}

/* 数据高亮 */
.xhs-highlight {
	color: #ff4d4f;
	font-weight: 500;
}

/* 操作按钮 */
.xhs-oper-btn {
	font-size: 14px;
	color: #666;
	cursor: pointer;
	display: block;
	margin-bottom: 2px;
}


/* 公众号 Tab 专属样式 */
.gzh-tab-wrapper {
	padding: 10px 0;
}

/* 分类标签栏 */
.gzh-category-tabs {
	margin-bottom: 12px;
	overflow-x: auto;
	padding-bottom: 8px;
}

.gzh-category-tab {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 4px;
	font-size: 12px;
	margin-right: 8px;
	cursor: pointer;
	background: #f5f5f5;
	color: #666;
	margin-bottom: 5px;
}

.gzh-category-tab.active {
	background: #ff4d4f;
	color: #fff!important;
}

/* 时间筛选栏 */
.gzh-time-filter {
	margin-bottom: 15px;
	display: flex;
	align-items: center;
	font-size: 12px;
	color: #666;
}

.gzh-time-filter select {
	height: 28px;
	line-height: 28px;
	padding: 0 8px;
	border-radius: 4px;
	border: 1px solid #e5e6eb;
	font-size: 12px;
	margin-left: 8px;
}

/* 榜单表头 */
.gzh-table-header {
	display: flex;
	background: #f8f8f8;
	padding: 8px 15px;
	font-size: 12px;
	color: #666;
	border-bottom: 1px solid #e5e6eb;
}

.gzh-col-rank {
	width: 60px;
	flex: none;
}

.gzh-col-info {
	flex: 1;
	text-align: left;
}

.gzh-col-see {
	width: 80px;
	flex: none;
	text-align: center;
}

.gzh-col-like {
	width: 80px;
	flex: none;
	text-align: center;
}

.gzh-col-share {
	width: 80px;
	flex: none;
	text-align: center;
}

.gzh-col-read {
	width: 80px;
	flex: none;
	text-align: center;
}

.gzh-col-oper {
	width: 120px;
	flex: none;
	text-align: center;
}

/* 榜单行 */
.gzh-table-row {
	display: flex;
	padding: 12px 15px;
	align-items: center;
	border-bottom: 1px solid #f5f5f5;
	background: #fff;
	font-size: 14px;
}

.gzh-table-row>div {
	/* text-align: center; */
}

/* 排名样式 */
.gzh-rank-icon {
	display: inline-block;
	width: 20px;
	height: 20px;
	line-height: 20px;
	border-radius: 50%;
	background: #ffd700;
	color: #fff;
	font-size: 11px;
	font-weight: bold;
	text-align: center;
}

.gzh-rank-2 {
	background: #c0c0c0;
}

.gzh-rank-3 {
	background: #cd7f32;
}

.gzh-rank-other {
	background: #e5e6eb;
	color: #666;
}

/* 基本信息 */
.gzh-info-wrap {
	display: flex;
	align-items: flex-start;
	width: 100%;
}

.gzh-info-cover {
	width: 64px;
	height: 64px;
	border-radius: 4px;
	margin-right: 10px;
	flex-shrink: 0;
}

.gzh-info-desc {
	flex: 1;
	/* display: flex;
	  flex-direction: column; */
	height: 64px;
}

.gzh-info-title {
	font-size: 13px;
	color: #333;
	line-height: 1.4;
	margin: 0 0 2px 0;
	/* 标题底部留小间距 */
	display: -webkit-box;
	-webkit-line-clamp: 1;
	/* 标题强制单行 */
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.gzh-info-mid {
	font-size: 11px;
	color: #999;
	margin: 0 0 2px 0;
	/* 中间行底部留小间距 */
}

.gzh-info-tags {
	font-size: 11px;
	color: #999;
	margin-top: auto;
	/* 标签行顶到图片底部 */
	padding-top: 5px;
}

/* 标签样式 */
.gzh-tag {
	display: inline-block;
	padding: 1px 4px;
	border-radius: 2px;
	font-size: 10px;
	color: #fff;
	background: #f5222d;
	margin-right: 4px;
}

.gzh-tag.blue {
	background: #1890ff;
}

.gzh-info-meta {
	font-size: 11px;
	color: #999;
	display: flex;
	align-items: center;
	margin-top: auto;
}

.gzh-info-meta span {
	margin-right: 8px;
	display: inline-flex;
	align-items: center;
}

.gzh-info-meta span::after {
	content: "";
	display: inline-block;
	width: 2px;
	height: 2px;
	border-radius: 50%;
	background: #999;
	margin-left: 8px;
}

.gzh-info-meta span:last-child::after {
	display: none;
}

/* 标签样式 */
.gzh-tag {
	display: inline-block;
	padding: 1px 4px;
	border-radius: 2px;
	font-size: 10px;
	color: #fff;
	background: #f5222d;
	margin-right: 4px;
}

.gzh-tag.blue {
	background: #1890ff;
}

/* 阅读数高亮 */
.gzh-read-highlight {
	color: #00b42a;
	font-weight: 500;
}

/* 操作按钮 */
.gzh-oper-btn {
	font-size: 13px;
	color: #666;
	cursor: pointer;
	display: inline-block;
	margin-right: 8px;
}


/* 爆款标题 Tab 专属样式 - 重命名类名避免冲突 */
.hot-title-tab-wrap {
	padding: 10px 0;
}

/* 平台切换栏 */
.ht-plat-switch {
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.ht-plat-btn {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 4px 12px;
	border-radius: 4px;
	font-size: 12px;
	cursor: pointer;
	border: 1px solid #e5e6eb;
	background: #fff;
	color: #666;
}

.ht-plat-btn.active {
	border-color: #ff4d4f;
	background: #fff;
	color: #ff4d4f;
}

/* 分类标签栏 */
.ht-cate-tabs {
	margin-bottom: 12px;
	overflow-x: auto;
	padding-bottom: 8px;
}

.ht-cate-tab {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 4px;
	font-size: 12px;
	margin-right: 8px;
	cursor: pointer;
	background: #f5f5f5;
	color: #666;
	margin-bottom: 5px;
}

.ht-cate-tab.active {
	background: #ff4d4f;
	color: #fff;
}

/* 时间筛选栏 */
.ht-date-filter {
	margin-bottom: 15px;
	display: flex;
	align-items: center;
	font-size: 12px;
	color: #666;
	gap: 12px;
}

.ht-date-btn {
	padding: 4px 12px;
	border-radius: 4px;
	cursor: pointer;
}

.ht-date-btn.active {
	background: #ff4d4f;
	color: #fff;
}

/* 榜单容器 */
.ht-list-box {
	background: #fff;
	border-radius: 4px;
	overflow: hidden;
	height: calc(100vh - 200px);
}

/* 榜单表头 */
.ht-list-header {
	display: flex;
	padding: 8px 15px;
	font-size: 12px;
	color: #666;
	border-bottom: 1px solid #f5f5f5;
}

.ht-col-rank {
	width: 60px;
	flex: none;
}

.ht-col-title {
	flex: 1;
	text-align: left;
}

.ht-col-interact {
	width: 120px;
	flex: none;
	text-align: center;
}

/* 榜单行 */
.ht-list-row {
	display: flex;
	padding: 8px 15px;
	align-items: center;
	border-bottom: 1px solid #f5f5f5;
	font-size: 14px;
	color: #333;
}

.ht-list-row>div {
	text-align: left;
}

.ht-list-row .ht-col-interact {
	text-align: center;
	color: #ff4d4f;
}

/* 排名样式 */
.ht-rank-num {
	font-size: 12px;
	color: #999;
}

.ht-rank-num.top3 {
	color: #ff4d4f;
	font-weight: bold;
}

/* 小红书热词 Tab 专属样式 */
.xhs-hotwords-tab {
	padding: 10px 0;
}

/* 热词榜头部 */
.hotwords-header {
	display: flex;
	align-items: center;
	margin-bottom: 12px;
	font-size: 14px;
	font-weight: 600;
	color: #333;
}

.hotwords-header .tag {
	background: #ff4d4f;
	color: #fff;
	padding: 2px 6px;
	border-radius: 4px;
	font-size: 12px;
	margin-right: 8px;
}

/* 统计时间栏 */
.stats-time-bar {
	display: flex;
	align-items: center;
	margin-bottom: 12px;
	font-size: 12px;
	color: #666;
}

.stats-time-ti {
	width: 100px;
	margin: 10px 0;
	font-size: 14px;
	display: inline-block;
}

.stats-time-bar .time-btn {
	background: #ff4d4f;
	color: #fff;
	padding: 2px 8px;
	border-radius: 4px;
	margin-right: 8px;
	cursor: pointer;
}

.stats-time-bar .time-select {
	border: 1px solid #e5e6eb;
	border-radius: 4px;
	padding: 2px 8px;
	font-size: 12px;
	margin-right: 12px;
}

/* 内容领域标签栏 */
.coverage-tags {
	margin-bottom: 12px;
	font-size: 12px;
	color: #666;
}

.coverage-tags span {
	margin-right: 8px;
	cursor: pointer;
}

.coverage-tags .active {
	color: #ff4d4f;
}

.coverage-tags .collapse {
	color: #ff4d4f;
	cursor: pointer;
	margin-left: 8px;
}

/* 热词榜单头 */
.hotwords-table-header {
	display: flex;
	background: #f8f8f8;
	padding: 8px 15px;
	font-size: 14px;
	color: #666;
	border-bottom: 1px solid #e5e6eb;
}

.hotwords-col-rank {
	width: 60px;
	flex: none;
}

.hotwords-col-word {
	flex: 1;
	text-align: left;
	font-weight: bold;
}

.hotwords-col-domain {
	width: 300px;
	flex: none;
}

.hotwords-col-note {
	width: 180px;
	flex: none;
	text-align: center;
	font-weight: bold;
}

.hotwords-col-article {
	width: 180px;
	flex: none;
	text-align: center;
	font-weight: bold;
}

.hotwords-col-hot {
	width: 200px;
	flex: none;
	text-align: center;
}

/* 热词榜单行 */
.hotwords-table-row {
	display: flex;
	padding: 12px 15px;
	align-items: center;
	border-bottom: 1px solid #f5f5f5;
	background: #fff;
	font-size: 13px;
	color: #333;
}

.hotwords-table-row>div {
	text-align: left;
}

.hotwords-table-row .hotwords-col-note,
.hotwords-table-row .hotwords-col-article {
	text-align: center;
}

.hotwords-table-row .hotwords-col-hot {
	text-align: center;
	color: #ff4d4f;
	font-weight: bold;
}

/* 排名样式 */
.hotwords-rank {
	display: inline-block;
	width: 20px;
	height: 20px;
	line-height: 20px;
	border-radius: 50%;
	background: #ffd700;
	color: #fff;
	font-size: 11px;
	font-weight: bold;
	text-align: center;
	margin-right: 8px;
}

.hotwords-rank.rank-2 {
	background: #c0c0c0;
}

.hotwords-rank.rank-3 {
	background: #cd7f32;
}

.hotwords-rank.rank-other {
	background: #e5e6eb;
	color: #666;
}

/* 领域标签 */
.domain-tag {
	display: inline-block;
	padding: 1px 4px;
	border-radius: 2px;
	font-size: 11px;
	color: #ff4d4f;
	background: #ecf5ff;
	margin-right: 4px;
}

/* NEW标签 */
.new-tag {
	display: inline-block;
	padding: 1px 4px;
	border-radius: 2px;
	font-size: 13px;
	color: #ff4d4f;
	border: 1px solid #ff4d4f;
	margin-left: 4px;
}
/* 全局自定义滚动条 - 悬浮显示，不占用内容宽度 */
/* 1. 定义滚动条容器（垂直滚动条） */
::-webkit-scrollbar {
  width: 6px; /* 滚动条宽度（悬浮时的宽度，尽量窄，减少遮挡） */
  height: 6px; /* 横向滚动条高度（对应之前的横向滚动需求） */
  opacity: 0; /* 默认透明隐藏 */
  transition: opacity 0.2s ease; /* 过渡动画，悬浮时平滑显示 */
}

/* 2. 鼠标悬浮在滚动容器上时，显示滚动条 */
:hover::-webkit-scrollbar {
  opacity: 1; /* 完全显示 */
}

/* 3. 滚动条轨道（背景） - 透明，不占用视觉空间 */
::-webkit-scrollbar-track {
  background: transparent; /* 轨道透明，避免出现额外背景框 */
  border-radius: 3px; /* 圆角，更美观 */
}

/* 4. 滚动条滑块（可拖动的部分） - 半透明悬浮样式 */
::-webkit-scrollbar-thumb {
  background: rgba(144, 147, 153, 0.3); /* 半透明灰色，不刺眼 */
  border-radius: 3px; /* 圆角，与轨道对应 */
  transition: background 0.2s ease; /* 悬浮滑块时加深颜色 */
}

/* 5. 鼠标悬浮在滑块上时，加深颜色，提升交互感 */
::-webkit-scrollbar-thumb:hover {
  background: rgba(144, 147, 153, 0.6);
}

/* 6. 给所有滚动容器补充样式，确保滚动条悬浮生效（关键：避免内容被滚动条挤压） */
.content-item-wrap, .xhs-table-body, .gzh-table-body, .ht-list-body, .hotwords-table-body {
  /* 取消原有可能的 padding-right，改为 overflow-clip: padding-box */
  padding-right: 0;
  overflow-clip: padding-box; /* 滚动条悬浮在内容上方，不占用容器内边距 */
  overflow-y: auto; /* 保留垂直滚动功能 */
}

/* 7. 优化横向滚动条（对应之前的窗口缩小需求），同样悬浮显示 */
body::-webkit-scrollbar {
  height: 8px;
  opacity: 0;
}

body:hover::-webkit-scrollbar {
  opacity: 1;
}



/* H5适配 */
@media screen and (max-width: 1024px) {
	.main-container {
		flex-direction: column;
	}

	.left-panel,
	.middle-panel {
		width: 100%;
		border-right: none;
		border-bottom: 1px solid #e5e6eb;
	}

	.middle-panel{
		  width: 380px;
		  min-width: 380px;
	}

	.right-panel {
	}

	.type-tags span {
		margin-right: 8px;
		margin-bottom: 5px;
	}

	.list-header .stats-col,
	.content-stats {
		width: 240px;
	}

	.list-header .stats-col span,
	.content-stats span {
		width: 60px;
	}
}

@media (max-width: 1599px) {
  .middle-panel {
    width: 480px;
	min-width: 480px;
  }
}

/* 媒体查询2：窗口宽度 < 1200px 时，设置 middle-panel 宽度为 380px */
/* 注意：max-width 1199px 会覆盖 max-width 1599px（CSS 层叠性），实现「更小窗口优先级更高」 */
@media (max-width: 1199px) {
  .middle-panel {
    width: 380px;
	min-width: 380px;
  }
}



/* 弹窗内容容器样式 */
.login-qrcode-container {
	width: 300px;
	padding: 20px;
	background: #2b2b2b;
	border-radius: 8px;
	text-align: center;
	color: #fff;
}

/* 标题样式 */
.login-title {
	font-size: 18px;
	margin-bottom: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.login-title i {
	color: #07c160;
	font-size: 20px;
}

/* 绿色提示条 */
.tip-bar {
	background: #07c160;
	color: #fff;
	padding: 6px 12px;
	border-radius: 4px;
	font-size: 12px;
	margin-bottom: 20px;
	display: inline-block;
}

/* 二维码图片容器 */
.qrcode-box {
	background: #fff;
	padding: 10px;
	border-radius: 4px;
	margin-bottom: 20px;
	height: 226px;
	align-items: center;
	display: flex;
	justify-content: center;
}

.qrcode-box img {
	width: 180px;
	height: 180px;
}

/* 底部协议文字 */
.protocol-text {
	font-size: 12px;
	color: #999;
}

.protocol-text a {
	color: #07c160;
	text-decoration: none;
}


/* 头像触发按钮样式 */
.avatar-trigger {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border-radius: 20px;
	cursor: pointer;
	transition: background 0.3s;
	width: fit-content;
	/* 限制触发区宽度，避免误判 */
}

.avatar-img {
	width: 40px;
	height: 40px;
	border-radius: 50%;
}

/* 下拉面板整体样式 */
.profile-dropdown {
	width: 300px;
	background: #2b2b2b;
	border-radius: 8px;
	padding: 15px;
	color: #fff;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	cursor: default;
	/* 取消面板默认鼠标指针 */
}

/* 用户信息头部 */
.profile-header {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-bottom: 15px;
	border-bottom: 1px solid #444;
	margin-bottom: 15px;
}

.profile-header .avatar {
	width: 50px;
	height: 50px;
	border-radius: 50%;
}

.profile-header .user-info .username {
	font-size: 16px;
	font-weight: 500;
}

.profile-header .user-info .login-type {
	font-size: 12px;
	color: #999;
	display: flex;
	align-items: center;
	gap: 4px;
}

/* 套餐信息栏 */
.package-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: #3a3a3a;
	padding: 8px 12px;
	border-radius: 4px;
	margin-bottom: 15px;
}

.package-bar .free-tag {
	background: #ffd700;
	color: #2b2b2b;
	padding: 2px 8px;
	border-radius: 4px;
	font-size: 12px;
}

.package-bar .upgrade-btn {
	background: #666;
	color: #fff;
	padding: 4px 12px;
	border-radius: 4px;
	font-size: 12px;
	cursor: pointer;
}

/* 资源信息卡片 */
.resource-card {
	background: #3a3a3a;
	border-radius: 4px;
	padding: 12px;
	margin-bottom: 15px;
}

.resource-card .title {
	font-size: 14px;
	margin-bottom: 8px;
	color: #ccc;
}

.resource-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 8px;
}

.resource-item:last-child {
	margin-bottom: 0;
}

.resource-item .label {
	font-size: 13px;
	display: flex;
	align-items: center;
	gap: 4px;
}

.resource-item .value {
	font-size: 13px;
	color: #999;
}

.progress-bar {
	width: 100%;
	height: 6px;
	background: #444;
	border-radius: 3px;
	overflow: hidden;
	margin-top: 4px;
}

.progress-bar .fill {
	height: 100%;
	background: #a855f7;
	width: 100%;
}

/* 菜单列表 */
.menu-list .menu-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 0;
	border-bottom: 1px solid #444;
	font-size: 14px;
	cursor: pointer;
	transition: color 0.3s;
}

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

.menu-list .menu-item:hover {
	color: #07c160;
}

.menu-item .icon {
	margin-right: 8px;
	color: #999;
}