/* Player Profile Styling */
.player-profile-container {
    max-width: 712px;
    margin: 20px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

.player-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
    padding-bottom: 20px;
}

.player-name {
    font-size: 2.5em;
    color: #0056b3;
    margin-left: 20px;
    font-weight: 700;
}

.player-info {
    margin-bottom: 20px;
    line-height: 1.8;
}

.player-info p {
    margin: 5px 0;
    font-size: 1.1em;
}

.player-info strong {
    color: #0056b3;
    margin-right: 5px;
}

.player-video {
    margin-bottom: 30px;
    background-color: #f0f0f0;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

/* 埋め込み動画ではなくテキストリンクになったため、以下のCSSは削除・変更 */
/* .player-video iframe {
    width: 100%;
    max-width: 800px;
    height: 450px;
    border: none;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
} */

.video-link-wrapper {
    font-size: 1.2em;
    padding: 10px 0;
}

.video-link-wrapper a {
    color: #0056b3;
    text-decoration: underline;
    font-weight: bold;
}

.video-link-wrapper a:hover {
    color: #003d80;
    text-decoration: none;
}


.no-video-message {
    text-align: center;
    font-style: italic;
    color: #666;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.evaluation-section {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.evaluation-section h3 {
    color: #0056b3;
    font-size: 1.8em;
    margin-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
}

/* Radar Chart Table */
.radar-chart-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.radar-chart-table th,
.radar-chart-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
    vertical-align: middle;
}

.radar-chart-table th {
    background-color: #e6f2ff;
    color: #0056b3;
    font-weight: 600;
    width: 40%; /* Adjust column width as needed */
}

.radar-chart-table td {
    background-color: #fff;
    font-weight: bold;
    color: #333;
    width: 60%; /* Adjust column width as needed */
}

.radar-chart-table td.score {
    font-size: 1.2em;
    color: #d9534f; /* Highlight score */
}

.ranking-section {
    margin-top: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.ranking-section h3 {
    color: #0056b3;
    font-size: 1.8em;
    margin-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
}

.ranking-section p {
    font-size: 1.1em;
    margin: 10px 0;
}

.ranking-section strong {
    color: #d9534f; /* Highlight rank */
    font-size: 1.2em;
    margin-right: 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .player-header {
        flex-direction: column;
        text-align: center;
    }

    .player-name {
        margin-left: 0;
        margin-top: 15px;
        font-size: 2em;
    }

    /* 埋め込み動画がなくなったため、iframeの高さ調整も不要 */
    /* .player-video iframe {
        height: 250px;
    } */

    .radar-chart-table th,
    .radar-chart-table td {
        padding: 8px;
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .player-profile-container {
        padding: 15px;
        margin: 10px auto;
    }

    .player-name {
        font-size: 1.8em;
    }

    .player-info p,
    .ranking-section p {
        font-size: 1em;
    }

    /* 埋め込み動画がなくなったため、iframeの高さ調整も不要 */
    /* .player-video iframe {
        height: 200px;
    } */
}