/* TuServerMu - Buy Thanks page (action=buythanks). Scoped to .tsmu-bt, bt- prefix.
   Ported from the approved mockup .vscode/mockups/buythanks-mockup.html. */

.tsmu-bt {
	--bt-navy-900: #0b1f3a;
	--bt-navy-800: #102a4c;
	--bt-navy-700: #1d4579;
	--bt-blue: #2563eb;
	--bt-gold: #f5b81c;
	--bt-gold-2: #ffd774;
	--bt-gold-dark: #b7791f;
	--bt-ink: #0f2744;
	--bt-ink-2: #334155;
	--bt-muted: #64748b;
	--bt-line: #e2e8f0;
	--bt-soft: #f8fafc;
	--bt-good: #15803d;
	--bt-good-bg: #ecfdf5;
	--bt-bad: #be123c;
	--bt-bad-bg: #fff1f2;
	--bt-warn: #c2410c;
	--bt-warn-bg: #fff7ed;

	display: flex;
	flex-direction: column;
	gap: 16px;
	max-width: 1040px;
	margin: 8px auto 28px;
	color: var(--bt-ink-2);
	font: 14px/1.45 "Segoe UI", Tahoma, Arial, sans-serif;
	text-align: left;
}
.tsmu-bt *,
.tsmu-bt *::before,
.tsmu-bt *::after { box-sizing: border-box; }
.tsmu-bt a { color: var(--bt-blue); }
.tsmu-bt img { max-width: 100%; border: 0; }
.tsmu-bt h1, .tsmu-bt h2, .tsmu-bt h3 { padding: 0; border: 0; background: none; text-transform: none; letter-spacing: normal; box-shadow: none; }
.tsmu-bt [hidden] { display: none !important; }
.tsmu-bt .bt-ico { width: 14px; height: 14px; flex: 0 0 auto; }
.tsmu-bt code { padding: 0; border: 0; background: none; color: var(--bt-ink); font: 800 12px/1.3 Consolas, "Courier New", monospace; }

/* Admin notice / flash */
.bt-admin-note, .bt-flash { display: flex; align-items: flex-start; gap: 10px; padding: 11px 14px; border-radius: 12px; font-size: 13px; font-weight: 700; }
.bt-admin-note { border: 2px dashed #d97706; background: #fffbeb; color: #78350f; }
.bt-flash { border: 1px solid #bfdbfe; background: #eff6ff; color: #1e3a8a; }
.bt-admin-note .bt-ico, .bt-flash .bt-ico { width: 18px; height: 18px; margin-top: 1px; }

/* Hero */
.bt-hero { position: relative; overflow: hidden; min-height: 300px; border-radius: 18px; background: var(--bt-navy-900) url("../../images/thankspay/hero.webp") right center / auto 120% no-repeat; color: #fff; box-shadow: 0 20px 40px rgba(11, 31, 58, .25); }
.bt-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 22, 44, .97) 0%, rgba(8, 22, 44, .9) 42%, rgba(8, 22, 44, .25) 72%, rgba(8, 22, 44, 0) 100%); }
.bt-hero-copy { position: relative; max-width: 560px; padding: 34px 32px; }
.bt-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--bt-gold-2); font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.bt-eyebrow img { width: 22px; height: 22px; }
.tsmu-bt .bt-hero h1.bt-h1 { margin: 10px 0; color: #fff; font-size: 34px; line-height: 1.1; font-weight: 900; letter-spacing: -.01em; }
.tsmu-bt .bt-hero h1.bt-h1 span { color: var(--bt-gold); }
.bt-hero-text { margin: 0 0 18px; color: #d4e4fb; font-size: 15px; }
.bt-trust { display: flex; flex-wrap: wrap; gap: 8px; }
.bt-trust span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: 12px; font-weight: 800; }
.bt-trust .bt-ico { color: var(--bt-gold-2); }

/* Member status */
.bt-status { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 20px; align-items: center; padding: 18px 20px; border: 1px solid var(--bt-line); border-radius: 16px; background: #fff; box-shadow: 0 10px 24px rgba(15, 23, 42, .06); }
.bt-status-head { display: flex; align-items: center; gap: 12px; }
.bt-avatar { flex: 0 0 44px; width: 44px; height: 44px; overflow: hidden; border-radius: 50%; display: grid; place-items: center; background: #e0ecff; color: var(--bt-navy-700); font-size: 18px; font-weight: 900; text-transform: uppercase; }
.bt-avatar img { width: 100%; height: 100%; object-fit: cover; }
.bt-status-name { color: var(--bt-ink); font-size: 16px; font-weight: 900; }
.bt-status-sub { color: var(--bt-muted); font-size: 12px; font-weight: 700; }
.bt-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.bt-stat { min-width: 98px; padding: 8px 12px; border: 1px solid var(--bt-line); border-radius: 10px; background: var(--bt-soft); }
.bt-stat span { display: block; color: var(--bt-muted); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.bt-stat strong { display: block; margin-top: 2px; color: var(--bt-ink); font-size: 18px; font-weight: 900; font-variant-numeric: tabular-nums; }
.bt-status-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.bt-wait-pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 900; white-space: nowrap; }
.bt-wait-pill.is-wait { border: 1px solid #fecdd3; background: var(--bt-bad-bg); color: var(--bt-bad); }
.bt-wait-pill.is-free { border: 1px solid #bbf7d0; background: var(--bt-good-bg); color: var(--bt-good); }
.bt-next { color: var(--bt-muted); font-size: 12px; font-weight: 700; }
.bt-next b { color: var(--bt-ink); font-variant-numeric: tabular-nums; }
.bt-goal { grid-column: 1 / -1; }
.bt-goal-line { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; margin-bottom: 6px; color: var(--bt-ink); font-size: 13px; font-weight: 800; }
.bt-goal-line em { color: var(--bt-muted); font-style: normal; font-weight: 700; }
.bt-goal-track { position: relative; height: 10px; overflow: hidden; border-radius: 5px; background: #eef2f7; }
.bt-goal-fill { height: 100%; border-radius: 5px; background: linear-gradient(90deg, #f59e0b, #f5b81c); }
.bt-goal-mark { display: flex; justify-content: space-between; margin-top: 4px; color: var(--bt-muted); font-size: 11px; font-weight: 700; }
.bt-guest { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding: 18px 20px; border: 1px solid #bfdbfe; border-radius: 16px; background: #eff6ff; color: #1e3a8a; font-weight: 700; }
.bt-guest strong { display: block; color: var(--bt-ink); font-size: 16px; }

/* Offer banner */
.bt-offer { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 18px 22px; border-radius: 16px; background: var(--bt-navy-900) url("../../images/thankspay/offer-bg.webp") center / cover no-repeat; color: #fff; box-shadow: 0 12px 26px rgba(11, 31, 58, .22); }
.bt-offer::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 22, 44, .9), rgba(8, 22, 44, .55) 60%, rgba(8, 22, 44, .75)); }
.bt-offer > * { position: relative; }
.bt-offer-tag { display: inline-block; padding: 3px 9px; border-radius: 999px; background: var(--bt-gold); color: #3b2500; font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.tsmu-bt h3.bt-offer-title { margin: 6px 0 2px; color: #fff; font-size: 22px; font-weight: 900; }
.bt-offer p { margin: 0; color: #d4e4fb; font-size: 13px; font-weight: 600; }
.bt-countdown { display: flex; gap: 6px; }
.bt-countdown div { min-width: 54px; padding: 7px 6px; border: 1px solid rgba(255, 215, 116, .35); border-radius: 10px; background: rgba(8, 22, 44, .55); text-align: center; }
.bt-countdown strong { display: block; color: var(--bt-gold-2); font-size: 22px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.bt-countdown span { color: #b9cdea; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }

/* Maintenance banner (payments paused) */
.bt-maint { position: relative; overflow: hidden; display: flex; align-items: center; flex-wrap: wrap; gap: 16px 18px; padding: 18px 22px; border: 1px solid rgba(251, 191, 36, .45); border-radius: 16px; background: linear-gradient(120deg, #0b1f3a 0%, #13305a 55%, #3a2a0b 100%); color: #fff; box-shadow: 0 12px 26px rgba(11, 31, 58, .22); }
.bt-maint::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: repeating-linear-gradient(135deg, #f5b81c 0 10px, #0b1f3a 10px 20px); }
.bt-maint-mark { flex: 0 0 52px; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: rgba(245, 184, 28, .16); color: var(--bt-gold-2); box-shadow: inset 0 0 0 2px rgba(245, 184, 28, .45); }
.bt-maint-mark .bt-ico { width: 30px; height: 30px; }
.bt-maint-copy { flex: 1 1 260px; min-width: 0; }
.bt-maint-tag { display: inline-block; padding: 3px 9px; border-radius: 999px; background: var(--bt-gold); color: #3b2500; font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.tsmu-bt h3.bt-maint-title { margin: 6px 0 2px; color: #fff; font-size: 22px; font-weight: 900; }
.bt-maint p { margin: 0; color: #d4e4fb; font-size: 13px; font-weight: 600; line-height: 1.45; }
.bt-maint small { display: block; margin-top: 6px; color: #b9cdea; font-size: 12px; font-weight: 700; }
.bt-maint small strong { color: var(--bt-gold-2); }
.bt-maint-soon .bt-ico { color: #1d4ed8; }
.bt-pay-off.is-paused { border-color: #fde68a; background: #fffbeb; color: #78350f; }
.bt-pay-off.is-paused strong { display: block; color: #78350f; }

/* Section titles */
.bt-section-title { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 10px; margin: 6px 0 -4px; }
.tsmu-bt .bt-section-title h2 { margin: 0; color: var(--bt-ink); font-size: 20px; font-weight: 900; }
.bt-section-title span { color: var(--bt-muted); font-size: 12px; font-weight: 700; }

/* Packs */
.bt-packs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.bt-packs[data-count="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bt-packs[data-count="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bt-packs[data-count="2"], .bt-packs[data-count="1"] { grid-template-columns: repeat(2, minmax(0, 260px)); justify-content: center; }
.bt-pack { position: relative; display: flex; flex-direction: column; align-items: stretch; overflow: hidden; border: 2px solid var(--bt-line); border-radius: 16px; background: #fff; text-align: center; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.bt-pack[tabindex] { cursor: pointer; }
.bt-pack:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(15, 23, 42, .12); }
.bt-pack:focus-visible { outline: 3px solid var(--bt-blue); outline-offset: 2px; }
.bt-pack.is-popular { border-color: #f5d27a; }
.bt-pack.is-selected { border-color: var(--bt-gold); box-shadow: 0 0 0 4px rgba(245, 184, 28, .28), 0 16px 30px rgba(15, 23, 42, .14); }
.bt-pack-art { position: relative; display: grid; place-items: center; height: 118px; background: radial-gradient(circle at 50% 62%, rgba(245, 184, 28, .32), transparent 60%), linear-gradient(180deg, var(--bt-navy-800), var(--bt-navy-700)); }
.bt-pack-art img { width: 98px; height: 98px; object-fit: contain; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .45)); transition: transform .2s ease; }
.bt-pack:hover .bt-pack-art img { transform: scale(1.06) rotate(-2deg); }
.bt-pack-badge { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); padding: 3px 9px; border-radius: 999px; font-size: 9px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.bt-pack-badge.is-popular { background: var(--bt-gold); color: #3b2500; }
.bt-pack-badge.is-best { background: #22c55e; color: #052e16; }
.bt-pack-badge.is-new { background: #38bdf8; color: #082f49; }
.bt-pack-reco { position: absolute; bottom: 7px; left: 50%; transform: translateX(-50%); padding: 3px 9px; border-radius: 999px; background: #fff; color: var(--bt-navy-700); font-size: 9px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; box-shadow: 0 4px 10px rgba(0, 0, 0, .25); }
.bt-pack-body { display: flex; flex: 1 1 auto; flex-direction: column; gap: 3px; padding: 12px 10px 14px; }
.bt-pack-name { color: var(--bt-muted); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.bt-pack-thanks { color: var(--bt-ink); font-size: 30px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.bt-pack-thanks small { display: block; margin-top: 2px; color: var(--bt-muted); font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.bt-pack-bonus { min-height: 32px; color: var(--bt-gold-dark); font-size: 11px; font-weight: 800; line-height: 1.35; }
.bt-pack-bonus .is-offer { display: block; color: #9a3412; }
.bt-pack-price { color: var(--bt-navy-700); font-size: 22px; font-weight: 900; }
.bt-pack-price s { margin-right: 4px; color: var(--bt-muted); font-size: 13px; font-weight: 700; }
.bt-pack-per { color: var(--bt-muted); font-size: 11px; font-weight: 700; }
.bt-pack-after { margin: 8px 0 10px; padding: 7px 6px; border-radius: 9px; background: var(--bt-soft); font-size: 11px; font-weight: 800; line-height: 1.35; }
.bt-pack-after b { color: var(--bt-ink); font-size: 13px; }
.bt-pack-after .is-ok { color: var(--bt-good); }
.bt-pack-after .is-no { color: var(--bt-warn); }
.tsmu-bt .bt-pack-btn { display: flex; align-items: center; justify-content: center; margin-top: auto; min-height: 36px; border-radius: 9px; background: var(--bt-navy-700); color: #fff; font-size: 13px; font-weight: 900; text-decoration: none; }
.tsmu-bt .bt-pack.is-selected .bt-pack-btn { background: linear-gradient(180deg, #ffd774, #f5b81c); color: #3b2500; }

/* Checkout */
.bt-checkout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); overflow: hidden; border: 1px solid var(--bt-line); border-radius: 18px; background: #fff; box-shadow: 0 14px 30px rgba(15, 23, 42, .08); scroll-margin-top: 12px; }
.bt-checkout-summary { padding: 20px 22px; border-right: 1px solid var(--bt-line); background: linear-gradient(180deg, #fbfcfe, #f3f6fb); }
.bt-checkout-pay { padding: 20px 22px; }
.tsmu-bt .bt-checkout h3, .tsmu-bt .bt-card h3 { margin: 0 0 12px; color: var(--bt-ink); font-size: 16px; font-weight: 900; }
.bt-sum-pack { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.bt-sum-pack img { width: 56px; height: 56px; padding: 4px; border-radius: 12px; object-fit: contain; background: linear-gradient(180deg, var(--bt-navy-800), var(--bt-navy-700)); }
.bt-sum-pack strong { display: block; color: var(--bt-ink); font-size: 16px; font-weight: 900; }
.bt-sum-pack span { color: var(--bt-muted); font-size: 12px; font-weight: 700; }
.bt-sum-rows { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font-size: 13px; }
.bt-sum-rows dt { margin: 0; color: var(--bt-muted); font-weight: 700; }
.bt-sum-rows dd { margin: 0; color: var(--bt-ink); font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }
.bt-sum-rows .bt-sum-discount { color: var(--bt-good); }
.bt-sum-rows .is-total { padding-top: 8px; border-top: 1px dashed #cbd5e1; font-size: 16px; }
.bt-compare { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; margin-top: 14px; padding: 12px; border: 1px solid var(--bt-line); border-radius: 12px; background: #fff; text-align: center; }
.bt-compare span { display: block; color: var(--bt-muted); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.bt-compare strong { display: block; color: var(--bt-ink); font-size: 18px; font-weight: 900; }
.bt-compare small { display: block; font-size: 11px; font-weight: 800; }
.bt-compare .is-bad { color: var(--bt-bad); }
.bt-compare .is-warn { color: var(--bt-warn); }
.bt-compare .is-good { color: var(--bt-good); }
.bt-arrow { color: var(--bt-gold-dark); font-size: 20px; font-weight: 900; }
.bt-consent { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border: 1px solid var(--bt-line); border-radius: 12px; background: var(--bt-soft); color: var(--bt-ink-2); font-size: 12px; font-weight: 600; line-height: 1.45; cursor: pointer; }
.tsmu-bt .bt-consent input { flex: 0 0 auto; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--bt-navy-700); }
.bt-consent.is-shake { animation: bt-shake .4s ease; border-color: var(--bt-warn); }
@keyframes bt-shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.bt-pay-area { position: relative; margin-top: 14px; min-height: 100px; transition: opacity .2s ease, filter .2s ease; }
.bt-pay-area.is-locked .bt-paypal-buttons { opacity: .45; filter: grayscale(.3); }
.bt-paypal-buttons { position: relative; z-index: 0; }
.bt-loading { padding: 32px 0; color: var(--bt-muted); font-size: 12px; font-weight: 700; text-align: center; }
.bt-busy { position: absolute; inset: -4px; z-index: 5; display: flex; align-items: center; justify-content: center; gap: 10px; border-radius: 10px; background: rgba(255, 255, 255, .92); color: var(--bt-ink); font-size: 13px; font-weight: 800; }
.bt-spinner { width: 20px; height: 20px; border: 3px solid #e2e8f0; border-top-color: var(--bt-gold); border-radius: 50%; animation: bt-spin .8s linear infinite; }
@keyframes bt-spin { to { transform: rotate(360deg); } }
.bt-lock-hint { margin: 8px 0 0; color: var(--bt-warn); font-size: 12px; font-weight: 800; text-align: center; }
.bt-pay-msg { margin-top: 10px; padding: 10px 12px; border-radius: 10px; font-size: 13px; font-weight: 700; }
.bt-pay-msg.is-bad { border: 1px solid #fecdd3; background: var(--bt-bad-bg); color: var(--bt-bad); }
.bt-pay-msg.is-info { border: 1px solid #bfdbfe; background: #eff6ff; color: #1e3a8a; }
.bt-pay-msg.is-warn { border: 1px solid #fed7aa; background: var(--bt-warn-bg); color: var(--bt-warn); }
.bt-pp-note { margin: 10px 0 0; color: var(--bt-muted); font-size: 11px; font-weight: 600; text-align: center; }
.bt-secure { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; color: var(--bt-muted); font-size: 11px; font-weight: 700; }
.bt-secure .bt-ico { width: 13px; height: 13px; color: var(--bt-good); }
.bt-pay-off { display: flex; align-items: flex-start; gap: 10px; padding: 14px; border: 1px solid #bfdbfe; border-radius: 12px; background: #eff6ff; color: #1e3a8a; font-size: 13px; font-weight: 700; }
.bt-pay-off.is-bad { border-color: #fecdd3; background: var(--bt-bad-bg); color: var(--bt-bad); }
.bt-pay-off .bt-ico { width: 18px; height: 18px; margin-top: 1px; }

/* Info blocks */
.bt-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bt-step { padding: 16px; border: 1px solid var(--bt-line); border-radius: 14px; background: #fff; }
.bt-step b { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-bottom: 8px; border-radius: 50%; background: linear-gradient(180deg, #ffd774, #f5b81c); color: #3b2500; font-weight: 900; }
.bt-step strong { display: block; color: var(--bt-ink); font-size: 14px; font-weight: 900; }
.bt-step p { margin: 4px 0 0; color: var(--bt-muted); font-size: 12px; font-weight: 600; }
.bt-card { padding: 18px 20px; border: 1px solid var(--bt-line); border-radius: 16px; background: #fff; }
.bt-empty { color: var(--bt-muted); font-weight: 700; text-align: center; }
.bt-two { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; gap: 16px; }
.bt-two.is-single { grid-template-columns: minmax(0, 1fr); }
.bt-faq details { border-top: 1px solid var(--bt-line); }
.bt-faq details:first-of-type { border-top: 0; }
.bt-faq summary { display: flex; justify-content: space-between; gap: 10px; padding: 11px 2px; color: var(--bt-ink); font-weight: 800; cursor: pointer; list-style: none; }
.bt-faq summary::-webkit-details-marker { display: none; }
.bt-faq summary::after { content: "+"; color: var(--bt-gold-dark); font-weight: 900; }
.bt-faq details[open] summary::after { content: "\2212"; }
.bt-faq p { margin: 0 0 12px; color: var(--bt-ink-2); font-size: 13px; }
.bt-table-wrap { overflow-x: auto; }
.tsmu-bt table.bt-history { width: 100%; margin: 0; border: 0; border-collapse: collapse; background: none; font-size: 13px; }
.tsmu-bt .bt-history th { padding: 8px 10px; border: 0; background: var(--bt-soft); color: var(--bt-muted); font-size: 11px; font-weight: 900; text-align: left; text-transform: uppercase; }
.tsmu-bt .bt-history td { padding: 9px 10px; border: 0; border-top: 1px solid var(--bt-line); background: none; vertical-align: middle; }
.bt-history a { text-decoration: none; }
.bt-history small { color: var(--bt-muted); }
.bt-pill { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 900; white-space: nowrap; }
.bt-pill.is-good { background: var(--bt-good-bg); color: var(--bt-good); }
.bt-pill.is-warn { background: var(--bt-warn-bg); color: var(--bt-warn); }
.bt-pill.is-bad { background: var(--bt-bad-bg); color: var(--bt-bad); }
.bt-pill.is-muted { background: #f1f5f9; color: var(--bt-muted); }
.bt-small { margin: 0; color: var(--bt-muted); font-size: 12px; line-height: 1.55; }
.bt-mt { margin-top: 10px; }

/* Buttons */
.tsmu-bt .bt-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 16px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; color: var(--bt-ink); font: 900 13px/1 "Segoe UI", Tahoma, Arial, sans-serif; text-decoration: none; cursor: pointer; box-shadow: none; }
.tsmu-bt .bt-btn.is-gold { border: 0; background: linear-gradient(180deg, #ffd774, #f5b81c); color: #3b2500; }
.tsmu-bt .bt-btn.is-navy { border: 0; background: var(--bt-navy-700); color: #fff; }

/* Success modal */
.bt-modal[hidden] { display: none; }
.bt-modal { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; padding: 16px; background: rgba(8, 22, 44, .72); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.bt-modal-box { position: relative; width: min(460px, 100%); max-height: calc(100vh - 32px); overflow: auto; border-radius: 20px; background: #fff; text-align: center; box-shadow: 0 30px 60px rgba(0, 0, 0, .4); animation: bt-pop .35s cubic-bezier(.2, 1.4, .4, 1); font: 14px/1.45 "Segoe UI", Tahoma, Arial, sans-serif; }
@keyframes bt-pop { from { transform: scale(.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.bt-modal-top, .bt-receipt-top { padding: 22px 20px 10px; background: radial-gradient(circle at 50% 70%, rgba(245, 184, 28, .4), transparent 60%), linear-gradient(180deg, var(--bt-navy-800), var(--bt-navy-700)); text-align: center; }
.bt-modal-top img, .bt-receipt-top img { width: 150px; height: 150px; object-fit: contain; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .45)); }
.bt-modal-body { padding: 18px 22px 22px; }
.tsmu-bt .bt-modal-body h3, .bt-modal-body h3 { margin: 0; padding: 0; border: 0; background: none; color: var(--bt-ink, #0f2744); font-size: 24px; font-weight: 900; }
.bt-modal-body h3 span { color: #b7791f; }
.bt-modal-body p { margin: 6px 0 14px; color: #64748b; font-size: 13px; font-weight: 600; }
.bt-modal-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }

/* The modal is printed after .tsmu-bt (outside it), so it carries its own tokens. */
.bt-modal { --bt-navy-800: #102a4c; --bt-navy-700: #1d4579; --bt-ink: #0f2744; --bt-muted: #64748b; --bt-line: #e2e8f0; --bt-good: #15803d; --bt-bad: #be123c; --bt-warn: #c2410c; --bt-gold-dark: #b7791f; color: #334155; }
.bt-modal .bt-compare { margin-top: 0; }
.bt-modal .bt-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 16px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; color: #0f2744; font: 900 13px/1 "Segoe UI", Tahoma, Arial, sans-serif; text-decoration: none; cursor: pointer; }
.bt-modal .bt-btn.is-gold { border: 0; background: linear-gradient(180deg, #ffd774, #f5b81c); color: #3b2500; }

/* Receipt */
.bt-receipt { overflow: hidden; max-width: 620px; width: 100%; margin: 0 auto; border: 1px solid var(--bt-line); border-radius: 20px; background: #fff; box-shadow: 0 20px 40px rgba(15, 23, 42, .1); }
.bt-receipt-body { padding: 20px 26px 24px; text-align: center; }
.tsmu-bt .bt-receipt h1.bt-h1 { margin: 0; color: var(--bt-ink); font-size: 26px; font-weight: 900; }
.tsmu-bt .bt-receipt h1.bt-h1 span { color: var(--bt-gold-dark); }
.bt-lead { margin: 6px 0 16px; color: var(--bt-muted); font-size: 14px; font-weight: 600; }
.bt-receipt-rows { max-width: 420px; margin: 0 auto; text-align: left; }

@media (max-width: 860px) {
	.bt-packs, .bt-packs[data-count="4"], .bt-packs[data-count="3"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bt-packs[data-count="5"] .bt-pack:last-child, .bt-packs[data-count="3"] .bt-pack:last-child { grid-column: 1 / -1; }
	.bt-checkout, .bt-two, .bt-steps { grid-template-columns: minmax(0, 1fr); }
	.bt-checkout-summary { border-right: 0; border-bottom: 1px solid var(--bt-line); }
	.bt-hero { background-size: auto 100%; background-position: 70% center; }
	.bt-hero::before { background: linear-gradient(180deg, rgba(8, 22, 44, .55), rgba(8, 22, 44, .95) 70%); }
	.bt-hero-copy { padding: 140px 20px 24px; }
	.tsmu-bt .bt-hero h1.bt-h1 { font-size: 27px; }
	.bt-status { grid-template-columns: minmax(0, 1fr); }
	.bt-status-side { align-items: flex-start; }
}
@media (max-width: 420px) {
	.bt-countdown div { min-width: 46px; }
	.bt-checkout-summary, .bt-checkout-pay, .bt-receipt-body { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
	.tsmu-bt *, .bt-modal * { animation: none !important; transition: none !important; }
}
