/* ===== Game Card: attribution row ===== */

.game-card {
    position: relative;
}

.game-card-foot {
    padding: 0 1rem 1rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: 0.5rem;
    padding-top: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.75rem;
}

.game-card-author {
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

.game-card-author strong {
    color: var(--text);
}

.game-card-credit-link {
    color: var(--secondary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-weight: 600;
    flex-shrink: 0;
}

.game-card-credit-link:hover {
    color: white;
    text-decoration: underline;
}

/* ===== In-game attribution bar (below iframe) ===== */
.game-attribution {
    background: rgba(255,255,255,0.04);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-shrink: 0;
}

.game-attribution-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.game-attribution-text strong {
    color: var(--text);
}

.game-attribution-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    padding: 4px 12px;
    border: 1px solid rgba(0, 206, 201, 0.4);
    border-radius: 4px;
    flex-shrink: 0;
    transition: background 0.2s, border-color 0.2s;
}

.game-attribution-link:hover {
    background: rgba(0, 206, 201, 0.15);
    border-color: var(--secondary);
    color: white;
}

.game-attribution-license {
    font-size: 0.75rem;
    background: rgba(0, 206, 201, 0.15);
    color: var(--secondary);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

/* Mobile: stack attribution */
@media (max-width: 768px) {
    .game-attribution {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }
}