/* 注册与购买：晨羽邀请、三档方案、扫码付款、开通引导。沿用 brand.css 的纸色 + 铜金配色。 */
.chenyu-invite { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: end; margin-top: 19px; padding: 19px; border: 1px solid #d9c7af; border-radius: 8px; background: #f0e7da; }
.chenyu-invite h3 { font-size: 17px; font-weight: 600; color: #6e5231; margin-top: 9px; }
.chenyu-invite p { font-size: 11px; line-height: 1.85; color: #947d60; margin-top: 8px; }
.chenyu-invite p strong { color: #6e5231; font-weight: 600; }
.chenyu-invite-actions { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.chenyu-invite-actions .button { min-height: 43px; gap: 12px; justify-content: space-between; padding: 11px 15px; font-size: 11px; white-space: nowrap; }
.chenyu-invite-actions .button svg { width: 15px; height: 15px; }
.chenyu-invite-actions .account-choice-note b { color: #6e5231; letter-spacing: 1px; }

.plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plan-price { font-size: 26px !important; line-height: 1.2 !important; font-weight: 600; letter-spacing: -.5px; color: #6e5231 !important; margin-top: 8px !important; }
.account-choice-trial .plan-price { color: #e8d6ba !important; }
.plan-pay { display: flex; flex-direction: column; gap: 8px; margin-top: auto; padding-top: 14px; }
.account-choice-card .plan-pay .button { margin-top: 0; justify-content: center; }
.account-choice-card > .button { margin-top: auto; }
.account-plan-line { display: block; font-size: 10px; color: #a7885f; margin-top: 4px; }

.pay-panel { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 22px; align-items: center; margin-top: 19px; padding: 21px; border: 1px solid #d9c7af; border-radius: 9px; background: #f0e7da; }
.pay-qr { width: 210px; aspect-ratio: 1; border-radius: 8px; background: #fff; padding: 6px; box-shadow: 0 1px 0 #d9c7af; }
.pay-qr svg, .pay-qr img { display: block; width: 100%; height: 100%; stroke: none; fill: initial; image-rendering: pixelated; }
.pay-qr svg * { stroke: none; }
.pay-qr .pay-frame { display: block; width: 100%; height: 100%; border: 0; overflow: hidden; background: #fff; }
.pay-qr .pay-mark { display: grid; place-items: center; height: 100%; font-size: 16px; font-weight: 600; letter-spacing: .08em; color: #1677ff; }
.pay-info h3 { font-size: 22px; font-weight: 600; color: #6e5231; margin-top: 10px; }
.pay-info p { font-size: 12px; line-height: 1.85; color: #947d60; margin-top: 9px; }
.pay-countdown { font-variant-numeric: tabular-nums; color: #a8794c !important; }
.pay-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; }
.pay-actions .button { min-height: 41px; padding: 10px 16px; font-size: 11px; }

.next-steps { margin: 16px 0 0 18px; display: grid; gap: 8px; font-size: 12px; line-height: 1.8; color: #d9c9b1; }
.next-steps a { color: #e8c99d; text-decoration: underline; text-underline-offset: 3px; }
.next-steps b { color: #f1dfc2; font-weight: 600; }

.trial-form-message[data-tone="info"] { color: #6e5231; background: #efe5d6; border-color: #d9c7af; }
.trial-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trial-steps li { white-space: nowrap; }

@media (max-width: 720px) {
  .chenyu-invite { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr; }
  .pay-panel { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .pay-qr { width: min(240px, 100%); }
  .pay-actions { justify-content: center; }
}
/* No-SMS mode: the phone typed twice is confirmed on the page before the account opens. */
.trial-confirm { margin: 4px 0 14px; padding: 16px 18px; border: 1px solid #d9b98f; border-radius: 9px; background: #f6ecdc; }
.trial-confirm[hidden] { display: none; }
.trial-confirm p { margin: 0 0 12px; color: #6e5231; font-size: 14px; line-height: 1.7; font-weight: 600; }
.trial-confirm-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
