﻿.commit-hash {
    font-family: Consolas, 'Courier New', monospace;
    font-size: 0.8em;
    color: #888;
    margin-left: auto;
    padding: 0 10px;
}

.playThrough-container {
    display: flex;
    /*flex-flow: column wrap;*/
}

.inject-container .forward-history .header {
    margin-top: 15px;
}

.inject-container .forward-history {
    margin-bottom: 5px;
}

.inject-container .forward-editor {
    margin-top: 5px;
}

.loading-container {
    text-align: center;
}

.loading-container .circle {
    margin: 0 auto;
}

a.build-with {
    color: #888;
    text-decoration: none;
}

a.build-with:hover {
    text-decoration: none;
}

a.build-with:active {
    text-decoration: none;
}

a.build-with.visited {
    color: #888;
    text-decoration: none;
}


#usercount {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 0.8em;
    font-weight: 500;
    color: #666;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 10px;
    background-color: #fff;
    border: 1px solid #e0e0e0; 
    border-radius: 12px;
    line-height: 1;
    white-space: nowrap;
}


#usercount::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #ccc;
    transition: background-color 0.3s ease;
}

#usercount[data-status="online"]::before {
    background-color: #2ecc71;
    box-shadow: 0 0 0 1px rgba(46, 204, 113, 0.2);
    animation: pulse-green 2s infinite;
}

#usercount[data-status="offline"]::before {
    background-color: #e74c3c;
}



@keyframes pulse-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 4px rgba(46, 204, 113, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
    }
}

@media (max-width: 600px) {
    .game-container {
        max-width: 80% !important;
    }
}

.user-status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ccc;
    vertical-align: middle;
}

    .user-status-dot[data-status="online"] {
        background-color: #2ecc71;
        box-shadow: 0 0 0 1px rgba(46, 204, 113, 0.2);
        animation: pulse-green 2s infinite;
    }

.game-data-grid {
    height: calc(100dvh - 200px);
    min-height: 8rem;
    overflow-x: auto;
    overflow-y: hidden;
}

.inject-forward-list {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: calc(100dvh - 420px);
}

fluent-accordion-item:last-of-type {
    margin-bottom: 10px;
}