/* V8.177: colors and typography only; no layout or behavior changes. */
html body.mc-v852.mc-v852.mc-v852.mc-v852{
 --ui-font:'Archivo',system-ui,-apple-system,'Segoe UI',sans-serif;
 --ui-mono:'JetBrains Mono',ui-monospace,SFMono-Regular,Consolas,monospace;
 --ui-accent:#20252b!important;--ui-accent2:#303741!important;--ui-focus:#526273!important;
 --mc-accent:#20252b!important;--mc-accent2:#303741!important;--accent:#20252b!important;--accent2:#303741!important;
 --theme-primary:#20252b!important;--theme-secondary:#303741!important;--dm-primary:#20252b!important;
 --ui-header:#101419!important;--ui-sidebar:#101419!important;--mc-shell-navy:#101419!important;
 font-family:var(--ui-font)!important;
}
html body.mc-v852.mc-v852.mc-v852.mc-v852 :is(h1,h2,h3,h4,h5,h6,p,a,button,input,select,textarea,label,summary,span,b,strong,small,th,td,dt,dd,legend){font-family:var(--ui-font)!important}
html body.mc-v852.mc-v852.mc-v852.mc-v852 :is(code,pre,kbd,.mono,.monospace,.tr-number,.ts-stats strong,.bn-stat-value,.mp-stat-value,.mc-clock-time){font-family:var(--ui-mono)!important;font-variant-numeric:tabular-nums}
html body.mc-v852.mc-v852.mc-v852.mc-v852:not(.dark):not([data-ui-mode=dark]):not([data-admin-theme=dark-mode]){
 --ui-bg:#f4f6f9!important;--ui-surface:#fff!important;--ui-soft:#eef1f5!important;--ui-line:#e0e5ed!important;
 --ui-ink:#17212b!important;--ui-text:#526273!important;--ui-muted:#7b8796!important;
 --mc-bg:#f4f6f9!important;--mc-surface:#fff!important;--mc-soft:#eef1f5!important;--mc-line:#e0e5ed!important;
 --mc-ink:#17212b!important;--mc-text:#526273!important;--mc-muted:#7b8796!important;
 --dm-bg:#f4f6f9!important;--dm-bg2:#f4f6f9!important;--dm-card:#fff!important;--dm-card2:#eef1f5!important;
 --dm-input:#fff!important;--dm-line:#e0e5ed!important;--dm-text:#17212b!important;--dm-muted:#7b8796!important;
}
html body.mc-v852.mc-v852.mc-v852.mc-v852 .content>section.page{background-image:none!important}
/* Shell has its own tokens: white text stays readable in light mode. */
html body.mc-v852.mc-v852.mc-v852.mc-v852 :is(aside#sidebar#sidebar,#operationsDrawer#operationsDrawer,#siteBookDrawer#siteBookDrawer,#leaderMenuDrawer#leaderMenuDrawer,#accountDrawer#accountDrawer,#profileInfoDrawer#profileInfoDrawer,#domainSiteDrawer#domainSiteDrawer,#chatIncDrawer#chatIncDrawer,header.merchant-topbar){
 --ui-surface:#101419!important;--ui-bg:#101419!important;--ui-soft:#262b32!important;--ui-line:#2b3139!important;
 --ui-ink:#f3f5f7!important;--ui-text:#d1d7df!important;--ui-muted:#98a3b1!important;--ui-accent:#c5ced8!important;
 background:#101419!important;background-image:none!important;color:#f3f5f7!important;border-color:#2b3139!important;
}
html body.mc-v852.mc-v852.mc-v852.mc-v852 .app aside#sidebar#sidebar .side-brand{background:#101419!important}
html body.mc-v852.mc-v852.mc-v852.mc-v852 :is(aside#sidebar#sidebar,#operationsDrawer#operationsDrawer,#siteBookDrawer#siteBookDrawer,#leaderMenuDrawer#leaderMenuDrawer,#accountDrawer#accountDrawer,#profileInfoDrawer#profileInfoDrawer,#domainSiteDrawer#domainSiteDrawer,#chatIncDrawer#chatIncDrawer) :is(a,button,summary,h2,h3,b,span,svg,.ico){color:#d1d7df!important}
html body.mc-v852.mc-v852.mc-v852.mc-v852 :is(aside#sidebar#sidebar,#operationsDrawer#operationsDrawer,#siteBookDrawer#siteBookDrawer,#leaderMenuDrawer#leaderMenuDrawer,#accountDrawer#accountDrawer,#profileInfoDrawer#profileInfoDrawer,#domainSiteDrawer#domainSiteDrawer,#chatIncDrawer#chatIncDrawer) :is(a.active,a.on,button.on,a:hover,button:hover,summary:hover){background:#262b32!important;color:#fff!important}
html body.mc-v852.mc-v852.mc-v852.mc-v852 :is(#operationsDrawer#operationsDrawer,#siteBookDrawer#siteBookDrawer,#leaderMenuDrawer#leaderMenuDrawer,#accountDrawer#accountDrawer,#profileInfoDrawer#profileInfoDrawer,#domainSiteDrawer#domainSiteDrawer,#chatIncDrawer#chatIncDrawer) :is(a.active,a:hover) :is(span,b,svg){color:#fff!important}
html body.mc-v852.mc-v852.mc-v852.mc-v852 .app aside#sidebar#sidebar .side-brand .brandmark{background:#181d23!important;color:#fff!important;border-color:#343c46!important}
html body.mc-v852.mc-v852.mc-v852.mc-v852 header.merchant-topbar :is(.mt-workspace summary,.admin-language,.mc-mode-switch,.account-pill,.head-btn,.top-search){background:#181d23!important;color:#d1d7df!important;border-color:#2b3139!important}
html body.mc-v852.mc-v852.mc-v852.mc-v852 header.merchant-topbar :is(.mc-account-displayname,.mt-profile-toggle,.mt-chevron,.mt-workspace b,.account-name b,#mcHeaderClock,.header-actions .head-btn,input,select){color:#f3f5f7!important}
html body.mc-v852.mc-v852.mc-v852.mc-v852 header.merchant-topbar :is(.mt-workspace small,.mc-header-date,.mc-clock-date){color:#98a3b1!important}
html body.mc-v852.mc-v852.mc-v852.mc-v852 header.merchant-topbar :is(.top-search kbd,.mc-account-role){background:#262b32!important;color:#b6c1ce!important;border-color:#343c46!important}
html body.mc-v852.mc-v852.mc-v852.mc-v852 header.merchant-topbar :is(#profileMenu,.mt-workspace>div){background:#181d23!important;color:#f3f5f7!important}
html body.mc-v852.mc-v852.mc-v852.mc-v852 header.merchant-topbar :is(#profileMenu,.mt-workspace>div) :is(a,button,b,small){color:#d1d7df!important}
html body.mc-v852.mc-v852.mc-v852.mc-v852 :is(input,select,textarea,button):focus-visible{outline-color:#798b9e!important}
html body.mc-v852.mc-v852.mc-v852.mc-v852 :is(#monthlyPoint#monthlyPoint,#mpInfoDialog#mpInfoDialog){--mp-blue:var(--ui-accent)!important;--mp-ink:var(--ui-ink)!important;--mp-muted:var(--ui-muted)!important;--mp-line:var(--ui-line)!important;--mp-surface:var(--ui-surface)!important;--mp-soft:var(--ui-soft)!important}
html body.mc-v852.mc-v852.mc-v852.mc-v852 :is(#bonusIncome#bonusIncome,dialog.bp-popup){--bn-blue:var(--ui-accent)!important;--bn-ink:var(--ui-ink)!important;--bn-muted:var(--ui-muted)!important;--bn-line:var(--ui-line)!important;--bn-card:var(--ui-surface)!important;--bn-soft:var(--ui-soft)!important}
html body.mc-v852.mc-v852.mc-v852.mc-v852 :is(.ds-stat-icon,.mp-icon.blue){color:#526273!important;background:var(--ui-soft)!important}
html body.mc-v852.mc-v852.mc-v852.mc-v852 #togelSchedule .ts-stats article:first-child .ts-icon{background:#e8f0f7!important;color:#4385b3!important}
html body.mc-v852.mc-v852.mc-v852.mc-v852 #togelSchedule [aria-pressed=true]{background:#20252b!important;border-color:#20252b!important;color:#fff!important}
html body.mc-v852.mc-v852.mc-v852.mc-v852 #domainSitePage#domainSitePage .btn.primary{background:var(--control-blue,#2458db)!important;border-color:var(--control-blue,#2458db)!important;color:#fff!important}
html body.mc-v852.mc-v852.mc-v852.mc-v852 #bonusIncome#bonusIncome #bnDialog footer #bnCancel{background:#20252b!important;border-color:#20252b!important;color:#fff!important}
html body.mc-v852.mc-v852.mc-v852.mc-v852 #bonusIncome#bonusIncome :is(.bn-stat-icon,.bn-detail-month,.bn-formula,.bn-final-income,.bn-type,.bn-detail-avatar,.bn-site-chip){color:var(--ui-ink)!important;background:var(--ui-soft)!important}
html body.mc-v852.mc-v852.mc-v852.mc-v852 #bonusIncome#bonusIncome button:hover{border-color:#aeb8c4!important}
html body.mc-v852.mc-v852.mc-v852.mc-v852:is(.dark,[data-ui-mode=dark],[data-admin-theme=dark-mode]){--ui-accent:#c5ced8!important;--ui-accent2:#aab5c2!important;--mc-accent:#c5ced8!important;--mc-accent2:#aab5c2!important;--dm-primary:#c5ced8!important}
html body.mc-v852.mc-v852.mc-v852.mc-v852:is(.dark,[data-ui-mode=dark],[data-admin-theme=dark-mode]) :is(aside#sidebar#sidebar,#operationsDrawer#operationsDrawer,#siteBookDrawer#siteBookDrawer,#leaderMenuDrawer#leaderMenuDrawer,#accountDrawer#accountDrawer,#profileInfoDrawer#profileInfoDrawer,#domainSiteDrawer#domainSiteDrawer,#chatIncDrawer#chatIncDrawer,header.merchant-topbar){background:#080808!important;--ui-surface:#080808!important;--ui-bg:#080808!important;--ui-soft:#222!important;--ui-line:#2b2b2b!important}

/* The logo is reparented to the header by shell-alignment.js. */
html body.mc-v852.mc-v852.mc-v852.mc-v852 header.merchant-topbar>.brandmark{background:#15191e!important;color:#f5f7fa!important;border:1px solid #3b414a!important;border-radius:7px!important;box-shadow:inset 0 1px 0 #ffffff0a,0 1px 3px #00000030!important}
html body.mc-v852.mc-v852.mc-v852.mc-v852 .brandmark svg{color:#f5f7fa!important}
html body.mc-v852.mc-v852.mc-v852.mc-v852 #shellTopbarDivider{background:#2b3139!important}
html body.mc-v852.mc-v852.mc-v852.mc-v852 header.merchant-topbar{background-image:linear-gradient(110deg,#101317,#14171b)!important}
html body.mc-v852.mc-v852.mc-v852.mc-v852 :is(.workspace-section-title,.account-drawer-label){font-weight:500!important;color:#a3aeba!important}
html body.mc-v852.mc-v852.mc-v852.mc-v852 #togelSchedule .ts-stats strong{font-family:var(--ui-font)!important}
