/* ===================================================================
   AISciTools 设计系统
   现代、科研感、可读性优先
   =================================================================== */
:root{
  --bg:#0b1020;
  --bg-2:#0f1629;
  --surface:#141d36;
  --surface-2:#1a2545;
  --border:#26345c;
  --text:#e8edf7;
  --text-dim:#9aa7c7;
  --text-mute:#6b7896;
  --primary:#6366f1;
  --primary-2:#818cf8;
  --accent:#22d3ee;
  --grad:linear-gradient(135deg,#6366f1 0%,#22d3ee 100%);
  --grad-2:linear-gradient(135deg,#a855f7 0%,#6366f1 50%,#22d3ee 100%);
  --green:#22c55e;--amber:#f59e0b;--red:#ef4444;--blue:#3b82f6;
  --radius:14px;
  --shadow:0 8px 30px rgba(0,0,0,.35);
  --shadow-sm:0 2px 10px rgba(0,0,0,.25);
  --maxw:1200px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",Roboto,Helvetica,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
img{max-width:100%}
.container{max-width:var(--maxw);margin:0 auto;padding:0 24px}

/* ---------- 按钮 ---------- */
.btn-primary,.btn-ghost{
  display:inline-flex;align-items:center;justify-content:center;gap:6px;
  border:none;cursor:pointer;border-radius:10px;font-weight:600;font-size:14px;
  padding:9px 18px;transition:all .2s;font-family:inherit;
}
.btn-primary{background:var(--grad);color:#fff;box-shadow:0 4px 14px rgba(99,102,241,.4)}
.btn-primary:hover{transform:translateY(-1px);box-shadow:0 6px 20px rgba(99,102,241,.55)}
.btn-primary:disabled{opacity:.5;cursor:not-allowed;transform:none}
.btn-ghost{background:rgba(255,255,255,.06);color:var(--text);border:1px solid var(--border)}
.btn-ghost:hover{background:rgba(255,255,255,.1)}
.lg{padding:13px 26px;font-size:15px}

/* ---------- 导航 ---------- */
.nav{position:sticky;top:0;z-index:100;background:rgba(11,16,32,.85);backdrop-filter:blur(14px);border-bottom:1px solid var(--border)}
.nav-inner{max-width:var(--maxw);margin:0 auto;padding:0 24px;height:64px;display:flex;align-items:center;gap:28px}
.brand{display:flex;align-items:center;gap:8px;font-weight:800;font-size:18px}
.brand-logo{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:8px;background:var(--grad);color:#fff;font-size:12px;font-weight:800}
.brand-text{background:var(--grad-2);-webkit-background-clip:text;background-clip:text;color:transparent}
.nav-links{display:flex;gap:22px;flex:1}
.nav-links a{color:var(--text-dim);font-size:14px;font-weight:500;transition:color .2s}
.nav-links a:hover{color:var(--text)}
.nav-actions{display:flex;align-items:center;gap:10px}
.premium-badge-nav{background:linear-gradient(135deg,#f59e0b,#fbbf24);color:#1a1a1a;font-size:10px;font-weight:800;padding:3px 7px;border-radius:5px}
.search-bar{max-width:var(--maxw);margin:0 auto;padding:0 24px 12px}
.search-bar input{width:100%;padding:11px 16px;border-radius:10px;background:var(--surface);border:1px solid var(--border);color:var(--text);font-size:14px;font-family:inherit}
.search-bar input:focus{outline:none;border-color:var(--primary)}

/* ---------- Hero ---------- */
.hero{position:relative;padding:80px 0 64px;background:
  radial-gradient(800px 400px at 80% -10%,rgba(99,102,241,.18),transparent),
  radial-gradient(700px 400px at 10% 20%,rgba(34,211,238,.12),transparent);
  border-bottom:1px solid var(--border)}
.hero-inner{max-width:var(--maxw);margin:0 auto;padding:0 24px;text-align:center}
.hero-badge{display:inline-block;padding:6px 14px;border-radius:999px;background:rgba(99,102,241,.12);border:1px solid rgba(99,102,241,.3);color:var(--primary-2);font-size:13px;font-weight:600;margin-bottom:24px}
.hero h1{font-size:clamp(32px,5vw,56px);font-weight:800;line-height:1.15;letter-spacing:-1px;margin-bottom:18px}
.grad{background:var(--grad-2);-webkit-background-clip:text;background-clip:text;color:transparent}
.hero-sub{font-size:17px;color:var(--text-dim);max-width:680px;margin:0 auto 32px}
.hero-cta{display:flex;gap:14px;justify-content:center;margin-bottom:48px;flex-wrap:wrap}
.hero-stats{display:flex;gap:48px;justify-content:center;flex-wrap:wrap}
.hero-stats div{display:flex;flex-direction:column}
.hero-stats strong{font-size:30px;font-weight:800;background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent}
.hero-stats span{font-size:13px;color:var(--text-mute)}

/* ---------- 区块 ---------- */
.block{margin:56px 0}
.block-head{display:flex;align-items:baseline;gap:12px;margin-bottom:22px;flex-wrap:wrap}
.block-head h2{font-size:22px;font-weight:700}
.block-head span{font-size:14px;color:var(--text-mute)}
.block-sub{color:var(--text-mute)!important;font-size:13px!important}
.block-more{margin-left:auto;color:var(--primary-2);font-size:14px;font-weight:600}

/* ---------- 卡片网格 ---------- */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:18px}
.tool-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:20px;cursor:pointer;transition:all .2s;display:flex;flex-direction:column;gap:12px}
.tool-card:hover{transform:translateY(-3px);border-color:var(--primary);box-shadow:var(--shadow)}
.tool-head{display:flex;gap:14px;align-items:flex-start}
.tool-logo{width:46px;height:46px;border-radius:11px;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:20px;flex-shrink:0}
.tool-meta{flex:1;min-width:0}
.tool-meta h3{font-size:16px;font-weight:700;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.tool-cat{font-size:12px;color:var(--text-mute);margin-top:2px}
.tool-score{display:flex;flex-direction:column;align-items:center;justify-content:center;width:56px;height:56px;border-radius:12px;flex-shrink:0;background:rgba(255,255,255,.04)}
.score-num{font-size:20px;font-weight:800;line-height:1}
.grade-text{font-size:9px;margin-top:2px;opacity:.8}
.grade-a{background:rgba(34,197,94,.15);color:#4ade80}
.grade-b{background:rgba(99,102,241,.15);color:#818cf8}
.grade-c{background:rgba(14,165,233,.15);color:#38bdf8}
.grade-d{background:rgba(245,158,11,.15);color:#fbbf24}
.grade-e{background:rgba(239,68,68,.15);color:#f87171}
.tool-desc{font-size:13px;color:var(--text-dim);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:40px}
.tool-tags{display:flex;gap:6px;flex-wrap:wrap}
.tag{font-size:11px;padding:3px 9px;border-radius:6px;background:rgba(255,255,255,.06);color:var(--text-dim);border:1px solid var(--border)}
.tag-free{background:rgba(34,197,94,.12);color:#4ade80;border-color:rgba(34,197,94,.25)}
.tag-freemium{background:rgba(59,130,246,.12);color:#60a5fa;border-color:rgba(59,130,246,.25)}
.tag-paid{background:rgba(245,158,11,.12);color:#fbbf24;border-color:rgba(245,158,11,.25)}
.tag-partner{background:linear-gradient(135deg,rgba(168,85,247,.15),rgba(99,102,241,.15));color:#c4b5fd;border-color:rgba(168,85,247,.3);font-size:10px}
.tool-foot{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--border);padding-top:10px}
.mini-bars{display:flex;gap:3px;align-items:flex-end;height:24px}
.mini-bar{width:5px;height:100%;background:rgba(255,255,255,.06);border-radius:2px;position:relative;display:flex;align-items:flex-end;overflow:hidden}
.mini-bar i{display:block;width:100%;background:var(--grad);border-radius:2px}
.view-link{font-size:12px;color:var(--primary-2);font-weight:600}

/* ---------- 分类卡片 ---------- */
.cat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px}
.cat-card{display:flex;gap:14px;align-items:center;padding:18px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);transition:all .2s;position:relative}
.cat-card:hover{border-color:var(--primary);transform:translateY(-2px)}
.cat-icon{font-size:30px;width:50px;height:50px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.04);border-radius:12px}
.cat-info{flex:1}
.cat-info h3{font-size:15px;font-weight:700}
.cat-info p{font-size:12px;color:var(--text-mute);margin-top:2px}
.cat-count{position:absolute;top:14px;right:16px;font-size:12px;color:var(--primary-2);font-weight:700;background:rgba(99,102,241,.1);padding:2px 8px;border-radius:6px}

/* ---------- 特性卡片 ---------- */
.feature-row{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px}
.feature-card{padding:22px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius)}
.f-icon{font-size:30px;margin-bottom:10px}
.feature-card h3{font-size:15px;font-weight:700;margin-bottom:6px}
.feature-card p{font-size:13px;color:var(--text-dim)}

/* ---------- 广告位 ---------- */
.ad-slot{background:linear-gradient(135deg,rgba(245,158,11,.06),rgba(168,85,247,.06));border:1px dashed rgba(245,158,11,.3);border-radius:var(--radius);padding:14px 18px;margin:24px 0;position:relative}
.ad-hidden{display:none}
.ad-label{position:absolute;top:-9px;left:14px;background:var(--bg);font-size:10px;color:var(--text-mute);padding:0 8px;letter-spacing:.5px}
.ad-content{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.ad-text{font-size:13px;color:var(--text-dim)}
.ad-text strong{color:var(--text)}
.ad-cta{color:var(--amber);font-weight:600;font-size:13px;white-space:nowrap}
.ad-sidebar .ad-content{flex-direction:column;align-items:flex-start;gap:6px}
.ad-sidebar{margin:18px 0}

/* ---------- 页头 ---------- */
.page-head{padding:48px 0 32px;text-align:center}
.page-head h1{font-size:32px;font-weight:800;margin-bottom:8px}
.page-head p{color:var(--text-dim);font-size:15px}

/* ---------- 目录布局 ---------- */
.catalog-layout{display:grid;grid-template-columns:240px 1fr;gap:28px;padding-bottom:60px}
.filters{position:sticky;top:80px;align-self:start}
.filter-group{margin-bottom:24px}
.filter-group h4{font-size:12px;text-transform:uppercase;letter-spacing:.5px;color:var(--text-mute);margin-bottom:10px}
.filter-list{display:flex;flex-direction:column;gap:2px}
.filter-list a{padding:7px 12px;border-radius:8px;font-size:14px;color:var(--text-dim);cursor:pointer;transition:all .15s}
.filter-list a:hover{background:rgba(255,255,255,.05);color:var(--text)}
.filter-list a.active{background:var(--grad);color:#fff;font-weight:600}
.catalog-main{min-width:0}
.catalog-toolbar{display:flex;align-items:center;gap:14px;margin-bottom:18px;flex-wrap:wrap}
#catalogSearch{flex:1;min-width:200px;padding:10px 16px;border-radius:10px;background:var(--surface);border:1px solid var(--border);color:var(--text);font-size:14px;font-family:inherit}
#catalogSearch:focus{outline:none;border-color:var(--primary)}
.result-count{font-size:13px;color:var(--text-mute);white-space:nowrap}
.empty{padding:60px 20px;text-align:center;color:var(--text-mute)}
.empty a{color:var(--primary-2)}

/* ---------- 详情页 ---------- */
.crumb{padding:22px 0;font-size:13px;color:var(--text-mute)}
.crumb a{color:var(--primary-2)}
.detail-layout{display:grid;grid-template-columns:1fr 280px;gap:28px;padding-bottom:60px}
.detail-head{display:flex;gap:22px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:24px;margin-bottom:24px}
.detail-logo{width:70px;height:70px;border-radius:16px;display:flex;align-items:center;justify-content:center;font-size:32px;font-weight:800;flex-shrink:0}
.detail-title{flex:1;min-width:0}
.detail-title h1{font-size:26px;font-weight:800;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.detail-cats{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0;align-items:center}
.detail-cats a{color:var(--primary-2);font-size:13px}
.detail-desc{color:var(--text-dim);margin:10px 0 16px;font-size:14px}
.detail-cta{display:flex;gap:10px;flex-wrap:wrap}
.detail-score{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100px;height:100px;border-radius:16px;flex-shrink:0}
.detail-score .big-score{font-size:36px;font-weight:800;line-height:1}
.detail-score .score-sub{font-size:10px;color:var(--text-mute);margin-top:4px}
.score-breakdown{display:flex;flex-direction:column;gap:14px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:22px}
.score-row{display:grid;grid-template-columns:160px 1fr 40px;gap:16px;align-items:center}
.score-row-label{display:flex;flex-direction:column}
.score-row-label strong{font-size:14px}
.score-row-label span{font-size:11px;color:var(--text-mute)}
.score-bar{height:8px;background:rgba(255,255,255,.06);border-radius:4px;overflow:hidden}
.score-bar i{display:block;height:100%;background:var(--grad);border-radius:4px;transition:width .6s}
.score-row-num{font-size:15px;font-weight:700;text-align:right}
.feature-chips{display:flex;gap:8px;flex-wrap:wrap;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:22px}
.feature-chip{padding:7px 14px;border-radius:8px;background:rgba(99,102,241,.1);color:var(--primary-2);font-size:13px;border:1px solid rgba(99,102,241,.2)}
.reviews{display:flex;flex-direction:column;gap:14px}
.review{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:16px}
.review-head{display:flex;align-items:center;gap:10px;margin-bottom:8px;flex-wrap:wrap}
.review-head strong{font-size:14px}
.stars{color:#fbbf24;font-size:13px;letter-spacing:1px}
.review-head time{font-size:12px;color:var(--text-mute);margin-left:auto}
.review p{font-size:13px;color:var(--text-dim)}
.detail-side{position:sticky;top:80px;align-self:start}
.side-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:20px;margin-bottom:18px}
.side-card h4{font-size:13px;text-transform:uppercase;letter-spacing:.5px;color:var(--text-mute);margin-bottom:14px}
.info-list dt{font-size:12px;color:var(--text-mute);margin-top:10px}
.info-list dt:first-child{margin-top:0}
.info-list dd{font-size:14px;font-weight:500}

/* ---------- 仪表盘 ---------- */
.dash-stats{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px;margin-bottom:30px}
.stat-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:22px}
.stat-num{font-size:30px;font-weight:800;background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent}
.stat-label{font-size:13px;color:var(--text-mute);margin-top:4px}
.stat-trend{font-size:12px;margin-top:8px;color:var(--text-mute)}
.stat-trend.up{color:#4ade80}
.dash-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(380px,1fr));gap:18px;padding-bottom:60px}
.dash-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:22px}
.dash-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;flex-wrap:wrap;gap:8px}
.dash-head h3{font-size:16px;font-weight:700}
.dash-tag{font-size:11px;padding:3px 9px;border-radius:6px;background:rgba(255,255,255,.06);color:var(--text-dim)}
.dash-tag.auto{background:rgba(34,211,238,.12);color:var(--accent)}
.dash-tag.ok{background:rgba(34,197,94,.12);color:#4ade80}
.dash-table{width:100%;border-collapse:collapse;font-size:13px}
.dash-table th{text-align:left;font-size:11px;text-transform:uppercase;color:var(--text-mute);padding:8px 6px;border-bottom:1px solid var(--border);font-weight:600}
.dash-table td{padding:9px 6px;border-bottom:1px solid rgba(255,255,255,.04)}
.job-status{font-size:12px;font-weight:600}
.job-status.success{color:#4ade80}
.job-status.running{color:var(--accent)}
.dash-note{font-size:13px;color:var(--text-dim);margin-bottom:14px}
.ml-feed,.update-list,.monitor-list{display:flex;flex-direction:column;gap:8px}
.ml-row,.update-row,.mon-row{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;background:rgba(255,255,255,.03);border-radius:8px;font-size:13px}
.ml-dot{width:7px;height:7px;border-radius:50%;background:var(--accent);margin-right:8px}
.ml-cat{font-size:11px;color:var(--text-mute);background:rgba(255,255,255,.05);padding:2px 8px;border-radius:5px}
.update-score{font-weight:700;color:var(--primary-2)}
.mon-ok{color:#4ade80;font-size:12px}
.rev-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.rev-item{padding:14px;background:rgba(255,255,255,.03);border-radius:10px}
.rev-num{font-size:22px;font-weight:800;color:#fbbf24}
.rev-label{font-size:12px;color:var(--text-mute)}
.rev-total{grid-column:1/-1;background:linear-gradient(135deg,rgba(34,197,94,.1),rgba(99,102,241,.1))}
.rev-total .rev-num{color:#4ade80}
.flow-chain{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.flow-node{flex:1;min-width:90px;text-align:center;padding:14px 8px;background:rgba(99,102,241,.08);border:1px solid rgba(99,102,241,.2);border-radius:10px;font-size:13px;font-weight:600}
.flow-sub{font-size:10px;color:var(--text-mute);font-weight:400;margin-top:2px}
.flow-arrow{color:var(--primary-2)}

/* ---------- 会员 ---------- */
.plans{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px;padding-bottom:20px}
.plan-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:28px;position:relative;transition:all .2s}
.plan-card.hot{border-color:var(--primary);box-shadow:0 0 0 1px var(--primary),0 10px 40px rgba(99,102,241,.25)}
.plan-card.current{opacity:.7}
.plan-badge{position:absolute;top:-11px;left:50%;transform:translateX(-50%);background:var(--grad);color:#fff;font-size:11px;font-weight:700;padding:4px 14px;border-radius:999px}
.plan-card h3{font-size:18px;font-weight:700;margin-bottom:8px}
.plan-price{display:flex;align-items:baseline;gap:4px;margin-bottom:18px}
.plan-price .price{font-size:34px;font-weight:800}
.plan-price .period{font-size:14px;color:var(--text-mute)}
.plan-feats{list-style:none;display:flex;flex-direction:column;gap:9px;margin-bottom:22px}
.plan-feats li{font-size:13px;color:var(--text-dim)}
.plan-cta{width:100%}
.plans-note{text-align:center;color:var(--text-mute);font-size:12px;padding:20px}

/* ---------- 支付信任带 ---------- */
.pay-trust{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin:24px 0 8px}
.pay-trust-item{display:flex;align-items:center;gap:8px;padding:14px 16px;background:var(--surface);border:1px solid var(--border);border-radius:10px;font-size:13px;color:var(--text-dim)}
.pay-trust-item span{font-size:18px}

/* ---------- 订阅状态卡片 ---------- */
.sub-status-card{background:linear-gradient(135deg,rgba(99,102,241,.12),rgba(34,211,238,.08));border:1px solid rgba(99,102,241,.3);border-radius:var(--radius);padding:24px;margin-bottom:24px}
.sub-status-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;flex-wrap:wrap;gap:10px}
.sub-badge{display:inline-block;padding:6px 14px;border-radius:999px;background:var(--grad);color:#fff;font-size:12px;font-weight:700}
.sub-badge.team{background:linear-gradient(135deg,#f59e0b,#fbbf24);color:#1a1a1a}
.sub-source{font-size:12px;color:var(--text-mute)}
.sub-status-body{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:14px;margin-bottom:16px}
.sub-info-item{display:flex;flex-direction:column;gap:3px}
.sub-info-item span{font-size:11px;color:var(--text-mute);text-transform:uppercase;letter-spacing:.3px}
.sub-info-item strong{font-size:14px}
.sub-actions{display:flex;gap:10px;flex-wrap:wrap}

/* ---------- 支付弹窗 ---------- */
.checkout-modal{max-width:460px}
.ck-summary{background:var(--bg-2);border-radius:10px;padding:16px;margin:16px 0}
.ck-row{display:flex;justify-content:space-between;align-items:center;padding:7px 0;font-size:14px}
.ck-row span{color:var(--text-mute)}
.ck-row strong{font-weight:600}
.ck-total{border-top:1px dashed var(--border);margin-top:8px;padding-top:12px}
.ck-amount{font-size:20px;color:var(--primary-2)}
.ck-section{margin:16px 0}
.ck-section h4{font-size:13px;text-transform:uppercase;letter-spacing:.5px;color:var(--text-mute);margin-bottom:12px}
.channel-list{display:flex;flex-direction:column;gap:8px}
.channel-item{display:flex;align-items:center;gap:12px;padding:12px 14px;background:var(--bg-2);border:1px solid var(--border);border-radius:10px;cursor:pointer;transition:all .15s}
.channel-item:hover{border-color:var(--primary)}
.channel-item.checked{border-color:var(--primary);background:rgba(99,102,241,.08)}
.channel-item input[type=radio]{accent-color:var(--primary)}
.channel-info{display:flex;align-items:center;gap:12px;flex:1}
.channel-icon{font-size:24px;width:38px;height:38px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.05);border-radius:8px;flex-shrink:0}
.channel-name{font-size:14px;font-weight:600}
.channel-desc{font-size:11px;color:var(--text-mute);margin-top:2px}
.ck-submit{width:100%;margin-top:8px}
.ck-tip{font-size:11px;color:var(--text-mute);text-align:center;margin-top:10px;line-height:1.5}

/* ---------- 支付页 ---------- */
.pay-page{max-width:540px;margin:40px auto}
.pay-loading{display:flex;flex-direction:column;align-items:center;gap:16px;padding:60px 20px;color:var(--text-mute)}
.pay-spinner{width:36px;height:36px;border:3px solid var(--border);border-top-color:var(--primary);border-radius:50%;animation:spin 1s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.pay-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:32px}
.pay-head{display:flex;align-items:center;gap:14px;margin-bottom:20px}
.pay-channel-icon{font-size:36px;width:60px;height:60px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.05);border-radius:14px}
.pay-head h2{font-size:18px;font-weight:700}
.pay-orderid{font-size:12px;color:var(--text-mute);margin-top:4px}
.pay-amount-box{display:flex;flex-direction:column;align-items:center;gap:6px;padding:24px;background:var(--bg-2);border-radius:12px;margin-bottom:20px}
.pay-amount-box span{font-size:13px;color:var(--text-mute)}
.pay-amount-box strong{font-size:36px;font-weight:800;background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent}
.pay-detail{margin-bottom:20px}
.pay-detail .ck-row{padding:9px 0;border-bottom:1px solid var(--border)}
.pay-countdown{color:#fbbf24}
.pay-demo-notice{background:rgba(245,158,11,.08);border:1px solid rgba(245,158,11,.3);color:#fbbf24;padding:12px 14px;border-radius:10px;font-size:13px;margin-bottom:18px;line-height:1.6}
.pay-now-btn{width:100%;margin-bottom:10px}
.pay-cancel-btn{width:100%}
#paidQueryBtn{width:100%;margin-bottom:10px}
.pay-redirect-notice{background:rgba(99,102,241,.08);border:1px solid rgba(99,102,241,.3);color:var(--primary-2);padding:12px 14px;border-radius:10px;font-size:13px;margin-bottom:18px;line-height:1.6}
.pay-redirect-btn{width:100%;margin-bottom:10px}

/* 二维码区 */
.pay-qrcode-wrap{display:flex;flex-direction:column;align-items:center;gap:12px;padding:24px;background:var(--bg-2);border-radius:12px;margin-bottom:18px}
.pay-qrcode{width:200px;height:200px;background:#fff;border-radius:10px;padding:10px;display:flex;align-items:center;justify-content:center}
.pay-qrcode img,.pay-qrcode canvas{display:block;max-width:100%;max-height:100%}
.pay-qrcode-tip{font-size:13px;color:var(--text-dim);text-align:center}
.pay-qrcode-status{font-size:12px;color:var(--text-mute);text-align:center;min-height:18px}
.pay-success-card{text-align:center}
.pay-success-icon{font-size:60px;margin-bottom:14px}
.pay-success-card h2{font-size:24px;font-weight:800;margin-bottom:6px}
.pay-success-sub{color:var(--text-dim);font-size:14px;margin-bottom:20px}
.pay-success-card .btn-primary{margin-top:14px;width:100%}
.pay-expired-card,.pay-error{text-align:center;padding:20px 0}
.pay-err-icon{font-size:60px;margin-bottom:14px}
.pay-error h3,.pay-expired-card h2{font-size:20px;font-weight:700;margin-bottom:8px}
.pay-error p,.pay-expired-card p{color:var(--text-dim);font-size:14px;margin-bottom:18px}
.pay-error .btn-ghost,.pay-expired-card .btn-primary{margin-top:6px}

/* ---------- 弹窗 ---------- */
.modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,.65);backdrop-filter:blur(4px);z-index:200;display:flex;align-items:center;justify-content:center;padding:20px;animation:fade .2s}
@keyframes fade{from{opacity:0}to{opacity:1}}
.modal{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:28px;max-width:440px;width:100%;position:relative;animation:pop .2s}
@keyframes pop{from{transform:scale(.95);opacity:0}to{transform:scale(1);opacity:1}}
.modal h3{font-size:20px;font-weight:700;margin-bottom:6px}
.modal-sub{font-size:13px;color:var(--text-mute);margin-bottom:18px}
.modal-close{position:absolute;top:14px;right:16px;background:none;border:none;color:var(--text-mute);font-size:26px;cursor:pointer;line-height:1}
.rating-input{display:flex;gap:6px;margin-bottom:16px}
.rate-star{font-size:30px;color:var(--text-mute);cursor:pointer;transition:color .15s}
.rate-star.on{color:#fbbf24}
.modal-input{width:100%;padding:11px 14px;border-radius:10px;background:var(--bg-2);border:1px solid var(--border);color:var(--text);font-size:14px;font-family:inherit;margin-bottom:12px;resize:vertical}
.modal-input:focus{outline:none;border-color:var(--primary)}
.modal .btn-primary{width:100%}

/* ---------- 页脚 ---------- */
.footer{border-top:1px solid var(--border);background:var(--bg-2);padding:48px 0 24px;margin-top:40px}
.footer-inner{max-width:var(--maxw);margin:0 auto;padding:0 24px;display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:32px}
.footer-col p{font-size:13px;color:var(--text-mute);margin-top:10px;line-height:1.7}
.footer-col h5{font-size:13px;font-weight:700;margin-bottom:12px;color:var(--text)}
.footer-col a{display:block;font-size:13px;color:var(--text-dim);margin-bottom:8px}
.footer-col a:hover{color:var(--primary-2)}
.footer-bottom{max-width:var(--maxw);margin:32px auto 0;padding:18px 24px 0;border-top:1px solid var(--border);font-size:12px;color:var(--text-mute);text-align:center}

/* ---------- 用户系统/导航 ---------- */
.btn-ghost.sm,.btn-primary.sm{padding:6px 12px;font-size:13px}
.nav-user{display:flex;align-items:center;gap:8px}
.user-chip{display:flex;align-items:center;gap:7px;padding:4px 10px 4px 4px;border-radius:999px;background:rgba(255,255,255,.06);border:1px solid var(--border);cursor:pointer}
.user-chip:hover{background:rgba(255,255,255,.1)}
.user-avatar{width:26px;height:26px;border-radius:50%;background:var(--grad);color:#fff;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700}
.user-name{font-size:13px;font-weight:600;max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* ---------- 首页：科研成长服务 ---------- */
.service-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.service-card{display:flex;gap:16px;align-items:center;padding:24px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);transition:all .2s;position:relative;overflow:hidden}
.service-card::before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px}
.service-card.mentor::before{background:linear-gradient(180deg,#6366f1,#22d3ee)}
.service-card.fund::before{background:linear-gradient(180deg,#f59e0b,#22c55e)}
.service-card:hover{transform:translateY(-3px);border-color:var(--primary);box-shadow:var(--shadow)}
.service-icon{font-size:34px;width:58px;height:58px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.04);border-radius:14px;flex-shrink:0}
.service-body{flex:1}
.service-body h3{font-size:17px;font-weight:700;margin-bottom:4px}
.service-body p{font-size:13px;color:var(--text-dim);line-height:1.6}
.service-stat{display:inline-block;margin-top:8px;font-size:11px;color:var(--primary-2);background:rgba(99,102,241,.1);padding:3px 10px;border-radius:6px}
.service-cta{color:var(--primary-2);font-weight:600;font-size:13px;white-space:nowrap;align-self:flex-start}

/* ---------- 收藏按钮 ---------- */
.save-btn{position:absolute;top:14px;right:14px;width:32px;height:32px;border-radius:50%;border:1px solid var(--border);background:rgba(0,0,0,.3);color:var(--text-mute);font-size:16px;cursor:pointer;z-index:2;transition:all .15s;display:flex;align-items:center;justify-content:center}
.save-btn:hover{color:#f87171;border-color:#f87171}
.save-btn.saved{color:#f87171;border-color:#f87171;background:rgba(248,113,113,.12)}

/* ---------- 筛选：勾选/收藏列表 ---------- */
.filter-check{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--text-dim);cursor:pointer;padding:6px 12px;border-radius:8px}
.filter-check:hover{background:rgba(255,255,255,.05)}
.filter-check input{width:auto;accent-color:var(--primary)}
.saved-list{display:flex;flex-direction:column;gap:6px}
.saved-item{display:flex;align-items:center;gap:8px;padding:7px 10px;border-radius:8px;background:rgba(255,255,255,.03);font-size:13px;color:var(--text-dim)}
.saved-item:hover{background:rgba(255,255,255,.07);color:var(--text)}
.saved-av{width:24px;height:24px;border-radius:6px;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:12px;flex-shrink:0}
.saved-empty{font-size:12px;color:var(--text-mute);padding:6px 12px}

/* ---------- 导师卡片 ---------- */
.mentor-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:18px}
.mentor-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:18px;position:relative;transition:all .2s;display:flex;flex-direction:column;gap:12px}
.mentor-card:hover{transform:translateY(-3px);border-color:var(--primary);box-shadow:var(--shadow)}
.mentor-top{display:flex;gap:14px;align-items:flex-start;cursor:pointer}
.mentor-av{width:54px;height:54px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:20px;flex-shrink:0}
.mentor-info{flex:1;min-width:0}
.mentor-info h3{font-size:16px;font-weight:700;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.mentor-title{font-size:12px;color:var(--text-mute);margin-top:3px}
.mentor-field{font-size:12px;color:var(--primary-2);margin-top:2px}
.accept-tag{font-size:10px;background:rgba(34,197,94,.15);color:#4ade80;padding:2px 7px;border-radius:5px;font-weight:600}
.mentor-bio{font-size:13px;color:var(--text-dim);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:40px}
.mentor-dirs{display:flex;gap:6px;flex-wrap:wrap}
.mentor-stats{display:flex;gap:14px;border-top:1px solid var(--border);padding-top:12px}
.mentor-stats div{display:flex;flex-direction:column}
.mentor-stats strong{font-size:16px;font-weight:700;color:var(--text)}
.mentor-stats span{font-size:10px;color:var(--text-mute)}
.mentor-foot{display:flex;align-items:center;justify-content:space-between}
.compare-check{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--text-dim);cursor:pointer}
.compare-check input{width:auto;accent-color:var(--primary)}

/* ---------- 对比条/对比弹窗 ---------- */
.compare-bar{position:fixed;left:0;right:0;bottom:0;z-index:90;background:var(--surface-2);border-top:1px solid var(--primary);padding:14px 24px;display:flex;align-items:center;gap:14px;justify-content:center;box-shadow:0 -4px 20px rgba(0,0,0,.4)}
.compare-bar span{font-size:14px;color:var(--text)}
.compare-modal{max-width:880px;overflow-x:auto}
.compare-table-wrap{overflow-x:auto;margin-top:10px}
.compare-table{width:100%;border-collapse:collapse;font-size:13px;min-width:480px}
.compare-table th,.compare-table td{padding:10px 12px;border:1px solid var(--border);text-align:center;vertical-align:middle}
.compare-table th{background:rgba(99,102,241,.08);font-weight:600}
.cmp-label{text-align:left!important;color:var(--text-mute);background:rgba(255,255,255,.02);font-weight:600}
.cmp-av{width:36px;height:36px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-weight:800;margin:0 auto 6px;font-size:14px}

/* ---------- 导师详情 ---------- */
.mentor-head .save-btn{position:static;width:auto;height:auto;border-radius:8px;padding:6px 12px;font-size:14px}
.mentor-score-card{background:rgba(99,102,241,.12)!important;color:#818cf8!important}
.big-stat{font-size:34px;font-weight:800;line-height:1}
.stat-row{display:flex;gap:14px;flex-wrap:wrap}
.stat-pill{flex:1;min-width:120px;background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:16px;text-align:center}
.stat-pill strong{display:block;font-size:22px;font-weight:800;color:var(--text)}
.stat-pill span{font-size:12px;color:var(--text-mute)}
.achieve-list{list-style:none;display:flex;flex-direction:column;gap:10px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:20px}
.achieve-list li{display:flex;gap:10px;font-size:14px;color:var(--text-dim);line-height:1.6}
.achieve-dot{color:var(--primary-2);flex-shrink:0}
.info-box{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:20px;border-left:3px solid var(--primary)}
.info-box p{font-size:14px;color:var(--text-dim);line-height:1.7}
.info-box strong{color:var(--text)}
.success-box{border-left-color:#22c55e;background:rgba(34,197,94,.04)}
.info-note{font-size:12px;color:var(--text-mute);margin-top:10px;padding-top:10px;border-top:1px dashed var(--border)}

/* ---------- 基金卡片 ---------- */
.fund-list{display:flex;flex-direction:column;gap:14px}
.fund-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:18px;position:relative;transition:all .2s}
.fund-card:hover{border-color:var(--primary);box-shadow:var(--shadow)}
.fund-main{cursor:pointer}
.fund-top{display:flex;gap:14px;align-items:flex-start}
.fund-icon{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:22px;flex-shrink:0}
.fund-info{flex:1;min-width:0}
.fund-info h3{font-size:16px;font-weight:700;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.fund-type-tag{font-size:10px;background:rgba(255,255,255,.06);color:var(--text-dim);padding:2px 7px;border-radius:5px;font-weight:500}
.fund-funder{font-size:12px;color:var(--text-mute);margin-top:3px}
.fund-intro{font-size:13px;color:var(--text-dim);margin:10px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.fund-meta{display:flex;gap:18px;flex-wrap:wrap;font-size:12px;color:var(--text-mute);padding-top:10px;border-top:1px solid var(--border)}
.fund-meta strong{color:var(--text);font-weight:600}
.stars{color:#fbbf24;letter-spacing:1px}
.fund-foot{margin-top:8px}

/* ---------- 截止时间徽章 ---------- */
.dl-badge{font-size:11px;font-weight:700;padding:5px 10px;border-radius:6px;white-space:nowrap;flex-shrink:0}
.dl-urgent{background:rgba(239,68,68,.15);color:#f87171;animation:pulse 1.8s infinite}
.dl-soon{background:rgba(245,158,11,.15);color:#fbbf24}
.dl-upcoming{background:rgba(59,130,246,.15);color:#60a5fa}
.dl-closed{background:rgba(107,120,150,.15);color:var(--text-mute)}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.55}}

/* ---------- 截止提醒带 ---------- */
.reminder-band{background:linear-gradient(135deg,rgba(239,68,68,.06),rgba(245,158,11,.06));border:1px solid rgba(239,68,68,.2);border-radius:var(--radius);padding:20px}
.reminder-head{display:flex;align-items:baseline;gap:12px;margin-bottom:14px;flex-wrap:wrap}
.reminder-head h2{font-size:18px}
.reminder-track{display:flex;gap:10px;overflow-x:auto;padding-bottom:4px}
.reminder-chip{display:flex;flex-direction:column;gap:4px;padding:10px 14px;border-radius:10px;background:var(--surface);border:1px solid var(--border);min-width:200px;flex-shrink:0;transition:all .15s}
.reminder-chip:hover{border-color:var(--primary)}
.reminder-chip.dl-urgent{border-color:rgba(239,68,68,.4)}
.reminder-chip.dl-soon{border-color:rgba(245,158,11,.4)}
.rc-name{font-size:13px;font-weight:600;color:var(--text)}
.rc-date{font-size:11px;font-weight:700}
.reminder-chip.dl-urgent .rc-date{color:#f87171}
.reminder-chip.dl-soon .rc-date{color:#fbbf24}

/* ---------- 专家咨询 ---------- */
.expert-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px}
.expert-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:20px;text-align:center}
.expert-icon{font-size:28px;margin-bottom:8px}
.expert-card h4{font-size:15px;font-weight:700;margin-bottom:6px}
.expert-card p{font-size:12px;color:var(--text-mute);margin-bottom:12px;line-height:1.6}
.expert-cta{margin:0 auto}

/* ---------- 申报流程 ---------- */
.process-flow{display:flex;align-items:center;flex-wrap:wrap;gap:6px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:18px}
.process-node{display:flex;flex-direction:column;align-items:center;gap:6px;flex:1;min-width:80px}
.pn-num{width:30px;height:30px;border-radius:50%;background:var(--grad);color:#fff;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700}
.pn-label{font-size:12px;color:var(--text-dim);text-align:center}
.process-arrow{color:var(--primary-2);font-size:16px}

/* ---------- 文档下载 ---------- */
.doc-list{display:flex;flex-direction:column;gap:10px}
.doc-item{display:flex;align-items:center;gap:12px;padding:13px 16px;background:var(--surface);border:1px solid var(--border);border-radius:10px;transition:all .15s;cursor:pointer}
.doc-item:hover{border-color:var(--primary);background:rgba(99,102,241,.04)}
.doc-icon{font-size:22px}
.doc-name{flex:1;font-size:14px;font-weight:500;color:var(--text)}
.doc-size{font-size:12px;color:var(--text-mute)}
.doc-dl{font-size:13px;color:var(--primary-2);font-weight:600}
.doc-note{font-size:12px;color:var(--text-mute);margin-top:10px;text-align:center}

/* ---------- 登录/注册弹窗 ---------- */
.auth-modal{max-width:400px}
.auth-tabs{display:flex;gap:6px;background:var(--bg-2);border-radius:10px;padding:5px;margin-bottom:18px}
.auth-tab{flex:1;padding:9px;border:none;background:none;color:var(--text-mute);font-size:14px;font-weight:600;border-radius:7px;cursor:pointer;transition:all .15s;font-family:inherit}
.auth-tab.active{background:var(--grad);color:#fff}
.auth-form{display:flex;flex-direction:column;gap:14px}
.auth-field{display:flex;flex-direction:column;gap:6px}
.auth-field label{font-size:13px;color:var(--text-dim);font-weight:500}
.auth-field input{padding:11px 14px;border-radius:10px;background:var(--bg-2);border:1px solid var(--border);color:var(--text);font-size:14px;font-family:inherit}
.auth-field input:focus{outline:none;border-color:var(--primary)}
.auth-form .btn-primary{width:100%;margin-top:4px}
.auth-tip{font-size:13px;color:#f87171;text-align:center;min-height:18px}

/* ---------- Toast ---------- */
.toast-container{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:300;display:flex;flex-direction:column;gap:8px;align-items:center}
.toast{background:var(--surface-2);border:1px solid var(--border);color:var(--text);padding:11px 18px;border-radius:10px;font-size:13px;box-shadow:var(--shadow);transition:all .3s;animation:toastIn .3s}
@keyframes toastIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}

/* ---------- 响应式 ---------- */
@media(max-width:900px){
  .nav-links{display:none}
  .catalog-layout{grid-template-columns:1fr}
  .filters{position:static}
  .detail-layout{grid-template-columns:1fr}
  .detail-side{position:static}
  .footer-inner{grid-template-columns:1fr 1fr}
  .dash-grid{grid-template-columns:1fr}
  .detail-head{flex-direction:column}
  .detail-score{align-self:flex-start}
  .service-grid{grid-template-columns:1fr}
  .user-name{display:none}
}
@media(max-width:560px){
  .hero-stats{gap:28px}
  .hero-stats strong{font-size:24px}
  .footer-inner{grid-template-columns:1fr}
  .score-row{grid-template-columns:1fr;gap:6px}
  .score-row-num{text-align:left}
  .stat-row{flex-direction:column}
  .process-node{min-width:60px}
  .process-arrow{display:none}
  .nav-actions .btn-primary:not(.sm){display:none}
}

/* ===================================================================
   期刊推荐板块样式
   =================================================================== */
.journal-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:18px}
.journal-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:20px;transition:all .2s;position:relative;overflow:hidden}
.journal-card:hover{transform:translateY(-3px);border-color:var(--primary);box-shadow:var(--shadow)}
.jc-save{position:absolute;top:14px;right:14px;width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;background:rgba(255,255,255,.06);color:var(--text-dim);transition:all .2s;font-size:14px;z-index:2}
.jc-save:hover{background:rgba(255,255,255,.1);color:#f87171}
.jc-save.saved{color:#f87171;background:rgba(248,113,113,.15)}
.jc-head{display:flex;gap:14px;align-items:flex-start;cursor:pointer}
.jc-logo{width:44px;height:44px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:18px;flex-shrink:0}
.jc-info{flex:1;min-width:0}
.jc-info h3{font-size:15px;font-weight:700;margin-bottom:2px;line-height:1.3}
.jc-publisher{font-size:12px;color:var(--text-mute);margin-bottom:2px}
.jc-discipline{font-size:12px;color:var(--text-dim)}
.jc-cat{color:var(--primary-2);font-weight:500}
.jc-if{display:flex;flex-direction:column;align-items:center;justify-content:center;width:52px;height:52px;border-radius:10px;flex-shrink:0}
.jc-if strong{font-size:18px;font-weight:800;line-height:1}
.jc-if span{font-size:10px;margin-top:2px;opacity:.7}
.jc-body{margin-top:14px;padding-top:14px;border-top:1px solid var(--border)}
.jc-scope{font-size:13px;color:var(--text-dim);line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.jc-dbs{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.jc-db{font-size:11px;padding:3px 8px;border-radius:5px;background:rgba(99,102,241,.15);color:var(--primary-2);border:1px solid rgba(99,102,241,.25);font-weight:500}
.jc-meta{display:flex;gap:12px;margin-top:10px;font-size:12px;color:var(--text-mute)}
.jc-meta span{padding:3px 8px;border-radius:5px;background:rgba(255,255,255,.04)}
.jc-foot{display:flex;justify-content:space-between;align-items:center;margin-top:12px;padding-top:12px;border-top:1px solid var(--border)}
.jc-accept{font-size:12px;color:var(--text-mute)}
.journal-info-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:14px}
.ji-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:14px 16px;display:flex;flex-direction:column;gap:4px}
.ji-label{font-size:12px;color:var(--text-mute)}
.ji-card strong{font-size:14px;font-weight:600}
.journal-head{border-bottom:3px solid var(--primary);padding-bottom:20px}
.journal-if-card{border-radius:14px;padding:18px;display:flex;flex-direction:column;align-items:center;justify-content:center}
.journal-if-card .big-score{font-size:42px}

/* ===================================================================
   文献订阅推送板块样式
   =================================================================== */
.subscribe-login-box{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:48px;text-align:center;margin-bottom:32px}
.subscribe-login-box h3{font-size:18px;margin-bottom:8px}
.subscribe-login-box p{color:var(--text-dim);margin-bottom:20px}
.subscribe-layout{display:block}
.subscribe-main{max-width:900px;margin:0 auto}
.subscribe-form{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:24px;display:flex;flex-direction:column;gap:16px}
.sf-field{display:flex;flex-direction:column;gap:6px}
.sf-field label{font-size:13px;color:var(--text-dim);font-weight:500}
.sf-hint{font-size:11px;color:var(--text-mute);font-weight:400}
.sf-field input,.sf-field select{padding:11px 14px;border-radius:10px;background:var(--bg-2);border:1px solid var(--border);color:var(--text);font-size:14px;font-family:inherit}
.sf-field input:focus,.sf-field select:focus{outline:none;border-color:var(--primary)}
.sf-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.channel-select{display:flex;flex-direction:column;gap:10px}
.channel-opt{display:flex;align-items:flex-start;gap:12px;padding:14px;border-radius:10px;background:var(--bg-2);border:1px solid var(--border);cursor:pointer;transition:all .2s}
.channel-opt:hover{border-color:var(--primary);background:rgba(99,102,241,.05)}
.channel-opt input[type="checkbox"]{margin-top:3px;width:16px;height:16px;accent-color:var(--primary)}
.channel-opt div{display:flex;flex-direction:column;gap:2px}
.ch-icon{font-size:20px}
.channel-opt strong{font-size:14px}
.channel-opt em{font-size:12px;color:var(--text-mute);font-style:normal}
#subSubmitBtn{align-self:flex-start}

/* 订阅卡片列表 */
.sub-list{display:flex;flex-direction:column;gap:14px}
.sub-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:20px}
.sc-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:14px}
.sc-keywords{display:flex;flex-wrap:wrap;gap:6px}
.sc-keyword{font-size:13px;padding:4px 12px;border-radius:999px;background:linear-gradient(135deg,rgba(99,102,241,.2),rgba(34,211,238,.15));color:var(--primary-2);border:1px solid rgba(99,102,241,.3);font-weight:500}
.sc-status{font-size:12px;font-weight:500}
.sc-status.active{color:#22c55e}
.sc-status.paused{color:#f59e0b}
.sc-status.error{color:#ef4444}
.sc-body{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px;margin-bottom:16px;padding-top:14px;border-top:1px solid var(--border)}
.sc-info{display:flex;flex-direction:column;gap:2px;font-size:12px}
.sc-info span{color:var(--text-mute)}
.sc-info strong{font-size:13px;font-weight:500}
.sc-actions{display:flex;gap:8px;padding-top:14px;border-top:1px solid var(--border)}
.btn-ghost.danger{color:#ef4444;border-color:rgba(239,68,68,.3)}
.btn-ghost.danger:hover{background:rgba(239,68,68,.1)}

/* 推送历史 */
.push-history{display:flex;flex-direction:column;gap:10px}
.ph-item{display:flex;align-items:center;gap:12px;padding:12px 16px;background:var(--surface);border:1px solid var(--border);border-radius:10px;font-size:13px}
.ph-item time{margin-left:auto;color:var(--text-mute);font-size:12px}
.ph-status{width:22px;height:22px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;flex-shrink:0}
.ph-status.ok{background:rgba(34,197,94,.15);color:#22c55e}
.ph-status.fail{background:rgba(239,68,68,.15);color:#ef4444}

/* 系统设置 */
.settings-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
.setting-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:20px}
.setting-card h4{font-size:14px;margin-bottom:10px}
.setting-card ul{list-style:none;padding:0}
.setting-card li{font-size:12px;color:var(--text-dim);padding:4px 0;padding-left:16px;position:relative}
.setting-card li::before{content:'•';position:absolute;left:0;color:var(--primary)}

@media(max-width:560px){
  .sf-row{grid-template-columns:1fr}
  .sc-body{grid-template-columns:1fr 1fr}
}

/* ===================================================================
   自动化收益系统
   =================================================================== */
.revenue-page{max-width:var(--maxw);margin:0 auto;padding:24px}
.rev-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:24px;flex-wrap:wrap}
.rev-header h1{font-size:26px;font-weight:800;background:var(--grad);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.rev-sub{color:var(--text-dim);font-size:13px;margin-top:4px}
.rev-target-badge{display:flex;align-items:center;gap:10px;background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:10px 16px}
.target-label{font-size:11px;color:var(--text-dim)}
.target-amount{font-size:20px;font-weight:700;color:var(--accent)}
.rev-loading,.rev-error,.rev-offline{text-align:center;padding:60px 20px;color:var(--text-dim);font-size:15px}
.rev-offline{background:rgba(245,158,11,.1);border:1px solid var(--amber);border-radius:10px;padding:12px;margin-bottom:16px}

/* KPI */
.kpi-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px;margin-bottom:20px}
.kpi-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:20px;display:flex;flex-direction:column;gap:6px}
.kpi-label{font-size:12px;color:var(--text-dim);text-transform:uppercase;letter-spacing:.5px}
.kpi-value{font-size:32px;font-weight:800;line-height:1.2}
.kpi-sub{font-size:12px;color:var(--text-mute)}
.kpi-ring{display:flex;align-items:center;justify-content:center}
.ring-svg{width:130px;height:130px}

/* 图表区 */
.chart-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:20px}
.chart-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:20px}
.chart-title{font-size:14px;font-weight:600;margin-bottom:16px;color:var(--text)}
.chart-empty{text-align:center;padding:40px;color:var(--text-mute);font-size:14px}
.chart-flex{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.pie-svg{width:160px;height:160px;flex-shrink:0}
.pie-legend{flex:1;min-width:120px}
.legend-row{display:flex;align-items:center;gap:6px;padding:5px 0;font-size:13px}
.legend-dot{width:10px;height:10px;border-radius:3px;flex-shrink:0}
.legend-name{flex:1;color:var(--text-dim)}
.legend-val{font-weight:600;color:var(--text)}
.bar-svg{width:100%;max-width:340px;height:auto}

/* 区块卡片 */
.section-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:20px;margin-bottom:20px}
.section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}
.section-title{font-size:14px;font-weight:600}

/* 渠道明细表 */
.rev-table{width:100%;border-collapse:collapse;font-size:13px}
.rev-table th{text-align:left;padding:10px 12px;color:var(--text-dim);font-weight:600;border-bottom:1px solid var(--border);font-size:12px;text-transform:uppercase;letter-spacing:.3px}
.rev-table td{padding:10px 12px;border-bottom:1px solid rgba(38,52,92,.5)}
.rev-table tfoot td{border-bottom:none;border-top:2px solid var(--border);font-weight:600}
.ch-icon{margin-right:4px}
.mini-bar{width:80px;height:6px;background:var(--surface-2);border-radius:3px;overflow:hidden}
.mini-bar-fill{height:100%;border-radius:3px;transition:width .4s}

/* 风险预警 */
.alert-list{display:flex;flex-direction:column;gap:12px}
.alert-card{background:var(--surface-2);border-left:3px solid var(--amber);border-radius:8px;padding:14px 16px}
.alert-head{display:flex;align-items:center;gap:8px;margin-bottom:8px}
.alert-sev{font-size:16px}
.alert-ch{background:var(--border);padding:2px 10px;border-radius:10px;font-size:12px;font-weight:600}
.alert-msg{font-size:13px;color:var(--text)}
.alert-detail{font-size:12px;color:var(--text-mute);margin-bottom:10px;font-family:monospace}
.alert-empty{text-align:center;padding:24px;color:var(--green);font-size:14px}
.alert-ack{margin-top:4px}

/* 操作面板 */
.action-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}
.action-btn{display:flex;flex-direction:column;align-items:center;gap:8px;padding:18px 12px;background:var(--surface-2);border:1px solid var(--border);border-radius:12px;cursor:pointer;transition:all .2s;color:var(--text);font-size:13px;font-family:inherit}
.action-btn:hover{border-color:var(--primary);background:rgba(99,102,241,.1);transform:translateY(-2px)}
.action-btn.danger:hover{border-color:var(--red);background:rgba(239,68,68,.1)}
.action-icon{font-size:24px}

.rev-footer{text-align:center;padding:16px;color:var(--text-mute);font-size:12px}

/* 模态框 */
.rev-modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,.6);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:9999;animation:fadeIn .2s}
.rev-modal{background:var(--surface);border:1px solid var(--border);border-radius:16px;width:90%;max-width:440px;box-shadow:var(--shadow)}
.rev-modal-head{display:flex;justify-content:space-between;align-items:center;padding:18px 20px;border-bottom:1px solid var(--border)}
.rev-modal-head h3{font-size:16px;font-weight:700}
.rev-modal-close{background:none;border:none;font-size:24px;color:var(--text-dim);cursor:pointer;line-height:1}
.rev-modal-close:hover{color:var(--text)}
.rev-modal-body{padding:20px}
.rev-form{display:flex;flex-direction:column;gap:14px}
.rev-form label{display:flex;flex-direction:column;gap:4px;font-size:13px;color:var(--text-dim)}
.rev-form input,.rev-form select{background:var(--bg-2);border:1px solid var(--border);border-radius:8px;padding:10px 12px;color:var(--text);font-size:14px;font-family:inherit}
.rev-form input:focus,.rev-form select:focus{outline:none;border-color:var(--primary)}
.rev-form button{margin-top:4px}
.rev-hint{font-size:12px;color:var(--text-mute);line-height:1.5}

@keyframes fadeIn{from{opacity:0}to{opacity:1}}

/* ===================================================================
   收益系统：加载/错误/空状态 UI
   =================================================================== */

/* 加载状态 */
.rev-state-loading .rev-loading-state{text-align:center;padding:48px 20px}
.rev-spinner{
  width:48px;height:48px;margin:0 auto 20px;
  border:4px solid var(--surface-2);
  border-top-color:var(--accent);
  border-radius:50%;
  animation:rev-spin .8s linear infinite;
}
@keyframes rev-spin{to{transform:rotate(360deg)}}
.rev-loading-text{color:var(--text-dim);font-size:14px;margin-bottom:32px}
.rev-skeleton-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;max-width:680px;margin:0 auto}
.rev-skel-card{
  height:110px;border-radius:12px;
  background:linear-gradient(90deg,var(--surface-2) 25%,var(--surface) 50%,var(--surface-2) 75%);
  background-size:200% 100%;
  animation:rev-shimmer 1.5s ease-in-out infinite;
}
@keyframes rev-shimmer{0%{background-position:200% 0}100%{background-position:-200% 0}}

/* 错误状态 */
.rev-state-error .rev-error-state{text-align:center;padding:48px 20px;max-width:520px;margin:0 auto}
.rev-error-icon{font-size:56px;margin-bottom:16px}
.rev-state-error h2{font-size:20px;margin-bottom:8px;color:var(--text)}
.rev-error-detail{font-size:13px;color:var(--text-mute);margin-bottom:8px}
.rev-error-detail code{background:var(--surface-2);padding:2px 6px;border-radius:4px;font-size:12px}
.rev-error-msg{font-size:13px;color:var(--red);margin-bottom:20px;word-break:break-all}
.rev-error-hint{text-align:left;background:var(--surface-2);border-radius:10px;padding:16px 20px;margin-bottom:24px;font-size:13px;color:var(--text-dim);line-height:1.8}
.rev-error-hint ul{margin:4px 0 0;padding-left:20px}
.rev-error-hint li{margin:2px 0}

/* 空状态 */
.rev-state-empty .rev-empty-state{text-align:center;padding:48px 20px;max-width:520px;margin:0 auto}
.rev-empty-icon{font-size:64px;margin-bottom:20px}
.rev-state-empty h2{font-size:20px;margin-bottom:12px;color:var(--text)}
.rev-empty-desc{font-size:14px;color:var(--text-dim);line-height:1.8;margin-bottom:28px}
.rev-empty-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-bottom:20px}
.rev-empty-hint{font-size:12px;color:var(--text-mute)}

/* 数据来源标识 */
.rev-data-source{
  font-size:11px;color:var(--text-mute);
  background:var(--surface-2);border-radius:8px;
  padding:8px 14px;margin-bottom:16px;
  display:flex;align-items:center;gap:6px;flex-wrap:wrap;
}
.rev-data-source code{background:var(--bg);padding:1px 5px;border-radius:3px;font-size:10px}

/* KPI 趋势行 */
.kpi-trend{font-size:11px;color:var(--text-mute);margin-top:4px;line-height:1.4}

/* 首页收益概览加载态 */
.rev-home-loading{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:4px}
.rev-home-skel{
  height:64px;border-radius:10px;
  background:linear-gradient(90deg,var(--surface-2) 25%,var(--surface) 50%,var(--surface-2) 75%);
  background-size:200% 100%;
  animation:rev-shimmer 1.5s ease-in-out infinite;
}
.rev-home-error{text-align:center;padding:24px 8px}
.rev-home-error p{color:var(--red);font-size:14px;margin-bottom:4px}
.rev-home-error-sub{color:var(--text-mute);font-size:12px}
.rev-home-empty{text-align:center;padding:24px 8px}
.rev-home-empty p{color:var(--text-dim);font-size:14px;margin-bottom:8px}
.rev-home-cta{color:var(--accent);font-size:13px;text-decoration:none}
.rev-home-cta:hover{text-decoration:underline}
.rev-home-footer{
  display:flex;align-items:center;gap:12px;flex-wrap:wrap;
  margin-top:12px;padding-top:12px;border-top:1px solid var(--surface-2);
  font-size:12px;color:var(--text-mute);
}
.rev-home-link{margin-left:auto;color:var(--accent);text-decoration:none;font-size:13px}
.rev-home-link:hover{text-decoration:underline}

/* 错误标签 */
.dash-tag-err{background:var(--red);color:#fff}

@media(max-width:768px){
  .kpi-row{grid-template-columns:1fr}
  .chart-row{grid-template-columns:1fr}
  .rev-header{flex-direction:column}
  .rev-skeleton-grid{grid-template-columns:1fr}
  .rev-home-loading{grid-template-columns:1fr 1fr}
}

/* ===================== 招聘信息板块 ===================== */
.jobs-page{padding:28px 0 60px;max-width:1180px;margin:0 auto}
.jobs-header{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:16px}
.jobs-header h1{font-size:28px;margin:0}
.jobs-sub{color:var(--text-dim);margin:6px 0 0;font-size:14px}
.jobs-actions{display:flex;gap:10px;flex-wrap:wrap}
.jobs-source-bar{background:var(--bg-2);border:1px solid var(--border);border-radius:10px;padding:10px 14px;font-size:13px;color:var(--text-dim);margin-bottom:18px}
.jobs-source-bar code{background:rgba(34,211,238,.12);color:var(--accent);padding:1px 6px;border-radius:5px;font-size:12px}
.jobs-source-bar b{color:var(--text)}

.jobs-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:20px}
.jobs-stat{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:16px}
.jobs-stat .num{font-size:24px;font-weight:700;color:var(--text)}
.jobs-stat .lbl{font-size:12px;color:var(--text-mute);margin-top:4px}

.jobs-sources{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:18px;margin-bottom:20px}
.jobs-sources h3{margin:0 0 6px;font-size:17px}
.jobs-sources-note{color:var(--text-mute);font-size:12.5px;margin:0 0 12px}
.jobs-sources-scroll{overflow-x:auto}
.jobs-sources-table{width:100%;border-collapse:collapse;font-size:13px;min-width:760px}
.jobs-sources-table th{text-align:left;color:var(--text-mute);font-weight:600;padding:8px 10px;border-bottom:1px solid var(--border);white-space:nowrap}
.jobs-sources-table td{padding:10px;border-bottom:1px solid rgba(38,52,92,.5);color:var(--text-dim);vertical-align:top}
.src-type{display:inline-block;font-size:11px;padding:2px 8px;border-radius:6px;background:rgba(255,255,255,.06);border:1px solid var(--border);color:var(--text-dim)}
.src-rss{color:var(--blue);border-color:rgba(59,130,246,.4)}
.src-api{color:var(--green);border-color:rgba(34,197,94,.4)}
.src-manual{color:var(--amber);border-color:rgba(245,158,11,.4)}
.src-status{display:inline-block;font-size:12px;font-weight:600}
.src-ok{color:var(--green)}
.src-err{color:var(--red)}
.src-idle{color:var(--text-mute)}
.src-off{color:var(--text-mute)}
.src-err-detail{font-size:11px;color:var(--red);margin-top:3px;max-width:200px}
.src-note{font-size:12px;color:var(--text-mute);max-width:280px}

.jobs-filters{display:flex;gap:12px;margin-bottom:18px;flex-wrap:wrap}
.jobs-search{flex:1;min-width:220px;padding:11px 14px;border-radius:10px;background:var(--surface);border:1px solid var(--border);color:var(--text);font-size:14px;font-family:inherit}
.jobs-select{padding:11px 14px;border-radius:10px;background:var(--surface);border:1px solid var(--border);color:var(--text);font-size:14px;font-family:inherit;min-width:150px}

.jobs-list{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.job-card{display:flex;gap:14px;background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:16px;transition:all .2s}
.job-card:hover{border-color:var(--accent);transform:translateY(-2px)}
.job-thumb{width:84px;height:84px;border-radius:10px;flex-shrink:0;background-size:cover;background-position:center;background-color:var(--bg-2)}
.job-thumb-icon{display:flex;align-items:center;justify-content:center;font-size:30px}
.job-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px}
.job-meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.job-badge{font-size:11px;font-weight:600;padding:2px 9px;border-radius:6px}
.job-cat{font-size:11px;color:var(--text-mute);background:rgba(255,255,255,.05);padding:2px 8px;border-radius:6px}
.job-manual{color:var(--amber);border:1px solid rgba(245,158,11,.4)}
.job-title{font-size:16px;margin:0;line-height:1.4}
.job-title a{color:var(--text);text-decoration:none}
.job-title a:hover{color:var(--accent);text-decoration:underline}
.job-desc{font-size:13px;color:var(--text-dim);margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.job-foot{display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:12px;color:var(--text-mute);margin-top:auto}
.job-foot span{white-space:nowrap}
.job-link{margin-left:auto;color:var(--accent);text-decoration:none;font-weight:600;white-space:nowrap}
.job-link:hover{text-decoration:underline}
.jobs-noresult{grid-column:1/-1;text-align:center;color:var(--text-mute);padding:40px;background:var(--surface);border:1px dashed var(--border);border-radius:12px}

/* 模态框 */
.modal-overlay{position:fixed;inset:0;background:rgba(3,7,18,.7);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}
.modal{background:var(--surface);border:1px solid var(--border);border-radius:14px;width:100%;max-width:520px;padding:22px;max-height:90vh;overflow:auto}
.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}
.modal-head h3{margin:0;font-size:18px}
.modal-close{background:none;border:none;color:var(--text-dim);font-size:18px;cursor:pointer}
.modal-note{font-size:12.5px;color:var(--text-mute);margin:0 0 14px}
.modal-form{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.modal-form label{display:flex;flex-direction:column;gap:5px;font-size:12px;color:var(--text-dim)}
.modal-form input,.modal-form textarea{padding:10px 12px;border-radius:9px;background:var(--bg-2);border:1px solid var(--border);color:var(--text);font-size:14px;font-family:inherit}
.modal-form label.modal-full{grid-column:1/-1}
.modal-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:4px}
.modal-actions.modal-full{grid-column:1/-1}

.rev-empty-actions{display:flex;gap:10px;justify-content:center;margin-top:16px}

/* ---------- 外部收入源面板 ---------- */
.income-sources-card{margin-top:18px}
.income-hint{color:var(--text-dim);font-size:13px;line-height:1.6;margin:6px 0 14px}
.income-hint code{background:var(--surface-2);padding:1px 6px;border-radius:5px}
.income-list{display:flex;flex-direction:column;gap:10px}
.income-item{display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:14px 16px;border:1px solid var(--border);border-radius:12px;background:var(--surface-2)}
.income-item.on{border-color:var(--green);background:color-mix(in srgb,var(--green) 7%,var(--surface-2))}
.income-name{font-weight:600;color:var(--text)}
.income-doc{font-size:12px;color:var(--text-mute);margin-top:3px}
.income-doc a{color:var(--accent)}
.income-note{font-size:12px;color:var(--text-dim);margin-top:4px}
.income-hint-badge{display:inline-block;margin-top:6px;padding:3px 8px;border-radius:6px;font-size:12px;background:rgba(56,189,248,.12);color:#38bdf8;border:1px solid rgba(56,189,248,.25)}
.income-item.off .income-hint-badge{background:rgba(251,191,36,.12);color:#fbbf24;border-color:rgba(251,191,36,.3)}
.income-status{display:flex;align-items:center;gap:12px;flex-shrink:0}
.income-actions{display:flex;gap:8px}
.badge{font-size:12px;font-weight:600;padding:3px 10px;border-radius:999px;white-space:nowrap}
.badge-on{background:var(--green);color:#06281a}
.badge-cfg{background:color-mix(in srgb,var(--amber) 22%,transparent);color:var(--amber)}
.badge-off{background:var(--surface-3);color:var(--text-mute)}
.income-lastrun{margin-top:12px;font-size:12px;color:var(--text-mute)}
.income-empty{color:var(--text-mute);font-size:13px;padding:8px 0}

@media(max-width:768px){
  .jobs-stats{grid-template-columns:1fr 1fr}
  .jobs-list{grid-template-columns:1fr}
  .picks-stats{grid-template-columns:1fr 1fr}
  .picks-list{grid-template-columns:1fr}
  .modal-form{grid-template-columns:1fr}
}

/* ---------- 科研好物推荐板块 ---------- */
.picks-page{padding:28px 0 60px;max-width:1180px;margin:0 auto}
.picks-header{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:16px}
.picks-header h1{font-size:28px;margin:0}
.picks-sub{color:var(--text-dim);margin:6px 0 0;font-size:14px}
.picks-actions{display:flex;gap:10px;flex-wrap:wrap}
.picks-source-bar{background:var(--bg-2);border:1px solid var(--border);border-radius:10px;padding:10px 14px;font-size:13px;color:var(--text-dim);margin-bottom:18px}
.picks-source-bar code{background:rgba(34,211,238,.12);color:var(--accent);padding:1px 6px;border-radius:5px;font-size:12px}
.picks-source-bar b{color:var(--text)}
.picks-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:20px}
.picks-stat{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:16px;text-align:center}
.picks-stat .num{font-size:24px;font-weight:700;color:var(--text)}
.picks-stat .lbl{font-size:12px;color:var(--text-mute);margin-top:4px}
.picks-filters{display:flex;gap:12px;margin-bottom:18px;flex-wrap:wrap}
.picks-search{flex:1;min-width:220px;padding:11px 14px;border-radius:10px;background:var(--surface);border:1px solid var(--border);color:var(--text);font-size:14px;font-family:inherit}
.picks-select{padding:11px 14px;border-radius:10px;background:var(--surface);border:1px solid var(--border);color:var(--text);font-size:14px;font-family:inherit;min-width:160px}
.picks-list{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.picks-noresult{grid-column:1/-1;text-align:center;color:var(--text-mute);padding:40px;background:var(--surface);border:1px dashed var(--border);border-radius:12px}
.pick-card{position:relative;background:var(--surface);border:1px solid var(--border);border-radius:14px;overflow:hidden;display:flex;flex-direction:column;transition:transform .15s,border-color .15s,box-shadow .15s}
.pick-card:hover{transform:translateY(-3px);border-color:var(--primary);box-shadow:var(--shadow)}
.pick-thumb{height:150px;background-size:cover;background-position:center;background-color:var(--bg-2)}
.pick-thumb-icon{display:flex;align-items:center;justify-content:center;font-size:48px}
.pick-body{padding:14px 16px 16px;display:flex;flex-direction:column;gap:8px;flex:1}
.pick-meta{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.pick-tag{font-size:11px;padding:3px 9px;border-radius:999px;font-weight:600;white-space:nowrap}
.pick-source{font-size:11px;color:var(--text-mute);background:var(--surface-2);padding:3px 9px;border-radius:999px;white-space:nowrap}
.pick-affiliate{font-size:11px;font-weight:600;color:#16a34a;background:#16a34a1a;padding:3px 9px;border-radius:999px;white-space:nowrap;border:1px solid #16a34a40}
.pick-title{font-size:16px;font-weight:700;line-height:1.4;margin:0}
.pick-title a{color:var(--text);text-decoration:none}
.pick-title a:hover{color:var(--primary-2)}
.pick-reason{font-size:13px;color:var(--text-dim);line-height:1.6;margin:0;flex:1}
.pick-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:4px}
.pick-price{font-size:18px;font-weight:800;color:#fb7185}
.pick-price-old{font-size:12px;font-weight:500;color:var(--text-mute);text-decoration:line-through;margin-left:6px}
.pick-link{font-size:13px;color:var(--primary-2);font-weight:600;white-space:nowrap}
.pick-del{position:absolute;top:8px;right:8px;width:30px;height:30px;border:none;border-radius:8px;background:rgba(11,16,32,.6);color:#fff;font-size:14px;cursor:pointer;opacity:0;transition:opacity .15s}
.pick-card:hover .pick-del{opacity:1}
.pick-del:hover{background:rgba(244,63,94,.85)}

/* ---------- 赞助/打赏 悬浮按钮 ---------- */
.sponsor-fab{
  position:fixed;right:22px;bottom:22px;z-index:60;
  padding:11px 18px;border:none;border-radius:999px;cursor:pointer;
  font-size:15px;font-weight:700;color:#fff;
  background:linear-gradient(135deg,#ff5f87,#ff2d55);
  box-shadow:0 8px 22px rgba(255,45,85,.38);
  transition:transform .15s ease, box-shadow .15s ease;
}
.sponsor-fab:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(255,45,85,.5)}
@media(max-width:768px){.sponsor-fab{right:14px;bottom:14px;padding:10px 14px;font-size:14px}}

/* ---------- 赞助弹窗 ---------- */
.sponsor-sub{color:#aab4cc;font-size:13.5px;line-height:1.6;margin:0 0 16px}
.sponsor-amounts{display:flex;gap:10px;margin:6px 0 18px}
.sponsor-amt{
  flex:1;padding:14px 0;border:1.5px solid var(--border,#2b3656);border-radius:12px;
  background:var(--surface,#1b2238);color:var(--text,#e9eefb);font-size:17px;font-weight:700;cursor:pointer;
  transition:border-color .15s,background .15s,transform .1s;
}
.sponsor-amt:hover{transform:translateY(-1px)}
.sponsor-amt.active{border-color:var(--red,#ff4d6d);background:rgba(255,77,109,.12);color:#fff}
.ck-email{
  width:100%;padding:11px 12px;border:1.5px solid var(--border,#2b3656);border-radius:10px;
  background:var(--bg,#0f1424);color:var(--text,#e9eefb);font-size:14px;box-sizing:border-box;
}
.ck-recorded{color:var(--green,#34d399)!important}
.sponsor-modal .modal-close{font-size:24px}

/* ============================================================
   学术会议信息板块
   ============================================================ */
.conf-page{max-width:1200px;margin:0 auto;padding:0 16px 40px}
.conf-header{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:12px;margin:24px 0 16px}
.conf-header h1{font-size:28px;margin:0}
.conf-sub{color:#9aa7c7;margin:4px 0 0;font-size:14px}
.conf-actions{display:flex;gap:8px;flex-wrap:wrap}
.conf-source-bar{
  background:rgba(59,130,246,.08);border:1px solid rgba(59,130,246,.2);border-radius:10px;
  padding:10px 16px;font-size:13px;color:#9aa7c7;margin-bottom:16px;line-height:1.6;
}
.conf-source-bar code{background:rgba(255,255,255,.06);padding:1px 6px;border-radius:4px;font-size:12px;color:#60a5fa}
.conf-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:20px}
.conf-stat{background:var(--surface,#1b2238);border:1px solid var(--border,#2b3656);border-radius:12px;padding:16px;text-align:center}
.conf-stat .num{font-size:28px;font-weight:800;color:var(--text,#e9eefb);line-height:1.2}
.conf-stat .lbl{font-size:12px;color:#9aa7c7;margin-top:4px}
.conf-major-bar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.conf-major-tab{
  display:flex;align-items:center;gap:6px;padding:8px 16px;border-radius:10px;
  border:1.5px solid var(--border,#2b3656);background:var(--surface,#1b2238);
  color:var(--text,#e9eefb);font-size:13px;font-weight:600;cursor:pointer;
  transition:border-color .15s,background .15s;
}
.conf-major-tab:hover{border-color:#3b82f6}
.conf-major-tab.active{border-color:#3b82f6;background:rgba(59,130,246,.12)}
.conf-major-icon{font-size:16px}
.conf-major-count{font-size:11px;background:rgba(255,255,255,.08);padding:1px 7px;border-radius:20px;color:#9aa7c7}
.conf-major-tab.active .conf-major-count{background:rgba(59,130,246,.2);color:#60a5fa}
.conf-minor-bar{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:12px;padding:8px 0}
.conf-minor-tab{
  padding:5px 12px;border-radius:8px;border:1px solid transparent;
  background:transparent;color:#9aa7c7;font-size:12px;cursor:pointer;
  transition:background .15s,color .15s;
}
.conf-minor-tab:hover{color:var(--text,#e9eefb);background:rgba(255,255,255,.04)}
.conf-minor-tab.active{background:rgba(59,130,246,.12);color:#60a5fa;border-color:rgba(59,130,246,.25)}
.conf-filters{display:flex;gap:10px;margin-bottom:16px;flex-wrap:wrap}
.conf-search{flex:1;min-width:200px;padding:10px 14px;border:1.5px solid var(--border,#2b3656);border-radius:10px;background:var(--bg,#0f1424);color:var(--text,#e9eefb);font-size:14px;box-sizing:border-box}
.conf-search:focus{outline:none;border-color:#3b82f6}
.conf-select{padding:10px 14px;border:1.5px solid var(--border,#2b3656);border-radius:10px;background:var(--bg,#0f1424);color:var(--text,#e9eefb);font-size:14px;cursor:pointer}
.conf-list{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.conf-card{
  background:var(--surface,#1b2238);border:1px solid var(--border,#2b3656);border-radius:14px;
  padding:18px;transition:border-color .15s,transform .1s;display:flex;flex-direction:column;gap:8px;
}
.conf-card:hover{border-color:rgba(59,130,246,.35);transform:translateY(-1px)}
.conf-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}
.conf-card-title h3{font-size:16px;margin:0;line-height:1.3}
.conf-acronym{font-size:12px;color:#60a5fa;font-weight:700;margin-top:2px;display:inline-block}
.conf-status-badge{font-size:11px;font-weight:700;padding:3px 10px;border-radius:20px;white-space:nowrap;flex-shrink:0}
.conf-status-upcoming{background:rgba(59,130,246,.12);color:#60a5fa}
.conf-status-soon{background:rgba(245,158,11,.12);color:#f59e0b}
.conf-status-ongoing{background:rgba(16,185,129,.12);color:#34d399}
.conf-status-ended{background:rgba(100,116,139,.12);color:#94a3b8}
.conf-status-tbd{background:rgba(100,116,139,.08);color:#64748b}
.conf-fullname{font-size:12.5px;color:#9aa7c7;margin:0;line-height:1.4}
.conf-desc{font-size:13px;color:#aab4cc;margin:0;line-height:1.5;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.conf-card-meta{display:flex;flex-wrap:wrap;gap:8px 14px;font-size:12.5px;color:#9aa7c7}
.conf-meta-item{display:flex;align-items:center;gap:3px}
.conf-deadline{color:#f59e0b;font-weight:600}
.conf-card-foot{display:flex;align-items:center;gap:8px;margin-top:auto;padding-top:8px;border-top:1px solid var(--border,#2b3656)}
.conf-disc{font-size:11px;background:rgba(139,92,246,.1);color:#a78bfa;padding:2px 8px;border-radius:6px}
.conf-link{font-size:12.5px;color:#60a5fa;text-decoration:none;margin-left:auto;font-weight:600}
.conf-link:hover{text-decoration:underline}
.conf-del{font-size:14px;background:none;border:none;color:#64748b;cursor:pointer;padding:4px;border-radius:6px}
.conf-del:hover{background:rgba(239,68,68,.1);color:#ef4444}
.conf-noresult{text-align:center;color:#9aa7c7;padding:40px 16px;grid-column:1/-1}
.conf-loading-state{text-align:center;padding:40px 16px}
@media(max-width:768px){
  .conf-stats{grid-template-columns:repeat(2,1fr)}
  .conf-list{grid-template-columns:1fr}
  .conf-header{flex-direction:column}
}

/* ============================================================
   首页好物推广 Banner / CTA
   ============================================================ */
.picks-cta-banner{
  background:linear-gradient(135deg,rgba(59,130,246,.12),rgba(139,92,246,.12));
  border:1.5px solid rgba(59,130,246,.2);border-radius:16px;
  padding:24px 28px;margin:0 0 28px;display:flex;align-items:center;gap:20px;
  flex-wrap:wrap;position:relative;overflow:hidden;
}
.picks-cta-banner::before{
  content:'';position:absolute;top:-50%;right:-10%;width:300px;height:300px;
  background:radial-gradient(circle,rgba(59,130,246,.08),transparent 70%);
  pointer-events:none;
}
.picks-cta-icon{font-size:42px;flex-shrink:0;filter:drop-shadow(0 2px 8px rgba(59,130,246,.3))}
.picks-cta-text{flex:1;font-size:14px;color:#9aa7c7;line-height:1.6}
.picks-cta-text b{color:var(--text,#e9eefb)}
.picks-cta-body{flex:1;min-width:200px}
.picks-cta-body h2{font-size:20px;margin:0 0 4px;color:var(--text,#e9eefb)}
.picks-cta-body p{font-size:13.5px;color:#9aa7c7;margin:0;line-height:1.5}
.picks-cta-btn{
  display:inline-flex;align-items:center;gap:6px;padding:12px 28px;
  background:linear-gradient(135deg,#3b82f6,#6366f1);color:#fff;
  border-radius:12px;font-size:15px;font-weight:700;text-decoration:none;
  transition:transform .15s,box-shadow .15s;flex-shrink:0;
  box-shadow:0 4px 16px rgba(59,130,246,.3);
}
.picks-cta-btn:hover{transform:translateY(-2px);box-shadow:0 6px 24px rgba(59,130,246,.4)}
.picks-cta-btn .arrow{transition:transform .2s}
.picks-cta-btn:hover .arrow{transform:translateX(4px)}
.home-service-picks{
  background:linear-gradient(135deg,rgba(249,115,22,.08),rgba(245,158,11,.08));
  border:1.5px solid rgba(249,115,22,.2);
}
.home-service-picks .service-icon{font-size:32px}
.home-service-picks:hover{border-color:rgba(249,115,22,.4)}

