.modern-status-card {
    display: flex;
    flex-direction: column;
    background: var(--search-bg, #ffffff);
    border: 1px solid var(--border, #e0e0db);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    padding: 24px;
}


.msc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.msc-status-info {
    display: flex;
    align-items: center;
    gap: 16px;
}


.msc-pulse-ring {
    position: relative;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.msc-pulse-dot {
    position: relative;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    z-index: 2;
}


.state-perfect .msc-pulse-dot { background-color: #22c55e; }
.state-perfect .msc-pulse-ring::before {
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    background-color: #22c55e; animation: pulseAnim 2s infinite ease-out;
}

.state-good .msc-pulse-dot { background-color: #c1d82f; }
.state-good .msc-pulse-ring::before {
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    background-color: #c1d82f; animation: pulseAnim 2s infinite ease-out;
}

.state-warning .msc-pulse-dot { background-color: #f59e0b; }
.state-warning .msc-pulse-ring::before {
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    background-color: #f59e0b; animation: pulseAnim 2s infinite ease-out;
}

.state-dangerous .msc-pulse-dot { background-color: #ef4444; }
.state-dangerous .msc-pulse-ring::before {
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    background-color: #ef4444; animation: pulseAnim 2s infinite ease-out;
}

.state-closed .msc-pulse-dot { background-color: #991b1b; }
.state-closed .msc-pulse-ring::before {
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    background-color: #991b1b; animation: pulseAnim 2s infinite ease-out;
}

@keyframes pulseAnim {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2.5); opacity: 0; }
}

.msc-status-texts {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.msc-status-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-main, #1a1a1a);
}

.msc-status-meta {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted, #5e5e5e);
}

.msc-update-btn {
    background: var(--bg-hover, #f0f0f0);
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    cursor: pointer;
    transition: background 0.2s;
}
.msc-update-btn:hover { background: #e0e0db; }


.msc-divider {
    border: none;
    border-top: 1px solid var(--border, #e0e0db);
    margin: 24px 0;
}


.msc-difficulty-body {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.msc-diff-texts {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.msc-diff-texts h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-main);
}

.msc-votes-count {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}


.msc-diff-visual {
    position: relative;
    width: 100%;
    padding: 50px 0;
}


.msc-bar-track {
    position: relative;
    width: 100%;
}

.msc-bar-gradient {
    width: 100%;
    height: 12px;
    border-radius: 6px;
    background: linear-gradient(90deg, #22c55e 0%, #84cc16 20%, #eab308 40%, #f97316 60%, #ef4444 80%, #b91c1c 100%);
}

.msc-scale-labels {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-muted);
}


.msc-marker {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateX(-50%);
    z-index: 10;
}


.marker-top {
    bottom: 50%;
}


.marker-bottom {
    top: 50%;
}


.msc-bubble {
    background: var(--text-main, #1a1a1a);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.msc-bubble-label {
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.msc-bubble-val {
    font-size: 1rem;
    font-weight: 800;
}


.msc-line {
    width: 2px;
    height: 16px;
    background: var(--text-main, #1a1a1a);
}

.msc-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid var(--text-main, #1a1a1a);
    box-sizing: content-box;
   
}

.marker-top .msc-dot { transform: translateY(4px); }
.marker-bottom .msc-dot { transform: translateY(-4px); }


@media (max-width: 600px) {
    .msc-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .msc-update-btn {
        width: 100%;
        margin-top: 8px;
    }
    .msc-diff-texts {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}