.ei-post-tabs__results { display: grid; grid-template-columns: minmax(0, 1fr); }
.ei-post-tabs__results > :is(.ei-post-tabs__panel, .ei-post-tabs__loading) { grid-area: 1 / 1; }
.ei-post-tabs__loading[hidden] { display: none; }
.ei-post-tabs__loading {
    z-index: 2;
    min-block-size: 84px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
    padding: 8px 16px;
    border-radius: var(--ei-frame-radius, 8px);
    background: var(--ei-surface, #f5f9fc);
    background: color-mix(in srgb, var(--ei-surface, #f5f9fc) 72%, transparent);
    color: var(--ei-text, #16364e);
    overflow-wrap: anywhere;
    text-align: center;
    font: 650 .9rem/1.4 system-ui, sans-serif;
}
.ei-post-tabs__announcement {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.ei-post-loading-mark {
    position: relative;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    inline-size: 28px;
    block-size: 28px;
    color: var(--ei-accent, #245cac);
}
.ei-post-loading-mark > span { display: none; }
.ei-post-loading-mark:is([data-icon="ring"], [data-icon="orbit"], [data-icon="pulse"]) > span:first-child {
    display: block;
    inline-size: 100%;
    block-size: 100%;
    box-sizing: border-box;
    border: 2px solid currentColor;
    border-radius: 50%;
}
.ei-post-loading-mark[data-icon="ring"] > span:first-child {
    border-color: color-mix(in srgb, currentColor 22%, transparent);
    border-block-start-color: currentColor;
    animation: ei-post-loader-spin .75s linear infinite;
}
.ei-post-loading-mark[data-icon="dots"] > span {
    display: block;
    inline-size: 5px;
    block-size: 5px;
    border-radius: 50%;
    background: currentColor;
    animation: ei-post-loader-bounce .92s ease-in-out infinite alternate;
}
.ei-post-loading-mark[data-icon="bars"] > span {
    display: block;
    inline-size: 4px;
    block-size: 17px;
    border-radius: 2px;
    background: currentColor;
    animation: ei-post-loader-bars .65s ease-in-out infinite alternate;
}
.ei-post-loading-mark:is([data-icon="dots"], [data-icon="bars"]) > span:nth-child(2) { animation-delay: -.3s; }
.ei-post-loading-mark:is([data-icon="dots"], [data-icon="bars"]) > span:nth-child(3) { animation-delay: -.5s; }
.ei-post-loading-mark[data-icon="orbit"] > span:first-child {
    position: relative;
    border-color: color-mix(in srgb, currentColor 30%, transparent);
    animation: ei-post-loader-spin 1s linear infinite;
}
.ei-post-loading-mark[data-icon="orbit"] > span:first-child::before,
.ei-post-loading-mark[data-icon="orbit"] > span:first-child::after {
    content: "";
    position: absolute;
    inset-block-start: -4px;
    inset-inline-start: 50%;
    translate: -50%;
    inline-size: 6px;
    block-size: 6px;
    border-radius: 50%;
    background: currentColor;
}
.ei-post-loading-mark[data-icon="orbit"] > span:first-child::after { inset-block: auto -4px; }
.ei-post-loading-mark[data-icon="pulse"] > span:first-child {
    animation: ei-post-loader-pulse 1s ease-in-out infinite alternate;
}
.ei-post-loading-mark[data-icon="pulse"] > span:nth-child(2) {
    display: block;
    position: absolute;
    inline-size: 13px;
    block-size: 13px;
    box-sizing: border-box;
    border: 2px solid currentColor;
    border-radius: 50%;
}
@keyframes ei-post-loader-spin { to { rotate: 1turn; } }
@keyframes ei-post-loader-bounce { from { translate: 0 3px; opacity: .5; } to { translate: 0 -3px; opacity: 1; } }
@keyframes ei-post-loader-bars { from { scale: 1 .48; } to { scale: 1 1; } }
@keyframes ei-post-loader-pulse { from { scale: .68; opacity: .45; } to { scale: 1; opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
    .ei-post-loading-mark > span { animation: none !important; }
}
