@import '_content/PAI.Components/PAI.Components.7c8v6jbtri.bundle.scp.css';

/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-w3it1ubgmn],
.components-reconnect-repeated-attempt-visible[b-w3it1ubgmn],
.components-reconnect-failed-visible[b-w3it1ubgmn],
.components-pause-visible[b-w3it1ubgmn],
.components-resume-failed-visible[b-w3it1ubgmn],
.components-rejoining-animation[b-w3it1ubgmn] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-w3it1ubgmn],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-w3it1ubgmn],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-w3it1ubgmn],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-w3it1ubgmn],
#components-reconnect-modal.components-reconnect-retrying[b-w3it1ubgmn],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-w3it1ubgmn],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-w3it1ubgmn],
#components-reconnect-modal.components-reconnect-failed[b-w3it1ubgmn],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-w3it1ubgmn] {
    display: block;
}


#components-reconnect-modal[b-w3it1ubgmn] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-w3it1ubgmn 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-w3it1ubgmn 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-w3it1ubgmn 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-w3it1ubgmn]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-w3it1ubgmn 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-w3it1ubgmn {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-w3it1ubgmn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-w3it1ubgmn {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-w3it1ubgmn] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-w3it1ubgmn] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-w3it1ubgmn] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-w3it1ubgmn] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-w3it1ubgmn] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-w3it1ubgmn] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-w3it1ubgmn] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-w3it1ubgmn 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-w3it1ubgmn] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-w3it1ubgmn {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/PhrasePuzzle/CategorySelection.razor.rz.scp.css */
/* CategorySelection component styles */
/* /Components/PhrasePuzzle/Gameplay.razor.rz.scp.css */
.gameplay-container[b-3uhk7p23c2] {
    position: relative;
}

.game-header[b-3uhk7p23c2] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.phrase-container[b-3uhk7p23c2] {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: var(--pai-space-xl);
    border-radius: var(--pai-radius-lg);
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phrase-display[b-3uhk7p23c2] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    font-family: monospace;
    align-items: flex-start;
}

.word-group[b-3uhk7p23c2] {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
}

.word-segment[b-3uhk7p23c2] {
    display: flex;
    flex-wrap: nowrap;
    gap: 2px;
}

.word-spacer[b-3uhk7p23c2] {
    width: 20px;
    flex-shrink: 0;
}

.letter-box[b-3uhk7p23c2] {
    width: 40px;
    height: 50px;
    background: white;
    border: 2px solid #ecf0f1;
    border-radius: var(--pai-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
    transition: all 0.3s ease;
}

.letter-box.revealed[b-3uhk7p23c2] {
    background: var(--pai-color-primary-600, #7c3aed);
    color: white;
    border-color: var(--pai-color-primary-700, #6d28d9);
    animation: reveal-b-3uhk7p23c2 0.5s ease;
}

.letter-box.space[b-3uhk7p23c2] {
    background: transparent;
    border: none;
    width: 20px;
}

.letter-box.punctuation[b-3uhk7p23c2] {
    background: #95a5a6;
    border-color: #7f8c8d;
    color: white;
}

.letter-box.hyphen[b-3uhk7p23c2] {
    background: #7f8c8d;
    border-color: #6c7a7d;
    color: white;
    width: 24px;
}

@keyframes reveal-b-3uhk7p23c2 {
    0% { transform: rotateY(0deg); }
    50% { transform: rotateY(90deg); }
    100% { transform: rotateY(0deg); }
}

.alphabet-section[b-3uhk7p23c2] {
    margin-top: var(--pai-space-md);
    width: 100%;
}

.alphabet-grid[b-3uhk7p23c2] {
    display: grid;
    grid-template-columns: repeat(13, 1fr);
    width: 100%;
    gap: 8px;
}

.alphabet-grid[b-3uhk7p23c2] (.pai-button) {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 8px 0;
}

@media (max-width: 900px) {
    .alphabet-grid[b-3uhk7p23c2] {
        grid-template-columns: repeat(9, minmax(0, 1fr));
        gap: 6px;
    }
}

@media (max-width: 700px) {
    .alphabet-grid[b-3uhk7p23c2] {
        grid-template-columns: repeat(7, minmax(0, 1fr));
        gap: 4px;
    }

    .alphabet-grid[b-3uhk7p23c2] (.pai-button) {
        min-height: 38px;
        font-size: 0.82rem;
        padding: 6px 0;
    }
}

@media (max-width: 600px) {
    .alphabet-grid[b-3uhk7p23c2] {
        grid-template-columns: repeat(7, minmax(0, 1fr));
        gap: 3px;
    }
    
    .letter-box[b-3uhk7p23c2] {
        width: 32px;
        height: 40px;
        font-size: 1.2rem;
    }

    .alphabet-grid[b-3uhk7p23c2] (.pai-button) {
        min-height: 36px;
        font-size: 0.78rem;
        padding: 5px 0;
    }
}

.stats-bar[b-3uhk7p23c2] {
    display: flex;
    justify-content: space-around;
    padding: var(--pai-space-md);
    background: var(--pai-color-surface-alt, #f9fafb);
    border-radius: var(--pai-radius-md);
}

.stat-item[b-3uhk7p23c2] {
    text-align: center;
}

.stat-label[b-3uhk7p23c2] {
    display: block;
    font-size: var(--pai-font-size-xs);
    color: var(--pai-color-text-muted);
    margin-bottom: 4px;
}

.stat-value[b-3uhk7p23c2] {
    font-size: var(--pai-font-size-xl);
    font-weight: bold;
    color: var(--pai-color-primary-600, #7c3aed);
}

.stat-value.correct[b-3uhk7p23c2] {
    color: var(--pai-color-success, #10b981);
}

.stat-value.wrong[b-3uhk7p23c2] {
    color: var(--pai-color-error, #ef4444);
}

/* Penalty overlay */
.penalty-overlay[b-3uhk7p23c2] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(244, 67, 54, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: shake-b-3uhk7p23c2 0.5s ease;
}

.penalty-content[b-3uhk7p23c2] {
    text-align: center;
    color: white;
}

.penalty-icon[b-3uhk7p23c2] {
    font-size: 5rem;
    margin-bottom: var(--pai-space-md);
}

@keyframes shake-b-3uhk7p23c2 {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
    20%, 40%, 60%, 80% { transform: translateX(10px); }
}

/* Confetti celebration */
.confetti-container[b-3uhk7p23c2] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100;
    overflow: hidden;
    --confetti-color-0: #667eea;
    --confetti-color-1: #764ba2;
    --confetti-color-2: #ffd700;
    --confetti-color-3: #ff6b6b;
    --confetti-color-4: #4ecdc4;
}

.confetti[b-3uhk7p23c2] {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--confetti-color, #667eea);
    animation: confetti-fall-b-3uhk7p23c2 3s linear forwards;
    opacity: 0;
}

@keyframes confetti-fall-b-3uhk7p23c2 {
    0% {
        transform: translateY(-20px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Completion celebration */
.completion-emoji[b-3uhk7p23c2] {
    font-size: 5rem;
    animation: bounce-b-3uhk7p23c2 1s ease infinite;
}

@keyframes bounce-b-3uhk7p23c2 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.completed-phrase[b-3uhk7p23c2] {
    text-align: center;
    padding: var(--pai-space-lg);
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border-radius: var(--pai-radius-lg);
    color: white;
}
/* /Components/PhrasePuzzle/GameResults.razor.rz.scp.css */
/* GameResults component styles */
/* /Components/PhrasePuzzle/PhraseGeneration.razor.rz.scp.css */
/* PhraseGeneration component styles */
/* /Components/PhrasePuzzle/ReadyToStart.razor.rz.scp.css */
/* ReadyToStart component styles */
/* /Components/PhrasePuzzle/RoundResults.razor.rz.scp.css */
/* RoundResults component styles */
/* /Components/PhrasePuzzle/WaitingForPlayers.razor.rz.scp.css */
/* WaitingForPlayers component styles */
