Skip to content

The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.

feat(neuron): new drawings for steps 1 and 3 of the introduction

purple34990ba54e21
diff --git a/src/components/neuron/NeuronIntro.tsx b/src/components/neuron/NeuronIntro.tsx
index 7da9b2d5..cf77372e 100644
--- a/src/components/neuron/NeuronIntro.tsx
+++ b/src/components/neuron/NeuronIntro.tsx
@@ -7,10 +7,9 @@
import { useEffect, useState } from 'react'
import { AnimatePresence, motion, useReducedMotion } from 'framer-motion'
-import { ArrowLeft, ArrowRight, FlaskConical, Hash, Sliders, Sparkles } from 'lucide-react'
+import { ArrowLeft, ArrowRight } from 'lucide-react'
import { Modal } from '../ui/Modal'
import { MOTION_S } from '../ui/motion'
-import { HINWEIS_TEXT } from '../../lib/hinweis'
import { ICON_SM } from '../ui/icon-size'
import { useNeuronStore } from '../../stores/neuronStore'
import { useNeuronIntroRequest } from '../../stores/neuronIntroStore'
@@ -22,26 +21,55 @@ interface Card {
art: () => React.ReactElement
}
-/** Layers with words flowing up, and a push added in the middle. */
+// Step 1 (3.1.0): the words run as fine lines through the layers. One layer
+// carries a thumb, like a slider. When it moves, the lines behind it take a
+// new course and the old course stays as a ghost. All of it is CSS on plain
+// SVG (index.css, "new drawings"), so reduced motion holds the pushed state.
+const PUSH_X = 240
+const WIRE_X0 = 92
+const WIRE_X1 = 388
+const WIRES = [0, 1, 2, 3, 4, 5, 6, 7, 8]
+const wireY = (j: number) => 56 + j * 7
+const bentY = (j: number) => 44 + j * 4.5
+const straightWire = (j: number) => `M${WIRE_X0} ${wireY(j)} H${WIRE_X1}`
+const bentTail = (j: number) => `C${PUSH_X + 30} ${wireY(j)} ${PUSH_X + 38} ${bentY(j)} ${PUSH_X + 70} ${bentY(j)} H${WIRE_X1}`
+const pulseDelay = (j: number) => `${-((j * 1.37) % 3.2).toFixed(2)}s`
+
+/** Words as lines through the layers; a push on one layer bends them. */
function ArtLayers() {
- const layers = [0, 1, 2, 3, 4, 5]
return (
- <svg viewBox="0 0 320 168" className="w-full h-full" aria-hidden>
- {layers.map((i) => (
- <rect key={i} x="70" y={142 - i * 24} width="130" height="14" rx="5" className={i === 2 || i === 3 ? 'nintro-layer nintro-layer--hit' : 'nintro-layer'} style={{ animationDelay: `${i * 0.25}s` }} />
- ))}
- {[0, 1, 2].map((i) => (
- <circle key={i} cx={105 + i * 30} cy="160" r="4" className="nintro-token" style={{ animationDelay: `${i * 0.7}s` }} />
+ <svg viewBox="0 0 480 168" className="w-full h-full" aria-hidden>
+ <defs>
+ <clipPath id="nintro-up"><rect x="0" y="0" width={PUSH_X} height="168" /></clipPath>
+ <clipPath id="nintro-down"><rect x={PUSH_X} y="0" width={480 - PUSH_X} height="168" /></clipPath>
+ </defs>
+ {[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10].map((i) => (
+ <line key={i} x1={110 + i * 26} y1="30" x2={110 + i * 26} y2="138" className={i === 5 ? 'nintro-plane nintro-plane--hit' : 'nintro-plane'} />
))}
- <g className="nintro-push">
- <path d="M290 88 C 255 88, 240 98, 210 100" fill="none" strokeWidth="2.5" strokeLinecap="round" className="nintro-accent-stroke" />
- <path d="M216 94 L206 100 L216 106" fill="none" strokeWidth="2.5" strokeLinecap="round" strokeLinejoin="round" className="nintro-accent-stroke" />
- <rect x="248" y="58" width="58" height="20" rx="10" className="nintro-accent-fill-soft" />
- <text x="277" y="72" textAnchor="middle" className="nintro-label nintro-accent-text">push</text>
+ {WIRES.map((j) => <path key={j} d={`M${WIRE_X0} ${wireY(j)} H${PUSH_X}`} className="nintro-wire" />)}
+ <g clipPath="url(#nintro-up)">
+ {WIRES.map((j) => <path key={j} d={straightWire(j)} pathLength={100} className="nintro-pulse" style={{ animationDelay: pulseDelay(j) }} />)}
+ </g>
+ <g className="nintro-ghost">
+ {WIRES.map((j) => <path key={j} d={`M${PUSH_X} ${wireY(j)} H${WIRE_X1}`} className="nintro-wire" />)}
+ <g clipPath="url(#nintro-down)">
+ {WIRES.map((j) => <path key={j} d={straightWire(j)} pathLength={100} className="nintro-pulse" style={{ animationDelay: pulseDelay(j) }} />)}
+ </g>
+ </g>
+ <g className="nintro-bentgroup">
+ {WIRES.map((j) => (
+ <path key={j} d={`M${PUSH_X} ${wireY(j)} ${bentTail(j)}`} pathLength={100} className="nintro-wire nintro-wire--bent" style={{ animationDelay: `${(Math.abs(j - 4) * 0.04).toFixed(2)}s` }} />
+ ))}
+ <g clipPath="url(#nintro-down)">
+ {WIRES.map((j) => <path key={j} d={`M${WIRE_X0} ${wireY(j)} H${PUSH_X} ${bentTail(j)}`} pathLength={100} className="nintro-pulse" style={{ animationDelay: pulseDelay(j) }} />)}
+ </g>
</g>
- <text x="135" y="18" textAnchor="middle" className="nintro-label nintro-muted-text">answer</text>
- <text x="40" y="153" textAnchor="middle" className="nintro-label nintro-muted-text">words</text>
- <text x="40" y="105" textAnchor="middle" className="nintro-label nintro-muted-text">layers</text>
+ <g className="nintro-thumb"><rect x={PUSH_X - 8} y="78" width="16" height="12" rx="4" className="nintro-accent-fill" /></g>
+ <text x={WIRE_X0 - 10} y="87.5" textAnchor="end" className="nintro-label nintro-muted-text">your words</text>
+ <text x={WIRE_X1 + 10} y="87.5" className="nintro-label nintro-muted-text nintro-ghost">answer</text>
+ <text x={WIRE_X1 + 10} y="65.5" className="nintro-label nintro-accent-text nintro-when">new tone</text>
+ <text x={PUSH_X} y="21" textAnchor="middle" className="nintro-label nintro-accent-text nintro-when">push</text>
+ <text x={PUSH_X} y="156" textAnchor="middle" className="nintro-label nintro-muted-text">layers</text>
</svg>
)
}
@@ -106,23 +134,80 @@ function ArtShare() {
)
}
-/** The four ways, as tiles that come in one after the other. */
+// Step 3 (3.1.0): four ways lead into one slider. One way at a time lights
+// up, its line runs to the slider, the thumb settles and the slider gets its
+// name. The small marks are drawn for this card, no icon set.
+const WAYS = [
+ { name: 'Ready-made', slider: 'Cheerful' },
+ { name: 'From examples', slider: 'Like a pirate' },
+ { name: 'Features', slider: 'Feature 8949' },
+ { name: 'Coordinates', slider: 'L14N8949 +1.0' },
+]
+const WAY_Y = [30, 66, 102, 138]
+const MARK_X = 56
+const wayPath = (y: number) => `M184 ${y} C250 ${y} 232 84 296 84`
+
+function WayMark({ i, y }: { i: number; y: number }) {
+ if (i === 0) {
+ return (
+ <>
+ {[0, 8, 16].map((dx, k) => (
+ <g key={dx}>
+ <line x1={MARK_X + 2 + dx} y1={y - 8} x2={MARK_X + 2 + dx} y2={y + 8} strokeWidth="1" />
+ <circle cx={MARK_X + 2 + dx} cy={y + [-3, 4, -6][k]} r="2.2" stroke="none" />
+ </g>
+ ))}
+ </>
+ )
+ }
+ if (i === 1) {
+ return (
+ <>
+ <rect x={MARK_X} y={y - 6} width="20" height="2.4" rx="1.2" stroke="none" />
+ <rect x={MARK_X} y={y - 1.2} width="14" height="2.4" rx="1.2" stroke="none" />
+ <rect x={MARK_X} y={y + 3.6} width="18" height="2.4" rx="1.2" stroke="none" />
+ </>
+ )
+ }
+ if (i === 2) {
+ return (
+ <>
+ {[0, 1, 2].flatMap((r) => [0, 1, 2].map((c) => (
+ <circle key={`${r}${c}`} cx={MARK_X + 3 + c * 7} cy={y - 7 + r * 7} r={r === 1 && c === 2 ? 2.8 : 1.3} stroke="none" />
+ )))}
+ </>
+ )
+ }
+ return <text x={MARK_X - 1} y={y + 3.5} className="nintro-code" style={{ fontSize: 9 }} stroke="none">L14</text>
+}
+
+/** The four ways, as lines that run into one slider, one after the other. */
function ArtWays() {
- const ways = [
- { icon: <Sliders size={18} />, name: 'Ready-made', line: 'Five sliders, any model' },
- { icon: <Sparkles size={18} />, name: 'From examples', line: 'Write lines, get a slider' },
- { icon: <FlaskConical size={18} />, name: 'Features', line: 'Search what a model knows' },
- { icon: <Hash size={18} />, name: 'Coordinates', line: 'Paste what others share' },
- ]
return (
- <div className="grid grid-cols-2 gap-2.5 w-full px-2" aria-hidden>
- {ways.map((w, i) => (
- <div key={w.name} className="nintro-tile rounded-xl border border-gray-200 dark:border-white/[0.08] bg-white dark:bg-white/[0.03] px-3 py-2.5" style={{ animationDelay: `${i * 0.18}s` }}>
- <div className="flex items-center gap-2 text-lu-accent">{w.icon}<span className="t-body font-medium text-gray-900 dark:text-white">{w.name}</span></div>
- <p className={`t-micro ${HINWEIS_TEXT.ruhig} mt-1`}>{w.line}</p>
- </div>
+ <svg viewBox="0 0 480 168" className="w-full h-full" aria-hidden>
+ {WAYS.map((w, i) => {
+ const y = WAY_Y[i]
+ const delay = { animationDelay: `${i * 2}s` }
+ return (
+ <g key={w.name}>
+ <path d={wayPath(y)} className="nintro-way-wire" />
+ <path d={wayPath(y)} pathLength={100} className="nintro-way-run" style={delay} />
+ <g className="nintro-way" style={delay}>
+ <g className="nintro-way-mark"><WayMark i={i} y={y} /></g>
+ <text x={MARK_X + 30} y={y + 4} className="nintro-name nintro-text">{w.name}</text>
+ </g>
+ </g>
+ )
+ })}
+ <line x1="298" y1="84" x2="424" y2="84" strokeWidth="4" strokeLinecap="round" className="nintro-track" />
+ <line x1="361" y1="74" x2="361" y2="94" strokeWidth="1.5" className="nintro-track" />
+ <g className="nintro-way-knob"><rect x="353" y="71" width="16" height="26" rx="5" className="nintro-accent-fill" /></g>
+ {WAYS.map((w, i) => (
+ <text key={w.name} x="361" y="52" textAnchor="middle" className={`nintro-name nintro-text nintro-way-name${i === 0 ? ' nintro-way-name--first' : ''}`} style={{ animationDelay: `${i * 2}s` }}>{w.slider}</text>
))}
- </div>
+ <text x="298" y="118" className="nintro-label nintro-muted-text">less</text>
+ <text x="424" y="118" textAnchor="end" className="nintro-label nintro-muted-text">more</text>
+ </svg>
)
}
diff --git a/src/components/neuron/__tests__/neurons-for-beginners.test.tsx b/src/components/neuron/__tests__/neurons-for-beginners.test.tsx
index c2550f31..fefcee49 100644
--- a/src/components/neuron/__tests__/neurons-for-beginners.test.tsx
+++ b/src/components/neuron/__tests__/neurons-for-beginners.test.tsx
@@ -199,7 +199,7 @@ describe('the introduction', () => {
const css = readFileSync(resolve(__dirname, '../../../index.css'), 'utf8')
const block = css.slice(css.indexOf('Neurons introduction (N2'))
const reduced = block.slice(block.indexOf('@media (prefers-reduced-motion: reduce)'))
- for (const cls of ['nintro-token', 'nintro-push', 'nintro-knob', 'nintro-line', 'nintro-type', 'nintro-tile']) {
+ for (const cls of ['nintro-pulse', 'nintro-thumb', 'nintro-way', 'nintro-way-knob', 'nintro-knob', 'nintro-line', 'nintro-type']) {
expect(block).toMatch(new RegExp(`\\.${cls}[^{]*\\{[^}]*animation:`))
expect(reduced).toContain(`.neuron-intro .${cls}`)
}
@@ -208,7 +208,7 @@ describe('the introduction', () => {
// does not move (the code on card 5 was invisible otherwise).
const shown = reduced.slice(reduced.lastIndexOf('.neuron-intro .nintro-type,'))
const rule = shown.slice(0, shown.indexOf('}'))
- for (const cls of ['nintro-type', 'nintro-glow', 'nintro-arrive', 'nintro-tile', 'nintro-dash']) expect(rule).toContain(`.${cls}`)
+ for (const cls of ['nintro-type', 'nintro-glow', 'nintro-arrive', 'nintro-dash']) expect(rule).toContain(`.${cls}`)
expect(rule).toMatch(/opacity: 1/)
})
})
diff --git a/src/index.css b/src/index.css
index e5272196..f5925339 100644
--- a/src/index.css
+++ b/src/index.css
@@ -2862,11 +2862,6 @@ html[data-computer-surface]:not([data-computer-surface='window']) #root {
.neuron-intro .nintro-accent-stroke { stroke: var(--color-lu-accent); }
.neuron-intro .nintro-accent-fill { fill: var(--color-lu-accent); }
.neuron-intro .nintro-accent-fill-soft { fill: color-mix(in srgb, var(--color-lu-accent) 16%, transparent); }
-.neuron-intro .nintro-layer { fill: #e5e7eb; }
-.dark .neuron-intro .nintro-layer { fill: rgba(255, 255, 255, 0.10); }
-.neuron-intro .nintro-layer--hit { animation: lu-nintro-hit 3s ease-in-out infinite; }
-.neuron-intro .nintro-token { fill: #9ca3af; animation: lu-nintro-rise 2.1s ease-in infinite; }
-.neuron-intro .nintro-push { animation: lu-nintro-push 3s ease-in-out infinite; }
.neuron-intro .nintro-track { stroke: #d1d5db; }
.dark .neuron-intro .nintro-track { stroke: rgba(255, 255, 255, 0.16); }
.neuron-intro .nintro-knob-fill { fill: #ffffff; stroke: #9ca3af; stroke-width: 1.5; }
@@ -2884,28 +2879,7 @@ html[data-computer-surface]:not([data-computer-surface='window']) #root {
.neuron-intro .nintro-glow { opacity: 0; animation: lu-nintro-glow 5s ease-in-out infinite; }
.neuron-intro .nintro-dash { stroke-dashoffset: 40; animation: lu-nintro-dash 5s linear infinite; }
.neuron-intro .nintro-arrive { opacity: 0; animation: lu-nintro-arrive 5s ease-out infinite; }
-.neuron-intro .nintro-tile { opacity: 0; animation: lu-nintro-tile 0.5s ease-out forwards; }
-@keyframes lu-nintro-rise {
- 0% { transform: translateY(0); opacity: 0; }
- 15% { opacity: 1; }
- 85% { opacity: 1; }
- 100% { transform: translateY(-150px); opacity: 0; }
-}
-@keyframes lu-nintro-hit {
- 0%, 30%, 100% { fill: #e5e7eb; }
- 50%, 70% { fill: color-mix(in srgb, var(--color-lu-accent) 55%, transparent); }
-}
-.dark .neuron-intro .nintro-layer--hit { animation-name: lu-nintro-hit-dark; }
-@keyframes lu-nintro-hit-dark {
- 0%, 30%, 100% { fill: rgba(255, 255, 255, 0.10); }
- 50%, 70% { fill: color-mix(in srgb, var(--color-lu-accent) 60%, transparent); }
-}
-@keyframes lu-nintro-push {
- 0%, 20% { transform: translateX(14px); opacity: 0.2; }
- 50%, 80% { transform: translateX(0); opacity: 1; }
- 100% { transform: translateX(14px); opacity: 0.2; }
-}
@keyframes lu-nintro-knob {
0%, 100% { transform: translateY(0); }
45%, 70% { transform: translateY(var(--nintro-to, 0px)); }
@@ -2933,31 +2907,134 @@ html[data-computer-surface]:not([data-computer-surface='window']) #root {
0%, 50% { opacity: 0; }
60%, 100% { opacity: 1; }
}
-@keyframes lu-nintro-tile {
- from { opacity: 0; transform: translateY(6px); }
- to { opacity: 1; transform: none; }
-}
@media (prefers-reduced-motion: reduce) {
- .neuron-intro .nintro-layer--hit,
- .neuron-intro .nintro-token,
- .neuron-intro .nintro-push,
.neuron-intro .nintro-knob,
.neuron-intro .nintro-line,
.neuron-intro .nintro-type,
.neuron-intro .nintro-glow,
.neuron-intro .nintro-dash,
- .neuron-intro .nintro-arrive,
- .neuron-intro .nintro-tile { animation: none; }
- .neuron-intro .nintro-token { opacity: 0; }
+ .neuron-intro .nintro-arrive { animation: none; }
.neuron-intro .nintro-type,
.neuron-intro .nintro-glow,
.neuron-intro .nintro-arrive,
- .neuron-intro .nintro-tile,
.neuron-intro .nintro-dash { opacity: 1; }
.neuron-intro .nintro-knob { transform: translateY(var(--nintro-to, 0px)); }
}
+/* Neurons introduction, new drawings (3.1.0). Same rules as the old ones:
+ calm loops, the accent for what the user adds, greys for the model, and
+ with reduced motion every drawing stands still in its finished state. */
+.neuron-intro .nintro-plane { stroke: #d1d5db; stroke-width: 1; }
+.dark .neuron-intro .nintro-plane { stroke: rgba(255, 255, 255, 0.13); }
+.neuron-intro .nintro-plane--hit { animation: lu-nintro-plane 8s ease-in-out infinite; }
+.neuron-intro .nintro-wire { fill: none; stroke: #9ca3af; stroke-width: 1; stroke-linecap: round; }
+.dark .neuron-intro .nintro-wire { stroke: rgba(255, 255, 255, 0.30); }
+.neuron-intro .nintro-wire--bent,
+.dark .neuron-intro .nintro-wire--bent { stroke: var(--color-lu-accent); stroke-dasharray: 100; stroke-dashoffset: 100; animation: lu-nintro-bend 8s cubic-bezier(0.45, 0, 0.2, 1) infinite; }
+.neuron-intro .nintro-ghost { animation: lu-nintro-ghost 8s ease-in-out infinite; }
+.neuron-intro .nintro-pulse { fill: none; stroke: #111827; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 2.4 97.6; stroke-dashoffset: 100; animation: lu-nintro-pulse 3.2s linear infinite; }
+.dark .neuron-intro .nintro-pulse { stroke: #ffffff; }
+.neuron-intro .nintro-bentgroup { opacity: 0; animation: lu-nintro-bentgroup 8s ease-in-out infinite; }
+.neuron-intro .nintro-thumb { animation: lu-nintro-thumb 8s cubic-bezier(0.45, 0, 0.2, 1) infinite; }
+.neuron-intro .nintro-when { opacity: 0; animation: lu-nintro-when 8s ease-in-out infinite; }
+.neuron-intro .nintro-text { fill: #111827; }
+.dark .neuron-intro .nintro-text { fill: #f3f4f6; }
+.neuron-intro .nintro-small { font-size: 9px; font-weight: 500; letter-spacing: 0.02em; }
+.neuron-intro .nintro-name { font-size: 11px; font-weight: 500; }
+
+@keyframes lu-nintro-plane {
+ 0%, 18%, 94%, 100% { stroke: #d1d5db; }
+ 30%, 82% { stroke: var(--color-lu-accent); }
+}
+.dark .neuron-intro .nintro-plane--hit { animation-name: lu-nintro-plane-dark; }
+@keyframes lu-nintro-plane-dark {
+ 0%, 18%, 94%, 100% { stroke: rgba(255, 255, 255, 0.13); }
+ 30%, 82% { stroke: var(--color-lu-accent); }
+}
+@keyframes lu-nintro-bend {
+ 0%, 18% { stroke-dashoffset: 100; }
+ 34%, 100% { stroke-dashoffset: 0; }
+}
+@keyframes lu-nintro-bentgroup {
+ 0%, 17% { opacity: 0; }
+ 19%, 84% { opacity: 1; }
+ 94%, 100% { opacity: 0; }
+}
+@keyframes lu-nintro-ghost {
+ 0%, 18%, 94%, 100% { opacity: 1; }
+ 32%, 84% { opacity: 0.22; }
+}
+@keyframes lu-nintro-pulse {
+ from { stroke-dashoffset: 100; }
+ to { stroke-dashoffset: 0; }
+}
+@keyframes lu-nintro-thumb {
+ 0%, 17%, 95%, 100% { transform: translateY(0); }
+ 29%, 84% { transform: translateY(-22px); }
+}
+@keyframes lu-nintro-when {
+ 0%, 22%, 92%, 100% { opacity: 0; }
+ 32%, 84% { opacity: 1; }
+}
+
+/* Four ways into one slider: one way at a time, 2 s each. */
+.neuron-intro .nintro-way { opacity: 0.45; animation: lu-nintro-way 8s ease-in-out infinite; }
+.neuron-intro .nintro-way-wire { fill: none; stroke: #d1d5db; stroke-width: 1; }
+.dark .neuron-intro .nintro-way-wire { stroke: rgba(255, 255, 255, 0.14); }
+.neuron-intro .nintro-way-run { fill: none; stroke: var(--color-lu-accent); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; opacity: 0; animation: lu-nintro-way-run 8s cubic-bezier(0.45, 0, 0.2, 1) infinite; }
+.neuron-intro .nintro-way-mark { fill: #9ca3af; stroke: #9ca3af; }
+.dark .neuron-intro .nintro-way-mark { fill: #9ca3af; stroke: #9ca3af; }
+.neuron-intro .nintro-way-name { opacity: 0; animation: lu-nintro-way-name 8s ease-in-out infinite; }
+.neuron-intro .nintro-way-knob { animation: lu-nintro-way-knob 8s cubic-bezier(0.45, 0, 0.2, 1) infinite; }
+@keyframes lu-nintro-way {
+ 0%, 25%, 100% { opacity: 0.45; }
+ 3%, 22% { opacity: 1; }
+}
+@keyframes lu-nintro-way-run {
+ 0% { stroke-dashoffset: 100; opacity: 0; }
+ 2% { opacity: 1; }
+ 11%, 21% { stroke-dashoffset: 0; opacity: 1; }
+ 25%, 100% { stroke-dashoffset: 0; opacity: 0; }
+}
+@keyframes lu-nintro-way-name {
+ 0%, 8% { opacity: 0; }
+ 12%, 22% { opacity: 1; }
+ 25%, 100% { opacity: 0; }
+}
+@keyframes lu-nintro-way-knob {
+ 0%, 8% { transform: translateX(34px); }
+ 13%, 33% { transform: translateX(-30px); }
+ 38%, 58% { transform: translateX(20px); }
+ 63%, 83% { transform: translateX(-10px); }
+ 88%, 100% { transform: translateX(34px); }
+}
+
+@media (prefers-reduced-motion: reduce) {
+ .neuron-intro .nintro-plane--hit,
+ .neuron-intro .nintro-wire--bent,
+ .neuron-intro .nintro-ghost,
+ .neuron-intro .nintro-pulse,
+ .neuron-intro .nintro-bentgroup,
+ .neuron-intro .nintro-thumb,
+ .neuron-intro .nintro-when,
+ .neuron-intro .nintro-way,
+ .neuron-intro .nintro-way-run,
+ .neuron-intro .nintro-way-name,
+ .neuron-intro .nintro-way-knob { animation: none; }
+ .neuron-intro .nintro-pulse,
+ .neuron-intro .nintro-way-run { opacity: 0; }
+ .neuron-intro .nintro-plane--hit { stroke: var(--color-lu-accent); }
+ .neuron-intro .nintro-wire--bent { stroke-dashoffset: 0; }
+ .neuron-intro .nintro-bentgroup,
+ .neuron-intro .nintro-when,
+ .neuron-intro .nintro-way { opacity: 1; }
+ .neuron-intro .nintro-ghost { opacity: 0.22; }
+ .neuron-intro .nintro-thumb { transform: translateY(-22px); }
+ .neuron-intro .nintro-way-name--first { opacity: 1; }
+ .neuron-intro .nintro-way-knob { transform: translateX(-30px); }
+}
+
/* Neurons slider (N2): the house range (track and knob above), with a
mark at 0 so "unchanged" can be seen, and a taller hit area. */
input[type="range"].neuron-range,