.emplex-state {
    --state-ink: #342a6b;
    --state-soft: #e8e4f2;
    --state-paper: #ffffff;
    --state-gold: #b18b12;
    --state-muted: #625d75;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 100%;
    padding: 24px 16px;
    color: var(--state-ink);
    text-align: center;
    white-space: normal;
}
html[data-theme='dark'] .emplex-state {
    --state-ink: #d4c9f4;
    --state-soft: #332b4a;
    --state-paper: #211c32;
    --state-gold: #e1bf48;
    --state-muted: #c3bdd2;
}
.emplex-state__art {
    display: block;
    flex-shrink: 0;
    width: 220px;
    max-width: 100%;
    height: 156px;
    stroke: var(--state-ink);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.emplex-state__halo {
    fill: var(--state-soft);
    fill-opacity: 0.5;
    stroke: none;
}
.emplex-state__surface {
    fill: var(--state-soft);
}
.emplex-state__paper {
    fill: var(--state-paper);
}
.emplex-state__accent,
.emplex-state__spark {
    stroke: var(--state-gold);
    stroke-width: 4;
}
.emplex-state__baseline {
    stroke: var(--state-ink);
    opacity: 0.2;
}
.emplex-state__title {
    color: var(--state-ink);
    font-size: 16px;
    line-height: 1.8;
}
.emplex-state .emplex-state__hint {
    margin: 0;
    max-width: 440px;
    color: var(--state-muted);
    font-size: 13px;
    line-height: 1.9;
}
.emplex-state--compact {
    gap: 4px;
    padding: 8px;
}
.emplex-state--compact .emplex-state__art {
    width: 140px;
    height: 100px;
}
.emplex-state--compact .emplex-state__title {
    font-size: 14px;
}
.emplex-state--compact .emplex-state__hint {
    font-size: 12px;
}
.emplex-state__ring {
    stroke: var(--state-gold);
    stroke-width: 5;
    stroke-dasharray: 90 206;
}
.emplex-state__spin {
    transform-origin: 120px 85px;
    animation: emplex-state-spin 1.5s linear infinite;
}
@keyframes emplex-state-spin {
    to {
        transform: rotate(360deg);
    }
}
@media (prefers-reduced-motion: reduce) {
    .emplex-state__spin {
        animation: none;
    }
}
