.qgl {
  margin: 24px 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
.qgl-card {
  border: 1px solid #e5e9f0;
  border-radius: 12px;
  background: #fff;
  padding: 28px 24px;
  text-align: center;
  color: #1f2937;
}
.qgl-icon {
  width: 34px;
  height: 34px;
  margin: 0 auto 12px;
  border-radius: 10px;
  background: #eef3ff;
  border: 1px solid #d7e2ff;
  position: relative;
}
.qgl-icon::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 10px;
  width: 12px;
  height: 12px;
  border: 2px solid #3b6cf6;
  border-radius: 3px;
  box-sizing: border-box;
}
.qgl-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}
.qgl-desc {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto 18px;
}
.qgl-code {
  display: inline-block;
  max-width: 100%;
  min-width: 200px;
  padding: 10px 18px;
  border: 1px dashed #c7d2e5;
  border-radius: 10px;
  background: #f7f9fc;
  color: #0f172a;
  font: 25px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 5px;
  word-break: break-all;
  user-select: all;
}
.qgl-timer {
  min-height: 20px;
  margin-top: 8px;
  font-size: 12px;
  color: #b45309;
}
.qgl-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 14px 0 10px;
}
.qgl-btn {
  display: inline-block;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.4;
  padding: 8px 16px;
  border: 1px solid #e5e9f0;
  border-radius: 8px;
  background: #fff;
  color: #1f2937;
  text-decoration: none;
  cursor: pointer;
}
.qgl-btn:hover { border-color: #c7d2e5; background: #fafbfe; }
.qgl-btn.primary {
  background: #3b6cf6;
  border-color: #3b6cf6;
  color: #fff;
}
.qgl-btn.primary:hover { background: #3159d8; }
.qgl-status {
  font-size: 12px;
  color: #6b7280;
  min-height: 18px;
}
.qgl-content {
  margin: 0;
}
.qgl-card.qgl-revoked {
  border-color: #f3c9c9;
  background: #fff7f7;
}
.qgl-card.qgl-revoked .qgl-title { color: #b42318; }
@media (max-width: 600px) {
  .qgl-card { padding: 22px 16px; }
  .qgl-code { font-size: 21px; min-width: 170px; letter-spacing: 3px; }
}
