/* ==========================================================================
   PLIXWIN – account UI (login page, profile panel, account center, toasts)
   Dark surfaces, grey structure, gold only as the accent.
   ========================================================================== */
:root {
  --pa-bg: #010E15;
  --pa-card: #051822;
  --pa-card-2: #081E29;
  --pa-field: #021119;
  --pa-line: #0E2B39;
  --pa-line-2: #163546;
  --pa-text: #E0EAEF;
  --pa-text-2: #B9CCD8;
  --pa-muted: #7494A8;
  --pa-gold: #12C78B;
  --pa-gold-grad: linear-gradient(120deg, #7CEFC6 0%, #31DBA3 48%, #01B276 100%);
  --pa-green: #00C482;
  --pa-red: #FF6B6B;
  --pa-radius: 16px;
  --pa-ease: cubic-bezier(.22, .8, .24, 1);
  --pa-font: 'Onest', 'Plus Jakarta Sans', system-ui, sans-serif;
}
html.pxa-lock, html.pxa-lock body { overflow: hidden; }
.px-ic-svg { width: 18px; height: 18px; flex-shrink: 0; fill: none; }
.pxa-overlay, .pxa-panel, .pxa-toasts, .header-notifications { font-family: var(--pa-font); }
.pxa-overlay *, .pxa-panel * { box-sizing: border-box; }
.pxa-overlay button, .pxa-panel button, .pxa-overlay input, .pxa-overlay select { font-family: inherit; }

/* ---------------- avatar ---------------- */
.px-avatar { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--pa-gold-grad); color: #021119; font-weight: 800; font-size: 14px; line-height: 1; box-shadow: inset 0 1px 0 #FFFFFF66, 0 0 0 2px #010E15; flex-shrink: 0; }
.px-avatar.is-xl { width: 76px; height: 76px; font-size: 32px; box-shadow: inset 0 2px 0 #FFFFFF66, 0 0 0 4px #051822, 0 10px 30px -8px rgba(18, 199, 139, .5); }
.px-avatar.sm { width: 26px; height: 26px; font-size: 12px; }
#userProfilePill .px-avatar.user-avatar-circle { width: 30px; height: 30px; }

/* ---------------- overlay shell ---------------- */
.pxa-overlay { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 16px; background: rgba(5, 5, 8, .72); opacity: 0; transition: opacity .22s ease; }
.pxa-overlay.is-open { opacity: 1; }
.pxa-overlay[hidden] { display: none; }
.pxa-overlay > div { transform: translateY(14px) scale(.985); transition: transform .28s var(--pa-ease); }
.pxa-overlay.is-open > div { transform: none; }
.pxa-x { position: absolute; top: 14px; right: 14px; z-index: 2; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; border: 1px solid var(--pa-line); background: var(--pa-card-2); color: var(--pa-text-2); cursor: pointer; }
.pxa-x:hover { color: var(--pa-text); border-color: var(--pa-line-2); }
.pxa-x .px-ic-svg { width: 16px; height: 16px; }

/* ---------------- buttons & fields ---------------- */
.pxa-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid transparent; font-size: 14px; font-weight: 700; cursor: pointer; transition: filter .15s ease, background-color .15s ease, border-color .15s ease, transform .1s ease; text-decoration: none; }
.pxa-btn:active:not(:disabled) { transform: translateY(1px); }
.pxa-btn:disabled { opacity: .55; cursor: not-allowed; }
.pxa-btn.is-busy { position: relative; color: transparent !important; }
.pxa-btn.is-busy::after { content: ''; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(2, 17, 25, .35); border-top-color: #021119; animation: pxaSpin .7s linear infinite; }
.pxa-btn-ghost.is-busy::after, .pxa-link.is-busy::after { border-color: #FFFFFF33; border-top-color: #FFFFFF; }
@keyframes pxaSpin { to { transform: rotate(360deg); } }
.pxa-btn-gold { background: var(--pa-gold-grad); color: #021119; box-shadow: inset 0 1px 0 #E4ECF177, 0 10px 24px -14px rgba(18, 199, 139, .8); }
.pxa-btn-gold:hover:not(:disabled) { filter: brightness(1.06); }
.pxa-btn-ghost { background: var(--pa-card-2); border-color: var(--pa-line); color: var(--pa-text); }
.pxa-btn-ghost:hover:not(:disabled) { border-color: var(--pa-line-2); background: #0B2532; }
.pxa-btn-danger { background: #3A1719; border-color: #5C2226; color: #FF7B7B; min-width: 48px; padding: 0 12px; }
.pxa-btn-danger:hover { background: #4A1B1E; }
.pxa-btn-danger-soft { background: #2A1517; border-color: #4A2226; color: #FF8A8A; }
.pxa-btn-google { background: #FFFFFF; color: #081F2A; }
.pxa-btn-block { width: 100%; }
.pxa-btn .px-ic-svg { width: 18px; height: 18px; }
.pxa-link { background: none; border: 0; padding: 4px 0; color: var(--pa-gold); font-weight: 600; font-size: 13px; cursor: pointer; }
.pxa-link:hover { text-decoration: underline; }

.pxa-form { display: flex; flex-direction: column; gap: 14px; }
.pxa-form[hidden] { display: none; }
.pxa-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.pxa-field > span { font-size: 12.5px; font-weight: 600; color: var(--pa-text-2); }
.pxa-input { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--pa-line); background: var(--pa-field); transition: border-color .15s ease, box-shadow .15s ease; }
.pxa-input:focus-within { border-color: #00AD72; box-shadow: 0 0 0 3px rgba(18, 199, 139, .14); }
.pxa-input > .px-ic-svg { color: var(--pa-muted); width: 17px; height: 17px; }
.pxa-input input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: var(--pa-text); font-size: 15px; }
.pxa-input input::placeholder, .pxa-code::placeholder { color: #4E7B93; }
.pxa-input input[type=number] { -moz-appearance: textfield; }
.pxa-input input::-webkit-outer-spin-button, .pxa-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pxa-sym { color: var(--pa-gold); font-weight: 800; }
.pxa-field select { height: 48px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--pa-line); background: var(--pa-field); color: var(--pa-text); font-size: 15px; outline: 0; }
.pxa-field select:focus { border-color: #00AD72; }
.pxa-eye, .pxa-max { flex-shrink: 0; display: grid; place-items: center; background: none; border: 0; color: var(--pa-muted); cursor: pointer; padding: 4px; }
.pxa-max { font-size: 12px; font-weight: 800; color: var(--pa-gold); border: 1px solid #004B32; border-radius: 8px; padding: 4px 9px; }
.pxa-code { height: 52px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--pa-line); background: var(--pa-field); color: var(--pa-text); font-size: 26px; font-weight: 700; letter-spacing: .5em; text-align: center; outline: 0; font-variant-numeric: tabular-nums; width: 100%; }
.pxa-code.sm { height: 46px; font-size: 20px; letter-spacing: .4em; max-width: 240px; }
.pxa-code:focus { border-color: #00AD72; box-shadow: 0 0 0 3px rgba(18, 199, 139, .14); }
.pxa-hint { margin: 0; font-size: 12px; color: var(--pa-muted); line-height: 1.5; }
.pxa-muted { color: var(--pa-muted); font-size: 13px; margin: 0 0 10px; }
.pxa-form-error { margin: 0; padding: 10px 12px; border-radius: 10px; background: #2A1517; border: 1px solid #4A2226; color: #D2DFE6; font-size: 13px; line-height: 1.45; }
.pxa-form-error.is-confirm { background: #081F2A; border-color: #004B32; color: #49E1AE; }
.pxa-form-error[hidden] { display: none; }
.pxa-check { display: flex; align-items: flex-start; gap: 10px; font-size: 12.5px; color: var(--pa-text-2); line-height: 1.5; cursor: pointer; }
.pxa-check input { width: 18px; height: 18px; margin-top: 1px; accent-color: #0ABD81; flex-shrink: 0; }
.pxa-check a { color: var(--pa-gold); }
.pxa-row2 { display: grid; grid-template-columns: 130px 1fr; gap: 12px; }
.pxa-strength { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 2px; }
.pxa-strength i { height: 4px; border-radius: 3px; background: #0E2B39; transition: background .2s ease; }
.pxa-strength[data-score="1"] i:nth-child(-n+1) { background: #FF6B6B; }
.pxa-strength[data-score="2"] i:nth-child(-n+2) { background: #09BC80; }
.pxa-strength[data-score="3"] i:nth-child(-n+3) { background: #12C78B; }
.pxa-strength[data-score="4"] i { background: var(--pa-green); }

/* ---------------- login / sign-up page ---------------- */
.pxa-auth-card { position: relative; display: grid; grid-template-columns: 340px minmax(0, 1fr); width: min(880px, 100%); max-height: min(760px, calc(100dvh - 32px)); border-radius: 22px; overflow: hidden; background: var(--pa-card); border: 1px solid var(--pa-line); box-shadow: 0 40px 100px -30px rgba(0, 7, 11, .8); }
.pxa-auth-art { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 30px 28px; color: #DEE8EE; overflow: hidden;
  background: radial-gradient(120% 70% at 0% 0%, rgba(124, 239, 198, .22), transparent 60%), radial-gradient(90% 60% at 100% 100%, rgba(1, 178, 118, .25), transparent 60%), linear-gradient(160deg, #061923 0%, #021119 55%, #021119 100%); }
.pxa-auth-art::after { content: ''; position: absolute; right: -90px; top: 38%; width: 280px; height: 280px; border-radius: 50%; border: 1px solid rgba(18, 199, 139, .18); box-shadow: 0 0 0 40px rgba(18, 199, 139, .04), 0 0 0 80px rgba(18, 199, 139, .025); pointer-events: none; }
.pxa-auth-logo { width: 128px; height: auto; }
.pxa-eyebrow { margin: 0 0 8px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--pa-gold); }
.pxa-auth-art h2 { margin: 0 0 22px; font-size: 32px; line-height: 1.08; font-weight: 800; letter-spacing: -.02em; color: #EEF3F6; }
.pxa-auth-art ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pxa-auth-art li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #75EDC3; }
.pxa-auth-art li .px-ic-svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: rgba(18, 199, 139, .16); color: var(--pa-gold); }
.pxa-auth-18 { margin: 0; font-size: 12px; color: #00AF73; } .pxa-auth-18 b { display: inline-grid; place-items: center; width: 28px; height: 20px; margin-right: 6px; border: 1px solid #00734D; border-radius: 6px; color: var(--pa-gold); font-size: 11px; }
.pxa-auth-main { position: relative; padding: 28px 30px 24px; overflow-y: auto; overscroll-behavior: contain; }
.pxa-auth-tabs { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 20px; border-radius: 13px; background: var(--pa-field); border: 1px solid var(--pa-line); }
.pxa-auth-tabs[hidden] { display: none; }
.pxa-auth-tabs button { min-width: 108px; height: 38px; border: 0; border-radius: 10px; background: transparent; color: var(--pa-text-2); font-weight: 700; font-size: 14px; cursor: pointer; }
.pxa-auth-tabs button.is-active { background: var(--pa-gold-grad); color: #021119; }
.pxa-auth-title { margin: 0 0 4px; font-size: 24px; font-weight: 800; color: var(--pa-text); letter-spacing: -.01em; }
.pxa-auth-sub { margin: 0 0 20px; font-size: 14px; color: var(--pa-muted); }
.pxa-or { display: flex; align-items: center; gap: 12px; margin: 18px 0 14px; color: var(--pa-muted); font-size: 12px; }
.pxa-or::before, .pxa-or::after { content: ''; flex: 1; height: 1px; background: var(--pa-line); }
.pxa-or[hidden], .pxa-google[hidden] { display: none; }
.pxa-google { display: flex; flex-direction: column; align-items: center; gap: 8px; min-height: 44px; }
.pxa-google > div { display: flex; justify-content: center; width: 100%; color-scheme: normal; }
.pxa-google > div:empty { display: none; }
.pxa-btn-google[hidden] { display: none; }
.pxa-auth-secure { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 16px 0 0; font-size: 11.5px; color: #608BA3; }
.pxa-auth-secure .px-ic-svg { width: 13px; height: 13px; }
.pxa-2fa-badge { width: 64px; height: 64px; margin: 0 auto 4px; display: grid; place-items: center; border-radius: 20px; background: rgba(18, 199, 139, .12); color: var(--pa-gold); --nav-icon-stroke: var(--pa-gold); }
.pxa-2fa-badge .px-ic-svg { width: 34px; height: 34px; }

/* ---------------- profile panel ---------------- */
.pxa-panel { position: fixed; z-index: 320; top: 80px; right: 16px; width: 372px; max-height: calc(100dvh - 96px); overflow-y: auto; overscroll-behavior: contain; padding: 0 14px 14px; border-radius: 20px; background: #061923; border: 1px solid var(--pa-line); box-shadow: 0 30px 80px -20px rgba(0, 7, 11, .85); color: var(--pa-text); transform-origin: top right; opacity: 0; transform: translateY(-8px) scale(.98); transition: opacity .18s ease, transform .22s var(--pa-ease); scrollbar-width: thin; scrollbar-color: #112E3D transparent; }
.pxa-panel.is-open { opacity: 1; transform: none; }
.pxa-panel[hidden] { display: none; }
.pxa-panel-scrim { display: none; }
.pxa-p-cover { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 0 -14px 12px; padding: 26px 14px 16px; text-align: center; border-radius: 20px 20px 0 0;
  background: radial-gradient(90% 90% at 50% -10%, rgba(18, 199, 139, .28), transparent 62%), linear-gradient(180deg, #061A25, #061923); }
.pxa-p-cover strong { margin-top: 6px; font-size: 18px; font-weight: 800; color: #49E1AE; }
.pxa-p-cover small { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--pa-muted); --nav-icon-stroke: var(--pa-green); --nav-icon-accent: var(--pa-green); }
.pxa-p-cover small .px-ic-svg { width: 14px; height: 14px; }
.pxa-p-balance { position: relative; padding: 14px; border-radius: 16px; background: var(--pa-card-2); border: 1px solid var(--pa-line); }
.pxa-p-label { font-size: 13px; color: var(--pa-muted); }
.pxa-p-amount { display: flex; align-items: center; gap: 8px; margin: 6px 0 14px; }
.pxa-p-eye { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; border: 0; background: transparent; color: var(--pa-text-2); cursor: pointer; }
.pxa-p-eye:hover { background: #0C2734; }
.pxa-p-eye .px-ic-svg { width: 20px; height: 20px; }
.pxa-p-cur { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 4px 8px; border: 0; border-radius: 10px; background: transparent; color: var(--pa-text); cursor: pointer; }
.pxa-p-cur:hover { background: #0C2734; }
.pxa-p-cur b { font-size: 24px; font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pxa-p-code { font-size: 12px; font-weight: 700; color: var(--pa-gold); padding: 2px 7px; border-radius: 6px; background: rgba(18, 199, 139, .12); }
.pxa-caret { width: 18px; height: 18px; fill: none; stroke: var(--pa-text-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.pxa-p-cur[aria-expanded="true"] .pxa-caret { transform: rotate(180deg); }
.pxa-p-curlist { display: grid; gap: 4px; margin: -6px 0 14px; padding: 6px; border-radius: 13px; background: var(--pa-field); border: 1px solid var(--pa-line); animation: pxaDrop .18s var(--pa-ease); }
.pxa-p-curlist[hidden] { display: none; }
@keyframes pxaDrop { from { opacity: 0; transform: translateY(-4px); } }
.pxa-p-curlist button { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: var(--pa-text); cursor: pointer; text-align: left; }
.pxa-p-curlist button:hover { background: #09202C; }
.pxa-p-curlist button.is-on { border-color: #004B32; background: rgba(18, 199, 139, .08); }
.pxa-p-curlist button span:nth-child(2) { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.pxa-p-curlist b { font-size: 13.5px; } .pxa-p-curlist small { font-size: 11.5px; color: var(--pa-muted); }
.pxa-p-curlist em { font-style: normal; font-weight: 700; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.pxa-flag { display: inline-grid; place-items: center; width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; background: #0C2835; border: 1px solid #183849; color: var(--pa-gold); font-weight: 800; font-size: 14px; }
.pxa-p-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pxa-p-act { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0 0 2px; border: 0; background: none; color: var(--pa-text-2); font-size: 13px; font-weight: 600; cursor: pointer; }
.pxa-p-act span { display: grid; place-items: center; width: 100%; height: 48px; border-radius: 13px; background: #0C2734; border: 1px solid #133141; color: #D5E1E8; transition: background .15s ease, border-color .15s ease; }
.pxa-p-act:hover span { background: #102D3B; border-color: #224559; }
.pxa-p-act .px-ic-svg { width: 22px; height: 22px; }
.pxa-p-act.is-deposit span { background: #16301F; border-color: #214A30; color: var(--pa-green); }
.pxa-p-act.is-deposit:hover span { background: #1A3A25; }
.pxa-p-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.pxa-p-item { position: relative; display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--pa-line); background: var(--pa-card-2); color: var(--pa-text); font-size: 14px; font-weight: 600; text-align: left; cursor: pointer; line-height: 1.25; --nav-icon-stroke: #A4BDCB; --nav-icon-accent: var(--pa-gold); transition: border-color .15s ease, background .15s ease; }
.pxa-p-item:hover { border-color: var(--pa-line-2); background: #0A2330; --nav-icon-stroke: #E0EAEF; }
.pxa-p-item .px-ic-svg { width: 21px; height: 21px; }
.pxa-dot { position: absolute; top: 8px; right: 8px; min-width: 18px; height: 18px; padding: 0 5px; display: grid; place-items: center; border-radius: 9px; background: var(--pa-gold); color: #021119; font-size: 10.5px; font-weight: 800; font-style: normal; }
.pxa-p-foot { display: flex; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--pa-line); }
.pxa-p-foot .pxa-btn-ghost { flex: 1; justify-content: flex-start; --nav-icon-stroke: #A4BDCB; --nav-icon-accent: var(--pa-gold); }

/* ---------------- account center ---------------- */
.pxa-acc-card { position: relative; display: grid; grid-template-columns: 216px minmax(0, 1fr); grid-template-rows: auto 1fr; width: min(980px, 100%); height: min(760px, calc(100dvh - 32px)); border-radius: 22px; overflow: hidden; background: var(--pa-card); border: 1px solid var(--pa-line); box-shadow: 0 40px 100px -30px rgba(0, 7, 11, .8); color: var(--pa-text); }
.pxa-acc-head { grid-column: 1 / -1; display: flex; align-items: center; min-height: 68px; padding: 12px 64px 12px 20px; border-bottom: 1px solid var(--pa-line); background: linear-gradient(90deg, rgba(18, 199, 139, .08), transparent 40%); }
.pxa-acc-head .pxa-x { top: 16px; }
.pxa-acc-user { display: flex; align-items: center; gap: 12px; }
.pxa-acc-user strong { display: block; font-size: 16px; font-weight: 800; }
.pxa-acc-user small { font-size: 12.5px; color: var(--pa-muted); font-variant-numeric: tabular-nums; }
.pxa-acc-tabs { display: flex; flex-direction: column; gap: 4px; padding: 14px 12px; border-right: 1px solid var(--pa-line); background: #04151E; overflow-y: auto; }
.pxa-acc-tabs button { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; border: 0; border-radius: 11px; background: transparent; color: var(--pa-text-2); font-size: 14px; font-weight: 600; cursor: pointer; text-align: left; white-space: nowrap; --nav-icon-stroke: #7494A8; --nav-icon-accent: #00A16B; }
.pxa-acc-tabs button .px-ic-svg { width: 20px; height: 20px; color: #7494A8; }
.pxa-acc-tabs button:hover { background: #081F2A; color: var(--pa-text); }
.pxa-acc-tabs button.is-active { background: rgba(18, 199, 139, .12); color: var(--pa-gold); --nav-icon-stroke: var(--pa-gold); --nav-icon-accent: #49E1AE; }
.pxa-acc-tabs button.is-active .px-ic-svg { color: var(--pa-gold); }
.pxa-acc-body { padding: 22px 24px 32px; overflow-y: auto; overscroll-behavior: contain; outline: 0; scrollbar-width: thin; scrollbar-color: #112E3D transparent; }
.pxa-sec { margin-bottom: 22px; }
.pxa-sec > h4 { margin: 0 0 12px; font-size: 15px; font-weight: 800; color: var(--pa-text); }
.pxa-card { padding: 18px; border-radius: 16px; background: var(--pa-card-2); border: 1px solid var(--pa-line); }
.pxa-loading { display: flex; justify-content: center; gap: 6px; padding: 48px 0; }
.pxa-loading span { width: 8px; height: 8px; border-radius: 50%; background: var(--pa-gold); animation: pxaBounce 1s ease-in-out infinite; }
.pxa-loading span:nth-child(2) { animation-delay: .15s; } .pxa-loading span:nth-child(3) { animation-delay: .3s; }
@keyframes pxaBounce { 0%, 80%, 100% { opacity: .25; transform: scale(.8); } 40% { opacity: 1; transform: none; } }
.pxa-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 40px 16px; text-align: center; color: var(--pa-muted); font-size: 14px; --nav-icon-stroke: #4E7B93; --nav-icon-accent: #00885B; }
.pxa-empty .px-ic-svg { width: 36px; height: 36px; }
.pxa-empty p { margin: 0; max-width: 320px; line-height: 1.5; }
.pxa-empty.is-error { color: #D2DFE6; }
.pxa-seg { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 16px; border-radius: 13px; background: var(--pa-field); border: 1px solid var(--pa-line); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.pxa-seg::-webkit-scrollbar { display: none; }
.pxa-seg button { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px; border: 0; border-radius: 10px; background: transparent; color: var(--pa-text-2); font-weight: 700; font-size: 14px; cursor: pointer; white-space: nowrap; }
.pxa-seg button .px-ic-svg { width: 17px; height: 17px; }
.pxa-seg button.is-active { background: #0E2B39; color: var(--pa-text); box-shadow: inset 0 1px 0 #FFFFFF12; }
.pxa-curchips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
.pxa-curchip { position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 13px; border: 1px solid var(--pa-line); background: var(--pa-card-2); cursor: pointer; min-width: 0; }
.pxa-curchip input { position: absolute; opacity: 0; pointer-events: none; }
.pxa-curchip span:last-child { display: flex; flex-direction: column; min-width: 0; }
.pxa-curchip b { font-size: 13px; } .pxa-curchip small { font-size: 12px; color: var(--pa-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.pxa-curchip.is-on { border-color: #00AD72; background: rgba(18, 199, 139, .08); box-shadow: 0 0 0 3px rgba(18, 199, 139, .1); }
.pxa-curchip:focus-within { outline: 2px solid #00AD72; outline-offset: 2px; }
.pxa-methods { display: flex; gap: 8px; margin-bottom: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.pxa-methods::-webkit-scrollbar { display: none; }
.pxa-method { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 150px; padding: 12px 14px; border-radius: 13px; border: 1px solid var(--pa-line); background: var(--pa-card-2); color: var(--pa-text); cursor: pointer; text-align: left; }
.pxa-method b { font-size: 14px; } .pxa-method small { font-size: 12px; color: var(--pa-muted); }
.pxa-method.is-on { border-color: #00AD72; background: rgba(18, 199, 139, .08); }
.pxa-quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: -4px; }
.pxa-quick button { height: 34px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--pa-line); background: #0A2330; color: var(--pa-text-2); font-weight: 700; font-size: 13px; cursor: pointer; }
.pxa-quick button:hover { border-color: #004B32; color: var(--pa-gold); }
.pxa-payto-box { display: flex; gap: 16px; align-items: flex-start; padding: 14px; border-radius: 14px; background: var(--pa-field); border: 1px dashed #224559; }
.pxa-qr { flex-shrink: 0; width: 124px; height: 124px; padding: 6px; border-radius: 12px; background: #FFFFFF; display: grid; place-items: center; }
.pxa-qr svg { width: 100%; height: 100%; display: block; }
.pxa-qr .pxa-muted { color: #3E6B84; font-size: 11px; text-align: center; margin: 0; }
.pxa-qr.is-lg { width: 168px; height: 168px; }
.pxa-payto-info { min-width: 0; flex: 1; }
.pxa-payto-info small { display: block; margin-bottom: 6px; font-size: 12px; color: var(--pa-muted); }
.pxa-payto-info p { margin: 8px 0 0; font-size: 12.5px; color: var(--pa-text-2); line-height: 1.5; }
.pxa-warn { color: #28D89E !important; }
.pxa-addr { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 6px 6px 6px 12px; border-radius: 11px; background: #000D14; border: 1px solid var(--pa-line); }
.pxa-addr code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace; font-size: 13px; color: #8FF1CE; }
.pxa-addr.is-lg code { font-size: 14px; }
.pxa-copy { flex-shrink: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; border: 1px solid #224559; background: #0A2330; color: var(--pa-text-2); cursor: pointer; }
.pxa-copy:hover { color: var(--pa-gold); border-color: #004B32; }
.pxa-copy.is-copied { color: var(--pa-green); border-color: #214A30; }
.pxa-note { display: flex; gap: 12px; padding: 16px; border-radius: 14px; background: var(--pa-card-2); border: 1px solid var(--pa-line); --nav-icon-stroke: var(--pa-gold); }
.pxa-note .px-ic-svg { width: 24px; height: 24px; }
.pxa-note p { margin: 4px 0 0; font-size: 13.5px; color: var(--pa-text-2); line-height: 1.5; }
.pxa-pending:empty { display: none; }

/* bets / transactions */
.pxa-filter { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.pxa-filter button { height: 34px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--pa-line); background: var(--pa-card-2); color: var(--pa-text-2); font-weight: 700; font-size: 13px; cursor: pointer; }
.pxa-filter button.is-on { border-color: #00AD72; color: var(--pa-gold); background: rgba(18, 199, 139, .08); }
.pxa-table { border-radius: 14px; border: 1px solid var(--pa-line); overflow: hidden; }
.pxa-tr { display: grid; grid-template-columns: minmax(0, 2.2fr) 1.1fr 1fr .8fr 1.1fr; align-items: center; gap: 10px; min-height: 52px; padding: 8px 14px; border-bottom: 1px solid #0A232F; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.pxa-tbody .pxa-tr:nth-child(odd) { background: #061A25; }
.pxa-tr:last-child { border-bottom: 0; }
.pxa-th { min-height: 40px; background: #04151E; color: var(--pa-muted); font-size: 12px; font-weight: 700; }
.pxa-tr > span:nth-child(n+3) { text-align: right; }
.pxa-th > span:nth-child(n+3) { text-align: right; }
.pxa-game { display: flex; flex-direction: column; min-width: 0; }
.pxa-game button, .pxa-game b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; background: none; border: 0; padding: 0; color: var(--pa-text); font-weight: 700; font-size: 13.5px; text-align: left; cursor: pointer; }
.pxa-game button:hover { color: var(--pa-gold); }
.pxa-game small { font-size: 11.5px; color: var(--pa-muted); }
.pxa-time { color: var(--pa-muted); font-size: 12.5px; }
.pxa-mult { color: var(--pa-text-2); }
.is-win { color: var(--pa-green) !important; } .is-loss { color: #B9CCD8; }
.pxa-tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 7px; background: #0E2B39; color: var(--pa-text-2); font-size: 11.5px; font-weight: 700; font-style: normal; }
.pxa-tag.is-ok { background: #16301F; color: var(--pa-green); }
.pxa-tag.is-gold { background: rgba(18, 199, 139, .14); color: var(--pa-gold); }
.pxa-more { display: flex; justify-content: center; margin-top: 14px; }
.pxa-more[hidden] { display: none; }
.pxa-txlist { display: grid; gap: 8px; }
.pxa-tx { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--pa-card-2); border: 1px solid var(--pa-line); }
.pxa-tx-ic { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; background: #0C2734; color: var(--pa-text-2); --nav-icon-stroke: #B9CCD8; --nav-icon-accent: var(--pa-gold); }
.pxa-tx-ic.is-deposit, .pxa-tx-ic.is-transfer_in, .pxa-tx-ic.is-affiliate, .pxa-tx-ic.is-bonus { background: #16301F; color: var(--pa-green); --nav-icon-stroke: var(--pa-green); }
.pxa-tx-ic.is-withdrawal { background: rgba(18, 199, 139, .1); color: var(--pa-gold); }
.pxa-tx-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pxa-tx-main b { font-size: 14px; } .pxa-tx-main small { font-size: 12px; color: var(--pa-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pxa-tx-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-variant-numeric: tabular-nums; }
.pxa-status { font-style: normal; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 2px 7px; border-radius: 6px; background: #0E2B39; color: var(--pa-text-2); }
.pxa-status.is-pending { background: rgba(18, 199, 139, .14); color: var(--pa-gold); }
.pxa-status.is-completed { background: #16301F; color: var(--pa-green); }
.pxa-status.is-rejected { background: #2A1517; color: #FF8A8A; }

/* affiliate */
.pxa-aff-hero { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; padding: 22px; border-radius: 18px; border: 1px solid #003A27;
  background: radial-gradient(100% 120% at 100% 0%, rgba(18, 199, 139, .22), transparent 55%), linear-gradient(135deg, #061923, #061923 70%); }
.pxa-aff-hero h3 { margin: 0 0 8px; font-size: 26px; font-weight: 800; color: #E3ECF1; }
.pxa-aff-hero p:not(.pxa-eyebrow) { margin: 0; max-width: 480px; font-size: 14px; color: var(--pa-text-2); line-height: 1.55; }
.pxa-aff-badge { flex-shrink: 0; display: grid; place-items: center; width: 116px; height: 116px; border-radius: 50%; background: var(--pa-gold-grad); color: #021119; text-align: center; box-shadow: 0 0 0 8px rgba(18, 199, 139, .1), 0 16px 40px -12px rgba(18, 199, 139, .6); }
.pxa-aff-badge b { font-size: 34px; font-weight: 900; line-height: 1; } .pxa-aff-badge small { display: block; font-size: 11px; font-weight: 700; margin-top: -18px; }
.pxa-aff-code { display: flex; align-items: center; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.pxa-aff-code > span { font-size: 12.5px; color: var(--pa-muted); }
.pxa-aff-code .pxa-addr { flex: 0 1 220px; }
.pxa-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 22px; }
.pxa-kpis > div { padding: 14px; border-radius: 14px; background: var(--pa-card-2); border: 1px solid var(--pa-line); min-width: 0; }
.pxa-kpis small { display: block; font-size: 12px; color: var(--pa-muted); margin-bottom: 6px; }
.pxa-kpis b { font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.pxa-aff-cur { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pxa-aff-card { padding: 14px; border-radius: 14px; background: var(--pa-card-2); border: 1px solid var(--pa-line); }
.pxa-aff-card header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.pxa-aff-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin: 0 0 12px; }
.pxa-aff-card dt { font-size: 11.5px; color: var(--pa-muted); } .pxa-aff-card dd { margin: 2px 0 0; font-weight: 700; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.pxa-reflist { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.pxa-reflist > div { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--pa-card-2); border: 1px solid var(--pa-line); }
.pxa-reflist b { font-size: 13.5px; } .pxa-reflist small { margin-left: auto; font-size: 11.5px; color: var(--pa-muted); }
.pxa-steps { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 14px; color: var(--pa-text-2); line-height: 1.5; }
.pxa-steps b { color: var(--pa-text); }

/* settings */
.pxa-s[hidden] { display: none; }
.pxa-s .pxa-form { max-width: 440px; }
.pxa-dl { margin: 0; border-radius: 14px; border: 1px solid var(--pa-line); overflow: hidden; }
.pxa-dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 16px; border-bottom: 1px solid #0A232F; font-size: 14px; }
.pxa-dl > div:last-child { border-bottom: 0; }
.pxa-dl dt { color: var(--pa-muted); } .pxa-dl dd { margin: 0; text-align: right; font-weight: 600; overflow-wrap: anywhere; }
.pxa-2fa { padding: 18px; border-radius: 16px; background: var(--pa-card-2); border: 1px solid var(--pa-line); }
.pxa-2fa.is-on { border-color: #214A30; }
.pxa-2fa-state { display: flex; gap: 12px; margin-bottom: 16px; --nav-icon-stroke: var(--pa-muted); --nav-icon-accent: var(--pa-muted); }
.pxa-2fa.is-on .pxa-2fa-state { --nav-icon-stroke: var(--pa-green); --nav-icon-accent: var(--pa-green); }
.pxa-2fa-state .px-ic-svg { width: 30px; height: 30px; }
.pxa-2fa-state b { font-size: 15px; } .pxa-2fa-state p { margin: 3px 0 0; font-size: 13px; color: var(--pa-text-2); }
.pxa-2fa-setup { display: flex; gap: 18px; align-items: flex-start; margin-top: 14px; }
.pxa-2fa-setup > div:last-child { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.pxa-2fa-setup small { font-size: 12px; color: var(--pa-muted); }
.pxa-logins { display: grid; gap: 8px; }
.pxa-logins > div { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 13px; background: var(--pa-card-2); border: 1px solid var(--pa-line); }
.pxa-logins > div > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #0C2734; color: var(--pa-muted); }
.pxa-logins b { display: block; font-size: 14px; } .pxa-logins small { font-size: 12px; color: var(--pa-muted); }
.pxa-faq details { border: 1px solid var(--pa-line); border-radius: 13px; background: var(--pa-card-2); margin-bottom: 8px; }
.pxa-faq summary { padding: 14px 16px; font-weight: 700; font-size: 14px; cursor: pointer; list-style: none; }
.pxa-faq summary::-webkit-details-marker { display: none; }
.pxa-faq summary::after { content: '+'; float: right; color: var(--pa-gold); font-weight: 800; }
.pxa-faq details[open] summary::after { content: '–'; }
.pxa-faq p { margin: 0; padding: 0 16px 14px; font-size: 13.5px; color: var(--pa-text-2); line-height: 1.55; }
.pxa-row-end { display: flex; justify-content: flex-end; margin-bottom: 8px; }

/* ---------------- notifications (bell dropdown + page) ---------------- */
.header-notification-btn { position: relative; }
.pxa-bell-badge { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px; display: grid; place-items: center; border-radius: 9px; background: var(--pa-gold-grad); color: #021119; font-size: 10.5px; font-weight: 800; box-shadow: 0 0 0 2px #010E15; }
.pxa-bell-badge[hidden] { display: none; }
.header-notifications { width: min(360px, calc(100vw - 24px)) !important; max-height: min(480px, calc(100dvh - 100px)); overflow-y: auto; padding: 12px !important; border-radius: 16px !important; background: #061923 !important; }
.pxn-head { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 10px; }
.pxn-head strong { font-size: 15px; }
.pxn-all { background: none; border: 0; color: var(--pa-gold); font-weight: 700; font-size: 12.5px; cursor: pointer; }
.pxn-all[hidden] { display: none; }
.pxn-list { display: grid; gap: 6px; }
.pxn-empty { margin: 0; padding: 22px 8px; text-align: center; font-size: 13px; color: var(--pa-muted); }
.pxn-item { position: relative; display: flex; gap: 10px; padding: 10px; border-radius: 12px; background: #081F2A; border: 1px solid transparent; }
.pxn-item.is-unread { border-color: #003A27; background: #071B26; }
.pxn-item.is-unread::after { content: ''; position: absolute; top: 12px; right: 12px; width: 7px; height: 7px; border-radius: 50%; background: var(--pa-gold); }
.pxn-item b { display: block; font-size: 13.5px; padding-right: 14px; color: var(--pa-text); }
.pxn-item p { margin: 3px 0 4px !important; font-size: 12.5px !important; color: var(--pa-text-2) !important; line-height: 1.45; }
.pxn-item small { font-size: 11.5px; color: var(--pa-muted); }
.pxn-ic { display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; background: #0E2B39; color: var(--pa-text-2); --nav-icon-stroke: #B9CCD8; --nav-icon-accent: var(--pa-gold); }
.pxn-ic.is-withdrawal, .pxn-ic.is-deposit, .pxn-ic.is-transfer, .pxn-ic.is-affiliate { background: #16301F; color: var(--pa-green); --nav-icon-stroke: var(--pa-green); --nav-icon-accent: var(--pa-green); }
.pxn-ic.is-security { background: rgba(18, 199, 139, .12); --nav-icon-stroke: var(--pa-gold); }
.pxn-more { width: 100%; height: 40px; margin-top: 4px; border-radius: 10px; border: 1px solid var(--pa-line); background: transparent; color: var(--pa-text-2); font-weight: 700; font-size: 13px; cursor: pointer; }
.pxn-more:hover { color: var(--pa-gold); border-color: #004B32; }
.pxn-list.is-page { gap: 8px; }
.pxn-list.is-page .pxn-item { padding: 14px; }

/* ---------------- toasts ---------------- */
.pxa-toasts { position: fixed; z-index: 500; bottom: 20px; right: 20px; display: grid; gap: 8px; width: min(360px, calc(100vw - 32px)); pointer-events: none; }
.pxa-toast { display: flex; align-items: flex-start; gap: 10px; padding: 12px 12px 12px 14px; border-radius: 14px; background: #081F2A; border: 1px solid var(--pa-line-2); box-shadow: 0 18px 40px -12px rgba(0, 7, 11, .7); color: var(--pa-text); pointer-events: auto; opacity: 0; transform: translateY(8px); transition: opacity .2s ease, transform .25s var(--pa-ease); }
.pxa-toast.in { opacity: 1; transform: none; }
.pxa-toast > div { flex: 1; min-width: 0; }
.pxa-toast strong { display: block; font-size: 13.5px; margin-bottom: 2px; }
.pxa-toast p { margin: 0; font-size: 13px; color: var(--pa-text-2); line-height: 1.45; }
.pxa-toast button { background: none; border: 0; color: var(--pa-muted); cursor: pointer; padding: 2px; }
.pxa-toast button .px-ic-svg { width: 14px; height: 14px; }
.pxa-toast-dot { width: 9px; height: 9px; margin-top: 5px; border-radius: 50%; background: var(--pa-muted); flex-shrink: 0; }
.pxa-toast.is-success .pxa-toast-dot { background: var(--pa-green); box-shadow: 0 0 0 4px rgba(0, 196, 130, .15); }
.pxa-toast.is-error { border-color: #5C2226; } .pxa-toast.is-error .pxa-toast-dot { background: var(--pa-red); box-shadow: 0 0 0 4px rgba(255, 107, 107, .15); }
.pxa-toast.is-info .pxa-toast-dot { background: var(--pa-gold); }

/* ---------------- header tweaks ---------------- */
.header-right .wallet-balance-box { cursor: pointer; }
.header-right .user-profile-pill { cursor: pointer; }

/* ---------------- responsive ---------------- */
@media (max-width: 900px) {
  .has-player .header-notification-btn { display: grid !important; width: 36px; height: 36px; }
  .header-notifications { position: fixed !important; top: 70px !important; right: 12px !important; left: 12px !important; width: auto !important; }
  .pxa-toasts { top: 72px; bottom: auto; right: 12px; left: 12px; width: auto; }
  .pxa-toast { transform: translateY(-8px); }

  /* profile panel becomes a bottom sheet */
  .pxa-panel { top: auto; left: 0; right: 0; bottom: 0; width: 100%; max-height: 88dvh; border-radius: 22px 22px 0 0; padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px)); transform: translateY(100%); opacity: 1; transition: transform .3s var(--pa-ease); }
  .pxa-panel.is-open { transform: none; }
  .pxa-panel::before { content: ''; position: sticky; top: 8px; display: block; width: 44px; height: 5px; margin: 8px auto -13px; border-radius: 3px; background: #224559; z-index: 2; }
  .pxa-p-cover { border-radius: 22px 22px 0 0; }
  .pxa-panel-scrim { display: block; position: fixed; inset: 0; z-index: 315; background: rgba(5, 5, 8, .55); opacity: 0; transition: opacity .25s ease; }
  .pxa-panel-scrim.is-open { opacity: 1; }
  .pxa-panel-scrim[hidden] { display: none; }

  /* full-screen login */
  .pxa-overlay { padding: 0; }
  .pxa-auth-card { grid-template-columns: 1fr; width: 100%; height: 100dvh; max-height: none; border-radius: 0; border: 0; }
  .pxa-auth-art { display: none; }
  .pxa-auth-main { padding: calc(20px + env(safe-area-inset-top, 0px)) 20px calc(28px + env(safe-area-inset-bottom, 0px));
    background: radial-gradient(120% 40% at 50% 0%, rgba(18, 199, 139, .14), transparent 70%), var(--pa-card); }
  .pxa-auth-main::before { content: ''; display: block; width: 116px; height: 30px; margin: 4px 0 22px; background: url('/img/plixwin_brand_logo.png?v=20260928_1win') left center / contain no-repeat; }
  .pxa-auth-tabs { display: grid; width: 100%; }
  .pxa-row2 { grid-template-columns: 1fr; }

  /* full-screen account center with tabs on top */
  .pxa-acc-card { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr; width: 100%; height: 100dvh; border-radius: 0; border: 0; }
  .pxa-acc-head { padding-top: calc(12px + env(safe-area-inset-top, 0px)); }
  .pxa-acc-head .pxa-x { top: calc(16px + env(safe-area-inset-top, 0px)); }
  .pxa-acc-tabs { flex-direction: row; gap: 6px; padding: 10px 12px; border-right: 0; border-bottom: 1px solid var(--pa-line); overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
  .pxa-acc-tabs::-webkit-scrollbar { display: none; }
  .pxa-acc-tabs button { flex: 0 0 auto; min-height: 38px; padding: 0 12px; gap: 8px; font-size: 13.5px; }
  .pxa-acc-body { padding: 16px 16px calc(32px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 640px) {
  .pxa-curchips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pxa-payto-box, .pxa-2fa-setup { flex-direction: column; align-items: stretch; }
  .pxa-qr { margin: 0 auto; }
  .pxa-tr { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'game pay' 'time bet'; row-gap: 2px; padding: 10px 12px; }
  .pxa-tr > span:nth-child(1) { grid-area: game; } .pxa-tr > span:nth-child(2) { grid-area: time; }
  .pxa-tr > span:nth-child(3) { grid-area: bet; color: var(--pa-muted); font-size: 12px; }
  .pxa-tr > span:nth-child(4) { display: none; } .pxa-tr > span:nth-child(5) { grid-area: pay; font-weight: 800; }
  .pxa-th { display: none; }
  .pxa-aff-hero { flex-direction: column-reverse; align-items: flex-start; }
  .pxa-aff-badge { width: 88px; height: 88px; } .pxa-aff-badge b { font-size: 26px; } .pxa-aff-badge small { margin-top: -12px; font-size: 10px; }
  .pxa-kpis, .pxa-aff-cur { grid-template-columns: 1fr; }
  .pxa-kpis { grid-template-columns: 1fr 1fr; } .pxa-kpis > div:last-child { grid-column: 1 / -1; }
  .pxa-dl > div { flex-direction: column; gap: 2px; } .pxa-dl dd { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .pxa-overlay, .pxa-overlay > div, .pxa-panel, .pxa-toast, .pxa-panel-scrim { transition: none !important; }
}

/* ==========================================================================
   Glass + grey theme (30 Sep, v12)
   Frosted-glass surfaces for the profile panel, account center and bets.
   Grey carries the structure; gold is kept for the main buttons only.
   ========================================================================== */
:root {
  --pa-glass: rgba(7, 27, 38, .62);
  --pa-glass-strong: rgba(5, 23, 32, .78);
  --pa-glass-line: rgba(120, 170, 200, .09);
  --pa-glass-line-2: rgba(120, 170, 200, .14);
  --pa-glass-fill: rgba(120, 170, 200, .04);
  --pa-glass-fill-2: rgba(120, 170, 200, .07);
  --pa-glass-blur: blur(22px) saturate(150%);
  --pa-grey-avatar: linear-gradient(145deg, #45728A 0%, #204456 55%, #112E3D 100%);
}

/* avatar: grey instead of gold, everywhere (header, sidebar, panel, account center) */
.px-avatar { background: var(--pa-grey-avatar); color: #EFF4F7; box-shadow: inset 0 1px 0 rgba(120, 170, 200, .18), 0 0 0 2px rgba(0, 7, 11, .45); }
.px-avatar.is-xl { box-shadow: inset 0 2px 0 rgba(120, 170, 200, .18), 0 0 0 4px rgba(120, 170, 200, .06), 0 12px 30px -10px rgba(0, 7, 11, .7); }

/* ---- profile panel ---- */
.pxa-panel {
  background: var(--pa-glass); border: 1px solid var(--pa-glass-line);
  -webkit-backdrop-filter:none; backdrop-filter:none;
  box-shadow: inset 0 1px 0 rgba(120, 170, 200, .06), 0 30px 80px -24px rgba(0, 7, 11, .85);
}
.pxa-p-cover { background: radial-gradient(90% 90% at 50% -10%, rgba(120, 170, 200, .10), transparent 62%), linear-gradient(180deg, rgba(120, 170, 200, .04), transparent); }
.pxa-p-cover strong { color: #F1F6F8; }
.pxa-p-balance, .pxa-p-item, .pxa-p-foot .pxa-btn-ghost { background: var(--pa-glass-fill); border-color: var(--pa-glass-line); }
.pxa-p-item { --nav-icon-accent: #C5D5DF; }
.pxa-p-item:hover, .pxa-p-foot .pxa-btn-ghost:hover:not(:disabled) { background: var(--pa-glass-fill-2); border-color: var(--pa-glass-line-2); }
.pxa-p-eye:hover, .pxa-p-cur:hover { background: var(--pa-glass-fill-2); }
.pxa-p-code { color: #D3DFE7; background: rgba(120, 170, 200, .08); }
.pxa-p-act span { background: var(--pa-glass-fill-2); border-color: var(--pa-glass-line); }
.pxa-p-act:hover span { background: rgba(120, 170, 200, .11); border-color: var(--pa-glass-line-2); }
.pxa-p-act.is-deposit span { background: rgba(0, 196, 130, .12); border-color: rgba(0, 196, 130, .28); }
.pxa-p-curlist { background: rgba(0, 13, 19, .55); border-color: var(--pa-glass-line); }
.pxa-p-curlist button:hover { background: var(--pa-glass-fill-2); }
.pxa-p-curlist button.is-on { border-color: var(--pa-glass-line-2); background: var(--pa-glass-fill-2); }
.pxa-flag { background: rgba(120, 170, 200, .07); border-color: var(--pa-glass-line); color: #E0EAEF; }
.pxa-p-foot { border-top-color: var(--pa-glass-line); }
.pxa-p-foot .pxa-btn-ghost { --nav-icon-accent: #C5D5DF; }
.pxa-dot, .pxa-bell-badge { background: #E0EAEF; color: #04151D; }

/* ---- account center ---- */
.pxa-acc.pxa-overlay { background: rgba(5, 6, 9, .5); }
.pxa-acc-card {
  background: var(--pa-glass-strong); border: 1px solid var(--pa-glass-line);
  -webkit-backdrop-filter:none; backdrop-filter:none;
  box-shadow: inset 0 1px 0 rgba(120, 170, 200, .06), 0 40px 100px -30px rgba(0, 7, 11, .85);
}
.pxa-acc-head { background: linear-gradient(90deg, rgba(120, 170, 200, .05), transparent 45%); border-bottom-color: var(--pa-glass-line); }
.pxa-acc-tabs { background: rgba(120, 170, 200, .025); border-right-color: var(--pa-glass-line); }
.pxa-acc-tabs button { --nav-icon-accent: #7494A8; }
.pxa-acc-tabs button:hover { background: var(--pa-glass-fill); }
.pxa-acc-tabs button.is-active { background: var(--pa-glass-fill-2); color: #FFFFFF; box-shadow: inset 0 0 0 1px var(--pa-glass-line); --nav-icon-stroke: #FFFFFF; --nav-icon-accent: #12C78B; }
.pxa-acc-tabs button.is-active .px-ic-svg { color: #FFFFFF; }
.pxa-x { background: var(--pa-glass-fill); border-color: var(--pa-glass-line); }
.pxa-card, .pxa-note, .pxa-2fa, .pxa-kpis > div, .pxa-aff-card, .pxa-reflist > div, .pxa-logins > div, .pxa-faq details, .pxa-tx, .pxa-method, .pxa-curchip, .pxa-dl {
  background: var(--pa-glass-fill); border-color: var(--pa-glass-line);
}
.pxa-dl > div { border-bottom-color: var(--pa-glass-line); }
.pxa-seg, .pxa-input, .pxa-field select, .pxa-code, .pxa-payto-box, .pxa-addr { background: rgba(0, 12, 18, .45); border-color: var(--pa-glass-line); }
.pxa-seg button.is-active { background: var(--pa-glass-fill-2); box-shadow: inset 0 0 0 1px var(--pa-glass-line); }
.pxa-input:focus-within, .pxa-code:focus, .pxa-field select:focus { border-color: #7A99AC; box-shadow: 0 0 0 3px rgba(120, 170, 200, .07); }
.pxa-sym { color: #C5D5DF; }
.pxa-curchip.is-on, .pxa-method.is-on { border-color: #7A99AC; background: var(--pa-glass-fill-2); box-shadow: 0 0 0 3px rgba(120, 170, 200, .05); }
.pxa-curchip:focus-within { outline-color: #7A99AC; }
.pxa-quick button { background: var(--pa-glass-fill); border-color: var(--pa-glass-line); }
.pxa-quick button:hover, .pxa-copy:hover, .pxn-more:hover { color: #FFFFFF; border-color: var(--pa-glass-line-2); }
.pxa-max { color: #D3DFE7; border-color: var(--pa-glass-line-2); }
.pxa-addr code { color: #E0EAEF; }
.pxa-link, .pxn-all { color: #D3DFE7; }
.pxa-faq summary::after { color: #A4BDCB; }
.pxa-tag.is-gold { background: rgba(120, 170, 200, .08); color: #E0EAEF; }
.pxa-tx-ic { background: var(--pa-glass-fill-2); --nav-icon-accent: #C5D5DF; }
.pxa-tx-ic.is-withdrawal { background: var(--pa-glass-fill-2); color: #E0EAEF; }
.pxa-loading span { background: #A4BDCB; }
.pxa-empty { --nav-icon-accent: #5D89A2; }
.pxa-aff-hero { border-color: var(--pa-glass-line); background: radial-gradient(100% 120% at 100% 0%, rgba(120, 170, 200, .08), transparent 55%), var(--pa-glass-fill); }
.pxa-aff-hero h3 { color: #F1F6F8; }
.pxa-aff-badge { background: rgba(120, 170, 200, .06); color: #F1F6F8; border: 1px solid var(--pa-glass-line-2); box-shadow: 0 0 0 8px rgba(120, 170, 200, .03), 0 16px 40px -14px rgba(0, 7, 11, .7); }
.pxa-eyebrow { color: #A4BDCB; }

/* ---- my bets + transactions ---- */
.pxa-filter button { background: var(--pa-glass-fill); border-color: var(--pa-glass-line); }
.pxa-filter button.is-on { border-color: #7A99AC; color: #FFFFFF; background: var(--pa-glass-fill-2); }
.pxa-table { background: var(--pa-glass-fill); border-color: var(--pa-glass-line); }
.pxa-th { background: rgba(120, 170, 200, .045); }
.pxa-tr { border-bottom-color: rgba(120, 170, 200, .05); }
.pxa-tbody .pxa-tr:nth-child(odd) { background: rgba(120, 170, 200, .02); }
.pxa-tbody .pxa-tr:hover { background: rgba(120, 170, 200, .05); }
.pxa-game button:hover { color: #FFFFFF; text-decoration: underline; }

/* ---- notifications dropdown ---- */
.header-notifications { background: var(--pa-glass) !important; border: 1px solid var(--pa-glass-line) !important; -webkit-backdrop-filter:none; backdrop-filter:none; }
.pxn-item { background: var(--pa-glass-fill); }
.pxn-item.is-unread { border-color: var(--pa-glass-line-2); background: var(--pa-glass-fill-2); }
.pxn-item.is-unread::after { background: #E0EAEF; }
.pxn-ic { background: var(--pa-glass-fill-2); --nav-icon-accent: #C5D5DF; }
.pxn-ic.is-security { background: var(--pa-glass-fill-2); --nav-icon-stroke: #E0EAEF; }

/* browser autofill kept dark (it painted the e-mail field light blue) */
.pxa-input input:-webkit-autofill, .pxa-input input:-webkit-autofill:hover, .pxa-input input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--pa-text); caret-color: var(--pa-text);
  -webkit-box-shadow: 0 0 0 1000px #04151E inset; box-shadow: 0 0 0 1000px #04151E inset;
  transition: background-color 9999s ease 0s;
}

/* browsers without backdrop-filter get a solid dark panel instead */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .pxa-panel, .pxa-acc-card, .header-notifications { background: #061A24 !important; }
}
@media (max-width: 900px) {
  .pxa-acc-card { background: rgba(3, 18, 26, .9); }
  .pxa-panel { background: rgba(5, 23, 32, .86); }
  .pxa-panel::before { background: rgba(120, 170, 200, .22); }
}

/* ==========================================================================
   v13 – currency switcher, sidebar log out, small gold details
   ========================================================================== */
/* header balance opens the currency menu */
.header-right .wallet-balance-box { cursor: pointer; border-radius: 9px; transition: background-color .15s ease; }
.header-right .wallet-balance-box:hover, .header-right .wallet-balance-box[aria-expanded="true"] { background: rgba(120, 170, 200, .05); }
.wallet-balance-label { display: flex; align-items: center; gap: 5px; }
.wallet-cur-code { font-size: 9.5px; font-weight: 800; letter-spacing: .04em; color: #0ABD81; }
.wallet-caret { width: 14px; height: 14px; flex-shrink: 0; fill: none; stroke: #7494A8; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.wallet-balance-box[aria-expanded="true"] .wallet-caret { transform: rotate(180deg); }
body.pxa-switching, body.pxa-switching * { cursor: progress !important; }

.pxc-menu {
  position: fixed; z-index: 330; width: 328px; padding: 8px; border-radius: 16px; font-family: var(--pa-font); color: var(--pa-text);
  background: var(--pa-glass); border: 1px solid var(--pa-glass-line);
  -webkit-backdrop-filter:none; backdrop-filter:none;
  box-shadow: inset 0 1px 0 rgba(120, 170, 200, .06), 0 24px 60px -18px rgba(0, 7, 11, .85);
  opacity: 0; transform: translateY(-6px); transition: opacity .16s ease, transform .2s var(--pa-ease);
}
.pxc-menu.is-open { opacity: 1; transform: none; }
.pxc-menu[hidden] { display: none; }
.pxc-menu::after { content: ''; position: absolute; top: 0; left: 20%; right: 20%; height: 1px; background: linear-gradient(90deg, transparent, rgba(18, 199, 139, .55), transparent); pointer-events: none; }
.pxc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 6px 8px 10px; }
.pxc-head strong { font-size: 14px; }
.pxc-head span { font-size: 11px; color: var(--pa-muted); text-align: right; }
.pxc-menu button { position: relative; display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 1px solid transparent; border-radius: 11px; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.pxc-menu button:hover { background: var(--pa-glass-fill-2); }
.pxc-menu button.is-on { background: var(--pa-glass-fill); border-color: var(--pa-glass-line-2); }
.pxc-menu button.is-on::before { content: ''; position: absolute; left: -1px; top: 10px; bottom: 10px; width: 2px; border-radius: 2px; background: #0ABD81; }
.pxc-menu button.is-on .pxa-flag { border-color: rgba(18, 199, 139, .45); color: #12C78B; }
.pxc-name { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.pxc-name b { font-size: 13.5px; }
.pxc-name small { font-size: 11.5px; color: var(--pa-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pxc-val { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; font-variant-numeric: tabular-nums; }
.pxc-val em { font-style: normal; font-weight: 700; font-size: 13.5px; white-space: nowrap; }
.pxc-val small { font-size: 11px; color: var(--pa-muted); white-space: nowrap; }
.pxc-foot { margin: 6px 8px 4px; padding-top: 8px; border-top: 1px solid var(--pa-glass-line); font-size: 11.5px; color: var(--pa-muted); line-height: 1.45; }
.pxa-p-rates { margin: 4px 6px 2px; font-size: 11px; color: var(--pa-muted); }
.pxa-p-curlist button.is-on { position: relative; }
.pxa-p-curlist button.is-on .pxa-flag { border-color: rgba(18, 199, 139, .45); color: #12C78B; }

/* sidebar: log out (only when signed in) */
body:not(.has-player) .gold-sidebar .sidebar-logout { display: none !important; }
.gold-sidebar .sidebar-logout .ui-icon { color: #7494A8; }
.gold-sidebar .sidebar-logout:hover { background: rgba(255, 107, 107, .08) !important; color: #FF9A9A !important; }
.gold-sidebar .sidebar-logout:hover .ui-icon { color: #FF8A8A; }

/* small gold details – accents only, surfaces stay grey */
.pxa-panel::after { content: ''; position: absolute; top: 0; left: 18%; right: 18%; height: 1px; background: linear-gradient(90deg, transparent, rgba(18, 199, 139, .6), transparent); pointer-events: none; }
.px-avatar.is-xl { box-shadow: inset 0 2px 0 rgba(120, 170, 200, .18), 0 0 0 3px rgba(1, 14, 21, .9), 0 0 0 4px rgba(18, 199, 139, .45), 0 12px 30px -10px rgba(0, 7, 11, .7); }
.pxa-p-code { color: #12C78B; background: rgba(18, 199, 139, .1); }
.pxa-p-item, .pxa-p-foot .pxa-btn-ghost { --nav-icon-accent: #0ABD81; }
.pxa-p-item:hover .px-ic-svg { color: #12C78B; }
.pxa-acc-tabs button.is-active { position: relative; }
.pxa-acc-tabs button.is-active::before { content: ''; position: absolute; left: 0; top: 11px; bottom: 11px; width: 2px; border-radius: 2px; background: #0ABD81; }
.pxa-acc-head { position: relative; }
.pxa-acc-head::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, rgba(18, 199, 139, .35), transparent 40%); pointer-events: none; }
.pxa-sec > h4::before { content: ''; display: inline-block; width: 5px; height: 5px; margin: 0 8px 2px 0; border-radius: 50%; background: #0ABD81; vertical-align: middle; }

@media (max-width: 900px) {
  .pxa-acc-tabs button.is-active::before { left: 12px; right: 12px; top: auto; bottom: 0; width: auto; height: 2px; }
  .pxa-acc-head::after { display: none; }
}
@media (max-width: 600px) {
  .pxc-menu { width: auto; }
  .wallet-cur-code { display: none; }
  .wallet-caret { width: 12px; height: 12px; }
}

/* ==========================================================================
   NOWPayments Direct Crypto Checkout & Withdrawal (White-label Plixwin UI)
   ========================================================================== */
.pxa-crypto-wrap { display: flex; flex-direction: column; gap: 14px; }
.pxa-crypto-search-box { position: relative; width: 100%; }
.pxa-crypto-search-box input {
  width: 100%;
  height: 44px;
  padding: 0 14px 0 38px;
  background: var(--pa-field);
  border: 1px solid var(--pa-line);
  border-radius: 12px;
  color: var(--pa-text);
  font-size: 13.5px;
  outline: none;
  transition: border-color .15s ease;
}
.pxa-crypto-search-box input:focus { border-color: var(--pa-gold); }
.pxa-crypto-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--pa-muted);
  pointer-events: none;
}
.pxa-chain-bar {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
.pxa-chain-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--pa-line);
  background: var(--pa-card-2);
  color: var(--pa-text-2);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all .15s ease;
}
.pxa-chain-btn:hover { border-color: var(--pa-line-2); color: var(--pa-text); }
.pxa-chain-btn.is-active {
  background: rgba(18, 199, 139, .12);
  border-color: var(--pa-gold);
  color: var(--pa-gold);
}
.pxa-token-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 8px;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
}
.pxa-token-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--pa-field);
  border: 1px solid var(--pa-line);
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  transition: all .15s ease;
}
.pxa-token-card:hover {
  border-color: var(--pa-line-2);
  background: var(--pa-card-2);
  transform: translateY(-1px);
}
.pxa-token-card.is-selected {
  border-color: var(--pa-gold);
  background: rgba(18, 199, 139, .08);
}
.pxa-token-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #0E2B39;
  font-size: 11px;
  font-weight: 800;
  color: var(--pa-gold);
  flex-shrink: 0;
  overflow: hidden;
}
.pxa-token-icon img { width: 100%; height: 100%; object-fit: contain; }
.pxa-token-info { display: flex; flex-direction: column; min-width: 0; }
.pxa-token-info b { font-size: 13px; font-weight: 700; color: var(--pa-text); display: flex; align-items: center; gap: 4px; }
.pxa-token-info small { font-size: 11px; color: var(--pa-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pxa-net-badge {
  font-size: 9.5px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
  background: #0F2B3A;
  color: #A5BECC;
  text-transform: uppercase;
}
.pxa-badge-free {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 196, 130, .12);
  border: 1px solid rgba(0, 196, 130, .3);
  color: #00C482;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}
.pxa-invoice-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--pa-card);
  border: 1px solid var(--pa-line);
  border-radius: 16px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.pxa-invoice-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--pa-gold-grad);
}
.pxa-invoice-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  border-bottom: 1px solid var(--pa-line);
  padding-bottom: 14px;
}
.pxa-invoice-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  color: var(--pa-text);
}
.pxa-invoice-timer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 8px;
  background: rgba(18, 199, 139, .12);
  border: 1px solid rgba(18, 199, 139, .35);
  color: var(--pa-gold);
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.pxa-invoice-timer.is-urgent {
  background: rgba(255, 107, 107, .12);
  border-color: rgba(255, 107, 107, .4);
  color: #FF6B6B;
  animation: pxaPulse 1.2s infinite;
}
.pxa-invoice-status-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
}
.pxa-invoice-status-bar.is-waiting {
  background: rgba(0, 168, 111, .1);
  border: 1px solid rgba(0, 168, 111, .25);
  color: #00A86F;
}
.pxa-invoice-status-bar.is-confirming {
  background: rgba(40, 160, 240, .12);
  border: 1px solid rgba(40, 160, 240, .3);
  color: #28A0F0;
}
.pxa-invoice-status-bar.is-completed {
  background: rgba(0, 196, 130, .14);
  border: 1px solid rgba(0, 196, 130, .35);
  color: #00C482;
}
.pxa-invoice-status-bar.is-expired {
  background: rgba(255, 107, 107, .12);
  border: 1px solid rgba(255, 107, 107, .3);
  color: #FF6B6B;
}
.pxa-invoice-body {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  align-items: center;
}
@media (max-width: 600px) {
  .pxa-invoice-body { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}
.pxa-invoice-qr {
  width: 140px;
  height: 140px;
  background: #FFFFFF;
  border-radius: 12px;
  padding: 6px;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 16px rgba(0, 7, 11, .35);
}
.pxa-invoice-qr svg { width: 100%; height: 100%; }
.pxa-invoice-details { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.pxa-invoice-row { display: flex; flex-direction: column; gap: 3px; }
.pxa-invoice-row small { font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: var(--pa-muted); font-weight: 600; }
.pxa-invoice-copybox {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--pa-field);
  border: 1px solid var(--pa-line);
  border-radius: 10px;
  padding: 8px 12px;
}
.pxa-invoice-copybox code {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 13px;
  color: var(--pa-text);
  word-break: break-all;
}
.pxa-invoice-copybtn {
  background: var(--pa-card-2);
  border: 1px solid var(--pa-line);
  color: var(--pa-gold);
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all .15s ease;
}
.pxa-invoice-copybtn:hover { background: #0F2C3B; border-color: var(--pa-line-2); }
.pxa-invoice-amount-box {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.pxa-invoice-amount-val {
  font-size: 20px;
  font-weight: 800;
  color: var(--pa-gold);
  font-variant-numeric: tabular-nums;
}
.pxa-invoice-fiat-eq {
  font-size: 13px;
  color: var(--pa-muted);
}
.pxa-net-alert {
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(18, 199, 139, .08);
  border-left: 3px solid var(--pa-gold);
  font-size: 12px;
  color: var(--pa-text-2);
}
.pxa-fee-box {
  background: var(--pa-field);
  border: 1px solid var(--pa-line);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12.5px;
}
.pxa-fee-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--pa-muted);
}
.pxa-fee-row.is-total {
  border-top: 1px dashed var(--pa-line);
  padding-top: 6px;
  margin-top: 2px;
  color: var(--pa-text);
  font-weight: 700;
}
.pxa-fee-row.is-net {
  color: var(--pa-gold);
  font-weight: 800;
  font-size: 13.5px;
}
@keyframes pxaPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .6; }
}

/* =========================================================================
   LZT Market Merchant Styles (UPI 7.5%, Russian Cards & SBP, Binance Pay)
   ========================================================================= */
.pxa-lzt-wrap {
  position: relative;
  background: var(--pa-card-bg, #1A1E29);
  border: 1px solid var(--pa-line, rgba(120, 170, 200, 0.08));
  border-radius: 14px;
  padding: 18px 20px;
}
.pxa-lzt-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--pa-line, rgba(120, 170, 200, 0.08));
}
.pxa-lzt-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(0, 168, 111, 0.12);
  border: 1px solid rgba(0, 168, 111, 0.35);
  color: #00A86F;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.pxa-lzt-breakdown {
  background: var(--pa-field, rgba(0, 7, 11, 0.25));
  border: 1px solid var(--pa-line, rgba(120, 170, 200, 0.08));
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  margin-top: 14px;
}
.pxa-lzt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--pa-muted, #91ADBE);
}
.pxa-lzt-row.pxa-lzt-total {
  border-top: 1px dashed var(--pa-line, rgba(120, 170, 200, 0.12));
  padding-top: 8px;
  margin-top: 4px;
  color: #FFFFFF;
  font-weight: 700;
}
.pxa-lzt-inv-card {
  background: rgba(0, 7, 11, 0.2);
  border: 1px solid var(--pa-line, rgba(120, 170, 200, 0.08));
  border-radius: 12px;
  padding: 16px;
}

.pxa-lzt-action-box {
  width: 100%;
  margin-top: 14px;
  background: linear-gradient(180deg, #161B2B 0%, #0F131F 100%);
  border: 1px solid rgba(120, 170, 200, 0.1);
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 10px 30px rgba(0, 7, 11, 0.4);
  text-align: center;
}
.pxa-lzt-amount-hero {
  padding: 16px;
  background: rgba(120, 170, 200, 0.03);
  border: 1px solid rgba(120, 170, 200, 0.07);
  border-radius: 12px;
  margin-bottom: 20px;
}
.pxa-lzt-hero-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pa-muted, #91ADBE);
  margin-bottom: 4px;
}
.pxa-lzt-hero-val {
  font-size: 32px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}
.pxa-lzt-hero-fee {
  font-size: 13px;
  color: #00A86F;
  margin-top: 4px;
}
.pxa-lzt-open-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0, 169, 112, 0.35);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.pxa-lzt-open-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0, 169, 112, 0.45);
}
.pxa-lzt-info-pill {
  margin-top: 16px;
  padding: 12px 14px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 10px;
  font-size: 12.5px;
  color: #93C5FD;
  text-align: left;
  line-height: 1.5;
}
.pxa-lzt-pulse-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  padding: 10px 14px;
  background: rgba(120, 170, 200, 0.02);
  border: 1px solid rgba(120, 170, 200, 0.06);
  border-radius: 8px;
  font-size: 13px;
  color: var(--pa-muted, #91ADBE);
}
.pxa-lzt-pulse-dot {
  width: 8px;
  height: 8px;
  background: #00B175;
  border-radius: 50%;
  animation: pxaPulse 1.8s infinite;
}
@keyframes pxaPulse {
  0% { transform: scale(0.9); opacity: 0.6; box-shadow: 0 0 0 0 rgba(0, 177, 117, 0.7); }
  70% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 0 8px rgba(0, 177, 117, 0); }
  100% { transform: scale(0.9); opacity: 0.6; box-shadow: 0 0 0 0 rgba(0, 177, 117, 0); }
}
.pxa-lzt-success-card {
  text-align: center;
  padding: 36px 20px;
  background: rgba(0, 177, 117, 0.08);
  border: 1px solid rgba(0, 177, 117, 0.3);
  border-radius: 14px;
}
.pxa-lzt-success-icon {
  width: 56px;
  height: 56px;
  background: #00B175;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  margin: 0 auto 16px;
  box-shadow: 0 0 24px rgba(0, 177, 117, 0.5);
}



/* ==========================================================================
   v14 (7 Oct) – solid surfaces, Stake-style account menu and deposit picker
   ========================================================================== */
/* no glass: every account surface is a solid dark panel */
:root {
  --pa-glass: #0B1F29;
  --pa-glass-strong: #0A1C25;
}
.pxa-acc-card, .header-notifications, .pxc-menu { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
@media (max-width: 900px) { .pxa-acc-card { background: #0A1C25; } }

/* ---- account menu (opens from the profile button) ---- */
.pxa-pmenu {
  position: fixed; z-index: 340; display: flex; flex-direction: column; padding: 6px; overflow-y: auto; overscroll-behavior: contain;
  border-radius: 12px; background: #0E2430; border: 1px solid #1B3A48; color: #E6EEF3; font-family: var(--pa-font);
  box-shadow: 0 18px 44px -12px rgba(0, 6, 10, .75);
  opacity: 0; transform: translateY(-6px); transition: opacity .14s ease, transform .18s var(--pa-ease);
}
.pxa-pmenu.is-open { opacity: 1; transform: none; }
.pxa-pmenu[hidden] { display: none; }
.pxa-pmenu * { box-sizing: border-box; }
.pxa-pm-user { display: flex; align-items: center; gap: 10px; padding: 8px 10px 10px; margin-bottom: 4px; border-bottom: 1px solid #1B3A48; }
.pxa-pm-user .px-avatar { width: 34px; height: 34px; font-size: 15px; flex-shrink: 0; }
.pxa-pm-user div { display: flex; flex-direction: column; min-width: 0; }
.pxa-pm-user strong { font-size: 14px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pxa-pm-user small { font-size: 12px; color: #8DA6B3; font-variant-numeric: tabular-nums; }
.pxa-pm-item {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 0 12px; border: 0; border-radius: 8px;
  background: transparent; color: inherit; font: 700 14.5px/1.2 var(--pa-font); text-align: left; cursor: pointer;
  --nav-icon-accent: #12C78B;
}
.pxa-pm-item .px-ic-svg { width: 20px; height: 20px; color: #A9BEC9; }
.pxa-pm-item span { flex: 1; }
.pxa-pm-item:hover, .pxa-pm-item:focus-visible { background: #163443; outline: none; }
.pxa-pm-item:hover .px-ic-svg { color: #FFFFFF; }
.pxa-pm-item.is-logout:hover { background: rgba(255, 107, 107, .1); color: #FF9A9A; }
.pxa-pm-item.is-logout:hover .px-ic-svg { color: #FF9A9A; }
.pxa-pm-badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: #12C78B; color: #021119; font: 800 11px/20px var(--pa-font); font-style: normal; text-align: center; }
.pxa-pm-line { height: 1px; margin: 4px 6px; background: #1B3A48; }
@media (max-width: 600px) {
  .pxa-pm-item { min-height: 48px; font-size: 15px; }
  .pxa-pm-item .px-ic-svg { width: 21px; height: 21px; }
}

/* ---- deposit: currency + network pickers ---- */
.pxd { display: flex; flex-direction: column; gap: 14px; }
.pxd-field { display: flex; flex-direction: column; gap: 7px; }
.pxd-label { font-size: 13px; font-weight: 700; color: var(--pa-text-2); }
.pxd-dd { position: relative; }
.pxd-trigger {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 8px 14px; border: 1px solid #1E4050; border-radius: 10px;
  background: #12303E; color: var(--pa-text); font: inherit; text-align: left; cursor: pointer; transition: border-color .15s, background .15s;
}
.pxd-trigger:hover { background: #16384A; }
.pxd-dd.is-open .pxd-trigger { border-color: #12C78B; }
.pxd-dd.is-single .pxd-trigger { cursor: default; }
.pxd-dd.is-single .pxd-caret { display: none; }
.pxd-tx { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.pxd-tx b { font-size: 15px; font-weight: 800; color: #FFFFFF; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pxd-tx small { font-size: 12.5px; color: #8DA6B3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pxd-caret { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: #A9BEC9; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s; }
.pxd-dd.is-open .pxd-caret { transform: rotate(180deg); }
.pxd-ico { position: relative; display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; background: #1E4354; overflow: hidden; }
.pxd-ico img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #1E4354; }
.pxd-ico i { font-style: normal; font-size: 10px; font-weight: 800; color: #DCE7ED; }
.pxd-dot { width: 12px; height: 12px; margin: 0 11px; flex-shrink: 0; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 22%, transparent); }
.pxd-pop {
  position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); display: flex; flex-direction: column; gap: 8px; padding: 10px;
  border: 1px solid #1E4050; border-radius: 10px; background: #0F2733; box-shadow: 0 18px 40px -12px rgba(0, 6, 10, .8);
}
.pxd-pop[hidden] { display: none; }
.pxd-search { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 12px; border: 1px solid #1E4050; border-radius: 8px; background: #071820; color: #8DA6B3; }
.pxd-search:focus-within { border-color: #12C78B; }
.pxd-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; color: var(--pa-text); font: 600 14.5px var(--pa-font); outline: none; }
.pxd-search input::-webkit-search-cancel-button { filter: invert(1) opacity(.5); }
.pxd-list { display: flex; flex-direction: column; max-height: 300px; overflow-y: auto; overscroll-behavior: contain; }
.pxd-list button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 54px; padding: 6px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--pa-text); font: inherit; text-align: left; cursor: pointer; }
.pxd-list button:hover { background: #163443; }
.pxd-list button.is-on { background: #17394A; }
.pxd-list button .px-ic-svg { color: #12C78B; }
.pxd-list em { font-style: normal; font-size: 11.5px; font-weight: 700; color: #8DA6B3; white-space: nowrap; }
.pxd-none { margin: 0; padding: 18px 8px; text-align: center; color: #8DA6B3; font-size: 13.5px; }
.pxd-warn { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 10px 12px; border-radius: 10px; background: rgba(240, 185, 11, .07); border: 1px solid rgba(240, 185, 11, .22); color: #D9C58F; font-size: 12.5px; line-height: 1.45; }
.pxd-warn .px-ic-svg { width: 17px; height: 17px; margin-top: 1px; color: #F0B90B; }
.pxd-warn b { color: #FFE39A; }
.pxd-form { gap: 12px; margin: 0; }
.pxd-est { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; border-radius: 10px; background: #071820; border: 1px solid #1E4050; font-size: 13.5px; color: #8DA6B3; }
.pxd-est b { color: #FFFFFF; font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; }
.pxd-foot { display: flex; align-items: center; justify-content: center; gap: 6px; text-align: center; }
.pxd-foot .px-ic-svg { width: 15px; height: 15px; color: #12C78B; }

/* ---- Google sign-in button: no white box around Google's frame (dark page + light frame) ---- */
#pxWelcomeGoogle, #pxGoogleBtn { color-scheme: light; }
#pxWelcomeGoogle iframe, #pxGoogleBtn iframe { color-scheme: light; }

/* ---- guest welcome banner never shows to a logged-in player ---- */
html.px-has-token .px-welcome { display: none !important; }
html.px-has-token body.home-mode .px-welcome ~ .tl-hero { display: block !important; }
