/* 之前的樣式保持不變，添加以下新樣式 */

.player-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.player-stats div {
    text-align: center;
}

.battle-mode {
    text-align: center;
    margin-bottom: 10px;
    font-weight: bold;
    color: #ffcc00;
}

.matchmaking-status {
    text-align: center;
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 255, 255, 0.2);
    border-radius: 8px;
}

.matchmaking-status p {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.result-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.trophy-change {
    font-size: 1.2em;
    font-weight: bold;
    margin: 10px 0;
}

.trophy-gain {
    color: #00ff00;
}

.trophy-loss {
    color: #ff0000;
}

.skill-change {
    margin: 5px 0;
    padding: 5px;
    border-radius: 5px;
}

.skill-gain {
    background: rgba(0, 255, 0, 0.2);
    color: #00ff00;
}

.skill-loss {
    background: rgba(255, 0, 0, 0.2);
    color: #ff0000;
}

/* 禁用狀態的按鈕 */
button:disabled {
    background: #666 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
    opacity: 0.6;
}

/* 響應式設計改進 */
@media (max-width: 768px) {
    .player-stats {
        flex-direction: column;
        gap: 10px;
    }
    
    .result-actions {
        flex-direction: column;
    }
}

/* 加載動畫 */
@keyframes searching {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

.searching {
    animation: searching 1.5s infinite;
}