/* ============================================
   个人中心统一样式 - 响应式设计
   ============================================ */

/* CSS 变量 - 引用 style.css 中的全局变量 */
:root {
	--home-primary: var(--primary-color);
	--home-primary-light: var(--primary-light);
	--home-bg: var(--bg-color);
	--home-card-bg: var(--card-bg);
	--home-border: var(--border-color);
	--home-text: var(--text-color);
	--home-text-secondary: var(--text-secondary);
	--home-text-muted: var(--text-muted);
	--home-radius: var(--radius);
	--home-shadow: var(--shadow);
	--home-transition: var(--transition);
}

/* ============================================
   基础布局
   ============================================ */
.home-container {
	max-width: 1200px;
	width: 95%;
	margin: 30px auto;
	display: flex;
	gap: 24px;
}

.home-sidebar {
	width: 260px;
	flex-shrink: 0;
}

.home-main {
	flex: 1;
	min-width: 0;
}

/* ============================================
   用户信息卡片
   ============================================ */
.user-card {
	background: var(--home-card-bg);
	border-radius: var(--home-radius);
	padding: 30px;
	text-align: center;
	box-shadow: var(--home-shadow);
	margin-bottom: 20px;
}

.user-card .avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 15px;
    overflow: hidden;
    border: 4px solid var(--home-primary-light);
    box-shadow: 0 4px 15px rgba(247, 98, 52, 0.2);
}

.user-card .avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.user-card .username {
	font-size: 20px;
	font-weight: 600;
	color: var(--home-text);
	margin-bottom: 8px;
}

.user-card .user-stats {
	display: flex;
	justify-content: center;
	gap: 30px;
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--home-border);
}

.user-card .stat-item {
	text-align: center;
}

.user-card .stat-item .num {
	font-size: 20px;
	font-weight: 600;
	color: var(--home-primary);
	display: block;
}

.user-card .stat-item .label {
	font-size: 12px;
	color: var(--home-text-muted);
	margin-top: 4px;
}

/* 用户操作按钮 */
.user-actions {
	display: flex;
	gap: 10px;
	margin-top: 20px;
}

.user-actions .btn {
	flex: 1;
	padding: 10px 15px;
	border-radius: 8px;
	font-size: 14px;
	cursor: pointer;
	transition: var(--home-transition);
	text-align: center;
	text-decoration: none;
}

.user-actions .btn-primary {
	background: var(--home-primary);
	color: #fff;
	border: none;
}

.user-actions .btn-primary:hover {
	background: #e5552a;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(247, 98, 52, 0.3);
}

.user-actions .btn-outline {
	background: transparent;
	color: var(--home-primary);
	border: 1px solid var(--home-primary);
}

.user-actions .btn-outline:hover {
	background: var(--home-primary-light);
}

/* ============================================
   侧边栏菜单
   ============================================ */
.sidebar-menu {
	background: var(--home-card-bg);
	border-radius: var(--home-radius);
	overflow: hidden;
	box-shadow: var(--home-shadow);
}

.sidebar-menu .menu-item {
	display: block;
	padding: 14px 20px;
	color: var(--home-text-secondary);
	font-size: 14px;
	border-left: 3px solid transparent;
	transition: var(--home-transition);
	text-decoration: none;
}

.sidebar-menu .menu-item:hover {
	background: var(--home-primary-light);
	color: var(--home-primary);
}

.sidebar-menu .menu-item.active {
	background: var(--home-primary-light);
	color: var(--home-primary);
	border-left-color: var(--home-primary);
	font-weight: 500;
}

.sidebar-menu .menu-item i {
	margin-right: 10px;
	width: 18px;
	text-align: center;
}

/* ============================================
   内容卡片
   ============================================ */
.content-card {
	background: var(--home-card-bg);
	border-radius: var(--home-radius);
	box-shadow: var(--home-shadow);
	margin-bottom: 20px;
	overflow: hidden;
}

.content-card .card-header {
	padding: 18px 24px;
	border-bottom: 1px solid var(--home-border);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.content-card .card-header h3 {
	font-size: 16px;
	font-weight: 600;
	color: var(--home-text);
	margin: 0;
}

.content-card .card-body {
	padding: 24px;
}

/* ============================================
   表单样式
   ============================================ */
.home-form .form-group {
	margin-bottom: 22px;
}

.home-form .form-group label {
	display: block;
	font-size: 14px;
	color: var(--home-text);
	margin-bottom: 8px;
	font-weight: 500;
}

.home-form .form-group label .required {
	color: var(--home-primary);
	margin-right: 4px;
}

.home-form .form-group input[type="text"],
.home-form .form-group input[type="password"],
.home-form .form-group input[type="email"],
.home-form .form-group select,
.home-form .form-group textarea {
	width: 100%;
	height: 44px;
	padding: 0 15px;
	border: 1px solid var(--home-border);
	border-radius: 8px;
	font-size: 14px;
	color: var(--home-text);
	background: #fafafa;
	transition: var(--home-transition);
	box-sizing: border-box;
}

.home-form .form-group textarea {
	height: 100px;
	padding: 12px 15px;
	resize: vertical;
}

.home-form .form-group input:focus,
.home-form .form-group select:focus,
.home-form .form-group textarea:focus {
	border-color: var(--home-primary);
	background: #fff;
	outline: none;
	box-shadow: 0 0 0 3px var(--home-primary-light);
}

.home-form .form-group .input-tip {
	font-size: 12px;
	color: var(--home-text-muted);
	margin-top: 6px;
}

.home-form .form-group .radio-group,
.home-form .form-group .checkbox-group {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
}

.home-form .form-group .radio-group label,
.home-form .form-group .checkbox-group label {
	display: flex;
	align-items: center;
	gap: 6px;
	font-weight: normal;
	cursor: pointer;
}

.home-form .form-group .radio-group input,
.home-form .form-group .checkbox-group input {
	accent-color: var(--home-primary);
	width: 16px;
	height: 16px;
}

.home-form .form-actions {
	display: flex;
	gap: 12px;
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px solid var(--home-border);
}

.home-form .btn-submit {
	padding: 12px 30px;
	background: var(--home-primary);
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
	transition: var(--home-transition);
}

.home-form .btn-submit:hover {
	background: #e5552a;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(247, 98, 52, 0.3);
}

.home-form .btn-cancel {
	padding: 12px 30px;
	background: #f5f5f5;
	color: var(--home-text-secondary);
	border: 1px solid var(--home-border);
	border-radius: 8px;
	font-size: 15px;
	cursor: pointer;
	transition: var(--home-transition);
	text-decoration: none;
}

.home-form .btn-cancel:hover {
	background: #eee;
}

/* ============================================
   帖子列表
   ============================================ */
.thread-list .thread-item {
	padding: 18px 24px;
	border-bottom: 1px solid var(--home-border);
	transition: var(--home-transition);
}

.thread-list .thread-item:last-child {
	border-bottom: none;
}

.thread-list .thread-item:hover {
	background: #fafbfc;
}

.thread-list .thread-title {
	font-size: 15px;
	color: var(--home-text);
	text-decoration: none;
	font-weight: 500;
	display: block;
	margin-bottom: 8px;
}

.thread-list .thread-title:hover {
	color: var(--home-primary);
}

.thread-list .thread-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	font-size: 13px;
	color: var(--home-text-muted);
}

.thread-list .thread-meta span {
	display: flex;
	align-items: center;
	gap: 4px;
}

.thread-list .thread-status {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 4px;
	font-size: 12px;
	margin-right: 8px;
}

.thread-list .thread-status.top {
	background: #fff3e0;
	color: #f57c00;
}

.thread-list .thread-status.digest {
	background: #e8f5e9;
	color: #388e3c;
}

.thread-list .thread-status.closed {
	background: #fce4ec;
	color: #c62828;
}

/* ============================================
   收藏列表
   ============================================ */
.favorite-list .fav-item {
	display: flex;
	align-items: center;
	padding: 16px 24px;
	border-bottom: 1px solid var(--home-border);
	transition: var(--home-transition);
}

.favorite-list .fav-item:hover {
	background: #fafbfc;
}

.favorite-list .fav-info {
	flex: 1;
	min-width: 0;
}

.favorite-list .fav-title {
	font-size: 14px;
	color: var(--home-text);
	text-decoration: none;
	display: block;
	margin-bottom: 6px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.favorite-list .fav-title:hover {
	color: var(--home-primary);
}

.favorite-list .fav-meta {
	font-size: 12px;
	color: var(--home-text-muted);
}

.favorite-list .fav-action {
	margin-left: 15px;
}

.favorite-list .fav-action .btn-delete {
	padding: 6px 12px;
	background: #fff;
	color: #999;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 12px;
	cursor: pointer;
	transition: var(--home-transition);
}

.favorite-list .fav-action .btn-delete:hover {
	color: #f44336;
	border-color: #f44336;
	background: #fff5f5;
}

/* ============================================
   头像上传
   ============================================ */
.avatar-upload {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

.avatar-upload .current-avatar {
	width: 150px;
	height: 150px;
	border-radius: 50%;
	overflow: hidden;
	border: 4px solid var(--home-primary-light);
	box-shadow: 0 4px 20px rgba(247, 98, 52, 0.2);
}

.avatar-upload .current-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.avatar-upload .upload-actions {
	display: flex;
	gap: 12px;
}

.avatar-upload .btn-upload {
	padding: 10px 24px;
	background: var(--home-primary);
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 14px;
	cursor: pointer;
	transition: var(--home-transition);
}

.avatar-upload .btn-upload:hover {
	background: #e5552a;
}

/* ============================================
   积分/信用列表
   ============================================ */
.credit-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 16px;
}

.credit-item {
	background: linear-gradient(135deg, #fff5f0 0%, #fff 100%);
	border: 1px solid var(--home-primary-light);
	border-radius: 10px;
	padding: 20px;
	text-align: center;
	transition: var(--home-transition);
}

.credit-item:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 20px rgba(247, 98, 52, 0.15);
}

.credit-item .credit-name {
	font-size: 13px;
	color: var(--home-text-muted);
	margin-bottom: 8px;
}

.credit-item .credit-value {
	font-size: 24px;
	font-weight: 700;
	color: var(--home-primary);
}

/* ============================================
   通知/消息列表
   ============================================ */
.notification-list .noti-item {
	display: flex;
	align-items: flex-start;
	padding: 16px 24px;
	border-bottom: 1px solid var(--home-border);
	transition: var(--home-transition);
}

.notification-list .noti-item:hover {
	background: #fafbfc;
}

.notification-list .noti-item.unread {
	background: #fff9f5;
}

.notification-list .noti-icon {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--home-primary-light);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 15px;
	flex-shrink: 0;
}

.notification-list .noti-icon i {
	color: var(--home-primary);
	font-size: 18px;
}

.notification-list .noti-content {
	flex: 1;
	min-width: 0;
}

.notification-list .noti-text {
	font-size: 14px;
	color: var(--home-text);
	margin-bottom: 6px;
	line-height: 1.5;
}

.notification-list .noti-time {
	font-size: 12px;
	color: var(--home-text-muted);
}

/* ============================================
   空状态
   ============================================ */
.empty-state {
	text-align: center;
	padding: 60px 20px;
}

.empty-state .empty-icon {
	font-size: 60px;
	color: #ddd;
	margin-bottom: 20px;
}

.empty-state .empty-text {
	font-size: 15px;
	color: var(--home-text-muted);
	margin-bottom: 20px;
}

.empty-state .btn-action {
	padding: 10px 24px;
	background: var(--home-primary);
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 14px;
	text-decoration: none;
	display: inline-block;
	transition: var(--home-transition);
}

.empty-state .btn-action:hover {
	background: #e5552a;
	transform: translateY(-2px);
}

/* ============================================
   分页
   ============================================ */
.pagination {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin: 30px 0;
}

.pagination a,
.pagination span {
	padding: 8px 14px;
	border-radius: 6px;
	font-size: 14px;
	text-decoration: none;
	transition: var(--home-transition);
}

.pagination a {
	background: var(--home-card-bg);
	color: var(--home-text-secondary);
	border: 1px solid var(--home-border);
}

.pagination a:hover {
	background: var(--home-primary-light);
	color: var(--home-primary);
	border-color: var(--home-primary);
}

.pagination span.current {
	background: var(--home-primary);
	color: #fff;
	border: 1px solid var(--home-primary);
}

.pagination span.disabled {
	background: #f5f5f5;
	color: #ccc;
	border: 1px solid #eee;
}

/* ============================================
   Tab 切换
   ============================================ */
.home-tabs {
	display: flex;
	gap: 0;
	border-bottom: 2px solid var(--home-border);
	margin-bottom: 24px;
}

.home-tabs .tab-item {
	padding: 12px 24px;
	font-size: 14px;
	color: var(--home-text-secondary);
	text-decoration: none;
	border-bottom: 2px solid transparent;
	margin-bottom: -2px;
	transition: var(--home-transition);
}

.home-tabs .tab-item:hover {
	color: var(--home-primary);
}

.home-tabs .tab-item.active {
	color: var(--home-primary);
	border-bottom-color: var(--home-primary);
	font-weight: 500;
}

/* ============================================
   隐藏原生 Discuz 元素
   ============================================ */
#uhd,
#pt,
.bm_h,
.bm.bw0 {
	/* 保留但可能需要覆盖 */
}

/* 隐藏特定的原生样式 */
.home-override #ct,
.home-override .mn,
.home-override .sd,
.home-override .bm {
	/* 移除原生样式 */
}

/* ============================================
   响应式设计
   ============================================ */

/* 平板和小屏幕 */
@media screen and (max-width: 1024px) {
	.home-container {
		flex-direction: column;
	}

	.home-sidebar {
		width: 100%;
	}

	.user-card .user-stats {
		gap: 20px;
	}

	.credit-list {
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	}
}

/* 手机屏幕 */
@media screen and (max-width: 768px) {
	.home-container {
		width: 95%;
		margin: 15px auto;
		gap: 15px;
	}

	.user-card {
		padding: 20px;
	}

	.user-card .avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 15px;
    overflow: hidden;
    border: 4px solid var(--home-primary-light);
    box-shadow: 0 4px 15px rgba(247, 98, 52, 0.2);
}

	.user-card .username {
		font-size: 18px;
	}

	.user-card .user-stats {
		gap: 15px;
	}

	.user-card .stat-item .num {
		font-size: 18px;
	}

	.user-actions {
		flex-direction: column;
	}

	.sidebar-menu {
		display: flex;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.sidebar-menu .menu-item {
		white-space: nowrap;
		border-left: none;
		border-bottom: 3px solid transparent;
		padding: 12px 16px;
		font-size: 13px;
	}

	.sidebar-menu .menu-item.active {
		border-left: none;
		border-bottom-color: var(--home-primary);
	}

	.content-card .card-header {
		padding: 14px 18px;
	}

	.content-card .card-body {
		padding: 18px;
	}

	.home-form .form-group input[type="text"],
	.home-form .form-group input[type="password"],
	.home-form .form-group input[type="email"],
	.home-form .form-group select,
	.home-form .form-group textarea {
		height: 40px;
		font-size: 13px;
	}

	.home-form .form-actions {
		flex-direction: column;
	}

	.home-form .btn-submit,
	.home-form .btn-cancel {
		width: 100%;
		text-align: center;
	}

	.thread-list .thread-item {
		padding: 14px 18px;
	}

	.thread-list .thread-meta {
		gap: 10px;
		font-size: 12px;
	}

	.favorite-list .fav-item {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.favorite-list .fav-action {
		margin-left: 0;
	}

	.home-tabs {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.home-tabs .tab-item {
		padding: 10px 16px;
		font-size: 13px;
		white-space: nowrap;
	}

	.credit-list {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}

	.credit-item {
		padding: 15px;
	}

	.credit-item .credit-value {
		font-size: 20px;
	}

	.notification-list .noti-item {
		padding: 12px 18px;
	}

	.notification-list .noti-icon {
		width: 36px;
		height: 36px;
		margin-right: 12px;
	}

	.pagination {
		gap: 6px;
	}

	.pagination a,
	.pagination span {
		padding: 6px 10px;
		font-size: 13px;
	}
}

/* 超小屏幕 */
@media screen and (max-width: 480px) {
	.home-container {
		width: 100%;
		margin: 10px 0;
		padding: 0 10px;
	}

	.user-card {
		border-radius: 8px;
		padding: 15px;
	}

	.user-card .avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 15px;
    overflow: hidden;
    border: 4px solid var(--home-primary-light);
    box-shadow: 0 4px 15px rgba(247, 98, 52, 0.2);
}

	.user-card .user-stats {
		flex-wrap: wrap;
		gap: 10px;
	}

	.user-card .stat-item {
		flex: 1;
		min-width: 60px;
	}

	.credit-list {
		grid-template-columns: 1fr 1fr;
	}
}

.pm-thread-card {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px;
	border-radius: 12px;
	background: var(--home-card-bg);
	border: 1px solid var(--home-border);
	text-decoration: none;
	color: inherit;
	transition: all 0.2s ease;
	margin-bottom: 10px;
}
.pm-thread-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(79, 108, 176, 0.12);
	border-color: var(--home-primary);
}
.pm-thread-card__avatar img {
	border-radius: 50%;
	border: 2px solid var(--home-border);
	width: 56px;
	height: 56px;
}
.pm-thread-card__content { flex: 1; min-width: 0; }
.pm-thread-card__title {
	font-weight: 600;
	color: var(--home-text);
	font-size: 14px;
	margin-bottom: 4px;
}
.pm-thread-card__preview {
	font-size: 12px;
	color: var(--home-text-muted);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.pm-thread-card__meta {
	font-size: 11px;
	color: var(--home-text-muted);
	margin-top: 2px;
}
.pm-thread-card__unread {
	flex-shrink: 0;
	background: var(--home-primary);
	color: #fff;
	font-size: 11px;
	padding: 2px 8px;
	border-radius: 10px;
	font-weight: 600;
}
.pm-thread-card__unread:empty { display: none; }

.pm-bubble-wrap {
	display: flex;
	align-items: flex-end;
	gap: 12px;
	margin-bottom: 20px;
	animation: bubbleIn 0.3s ease;
}
@keyframes bubbleIn {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: translateY(0); }
}
.pm-bubble-wrap--self { flex-direction: row-reverse; }
.pm-bubble {
	max-width: 68%;
	padding: 12px 16px;
	border-radius: 16px;
	font-size: 14px;
	line-height: 1.6;
	word-break: break-word;
	position: relative;
}
.pm-bubble--other {
	background: var(--home-card-bg);
	border: 1px solid var(--home-border);
	color: var(--home-text);
	border-top-left-radius: 4px;
}
.pm-bubble--self {
	background: linear-gradient(135deg, #f76234 0%, #ff8a5c 100%);
	color: #fff;
	border-top-right-radius: 4px;
}
.pm-bubble__meta {
	font-size: 11px;
	opacity: 0.65;
	margin-top: 6px;
}
.pm-bubble-wrap--self .pm-bubble__meta { text-align: right; }
.pm-bubble-avatar img {
	border-radius: 50%;
	width: 44px;
	height: 44px;
	border: 2px solid var(--home-border);
}
.pm-bubble-name {
	font-size: 12px;
	color: var(--home-text-muted);
	margin-bottom: 4px;
	font-weight: 500;
}

.pm-reply-box {
	background: var(--home-card-bg);
	border: 1px solid var(--home-border);
	border-radius: 14px;
	padding: 16px;
	margin-top: 20px;
	display: flex;
	gap: 12px;
	align-items: flex-end;
}
.pm-reply-box textarea {
	flex: 1;
	min-height: 56px;
	max-height: 200px;
	padding: 12px 16px;
	border: 1px solid var(--home-border);
	border-radius: 10px;
	background: var(--home-bg);
	color: var(--home-text);
	font-size: 14px;
	font-family: inherit;
	resize: vertical;
	outline: none;
	transition: border-color 0.2s;
}
.pm-reply-box textarea:focus { border-color: var(--home-primary); }
.pm-reply-box button {
	background: linear-gradient(135deg, #f76234 0%, #ff8a5c 100%);
	color: #fff;
	border: none;
	padding: 12px 28px;
	border-radius: 10px;
	font-weight: 600;
	cursor: pointer;
	font-size: 14px;
	transition: all 0.2s;
	height: 44px;
}
.pm-reply-box button:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(79, 108, 176, 0.35);
}

.notice-list { display: flex; flex-direction: column; }
.notice-item {
	display: flex;
	gap: 14px;
	padding: 16px;
	border-radius: 12px;
	background: var(--home-card-bg);
	border: 1px solid var(--home-border);
	margin-bottom: 10px;
	text-decoration: none;
	color: inherit;
	transition: all 0.2s ease;
}
.notice-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(79, 108, 176, 0.12);
	border-color: var(--home-primary);
}
.notice-item--unread { border-left: 3px solid var(--home-primary); }
.notice-item__icon {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	flex-shrink: 0;
	background: rgba(79, 108, 176, 0.08);
}
.notice-item--system .notice-item__icon { background: rgba(255,193,7,0.12); color: #b8860b; }
.notice-item--pm .notice-item__icon { background: rgba(33,150,243,0.1); color: #1976d2; }
.notice-item--like .notice-item__icon { background: rgba(233,30,99,0.1); color: #c2185b; }
.notice-item--follow .notice-item__icon { background: rgba(76,175,80,0.1); color: #388e3c; }
.notice-item--comment .notice-item__icon { background: rgba(156,39,176,0.1); color: #7b1fa2; }
.notice-item__body { flex: 1; min-width: 0; }
.notice-item__title { font-size: 14px; color: var(--home-text); margin-bottom: 4px; line-height: 1.5; }
.notice-item__title a { color: var(--home-primary); text-decoration: none; font-weight: 500; }
.notice-item__title a:hover { text-decoration: underline; }
.notice-item__desc { font-size: 12px; color: var(--home-text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notice-item__time { font-size: 11px; color: var(--home-text-muted); margin-top: 6px; }
.notice-item__unread-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--home-primary); flex-shrink: 0; margin-top: 4px; }

.pm-compose-form {
	background: var(--home-card-bg);
	border: 1px solid var(--home-border);
	border-radius: 14px;
	padding: 20px;
}
.pm-compose-form .form-row { margin-bottom: 16px; }
.pm-compose-form label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--home-text);
	margin-bottom: 8px;
}
.pm-compose-form input[type=text],
.pm-compose-form textarea {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid var(--home-border);
	border-radius: 10px;
	background: var(--home-bg);
	color: var(--home-text);
	font-size: 14px;
	font-family: inherit;
	outline: none;
	transition: border-color 0.2s;
}
.pm-compose-form textarea { min-height: 160px; resize: vertical; line-height: 1.6; }
.pm-compose-form input[type=text]:focus,
.pm-compose-form textarea:focus { border-color: var(--home-primary); }
.pm-compose-form .btn {
	background: linear-gradient(135deg, #f76234 0%, #ff8a5c 100%);
	color: #fff;
	border: none;
	padding: 12px 32px;
	border-radius: 10px;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.2s;
}
.pm-compose-form .btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(247,98,52,0.35); }

@media (max-width: 768px) {
	.pm-bubble { max-width: 85%; }
	.pm-thread-card { padding: 12px; }
	.notice-item { padding: 14px; }
	.pm-reply-box { flex-direction: column; }
	.pm-reply-box button { width: 100%; }
	.pm-compose-form { padding: 16px; }
}

.home-sidebar .user-card {
	background: var(--home-card-bg);
	border-radius: var(--home-radius, 16px);
	padding: 24px 20px;
	margin-bottom: 18px;
	box-shadow: var(--home-shadow, 0 4px 20px rgba(79,108,176,0.08));
	text-align: center;
}
.home-sidebar .user-card .avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 12px;
    overflow: hidden;
    border: 3px solid var(--home-primary-light);
    box-shadow: 0 2px 10px rgba(247, 98, 52, 0.2);
}
.home-sidebar .user-card .avatar img { width: 100%; height: 100%; object-fit: cover; }
.home-sidebar .user-card .username {
	font-size: 16px;
	font-weight: 600;
	color: var(--home-text, #2d3748);
	margin-bottom: 10px;
}
.home-sidebar .user-card .user-stats {
	display: flex;
	justify-content: center;
	gap: 16px;
}
.home-sidebar .user-card .stat-item {
	display: flex;
	flex-direction: column;
	padding: 6px 14px;
	background: var(--home-bg, #f7f8fc);
	border-radius: 10px;
}
.home-sidebar .user-card .stat-item .num {
	font-size: 16px;
	font-weight: 700;
	color: var(--home-primary, #4f6cb0);
}
.home-sidebar .user-card .stat-item .label {
	font-size: 11px;
	color: var(--home-text-muted, #8a94a6);
}

.sidebar-menu { margin-bottom: 0; }
.side-menu {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.side-menu-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border-radius: 10px;
	color: var(--home-text, #2d3748);
	text-decoration: none;
	font-size: 14px;
	transition: all 0.2s ease;
	background: transparent;
}
.side-menu-item:hover {
	background: var(--home-bg, #f7f8fc);
	color: var(--home-primary, #4f6cb0);
}
.side-menu-item.active {
	background: linear-gradient(135deg, rgba(79,108,176,0.1) 0%, rgba(106,143,217,0.08) 100%);
	color: var(--home-primary, #4f6cb0);
	font-weight: 600;
}
.side-menu-icon { font-size: 16px; width: 20px; text-align: center; }
.side-menu-text { flex: 1; }
.home-section-title {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--home-text-muted, #8a94a6);
	letter-spacing: 1px;
	padding: 6px 14px;
	margin-bottom: 2px;
}

.home-card {
	background: var(--home-card-bg, #ffffff);
	border-radius: var(--home-radius, 16px);
	box-shadow: var(--home-shadow, 0 4px 20px rgba(79,108,176,0.08));
	margin-bottom: 24px;
	overflow: hidden;
	border: 1px solid var(--home-border, #ecedf2);
}
.home-card__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 24px;
	border-bottom: 1px solid var(--home-border, #ecedf2);
	background: var(--home-card-bg, #ffffff);
}
.home-card__title {
	font-size: 18px;
	font-weight: 700;
	color: var(--home-text, #2d3748);
	display: flex;
	align-items: center;
	gap: 8px;
}
.home-card__title-icon {
	font-size: 20px;
}
.home-card__body { padding: 20px 24px; }

.home-badge {
	display: inline-block;
	background: linear-gradient(135deg, #f76234 0%, #ff8a5c 100%);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	padding: 2px 10px;
	border-radius: 12px;
	margin-left: 6px;
	min-width: 20px;
	text-align: center;
}

.home-tabs {
	display: flex;
	gap: 6px;
	padding: 0;
	margin: 0;
	list-style: none;
	border-bottom: 1px solid var(--home-border, #ecedf2);
	background: var(--home-card-bg, #ffffff);
}

/* ============================================
   关注/粉丝用户卡片列表
   ============================================ */
.flw_user_grid {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.flw_user_card {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px;
	border-radius: 14px;
	background: var(--home-card-bg, #ffffff);
	border: 1px solid var(--home-border, #ecedf2);
	transition: all 0.2s ease;
	position: relative;
}
.flw_user_card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(247,98,52,0.1);
	border-color: var(--home-primary, #f76234);
}
.flw_user_card.unread {
	background: #fff7f3;
	border-color: #ffd4c2;
}
.flw_user_card .flw_avt {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
	border: 2px solid var(--home-border, #ecedf2);
}
.flw_user_card .flw_avt img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.flw_user_card .flw_user_info {
	flex: 1;
	min-width: 0;
}
.flw_user_card .flw_user_name {
	font-size: 15px;
	font-weight: 600;
	color: var(--home-text, #2d3748);
	margin-bottom: 4px;
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}
.flw_user_card .flw_user_name a {
	color: var(--home-text, #2d3748);
	text-decoration: none;
}
.flw_user_card .flw_user_name a:hover {
	color: var(--home-primary, #f76234);
}
.flw_user_card .flw_user_bk {
	display: inline-block;
	padding: 1px 10px;
	background: linear-gradient(135deg, #f76234 0%, #ff8a5c 100%);
	color: #fff;
	font-size: 11px;
	border-radius: 10px;
	font-weight: 500;
}
.flw_user_card .flw_user_note {
	font-size: 13px;
	color: var(--home-text-secondary, #6b7280);
	margin-bottom: 4px;
	line-height: 1.4;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 360px;
}
.flw_user_card .flw_user_meta {
	font-size: 12px;
	color: var(--home-text-muted, #8a94a6);
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
}
.flw_user_card .flw_user_meta i {
	margin-right: 3px;
	font-size: 11px;
}
.flw_user_card .flw_user_meta a {
	color: var(--home-text-muted, #8a94a6);
	text-decoration: none;
}
.flw_user_card .flw_user_meta a:hover {
	color: var(--home-primary, #f76234);
}
.flw_user_card .flw_user_meta strong {
	color: var(--home-primary, #f76234);
	font-weight: 600;
	margin: 0 2px;
}
.flw_user_card .flw_user_action {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}
.flw_tag {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 11px;
	padding: 3px 10px;
	border-radius: 10px;
	font-weight: 500;
}
.flw_tag_mutual {
	background: rgba(76,175,80,0.1);
	color: #388e3c;
}
.flw_tag_other {
	background: rgba(255,193,7,0.12);
	color: #b8860b;
}
.home-tabs .tab-item {
	padding: 12px 20px;
	font-size: 14px;
	color: var(--home-text-muted, #8a94a6);
	text-decoration: none;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
	transition: all 0.2s;
	font-weight: 500;
}
.home-tabs .tab-item:hover { color: var(--home-primary, #4f6cb0); }
.home-tabs .tab-item.active {
	color: var(--home-primary, #4f6cb0);
	border-bottom-color: var(--home-primary, #4f6cb0);
	font-weight: 600;
}

.home-empty {
	text-align: center;
	padding: 60px 20px;
	color: var(--home-text-muted, #8a94a6);
}
.home-empty__icon { font-size: 56px; margin-bottom: 16px; }
.home-empty__title {
	font-size: 18px;
	font-weight: 600;
	color: var(--home-text, #2d3748);
	margin-bottom: 8px;
}
.home-empty__desc { font-size: 14px; margin-bottom: 20px; color: var(--home-text-muted, #8a94a6); }
.home-empty__btn,
.home-empty__btn.home-emoji,
a.home-empty__btn,
a.home-empty__btn.home-emoji {
	display: inline-block;
	background: linear-gradient(135deg, #f76234 0%, #ff8a5c 100%) !important;
	color: #fff !important;
	padding: 10px 28px;
	border-radius: 10px;
	font-weight: 600;
	text-decoration: none !important;
	transition: all 0.2s;
	box-shadow: 0 2px 8px rgba(247,98,52,0.2);
	border: none;
}
.home-empty__btn *,
.home-empty__btn *:link,
.home-empty__btn *:visited { color: #fff !important; }
.home-empty__btn i { color: #fff !important; margin-right: 6px; }
.home-empty__btn:hover,
.home-empty__btn:hover.home-emoji,
.home-empty__btn:hover i,
.home-empty__btn:focus,
.home-empty__btn:active,
.home-empty__btn:active.home-emoji {
	background: linear-gradient(135deg, #f76234 0%, #ff8a5c 100%) !important;
	color: #fff !important;
	text-decoration: none !important;
	transform: translateY(-2px);
	box-shadow: 0 8px 22px rgba(247,98,52,0.35);
}
.home-empty__btn:hover i { color: #fff !important; }

.home-toolbar__link {
	display: inline-block;
	padding: 8px 16px;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	color: var(--home-text, #2d3748);
	background: transparent;
	border: 1px solid var(--home-border, #ecedf2);
	transition: all 0.2s;
}
.home-toolbar__link:hover {
	background: var(--home-bg, #f7f8fc);
	color: var(--home-primary, #4f6cb0);
	border-color: var(--home-primary, #4f6cb0);
}
.home-toolbar__link--primary {
	background: linear-gradient(135deg, #f76234 0%, #ff8a5c 100%) !important;
	color: #fff !important;
	border: none !important;
	box-shadow: 0 2px 8px rgba(247,98,52,0.2);
}
.home-toolbar__link--primary .home-emoji { color: #fff !important; }
.home-toolbar__link--primary:hover,
.home-toolbar__link--primary:focus,
.home-toolbar__link--primary:active {
	background: linear-gradient(135deg, #f76234 0%, #ff8a5c 100%) !important;
	color: #fff !important;
	transform: translateY(-2px);
	box-shadow: 0 8px 22px rgba(247,98,52,0.35);
}
.home-toolbar__link--primary:hover .home-emoji,
.home-toolbar__link--primary:focus .home-emoji,
.home-toolbar__link--primary:active .home-emoji { color: #fff !important; }

.home-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	padding: 16px 0;
}
.home-pagination a,
.home-pagination span {
	display: inline-block;
	padding: 6px 14px;
	border-radius: 8px;
	font-size: 13px;
	text-decoration: none;
	background: var(--home-card-bg, #ffffff);
	border: 1px solid var(--home-border, #ecedf2);
	color: var(--home-text, #2d3748);
	transition: all 0.2s;
}
.home-pagination a:hover {
	color: var(--home-primary, #4f6cb0);
	border-color: var(--home-primary, #4f6cb0);
}
.home-pagination .current,
.home-pagination strong {
	background: linear-gradient(135deg, #f76234 0%, #ff8a5c 100%);
	color: #fff;
	border-color: transparent;
	font-weight: 600;
}

.home-clear { clear: both; }

@media screen and (max-width: 1024px) {
	.home-card__header { flex-wrap: wrap; gap: 10px; }
	.home-card__title { font-size: 16px; }
	.home-tabs .tab-item { padding: 10px 14px; font-size: 13px; }
}
@media screen and (max-width: 768px) {
	.home-card { margin-bottom: 16px; border-radius: 12px; }
	.home-card__header { padding: 14px 16px; }
	.home-card__body { padding: 16px; }
	.home-empty { padding: 40px 16px; }
	.home-empty__icon { font-size: 44px; }
	.home-sidebar .user-card { padding: 18px 16px; }
	.home-sidebar .user-card .avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 12px;
    overflow: hidden;
    border: 3px solid var(--home-primary-light);
    box-shadow: 0 2px 10px rgba(247, 98, 52, 0.2);
}
}
