* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Microsoft YaHei", sans-serif;
  background: #fff;
  color: #333;
  line-height: 1.5;
}
a {
  text-decoration: none;
}

/* 顶部 */
.top-bar {
  padding: 14px 15px;
  text-align: center;
  border-bottom: 1px solid #eee;
}
.logo {
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

/* 搜索框 */
.search-box-wrap {
  padding: 12px 15px;
}
.search-box-wrap form {
  display: flex;
  gap: 8px;
}
.search-input {
  flex: 1;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #ddd;
  border-radius: 21px;
  outline: none;
  font-size: 16px;
  background: #f5f5f5;
}
.search-btn {
  width: 70px;
  height: 42px;
  border-radius: 21px;
  border: none;
  background: #0066cc;
  color: #fff;
  font-size: 15px;
}

/* 导航 */
.nav-wrap {
  display: flex;
  padding: 0 15px 10px;
  gap: 18px;
  font-size: 15px;
  border-bottom: 1px solid #eee;
}
.nav-wrap a {
  color: #666;
  padding: 5px 0;
}
.nav-wrap a:first-child {
  color: #0066cc;
  font-weight: bold;
}

/* 结果数量 */
.result-count {
  padding: 8px 15px;
  font-size: 12px;
  color: #999;
}

/* 结果列表 */
.result-list {
  padding: 0 15px;
}
.result-item {
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
}
.result-item h3 {
  font-size: 16px;
  color: #0066cc;
  margin-bottom: 4px;
  font-weight: normal;
}
.result-desc {
  font-size: 14px;
  color: #333;
  margin-bottom: 4px;
}
.result-url {
  font-size: 12px;
  color: #006600;
}

/* 分页 */
.page-box {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 15px;
  gap: 6px;
}
.page-item,
.page-prev,
.page-next {
  display: inline-block;
  width: 34px;
  height: 34px;
  line-height: 34px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  color: #0066cc;
}
.page-prev,
.page-next {
  width: auto;
  padding: 0 12px;
  color: #333;
}
.page-item.current {
  background: #0066cc;
  color: #fff;
  border-color: #0066cc;
}

/* 底部 */
.footer {
  padding: 20px 15px 30px;
  text-align: center;
  font-size: 12px;
  color: #999;
}