/* Strkpad midnight atmosphere. Loaded last; presentation only. */
html:has(body.dark-theme){color-scheme:dark;scrollbar-color:#3b4054 #090c14}
body.dark-theme{
 --dt-bg:#070910;--dt-surface:#11141e;--dt-raised:#191d2a;--dt-input:#0c1019;
 --dt-line:rgba(213,220,255,.13);--dt-line-strong:rgba(213,220,255,.23);
 --dt-text:#f4f3fb;--dt-muted:#adb3c6;--dt-subtle:#8992aa;
 --dt-accent:#b5a3ff;--dt-accent-ink:#1a1231;--dt-success:#8edcc0;--dt-error:#ffacb9;
 --text:var(--dt-text);--muted:var(--dt-muted);--accent:var(--dt-accent);
 --bg:var(--dt-bg);--line:var(--dt-line);--paper:var(--dt-surface);--sky:#141b2b;
 color-scheme:dark;background:var(--dt-bg);color:var(--dt-text);isolation:isolate;
}
body.dark-theme::selection{background:#b5a3ff;color:#18112c}
body.dark-theme :is(h1,h2,h3,h4,h5){color:var(--dt-text)}
body.dark-theme a:hover{color:var(--dt-text)}
body.dark-theme :is(button,a,summary,input,select,textarea,[tabindex]):focus-visible{outline:2px solid var(--dt-accent)!important;outline-offset:4px}
body.dark-theme .skip-link{background:var(--dt-accent);color:var(--dt-accent-ink)}

/* The complete ambient scene sits above the body and beneath application content. */
body.dark-theme .ambient-background.floating-emblem{
 position:fixed;inset:0;z-index:0;width:100%;height:100vh;height:100dvh;aspect-ratio:auto;
 margin:0;overflow:hidden;pointer-events:none;filter:none;background:var(--dt-bg);border:0;border-radius:0;isolation:isolate;
}
body.dark-theme>.flex-1,body.dark-theme>.flex.min-h-screen,body.dark-theme>main,body.dark-theme>.site-footer{position:relative;z-index:1}
body.dark-theme .ambient-background>:is(.emblem-poster,.emblem-video){
 position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;border-radius:0;filter:none;
}
body.dark-theme .ambient-background::after{
 content:"";position:absolute;inset:0;z-index:2;pointer-events:none;
 background:linear-gradient(180deg,rgba(5,7,14,.15),rgba(5,7,14,.2) 55%,rgba(5,7,14,.3));
}
body.dark-theme :is(.sculpture-stage,.sculpture){display:none}
body.dark-theme .sky-universe{background:transparent;border-color:transparent}
body.dark-theme .wordmark-scene h1{color:#faf8ff;text-shadow:0 10px 65px #0d0b2159}
body.dark-theme .hero-tagline{color:#d8d9eb}

/* Compact glass navigation and persistent transaction status. */
body.dark-theme .announcement{background:rgba(14,15,28,.94);color:#c3b8ef;border-bottom:1px solid #ffffff0c}
body.dark-theme :is(.brand,.footer-wordmark){color:var(--dt-text)}
body.dark-theme :is(.brand-icon,.primary-nav>a,.nav-more>summary){
 --mark-cutout:#171b29;background:rgba(21,24,36,.91);color:var(--dt-text);border-color:var(--dt-line-strong);
 backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
}
body.dark-theme .brand-icon{color:#d4caff}
body.dark-theme :is(.primary-nav>a:hover,.nav-more[open]>summary,.nav-more>summary:hover){background:#252238;color:#eee8ff;border-color:#b5a3ff66}
body.dark-theme .primary-nav>a[aria-current="page"]{background:#242037;color:#ddd3ff;border-color:#a897f155}
body.dark-theme .nav-shell #connect-wallet{background:var(--dt-accent);color:var(--dt-accent-ink);border-color:#c9baff;box-shadow:0 4px 22px #b5a3ff14}
body.dark-theme .nav-shell #connect-wallet:hover{background:#c5b6ff}
body.dark-theme .nav-menu{background:#141824;border-color:var(--dt-line-strong);box-shadow:0 18px 65px #0008}
body.dark-theme .nav-menu a{color:#d9dceb}
body.dark-theme .nav-menu a:hover{background:#252a3c;color:#fff}
body.dark-theme .network-state>span,
body.dark-theme:not([data-page="home"]) .network-state>span,
body.dark-theme:not([data-page="home"]) .network-state #network-status{color:#bbc3d9!important}
body.dark-theme .network-state #network-status{display:inline!important}
body.dark-theme[data-page="home"]>.network-state:has(#pending-status:not([hidden])){background:#141824!important;border-color:var(--dt-line-strong)!important;color:var(--dt-text);box-shadow:0 10px 45px #0006}
body.dark-theme .network-state #pending-status:not([hidden]),
body.dark-theme:not([data-page="home"]) .network-state #pending-status:not([hidden]){display:inline-flex!important;background:#282239;color:#e2d7ff;border-color:#a995ef66}
body.dark-theme .pending-status{background:#252036;border-color:#b9a4ff50;color:var(--dt-text)}
body.dark-theme .pending-status button{background:#181526;color:#e5dcff;border-color:#a995ef66}

/* The homepage is a working market with a creator workspace. */
body.dark-theme .launchpad-workspace{background:rgba(15,18,28,.95);border-color:var(--dt-line-strong);box-shadow:0 25px 100px #02030c66,0 1px 0 #ffffff08 inset}
body.dark-theme :is(.workspace-bar,.workspace-benchmark,.workspace-launch,.launch-rules>div){border-color:var(--dt-line)}
body.dark-theme :is(.workspace-brand>span,.workspace-network,.workspace-markets .eyebrow,.workspace-markets .section-heading p:not(.eyebrow),.workspace-markets .live-summary,.workspace-markets .discover-bottom,.workspace-markets .empty-state p,.workspace-benchmark .benchmark-wrap small,.chart-credit){color:var(--dt-muted)}
body.dark-theme .workspace-network{background:#1c2030;border-color:var(--dt-line)}
body.dark-theme :is(.workspace-markets .discover-section,.market-overview-section){background:transparent}
body.dark-theme .search-control{background:var(--dt-input);border-color:var(--dt-line-strong)}
body.dark-theme .search-control :is(input,svg){color:var(--dt-text)}
body.dark-theme .search-control kbd{color:var(--dt-muted);border-color:var(--dt-line)!important}
body.dark-theme .search-control input::placeholder{color:var(--dt-subtle);opacity:1}
body.dark-theme :is(.market-sort button,.feed-status>button,.benchmark-wrap button){background:#191e2d;color:#c5ccdf;border-color:var(--dt-line)}
body.dark-theme :is(.market-sort button,.feed-status>button,.benchmark-wrap button):hover:not(:disabled){background:#252b3d;color:#fff;border-color:var(--dt-line-strong)}
body.dark-theme .workspace-markets .market-sort button.selected,body.dark-theme .market-sort button.selected{background:#b5a3ff;color:#1a1231;border-color:#b5a3ff}
body.dark-theme :is(.market-board,.market-record){background:#111622;color:var(--dt-text);border-color:var(--dt-line)}
body.dark-theme .market-board-head{background:#1a1f2f;color:#aeb8d0;border-color:var(--dt-line)}
body.dark-theme .market-record:hover{background:#1b2132}
body.dark-theme .market-record p{color:var(--dt-muted)}
body.dark-theme .token-initial{background:#292440;border-color:#8f80c74d;color:#ded2ff}
body.dark-theme :is(.workspace-markets .empty-state,.benchmark-wrap){color:var(--dt-text)}
body.dark-theme .workspace-markets .empty-symbol{color:#b7a5ff}
body.dark-theme .discover-bottom a{color:#d1c3ff}
body.dark-theme .workspace-launch{background:#1c192d}
body.dark-theme .workspace-plus{background:#2c2543;border-color:#8f79c940;color:#d9caff}
body.dark-theme :is(.workspace-launch .eyebrow,.workspace-launch>p:not(.eyebrow),.launch-rules dt,.workspace-test){color:#b8aecf}
body.dark-theme .launch-rules dd{color:#e7dfff}
body.dark-theme .benchmark-wrap>summary{color:#e1e4f1}
body.dark-theme .chart-shell{background:#10121d!important}
body.dark-theme .chart-empty{background:#121723;color:#aeb7cc;border-color:var(--dt-line)}

/* Information panels use dark surfaces. The supplied media retain their pixels. */
body.dark-theme :is(.feature-section,.benefit-section,.process-section,.product-section){background:rgba(10,13,21,.86);border:1px solid #ffffff0b}
body.dark-theme .feature-section{background:rgba(10,13,21,.76)}
body.dark-theme :is(.feature-copy p,.process-grid p,.process-heading .eyebrow,.step-number){color:var(--dt-muted)}
body.dark-theme .text-link{color:#d1c2ff;border-color:#a796dc66}
body.dark-theme .text-link:hover{color:#fff;border-color:#d9ccff}
body.dark-theme .feature-art{border-color:var(--dt-line-strong)}
body.dark-theme .emblem-gallery{background-color:#dcefe8}
body.dark-theme .gallery-label{color:#254739}
body.dark-theme .feature-art.launch-stack-scene{background:#e9ccff;border-color:#9c83b642;filter:none}
body.dark-theme .launch-stack-scene>:is(.emblem-poster,.emblem-video){filter:none;object-fit:contain}
body.dark-theme .portfolio-web{background:#151725;border-color:var(--dt-line-strong)}
body.dark-theme .portfolio-web-bar{background:#1b1e2d;border-color:var(--dt-line)}
body.dark-theme :is(.portfolio-web-bar>span:last-child,.portfolio-web-heading .eyebrow,.portfolio-web-foot,.portfolio-connect p){color:#a9a8c2}
body.dark-theme .portfolio-mark{background:#302743;color:#cab5ff}
body.dark-theme .portfolio-table-heading{background:#212334;border-color:var(--dt-line);color:#b9bbd1}
body.dark-theme .portfolio-connect{background:#111521;border-color:var(--dt-line)}
body.dark-theme .portfolio-connect>svg{color:#b5a3e8}
body.dark-theme .portfolio-connect a{background:#252136;color:#ded0ff;border-color:#76678e66}
body.dark-theme .benefit-card{border-color:var(--dt-line-strong);background:#191d2d}
body.dark-theme .benefit-card.ember{background:#2a1920}
body.dark-theme .benefit-card.yellow{background:#26221b}
body.dark-theme .benefit-card.blue{background:#14233a}
body.dark-theme .benefit-card.lavender{background:#261e37}
body.dark-theme .benefit-card h3{color:#f3effb}
body.dark-theme .carousel-dots>button{background:#4c5065}
body.dark-theme .carousel-dots>button[aria-pressed="true"]{background:#b5a3ff}
body.dark-theme .big-marquee{background:rgba(7,9,16,.28)}
body.dark-theme .big-marquee-track :is(a,span):not(.floating-emblem){color:#e7e5f2;border-color:var(--dt-line)}
body.dark-theme .big-marquee-track :is(.blue,.white){background:#172035}
body.dark-theme .big-marquee-track :is(.ember,.yellow){background:#29212a}
body.dark-theme .big-marquee-track :is(.mint,.lavender){background:#252039}
body.dark-theme .big-marquee a:hover{background:#393051}
body.dark-theme .process-grid article{border-color:var(--dt-line-strong)}
body.dark-theme .process-grid a{color:#cfbfff}
body.dark-theme .closing-section{background:radial-gradient(ellipse at 82% 10%,#35255777,transparent 60%),#111420;border:1px solid var(--dt-line)}
body.dark-theme .site-footer{background:rgba(7,9,16,.84);color:var(--dt-text);border-top:1px solid #ffffff0b}
body.dark-theme .site-footer>p{color:#8993ac}

/* Neutralize the former paper theme without altering route geometry or controls. */
body.dark-theme :is(.launch-create-page,.functional-main,.sim-main,.pump-main,.app-dialog,.replica-toast){color:var(--dt-text)!important;color-scheme:dark}
body.dark-theme :is(.launch-create-page,.functional-main,.sim-main,.pump-main,.app-dialog,.replica-toast) *{color:inherit!important}
body.dark-theme :is(.launch-create-page,.functional-main,.sim-main,.pump-main){background:rgba(10,13,22,.82)!important;border:1px solid #ffffff0d}
body.dark-theme :is(.launch-create-page,.functional-main,.sim-main,.pump-main) :is(h1,h2,h3,h4,h5),body.dark-theme .app-dialog h2{color:var(--dt-text)!important}
body.dark-theme .pump-main .pump-hero h1>span{-webkit-text-fill-color:var(--dt-text)}
body.dark-theme :is(.page-description,.text-muted,.text-dim,.replica-note,.lc-intro-copy,.pump-intro,.sim-explanation,.lc-back,.chart-credit,.live-summary){color:var(--dt-muted)!important}
body.dark-theme :is(.functional-main,.sim-main,.pump-main) .eyebrow,body.dark-theme .launch-create-page .lc-eyebrow,body.dark-theme .pump-main .pump-eyebrow{background:#1c2030;border-color:#70658d4d;color:#cdbfff!important}
body.dark-theme .functional-main :is(.panel,.launch-panel,.launch-preview,.market-card),
body.dark-theme .functional-main .market-card:nth-child(n),
body.dark-theme .functional-main .trading-grid aside :is(.panel,.launch-preview),
body.dark-theme .functional-main .market-heading>div:last-child:not(:first-child),
body.dark-theme .functional-main #portfolio-content>.panel,
body.dark-theme .launch-create-page :is(.lc-panel,.lc-preview-card,.lc-creator-fee),
body.dark-theme .pump-main :is(.pump-card,.pump-treasury-card,.pump-route-card,.pump-hero-note,.pump-rpc-settings),
body.dark-theme .sim-main :is(.sim-card,.sim-bridge){background:var(--dt-surface)!important;border-color:var(--dt-line)!important;box-shadow:0 1px 0 #ffffff03 inset!important}
body.dark-theme .functional-main .market-card:hover{background:#1b2030!important;border-color:#8c7ec355!important}
body.dark-theme .functional-main .empty-state{background:#131827;border-color:var(--dt-line);color:var(--dt-text)!important}
body.dark-theme .functional-main .empty-state p{color:var(--dt-muted)!important}
body.dark-theme .functional-main .empty-symbol{background:#23213a;color:#c8b8ff!important;border-color:#a491d43d}
body.dark-theme .functional-main :is(.quote-box,.contract-details,.notice,.security-grid>div,.deployment-stages li){background:#171d2b!important;border-color:var(--dt-line)!important;color:var(--dt-muted)!important}
body.dark-theme .functional-main .deployment-readiness{background:#151b2c!important}
body.dark-theme .functional-main .notice{background:#211e24!important;border-color:#d8b8872b!important;color:#d6c5aa!important}
body.dark-theme .functional-main :is(.security-grid strong,.deployment-stages strong,.contract-details dd,.steps strong){color:var(--dt-text)!important}
body.dark-theme .functional-main :is(.contract-details dt,.steps,.transaction-row,.review-check){color:var(--dt-muted)!important}
body.dark-theme .functional-main .deployment-stages strong[data-done="true"]{color:var(--dt-success)!important}
body.dark-theme .functional-main :is(.transaction-row,.deployment-stages li,.security-grid>div){border-color:var(--dt-line)!important}
body.dark-theme .functional-main .token-initial{background:#25203b;border-color:#8e7bc744;color:#dacaff!important}
body.dark-theme .functional-main :is(.chart-shell,.bridge-frame){background:#10121d!important;border-color:var(--dt-line)}
body.dark-theme .functional-main .chart-empty{background:#111622;border-color:var(--dt-line);color:var(--dt-muted)!important}

/* Opaque inputs and native dropdown menus stay comfortably readable. */
body.dark-theme :is(.functional-main,.sim-main,.pump-main,.app-dialog,.launch-create-page) :is(input:not([type="checkbox"]):not([type="file"]),select,textarea),
body.dark-theme .launch-create-page .lc-input-affix{background:var(--dt-input)!important;color:var(--dt-text)!important;border-color:var(--dt-line-strong)!important;box-shadow:none!important;caret-color:#cdbaff}
body.dark-theme .launch-create-page .lc-input-affix>input{background:transparent!important;border:0!important}
body.dark-theme :is(input,textarea)::placeholder{color:#8993aa!important;opacity:1}
body.dark-theme select option{background:#111622!important;color:#f4f3fb!important}
body.dark-theme :is(.functional-main,.sim-main,.pump-main,.app-dialog,.launch-create-page) :is(input,select,textarea):focus,
body.dark-theme .launch-create-page .lc-input-affix:focus-within{border-color:#b3a0ef!important;outline:2px solid #b3a0ef!important;outline-offset:3px;box-shadow:none!important}
body.dark-theme input[type="checkbox"]{accent-color:var(--dt-accent)}
body.dark-theme :is(.field-label,.lc-field>label,.lc-field-label,.pump-form label,.pump-rpc-inner>label,.sim-card label){color:#e1e4f1!important}
body.dark-theme :is(.lc-help,.lc-upload-help,.lc-links small,.lc-field>label>span,.lc-field-label>span,.lc-section-heading p,.lc-token-description,.lc-facts dt,.lc-review-box>p,.lc-approval-copy,.pump-section-heading p,.pump-field-note,.pump-help,.pump-approval-note,.pump-route p,.pump-route-footnote,.pump-rpc-settings summary>span,.pump-hero-note p,.sim-card p,.sim-mini-stats,.sim-events span){color:var(--dt-muted)!important}
body.dark-theme :is(.lc-help,.lc-funding,.contract-details,.chart-credit,.app-dialog,.pump-result,.pump-status) a:not(.action),body.dark-theme .sim-card a{color:#cbb9ff!important}

/* Primary, secondary, selected, and unavailable actions are distinct. */
body.dark-theme :is(.button-primary,.action,.lc-launch-button,.pump-button-primary),
body.dark-theme .workspace-launch .button-primary,
body.dark-theme :is(.functional-main,.sim-main,.pump-main,.app-dialog) :is(.action,.pump-button),
body.dark-theme .launch-create-page .lc-launch-button{background:var(--dt-accent)!important;color:var(--dt-accent-ink)!important;border-color:#bcacfb!important;box-shadow:0 3px 18px #a789ff12!important;filter:none}
body.dark-theme :is(.button-primary,.action,.lc-launch-button,.pump-button-primary) *,
body.dark-theme :is(.functional-main,.sim-main,.pump-main,.app-dialog) :is(.action,.pump-button) *,
body.dark-theme .launch-create-page .lc-launch-button *{color:inherit!important}
body.dark-theme :is(.button-secondary,.action.secondary,.pump-button-secondary,.pump-button-quiet,.pump-secondary),
body.dark-theme :is(.functional-main,.sim-main,.pump-main,.app-dialog) :is(.action.secondary,.pump-button-secondary,.pump-button-quiet),
body.dark-theme .functional-main #quote-button{background:#1b2030!important;color:#e4e5f1!important;border-color:var(--dt-line-strong)!important;box-shadow:none!important}
body.dark-theme :is(.button-primary,.action,.lc-launch-button,.pump-button):hover:not(:disabled),
body.dark-theme :is(.functional-main,.sim-main,.pump-main,.app-dialog) :is(.action,.pump-button):hover:not(:disabled),
body.dark-theme .launch-create-page .lc-launch-button:hover:not(:disabled){background:#c9baff!important;color:#1a1231!important;border-color:#d2c7ff!important;filter:none}
body.dark-theme :is(.button-secondary,.action.secondary,.pump-button-secondary,.pump-button-quiet,.pump-secondary):hover:not(:disabled),
body.dark-theme :is(.functional-main,.sim-main,.pump-main,.app-dialog) :is(.action.secondary,.pump-button-secondary,.pump-button-quiet):hover:not(:disabled),
body.dark-theme .functional-main #quote-button:hover:not(:disabled){background:#292d40!important;color:#fff!important;border-color:#a28bc866!important}
body.dark-theme .functional-main :is(.market-sort button,.trade-tabs button),
body.dark-theme .sim-main :is(.sim-controls .sim-inline>button,.sim-wrap button){background:#1a2030;border-color:var(--dt-line-strong);color:#c6cde0!important}
body.dark-theme .functional-main :is(.market-sort button.selected,.trade-tabs button.selected){background:#b5a3ff!important;color:#1a1231!important;border-color:#b5a3ff}
body.dark-theme .functional-main :is(.market-sort button,.trade-tabs button):hover:not(.selected),
body.dark-theme .sim-main :is(.sim-controls .sim-inline>button,.sim-wrap button):hover:not(:disabled){background:#292e42;color:#fff!important}
body.dark-theme :is(.functional-main,.sim-main,.pump-main,.app-dialog) button:disabled,
body.dark-theme .launch-create-page .lc-launch-button:disabled,
body.dark-theme button:disabled{opacity:1;background:#202535!important;color:#8f99af!important;border-color:#4a526744!important;box-shadow:none!important;cursor:not-allowed;transform:none;filter:none}
body.dark-theme :is(.functional-main,.sim-main,.pump-main,.app-dialog) button:disabled *,
body.dark-theme .launch-create-page .lc-launch-button:disabled *,body.dark-theme button:disabled *{color:#8f99af!important}

/* Native launch preview and fee summary. */
body.dark-theme .launch-create-page :is(.lc-section-heading,.lc-preview-top,.lc-preview-bottom){background:#171b29;border-color:var(--dt-line);color:#b5bdd1!important}
body.dark-theme .launch-create-page :is(.lc-step,.lc-fee-icon,.lc-currency>span,.lc-token-image){background:#25213a!important;border-color:#a28acc42!important;color:#d4c4ff!important}
body.dark-theme .launch-create-page :is(.lc-optional,.lc-network){background:#222239;border-color:#a18ec644;color:#c8bfdf!important}
body.dark-theme .launch-create-page :is(.lc-network>span,.lc-small-network-dot,.lc-preview-label i){background:#a89ad3}
body.dark-theme .launch-create-page .lc-upload{background:#171c2a;border-color:#9a8abb55;color:#c4b8e4!important}
body.dark-theme .launch-create-page .lc-upload:hover,body.dark-theme .launch-create-page .lc-upload:focus-within{background:#211f35;border-color:#b5a3ff}
body.dark-theme .launch-create-page :is(.lc-links,.lc-funding,.lc-facts>div){border-color:var(--dt-line)}
body.dark-theme .launch-create-page .lc-creator-fee{background:#1b192b!important}
body.dark-theme .launch-create-page .lc-creator-fee p{color:#b3adc8!important}
body.dark-theme .launch-create-page .lc-preview-art{background-color:#171c31;background-image:url('/assets/dark-atmosphere-poster.webp')!important;background-position:50% 50%;background-size:cover;border-color:var(--dt-line)}
body.dark-theme .launch-create-page :is(.lc-token-heading p,.lc-preview-label){color:#bbb0d9!important}
body.dark-theme .launch-create-page :is(.lc-facts dd,.lc-allocation strong){color:#e5e1f6!important}

/* Pump.fun status, treasury, and routing disclosures. */
body.dark-theme .pump-main :is(.pump-step,.pump-note-icon,.pump-treasury-icon,.pump-route-dot){background:#28243b;border-color:#9883c64d;color:#d7c7ff!important}
body.dark-theme .pump-main .pump-pending-card{background:#252033!important;border-color:#a48ac544!important}
body.dark-theme .pump-main :is(.pump-address-box,.pump-routing-disclosure){background:#181d2c;border-color:var(--dt-line)}
body.dark-theme .pump-main .pump-address-box>span{color:var(--dt-muted)!important}
body.dark-theme .pump-main .pump-address-box a{color:#cbb9ff!important}
body.dark-theme .pump-main :is(.pump-balances>div,.pump-launch-facts,.pump-result,.pump-route-footnote){border-color:var(--dt-line)}
body.dark-theme .pump-main :is(.pump-launch-facts span,.pump-balances span,.pump-status){color:var(--dt-muted)!important}
body.dark-theme .pump-main :is(.pump-launch-facts strong,.pump-balances strong,.pump-route strong){color:var(--dt-text)!important}
body.dark-theme .pump-main .pump-route li:not(:last-child)::after{background:#504961}
body.dark-theme .pump-main .pump-route li:last-child .pump-route-dot{background:#b5a3ff;border-color:#b5a3ff}
body.dark-theme .pump-main :is(.pump-status[data-error="true"],.pump-status.error){background:#2b1a26;color:#ffb5c1!important;border-color:#e6839c55}

/* Simulation and diagnostic results. */
body.dark-theme .sim-banner{background:#201d33!important;color:#c9bbe9!important;border-color:#9984c744!important}
body.dark-theme .sim-main .sim-explanation{border-color:var(--dt-line)}
body.dark-theme .sim-main :is(.sim-message,.sim-stats>div,.sim-stats>label,.sim-stats>div:nth-child(n)){background:#181d2c;border-color:var(--dt-line);color:#b8c0d4!important}
body.dark-theme .sim-main .sim-stats strong{color:var(--dt-text)!important}
body.dark-theme .sim-main .sim-message.is-error{background:#2b1924;border-color:#e6859a77;color:#ffc0cb!important}
body.dark-theme .sim-main :is(.sim-card h2 span,.sim-chart-title span){background:#27243b;border-color:#907fc245;color:#d1c2f3!important}
body.dark-theme .sim-main .sim-card pre{background:#0b101a;border-color:var(--dt-line);color:#c3cce1!important}
body.dark-theme .sim-main :is(.sim-events li,#sim-test-results li){border-color:var(--dt-line)}
body.dark-theme .sim-main .passed{color:var(--dt-success)!important}
body.dark-theme .sim-main .failed{color:var(--dt-error)!important}

/* Wallet and transaction dialogs remain legible above the moving scene. */
body.dark-theme .app-dialog{background:#131824;border-color:var(--dt-line-strong);box-shadow:0 35px 110px #000a!important}
body.dark-theme .app-dialog::backdrop{background:#03050ccc;backdrop-filter:blur(10px)}
body.dark-theme .app-dialog p{color:var(--dt-muted)!important}
body.dark-theme .app-dialog .dialog-close{background:#252b3d;color:#e2e5f2!important;border-color:var(--dt-line-strong)}
body.dark-theme .app-dialog .dialog-close:hover{background:#34374d}
body.dark-theme .app-dialog .bridge-frame{background:#101521;border-color:var(--dt-line)}
body.dark-theme .replica-toast{background:#1b2031!important;border-color:#ad9be24d!important;color:#e4e5f2!important;box-shadow:0 14px 50px #0008!important}
@media(max-width:760px){
 body.dark-theme .ambient-background>:is(.emblem-poster,.emblem-video){object-position:56% center}
 body.dark-theme .ambient-background::after{background:linear-gradient(#05070e26,#05070e4d)}
 body.dark-theme .nav-menu{box-shadow:0 20px 60px #000b}
 body.dark-theme .launchpad-workspace{box-shadow:0 14px 60px #03050d66}
 body.dark-theme .workspace-launch{border-top-color:var(--dt-line)}
 body.dark-theme .network-state #network-status{display:inline!important}
 body.dark-theme .network-state #pending-status:not([hidden]){display:inline-flex!important}
}
