/* v22 — the same photographic expressions used later in the page. */
.system-portrait{position:absolute;left:50%;bottom:8px;transform:translateX(-50%);width:100px;height:112px;border-radius:47% 47% 42% 42%;overflow:hidden;isolation:isolate}
.system-portrait img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 22%;transform:scale(1.4);transform-origin:50% 29%}
.system-portrait .portrait-rest{opacity:0;animation:portrait-rest 6s ease-in-out infinite;animation-play-state:paused}
.system-portrait .portrait-smile-frame{opacity:1;animation:portrait-smile 6s ease-in-out infinite;animation-play-state:paused}
.diagram-visible .system-portrait img{animation-play-state:running}
@keyframes portrait-rest{0%,28%,100%{opacity:1}40%,88%{opacity:0}}
@keyframes portrait-smile{0%,28%,100%{opacity:0}40%,88%{opacity:1}}
/* Preserve the real scale in the full photograph; keep dialogue clear of NIA. */
.concept-conversation{height:auto;min-height:0;aspect-ratio:auto;background:transparent;border-radius:0;overflow:visible;align-self:center}
.concept-conversation>img{position:static;inset:auto;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;object-position:center;border-radius:70px 70px 14px 14px}
.photo-dialogue{position:relative;inset:auto;margin:18px 8px 0}
.photo-dialogue ol{gap:9px}
.photo-bubble{font-size:14px;padding:9px 16px}
@media(max-width:720px){
 .system-portrait{width:76px;height:86px;bottom:7px}
 .concept-conversation{height:auto;aspect-ratio:auto}
 .concept-conversation>img{border-radius:48px 48px 12px 12px}
 .photo-dialogue{inset:auto;margin:16px 0 0}.photo-bubble{font-size:13px;padding:9px 13px}
}
@media(max-width:360px){.system-portrait{width:68px;height:79px;bottom:4px}.photo-bubble{font-size:12px;padding:9px 11px}}
@media(prefers-reduced-motion:reduce){.system-portrait img{animation:none!important}.system-portrait .portrait-rest{opacity:0}.system-portrait .portrait-smile-frame{opacity:1}}
@media print{.system-portrait img{animation:none!important}.system-portrait .portrait-rest{opacity:0}.system-portrait .portrait-smile-frame{opacity:1}}
