/* Gemeinsame kompakte Systempersönlichkeit der Lebenssysteme. */
.system-doctor {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 6ch;
    min-width: 6ch;
    color: var(--system-doctor-color, #39D98A);
    font-size: .98rem;
    line-height: 1;
    white-space: nowrap;
    font-variant-ligatures: none;
    pointer-events: none;
}

.system-doctor-glyph {
    position: relative;
    display: inline-block;
    width: 5ch;
    color: transparent;
    text-align: center;
}

.system-doctor-glyph::before {
    content: "(·_·)";
    position: absolute;
    inset: 0 auto auto 0;
    width: 5ch;
    color: var(--system-doctor-color, #39D98A);
    text-align: center;
    text-shadow: 0 0 3px rgba(151,255,198,.74), 0 0 8px rgba(62,245,143,.48), 0 0 15px rgba(57,217,138,.25);
    animation: systemDoctorPersonality 8.8s steps(1,end) infinite;
}

@keyframes systemDoctorPersonality {
    0%, 27%, 30%, 50%, 55%, 77%, 100% { content:"(·_·)"; color:var(--system-doctor-color, #39D98A); transform:translateX(0); }
    28%, 29% { content:"(-_-)"; }
    51%, 54% { content:"(·|·)"; color:var(--system-doctor-active, #97FFC6); text-shadow:0 0 3px rgba(199,255,223,.9),0 0 10px rgba(62,245,143,.72),0 0 18px rgba(57,217,138,.38); }
    66%, 71% { content:"(¬_·)"; color:var(--system-doctor-muted, #6FBF8F); }
    73%, 76% { content:"(·‿·)"; color:var(--system-doctor-active, #97FFC6); }
}

@media (prefers-reduced-motion: reduce) {
    .system-doctor-glyph::before { animation:none !important; }
}
