.echoisland-status {
    position: fixed;
    left: 50%;
    bottom: 88px;
    transform: translateX(-50%) translateY(16px);
    width: min(92vw, 420px);
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(17, 24, 39, 0.94);
    color: #fff;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 10020;
}

.echoisland-status.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.echoisland-status.is-success {
    background: rgba(16, 102, 72, 0.95);
}

.echoisland-status.is-error {
    background: rgba(127, 29, 29, 0.96);
}

.echoisland-status-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.echoisland-status-title {
    font-size: 0.95rem;
    font-weight: 700;
}

.echoisland-status-step {
    font-size: 0.8rem;
    opacity: 0.82;
    white-space: nowrap;
}

.echoisland-status-text {
    font-size: 0.9rem;
    line-height: 1.6;
    word-break: break-word;
}

.echoisland-status-close {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.echoisland-status-close:hover {
    background: rgba(255, 255, 255, 0.08);
}

.dark-mode .echoisland-status {
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.4);
}

@media (max-width: 600px) {
    .echoisland-status {
        bottom: 78px;
        padding: 12px 14px;
        border-radius: 12px;
    }
}
