@layer x5-regular-type {
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] {
    --x5-vivid-green: #4CC98E;
    --x5-vivid-green-2: #36A97A;
    --x5-vivid-ink: #0B1710;
    --x5-vivid-bg: #1E2124;
    --x5-vivid-card: #2A2E33;
    --x5-vivid-raise: #353A40;
    --x5-vivid-line: #3A3F46;
    --x5-ui-muted: #B1BAD3;
    --x5-ui-accent: #4CC98E;
    --x5-ui-primary: #4CC98E;
    --x5-dialog-primary: linear-gradient(90deg,#4CC98E,#36A97A);
    --x5-contrast-action: linear-gradient(90deg,#4CC98E,#36A97A);
    --x5-contrast-hero: linear-gradient(90deg,#4CC98E,#36A97A);
    --lb-grad: linear-gradient(90deg,#4CC98E,#36A97A);
    --lb-acc: #4CC98E;
    --lb-acc2: #4CC98E;
    --lb-page: #1E2124;
    --lb-card: #2A2E33;
    --lb-rail: #1E2124;
    --lb-block: #2A2E33;
    --lb-ink: #EEF1F6;
    --lb-ink2: #B1BAD3;
    --lb-muted: #B1BAD3;
    --lb-soft: #353A40;
    --lb-ball: #353A40;
    --lb-ball-line: #3A3F46;
  }

  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] :is(html,body,#root,.web-app-stage,.device-screen,.lavender-scroll,main.lavender-app,main.lotto-bet,body>main,#root main) {
    color: #EEF1F6 !important;
    background: #1E2124 !important;
    background-image: none !important;
  }

  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] :is(.lavender-app,.lotto-bet,.page-header,.brand-header) {
    color: #EEF1F6 !important;
  }

  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] :is(.lavender-app,.lotto-bet) :not(svg):not(img) {
    color: #EEF1F6 !important;
  }

  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] :is(.lavender-app small,.lavender-app .muted,.lotto-bet small,.lotto-bet .muted,.lb-muted) {
    color: #B1BAD3 !important;
  }

  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] :is(
    .card,.profile-overview,.profile-shortcuts,.profile-menu,.cash-block,.x5-wallet-controls,
    .channel-list,.cash-sticky,.announcement,.ph-card,.lb-foot,.page-directory-link,.cash-hero,
    .payment-card,.promo-link,.overview,.chart-card,.agent-table,.details
  ) {
    color: #EEF1F6 !important;
    background: #2A2E33 !important;
    border-color: #3A3F46 !important;
    box-shadow: none !important;
  }

  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] body dialog {
    color: #EEF1F6 !important;
    background: #2A2E33 !important;
    border: 1px solid #3A3F46 !important;
    box-shadow: 0 24px 70px rgba(0,0,0,.44) !important;
  }

  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] :is(.profile-overview .card,.lb-panel,.lb-block,.lb-selected) {
    background: transparent !important;
    border-color: #3A3F46 !important;
  }

  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] :is(
    button.round,.round,.lb-stepper,.lb-cart-add,.channel-row,.ph-card-fav,
    .tabs button:not(.active),.chip,.pill,.tag,.lb-quick button,.lb-item:not(.on),
    .lb-ball:not(.on) .lb-ball-inner,.wallet-currency-switch button:not(.active),
    .percent-grid button,.network-grid button:not(.selected),.channel-grid button:not([aria-pressed="true"]),
    .previous
  ) {
    color: #E6EAF2 !important;
    background: #353A40 !important;
    background-image: none !important;
    border-color: #3A3F46 !important;
    box-shadow: none !important;
  }

  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .lb-header {
    color: #EEF1F6 !important;
    background: #1A1C1F !important;
  }

  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .bottom-nav {
    background: rgba(36,40,44,.94) !important;
    background-image: none !important;
  }

  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] :is(
    .primary,.cash-primary,.submit,.continue,.service-button,.vip-action,.pw-primary,.add-payee,
    #auth-submit,.sheet-play,.activity-cta,#new-feedback,#repeat,#return-to-picker,
    .x5-detail-primary,.lb-bet,.lb-submit,.ph-act-copy em,.campaign-hero-action,
    .s-filter-actions button:last-child,.lb-item.on,.lb-position-tabs button.on,.lb-modes button.on,
    .lb-selected-items i,.x5-icon-tile.is-accent,.a-shortcuts>a>i,
    .account-service-grid>a:nth-child(n) .account-service-icon
  ) {
    color: #0B1710 !important;
    background: linear-gradient(90deg,#4CC98E,#36A97A) !important;
    background-image: linear-gradient(90deg,#4CC98E,#36A97A) !important;
    border-color: transparent !important;
    box-shadow: none !important;
  }

  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] :is(
    .centered-dialog button.selected,.centered-dialog button[aria-pressed="true"],
    .tabs:not(.icon-tabs) button.active,.lottery-tools>button.active,
    .wallet-currency-switch button.active,.x5-wallet-controls a.selected,.x5-currency a.selected,
    .x5-language-options button.selected,.language-options button.selected,
    .s-segmented label input:checked+span,.x5-filter-chip.selected,.date-shortcuts button.selected,
    .date-shortcuts button[aria-pressed="true"]
  ) {
    color: #0B1710 !important;
    background: linear-gradient(90deg,#4CC98E,#36A97A) !important;
    background-image: linear-gradient(90deg,#4CC98E,#36A97A) !important;
    border-color: transparent !important;
    box-shadow: none !important;
  }

  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] :is(
    .positive,.lb-odds,.lb-item.on,.active-nav,
    .section-heading>button,.page-header-actions .active
  ) {
    color: #4CC98E !important;
  }

  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .lb-item.on,
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .lb-item.on * {
    color: #0B1710 !important;
  }

  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .lb-ball.on,
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .lb-ball.on * {
    color: #0B1710 !important;
  }

  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .lb-ball.on .lb-ball-inner {
    background: linear-gradient(90deg,#4CC98E,#36A97A) !important;
    border-color: transparent !important;
  }

  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] :is(.x5-icon-tile:not(.is-accent),.ph-game-icon):nth-child(7n+1) { color:#fff !important;background:linear-gradient(135deg,#FF8A1F,#E5540B) !important; }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] :is(.x5-icon-tile:not(.is-accent),.ph-game-icon):nth-child(7n+2) { color:#fff !important;background:linear-gradient(135deg,#3E8BFF,#1F55D6) !important; }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] :is(.x5-icon-tile:not(.is-accent),.ph-game-icon):nth-child(7n+3) { color:#fff !important;background:linear-gradient(135deg,#A36BFF,#6A34D6) !important; }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] :is(.x5-icon-tile:not(.is-accent),.ph-game-icon):nth-child(7n+4) { color:#fff !important;background:linear-gradient(135deg,#FF4E8A,#C21F5E) !important; }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] :is(.x5-icon-tile:not(.is-accent),.ph-game-icon):nth-child(7n+5) { color:#fff !important;background:linear-gradient(135deg,#FFC53D,#E08A00) !important; }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] :is(.x5-icon-tile:not(.is-accent),.ph-game-icon):nth-child(7n+6) { color:#fff !important;background:linear-gradient(135deg,#1FC8E8,#0B86B8) !important; }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] :is(.x5-icon-tile:not(.is-accent),.ph-game-icon):nth-child(7n) { color:#fff !important;background:linear-gradient(135deg,#20C997,#0B7A5A) !important; }

  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .profile-menu .listrow:nth-child(7n+1) .x5-icon-tile svg { color:#FF8A1F !important; }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .profile-menu .listrow:nth-child(7n+2) .x5-icon-tile svg { color:#3E8BFF !important; }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .profile-menu .listrow:nth-child(7n+3) .x5-icon-tile svg { color:#A36BFF !important; }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .profile-menu .listrow:nth-child(7n+4) .x5-icon-tile svg { color:#FF4E8A !important; }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .profile-menu .listrow:nth-child(7n+5) .x5-icon-tile svg { color:#FFC53D !important; }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .profile-menu .listrow:nth-child(7n+6) .x5-icon-tile svg { color:#1FC8E8 !important; }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .profile-menu .listrow:nth-child(7n) .x5-icon-tile svg { color:#20C997 !important; }

  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .vip-panel .vip-row:nth-child(7n+1) .vip-tile { color:#fff !important;background:linear-gradient(135deg,#FF8A1F,#E5540B) !important; }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .vip-panel .vip-row:nth-child(7n+2) .vip-tile { color:#fff !important;background:linear-gradient(135deg,#3E8BFF,#1F55D6) !important; }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .vip-panel .vip-row:nth-child(7n+3) .vip-tile { color:#fff !important;background:linear-gradient(135deg,#A36BFF,#6A34D6) !important; }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .vip-panel .vip-row:nth-child(7n+4) .vip-tile { color:#fff !important;background:linear-gradient(135deg,#FF4E8A,#C21F5E) !important; }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .vip-panel .vip-row:nth-child(7n+5) .vip-tile { color:#fff !important;background:linear-gradient(135deg,#FFC53D,#E08A00) !important; }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .vip-panel .vip-row:nth-child(7n+6) .vip-tile { color:#fff !important;background:linear-gradient(135deg,#1FC8E8,#0B86B8) !important; }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .vip-panel .vip-row:nth-child(7n) .vip-tile { color:#fff !important;background:linear-gradient(135deg,#20C997,#0B7A5A) !important; }

  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .ph-game-track .ph-game:nth-child(7n+1) .ph-game-icon { background:linear-gradient(135deg,#FF8A1F,#E5540B) !important; }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .ph-game-track .ph-game:nth-child(7n+2) .ph-game-icon { background:linear-gradient(135deg,#3E8BFF,#1F55D6) !important; }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .ph-game-track .ph-game:nth-child(7n+3) .ph-game-icon { background:linear-gradient(135deg,#A36BFF,#6A34D6) !important; }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .ph-game-track .ph-game:nth-child(7n+4) .ph-game-icon { background:linear-gradient(135deg,#FF4E8A,#C21F5E) !important; }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .ph-game-track .ph-game:nth-child(7n+5) .ph-game-icon { background:linear-gradient(135deg,#FFC53D,#E08A00) !important; }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .ph-game-track .ph-game:nth-child(7n+6) .ph-game-icon { background:linear-gradient(135deg,#1FC8E8,#0B86B8) !important; }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .ph-game-track .ph-game:nth-child(7n) .ph-game-icon { background:linear-gradient(135deg,#20C997,#0B7A5A) !important; }

  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .ph-card-grid .ph-card-wrap:nth-child(6n+1) .ph-card-art { background:radial-gradient(120% 110% at 50% 0%,#FF8A1Fcc,#E5540B55 60%,#2A2E33 100%) !important; }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .ph-card-grid .ph-card-wrap:nth-child(6n+2) .ph-card-art { background:radial-gradient(120% 110% at 50% 0%,#3E8BFFcc,#1F55D655 60%,#2A2E33 100%) !important; }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .ph-card-grid .ph-card-wrap:nth-child(6n+3) .ph-card-art { background:radial-gradient(120% 110% at 50% 0%,#FFC53Dcc,#E08A0055 60%,#2A2E33 100%) !important; }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .ph-card-grid .ph-card-wrap:nth-child(6n+4) .ph-card-art { background:radial-gradient(120% 110% at 50% 0%,#A36BFFcc,#6A34D655 60%,#2A2E33 100%) !important; }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .ph-card-grid .ph-card-wrap:nth-child(6n+5) .ph-card-art { background:radial-gradient(120% 110% at 50% 0%,#20C997cc,#0B7A5A55 60%,#2A2E33 100%) !important; }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .ph-card-grid .ph-card-wrap:nth-child(6n) .ph-card-art { background:radial-gradient(120% 110% at 50% 0%,#FF4E8Acc,#C21F5E55 60%,#2A2E33 100%) !important; }

  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .badge.amber { color:#2A1A00 !important;background:linear-gradient(90deg,#FFD36B,#FF9F1C) !important; }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .campaign-hero-lottery { background:linear-gradient(120deg,#6A3BE8,#2C1F6E 75%) !important; }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .campaign-hero-lottery :is(.campaign-hero-title,.campaign-hero-subtitle,.campaign-hero-action) { color:#fff !important; }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] :is(.art-category-live,.art-category-sabong,.art-category-slots,.art-category-fishing,.art-category-poker) { color:#fff !important;border-color:transparent !important; }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .art-category-live { background:linear-gradient(135deg,#7A4DF0,#4520AE) !important; }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .art-category-sabong { background:linear-gradient(135deg,#E8650F,#9A3208) !important; }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .art-category-slots { background:linear-gradient(135deg,#E23D7A,#8F1350) !important; }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .art-category-fishing { background:linear-gradient(135deg,#1C8FE8,#1246A8) !important; }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .art-category-poker { background:linear-gradient(135deg,#13A57A,#0A6B4F) !important; }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .art-category *:not(img) { color:#fff !important; }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .art-category-arrow { background:rgba(255,255,255,.25) !important; }

  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .home-lottery-grid>button { color:#F3F5F8 !important;border-color:transparent !important; }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .home-lottery-grid>button:nth-child(4n+1) { background:linear-gradient(160deg,#FF4D5E 0%,#2A2E33 72%) !important; }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .home-lottery-grid>button:nth-child(4n+2) { background:linear-gradient(160deg,#3E8BFF 0%,#2A2E33 72%) !important; }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .home-lottery-grid>button:nth-child(4n+3) { background:linear-gradient(160deg,#FFC53D 0%,#2A2E33 72%) !important; }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .home-lottery-grid>button:nth-child(4n+4) { background:linear-gradient(160deg,#A36BFF 0%,#2A2E33 72%) !important; }

  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] :is(
    main[data-phase1-redesign="deposit"] .channel-row,
    main[data-phase1-redesign="deposit"] .preset-grid button,
    main[data-phase2-redesign="withdraw"] .channel-row,
    main[data-phase2-redesign="withdraw"] .payee-item,
    main[data-phase2-redesign="payees"] .payee-item,
    .channel-grid button,.network-grid button,.coin-grid button,.percent-grid button,
    .preset-grid button,#custom-field
  ) {
    border:1px solid #3A3F46 !important;
    outline:none !important;
    box-shadow:none !important;
    filter:none !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] :is(
    main[data-phase1-redesign="deposit"] .channel-row,
    main[data-phase1-redesign="deposit"] .preset-grid button,
    main[data-phase2-redesign="withdraw"] .channel-row,
    main[data-phase2-redesign="withdraw"] .payee-item,
    main[data-phase2-redesign="payees"] .payee-item,
    .channel-grid button,.network-grid button,.coin-grid button,.percent-grid button,
    .preset-grid button,#custom-field
  ):is(:hover,:focus,:focus-visible,:active,[aria-pressed="true"],[aria-selected="true"],.selected,.active) {
    border-color:#3A3F46 !important;
    outline:none !important;
    box-shadow:none !important;
    filter:none !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] :is(
    main[data-phase1-redesign="deposit"] .channel-row[aria-pressed="true"],
    main[data-phase1-redesign="deposit"] .preset-grid button[aria-pressed="true"],
    main[data-phase2-redesign="withdraw"] .channel-row[aria-pressed="true"],
    main[data-phase2-redesign="withdraw"] .payee-item[aria-pressed="true"],
    main[data-phase2-redesign="payees"] .payee-item[aria-pressed="true"],
    .channel-grid button[aria-pressed="true"],.network-grid button.selected,
    .coin-grid button.selected,.percent-grid button[aria-pressed="true"],
    .preset-grid button[aria-pressed="true"],#custom-field[aria-pressed="true"],#cash-form [aria-pressed="true"]
  ) {
    background:rgba(76,201,142,.16) !important;
    background-image:none !important;
    color:#EEF1F6 !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] :is(
    main[data-phase1-redesign="deposit"] .channel-row[aria-pressed="true"],
    main[data-phase1-redesign="deposit"] .preset-grid button[aria-pressed="true"],
    main[data-phase2-redesign="withdraw"] .channel-row[aria-pressed="true"],
    main[data-phase2-redesign="withdraw"] .payee-item[aria-pressed="true"],
    main[data-phase2-redesign="payees"] .payee-item[aria-pressed="true"],
    .channel-grid button[aria-pressed="true"],.network-grid button.selected,
    .coin-grid button.selected,.percent-grid button[aria-pressed="true"],
    .preset-grid button[aria-pressed="true"],#custom-field[aria-pressed="true"],#cash-form [aria-pressed="true"]
  ):is(:hover,:focus,:focus-visible,:active) {
    background:rgba(76,201,142,.16) !important;
    background-image:none !important;
    color:#EEF1F6 !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="forest"] :is(
    main[data-phase1-redesign="deposit"] .channel-row[aria-pressed="true"],
    main[data-phase1-redesign="deposit"] .preset-grid button[aria-pressed="true"],
    main[data-phase2-redesign="withdraw"] .channel-row[aria-pressed="true"],
    main[data-phase2-redesign="withdraw"] .payee-item[aria-pressed="true"],
    main[data-phase2-redesign="payees"] .payee-item[aria-pressed="true"],
    .channel-grid button[aria-pressed="true"],.network-grid button.selected,
    .coin-grid button.selected,.percent-grid button[aria-pressed="true"],
    .preset-grid button[aria-pressed="true"],#custom-field[aria-pressed="true"],#cash-form [aria-pressed="true"]
  ) {
    background:rgba(146,255,201,.16) !important;
    background-image:none !important;
    border-color:var(--acct-line,#304e44) !important;
    outline:none !important;
    box-shadow:none !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="forest"] :is(
    main[data-phase1-redesign="deposit"] .channel-row,
    main[data-phase1-redesign="deposit"] .preset-grid button,
    main[data-phase2-redesign="withdraw"] .channel-row,
    main[data-phase2-redesign="withdraw"] .payee-item,
    main[data-phase2-redesign="payees"] .payee-item,
    .channel-grid button,.network-grid button,.coin-grid button,.percent-grid button,
    .preset-grid button,#custom-field
  ) {
    border:1px solid var(--acct-line,#304e44) !important;
    outline:none !important;
    box-shadow:none !important;
    filter:none !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] :is(main[data-phase1-redesign="deposit"] .channel-row[aria-pressed="true"],main[data-phase1-redesign="deposit"] .channel-row[aria-pressed="true"]:hover)::after { content:none !important; }
  :root[data-lavender-theme="dark"][data-x5-palette="forest"] :is(main[data-phase1-redesign="deposit"] .channel-row[aria-pressed="true"],main[data-phase1-redesign="deposit"] .channel-row[aria-pressed="true"]:hover)::after { content:none !important; }

  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .lb-draw {
    color:#fff !important;background:linear-gradient(120deg,#5B2EE0,#2E6BFF) !important;
    border:0 !important;border-radius:16px !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .lb-draw :not(.lb-ball):not(.lb-ball *) { color:#fff !important; }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] :is(.round-info,.pattern-preview-head) {
    color:#EEF1F6 !important;background:linear-gradient(120deg,#5B2EE0,#2E6BFF) !important;
    border:0 !important;border-radius:16px !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .round-info-heading { background:transparent !important; }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] :is(.round-info-heading,.pattern-preview-head) :is(small,b,strong,span) { color:#fff !important; }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] :is(.round-meta,#period-status) { color:#fff !important; }

  :root[data-lavender-theme="dark"][data-x5-palette="forest"] :is(.round-info,.pattern-preview-head) {
    color:#EEF1F6 !important;
    background:radial-gradient(120% 140% at 100% 0%,rgba(44,217,125,.22),transparent 60%),#1a2e27 !important;
    border:0 !important;
    border-radius:16px !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="forest"] .round-info-heading { background:transparent !important; }

  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .home-lottery-grid>button * { color:#F3F5F8 !important; }
}
@layer x5-regular-type {
  :root[data-lavender-theme="dark"] .bottom-nav > button {
    position:relative !important;
    isolation:isolate !important;
    background:transparent !important;
    box-shadow:none !important;
    color:#9BA4BA !important;
    font-weight:400 !important;
  }
  :root[data-lavender-theme="dark"] .bottom-nav > button > span {
    color:#9BA4BA !important;
    font-weight:400 !important;
  }
  :root[data-lavender-theme="dark"] .bottom-nav > button > svg {
    position:relative !important;
    z-index:1 !important;
    color:#8E97AD !important;
    fill:currentColor !important;
  }
  :root[data-lavender-theme="dark"] .bottom-nav > button::before {
    content:"" !important;
    display:block !important;
    position:absolute !important;
    z-index:0 !important;
    left:50% !important;
    top:calc(50% - 22px) !important;
    width:30px !important;
    height:30px !important;
    border-radius:11px !important;
    opacity:0 !important;
    transform:translateX(-50%) !important;
    pointer-events:none !important;
  }
  :root[data-lavender-theme="dark"] .bottom-nav > button:is(.active,[aria-current="page"]) {
    background:transparent !important;
    box-shadow:none !important;
  }
  :root[data-lavender-theme="dark"] .bottom-nav > button:is(.active,[aria-current="page"])::before {
    opacity:1 !important;
  }
  :root[data-lavender-theme="dark"] .bottom-nav > button:is(.active,[aria-current="page"]) > svg {
    color:#fff !important;
    fill:#fff !important;
  }
  :root[data-lavender-theme="dark"] .bottom-nav > button:is(.active,[aria-current="page"]) > span {
    font-weight:400 !important;
  }
  :root[data-lavender-theme="dark"] .bottom-nav > button:nth-child(1):is(.active,[aria-current="page"])::before {
    background:linear-gradient(135deg,#FF8A1F,#E5540B) !important;
    box-shadow:0 4px 14px #FF8A1F66 !important;
  }
  :root[data-lavender-theme="dark"] .bottom-nav > button:nth-child(1):is(.active,[aria-current="page"]) > span { color:#FF8A1F !important; }
  :root[data-lavender-theme="dark"] .bottom-nav > button:nth-child(2):is(.active,[aria-current="page"])::before {
    background:linear-gradient(135deg,#FF4E8A,#C21F5E) !important;
    box-shadow:0 4px 14px #FF4E8A66 !important;
  }
  :root[data-lavender-theme="dark"] .bottom-nav > button:nth-child(2):is(.active,[aria-current="page"]) > span { color:#FF4E8A !important; }
  :root[data-lavender-theme="dark"] .bottom-nav > button:nth-child(3):is(.active,[aria-current="page"])::before {
    background:linear-gradient(135deg,#3E8BFF,#1F55D6) !important;
    box-shadow:0 4px 14px #3E8BFF66 !important;
  }
  :root[data-lavender-theme="dark"] .bottom-nav > button:nth-child(3):is(.active,[aria-current="page"]) > span { color:#3E8BFF !important; }
  :root[data-lavender-theme="dark"] .bottom-nav > button:nth-child(4):is(.active,[aria-current="page"])::before {
    background:linear-gradient(135deg,#A36BFF,#6A34D6) !important;
    box-shadow:0 4px 14px #A36BFF66 !important;
  }
  :root[data-lavender-theme="dark"] .bottom-nav > button:nth-child(4):is(.active,[aria-current="page"]) > span { color:#A36BFF !important; }
  :root[data-lavender-theme="dark"] .bottom-nav > button:nth-child(5):is(.active,[aria-current="page"])::before {
    background:linear-gradient(135deg,#1FC8E8,#0B86B8) !important;
    box-shadow:0 4px 14px #1FC8E866 !important;
  }
  :root[data-lavender-theme="dark"] .bottom-nav > button:nth-child(5):is(.active,[aria-current="page"]) > span { color:#1FC8E8 !important; }

  :root[data-lavender-theme="dark"] .lavender-app.page-activities .activity-card {
    background:radial-gradient(125% 100% at 100% 0%,rgba(163,107,255,.18),transparent 62%),#2A2E33 !important;
  }
  :root[data-lavender-theme="dark"] .lavender-app.page-activities .activity-card:nth-child(2) {
    background:radial-gradient(125% 100% at 100% 0%,rgba(255,197,61,.18),transparent 62%),#2A2E33 !important;
  }
  :root[data-lavender-theme="dark"] .lavender-app.page-activities .activity-card:nth-child(3) {
    background:radial-gradient(125% 100% at 100% 0%,rgba(255,78,138,.18),transparent 62%),#2A2E33 !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="forest"] .lavender-app.page-activities .activity-card {
    background:radial-gradient(125% 100% at 100% 0%,rgba(163,107,255,.18),transparent 62%),linear-gradient(135deg,#233e35,var(--night-surface) 65%) !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="forest"] .lavender-app.page-activities .activity-card:nth-child(2) {
    background:radial-gradient(125% 100% at 100% 0%,rgba(255,197,61,.18),transparent 62%),linear-gradient(135deg,#233e35,var(--night-surface) 65%) !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="forest"] .lavender-app.page-activities .activity-card:nth-child(3) {
    background:radial-gradient(125% 100% at 100% 0%,rgba(255,78,138,.18),transparent 62%),linear-gradient(135deg,#233e35,var(--night-surface) 65%) !important;
  }
  :root[data-lavender-theme="dark"] .lavender-app.page-activities .activity-cta {
    color:#fff !important;
    background:linear-gradient(135deg,#A36BFF,#6A34D6) !important;
    box-shadow:none !important;
  }
  :root[data-lavender-theme="dark"] .lavender-app.page-activities .activity-card:nth-child(2) .activity-cta {
    color:#2A1A00 !important;
    background:linear-gradient(135deg,#FFD36B,#FF9F1C) !important;
  }
  :root[data-lavender-theme="dark"] .lavender-app.page-activities .activity-card:nth-child(3) .activity-cta {
    color:#fff !important;
    background:linear-gradient(135deg,#FF4E8A,#C21F5E) !important;
  }

  :root[data-lavender-theme="dark"] body main.page-results .hero {
    color:#fff !important;
    background:linear-gradient(120deg,#5B2EE0,#2F6BFF) !important;
  }
  :root[data-lavender-theme="dark"] body main.page-results .hero :is(.eyebrow,h3,.date,.sub) {
    color:#fff !important;
  }

  :root[data-lavender-theme="dark"] .lavender-app .tx-row .tx-icon-deposit {
    color:#fff !important;
    background:linear-gradient(135deg,#3E8BFF,#1F55D6) !important;
  }
  :root[data-lavender-theme="dark"] .lavender-app .tx-row .tx-icon-withdrawal {
    color:#fff !important;
    background:linear-gradient(135deg,#FF8A1F,#E5540B) !important;
  }
  :root[data-lavender-theme="dark"] .lavender-app .tx-row .tx-icon-transfer {
    color:#fff !important;
    background:linear-gradient(135deg,#A36BFF,#6A34D6) !important;
  }
  :root[data-lavender-theme="dark"] .lavender-app .page-bets .bet-record-side .badge {
    border:0 !important;
    border-radius:999px !important;
    padding:2px 8px !important;
    font-size:9px !important;
    font-weight:400 !important;
    line-height:14px !important;
  }
  :root[data-lavender-theme="dark"] .lavender-app .page-bets .bet-record-side .bet-status-pending {
    color:#FFC53D !important;
    background:rgba(255,197,61,.16) !important;
  }
  :root[data-lavender-theme="dark"] .lavender-app .page-bets .bet-record-side .bet-status-won {
    color:#4CC98E !important;
    background:rgba(76,201,142,.16) !important;
  }
  :root[data-lavender-theme="dark"] .lavender-app .page-bets .bet-record-side .bet-status-lost {
    color:#FF8A95 !important;
    background:rgba(255,77,94,.14) !important;
  }

  :root[data-lavender-theme="dark"] .lavender-app.page-team .metric-grid > div > small:first-of-type {
    position:relative !important;
    padding-top:8px !important;
  }
  :root[data-lavender-theme="dark"] .lavender-app.page-team .metric-grid > div > small:first-of-type::before {
    content:"" !important;
    position:absolute !important;
    top:0 !important;
    left:0 !important;
    width:18px !important;
    height:3px !important;
    border-radius:999px !important;
    background:#3E8BFF !important;
  }
  :root[data-lavender-theme="dark"] .lavender-app.page-team .metric-grid > div:nth-child(2) > small:first-of-type::before { background:#A36BFF !important; }
  :root[data-lavender-theme="dark"] .lavender-app.page-team .metric-grid > div:nth-child(3) > small:first-of-type::before { background:#FF8A1F !important; }
  :root[data-lavender-theme="dark"] .lavender-app.page-team .metric-grid > div:nth-child(4) > small:first-of-type::before { background:#FF4E8A !important; }
  :root[data-lavender-theme="dark"] .lavender-app.page-team .metric-grid > div:nth-child(5n) > small:first-of-type::before { background:#1FC8E8 !important; }
  :root[data-lavender-theme="dark"] body main[data-report="team"] .team-summary-grid > div > span {
    position:relative !important;
    padding-top:8px !important;
  }
  :root[data-lavender-theme="dark"] body main[data-report="team"] .team-summary-grid > div > span::before {
    content:"" !important;
    position:absolute !important;
    top:0 !important;
    left:0 !important;
    width:18px !important;
    height:3px !important;
    border-radius:999px !important;
    background:#3E8BFF !important;
  }
  :root[data-lavender-theme="dark"] body main[data-report="team"] .team-summary-grid > div:nth-child(5n+2) > span::before { background:#A36BFF !important; }
  :root[data-lavender-theme="dark"] body main[data-report="team"] .team-summary-grid > div:nth-child(5n+3) > span::before { background:#FF8A1F !important; }
  :root[data-lavender-theme="dark"] body main[data-report="team"] .team-summary-grid > div:nth-child(5n+4) > span::before { background:#FF4E8A !important; }
  :root[data-lavender-theme="dark"] body main[data-report="team"] .team-summary-grid > div:nth-child(5n) > span::before { background:#1FC8E8 !important; }
  :root[data-lavender-theme="dark"] body main[data-phase1-redesign="report"] .r-metric .m-label {
    position:relative !important;
    padding-top:8px !important;
  }
  :root[data-lavender-theme="dark"] body main[data-phase1-redesign="report"] .r-metric .m-label::before {
    content:"" !important;
    position:absolute !important;
    top:0 !important;
    left:0 !important;
    width:18px !important;
    height:3px !important;
    border-radius:999px !important;
    background:#3E8BFF !important;
  }
  :root[data-lavender-theme="dark"] body main[data-phase1-redesign="report"] .r-metric:nth-child(5n+2) .m-label::before { background:#A36BFF !important; }
  :root[data-lavender-theme="dark"] body main[data-phase1-redesign="report"] .r-metric:nth-child(5n+3) .m-label::before { background:#FF8A1F !important; }
  :root[data-lavender-theme="dark"] body main[data-phase1-redesign="report"] .r-metric:nth-child(5n+4) .m-label::before { background:#FF4E8A !important; }
  :root[data-lavender-theme="dark"] body main[data-phase1-redesign="report"] .r-metric:nth-child(5n) .m-label::before { background:#1FC8E8 !important; }
  :root[data-lavender-theme="dark"] body main[data-report="team"] .team-share-track > i {
    background:linear-gradient(90deg,#3E8BFF,#A36BFF) !important;
  }
  :root[data-lavender-theme="dark"] body main:is([data-phase2-redesign="deposit"],[data-phase2-redesign="withdraw"]) .cash-hero {
    background:
      radial-gradient(120% 140% at 100% 0%,rgba(62,139,255,.22),transparent 60%),
      radial-gradient(90% 120% at 70% 100%,rgba(163,107,255,.14),transparent 60%),
      #2A2E33 !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="forest"] body main:is([data-phase2-redesign="deposit"],[data-phase2-redesign="withdraw"]) .cash-hero {
    background:
      radial-gradient(120% 140% at 100% 0%,rgba(62,139,255,.22),transparent 60%),
      radial-gradient(90% 120% at 70% 100%,rgba(163,107,255,.14),transparent 60%),
      linear-gradient(125deg,#28473c,#1e352d) !important;
  }
}
@layer x5-regular-type {
  :root[data-lavender-theme="dark"] .bottom-nav > button:is(.active,[aria-current="page"]) > span { color:var(--nav-label) !important; }
  :root[data-lavender-theme="dark"] .bottom-nav > button:not(:is(.active,[aria-current="page"])) > span { color:var(--nav-inactive) !important; }
  :root[data-lavender-theme="dark"] .lavender-app.page-activities .activity-card-0 .activity-cta { color:#fff !important; background:linear-gradient(135deg,#A36BFF,#6A34D6) !important; }
  :root[data-lavender-theme="dark"] .lavender-app.page-activities .activity-card-1 .activity-cta { color:#2A1A00 !important; background:linear-gradient(135deg,#FFD36B,#FF9F1C) !important; }
  :root[data-lavender-theme="dark"] .lavender-app.page-activities .activity-card-2 .activity-cta { color:#fff !important; background:linear-gradient(135deg,#FF4E8A,#C21F5E) !important; }
  :root[data-lavender-theme="dark"][data-x5-palette="forest"] .lavender-app.page-activities .activity-copy p { color:#EEF1F6 !important; }
  :root[data-lavender-theme="dark"] .lavender-app .tx-row > .tx-icon-deposit { color:#fff !important; background:linear-gradient(135deg,#3E8BFF,#1F55D6) !important; }
  :root[data-lavender-theme="dark"] .lavender-app .tx-row > .tx-icon-withdrawal { color:#fff !important; background:linear-gradient(135deg,#FF8A1F,#E5540B) !important; }
  :root[data-lavender-theme="dark"] .lavender-app .tx-row > .tx-icon-transfer { color:#fff !important; background:linear-gradient(135deg,#A36BFF,#6A34D6) !important; }
  :root[data-lavender-theme="dark"] .lavender-app.page-bets .bet-record-side .badge { border:0 !important; border-radius:999px !important; padding:2px 8px !important; font-size:9px !important; font-weight:400 !important; line-height:14px !important; }
  :root[data-lavender-theme="dark"] .lavender-app.page-bets .bet-record-side .badge::before { display:none !important; }
  :root[data-lavender-theme="dark"] .lavender-app.page-bets .bet-record-side .badge.green { color:#4CC98E !important; background:rgba(76,201,142,.16) !important; }
  :root[data-lavender-theme="dark"] .lavender-app.page-bets .bet-record-side .badge.rose { color:#FF8A95 !important; background:rgba(255,77,94,.14) !important; }
  :root[data-lavender-theme="dark"] .lavender-app.page-bets .bet-record-side .badge.amber { color:#FFC53D !important; background:rgba(255,197,61,.16) !important; }
  :root[data-lavender-theme="dark"] body main.page-results .hero { background:linear-gradient(120deg,#5B2EE0,#2F6AFF) !important; }
  :root[data-lavender-theme="dark"] body main.page-results .hero :is(.eyebrow,h3,.date,.sub) { color:#fff !important; }
  :root[data-lavender-theme="dark"] body main[data-phase1-redesign="agent"] :is(.agent-tile-1,.agent-tile-2,.agent-tile-3,.agent-tile-4) .agent-tile-art { color:#fff !important; }
  :root[data-lavender-theme="dark"] body main[data-phase1-redesign="agent"] .agent-tile-1 .agent-tile-art { background:linear-gradient(135deg,#3E8BFF,#1F55D6) !important; }
  :root[data-lavender-theme="dark"] body main[data-phase1-redesign="agent"] .agent-tile-2 .agent-tile-art { background:linear-gradient(135deg,#FF8A1F,#E5540B) !important; }
  :root[data-lavender-theme="dark"] body main[data-phase1-redesign="agent"] .agent-tile-3 .agent-tile-art { background:linear-gradient(135deg,#FF4E8A,#C21F5E) !important; }
  :root[data-lavender-theme="dark"] body main[data-phase1-redesign="agent"] .agent-tile-4 .agent-tile-art { background:linear-gradient(135deg,#1FC8E8,#0B86B8) !important; }
  :root[data-lavender-theme="dark"] body main[data-phase1-redesign="agent"] .agent-tile-art svg { color:#fff !important; fill:#fff !important; }
  :root[data-lavender-theme="dark"] body main[data-phase1-redesign="agent"] .phase1-agent-hero { background:radial-gradient(120% 140% at 100% 0%,rgba(163,107,255,.16),transparent 62%),#2A2E33 !important; }
  :root[data-lavender-theme="dark"][data-x5-palette="forest"] body main[data-phase1-redesign="agent"] .phase1-agent-hero {
    background:radial-gradient(120% 140% at 100% 0%,rgba(163,107,255,.16),transparent 62%),radial-gradient(70% 90% at 100% 0%,#688e7b 0%,transparent 60%),radial-gradient(60% 80% at 0% 100%,#226041 0%,transparent 70%),linear-gradient(135deg,#326c4f,#2e5448) !important;
  }
  :root[data-lavender-theme="dark"] body main[data-phase1-redesign="agent"] .agent-balance { color:#EEF1F6 !important; }
}

@layer x5-regular-type {
  :root[data-lavender-theme="dark"] .bottom-nav > button:nth-child(1) { --nav-light:#FF8A1F; --nav-dark:#E5540B; --nav-glow:#FF8A1F66; --nav-label:#FF8A1F; }
  :root[data-lavender-theme="dark"] .bottom-nav > button:nth-child(2) { --nav-light:#FF4E8A; --nav-dark:#C21F5E; --nav-glow:#FF4E8A66; --nav-label:#FF4E8A; }
  :root[data-lavender-theme="dark"] .bottom-nav > button:nth-child(3) { --nav-light:#3E8BFF; --nav-dark:#1F55D6; --nav-glow:#3E8BFF66; --nav-label:#4A93FF; }
  :root[data-lavender-theme="dark"] .bottom-nav > button:nth-child(4) { --nav-light:#A36BFF; --nav-dark:#6A34D6; --nav-glow:#A36BFF66; --nav-label:#B68AFF; }
  :root[data-lavender-theme="dark"] .bottom-nav > button:nth-child(5) { --nav-light:#1FC8E8; --nav-dark:#0B86B8; --nav-glow:#1FC8E866; --nav-label:#1FC8E8; }
  :root[data-lavender-theme="dark"] .bottom-nav > button { --nav-inactive:#9BA4BA; }
  :root[data-lavender-theme="dark"][data-x5-palette="forest"] .bottom-nav > button { --nav-inactive:#B1BAD3; }
  :root[data-lavender-theme="dark"][data-x5-palette="forest"] .bottom-nav > button:nth-child(1) { --nav-label:#FFB66F; }
  :root[data-lavender-theme="dark"][data-x5-palette="forest"] .bottom-nav > button:nth-child(2) { --nav-label:#FF9DBB; }
  :root[data-lavender-theme="dark"][data-x5-palette="forest"] .bottom-nav > button:nth-child(3) { --nav-label:#92B9FF; }
  :root[data-lavender-theme="dark"][data-x5-palette="forest"] .bottom-nav > button:nth-child(4) { --nav-label:#D4BAFF; }
  :root[data-lavender-theme="dark"][data-x5-palette="forest"] .bottom-nav > button:nth-child(5) { --nav-label:#64DFF4; }
  :root[data-lavender-theme="dark"] .bottom-nav > button {
    position:relative !important;
    isolation:isolate !important;
    color:#9BA4BA !important;
    font-weight:400 !important;
    background:transparent !important;
    box-shadow:none !important;
  }
  :root[data-lavender-theme="dark"] .bottom-nav > button > span { color:var(--nav-inactive) !important; font-weight:400 !important; }
  :root[data-lavender-theme="dark"] .bottom-nav > button > svg { position:relative !important; z-index:1 !important; color:#8E97AD !important; fill:currentColor !important; }
  :root[data-lavender-theme="dark"] .bottom-nav > button::before {
    content:"" !important;
    position:absolute !important;
    z-index:0 !important;
    left:50% !important;
    top:calc(50% - 22px) !important;
    width:30px !important;
    height:30px !important;
    border-radius:11px !important;
    opacity:0 !important;
    transform:translateX(-50%) !important;
    pointer-events:none !important;
  }
  :root[data-lavender-theme="dark"] .bottom-nav > button:is(.active,[aria-current="page"]) {
    background:transparent !important;
    box-shadow:none !important;
  }
  :root[data-lavender-theme="dark"] .bottom-nav > button:is(.active,[aria-current="page"])::before {
    opacity:1 !important;
    background:linear-gradient(135deg,var(--nav-light),var(--nav-dark)) !important;
    box-shadow:0 4px 14px var(--nav-glow) !important;
  }
  :root[data-lavender-theme="dark"] .bottom-nav > button:is(.active,[aria-current="page"]) > svg {
    color:#fff !important;
    fill:#fff !important;
  }
  :root[data-lavender-theme="dark"] .bottom-nav > button:is(.active,[aria-current="page"]) > span { color:var(--nav-label) !important; font-weight:400 !important; }
  :root[data-lavender-theme="dark"] .lavender-app.page-bets .bet-record-side .badge {
    border:0 !important;
    border-radius:999px !important;
    padding:2px 8px !important;
    font-size:9px !important;
    font-weight:400 !important;
    line-height:14px !important;
  }
  :root[data-lavender-theme="dark"] .lavender-app.page-bets .bet-record-side .badge::before { display:none !important; }
  :root[data-lavender-theme="dark"] .lavender-app.page-bets .bet-record-side .badge.green {
    color:#4CC98E !important;
    background:rgba(76,201,142,.16) !important;
  }
  :root[data-lavender-theme="dark"] .lavender-app.page-bets .bet-record-side .badge.rose {
    color:#FF8A95 !important;
    background:rgba(255,77,94,.14) !important;
  }
  :root[data-lavender-theme="dark"] .lavender-app.page-bets .bet-record-side .badge.amber {
    color:#FFC53D !important;
    background:rgba(255,197,61,.16) !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="forest"] body main[data-phase2-redesign="withdraw"] .cash-hero.wd-hero {
    background:
      radial-gradient(120% 140% at 100% 0%,rgba(62,139,255,.22),transparent 60%),
      radial-gradient(90% 120% at 70% 100%,rgba(163,107,255,.14),transparent 60%),
      var(--supp-surface) !important;
  }
}

@layer x5-regular-type {
  :root[data-lavender-theme="dark"] .lavender-app.page-activities .activity-card-0 {
    background:radial-gradient(125% 100% at 100% 0%,rgba(163,107,255,.18),transparent 62%),#2A2E33 !important;
  }
  :root[data-lavender-theme="dark"] .lavender-app.page-activities .activity-card-1 {
    background:radial-gradient(125% 100% at 100% 0%,rgba(255,197,61,.18),transparent 62%),#2A2E33 !important;
  }
  :root[data-lavender-theme="dark"] .lavender-app.page-activities .activity-card-2 {
    background:radial-gradient(125% 100% at 100% 0%,rgba(255,78,138,.18),transparent 62%),#2A2E33 !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="forest"] .lavender-app.page-activities .activity-card-0 {
    background:radial-gradient(125% 100% at 100% 0%,rgba(163,107,255,.18),transparent 62%),linear-gradient(135deg,#233e35,var(--night-surface) 65%) !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="forest"] .lavender-app.page-activities .activity-card-1 {
    background:radial-gradient(125% 100% at 100% 0%,rgba(255,197,61,.18),transparent 62%),linear-gradient(135deg,#233e35,var(--night-surface) 65%) !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="forest"] .lavender-app.page-activities .activity-card-2 {
    background:radial-gradient(125% 100% at 100% 0%,rgba(255,78,138,.18),transparent 62%),linear-gradient(135deg,#233e35,var(--night-surface) 65%) !important;
  }
  :root[data-lavender-theme="dark"] .lavender-app.page-activities .activity-card-0 .activity-cta {
    color:#fff !important;
    background:linear-gradient(135deg,#A36BFF,#6A34D6) !important;
  }
  :root[data-lavender-theme="dark"] .lavender-app.page-activities .activity-card-1 .activity-cta {
    color:#2A1A00 !important;
    background:linear-gradient(135deg,#FFD36B,#FF9F1C) !important;
  }
  :root[data-lavender-theme="dark"] .lavender-app.page-activities .activity-card-2 .activity-cta {
    color:#fff !important;
    background:linear-gradient(135deg,#FF4E8A,#C21F5E) !important;
  }
}

@layer x5-regular-type {
  :root[data-lavender-theme="dark"][data-x5-palette] body:not(:has(main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]))) #sheet.x5-detail-dialog.is-detail {
    width:min(calc(100vw - 28px),390px) !important;
    max-height:88vh !important;
    overflow:hidden !important;
    padding:0 !important;
  }

  :root[data-lavender-theme="dark"][data-x5-palette] body:not(:has(main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]))) #sheet.x5-detail-dialog.is-detail #sheet-body {
    max-height:calc(88vh - 54px) !important;
    padding:10px 14px 12px !important;
    overflow-y:auto !important;
    scrollbar-width:none !important;
  }

  :root[data-lavender-theme="dark"][data-x5-palette] body:not(:has(main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]))) #sheet.x5-detail-dialog.is-detail #sheet-body::-webkit-scrollbar { display:none !important; }
  :root[data-lavender-theme="dark"][data-x5-palette] body:not(:has(main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]))) #sheet.x5-detail-dialog.is-detail .supplement-dialog-head { gap:8px !important;padding:10px 14px 8px !important; }
  :root[data-lavender-theme="dark"][data-x5-palette] body:not(:has(main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]))) #sheet.x5-detail-dialog.is-detail .x5-detail-info { gap:8px !important; }
  :root[data-lavender-theme="dark"][data-x5-palette] body:not(:has(main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]))) #sheet.x5-detail-dialog.is-detail .x5-detail-info :is(.f-balances,.f-ids,.f-origin,.report-detail-info,.report-balance-pair,.s-terms,.s-timeline) { margin:0 !important; }
  :root[data-lavender-theme="dark"][data-x5-palette] body:not(:has(main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]))) #sheet.x5-detail-dialog.is-detail .x5-detail-info .f-balances .f-br { min-height:32px !important;padding:4px 8px !important; }
  :root[data-lavender-theme="dark"][data-x5-palette] body:not(:has(main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]))) #sheet.x5-detail-dialog.is-detail .x5-detail-info .f-ids>div { min-height:30px !important;padding:4px 0 !important; }
  :root[data-lavender-theme="dark"][data-x5-palette] body:not(:has(main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]))) #sheet.x5-detail-dialog.is-detail .x5-detail-info .f-origin { min-height:30px !important;padding:5px 0 !important;display:flex !important;align-items:center !important;justify-content:space-between !important;gap:8px !important; }
  :root[data-lavender-theme="dark"][data-x5-palette] body:not(:has(main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]))) #sheet.x5-detail-dialog.is-detail .x5-detail-info .f-origin strong { margin:0 !important; }
  :root[data-lavender-theme="dark"][data-x5-palette] body:not(:has(main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]))) #sheet.x5-detail-dialog.is-detail .report-detail-hero,
  :root[data-lavender-theme="dark"][data-x5-palette] body:not(:has(main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]))) #sheet.x5-detail-dialog.is-detail .s-summary.x5-detail-hero { min-height:56px !important;margin:0 0 8px !important;padding:8px 10px !important; }
  :root[data-lavender-theme="dark"][data-x5-palette] body:not(:has(main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]))) #sheet.x5-detail-dialog.is-detail .report-detail-info>div,
  :root[data-lavender-theme="dark"][data-x5-palette] body:not(:has(main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]))) #sheet.x5-detail-dialog.is-detail .report-balance-pair>div { min-height:30px !important;padding:4px 8px !important; }
  :root[data-lavender-theme="dark"][data-x5-palette] body:not(:has(main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]))) #sheet.x5-detail-dialog.is-detail .report-detail-nav { margin:6px 0 0 !important; }
  :root[data-lavender-theme="dark"][data-x5-palette] body:not(:has(main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]))) #sheet.x5-detail-dialog.is-detail .detail-switch { margin:6px 0 !important; }
  :root[data-lavender-theme="dark"][data-x5-palette] body:not(:has(main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]))) #sheet.x5-detail-dialog.is-detail .x5-detail-timeline>p { min-height:30px !important;padding:4px 0 !important; }

  :root[data-lavender-theme="dark"][data-x5-palette] body dialog:has(.details) {
    max-height:88vh !important;
    overflow:hidden !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette] body dialog:has(.details) .dialog-body {
    max-height:calc(88vh - 64px) !important;
    padding:10px 14px 12px !important;
    overflow-y:auto !important;
    scrollbar-width:none !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette] body dialog:has(.details) .detail-row { min-height:30px !important;padding:5px 0 !important; }
  :root[data-lavender-theme="dark"][data-x5-palette] body dialog:has(.details) .bet-detail-hero { min-height:56px !important;margin:0 0 8px !important;padding:8px 10px !important; }
}

@layer x5-regular-type {
  :root[data-lavender-theme="dark"] main[data-page-review="vip"] #vip .membership {
    min-height:0 !important;
    padding:14px !important;
  }
  :root[data-lavender-theme="dark"] main[data-page-review="vip"] #vip .membership-top {
    min-height:0 !important;
    align-items:center !important;
  }
  :root[data-lavender-theme="dark"] main[data-page-review="vip"] #vip .membership-top .level-caption {
    color:var(--x5-vivid-muted,#B1BAD3) !important;
    font-size:12px !important;
    line-height:18px !important;
  }
  :root[data-lavender-theme="dark"] main[data-page-review="vip"] #vip .membership-top h3 {
    margin:2px 0 0 !important;
    color:var(--x5-vivid-text,#EEF1F6) !important;
    font-size:18px !important;
    line-height:24px !important;
    font-weight:600 !important;
  }
  :root[data-lavender-theme="dark"] main[data-page-review="vip"] #vip .vip-crown {
    width:64px !important;
    height:64px !important;
    margin:0 !important;
    mix-blend-mode:normal !important;
    mask-image:none !important;
  }
  :root[data-lavender-theme="dark"] main[data-page-review="vip"] #vip .membership-progress {
    position:relative !important;
    display:grid !important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
    align-items:start !important;
    gap:0 10px !important;
    margin:8px 0 0 !important;
    padding:0 !important;
    border:0 !important;
  }
  :root[data-lavender-theme="dark"] main[data-page-review="vip"] #vip .membership-progress::before {
    content:"" !important;
    position:absolute !important;
    inset:0 0 auto !important;
    height:6px !important;
    border-radius:999px !important;
    background:var(--x5-vivid-raise,#353A40) !important;
  }
  :root[data-lavender-theme="dark"] main[data-page-review="vip"] #vip .membership-progress #progress {
    position:static !important;
    grid-column:1 !important;
    grid-row:1 !important;
    min-height:0 !important;
    margin:0 !important;
    padding:12px 0 0 !important;
    color:var(--x5-vivid-muted,#B1BAD3) !important;
    font-size:12px !important;
    line-height:18px !important;
  }
  :root[data-lavender-theme="dark"] main[data-page-review="vip"] #vip .membership-progress #progress progress {
    position:absolute !important;
    inset:0 0 auto !important;
    width:100% !important;
    height:6px !important;
    appearance:none !important;
    border:0 !important;
    background:transparent !important;
    color:var(--x5-vivid-green,#4CC98E) !important;
  }
  :root[data-lavender-theme="dark"] main[data-page-review="vip"] #vip .membership-progress #progress progress::-webkit-progress-bar {
    border-radius:999px;
    background:transparent;
  }
  :root[data-lavender-theme="dark"] main[data-page-review="vip"] #vip .membership-progress #progress progress::-webkit-progress-value {
    border-radius:999px;
    background:linear-gradient(90deg,#4CC98E,#36A97A);
  }
  :root[data-lavender-theme="dark"] main[data-page-review="vip"] #vip .membership-progress #progress progress::-moz-progress-bar {
    border-radius:999px;
    background:linear-gradient(90deg,#4CC98E,#36A97A);
  }
  :root[data-lavender-theme="dark"] main[data-page-review="vip"] #vip .membership-progress .upgrade-line {
    grid-column:2 !important;
    grid-row:1 !important;
    display:flex !important;
    align-items:flex-start !important;
    justify-content:flex-end !important;
    gap:0 !important;
    min-width:0 !important;
    max-height:36px !important;
    margin:12px 0 0 !important;
    padding:0 !important;
    border:0 !important;
    color:var(--x5-vivid-muted,#B1BAD3) !important;
    font-size:12px !important;
    line-height:18px !important;
    text-align:right !important;
    overflow:hidden !important;
  }
  :root[data-lavender-theme="dark"] main[data-page-review="vip"] #vip .membership-progress .upgrade-line span,
  :root[data-lavender-theme="dark"] main[data-page-review="vip"] #vip .membership-progress .upgrade-line strong {
    min-width:0 !important;
    color:var(--x5-vivid-muted,#B1BAD3) !important;
    font-size:12px !important;
    line-height:18px !important;
    font-weight:400 !important;
    overflow-wrap:anywhere !important;
  }
  :root[data-lavender-theme="dark"] main[data-page-review="vip"] #vip .membership-progress .upgrade-line strong::before {
    content:" · ";
    white-space:pre;
  }
  :root[data-lavender-theme="dark"] main[data-page-review="vip"] #vip .section-title {
    align-items:center !important;
    margin:14px 2px 8px !important;
    gap:8px !important;
    flex-wrap:nowrap !important;
  }
  :root[data-lavender-theme="dark"] main[data-page-review="vip"] #vip .section-title h3 {
    margin:0 !important;
    color:var(--x5-vivid-text,#EEF1F6) !important;
    font-size:15px !important;
    line-height:20px !important;
    font-weight:500 !important;
  }
  :root[data-lavender-theme="dark"] main[data-page-review="vip"] #vip .section-title :is(small,a) {
    color:var(--x5-vivid-muted,#B1BAD3) !important;
    font-size:12px !important;
    line-height:18px !important;
    font-weight:400 !important;
    white-space:nowrap !important;
  }
  :root[data-lavender-theme="dark"] main[data-page-review="vip"] #vip .vip-panel {
    padding:0 12px !important;
  }
  :root[data-lavender-theme="dark"] main[data-page-review="vip"] #vip .vip-row {
    min-height:54px !important;
    padding:8px 0 !important;
    gap:10px !important;
  }
  :root[data-lavender-theme="dark"] main[data-page-review="vip"] #vip .vip-tile {
    width:32px !important;
    height:32px !important;
    border-radius:10px !important;
  }
  :root[data-lavender-theme="dark"] main[data-page-review="vip"] #vip .vip-copy b {
    color:var(--x5-vivid-text,#EEF1F6) !important;
    font-size:13px !important;
    line-height:18px !important;
    font-weight:400 !important;
  }
  :root[data-lavender-theme="dark"] main[data-page-review="vip"] #vip .vip-copy small {
    margin-top:2px !important;
    color:var(--x5-vivid-muted,#B1BAD3) !important;
    font-size:11.5px !important;
    line-height:16px !important;
  }
  :root[data-lavender-theme="dark"] main[data-page-review="vip"] #vip .vip-right {
    color:var(--x5-vivid-muted,#B1BAD3) !important;
    font-size:12px !important;
  }
  :root[data-lavender-theme="dark"] main[data-page-review="vip"] #vip .vip-action {
    min-height:30px !important;
    height:30px !important;
    padding:0 12px !important;
    border-radius:15px !important;
    color:#0B1710 !important;
    font-size:12px !important;
    font-weight:500 !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] main[data-page-review="vip"] #vip .membership,
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] main[data-page-review="vip"] #vip .vip-panel {
    border-color:#3A3F46 !important;
    background:#2A2E33 !important;
    box-shadow:none !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] main[data-page-review="vip"] #vip .vip-action {
    background:linear-gradient(90deg,#4CC98E,#36A97A) !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="forest"] main[data-page-review="vip"] #vip .vip-action {
    color:#123328 !important;
    background:linear-gradient(90deg,#7DE8B2,#42C887) !important;
  }

  :root[data-lavender-theme="dark"] main[data-phase3-page="account"] {
    --x5-account-surface:#2A2E33;
    --x5-account-raise:#353A40;
    --x5-account-line:rgba(255,255,255,.07);
    --x5-account-muted:#B1BAD3;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="forest"] main[data-phase3-page="account"] {
    --x5-account-surface:var(--rollout-surface,#263a31);
    --x5-account-raise:var(--rollout-raised,#30473c);
    --x5-account-line:rgba(255,255,255,.07);
    --x5-account-muted:var(--rollout-muted,#b7c6be);
  }
  :root[data-lavender-theme="dark"] main[data-phase3-page="account"] .identity {
    margin:10px 0 0 !important;
    padding:12px 14px 0 !important;
    border:1px solid var(--x5-account-line) !important;
    border-bottom:0 !important;
    border-radius:14px 14px 0 0 !important;
    background:var(--x5-account-surface) !important;
    box-shadow:none !important;
  }
  :root[data-lavender-theme="dark"] main[data-phase3-page="account"] .identity-top {
    min-height:56px !important;
    padding:0 0 10px !important;
    gap:10px !important;
  }
  :root[data-lavender-theme="dark"] main[data-phase3-page="account"] .identity-top > img {
    width:40px !important;
    height:40px !important;
    flex:0 0 40px !important;
    padding:6px !important;
    border-radius:12px !important;
    background:var(--x5-account-raise) !important;
    box-shadow:none !important;
  }
  :root[data-lavender-theme="dark"] main[data-phase3-page="account"] .identity-top #display-nick {
    color:var(--x5-vivid-text,#EEF1F6) !important;
    font-size:15px !important;
    line-height:20px !important;
    font-weight:400 !important;
  }
  :root[data-lavender-theme="dark"] main[data-phase3-page="account"] .identity-top .subtle {
    color:var(--x5-account-muted) !important;
    font-size:11px !important;
  }
  :root[data-lavender-theme="dark"] main[data-phase3-page="account"] .identity-art {
    width:82px !important;
    right:10px !important;
    top:0 !important;
  }
  :root[data-lavender-theme="dark"] main[data-phase3-page="account"] > h3 {
    min-height:32px !important;
    margin:0 !important;
    padding:10px 14px 0 !important;
    border:0 !important;
    background:transparent !important;
    color:var(--x5-vivid-text,#EEF1F6) !important;
    font-size:15px !important;
    line-height:20px !important;
    font-weight:500 !important;
  }
  :root[data-lavender-theme="dark"] main[data-phase3-page="account"] > h3::before {
    display:none !important;
    content:none !important;
  }
  :root[data-lavender-theme="dark"] main[data-phase3-page="account"] .fields {
    margin:0 !important;
    padding:6px 14px 14px !important;
    border:1px solid var(--x5-account-line) !important;
    border-top:0 !important;
    border-radius:0 0 14px 14px !important;
    background:var(--x5-account-surface) !important;
    box-shadow:none !important;
  }
  :root[data-lavender-theme="dark"] main[data-phase3-page="account"] .fields > form {
    padding:0 !important;
  }
  :root[data-lavender-theme="dark"] main[data-phase3-page="account"] .fields > form + form {
    margin-top:12px !important;
  }
  :root[data-lavender-theme="dark"] main[data-phase3-page="account"] :is(.line,.language) {
    min-height:44px !important;
    margin:0 !important;
    padding:0 !important;
    border-top:1px solid var(--x5-account-line) !important;
  }
  :root[data-lavender-theme="dark"] main[data-phase3-page="account"] .fields > form:first-child .line {
    min-height:28px !important;
    border-top:0 !important;
  }
  :root[data-lavender-theme="dark"] main[data-phase3-page="account"] :is(.phone,.language) {
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:8px !important;
    min-height:44px !important;
    margin:0 !important;
    padding:0 !important;
    border-top:1px solid var(--x5-account-line) !important;
  }
  :root[data-lavender-theme="dark"] main[data-phase3-page="account"] .phone-icon {
    display:none !important;
  }
  :root[data-lavender-theme="dark"] main[data-phase3-page="account"] :is(.phone>span:not(.phone-icon),.language label,.line label) {
    color:var(--x5-account-muted) !important;
    font-size:12px !important;
    line-height:18px !important;
    font-weight:400 !important;
  }
  :root[data-lavender-theme="dark"] main[data-phase3-page="account"] .phone b {
    color:var(--x5-vivid-text,#EEF1F6) !important;
    font-size:14px !important;
    font-weight:400 !important;
    font-family:Arial,Helvetica,sans-serif !important;
    letter-spacing:0 !important;
    white-space:nowrap !important;
  }
  :root[data-lavender-theme="dark"] main[data-phase3-page="account"] :is(input,select) {
    height:40px !important;
    min-height:40px !important;
    padding:0 12px !important;
    border:0 !important;
    border-radius:10px !important;
    background:var(--x5-account-raise) !important;
    color:var(--x5-vivid-text,#EEF1F6) !important;
    font-size:14px !important;
    font-weight:400 !important;
    box-shadow:none !important;
  }
  :root[data-lavender-theme="dark"] main[data-phase3-page="account"] input::placeholder {
    color:var(--x5-account-muted) !important;
  }
  :root[data-lavender-theme="dark"] main[data-phase3-page="account"] .language select {
    width:auto !important;
    min-width:112px !important;
    max-width:140px !important;
    flex:0 1 auto !important;
    padding:0 10px !important;
  }
  :root[data-lavender-theme="dark"] main[data-phase3-page="account"] #save-nick {
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:6px !important;
    width:auto !important;
    min-width:0 !important;
    min-height:30px !important;
    height:30px !important;
    padding:0 12px !important;
    border:0 !important;
    border-radius:15px !important;
    background:var(--x5-account-raise) !important;
    color:var(--x5-account-muted) !important;
    font-size:12px !important;
    line-height:18px !important;
    font-weight:400 !important;
    white-space:nowrap !important;
  }
  :root[data-lavender-theme="dark"] main[data-phase3-page="account"] #save-nick svg {
    width:14px !important;
    height:14px !important;
  }
  :root[data-lavender-theme="dark"] main[data-phase3-page="account"] .status[data-state="revise"] {
    padding:2px 8px !important;
    border-radius:11px !important;
    color:#FFC53D !important;
    background:rgba(255,197,61,.13) !important;
    font-size:11px !important;
  }
  :root[data-lavender-theme="dark"] main[data-phase3-page="account"] .status[data-state="revise"]::before {
    background:#FFC53D !important;
  }
  :root[data-lavender-theme="dark"] main[data-phase3-page="account"] #details-form {
    margin-top:18px !important;
  }
}

:root[data-lavender-theme="dark"] dialog#sheet.x5-detail-dialog.is-detail:has(.s-head.x5-reference-original-header + .x5-reference-scroll) .s-head.x5-reference-original-header {
  position:static !important;
  width:auto !important;
  height:0 !important;
  min-height:0 !important;
  flex:0 0 0 !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  overflow:visible !important;
  background:transparent !important;
}
:root[data-lavender-theme="dark"] dialog#sheet.x5-detail-dialog.is-detail:has(.s-head.x5-reference-original-header + .x5-reference-scroll) #close {
  position:absolute !important;
  top:10px !important;
  right:10px !important;
  z-index:20 !important;
  width:28px !important;
  height:28px !important;
  min-height:28px !important;
}
:root[data-lavender-theme="dark"] dialog#sheet.x5-detail-dialog.is-detail:has(.s-head.x5-reference-original-header + .x5-reference-scroll) > .x5-reference-scroll {
  padding:4px 14px 12px !important;
}
:root[data-lavender-theme="dark"] dialog#sheet.x5-detail-dialog.is-detail:has(.s-head.x5-reference-original-header + .x5-reference-scroll) .o-order-step {
  position:relative !important;
  padding-top:18px !important;
}
:root[data-lavender-theme="dark"] dialog#sheet.x5-detail-dialog.is-detail:has(.s-head.x5-reference-original-header + .x5-reference-scroll) .o-order-step:not(:first-child)::before {
  top:6px !important;
  height:2px !important;
  z-index:0 !important;
}
:root[data-lavender-theme="dark"] dialog#sheet.x5-detail-dialog.is-detail:has(.s-head.x5-reference-original-header + .x5-reference-scroll) .o-order-dot {
  position:absolute !important;
  top:0 !important;
  left:50% !important;
  transform:translateX(-50%) !important;
  z-index:2 !important;
  width:12px !important;
  height:12px !important;
  min-width:12px !important;
  min-height:12px !important;
  margin:0 !important;
  border:2px solid #4A5059 !important;
  border-radius:50% !important;
  background:#2A2E33 !important;
  box-sizing:border-box !important;
}
:root[data-lavender-theme="dark"] dialog#sheet.x5-detail-dialog.is-detail:has(.s-head.x5-reference-original-header + .x5-reference-scroll) .o-order-step.done .o-order-dot {
  border-color:#4CC98E !important;
  background:#4CC98E !important;
}
:root[data-lavender-theme="dark"] dialog#sheet.x5-detail-dialog.is-detail:has(.s-head.x5-reference-original-header + .x5-reference-scroll) .o-order-step.cur .o-order-dot {
  border-color:#FFC53D !important;
  background:#2A2E33 !important;
}
:root[data-lavender-theme="dark"][data-x5-palette="forest"] dialog#sheet.x5-detail-dialog.is-detail:has(.s-head.x5-reference-original-header + .x5-reference-scroll) .o-order-step.done .o-order-dot {
  border-color:#2CD97D !important;
  background:#2CD97D !important;
}
:root[data-lavender-theme="dark"][data-x5-palette="forest"] dialog#sheet.x5-detail-dialog.is-detail:has(.s-head.x5-reference-original-header + .x5-reference-scroll) .o-order-dot {
  background:#263E36 !important;
}
:root[data-lavender-theme="dark"][data-x5-palette="forest"] dialog#sheet.x5-detail-dialog.is-detail:has(.s-head.x5-reference-original-header + .x5-reference-scroll) .o-order-step.done .o-order-dot,
:root[data-lavender-theme="dark"][data-x5-palette="forest"] dialog#sheet.x5-detail-dialog.is-detail:has(.s-head.x5-reference-original-header + .x5-reference-scroll) .o-order-step.bad .o-order-dot {
  background:#2CD97D !important;
}
:root[data-lavender-theme="dark"] dialog#sheet.x5-detail-dialog.is-detail:has(.s-head.x5-reference-original-header + .x5-reference-scroll) .o-order-step.bad .o-order-dot {
  border-color:#FF6B6B !important;
  background:#FF6B6B !important;
}
:root[data-lavender-theme="dark"] dialog#sheet.x5-detail-dialog.is-detail:has(.s-head.x5-reference-original-header + .x5-reference-scroll) .o-order-step.bad::before {
  background:#FF6B6B !important;
}
:root[data-lavender-theme="dark"] dialog#sheet.x5-detail-dialog.is-detail p.o-copy-status {
  min-height:0 !important;
  margin:2px 0 0 !important;
  padding:0 !important;
  border:0 !important;
  color:#B1BAD3 !important;
  font-size:11px !important;
  line-height:15px !important;
}
:root[data-lavender-theme="dark"] dialog#sheet.x5-detail-dialog.is-detail p.o-copy-status:empty {
  display:none !important;
}
:root[data-lavender-theme="dark"] dialog.x5-detail-dialog.is-detail .x5-reference-original-header:empty {
  height:0 !important;
  min-height:0 !important;
  padding:0 !important;
  border:0 !important;
}

@layer x5-regular-type {
  :root[data-lavender-theme="dark"] dialog#sheet.x5-detail-dialog.is-detail:has(#sheet-body[data-order]) .s-head.x5-reference-original-header {
    position:static !important;
    width:auto !important;
    height:0 !important;
    min-height:0 !important;
    flex:0 0 0 !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    overflow:visible !important;
    background:transparent !important;
  }
  :root[data-lavender-theme="dark"] dialog#sheet.x5-detail-dialog.is-detail:has(#sheet-body[data-order]) #close {
    position:absolute !important;
    top:10px !important;
    right:10px !important;
    z-index:20 !important;
    width:28px !important;
    height:28px !important;
    min-height:28px !important;
  }
  :root[data-lavender-theme="dark"] dialog#sheet.x5-detail-dialog.is-detail:has(#sheet-body[data-order]) > .x5-reference-scroll {
    padding-top:4px !important;
  }
  :root[data-lavender-theme="dark"] dialog#sheet.x5-detail-dialog.is-detail:has(#sheet-body[data-order]) .o-order-step {
    padding-top:18px !important;
  }
  :root[data-lavender-theme="dark"] dialog#sheet.x5-detail-dialog.is-detail:has(#sheet-body[data-order]) .o-order-step:not(:first-child)::before {
    top:6px !important;
    height:2px !important;
    z-index:0 !important;
  }
  :root[data-lavender-theme="dark"] dialog#sheet.x5-detail-dialog.is-detail:has(#sheet-body[data-order]) .o-order-dot {
    position:absolute !important;
    z-index:2 !important;
    top:0 !important;
    left:50% !important;
    transform:translateX(-50%) !important;
    width:12px !important;
    height:12px !important;
    min-width:12px !important;
    min-height:12px !important;
    margin:0 !important;
    border:2px solid #4A5059 !important;
    border-radius:50% !important;
    background:#2A2E33 !important;
    box-sizing:border-box !important;
  }
  :root[data-lavender-theme="dark"] dialog#sheet.x5-detail-dialog.is-detail:has(#sheet-body[data-order]) .o-order-step.done .o-order-dot {
    border-color:#4CC98E !important;
    background:#4CC98E !important;
  }
  :root[data-lavender-theme="dark"] dialog#sheet.x5-detail-dialog.is-detail:has(#sheet-body[data-order]) .o-order-step.cur .o-order-dot {
    border-color:#FFC53D !important;
    background:#2A2E33 !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="forest"] dialog#sheet.x5-detail-dialog.is-detail:has(#sheet-body[data-order]) .o-order-step.done .o-order-dot {
    border-color:#2CD97D !important;
    background:#2CD97D !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="forest"] dialog#sheet.x5-detail-dialog.is-detail:has(#sheet-body[data-order]) .o-order-step.cur .o-order-dot {
    background:#263E36 !important;
  }
  :root[data-lavender-theme="dark"] dialog#sheet.x5-detail-dialog.is-detail:has(#sheet-body[data-order]) .o-order-step.bad .o-order-dot {
    border-color:#FF6B6B !important;
    background:#FF6B6B !important;
  }
  :root[data-lavender-theme="dark"] dialog#sheet.x5-detail-dialog.is-detail:has(#sheet-body[data-order]) .o-order-step.bad::before {
    background:#FF6B6B !important;
  }
  :root[data-lavender-theme="dark"] dialog#sheet.x5-detail-dialog.is-detail:has(#sheet-body[data-order]) p.o-copy-status {
    min-height:0 !important;
    margin:2px 0 0 !important;
    padding:0 !important;
    border:0 !important;
    color:#B1BAD3 !important;
    font-size:11px !important;
    line-height:15px !important;
  }
  :root[data-lavender-theme="dark"] dialog#sheet.x5-detail-dialog.is-detail:has(#sheet-body[data-order]) p.o-copy-status:empty {
    display:none !important;
  }
  :root[data-lavender-theme="dark"] dialog.x5-reference-dialog.is-detail .x5-reference-original-header:empty {
    height:0 !important;
    min-height:0 !important;
    padding:0 !important;
    border:0 !important;
  }
}

:root[data-lavender-theme="dark"][data-x5-palette="graphite"] body main#lotto-bet .lb-ball:not(.on) {
  border:0 !important;
  border-radius:50% !important;
  background:transparent !important;
  color:#E6EAF2 !important;
  box-shadow:none !important;
  outline:0 !important;
}
:root[data-lavender-theme="dark"][data-x5-palette="graphite"] body main#lotto-bet .lb-ball:not(.on) .lb-ball-inner {
  border:0 !important;
  border-radius:inherit !important;
  background:#353A40 !important;
  color:#E6EAF2 !important;
  box-shadow:inset 0 0 0 1px #3A3F46 !important;
}
:root[data-lavender-theme="dark"][data-x5-palette="graphite"] body main#lotto-bet .lb-ball:not(.on) .lb-ball-inner * {
  color:#E6EAF2 !important;
}
:root[data-lavender-theme="dark"][data-x5-palette="graphite"] body main#lotto-bet .lb-ball.on {
  border:0 !important;
  border-radius:50% !important;
  background:transparent !important;
  color:#0B1710 !important;
  box-shadow:none !important;
  outline:0 !important;
}
:root[data-lavender-theme="dark"][data-x5-palette="graphite"] body main#lotto-bet .lb-ball.on .lb-ball-inner {
  border:0 !important;
  border-radius:inherit !important;
  background:linear-gradient(90deg,#4CC98E,#36A97A) !important;
  color:#0B1710 !important;
  box-shadow:none !important;
  outline:0 !important;
}
:root[data-lavender-theme="dark"][data-x5-palette="graphite"] body main#lotto-bet .lb-ball.on .lb-ball-inner * {
  color:#0B1710 !important;
}
:root[data-lavender-theme="dark"][data-x5-palette="graphite"] body main#lotto-bet .lb-ball.on::after {
  display:none !important;
  content:none !important;
}
:root[data-lavender-theme="dark"][data-x5-palette="graphite"] body main#lotto-bet .lb-stepper {
  border:1px solid #3A3F46 !important;
  outline:0 !important;
  box-shadow:none !important;
}
:root[data-lavender-theme="dark"][data-x5-palette="graphite"] body main#lotto-bet .lb-stepper:focus-within,
:root[data-lavender-theme="dark"][data-x5-palette="graphite"] body main#lotto-bet .lb-stepper input:focus,
:root[data-lavender-theme="dark"][data-x5-palette="graphite"] body main#lotto-bet .lb-stepper input:focus-visible {
  border-color:#3A3F46 !important;
  outline:0 !important;
  box-shadow:none !important;
}

:root[data-lavender-theme="dark"][data-x5-palette="graphite"] :is(
  .x5-icon-tile:not(.is-accent),.ph-game-icon,.vip-tile,.setting-icon,.link-icon,
  .overview-icon,.confirm-tile,.receipt-status-icon,.a-row-icon,.phone-icon,
  .report-icon,.row-icon,.menu-icon,.shortcut-icon
) {
  color:#fff !important;
  border-color:transparent !important;
  background:linear-gradient(135deg,#FF8A1F,#E5540B) !important;
}
:root[data-lavender-theme="dark"][data-x5-palette="graphite"] :is(
  .x5-icon-tile:not(.is-accent),.ph-game-icon,.vip-tile,.setting-icon,.link-icon,
  .overview-icon,.confirm-tile,.receipt-status-icon,.a-row-icon,.phone-icon,
  .report-icon,.row-icon,.menu-icon,.shortcut-icon
):nth-child(7n+2) { background:linear-gradient(135deg,#3E8BFF,#1F55D6) !important; }
:root[data-lavender-theme="dark"][data-x5-palette="graphite"] :is(
  .x5-icon-tile:not(.is-accent),.ph-game-icon,.vip-tile,.setting-icon,.link-icon,
  .overview-icon,.confirm-tile,.receipt-status-icon,.a-row-icon,.phone-icon,
  .report-icon,.row-icon,.menu-icon,.shortcut-icon
):nth-child(7n+3) { background:linear-gradient(135deg,#A36BFF,#6A34D6) !important; }
:root[data-lavender-theme="dark"][data-x5-palette="graphite"] :is(
  .x5-icon-tile:not(.is-accent),.ph-game-icon,.vip-tile,.setting-icon,.link-icon,
  .overview-icon,.confirm-tile,.receipt-status-icon,.a-row-icon,.phone-icon,
  .report-icon,.row-icon,.menu-icon,.shortcut-icon
):nth-child(7n+4) { background:linear-gradient(135deg,#FF4E8A,#C21F5E) !important; }
:root[data-lavender-theme="dark"][data-x5-palette="graphite"] :is(
  .x5-icon-tile:not(.is-accent),.ph-game-icon,.vip-tile,.setting-icon,.link-icon,
  .overview-icon,.confirm-tile,.receipt-status-icon,.a-row-icon,.phone-icon,
  .report-icon,.row-icon,.menu-icon,.shortcut-icon
):nth-child(7n+5) { background:linear-gradient(135deg,#FFC53D,#E08A00) !important; }
:root[data-lavender-theme="dark"][data-x5-palette="graphite"] :is(
  .x5-icon-tile:not(.is-accent),.ph-game-icon,.vip-tile,.setting-icon,.link-icon,
  .overview-icon,.confirm-tile,.receipt-status-icon,.a-row-icon,.phone-icon,
  .report-icon,.row-icon,.menu-icon,.shortcut-icon
):nth-child(7n+6) { background:linear-gradient(135deg,#1FC8E8,#0B86B8) !important; }
:root[data-lavender-theme="dark"][data-x5-palette="graphite"] :is(
  .x5-icon-tile:not(.is-accent),.ph-game-icon,.vip-tile,.setting-icon,.link-icon,
  .overview-icon,.confirm-tile,.receipt-status-icon,.a-row-icon,.phone-icon,
  .report-icon,.row-icon,.menu-icon,.shortcut-icon
):nth-child(7n) { background:linear-gradient(135deg,#20C997,#0B7A5A) !important; }
:root[data-lavender-theme="dark"][data-x5-palette="graphite"] :is(
  .x5-icon-tile:not(.is-accent),.ph-game-icon,.vip-tile,.setting-icon,.link-icon,
  .overview-icon,.confirm-tile,.receipt-status-icon,.a-row-icon,.phone-icon,
  .report-icon,.row-icon,.menu-icon,.shortcut-icon
) svg { color:#fff !important; }

:root[data-lavender-theme="dark"][data-x5-palette="graphite"] :is(.badge.green,.badge.purple,.badge.rose,.hot-label) {
  color:#fff !important;
  background:linear-gradient(90deg,#C21F5E,#8F1647) !important;
  font-weight:600 !important;
}
:root[data-lavender-theme="dark"][data-x5-palette="graphite"] :is(.badge.amber,.channel-offer,.offer-badge) {
  color:#2A1A00 !important;
  background:linear-gradient(90deg,#FFD36B,#FF9F1C) !important;
}
:root[data-lavender-theme="dark"][data-x5-palette="graphite"] :is(.channel-offer,.offer-badge) {
  font-weight:600 !important;
  border-color:transparent !important;
}
:root[data-lavender-theme="dark"][data-x5-palette="graphite"] .section-heading h3 svg,
:root[data-lavender-theme="dark"][data-x5-palette="graphite"] .section-title h3 svg {
  color:#FF8A1F !important;
}
:root[data-lavender-theme="dark"][data-x5-palette="graphite"] .section-title h3:not(:has(svg))::before {
  content:"" !important;
  display:inline-block !important;
  width:4px !important;
  height:14px !important;
  margin-right:8px !important;
  border-radius:4px !important;
  background:linear-gradient(180deg,#FF8A1F,#E5540B) !important;
  vertical-align:-2px !important;
}
:root[data-lavender-theme="dark"][data-x5-palette="graphite"] .activity-card {
  border-left:3px solid #FF8A1F !important;
  box-shadow:inset 10px 0 20px -18px rgba(255,138,31,.9) !important;
}
:root[data-lavender-theme="dark"][data-x5-palette="graphite"] .activity-card:nth-child(3n+2) {
  border-left-color:#3E8BFF !important;
  box-shadow:inset 10px 0 20px -18px rgba(62,139,255,.9) !important;
}
:root[data-lavender-theme="dark"][data-x5-palette="graphite"] .activity-card:nth-child(3n) {
  border-left-color:#A36BFF !important;
  box-shadow:inset 10px 0 20px -18px rgba(163,107,255,.9) !important;
}
:root[data-lavender-theme="dark"][data-x5-palette="graphite"] .o-detail-hero .o-detail-status::before,
:root[data-lavender-theme="dark"][data-x5-palette="graphite"] .x5-detail-status::before {
  content:"" !important;
  display:inline-block !important;
  width:6px !important;
  height:6px !important;
  margin-right:5px !important;
  border-radius:50% !important;
  background:currentColor !important;
  vertical-align:1px !important;
}

:root[data-lavender-theme="dark"][data-x5-palette="graphite"] body .picker-page button[data-number][aria-pressed="false"] {
  background:#353A40 !important;
  color:#E6EAF2 !important;
  border-color:#3A3F46 !important;
  box-shadow:none !important;
  outline:0 !important;
}
:root[data-lavender-theme="dark"][data-x5-palette="graphite"] body .picker-page button[data-number][aria-pressed="false"] span {
  color:#E6EAF2 !important;
}
:root[data-lavender-theme="dark"][data-x5-palette="graphite"] body .picker-page button[data-number][aria-pressed="true"] {
  background:linear-gradient(90deg,#4CC98E,#36A97A) !important;
  color:#0B1710 !important;
  border-color:transparent !important;
  box-shadow:none !important;
  outline:0 !important;
}
:root[data-lavender-theme="dark"][data-x5-palette="graphite"] body .picker-page button[data-number][aria-pressed="true"] span {
  background:linear-gradient(90deg,#4CC98E,#36A97A) !important;
  color:#0B1710 !important;
  box-shadow:none !important;
  outline:0 !important;
}
:root[data-lavender-theme="dark"][data-x5-palette="graphite"] body .picker-page button[data-number][aria-pressed="false"] span {
  background:#353A40 !important;
  color:#E6EAF2 !important;
  box-shadow:inset 0 0 0 1px #3A3F46 !important;
}
:root[data-lavender-theme="dark"][data-x5-palette="graphite"] body main.picker-page:has(#number-positions) #number-positions button[data-number][aria-pressed="true"] span {
  background:linear-gradient(90deg,#4CC98E,#36A97A) !important;
  border-color:transparent !important;
  color:#0B1710 !important;
  box-shadow:none !important;
}
:root[data-lavender-theme="dark"][data-x5-palette="graphite"] body main.picker-page:has(#number-positions) #number-positions button[data-number][aria-pressed="false"] span {
  background:#353A40 !important;
  border-color:#3A3F46 !important;
  color:#E6EAF2 !important;
  box-shadow:none !important;
}
:root[data-lavender-theme="dark"][data-x5-palette="graphite"] body .picker-page .stake-control {
  border:1px solid #3A3F46 !important;
  background:#353A40 !important;
  outline:0 !important;
  box-shadow:none !important;
}
:root[data-lavender-theme="dark"][data-x5-palette="graphite"] body .picker-page .stake-control :is(button,input):focus,
:root[data-lavender-theme="dark"][data-x5-palette="graphite"] body .picker-page .stake-control :is(button,input):focus-visible {
  outline:0 !important;
  box-shadow:none !important;
}

@layer x5-regular-type {
  :root[data-lavender-theme="dark"] main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]) ~ #sheet.x5-detail-dialog.is-detail[open] {
    width:min(calc(100vw - 32px),360px) !important;
    max-width:360px !important;
    max-height:88vh !important;
    padding:0 !important;
    border:1px solid #3A3F46 !important;
    border-radius:20px !important;
    background:#25292D !important;
    color:#EEF1F6 !important;
    box-shadow:0 20px 50px rgba(0,0,0,.45) !important;
    overflow:hidden !important;
  }
  :root[data-lavender-theme="dark"] main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]) ~ #sheet.x5-detail-dialog.is-detail[open] .s-head,
  :root[data-lavender-theme="dark"] main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]) ~ #sheet.x5-detail-dialog.is-detail[open] .supplement-dialog-head {
    min-height:48px !important;
    margin:0 !important;
    padding:12px 48px 6px !important;
    border:0 !important;
    background:transparent !important;
    box-shadow:none !important;
  }
  :root[data-lavender-theme="dark"] main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]) ~ #sheet.x5-detail-dialog.is-detail[open] :is(.s-head h3,.supplement-dialog-head h3) {
    color:#EEF1F6 !important;
    font-size:15px !important;
    line-height:20px !important;
    font-weight:500 !important;
    text-align:center !important;
  }
  :root[data-lavender-theme="dark"] main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]) ~ #sheet.x5-detail-dialog.is-detail[open] #close {
    width:28px !important;
    min-width:28px !important;
    height:28px !important;
    padding:0 !important;
    border:0 !important;
    border-radius:50% !important;
    outline:0 !important;
    box-shadow:none !important;
    color:#B1BAD3 !important;
    background:#353A40 !important;
    font-size:18px !important;
    line-height:28px !important;
  }
  :root[data-lavender-theme="dark"] main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]) ~ #sheet.x5-detail-dialog.is-detail[open] #sheet-body {
    max-height:calc(88vh - 52px) !important;
    padding:4px 18px 16px !important;
    overflow-x:hidden !important;
    overflow-y:auto !important;
    scrollbar-width:none !important;
  }
  :root[data-lavender-theme="dark"] main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]) ~ #sheet.x5-detail-dialog.is-detail[open] #sheet-body::-webkit-scrollbar {
    display:none !important;
  }
  :root[data-lavender-theme="dark"] main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]) ~ #sheet.x5-detail-dialog.is-detail[open] .o-detail-hero {
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    gap:0 !important;
    min-height:0 !important;
    margin:0 0 14px !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    text-align:center !important;
  }
  :root[data-lavender-theme="dark"] main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]) ~ #sheet.x5-detail-dialog.is-detail[open] .o-order-logo {
    width:40px !important;
    height:40px !important;
    margin:0 auto 7px !important;
    display:grid !important;
    place-items:center !important;
  }
  :root[data-lavender-theme="dark"] main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]) ~ #sheet.x5-detail-dialog.is-detail[open] :is(.o-channel-brand,.o-channel-tile) {
    width:40px !important;
    height:40px !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    border-radius:12px !important;
    display:grid !important;
    place-items:center !important;
  }
  :root[data-lavender-theme="dark"] main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]) ~ #sheet.x5-detail-dialog.is-detail[open] :is(.o-channel-brand img,.o-channel-tile img) {
    width:40px !important;
    height:40px !important;
    object-fit:cover !important;
  }
  :root[data-lavender-theme="dark"] main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]) ~ #sheet.x5-detail-dialog.is-detail[open] .o-order-channel {
    color:#B1BAD3 !important;
    font-size:12.5px !important;
    line-height:18px !important;
    font-weight:400 !important;
  }
  :root[data-lavender-theme="dark"] main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]) ~ #sheet.x5-detail-dialog.is-detail[open] .o-order-hero .o-detail-amount,
  :root[data-lavender-theme="dark"] main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]) ~ #sheet.x5-detail-dialog.is-detail[open] .o-detail-hero .o-detail-amount {
    margin:2px 0 8px !important;
    color:#EEF1F6 !important;
    font-size:28px !important;
    line-height:34px !important;
    font-weight:600 !important;
    letter-spacing:-.3px !important;
  }
  :root[data-lavender-theme="dark"] main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]) ~ #sheet.x5-detail-dialog.is-detail[open] .o-detail-hero .o-detail-amount.positive {
    color:#4CC98E !important;
  }
  :root[data-lavender-theme="dark"] main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]) ~ #sheet.x5-detail-dialog.is-detail[open] .x5-detail-status {
    display:inline-flex !important;
    align-items:center !important;
    gap:5px !important;
    min-height:22px !important;
    margin:0 !important;
    padding:0 9px !important;
    border:0 !important;
    border-radius:11px !important;
    font-size:12px !important;
    line-height:22px !important;
    font-weight:400 !important;
  }
  :root[data-lavender-theme="dark"] main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]) ~ #sheet.x5-detail-dialog.is-detail[open] .x5-detail-status.b-pending {
    color:#FFC53D !important;
    background:rgba(255,197,61,.13) !important;
  }
  :root[data-lavender-theme="dark"] main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]) ~ #sheet.x5-detail-dialog.is-detail[open] .x5-detail-status.b-paid {
    color:#4CC98E !important;
    background:rgba(76,201,142,.14) !important;
  }
  :root[data-lavender-theme="dark"] main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]) ~ #sheet.x5-detail-dialog.is-detail[open] .x5-detail-status.b-cancel {
    color:#FF6B6B !important;
    background:rgba(255,107,107,.13) !important;
  }
  :root[data-lavender-theme="dark"] main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]) ~ #sheet.x5-detail-dialog.is-detail[open] .o-order-progress {
    margin:0 !important;
    padding:14px 0 0 !important;
    border-top:1px solid rgba(255,255,255,.07) !important;
  }
  :root[data-lavender-theme="dark"] main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]) ~ #sheet.x5-detail-dialog.is-detail[open] .o-order-steps {
    display:flex !important;
    align-items:flex-start !important;
    margin:2px 0 0 !important;
    padding:0 !important;
  }
  :root[data-lavender-theme="dark"] main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]) ~ #sheet.x5-detail-dialog.is-detail[open] .o-order-step {
    position:relative !important;
    display:flex !important;
    flex:1 1 0 !important;
    flex-direction:column !important;
    align-items:center !important;
    min-width:0 !important;
    padding:0 !important;
    color:#EEF1F6 !important;
    font-size:11.5px !important;
    line-height:16px !important;
    text-align:center !important;
  }
  :root[data-lavender-theme="dark"] main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]) ~ #sheet.x5-detail-dialog.is-detail[open] .o-order-step:not(:first-child)::before {
    content:"" !important;
    position:absolute !important;
    z-index:0 !important;
    top:6px !important;
    left:-50% !important;
    right:50% !important;
    height:2px !important;
    background:#3A3F46 !important;
  }
  :root[data-lavender-theme="dark"] main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]) ~ #sheet.x5-detail-dialog.is-detail[open] .o-order-step:not(:first-child).done::before,
  :root[data-lavender-theme="dark"] main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]) ~ #sheet.x5-detail-dialog.is-detail[open] .o-order-step:not(:first-child).cur::before {
    background:#4CC98E !important;
  }
  :root[data-lavender-theme="dark"] main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]) ~ #sheet.x5-detail-dialog.is-detail[open] .o-order-step:not(:first-child).bad::before {
    background:#FF6B6B !important;
  }
  :root[data-lavender-theme="dark"] main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]) ~ #sheet.x5-detail-dialog.is-detail[open] .o-order-dot {
    position:relative !important;
    z-index:1 !important;
    width:14px !important;
    height:14px !important;
    margin:0 auto 6px !important;
    border:2px solid #4A5058 !important;
    border-radius:50% !important;
    background:#353A40 !important;
  }
  :root[data-lavender-theme="dark"] main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]) ~ #sheet.x5-detail-dialog.is-detail[open] .o-order-step.done .o-order-dot {
    border-color:#4CC98E !important;
    background:#4CC98E !important;
  }
  :root[data-lavender-theme="dark"] main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]) ~ #sheet.x5-detail-dialog.is-detail[open] .o-order-step.cur .o-order-dot {
    border-color:#FFC53D !important;
    background:#25292D !important;
  }
  :root[data-lavender-theme="dark"] main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]) ~ #sheet.x5-detail-dialog.is-detail[open] .o-order-step.bad .o-order-dot {
    border-color:#FF6B6B !important;
    background:#FF6B6B !important;
  }
  :root[data-lavender-theme="dark"] main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]) ~ #sheet.x5-detail-dialog.is-detail[open] .o-order-step-label {
    display:block !important;
    color:#EEF1F6 !important;
    font-size:11.5px !important;
    line-height:16px !important;
  }
  :root[data-lavender-theme="dark"] main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]) ~ #sheet.x5-detail-dialog.is-detail[open] .o-order-step.cur small {
    color:#FFC53D !important;
  }
  :root[data-lavender-theme="dark"] main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]) ~ #sheet.x5-detail-dialog.is-detail[open] .o-order-step small {
    display:block !important;
    min-height:14px !important;
    margin-top:2px !important;
    color:#8D96AC !important;
    font-size:10.5px !important;
    line-height:14px !important;
  }
  :root[data-lavender-theme="dark"] main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]) ~ #sheet.x5-detail-dialog.is-detail[open] .o-order-note {
    margin:10px 0 0 !important;
    color:#B1BAD3 !important;
    font-size:12px !important;
    line-height:17px !important;
    text-align:center !important;
  }
  :root[data-lavender-theme="dark"] main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]) ~ #sheet.x5-detail-dialog.is-detail[open] .o-order-info {
    display:block !important;
    margin:14px 0 0 !important;
    padding:6px 0 0 !important;
    border:0 !important;
    border-top:1px solid rgba(255,255,255,.07) !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
  }
  :root[data-lavender-theme="dark"] main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]) ~ #sheet.x5-detail-dialog.is-detail[open] .o-order-row {
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:12px !important;
    min-height:30px !important;
    padding:4px 0 !important;
    border:0 !important;
    background:transparent !important;
    font-size:13px !important;
    line-height:20px !important;
  }
  :root[data-lavender-theme="dark"] main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]) ~ #sheet.x5-detail-dialog.is-detail[open] .o-order-row > span {
    flex:none !important;
    color:#B1BAD3 !important;
    font-size:13px !important;
    font-weight:400 !important;
  }
  :root[data-lavender-theme="dark"] main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]) ~ #sheet.x5-detail-dialog.is-detail[open] .o-order-row > b {
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:6px !important;
    min-width:0 !important;
    max-width:72% !important;
    overflow:hidden !important;
    color:#EEF1F6 !important;
    font-size:13px !important;
    line-height:20px !important;
    font-weight:400 !important;
    text-align:right !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
    font-variant-numeric:tabular-nums !important;
  }
  :root[data-lavender-theme="dark"] main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]) ~ #sheet.x5-detail-dialog.is-detail[open] .o-copy-order {
    display:inline-grid !important;
    flex:none !important;
    place-items:center !important;
    width:18px !important;
    height:18px !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    color:#B1BAD3 !important;
    background:transparent !important;
    box-shadow:none !important;
  }
  :root[data-lavender-theme="dark"] main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]) ~ #sheet.x5-detail-dialog.is-detail[open] .o-copy-order svg {
    width:15px !important;
    height:15px !important;
    stroke:currentColor !important;
  }
  :root[data-lavender-theme="dark"] main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]) ~ #sheet.x5-detail-dialog.is-detail[open] .o-flow-rows {
    margin:6px 0 0 !important;
    padding:0 !important;
    background:transparent !important;
    border:0 !important;
  }
  :root[data-lavender-theme="dark"] main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]) ~ #sheet.x5-detail-dialog.is-detail[open] .o-flow-rows h4 {
    margin:4px 0 !important;
    color:#B1BAD3 !important;
    font-size:12px !important;
    font-weight:400 !important;
  }
  :root[data-lavender-theme="dark"] main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]) ~ #sheet.x5-detail-dialog.is-detail[open] .o-flow-rows .s-link {
    min-height:28px !important;
    padding:0 !important;
    border:0 !important;
    border-top:1px solid rgba(255,255,255,.07) !important;
    border-radius:0 !important;
    color:#EEF1F6 !important;
    background:transparent !important;
    box-shadow:none !important;
  }
  :root[data-lavender-theme="dark"] main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]) ~ #sheet.x5-detail-dialog.is-detail[open] .o-detail-actions {
    display:flex !important;
    gap:10px !important;
    margin:16px 0 0 !important;
    padding:0 !important;
    border:0 !important;
    background:transparent !important;
    box-shadow:none !important;
  }
  :root[data-lavender-theme="dark"] main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]) ~ #sheet.x5-detail-dialog.is-detail[open] .o-detail-actions button {
    flex:1 1 0 !important;
    min-width:0 !important;
    min-height:42px !important;
    height:42px !important;
    padding:0 12px !important;
    border:0 !important;
    border-radius:21px !important;
    font-size:14px !important;
    line-height:20px !important;
    font-weight:400 !important;
    white-space:nowrap !important;
    box-shadow:none !important;
  }
  :root[data-lavender-theme="dark"] main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]) ~ #sheet.x5-detail-dialog.is-detail[open] .o-detail-actions button.x5-detail-secondary {
    color:#EEF1F6 !important;
    background:#353A40 !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]) ~ #sheet.x5-detail-dialog.is-detail[open] .o-detail-actions button.x5-detail-primary {
    color:#0B1710 !important;
    background:linear-gradient(90deg,#4CC98E,#36A97A) !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="forest"] main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]) ~ #sheet.x5-detail-dialog.is-detail[open] .o-detail-actions button.x5-detail-primary {
    color:#F4FFF9 !important;
  }
  :root[data-lavender-theme="dark"] main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]) ~ #sheet.x5-detail-dialog.is-detail[open] .o-copy-status {
    min-height:0 !important;
    margin:2px 0 0 !important;
    color:#B1BAD3 !important;
    font-size:11px !important;
    line-height:15px !important;
  }
}

@layer x5-regular-type {
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] main.picker-page:has(#number-positions) #number-positions button[data-number] {
    background:transparent !important;
    color:#E6EAF2 !important;
    border-color:transparent !important;
    box-shadow:none !important;
    outline:0 !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] main.picker-page:has(#number-positions) #number-positions button[data-number][aria-pressed="true"] {
    color:#0B1710 !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] main.picker-page:has(#number-positions) #number-positions button[data-number][aria-pressed="true"] span {
    background:linear-gradient(90deg,#4CC98E,#36A97A) !important;
    border-color:transparent !important;
    color:#0B1710 !important;
    box-shadow:none !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] main.picker-page:has(#number-positions) #number-positions button[data-number][aria-pressed="false"] span {
    background:#353A40 !important;
    border-color:#3A3F46 !important;
    color:#E6EAF2 !important;
    box-shadow:none !important;
  }
:root[data-lavender-theme="dark"][data-x5-palette="graphite"] main.picker-page .stake-control {
  border:1px solid #3A3F46 !important;
  background:#353A40 !important;
  outline:0 !important;
  box-shadow:none !important;
}

:root[data-lavender-theme="dark"] svg.x5-icon[data-x5-icon="true"] {
  fill:currentColor !important;
  stroke:none !important;
}
}

@layer x5-regular-type {
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] :is(
    .primary,.cash-primary,.submit,.continue,.service-button,.vip-action,.pw-primary,.add-payee,
    #auth-submit,.sheet-play,.activity-cta,#new-feedback,#repeat,#return-to-picker,
    .x5-detail-primary,.lb-bet,.lb-submit,.ph-act-copy em,.campaign-hero-action,
    .s-filter-actions button:last-child,.lb-item.on,.lb-position-tabs button.on,.lb-modes button.on
  ) :is(span,b,strong,small,svg:not(.button-halo)) {
    color:#0B1710 !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] :is(
    .centered-dialog button.selected,.centered-dialog button[aria-pressed="true"],
    .tabs:not(.icon-tabs) button.active,.tab-rail button.active,.lottery-tools>button.active,
    .wallet-currency-switch button.active,.x5-wallet-controls a.selected,.x5-currency a.selected,
    .x5-language-options button.selected,.language-options button.selected,
    .x5-filter-chip.selected,.date-shortcuts button.selected,.date-shortcuts button[aria-pressed="true"]
  ) :is(span,b,strong,small,svg:not(.button-halo)) {
    color:#0B1710 !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] #view-origin {
    color:#4CC98E !important;
    background:transparent !important;
    background-image:none !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] :is(.badge.green,.badge.purple,.badge.rose,.hot-label) {
    color:#fff !important;
    background:linear-gradient(90deg,#C21F5E,#8F1647) !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .badge.green {
    background:linear-gradient(90deg,#1F55D6,#173B97) !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .badge.purple {
    background:linear-gradient(90deg,#6A34D6,#4B239D) !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .lb-draw :not(.lb-ball):not(.lb-ball *) {
    color:#fff !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] :is(.round-info,.pattern-preview-head) :not(.lb-ball):not(.lb-ball *) {
    color:#fff !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] :is(.round-meta,#period-status,#balance,#pattern-caption) {
    color:#fff !important;
  }
}
@layer x5-regular-type {
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] body main.picker-page #previous {
    box-sizing:border-box !important;
    height:auto !important;
    min-height:40px !important;
    margin-top:8px !important;
    padding:8px 12px !important;
    color:#B1BAD3 !important;
    background:linear-gradient(120deg,rgba(91,46,224,.20),rgba(47,107,255,.16)),#2A2E33 !important;
    border:1px solid rgba(124,108,255,.28) !important;
    border-radius:14px !important;
    align-items:center !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] body main.picker-page #previous > span:first-child,
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] body main.picker-page #previous > span:first-child b {
    color:#B1BAD3 !important;
    font-weight:400 !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] body main.picker-page #previous > .last-numbers {
    color:#EEF1F6 !important;
    font-weight:400 !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] body main.picker-page #previous > .last-numbers > span {
    color:#fff !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] body main.picker-page #previous > span:last-child {
    color:#B1BAD3 !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="forest"] body main.picker-page #previous {
    box-sizing:border-box !important;
    height:auto !important;
    min-height:40px !important;
    margin-top:8px !important;
    padding:8px 12px !important;
    color:#EEF1F6 !important;
    background:radial-gradient(120% 140% at 100% 0%,rgba(44,217,125,.22),transparent 60%),#1a2e27 !important;
    border:0 !important;
    border-radius:14px !important;
    align-items:center !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette] body main.picker-page .play-toolbar {
    margin-top:8px !important;
    border-bottom:0 !important;
    border-radius:0 !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette] body main.inline-picker #choice-selected {
    margin-inline:-4px !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette] body main.inline-picker .betbar {
    padding-left:16px !important;
    padding-right:16px !important;
  }
  @media (max-width:380px) {
    :root[data-lavender-theme="dark"][data-x5-palette] body main.picker-page #previous {
      gap:1px !important;
    }
    :root[data-lavender-theme="dark"][data-x5-palette] body main.picker-page #previous > .last-numbers {
      gap:1px !important;
    }
  }
}

@layer x5-regular-type {
  :root[data-lavender-theme="dark"] body dialog :is(#close,.x5-detail-close,.x5-reference-close,.dialog-close,#filter-close,#reader-close,#close-dialog,#lb-dialog-close) {
    width:28px !important;
    min-width:28px !important;
    height:28px !important;
    min-height:28px !important;
    padding:0 !important;
    border:0 !important;
    outline:0 !important;
    border-radius:50% !important;
    color:#B1BAD3 !important;
    background:#353A40 !important;
    box-shadow:none !important;
  }
  :root[data-lavender-theme="dark"] body dialog :is(#close,.x5-detail-close,.x5-reference-close,.dialog-close,#filter-close,#reader-close,#close-dialog,#lb-dialog-close)::before,
  :root[data-lavender-theme="dark"] body dialog :is(#close,.x5-detail-close,.x5-reference-close,.dialog-close,#filter-close,#reader-close,#close-dialog,#lb-dialog-close)::after {
    content:none !important;
    display:none !important;
  }
  :root[data-lavender-theme="dark"] body dialog#sheet.x5-detail-dialog.is-detail .x5-detail-footer {
    border:0 !important;
    border-top:0 !important;
    border-bottom:0 !important;
    background:transparent !important;
    background-image:none !important;
    box-shadow:none !important;
  }
  :root[data-lavender-theme="dark"] body dialog#sheet.x5-detail-dialog.is-detail .x5-detail-footer::before,
  :root[data-lavender-theme="dark"] body dialog#sheet.x5-detail-dialog.is-detail .x5-detail-footer::after {
    content:none !important;
    display:none !important;
  }
  :root[data-lavender-theme="dark"] body dialog#sheet.x5-detail-dialog.is-detail :is(.o-copy-order,[data-copy-order],[data-copy-ledger],[data-copy-request],#copy-request,[aria-label*="复制"],[aria-label*="copy" i]) .x5-icon-tile {
    width:14px !important;
    min-width:14px !important;
    height:14px !important;
    flex:0 0 14px !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    color:#B1BAD3 !important;
    background:transparent !important;
    box-shadow:none !important;
  }
  :root[data-lavender-theme="dark"] body dialog#sheet.x5-detail-dialog.is-detail .o-copy-order {
    outline:0 !important;
  }
  :root[data-lavender-theme="dark"] body dialog#sheet.x5-detail-dialog.is-detail .o-copy-order svg {
    width:14px !important;
    height:14px !important;
    fill:none !important;
    stroke:currentColor !important;
    background:transparent !important;
  }
  :root[data-lavender-theme="dark"] body main[data-phase2-redesign="orders"] ~ dialog#sheet.x5-detail-dialog.is-detail[open] .x5-reference-hero {
    min-height:48px !important;
    height:48px !important;
    margin:0 !important;
    padding:8px 48px 0 !important;
    border:0 !important;
    background:transparent !important;
    box-shadow:none !important;
  }
  :root[data-lavender-theme="dark"] body main[data-phase2-redesign="orders"] ~ dialog#sheet.x5-detail-dialog.is-detail[open] .x5-detail-title.x5-reference-original-title {
    min-height:48px !important;
    height:48px !important;
    line-height:20px !important;
  }
  :root[data-lavender-theme="dark"] body main[data-phase2-redesign="orders"] ~ dialog#sheet.x5-detail-dialog.is-detail[open] #sheet-body.x5-detail-body {
    height:auto !important;
    max-height:calc(88vh - 50px) !important;
    padding:0 18px 16px !important;
  }
  :root[data-lavender-theme="dark"] body main[data-phase2-redesign="orders"] ~ dialog#sheet.x5-detail-dialog.is-detail[open] #sheet-body .x5-detail-hero.o-detail-hero {
    min-height:0 !important;
    height:auto !important;
    flex:0 0 auto !important;
    margin:0 0 14px !important;
    padding:0 !important;
  }
  :root[data-lavender-theme="dark"] body main[data-phase2-redesign="orders"] ~ dialog#sheet.x5-detail-dialog.is-detail[open] .o-order-steps .o-order-step .o-order-dot {
    display:block !important;
    flex:none !important;
    width:14px !important;
    height:14px !important;
    min-width:14px !important;
    min-height:14px !important;
    margin:0 auto 6px !important;
    border:2px solid #4A5058 !important;
    border-radius:50% !important;
    background:#353A40 !important;
    box-sizing:border-box !important;
    visibility:visible !important;
    opacity:1 !important;
  }
  :root[data-lavender-theme="dark"] body main[data-phase2-redesign="orders"] ~ dialog#sheet.x5-detail-dialog.is-detail[open] .o-order-steps .o-order-step.done .o-order-dot {
    border-color:#4CC98E !important;
    background:#4CC98E !important;
  }
  :root[data-lavender-theme="dark"] body main[data-phase2-redesign="orders"] ~ dialog#sheet.x5-detail-dialog.is-detail[open] .o-order-steps .o-order-step.cur .o-order-dot {
    border-color:#FFC53D !important;
    background:#25292D !important;
  }
  :root[data-lavender-theme="dark"] body main[data-phase2-redesign="orders"] ~ dialog#sheet.x5-detail-dialog.is-detail[open] .o-order-steps .o-order-step.bad .o-order-dot {
    border-color:#FF6B6B !important;
    background:#FF6B6B !important;
  }
}

:root[data-lavender-theme="dark"] body dialog#sheet.x5-detail-dialog.is-detail:has(.s-head.x5-reference-original-header + .x5-reference-scroll) > .x5-reference-scroll {
  padding-top:4px !important;
}
:root[data-lavender-theme="dark"] body dialog#sheet.x5-detail-dialog.is-detail:has(.s-head.x5-reference-original-header + .x5-reference-scroll) .o-order-step {
  position:relative !important;
  padding-top:18px !important;
}
:root[data-lavender-theme="dark"] body dialog#sheet.x5-detail-dialog.is-detail:has(.s-head.x5-reference-original-header + .x5-reference-scroll) .o-order-step:not(:first-child)::before {
  top:6px !important;
  height:2px !important;
  z-index:0 !important;
}
:root[data-lavender-theme="dark"] body dialog#sheet.x5-detail-dialog.is-detail:has(.s-head.x5-reference-original-header + .x5-reference-scroll) .o-order-dot {
  position:absolute !important;
  top:0 !important;
  left:50% !important;
  transform:translateX(-50%) !important;
  z-index:2 !important;
  width:12px !important;
  height:12px !important;
  min-width:12px !important;
  min-height:12px !important;
  margin:0 !important;
  border:2px solid #4A5059 !important;
  border-radius:50% !important;
  background:#2A2E33 !important;
  box-sizing:border-box !important;
}
:root[data-lavender-theme="dark"] body dialog#sheet.x5-detail-dialog.is-detail:has(.s-head.x5-reference-original-header + .x5-reference-scroll) .o-order-step.done .o-order-dot {
  border-color:#4CC98E !important;
  background:#4CC98E !important;
}
:root[data-lavender-theme="dark"] body dialog#sheet.x5-detail-dialog.is-detail:has(.s-head.x5-reference-original-header + .x5-reference-scroll) .o-order-step.cur .o-order-dot {
  border-color:#FFC53D !important;
  background:#2A2E33 !important;
}
:root[data-lavender-theme="dark"] body dialog#sheet.x5-detail-dialog.is-detail:has(.s-head.x5-reference-original-header + .x5-reference-scroll) .o-order-step.bad .o-order-dot {
  border-color:#FF6B6B !important;
  background:#FF6B6B !important;
}
:root[data-lavender-theme="dark"] body dialog#sheet.x5-detail-dialog.is-detail:has(.s-head.x5-reference-original-header + .x5-reference-scroll) .o-order-step.bad::before {
  background:#FF6B6B !important;
}
:root[data-lavender-theme="dark"][data-x5-palette="forest"] body dialog#sheet.x5-detail-dialog.is-detail:has(.s-head.x5-reference-original-header + .x5-reference-scroll) .o-order-step.done .o-order-dot {
  border-color:#2CD97D !important;
  background:#2CD97D !important;
}
:root[data-lavender-theme="dark"][data-x5-palette="forest"] body dialog#sheet.x5-detail-dialog.is-detail:has(.s-head.x5-reference-original-header + .x5-reference-scroll) .o-order-step.cur .o-order-dot {
  background:#263E36 !important;
}

@layer x5-regular-type {
  :root[data-lavender-theme="dark"][data-x5-palette] body dialog#sheet.x5-detail-dialog.is-detail:has(.s-head.x5-reference-original-header + .x5-reference-scroll) .s-head.x5-reference-original-header {
    height:0 !important;
    min-height:0 !important;
    flex:0 0 0 !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    overflow:visible !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette] body dialog#sheet.x5-detail-dialog.is-detail:has(.s-head.x5-reference-original-header + .x5-reference-scroll) #close {
    position:absolute !important;
    top:10px !important;
    right:10px !important;
    z-index:20 !important;
    width:28px !important;
    height:28px !important;
    min-height:28px !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette] body dialog#sheet.x5-detail-dialog.is-detail:has(.s-head.x5-reference-original-header + .x5-reference-scroll) > .x5-reference-scroll {
    padding-top:4px !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette] body dialog#sheet.x5-detail-dialog.is-detail:has(.s-head.x5-reference-original-header + .x5-reference-scroll) .o-order-step {
    position:relative !important;
    padding-top:18px !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette] body dialog#sheet.x5-detail-dialog.is-detail:has(.s-head.x5-reference-original-header + .x5-reference-scroll) .o-order-step:not(:first-child)::before {
    top:6px !important;
    height:2px !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette] body dialog#sheet.x5-detail-dialog.is-detail:has(.s-head.x5-reference-original-header + .x5-reference-scroll) .o-order-dot {
    position:absolute !important;
    top:0 !important;
    left:50% !important;
    transform:translateX(-50%) !important;
    z-index:2 !important;
    width:12px !important;
    height:12px !important;
    min-width:12px !important;
    min-height:12px !important;
    margin:0 !important;
    border:2px solid #4A5059 !important;
    border-radius:50% !important;
    background:#2A2E33 !important;
    box-sizing:border-box !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] body dialog#sheet.x5-detail-dialog.is-detail:has(.s-head.x5-reference-original-header + .x5-reference-scroll) .o-order-step.done .o-order-dot {
    border-color:#4CC98E !important;
    background:#4CC98E !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] body dialog#sheet.x5-detail-dialog.is-detail:has(.s-head.x5-reference-original-header + .x5-reference-scroll) .o-order-step.cur .o-order-dot {
    border-color:#FFC53D !important;
    background:#2A2E33 !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="forest"] body dialog#sheet.x5-detail-dialog.is-detail:has(.s-head.x5-reference-original-header + .x5-reference-scroll) .o-order-step.done .o-order-dot {
    border-color:#2CD97D !important;
    background:#2CD97D !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="forest"] body dialog#sheet.x5-detail-dialog.is-detail:has(.s-head.x5-reference-original-header + .x5-reference-scroll) .o-order-step.cur .o-order-dot {
    border-color:#FFC53D !important;
    background:#263E36 !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="forest"] body dialog#sheet.x5-detail-dialog.is-detail:has(#sheet-body[data-order]):has(.s-head.x5-reference-original-header + .x5-reference-scroll) .o-order-step:not(.done):not(.cur):not(.bad) .o-order-dot {
    background:#263E36 !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="forest"] body dialog#sheet.x5-detail-dialog.is-detail:has(.s-head.x5-reference-original-header + .x5-reference-scroll) .o-order-step:not(:first-child).done::before,
  :root[data-lavender-theme="dark"][data-x5-palette="forest"] body dialog#sheet.x5-detail-dialog.is-detail:has(.s-head.x5-reference-original-header + .x5-reference-scroll) .o-order-step:not(:first-child).cur::before {
    background:#2CD97D !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette] body dialog#sheet.x5-detail-dialog.is-detail:has(.s-head.x5-reference-original-header + .x5-reference-scroll) .o-order-step.bad .o-order-dot {
    border-color:#FF6B6B !important;
    background:#FF6B6B !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette] body dialog#sheet.x5-detail-dialog.is-detail:has(.s-head.x5-reference-original-header + .x5-reference-scroll) .o-order-step.bad::before {
    background:#FF6B6B !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette] body dialog#sheet.x5-detail-dialog.is-detail p.o-copy-status {
    min-height:0 !important;
    margin:2px 0 0 !important;
    padding:0 !important;
    border:0 !important;
    color:#B1BAD3 !important;
    font-size:11px !important;
    line-height:15px !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette] body dialog#sheet.x5-detail-dialog.is-detail p.o-copy-status:empty {
    display:none !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette] body dialog.x5-detail-dialog.is-detail .x5-reference-original-header:empty {
    height:0 !important;
    min-height:0 !important;
    padding:0 !important;
    border:0 !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette] body main[data-phase3-page="account"] .phone b {
    font-family:Arial,Helvetica,sans-serif !important;
    letter-spacing:0 !important;
    white-space:nowrap !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .lavender-app .icon-tabs button.active {
    color:#0B1710 !important;
    background:linear-gradient(90deg,#4CC98E,#36A97A) !important;
    box-shadow:none !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .lavender-app .icon-tabs button.active span {
    color:#0B1710 !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .lavender-app .icon-tabs button.active::after {
    background:#0B1710 !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] body :is(button[id^="copy-"],button[aria-label*="复制"],button[aria-label*="copy" i]).x5-icon-tile {
    color:#B1BAD3 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="forest"] body :is(button[id^="copy-"],button[aria-label*="复制"],button[aria-label*="copy" i]).x5-icon-tile {
    color:#A9C2B6 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette] body :is(button[id^="copy-"],button[aria-label*="复制"],button[aria-label*="copy" i]) > svg.x5-icon {
    width:14px !important;
    height:14px !important;
    color:inherit !important;
    fill:currentColor !important;
    stroke:none !important;
    background:transparent !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette] body :is(button[id^="copy-"],button[aria-label*="复制"],button[aria-label*="copy" i]) .x5-icon-tile {
    width:14px !important;
    min-width:14px !important;
    height:14px !important;
    flex:0 0 14px !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
  }
}

@layer x5-regular-type {
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .lavender-app.page-profile .profile-shortcuts > button:nth-child(1) .x5-icon-tile {
    color:#fff !important;
    background:linear-gradient(135deg,#FF4E8A,#C21F5E) !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .lavender-app.page-profile .profile-shortcuts > button:nth-child(2) .x5-icon-tile {
    color:#fff !important;
    background:linear-gradient(135deg,#1FC8E8,#0B86B8) !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .lavender-app.page-profile .profile-shortcuts > button:nth-child(3) .x5-icon-tile {
    color:#fff !important;
    background:linear-gradient(135deg,#FF4E8A,#C21F5E) !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .lavender-app.page-profile .profile-shortcuts > button:nth-child(4) .x5-icon-tile {
    color:#2A1A00 !important;
    background:linear-gradient(135deg,#FFC53D,#E08A00) !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .lavender-app.page-profile .profile-shortcuts .x5-icon-tile > svg {
    color:inherit !important;
  }

  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .lavender-app.page-profile .profile-menu-group:first-of-type .profile-menu .listrow:nth-child(1) .x5-icon-tile {
    color:#fff !important;
    background:linear-gradient(135deg,#3E8BFF,#1F55D6) !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .lavender-app.page-profile .profile-menu-group:first-of-type .profile-menu .listrow:nth-child(2) .x5-icon-tile {
    color:#fff !important;
    background:linear-gradient(135deg,#A36BFF,#6A34D6) !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .lavender-app.page-profile .profile-menu-group:first-of-type .profile-menu .listrow:nth-child(3) .x5-icon-tile {
    color:#fff !important;
    background:linear-gradient(135deg,#1FC8E8,#0B86B8) !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .lavender-app.page-profile .profile-menu-group:nth-of-type(2) .profile-menu .listrow:nth-child(1) .x5-icon-tile {
    color:#fff !important;
    background:linear-gradient(135deg,#1FC8E8,#0B86B8) !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .lavender-app.page-profile .profile-menu-group:nth-of-type(2) .profile-menu .listrow:nth-child(2) .x5-icon-tile {
    color:#fff !important;
    background:linear-gradient(135deg,#3E8BFF,#1F55D6) !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .lavender-app.page-profile .profile-menu-group:nth-of-type(2) .profile-menu .listrow:nth-child(3) .x5-icon-tile {
    color:#fff !important;
    background:linear-gradient(135deg,#A36BFF,#6A34D6) !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .lavender-app.page-profile .profile-menu-group:nth-of-type(2) .profile-menu .listrow:nth-child(4) .x5-icon-tile {
    color:#2A1A00 !important;
    background:linear-gradient(135deg,#FFC53D,#E08A00) !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .lavender-app.page-profile .profile-menu .x5-icon-tile > svg {
    color:inherit !important;
  }

  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .lavender-app.page-security .security-summary .tile-icon {
    color:#fff !important;
    background:linear-gradient(135deg,#1FC8E8,#0B86B8) !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .lavender-app.page-security .security-menu .listrow:nth-child(1) .x5-icon-tile {
    color:#fff !important;
    background:linear-gradient(135deg,#3E8BFF,#1F55D6) !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .lavender-app.page-security .security-menu .listrow:nth-child(2) .x5-icon-tile {
    color:#fff !important;
    background:linear-gradient(135deg,#1FC8E8,#0B86B8) !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .lavender-app.page-security .security-menu .listrow:nth-child(3) .x5-icon-tile {
    color:#fff !important;
    background:linear-gradient(135deg,#FF8A1F,#E5540B) !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] .lavender-app.page-security .security-menu .x5-icon-tile > svg {
    color:inherit !important;
  }

  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] body main[data-phase3-page="account"] .manage-links a:nth-child(1) .x5-icon-tile,
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] body main[data-phase3-page="account"] .manage-links a:nth-child(1) svg.x5-icon {
    color:#fff !important;
    background:linear-gradient(135deg,#FF8A1F,#E5540B) !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] body main[data-phase3-page="account"] .manage-links a:nth-child(2) .x5-icon-tile,
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] body main[data-phase3-page="account"] .manage-links a:nth-child(2) svg.x5-icon {
    color:#fff !important;
    background:linear-gradient(135deg,#1FC8E8,#0B86B8) !important;
  }

  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] body #copy-request.x5-icon-tile {
    display:inline-grid !important;
    width:16px !important;
    min-width:16px !important;
    height:16px !important;
    margin-left:6px !important;
    padding:0 !important;
    color:#B1BAD3 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    background-image:none !important;
    box-shadow:none !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] body #copy-request.x5-icon-tile svg {
    width:14px !important;
    height:14px !important;
    color:#B1BAD3 !important;
    fill:none !important;
    stroke:currentColor !important;
    background:transparent !important;
  }

  :root[data-lavender-theme="dark"][data-x5-palette="graphite"] body main[data-phase2-redesign="order-detail"] ~ #sheet.x5-detail-dialog.is-detail .x5-detail-status.b-pending {
    color:#FFC53D !important;
    background:rgba(255,197,61,.13) !important;
  }

  @media (max-height:700px) {
    :root[data-lavender-theme="dark"][data-x5-palette] body dialog.x5-reference-dialog.is-detail > .x5-reference-hero {
      height:68px !important;
      min-height:68px !important;
      padding:8px 48px 4px !important;
    }
    :root[data-lavender-theme="dark"][data-x5-palette] body:not(:has(main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]))) #sheet.x5-detail-dialog.is-detail,
    :root[data-lavender-theme="dark"][data-x5-palette] body main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]) ~ #sheet.x5-detail-dialog.is-detail {
      max-height:calc(100dvh - 24px) !important;
    }
    :root[data-lavender-theme="dark"][data-x5-palette] body:not(:has(main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]))) #sheet.x5-detail-dialog.is-detail #sheet-body,
    :root[data-lavender-theme="dark"][data-x5-palette] body main:is([data-phase2-redesign="orders"],[data-phase2-redesign="order-detail"]) ~ #sheet.x5-detail-dialog.is-detail #sheet-body {
      max-height:calc(100dvh - 92px) !important;
      padding:0 12px !important;
    }
    :root[data-lavender-theme="dark"][data-x5-palette] body dialog#sheet.x5-detail-dialog.is-detail :is(.x5-detail-hero,.s-summary) {
      margin:0 0 4px !important;
      padding:6px 8px !important;
    }
    :root[data-lavender-theme="dark"][data-x5-palette] body dialog#sheet.x5-detail-dialog.is-detail :is(.x5-detail-info,.x5-detail-amounts,.s-amounts) {
      margin-bottom:4px !important;
    }
    :root[data-lavender-theme="dark"][data-x5-palette] body #sheet.x5-detail-dialog.is-detail .x5-detail-info {
      gap:2px !important;
      padding-block:4px !important;
    }
    :root[data-lavender-theme="dark"][data-x5-palette] body #sheet.x5-detail-dialog.is-detail .x5-detail-info .s-terms {
      min-height:28px !important;
      padding:2px 0 !important;
    }
    :root[data-lavender-theme="dark"][data-x5-palette] body dialog#sheet.x5-detail-dialog.is-detail :is(.f-ids>div,.f-origin) {
      min-height:24px !important;
      padding:2px 0 !important;
    }
    :root[data-lavender-theme="dark"][data-x5-palette] body dialog#sheet.x5-detail-dialog.is-detail .f-balances {
      padding-block:4px !important;
    }
    :root[data-lavender-theme="dark"][data-x5-palette] body dialog#sheet.x5-detail-dialog.is-detail .f-br {
      min-height:28px !important;
      padding:2px 0 !important;
    }
    :root[data-lavender-theme="dark"][data-x5-palette] body dialog#sheet.x5-detail-dialog.is-detail .f-br>div {
      display:flex !important;
      align-items:center !important;
      gap:4px !important;
    }
    :root[data-lavender-theme="dark"][data-x5-palette] body dialog#sheet.x5-detail-dialog.is-detail .f-br>div :is(span,small) {
      display:inline !important;
    }
    :root[data-lavender-theme="dark"][data-x5-palette] body dialog#sheet.x5-detail-dialog.is-detail .detail-switch {
      margin:4px 0 !important;
    }
    :root[data-lavender-theme="dark"][data-x5-palette] body dialog#sheet.x5-detail-dialog.is-detail .s-timeline {
      margin-block:4px !important;
    }
    :root[data-lavender-theme="dark"][data-x5-palette] body dialog#sheet.x5-detail-dialog.is-detail .s-timeline p {
      min-height:24px !important;
      padding-block:2px !important;
    }
    :root[data-lavender-theme="dark"][data-x5-palette] body main[data-phase2-redesign="order-detail"] ~ #sheet.x5-detail-dialog.is-detail .x5-detail-hero.o-detail-hero {
      margin-bottom:8px !important;
      padding-block:4px !important;
    }
    :root[data-lavender-theme="dark"][data-x5-palette] body main[data-phase2-redesign="order-detail"] ~ #sheet.x5-detail-dialog.is-detail .o-order-progress {
      padding-top:8px !important;
    }
    :root[data-lavender-theme="dark"][data-x5-palette] body main[data-phase2-redesign="order-detail"] ~ #sheet.x5-detail-dialog.is-detail .o-order-info {
      margin-top:8px !important;
      padding-block:4px !important;
    }
    :root[data-lavender-theme="dark"][data-x5-palette] body main[data-phase2-redesign="order-detail"] ~ #sheet.x5-detail-dialog.is-detail .o-order-row {
      min-height:24px !important;
      padding-block:2px !important;
    }
    :root[data-lavender-theme="dark"][data-x5-palette] body main[data-phase2-redesign="orders"] ~ #sheet.x5-detail-dialog.is-detail,
    :root[data-lavender-theme="dark"][data-x5-palette] body main[data-phase2-redesign="order-detail"] ~ #sheet.x5-detail-dialog.is-detail {
      max-height:calc(100dvh - 24px) !important;
    }
    :root[data-lavender-theme="dark"][data-x5-palette] body main[data-phase2-redesign="orders"] ~ #sheet.x5-detail-dialog.is-detail #sheet-body,
    :root[data-lavender-theme="dark"][data-x5-palette] body main[data-phase2-redesign="order-detail"] ~ #sheet.x5-detail-dialog.is-detail #sheet-body {
      max-height:calc(100dvh - 92px) !important;
      padding:0 12px !important;
    }
    :root[data-lavender-theme="dark"][data-x5-palette] body main[data-phase2-redesign="orders"] ~ #sheet.x5-detail-dialog.is-detail .o-order-row,
    :root[data-lavender-theme="dark"][data-x5-palette] body main[data-phase2-redesign="order-detail"] ~ #sheet.x5-detail-dialog.is-detail .o-order-row {
      min-height:28px !important;
      padding-block:2px !important;
    }
    :root[data-lavender-theme="dark"][data-x5-palette="graphite"] main.picker-page #previous .last-numbers {
      font-size:9px !important;
      gap:2px !important;
      word-spacing:-1px !important;
    }
  }
}

@layer x5-regular-type {
  :root[data-lavender-theme="dark"] body main .phase1-ledger-hero {
    background:radial-gradient(120% 120% at 100% 0%,rgba(62,139,255,.16),transparent 62%),#2A2E33 !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="forest"] body main .phase1-ledger-hero {
    background:radial-gradient(120% 120% at 100% 0%,rgba(62,139,255,.16),transparent 62%),var(--x5-ui-surface) !important;
  }
  :root[data-lavender-theme="dark"] body main .ledger-row-icon[data-flow-type] {
    color:#fff !important;
    border:0 !important;
  }
  :root[data-lavender-theme="dark"] body main .ledger-row-icon[data-flow-type="bet"] { background:linear-gradient(135deg,#FF4E8A,#C21F5E) !important; }
  :root[data-lavender-theme="dark"] body main .ledger-row-icon[data-flow-type="release"] { background:linear-gradient(135deg,#1FC8E8,#0B86B8) !important; }
  :root[data-lavender-theme="dark"] body main .ledger-row-icon[data-flow-type="withdrawal-hold"],
  :root[data-lavender-theme="dark"] body main .ledger-row-icon[data-flow-type="withdrawal"] { background:linear-gradient(135deg,#FF8A1F,#E5540B) !important; }
  :root[data-lavender-theme="dark"] body main .ledger-row-icon[data-flow-type="deposit"] { background:linear-gradient(135deg,#3E8BFF,#1F55D6) !important; }
  :root[data-lavender-theme="dark"] body main .ledger-row-icon[data-flow-type="reward"] {
    color:#2A1A00 !important;
    background:linear-gradient(135deg,#FFD36B,#FF9F1C) !important;
  }
  :root[data-lavender-theme="dark"] body main .ledger-row-icon[data-flow-type="other"] { background:linear-gradient(135deg,#A36BFF,#6A34D6) !important; }
  :root[data-lavender-theme="dark"] body main[data-phase1-redesign="agent"] .agent-tile-1 .agent-tile-art { color:#fff !important; background:linear-gradient(135deg,#3E8BFF,#1F55D6) !important; }
  :root[data-lavender-theme="dark"] body main[data-phase1-redesign="agent"] .agent-tile-2 .agent-tile-art { color:#fff !important; background:linear-gradient(135deg,#FF8A1F,#E5540B) !important; }
  :root[data-lavender-theme="dark"] body main[data-phase1-redesign="agent"] .agent-tile-3 .agent-tile-art { color:#fff !important; background:linear-gradient(135deg,#FF4E8A,#C21F5E) !important; }
  :root[data-lavender-theme="dark"] body main[data-phase1-redesign="agent"] .agent-tile-4 .agent-tile-art { color:#fff !important; background:linear-gradient(135deg,#1FC8E8,#0B86B8) !important; }
  :root[data-lavender-theme="dark"] body main[data-phase1-redesign="agent"] .agent-tile-art svg { color:#fff !important; fill:#fff !important; }
  :root[data-lavender-theme="dark"] body main[data-phase1-redesign="agent"] .a-data-row .a-metric-icon {
    display:grid !important;
    width:28px !important;
    height:28px !important;
    place-items:center !important;
    border-radius:9px !important;
    color:#fff !important;
  }
  :root[data-lavender-theme="dark"] body main[data-phase1-redesign="agent"] .a-data-row:nth-child(6n+1) .a-metric-icon { background:linear-gradient(135deg,#FF8A1F,#E5540B) !important; }
  :root[data-lavender-theme="dark"] body main[data-phase1-redesign="agent"] .a-data-row:nth-child(6n+2) .a-metric-icon { background:linear-gradient(135deg,#3E8BFF,#1F55D6) !important; }
  :root[data-lavender-theme="dark"] body main[data-phase1-redesign="agent"] .a-data-row:nth-child(6n+3) .a-metric-icon { background:linear-gradient(135deg,#A36BFF,#6A34D6) !important; }
  :root[data-lavender-theme="dark"] body main[data-phase1-redesign="agent"] .a-data-row:nth-child(6n+4) .a-metric-icon { background:linear-gradient(135deg,#FF4E8A,#C21F5E) !important; }
  :root[data-lavender-theme="dark"] body main[data-phase1-redesign="agent"] .a-data-row:nth-child(6n+5) .a-metric-icon { color:#2A1A00 !important; background:linear-gradient(135deg,#FFD36B,#FF9F1C) !important; }
  :root[data-lavender-theme="dark"] body main[data-phase1-redesign="agent"] .a-data-row:nth-child(6n) .a-metric-icon { background:linear-gradient(135deg,#1FC8E8,#0B86B8) !important; }
  :root[data-lavender-theme="dark"] body main[data-phase1-redesign="agent"] .a-metric-icon svg { color:inherit !important; fill:none !important; stroke:#fff !important; }
  :root[data-lavender-theme="dark"] body main[data-phase1-redesign="agent"] .phase1-agent-hero {
    background-image:
      radial-gradient(120% 140% at 100% 0%,rgba(163,107,255,.18),transparent 62%),
      radial-gradient(70% 90% at 100% 0%,#6b898b 0%,transparent 60%),
      radial-gradient(60% 80% at 0% 100%,#226041 0%,transparent 70%),
      linear-gradient(135deg,#326c4f,#354243) !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="forest"] body main[data-phase1-redesign="agent"] .phase1-agent-hero {
    background-image:
      radial-gradient(120% 140% at 100% 0%,rgba(163,107,255,.18),transparent 62%),
      radial-gradient(70% 90% at 100% 0%,#688e7b 0%,transparent 60%),
      radial-gradient(60% 80% at 0% 100%,#226041 0%,transparent 70%),
      linear-gradient(135deg,#326c4f,#2e5448) !important;
  }
  :root[data-lavender-theme="dark"] body main[data-phase2-redesign="bets"] .record-status {
    padding:2px 8px !important;
    border-radius:999px !important;
    gap:0 !important;
    font-weight:400 !important;
  }
  :root[data-lavender-theme="dark"] body main[data-phase2-redesign="bets"] .record-status i { display:none !important; }
  :root[data-lavender-theme="dark"] body main[data-phase2-redesign="bets"] .record-status[data-status="待开奖"],
  :root[data-lavender-theme="dark"] body main[data-phase2-redesign="bets"] .record-status[data-status="待结算"] {
    color:#FFC53D !important;
    background:rgba(255,197,61,.16) !important;
  }
  :root[data-lavender-theme="dark"] body main[data-phase2-redesign="bets"] .record-status[data-status="已中奖"],
  :root[data-lavender-theme="dark"] body main[data-phase2-redesign="bets"] .record-status[data-status="已结算"] {
    color:#4CC98E !important;
    background:rgba(76,201,142,.16) !important;
  }
  :root[data-lavender-theme="dark"] body main[data-phase2-redesign="bets"] .record-status[data-status="未中奖"] {
    color:#FF8A95 !important;
    background:rgba(255,77,94,.14) !important;
  }
  :root[data-lavender-theme="dark"] body main[data-rewards="history"] .hero {
    background:radial-gradient(120% 125% at 100% 0%,rgba(255,159,28,.22),transparent 58%),#2A2E33 !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="forest"] body main[data-rewards="history"] .hero {
    background:radial-gradient(120% 125% at 100% 0%,rgba(255,159,28,.22),transparent 58%),var(--x5-ui-surface) !important;
  }
  :root[data-lavender-theme="dark"] body main[data-rewards="history"] .rewarditem[data-reward-kind] .tile { color:#fff !important; }
  :root[data-lavender-theme="dark"] body main[data-rewards="history"] .rewarditem[data-reward-kind="upgrade"] .tile { background:linear-gradient(135deg,#3E8BFF,#1F55D6) !important; }
  :root[data-lavender-theme="dark"] body main[data-rewards="history"] .rewarditem[data-reward-kind="weekly"] .tile {
    color:#2A1A00 !important;
    background:linear-gradient(135deg,#FFD36B,#FF9F1C) !important;
  }
  :root[data-lavender-theme="dark"] body main[data-rewards="history"] .rewarditem[data-reward-kind^="cycle-"] .tile {
    background:linear-gradient(135deg,#A36BFF,#6A34D6) !important;
  }
  :root[data-lavender-theme="dark"] body main[data-rewards="history"] .rewarditem[data-reward-kind="cycle-1"] .tile { background:linear-gradient(135deg,#FF4E8A,#C21F5E) !important; }
  :root[data-lavender-theme="dark"] body main[data-rewards="history"] .rewarditem[data-reward-kind="cycle-2"] .tile { background:linear-gradient(135deg,#1FC8E8,#0B86B8) !important; }
  :root[data-lavender-theme="dark"] body main[data-rewards="history"] .rewarditem[data-reward-kind="cycle-3"] .tile { background:linear-gradient(135deg,#FF8A1F,#E5540B) !important; }
  :root[data-lavender-theme="dark"] body main[data-rewards="history"] .rewarditem[data-reward-kind="cycle-4"] .tile { background:linear-gradient(135deg,#3E8BFF,#1F55D6) !important; }
  :root[data-lavender-theme="dark"] body main[data-phase1-redesign="report"] .r-metric .m-label::before,
  :root[data-lavender-theme="dark"] body main[data-phase1-redesign="report"] .r-metric:nth-child(5n+2) .m-label::before { background:#A36BFF !important; }
  :root[data-lavender-theme="dark"] body main[data-phase1-redesign="report"] .r-metric:nth-child(5n+1) .m-label::before { background:#3E8BFF !important; }
  :root[data-lavender-theme="dark"] body main[data-phase1-redesign="report"] .r-metric:nth-child(5n+3) .m-label::before { background:#FF8A1F !important; }
  :root[data-lavender-theme="dark"] body main[data-phase1-redesign="report"] .r-metric:nth-child(5n+4) .m-label::before { background:#FF4E8A !important; }
  :root[data-lavender-theme="dark"] body main[data-phase1-redesign="report"] .r-metric:nth-child(5n) .m-label::before { background:#1FC8E8 !important; }
  :root[data-lavender-theme="dark"] body main[data-phase1-redesign="deposit"] .cash-hero,
  :root[data-lavender-theme="dark"] body main[data-phase2-redesign="withdraw"] :is(.cash-hero,.wd-hero) {
    background:
      radial-gradient(120% 140% at 100% 0%,rgba(62,139,255,.22),transparent 60%),
      radial-gradient(90% 120% at 70% 100%,rgba(163,107,255,.14),transparent 60%),
      #2A2E33 !important;
  }
  :root[data-lavender-theme="dark"][data-x5-palette="forest"] body main[data-phase1-redesign="deposit"] .cash-hero,
  :root[data-lavender-theme="dark"][data-x5-palette="forest"] body main[data-phase2-redesign="withdraw"] :is(.cash-hero,.wd-hero) {
    background:
      radial-gradient(120% 140% at 100% 0%,rgba(62,139,255,.22),transparent 60%),
      radial-gradient(90% 120% at 70% 100%,rgba(163,107,255,.14),transparent 60%),
      linear-gradient(125deg,#28473c,#1e352d) !important;
  }
}
@layer x5-regular-type {
  :root[data-lavender-theme="dark"] .bottom-nav > button:is(.active,[aria-current="page"]) > span { color:var(--nav-label) !important; }
  :root[data-lavender-theme="dark"] .bottom-nav > button:not(:is(.active,[aria-current="page"])) > span { color:var(--nav-inactive) !important; }
  :root[data-lavender-theme="dark"] .lavender-app.page-activities .activity-card-0 .activity-cta { color:#fff !important; background:linear-gradient(135deg,#A36BFF,#6A34D6) !important; }
  :root[data-lavender-theme="dark"] .lavender-app.page-activities .activity-card-1 .activity-cta { color:#2A1A00 !important; background:linear-gradient(135deg,#FFD36B,#FF9F1C) !important; }
  :root[data-lavender-theme="dark"] .lavender-app.page-activities .activity-card-2 .activity-cta { color:#fff !important; background:linear-gradient(135deg,#FF4E8A,#C21F5E) !important; }
  :root[data-lavender-theme="dark"][data-x5-palette="forest"] .lavender-app.page-activities .activity-copy p { color:#EEF1F6 !important; }
  :root[data-lavender-theme="dark"] .lavender-app .tx-row > .tx-icon-deposit { color:#fff !important; background:linear-gradient(135deg,#3E8BFF,#1F55D6) !important; }
  :root[data-lavender-theme="dark"] .lavender-app .tx-row > .tx-icon-withdrawal { color:#fff !important; background:linear-gradient(135deg,#FF8A1F,#E5540B) !important; }
  :root[data-lavender-theme="dark"] .lavender-app .tx-row > .tx-icon-transfer { color:#fff !important; background:linear-gradient(135deg,#A36BFF,#6A34D6) !important; }
  :root[data-lavender-theme="dark"] body main.page-results .hero { background:linear-gradient(120deg,#5B2EE0,#2F6AFF) !important; }
  :root[data-lavender-theme="dark"] body main.page-results .hero :is(.eyebrow,h3,.date,.sub) { color:#fff !important; }
  :root[data-lavender-theme="dark"] body main[data-phase1-redesign="agent"] .agent-tile-1 .agent-tile-art { color:#fff !important; background:linear-gradient(135deg,#3E8BFF,#1F55D6) !important; }
  :root[data-lavender-theme="dark"] body main[data-phase1-redesign="agent"] .agent-tile-2 .agent-tile-art { color:#fff !important; background:linear-gradient(135deg,#FF8A1F,#E5540B) !important; }
  :root[data-lavender-theme="dark"] body main[data-phase1-redesign="agent"] .agent-tile-3 .agent-tile-art { color:#fff !important; background:linear-gradient(135deg,#FF4E8A,#C21F5E) !important; }
  :root[data-lavender-theme="dark"] body main[data-phase1-redesign="agent"] .agent-tile-4 .agent-tile-art { color:#fff !important; background:linear-gradient(135deg,#1FC8E8,#0B86B8) !important; }
  :root[data-lavender-theme="dark"] body main[data-phase1-redesign="agent"] .agent-tile-art svg { color:#fff !important; fill:#fff !important; }
  :root[data-lavender-theme="dark"] body main[data-phase1-redesign="agent"] .phase1-agent-hero { background:radial-gradient(120% 140% at 100% 0%,rgba(163,107,255,.16),transparent 62%),#2A2E33 !important; }
  :root[data-lavender-theme="dark"][data-x5-palette="forest"] body main[data-phase1-redesign="agent"] .phase1-agent-hero { background:radial-gradient(120% 140% at 100% 0%,rgba(163,107,255,.16),transparent 62%),radial-gradient(70% 90% at 100% 0%,#688e7b 0%,transparent 60%),radial-gradient(60% 80% at 0% 100%,#226041 0%,transparent 70%),linear-gradient(135deg,#326c4f,#2e5448) !important; }
  :root[data-lavender-theme="dark"] body main[data-phase1-redesign="agent"] .agent-balance { color:#EEF1F6 !important; }
}
@layer x5-regular-type {
  :root[data-lavender-theme="dark"] .bottom-nav > button:nth-child(1):is(.active,[aria-current="page"]) > span { color:var(--nav-label) !important; }
  :root[data-lavender-theme="dark"] .bottom-nav > button:nth-child(2):is(.active,[aria-current="page"]) > span { color:var(--nav-label) !important; }
  :root[data-lavender-theme="dark"] .bottom-nav > button:nth-child(3):is(.active,[aria-current="page"]) > span { color:var(--nav-label) !important; }
  :root[data-lavender-theme="dark"] .bottom-nav > button:nth-child(4):is(.active,[aria-current="page"]) > span { color:var(--nav-label) !important; }
  :root[data-lavender-theme="dark"] .bottom-nav > button:nth-child(5):is(.active,[aria-current="page"]) > span { color:var(--nav-label) !important; }
  :root[data-lavender-theme="dark"] #root .lavender-app.page-activities .activity-card-0 .activity-cta { color:#fff !important; background:linear-gradient(135deg,#7B42D0,#6A34D6) !important; }
  :root[data-lavender-theme="dark"] #root .lavender-app.page-activities .activity-card-1 .activity-cta { color:#2A1A00 !important; background:linear-gradient(135deg,#FFD36B,#FF9F1C) !important; }
  :root[data-lavender-theme="dark"] #root .lavender-app.page-activities .activity-card-2 .activity-cta { color:#fff !important; background:linear-gradient(135deg,#D42C6D,#C21F5E) !important; }
  :root[data-lavender-theme="dark"] #root .lavender-app .tx-row > .tx-icon-deposit { color:#fff !important; background:linear-gradient(135deg,#3E8BFF,#1F55D6) !important; }
  :root[data-lavender-theme="dark"] #root .lavender-app .tx-row > .tx-icon-withdrawal { color:#fff !important; background:linear-gradient(135deg,#FF8A1F,#E5540B) !important; }
  :root[data-lavender-theme="dark"] #root .lavender-app .tx-row > .tx-icon-transfer { color:#fff !important; background:linear-gradient(135deg,#A36BFF,#6A34D6) !important; }
  :root[data-lavender-theme="dark"] body main[data-phase3-lottery="results"].page-results .hero :is(.eyebrow,h3,.date,.sub) { color:#fff !important; }
  :root[data-lavender-theme="dark"] body main#agent[data-phase1-redesign="agent"] .agent-tile-1 .agent-tile-art { color:#fff !important; background:linear-gradient(135deg,#3E8BFF,#1F55D6) !important; }
  :root[data-lavender-theme="dark"] body main#agent[data-phase1-redesign="agent"] .agent-tile-2 .agent-tile-art { color:#fff !important; background:linear-gradient(135deg,#FF8A1F,#E5540B) !important; }
  :root[data-lavender-theme="dark"] body main#agent[data-phase1-redesign="agent"] .agent-tile-3 .agent-tile-art { color:#fff !important; background:linear-gradient(135deg,#FF4E8A,#C21F5E) !important; }
  :root[data-lavender-theme="dark"] body main#agent[data-phase1-redesign="agent"] .agent-tile-4 .agent-tile-art { color:#fff !important; background:linear-gradient(135deg,#1FC8E8,#0B86B8) !important; }
  :root[data-lavender-theme="dark"] :is(#root,body) main[data-phase1-redesign="agent"] .agent-tile-1 .agent-tile-art { background:linear-gradient(135deg,#3E8BFF,#1F55D6) !important; }
  :root[data-lavender-theme="dark"] :is(#root,body) main[data-phase1-redesign="agent"] .agent-tile-2 .agent-tile-art { background:linear-gradient(135deg,#FF8A1F,#E5540B) !important; }
  :root[data-lavender-theme="dark"] :is(#root,body) main[data-phase1-redesign="agent"] .agent-tile-3 .agent-tile-art { background:linear-gradient(135deg,#FF4E8A,#C21F5E) !important; }
  :root[data-lavender-theme="dark"] :is(#root,body) main[data-phase1-redesign="agent"] .agent-tile-4 .agent-tile-art { background:linear-gradient(135deg,#1FC8E8,#0B86B8) !important; }
  :root[data-lavender-theme="dark"] :is(#root,body) main[data-phase3-lottery="results"] .hero :is(.eyebrow,h3,.date,.sub) { color:#fff !important; }
}

@layer x5-regular-type {
  :root[data-lavender-theme="dark"] body main[data-phase1-redesign="agent"] .a-data-row:nth-child(n) .a-metric-icon { color:#fff !important; }
  :root[data-lavender-theme="dark"] body main[data-phase1-redesign="agent"] .a-data-row .a-metric-icon svg {
    width:16px !important;
    height:16px !important;
    color:#fff !important;
    fill:none !important;
    stroke:#fff !important;
    stroke-width:1.8px !important;
    stroke-linecap:round !important;
    stroke-linejoin:round !important;
  }
  :root[data-lavender-theme="dark"] body main[data-phase1-redesign="agent"] .a-data-row .a-metric-icon svg :is(path,circle,rect,line,polyline,polygon,ellipse) {
    fill:none !important;
    stroke:#fff !important;
    stroke-width:1.8px !important;
  }
  :root[data-lavender-theme="dark"] body main[data-phase1-redesign="agent"] .a-data-row .a-metric-icon img { width:16px !important; height:16px !important; filter:brightness(0) invert(1) !important; }
  :root[data-lavender-theme="dark"][data-x5-palette="forest"] body main[data-phase1-redesign="agent"] :is(.agent-balance-label,.agent-balance-label .scope,.a-counts span) { color:#EEF1F6 !important; }
  :root[data-lavender-theme="dark"][data-x5-palette="forest"] body main[data-phase1-redesign="agent"] .agent-balance-label .scope { background:rgba(11,23,16,.32) !important; border-color:rgba(255,255,255,.22) !important; }
  :root[data-lavender-theme="dark"][data-x5-palette="forest"] body main#lotto-bet :is(.lb-period,.lb-last,.lb-history,.lb-stepper button,.lb-quick button:not(.on)) { color:#EEF1F6 !important; }
}
:root body main[data-phase2-redesign="help"] section.help-banner > .help-banner-icon { display:grid !important; place-items:center !important; padding:0 !important; line-height:0 !important; }
:root body main[data-phase2-redesign="help"] section.help-banner > .help-banner-icon > svg { display:block !important; margin:0 !important; }
