body {
    background-color: #1a202c;
    overflow: hidden;
    font-family: 'Press Start 2P', cursive;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari, Chrome, Opera, Edge */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently supported by Chrome, Opera and Firefox */
}
canvas {
    background-color: #2d3748;
    display: block;
    cursor: none;
}
#ui-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Allows clicks to go through to the canvas if needed */
}
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
}
.setting-btn.selected, .ach-sort-btn.selected {
    background-color: #f59e0b; /* Amber 500 */
    border-color: #b45309; /* Amber 700 */
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.5);
}
.animate-spin-slow {
    animation: spin 3s linear infinite;
}
.scrolling-achievement {
    position: absolute;
    white-space: nowrap; /* Prevent text from wrapping */
    animation: scroll-across 10s linear forwards;
    padding-top: 0.5rem; /* Adjust vertical alignment */
    font-size: 1.125rem; /* text-lg */
}

@keyframes scroll-across {
    from {
        transform: translateX(100vw); /* Start off-screen to the right */
    }
    to {
        transform: translateX(-100%); /* End off-screen to the left */
    }
}

/* Help Modal Styles */
.help-tab {
    transition: all 0.2s ease-in-out;
}
.help-tab.active {
    background-color: #f59e0b;
    color: #1a202c;
    border-bottom-color: transparent;
    transform: translateY(-2px);
}
.help-content {
    display: none;
}
.help-content.active {
    display: block;
}
