/* www.kuaping.com */
@charset "utf-8";

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  color: #222;
  background: #fff;
  line-height: 1.8;
}

a {
  color: #222;
  text-decoration: none;
}
a:hover { color: #e23; }

img { border: 0; max-width: 100%; }
iframe { border: 0; }

ul, li { list-style: none; margin: 0; padding: 0; }

p, form, div, h1, h2, h3, h4, h5, h6 { margin: 0; padding: 0; }

/* ========== 表格 ========== */
.table { border-collapse: collapse; border: 1px solid #ddd; width: 100%; font-size: 15px; }
.table td { border: 1px solid #ddd; padding: 10px 14px; }
.table .header { background: #f5f5f5; font-weight: bold; }

/* ========== 输入框 & 按钮 ========== */
.input {
  padding: 10px 16px;
  height: 44px;
  font-size: 16px;
  border: 1px solid #ccc;
  outline: none;
  background: #fff;
  vertical-align: middle;
}
.input:focus { border-color: #e23; }

.btn {
  height: 44px;
  line-height: 44px;
  padding: 0 28px;
  font-size: 16px;
  color: #fff;
  background: #e23;
  border: none;
  cursor: pointer;
  vertical-align: middle;
}
.btn:hover { background: #c11; }

/* ========== 头部 ========== */
#header {
  width: 960px;
  margin: 40px auto 0;
}
#logo { display: inline-block; }
#logo img { height: 48px; }
#adbanner { float: right; height: 48px; line-height: 48px; }

/* ========== 导航 ========== */
#menu {
  width: 960px;
  margin: 24px auto 0;
  border-bottom: 1px solid #ddd;
}
#menu .con { overflow: hidden; }
#menu a {
  float: left;
  display: inline-block;
  font-size: 16px;
  padding: 10px 24px 10px 0;
  color: #555;
}
#menu a:hover { color: #e23; text-decoration: none; }
#menu a.this { color: #e23; }

/* ========== 主体 ========== */
#main {
  width: 960px;
  margin: 36px auto;
}

/* ========== 卡片 ========== */
.cbox { margin-bottom: 36px; }
.cbox .head { margin-bottom: 18px; }
.cbox .head h1 {
  font-size: 22px;
  font-weight: normal;
  color: #111;
  letter-spacing: 2px;
}
.cbox .con {
  font-size: 16px;
  color: #444;
  line-height: 200%;
}

/* 工具介绍 */
.intro-block { max-width: 720px; }
.intro-item {
  display: flex;
  gap: 18px;
  margin-bottom: 24px;
}
.intro-item:last-child { margin-bottom: 0; }
.intro-num {
  width: 32px; height: 32px;
  line-height: 32px;
  text-align: center;
  background: #e23;
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
}
.intro-body h3 {
  font-size: 17px;
  font-weight: bold;
  color: #222;
  margin-bottom: 4px;
}
.intro-body p {
  font-size: 15px;
  color: #666;
  line-height: 1.9;
  margin: 0;
}

.hidden { display: none !important; }

/* ========== 搜索区 ========== */
.search-box {
  margin: -36px -20px 36px;
  padding: 50px 20px 44px;
  background: #fafafa;
  border-bottom: 1px solid #eee;
}
.search-box .head { display: none; }
.search-box .con {
  text-align: center;
  font-size: 15px;
  color: #888;
}
.search-area { display: inline-block; }

/* 一体化输入组 */
.input-group {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ddd;
  transition: border-color 0.2s;
}
.input-group:focus-within { border-color: #e23; }

.input-addon {
  height: 52px;
  line-height: 52px;
  padding: 0 16px;
  font-size: 17px;
  color: #888;
  background: #f5f5f5;
  border-right: 1px solid #eee;
  white-space: nowrap;
  font-family: monospace;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.input-wrap {
  position: relative;
  flex: 0 0 auto;
}
.search-box .input {
  width: 440px;
  height: 52px;
  font-size: 18px;
  padding: 0 20px;
  border: none;
  outline: none;
  background: #fff;
}
.search-box .btn {
  height: 52px;
  line-height: 52px;
  padding: 0 36px;
  font-size: 18px;
  border-radius: 0;
  flex-shrink: 0;
}

/* 频率提示 */
.tip-bar {
  text-align: center;
  padding: 12px 20px;
  margin-bottom: 16px;
  font-size: 14px;
  color: #b45f06;
  background: #fff8e8;
  border: 1px solid #f0d78c;
  border-radius: 6px;
}

/* 搜索历史下拉 */
.search-history {
  position: absolute;
  left: 0; right: 0; top: 100%;
  margin: 4px 0 0;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  max-height: 220px;
  overflow-y: auto;
  z-index: 200;
  text-align: left;
  padding: 4px 0;
}
.search-history li {
  padding: 10px 18px;
  cursor: pointer;
  font-size: 15px;
  color: #444;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.search-history li::before {
  content: '';
  width: 6px; height: 6px;
  background: #ddd;
  border-radius: 50%;
  flex-shrink: 0;
}
.search-history li:hover,
.search-history li.active {
  background: #fdf2f2;
  color: #e23;
}
.search-history li:hover::before,
.search-history li.active::before {
  background: #e23;
}
.search-history li:last-child { border-bottom: none; }

/* 引擎切换 */
.type-toggle {
  margin-top: 20px;
  display: inline-flex;
  gap: 24px;
}
.type-option {
  padding: 4px 0;
  font-size: 15px;
  color: #999;
  cursor: pointer;
  transition: color 0.2s;
  user-select: none;
  border-bottom: 2px solid transparent;
}
.type-option:hover { color: #555; }
.type-option.active {
  color: #e23;
  border-bottom-color: #e23;
}
.type-option input[type="radio"] { display: none; }

/* ========== 链接列表 ========== */
.linklist li {
  height: 32px;
  margin-bottom: 6px;
  overflow: hidden;
  font-size: 15px;
  width: 80%;
}
.linklist li .num {
  float: left;
  color: #999;
  margin-right: 14px;
  min-width: 24px;
}
.linklist li a { float: left; color: #333; }
.linklist li a:hover { color: #e23; }
.linklist li .status { float: right; font-size: 13px; color: #777; }

/* ========== 页脚 ========== */
#footer {
  width: 960px;
  margin: 50px auto 40px;
  text-align: center;
  color: #777;
  font-size: 14px;
}
#footer a { color: #777; }
#footer a:hover { color: #e23; }
.footer-contact {
  margin-top: 8px;
  font-size: 14px;
  color: #aaa;
}
.wechat-badge {
  display: inline-block;
  padding: 4px 14px 4px 10px;
  border-radius: 20px;
  background: #f0faf0;
  border: 1px solid #c8e6c9;
  color: #555;
  margin-left: 6px;
}
.wechat-badge i {
  display: inline-block;
  width: 18px; height: 14px;
  background: #4caf50;
  border-radius: 3px 3px 3px 0;
  position: relative;
  margin-right: 6px;
  vertical-align: -1px;
}
.wechat-badge i::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 0; height: 0;
  border-top: 3px solid #4caf50;
  border-left: 4px solid transparent;
}
.wechat-badge strong { color: #2e7d32; }

/* ========== 响应式 ========== */
@media screen and (max-width: 1000px) {
  #header, #menu, #main, #footer { width: 100%; padding: 0 16px; }
  #header { margin-top: 20px; }
  #logo img { height: 36px; }
  #adbanner { float: none; display: block; margin-top: 10px; height: auto; line-height: 1.5; }

  #menu { margin-top: 16px; }
  #menu a { font-size: 15px; padding: 8px 16px 8px 0; }

  #main { margin: 24px auto; }

  .cbox { margin-bottom: 24px; }
  .cbox .head h1 { font-size: 19px; letter-spacing: 1px; }
  .cbox .con { font-size: 15px; line-height: 1.9; }

  /* 搜索区 */
  .search-box { margin: -24px -16px 24px; padding: 28px 16px 24px; }
  .input-group { flex-wrap: wrap; justify-content: center; }
  .input-addon { height: 48px; line-height: 48px; font-size: 15px; padding: 0 12px; }
  .input-wrap { flex: 1; min-width: 120px; }
  .search-box .input { width: 100% !important; height: 48px; font-size: 16px; min-width: 0; }
  .search-box .btn { height: 48px; line-height: 48px; font-size: 16px; padding: 0 24px; }

  .search-history { max-height: 180px; }
  .search-history li { padding: 12px 16px; font-size: 15px; }

  /* 引擎切换 */
  .type-toggle { margin-top: 16px; gap: 20px; }
  .type-option { font-size: 14px; }

  /* 提示 */
  .tip-bar { font-size: 13px; padding: 10px 14px; margin-bottom: 12px; }

  /* 工具介绍 */
  .intro-block { max-width: 100%; }
  .intro-item { gap: 14px; margin-bottom: 20px; }
  .intro-num { width: 28px; height: 28px; line-height: 28px; font-size: 13px; flex-shrink: 0; }
  .intro-body h3 { font-size: 16px; }
  .intro-body p { font-size: 14px; }

  /* 结果区 */
  .linklist li { width: 100%; }

  /* 页脚 */
  #footer { margin: 30px auto 24px; font-size: 13px; }
  .footer-contact { font-size: 13px; }
  .wechat-badge { display: inline-flex; align-items: center; margin: 6px 0 0; }
}

@media screen and (max-width: 480px) {
  body { font-size: 15px; }

  #header { margin-top: 14px; text-align: center; }
  #logo { display: block; }
  #logo img { height: 32px; }
  #adbanner { display: none; }

  #menu { margin-top: 12px; }
  #menu a { font-size: 14px; padding: 6px 12px 6px 0; }

  #main { margin: 18px auto; }

  .cbox .head { margin-bottom: 12px; }
  .cbox .head h1 { font-size: 18px; }
  .cbox .con { font-size: 14px; }

  /* 搜索区更紧凑 */
  .search-box { margin: -18px -16px 18px; padding: 22px 14px 20px; }
  .input-group { flex-wrap: wrap; }
  .input-addon { height: 44px; line-height: 44px; font-size: 14px; padding: 0 10px; }
  .input-wrap { flex: 1 1 auto; min-width: 120px; }
  .search-box .input { height: 44px; font-size: 15px; padding: 0 12px; }
  .search-box .btn { height: 44px; line-height: 44px; font-size: 15px; padding: 0 18px; }

  /* 引擎切换 */
  .type-toggle { margin-top: 14px; gap: 18px; }
  .type-option { font-size: 13px; }

  /* 提示 */
  .tip-bar { font-size: 12px; padding: 8px 12px; border-radius: 4px; }

  /* 工具介绍 */
  .intro-item { gap: 10px; margin-bottom: 16px; }
  .intro-num { width: 24px; height: 24px; line-height: 24px; font-size: 12px; }
  .intro-body h3 { font-size: 15px; }
  .intro-body p { font-size: 14px; }

  /* 页脚 */
  #footer { margin: 24px auto 20px; font-size: 12px; line-height: 1.8; }
  .footer-contact { font-size: 12px; }
  .wechat-badge { padding: 4px 12px 4px 8px; font-size: 12px; }
  .wechat-badge i { width: 15px; height: 12px; }

  /* 链接列表 */
  .linklist li { font-size: 13px; height: 28px; }
  .linklist li .num { font-size: 11px; margin-right: 8px; }

  /* 历史下拉 */
  .search-history { max-height: 160px; }
  .search-history li { padding: 10px 14px; font-size: 14px; }
}
