/* tetris/ranking.php 전용 스타일 */
.trk-page {
    margin: 0;
    min-height: 100vh;
    background: #0d0d1a;
    color: #e8e8f0;
    font-family: 'Press Start 2P', 'Courier New', monospace;
    display: flex;
    justify-content: center;
    padding: 24px 16px 40px;
    box-sizing: border-box;
}
.trk-page *, .trk-page *::before, .trk-page *::after {
    box-sizing: border-box;
}

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

.trk-back {
    display: inline-block;
    color: #8a8aa8;
    text-decoration: none;
    font-size: 10px;
    margin-bottom: 16px;
}
.trk-back:hover { color: #e8e8f0; }

.trk-title {
    font-size: 18px;
    letter-spacing: 2px;
    color: #ffcc00;
    text-shadow: 2px 2px 0 #7a4b00;
    margin: 0 0 24px;
}

.trk-empty {
    font-size: 12px;
    color: #8a8aa8;
    line-height: 1.8;
}

.trk-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 10px;
}

.trk-table th {
    text-align: left;
    color: #8a8aa8;
    font-weight: normal;
    padding: 8px 6px;
    border-bottom: 2px solid #4a4a6a;
    white-space: nowrap;
}

.trk-table td {
    padding: 9px 6px;
    border-bottom: 1px dashed #2c2c46;
    color: #cfcfe6;
    white-space: nowrap;
}

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

.trk-time {
    color: #6a6a88;
    font-size: 9px;
}

.trk-top1 td { color: #ffd23f; }
.trk-top2 td { color: #d9d9f0; }
.trk-top3 td { color: #e0a86a; }

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