/* ============ 公考面试题库 - 样式 ============ */
:root {
  --primary: #2b5cf6;
  --primary-dark: #1e46d0;
  --primary-light: #eef2ff;
  --primary-bg: #f5f7ff;
  --success: #16a34a;
  --warning: #f59e0b;
  --danger: #dc2626;
  --text: #1f2937;
  --text-2: #6b7280;
  --text-3: #9ca3af;
  --border: #e5e7eb;
  --bg: #f7f8fa;
  --card: #ffffff;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(0,0,0,.06), 0 4px 14px rgba(0,0,0,.05);
  --shadow-lg: 0 8px 30px rgba(0,0,0,.12);
  --vip: #b8860b;
  --vip-bg: #fff8e6;
}
* { margin:0; padding:0; box-sizing:border-box; }
html { -webkit-text-size-adjust:100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--text); background: var(--bg); font-size:14px; line-height:1.6;
}
a { color: var(--primary); text-decoration:none; }
a:hover { color: var(--primary-dark); }
img { max-width:100%; }
button { font-family: inherit; }
input, select, textarea { font-family: inherit; font-size:14px; color:var(--text); }
.container { max-width: 1180px; margin: 0 auto; padding: 0 16px; }

/* ---------- 顶部导航 ---------- */
.site-header { background:#fff; border-bottom:1px solid var(--border); position:sticky; top:0; z-index:100; }
.site-header .inner { display:flex; align-items:center; gap:24px; height:60px; }
.logo { display:flex; align-items:center; gap:8px; font-size:19px; font-weight:700; color:var(--text); cursor:pointer; white-space:nowrap; }
.logo .mark { width:32px; height:32px; border-radius:8px; background:linear-gradient(135deg,#2b5cf6,#7c3aed); color:#fff; display:flex; align-items:center; justify-content:center; font-size:16px; }
.main-nav { display:flex; gap:4px; }
.main-nav a { padding:8px 14px; border-radius:8px; color:var(--text-2); font-weight:500; }
.main-nav a:hover { background:var(--primary-light); color:var(--primary); }
.main-nav a.active { background:var(--primary-light); color:var(--primary); font-weight:600; }
.header-right { margin-left:auto; display:flex; align-items:center; gap:12px; }
.search-box { display:flex; align-items:center; background:var(--bg); border:1px solid var(--border); border-radius:20px; padding:5px 12px; gap:6px; width:220px; }
.search-box input { border:none; outline:none; background:transparent; flex:1; min-width:0; }
.search-box .icon { color:var(--text-3); }
.user-menu { position:relative; }
.user-menu .avatar-btn { display:flex; align-items:center; gap:8px; cursor:pointer; padding:5px 8px; border-radius:8px; }
.user-menu .avatar-btn:hover { background:var(--primary-light); }
.avatar { width:32px; height:32px; border-radius:50%; background:linear-gradient(135deg,#2b5cf6,#60a5fa); color:#fff; display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:600; }
.dropdown { position:absolute; right:0; top:calc(100% + 6px); background:#fff; border:1px solid var(--border); border-radius:10px; box-shadow:var(--shadow-lg); min-width:160px; padding:6px; display:none; z-index:120; }
.user-menu.open .dropdown { display:block; }
.dropdown a, .dropdown .dd-item { display:block; padding:8px 12px; border-radius:6px; color:var(--text); cursor:pointer; }
.dropdown a:hover, .dropdown .dd-item:hover { background:var(--primary-light); color:var(--primary); }
.vip-badge { display:inline-block; background:linear-gradient(135deg,#f7c948,#f59e0b); color:#7c4a03; font-size:11px; font-weight:700; padding:1px 7px; border-radius:10px; }

/* ---------- 按钮 ---------- */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:6px; padding:8px 18px; border-radius:8px; border:1px solid transparent; cursor:pointer; font-size:14px; font-weight:500; transition:.15s; white-space:nowrap; line-height:1.5; }
.btn-primary { background:var(--primary); color:#fff; }
.btn-primary:hover { background:var(--primary-dark); }
.btn-outline { border-color:var(--border); background:#fff; color:var(--text); }
.btn-outline:hover { border-color:var(--primary); color:var(--primary); }
.btn-ghost { color:var(--primary); background:transparent; }
.btn-danger { background:var(--danger); color:#fff; }
.btn-danger-outline { border-color:#fca5a5; background:#fff; color:var(--danger); }
.btn-success { background:var(--success); color:#fff; }
.btn-warning { background:var(--warning); color:#fff; }
.btn-vip { background:linear-gradient(135deg,#f7c948,#f59e0b); color:#7c4a03; font-weight:600; }
.btn-sm { padding:4px 10px; font-size:12px; border-radius:6px; }
.btn-lg { padding:12px 28px; font-size:16px; }
.btn-block { width:100%; }
.btn:disabled { opacity:.5; cursor:not-allowed; }

/* ---------- 卡片 ---------- */
.card { background:var(--card); border-radius:var(--radius); border:1px solid var(--border); box-shadow:var(--shadow); overflow:hidden; min-width:0; }
.card-hover { transition:.18s; cursor:pointer; }
.card-hover:hover { transform:translateY(-2px); box-shadow:var(--shadow-lg); border-color:#c7d2fe; }

/* ---------- 标签 ---------- */
.tag { display:inline-flex; align-items:center; padding:1px 9px; border-radius:5px; font-size:12px; font-weight:500; white-space:nowrap; }
.tag-blue { background:#e0e7ff; color:#3730a3; }
.tag-green { background:#dcfce7; color:#166534; }
.tag-orange { background:#ffedd5; color:#9a3412; }
.tag-red { background:#fee2e2; color:#991b1b; }
.tag-teal { background:#ccfbf1; color:#115e59; }
.tag-purple { background:#f3e8ff; color:#6b21a8; }
.tag-pink { background:#fce7f3; color:#9d174d; }
.tag-gray { background:#f3f4f6; color:#4b5563; }
.tag-gold { background:var(--vip-bg); color:var(--vip); }
.tag-cyan { background:#cffafe; color:#155e75; }
.tag-yellow { background:#fef9c3; color:#854d0e; }

/* ---------- 表单 ---------- */
.form-item { margin-bottom:16px; }
.form-item label { display:block; font-weight:500; margin-bottom:6px; }
.form-item label .req { color:var(--danger); margin-left:2px; }
.input, .select, .textarea { width:100%; padding:8px 12px; border:1px solid var(--border); border-radius:8px; outline:none; background:#fff; transition:.15s; }
.input:focus, .select:focus, .textarea:focus { border-color:var(--primary); box-shadow:0 0 0 3px rgba(43,92,246,.12); }
.textarea { resize:vertical; min-height:90px; }
.form-row { display:flex; gap:14px; }
.form-row .form-item { flex:1; }
.form-hint { font-size:12px; color:var(--text-3); margin-top:4px; }
.form-error { font-size:12px; color:var(--danger); margin-top:4px; }

/* ---------- 页面通用 ---------- */
.page { padding:24px 0 60px; }
.page-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:18px; flex-wrap:wrap; gap:10px; }
.page-title { font-size:22px; font-weight:700; }
.page-sub { color:var(--text-2); font-size:13px; margin-top:2px; }
.breadcrumb { font-size:13px; color:var(--text-3); margin-bottom:14px; }
.breadcrumb a { color:var(--text-2); }
.breadcrumb .sep { margin:0 6px; }

/* ---------- 首页 ---------- */
.hero { background:linear-gradient(120deg,#1e3a8a 0%, #2b5cf6 55%, #7c3aed 100%); border-radius:16px; color:#fff; padding:46px 40px; margin-top:24px; position:relative; overflow:hidden; }
.hero::after { content:"题"; position:absolute; right:40px; top:50%; transform:translateY(-50%); font-size:150px; font-weight:900; color:rgba(255,255,255,.08); }
.hero h1 { font-size:30px; margin-bottom:12px; }
.hero p { opacity:.85; margin-bottom:22px; max-width:520px; }
.hero .hero-actions { display:flex; gap:12px; }
.banner-carousel { position:relative; border-radius:14px; overflow:hidden; margin-top:22px; height:200px; background:linear-gradient(120deg,#312e81,#6d28d9); color:#fff; }
.banner-carousel .slide { position:absolute; inset:0; display:flex; align-items:center; padding:0 48px; opacity:0; transition:opacity .6s; }
.banner-carousel .slide.active { opacity:1; }
.banner-carousel h3 { font-size:24px; margin-bottom:8px; }
.banner-carousel .dots { position:absolute; bottom:12px; right:16px; display:flex; gap:6px; }
.banner-carousel .dots i { width:8px; height:8px; border-radius:50%; background:rgba(255,255,255,.4); cursor:pointer; }
.banner-carousel .dots i.active { background:#fff; }
.stat-band { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-top:22px; }
.stat-band .item { background:#fff; border:1px solid var(--border); border-radius:12px; padding:18px 20px; box-shadow:var(--shadow); }
.stat-band .num { font-size:26px; font-weight:800; color:var(--primary); }
.stat-band .lbl { color:var(--text-2); font-size:13px; margin-top:2px; }
.section { margin-top:36px; }
.section-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; }
.section-title { font-size:18px; font-weight:700; display:flex; align-items:center; gap:8px; }
.section-title::before { content:""; width:4px; height:18px; background:var(--primary); border-radius:2px; }
.more-link { font-size:13px; font-weight:400; color:var(--primary); text-decoration:none; margin-left:4px; }
.more-link:hover { text-decoration:underline; }
.quick-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:16px; }
.quick-item { background:#fff; border:1px solid var(--border); border-radius:12px; padding:22px; text-align:center; cursor:pointer; transition:.18s; box-shadow:var(--shadow); }
.quick-item:hover { transform:translateY(-3px); box-shadow:var(--shadow-lg); border-color:#c7d2fe; }
.quick-item .ico { width:48px; height:48px; border-radius:12px; margin:0 auto 10px; display:flex; align-items:center; justify-content:center; font-size:22px; }
.quick-item .t { font-weight:600; }
.quick-item .d { font-size:12px; color:var(--text-3); margin-top:3px; }
.distro { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.distro .card { padding:18px; }
.bar-row { display:flex; align-items:center; gap:10px; margin-bottom:8px; font-size:12px; }
.bar-row .name { width:60px; text-align:right; color:var(--text-2); flex-shrink:0; }
.bar-row .bar { flex:1; height:14px; background:var(--bg); border-radius:7px; overflow:hidden; }
.bar-row .bar i { display:block; height:100%; background:linear-gradient(90deg,#2b5cf6,#60a5fa); border-radius:7px; }
.bar-row .val { width:52px; color:var(--text-2); flex-shrink:0; }
.mat-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }

/* ---------- 素材卡片 ---------- */
.mat-card { padding:18px; display:flex; flex-direction:column; gap:8px; }
.mat-card .title { font-weight:600; font-size:15px; line-height:1.5; }
.mat-card .summary { color:var(--text-2); font-size:13px; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.mat-card .foot { display:flex; justify-content:space-between; align-items:center; color:var(--text-3); font-size:12px; }

/* ---------- 筛选区 ---------- */
.filter-bar { background:#fff; border:1px solid var(--border); border-radius:12px; padding:16px 18px; margin-bottom:16px; box-shadow:var(--shadow); }
.filter-row { display:flex; align-items:center; gap:10px; margin-bottom:10px; flex-wrap:wrap; }
.filter-row:last-child { margin-bottom:0; }
.filter-row .fl { width:74px; color:var(--text-2); font-size:13px; flex-shrink:0; }
.chips { display:flex; gap:8px; flex-wrap:wrap; }
.chip { padding:3px 12px; border-radius:16px; border:1px solid var(--border); background:#fff; cursor:pointer; font-size:13px; color:var(--text-2); }
.chip:hover { border-color:var(--primary); color:var(--primary); }
.chip.active { background:var(--primary); border-color:var(--primary); color:#fff; }
.selected-tags { display:flex; gap:8px; flex-wrap:wrap; margin-top:12px; padding-top:12px; border-top:1px dashed var(--border); }
.selected-tags .stag { display:inline-flex; align-items:center; gap:6px; background:var(--primary-light); color:var(--primary); padding:3px 10px; border-radius:6px; font-size:12px; }
.selected-tags .stag b { cursor:pointer; font-weight:400; }
.selected-tags .stag b:hover { color:var(--danger); }

/* ---------- 题目列表 ---------- */
.q-card { padding:16px 18px; margin-bottom:12px; position:relative; }

/* ==================== 单题练习：左右分栏 ==================== */
.qp-layout { display:flex; gap:16px; align-items:flex-start; }
.qp-side { width:252px; flex-shrink:0; background:#fff; border:1px solid var(--border); border-radius:12px; padding:14px; box-shadow:var(--shadow); position:sticky; top:72px; max-height:calc(100vh - 88px); overflow-y:auto; }
.qp-side-title { font-size:14px; font-weight:600; margin-bottom:12px; padding-bottom:10px; border-bottom:1px solid var(--border); }
.qp-row { display:flex; gap:8px; margin-bottom:14px; align-items:flex-start; }
.qp-row:last-child { margin-bottom:0; }
.qp-row .fl { width:62px; color:var(--text-2); font-size:13px; flex-shrink:0; line-height:32px; }
.qp-ctrl { flex:1; min-width:0; }
.qp-select { width:100%; box-sizing:border-box; }
.qp-chips { gap:6px; }
.qp-chips .chip { padding:2px 10px; font-size:12px; }
/* 折叠筛选行（题型/招考类型）：默认收起，点击标题展开 */
.qp-fold { display:block; border:1px solid var(--border); border-radius:8px; padding:6px 10px; }
.qp-fold-head { display:flex; align-items:center; gap:6px; cursor:pointer; user-select:none; }
.qp-fold-head:hover .fl { color:var(--primary); }
.qp-fold-head .fl { width:auto; line-height:28px; }
.qp-fold-info { flex:1; min-width:0; display:flex; align-items:center; gap:6px; }
.qp-fold-badge { background:var(--primary); color:#fff; border-radius:10px; padding:1px 8px; font-size:11px; line-height:18px; white-space:nowrap; }
.qp-fold-arrow { color:var(--text-3); font-size:12px; transition:transform .18s; flex-shrink:0; }
.qp-fold-body { display:none; margin-top:8px; }
.qp-fold.open .qp-fold-body { display:block; }
.qp-fold.open .qp-fold-arrow { transform:rotate(90deg); }
.qp-fold.open .qp-fold-head { padding-bottom:6px; border-bottom:1px dashed var(--border); }
.qp-main { flex:1; min-width:0; }
.qp-count { background:#fff; border:1px solid var(--border); border-radius:10px; padding:10px 16px; margin-bottom:12px; color:var(--text-2); font-size:13px; box-shadow:var(--shadow); }
.qp-count b { color:var(--primary); font-size:15px; }
@media (max-width:1000px) {
  .qp-layout { flex-direction:column; }
  .qp-side { width:100%; position:static; max-height:none; overflow:visible; }
}

.q-card .meta { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:8px; }
.q-card .content { color:var(--text); line-height:1.7; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.q-card .content .kw { background:#fef08a; border-radius:3px; padding:0 2px; }
.q-card .foot { display:flex; justify-content:space-between; align-items:center; margin-top:10px; color:var(--text-3); font-size:12px; }
.fav-btn { cursor:pointer; font-size:16px; color:var(--text-3); background:none; border:none; }
.fav-btn.on { color:#f59e0b; }
.list-toolbar { display:flex; justify-content:space-between; align-items:center; margin-bottom:12px; flex-wrap:wrap; gap:10px; }
.empty-state { text-align:center; padding:60px 20px; color:var(--text-3); }
.empty-state .ico { font-size:52px; margin-bottom:12px; opacity:.5; }

/* ---------- 分页 ---------- */
.pagination { display:flex; justify-content:center; align-items:center; gap:6px; margin-top:20px; flex-wrap:wrap; }
.pagination button { min-width:32px; height:32px; border:1px solid var(--border); background:#fff; border-radius:6px; cursor:pointer; color:var(--text-2); padding:0 8px; }
.pagination button.cur { background:var(--primary); border-color:var(--primary); color:#fff; }
.pagination button:disabled { opacity:.4; cursor:not-allowed; }
.page-info { color:var(--text-3); font-size:13px; margin:0 6px; }

/* ---------- 题目详情 ---------- */
.detail-grid { display:grid; grid-template-columns:1fr 300px; gap:16px; align-items:start; }
.detail-main { padding:24px; }
.detail-side .card { padding:18px; margin-bottom:14px; }
.kv { display:flex; margin-bottom:10px; font-size:13px; }
.kv .k { width:80px; color:var(--text-3); flex-shrink:0; }
.kv .v { color:var(--text); }
.q-content-text { font-size:15px; line-height:1.9; white-space:pre-wrap; background:var(--primary-bg); border-radius:10px; padding:18px 20px; margin:14px 0; }
.q-material-box { border:1px solid #c7d2fe; border-radius:10px; overflow:hidden; margin:0 0 14px; background:#f0f4ff; }
.q-material-box .qm-head { display:flex; align-items:center; justify-content:space-between; background:#e0e7ff; padding:8px 16px; border-bottom:1px solid #c7d2fe; }
.q-material-box .qm-head span { font-weight:600; color:#3730a3; font-size:13px; }
.q-material-box .qm-body { padding:14px 18px; font-size:14px; line-height:1.8; }
.q-material-box .qm-body h2 { font-size:16px; margin:10px 0 6px; }
.q-material-box .qm-body p { margin:6px 0; }
.q-material-box .qm-body blockquote { border-left:3px solid #818cf8; padding:4px 12px; margin:8px 0; color:#4338ca; background:rgba(255,255,255,.6); border-radius:0 6px 6px 0; }
.q-material-box .qm-body ul, .q-material-box .qm-body ol { padding-left:20px; margin:6px 0; }
.q-note-box { border:1px solid #fde68a; border-radius:10px; overflow:hidden; margin:0 0 14px; background:#fffbeb; }
.q-note-box .qn-head { display:flex; align-items:center; background:#fef3c7; padding:7px 16px; border-bottom:1px solid #fde68a; }
.q-note-box .qn-head span { font-weight:600; color:#92400e; font-size:13px; }
.q-note-box .qn-body { padding:10px 18px; font-size:13px; line-height:1.8; color:var(--text-2); white-space:pre-wrap; }
.q-note-box .qn-body b { color:#92400e; }
/* 刷题页补充信息：折叠式紧凑小条 */
.q-note-fold { border:1px solid #fde68a; border-radius:8px; background:#fffbeb; margin:0 0 12px; font-size:12px; }
.q-note-fold summary { list-style:none; cursor:pointer; padding:4px 12px; color:#92400e; font-weight:600; display:flex; align-items:center; gap:4px; user-select:none; }
.q-note-fold summary::-webkit-details-marker { display:none; }
.q-note-fold summary::after { content:"▸"; margin-left:auto; color:#b45309; transition:transform .15s; font-size:11px; }
.q-note-fold[open] summary::after { transform:rotate(90deg); }
.q-note-fold[open] summary { border-bottom:1px dashed #fde68a; margin-bottom:2px; }
.q-note-fold .qf-body { padding:4px 12px 8px; color:var(--text-2); line-height:1.7; }
.q-note-fold .qf-body b { color:#92400e; }
.q-note-fold .qf-body > div + div { margin-top:2px; }
.rich-text { line-height:1.8; overflow-wrap:break-word; word-break:break-all; }
.rich-text h2 { font-size:16px; margin:10px 0 6px; font-weight:600; }
.rich-text p { margin:6px 0; }
.rich-text img { max-width:100%; height:auto; border-radius:8px; margin:6px 0; }
.rich-text pre, .rich-text code { max-width:100%; white-space:pre-wrap; word-break:break-all; }
.rich-text blockquote { border-left:3px solid var(--primary); padding:4px 12px; margin:8px 0; color:var(--text-2); }
.rich-text ul, .rich-text ol { padding-left:20px; margin:6px 0; }
.rich-text ul li, .rich-text ol li { margin:3px 0; }
.rich-text table { border-collapse:collapse; margin:8px 0; }
.rich-text table td, .rich-text table th { border:1px solid var(--border); padding:5px 10px; }
/* 分享详情页内容：避免中英文混排时 word-break:break-all 导致的"乱码断字"；长链接仍可换行 */
.share-content-text { word-break: keep-all; overflow-wrap: anywhere; line-height: 1.85; }
.share-content-text p { margin:8px 0; }
/* VIP 折叠块内的富文本排版收紧 */
.vb-body.rich-text p:first-child, .vb-body.rich-text h2:first-child, .vb-body.rich-text blockquote:first-child, .vb-body.rich-text ul:first-child, .vb-body.rich-text ol:first-child { margin-top:0; }
.vb-body.rich-text p:last-child, .vb-body.rich-text h2:last-child, .vb-body.rich-text blockquote:last-child, .vb-body.rich-text ul:last-child, .vb-body.rich-text ol:last-child { margin-bottom:0; }
.rte-toolbar { display:flex; gap:4px; flex-wrap:wrap; align-items:center; }
.rte-toolbar .btn { min-width:32px; text-align:center; }
.rte-editor { outline:none; }
.rte-editor:focus { border-color:var(--primary) !important; box-shadow:0 0 0 2px rgba(37,99,235,.1); }
.rte-editor img { max-width:100%; border-radius:8px; }
.vip-block { position:relative; margin-top:18px; border:1px solid var(--border); border-radius:10px; overflow:hidden; }
.vip-block .vb-head { display:flex; align-items:center; justify-content:space-between; background:#fbf9f4; padding:10px 16px; border-bottom:1px solid #f1e8d0; }
.vip-block .vb-head .t { font-weight:600; color:var(--vip); }
.vip-block .vb-body { padding:16px; }
.vip-mask { position:relative; }
.vip-mask .vb-body { filter:blur(6px); user-select:none; max-height:160px; overflow:hidden; }
.vip-mask .mask-cover { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; background:linear-gradient(180deg,rgba(255,255,255,.35),rgba(255,255,255,.9)); z-index:2; }
/* 作答思路/参考答案折叠：默认收起，单击标题展开 */
.vip-fold > summary.vb-head { cursor:pointer; user-select:none; border-bottom:none; }
.vip-fold > summary.vb-head::-webkit-details-marker { display:none; }
.vip-fold > summary.vb-head::after { content:"▸"; color:var(--vip); font-size:12px; transition:transform .15s; margin-left:auto; }
.vip-fold[open] > summary.vb-head { border-bottom:1px solid #f1e8d0; }
.vip-fold[open] > summary.vb-head::after { transform:rotate(90deg); }
.vip-fold .vb-fold-body { position:relative; }
.set-nav { display:flex; gap:8px; flex-wrap:wrap; }
.set-nav a { padding:4px 12px; border:1px solid var(--border); border-radius:16px; font-size:12px; color:var(--text-2); }
.set-nav a.cur { background:var(--primary); border-color:var(--primary); color:#fff; }
.detail-actions { display:flex; gap:10px; flex-wrap:wrap; margin-top:20px; padding-top:16px; border-top:1px solid var(--border); }

/* ---------- 登录页 ---------- */
.auth-wrap { min-height:calc(100vh - 60px); display:flex; align-items:center; justify-content:center; padding:30px 16px; background:linear-gradient(135deg,#eef2ff,#f5f3ff); }
.auth-card { width:400px; background:#fff; border-radius:16px; box-shadow:var(--shadow-lg); padding:34px 32px; }
.auth-tabs { display:flex; border-bottom:1px solid var(--border); margin-bottom:22px; }
.auth-tabs .tab { flex:1; text-align:center; padding:10px; cursor:pointer; color:var(--text-2); font-weight:500; border-bottom:2px solid transparent; }
.auth-tabs .tab.active { color:var(--primary); border-bottom-color:var(--primary); }
.sms-row { display:flex; gap:10px; }
.sms-row .input { flex:1; }
.qr-box { text-align:center; padding:10px 0; }
.qr-box .qr { width:180px; height:180px; margin:0 auto 12px; border:1px solid var(--border); border-radius:10px; display:flex; align-items:center; justify-content:center; background:#fafafa; }
.auth-foot { margin-top:18px; text-align:center; font-size:12px; color:var(--text-3); }
.demo-accounts { margin-top:16px; background:var(--bg); border-radius:10px; padding:12px; font-size:12px; color:var(--text-2); }
.demo-accounts .row { display:flex; justify-content:space-between; align-items:center; padding:4px 0; }

/* ---------- 答题页 ---------- */
.answer-layout { max-width:860px; margin:0 auto; }
.answer-head { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-bottom:14px; }
.answer-ops { margin-left:auto; display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.answer-ops .btn.on { color:#f59e0b; border-color:#f59e0b; background:#fffbeb; }
.answer-card { padding:24px; }

/* ---------- 我的收藏（分组tab） ---------- */
.fav-tabs { display:flex; gap:8px; margin-bottom:14px; border-bottom:1px solid var(--border); padding-bottom:0; }
.fav-tab { padding:8px 16px; cursor:pointer; font-weight:600; font-size:14px; color:var(--text-3); border-bottom:2px solid transparent; border-radius:6px 6px 0 0; }
.fav-tab:hover { background:var(--bg); }
.fav-tab.active { color:var(--primary); border-bottom-color:var(--primary); }
.fav-tab-body { margin-top:6px; }
.fav-group { margin-bottom:18px; }
.fav-group-title { display:flex; align-items:center; gap:10px; margin-bottom:10px; padding-left:2px; }
.recorder { margin-top:18px; border:1px solid var(--border); border-radius:12px; padding:22px; text-align:center; background:#fafbfc; }
.rec-timer { font-size:34px; font-weight:700; font-family:Consolas,monospace; margin:10px 0; }
.wave { display:flex; align-items:center; justify-content:center; gap:3px; height:40px; }
.wave i { width:4px; border-radius:2px; background:var(--primary); animation:wv 1s ease-in-out infinite; }
@keyframes wv { 0%,100% { height:6px; } 50% { height:32px; } }
.rec-actions { display:flex; gap:10px; justify-content:center; margin-top:14px; flex-wrap:wrap; }
.mode-switch { display:flex; background:var(--bg); border-radius:8px; padding:4px; margin-top:16px; }
.mode-switch .ms { flex:1; text-align:center; padding:8px; border-radius:6px; cursor:pointer; color:var(--text-2); }
.mode-switch .ms.active { background:#fff; color:var(--primary); font-weight:600; box-shadow:var(--shadow); }
.char-count { text-align:right; font-size:12px; color:var(--text-3); margin-top:4px; }

/* ---------- AI点评结果 ---------- */
.result-hero { text-align:center; padding:30px 0 10px; }
.score-ring { position:relative; width:150px; height:150px; margin:0 auto 12px; }
.score-ring svg { transform:rotate(-90deg); }
.score-ring .num { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; }
.score-ring .num b { font-size:34px; color:var(--primary); }
.score-ring .num span { font-size:12px; color:var(--text-3); }
.dim-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(140px,1fr)); gap:12px; margin:18px 0; }
.dim-item { background:var(--primary-bg); border-radius:10px; padding:12px; text-align:center; }
.dim-item .sc { font-size:20px; font-weight:700; color:var(--primary); }
.dim-item .nm { font-size:12px; color:var(--text-2); margin-top:2px; }
.review-box { border:1px solid var(--border); border-radius:10px; padding:16px 18px; line-height:1.8; }
.review-box h4 { margin:10px 0 6px; font-size:14px; }
.review-box h4.good { color:var(--success); }
.review-box h4.bad { color:var(--danger); }
.review-box h4.advice { color:var(--primary); }
.loading-ai { text-align:center; padding:70px 20px; }
.loading-ai .spinner { width:46px; height:46px; border:4px solid var(--primary-light); border-top-color:var(--primary); border-radius:50%; margin:0 auto 16px; animation:spin 0.9s linear infinite; }
@keyframes spin { to { transform:rotate(360deg); } }
.dot-flash span { animation:blink 1.4s infinite; }
.dot-flash span:nth-child(2){animation-delay:.2s} .dot-flash span:nth-child(3){animation-delay:.4s}
@keyframes blink { 0%,100%{opacity:.2} 50%{opacity:1} }

/* ---------- 套题导航 ---------- */
.q-nav-bar { display:flex; gap:8px; align-items:center; flex-wrap:wrap; margin-top:16px; padding-top:14px; border-top:1px solid var(--border); }
.q-nav-bar .qn { width:34px; height:34px; border-radius:50%; border:1px solid var(--border); display:flex; align-items:center; justify-content:center; cursor:pointer; background:#fff; color:var(--text-2); }
.q-nav-bar .qn.cur { background:var(--primary); border-color:var(--primary); color:#fff; }
.q-nav-bar .qn.done { background:var(--success); border-color:var(--success); color:#fff; }

/* ---------- 个人中心 ---------- */
.profile-layout { display:grid; grid-template-columns:220px 1fr; gap:16px; align-items:start; }
.profile-side .card { padding:20px 0; }
.profile-side .who { text-align:center; padding:0 16px 16px; border-bottom:1px solid var(--border); margin-bottom:8px; }
.profile-side .nav-item { display:flex; align-items:center; gap:10px; padding:10px 20px; color:var(--text-2); cursor:pointer; }
.profile-side .nav-item:hover { background:var(--primary-light); color:var(--primary); }
.profile-side .nav-item.active { background:var(--primary-light); color:var(--primary); font-weight:600; }
.table { width:100%; border-collapse:collapse; font-size:13px; }
.table th { text-align:left; padding:10px 12px; background:var(--bg); color:var(--text-2); font-weight:500; border-bottom:1px solid var(--border); white-space:nowrap; }
.table td { padding:10px 12px; border-bottom:1px solid var(--border); vertical-align:middle; }
.table tr:hover td { background:#fafbfd; }
.table .ops { display:flex; gap:6px; flex-wrap:wrap; }
.table .ops .link-btn { color:var(--primary); cursor:pointer; background:none; border:none; font-size:13px; padding:2px 4px; }
.table .ops .link-btn.danger { color:var(--danger); }
/* 紧凑表格（用于套题管理） */
.table-compact .table th { padding:6px 10px; font-size:12px; }
.table-compact .table td { padding:5px 10px; font-size:12.5px; line-height:1.5; }
/* 整行可点击：cursor 提示、hover 加深 */
.table .row-clickable { cursor:pointer; }
.table .row-clickable:hover td { background:#eef2ff; }
/* 图标按钮 */
.icon-btn { display:inline-flex; align-items:center; justify-content:center; width:26px; height:26px; border:1px solid var(--border); border-radius:6px; background:#fff; color:#475569; cursor:pointer; padding:0; transition:all .15s; }
.icon-btn:hover { background:var(--primary); color:#fff; border-color:var(--primary); }
.icon-btn.danger { color:#ef4444; border-color:#fecaca; }
.icon-btn.danger:hover { background:#ef4444; color:#fff; border-color:#ef4444; }
.icon-btn:focus { outline:2px solid #93c5fd; outline-offset:1px; }
.table-wrap { overflow-x:auto; }
/* Sticky-header table variant */
.table-wrap.sticky-head { max-height:calc(100vh - 300px); overflow:auto; border-radius:8px; border:1px solid var(--border); }
.table-wrap.sticky-head .table thead th { position:sticky; top:0; z-index:10; background:#f3f4f6; box-shadow:0 1px 0 var(--border); }
/* Column toggle dropdown */
.col-toggle-wrap { position:relative; }
.col-toggle-panel { position:absolute; top:100%; right:0; margin-top:6px; background:#fff; border:1px solid var(--border); border-radius:10px; box-shadow:0 8px 24px rgba(0,0,0,.12); padding:12px 14px; z-index:30; min-width:200px; }
.col-toggle-panel .ct-item { display:flex; align-items:center; gap:8px; padding:6px 0; cursor:pointer; font-size:13px; }
.col-toggle-panel .ct-item input { width:16px; height:16px; cursor:pointer; }
.col-toggle-panel .ct-title { font-weight:600; font-size:13px; color:var(--text-2); margin-bottom:6px; padding-bottom:6px; border-bottom:1px solid var(--border); }
/* Page-size selector */
.page-size-wrap { display:flex; align-items:center; gap:6px; font-size:13px; color:var(--text-3); }
.page-size-wrap select { width:auto; min-width:70px; }
/* Hidden column */
.col-hidden { display:none !important; }
.points-hero { text-align:center; padding:30px; background:linear-gradient(135deg,#1e3a8a,#2b5cf6); color:#fff; border-radius:12px; margin-bottom:16px; }
.points-hero .num { font-size:42px; font-weight:800; }
.sign-btn { margin-top:10px; }

/* ---------- VIP页 ---------- */
.plan-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin:24px 0; }
.plan-card { background:#fff; border:2px solid var(--border); border-radius:14px; padding:28px 24px; text-align:center; position:relative; transition:.18s; cursor:pointer; }
.plan-card:hover { border-color:#c7d2fe; }
.plan-card.selected { border-color:var(--primary); box-shadow:0 8px 24px rgba(43,92,246,.18); }
.plan-card .rec { position:absolute; top:-11px; left:50%; transform:translateX(-50%); background:linear-gradient(135deg,#f7c948,#f59e0b); color:#7c4a03; font-size:12px; font-weight:700; padding:2px 14px; border-radius:12px; }
.plan-card .price { font-size:36px; font-weight:800; color:var(--primary); margin:10px 0; }
.plan-card .price small { font-size:14px; font-weight:400; color:var(--text-3); }
.plan-card .per { color:var(--text-3); font-size:12px; }
.vip-benefits { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:12px; margin:16px 0 28px; }
.vip-benefits .b { display:flex; gap:10px; align-items:flex-start; background:#fff; border:1px solid var(--border); border-radius:10px; padding:14px; }
.vip-benefits .b .ico { font-size:20px; }

/* ---------- 后台 ---------- */
.admin-layout { display:flex; min-height:100vh; background:#f2f4f7; }
.admin-side { width:220px; background:#111827; color:#e5e7eb; flex-shrink:0; display:flex; flex-direction:column; position:sticky; top:0; height:100vh; overflow-y:auto; transition:width .25s ease; }
.admin-side.collapsed { width:64px; }
.admin-side.collapsed .brand { justify-content:center; padding:18px 10px 14px; }
.admin-side.collapsed .brand .txt,
.admin-side.collapsed .menu-group .g-title,
.admin-side.collapsed .menu-group a span,
.admin-side.collapsed .back-link .txt { display:none; }
.admin-side.collapsed .menu-group a { justify-content:center; padding-left:0; padding-right:0; border-left-color:transparent; }
.admin-side.collapsed .menu-group a.active { background:rgba(43,92,246,.35); }
.admin-side.collapsed .back-link { text-align:center; display:block; padding:12px 0; }
.admin-side .brand { display:flex; align-items:center; gap:8px; padding:18px 18px 14px; font-weight:700; font-size:16px; color:#fff; }
.admin-side .brand .mark { width:30px; height:30px; border-radius:8px; background:linear-gradient(135deg,#2b5cf6,#7c3aed); display:flex; align-items:center; justify-content:center; font-size:14px; }
.menu-group { margin-top:10px; }
.menu-group .g-title { padding:8px 18px 4px; font-size:11px; color:#6b7280; text-transform:uppercase; letter-spacing:1px; }
.menu-group a { display:flex; align-items:center; gap:10px; padding:9px 18px; color:#d1d5db; font-size:13.5px; border-left:3px solid transparent; }
.menu-group a:hover { background:rgba(255,255,255,.06); color:#fff; }
.menu-group a.active { background:rgba(43,92,246,.25); color:#fff; border-left-color:var(--primary); }
.admin-main { flex:1; min-width:0; display:flex; flex-direction:column; }
.admin-top { height:54px; background:#fff; border-bottom:1px solid var(--border); display:flex; align-items:center; padding:0 22px; gap:14px; position:sticky; top:0; z-index:50; }
.admin-top .crumb { color:var(--text-2); font-size:13px; }
.admin-top .right { margin-left:auto; display:flex; align-items:center; gap:16px; }
.sidebar-toggle { display:flex; align-items:center; justify-content:center; width:30px; height:30px; border:none; background:transparent; color:var(--text-2); cursor:pointer; border-radius:6px; font-size:16px; }
.sidebar-toggle:hover { background:var(--primary-light); color:var(--primary); }
#mobile-menu-btn { display:none; }
.admin-body { padding:22px; flex:1; }
.admin-card { background:#fff; border-radius:10px; border:1px solid var(--border); padding:18px; margin-bottom:16px; overflow:hidden; min-width:0; }

/* ---------- 题库字段维护 ---------- */
.fo-grid { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:14px; }
.fo-card { border:1px solid var(--border); border-radius:10px; padding:14px; background:var(--bg); }
.fo-head { display:flex; align-items:center; justify-content:space-between; font-weight:600; font-size:14px; margin-bottom:6px; }
.fo-hint { font-size:12px; color:var(--text-3); margin-bottom:10px; line-height:1.6; }
.fo-row { display:flex; gap:8px; align-items:center; margin-bottom:8px; }
.fo-row .fo-code { flex:0 0 38%; min-width:0; }
.fo-row .fo-val { flex:1 1 auto; min-width:0; }
.fo-row .fo-del { flex-shrink:0; }
@media (max-width:760px) { .fo-grid { grid-template-columns:1fr; } }

/* ---------- AI 拆解校对页：左表单 / 右原文对照 ---------- */
.ai-proof-layout { display:flex; gap:16px; align-items:flex-start; }
.ai-proof-main { flex:1; min-width:0; max-width:760px; }
.ai-proof-side { width:400px; flex-shrink:0; position:sticky; top:66px; }
.ai-proof-side .admin-card { margin-bottom:0; }
.ai-raw-text { white-space:pre-wrap; word-break:break-word; font-size:13px; line-height:1.9; color:var(--text-2); background:var(--bg); border-radius:8px; padding:12px 14px; max-height:calc(100vh - 220px); overflow-y:auto; }
@media (max-width:1279px) {
  .ai-proof-layout { flex-direction:column; }
  .ai-proof-main { max-width:none; }
  .ai-proof-side { width:100%; position:static; }
  .ai-raw-text { max-height:320px; }
}
.stat-cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:14px; margin-bottom:18px; }
.stat-cards .sc { background:#fff; border:1px solid var(--border); border-radius:10px; padding:16px 18px; }
.stat-cards .sc .v { font-size:24px; font-weight:800; }
.stat-cards .sc .l { color:var(--text-2); font-size:12px; margin-top:2px; }
.stat-cards .sc .delta { font-size:12px; margin-top:4px; }
.stat-cards .sc .delta.up { color:var(--danger); }
.stat-cards .sc .delta.down { color:var(--success); }
.stat-cards .sc.link { cursor:pointer; }
.stat-cards .sc.link:hover { border-color:var(--primary); }
.chart-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.chart-box svg { width:100%; height:auto; }
.status-dot { display:inline-block; width:8px; height:8px; border-radius:50%; margin-right:6px; }
.filter-inline { display:flex; gap:10px; flex-wrap:wrap; margin-bottom:14px; align-items:center; }
.filter-inline .input, .filter-inline .select { width:auto; min-width:130px; }
.badge { display:inline-block; padding:2px 10px; border-radius:12px; font-size:12px; }
.badge-gray { background:#f3f4f6; color:#4b5563; }
.badge-blue { background:#dbeafe; color:#1e40af; }
.badge-green { background:#dcfce7; color:#166534; }
.badge-orange { background:#ffedd5; color:#9a3412; }
.badge-red { background:#fee2e2; color:#991b1b; }
.badge-gold { background:var(--vip-bg); color:var(--vip); }

/* ---------- 弹窗/提示 ---------- */
#toast-root { position:fixed; top:74px; left:50%; transform:translateX(-50%); z-index:9999; display:flex; flex-direction:column; gap:10px; align-items:center; }
.toast { background:#111827; color:#fff; padding:10px 22px; border-radius:8px; box-shadow:var(--shadow-lg); animation:tin .25s; font-size:14px; display:flex; gap:8px; align-items:center; }
.toast.success { background:var(--success); }
.toast.error { background:var(--danger); }
.toast.warning { background:var(--warning); }
@keyframes tin { from { opacity:0; transform:translateY(-10px); } }
.modal-mask { position:fixed; inset:0; background:rgba(17,24,39,.5); z-index:999; display:flex; align-items:center; justify-content:center; padding:20px; animation:fin .2s; }
@keyframes fin { from { opacity:0; } }
.modal { background:#fff; border-radius:14px; width:480px; max-width:96vw; max-height:88vh; display:flex; flex-direction:column; box-shadow:var(--shadow-lg); animation:min .22s; }
.modal.wide { width:860px; }
@keyframes min { from { opacity:0; transform:translateY(14px) scale(.98); } }
.modal .m-head { display:flex; justify-content:space-between; align-items:center; padding:16px 20px; border-bottom:1px solid var(--border); font-weight:600; font-size:16px; }
.modal .m-head .x { cursor:pointer; color:var(--text-3); font-size:20px; line-height:1; }
.modal .m-body { padding:20px; overflow-y:auto; }
.modal .m-foot { padding:14px 20px; border-top:1px solid var(--border); display:flex; justify-content:flex-end; gap:10px; }

/* ---------- footer ---------- */
.site-footer { background:#111827; color:#9ca3af; padding:34px 0 26px; margin-top:30px; font-size:13px; }
.site-footer .cols { display:flex; justify-content:space-between; flex-wrap:wrap; gap:24px; }
.site-footer a { color:#d1d5db; }
.site-footer .cp { border-top:1px solid #1f2937; margin-top:22px; padding-top:16px; text-align:center; color:#6b7280; font-size:12px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1023px) {
  .stat-band, .quick-grid, .mat-grid { grid-template-columns:repeat(2,1fr); }
  .distro, .chart-grid, .detail-grid { grid-template-columns:1fr; }
  .plan-grid { grid-template-columns:1fr; max-width:420px; margin:24px auto; }
  .search-box { display:none; }
}
@media (max-width: 767px) {
  .main-nav { display:none; }
  .stat-band, .quick-grid, .mat-grid { grid-template-columns:1fr; }
  .form-row { flex-direction:column; gap:0; }
  .profile-layout { grid-template-columns:1fr; }
  .hero { padding:30px 22px; }
  .hero h1 { font-size:22px; }
  .header-right .btn { padding:6px 10px; }
  .admin-side { position:fixed; left:-240px; transition:transform .25s; z-index:200; width:220px !important; }
  .admin-side.show { transform:translateX(240px); }
  .admin-body { padding:14px; }
  .sidebar-toggle { display:none; }
  #mobile-menu-btn { display:flex; }
}
.mono { font-family:Consolas,Menlo,monospace; }
.muted { color:var(--text-3); }
.small { font-size:12px; }
.flex { display:flex; } .aic { align-items:center; } .jcb { justify-content:space-between; }
.gap8 { gap:8px; } .gap12 { gap:12px; } .mt8 { margin-top:8px; } .mt16 { margin-top:16px; } .mb16 { margin-bottom:16px; }
.ellipsis2 { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.ellipsis { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

/* ---------- 共享面试题 ---------- */
.share-list { display:grid; gap:14px; }
.share-card { background:#fff; border:1px solid var(--border); border-radius:12px; padding:16px 18px; cursor:pointer; transition:.15s; box-shadow:var(--shadow); }
.share-card:hover { border-color:var(--primary); box-shadow:0 4px 18px rgba(43,92,246,.12); }
.share-card .sc-head { display:flex; gap:10px; align-items:center; margin-bottom:10px; }
.share-card .sc-title { font-weight:600; font-size:15px; margin-bottom:6px; line-height:1.5; }
.share-card .sc-excerpt { color:var(--text-3); font-size:13px; line-height:1.7; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.share-card .sc-foot { display:flex; gap:18px; align-items:center; color:var(--text-3); font-size:13px; padding-top:10px; border-top:1px dashed var(--border); }
.share-card .sc-foot .liked { color:#ef4444; }
.cmt { display:flex; gap:10px; padding:12px 0; border-bottom:1px solid var(--border); }
.cmt-reply { margin-left:42px; padding:8px 0; }
.cmt-body { flex:1; }
.cmt-head { margin-bottom:4px; }
.cmt-head b { font-size:13px; }
.cmt-text { font-size:14px; line-height:1.7; color:var(--text-2); white-space:pre-wrap; word-break:break-word; }
.cmt-ops { margin-top:4px; }
.cmt-list { border-top:1px solid var(--border); }
.rte-editor:empty::before { content:attr(data-ph); color:#9ca3af; pointer-events:none; }

/* AI转写素材 */
.aiw-result-layout { max-width: 860px; }
.aiw-result-main { display: flex; flex-direction: column; gap: 0; }
.aiw-preview {
  line-height: 1.9; font-size: 14px; color: var(--text-2);
  max-height: 520px; overflow-y: auto; padding: 4px 0;
}
.aiw-preview h2 { font-size: 17px; font-weight: 700; margin: 16px 0 8px; color: var(--text); }
.aiw-preview h3 { font-size: 15px; font-weight: 600; margin: 12px 0 6px; color: var(--text); }
.aiw-preview p { margin: 8px 0; }
.aiw-preview ul { margin: 8px 0; padding-left: 22px; }
.aiw-preview ol { margin: 8px 0; padding-left: 22px; }
.aiw-preview li { margin: 4px 0; }
.aiw-preview strong { color: var(--primary); }
.aiw-preview blockquote {
  border-left: 3px solid var(--primary); padding: 8px 14px; margin: 10px 0;
  background: var(--bg); border-radius: 0 8px 8px 0; color: var(--text-3);
}
.aiw-editable:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 2px rgba(43,92,246,0.12);
}
.aiw-editable:empty::before {
  content: 'AI 转写内容将显示在此处，可直接编辑…';
  color: #9ca3af; pointer-events: none;
}

.callout { border-radius:8px; padding:12px; }

/* ==================== 协议勾选 & 协议文档页 ==================== */
.agree-item { display:flex; align-items:flex-start; gap:8px; margin-top:4px; }
.agree-item label { font-size:13px; line-height:1.6; color:var(--text-2); cursor:pointer; font-weight:400; }
.agree-item label a { color:var(--primary); }
.agree-check { margin-top:3px; width:16px; height:16px; flex:0 0 auto; cursor:pointer; accent-color:var(--primary); }

.doc-page { max-width:860px; margin:0 auto; }
.doc-card { background:var(--card); border:1px solid var(--border); border-radius:12px; padding:36px 40px; margin:16px 0 40px; }
.doc-card h1 { font-size:24px; margin:0 0 4px; }
.doc-updated { color:var(--text-3); font-size:13px; margin:0 0 20px; }
.doc-body h2 { font-size:17px; margin:24px 0 10px; padding-bottom:6px; border-bottom:1px solid var(--border); }
.doc-body p, .doc-body li { font-size:14px; line-height:1.9; color:var(--text-2); }
.doc-body ul { padding-left:20px; margin:8px 0; }
.doc-body li { margin:4px 0; }
.doc-intro { background:rgba(59,130,246,.06); border-radius:8px; padding:12px 14px; }
@media (max-width:640px) { .doc-card { padding:22px 18px; } }

/* ==================== 套题详情：左右两框 ==================== */
.set-detail { display:flex; gap:16px; align-items:flex-start; margin-top:14px; }
.sd-left-col { flex:1 1 60%; min-width:0; display:flex; flex-direction:column; gap:14px; }
.sd-right-col { flex:1 1 40%; min-width:0; }
.sd-q { background:var(--card); border:1px solid var(--border); border-radius:12px; padding:16px; }
.sd-q-head { display:flex; align-items:center; gap:10px; margin-bottom:10px; }
.sd-qno { font-weight:700; font-size:14px; color:var(--primary); }
.sd-meta { font-size:13px; color:#4b5563; } /* 难度/题型：深灰色 */
.sd-stem { font-size:15px; line-height:1.9; cursor:pointer; }
.sd-stem:hover { background:rgba(59,130,246,.06); border-radius:8px; padding:6px 8px; margin:-6px -8px; }
.sd-material { margin-top:14px; border-top:1px dashed var(--border); padding-top:12px; }
.sdm-head { font-weight:600; font-size:13px; color:var(--text-2); margin-bottom:6px; }
.sdm-body { font-size:14px; }
.sd-right-box { background:var(--card); border:1px solid var(--border); border-radius:12px; padding:16px; position:sticky; top:14px; }
.sd-right-title { font-weight:700; font-size:15px; margin-bottom:12px; color:var(--text); }
.sd-right-box .kv { display:flex; margin-bottom:8px; font-size:13px; }
.sd-right-box .kv .k { width:72px; color:var(--text-3); flex-shrink:0; }
.sd-right-box .kv .v { color:var(--text); word-break:break-all; }
.fav-btn-lg { cursor:pointer; font-size:21px; color:var(--text-3); background:none; border:none; vertical-align:middle; line-height:1; }
.fav-btn-lg.on { color:#f59e0b; }
.sd-org { color:var(--text-2); font-size:14px; font-weight:500; margin-left:8px; }
.d-ops { display:flex; gap:8px; flex-wrap:wrap; }

/* 套题题干弹窗列表 */
.vq-list { display:flex; flex-direction:column; gap:10px; max-height:calc(100vh - 260px); overflow-y:auto; padding-right:4px; }
.vq-item { border:1px solid var(--border); border-radius:8px; padding:12px 14px; background:#fafbfd; }
.vq-head { display:flex; align-items:center; gap:8px; margin-bottom:8px; }
.vq-type { font-size:12px; color:var(--text-2); }
.vq-len { margin-left:auto; font-size:11px; color:var(--text-3); }
.vq-body { font-size:14px; line-height:1.75; color:var(--text); white-space:pre-wrap; word-break:break-word; }
.vq-body.collapsed { white-space:normal; }
.vq-toggle { margin-top:6px; font-size:12px; padding:0; background:none; border:none; cursor:pointer; color:var(--primary); }

@media (max-width:760px) {
  .set-detail { flex-direction:column; }
  .sd-left-col, .sd-right-col { flex:1 1 auto; }
}
