﻿.env-ribbon {
    position: fixed;
    right: 12px;
    bottom: 12px;
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: .45rem;
    max-width: calc(100vw - 24px);
    padding: .35rem .75rem;
    border-radius: 999px;
    background: #fef3c7;
    border: 1px solid #f59e0b;
    color: #78350f;
    font-size: .72rem;
    line-height: 1.3;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
    pointer-events: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.env-ribbon-dot {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #f59e0b;
}

.env-ribbon-live {
    background: #dc2626;
    border-color: #991b1b;
    color: #ffffff;
}

    .env-ribbon-live .env-ribbon-dot {
        background: #ffffff;
        animation: envPulse 1.2s ease-in-out infinite;
    }

@keyframes envPulse {
    50% {
        opacity: .3;
    }
}
