/* ==========================================
   ranking専用（prefix: ranking_）
   ========================================== */

.ranking_container {
    position: relative;
    z-index: 10;

    padding: 120px 40px;
    min-height: 100vh;

    color: white;
}

/* タイトル */
.ranking_title {
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 34px;
    margin-bottom: 40px;
}

/* テーブル */
.ranking_table {
    width: 80%;
    margin: 0 auto;

    border-collapse: collapse;

    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);

    border-radius: 10px;
    overflow: hidden;
}

/* ヘッダー */
.ranking_table th {
    padding: 15px;
    font-family: 'Orbitron', sans-serif;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

/* 行 */
.ranking_table td {
    padding: 12px;
    text-align: center;
}

/* ホバー */
.ranking_table tr:hover {
    background: rgba(0,255,255,0.1);
}

/* スキン */
.ranking_skin {
    width: 40px;
    height: 40px;
    border-radius: 6px;
}

/* =========================
   上位エフェクト
========================= */

/* 1位（金） */
.rank_1 {
    background: rgba(255,215,0,0.25);
    box-shadow: 0 0 20px gold;
}

/* 2位（銀） */
.rank_2 {
    background: rgba(192,192,192,0.2);
}

/* 3位（銅） */
.rank_3 {
    background: rgba(205,127,50,0.2);
}

/* プレイヤー表示（顔＋名前） */
.ranking_player {
    display: flex;
    align-items: center;
    gap: 12px;

    justify-content: flex-start; /* ←これ重要 */
    width: 180px; /* ←固定幅 */
    margin: 0 auto; /* ←中央配置維持 */
}

/* 名前 */
.ranking_name {
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* スキン微調整 */
.ranking_skin {
    width: 36px;
    height: 36px;
    border-radius: 6px;

    box-shadow: 0 0 8px rgba(0,255,255,0.3);
}