dsh-memu-memory 1.4.2 → 1.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +108 -110
- package/CHANGELOG.md +169 -868
- package/LICENSE +21 -21
- package/README.md +368 -374
- package/README.zh.md +354 -360
- package/assets/icon.svg +7 -7
- package/cordis.patch.yml +8 -8
- package/docs/active-memory-ab.md +279 -385
- package/docs/binding-lifecycle.md +99 -99
- package/docs/client-conventions.md +75 -75
- package/docs/contributing.md +217 -217
- package/docs/emotion-model-spec.md +247 -281
- package/docs/env-and-commands.md +149 -152
- package/docs/host-adaptation.md +339 -360
- package/docs/host-api.md +131 -137
- package/docs/host-versions.md +117 -120
- package/docs/mcp-porting.md +146 -146
- package/docs/memory-semantics.md +271 -259
- package/docs/pending-work.md +44 -51
- package/docs/troubleshooting.md +909 -854
- package/lib/active-memory.js +160 -165
- package/lib/activity-log.js +207 -207
- package/lib/auto-link/apply.js +248 -249
- package/lib/auto-link/candidates.js +163 -163
- package/lib/auto-link/decide.js +300 -300
- package/lib/auto-link/normalize.js +99 -99
- package/lib/auto-link/policy.js +42 -42
- package/lib/auto-link/suppression.js +101 -101
- package/lib/auto-link/terminology.js +311 -311
- package/lib/backup.js +1254 -1254
- package/lib/binding-diagnostics.js +634 -634
- package/lib/budget.js +118 -118
- package/lib/client.js +9820 -9751
- package/lib/commitment.js +178 -138
- package/lib/consolidation-ledger.js +434 -438
- package/lib/consolidation-receipt.js +386 -387
- package/lib/consolidation-snapshot.js +420 -405
- package/lib/consolidation-worker.js +240 -241
- package/lib/context.js +33 -33
- package/lib/curator-evidence.js +131 -131
- package/lib/curator-policy.js +198 -202
- package/lib/curator.js +1813 -1811
- package/lib/cycle.js +524 -513
- package/lib/diagnostics.js +524 -524
- package/lib/embedding-catalog.js +1051 -1055
- package/lib/embedding-download.js +637 -607
- package/lib/embedding-runtime.js +946 -946
- package/lib/engine.js +1103 -1103
- package/lib/entity-repair.js +285 -285
- package/lib/environment-check.js +394 -394
- package/lib/fork-model.js +312 -312
- package/lib/freshness.js +128 -121
- package/lib/global-graph.js +389 -389
- package/lib/graph.js +1193 -1193
- package/lib/host-surface.js +30 -30
- package/lib/inbound.js +284 -281
- package/lib/index.js +506 -511
- package/lib/inject.js +2639 -2619
- package/lib/lexicon-scope.js +143 -143
- package/lib/lexicon.js +1183 -1192
- package/lib/lifecycle-audit.js +37 -0
- package/lib/local-embedding-entry.js +145 -145
- package/lib/local-embedding-manager.js +306 -306
- package/lib/local-embedding-protocol.js +210 -210
- package/lib/local-embedding-worker.js +682 -682
- package/lib/local-vector-service.js +506 -453
- package/lib/maintenance-ledger.js +138 -0
- package/lib/maintenance-review.js +103 -0
- package/lib/maintenance-runner.js +267 -0
- package/lib/managed-runtime.js +118 -118
- package/lib/media.js +607 -513
- package/lib/memory.js +5035 -4941
- package/lib/memu-config.js +213 -213
- package/lib/memu.js +565 -565
- package/lib/migrate.js +200 -200
- package/lib/mood.js +300 -300
- package/lib/paths.js +453 -457
- package/lib/port-surface.js +82 -82
- package/lib/preset-mount.js +79 -0
- package/lib/preset-scope.js +126 -126
- package/lib/private-links.js +567 -567
- package/lib/private.js +2198 -2209
- package/lib/prompts/global-curator.md +135 -135
- package/lib/prompts/image-caption.md +1 -1
- package/lib/prompts/private-consolidation.coding.md +39 -39
- package/lib/prompts/private-consolidation.md +32 -32
- package/lib/prompts/private-consolidation.mixed.md +37 -37
- package/lib/prompts/private-consolidation.rp.md +47 -47
- package/lib/prompts/private-policy.coding.md +35 -35
- package/lib/prompts/private-policy.md +36 -36
- package/lib/prompts/private-policy.mixed.md +29 -29
- package/lib/prompts/private-policy.rp.md +43 -43
- package/lib/prompts/system-guide.coding.md +20 -20
- package/lib/prompts/system-guide.md +25 -25
- package/lib/prompts/system-guide.mixed.md +22 -22
- package/lib/prompts/system-guide.rp.md +23 -23
- package/lib/prompts.js +331 -331
- package/lib/recall-cache.js +212 -212
- package/lib/remote-summary.js +123 -123
- package/lib/rpc.js +2531 -2532
- package/lib/salient-wake.js +438 -438
- package/lib/snippet.js +125 -125
- package/lib/state.js +1948 -1928
- package/lib/stats.js +236 -236
- package/lib/temporal.js +345 -348
- package/lib/text-retrieval.js +992 -1001
- package/lib/text-similarity.js +305 -305
- package/lib/tokenizer-v2.js +271 -271
- package/lib/tools.js +1098 -1091
- package/lib/turn-log.js +545 -545
- package/lib/vector-migration.js +928 -930
- package/lib/vector-profile.js +1353 -1359
- package/lib/visibility.js +59 -59
- package/lib/webui/graph-LICENSE.txt +1 -1
- package/lib/webui/graph-view.bundle.js +2 -2
- package/lib/webui/graph-view.js +1171 -1175
- package/lib/webui/mark.svg +7 -7
- package/lib/webui/standalone.css +1178 -1178
- package/lib/webui/standalone.js +238 -238
- package/lib/webui.js +136 -136
- package/lib/worker-pool.js +1015 -979
- package/package.json +153 -153
- package/requirements.lock +34 -34
- package/scripts/acceptance-local.mjs +946 -946
- package/scripts/active-memory-ab-live.mjs +653 -655
- package/scripts/active-memory-ab.mjs +1302 -1302
- package/scripts/audit-memory-lifecycle.mjs +55 -0
- package/scripts/bench-recall.mjs +142 -142
- package/scripts/build-graph.mjs +44 -45
- package/scripts/chain-matrix.mjs +541 -541
- package/scripts/check-all.mjs +68 -74
- package/scripts/check-doc-drift.mjs +547 -547
- package/scripts/check-graph-browser.mjs +261 -261
- package/scripts/check-i18n.mjs +81 -83
- package/scripts/check-idle-compositing.mjs +61 -61
- package/scripts/check-seed-compat.mjs +115 -118
- package/scripts/check-text-format.mjs +55 -0
- package/scripts/curator-pair-calibrate.mjs +259 -259
- package/scripts/diagnose-bindings.mjs +176 -176
- package/scripts/drive-session.mjs +863 -864
- package/scripts/engine-smoke.mjs +69 -69
- package/scripts/entity-dedupe.mjs +110 -110
- package/scripts/lexicon-calibrate.mjs +230 -230
- package/scripts/lexicon-dedupe.mjs +318 -318
- package/scripts/local-runtime-install.mjs +142 -142
- package/scripts/local-runtime-verify.mjs +56 -56
- package/scripts/local-vector-verify.mjs +93 -93
- package/scripts/make-readme-shots.mjs +59 -59
- package/scripts/migrate-visibility.mjs +94 -94
- package/scripts/mock-llm.mjs +938 -903
- package/scripts/preview.mjs +58 -58
- package/scripts/prune-sessions.mjs +31 -34
- package/scripts/prune-turnlogs.mjs +29 -30
- package/scripts/prune-vectors.mjs +24 -24
- package/scripts/rebuild-auto-links.mjs +252 -252
- package/scripts/recall-bench.mjs +820 -820
- package/scripts/repetition-ab-scenarios.mjs +93 -93
- package/scripts/repetition-detector-snapshot.mjs +314 -314
- package/scripts/repetition-eval-live.mjs +360 -360
- package/scripts/repetition-eval.mjs +702 -702
- package/scripts/replay.mjs +705 -575
- package/scripts/setup.mjs +46 -46
- package/scripts/simulate-injection.mjs +299 -301
- package/tests/absorb-review.test.mjs +354 -354
- package/tests/activation.test.mjs +89 -89
- package/tests/active-memory-ab.test.mjs +745 -745
- package/tests/active-memory.test.mjs +129 -129
- package/tests/activity-log.test.mjs +126 -126
- package/tests/activity-wiring.test.mjs +155 -155
- package/tests/appendix-b.test.mjs +217 -217
- package/tests/appendix-b2.test.mjs +166 -166
- package/tests/audit-batch3.test.mjs +247 -247
- package/tests/audit-regression.test.mjs +275 -275
- package/tests/audit-safety.test.mjs +227 -227
- package/tests/auto-link-candidates.test.mjs +245 -245
- package/tests/auto-link-decide.test.mjs +512 -512
- package/tests/auto-link-migration.test.mjs +133 -133
- package/tests/backend-compensation.test.mjs +272 -272
- package/tests/backup.test.mjs +793 -793
- package/tests/binding-diagnostics.test.mjs +720 -720
- package/tests/browser.test.mjs +476 -476
- package/tests/client-export.test.mjs +521 -521
- package/tests/client-render.test.mjs +2008 -1728
- package/tests/coalesce.test.mjs +113 -113
- package/tests/commitment.test.mjs +243 -144
- package/tests/config.test.mjs +159 -159
- package/tests/consolidation-credential.test.mjs +330 -330
- package/tests/consolidation-feed.test.mjs +122 -122
- package/tests/consolidation-fork.test.mjs +1586 -1539
- package/tests/consolidation-ledger.test.mjs +389 -389
- package/tests/consolidation-snapshot.test.mjs +567 -505
- package/tests/consolidation-value.test.mjs +89 -89
- package/tests/context-scope.test.mjs +40 -40
- package/tests/cross-library-recall.test.mjs +269 -269
- package/tests/cue.test.mjs +58 -58
- package/tests/curator-absorb.test.mjs +444 -444
- package/tests/curator-calibrate.test.mjs +173 -173
- package/tests/curator-clusters.test.mjs +306 -306
- package/tests/curator-commit.test.mjs +325 -325
- package/tests/curator-contract.test.mjs +191 -191
- package/tests/curator-evidence.test.mjs +102 -102
- package/tests/curator-link.test.mjs +317 -317
- package/tests/curator-pairing.test.mjs +339 -339
- package/tests/curator-probe.test.mjs +490 -490
- package/tests/curator-review-mode.test.mjs +315 -315
- package/tests/curator.test.mjs +152 -152
- package/tests/cycle.test.mjs +567 -568
- package/tests/diagnostics.test.mjs +278 -278
- package/tests/disclosure.test.mjs +249 -249
- package/tests/doc-drift.test.mjs +342 -342
- package/tests/drive-session.test.mjs +152 -152
- package/tests/dynamic-rrf.test.mjs +182 -182
- package/tests/dynamic-threshold.test.mjs +52 -52
- package/tests/embedding-catalog.test.mjs +374 -374
- package/tests/embedding-download.test.mjs +529 -486
- package/tests/embedding-runtime.test.mjs +449 -449
- package/tests/emotion-chain.test.mjs +84 -84
- package/tests/emotion-contract.test.mjs +445 -445
- package/tests/engine.test.mjs +108 -108
- package/tests/entity-merge.test.mjs +278 -278
- package/tests/environment-check.test.mjs +187 -187
- package/tests/fact-version.test.mjs +146 -146
- package/tests/fixtures/active-memory-ab/README.md +56 -56
- package/tests/fixtures/active-memory-ab/cases/01-clean-dense-turn.json +351 -351
- package/tests/fixtures/active-memory-ab/cases/02-clean-thin-turn.json +122 -122
- package/tests/fixtures/active-memory-ab/cases/03-clean-starved-small.json +125 -125
- package/tests/fixtures/active-memory-ab/cases/04-clean-large-thin.json +137 -137
- package/tests/fixtures/active-memory-ab/cases/05-clean-half-step.json +166 -166
- package/tests/fixtures/active-memory-ab/cases/06-clean-duplicate-reread.json +197 -197
- package/tests/fixtures/active-memory-ab/cases/07-clean-recent-recall.json +125 -125
- package/tests/fixtures/active-memory-ab/cases/08-global-relevant.json +111 -111
- package/tests/fixtures/active-memory-ab/cases/09-global-irrelevant-conflict.json +158 -158
- package/tests/fixtures/active-memory-ab/cases/10-no-human-turn.json +97 -97
- package/tests/fixtures/active-memory-ab/cases/11-clean-scale-100.json +137 -137
- package/tests/fixtures/active-memory-ab/cases/12-clean-scale-1000.json +137 -137
- package/tests/fixtures/active-memory-ab/cases/13-clean-scale-5000.json +137 -137
- package/tests/fixtures/active-memory-ab/cases/14-clean-scale-20000.json +137 -137
- package/tests/fixtures/active-memory-ab/lead-ai-reviewed-reference.json +191 -191
- package/tests/fixtures/active-memory-ab/manifest.json +199 -199
- package/tests/fixtures/curator-pairs/labeled.v1.jsonl +90 -90
- package/tests/fixtures/lexicon-stub-hooks.mjs +15 -15
- package/tests/fixtures/lexicon-stub.mjs +284 -284
- package/tests/fixtures/mock-llm/reply.txt +1 -1
- package/tests/fixtures/recall-bench/01-paraphrase.json +183 -183
- package/tests/fixtures/recall-bench/02-exact.json +152 -152
- package/tests/fixtures/recall-bench/03-negation.json +172 -172
- package/tests/fixtures/recall-bench/04-no-answer.json +161 -161
- package/tests/fixtures/recall-bench/05-conflict.json +193 -193
- package/tests/fixtures/recall-bench/06-boundary.json +272 -272
- package/tests/fixtures/recall-bench/07-secret.json +190 -190
- package/tests/fixtures/recall-bench/08-coding.json +163 -163
- package/tests/fixtures/recall-bench-gold-candidates/01-paraphrase.json +193 -193
- package/tests/fixtures/recall-bench-gold-candidates/02-exact.json +197 -197
- package/tests/fixtures/recall-bench-gold-candidates/03-negation.json +244 -244
- package/tests/fixtures/recall-bench-gold-candidates/04-no-answer.json +189 -189
- package/tests/fixtures/recall-bench-gold-candidates/05-conflict.json +245 -245
- package/tests/fixtures/recall-bench-gold-candidates/06-boundary.json +279 -279
- package/tests/fixtures/recall-bench-gold-candidates/07-secret.json +224 -224
- package/tests/fixtures/recall-bench-gold-candidates/08-coding.json +218 -218
- package/tests/fixtures/repetition-eval/01-zh-rp.json +92 -92
- package/tests/fixtures/repetition-eval/02-en.json +96 -96
- package/tests/fixtures/repetition-eval/03-code.json +90 -90
- package/tests/fixtures/repetition-eval/04-names.json +115 -115
- package/tests/fixtures/repetition-eval/05-user-quote.json +95 -95
- package/tests/fixtures/repetition-eval/06-agreement.json +85 -85
- package/tests/fixtures/tokenizer-cases.mjs +27 -27
- package/tests/fork-model.test.mjs +345 -345
- package/tests/freshness.test.mjs +140 -140
- package/tests/global-graph.test.mjs +106 -106
- package/tests/global-lifecycle.test.mjs +149 -149
- package/tests/graph-cascade.test.mjs +363 -363
- package/tests/graph-view.test.mjs +414 -414
- package/tests/graph.test.mjs +371 -371
- package/tests/help-page.test.mjs +416 -416
- package/tests/hook-order.test.mjs +72 -72
- package/tests/humanlike.test.mjs +232 -232
- package/tests/hybrid-recall.test.mjs +610 -610
- package/tests/inbound.test.mjs +441 -441
- package/tests/inject-conflict.test.mjs +173 -173
- package/tests/inject-guide.test.mjs +513 -513
- package/tests/inject.test.mjs +384 -384
- package/tests/injection-budget-settings.test.mjs +35 -35
- package/tests/injection-budget.test.mjs +165 -165
- package/tests/injection-chain.test.mjs +442 -442
- package/tests/injection-intent-budget.test.mjs +92 -92
- package/tests/injection-rollback.test.mjs +428 -428
- package/tests/issue2-chain.test.mjs +169 -169
- package/tests/lexical-bm25.test.mjs +171 -171
- package/tests/lexicon-calibrate.test.mjs +48 -48
- package/tests/lexicon-dedupe.test.mjs +171 -171
- package/tests/lexicon-frequency.test.mjs +195 -195
- package/tests/lexicon-inject.test.mjs +459 -459
- package/tests/lexicon-perf.test.mjs +464 -464
- package/tests/lexicon-scope.test.mjs +256 -256
- package/tests/lexicon-ui.test.mjs +667 -667
- package/tests/lexicon.test.mjs +922 -922
- package/tests/lifecycle-audit.test.mjs +56 -0
- package/tests/loader-register.mjs +3 -3
- package/tests/loader.mjs +17 -17
- package/tests/local-embedding-entry.test.mjs +95 -95
- package/tests/local-embedding-env.test.mjs +51 -51
- package/tests/local-embedding-manager.test.mjs +494 -494
- package/tests/local-embedding-protocol.test.mjs +121 -121
- package/tests/local-embedding-worker.test.mjs +440 -440
- package/tests/local-vector-service.test.mjs +41 -0
- package/tests/maintenance-status.test.mjs +77 -0
- package/tests/maintenance.test.mjs +438 -0
- package/tests/managed-memory.test.mjs +1234 -1234
- package/tests/managed-runtime.test.mjs +72 -72
- package/tests/media-injection.test.mjs +225 -0
- package/tests/media.test.mjs +135 -135
- package/tests/memory-chain.test.mjs +169 -169
- package/tests/memory-fields.test.mjs +134 -134
- package/tests/memu-resident-route.test.mjs +130 -130
- package/tests/memu-resident.test.mjs +33 -33
- package/tests/migration-payload.test.mjs +40 -42
- package/tests/mock-llm.test.mjs +263 -225
- package/tests/mood.test.mjs +109 -109
- package/tests/multiprocess.test.mjs +29 -29
- package/tests/negation-polarity.test.mjs +135 -135
- package/tests/new-session-gate.test.mjs +617 -617
- package/tests/open-loop-date.test.mjs +416 -416
- package/tests/ops-hardening.test.mjs +209 -209
- package/tests/package-shipping.test.mjs +88 -88
- package/tests/pending-injection.test.mjs +107 -107
- package/tests/port-surface.test.mjs +138 -138
- package/tests/preset-mount.test.mjs +124 -0
- package/tests/preset-scope.test.mjs +212 -212
- package/tests/private-links.test.mjs +493 -493
- package/tests/prompt-semantics.test.mjs +51 -51
- package/tests/prompts.test.mjs +315 -315
- package/tests/query-decompose.test.mjs +62 -62
- package/tests/react-snapshot.test.mjs +24 -24
- package/tests/recall-bench.test.mjs +317 -317
- package/tests/recall-cache.test.mjs +292 -292
- package/tests/recall-corpus-eligibility.test.mjs +51 -51
- package/tests/recall-dedup.test.mjs +446 -446
- package/tests/recall-intent.test.mjs +172 -172
- package/tests/regression-sweep.test.mjs +311 -311
- package/tests/reminder-fairness.test.mjs +55 -0
- package/tests/remote.test.mjs +140 -140
- package/tests/rename.test.mjs +30 -30
- package/tests/repetition-detector-snapshot.test.mjs +231 -231
- package/tests/repetition-eval-live.test.mjs +177 -177
- package/tests/repetition-eval.test.mjs +373 -373
- package/tests/salience-domain.test.mjs +173 -173
- package/tests/salient-date.test.mjs +142 -142
- package/tests/salient-wake.test.mjs +389 -389
- package/tests/settings-beat.test.mjs +222 -222
- package/tests/settings-coverage.test.mjs +97 -97
- package/tests/settings-plumbing.test.mjs +79 -79
- package/tests/short-term.test.mjs +182 -166
- package/tests/sidebar-beat.test.mjs +213 -213
- package/tests/sidebar-refresh.test.mjs +123 -123
- package/tests/sidebar.test.mjs +102 -74
- package/tests/simulate-injection.test.mjs +76 -76
- package/tests/slot-similarity.test.mjs +153 -153
- package/tests/snippet.test.mjs +79 -79
- package/tests/source-kind.test.mjs +52 -52
- package/tests/speaker-provenance.test.mjs +120 -120
- package/tests/stale-maintenance.test.mjs +206 -131
- package/tests/state-gc.test.mjs +34 -34
- package/tests/state.test.mjs +155 -155
- package/tests/stats.test.mjs +112 -112
- package/tests/storage.test.mjs +125 -125
- package/tests/stubs/child-process-spy.mjs +14 -14
- package/tests/stubs/dsh-llm-pi-ai.js +13 -13
- package/tests/stubs/dsh-llm.js +5 -5
- package/tests/stubs/dsh-schedule.js +140 -140
- package/tests/stubs/dsh-session-query.js +26 -26
- package/tests/stubs/dsh-session.js +7 -7
- package/tests/stubs/dsh-tools.js +101 -101
- package/tests/temporal-repair.test.mjs +78 -0
- package/tests/temporal.test.mjs +124 -124
- package/tests/text-format.test.mjs +24 -0
- package/tests/tokenizer-v2.test.mjs +142 -142
- package/tests/tool-schema.test.mjs +126 -126
- package/tests/tools.test.mjs +810 -810
- package/tests/turn-log.test.mjs +487 -487
- package/tests/ui-defaults.test.mjs +57 -57
- package/tests/update-fields.test.mjs +138 -138
- package/tests/vector-gc.test.mjs +37 -37
- package/tests/vector-migration.test.mjs +810 -810
- package/tests/vector-profile.test.mjs +449 -449
- package/tests/visibility-migration.test.mjs +152 -152
- package/tests/webui-auth.test.mjs +963 -963
- package/tests/webui.test.mjs +421 -421
- package/tests/windows-env.test.mjs +89 -89
- package/tests/worker-lifecycle.test.mjs +1521 -1429
package/lib/webui/standalone.css
CHANGED
|
@@ -1,1178 +1,1178 @@
|
|
|
1
|
-
/* ============================================================================
|
|
2
|
-
dsh-memu-memory — standalone memory studio
|
|
3
|
-
----------------------------------------------------------------------------
|
|
4
|
-
This stylesheet only ever loads inside the standalone document
|
|
5
|
-
(html[data-standalone]). The host settings pane keeps its own compact look,
|
|
6
|
-
so every rule here is additive and scoped. Colours ride the DSH alias tokens
|
|
7
|
-
with local fallbacks: the page defines them once, the client reads them.
|
|
8
|
-
========================================================================== */
|
|
9
|
-
|
|
10
|
-
/* ── tokens ────────────────────────────────────────────────────────────── */
|
|
11
|
-
:root {
|
|
12
|
-
--dshm-rail: 210px;
|
|
13
|
-
--dshm-gap: 34px;
|
|
14
|
-
--dshm-radius: 20px;
|
|
15
|
-
--dshm-topbar-h: 66px;
|
|
16
|
-
--dshm-ok: #3b5bdb;
|
|
17
|
-
--dshm-brand-2: #7048e8;
|
|
18
|
-
--dshm-coral: #f27066;
|
|
19
|
-
--dshm-shadow-soft: 0 24px 60px -42px rgba(16, 22, 48, .55);
|
|
20
|
-
--dshm-shadow-card: 0 24px 50px -38px rgba(16, 22, 48, .5);
|
|
21
|
-
--dshm-shadow-lift: 0 30px 60px -32px rgba(16, 22, 48, .5);
|
|
22
|
-
|
|
23
|
-
--dshm-panel: rgba(255, 255, 255, .66);
|
|
24
|
-
--dshm-panel-strong: rgba(255, 255, 255, .87);
|
|
25
|
-
--dshm-panel-2: rgba(255, 255, 255, .5);
|
|
26
|
-
--dshm-field: rgba(255, 255, 255, .74);
|
|
27
|
-
--dshm-line: rgba(26, 30, 43, .10);
|
|
28
|
-
--dshm-line-strong: rgba(26, 30, 43, .18);
|
|
29
|
-
--dshm-ink: #1a1e2b;
|
|
30
|
-
--dshm-muted: #5f6577;
|
|
31
|
-
--dshm-brand: #3b5bdb;
|
|
32
|
-
--dshm-accent: #c2757f;
|
|
33
|
-
--dshm-page-bg:
|
|
34
|
-
radial-gradient(1100px 720px at 8% -12%, rgba(80, 110, 240, .17), transparent 62%),
|
|
35
|
-
radial-gradient(900px 640px at 102% -4%, rgba(199, 120, 140, .12), transparent 58%),
|
|
36
|
-
radial-gradient(900px 700px at 50% 120%, rgba(112, 72, 232, .10), transparent 60%),
|
|
37
|
-
linear-gradient(180deg, #f6f6fa 0%, #f0f1f8 52%, #e9ebf3 100%);
|
|
38
|
-
--dshm-grain: .022;
|
|
39
|
-
--dshm-grid: rgba(26, 30, 43, .045);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
:root[data-theme="dark"] {
|
|
43
|
-
--dshm-ok: #8ea2ff;
|
|
44
|
-
--dshm-brand-2: #b197fc;
|
|
45
|
-
--dshm-coral: #ff8f85;
|
|
46
|
-
--dshm-shadow-soft: 0 30px 70px -46px rgba(0, 0, 0, .85);
|
|
47
|
-
--dshm-shadow-card: 0 26px 54px -40px rgba(0, 0, 0, .9);
|
|
48
|
-
--dshm-shadow-lift: 0 34px 70px -34px rgba(0, 0, 0, .8);
|
|
49
|
-
|
|
50
|
-
--dshm-panel: rgba(23, 26, 35, .64);
|
|
51
|
-
--dshm-panel-strong: rgba(29, 33, 44, .84);
|
|
52
|
-
--dshm-panel-2: rgba(255, 255, 255, .045);
|
|
53
|
-
--dshm-field: rgba(255, 255, 255, .05);
|
|
54
|
-
--dshm-line: rgba(233, 235, 244, .10);
|
|
55
|
-
--dshm-line-strong: rgba(233, 235, 244, .18);
|
|
56
|
-
--dshm-ink: #e9ebf4;
|
|
57
|
-
--dshm-muted: #9ba2b5;
|
|
58
|
-
--dshm-brand: #8ea2ff;
|
|
59
|
-
--dshm-accent: #d69aa4;
|
|
60
|
-
--dshm-page-bg:
|
|
61
|
-
radial-gradient(1100px 760px at 6% -14%, rgba(94, 120, 255, .20), transparent 60%),
|
|
62
|
-
radial-gradient(900px 680px at 104% 0%, rgba(198, 120, 140, .10), transparent 58%),
|
|
63
|
-
radial-gradient(900px 700px at 50% 130%, rgba(120, 90, 230, .14), transparent 62%),
|
|
64
|
-
linear-gradient(180deg, #0c0e15 0%, #0f121a 55%, #0b0d12 100%);
|
|
65
|
-
--dshm-grain: .05;
|
|
66
|
-
--dshm-grid: rgba(233, 235, 244, .05);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
/* ── base ──────────────────────────────────────────────────────────────── */
|
|
70
|
-
html {
|
|
71
|
-
background: #f4f5f9;
|
|
72
|
-
scroll-behavior: smooth;
|
|
73
|
-
}
|
|
74
|
-
html[data-theme="dark"] {
|
|
75
|
-
background: #0d0f15;
|
|
76
|
-
}
|
|
77
|
-
body {
|
|
78
|
-
margin: 0;
|
|
79
|
-
min-height: 100vh;
|
|
80
|
-
font-family: "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, "PingFang SC",
|
|
81
|
-
"Hiragino Sans GB", "Microsoft YaHei", sans-serif;
|
|
82
|
-
font-size: 14px;
|
|
83
|
-
line-height: 1.6;
|
|
84
|
-
color: var(--dshm-ink);
|
|
85
|
-
background: var(--dshm-page-bg);
|
|
86
|
-
background-attachment: fixed;
|
|
87
|
-
color-scheme: light;
|
|
88
|
-
-webkit-font-smoothing: antialiased;
|
|
89
|
-
text-rendering: optimizeLegibility;
|
|
90
|
-
letter-spacing: 0;
|
|
91
|
-
overflow-x: hidden;
|
|
92
|
-
}
|
|
93
|
-
html[data-theme="dark"] body {
|
|
94
|
-
color-scheme: dark;
|
|
95
|
-
}
|
|
96
|
-
* {
|
|
97
|
-
box-sizing: border-box;
|
|
98
|
-
}
|
|
99
|
-
::selection {
|
|
100
|
-
background: color-mix(in srgb, var(--dshm-brand) 32%, transparent);
|
|
101
|
-
color: var(--dshm-ink);
|
|
102
|
-
}
|
|
103
|
-
:focus-visible {
|
|
104
|
-
outline: 2px solid color-mix(in srgb, var(--dshm-brand) 70%, transparent);
|
|
105
|
-
outline-offset: 2px;
|
|
106
|
-
border-radius: 6px;
|
|
107
|
-
}
|
|
108
|
-
* {
|
|
109
|
-
scrollbar-width: thin;
|
|
110
|
-
scrollbar-color: color-mix(in srgb, var(--dshm-muted) 34%, transparent) transparent;
|
|
111
|
-
}
|
|
112
|
-
::-webkit-scrollbar {
|
|
113
|
-
width: 10px;
|
|
114
|
-
height: 10px;
|
|
115
|
-
}
|
|
116
|
-
::-webkit-scrollbar-thumb {
|
|
117
|
-
background: color-mix(in srgb, var(--dshm-muted) 32%, transparent);
|
|
118
|
-
border-radius: 999px;
|
|
119
|
-
border: 3px solid transparent;
|
|
120
|
-
background-clip: padding-box;
|
|
121
|
-
}
|
|
122
|
-
::-webkit-scrollbar-thumb:hover {
|
|
123
|
-
background: color-mix(in srgb, var(--dshm-muted) 52%, transparent);
|
|
124
|
-
background-clip: padding-box;
|
|
125
|
-
}
|
|
126
|
-
::-webkit-scrollbar-track {
|
|
127
|
-
background: transparent;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
/* ── ambient stage ─────────────────────────────────────────────────────── */
|
|
131
|
-
.ambient {
|
|
132
|
-
position: fixed;
|
|
133
|
-
inset: 0;
|
|
134
|
-
z-index: 0;
|
|
135
|
-
overflow: hidden;
|
|
136
|
-
pointer-events: none;
|
|
137
|
-
}
|
|
138
|
-
.ambient i {
|
|
139
|
-
position: absolute;
|
|
140
|
-
border-radius: 50%;
|
|
141
|
-
filter: blur(74px);
|
|
142
|
-
opacity: .62;
|
|
143
|
-
/* 静态光斑。曾经这里是 52s 无限漂移 + will-change: transform:一个全屏模糊层
|
|
144
|
-
永远在动,合成器就永远不睡,GPU 时钟被钉在高档(实测空闲 ~99fps 产帧)。
|
|
145
|
-
装饰层不许有无限动画;要动效只给交互触发的一次性动画。 */
|
|
146
|
-
}
|
|
147
|
-
.ambient i:nth-child(1) {
|
|
148
|
-
width: 54vw;
|
|
149
|
-
height: 54vw;
|
|
150
|
-
left: -14vw;
|
|
151
|
-
top: -20vw;
|
|
152
|
-
background: radial-gradient(circle at 36% 36%,
|
|
153
|
-
color-mix(in srgb, var(--dshm-brand) 42%, transparent), transparent 66%);
|
|
154
|
-
}
|
|
155
|
-
.ambient i:nth-child(2) {
|
|
156
|
-
width: 46vw;
|
|
157
|
-
height: 46vw;
|
|
158
|
-
right: -16vw;
|
|
159
|
-
top: -8vw;
|
|
160
|
-
background: radial-gradient(circle at 60% 40%,
|
|
161
|
-
color-mix(in srgb, var(--dshm-accent) 30%, transparent), transparent 64%);
|
|
162
|
-
animation-duration: 64s;
|
|
163
|
-
animation-delay: -18s;
|
|
164
|
-
}
|
|
165
|
-
.ambient i:nth-child(3) {
|
|
166
|
-
width: 50vw;
|
|
167
|
-
height: 50vw;
|
|
168
|
-
left: 28vw;
|
|
169
|
-
bottom: -34vw;
|
|
170
|
-
background: radial-gradient(circle at 50% 50%,
|
|
171
|
-
color-mix(in srgb, var(--dshm-brand-2) 24%, transparent), transparent 68%);
|
|
172
|
-
animation-duration: 74s;
|
|
173
|
-
animation-delay: -30s;
|
|
174
|
-
}
|
|
175
|
-
.ambient-grid {
|
|
176
|
-
position: absolute;
|
|
177
|
-
inset: 0;
|
|
178
|
-
background-image:
|
|
179
|
-
linear-gradient(var(--dshm-grid) 1px, transparent 1px),
|
|
180
|
-
linear-gradient(90deg, var(--dshm-grid) 1px, transparent 1px);
|
|
181
|
-
background-size: 44px 44px;
|
|
182
|
-
mask-image: radial-gradient(120% 90% at 50% 0%, #000 0%, transparent 72%);
|
|
183
|
-
opacity: .7;
|
|
184
|
-
}
|
|
185
|
-
.ambient-grain {
|
|
186
|
-
position: absolute;
|
|
187
|
-
inset: -20%;
|
|
188
|
-
opacity: var(--dshm-grain);
|
|
189
|
-
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
|
|
190
|
-
mix-blend-mode: overlay;
|
|
191
|
-
}
|
|
192
|
-
.ambient-spot {
|
|
193
|
-
position: absolute;
|
|
194
|
-
inset: 0;
|
|
195
|
-
background: radial-gradient(560px circle at var(--spot-x, 50%) var(--spot-y, 26%),
|
|
196
|
-
color-mix(in srgb, var(--dshm-brand) 9%, transparent), transparent 62%);
|
|
197
|
-
opacity: 0;
|
|
198
|
-
transition: opacity .6s ease;
|
|
199
|
-
}
|
|
200
|
-
body[data-pointer="fine"] .ambient-spot {
|
|
201
|
-
opacity: 1;
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
/* ── app frame ─────────────────────────────────────────────────────────── */
|
|
205
|
-
.app {
|
|
206
|
-
position: relative;
|
|
207
|
-
z-index: 1;
|
|
208
|
-
min-height: 100vh;
|
|
209
|
-
display: flex;
|
|
210
|
-
flex-direction: column;
|
|
211
|
-
}
|
|
212
|
-
.skip {
|
|
213
|
-
position: absolute;
|
|
214
|
-
left: 16px;
|
|
215
|
-
top: -60px;
|
|
216
|
-
z-index: 80;
|
|
217
|
-
padding: 8px 14px;
|
|
218
|
-
border-radius: 10px;
|
|
219
|
-
background: var(--dshm-panel-strong);
|
|
220
|
-
border: 1px solid var(--dshm-line-strong);
|
|
221
|
-
color: var(--dshm-ink);
|
|
222
|
-
text-decoration: none;
|
|
223
|
-
font-size: 12.5px;
|
|
224
|
-
transition: top .2s ease;
|
|
225
|
-
}
|
|
226
|
-
.skip:focus {
|
|
227
|
-
top: 14px;
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
/* ── topbar ────────────────────────────────────────────────────────────── */
|
|
231
|
-
.topbar {
|
|
232
|
-
position: sticky;
|
|
233
|
-
top: 14px;
|
|
234
|
-
z-index: 30;
|
|
235
|
-
width: min(1400px, calc(100% - 32px));
|
|
236
|
-
margin: 14px auto 0;
|
|
237
|
-
min-height: var(--dshm-topbar-h);
|
|
238
|
-
display: flex;
|
|
239
|
-
align-items: center;
|
|
240
|
-
gap: 18px;
|
|
241
|
-
padding: 12px 16px 12px 14px;
|
|
242
|
-
border-radius: 18px;
|
|
243
|
-
border: 1px solid var(--dshm-line);
|
|
244
|
-
background: color-mix(in srgb, var(--dshm-panel) 78%, transparent);
|
|
245
|
-
-webkit-backdrop-filter: blur(20px) saturate(1.5);
|
|
246
|
-
backdrop-filter: blur(20px) saturate(1.5);
|
|
247
|
-
box-shadow: var(--dshm-shadow-soft);
|
|
248
|
-
transition: box-shadow .3s ease, border-color .3s ease, background .3s ease, transform .3s ease;
|
|
249
|
-
}
|
|
250
|
-
body[data-scrolled="true"] .topbar {
|
|
251
|
-
box-shadow: 0 30px 70px -40px rgba(10, 28, 23, .55);
|
|
252
|
-
border-color: var(--dshm-line-strong);
|
|
253
|
-
background: color-mix(in srgb, var(--dshm-panel-strong) 82%, transparent);
|
|
254
|
-
}
|
|
255
|
-
.brand {
|
|
256
|
-
display: flex;
|
|
257
|
-
align-items: center;
|
|
258
|
-
gap: 11px;
|
|
259
|
-
min-width: 0;
|
|
260
|
-
text-decoration: none;
|
|
261
|
-
color: inherit;
|
|
262
|
-
}
|
|
263
|
-
.brand-icon {
|
|
264
|
-
position: relative;
|
|
265
|
-
width: 38px;
|
|
266
|
-
height: 38px;
|
|
267
|
-
flex: none;
|
|
268
|
-
border-radius: 12px;
|
|
269
|
-
display: grid;
|
|
270
|
-
place-items: center;
|
|
271
|
-
background: #fff;
|
|
272
|
-
border: 1px solid var(--dshm-line);
|
|
273
|
-
box-shadow:
|
|
274
|
-
0 12px 24px -16px rgba(16, 22, 48, .5),
|
|
275
|
-
inset 0 1px 0 rgba(255, 255, 255, .9);
|
|
276
|
-
}
|
|
277
|
-
:root[data-theme="dark"] .brand-icon {
|
|
278
|
-
background: #fff;
|
|
279
|
-
box-shadow:
|
|
280
|
-
0 14px 26px -18px rgba(0, 0, 0, .9),
|
|
281
|
-
inset 0 1px 0 rgba(255, 255, 255, .9);
|
|
282
|
-
}
|
|
283
|
-
.brand-icon svg {
|
|
284
|
-
width: 30px;
|
|
285
|
-
height: 30px;
|
|
286
|
-
display: block;
|
|
287
|
-
}
|
|
288
|
-
.brand-text {
|
|
289
|
-
display: flex;
|
|
290
|
-
flex-direction: column;
|
|
291
|
-
min-width: 0;
|
|
292
|
-
line-height: 1.15;
|
|
293
|
-
}
|
|
294
|
-
.brand-name {
|
|
295
|
-
font-size: 14px;
|
|
296
|
-
font-weight: 650;
|
|
297
|
-
letter-spacing: -.01em;
|
|
298
|
-
white-space: nowrap;
|
|
299
|
-
overflow: hidden;
|
|
300
|
-
text-overflow: ellipsis;
|
|
301
|
-
}
|
|
302
|
-
.brand-sub {
|
|
303
|
-
margin-top: 3px;
|
|
304
|
-
font-size: 9.5px;
|
|
305
|
-
font-weight: 600;
|
|
306
|
-
letter-spacing: .2em;
|
|
307
|
-
text-transform: uppercase;
|
|
308
|
-
color: var(--dshm-muted);
|
|
309
|
-
}
|
|
310
|
-
.crumb {
|
|
311
|
-
margin: 0 auto;
|
|
312
|
-
display: inline-flex;
|
|
313
|
-
align-items: center;
|
|
314
|
-
gap: 9px;
|
|
315
|
-
height: 30px;
|
|
316
|
-
padding: 0 14px;
|
|
317
|
-
border-radius: 999px;
|
|
318
|
-
border: 1px solid var(--dshm-line);
|
|
319
|
-
background: color-mix(in srgb, var(--dshm-panel-2) 70%, transparent);
|
|
320
|
-
color: var(--dshm-muted);
|
|
321
|
-
font-size: 12px;
|
|
322
|
-
white-space: nowrap;
|
|
323
|
-
max-width: 40vw;
|
|
324
|
-
overflow: hidden;
|
|
325
|
-
text-overflow: ellipsis;
|
|
326
|
-
}
|
|
327
|
-
.crumb::before {
|
|
328
|
-
content: "";
|
|
329
|
-
width: 5px;
|
|
330
|
-
height: 5px;
|
|
331
|
-
border-radius: 50%;
|
|
332
|
-
background: var(--dshm-brand);
|
|
333
|
-
box-shadow: 0 0 0 3px color-mix(in srgb, var(--dshm-brand) 16%, transparent);
|
|
334
|
-
flex: none;
|
|
335
|
-
}
|
|
336
|
-
.topbar-actions {
|
|
337
|
-
display: flex;
|
|
338
|
-
align-items: center;
|
|
339
|
-
gap: 8px;
|
|
340
|
-
flex: none;
|
|
341
|
-
}
|
|
342
|
-
.sync-pill {
|
|
343
|
-
display: inline-flex;
|
|
344
|
-
align-items: center;
|
|
345
|
-
gap: 8px;
|
|
346
|
-
height: 32px;
|
|
347
|
-
padding: 0 12px;
|
|
348
|
-
border-radius: 999px;
|
|
349
|
-
border: 1px solid var(--dshm-line);
|
|
350
|
-
background: color-mix(in srgb, var(--dshm-panel-2) 60%, transparent);
|
|
351
|
-
color: var(--dshm-muted);
|
|
352
|
-
font-size: 11.5px;
|
|
353
|
-
white-space: nowrap;
|
|
354
|
-
}
|
|
355
|
-
.sync-pill i {
|
|
356
|
-
width: 6px;
|
|
357
|
-
height: 6px;
|
|
358
|
-
border-radius: 50%;
|
|
359
|
-
background: var(--dshm-ok);
|
|
360
|
-
box-shadow: 0 0 0 3px color-mix(in srgb, var(--dshm-ok) 18%, transparent);
|
|
361
|
-
}
|
|
362
|
-
.icon-btn {
|
|
363
|
-
height: 38px;
|
|
364
|
-
min-width: 38px;
|
|
365
|
-
padding: 0 10px;
|
|
366
|
-
display: inline-flex;
|
|
367
|
-
align-items: center;
|
|
368
|
-
justify-content: center;
|
|
369
|
-
gap: 8px;
|
|
370
|
-
border-radius: 12px;
|
|
371
|
-
border: 1px solid var(--dshm-line);
|
|
372
|
-
background: color-mix(in srgb, var(--dshm-panel-2) 70%, transparent);
|
|
373
|
-
color: var(--dshm-ink);
|
|
374
|
-
font: inherit;
|
|
375
|
-
font-size: 12.5px;
|
|
376
|
-
font-weight: 550;
|
|
377
|
-
cursor: pointer;
|
|
378
|
-
transition: transform .22s cubic-bezier(.22, 1, .36, 1), box-shadow .22s ease,
|
|
379
|
-
border-color .22s ease, background .22s ease, color .22s ease;
|
|
380
|
-
}
|
|
381
|
-
.icon-btn:hover {
|
|
382
|
-
transform: translateY(-1px);
|
|
383
|
-
border-color: color-mix(in srgb, var(--dshm-brand) 34%, var(--dshm-line));
|
|
384
|
-
box-shadow: 0 12px 24px -16px color-mix(in srgb, var(--dshm-brand) 60%, transparent);
|
|
385
|
-
background: var(--dshm-panel-strong);
|
|
386
|
-
}
|
|
387
|
-
.icon-btn:active {
|
|
388
|
-
transform: translateY(0) scale(.96);
|
|
389
|
-
}
|
|
390
|
-
.icon-btn.primary {
|
|
391
|
-
border-color: transparent;
|
|
392
|
-
background: linear-gradient(135deg, var(--dshm-brand), var(--dshm-brand-2));
|
|
393
|
-
color: #fff;
|
|
394
|
-
box-shadow: 0 14px 26px -14px color-mix(in srgb, var(--dshm-brand) 70%, transparent);
|
|
395
|
-
}
|
|
396
|
-
:root[data-theme="dark"] .icon-btn.primary {
|
|
397
|
-
color: #062a23;
|
|
398
|
-
}
|
|
399
|
-
.icon-btn .swap {
|
|
400
|
-
display: grid;
|
|
401
|
-
place-items: center;
|
|
402
|
-
transition: transform .45s cubic-bezier(.34, 1.56, .64, 1);
|
|
403
|
-
}
|
|
404
|
-
.icon-btn:hover .swap {
|
|
405
|
-
transform: rotate(18deg) scale(1.05);
|
|
406
|
-
}
|
|
407
|
-
.icon-btn .i-sun,
|
|
408
|
-
.icon-btn .i-moon {
|
|
409
|
-
grid-area: 1 / 1;
|
|
410
|
-
transition: opacity .25s ease, transform .45s cubic-bezier(.34, 1.56, .64, 1);
|
|
411
|
-
}
|
|
412
|
-
:root[data-theme="dark"] .icon-btn .i-sun {
|
|
413
|
-
opacity: 0;
|
|
414
|
-
transform: rotate(-70deg) scale(.6);
|
|
415
|
-
}
|
|
416
|
-
:root[data-theme="dark"] .icon-btn .i-moon {
|
|
417
|
-
opacity: 1;
|
|
418
|
-
transform: none;
|
|
419
|
-
}
|
|
420
|
-
.icon-btn .i-moon {
|
|
421
|
-
opacity: 0;
|
|
422
|
-
transform: rotate(70deg) scale(.6);
|
|
423
|
-
}
|
|
424
|
-
.back-label {
|
|
425
|
-
padding-right: 2px;
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
/* ── stage ─────────────────────────────────────────────────────────────── */
|
|
429
|
-
.stage {
|
|
430
|
-
flex: 1;
|
|
431
|
-
width: 100%;
|
|
432
|
-
max-width: none;
|
|
433
|
-
margin: 0 auto;
|
|
434
|
-
padding: 26px 32px 56px calc(var(--dshm-rail) + 38px);
|
|
435
|
-
}
|
|
436
|
-
/* Visible from the first frame: the boot overlay owns the reveal. A transition
|
|
437
|
-
from opacity 0 here can freeze in a hidden tab, which reads as a blank page
|
|
438
|
-
that never comes back. */
|
|
439
|
-
#root {
|
|
440
|
-
min-height: 50vh;
|
|
441
|
-
}
|
|
442
|
-
|
|
443
|
-
/* ── footer ────────────────────────────────────────────────────────────── */
|
|
444
|
-
.foot {
|
|
445
|
-
display: flex;
|
|
446
|
-
align-items: center;
|
|
447
|
-
justify-content: center;
|
|
448
|
-
gap: 10px;
|
|
449
|
-
padding: 22px 32px 26px calc(var(--dshm-rail) + 38px);
|
|
450
|
-
color: var(--dshm-muted);
|
|
451
|
-
font-size: 11.5px;
|
|
452
|
-
opacity: 0;
|
|
453
|
-
transition: opacity .7s ease .2s;
|
|
454
|
-
}
|
|
455
|
-
body[data-ready="true"] .foot {
|
|
456
|
-
opacity: .85;
|
|
457
|
-
}
|
|
458
|
-
.foot .dot {
|
|
459
|
-
width: 3px;
|
|
460
|
-
height: 3px;
|
|
461
|
-
border-radius: 50%;
|
|
462
|
-
background: currentColor;
|
|
463
|
-
opacity: .5;
|
|
464
|
-
}
|
|
465
|
-
.foot-right {
|
|
466
|
-
margin-left: 8px;
|
|
467
|
-
font-variant-numeric: tabular-nums;
|
|
468
|
-
opacity: .7;
|
|
469
|
-
}
|
|
470
|
-
|
|
471
|
-
/* ── boot splash ───────────────────────────────────────────────────────── */
|
|
472
|
-
.boot {
|
|
473
|
-
position: fixed;
|
|
474
|
-
inset: 0;
|
|
475
|
-
z-index: 60;
|
|
476
|
-
display: grid;
|
|
477
|
-
place-items: center;
|
|
478
|
-
background:
|
|
479
|
-
radial-gradient(700px 460px at 50% 42%,
|
|
480
|
-
color-mix(in srgb, var(--dshm-brand) 12%, transparent), transparent 70%),
|
|
481
|
-
var(--dshm-page-bg);
|
|
482
|
-
transition: opacity .6s ease, visibility .6s ease;
|
|
483
|
-
}
|
|
484
|
-
body[data-ready="true"] .boot {
|
|
485
|
-
opacity: 0;
|
|
486
|
-
visibility: hidden;
|
|
487
|
-
pointer-events: none;
|
|
488
|
-
}
|
|
489
|
-
.boot-card {
|
|
490
|
-
display: flex;
|
|
491
|
-
flex-direction: column;
|
|
492
|
-
align-items: center;
|
|
493
|
-
gap: 12px;
|
|
494
|
-
padding: 30px 34px 26px;
|
|
495
|
-
border-radius: 24px;
|
|
496
|
-
border: 1px solid var(--dshm-line);
|
|
497
|
-
background: color-mix(in srgb, var(--dshm-panel) 72%, transparent);
|
|
498
|
-
-webkit-backdrop-filter: blur(18px);
|
|
499
|
-
backdrop-filter: blur(18px);
|
|
500
|
-
box-shadow: var(--dshm-shadow-soft);
|
|
501
|
-
animation: boot-in .7s cubic-bezier(.22, 1, .36, 1) both;
|
|
502
|
-
}
|
|
503
|
-
.boot-icon {
|
|
504
|
-
position: relative;
|
|
505
|
-
width: 64px;
|
|
506
|
-
height: 64px;
|
|
507
|
-
display: grid;
|
|
508
|
-
place-items: center;
|
|
509
|
-
border-radius: 20px;
|
|
510
|
-
background: #fff;
|
|
511
|
-
border: 1px solid var(--dshm-line);
|
|
512
|
-
box-shadow: 0 24px 50px -26px rgba(16, 22, 48, .55);
|
|
513
|
-
}
|
|
514
|
-
:root[data-theme="dark"] .boot-icon {
|
|
515
|
-
background: #fff;
|
|
516
|
-
box-shadow: 0 26px 54px -28px rgba(0, 0, 0, .95);
|
|
517
|
-
}
|
|
518
|
-
.boot-icon svg {
|
|
519
|
-
width: 48px;
|
|
520
|
-
height: 48px;
|
|
521
|
-
display: block;
|
|
522
|
-
}
|
|
523
|
-
.boot-icon::after {
|
|
524
|
-
content: "";
|
|
525
|
-
position: absolute;
|
|
526
|
-
inset: -8px;
|
|
527
|
-
border-radius: 26px;
|
|
528
|
-
border: 1px solid color-mix(in srgb, var(--dshm-brand) 34%, transparent);
|
|
529
|
-
animation: boot-ring 2.4s ease-out infinite;
|
|
530
|
-
}
|
|
531
|
-
.boot-title {
|
|
532
|
-
margin-top: 6px;
|
|
533
|
-
font-size: 16px;
|
|
534
|
-
font-weight: 650;
|
|
535
|
-
letter-spacing: -.01em;
|
|
536
|
-
}
|
|
537
|
-
.boot-sub {
|
|
538
|
-
font-size: 12px;
|
|
539
|
-
color: var(--dshm-muted);
|
|
540
|
-
}
|
|
541
|
-
.boot-bar {
|
|
542
|
-
margin-top: 6px;
|
|
543
|
-
width: 190px;
|
|
544
|
-
height: 3px;
|
|
545
|
-
border-radius: 999px;
|
|
546
|
-
overflow: hidden;
|
|
547
|
-
background: color-mix(in srgb, var(--dshm-muted) 18%, transparent);
|
|
548
|
-
}
|
|
549
|
-
.boot-bar i {
|
|
550
|
-
display: block;
|
|
551
|
-
width: 42%;
|
|
552
|
-
height: 100%;
|
|
553
|
-
border-radius: inherit;
|
|
554
|
-
background: linear-gradient(90deg, transparent,
|
|
555
|
-
color-mix(in srgb, var(--dshm-brand) 90%, transparent), transparent);
|
|
556
|
-
animation: boot-shimmer 1.5s ease-in-out infinite;
|
|
557
|
-
}
|
|
558
|
-
@keyframes boot-in {
|
|
559
|
-
from { opacity: 0; transform: translateY(12px) scale(.98); }
|
|
560
|
-
to { opacity: 1; transform: none; }
|
|
561
|
-
}
|
|
562
|
-
@keyframes boot-ring {
|
|
563
|
-
0% { opacity: .7; transform: scale(.96); }
|
|
564
|
-
70% { opacity: 0; transform: scale(1.18); }
|
|
565
|
-
100% { opacity: 0; transform: scale(1.18); }
|
|
566
|
-
}
|
|
567
|
-
@keyframes boot-shimmer {
|
|
568
|
-
0% { transform: translateX(-120%); }
|
|
569
|
-
100% { transform: translateX(340%); }
|
|
570
|
-
}
|
|
571
|
-
|
|
572
|
-
/* ── theme cross-fade (View Transitions) ───────────────────────────────── */
|
|
573
|
-
::view-transition-old(root),
|
|
574
|
-
::view-transition-new(root) {
|
|
575
|
-
animation-duration: .42s;
|
|
576
|
-
animation-timing-function: cubic-bezier(.22, 1, .36, 1);
|
|
577
|
-
}
|
|
578
|
-
::view-transition-old(root) {
|
|
579
|
-
animation-name: theme-out;
|
|
580
|
-
}
|
|
581
|
-
::view-transition-new(root) {
|
|
582
|
-
animation-name: theme-in;
|
|
583
|
-
}
|
|
584
|
-
@keyframes theme-out {
|
|
585
|
-
to { opacity: .2; }
|
|
586
|
-
}
|
|
587
|
-
@keyframes theme-in {
|
|
588
|
-
from { opacity: .2; transform: scale(.997); }
|
|
589
|
-
to { opacity: 1; transform: none; }
|
|
590
|
-
}
|
|
591
|
-
|
|
592
|
-
/* ============================================================================
|
|
593
|
-
Standalone skin for the shared SettingsPage (.dshm-*)
|
|
594
|
-
--------------------------------------------------------------------------
|
|
595
|
-
The component keeps its compact host values; here it gets room, depth and
|
|
596
|
-
glass. !important is used only where the component still carries inline
|
|
597
|
-
padding/radius/background, which CSS cannot otherwise outrank.
|
|
598
|
-
========================================================================== */
|
|
599
|
-
html[data-standalone] .dshm-root {
|
|
600
|
-
padding: 0;
|
|
601
|
-
min-height: 0;
|
|
602
|
-
animation: none;
|
|
603
|
-
/* Keep the query container alive in the standalone shell too, so UI_CSS's
|
|
604
|
-
@container rules drive the narrow layout in both shells (see UI_CSS). */
|
|
605
|
-
container-type: inline-size;
|
|
606
|
-
--dshm-mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, monospace;
|
|
607
|
-
}
|
|
608
|
-
html[data-standalone] .dshm-shell {
|
|
609
|
-
display: block;
|
|
610
|
-
max-width: none;
|
|
611
|
-
}
|
|
612
|
-
/* The rail is pinned to the window's left edge, below the floating topbar. The
|
|
613
|
-
content column stays centred in the remaining width. */
|
|
614
|
-
html[data-standalone] .dshm-nav {
|
|
615
|
-
position: fixed;
|
|
616
|
-
left: 0;
|
|
617
|
-
top: 96px;
|
|
618
|
-
bottom: 0;
|
|
619
|
-
width: var(--dshm-rail);
|
|
620
|
-
gap: 0;
|
|
621
|
-
padding: 14px 14px 22px;
|
|
622
|
-
border-radius: 0 var(--dshm-radius) var(--dshm-radius) 0;
|
|
623
|
-
border: 1px solid var(--dshm-line);
|
|
624
|
-
border-left: 0;
|
|
625
|
-
background: color-mix(in srgb, var(--dshm-panel) 92%, transparent);
|
|
626
|
-
box-shadow: var(--dshm-shadow-soft);
|
|
627
|
-
overflow-y: auto;
|
|
628
|
-
z-index: 20;
|
|
629
|
-
}
|
|
630
|
-
html[data-standalone] .dshm-nav::before {
|
|
631
|
-
content: var(--dshm-studio-label, "MEMORY STUDIO");
|
|
632
|
-
display: block;
|
|
633
|
-
padding: 4px 12px 10px;
|
|
634
|
-
font-size: 9px;
|
|
635
|
-
font-weight: 650;
|
|
636
|
-
letter-spacing: .2em;
|
|
637
|
-
color: var(--dshm-muted);
|
|
638
|
-
opacity: .8;
|
|
639
|
-
}
|
|
640
|
-
/* The topbar already carries the brand; repeating it inside the rail reads as
|
|
641
|
-
two apps glued together. */
|
|
642
|
-
html[data-standalone] .dshm-brand {
|
|
643
|
-
display: none;
|
|
644
|
-
}
|
|
645
|
-
html[data-standalone] .dshm-nav-list {
|
|
646
|
-
gap: var(--dshm-nav-gap, 4px);
|
|
647
|
-
}
|
|
648
|
-
html[data-standalone] .dshm-nav-item {
|
|
649
|
-
border-radius: 12px;
|
|
650
|
-
font-size: 13.5px;
|
|
651
|
-
color: var(--dshm-muted);
|
|
652
|
-
font-weight: 500;
|
|
653
|
-
transition: color .2s ease, transform .2s ease;
|
|
654
|
-
}
|
|
655
|
-
html[data-standalone] .dshm-nav-item:hover {
|
|
656
|
-
color: var(--dshm-ink);
|
|
657
|
-
transform: translateX(2px);
|
|
658
|
-
}
|
|
659
|
-
html[data-standalone] .dshm-nav-item.on {
|
|
660
|
-
color: var(--dshm-brand);
|
|
661
|
-
font-weight: 620;
|
|
662
|
-
}
|
|
663
|
-
html[data-standalone] .dshm-nav-item svg {
|
|
664
|
-
opacity: .78;
|
|
665
|
-
transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), opacity .2s ease;
|
|
666
|
-
}
|
|
667
|
-
html[data-standalone] .dshm-nav-item:hover svg,
|
|
668
|
-
html[data-standalone] .dshm-nav-item.on svg {
|
|
669
|
-
opacity: 1;
|
|
670
|
-
}
|
|
671
|
-
html[data-standalone] .dshm-nav-ind {
|
|
672
|
-
border-radius: 12px;
|
|
673
|
-
border: 1px solid color-mix(in srgb, var(--dshm-brand) 28%, transparent);
|
|
674
|
-
background:
|
|
675
|
-
linear-gradient(135deg,
|
|
676
|
-
color-mix(in srgb, var(--dshm-brand) 16%, transparent),
|
|
677
|
-
color-mix(in srgb, var(--dshm-brand) 7%, transparent));
|
|
678
|
-
box-shadow:
|
|
679
|
-
0 10px 24px -18px color-mix(in srgb, var(--dshm-brand) 60%, transparent),
|
|
680
|
-
inset 0 0 0 1px rgba(255, 255, 255, .04);
|
|
681
|
-
}
|
|
682
|
-
|
|
683
|
-
/* page header + body */
|
|
684
|
-
html[data-standalone] .dshm-page {
|
|
685
|
-
max-width: 1180px;
|
|
686
|
-
margin: 0 auto;
|
|
687
|
-
gap: 18px;
|
|
688
|
-
/* No page-level transform: an animated transform on this ancestor would make
|
|
689
|
-
it the containing block for the detail drawer's fixed overlay, clipping the
|
|
690
|
-
backdrop to the content column. Cards still animate individually. */
|
|
691
|
-
animation: none;
|
|
692
|
-
}
|
|
693
|
-
html[data-standalone] .dshm-head {
|
|
694
|
-
margin: 2px 0 8px;
|
|
695
|
-
}
|
|
696
|
-
html[data-standalone] .dshm-overline {
|
|
697
|
-
font-size: 10.5px;
|
|
698
|
-
letter-spacing: .24em;
|
|
699
|
-
color: var(--dshm-brand);
|
|
700
|
-
opacity: 1;
|
|
701
|
-
}
|
|
702
|
-
html[data-standalone] .dshm-h1 {
|
|
703
|
-
margin-top: 7px;
|
|
704
|
-
font-size: clamp(24px, 2.4vw, 32px);
|
|
705
|
-
font-weight: 680;
|
|
706
|
-
letter-spacing: -.035em;
|
|
707
|
-
line-height: 1.15;
|
|
708
|
-
}
|
|
709
|
-
html[data-standalone] .dshm-desc {
|
|
710
|
-
margin-top: 8px;
|
|
711
|
-
font-size: 13.5px;
|
|
712
|
-
line-height: 1.6;
|
|
713
|
-
max-width: 66ch;
|
|
714
|
-
color: var(--dshm-muted);
|
|
715
|
-
}
|
|
716
|
-
html[data-standalone] .dshm-status {
|
|
717
|
-
gap: 8px;
|
|
718
|
-
margin-top: 12px;
|
|
719
|
-
font-size: 12px;
|
|
720
|
-
}
|
|
721
|
-
|
|
722
|
-
/* cards */
|
|
723
|
-
html[data-standalone] .dshm-card {
|
|
724
|
-
position: relative;
|
|
725
|
-
overflow: hidden;
|
|
726
|
-
padding: 20px 20px 18px !important;
|
|
727
|
-
border-radius: var(--dshm-radius) !important;
|
|
728
|
-
border: 1px solid var(--dshm-line) !important;
|
|
729
|
-
background:
|
|
730
|
-
linear-gradient(180deg,
|
|
731
|
-
color-mix(in srgb, var(--dshm-panel-strong) 94%, transparent),
|
|
732
|
-
color-mix(in srgb, var(--dshm-panel) 88%, transparent)) !important;
|
|
733
|
-
box-shadow: var(--dshm-shadow-card);
|
|
734
|
-
transition: transform .28s cubic-bezier(.22, 1, .36, 1), box-shadow .28s ease,
|
|
735
|
-
border-color .28s ease;
|
|
736
|
-
}
|
|
737
|
-
html[data-standalone] .dshm-card::before {
|
|
738
|
-
content: "";
|
|
739
|
-
position: absolute;
|
|
740
|
-
inset: 0 0 auto;
|
|
741
|
-
height: 1px;
|
|
742
|
-
background: linear-gradient(90deg, transparent,
|
|
743
|
-
color-mix(in srgb, #fff 55%, transparent), transparent);
|
|
744
|
-
opacity: .7;
|
|
745
|
-
pointer-events: none;
|
|
746
|
-
}
|
|
747
|
-
html[data-standalone] .dshm-card:hover {
|
|
748
|
-
transform: translateY(-3px);
|
|
749
|
-
border-color: color-mix(in srgb, var(--dshm-brand) 26%, var(--dshm-line)) !important;
|
|
750
|
-
box-shadow: var(--dshm-shadow-lift);
|
|
751
|
-
}
|
|
752
|
-
html[data-standalone] .dshm-card h2,
|
|
753
|
-
html[data-standalone] .dshm-card-title {
|
|
754
|
-
font-size: 15px !important;
|
|
755
|
-
letter-spacing: -.01em;
|
|
756
|
-
}
|
|
757
|
-
html[data-standalone] .dshm-card-sub {
|
|
758
|
-
margin-top: 4px !important;
|
|
759
|
-
font-size: 12.5px !important;
|
|
760
|
-
line-height: 1.55 !important;
|
|
761
|
-
}
|
|
762
|
-
html[data-standalone] .dshm-card-ico {
|
|
763
|
-
width: 36px;
|
|
764
|
-
height: 36px;
|
|
765
|
-
border-radius: 12px;
|
|
766
|
-
background:
|
|
767
|
-
radial-gradient(120% 120% at 30% 20%, rgba(255, 255, 255, .35), transparent 60%),
|
|
768
|
-
color-mix(in srgb, var(--dshm-brand) 13%, transparent);
|
|
769
|
-
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--dshm-brand) 16%, transparent);
|
|
770
|
-
}
|
|
771
|
-
html[data-standalone] .dshm-rise {
|
|
772
|
-
animation: card-rise .46s cubic-bezier(.22, 1, .36, 1) both;
|
|
773
|
-
animation-delay: calc(var(--d, 0) * 42ms + 40ms);
|
|
774
|
-
}
|
|
775
|
-
@keyframes card-rise {
|
|
776
|
-
from { opacity: 0; transform: translateY(14px) scale(.995); }
|
|
777
|
-
to { opacity: 1; transform: none; }
|
|
778
|
-
}
|
|
779
|
-
@keyframes page-in {
|
|
780
|
-
from { opacity: 0; transform: translateY(10px); }
|
|
781
|
-
to { opacity: 1; transform: none; }
|
|
782
|
-
}
|
|
783
|
-
|
|
784
|
-
/* fields and actions */
|
|
785
|
-
html[data-standalone] .dshm-root input:not([type="checkbox"]):not([type="radio"]),
|
|
786
|
-
html[data-standalone] .dshm-root select {
|
|
787
|
-
height: 38px !important;
|
|
788
|
-
padding: 0 12px !important;
|
|
789
|
-
border-radius: 11px !important;
|
|
790
|
-
font-size: 13px !important;
|
|
791
|
-
background: var(--dshm-field) !important;
|
|
792
|
-
border-color: var(--dshm-line-strong) !important;
|
|
793
|
-
transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
|
|
794
|
-
}
|
|
795
|
-
html[data-standalone] .dshm-root textarea {
|
|
796
|
-
border-radius: 12px !important;
|
|
797
|
-
padding: 10px 12px !important;
|
|
798
|
-
font-size: 13px !important;
|
|
799
|
-
background: var(--dshm-field) !important;
|
|
800
|
-
border-color: var(--dshm-line-strong) !important;
|
|
801
|
-
transition: border-color .2s ease, box-shadow .2s ease;
|
|
802
|
-
}
|
|
803
|
-
html[data-standalone] .dshm-root input:not([type="checkbox"]):not([type="radio"]):focus,
|
|
804
|
-
html[data-standalone] .dshm-root select:focus,
|
|
805
|
-
html[data-standalone] .dshm-root textarea:focus {
|
|
806
|
-
border-color: var(--dshm-brand) !important;
|
|
807
|
-
box-shadow: 0 0 0 3px color-mix(in srgb, var(--dshm-brand) 16%, transparent) !important;
|
|
808
|
-
background: var(--dshm-panel-strong) !important;
|
|
809
|
-
}
|
|
810
|
-
html[data-standalone] .dshm-btn {
|
|
811
|
-
height: 36px !important;
|
|
812
|
-
padding: 0 15px !important;
|
|
813
|
-
border-radius: 11px !important;
|
|
814
|
-
font-size: 13px !important;
|
|
815
|
-
transition: transform .2s cubic-bezier(.22, 1, .36, 1), box-shadow .2s ease,
|
|
816
|
-
border-color .2s ease, opacity .2s ease;
|
|
817
|
-
}
|
|
818
|
-
html[data-standalone] .dshm-btn:hover:not(:disabled) {
|
|
819
|
-
transform: translateY(-1px);
|
|
820
|
-
box-shadow: 0 12px 24px -18px color-mix(in srgb, var(--dshm-brand) 70%, transparent);
|
|
821
|
-
}
|
|
822
|
-
html[data-standalone] .dshm-root input[type="checkbox"],
|
|
823
|
-
html[data-standalone] .dshm-root input[type="radio"] {
|
|
824
|
-
accent-color: var(--dshm-brand);
|
|
825
|
-
}
|
|
826
|
-
|
|
827
|
-
/* The tuning form is a long single column in the host. On a desktop page it reads
|
|
828
|
-
as a sparse list with half a card empty; two columns put the knobs side by side
|
|
829
|
-
without splitting each row's label from its control. Rows share one min-height so
|
|
830
|
-
a 24px toggle or a bare checkbox lines up with a 32px input in the neighbour cell. */
|
|
831
|
-
html[data-standalone] .dshm-settings-grid {
|
|
832
|
-
display: grid;
|
|
833
|
-
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
834
|
-
column-gap: 34px;
|
|
835
|
-
align-items: start;
|
|
836
|
-
}
|
|
837
|
-
html[data-standalone] .dshm-settings-grid > label {
|
|
838
|
-
margin: 5px 0;
|
|
839
|
-
min-width: 0;
|
|
840
|
-
min-height: 42px;
|
|
841
|
-
}
|
|
842
|
-
html[data-standalone] .dshm-settings-grid input:not([type="checkbox"]):not([type="radio"]),
|
|
843
|
-
html[data-standalone] .dshm-settings-grid select {
|
|
844
|
-
width: 100%;
|
|
845
|
-
max-width: 280px;
|
|
846
|
-
}
|
|
847
|
-
html[data-standalone] .dshm-settings-grid input[type="checkbox"] {
|
|
848
|
-
width: 15px;
|
|
849
|
-
height: 15px;
|
|
850
|
-
margin: 0;
|
|
851
|
-
flex: 0 0 auto;
|
|
852
|
-
}
|
|
853
|
-
/* The tool allowlist input arrives without S.input; give it the same height and
|
|
854
|
-
radius as its neighbours so the grid reads as one control size. */
|
|
855
|
-
html[data-standalone] .dshm-settings-grid .dshm-inbound-tools {
|
|
856
|
-
height: 32px;
|
|
857
|
-
padding: 0 10px;
|
|
858
|
-
border-radius: 9px;
|
|
859
|
-
}
|
|
860
|
-
html[data-standalone] .dshm-settings-note {
|
|
861
|
-
grid-column: 1 / -1;
|
|
862
|
-
margin-top: 8px !important;
|
|
863
|
-
white-space: pre-line;
|
|
864
|
-
}
|
|
865
|
-
@media (max-width: 1250px) {
|
|
866
|
-
html[data-standalone] .dshm-settings-grid {
|
|
867
|
-
grid-template-columns: minmax(0, 1fr);
|
|
868
|
-
}
|
|
869
|
-
}
|
|
870
|
-
|
|
871
|
-
/* charts, stats, tags */
|
|
872
|
-
html[data-standalone] .dshm-chart {
|
|
873
|
-
margin-top: 6px;
|
|
874
|
-
filter: drop-shadow(0 10px 18px color-mix(in srgb, var(--dshm-brand) 14%, transparent));
|
|
875
|
-
}
|
|
876
|
-
html[data-standalone] .dshm-stat {
|
|
877
|
-
padding: 12px 14px;
|
|
878
|
-
border-radius: 14px;
|
|
879
|
-
border-color: var(--dshm-line) !important;
|
|
880
|
-
background:
|
|
881
|
-
linear-gradient(180deg,
|
|
882
|
-
color-mix(in srgb, var(--dshm-panel-2) 70%, transparent),
|
|
883
|
-
transparent) !important;
|
|
884
|
-
}
|
|
885
|
-
html[data-standalone] .dshm-stat-v {
|
|
886
|
-
font-size: 23px;
|
|
887
|
-
letter-spacing: -.02em;
|
|
888
|
-
}
|
|
889
|
-
html[data-standalone] .dshm-stats-row {
|
|
890
|
-
grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
|
|
891
|
-
gap: 10px;
|
|
892
|
-
}
|
|
893
|
-
html[data-standalone] .dshm-error {
|
|
894
|
-
display: inline-flex;
|
|
895
|
-
align-items: center;
|
|
896
|
-
gap: 8px;
|
|
897
|
-
margin: 2px 0;
|
|
898
|
-
padding: 8px 12px;
|
|
899
|
-
border-radius: 11px;
|
|
900
|
-
border: 1px solid color-mix(in srgb, var(--dsw-alias-state-error-primary, #b43e45) 30%, transparent);
|
|
901
|
-
background: color-mix(in srgb, var(--dsw-alias-state-error-primary, #b43e45) 10%, transparent);
|
|
902
|
-
font-size: 12.5px;
|
|
903
|
-
}
|
|
904
|
-
|
|
905
|
-
/* graph + media blocks */
|
|
906
|
-
html[data-standalone] .dshm-graph-tools input,
|
|
907
|
-
html[data-standalone] .dshm-graph-tools select {
|
|
908
|
-
height: 38px;
|
|
909
|
-
border-radius: 11px;
|
|
910
|
-
border-color: var(--dshm-line-strong);
|
|
911
|
-
background: var(--dshm-field);
|
|
912
|
-
}
|
|
913
|
-
html[data-standalone] .dshm-graph-canvas {
|
|
914
|
-
border-radius: 0;
|
|
915
|
-
background: var(--dsw-alias-bg-layer-1);
|
|
916
|
-
}
|
|
917
|
-
html[data-standalone] .dshm-graph-edge {
|
|
918
|
-
border-color: var(--dshm-line);
|
|
919
|
-
}
|
|
920
|
-
html[data-standalone] .dshm-media-grid img {
|
|
921
|
-
border-radius: 14px;
|
|
922
|
-
box-shadow: 0 14px 30px -22px rgba(0, 0, 0, .5);
|
|
923
|
-
}
|
|
924
|
-
|
|
925
|
-
/* memory wall */
|
|
926
|
-
html[data-standalone] .dshm-wall {
|
|
927
|
-
display: flex;
|
|
928
|
-
flex-direction: column;
|
|
929
|
-
gap: 4px;
|
|
930
|
-
}
|
|
931
|
-
html[data-standalone] .dshm-wall-grid {
|
|
932
|
-
grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
|
|
933
|
-
gap: 16px;
|
|
934
|
-
margin-top: 20px;
|
|
935
|
-
}
|
|
936
|
-
html[data-standalone] .dshm-wall-item {
|
|
937
|
-
min-height: 236px;
|
|
938
|
-
/* Skip layout/paint for rows outside the viewport: a fullscreen wall can hold
|
|
939
|
-
300 cards, and rendering all of them is what starves the WebView2 compositor. */
|
|
940
|
-
content-visibility: auto;
|
|
941
|
-
contain-intrinsic-size: auto 236px;
|
|
942
|
-
padding: 18px;
|
|
943
|
-
border-radius: 18px;
|
|
944
|
-
border: 1px solid var(--dshm-line);
|
|
945
|
-
/* No backdrop-filter here. A fullscreen wall puts dozens of blurred cards on
|
|
946
|
-
screen at once; the pointer spotlight repaints their backdrop every frame
|
|
947
|
-
and WebView2 starts dropping compositor tiles (cards flash, then vanish).
|
|
948
|
-
The gradients below already carry the depth. */
|
|
949
|
-
background:
|
|
950
|
-
linear-gradient(180deg, var(--dshm-panel-strong), var(--dshm-panel));
|
|
951
|
-
box-shadow: 0 18px 36px -32px rgba(10, 28, 23, .5);
|
|
952
|
-
transition: transform .28s cubic-bezier(.22, 1, .36, 1), box-shadow .28s ease,
|
|
953
|
-
border-color .28s ease;
|
|
954
|
-
}
|
|
955
|
-
html[data-standalone] .dshm-wall-item:hover {
|
|
956
|
-
transform: translateY(-4px);
|
|
957
|
-
border-color: color-mix(in srgb, var(--dshm-brand) 34%, var(--dshm-line));
|
|
958
|
-
box-shadow: var(--dshm-shadow-lift);
|
|
959
|
-
}
|
|
960
|
-
html[data-standalone] .dshm-wall-item > strong {
|
|
961
|
-
font-size: 16px;
|
|
962
|
-
letter-spacing: -.015em;
|
|
963
|
-
}
|
|
964
|
-
html[data-standalone] .dshm-wall-item > p {
|
|
965
|
-
font-size: 12.5px;
|
|
966
|
-
line-height: 1.6;
|
|
967
|
-
color: var(--dshm-muted);
|
|
968
|
-
}
|
|
969
|
-
html[data-standalone] .dshm-wall-cover {
|
|
970
|
-
margin: -18px -18px 0;
|
|
971
|
-
border-radius: 17px 17px 0 0;
|
|
972
|
-
aspect-ratio: 16 / 10;
|
|
973
|
-
background: var(--dshm-field);
|
|
974
|
-
}
|
|
975
|
-
html[data-standalone] .dshm-wall-cover-count {
|
|
976
|
-
right: 10px;
|
|
977
|
-
bottom: 10px;
|
|
978
|
-
font-size: 10.5px;
|
|
979
|
-
letter-spacing: .01em;
|
|
980
|
-
background: rgba(10, 16, 32, .72);
|
|
981
|
-
}
|
|
982
|
-
html[data-standalone] .dshm-wall-meta {
|
|
983
|
-
font-size: 11px;
|
|
984
|
-
letter-spacing: .02em;
|
|
985
|
-
text-transform: uppercase;
|
|
986
|
-
}
|
|
987
|
-
html[data-standalone] .dshm-nav-list.is-row .dshm-nav-item.on {
|
|
988
|
-
background: color-mix(in srgb, var(--dshm-brand) 12%, transparent);
|
|
989
|
-
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--dshm-brand) 20%, transparent);
|
|
990
|
-
}
|
|
991
|
-
html[data-standalone] .dshm-wall-item > meter {
|
|
992
|
-
height: 4px;
|
|
993
|
-
border-radius: 999px;
|
|
994
|
-
}
|
|
995
|
-
html[data-standalone] .dshm-wall-item > meter::-webkit-meter-bar {
|
|
996
|
-
background: color-mix(in srgb, var(--dshm-muted) 16%, transparent);
|
|
997
|
-
border: 0;
|
|
998
|
-
border-radius: 999px;
|
|
999
|
-
}
|
|
1000
|
-
html[data-standalone] .dshm-wall-item > meter::-webkit-meter-optimum-value {
|
|
1001
|
-
border-radius: 999px;
|
|
1002
|
-
background: linear-gradient(90deg, var(--dshm-brand), var(--dshm-brand-2));
|
|
1003
|
-
}
|
|
1004
|
-
|
|
1005
|
-
/* the wall's in-place detail drawer */
|
|
1006
|
-
html[data-standalone] .dshm-drawer {
|
|
1007
|
-
width: min(560px, 100%);
|
|
1008
|
-
padding: 26px;
|
|
1009
|
-
gap: 12px;
|
|
1010
|
-
/* 详情/编辑抽屉必须不透明(与嵌入壳 client.js 的 .dshm-drawer 同口径):
|
|
1011
|
-
--dshm-panel-strong 是 .87/.84 的半透明霜面,拿它做抽屉底板会透出背后页面。
|
|
1012
|
-
独立壳的 --dsw-alias-bg-layer-1 是实色(#fff / #171a23),用它做不透明底板。 */
|
|
1013
|
-
background: var(--dsw-alias-bg-layer-1, #fff);
|
|
1014
|
-
border-left-color: var(--dshm-line);
|
|
1015
|
-
box-shadow: -30px 0 80px -40px rgba(0, 0, 0, .55);
|
|
1016
|
-
}
|
|
1017
|
-
html[data-standalone] .dshm-drawer input,
|
|
1018
|
-
html[data-standalone] .dshm-drawer textarea,
|
|
1019
|
-
html[data-standalone] .dshm-drawer select {
|
|
1020
|
-
width: 100%;
|
|
1021
|
-
}
|
|
1022
|
-
html[data-standalone] .dshm-drawer .dshm-drawer-inline select,
|
|
1023
|
-
html[data-standalone] .dshm-drawer .dshm-drawer-inline input {
|
|
1024
|
-
width: auto;
|
|
1025
|
-
flex: 1 1 auto;
|
|
1026
|
-
min-width: 0;
|
|
1027
|
-
}
|
|
1028
|
-
html[data-standalone] .dshm-drawer-field {
|
|
1029
|
-
display: inline-flex;
|
|
1030
|
-
align-items: center;
|
|
1031
|
-
gap: 7px;
|
|
1032
|
-
flex: 1 1 180px;
|
|
1033
|
-
min-width: 0;
|
|
1034
|
-
}
|
|
1035
|
-
html[data-standalone] .dshm-drawer-field.is-narrow {
|
|
1036
|
-
flex: 0 1 150px;
|
|
1037
|
-
}
|
|
1038
|
-
html[data-standalone] .dshm-drawer-label {
|
|
1039
|
-
flex: none;
|
|
1040
|
-
font-size: 11px;
|
|
1041
|
-
color: var(--dshm-muted);
|
|
1042
|
-
white-space: nowrap;
|
|
1043
|
-
}
|
|
1044
|
-
/* 2026-11-16 扫雷修复:纵向表单字段不再拉伸(抽屉下半空白)、标签左对齐、
|
|
1045
|
-
开关行底对齐输入行、抽屉高度自适应内容。覆盖上面 inline-flex/center 的旧口径。 */
|
|
1046
|
-
/* 2026-11-16 复盘:抽屉保持全高(嵌入壳里缩成小浮卡下面空一大块,更难看);
|
|
1047
|
-
「太空」的真凶是字段纵向拉伸,已在下方字段规则里修掉。 */
|
|
1048
|
-
html[data-standalone] .dshm-drawer-form .dshm-drawer-field {
|
|
1049
|
-
display: flex;
|
|
1050
|
-
flex-direction: column;
|
|
1051
|
-
align-items: stretch;
|
|
1052
|
-
gap: 5px;
|
|
1053
|
-
flex: 0 0 auto;
|
|
1054
|
-
}
|
|
1055
|
-
html[data-standalone] .dshm-drawer-form > input,
|
|
1056
|
-
html[data-standalone] .dshm-drawer-form > textarea {
|
|
1057
|
-
flex: 0 0 auto;
|
|
1058
|
-
}
|
|
1059
|
-
html[data-standalone] .dshm-drawer-form .dshm-drawer-inline {
|
|
1060
|
-
align-items: flex-end;
|
|
1061
|
-
}
|
|
1062
|
-
html[data-standalone] .dshm-drawer-form .dshm-drawer-inline .dshm-drawer-field {
|
|
1063
|
-
flex: 1 1 160px;
|
|
1064
|
-
}
|
|
1065
|
-
html[data-standalone] .dshm-drawer-form .dshm-drawer-inline .dshm-drawer-field.is-narrow {
|
|
1066
|
-
flex: 0 1 150px;
|
|
1067
|
-
}
|
|
1068
|
-
html[data-standalone] .dshm-drawer-actions {
|
|
1069
|
-
border-top-color: var(--dshm-line);
|
|
1070
|
-
}
|
|
1071
|
-
html[data-standalone] .dshm-drawer-copy {
|
|
1072
|
-
font-size: 13.5px;
|
|
1073
|
-
line-height: 1.75;
|
|
1074
|
-
}
|
|
1075
|
-
html[data-standalone] .dshm-drawer .dshm-media {
|
|
1076
|
-
margin: 2px 0;
|
|
1077
|
-
}
|
|
1078
|
-
html[data-standalone] .dshm-drawer .dshm-media summary {
|
|
1079
|
-
cursor: pointer;
|
|
1080
|
-
font-size: 12px;
|
|
1081
|
-
color: var(--dshm-muted);
|
|
1082
|
-
}
|
|
1083
|
-
html[data-standalone] .dshm-drawer .dshm-media-grid {
|
|
1084
|
-
display: grid;
|
|
1085
|
-
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
|
|
1086
|
-
gap: 10px;
|
|
1087
|
-
padding: 10px 0 2px;
|
|
1088
|
-
}
|
|
1089
|
-
html[data-standalone] .dshm-drawer .dshm-media-grid figure {
|
|
1090
|
-
max-width: none;
|
|
1091
|
-
}
|
|
1092
|
-
html[data-standalone] .dshm-drawer .dshm-media-grid img {
|
|
1093
|
-
width: 100%;
|
|
1094
|
-
max-height: 170px;
|
|
1095
|
-
object-fit: cover;
|
|
1096
|
-
border-radius: 12px;
|
|
1097
|
-
box-shadow: 0 14px 30px -24px rgba(0, 0, 0, .55);
|
|
1098
|
-
}
|
|
1099
|
-
html[data-standalone] .dshm-drawer .dshm-media-grid figcaption {
|
|
1100
|
-
color: var(--dshm-muted);
|
|
1101
|
-
}
|
|
1102
|
-
html[data-standalone] .dshm-wall-graph {
|
|
1103
|
-
margin-top: 2px;
|
|
1104
|
-
}
|
|
1105
|
-
|
|
1106
|
-
/* ── responsive ────────────────────────────────────────────────────────── */
|
|
1107
|
-
@media (max-width: 760px) {
|
|
1108
|
-
html[data-standalone] .dshm-nav { position: static; }
|
|
1109
|
-
html[data-standalone] .dshm-nav-list { flex-direction: row; flex-wrap: wrap; }
|
|
1110
|
-
html[data-standalone] .dshm-nav-ind { display: none; }
|
|
1111
|
-
html[data-standalone] .dshm-nav-item { flex: none; height: 32px; padding: 0 10px; font-size: 12px; }
|
|
1112
|
-
}
|
|
1113
|
-
@media (max-width: 1120px) {
|
|
1114
|
-
:root { --dshm-rail: 186px; --dshm-gap: 24px; }
|
|
1115
|
-
.stage { padding: 22px 22px 48px calc(var(--dshm-rail) + 38px); }
|
|
1116
|
-
}
|
|
1117
|
-
@media (max-width: 900px) {
|
|
1118
|
-
.topbar { top: 8px; width: calc(100% - 16px); margin-top: 8px; padding: 10px 12px; }
|
|
1119
|
-
.crumb, .sync-pill { display: none; }
|
|
1120
|
-
.stage { padding: 18px 16px 40px; }
|
|
1121
|
-
.back-label { display: none; }
|
|
1122
|
-
.foot { padding: 18px 16px 22px; }
|
|
1123
|
-
.foot-right { display: none; }
|
|
1124
|
-
html[data-standalone] .dshm-nav {
|
|
1125
|
-
position: static;
|
|
1126
|
-
width: auto;
|
|
1127
|
-
padding: 10px;
|
|
1128
|
-
border: 1px solid var(--dshm-line);
|
|
1129
|
-
border-radius: 16px;
|
|
1130
|
-
box-shadow: none;
|
|
1131
|
-
}
|
|
1132
|
-
html[data-standalone] .dshm-nav::before { display: none; }
|
|
1133
|
-
html[data-standalone] .dshm-nav-list { flex-direction: row; flex-wrap: wrap; }
|
|
1134
|
-
html[data-standalone] .dshm-nav-ind { display: none; }
|
|
1135
|
-
html[data-standalone] .dshm-nav-item { flex: none; height: 32px; padding: 0 10px; font-size: 12px; }
|
|
1136
|
-
html[data-standalone] .dshm-page { max-width: none; }
|
|
1137
|
-
}
|
|
1138
|
-
@media (max-width: 620px) {
|
|
1139
|
-
html[data-standalone] .dshm-nav {
|
|
1140
|
-
position: static;
|
|
1141
|
-
padding: 8px;
|
|
1142
|
-
border-radius: 16px;
|
|
1143
|
-
}
|
|
1144
|
-
html[data-standalone] .dshm-h1 { font-size: 24px; }
|
|
1145
|
-
html[data-standalone] .dshm-card { padding: 16px !important; border-radius: 16px !important; }
|
|
1146
|
-
.boot-card { padding: 24px 26px 20px; }
|
|
1147
|
-
}
|
|
1148
|
-
@media (prefers-reduced-motion: reduce) {
|
|
1149
|
-
html { scroll-behavior: auto; }
|
|
1150
|
-
.boot-icon::after,
|
|
1151
|
-
.boot-bar i,
|
|
1152
|
-
.boot-card {
|
|
1153
|
-
animation: none !important;
|
|
1154
|
-
}
|
|
1155
|
-
.foot,
|
|
1156
|
-
.topbar {
|
|
1157
|
-
transition: none !important;
|
|
1158
|
-
}
|
|
1159
|
-
}
|
|
1160
|
-
|
|
1161
|
-
html[data-standalone] .dshm-relation-field textarea{border-radius:12px;border-color:var(--dshm-line-strong);background:var(--dshm-field);padding:9px 11px;font-size:13px;color:inherit}
|
|
1162
|
-
|
|
1163
|
-
/* The standalone field rules set `background` (a shorthand) with !important, so
|
|
1164
|
-
the generic chevron in client.js was being erased. Keep the theme fill and add
|
|
1165
|
-
the chevron in one place for every select in this shell. */
|
|
1166
|
-
html[data-standalone] .dshm-root select {
|
|
1167
|
-
padding-right: 36px !important;
|
|
1168
|
-
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23808a99' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
|
|
1169
|
-
background-repeat: no-repeat !important;
|
|
1170
|
-
background-position: right 14px center !important;
|
|
1171
|
-
background-size: 10px 6px !important;
|
|
1172
|
-
}
|
|
1173
|
-
html[data-standalone] .dshm-root select:focus {
|
|
1174
|
-
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23808a99' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
|
|
1175
|
-
background-repeat: no-repeat !important;
|
|
1176
|
-
background-position: right 14px center !important;
|
|
1177
|
-
background-size: 10px 6px !important;
|
|
1178
|
-
}
|
|
1
|
+
/* ============================================================================
|
|
2
|
+
dsh-memu-memory — standalone memory studio
|
|
3
|
+
----------------------------------------------------------------------------
|
|
4
|
+
This stylesheet only ever loads inside the standalone document
|
|
5
|
+
(html[data-standalone]). The host settings pane keeps its own compact look,
|
|
6
|
+
so every rule here is additive and scoped. Colours ride the DSH alias tokens
|
|
7
|
+
with local fallbacks: the page defines them once, the client reads them.
|
|
8
|
+
========================================================================== */
|
|
9
|
+
|
|
10
|
+
/* ── tokens ────────────────────────────────────────────────────────────── */
|
|
11
|
+
:root {
|
|
12
|
+
--dshm-rail: 210px;
|
|
13
|
+
--dshm-gap: 34px;
|
|
14
|
+
--dshm-radius: 20px;
|
|
15
|
+
--dshm-topbar-h: 66px;
|
|
16
|
+
--dshm-ok: #3b5bdb;
|
|
17
|
+
--dshm-brand-2: #7048e8;
|
|
18
|
+
--dshm-coral: #f27066;
|
|
19
|
+
--dshm-shadow-soft: 0 24px 60px -42px rgba(16, 22, 48, .55);
|
|
20
|
+
--dshm-shadow-card: 0 24px 50px -38px rgba(16, 22, 48, .5);
|
|
21
|
+
--dshm-shadow-lift: 0 30px 60px -32px rgba(16, 22, 48, .5);
|
|
22
|
+
|
|
23
|
+
--dshm-panel: rgba(255, 255, 255, .66);
|
|
24
|
+
--dshm-panel-strong: rgba(255, 255, 255, .87);
|
|
25
|
+
--dshm-panel-2: rgba(255, 255, 255, .5);
|
|
26
|
+
--dshm-field: rgba(255, 255, 255, .74);
|
|
27
|
+
--dshm-line: rgba(26, 30, 43, .10);
|
|
28
|
+
--dshm-line-strong: rgba(26, 30, 43, .18);
|
|
29
|
+
--dshm-ink: #1a1e2b;
|
|
30
|
+
--dshm-muted: #5f6577;
|
|
31
|
+
--dshm-brand: #3b5bdb;
|
|
32
|
+
--dshm-accent: #c2757f;
|
|
33
|
+
--dshm-page-bg:
|
|
34
|
+
radial-gradient(1100px 720px at 8% -12%, rgba(80, 110, 240, .17), transparent 62%),
|
|
35
|
+
radial-gradient(900px 640px at 102% -4%, rgba(199, 120, 140, .12), transparent 58%),
|
|
36
|
+
radial-gradient(900px 700px at 50% 120%, rgba(112, 72, 232, .10), transparent 60%),
|
|
37
|
+
linear-gradient(180deg, #f6f6fa 0%, #f0f1f8 52%, #e9ebf3 100%);
|
|
38
|
+
--dshm-grain: .022;
|
|
39
|
+
--dshm-grid: rgba(26, 30, 43, .045);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
:root[data-theme="dark"] {
|
|
43
|
+
--dshm-ok: #8ea2ff;
|
|
44
|
+
--dshm-brand-2: #b197fc;
|
|
45
|
+
--dshm-coral: #ff8f85;
|
|
46
|
+
--dshm-shadow-soft: 0 30px 70px -46px rgba(0, 0, 0, .85);
|
|
47
|
+
--dshm-shadow-card: 0 26px 54px -40px rgba(0, 0, 0, .9);
|
|
48
|
+
--dshm-shadow-lift: 0 34px 70px -34px rgba(0, 0, 0, .8);
|
|
49
|
+
|
|
50
|
+
--dshm-panel: rgba(23, 26, 35, .64);
|
|
51
|
+
--dshm-panel-strong: rgba(29, 33, 44, .84);
|
|
52
|
+
--dshm-panel-2: rgba(255, 255, 255, .045);
|
|
53
|
+
--dshm-field: rgba(255, 255, 255, .05);
|
|
54
|
+
--dshm-line: rgba(233, 235, 244, .10);
|
|
55
|
+
--dshm-line-strong: rgba(233, 235, 244, .18);
|
|
56
|
+
--dshm-ink: #e9ebf4;
|
|
57
|
+
--dshm-muted: #9ba2b5;
|
|
58
|
+
--dshm-brand: #8ea2ff;
|
|
59
|
+
--dshm-accent: #d69aa4;
|
|
60
|
+
--dshm-page-bg:
|
|
61
|
+
radial-gradient(1100px 760px at 6% -14%, rgba(94, 120, 255, .20), transparent 60%),
|
|
62
|
+
radial-gradient(900px 680px at 104% 0%, rgba(198, 120, 140, .10), transparent 58%),
|
|
63
|
+
radial-gradient(900px 700px at 50% 130%, rgba(120, 90, 230, .14), transparent 62%),
|
|
64
|
+
linear-gradient(180deg, #0c0e15 0%, #0f121a 55%, #0b0d12 100%);
|
|
65
|
+
--dshm-grain: .05;
|
|
66
|
+
--dshm-grid: rgba(233, 235, 244, .05);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/* ── base ──────────────────────────────────────────────────────────────── */
|
|
70
|
+
html {
|
|
71
|
+
background: #f4f5f9;
|
|
72
|
+
scroll-behavior: smooth;
|
|
73
|
+
}
|
|
74
|
+
html[data-theme="dark"] {
|
|
75
|
+
background: #0d0f15;
|
|
76
|
+
}
|
|
77
|
+
body {
|
|
78
|
+
margin: 0;
|
|
79
|
+
min-height: 100vh;
|
|
80
|
+
font-family: "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, "PingFang SC",
|
|
81
|
+
"Hiragino Sans GB", "Microsoft YaHei", sans-serif;
|
|
82
|
+
font-size: 14px;
|
|
83
|
+
line-height: 1.6;
|
|
84
|
+
color: var(--dshm-ink);
|
|
85
|
+
background: var(--dshm-page-bg);
|
|
86
|
+
background-attachment: fixed;
|
|
87
|
+
color-scheme: light;
|
|
88
|
+
-webkit-font-smoothing: antialiased;
|
|
89
|
+
text-rendering: optimizeLegibility;
|
|
90
|
+
letter-spacing: 0;
|
|
91
|
+
overflow-x: hidden;
|
|
92
|
+
}
|
|
93
|
+
html[data-theme="dark"] body {
|
|
94
|
+
color-scheme: dark;
|
|
95
|
+
}
|
|
96
|
+
* {
|
|
97
|
+
box-sizing: border-box;
|
|
98
|
+
}
|
|
99
|
+
::selection {
|
|
100
|
+
background: color-mix(in srgb, var(--dshm-brand) 32%, transparent);
|
|
101
|
+
color: var(--dshm-ink);
|
|
102
|
+
}
|
|
103
|
+
:focus-visible {
|
|
104
|
+
outline: 2px solid color-mix(in srgb, var(--dshm-brand) 70%, transparent);
|
|
105
|
+
outline-offset: 2px;
|
|
106
|
+
border-radius: 6px;
|
|
107
|
+
}
|
|
108
|
+
* {
|
|
109
|
+
scrollbar-width: thin;
|
|
110
|
+
scrollbar-color: color-mix(in srgb, var(--dshm-muted) 34%, transparent) transparent;
|
|
111
|
+
}
|
|
112
|
+
::-webkit-scrollbar {
|
|
113
|
+
width: 10px;
|
|
114
|
+
height: 10px;
|
|
115
|
+
}
|
|
116
|
+
::-webkit-scrollbar-thumb {
|
|
117
|
+
background: color-mix(in srgb, var(--dshm-muted) 32%, transparent);
|
|
118
|
+
border-radius: 999px;
|
|
119
|
+
border: 3px solid transparent;
|
|
120
|
+
background-clip: padding-box;
|
|
121
|
+
}
|
|
122
|
+
::-webkit-scrollbar-thumb:hover {
|
|
123
|
+
background: color-mix(in srgb, var(--dshm-muted) 52%, transparent);
|
|
124
|
+
background-clip: padding-box;
|
|
125
|
+
}
|
|
126
|
+
::-webkit-scrollbar-track {
|
|
127
|
+
background: transparent;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/* ── ambient stage ─────────────────────────────────────────────────────── */
|
|
131
|
+
.ambient {
|
|
132
|
+
position: fixed;
|
|
133
|
+
inset: 0;
|
|
134
|
+
z-index: 0;
|
|
135
|
+
overflow: hidden;
|
|
136
|
+
pointer-events: none;
|
|
137
|
+
}
|
|
138
|
+
.ambient i {
|
|
139
|
+
position: absolute;
|
|
140
|
+
border-radius: 50%;
|
|
141
|
+
filter: blur(74px);
|
|
142
|
+
opacity: .62;
|
|
143
|
+
/* 静态光斑。曾经这里是 52s 无限漂移 + will-change: transform:一个全屏模糊层
|
|
144
|
+
永远在动,合成器就永远不睡,GPU 时钟被钉在高档(实测空闲 ~99fps 产帧)。
|
|
145
|
+
装饰层不许有无限动画;要动效只给交互触发的一次性动画。 */
|
|
146
|
+
}
|
|
147
|
+
.ambient i:nth-child(1) {
|
|
148
|
+
width: 54vw;
|
|
149
|
+
height: 54vw;
|
|
150
|
+
left: -14vw;
|
|
151
|
+
top: -20vw;
|
|
152
|
+
background: radial-gradient(circle at 36% 36%,
|
|
153
|
+
color-mix(in srgb, var(--dshm-brand) 42%, transparent), transparent 66%);
|
|
154
|
+
}
|
|
155
|
+
.ambient i:nth-child(2) {
|
|
156
|
+
width: 46vw;
|
|
157
|
+
height: 46vw;
|
|
158
|
+
right: -16vw;
|
|
159
|
+
top: -8vw;
|
|
160
|
+
background: radial-gradient(circle at 60% 40%,
|
|
161
|
+
color-mix(in srgb, var(--dshm-accent) 30%, transparent), transparent 64%);
|
|
162
|
+
animation-duration: 64s;
|
|
163
|
+
animation-delay: -18s;
|
|
164
|
+
}
|
|
165
|
+
.ambient i:nth-child(3) {
|
|
166
|
+
width: 50vw;
|
|
167
|
+
height: 50vw;
|
|
168
|
+
left: 28vw;
|
|
169
|
+
bottom: -34vw;
|
|
170
|
+
background: radial-gradient(circle at 50% 50%,
|
|
171
|
+
color-mix(in srgb, var(--dshm-brand-2) 24%, transparent), transparent 68%);
|
|
172
|
+
animation-duration: 74s;
|
|
173
|
+
animation-delay: -30s;
|
|
174
|
+
}
|
|
175
|
+
.ambient-grid {
|
|
176
|
+
position: absolute;
|
|
177
|
+
inset: 0;
|
|
178
|
+
background-image:
|
|
179
|
+
linear-gradient(var(--dshm-grid) 1px, transparent 1px),
|
|
180
|
+
linear-gradient(90deg, var(--dshm-grid) 1px, transparent 1px);
|
|
181
|
+
background-size: 44px 44px;
|
|
182
|
+
mask-image: radial-gradient(120% 90% at 50% 0%, #000 0%, transparent 72%);
|
|
183
|
+
opacity: .7;
|
|
184
|
+
}
|
|
185
|
+
.ambient-grain {
|
|
186
|
+
position: absolute;
|
|
187
|
+
inset: -20%;
|
|
188
|
+
opacity: var(--dshm-grain);
|
|
189
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
|
|
190
|
+
mix-blend-mode: overlay;
|
|
191
|
+
}
|
|
192
|
+
.ambient-spot {
|
|
193
|
+
position: absolute;
|
|
194
|
+
inset: 0;
|
|
195
|
+
background: radial-gradient(560px circle at var(--spot-x, 50%) var(--spot-y, 26%),
|
|
196
|
+
color-mix(in srgb, var(--dshm-brand) 9%, transparent), transparent 62%);
|
|
197
|
+
opacity: 0;
|
|
198
|
+
transition: opacity .6s ease;
|
|
199
|
+
}
|
|
200
|
+
body[data-pointer="fine"] .ambient-spot {
|
|
201
|
+
opacity: 1;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
/* ── app frame ─────────────────────────────────────────────────────────── */
|
|
205
|
+
.app {
|
|
206
|
+
position: relative;
|
|
207
|
+
z-index: 1;
|
|
208
|
+
min-height: 100vh;
|
|
209
|
+
display: flex;
|
|
210
|
+
flex-direction: column;
|
|
211
|
+
}
|
|
212
|
+
.skip {
|
|
213
|
+
position: absolute;
|
|
214
|
+
left: 16px;
|
|
215
|
+
top: -60px;
|
|
216
|
+
z-index: 80;
|
|
217
|
+
padding: 8px 14px;
|
|
218
|
+
border-radius: 10px;
|
|
219
|
+
background: var(--dshm-panel-strong);
|
|
220
|
+
border: 1px solid var(--dshm-line-strong);
|
|
221
|
+
color: var(--dshm-ink);
|
|
222
|
+
text-decoration: none;
|
|
223
|
+
font-size: 12.5px;
|
|
224
|
+
transition: top .2s ease;
|
|
225
|
+
}
|
|
226
|
+
.skip:focus {
|
|
227
|
+
top: 14px;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
/* ── topbar ────────────────────────────────────────────────────────────── */
|
|
231
|
+
.topbar {
|
|
232
|
+
position: sticky;
|
|
233
|
+
top: 14px;
|
|
234
|
+
z-index: 30;
|
|
235
|
+
width: min(1400px, calc(100% - 32px));
|
|
236
|
+
margin: 14px auto 0;
|
|
237
|
+
min-height: var(--dshm-topbar-h);
|
|
238
|
+
display: flex;
|
|
239
|
+
align-items: center;
|
|
240
|
+
gap: 18px;
|
|
241
|
+
padding: 12px 16px 12px 14px;
|
|
242
|
+
border-radius: 18px;
|
|
243
|
+
border: 1px solid var(--dshm-line);
|
|
244
|
+
background: color-mix(in srgb, var(--dshm-panel) 78%, transparent);
|
|
245
|
+
-webkit-backdrop-filter: blur(20px) saturate(1.5);
|
|
246
|
+
backdrop-filter: blur(20px) saturate(1.5);
|
|
247
|
+
box-shadow: var(--dshm-shadow-soft);
|
|
248
|
+
transition: box-shadow .3s ease, border-color .3s ease, background .3s ease, transform .3s ease;
|
|
249
|
+
}
|
|
250
|
+
body[data-scrolled="true"] .topbar {
|
|
251
|
+
box-shadow: 0 30px 70px -40px rgba(10, 28, 23, .55);
|
|
252
|
+
border-color: var(--dshm-line-strong);
|
|
253
|
+
background: color-mix(in srgb, var(--dshm-panel-strong) 82%, transparent);
|
|
254
|
+
}
|
|
255
|
+
.brand {
|
|
256
|
+
display: flex;
|
|
257
|
+
align-items: center;
|
|
258
|
+
gap: 11px;
|
|
259
|
+
min-width: 0;
|
|
260
|
+
text-decoration: none;
|
|
261
|
+
color: inherit;
|
|
262
|
+
}
|
|
263
|
+
.brand-icon {
|
|
264
|
+
position: relative;
|
|
265
|
+
width: 38px;
|
|
266
|
+
height: 38px;
|
|
267
|
+
flex: none;
|
|
268
|
+
border-radius: 12px;
|
|
269
|
+
display: grid;
|
|
270
|
+
place-items: center;
|
|
271
|
+
background: #fff;
|
|
272
|
+
border: 1px solid var(--dshm-line);
|
|
273
|
+
box-shadow:
|
|
274
|
+
0 12px 24px -16px rgba(16, 22, 48, .5),
|
|
275
|
+
inset 0 1px 0 rgba(255, 255, 255, .9);
|
|
276
|
+
}
|
|
277
|
+
:root[data-theme="dark"] .brand-icon {
|
|
278
|
+
background: #fff;
|
|
279
|
+
box-shadow:
|
|
280
|
+
0 14px 26px -18px rgba(0, 0, 0, .9),
|
|
281
|
+
inset 0 1px 0 rgba(255, 255, 255, .9);
|
|
282
|
+
}
|
|
283
|
+
.brand-icon svg {
|
|
284
|
+
width: 30px;
|
|
285
|
+
height: 30px;
|
|
286
|
+
display: block;
|
|
287
|
+
}
|
|
288
|
+
.brand-text {
|
|
289
|
+
display: flex;
|
|
290
|
+
flex-direction: column;
|
|
291
|
+
min-width: 0;
|
|
292
|
+
line-height: 1.15;
|
|
293
|
+
}
|
|
294
|
+
.brand-name {
|
|
295
|
+
font-size: 14px;
|
|
296
|
+
font-weight: 650;
|
|
297
|
+
letter-spacing: -.01em;
|
|
298
|
+
white-space: nowrap;
|
|
299
|
+
overflow: hidden;
|
|
300
|
+
text-overflow: ellipsis;
|
|
301
|
+
}
|
|
302
|
+
.brand-sub {
|
|
303
|
+
margin-top: 3px;
|
|
304
|
+
font-size: 9.5px;
|
|
305
|
+
font-weight: 600;
|
|
306
|
+
letter-spacing: .2em;
|
|
307
|
+
text-transform: uppercase;
|
|
308
|
+
color: var(--dshm-muted);
|
|
309
|
+
}
|
|
310
|
+
.crumb {
|
|
311
|
+
margin: 0 auto;
|
|
312
|
+
display: inline-flex;
|
|
313
|
+
align-items: center;
|
|
314
|
+
gap: 9px;
|
|
315
|
+
height: 30px;
|
|
316
|
+
padding: 0 14px;
|
|
317
|
+
border-radius: 999px;
|
|
318
|
+
border: 1px solid var(--dshm-line);
|
|
319
|
+
background: color-mix(in srgb, var(--dshm-panel-2) 70%, transparent);
|
|
320
|
+
color: var(--dshm-muted);
|
|
321
|
+
font-size: 12px;
|
|
322
|
+
white-space: nowrap;
|
|
323
|
+
max-width: 40vw;
|
|
324
|
+
overflow: hidden;
|
|
325
|
+
text-overflow: ellipsis;
|
|
326
|
+
}
|
|
327
|
+
.crumb::before {
|
|
328
|
+
content: "";
|
|
329
|
+
width: 5px;
|
|
330
|
+
height: 5px;
|
|
331
|
+
border-radius: 50%;
|
|
332
|
+
background: var(--dshm-brand);
|
|
333
|
+
box-shadow: 0 0 0 3px color-mix(in srgb, var(--dshm-brand) 16%, transparent);
|
|
334
|
+
flex: none;
|
|
335
|
+
}
|
|
336
|
+
.topbar-actions {
|
|
337
|
+
display: flex;
|
|
338
|
+
align-items: center;
|
|
339
|
+
gap: 8px;
|
|
340
|
+
flex: none;
|
|
341
|
+
}
|
|
342
|
+
.sync-pill {
|
|
343
|
+
display: inline-flex;
|
|
344
|
+
align-items: center;
|
|
345
|
+
gap: 8px;
|
|
346
|
+
height: 32px;
|
|
347
|
+
padding: 0 12px;
|
|
348
|
+
border-radius: 999px;
|
|
349
|
+
border: 1px solid var(--dshm-line);
|
|
350
|
+
background: color-mix(in srgb, var(--dshm-panel-2) 60%, transparent);
|
|
351
|
+
color: var(--dshm-muted);
|
|
352
|
+
font-size: 11.5px;
|
|
353
|
+
white-space: nowrap;
|
|
354
|
+
}
|
|
355
|
+
.sync-pill i {
|
|
356
|
+
width: 6px;
|
|
357
|
+
height: 6px;
|
|
358
|
+
border-radius: 50%;
|
|
359
|
+
background: var(--dshm-ok);
|
|
360
|
+
box-shadow: 0 0 0 3px color-mix(in srgb, var(--dshm-ok) 18%, transparent);
|
|
361
|
+
}
|
|
362
|
+
.icon-btn {
|
|
363
|
+
height: 38px;
|
|
364
|
+
min-width: 38px;
|
|
365
|
+
padding: 0 10px;
|
|
366
|
+
display: inline-flex;
|
|
367
|
+
align-items: center;
|
|
368
|
+
justify-content: center;
|
|
369
|
+
gap: 8px;
|
|
370
|
+
border-radius: 12px;
|
|
371
|
+
border: 1px solid var(--dshm-line);
|
|
372
|
+
background: color-mix(in srgb, var(--dshm-panel-2) 70%, transparent);
|
|
373
|
+
color: var(--dshm-ink);
|
|
374
|
+
font: inherit;
|
|
375
|
+
font-size: 12.5px;
|
|
376
|
+
font-weight: 550;
|
|
377
|
+
cursor: pointer;
|
|
378
|
+
transition: transform .22s cubic-bezier(.22, 1, .36, 1), box-shadow .22s ease,
|
|
379
|
+
border-color .22s ease, background .22s ease, color .22s ease;
|
|
380
|
+
}
|
|
381
|
+
.icon-btn:hover {
|
|
382
|
+
transform: translateY(-1px);
|
|
383
|
+
border-color: color-mix(in srgb, var(--dshm-brand) 34%, var(--dshm-line));
|
|
384
|
+
box-shadow: 0 12px 24px -16px color-mix(in srgb, var(--dshm-brand) 60%, transparent);
|
|
385
|
+
background: var(--dshm-panel-strong);
|
|
386
|
+
}
|
|
387
|
+
.icon-btn:active {
|
|
388
|
+
transform: translateY(0) scale(.96);
|
|
389
|
+
}
|
|
390
|
+
.icon-btn.primary {
|
|
391
|
+
border-color: transparent;
|
|
392
|
+
background: linear-gradient(135deg, var(--dshm-brand), var(--dshm-brand-2));
|
|
393
|
+
color: #fff;
|
|
394
|
+
box-shadow: 0 14px 26px -14px color-mix(in srgb, var(--dshm-brand) 70%, transparent);
|
|
395
|
+
}
|
|
396
|
+
:root[data-theme="dark"] .icon-btn.primary {
|
|
397
|
+
color: #062a23;
|
|
398
|
+
}
|
|
399
|
+
.icon-btn .swap {
|
|
400
|
+
display: grid;
|
|
401
|
+
place-items: center;
|
|
402
|
+
transition: transform .45s cubic-bezier(.34, 1.56, .64, 1);
|
|
403
|
+
}
|
|
404
|
+
.icon-btn:hover .swap {
|
|
405
|
+
transform: rotate(18deg) scale(1.05);
|
|
406
|
+
}
|
|
407
|
+
.icon-btn .i-sun,
|
|
408
|
+
.icon-btn .i-moon {
|
|
409
|
+
grid-area: 1 / 1;
|
|
410
|
+
transition: opacity .25s ease, transform .45s cubic-bezier(.34, 1.56, .64, 1);
|
|
411
|
+
}
|
|
412
|
+
:root[data-theme="dark"] .icon-btn .i-sun {
|
|
413
|
+
opacity: 0;
|
|
414
|
+
transform: rotate(-70deg) scale(.6);
|
|
415
|
+
}
|
|
416
|
+
:root[data-theme="dark"] .icon-btn .i-moon {
|
|
417
|
+
opacity: 1;
|
|
418
|
+
transform: none;
|
|
419
|
+
}
|
|
420
|
+
.icon-btn .i-moon {
|
|
421
|
+
opacity: 0;
|
|
422
|
+
transform: rotate(70deg) scale(.6);
|
|
423
|
+
}
|
|
424
|
+
.back-label {
|
|
425
|
+
padding-right: 2px;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
/* ── stage ─────────────────────────────────────────────────────────────── */
|
|
429
|
+
.stage {
|
|
430
|
+
flex: 1;
|
|
431
|
+
width: 100%;
|
|
432
|
+
max-width: none;
|
|
433
|
+
margin: 0 auto;
|
|
434
|
+
padding: 26px 32px 56px calc(var(--dshm-rail) + 38px);
|
|
435
|
+
}
|
|
436
|
+
/* Visible from the first frame: the boot overlay owns the reveal. A transition
|
|
437
|
+
from opacity 0 here can freeze in a hidden tab, which reads as a blank page
|
|
438
|
+
that never comes back. */
|
|
439
|
+
#root {
|
|
440
|
+
min-height: 50vh;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
/* ── footer ────────────────────────────────────────────────────────────── */
|
|
444
|
+
.foot {
|
|
445
|
+
display: flex;
|
|
446
|
+
align-items: center;
|
|
447
|
+
justify-content: center;
|
|
448
|
+
gap: 10px;
|
|
449
|
+
padding: 22px 32px 26px calc(var(--dshm-rail) + 38px);
|
|
450
|
+
color: var(--dshm-muted);
|
|
451
|
+
font-size: 11.5px;
|
|
452
|
+
opacity: 0;
|
|
453
|
+
transition: opacity .7s ease .2s;
|
|
454
|
+
}
|
|
455
|
+
body[data-ready="true"] .foot {
|
|
456
|
+
opacity: .85;
|
|
457
|
+
}
|
|
458
|
+
.foot .dot {
|
|
459
|
+
width: 3px;
|
|
460
|
+
height: 3px;
|
|
461
|
+
border-radius: 50%;
|
|
462
|
+
background: currentColor;
|
|
463
|
+
opacity: .5;
|
|
464
|
+
}
|
|
465
|
+
.foot-right {
|
|
466
|
+
margin-left: 8px;
|
|
467
|
+
font-variant-numeric: tabular-nums;
|
|
468
|
+
opacity: .7;
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
/* ── boot splash ───────────────────────────────────────────────────────── */
|
|
472
|
+
.boot {
|
|
473
|
+
position: fixed;
|
|
474
|
+
inset: 0;
|
|
475
|
+
z-index: 60;
|
|
476
|
+
display: grid;
|
|
477
|
+
place-items: center;
|
|
478
|
+
background:
|
|
479
|
+
radial-gradient(700px 460px at 50% 42%,
|
|
480
|
+
color-mix(in srgb, var(--dshm-brand) 12%, transparent), transparent 70%),
|
|
481
|
+
var(--dshm-page-bg);
|
|
482
|
+
transition: opacity .6s ease, visibility .6s ease;
|
|
483
|
+
}
|
|
484
|
+
body[data-ready="true"] .boot {
|
|
485
|
+
opacity: 0;
|
|
486
|
+
visibility: hidden;
|
|
487
|
+
pointer-events: none;
|
|
488
|
+
}
|
|
489
|
+
.boot-card {
|
|
490
|
+
display: flex;
|
|
491
|
+
flex-direction: column;
|
|
492
|
+
align-items: center;
|
|
493
|
+
gap: 12px;
|
|
494
|
+
padding: 30px 34px 26px;
|
|
495
|
+
border-radius: 24px;
|
|
496
|
+
border: 1px solid var(--dshm-line);
|
|
497
|
+
background: color-mix(in srgb, var(--dshm-panel) 72%, transparent);
|
|
498
|
+
-webkit-backdrop-filter: blur(18px);
|
|
499
|
+
backdrop-filter: blur(18px);
|
|
500
|
+
box-shadow: var(--dshm-shadow-soft);
|
|
501
|
+
animation: boot-in .7s cubic-bezier(.22, 1, .36, 1) both;
|
|
502
|
+
}
|
|
503
|
+
.boot-icon {
|
|
504
|
+
position: relative;
|
|
505
|
+
width: 64px;
|
|
506
|
+
height: 64px;
|
|
507
|
+
display: grid;
|
|
508
|
+
place-items: center;
|
|
509
|
+
border-radius: 20px;
|
|
510
|
+
background: #fff;
|
|
511
|
+
border: 1px solid var(--dshm-line);
|
|
512
|
+
box-shadow: 0 24px 50px -26px rgba(16, 22, 48, .55);
|
|
513
|
+
}
|
|
514
|
+
:root[data-theme="dark"] .boot-icon {
|
|
515
|
+
background: #fff;
|
|
516
|
+
box-shadow: 0 26px 54px -28px rgba(0, 0, 0, .95);
|
|
517
|
+
}
|
|
518
|
+
.boot-icon svg {
|
|
519
|
+
width: 48px;
|
|
520
|
+
height: 48px;
|
|
521
|
+
display: block;
|
|
522
|
+
}
|
|
523
|
+
.boot-icon::after {
|
|
524
|
+
content: "";
|
|
525
|
+
position: absolute;
|
|
526
|
+
inset: -8px;
|
|
527
|
+
border-radius: 26px;
|
|
528
|
+
border: 1px solid color-mix(in srgb, var(--dshm-brand) 34%, transparent);
|
|
529
|
+
animation: boot-ring 2.4s ease-out infinite;
|
|
530
|
+
}
|
|
531
|
+
.boot-title {
|
|
532
|
+
margin-top: 6px;
|
|
533
|
+
font-size: 16px;
|
|
534
|
+
font-weight: 650;
|
|
535
|
+
letter-spacing: -.01em;
|
|
536
|
+
}
|
|
537
|
+
.boot-sub {
|
|
538
|
+
font-size: 12px;
|
|
539
|
+
color: var(--dshm-muted);
|
|
540
|
+
}
|
|
541
|
+
.boot-bar {
|
|
542
|
+
margin-top: 6px;
|
|
543
|
+
width: 190px;
|
|
544
|
+
height: 3px;
|
|
545
|
+
border-radius: 999px;
|
|
546
|
+
overflow: hidden;
|
|
547
|
+
background: color-mix(in srgb, var(--dshm-muted) 18%, transparent);
|
|
548
|
+
}
|
|
549
|
+
.boot-bar i {
|
|
550
|
+
display: block;
|
|
551
|
+
width: 42%;
|
|
552
|
+
height: 100%;
|
|
553
|
+
border-radius: inherit;
|
|
554
|
+
background: linear-gradient(90deg, transparent,
|
|
555
|
+
color-mix(in srgb, var(--dshm-brand) 90%, transparent), transparent);
|
|
556
|
+
animation: boot-shimmer 1.5s ease-in-out infinite;
|
|
557
|
+
}
|
|
558
|
+
@keyframes boot-in {
|
|
559
|
+
from { opacity: 0; transform: translateY(12px) scale(.98); }
|
|
560
|
+
to { opacity: 1; transform: none; }
|
|
561
|
+
}
|
|
562
|
+
@keyframes boot-ring {
|
|
563
|
+
0% { opacity: .7; transform: scale(.96); }
|
|
564
|
+
70% { opacity: 0; transform: scale(1.18); }
|
|
565
|
+
100% { opacity: 0; transform: scale(1.18); }
|
|
566
|
+
}
|
|
567
|
+
@keyframes boot-shimmer {
|
|
568
|
+
0% { transform: translateX(-120%); }
|
|
569
|
+
100% { transform: translateX(340%); }
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
/* ── theme cross-fade (View Transitions) ───────────────────────────────── */
|
|
573
|
+
::view-transition-old(root),
|
|
574
|
+
::view-transition-new(root) {
|
|
575
|
+
animation-duration: .42s;
|
|
576
|
+
animation-timing-function: cubic-bezier(.22, 1, .36, 1);
|
|
577
|
+
}
|
|
578
|
+
::view-transition-old(root) {
|
|
579
|
+
animation-name: theme-out;
|
|
580
|
+
}
|
|
581
|
+
::view-transition-new(root) {
|
|
582
|
+
animation-name: theme-in;
|
|
583
|
+
}
|
|
584
|
+
@keyframes theme-out {
|
|
585
|
+
to { opacity: .2; }
|
|
586
|
+
}
|
|
587
|
+
@keyframes theme-in {
|
|
588
|
+
from { opacity: .2; transform: scale(.997); }
|
|
589
|
+
to { opacity: 1; transform: none; }
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
/* ============================================================================
|
|
593
|
+
Standalone skin for the shared SettingsPage (.dshm-*)
|
|
594
|
+
--------------------------------------------------------------------------
|
|
595
|
+
The component keeps its compact host values; here it gets room, depth and
|
|
596
|
+
glass. !important is used only where the component still carries inline
|
|
597
|
+
padding/radius/background, which CSS cannot otherwise outrank.
|
|
598
|
+
========================================================================== */
|
|
599
|
+
html[data-standalone] .dshm-root {
|
|
600
|
+
padding: 0;
|
|
601
|
+
min-height: 0;
|
|
602
|
+
animation: none;
|
|
603
|
+
/* Keep the query container alive in the standalone shell too, so UI_CSS's
|
|
604
|
+
@container rules drive the narrow layout in both shells (see UI_CSS). */
|
|
605
|
+
container-type: inline-size;
|
|
606
|
+
--dshm-mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, monospace;
|
|
607
|
+
}
|
|
608
|
+
html[data-standalone] .dshm-shell {
|
|
609
|
+
display: block;
|
|
610
|
+
max-width: none;
|
|
611
|
+
}
|
|
612
|
+
/* The rail is pinned to the window's left edge, below the floating topbar. The
|
|
613
|
+
content column stays centred in the remaining width. */
|
|
614
|
+
html[data-standalone] .dshm-nav {
|
|
615
|
+
position: fixed;
|
|
616
|
+
left: 0;
|
|
617
|
+
top: 96px;
|
|
618
|
+
bottom: 0;
|
|
619
|
+
width: var(--dshm-rail);
|
|
620
|
+
gap: 0;
|
|
621
|
+
padding: 14px 14px 22px;
|
|
622
|
+
border-radius: 0 var(--dshm-radius) var(--dshm-radius) 0;
|
|
623
|
+
border: 1px solid var(--dshm-line);
|
|
624
|
+
border-left: 0;
|
|
625
|
+
background: color-mix(in srgb, var(--dshm-panel) 92%, transparent);
|
|
626
|
+
box-shadow: var(--dshm-shadow-soft);
|
|
627
|
+
overflow-y: auto;
|
|
628
|
+
z-index: 20;
|
|
629
|
+
}
|
|
630
|
+
html[data-standalone] .dshm-nav::before {
|
|
631
|
+
content: var(--dshm-studio-label, "MEMORY STUDIO");
|
|
632
|
+
display: block;
|
|
633
|
+
padding: 4px 12px 10px;
|
|
634
|
+
font-size: 9px;
|
|
635
|
+
font-weight: 650;
|
|
636
|
+
letter-spacing: .2em;
|
|
637
|
+
color: var(--dshm-muted);
|
|
638
|
+
opacity: .8;
|
|
639
|
+
}
|
|
640
|
+
/* The topbar already carries the brand; repeating it inside the rail reads as
|
|
641
|
+
two apps glued together. */
|
|
642
|
+
html[data-standalone] .dshm-brand {
|
|
643
|
+
display: none;
|
|
644
|
+
}
|
|
645
|
+
html[data-standalone] .dshm-nav-list {
|
|
646
|
+
gap: var(--dshm-nav-gap, 4px);
|
|
647
|
+
}
|
|
648
|
+
html[data-standalone] .dshm-nav-item {
|
|
649
|
+
border-radius: 12px;
|
|
650
|
+
font-size: 13.5px;
|
|
651
|
+
color: var(--dshm-muted);
|
|
652
|
+
font-weight: 500;
|
|
653
|
+
transition: color .2s ease, transform .2s ease;
|
|
654
|
+
}
|
|
655
|
+
html[data-standalone] .dshm-nav-item:hover {
|
|
656
|
+
color: var(--dshm-ink);
|
|
657
|
+
transform: translateX(2px);
|
|
658
|
+
}
|
|
659
|
+
html[data-standalone] .dshm-nav-item.on {
|
|
660
|
+
color: var(--dshm-brand);
|
|
661
|
+
font-weight: 620;
|
|
662
|
+
}
|
|
663
|
+
html[data-standalone] .dshm-nav-item svg {
|
|
664
|
+
opacity: .78;
|
|
665
|
+
transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), opacity .2s ease;
|
|
666
|
+
}
|
|
667
|
+
html[data-standalone] .dshm-nav-item:hover svg,
|
|
668
|
+
html[data-standalone] .dshm-nav-item.on svg {
|
|
669
|
+
opacity: 1;
|
|
670
|
+
}
|
|
671
|
+
html[data-standalone] .dshm-nav-ind {
|
|
672
|
+
border-radius: 12px;
|
|
673
|
+
border: 1px solid color-mix(in srgb, var(--dshm-brand) 28%, transparent);
|
|
674
|
+
background:
|
|
675
|
+
linear-gradient(135deg,
|
|
676
|
+
color-mix(in srgb, var(--dshm-brand) 16%, transparent),
|
|
677
|
+
color-mix(in srgb, var(--dshm-brand) 7%, transparent));
|
|
678
|
+
box-shadow:
|
|
679
|
+
0 10px 24px -18px color-mix(in srgb, var(--dshm-brand) 60%, transparent),
|
|
680
|
+
inset 0 0 0 1px rgba(255, 255, 255, .04);
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
/* page header + body */
|
|
684
|
+
html[data-standalone] .dshm-page {
|
|
685
|
+
max-width: 1180px;
|
|
686
|
+
margin: 0 auto;
|
|
687
|
+
gap: 18px;
|
|
688
|
+
/* No page-level transform: an animated transform on this ancestor would make
|
|
689
|
+
it the containing block for the detail drawer's fixed overlay, clipping the
|
|
690
|
+
backdrop to the content column. Cards still animate individually. */
|
|
691
|
+
animation: none;
|
|
692
|
+
}
|
|
693
|
+
html[data-standalone] .dshm-head {
|
|
694
|
+
margin: 2px 0 8px;
|
|
695
|
+
}
|
|
696
|
+
html[data-standalone] .dshm-overline {
|
|
697
|
+
font-size: 10.5px;
|
|
698
|
+
letter-spacing: .24em;
|
|
699
|
+
color: var(--dshm-brand);
|
|
700
|
+
opacity: 1;
|
|
701
|
+
}
|
|
702
|
+
html[data-standalone] .dshm-h1 {
|
|
703
|
+
margin-top: 7px;
|
|
704
|
+
font-size: clamp(24px, 2.4vw, 32px);
|
|
705
|
+
font-weight: 680;
|
|
706
|
+
letter-spacing: -.035em;
|
|
707
|
+
line-height: 1.15;
|
|
708
|
+
}
|
|
709
|
+
html[data-standalone] .dshm-desc {
|
|
710
|
+
margin-top: 8px;
|
|
711
|
+
font-size: 13.5px;
|
|
712
|
+
line-height: 1.6;
|
|
713
|
+
max-width: 66ch;
|
|
714
|
+
color: var(--dshm-muted);
|
|
715
|
+
}
|
|
716
|
+
html[data-standalone] .dshm-status {
|
|
717
|
+
gap: 8px;
|
|
718
|
+
margin-top: 12px;
|
|
719
|
+
font-size: 12px;
|
|
720
|
+
}
|
|
721
|
+
|
|
722
|
+
/* cards */
|
|
723
|
+
html[data-standalone] .dshm-card {
|
|
724
|
+
position: relative;
|
|
725
|
+
overflow: hidden;
|
|
726
|
+
padding: 20px 20px 18px !important;
|
|
727
|
+
border-radius: var(--dshm-radius) !important;
|
|
728
|
+
border: 1px solid var(--dshm-line) !important;
|
|
729
|
+
background:
|
|
730
|
+
linear-gradient(180deg,
|
|
731
|
+
color-mix(in srgb, var(--dshm-panel-strong) 94%, transparent),
|
|
732
|
+
color-mix(in srgb, var(--dshm-panel) 88%, transparent)) !important;
|
|
733
|
+
box-shadow: var(--dshm-shadow-card);
|
|
734
|
+
transition: transform .28s cubic-bezier(.22, 1, .36, 1), box-shadow .28s ease,
|
|
735
|
+
border-color .28s ease;
|
|
736
|
+
}
|
|
737
|
+
html[data-standalone] .dshm-card::before {
|
|
738
|
+
content: "";
|
|
739
|
+
position: absolute;
|
|
740
|
+
inset: 0 0 auto;
|
|
741
|
+
height: 1px;
|
|
742
|
+
background: linear-gradient(90deg, transparent,
|
|
743
|
+
color-mix(in srgb, #fff 55%, transparent), transparent);
|
|
744
|
+
opacity: .7;
|
|
745
|
+
pointer-events: none;
|
|
746
|
+
}
|
|
747
|
+
html[data-standalone] .dshm-card:hover {
|
|
748
|
+
transform: translateY(-3px);
|
|
749
|
+
border-color: color-mix(in srgb, var(--dshm-brand) 26%, var(--dshm-line)) !important;
|
|
750
|
+
box-shadow: var(--dshm-shadow-lift);
|
|
751
|
+
}
|
|
752
|
+
html[data-standalone] .dshm-card h2,
|
|
753
|
+
html[data-standalone] .dshm-card-title {
|
|
754
|
+
font-size: 15px !important;
|
|
755
|
+
letter-spacing: -.01em;
|
|
756
|
+
}
|
|
757
|
+
html[data-standalone] .dshm-card-sub {
|
|
758
|
+
margin-top: 4px !important;
|
|
759
|
+
font-size: 12.5px !important;
|
|
760
|
+
line-height: 1.55 !important;
|
|
761
|
+
}
|
|
762
|
+
html[data-standalone] .dshm-card-ico {
|
|
763
|
+
width: 36px;
|
|
764
|
+
height: 36px;
|
|
765
|
+
border-radius: 12px;
|
|
766
|
+
background:
|
|
767
|
+
radial-gradient(120% 120% at 30% 20%, rgba(255, 255, 255, .35), transparent 60%),
|
|
768
|
+
color-mix(in srgb, var(--dshm-brand) 13%, transparent);
|
|
769
|
+
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--dshm-brand) 16%, transparent);
|
|
770
|
+
}
|
|
771
|
+
html[data-standalone] .dshm-rise {
|
|
772
|
+
animation: card-rise .46s cubic-bezier(.22, 1, .36, 1) both;
|
|
773
|
+
animation-delay: calc(var(--d, 0) * 42ms + 40ms);
|
|
774
|
+
}
|
|
775
|
+
@keyframes card-rise {
|
|
776
|
+
from { opacity: 0; transform: translateY(14px) scale(.995); }
|
|
777
|
+
to { opacity: 1; transform: none; }
|
|
778
|
+
}
|
|
779
|
+
@keyframes page-in {
|
|
780
|
+
from { opacity: 0; transform: translateY(10px); }
|
|
781
|
+
to { opacity: 1; transform: none; }
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
/* fields and actions */
|
|
785
|
+
html[data-standalone] .dshm-root input:not([type="checkbox"]):not([type="radio"]),
|
|
786
|
+
html[data-standalone] .dshm-root select {
|
|
787
|
+
height: 38px !important;
|
|
788
|
+
padding: 0 12px !important;
|
|
789
|
+
border-radius: 11px !important;
|
|
790
|
+
font-size: 13px !important;
|
|
791
|
+
background: var(--dshm-field) !important;
|
|
792
|
+
border-color: var(--dshm-line-strong) !important;
|
|
793
|
+
transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
|
|
794
|
+
}
|
|
795
|
+
html[data-standalone] .dshm-root textarea {
|
|
796
|
+
border-radius: 12px !important;
|
|
797
|
+
padding: 10px 12px !important;
|
|
798
|
+
font-size: 13px !important;
|
|
799
|
+
background: var(--dshm-field) !important;
|
|
800
|
+
border-color: var(--dshm-line-strong) !important;
|
|
801
|
+
transition: border-color .2s ease, box-shadow .2s ease;
|
|
802
|
+
}
|
|
803
|
+
html[data-standalone] .dshm-root input:not([type="checkbox"]):not([type="radio"]):focus,
|
|
804
|
+
html[data-standalone] .dshm-root select:focus,
|
|
805
|
+
html[data-standalone] .dshm-root textarea:focus {
|
|
806
|
+
border-color: var(--dshm-brand) !important;
|
|
807
|
+
box-shadow: 0 0 0 3px color-mix(in srgb, var(--dshm-brand) 16%, transparent) !important;
|
|
808
|
+
background: var(--dshm-panel-strong) !important;
|
|
809
|
+
}
|
|
810
|
+
html[data-standalone] .dshm-btn {
|
|
811
|
+
height: 36px !important;
|
|
812
|
+
padding: 0 15px !important;
|
|
813
|
+
border-radius: 11px !important;
|
|
814
|
+
font-size: 13px !important;
|
|
815
|
+
transition: transform .2s cubic-bezier(.22, 1, .36, 1), box-shadow .2s ease,
|
|
816
|
+
border-color .2s ease, opacity .2s ease;
|
|
817
|
+
}
|
|
818
|
+
html[data-standalone] .dshm-btn:hover:not(:disabled) {
|
|
819
|
+
transform: translateY(-1px);
|
|
820
|
+
box-shadow: 0 12px 24px -18px color-mix(in srgb, var(--dshm-brand) 70%, transparent);
|
|
821
|
+
}
|
|
822
|
+
html[data-standalone] .dshm-root input[type="checkbox"],
|
|
823
|
+
html[data-standalone] .dshm-root input[type="radio"] {
|
|
824
|
+
accent-color: var(--dshm-brand);
|
|
825
|
+
}
|
|
826
|
+
|
|
827
|
+
/* The tuning form is a long single column in the host. On a desktop page it reads
|
|
828
|
+
as a sparse list with half a card empty; two columns put the knobs side by side
|
|
829
|
+
without splitting each row's label from its control. Rows share one min-height so
|
|
830
|
+
a 24px toggle or a bare checkbox lines up with a 32px input in the neighbour cell. */
|
|
831
|
+
html[data-standalone] .dshm-settings-grid {
|
|
832
|
+
display: grid;
|
|
833
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
834
|
+
column-gap: 34px;
|
|
835
|
+
align-items: start;
|
|
836
|
+
}
|
|
837
|
+
html[data-standalone] .dshm-settings-grid > label {
|
|
838
|
+
margin: 5px 0;
|
|
839
|
+
min-width: 0;
|
|
840
|
+
min-height: 42px;
|
|
841
|
+
}
|
|
842
|
+
html[data-standalone] .dshm-settings-grid input:not([type="checkbox"]):not([type="radio"]),
|
|
843
|
+
html[data-standalone] .dshm-settings-grid select {
|
|
844
|
+
width: 100%;
|
|
845
|
+
max-width: 280px;
|
|
846
|
+
}
|
|
847
|
+
html[data-standalone] .dshm-settings-grid input[type="checkbox"] {
|
|
848
|
+
width: 15px;
|
|
849
|
+
height: 15px;
|
|
850
|
+
margin: 0;
|
|
851
|
+
flex: 0 0 auto;
|
|
852
|
+
}
|
|
853
|
+
/* The tool allowlist input arrives without S.input; give it the same height and
|
|
854
|
+
radius as its neighbours so the grid reads as one control size. */
|
|
855
|
+
html[data-standalone] .dshm-settings-grid .dshm-inbound-tools {
|
|
856
|
+
height: 32px;
|
|
857
|
+
padding: 0 10px;
|
|
858
|
+
border-radius: 9px;
|
|
859
|
+
}
|
|
860
|
+
html[data-standalone] .dshm-settings-note {
|
|
861
|
+
grid-column: 1 / -1;
|
|
862
|
+
margin-top: 8px !important;
|
|
863
|
+
white-space: pre-line;
|
|
864
|
+
}
|
|
865
|
+
@media (max-width: 1250px) {
|
|
866
|
+
html[data-standalone] .dshm-settings-grid {
|
|
867
|
+
grid-template-columns: minmax(0, 1fr);
|
|
868
|
+
}
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
/* charts, stats, tags */
|
|
872
|
+
html[data-standalone] .dshm-chart {
|
|
873
|
+
margin-top: 6px;
|
|
874
|
+
filter: drop-shadow(0 10px 18px color-mix(in srgb, var(--dshm-brand) 14%, transparent));
|
|
875
|
+
}
|
|
876
|
+
html[data-standalone] .dshm-stat {
|
|
877
|
+
padding: 12px 14px;
|
|
878
|
+
border-radius: 14px;
|
|
879
|
+
border-color: var(--dshm-line) !important;
|
|
880
|
+
background:
|
|
881
|
+
linear-gradient(180deg,
|
|
882
|
+
color-mix(in srgb, var(--dshm-panel-2) 70%, transparent),
|
|
883
|
+
transparent) !important;
|
|
884
|
+
}
|
|
885
|
+
html[data-standalone] .dshm-stat-v {
|
|
886
|
+
font-size: 23px;
|
|
887
|
+
letter-spacing: -.02em;
|
|
888
|
+
}
|
|
889
|
+
html[data-standalone] .dshm-stats-row {
|
|
890
|
+
grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
|
|
891
|
+
gap: 10px;
|
|
892
|
+
}
|
|
893
|
+
html[data-standalone] .dshm-error {
|
|
894
|
+
display: inline-flex;
|
|
895
|
+
align-items: center;
|
|
896
|
+
gap: 8px;
|
|
897
|
+
margin: 2px 0;
|
|
898
|
+
padding: 8px 12px;
|
|
899
|
+
border-radius: 11px;
|
|
900
|
+
border: 1px solid color-mix(in srgb, var(--dsw-alias-state-error-primary, #b43e45) 30%, transparent);
|
|
901
|
+
background: color-mix(in srgb, var(--dsw-alias-state-error-primary, #b43e45) 10%, transparent);
|
|
902
|
+
font-size: 12.5px;
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
/* graph + media blocks */
|
|
906
|
+
html[data-standalone] .dshm-graph-tools input,
|
|
907
|
+
html[data-standalone] .dshm-graph-tools select {
|
|
908
|
+
height: 38px;
|
|
909
|
+
border-radius: 11px;
|
|
910
|
+
border-color: var(--dshm-line-strong);
|
|
911
|
+
background: var(--dshm-field);
|
|
912
|
+
}
|
|
913
|
+
html[data-standalone] .dshm-graph-canvas {
|
|
914
|
+
border-radius: 0;
|
|
915
|
+
background: var(--dsw-alias-bg-layer-1);
|
|
916
|
+
}
|
|
917
|
+
html[data-standalone] .dshm-graph-edge {
|
|
918
|
+
border-color: var(--dshm-line);
|
|
919
|
+
}
|
|
920
|
+
html[data-standalone] .dshm-media-grid img {
|
|
921
|
+
border-radius: 14px;
|
|
922
|
+
box-shadow: 0 14px 30px -22px rgba(0, 0, 0, .5);
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
/* memory wall */
|
|
926
|
+
html[data-standalone] .dshm-wall {
|
|
927
|
+
display: flex;
|
|
928
|
+
flex-direction: column;
|
|
929
|
+
gap: 4px;
|
|
930
|
+
}
|
|
931
|
+
html[data-standalone] .dshm-wall-grid {
|
|
932
|
+
grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
|
|
933
|
+
gap: 16px;
|
|
934
|
+
margin-top: 20px;
|
|
935
|
+
}
|
|
936
|
+
html[data-standalone] .dshm-wall-item {
|
|
937
|
+
min-height: 236px;
|
|
938
|
+
/* Skip layout/paint for rows outside the viewport: a fullscreen wall can hold
|
|
939
|
+
300 cards, and rendering all of them is what starves the WebView2 compositor. */
|
|
940
|
+
content-visibility: auto;
|
|
941
|
+
contain-intrinsic-size: auto 236px;
|
|
942
|
+
padding: 18px;
|
|
943
|
+
border-radius: 18px;
|
|
944
|
+
border: 1px solid var(--dshm-line);
|
|
945
|
+
/* No backdrop-filter here. A fullscreen wall puts dozens of blurred cards on
|
|
946
|
+
screen at once; the pointer spotlight repaints their backdrop every frame
|
|
947
|
+
and WebView2 starts dropping compositor tiles (cards flash, then vanish).
|
|
948
|
+
The gradients below already carry the depth. */
|
|
949
|
+
background:
|
|
950
|
+
linear-gradient(180deg, var(--dshm-panel-strong), var(--dshm-panel));
|
|
951
|
+
box-shadow: 0 18px 36px -32px rgba(10, 28, 23, .5);
|
|
952
|
+
transition: transform .28s cubic-bezier(.22, 1, .36, 1), box-shadow .28s ease,
|
|
953
|
+
border-color .28s ease;
|
|
954
|
+
}
|
|
955
|
+
html[data-standalone] .dshm-wall-item:hover {
|
|
956
|
+
transform: translateY(-4px);
|
|
957
|
+
border-color: color-mix(in srgb, var(--dshm-brand) 34%, var(--dshm-line));
|
|
958
|
+
box-shadow: var(--dshm-shadow-lift);
|
|
959
|
+
}
|
|
960
|
+
html[data-standalone] .dshm-wall-item > strong {
|
|
961
|
+
font-size: 16px;
|
|
962
|
+
letter-spacing: -.015em;
|
|
963
|
+
}
|
|
964
|
+
html[data-standalone] .dshm-wall-item > p {
|
|
965
|
+
font-size: 12.5px;
|
|
966
|
+
line-height: 1.6;
|
|
967
|
+
color: var(--dshm-muted);
|
|
968
|
+
}
|
|
969
|
+
html[data-standalone] .dshm-wall-cover {
|
|
970
|
+
margin: -18px -18px 0;
|
|
971
|
+
border-radius: 17px 17px 0 0;
|
|
972
|
+
aspect-ratio: 16 / 10;
|
|
973
|
+
background: var(--dshm-field);
|
|
974
|
+
}
|
|
975
|
+
html[data-standalone] .dshm-wall-cover-count {
|
|
976
|
+
right: 10px;
|
|
977
|
+
bottom: 10px;
|
|
978
|
+
font-size: 10.5px;
|
|
979
|
+
letter-spacing: .01em;
|
|
980
|
+
background: rgba(10, 16, 32, .72);
|
|
981
|
+
}
|
|
982
|
+
html[data-standalone] .dshm-wall-meta {
|
|
983
|
+
font-size: 11px;
|
|
984
|
+
letter-spacing: .02em;
|
|
985
|
+
text-transform: uppercase;
|
|
986
|
+
}
|
|
987
|
+
html[data-standalone] .dshm-nav-list.is-row .dshm-nav-item.on {
|
|
988
|
+
background: color-mix(in srgb, var(--dshm-brand) 12%, transparent);
|
|
989
|
+
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--dshm-brand) 20%, transparent);
|
|
990
|
+
}
|
|
991
|
+
html[data-standalone] .dshm-wall-item > meter {
|
|
992
|
+
height: 4px;
|
|
993
|
+
border-radius: 999px;
|
|
994
|
+
}
|
|
995
|
+
html[data-standalone] .dshm-wall-item > meter::-webkit-meter-bar {
|
|
996
|
+
background: color-mix(in srgb, var(--dshm-muted) 16%, transparent);
|
|
997
|
+
border: 0;
|
|
998
|
+
border-radius: 999px;
|
|
999
|
+
}
|
|
1000
|
+
html[data-standalone] .dshm-wall-item > meter::-webkit-meter-optimum-value {
|
|
1001
|
+
border-radius: 999px;
|
|
1002
|
+
background: linear-gradient(90deg, var(--dshm-brand), var(--dshm-brand-2));
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
/* the wall's in-place detail drawer */
|
|
1006
|
+
html[data-standalone] .dshm-drawer {
|
|
1007
|
+
width: min(560px, 100%);
|
|
1008
|
+
padding: 26px;
|
|
1009
|
+
gap: 12px;
|
|
1010
|
+
/* 详情/编辑抽屉必须不透明(与嵌入壳 client.js 的 .dshm-drawer 同口径):
|
|
1011
|
+
--dshm-panel-strong 是 .87/.84 的半透明霜面,拿它做抽屉底板会透出背后页面。
|
|
1012
|
+
独立壳的 --dsw-alias-bg-layer-1 是实色(#fff / #171a23),用它做不透明底板。 */
|
|
1013
|
+
background: var(--dsw-alias-bg-layer-1, #fff);
|
|
1014
|
+
border-left-color: var(--dshm-line);
|
|
1015
|
+
box-shadow: -30px 0 80px -40px rgba(0, 0, 0, .55);
|
|
1016
|
+
}
|
|
1017
|
+
html[data-standalone] .dshm-drawer input,
|
|
1018
|
+
html[data-standalone] .dshm-drawer textarea,
|
|
1019
|
+
html[data-standalone] .dshm-drawer select {
|
|
1020
|
+
width: 100%;
|
|
1021
|
+
}
|
|
1022
|
+
html[data-standalone] .dshm-drawer .dshm-drawer-inline select,
|
|
1023
|
+
html[data-standalone] .dshm-drawer .dshm-drawer-inline input {
|
|
1024
|
+
width: auto;
|
|
1025
|
+
flex: 1 1 auto;
|
|
1026
|
+
min-width: 0;
|
|
1027
|
+
}
|
|
1028
|
+
html[data-standalone] .dshm-drawer-field {
|
|
1029
|
+
display: inline-flex;
|
|
1030
|
+
align-items: center;
|
|
1031
|
+
gap: 7px;
|
|
1032
|
+
flex: 1 1 180px;
|
|
1033
|
+
min-width: 0;
|
|
1034
|
+
}
|
|
1035
|
+
html[data-standalone] .dshm-drawer-field.is-narrow {
|
|
1036
|
+
flex: 0 1 150px;
|
|
1037
|
+
}
|
|
1038
|
+
html[data-standalone] .dshm-drawer-label {
|
|
1039
|
+
flex: none;
|
|
1040
|
+
font-size: 11px;
|
|
1041
|
+
color: var(--dshm-muted);
|
|
1042
|
+
white-space: nowrap;
|
|
1043
|
+
}
|
|
1044
|
+
/* 2026-11-16 扫雷修复:纵向表单字段不再拉伸(抽屉下半空白)、标签左对齐、
|
|
1045
|
+
开关行底对齐输入行、抽屉高度自适应内容。覆盖上面 inline-flex/center 的旧口径。 */
|
|
1046
|
+
/* 2026-11-16 复盘:抽屉保持全高(嵌入壳里缩成小浮卡下面空一大块,更难看);
|
|
1047
|
+
「太空」的真凶是字段纵向拉伸,已在下方字段规则里修掉。 */
|
|
1048
|
+
html[data-standalone] .dshm-drawer-form .dshm-drawer-field {
|
|
1049
|
+
display: flex;
|
|
1050
|
+
flex-direction: column;
|
|
1051
|
+
align-items: stretch;
|
|
1052
|
+
gap: 5px;
|
|
1053
|
+
flex: 0 0 auto;
|
|
1054
|
+
}
|
|
1055
|
+
html[data-standalone] .dshm-drawer-form > input,
|
|
1056
|
+
html[data-standalone] .dshm-drawer-form > textarea {
|
|
1057
|
+
flex: 0 0 auto;
|
|
1058
|
+
}
|
|
1059
|
+
html[data-standalone] .dshm-drawer-form .dshm-drawer-inline {
|
|
1060
|
+
align-items: flex-end;
|
|
1061
|
+
}
|
|
1062
|
+
html[data-standalone] .dshm-drawer-form .dshm-drawer-inline .dshm-drawer-field {
|
|
1063
|
+
flex: 1 1 160px;
|
|
1064
|
+
}
|
|
1065
|
+
html[data-standalone] .dshm-drawer-form .dshm-drawer-inline .dshm-drawer-field.is-narrow {
|
|
1066
|
+
flex: 0 1 150px;
|
|
1067
|
+
}
|
|
1068
|
+
html[data-standalone] .dshm-drawer-actions {
|
|
1069
|
+
border-top-color: var(--dshm-line);
|
|
1070
|
+
}
|
|
1071
|
+
html[data-standalone] .dshm-drawer-copy {
|
|
1072
|
+
font-size: 13.5px;
|
|
1073
|
+
line-height: 1.75;
|
|
1074
|
+
}
|
|
1075
|
+
html[data-standalone] .dshm-drawer .dshm-media {
|
|
1076
|
+
margin: 2px 0;
|
|
1077
|
+
}
|
|
1078
|
+
html[data-standalone] .dshm-drawer .dshm-media summary {
|
|
1079
|
+
cursor: pointer;
|
|
1080
|
+
font-size: 12px;
|
|
1081
|
+
color: var(--dshm-muted);
|
|
1082
|
+
}
|
|
1083
|
+
html[data-standalone] .dshm-drawer .dshm-media-grid {
|
|
1084
|
+
display: grid;
|
|
1085
|
+
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
|
|
1086
|
+
gap: 10px;
|
|
1087
|
+
padding: 10px 0 2px;
|
|
1088
|
+
}
|
|
1089
|
+
html[data-standalone] .dshm-drawer .dshm-media-grid figure {
|
|
1090
|
+
max-width: none;
|
|
1091
|
+
}
|
|
1092
|
+
html[data-standalone] .dshm-drawer .dshm-media-grid img {
|
|
1093
|
+
width: 100%;
|
|
1094
|
+
max-height: 170px;
|
|
1095
|
+
object-fit: cover;
|
|
1096
|
+
border-radius: 12px;
|
|
1097
|
+
box-shadow: 0 14px 30px -24px rgba(0, 0, 0, .55);
|
|
1098
|
+
}
|
|
1099
|
+
html[data-standalone] .dshm-drawer .dshm-media-grid figcaption {
|
|
1100
|
+
color: var(--dshm-muted);
|
|
1101
|
+
}
|
|
1102
|
+
html[data-standalone] .dshm-wall-graph {
|
|
1103
|
+
margin-top: 2px;
|
|
1104
|
+
}
|
|
1105
|
+
|
|
1106
|
+
/* ── responsive ────────────────────────────────────────────────────────── */
|
|
1107
|
+
@media (max-width: 760px) {
|
|
1108
|
+
html[data-standalone] .dshm-nav { position: static; }
|
|
1109
|
+
html[data-standalone] .dshm-nav-list { flex-direction: row; flex-wrap: wrap; }
|
|
1110
|
+
html[data-standalone] .dshm-nav-ind { display: none; }
|
|
1111
|
+
html[data-standalone] .dshm-nav-item { flex: none; height: 32px; padding: 0 10px; font-size: 12px; }
|
|
1112
|
+
}
|
|
1113
|
+
@media (max-width: 1120px) {
|
|
1114
|
+
:root { --dshm-rail: 186px; --dshm-gap: 24px; }
|
|
1115
|
+
.stage { padding: 22px 22px 48px calc(var(--dshm-rail) + 38px); }
|
|
1116
|
+
}
|
|
1117
|
+
@media (max-width: 900px) {
|
|
1118
|
+
.topbar { top: 8px; width: calc(100% - 16px); margin-top: 8px; padding: 10px 12px; }
|
|
1119
|
+
.crumb, .sync-pill { display: none; }
|
|
1120
|
+
.stage { padding: 18px 16px 40px; }
|
|
1121
|
+
.back-label { display: none; }
|
|
1122
|
+
.foot { padding: 18px 16px 22px; }
|
|
1123
|
+
.foot-right { display: none; }
|
|
1124
|
+
html[data-standalone] .dshm-nav {
|
|
1125
|
+
position: static;
|
|
1126
|
+
width: auto;
|
|
1127
|
+
padding: 10px;
|
|
1128
|
+
border: 1px solid var(--dshm-line);
|
|
1129
|
+
border-radius: 16px;
|
|
1130
|
+
box-shadow: none;
|
|
1131
|
+
}
|
|
1132
|
+
html[data-standalone] .dshm-nav::before { display: none; }
|
|
1133
|
+
html[data-standalone] .dshm-nav-list { flex-direction: row; flex-wrap: wrap; }
|
|
1134
|
+
html[data-standalone] .dshm-nav-ind { display: none; }
|
|
1135
|
+
html[data-standalone] .dshm-nav-item { flex: none; height: 32px; padding: 0 10px; font-size: 12px; }
|
|
1136
|
+
html[data-standalone] .dshm-page { max-width: none; }
|
|
1137
|
+
}
|
|
1138
|
+
@media (max-width: 620px) {
|
|
1139
|
+
html[data-standalone] .dshm-nav {
|
|
1140
|
+
position: static;
|
|
1141
|
+
padding: 8px;
|
|
1142
|
+
border-radius: 16px;
|
|
1143
|
+
}
|
|
1144
|
+
html[data-standalone] .dshm-h1 { font-size: 24px; }
|
|
1145
|
+
html[data-standalone] .dshm-card { padding: 16px !important; border-radius: 16px !important; }
|
|
1146
|
+
.boot-card { padding: 24px 26px 20px; }
|
|
1147
|
+
}
|
|
1148
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1149
|
+
html { scroll-behavior: auto; }
|
|
1150
|
+
.boot-icon::after,
|
|
1151
|
+
.boot-bar i,
|
|
1152
|
+
.boot-card {
|
|
1153
|
+
animation: none !important;
|
|
1154
|
+
}
|
|
1155
|
+
.foot,
|
|
1156
|
+
.topbar {
|
|
1157
|
+
transition: none !important;
|
|
1158
|
+
}
|
|
1159
|
+
}
|
|
1160
|
+
|
|
1161
|
+
html[data-standalone] .dshm-relation-field textarea{border-radius:12px;border-color:var(--dshm-line-strong);background:var(--dshm-field);padding:9px 11px;font-size:13px;color:inherit}
|
|
1162
|
+
|
|
1163
|
+
/* The standalone field rules set `background` (a shorthand) with !important, so
|
|
1164
|
+
the generic chevron in client.js was being erased. Keep the theme fill and add
|
|
1165
|
+
the chevron in one place for every select in this shell. */
|
|
1166
|
+
html[data-standalone] .dshm-root select {
|
|
1167
|
+
padding-right: 36px !important;
|
|
1168
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23808a99' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
|
|
1169
|
+
background-repeat: no-repeat !important;
|
|
1170
|
+
background-position: right 14px center !important;
|
|
1171
|
+
background-size: 10px 6px !important;
|
|
1172
|
+
}
|
|
1173
|
+
html[data-standalone] .dshm-root select:focus {
|
|
1174
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23808a99' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
|
|
1175
|
+
background-repeat: no-repeat !important;
|
|
1176
|
+
background-position: right 14px center !important;
|
|
1177
|
+
background-size: 10px 6px !important;
|
|
1178
|
+
}
|