/* ============ 站长工具箱 完整样式（蓝色主题） ============ */
:root{
  /* 主色：蓝色 */
  --blue:#3b82f6; --blue-dark:#2563eb; --blue-light:#60a5fa;
  --blue-bg:#eff6ff; --blue-border:#bfdbfe;

  /* 辅助色：绿色（保留一些点缀） */
  --green:#10b981; --green-dark:#059669; --green-light:#34d399;

  /* 主色别名 */
  --primary:#3b82f6; --primary-dark:#2563eb; --primary-light:#60a5fa;

  /* 基础色 */
  --ink:#0f172a; --ink-2:#1e293b;
  --bg:#f8fafc; --card:#fff;
  --text:#1f2937; --muted:#6b7280;
  --line:#e5e9f0;
  --radius:16px;
  --shadow:0 4px 18px rgba(15,23,42,.06);
  --shadow-lg:0 14px 40px rgba(59,130,246,.16);
}
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",Arial,sans-serif;
  background:var(--bg);color:var(--text);line-height:1.65;-webkit-font-smoothing:antialiased}
a{text-decoration:none;color:inherit;transition:.2s}
img{max-width:100%;display:block}
.container{max-width:1180px;margin:0 auto;padding:0 20px}
.muted{color:var(--muted)}

/* ========== 顶部深色导航 ========== */
.topbar{background:var(--ink);color:#fff;position:sticky;top:0;z-index:900;box-shadow:0 2px 12px rgba(0,0,0,.08)}
.topbar-inner{display:flex;align-items:center;justify-content:space-between;height:62px;gap:12px}
.brand{display:flex;align-items:center;gap:9px;font-weight:800;font-size:18px;color:#fff;flex-shrink:0}
.brand-mark{width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,var(--blue),var(--blue-dark));border-radius:9px;font-size:16px}
.topnav{display:flex;align-items:center;gap:2px;flex-wrap:wrap}
.topnav a{padding:8px 13px;border-radius:9px;font-size:14px;color:rgba(255,255,255,.82);white-space:nowrap}
.topnav a:hover{background:rgba(59,130,246,.18);color:#fff}
.burger{display:none;background:none;border:none;cursor:pointer;padding:8px}
.burger span{display:block;width:22px;height:2px;background:#fff;border-radius:2px;margin:4px 0;transition:.2s}

/* 顶部用户入口 */
.topbar-user{display:flex;align-items:center;gap:8px;margin-left:12px;flex-shrink:0}
.user-btn{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;border-radius:9px;
  font-size:13.5px;color:rgba(255,255,255,.9);transition:.2s;white-space:nowrap}
.user-btn:hover{background:rgba(255,255,255,.1);color:#fff}
.user-btn.ghost{background:transparent;border:1px solid rgba(255,255,255,.25)}
.user-btn.ghost:hover{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.5)}
.user-btn.solid{background:linear-gradient(135deg,var(--blue),var(--blue-dark));color:#fff;font-weight:600;border:none}
.user-btn.solid:hover{opacity:.92;transform:translateY(-1px)}
.user-btn-icon{font-size:15px}
.user-btn-name{max-width:80px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* ========== HERO（大搜索框版） ========== */
.hero{background:linear-gradient(135deg,#1e3a8a 0%,#1e40af 50%,#3b82f6 100%);
  color:#fff;padding:50px 0 40px;position:relative;overflow:hidden}
.hero::before{content:"";position:absolute;right:-10%;top:-40%;width:520px;height:520px;border-radius:50%;
  background:radial-gradient(circle,rgba(255,255,255,.15),transparent 70%)}
.hero::after{content:"";position:absolute;left:-8%;bottom:-40%;width:400px;height:400px;border-radius:50%;
  background:radial-gradient(circle,rgba(59,130,246,.25),transparent 70%)}
.hero-inner{position:relative;z-index:1}
.hero-center{text-align:center;max-width:820px;margin:0 auto}
.hero-badge{display:inline-flex;align-items:center;gap:6px;
  background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.25);
  color:#bfdbfe;font-size:13px;font-weight:600;
  padding:5px 14px;border-radius:20px;margin-bottom:16px}
.hero-center h1{font-size:42px;font-weight:800;letter-spacing:-.6px;margin-bottom:10px;line-height:1.2}
.hero-center p{font-size:15.5px;color:rgba(255,255,255,.85);margin-bottom:26px}

.hero-big-search{
  display:flex;max-width:720px;margin:0 auto 18px;
  background:#fff;border-radius:14px;overflow:hidden;
  box-shadow:0 16px 40px rgba(0,0,0,.2);
}
.hero-big-search input{
  flex:1;border:none;outline:none;padding:18px 22px;
  font-size:16px;color:#1f2937;background:#fff;
}
.hero-big-search input::placeholder{color:#94a3b8}
.hero-big-search button{
  border:none;cursor:pointer;padding:0 32px;
  background:linear-gradient(135deg,var(--blue),var(--blue-dark));
  color:#fff;font-size:15.5px;font-weight:700;
  transition:.2s;white-space:nowrap;
}
.hero-big-search button:hover{opacity:.92}

.hero-quick{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}
.quick-btn{display:inline-block;padding:8px 18px;border-radius:10px;
  background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);
  color:#fff;font-size:13.5px;font-weight:600;transition:.2s}
.quick-btn:hover{background:rgba(255,255,255,.22);border-color:rgba(255,255,255,.4)}

/* Hero 底部小链接 */
.hero-links{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:22px}
.hero-links-track{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}
.hero-link{display:inline-block;padding:5px 14px;
  background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);
  border-radius:18px;font-size:12.5px;font-weight:600;transition:.2s}
.hero-link:hover{background:rgba(255,255,255,.18)}

/* ========== 📊 实时统计 ========== */
.stats-bar{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:24px 0}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.stat-item{text-align:center}
.stat-num{font-size:28px;font-weight:800;color:var(--blue-dark);line-height:1.2;letter-spacing:-.5px}
.stat-label{font-size:13px;color:var(--muted);margin-top:6px}

/* ========== 📢 中部文字广告 ========== */
.mid-ads{background:linear-gradient(135deg,#eff6ff 0%,#dbeafe 100%);
  border-top:1px solid #bfdbfe;border-bottom:1px solid #bfdbfe;
  padding:22px 0;margin:30px 0}
.mid-ads-title{text-align:center;font-size:14px;font-weight:700;color:var(--blue-dark);
  margin-bottom:16px;letter-spacing:.3px}
.mid-ads-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px 20px}
.mid-ad-link{display:flex;align-items:center;gap:8px;padding:9px 16px;
  background:rgba(255,255,255,.6);border:1px solid #bfdbfe;border-radius:10px;
  font-size:13.5px;font-weight:600;text-decoration:none;transition:.2s}
.mid-ad-link:hover{background:#fff;border-color:var(--blue);transform:translateY(-1px)}
.mal-dot{width:6px;height:6px;border-radius:50%;flex-shrink:0}

/* ========== 区块标题 ========== */
.section{padding:34px 0}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:20px;gap:16px;flex-wrap:wrap}
.section-head h2{font-size:22px;font-weight:800;letter-spacing:-.3px}
.section-head p{color:var(--muted);font-size:13.5px}
.section-head .line{flex:1;height:1px;background:var(--line);margin-bottom:10px}

/* ========== 🔥 热门工具榜 / 🆕 最新上线 ========== */
.hot-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.hot-card{display:flex;align-items:center;gap:11px;
  background:#fff;border-radius:13px;padding:13px 14px;
  border:1px solid var(--line);box-shadow:var(--shadow);
  transition:.22s;position:relative;overflow:hidden}
.hot-card:hover{transform:translateY(-3px);border-color:var(--blue-border);box-shadow:var(--shadow-lg)}
.hot-rank{flex-shrink:0;width:28px;height:28px;border-radius:8px;
  display:flex;align-items:center;justify-content:center;
  font-size:13px;font-weight:800;color:#94a3b8;background:#f1f5f9}
.hot-rank-1{background:linear-gradient(135deg,#fbbf24,#f59e0b);color:#fff;box-shadow:0 3px 10px rgba(245,158,11,.4)}
.hot-rank-2{background:linear-gradient(135deg,#94a3b8,#64748b);color:#fff;box-shadow:0 3px 10px rgba(100,116,139,.35)}
.hot-rank-3{background:linear-gradient(135deg,#d97706,#b45309);color:#fff;box-shadow:0 3px 10px rgba(180,83,9,.35)}
.new-rank{background:linear-gradient(135deg,var(--blue),var(--blue-dark));color:#fff;font-size:8.5px;letter-spacing:.5px;box-shadow:0 3px 10px rgba(59,130,246,.35)}
.hot-icon{flex-shrink:0;width:38px;height:38px;border-radius:10px;background:var(--blue-bg);
  display:flex;align-items:center;justify-content:center;font-size:19px}
.hot-info{flex:1;min-width:0}
.hot-info h4{font-size:13.5px;font-weight:700;margin-bottom:2px;color:var(--text);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hot-info p{font-size:11px;color:var(--muted);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* ========== 分类标签 ========== */
.cat-tabs{display:flex;gap:8px;flex-wrap:wrap;padding:6px 0 20px;margin-bottom:6px;border-bottom:1px solid var(--line)}
.cat-tab{display:inline-flex;align-items:center;gap:7px;padding:8px 15px;border-radius:11px;
  border:1.5px solid var(--line);background:#fff;font-size:13.5px;font-weight:600;color:#4b5563;
  cursor:pointer;transition:.2s;font-family:inherit;white-space:nowrap}
.cat-tab:hover{border-color:var(--blue-border);color:var(--blue-dark);background:var(--blue-bg)}
.cat-tab.active{background:linear-gradient(135deg,var(--blue),var(--blue-dark));color:#fff;
  border-color:transparent;box-shadow:0 4px 14px rgba(59,130,246,.28)}
.cat-tab .ic{font-size:14px}
.cat-tab > span{background:rgba(0,0,0,.06);color:inherit;font-size:11px;font-weight:600;
  padding:1px 7px;border-radius:10px;line-height:1.4}
.cat-tab.active > span{background:rgba(255,255,255,.22)}

/* ========== 分类分组 ========== */
.cat-group{margin-bottom:34px}
.cat-group-title{display:flex;align-items:center;gap:10px;
  font-size:19px;font-weight:800;color:var(--text);
  margin-bottom:16px;padding-bottom:12px;
  border-bottom:2px solid #f1f5f9}
.cat-group-title .cgt-icon{width:36px;height:36px;border-radius:10px;
  background:var(--blue-bg);
  display:inline-flex;align-items:center;justify-content:center;
  font-size:18px}
.cat-group-title .cgt-count{margin-left:auto;
  background:#f1f5f9;color:#6b7280;
  font-size:12px;font-weight:600;
  padding:3px 10px;border-radius:10px}

/* ========== 工具网格（3 列） ========== */
.grid{display:grid;gap:14px;margin-top:4px}
.grid-3{grid-template-columns:repeat(3,1fr)}

.card{background:var(--card);border-radius:14px;
  padding:18px 20px;
  border:1px solid var(--line);box-shadow:var(--shadow);
  position:relative;overflow:hidden;
  display:flex;align-items:center;gap:14px;
  transition:.25s}
.card::after{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;
  background:linear-gradient(180deg,var(--blue),var(--blue-dark));
  transform:scaleY(0);transform-origin:top;transition:.3s}
.card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg);border-color:var(--blue-border)}
.card:hover::after{transform:scaleY(1)}
.card-icon{width:48px;height:48px;border-radius:13px;background:#f1f5f9;
  display:flex;align-items:center;justify-content:center;
  font-size:24px;flex-shrink:0;transition:.25s}
.card:hover .card-icon{background:var(--blue-bg);transform:scale(1.06)}
.card-body{flex:1;min-width:0}
.card h4{font-size:15px;font-weight:700;margin-bottom:4px;color:var(--text);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.card p{font-size:12.5px;color:var(--muted);line-height:1.55;
  display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.card-arrow{flex-shrink:0;width:26px;height:26px;border-radius:50%;
  background:#f1f5f9;color:#94a3b8;
  display:flex;align-items:center;justify-content:center;
  font-size:13px;font-weight:700;
  transition:.25s;opacity:0;transform:translateX(-6px)}
.card:hover .card-arrow{background:var(--blue);color:#fff;opacity:1;transform:translateX(0)}

/* ========== 提交工具 CTA ========== */
.cta-box{background:#fff;border:1px solid var(--blue-border);
  border-radius:20px;padding:22px 28px;
  display:flex;align-items:center;justify-content:space-between;
  gap:20px;flex-wrap:wrap;
  box-shadow:0 4px 20px rgba(59,130,246,.06)}
.cta-left{display:flex;align-items:center;gap:16px;flex:1;min-width:240px}
.cta-icon{width:48px;height:48px;border-radius:14px;
  background:linear-gradient(135deg,var(--blue),var(--blue-dark));
  color:#fff;font-size:22px;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 6px 16px rgba(59,130,246,.3);
  flex-shrink:0}
.cta-text h3{font-size:16px;font-weight:800;color:var(--text);margin-bottom:3px}
.cta-text p{font-size:13px;color:var(--muted)}
.cta-btns{display:flex;gap:10px;flex-wrap:wrap}
.btn-ghost{background:#f1f5f9;color:#334155;border:1.5px solid var(--line)}
.btn-ghost:hover{background:#fff;border-color:var(--blue-light);color:var(--blue-dark)}

/* ========== 特性条 ========== */
.features{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:34px 0}
.feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.feature{display:flex;gap:13px;align-items:flex-start}
.feature .fi{width:42px;height:42px;border-radius:12px;background:var(--blue-bg);display:flex;align-items:center;
  justify-content:center;font-size:20px;flex-shrink:0}
.feature h4{font-size:14.5px;font-weight:700;margin-bottom:4px}
.feature p{font-size:12.5px;color:var(--muted);line-height:1.6}

/* ========== 广告 ========== */
.ad-wrap{margin:18px 0;text-align:center}
.ad-item{margin-bottom:12px}
.ad-item:last-child{margin-bottom:0}
.ad-item img{margin:0 auto;border-radius:12px;max-width:100%}
.ad-text{display:block;padding:11px 20px;background:#fff;border:1px dashed var(--blue-border);border-radius:12px;
  color:var(--blue-dark);font-weight:600;font-size:14.5px;transition:.2s}
.ad-text:hover{background:var(--blue-bg);border-color:var(--blue)}

/* ========== 工具页 ========== */
.page-wrap{padding:24px 0 60px}
.crumb{font-size:13px;color:var(--muted);margin-bottom:18px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.crumb a{color:var(--blue-dark)}
.crumb a:hover{text-decoration:underline}
.crumb .sep{color:#cbd5e1}
.tool-layout{display:grid;grid-template-columns:1fr 300px;gap:24px;align-items:start}
.tool-hero{background:#fff;border-radius:var(--radius);padding:24px;display:flex;gap:18px;align-items:center;
  margin-bottom:20px;border:1px solid var(--line);box-shadow:var(--shadow);position:relative;overflow:hidden}
.tool-hero::before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;
  background:linear-gradient(180deg,var(--blue),var(--blue-dark))}
.tool-hero-icon{width:60px;height:60px;border-radius:14px;background:var(--blue-bg);display:flex;align-items:center;
  justify-content:center;font-size:28px;flex-shrink:0}
.tool-hero h1{font-size:21px;font-weight:800;margin-bottom:4px}
.tool-hero p{font-size:13.5px;color:var(--muted)}
.tool-body{background:#fff;border-radius:var(--radius);padding:6px 24px 24px;border:1px solid var(--line);box-shadow:var(--shadow)}
.panel{padding:22px 0;border-bottom:1px solid #f1f5f9}
.panel:last-child{border-bottom:none}
.panel h3{font-size:16px;font-weight:700;margin-bottom:14px;display:flex;align-items:center;gap:8px}
.panel h3::before{content:"";width:4px;height:16px;border-radius:3px;background:var(--blue)}

/* ========== 侧栏 ========== */
.sidebar{position:sticky;top:80px;display:flex;flex-direction:column;gap:18px}
.side-card{background:#fff;border-radius:var(--radius);padding:20px;border:1px solid var(--line);box-shadow:var(--shadow)}
.side-card h4{font-size:14.5px;font-weight:700;margin-bottom:12px;padding-bottom:10px;
  border-bottom:1px solid var(--line);display:flex;gap:7px;align-items:center}
.side-card h4::before{content:"";width:3px;height:14px;background:var(--blue);border-radius:2px}
.side-list{display:flex;flex-direction:column;gap:2px}
.side-list a{display:flex;align-items:center;gap:9px;padding:9px 11px;border-radius:9px;font-size:13.8px;color:#4b5563}
.side-list a:hover,.side-list a.active{background:var(--blue-bg);color:var(--blue-dark);font-weight:600}
.side-list a .ic{
  font-size:15px;
  width:24px;
  min-width:24px;
  max-width:24px;
  text-align:center;
  flex-shrink:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.side-list a{
  display:flex;
  align-items:center;
  gap:8px;
  padding:9px 11px;
  border-radius:9px;
  font-size:13.5px;
  color:#4b5563;
  line-height:1.4;
}
.side-list a span:not(.ic){
  flex:1;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.side-card h4{font-size:14px}
.side-list{max-height:600px;overflow-y:auto}
.side-list::-webkit-scrollbar{width:5px}
.side-list::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}

/* ========== 表单 ========== */
.form-group{margin-bottom:15px}
.form-group label,.panel label{display:block;font-size:13.5px;font-weight:600;color:#4b5563;margin-bottom:7px}
.input,.textarea,.select,textarea,input[type=text],input[type=number],input[type=datetime-local]{
  width:100%;padding:12px 14px;border:1.5px solid var(--line);border-radius:11px;font-size:14.5px;
  outline:none;transition:.2s;background:#fff;color:var(--text);font-family:inherit}
.input:focus,.textarea:focus,.select:focus,textarea:focus,input:focus{
  border-color:var(--blue-light);box-shadow:0 0 0 4px rgba(59,130,246,.12)}
textarea{resize:vertical;line-height:1.6}
.form-row{display:flex;gap:14px;flex-wrap:wrap}
.form-row > *{flex:1;min-width:150px}
.form-inline{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.form-inline .input,.form-inline .select{flex:1;min-width:150px}

/* ========== 按钮 ========== */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:11px 20px;border-radius:11px;
  border:none;font-size:14px;font-weight:600;cursor:pointer;background:#f1f5f9;color:#334155;transition:.2s;
  font-family:inherit;text-decoration:none;line-height:1.2}
.btn:hover{background:#e2e8f0}
.btn-primary{background:linear-gradient(135deg,var(--blue),var(--blue-dark));color:#fff;
  box-shadow:0 6px 16px rgba(59,130,246,.32)}
.btn-primary:hover{opacity:.95;transform:translateY(-1px);box-shadow:0 9px 22px rgba(59,130,246,.4)}
.btn-sm{padding:7px 14px;font-size:12.8px;border-radius:9px}
.btn-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}

/* ========== 结果框 ========== */
.result-box{background:#f8fafc;border:1.5px solid var(--line);border-radius:12px;padding:16px;margin-top:12px;
  font-family:ui-monospace,Menlo,Consolas,monospace;font-size:14px;color:#374151;word-break:break-all;
  white-space:pre-wrap;min-height:50px;line-height:1.7}
.result-box.big{max-height:460px;overflow:auto}

/* ========== FAQ ========== */
.faq-list{display:flex;flex-direction:column;gap:9px}
.faq-item{background:#f8fafc;border:1px solid var(--line);border-radius:11px;overflow:hidden;transition:.2s}
.faq-item:hover{border-color:var(--blue-border)}
.faq-q{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 16px;
  font-size:14.3px;font-weight:600;color:var(--text);cursor:pointer;user-select:none}
.faq-q:hover{color:var(--blue-dark)}
.faq-arrow{font-style:normal;color:#94a3b8;transition:.25s;flex-shrink:0}
.faq-a{max-height:0;overflow:hidden;transition:max-height .3s,padding .3s;padding:0 16px;
  font-size:13.8px;color:#4b5563;line-height:1.85}
.faq-item.open .faq-a{max-height:400px;padding:0 16px 15px}
.faq-item.open .faq-arrow{transform:rotate(180deg);color:var(--blue-dark)}
.faq-item.open{background:#fff;border-color:var(--blue-border)}

/* ========== 使用说明 ========== */
.usage-panel .usage-content{font-size:14px;color:#4b5563;line-height:1.95}
.usage-panel .usage-content p{margin-bottom:12px}
.usage-panel .usage-content strong{color:var(--text)}
.usage-panel .usage-content ol,.usage-panel .usage-content ul{padding-left:24px;margin:10px 0 14px;line-height:2}
.usage-panel .usage-content li{margin-bottom:4px}
.usage-panel .usage-content code{background:#f1f5f9;padding:2px 6px;border-radius:5px;color:#be185d;font-size:13px}

/* ========== 404 ========== */
.err-page{text-align:center;padding:80px 20px}
.err-code{font-size:90px;font-weight:900;color:var(--blue);line-height:1}
.err-page h1{font-size:24px;margin:16px 0 10px}
.err-page p{color:var(--muted);margin-bottom:24px}

/* ========== 域名综合查询 ========== */
.dq-card{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;box-shadow:var(--shadow)}
.dq-card-title{padding:14px 20px;background:linear-gradient(135deg,var(--blue-bg),#dbeafe);
  color:var(--blue-dark);font-size:14.5px;font-weight:800;border-bottom:1px solid var(--blue-border)}
.dq-card-body{padding:18px 20px;font-size:14px;line-height:1.8;color:#374151}

/* ========== 认证页 ========== */
.auth-wrap{display:flex;justify-content:center;padding:40px 0 60px}
.auth-box{width:100%;max-width:420px;background:#fff;border-radius:20px;padding:40px 36px;
  border:1px solid var(--line);box-shadow:0 10px 34px rgba(15,23,42,.06)}
.auth-title{font-size:24px;font-weight:800;color:var(--text);margin-bottom:8px;text-align:center}
.auth-sub{font-size:13.5px;color:var(--muted);text-align:center;margin-bottom:28px}
.auth-field{margin-bottom:18px}
.auth-field label{display:block;font-size:13.5px;font-weight:600;color:#4b5563;margin-bottom:8px}
.auth-field .req{color:#ef4444}
.auth-field input{width:100%;padding:13px 16px;border:1.5px solid var(--line);border-radius:11px;
  font-size:14.5px;outline:none;transition:.2s;background:#fff;color:var(--text);font-family:inherit}
.auth-field input:focus{border-color:var(--blue-light);box-shadow:0 0 0 4px rgba(59,130,246,.12)}
.auth-box .btn{width:100%;padding:14px;font-size:15.5px;margin-top:6px}
.auth-bottom{text-align:center;font-size:13.5px;color:var(--muted);margin-top:22px;padding-top:20px;border-top:1px solid var(--line)}
.auth-bottom a{color:var(--blue-dark);font-weight:600}
.auth-bottom a:hover{text-decoration:underline}

/* ========== 会员中心 ========== */
.user-hero{display:flex;align-items:center;gap:20px;
  background:linear-gradient(135deg,var(--blue-bg) 0%,#dbeafe 100%);
  border:1px solid var(--blue-border);border-radius:20px;
  padding:24px 28px;margin-bottom:22px;flex-wrap:wrap}
.user-avatar{width:64px;height:64px;border-radius:18px;flex-shrink:0;
  background:linear-gradient(135deg,var(--blue),var(--blue-dark));
  color:#fff;font-size:28px;font-weight:800;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 8px 20px rgba(59,130,246,.28)}
.user-info{flex:1;min-width:0}
.user-info h1{font-size:22px;font-weight:800;color:var(--text);margin-bottom:5px;display:flex;align-items:center;gap:8px}
.user-info p{font-size:13.5px;color:var(--muted)}
.user-actions{flex-shrink:0}

.user-card{background:#fff;border-radius:18px;border:1px solid var(--line);box-shadow:var(--shadow);margin-bottom:18px;overflow:hidden}
.user-card-head{padding:18px 24px;border-bottom:1px solid #f1f5f9}
.user-card-head h2{font-size:16px;font-weight:800;color:var(--text)}

.user-vip-active{padding:26px 24px;display:flex;align-items:center;gap:18px;
  background:linear-gradient(135deg,#fffbeb 0%,#fef3c7 100%)}
.uva-icon{width:56px;height:56px;border-radius:16px;flex-shrink:0;
  background:linear-gradient(135deg,#fbbf24,#f59e0b);color:#fff;font-size:26px;
  display:flex;align-items:center;justify-content:center;box-shadow:0 8px 20px rgba(245,158,11,.32)}
.user-vip-active h3{font-size:17px;font-weight:800;color:#92400e;margin-bottom:6px}
.user-vip-active p{font-size:14px;color:#78350f}
.user-vip-active strong{font-size:15.5px;color:#b45309}

.user-vip-none{padding:26px 24px;display:flex;align-items:center;gap:18px;background:#f8fafc}
.uvn-icon{width:56px;height:56px;border-radius:16px;flex-shrink:0;background:#e2e8f0;color:#64748b;
  font-size:26px;display:flex;align-items:center;justify-content:center}
.user-vip-none h3{font-size:16px;font-weight:700;color:var(--text);margin-bottom:5px}
.user-vip-none p{font-size:13.5px;color:var(--muted)}

.user-table{width:100%;border-collapse:collapse;font-size:14px}
.user-table td{padding:13px 24px;border-bottom:1px solid #f1f5f9}
.user-table tr:last-child td{border-bottom:none}
.user-table td:first-child{color:var(--muted);width:140px}

/* ========== 页脚 ========== */
.footer{background:var(--ink);color:#cbd5e1;padding:46px 0 24px;margin-top:40px}
.footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:36px;padding-bottom:28px;border-bottom:1px solid rgba(255,255,255,.08)}
.footer h4{color:#fff;font-size:15px;margin-bottom:10px;font-weight:700}
.footer h5{color:#fff;font-size:14px;margin-bottom:12px;font-weight:700}
.footer-brand p{font-size:13px;color:#94a3b8;line-height:1.85;margin-top:8px}
.brand-mark-lg{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,var(--blue),var(--blue-dark));border-radius:12px;font-size:22px}
.footer-links{display:flex;flex-direction:column;gap:8px}
.footer-links a{font-size:13px;color:#cbd5e1}
.footer-links a:hover{color:var(--blue-light)}
.footer-bottom{padding-top:18px;text-align:center;font-size:12.5px;color:#94a3b8}

/* ========== Toast ========== */
.toast{position:fixed;left:50%;bottom:40px;transform:translateX(-50%) translateY(20px);
  background:var(--ink);color:#fff;padding:12px 24px;border-radius:11px;font-size:14px;
  opacity:0;pointer-events:none;transition:.28s;z-index:9999;box-shadow:0 10px 30px rgba(0,0,0,.25)}
.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}

/* ========== 会员系统 ========== */
.vip-tag{display:inline-block;background:linear-gradient(135deg,#fbbf24,#f59e0b);color:#fff;
  font-size:11px;font-weight:700;padding:2px 7px;border-radius:6px;margin-left:8px;vertical-align:middle;letter-spacing:.5px}
.vip-mini{display:inline-block;background:linear-gradient(135deg,#fbbf24,#f59e0b);color:#fff;
  font-size:9.5px;font-weight:700;padding:1px 5px;border-radius:4px;margin-left:auto}

.vip-lock{background:#fff;border-radius:20px;padding:70px 30px;text-align:center;
  border:1px solid #fef3c7;box-shadow:0 8px 30px rgba(251,191,36,.08)}
.vip-lock-icon{font-size:72px;margin-bottom:20px}
.vip-lock h1{font-size:24px;font-weight:800;margin-bottom:12px;color:var(--text)}
.vip-lock p{font-size:14.5px;color:var(--muted);margin-bottom:28px}
.vip-lock-btns{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}

.vip-hero{display:flex;align-items:center;gap:22px;
  background:linear-gradient(135deg,#78350f 0%,#b45309 50%,#f59e0b 100%);
  border-radius:20px;padding:32px 36px;color:#fff;margin-bottom:26px;position:relative;overflow:hidden}
.vip-hero::before{content:"";position:absolute;right:-8%;top:-60%;width:360px;height:360px;border-radius:50%;
  background:radial-gradient(circle,rgba(255,255,255,.2),transparent 70%)}
.vip-hero-icon{width:64px;height:64px;border-radius:18px;flex-shrink:0;
  background:rgba(255,255,255,.2);backdrop-filter:blur(8px);
  display:flex;align-items:center;justify-content:center;font-size:32px;position:relative;z-index:1}
.vip-hero h1{font-size:26px;font-weight:800;margin-bottom:6px;position:relative;z-index:1}
.vip-hero p{font-size:14.5px;color:rgba(255,255,255,.85);position:relative;z-index:1}

.vip-form-wrap{display:grid;grid-template-columns:1.4fr 1fr;gap:20px;align-items:start}
.vip-form{background:#fff;border-radius:20px;padding:34px 30px;border:1px solid var(--line);box-shadow:var(--shadow)}
.vip-form h2{font-size:18px;font-weight:800;margin-bottom:8px;color:var(--text)}
.vip-tips{background:linear-gradient(135deg,#fffbeb 0%,#fef3c7 100%);
  border:1px solid #fcd34d;border-radius:20px;padding:26px 24px}
.vip-tips h3{font-size:15.5px;font-weight:800;margin-bottom:12px;color:#92400e}
.vip-tips p{font-size:13.5px;color:#78350f;line-height:1.95}

.vip-active{background:#fff;border-radius:20px;padding:60px 30px;text-align:center;
  border:1px solid #fcd34d;box-shadow:0 10px 34px rgba(251,191,36,.12)}
.vip-active-icon{font-size:64px;margin-bottom:16px}
.vip-active h2{font-size:24px;font-weight:800;margin-bottom:12px;color:#92400e}
.vip-active p{font-size:14.5px;color:var(--text);margin-bottom:6px}
.vip-active strong{color:#b45309;font-size:16px}

/* ========== 响应式 ========== */
@media (max-width:1100px){
  .grid-3{grid-template-columns:repeat(2,1fr)}
  .hot-grid{grid-template-columns:repeat(3,1fr)}
  .mid-ads-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:1000px){
  .feature-grid{grid-template-columns:repeat(2,1fr)}
  .tool-layout{grid-template-columns:1fr}
  .sidebar{position:static}
  .footer-grid{grid-template-columns:1fr 1fr}
  .auth-wrap{padding:30px 0 40px}
  .vip-form-wrap{grid-template-columns:1fr}
  .user-hero{padding:20px}
  .stats-grid{gap:16px}
  .stat-num{font-size:22px}
}
@media (max-width:760px){
  .topnav{position:fixed;top:62px;left:0;right:0;background:var(--ink);flex-direction:column;
    align-items:stretch;padding:14px;gap:2px;transform:translateY(-130%);transition:.3s;
    max-height:80vh;overflow:auto;z-index:800}
  body.nav-open .topnav{transform:translateY(0)}
  .topnav a{padding:12px 14px;font-size:15px}
  .burger{display:block}
  .topbar-user{display:none}
  body.nav-open .topbar-user{display:flex;position:fixed;top:14px;right:60px;z-index:810}

  .hero{padding:34px 0 28px}
  .hero-center h1{font-size:26px}
  .hero-center p{font-size:13.5px;margin-bottom:18px}
  .hero-badge{font-size:11.5px;padding:4px 10px;margin-bottom:12px}
  .hero-big-search{border-radius:11px}
  .hero-big-search input{padding:14px 16px;font-size:14px}
  .hero-big-search button{padding:0 20px;font-size:14px}
  .hero-quick{gap:6px}
  .quick-btn{padding:6px 12px;font-size:12px}
  .hero-links{margin-top:16px;gap:8px}
  .hero-links-track{gap:8px}
  .hero-link{padding:4px 11px;font-size:11.5px}

  .stats-bar{padding:16px 0}
  .stats-grid{grid-template-columns:repeat(2,1fr);gap:14px}
  .stat-num{font-size:20px}
  .stat-label{font-size:11.5px}

  .mid-ads{padding:16px 0;margin:20px 0}
  .mid-ads-title{font-size:12.5px;margin-bottom:12px}
  .mid-ads-grid{grid-template-columns:1fr;gap:8px}
  .mid-ad-link{padding:8px 12px;font-size:12.5px}

  .section{padding:26px 0}
  .section-head h2{font-size:18px}
  .section-head p{font-size:12.5px}

  .hot-grid{grid-template-columns:1fr 1fr;gap:9px}
  .hot-card{padding:10px 11px;gap:8px}
  .hot-rank{width:24px;height:24px;font-size:11px;border-radius:7px}
  .hot-icon{width:32px;height:32px;font-size:16px;border-radius:9px}
  .hot-info h4{font-size:12px}
  .hot-info p{font-size:10px}

  .cat-group{margin-bottom:24px}
  .cat-group-title{font-size:16px;margin-bottom:12px;padding-bottom:9px}
  .cat-group-title .cgt-icon{width:30px;height:30px;font-size:15px;border-radius:8px}
  .cat-group-title .cgt-count{font-size:11px;padding:2px 8px}

  .grid-3{grid-template-columns:1fr;gap:9px}
  .card{padding:13px 15px;gap:12px}
  .card-icon{width:42px;height:42px;font-size:20px;border-radius:11px}
  .card h4{font-size:13.5px}
  .card p{font-size:11.5px}

  .cta-box{padding:18px 18px;gap:14px}
  .cta-icon{width:44px;height:44px;font-size:20px;border-radius:12px}
  .cta-text h3{font-size:15px}
  .cta-text p{font-size:12px}
  .cta-btns{width:100%}
  .cta-btns .btn{flex:1}

  .feature-grid{grid-template-columns:1fr 1fr;gap:16px}
  .feature h4{font-size:13.5px}
  .feature p{font-size:11.5px}
  .feature .fi{width:36px;height:36px;font-size:17px;border-radius:10px}

  .footer-grid{grid-template-columns:1fr;gap:24px}
  .cat-tabs{padding:4px 0 16px;overflow-x:auto;flex-wrap:nowrap;-webkit-overflow-scrolling:touch;
    margin-left:-20px;margin-right:-20px;padding-left:20px;padding-right:20px}
  .cat-tabs::-webkit-scrollbar{display:none}
  .cat-tab{padding:7px 12px;font-size:12.5px}
  .cat-tab .ic{font-size:13px}

  .tool-hero{flex-direction:column;text-align:center;padding:20px}
  .tool-hero h1{font-size:18px}
  .tool-body{padding:4px 16px 18px}
  .form-row{flex-direction:column;gap:0}
  .form-inline{flex-direction:column;align-items:stretch}
  .form-inline .btn{width:100%}

  .auth-box{padding:30px 24px;border-radius:16px}
  .auth-title{font-size:20px}
  .user-hero{padding:18px 16px;gap:14px}
  .user-avatar{width:52px;height:52px;font-size:22px;border-radius:14px}
  .user-info h1{font-size:18px}
  .user-actions{width:100%}
  .user-actions .btn{width:100%}
  .user-table td{padding:11px 18px;font-size:13px}
  .user-table td:first-child{width:100px}
  .user-vip-active,
  .user-vip-none{padding:20px 18px;gap:14px}
  .uva-icon,.uvn-icon{width:46px;height:46px;font-size:22px}

  .vip-hero{padding:24px 20px;gap:14px}
  .vip-hero h1{font-size:20px}
  .vip-hero-icon{width:52px;height:52px;font-size:26px}
  .vip-form{padding:26px 22px}
  .vip-lock{padding:50px 22px}
  .vip-lock-icon{font-size:56px}
  .vip-lock h1{font-size:20px}
  .vip-active{padding:44px 22px}
}
/* ========== 文字图标样式 ========== */
.card-icon{
  width:48px;height:48px;
  border-radius:13px;
  background:linear-gradient(135deg,#eff6ff,#dbeafe);
  color:#2563eb;
  font-family:ui-monospace,Menlo,Consolas,monospace;
  font-size:13px;
  font-weight:800;
  letter-spacing:.5px;
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
  transition:.25s;
  text-transform:uppercase;
}
.card:hover .card-icon{
  background:linear-gradient(135deg,#3b82f6,#2563eb);
  color:#fff;
  transform:scale(1.06);
}

.hot-icon{
  width:38px;height:38px;
  border-radius:10px;
  background:linear-gradient(135deg,#eff6ff,#dbeafe);
  color:#2563eb;
  font-family:ui-monospace,Menlo,Consolas,monospace;
  font-size:11px;
  font-weight:800;
  letter-spacing:.3px;
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
  text-transform:uppercase;
}

.cat-group-title .cgt-icon,
.cat-tab .ic{
  display:inline-flex;align-items:center;justify-content:center;
  color:#2563eb;
}

/* 侧栏 */
.side-list a .ic{
  display:inline-flex;align-items:center;justify-content:center;
  width:34px;min-width:34px;
  height:22px;
  border-radius:6px;
  background:#eff6ff;
  color:#2563eb;
  font-family:ui-monospace,Menlo,Consolas,monospace;
  font-size:10px;
  font-weight:800;
  letter-spacing:.2px;
  text-transform:uppercase;
  padding:0 5px;
  flex-shrink:0;
}
/* ==========================================================
   SEO 综合查询页
   ========================================================== */

/* 顶部搜索框 */
.seo-search-bar{
  display:flex;align-items:center;gap:14px;
  background:#fff;border:1px solid var(--line);
  border-radius:14px;padding:18px 22px;
  box-shadow:var(--shadow);margin-bottom:22px;
}
.seo-search-icon{
  width:46px;height:46px;border-radius:50%;
  background:linear-gradient(135deg,#eff6ff,#dbeafe);
  display:flex;align-items:center;justify-content:center;
  font-size:22px;flex-shrink:0;
}
.seo-search-form{flex:1;display:flex;gap:10px}
.seo-search-form input{
  flex:1;padding:12px 18px;border:2px solid var(--blue-border);
  border-radius:11px;font-size:15px;outline:none;
  transition:.2s;font-family:inherit;
}
.seo-search-form input:focus{border-color:var(--blue);box-shadow:0 0 0 4px rgba(59,130,246,.12)}
.seo-search-form button{
  padding:0 32px;border:none;border-radius:11px;
  background:linear-gradient(135deg,var(--blue),var(--blue-dark));
  color:#fff;font-size:15px;font-weight:700;cursor:pointer;transition:.2s;
}
.seo-search-form button:hover{opacity:.92}

/* 加载中 */
.seo-loading{
  background:#fff;border:1px solid var(--line);border-radius:14px;
  padding:70px 30px;text-align:center;
}
.seo-loading-spinner{
  width:40px;height:40px;border:3px solid #e5e9f0;
  border-top-color:var(--blue);border-radius:50%;
  margin:0 auto 20px;animation:seoSpin 1s linear infinite;
}
@keyframes seoSpin{to{transform:rotate(360deg)}}
.seo-loading p{color:var(--muted);font-size:14px}

/* 结果面板 */
.seo-panel{
  background:#fff;border:1px solid var(--line);border-radius:14px;
  box-shadow:var(--shadow);margin-bottom:16px;overflow:hidden;
}
.seo-panel-title{
  padding:14px 22px;
  background:linear-gradient(135deg,#eff6ff,#dbeafe);
  color:var(--blue-dark);font-size:14.5px;font-weight:800;
  border-bottom:1px solid var(--blue-border);
}
.seo-table{padding:6px 0}
.seo-row{
  display:flex;gap:16px;padding:12px 22px;
  border-bottom:1px solid #f1f5f9;
}
.seo-row:last-child{border-bottom:none}
.seo-label{
  flex-shrink:0;width:110px;
  color:var(--muted);font-size:13.5px;
}
.seo-value{
  flex:1;color:var(--text);font-size:14px;
  word-break:break-all;line-height:1.7;
}
.seo-whois{
  padding:18px 22px;
  font-family:ui-monospace,Menlo,Consolas,monospace;
  font-size:12.5px;line-height:1.7;color:#374151;
  white-space:pre-wrap;max-height:400px;overflow:auto;
  margin:0;
}
.seo-quick{
  display:flex;gap:10px;flex-wrap:wrap;
  padding:16px 22px;
}
.seo-quick-btn{
  display:inline-block;padding:8px 16px;
  background:#eff6ff;color:var(--blue-dark);
  border:1px solid var(--blue-border);border-radius:9px;
  font-size:13px;font-weight:600;transition:.2s;
}
.seo-quick-btn:hover{background:var(--blue);color:#fff;border-color:var(--blue)}

/* 空状态 */
.seo-empty{
  background:#fff;border:1px solid var(--line);border-radius:14px;
  padding:80px 30px;text-align:center;
}
.seo-empty-icon{font-size:60px;margin-bottom:14px;opacity:.4}
.seo-empty p{color:var(--muted);font-size:14px}

/* 手机端 */
@media (max-width:760px){
  .seo-search-bar{padding:14px 16px;gap:10px}
  .seo-search-icon{width:38px;height:38px;font-size:18px}
  .seo-search-form{flex-direction:column}
  .seo-search-form input{padding:11px 14px;font-size:14px}
  .seo-search-form button{padding:12px;width:100%}
  .seo-row{padding:10px 16px;flex-direction:column;gap:4px}
  .seo-label{width:auto;font-size:12.5px;font-weight:600}
  .seo-value{font-size:13.5px}
  .seo-panel-title{padding:12px 16px;font-size:13.5px}
  .seo-quick{padding:12px 16px}
  .seo-quick-btn{padding:7px 13px;font-size:12.5px}
  .seo-whois{padding:14px 16px;font-size:11.5px}
}
/* ==========================================================
   工具卡片 V2（紧凑版）
   ========================================================== */
.tool-grid-4{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
}
.tool-card-v2{
  display:flex;align-items:center;gap:12px;
  background:#fff;border-radius:13px;
  padding:14px 16px;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  transition:.22s;
  position:relative;overflow:hidden;
}
.tool-card-v2::before{
  content:"";position:absolute;left:0;top:0;bottom:0;width:3px;
  background:linear-gradient(180deg,var(--blue),var(--blue-dark));
  transform:scaleY(0);transform-origin:top;transition:.3s;
}
.tool-card-v2:hover{
  transform:translateY(-3px);
  border-color:var(--blue-border);
  box-shadow:var(--shadow-lg);
}
.tool-card-v2:hover::before{transform:scaleY(1)}
.tcv-icon{
  width:42px;height:42px;border-radius:11px;
  background:linear-gradient(135deg,#eff6ff,#dbeafe);
  color:#2563eb;
  display:flex;align-items:center;justify-content:center;
  font-family:ui-monospace,Menlo,Consolas,monospace;
  font-size:12px;font-weight:800;letter-spacing:.3px;
  text-transform:uppercase;flex-shrink:0;
  transition:.22s;
}
.tool-card-v2:hover .tcv-icon{
  background:linear-gradient(135deg,var(--blue),var(--blue-dark));
  color:#fff;transform:scale(1.06);
}
.tcv-body{flex:1;min-width:0}
.tcv-body h4{
  font-size:14px;font-weight:700;
  margin-bottom:2px;color:var(--text);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.tcv-body p{
  font-size:11.5px;color:var(--muted);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.tcv-arrow{
  flex-shrink:0;font-size:14px;color:#cbd5e1;
  transition:.22s;opacity:0;transform:translateX(-4px);
}
.tool-card-v2:hover .tcv-arrow{
  opacity:1;transform:translateX(0);color:var(--blue);
}
.tcv-badge{
  position:absolute;top:8px;right:10px;
  font-size:9.5px;font-weight:800;letter-spacing:.3px;
  padding:2px 6px;border-radius:6px;color:#fff;
}
.tcv-badge-1{background:linear-gradient(135deg,#fbbf24,#f59e0b)}
.tcv-badge-2{background:linear-gradient(135deg,#94a3b8,#64748b)}
.tcv-badge-3{background:linear-gradient(135deg,#d97706,#b45309)}
.tcv-badge-new{background:linear-gradient(135deg,var(--blue),var(--blue-dark))}

/* ==========================================================
   特性大区块
   ========================================================== */
.features-2{
  background:linear-gradient(135deg,#eff6ff 0%,#dbeafe 50%,#e0e7ff 100%);
  padding:60px 0;margin:40px 0;
  position:relative;overflow:hidden;
}
.features-2::before{
  content:"";position:absolute;right:-10%;top:-50%;
  width:500px;height:500px;border-radius:50%;
  background:radial-gradient(circle,rgba(59,130,246,.15),transparent 70%);
}
.features-2-head{
  text-align:center;margin-bottom:40px;position:relative;z-index:1;
}
.features-2-head h2{
  font-size:28px;font-weight:800;color:var(--ink);
  margin-bottom:8px;letter-spacing:-.3px;
}
.features-2-head p{color:var(--muted);font-size:15px}
.features-2-grid{
  display:grid;grid-template-columns:repeat(4,1fr);gap:20px;
  position:relative;z-index:1;
}
.feat-2{
  background:#fff;border-radius:16px;padding:28px 22px;
  box-shadow:0 8px 24px rgba(15,23,42,.06);
  transition:.25s;
  border:1px solid rgba(255,255,255,.8);
}
.feat-2:hover{
  transform:translateY(-5px);
  box-shadow:0 16px 40px rgba(59,130,246,.18);
}
.feat-2-icon{
  width:52px;height:52px;border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  margin-bottom:18px;
}
.feat-2-icon svg{width:26px;height:26px}
.feat-icon-blue{background:linear-gradient(135deg,#dbeafe,#bfdbfe);color:#2563eb}
.feat-icon-green{background:linear-gradient(135deg,#d1fae5,#a7f3d0);color:#059669}
.feat-icon-orange{background:linear-gradient(135deg,#fed7aa,#fdba74);color:#ea580c}
.feat-icon-purple{background:linear-gradient(135deg,#e9d5ff,#d8b4fe);color:#9333ea}
.feat-2 h3{
  font-size:16px;font-weight:800;color:var(--text);
  margin-bottom:8px;letter-spacing:-.2px;
}
.feat-2 p{font-size:13px;color:var(--muted);line-height:1.7}

/* ==========================================================
   文章区块
   ========================================================== */
.articles-section{
  background:#f8fafc;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.article-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:18px;
}
.article-card{
  background:#fff;border-radius:16px;
  padding:22px 22px 18px;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  transition:.25s;
  display:flex;flex-direction:column;
  position:relative;overflow:hidden;
}
.article-card::before{
  content:"";position:absolute;top:0;left:0;right:0;height:3px;
  background:linear-gradient(90deg,var(--blue),var(--blue-dark));
  transform:scaleX(0);transform-origin:left;transition:.3s;
}
.article-card:hover{
  transform:translateY(-5px);
  border-color:var(--blue-border);
  box-shadow:var(--shadow-lg);
}
.article-card:hover::before{transform:scaleX(1)}
.ac-head{
  display:flex;justify-content:space-between;align-items:center;
  margin-bottom:12px;font-size:12px;color:var(--muted);
}
.ac-tag{
  background:#eff6ff;color:#2563eb;
  padding:3px 9px;border-radius:8px;
  font-size:11px;font-weight:700;
}
.ac-date{font-size:11.5px;color:#94a3b8}
.article-card h3{
  font-size:15.5px;font-weight:800;color:var(--text);
  line-height:1.4;margin-bottom:10px;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
  overflow:hidden;
}
.article-card p{
  font-size:13px;color:var(--muted);line-height:1.7;
  flex:1;margin-bottom:14px;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;
  overflow:hidden;
}
.ac-foot{
  display:flex;justify-content:space-between;align-items:center;
  padding-top:14px;border-top:1px solid #f1f5f9;
  font-size:12px;color:#94a3b8;
}
.ac-foot span:last-child{color:var(--blue);font-weight:600}

/* ==========================================================
   响应式
   ========================================================== */
@media (max-width:1100px){
  .tool-grid-4{grid-template-columns:repeat(3,1fr)}
  .features-2-grid{grid-template-columns:repeat(2,1fr)}
  .article-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:760px){
  .tool-grid-4{grid-template-columns:1fr;gap:9px}
  .tool-card-v2{padding:11px 13px;gap:10px}
  .tcv-icon{width:36px;height:36px;font-size:10.5px;border-radius:9px}
  .tcv-body h4{font-size:13px}
  .tcv-body p{font-size:11px}
  .features-2{padding:40px 0;margin:26px 0}
  .features-2-head h2{font-size:20px}
  .features-2-head p{font-size:13px}
  .features-2-grid{grid-template-columns:1fr 1fr;gap:12px}
  .feat-2{padding:18px 16px}
  .feat-2-icon{width:44px;height:44px;border-radius:12px;margin-bottom:12px}
  .feat-2-icon svg{width:22px;height:22px}
  .feat-2 h3{font-size:14.5px}
  .feat-2 p{font-size:12px}
  .article-grid{grid-template-columns:1fr;gap:12px}
  .article-card{padding:18px}
  .article-card h3{font-size:14.5px}
  .article-card p{font-size:12.5px}
}
.article-detail{
  background:#fff;border-radius:16px;padding:40px 44px;
  border:1px solid var(--line);box-shadow:var(--shadow);
  max-width:900px;margin:0 auto;
}
.article-detail h1{
  font-size:28px;font-weight:800;color:var(--text);
  line-height:1.4;margin-bottom:16px;letter-spacing:-.3px;
}
.ad-meta{
  display:flex;gap:20px;font-size:13px;color:var(--muted);
  padding-bottom:18px;border-bottom:1px solid #f1f5f9;margin-bottom:24px;
}
.ad-cover{
  width:100%;border-radius:12px;margin-bottom:24px;
}
.ad-content{
  font-size:15.5px;line-height:1.95;color:#374151;
}
.ad-content p{margin-bottom:16px}
.ad-content h2{font-size:20px;font-weight:800;margin:26px 0 12px}
.ad-content h3{font-size:17px;font-weight:700;margin:20px 0 10px}
.ad-content img{max-width:100%;border-radius:10px;margin:16px 0}
.ad-content code{background:#f1f5f9;padding:2px 6px;border-radius:5px;font-size:13.5px}
.ad-foot{margin-top:36px;padding-top:24px;border-top:1px solid #f1f5f9}

@media (max-width:760px){
  .article-detail{padding:24px 20px}
  .article-detail h1{font-size:20px}
  .ad-content{font-size:15px}
}
/* ==========================================================
   首页分类导航卡片
   ========================================================== */
.cat-nav-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}
.cat-nav-card{
  background:#fff;border-radius:16px;
  padding:22px 20px 18px;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  transition:.25s;
  position:relative;overflow:hidden;
  display:flex;flex-direction:column;
}
.cat-nav-card::before{
  content:"";position:absolute;top:0;left:0;right:0;height:3px;
  background:linear-gradient(90deg,var(--blue),var(--blue-dark));
  transform:scaleX(0);transform-origin:left;transition:.3s;
}
.cat-nav-card:hover{
  transform:translateY(-5px);
  border-color:var(--blue-border);
  box-shadow:var(--shadow-lg);
}
.cat-nav-card:hover::before{transform:scaleX(1)}
.cnc-icon{
  width:48px;height:48px;border-radius:14px;
  background:linear-gradient(135deg,#eff6ff,#dbeafe);
  display:flex;align-items:center;justify-content:center;
  font-size:24px;margin-bottom:14px;
}
.cat-nav-card h3{
  font-size:16px;font-weight:800;color:var(--text);
  margin-bottom:6px;letter-spacing:-.2px;
}
.cat-nav-card p{
  font-size:12.5px;color:var(--muted);
  line-height:1.6;flex:1;margin-bottom:14px;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
  overflow:hidden;
}
.cnc-foot{
  display:flex;justify-content:space-between;align-items:center;
  padding-top:12px;border-top:1px solid #f1f5f9;
  font-size:12.5px;color:var(--muted);
}
.cnc-foot span:first-child{font-weight:600;color:var(--blue-dark)}
.cnc-foot span:last-child{color:var(--blue);font-weight:600}

/* ==========================================================
   全部工具页
   ========================================================== */
.tools-page-head{
  text-align:center;margin-bottom:30px;
}
.tools-page-head h1{
  font-size:28px;font-weight:800;color:var(--text);
  margin-bottom:8px;letter-spacing:-.3px;
}
.tools-page-head p{color:var(--muted);font-size:15px}
.tools-page-head p strong{color:var(--blue-dark);font-weight:800;font-size:17px}

/* 分类快捷跳转 */
.cat-quick-nav{
  display:flex;gap:10px;flex-wrap:wrap;justify-content:center;
  margin-bottom:34px;padding-bottom:24px;
  border-bottom:1px solid var(--line);
}
.cqn-btn{
  display:inline-flex;align-items:center;gap:7px;
  padding:9px 18px;border-radius:11px;
  background:#fff;border:1.5px solid var(--line);
  font-size:13.5px;font-weight:600;color:#4b5563;
  transition:.2s;
}
.cqn-btn:hover{
  background:var(--blue-bg);
  border-color:var(--blue-border);
  color:var(--blue-dark);
  transform:translateY(-1px);
}
.cqn-btn span{
  background:#eff6ff;color:#2563eb;
  font-size:11.5px;font-weight:700;
  padding:1px 8px;border-radius:10px;
}

/* ==========================================================
   响应式
   ========================================================== */
@media (max-width:1100px){
  .cat-nav-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:760px){
  .cat-nav-grid{grid-template-columns:1fr 1fr;gap:10px}
  .cat-nav-card{padding:16px 14px 12px}
  .cnc-icon{width:40px;height:40px;font-size:20px;border-radius:12px;margin-bottom:10px}
  .cat-nav-card h3{font-size:14px}
  .cat-nav-card p{font-size:11.5px;margin-bottom:10px}
  .cnc-foot{font-size:11.5px;padding-top:9px}

  .tools-page-head h1{font-size:22px}
  .tools-page-head p{font-size:13.5px}
  .cat-quick-nav{gap:7px;margin-bottom:24px;padding-bottom:18px}
  .cqn-btn{padding:7px 13px;font-size:12.5px}
}
/* ==========================================================
   中部文字广告位（站长之家风格 5 列）
   ========================================================== */
.mid-ads{
  background:linear-gradient(135deg,#f8fafc 0%,#eff6ff 100%);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  padding:20px 0;
  margin:24px 0;
}
.mid-ads-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:16px 24px;
}
.mid-ad-link{
  display:block;
  text-align:center;
  font-size:13.5px;
  font-weight:600;
  line-height:1.75;
  text-decoration:none;
  padding:4px 6px;
  border-radius:6px;
  transition:.2s;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.mid-ad-link:hover{
  background:rgba(59,130,246,.08);
  transform:translateY(-1px);
}

/* 响应式 */
@media (max-width:1100px){
  .mid-ads-grid{grid-template-columns:repeat(3,1fr);gap:12px 18px}
}
@media (max-width:760px){
  .mid-ads{padding:14px 0;margin:18px 0}
  .mid-ads-grid{grid-template-columns:repeat(2,1fr);gap:10px 12px}
  .mid-ad-link{font-size:12px;padding:3px 4px}
}
/* ==========================================================
   首页 v2 —— 充实版
   ========================================================== */

/* 区块间距 */
.section { padding: 56px 0; }
.section-alt { background: #fafbfc; }

/* 区块标题 */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.section-head-center { justify-content: center; text-align: center; }
.section-head h2 {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px;
  letter-spacing: -0.3px;
}
.section-sub { font-size: 13.5px; color: #94a3b8; margin: 0; }
.section-more {
  font-size: 13.5px;
  color: #3b82f6;
  font-weight: 600;
  white-space: nowrap;
  padding-bottom: 4px;
}
.section-more:hover { color: #2563eb; }

/* ========== 数据统计（升级版） ========== */
.stats-bar {
  background: #fff;
  border-bottom: 1px solid #f1f5f9;
  padding: 30px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 12px;
}
.stat-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg,#eff6ff,#dbeafe);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.stat-num {
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 12.5px;
  color: #94a3b8;
  margin-top: 2px;
}
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-num { font-size: 22px; }
}

/* ========== 为什么选择我们 ========== */
.section-features {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 1000px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: #fff;
  border: 1px solid #edf1f7;
  border-radius: 16px;
  padding: 26px 24px;
  transition: all .25s;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -12px rgba(15,23,42,.1);
}
.fc-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
  box-shadow: 0 8px 18px -6px rgba(15,23,42,.25);
}
.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px;
}
.feature-card p {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  line-height: 1.7;
}

/* ========== 工具卡片 ========== */
.tool-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1000px) { .tool-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .tool-grid-4 { grid-template-columns: 1fr; } }

.tool-card-v2 {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 18px;
  background: #fff;
  border: 1px solid #edf1f7;
  border-radius: 14px;
  text-decoration: none;
  position: relative;
  transition: all .25s cubic-bezier(.4,0,.2,1);
}
.tool-card-v2:hover {
  transform: translateY(-3px);
  border-color: #dbeafe;
  box-shadow: 0 16px 32px -12px rgba(59,130,246,.2);
}
.tcv-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 6px 14px -4px rgba(15,23,42,.2);
  transition: transform .25s;
  letter-spacing: -0.5px;
}
.tool-card-v2:hover .tcv-icon { transform: scale(1.08) rotate(-3deg); }
.tcv-body { flex: 1; min-width: 0; }
.tcv-body h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tcv-body p {
  font-size: 12px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tcv-badge {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
  letter-spacing: 0.3px;
}
.tcv-badge-1 { background: linear-gradient(135deg,#fbbf24,#f59e0b); color:#fff; }
.tcv-badge-2 { background: linear-gradient(135deg,#94a3b8,#64748b); color:#fff; }
.tcv-badge-3 { background: linear-gradient(135deg,#fb923c,#ea580c); color:#fff; }
.tcv-badge-new { background: linear-gradient(135deg,#3b82f6,#2563eb); color:#fff; }

/* ========== 分类导航（自动列数） ========== */
.cat-nav-grid { display: grid; gap: 16px; }
.cat-nav-auto { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .cat-nav-auto { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .cat-nav-auto { grid-template-columns: 1fr; } }

.cat-nav-card {
  background: #fff;
  border: 1px solid #edf1f7;
  border-radius: 16px;
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: all .25s;
}
.cat-nav-card:hover {
  transform: translateY(-3px);
  border-color: #dbeafe;
  box-shadow: 0 20px 40px -14px rgba(59,130,246,.18);
}
.cnc-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  margin-bottom: 14px;
  box-shadow: 0 8px 18px -6px rgba(15,23,42,.25);
}
.cnc-body h3 {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 5px;
}
.cnc-body p {
  font-size: 12.5px;
  color: #94a3b8;
  margin: 0 0 16px;
  line-height: 1.6;
  min-height: 38px;
}
.cnc-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  font-size: 12.5px;
  color: #64748b;
}
.cnc-foot .cnc-arrow {
  color: #3b82f6;
  font-weight: 700;
  transition: transform .25s;
}
.cat-nav-card:hover .cnc-arrow { transform: translateX(4px); }

/* ========== 全部工具索引 ========== */
.tool-index-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
@media (max-width: 1000px) { .tool-index-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .tool-index-grid { grid-template-columns: repeat(2, 1fr); } }

.tool-index-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  background: #fff;
  border: 1px solid #edf1f7;
  border-radius: 10px;
  text-decoration: none;
  font-size: 13px;
  color: #334155;
  font-weight: 600;
  transition: all .2s;
  white-space: nowrap;
  overflow: hidden;
}
.tool-index-item:hover {
  border-color: #bfdbfe;
  background: #f8fbff;
  color: #2563eb;
  transform: translateX(2px);
}
.tii-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  flex-shrink: 0;
}
.tii-name {
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ========== 文章卡片 ========== */
.article-grid { display: grid; gap: 16px; }
.article-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .article-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .article-grid-3 { grid-template-columns: 1fr; } }

.article-card {
  background: #fff;
  border: 1px solid #edf1f7;
  border-radius: 16px;
  padding: 20px 22px 16px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: all .25s;
  min-height: 200px;
}
.article-card:hover {
  transform: translateY(-3px);
  border-color: #dbeafe;
  box-shadow: 0 20px 40px -14px rgba(59,130,246,.15);
}
.ac-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.ac-tag {
  font-size: 11px;
  font-weight: 700;
  color: #2563eb;
  background: #eff6ff;
  padding: 3px 9px;
  border-radius: 6px;
}
.ac-date { font-size: 12px; color: #94a3b8; }
.article-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 45px;
}
.article-card p {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.6;
  margin: 0 0 14px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ac-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  font-size: 12px;
  color: #94a3b8;
}
.ac-more { color: #3b82f6; font-weight: 600; }

/* ========== CTA ========== */
.cta-box {
  border-radius: 18px;
  border: 1px solid #edf1f7;
  padding: 28px 32px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}
.btn {
  border-radius: 10px;
  padding: 11px 22px;
  font-weight: 600;
  transition: all .2s;
}
.btn-primary {
  background: linear-gradient(135deg,#3b82f6,#2563eb);
  border: none;
  box-shadow: 0 6px 16px -4px rgba(59,130,246,.35);
}
.btn-primary:hover { box-shadow: 0 10px 22px -4px rgba(59,130,246,.5); transform: translateY(-1px); }

/* ========== Hero 微调 ========== */
.hero-big-search {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 40px -12px rgba(15,23,42,.25);
}
.quick-btn { transition: all .2s; border-radius: 10px; }
.quick-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(15,23,42,.15); }

/* ==========================================================
   首页 v3 —— 充实版
   ========================================================== */

.section { padding: 56px 0; }
.section-alt { background: #fafbfc; }

.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 16px; margin-bottom: 26px; flex-wrap: wrap;
}
.section-head-center { justify-content: center; text-align: center; }
.section-head h2 { font-size: 22px; font-weight: 800; color: #0f172a; margin: 0 0 4px; letter-spacing: -0.3px; }
.section-sub { font-size: 13.5px; color: #94a3b8; margin: 0; }
.section-more { font-size: 13.5px; color: #3b82f6; font-weight: 600; white-space: nowrap; padding-bottom: 4px; }
.section-more:hover { color: #2563eb; }

/* 数据统计 */
.stats-bar { background: #fff; border-bottom: 1px solid #f1f5f9; padding: 30px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-item { display: flex; align-items: center; gap: 14px; padding: 6px 12px; }
.stat-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(135deg,#eff6ff,#dbeafe);
  display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0;
}
.stat-num { font-size: 26px; font-weight: 800; color: #0f172a; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-label { font-size: 12.5px; color: #94a3b8; margin-top: 2px; }
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-num { font-size: 22px; }
}

/* 工具卡片 */
.tool-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1000px) { .tool-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .tool-grid-4 { grid-template-columns: 1fr; } }

.tool-card-v2 {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 18px; background: #fff; border: 1px solid #edf1f7;
  border-radius: 14px; text-decoration: none; position: relative;
  transition: all .25s cubic-bezier(.4,0,.2,1);
}
.tool-card-v2:hover { transform: translateY(-3px); border-color: #dbeafe; box-shadow: 0 16px 32px -12px rgba(59,130,246,.2); }
.tcv-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 18px; font-weight: 800; flex-shrink: 0;
  box-shadow: 0 6px 14px -4px rgba(15,23,42,.2); transition: transform .25s; letter-spacing: -0.5px;
}
.tool-card-v2:hover .tcv-icon { transform: scale(1.08) rotate(-3deg); }
.tcv-body { flex: 1; min-width: 0; }
.tcv-body h4 { font-size: 14.5px; font-weight: 700; color: #0f172a; margin: 0 0 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tcv-body p { font-size: 12px; color: #94a3b8; margin: 0; line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tcv-badge { position: absolute; top: 8px; right: 10px; font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 6px; letter-spacing: 0.3px; }
.tcv-badge-1 { background: linear-gradient(135deg,#fbbf24,#f59e0b); color:#fff; }
.tcv-badge-2 { background: linear-gradient(135deg,#94a3b8,#64748b); color:#fff; }
.tcv-badge-3 { background: linear-gradient(135deg,#fb923c,#ea580c); color:#fff; }

/* 使用场景 */
.scenes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1000px) { .scenes-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .scenes-grid { grid-template-columns: 1fr; } }

.scene-card {
  background: #fff; border: 1px solid #edf1f7; border-radius: 16px; padding: 22px 20px;
  transition: all .25s;
}
.scene-card:hover { transform: translateY(-3px); border-color: #dbeafe; box-shadow: 0 20px 40px -14px rgba(59,130,246,.18); }
.scene-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.scene-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff; flex-shrink: 0;
  box-shadow: 0 8px 18px -6px rgba(15,23,42,.25);
}
.scene-head h3 { font-size: 15px; font-weight: 800; color: #0f172a; margin: 0 0 3px; }
.scene-head p { font-size: 12px; color: #94a3b8; margin: 0; }
.scene-tools { display: flex; flex-wrap: wrap; gap: 6px; }
.scene-tool {
  font-size: 12.5px; padding: 5px 11px;
  background: #f8fafc; color: #475569;
  border: 1px solid #edf1f7; border-radius: 8px;
  text-decoration: none; font-weight: 600; transition: all .18s;
}
.scene-tool:hover { background: #eff6ff; color: #2563eb; border-color: #bfdbfe; }

/* 分类导航 */
.cat-nav-grid { display: grid; gap: 16px; }
.cat-nav-auto { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .cat-nav-auto { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .cat-nav-auto { grid-template-columns: 1fr; } }

.cat-nav-card {
  background: #fff; border: 1px solid #edf1f7; border-radius: 16px;
  padding: 22px 22px 18px; display: flex; flex-direction: column;
  text-decoration: none; transition: all .25s;
}
.cat-nav-card:hover { transform: translateY(-3px); border-color: #dbeafe; box-shadow: 0 20px 40px -14px rgba(59,130,246,.18); }
.cnc-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: #fff; margin-bottom: 14px;
  box-shadow: 0 8px 18px -6px rgba(15,23,42,.25);
}
.cnc-body h3 { font-size: 16px; font-weight: 800; color: #0f172a; margin: 0 0 5px; }
.cnc-body p { font-size: 12.5px; color: #94a3b8; margin: 0 0 16px; line-height: 1.6; min-height: 38px; }
.cnc-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 14px; border-top: 1px solid #f1f5f9; font-size: 12.5px; color: #64748b;
}
.cnc-foot .cnc-arrow { color: #3b82f6; font-weight: 700; transition: transform .25s; }
.cat-nav-card:hover .cnc-arrow { transform: translateX(4px); }

/* 每日域名 */
.daily-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 1000px) { .daily-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .daily-grid { grid-template-columns: 1fr; } }

.daily-card {
  background: #fff; border: 1px solid #edf1f7; border-radius: 12px;
  padding: 16px 16px 14px; transition: all .25s;
}
.daily-card:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(59,130,246,.15); }
.daily-card.lv-excellent { border: 2px solid #dc2626; background: linear-gradient(135deg,#fff 0%,#fef2f2 100%); }
.daily-card.lv-good { border: 2px solid #f97316; background: linear-gradient(135deg,#fff 0%,#fff7ed 100%); }
.daily-card.lv-fair { border-color: #bfdbfe; background: linear-gradient(135deg,#fff 0%,#eff6ff 100%); }
.daily-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 12px; }
.daily-domain { font-family: ui-monospace, Menlo, Consolas, monospace; font-weight: 700; font-size: 15px; color: #0f172a; }
.daily-tld { font-size: 11px; padding: 2px 7px; background: #eff6ff; color: #2563eb; border-radius: 5px; font-weight: 700; }
.daily-foot { display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.daily-lv { color: #dc2626; font-weight: 700; }
.daily-lv-normal { color: #94a3b8; font-weight: 500; }
.daily-btn { color: #3b82f6; font-weight: 600; text-decoration: none; }
.daily-btn:hover { color: #2563eb; }

/* 全部工具索引 */
.tool-index-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
@media (max-width: 1000px) { .tool-index-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .tool-index-grid { grid-template-columns: repeat(2, 1fr); } }

.tool-index-item {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 14px; background: #fff; border: 1px solid #edf1f7;
  border-radius: 10px; text-decoration: none; font-size: 13px; color: #334155;
  font-weight: 600; transition: all .2s; white-space: nowrap; overflow: hidden;
}
.tool-index-item:hover { border-color: #bfdbfe; background: #f8fbff; color: #2563eb; transform: translateX(2px); }
.tii-dot { width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; }
.tii-name { overflow: hidden; text-overflow: ellipsis; }

/* 文章卡片 */
.article-grid { display: grid; gap: 16px; }
.article-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .article-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .article-grid-3 { grid-template-columns: 1fr; } }

.article-card {
  background: #fff; border: 1px solid #edf1f7; border-radius: 16px;
  padding: 20px 22px 16px; display: flex; flex-direction: column;
  text-decoration: none; transition: all .25s; min-height: 200px;
}
.article-card:hover { transform: translateY(-3px); border-color: #dbeafe; box-shadow: 0 20px 40px -14px rgba(59,130,246,.15); }
.ac-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.ac-tag { font-size: 11px; font-weight: 700; color: #2563eb; background: #eff6ff; padding: 3px 9px; border-radius: 6px; }
.ac-date { font-size: 12px; color: #94a3b8; }
.article-card h3 {
  font-size: 15px; font-weight: 700; color: #0f172a; margin: 0 0 8px; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 45px;
}
.article-card p {
  font-size: 12.5px; color: #64748b; line-height: 1.6; margin: 0 0 14px; flex-grow: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ac-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 12px; border-top: 1px solid #f1f5f9; font-size: 12px; color: #94a3b8;
}
.ac-more { color: #3b82f6; font-weight: 600; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 1000px; margin: 0 auto; }
@media (max-width: 760px) { .faq-grid { grid-template-columns: 1fr; } }

.faq-card {
  background: #fff; border: 1px solid #edf1f7; border-radius: 14px;
  padding: 20px 22px; transition: all .25s;
}
.faq-card:hover { border-color: #dbeafe; box-shadow: 0 12px 24px -10px rgba(59,130,246,.12); }
.faq-q {
  font-size: 14.5px; font-weight: 700; color: #0f172a; margin-bottom: 8px;
  display: flex; align-items: flex-start; gap: 8px;
}
.faq-q::before {
  content: "Q"; width: 20px; height: 20px; border-radius: 6px;
  background: #eff6ff; color: #2563eb;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; flex-shrink: 0; margin-top: 1px;
}
.faq-a { font-size: 13px; color: #64748b; line-height: 1.75; padding-left: 28px; }

/* CTA */
.cta-box {
  border-radius: 18px; border: 1px solid #edf1f7;
  padding: 28px 32px; background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}
.btn { border-radius: 10px; padding: 11px 22px; font-weight: 600; transition: all .2s; }
.btn-primary {
  background: linear-gradient(135deg,#3b82f6,#2563eb); border: none;
  box-shadow: 0 6px 16px -4px rgba(59,130,246,.35);
}
.btn-primary:hover { box-shadow: 0 10px 22px -4px rgba(59,130,246,.5); transform: translateY(-1px); }

/* Hero */
.hero-big-search { border-radius: 14px; overflow: hidden; box-shadow: 0 12px 40px -12px rgba(15,23,42,.25); }
.quick-btn { transition: all .2s; border-radius: 10px; }
.quick-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(15,23,42,.15); }

/* ==========================================================
   工具卡片描述改 2 行显示（覆盖之前的 nowrap 版）
   ========================================================== */
.tool-card-v2 {
  min-height: 92px;
  align-items: center;
}
.tool-card-v2 .tcv-body p,
.tool-card-v2 .tcv-body .tcv-desc {
  font-size: 12px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.55;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tool-card-v2 .tcv-body h4 {
  margin-bottom: 4px;
}