/* Styles for the compact frame counter */
.frame-counter {
    position: fixed;
    bottom: 1px;
    right: 1px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    font-family: monospace;
    font-size: 12px;
    padding: 3px;
    z-index: 9999;
    user-select: none;
    pointer-events: none;
    /* display: flex; */
    display: none;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2px;
    border: 1px solid #444;
    box-sizing: border-box;
    height: 22px;
    width: 45px;
    text-align: center;
    opacity: 50%;
}

.frame-number {
    font-weight: bold;
    min-width: 18px;
    text-align: center;
}

.frame-time {
    min-width: 18px;
    text-align: center;
}

/* Highlight style for frames divisible by 10 */
.frame-counter-highlight {
    background-color: rgba(255, 0, 0, 0.7);
}

/* Debug mode styling */
.frame-counter.debug-mode {
    width: auto;
    padding: 3px 6px;
}

.debug-mode .frame-time {
    font-size: 12px;
    width: auto;
}