/* ==========================================================================
样式目录
1.  基础与全局 (Global)
2.  头部导航 (Header)
3.  页脚 (Footer)
4.  登录/注册弹框 (Auth Modal)
5.  广告位 (Poster)
6.  首页 (Home)
7.  内页 - 公共侧边栏 / 底部推荐
8.  内页 - 列表页
9.  内页 - 详情页
10. 用户中心
11. 搜索页
12. 编辑器 (WangEditor)
========================================================================== */
/* ==========================================================================
1. 基础与全局 (Global)
========================================================================== */:root { --primary-active: #024e55; --primary-hover: #024e55; --primary: #84c5bf; --primary-dark: #016d77; --primary-light: #E0F2F1; --text-main: #333333; --text-main-light: #666666; --text-sub: #999999; --text-light: #cccccc; --text-white: #ffffff; --text-muted: #888888; --bg-page: #f5f5f5; --bg-white: #ffffff; --bg-black: #000000; --bg-footer: #333333; --bg-light: #f5f6fa; --bg-primary: #016d77; --border: #ececec; --border-radius-lg: 20px; --border-radius-md: 15px; --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04); --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08); --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12); --radius: 8px; --radius-lg: 12px; --transition: all .3s cubic-bezier(.4, 0, .2, 1); }
html, body { width: 100%; }
body { font-family: "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif; background-color: #ffffff; color: var(--text-main); }
a { color: var(--text-main); text-decoration: none !important; transition: var(--transition); }
a:hover { color: var(--text-main-hover); }
ul { list-style: none; padding: 0; margin: 0; }
button:focus, input:focus, .form-control:focus { box-shadow: none !important; }
.custom-control-input:focus ~ .custom-control-label::before { box-shadow: none !important; }
.my-button { background-color: var(--primary-dark); color: var(--text-white); border-color: var(--primary-dark); }
.my-button:hover, .my-button.focus, .my-button:focus { background-color: var(--primary-hover); box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1); }
.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show > .btn-primary.dropdown-toggle { color: #fff; background-color: var(--primary-dark); border-color: var(--primary-dark); }
/* 自定义扩展 Bootstrap 4.6：支持 1400px 以上的超大屏幕 */
@media (min-width:1400px) {
.col-xxl { flex-basis: 0; flex-grow: 1; max-width: 100%; }
.col-xxl-auto { flex: 0 0 auto; width: auto; max-width: 100%; }
.col-xxl-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
.col-xxl-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
.col-xxl-3 { flex: 0 0 25%; max-width: 25%; }
.col-xxl-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-xxl-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
.col-xxl-6 { flex: 0 0 50%; max-width: 50%; }
.col-xxl-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
.col-xxl-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-xxl-9 { flex: 0 0 75%; max-width: 75%; }
.col-xxl-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
.col-xxl-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
.col-xxl-12 { flex: 0 0 100%; max-width: 100%; }
.d-xxl-none { display: none !important; }
.d-xxl-inline { display: inline !important; }
.d-xxl-inline-block { display: inline-block !important; }
.d-xxl-block { display: block !important; }
.d-xxl-flex { display: flex !important; }
}
/* 容器 */
.container { max-width: 1440px; width: 100%; margin: 0 auto; }
.container-1440 { max-width: 1440px; width: 100%; margin: 0 auto; padding-right: 15px; padding-left: 15px; }
/* 工具类 */
.mb-20 { margin-bottom: 20px; }
.mr-auto { margin-right: auto; }
.text-orange { color: var(--primary) !important; }
.bg-light-section { background-color: var(--bg-light); }
.clamp-1 { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rounded-lg { border-radius: 0.75rem !important; }
.rounded-xl { border-radius: 1rem !important; }
.rounded-2xl { border-radius: 1.5rem !important; }
/* 桌面端 / 移动端显示控制 */
.desktop-sm-only { display: block !important; }
.mobile-sm-only { display: none; }
.mobile-only { display: none; }
@media (max-width:991.98px) {
.desktop-only { display: none !important; }
.mobile-only { display: block; }
}
@media (max-width:575.98px) {
.desktop-sm-only { display: none !important; }
.mobile-sm-only { display: block; }
.mobile-hidden { display: none; }
}
/* 按钮 */
.btn-orange { background-color: var(--primary); color: #fff; border: 1px solid var(--primary); border-radius: 6px; padding: 6px 20px; }
.btn-orange:hover { background-color: var(--primary-hover); color: #fff; }
.btn-outline-orange { color: var(--primary); border: 1px solid var(--primary); background-color: transparent; border-radius: 6px; padding: 6px 20px; }
.btn-outline-orange:hover { background-color: var(--primary); color: #fff; }
/* 通用区块间隔与标题 */
.section-padding { padding: 15px 0; }
.section-header { margin-bottom: 40px; }
.section-header h3 { font-size: 28px; letter-spacing: 1px; }
.section-header p { font-size: 14px; letter-spacing: 0.5px; margin-top: 10px; }
.view-more { right: 0; bottom: 5px; font-size: 14px; color: var(--text-muted); }
.view-more:hover { color: var(--primary); }
@media (max-width:575.98px) {
.section-padding { padding: 15px 0 10px !important; }
}
/* Swiper 通用 */
.swiper-pagination-bullet { background: #fff; opacity: .6; }
.swiper-pagination-bullet-active { background-color: var(--primary) !important; width: 20px; border-radius: 4px; }
/* 内页 banner */
.inner-banner { width: 100%; height: auto; }
.inner-banner img { width: 100%; height: auto; }
/* 面包屑 */
.breadcrumb { margin-bottom: 0; padding: 0px 16px 10px; background: none; }
.breadcrumb a { color: var(--text-main-light); font-size: 14px; color: var(--text-main-light); }
.breadcrumb a:hover { color: var(--primary-dark); }
@media (max-width:575.98px) {
.breadcrumb { padding: 10px 0; }
}
/* 分页 */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0; padding: 0; margin: 28px 0 0; list-style: none; }
.pagination li { margin: 0 3px; }
.pagination li a, .pagination li span { display: flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 12px; line-height: 1; text-align: center; border-radius: 6px; border: 1px solid var(--border); color: var(--text-main); background: #fff; font-size: 14px; transition: var(--transition); box-sizing: border-box; }
.pagination li a:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); text-decoration: none; }
.pagination li.active a, .pagination li.active span { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 4px 10px rgba(45, 140, 240, 0.3); }
.pagination li.active a:hover { color: #fff; background: var(--primary); border-color: var(--primary); }
.pagination li.disabled a, .pagination li.disabled span { background: #fff; color: var(--text-light); border-color: var(--border); cursor: not-allowed; pointer-events: none; }
.pagination li.disabled a:hover, .pagination li.disabled span:hover { color: var(--text-light); background: #fff; border-color: var(--border); }
@media (max-width:767.98px) {
.pagination li a, .pagination li span { min-width: 32px; height: 32px; padding: 0 8px; font-size: 14px; }
}
/* ==========================================================================
2. 头部导航 (Header)
========================================================================== */
/* 顶部栏：深青背景，Logo + 搜索 + 登录注册 */
.top-bar { background: var(--bg-primary); padding: 18px 0; }
.top-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
/* 搜索框 */
.header-search-form { flex: 1; max-width: 560px; position: relative; display: flex; align-items: center; margin: 0 auto; }
.header-search { flex: 1; width: 100%; position: relative; display: flex; align-items: center; }
.header-search input { width: 100%; height: 46px; border: none; border-radius: 23px; padding: 0 24px 0 48px; font-size: 14px; color: #fff; outline: none; background: rgba(255, 255, 255, 0.22); transition: background 0.3s; }
.header-search input::placeholder { color: rgba(255, 255, 255, 0.85); }
.header-search input:focus { background: rgba(255, 255, 255, 0.32); }
.header-search button { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); background: none; border: none; color: rgba(255, 255, 255, 0.9); font-size: 15px; cursor: pointer; padding: 0; display: flex; align-items: center; justify-content: center; }
.header-search button:hover { color: #fff; }
.header-search button i { font-size: 15px; }
/* 右侧操作区 */
.header-right { display: flex; align-items: center; flex-shrink: 0; }
.main-nav-actions { flex-shrink: 0; white-space: nowrap; gap: 14px; display: flex; align-items: center; }
.user-wrap { gap: 8px; }
.header-login-link { font-size: 14px; color: #666; cursor: pointer; text-decoration: none; transition: color 0.3s; }
.header-login-link:hover { color: var(--primary); text-decoration: none; }
.header-publish-link { font-size: 14px; color: var(--text-main-light); transition: color 0.3s; display: inline-flex; align-items: center; gap: 5px; }
.header-publish-link:hover { color: var(--primary); text-decoration: none; }
.header-publish-link i { font-size: 15px; }
.btn-nav-login { font-size: 15px; color: #fff; background: none; border: none; cursor: pointer; padding: 0; font-weight: 500; letter-spacing: 1px; transition: opacity 0.3s; }
.btn-nav-login:hover { color: #fff; opacity: 0.8; }
.nav-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255, 255, 255, 0.6); cursor: pointer; transition: border-color 0.3s; }
.nav-avatar:hover { border-color: #fff; }
.top-bar .mobile-icon-btn { color: #fff; }
/* 品牌文字Logo */
.navbar-brand { display: flex; align-items: center; flex-shrink: 0; white-space: nowrap; margin: 0; text-decoration: none; }
.navbar-brand img { height: 44px; width: auto; }
.brand-logo-icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: var(--primary-dark); color: #fff; font-size: 26px; font-weight: 700; border-radius: 8px; flex-shrink: 0; }
.brand-logo-icon img { width: 28px; height: 28px; }
.brand-text { display: flex; flex-direction: column; margin-left: 12px; }
.brand-name { font-size: 22px; font-weight: 800; color: #1a1a1a; line-height: 1.2; letter-spacing: 0.5px; }
.brand-slogan { font-size: 13px; color: #999; line-height: 1.4; margin-top: 2px; }
/* 主导航栏 */
.main-nav-bar { background: var(--primary); position: relative; }
.main-nav-menu { display: flex; align-items: center; flex-wrap: nowrap; white-space: nowrap; margin: 0; padding: 0; list-style: none; }
.main-nav-menu a { font-size: 15px; color: #fff; padding: 14px 0; width: 100%; text-align: center; font-weight: 500; transition: all 0.3s; white-space: nowrap; text-decoration: none; display: block; }
.main-nav-menu a:hover, .main-nav-menu a.active { color: #fff; background-color: var(--primary-active); }
/* 移动端菜单 */
.mobile-actions { display: flex; align-items: center; gap: 6px; }
.mobile-icon-btn { display: flex; width: 38px; height: 38px; align-items: center; justify-content: center; font-size: 20px; color: #343a40; background: none; border: none; cursor: pointer; padding: 0; }
.mobile-menu-btn .close-icon { display: none; }
.mobile-menu-btn.active .open-icon { display: none; }
.mobile-menu-btn.active .close-icon { display: block; }
.mobile-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background-color: #ffffff; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); padding: 20px 15px; z-index: 999; border-bottom: 3px solid var(--primary); }
.mobile-menu.active { display: block; }
.mobile-search-box { position: relative; margin-bottom: 15px; }
.mobile-search-box input { width: 100%; height: 44px; border: 1px solid var(--primary-dark); border-radius: 22px; padding: 0 50px 0 16px; font-size: 14px; outline: none; }
.mobile-search-box input::placeholder { color: #aaa; }
.mobile-search-box button { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; background-color: var(--primary-dark); border: none; color: #fff; font-size: 14px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.mobile-nav { display: flex; flex-direction: column; }
.mobile-nav a { padding: 12px 0; font-size: 15px; color: #333; border-bottom: 1px solid #f0f0f0; font-weight: 500; text-decoration: none; }
.mobile-nav a.active { color: var(--primary-dark); }
.mobile-login { display: flex; gap: 12px; margin-top: 18px; }
.mobile-login .btn { flex: 1; height: 42px; border-radius: 21px; font-size: 14px; font-weight: 600; display: flex; align-items: center; justify-content: center; padding: 0; background-color: var(--primary-dark); color: var(--text-white); }
.mobile-login:hover { background: var(--primary-light); }
/* 头部响应式 */
@media (max-width:1199.98px) {
.main-nav-menu a { padding: 10px 8px; font-size: 14px; }
.top-bar-inner { gap: 20px; }
.brand-name { font-size: 20px; }
.brand-slogan { font-size: 11px; }
}
@media (max-width:991.98px) {
.top-bar { padding: 12px 0; }
.navbar-brand img { height: 40px; }
.brand-name { font-size: 18px; }
.brand-slogan { display: none; }
.brand-logo-icon { width: 38px; height: 38px; font-size: 20px; }
.header-publish-link { display: none; }
.main-nav-bar { border: none; }
}
@media (max-width:575.98px) {
.container-1440 { padding-left: 15px; padding-right: 15px; }
.navbar-brand { padding-left: 10px; height: 39px; }
.navbar-brand img { height: 100%; }
}
/* ==========================================================================
3. 页脚 (Footer)
========================================================================== */
.footer { background-color: #1a1a1a; padding: 55px 0 30px; color: #888; }
/* 友情链接 */
.link { display: flex; align-items: center; gap: 8px; margin-bottom: 30px; padding-bottom: 25px; border-bottom: 1px solid #333; }
.link-title { color: #aaa; font-size: 14px; flex-shrink: 0; line-height: 28px; }
.link-list { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.link-list a { color: #888; font-size: 14px; transition: color 0.3s; }
.link-list a:hover { color: var(--primary); text-decoration: none; }
.footer-main { align-items: flex-start; }
.footer-title { color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 22px; }
/* 快捷导航 */
.footer-nav-links { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.footer-nav-links a { color: #888; font-size: 14px; transition: color 0.3s; }
.footer-nav-links a:hover { color: var(--primary); text-decoration: none; }
/* 联系方式 */
.footer-contact p { margin-bottom: 8px; font-size: 14px; color: #888; }
.footer-contact p:last-child { margin-bottom: 0; }
/* 二维码 */
.footer-qr { display: inline-block; }
.qr-placeholder { width: 110px; height: 110px; background: #fff; border-radius: 8px; display: flex; justify-content: center; align-items: center; color: #333; font-size: 20px; font-weight: 500; }
/* 底部版权 */
.footer-bottom { border-top: 1px solid #333; margin-top: 45px; padding-top: 22px; text-align: center; font-size: 14px; color: #888; }
@media (max-width:991.98px) {
.footer-main { text-align: center; }
.footer-nav-links { justify-content: center; }
.link { justify-content: center; }
.footer-qr { display: block; text-align: center; }
.qr-placeholder { margin: 0 auto; }
}
@media (max-width:575.98px) {
.footer-main { margin-right: 0; margin-left: 0; }
}
/* ==========================================================================
4. 登录/注册弹框 (Auth Modal)
========================================================================== */
.auth-modal .modal-dialog { max-width: 420px; }
.auth-modal .modal-content { border: none; border-radius: 16px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15); padding: 40px 36px 32px; position: relative; }
.auth-close { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border: none; background: #f5f5f5; border-radius: 50%; color: #999; font-size: 14px; display: flex; justify-content: center; align-items: center; cursor: pointer; transition: all 0.3s; z-index: 10; }
.auth-close:hover { background: var(--primary); color: #fff; }
.auth-header { text-align: center; margin-bottom: 28px; }
.auth-title { font-size: 24px; font-weight: 700; color: #333; margin-bottom: 8px; }
.auth-subtitle { font-size: 14px; color: #999; margin-bottom: 0; }
.auth-body { margin-bottom: 24px; }
.auth-input-group .input-group-text { background: #f8f8f8; border: 1px solid #e8e8e8; border-right: none; color: #999; padding: 0 14px; border-radius: 8px 0 0 8px; }
.auth-input-group .form-control { border: 1px solid #e8e8e8; border-left: none; border-radius: 0 8px 8px 0; height: 46px; padding-left: 0; font-size: 14px; color: #333; background: #f8f8f8; }
.auth-input-group:focus-within .form-control, .auth-input-group:focus-within .input-group-text, .auth-input-group:focus-within .btn-auth-code { border-color: var(--primary); }
.auth-input-group:focus-within .input-group-text { color: var(--primary); }
.auth-input-group .form-control:focus { box-shadow: none; background: #fff; }
.auth-input-group.auth-code-group .form-control { border-radius: 0; }
.auth-input-group .input-group-append .btn-auth-code { border: 1px solid #e8e8e8; border-left: none; background: #f8f8f8; color: var(--primary); font-size: 15px; font-weight: 500; padding: 0 14px; border-radius: 0 8px 8px 0; white-space: nowrap; }
.auth-input-group .input-group-append .btn-auth-code:disabled { color: #bbb; cursor: not-allowed; }
.auth-options { font-size: 15px; margin-top: -4px; }
.auth-options .custom-control-label { color: #666; cursor: pointer; }
.auth-options .custom-control-label::before { border-color: #ddd; }
.auth-options .custom-control-input:checked ~ .custom-control-label::before { background-color: var(--primary); border-color: var(--primary); }
.auth-link { color: var(--primary); font-size: 15px; }
.auth-link:hover { color: var(--primary-hover); }
.btn-auth-submit { width: 100%; height: 46px; border-radius: 8px; background: var(--primary-dark); color: #fff; font-size: 16px; font-weight: 600; border: none; margin-top: 10px; transition: all 0.3s; box-shadow: 0 6px 16px rgba(1, 109, 119, 0.3); }
.btn-auth-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(1, 109, 119, 0.4); color: #fff; }
.auth-switch { text-align: center; margin-top: 18px; font-size: 14px; color: #999; }
.auth-switch-link { color: var(--primary); font-weight: 600; margin-left: 4px; }
.auth-switch-link:hover { color: var(--primary-hover); }
.auth-footer { padding-top: 6px; }
.auth-divider { display: flex; align-items: center; color: #ccc; font-size: 15px; margin-bottom: 18px; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: #eee; }
.auth-divider span { padding: 0 12px; }
.auth-social { display: flex; justify-content: center; gap: 32px; }
.auth-social-item { display: flex; flex-direction: column; align-items: center; color: #666; font-size: 15px; transition: all 0.3s; }
.auth-social-item i { width: 40px; height: 40px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 18px; color: #fff; margin-bottom: 6px; }
.auth-social-item:nth-child(1) i { background: #07c160; }
.auth-social-item:nth-child(2) i { background: #12b7f5; }
.auth-social-item:nth-child(3) i { background: #e6162d; }
.auth-social-item:hover { transform: translateY(-3px); color: #333; }
@media (max-width:575.98px) {
.auth-modal .modal-dialog { margin: 10px; max-width: calc(100% - 20px); }
.auth-modal .modal-body { padding: 18px 14px; }
.auth-modal .tab-trigger { font-size: 15px; padding: 10px 14px; }
}
/* ==========================================================================
5. 广告位 (Poster)
========================================================================== */
/* 首页广告位 */
.poster-section { padding: 15px 0; }
.home-poster { width: 100%; height: auto; margin: 0 auto; display: block; }
.home-poster img { margin: 0 auto; display: block; max-width: 100%; border-radius: 10px; }
.home-poster.poster-grid-1 { display: grid; grid-template-columns: 1fr; gap: 20px; }
.home-poster.poster-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.home-poster.poster-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.home-poster.poster-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.home-poster.poster-grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
/* 内页广告位 */
.index-poster { width: 100%; height: auto; margin: 0 auto; display: grid; gap: 20px; }
.index-poster img { margin: 0 auto; display: block; max-width: 100%; border-radius: 10px; }
@media (max-width:575.98px) {
.home-poster { grid-template-columns: repeat(1, 1fr) !important; }
}
/* ==========================================================================
6. 首页 (Home)
========================================================================== */
/* ---- 6.1 Hero 区：左轮播 + 中双图 + 右欢迎卡片 ---- */
.hero-section { padding-top: 20px; background: linear-gradient(to bottom, #cae7e4, #ffffff); }
.hero-row { display: grid; grid-template-columns: 50fr 25fr 25fr; gap: 16px; }
.hero-col { min-width: 0; }
/* 面板通用样式 */
.hero-panel { position: relative; border-radius: 12px; overflow: hidden; height: 400px; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08); }
/* 左面板：大图轮播 */
.hero-panel-left .hero-swiper { width: 100%; height: 100%; }
.hero-panel-left .hero-swiper .banner-img { width: 100%; height: 100%; object-fit: cover; }
.hero-panel-left .swiper-pagination { bottom: 10px !important; }
/* 轮播导航箭头 */
.hero-nav-prev, .hero-nav-next { position: absolute; bottom: 16px; z-index: 10; width: 32px; height: 62px; border-radius: 5px; background: rgba(0, 0, 0, 0.4); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 15px; cursor: pointer; transition: background 0.3s; border: none; }
.hero-nav-prev { left: 16px; }
.hero-nav-next { right: 16px; }
.hero-nav-prev:hover, .hero-nav-next:hover { background: var(--primary); }
.hero-nav-prev::after, .hero-nav-next::after { font-size: 12px !important; }
/* 中面板：双图堆叠 */
.hero-panel-mid { position: relative; overflow: hidden; height: 400px; }
.hero-mid-grid { display: flex; width: 100%; height: 100%; gap: 15px; flex-direction: column; }
.hero-mid-item { flex: 1; overflow: hidden; border-radius: 12px; position: relative; }
.hero-mid-item a { display: block; width: 100%; height: 100%; }
.hero-mid-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.hero-mid-item:hover img { transform: scale(1.05); }
/* 右面板：欢迎卡片 */
.welcome-card { background: linear-gradient(to top, #d4eae8, #ffffff); border-radius: 12px; padding: 50px 24px; text-align: center; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06); margin-bottom: 24px; }
.welcome-icon { width: 102px; height: 102px; margin: 0 auto 16px; }
.welcome-icon i { font-size: 28px; color: #fff; }
.welcome-title { font-size: 18px; font-weight: 700; color: #1a1a1a; margin: 0 0 10px; }
.welcome-stats { display: flex; justify-content: center; gap: 30px; margin-bottom: 20px; padding: 16px 0; }
.welcome-stat { text-align: center; }
.welcome-stat strong { display: block; font-size: 20px; font-weight: 700; color: #1a1a1a; }
.welcome-stat span { font-size: 13px; color: #999; }
.welcome-actions { display: flex; gap: 12px; }
.welcome-btn { flex: 1; height: 40px; border-radius: 20px; font-size: 14px; font-weight: 600; cursor: pointer; border: none; transition: all 0.3s; }
.welcome-btn-outline { background: #fff; color: #333; border: 1px solid #ddd; }
.welcome-btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.welcome-btn-primary { background: var(--primary); color: #fff; }
.welcome-btn-primary:hover { opacity: 0.9; }
/* Hero 响应式 */
@media (max-width:1199.98px) {
.hero-panel-left { height: 300px; }
.hero-panel-mid { height: 300px; }
.hero-slide-title { font-size: 16px; }
.hero-slide-meta { font-size: 12px; }
}
@media (max-width:991.98px) {
.hero-row { grid-template-columns: 1fr; }
.hero-panel { margin-top: 0; height: auto; }
.hero-panel-mid { height: auto; }
.hero-slide-info { padding: 30px 15px 12px; }
.hero-slide-title { font-size: 16px; }
.banner-swiper .swiper-slide { height: auto; }
}
@media (max-width:575.98px) {
.hero-swiper { height: auto !important; border-radius: 0 !important; }
.hero-panel-left .swiper-pagination { text-align: right; }
.welcome-stats { gap: 20px; }
}
/* ---- 6.2 主体布局：左内容 + 右侧边栏 ---- */
.main-section { margin-top: 20px; background: #ffffff; }
.main-layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; }
.main-body { min-width: 0; }
.main-sidebar { min-width: 0; }
@media (max-width:1199.98px) {
.main-layout { grid-template-columns: 1fr 300px; gap: 20px; }
}
@media (max-width:991.98px) {
.main-layout { grid-template-columns: 1fr; }
.main-section { padding: 10px 0; }
}
/* ---- 6.3 区块标题 ---- */
.block-section { margin-bottom: 30px; }
.block-header { position: relative; display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; border-bottom: none; background: url(../images/title_bg.png) no-repeat left bottom; }
.block-header::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background: linear-gradient(to right, var(--primary-light) 10%, var(--primary) 30%, var(--primary-dark)); z-index: 0; }
.block-title-wrap { display: inline-flex; align-items: center; gap: 8px; padding: 10px 30px 10px 18px; position: relative; z-index: 1; }
.block-icon { width: px; height: 30px; }
.block-title { font-size: 20px; font-weight: 700; color: var(--primary-dark); margin: 0; }
.block-more { font-size: 14px; color: #999; transition: color 0.3s; text-decoration: none; padding-bottom: 2px; }
.block-more:hover { color: var(--primary); }
.block-more i { font-size: 15px; margin-left: 4px; }
/* ---- 6.4 图文卡片（车型横评 / 车主提车作业 / 推荐视频） ---- */
.tech-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tech-cards-4 { grid-template-columns: repeat(4, 1fr); }
.tech-card { min-width: 0; background: #fff; border-radius: 12px; overflow: hidden; transition: all 0.3s ease; }
.tech-card:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); transform: translateY(-4px); }
.tech-card a { display: block; text-decoration: none; }
.tech-card-img { border-radius: 10px; overflow: hidden; aspect-ratio: 16/10; background: #f5f5f5; }
.tech-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.tech-card a:hover .tech-card-img img { transform: scale(1.06); }
.tech-card-info { padding: 10px; }
.tech-card-title { font-size: 15px; font-weight: bold; color: #333; line-height: 1.4; margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tech-card-meta { display: flex; align-items: center; gap: 14px; font-size: 13px; color: #999; }
.tech-card-meta .time { margin-right: auto; }
.tech-card-meta span { display: inline-flex; align-items: center; gap: 3px; }
.tech-card-meta i { font-size: 12px; }
@media (max-width:1199.98px) {
.tech-cards { grid-template-columns: repeat(2, 1fr); }
.tech-cards-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width:991.98px) {
.tech-cards { grid-template-columns: repeat(2, 1fr); }
.tech-cards-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width:575.98px) {
.tech-cards { gap: 10px; }
.tech-card-meta .time { display: none; }
}
/* ---- 6.5 侧边排行榜（热门资讯 / 最新资讯 / 购车避坑指南） ---- */
.hot-discuss { background: #fff; border-radius: 12px; border: 1px solid #e0e0e0; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); padding: 20px; }
.hot-discuss-title { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 700; color: var(--primary-dark); margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid #e0e0e0; }
.hot-discuss-title i { font-size: 18px; color: var(--primary); }
.hot-discuss-list { list-style: none; margin: 0; padding: 0; }
.hot-discuss-list li { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px dashed #f0f0f0; }
.hot-discuss-list li:last-child { border-bottom: none; }
.hot-discuss-num { width: 24px; flex-shrink: 0; font-size: 18px; font-weight: 800; color: #333; line-height: 1.4; }
.hot-discuss-list li:nth-child(1) .hot-discuss-num { color: #ff4d4f; }
.hot-discuss-list li:nth-child(2) .hot-discuss-num { color: #ff8c00; }
.hot-discuss-info { flex: 1; min-width: 0; }
.hot-discuss-text { font-size: 15px; font-weight: 600; color: #333; line-height: 1.5; text-decoration: none; transition: color 0.3s; }
.hot-discuss-text:hover { color: var(--primary); }
.hot-discuss-sub { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 12px; font-weight: 400; color: #999; }
.hot-discuss-sub img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }
/* ---- 6.6 左图右文列表（家用车购车指南） ---- */
.guide-list { display: flex; flex-direction: column; gap: 20px; }
.guide-item { display: flex; gap: 16px; }
.guide-thumb { display: block; width: 220px; flex-shrink: 0; border-radius: 10px; overflow: hidden; aspect-ratio: 16/10; background: #f5f5f5; }
.guide-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.guide-item:hover .guide-thumb img { transform: scale(1.05); }
.guide-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.guide-title { font-size: 17px; font-weight: 700; margin: 0 0 8px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.guide-title a { color: #1a1a1a; text-decoration: none; transition: color 0.3s; }
.guide-title a:hover { color: var(--primary); }
.guide-desc { font-size: 14px; color: #999; line-height: 1.6; margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.guide-date { font-size: 13px; color: #999; margin-top: auto; }
@media (max-width:575.98px) {
.guide-item { gap: 10px; }
.guide-thumb { width: 140px; }
.guide-title { font-size: 15px; margin: 0 0 6px; }
.guide-desc { display: none; }
}
/* ---- 6.7 三栏排行榜（视频 / 资讯 / 用户热度） ---- */
.rank-section { padding: 24px 0; }
.rank-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rank-box { padding: 16px; min-width: 0; background-color: #effffe; border-radius: 16px; }
.rank-box-title { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 700; color: var(--primary-dark); margin: 0 0 14px; padding-bottom: 10px; border-bottom: 2px solid rgba(0, 0, 0, 0.06); }
.rank-box-title i { font-size: 16px; }
.rank-box-list { list-style: none; margin: 0; padding: 0; }
.rank-box-list li { display: flex; align-items: flex-start; gap: 10px; padding: 5px 0; }
.rank-box-num { width: 24px; flex-shrink: 0; font-size: 18px; font-weight: 800; color: #ccc; line-height: 1.4; }
.rank-box-list li:nth-child(1) .rank-box-num { color: #ff4d4f; }
.rank-box-list li:nth-child(2) .rank-box-num { color: #ff8c00; }
.rank-box-list li:nth-child(3) .rank-box-num { color: #ffc107; }
.rank-box-info { flex: 1; min-width: 0; }
.rank-box-text { display: block; font-size: 14px; font-weight: 600; color: #333; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-decoration: none; transition: color 0.3s; }
.rank-box-text:hover { color: var(--primary); }
.rank-box-sub { display: block; margin-top: 2px; font-size: 14px; color: #999; }
.rank-box-user { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; text-decoration: none; }
.rank-box-user img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.rank-box-name { display: block; font-size: 14px; font-weight: 600; color: #333; transition: color 0.3s; }
.rank-box-user:hover .rank-box-name { color: var(--primary); }
.rank-box-list-user li { padding: 11px 0; align-items: center; }
@media (max-width:991.98px) {
.rank-grid { grid-template-columns: 1fr; gap: 20px; }
}
/* ==========================================================================
7. 内页 - 公共侧边栏 / 底部推荐
========================================================================== */
/* 侧边栏卡片容器 */
.side-card { background: #fff; border-radius: 12px; padding: 24px 10px; }
.side-card-box .hv-section-header { margin-bottom: 20px; }
@media (max-width:991.98px) {
.side-card { padding: 18px 0; }
}
@media (max-width:575.98px) {
.side-card { padding: 16px 0; border-radius: 0; }
}
/* 区块标题（内页通用） */
.hv-section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; border-bottom: 1px solid #cccccc; }
.hv-section-header h3 { position: relative; font-size: 22px; padding-bottom: 10px; margin: 0; }
/* .hero-section-title { font-size: 20px; font-weight: 700; color: #333; margin-bottom: 16px; }
.hero-section-title .i, .hv-section-header h3 .i { display: inline-block; color: var(--primary); font-size: 26px; font-weight: 900; margin-right: 6px; } */
/* 侧边栏双列图文卡片（猜你喜欢） */
.side-card-two { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.side-card-two .side-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06); transition: all 0.3s; cursor: pointer; text-decoration: none; color: inherit; }
.side-card-title { font-size: 14px; font-weight: 600; color: #333; line-height: 1.4; margin: 5px; overflow: hidden; transition: color 0.3s; }
.side-card-two img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; border-radius: 5px; }
/* 侧边栏文章排行榜（博主页） */
.side-card-list { list-style: none; margin: 0; padding: 0; }
.side-card-list li { display: flex; align-items: flex-start; padding: 7px 0; cursor: pointer; transition: all 0.3s; }
.side-card-list li:last-child { border-bottom: none; }
.side-card-list li:hover { transform: translateX(3px); }
.rank-num { width: 22px; height: 22px; border-radius: 50%; color: #999999; font-size: 20px; font-weight: 700; display: flex; justify-content: center; align-items: center; flex-shrink: 0; margin-right: 12px; margin-top: 2px; }
.rank-info { flex: 1; min-width: 0; }
.rank-title { font-size: 16px; color: #333; line-height: 1.5; margin: 0; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; transition: color 0.3s; }
.side-card-list li:hover .rank-title { color: var(--primary); }
.rank-views { font-size: 15px; color: #999; }
.side-card-list li:nth-child(1) .rank-num { color: #ff4d4f; }
.side-card-list li:nth-child(2) .rank-num { color: var(--primary); }
.side-card-list li:nth-child(3) .rank-num { color: #faad14; }
/* 侧边栏视频推荐（左图右文） */
.side-video-list { display: flex; flex-direction: column; gap: 16px; }
.side-video-item { display: flex; gap: 12px; text-decoration: none; }
.side-video-thumb { width: 140px; flex-shrink: 0; border-radius: 8px; overflow: hidden; aspect-ratio: 16/10; background: #f5f5f5; }
.side-video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.side-video-item:hover .side-video-thumb img { transform: scale(1.05); }
.side-video-info { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; }
.side-video-title { font-size: 15px; font-weight: 700; margin: 0; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: #1a1a1a; transition: color 0.3s; }
.side-video-item:hover .side-video-title { color: var(--primary); }
.side-video-meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: #999; }
.side-video-meta span { display: inline-flex; align-items: center; gap: 3px; }
.side-video-meta i { font-size: 12px; }
.side-video-date { margin-right: auto; }
/* 侧边栏文章推荐（日期 + 文章列表） */
.side-news-list { display: flex; flex-direction: column; gap: 16px; }
.side-news-item { display: flex; align-items: center; gap: 14px; }
.side-news-date { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.side-news-day { font-size: 32px; font-weight: 900; color: #1a1a1a; line-height: 1; }
.side-news-month { font-size: 12px; color: #999; margin-top: 4px; }
.side-news-divider { width: 1px; height: 50px; background: #e0e0e0; flex-shrink: 0; }
.side-news-info { flex: 1; min-width: 0; }
.side-news-title { font-size: 15px; font-weight: 700; color: #1a1a1a; line-height: 1.4; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; transition: color 0.3s; }
.side-news-title:hover { color: var(--primary); }
.side-news-desc { font-size: 13px; color: #999; line-height: 1.5; margin: 6px 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.side-news-more { font-size: 13px; color: var(--primary); text-decoration: none; }
.side-news-more:hover { opacity: 0.8; }
/* 右侧热门车型榜（博主页） */
.car-rank-sidebar { background: #fff; border-radius: 12px; padding: 10px; }
.car-rank-head h4 { font-size: 22px; font-weight: 700; color: #333; margin: 0 0 18px; position: relative; padding-bottom: 10px; }
.car-rank-head h4 .i { display: inline-block; color: var(--primary); font-size: 26px; font-weight: 900; margin-right: 6px; }
.car-rank-list { list-style: none; margin: 0; padding: 0; }
.car-rank-list li { display: flex; align-items: center; padding: 12px 0; border-bottom: 1px solid #f5f5f5; cursor: pointer; transition: all 0.3s; }
.car-rank-list li:last-child { border-bottom: none; }
.car-rank-list li:hover { transform: translateX(3px); }
.car-rank-num { width: 24px; height: 24px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 15px; font-weight: 700; display: flex; justify-content: center; align-items: center; flex-shrink: 0; margin-right: 12px; }
.car-rank-list li:nth-child(n+4) .car-rank-num { background: #ccc; }
.car-rank-info { flex: 1; min-width: 0; }
.car-rank-name { font-size: 14px; color: #333; margin: 0 0 2px; font-weight: 500; transition: color 0.3s; }
.car-rank-list li:hover .car-rank-name { color: var(--primary); }
.car-rank-price { font-size: 15px; color: #999; }
@media (max-width:991.98px) {
.car-rank-sidebar { margin-top: 24px; padding: 16px 0; }
}
/* 热门话题侧边栏（博主页） */
.gap-1 { gap: 12px; }
.topic-side-list { list-style: none; margin: 0; padding: 0; }
.topic-side-list li { display: flex; padding: 15px 0; border-bottom: 1px solid #f5f5f5; cursor: pointer; transition: all 0.3s; }
.topic-side-list li:last-child { border-bottom: none; }
.topic-side-list li:hover { transform: translateX(3px); }
.topic-side-thumb { position: relative; width: 90px; height: 90px; flex-shrink: 0; border-radius: 8px; overflow: hidden; }
.topic-side-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.topic-side-list li:hover .topic-side-thumb img { transform: scale(1.08); }
.topic-hot-label { position: absolute; top: 0; left: 0; padding: 2px 7px; font-size: 11px; font-weight: 700; color: #fff; background: #ffc107; border-radius: 0 0 6px 0; }
.topic-side-info { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; }
.topic-side-title { font-size: 16px; font-weight: 600; color: #333; line-height: 1.4; margin: 0 0 4px; overflow: hidden; transition: color 0.3s; }
.topic-side-list li:hover .topic-side-title { color: var(--primary); }
.topic-side-desc { font-size: 14px; color: #999; line-height: 1.5; margin: 0 0 4px; overflow: hidden; }
.meta { font-size: 13px; color: #999; font-weight: 400; }
/* 底部推荐 */
.foot-recommend { padding: 32px 0; }
.foot-recommend .title { font-size: 20px; font-weight: 700; margin: 0 0 16px 16px; letter-spacing: 1px; }
@media (max-width:575.98px) {
.foot-recommend { padding: 16px 0; }
}
/* ==========================================================================
8. 内页 - 列表页
========================================================================== */
/* ---- 8.1 文章列表（日期 + 图文列表） ---- */
.temp-list-section { padding: 20px 0; background: linear-gradient(to bottom, #cae7e4 0%, #ffffff 60px); }
.list-wrap { border-radius: 16px; padding: 0; margin-bottom: 24px; }
.list-item { padding: 22px 0; border-bottom: 1px solid var(--border); }
.list-item:last-child { border-bottom: none; }
.list-main { display: flex; align-items: center; gap: 20px; }
/* .list-date { display: flex; align-items: center; flex-shrink: 0; }
.list-day { font-size: 42px; font-weight: 900; color: #1a1a1a; line-height: 1; }
.list-date-sub { display: flex; flex-direction: column; margin-left: 6px; }
.list-date-sub span { font-size: 13px; color: #999; line-height: 1.4; } */
/* .list-divider { width: 1px; height: 60px; background: #e0e0e0; flex-shrink: 0; } */
.list-item .thumb { flex-shrink: 0; width: 200px; height: 130px; border-radius: var(--radius); overflow: hidden; position: relative; background: #f5f5f5; }
.list-item .thumb img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.list-item:hover .thumb img { transform: scale(1.06); }
.list-item .thumb .badge-hot { position: absolute; top: 8px; left: 8px; background: linear-gradient(135deg, #ff5b3c 0%, #e74c3c 100%); color: #fff; font-size: 11px; padding: 3px 8px; border-radius: 3px; display: inline-flex; align-items: center; gap: 4px; letter-spacing: 1px; box-shadow: 0 4px 10px rgba(231, 76, 60, 0.35); }
.list-item .info { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.list-item .title { font-size: 17px; font-weight: 700; line-height: 1.5; margin: 0 0 10px; color: var(--text-main); transition: var(--transition); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.list-item:hover .title { color: var(--primary-hover); }
.list-item .summary { font-size: 14px; color: var(--text-sub); line-height: 20px; margin: 0 0 5px; display: -webkit-box; -webkit-line-clamp: 2; height: 40px; -webkit-box-orient: vertical; overflow: hidden; }
.list-more { margin-bottom: 5px; font-size: 14px; color: var(--primary); text-decoration: none; transition: opacity 0.3s; }
.list-more:hover { opacity: 0.8; }
.list-item .bottom-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: auto; }
.list-item .bottom-bar .author { display: flex; align-items: center; gap: 8px; }
.list-item .bottom-bar .author img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.list-item .bottom-bar .author .name { font-size: 14px; color: var(--text-main); font-weight: 500; }
.avatar { display: inline-block; width: 30px; height: 30px; border-radius: 15px; }
.meta-row { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--text-sub); }
.meta-row span { margin-right: 10px; display: inline-flex; align-items: center; gap: 4px; }
/* ---- 8.2 栏目标签切换 ---- */
.newcar-tabs { display: flex; gap: 8px; }
.tab-item { padding: 6px 18px; font-size: 14px; color: var(--text-white); background: var(--primary); border: none; border-radius: 20px; cursor: pointer; transition: all 0.3s; }
.tab-item:hover { color: var(--text-white); background: var(--primary-hover); }
.tab-item.active { color: #fff; background: var(--primary-hover); }
/* ---- 8.3 卡片网格（视频 / 图集列表） ---- */
.video-section { padding: 20px 0; }
.temp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.temp-grid-4 { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.hot-video-card { background: #fff; border-radius: 12px; overflow: hidden; cursor: pointer; transition: all 0.3s; }
.hot-video-card:hover { transform: translateY(-6px); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1); }
.car-img { position: relative; overflow: hidden; background: #f8f8f8; }
.car-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.hot-video-card:hover .car-img img { transform: scale(1.06); }
.play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; background: var(--primary-dark); border: 2px solid var(--primary-dark); border-radius: 50%; display: flex; justify-content: center; align-items: center; transition: all 0.3s; }
.play-btn i { color: #fff; font-size: 24px; margin-left: 3px; }
.hot-video-card:hover .play-btn { background: rgba(0, 0, 0, 0.5); transform: translate(-50%, -50%) scale(1.1); border-color: var(--primary-light); }
.car-foot { padding: 14px 16px; }
.car-title-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.car-title-row h5 { font-size: 16px; font-weight: 600; color: #333; margin: 0; }
.car-title-row h5 a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.car-title-row .review-count { font-size: 15px; color: #999; }
.car-foot .author-link { text-decoration: none; color: inherit; display: block; }
.car-foot .author { display: flex; align-items: center; }
.car-foot .author img, .car-foot .author picture img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; margin-right: 8px; }
.car-foot .author span { font-size: 13px; color: #666; }
.car-foot .desc { font-size: 13px; color: #999; line-height: 1.5; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.meta span { font-size: 13px; color: #999; }
/* ---- 8.4 列表页响应式 ---- */
@media (max-width:767.98px) {
/* 文章列表页 - 保持横向布局 */
.list-item { padding: 14px 0; }
.list-main { gap: 10px; }
/* .list-date { display: none; } */
/* .list-divider { display: none; } */
.list-item .thumb { width: 180px; height: auto; }
.list-item .title { font-size: 16px; margin: 0 0 6px; }
.list-item .summary { font-size: 14px; line-height: 1.4; margin: 0 0 8px; height: auto; -webkit-line-clamp: 2; }
.list-more { font-size: 14px; }
.list-item .bottom-bar { gap: 8px; }
.list-item .avatar { width: 24px; height: 24px; }
.list-item .nickname { font-size: 14px; }
.meta-row { font-size: 14px; gap: 10px; }
.meta-row span { font-size: 14px; }
}
@media (max-width:575.98px) {
.list-item .thumb { width: 140px; }
.meta-row span { font-size: 13px; }
.video-section { padding: 18px 0; }
.temp-grid, .temp-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
.car-foot { padding: 10px; }
.car-title-row h5 { font-size: 14px; }
.car-foot .author { margin-bottom: 0; }
.car-foot .author span { font-size: 12px; }
.meta { font-size: 12px; }
}
/* ==========================================================================
9. 内页 - 详情页
========================================================================== */
/* ---- 9.1 页面容器 ---- */
.article-detail-section { padding: 20px 0; }
.video-detail-section { padding: 20px 0; }
.temp-content { padding: 20px 16px; margin-bottom: 24px; }
/* ---- 9.2 文章头 ---- */
.article-head { border-bottom: 1px solid var(--border); margin-bottom: 15px; }
.article-title { font-family: 'Microsoft YaHei', serif; font-size: 20px; font-weight: 900; line-height: 1.4; color: var(--text-main); margin: 0 0 22px; letter-spacing: 1px; }
.article-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.article-meta .author-info { display: flex; align-items: center; gap: 10px; }
.article-meta .author-info img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary-light); }
.article-meta .author-info .author-text { display: flex; flex-direction: column; line-height: 1.3; }
.article-meta .author-info .name { font-size: 16px; font-weight: 500; color: var(--text-main); }
.article-meta .author-info .title { font-size: 14px; color: var(--text-sub); }
.article-meta .meta-stats { display: flex; align-items: center; gap: 16px; font-size: 14px; color: var(--text-sub); }
.article-meta .meta-stats span { display: inline-flex; align-items: center; gap: 5px; }
/* ---- 9.3 文章正文 ---- */
.article-body { font-size: 15px; line-height: 1.95; color: #2c2c2c; }
.article-body p { margin: 0 0 18px; text-align: justify; font-size: 15px; color: #333; }
.article-body img, .article-body video { max-width: 100%; height: auto; vertical-align: middle; }
.article-body .lead-text { font-size: 16px; color: var(--text-main); background: var(--primary-light); border-left: 3px solid var(--primary); padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; margin-bottom: 26px; line-height: 1.85; }
.article-body .conclusion { margin-top: 28px; padding-top: 22px; border-top: 1px dashed var(--border); font-style: italic; color: var(--text-main); }
.article-body .section-title-h2 { font-family: 'Microsoft YaHei', serif; font-size: 20px; font-weight: 700; color: var(--text-main); margin: 32px 0 16px; padding-left: 14px; position: relative; letter-spacing: 1px; }
.article-body .section-title-h2::before { content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px; background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%); border-radius: 2px; }
.article-figure { margin: 22px 0; }
.article-figure img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.article-figure figcaption { text-align: center; font-size: 14px; color: var(--text-sub); margin-top: 10px; font-style: italic; }
.video-hero-main { margin-bottom: 20px; width: 100%; height: auto; overflow: hidden; }
.video-hero-player { width: 100%; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); border-radius: 8px; overflow: hidden; }
/* ---- 9.4 点赞 / 收藏 / 分享按钮 ---- */
.inner-btn { border: 1px solid var(--bg-footer); border: none; }
.btn-like { display: inline-flex; align-items: center; gap: 5px; background: transparent; color: var(--text-sub); padding: 5px 12px; border-radius: 16px; cursor: pointer; font-size: 14px; transition: var(--transition); }
.btn-like:hover { border-color: var(--primary); color: var(--primary); }
.btn-like .like-count { font-style: normal; font-size: 15px; margin-left: 2px; }
.btn-like.active { color: var(--primary); }
.btn-like.active i { animation: likePop .3s ease; }
@keyframes likePop {
0% { transform: scale(1); }
50% { transform: scale(1.3); }
100% { transform: scale(1); }
}
.btn-share { display: inline-flex; height: 31px; align-items: center; gap: 5px; background: transparent; color: var(--text-sub); padding: 5px 12px; border-radius: 16px; cursor: pointer; font-size: 14px; transition: var(--transition); position: relative; }
.btn-share:hover { border-color: var(--primary); color: var(--primary); }
.btn-collect { display: inline-flex; align-items: center; gap: 5px; background: transparent; color: var(--text-sub); padding: 5px 12px; border-radius: 16px; cursor: pointer; font-size: 14px; transition: var(--transition); position: relative; }
.btn-collect:hover { color: var(--primary); }
.btn-collect.collected { color: var(--primary); }
/* 分享弹窗 */
.share-popup { position: absolute; top: calc(100% + 8px); right: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 12px 8px; display: none; z-index: 200; white-space: nowrap; }
.share-popup.show { display: flex; gap: 4px; }
.share-popup a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 6px; text-decoration: none; color: var(--text-sub); font-size: 15px; transition: var(--transition); }
.share-popup a:hover { background: var(--bg-page); color: var(--primary); }
.share-popup a i { font-size: 22px; }
.share-popup a .ic-weibo { color: #e6162d; }
.share-popup a .ic-qzone { color: #ff8200; }
.share-popup a .ic-qq { color: #56a9ea; }
.share-popup a .ic-weixin { color: #07c160; }
/* 微信二维码弹层 */
.share-weixin-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, .5); z-index: 9999; align-items: center; justify-content: center; }
.share-weixin-overlay:target, .share-weixin-overlay.show { display: flex; }
.share-weixin-box { background: #fff; border-radius: 12px; padding: 24px 32px; text-align: center; position: relative; }
.share-weixin-close { position: absolute; top: 8px; right: 12px; font-size: 22px; color: var(--text-sub); cursor: pointer; line-height: 1; }
.share-weixin-qr { margin: 12px 0; }
.share-weixin-qr img { margin: 0 auto; width: 200px; height: 200px; border-radius: 8px; }
.share-weixin-tip { font-size: 15px; color: var(--text-sub); line-height: 1.6; }
/* ---- 9.5 上一篇 / 下一篇 ---- */
.prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.prev-next .nav-link { display: block; padding: 16px 18px; background: var(--bg-page); border-radius: var(--radius); transition: var(--transition); border: 1px solid transparent; }
.prev-next .nav-link:hover { background: var(--primary-light); border-color: var(--primary); transform: translateY(-2px); }
.prev-next .nav-link .dir { font-size: 14px; color: var(--text-sub); display: inline-flex; align-items: center; gap: 5px; margin-bottom: 6px; }
.prev-next .nav-link.next { text-align: right; }
.prev-next .nav-link p { margin: 0; font-size: 14px; color: var(--text-main); line-height: 1.5; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.prev-next .nav-link:hover p { color: var(--primary); }
/* ---- 9.6 评论区 ---- */
.comment-section { background: #fff; }
.comment-head { border-bottom: 1px solid var(--border); padding-bottom: 16px; margin-bottom: 22px; }
.comment-head h3 { font-family: 'Microsoft YaHei', serif; font-size: 20px; font-weight: 700; margin: 0; letter-spacing: 2px; display: inline-flex; align-items: center; gap: 10px; }
.comment-head h3 i { color: var(--primary); font-size: 18px; }
.comment-head h3 span { font-size: 14px; color: var(--text-sub); font-weight: 400; font-family: 'Noto Sans SC', sans-serif; }
.btn-comment-submit { background-color: var(--primary); color: #fff; border-color: var(--primary); }
.btn-comment-submit:hover { background-color: var(--primary-hover); border-color: var(--primary-hover); }
/* 评论输入 */
.comment-input-wrap { display: flex; gap: 14px; margin-bottom: 28px; }
.comment-input-wrap .my-avatar { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; object-fit: cover; }
.comment-input-wrap .input-box { flex: 1; border: 1px solid var(--border); border-radius: var(--radius); transition: var(--transition); overflow: hidden; background: #fafafa; }
.comment-input-wrap .input-box:focus-within { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(45, 140, 240, 0.1); }
.comment-input-wrap textarea { width: 100%; border: none; outline: none; resize: vertical; padding: 12px 16px; font-size: 14px; background: transparent; line-height: 1.6; min-height: 90px; font-family: inherit; }
.comment-input-wrap .input-foot { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; border-top: 1px solid var(--border); background: #fff; }
.comment-input-wrap .emoji button { background: transparent; border: none; color: var(--text-sub); font-size: 18px; margin-right: 12px; cursor: pointer; transition: var(--transition); }
.comment-input-wrap .emoji button:hover { color: var(--primary); }
.comment-input-wrap .btn-publish { background: var(--primary); color: #fff; border: none; border-radius: 18px; padding: 7px 22px; font-size: 14px; cursor: pointer; transition: var(--transition); box-shadow: 0 4px 10px rgba(45, 140, 240, 0.25); }
.comment-input-wrap .btn-publish:hover { background: var(--primary-dark); transform: translateY(-1px); }
/* 评论列表 */
.comment-list { margin: 0; }
.comment-list .comment-item { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px dashed var(--border); }
.comment-list .comment-item:last-child { border-bottom: none; }
.comment-list .avatar { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; object-fit: cover; }
.comment-list .cm-content { flex: 1; min-width: 0; }
.comment-list .cm-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.comment-list .cm-user { font-size: 14px; color: var(--primary); font-weight: 500; }
.comment-list .cm-time { font-size: 11px; color: var(--text-sub); }
.comment-list .cm-text { font-size: 14px; color: var(--text-main); line-height: 1.7; margin: 0 0 8px; }
.comment-list .cm-foot { display: flex; gap: 18px; }
.comment-list .cm-foot button { background: transparent; border: none; color: var(--text-sub); font-size: 14px; cursor: pointer; transition: var(--transition); display: inline-flex; align-items: center; gap: 4px; padding: 0; }
.comment-list .cm-foot button em { font-style: normal; color: var(--text-sub); }
.comment-list .cm-foot button:hover { color: var(--primary); }
.comment-list .cm-foot button:hover em { color: var(--primary); }
.comment-list .cm-foot .btn-like.active, .comment-list .cm-foot .btn-like.active em { color: var(--primary); }
.load-more { text-align: center; margin-top: 16px; }
.load-more button { background: transparent; border: 1px solid var(--border); color: var(--text-sub); padding: 8px 28px; border-radius: 20px; font-size: 14px; cursor: pointer; transition: var(--transition); }
.load-more button:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
/* 评论回复 */
.comment-list .reply-list { margin: 12px 0 0 0; padding: 12px 0 0 14px; border-left: 2px solid var(--primary-light); list-style: none; }
.comment-list .reply-item { display: flex; gap: 10px; padding: 10px 0; }
.comment-list .reply-item .avatar { width: 32px; height: 32px; }
.comment-list .reply-item .cm-text { font-size: 14px; }
.comment-list .reply-to { color: var(--primary); }
.comment-list .reply-form { margin-top: 12px; padding: 12px; background: var(--bg-page); border-radius: var(--radius); border: 1px solid var(--border); }
.comment-list .reply-form textarea { width: 100%; border: 1px solid var(--border); border-radius: var(--radius); padding: 8px 12px; font-size: 14px; resize: vertical; min-height: 70px; outline: none; }
.comment-list .reply-form textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(45, 140, 240, 0.1); }
.comment-list .reply-form .reply-actions { margin-top: 8px; text-align: right; }
.comment-empty { text-align: center; color: var(--text-sub); font-size: 14px; padding: 24px 0; }
/* ---- 9.7 作者信息卡片 ---- */
.author-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; text-align: center; padding-bottom: 22px; margin-bottom: 20px; position: relative; }
.author-card .banner { height: 80px; background: linear-gradient(135deg, #2d8cf0 0%, #6e63ff 100%); position: relative; overflow: hidden; }
.author-card .banner::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.2) 0%, transparent 60%); }
.author-card .avatar { width: 80px; height: 80px; border-radius: 50%; border: 4px solid #fff; margin: -40px auto 12px; display: block; object-fit: cover; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12); position: relative; z-index: 2; }
.author-card .name { font-family: 'Microsoft YaHei', serif; font-size: 18px; font-weight: 700; margin: 0 0 4px; letter-spacing: 1px; }
.author-card .bio { font-size: 14px; color: var(--text-sub); line-height: 1.6; margin: 0 18px 18px; }
.author-card .stats { display: flex; justify-content: space-around; padding: 14px 0; margin: 0 18px 18px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.author-card .stat-item { display: flex; flex-direction: column; gap: 2px; }
.author-card .stat-item .num { font-family: 'Microsoft YaHei', serif; font-size: 18px; font-weight: 700; color: var(--text-main); }
.author-card .stat-item .label { font-size: 11px; color: var(--text-sub); }
.author-card .actions { display: flex; gap: 8px; padding: 0 18px; }
.author-card .btn-follow { flex: 1; height: 38px; background: var(--primary); border: none; border-radius: 19px; color: #fff; font-size: 14px; cursor: pointer; transition: var(--transition); box-shadow: 0 4px 12px rgba(45, 140, 240, 0.25); }
.author-card .btn-follow:hover { background: var(--primary-dark); }
.author-card .btn-follow.followed { background: var(--bg-page); color: var(--text-sub); box-shadow: none; border: 1px solid var(--border); }
.author-card .btn-msg { width: 38px; height: 38px; border-radius: 50%; background: var(--bg-page); border: 1px solid var(--border); color: var(--text-sub); cursor: pointer; transition: var(--transition); }
.author-card .btn-msg:hover { background: var(--primary-light); color: var(--primary); border-color: var(--primary); }
/* ---- 9.8 相关推荐列表（图文） ---- */
.related-list { margin: 0; }
.related-list li { margin-bottom: 12px; }
.related-list li:last-child { margin-bottom: 0; }
.related-list a { display: flex; gap: 10px; align-items: center; transition: var(--transition); }
.related-list img { width: 110px; height: auto; border-radius: 6px; object-fit: cover; flex-shrink: 0; transition: var(--transition); }
.related-list a:hover img { transform: scale(1.04); }
.related-list .info { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 8px; }
.related-list .info h6 { margin: 0; font-size: 15px; font-weight: 400; color: var(--text-main); height: 40px; line-height: 20px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: var(--transition); }
.related-list a:hover .info h6 { color: var(--primary); }
.related-list .info .meta { font-size: 14px; color: var(--text-sub); display: inline-flex; align-items: center; gap: 4px; }
/* ---- 9.10 发布者卡片 ---- */
.publisher-card { padding: 20px 22px; }
.publisher-card.desktop-only { margin-bottom: 16px; background-color: var(--bg-white); border-radius: 16px; }
.publisher-card .publisher-title { font-family: 'Microsoft YaHei', serif; font-size: 17px; font-weight: 700; color: var(--text-main); margin: 0 0 16px; letter-spacing: 1px; }
.publisher-card .publisher-profile { display: flex; align-items: center; gap: 12px; }
.publisher-card .publisher-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.publisher-card .publisher-body { min-width: 0; line-height: 1.45; }
.publisher-card .publisher-actions { margin-left: auto; }
.publisher-card .publisher-name { font-size: 15px; font-weight: 600; color: var(--text-main); margin-bottom: 4px; }
.publisher-card .big-v-icon { display: inline-block; height: 16px; }
.publisher-card .publisher-slogan { font-size: 14px; color: var(--text-sub); margin-bottom: 2px; }
.publisher-card .publisher-fan span { font-size: 15px; }
.publisher-card .publisher-stats { font-size: 14px; color: var(--text-sub); }
.publisher-card2 { padding: 0 10px 10px; display: flex; justify-content: space-between; gap: 12px; }
.publisher-card2.desktop-only { margin-bottom: 16px; background-color: var(--bg-white); border-radius: 16px; }
.publisher-card2 .publisher-title { font-family: 'Microsoft YaHei', serif; font-size: 17px; font-weight: 700; color: var(--text-main); margin: 0 0 16px; letter-spacing: 1px; }
.publisher-card2 .publisher-profile { display: flex; align-items: center; gap: 12px; }
.publisher-card2 .publisher-avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.publisher-card2 .publisher-body { min-width: 0; line-height: 1.45; display: flex; gap: 10px; }
.publisher-card2 .publisher-name { font-size: 15px; font-weight: 600; color: var(--text-main); }
.publisher-card2 .big-v-icon { display: inline-block; height: 16px; }
.publisher-card2 .publisher-slogan { font-size: 14px; color: var(--text-sub); margin-bottom: 2px; }
@media (max-width:767.98px) {
.publisher-card2 { flex-direction: column; gap: 5px; }
}
/* ---- 9.11 详情页响应式 ---- */
@media (max-width:991.98px) {
.temp-content { padding: 28px 24px; }
.article-head { margin-bottom: 10px; }
.article-title { font-size: 22px; margin: 0 0 10px; }
.article-meta { flex-direction: column; align-items: flex-start; gap: 10px; }
.article-meta .meta-stats { flex-wrap: wrap; gap: 10px; }
.article-body { font-size: 14px; }
.article-body .lead-text { padding: 14px 16px; font-size: 14px; }
.article-body .section-title-h2 { font-size: 17px; }
.prev-next { grid-template-columns: 1fr; gap: 10px; }
.prev-next .nav-link.next { text-align: left; }
.comment-section { padding: 22px; }
.comment-input-wrap { gap: 10px; }
.article-foot { padding: 16px; }
.author-card { margin-top: 24px; }
.publisher-card { margin-bottom: 10px; padding: 10px 0; }
.content-list h6 a { font-size: 15px; }
}
@media (max-width:767.98px) {
.temp-content { padding: 22px; }
.comment-section { padding: 20px 0; }
.content-list h6 a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}
@media (max-width:575.98px) {
.article-title { font-size: 18px; line-height: 1.45; }
.temp-content { padding: 0; }
.video-detail-section { padding: 0; }
.video-hero-title { font-size: 16px; }
.publisher-card2 .publisher-body { flex-direction: column; gap: 2px; }
}
/* ==========================================================================
10. 用户中心
========================================================================== */
/* ---- 10.1 收藏列表页 ---- */
.collect-header .collect-count { font-size: 15px; }
.collect-list .empty-state { text-align: center; padding: 3rem 0; color: var(--text-sub); font-size: 16px; }
.collect-item .thumb { width: 160px; height: 100px; object-fit: cover; border-radius: var(--radius); }
.collect-item h3 { font-size: 16px; font-weight: 600; }
.collect-item h3 a { text-decoration: none; color: inherit; }
.collect-item .collect-time { font-size: 15px; color: var(--text-sub); }
.btn-cancel-collect { font-size: 15px; color: var(--text-sub); text-decoration: none; }
.btn-cancel-collect:hover { color: var(--primary); }
/* ---- 10.2 内容管理页 user_content ---- */
.user-content-avatar { width: 75px; height: 75px; object-fit: cover; border: 2px solid var(--border); border-radius: 50%; }
.user-content-name { font-weight: 700; }
.user-levels { display: flex; align-items: center; gap: 5px; }
.user-content-stats { font-size: 14px; color: var(--text-main-light); }
.content-list-empty { color: var(--text-sub); font-size: 16px; }
.content-item > a { flex-shrink: 0; margin-right: 1rem; }
.content-item picture { display: block; }
.content-item-thumb { width: 180px; height: auto;max-height:120px;  object-fit: cover; border-radius: var(--radius); display: block; }
.content-item-title { font-size: 16px; font-weight: bold; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.5; color: var(--text-main); }
.content-item-title:hover { color: var(--primary-hover); }
.content-item-summary { display: -webkit-box; color: var(--text-sub); font-size: 14px; line-height: 1.7; }
.content-item-time { color: var(--text-sub); }
.content-item-views { font-size: 15px; color: var(--text-sub); display: flex; }
.content-item-time-wrap { margin-left: auto; }
.left-user-info { justify-content: space-between; align-items: center; }
.left-user-info .left button { margin-left: 20px; }
.left-user-info .right { font-size: 15px; color: var(--text-main-light); }
.cert-file-item .cert-file-del { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; padding: 0; border: none; border-radius: 50%; background-color: #dc3545; color: #fff; font-size: 10px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); }
.cert-file-item .cert-file-del:hover { background-color: #bb2d3b; color: #fff; }
/* ---- 10.3 用户中心侧边导航 ---- */
.user-category { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-md); margin-bottom: 20px; overflow: hidden; }
.user-category li { margin: 0 auto; }
.user-category li a { display: inline-block; width: 100%; height: 100%; color: var(--bg-footer); font-size: 16px; padding: 5px 20px; height: 40px; line-height: 30px; }
.user-category li.active a { color: var(--primary-light); background: var(--primary); }
/* ---- 10.4 粉丝管理页 user_fans ---- */
.fans-item { padding: 10px 0; border-bottom: 1px solid var(--border); }
.fans-avatar { width: 48px; height: 48px; object-fit: cover; border: 1px solid var(--border); }
.fans-nickname { font-size: 15px; font-weight: 600; }
.fans-meta { font-size: 13px; color: var(--text-sub); }
/* ---- 10.5 视频播放器 ---- */
.player-container { width: 100%; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); border-radius: 8px; overflow: hidden; }
.vjs-poster img { height: auto !important; }
/* ---- 10.6 关注按钮 ---- */
.js-follow-btn { background-color: var(--primary); color: #fff; border: none; }
.js-follow-btn:hover { background-color: var(--primary-dark); }
.js-follow-btn.btn-outline-secondary { background-color: #ccc; }
.js-follow-btn[data-followed="1"] { background-color: #ccc; }
/* ---- 10.7 用户中心响应式 ---- */
@media (max-width:767.98px) {
.user-category ul { display: flex; flex-wrap: wrap; }
.user-category li { width: 33.3%; text-align: center; }
.left-user-info { flex-direction: column; align-items: flex-start; }
.left-user-info .left { width: 100%; }
.left-user-info .left button { margin-left: auto; }
.left-user-info .right { margin: 5px 0 0 75px; }
}
@media (max-width:575.98px) {
.user-category { border-radius: 0; }
.content-item-thumb { width: 100%; height: auto; }
.content-list h6 { margin: 5px 0 !important; padding: 0; }
.content-list h6 a { font-size: 16px; font-weight: bold; }
.content-list .content-item { padding: 0 0 10px; flex-direction: column; border-bottom: 1px solid var(--border); }
.content-item-title { font-size: 15px; }
.content-item-views { flex-direction: column; }
.content-item-time-wrap { margin: 5px 0 0 0; }
.content-item > a { margin-right: 0; }
.user-content-avatar { width: 50px; height: 50px; }
.left-user-info .right { margin-left: 65px; }
}
/* ==========================================================================
11. 搜索页
========================================================================== */
.search-top-box { background: var(--bg-page); border-bottom: 1px solid var(--border); padding: 24px 0; }
.search-result-item { transition: var(--transition); }
.search-result-item:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.search-result-item .thumb { width: 168px; height: 126px; object-fit: cover; border-radius: var(--radius); flex-shrink: 0; }
.search-result-item .meta { font-size: 14px; color: var(--text-sub); }
.search-result-item h3 { font-size: 16px; font-weight: 600; color: var(--text-main); margin-bottom: 6px; line-height: 1.5; }
.search-result-item h3:hover { color: var(--primary); }
.search-result-item .txt { font-size: 14px; color: var(--text-main-light); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.search-result-item .bottom-bar { margin: 10px 0; color: var(--bg-footer); font-size: 14px; }
.search-result-item .bottom-bar span { margin-right: 10px; }
.search-result-item .bottom-bar i { margin-right: 5px; }
.sidebar-card { border-radius: var(--radius); }
.sidebar-card .card-header { background: #fff; border-bottom: 2px solid var(--primary); font-weight: 600; font-size: 15px; color: var(--text-main); }
.time-filter .list-group-item { border: none; padding: 8px 16px; font-size: 14px; color: var(--text-main-light); cursor: pointer; transition: var(--transition); }
.time-filter .list-group-item:hover, .time-filter .list-group-item.active { background: var(--primary-light); color: var(--primary); }
.history-list .list-group-item { border: none; padding: 6px 16px; font-size: 14px; color: var(--text-sub); }
.history-list .list-group-item:hover { color: var(--primary); background: var(--primary-light); }
.search-card .btn-search { background-color: var(--primary); border-color: var(--primary); }
.search-card .input-search { border-color: var(--primary); }
/* ==========================================================================
12. 编辑器 (WangEditor)
========================================================================== */
#toolbar-container { border: 1px solid #d1d5db; border-radius: 6px 6px 0 0; }
#editor-container { height: 400px; border: 1px solid #d1d5db; border-top: 1px solid #e0e0e0; border-radius: 0 0 6px 6px; }
/* WangEditor 工具栏始终可点击（不因失焦而灰色禁用） */
.w-e-bar-item.w-e-bar-item-disabled, .w-e-bar-item[disabled] { opacity: 1 !important; color: inherit !important; background: none !important; }
.w-e-bar-item.w-e-bar-item-disabled button, .w-e-bar-item[disabled] button { pointer-events: auto !important; color: inherit !important; opacity: 1 !important; }
.w-e-bar-item.w-e-bar-item-disabled .w-e-bar-item-btn, .w-e-bar-item[disabled] .w-e-bar-item-btn { pointer-events: auto !important; color: #333 !important; opacity: 1 !important; cursor: pointer !important; }
.level-icon { width: 20px; height: 20px; vertical-align: middle; border-radius: 50%; object-fit: cover; }
.form-check { cursor: pointer; }
.form-check-inline .form-check-input { width: 20px; height: 20px; object-fit: cover; }
.cert-file-item { overflow: visible; }
.cert-file-item .cert-file-del { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; padding: 0; border: none; border-radius: 50%; background-color: #dc3545; color: #fff; font-size: 10px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); }
.cert-file-item .cert-file-del:hover { background-color: #bb2d3b; color: #fff; }
.cert-module-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 20px; }
.cert-module { border: 1px solid #e8e8e8; border-radius: 10px; background: #fafafa; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.cert-module.is-active { border-color: var(--primary); background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04); }
.cert-module-head { display: flex; align-items: center; gap: 10px; margin: 0; padding: 14px 16px; cursor: pointer; background: #f5f6f8; }
.cert-module.is-active .cert-module-head { background: rgba(var(--primary-rgb, 24, 144, 255), 0.06); }
.cert-module-head .cert-level-check { width: 18px; height: 18px; margin: 0; flex-shrink: 0; }
.cert-module-title { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; color: #222; }
.cert-module-tip { margin-left: auto; font-size: 12px; color: #999; }
.cert-module-body { padding: 16px; border-top: 1px dashed #e5e5e5; }
.cert-module-label { font-weight: 600; margin-bottom: 10px; color: #333; }
.cert-module-preview { margin-bottom: 10px; }
.cert-common-block { padding-top: 8px; border-top: 1px solid #eee; }
