/* 商店
   —— 由 styles.css 第 3656–3762 行原样切分，规则与顺序未改动。 */
/* ---------- 原 index.html 第二段内联样式 ---------- */

/* ========== 商店：搜索框与紧凑列表 ========== */
.store-search-bar {
  position: relative;
  margin-bottom: 12px;
}
.store-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  fill: #999;
}
.store-search-input {
  width: 100%;
  padding: 10px 14px 10px 36px;
  border: none;
  border-radius: 12px;
  background: rgba(255,255,255,0.9);
  font-size: 14px;
  outline: none;
  font-family: inherit;
  box-sizing: border-box;
}
.store-filter-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  overflow-x: auto;
}
.store-filter-tags::-webkit-scrollbar { display: none; }
.store-filter-tag {
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 12px;
  background: rgba(255,255,255,0.4);
  color: #666;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}
.store-filter-tag.active {
  background: #FFD4E8;
  color: #333;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(255, 212, 232, 0.5);
}

.store-compact-item {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  margin-bottom: 8px;
  border-radius: 14px;
  background: rgba(255,255,255,0.9);
  gap: 12px;
}
.store-compact-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0,0,0,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.store-compact-info {
  flex: 1;
  min-width: 0;
}
.store-compact-name {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.store-compact-desc {
  font-size: 12px;
  color: #999;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.store-compact-btn {
  padding: 6px 14px;
  border: none;
  border-radius: 16px;
  background: #FFD4E8;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
}
.store-compact-btn.installed {
  background: rgba(0,0,0,0.05);
  color: #999;
}

