.rd-wrap { max-width: 1100px; margin: 0 auto; padding: 24px 16px 60px; }
.rd-hero { text-align: center; margin-bottom: 32px; }
.rd-hero h1 { font-size: 32px; margin: 0 0 8px; }
.rd-hero p { color: #64748b; margin: 0 0 20px; }

.rd-search { display: flex; gap: 8px; max-width: 480px; margin: 0 auto 16px; }
.rd-search input { flex: 1; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 14px; }
.rd-search button { padding: 10px 18px; background: #2563eb; color: #fff; border: 0; border-radius: 8px; cursor: pointer; }
.rd-search button:hover { background: #1d4ed8; }

.rd-cats { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.rd-cat { padding: 5px 14px; border-radius: 999px; background: #f1f5f9; color: #334155; text-decoration: none; font-size: 13px; }
.rd-cat.active, .rd-cat:hover { background: #2563eb; color: #fff; }

.rd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }

.rd-card { display: block; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; }
.rd-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); transform: translateY(-2px); }
.rd-card-cover { position: relative; aspect-ratio: 3/4; background: #f1f5f9; overflow: hidden; }
.rd-card-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rd-card-cover-ph { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 56px; color: #94a3b8; background: #f1f5f9; }
.rd-badge { position: absolute; top: 8px; right: 8px; background: #7c3aed; color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 999px; }
.rd-card-body { padding: 12px 14px 14px; }
.rd-card-body h3 { font-size: 16px; margin: 0 0 4px; line-height: 1.4; }
.rd-author { color: #64748b; font-size: 12px; margin: 0 0 8px; }
.rd-oneline { color: #475569; font-size: 13px; margin: 0 0 12px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rd-card-foot { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #94a3b8; }
.rd-read { color: #2563eb; font-weight: 600; }

.rd-empty { text-align: center; padding: 60px 20px; color: #94a3b8; }
.rd-pagination { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 32px; }
.rd-pagination a { padding: 6px 14px; background: #f1f5f9; color: #334155; border-radius: 6px; text-decoration: none; }
.rd-pagination a:hover { background: #e2e8f0; }

/* 详情页 */
.rd-detail { max-width: 860px; margin: 0 auto; padding: 24px 16px 60px; }
.rd-crumb { font-size: 13px; color: #94a3b8; margin-bottom: 16px; }
.rd-crumb a { color: #2563eb; text-decoration: none; }
.rd-crumb span { margin: 0 6px; }

.rd-head { display: flex; gap: 24px; margin-bottom: 24px; }
.rd-cover { flex-shrink: 0; width: 180px; }
.rd-cover img { width: 100%; border-radius: 8px; box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.rd-head-main { flex: 1; }
.rd-head-main h1 { font-size: 28px; margin: 0 0 8px; }
.rd-sub { color: #64748b; font-size: 14px; margin: 0 0 12px; }
.rd-oneline { color: #334155; font-size: 15px; line-height: 1.7; margin: 0 0 12px; }
.rd-meta { display: flex; gap: 14px; flex-wrap: wrap; color: #94a3b8; font-size: 13px; margin-bottom: 12px; }
.rd-actions { margin-top: 8px; }
.rd-btn { display: inline-block; padding: 8px 18px; background: #2563eb; color: #fff; border-radius: 8px; text-decoration: none; font-size: 14px; border: 0; cursor: pointer; }
.rd-btn:hover { background: #1d4ed8; }

.rd-anchor { position: sticky; top: 0; z-index: 10; background: #fff; display: flex; gap: 8px; flex-wrap: wrap; padding: 10px 0; margin: 16px 0 24px; border-bottom: 1px solid #e2e8f0; }
.rd-anchor a { font-size: 13px; color: #475569; text-decoration: none; padding: 3px 10px; border-radius: 999px; background: #f1f5f9; }
.rd-anchor a:hover { background: #2563eb; color: #fff; }

.rd-section { margin-bottom: 40px; scroll-margin-top: 60px; }
.rd-section h2 { font-size: 22px; margin: 0 0 16px; padding-left: 12px; border-left: 4px solid #2563eb; }

.rd-chapter { background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; margin-bottom: 10px; overflow: hidden; }
.rd-chapter summary { padding: 12px 16px; cursor: pointer; font-weight: 600; display: flex; gap: 10px; align-items: center; }
.rd-chapter summary::-webkit-details-marker { display: none; }
.rd-ch-no { color: #2563eb; font-size: 13px; flex-shrink: 0; }
.rd-ch-title { flex: 1; }
.rd-ch-core { font-size: 11px; background: #fef3c7; color: #92400e; padding: 2px 8px; border-radius: 999px; }
.rd-ch-body { padding: 0 16px 16px; }
.rd-ch-summary { color: #475569; margin: 0 0 12px; }
.rd-ch-block { margin-top: 12px; }
.rd-ch-block h4 { font-size: 14px; color: #334155; margin: 0 0 6px; }
.rd-ch-text { color: #475569; font-size: 14px; line-height: 1.75; }

.rd-questions { padding-left: 20px; }
.rd-questions li { margin-bottom: 16px; }
.rd-q { font-weight: 600; margin: 0 0 4px; }
.rd-a { color: #334155; margin: 0 0 4px; }
.rd-p { color: #64748b; font-size: 13px; margin: 0; }

.rd-overview { display: grid; gap: 8px; }
.rd-ov-row { display: flex; gap: 12px; }
.rd-ov-label { flex-shrink: 0; width: 100px; color: #64748b; font-size: 13px; }
.rd-ov-val { flex: 1; color: #334155; font-size: 14px; line-height: 1.7; }

.rd-list .rd-item { background: #f8fafc; padding: 12px 14px; border-radius: 8px; margin-bottom: 8px; }
.rd-list .rd-item p { margin: 0 0 4px; color: #334155; font-size: 14px; line-height: 1.7; }

.rd-mindmap-embed { background: #f8fafc; padding: 16px; border-radius: 10px; }
.rd-mindmap-tip { color: #64748b; font-size: 13px; margin: 0 0 12px; }
.rd-mindmap-box { position: relative; min-height: 320px; background: #fff; border-radius: 8px; border: 1px solid #e2e8f0; overflow: hidden; }
.rd-mindmap-large { min-height: 70vh; }
.rd-mindmap-loading { padding: 40px; text-align: center; color: #94a3b8; }

.rd-related .rd-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.rd-footer-links { margin-top: 40px; padding-top: 20px; border-top: 1px solid #e2e8f0; }
.rd-footer-links a { color: #2563eb; text-decoration: none; }

.rd-mindmap-page { max-width: 1200px; margin: 0 auto; padding: 24px 16px 60px; }
.rd-mindmap-head { margin-bottom: 16px; }
.rd-mindmap-head h1 { font-size: 24px; margin: 0 0 8px; }
.rd-mindmap-head p { color: #64748b; font-size: 14px; margin: 0 0 12px; }
.rd-mindmap-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.rd-mindmap-text { margin-top: 24px; background: #f8fafc; padding: 12px 16px; border-radius: 8px; }
.rd-mindmap-text-tree, .rd-mindmap-text-tree ul { list-style: none; padding-left: 16px; }
.rd-mindmap-text-tree li { padding: 2px 0; color: #334155; font-size: 13px; }

@media (max-width: 640px) {
  .rd-head { flex-direction: column; }
  .rd-cover { width: 140px; }
  .rd-head-main h1 { font-size: 22px; }
  .rd-anchor { overflow-x: auto; flex-wrap: nowrap; }
  .rd-anchor a { white-space: nowrap; }
  .rd-ov-row { flex-direction: column; gap: 2px; }
  .rd-ov-label { width: auto; }
}

/* ============================================================
 * 读到 v2.0 — 详情页互动 / 书评 / 用户中心 / AI 对话 / 笔记
 * ============================================================ */

/* 通用 */
.rd-wrap { max-width:1100px; margin:0 auto; padding:24px 16px 60px; }
.rd-crumb { font-size:13px; color:#94a3b8; margin-bottom:16px; }
.rd-crumb a { color:#2563eb; text-decoration:none; }
.rd-crumb a:hover { text-decoration:underline; }
.rd-crumb span { margin:0 6px; }
.rd-alert { padding:12px 18px; border-radius:10px; margin-bottom:16px; font-size:14px; }
.rd-alert.success { background:#ecfdf5; border:1px solid #a7f3d0; color:#065f46; }
.rd-alert.error { background:#fef2f2; border:1px solid #fecaca; color:#b91c1c; }
.rd-empty { text-align:center; padding:60px 20px; color:#94a3b8; }
.rd-link-btn { background:none; border:0; padding:0 8px; cursor:pointer; color:#2563eb; font:inherit; font-size:13px; }
.rd-link-btn.danger { color:#dc2626; }
.rd-link-btn:hover { text-decoration:underline; }

/* 顶部进度 */
.rd-progress { position:fixed; top:0; left:0; height:3px; width:100%; background:transparent; z-index:9999; pointer-events:none; }
.rd-progress > span { display:block; height:100%; width:0; background:linear-gradient(90deg,#2563eb,#7c3aed); transition:width .1s linear; }

/* 详情页头部 */
.rd-book-head { display:flex; gap:28px; padding:30px 32px; background:#fff; border-radius:14px; box-shadow:0 1px 4px rgba(15,23,42,.05); margin-bottom:20px; position:relative; overflow:hidden; }
.rd-book-head::before { content:''; position:absolute; top:-100px; right:-80px; width:320px; height:320px; background:radial-gradient(circle,rgba(99,102,241,.14),transparent 70%); pointer-events:none; }
.rd-cover { flex-shrink:0; width:180px; aspect-ratio:3/4; border-radius:12px; overflow:hidden; background:linear-gradient(135deg,#6366f1,#a855f7); box-shadow:0 12px 28px rgba(99,102,241,.25); display:flex; align-items:center; justify-content:center; }
.rd-cover img { width:100%; height:100%; object-fit:cover; }
.rd-cover-ph { color:#fff; font-size:56px; font-weight:800; }
.rd-head-main { flex:1; min-width:0; position:relative; z-index:1; }
.rd-head-main h1 { font-size:28px; color:#0f172a; margin-bottom:12px; line-height:1.3; letter-spacing:-.02em; }
.rd-head-sub { color:#64748b; font-size:14px; margin-bottom:14px; line-height:1.65; }
.rd-head-oneline { color:#334155; font-size:15px; line-height:1.8; padding:12px 16px; background:linear-gradient(90deg,#eff6ff,transparent); border-left:3px solid #2563eb; border-radius:0 8px 8px 0; margin-bottom:18px; }
.rd-head-meta { display:flex; flex-wrap:wrap; gap:10px 22px; font-size:13.5px; color:#64748b; margin-bottom:18px; }
.rd-head-meta b { color:#2563eb; font-weight:700; font-size:15px; }
.rd-head-actions { display:flex; gap:10px; flex-wrap:wrap; }

.rd-btn { display:inline-flex; align-items:center; gap:6px; padding:10px 20px; background:#2563eb; color:#fff; border-radius:10px; text-decoration:none; font-size:14px; font-weight:500; border:0; cursor:pointer; font-family:inherit; transition:all .15s; box-shadow:0 4px 14px rgba(37,99,235,.25); }
.rd-btn:hover { background:#1d4ed8; transform:translateY(-1px); color:#fff; text-decoration:none; }
.rd-btn.primary { background:linear-gradient(135deg,#2563eb,#7c3aed); }
.rd-btn.outline { background:#fff; color:#334155; border:1px solid #e2e8f0; box-shadow:none; }
.rd-btn.outline:hover { border-color:#2563eb; color:#2563eb; background:#eff6ff; }

.rd-btn-ai { position:relative; display:inline-flex; align-items:center; gap:6px; padding:10px 20px; background:linear-gradient(135deg,#7c3aed,#2563eb,#06b6d4); background-size:200% 200%; color:#fff; border:0; border-radius:10px; font-size:14px; font-weight:600; cursor:pointer; font-family:inherit; animation:rdAiShift 3s ease infinite; box-shadow:0 4px 18px rgba(124,58,237,.35); transition:transform .2s; }
.rd-btn-ai:hover { transform:translateY(-2px); }
@keyframes rdAiShift { 0%,100% { background-position:0% 50%; } 50% { background-position:100% 50%; } }

/* 互动区 */
.rd-interaction { display:grid; grid-template-columns:1.3fr 1.2fr 0.9fr; gap:0; padding:0; background:#fff; border-radius:14px; box-shadow:0 1px 4px rgba(15,23,42,.05); margin-bottom:22px; align-items:stretch; overflow:hidden; }
.rd-interact-block { padding:22px; min-width:0; }
.rd-interact-rating { display:flex; align-items:center; justify-content:center; gap:24px; border-right:1px solid #eef2f7; }
.rd-rating-score { text-align:center; flex-shrink:0; }
.rd-rating-num { font-size:34px; font-weight:800; color:#2563eb; line-height:1; letter-spacing:-.02em; font-variant-numeric:tabular-nums; margin-bottom:6px; }
.rd-stars { display:inline-flex; gap:2px; }
.rd-star { font-size:16px; line-height:1; }
.rd-star.full { color:#fbbf24; }
.rd-star.half { color:#fbbf24; opacity:.55; }
.rd-star.empty { color:#e2e8f0; }
.rd-rating-count { font-size:12px; color:#94a3b8; margin-top:4px; }
.rd-rating-my { text-align:center; flex-shrink:0; }
.rd-rating-label { font-size:12.5px; color:#64748b; font-weight:500; margin-bottom:8px; }
.rd-rating-stars { display:inline-flex; gap:2px; }
.rd-star-input { font-size:26px; color:#e2e8f0; cursor:pointer; transition:all .12s; line-height:1; user-select:none; }
.rd-star-input:hover, .rd-star-input.active { color:#fbbf24; transform:scale(1.08); }
.rd-rating-hint { font-size:11.5px; color:#94a3b8; margin-top:6px; }
.rd-rating-hint a { color:#2563eb; }

.rd-interact-shelf { display:flex; gap:8px; justify-content:center; align-items:center; border-right:1px solid #eef2f7; }
.rd-shelf-btn { flex:1; display:flex; flex-direction:column; align-items:center; gap:2px; padding:10px 6px; background:#f8fafc; border:1px solid #e2e8f0; border-radius:10px; cursor:pointer; font-family:inherit; color:#475569; transition:all .15s; min-width:0; }
.rd-shelf-btn:hover { border-color:#2563eb; background:#eff6ff; color:#2563eb; transform:translateY(-1px); }
.rd-shelf-btn.active { background:linear-gradient(135deg,#2563eb,#7c3aed); color:#fff; border-color:transparent; box-shadow:0 4px 12px rgba(37,99,235,.28); }
.rd-shelf-icon { font-size:16px; line-height:1.2; }
.rd-shelf-label { font-size:12.5px; font-weight:600; white-space:nowrap; }
.rd-shelf-count { font-size:11px; opacity:.75; }

.rd-interact-actions { display:flex; flex-direction:column; gap:8px; justify-content:center; }
.rd-btn-write-review { display:flex; align-items:center; justify-content:center; gap:6px; padding:10px 16px; border-radius:10px; font-size:13.5px; font-weight:600; background:linear-gradient(135deg,#2563eb,#7c3aed); color:#fff; text-decoration:none; box-shadow:0 4px 12px rgba(37,99,235,.25); white-space:nowrap; }
.rd-btn-write-review:hover { color:#fff; text-decoration:none; transform:translateY(-1px); }
.rd-btn-share { display:flex; align-items:center; justify-content:center; gap:6px; padding:10px 16px; border-radius:10px; font-size:13.5px; font-weight:600; background:#fff; color:#334155; border:1px solid #e2e8f0; cursor:pointer; font-family:inherit; white-space:nowrap; }
.rd-btn-share:hover { border-color:#2563eb; color:#2563eb; }
.rd-btn-view-reviews { display:block; padding:6px 14px; background:#f8fafc; color:#64748b; border:1px solid #eef2f7; border-radius:10px; font-size:12px; font-weight:600; text-align:center; text-decoration:none; }
.rd-btn-view-reviews:hover { color:#2563eb; text-decoration:none; }

/* 锚点 */
.rd-anchor { display:flex; gap:6px; flex-wrap:wrap; padding:12px 16px; background:#fff; border-radius:12px; box-shadow:0 1px 3px rgba(15,23,42,.05); margin-bottom:22px; position:sticky; top:0; z-index:20; }
.rd-anchor a { padding:6px 14px; background:#f1f5f9; color:#334155; border-radius:20px; font-size:13px; font-weight:500; transition:all .15s; }
.rd-anchor a:hover, .rd-anchor a.active { background:#2563eb; color:#fff; text-decoration:none; }

/* 两栏 */
.rd-two-col { display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:24px; align-items:start; }
.rd-main { min-width:0; }
.rd-side { position:sticky; top:80px; display:flex; flex-direction:column; gap:16px; }

/* 板块 */
.rd-section { background:#fff; border-radius:14px; padding:28px 32px; margin-bottom:20px; box-shadow:0 1px 4px rgba(15,23,42,.05); scroll-margin-top:80px; }
.rd-section h2 { font-size:20px; color:#0f172a; margin-bottom:22px; padding-bottom:14px; border-bottom:2px solid #eef2f7; display:flex; align-items:center; gap:10px; }
.rd-section h2::before { content:''; width:4px; height:20px; background:linear-gradient(180deg,#2563eb,#7c3aed); border-radius:2px; }

/* 章节 */
.rd-chapters { display:flex; flex-direction:column; gap:8px; }
.rd-chapter { border:1px solid #eef2f7; border-radius:10px; overflow:hidden; background:#fff; transition:all .18s; }
.rd-chapter:hover { border-color:#c7d2fe; }
.rd-chapter[open] { border-color:#2563eb; }
.rd-chapter summary { padding:14px 18px; display:flex; align-items:center; gap:12px; cursor:pointer; background:#f8fafc; list-style:none; font-weight:500; }
.rd-chapter summary::-webkit-details-marker { display:none; }
.rd-chapter summary:hover { background:#eff6ff; }
.rd-ch-no { display:inline-flex; align-items:center; padding:2px 10px; background:linear-gradient(135deg,#2563eb,#7c3aed); color:#fff; border-radius:6px; font-size:12px; font-weight:700; font-family:monospace; flex-shrink:0; }
.rd-ch-title { flex:1; color:#0f172a; font-weight:600; font-size:15px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.rd-ch-core { background:linear-gradient(135deg,#fbbf24,#f59e0b); color:#fff; font-size:11px; font-weight:700; padding:2px 8px; border-radius:8px; flex-shrink:0; }
.rd-ch-body { padding:20px 22px; border-top:1px solid #eef2f7; }
.rd-ch-summary { padding:12px 16px; background:#eff6ff; border-left:3px solid #2563eb; border-radius:0 8px 8px 0; color:#334155; font-size:14px; line-height:1.85; margin-bottom:16px; }
.rd-ch-block { margin-bottom:16px; }
.rd-ch-block:last-child { margin-bottom:0; }
.rd-ch-block-title { display:inline-block; font-size:12.5px; font-weight:700; color:#7c3aed; padding:3px 12px; background:#f5f3ff; border-radius:10px; margin-bottom:10px; }
.rd-ch-text { font-size:14.5px; color:#334155; line-height:1.9; word-break:break-word; }

/* 问题 / 概念 / 模型 / 金句 / 批判 / 行动 / 延伸 */
.rd-questions { display:flex; flex-direction:column; gap:16px; }
.rd-q-item { padding:22px 24px; background:linear-gradient(135deg,#fafbff,#f5f7ff); border:1px solid #e0e7ff; border-radius:12px; position:relative; }
.rd-q-item::before { content:'Q'; position:absolute; top:14px; right:20px; font-size:38px; font-weight:900; color:rgba(99,102,241,.13); font-family:Georgia,serif; }
.rd-q-title { font-size:17px; font-weight:700; color:#2563eb; margin-bottom:12px; line-height:1.5; padding-right:50px; }
.rd-q-answer { font-size:15px; color:#334155; line-height:1.85; margin-bottom:10px; padding-left:14px; border-left:3px solid #2563eb; }
.rd-q-proof { font-size:14px; color:#64748b; line-height:1.8; padding:12px 16px; background:rgba(255,255,255,.75); border-radius:8px; border:1px dashed #cbd5e1; }
.rd-q-proof::before { content:'论证：'; color:#7c3aed; font-weight:700; }

.rd-concepts { display:flex; flex-direction:column; gap:10px; }
.rd-concept { border:1px solid #eef2f7; border-radius:10px; overflow:hidden; background:#fff; }
.rd-concept[open] { border-color:#2563eb; }
.rd-concept summary { padding:14px 20px; cursor:pointer; list-style:none; font-weight:600; color:#0f172a; display:flex; align-items:center; gap:12px; }
.rd-concept summary::-webkit-details-marker { display:none; }
.rd-concept summary:hover { background:#f8fbff; }
.rd-concept-name { font-size:15.5px; position:relative; padding-left:14px; flex-shrink:0; }
.rd-concept-name::before { content:''; position:absolute; left:0; top:3px; bottom:3px; width:3px; background:linear-gradient(180deg,#2563eb,#7c3aed); border-radius:2px; }
.rd-concept-brief { font-size:13px; color:#64748b; font-weight:400; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.rd-concept-detail { padding:12px 22px 20px; border-top:1px solid #eef2f7; }
.rd-concept-item { display:grid; grid-template-columns:80px 1fr; gap:12px; padding:8px 0; border-bottom:1px dashed #eef2f7; font-size:14px; }
.rd-concept-item:last-child { border-bottom:0; }
.rd-concept-item .k { color:#64748b; font-weight:600; }
.rd-concept-item .v { color:#334155; line-height:1.8; }

.rd-models { display:flex; flex-direction:column; gap:16px; }
.rd-model { background:linear-gradient(135deg,#fafbff,#f5f7ff); border:1px solid #e0e7ff; border-radius:12px; padding:20px 24px; position:relative; overflow:hidden; }
.rd-model::before { content:''; position:absolute; top:0; left:0; bottom:0; width:4px; background:linear-gradient(180deg,#2563eb,#7c3aed); }
.rd-model-title { font-size:16.5px; font-weight:700; color:#0f172a; margin-bottom:14px; padding-left:8px; }
.rd-model-grid { display:grid; grid-template-columns:80px 1fr; gap:12px; padding:6px 0 6px 8px; }
.rd-model-grid .k { color:#7c3aed; font-size:13.5px; font-weight:700; padding-top:2px; }
.rd-model-grid .v { color:#334155; font-size:14.5px; line-height:1.85; word-break:break-word; }

.rd-quotes { display:flex; flex-direction:column; gap:14px; }
.rd-quote { background:#fff; border:1px solid #eef2f7; border-radius:12px; padding:22px 26px 20px 58px; position:relative; }
.rd-quote::before { content:'"'; position:absolute; left:20px; top:14px; font-size:52px; color:#2563eb; font-family:Georgia,serif; opacity:.28; line-height:1; }
.rd-quote-text { font-size:16px; font-weight:500; color:#0f172a; line-height:1.8; margin-bottom:10px; font-style:italic; }
.rd-quote-from { font-size:13px; color:#94a3b8; margin-bottom:12px; }
.rd-quote-from::before { content:'—— '; }
.rd-quote-note { font-size:14px; color:#334155; line-height:1.8; padding:10px 14px; background:#f8fafc; border-radius:8px; }
.rd-quote-apply { font-size:13.5px; color:#2563eb; line-height:1.75; margin-top:8px; }

.rd-critique { display:flex; flex-direction:column; gap:14px; }
.rd-critique-item { padding:16px 20px; border-radius:10px; border:1px solid #eef2f7; background:#fff; }
.rd-critique-item:hover { border-color:#fbcfe8; background:#fff5f9; }
.rd-critique-item .k { display:inline-block; font-size:12.5px; font-weight:700; color:#be185d; background:#fce7f3; padding:3px 12px; border-radius:10px; margin-bottom:10px; }
.rd-critique-item .v { font-size:14.5px; color:#334155; line-height:1.85; }

.rd-actions { display:flex; flex-direction:column; gap:12px; }
.rd-action { display:flex; gap:14px; padding:16px 20px; background:linear-gradient(135deg,#f0fdf4,#ecfdf5); border:1px solid #a7f3d0; border-radius:12px; }
.rd-action-icon { flex-shrink:0; width:40px; height:40px; border-radius:10px; background:#fff; color:#059669; display:inline-flex; align-items:center; justify-content:center; font-size:20px; box-shadow:0 2px 8px rgba(16,185,129,.15); }
.rd-action-body { flex:1; min-width:0; }
.rd-action-label { font-size:13px; font-weight:700; color:#059669; margin-bottom:6px; }
.rd-action-text { font-size:14.5px; color:#064e3b; line-height:1.85; }

.rd-further { display:flex; flex-direction:column; gap:12px; }
.rd-further-item { padding:14px 18px; border-radius:10px; background:#f8fafc; border-left:3px solid #2563eb; }
.rd-further-item .k { display:inline-block; font-size:12.5px; font-weight:700; color:#2563eb; margin-bottom:6px; }
.rd-further-item .v { font-size:14.5px; color:#334155; line-height:1.85; }

.rd-overview, .rd-structure { display:flex; flex-direction:column; }
.rd-ov-row, .rd-st-row { display:grid; grid-template-columns:120px 1fr; gap:20px; padding:14px 0; border-bottom:1px dashed #eef2f7; }
.rd-ov-row:last-child, .rd-st-row:last-child { border-bottom:0; }
.rd-ov-label, .rd-st-label { color:#64748b; font-weight:600; font-size:14px; }
.rd-ov-value, .rd-st-value { color:#334155; font-size:15px; line-height:1.85; word-break:break-word; }
.rd-keywords { display:flex; flex-wrap:wrap; gap:6px; }
.rd-keywords span { display:inline-block; padding:3px 12px; background:#eff6ff; color:#2563eb; border-radius:12px; font-size:13px; font-weight:500; }
.rd-st-chapters { display:flex; flex-wrap:wrap; gap:8px; }
.rd-st-chapters span { display:inline-block; padding:4px 12px; background:#eff6ff; color:#2563eb; border-radius:12px; font-size:13px; font-weight:500; }
.rd-text-block { font-size:15px; line-height:1.9; color:#334155; }

/* 思维导图 */
.rd-mindmap-section { margin-top:24px; padding:28px 32px; }
.rd-mindmap-embed { background:linear-gradient(135deg,#f8fafc,#f1f5f9); border:1px solid #eef2f7; border-radius:12px; padding:20px; }
.rd-mindmap-tip { color:#64748b; font-size:14px; margin-bottom:16px; text-align:center; }
.rd-mindmap-box { min-height:420px; background:#fff; border:1px solid #eef2f7; border-radius:10px; overflow:auto; position:relative; }
.rd-mindmap-box svg { display:block; }
.rd-mindmap-loading { padding:60px 20px; text-align:center; color:#94a3b8; }
.rd-mindmap-actions { margin-top:16px; text-align:center; }

/* 侧栏 */
.rd-side-card { background:#fff; border-radius:12px; padding:20px; box-shadow:0 1px 4px rgba(15,23,42,.05); }
.rd-side-title { font-size:15px; color:#0f172a; margin-bottom:14px; padding-bottom:12px; border-bottom:1px solid #eef2f7; display:flex; justify-content:space-between; align-items:center; }
.rd-side-title small { font-size:12px; color:#94a3b8; font-weight:400; }
.rd-toc { list-style:none; }
.rd-toc li { margin-bottom:2px; }
.rd-toc a { display:block; padding:7px 12px; border-radius:8px; color:#334155; font-size:13.5px; transition:all .15s; }
.rd-toc a:hover { background:#eff6ff; color:#2563eb; text-decoration:none; }

.rd-note-trigger { display:flex; align-items:center; justify-content:center; gap:8px; width:100%; margin-top:16px; padding:12px 20px; background:linear-gradient(135deg,#2563eb,#7c3aed); color:#fff; border:0; border-radius:10px; font-size:14px; font-weight:600; cursor:pointer; box-shadow:0 6px 16px rgba(37,99,235,.28); transition:all .18s; text-decoration:none; line-height:1.2; }
.rd-note-trigger:hover { transform:translateY(-1px); color:#fff; text-decoration:none; }
.rd-note-trigger-login { background:#f1f5f9; color:#475569; box-shadow:none; }
.rd-note-trigger-login:hover { background:#e2e8f0; color:#1e293b; transform:none; }

.rd-notes-list { display:flex; flex-direction:column; gap:10px; max-height:400px; overflow-y:auto; }
.rd-note-item { background:#f8fafc; border-radius:10px; padding:12px 14px; border:1px solid #eef2f7; }
.rd-note-item-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; }
.rd-note-time { font-size:11.5px; color:#94a3b8; font-family:monospace; }
.rd-note-actions { display:inline-flex; gap:4px; }
.rd-note-edit, .rd-note-delete { background:none; border:0; padding:2px 8px; font-size:11.5px; cursor:pointer; color:#64748b; border-radius:5px; }
.rd-note-edit:hover { background:#eff6ff; color:#2563eb; }
.rd-note-delete:hover { background:#fef2f2; color:#dc2626; }
.rd-note-content { font-size:13px; color:#334155; line-height:1.7; max-height:160px; overflow:hidden; }
.rd-notes-empty { font-size:13px; color:#94a3b8; text-align:center; padding:12px 0; }

.rd-related-list { display:flex; flex-direction:column; gap:10px; }
.rd-related-item { display:flex; gap:10px; align-items:center; color:inherit; padding:6px; border-radius:8px; }
.rd-related-item:hover { background:#f8fafc; text-decoration:none; color:inherit; }
.rd-related-cover { width:48px; height:64px; flex-shrink:0; border-radius:6px; overflow:hidden; background:linear-gradient(135deg,#6366f1,#a855f7); display:flex; align-items:center; justify-content:center; }
.rd-related-cover img { width:100%; height:100%; object-fit:cover; }
.rd-mini-ph { color:#fff; font-weight:700; font-size:20px; }
.rd-related-info { flex:1; min-width:0; }
.rd-related-title { font-size:13px; font-weight:600; color:#0f172a; line-height:1.4; margin-bottom:4px; overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
.rd-related-author { font-size:11.5px; color:#94a3b8; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

.rd-back-link { text-align:center; margin-top:32px; }
.rd-back-link a { color:#2563eb; font-weight:600; }

/* 笔记弹窗 */
.rd-note-modal { position:fixed; inset:0; z-index:9999; display:flex; align-items:center; justify-content:center; padding:20px; }
.rd-note-modal[hidden] { display:none; }
.rd-note-modal-mask { position:absolute; inset:0; background:rgba(15,23,42,.55); backdrop-filter:blur(4px); }
.rd-note-modal-box { position:relative; width:100%; max-width:640px; max-height:90vh; background:#fff; border-radius:16px; box-shadow:0 24px 60px rgba(15,23,42,.28); display:flex; flex-direction:column; overflow:hidden; }
.rd-note-modal-head { display:flex; align-items:center; justify-content:space-between; padding:18px 24px; border-bottom:1px solid #eef2f7; flex-shrink:0; }
.rd-note-modal-head h3 { margin:0; font-size:16px; font-weight:700; color:#0f172a; }
.rd-note-modal-close { background:none; border:0; font-size:26px; color:#94a3b8; cursor:pointer; padding:0 8px; border-radius:6px; }
.rd-note-modal-close:hover { background:#f1f5f9; color:#334155; }
.rd-note-form { display:flex; flex-direction:column; flex:1; min-height:0; }
.rd-note-input { flex:1; min-height:300px; margin:20px 24px 0; padding:14px 16px; border:1px solid #e5e9f0; border-radius:10px; font-size:14px; line-height:1.75; resize:vertical; outline:none; color:#334155; font-family:inherit; }
.rd-note-input:focus { border-color:#2563eb; box-shadow:0 0 0 3px rgba(37,99,235,.1); }
.rd-note-form-foot { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:16px 24px; border-top:1px solid #eef2f7; background:#f8fafc; flex-shrink:0; flex-wrap:wrap; }
.rd-note-hint { font-size:12.5px; color:#94a3b8; }
.rd-note-form-actions { display:inline-flex; gap:10px; }

/* AI 对话弹窗 */
.rd-ai-modal { position:fixed; inset:0; z-index:10000; display:flex; align-items:center; justify-content:center; padding:20px; }
.rd-ai-modal[hidden] { display:none; }
.rd-ai-mask { position:absolute; inset:0; background:rgba(15,23,42,.6); backdrop-filter:blur(6px); }
.rd-ai-box { position:relative; width:100%; max-width:720px; max-height:88vh; background:#fff; border-radius:18px; box-shadow:0 24px 80px rgba(15,23,42,.3); display:flex; flex-direction:column; overflow:hidden; }
.rd-ai-head { display:flex; align-items:center; justify-content:space-between; padding:16px 22px; border-bottom:1px solid #eef2f7; background:linear-gradient(135deg,#f8fafc,#f1f5f9); flex-shrink:0; }
.rd-ai-head-left { display:flex; align-items:center; gap:12px; }
.rd-ai-avatar { width:42px; height:42px; border-radius:12px; background:linear-gradient(135deg,#7c3aed,#2563eb); display:flex; align-items:center; justify-content:center; color:#fff; font-size:22px; flex-shrink:0; box-shadow:0 4px 12px rgba(124,58,237,.3); }
.rd-ai-head-left h3 { font-size:15px; font-weight:700; color:#0f172a; margin:0; }
.rd-ai-head-left p { font-size:11.5px; color:#94a3b8; margin:2px 0 0; }
.rd-ai-close { background:none; border:0; font-size:24px; color:#94a3b8; cursor:pointer; padding:4px 10px; border-radius:8px; }
.rd-ai-close:hover { background:#eef2f7; color:#334155; }
.rd-ai-messages { flex:1; overflow-y:auto; padding:20px 22px; display:flex; flex-direction:column; gap:14px; min-height:0; background:#fafbfc; }
.rd-ai-msg { display:flex; }
.rd-ai-msg.user { justify-content:flex-end; }
.rd-ai-msg.assistant { justify-content:flex-start; }
.rd-ai-bubble { max-width:82%; padding:12px 16px; border-radius:14px; font-size:14px; line-height:1.75; word-break:break-word; white-space:pre-wrap; }
.rd-ai-msg.user .rd-ai-bubble { background:linear-gradient(135deg,#2563eb,#7c3aed); color:#fff; border-bottom-right-radius:4px; box-shadow:0 4px 12px rgba(37,99,235,.25); }
.rd-ai-msg.assistant .rd-ai-bubble { background:#fff; color:#334155; border:1px solid #eef2f7; border-bottom-left-radius:4px; box-shadow:0 1px 3px rgba(15,23,42,.04); }
.rd-ai-bubble p { margin:0 0 8px; }
.rd-ai-bubble p:last-child { margin-bottom:0; }
.rd-ai-bubble strong { color:#0f172a; }
.rd-ai-msg.user .rd-ai-bubble strong { color:#fff; }
.rd-ai-cursor { display:inline-block; width:2px; height:1em; background:#7c3aed; margin-left:2px; vertical-align:text-bottom; animation:rdAiCursor .8s steps(1) infinite; }
@keyframes rdAiCursor { 0%,50% { opacity:1; } 51%,100% { opacity:0; } }
.rd-ai-typing { display:flex; align-items:center; gap:5px; padding:14px 18px; }
.rd-ai-typing span { width:7px; height:7px; border-radius:50%; background:#c7d2fe; animation:rdAiDot 1.2s ease-in-out infinite; }
.rd-ai-typing span:nth-child(2) { animation-delay:.2s; }
.rd-ai-typing span:nth-child(3) { animation-delay:.4s; }
@keyframes rdAiDot { 0%,60%,100% { transform:translateY(0); opacity:.5; } 30% { transform:translateY(-6px); opacity:1; } }
.rd-ai-input-area { display:flex; align-items:flex-end; gap:10px; padding:14px 22px; border-top:1px solid #eef2f7; background:#fff; flex-shrink:0; }
.rd-ai-input { flex:1; min-height:42px; max-height:120px; padding:10px 14px; border:1px solid #e2e8f0; border-radius:12px; font-size:14px; line-height:1.6; resize:none; outline:none; color:#0f172a; font-family:inherit; }
.rd-ai-input:focus { border-color:#7c3aed; box-shadow:0 0 0 3px rgba(124,58,237,.12); }
.rd-ai-send { padding:10px 18px; border-radius:12px; border:0; background:linear-gradient(135deg,#7c3aed,#2563eb); color:#fff; font-size:13.5px; font-weight:600; cursor:pointer; flex-shrink:0; box-shadow:0 4px 12px rgba(124,58,237,.3); }
.rd-ai-send:hover { transform:translateY(-1px); }
.rd-ai-send:disabled { opacity:.5; cursor:not-allowed; }
.rd-ai-hint-bar { padding:8px 22px; font-size:12px; color:#94a3b8; background:#f8fafc; border-top:1px solid #f1f5f9; text-align:center; flex-shrink:0; }

/* 书评区 */
.rd-section-reviews { margin-top:24px; }
.rd-reviews-count { display:inline-block; padding:2px 10px; background:#eff6ff; color:#2563eb; border-radius:20px; font-size:13px; font-weight:700; font-family:monospace; }
.rd-reviews-head { text-align:right; margin-bottom:16px; }
.rd-reviews-head .rd-btn { padding:8px 18px; font-size:13px; }
.rd-reviews-empty { text-align:center; padding:50px 20px; color:#94a3b8; }
.rd-reviews-list { list-style:none; padding:0; margin:0; }
.rd-review-item { padding:22px 0; border-bottom:1px solid #f1f5f9; }
.rd-review-item:last-child { border-bottom:0; padding-bottom:0; }
.rd-review-head { display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:12px; }
.rd-review-author { display:flex; gap:10px; align-items:center; }
.rd-review-avatar { width:40px; height:40px; border-radius:50%; object-fit:cover; flex-shrink:0; }
.rd-review-avatar.ph { background:linear-gradient(135deg,#6366f1,#a855f7); color:#fff; display:inline-flex; align-items:center; justify-content:center; font-weight:700; font-size:16px; }
.rd-review-author-info { display:flex; flex-direction:column; gap:2px; }
.rd-review-author-name { font-size:14px; font-weight:600; color:#0f172a; }
.rd-review-author-meta { font-size:12px; color:#94a3b8; }
.rd-review-score-badge { color:#f59e0b; font-weight:700; }
.rd-review-tools { display:inline-flex; gap:6px; }
.rd-review-tool { background:none; border:0; color:#2563eb; font-size:12.5px; cursor:pointer; padding:2px 8px; border-radius:6px; font-family:inherit; text-decoration:none; }
.rd-review-tool:hover { background:#eff6ff; text-decoration:none; }
.rd-review-tool.danger { color:#dc2626; }
.rd-review-tool.danger:hover { background:#fef2f2; }
.rd-review-title { font-size:17px; font-weight:700; margin:8px 0 12px; line-height:1.4; }
.rd-review-title a { color:#0f172a; text-decoration:none; }
.rd-review-title a:hover { color:#2563eb; }
.rd-review-content { font-size:14.5px; line-height:1.85; color:#334155; margin-bottom:12px; }
.rd-review-content p { margin-bottom:10px; }
.rd-review-content ul { padding-left:22px; margin-bottom:10px; }
.rd-review-content blockquote { padding:10px 16px; margin:12px 0; background:#f8fafc; border-left:3px solid #2563eb; border-radius:0 8px 8px 0; color:#64748b; }
.rd-review-content code { padding:2px 6px; background:#f1f5f9; border-radius:4px; font-family:monospace; font-size:13px; color:#7c3aed; }
.rd-review-foot { display:flex; align-items:center; gap:12px; }
.rd-review-like { display:inline-flex; align-items:center; gap:5px; padding:6px 14px; border:1px solid #e2e8f0; background:#fff; border-radius:20px; font-size:12.5px; color:#64748b; cursor:pointer; font-family:inherit; transition:all .15s; }
.rd-review-like:hover { border-color:#fbbf24; color:#d97706; }
.rd-review-like.active { background:#fffbeb; color:#d97706; border-color:#fbbf24; }
.rd-review-more { font-size:12.5px; color:#2563eb; margin-left:auto; }
.rd-reviews-more { text-align:center; margin-top:24px; padding-top:20px; border-top:1px solid #f1f5f9; }

/* 写书评 */
.rd-review-write-page { padding-top:24px; }
.rd-review-write-card { background:#fff; border-radius:16px; padding:36px 40px; box-shadow:0 4px 20px rgba(15,23,42,.06); }
.rd-review-write-card h1 { font-size:24px; color:#0f172a; margin-bottom:24px; font-weight:800; }
.rd-review-write-book { display:flex; gap:14px; align-items:center; padding:16px 18px; background:#f8fafc; border-radius:12px; margin-bottom:28px; }
.rd-rw-cover { width:56px; height:76px; border-radius:6px; overflow:hidden; background:linear-gradient(135deg,#6366f1,#a855f7); display:flex; align-items:center; justify-content:center; flex-shrink:0; color:#fff; font-size:22px; font-weight:800; }
.rd-rw-cover img { width:100%; height:100%; object-fit:cover; }
.rd-rw-title { font-size:16px; font-weight:700; color:#0f172a; }
.rd-rw-author { font-size:13px; color:#64748b; margin-top:2px; }
.rd-review-form-row { margin-bottom:22px; }
.rd-review-form-label { display:block; font-size:14px; font-weight:600; color:#334155; margin-bottom:10px; }
.rd-review-form-hint { font-size:12px; color:#94a3b8; font-weight:400; margin-left:8px; }
.rd-review-rating { display:flex; gap:4px; align-items:center; }
.rd-review-rating .rd-star-input { font-size:28px; color:#e2e8f0; cursor:pointer; transition:all .12s; line-height:1; user-select:none; }
.rd-review-rating .rd-star-input.active { color:#fbbf24; transform:scale(1.08); }
.rd-rating-text { font-size:13px; color:#64748b; margin-left:12px; }
.rd-review-input { width:100%; padding:11px 16px; border:1px solid #cbd5e1; border-radius:10px; font-size:14.5px; outline:none; font-family:inherit; }
.rd-review-input:focus { border-color:#2563eb; box-shadow:0 0 0 3px rgba(37,99,235,.12); }
.rd-review-textarea { width:100%; min-height:280px; padding:14px 16px; border:1px solid #cbd5e1; border-radius:10px; font-size:14.5px; line-height:1.9; outline:none; resize:vertical; font-family:inherit; }
.rd-review-textarea:focus { border-color:#2563eb; box-shadow:0 0 0 3px rgba(37,99,235,.12); }
.rd-review-form-counter { text-align:right; font-size:12.5px; color:#94a3b8; margin-top:6px; }
.rd-review-form-actions { display:flex; gap:12px; margin-top:28px; padding-top:24px; border-top:1px solid #eef2f7; }

/* 书评详情 */
.rd-review-detail { background:#fff; border-radius:16px; padding:40px 44px; box-shadow:0 4px 20px rgba(15,23,42,.06); margin-top:16px; }
.rd-review-detail-head { padding-bottom:20px; border-bottom:1px solid #f1f5f9; margin-bottom:24px; }
.rd-review-detail-head h1 { font-size:26px; color:#0f172a; margin-bottom:16px; font-weight:800; line-height:1.4; }
.rd-review-detail-meta { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; }
.rd-review-detail-book { display:flex; padding:14px 18px; background:#f8fafc; border-radius:12px; margin-bottom:24px; }
.rd-review-detail-book a { display:flex; gap:12px; align-items:center; color:inherit; text-decoration:none; }
.rd-rd-book-cover { width:48px; height:64px; border-radius:6px; overflow:hidden; background:linear-gradient(135deg,#6366f1,#a855f7); display:flex; align-items:center; justify-content:center; color:#fff; font-size:20px; font-weight:800; flex-shrink:0; }
.rd-rd-book-cover img { width:100%; height:100%; object-fit:cover; }
.rd-rd-book-title { font-size:15px; font-weight:700; color:#0f172a; }
.rd-rd-book-author { font-size:12.5px; color:#64748b; margin-top:4px; }
.rd-review-detail-content { font-size:16px; line-height:1.95; color:#334155; }
.rd-review-detail-content p { margin-bottom:14px; }
.rd-review-detail-content ul { padding-left:24px; margin-bottom:14px; }
.rd-review-detail-content blockquote { padding:12px 20px; margin:16px 0; background:#f8fafc; border-left:4px solid #2563eb; border-radius:0 8px 8px 0; color:#64748b; }
.rd-review-detail-foot { display:flex; gap:12px; margin-top:32px; padding-top:24px; border-top:1px solid #f1f5f9; justify-content:center; }

/* 书评广场 */
.rd-reviews-page-head { text-align:center; padding:40px 0 32px; }
.rd-reviews-page-head h1 { font-size:32px; color:#0f172a; font-weight:800; margin-bottom:8px; }
.rd-reviews-page-head p { font-size:15px; color:#64748b; }
.rd-reviews-feed { display:grid; grid-template-columns:repeat(auto-fill,minmax(320px,1fr)); gap:20px; }
.rd-review-card { background:#fff; border:1px solid #eef2f7; border-radius:14px; padding:22px 24px; transition:all .2s; }
.rd-review-card:hover { transform:translateY(-2px); box-shadow:0 10px 30px rgba(15,23,42,.08); border-color:transparent; }
.rd-review-card-head { margin-bottom:14px; }
.rd-review-card-title { font-size:16.5px; font-weight:700; line-height:1.45; margin-bottom:10px; }
.rd-review-card-title a { color:#0f172a; text-decoration:none; }
.rd-review-card-title a:hover { color:#2563eb; }
.rd-review-card-book { font-size:12.5px; color:#64748b; margin-bottom:12px; }
.rd-review-card-book a { color:#2563eb; }
.rd-review-card-excerpt { font-size:13.5px; line-height:1.75; color:#475569; margin-bottom:14px; overflow:hidden; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; }
.rd-review-card-foot { display:flex; align-items:center; gap:8px; font-size:12.5px; color:#94a3b8; padding-top:12px; border-top:1px solid #f1f5f9; }
.rd-review-card-foot a { color:#2563eb; font-weight:600; text-decoration:none; }
.rd-review-card-foot a:hover { text-decoration:underline; }

/* 用户中心 */
.rd-user-center { display:grid; grid-template-columns:240px 1fr; gap:28px; align-items:start; }
.rd-user-side { position:sticky; top:90px; }
.rd-user-card { background:#fff; border-radius:14px; padding:24px 20px; text-align:center; box-shadow:0 1px 4px rgba(15,23,42,.05); margin-bottom:16px; }
.rd-user-avatar.ph { width:80px; height:80px; border-radius:50%; background:linear-gradient(135deg,#6366f1,#a855f7); color:#fff; display:flex; align-items:center; justify-content:center; font-size:32px; font-weight:700; margin:0 auto 14px; }
.rd-user-card h3 { font-size:16px; color:#0f172a; margin-bottom:4px; }
.rd-user-email { font-size:12.5px; color:#94a3b8; }
.rd-user-nav { display:flex; flex-direction:column; background:#fff; border-radius:14px; overflow:hidden; box-shadow:0 1px 4px rgba(15,23,42,.05); }
.rd-user-nav a { padding:12px 20px; color:#475569; font-size:13.5px; font-weight:500; border-bottom:1px solid #f1f5f9; }
.rd-user-nav a:last-child { border-bottom:0; }
.rd-user-nav a:hover, .rd-user-nav a.active { background:#eff6ff; color:#2563eb; text-decoration:none; }
.rd-user-content { background:#fff; border-radius:14px; padding:32px; box-shadow:0 1px 4px rgba(15,23,42,.05); }
.rd-user-content h1 { font-size:22px; color:#0f172a; margin-bottom:24px; }
.rd-user-content h2 { font-size:17px; color:#334155; margin-bottom:14px; }
.rd-stat-cards { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.rd-stat-card { background:linear-gradient(135deg,#f8fafc,#f1f5f9); border-radius:12px; padding:18px; text-align:center; }
.rd-stat-num { font-size:22px; font-weight:800; color:#2563eb; margin-bottom:4px; }
.rd-stat-label { font-size:12.5px; color:#64748b; }
.rd-note-recent-list { list-style:none; }
.rd-note-recent-list li { border-bottom:1px solid #f1f5f9; }
.rd-note-recent-list a { display:block; padding:12px 0; color:inherit; text-decoration:none; font-size:13.5px; }
.rd-note-recent-list a:hover { color:#2563eb; text-decoration:none; }
.rd-note-date { color:#94a3b8; margin-right:12px; font-family:monospace; font-size:12.5px; }

.rd-note-list { list-style:none; }
.rd-note-list-item { padding:16px 0; border-bottom:1px solid #f1f5f9; }
.rd-note-meta { display:flex; justify-content:space-between; font-size:12.5px; color:#94a3b8; margin-bottom:8px; }
.rd-note-meta a { color:#2563eb; font-weight:600; }
.rd-note-preview { font-size:14px; color:#334155; line-height:1.7; margin-bottom:10px; }
.rd-form-wide { max-width:640px; }
.rd-form-row { margin-bottom:18px; }
.rd-form-row label { display:block; font-size:13.5px; font-weight:600; color:#334155; margin-bottom:6px; }
.rd-form-row input[type=text], .rd-form-row input[type=password], .rd-form-row input[type=email] {
  width:100%; padding:10px 14px; border:1px solid #cbd5e1; border-radius:9px; font-size:14px; outline:none; transition:all .15s; background:#fff;
}
.rd-form-row input:focus { border-color:#2563eb; box-shadow:0 0 0 3px rgba(37,99,235,.12); }
.rd-hint { font-size:12px; color:#94a3b8; margin-top:4px; }

/* 书架 tabs */
.rd-shelf-tabs { display:flex; gap:6px; margin-bottom:24px; padding-bottom:12px; border-bottom:1px solid #eef2f7; overflow-x:auto; }
.rd-shelf-tab { display:inline-flex; align-items:center; gap:6px; padding:7px 16px; background:#f1f5f9; color:#475569; border-radius:20px; font-size:13.5px; font-weight:500; text-decoration:none; white-space:nowrap; transition:all .15s; }
.rd-shelf-tab:hover { background:#e2e8f0; color:#2563eb; text-decoration:none; }
.rd-shelf-tab.active { background:linear-gradient(135deg,#2563eb,#7c3aed); color:#fff; box-shadow:0 4px 12px rgba(37,99,235,.22); }
.rd-tab-count { display:inline-block; padding:1px 8px; background:rgba(0,0,0,.06); border-radius:10px; font-size:11.5px; }
.rd-shelf-tab.active .rd-tab-count { background:rgba(255,255,255,.22); color:#fff; }

/* 评分列表 */
.rd-ratings-list { list-style:none; padding:0; margin:0; }
.rd-rating-item { padding:14px 0; border-bottom:1px solid #f1f5f9; }
.rd-rating-item:last-child { border-bottom:0; }
.rd-rating-item a { display:flex; gap:14px; color:inherit; text-decoration:none; align-items:center; }
.rd-rating-item-cover { width:56px; height:76px; border-radius:6px; overflow:hidden; background:linear-gradient(135deg,#6366f1,#a855f7); display:flex; align-items:center; justify-content:center; color:#fff; font-size:22px; font-weight:800; flex-shrink:0; }
.rd-rating-item-cover img { width:100%; height:100%; object-fit:cover; }
.rd-rating-item-info { flex:1; min-width:0; }
.rd-rating-item-title { font-size:15px; font-weight:600; color:#0f172a; margin-bottom:4px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.rd-rating-item-author { font-size:12.5px; color:#94a3b8; margin-bottom:8px; }
.rd-rating-item-score { display:flex; align-items:center; gap:3px; font-size:14px; }
.rd-rating-item-score .rd-star.full { color:#fbbf24; }
.rd-rating-item-score .rd-star.empty { color:#e2e8f0; }
.rd-rating-item-num { color:#f59e0b; font-weight:700; margin-left:8px; font-size:13px; }
.rd-rating-item-time { color:#94a3b8; font-size:12px; margin-left:12px; }

/* 我的书评 */
.rd-my-reviews-list { list-style:none; padding:0; margin:0; }
.rd-my-review-item { padding:18px 0; border-bottom:1px solid #f1f5f9; }
.rd-my-review-item:last-child { border-bottom:0; }
.rd-my-review-book { display:flex; gap:12px; align-items:center; margin-bottom:12px; }
.rd-my-review-cover { width:44px; height:60px; border-radius:6px; overflow:hidden; background:linear-gradient(135deg,#6366f1,#a855f7); display:flex; align-items:center; justify-content:center; color:#fff; font-size:18px; font-weight:800; flex-shrink:0; }
.rd-my-review-cover img { width:100%; height:100%; object-fit:cover; }
.rd-my-review-book-title { font-size:14px; color:#2563eb; font-weight:600; text-decoration:none; }
.rd-my-review-meta { font-size:12px; color:#94a3b8; margin-top:2px; }
.rd-my-review-title { font-size:16px; font-weight:700; margin-bottom:8px; }
.rd-my-review-title a { color:#0f172a; text-decoration:none; }
.rd-my-review-title a:hover { color:#2563eb; }
.rd-my-review-excerpt { font-size:13.5px; color:#475569; line-height:1.75; margin-bottom:12px; }
.rd-my-review-actions { display:flex; gap:12px; font-size:13px; }

/* 响应式 */
@media (max-width:960px) {
  .rd-two-col { grid-template-columns:1fr; }
  .rd-side { position:static; }
  .rd-user-center { grid-template-columns:1fr; }
  .rd-user-side { position:static; }
  .rd-stat-cards { grid-template-columns:1fr 1fr; }
  .rd-interaction { grid-template-columns:1fr 1fr; }
  .rd-interact-rating { grid-column:span 2; border-right:0; border-bottom:1px solid #eef2f7; }
  .rd-interact-shelf { border-right:0; }
}
@media (max-width:640px) {
  .rd-book-head { flex-direction:column; padding:22px 20px; gap:20px; }
  .rd-cover { width:130px; margin:0 auto; }
  .rd-head-main h1 { font-size:22px; text-align:center; }
  .rd-head-sub { text-align:center; }
  .rd-head-meta { justify-content:center; }
  .rd-head-actions { justify-content:center; }
  .rd-head-actions .rd-btn, .rd-head-actions .rd-btn-ai { flex:1 1 auto; justify-content:center; }
  .rd-section { padding:22px 18px; }
  .rd-section h2 { font-size:17px; }
  .rd-anchor { overflow-x:auto; flex-wrap:nowrap; padding:10px 12px; }
  .rd-anchor::-webkit-scrollbar { display:none; }
  .rd-anchor a { white-space:nowrap; padding:5px 12px; font-size:12.5px; }
  .rd-ov-row, .rd-st-row, .rd-model-grid { grid-template-columns:1fr; gap:6px; }
  .rd-concept-item { grid-template-columns:1fr; gap:4px; }
  .rd-interaction { grid-template-columns:1fr; }
  .rd-interact-rating { grid-column:auto; flex-direction:column; gap:16px; padding:20px 16px; }
  .rd-interact-shelf { border-right:0; border-top:1px solid #eef2f7; padding:16px; }
  .rd-interact-actions { padding:16px; }
  .rd-interact-actions > * { width:100%; }
  .rd-review-write-card { padding:24px 20px; }
  .rd-review-detail { padding:24px 20px; }
  .rd-review-detail-head h1 { font-size:20px; }
  .rd-review-detail-content { font-size:15px; }
  .rd-user-content { padding:22px 18px; }
  .rd-stat-cards { grid-template-columns:1fr 1fr; }
  .rd-reviews-feed { grid-template-columns:1fr; }
  .rd-reviews-page-head h1 { font-size:24px; }
  .rd-ai-modal { padding:0; align-items:flex-end; }
  .rd-ai-box { max-height:100vh; border-radius:18px 18px 0 0; max-width:100%; }
  .rd-note-modal { padding:0; }
  .rd-note-modal-box { max-height:100vh; border-radius:0; max-width:none; }
  .rd-note-input { margin:12px 16px 0; }
  .rd-note-form-foot { padding:12px 16px; }
}

/* ============================================================
 * 首页英雄区 · 美化版（2026-10）
 * ============================================================ */
.rd-hero-v2 {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 100%);
  border-radius: 20px;
  padding: 56px 24px 44px;
  margin-bottom: 28px;
  text-align: center;
  border: 1px solid #eef2f7;
}
.rd-hero-v2::before,
.rd-hero-v2::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(64px);
  opacity: .55;
}
.rd-hero-v2::before {
  width: 280px; height: 280px;
  background: radial-gradient(circle, #93c5fd, transparent 70%);
  top: -100px; left: -80px;
}
.rd-hero-v2::after {
  width: 320px; height: 320px;
  background: radial-gradient(circle, #c4b5fd, transparent 70%);
  bottom: -120px; right: -100px;
}
.rd-hero-v2 .rd-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}
.rd-hero-v2 .rd-hero-title {
  font-size: 44px;
  font-weight: 800;
  margin: 0 0 12px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 55%, #db2777 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.rd-hero-v2 .rd-hero-sub {
  font-size: 16px;
  color: #475569;
  margin: 0 0 28px;
  letter-spacing: .02em;
}
.rd-hero-v2 .rd-search-v2 {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 520px;
  margin: 0 auto 20px;
  background: #fff;
  border-radius: 999px;
  padding: 6px 6px 6px 44px;
  box-shadow: 0 4px 20px rgba(37,99,235,.12), 0 1px 3px rgba(15,23,42,.06);
  border: 1px solid #eef2f7;
  transition: box-shadow .2s, transform .2s;
  gap: 0;
}
.rd-hero-v2 .rd-search-v2:focus-within {
  box-shadow: 0 6px 28px rgba(37,99,235,.22), 0 2px 6px rgba(15,23,42,.08);
  transform: translateY(-1px);
}
.rd-hero-v2 .rd-search-v2 .rd-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  opacity: .6;
  pointer-events: none;
}
.rd-hero-v2 .rd-search-v2 input[type="text"] {
  flex: 1;
  border: 0 !important;
  background: transparent !important;
  padding: 10px 8px;
  font-size: 15px;
  outline: none;
  min-width: 0;
  color: #0f172a;
  box-shadow: none !important;
}
.rd-hero-v2 .rd-search-v2 button[type="submit"] {
  border: 0;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 4px 12px rgba(37,99,235,.3);
  flex-shrink: 0;
}
.rd-hero-v2 .rd-search-v2 button[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37,99,235,.4);
}
.rd-hero-v2 .rd-cats-v2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.rd-hero-v2 .rd-cats-v2 .rd-cat {
  background: #fff;
  color: #334155;
  border: 1px solid #eef2f7;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  text-decoration: none;
  transition: all .15s;
}
.rd-hero-v2 .rd-cats-v2 .rd-cat:hover {
  border-color: #bfdbfe;
  color: #2563eb;
  background: #eff6ff;
  text-decoration: none;
}
.rd-hero-v2 .rd-cats-v2 .rd-cat.active {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(37,99,235,.25);
}

@media (max-width: 640px) {
  .rd-hero-v2 { padding: 40px 18px 32px; border-radius: 16px; }
  .rd-hero-v2 .rd-hero-title { font-size: 30px; }
  .rd-hero-v2 .rd-hero-sub { font-size: 14px; margin-bottom: 22px; }
  .rd-hero-v2 .rd-search-v2 { padding-left: 40px; }
  .rd-hero-v2 .rd-search-v2 button[type="submit"] { padding: 9px 16px; font-size: 13px; }
}

/* ============================================================
 * 首页 · 他们都在问作者（AI 问答滚动区）
 * ============================================================ */
.rd-aifeed {
  position: relative;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #eef2f7;
  box-shadow: 0 1px 3px rgba(15,23,42,.04);
  padding: 22px 24px 16px;
  margin-bottom: 28px;
  overflow: hidden;
}
.rd-aifeed::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #7c3aed, #06b6d4);
}
.rd-aifeed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.rd-aifeed-head-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.rd-aifeed-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7c3aed, #2563eb);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .5px;
  box-shadow: 0 2px 8px rgba(124,58,237,.3);
}
.rd-aifeed-head h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -.01em;
}
.rd-aifeed-sub {
  margin: 0;
  font-size: 12.5px;
  color: #94a3b8;
}

.rd-aifeed-viewport {
  height: 264px;          /* 3 × 88 */
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  border-radius: 12px;
  background: linear-gradient(180deg, #fafbff 0%, #f8fafc 100%);
  border: 1px solid #f1f5f9;
  scrollbar-width: none;
  -ms-overflow-style: none;
  position: relative;
  overscroll-behavior: contain;
}
.rd-aifeed-viewport::-webkit-scrollbar { width: 0; height: 0; display: none; }

.rd-aifeed-list { list-style: none; margin: 0; padding: 0; }
.rd-aifeed-item {
  height: 88px;
  border-bottom: 1px solid #f1f5f9;
}
.rd-aifeed-item:last-child { border-bottom: 0; }
.rd-aifeed-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: 100%;
  padding: 10px 16px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: background .15s;
}
.rd-aifeed-btn:hover { background: #eff6ff; }
.rd-aifeed-btn:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: -2px;
}
.rd-aifeed-avatar {
  flex-shrink: 0;
  width: 44px;
  height: 58px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(99,102,241,.22);
}
.rd-aifeed-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rd-aifeed-body { flex: 1; min-width: 0; }
.rd-aifeed-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 4px;
}
.rd-aifeed-book {
  color: #2563eb;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 70%;
}
.rd-aifeed-time {
  flex-shrink: 0;
  font-family: ui-monospace, Menlo, Consolas, monospace;
}
.rd-aifeed-q {
  font-size: 13.5px;
  line-height: 1.55;
  color: #1e293b;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}
.rd-aifeed-arrow {
  flex-shrink: 0;
  font-size: 15px;
  color: #cbd5e1;
  transition: color .15s, transform .15s;
}
.rd-aifeed-btn:hover .rd-aifeed-arrow {
  color: #2563eb;
  transform: translateX(2px);
}

.rd-aifeed-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  font-size: 12.5px;
  color: #94a3b8;
}
.rd-aifeed-more {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
}
.rd-aifeed-more:hover { text-decoration: underline; }

/* 弹窗 */
.rd-aifeed-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.rd-aifeed-modal[hidden] { display: none; }
.rd-aifeed-modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.rd-aifeed-modal-box {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: 86vh;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(15,23,42,.28);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.rd-aifeed-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid #eef2f7;
  background: linear-gradient(135deg, #fafbff, #f5f7ff);
  flex-shrink: 0;
}
.rd-aifeed-modal-title {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}
.rd-aifeed-modal-book {
  margin: 0;
  font-size: 12.5px;
  color: #2563eb;
  font-weight: 600;
}
.rd-aifeed-modal-close {
  background: none;
  border: 0;
  font-size: 24px;
  color: #94a3b8;
  cursor: pointer;
  padding: 0 6px;
  line-height: 1;
  border-radius: 6px;
}
.rd-aifeed-modal-close:hover { background: #eef2f7; color: #334155; }
.rd-aifeed-modal-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 22px;
}
.rd-aifeed-modal-q {
  display: flex;
  gap: 10px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #eff6ff, #f5f3ff);
  border-radius: 12px;
  margin-bottom: 16px;
  border: 1px solid #e0e7ff;
}
.rd-aifeed-q-label,
.rd-aifeed-a-label {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rd-aifeed-q-label { background: linear-gradient(135deg, #2563eb, #7c3aed); }
.rd-aifeed-a-label { background: linear-gradient(135deg, #10b981, #06b6d4); }
.rd-aifeed-modal-q p {
  margin: 0;
  font-size: 14.5px;
  color: #0f172a;
  line-height: 1.7;
  font-weight: 500;
  word-break: break-word;
}
.rd-aifeed-modal-a {
  display: flex;
  gap: 10px;
  padding: 14px 16px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eef2f7;
}
.rd-aifeed-modal-a-content {
  flex: 1;
  font-size: 14px;
  color: #334155;
  line-height: 1.85;
  white-space: pre-wrap;
  word-break: break-word;
}
.rd-aifeed-modal-a-content.is-error { color: #dc2626; }

@media (max-width: 640px) {
  .rd-aifeed { padding: 18px 16px 14px; }
  .rd-aifeed-head h2 { font-size: 15.5px; }
  .rd-aifeed-sub { font-size: 12px; }
  .rd-aifeed-btn { padding: 10px 12px; gap: 10px; }
  .rd-aifeed-avatar { width: 40px; height: 52px; }
  .rd-aifeed-q { font-size: 13px; }
  .rd-aifeed-modal { padding: 12px; }
  .rd-aifeed-modal-box { max-height: 92vh; }
  .rd-aifeed-modal-body { padding: 16px; }
}

/* 尊重系统"减少动效"偏好 */
@media (prefers-reduced-motion: reduce) {
  .rd-aifeed-viewport { scroll-behavior: auto; }
}

/* ============================================================
 * 首页 · 导航条（左栏目 · 右搜索，2026-10）
 * ============================================================ */
.rd-navbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(15,23,42,.04);
  margin-bottom: 22px;
  flex-wrap: nowrap;
}
.rd-navbar-cats {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}
.rd-navbar-cats::-webkit-scrollbar { width: 0; height: 0; display: none; }

.rd-nav-chip {
  flex-shrink: 0;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.4;
  transition: background .15s, color .15s, box-shadow .15s, border-color .15s;
}
.rd-nav-chip:hover {
  background: #eff6ff;
  color: #2563eb;
  text-decoration: none;
}
.rd-nav-chip.active {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 3px 10px rgba(37,99,235,.25);
}

.rd-navbar-search {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: 200px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 0 4px 0 30px;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.rd-navbar-search:focus-within {
  background: #fff;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.rd-navbar-search .rd-nav-search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  opacity: .55;
  pointer-events: none;
}
.rd-navbar-search input[type="text"] {
  flex: 1;
  min-width: 0;
  border: 0 !important;
  background: transparent !important;
  padding: 7px 4px;
  font-size: 13px;
  outline: none;
  box-shadow: none !important;
  color: #0f172a;
}
.rd-navbar-search input[type="text"]::placeholder {
  color: #94a3b8;
  font-size: 12.5px;
}
.rd-navbar-search button[type="submit"] {
  border: 0;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 2px 6px rgba(37,99,235,.25);
}
.rd-navbar-search button[type="submit"]:hover {
  transform: scale(1.08);
  box-shadow: 0 3px 10px rgba(37,99,235,.35);
}

@media (max-width: 640px) {
  .rd-navbar { padding: 8px 10px; gap: 8px; border-radius: 12px; }
  .rd-navbar-search { width: 132px; padding-left: 26px; }
  .rd-navbar-search .rd-nav-search-icon { left: 8px; font-size: 12px; }
  .rd-navbar-search input[type="text"] { font-size: 12.5px; padding: 6px 2px; }
  .rd-navbar-search input[type="text"]::placeholder { font-size: 12px; }
  .rd-navbar-search button[type="submit"] { width: 24px; height: 24px; }
  .rd-nav-chip { padding: 5px 12px; font-size: 12.5px; }
}

/* ============================================================
 * AI 问答区 · 副标题动态图标（三点跳动）
 * ============================================================ */
.rd-aifeed-sub {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 12.5px;
  color: #94a3b8;
  line-height: 1.5;
}
.rd-aifeed-live {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}
.rd-aifeed-live i {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #2563eb);
  animation: rdAiLiveDot 1.2s ease-in-out infinite;
  will-change: transform, opacity;
}
.rd-aifeed-live i:nth-child(2) { animation-delay: .2s; }
.rd-aifeed-live i:nth-child(3) { animation-delay: .4s; }

@keyframes rdAiLiveDot {
  0%, 60%, 100% { transform: translateY(0); opacity: .45; }
  30%           { transform: translateY(-4px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .rd-aifeed-live i { animation: none; opacity: 1; }
}

/* ============================================================
 * 导航搜索 · SVG 图标对齐（2026-10，覆盖旧字符/emoji 样式）
 * ============================================================ */
.rd-navbar-search .rd-nav-search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  color: #94a3b8;
  opacity: 1;              /* 覆盖旧 span 的 opacity:.55 */
  pointer-events: none;
  display: block;
  flex-shrink: 0;
  transition: color .15s;
}
.rd-navbar-search:focus-within .rd-nav-search-icon {
  color: #2563eb;
}

.rd-navbar-search button[type="submit"] {
  font-size: 0;            /* 覆盖旧字符尺寸，避免残留基线偏移 */
  line-height: 0;
}
.rd-navbar-search button[type="submit"] svg {
  width: 12px;
  height: 12px;
  display: block;
  pointer-events: none;
}

@media (max-width: 640px) {
  .rd-navbar-search .rd-nav-search-icon {
    left: 8px;
    width: 13px;
    height: 13px;
  }
  .rd-navbar-search button[type="submit"] svg {
    width: 11px;
    height: 11px;
  }
}

/* ============================================================
 * 首页 · 他们都在问作者（美化版）
 * ============================================================ */
.rd-aifeed {
  position: relative;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #eef2f7;
  box-shadow: 0 4px 20px rgba(15,23,42,.04);
  padding: 22px 24px 16px;
  margin-bottom: 28px;
  overflow: hidden;
}
.rd-aifeed::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #7c3aed, #06b6d4);
}
.rd-aifeed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.rd-aifeed-head-left { display: flex; align-items: center; gap: 10px; }
.rd-aifeed-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7c3aed, #2563eb);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .5px;
  box-shadow: 0 2px 8px rgba(124,58,237,.3);
}
.rd-aifeed-head h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -.01em;
}
.rd-aifeed-sub {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 12.5px;
  color: #94a3b8;
}
.rd-aifeed-live { display: inline-flex; align-items: center; gap: 3px; flex-shrink: 0; }
.rd-aifeed-live i {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #2563eb);
  animation: rdAiLiveDot 1.2s ease-in-out infinite;
}
.rd-aifeed-live i:nth-child(2) { animation-delay: .2s; }
.rd-aifeed-live i:nth-child(3) { animation-delay: .4s; }
@keyframes rdAiLiveDot {
  0%, 60%, 100% { transform: translateY(0); opacity: .45; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* 滚动视窗 */
.rd-aifeed-viewport {
  height: 264px;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  border-radius: 12px;
  background: linear-gradient(180deg, #fafbff 0%, #f8fafc 100%);
  border: 1px solid #f1f5f9;
  padding: 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  position: relative;
}
.rd-aifeed-viewport::-webkit-scrollbar { display: none; }

.rd-aifeed-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.rd-aifeed-item { height: 78px; }
.rd-aifeed-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: 100%;
  padding: 8px 12px;
  border: 1px solid transparent;
  background: transparent;
  text-align: left;
  cursor: pointer;
  border-radius: 10px;
  font: inherit;
  color: inherit;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.rd-aifeed-btn:hover {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 12px rgba(15,23,42,.04);
  transform: translateY(-1px);
}
.rd-aifeed-avatar {
  flex-shrink: 0;
  width: 44px;
  height: 58px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(99,102,241,.22);
  border: 1px solid rgba(255,255,255,0.2);
}
.rd-aifeed-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

.rd-aifeed-body { flex: 1; min-width: 0; }
.rd-aifeed-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 5px;
}
.rd-aifeed-book {
  color: #2563eb;
  font-weight: 600;
  background: #eff6ff;
  padding: 1px 8px;
  border-radius: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 70%;
  font-size: 11.5px;
}
.rd-aifeed-time {
  flex-shrink: 0;
  font-family: ui-monospace, Menlo, Consolas, monospace;
}
.rd-aifeed-q {
  font-size: 13.5px;
  line-height: 1.55;
  color: #1e293b;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

/* ★ 美化后的箭头 */
.rd-aifeed-arrow {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #94a3b8;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.rd-aifeed-arrow svg { width: 14px; height: 14px; }
.rd-aifeed-btn:hover .rd-aifeed-arrow {
  background: #2563eb;
  color: #fff;
  transform: translateX(2px);
}

@media (max-width: 640px) {
  .rd-aifeed { padding: 18px 16px 14px; }
  .rd-aifeed-head h2 { font-size: 15.5px; }
  .rd-aifeed-sub { font-size: 12px; }
  .rd-aifeed-btn { padding: 8px 10px; gap: 10px; }
  .rd-aifeed-avatar { width: 40px; height: 52px; }
  .rd-aifeed-q { font-size: 13px; }
  .rd-aifeed-arrow { width: 24px; height: 24px; }
  .rd-aifeed-arrow svg { width: 12px; height: 12px; }
}