* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft YaHei", sans-serif;
}
body {
  background: #f8fafc;
  color: #333;
  min-height: 100vh;
}
.container {
  width: 100%;
  padding: 15px;
}
.header {
  text-align: center;
  padding: 25px 15px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  margin-bottom: 20px;
}
.header h1 {
  font-size: 24px;
  color: #1e293b;
  margin-bottom: 6px;
}
.header p {
  font-size: 14px;
  color: #64748b;
}

.search-box {
  margin-bottom: 20px;
  text-align: center;
}
.search-input {
  width: 100%;
  max-width: 500px;
  padding: 12px 18px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 15px;
  outline: none;
  transition: all .2s;
}
.search-input:focus {
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2,132,199,0.15);
}

.tab-box {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,.03);
  overflow: hidden;
}
.tab-nav {
  display: flex;
  border-bottom: 1px solid #eee;
}
.tab-item {
  flex: 1;
  text-align: center;
  padding: 14px 0;
  cursor: pointer;
  font-size: 15px;
  color: #666;
  transition: all 0.2s;
}
.tab-item.active {
  color: #0284c7;
  border-bottom: 3px solid #0284c7;
  font-weight: 500;
}
.tab-content {
  padding: 15px;
  display: none;
}
.tab-content.active {
  display: block;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.card {
  background: #fff;
  border-radius: 10px;
  padding: 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,.03);
  border: 1px solid #f1f5f9;
  transition: all .2s;
  position: relative;
}
.card-tutorial {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 12px;
  color: #e53e3e;
  text-decoration: none;
  font-weight: 500;
}
.card-tutorial:hover {
  color: #c53030;
  text-decoration: underline;
}
.card h2 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #0f172a;
  padding-right: 60px;
}
.card h2 a {
  text-decoration: none;
  color: #0f172a;
}
.info {
  font-size: 13px;
  color: #475569;
  margin-bottom: 12px;
  line-height: 1.5;
}
.info span {
  color: #0284c7;
  font-weight: 500;
}
.download-row {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.download-btn {
  padding: 8px 16px;
  background: #0284c7;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  border-radius: 6px;
  transition: all .2s;
}
.download-btn:hover {
  background: #0369a1;
}
.copy-btn {
  padding: 8px 12px;
  background: #10b981;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.copy-btn:hover {
  background: #059669;
}
.copy-btn.copied {
  background: #059669;
}
.empty-tip {
  grid-column: 1 / -1;
  text-align: center;
  padding: 30px 10px;
  color: #94a3b8;
  font-size: 14px;
  display: none;
}