* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Microsoft YaHei", sans-serif;
  background: #f5f6f8;
  color: #111827;
}

.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.card {
  width: 100%;
  max-width: 420px;
  background: white;
  border-radius: 24px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
  margin-bottom: 16px;
}

h1 {
  margin: 0 0 20px;
  font-size: 28px;
}

.info {
  background: #f9fafb;
  border-radius: 16px;
  padding: 14px;
  margin: 20px 0;
  line-height: 1.8;
}

button {
  width: 100%;
  border: none;
  border-radius: 16px;
  padding: 16px;
  background: #111827;
  color: white;
  font-size: 18px;
  font-weight: 700;
}

.tip {
  color: #6b7280;
  margin-top: 16px;
}

.code {
  font-size: 42px;
  font-weight: 800;
  background: #111827;
  color: white;
  border-radius: 18px;
  padding: 20px;
  margin: 20px 0;
}

.admin {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 20px;
}

.stats {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.stat {
  flex: 1;
  background: white;
  border-radius: 18px;
  padding: 20px;
}

.stat span {
  color: #6b7280;
}

.stat strong {
  display: block;
  margin-top: 8px;
  font-size: 32px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 18px;
  overflow: hidden;
}

th, td {
  padding: 14px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
}
