/* The obyte mark (assets/mark.js): mint lines drawn by a point of light. */
.omark { display: block; width: 100%; height: auto; overflow: visible; --om: var(--accent, #5bcfa5); }
.omark path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.omark .om-ghost path { stroke: var(--om); stroke-width: 3.2; opacity: .08; }
.omark .om-ink path { stroke: var(--om); stroke-width: 3.2; }
.omark .om-run { stroke: #fff; stroke-width: 3.4; opacity: 0; transition: opacity .3s; }
.omark.sweeping .om-run { opacity: .85; }
.omark .om-orb { fill: #fff; }
.omark.rested .om-orb { animation: om-breathe 2.4s ease-in-out infinite; }
@keyframes om-breathe { 50% { opacity: .35; } }
.omark.sm .om-ghost path, .omark.sm .om-ink path { stroke-width: 7; }
[data-theme="light"] .omark .om-orb, [data-theme="light"] .omark .om-run { fill: var(--om); stroke: var(--om); }

/* the AI halo around his photo in the digital version: a ring of light that keeps turning (faster while obyte types) */
@property --ai-a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.ai-halo { position: relative; isolation: isolate; border-radius: 50%; }
.ai-halo > img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.ai-halo::before, .ai-halo::after {
  content: ""; position: absolute; inset: -5px; z-index: 0; border-radius: inherit;
  background: conic-gradient(from var(--ai-a), color-mix(in srgb, var(--accent) 15%, transparent) 0deg, var(--accent) 90deg, #fff 150deg, var(--accent) 200deg, color-mix(in srgb, var(--accent) 15%, transparent) 290deg, color-mix(in srgb, var(--accent) 15%, transparent) 360deg);
  animation: ai-spin 3.6s linear infinite;
}
.ai-halo::after { inset: -14px; filter: blur(18px); opacity: .85; }
.ai-halo.sm::before { inset: -3px; }
.ai-halo.sm::after { inset: -6px; filter: blur(7px); opacity: .9; }
.thinking .ai-halo::before, .thinking .ai-halo::after { animation-duration: 1.1s; }
@keyframes ai-spin { to { --ai-a: 360deg; } }
@media (prefers-reduced-motion: reduce) { .ai-halo::before, .ai-halo::after { animation: none; } }
