/* D — ANTI JX Signature: navy, cyan, amber and wuxia art */
:root[data-appearance="dark"]{--bg:#071827;--surface:#10283b;--surface-2:#153047;--field:#183950;--nav-bg:#061a2b;--text:#eaf5ff;--muted:#98b4cd;--line:#29506a;--primary:#00b6ee;--primary-rgb:0,182,238;--accent:#ff9838;--head:#1b3951;--shadow:0 16px 40px rgba(0,9,27,.33);--nav-active:rgba(0,183,239,.2);--art-opacity:.55;--art-image:url('../art/d-sidebar.jpg');color-scheme:dark}
:root[data-appearance="light"]{--bg:#edf8fc;--surface:#fff;--surface-2:#f4faff;--field:#eaf5fc;--nav-bg:#143951;--text:#123246;--muted:#6b8799;--line:#d5e7f0;--primary:#087fae;--primary-rgb:8,127,174;--accent:#f09232;--head:#e8f4fa;--shadow:0 14px 38px rgba(11,62,90,.12);--nav-active:rgba(0,173,235,.2);--art-opacity:.4;--art-image:url('../art/d-sidebar.jpg');color-scheme:light}
html[data-skin="d"] .antijx-app .navbar-brand .antijx-brand-main b{color:#ff973c}
html[data-skin="d"] .antijx-app .panel-heading{border-top:2px solid var(--accent);background:linear-gradient(100deg,rgba(var(--primary-rgb),.08),transparent 80%)!important}
html[data-skin="d"] .antijx-app .panel{box-shadow:inset 0 -1px rgba(var(--primary-rgb),.36),var(--shadow)}


/* v2 — scenic background artwork, faithful to the Theme Web preview. */
:root[data-skin="d"][data-appearance="light"]{--antijx-scene-tint:linear-gradient(90deg,rgba(240,250,255,.84),rgba(240,250,255,.70) 67%,rgba(240,250,255,.43));--antijx-hero-tint:linear-gradient(90deg,rgba(239,248,255,.95),rgba(239,248,255,.82) 58%,rgba(239,248,255,.18));--antijx-sidebar-tint:linear-gradient(180deg,#061a2b 0%,rgba(6,26,43,.98) 42%,rgba(6,26,43,.15) 98%)}
:root[data-skin="d"][data-appearance="dark"]{--antijx-scene-tint:linear-gradient(90deg,rgba(4,17,32,.47),rgba(4,17,32,.22) 63%,rgba(4,17,32,.03));--antijx-hero-tint:linear-gradient(90deg,rgba(5,22,37,.94),rgba(5,22,37,.76) 57%,rgba(5,22,37,.12));--antijx-sidebar-tint:linear-gradient(180deg,#061a2b 0%,rgba(6,26,43,.98) 42%,rgba(6,26,43,.15) 98%)}
html[data-skin="d"] body.antijx-app #page-wrapper{background-color:var(--bg)!important;background-image:var(--antijx-scene-tint),url('../backgrounds/d-scene.webp')!important;background-size:cover,cover!important;background-position:center top,center top!important;background-repeat:no-repeat!important}
html[data-skin="d"] body.antijx-app .sidebar{background-color:var(--nav-bg)!important;background-image:var(--antijx-sidebar-tint),url('../art/d-sidebar.webp')!important;background-position:center center,center bottom!important;background-size:100% 100%,100% auto!important;background-repeat:no-repeat!important}
html[data-skin="d"] body.antijx-app .sidebar::before{display:none!important}
html[data-skin="d"] body.antijx-app .page-header{display:flex;align-items:center;min-height:132px;margin:3px 0 25px!important;padding:24px 29px!important;border:1px solid var(--line)!important;border-left:4px solid var(--primary)!important;border-radius:18px;background-color:var(--surface)!important;background-image:var(--antijx-hero-tint),url('../backgrounds/d-scene.webp')!important;background-size:cover,cover!important;background-position:center,center 33%!important;background-repeat:no-repeat!important;box-shadow:var(--shadow)}
html[data-skin="d"] body.antijx-app .panel,html[data-skin="d"] body.antijx-app .antijx-summary-card,html[data-skin="d"] body.antijx-app .theme-card{backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px)}
html[data-skin="d"] body.antijx-login{background-color:var(--bg)!important;background-image:var(--antijx-scene-tint),url('../backgrounds/d-scene.webp')!important;background-size:cover!important;background-position:center top!important;background-repeat:no-repeat!important}
html[data-skin="d"] body.antijx-login:before{display:none!important}
@media(max-width:850px){html[data-skin="d"] body.antijx-app .page-header{min-height:100px;padding:18px 20px!important}html[data-skin="d"] body.antijx-app #page-wrapper{background-position:64% top!important}}
:root[data-skin="d"][data-appearance="dark"]{--surface:rgba(10,30,48,.90);--surface-2:rgba(15,40,60,.90)}
