/* 平衡空間（NAS）結帳頁：沿用 /styles.css 的版型，只換成 NAS 紫金色系。 */
.theme-nas {
  --ink: #2a1838;
  --muted: #6a5a74;
  --line: #e7d3ef;
  --surface: #faf6fb;
  --nas-purple: #b453d9;
  --nas-gold: #d4a537;
}
.theme-nas .legal-link { color: var(--ink); }
.theme-nas button:focus-visible, .theme-nas a:focus-visible, .theme-nas input:focus-visible, .theme-nas select:focus-visible { outline-color: #8f3cb3; }
.theme-nas .brand-header { border-bottom-color: #f1e6f5; }
.theme-nas .button-primary { color: #fff; background: linear-gradient(90deg, var(--nas-purple), var(--nas-gold)); }
.theme-nas .button-secondary { border-color: var(--line); color: var(--ink); }
.theme-nas .text-field:focus { border-color: #8f3cb3; outline-color: rgba(180, 83, 217, .18); }
.theme-nas .consent-row input { accent-color: #8f3cb3; }
.theme-nas .summary-card { border-color: var(--line); }
.theme-nas .step-actions, .theme-nas .page-footer { border-top-color: #f1e6f5; }
.theme-nas .field-hint { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.theme-nas .gender-options { display: flex; flex-wrap: wrap; gap: 8px; }
.theme-nas .gender-option { display: inline-flex; min-height: 44px; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid #d9c6e2; border-radius: 12px; font-size: 16px; cursor: pointer; }
.theme-nas .gender-option input { accent-color: #8f3cb3; }
.theme-nas select.text-field { appearance: auto; }
.theme-nas .date-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 8px; }
.theme-nas .progress-card { display: grid; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); text-align: center; }
.theme-nas .progress-card strong { font-size: 17px; }
.theme-nas .progress-dots { display: inline-flex; justify-content: center; gap: 6px; }
.theme-nas .progress-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--nas-purple); animation: nas-dot 1.2s infinite ease-in-out; }
.theme-nas .progress-dots span:nth-child(2) { animation-delay: .15s; background: #c47ad0; }
.theme-nas .progress-dots span:nth-child(3) { animation-delay: .3s; background: var(--nas-gold); }
.theme-nas .progress-card.is-done .progress-dots { display: none; }
.theme-nas .binding-card { display: grid; justify-items: center; gap: 14px; margin-top: 18px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); text-align: center; }
.theme-nas .binding-card h2, .theme-nas .binding-card p { margin: 0; }
.theme-nas .binding-qr { width: min(220px, 100%); height: auto; border-radius: 12px; background: #fff; }
.theme-nas .binding-code-label { color: var(--muted); font-size: 14px; }
.theme-nas .binding-code { display: block; max-width: 100%; padding: 12px; border: 1px dashed var(--nas-gold); border-radius: 10px; background: #fff; color: var(--ink); font: 700 20px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; overflow-wrap: anywhere; }
.theme-nas #direct-purchase-action { margin-top: 12px; }
@keyframes nas-dot { 0%, 80%, 100% { transform: scale(.6); opacity: .5; } 40% { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .theme-nas .progress-dots span, .theme-nas .thanks-title-char { animation: none; opacity: 1; } }
/* 2026-11-12：手機字體放大時，下方付款區最多佔半個畫面，其餘可捲動，不再蓋住整個表單 */
.theme-nas .step-actions { max-height: 50svh; overflow-y: auto; }

/* 2026-11-13：結帳頁只留一條主路徑；沒有 LINE 的人用小字入口。文字避免單獨一個字掉到下一行。 */
.theme-nas p, .theme-nas h1, .theme-nas h2, .theme-nas span, .theme-nas small, .theme-nas li { text-wrap: pretty; }
.theme-nas #summary-description { display: block; white-space: pre-line; line-height: 1.7; }
.theme-nas .text-link-button { display: block; margin: 18px auto 0; padding: 10px 12px; border: 0; background: none; color: var(--muted); font-size: 15px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.theme-nas .text-link-button:hover { color: var(--ink); }
.theme-nas .text-link-button:active { opacity: .6; transform: scale(.98); }
