* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 20%, #1e3a5f, #0b1020);
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
  color: #e0e6f0;
}

.wrap { display: flex; gap: 24px; padding: 24px; }

.panel h1 {
  text-align: center;
  letter-spacing: 8px;
  margin-bottom: 12px;
  background: linear-gradient(90deg, #00e5ff, #b388ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

canvas { display: block; border: 2px solid #334; border-radius: 6px; }

.side { display: flex; flex-direction: column; gap: 16px; width: 220px; }

.box {
  background: #141b2e;
  border: 1px solid #2a3550;
  border-radius: 8px;
  padding: 14px;
}

.box h2 { font-size: 14px; color: #8fa0c0; margin-bottom: 8px; }

.stat { display: flex; justify-content: space-between; margin: 6px 0; font-size: 14px; }
.stat b { color: #00e5ff; }

input {
  width: 100%;
  padding: 8px;
  border: 1px solid #2a3550;
  border-radius: 4px;
  background: #0d1220;
  color: #e0e6f0;
  margin-bottom: 8px;
}

button {
  width: 100%;
  padding: 9px;
  margin: 4px 0;
  border: none;
  border-radius: 4px;
  background: #2b3b66;
  color: #e0e6f0;
  cursor: pointer;
  font-size: 14px;
}
button:hover { background: #3b4f85; }

#rank { list-style: none; }
#rank li {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px dashed #2a3550;
  font-size: 13px;
}
#rank li b { color: #b388ff; }
