Repository navigation
Expand file tree
/
Copy pathstyles.css
More file actions
249 lines (240 loc) · 21.5 KB
/
Copy pathstyles.css
File metadata and controls
249 lines (240 loc) · 21.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
/* inkwright: editor highlighting */
.ink-tok-knot { color: var(--color-purple); font-weight: 600; }
.ink-tok-stitch { color: var(--color-purple); }
.ink-tok-choice { color: var(--color-orange); font-weight: 600; }
.ink-tok-gather { color: var(--color-orange); }
.ink-tok-divert { color: var(--color-blue); }
.ink-tok-logic { color: var(--color-green); }
.ink-tok-keyword { color: var(--color-red); font-weight: 600; }
.ink-tok-tag { color: var(--color-cyan); }
.ink-tok-comment { color: var(--text-faint); font-style: italic; }
/* inkwright: play panel */
.inkwright-play { padding: 12px 16px; container-type: inline-size; }
.inkwright-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.inkwright-root { flex: 1 1 100%; color: var(--text-muted); overflow-wrap: anywhere; }
.inkwright-story p { margin: 0 0 0.8em; }
.inkwright-story p.inkwright-lines { white-space: pre-line; }
.inkwright-write { min-height: 6em; resize: vertical; font: inherit; }
.inkwright-ended { color: var(--text-faint); text-align: center; }
.inkwright-choices { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.inkwright-choice { min-height: 44px; text-align: left; white-space: normal; justify-content: flex-start; }
.inkwright-run-note { margin-top: 12px; padding: 8px 10px; border-radius: 6px; background: var(--background-secondary); color: var(--text-muted); font-size: var(--font-smaller); }
.inkwright-stopped { display: flex; gap: 8px; align-items: center; justify-content: space-between; border-left: 3px solid var(--text-warning); }
.inkwright-clock { flex: none; }
.inkwright-clock path { stroke: var(--background-primary); stroke-width: 0.06; }
.inkwright-clock-on { fill: var(--text-accent); }
.inkwright-clock-off { fill: var(--background-modifier-border); }
.inkwright-track { display: flex; gap: 2px; flex-wrap: wrap; }
.inkwright-track-box { display: inline-flex; width: 1.4em; height: 1.4em; align-items: center; justify-content: center; border: 1px solid var(--background-modifier-border); border-radius: 3px; font-size: 0.8em; color: var(--text-accent); }
.inkwright-track-full { background: var(--background-modifier-hover); }
.inkwright-hud-adjust { padding: 0 6px; min-height: 0; height: 1.6em; }
.inkwright-record .inkwright-item { display: inline-flex; align-items: center; gap: 2px; }
.inkwright-record-drop { padding: 0 4px; min-height: 0; height: 1.4em; background: none; box-shadow: none; color: var(--text-muted); }
.inkwright-record-add { width: 9em; font-size: var(--font-smaller); }
.inkwright-hud-turn { font-weight: 600; margin-bottom: 4px; }
.inkwright-manual { margin: 6px 0; color: var(--text-muted); font-size: var(--font-smaller); }
.inkwright-tray { margin-top: 12px; padding: 6px 10px; border: 1px solid var(--background-modifier-border); border-radius: 8px; }
.inkwright-tray summary { cursor: pointer; color: var(--text-muted); font-size: var(--font-smaller); }
.inkwright-tray-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; }
.inkwright-tray-question { flex: 1 1 12em; min-width: 0; }
.inkwright-tray-formula { width: 7em; }
.inkwright-oracle-odds { color: var(--text-muted); font-size: var(--font-smaller); }
.inkwright-oracle-yes .inkwright-roll-band { color: var(--color-green); }
.inkwright-oracle-no .inkwright-roll-band { color: var(--color-red); }
.inkwright-run-note-buttons { display: flex; flex: none; flex-wrap: wrap; gap: 6px; }
.inkwright-frozen { display: flex; gap: 8px; align-items: center; justify-content: space-between; border-left: 3px solid var(--interactive-accent); }
.inkwright-input { width: 100%; min-height: 44px; margin-bottom: -4px; }
.inkwright-diagnostics { margin-bottom: 12px; }
.inkwright-diag { padding: 8px; margin-bottom: 6px; border-left: 3px solid var(--text-faint); cursor: pointer; }
.inkwright-diag-error { border-left-color: var(--text-error); }
.inkwright-diag-warning { border-left-color: var(--text-warning); }
.inkwright-diag-loc { display: block; font-size: var(--font-smaller); color: var(--text-muted); }
/* inkwright: variable inspector */
.inkwright-inspector { margin-bottom: 12px; padding: 6px 8px; border: 1px solid var(--background-modifier-border); border-radius: 6px; }
.inkwright-inspector summary { cursor: pointer; color: var(--text-muted); min-height: 32px; line-height: 32px; }
.inkwright-inspector h5 { margin: 8px 0 4px; font-size: var(--font-smaller); color: var(--text-muted); }
.inkwright-inspector table { width: 100%; border-collapse: collapse; font-family: var(--font-monospace); font-size: var(--font-smaller); }
.inkwright-inspector td { padding: 2px 4px; border-bottom: 1px solid var(--background-modifier-border); overflow-wrap: anywhere; }
.inkwright-inspector td:first-child { color: var(--text-accent); width: 45%; }
.inkwright-inspector-empty { color: var(--text-faint); font-size: var(--font-smaller); }
/* inkwright: start from */
.inkwright-start { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; color: var(--text-muted); }
.inkwright-start select { flex: 1; min-width: 0; min-height: 36px; }
.inkwright-hint-small { font-size: var(--font-smaller); color: var(--text-faint); margin-bottom: 8px; }
/* inkwright: knot graph */
.inkwright-graph { display: flex; flex-direction: column; }
/* Beat Obsidian's own .view-content padding without !important. */
.workspace-leaf-content .view-content.inkwright-graph { padding: 0; }
.inkwright-graph-bar { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; padding: 8px 12px; border-bottom: 1px solid var(--background-modifier-border); }
.inkwright-graph-legend { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: var(--font-smaller); color: var(--text-muted); }
.inkwright-graph-legend span::before { content: ""; display: inline-block; width: 18px; height: 10px; margin-right: 4px; vertical-align: middle; }
.lg-visited::before { background: var(--interactive-accent); border-radius: 3px; }
.lg-unreachable::before { border: 1.5px dashed var(--text-error); border-radius: 3px; }
.inkwright-graph-legend .lg-divert::before { border-top: 2px solid var(--text-muted); height: 0; }
.inkwright-graph-legend .lg-tunnel::before { border-top: 2px dashed var(--color-orange); height: 0; }
.inkwright-graph-legend .lg-thread::before { border-top: 2px dotted var(--color-cyan); height: 0; }
.inkwright-graph > .inkwright-hint-small { padding: 4px 12px 0; }
.inkwright-graph-host { position: relative; flex: 1; min-height: 240px; overflow: hidden; touch-action: none; cursor: grab; }
.inkwright-graph-host svg { width: 100%; height: 100%; display: block; }
.iw-edge { fill: none; stroke: var(--text-muted); opacity: 0.8; }
.iw-edge-tunnel { stroke: var(--color-orange); stroke-dasharray: 6 4; }
.iw-edge-thread { stroke: var(--color-cyan); stroke-dasharray: 2 4; }
.iw-edge-fall { stroke: var(--text-faint); }
#iw-arrow path { fill: var(--text-muted); }
.iw-node { cursor: pointer; }
.iw-node rect { fill: var(--background-secondary); stroke: var(--background-modifier-border-hover); stroke-width: 1.5; }
.iw-node text { fill: var(--text-normal); font-size: 13px; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.iw-stitch rect { fill: var(--background-primary); }
.iw-start rect, .iw-end rect { fill: var(--background-modifier-hover); }
.iw-visited rect { fill: var(--interactive-accent); stroke: var(--interactive-accent); }
.iw-visited text { fill: var(--text-on-accent); }
.iw-unreachable rect { stroke: var(--text-error); stroke-dasharray: 5 3; }
.iw-startpoint rect { stroke: var(--text-accent); stroke-width: 3; }
.inkwright-graph-popover { position: absolute; z-index: 10; display: flex; flex-direction: column; gap: 6px; padding: 8px; background: var(--background-primary); border: 1px solid var(--background-modifier-border); border-radius: 8px; box-shadow: var(--shadow-s); }
.inkwright-graph-popover-title { font-family: var(--font-monospace); font-size: var(--font-smaller); color: var(--text-muted); }
.inkwright-graph-popover button { min-height: 36px; }
/* inkwright: saves */
.inkwright-save-row { display: flex; gap: 6px; align-items: center; padding: 4px 0; border-bottom: 1px solid var(--background-modifier-border); }
.inkwright-save-info { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.inkwright-save-rename { width: 100%; }
.inkwright-save-time { font-size: var(--font-smaller); color: var(--text-faint); }
.inkwright-bar button:disabled { opacity: 0.4; }
.inkwright-bar-pinned { position: sticky; top: 0; z-index: 2; margin: -12px 0 12px; padding: 12px 0 8px; background: var(--background-primary); box-shadow: 0 6px 6px -6px var(--background-modifier-box-shadow); }
.inkwright-pin { margin-left: auto; }
.inkwright-fold-on { color: var(--text-accent); }
/* The stage: status (party, resources, map, dice) and the story with its choices. One column in a
narrow panel (status on top, foldable); two when the panel is wide, as in the main area. */
.inkwright-side-hidden { display: none; }
@container (min-width: 720px) {
.inkwright-stage-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 38%); gap: 24px; align-items: start; }
.inkwright-stage-split > .inkwright-main { grid-column: 1; grid-row: 1; max-width: 46em; }
.inkwright-stage-split > .inkwright-side { grid-column: 2; grid-row: 1; position: sticky; top: var(--inkwright-side-top, 0); max-height: var(--inkwright-side-max, 80vh); overflow-y: auto; }
}
.inkwright-pin-on { color: var(--text-accent); }
.inkwright-turn { display: flex; align-items: center; gap: 0.6em; margin: 1.2em 0 0.8em; color: var(--text-accent); font-size: var(--font-smaller); }
.inkwright-turn::before, .inkwright-turn::after { content: ""; flex: 1; border-top: 1px solid var(--text-accent); opacity: 0.6; }
.inkwright-turn-text { font-style: italic; white-space: pre-wrap; }
.inkwright-turn-text::before { content: "› "; }
.inkwright-recap { display: flex; align-items: center; gap: 0.6em; margin: 1.2em 0 0.8em; color: var(--text-muted); font-size: var(--font-smaller); }
.inkwright-recap::before, .inkwright-recap::after { content: ""; flex: 1; border-top: 1px dashed var(--text-muted); }
.inkwright-earlier { display: block; margin: 0 auto 1em; font-size: var(--font-smaller); }
.inkwright-problems { margin-bottom: 8px; font-size: var(--font-smaller); color: var(--text-warning); }
.inkwright-mode-on { color: var(--text-accent); }
/* inkwright: game mode */
.inkwright-hud { display: flex; flex-direction: column; gap: 4px; margin-bottom: 8px; font-size: var(--font-smaller); }
.inkwright-hud-row { display: flex; align-items: center; gap: 8px; }
.inkwright-hud-name { min-width: 3em; }
.inkwright-hud-bar { flex: 1; height: 6px; background: var(--background-modifier-border); border-radius: 3px; overflow: hidden; }
.inkwright-hud-fill { height: 100%; background: var(--interactive-accent); }
.inkwright-hud-value { color: var(--text-muted); font-variant-numeric: tabular-nums; }
.inkwright-hud-value-set { cursor: pointer; text-decoration: underline dotted; text-underline-offset: 3px; }
.inkwright-hud-set { width: 4.5em; font-variant-numeric: tabular-nums; }
.inkwright-hud-companion { color: var(--text-muted); }
.inkwright-party-name { color: var(--text-muted); margin-bottom: 2px; }
.inkwright-kind { margin: 0.6em 0; }
.inkwright-kind > summary { cursor: pointer; color: var(--text-muted); font-size: var(--font-ui-small); margin-bottom: 4px; }
.inkwright-party-members { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5em, 1fr)); gap: 6px; }
.inkwright-party-member { border: 1px solid var(--background-modifier-border); border-radius: 6px; padding: 4px 6px; display: flex; flex-direction: column; gap: 2px; }
.inkwright-party-down { opacity: 0.45; }
.inkwright-party-who { font-weight: 600; }
.inkwright-party-title { color: var(--text-muted); }
.inkwright-party-stat { display: flex; align-items: center; gap: 6px; }
.inkwright-party-stat-name { min-width: 2.5em; color: var(--text-muted); }
.inkwright-party-stat-value { font-variant-numeric: tabular-nums; margin-left: auto; }
.inkwright-party-gear { display: flex; flex-wrap: wrap; gap: 2px 8px; }
.inkwright-voice { border-left: 3px solid var(--inkwright-voice, var(--text-accent)); padding-left: 8px; color: var(--text-muted); font-style: italic; }
.inkwright-voice-name { color: var(--inkwright-voice, var(--text-accent)); font-style: normal; font-weight: 600; margin-right: 6px; }
.inkwright-check { display: inline-block; margin-left: 8px; font-size: var(--font-smaller); color: var(--text-muted); white-space: nowrap; }
.inkwright-check-red { color: var(--text-error); }
.inkwright-dice td:first-child { white-space: nowrap; }
/* Game mode: a check's roll as a card in the text, coloured by outcome. */
.inkwright-roll { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5em; margin: 0 0 0.8em; padding: 0.3em 0.7em; border-left: 3px solid var(--inkwright-band, var(--text-muted)); background: var(--background-secondary); border-radius: 0 6px 6px 0; font-size: var(--font-smaller); color: var(--text-muted); }
.inkwright-roll-0 { --inkwright-band: var(--color-red); }
.inkwright-roll-1 { --inkwright-band: var(--text-error); }
.inkwright-roll-2 { --inkwright-band: var(--color-yellow); }
.inkwright-roll-3 { --inkwright-band: var(--color-green); }
.inkwright-roll-4 { --inkwright-band: var(--color-cyan); }
.inkwright-roll-skill { font-weight: 600; color: var(--text-normal); }
.inkwright-die { display: inline-block; min-width: 1.6em; margin-right: 0.2em; padding: 0 0.3em; border: 1px solid var(--background-modifier-border); border-radius: 5px; text-align: center; color: var(--text-normal); font-variant-numeric: tabular-nums; }
.inkwright-roll-band { font-weight: 600; color: var(--inkwright-band, var(--text-normal)); }
.inkwright-roll-free .inkwright-roll-band { color: var(--text-normal); }
.inkwright-chip { border-radius: 999px; padding: 0 0.6em; }
.inkwright-chip-fail { border-color: var(--color-red); color: var(--color-red); }
.inkwright-chip-success { border-color: var(--color-cyan); color: var(--color-cyan); }
.inkwright-die-dropped { opacity: 0.4; text-decoration: line-through; }
.inkwright-rolling .inkwright-die { animation: inkwright-tumble 0.14s linear infinite alternate; }
.inkwright-rolling .inkwright-roll-band { visibility: hidden; }
@keyframes inkwright-tumble { from { transform: rotate(-8deg) scale(1.05); } to { transform: rotate(8deg) scale(0.95); } }
/* #fx: tags on a line: played on the story when the line first appears. */
.inkwright-story { position: relative; }
.inkwright-fx-shake { animation: inkwright-shake 0.5s; }
.inkwright-fx-flash::after, .inkwright-fx-dark::after, .inkwright-fx-pulse::after { content: ""; position: absolute; inset: -8px; pointer-events: none; border-radius: 6px; }
.inkwright-fx-flash::after { background: #fff; animation: inkwright-flash 0.6s both; }
.inkwright-fx-dark::after { background: #000; animation: inkwright-dark 1.8s both; }
.inkwright-fx-pulse::after { background: radial-gradient(ellipse at center, transparent 50%, rgb(170 0 0 / 55%)); animation: inkwright-pulse 1.4s both; }
@keyframes inkwright-shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-7px); } 40% { transform: translateX(7px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(4px); } }
@keyframes inkwright-flash { from { opacity: 1; } to { opacity: 0; } }
@keyframes inkwright-dark { 0% { opacity: 0; } 15% { opacity: 1; } 70% { opacity: 1; } 100% { opacity: 0; } }
@keyframes inkwright-pulse { 0%, 100% { opacity: 0; } 25% { opacity: 1; } 50% { opacity: 0.15; } 75% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
.inkwright-fx-shake, .inkwright-fx-flash::after, .inkwright-fx-dark::after, .inkwright-fx-pulse::after, .inkwright-rolling .inkwright-die { animation: none; }
.inkwright-rolling .inkwright-roll-band { visibility: visible; }
}
/* Items: the inventory row of the HUD, and choices that need one. */
.inkwright-hud-items { flex-wrap: wrap; }
.inkwright-item { color: var(--text-normal); }
.inkwright-item-equipped { font-weight: 600; }
.inkwright-level-ready { padding: 0 6px; border-radius: 8px; font-size: var(--font-smaller); color: var(--text-on-accent); background: var(--interactive-accent); }
.inkwright-statuses { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.inkwright-status { padding: 0 6px; border-radius: 8px; font-size: var(--font-smaller); color: var(--text-accent); background: var(--background-modifier-hover); white-space: nowrap; }
.inkwright-need { display: inline-block; margin-left: 8px; font-size: var(--font-smaller); color: var(--text-muted); white-space: nowrap; }
.inkwright-need-missing { color: var(--text-error); }
.inkwright-choice-locked { opacity: 0.6; cursor: default; }
.inkwright-choice-pick { display: block; font-size: var(--font-smaller); color: var(--text-muted); }
/* Map: the image (or a plain board) with lines between linked places, the places, their counters and tokens. */
.inkwright-map { position: relative; width: 100%; aspect-ratio: var(--inkwright-map-ratio, 4 / 3); margin-top: 12px; border-radius: 8px; overflow: hidden; background: var(--background-secondary); }
.inkwright-map-board { border: 1px solid var(--background-modifier-border); }
.inkwright-map-image { display: block; width: 100%; height: 100%; }
.inkwright-dungeon { display: block; width: 100%; max-width: var(--inkwright-dungeon-width, 480px); margin: 12px auto 0; }
.inkwright-dungeon-floor { fill: var(--background-secondary-alt); }
.inkwright-dungeon-corridor { fill: var(--background-modifier-border); }
.inkwright-dungeon-here { fill: var(--interactive-accent); fill-opacity: 0.35; }
.inkwright-dungeon-wall { stroke: var(--text-muted); stroke-width: 2; stroke-linecap: round; }
.inkwright-dungeon-door { stroke-width: 4; stroke-linecap: round; }
.inkwright-dungeon-door-free { stroke: var(--text-accent); }
.inkwright-dungeon-door-used { stroke: var(--text-faint); }
.inkwright-dungeon-mark { fill: var(--text-normal); font-size: 14px; pointer-events: none; }
.inkwright-map-links { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.inkwright-map-links line { stroke: var(--text-muted); stroke-width: 2; vector-effect: non-scaling-stroke; }
.inkwright-map-links line.inkwright-link-dim { stroke-dasharray: 4 4; opacity: 0.5; }
.inkwright-place { position: absolute; transform: translate(-50%, -50%); min-width: 44px; min-height: 32px; padding: 2px 8px; display: flex; align-items: center; justify-content: center; gap: 4px; border: 1px solid var(--background-modifier-border); border-radius: 6px; background: var(--background-primary); color: var(--text-normal); font-size: var(--font-smaller); box-shadow: none; white-space: nowrap; }
button.inkwright-place { cursor: pointer; }
.inkwright-place-hidden { color: var(--text-muted); border-style: dashed; }
.inkwright-place-here { border-color: var(--interactive-accent); box-shadow: 0 0 0 2px var(--interactive-accent); }
.inkwright-place-go { border-color: var(--interactive-accent); animation: inkwright-go 1.2s ease-in-out infinite; }
@keyframes inkwright-go { 50% { box-shadow: 0 0 0 4px var(--interactive-accent); } }
.inkwright-place-counter { min-width: 18px; padding: 0 4px; border-radius: 9px; background: var(--interactive-accent); color: var(--text-on-accent); font-size: var(--font-smallest); text-align: center; }
.inkwright-token { position: absolute; width: 22px; height: 22px; border-radius: 50%; background: var(--inkwright-token, var(--color-red)); color: white; font-size: var(--font-smallest); display: flex; align-items: center; justify-content: center; transform: translate(-50%, -50%); border: 2px solid var(--background-primary); pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
.inkwright-place-go { animation: none; }
}
/* Hands: a row of cards between the text and the choices; tap one to pick it (and read it), tap again to put it back. */
.inkwright-hands { margin-top: 12px; }
.inkwright-hand { margin-bottom: 8px; }
.inkwright-hand-name { font-size: var(--font-smaller); color: var(--text-muted); }
.inkwright-hand-empty { margin-left: 0.5em; }
.inkwright-cards { display: flex; gap: 8px; overflow-x: auto; padding: 8px 2px 4px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.inkwright-card { flex: 0 0 auto; width: 92px; height: auto; min-height: 120px; padding: 8px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; text-align: left; white-space: normal; border: 1px solid var(--background-modifier-border); border-radius: 8px; background: var(--background-primary); box-shadow: none; scroll-snap-align: start; transition: transform 120ms ease, border-color 120ms ease; }
.inkwright-card-illustrated { width: 108px; padding: 0 0 8px; overflow: hidden; }
.inkwright-card-art { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 6px; border-bottom: 1px solid var(--background-modifier-border); }
.inkwright-card-illustrated .inkwright-card-deck, .inkwright-card-illustrated .inkwright-card-name, .inkwright-card-illustrated .inkwright-card-attrs { padding: 0 8px; }
.inkwright-card-attrs { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.inkwright-card-attr { padding: 0 6px; border-radius: 9px; background: var(--background-secondary); color: var(--text-muted); font-size: var(--font-smallest); white-space: nowrap; }
.inkwright-card-deck { font-size: var(--font-smallest); color: var(--text-muted); }
.inkwright-card-name { font-weight: 600; line-height: 1.3; }
.inkwright-card-on { border-color: var(--interactive-accent); transform: translateY(-6px); box-shadow: 0 4px 12px var(--background-modifier-box-shadow); }
.inkwright-card-desc { margin: 4px 0 0; font-size: var(--font-smaller); color: var(--text-muted); }
@media (prefers-reduced-motion: reduce) {
.inkwright-card { transition: none; }
.inkwright-card-on { transform: none; }
}