/* ========== TUTTIFRUTTI GAME STYLES ========== */

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

.tf-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;
}

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

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

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

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

.tf-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    background: rgba(0,0,0,.3);
}

.tf-letter-display {
    font-family: Orbitron;
    font-size: 5rem;
    font-weight: 900;
    color: var(--accent-orange);
    text-shadow: 0 0 20px rgba(255,107,53,.5);
}

.tf-round-info {
    text-align: right;
}

.tf-players-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    width: 100%;
    max-height: 100%;
    overflow-y: auto;
    padding: 10px;
}

.tf-player-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 15px;
    border: 2px solid rgba(139,92,246,.3);
}

.tf-player-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--bg-card-hover);
}

.tf-answer-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: .85rem;
}

.tf-answer-cat {
    color: var(--text-muted);
}

.tf-answer-word {
    color: var(--accent-cyan);
    font-weight: 600;
}

.tf-answer-valid {
    color: var(--accent-green);
}

.tf-answer-invalid {
    color: var(--accent-red);
    text-decoration: line-through;
}