/* Thin brass engravings belong to the glass; the category remains readable. */
.memory-sigil {
  color: #c6b387; opacity: .62; pointer-events: none;
  filter: drop-shadow(0 1px 1px #111d);
  transition: opacity 1.2s ease, color 1.2s ease, filter 1.8s ease;
}
.memory-etching {
  position: absolute; inset: 28%; z-index: 4; pointer-events: none;
  display: grid; place-items: center;
}
.memory-etching > svg { display: block; width: 100%; height: 100%; overflow: visible; }
.tp-engraving-ground { fill: #16201b24; stroke: #c6b38724; stroke-width: .55; }
.home-art.is-placeholder .memory-sigil,
.home-art.is-placeholder .tp-engraving-ground { display: none; }
.tp-jar > .memory-sigil, .memory-etching > .memory-sigil {
  animation: sigil-catch 23s ease-in-out infinite;
  animation-delay: var(--delay, -7s);
}
@keyframes sigil-catch {
  0%, 64%, 100% { opacity: .58; }
  79% { opacity: .85; }
}
.orb:hover .memory-sigil, .orb:focus-visible .memory-sigil,
.home-bottle:hover .memory-sigil, .home-bottle:focus-visible .memory-sigil,
.machine-thought:hover .memory-sigil, .machine-thought:focus-visible .memory-sigil {
  animation: none; opacity: .95; color: #ead7a7;
  filter: drop-shadow(0 0 3px hsl(var(--sigil-hue) 35% 75% / .35));
}
/* One slow illumination accompanies the existing loading/opening ceremony. */
#field .orb[data-loading] .memory-sigil,
.orb.cracking .memory-sigil, .home-art.opening .memory-sigil,
.machine-thought.is-opening .memory-sigil,
.opening-releasing .memory-sigil {
  animation: sigil-awaken 3.8s ease-in-out both;
}
@keyframes sigil-awaken {
  0% { opacity: .58; color: #c6b387; filter: drop-shadow(0 1px 1px #111d); }
  52%, 72% { opacity: 1; color: #f1dfb7; filter: drop-shadow(0 0 4px hsl(var(--sigil-hue) 45% 78% / .65)); }
  100% { opacity: .72; color: #d5c198; filter: drop-shadow(0 0 1px #e7ce8f33); }
}
/* The small travellers use the same sign, with space for its silhouette. */
.machine-orb { display: grid; place-items: center; }
.machine-orb > .memory-sigil { width: 20px; height: 20px; opacity: .85; stroke-width: 1.45; }
.machine-orb > .machine-core { inset: 8px; opacity: .18; filter: blur(3px); }
#writeDlg .kind .memory-sigil { width: 100%; height: 100%; opacity: .83; color: #d3c095; filter: none; }
#writeDlg .kind[aria-checked=true] .memory-sigil { opacity: 1; color: #f0ddb2; filter: drop-shadow(0 0 3px #e7ce8f44); }
#preview .memory-sigil { opacity: .85; }
#preview .script { opacity: .22; }
.orb-kind-mark { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; color: var(--ink-2); font-size: .85rem; }
.orb-kind-mark .memory-sigil { width: 32px; height: 32px; opacity: .95; flex: none; }
html.glyphs-resting .memory-sigil,
.machine-scene.is-resting .memory-sigil,
html:has(dialog[open]) #view-field .memory-sigil { animation-play-state: paused !important; }
html.calm .memory-sigil { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  .memory-sigil { animation: none !important; transition: none !important; }
}
@media (forced-colors: active) {
  .memory-sigil { color: CanvasText !important; opacity: 1 !important; filter: none !important; }
}
