@treasure-ai/treasure-deck 0.0.0-stage → 2026.10.1

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.
Files changed (110) hide show
  1. package/LICENSE.md +5 -0
  2. package/README.md +109 -2
  3. package/dist/analytics.d.ts +34 -0
  4. package/dist/analytics.js +93 -0
  5. package/dist/analytics.js.map +1 -0
  6. package/dist/attrs.d.ts +10 -0
  7. package/dist/attrs.js +22 -0
  8. package/dist/attrs.js.map +1 -0
  9. package/dist/build.d.ts +67 -0
  10. package/dist/build.js +247 -0
  11. package/dist/build.js.map +1 -0
  12. package/dist/check.d.ts +30 -0
  13. package/dist/check.js +142 -0
  14. package/dist/check.js.map +1 -0
  15. package/dist/chrome.d.ts +20 -0
  16. package/dist/chrome.js +162 -0
  17. package/dist/chrome.js.map +1 -0
  18. package/dist/cli.d.ts +2 -0
  19. package/dist/cli.js +246 -0
  20. package/dist/cli.js.map +1 -0
  21. package/dist/dev.d.ts +28 -0
  22. package/dist/dev.js +557 -0
  23. package/dist/dev.js.map +1 -0
  24. package/dist/diagrams.d.ts +18 -0
  25. package/dist/diagrams.js +57 -0
  26. package/dist/diagrams.js.map +1 -0
  27. package/dist/highlight.d.ts +7 -0
  28. package/dist/highlight.js +26 -0
  29. package/dist/highlight.js.map +1 -0
  30. package/dist/hot.d.ts +31 -0
  31. package/dist/hot.js +34 -0
  32. package/dist/hot.js.map +1 -0
  33. package/dist/media.d.ts +24 -0
  34. package/dist/media.js +82 -0
  35. package/dist/media.js.map +1 -0
  36. package/dist/parse.d.ts +109 -0
  37. package/dist/parse.js +313 -0
  38. package/dist/parse.js.map +1 -0
  39. package/dist/patch.d.ts +22 -0
  40. package/dist/patch.js +53 -0
  41. package/dist/patch.js.map +1 -0
  42. package/dist/pdf.d.ts +10 -0
  43. package/dist/pdf.js +53 -0
  44. package/dist/pdf.js.map +1 -0
  45. package/dist/render.d.ts +101 -0
  46. package/dist/render.js +513 -0
  47. package/dist/render.js.map +1 -0
  48. package/dist/scaffold.d.ts +27 -0
  49. package/dist/scaffold.js +83 -0
  50. package/dist/scaffold.js.map +1 -0
  51. package/dist/themecheck.d.ts +34 -0
  52. package/dist/themecheck.js +228 -0
  53. package/dist/themecheck.js.map +1 -0
  54. package/docs/adrs/2026-10-03-chrome-over-devtools.md +29 -0
  55. package/docs/adrs/2026-10-03-fixed-canvas.md +25 -0
  56. package/docs/adrs/2026-10-03-four-layouts-plus-attributes.md +25 -0
  57. package/docs/adrs/2026-10-03-hybrid-pdf-over-devtools.md +25 -0
  58. package/docs/adrs/2026-10-03-keyword-lines-and-one-attribute-syntax.md +36 -0
  59. package/docs/adrs/2026-10-03-one-behavior-instead-of-settings.md +30 -0
  60. package/docs/adrs/2026-10-03-overflow-is-reported-not-hidden.md +27 -0
  61. package/docs/adrs/2026-10-03-single-file-html.md +26 -0
  62. package/docs/adrs/2026-10-03-strict-build-forgiving-preview.md +31 -0
  63. package/docs/adrs/2026-10-04-edit-in-place-by-alignment.md +28 -0
  64. package/docs/adrs/2026-10-04-editor-in-the-deck-page.md +31 -0
  65. package/docs/adrs/2026-10-04-edits-are-line-range-patches.md +35 -0
  66. package/docs/adrs/2026-10-04-per-slide-hot-swap.md +33 -0
  67. package/docs/adrs/2026-10-04-theme-colors-derive-in-css.md +32 -0
  68. package/docs/adrs/2026-10-05-host-owns-undo.md +26 -0
  69. package/docs/adrs/2026-10-07-anonymous-access-metrics.md +38 -0
  70. package/docs/adrs/2026-10-14-dev-links-media-by-url.md +25 -0
  71. package/docs/adrs/2026-10-14-media-dir-for-the-publish-limit.md +28 -0
  72. package/docs/adrs/2026-10-14-videos-are-inlined-images.md +28 -0
  73. package/docs/adrs/2026-10-15-public-npm-under-labs-terms.md +37 -0
  74. package/docs/adrs/README.md +34 -0
  75. package/docs/commands.md +104 -0
  76. package/docs/editor.md +114 -0
  77. package/docs/syntax.md +157 -0
  78. package/docs/themes.md +134 -0
  79. package/package.json +68 -4
  80. package/runtime/base.css +354 -0
  81. package/runtime/edit-core.cjs +877 -0
  82. package/runtime/embed.js +5259 -0
  83. package/runtime/hot.js +136 -0
  84. package/runtime/runtime.js +729 -0
  85. package/skills/treasure-deck/SKILL.md +136 -0
  86. package/templates/deck.md +78 -0
  87. package/templates/specimen/specimen.md +104 -0
  88. package/templates/theme/assets/mark.svg +1 -0
  89. package/templates/theme/theme.css +97 -0
  90. package/templates/theme/theme.yaml +7 -0
  91. package/themes/default/theme.css +183 -0
  92. package/themes/default/theme.yaml +6 -0
  93. package/themes/editorial/theme.css +168 -0
  94. package/themes/editorial/theme.yaml +7 -0
  95. package/themes/gold/assets/gem.svg +130 -0
  96. package/themes/gold/theme.css +303 -0
  97. package/themes/gold/theme.yaml +7 -0
  98. package/themes/pastel/theme.css +187 -0
  99. package/themes/pastel/theme.yaml +6 -0
  100. package/themes/treasure-ai/assets/gem-line.svg +7 -0
  101. package/themes/treasure-ai/assets/gem.png +0 -0
  102. package/themes/treasure-ai/assets/gem.svg +25 -0
  103. package/themes/treasure-ai/assets/glass.svg +12 -0
  104. package/themes/treasure-ai/assets/logo-white.png +0 -0
  105. package/themes/treasure-ai/assets/logo.png +0 -0
  106. package/themes/treasure-ai/theme.css +239 -0
  107. package/themes/treasure-ai/theme.yaml +6 -0
  108. package/themes/wvlet/assets/wvlet-icon.svg +27 -0
  109. package/themes/wvlet/theme.css +238 -0
  110. package/themes/wvlet/theme.yaml +6 -0
@@ -0,0 +1,168 @@
1
+ /*
2
+ * editorial — an unbranded, newspaper-inspired theme: crisp cool paper, black ink, Playfair Display headings over a
3
+ * Source Sans body, and one oxblood accent with navy as its partner. Rules instead of boxes: a double rule under headers,
4
+ * booktabs tables, pull quotes. Section slides invert to black.
5
+ */
6
+ .deck[data-theme="editorial"] {
7
+ --deck-font-display: 'Playfair Display', 'Hiragino Mincho ProN', 'Noto Serif JP', Georgia, serif;
8
+ --deck-font-body: 'Source Sans 3', 'Hiragino Sans', 'Noto Sans JP', system-ui, sans-serif;
9
+ --deck-font-mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
10
+ --deck-radius: 3px;
11
+ --deck-scale-body: 23px; --deck-scale-h1: 38px; --deck-scale-title: 66px; --deck-scale-section: 60px;
12
+ }
13
+ .deck[data-theme="editorial"] .slide {
14
+ --deck-bg: #f7f7f4; --deck-fg: #1c1c1c; --deck-accent: #8a2b36; --deck-accent-2: #1f3a5f;
15
+ --deck-strong: #000000; --deck-fg-muted: #565656; --deck-line: #d6d6d1; --deck-card: #ffffff; --deck-col-rule: #c6c6c0;
16
+ --deck-hl: rgba(255, 214, 0, .5);
17
+ --ink: #000000;
18
+ --deck-series-1: #8a2b36; --deck-series-2: #1f3a5f; --deck-series-3: #6b6b6b; --deck-series-4: #d4a017; --deck-series-5: #2a7f7a; --deck-series-6: #7a3e9d;
19
+ --dot: rgba(0, 0, 0, .17); --ht-at: 100% 100%; --ht-size: 46% 70%;
20
+ background: var(--deck-bg);
21
+ }
22
+ /* Halftone: newsprint dots fading in from a corner. The corner moves from slide to slide, so a deck reads as pages. */
23
+ .deck[data-theme="editorial"] .slide:not(.has-bg)::before {
24
+ content: ''; position: absolute; inset: 0; pointer-events: none;
25
+ background: radial-gradient(circle, var(--dot) 1.5px, transparent 1.9px) 0 0 / 9px 9px;
26
+ -webkit-mask-image: radial-gradient(var(--ht-size) at var(--ht-at), #000, transparent 72%); mask-image: radial-gradient(var(--ht-size) at var(--ht-at), #000, transparent 72%);
27
+ }
28
+ .deck[data-theme="editorial"] .slide:nth-child(3n + 2) { --ht-at: 100% 0%; --ht-size: 40% 60%; }
29
+ .deck[data-theme="editorial"] .slide:nth-child(3n + 3) { --ht-at: 0% 100%; --ht-size: 38% 55%; }
30
+ .deck[data-theme="editorial"][data-mode="dark"] .slide:not([data-mode="light"]),
31
+ .deck[data-theme="editorial"] .slide[data-mode="dark"] {
32
+ --deck-bg: #121212; --deck-fg: #e9e9e6; --deck-accent: #d98a92; --deck-accent-2: #8fb3e0;
33
+ --deck-strong: #ffffff; --deck-fg-muted: #a3a3a0; --deck-line: #2f2f2f; --deck-card: #1a1a1a; --deck-col-rule: #3a3a3a;
34
+ --deck-hl: rgba(255, 214, 0, .3); --ink: #ffffff; --dot: rgba(255, 255, 255, .11);
35
+ --deck-series-1: #d98a92; --deck-series-2: #8fb3e0; --deck-series-3: #b5b5b5; --deck-series-4: #f0c44c; --deck-series-5: #6cc7c0; --deck-series-6: #c6a2e0;
36
+ }
37
+
38
+ .deck[data-theme="editorial"] .deck-progress { background: var(--deck-accent); height: 2px; }
39
+
40
+ /* Headings: Playfair Display, with *accent* words in its italic and the accent color. */
41
+ .deck[data-theme="editorial"] .slide :is(h1, h2) { color: var(--deck-strong); font-weight: 700; letter-spacing: -.005em; }
42
+ .deck[data-theme="editorial"] .slide :is(h1, h2) em { font-style: italic; font-weight: 600; color: var(--deck-accent); }
43
+ .deck[data-theme="editorial"] .slide h3 { font-family: var(--deck-font-display); font-weight: 700; font-size: 24px; color: var(--deck-strong); }
44
+ .deck[data-theme="editorial"] .slide strong { color: var(--deck-strong); font-weight: 650; }
45
+ .deck[data-theme="editorial"] .slide em { font-style: italic; }
46
+ .deck[data-theme="editorial"] .slide a { color: var(--deck-accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
47
+
48
+ /* Header: a small-caps kicker, the title, then a double rule (heavy over hairline), as in a magazine. */
49
+ .deck[data-theme="editorial"] .slide-header { padding-bottom: 14px; margin-bottom: 24px; }
50
+ .deck[data-theme="editorial"] .slide-header::after {
51
+ content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
52
+ border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); opacity: .85;
53
+ }
54
+ .deck[data-theme="editorial"] .eyebrow { gap: 12px; font: 600 13px var(--deck-font-body); letter-spacing: .14em; color: var(--deck-fg-muted); }
55
+ .deck[data-theme="editorial"] .eyebrow-num { font: italic 600 15px var(--deck-font-display); letter-spacing: 0; color: var(--deck-accent); }
56
+
57
+ /* Lists: em dashes at the top level, small dots below. */
58
+ .deck[data-theme="editorial"] .slide-body ul { list-style: none; padding-left: 1.3em; }
59
+ .deck[data-theme="editorial"] .slide-body ul > li { position: relative; }
60
+ .deck[data-theme="editorial"] .slide-body ul > li::before { content: '—'; position: absolute; left: -1.3em; color: var(--deck-accent); }
61
+ .deck[data-theme="editorial"] .slide-body li > ul > li::before { content: '·'; left: -.8em; font-weight: 700; color: var(--deck-fg-muted); }
62
+ .deck[data-theme="editorial"] .slide-body ol > li::marker { font: italic 600 1em var(--deck-font-display); color: var(--deck-accent); }
63
+
64
+ /* Code: a white sheet with a hairline and an oxblood edge; on dark slides, a deeper sheet. */
65
+ .deck[data-theme="editorial"] .slide code { font-size: .86em; background: rgba(0, 0, 0, .07); border-radius: 3px; padding: .05em .3em; }
66
+ .deck[data-theme="editorial"] .slide pre.code {
67
+ background: #ffffff; color: #1c1c1c; border-radius: var(--deck-radius); border: 1px solid var(--deck-line); border-left: 3px solid var(--deck-accent);
68
+ --code-comment: #6b6b6b; --code-keyword: #8a2b36; --code-string: #1e6b3a; --code-number: #1f4fa0; --code-title: #1f3a5f;
69
+ --code-type: #7a3e9d; --code-variable: #8a4b00; --code-operator: #4a4a4a; --code-meta: #6b6b6b;
70
+ }
71
+ .deck[data-theme="editorial"][data-mode="dark"] .slide:not([data-mode="light"]) pre.code,
72
+ .deck[data-theme="editorial"] .slide[data-mode="dark"] pre.code {
73
+ background: #1b1b1b; color: #e9e9e6;
74
+ --code-comment: #8e8e8a; --code-keyword: #e4979e; --code-string: #9fd4a8; --code-number: #9fc0f0; --code-title: #a9c6ea;
75
+ --code-type: #d0b0ec; --code-variable: #f0c070; --code-operator: #bdbdb8; --code-meta: #8e8e8a;
76
+ }
77
+ .deck[data-theme="editorial"] .slide pre.code code { background: none; padding: 0; font-size: 1em; }
78
+ .deck[data-theme="editorial"] .slide pre.code .line.line-hl { background: color-mix(in oklab, var(--deck-accent) 12%, transparent); }
79
+
80
+ /* Pull quotes: Playfair italic behind a large accent quotation mark. */
81
+ .deck[data-theme="editorial"] .slide blockquote {
82
+ position: relative; margin: .2em 0 .6em; padding: 0 0 0 1.6em;
83
+ font: italic 400 1.2em/1.35 var(--deck-font-display); color: var(--deck-strong);
84
+ }
85
+ .deck[data-theme="editorial"] .slide blockquote::before {
86
+ content: '“'; position: absolute; left: -.05em; top: -.18em; font: 700 2.4em/1 var(--deck-font-display); color: var(--deck-accent);
87
+ }
88
+
89
+ /* Tables: booktabs — heavy top and bottom rules, a hairline under the header, no fills. */
90
+ .deck[data-theme="editorial"] .slide table { border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
91
+ .deck[data-theme="editorial"] .slide th {
92
+ font-size: .72em; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--deck-strong); border-bottom: 1px solid var(--ink);
93
+ }
94
+ .deck[data-theme="editorial"] .slide td { border-bottom: 1px solid var(--deck-line); font-variant-numeric: oldstyle-nums tabular-nums; }
95
+ .deck[data-theme="editorial"] .slide tr:last-child td { border-bottom: 0; }
96
+
97
+ /* Images: a thin frame and a soft drop, like a print plate. */
98
+ .deck[data-theme="editorial"] .slide :is(img, video).img-shadow { box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .4); }
99
+ .deck[data-theme="editorial"] .slide :is(img, video).img-round { border-radius: 6px; }
100
+ .deck[data-theme="editorial"] .slide :is(img, video).img-border { border: 1px solid var(--ink); padding: 6px; background: var(--deck-card); }
101
+ .deck[data-theme="editorial"] .slide .img-caption { font: italic 15px var(--deck-font-display); }
102
+
103
+ /* Semantic classes. */
104
+ .deck[data-theme="editorial"] .slide .muted { color: var(--deck-fg-muted); }
105
+ .deck[data-theme="editorial"] .slide .lead { font: 400 1.3em/1.35 var(--deck-font-display); color: var(--deck-strong); }
106
+ .deck[data-theme="editorial"] .slide .subtitle { font: italic 400 1.45em/1.3 var(--deck-font-display); color: var(--deck-fg-muted); margin-top: .1em; }
107
+ .deck[data-theme="editorial"] .slide .meta { font-size: .72em; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--deck-fg-muted); }
108
+ .deck[data-theme="editorial"] .slide .hl { background: linear-gradient(transparent 55%, var(--deck-hl) 55%, var(--deck-hl) 92%, transparent 92%); }
109
+ .deck[data-theme="editorial"] .slide .badge {
110
+ display: inline-block; vertical-align: middle; padding: .1em .55em; border: 1px solid currentColor; border-radius: 2px;
111
+ font-size: .58em; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--deck-accent);
112
+ }
113
+ .deck[data-theme="editorial"] .slide :is(.callout, .note, .warn) { padding: .55em 0 .55em 1em; border-left: 2px solid var(--deck-accent); }
114
+ .deck[data-theme="editorial"] .slide .callout { background: linear-gradient(90deg, color-mix(in oklab, var(--deck-accent) 9%, transparent), transparent); }
115
+ .deck[data-theme="editorial"] .slide .note { border-left-color: var(--deck-fg-muted); font-style: italic; }
116
+ .deck[data-theme="editorial"] .slide .warn { border-left-color: var(--deck-warn); background: linear-gradient(90deg, color-mix(in oklab, var(--deck-warn) 10%, transparent), transparent); }
117
+
118
+ /* Columns: a column that opens with ### sits under a heavy rule, like a magazine column. */
119
+ .deck[data-theme="editorial"] .layout-columns .col:has(> h3:first-child) { padding-top: 12px; border-top: 2px solid var(--ink); }
120
+
121
+ /* Title: large Playfair on paper, between a heavy rule and a hairline; an oxblood edge at left and a wide halftone at right. */
122
+ .deck[data-theme="editorial"] .layout-title:not(.has-bg) {
123
+ --ht-at: 100% 50%; --ht-size: 55% 95%; --dot: rgba(0, 0, 0, .17);
124
+ background: linear-gradient(90deg, var(--deck-accent) 0 16px, transparent 16px), var(--deck-bg);
125
+ }
126
+ .deck[data-theme="editorial"][data-mode="dark"] .layout-title:not([data-mode="light"]):not(.has-bg),
127
+ .deck[data-theme="editorial"] .layout-title[data-mode="dark"]:not(.has-bg) { --dot: rgba(255, 255, 255, .12); }
128
+ .deck[data-theme="editorial"] .layout-title .slide-body { padding: 40px 120px 70px 104px; }
129
+ .deck[data-theme="editorial"] .layout-title h1 {
130
+ font-weight: 800; letter-spacing: -.015em; line-height: 1.04; margin-bottom: .3em;
131
+ }
132
+ .deck[data-theme="editorial"] .layout-title h1::before {
133
+ content: ''; display: block; width: 100%; max-width: 720px; height: 5px; margin-bottom: 36px;
134
+ border-top: 3px solid var(--ink); border-bottom: 1px solid var(--ink);
135
+ }
136
+ .deck[data-theme="editorial"] .layout-title .subtitle { margin-bottom: 1em; }
137
+
138
+ /* Section: the page inverts to black (to paper on a dark deck), with a large oxblood italic numeral. */
139
+ .deck[data-theme="editorial"] .layout-section:not(.has-bg) {
140
+ --deck-bg: #0e0e0e; --deck-fg: #ededea; --deck-strong: #ffffff; --deck-fg-muted: #a8a8a4; --deck-accent: #d98a92; --ink: #ffffff; --deck-line: #333;
141
+ --dot: rgba(217, 138, 146, .42); --ht-at: 100% 100%; --ht-size: 62% 90%;
142
+ background: var(--deck-bg);
143
+ }
144
+ .deck[data-theme="editorial"][data-mode="dark"] .layout-section:not([data-mode="light"]):not(.has-bg),
145
+ .deck[data-theme="editorial"] .layout-section[data-mode="dark"]:not(.has-bg) {
146
+ --deck-bg: #f7f7f4; --deck-fg: #1c1c1c; --deck-strong: #000000; --deck-fg-muted: #5e5e5e; --deck-accent: #8a2b36; --ink: #000000; --deck-line: #d6d6d1;
147
+ --dot: rgba(138, 43, 54, .3);
148
+ }
149
+ .deck[data-theme="editorial"] .layout-section .slide-body { padding-left: 104px; padding-right: 104px; }
150
+ .deck[data-theme="editorial"] .layout-section .section-num {
151
+ font: italic 700 160px/1 var(--deck-font-display); letter-spacing: -.02em; color: var(--deck-accent);
152
+ padding-bottom: 18px; margin-bottom: 26px; border-bottom: 3px solid var(--ink); align-self: flex-start;
153
+ }
154
+ .deck[data-theme="editorial"] .layout-section :is(h1, h2) { font-weight: 800; letter-spacing: -.01em; }
155
+
156
+ /* Footer: small caps, no brand mark, oldstyle page numbers. */
157
+ .deck[data-theme="editorial"] .slide-footer { color: var(--deck-fg-muted); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
158
+ .deck[data-theme="editorial"] .page-number { font: italic 500 14px var(--deck-font-display); letter-spacing: 0; text-transform: none; }
159
+
160
+ /* Diagrams: oxblood, navy, and black roles. */
161
+ .deck[data-theme="editorial"] .slide {
162
+ --deck-diagram-fill: #8a2b36; --deck-diagram-fill-2: #651e27; --deck-diagram-node-text: #fff;
163
+ --deck-diagram-accent-fill: #1f3a5f; --deck-diagram-accent-fill-2: #142840; --deck-diagram-accent-text: #fff;
164
+ --deck-diagram-dark-fill: #2a2a2a; --deck-diagram-dark-fill-2: #000000; --deck-diagram-dark-text: #fff;
165
+ --deck-diagram-shadow: rgba(0, 0, 0, .22);
166
+ }
167
+ .deck[data-theme="editorial"][data-mode="dark"] .slide:not([data-mode="light"]),
168
+ .deck[data-theme="editorial"] .slide[data-mode="dark"] { --deck-diagram-dark-fill: #4a4a4a; --deck-diagram-dark-fill-2: #2c2c2c; --deck-diagram-shadow: rgba(0, 0, 0, .5); }
@@ -0,0 +1,7 @@
1
+ name: editorial
2
+ description: Editorial — crisp newsprint, Playfair Display headings over a sans body, black ink and one muted oxblood accent, magazine rules
3
+ default_mode: light
4
+ fonts:
5
+ - "Playfair Display:ital,wght@0,400..900;1,400..900"
6
+ - "Source Sans 3:ital,wght@0,400..700;1,400..700"
7
+ - "IBM Plex Mono:wght@400;500"
@@ -0,0 +1,130 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 1024 1024" width="1024" height="1024">
2
+ <defs>
3
+ <linearGradient id="fL" x1="0" y1="0" x2="0.4" y2="1"><stop offset="0" stop-color="#96522E"/><stop offset="0.5" stop-color="#6E3A24"/><stop offset="1" stop-color="#42220F"/></linearGradient>
4
+ <linearGradient id="fLi" x1="0" y1="0" x2="0.6" y2="1"><stop offset="0" stop-color="#92582E"/><stop offset="0.55" stop-color="#B07040"/><stop offset="1" stop-color="#704024"/></linearGradient>
5
+ <linearGradient id="fTop" x1="0" y1="0" x2="1" y2="0.15"><stop offset="0" stop-color="#8E5226"/><stop offset="0.3" stop-color="#CC8040"/><stop offset="0.6" stop-color="#F6A85E"/><stop offset="0.85" stop-color="#FFC08A"/><stop offset="1" stop-color="#FFCFA0"/></linearGradient>
6
+ <linearGradient id="fRi" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#FFD898"/><stop offset="0.5" stop-color="#FFBC74"/><stop offset="1" stop-color="#F29A54"/></linearGradient>
7
+ <linearGradient id="fBand" x1="0" y1="0" x2="1" y2="0"><stop offset="0" stop-color="#C27E36"/><stop offset="0.45" stop-color="#FFC47A"/><stop offset="1" stop-color="#FFD08C"/></linearGradient>
8
+ <linearGradient id="fR" x1="0" y1="0" x2="0.5" y2="1"><stop offset="0" stop-color="#FFECC0"/><stop offset="0.4" stop-color="#FFC684"/><stop offset="0.75" stop-color="#FFA362"/><stop offset="1" stop-color="#E88444"/></linearGradient>
9
+ <linearGradient id="pL" x1="0" y1="0" x2="0.3" y2="1"><stop offset="0" stop-color="#74402A"/><stop offset="0.6" stop-color="#502A18"/><stop offset="1" stop-color="#32180E"/></linearGradient>
10
+ <linearGradient id="pLi" x1="0" y1="0" x2="0.3" y2="1"><stop offset="0" stop-color="#C48044"/><stop offset="0.5" stop-color="#9A5E30"/><stop offset="1" stop-color="#5C341C"/></linearGradient>
11
+ <linearGradient id="pC" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#FFDCA0"/><stop offset="0.3" stop-color="#F4B36A"/><stop offset="0.65" stop-color="#D0884C"/><stop offset="1" stop-color="#98542E"/></linearGradient>
12
+ <linearGradient id="pRi" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#FFC67E"/><stop offset="0.45" stop-color="#EE9654"/><stop offset="1" stop-color="#A45A30"/></linearGradient>
13
+ <linearGradient id="pR" x1="0" y1="0" x2="-0.3" y2="1"><stop offset="0" stop-color="#FFB47C"/><stop offset="0.45" stop-color="#EC8E5E"/><stop offset="1" stop-color="#A2583A"/></linearGradient>
14
+ <linearGradient id="girdleLight" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#FFE0A8" stop-opacity="0.3"/><stop offset="0.35" stop-color="#FFE0A8" stop-opacity="0.08"/><stop offset="1" stop-color="#FFE0A8" stop-opacity="0"/></linearGradient>
15
+ <linearGradient id="innerL" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#FFE9B0" stop-opacity="0.12"/><stop offset="1" stop-color="#FFE9B0" stop-opacity="0.02"/></linearGradient>
16
+ <linearGradient id="innerR" x1="1" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#FFF8E0" stop-opacity="0.4"/><stop offset="1" stop-color="#FFF8E0" stop-opacity="0.05"/></linearGradient>
17
+ <linearGradient id="lighting" x1="0" y1="0" x2="1" y2="0"><stop offset="0" stop-color="#2A1408" stop-opacity="0.24"/><stop offset="0.42" stop-color="#2A1408" stop-opacity="0"/><stop offset="0.58" stop-color="#FFDDB8" stop-opacity="0"/><stop offset="1" stop-color="#FFDDB8" stop-opacity="0.16"/></linearGradient>
18
+ <linearGradient id="ringA" gradientUnits="userSpaceOnUse" x1="95.0" y1="680.7" x2="587.5" y2="605.7">
19
+ <stop offset="0" stop-color="#96502A"/><stop offset="0.4" stop-color="#CC7E44"/><stop offset="0.75" stop-color="#F2BE74"/><stop offset="1" stop-color="#FFEDC4"/>
20
+ </linearGradient>
21
+ <linearGradient id="ringB" gradientUnits="userSpaceOnUse" x1="166.6" y1="762.8" x2="810.6" y2="566.3">
22
+ <stop offset="0" stop-color="#BE7444"/><stop offset="0.4" stop-color="#E0A264"/><stop offset="0.75" stop-color="#F8CE88"/><stop offset="1" stop-color="#FFF5DC"/>
23
+ </linearGradient>
24
+ <radialGradient id="coreGlow" cx="0.5" cy="0.35" r="0.5"><stop offset="0" stop-color="#FFE6B0" stop-opacity="0.45"/><stop offset="1" stop-color="#FFF4C8" stop-opacity="0"/></radialGradient>
25
+ <clipPath id="pavilion"><polygon points="45,405 975,405 510,950"/></clipPath>
26
+ <filter id="glow" x="-150%" y="-150%" width="400%" height="400%"><feGaussianBlur stdDeviation="7"/></filter>
27
+ <filter id="lineGlow" x="-20%" y="-20%" width="140%" height="140%"><feGaussianBlur stdDeviation="4"/></filter>
28
+ <g id="circuit-paths">
29
+ <path d="M120,392 L200,392 L240,352 L300,352 L330,322"/>
30
+ <path d="M240,352 L240,300 L275,265"/>
31
+ <path d="M262,248 L300,248 L340,288 L420,288 L450,258 L545,258"/>
32
+ <path d="M420,288 L420,330 L470,380"/>
33
+ <path d="M352,300 L380,328 L440,328 L470,358"/>
34
+ <path d="M300,262 L332,294"/>
35
+ <path d="M560,224 L620,224 L660,264 L720,264"/>
36
+ <path d="M620,224 L620,200"/>
37
+ <path d="M640,322 L690,322 L730,362 L800,362"/>
38
+ <path d="M820,262 L860,302 L860,340"/>
39
+ <path d="M190,470 L250,470 L290,510 L290,600 L330,640"/>
40
+ <path d="M290,510 L350,510 L380,540"/>
41
+ <path d="M240,620 L300,680 L380,680 L410,710"/>
42
+ <path d="M700,440 L760,440 L790,470 L790,540"/>
43
+ <path d="M790,470 L840,470"/>
44
+ <path d="M640,600 L700,600 L730,630 L730,690"/>
45
+ <path d="M440,620 L440,700 L470,730"/>
46
+ <path d="M330,565 L330,600"/>
47
+ </g>
48
+ </defs>
49
+
50
+ <g transform="translate(0 0)">
51
+ <g id="ring-back" fill="none" stroke-linecap="round" opacity="0.8">
52
+ <path d="M 730.1 204.1 A 470 165 -28 0 0 95.0 680.7" stroke="#96502A" stroke-width="26"/>
53
+ <path d="M 726.2 209.5 A 461 161 -28 0 0 103.0 676.4" stroke="#5A2C12" stroke-opacity="0.35" stroke-width="3"/>
54
+ <path d="M 750.2 324.6 A 432 152 -28 0 0 166.6 762.8" stroke="#BE7444" stroke-width="30"/>
55
+ <path d="M 746.3 330.0 A 423 148 -28 0 0 174.5 758.6" stroke="#5A2C12" stroke-opacity="0.35" stroke-width="3"/>
56
+ </g>
57
+
58
+ <g id="facets">
59
+ <polygon points="45,405 225,185 305,405" fill="url(#fL)"/>
60
+ <polygon points="225,185 505,248 305,405" fill="url(#fLi)"/>
61
+ <polygon points="225,185 780,185 505,248" fill="url(#fTop)"/>
62
+ <polygon points="505,248 780,185 715,405" fill="url(#fRi)"/>
63
+ <polygon points="505,248 715,405 305,405" fill="url(#fBand)"/>
64
+ <polygon points="780,185 975,405 715,405" fill="url(#fR)"/>
65
+ <polygon points="45,405 305,405 510,950" fill="url(#pL)"/>
66
+ <polygon points="305,405 395,405 510,950" fill="url(#pLi)"/>
67
+ <polygon points="395,405 640,405 510,950" fill="url(#pC)"/>
68
+ <polygon points="640,405 715,405 510,950" fill="url(#pRi)"/>
69
+ <polygon points="715,405 975,405 510,950" fill="url(#pR)"/>
70
+ </g>
71
+
72
+ <polygon points="225,185 780,185 975,405 510,950 45,405" fill="url(#lighting)"/>
73
+
74
+ <g id="glass" clip-path="url(#pavilion)">
75
+ <polygon points="395,405 640,405 510,950" fill="url(#coreGlow)"/>
76
+ <rect x="0" y="405" width="1024" height="260" fill="url(#girdleLight)"/>
77
+ <polygon points="120,440 305,405 430,720 300,560" fill="url(#innerL)"/>
78
+ <polygon points="900,440 715,405 600,720 720,560" fill="url(#innerR)"/>
79
+ <polygon points="395,405 515,760 640,405" fill="#FFE8B8" fill-opacity="0.16"/>
80
+ <polygon points="460,500 560,560 515,760" fill="#FFFFFF" fill-opacity="0.12"/>
81
+ </g>
82
+
83
+ <g id="refraction" fill="none" stroke="#FFF6D8" stroke-opacity="0.5" stroke-width="1.6">
84
+ <polyline points="395,405 560,560 640,405"/>
85
+ <polyline points="395,405 460,500 515,760 510,950"/>
86
+ <polyline points="640,405 600,470 560,560 515,760"/>
87
+ <polyline points="460,500 560,560 600,470"/>
88
+ <polyline points="460,500 600,470"/>
89
+ <polyline points="305,405 430,720"/>
90
+ <polyline points="120,440 300,560 430,720"/>
91
+ <polyline points="715,405 600,720"/>
92
+ <polyline points="900,440 720,560 600,720"/>
93
+ <polyline points="225,185 420,300 505,248"/>
94
+ <polyline points="505,248 640,330 780,185"/>
95
+ <polyline points="45,405 300,320 225,185"/>
96
+ <polyline points="780,185 860,330 975,405"/>
97
+ </g>
98
+
99
+ <g id="edges" fill="none" stroke-linejoin="round">
100
+ <g stroke="#FFF0C0" stroke-opacity="0.75" stroke-width="2">
101
+ <polyline points="225,185 305,405 505,248 715,405 780,185"/>
102
+ <polyline points="225,185 505,248 780,185"/>
103
+ <polyline points="305,405 510,950 395,405"/>
104
+ <polyline points="640,405 510,950 715,405"/>
105
+ <polyline points="45,405 975,405"/>
106
+ </g>
107
+ </g>
108
+
109
+ <g id="circuit-glow" fill="none" stroke="#FFB45E" stroke-opacity="0.55" stroke-width="7" stroke-linecap="round" stroke-linejoin="round" filter="url(#lineGlow)">
110
+ <use xlink:href="#circuit-paths"/>
111
+ </g>
112
+ <g id="traces" fill="none" stroke="#FFE2A8" stroke-opacity="0.95" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round">
113
+ <use xlink:href="#circuit-paths"/>
114
+ <circle cx="330" cy="322" r="8"/><circle cx="545" cy="258" r="7"/><circle cx="470" cy="358" r="8"/><circle cx="720" cy="264" r="7"/><circle cx="800" cy="362" r="7"/><circle cx="330" cy="640" r="8"/><circle cx="790" cy="540" r="7"/><circle cx="730" cy="690" r="7"/>
115
+ <rect x="236.5" y="348.5" width="7" height="7" transform="rotate(45 240 352)"/><rect x="286.5" y="506.5" width="7" height="7" transform="rotate(45 290 510)"/><rect x="757" y="437" width="6" height="6" transform="rotate(45 760 440)"/>
116
+ </g>
117
+ <g id="node-glow" fill="#FFD27A" filter="url(#glow)"><circle cx="275" cy="265" r="11.4"/><circle cx="470" cy="380" r="11.4"/><circle cx="620" cy="200" r="9.5"/><circle cx="860" cy="340" r="9.5"/><circle cx="380" cy="540" r="11.4"/><circle cx="410" cy="710" r="11.4"/><circle cx="840" cy="470" r="11.4"/><circle cx="470" cy="730" r="11.4"/><circle cx="352" cy="300" r="11.4"/><circle cx="190" cy="470" r="9.5"/><circle cx="640" cy="600" r="9.5"/><circle cx="262" cy="248" r="9.5"/></g>
118
+ <g id="nodes" fill="#FFFDF4"><circle cx="275" cy="265" r="6"/><circle cx="470" cy="380" r="6"/><circle cx="620" cy="200" r="5"/><circle cx="860" cy="340" r="5"/><circle cx="380" cy="540" r="6"/><circle cx="410" cy="710" r="6"/><circle cx="840" cy="470" r="6"/><circle cx="470" cy="730" r="6"/><circle cx="352" cy="300" r="6"/><circle cx="190" cy="470" r="5"/><circle cx="640" cy="600" r="5"/><circle cx="262" cy="248" r="5"/><circle cx="330" cy="322" r="2.4"/><circle cx="545" cy="258" r="2.4"/><circle cx="470" cy="358" r="2.4"/><circle cx="720" cy="264" r="2.4"/><circle cx="800" cy="362" r="2.4"/><circle cx="330" cy="640" r="2.4"/><circle cx="790" cy="540" r="2.4"/><circle cx="730" cy="690" r="2.4"/></g>
119
+
120
+ <g id="orbit-front" opacity="0.8">
121
+ <path d="M 95.0 680.7 A 470 165 -28 0 0 587.5 605.7" fill="none" stroke="url(#ringA)" stroke-width="26" stroke-linecap="butt"/>
122
+ <path d="M 103.0 676.4 A 461 161 -28 0 0 585.6 602.2" fill="none" stroke="#5A2C12" stroke-opacity="0.35" stroke-width="3"/>
123
+ <polygon points="633.4,581.3 592.5,642.8 589.2,604.7 559.5,580.8" fill="#FFEDC4"/>
124
+ <path d="M 166.6 762.8 A 432 152 -28 0 0 810.6 566.3" fill="none" stroke="url(#ringB)" stroke-width="30" stroke-linecap="butt"/>
125
+ <path d="M 174.5 758.6 A 423 148 -28 0 0 804.8 565.6" fill="none" stroke="#5A2C12" stroke-opacity="0.35" stroke-width="3"/>
126
+ <polygon points="856.3,527.5 825.5,606.9 812.2,565.0 773.0,545.2" fill="#FFF5DC"/>
127
+ </g>
128
+
129
+ </g>
130
+ </svg>