/* ===== PAGE ===== */
body {
    background-color: #121418;
    color: #e6e6e6;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 20px;
}

h1 {
    text-align: center;
}

#list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ===== LEVEL CARD ===== */
.level-card {
    display: flex;
    gap: 16px;
    background-color: #1d2026;
    border-radius: 10px;
    padding: 12px;
}

.thumbnail {
    width: 240px;
    height: 135px;          /* 16:9 */
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

.placeholder {
    background-color: #2c3038;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
}

/* ===== TEXT ===== */
.level-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.level-name {
    margin: 0 0 4px 0;
}

.level-info p {
    margin: 0;
}

.aredl-position {
    color: #9aa0aa;
}

.points {
    color: #f5c542;
}

.completions {
    color: #6fdc8c;
}

.custom-link {
    color: #5aa9ff;
    text-decoration: none;
    width: fit-content;     /* only the text is clickable, not the whole row */
}

.custom-link:hover {
    text-decoration: underline;
}

.progress {
    color: #9aa0aa;
    font-size: 0.9em;
}