.acct-body .site-header { position: relative; z-index: 2; }

.acct-head h1 {
  margin: 0;
  font-size: 26px;
}

.acct-panel h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.acct-note {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
}

.verify-ok {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
  color: #16a34a;
}

.acct-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.acct-user > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.acct-user span:last-child {
  font-size: 13px;
  color: var(--muted);
}

#guestPanel {
  text-align: center;
}

#guestPanel .btn { margin: 12px 0 8px; }

.pay-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 14px;
}

.pay-row select {
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid var(--line);
  font-family: inherit;
}

.field {
  display: block;
  margin-bottom: 12px;
  text-align: left;
}
.field span {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  color: var(--muted);
}

.quota-label, .quota-unit {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.quota-value.sm { font-size: 20px; }

.price-card .price { font-size: 13px; color: var(--muted); margin: 4px 0 12px; }

.price-card.featured {
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}

.pkg-tag {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
}

.btn-buy {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
}
.btn-buy:hover { background: #000; color: #ffffff; }

.price-card .amount {
  margin: 8px 0 4px;
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
}
.price-card .amount small {
  font-size: 16px;
  font-weight: 600;
  margin-right: 2px;
}
.price-card .meta {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--muted);
}

.fine-print {
  font-size: 14px;
  color: var(--muted);
}

.quota-log-wrap { overflow-x: auto; }

.donate-form { max-width: 420px; }
.donate-form .field input {
  padding: 10px 12px;
  border-radius: 8px;
  border: 2px solid var(--ink);
  font-family: inherit;
  width: 100%;
}
.donate-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.donate-preset {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--pill);
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
}
.device-info {
  padding: 12px;
  border-radius: 10px;
  background: var(--pill);
  margin-bottom: 10px;
}
.device-info code {
  word-break: break-all;
}
.acct-warn {
  color: #b45309;
  font-size: 0.9rem;
  margin: 8px 0 12px;
  font-weight: 600;
}
.fraud-tip {
  border: 1px solid #fecaca;
  background: #fff1f2;
}
.fraud-tip-title {
  margin: 0 0 8px;
  color: #dc2626;
  font-size: 1.05rem;
}
.fraud-tip-text {
  margin: 0 0 8px;
  color: #b91c1c;
  font-size: 0.92rem;
  line-height: 1.55;
  font-weight: 600;
}
.fraud-tip-text:last-child { margin-bottom: 0; }
.fraud-tip-text strong { color: #991b1b; }
.acct-actions { margin-top: 12px; }

/* 支付前红字小窗 + 口令确认 */
.pay-gate-modal { z-index: 260; }
.pay-gate-sheet {
  width: min(420px, calc(100% - 28px));
  max-height: min(92vh, 640px);
  overflow: auto;
}
.pay-gate-float {
  margin: 10px 0 16px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #fecaca;
  background: #fff1f2;
  color: #dc2626;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.12);
  animation: pay-gate-pop 0.35s ease-out;
}
@keyframes pay-gate-pop {
  from { transform: translateY(8px) scale(0.98); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.pay-gate-q {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.pay-gate-input {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  background: #fff;
}
.pay-gate-input::placeholder {
  color: #a1a1aa;
}
.pay-gate-input:focus {
  outline: 2px solid rgba(220, 38, 38, 0.35);
  border-color: #f87171;
}
.pay-gate-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.pay-gate-actions .btn {
  flex: 1;
}
.act-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.act-tab {
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--pill); cursor: pointer; font-family: inherit;
}
.act-tab.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.act-pane.hidden { display: none; }

/* ======= 确认订单面板 ======= */
.confirm-order-box {
  background: var(--pill);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  margin-top: 8px;
}
.btn-back {
  margin-bottom: 12px;
}
.pkg-summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}
.pkg-summary-line:last-of-type {
  border-bottom: none;
}
.pkg-sum-label {
  color: var(--muted);
}
.pkg-sum-value {
  color: var(--ink);
  font-weight: 500;
  max-width: 60%;
  text-align: right;
}
.pkg-sum-value-bold {
  color: var(--ink);
  font-weight: 700;
  font-size: 16px;
}
.pkg-price-line {
  padding: 14px 0;
  margin-bottom: 6px;
}
.pkg-sum-price {
  color: #e63946;
  font-weight: 800;
  font-size: 22px;
}
.mono {
  font-family: "SF Mono", Consolas, monospace;
  font-size: 12px;
}
#confirmPanel #confirmTips {
  margin: 12px 0 14px;
}
#confirmPanel .btn-block {
  margin-top: 4px;
}
.act-row { padding: 12px 0; border-bottom: 1px solid var(--line); }
.check-field { flex-direction: row; align-items: center; gap: 8px; }
.check-field input[type="checkbox"] { width: auto; margin: 0; }
