/* L1017n Midnight — visual-only design system, 2026-11-04.
   Payment, order status, account permission checks and product data are untouched.
   Intentional: brand artwork, warning/danger states and unavailable labels keep
   their semantic colors for usability. */
:root{
  color-scheme:dark;
  --bg:#060709;--panel:#111216;--panel2:#191a20;--line:#33363e;
  --text:#f6f7f9;--muted:#a5a9b2;
  --surface:#111216;--surface-2:#191a20;--surface-elevated:#202127;
  --border-color:#363840;
  --green:#e9ecf3;--green2:#c7cbd5;--purple:#d5d8e1;
  --l1017-black:#060709;
  --l1017-charcoal:#111216;
  --l1017-raised:#1a1c22;
  --l1017-line:#363942;
  --l1017-silver:#e7eaf0;
  --l1017-danger:#ff6977;
}
html{background:#060709!important;color-scheme:dark}
body,body.l1017-live-ui{
  background:radial-gradient(ellipse 110% 38% at 50% -14%,#24262c 0%,transparent 72%),#060709!important;
  color:#f6f7f9!important;
}
body::before{background:radial-gradient(ellipse 85% 50% at 50% 0%,#b2bbc711,transparent 77%)!important}
body::after{pointer-events:none!important}
:is(#storeView,#walletView,#ordersView,#accountView,#offersView,#referralsView,#rankingView,#adminView,#subscriptionsView){
  color:#f3f4f7!important;
  background-color:#07080b!important;
}
#accountView:has(#accountModern:not(.hidden)){background:#07080b!important}
/* Shell and menus */
.topbar,body.l1017-live-ui .topbar,#llLanding .ph-topbar{
  background:rgba(9,10,13,.97)!important;
  border-bottom:1px solid #393b43!important;
  box-shadow:0 15px 34px #0009!important;
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}
.topbar .brand b,.topbar .google-welcome strong{color:#fff!important;text-shadow:none!important}
.topbar .brand small,.topbar .google-welcome-label{color:#afb3be!important}
.topbar .google-profile-button,#googleProfileButton{
  border-color:#aeb4c3!important;
  background:#1a1b21!important;
  box-shadow:0 0 0 3px #ffffff0e,0 5px 17px #0005!important;
}
.topbar #customerWalletChip,.topbar .account-wallet-group #customerWalletChip{
  border:1px solid #60636d!important;
  background:linear-gradient(125deg,#202126,#111216)!important;
  box-shadow:inset 0 1px #ffffff12,0 6px 18px #0004!important;
}
.topbar #customerTopupShortcut,.topbar .account-wallet-group #customerTopupShortcut{
  background:linear-gradient(145deg,#424650,#24262e)!important;
  color:#fff!important;
  box-shadow:0 3px 12px #0006!important;
}
.topbar #accountBtn,.ph-header-menu,.topbar .desktop-nav .nav-link,
#llLanding .ph-header-menu,.topbar .ph-header-menu{
  background:#181a20!important;
  border-color:#444852!important;
  color:#eff0f5!important;
  box-shadow:inset 0 1px #ffffff0b!important;
}
.topbar .desktop-nav .nav-link.active{
  background:#30323a!important;
  border-color:#777a84!important;
  color:#fff!important;
}
.mobile-nav,.mobile-bottom-nav,.bottom-nav,#llBottomNav,.gb-bottom-nav{
  background:rgba(11,12,15,.97)!important;
  border-color:#44464f!important;
  box-shadow:0 -12px 33px #0008!important;
  backdrop-filter:blur(15px);
  -webkit-backdrop-filter:blur(15px);
}
.mobile-nav button,.bottom-nav button,.mobile-bottom-nav button{
  background:transparent!important;
  color:#b5b8c3!important;
}
.mobile-nav button.active,.mobile-nav button[aria-current="page"],
.mobile-bottom-nav button.active,.bottom-nav button.active{
  color:#fff!important;
  background:#26282f!important;
}
/* Page titles and general surfaces */
.section-head h1,.section-head h2,.section-head h3,
#accountView h2,#ordersView h2,#walletView h2{color:#fafbff!important}
.section-head p,.muted,.form-note{color:#a4a8b4!important}
:is(.panel,.card,.box,.section-card,.admin-dashboard){
  border-color:#393b45!important;
}
#accountView .account-panel,
#ordersView .orders-premium-board,
#ordersView .orders-modern-card,
#ordersView .orders-track-panel,
#ordersView .orders-view-dialog[open],
#accountModern .account-id-card,
#accountModern .account-balance-summary,
#accountModern .account-settings-list,
#accountModern .account-settings-detail,
#accountModern .account-contact-options,
#l1017nFaqPage,.l1017-ref-compact-missions,
#referralsView #l1017Referrals .l1017-ref-compact-missions{
  background:linear-gradient(145deg,#191a1f,#101115 74%)!important;
  border-color:#3b3d46!important;
  box-shadow:inset 0 1px #ffffff08,0 12px 30px #0005!important;
}
#accountModern .account-id-card{
  background:radial-gradient(ellipse at 5% 4%,#74798533,transparent 58%),linear-gradient(130deg,#2a2c33,#111216 83%)!important;
  border:1px solid #646772!important;
}
#accountModern .account-id-card:before{color:#ffffff07!important}
#accountModern .account-id-details span,
#accountModern .account-id-details small{color:#ccd0dc!important}
#accountModern .account-id-avatar{border-color:#c1c4cd!important;background:#34363f!important}
#accountModern .account-settings-list>button,
#accountModern .account-contact-options>button{
  border-bottom-color:#363942!important;
  color:#e9ebef!important;
}
#accountModern .account-settings-list .account-row-icon{
  background:linear-gradient(145deg,#32343c,#202127)!important;
  color:#e2e5ed!important;
  border-color:#575963!important;
}
#accountModern .account-core-settings>button:hover,
#accountModern .account-contact-options>button:hover{
  background:#ffffff0b!important;
}
#accountView #signedInProfile{
  background:#191a1f!important;
  border-color:#454750!important;
}
#accountView #accountPhoneGate{
  background:#16181d!important;
  border-color:#42454c!important;
}
#accountView .account-avatar{
  background:linear-gradient(140deg,#d4d7de,#9096a1)!important;
  color:#13151a!important;
}
#personalDetailsPage.premium-personal-profile{
  background:radial-gradient(ellipse 95% 40% at 50% -10%,#35384155,transparent 85%),#08090d!important;
}
#personalDetailsPage.premium-personal-profile .personal-page-user{
  background:radial-gradient(ellipse at 15% 0%,#70737f4d,transparent 64%),linear-gradient(130deg,#24262e,#121319)!important;
  border-color:#656873!important;
  box-shadow:0 15px 34px #0008,inset 0 1px #ffffff13!important;
}
#personalDetailsPage.premium-personal-profile .personal-page-avatar{
  background:linear-gradient(130deg,#464953,#24262c)!important;
  border-color:#b1b3c0!important;
  color:#fff!important;
  box-shadow:0 0 0 5px #ffffff0b,0 8px 22px #0007!important;
}
/* Game catalog: dark surfaces, keep artwork color and unavailable state */
#storeView .ph-hero,#storeView .ph-slide{
  background:radial-gradient(ellipse 110% 110% at 80% 4%,#343844aa,transparent 75%),linear-gradient(120deg,#17191f,#0c0e13 80%)!important;
  border-color:#51545f!important;
  box-shadow:0 18px 38px #0008!important;
}
#storeView .ph-hero::before{opacity:.22!important}
#storeView .ph-slide h1 span,#storeView .ph-slide h2 span,
#storeView .ph-hero h1 span{color:#f6f7fa!important;text-shadow:0 2px 12px #0007!important}
#storeView .game-tile,
#storeView .game-tile-btn,
#storeView .ph-news-card,
#storeView .gbqa-action{
  background:linear-gradient(145deg,#1b1d23,#0e1014)!important;
  border-color:#4c4e58!important;
  box-shadow:0 9px 23px #0005!important;
}
#storeView .game-tile-art{
  background-color:#16171b!important;
}
#storeView .game-tile-info{background:#15161b!important}
#storeView .game-tile-info strong{color:#fff!important}
#robloxGamePage,
#robloxGamePage.rgp-mm2-page,#robloxGamePage.rgp-brainrot-page,
#pubgCategoryPage,#l1017nFaqPage{
  background:radial-gradient(ellipse at 62% -8%,#303239 0,transparent 64%),#08090c!important;
  color:#f7f7fa!important;
}
#robloxGamePage .rgp-top,#robloxGamePage.rgp-inner-page .rgp-top{
  background:#101216f2!important;
  border-color:#43464e!important;
}
#robloxGamePage .rgp-package,
#robloxGamePage .rgp-card,
#pubgCategoryPage .pubg-item,
#l1017nFaqPage .faq-card,
#storeView #l1017nFaqInline,
#referralsView #l1017Referrals .l1017-ref-compact-row,
.sab-item-card{
  background:linear-gradient(135deg,#202127,#111217)!important;
  border-color:#4a4b54!important;
  box-shadow:inset 0 1px #ffffff0a,0 7px 19px #0004!important;
}
#robloxGamePage .rgp-package.rgp-soldout{
  background:#171217!important;
  border-color:#693f49!important;
}
#robloxGamePage .mm2-item-art,
#robloxGamePage.rgp-mm2-page .rgp-mm2-subcategory .rgp-package .mm2-item-art{
  background:radial-gradient(ellipse at 50% 35%,#343741,#181a20 70%,#101116)!important;
  border-color:#42434a!important;
}
#storeView #l1017nFaqInline .l1017-inline-faq-head{
  background:linear-gradient(120deg,#22242b,#121318)!important;
  border-color:#50525c!important;
}
#storeView #l1017nFaqInline .l1017-inline-faq-item{
  background:#1c1d22!important;border-color:#41434c!important;
}
#l1017nFaqPage .faq-hero,
#l1017nFaqPage .faq-support{background:#17191e!important;border-color:#41444c!important}
/* Wallet page: neutral cards, retain carrier brand marks so users can distinguish. */
#walletView,#walletView .wallet-actions,
#walletView .wallet-carousel>.wallet-hero,
#walletView .wallet-carousel>.madar-wallet-card,
#walletView .primary-wallet-card,
#walletView .wallet-transactions,
#walletView .wallet-history,
#walletView .wallet-showcase{
  background:radial-gradient(ellipse 85% 75% at 10% 0%,#45475147,transparent 69%),linear-gradient(140deg,#1f2026,#101115 80%)!important;
  border-color:#51535e!important;
}
#walletView .wallet-carousel>.wallet-hero,
#walletView .wallet-carousel>.madar-wallet-card{
  box-shadow:0 17px 37px #0009,inset 0 1px #ffffff14!important;
}
#walletView .wallet-hero-balance strong,
#walletView .madar-wallet-balance strong{
  color:#fff!important;
}
#walletView .wallet-carousel-dots span.active{
  background:#e1e3e8!important;
}
/* Referrals, missions and checkout */
#referralsView #l1017Referrals,
#referralsView #l1017Referrals .l1017-ref-link-row,
#referralsView #l1017Referrals .l1017-mission-tabs,
#referralsView #l1017Referrals .l1017-ref-code-card{
  background:#15161b!important;
  border-color:#41434a!important;
}
#referralsView #l1017Referrals .l1017-mission-tabs button.is-active{
  background:linear-gradient(125deg,#4a4c54,#282a31)!important;
  border-color:#9295a0!important;
}
#referralsView #l1017Referrals .l1017-mission-tabs button[data-l1017-mission-tab].is-active{
  background:linear-gradient(125deg,#4a4c54,#292b31)!important;
  border-color:#8b8e99!important;
}
#rgpMm2Checkout .mm2-checkout-box,
#robuxPurchaseScreen,
#robuxModal .robux-store-box,
#sabCheckout .sab-dialog,
#ordersView #ordersList .orders-view-dialog[open]{
  background:linear-gradient(135deg,#202127,#0f1014)!important;
  border-color:#4b4e56!important;
  color:#f5f6f9!important;
}
/* Consistent controls: unified shape, typography, hover and press animations.
   Do NOT flatten product tiles or round icon-only navigation to huge pills. */
:is(.btn,.auth-google-button,.ph-shop-button,.ph-slide-button,
    .robux-checkout-next,.sab-buy,.rgp-back,.gb-package-back,
    #topupProceed,#l1017CopyRefLink,#l1017ShareRef,
    .l1017-mission-claim-btn,.faq-filter,.faq-back,
    #accountView .account-wallet-link,
    #walletView .wallet-candy-topup,
    #referralsView #l1017Referrals .l1017-mission-tabs button){
  border-radius:14px!important;
  font-family:'IBM Plex Sans Arabic',system-ui,sans-serif!important;
  font-weight:800!important;
  letter-spacing:0!important;
  touch-action:manipulation!important;
  -webkit-tap-highlight-color:transparent;
}
:is(.btn,.ph-shop-button,.ph-slide-button,.robux-checkout-next,
    .sab-buy,.rgp-back,.gb-package-back,#topupProceed,
    #accountView .account-wallet-link){
  min-height:44px!important;
  border:1px solid #787b85!important;
  background:linear-gradient(135deg,#373941,#22242b)!important;
  color:#fafbff!important;
  box-shadow:inset 0 1px #ffffff15,0 5px 14px #0005!important;
}
:is(.btn,.auth-google-button,.ph-shop-button,.ph-slide-button,
    .robux-checkout-next,.sab-buy,.rgp-back,.gb-package-back,
    #topupProceed,#l1017CopyRefLink,#l1017ShareRef,
    .l1017-mission-claim-btn,.faq-filter,.faq-back,
    #walletView .wallet-action,#walletView .wallet-candy-topup,
    #storeView .gbqa-action,
    #referralsView #l1017Referrals .l1017-mission-tabs button,
    .topbar button,.mobile-nav button,
    #accountModern .account-settings-list>button,
    #accountModern .account-contact-options>button){
  transition:transform .18s cubic-bezier(.22,.7,.25,1),
    border-color .18s ease,background-color .18s ease,
    filter .18s ease,box-shadow .18s ease!important;
}
:is(.btn,.auth-google-button,.ph-shop-button,.ph-slide-button,
    .robux-checkout-next,.sab-buy,.rgp-back,.gb-package-back,
    #topupProceed,#l1017CopyRefLink,#l1017ShareRef,
    .l1017-mission-claim-btn,.faq-filter,.faq-back,
    #walletView .wallet-action,#walletView .wallet-candy-topup,
    #storeView .gbqa-action):not(:disabled):hover{
  filter:brightness(1.16)!important;
  border-color:#bfc2cb!important;
  box-shadow:inset 0 1px #ffffff25,0 7px 19px #0007!important;
}
:is(.btn,.auth-google-button,.ph-shop-button,.ph-slide-button,
    .robux-checkout-next,.sab-buy,.rgp-back,.gb-package-back,
    #topupProceed,#l1017CopyRefLink,#l1017ShareRef,
    .l1017-mission-claim-btn,.faq-filter,.faq-back,
    #walletView .wallet-action,#walletView .wallet-candy-topup,
    #storeView .gbqa-action,
    .topbar button,.mobile-nav button,
    #referralsView #l1017Referrals .l1017-mission-tabs button,
    #accountModern .account-settings-list>button):not(:disabled):active{
  transform:scale(.965)!important;
  filter:brightness(1.24)!important;
}
:is(button,a,[role="button"],input,select,textarea):focus-visible{
  outline:2px solid #e1e4ee!important;
  outline-offset:3px!important;
}
button:disabled,[aria-disabled="true"]{
  cursor:not-allowed!important;
  filter:saturate(.55);
}
#googleSignInBtn,.auth-google-button{
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(140deg,#e9eaf0,#cfd2da)!important;
  color:#17191e!important;
  border:1px solid #fff!important;
  box-shadow:0 8px 24px #0006!important;
}
#googleSignInBtn .auth-google-label{color:#16181d!important}
#googleSignInBtn .auth-google-letter{
  background:#fff!important;
  color:#3b404a!important;
  border-radius:9px!important;
}
#accountView .auth-mode-switch button.active{
  background:#d4d6df!important;
  border-color:#fff!important;
  color:#17191e!important;
}
#accountView .auth-input-wrap,#accountView input:not([type="checkbox"]),
#accountView select,#accountView textarea,
#walletView input,#walletView select,
#referralsView input{
  background:#17181d!important;
  color:#f8f9fb!important;
  border-color:#555862!important;
}
#accountView input::placeholder,#walletView input::placeholder,
#referralsView input::placeholder{color:#969aa6!important}
/* Logout must be clearly dangerous, and never shown to anonymous visitors. */
#accountView #logoutBtn:not(.hidden){
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  min-height:49px!important;
  padding:12px 22px!important;
  border:1px solid #ff6576!important;
  border-radius:15px!important;
  background:linear-gradient(132deg,#a52235,#751a29)!important;
  color:#fff!important;
  font-weight:900!important;
  box-shadow:0 8px 23px #ab142d52,inset 0 1px #ff9fab31!important;
}
#accountView #logoutBtn:not(.hidden):hover{
  background:linear-gradient(132deg,#bd3045,#8e1e32)!important;
  border-color:#ff9ba5!important;
  box-shadow:0 9px 26px #b3183166!important;
}
#accountView #logoutBtn:not(.hidden):active{transform:scale(.96)!important}
#accountView #logoutBtn.hidden{display:none!important}
/* Clean, readable re-entry hint. Never displays the last user's email
   before authentication — important for shared phones and browser privacy. */
#accountView .auth-returning-tip{
  margin:12px 0 0!important;
  display:flex!important;
  align-items:flex-start!important;
  gap:9px!important;
  padding:11px 12px!important;
  background:#1d1f25!important;
  border:1px solid #464952!important;
  border-radius:13px!important;
  color:#c4c7d1!important;
  font-size:12px!important;
  line-height:1.8!important;
}
#accountView .auth-returning-tip svg{
  width:19px;height:19px;
  flex:0 0 19px;
  margin-top:2px;
  color:#a5e1be;
  stroke:currentColor;fill:none;
}
/* Accessibility and fluid small screens */
@media(max-width:600px){
  .topbar,.topbar button,.mobile-nav button{touch-action:manipulation}
  #storeView .ph-hero,#storeView .ph-slide{border-radius:19px!important}
  #accountModern .account-id-card{border-radius:21px!important}
  #walletView .wallet-carousel>.wallet-hero,
  #walletView .wallet-carousel>.madar-wallet-card{border-radius:21px!important}
  #referralsView #l1017Referrals .l1017-mission-tabs button{
    border-radius:11px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto!important}
  :is(button,.btn,a,[role="button"]){animation:none!important;transition:none!important;scroll-behavior:auto!important}
}


/* L1017N VIOLET ON BLACK — original site artwork, buttons and UI, 2026-11-04.
   Brand accents #8B5CF6 / #B69AFF; backgrounds #07070C / #15121E.
   Business logic, prices, product thumbnails, carrier identifiers and semantic
   success/error/stock messages are intentionally not modified. */
:root{
  --bg:#07070c;--panel:#111018;--panel2:#1c1827;--line:#4e4266;
  --text:#faf8ff;--muted:#aaa3bb;--surface:#14111d;--surface-2:#1e192b;
  --surface-elevated:#252034;--border-color:#534365;
  --green:#a78bfa;--green2:#8b5cf6;--purple:#a78bfa;
  --l1017-charcoal:#121018;--l1017-raised:#201a2c;
  --l1017-line:#56466b;--l1017-silver:#ded2ff;
  --l1017-violet:#8b5cf6;--l1017-lilac:#c4b5fd;
  --l1017-purple-shadow:#6d28d941;
}
html{background:#07070c!important}
body,body.l1017-live-ui{
  background:
    radial-gradient(ellipse 85% 27% at 50% -12%,#6435b15b 0%,transparent 78%),
    radial-gradient(ellipse 60% 32% at 98% 55%,#351a5445,transparent 90%),
    #07070c!important;
  color:#f9f7ff!important;
}
body::before{
  background:radial-gradient(ellipse at 18% 0%,#9857fd25,transparent 62%)!important;
}
:is(#storeView,#walletView,#ordersView,#accountView,#offersView,#referralsView,#rankingView,#adminView,#subscriptionsView){
  background-color:#08070d!important;color:#f8f6ff!important;
}
#accountView:has(#accountModern:not(.hidden)){background:#08070d!important}

/* Consistent purple header controls and navigation icons. */
.topbar,body.l1017-live-ui .topbar,#llLanding .ph-topbar{
  border-bottom:1px solid #624782!important;
  background:linear-gradient(110deg,#111018f7,#0b0911f8)!important;
  box-shadow:0 12px 37px #040107ab,0 1px 0 #9668e820!important;
}
.topbar .brand b,.topbar .google-welcome strong{color:#fff!important}
.topbar .brand small,.topbar .google-welcome-label{color:#beaee0!important}
.topbar .google-profile-button,#googleProfileButton{
  background:#241c33!important;
  border:2px solid #a88af3!important;
  box-shadow:0 0 0 3px #9c75f927,0 8px 19px #0006!important;
}
.topbar #customerWalletChip,.topbar .account-wallet-group #customerWalletChip{
  background:linear-gradient(120deg,#241b34,#111018)!important;
  border-color:#7b5aa7!important;
  box-shadow:inset 0 1px #ffffff18,0 8px 22px #18092a66!important;
}
.topbar #customerTopupShortcut,.topbar .account-wallet-group #customerTopupShortcut,
.topbar #accountBtn,.ph-header-menu,.topbar .ph-header-menu,
#llLanding .ph-header-menu{
  background:linear-gradient(140deg,#4e3281,#2b2145)!important;
  border:1px solid #9873d3!important;
  color:#f9f5ff!important;
  box-shadow:inset 0 1px #ffffff1d,0 5px 17px #3217595c!important;
}
.topbar .desktop-nav .nav-link{
  border-color:#504063!important;
  background:#211a2e!important;
  color:#e1d5f2!important;
}
.topbar .desktop-nav .nav-link.active{
  background:#624194!important;border-color:#ad83f1!important;color:#fff!important;
}
.mobile-nav,.mobile-bottom-nav,.bottom-nav,#llBottomNav,.gb-bottom-nav{
  background:linear-gradient(135deg,#121018f8,#08070efb)!important;
  border-color:#62477c!important;
  box-shadow:0 -12px 28px #050208a1!important;
}
.mobile-nav button,.bottom-nav button,.mobile-bottom-nav button{
  color:#baaed0!important;
}
.mobile-nav button.active,.mobile-nav button[aria-current="page"],
.mobile-bottom-nav button.active,.bottom-nav button.active{
  color:#172130!important;background:#fff!important;
  border-color:#fff!important;border-radius:17px!important;
  box-shadow:0 4px 14px #0004!important;
}
.mobile-nav button.active .nav-icon,
.mobile-nav button[aria-current="page"] .nav-icon,
.mobile-nav button.active .l1017-icon{
  color:#172130!important;stroke:currentColor!important;
}
.mobile-nav button.active span,
.mobile-nav button[aria-current="page"] span{
  color:#172130!important;
}

/* Black cards with purple edge lighting. */
#accountView .account-panel,
#ordersView .orders-premium-board,
#ordersView .orders-modern-card,
#ordersView .orders-track-panel,
#ordersView #ordersList .orders-view-dialog[open],
#accountModern .account-settings-list,
#accountModern .account-settings-detail,
#accountModern .account-contact-options,
#l1017nFaqPage,
#referralsView #l1017Referrals .l1017-ref-compact-missions{
  background:linear-gradient(145deg,#211a2d,#100e16 80%)!important;
  border-color:#55436f!important;
  box-shadow:inset 0 1px #e9d8ff0e,0 12px 28px #04010680!important;
}
#accountModern .account-id-card{
  background:
    radial-gradient(ellipse 60% 75% at 0% 3%,#9361dc66,transparent 76%),
    linear-gradient(120deg,#392651,#1a1426 80%)!important;
  border:1px solid #9d79cd!important;
  box-shadow:inset 0 1px #ffffff27,0 16px 36px #19092580!important;
}
#accountModern .account-id-card:before{color:#d8a7ff0c!important}
#accountModern .account-id-avatar{
  border-color:#d0b4ff!important;background:#5a3979!important;
  box-shadow:0 0 0 5px #a27af51b!important;
}
#accountModern .account-id-details small{
  background:#9d7aff31!important;color:#e9d9ff!important;
}
#accountModern .account-settings-list>button,
#accountModern .account-contact-options>button{border-color:#483655!important}
#accountModern .account-settings-list .account-row-icon{
  color:#d9c7ff!important;
  border-color:#8965ba!important;
  background:linear-gradient(145deg,#493366,#2a213a)!important;
}
#accountModern .account-core-settings>button:hover,
#accountModern .account-contact-options>button:hover{background:#70539a24!important}
#accountView .account-avatar{
  color:#fff!important;background:linear-gradient(140deg,#9e79e9,#543778)!important;
}
#accountView #signedInProfile,
#accountView #accountPhoneGate{
  background:#201827!important;border-color:#694d86!important;
}
#personalDetailsPage.premium-personal-profile{
  background:
    radial-gradient(ellipse 90% 38% at 45% -11%,#7143c753,transparent 80%),
    #08070d!important;
}
#personalDetailsPage.premium-personal-profile .personal-page-user{
  background:radial-gradient(ellipse at 9% 0%,#9360dd65,transparent 56%),
    linear-gradient(135deg,#33244e,#150f22)!important;
  border-color:#ab83e2!important;
}
#personalDetailsPage.premium-personal-profile .personal-page-avatar{
  background:linear-gradient(140deg,#a47ce7,#4a2c79)!important;
  color:#f7eeff!important;
  border-color:#c9b2ff!important;
  box-shadow:0 0 0 5px #c3a1ff20,0 12px 31px #3c196e66!important;
}
#personalDetailsPage.premium-personal-profile .premium-avatar-edit{
  background:linear-gradient(125deg,#9b6af5,#6f42c1)!important;
  border-color:#32214f!important;
}

/* Main page panels; no recoloring the actual Roblox/MM2/PUBG screenshots. */
#storeView .ph-hero,#storeView .ph-slide{
  background:
    radial-gradient(ellipse 80% 120% at 78% 3%,#6637ab95,transparent 74%),
    linear-gradient(118deg,#21162f,#0e0a16 82%)!important;
  border-color:#8a63bd!important;
  box-shadow:0 18px 44px #06020bad,inset 0 1px #ffffff14!important;
}
#storeView .ph-hero::before{opacity:.48!important}
#storeView .ph-hero h1 span,#storeView .ph-slide h1 span,
#storeView .ph-slide h2 span{
  color:#cfb8ff!important;
  text-shadow:0 0 16px #8b5cf679!important;
}
#storeView .game-tile,#storeView .game-tile-btn,
#storeView .ph-news-card,#storeView .gbqa-action{
  background:linear-gradient(140deg,#261b35,#110d1b)!important;
  border-color:#745794!important;
  box-shadow:0 9px 22px #0c0617a3!important;
}
#storeView .game-tile-info{background:linear-gradient(100deg,#211a2d,#15101d)!important}
#storeView .game-tile-info strong{color:#fff!important}
#robloxGamePage,#robloxGamePage.rgp-mm2-page,#robloxGamePage.rgp-brainrot-page,
#pubgCategoryPage,#l1017nFaqPage{
  background:radial-gradient(ellipse at 60% -12%,#4e31774d,transparent 65%),#09070f!important;
  color:#f8f6ff!important;
}
#robloxGamePage .rgp-top,#robloxGamePage.rgp-inner-page .rgp-top{
  background:#160f21f2!important;border-color:#755391!important;
}
#robloxGamePage .rgp-package,#robloxGamePage .rgp-card,
#pubgCategoryPage .pubg-item,#l1017nFaqPage .faq-card,
#storeView #l1017nFaqInline,
#referralsView #l1017Referrals .l1017-ref-compact-row,.sab-item-card{
  background:linear-gradient(135deg,#241a30,#120e1a)!important;
  border-color:#65487e!important;
}
#robloxGamePage .mm2-item-art,
#robloxGamePage.rgp-mm2-page .rgp-mm2-subcategory .rgp-package .mm2-item-art{
  background:radial-gradient(ellipse at 50% 36%,#51376e,#24182f 64%,#0e0b13)!important;
  border-color:#684d86!important;
}
#storeView #l1017nFaqInline .l1017-inline-faq-head{
  background:radial-gradient(ellipse 95% 95% at 82% 45%,#7653b34b,transparent 76%),
    linear-gradient(110deg,#2b1d42,#120e1b)!important;
  border-color:#916cc3!important;
}
#storeView #l1017nFaqInline .l1017-inline-faq-item{
  background:linear-gradient(115deg,#291c3b,#16101f)!important;
  border-color:#5d477c!important;
}
#storeView #l1017nFaqInline .l1017-inline-faq-item[open]{
  border-color:#bd99ff!important;background:#372449!important;
}
#storeView #l1017nFaqInline .l1017-inline-faq-tag{
  background:#8655c72c!important;color:#dbc5ff!important;
  border-color:#a67ce09f!important;
}

/* Original vector illustrations: switch their palette as well as their cards.
   These selectors are limited to decorative SVGs, not product images, warning
   icons, carrier logos or verified financial status colors. */
#storeView #l1017nFaqInline .l1017-faq-art svg #lfaqPhone stop:first-child{stop-color:#a477fa!important}
#storeView #l1017nFaqInline .l1017-faq-art svg #lfaqPhone stop:last-child{stop-color:#30204b!important}
#storeView #l1017nFaqInline .l1017-faq-art svg #lfaqScreen stop:first-child{stop-color:#533574!important}
#storeView #l1017nFaqInline .l1017-faq-art svg #lfaqScreen stop:last-child{stop-color:#160e24!important}
#storeView #l1017nFaqInline .l1017-faq-art svg #lfaqCard stop:first-child{stop-color:#c8a7ff!important}
#storeView #l1017nFaqInline .l1017-faq-art svg #lfaqCard stop:last-child{stop-color:#7650b8!important}
#storeView #l1017nFaqInline .l1017-faq-art svg #lfaqPackage stop:first-child{stop-color:#b89afd!important}
#storeView #l1017nFaqInline .l1017-faq-art svg #lfaqPackage stop:last-child{stop-color:#7341b4!important}
#storeView #l1017nFaqInline .l1017-faq-art svg{
  filter:drop-shadow(0 15px 18px #7d46c642)!important;
}
#storeView #l1017nFaqInline .l1017-inline-faq-index,
#storeView #l1017nFaqInline .l1017-inline-faq-index[data-tint]{
  background:linear-gradient(130deg,#604089,#312145)!important;
  border-color:#986cc7!important;color:#e4d2ff!important;
}
#storeView #l1017nFaqInline .l1017-inline-faq-index svg{
  stroke:currentColor!important;
}
#l1017nFaqPage .faq-hero{
  background:radial-gradient(ellipse 70% 48% at 50% 30%,#704ca94c,transparent 86%)!important;
}
#l1017nFaqPage .faq-hero-art svg #faqphoneGrad stop:first-child{stop-color:#a483fa!important}
#l1017nFaqPage .faq-hero-art svg #faqphoneGrad stop:last-child{stop-color:#3d255f!important}
#l1017nFaqPage .faq-hero-art svg #faqchatGrad stop:first-child{stop-color:#e0c5ff!important}
#l1017nFaqPage .faq-hero-art svg #faqchatGrad stop:last-child{stop-color:#7547bc!important}
#l1017nFaqPage .faq-hero-art svg #faqwalletGrad stop:first-child{stop-color:#b59aff!important}
#l1017nFaqPage .faq-hero-art svg #faqwalletGrad stop:last-child{stop-color:#6740a9!important}
#l1017nFaqPage .faq-number,
#l1017nFaqPage .faq-number[data-category]{
  background:linear-gradient(145deg,#5e3d85,#261938)!important;
  border-color:#8d63bd!important;color:#e6d3ff!important;
}
#l1017nFaqPage .faq-card[open]{
  background:#2a1c3a!important;border-color:#a079d1!important;
}
#l1017nFaqPage .faq-support{
  background:linear-gradient(120deg,#241830,#14101d)!important;
  border-color:#72528b!important;
}
#l1017nFaqPage .faq-support-icon{
  background:linear-gradient(130deg,#62448c,#35254d)!important;
  border-color:#b092e3!important;color:#f5ecff!important;
}
#ordersView .orders-empty-state{
  background:radial-gradient(ellipse 60% 60% at 50% 0%,#7f4dc046,transparent 95%),
    linear-gradient(120deg,#241930,#110d18)!important;
  border-color:#75518f!important;
}
#ordersView .orders-empty-state .orders-empty-mark svg #oEmptyA stop:first-child{
  stop-color:#be96ff!important;
}
#ordersView .orders-empty-state .orders-empty-mark svg #oEmptyA stop:last-child{
  stop-color:#6744a7!important;
}
#ordersView .orders-empty-state .orders-empty-mark svg{
  filter:drop-shadow(0 13px 16px #8c58dd36)!important;
}
#gbQuickActions .gbqa-art,#llLanding #gbQuickActions .gbqa-art,
#gbQuickActions .gbqa-art-wallet,#gbQuickActions .gbqa-art-store,#gbQuickActions .gbqa-art-orders{
  background:linear-gradient(140deg,#7548ae,#342249)!important;
  border-color:#bc92ef!important;color:#f3e9ff!important;
  box-shadow:inset 0 1px #ffffff2a,0 4px 11px #25123555!important;
}
#gbWalletGuide .gbwg-steps span,#gbWalletGuide .gbwg-steps span:nth-child(2),
#gbWalletGuide .gbwg-steps span:nth-child(3){
  background:linear-gradient(145deg,#36244d,#1d1429)!important;
  border-color:#7856a7!important;
}
#gbWalletGuide .gbwg-steps span svg,
#gbWalletGuide .gbwg-steps span:nth-child(2) svg,
#gbWalletGuide .gbwg-steps span:nth-child(3) svg{
  color:#d6bdff!important;stroke:currentColor!important;
}
#accountModern .account-id-stats .account-balance-icon,
#accountModern .account-balance-icon{
  background:linear-gradient(140deg,#513578,#251a36)!important;
  border-color:#9772c5!important;color:#e6d6ff!important;
}
/* Violet navigational icons, leave stock/error/success indicators intact. */
:is(.topbar,.mobile-nav,#accountModern .account-settings-list,
    #accountModern .account-contact-options,
    #gbQuickActions,.ph-header-menu) .l1017-icon{
  color:inherit;stroke:currentColor;
}

/* Wallet visuals and mission illustrations: preserve monetary values. */
#walletView .wallet-actions,#walletView .wallet-carousel>.wallet-hero,
#walletView .wallet-carousel>.madar-wallet-card,#walletView .primary-wallet-card,
#walletView .wallet-transactions,#walletView .wallet-history,#walletView .wallet-showcase{
  background:radial-gradient(ellipse 100% 76% at 5% 0%,#7950b24a,transparent 71%),
    linear-gradient(145deg,#281e34,#120e1a 84%)!important;
  border-color:#725695!important;
}
#walletView .wallet-carousel>.wallet-hero,
#walletView .wallet-carousel>.madar-wallet-card{
  box-shadow:0 17px 38px #000a,inset 0 1px #eedcff1a!important;
}
#walletView .wallet-carousel-dots span.active{background:#a477f4!important}
#walletView .wallet-actions .wallet-action:hover{background:#5c448132!important}
#referralsView #l1017Referrals,
#referralsView #l1017Referrals .l1017-ref-link-row,
#referralsView #l1017Referrals .l1017-mission-tabs,
#referralsView #l1017Referrals .l1017-ref-code-card{
  background:linear-gradient(145deg,#211829,#100d15)!important;
  border-color:#71528f!important;
}
#referralsView #l1017Referrals .l1017-mission-tabs button[data-l1017-mission-tab].is-active{
  background:linear-gradient(130deg,#7546b3,#4e2c7d)!important;
  border-color:#bb94ee!important;
}
#referralsView #l1017Referrals .l1017-ref-mission-underline{
  background:linear-gradient(270deg,#e1c6ff,#a87cf6 36%,transparent)!important;
}
#referralsView #l1017Referrals .l1017-mission-tabs button svg{
  color:currentColor!important;stroke:currentColor!important;
}
#referralsView #l1017Referrals .l1017-ref-compact-check{
  background:linear-gradient(145deg,#493263,#21172e)!important;
  border-color:#8b65b4!important;color:#ecdfff!important;
}
/* Design controls: coordinated black/purple surfaces, consistent motion. */
:is(.btn,.ph-shop-button,.ph-slide-button,.robux-checkout-next,
    .sab-buy,.rgp-back,.gb-package-back,#topupProceed,
    #accountView .account-wallet-link,
    #referralsView #l1017Referrals #l1017CopyRefLink,
    #referralsView #l1017Referrals #l1017ShareRef,
    #referralsView #l1017Referrals .l1017-mission-claim-btn,
    #storeView .gbqa-action){
  background:linear-gradient(140deg,#6e43aa,#442765)!important;
  border:1px solid #a37ce4!important;
  color:#fbf7ff!important;
  box-shadow:inset 0 1px #ffffff26,0 6px 17px #3e176a66!important;
}
:is(.btn,.ph-shop-button,.ph-slide-button,.robux-checkout-next,
    .sab-buy,#topupProceed,
    #referralsView #l1017Referrals #l1017CopyRefLink,
    #referralsView #l1017Referrals #l1017ShareRef,
    #referralsView #l1017Referrals .l1017-mission-claim-btn):not(:disabled):hover{
  background:linear-gradient(140deg,#8556d4,#56358b)!important;
  border-color:#d4baff!important;
  box-shadow:0 7px 21px #6c39b65c,inset 0 1px #ffffff2b!important;
}
#accountView .auth-mode-switch button.active{
  background:linear-gradient(135deg,#9d79ef,#7650b5)!important;
  color:#fff!important;border-color:#d1b7ff!important;
}
#accountView #googleSignInBtn,#accountView .auth-google-button{
  background:linear-gradient(135deg,#f7f2ff,#e0d6f3)!important;
  color:#211728!important;border-color:#ffffff!important;
}
#accountView .auth-google-label{color:#211728!important}
#accountView .auth-returning-tip{
  background:#241a2d!important;border-color:#72548f!important;color:#d8cbeb!important;
}
#accountView .auth-returning-tip svg{color:#b997ff!important}
#accountView .auth-input-wrap,#accountView input:not([type="checkbox"]),
#accountView select,#accountView textarea,
#walletView input,#walletView select,#referralsView input{
  background:#1a1422!important;color:#fbf8ff!important;
  border-color:#6d5285!important;
}
#accountView #logoutBtn:not(.hidden){
  /* The sign-out action remains RED for safety as requested. */
  background:linear-gradient(135deg,#a52235,#751a29)!important;
  border-color:#ff6576!important;
  box-shadow:0 8px 23px #ab142d52!important;color:#fff!important;
}
#accountView #logoutBtn:not(.hidden):hover{
  background:linear-gradient(135deg,#c53247,#8e1e32)!important;
  border-color:#ff9ba5!important;
}
#accountView #logoutBtn.hidden{display:none!important}
:is(button,a,[role="button"],input,select,textarea):focus-visible{
  outline-color:#d2afff!important;
}
/* Fluid outlines across phones and desktops; motion preferences respected. */
@media(max-width:600px){
  #accountModern .account-id-card{border-radius:21px!important}
  #storeView .ph-hero,#storeView .ph-slide{border-radius:19px!important}
  #storeView #l1017nFaqInline .l1017-inline-faq-head{
    border-radius:17px!important;
  }
  .topbar .google-profile-button{border-color:#ba99ff!important}
}
@media(prefers-reduced-motion:reduce){
  #storeView #l1017nFaqInline .l1017-faq-art,
  #storeView .ph-slide,#gbQuickActions .gbqa-art,
  #referralsView #l1017Referrals .l1017-mission-tabs button{
    animation:none!important;transition:none!important;
  }
}


/* Account and bottom navigation gentle sizing — 2026-11-04.
   ~10-15% more room for text and icon tap targets; preserves 6 nav destinations. */
#accountModern .account-group-title{
  font-size:16px!important;
  line-height:1.55!important;
  margin:26px 8px 15px!important;
}
#accountModern .account-core-settings > button[data-account-action]{
  min-height:80px!important;
  padding:14px 16px!important;
  gap:13px!important;
}
#accountModern .account-core-settings .account-row-icon{
  flex:0 0 48px!important;
  width:48px!important;
  height:48px!important;
  border-radius:14px!important;
}
#accountModern .account-core-settings .account-row-icon svg{
  width:26px!important;height:26px!important;
}
#accountModern .account-core-settings .account-core-copy{
  gap:5px!important;
}
#accountModern .account-core-settings .account-core-copy b{
  font-size:16px!important;
  line-height:1.5!important;
}
#accountModern .account-core-settings .account-core-copy small{
  font-size:12.25px!important;
  line-height:1.55!important;
  color:#bbb1c9!important;
}
#accountModern .account-core-settings .account-row-arrow{
  font-size:26px!important;
}
#accountModern .account-contact-options [data-account-action="help"],
#accountModern .account-contact-options [data-account-action="faq"],
#accountModern .account-contact-options .account-tiktok-link{
  min-height:78px!important;
  padding:13px 16px!important;
  gap:13px!important;
}
#accountModern .account-contact-options .account-row-icon{
  flex:0 0 47px!important;
  width:47px!important;
  height:47px!important;
  border-radius:14px!important;
}
#accountModern .account-contact-options .account-row-icon svg{
  width:25px!important;height:25px!important;
}
#accountModern .account-contact-options .account-contact-text b,
#accountModern .account-contact-options .account-tiktok-link b{
  font-size:16px!important;line-height:1.5!important;
}
#accountModern .account-contact-options .account-contact-text small,
#accountModern .account-contact-options .account-tiktok-link small{
  font-size:12.25px!important;line-height:1.5!important;
}
#accountModern .account-contact-options .account-row-arrow{
  font-size:25px!important;
}
#accountModern .account-id-details strong{
  font-size:clamp(22px,4.7vw,25px)!important;
}
#accountModern .account-id-details span{font-size:13.5px!important}
#accountModern .account-id-stats span{font-size:12.5px!important}
#accountModern .account-id-stats b{font-size:16px!important}
#accountView #logoutBtn:not(.hidden){
  min-height:54px!important;
  padding:13px 24px!important;
  font-size:16px!important;
}
/* Main mobile navigation from the original storefront. */
@media(max-width:680px){
  .mobile-nav:not(.hidden){
    min-height:calc(80px + env(safe-area-inset-bottom))!important;
    padding:10px 5px calc(10px + env(safe-area-inset-bottom))!important;
    align-items:stretch!important;
  }
  .mobile-nav>button{
    gap:6px!important;
    padding:5px 2px!important;
    min-width:0!important;
    touch-action:manipulation!important;
  }
  .mobile-nav>button .nav-icon{
    width:25px!important;height:25px!important;
  }
  .mobile-nav>button span{
    font-size:clamp(10.5px,2.8vw,12px)!important;
    font-weight:800!important;
    line-height:1.5!important;
    white-space:nowrap!important;
  }
  /* Live L1017n navigation is a separate element from .mobile-nav. */
  body.l1017-live-ui #llBottomNav{
    min-height:calc(80px + env(safe-area-inset-bottom))!important;
    padding:10px 7px calc(10px + env(safe-area-inset-bottom))!important;
    gap:1px!important;
  }
  body.l1017-live-ui #llBottomNav button{
    min-width:0!important;
    padding:1px 2px!important;
    gap:6px!important;
  }
  body.l1017-live-ui #llBottomNav .ll-nav-icon{
    width:46px!important;height:37px!important;
    border-radius:13px!important;
  }
  body.l1017-live-ui #llBottomNav button svg{
    width:26px!important;height:26px!important;
  }
  body.l1017-live-ui #llBottomNav button small{
    font-size:clamp(10.5px,2.75vw,12px)!important;
    line-height:1.35!important;
    font-weight:850!important;
    white-space:nowrap!important;
  }
  #accountView{padding-bottom:135px!important}
}
@media(max-width:600px){
  #accountModern .account-core-settings > button[data-account-action]{
    min-height:78px!important;
    padding:13px 13px!important;
    gap:12px!important;
  }
  #accountModern .account-core-settings .account-row-icon{
    flex-basis:46px!important;width:46px!important;height:46px!important;
  }
  #accountModern .account-core-settings .account-core-copy b{font-size:15.5px!important}
  #accountModern .account-core-settings .account-core-copy small{font-size:12px!important}
  #accountModern .account-contact-options [data-account-action="help"],
  #accountModern .account-contact-options [data-account-action="faq"],
  #accountModern .account-contact-options .account-tiktok-link{
    min-height:76px!important;padding:12px 13px!important;gap:12px!important;
  }
  #accountModern .account-contact-options .account-row-icon{
    flex-basis:45px!important;width:45px!important;height:45px!important;
  }
  #accountModern .account-contact-options .account-contact-text b,
  #accountModern .account-contact-options .account-tiktok-link b{
    font-size:15.5px!important;
  }
}
@media(max-width:365px){
  #accountModern .account-core-settings .account-core-copy b,
  #accountModern .account-contact-options .account-contact-text b{font-size:15px!important}
  body.l1017-live-ui #llBottomNav .ll-nav-icon{width:40px!important;height:35px!important}
  body.l1017-live-ui #llBottomNav button svg{width:24px!important;height:24px!important}
  body.l1017-live-ui #llBottomNav button small{font-size:10px!important}
}
@media(prefers-reduced-motion:reduce){
  #llBottomNav .ll-nav-icon,.mobile-nav .nav-icon{transition:none!important}
}


/* Special offers are now embedded in Home — real live offers, not duplicate cards.
   Do not let old full-screen offers page spacing create a giant blank gap. */
#storeView #offersView.l1017-home-offers{
  position:relative!important;
  display:block!important;
  visibility:visible!important;
  width:min(100%,1120px)!important;
  max-width:1120px!important;
  min-height:0!important;
  margin:22px auto 25px!important;
  padding:19px clamp(12px,3vw,25px) 22px!important;
  border:1px solid #7954a5!important;
  border-radius:23px!important;
  background:radial-gradient(ellipse 90% 65% at 80% 0%,#59388756,transparent 78%),
    linear-gradient(140deg,#20172d,#100d16 80%)!important;
  box-shadow:inset 0 1px #ffffff0f,0 13px 27px #0008!important;
  scroll-margin-top:90px;
  box-sizing:border-box;
}
#storeView #offersView.hidden{display:none!important}
#storeView #offersView .l1017-offers-shell{max-width:1000px!important;gap:14px!important}
#storeView #offersView .l1017-offers-intro{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  min-height:22px!important;
}
#storeView #offersView .l1017-offers-heading{padding:3px 5px 13px!important}
#storeView #offersView .l1017-offers-heading h1{
  font-size:clamp(24px,4.5vw,31px)!important;
}
#storeView #offersView .l1017-offers-heading p{color:#c9badb!important}
#storeView #offersView .l1017-offer-card{
  background:linear-gradient(120deg,#251a39,#15101f 70%,#21162f)!important;
  border-color:#7d5aa2!important;
}
#storeView #offersView .l1017-offer-art{
  background:radial-gradient(ellipse at 48% 45%,#8b5cf66a,#2e2043 64%,#1a1324 100%)!important;
}
#storeView #offersView .l1017-offer-buy:not(:disabled){
  background:linear-gradient(120deg,#8856dc,#56318e)!important;
  color:#fff!important;border-color:#ad85ec!important;
  box-shadow:0 7px 17px #3e19686e!important;
}
#storeView #offersView .l1017-offers-note{color:#c6b8da!important}
#storeView #offersView .l1017-offer-message{
  background:#1d1629!important;
  border-color:#765697!important;color:#dbcee9!important;
}
/* A clean five-tab navigation now that offers have joined Home. */
@media(max-width:680px){
 .mobile-nav>button{
   flex:1 1 20%!important;
   min-width:0!important;
 }
 body.l1017-live-ui #llBottomNav button{flex:1 1 20%!important}
 #storeView #offersView.l1017-home-offers{
   margin:17px auto 22px!important;
   padding:14px 10px 17px!important;
   border-radius:18px!important;
 }
 #storeView #offersView .l1017-offers-heading h1{font-size:24px!important}
 #storeView #offersView .l1017-offers-heading p{font-size:12px!important}
 #storeView #offersView .l1017-offer-card{grid-template-columns:105px minmax(0,1fr)!important}
}
