/* Excel表溯源 · 购买页（墨岩+琥珀） */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Segoe UI", "Microsoft YaHei UI", sans-serif;
  background: #12161F; color: #ECF0F7; min-height: 100vh;
  display: flex; align-items: center; justify-content: center; padding: 30px 16px;
}
a { color: inherit; text-decoration: none; }
.wrap { width: 100%; max-width: 720px; }

.brand { display: flex; align-items: center; gap: 12px; justify-content: center; margin-bottom: 8px; }
.brand-logo {
  width: 40px; height: 40px; border-radius: 11px; background: #1A2130;
  border: 1px solid #2A344D; position: relative;
}
.brand-logo::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 18px; height: 18px;
  border: 3px solid #E8A23B; border-radius: 50%;
}
.brand-name { font-size: 20px; font-weight: 700; }
.brand-name span { color: #E8A23B; }
.sub { text-align: center; color: #616E8B; font-size: 13px; margin-bottom: 28px; }

.card {
  background: #1A2130; border: 1px solid #2A344D; border-radius: 14px; padding: 26px;
}

/* 套餐选择 */
.package { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1.5px solid #2A344D;
  border-radius: 12px; margin-bottom: 12px; cursor: pointer; transition: border-color .15s, background .15s; }
.package:hover { background: #1E2534; }
.package.sel { border-color: #E8A23B; background: #20242E; }
.package input { accent-color: #E8A23B; width: 17px; height: 17px; }
.pkg-info { flex: 1; }
.pkg-name { font-size: 15px; font-weight: 600; }
.pkg-desc { font-size: 12px; color: #616E8B; margin-top: 4px; }
.pkg-price { text-align: right; }
.pkg-price .num { font-size: 24px; font-weight: 700; color: #E8A23B; font-family: Consolas, monospace; }

label.field { display: block; font-size: 12px; color: #9AA6BE; margin: 18px 0 6px; }
input[type=text], select {
  width: 100%; background: #12161F; color: #ECF0F7; border: 1px solid #2A344D;
  border-radius: 9px; padding: 11px 13px; font-size: 14px; outline: none;
}
input:focus, select:focus { border-color: #E8A23B; }
input::placeholder { color: #4A5470; }

.paytype { display: flex; gap: 10px; margin-top: 6px; }
.paytype label {
  flex: 1; text-align: center; padding: 12px; border: 1.5px solid #2A344D; border-radius: 10px;
  cursor: pointer; font-size: 13px; color: #9AA6BE; transition: all .15s;
}
.paytype label.sel { border-color: #E8A23B; color: #ECF0F7; background: #20242E; }
.paytype input { display: none; }

button.pay {
  width: 100%; margin-top: 24px; padding: 14px; border: 0; border-radius: 10px;
  background: #E8A23B; color: #221507; font-size: 15px; font-weight: 700; cursor: pointer;
}
button.pay:hover { background: #F2B458; }
button.pay:disabled { opacity: .5; cursor: not-allowed; }

.notice { padding: 12px 15px; border-radius: 9px; font-size: 13px; margin-bottom: 16px; }
.notice.err { background: #2A1A1C; color: #E06C6C; border: 1px solid #54303A; }

/* 结果页 */
.result { text-align: center; padding: 20px 0 8px; }
.result .icon { font-size: 44px; }
.result h2 { font-size: 18px; margin: 14px 0 8px; }
.result .mut { color: #616E8B; font-size: 13px; }
.keybox {
  margin: 22px auto 6px; padding: 20px; border: 1.5px dashed #4A3B1D; border-radius: 12px;
  background: #2A2416; max-width: 460px;
}
.keybox .k { font-family: Consolas, monospace; font-size: 19px; font-weight: 700; color: #E8A23B;
  letter-spacing: 1px; user-select: all; word-break: break-all; }
.keybox .tip { font-size: 11.5px; color: #9AA6BE; margin-top: 10px; line-height: 1.8; }
.copy {
  margin-top: 16px; padding: 9px 26px; border: 0; border-radius: 8px; background: #E8A23B;
  color: #221507; font-size: 13px; font-weight: 600; cursor: pointer;
}
.spinner {
  width: 40px; height: 40px; margin: 26px auto 18px; border-radius: 50%;
  border: 3px solid #2A344D; border-top-color: #E8A23B; animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.foot { text-align: center; color: #4A5470; font-size: 11.5px; margin-top: 26px; line-height: 1.9; }
