#keep-awake-touch {
    position: fixed;
    top: 0;
    right: 0;
    width: 1px;
    height: 1px;
    z-index: 9999;
    pointer-events: none;
}

/* Force landscape orientation */
@media screen and (orientation: portrait) {
    .score-container {
        display: none !important;
    }
    .orientation-message {
        display: flex !important;
    }
}

@media screen and (orientation: landscape) {
    .orientation-message {
        display: none !important;
    }
}

/* General styles */
body {
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.orientation-message {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    text-align: center;
    font-size: 1.5rem;
    color: #333;
}

.orientation-message svg {
    margin-top: 20px;
    animation: rotate 2s infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(90deg); }
}

.score-container {
    display: flex;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
}

.score-half {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.1s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    min-height: 100%;
    min-width: 50%;
}

.score-half:active {
    transform: scale(0.98);
}

.red {
    background-color: #ff3b3b;
    color: white;
}

.blue {
    background-color: #3b7fff;
    color: white;
}

.score {
    font-size: 37vw;
    font-weight: bold;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.team-label {
    font-size: 2vw;
    margin-top: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}
