/* Preserve original page designs; improve vector icons and action legibility only. */
.guided-app-badge svg{display:block;width:68%;height:68%;overflow:visible}
html[data-client-design=guided] body.client-body #networkGrid .guided-app-threads{background:#151515!important;color:#fff!important}
html[data-client-design=guided] body.client-body #networkGrid .guided-app-spotify{background:#1ed760!important;color:#102719!important}
html[data-client-design=guided] body.client-body #networkGrid .guided-app-audiomack{background:#ffad27!important;color:#211b0d!important}
html[data-client-design=guided] body.client-body #networkGrid .guided-app-boomplay{background:#ffb134!important;color:#211b0d!important}
html[data-client-design=guided] body.client-body #networkGrid :is(.guided-app-premium,.guided-app-vip){background:#ead087!important;color:#292315!important}
html[data-client-design=guided] body.client-body #networkGrid .guided-app-data{background:#248772!important;color:#fff!important}
html[data-client-design=guided] body.client-body #networkGrid .guided-app-panel{background:#526d9c!important;color:#fff!important}
html[data-client-design][data-client-theme][data-optional-theme] body.client-body .client-main .client-top.dg-regional-top .balance-pill>a{font-size:12px!important;min-width:76px!important;width:auto!important;white-space:nowrap!important;padding:0 9px!important}
html[data-client-design][data-client-theme][data-optional-theme] body.client-body .client-main .client-top.dg-regional-top .balance-pill>a:before,
html[data-client-design][data-client-theme][data-optional-theme] body.client-body .client-main .client-top.dg-regional-top .balance-pill>a:after{content:none!important;display:none!important}

/* Native refresh remains available without changing page appearance. */
@media(max-width:760px){html:has(>body.client-body){overscroll-behavior-y:auto!important}body.client-body,body.client-body .client-main{overscroll-behavior-y:auto!important;touch-action:auto!important}}
.client-refresh-page{min-height:44px;padding:10px 12px;border:1px solid var(--line,#39443b);border-radius:9px;background:transparent;color:inherit;text-align:left;font:inherit;cursor:pointer}

/* Readability improvements preserve the established layouts and surfaces. */
html[data-client-theme=dark]{--read-ink:#f3f6ef;--read-muted:#c4cdc0;--read-line:#677362;--read-soft:#2c342f}
html[data-client-theme=light]{--read-ink:#20271e;--read-muted:#505c4c;--read-line:#8e9b85;--read-soft:#edf1e7}
html[data-client-theme][data-client-design][data-optional-theme] body.client-body:not(.admin-body) .client-main .client-top.dg-regional-top .balance-pill>a{color:#171b11!important;background:#ecd184!important;border:1px solid #ecd184!important;font-size:13px!important;font-weight:750!important;line-height:1.2!important;min-width:82px!important;opacity:1!important;visibility:visible!important;text-shadow:none!important}
html[data-client-theme][data-client-design][data-optional-theme] body.client-body:not(.admin-body) .client-main .client-top.dg-regional-top .balance-pill>a:visited{color:#171b11!important}
html[data-client-theme][data-client-design][data-optional-theme] body.client-body:not(.admin-body) .client-main .client-top.dg-regional-top .balance-pill>b,html[data-client-theme][data-client-design][data-optional-theme] body.client-body:not(.admin-body) .client-main .client-top.dg-regional-top #dgCurrencyCurrent{color:var(--read-ink)!important;font-weight:750!important;opacity:1!important}
html[data-client-theme][data-client-design][data-optional-theme] body.client-body:not(.admin-body) .client-main .client-top.dg-regional-top .balance-pill>small,html[data-client-theme][data-client-design][data-optional-theme] body.client-body:not(.admin-body) .client-main .client-top.dg-regional-top .dg-currency-current small{color:var(--read-muted)!important;opacity:1!important;font-weight:650!important}
html[data-client-theme][data-client-design][data-optional-theme] body.client-body:not(.admin-body) .client-main .client-top.dg-regional-top :is(.balance-pill,#dgCurrencyToggle){border-color:var(--read-line)!important}
html[data-client-theme][data-client-design][data-optional-theme] body.client-body:not(.admin-body) .client-main .client-top.dg-regional-top :is(.dg-theme-toggle,.dg-design-picker,.dg-top-profile,#dgNotificationToggle){color:var(--read-ink)!important;border-color:var(--read-line)!important;opacity:1!important}
html[data-client-theme][data-client-design][data-optional-theme] body.client-body:not(.admin-body) .client-main .client-top.dg-regional-top #dgNotificationCount{background:#ecd184!important;color:#171b11!important}
html[data-client-theme][data-client-design][data-optional-theme] body.client-body:not(.admin-body) .client-main :is(.pc-copy,.fund-help p,.funds-head p,.order-head p,.orders-head p,.profile-head p,.refer-head p,.client-guide p,.selected-service-details p,.field>label,.profile-fields label>span){color:var(--read-muted)!important;opacity:1!important}
html[data-client-theme][data-client-design][data-optional-theme] body.client-body:not(.admin-body) .client-main :is(input,textarea)::placeholder{color:var(--read-muted)!important;opacity:1!important}
html[data-client-theme][data-client-design][data-optional-theme] body.client-body:not(.admin-body) .order-progress :is(span,.guided-progress-step){color:var(--read-muted)!important;opacity:1!important}
html[data-client-theme][data-client-design][data-optional-theme] body.client-body:not(.admin-body) .order-progress b{background:var(--read-soft)!important;color:var(--read-ink)!important;border-color:var(--read-line)!important;font-weight:750!important}
html[data-client-theme][data-client-design][data-optional-theme] body.client-body:not(.admin-body) .order-progress .on b{background:#ecd184!important;color:#171b11!important;border-color:#ecd184!important}
html[data-client-theme][data-client-design][data-optional-theme] body.client-body:not(.admin-body) .client-main :is(button,a,input,textarea,select):focus-visible{outline:2px solid var(--read-line)!important;outline-offset:3px!important}
html[data-client-theme] #dgCurrencyMenu{color:var(--read-ink)!important}

/* Three layout choices plus one palette switch, sized to fit a phone screen. */
html[data-client-theme][data-client-design] .dg-theme-dialog.dg-compact-themes{position:fixed!important;inset:0!important;margin:auto!important;transform:none!important;box-sizing:border-box!important;width:min(400px,calc(100% - 24px))!important;max-width:400px!important;height:fit-content!important;max-height:calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom))!important;overflow:auto!important;padding:18px!important;border:1px solid var(--read-line)!important;border-radius:16px!important;background:var(--dg-card,var(--panel,#202520))!important;color:var(--read-ink)!important}
html[data-client-theme][data-client-design] .dg-theme-dialog.dg-compact-themes h2{font:750 21px/1.25 system-ui,sans-serif!important;letter-spacing:-.3px!important;margin:0 0 5px!important;color:var(--read-ink)!important}
html[data-client-theme][data-client-design] .dg-theme-dialog.dg-compact-themes h2:after{content:none!important;display:none!important}
html[data-client-theme][data-client-design] .dg-theme-dialog.dg-compact-themes .dg-design-intro{font:13px/1.4 system-ui,sans-serif!important;margin:0!important;color:var(--read-muted)!important}
html[data-client-theme][data-client-design] .dg-theme-dialog.dg-compact-themes .dg-theme-options{display:grid!important;grid-template-columns:1fr!important;gap:7px!important;margin:14px 0!important}
html[data-client-theme][data-client-design] .dg-theme-dialog.dg-compact-themes .dg-theme-option{display:grid!important;grid-template-columns:32px minmax(0,1fr) 20px!important;align-items:center!important;gap:10px!important;padding:10px!important;min-height:62px!important;width:100%!important;box-sizing:border-box!important;text-align:left!important;border:1px solid var(--read-line)!important;border-radius:10px!important;background:transparent!important;color:var(--read-ink)!important;box-shadow:none!important}
html[data-client-theme][data-client-design] .dg-theme-dialog.dg-compact-themes .dg-theme-option[aria-pressed=true]{border-color:#c1a24d!important;background:var(--dg-soft,var(--read-soft))!important;box-shadow:inset 0 0 0 1px #c1a24d!important}
html[data-client-theme][data-client-design] .dg-theme-dialog.dg-compact-themes .dg-theme-layout-icon{display:grid;place-items:center;width:32px;height:32px;color:inherit}
html[data-client-theme][data-client-design] .dg-theme-dialog.dg-compact-themes .dg-theme-layout-icon svg{display:block;width:25px;height:25px}
html[data-client-theme][data-client-design] .dg-theme-dialog.dg-compact-themes .dg-theme-copy{display:grid!important;gap:3px!important}
html[data-client-theme][data-client-design] .dg-theme-dialog.dg-compact-themes .dg-theme-copy strong{color:var(--read-ink)!important;font:700 14px/1.3 system-ui,sans-serif!important}
html[data-client-theme][data-client-design] .dg-theme-dialog.dg-compact-themes .dg-theme-copy small{color:var(--read-muted)!important;font:12px/1.3 system-ui,sans-serif!important}
html[data-client-theme][data-client-design] .dg-theme-dialog.dg-compact-themes .dg-theme-layout-check{display:grid;place-items:center;width:20px;height:20px;border:1px solid var(--read-line);border-radius:50%;font:750 13px/1 system-ui,sans-serif;color:transparent}
html[data-client-theme][data-client-design] .dg-theme-dialog.dg-compact-themes .dg-theme-option[aria-pressed=true] .dg-theme-layout-check{color:#171b11;background:#ecd184;border-color:#ecd184}
html[data-client-theme][data-client-design] .dg-theme-dialog.dg-compact-themes .dg-theme-appearance{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:2px 0 14px}
html[data-client-theme][data-client-design] .dg-theme-dialog.dg-compact-themes .dg-theme-appearance>span{display:grid;gap:3px}
html[data-client-theme][data-client-design] .dg-theme-dialog.dg-compact-themes .dg-theme-appearance strong{font:700 14px/1.3 system-ui,sans-serif;color:var(--read-ink)}
html[data-client-theme][data-client-design] .dg-theme-dialog.dg-compact-themes .dg-theme-appearance small{font:12px/1.3 system-ui,sans-serif;color:var(--read-muted)}
html[data-client-theme][data-client-design] .dg-theme-dialog.dg-compact-themes .dg-palette-toggle{display:flex!important;align-items:center!important;justify-content:flex-start!important;width:50px!important;min-width:50px!important;min-height:44px!important;height:44px!important;padding:8px 3px!important;box-sizing:border-box!important;background:transparent!important;border:0!important;border-radius:0!important;position:relative;cursor:pointer;flex:none}
html[data-client-theme][data-client-design] .dg-theme-dialog.dg-compact-themes .dg-palette-toggle:before{content:'';position:absolute;inset:8px 0;border-radius:99px;background:var(--read-soft);border:1px solid var(--read-line)}
html[data-client-theme][data-client-design] .dg-theme-dialog.dg-compact-themes .dg-palette-toggle>span{position:relative;display:block;flex:none;width:22px;height:22px;border-radius:50%;background:var(--read-ink);transition:transform .12s ease}
html[data-client-theme][data-client-design] .dg-theme-dialog.dg-compact-themes .dg-palette-toggle[aria-checked=true]:before{background:#ecd184;border-color:#ecd184}
html[data-client-theme][data-client-design] .dg-theme-dialog.dg-compact-themes .dg-palette-toggle[aria-checked=true]>span{background:#171b11;transform:translateX(22px)}
html[data-client-theme][data-client-design] .dg-theme-dialog.dg-compact-themes .dg-theme-close{display:block!important;width:100%!important;min-height:44px!important;padding:10px!important;margin:0!important;border:1px solid #ecd184!important;border-radius:9px!important;background:#ecd184!important;color:#171b11!important;font:750 14px/1.3 system-ui,sans-serif!important}
html[data-client-theme][data-client-design] .dg-theme-dialog.dg-compact-themes :is(button,a):focus-visible{outline:2px solid var(--read-ink)!important;outline-offset:2px!important}
@media(prefers-reduced-motion:reduce){html[data-client-theme][data-client-design] .dg-theme-dialog.dg-compact-themes .dg-palette-toggle>span{transition:none}}

/* Client page audit: preserve layouts while making metadata and actions readable. */
html[data-client-theme][data-client-design][data-optional-theme] body.client-body:not(.admin-body) .client-main .client-top.dg-regional-top #dgNotificationToggle{background:var(--read-soft)!important;color:var(--read-ink)!important}
html[data-client-theme][data-client-design][data-optional-theme] body.client-body:not(.admin-body) :is(.order-compact-title strong,.order-compact-price b,.refer-empty b,.ref-withdraw-grid b,.ref-methods b){color:var(--read-ink)!important}
html[data-client-theme][data-client-design][data-optional-theme] body.client-body:not(.admin-body) :is(.order-compact-title span,.order-compact-price small,.order-compact-sub span,.order-compact-sub i,.profile-fields label small,.community-card small,.ref-withdraw-grid small){color:var(--read-muted)!important}
html[data-client-theme][data-client-design][data-optional-theme] body.client-body:not(.admin-body) :is(.pc-title>div>span,.pc-kicker,.security-row>a,.security-row>span,.refer-link-card small,.refer-stats small,.refer-how>span,.refer-activity>div>span,.ref-wallet-head>div>span,.ref-wallet-head h2 span,.ref-methods>span,.refer-note>b,.refer-note strong,#fundSymbol,.method-row>i){color:var(--read-ink)!important}
html[data-client-theme][data-client-design][data-optional-theme] body.client-body:not(.admin-body) .own-panel-benefits strong{color:var(--read-ink)!important}
html[data-client-theme][data-client-design][data-optional-theme] body.client-body:not(.admin-body) .own-panel-benefits small{color:var(--read-muted)!important}
html[data-client-theme][data-client-design][data-optional-theme] body.client-body:not(.admin-body) .profile-action-link{display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;border:1px solid var(--read-line);border-radius:9px;color:var(--read-ink)!important;background:var(--read-soft);font-size:11px;font-weight:800;text-decoration:none;overflow-wrap:anywhere}
html[data-client-theme][data-client-design][data-optional-theme] body.client-body:not(.admin-body) :is(.api-layout,.api-main-column,.api-side-column,.api-card){min-width:0}
html[data-client-theme][data-client-design][data-optional-theme] body.client-body:not(.admin-body) .api-doc-tabs{flex-wrap:wrap;overflow:visible}
html[data-client-theme][data-client-design][data-optional-theme] body.client-body:not(.admin-body) .api-doc-tabs button{width:auto!important;flex:0 0 auto;min-height:40px}
html[data-client-theme][data-client-design][data-optional-theme] body.client-body:not(.admin-body) :is(.api-hero p,.api-muted,.api-key-meta,.api-key-meta span,.api-key-meta b,.api-action-title small,.api-code-head,.api-code-head span,.api-quick-card li small,.api-dialog p){color:var(--read-muted)!important}
html[data-client-theme][data-client-design][data-optional-theme] body.client-body:not(.admin-body) :is(.api-card>span,.api-card-head>div>span,.api-action-title b,.api-quick-card li b){color:var(--read-ink)!important}
html[data-client-theme][data-client-design][data-optional-theme] body.client-body:not(.admin-body) :is(.api-endpoint-row small,.api-key-box small,.api-connection-grid small,.api-param-table em){color:#bac7cd!important}

html[data-client-theme][data-client-design][data-optional-theme] body.client-body:not(.admin-body) :is(#catalogStatus,#customCommentsCount,#quantityLimits,.order-total>span,.order-topline>span){color:var(--read-muted)!important}

html[data-client-theme][data-client-design][data-optional-theme] body.client-body:not(.admin-body) .order-box-title>span{color:var(--read-muted)!important}
html[data-client-theme=light][data-client-design][data-optional-theme] body.client-body:not(.admin-body) .order-inline-status.complete{color:#155d36!important;background:#e1f5e8!important}
html[data-client-theme=light][data-client-design][data-optional-theme] body.client-body:not(.admin-body) .order-inline-status.issue{color:#922b3a!important;background:#fce8ec!important}
html[data-client-theme=light][data-client-design][data-optional-theme] body.client-body:not(.admin-body) .order-inline-status.inprogress{color:#174d86!important;background:#e2edff!important}
html[data-client-theme=light][data-client-design][data-optional-theme] body.client-body:not(.admin-body) .order-inline-status.pending{color:#755012!important;background:#fff0cc!important}
html[data-client-theme=dark][data-client-design][data-optional-theme] body.client-body:not(.admin-body) .order-inline-status.complete{color:#a3f0c5!important;background:#103d29!important}
html[data-client-theme=dark][data-client-design][data-optional-theme] body.client-body:not(.admin-body) .order-inline-status.issue{color:#ffc0ca!important;background:#51212c!important}
html[data-client-theme=dark][data-client-design][data-optional-theme] body.client-body:not(.admin-body) .order-inline-status.inprogress{color:#b5d8ff!important;background:#173c62!important}
html[data-client-theme=dark][data-client-design][data-optional-theme] body.client-body:not(.admin-body) .order-inline-status.pending{color:#ffe2a0!important;background:#4d3918!important}
html[data-client-theme][data-client-design][data-optional-theme] body.client-body:not(.admin-body) .api-key-summary>span{color:#bac7cd!important}

html[data-client-theme][data-client-design][data-optional-theme] body.client-body:not(.admin-body) :is(.api-endpoint-row,.api-key-box,.api-connection-grid>div,.api-param-table>div,.api-card pre){background:var(--read-soft)!important;border-color:var(--read-line)!important}
html[data-client-theme][data-client-design][data-optional-theme] body.client-body:not(.admin-body) :is(.api-endpoint-row code,.api-key-box code,.api-connection-grid b,.api-param-table b,.api-param-table code,.api-card pre){color:var(--read-ink)!important}
html[data-client-theme][data-client-design][data-optional-theme] body.client-body:not(.admin-body) :is(.api-endpoint-row small,.api-key-box small,.api-connection-grid small,.api-param-table em,.api-param-table span){color:var(--read-muted)!important}

html[data-client-theme][data-client-design][data-optional-theme] body.client-body:not(.admin-body) :is(.own-panel-benefits-kicker,.own-panel-benefits>div>b,.own-panel-benefits>a){color:var(--read-ink)!important}
html[data-client-theme][data-client-design][data-optional-theme] body.client-body:not(.admin-body) .own-panel-start{background:#ecd184!important;color:#171b11!important;border-color:#b39445!important}

/* Expanded/live-loaded content must use the selected palette too. */
html[data-client-theme][data-client-design][data-optional-theme] body.client-body:not(.admin-body) :is(#copyReferral,.orders-refresh,.ref-wallet-actions button){background:var(--read-soft)!important;color:var(--read-ink)!important;border-color:var(--read-line)!important}
html[data-client-theme][data-client-design][data-optional-theme] body.client-body:not(.admin-body) .refer-note p{color:var(--read-muted)!important}
html[data-client-theme][data-client-design][data-optional-theme] body.client-body:not(.admin-body) :is(.order-expanded,.order-expanded-service,.order-detail-facts>span,.order-link-block){background:var(--read-soft)!important;border-color:var(--read-line)!important}
html[data-client-theme][data-client-design][data-optional-theme] body.client-body:not(.admin-body) :is(.order-expanded-service b,.order-detail-facts b,.order-link-block>span){color:var(--read-ink)!important}
html[data-client-theme][data-client-design][data-optional-theme] body.client-body:not(.admin-body) :is(.order-expanded-service small,.order-detail-facts small,.order-link-block small,.order-last-checked){color:var(--read-muted)!important}
html[data-client-theme][data-client-design][data-optional-theme] body.auth .back a{color:var(--read-ink)!important;text-decoration:underline;text-underline-offset:3px}

html[data-client-theme][data-client-design][data-optional-theme] .dg-currency-selected>span{color:var(--read-muted)!important}

html[data-client-theme][data-client-design][data-optional-theme] body.client-body.gains-chat-client dialog.support-dialog.is-website-widget[data-chat-mode="gains-client"] .support-widget-footer{color:#526a5d!important}

/* Add Funds stays in the header; the five remaining shortcuts fit in one row. */
@media(max-width:520px){
 html[data-client-theme] body .mobile-bottom-nav.no-home.with-support.with-live-chat{grid-template-columns:repeat(5,minmax(0,1fr))!important;grid-auto-rows:auto!important}
 html[data-client-theme] body .mobile-bottom-nav.with-live-chat :is(a,button){min-width:0!important;padding-inline:2px!important;font-size:11px!important}
 html[data-client-theme] body .mobile-bottom-nav.with-live-chat span{font-size:11px!important;line-height:1.1!important;white-space:normal!important;text-align:center!important;overflow:visible!important;text-overflow:clip!important}
 html[data-client-theme] body .mobile-bottom-nav.with-live-chat .mobile-live-chat{background:#183e35!important;border-color:#387260!important;color:#a1f0ca!important}
 html[data-client-theme=light] body .mobile-bottom-nav.with-live-chat .mobile-live-chat,
 html[data-optional-theme=light] body .mobile-bottom-nav.with-live-chat .mobile-live-chat{background:#e4f4eb!important;border-color:#b9dac7!important;color:#116a50!important}
 html[data-client-design=guided][data-client-theme=dark] body.client-body.dg-easy-start .mobile-bottom-nav.with-live-chat .mobile-live-chat{background:#1f3c32!important;border-color:#4b806b!important;color:#abefce!important}
 html[data-client-design=guided][data-client-theme=light] body.client-body.dg-easy-start .mobile-bottom-nav.with-live-chat .mobile-live-chat{background:#e4f4eb!important;border-color:#b9dac7!important;color:#116a50!important}
 html[data-client-theme] body .mobile-bottom-nav.with-live-chat .mobile-live-chat.active{box-shadow:inset 0 0 0 1px currentColor}
}

/* Keep the restored palette switch beside the bell, with alerts at the far edge. */
html[data-client-design][data-client-theme][data-optional-theme] body.client-body .client-main .client-top.dg-regional-top > .dg-theme-toggle{order:3!important}
html[data-client-design][data-client-theme][data-optional-theme] body.client-body .client-main .client-top.dg-regional-top > #dgNotificationCenter{order:4!important;margin-left:0!important}
@media(max-width:760px){
 html[data-client-design][data-client-theme][data-optional-theme] body.client-body .client-main .client-top.dg-regional-top{grid-template-columns:44px minmax(0,1fr) 44px 44px!important}
 html[data-client-design][data-client-theme][data-optional-theme] body.client-body .client-main .client-top.dg-regional-top > .dg-theme-toggle{grid-column:3!important;grid-row:1!important}
 html[data-client-design][data-client-theme][data-optional-theme] body.client-body .client-main .client-top.dg-regional-top > #dgNotificationCenter{grid-column:4!important;grid-row:1!important;justify-self:end!important}
 html[data-client-theme] body.client-body .client-top.dg-theme-header:not(.dg-regional-top) > .dg-theme-toggle{right:54px!important}
}

/* Restore the calm green and warm gold palette on the Original client layout. */
html[data-optional-theme=original][data-client-theme=dark]{--black:#171d19;--panel:#232c25;--text:#eff4eb;--muted:#b8c5b6;--line:#3e4c40;--gold:#efd385;--gold2:#f1d487;--panel-accent:#efd385;--dg-bg:#171d19;--dg-card:#232c25;--dg-ink:#eff4eb;--dg-muted:#b8c5b6;--dg-line:#3e4c40;--dg-soft:#2d392f;--dg-accent:#efd385;--dg-button-ink:#172019;--dg-dark-base:#171d19;--dg-dark-card:#232c25;--dg-dark-raised:#2d392f;--dg-dark-input:#1c2720;--dg-dark-border:#3e4c40;--read-ink:#eff4eb;--read-muted:#c4d0c2;--read-line:#607360;--read-soft:#2d392f}
html[data-optional-theme=original][data-client-theme=dark] body.client-body{background:#171d19!important;color:#eff4eb!important}
html[data-optional-theme=original][data-client-theme=dark] body.client-body :is(.client-side,.client-top,.mobile-bottom-nav){background:#1b251e!important;border-color:#3e4c40!important}
html[data-optional-theme=original][data-client-theme=dark] body.client-body :is(.card,.order-box,.fund-card,.fund-summary,.profile-card,.orders-toolbar,.order-card,.live-order-card,.orders-empty,.panel-plan,.refer-link-card,.refer-stats article,.refer-how,.refer-activity,.ref-wallet,.ref-withdraw-grid>div,.ref-methods,.community-card,.customer-order-dialog,.customer-api-card,.api-card,.api-section){background:#232c25!important;border-color:#3e4c40!important;box-shadow:0 8px 28px #0d191126!important}
html[data-optional-theme=original][data-client-theme=dark] body.client-body :is(.side-help,.selected-service-details,.selected-service-facts,.chosen-service,.link-help,.quantity-field,.link-field,.order-substep label,.order-receipt,.order-preview,.oc-details>div,.orders-note,.refer-note,.fund-help,.crypto-box,.ref-wallet-stat,.configured-account-summary>span,.flow-empty,.fast-checkout){background:#2d392f!important;border-color:#435446!important}
html[data-optional-theme=original][data-client-theme=dark] body.client-body :is(input:not([type=radio]):not([type=checkbox]),textarea,select,.search,.client-search,.amount-box,.balance-pill,.dg-currency-toggle,.dg-currency-menu){background:#1c2720!important;color:#eff4eb!important;border-color:#495a4b!important}
html[data-optional-theme=original][data-client-theme=dark] body.client-body :is(.platform-grid>a,.platform-grid button.catalog-choice,.need-grid button,.subcategory-list button.service-choice,.service-preview,.client-platforms>a,.payment-option){background:#2d392f!important;border-color:#495a4b!important}
html[data-optional-theme=original][data-client-theme=dark] body.client-body :is(.catalog-choice:hover,.catalog-choice.selected,.need-grid button:hover,.need-grid button.selected,.service-choice:hover,.service-choice.selected,.payment-option.selected,.side-nav a.active,.side-nav a:hover){background:#354832!important;border-color:#bca35b!important;color:#f8e7aa!important}
html[data-optional-theme=original][data-client-theme=dark] body.client-body :is(.continue-pay,.gold,.button:not(.secondary),.cta-gold,.orders-new,.plan-tag,.fast-banner>a,.fast-checkout-button,.profile-save){background:linear-gradient(125deg,#f1d487,#d7b65d)!important;color:#172019!important;border-color:#d7b65d!important}
html[data-optional-theme=original][data-client-theme=dark] body.client-body :is(.section-kicker,.mini,.order-head>span,.funds-head>span,.refer-head>span,.panel-top-label,.welcome-kicker,.order-box-title small,.order-substep-heading small,.service-price,.order-total strong,.fund-receive strong){color:#efd385!important}
html[data-optional-theme=original][data-client-theme=dark] body.client-body :is(.order-progress .on b,.platform-icon,.sub-icon,.cp-icon,.dg-currency-selected){background:#34402b!important;border-color:#bca35b!important;color:#f1d487!important}
html[data-optional-theme=original][data-client-theme=dark] body.client-body :is(.dg-theme-toggle,.order-catalog-tools button,.orders-refresh,.quick-amounts button,.wizard-back){background:#2d392f!important;color:#efd385!important;border-color:#806f42!important}
html[data-optional-theme=original][data-client-theme=dark] body.client-body .mobile-bottom-nav .active{background:#34432d!important;color:#f1d487!important;border-color:#bca35b!important}
html[data-optional-theme=original][data-client-theme=dark] body.client-body .mobile-bottom-nav .mobile-new-order i{background:#efd385!important;color:#172019!important;border-color:#efd385!important}
html[data-optional-theme=original][data-client-theme=dark] body.client-body :is(.side-line,.side-nav .side-line,.order-progress i,.progress-track){background:#3e4c40!important}

/* New Order: keep the service action with its search field and align mobile steps. */
body.client-body .client-main:has(#customerOrderForm) > .service-search-panel{position:relative;box-sizing:border-box}
body.client-body .service-search-panel .order-catalog-tools{position:absolute;top:12px;right:16px;z-index:1;min-height:44px;margin:0!important;gap:0!important}
body.client-body .service-search-panel .order-catalog-tools button{min-height:44px;margin:0!important;white-space:nowrap}
body.client-body .service-search-panel .service-search-field > span{display:flex;align-items:center;min-height:44px;box-sizing:border-box;padding-right:158px}
body.client-body .service-search-panel #catalogStatus:empty{display:none}
html[data-client-design=classic] body.client-body .client-main:has(#customerOrderForm) > .order-progress{width:100%;max-width:none!important;box-sizing:border-box}
@media(max-width:700px){
 html[data-client-design=classic] body.client-body .client-main:has(#customerOrderForm) > :is(.service-search-panel,.order-box){box-sizing:border-box;width:100%;max-width:none;padding-left:16px!important;padding-right:16px!important;margin-left:0!important;margin-right:0!important}
 html[data-client-design=classic] body.client-body .client-main:has(#customerOrderForm) > .service-search-panel .order-catalog-tools{right:16px}
 html[data-client-design=classic] body.client-body .client-main:has(#customerOrderForm) .client-top.dg-regional-top > .dg-top-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 html[data-client-design=classic] body.client-body .client-main:has(#customerOrderForm) .client-top.dg-regional-top .balance-pill > b{font-size:12px!important}
 html[data-client-design=classic] body.client-body .client-main:has(#customerOrderForm) > .order-progress{box-sizing:border-box;width:100%;max-width:none!important;margin:14px 0 16px!important;padding:8px 0!important;align-items:stretch}
 html[data-client-design=classic] body.client-body .client-main:has(#customerOrderForm) > .order-progress > div{min-height:52px;justify-content:center;align-items:center;gap:5px!important}
 html[data-client-design=classic] body.client-body .client-main:has(#customerOrderForm) > .order-progress b{flex:none;width:28px;height:28px}
 html[data-client-design=classic] body.client-body .client-main:has(#customerOrderForm) > .order-progress span{line-height:1.2;white-space:normal}
 html[data-client-design=classic] body.client-body .client-main:has(#customerOrderForm) > .service-search-panel{margin-bottom:16px!important}
 html[data-client-design=classic] body.client-body .client-main:has(#customerOrderForm) > .order-box .order-box-title{margin-bottom:12px!important}
 html[data-client-design=classic] body.client-body .client-main:has(#customerOrderForm) > .order-box .platform-grid{margin-top:0!important}
}
/* A single content grid across signed-in pages and all three layouts. */
@media(min-width:761px){
 html:has(>body.client-body:not(.community-standalone)){scrollbar-gutter:stable}
 html[data-client-design=easy] body.client-body.dg-easy-start .client-main:has(#customerOrderForm){padding-left:38px!important;padding-right:38px!important}
}
body.client-body:not(.community-standalone) .client-main > :is(header,section,div){box-sizing:border-box;min-width:0}
html[data-client-design=classic] body.client-body .client-main:has(#customerOrderForm) > .service-search-panel{padding-left:24px;padding-right:24px}
html[data-client-design=classic] body.client-body .client-main:has(#customerOrderForm) > .service-search-panel .order-catalog-tools{right:24px}
html[data-client-design=easy] body.client-body.dg-easy-start .client-main:has(#customerOrderForm) > .order-box{padding-left:16px!important;padding-right:16px!important;box-sizing:border-box}
@media(max-width:760px){
 html[data-client-design] body.client-body:not(.community-standalone) .client-main,
 html[data-client-design] body.client-body:not(.community-standalone) .client-main:has(#customerOrderForm){padding-left:16px!important;padding-right:16px!important}
 html[data-client-design] body.client-body:not(.community-standalone) .client-main > :is(header,section,div){max-width:100%;min-width:0;box-sizing:border-box}
 html[data-client-design][data-client-theme][data-optional-theme] body.client-body .client-main .client-top.dg-regional-top > .dg-top-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:stretch!important}
 html[data-client-design][data-client-theme][data-optional-theme] body.client-body .client-main .client-top.dg-regional-top .dg-currency-control,
 html[data-client-design][data-client-theme][data-optional-theme] body.client-body .client-main .client-top.dg-regional-top .dg-currency-toggle{height:100%!important;box-sizing:border-box!important}
 html[data-client-design][data-client-theme][data-optional-theme] body.client-body .client-main .client-top.dg-regional-top .balance-pill > b{font-size:12px!important}
 html[data-client-design=classic] body.client-body .client-main:has(#customerOrderForm) > .service-search-panel{padding-left:16px!important;padding-right:16px!important}
 html[data-client-design=classic] body.client-body .client-main:has(#customerOrderForm) > .service-search-panel .order-catalog-tools{right:16px!important}
}
@media(max-width:520px){
 html[data-client-design] body.client-body:not(.community-standalone) .mobile-bottom-nav{left:16px;right:16px}
}

/* Give signed-in phone headers room for country and balance instead of squeezing both. */
@media(max-width:760px){
 html[data-client-design][data-client-theme][data-optional-theme] body.client-body .client-main .client-top.dg-regional-top{grid-template-columns:44px minmax(0,1fr) 44px 44px!important;grid-template-rows:minmax(44px,auto) auto!important;gap:8px!important;padding:10px 0 14px!important;height:auto!important;min-height:0!important}
 html[data-client-design][data-client-theme][data-optional-theme] body.client-body .client-main .client-top.dg-regional-top > .dg-top-actions{grid-column:1/-1!important;grid-row:2!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;width:100%!important;min-width:0!important}
 html[data-client-design][data-client-theme][data-optional-theme] body.client-body .client-main .client-top.dg-regional-top #dgCurrencyControl{width:100%!important;min-width:0!important}
 html[data-client-design][data-client-theme][data-optional-theme] body.client-body .client-main .client-top.dg-regional-top #dgCurrencyToggle{width:100%!important;min-height:56px!important}
 html[data-client-design][data-client-theme][data-optional-theme] body.client-body .client-main .client-top.dg-regional-top .dg-top-actions>.balance-pill{width:100%!important;min-width:0!important;min-height:60px!important;gap:8px!important;padding:8px 10px!important}
 html[data-client-design][data-client-theme][data-optional-theme] body.client-body .client-main .client-top.dg-regional-top .balance-pill>b{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;overflow-wrap:normal!important;font-size:14px!important}
 html[data-client-design][data-client-theme][data-optional-theme] body.client-body .client-main .client-top.dg-regional-top .balance-pill>a{width:auto!important;min-width:96px!important;min-height:42px!important;padding:0 12px!important;font-size:12px!important}
 html[data-client-design][data-client-theme][data-optional-theme] body.client-body .client-main .client-top.dg-regional-top .balance-pill>a:after{content:none!important;display:none!important}
}

/* Phone header: logo, balance, theme and notifications; currency and Add funds below. */
body.client-body .dg-header-balance{display:none}
@media(max-width:760px){
 html[data-client-design][data-client-theme][data-optional-theme] body.client-body .client-main .client-top.dg-regional-top{grid-template-columns:44px minmax(0,1fr) 44px 44px!important;grid-template-rows:minmax(48px,auto) auto!important}
 html[data-client-design][data-client-theme][data-optional-theme] body.client-body .client-main .client-top.dg-regional-top > .mobile-nav-toggle{display:none!important}
 html[data-client-design][data-client-theme][data-optional-theme] body.client-body .client-main .client-top.dg-regional-top > .client-mobile-brand{display:flex!important;grid-column:1!important;grid-row:1!important;width:44px!important;height:44px!important;max-width:44px!important;justify-content:center!important;overflow:visible!important}
 html[data-client-design][data-client-theme][data-optional-theme] body.client-body .client-main .client-top.dg-regional-top > .client-mobile-brand img{width:36px!important;min-width:36px!important;height:36px!important}
 html[data-client-design][data-client-theme][data-optional-theme] body.client-body .client-main .client-top.dg-regional-top > .dg-header-balance{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;grid-column:2!important;grid-row:1!important;min-width:0!important;overflow:hidden!important;text-align:center!important;line-height:1.2!important;color:var(--read-ink,var(--text,#f4f1e8))!important}
 html[data-client-design][data-client-theme][data-optional-theme] body.client-body .client-main .client-top.dg-regional-top > .dg-header-balance small{font-size:9px!important;font-weight:750!important;letter-spacing:.02em!important;color:var(--read-muted,var(--muted,#b8c5b6))!important;white-space:nowrap!important}
 html[data-client-design][data-client-theme][data-optional-theme] body.client-body .client-main .client-top.dg-regional-top > .dg-header-balance strong{display:block!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:clamp(12px,3.4vw,16px)!important;font-variant-numeric:tabular-nums!important}
 html[data-client-design][data-client-theme][data-optional-theme] body.client-body .client-main .client-top.dg-regional-top > .dg-top-actions{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:8px!important}
 html[data-client-design][data-client-theme][data-optional-theme] body.client-body .client-main .client-top.dg-regional-top .dg-top-actions>.balance-pill{display:flex!important;align-items:stretch!important;justify-content:stretch!important;min-height:56px!important;height:100%!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
 html[data-client-design][data-client-theme][data-optional-theme] body.client-body .client-main .client-top.dg-regional-top .dg-top-actions>.balance-pill>small,
 html[data-client-design][data-client-theme][data-optional-theme] body.client-body .client-main .client-top.dg-regional-top .dg-top-actions>.balance-pill>b{display:none!important}
 html[data-client-design][data-client-theme][data-optional-theme] body.client-body .client-main .client-top.dg-regional-top .dg-top-actions>.balance-pill>a{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:100%!important;min-width:0!important;min-height:56px!important;margin:0!important;padding:8px 10px!important;font-size:clamp(11px,3vw,14px)!important;white-space:nowrap!important}
 html[data-client-design][data-client-theme][data-optional-theme] body.client-body .client-main .client-top.dg-regional-top .dg-top-actions>.balance-pill>a:before,
 html[data-client-design][data-client-theme][data-optional-theme] body.client-body .client-main .client-top.dg-regional-top .dg-top-actions>.balance-pill>a:after{content:none!important;display:none!important}
}
