/* 基础重置 */
* {
  margin: 0;
  padding: 10px 0 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  background-color: #f5f5f7;
  color: #333;
  overflow-x: hidden;
}

/* 顶部导航栏 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 10px 20px 10px;
  border-bottom: 1px solid #e0e0e0;
  z-index: 200;
}
.header-back {
  width: 44px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.icon-back {
      width: 27px;
      height: 27px;
      background-image: url('/images/goback.png'); /* 请替换为实际本地图片路径 */
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center;
      cursor: pointer;
      border: none;
      background-color: transparent;
}
.header-title {
  font-size: 20px;
  
  font-weight: bold;
  text-align: center;
  flex: 1;
  margin: 0 22px;
}
.header-placeholder {
  width: 44px;
  height: 44px;
}

/* 搜索栏 */
.search-container {
  position: fixed;
  top: 50px;
  left: 0;
  width: 100%;
  background-color: #f5f5f7;
  padding: 8px 12px;
  z-index: 199;
}
.search-wrapper {
  display: flex;
  gap: 8px;
}
.search-wrapper input {
  flex: 1;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  background-color: #fff;
}
.search-wrapper button {
  min-width: 60px;
  height: 36px;
  padding: 0 12px;
  background-color: #007aff;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
}

/* 内容区域 */
.main-content {
  padding: 96px 12px 12px; /* 顶部留出导航栏和搜索栏空间 */
}

/* 系列网格 - 强制4列布局 */
.series-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.series-grid button {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  color: #575757;
  line-height: 1.4;
  text-align: center;
  white-space: normal;
  word-break: break-all;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: background-color 0.2s;
}
.series-grid button:active {
  background-color: #f0f0f0;
}

/* 无结果提示 */
.no-result {
  display: none;
  padding: 24px 0;
  text-align: center;
  color: #888;
  font-size: 14px;
}

