/* 百闻 - 极简优雅资讯平台（与创作者中心统一风格） */
:root {
  --primary: #ff2442;
  --primary-hover: #e61e3a;
  --primary-light: #fff0f2;
  --text: #222;
  --text-2: #555;
  --text-3: #8a8a8a;
  --bg: #f4f5f5;
  --card: #fff;
  --border: #ebebeb;
  --radius: 10px;
  --shadow: 0 2px 12px rgba(0,0,0,.04);
  --shadow-hover: 0 6px 24px rgba(0,0,0,.08);
}
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif; background: var(--bg); color: var(--text); line-height: 1.7; font-size: 15px; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary); }
img { max-width: 100%; display: block; }

/* ===== 顶部导航 ===== */
.header { background: #fff; border-bottom: 1px solid var(--border); position: fixed; top: 0; left: 0; right: 0; z-index: 100; }
.header-inner { max-width: 1400px; margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; text-decoration: none; }
.logo-icon { display: flex; align-items: center; justify-content: center; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-main { font-size: 20px; font-weight: 800; color: var(--text); letter-spacing: 1px; }
.logo-sub { font-size: 9px; color: var(--text-3); letter-spacing: 2px; font-weight: 600; margin-top: 2px; }
.nav { display: flex; gap: 8px; flex: 1; overflow-x: auto; height: 100%; align-items: center; justify-content: center; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { padding: 0 18px; height: 64px; display: flex; align-items: center; font-size: 15px; color: var(--text-2); transition: all .2s; white-space: nowrap; font-weight: 500; position: relative; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--primary); background: var(--primary-light); }
.nav a.active { color: var(--primary); font-weight: 600; border-bottom-color: var(--primary); }
.search-box { position: relative; width: 240px; flex-shrink: 0; }
.search-box input { width: 100%; padding: 8px 14px 8px 36px; border: 1px solid var(--border); border-radius: 20px; font-size: 13px; outline: none; transition: all .2s; background: #f7f7f5; }
.search-box input:focus { border-color: var(--primary); background: #fff; }
.search-box::before { content: ''; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 14px; height: 14px; border: 2px solid #bbb; border-radius: 50%; }
.search-box::after { content: ''; position: absolute; left: 22px; top: 58%; width: 6px; height: 2px; background: #bbb; transform: rotate(45deg); }
.user-area { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 7px 18px; border-radius: 6px; font-size: 13px; font-weight: 600; cursor: pointer; border: none; transition: all .15s; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); color: #fff; }
.btn-outline { background: #fff; color: var(--text-2); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm { padding: 5px 12px; font-size: 12px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #ff2442, #f59e0b); display: flex; align-items: center; justify-content: center; font-weight: 600; color: #fff; cursor: pointer; overflow: hidden; font-size: 13px; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }

/* 用户面板 - 悬停下拉 */
.user-panel { position: relative; }
.user-avatar-trigger { cursor: pointer; padding: 4px; border-radius: 50%; transition: background .15s; }
.user-avatar-trigger:hover { background: #f5f5f5; }
.user-menu-wrapper { position: absolute; top: 100%; right: 0; padding-top: 8px; display: none; z-index: 1000; }
.user-panel:hover .user-menu-wrapper { display: block; }
.user-dropdown { background: #fff; border-radius: 12px; box-shadow: 0 8px 30px rgba(0,0,0,.12); min-width: 240px; padding: 8px 0; border: 1px solid #f0f0f0; }
.user-dropdown-header { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid #f5f5f5; margin-bottom: 4px; }
.user-dropdown-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #ff2442, #f59e0b); display: flex; align-items: center; justify-content: center; font-weight: 600; color: #fff; font-size: 16px; overflow: hidden; flex-shrink: 0; }
.user-dropdown-avatar img { width: 100%; height: 100%; object-fit: cover; }
.user-dropdown-info { flex: 1; min-width: 0; }
.user-dropdown-name { font-size: 15px; font-weight: 600; color: #1e293b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-dropdown-level { font-size: 12px; color: #94a3b8; margin-top: 2px; }
.user-dropdown-menu { list-style: none; margin: 0; padding: 0; }
.user-dropdown-menu li { display: flex; align-items: center; gap: 10px; padding: 10px 16px; font-size: 13px; color: #475569; cursor: pointer; transition: all .15s; }
.user-dropdown-menu li:hover { background: #f8fafc; color: #ff2442; }
.user-dropdown-menu li svg { flex-shrink: 0; opacity: .7; }
.user-dropdown-menu li:hover svg { opacity: 1; }
.user-dropdown-menu li.logout { color: #ef4444; }
.user-dropdown-menu li.logout:hover { background: #fef2f2; }
.user-dropdown-divider { height: 1px; background: #f0f0f0; margin: 4px 0; }

/* ===== 登录注册页 ===== */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #ff2442 0%, #ff6b6b 50%, #f59e0b 100%); padding: 20px; position: relative; overflow: hidden; }
.auth-page::before { content: ''; position: absolute; top: -10%; left: -5%; width: 400px; height: 400px; background: rgba(255,255,255,.08); border-radius: 50%; }
.auth-page::after { content: ''; position: absolute; bottom: -15%; right: -5%; width: 500px; height: 500px; background: rgba(255,255,255,.06); border-radius: 50%; }
.auth-card { background: #fff; border-radius: 16px; padding: 40px 36px; width: 100%; max-width: 420px; box-shadow: 0 20px 60px rgba(0,0,0,.15); position: relative; z-index: 1; }
.auth-card h1 { font-size: 32px; font-weight: 800; color: #1e293b; text-align: center; margin: 0 0 6px; background: linear-gradient(135deg, #ff2442, #f59e0b); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.auth-card .subtitle { text-align: center; color: #94a3b8; font-size: 14px; margin: 0 0 28px; }
.auth-card .form-group { margin-bottom: 18px; }
.auth-card .form-group label { display: block; font-size: 13px; font-weight: 600; color: #475569; margin-bottom: 6px; }
.auth-card .form-group input { width: 100%; padding: 12px 14px; border: 1.5px solid #e2e8f0; border-radius: 10px; font-size: 14px; color: #1e293b; transition: all .2s; box-sizing: border-box; outline: none; }
.auth-card .form-group input:focus { border-color: #ff2442; box-shadow: 0 0 0 3px rgba(255,36,66,.1); }
.auth-card .form-group input::placeholder { color: #cbd5e1; }
.auth-card .btn { width: 100%; padding: 13px; font-size: 15px; border-radius: 10px; margin-top: 6px; }
.auth-switch { text-align: center; color: #94a3b8; font-size: 13px; margin: 18px 0 0; }
.auth-switch a { color: #ff2442; text-decoration: none; font-weight: 600; }
.auth-switch a:hover { text-decoration: underline; }

/* ===== 三栏布局 ===== */
.three-col-layout { max-width: 1400px; margin: 0 auto; padding: 84px 24px 20px; display: flex; gap: 20px; align-items: flex-start; }
.left-sidebar { width: 160px; flex-shrink: 0; position: sticky; top: 84px; }
.center-content { flex: 1; min-width: 0; }
.right-sidebar { width: 300px; flex-shrink: 0; position: sticky; top: 84px; }

/* 左侧导航 - 与创作者中心一致 */
.left-nav { background: #fff; border-radius: 12px; padding: 8px; border: 1px solid var(--border); }
.left-nav-item { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 10px; font-size: 14px; color: var(--text-2); transition: all .2s; cursor: pointer; position: relative; border-left: 3px solid transparent; font-weight: 500; margin-bottom: 2px; }
.left-nav-item:last-child { margin-bottom: 0; }
.left-nav-item:hover { background: #f8f9fa; color: var(--text); }
.left-nav-item.active { background: #fff0f2; color: var(--primary); font-weight: 600; border-left-color: var(--primary); }
.left-nav-item .icon { width: 20px; height: 20px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.left-nav-item .icon svg { width: 18px; height: 18px; stroke: #94a3b8; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .15s; }
.left-nav-item.active .icon svg { stroke: #ff2442; }
.left-nav-item.disabled .icon svg { stroke: #cbd5e1; }
.left-nav-item.disabled { opacity: .7; cursor: not-allowed; }
.left-nav-item.disabled:hover { background: transparent; color: var(--text-2); }
.badge-soon { margin-left: auto; font-size: 10px; background: linear-gradient(135deg, #f0f0f0, #e8e8e8); color: #888; padding: 3px 8px; border-radius: 10px; font-weight: 600; letter-spacing: .5px; }

.left-card { background: #fff; border-radius: 12px; border: 1px solid var(--border); padding: 16px; margin-bottom: 14px; box-shadow: 0 2px 8px rgba(0,0,0,.03); }
.left-card-title { font-size: 14px; font-weight: 700; margin-bottom: 12px; color: var(--text); display: flex; align-items: center; gap: 6px; }
.left-list { list-style: none; }
.left-list li { padding: 9px 0; font-size: 13px; color: var(--text-2); border-bottom: 1px solid #f5f5f5; line-height: 1.6; transition: color .15s; }
.left-list li:hover { color: var(--primary); }
.left-list li:last-child { border-bottom: none; }

/* 扫码下载APP */
.app-download-card { background: linear-gradient(135deg, #ff2442 0%, #ff6b6b 100%); border-radius: 12px; padding: 12px 14px; margin-top: 16px; margin-bottom: 14px; color: #fff; text-align: center; box-shadow: 0 4px 12px rgba(255,36,66,.2); }
.app-download-card .app-title { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.app-download-card .app-desc { font-size: 11px; opacity: .9; margin-bottom: 8px; }
.app-download-card .qr-code { width: 72px; height: 72px; background: #fff; border-radius: 8px; margin: 0 auto 8px; display: flex; align-items: center; justify-content: center; padding: 4px; }
.app-download-card .qr-code svg { width: 100%; height: 100%; }
.app-download-card .app-tags { display: flex; gap: 4px; justify-content: center; flex-wrap: wrap; }
.app-download-card .app-tag { font-size: 10px; background: rgba(255,255,255,.2); padding: 2px 6px; border-radius: 8px; }

/* 右侧用户卡片 */
.user-card { background: #fff; border-radius: 12px; padding: 18px; margin-bottom: 14px; box-shadow: 0 2px 8px rgba(0,0,0,.03); border: 1px solid var(--border); transition: all .2s; }
.user-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.user-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; cursor: pointer; }
.user-card-avatar { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, #ff2442, #f59e0b); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px; font-weight: 700; color: #fff; }
.user-card-avatar img { width: 100%; height: 100%; object-fit: cover; }
.user-card-info { flex: 1; min-width: 0; }
.user-card-name { font-size: 15px; font-weight: 600; color: var(--text); display: flex; align-items: center; gap: 6px; }
.user-card-badge { display: inline-flex; align-items: center; background: linear-gradient(135deg, #ff2442, #f59e0b); color: #fff; font-size: 10px; padding: 1px 6px; border-radius: 4px; font-weight: 600; }
.user-card-level { display: inline-flex; align-items: center; background: #fef3c7; color: #d97706; font-size: 10px; padding: 1px 6px; border-radius: 4px; font-weight: 600; }
.user-card-bio { font-size: 12px; color: #94a3b8; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-card-arrow { color: #cbd5e1; font-size: 16px; flex-shrink: 0; }
.user-card-stats { display: flex; justify-content: space-around; padding: 12px 0; border-top: 1px solid #f5f5f5; border-bottom: 1px solid #f5f5f5; margin-bottom: 14px; }
.user-card-stat { text-align: center; cursor: pointer; flex: 1; transition: background .15s; padding: 4px 0; border-radius: 6px; }
.user-card-stat:hover { background: #f8fafc; }
.user-card-stat-num { font-size: 18px; font-weight: 700; color: var(--text); }
.user-card-stat-label { font-size: 12px; color: #94a3b8; margin-top: 2px; }
.user-card-actions { display: flex; gap: 8px; }
.user-card-action { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; padding: 10px 6px; border-radius: 8px; transition: all .15s; text-decoration: none; background: #f8fafc; }
.user-card-action:hover { background: #fef2f2; transform: translateY(-1px); }
.user-card-action-icon { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; }
.user-card-action-icon svg { width: 20px; height: 20px; }
.user-card-action-label { font-size: 12px; color: #64748b; font-weight: 500; }
.user-card-action:hover .user-card-action-label { color: #ff2442; }
/* 未登录提示卡片 */
.user-login-card { background: linear-gradient(135deg, #fff 0%, #fef2f2 100%); border-radius: 12px; padding: 22px 18px; margin-bottom: 14px; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,.03); border: 1px solid #fecaca; position: relative; overflow: hidden; }
.user-login-card::before { content: ''; position: absolute; top: -30px; right: -30px; width: 80px; height: 80px; background: radial-gradient(circle, rgba(255,36,66,.1) 0%, transparent 70%); border-radius: 50%; }
.user-login-card-icon { font-size: 32px; margin-bottom: 10px; position: relative; z-index: 1; }
.user-login-card-title { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 6px; position: relative; z-index: 1; }
.user-login-card-desc { font-size: 12px; color: #94a3b8; margin-bottom: 16px; position: relative; z-index: 1; }
.user-login-card-actions { display: flex; gap: 8px; position: relative; z-index: 1; }
.user-login-card-btn { flex: 1; padding: 9px 0; background: var(--primary); color: #fff; border-radius: 8px; font-size: 13px; font-weight: 500; text-decoration: none; transition: all .15s; }
.user-login-card-btn:hover { opacity: .9; transform: translateY(-1px); }
.user-login-card-btn-outline { flex: 1; padding: 9px 0; background: #fff; color: var(--primary); border: 1px solid var(--primary); border-radius: 8px; font-size: 13px; font-weight: 500; text-decoration: none; transition: all .15s; }
.user-login-card-btn-outline:hover { background: #fef2f2; }

/* 未登录简单提示 */
.user-login-tip { background: #fff; border-radius: 10px; padding: 12px 16px; margin-bottom: 14px; font-size: 13px; color: #64748b; border: 1px solid #f1f5f9; line-height: 1.5; }
.user-login-tip a:hover { text-decoration: underline !important; }

/* ===== 幻灯片 ===== */
.slider { position: relative; border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; height: 320px; background: #f0f0f0; }
.slider-track { position: relative; width: 100%; height: 100%; }
.slider-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .5s ease; }
.slider-slide.active { opacity: 1; }
.slider-slide a { display: block; width: 100%; height: 100%; }
.slider-slide img { width: 100%; height: 100%; object-fit: cover; }
.slider-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 30px 24px 20px; background: linear-gradient(transparent, rgba(0,0,0,.75)); color: #fff; }
.slider-title { font-size: 20px; font-weight: 700; margin-bottom: 6px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.slider-desc { font-size: 13px; opacity: .85; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.slider-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 2; }
.slider-dots .dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; transition: all .2s; }
.slider-dots .dot.active { background: #fff; width: 24px; border-radius: 4px; }
.slider-prev, .slider-next { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: rgba(0,0,0,.3); color: #fff; border: none; font-size: 24px; cursor: pointer; z-index: 2; transition: all .2s; display: flex; align-items: center; justify-content: center; }
.slider-prev:hover, .slider-next:hover { background: rgba(0,0,0,.5); }
.slider-prev { left: 14px; }
.slider-next { right: 14px; }

/* 站点标题 */
.site-header { background: #fff; border-radius: var(--radius); padding: 20px 24px; margin-bottom: 16px; border: 1px solid var(--border); }
.site-header h1 { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.site-header p { font-size: 13px; color: var(--text-3); }

/* ===== 主布局（保留兼容） ===== */
.container { max-width: 1400px; margin: 0 auto; padding: 84px 20px 20px; display: flex; gap: 24px; align-items: flex-start; }
.main { flex: 1; min-width: 0; }
.sidebar { width: 300px; flex-shrink: 0; position: sticky; top: 80px; }

/* ===== 卡片 ===== */
.card { background: var(--card); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; border: 1px solid var(--border); }
.card-title { font-size: 15px; font-weight: 700; margin-bottom: 14px; color: var(--text); display: flex; align-items: center; justify-content: space-between; }
.card-title .more { font-size: 12px; color: var(--text-3); font-weight: 400; cursor: pointer; }

/* ===== 文章流 - 卡片式 ===== */
.article-list { display: flex; flex-direction: column; gap: 12px; }
.article-item { background: #fff; border-radius: 12px; padding: 18px 20px; border: 1px solid #eef0f3; transition: all .25s; display: flex; gap: 16px; position: relative; }
.article-item:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); border-color: #e2e5ea; transform: translateY(-2px); }
.article-item.is-quality { border-left: 3px solid #f59e0b; }
.article-cover { width: 200px; height: 135px; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: #f5f5f5; position: relative; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.article-item:hover .article-cover img { transform: scale(1.08); }
.cover-badge { position: absolute; top: 8px; left: 8px; padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 600; backdrop-filter: blur(4px); }
.cover-badge.quality { background: linear-gradient(135deg, #f59e0b, #fbbf24); color: #fff; box-shadow: 0 2px 8px rgba(245,158,11,0.3); }

.article-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }

/* 标签行 */
.article-tags { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; flex-wrap: wrap; }
.type-tag { padding: 2px 8px; border-radius: 5px; font-size: 11px; font-weight: 600; line-height: 1.6; }
.type-tag.type-article { background: #eff6ff; color: #2563eb; }
.type-tag.type-video { background: #fef2f2; color: #dc2626; }
.type-tag.type-audio { background: #f0fdf4; color: #16a34a; }
.type-tag.type-mood { background: #fefce8; color: #ca8a04; }
.type-tag.original { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }
.type-tag.ai { background: #f3e8ff; color: #9333ea; }
.type-tag.quality { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #92400e; }

.article-title { font-size: 17px; font-weight: 700; line-height: 1.45; margin-bottom: 8px; color: #1e293b; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .15s; }
.article-title:hover { color: #ff2442; }
.article-summary { font-size: 13.5px; color: #64748b; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: auto; }

/* 元信息 */
.article-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: #94a3b8; margin-top: 10px; flex-wrap: wrap; }
.author-info { display: flex; align-items: center; gap: 6px; }
.author-avatar { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, #ff2442, #ff6b6b); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 11px; overflow: hidden; flex-shrink: 0; }
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-name { color: #475569; font-weight: 500; font-size: 12.5px; }
.meta-tag { background: #f8fafc; padding: 2px 8px; border-radius: 5px; font-size: 11px; color: #64748b; border: 1px solid #e2e8f0; }
.meta-time { color: #94a3b8; font-size: 12px; }
.meta-stat { display: flex; align-items: center; gap: 3px; color: #94a3b8; font-size: 12px; }
.dislike-btn { cursor: pointer; color: #94a3b8; margin-left: auto; padding: 3px 8px; border-radius: 5px; font-size: 12px; opacity: 0; transition: all .15s; }
.article-item:hover .dislike-btn { opacity: 1; }
.dislike-btn:hover { background: #fef2f2; color: #ef4444; }

/* 无封面文章 */
.article-item.no-cover .article-info { width: 100%; }

/* 心情类型 */
.mood-item { flex-direction: row; align-items: flex-start; background: linear-gradient(135deg, #fff 0%, #fefcfc 100%); }
.mood-avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, #ff2442, #ff6b6b); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; flex-shrink: 0; overflow: hidden; }
.mood-avatar img { width: 100%; height: 100%; object-fit: cover; }
.mood-content { flex: 1; min-width: 0; }
.mood-header { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.mood-author { font-weight: 600; font-size: 14px; color: #1e293b; }
.mood-time { font-size: 12px; color: #94a3b8; }
.mood-text { font-size: 14.5px; color: #334155; line-height: 1.75; margin-bottom: 12px; white-space: pre-wrap; }
.mood-image { border-radius: 10px; overflow: hidden; margin-bottom: 12px; max-height: 260px; }
.mood-image img { width: 100%; object-fit: cover; transition: transform .3s; }
.mood-item:hover .mood-image img { transform: scale(1.02); }

/* 视频类型 */
.video-item { flex-direction: row; }
.video-cover { width: 220px; height: 135px; border-radius: 10px; overflow: hidden; flex-shrink: 0; position: relative; background: #000; display: block; }
.video-cover img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: transform .35s, opacity .3s; }
.video-item:hover .video-cover img { transform: scale(1.08); opacity: 1; }
.video-play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 50px; height: 50px; background: rgba(0,0,0,0.55); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all .25s; backdrop-filter: blur(4px); }
.video-item:hover .video-play-btn { background: #ff2442; transform: translate(-50%, -50%) scale(1.12); box-shadow: 0 4px 16px rgba(255,36,66,0.4); }
.video-duration { position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,0.75); color: #fff; padding: 2px 7px; border-radius: 5px; font-size: 11px; font-weight: 500; backdrop-filter: blur(4px); }

/* 音频类型 */
.audio-item { flex-direction: row; }
.audio-cover { width: 115px; height: 115px; border-radius: 10px; overflow: hidden; flex-shrink: 0; position: relative; background: linear-gradient(135deg, #16a34a, #22c55e); display: block; }
.audio-cover img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; transition: transform .35s; }
.audio-item:hover .audio-cover img { transform: scale(1.08); }
.audio-play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 42px; height: 42px; background: rgba(255,255,255,0.92); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all .25s; }
.audio-play-btn svg { fill: #16a34a !important; }
.audio-item:hover .audio-play-btn { background: #fff; transform: translate(-50%, -50%) scale(1.12); box-shadow: 0 4px 14px rgba(0,0,0,0.15); }

/* ===== 热榜 ===== */
.hot-list { list-style: none; }
.hot-item { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #f5f5f5; font-size: 13px; transition: all .15s; }
.hot-item:last-child { border-bottom: none; }
.hot-item:hover { padding-left: 3px; }
.hot-rank { width: 20px; height: 20px; border-radius: 4px; background: #f0f0f0; color: var(--text-3); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; flex-shrink: 0; }
.hot-item:nth-child(1) .hot-rank { background: var(--primary); color: #fff; }
.hot-item:nth-child(2) .hot-rank { background: #f59e0b; color: #fff; }
.hot-item:nth-child(3) .hot-rank { background: #fbbf24; color: #fff; }
.hot-title { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); font-weight: 500; }
.hot-title:hover { color: var(--primary); }
.hot-views { font-size: 11px; color: var(--text-3); flex-shrink: 0; }

/* ===== 公告 ===== */
.announcement-list { list-style: none; }
.announcement-item { padding: 8px 0; border-bottom: 1px solid #f5f5f5; font-size: 13px; color: var(--text-2); }
.announcement-item:last-child { border-bottom: none; }

/* ===== 分页 ===== */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 24px; }
.pagination a, .pagination span { padding: 7px 14px; border-radius: 6px; border: 1px solid var(--border); background: #fff; font-size: 13px; color: var(--text-2); font-weight: 500; transition: all .15s; }
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ===== 空状态 ===== */
.empty { text-align: center; padding: 60px 20px; color: var(--text-3); }
.empty .icon { font-size: 48px; margin-bottom: 12px; opacity: .5; }
.empty p { font-size: 14px; }

/* ===== 文章详情页 ===== */
.article-detail { background: #fff; border-radius: var(--radius); padding: 36px 40px; border: 1px solid var(--border); }
.article-detail h1 { font-size: 26px; font-weight: 800; line-height: 1.4; margin-bottom: 16px; color: var(--text); }
.article-detail .meta { display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--text-3); margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.article-detail .meta .author { display: flex; align-items: center; gap: 8px; color: var(--text-2); font-weight: 600; }
.article-detail .content { font-size: 16px; line-height: 1.9; color: #333; }
.article-detail .content p { margin-bottom: 18px; }
.article-detail .content img { border-radius: 8px; margin: 20px 0; }
.article-detail .content h2 { font-size: 20px; font-weight: 700; margin: 28px 0 14px; }
.article-detail .content h3 { font-size: 17px; font-weight: 700; margin: 22px 0 12px; }
.article-detail .content blockquote { border-left: 3px solid var(--primary); padding: 10px 16px; background: #fafafa; margin: 16px 0; color: var(--text-2); border-radius: 0 6px 6px 0; }
.article-detail .content code { background: #f5f5f5; padding: 2px 6px; border-radius: 4px; font-size: 14px; font-family: Consolas, monospace; }
.article-tags { display: flex; gap: 8px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.article-tags .tag { background: #f5f5f5; padding: 5px 12px; border-radius: 16px; font-size: 12px; color: var(--text-2); cursor: pointer; transition: all .15s; }
.article-tags .tag:hover { background: var(--primary-light); color: var(--primary); }

/* 文章操作栏 */
.article-actions { display: flex; justify-content: center; gap: 12px; margin: 32px 0; padding: 20px 0; border-top: 1px solid #f0f0f0; border-bottom: 1px solid #f0f0f0; }
.action-btn { display: flex; align-items: center; gap: 6px; cursor: pointer; padding: 10px 24px; border-radius: 24px; transition: all .2s; color: #64748b; font-size: 14px; background: #f8fafc; border: none; font-weight: 500; }
.action-btn:hover { background: #f1f5f9; color: #ff2442; transform: translateY(-1px); }
.action-btn .icon { font-size: 18px; }
.action-btn.active { background: #fff1f2; color: #ff2442; }
.action-btn.active:hover { background: #ffe4e6; }

/* ===== 评论区 ===== */
.comment-section { background: #fff; border-radius: var(--radius); padding: 28px 32px; margin-top: 16px; border: 1px solid var(--border); }
.comment-section h3 { font-size: 17px; font-weight: 700; margin-bottom: 20px; }
.comment-input { display: flex; gap: 12px; margin-bottom: 24px; }
.comment-input textarea { flex: 1; padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; outline: none; resize: vertical; min-height: 70px; font-family: inherit; transition: all .2s; }
.comment-input textarea:focus { border-color: var(--primary); }
.comment-list { display: flex; flex-direction: column; gap: 18px; }
.comment-item { display: flex; gap: 12px; }
.comment-item .avatar { width: 36px; height: 36px; font-size: 13px; flex-shrink: 0; }
.comment-body { flex: 1; min-width: 0; }
.comment-header { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.comment-header .name { font-size: 13px; font-weight: 600; color: var(--text); }
.comment-header .time { font-size: 12px; color: var(--text-3); }
.comment-text { font-size: 14px; color: var(--text-2); line-height: 1.6; }
.comment-footer { display: flex; gap: 16px; margin-top: 6px; font-size: 12px; color: var(--text-3); }
.comment-footer span { cursor: pointer; transition: color .15s; }
.comment-footer span:hover { color: var(--primary); }

/* ===== 底部 ===== */
.footer { background: #fff; border-top: 1px solid var(--border); margin-top: 40px; padding: 32px 0; text-align: center; color: var(--text-3); font-size: 13px; }
.footer .links { margin-bottom: 12px; display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.footer .links a { color: var(--text-2); }
.footer .links a:hover { color: var(--primary); }

/* ===== 响应式 ===== */
@media (max-width: 1100px) {
  .left-sidebar { display: none; }
}
@media (max-width: 900px) {
  .three-col-layout { flex-direction: column; }
  .right-sidebar { width: 100%; position: static; }
  .article-item { flex-direction: column; }
  .article-cover { width: 100%; height: 180px; }
  .article-detail { padding: 24px 20px; }
  .search-box { display: none; }
  .slider { height: 220px; }
  .slider-title { font-size: 16px; }
}

/* ===== 图集卡片 ===== */
.article-item.gallery-item { }
.gallery-item .gallery-cover { position:relative; display:block; border-radius:12px; overflow:hidden; background:#f1f5f9; aspect-ratio:16/10; }
.gallery-item .gallery-cover img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .35s; }
.gallery-item:hover .gallery-cover img { transform:scale(1.03); }
.gallery-count-badge { position:absolute; right:8px; bottom:8px; background:rgba(0,0,0,.62); color:#fff; font-size:12px; padding:3px 10px; border-radius:12px; display:flex; align-items:center; gap:4px; backdrop-filter:blur(4px); }
.type-gallery { background:#8b5cf6; color:#fff; }
