.ecosystem-art{position:relative;isolation:isolate;container-type:inline-size;margin:20px 0;overflow:hidden;border-radius:14px;background:#691126;border:1px solid #dec0c8;box-shadow:0 8px 28px #69112614}
.ecosystem-art img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain}
.ecosystem-wires{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.ecosystem-wires path{fill:none;stroke:#fcfaf9;stroke-width:.6;filter:drop-shadow(0 1px 1px #691126)}




.ecosystem-modules{position:absolute;inset:0;pointer-events:none}
.ecosystem-module{position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%);width:29%;min-height:38px;display:flex;align-items:center;justify-content:center;gap:6px;padding:7px 5px;border:1px solid #e1bdc7;border-radius:7px;background:#fffaf6;color:#601025;font-size:clamp(10px,2.5cqw,13px);line-height:1.25;font-weight:700;text-align:center;box-shadow:0 3px 12px #36061140;pointer-events:auto;transition:background .2s,border-color .2s}
.ecosystem-module>span{font-size:15px;color:#9f1832;flex-shrink:0}
.ecosystem-module:hover{background:#f6e9ec;border-color:#9f1832}
.ecosystem-module:focus-visible{outline:3px solid #fff;outline-offset:3px}
@media(max-width:400px){.ecosystem-module{min-height:34px;font-size:10px;padding:5px 3px;gap:3px}.ecosystem-module>span{display:none}.ecosystem-art{margin-top:16px}}
@media(prefers-reduced-motion:reduce){.ecosystem-module{transition:none}}


.ecosystem-chip-caption{position:absolute;left:47.5%;top:70%;transform:translate(-50%,-50%);padding:5px 8px;border:1px solid #dec0c8;border-radius:4px;background:#fffaf6;color:#691126;font-size:clamp(9px,2.3cqw,12px);font-weight:750;line-height:1.2;white-space:nowrap;letter-spacing:.2px;box-shadow:0 2px 6px #36061120;pointer-events:none}
