* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #f7f7f7;
  color: #222;
}

/* 顶部搜索区 */
.header {
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  font-size: 22px;
  font-weight: 600;
  white-space: nowrap;
}

.search-input {
  flex: 1;
  height: 42px;
  padding: 0 14px;
  font-size: 15px;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  outline: none;
}

.search-input:focus {
  border-color: #409eff;
  box-shadow: 0 0 0 2px rgba(64, 158, 255, 0.15);
}

/* 主体 */
.main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

/* 结果列表 */
.results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.result-item {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  padding: 14px 16px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.result-item:hover {
  border-color: #409eff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.result-item h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
}

.result-item p {
  margin: 0;
  font-size: 13px;
  color: #666;
}

/* 页脚 */
.footer {
  text-align: center;
  padding: 16px 0;
  font-size: 12px;
  color: #999;
}
