/* ========== PALABRAS-TERMINADAS GAME STYLES ========== */

.pt-main-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 10px;
}

.pt-game-area {
    flex: 1;
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.pt-timer-bar {
    height: 12px;
    background: var(--bg-card);
    border-radius: 6px;
    overflow: hidden;
}

.pt-timer-fill {
    height: 100%;
    background: linear-gradient(90deg, #22c55e, #f59e0b, #ef4444);
    width: 100%;
    transition: width 0.1s linear;
}

.pt-controls {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 10px;
}

.pt-waiting {
    text-align: center;
}

.pt-round-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255,255,255,.1);
    padding: 5px 12px;
    border-radius: 12px;
    font-family: Orbitron;
    font-size: .8rem;
}

.pt-answers-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    padding: 6px 14px;
    border-radius: 18px;
    font-family: Orbitron;
    font-size: .8rem;
}

.pt-terminacion {
    font-family: Orbitron;
    font-size: 4rem;
    color: var(--accent-orange);
    text-shadow: 0 0 30px rgba(249,115,22,.5);
}

.pt-ejemplo {
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 10px;
}

.pt-results {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 600px;
    max-height: 280px;
    overflow-y: auto;
}

.pt-player-result {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 15px;
    text-align: left;
}

.pt-words-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pt-word {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.9rem;
}

.pt-word.valid {
    background: rgba(34,197,94,0.2);
    color: var(--accent-green);
}

.pt-word.invalid {
    background: rgba(239,68,68,0.2);
    color: #ef4444;
    text-decoration: line-through;
}