* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft YaHei", sans-serif;
}
body {
  background-color: #000;
  color: #e0e0e0;
  line-height: 1.6;
  padding-bottom: 70px;
}
.header {
  background-color: #111;
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid #333;
  position: sticky;
  top: 0;
  z-index: 99;
}
.header h1 {
  font-size: 24px;
  color: #fff;
  margin-bottom: 8px;
}
.header p {
  font-size: 14px;
  color: #999;
}
.container {
  max-width: 1000px;
  margin: 20px auto;
  padding: 0 15px;
}
.tool-box {
  background-color: #111;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid #333;
  transition: all 0.3s;
}
.tool-box:hover {
  border-color: #6cf;
  box-shadow: 0 0 10px rgba(102,204,255,0.2);
}
.tool-box h3 {
  color: #6cf;
  font-size: 18px;
  margin-bottom: 15px;
}
.tool-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px,1fr));
  gap: 12px;
  margin-bottom:15px;
}
.tool-item {
  background-color: #222;
  padding: 12px;
  border-radius: 6px;
  text-align: center;
  cursor: pointer;
  transition: 0.3s;
  font-size:14px;
}
.tool-item:hover {
  background-color: #6cf;
  color: #000;
}
.desc {
  background-color: #111;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #333;
  margin-bottom: 20px;
}
.desc h2 {
  color: #fff;
  font-size: 20px;
  margin-bottom:15px;
}
.desc p {
  color: #ccc;
  margin-bottom:10px;
}
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #111;
  text-align: center;
  padding:15px;
  font-size:13px;
  color:#666;
  border-top:1px solid #333;
}
.input-group {
  margin:10px 0;
}
input, textarea {
  width:100%;
  padding:10px;
  background:#222;
  border:1px solid #444;
  border-radius:6px;
  color:#fff;
  margin-bottom:10px;
  outline:none;
  resize:vertical;
}
input:focus, textarea:focus {
  border-color:#6cf;
}
.result {
  padding:10px;
  background:#222;
  border-radius:6px;
  min-height:40px;
  word-break:break-all;
}
