/* Default box for live scores if used in a normal page (not fullscreen) */
.pls-live-scores {
    border: 1px solid #ccc;
    padding: 15px;
    margin-bottom: 20px;
    max-width: 400px;
}

/* Fullscreen results pages */
body.pls-results-page {
    background: #6a1b9a; /* purple */
    color: #ffffff;
    margin: 0;
    font-family: Arial, sans-serif;
}

/* Hide everything on a fullscreen results page except admin bar + results wrapper */
body.pls-results-page > *:not(#wpadminbar):not(.pls-results-wrapper) {
    display: none !important;
}

body.pls-results-page .pls-results-wrapper {
    width: 100%;
    height: 100vh;
}

/* Position content 100px from the top */
body.pls-results-page .pls-live-scores {
    border: 0;
    padding: 0;
    margin: 0;
    max-width: none;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* Score and no-match text */
body.pls-results-page .pls-score-line,
body.pls-results-page .pls-no-match {
    width: 100%;
    text-align: center;
    margin-top: 30px; /* moved up from 200px */
    font-weight: 400;
    color: #ffffff;
    font-family: Arial, sans-serif;
}

body.pls-results-page .pls-score-line {
    font-size: 3rem;
    white-space: nowrap;
}

body.pls-results-page .pls-no-match {
    font-size: 2rem;
}

body.pls-results-page .pls-score-line span {
    margin: 0 0.5rem;
}

/* Input form styling */
.pls-score-input {
    border: 1px solid #ccc;
    padding: 15px;
    max-width: 400px;
    font-family: Arial, sans-serif;
}

.pls-score-input .pls-message {
    margin-top: 10px;
}

.pls-score-input .pls-message.pls-error {
    color: #b00;
}

/* Bigger buttons for mobile and touch */
.pls-score-input .pls-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pls-score-input .pls-buttons .button {
    font-size: 18px;
    padding: 12px 24px;
    min-width: 150px;
    text-align: center;
}

@media (max-width: 480px) {
    .pls-score-input .pls-buttons .button {
        width: 100%;
    }
}