/* ==========================================================================
   PLIXWIN – account UI (login page, profile panel, account center, toasts)
   Dark surfaces, grey structure, gold only as the accent.
   ========================================================================== */
:root {
  --pa-bg: #0c0d10;
  --pa-card: #15161b;
  --pa-card-2: #1a1c22;
  --pa-field: #0f1014;
  --pa-line: #262830;
  --pa-line-2: #31343d;
  --pa-text: #edeae3;
  --pa-text-2: #c8c6c0;
  --pa-muted: #8a8d97;
  --pa-gold: #e4bb68;
  --pa-gold-grad: linear-gradient(120deg, #f3dfb0 0%, #e5c58c 48%, #cba15e 100%);
  --pa-green: #3ddc84;
  --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: #1a1408; font-weight: 800; font-size: 14px; line-height: 1; box-shadow: inset 0 1px 0 #fff6, 0 0 0 2px #0c0d10; flex-shrink: 0; }
.px-avatar.is-xl { width: 76px; height: 76px; font-size: 32px; box-shadow: inset 0 2px 0 #fff6, 0 0 0 4px #15161b, 0 10px 30px -8px rgba(228, 187, 104, .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(26, 20, 8, .35); border-top-color: #1a1408; animation: pxaSpin .7s linear infinite; }
.pxa-btn-ghost.is-busy::after, .pxa-link.is-busy::after { border-color: #fff3; border-top-color: #fff; }
@keyframes pxaSpin { to { transform: rotate(360deg); } }
.pxa-btn-gold { background: var(--pa-gold-grad); color: #1a1408; box-shadow: inset 0 1px 0 #fff5d777, 0 10px 24px -14px rgba(228, 187, 104, .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: #20222a; }
.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: #fff; color: #1f1f1f; }
.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: #c9974a; box-shadow: 0 0 0 3px rgba(228, 187, 104, .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: #5d606b; }
.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: #c9974a; }
.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 #4a3c22; 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: #c9974a; box-shadow: 0 0 0 3px rgba(228, 187, 104, .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: #ffb4b4; font-size: 13px; line-height: 1.45; }
.pxa-form-error.is-confirm { background: #2a2314; border-color: #4a3c22; color: #f3d58e; }
.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: #d9b263; 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: #262830; 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: #f0a14a; }
.pxa-strength[data-score="3"] i:nth-child(-n+3) { background: #e4bb68; }
.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, 0, 0, .8); }
.pxa-auth-art { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 30px 28px; color: #f6ecd6; overflow: hidden;
  background: radial-gradient(120% 70% at 0% 0%, rgba(243, 223, 176, .22), transparent 60%), radial-gradient(90% 60% at 100% 100%, rgba(203, 161, 94, .25), transparent 60%), linear-gradient(160deg, #221b10 0%, #14120e 55%, #0f1013 100%); }
.pxa-auth-art::after { content: ''; position: absolute; right: -90px; top: 38%; width: 280px; height: 280px; border-radius: 50%; border: 1px solid rgba(228, 187, 104, .18); box-shadow: 0 0 0 40px rgba(228, 187, 104, .04), 0 0 0 80px rgba(228, 187, 104, .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: #fff7e6; }
.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: #e3d6bb; }
.pxa-auth-art li .px-ic-svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: rgba(228, 187, 104, .16); color: var(--pa-gold); }
.pxa-auth-18 { margin: 0; font-size: 12px; color: #a99673; } .pxa-auth-18 b { display: inline-grid; place-items: center; width: 28px; height: 20px; margin-right: 6px; border: 1px solid #6b5630; 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: #1a1408; }
.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: #6f727c; }
.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(228, 187, 104, .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: #16171c; border: 1px solid var(--pa-line); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .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: #2a2c34 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(228, 187, 104, .28), transparent 62%), linear-gradient(180deg, #221c12, #16171c); }
.pxa-p-cover strong { margin-top: 6px; font-size: 18px; font-weight: 800; color: #f3d58e; }
.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: #22242b; }
.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: #22242b; }
.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(228, 187, 104, .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: #1c1e24; }
.pxa-p-curlist button.is-on { border-color: #4a3c22; background: rgba(228, 187, 104, .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: #23252c; border: 1px solid #33363f; 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: #22242b; border: 1px solid #2d3038; color: #d9dbe1; transition: background .15s ease, border-color .15s ease; }
.pxa-p-act:hover span { background: #282a32; border-color: #3a3d46; }
.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: #aeb1ba; --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: #1f2128; --nav-icon-stroke: #e6e7ea; }
.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: #1a1408; 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: #aeb1ba; --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, 0, 0, .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(228, 187, 104, .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: #121318; 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: #8a8d97; --nav-icon-accent: #9e7c44; }
.pxa-acc-tabs button .px-ic-svg { width: 20px; height: 20px; color: #8a8d97; }
.pxa-acc-tabs button:hover { background: #1b1d23; color: var(--pa-text); }
.pxa-acc-tabs button.is-active { background: rgba(228, 187, 104, .12); color: var(--pa-gold); --nav-icon-stroke: var(--pa-gold); --nav-icon-accent: #f3d58e; }
.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: #2a2c34 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: #5d606b; --nav-icon-accent: #7a6540; }
.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: #ffb4b4; }
.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: #262830; 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: #c9974a; background: rgba(228, 187, 104, .08); box-shadow: 0 0 0 3px rgba(228, 187, 104, .1); }
.pxa-curchip:focus-within { outline: 2px solid #c9974a; 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: #c9974a; background: rgba(228, 187, 104, .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: #1f2128; color: var(--pa-text-2); font-weight: 700; font-size: 13px; cursor: pointer; }
.pxa-quick button:hover { border-color: #4a3c22; 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 #3a3d46; }
.pxa-qr { flex-shrink: 0; width: 124px; height: 124px; padding: 6px; border-radius: 12px; background: #fff; display: grid; place-items: center; }
.pxa-qr svg { width: 100%; height: 100%; display: block; }
.pxa-qr .pxa-muted { color: #555; 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: #f3c078 !important; }
.pxa-addr { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 6px 6px 6px 12px; border-radius: 11px; background: #0b0c0f; 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: #f3e3bd; }
.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 #3a3d46; background: #1f2128; color: var(--pa-text-2); cursor: pointer; }
.pxa-copy:hover { color: var(--pa-gold); border-color: #4a3c22; }
.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: #c9974a; color: var(--pa-gold); background: rgba(228, 187, 104, .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 #1f2127; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.pxa-tbody .pxa-tr:nth-child(odd) { background: #17181d; }
.pxa-tr:last-child { border-bottom: 0; }
.pxa-th { min-height: 40px; background: #121318; 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: #c8c6c0; }
.pxa-tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 7px; background: #262830; 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(228, 187, 104, .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: #22242b; color: var(--pa-text-2); --nav-icon-stroke: #c8c6c0; --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(228, 187, 104, .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: #262830; color: var(--pa-text-2); }
.pxa-status.is-pending { background: rgba(228, 187, 104, .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 #3a2f1a;
  background: radial-gradient(100% 120% at 100% 0%, rgba(228, 187, 104, .22), transparent 55%), linear-gradient(135deg, #211b10, #16171c 70%); }
.pxa-aff-hero h3 { margin: 0 0 8px; font-size: 26px; font-weight: 800; color: #fff3d6; }
.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: #1a1408; text-align: center; box-shadow: 0 0 0 8px rgba(228, 187, 104, .1), 0 16px 40px -12px rgba(228, 187, 104, .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 #1f2127; 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: #22242b; 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: #1a1408; font-size: 10.5px; font-weight: 800; box-shadow: 0 0 0 2px #0c0d10; }
.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: #16171c !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: #1b1d23; border: 1px solid transparent; }
.pxn-item.is-unread { border-color: #3a2f1a; background: #1e1c18; }
.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: #262830; color: var(--pa-text-2); --nav-icon-stroke: #c8c6c0; --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(228, 187, 104, .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: #4a3c22; }
.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: #1b1d23; border: 1px solid var(--pa-line-2); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .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(61, 220, 132, .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: #3a3d46; 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(228, 187, 104, .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(24, 25, 30, .62);
  --pa-glass-strong: rgba(20, 21, 26, .78);
  --pa-glass-line: rgba(255, 255, 255, .09);
  --pa-glass-line-2: rgba(255, 255, 255, .14);
  --pa-glass-fill: rgba(255, 255, 255, .04);
  --pa-glass-fill-2: rgba(255, 255, 255, .07);
  --pa-glass-blur: blur(22px) saturate(150%);
  --pa-grey-avatar: linear-gradient(145deg, #555862 0%, #3a3c44 55%, #2b2d33 100%);
}

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

/* ---- profile panel ---- */
.pxa-panel {
  background: var(--pa-glass); border: 1px solid var(--pa-glass-line);
  -webkit-backdrop-filter: var(--pa-glass-blur); backdrop-filter: var(--pa-glass-blur);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 30px 80px -24px rgba(0, 0, 0, .85);
}
.pxa-p-cover { background: radial-gradient(90% 90% at 50% -10%, rgba(255, 255, 255, .10), transparent 62%), linear-gradient(180deg, rgba(255, 255, 255, .04), transparent); }
.pxa-p-cover strong { color: #f4f4f6; }
.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: #c9ccd3; }
.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: #d7d9de; background: rgba(255, 255, 255, .08); }
.pxa-p-act span { background: var(--pa-glass-fill-2); border-color: var(--pa-glass-line); }
.pxa-p-act:hover span { background: rgba(255, 255, 255, .11); border-color: var(--pa-glass-line-2); }
.pxa-p-act.is-deposit span { background: rgba(61, 220, 132, .12); border-color: rgba(61, 220, 132, .28); }
.pxa-p-curlist { background: rgba(10, 11, 14, .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(255, 255, 255, .07); border-color: var(--pa-glass-line); color: #e6e7ea; }
.pxa-p-foot { border-top-color: var(--pa-glass-line); }
.pxa-p-foot .pxa-btn-ghost { --nav-icon-accent: #c9ccd3; }
.pxa-dot, .pxa-bell-badge { background: #e6e7ea; color: #121317; }

/* ---- 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: var(--pa-glass-blur); backdrop-filter: var(--pa-glass-blur);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 40px 100px -30px rgba(0, 0, 0, .85);
}
.pxa-acc-head { background: linear-gradient(90deg, rgba(255, 255, 255, .05), transparent 45%); border-bottom-color: var(--pa-glass-line); }
.pxa-acc-tabs { background: rgba(255, 255, 255, .025); border-right-color: var(--pa-glass-line); }
.pxa-acc-tabs button { --nav-icon-accent: #8a8d97; }
.pxa-acc-tabs button:hover { background: var(--pa-glass-fill); }
.pxa-acc-tabs button.is-active { background: var(--pa-glass-fill-2); color: #fff; box-shadow: inset 0 0 0 1px var(--pa-glass-line); --nav-icon-stroke: #fff; --nav-icon-accent: #e4bb68; }
.pxa-acc-tabs button.is-active .px-ic-svg { color: #fff; }
.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(8, 9, 12, .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: #8f929b; box-shadow: 0 0 0 3px rgba(255, 255, 255, .07); }
.pxa-sym { color: #c9ccd3; }
.pxa-curchip.is-on, .pxa-method.is-on { border-color: #8f929b; background: var(--pa-glass-fill-2); box-shadow: 0 0 0 3px rgba(255, 255, 255, .05); }
.pxa-curchip:focus-within { outline-color: #8f929b; }
.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: #fff; border-color: var(--pa-glass-line-2); }
.pxa-max { color: #d7d9de; border-color: var(--pa-glass-line-2); }
.pxa-addr code { color: #e6e7ea; }
.pxa-link, .pxn-all { color: #d7d9de; }
.pxa-faq summary::after { color: #aeb1ba; }
.pxa-tag.is-gold { background: rgba(255, 255, 255, .08); color: #e6e7ea; }
.pxa-tx-ic { background: var(--pa-glass-fill-2); --nav-icon-accent: #c9ccd3; }
.pxa-tx-ic.is-withdrawal { background: var(--pa-glass-fill-2); color: #e6e7ea; }
.pxa-loading span { background: #aeb1ba; }
.pxa-empty { --nav-icon-accent: #6b6e78; }
.pxa-aff-hero { border-color: var(--pa-glass-line); background: radial-gradient(100% 120% at 100% 0%, rgba(255, 255, 255, .08), transparent 55%), var(--pa-glass-fill); }
.pxa-aff-hero h3 { color: #f4f4f6; }
.pxa-aff-badge { background: rgba(255, 255, 255, .06); color: #f4f4f6; border: 1px solid var(--pa-glass-line-2); box-shadow: 0 0 0 8px rgba(255, 255, 255, .03), 0 16px 40px -14px rgba(0, 0, 0, .7); }
.pxa-eyebrow { color: #aeb1ba; }

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

/* ---- notifications dropdown ---- */
.header-notifications { background: var(--pa-glass) !important; border: 1px solid var(--pa-glass-line) !important; -webkit-backdrop-filter: var(--pa-glass-blur); backdrop-filter: var(--pa-glass-blur); }
.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: #e6e7ea; }
.pxn-ic { background: var(--pa-glass-fill-2); --nav-icon-accent: #c9ccd3; }
.pxn-ic.is-security { background: var(--pa-glass-fill-2); --nav-icon-stroke: #e6e7ea; }

/* 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 #121318 inset; box-shadow: 0 0 0 1000px #121318 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: #16171c !important; }
}
@media (max-width: 900px) {
  .pxa-acc-card { background: rgba(16, 17, 21, .9); }
  .pxa-panel { background: rgba(20, 21, 26, .86); }
  .pxa-panel::before { background: rgba(255, 255, 255, .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(255, 255, 255, .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: #d9b263; }
.wallet-caret { width: 14px; height: 14px; flex-shrink: 0; fill: none; stroke: #8a8d97; 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: var(--pa-glass-blur); backdrop-filter: var(--pa-glass-blur);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 24px 60px -18px rgba(0, 0, 0, .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(228, 187, 104, .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: #d9b263; }
.pxc-menu button.is-on .pxa-flag { border-color: rgba(228, 187, 104, .45); color: #e4bb68; }
.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(228, 187, 104, .45); color: #e4bb68; }

/* 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: #8a8d97; }
.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(228, 187, 104, .6), transparent); pointer-events: none; }
.px-avatar.is-xl { box-shadow: inset 0 2px 0 rgba(255, 255, 255, .18), 0 0 0 3px rgba(12, 13, 16, .9), 0 0 0 4px rgba(228, 187, 104, .45), 0 12px 30px -10px rgba(0, 0, 0, .7); }
.pxa-p-code { color: #e4bb68; background: rgba(228, 187, 104, .1); }
.pxa-p-item, .pxa-p-foot .pxa-btn-ghost { --nav-icon-accent: #d9b263; }
.pxa-p-item:hover .px-ic-svg { color: #e4bb68; }
.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: #d9b263; }
.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(228, 187, 104, .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: #d9b263; 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; }
}
