
/* apon-v177 : verify close button, referral colours, support page redesign */

/* ===== 1) VERIFY PAYMENT: close (X) button ===== */
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #apon-vp .vp-card{position:relative}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #apon-vp .vp-x{position:absolute;top:14px;right:14px;width:36px;height:36px;padding:0;border-radius:50%;display:grid;place-items:center;cursor:pointer;z-index:5;color:#f6d776;background:rgba(255,255,255,.06)!important;border:1px solid rgba(246,215,118,.38)!important;box-shadow:0 4px 14px rgba(0,0,0,.35);-webkit-tap-highlight-color:transparent;transition:background .2s,transform .15s}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #apon-vp .vp-x:active{transform:scale(.9);background:rgba(246,215,118,.18)!important}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #apon-vp .vp-x svg{width:16px;height:16px;pointer-events:none}

/* ===== 2) REFER & EARN : multi colour (no all-yellow) ===== */
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-referral .rfx .rfx-invite{background:linear-gradient(160deg,rgba(34,211,238,.10),#0c1426 55%,rgba(139,92,246,.10))!important;border:1.5px solid rgba(34,211,238,.45)!important;box-shadow:0 0 22px rgba(34,211,238,.12)!important}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-referral .rfx .rfx-it{color:#fff!important;text-shadow:0 0 14px rgba(139,92,246,.55)}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-referral .rfx .rfx-badge{color:#6ee7b7!important;background:rgba(52,211,153,.10)!important;border:1px solid rgba(52,211,153,.5)!important}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-referral .rfx .rfx-idesc{color:#c7d2fe!important}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-referral .rfx .rfx-idesc strong{color:#22d3ee!important}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-referral .rfx .rfx-linkbox{background:rgba(34,211,238,.06)!important;border:1.5px dashed rgba(34,211,238,.65)!important}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-referral .rfx .rfx-lt{color:#a78bfa!important}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-referral .rfx .rfx-ltx{color:#67e8f9!important}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-referral .rfx .rfx-copy{background:linear-gradient(90deg,#8b5cf6,#3b82f6)!important;color:#fff!important;box-shadow:0 6px 20px rgba(99,102,241,.4)!important}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-referral .rfx .rfx-copy i{color:#fff!important}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-referral .rfx .rfx-share{color:#22d3ee!important;border:1px solid rgba(34,211,238,.55)!important;background:rgba(34,211,238,.07)!important}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-referral .rfx .rfx-users{background:linear-gradient(160deg,rgba(139,92,246,.10),#0c1426 50%)!important;border:1.5px solid rgba(139,92,246,.45)!important;box-shadow:0 0 22px rgba(139,92,246,.12)!important}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-referral .rfx .rfx-ut{color:#fff!important}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-referral .rfx .rfx-ut i{color:#a78bfa!important}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-referral .rfx .rfx-ub{color:#22d3ee!important;border:1px solid rgba(34,211,238,.5)!important;background:rgba(34,211,238,.08)!important}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-referral .rfx .rfx-search i{color:#a78bfa!important}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-referral .rfx .rfx-search input{background:#0b1222!important;border:1px solid rgba(139,92,246,.4)!important}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-referral .rfx .rfx-search input:focus{border-color:#22d3ee!important;box-shadow:0 0 12px rgba(34,211,238,.28)!important}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-referral .rfx .rfx-th{background:rgba(139,92,246,.14)!important;border:1px solid rgba(139,92,246,.25)}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-referral .rfx .rfx-th span{color:#c4b5fd!important}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-referral .ref-network-row{background:rgba(255,255,255,.035)!important;border:1px solid rgba(99,102,241,.28)!important;color:#fff!important}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-referral .ref-network-row .g89-av{background:linear-gradient(135deg,#8b5cf6,#3b82f6)!important;color:#fff!important;border:0!important}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-referral .ref-network-row>span:not(.g89-av){color:#fff!important}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-referral .ref-network-row>b{color:#6ee7b7!important;background:rgba(52,211,153,.10)!important;border:1px solid rgba(52,211,153,.45)!important}

/* ===== 3) SUPPORT TICKET page redesign ===== */
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-wrap{gap:14px}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-hero{position:relative;display:flex;align-items:center;gap:14px;padding:18px 16px;border-radius:22px;overflow:hidden;background:linear-gradient(135deg,#1b1146 0%,#0f1d44 55%,#0b2a3f 100%)!important;border:1.5px solid rgba(139,92,246,.55);box-shadow:0 12px 34px rgba(0,0,0,.5),0 0 26px rgba(139,92,246,.22)}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-hero::after{content:"";position:absolute;right:-40px;top:-40px;width:150px;height:150px;border-radius:50%;background:radial-gradient(circle,rgba(34,211,238,.35),transparent 70%);pointer-events:none}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-hico{flex:0 0 56px;width:56px;height:56px;border-radius:18px;display:grid;place-items:center;font-size:26px;color:#fff;background:linear-gradient(135deg,#8b5cf6,#22d3ee);box-shadow:0 8px 22px rgba(99,102,241,.5);animation:sx177float 3.2s ease-in-out infinite}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-htx{position:relative;z-index:1;min-width:0}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-htx h1{margin:0 0 4px;font:900 18px/1.2 Orbitron,Inter,sans-serif;letter-spacing:2px;color:#fff;text-shadow:0 0 14px rgba(139,92,246,.7)}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-htx p{margin:0;font-size:12px;line-height:1.45;color:#b9c4ee}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-st{padding:12px 6px;border-radius:16px;text-align:center;border:1.5px solid rgba(var(--c),.5);background:linear-gradient(160deg,rgba(var(--c),.16),#0c1426 80%);box-shadow:0 0 14px rgba(var(--c),.14)}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-st.a{--c:34,211,238}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-st.b{--c:251,191,36}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-st.c{--c:52,211,153}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-st b{display:block;font:900 22px/1.1 Orbitron,Inter,sans-serif;color:#fff;text-shadow:0 0 12px rgba(var(--c),.55)}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-st span{display:block;margin-top:5px;font:800 10px/1 Inter,sans-serif;letter-spacing:1.2px;color:rgb(var(--c))}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-banner{background:linear-gradient(135deg,#0f1830,#0a1020)!important;border-radius:18px;padding:14px}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-banner.support{border:1.5px solid rgba(251,191,36,.5)!important;box-shadow:0 0 16px rgba(251,191,36,.12)!important}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-banner.channel{border:1.5px solid rgba(56,189,248,.5)!important;box-shadow:0 0 16px rgba(56,189,248,.12)!important}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-banner:active{transform:scale(.98)!important}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-create{padding:17px;border-radius:16px;letter-spacing:1.5px;background:linear-gradient(90deg,#8b5cf6,#6366f1 50%,#06b6d4)!important;box-shadow:0 8px 26px rgba(99,102,241,.5)!important}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-tickets,html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-panel{background:linear-gradient(180deg,#0e1730,#0a1020)!important;border:1.5px solid rgba(99,102,241,.4)!important;border-top:3px solid #22d3ee!important;box-shadow:0 12px 34px rgba(0,0,0,.5)!important}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-th h2{color:#fff!important;letter-spacing:2px;display:flex;align-items:center;gap:8px}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-th h2::before{content:"";width:5px;height:18px;border-radius:3px;background:linear-gradient(180deg,#22d3ee,#8b5cf6)}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-th span:not(.sx-back){color:#22d3ee;background:rgba(34,211,238,.1);border:1px solid rgba(34,211,238,.4);padding:5px 12px;border-radius:20px;font-size:11px;letter-spacing:1px}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-th .sx-back{color:#fff;background:rgba(139,92,246,.2);border:1px solid rgba(139,92,246,.55);padding:6px 14px;border-radius:20px;font-size:12px;font-weight:800}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-ticket{position:relative;padding:16px 15px 14px 19px;border-radius:18px;overflow:hidden;background:linear-gradient(160deg,#111b36,#0b1226)!important;border:1px solid rgba(99,102,241,.3)!important}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-ticket::before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:linear-gradient(180deg,#fbbf24,#f59e0b)}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-ticket.st-solved::before{background:linear-gradient(180deg,#34d399,#10b981)}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-ticket:active{transform:scale(.985)!important}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-id{color:#22d3ee!important;background:rgba(34,211,238,.1);padding:4px 10px;border-radius:9px;border:1px solid rgba(34,211,238,.3)}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-pill{display:inline-flex;align-items:center;gap:6px;color:#fbbf24!important;background:rgba(251,191,36,.1)!important;border:1px solid rgba(251,191,36,.5)!important}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-pill.solved{color:#34d399!important;background:rgba(52,211,153,.1)!important;border-color:rgba(52,211,153,.5)!important}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-pill i{font-size:11px}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-ticket .sx-sub{color:#fff!important}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-last{color:#9fb0d6!important}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-foot{color:#8294c4!important}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-cat{color:#c4b5fd;background:rgba(139,92,246,.14);border:1px solid rgba(139,92,246,.35);padding:3px 10px;border-radius:20px;font-weight:700}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-empty{border:1.5px dashed rgba(99,102,241,.4);border-radius:16px;background:rgba(99,102,241,.05);color:#b9c4ee!important}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-empty i{color:#8b5cf6!important;font-size:38px}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-lab{color:#a5b4fc!important}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-in,html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-ta,html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-sel{background:#0a1124!important;border:1px solid rgba(99,102,241,.4)!important;border-radius:14px!important}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-in:focus,html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-ta:focus,html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-sel:focus{border-color:#22d3ee!important;box-shadow:0 0 14px rgba(34,211,238,.25)!important}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-up{border:1.5px dashed rgba(34,211,238,.5)!important;background:rgba(34,211,238,.05)!important;border-radius:14px}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-meta>div{background:#0a1124!important;border:1px solid rgba(99,102,241,.35)!important}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-chat{display:flex;flex-direction:column;gap:9px;max-height:46vh;overflow-y:auto;padding:4px 2px 8px}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-b{max-width:84%;padding:10px 13px;border-radius:16px;font-size:13.5px;line-height:1.5;word-break:break-word;color:#fff}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-b small{display:block;margin-top:5px;font-size:10px;opacity:.65}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-b.user{align-self:flex-end;background:linear-gradient(135deg,#7c3aed,#3b82f6)!important;border-bottom-right-radius:5px;box-shadow:0 6px 16px rgba(99,102,241,.3)}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-b.admin{align-self:flex-start;background:#0f2a2a!important;border:1px solid rgba(52,211,153,.5);border-bottom-left-radius:5px}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-b.admin em{display:block;margin-bottom:4px;font:800 10px/1 Inter,sans-serif;font-style:normal;letter-spacing:1px;color:#34d399}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-b.sys{align-self:center;max-width:94%;text-align:center;background:rgba(251,191,36,.08)!important;border:1px dashed rgba(251,191,36,.4);color:#fde68a;font-size:12px}
html:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) body #page-support .sx-solved{padding:11px 13px;border-radius:14px;margin:0 0 12px;font-size:12.5px;line-height:1.5;color:#a7f3d0;background:rgba(52,211,153,.1);border:1px solid rgba(52,211,153,.4)}
@keyframes sx177float{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@media(prefers-reduced-motion:reduce){#page-support .sx-hico{animation:none!important}}
