#party-timer {
    position: relative;
    top: auto;
    right: auto;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(150, 150, 150, 0.4);
    border-radius: 8px;
    padding: 10px 12px;
    z-index: 9999;
    font-family: 'Courier New', monospace;
    color: #f0f0f0;
    text-align: center;
    min-width: 110px;
    width: fit-content;
    margin: 8px auto 12px;
}

.party-timer-label {
    font-size: 11px;
    letter-spacing: 0.5px;
    color: #cfcfcf;
    margin-bottom: 4px;
}

.party-timer-value {
    font-size: 18px;
    font-weight: 700;
}

.party-toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid rgba(150, 150, 150, 0.4);
    border-radius: 8px;
    padding: 10px 14px;
    color: #f0f0f0;
    font-size: 18px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 400;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 9999;
}

.party-toast strong {
    font-weight: 600;
    color: #ffffff;
}

#party-loading {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 400;
    font-size: 15px;
}

.party-toast.show {
    opacity: 1;
}

.party-results-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.party-results-card {
    width: min(960px, 100%);
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(150, 150, 150, 0.4);
    border-radius: 12px;
    padding: 20px;
    color: #f5f5f5;
    text-align: center;
}

.party-results-card h2 {
    margin: 0 0 16px 0;
    font-size: 24px;
}

.party-results-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.party-results-table th,
.party-results-table td {
    border: 1px solid rgba(100, 100, 100, 0.4);
    padding: 8px 6px;
    text-align: center;
}

.party-results-table th {
    background: rgba(40, 40, 40, 0.7);
    font-weight: 600;
}

.party-results-table td {
    background: rgba(30, 30, 30, 0.6);
}

@media (max-width: 720px) {
    .party-results-card {
        padding: 14px;
    }

    .party-results-table {
        font-size: 11px;
    }

    #party-timer {
        margin: 6px auto 10px;
    }
}
