* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, "PingFang SC", system-ui, sans-serif; background: #f5f6f8; color: #1a1a1a; line-height: 1.7; }
.wrap { max-width: 520px; margin: 0 auto; padding: 40px 20px 80px; }
h1 { font-size: 24px; margin-bottom: 8px; }
.sub { color: #666; margin-bottom: 28px; }
label { display: block; font-weight: 600; margin-bottom: 8px; }
input { width: 100%; padding: 12px 14px; font-size: 16px; border: 1px solid #ccc; border-radius: 10px; }
button { width: 100%; margin-top: 16px; padding: 14px; font-size: 16px; font-weight: 600; color: #fff; background: #1558d6; border: none; border-radius: 10px; cursor: pointer; }
button:disabled { background: #9bb7e8; }
.err { color: #c0392b; margin-top: 12px; }
.amount { font-size: 40px; font-weight: 700; color: #1558d6; text-align: center; margin: 12px 0 20px; }
.pay-amount { text-align: center; }
.qr { display: flex; gap: 16px; justify-content: center; }
.qr img { width: 180px; height: 180px; object-fit: contain; background: #fff; border: 1px solid #eee; border-radius: 12px; }
.qr figcaption { text-align: center; margin-top: 6px; color: #555; }
.hint { text-align: center; color: #888; margin-top: 20px; }
.status { text-align: center; font-weight: 600; margin-top: 16px; }
.note { font-size: 13px; color: #888; margin-top: 8px; line-height: 1.6; }
.debug-note { background: #fff8e1; border: 1px solid #f0d264; border-radius: 8px; padding: 10px 12px; margin-bottom: 16px; color: #8a6d1a; }
input[readonly] { background: #f0f1f3; color: #777; }
.choose-title { text-align: center; font-weight: 600; margin-bottom: 12px; }
.pay-methods { display: flex; gap: 12px; }
.pay-method { flex: 1; margin-top: 0; background: #fff; color: #1a1a1a; border: 2px solid #ccc; }
.pay-method.selected { border-color: #1558d6; color: #1558d6; background: #eef4ff; font-weight: 700; }
.pay-method[data-kind="wechat"].selected { border-color: #07c160; color: #07c160; background: #ecfbf2; }
.switch-line { text-align: center; margin-top: 10px; }
.switch-line a { color: #888; font-size: 13px; text-decoration: none; }
.bubble { position: fixed; right: 18px; bottom: 24px; background: #f97316; color: #fff; border: none; border-radius: 18px 18px 4px 18px; padding: 10px 16px; font-size: 15px; font-weight: 600; text-decoration: none; box-shadow: 0 4px 14px rgba(249, 115, 22, .45); transform: scale(0); opacity: 0; transform-origin: 100% 100%; }
.bubble.show { animation: bubble-pop .45s cubic-bezier(.34, 1.56, .64, 1) forwards; }
.bubble:hover { background: #ea580c; }
@keyframes bubble-pop {
  0% { transform: scale(0); opacity: 0; }
  70% { transform: scale(1.12); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
.unavail-title { font-size: 22px; font-weight: 700; text-align: center; margin-bottom: 10px; }
.unavail-msg { text-align: center; color: #555; margin-bottom: 24px; }
.reserve { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 20px; }
.reserve-title { font-weight: 700; font-size: 17px; margin-bottom: 6px; }
.reserve label { margin-top: 14px; }
