/* 2048/ranking.php 전용 스타일 */
.g2048rk-page {
    margin: 0;
    min-height: 100vh;
    background: #faf8ef;
    color: #776e65;
    font-family: 'Nanum Gothic', 'Apple SD Gothic Neo', sans-serif;
    display: flex;
    justify-content: center;
    padding: 24px 16px 40px;
    box-sizing: border-box;
}
.g2048rk-page *, .g2048rk-page *::before, .g2048rk-page *::after {
    box-sizing: border-box;
}

.g2048rk-wrap {
    width: 100%;
    max-width: 640px;
}

.g2048rk-back {
    display: inline-block;
    color: #9b8f83;
    text-decoration: none;
    font-size: 13px;
    margin-bottom: 16px;
}
.g2048rk-back:hover { color: #776e65; }

.g2048rk-title {
    font-size: 22px;
    font-weight: 800;
    color: #776e65;
    margin: 0 0 24px;
}

.g2048rk-empty {
    font-size: 13px;
    color: #9b8f83;
    line-height: 1.8;
}

.g2048rk-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.g2048rk-table th {
    text-align: left;
    color: #9b8f83;
    font-weight: 700;
    padding: 8px 6px;
    border-bottom: 2px solid #bbada0;
    white-space: nowrap;
}

.g2048rk-table td {
    padding: 9px 6px;
    border-bottom: 1px solid #eee4da;
    color: #776e65;
    white-space: nowrap;
}

.g2048rk-name {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.g2048rk-time {
    color: #9b8f83;
    font-size: 11px;
}

.g2048rk-top1 td { color: #edc22e; font-weight: 800; }
.g2048rk-top2 td { color: #b0a290; font-weight: 700; }
.g2048rk-top3 td { color: #f2b179; font-weight: 700; }

@media (max-width: 520px) {
    .g2048rk-table { font-size: 12px; }
    .g2048rk-time { display: none; }
    .g2048rk-table th:last-child { display: none; }
}
