* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #0b1220;
  color: #e8edf7;
}
.wrap {
  max-width: 1080px;
  margin: 32px auto;
  padding: 0 16px;
}
.card {
  background: #131c2f;
  border: 1px solid #24314d;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 16px 40px rgba(0,0,0,.28);
}
h1 { margin: 0 0 10px; font-size: 30px; }
.muted { color: #a9b6cf; margin-bottom: 20px; }
label {
  display: block;
  margin: 14px 0 8px;
  font-size: 14px;
  color: #cbd7ef;
}
input, select, textarea, button {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #30425f;
  background: #0f1728;
  color: #f4f7fc;
  padding: 12px 14px;
  font-size: 14px;
}
textarea {
  resize: vertical;
  line-height: 1.5;
}
button {
  cursor: pointer;
  font-weight: 700;
}
button.primary {
  background: #2563eb;
  border-color: #2563eb;
}
button.danger {
  background: #dc2626;
  border-color: #dc2626;
}
.grid {
  display: grid;
  gap: 14px;
}
.grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.infoBox, .log, .tips {
  margin-top: 16px;
  padding: 14px;
  border-radius: 14px;
  background: #0d1525;
  border: 1px solid #24314d;
}
.log {
  white-space: pre-wrap;
  min-height: 70px;
}
.stats {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}
.stats > div {
  background: #0d1525;
  border: 1px solid #24314d;
  border-radius: 14px;
  padding: 14px;
}
.stats span {
  display: block;
  color: #9eb0d1;
  margin-bottom: 6px;
}
.stats strong {
  font-size: 20px;
}
.tips ol {
  margin: 10px 0 0 18px;
  padding: 0;
}
.tips p { color: #9eb0d1; margin-bottom: 0; }
@media (max-width: 860px) {
  .grid.two, .grid.three, .stats {
    grid-template-columns: 1fr;
  }
}
