:root {
  color-scheme: light;
  --bg: #f5f7f9;
  --surface: #ffffff;
  --surface-subtle: #eef2f5;
  --ink: #14202b;
  --ink-soft: #354656;
  --muted: #647483;
  --border: #dce3e8;
  --border-strong: #c8d2da;
  --primary: #096fd1;
  --primary-hover: #075daF;
  --primary-soft: #e8f3fd;
  --reward: #9c5b05;
  --reward-soft: #fff4df;
  --success: #177a55;
  --success-soft: #e9f7f1;
  --warning: #8a5a06;
  --warning-soft: #fff5dc;
  --danger: #b43a4b;
  --danger-soft: #fdecef;
  --navy: #102c46;
  --shadow-sm: 0 1px 2px rgb(20 32 43 / 5%), 0 4px 14px rgb(20 32 43 / 4%);
  --shadow-md: 0 18px 50px rgb(20 32 43 / 12%);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --container: 1180px;
  font-family: Manrope, "Noto Sans SC", system-ui, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--ink); font-size: 16px; line-height: 1.55; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
[hidden] { display: none !important; }

.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; padding: 10px 14px; border-radius: 8px; background: var(--ink); color: #fff; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid rgb(9 111 209 / 28%); outline-offset: 3px; }

.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid rgb(220 227 232 / 85%); background: rgb(255 255 255 / 92%); backdrop-filter: blur(14px); }
.header-inner { width: min(calc(100% - 40px), var(--container)); min-height: 72px; margin: 0 auto; display: flex; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; letter-spacing: -.045em; font-size: 20px; white-space: nowrap; }
.brand > span:last-child { display: inline-flex; gap: .22em; align-items: baseline; }
.brand > span:last-child b { color: var(--primary); font: inherit; }
.brand-symbol { width: 42px; height: 42px; flex: none; object-fit: contain; filter: drop-shadow(0 5px 10px rgb(22 42 92 / 12%)); }
.brand-mark { width: 31px; height: 31px; position: relative; display: inline-block; border-radius: 9px; background: var(--navy); overflow: hidden; flex: none; }
.brand-mark > span { position: absolute; background: #38a4ff; transform: rotate(-33deg); border-radius: 2px; }
.brand-mark > span:first-child { width: 9px; height: 25px; left: 8px; top: 4px; }
.brand-mark > span:last-child { width: 9px; height: 17px; right: 6px; bottom: 3px; background: #f5a524; }
.desktop-nav { display: flex; align-items: stretch; gap: 6px; height: 72px; }
.desktop-nav a { position: relative; display: inline-flex; align-items: center; padding: 0 13px; color: var(--muted); font-size: 14px; font-weight: 700; }
.desktop-nav a:hover { color: var(--ink); }
.desktop-nav a.is-active { color: var(--ink); }
.desktop-nav a.is-active::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--primary); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.message-sound-button { position:relative; width:42px; height:42px; border:1px solid var(--border); border-radius:11px; display:grid; place-items:center; color:var(--ink-soft); background:#fff; cursor:pointer; }
.message-sound-button svg { width:20px; height:20px; }
.message-sound-button i { position:absolute; top:7px; right:7px; width:8px; height:8px; border:2px solid #fff; border-radius:50%; background:var(--warning); }
.message-sound-button.is-ready { color:var(--primary); background:var(--primary-soft); border-color:rgb(9 111 209 / 25%); }
.message-sound-button.is-ready i { background:var(--success); }
.language-button, .account-button { min-height: 42px; border: 1px solid var(--border); background: var(--surface); border-radius: 10px; cursor: pointer; font-weight: 700; }
.language-picker { position: relative; }
.language-button { width: auto; min-width: 72px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; color: var(--ink); }
.language-button img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }
.language-button svg { width: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.language-menu { position: absolute; z-index: 80; top: calc(100% + 10px); right: 0; width: 238px; max-height: min(620px, calc(100vh - 86px)); overflow-y: auto; overscroll-behavior: contain; padding: 7px; border: 1px solid var(--border); border-radius: 14px; background: #fff; box-shadow: 0 20px 55px rgb(16 18 28 / 18%); }
.language-menu[hidden] { display: none; }
.language-menu button { width: 100%; min-height: 54px; padding: 8px 10px; display: grid; grid-template-columns: 30px 1fr 20px; align-items: center; gap: 10px; border: 0; border-radius: 10px; color: var(--ink); background: transparent; text-align: left; cursor: pointer; }
.language-menu button:hover, .language-menu button:focus-visible { background: var(--surface-subtle); outline: none; }
.language-menu button.is-selected { background: #eef1ff; }
.language-menu img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.language-menu span { display: grid; gap: 2px; }
.language-menu strong { font-size: 13px; }
.language-menu small { color: var(--muted); font-size: 10px; }
.language-menu i { visibility: hidden; color: var(--primary); font-style: normal; font-weight: 800; }
.language-menu button.is-selected i { visibility: visible; }
[dir="rtl"] .language-menu { right: auto; left: 0; }
[dir="rtl"] .language-menu button { text-align: right; }
[dir="rtl"] .hero-copy, [dir="rtl"] .section-heading, [dir="rtl"] .detail-copy, [dir="rtl"] .account-header { text-align: right; }
.account-button { display: inline-flex; align-items: center; gap: 9px; padding: 5px 12px 5px 6px; }
.account-avatar { width: 31px; height: 31px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--navy); font-size: 13px; }
.avatar-sprite { background-image: url("/assets/avatars/customer-avatar-sprite-v1.png"); background-repeat: no-repeat; background-size: 400% 300%; background-color: #17205b; color: transparent; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 20%); }
.account-picker { position: relative; }
.account-button-chevron { width: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform 160ms ease; }
.account-button[aria-expanded="true"] .account-button-chevron { transform: rotate(180deg); }
.account-menu { position: absolute; z-index: 82; top: calc(100% + 10px); right: 0; width: 310px; max-height: min(680px,calc(100vh - 86px)); overflow-y: auto; border: 1px solid var(--border); border-radius: 16px; padding: 8px; color: var(--ink); background: #fff; box-shadow: 0 24px 70px rgb(16 18 28 / 20%); }
.account-menu[hidden] { display: none; }
.account-menu-profile { padding: 10px; display: grid; grid-template-columns: 44px minmax(0,1fr); align-items: center; gap: 11px; }
.account-avatar-large { width: 44px; height: 44px; font-size: 16px; }
.account-menu-profile > span:last-child { min-width: 0; }
.account-menu-profile strong, .account-menu-profile small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-menu-profile strong { font-size: 14px; }
.account-menu-profile small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.account-menu-balance { margin: 3px 4px 7px; padding: 14px; border-radius: 12px; color: #fff; background: linear-gradient(120deg,#17192b,#3d3fb9 62%,#7750ff); }
.account-menu-balance span, .account-menu-balance strong { display: block; }
.account-menu-balance span { color: #c8cae5; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.account-menu-balance strong { margin-top: 4px; font-size: 22px; }
.account-menu nav { display: grid; }
.account-menu nav a, .account-menu-logout { min-height: 44px; border: 0; border-radius: 9px; padding: 0 11px; display: grid; grid-template-columns: 22px minmax(0,1fr) auto; align-items: center; gap: 10px; color: var(--ink-soft); background: transparent; font-size: 13px; font-weight: 700; text-align: left; cursor: pointer; }
.account-menu nav a:hover, .account-menu nav a:focus-visible, .account-menu-logout:hover, .account-menu-logout:focus-visible { color: var(--ink); background: var(--surface-subtle); outline: none; }
.account-menu nav svg { width: 19px; height: 19px; }
.account-menu-badge { min-width: 21px; height: 21px; padding: 0 6px; display: grid; place-items: center; border-radius: 11px; color: #fff; background: var(--danger); font-size: 9px; }
.account-menu-logout { width: 100%; margin-top: 7px; border-top: 1px solid var(--border); border-radius: 0 0 9px 9px; grid-template-columns: 1fr; color: var(--danger); }
[dir="rtl"] .account-menu { right: auto; left: 0; }
[dir="rtl"] .account-menu nav a, [dir="rtl"] .account-menu-logout { text-align: right; }

.button { min-height: 44px; border: 1px solid transparent; border-radius: var(--radius-md); padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 800; font-size: 14px; cursor: pointer; transition: transform 150ms ease, background 150ms ease, border-color 150ms ease; }
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button-primary { color: #fff; background: var(--primary); }
.button-primary:hover { background: var(--primary-hover); }
.button-secondary { color: var(--ink); border-color: var(--border-strong); background: var(--surface); }
.button-secondary:hover, .button-quiet:hover { background: var(--surface-subtle); }
.button-quiet { background: transparent; }
.button-full { width: 100%; }
.button svg { width: 18px; height: 18px; }
.text-button { padding: 0; border: 0; background: none; color: var(--primary); font-weight: 700; cursor: pointer; }
.icon-button { width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 50%; display: grid; place-items: center; background: var(--surface); cursor: pointer; }
.icon-button svg { width: 19px; height: 19px; }

main { min-height: calc(100vh - 72px); }
.page { animation: none; }
.container { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }
.section { padding: 76px 0; }
.section-tight { padding: 48px 0; }
.section-white { background: var(--surface); border-block: 1px solid var(--border); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-heading h2, .page-heading h1 { margin: 0; letter-spacing: -.035em; line-height: 1.12; }
.section-heading h2 { font-size: clamp(26px, 3vw, 36px); }
.section-heading p { max-width: 590px; margin: 8px 0 0; color: var(--muted); }
.eyebrow { margin: 0 0 10px; color: var(--primary); font-size: 12px; letter-spacing: .12em; font-weight: 800; }
.muted { color: var(--muted); }
.link-arrow { display: inline-flex; gap: 8px; align-items: center; color: var(--primary); font-size: 14px; font-weight: 800; white-space: nowrap; }
.link-arrow::after { content: "→"; transition: transform 150ms ease; }
.link-arrow:hover::after { transform: translateX(3px); }

.hero { position: relative; overflow: hidden; background: var(--surface); border-bottom: 1px solid var(--border); }
.hero::before { content: ""; position: absolute; width: 540px; height: 540px; border: 1px solid #e7edf1; border-radius: 50%; right: max(-280px, calc((100vw - var(--container))/2 - 220px)); top: -270px; box-shadow: 0 0 0 68px #f9fafb, 0 0 0 69px #eef2f5; }
.hero-inner { min-height: 590px; padding: 76px 0 64px; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 74px; position: relative; }
.hero-copy h1 { max-width: 650px; margin: 0; font-size: clamp(42px, 5.4vw, 68px); line-height: 1.01; letter-spacing: -.055em; }
.hero-copy h1 span { color: var(--primary); }
.hero-copy > p:not(.eyebrow) { max-width: 600px; margin: 24px 0 0; color: var(--ink-soft); font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.trust-line { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; color: var(--muted); font-size: 13px; font-weight: 700; }
.trust-line span { display: inline-flex; align-items: center; gap: 7px; }
.trust-line span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px var(--success-soft); }
.reward-console { border: 1px solid var(--border); border-radius: var(--radius-xl); background: var(--surface); box-shadow: var(--shadow-md); overflow: hidden; transform: rotate(1deg); }
.console-top { padding: 22px 24px; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: space-between; }
.console-top p { margin: 0; font-size: 13px; color: #b9cede; }
.console-top strong { font-size: 15px; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #4bd39b; box-shadow: 0 0 0 5px rgb(75 211 155 / 16%); }
.console-balance { padding: 30px 26px 24px; }
.console-balance > span { color: var(--muted); font-size: 13px; font-weight: 700; }
.console-balance strong { display: block; margin-top: 5px; font-size: 40px; letter-spacing: -.04em; }
.console-metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border-top: 1px solid var(--border); }
.console-metric { padding: 18px 22px; background: #fbfcfd; }
.console-metric span { display: block; color: var(--muted); font-size: 12px; }
.console-metric strong { display: block; margin-top: 4px; font-size: 17px; }
.console-activity { padding: 22px 24px 26px; }
.console-activity h3 { margin: 0 0 14px; font-size: 14px; }
.activity-mini { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--border); }
.activity-mini-icon { width: 42px; height: 42px; flex: 0 0 42px; border: 1px solid var(--border); border-radius: 13px; display: grid; place-items: center; overflow: hidden; background: #fff; color: var(--primary); box-shadow: 0 8px 22px rgb(20 25 60 / 10%); }
.activity-mini-icon img { width: 100%; height: 100%; object-fit: contain; padding: 7px; }
.activity-mini-icon-reward { position: relative; border: 1px solid #ffb46c; border-radius: 14px; background: linear-gradient(145deg,#fff9ef,#edf3ff); box-shadow: 0 10px 24px rgb(255 111 32 / 22%); }
.activity-mini-icon-reward::after { content: ""; position: absolute; inset: 4px; z-index: 0; border-radius: 10px; background: radial-gradient(circle at 68% 24%,#fff6ad 0,transparent 34%),linear-gradient(145deg,#ff9d2e,#ff5e1a 58%,#3f45e6); }
.activity-mini-icon-reward img { position: relative; z-index: 1; width: 100%; height: 100%; padding: 3px; object-fit: contain; filter: drop-shadow(0 3px 5px rgb(45 20 20 / 18%)); }
.notification-item.is-read { opacity: .68; }
.notification-item.is-unread { position: relative; }
.notification-item.is-unread::before { content: ""; position: absolute; top: 18px; left: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.support-message-preview { position: fixed; z-index: 120; top: 88px; right: 22px; width: min(390px,calc(100vw - 32px)); padding: 8px 42px 8px 8px; border: 1px solid rgb(127 139 255 / 32%); border-radius: 18px; color: #fff; background: linear-gradient(125deg,#15182a 0%,#242357 60%,#3b2674 100%); box-shadow: 0 24px 70px rgb(16 18 40 / 28%); opacity: 0; transform: translate3d(0,-14px,0) scale(.98); transition: opacity 180ms ease,transform 220ms cubic-bezier(.2,.8,.2,1); overflow: hidden; }
.support-message-preview::before { content:""; position:absolute; width:150px; height:150px; right:-60px; bottom:-100px; border-radius:50%; background:rgb(100 229 255 / 18%); filter:blur(2px); pointer-events:none; }
.support-message-preview.is-visible { opacity:1; transform:translate3d(0,0,0) scale(1); }
.support-message-preview-main { position:relative; z-index:1; width:100%; min-height:82px; padding:9px; border:0; display:grid; grid-template-columns:48px minmax(0,1fr); align-items:center; gap:12px; color:inherit; background:transparent; text-align:left; cursor:pointer; }
.support-message-preview-icon { position:relative; width:46px; height:46px; border-radius:15px; display:grid; place-items:center; color:#15182a; background:linear-gradient(135deg,#aaff67,#60e5ff); box-shadow:0 10px 24px rgb(75 217 255 / 22%); }
.support-message-preview-icon svg { width:23px; height:23px; }
.support-message-preview-icon i { position:absolute; top:-2px; right:-2px; width:11px; height:11px; border:2px solid #242357; border-radius:50%; background:#ff4d68; }
.support-message-preview-copy { min-width:0; display:block; }
.support-message-preview-copy strong,.support-message-preview-copy span,.support-message-preview-copy small { display:block; }
.support-message-preview-copy strong { font-size:14px; letter-spacing:-.01em; }
.support-message-preview-copy span { margin-top:3px; overflow:hidden; color:#d9dbee; font-size:12px; text-overflow:ellipsis; white-space:nowrap; }
.support-message-preview-copy small { margin-top:7px; color:#9ef4ff; font-size:11px; font-weight:800; }
.support-message-preview-copy small svg { width:14px; height:14px; display:inline-block; vertical-align:-3px; }
.support-message-preview-close { position:absolute; z-index:2; top:9px; right:10px; width:30px; height:30px; border:0; border-radius:50%; color:#c7c9dc; background:rgb(255 255 255 / 8%); font-size:20px; line-height:1; cursor:pointer; }
.support-message-preview-close:hover,.support-message-preview-close:focus-visible { color:#fff; background:rgb(255 255 255 / 16%); }
.activity-mini div { min-width: 0; flex: 1; }
.activity-mini strong, .activity-mini span { display: block; }
.activity-mini span { color: var(--muted); font-size: 12px; }
.activity-mini > strong { color: var(--success); }

.offer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.offer-card { min-width: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease; }
.offer-card:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.offer-card-top { min-height: 136px; padding: 20px; display: flex; align-items: flex-start; justify-content: space-between; background: linear-gradient(135deg,#eff6fb,#fbfcfd); }
.offer-card[data-accent="orange"] .offer-card-top { background: linear-gradient(135deg,#fff1e9,#fffaf6); }
.offer-card[data-accent="green"] .offer-card-top { background: linear-gradient(135deg,#edf8f2,#fbfdfc); }
.offer-card[data-accent="navy"] .offer-card-top { background: linear-gradient(135deg,#eaf0f5,#f8fafb); }
.brand-logo { width: 48px; height: 48px; border: 1px solid rgb(255 255 255 / 85%); border-radius: 13px; background: #fff; display: grid; place-items: center; overflow: hidden; box-shadow: 0 2px 10px rgb(20 32 43 / 8%); font-weight: 800; font-size: 13px; }
.brand-logo img { width: 34px; height: 34px; object-fit: contain; }
.brand-logo img[src$="okx.png"] { width: 31px; height: 31px; image-rendering: auto; }
.brand-logo img[src$="imtoken.jpg"], .brand-logo img[src$="tronlink.jpg"], .brand-logo img[src$="coin98.jpg"], .brand-logo img[src$="tokenpocket.jpg"], .brand-logo img[src$="tonhub.jpg"] { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.rate-display { text-align: right; }
.rate-display strong { display: block; font-size: 23px; line-height: 1.1; color: var(--reward); letter-spacing: -.04em; }
.rate-display span { font-size: 11px; color: var(--muted); font-weight: 700; }
.offer-card-body { padding: 20px; }
.offer-card-body h3 { margin: 0; font-size: 17px; }
.offer-category { margin: 4px 0 17px; color: var(--muted); font-size: 13px; }
.offer-data { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.offer-data span { display: block; color: var(--muted); font-size: 11px; }
.offer-data strong { display: block; margin-top: 2px; font-size: 13px; }
.offer-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--border); padding-top: 15px; }
.demo-label { font-size: 10px; letter-spacing: .08em; color: var(--muted); font-weight: 800; }

.platform-strip { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.platform-item { padding: 22px; display: flex; align-items: center; gap: 13px; border-right: 1px solid var(--border); }
.platform-item:last-child { border-right: 0; }
.platform-item strong, .platform-item span { display: block; }
.platform-item span { color: var(--muted); font-size: 12px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 54px; }
.step::before { counter-increment: step; content: "0" counter(step); position: absolute; top: 0; left: 0; width: 39px; height: 39px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border-strong); color: var(--primary); background: var(--surface); font-size: 12px; font-weight: 800; }
.step:not(:last-child)::after { content: ""; position: absolute; left: 52px; right: -12px; top: 19px; height: 1px; background: var(--border); }
.step h3 { margin: 0 0 7px; font-size: 16px; }
.step p { margin: 0; color: var(--muted); font-size: 13px; }

.calculator-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.calculator-copy h2 { margin: 0; font-size: clamp(30px,4vw,44px); letter-spacing: -.04em; line-height: 1.12; }
.calculator-copy > p { margin: 18px 0; color: var(--muted); max-width: 520px; }
.calculator-card { border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-sm); padding: 28px; }
.calculator-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; margin-bottom: 18px; font-size: 13px; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; border: 1px solid var(--border-strong); border-radius: var(--radius-md); padding: 0 14px; background: #fff; color: var(--ink); }
.field textarea { min-height: 90px; padding-top: 12px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgb(9 111 209 / 14%); border-color: var(--primary); }
.money-input { display: flex; align-items: center; border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: #fff; overflow: hidden; }
.money-input > span { padding-left: 14px; color: var(--muted); }
.money-input input { border: 0; border-radius: 0; padding-left: 7px; }
.money-input:focus-within { outline: 3px solid rgb(9 111 209 / 14%); border-color: var(--primary); }
.money-input input:focus { outline: 0; }
.estimate-panel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 8px 0 18px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--border); overflow: hidden; }
.estimate-panel > div { padding: 17px; background: #f9fbfc; }
.estimate-panel span { display: block; color: var(--muted); font-size: 11px; }
.estimate-panel strong { display: block; margin-top: 4px; font-size: 17px; }
.estimate-panel .estimated strong { color: var(--success); }
.field-help { margin: -8px 0 16px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.field-help-after { margin: 12px 0 0; }
.section-heading-spaced { margin-top: 36px; }
.panel-spaced { margin-top: 20px; }

.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.trust-item { padding-left: 18px; border-left: 3px solid var(--primary); }
.trust-item:nth-child(2) { border-left-color: var(--reward); }
.trust-item:nth-child(3) { border-left-color: var(--success); }
.trust-item h3 { margin: 0 0 7px; font-size: 17px; }
.trust-item p { margin: 0; color: var(--muted); font-size: 13px; }
.faq-list { border-top: 1px solid var(--border); }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list summary { list-style: none; cursor: pointer; padding: 21px 44px 21px 0; position: relative; font-weight: 800; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 17px; font-size: 23px; font-weight: 500; color: var(--muted); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 780px; margin: -4px 0 21px; color: var(--muted); }
.site-footer { padding: 42px 0 calc(42px + env(safe-area-inset-bottom)); background: var(--navy); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3,1fr); gap: 40px; }
.footer-brand p { max-width: 360px; color: #aec1d1; font-size: 13px; }
.footer-column h3 { margin: 0 0 12px; font-size: 13px; }
.footer-column a, .footer-column span { display: block; padding: 5px 0; color: #aec1d1; font-size: 12px; }
.footer-bottom { margin-top: 34px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / 13%); display: flex; justify-content: space-between; gap: 20px; color: #9db2c2; font-size: 11px; }

.page-hero { padding: 52px 0 32px; background: var(--surface); border-bottom: 1px solid var(--border); }
.page-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.page-heading h1 { font-size: clamp(34px,5vw,52px); }
.page-heading p { max-width: 600px; margin: 12px 0 0; color: var(--muted); }
.filter-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.filter-chip { min-height: 40px; padding: 0 14px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); color: var(--muted); cursor: pointer; font-weight: 700; font-size: 13px; }
.filter-chip.is-active { border-color: var(--navy); color: #fff; background: var(--navy); }
.offers-page-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }

.detail-hero { background: var(--surface); border-bottom: 1px solid var(--border); }
.detail-hero-inner { padding: 54px 0; display: grid; grid-template-columns: 1fr 360px; gap: 64px; align-items: center; }
.detail-brand { display: flex; align-items: center; gap: 15px; margin-bottom: 26px; }
.detail-brand strong, .detail-brand span { display: block; }
.detail-brand span { color: var(--muted); font-size: 12px; }
.detail-copy h1 { margin: 0; max-width: 700px; font-size: clamp(38px,5vw,62px); line-height: 1.04; letter-spacing: -.05em; }
.detail-copy h1 em { display: block; color: var(--reward); font-style: normal; }
.detail-copy > p { max-width: 650px; margin: 20px 0 0; color: var(--muted); }
.detail-actions { display: flex; gap: 12px; margin-top: 28px; }
.virtual-card { min-height: 226px; position: relative; overflow: hidden; padding: 27px; border-radius: 20px; color: #fff; background: var(--navy); box-shadow: 0 25px 45px rgb(16 44 70 / 24%); transform: rotate(2deg); }
.virtual-card::after { content: ""; position: absolute; width: 190px; height: 190px; border: 42px solid rgb(255 255 255 / 8%); border-radius: 50%; right: -80px; top: -70px; }
.virtual-card.orange { background: #d65320; }
.virtual-card.green { background: #12634b; }
.virtual-card.blue { background: #096fd1; }
.virtual-card-top, .virtual-card-bottom { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; }
.virtual-card-top { font-weight: 800; }
.virtual-card-chip { width: 38px; height: 28px; border-radius: 7px; background: #e8bd68; margin-top: 34px; }
.virtual-card-bottom { margin-top: 46px; font-size: 12px; }
.detail-grid { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 28px; align-items: start; }
.detail-content { display: grid; gap: 22px; }
.panel { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); padding: 26px; }
.panel h2 { margin: 0 0 18px; font-size: 22px; letter-spacing: -.025em; }
.facts-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; background: var(--border); }
.fact { padding: 17px; background: #fbfcfd; }
.fact span { display: block; color: var(--muted); font-size: 11px; }
.fact strong { display: block; margin-top: 4px; font-size: 14px; }
.detail-sidebar { position: sticky; top: 96px; }
.rule-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.rule-list li { padding: 14px 0; border-top: 1px solid var(--border); }
.rule-list li:first-child { border-top: 0; padding-top: 0; }
.rule-list strong { display: block; font-size: 13px; }
.rule-list span { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }

.status { display: inline-flex; align-items: center; min-height: 27px; padding: 0 9px; border-radius: 14px; font-size: 11px; font-weight: 800; text-transform: capitalize; background: var(--surface-subtle); color: var(--ink-soft); }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; margin-right: 6px; background: currentColor; }
.status.pending { color: var(--warning); background: var(--warning-soft); }
.status.confirmed { color: var(--primary); background: var(--primary-soft); }
.status.available { color: var(--success); background: var(--success-soft); }
.status.rejected, .status.reversed { color: var(--danger); background: var(--danger-soft); }

.account-wrap { padding: 42px 0 76px; }
.account-grid { display: grid; grid-template-columns: 260px minmax(0,1fr); gap: 28px; }
.account-nav { align-self: start; position: sticky; top: 94px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); padding: 10px; }
.account-nav a, .account-nav button { width: 100%; min-height: 45px; border: 0; border-radius: 9px; padding: 0 12px; display: flex; align-items: center; gap: 10px; background: none; color: var(--muted); font-weight: 700; font-size: 13px; cursor: pointer; text-align: left; }
.account-nav a.is-active, .account-nav a:hover, .account-nav button:hover { background: var(--surface-subtle); color: var(--ink); }
.account-nav svg { width: 18px; height: 18px; }
.account-nav .danger-link { color: var(--danger); margin-top: 8px; border-top: 1px solid var(--border); border-radius: 0 0 8px 8px; }
.account-content { min-width: 0; }
.account-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 24px; }
.account-header h1 { margin: 0; font-size: 34px; letter-spacing: -.04em; }
.balance-overview { padding: 28px; color: #fff; background: var(--navy); border-radius: var(--radius-lg); display: grid; grid-template-columns: 1.4fr repeat(2,1fr); gap: 1px; overflow: hidden; }
.balance-item { padding: 2px 24px; border-left: 1px solid rgb(255 255 255 / 14%); }
.balance-item:first-child { padding-left: 0; border-left: 0; }
.balance-item span { display: block; color: #b9cede; font-size: 12px; }
.balance-item strong { display: block; margin-top: 6px; font-size: 25px; letter-spacing: -.03em; }
.balance-item:first-child strong { font-size: 35px; }
.account-actions-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.account-action { min-height: 98px; padding: 17px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); display: grid; align-content: space-between; cursor: pointer; transition: border-color 150ms, transform 150ms; }
.account-action:hover { border-color: var(--primary); transform: translateY(-2px); }
.account-action svg { width: 22px; height: 22px; color: var(--primary); }
.account-action strong { font-size: 13px; }
.mobile-account-services { display: none; }
.mobile-service-list { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.mobile-service-list > a { min-height: 70px; padding: 12px 15px; display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 12px; border-top: 1px solid var(--border); }
.mobile-service-list > a:first-child { border-top: 0; }
.mobile-service-list > a > span:nth-child(2) { min-width: 0; }
.mobile-service-list strong, .mobile-service-list small { display: block; }
.mobile-service-list strong { color: var(--ink); font-size: 14px; }
.mobile-service-list small { margin-top: 3px; overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.mobile-service-list > a > svg { width: 18px; height: 18px; color: var(--muted); }
.mobile-service-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: #fff; background: linear-gradient(135deg,var(--electric),var(--violet)); }
.mobile-service-icon svg { width: 20px; height: 20px; }
.mobile-service-badge { min-width: 24px; height: 24px; padding: 0 7px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: var(--danger); font-size: 10px; }
.profile-panel { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 28px; }
.profile-avatar-card { align-self: start; padding: 22px; border-radius: var(--radius-md); display: grid; justify-items: center; gap: 12px; color: #fff; text-align: center; background: linear-gradient(145deg,#17192b,#3c3fb9 62%,#7750ff); }
.profile-avatar-preview { width: 76px; height: 76px; display: grid; place-items: center; border: 3px solid rgb(255 255 255 / 36%); border-radius: 50%; background-color: rgb(255 255 255 / 14%); font-size: 28px; font-weight: 800; box-shadow: 0 12px 28px rgb(4 8 31 / 24%), inset 0 0 0 1px rgb(255 255 255 / 18%); }
.profile-avatar-card strong, .profile-avatar-card span { display: block; }
.profile-avatar-card > div > span { margin-top: 4px; color: #c8cae5; font-size: 11px; overflow-wrap: anywhere; }
.profile-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.profile-form-grid input[readonly] { color: var(--muted); background: var(--surface-subtle); cursor: not-allowed; }
.activity-list { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; }
.activity-row { display: grid; grid-template-columns: minmax(180px,1.4fr) 1fr 1fr .8fr auto; align-items: center; gap: 18px; min-height: 74px; padding: 13px 18px; border-top: 1px solid var(--border); }
.activity-row:first-child { border-top: 0; }
.activity-title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.activity-title strong, .activity-title span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.activity-title span, .activity-cell span { color: var(--muted); font-size: 11px; }
.activity-cell strong { display: block; font-size: 13px; }
.reward-positive { color: var(--success); }

.guest-entry { min-height: calc(100vh - 72px); display: grid; place-items: center; padding: 50px 20px 110px; }
.guest-entry-card { width: min(100%, 530px); text-align: center; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); padding: 46px; box-shadow: var(--shadow-sm); }
.guest-entry-icon { width: 62px; height: 62px; margin: 0 auto 22px; border-radius: 18px; display: grid; place-items: center; color: var(--primary); background: var(--primary-soft); }
.guest-entry-icon svg { width: 30px; height: 30px; }
.guest-entry-card h1 { margin: 0; font-size: 31px; letter-spacing: -.04em; }
.guest-entry-card p { margin: 13px auto 24px; color: var(--muted); }
.guest-entry-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.support-layout { height: calc(100vh - 72px); min-height: 620px; display: grid; grid-template-columns: 340px minmax(0,1fr); background: var(--surface); }
.conversation-sidebar { border-right: 1px solid var(--border); display: flex; flex-direction: column; min-width: 0; }
.conversation-sidebar-header { padding: 24px 20px 17px; border-bottom: 1px solid var(--border); }
.conversation-sidebar-header h1 { margin: 0; font-size: 24px; letter-spacing: -.035em; }
.support-presence { display: inline-flex; align-items: center; gap: 7px; margin-top: 7px; color: var(--muted); font-size: 12px; }
.support-presence::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.quick-topics { display: flex; gap: 7px; padding: 14px 16px; overflow-x: auto; border-bottom: 1px solid var(--border); }
.quick-topic { flex: none; min-height: 34px; border: 1px solid var(--border); border-radius: 17px; background: var(--surface); padding: 0 11px; color: var(--muted); font-size: 11px; font-weight: 700; cursor: pointer; }
.conversation-list { overflow: auto; flex: 1; }
.conversation-item { width: 100%; padding: 16px 18px; border: 0; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 12px; background: var(--surface); text-align: left; cursor: pointer; }
.conversation-item.is-active { background: #f1f6fa; box-shadow: inset 3px 0 var(--primary); }
.conversation-item-copy { min-width: 0; flex: 1; }
.conversation-item-copy strong, .conversation-item-copy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conversation-item-copy span { margin-top: 3px; color: var(--muted); font-size: 11px; }
.chat-panel { min-width: 0; display: flex; flex-direction: column; background: #f6f8fa; }
.chat-header { min-height: 72px; padding: 13px 22px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 13px; background: var(--surface); }
.chat-header-copy { flex: 1; min-width: 0; }
.chat-header-copy strong, .chat-header-copy span { display: block; }
.chat-header-copy span { color: var(--muted); font-size: 12px; }
.back-chat { display: none; }
.messages { flex: 1; overflow: auto; padding: 28px max(22px, calc((100% - 780px)/2)); }
.message-row { display: flex; align-items: flex-end; gap: 9px; margin: 12px 0; }
.message-row.customer { justify-content: flex-end; }
.message-avatar { width: 28px; height: 28px; flex: 0 0 28px; border-radius: 9px; }
.message { max-width: min(76%, 560px); padding: 11px 14px; border-radius: 14px 14px 14px 4px; background: var(--surface); box-shadow: 0 1px 3px rgb(20 32 43 / 7%); }
.message-row.customer .message { color: #fff; background: var(--primary); border-radius: 14px 14px 4px 14px; }
.message p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-image-attachment { display:grid; gap:7px; color:inherit; text-decoration:none; }
.chat-image-attachment img { display:block; width:100%; height:auto; max-height:320px; border-radius:11px; object-fit:cover; background:rgb(255 255 255 / 14%); }
.chat-image-attachment span { max-width:320px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:10px; opacity:.78; }
.message.has-image-attachment { width:min(320px,72vw); padding:7px; overflow:hidden; }
.message.has-image-attachment > p { padding:5px 7px 8px; }
.message.has-image-attachment .message-meta { padding:0 5px 2px; }
.chat-file-attachment { margin-top:5px; display:flex; align-items:center; gap:8px; color:inherit; text-decoration:none; }
.chat-file-attachment > span { width:28px; height:32px; display:grid; place-items:center; border:1px solid currentColor; border-radius:7px; opacity:.72; }
.chat-file-attachment b { max-width:260px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:12px; }
.message-meta { display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin-top: 5px; color: var(--muted); font-size: 10px; }
.message-row.customer .message-meta { color: rgb(255 255 255 / 72%); }
.chat-composer { padding: 14px max(20px, calc((100% - 820px)/2)) calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); background: var(--surface); }
.composer-box { border: 1px solid var(--border-strong); border-radius: 13px; padding: 9px; display: flex; align-items: end; gap: 7px; }
.composer-box textarea { flex: 1; max-height: 120px; min-height: 40px; border: 0; padding: 9px; resize: none; }
.composer-box textarea:focus { outline: 0; }
.composer-action { width: 40px; height: 40px; border: 0; border-radius: 9px; display: grid; place-items: center; background: transparent; cursor: pointer; }
.composer-action:hover { background: var(--surface-subtle); }
.composer-action svg { width: 19px; height: 19px; }
.composer-send { color: #fff; background: var(--primary); }
.composer-send:hover { background: var(--primary-hover); }
.chat-empty { flex: 1; display: grid; place-items: center; padding: 40px; text-align: center; }
.chat-empty h2 { margin: 12px 0 6px; }
.chat-empty p { margin: 0; color: var(--muted); }

.empty-state { padding: 48px 22px; text-align: center; border: 1px dashed var(--border-strong); border-radius: var(--radius-lg); background: var(--surface); }
.empty-state h2 { margin: 0 0 8px; }
.empty-state p { margin: 0 auto 20px; max-width: 520px; color: var(--muted); }
.loading-state { min-height: 420px; display: grid; place-items: center; }
.spinner { width: 34px; height: 34px; border: 3px solid var(--border); border-top-color: var(--primary); border-radius: 50%; animation: spin 700ms linear infinite; }
.error-state { width: min(calc(100% - 40px), 620px); margin: 80px auto; padding: 30px; border: 1px solid #f3cbd1; border-radius: var(--radius-lg); background: var(--danger-soft); }

dialog { padding: 0; border: 0; color: var(--ink); }
dialog::backdrop { background: rgb(8 17 25 / 58%); backdrop-filter: blur(3px); }
.auth-dialog { width: min(calc(100% - 32px), 880px); border-radius: 18px; box-shadow: 0 30px 90px rgb(0 0 0 / 28%); overflow: hidden; }
.auth-layout { min-height: 570px; display: grid; grid-template-columns: .9fr 1.1fr; }
.auth-brand-panel { padding: 34px; background: var(--navy); color: #fff; display: flex; flex-direction: column; justify-content: space-between; }
.auth-brand-lockup { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; }
.auth-brand-lockup b { color: var(--lime); font: inherit; }
.auth-brand-lockup .brand-symbol { width: 49px; height: 49px; filter: drop-shadow(0 8px 18px rgb(0 0 0 / 22%)); }
.auth-brand-panel h2 { margin: 0 0 15px; font-size: 34px; letter-spacing: -.045em; line-height: 1.1; }
.auth-brand-panel p:not(.eyebrow) { margin: 0; color: #b9cede; font-size: 14px; }
.auth-trust { display: flex; flex-wrap: wrap; gap: 12px; color: #b9cede; font-size: 10px; font-weight: 700; }
.auth-trust span::before { content: "✓"; margin-right: 5px; color: #5ed3a3; }
.notification-count { min-width: 38px; height: 38px; padding: 0 10px; border-radius: 19px; display: grid; place-items: center; color: #fff; background: var(--primary); font-weight: 800; }
.notification-list { margin-top: 14px; border-top: 1px solid var(--border); }
.notification-item { display: grid; grid-template-columns: 44px minmax(0,1fr) 20px; align-items: center; gap: 13px; padding: 16px 2px; border-bottom: 1px solid var(--border); color: var(--ink); }
.notification-item > svg { width: 18px; color: var(--muted); }
.notification-item > span:nth-child(2) { min-width: 0; }
.notification-item strong, .notification-item small, .notification-item time { display: block; }
.notification-item strong { margin-bottom: 3px; font-size: 14px; }
.notification-item small { overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.notification-item time { margin-top: 5px; color: var(--muted); font-size: 10px; }
.notification-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: #fff; background: linear-gradient(135deg,var(--violet),var(--electric)); }
.notification-icon.withdrawal { background: linear-gradient(135deg,#006fee,#0dd6c2); }
.notification-icon.support { background: linear-gradient(135deg,#ff7a3d,#ff3d81); }
.notification-icon svg { width: 20px; }
.referral-hero { overflow: hidden; position: relative; padding: 32px; border-radius: 24px; display: grid; grid-template-columns: minmax(0,1fr) minmax(260px,.7fr); gap: 28px; color: #fff; background: radial-gradient(circle at 85% 15%,rgb(117 78 255 / 75%),transparent 33%),linear-gradient(125deg,#090b1c,#1532a7 56%,#7b2cff); }
.referral-hero::after { content: ""; position: absolute; width: 240px; height: 240px; right: -90px; bottom: -150px; border: 1px solid rgb(255 255 255 / 23%); border-radius: 50%; box-shadow: 0 0 0 45px rgb(255 255 255 / 4%),0 0 0 90px rgb(255 255 255 / 3%); }
.referral-hero > div { position: relative; z-index: 1; }
.referral-hero > div:first-child > span { color: #b9c6ff; font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.referral-hero > div:first-child > strong { display: block; margin: 8px 0 12px; font-size: clamp(30px,5vw,48px); letter-spacing: -.055em; }
.referral-hero p { max-width: 560px; color: #c8d1f2; }
.referral-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.referral-stats { display: grid; grid-template-columns: repeat(3,1fr); align-self: end; padding: 18px; border: 1px solid rgb(255 255 255 / 15%); border-radius: 18px; background: rgb(255 255 255 / 9%); backdrop-filter: blur(14px); }
.referral-stats div { padding: 6px 12px; border-right: 1px solid rgb(255 255 255 / 13%); }
.referral-stats div:last-child { border: 0; }
.referral-stats strong, .referral-stats span { display: block; }
.referral-stats strong { font-size: 20px; }
.referral-stats span { margin-top: 3px; color: #bdc8ec; font-size: 10px; }
.auth-form-panel { position: relative; padding: 34px 42px; background: var(--surface); }
.auth-close, .dialog-close { position: absolute; top: 18px; right: 18px; }
.auth-tabs { display: flex; gap: 4px; width: max-content; padding: 4px; border-radius: 10px; background: var(--surface-subtle); }
.auth-tabs button { min-height: 36px; border: 0; border-radius: 7px; padding: 0 13px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 800; cursor: pointer; }
.auth-tabs button[aria-selected="true"] { color: var(--ink); background: var(--surface); box-shadow: 0 1px 3px rgb(20 32 43 / 9%); }
.auth-form { margin-top: 34px; }
.auth-form h2 { margin: 0; font-size: 29px; letter-spacing: -.04em; }
.form-intro { margin: 8px 0 24px; color: var(--muted); font-size: 13px; }
.forgot-trigger { margin-top: -7px; }
.form-feedback { min-height: 20px; margin: 12px 0; color: var(--danger); font-size: 12px; }
.form-feedback.success { color: var(--success); }
.form-switch { margin: 18px 0 0; text-align: center; color: var(--muted); font-size: 12px; }
.form-switch button { border: 0; background: none; color: var(--primary); cursor: pointer; font-weight: 800; }
.inline-notice { display: grid; gap: 5px; margin: 24px 0; padding: 14px; border-radius: var(--radius-md); background: var(--warning-soft); color: var(--warning); font-size: 12px; }
.action-dialog { width: min(calc(100% - 32px), 520px); border-radius: 18px; overflow: visible; box-shadow: var(--shadow-md); }
.action-card { position: relative; padding: 34px; }
.action-card h2 { margin: 0 0 22px; font-size: 30px; letter-spacing: -.04em; }
.topup-offer { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; padding: 13px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface-subtle); }
.topup-offer div { flex: 1; }
.topup-offer strong, .topup-offer span { display: block; }
.topup-offer span { color: var(--muted); font-size: 11px; }
.toast-region { position: fixed; z-index: 100; right: 20px; bottom: 24px; display: grid; gap: 10px; pointer-events: none; }
.toast { max-width: 360px; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-md); animation: toast-in 180ms ease; font-size: 13px; font-weight: 700; }
.toast.success { border-left: 4px solid var(--success); }
.toast.error { border-left: 4px solid var(--danger); }
.mobile-tabbar { display: none; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes page-in { from { opacity: 0; transform: translateY(5px); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr .8fr; gap: 38px; }
  .offer-grid { grid-template-columns: repeat(2,1fr); }
  .offers-page-grid { grid-template-columns: repeat(2,1fr); }
  .platform-strip { grid-template-columns: repeat(2,1fr); }
  .platform-item:nth-child(2) { border-right: 0; }
  .platform-item:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .steps { grid-template-columns: repeat(2,1fr); }
  .step:nth-child(2)::after { display: none; }
  .calculator-layout { gap: 32px; }
  .detail-hero-inner { grid-template-columns: 1fr 300px; gap: 40px; }
  .detail-grid { grid-template-columns: minmax(0,1fr) 300px; }
  .facts-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1.5fr repeat(2,1fr); }
  .footer-column:last-child { display: none; }
}

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .header-inner { gap: 18px; }
}

@media (max-width: 760px) {
  .support-message-preview { top:auto; right:12px; bottom:calc(78px + env(safe-area-inset-bottom)); width:calc(100vw - 24px); border-radius:16px; transform:translate3d(0,18px,0) scale(.98); }
  .support-message-preview.is-visible { transform:translate3d(0,0,0) scale(1); }
  body { font-size: 15px; padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .container { width: min(calc(100% - 32px), var(--container)); }
  .site-header { position: sticky; }
  .header-inner { width: calc(100% - 30px); min-height: 60px; }
  .brand { font-size: 18px; }
  .brand-mark { width: 29px; height: 29px; }
  .brand-symbol { width: 38px; height: 38px; }
  .desktop-nav, .header-actions .button, #headerAccountName { display: none; }
  .message-sound-button { width:40px; height:40px; border-radius:10px; }
  .header-actions { gap: 6px; }
  .language-button { min-height: 38px; min-width: 62px; padding: 0 8px; font-size: 12px; }
  .language-button img { width: 18px; height: 18px; }
  .language-menu { position: fixed; top: 66px; left: 12px; right: 12px; width: auto; }
  .account-button { min-height: 40px; padding: 4px 7px 4px 4px; }
  .account-button-chevron { width: 12px; }
  .account-menu { position: fixed; top: 66px; left: 12px; right: 12px; width: auto; max-height: calc(100dvh - 148px - env(safe-area-inset-bottom)); }
  main { min-height: calc(100vh - 60px); }
  .section { padding: 54px 0; }
  .section-tight { padding: 40px 0; }
  .section-heading { align-items: start; margin-bottom: 22px; }
  .section-heading .link-arrow { margin-top: 7px; }
  .hero::before { width: 360px; height: 360px; right: -250px; top: -180px; }
  .hero-inner { min-height: auto; padding: 48px 0 46px; display: block; }
  .hero-copy h1 { font-size: clamp(39px,12vw,54px); }
  .hero-copy > p:not(.eyebrow) { margin-top: 18px; font-size: 16px; }
  .hero-actions { margin-top: 25px; }
  .hero-actions .button { flex: 1 1 auto; }
  .trust-line { gap: 10px 16px; }
  .reward-console { margin-top: 38px; transform: none; }
  .console-balance { padding: 24px 20px 18px; }
  .console-balance strong { font-size: 34px; }
  .console-metric { padding: 15px 16px; }
  .offer-grid, .offers-page-grid { grid-template-columns: 1fr; }
  .offer-card-top { min-height: 112px; }
  .platform-strip { grid-template-columns: 1fr 1fr; }
  .platform-item { padding: 16px; }
  .platform-item .brand-logo { width: 40px; height: 40px; }
  .steps { grid-template-columns: 1fr; gap: 20px; }
  .step { padding: 0 0 0 52px; min-height: 44px; }
  .step::before { top: 0; }
  .step::after { left: 19px !important; right: auto !important; top: 43px !important; width: 1px !important; height: calc(100% + 9px) !important; }
  .step:nth-child(2)::after { display: block; }
  .step:last-child::after { display: none; }
  .calculator-layout { grid-template-columns: 1fr; }
  .calculator-card { padding: 20px; }
  .calculator-fields { grid-template-columns: 1fr; gap: 0; }
  .estimate-panel { grid-template-columns: 1fr; }
  .estimate-panel > div { display: flex; align-items: center; justify-content: space-between; padding: 13px 15px; }
  .estimate-panel strong { margin-top: 0; }
  .trust-grid { grid-template-columns: 1fr; gap: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: 7px; }
  .page-hero { padding: 34px 0 25px; }
  .page-heading { display: block; }
  .page-heading h1 { font-size: 37px; }
  .filter-row { margin-inline: -16px; padding: 0 16px 8px; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
  .filter-row::-webkit-scrollbar { display: none; }
  .filter-chip { flex: none; scroll-snap-align: start; }
  .detail-hero-inner { padding: 34px 0 42px; grid-template-columns: 1fr; }
  .detail-copy h1 { font-size: 42px; }
  .virtual-card { max-width: 380px; min-height: 210px; transform: none; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-sidebar { position: static; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .panel { padding: 20px; }
  .mobile-tabbar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; min-height: calc(64px + env(safe-area-inset-bottom)); padding: 6px 18px env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--border); background: rgb(255 255 255 / 98%); backdrop-filter: blur(14px); transform: translate3d(0,0,0); backface-visibility: hidden; contain: layout paint; will-change: bottom, transform; }
  .mobile-tabbar a { position: relative; min-width: 64px; min-height: 56px; display: grid; place-items: center; align-content: center; gap: 2px; color: #788896; font-size: 10px; font-weight: 700; }
  .mobile-tabbar svg { width: 23px; height: 23px; stroke-width: 1.9; }
  .mobile-tabbar a.is-active { color: var(--primary); }
  .mobile-tabbar a.is-active::before { content: ""; position: absolute; top: 0; width: 30px; height: 3px; border-radius: 0 0 3px 3px; background: var(--primary); }
  .nav-icon-wrap { position: relative; display: grid; place-items: center; }
  .nav-badge { position: absolute; top: -6px; right: -11px; min-width: 17px; height: 17px; border: 2px solid #fff; border-radius: 9px; padding: 0 4px; display: grid; place-items: center; background: var(--danger); color: #fff; font-size: 8px; }
  .account-wrap { padding: 28px 0 48px; }
  .account-grid { display: block; }
  .account-nav { display: none; }
  .mobile-account-services { margin-top: 30px; display: block; }
  .mobile-account-services .section-heading { margin-bottom: 12px; }
  .profile-panel { grid-template-columns: 1fr; gap: 20px; }
  .profile-avatar-card { grid-template-columns: 56px minmax(0,1fr); justify-items: start; text-align: left; }
  .profile-avatar-preview { width: 56px; height: 56px; font-size: 21px; }
  .profile-form-grid { grid-template-columns: 1fr; }
  .referral-hero { padding: 24px 20px; grid-template-columns: 1fr; }
  .referral-stats { grid-template-columns: repeat(3,minmax(0,1fr)); padding: 12px 6px; }
  .referral-stats div { padding: 5px 7px; }
  .referral-stats strong { font-size: 16px; }
  .account-header h1 { font-size: 29px; }
  .balance-overview { grid-template-columns: 1fr 1fr; padding: 22px; }
  .balance-item:first-child { grid-column: 1 / -1; padding: 0 0 18px; border-bottom: 1px solid rgb(255 255 255 / 14%); }
  .balance-item:nth-child(2) { padding: 18px 15px 0 0; border-left: 0; }
  .balance-item:nth-child(3) { padding: 18px 0 0 15px; }
  .account-actions-grid { grid-template-columns: 1fr 1fr; }
  .activity-list { display: grid; gap: 10px; border: 0; border-radius: 0; background: transparent; overflow: visible; }
  .activity-row { grid-template-columns: minmax(0,1fr) auto; grid-template-areas: "title status" "reward reward"; gap: 12px 10px; min-height: 0; padding: 15px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
  .activity-row:first-child { border-top: 1px solid var(--border); }
  .activity-title { grid-area: title; align-self: start; min-width: 0; }
  .activity-title > div { min-width: 0; }
  .activity-title strong, .activity-title span { white-space: normal; overflow-wrap: anywhere; }
  .activity-title strong { line-height: 1.35; }
  .activity-title span { margin-top: 2px; line-height: 1.4; }
  .activity-row .activity-cell:nth-child(2), .activity-row .activity-cell:nth-child(4) { display: none; }
  .activity-row .activity-cell:nth-child(3) { grid-area: reward; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; padding-top: 11px; border-top: 1px solid var(--border); }
  .activity-row .activity-cell:nth-child(3) span { flex: 0 0 auto; }
  .activity-row .activity-cell:nth-child(3) strong { min-width: 0; text-align: right; overflow-wrap: anywhere; }
  .activity-row .status { grid-area: status; }
  .activity-row .withdrawal-review-badge { grid-area: status; align-self: start; width: auto; min-width: 0; max-width: 126px; padding-inline: 9px; white-space: normal; text-align: center; line-height: 1.2; }
  .guest-entry { min-height: calc(100vh - 124px); }
  .guest-entry-card { padding: 34px 24px; }
  .guest-entry-actions { grid-template-columns: 1fr; }
  .support-layout { height: calc(100dvh - 124px - env(safe-area-inset-bottom)); min-height: 0; display: block; overflow: hidden; }
  .support-layout.chat-open { position: fixed; z-index: 25; top: 60px; right: 0; bottom: calc(64px + env(safe-area-inset-bottom)); left: 0; width: 100%; height: auto; }
  .conversation-sidebar { height: 100%; border-right: 0; }
  .chat-panel { height: 100%; }
  .support-layout.chat-open .conversation-sidebar { display: none; }
  .support-layout:not(.chat-open) .chat-panel { display: none; }
  .back-chat { display: grid; }
  .messages { padding: 18px 14px; }
  .message { max-width: 84%; }
  .message.has-image-attachment { width:min(300px,72vw); }
  .chat-image-attachment img { max-height:46vh; }
  .chat-composer { padding: 10px 10px calc(10px + env(safe-area-inset-bottom)); }
  .auth-dialog { width: min(calc(100% - 20px), 520px); max-height: calc(100dvh - 24px); }
  .auth-layout { min-height: 0; display: block; }
  .auth-brand-panel { display: none; }
  .auth-form-panel { padding: 26px 22px 24px; }
  .auth-tabs { margin-right: 46px; }
  .auth-form { margin-top: 27px; }
  .action-card { padding: 30px 22px 24px; }
  .toast-region { right: 12px; left: 12px; bottom: calc(78px + env(safe-area-inset-bottom)); }
  .toast { max-width: none; }
}

@media (max-width: 420px) {
  .section-heading { display: block; }
  .section-heading .link-arrow { margin-top: 12px; }
  .platform-strip { grid-template-columns: 1fr; }
  .platform-item { border-right: 0; border-bottom: 1px solid var(--border); }
  .platform-item:last-child { border-bottom: 0; }
  .facts-grid { grid-template-columns: 1fr; }
  .detail-actions { display: grid; }
  .auth-form-panel { padding-inline: 18px; }
  .activity-row { grid-template-columns: minmax(0,1fr); grid-template-areas: "title" "reward" "status"; }
  .activity-row .withdrawal-review-badge { width: 100%; max-width: none; justify-content: center; }
}


/* Read-only withdrawal address book */
.withdrawal-address-panel { display: grid; gap: 22px; }
.address-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.address-section-heading h2 { margin: 0; }
.address-section-heading p { max-width: 620px; margin: 7px 0 0; color: var(--muted); line-height: 1.55; }
.bound-address-list { display: grid; gap: 12px; }
.bound-address-card { min-width: 0; padding: 17px 18px; display: grid; grid-template-columns: 46px minmax(0,1fr) auto; align-items: center; gap: 14px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.bound-address-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; color: #fff; background: linear-gradient(145deg,var(--electric),var(--violet)); }
.bound-address-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.bound-address-copy { min-width: 0; display: grid; gap: 4px; }
.bound-address-copy > span { color: var(--primary); font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.bound-address-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: ui-monospace,SFMono-Regular,Consolas,monospace; font-size: 14px; }
.bound-address-copy small { color: var(--muted); font-size: 11px; }
.bound-address-copy small span { color: inherit; font: inherit; letter-spacing: inherit; }
.address-edit-button { min-height: 40px; padding-inline: 15px; }
.address-empty { min-height: 112px; padding: 24px; display: flex; align-items: center; gap: 16px; border: 1px dashed var(--border-strong); border-radius: 16px; background: var(--surface-subtle); }
.address-empty > span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; color: var(--primary); background: var(--primary-soft); }
.address-empty svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.address-empty strong { display: block; }
.address-empty p { margin: 5px 0 0; color: var(--muted); }
.address-editor { padding: 22px; display: grid; gap: 17px; border: 1px solid color-mix(in srgb,var(--primary) 34%,var(--border)); border-radius: 18px; background: linear-gradient(180deg,var(--primary-soft),#fff 68%); }
.address-editor-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.address-editor-heading .eyebrow { margin-bottom: 5px; }
.address-editor-heading h3 { margin: 0; font-size: 20px; }
.address-editor-actions { display: flex; justify-content: flex-end; gap: 10px; }
.address-dialog-card { display: grid; gap: 17px; }
.address-dialog-card h2 { margin-bottom: 0; }
.address-dialog-card .form-intro { margin: -6px 0 2px; }
.address-dialog-actions { display: grid; grid-template-columns: 1fr 1.35fr; gap: 10px; margin-top: 3px; }
.withdrawal-history-list { display: grid; gap: 11px; margin-top: 16px; }
.withdrawal-address-fieldset { min-width: 0; margin: 18px 0; padding: 0; border: 0; }
.withdrawal-address-fieldset legend { margin-bottom: 9px; color: var(--ink); font-size: 13px; font-weight: 800; }
.withdrawal-address-options { display: grid; gap: 10px; }
.withdrawal-address-option { position: relative; display: block; cursor: pointer; }
.withdrawal-address-option > input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.withdrawal-address-option-card { min-width: 0; min-height: 74px; padding: 13px 15px; display: grid; grid-template-columns: 42px minmax(0,1fr) 28px; align-items: center; gap: 13px; border: 1px solid var(--border); border-radius: 15px; background: var(--surface); transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease; }
.withdrawal-address-option:hover .withdrawal-address-option-card { border-color: #a8b8d0; transform: translateY(-1px); }
.withdrawal-address-option > input:focus-visible + .withdrawal-address-option-card { outline: 3px solid color-mix(in srgb,var(--primary) 24%,transparent); outline-offset: 2px; }
.withdrawal-address-option > input:checked + .withdrawal-address-option-card { border-color: var(--primary); background: linear-gradient(135deg,#f8fbff,#eef2ff); box-shadow: 0 8px 24px rgba(37,99,235,.10); }
.withdrawal-address-option-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: var(--primary); background: var(--primary-soft); }
.withdrawal-address-option-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.withdrawal-address-option-copy { min-width: 0; display: grid; gap: 3px; }
.withdrawal-address-option-copy strong { color: var(--ink); font-size: 14px; }
.withdrawal-address-option-copy code { color: #475569; font: 650 12px/1.45 ui-monospace,SFMono-Regular,Consolas,monospace; overflow-wrap: anywhere; }
.withdrawal-address-option-copy small { color: var(--muted); font-size: 11px; }
.withdrawal-address-option-check { width: 24px; height: 24px; display: grid; place-items: center; border: 1.5px solid #cbd5e1; border-radius: 50%; color: transparent; background: #fff; }
.withdrawal-address-option-check svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.withdrawal-address-option > input:checked + .withdrawal-address-option-card .withdrawal-address-option-check { border-color: var(--primary); color: #fff; background: var(--primary); }
.withdrawal-address-empty { min-height: 82px; padding: 13px 15px; display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 13px; border: 1px dashed var(--border-strong); border-radius: 15px; background: var(--surface-subtle); }
.withdrawal-address-empty div { min-width: 0; display: grid; gap: 4px; }
.withdrawal-address-empty strong { font-size: 14px; }
.withdrawal-address-empty small { color: var(--muted); font-size: 11px; line-height: 1.4; }
.withdrawal-address-empty a { color: var(--primary); font-size: 12px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.withdrawal-history-row { min-width: 0; padding: 15px 16px; display: grid; grid-template-columns: 44px minmax(0,1fr) auto; align-items: center; gap: 13px; border: 1px solid var(--border); border-radius: 15px; background: var(--surface); }
.withdrawal-history-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; color: var(--primary); background: var(--primary-soft); }
.withdrawal-history-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.withdrawal-history-copy { min-width: 0; display: grid; gap: 4px; }
.withdrawal-history-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.withdrawal-history-copy time { color: var(--muted); font-size: 12px; }
.withdrawal-history-copy p { margin: 3px 0 0; color: var(--danger); font-size: 12px; line-height: 1.4; }
.withdrawal-history-copy p span { margin-right: 6px; font-weight: 800; }
.withdrawal-review-badge { min-width: 104px; min-height: 38px; padding: 7px 12px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border-radius: 999px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.withdrawal-review-badge svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.withdrawal-review-badge.approved { color: #087a55; background: #ddf8ed; }
.withdrawal-review-badge.reviewing { color: #966000; background: #fff1c7; }
.withdrawal-review-badge.rejected { color: #c5343d; background: #ffe4e5; }
.withdrawal-guidance { display: grid; grid-template-columns: 48px minmax(0,1fr) auto; align-items: center; gap: 15px; }
.withdrawal-guidance-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; color: #087a55; background: #ddf8ed; }
.withdrawal-guidance-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.withdrawal-guidance h2 { margin: 0 0 5px; }
.withdrawal-guidance p { margin: 0; color: var(--muted); line-height: 1.5; }
@media (max-width: 720px) {
  .address-section-heading { align-items: stretch; display: grid; }
  .address-section-heading .button { width: 100%; }
  .bound-address-card { grid-template-columns: 42px minmax(0,1fr); padding: 15px; }
  .bound-address-icon { width: 42px; height: 42px; }
  .address-edit-button { grid-column: 1 / -1; width: 100%; }
  .bound-address-copy strong { font-size: 12px; }
  .address-editor { padding: 18px 15px; }
  .address-editor-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .withdrawal-history-row { grid-template-columns: 40px minmax(0,1fr); padding: 14px; }
  .withdrawal-address-option-card { grid-template-columns: 38px minmax(0,1fr) 24px; min-height: 68px; padding: 11px 12px; gap: 10px; }
  .withdrawal-address-option-icon { width: 38px; height: 38px; border-radius: 11px; }
  .withdrawal-address-option-copy strong { font-size: 13px; }
  .withdrawal-address-option-copy code { font-size: 11px; }
  .withdrawal-address-empty { grid-template-columns: 38px minmax(0,1fr); }
  .withdrawal-address-empty a { grid-column: 1 / -1; padding-left: 48px; }
  .withdrawal-history-icon { width: 40px; height: 40px; }
  .withdrawal-review-badge { grid-column: 1 / -1; width: 100%; }
  .withdrawal-guidance { grid-template-columns: 44px minmax(0,1fr); }
  .withdrawal-guidance-icon { width: 44px; height: 44px; }
  .withdrawal-guidance .button { grid-column: 1 / -1; width: 100%; }
}


.security-setting-row { display: grid; grid-template-columns: 48px minmax(0,1fr) auto; align-items: center; gap: 15px; }
.security-setting-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; color: var(--primary); background: var(--primary-soft); }
.security-setting-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.security-setting-row > div:nth-child(2) { min-width: 0; display: grid; gap: 3px; }
.security-setting-row span { color: var(--muted); font-size: 12px; font-weight: 700; }
.security-setting-row strong { font-size: 17px; }
.security-setting-row small { color: var(--muted); line-height: 1.45; }
@media (max-width: 720px) {
  .security-setting-row { grid-template-columns: 44px minmax(0,1fr); }
  .security-setting-icon { width: 44px; height: 44px; }
  .security-setting-row .button { grid-column: 1 / -1; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .partner-track { animation: none !important; }
}

/* Visual direction v2 — researched marketplace richness + premium fintech depth */
:root {
  --bg: #f4f4fa;
  --surface-subtle: #eeeef7;
  --ink: #10111a;
  --ink-soft: #353648;
  --muted: #717286;
  --border: #dedfec;
  --border-strong: #c9cada;
  --primary: #2855ff;
  --primary-hover: #183fe0;
  --primary-soft: #e9edff;
  --reward: #7051ff;
  --reward-soft: #f0ecff;
  --premium: #090a12;
  --electric: #2855ff;
  --violet: #8055ff;
  --cyan: #34d9ff;
  --magenta: #ff4fc8;
  --lime: #c8ff47;
  --coral: #ff6d5f;
  --orange: #ff9a3e;
  --navy: #0a0d1d;
  --shadow-md: 0 24px 70px rgb(25 20 80 / 16%);
}

.brand-mark { background: linear-gradient(145deg, var(--electric), var(--violet)); box-shadow: 0 6px 18px rgb(40 85 255 / 24%); }
.brand-mark > span:first-child { background: var(--lime); }
.brand-mark > span:last-child { background: var(--coral); }
.button-primary { background: linear-gradient(120deg, var(--electric), var(--violet)); box-shadow: 0 9px 25px rgb(40 85 255 / 20%); }
.button-dark { color: #fff; background: var(--premium); }
.button-light { color: var(--ink); background: #fff; border-color: rgb(255 255 255 / 58%); }
.button-lime { color: #090a12; background: var(--lime); box-shadow: 0 12px 36px rgb(200 255 71 / 22%); }
.button-glass { color: #fff; border-color: rgb(255 255 255 / 24%); background: rgb(255 255 255 / 9%); backdrop-filter: blur(12px); }
.button-glass:hover { background: rgb(255 255 255 / 15%); }

.hero-v2 { min-height: 760px; color: #fff; background: #090a12; isolation: isolate; }
.hero-v2::before { width: 740px; height: 740px; right: -190px; top: -330px; border: 1px solid rgb(255 255 255 / 9%); box-shadow: 0 0 0 110px rgb(255 255 255 / 2.5%), 0 0 0 111px rgb(255 255 255 / 7%); }
.hero-v2::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .34; background-image: linear-gradient(rgb(255 255 255 / 4%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to right,#000,transparent 78%); }
.hero-aurora { position: absolute; z-index: -1; border-radius: 50%; filter: blur(80px); opacity: .62; pointer-events: none; animation: aurora-shift 9s ease-in-out infinite alternate; }
.hero-aurora-a { width: 560px; height: 420px; right: 7%; top: 9%; background: linear-gradient(135deg,var(--electric),var(--magenta)); }
.hero-aurora-b { width: 420px; height: 300px; right: 27%; bottom: -14%; background: linear-gradient(135deg,var(--cyan),var(--violet)); animation-delay: -4s; }
.hero-inner-v2 { min-height: 760px; padding-block: 76px; grid-template-columns: 1.05fr .95fr; gap: 40px; }
.hero-copy-v2 h1 { max-width: 780px; font-size: clamp(58px, 6.8vw, 94px); line-height: .86; letter-spacing: -.072em; font-weight: 800; }
.hero-copy-v2 h1 span { color: var(--lime); }
.hero-copy-v2 > p:not(.eyebrow) { max-width: 580px; color: #c6c8d7; font-size: 17px; }
.hero-eyebrow { color: #fff; }
.hero-eyebrow span { display: inline-block; width: 18px; height: 8px; margin-right: 8px; border-radius: 8px; background: var(--lime); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 34px; color: #a4a6b7; font-size: 11px; }
.hero-proof strong { color: #fff; }
.hero-proof span::before { content: "•"; margin-right: 8px; color: var(--cyan); }
.hero-product { position: relative; min-height: 530px; perspective: 1200px; }
.orbit { position: absolute; border: 1px solid rgb(255 255 255 / 18%); border-radius: 50%; }
.orbit-one { width: 470px; height: 470px; right: -30px; top: 20px; }
.orbit-two { width: 340px; height: 340px; right: 34px; top: 86px; border-color: rgb(200 255 71 / 26%); }
.hero-card-stack { position: absolute; width: 408px; height: 256px; left: 50%; top: 50%; transform: translate(-48%,-48%) rotate(-7deg) rotateY(-9deg); transform-style: preserve-3d; transition: transform .45s cubic-bezier(.2,.8,.2,1); animation: card-float 5s ease-in-out infinite; }
.hero-product:hover .hero-card-stack { animation-play-state: paused; transform: translate(-48%,-51%) rotate(-3deg) rotateY(-2deg) scale(1.025); }
.hero-card-shadow { position: absolute; inset: 31px -17px -29px 24px; border-radius: 30px; background: linear-gradient(125deg,#3d24a7,#09132c 64%); filter: blur(22px); transform: translateZ(-50px); opacity: .86; }
.hero-card-edge { position: absolute; inset: -3px -3px -5px 3px; border-radius: 30px; background: linear-gradient(120deg,#c8ff47 0%,#63e6ff 27%,#8d6cff 55%,#ff5a91 83%,#ffb84d 100%); transform: translateZ(-3px); box-shadow: 0 28px 75px rgb(19 7 70 / 45%); }
.hero-virtual-card { position: absolute; inset: 0; overflow: hidden; padding: 26px 28px 24px; border: 1px solid rgb(255 255 255 / 22%); border-radius: 28px; color: #fff; background: radial-gradient(circle at 88% 12%,rgb(102 78 255 / 48%),transparent 34%),radial-gradient(circle at 8% 108%,rgb(0 215 212 / 27%),transparent 42%),linear-gradient(145deg,#191b31 0%,#0d1021 46%,#16112c 100%); box-shadow: inset 0 1px rgb(255 255 255 / 25%), inset 0 -1px rgb(0 0 0 / 55%), 0 36px 80px rgb(0 0 0 / 38%); }
.hero-virtual-card::before { content: ""; position: absolute; inset: 0; opacity: .18; background-image: repeating-linear-gradient(118deg,transparent 0 18px,rgb(255 255 255 / 7%) 19px,transparent 20px 36px); mask-image: linear-gradient(110deg,#000,transparent 60%); }
.hero-virtual-card::after { content: ""; position: absolute; width: 240px; height: 240px; right: -125px; bottom: -142px; border: 34px solid rgb(200 255 71 / 12%); border-radius: 50%; box-shadow: 0 0 0 28px rgb(109 82 255 / 9%), 0 0 0 56px rgb(29 207 239 / 5%); }
.card-spectrum { position: absolute; inset: 0; background: linear-gradient(103deg,transparent 48%,rgb(255 255 255 / 8%) 55%,transparent 62%); transform: translateX(-55%); animation: card-spectrum 7s ease-in-out infinite; }
.card-shine { position: absolute; width: 180px; height: 430px; left: -110px; top: -145px; transform: rotate(35deg); background: linear-gradient(90deg,transparent,rgb(255 255 255 / 12%),transparent); }
.hero-card-top, .hero-card-hardware, .hero-card-account, .hero-card-footer { position: relative; z-index: 2; }
.hero-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.hero-card-brand { display: flex; align-items: center; gap: 11px; }
.hero-card-logo { width: 38px; height: 38px; display: grid; place-items: center; overflow: hidden; border: 1px solid rgb(255 255 255 / 22%); border-radius: 12px; background: rgb(255 255 255 / 94%); box-shadow: 0 8px 25px rgb(0 0 0 / 24%); }
.hero-card-logo img { width: 34px; height: 34px; object-fit: contain; }
.hero-card-brand > span:last-child { display: grid; gap: 2px; }
.hero-card-brand strong { font-size: 14px; line-height: 1; letter-spacing: .02em; }
.hero-card-brand small, .hero-card-tier { color: rgb(255 255 255 / 56%); font-size: 7px; font-weight: 800; letter-spacing: .18em; }
.hero-card-tier { min-height: 25px; display: inline-flex; align-items: center; padding: 0 10px; border: 1px solid rgb(200 255 71 / 35%); border-radius: 999px; color: var(--lime); background: rgb(200 255 71 / 7%); }
.hero-card-hardware { display: flex; align-items: center; justify-content: space-between; margin-top: 25px; }
.hero-chip { width: 47px; height: 35px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 1px; padding: 5px; border: 1px solid #efcf84; border-radius: 9px; background: linear-gradient(145deg,#fff0ae,#c99031); box-shadow: inset 0 0 0 1px rgb(100 54 0 / 22%), 0 6px 16px rgb(0 0 0 / 18%); }
.hero-chip i { border: 1px solid rgb(119 75 14 / 43%); border-radius: 2px; }
.hero-contactless { width: 28px; height: 28px; fill: none; stroke: rgb(255 255 255 / 70%); stroke-width: 1.7; stroke-linecap: round; }
.hero-card-account { margin-top: 13px; }
.hero-card-account small { display: block; margin-bottom: 4px; color: rgb(255 255 255 / 46%); font-size: 7px; font-weight: 800; letter-spacing: .18em; }
.hero-card-account > strong { display: flex; align-items: center; gap: 13px; font-size: 16px; line-height: 1; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.hero-card-account > strong span { color: rgb(255 255 255 / 48%); letter-spacing: .02em; }
.hero-card-account > strong b { color: #fff; font-size: 17px; letter-spacing: .16em; }
.hero-card-footer { display: flex; align-items: end; gap: 28px; margin-top: 19px; }
.hero-card-footer > span { display: grid; gap: 3px; }
.hero-card-footer small { color: rgb(255 255 255 / 42%); font-size: 6px; font-weight: 800; letter-spacing: .17em; }
.hero-card-footer strong { font-size: 9px; line-height: 1; letter-spacing: .1em; }
.hero-card-monogram { position: relative; width: 45px; height: 26px; margin-left: auto; display: block !important; }
.hero-card-monogram i { position: absolute; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--coral); mix-blend-mode: screen; }
.hero-card-monogram i:first-child { left: 0; background: #ff4e72; }
.hero-card-monogram i:last-child { right: 0; background: #ffb13b; }
.floating-reward, .floating-rate, .floating-transaction { position: absolute; z-index: 3; border: 1px solid rgb(255 255 255 / 22%); box-shadow: 0 22px 60px rgb(0 0 0 / 26%); backdrop-filter: blur(18px); }
.floating-reward-main { right: -22px; top: 48px; width: 190px; padding: 18px; border-radius: 17px; background: rgb(12 15 30 / 68%); animation: float-small 4.4s ease-in-out infinite; }
.floating-reward span, .floating-reward small { display: block; color: #b7b9c9; font-size: 9px; }
.floating-reward strong { display: block; margin: 3px 0; font-size: 25px; color: var(--lime); }
.floating-rate { left: -10px; bottom: 34px; width: 146px; height: 146px; border-radius: 50%; display: grid; place-items: center; align-content: center; color: #0c0d14; background: var(--lime); border-color: rgb(255 255 255 / 50%); transform: rotate(-8deg); }
.floating-rate span, .floating-rate em { font-size: 9px; font-style: normal; font-weight: 800; letter-spacing: .1em; }
.floating-rate strong { font-size: 45px; line-height: .95; letter-spacing: -.06em; }
.floating-transaction { right: 3px; bottom: 50px; display: flex; align-items: center; gap: 10px; padding: 12px 15px; border-radius: 14px; background: rgb(255 255 255 / 92%); color: var(--ink); animation: float-small 5s ease-in-out infinite reverse; }
.floating-transaction strong, .floating-transaction small { display: block; }
.floating-transaction strong { font-size: 14px; }
.floating-transaction small { color: var(--muted); font-size: 9px; }
.tx-mark { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: #061009; background: var(--lime); font-weight: 800; }

.reward-impact { padding: 86px 0; color: #fff; background: linear-gradient(115deg,#5e37ee 0%,#8f42ff 45%,#ef4bbd 100%); }
.reward-impact-grid { display: grid; grid-template-columns: 1fr .8fr 1fr; align-items: center; gap: 64px; }
.impact-copy h2 { margin: 0; max-width: 420px; font-size: 42px; line-height: 1.02; letter-spacing: -.05em; }
.impact-copy p:not(.eyebrow) { color: rgb(255 255 255 / 75%); }
.eyebrow-lime { color: var(--lime); }
.impact-number { text-align: center; }
.impact-number > span, .impact-number > small { display: block; color: rgb(255 255 255 / 65%); font-size: 10px; letter-spacing: .1em; font-weight: 800; }
.impact-number strong { display: block; font-size: 100px; line-height: .9; letter-spacing: -.08em; color: var(--lime); }
.impact-number em { font-size: 45px; font-style: normal; }
.impact-number small { max-width: 240px; margin: 15px auto 0; letter-spacing: 0; line-height: 1.5; }
.impact-metrics { border-left: 1px solid rgb(255 255 255 / 20%); }
.impact-metrics div { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 17px 0 17px 28px; border-bottom: 1px solid rgb(255 255 255 / 16%); }
.impact-metrics strong { font-size: 25px; }
.impact-metrics span { color: rgb(255 255 255 / 66%); font-size: 11px; }

.marketplace { background: #f3f0ff; }
.marketplace-heading h2 { max-width: 720px; font-size: clamp(40px,5vw,62px); }
.marketplace-bento { display: grid; grid-template-columns: 1.12fr .88fr; gap: 18px; }
.featured-deal { position: relative; min-height: 600px; overflow: hidden; padding: 42px; border-radius: 28px; color: #fff; background: linear-gradient(145deg,#fb4c87,#ff714e 52%,#ff9a3e); box-shadow: 0 28px 70px rgb(240 75 100 / 18%); }
.featured-deal::before { content: ""; position: absolute; width: 420px; height: 420px; right: -140px; bottom: -120px; border: 75px solid rgb(255 255 255 / 13%); border-radius: 50%; }
.featured-deal-copy { position: relative; z-index: 2; max-width: 390px; }
.deal-flag { display: inline-flex; min-height: 28px; align-items: center; padding: 0 10px; border: 1px solid rgb(255 255 255 / 38%); border-radius: 14px; background: rgb(255 255 255 / 14%); font-size: 9px; letter-spacing: .1em; font-weight: 800; }
.deal-logo { margin: 32px 0 20px; }
.featured-deal .brand-logo { width: 60px; height: 60px; }
.featured-deal-copy > p { margin: 0; color: rgb(255 255 255 / 76%); }
.featured-deal h3 { margin: 16px 0 22px; font-size: 108px; line-height: .8; letter-spacing: -.09em; }
.featured-deal h3 span, .featured-deal h3 em { display: block; font-size: 12px; line-height: 1.2; letter-spacing: .12em; font-style: normal; }
.featured-deal h3 em { margin-top: 13px; font-size: 18px; }
.deal-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 25px; }
.deal-meta span { padding: 7px 10px; border-radius: 16px; background: rgb(0 0 0 / 13%); font-size: 10px; }
.deal-art { position: absolute; right: -40px; bottom: -25px; width: 340px; height: 300px; }
.deal-disc { position: absolute; border-radius: 50%; filter: blur(2px); }
.disc-one { width: 230px; height: 230px; right: 0; bottom: 0; background: linear-gradient(135deg,#ffe762,#ff66c4); opacity: .75; }
.disc-two { width: 130px; height: 130px; left: 20px; top: 20px; background: #7c55ff; }
.mini-card { position: absolute; width: 230px; height: 145px; border-radius: 18px; box-shadow: 0 25px 55px rgb(50 10 50 / 28%); }
.mini-card-back { right: 15px; top: 18px; transform: rotate(17deg); background: #151427; }
.mini-card-front { right: 45px; top: 74px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; transform: rotate(-8deg); background: linear-gradient(135deg,#794fff,#275cff,#1bd1ec); }
.offer-grid-v2 { grid-template-columns: 1fr; gap: 14px; }
.offer-grid-v2 .offer-card { display: grid; grid-template-columns: 150px 1fr; border: 0; border-radius: 22px; min-height: 190px; box-shadow: 0 13px 35px rgb(53 40 100 / 8%); }
.offer-grid-v2 .offer-card-top { min-height: 100%; padding: 20px; display: grid; align-content: space-between; }
.offer-grid-v2 .offer-card-body { padding: 22px; }
.offer-grid-v2 .offer-data { margin-bottom: 12px; }
.offer-grid-v2 .offer-card:nth-child(1) .offer-card-top { color: #fff; background: linear-gradient(145deg,#08a987,#32e0bc); }
.offer-grid-v2 .offer-card:nth-child(2) .offer-card-top { color: #fff; background: linear-gradient(145deg,#392879,#6752df); }
.offer-grid-v2 .offer-card:nth-child(3) .offer-card-top { color: #fff; background: linear-gradient(145deg,#11131d,#303344); }
.offer-grid-v2 .rate-display strong, .offer-grid-v2 .rate-display span { color: inherit; text-align: left; }
.brand-ribbon { min-height: 90px; margin-top: 18px; padding: 0 24px; display: flex; align-items: center; gap: 22px; overflow-x: auto; border-radius: 22px; color: #fff; background: var(--premium); }
.brand-ribbon > span { flex: none; color: var(--lime); font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.brand-ribbon .platform-item { flex: 1 0 180px; border: 0; padding: 10px; }
.brand-ribbon .platform-item span { color: #aeb0c1; }
.brand-ribbon .brand-logo { width: 48px; height: 48px; border: 0; border-radius: 0; background: transparent; box-shadow: none; overflow: visible; }
.brand-ribbon .brand-logo img { width: 42px; height: 42px; filter: drop-shadow(0 6px 12px rgb(0 0 0 / 18%)); }

.partner-section { padding: 84px 0 76px; overflow: hidden; color: #fff; background: linear-gradient(120deg,#080912 0%,#101327 55%,#09101d 100%); }
.partner-heading { display: flex; align-items: end; justify-content: space-between; gap: 48px; margin-bottom: 42px; }
.partner-heading h2 { max-width: 720px; margin: 8px 0 0; font-size: clamp(38px,5vw,60px); line-height: 1; letter-spacing: -.055em; }
.partner-heading > p { max-width: 390px; margin: 0; color: #9da4ba; }
.partner-section .eyebrow { color: var(--lime); }
.partner-marquee { position: relative; width: 100%; overflow: hidden; mask-image: linear-gradient(to right,transparent,#000 8%,#000 92%,transparent); }
.partner-track { width: max-content; display: flex; align-items: center; gap: 72px; padding: 18px 36px; animation: partner-scroll 32s linear infinite; }
.partner-marquee:hover .partner-track { animation-play-state: paused; }
.partner-brand { min-width: 190px; display: flex; align-items: center; gap: 16px; color: #fff; }
.partner-brand img { width: 48px; height: 48px; object-fit: contain; filter: drop-shadow(0 8px 16px rgb(0 0 0 / 24%)); }
.partner-brand strong { font-size: 18px; letter-spacing: -.025em; white-space: nowrap; }
@keyframes partner-scroll { to { transform: translateX(calc(-50% - 36px)); } }

.how-v2 { background: #fff; }
.how-v2 .section-heading h2 { max-width: 700px; font-size: clamp(38px,5vw,58px); }
.how-v2 .section-heading > p { max-width: 390px; }
.steps-v2 { gap: 12px; }
.steps-v2 .step { min-height: 260px; padding: 24px; border-radius: 20px; background: #f4f5fa; }
.steps-v2 .step::before, .steps-v2 .step::after { display: none; }
.steps-v2 .step:nth-child(2) { background: #eaf8ff; }
.steps-v2 .step:nth-child(3) { background: #f1edff; }
.steps-v2 .step:nth-child(4) { background: #f2ffd9; }
.step-glyph { display: grid; width: 58px; height: 58px; place-items: center; margin-bottom: 62px; border-radius: 50%; color: #fff; background: var(--premium); font-weight: 800; }
.steps-v2 .step:nth-child(2) .step-glyph { background: var(--electric); }
.steps-v2 .step:nth-child(3) .step-glyph { background: var(--violet); }
.steps-v2 .step:nth-child(4) .step-glyph { color: #111; background: var(--lime); }
.steps-v2 .step h3 { font-size: 21px; }

.calculator-section { position: relative; overflow: hidden; padding: 110px 0; color: #111; background: linear-gradient(125deg,#a8e8ff 0%,#d8c8ff 45%,#ffb9df 100%); isolation: isolate; }
.calc-orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(10px); opacity: .58; }
.calc-orb-a { width: 410px; height: 410px; left: -170px; bottom: -180px; background: var(--lime); }
.calc-orb-b { width: 360px; height: 360px; right: -90px; top: -160px; background: #ff7caf; }
.calculator-layout-v2 { grid-template-columns: .9fr 1.1fr; gap: 90px; }
.calculator-layout-v2 .calculator-copy h2 { max-width: 570px; font-size: clamp(44px,6vw,72px); }
.eyebrow-dark { color: #27283a; }
.calc-formula { display: flex; align-items: center; gap: 10px; margin-top: 30px; font-size: 11px; font-weight: 800; }
.calc-formula span, .calc-formula strong { padding: 8px 11px; border: 1px solid rgb(0 0 0 / 14%); border-radius: 16px; background: rgb(255 255 255 / 42%); }
.calc-formula strong { color: #fff; background: var(--premium); }
.calculator-layout-v2 .calculator-card { padding: 34px; border: 1px solid rgb(255 255 255 / 67%); border-radius: 24px; background: rgb(255 255 255 / 78%); box-shadow: 0 30px 80px rgb(71 43 130 / 18%); backdrop-filter: blur(24px); }
.calculator-layout-v2 .estimate-panel { border: 0; background: transparent; gap: 10px; }
.calculator-layout-v2 .estimate-panel > div { border-radius: 13px; background: #f3f3f8; }
.calculator-layout-v2 .estimate-panel .estimated { color: #111; background: var(--lime); }
.calculator-layout-v2 .estimate-panel .estimated span { color: #333; }
.calculator-layout-v2 .estimate-panel .estimated strong { color: #111; font-size: 24px; }

.earnings-section { padding: 110px 0; color: #fff; background: var(--premium); }
.earnings-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 76px; align-items: center; }
.earnings-copy, .earnings-dashboard { min-width: 0; }
.earnings-copy h2 { margin: 0; max-width: 520px; font-size: clamp(44px,6vw,72px); line-height: 1; letter-spacing: -.055em; }
.earnings-copy > p:not(.eyebrow) { color: #aeb0c1; }
.earnings-dashboard { padding: 30px; border: 1px solid rgb(255 255 255 / 12%); border-radius: 24px; background: #12141f; box-shadow: 0 32px 90px rgb(0 0 0 / 33%); }
.earnings-top { display: flex; align-items: flex-start; justify-content: space-between; }
.earnings-top span { color: #aeb0c1; font-size: 11px; }
.earnings-top strong { display: block; margin-top: 5px; font-size: 40px; }
.earnings-chart { height: 185px; display: flex; align-items: end; gap: 8px; margin-top: 28px; border-bottom: 1px solid rgb(255 255 255 / 10%); background-image: linear-gradient(rgb(255 255 255 / 6%) 1px,transparent 1px); background-size: 100% 46px; }
.earnings-chart i { flex: 1; height: calc(attr(data-bar number) * 1%); min-height: 35%; border-radius: 8px 8px 2px 2px; background: linear-gradient(to top,var(--electric),var(--cyan)); opacity: .86; transform-origin: bottom; animation: bars-rise 900ms cubic-bezier(.2,.8,.2,1) both; }
.earnings-chart i:nth-child(1) { height: 35%; }.earnings-chart i:nth-child(2) { height: 48%; }.earnings-chart i:nth-child(3) { height: 42%; }.earnings-chart i:nth-child(4) { height: 64%; }.earnings-chart i:nth-child(5) { height: 58%; }.earnings-chart i:nth-child(6) { height: 78%; }.earnings-chart i:nth-child(7) { height: 92%; }.earnings-chart i:nth-child(8) { height: 86%; }
.earnings-legend { display: flex; justify-content: space-between; margin-top: 8px; color: #6f7282; font-size: 8px; }
.earnings-events { margin-top: 24px; border-top: 1px solid rgb(255 255 255 / 10%); }
.earnings-events > div { min-height: 68px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid rgb(255 255 255 / 10%); }
.earnings-events p { flex: 1; margin: 0; }
.earnings-events strong, .earnings-events small { display: block; }
.earnings-events small { color: #818495; }
.pending-mark { color: #111; background: #ffd35c; }

.trust-v2 { padding: 0 0 92px; background: var(--premium); color: #fff; }
.trust-v2-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; overflow: hidden; border-radius: 20px; background: rgb(255 255 255 / 10%); }
.trust-v2 article { min-height: 210px; padding: 27px; background: #151722; }
.trust-v2 article:nth-child(2) { background: #1b1633; }
.trust-v2 article:nth-child(3) { background: #132425; }
.trust-index { color: var(--lime); font-size: 10px; font-weight: 800; }
.trust-v2 h3 { margin: 60px 0 7px; font-size: 20px; }
.trust-v2 p { margin: 0; color: #9fa2b3; font-size: 12px; }
.faq-v2 { padding: 92px 0; background: #fff; }
.faq-v2 .section-heading h2 { font-size: clamp(40px,5vw,60px); }
.final-cta { padding: 94px 0; color: #111; background: var(--lime); }
.final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.final-cta h2 { margin: 0; font-size: clamp(50px,7vw,82px); line-height: .95; letter-spacing: -.065em; }
.final-cta p:not(.eyebrow) { margin-bottom: 0; }
.final-cta-actions { display: flex; gap: 10px; }
.site-footer { background: #080911; }

.offers-page-grid .offer-card:nth-child(4n+1) .offer-card-top { color: #fff; background: linear-gradient(135deg,#704cff,#2d62ff); }
.offers-page-grid .offer-card:nth-child(4n+2) .offer-card-top { color: #07120e; background: linear-gradient(135deg,#8ef5d0,#cafb54); }
.offers-page-grid .offer-card:nth-child(4n+3) .offer-card-top { color: #fff; background: linear-gradient(135deg,#ff4d91,#ff8b48); }
.offers-page-grid .offer-card:nth-child(4n+4) .offer-card-top { color: #fff; background: linear-gradient(135deg,#12131d,#44475e); }
.offers-page-grid .offer-card-top .rate-display strong, .offers-page-grid .offer-card-top .rate-display span { color: inherit; }
.page-hero { background: linear-gradient(135deg,#f4f0ff,#eef8ff 60%,#f5ffdc); }
.page-heading h1 { font-size: clamp(50px,7vw,78px); }
.detail-hero { color: #fff; background: radial-gradient(circle at 78% 25%,rgb(63 220 255 / 25%),transparent 25%),linear-gradient(125deg,#090a12,#21164e 62%,#253cff); }
.detail-copy > p, .detail-brand span { color: #b9bad0; }
.detail-copy h1 em { color: var(--lime); }
.detail-hero .button-secondary {
  color: #10111a;
  border-color: rgb(255 255 255 / 72%);
  background: #fff;
  box-shadow: 0 10px 28px rgb(0 0 0 / 16%);
}
.detail-hero .button-secondary:hover {
  color: #10111a;
  border-color: #fff;
  background: #eef1f8;
}
.detail-hero .button-secondary:focus-visible {
  color: #10111a;
  outline-color: #fff;
}
.detail-hero .virtual-card { box-shadow: 0 34px 80px rgb(0 0 0 / 40%); }
.balance-overview { background: linear-gradient(125deg,#14152a,#3033a6 60%,#7750ff); box-shadow: 0 20px 55px rgb(41 42 150 / 20%); }
.auth-brand-panel { background: radial-gradient(circle at 20% 80%,rgb(52 217 255 / 30%),transparent 35%),linear-gradient(145deg,#0b0d18,#332078 62%,#764cff); }
.guest-entry { background: radial-gradient(circle at 20% 10%,#ebe3ff,transparent 32%),radial-gradient(circle at 90% 70%,#e1fbff,transparent 30%),var(--bg); }
.account-wrap { min-height: calc(100vh - 72px); background: radial-gradient(circle at 88% 0,#e4dbff,transparent 24%),radial-gradient(circle at 28% 88%,#ddf9ff,transparent 30%),var(--bg); }
.account-nav { color: #fff; border-color: #242636; background: #10121c; box-shadow: 0 18px 48px rgb(16 18 28 / 13%); }
.account-nav a, .account-nav button { color: #9699aa; }
.account-nav a.is-active, .account-nav a:hover, .account-nav button:hover { color: #fff; background: linear-gradient(100deg,rgb(40 85 255 / 32%),rgb(128 85 255 / 30%)); }
.account-actions-grid .account-action { border: 0; color: #fff; box-shadow: 0 14px 34px rgb(35 35 80 / 10%); }
.account-actions-grid .account-action:nth-child(1) { background: linear-gradient(135deg,#6648f8,#2d65ff); }
.account-actions-grid .account-action:nth-child(2) { color: #10111a; background: linear-gradient(135deg,#95efdc,#c7ff4b); }
.account-actions-grid .account-action:nth-child(3) { background: linear-gradient(135deg,#ff4f9c,#ff824d); }
.account-actions-grid .account-action:nth-child(4) { background: linear-gradient(135deg,#151722,#3c3f54); }
.account-action svg { color: inherit; }
.conversation-sidebar { color: #fff; border-color: #242635; background: #0d0f18; }
.conversation-sidebar-header { border-color: #242635; background: radial-gradient(circle at 90% 10%,rgb(128 85 255 / 28%),transparent 40%); }
.conversation-sidebar-header .eyebrow { color: var(--lime); }
.conversation-sidebar-header .support-presence { color: #9c9faf; }
.quick-topics { border-color: #242635; }
.quick-topic { color: #c4c6d1; border-color: #333648; background: #171925; }
.quick-topic:hover { color: #10111a; border-color: var(--lime); background: var(--lime); }
.conversation-item { color: #fff; border-color: #242635; background: #0d0f18; }
.conversation-item.is-active { background: linear-gradient(100deg,#20255c,#33215b); box-shadow: inset 3px 0 var(--lime); }
.conversation-item-copy span { color: #8e91a2; }
.chat-panel { background: radial-gradient(circle at 20% 20%,#ece7ff,transparent 30%),#f4f4f9; }
.message-row.customer .message { background: linear-gradient(135deg,var(--electric),var(--violet)); box-shadow: 0 10px 25px rgb(54 69 216 / 18%); }
.composer-send { background: linear-gradient(135deg,var(--electric),var(--violet)); }
.auth-dialog { border: 1px solid rgb(255 255 255 / 40%); }
.auth-brand-panel::after { content: "50%"; width: 140px; height: 140px; display: grid; place-items: center; border-radius: 50%; color: #111; background: var(--lime); font-size: 40px; font-weight: 800; letter-spacing: -.06em; transform: rotate(-8deg); box-shadow: 0 18px 50px rgb(0 0 0 / 20%); }

@keyframes card-float { 50% { transform: translate(-48%,-52%) rotate(-4deg) rotateY(-4deg); } }
@keyframes card-spectrum { 0%,18% { transform: translateX(-65%); } 62%,100% { transform: translateX(75%); } }
@keyframes float-small { 50% { transform: translateY(-10px); } }
@keyframes aurora-shift { 50% { transform: translate(30px,-20px) scale(1.08); } }
@keyframes bars-rise { from { transform: scaleY(.08); opacity: .15; } }

@media (max-width: 1024px) {
  .hero-inner-v2 { grid-template-columns: 1fr .86fr; }
  .hero-copy-v2 h1 { font-size: 68px; }
  .hero-card-stack { width: 320px; height: 205px; }
  .hero-virtual-card { padding: 20px 22px 18px; }
  .hero-card-logo { width: 32px; height: 32px; border-radius: 10px; }
  .hero-card-logo img { width: 29px; height: 29px; }
  .hero-card-hardware { margin-top: 18px; }
  .hero-chip { width: 42px; height: 31px; }
  .hero-card-account { margin-top: 10px; }
  .hero-card-footer { margin-top: 14px; }
  .floating-reward-main { right: -5px; }
  .reward-impact-grid { grid-template-columns: 1fr .8fr; }
  .impact-metrics { grid-column: 1 / -1; border-left: 0; display: grid; grid-template-columns: repeat(3,1fr); }
  .impact-metrics div { padding-left: 0; display: grid; border-right: 1px solid rgb(255 255 255 / 18%); }
  .marketplace-bento { grid-template-columns: 1fr; }
  .offer-grid-v2 { grid-template-columns: repeat(3,1fr); }
  .offer-grid-v2 .offer-card { display: block; }
  .offer-grid-v2 .offer-card-top { min-height: 120px; }
  .calculator-layout-v2 { gap: 40px; }
  .earnings-grid { gap: 40px; }
}

@media (max-width: 760px) {
  .hero-v2 { min-height: auto; }
  .hero-inner-v2 { padding: 34px 0 24px; display: flex; flex-direction: column; gap: 12px; }
  .hero-copy-v2 h1 { max-width: 360px; font-size: clamp(43px,12.4vw,52px); line-height: .88; }
  .hero-copy-v2 > p:not(.eyebrow) { color: #c4c6d4; }
  .hero-copy-v2 > p:not(.eyebrow) { margin-top: 14px; font-size: 14px; line-height: 1.55; }
  .hero-copy-v2 .hero-actions { margin-top: 19px; }
  .hero-copy-v2 .hero-actions .button { min-height: 42px; padding-inline: 14px; font-size: 12px; }
  .hero-proof { margin-top: 18px; gap: 5px 11px; }
  .hero-proof strong { flex-basis: 100%; }
  .hero-product { width: 100%; min-height: 300px; margin-top: 0; }
  .orbit-one { width: 300px; height: 300px; left: 50%; top: 0; transform: translateX(-50%); }
  .orbit-two { width: 220px; height: 220px; left: 50%; top: 38px; transform: translateX(-50%); }
  .hero-card-stack { width: min(276px, calc(100vw - 62px)); height: 174px; left: 50%; top: 49%; }
  .hero-virtual-card { padding: 19px; border-radius: 20px; }
  .hero-card-edge { border-radius: 22px; }
  .hero-card-logo { width: 28px; height: 28px; border-radius: 8px; }
  .hero-card-logo img { width: 25px; height: 25px; }
  .hero-card-brand { gap: 8px; }
  .hero-card-brand strong { font-size: 11px; }
  .hero-card-brand small, .hero-card-tier { font-size: 5.5px; }
  .hero-card-tier { min-height: 20px; padding-inline: 7px; }
  .hero-card-hardware { margin-top: 10px; }
  .hero-chip { width: 35px; height: 26px; margin-top: 0; padding: 4px; border-radius: 7px; }
  .hero-contactless { width: 22px; height: 22px; }
  .hero-card-account { margin-top: 7px; }
  .hero-card-account small { font-size: 5px; }
  .hero-card-account > strong { gap: 8px; font-size: 12px; }
  .hero-card-account > strong b { font-size: 13px; }
  .hero-card-footer { gap: 17px; margin-top: 10px; }
  .hero-card-footer small { font-size: 5px; }
  .hero-card-footer strong { font-size: 7px; }
  .hero-card-monogram { width: 35px; height: 20px; }
  .hero-card-monogram i { width: 20px; height: 20px; }
  .hero-card-number { margin-top: 14px; font-size: 14px; }
  .hero-virtual-card .virtual-card-bottom { margin-top: 13px; }
  .floating-reward-main { top: -2px; right: -2px; width: 137px; padding: 12px; }
  .floating-reward strong { font-size: 20px; }
  .floating-rate { left: -2px; bottom: -2px; width: 91px; height: 91px; }
  .floating-rate strong { font-size: 35px; }
  .floating-rate span, .floating-rate em { font-size: 7px; }
  .floating-transaction { right: -1px; bottom: 6px; padding: 9px 11px; }
  .floating-transaction .tx-mark { width: 23px; height: 23px; }
  .reward-impact { padding: 58px 0; }
  .reward-impact-grid { grid-template-columns: 1fr; gap: 36px; }
  .impact-copy h2 { font-size: 38px; }
  .impact-number { text-align: left; }
  .impact-number strong { font-size: 88px; }
  .impact-number small { margin-inline: 0; text-align: left; }
  .impact-metrics { grid-column: auto; grid-template-columns: 1fr; }
  .impact-metrics div { display: flex; padding: 13px 0; border-right: 0; }
  .marketplace { padding-top: 62px; }
  .marketplace-heading h2 { font-size: 43px; }
  .marketplace-heading .button { margin-top: 20px; }
  .featured-deal { min-height: 570px; padding: 28px; border-radius: 22px; }
  .featured-deal h3 { font-size: 92px; }
  .deal-art { right: -80px; bottom: -30px; }
  .offer-grid-v2 { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .offer-grid-v2 .offer-card { flex: 0 0 82%; scroll-snap-align: start; }
  .brand-ribbon { margin-inline: -16px; border-radius: 0; padding-inline: 16px; }
  .brand-ribbon .brand-logo { width: 42px; height: 42px; }
  .brand-ribbon .brand-logo img { width: 38px; height: 38px; }
  .partner-section { padding: 62px 0 54px; }
  .partner-heading { display: block; margin-bottom: 26px; }
  .partner-heading h2 { font-size: 40px; }
  .partner-heading > p { margin-top: 18px; }
  .partner-track { gap: 42px; padding-inline: 20px; animation-duration: 24s; }
  .partner-brand { min-width: 150px; gap: 12px; }
  .partner-brand img { width: 40px; height: 40px; }
  .partner-brand strong { font-size: 16px; }
  .how-v2 .section-heading h2 { font-size: 42px; }
  .steps-v2 { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: -16px; padding-right: 16px; }
  .steps-v2 .step { flex: 0 0 78%; min-height: 245px; scroll-snap-align: start; padding: 24px; }
  .step-glyph { margin-bottom: 48px; }
  .calculator-section { padding: 68px 0; }
  .calculator-layout-v2 { grid-template-columns: 1fr; gap: 30px; }
  .calculator-layout-v2 .calculator-copy h2 { font-size: 48px; }
  .calculator-layout-v2 .calculator-card { padding: 20px; }
  .earnings-section { padding: 72px 0; }
  .earnings-grid { grid-template-columns: 1fr; }
  .earnings-copy h2 { font-size: 48px; }
  .earnings-dashboard { padding: 20px; }
  .earnings-chart { height: 150px; }
  .trust-v2 { padding-bottom: 62px; }
  .trust-v2-grid { grid-template-columns: 1fr; }
  .trust-v2 article { min-height: 170px; }
  .trust-v2 h3 { margin-top: 42px; }
  .faq-v2 { padding: 62px 0; }
  .final-cta { padding: 64px 0; }
  .final-cta-inner { display: block; }
  .final-cta h2 { font-size: 55px; }
  .final-cta-actions { margin-top: 26px; display: grid; }
  .detail-hero-inner { padding-top: 44px; }
  .detail-copy h1 { font-size: 48px; }
}

@media (max-width: 360px) {
  .hero-copy-v2 h1 { font-size: 42px; }
  .hero-copy-v2 .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-copy-v2 .hero-actions .button { padding-inline: 8px; }
  .hero-proof span { font-size: 10px; }
  .hero-product { min-height: 280px; }
  .hero-card-stack { width: 252px; height: 160px; }
  .hero-virtual-card { padding: 14px 16px; }
  .hero-card-logo { width: 26px; height: 26px; }
  .hero-card-logo img { width: 23px; height: 23px; }
  .hero-card-hardware { margin-top: 8px; }
  .hero-chip { width: 32px; height: 23px; }
  .hero-card-account { margin-top: 5px; }
  .hero-card-account > strong { font-size: 11px; }
  .hero-card-account > strong b { font-size: 12px; }
  .hero-card-footer { margin-top: 7px; }
  .floating-reward-main { width: 124px; }
  .floating-rate { width: 82px; height: 82px; }
  .floating-rate strong { font-size: 30px; }
  .floating-transaction { bottom: 0; }
  .featured-deal { min-height: 535px; }
}

/* Product-wide typography: Microsoft YaHei */
*, *::before, *::after {
  font-family: "Microsoft YaHei", "微软雅黑", sans-serif !important;
}

/* Live account balance refresh after an administrator credit. */
[data-live-balance] { transition: color .22s ease, transform .22s ease; }
.balance-live-updated { color: #19a974 !important; animation: balance-live-pulse .72s ease both; }
@keyframes balance-live-pulse { 0% { transform:translateY(0); } 35% { transform:translateY(-2px) scale(1.025); } 100% { transform:translateY(0); } }
@media (prefers-reduced-motion:reduce) { .balance-live-updated { animation:none; } }

/* Mobile support is a viewport-locked surface: only the message list scrolls. */
@media (max-width:760px) {
  html, body { overscroll-behavior-y:none; }
  body { background:#fff; }
  html:has(.support-layout.chat-open), body:has(.support-layout.chat-open) { height:100dvh; min-height:100dvh; overflow:hidden; }
  body:has(.support-layout.chat-open) { padding-bottom:0; }
  .support-layout.chat-open .chat-panel { min-height:0; overflow:hidden; }
  .support-layout.chat-open .messages { min-height:0; overflow-y:auto; overscroll-behavior:contain; -webkit-overflow-scrolling:touch; }
  .support-layout.chat-open .chat-composer {
    flex:0 0 auto;
    position:relative;
    inset:auto;
    transform:none;
    padding:8px 16px 10px;
    border-top:0;
  }
  .support-layout.chat-open .composer-box {
    width:min(100%, 520px);
    margin-inline:auto;
    padding:6px;
    gap:4px;
    border-radius:16px;
    box-shadow:0 5px 20px rgba(15, 23, 42, .08);
  }
  .support-layout.chat-open .composer-box textarea {
    height:40px;
    min-height:40px;
    padding:8px 6px;
    overflow-y:auto;
  }
  .support-layout.chat-open .composer-action { flex:0 0 40px; }
  .mobile-keyboard-open .support-layout.chat-open { bottom:0; }
  .mobile-keyboard-open .support-layout.chat-open .chat-composer { padding-bottom:10px; }
  .mobile-keyboard-open .mobile-tabbar { display:none; }
}

/* Mobile app chrome stays locked to the viewport while page content scrolls. */
@media (max-width:760px) {
  :root { --mobile-header-height: 60px; --mobile-tabbar-height: 56px; }
  html {
    width: 100%;
    scroll-padding-top: calc(var(--mobile-header-height) + env(safe-area-inset-top));
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }
  body {
    width: 100%;
    max-width: 100%;
    padding-bottom: calc(var(--mobile-tabbar-height) + env(safe-area-inset-bottom));
  }
  button, a, input, select, textarea { touch-action: manipulation; }
  input, select, textarea { font-size: 16px !important; }
  .app-shell {
    min-height: 100dvh;
    padding-top: calc(var(--mobile-header-height) + env(safe-area-inset-top));
  }
  .site-header {
    position: fixed !important;
    inset: 0 0 auto 0;
    width: 100%;
    padding-top: env(safe-area-inset-top);
    z-index: 1000;
    transform: translateZ(0);
    backface-visibility: hidden;
  }
  .language-menu,
  .account-menu {
    top: calc(var(--mobile-header-height) + env(safe-area-inset-top) + 6px);
  }
  .account-menu {
    max-height: calc(100dvh - var(--mobile-header-height) - var(--mobile-tabbar-height) - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px);
  }
  .mobile-tabbar {
    position: fixed !important;
    inset: auto 0 0 0;
    width: 100%;
    min-height: calc(var(--mobile-tabbar-height) + env(safe-area-inset-bottom));
    padding: 2px 12px env(safe-area-inset-bottom);
    z-index: 1000;
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform;
  }
  .mobile-tabbar a {
    min-height: 52px;
    gap: 1px;
  }
  .mobile-tabbar svg { width: 21px; height: 21px; }
  .support-layout.chat-open {
    top: calc(var(--mobile-header-height) + env(safe-area-inset-top));
    bottom: auto;
    height: calc(100dvh - var(--mobile-header-height) - var(--mobile-tabbar-height) - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  }
  .mobile-keyboard-open .support-layout.chat-open {
    bottom: auto;
    height: calc(100dvh - var(--mobile-header-height) - env(safe-area-inset-top));
  }
  /* The app navigation never rides above the software keyboard. Only the
     conversation composer belongs in the reduced visual viewport. */
  html:has(.support-layout.chat-open #chatMessage:focus) .support-layout.chat-open {
    bottom: auto;
    height: calc(100dvh - var(--mobile-header-height) - env(safe-area-inset-top));
  }
  .mobile-keyboard-open .mobile-tabbar,
  html:has(.support-layout.chat-open #chatMessage:focus) .mobile-tabbar {
    display: none !important;
  }
}


/* Customer reward-task cards */
.message.has-task-card{max-width:min(92%,560px);padding:0!important;overflow:hidden;background:transparent!important;border:0!important;box-shadow:none!important}.customer-reward-task{overflow:hidden;border:1px solid rgba(129,140,248,.3);border-radius:20px;background:linear-gradient(145deg,#fff,#f4f6ff);box-shadow:0 16px 40px rgba(37,44,110,.14);color:#101828}.customer-reward-task>header{display:grid;grid-template-columns:48px 1fr auto;align-items:center;gap:12px;padding:16px;background:linear-gradient(130deg,#111827,#312e81 65%,#5b21b6);color:#fff}.customer-reward-task>header img{width:48px;height:48px;border-radius:13px;object-fit:contain;background:#fff}.customer-reward-task>header div{display:grid;gap:2px}.customer-reward-task>header span{font-size:10px;letter-spacing:.14em;color:#c7d2fe}.customer-reward-task>header strong{font-size:16px}.customer-reward-task>header b{padding:6px 9px;border-radius:999px;background:rgba(255,255,255,.15);font-size:10px;white-space:nowrap}.customer-task-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:16px}.customer-task-values span{display:grid;gap:4px}.customer-task-values small{font-size:10px;color:#667085}.customer-task-values strong{font-size:13px}.customer-task-proof{display:flex;align-items:center;gap:10px;margin:0 16px 14px;color:#4f46e5;font-weight:750}.customer-task-proof img{width:74px;height:54px;border-radius:10px;object-fit:cover}.customer-task-reason{margin:0 16px 14px;padding:10px;border-radius:10px;background:#fff1f2;color:#be123c;font-size:12px}.customer-reward-task-form{display:grid;gap:12px;padding:15px 16px 16px;border-top:1px solid #e4e7ec}.customer-reward-task-form label{display:grid;gap:7px;font-size:12px;font-weight:750}.customer-reward-task-form input[type=number]{height:44px;border:1px solid #cbd5e1;border-radius:11px;padding:0 12px;background:#fff;font:inherit;font-size:14px}.task-proof-field{position:relative}.task-proof-field input{position:absolute;inline-size:1px;block-size:1px;opacity:0}.task-proof-field b{display:grid;place-items:center;min-height:44px;border:1px dashed #818cf8;border-radius:11px;background:#eef2ff;color:#4338ca;cursor:pointer}.task-submit-feedback{min-height:16px;margin:0;color:#b42318;font-size:12px}.customer-reward-task-form button{min-height:44px;border:0;border-radius:11px;background:#4f46e5;color:#fff;font-weight:850}.customer-reward-task-form button:disabled{opacity:.6}.status-approved>header{background:linear-gradient(130deg,#064e3b,#059669)}.status-admin_rejected>header,.status-staff_rejected>header{background:linear-gradient(130deg,#7f1d1d,#dc2626)}
@media(max-width:620px){.message.has-task-card{max-width:calc(100vw - 54px)}.customer-reward-task>header{grid-template-columns:42px 1fr}.customer-reward-task>header img{width:42px;height:42px}.customer-reward-task>header b{grid-column:1/-1;justify-self:start}.customer-task-values{grid-template-columns:1fr 1fr}.customer-task-values span:last-child{grid-column:1/-1}}

.task-local-preview{position:relative;display:grid;grid-template-columns:58px minmax(0,1fr) 24px;align-items:center;gap:10px;padding:8px;border:1px solid #bbf7d0;border-radius:12px;background:#f0fdf4;color:#166534}.task-local-preview[hidden]{display:none!important}.task-local-preview img{width:58px;height:48px;border-radius:8px;object-fit:cover;background:#e2e8f0}.task-local-preview span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:750}.task-local-preview i{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#16a34a;color:#fff;font-size:12px;font-style:normal}.customer-task-proof::after{content:"✓";display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#16a34a;color:#fff;font-size:11px;font-weight:900}
.task-app-downloads{display:grid;gap:8px;margin:0 16px 14px;padding:12px;border:1px solid #dbeafe;border-radius:14px;background:linear-gradient(135deg,#eff6ff,#eef2ff)}.task-app-downloads>span{color:#475569;font-size:11px;font-weight:800;letter-spacing:.04em}.task-app-downloads>div{display:grid;grid-template-columns:1fr 1fr;gap:8px}.task-app-download{display:flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:0 12px;border:1px solid rgba(79,70,229,.18);border-radius:11px;background:#fff;color:#312e81;font-size:12px;font-weight:850;text-decoration:none;box-shadow:0 5px 14px rgba(49,46,129,.08);transition:transform .18s ease,box-shadow .18s ease}.task-app-download:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(49,46,129,.14)}.task-app-download>img{width:24px;height:24px;flex:0 0 24px;border-radius:7px;object-fit:contain;background:#fff}.task-app-downloads>.task-app-download{width:100%}
@media(max-width:520px){.task-app-downloads>div{grid-template-columns:1fr}.task-app-download{justify-content:flex-start}}


/* Withdrawal address preview and second-step confirmation */
.withdrawal-address-preview{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 18px;align-items:center;margin:16px 0;padding:14px 16px;border:1px solid #dbeafe;border-radius:14px;background:linear-gradient(135deg,#f8fbff,#eef2ff)}.withdrawal-address-preview>span{grid-column:1/-1;color:#64748b;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.withdrawal-address-preview>div{display:grid;min-width:0;gap:4px}.withdrawal-address-preview strong{font-size:13px;color:#312e81}.withdrawal-address-preview code{max-width:100%;overflow:hidden;color:#0f172a;font:650 12px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;text-overflow:ellipsis;white-space:nowrap}.withdrawal-address-preview a{color:#4f46e5;font-size:12px;font-weight:800;text-decoration:none;white-space:nowrap}.withdrawal-address-preview a:hover{text-decoration:underline}.withdrawal-confirm-card{width:min(520px,calc(100vw - 32px))}.withdrawal-confirm-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:4px 0}.withdrawal-confirm-summary>div{display:grid;gap:5px;padding:13px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc}.withdrawal-confirm-summary span{color:#64748b;font-size:11px;font-weight:750}.withdrawal-confirm-summary strong{font-size:17px;color:#0f172a}.withdrawal-confirm-summary .confirm-address-row{grid-column:1/-1}.withdrawal-confirm-summary code{overflow-wrap:anywhere;color:#312e81;font:700 12px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace}.withdrawal-confirm-warning{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border:1px solid #fde68a;border-radius:12px;background:#fffbeb;color:#92400e}.withdrawal-confirm-warning>span{display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;border-radius:50%;background:#f59e0b;color:#fff;font-weight:900}.withdrawal-confirm-warning p{margin:1px 0 0;font-size:12px;line-height:1.55}.withdrawal-confirm-actions{display:grid;grid-template-columns:1fr 1.35fr;gap:10px}.withdrawal-confirm-actions .button{width:100%}
@media(max-width:560px){.withdrawal-address-preview{grid-template-columns:1fr}.withdrawal-address-preview>span{grid-column:auto}.withdrawal-address-preview a{justify-self:start}.withdrawal-confirm-summary{grid-template-columns:1fr}.withdrawal-confirm-summary .confirm-address-row{grid-column:auto}.withdrawal-confirm-actions{grid-template-columns:1fr}}

/* Auth content can exceed the viewport in any language or with an on-screen keyboard. */
#authDialog.auth-dialog { max-height: calc(100dvh - 24px); overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; touch-action: pan-y; scroll-padding-block: 24px; }
#authDialog .auth-form-panel { min-width: 0; }
#authDialog .auth-tabs { width: calc(100% - 22px); max-width: 100%; }
#authDialog .auth-tabs button { flex: 1; min-width: 0; white-space: normal; overflow-wrap: anywhere; }
#authDialog .auth-form button[type="submit"] { min-height: 48px; white-space: normal; }
@media(max-width:760px) { #authDialog.auth-dialog { max-height: calc(100dvh - 16px); } }

/* Account withdrawal: persistent balance inset within the amount field. */
#withdrawalForm .withdrawal-amount-input { display:grid; grid-template-columns:auto minmax(0,1fr); overflow:hidden; }
#withdrawalForm .withdrawal-amount-input > input { min-width:0; width:100%; padding-block:17px 10px; font-size:24px; font-weight:600; font-variant-numeric:tabular-nums; }
#withdrawalForm .withdrawal-available-balance { grid-column:1 / -1; display:flex; align-items:baseline; flex-wrap:wrap; gap:4px 10px; padding:0 16px 14px; color:rgb(35 60 81 / 65%); font-size:12px; line-height:1.5; pointer-events:none; }
#withdrawalForm .withdrawal-available-balance strong { color:rgb(35 60 81 / 72%); font-size:13px; font-weight:600; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }

/* Mobile account withdrawal: one clear form, followed by compact records. */
@media (max-width:760px) {
  .account-withdrawal-page { width:100%; min-width:0; padding-bottom:20px; }
  .account-withdrawal-page .account-header { margin:0 0 20px; gap:12px; }
  .account-withdrawal-page .account-header .eyebrow { display:none; }
  .account-withdrawal-page .account-header h1 { font-size:28px; line-height:1.25; }
  .account-withdrawal-page .withdrawal-form-panel { padding:22px 18px; border-radius:20px; border-color:#e1e6ed; box-shadow:0 4px 18px rgb(20 32 43 / 3%); }
  .account-withdrawal-page .withdrawal-form-panel > h2 { display:none; }
  .account-withdrawal-page #withdrawalForm { display:grid; gap:24px; min-width:0; }
  .account-withdrawal-page #withdrawalForm .field { margin:0; gap:10px; font-size:13px; }
  .account-withdrawal-page #withdrawalForm .field > span:first-child { color:var(--ink-soft); }
  .account-withdrawal-page #withdrawalForm .withdrawal-amount-input { grid-template-columns:34px minmax(0,1fr); align-items:baseline; border:1px solid #dce3eb; border-radius:14px; background:#f7f9fc; }
  .account-withdrawal-page #withdrawalForm .withdrawal-amount-input > span:first-child { padding:0; justify-self:end; color:var(--ink); font-size:25px; font-weight:600; }
  .account-withdrawal-page #withdrawalForm .withdrawal-amount-input > input { min-width:0; min-height:72px; padding:18px 14px 8px 5px; border:0; border-radius:0; background:transparent; box-shadow:none; font-size:34px; line-height:1.2; font-weight:650; letter-spacing:-.035em; appearance:textfield; }
  .account-withdrawal-page #withdrawalForm .withdrawal-amount-input > input:focus { outline:none; }
  .account-withdrawal-page #withdrawalForm .withdrawal-amount-input > input::placeholder { color:#a3afbd; opacity:1; }
  .account-withdrawal-page #withdrawalForm .withdrawal-amount-input > input::-webkit-inner-spin-button,
  .account-withdrawal-page #withdrawalForm .withdrawal-amount-input > input::-webkit-outer-spin-button { appearance:none; margin:0; }
  .account-withdrawal-page #withdrawalForm .withdrawal-available-balance { padding:0 18px 17px; gap:3px 8px; font-size:12px; font-weight:500; }
  .account-withdrawal-page #withdrawalForm .withdrawal-available-balance strong { font-weight:600; }
  .account-withdrawal-page .withdrawal-address-fieldset { width:100%; margin:0; }
  .account-withdrawal-page .withdrawal-address-fieldset legend { margin-bottom:10px; font-size:13px; font-weight:700; color:var(--ink-soft); }
  .account-withdrawal-page .withdrawal-address-option-card { grid-template-columns:34px minmax(0,1fr) 20px; padding:14px 12px; gap:10px; min-height:82px; border-radius:12px; }
  .account-withdrawal-page .withdrawal-address-option-icon { width:34px; height:34px; border-radius:10px; }
  .account-withdrawal-page .withdrawal-address-option-copy strong { font-size:13px; }
  .account-withdrawal-page .withdrawal-address-option-copy code { font-size:11px; font-weight:500; line-height:1.6; white-space:normal; overflow-wrap:anywhere; direction:ltr; text-align:start; }
  .account-withdrawal-page .withdrawal-address-option-copy small { font-size:10px; font-weight:500; }
  .account-withdrawal-page .withdrawal-address-option-check { width:20px; height:20px; }
  .account-withdrawal-page .withdrawal-address-option > input:checked + .withdrawal-address-option-card { background:#f0f6ff; box-shadow:none; }
  .account-withdrawal-page .withdrawal-address-empty { grid-template-columns:34px minmax(0,1fr); padding:14px 12px; gap:10px; border-radius:12px; }
  .account-withdrawal-page .withdrawal-address-empty a { grid-column:1 / -1; padding:4px 0; white-space:normal; min-height:44px; display:flex; align-items:center; }
  .account-withdrawal-page #withdrawalForm input[type="password"] { min-height:52px; font-size:16px; border-radius:12px; background:#f7f9fc; }
  .account-withdrawal-page #withdrawalForm > .form-feedback { margin:0; font-size:13px; }
  .account-withdrawal-page #withdrawalForm > .form-feedback:empty { display:none; }
  .account-withdrawal-page #withdrawalForm > .button { width:100%; min-height:52px; border-radius:12px; padding:13px 16px; font-size:15px; white-space:normal; }
  .account-withdrawal-page .withdrawal-history-panel { margin-top:28px; padding:0; border:0; background:transparent; box-shadow:none; }
  .account-withdrawal-page .withdrawal-history-panel > h2 { margin:0 0 14px; font-size:18px; }
  .account-withdrawal-page .withdrawal-history-list { gap:0; margin:0; border:1px solid var(--border); border-radius:16px; background:var(--surface); overflow:hidden; }
  .account-withdrawal-page .withdrawal-history-row { grid-template-columns:32px minmax(0,1fr); gap:6px 12px; padding:16px; border:0; border-bottom:1px solid var(--border); border-radius:0; }
  .account-withdrawal-page .withdrawal-history-row:last-child { border-bottom:0; }
  .account-withdrawal-page .withdrawal-history-icon { width:32px; height:32px; border-radius:10px; grid-row:1 / 3; align-self:start; }
  .account-withdrawal-page .withdrawal-history-icon svg { width:18px; height:18px; }
  .account-withdrawal-page .withdrawal-history-copy strong { font-size:13px; white-space:normal; overflow-wrap:anywhere; }
  .account-withdrawal-page .withdrawal-history-copy time { font-size:11px; }
  .account-withdrawal-page .withdrawal-review-badge { grid-column:2; justify-self:start; min-width:0; width:auto; min-height:28px; padding:4px 9px; gap:5px; white-space:normal; font-size:11px; }
  .account-withdrawal-page .withdrawal-review-badge svg { width:13px; height:13px; flex-shrink:0; }
  .account-withdrawal-page .withdrawal-history-panel .empty-state { padding:24px 16px; border:1px dashed var(--border-strong); border-radius:14px; }
  .account-withdrawal-page .withdrawal-history-panel .empty-state h2 { margin:0 0 6px; font-size:15px; }
  .account-withdrawal-page .withdrawal-history-panel .empty-state p { margin:0; font-size:12px; line-height:1.7; }
  .account-withdrawal-page .withdrawal-guidance { grid-template-columns:24px minmax(0,1fr); margin-top:24px; padding:20px 0 0; border:0; border-top:1px solid var(--border); border-radius:0; background:transparent; gap:8px 12px; box-shadow:none; align-items:start; }
  .account-withdrawal-page .withdrawal-guidance-icon { width:24px; height:24px; background:transparent; border-radius:0; }
  .account-withdrawal-page .withdrawal-guidance-icon svg { width:22px; height:22px; }
  .account-withdrawal-page .withdrawal-guidance h2 { margin:0 0 6px; font-size:14px; }
  .account-withdrawal-page .withdrawal-guidance p { font-size:12px; line-height:1.7; }
  .account-withdrawal-page .withdrawal-guidance .button { grid-column:2; justify-self:start; width:auto; min-height:44px; padding:8px 0; background:none; border:0; box-shadow:none; color:var(--primary); font-size:12px; text-align:start; white-space:normal; }
}
@media (max-width:360px) {
  .account-withdrawal-page .withdrawal-form-panel { padding:20px 14px; }
  .account-withdrawal-page #withdrawalForm .withdrawal-amount-input > input { font-size:30px; }
  .account-withdrawal-page .withdrawal-address-option-card { grid-template-columns:28px minmax(0,1fr) 20px; gap:8px; padding:12px 10px; }
  .account-withdrawal-page .withdrawal-address-option-icon { width:28px; height:28px; }
}

/* Compact amount field: secondary balance stays inside the same row. */
.account-withdrawal-page #withdrawalForm .withdrawal-amount-input {
  display:grid; grid-template-columns:24px minmax(0,1fr) minmax(0,42%);
  align-items:center; min-height:56px; border:1px solid #dce3eb;
  border-radius:12px; background:#fff;
}
.account-withdrawal-page #withdrawalForm .withdrawal-amount-input > span:first-child {
  padding:0; justify-self:end; color:#647483; font-size:18px; font-weight:500;
}
.account-withdrawal-page #withdrawalForm .withdrawal-amount-input > input {
  width:100%; min-width:0; min-height:54px; padding:0 8px 0 5px;
  border:0; border-radius:0; background:transparent; box-shadow:none;
  font-size:20px; line-height:1.35; font-weight:600; letter-spacing:0; appearance:textfield;
}
.account-withdrawal-page #withdrawalForm .withdrawal-amount-input > input:focus { outline:none; }
.account-withdrawal-page #withdrawalForm .withdrawal-amount-input > input::placeholder { color:#a5afba; opacity:1; }
.account-withdrawal-page #withdrawalForm .withdrawal-available-balance {
  grid-column:3; grid-row:1; display:grid; align-content:center; justify-items:end;
  gap:1px; min-width:0; padding:8px 12px 8px 0; color:#8995a2;
  font-size:10px; line-height:1.4; font-weight:400; text-align:end;
}
.account-withdrawal-page #withdrawalForm .withdrawal-available-balance strong {
  max-width:100%; color:#788694; font-size:11px; line-height:1.4; font-weight:500;
  overflow-wrap:anywhere;
}
[dir="rtl"] .account-withdrawal-page #withdrawalForm .withdrawal-available-balance { padding:8px 0 8px 12px; }

/* Keep app chrome stationary and suppress document pull-to-refresh. */
html, body { overscroll-behavior-y:none; }
@media (min-width:761px) {
  .app-shell { padding-top:73px; }
  .site-header { position:fixed; inset:0 0 auto; width:100%; z-index:1000; }
}

/* App download: a quiet entry beside primary tasks, with the supplied badge. */
.app-download { display:flex; align-items:center; justify-content:space-between; gap:22px; min-width:0; }
.app-download-copy { display:flex; align-items:center; gap:13px; min-width:0; }
.app-download-copy > img { flex:none; width:42px; height:42px; object-fit:contain; }
.app-download-copy h2 { margin:0 0 5px; font-size:15px; font-weight:700; line-height:1.45; letter-spacing:-.02em; }
.app-download-copy p { margin:0; font-size:12px; line-height:1.65; }
.app-download-link { display:flex; flex-direction:column; align-items:center; flex:none; gap:5px; border-radius:10px; }
.app-download-link > img { display:block; width:168px; height:auto; border-radius:10px; }
.app-download-link > span { display:flex; align-items:center; justify-content:center; gap:4px; font-size:11px; font-weight:650; line-height:1.5; }
.app-download-link svg { width:13px; height:13px; }
.app-download-home { max-width:530px; margin:26px 0 0; padding:18px 0 0; border-top:1px solid rgb(255 255 255 / 17%); color:#fff; }
.app-download-home .app-download-copy p { color:#bdc4d8; }
.app-download-home .app-download-copy > img { display:none; }
.app-download-account { margin:22px 0 26px; padding:16px 20px; border:1px solid #dfe5ee; border-radius:15px; background:#fff; color:var(--ink); }
.app-download-account .app-download-copy p { color:var(--muted); }
.app-download-account .app-download-link > span { color:var(--primary); }
@media(max-width:600px) {
 .app-download { flex-direction:column; align-items:flex-start; gap:14px; }
 .app-download-home { margin-top:23px; padding-top:18px; }
 .app-download-copy h2 { font-size:14px; }.app-download-copy p { font-size:11px; }
 .app-download-link { flex-direction:row; gap:14px; max-width:100%; }
 .app-download-link > img { width:148px; }.app-download-link > span { flex:1; text-align:start; }
 .app-download-account { padding:18px; }
 .app-download-account .app-download-copy > img { width:36px; height:36px; }
}
